storybook-addon-vis 0.15.1 → 0.15.2

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/preset.cjs CHANGED
@@ -1,235 +1,2 @@
1
- 'use strict';var client=require('vitest-plugin-vis/client'),vitestPluginVis=require('vitest-plugin-vis');var Gg=Object.create;var ss=Object.defineProperty;var Wg=Object.getOwnPropertyDescriptor;var Kg=Object.getOwnPropertyNames;var Yg=Object.getPrototypeOf,Jg=Object.prototype.hasOwnProperty;var nt=(e=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(e,{get:(t,r)=>(typeof require<"u"?require:t)[r]}):e)(function(e){if(typeof require<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+e+'" is not supported')});var zo=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports);var Xg=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of Kg(t))!Jg.call(e,o)&&o!==r&&ss(e,o,{get:()=>t[o],enumerable:!(n=Wg(t,o))||n.enumerable});return e};var Qg=(e,t,r)=>(r=e!=null?Gg(Yg(e)):{},Xg(ss(r,"default",{value:e,enumerable:!0}),e));var Wo=zo((xI,cs)=>{var Go=Object.defineProperty,Zg=Object.getOwnPropertyDescriptor,ey=Object.getOwnPropertyNames,ty=Object.prototype.hasOwnProperty,ry=(e,t)=>{for(var r in t)Go(e,r,{get:t[r],enumerable:!0});},ny=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of ey(t))!ty.call(e,o)&&o!==r&&Go(e,o,{get:()=>t[o],enumerable:!(n=Zg(t,o))||n.enumerable});return e},oy=e=>ny(Go({},"__esModule",{value:!0}),e),us={};ry(us,{global:()=>iy});cs.exports=oy(us);var iy=(()=>{let e;return typeof window<"u"?e=window:typeof globalThis<"u"?e=globalThis:typeof global<"u"?e=global:typeof self<"u"?e=self:e={},e})();});var wi=zo((MI,Du)=>{var di=Object.defineProperty,ay=Object.getOwnPropertyDescriptor,ly=Object.getOwnPropertyNames,sy=Object.prototype.hasOwnProperty,uy=(e,t)=>{for(var r in t)di(e,r,{get:t[r],enumerable:!0});},cy=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of ly(t))!sy.call(e,o)&&o!==r&&di(e,o,{get:()=>t[o],enumerable:!(n=ay(t,o))||n.enumerable});return e},dy=e=>cy(di({},"__esModule",{value:!0}),e),eu={};uy(eu,{CallStates:()=>Lu,EVENTS:()=>ot,instrument:()=>i1});Du.exports=dy(eu);var py=nt("storybook/internal/client-logger"),Tn=nt("storybook/internal/core-events"),fy=nt("storybook/internal/preview-api"),Ie=Wo(),my={reset:[0,0],bold:[1,22,"\x1B[22m\x1B[1m"],dim:[2,22,"\x1B[22m\x1B[2m"],italic:[3,23],underline:[4,24],inverse:[7,27],hidden:[8,28],strikethrough:[9,29],black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],gray:[90,39],bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],blackBright:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39],bgBlackBright:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]},hy=Object.entries(my);function pi(e){return String(e)}pi.open="";pi.close="";function by(e=!1){let t=typeof process<"u"?process:void 0,r=t?.env||{},n=t?.argv||[];return !("NO_COLOR"in r||n.includes("--no-color"))&&("FORCE_COLOR"in r||n.includes("--color")||t?.platform==="win32"||e&&r.TERM!=="dumb"||"CI"in r)||typeof window<"u"&&!!window.chrome}function gy(e=!1){let t=by(e),r=(i,l,u,c)=>{let s="",d=0;do s+=i.substring(d,c)+u,d=c+l.length,c=i.indexOf(l,d);while(~c);return s+i.substring(d)},n=(i,l,u=i)=>{let c=s=>{let d=String(s),f=d.indexOf(l,i.length);return ~f?i+r(d,l,u,f)+l:i+d+l};return c.open=i,c.close=l,c},o={isColorSupported:t},a=i=>`\x1B[${i}m`;for(let[i,l]of hy)o[i]=t?n(a(l[0]),a(l[1]),l[2]):pi;return o}var yy=nt("tty"),ft=gy((0, yy.isatty)(1));function vy(e,t){let r=Object.keys(e),n=t===null?r:r.sort(t);if(Object.getOwnPropertySymbols)for(let o of Object.getOwnPropertySymbols(e))Object.getOwnPropertyDescriptor(e,o).enumerable&&n.push(o);return n}function An(e,t,r,n,o,a,i=": "){let l="",u=0,c=e.next();if(!c.done){l+=t.spacingOuter;let s=r+t.indent;for(;!c.done;){if(l+=s,u++===t.maxWidth){l+="\u2026";break}let d=a(c.value[0],t,s,n,o),f=a(c.value[1],t,s,n,o);l+=d+i+f,c=e.next(),c.done?t.min||(l+=","):l+=`,${t.spacingInner}`;}l+=t.spacingOuter+r;}return l}function fi(e,t,r,n,o,a){let i="",l=0,u=e.next();if(!u.done){i+=t.spacingOuter;let c=r+t.indent;for(;!u.done;){if(i+=c,l++===t.maxWidth){i+="\u2026";break}i+=a(u.value,t,c,n,o),u=e.next(),u.done?t.min||(i+=","):i+=`,${t.spacingInner}`;}i+=t.spacingOuter+r;}return i}function On(e,t,r,n,o,a){let i="";e=e instanceof ArrayBuffer?new DataView(e):e;let l=c=>c instanceof DataView,u=l(e)?e.byteLength:e.length;if(u>0){i+=t.spacingOuter;let c=r+t.indent;for(let s=0;s<u;s++){if(i+=c,s===t.maxWidth){i+="\u2026";break}(l(e)||s in e)&&(i+=a(l(e)?e.getInt8(s):e[s],t,c,n,o)),s<u-1?i+=`,${t.spacingInner}`:t.min||(i+=",");}i+=t.spacingOuter+r;}return i}function mi(e,t,r,n,o,a){let i="",l=vy(e,t.compareKeys);if(l.length>0){i+=t.spacingOuter;let u=r+t.indent;for(let c=0;c<l.length;c++){let s=l[c],d=a(s,t,u,n,o),f=a(e[s],t,u,n,o);i+=`${u+d}: ${f}`,c<l.length-1?i+=`,${t.spacingInner}`:t.min||(i+=",");}i+=t.spacingOuter+r;}return i}var _y=typeof Symbol=="function"&&Symbol.for?Symbol.for("jest.asymmetricMatcher"):1267621,Ko=" ",Ey=(e,t,r,n,o,a)=>{let i=e.toString();if(i==="ArrayContaining"||i==="ArrayNotContaining")return ++n>t.maxDepth?`[${i}]`:`${i+Ko}[${On(e.sample,t,r,n,o,a)}]`;if(i==="ObjectContaining"||i==="ObjectNotContaining")return ++n>t.maxDepth?`[${i}]`:`${i+Ko}{${mi(e.sample,t,r,n,o,a)}}`;if(i==="StringMatching"||i==="StringNotMatching"||i==="StringContaining"||i==="StringNotContaining")return i+Ko+a(e.sample,t,r,n,o);if(typeof e.toAsymmetricMatcher!="function")throw new TypeError(`Asymmetric matcher ${e.constructor.name} does not implement toAsymmetricMatcher()`);return e.toAsymmetricMatcher()},wy=e=>e&&e.$$typeof===_y,Cy={serialize:Ey,test:wy},Ty=" ",tu=new Set(["DOMStringMap","NamedNodeMap"]),Ry=/^(?:HTML\w*Collection|NodeList)$/;function Sy(e){return tu.has(e)||Ry.test(e)}var Py=e=>e&&e.constructor&&!!e.constructor.name&&Sy(e.constructor.name);function Oy(e){return e.constructor.name==="NamedNodeMap"}var Ay=(e,t,r,n,o,a)=>{let i=e.constructor.name;return ++n>t.maxDepth?`[${i}]`:(t.min?"":i+Ty)+(tu.has(i)?`{${mi(Oy(e)?[...e].reduce((l,u)=>(l[u.name]=u.value,l),{}):{...e},t,r,n,o,a)}}`:`[${On([...e],t,r,n,o,a)}]`)},qy={serialize:Ay,test:Py};function ru(e){return e.replaceAll("<","&lt;").replaceAll(">","&gt;")}function hi(e,t,r,n,o,a,i){let l=n+r.indent,u=r.colors;return e.map(c=>{let s=t[c],d=i(s,r,l,o,a);return typeof s!="string"&&(d.includes(`
2
- `)&&(d=r.spacingOuter+l+d+r.spacingOuter+n),d=`{${d}}`),`${r.spacingInner+n+u.prop.open+c+u.prop.close}=${u.value.open}${d}${u.value.close}`}).join("")}function bi(e,t,r,n,o,a){return e.map(i=>t.spacingOuter+r+(typeof i=="string"?nu(i,t):a(i,t,r,n,o))).join("")}function nu(e,t){let r=t.colors.content;return r.open+ru(e)+r.close}function xy(e,t){let r=t.colors.comment;return `${r.open}<!--${ru(e)}-->${r.close}`}function gi(e,t,r,n,o){let a=n.colors.tag;return `${a.open}<${e}${t&&a.close+t+n.spacingOuter+o+a.open}${r?`>${a.close}${r}${n.spacingOuter}${o}${a.open}</${e}`:`${t&&!n.min?"":" "}/`}>${a.close}`}function yi(e,t){let r=t.colors.tag;return `${r.open}<${e}${r.close} \u2026${r.open} />${r.close}`}var My=1,ou=3,iu=8,au=11,Ny=/^(?:(?:HTML|SVG)\w*)?Element$/;function jy(e){try{return typeof e.hasAttribute=="function"&&e.hasAttribute("is")}catch{return !1}}function Iy(e){let t=e.constructor.name,{nodeType:r,tagName:n}=e,o=typeof n=="string"&&n.includes("-")||jy(e);return r===My&&(Ny.test(t)||o)||r===ou&&t==="Text"||r===iu&&t==="Comment"||r===au&&t==="DocumentFragment"}var $y=e=>{var t;return ((t=e?.constructor)==null?void 0:t.name)&&Iy(e)};function By(e){return e.nodeType===ou}function Ly(e){return e.nodeType===iu}function Yo(e){return e.nodeType===au}var Dy=(e,t,r,n,o,a)=>{if(By(e))return nu(e.data,t);if(Ly(e))return xy(e.data,t);let i=Yo(e)?"DocumentFragment":e.tagName.toLowerCase();return ++n>t.maxDepth?yi(i,t):gi(i,hi(Yo(e)?[]:Array.from(e.attributes,l=>l.name).sort(),Yo(e)?{}:[...e.attributes].reduce((l,u)=>(l[u.name]=u.value,l),{}),t,r+t.indent,n,o,a),bi(Array.prototype.slice.call(e.childNodes||e.children),t,r+t.indent,n,o,a),t,r)},ky={serialize:Dy,test:$y},Fy="@@__IMMUTABLE_ITERABLE__@@",Uy="@@__IMMUTABLE_LIST__@@",Hy="@@__IMMUTABLE_KEYED__@@",Vy="@@__IMMUTABLE_MAP__@@",ds="@@__IMMUTABLE_ORDERED__@@",zy="@@__IMMUTABLE_RECORD__@@",Gy="@@__IMMUTABLE_SEQ__@@",Wy="@@__IMMUTABLE_SET__@@",Ky="@@__IMMUTABLE_STACK__@@",ar=e=>`Immutable.${e}`,qn=e=>`[${e}]`,$r=" ",ps="\u2026";function Yy(e,t,r,n,o,a,i){return ++n>t.maxDepth?qn(ar(i)):`${ar(i)+$r}{${An(e.entries(),t,r,n,o,a)}}`}function Jy(e){let t=0;return {next(){if(t<e._keys.length){let r=e._keys[t++];return {done:!1,value:[r,e.get(r)]}}return {done:!0,value:void 0}}}}function Xy(e,t,r,n,o,a){let i=ar(e._name||"Record");return ++n>t.maxDepth?qn(i):`${i+$r}{${An(Jy(e),t,r,n,o,a)}}`}function Qy(e,t,r,n,o,a){let i=ar("Seq");return ++n>t.maxDepth?qn(i):e[Hy]?`${i+$r}{${e._iter||e._object?An(e.entries(),t,r,n,o,a):ps}}`:`${i+$r}[${e._iter||e._array||e._collection||e._iterable?fi(e.values(),t,r,n,o,a):ps}]`}function Jo(e,t,r,n,o,a,i){return ++n>t.maxDepth?qn(ar(i)):`${ar(i)+$r}[${fi(e.values(),t,r,n,o,a)}]`}var Zy=(e,t,r,n,o,a)=>e[Vy]?Yy(e,t,r,n,o,a,e[ds]?"OrderedMap":"Map"):e[Uy]?Jo(e,t,r,n,o,a,"List"):e[Wy]?Jo(e,t,r,n,o,a,e[ds]?"OrderedSet":"Set"):e[Ky]?Jo(e,t,r,n,o,a,"Stack"):e[Gy]?Qy(e,t,r,n,o,a):Xy(e,t,r,n,o,a),e0=e=>e&&(e[Fy]===!0||e[zy]===!0),t0={serialize:Zy,test:e0},Xo={exports:{}},ae={},fs;function r0(){if(fs)return ae;fs=1;var e=Symbol.for("react.element"),t=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),n=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),a=Symbol.for("react.provider"),i=Symbol.for("react.context"),l=Symbol.for("react.server_context"),u=Symbol.for("react.forward_ref"),c=Symbol.for("react.suspense"),s=Symbol.for("react.suspense_list"),d=Symbol.for("react.memo"),f=Symbol.for("react.lazy"),p=Symbol.for("react.offscreen"),m;m=Symbol.for("react.module.reference");function h(b){if(typeof b=="object"&&b!==null){var g=b.$$typeof;switch(g){case e:switch(b=b.type,b){case r:case o:case n:case c:case s:return b;default:switch(b=b&&b.$$typeof,b){case l:case i:case u:case f:case d:case a:return b;default:return g}}case t:return g}}}return ae.ContextConsumer=i,ae.ContextProvider=a,ae.Element=e,ae.ForwardRef=u,ae.Fragment=r,ae.Lazy=f,ae.Memo=d,ae.Portal=t,ae.Profiler=o,ae.StrictMode=n,ae.Suspense=c,ae.SuspenseList=s,ae.isAsyncMode=function(){return !1},ae.isConcurrentMode=function(){return !1},ae.isContextConsumer=function(b){return h(b)===i},ae.isContextProvider=function(b){return h(b)===a},ae.isElement=function(b){return typeof b=="object"&&b!==null&&b.$$typeof===e},ae.isForwardRef=function(b){return h(b)===u},ae.isFragment=function(b){return h(b)===r},ae.isLazy=function(b){return h(b)===f},ae.isMemo=function(b){return h(b)===d},ae.isPortal=function(b){return h(b)===t},ae.isProfiler=function(b){return h(b)===o},ae.isStrictMode=function(b){return h(b)===n},ae.isSuspense=function(b){return h(b)===c},ae.isSuspenseList=function(b){return h(b)===s},ae.isValidElementType=function(b){return typeof b=="string"||typeof b=="function"||b===r||b===o||b===n||b===c||b===s||b===p||typeof b=="object"&&b!==null&&(b.$$typeof===f||b.$$typeof===d||b.$$typeof===a||b.$$typeof===i||b.$$typeof===u||b.$$typeof===m||b.getModuleId!==void 0)},ae.typeOf=h,ae}var se={},ms;function n0(){return ms||(ms=1,process.env.NODE_ENV!=="production"&&function(){var e=Symbol.for("react.element"),t=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),n=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),a=Symbol.for("react.provider"),i=Symbol.for("react.context"),l=Symbol.for("react.server_context"),u=Symbol.for("react.forward_ref"),c=Symbol.for("react.suspense"),s=Symbol.for("react.suspense_list"),d=Symbol.for("react.memo"),f=Symbol.for("react.lazy"),p=Symbol.for("react.offscreen"),m=!1,h=!1,b=!1,g=!1,y=!1,T;T=Symbol.for("react.module.reference");function C(j){return !!(typeof j=="string"||typeof j=="function"||j===r||j===o||y||j===n||j===c||j===s||g||j===p||m||h||b||typeof j=="object"&&j!==null&&(j.$$typeof===f||j.$$typeof===d||j.$$typeof===a||j.$$typeof===i||j.$$typeof===u||j.$$typeof===T||j.getModuleId!==void 0))}function E(j){if(typeof j=="object"&&j!==null){var H=j.$$typeof;switch(H){case e:var ie=j.type;switch(ie){case r:case o:case n:case c:case s:return ie;default:var fe=ie&&ie.$$typeof;switch(fe){case l:case i:case u:case f:case d:case a:return fe;default:return H}}case t:return H}}}var w=i,_=a,v=e,O=u,A=r,I=f,D=d,$=t,x=o,B=n,V=c,K=s,W=!1,ne=!1;function be(j){return W||(W=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.")),!1}function pe(j){return ne||(ne=!0,console.warn("The ReactIs.isConcurrentMode() alias has been deprecated, and will be removed in React 18+.")),!1}function F(j){return E(j)===i}function L(j){return E(j)===a}function k(j){return typeof j=="object"&&j!==null&&j.$$typeof===e}function G(j){return E(j)===u}function Y(j){return E(j)===r}function oe(j){return E(j)===f}function he(j){return E(j)===d}function De(j){return E(j)===t}function M(j){return E(j)===o}function z(j){return E(j)===n}function J(j){return E(j)===c}function Z(j){return E(j)===s}se.ContextConsumer=w,se.ContextProvider=_,se.Element=v,se.ForwardRef=O,se.Fragment=A,se.Lazy=I,se.Memo=D,se.Portal=$,se.Profiler=x,se.StrictMode=B,se.Suspense=V,se.SuspenseList=K,se.isAsyncMode=be,se.isConcurrentMode=pe,se.isContextConsumer=F,se.isContextProvider=L,se.isElement=k,se.isForwardRef=G,se.isFragment=Y,se.isLazy=oe,se.isMemo=he,se.isPortal=De,se.isProfiler=M,se.isStrictMode=z,se.isSuspense=J,se.isSuspenseList=Z,se.isValidElementType=C,se.typeOf=E;}()),se}var hs;function o0(){return hs||(hs=1,process.env.NODE_ENV==="production"?Xo.exports=r0():Xo.exports=n0()),Xo.exports}var Ft=o0();function lu(e,t=[]){if(Array.isArray(e))for(let r of e)lu(r,t);else e!=null&&e!==!1&&e!==""&&t.push(e);return t}function bs(e){let t=e.type;if(typeof t=="string")return t;if(typeof t=="function")return t.displayName||t.name||"Unknown";if(Ft.isFragment(e))return "React.Fragment";if(Ft.isSuspense(e))return "React.Suspense";if(typeof t=="object"&&t!==null){if(Ft.isContextProvider(e))return "Context.Provider";if(Ft.isContextConsumer(e))return "Context.Consumer";if(Ft.isForwardRef(e)){if(t.displayName)return t.displayName;let r=t.render.displayName||t.render.name||"";return r===""?"ForwardRef":`ForwardRef(${r})`}if(Ft.isMemo(e)){let r=t.displayName||t.type.displayName||t.type.name||"";return r===""?"Memo":`Memo(${r})`}}return "UNDEFINED"}function i0(e){let{props:t}=e;return Object.keys(t).filter(r=>r!=="children"&&t[r]!==void 0).sort()}var a0=(e,t,r,n,o,a)=>++n>t.maxDepth?yi(bs(e),t):gi(bs(e),hi(i0(e),e.props,t,r+t.indent,n,o,a),bi(lu(e.props.children),t,r+t.indent,n,o,a),t,r),l0=e=>e!=null&&Ft.isElement(e),s0={serialize:a0,test:l0},u0=typeof Symbol=="function"&&Symbol.for?Symbol.for("react.test.json"):245830487;function c0(e){let{props:t}=e;return t?Object.keys(t).filter(r=>t[r]!==void 0).sort():[]}var d0=(e,t,r,n,o,a)=>++n>t.maxDepth?yi(e.type,t):gi(e.type,e.props?hi(c0(e),e.props,t,r+t.indent,n,o,a):"",e.children?bi(e.children,t,r+t.indent,n,o,a):"",t,r),p0=e=>e&&e.$$typeof===u0,f0={serialize:d0,test:p0},su=Object.prototype.toString,m0=Date.prototype.toISOString,h0=Error.prototype.toString,gs=RegExp.prototype.toString;function Qo(e){return typeof e.constructor=="function"&&e.constructor.name||"Object"}function b0(e){return typeof window<"u"&&e===window}var g0=/^Symbol\((.*)\)(.*)$/,y0=/\n/g,uu=class extends Error{constructor(e,t){super(e),this.stack=t,this.name=this.constructor.name;}};function v0(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 _0(e){return Object.is(e,-0)?"-0":String(e)}function E0(e){return `${e}n`}function ys(e,t){return t?`[Function ${e.name||"anonymous"}]`:"[Function]"}function vs(e){return String(e).replace(g0,"Symbol($1)")}function _s(e){return `[${h0.call(e)}]`}function cu(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 _0(e);if(o==="bigint")return E0(e);if(o==="string")return n?`"${e.replaceAll(/"|\\/g,"\\$&")}"`:`"${e}"`;if(o==="function")return ys(e,t);if(o==="symbol")return vs(e);let a=su.call(e);return a==="[object WeakMap]"?"WeakMap {}":a==="[object WeakSet]"?"WeakSet {}":a==="[object Function]"||a==="[object GeneratorFunction]"?ys(e,t):a==="[object Symbol]"?vs(e):a==="[object Date]"?Number.isNaN(+e)?"Date { NaN }":m0.call(e):a==="[object Error]"?_s(e):a==="[object RegExp]"?r?gs.call(e).replaceAll(/[$()*+.?[\\\]^{|}]/g,"\\$&"):gs.call(e):e instanceof Error?_s(e):null}function du(e,t,r,n,o,a){if(o.includes(e))return "[Circular]";o=[...o],o.push(e);let i=++n>t.maxDepth,l=t.min;if(t.callToJSON&&!i&&e.toJSON&&typeof e.toJSON=="function"&&!a)return Rt(e.toJSON(),t,r,n,o,!0);let u=su.call(e);return u==="[object Arguments]"?i?"[Arguments]":`${l?"":"Arguments "}[${On(e,t,r,n,o,Rt)}]`:v0(u)?i?`[${e.constructor.name}]`:`${l||!t.printBasicPrototype&&e.constructor.name==="Array"?"":`${e.constructor.name} `}[${On(e,t,r,n,o,Rt)}]`:u==="[object Map]"?i?"[Map]":`Map {${An(e.entries(),t,r,n,o,Rt," => ")}}`:u==="[object Set]"?i?"[Set]":`Set {${fi(e.values(),t,r,n,o,Rt)}}`:i||b0(e)?`[${Qo(e)}]`:`${l||!t.printBasicPrototype&&Qo(e)==="Object"?"":`${Qo(e)} `}{${mi(e,t,r,n,o,Rt)}}`}function w0(e){return e.serialize!=null}function pu(e,t,r,n,o,a){let i;try{i=w0(e)?e.serialize(t,r,n,o,a,Rt):e.print(t,l=>Rt(l,r,n,o,a),l=>{let u=n+r.indent;return u+l.replaceAll(y0,`
3
- ${u}`)},{edgeSpacing:r.spacingOuter,min:r.min,spacing:r.spacingInner},r.colors);}catch(l){throw new uu(l.message,l.stack)}if(typeof i!="string")throw new TypeError(`pretty-format: Plugin must return type "string" but instead returned "${typeof i}".`);return i}function fu(e,t){for(let r of e)try{if(r.test(t))return r}catch(n){throw new uu(n.message,n.stack)}return null}function Rt(e,t,r,n,o,a){let i=fu(t.plugins,e);if(i!==null)return pu(i,e,t,r,n,o);let l=cu(e,t.printFunctionName,t.escapeRegex,t.escapeString);return l!==null?l:du(e,t,r,n,o,a)}var vi={comment:"gray",content:"reset",prop:"yellow",tag:"cyan",value:"green"},mu=Object.keys(vi),Ye={callToJSON:!0,compareKeys:void 0,escapeRegex:!1,escapeString:!0,highlight:!1,indent:2,maxDepth:Number.POSITIVE_INFINITY,maxWidth:Number.POSITIVE_INFINITY,min:!1,plugins:[],printBasicPrototype:!0,printFunctionName:!0,theme:vi};function C0(e){for(let t of Object.keys(e))if(!Object.prototype.hasOwnProperty.call(Ye,t))throw new Error(`pretty-format: Unknown option "${t}".`);if(e.min&&e.indent!==void 0&&e.indent!==0)throw new Error('pretty-format: Options "min" and "indent" cannot be used together.')}function T0(){return mu.reduce((e,t)=>{let r=vi[t],n=r&&ft[r];if(n&&typeof n.close=="string"&&typeof n.open=="string")e[t]=n;else throw new Error(`pretty-format: Option "theme" has a key "${t}" whose value "${r}" is undefined in ansi-styles.`);return e},Object.create(null))}function R0(){return mu.reduce((e,t)=>(e[t]={close:"",open:""},e),Object.create(null))}function hu(e){return e?.printFunctionName??Ye.printFunctionName}function bu(e){return e?.escapeRegex??Ye.escapeRegex}function gu(e){return e?.escapeString??Ye.escapeString}function Es(e){return {callToJSON:e?.callToJSON??Ye.callToJSON,colors:e?.highlight?T0():R0(),compareKeys:typeof e?.compareKeys=="function"||e?.compareKeys===null?e.compareKeys:Ye.compareKeys,escapeRegex:bu(e),escapeString:gu(e),indent:e?.min?"":S0(e?.indent??Ye.indent),maxDepth:e?.maxDepth??Ye.maxDepth,maxWidth:e?.maxWidth??Ye.maxWidth,min:e?.min??Ye.min,plugins:e?.plugins??Ye.plugins,printBasicPrototype:e?.printBasicPrototype??!0,printFunctionName:hu(e),spacingInner:e?.min?" ":`
4
- `,spacingOuter:e?.min?"":`
5
- `}}function S0(e){return Array.from({length:e+1}).join(" ")}function it(e,t){if(t&&(C0(t),t.plugins)){let n=fu(t.plugins,e);if(n!==null)return pu(n,e,Es(t),"",0,[])}let r=cu(e,hu(t),bu(t),gu(t));return r!==null?r:du(e,Es(t),"",0,[])}var yu={AsymmetricMatcher:Cy,DOMCollection:qy,DOMElement:ky,Immutable:t0,ReactElement:s0,ReactTestComponent:f0},ws={bold:["1","22"],dim:["2","22"],italic:["3","23"],underline:["4","24"],inverse:["7","27"],hidden:["8","28"],strike:["9","29"],black:["30","39"],red:["31","39"],green:["32","39"],yellow:["33","39"],blue:["34","39"],magenta:["35","39"],cyan:["36","39"],white:["37","39"],brightblack:["30;1","39"],brightred:["31;1","39"],brightgreen:["32;1","39"],brightyellow:["33;1","39"],brightblue:["34;1","39"],brightmagenta:["35;1","39"],brightcyan:["36;1","39"],brightwhite:["37;1","39"],grey:["90","39"]},P0={special:"cyan",number:"yellow",bigint:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",symbol:"green",date:"magenta",regexp:"red"},lr="\u2026";function O0(e,t){let r=ws[P0[t]]||ws[t]||"";return r?`\x1B[${r[0]}m${String(e)}\x1B[${r[1]}m`:String(e)}function A0({showHidden:e=!1,depth:t=2,colors:r=!1,customInspect:n=!0,showProxy:o=!1,maxArrayLength:a=1/0,breakLength:i=1/0,seen:l=[],truncate:u=1/0,stylize:c=String}={},s){let d={showHidden:!!e,depth:Number(t),colors:!!r,customInspect:!!n,showProxy:!!o,maxArrayLength:Number(a),breakLength:Number(i),truncate:Number(u),seen:l,inspect:s,stylize:c};return d.colors&&(d.stylize=O0),d}function q0(e){return e>="\uD800"&&e<="\uDBFF"}function St(e,t,r=lr){e=String(e);let n=r.length,o=e.length;if(n>t&&o>n)return r;if(o>t&&o>n){let a=t-n;return a>0&&q0(e[a-1])&&(a=a-1),`${e.slice(0,a)}${r}`}return e}function Je(e,t,r,n=", "){r=r||t.inspect;let o=e.length;if(o===0)return "";let a=t.truncate,i="",l="",u="";for(let c=0;c<o;c+=1){let s=c+1===e.length,d=c+2===e.length;u=`${lr}(${e.length-c})`;let f=e[c];t.truncate=a-i.length-(s?0:n.length);let p=l||r(f,t)+(s?"":n),m=i.length+p.length,h=m+u.length;if(s&&m>a&&i.length+u.length<=a||!s&&!d&&h>a||(l=s?"":r(e[c+1],t)+(d?"":n),!s&&d&&h>a&&m+l.length>a))break;if(i+=p,!s&&!d&&m+l.length>=a){u=`${lr}(${e.length-c-1})`;break}u="";}return `${i}${u}`}function x0(e){return e.match(/^[a-zA-Z_][a-zA-Z_0-9]*$/)?e:JSON.stringify(e).replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'")}function Br([e,t],r){return r.truncate-=2,typeof e=="string"?e=x0(e):typeof e!="number"&&(e=`[${r.inspect(e,r)}]`),r.truncate-=e.length,t=r.inspect(t,r),`${e}: ${t}`}function M0(e,t){let r=Object.keys(e).slice(e.length);if(!e.length&&!r.length)return "[]";t.truncate-=4;let n=Je(e,t);t.truncate-=n.length;let o="";return r.length&&(o=Je(r.map(a=>[a,e[a]]),t,Br)),`[ ${n}${o?`, ${o}`:""} ]`}var N0=e=>typeof Buffer=="function"&&e instanceof Buffer?"Buffer":e[Symbol.toStringTag]?e[Symbol.toStringTag]:e.constructor.name;function pt(e,t){let r=N0(e);t.truncate-=r.length+4;let n=Object.keys(e).slice(e.length);if(!e.length&&!n.length)return `${r}[]`;let o="";for(let i=0;i<e.length;i++){let l=`${t.stylize(St(e[i],t.truncate),"number")}${i===e.length-1?"":", "}`;if(t.truncate-=l.length,e[i]!==e.length&&t.truncate<=3){o+=`${lr}(${e.length-e[i]+1})`;break}o+=l;}let a="";return n.length&&(a=Je(n.map(i=>[i,e[i]]),t,Br)),`${r}[ ${o}${a?`, ${a}`:""} ]`}function j0(e,t){let r=e.toJSON();if(r===null)return "Invalid Date";let n=r.split("T"),o=n[0];return t.stylize(`${o}T${St(n[1],t.truncate-o.length-1)}`,"date")}function Cs(e,t){let r=e[Symbol.toStringTag]||"Function",n=e.name;return n?t.stylize(`[${r} ${St(n,t.truncate-11)}]`,"special"):t.stylize(`[${r}]`,"special")}function I0([e,t],r){return r.truncate-=4,e=r.inspect(e,r),r.truncate-=e.length,t=r.inspect(t,r),`${e} => ${t}`}function $0(e){let t=[];return e.forEach((r,n)=>{t.push([n,r]);}),t}function B0(e,t){return e.size-1<=0?"Map{}":(t.truncate-=7,`Map{ ${Je($0(e),t,I0)} }`)}var L0=Number.isNaN||(e=>e!==e);function Ts(e,t){return L0(e)?t.stylize("NaN","number"):e===1/0?t.stylize("Infinity","number"):e===-1/0?t.stylize("-Infinity","number"):e===0?t.stylize(1/e===1/0?"+0":"-0","number"):t.stylize(St(String(e),t.truncate),"number")}function Rs(e,t){let r=St(e.toString(),t.truncate-1);return r!==lr&&(r+="n"),t.stylize(r,"bigint")}function D0(e,t){let r=e.toString().split("/")[2],n=t.truncate-(2+r.length),o=e.source;return t.stylize(`/${St(o,n)}/${r}`,"regexp")}function k0(e){let t=[];return e.forEach(r=>{t.push(r);}),t}function F0(e,t){return e.size===0?"Set{}":(t.truncate-=7,`Set{ ${Je(k0(e),t)} }`)}var Ss=new RegExp("['\\u0000-\\u001f\\u007f-\\u009f\\u00ad\\u0600-\\u0604\\u070f\\u17b4\\u17b5\\u200c-\\u200f\\u2028-\\u202f\\u2060-\\u206f\\ufeff\\ufff0-\\uffff]","g"),U0={"\b":"\\b"," ":"\\t","\n":"\\n","\f":"\\f","\r":"\\r","'":"\\'","\\":"\\\\"},H0=16,V0=4;function z0(e){return U0[e]||`\\u${`0000${e.charCodeAt(0).toString(H0)}`.slice(-V0)}`}function Ps(e,t){return Ss.test(e)&&(e=e.replace(Ss,z0)),t.stylize(`'${St(e,t.truncate-2)}'`,"string")}function Os(e){return "description"in Symbol.prototype?e.description?`Symbol(${e.description})`:"Symbol()":e.toString()}var vu=()=>"Promise{\u2026}";try{let{getPromiseDetails:e,kPending:t,kRejected:r}=process.binding("util");Array.isArray(e(Promise.resolve()))&&(vu=(n,o)=>{let[a,i]=e(n);return a===t?"Promise{<pending>}":`Promise${a===r?"!":""}{${o.inspect(i,o)}}`});}catch{}var G0=vu;function Pn(e,t){let r=Object.getOwnPropertyNames(e),n=Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e):[];if(r.length===0&&n.length===0)return "{}";if(t.truncate-=4,t.seen=t.seen||[],t.seen.indexOf(e)>=0)return "[Circular]";t.seen.push(e);let o=Je(r.map(l=>[l,e[l]]),t,Br),a=Je(n.map(l=>[l,e[l]]),t,Br);t.seen.pop();let i="";return o&&a&&(i=", "),`{ ${o}${i}${a} }`}var Zo=typeof Symbol<"u"&&Symbol.toStringTag?Symbol.toStringTag:!1;function W0(e,t){let r="";return Zo&&Zo in e&&(r=e[Zo]),r=r||e.constructor.name,(!r||r==="_class")&&(r="<Anonymous Class>"),t.truncate-=r.length,`${r}${Pn(e,t)}`}function K0(e,t){return e.length===0?"Arguments[]":(t.truncate-=13,`Arguments[ ${Je(e,t)} ]`)}var Y0=["stack","line","column","name","message","fileName","lineNumber","columnNumber","number","description"];function J0(e,t){let r=Object.getOwnPropertyNames(e).filter(i=>Y0.indexOf(i)===-1),n=e.name;t.truncate-=n.length;let o="";typeof e.message=="string"?o=St(e.message,t.truncate):r.unshift("message"),o=o?`: ${o}`:"",t.truncate-=o.length+5;let a=Je(r.map(i=>[i,e[i]]),t,Br);return `${n}${o}${a?` { ${a} }`:""}`}function X0([e,t],r){return r.truncate-=3,t?`${r.stylize(String(e),"yellow")}=${r.stylize(`"${t}"`,"string")}`:`${r.stylize(String(e),"yellow")}`}function oi(e,t){return Je(e,t,_u,`
6
- `)}function _u(e,t){let r=e.getAttributeNames(),n=e.tagName.toLowerCase(),o=t.stylize(`<${n}`,"special"),a=t.stylize(">","special"),i=t.stylize(`</${n}>`,"special");t.truncate-=n.length*2+5;let l="";r.length>0&&(l+=" ",l+=Je(r.map(s=>[s,e.getAttribute(s)]),t,X0," ")),t.truncate-=l.length;let u=t.truncate,c=oi(e.children,t);return c&&c.length>u&&(c=`${lr}(${e.children.length})`),`${o}${l}${a}${c}${i}`}var Q0=typeof Symbol=="function"&&typeof Symbol.for=="function",ei=Q0?Symbol.for("chai/inspect"):"@@chai/inspect",nr=!1;try{let e=nt("util");nr=e.inspect?e.inspect.custom:!1;}catch{nr=!1;}var As=new WeakMap,qs={},xs={undefined:(e,t)=>t.stylize("undefined","undefined"),null:(e,t)=>t.stylize("null","null"),boolean:(e,t)=>t.stylize(String(e),"boolean"),Boolean:(e,t)=>t.stylize(String(e),"boolean"),number:Ts,Number:Ts,bigint:Rs,BigInt:Rs,string:Ps,String:Ps,function:Cs,Function:Cs,symbol:Os,Symbol:Os,Array:M0,Date:j0,Map:B0,Set:F0,RegExp:D0,Promise:G0,WeakSet:(e,t)=>t.stylize("WeakSet{\u2026}","special"),WeakMap:(e,t)=>t.stylize("WeakMap{\u2026}","special"),Arguments:K0,Int8Array:pt,Uint8Array:pt,Uint8ClampedArray:pt,Int16Array:pt,Uint16Array:pt,Int32Array:pt,Uint32Array:pt,Float32Array:pt,Float64Array:pt,Generator:()=>"",DataView:()=>"",ArrayBuffer:()=>"",Error:J0,HTMLCollection:oi,NodeList:oi},Z0=(e,t,r)=>ei in e&&typeof e[ei]=="function"?e[ei](t):nr&&nr in e&&typeof e[nr]=="function"?e[nr](t.depth,t):"inspect"in e&&typeof e.inspect=="function"?e.inspect(t.depth,t):"constructor"in e&&As.has(e.constructor)?As.get(e.constructor)(e,t):qs[r]?qs[r](e,t):"",ev=Object.prototype.toString;function ii(e,t={}){let r=A0(t,ii),{customInspect:n}=r,o=e===null?"null":typeof e;if(o==="object"&&(o=ev.call(e).slice(8,-1)),o in xs)return xs[o](e,r);if(n&&e){let i=Z0(e,r,o);if(i)return typeof i=="string"?i:ii(i,r)}let a=e?Object.getPrototypeOf(e):!1;return a===Object.prototype||a===null?Pn(e,r):e&&typeof HTMLElement=="function"&&e instanceof HTMLElement?_u(e,r):"constructor"in e?e.constructor!==Object?W0(e,r):Pn(e,r):e===Object(e)?Pn(e,r):r.stylize(String(e),o)}var{AsymmetricMatcher:tv,DOMCollection:rv,DOMElement:nv,Immutable:ov,ReactElement:iv,ReactTestComponent:av}=yu,Ms=[av,iv,nv,rv,ov,tv];function Lr(e,t=10,{maxLength:r,...n}={}){let o=r??1e4,a;try{a=it(e,{maxDepth:t,escapeString:!1,plugins:Ms,...n});}catch{a=it(e,{callToJSON:!1,maxDepth:t,escapeString:!1,plugins:Ms,...n});}return a.length>=o&&t>1?Lr(e,Math.floor(t/2)):a}var lv=/%[sdjifoOc%]/g;function sv(...e){if(typeof e[0]!="string"){let a=[];for(let i=0;i<e.length;i++)a.push(Ir(e[i],{depth:0,colors:!1}));return a.join(" ")}let t=e.length,r=1,n=e[0],o=String(n).replace(lv,a=>{if(a==="%%")return "%";if(r>=t)return a;switch(a){case"%s":{let i=e[r++];return typeof i=="bigint"?`${i.toString()}n`:typeof i=="number"&&i===0&&1/i<0?"-0":typeof i=="object"&&i!==null?Ir(i,{depth:0,colors:!1}):String(i)}case"%d":{let i=e[r++];return typeof i=="bigint"?`${i.toString()}n`:Number(i).toString()}case"%i":{let i=e[r++];return typeof i=="bigint"?`${i.toString()}n`:Number.parseInt(String(i)).toString()}case"%f":return Number.parseFloat(String(e[r++])).toString();case"%o":return Ir(e[r++],{showHidden:!0,showProxy:!0});case"%O":return Ir(e[r++]);case"%c":return r++,"";case"%j":try{return JSON.stringify(e[r++])}catch(i){let l=i.message;if(l.includes("circular structure")||l.includes("cyclic structures")||l.includes("cyclic object"))return "[Circular]";throw i}default:return a}});for(let a=e[r];r<t;a=e[++r])a===null||typeof a!="object"?o+=` ${a}`:o+=` ${Ir(a)}`;return o}function Ir(e,t={}){return t.truncate===0&&(t.truncate=Number.POSITIVE_INFINITY),ii(e,t)}function uv(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function cv(e){return e===Object.prototype||e===Function.prototype||e===RegExp.prototype}function ai(e){return Object.prototype.toString.apply(e).slice(8,-1)}function dv(e,t){let r=typeof t=="function"?t:n=>t.add(n);Object.getOwnPropertyNames(e).forEach(r),Object.getOwnPropertySymbols(e).forEach(r);}function Eu(e){let t=new Set;return cv(e)?[]:(dv(e,t),Array.from(t))}var wu={forceWritable:!1};function Ns(e,t=wu){return li(e,new WeakMap,t)}function li(e,t,r=wu){let n,o;if(t.has(e))return t.get(e);if(Array.isArray(e)){for(o=Array.from({length:n=e.length}),t.set(e,o);n--;)o[n]=li(e[n],t,r);return o}if(Object.prototype.toString.call(e)==="[object Object]"){o=Object.create(Object.getPrototypeOf(e)),t.set(e,o);let a=Eu(e);for(let i of a){let l=Object.getOwnPropertyDescriptor(e,i);if(!l)continue;let u=li(e[i],t,r);r.forceWritable?Object.defineProperty(o,i,{enumerable:l.enumerable,configurable:!0,writable:!0,value:u}):"get"in l?Object.defineProperty(o,i,{...l,get(){return u}}):Object.defineProperty(o,i,{...l,value:u});}return o}return e}function js(e){if(e===void 0)return "undefined";if(e===null)return "null";if(Array.isArray(e))return "array";if(typeof e=="boolean")return "boolean";if(typeof e=="function")return "function";if(typeof e=="number")return "number";if(typeof e=="string")return "string";if(typeof e=="bigint")return "bigint";if(typeof e=="object"){if(e!=null){if(e.constructor===RegExp)return "regexp";if(e.constructor===Map)return "map";if(e.constructor===Set)return "set";if(e.constructor===Date)return "date"}return "object"}else if(typeof e=="symbol")return "symbol";throw new Error(`value of unknown type: ${e}`)}var Oe=-1,Se=1,Ee=0,ve=class{0;1;constructor(e,t){this[0]=e,this[1]=t;}},pv=function(e,t){if(!e||!t||e.charAt(0)!==t.charAt(0))return 0;let r=0,n=Math.min(e.length,t.length),o=n,a=0;for(;r<o;)e.substring(a,o)===t.substring(a,o)?(r=o,a=r):n=o,o=Math.floor((n-r)/2+r);return o},Cu=function(e,t){if(!e||!t||e.charAt(e.length-1)!==t.charAt(t.length-1))return 0;let r=0,n=Math.min(e.length,t.length),o=n,a=0;for(;r<o;)e.substring(e.length-o,e.length-a)===t.substring(t.length-o,t.length-a)?(r=o,a=r):n=o,o=Math.floor((n-r)/2+r);return o},Is=function(e,t){let r=e.length,n=t.length;if(r===0||n===0)return 0;r>n?e=e.substring(r-n):r<n&&(t=t.substring(0,r));let o=Math.min(r,n);if(e===t)return o;let a=0,i=1;for(;;){let l=e.substring(o-i),u=t.indexOf(l);if(u===-1)return a;i+=u,(u===0||e.substring(o-i)===t.substring(0,i))&&(a=i,i++);}},fv=function(e){let t=!1,r=[],n=0,o=null,a=0,i=0,l=0,u=0,c=0;for(;a<e.length;)e[a][0]===Ee?(r[n++]=a,i=u,l=c,u=0,c=0,o=e[a][1]):(e[a][0]===Se?u+=e[a][1].length:c+=e[a][1].length,o&&o.length<=Math.max(i,l)&&o.length<=Math.max(u,c)&&(e.splice(r[n-1],0,new ve(Oe,o)),e[r[n-1]+1][0]=Se,n--,n--,a=n>0?r[n-1]:-1,i=0,l=0,u=0,c=0,o=null,t=!0)),a++;for(t&&Tu(e),bv(e),a=1;a<e.length;){if(e[a-1][0]===Oe&&e[a][0]===Se){let s=e[a-1][1],d=e[a][1],f=Is(s,d),p=Is(d,s);f>=p?(f>=s.length/2||f>=d.length/2)&&(e.splice(a,0,new ve(Ee,d.substring(0,f))),e[a-1][1]=s.substring(0,s.length-f),e[a+1][1]=d.substring(f),a++):(p>=s.length/2||p>=d.length/2)&&(e.splice(a,0,new ve(Ee,s.substring(0,p))),e[a-1][0]=Se,e[a-1][1]=d.substring(0,d.length-p),e[a+1][0]=Oe,e[a+1][1]=s.substring(p),a++),a++;}a++;}},$s=/[^a-z0-9]/i,Bs=/\s/,Ls=/[\r\n]/,mv=/\n\r?\n$/,hv=/^\r?\n\r?\n/;function bv(e){let t=1;for(;t<e.length-1;){if(e[t-1][0]===Ee&&e[t+1][0]===Ee){let r=e[t-1][1],n=e[t][1],o=e[t+1][1],a=Cu(r,n);if(a){let s=n.substring(n.length-a);r=r.substring(0,r.length-a),n=s+n.substring(0,n.length-a),o=s+o;}let i=r,l=n,u=o,c=Rn(r,n)+Rn(n,o);for(;n.charAt(0)===o.charAt(0);){r+=n.charAt(0),n=n.substring(1)+o.charAt(0),o=o.substring(1);let s=Rn(r,n)+Rn(n,o);s>=c&&(c=s,i=r,l=n,u=o);}e[t-1][1]!==i&&(i?e[t-1][1]=i:(e.splice(t-1,1),t--),e[t][1]=l,u?e[t+1][1]=u:(e.splice(t+1,1),t--));}t++;}}function Tu(e){e.push(new ve(Ee,""));let t=0,r=0,n=0,o="",a="",i;for(;t<e.length;)switch(e[t][0]){case Se:n++,a+=e[t][1],t++;break;case Oe:r++,o+=e[t][1],t++;break;case Ee:r+n>1?(r!==0&&n!==0&&(i=pv(a,o),i!==0&&(t-r-n>0&&e[t-r-n-1][0]===Ee?e[t-r-n-1][1]+=a.substring(0,i):(e.splice(0,0,new ve(Ee,a.substring(0,i))),t++),a=a.substring(i),o=o.substring(i)),i=Cu(a,o),i!==0&&(e[t][1]=a.substring(a.length-i)+e[t][1],a=a.substring(0,a.length-i),o=o.substring(0,o.length-i))),t-=r+n,e.splice(t,r+n),o.length&&(e.splice(t,0,new ve(Oe,o)),t++),a.length&&(e.splice(t,0,new ve(Se,a)),t++),t++):t!==0&&e[t-1][0]===Ee?(e[t-1][1]+=e[t][1],e.splice(t,1)):t++,n=0,r=0,o="",a="";break}e[e.length-1][1]===""&&e.pop();let l=!1;for(t=1;t<e.length-1;)e[t-1][0]===Ee&&e[t+1][0]===Ee&&(e[t][1].substring(e[t][1].length-e[t-1][1].length)===e[t-1][1]?(e[t][1]=e[t-1][1]+e[t][1].substring(0,e[t][1].length-e[t-1][1].length),e[t+1][1]=e[t-1][1]+e[t+1][1],e.splice(t-1,1),l=!0):e[t][1].substring(0,e[t+1][1].length)===e[t+1][1]&&(e[t-1][1]+=e[t+1][1],e[t][1]=e[t][1].substring(e[t+1][1].length)+e[t+1][1],e.splice(t+1,1),l=!0)),t++;l&&Tu(e);}function Rn(e,t){if(!e||!t)return 6;let r=e.charAt(e.length-1),n=t.charAt(0),o=r.match($s),a=n.match($s),i=o&&r.match(Bs),l=a&&n.match(Bs),u=i&&r.match(Ls),c=l&&n.match(Ls),s=u&&e.match(mv),d=c&&t.match(hv);return s||d?5:u||c?4:o&&!i&&l?3:i||l?2:o||a?1:0}var Ru="Compared values have no visual difference.",gv="Compared values serialize to the same structure.\nPrinting internal object structure without calling `toJSON` instead.",Sn={},Ds;function yv(){if(Ds)return Sn;Ds=1,Object.defineProperty(Sn,"__esModule",{value:!0}),Sn.default=f;let e="diff-sequences",t=0,r=(p,m,h,b,g)=>{let y=0;for(;p<m&&h<b&&g(p,h);)p+=1,h+=1,y+=1;return y},n=(p,m,h,b,g)=>{let y=0;for(;p<=m&&h<=b&&g(m,b);)m-=1,b-=1,y+=1;return y},o=(p,m,h,b,g,y,T)=>{let C=0,E=-p,w=y[C],_=w;y[C]+=r(w+1,m,b+w-E+1,h,g);let v=p<T?p:T;for(C+=1,E+=2;C<=v;C+=1,E+=2){if(C!==p&&_<y[C])w=y[C];else if(w=_+1,m<=w)return C-1;_=y[C],y[C]=w+r(w+1,m,b+w-E+1,h,g);}return T},a=(p,m,h,b,g,y,T)=>{let C=0,E=p,w=y[C],_=w;y[C]-=n(m,w-1,h,b+w-E-1,g);let v=p<T?p:T;for(C+=1,E-=2;C<=v;C+=1,E-=2){if(C!==p&&y[C]<_)w=y[C];else if(w=_-1,w<m)return C-1;_=y[C],y[C]=w-n(m,w-1,h,b+w-E-1,g);}return T},i=(p,m,h,b,g,y,T,C,E,w,_)=>{let v=b-m,O=h-m,A=g-b-O,I=-A-(p-1),D=-A+(p-1),$=t,x=p<C?p:C;for(let B=0,V=-p;B<=x;B+=1,V+=2){let K=B===0||B!==p&&$<T[B],W=K?T[B]:$,ne=K?W:W+1,be=v+ne-V,pe=r(ne+1,h,be+1,g,y),F=ne+pe;if($=T[B],T[B]=F,I<=V&&V<=D){let L=(p-1-(V+A))/2;if(L<=w&&E[L]-1<=F){let k=v+W-(K?V+1:V-1),G=n(m,W,b,k,y),Y=W-G,oe=k-G,he=Y+1,De=oe+1;_.nChangePreceding=p-1,p-1===he+De-m-b?(_.aEndPreceding=m,_.bEndPreceding=b):(_.aEndPreceding=he,_.bEndPreceding=De),_.nCommonPreceding=G,G!==0&&(_.aCommonPreceding=he,_.bCommonPreceding=De),_.nCommonFollowing=pe,pe!==0&&(_.aCommonFollowing=ne+1,_.bCommonFollowing=be+1);let M=F+1,z=be+pe+1;return _.nChangeFollowing=p-1,p-1===h+g-M-z?(_.aStartFollowing=h,_.bStartFollowing=g):(_.aStartFollowing=M,_.bStartFollowing=z),!0}}}return !1},l=(p,m,h,b,g,y,T,C,E,w,_)=>{let v=g-h,O=h-m,A=g-b-O,I=A-p,D=A+p,$=t,x=p<w?p:w;for(let B=0,V=p;B<=x;B+=1,V-=2){let K=B===0||B!==p&&E[B]<$,W=K?E[B]:$,ne=K?W:W-1,be=v+ne-V,pe=n(m,ne-1,b,be-1,y),F=ne-pe;if($=E[B],E[B]=F,I<=V&&V<=D){let L=(p+(V-A))/2;if(L<=C&&F-1<=T[L]){let k=be-pe;if(_.nChangePreceding=p,p===F+k-m-b?(_.aEndPreceding=m,_.bEndPreceding=b):(_.aEndPreceding=F,_.bEndPreceding=k),_.nCommonPreceding=pe,pe!==0&&(_.aCommonPreceding=F,_.bCommonPreceding=k),_.nChangeFollowing=p-1,p===1)_.nCommonFollowing=0,_.aStartFollowing=h,_.bStartFollowing=g;else {let G=v+W-(K?V-1:V+1),Y=r(W,h,G,g,y);_.nCommonFollowing=Y,Y!==0&&(_.aCommonFollowing=W,_.bCommonFollowing=G);let oe=W+Y,he=G+Y;p-1===h+g-oe-he?(_.aStartFollowing=h,_.bStartFollowing=g):(_.aStartFollowing=oe,_.bStartFollowing=he);}return !0}}}return !1},u=(p,m,h,b,g,y,T,C,E)=>{let w=b-m,_=g-h,v=h-m,O=g-b,A=O-v,I=v,D=v;if(T[0]=m-1,C[0]=h,A%2===0){let $=(p||A)/2,x=(v+O)/2;for(let B=1;B<=x;B+=1)if(I=o(B,h,g,w,y,T,I),B<$)D=a(B,m,b,_,y,C,D);else if(l(B,m,h,b,g,y,T,I,C,D,E))return}else {let $=((p||A)+1)/2,x=(v+O+1)/2,B=1;for(I=o(B,h,g,w,y,T,I),B+=1;B<=x;B+=1)if(D=a(B-1,m,b,_,y,C,D),B<$)I=o(B,h,g,w,y,T,I);else if(i(B,m,h,b,g,y,T,I,C,D,E))return}throw new Error(`${e}: no overlap aStart=${m} aEnd=${h} bStart=${b} bEnd=${g}`)},c=(p,m,h,b,g,y,T,C,E,w)=>{if(g-b<h-m){if(y=!y,y&&T.length===1){let{foundSubsequence:L,isCommon:k}=T[0];T[1]={foundSubsequence:(G,Y,oe)=>{L(G,oe,Y);},isCommon:(G,Y)=>k(Y,G)};}let pe=m,F=h;m=b,h=g,b=pe,g=F;}let{foundSubsequence:_,isCommon:v}=T[y?1:0];u(p,m,h,b,g,v,C,E,w);let{nChangePreceding:O,aEndPreceding:A,bEndPreceding:I,nCommonPreceding:D,aCommonPreceding:$,bCommonPreceding:x,nCommonFollowing:B,aCommonFollowing:V,bCommonFollowing:K,nChangeFollowing:W,aStartFollowing:ne,bStartFollowing:be}=w;m<A&&b<I&&c(O,m,A,b,I,y,T,C,E,w),D!==0&&_(D,$,x),B!==0&&_(B,V,K),ne<h&&be<g&&c(W,ne,h,be,g,y,T,C,E,w);},s=(p,m)=>{if(typeof m!="number")throw new TypeError(`${e}: ${p} typeof ${typeof m} is not a number`);if(!Number.isSafeInteger(m))throw new RangeError(`${e}: ${p} value ${m} is not a safe integer`);if(m<0)throw new RangeError(`${e}: ${p} value ${m} is a negative integer`)},d=(p,m)=>{let h=typeof m;if(h!=="function")throw new TypeError(`${e}: ${p} typeof ${h} is not a function`)};function f(p,m,h,b){s("aLength",p),s("bLength",m),d("isCommon",h),d("foundSubsequence",b);let g=r(0,p,0,m,h);if(g!==0&&b(g,0,0),p!==g||m!==g){let y=g,T=g,C=n(y,p-1,T,m-1,h),E=p-C,w=m-C,_=g+C;p!==_&&m!==_&&c(0,y,E,T,w,!1,[{foundSubsequence:b,isCommon:h}],[t],[t],{aCommonFollowing:t,aCommonPreceding:t,aEndPreceding:t,aStartFollowing:t,bCommonFollowing:t,bCommonPreceding:t,bEndPreceding:t,bStartFollowing:t,nChangeFollowing:t,nChangePreceding:t,nCommonFollowing:t,nCommonPreceding:t}),C!==0&&b(C,E,w);}}return Sn}var vv=yv(),Su=uv(vv);function _v(e,t){return e.replace(/\s+$/,r=>t(r))}function _i(e,t,r,n,o,a){return e.length!==0?r(`${n} ${_v(e,o)}`):n!==" "?r(n):t&&a.length!==0?r(`${n} ${a}`):""}function Pu(e,t,{aColor:r,aIndicator:n,changeLineTrailingSpaceColor:o,emptyFirstOrLastLinePlaceholder:a}){return _i(e,t,r,n,o,a)}function Ou(e,t,{bColor:r,bIndicator:n,changeLineTrailingSpaceColor:o,emptyFirstOrLastLinePlaceholder:a}){return _i(e,t,r,n,o,a)}function Au(e,t,{commonColor:r,commonIndicator:n,commonLineTrailingSpaceColor:o,emptyFirstOrLastLinePlaceholder:a}){return _i(e,t,r,n,o,a)}function ks(e,t,r,n,{patchColor:o}){return o(`@@ -${e+1},${t-e} +${r+1},${n-r} @@`)}function Ev(e,t){let r=e.length,n=t.contextLines,o=n+n,a=r,i=!1,l=0,u=0;for(;u!==r;){let C=u;for(;u!==r&&e[u][0]===Ee;)u+=1;if(C!==u)if(C===0)u>n&&(a-=u-n,i=!0);else if(u===r){let E=u-C;E>n&&(a-=E-n,i=!0);}else {let E=u-C;E>o&&(a-=E-o,l+=1);}for(;u!==r&&e[u][0]!==Ee;)u+=1;}let c=l!==0||i;l!==0?a+=l+1:i&&(a+=1);let s=a-1,d=[],f=0;c&&d.push("");let p=0,m=0,h=0,b=0,g=C=>{let E=d.length;d.push(Au(C,E===0||E===s,t)),h+=1,b+=1;},y=C=>{let E=d.length;d.push(Pu(C,E===0||E===s,t)),h+=1;},T=C=>{let E=d.length;d.push(Ou(C,E===0||E===s,t)),b+=1;};for(u=0;u!==r;){let C=u;for(;u!==r&&e[u][0]===Ee;)u+=1;if(C!==u)if(C===0){u>n&&(C=u-n,p=C,m=C,h=p,b=m);for(let E=C;E!==u;E+=1)g(e[E][1]);}else if(u===r){let E=u-C>n?C+n:u;for(let w=C;w!==E;w+=1)g(e[w][1]);}else {let E=u-C;if(E>o){let w=C+n;for(let v=C;v!==w;v+=1)g(e[v][1]);d[f]=ks(p,h,m,b,t),f=d.length,d.push("");let _=E-o;p=h+_,m=b+_,h=p,b=m;for(let v=u-n;v!==u;v+=1)g(e[v][1]);}else for(let w=C;w!==u;w+=1)g(e[w][1]);}for(;u!==r&&e[u][0]===Oe;)y(e[u][1]),u+=1;for(;u!==r&&e[u][0]===Se;)T(e[u][1]),u+=1;}return c&&(d[f]=ks(p,h,m,b,t)),d.join(`
7
- `)}function wv(e,t){return e.map((r,n,o)=>{let a=r[1],i=n===0||n===o.length-1;switch(r[0]){case Oe:return Pu(a,i,t);case Se:return Ou(a,i,t);default:return Au(a,i,t)}}).join(`
8
- `)}var ti=e=>e,qu=5,Cv=0;function Tv(){return {aAnnotation:"Expected",aColor:ft.green,aIndicator:"-",bAnnotation:"Received",bColor:ft.red,bIndicator:"+",changeColor:ft.inverse,changeLineTrailingSpaceColor:ti,commonColor:ft.dim,commonIndicator:" ",commonLineTrailingSpaceColor:ti,compareKeys:void 0,contextLines:qu,emptyFirstOrLastLinePlaceholder:"",expand:!0,includeChangeCounts:!1,omitAnnotationLines:!1,patchColor:ft.yellow,truncateThreshold:Cv,truncateAnnotation:"... Diff result is truncated",truncateAnnotationColor:ti}}function Rv(e){return e&&typeof e=="function"?e:void 0}function Sv(e){return typeof e=="number"&&Number.isSafeInteger(e)&&e>=0?e:qu}function Ut(e={}){return {...Tv(),...e,compareKeys:Rv(e.compareKeys),contextLines:Sv(e.contextLines)}}function or(e){return e.length===1&&e[0].length===0}function Pv(e){let t=0,r=0;return e.forEach(n=>{switch(n[0]){case Oe:t+=1;break;case Se:r+=1;break}}),{a:t,b:r}}function Ov({aAnnotation:e,aColor:t,aIndicator:r,bAnnotation:n,bColor:o,bIndicator:a,includeChangeCounts:i,omitAnnotationLines:l},u){if(l)return "";let c="",s="";if(i){let p=String(u.a),m=String(u.b),h=n.length-e.length,b=" ".repeat(Math.max(0,h)),g=" ".repeat(Math.max(0,-h)),y=m.length-p.length,T=" ".repeat(Math.max(0,y)),C=" ".repeat(Math.max(0,-y));c=`${b} ${r} ${T}${p}`,s=`${g} ${a} ${C}${m}`;}let d=`${r} ${e}${c}`,f=`${a} ${n}${s}`;return `${t(d)}
9
- ${o(f)}
10
-
11
- `}function Ei(e,t,r){return Ov(r,Pv(e))+(r.expand?wv(e,r):Ev(e,r))+(t?r.truncateAnnotationColor(`
12
- ${r.truncateAnnotation}`):"")}function xn(e,t,r){let n=Ut(r),[o,a]=xu(or(e)?[]:e,or(t)?[]:t,n);return Ei(o,a,n)}function Av(e,t,r,n,o){if(or(e)&&or(r)&&(e=[],r=[]),or(t)&&or(n)&&(t=[],n=[]),e.length!==r.length||t.length!==n.length)return xn(e,t,o);let[a,i]=xu(r,n,o),l=0,u=0;return a.forEach(c=>{switch(c[0]){case Oe:c[1]=e[l],l+=1;break;case Se:c[1]=t[u],u+=1;break;default:c[1]=t[u],l+=1,u+=1;}}),Ei(a,i,Ut(o))}function xu(e,t,r){let n=r?.truncateThreshold??!1,o=Math.max(Math.floor(r?.truncateThreshold??0),0),a=n?Math.min(e.length,o):e.length,i=n?Math.min(t.length,o):t.length,l=a!==e.length||i!==t.length,u=(f,p)=>e[f]===t[p],c=[],s=0,d=0;for(Su(a,i,u,(f,p,m)=>{for(;s!==p;s+=1)c.push(new ve(Oe,e[s]));for(;d!==m;d+=1)c.push(new ve(Se,t[d]));for(;f!==0;f-=1,s+=1,d+=1)c.push(new ve(Ee,t[d]));});s!==a;s+=1)c.push(new ve(Oe,e[s]));for(;d!==i;d+=1)c.push(new ve(Se,t[d]));return [c,l]}function Fs(e){return e.includes(`\r
13
- `)?`\r
14
- `:`
15
- `}function qv(e,t,r){let n=r?.truncateThreshold??!1,o=Math.max(Math.floor(r?.truncateThreshold??0),0),a=e.length,i=t.length;if(n){let f=e.includes(`
16
- `),p=t.includes(`
17
- `),m=Fs(e),h=Fs(t),b=f?`${e.split(m,o).join(m)}
18
- `:e,g=p?`${t.split(h,o).join(h)}
19
- `:t;a=b.length,i=g.length;}let l=a!==e.length||i!==t.length,u=(f,p)=>e[f]===t[p],c=0,s=0,d=[];return Su(a,i,u,(f,p,m)=>{c!==p&&d.push(new ve(Oe,e.slice(c,p))),s!==m&&d.push(new ve(Se,t.slice(s,m))),c=p+f,s=m+f,d.push(new ve(Ee,t.slice(m,s)));}),c!==a&&d.push(new ve(Oe,e.slice(c))),s!==i&&d.push(new ve(Se,t.slice(s))),[d,l]}function xv(e,t,r){return t.reduce((n,o)=>n+(o[0]===Ee?o[1]:o[0]===e&&o[1].length!==0?r(o[1]):""),"")}var Us=class{op;line;lines;changeColor;constructor(e,t){this.op=e,this.line=[],this.lines=[],this.changeColor=t;}pushSubstring(e){this.pushDiff(new ve(this.op,e));}pushLine(){this.lines.push(this.line.length!==1?new ve(this.op,xv(this.op,this.line,this.changeColor)):this.line[0][0]===this.op?this.line[0]:new ve(this.op,this.line[0][1])),this.line.length=0;}isLineEmpty(){return this.line.length===0}pushDiff(e){this.line.push(e);}align(e){let t=e[1];if(t.includes(`
20
- `)){let r=t.split(`
21
- `),n=r.length-1;r.forEach((o,a)=>{a<n?(this.pushSubstring(o),this.pushLine()):o.length!==0&&this.pushSubstring(o);});}else this.pushDiff(e);}moveLinesTo(e){this.isLineEmpty()||this.pushLine(),e.push(...this.lines),this.lines.length=0;}},Mv=class{deleteBuffer;insertBuffer;lines;constructor(e,t){this.deleteBuffer=e,this.insertBuffer=t,this.lines=[];}pushDiffCommonLine(e){this.lines.push(e);}pushDiffChangeLines(e){let t=e[1].length===0;(!t||this.deleteBuffer.isLineEmpty())&&this.deleteBuffer.pushDiff(e),(!t||this.insertBuffer.isLineEmpty())&&this.insertBuffer.pushDiff(e);}flushChangeLines(){this.deleteBuffer.moveLinesTo(this.lines),this.insertBuffer.moveLinesTo(this.lines);}align(e){let t=e[0],r=e[1];if(r.includes(`
22
- `)){let n=r.split(`
23
- `),o=n.length-1;n.forEach((a,i)=>{if(i===0){let l=new ve(t,a);this.deleteBuffer.isLineEmpty()&&this.insertBuffer.isLineEmpty()?(this.flushChangeLines(),this.pushDiffCommonLine(l)):(this.pushDiffChangeLines(l),this.flushChangeLines());}else i<o?this.pushDiffCommonLine(new ve(t,a)):a.length!==0&&this.pushDiffChangeLines(new ve(t,a));});}else this.pushDiffChangeLines(e);}getLines(){return this.flushChangeLines(),this.lines}};function Nv(e,t){let r=new Us(Oe,t),n=new Us(Se,t),o=new Mv(r,n);return e.forEach(a=>{switch(a[0]){case Oe:r.align(a);break;case Se:n.align(a);break;default:o.align(a);}}),o.getLines()}function jv(e,t){if(t){let r=e.length-1;return e.some((n,o)=>n[0]===Ee&&(o!==r||n[1]!==`
24
- `))}return e.some(r=>r[0]===Ee)}function Iv(e,t,r){if(e!==t&&e.length!==0&&t.length!==0){let n=e.includes(`
25
- `)||t.includes(`
26
- `),[o,a]=Mu(n?`${e}
27
- `:e,n?`${t}
28
- `:t,!0,r);if(jv(o,n)){let i=Ut(r),l=Nv(o,i.changeColor);return Ei(l,a,i)}}return xn(e.split(`
29
- `),t.split(`
30
- `),r)}function Mu(e,t,r,n){let[o,a]=qv(e,t,n);return fv(o),[o,a]}function si(e,t){let{commonColor:r}=Ut(t);return r(e)}var{AsymmetricMatcher:$v,DOMCollection:Bv,DOMElement:Lv,Immutable:Dv,ReactElement:kv,ReactTestComponent:Fv}=yu,Nu=[Fv,kv,Lv,Bv,Dv,$v],ui={plugins:Nu},ju={callToJSON:!1,maxDepth:10,plugins:Nu};function Uv(e,t,r){if(Object.is(e,t))return "";let n=js(e),o=n,a=!1;if(n==="object"&&typeof e.asymmetricMatch=="function"){if(e.$$typeof!==Symbol.for("jest.asymmetricMatcher")||typeof e.getExpectedType!="function")return;o=e.getExpectedType(),a=o==="string";}if(o!==js(t)){let{aAnnotation:i,aColor:l,aIndicator:u,bAnnotation:c,bColor:s,bIndicator:d}=Ut(r),f=ci(ju,r),p=it(e,f),m=it(t,f),h=`${l(`${u} ${i}:`)}
31
- ${p}`,b=`${s(`${d} ${c}:`)}
32
- ${m}`;return `${h}
33
-
34
- ${b}`}if(!a)switch(n){case"string":return xn(e.split(`
35
- `),t.split(`
36
- `),r);case"boolean":case"number":return Hv(e,t,r);case"map":return ri(Hs(e),Hs(t),r);case"set":return ri(Vs(e),Vs(t),r);default:return ri(e,t,r)}}function Hv(e,t,r){let n=it(e,ui),o=it(t,ui);return n===o?"":xn(n.split(`
37
- `),o.split(`
38
- `),r)}function Hs(e){return new Map(Array.from(e.entries()).sort())}function Vs(e){return new Set(Array.from(e.values()).sort())}function ri(e,t,r){let n,o=!1;try{let i=ci(ui,r);n=zs(e,t,i,r);}catch{o=!0;}let a=si(Ru,r);if(n===void 0||n===a){let i=ci(ju,r);n=zs(e,t,i,r),n!==a&&!o&&(n=`${si(gv,r)}
39
-
40
- ${n}`);}return n}function ci(e,t){let{compareKeys:r}=Ut(t);return {...e,compareKeys:r}}function zs(e,t,r,n){let o={...r,indent:0},a=it(e,o),i=it(t,o);if(a===i)return si(Ru,n);{let l=it(e,r),u=it(t,r);return Av(l.split(`
41
- `),u.split(`
42
- `),a.split(`
43
- `),i.split(`
44
- `),n)}}var Gs=2e4;function Ws(e){return ai(e)==="Object"&&typeof e.asymmetricMatch=="function"}function Ks(e,t){let r=ai(e),n=ai(t);return r===n&&(r==="Object"||r==="Array")}function Vv(e,t,r){let{aAnnotation:n,bAnnotation:o}=Ut(r);if(typeof e=="string"&&typeof t=="string"&&e.length>0&&t.length>0&&e.length<=Gs&&t.length<=Gs&&e!==t){if(e.includes(`
45
- `)||t.includes(`
46
- `))return Iv(t,e,r);let[c]=Mu(t,e),s=c.some(m=>m[0]===Ee),d=zv(n,o),f=d(n)+Kv(Ys(c,Oe,s)),p=d(o)+Wv(Ys(c,Se,s));return `${f}
47
- ${p}`}let a=Ns(e,{forceWritable:!0}),i=Ns(t,{forceWritable:!0}),{replacedExpected:l,replacedActual:u}=Iu(a,i);return Uv(l,u,r)}function Iu(e,t,r=new WeakSet,n=new WeakSet){return Ks(e,t)?r.has(e)||n.has(t)?{replacedActual:e,replacedExpected:t}:(r.add(e),n.add(t),Eu(t).forEach(o=>{let a=t[o],i=e[o];if(Ws(a))a.asymmetricMatch(i)&&(e[o]=a);else if(Ws(i))i.asymmetricMatch(a)&&(t[o]=i);else if(Ks(i,a)){let l=Iu(i,a,r,n);e[o]=l.replacedActual,t[o]=l.replacedExpected;}}),{replacedActual:e,replacedExpected:t}):{replacedActual:e,replacedExpected:t}}function zv(...e){let t=e.reduce((r,n)=>n.length>r?n.length:r,0);return r=>`${r}: ${" ".repeat(t-r.length)}`}var Gv="\xB7";function $u(e){return e.replace(/\s+$/gm,t=>Gv.repeat(t.length))}function Wv(e){return ft.red($u(Lr(e)))}function Kv(e){return ft.green($u(Lr(e)))}function Ys(e,t,r){return e.reduce((n,o)=>n+(o[0]===Ee?o[1]:o[0]===t?r?ft.inverse(o[1]):o[1]:""),"")}var Yv="@@__IMMUTABLE_RECORD__@@",Jv="@@__IMMUTABLE_ITERABLE__@@";function Xv(e){return e&&(e[Jv]||e[Yv])}var Qv=Object.getPrototypeOf({});function Js(e){return e instanceof Error?`<unserializable>: ${e.message}`:typeof e=="string"?`<unserializable>: ${e}`:"<unserializable>"}function ir(e,t=new WeakMap){if(!e||typeof e=="string")return e;if(typeof e=="function")return `Function<${e.name||"anonymous"}>`;if(typeof e=="symbol")return e.toString();if(typeof e!="object")return e;if(Xv(e))return ir(e.toJSON(),t);if(e instanceof Promise||e.constructor&&e.constructor.prototype==="AsyncFunction")return "Promise";if(typeof Element<"u"&&e instanceof Element)return e.tagName;if(typeof e.asymmetricMatch=="function")return `${e.toString()} ${sv(e.sample)}`;if(typeof e.toJSON=="function")return ir(e.toJSON(),t);if(t.has(e))return t.get(e);if(Array.isArray(e)){let r=new Array(e.length);return t.set(e,r),e.forEach((n,o)=>{try{r[o]=ir(n,t);}catch(a){r[o]=Js(a);}}),r}else {let r=Object.create(null);t.set(e,r);let n=e;for(;n&&n!==Qv;)Object.getOwnPropertyNames(n).forEach(o=>{if(!(o in r))try{r[o]=ir(e[o],t);}catch(a){delete r[o],r[o]=Js(a);}}),n=Object.getPrototypeOf(n);return r}}function Zv(e){return e.replace(/__(vite_ssr_import|vi_import)_\d+__\./g,"")}function Bu(e,t,r=new WeakSet){if(!e||typeof e!="object")return {message:String(e)};let n=e;n.stack&&(n.stackStr=String(n.stack)),n.name&&(n.nameStr=String(n.name)),(n.showDiff||n.showDiff===void 0&&n.expected!==void 0&&n.actual!==void 0)&&(n.diff=Vv(n.actual,n.expected,{...t,...n.diffOptions})),typeof n.expected!="string"&&(n.expected=Lr(n.expected,10)),typeof n.actual!="string"&&(n.actual=Lr(n.actual,10));try{typeof n.message=="string"&&(n.message=Zv(n.message));}catch{}try{!r.has(n)&&typeof n.cause=="object"&&(r.add(n),n.cause=Bu(n.cause,t,r));}catch{}try{return ir(n)}catch(o){return ir(new Error(`Failed to fully serialize error: ${o?.message}
48
- Inner error message: ${n?.message}`))}}var Lu=(e=>(e.DONE="done",e.ERROR="error",e.ACTIVE="active",e.WAITING="waiting",e))(Lu||{}),ot={CALL:"storybook/instrumenter/call",SYNC:"storybook/instrumenter/sync",START:"storybook/instrumenter/start",BACK:"storybook/instrumenter/back",GOTO:"storybook/instrumenter/goto",NEXT:"storybook/instrumenter/next",END:"storybook/instrumenter/end"},Xs={start:!1,back:!1,goto:!1,next:!1,end:!1},e1=new Error("This function ran after the play function completed. Did you forget to `await` it?"),Qs=e=>Object.prototype.toString.call(e)==="[object Object]",t1=e=>Object.prototype.toString.call(e)==="[object Module]",r1=e=>{if(!Qs(e)&&!t1(e))return !1;if(e.constructor===void 0)return !0;let t=e.constructor.prototype;return !!Qs(t)},n1=e=>{try{return new e.constructor}catch{return {}}},ni=()=>({renderPhase:void 0,isDebugging:!1,isPlaying:!1,isLocked:!1,cursor:0,calls:[],shadowCalls:[],callRefsByResult:new Map,chainedCallIds:new Set,ancestors:[],playUntil:void 0,resolvers:{},syncTimeout:void 0}),Zs=(e,t=!1)=>{let r=(t?e.shadowCalls:e.calls).filter(o=>o.retain);if(!r.length)return;let n=new Map(Array.from(e.callRefsByResult.entries()).filter(([,o])=>o.retain));return {cursor:r.length,calls:r,callRefsByResult:n}},o1=class{constructor(){this.initialized=!1,this.channel=fy.addons.getChannel(),this.state=Ie.global.window?.parent.__STORYBOOK_ADDON_INTERACTIONS_INSTRUMENTER_STATE__||{};let e=({storyId:i,isPlaying:l=!0,isDebugging:u=!1})=>{let c=this.getState(i);this.setState(i,{...ni(),...Zs(c,u),shadowCalls:u?c.shadowCalls:[],chainedCallIds:u?c.chainedCallIds:new Set,playUntil:u?c.playUntil:void 0,isPlaying:l,isDebugging:u}),this.sync(i);};this.channel.on(Tn.FORCE_REMOUNT,e),this.channel.on(Tn.STORY_RENDER_PHASE_CHANGED,({storyId:i,newPhase:l})=>{let{isDebugging:u}=this.getState(i);this.setState(i,{renderPhase:l}),l==="preparing"&&u&&e({storyId:i}),l==="playing"&&e({storyId:i,isDebugging:u}),l==="played"&&this.setState(i,{isLocked:!1,isPlaying:!1,isDebugging:!1}),l==="errored"&&this.setState(i,{isLocked:!1,isPlaying:!1});}),this.channel.on(Tn.SET_CURRENT_STORY,()=>{this.initialized?this.cleanup():this.initialized=!0;});let t=({storyId:i,playUntil:l})=>{this.getState(i).isDebugging||this.setState(i,({calls:c})=>({calls:[],shadowCalls:c.map(s=>({...s,status:"waiting"})),isDebugging:!0}));let u=this.getLog(i);this.setState(i,({shadowCalls:c})=>{if(l||!u.length)return {playUntil:l};let s=c.findIndex(d=>d.id===u[0].callId);return {playUntil:c.slice(0,s).filter(d=>d.interceptable&&!d.ancestors.length).slice(-1)[0]?.id}}),this.channel.emit(Tn.FORCE_REMOUNT,{storyId:i,isDebugging:!0});},r=({storyId:i})=>{let l=this.getLog(i).filter(c=>!c.ancestors.length),u=l.reduceRight((c,s,d)=>c>=0||s.status==="waiting"?c:d,-1);t({storyId:i,playUntil:l[u-1]?.callId});},n=({storyId:i,callId:l})=>{let{calls:u,shadowCalls:c,resolvers:s}=this.getState(i),d=u.find(({id:p})=>p===l),f=c.find(({id:p})=>p===l);if(!d&&f&&Object.values(s).length>0){let p=this.getLog(i).find(m=>m.status==="waiting")?.callId;f.id!==p&&this.setState(i,{playUntil:f.id}),Object.values(s).forEach(m=>m());}else t({storyId:i,playUntil:l});},o=({storyId:i})=>{let{resolvers:l}=this.getState(i);if(Object.values(l).length>0)Object.values(l).forEach(u=>u());else {let u=this.getLog(i).find(c=>c.status==="waiting")?.callId;u?t({storyId:i,playUntil:u}):a({storyId:i});}},a=({storyId:i})=>{this.setState(i,{playUntil:void 0,isDebugging:!1}),Object.values(this.getState(i).resolvers).forEach(l=>l());};this.channel.on(ot.START,t),this.channel.on(ot.BACK,r),this.channel.on(ot.GOTO,n),this.channel.on(ot.NEXT,o),this.channel.on(ot.END,a);}getState(e){return this.state[e]||ni()}setState(e,t){let r=this.getState(e),n=typeof t=="function"?t(r):t;this.state={...this.state,[e]:{...r,...n}},Ie.global.window?.parent&&(Ie.global.window.parent.__STORYBOOK_ADDON_INTERACTIONS_INSTRUMENTER_STATE__=this.state);}cleanup(){this.state=Object.entries(this.state).reduce((t,[r,n])=>{let o=Zs(n);return o&&(t[r]=Object.assign(ni(),o)),t},{});let e={controlStates:Xs,logItems:[]};this.channel.emit(ot.SYNC,e),Ie.global.window?.parent&&(Ie.global.window.parent.__STORYBOOK_ADDON_INTERACTIONS_INSTRUMENTER_STATE__=this.state);}getLog(e){let{calls:t,shadowCalls:r}=this.getState(e),n=[...r];t.forEach((a,i)=>{n[i]=a;});let o=new Set;return n.reduceRight((a,i)=>(i.args.forEach(l=>{l?.__callId__&&o.add(l.__callId__);}),i.path.forEach(l=>{l.__callId__&&o.add(l.__callId__);}),(i.interceptable||i.exception)&&!o.has(i.id)&&(a.unshift({callId:i.id,status:i.status,ancestors:i.ancestors}),o.add(i.id)),a),[])}instrument(e,t,r=0){if(!r1(e))return e;let{mutate:n=!1,path:o=[]}=t,a=t.getKeys?t.getKeys(e,r):Object.keys(e);return r+=1,a.reduce((i,l)=>{let u=a1(e,l);if(typeof u?.get=="function"){let s=()=>u?.get?.bind(e)?.();return Object.defineProperty(i,l,{get:()=>this.instrument(s(),{...t,path:o.concat(l)},r)}),i}let c=e[l];return typeof c!="function"?(i[l]=this.instrument(c,{...t,path:o.concat(l)},r),i):"__originalFn__"in c&&typeof c.__originalFn__=="function"?(i[l]=c,i):(i[l]=(...s)=>this.track(l,c,e,s,t),i[l].__originalFn__=c,Object.defineProperty(i[l],"name",{value:l,writable:!1}),Object.keys(c).length>0&&Object.assign(i[l],this.instrument({...c},{...t,path:o.concat(l)},r)),i)},n?e:n1(e))}track(e,t,r,n,o){let a=n?.[0]?.__storyId__||Ie.global.__STORYBOOK_PREVIEW__?.selectionStore?.selection?.storyId,{cursor:i,ancestors:l}=this.getState(a);this.setState(a,{cursor:i+1});let u=`${l.slice(-1)[0]||a} [${i}] ${e}`,{path:c=[],intercept:s=!1,retain:d=!1}=o,f=typeof s=="function"?s(e,c):s,p={id:u,cursor:i,storyId:a,ancestors:l,path:c,method:e,args:n,interceptable:f,retain:d},m=(f&&!l.length?this.intercept:this.invoke).call(this,t,r,p,o);return this.instrument(m,{...o,mutate:!0,path:[{__callId__:p.id}]})}intercept(e,t,r,n){let{chainedCallIds:o,isDebugging:a,playUntil:i}=this.getState(r.storyId),l=o.has(r.id);return !a||l||i?(i===r.id&&this.setState(r.storyId,{playUntil:void 0}),this.invoke(e,t,r,n)):new Promise(u=>{this.setState(r.storyId,({resolvers:c})=>({isLocked:!1,resolvers:{...c,[r.id]:u}}));}).then(()=>(this.setState(r.storyId,u=>{let{[r.id]:c,...s}=u.resolvers;return {isLocked:!0,resolvers:s}}),this.invoke(e,t,r,n)))}invoke(e,t,r,n){let{callRefsByResult:o,renderPhase:a}=this.getState(r.storyId),i=25,l=(s,d,f)=>{if(f.includes(s))return "[Circular]";if(f=[...f,s],d>i)return "...";if(o.has(s))return o.get(s);if(s instanceof Array)return s.map(p=>l(p,++d,f));if(s instanceof Date)return {__date__:{value:s.toISOString()}};if(s instanceof Error){let{name:p,message:m,stack:h}=s;return {__error__:{name:p,message:m,stack:h}}}if(s instanceof RegExp){let{flags:p,source:m}=s;return {__regexp__:{flags:p,source:m}}}if(s instanceof Ie.global.window?.HTMLElement){let{prefix:p,localName:m,id:h,classList:b,innerText:g}=s,y=Array.from(b);return {__element__:{prefix:p,localName:m,id:h,classNames:y,innerText:g}}}return typeof s=="function"?{__function__:{name:"getMockName"in s?s.getMockName():s.name}}:typeof s=="symbol"?{__symbol__:{description:s.description}}:typeof s=="object"&&s?.constructor?.name&&s?.constructor?.name!=="Object"?{__class__:{name:s.constructor.name}}:Object.prototype.toString.call(s)==="[object Object]"?Object.fromEntries(Object.entries(s).map(([p,m])=>[p,l(m,++d,f)])):s},u={...r,args:r.args.map(s=>l(s,0,[]))};r.path.forEach(s=>{s?.__callId__&&this.setState(r.storyId,({chainedCallIds:d})=>({chainedCallIds:new Set(Array.from(d).concat(s.__callId__))}));});let c=s=>{if(s instanceof Error){let{name:d,message:f,stack:p,callId:m=r.id}=s,{showDiff:h=void 0,diff:b=void 0,actual:g=void 0,expected:y=void 0}=s.name==="AssertionError"?Bu(s):s,T={name:d,message:f,stack:p,callId:m,showDiff:h,diff:b,actual:g,expected:y};if(this.update({...u,status:"error",exception:T}),this.setState(r.storyId,C=>({callRefsByResult:new Map([...Array.from(C.callRefsByResult.entries()),[s,{__callId__:r.id,retain:r.retain}]])})),r.ancestors.length)throw Object.prototype.hasOwnProperty.call(s,"callId")||Object.defineProperty(s,"callId",{value:r.id}),s}throw s};try{if(a==="played"&&!r.retain)throw e1;let s=(n.getArgs?n.getArgs(r,this.getState(r.storyId)):r.args).map(f=>typeof f!="function"||Object.keys(f).length?f:(...p)=>{let{cursor:m,ancestors:h}=this.getState(r.storyId);this.setState(r.storyId,{cursor:0,ancestors:[...h,r.id]});let b=()=>this.setState(r.storyId,{cursor:m,ancestors:h}),g=!1;try{let y=f(...p);return y instanceof Promise?(g=!0,y.finally(b)):y}finally{g||b();}}),d=e.apply(t,s);return d&&["object","function","symbol"].includes(typeof d)&&this.setState(r.storyId,f=>({callRefsByResult:new Map([...Array.from(f.callRefsByResult.entries()),[d,{__callId__:r.id,retain:r.retain}]])})),this.update({...u,status:d instanceof Promise?"active":"done"}),d instanceof Promise?d.then(f=>(this.update({...u,status:"done"}),f),c):d}catch(s){return c(s)}}update(e){this.channel.emit(ot.CALL,e),this.setState(e.storyId,({calls:t})=>{let r=t.concat(e).reduce((n,o)=>Object.assign(n,{[o.id]:o}),{});return {calls:Object.values(r).sort((n,o)=>n.id.localeCompare(o.id,void 0,{numeric:!0}))}}),this.sync(e.storyId);}sync(e){let t=()=>{let{isLocked:r,isPlaying:n}=this.getState(e),o=this.getLog(e),a=o.filter(({ancestors:c})=>!c.length).find(c=>c.status==="waiting")?.callId,i=o.some(c=>c.status==="active");if(r||i||o.length===0){let c={controlStates:Xs,logItems:o};this.channel.emit(ot.SYNC,c);return}let l=o.some(c=>c.status==="done"||c.status==="error"),u={controlStates:{start:l,back:l,goto:!0,next:n,end:n},logItems:o,pausedAt:a};this.channel.emit(ot.SYNC,u);};this.setState(e,({syncTimeout:r})=>(clearTimeout(r),{syncTimeout:setTimeout(t,0)}));}};function i1(e,t={}){try{let r=!1,n=!1;return Ie.global.window?.location?.search?.includes("instrument=true")?r=!0:Ie.global.window?.location?.search?.includes("instrument=false")&&(n=!0),Ie.global.window?.parent===Ie.global.window&&!r||n?e:(Ie.global.window&&!Ie.global.window.__STORYBOOK_ADDON_INTERACTIONS_INSTRUMENTER__&&(Ie.global.window.__STORYBOOK_ADDON_INTERACTIONS_INSTRUMENTER__=new o1),(Ie.global.window?.__STORYBOOK_ADDON_INTERACTIONS_INSTRUMENTER__).instrument(e,t))}catch(r){return py.once.warn(r),e}}function a1(e,t){let r=e;for(;r!=null;){let n=Object.getOwnPropertyDescriptor(r,t);if(n)return n;r=Object.getPrototypeOf(r);}}});var lg=zo((WI,zt)=>{var l1=Object.create,fo=Object.defineProperty,s1=Object.getOwnPropertyDescriptor,Wd=Object.getOwnPropertyNames,u1=Object.getPrototypeOf,c1=Object.prototype.hasOwnProperty,R=(e,t)=>function(){return t||(0, e[Wd(e)[0]])((t={exports:{}}).exports,t),t.exports},mo=(e,t)=>{for(var r in t)fo(e,r,{get:t[r],enumerable:!0});},Kd=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of Wd(t))!c1.call(e,o)&&o!==r&&fo(e,o,{get:()=>t[o],enumerable:!(n=s1(t,o))||n.enumerable});return e},Ue=(e,t,r)=>(r=e!=null?l1(u1(e)):{},Kd(t||!e||!e.__esModule?fo(r,"default",{value:e,enumerable:!0}):r,e)),d1=e=>Kd(fo({},"__esModule",{value:!0}),e),p1=R({"../../node_modules/min-indent/index.js"(e,t){t.exports=r=>{let n=r.match(/^[ \t]*(?=\S)/gm);return n?n.reduce((o,a)=>Math.min(o,a.length),1/0):0};}}),f1=R({"../../node_modules/strip-indent/index.js"(e,t){var r=p1();t.exports=n=>{let o=r(n);if(o===0)return n;let a=new RegExp(`^[ \\t]{${o}}`,"gm");return n.replace(a,"")};}}),m1=R({"../../node_modules/indent-string/index.js"(e,t){t.exports=(r,n=1,o)=>{if(o={indent:" ",includeEmptyLines:!1,...o},typeof r!="string")throw new TypeError(`Expected \`input\` to be a \`string\`, got \`${typeof r}\``);if(typeof n!="number")throw new TypeError(`Expected \`count\` to be a \`number\`, got \`${typeof n}\``);if(typeof o.indent!="string")throw new TypeError(`Expected \`options.indent\` to be a \`string\`, got \`${typeof o.indent}\``);if(n===0)return r;let a=o.includeEmptyLines?/^/gm:/^(?!\s*$)/gm;return r.replace(a,o.indent.repeat(n))};}}),Yd=R({"../../node_modules/redent/index.js"(e,t){var r=f1(),n=m1();t.exports=(o,a=0,i)=>n(r(o),a,i);}}),h1=R({"../../node_modules/aria-query/lib/util/iteratorProxy.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;function t(){var n=this,o=0,a={"@@iterator":function(){return a},next:function(){if(o<n.length){var i=n[o];return o=o+1,{done:!1,value:i}}else return {done:!0}}};return a}var r=t;e.default=r;}}),fn=R({"../../node_modules/aria-query/lib/util/iterationDecorator.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=o;var t=r(h1());function r(a){return a&&a.__esModule?a:{default:a}}function n(a){"@babel/helpers - typeof";return n=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},n(a)}function o(a,i){return typeof Symbol=="function"&&n(Symbol.iterator)==="symbol"&&Object.defineProperty(a,Symbol.iterator,{value:t.default.bind(i)}),a}}}),b1=R({"../../node_modules/aria-query/lib/ariaPropsMap.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=r(fn());function r(p){return p&&p.__esModule?p:{default:p}}function n(p,m){return i(p)||a(p,m)||u(p,m)||o()}function o(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
49
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function a(p,m){var h=p==null?null:typeof Symbol<"u"&&p[Symbol.iterator]||p["@@iterator"];if(h!=null){var b=[],g=!0,y=!1,T,C;try{for(h=h.call(p);!(g=(T=h.next()).done)&&(b.push(T.value),!(m&&b.length===m));g=!0);}catch(E){y=!0,C=E;}finally{try{!g&&h.return!=null&&h.return();}finally{if(y)throw C}}return b}}function i(p){if(Array.isArray(p))return p}function l(p,m){var h=typeof Symbol<"u"&&p[Symbol.iterator]||p["@@iterator"];if(!h){if(Array.isArray(p)||(h=u(p))||m){h&&(p=h);var b=0,g=function(){};return {s:g,n:function(){return b>=p.length?{done:!0}:{done:!1,value:p[b++]}},e:function(E){throw E},f:g}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
50
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var y=!0,T=!1,C;return {s:function(){h=h.call(p);},n:function(){var E=h.next();return y=E.done,E},e:function(E){T=!0,C=E;},f:function(){try{!y&&h.return!=null&&h.return();}finally{if(T)throw C}}}}function u(p,m){if(p){if(typeof p=="string")return c(p,m);var h=Object.prototype.toString.call(p).slice(8,-1);if(h==="Object"&&p.constructor&&(h=p.constructor.name),h==="Map"||h==="Set")return Array.from(p);if(h==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(h))return c(p,m)}}function c(p,m){(m==null||m>p.length)&&(m=p.length);for(var h=0,b=new Array(m);h<m;h++)b[h]=p[h];return b}var s=[["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"}]],d={entries:function(){return s},forEach:function(p){var m=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,h=l(s),b;try{for(h.s();!(b=h.n()).done;){var g=n(b.value,2),y=g[0],T=g[1];p.call(m,T,y,s);}}catch(C){h.e(C);}finally{h.f();}},get:function(p){var m=s.find(function(h){return h[0]===p});return m&&m[1]},has:function(p){return !!d.get(p)},keys:function(){return s.map(function(p){var m=n(p,1),h=m[0];return h})},values:function(){return s.map(function(p){var m=n(p,2),h=m[1];return h})}},f=(0, t.default)(d,d.entries());e.default=f;}}),g1=R({"../../node_modules/aria-query/lib/domMap.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=r(fn());function r(p){return p&&p.__esModule?p:{default:p}}function n(p,m){return i(p)||a(p,m)||u(p,m)||o()}function o(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
51
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function a(p,m){var h=p==null?null:typeof Symbol<"u"&&p[Symbol.iterator]||p["@@iterator"];if(h!=null){var b=[],g=!0,y=!1,T,C;try{for(h=h.call(p);!(g=(T=h.next()).done)&&(b.push(T.value),!(m&&b.length===m));g=!0);}catch(E){y=!0,C=E;}finally{try{!g&&h.return!=null&&h.return();}finally{if(y)throw C}}return b}}function i(p){if(Array.isArray(p))return p}function l(p,m){var h=typeof Symbol<"u"&&p[Symbol.iterator]||p["@@iterator"];if(!h){if(Array.isArray(p)||(h=u(p))||m){h&&(p=h);var b=0,g=function(){};return {s:g,n:function(){return b>=p.length?{done:!0}:{done:!1,value:p[b++]}},e:function(E){throw E},f:g}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
52
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var y=!0,T=!1,C;return {s:function(){h=h.call(p);},n:function(){var E=h.next();return y=E.done,E},e:function(E){T=!0,C=E;},f:function(){try{!y&&h.return!=null&&h.return();}finally{if(T)throw C}}}}function u(p,m){if(p){if(typeof p=="string")return c(p,m);var h=Object.prototype.toString.call(p).slice(8,-1);if(h==="Object"&&p.constructor&&(h=p.constructor.name),h==="Map"||h==="Set")return Array.from(p);if(h==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(h))return c(p,m)}}function c(p,m){(m==null||m>p.length)&&(m=p.length);for(var h=0,b=new Array(m);h<m;h++)b[h]=p[h];return b}var s=[["a",{reserved:!1}],["abbr",{reserved:!1}],["acronym",{reserved:!1}],["address",{reserved:!1}],["applet",{reserved:!1}],["area",{reserved:!1}],["article",{reserved:!1}],["aside",{reserved:!1}],["audio",{reserved:!1}],["b",{reserved:!1}],["base",{reserved:!0}],["bdi",{reserved:!1}],["bdo",{reserved:!1}],["big",{reserved:!1}],["blink",{reserved:!1}],["blockquote",{reserved:!1}],["body",{reserved:!1}],["br",{reserved:!1}],["button",{reserved:!1}],["canvas",{reserved:!1}],["caption",{reserved:!1}],["center",{reserved:!1}],["cite",{reserved:!1}],["code",{reserved:!1}],["col",{reserved:!0}],["colgroup",{reserved:!0}],["content",{reserved:!1}],["data",{reserved:!1}],["datalist",{reserved:!1}],["dd",{reserved:!1}],["del",{reserved:!1}],["details",{reserved:!1}],["dfn",{reserved:!1}],["dialog",{reserved:!1}],["dir",{reserved:!1}],["div",{reserved:!1}],["dl",{reserved:!1}],["dt",{reserved:!1}],["em",{reserved:!1}],["embed",{reserved:!1}],["fieldset",{reserved:!1}],["figcaption",{reserved:!1}],["figure",{reserved:!1}],["font",{reserved:!1}],["footer",{reserved:!1}],["form",{reserved:!1}],["frame",{reserved:!1}],["frameset",{reserved:!1}],["h1",{reserved:!1}],["h2",{reserved:!1}],["h3",{reserved:!1}],["h4",{reserved:!1}],["h5",{reserved:!1}],["h6",{reserved:!1}],["head",{reserved:!0}],["header",{reserved:!1}],["hgroup",{reserved:!1}],["hr",{reserved:!1}],["html",{reserved:!0}],["i",{reserved:!1}],["iframe",{reserved:!1}],["img",{reserved:!1}],["input",{reserved:!1}],["ins",{reserved:!1}],["kbd",{reserved:!1}],["keygen",{reserved:!1}],["label",{reserved:!1}],["legend",{reserved:!1}],["li",{reserved:!1}],["link",{reserved:!0}],["main",{reserved:!1}],["map",{reserved:!1}],["mark",{reserved:!1}],["marquee",{reserved:!1}],["menu",{reserved:!1}],["menuitem",{reserved:!1}],["meta",{reserved:!0}],["meter",{reserved:!1}],["nav",{reserved:!1}],["noembed",{reserved:!0}],["noscript",{reserved:!0}],["object",{reserved:!1}],["ol",{reserved:!1}],["optgroup",{reserved:!1}],["option",{reserved:!1}],["output",{reserved:!1}],["p",{reserved:!1}],["param",{reserved:!0}],["picture",{reserved:!0}],["pre",{reserved:!1}],["progress",{reserved:!1}],["q",{reserved:!1}],["rp",{reserved:!1}],["rt",{reserved:!1}],["rtc",{reserved:!1}],["ruby",{reserved:!1}],["s",{reserved:!1}],["samp",{reserved:!1}],["script",{reserved:!0}],["section",{reserved:!1}],["select",{reserved:!1}],["small",{reserved:!1}],["source",{reserved:!0}],["spacer",{reserved:!1}],["span",{reserved:!1}],["strike",{reserved:!1}],["strong",{reserved:!1}],["style",{reserved:!0}],["sub",{reserved:!1}],["summary",{reserved:!1}],["sup",{reserved:!1}],["table",{reserved:!1}],["tbody",{reserved:!1}],["td",{reserved:!1}],["textarea",{reserved:!1}],["tfoot",{reserved:!1}],["th",{reserved:!1}],["thead",{reserved:!1}],["time",{reserved:!1}],["title",{reserved:!0}],["tr",{reserved:!1}],["track",{reserved:!0}],["tt",{reserved:!1}],["u",{reserved:!1}],["ul",{reserved:!1}],["var",{reserved:!1}],["video",{reserved:!1}],["wbr",{reserved:!1}],["xmp",{reserved:!1}]],d={entries:function(){return s},forEach:function(p){var m=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,h=l(s),b;try{for(h.s();!(b=h.n()).done;){var g=n(b.value,2),y=g[0],T=g[1];p.call(m,T,y,s);}}catch(C){h.e(C);}finally{h.f();}},get:function(p){var m=s.find(function(h){return h[0]===p});return m&&m[1]},has:function(p){return !!d.get(p)},keys:function(){return s.map(function(p){var m=n(p,1),h=m[0];return h})},values:function(){return s.map(function(p){var m=n(p,2),h=m[1];return h})}},f=(0, t.default)(d,d.entries());e.default=f;}}),y1=R({"../../node_modules/aria-query/lib/etc/roles/abstract/commandRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget"]]},r=t;e.default=r;}}),v1=R({"../../node_modules/aria-query/lib/etc/roles/abstract/compositeRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]},r=t;e.default=r;}}),_1=R({"../../node_modules/aria-query/lib/etc/roles/abstract/inputRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]},r=t;e.default=r;}}),E1=R({"../../node_modules/aria-query/lib/etc/roles/abstract/landmarkRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r;}}),w1=R({"../../node_modules/aria-query/lib/etc/roles/abstract/rangeRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]},r=t;e.default=r;}}),C1=R({"../../node_modules/aria-query/lib/etc/roles/abstract/roletypeRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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:[]},r=t;e.default=r;}}),T1=R({"../../node_modules/aria-query/lib/etc/roles/abstract/sectionRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]},r=t;e.default=r;}}),R1=R({"../../node_modules/aria-query/lib/etc/roles/abstract/sectionheadRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]},r=t;e.default=r;}}),S1=R({"../../node_modules/aria-query/lib/etc/roles/abstract/selectRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]},r=t;e.default=r;}}),P1=R({"../../node_modules/aria-query/lib/etc/roles/abstract/structureRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype"]]},r=t;e.default=r;}}),O1=R({"../../node_modules/aria-query/lib/etc/roles/abstract/widgetRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype"]]},r=t;e.default=r;}}),A1=R({"../../node_modules/aria-query/lib/etc/roles/abstract/windowRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-modal":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype"]]},r=t;e.default=r;}}),q1=R({"../../node_modules/aria-query/lib/etc/roles/ariaAbstractRoles.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=p(y1()),r=p(v1()),n=p(_1()),o=p(E1()),a=p(w1()),i=p(C1()),l=p(T1()),u=p(R1()),c=p(S1()),s=p(P1()),d=p(O1()),f=p(A1());function p(b){return b&&b.__esModule?b:{default:b}}var m=[["command",t.default],["composite",r.default],["input",n.default],["landmark",o.default],["range",a.default],["roletype",i.default],["section",l.default],["sectionhead",u.default],["select",c.default],["structure",s.default],["widget",d.default],["window",f.default]],h=m;e.default=h;}}),x1=R({"../../node_modules/aria-query/lib/etc/roles/literal/alertRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]},r=t;e.default=r;}}),M1=R({"../../node_modules/aria-query/lib/etc/roles/literal/alertdialogRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]},r=t;e.default=r;}}),N1=R({"../../node_modules/aria-query/lib/etc/roles/literal/applicationRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]},r=t;e.default=r;}}),j1=R({"../../node_modules/aria-query/lib/etc/roles/literal/articleRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]},r=t;e.default=r;}}),I1=R({"../../node_modules/aria-query/lib/etc/roles/literal/bannerRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]},r=t;e.default=r;}}),$1=R({"../../node_modules/aria-query/lib/etc/roles/literal/blockquoteRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]},r=t;e.default=r;}}),B1=R({"../../node_modules/aria-query/lib/etc/roles/literal/buttonRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]},r=t;e.default=r;}}),L1=R({"../../node_modules/aria-query/lib/etc/roles/literal/captionRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]},r=t;e.default=r;}}),D1=R({"../../node_modules/aria-query/lib/etc/roles/literal/cellRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]},r=t;e.default=r;}}),k1=R({"../../node_modules/aria-query/lib/etc/roles/literal/checkboxRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]},r=t;e.default=r;}}),F1=R({"../../node_modules/aria-query/lib/etc/roles/literal/codeRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]},r=t;e.default=r;}}),U1=R({"../../node_modules/aria-query/lib/etc/roles/literal/columnheaderRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]},r=t;e.default=r;}}),H1=R({"../../node_modules/aria-query/lib/etc/roles/literal/comboboxRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.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-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"]]},r=t;e.default=r;}}),V1=R({"../../node_modules/aria-query/lib/etc/roles/literal/complementaryRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"aside"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"aria-label"}],constraints:["scoped to a sectioning content element","scoped to a sectioning root element other than body"],name:"aside"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"aria-labelledby"}],constraints:["scoped to a sectioning content element","scoped to a sectioning root element other than body"],name:"aside"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r;}}),z1=R({"../../node_modules/aria-query/lib/etc/roles/literal/contentinfoRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]},r=t;e.default=r;}}),G1=R({"../../node_modules/aria-query/lib/etc/roles/literal/definitionRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]},r=t;e.default=r;}}),W1=R({"../../node_modules/aria-query/lib/etc/roles/literal/deletionRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]},r=t;e.default=r;}}),K1=R({"../../node_modules/aria-query/lib/etc/roles/literal/dialogRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"dialog"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","window"]]},r=t;e.default=r;}}),Y1=R({"../../node_modules/aria-query/lib/etc/roles/literal/directoryRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{module:"DAISY Guide"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","list"]]},r=t;e.default=r;}}),J1=R({"../../node_modules/aria-query/lib/etc/roles/literal/documentRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]},r=t;e.default=r;}}),X1=R({"../../node_modules/aria-query/lib/etc/roles/literal/emphasisRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]},r=t;e.default=r;}}),Q1=R({"../../node_modules/aria-query/lib/etc/roles/literal/feedRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["article"]],requiredProps:{},superClass:[["roletype","structure","section","list"]]},r=t;e.default=r;}}),Z1=R({"../../node_modules/aria-query/lib/etc/roles/literal/figureRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]},r=t;e.default=r;}}),e_=R({"../../node_modules/aria-query/lib/etc/roles/literal/formRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]},r=t;e.default=r;}}),t_=R({"../../node_modules/aria-query/lib/etc/roles/literal/genericRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]},r=t;e.default=r;}}),r_=R({"../../node_modules/aria-query/lib/etc/roles/literal/gridRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]},r=t;e.default=r;}}),n_=R({"../../node_modules/aria-query/lib/etc/roles/literal/gridcellRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]},r=t;e.default=r;}}),o_=R({"../../node_modules/aria-query/lib/etc/roles/literal/groupRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]},r=t;e.default=r;}}),i_=R({"../../node_modules/aria-query/lib/etc/roles/literal/headingRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]},r=t;e.default=r;}}),a_=R({"../../node_modules/aria-query/lib/etc/roles/literal/imgRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]},r=t;e.default=r;}}),l_=R({"../../node_modules/aria-query/lib/etc/roles/literal/insertionRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]},r=t;e.default=r;}}),s_=R({"../../node_modules/aria-query/lib/etc/roles/literal/linkRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]},r=t;e.default=r;}}),u_=R({"../../node_modules/aria-query/lib/etc/roles/literal/listRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]},r=t;e.default=r;}}),c_=R({"../../node_modules/aria-query/lib/etc/roles/literal/listboxRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]},r=t;e.default=r;}}),d_=R({"../../node_modules/aria-query/lib/etc/roles/literal/listitemRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]},r=t;e.default=r;}}),p_=R({"../../node_modules/aria-query/lib/etc/roles/literal/logRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-live":"polite"},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r;}}),f_=R({"../../node_modules/aria-query/lib/etc/roles/literal/mainRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]},r=t;e.default=r;}}),m_=R({"../../node_modules/aria-query/lib/etc/roles/literal/markRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]},r=t;e.default=r;}}),h_=R({"../../node_modules/aria-query/lib/etc/roles/literal/marqueeRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r;}}),b_=R({"../../node_modules/aria-query/lib/etc/roles/literal/mathRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]},r=t;e.default=r;}}),g_=R({"../../node_modules/aria-query/lib/etc/roles/literal/menuRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]},r=t;e.default=r;}}),y_=R({"../../node_modules/aria-query/lib/etc/roles/literal/menubarRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]},r=t;e.default=r;}}),v_=R({"../../node_modules/aria-query/lib/etc/roles/literal/menuitemRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]},r=t;e.default=r;}}),__=R({"../../node_modules/aria-query/lib/etc/roles/literal/menuitemcheckboxRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]},r=t;e.default=r;}}),E_=R({"../../node_modules/aria-query/lib/etc/roles/literal/menuitemradioRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]},r=t;e.default=r;}}),w_=R({"../../node_modules/aria-query/lib/etc/roles/literal/meterRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]},r=t;e.default=r;}}),C_=R({"../../node_modules/aria-query/lib/etc/roles/literal/navigationRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]},r=t;e.default=r;}}),T_=R({"../../node_modules/aria-query/lib/etc/roles/literal/noneRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[]},r=t;e.default=r;}}),R_=R({"../../node_modules/aria-query/lib/etc/roles/literal/noteRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r;}}),S_=R({"../../node_modules/aria-query/lib/etc/roles/literal/optionRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]},r=t;e.default=r;}}),P_=R({"../../node_modules/aria-query/lib/etc/roles/literal/paragraphRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]},r=t;e.default=r;}}),O_=R({"../../node_modules/aria-query/lib/etc/roles/literal/presentationRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]},r=t;e.default=r;}}),A_=R({"../../node_modules/aria-query/lib/etc/roles/literal/progressbarRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]},r=t;e.default=r;}}),q_=R({"../../node_modules/aria-query/lib/etc/roles/literal/radioRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]},r=t;e.default=r;}}),x_=R({"../../node_modules/aria-query/lib/etc/roles/literal/radiogroupRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]},r=t;e.default=r;}}),M_=R({"../../node_modules/aria-query/lib/etc/roles/literal/regionRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]},r=t;e.default=r;}}),N_=R({"../../node_modules/aria-query/lib/etc/roles/literal/rowRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]},r=t;e.default=r;}}),j_=R({"../../node_modules/aria-query/lib/etc/roles/literal/rowgroupRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]},r=t;e.default=r;}}),I_=R({"../../node_modules/aria-query/lib/etc/roles/literal/rowheaderRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]},r=t;e.default=r;}}),$_=R({"../../node_modules/aria-query/lib/etc/roles/literal/scrollbarRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]},r=t;e.default=r;}}),B_=R({"../../node_modules/aria-query/lib/etc/roles/literal/searchRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r;}}),L_=R({"../../node_modules/aria-query/lib/etc/roles/literal/searchboxRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]},r=t;e.default=r;}}),D_=R({"../../node_modules/aria-query/lib/etc/roles/literal/separatorRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]},r=t;e.default=r;}}),k_=R({"../../node_modules/aria-query/lib/etc/roles/literal/sliderRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]},r=t;e.default=r;}}),F_=R({"../../node_modules/aria-query/lib/etc/roles/literal/spinbuttonRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]},r=t;e.default=r;}}),U_=R({"../../node_modules/aria-query/lib/etc/roles/literal/statusRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]},r=t;e.default=r;}}),H_=R({"../../node_modules/aria-query/lib/etc/roles/literal/strongRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]},r=t;e.default=r;}}),V_=R({"../../node_modules/aria-query/lib/etc/roles/literal/subscriptRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]},r=t;e.default=r;}}),z_=R({"../../node_modules/aria-query/lib/etc/roles/literal/superscriptRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"sup"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r;}}),G_=R({"../../node_modules/aria-query/lib/etc/roles/literal/switchRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]},r=t;e.default=r;}}),W_=R({"../../node_modules/aria-query/lib/etc/roles/literal/tabRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]},r=t;e.default=r;}}),K_=R({"../../node_modules/aria-query/lib/etc/roles/literal/tableRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]},r=t;e.default=r;}}),Y_=R({"../../node_modules/aria-query/lib/etc/roles/literal/tablistRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]},r=t;e.default=r;}}),J_=R({"../../node_modules/aria-query/lib/etc/roles/literal/tabpanelRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r;}}),X_=R({"../../node_modules/aria-query/lib/etc/roles/literal/termRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]},r=t;e.default=r;}}),Q_=R({"../../node_modules/aria-query/lib/etc/roles/literal/textboxRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.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;e.default=r;}}),Z_=R({"../../node_modules/aria-query/lib/etc/roles/literal/timeRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]},r=t;e.default=r;}}),eE=R({"../../node_modules/aria-query/lib/etc/roles/literal/timerRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","status"]]},r=t;e.default=r;}}),tE=R({"../../node_modules/aria-query/lib/etc/roles/literal/toolbarRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]},r=t;e.default=r;}}),rE=R({"../../node_modules/aria-query/lib/etc/roles/literal/tooltipRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r;}}),nE=R({"../../node_modules/aria-query/lib/etc/roles/literal/treeRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null,"aria-multiselectable":null,"aria-required":null,"aria-orientation":"vertical"},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["treeitem","group"],["treeitem"]],requiredProps:{},superClass:[["roletype","widget","composite","select"],["roletype","structure","section","group","select"]]},r=t;e.default=r;}}),oE=R({"../../node_modules/aria-query/lib/etc/roles/literal/treegridRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]},r=t;e.default=r;}}),iE=R({"../../node_modules/aria-query/lib/etc/roles/literal/treeitemRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]},r=t;e.default=r;}}),aE=R({"../../node_modules/aria-query/lib/etc/roles/ariaLiteralRoles.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=U(x1()),r=U(M1()),n=U(N1()),o=U(j1()),a=U(I1()),i=U($1()),l=U(B1()),u=U(L1()),c=U(D1()),s=U(k1()),d=U(F1()),f=U(U1()),p=U(H1()),m=U(V1()),h=U(z1()),b=U(G1()),g=U(W1()),y=U(K1()),T=U(Y1()),C=U(J1()),E=U(X1()),w=U(Q1()),_=U(Z1()),v=U(e_()),O=U(t_()),A=U(r_()),I=U(n_()),D=U(o_()),$=U(i_()),x=U(a_()),B=U(l_()),V=U(s_()),K=U(u_()),W=U(c_()),ne=U(d_()),be=U(p_()),pe=U(f_()),F=U(m_()),L=U(h_()),k=U(b_()),G=U(g_()),Y=U(y_()),oe=U(v_()),he=U(__()),De=U(E_()),M=U(w_()),z=U(C_()),J=U(T_()),Z=U(R_()),j=U(S_()),H=U(P_()),ie=U(O_()),fe=U(A_()),He=U(q_()),hg=U(x_()),bg=U(M_()),gg=U(N_()),yg=U(j_()),vg=U(I_()),_g=U($_()),Eg=U(B_()),wg=U(L_()),Cg=U(D_()),Tg=U(k_()),Rg=U(F_()),Sg=U(U_()),Pg=U(H_()),Og=U(V_()),Ag=U(z_()),qg=U(G_()),xg=U(W_()),Mg=U(K_()),Ng=U(Y_()),jg=U(J_()),Ig=U(X_()),$g=U(Q_()),Bg=U(Z_()),Lg=U(eE()),Dg=U(tE()),kg=U(rE()),Fg=U(nE()),Ug=U(oE()),Hg=U(iE());function U(Cn){return Cn&&Cn.__esModule?Cn:{default:Cn}}var Vg=[["alert",t.default],["alertdialog",r.default],["application",n.default],["article",o.default],["banner",a.default],["blockquote",i.default],["button",l.default],["caption",u.default],["cell",c.default],["checkbox",s.default],["code",d.default],["columnheader",f.default],["combobox",p.default],["complementary",m.default],["contentinfo",h.default],["definition",b.default],["deletion",g.default],["dialog",y.default],["directory",T.default],["document",C.default],["emphasis",E.default],["feed",w.default],["figure",_.default],["form",v.default],["generic",O.default],["grid",A.default],["gridcell",I.default],["group",D.default],["heading",$.default],["img",x.default],["insertion",B.default],["link",V.default],["list",K.default],["listbox",W.default],["listitem",ne.default],["log",be.default],["main",pe.default],["mark",F.default],["marquee",L.default],["math",k.default],["menu",G.default],["menubar",Y.default],["menuitem",oe.default],["menuitemcheckbox",he.default],["menuitemradio",De.default],["meter",M.default],["navigation",z.default],["none",J.default],["note",Z.default],["option",j.default],["paragraph",H.default],["presentation",ie.default],["progressbar",fe.default],["radio",He.default],["radiogroup",hg.default],["region",bg.default],["row",gg.default],["rowgroup",yg.default],["rowheader",vg.default],["scrollbar",_g.default],["search",Eg.default],["searchbox",wg.default],["separator",Cg.default],["slider",Tg.default],["spinbutton",Rg.default],["status",Sg.default],["strong",Pg.default],["subscript",Og.default],["superscript",Ag.default],["switch",qg.default],["tab",xg.default],["table",Mg.default],["tablist",Ng.default],["tabpanel",jg.default],["term",Ig.default],["textbox",$g.default],["time",Bg.default],["timer",Lg.default],["toolbar",Dg.default],["tooltip",kg.default],["tree",Fg.default],["treegrid",Ug.default],["treeitem",Hg.default]],zg=Vg;e.default=zg;}}),lE=R({"../../node_modules/aria-query/lib/etc/roles/dpub/docAbstractRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],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"]]},r=t;e.default=r;}}),sE=R({"../../node_modules/aria-query/lib/etc/roles/dpub/docAcknowledgmentsRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],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"]]},r=t;e.default=r;}}),uE=R({"../../node_modules/aria-query/lib/etc/roles/dpub/docAfterwordRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],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"]]},r=t;e.default=r;}}),cE=R({"../../node_modules/aria-query/lib/etc/roles/dpub/docAppendixRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],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"]]},r=t;e.default=r;}}),dE=R({"../../node_modules/aria-query/lib/etc/roles/dpub/docBacklinkRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]},r=t;e.default=r;}}),pE=R({"../../node_modules/aria-query/lib/etc/roles/dpub/docBiblioentryRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]},r=t;e.default=r;}}),fE=R({"../../node_modules/aria-query/lib/etc/roles/dpub/docBibliographyRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],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"]]},r=t;e.default=r;}}),mE=R({"../../node_modules/aria-query/lib/etc/roles/dpub/docBibliorefRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]},r=t;e.default=r;}}),hE=R({"../../node_modules/aria-query/lib/etc/roles/dpub/docChapterRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],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"]]},r=t;e.default=r;}}),bE=R({"../../node_modules/aria-query/lib/etc/roles/dpub/docColophonRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],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"]]},r=t;e.default=r;}}),gE=R({"../../node_modules/aria-query/lib/etc/roles/dpub/docConclusionRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],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"]]},r=t;e.default=r;}}),yE=R({"../../node_modules/aria-query/lib/etc/roles/dpub/docCoverRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],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"]]},r=t;e.default=r;}}),vE=R({"../../node_modules/aria-query/lib/etc/roles/dpub/docCreditRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],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"]]},r=t;e.default=r;}}),_E=R({"../../node_modules/aria-query/lib/etc/roles/dpub/docCreditsRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],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"]]},r=t;e.default=r;}}),EE=R({"../../node_modules/aria-query/lib/etc/roles/dpub/docDedicationRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],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"]]},r=t;e.default=r;}}),wE=R({"../../node_modules/aria-query/lib/etc/roles/dpub/docEndnoteRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],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"]]},r=t;e.default=r;}}),CE=R({"../../node_modules/aria-query/lib/etc/roles/dpub/docEndnotesRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],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"]]},r=t;e.default=r;}}),TE=R({"../../node_modules/aria-query/lib/etc/roles/dpub/docEpigraphRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],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"]]},r=t;e.default=r;}}),RE=R({"../../node_modules/aria-query/lib/etc/roles/dpub/docEpilogueRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],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"]]},r=t;e.default=r;}}),SE=R({"../../node_modules/aria-query/lib/etc/roles/dpub/docErrataRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],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"]]},r=t;e.default=r;}}),PE=R({"../../node_modules/aria-query/lib/etc/roles/dpub/docExampleRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!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"]]},r=t;e.default=r;}}),OE=R({"../../node_modules/aria-query/lib/etc/roles/dpub/docFootnoteRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],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"]]},r=t;e.default=r;}}),AE=R({"../../node_modules/aria-query/lib/etc/roles/dpub/docForewordRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],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"]]},r=t;e.default=r;}}),qE=R({"../../node_modules/aria-query/lib/etc/roles/dpub/docGlossaryRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],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"]]},r=t;e.default=r;}}),xE=R({"../../node_modules/aria-query/lib/etc/roles/dpub/docGlossrefRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]},r=t;e.default=r;}}),ME=R({"../../node_modules/aria-query/lib/etc/roles/dpub/docIndexRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],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"]]},r=t;e.default=r;}}),NE=R({"../../node_modules/aria-query/lib/etc/roles/dpub/docIntroductionRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],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"]]},r=t;e.default=r;}}),jE=R({"../../node_modules/aria-query/lib/etc/roles/dpub/docNoterefRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]},r=t;e.default=r;}}),IE=R({"../../node_modules/aria-query/lib/etc/roles/dpub/docNoticeRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],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"]]},r=t;e.default=r;}}),$E=R({"../../node_modules/aria-query/lib/etc/roles/dpub/docPagebreakRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]},r=t;e.default=r;}}),BE=R({"../../node_modules/aria-query/lib/etc/roles/dpub/docPagelistRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],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"]]},r=t;e.default=r;}}),LE=R({"../../node_modules/aria-query/lib/etc/roles/dpub/docPartRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]},r=t;e.default=r;}}),DE=R({"../../node_modules/aria-query/lib/etc/roles/dpub/docPrefaceRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],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"]]},r=t;e.default=r;}}),kE=R({"../../node_modules/aria-query/lib/etc/roles/dpub/docPrologueRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],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"]]},r=t;e.default=r;}}),FE=R({"../../node_modules/aria-query/lib/etc/roles/dpub/docPullquoteRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"pullquote [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["none"]]},r=t;e.default=r;}}),UE=R({"../../node_modules/aria-query/lib/etc/roles/dpub/docQnaRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],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"]]},r=t;e.default=r;}}),HE=R({"../../node_modules/aria-query/lib/etc/roles/dpub/docSubtitleRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],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"]]},r=t;e.default=r;}}),VE=R({"../../node_modules/aria-query/lib/etc/roles/dpub/docTipRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],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"]]},r=t;e.default=r;}}),zE=R({"../../node_modules/aria-query/lib/etc/roles/dpub/docTocRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],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"]]},r=t;e.default=r;}}),GE=R({"../../node_modules/aria-query/lib/etc/roles/ariaDpubRoles.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=k(lE()),r=k(sE()),n=k(uE()),o=k(cE()),a=k(dE()),i=k(pE()),l=k(fE()),u=k(mE()),c=k(hE()),s=k(bE()),d=k(gE()),f=k(yE()),p=k(vE()),m=k(_E()),h=k(EE()),b=k(wE()),g=k(CE()),y=k(TE()),T=k(RE()),C=k(SE()),E=k(PE()),w=k(OE()),_=k(AE()),v=k(qE()),O=k(xE()),A=k(ME()),I=k(NE()),D=k(jE()),$=k(IE()),x=k($E()),B=k(BE()),V=k(LE()),K=k(DE()),W=k(kE()),ne=k(FE()),be=k(UE()),pe=k(HE()),F=k(VE()),L=k(zE());function k(oe){return oe&&oe.__esModule?oe:{default:oe}}var G=[["doc-abstract",t.default],["doc-acknowledgments",r.default],["doc-afterword",n.default],["doc-appendix",o.default],["doc-backlink",a.default],["doc-biblioentry",i.default],["doc-bibliography",l.default],["doc-biblioref",u.default],["doc-chapter",c.default],["doc-colophon",s.default],["doc-conclusion",d.default],["doc-cover",f.default],["doc-credit",p.default],["doc-credits",m.default],["doc-dedication",h.default],["doc-endnote",b.default],["doc-endnotes",g.default],["doc-epigraph",y.default],["doc-epilogue",T.default],["doc-errata",C.default],["doc-example",E.default],["doc-footnote",w.default],["doc-foreword",_.default],["doc-glossary",v.default],["doc-glossref",O.default],["doc-index",A.default],["doc-introduction",I.default],["doc-noteref",D.default],["doc-notice",$.default],["doc-pagebreak",x.default],["doc-pagelist",B.default],["doc-part",V.default],["doc-preface",K.default],["doc-prologue",W.default],["doc-pullquote",ne.default],["doc-qna",be.default],["doc-subtitle",pe.default],["doc-tip",F.default],["doc-toc",L.default]],Y=G;e.default=Y;}}),WE=R({"../../node_modules/aria-query/lib/etc/roles/graphics/graphicsDocumentRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]},r=t;e.default=r;}}),KE=R({"../../node_modules/aria-query/lib/etc/roles/graphics/graphicsObjectRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{module:"GRAPHICS",concept:{name:"graphics-document"}},{module:"ARIA",concept:{name:"group"}},{module:"ARIA",concept:{name:"img"}},{module:"GRAPHICS",concept:{name:"graphics-symbol"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","group"]]},r=t;e.default=r;}}),YE=R({"../../node_modules/aria-query/lib/etc/roles/graphics/graphicsSymbolRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]},r=t;e.default=r;}}),JE=R({"../../node_modules/aria-query/lib/etc/roles/ariaGraphicsRoles.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=o(WE()),r=o(KE()),n=o(YE());function o(l){return l&&l.__esModule?l:{default:l}}var a=[["graphics-document",t.default],["graphics-object",r.default],["graphics-symbol",n.default]],i=a;e.default=i;}}),ka=R({"../../node_modules/aria-query/lib/rolesMap.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=i(q1()),r=i(aE()),n=i(GE()),o=i(JE()),a=i(fn());function i(y){return y&&y.__esModule?y:{default:y}}function l(y,T,C){return T in y?Object.defineProperty(y,T,{value:C,enumerable:!0,configurable:!0,writable:!0}):y[T]=C,y}function u(y,T){var C=typeof Symbol<"u"&&y[Symbol.iterator]||y["@@iterator"];if(!C){if(Array.isArray(y)||(C=d(y))||T){C&&(y=C);var E=0,w=function(){};return {s:w,n:function(){return E>=y.length?{done:!0}:{done:!1,value:y[E++]}},e:function(A){throw A},f:w}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
53
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var _=!0,v=!1,O;return {s:function(){C=C.call(y);},n:function(){var A=C.next();return _=A.done,A},e:function(A){v=!0,O=A;},f:function(){try{!_&&C.return!=null&&C.return();}finally{if(v)throw O}}}}function c(y,T){return m(y)||p(y,T)||d(y,T)||s()}function s(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
54
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function d(y,T){if(y){if(typeof y=="string")return f(y,T);var C=Object.prototype.toString.call(y).slice(8,-1);if(C==="Object"&&y.constructor&&(C=y.constructor.name),C==="Map"||C==="Set")return Array.from(y);if(C==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(C))return f(y,T)}}function f(y,T){(T==null||T>y.length)&&(T=y.length);for(var C=0,E=new Array(T);C<T;C++)E[C]=y[C];return E}function p(y,T){var C=y==null?null:typeof Symbol<"u"&&y[Symbol.iterator]||y["@@iterator"];if(C!=null){var E=[],w=!0,_=!1,v,O;try{for(C=C.call(y);!(w=(v=C.next()).done)&&(E.push(v.value),!(T&&E.length===T));w=!0);}catch(A){_=!0,O=A;}finally{try{!w&&C.return!=null&&C.return();}finally{if(_)throw O}}return E}}function m(y){if(Array.isArray(y))return y}var h=[].concat(t.default,r.default,n.default,o.default);h.forEach(function(y){var T=c(y,2),C=T[1],E=u(C.superClass),w;try{for(E.s();!(w=E.n()).done;){var _=w.value,v=u(_),O;try{var A=function(){var I=O.value,D=h.find(function(K){var W=c(K,1),ne=W[0];return ne===I});if(D)for(var $=D[1],x=0,B=Object.keys($.props);x<B.length;x++){var V=B[x];Object.prototype.hasOwnProperty.call(C.props,V)||Object.assign(C.props,l({},V,$.props[V]));}};for(v.s();!(O=v.n()).done;)A();}catch(I){v.e(I);}finally{v.f();}}}catch(I){E.e(I);}finally{E.f();}});var b={entries:function(){return h},forEach:function(y){var T=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,C=u(h),E;try{for(C.s();!(E=C.n()).done;){var w=c(E.value,2),_=w[0],v=w[1];y.call(T,v,_,h);}}catch(O){C.e(O);}finally{C.f();}},get:function(y){var T=h.find(function(C){return C[0]===y});return T&&T[1]},has:function(y){return !!b.get(y)},keys:function(){return h.map(function(y){var T=c(y,1),C=T[0];return C})},values:function(){return h.map(function(y){var T=c(y,2),C=T[1];return C})}},g=(0, a.default)(b,b.entries());e.default=g;}}),XE=R({"../../node_modules/dequal/lite/index.js"(e){var t=Object.prototype.hasOwnProperty;function r(n,o){var a,i;if(n===o)return !0;if(n&&o&&(a=n.constructor)===o.constructor){if(a===Date)return n.getTime()===o.getTime();if(a===RegExp)return n.toString()===o.toString();if(a===Array){if((i=n.length)===o.length)for(;i--&&r(n[i],o[i]););return i===-1}if(!a||typeof n=="object"){i=0;for(a in n)if(t.call(n,a)&&++i&&!t.call(o,a)||!(a in o)||!r(n[a],o[a]))return !1;return Object.keys(o).length===i}}return n!==n&&o!==o}e.dequal=r;}}),QE=R({"../../node_modules/aria-query/lib/elementRoleMap.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=XE(),r=o(fn()),n=o(ka());function o(w){return w&&w.__esModule?w:{default:w}}function a(w,_){return u(w)||l(w,_)||s(w,_)||i()}function i(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
55
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function l(w,_){var v=w==null?null:typeof Symbol<"u"&&w[Symbol.iterator]||w["@@iterator"];if(v!=null){var O=[],A=!0,I=!1,D,$;try{for(v=v.call(w);!(A=(D=v.next()).done)&&(O.push(D.value),!(_&&O.length===_));A=!0);}catch(x){I=!0,$=x;}finally{try{!A&&v.return!=null&&v.return();}finally{if(I)throw $}}return O}}function u(w){if(Array.isArray(w))return w}function c(w,_){var v=typeof Symbol<"u"&&w[Symbol.iterator]||w["@@iterator"];if(!v){if(Array.isArray(w)||(v=s(w))||_){v&&(w=v);var O=0,A=function(){};return {s:A,n:function(){return O>=w.length?{done:!0}:{done:!1,value:w[O++]}},e:function(x){throw x},f:A}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
56
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var I=!0,D=!1,$;return {s:function(){v=v.call(w);},n:function(){var x=v.next();return I=x.done,x},e:function(x){D=!0,$=x;},f:function(){try{!I&&v.return!=null&&v.return();}finally{if(D)throw $}}}}function s(w,_){if(w){if(typeof w=="string")return d(w,_);var v=Object.prototype.toString.call(w).slice(8,-1);if(v==="Object"&&w.constructor&&(v=w.constructor.name),v==="Map"||v==="Set")return Array.from(w);if(v==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(v))return d(w,_)}}function d(w,_){(_==null||_>w.length)&&(_=w.length);for(var v=0,O=new Array(_);v<_;v++)O[v]=w[v];return O}var f=[],p=n.default.keys();for(T=0;T<p.length;T++)if(m=p[T],h=n.default.get(m),h)for(b=[].concat(h.baseConcepts,h.relatedConcepts),y=0;y<b.length;y++)g=b[y],g.module==="HTML"&&function(){var w=g.concept;if(w){var _=f.find(function(I){return (0, t.dequal)(I,w)}),v;_?v=_[1]:v=[];for(var O=!0,A=0;A<v.length;A++)if(v[A]===m){O=!1;break}O&&v.push(m),f.push([w,v]);}}();var m,h,b,g,y,T,C={entries:function(){return f},forEach:function(w){var _=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,v=c(f),O;try{for(v.s();!(O=v.n()).done;){var A=a(O.value,2),I=A[0],D=A[1];w.call(_,D,I,f);}}catch($){v.e($);}finally{v.f();}},get:function(w){var _=f.find(function(v){return w.name===v[0].name&&(0, t.dequal)(w.attributes,v[0].attributes)});return _&&_[1]},has:function(w){return !!C.get(w)},keys:function(){return f.map(function(w){var _=a(w,1),v=_[0];return v})},values:function(){return f.map(function(w){var _=a(w,2),v=_[1];return v})}},E=(0, r.default)(C,C.entries());e.default=E;}}),ZE=R({"../../node_modules/aria-query/lib/roleElementMap.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=n(fn()),r=n(ka());function n(_){return _&&_.__esModule?_:{default:_}}function o(_,v){return l(_)||i(_,v)||c(_,v)||a()}function a(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
57
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function i(_,v){var O=_==null?null:typeof Symbol<"u"&&_[Symbol.iterator]||_["@@iterator"];if(O!=null){var A=[],I=!0,D=!1,$,x;try{for(O=O.call(_);!(I=($=O.next()).done)&&(A.push($.value),!(v&&A.length===v));I=!0);}catch(B){D=!0,x=B;}finally{try{!I&&O.return!=null&&O.return();}finally{if(D)throw x}}return A}}function l(_){if(Array.isArray(_))return _}function u(_,v){var O=typeof Symbol<"u"&&_[Symbol.iterator]||_["@@iterator"];if(!O){if(Array.isArray(_)||(O=c(_))||v){O&&(_=O);var A=0,I=function(){};return {s:I,n:function(){return A>=_.length?{done:!0}:{done:!1,value:_[A++]}},e:function(B){throw B},f:I}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
58
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var D=!0,$=!1,x;return {s:function(){O=O.call(_);},n:function(){var B=O.next();return D=B.done,B},e:function(B){$=!0,x=B;},f:function(){try{!D&&O.return!=null&&O.return();}finally{if($)throw x}}}}function c(_,v){if(_){if(typeof _=="string")return s(_,v);var O=Object.prototype.toString.call(_).slice(8,-1);if(O==="Object"&&_.constructor&&(O=_.constructor.name),O==="Map"||O==="Set")return Array.from(_);if(O==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(O))return s(_,v)}}function s(_,v){(v==null||v>_.length)&&(v=_.length);for(var O=0,A=new Array(v);O<v;O++)A[O]=_[O];return A}var d=[],f=r.default.keys();for(C=0;C<f.length;C++)if(p=f[C],m=r.default.get(p),h=[],m){for(b=[].concat(m.baseConcepts,m.relatedConcepts),T=0;T<b.length;T++)g=b[T],g.module==="HTML"&&(y=g.concept,y!=null&&h.push(y));h.length>0&&d.push([p,h]);}var p,m,h,b,g,y,T,C,E={entries:function(){return d},forEach:function(_){var v=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,O=u(d),A;try{for(O.s();!(A=O.n()).done;){var I=o(A.value,2),D=I[0],$=I[1];_.call(v,$,D,d);}}catch(x){O.e(x);}finally{O.f();}},get:function(_){var v=d.find(function(O){return O[0]===_});return v&&v[1]},has:function(_){return !!E.get(_)},keys:function(){return d.map(function(_){var v=o(_,1),O=v[0];return O})},values:function(){return d.map(function(_){var v=o(_,2),O=v[1];return O})}},w=(0, t.default)(E,E.entries());e.default=w;}}),Fa=R({"../../node_modules/aria-query/lib/index.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.roles=e.roleElements=e.elementRoles=e.dom=e.aria=void 0;var t=i(b1()),r=i(g1()),n=i(ka()),o=i(QE()),a=i(ZE());function i(f){return f&&f.__esModule?f:{default:f}}var l=t.default;e.aria=l;var u=r.default;e.dom=u;var c=n.default;e.roles=c;var s=o.default;e.elementRoles=s;var d=a.default;e.roleElements=d;}}),ew=R({"../../node_modules/color-name/index.js"(e,t){t.exports={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]};}}),Jd=R({"../../node_modules/color-convert/conversions.js"(e,t){var r=ew(),n={};for(let i of Object.keys(r))n[r[i]]=i;var o={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};t.exports=o;for(let i of Object.keys(o)){if(!("channels"in o[i]))throw new Error("missing channels property: "+i);if(!("labels"in o[i]))throw new Error("missing channel labels property: "+i);if(o[i].labels.length!==o[i].channels)throw new Error("channel and label counts mismatch: "+i);let{channels:l,labels:u}=o[i];delete o[i].channels,delete o[i].labels,Object.defineProperty(o[i],"channels",{value:l}),Object.defineProperty(o[i],"labels",{value:u});}o.rgb.hsl=function(i){let l=i[0]/255,u=i[1]/255,c=i[2]/255,s=Math.min(l,u,c),d=Math.max(l,u,c),f=d-s,p,m;d===s?p=0:l===d?p=(u-c)/f:u===d?p=2+(c-l)/f:c===d&&(p=4+(l-u)/f),p=Math.min(p*60,360),p<0&&(p+=360);let h=(s+d)/2;return d===s?m=0:h<=.5?m=f/(d+s):m=f/(2-d-s),[p,m*100,h*100]},o.rgb.hsv=function(i){let l,u,c,s,d,f=i[0]/255,p=i[1]/255,m=i[2]/255,h=Math.max(f,p,m),b=h-Math.min(f,p,m),g=function(y){return (h-y)/6/b+1/2};return b===0?(s=0,d=0):(d=b/h,l=g(f),u=g(p),c=g(m),f===h?s=c-u:p===h?s=1/3+l-c:m===h&&(s=2/3+u-l),s<0?s+=1:s>1&&(s-=1)),[s*360,d*100,h*100]},o.rgb.hwb=function(i){let l=i[0],u=i[1],c=i[2],s=o.rgb.hsl(i)[0],d=1/255*Math.min(l,Math.min(u,c));return c=1-1/255*Math.max(l,Math.max(u,c)),[s,d*100,c*100]},o.rgb.cmyk=function(i){let l=i[0]/255,u=i[1]/255,c=i[2]/255,s=Math.min(1-l,1-u,1-c),d=(1-l-s)/(1-s)||0,f=(1-u-s)/(1-s)||0,p=(1-c-s)/(1-s)||0;return [d*100,f*100,p*100,s*100]};function a(i,l){return (i[0]-l[0])**2+(i[1]-l[1])**2+(i[2]-l[2])**2}o.rgb.keyword=function(i){let l=n[i];if(l)return l;let u=1/0,c;for(let s of Object.keys(r)){let d=r[s],f=a(i,d);f<u&&(u=f,c=s);}return c},o.keyword.rgb=function(i){return r[i]},o.rgb.xyz=function(i){let l=i[0]/255,u=i[1]/255,c=i[2]/255;l=l>.04045?((l+.055)/1.055)**2.4:l/12.92,u=u>.04045?((u+.055)/1.055)**2.4:u/12.92,c=c>.04045?((c+.055)/1.055)**2.4:c/12.92;let s=l*.4124+u*.3576+c*.1805,d=l*.2126+u*.7152+c*.0722,f=l*.0193+u*.1192+c*.9505;return [s*100,d*100,f*100]},o.rgb.lab=function(i){let l=o.rgb.xyz(i),u=l[0],c=l[1],s=l[2];u/=95.047,c/=100,s/=108.883,u=u>.008856?u**(1/3):7.787*u+16/116,c=c>.008856?c**(1/3):7.787*c+16/116,s=s>.008856?s**(1/3):7.787*s+16/116;let d=116*c-16,f=500*(u-c),p=200*(c-s);return [d,f,p]},o.hsl.rgb=function(i){let l=i[0]/360,u=i[1]/100,c=i[2]/100,s,d,f;if(u===0)return f=c*255,[f,f,f];c<.5?s=c*(1+u):s=c+u-c*u;let p=2*c-s,m=[0,0,0];for(let h=0;h<3;h++)d=l+1/3*-(h-1),d<0&&d++,d>1&&d--,6*d<1?f=p+(s-p)*6*d:2*d<1?f=s:3*d<2?f=p+(s-p)*(2/3-d)*6:f=p,m[h]=f*255;return m},o.hsl.hsv=function(i){let l=i[0],u=i[1]/100,c=i[2]/100,s=u,d=Math.max(c,.01);c*=2,u*=c<=1?c:2-c,s*=d<=1?d:2-d;let f=(c+u)/2,p=c===0?2*s/(d+s):2*u/(c+u);return [l,p*100,f*100]},o.hsv.rgb=function(i){let l=i[0]/60,u=i[1]/100,c=i[2]/100,s=Math.floor(l)%6,d=l-Math.floor(l),f=255*c*(1-u),p=255*c*(1-u*d),m=255*c*(1-u*(1-d));switch(c*=255,s){case 0:return [c,m,f];case 1:return [p,c,f];case 2:return [f,c,m];case 3:return [f,p,c];case 4:return [m,f,c];case 5:return [c,f,p]}},o.hsv.hsl=function(i){let l=i[0],u=i[1]/100,c=i[2]/100,s=Math.max(c,.01),d,f;f=(2-u)*c;let p=(2-u)*s;return d=u*s,d/=p<=1?p:2-p,d=d||0,f/=2,[l,d*100,f*100]},o.hwb.rgb=function(i){let l=i[0]/360,u=i[1]/100,c=i[2]/100,s=u+c,d;s>1&&(u/=s,c/=s);let f=Math.floor(6*l),p=1-c;d=6*l-f,f&1&&(d=1-d);let m=u+d*(p-u),h,b,g;switch(f){default:case 6:case 0:h=p,b=m,g=u;break;case 1:h=m,b=p,g=u;break;case 2:h=u,b=p,g=m;break;case 3:h=u,b=m,g=p;break;case 4:h=m,b=u,g=p;break;case 5:h=p,b=u,g=m;break}return [h*255,b*255,g*255]},o.cmyk.rgb=function(i){let l=i[0]/100,u=i[1]/100,c=i[2]/100,s=i[3]/100,d=1-Math.min(1,l*(1-s)+s),f=1-Math.min(1,u*(1-s)+s),p=1-Math.min(1,c*(1-s)+s);return [d*255,f*255,p*255]},o.xyz.rgb=function(i){let l=i[0]/100,u=i[1]/100,c=i[2]/100,s,d,f;return s=l*3.2406+u*-1.5372+c*-.4986,d=l*-.9689+u*1.8758+c*.0415,f=l*.0557+u*-.204+c*1.057,s=s>.0031308?1.055*s**(1/2.4)-.055:s*12.92,d=d>.0031308?1.055*d**(1/2.4)-.055:d*12.92,f=f>.0031308?1.055*f**(1/2.4)-.055:f*12.92,s=Math.min(Math.max(0,s),1),d=Math.min(Math.max(0,d),1),f=Math.min(Math.max(0,f),1),[s*255,d*255,f*255]},o.xyz.lab=function(i){let l=i[0],u=i[1],c=i[2];l/=95.047,u/=100,c/=108.883,l=l>.008856?l**(1/3):7.787*l+16/116,u=u>.008856?u**(1/3):7.787*u+16/116,c=c>.008856?c**(1/3):7.787*c+16/116;let s=116*u-16,d=500*(l-u),f=200*(u-c);return [s,d,f]},o.lab.xyz=function(i){let l=i[0],u=i[1],c=i[2],s,d,f;d=(l+16)/116,s=u/500+d,f=d-c/200;let p=d**3,m=s**3,h=f**3;return d=p>.008856?p:(d-16/116)/7.787,s=m>.008856?m:(s-16/116)/7.787,f=h>.008856?h:(f-16/116)/7.787,s*=95.047,d*=100,f*=108.883,[s,d,f]},o.lab.lch=function(i){let l=i[0],u=i[1],c=i[2],s;s=Math.atan2(c,u)*360/2/Math.PI,s<0&&(s+=360);let d=Math.sqrt(u*u+c*c);return [l,d,s]},o.lch.lab=function(i){let l=i[0],u=i[1],c=i[2]/360*2*Math.PI,s=u*Math.cos(c),d=u*Math.sin(c);return [l,s,d]},o.rgb.ansi16=function(i,l=null){let[u,c,s]=i,d=l===null?o.rgb.hsv(i)[2]:l;if(d=Math.round(d/50),d===0)return 30;let f=30+(Math.round(s/255)<<2|Math.round(c/255)<<1|Math.round(u/255));return d===2&&(f+=60),f},o.hsv.ansi16=function(i){return o.rgb.ansi16(o.hsv.rgb(i),i[2])},o.rgb.ansi256=function(i){let l=i[0],u=i[1],c=i[2];return l===u&&u===c?l<8?16:l>248?231:Math.round((l-8)/247*24)+232:16+36*Math.round(l/255*5)+6*Math.round(u/255*5)+Math.round(c/255*5)},o.ansi16.rgb=function(i){let l=i%10;if(l===0||l===7)return i>50&&(l+=3.5),l=l/10.5*255,[l,l,l];let u=(~~(i>50)+1)*.5,c=(l&1)*u*255,s=(l>>1&1)*u*255,d=(l>>2&1)*u*255;return [c,s,d]},o.ansi256.rgb=function(i){if(i>=232){let d=(i-232)*10+8;return [d,d,d]}i-=16;let l,u=Math.floor(i/36)/5*255,c=Math.floor((l=i%36)/6)/5*255,s=l%6/5*255;return [u,c,s]},o.rgb.hex=function(i){let l=(((Math.round(i[0])&255)<<16)+((Math.round(i[1])&255)<<8)+(Math.round(i[2])&255)).toString(16).toUpperCase();return "000000".substring(l.length)+l},o.hex.rgb=function(i){let l=i.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!l)return [0,0,0];let u=l[0];l[0].length===3&&(u=u.split("").map(p=>p+p).join(""));let c=parseInt(u,16),s=c>>16&255,d=c>>8&255,f=c&255;return [s,d,f]},o.rgb.hcg=function(i){let l=i[0]/255,u=i[1]/255,c=i[2]/255,s=Math.max(Math.max(l,u),c),d=Math.min(Math.min(l,u),c),f=s-d,p,m;return f<1?p=d/(1-f):p=0,f<=0?m=0:s===l?m=(u-c)/f%6:s===u?m=2+(c-l)/f:m=4+(l-u)/f,m/=6,m%=1,[m*360,f*100,p*100]},o.hsl.hcg=function(i){let l=i[1]/100,u=i[2]/100,c=u<.5?2*l*u:2*l*(1-u),s=0;return c<1&&(s=(u-.5*c)/(1-c)),[i[0],c*100,s*100]},o.hsv.hcg=function(i){let l=i[1]/100,u=i[2]/100,c=l*u,s=0;return c<1&&(s=(u-c)/(1-c)),[i[0],c*100,s*100]},o.hcg.rgb=function(i){let l=i[0]/360,u=i[1]/100,c=i[2]/100;if(u===0)return [c*255,c*255,c*255];let s=[0,0,0],d=l%1*6,f=d%1,p=1-f,m=0;switch(Math.floor(d)){case 0:s[0]=1,s[1]=f,s[2]=0;break;case 1:s[0]=p,s[1]=1,s[2]=0;break;case 2:s[0]=0,s[1]=1,s[2]=f;break;case 3:s[0]=0,s[1]=p,s[2]=1;break;case 4:s[0]=f,s[1]=0,s[2]=1;break;default:s[0]=1,s[1]=0,s[2]=p;}return m=(1-u)*c,[(u*s[0]+m)*255,(u*s[1]+m)*255,(u*s[2]+m)*255]},o.hcg.hsv=function(i){let l=i[1]/100,u=i[2]/100,c=l+u*(1-l),s=0;return c>0&&(s=l/c),[i[0],s*100,c*100]},o.hcg.hsl=function(i){let l=i[1]/100,u=i[2]/100*(1-l)+.5*l,c=0;return u>0&&u<.5?c=l/(2*u):u>=.5&&u<1&&(c=l/(2*(1-u))),[i[0],c*100,u*100]},o.hcg.hwb=function(i){let l=i[1]/100,u=i[2]/100,c=l+u*(1-l);return [i[0],(c-l)*100,(1-c)*100]},o.hwb.hcg=function(i){let l=i[1]/100,u=1-i[2]/100,c=u-l,s=0;return c<1&&(s=(u-c)/(1-c)),[i[0],c*100,s*100]},o.apple.rgb=function(i){return [i[0]/65535*255,i[1]/65535*255,i[2]/65535*255]},o.rgb.apple=function(i){return [i[0]/255*65535,i[1]/255*65535,i[2]/255*65535]},o.gray.rgb=function(i){return [i[0]/100*255,i[0]/100*255,i[0]/100*255]},o.gray.hsl=function(i){return [0,0,i[0]]},o.gray.hsv=o.gray.hsl,o.gray.hwb=function(i){return [0,100,i[0]]},o.gray.cmyk=function(i){return [0,0,0,i[0]]},o.gray.lab=function(i){return [i[0],0,0]},o.gray.hex=function(i){let l=Math.round(i[0]/100*255)&255,u=((l<<16)+(l<<8)+l).toString(16).toUpperCase();return "000000".substring(u.length)+u},o.rgb.gray=function(i){return [(i[0]+i[1]+i[2])/3/255*100]};}}),tw=R({"../../node_modules/color-convert/route.js"(e,t){var r=Jd();function n(){let l={},u=Object.keys(r);for(let c=u.length,s=0;s<c;s++)l[u[s]]={distance:-1,parent:null};return l}function o(l){let u=n(),c=[l];for(u[l].distance=0;c.length;){let s=c.pop(),d=Object.keys(r[s]);for(let f=d.length,p=0;p<f;p++){let m=d[p],h=u[m];h.distance===-1&&(h.distance=u[s].distance+1,h.parent=s,c.unshift(m));}}return u}function a(l,u){return function(c){return u(l(c))}}function i(l,u){let c=[u[l].parent,l],s=r[u[l].parent][l],d=u[l].parent;for(;u[d].parent;)c.unshift(u[d].parent),s=a(r[u[d].parent][d],s),d=u[d].parent;return s.conversion=c,s}t.exports=function(l){let u=o(l),c={},s=Object.keys(u);for(let d=s.length,f=0;f<d;f++){let p=s[f];u[p].parent!==null&&(c[p]=i(p,u));}return c};}}),rw=R({"../../node_modules/color-convert/index.js"(e,t){var r=Jd(),n=tw(),o={},a=Object.keys(r);function i(u){let c=function(...s){let d=s[0];return d==null?d:(d.length>1&&(s=d),u(s))};return "conversion"in u&&(c.conversion=u.conversion),c}function l(u){let c=function(...s){let d=s[0];if(d==null)return d;d.length>1&&(s=d);let f=u(s);if(typeof f=="object")for(let p=f.length,m=0;m<p;m++)f[m]=Math.round(f[m]);return f};return "conversion"in u&&(c.conversion=u.conversion),c}a.forEach(u=>{o[u]={},Object.defineProperty(o[u],"channels",{value:r[u].channels}),Object.defineProperty(o[u],"labels",{value:r[u].labels});let c=n(u);Object.keys(c).forEach(s=>{let d=c[s];o[u][s]=l(d),o[u][s].raw=i(d);});}),t.exports=o;}}),nw=R({"../../node_modules/ansi-styles/index.js"(e,t){var r=(d,f)=>(...p)=>`\x1B[${d(...p)+f}m`,n=(d,f)=>(...p)=>{let m=d(...p);return `\x1B[${38+f};5;${m}m`},o=(d,f)=>(...p)=>{let m=d(...p);return `\x1B[${38+f};2;${m[0]};${m[1]};${m[2]}m`},a=d=>d,i=(d,f,p)=>[d,f,p],l=(d,f,p)=>{Object.defineProperty(d,f,{get:()=>{let m=p();return Object.defineProperty(d,f,{value:m,enumerable:!0,configurable:!0}),m},enumerable:!0,configurable:!0});},u,c=(d,f,p,m)=>{u===void 0&&(u=rw());let h=m?10:0,b={};for(let[g,y]of Object.entries(u)){let T=g==="ansi16"?"ansi":g;g===f?b[T]=d(p,h):typeof y=="object"&&(b[T]=d(y[f],h));}return b};function s(){let d=new Map,f={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},color:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],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]}};f.color.gray=f.color.blackBright,f.bgColor.bgGray=f.bgColor.bgBlackBright,f.color.grey=f.color.blackBright,f.bgColor.bgGrey=f.bgColor.bgBlackBright;for(let[p,m]of Object.entries(f)){for(let[h,b]of Object.entries(m))f[h]={open:`\x1B[${b[0]}m`,close:`\x1B[${b[1]}m`},m[h]=f[h],d.set(b[0],b[1]);Object.defineProperty(f,p,{value:m,enumerable:!1});}return Object.defineProperty(f,"codes",{value:d,enumerable:!1}),f.color.close="\x1B[39m",f.bgColor.close="\x1B[49m",l(f.color,"ansi",()=>c(r,"ansi16",a,!1)),l(f.color,"ansi256",()=>c(n,"ansi256",a,!1)),l(f.color,"ansi16m",()=>c(o,"rgb",i,!1)),l(f.bgColor,"ansi",()=>c(r,"ansi16",a,!0)),l(f.bgColor,"ansi256",()=>c(n,"ansi256",a,!0)),l(f.bgColor,"ansi16m",()=>c(o,"rgb",i,!0)),f}Object.defineProperty(t,"exports",{enumerable:!0,get:s});}}),ow=R({"../../node_modules/has-flag/index.js"(e,t){t.exports=(r,n=process.argv)=>{let o=r.startsWith("-")?"":r.length===1?"-":"--",a=n.indexOf(o+r),i=n.indexOf("--");return a!==-1&&(i===-1||a<i)};}}),iw=R({"../../node_modules/supports-color/index.js"(e,t){var r=nt("os"),n=nt("tty"),o=ow(),{env:a}=process,i;o("no-color")||o("no-colors")||o("color=false")||o("color=never")?i=0:(o("color")||o("colors")||o("color=true")||o("color=always"))&&(i=1),"FORCE_COLOR"in a&&(a.FORCE_COLOR==="true"?i=1:a.FORCE_COLOR==="false"?i=0:i=a.FORCE_COLOR.length===0?1:Math.min(parseInt(a.FORCE_COLOR,10),3));function l(s){return s===0?!1:{level:s,hasBasic:!0,has256:s>=2,has16m:s>=3}}function u(s,d){if(i===0)return 0;if(o("color=16m")||o("color=full")||o("color=truecolor"))return 3;if(o("color=256"))return 2;if(s&&!d&&i===void 0)return 0;let f=i||0;if(a.TERM==="dumb")return f;if(process.platform==="win32"){let p=r.release().split(".");return Number(p[0])>=10&&Number(p[2])>=10586?Number(p[2])>=14931?3:2:1}if("CI"in a)return ["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI","GITHUB_ACTIONS","BUILDKITE"].some(p=>p in a)||a.CI_NAME==="codeship"?1:f;if("TEAMCITY_VERSION"in a)return /^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(a.TEAMCITY_VERSION)?1:0;if(a.COLORTERM==="truecolor")return 3;if("TERM_PROGRAM"in a){let p=parseInt((a.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(a.TERM_PROGRAM){case"iTerm.app":return p>=3?3:2;case"Apple_Terminal":return 2}}return /-256(color)?$/i.test(a.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(a.TERM)||"COLORTERM"in a?1:f}function c(s){let d=u(s,s&&s.isTTY);return l(d)}t.exports={supportsColor:c,stdout:l(u(!0,n.isatty(1))),stderr:l(u(!0,n.isatty(2)))};}}),aw=R({"../../node_modules/@testing-library/jest-dom/node_modules/chalk/source/util.js"(e,t){var r=(o,a,i)=>{let l=o.indexOf(a);if(l===-1)return o;let u=a.length,c=0,s="";do s+=o.substr(c,l-c)+a+i,c=l+u,l=o.indexOf(a,c);while(l!==-1);return s+=o.substr(c),s},n=(o,a,i,l)=>{let u=0,c="";do{let s=o[l-1]==="\r";c+=o.substr(u,(s?l-1:l)-u)+a+(s?`\r
59
- `:`
60
- `)+i,u=l+1,l=o.indexOf(`
61
- `,u);}while(l!==-1);return c+=o.substr(u),c};t.exports={stringReplaceAll:r,stringEncaseCRLFWithFirstIndex:n};}}),lw=R({"../../node_modules/@testing-library/jest-dom/node_modules/chalk/source/templates.js"(e,t){var r=/(?:\\(u(?:[a-f\d]{4}|\{[a-f\d]{1,6}\})|x[a-f\d]{2}|.))|(?:\{(~)?(\w+(?:\([^)]*\))?(?:\.\w+(?:\([^)]*\))?)*)(?:[ \t]|(?=\r?\n)))|(\})|((?:.|[\r\n\f])+?)/gi,n=/(?:^|\.)(\w+)(?:\(([^)]*)\))?/g,o=/^(['"])((?:\\.|(?!\1)[^\\])*)\1$/,a=/\\(u(?:[a-f\d]{4}|\{[a-f\d]{1,6}\})|x[a-f\d]{2}|.)|([^\\])/gi,i=new Map([["n",`
62
- `],["r","\r"],["t"," "],["b","\b"],["f","\f"],["v","\v"],["0","\0"],["\\","\\"],["e","\x1B"],["a","\x07"]]);function l(d){let f=d[0]==="u",p=d[1]==="{";return f&&!p&&d.length===5||d[0]==="x"&&d.length===3?String.fromCharCode(parseInt(d.slice(1),16)):f&&p?String.fromCodePoint(parseInt(d.slice(2,-1),16)):i.get(d)||d}function u(d,f){let p=[],m=f.trim().split(/\s*,\s*/g),h;for(let b of m){let g=Number(b);if(!Number.isNaN(g))p.push(g);else if(h=b.match(o))p.push(h[2].replace(a,(y,T,C)=>T?l(T):C));else throw new Error(`Invalid Chalk template style argument: ${b} (in style '${d}')`)}return p}function c(d){n.lastIndex=0;let f=[],p;for(;(p=n.exec(d))!==null;){let m=p[1];if(p[2]){let h=u(m,p[2]);f.push([m].concat(h));}else f.push([m]);}return f}function s(d,f){let p={};for(let h of f)for(let b of h.styles)p[b[0]]=h.inverse?null:b.slice(1);let m=d;for(let[h,b]of Object.entries(p))if(Array.isArray(b)){if(!(h in m))throw new Error(`Unknown Chalk style: ${h}`);m=b.length>0?m[h](...b):m[h];}return m}t.exports=(d,f)=>{let p=[],m=[],h=[];if(f.replace(r,(b,g,y,T,C,E)=>{if(g)h.push(l(g));else if(T){let w=h.join("");h=[],m.push(p.length===0?w:s(d,p)(w)),p.push({inverse:y,styles:c(T)});}else if(C){if(p.length===0)throw new Error("Found extraneous } in Chalk template literal");m.push(s(d,p)(h.join(""))),h=[],p.pop();}else h.push(E);}),m.push(h.join("")),p.length>0){let b=`Chalk template literal is missing ${p.length} closing bracket${p.length===1?"":"s"} (\`}\`)`;throw new Error(b)}return m.join("")};}}),Xd=R({"../../node_modules/@testing-library/jest-dom/node_modules/chalk/source/index.js"(e,t){var r=nw(),{stdout:n,stderr:o}=iw(),{stringReplaceAll:a,stringEncaseCRLFWithFirstIndex:i}=aw(),l=["ansi","ansi","ansi256","ansi16m"],u=Object.create(null),c=(E,w={})=>{if(w.level>3||w.level<0)throw new Error("The `level` option should be an integer from 0 to 3");let _=n?n.level:0;E.level=w.level===void 0?_:w.level;},s=class{constructor(E){return d(E)}},d=E=>{let w={};return c(w,E),w.template=(..._)=>T(w.template,..._),Object.setPrototypeOf(w,f.prototype),Object.setPrototypeOf(w.template,w),w.template.constructor=()=>{throw new Error("`chalk.constructor()` is deprecated. Use `new chalk.Instance()` instead.")},w.template.Instance=s,w.template};function f(E){return d(E)}for(let[E,w]of Object.entries(r))u[E]={get(){let _=b(this,h(w.open,w.close,this._styler),this._isEmpty);return Object.defineProperty(this,E,{value:_}),_}};u.visible={get(){let E=b(this,this._styler,!0);return Object.defineProperty(this,"visible",{value:E}),E}};var p=["rgb","hex","keyword","hsl","hsv","hwb","ansi","ansi256"];for(let E of p)u[E]={get(){let{level:w}=this;return function(..._){let v=h(r.color[l[w]][E](..._),r.color.close,this._styler);return b(this,v,this._isEmpty)}}};for(let E of p){let w="bg"+E[0].toUpperCase()+E.slice(1);u[w]={get(){let{level:_}=this;return function(...v){let O=h(r.bgColor[l[_]][E](...v),r.bgColor.close,this._styler);return b(this,O,this._isEmpty)}}};}var m=Object.defineProperties(()=>{},{...u,level:{enumerable:!0,get(){return this._generator.level},set(E){this._generator.level=E;}}}),h=(E,w,_)=>{let v,O;return _===void 0?(v=E,O=w):(v=_.openAll+E,O=w+_.closeAll),{open:E,close:w,openAll:v,closeAll:O,parent:_}},b=(E,w,_)=>{let v=(...O)=>g(v,O.length===1?""+O[0]:O.join(" "));return v.__proto__=m,v._generator=E,v._styler=w,v._isEmpty=_,v},g=(E,w)=>{if(E.level<=0||!w)return E._isEmpty?"":w;let _=E._styler;if(_===void 0)return w;let{openAll:v,closeAll:O}=_;if(w.indexOf("\x1B")!==-1)for(;_!==void 0;)w=a(w,_.close,_.open),_=_.parent;let A=w.indexOf(`
63
- `);return A!==-1&&(w=i(w,O,v,A)),v+w+O},y,T=(E,...w)=>{let[_]=w;if(!Array.isArray(_))return w.join(" ");let v=w.slice(1),O=[_.raw[0]];for(let A=1;A<_.length;A++)O.push(String(v[A-1]).replace(/[{}\\]/g,"\\$&"),String(_.raw[A]));return y===void 0&&(y=lw()),y(E,O.join(""))};Object.defineProperties(f.prototype,u);var C=f();C.supportsColor=n,C.stderr=f({level:o?o.level:0}),C.stderr.supportsColor=o,C.Level={None:0,Basic:1,Ansi256:2,TrueColor:3,0:"None",1:"Basic",2:"Ansi256",3:"TrueColor"},t.exports=C;}}),sw=R({"../../node_modules/lodash/_listCacheClear.js"(e,t){function r(){this.__data__=[],this.size=0;}t.exports=r;}}),Qd=R({"../../node_modules/lodash/eq.js"(e,t){function r(n,o){return n===o||n!==n&&o!==o}t.exports=r;}}),ho=R({"../../node_modules/lodash/_assocIndexOf.js"(e,t){var r=Qd();function n(o,a){for(var i=o.length;i--;)if(r(o[i][0],a))return i;return -1}t.exports=n;}}),uw=R({"../../node_modules/lodash/_listCacheDelete.js"(e,t){var r=ho(),n=Array.prototype,o=n.splice;function a(i){var l=this.__data__,u=r(l,i);if(u<0)return !1;var c=l.length-1;return u==c?l.pop():o.call(l,u,1),--this.size,!0}t.exports=a;}}),cw=R({"../../node_modules/lodash/_listCacheGet.js"(e,t){var r=ho();function n(o){var a=this.__data__,i=r(a,o);return i<0?void 0:a[i][1]}t.exports=n;}}),dw=R({"../../node_modules/lodash/_listCacheHas.js"(e,t){var r=ho();function n(o){return r(this.__data__,o)>-1}t.exports=n;}}),pw=R({"../../node_modules/lodash/_listCacheSet.js"(e,t){var r=ho();function n(o,a){var i=this.__data__,l=r(i,o);return l<0?(++this.size,i.push([o,a])):i[l][1]=a,this}t.exports=n;}}),bo=R({"../../node_modules/lodash/_ListCache.js"(e,t){var r=sw(),n=uw(),o=cw(),a=dw(),i=pw();function l(u){var c=-1,s=u==null?0:u.length;for(this.clear();++c<s;){var d=u[c];this.set(d[0],d[1]);}}l.prototype.clear=r,l.prototype.delete=n,l.prototype.get=o,l.prototype.has=a,l.prototype.set=i,t.exports=l;}}),fw=R({"../../node_modules/lodash/_stackClear.js"(e,t){var r=bo();function n(){this.__data__=new r,this.size=0;}t.exports=n;}}),mw=R({"../../node_modules/lodash/_stackDelete.js"(e,t){function r(n){var o=this.__data__,a=o.delete(n);return this.size=o.size,a}t.exports=r;}}),hw=R({"../../node_modules/lodash/_stackGet.js"(e,t){function r(n){return this.__data__.get(n)}t.exports=r;}}),bw=R({"../../node_modules/lodash/_stackHas.js"(e,t){function r(n){return this.__data__.has(n)}t.exports=r;}}),Zd=R({"../../node_modules/lodash/_freeGlobal.js"(e,t){var r=typeof global=="object"&&global&&global.Object===Object&&global;t.exports=r;}}),Et=R({"../../node_modules/lodash/_root.js"(e,t){var r=Zd(),n=typeof self=="object"&&self&&self.Object===Object&&self,o=r||n||Function("return this")();t.exports=o;}}),Ua=R({"../../node_modules/lodash/_Symbol.js"(e,t){var r=Et(),n=r.Symbol;t.exports=n;}}),gw=R({"../../node_modules/lodash/_getRawTag.js"(e,t){var r=Ua(),n=Object.prototype,o=n.hasOwnProperty,a=n.toString,i=r?r.toStringTag:void 0;function l(u){var c=o.call(u,i),s=u[i];try{u[i]=void 0;var d=!0;}catch{}var f=a.call(u);return d&&(c?u[i]=s:delete u[i]),f}t.exports=l;}}),yw=R({"../../node_modules/lodash/_objectToString.js"(e,t){var r=Object.prototype,n=r.toString;function o(a){return n.call(a)}t.exports=o;}}),go=R({"../../node_modules/lodash/_baseGetTag.js"(e,t){var r=Ua(),n=gw(),o=yw(),a="[object Null]",i="[object Undefined]",l=r?r.toStringTag:void 0;function u(c){return c==null?c===void 0?i:a:l&&l in Object(c)?n(c):o(c)}t.exports=u;}}),ep=R({"../../node_modules/lodash/isObject.js"(e,t){function r(n){var o=typeof n;return n!=null&&(o=="object"||o=="function")}t.exports=r;}}),tp=R({"../../node_modules/lodash/isFunction.js"(e,t){var r=go(),n=ep(),o="[object AsyncFunction]",a="[object Function]",i="[object GeneratorFunction]",l="[object Proxy]";function u(c){if(!n(c))return !1;var s=r(c);return s==a||s==i||s==o||s==l}t.exports=u;}}),vw=R({"../../node_modules/lodash/_coreJsData.js"(e,t){var r=Et(),n=r["__core-js_shared__"];t.exports=n;}}),_w=R({"../../node_modules/lodash/_isMasked.js"(e,t){var r=vw(),n=function(){var a=/[^.]+$/.exec(r&&r.keys&&r.keys.IE_PROTO||"");return a?"Symbol(src)_1."+a:""}();function o(a){return !!n&&n in a}t.exports=o;}}),rp=R({"../../node_modules/lodash/_toSource.js"(e,t){var r=Function.prototype,n=r.toString;function o(a){if(a!=null){try{return n.call(a)}catch{}try{return a+""}catch{}}return ""}t.exports=o;}}),Ew=R({"../../node_modules/lodash/_baseIsNative.js"(e,t){var r=tp(),n=_w(),o=ep(),a=rp(),i=/[\\^$.*+?()[\]{}|]/g,l=/^\[object .+?Constructor\]$/,u=Function.prototype,c=Object.prototype,s=u.toString,d=c.hasOwnProperty,f=RegExp("^"+s.call(d).replace(i,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function p(m){if(!o(m)||n(m))return !1;var h=r(m)?f:l;return h.test(a(m))}t.exports=p;}}),ww=R({"../../node_modules/lodash/_getValue.js"(e,t){function r(n,o){return n?.[o]}t.exports=r;}}),xr=R({"../../node_modules/lodash/_getNative.js"(e,t){var r=Ew(),n=ww();function o(a,i){var l=n(a,i);return r(l)?l:void 0}t.exports=o;}}),Ha=R({"../../node_modules/lodash/_Map.js"(e,t){var r=xr(),n=Et(),o=r(n,"Map");t.exports=o;}}),yo=R({"../../node_modules/lodash/_nativeCreate.js"(e,t){var r=xr(),n=r(Object,"create");t.exports=n;}}),Cw=R({"../../node_modules/lodash/_hashClear.js"(e,t){var r=yo();function n(){this.__data__=r?r(null):{},this.size=0;}t.exports=n;}}),Tw=R({"../../node_modules/lodash/_hashDelete.js"(e,t){function r(n){var o=this.has(n)&&delete this.__data__[n];return this.size-=o?1:0,o}t.exports=r;}}),Rw=R({"../../node_modules/lodash/_hashGet.js"(e,t){var r=yo(),n="__lodash_hash_undefined__",o=Object.prototype,a=o.hasOwnProperty;function i(l){var u=this.__data__;if(r){var c=u[l];return c===n?void 0:c}return a.call(u,l)?u[l]:void 0}t.exports=i;}}),Sw=R({"../../node_modules/lodash/_hashHas.js"(e,t){var r=yo(),n=Object.prototype,o=n.hasOwnProperty;function a(i){var l=this.__data__;return r?l[i]!==void 0:o.call(l,i)}t.exports=a;}}),Pw=R({"../../node_modules/lodash/_hashSet.js"(e,t){var r=yo(),n="__lodash_hash_undefined__";function o(a,i){var l=this.__data__;return this.size+=this.has(a)?0:1,l[a]=r&&i===void 0?n:i,this}t.exports=o;}}),Ow=R({"../../node_modules/lodash/_Hash.js"(e,t){var r=Cw(),n=Tw(),o=Rw(),a=Sw(),i=Pw();function l(u){var c=-1,s=u==null?0:u.length;for(this.clear();++c<s;){var d=u[c];this.set(d[0],d[1]);}}l.prototype.clear=r,l.prototype.delete=n,l.prototype.get=o,l.prototype.has=a,l.prototype.set=i,t.exports=l;}}),Aw=R({"../../node_modules/lodash/_mapCacheClear.js"(e,t){var r=Ow(),n=bo(),o=Ha();function a(){this.size=0,this.__data__={hash:new r,map:new(o||n),string:new r};}t.exports=a;}}),qw=R({"../../node_modules/lodash/_isKeyable.js"(e,t){function r(n){var o=typeof n;return o=="string"||o=="number"||o=="symbol"||o=="boolean"?n!=="__proto__":n===null}t.exports=r;}}),vo=R({"../../node_modules/lodash/_getMapData.js"(e,t){var r=qw();function n(o,a){var i=o.__data__;return r(a)?i[typeof a=="string"?"string":"hash"]:i.map}t.exports=n;}}),xw=R({"../../node_modules/lodash/_mapCacheDelete.js"(e,t){var r=vo();function n(o){var a=r(this,o).delete(o);return this.size-=a?1:0,a}t.exports=n;}}),Mw=R({"../../node_modules/lodash/_mapCacheGet.js"(e,t){var r=vo();function n(o){return r(this,o).get(o)}t.exports=n;}}),Nw=R({"../../node_modules/lodash/_mapCacheHas.js"(e,t){var r=vo();function n(o){return r(this,o).has(o)}t.exports=n;}}),jw=R({"../../node_modules/lodash/_mapCacheSet.js"(e,t){var r=vo();function n(o,a){var i=r(this,o),l=i.size;return i.set(o,a),this.size+=i.size==l?0:1,this}t.exports=n;}}),np=R({"../../node_modules/lodash/_MapCache.js"(e,t){var r=Aw(),n=xw(),o=Mw(),a=Nw(),i=jw();function l(u){var c=-1,s=u==null?0:u.length;for(this.clear();++c<s;){var d=u[c];this.set(d[0],d[1]);}}l.prototype.clear=r,l.prototype.delete=n,l.prototype.get=o,l.prototype.has=a,l.prototype.set=i,t.exports=l;}}),Iw=R({"../../node_modules/lodash/_stackSet.js"(e,t){var r=bo(),n=Ha(),o=np(),a=200;function i(l,u){var c=this.__data__;if(c instanceof r){var s=c.__data__;if(!n||s.length<a-1)return s.push([l,u]),this.size=++c.size,this;c=this.__data__=new o(s);}return c.set(l,u),this.size=c.size,this}t.exports=i;}}),$w=R({"../../node_modules/lodash/_Stack.js"(e,t){var r=bo(),n=fw(),o=mw(),a=hw(),i=bw(),l=Iw();function u(c){var s=this.__data__=new r(c);this.size=s.size;}u.prototype.clear=n,u.prototype.delete=o,u.prototype.get=a,u.prototype.has=i,u.prototype.set=l,t.exports=u;}}),Bw=R({"../../node_modules/lodash/_setCacheAdd.js"(e,t){var r="__lodash_hash_undefined__";function n(o){return this.__data__.set(o,r),this}t.exports=n;}}),Lw=R({"../../node_modules/lodash/_setCacheHas.js"(e,t){function r(n){return this.__data__.has(n)}t.exports=r;}}),Dw=R({"../../node_modules/lodash/_SetCache.js"(e,t){var r=np(),n=Bw(),o=Lw();function a(i){var l=-1,u=i==null?0:i.length;for(this.__data__=new r;++l<u;)this.add(i[l]);}a.prototype.add=a.prototype.push=n,a.prototype.has=o,t.exports=a;}}),kw=R({"../../node_modules/lodash/_arraySome.js"(e,t){function r(n,o){for(var a=-1,i=n==null?0:n.length;++a<i;)if(o(n[a],a,n))return !0;return !1}t.exports=r;}}),Fw=R({"../../node_modules/lodash/_cacheHas.js"(e,t){function r(n,o){return n.has(o)}t.exports=r;}}),op=R({"../../node_modules/lodash/_equalArrays.js"(e,t){var r=Dw(),n=kw(),o=Fw(),a=1,i=2;function l(u,c,s,d,f,p){var m=s&a,h=u.length,b=c.length;if(h!=b&&!(m&&b>h))return !1;var g=p.get(u),y=p.get(c);if(g&&y)return g==c&&y==u;var T=-1,C=!0,E=s&i?new r:void 0;for(p.set(u,c),p.set(c,u);++T<h;){var w=u[T],_=c[T];if(d)var v=m?d(_,w,T,c,u,p):d(w,_,T,u,c,p);if(v!==void 0){if(v)continue;C=!1;break}if(E){if(!n(c,function(O,A){if(!o(E,A)&&(w===O||f(w,O,s,d,p)))return E.push(A)})){C=!1;break}}else if(!(w===_||f(w,_,s,d,p))){C=!1;break}}return p.delete(u),p.delete(c),C}t.exports=l;}}),Uw=R({"../../node_modules/lodash/_Uint8Array.js"(e,t){var r=Et(),n=r.Uint8Array;t.exports=n;}}),Hw=R({"../../node_modules/lodash/_mapToArray.js"(e,t){function r(n){var o=-1,a=Array(n.size);return n.forEach(function(i,l){a[++o]=[l,i];}),a}t.exports=r;}}),Vw=R({"../../node_modules/lodash/_setToArray.js"(e,t){function r(n){var o=-1,a=Array(n.size);return n.forEach(function(i){a[++o]=i;}),a}t.exports=r;}}),zw=R({"../../node_modules/lodash/_equalByTag.js"(e,t){var r=Ua(),n=Uw(),o=Qd(),a=op(),i=Hw(),l=Vw(),u=1,c=2,s="[object Boolean]",d="[object Date]",f="[object Error]",p="[object Map]",m="[object Number]",h="[object RegExp]",b="[object Set]",g="[object String]",y="[object Symbol]",T="[object ArrayBuffer]",C="[object DataView]",E=r?r.prototype:void 0,w=E?E.valueOf:void 0;function _(v,O,A,I,D,$,x){switch(A){case C:if(v.byteLength!=O.byteLength||v.byteOffset!=O.byteOffset)return !1;v=v.buffer,O=O.buffer;case T:return !(v.byteLength!=O.byteLength||!$(new n(v),new n(O)));case s:case d:case m:return o(+v,+O);case f:return v.name==O.name&&v.message==O.message;case h:case g:return v==O+"";case p:var B=i;case b:var V=I&u;if(B||(B=l),v.size!=O.size&&!V)return !1;var K=x.get(v);if(K)return K==O;I|=c,x.set(v,O);var W=a(B(v),B(O),I,D,$,x);return x.delete(v),W;case y:if(w)return w.call(v)==w.call(O)}return !1}t.exports=_;}}),Gw=R({"../../node_modules/lodash/_arrayPush.js"(e,t){function r(n,o){for(var a=-1,i=o.length,l=n.length;++a<i;)n[l+a]=o[a];return n}t.exports=r;}}),Va=R({"../../node_modules/lodash/isArray.js"(e,t){var r=Array.isArray;t.exports=r;}}),Ww=R({"../../node_modules/lodash/_baseGetAllKeys.js"(e,t){var r=Gw(),n=Va();function o(a,i,l){var u=i(a);return n(a)?u:r(u,l(a))}t.exports=o;}}),Kw=R({"../../node_modules/lodash/_arrayFilter.js"(e,t){function r(n,o){for(var a=-1,i=n==null?0:n.length,l=0,u=[];++a<i;){var c=n[a];o(c,a,n)&&(u[l++]=c);}return u}t.exports=r;}}),Yw=R({"../../node_modules/lodash/stubArray.js"(e,t){function r(){return []}t.exports=r;}}),Jw=R({"../../node_modules/lodash/_getSymbols.js"(e,t){var r=Kw(),n=Yw(),o=Object.prototype,a=o.propertyIsEnumerable,i=Object.getOwnPropertySymbols,l=i?function(u){return u==null?[]:(u=Object(u),r(i(u),function(c){return a.call(u,c)}))}:n;t.exports=l;}}),Xw=R({"../../node_modules/lodash/_baseTimes.js"(e,t){function r(n,o){for(var a=-1,i=Array(n);++a<n;)i[a]=o(a);return i}t.exports=r;}}),_o=R({"../../node_modules/lodash/isObjectLike.js"(e,t){function r(n){return n!=null&&typeof n=="object"}t.exports=r;}}),Qw=R({"../../node_modules/lodash/_baseIsArguments.js"(e,t){var r=go(),n=_o(),o="[object Arguments]";function a(i){return n(i)&&r(i)==o}t.exports=a;}}),Zw=R({"../../node_modules/lodash/isArguments.js"(e,t){var r=Qw(),n=_o(),o=Object.prototype,a=o.hasOwnProperty,i=o.propertyIsEnumerable,l=r(function(){return arguments}())?r:function(u){return n(u)&&a.call(u,"callee")&&!i.call(u,"callee")};t.exports=l;}}),eC=R({"../../node_modules/lodash/stubFalse.js"(e,t){function r(){return !1}t.exports=r;}}),ip=R({"../../node_modules/lodash/isBuffer.js"(e,t){var r=Et(),n=eC(),o=typeof e=="object"&&e&&!e.nodeType&&e,a=o&&typeof t=="object"&&t&&!t.nodeType&&t,i=a&&a.exports===o,l=i?r.Buffer:void 0,u=l?l.isBuffer:void 0,c=u||n;t.exports=c;}}),tC=R({"../../node_modules/lodash/_isIndex.js"(e,t){var r=9007199254740991,n=/^(?:0|[1-9]\d*)$/;function o(a,i){var l=typeof a;return i=i??r,!!i&&(l=="number"||l!="symbol"&&n.test(a))&&a>-1&&a%1==0&&a<i}t.exports=o;}}),ap=R({"../../node_modules/lodash/isLength.js"(e,t){var r=9007199254740991;function n(o){return typeof o=="number"&&o>-1&&o%1==0&&o<=r}t.exports=n;}}),rC=R({"../../node_modules/lodash/_baseIsTypedArray.js"(e,t){var r=go(),n=ap(),o=_o(),a="[object Arguments]",i="[object Array]",l="[object Boolean]",u="[object Date]",c="[object Error]",s="[object Function]",d="[object Map]",f="[object Number]",p="[object Object]",m="[object RegExp]",h="[object Set]",b="[object String]",g="[object WeakMap]",y="[object ArrayBuffer]",T="[object DataView]",C="[object Float32Array]",E="[object Float64Array]",w="[object Int8Array]",_="[object Int16Array]",v="[object Int32Array]",O="[object Uint8Array]",A="[object Uint8ClampedArray]",I="[object Uint16Array]",D="[object Uint32Array]",$={};$[C]=$[E]=$[w]=$[_]=$[v]=$[O]=$[A]=$[I]=$[D]=!0,$[a]=$[i]=$[y]=$[l]=$[T]=$[u]=$[c]=$[s]=$[d]=$[f]=$[p]=$[m]=$[h]=$[b]=$[g]=!1;function x(B){return o(B)&&n(B.length)&&!!$[r(B)]}t.exports=x;}}),nC=R({"../../node_modules/lodash/_baseUnary.js"(e,t){function r(n){return function(o){return n(o)}}t.exports=r;}}),oC=R({"../../node_modules/lodash/_nodeUtil.js"(e,t){var r=Zd(),n=typeof e=="object"&&e&&!e.nodeType&&e,o=n&&typeof t=="object"&&t&&!t.nodeType&&t,a=o&&o.exports===n,i=a&&r.process,l=function(){try{var u=o&&o.require&&o.require("util").types;return u||i&&i.binding&&i.binding("util")}catch{}}();t.exports=l;}}),lp=R({"../../node_modules/lodash/isTypedArray.js"(e,t){var r=rC(),n=nC(),o=oC(),a=o&&o.isTypedArray,i=a?n(a):r;t.exports=i;}}),iC=R({"../../node_modules/lodash/_arrayLikeKeys.js"(e,t){var r=Xw(),n=Zw(),o=Va(),a=ip(),i=tC(),l=lp(),u=Object.prototype,c=u.hasOwnProperty;function s(d,f){var p=o(d),m=!p&&n(d),h=!p&&!m&&a(d),b=!p&&!m&&!h&&l(d),g=p||m||h||b,y=g?r(d.length,String):[],T=y.length;for(var C in d)(f||c.call(d,C))&&!(g&&(C=="length"||h&&(C=="offset"||C=="parent")||b&&(C=="buffer"||C=="byteLength"||C=="byteOffset")||i(C,T)))&&y.push(C);return y}t.exports=s;}}),aC=R({"../../node_modules/lodash/_isPrototype.js"(e,t){var r=Object.prototype;function n(o){var a=o&&o.constructor,i=typeof a=="function"&&a.prototype||r;return o===i}t.exports=n;}}),lC=R({"../../node_modules/lodash/_overArg.js"(e,t){function r(n,o){return function(a){return n(o(a))}}t.exports=r;}}),sC=R({"../../node_modules/lodash/_nativeKeys.js"(e,t){var r=lC(),n=r(Object.keys,Object);t.exports=n;}}),uC=R({"../../node_modules/lodash/_baseKeys.js"(e,t){var r=aC(),n=sC(),o=Object.prototype,a=o.hasOwnProperty;function i(l){if(!r(l))return n(l);var u=[];for(var c in Object(l))a.call(l,c)&&c!="constructor"&&u.push(c);return u}t.exports=i;}}),cC=R({"../../node_modules/lodash/isArrayLike.js"(e,t){var r=tp(),n=ap();function o(a){return a!=null&&n(a.length)&&!r(a)}t.exports=o;}}),dC=R({"../../node_modules/lodash/keys.js"(e,t){var r=iC(),n=uC(),o=cC();function a(i){return o(i)?r(i):n(i)}t.exports=a;}}),pC=R({"../../node_modules/lodash/_getAllKeys.js"(e,t){var r=Ww(),n=Jw(),o=dC();function a(i){return r(i,o,n)}t.exports=a;}}),fC=R({"../../node_modules/lodash/_equalObjects.js"(e,t){var r=pC(),n=1,o=Object.prototype,a=o.hasOwnProperty;function i(l,u,c,s,d,f){var p=c&n,m=r(l),h=m.length,b=r(u),g=b.length;if(h!=g&&!p)return !1;for(var y=h;y--;){var T=m[y];if(!(p?T in u:a.call(u,T)))return !1}var C=f.get(l),E=f.get(u);if(C&&E)return C==u&&E==l;var w=!0;f.set(l,u),f.set(u,l);for(var _=p;++y<h;){T=m[y];var v=l[T],O=u[T];if(s)var A=p?s(O,v,T,u,l,f):s(v,O,T,l,u,f);if(!(A===void 0?v===O||d(v,O,c,s,f):A)){w=!1;break}_||(_=T=="constructor");}if(w&&!_){var I=l.constructor,D=u.constructor;I!=D&&"constructor"in l&&"constructor"in u&&!(typeof I=="function"&&I instanceof I&&typeof D=="function"&&D instanceof D)&&(w=!1);}return f.delete(l),f.delete(u),w}t.exports=i;}}),mC=R({"../../node_modules/lodash/_DataView.js"(e,t){var r=xr(),n=Et(),o=r(n,"DataView");t.exports=o;}}),hC=R({"../../node_modules/lodash/_Promise.js"(e,t){var r=xr(),n=Et(),o=r(n,"Promise");t.exports=o;}}),bC=R({"../../node_modules/lodash/_Set.js"(e,t){var r=xr(),n=Et(),o=r(n,"Set");t.exports=o;}}),gC=R({"../../node_modules/lodash/_WeakMap.js"(e,t){var r=xr(),n=Et(),o=r(n,"WeakMap");t.exports=o;}}),yC=R({"../../node_modules/lodash/_getTag.js"(e,t){var r=mC(),n=Ha(),o=hC(),a=bC(),i=gC(),l=go(),u=rp(),c="[object Map]",s="[object Object]",d="[object Promise]",f="[object Set]",p="[object WeakMap]",m="[object DataView]",h=u(r),b=u(n),g=u(o),y=u(a),T=u(i),C=l;(r&&C(new r(new ArrayBuffer(1)))!=m||n&&C(new n)!=c||o&&C(o.resolve())!=d||a&&C(new a)!=f||i&&C(new i)!=p)&&(C=function(E){var w=l(E),_=w==s?E.constructor:void 0,v=_?u(_):"";if(v)switch(v){case h:return m;case b:return c;case g:return d;case y:return f;case T:return p}return w}),t.exports=C;}}),vC=R({"../../node_modules/lodash/_baseIsEqualDeep.js"(e,t){var r=$w(),n=op(),o=zw(),a=fC(),i=yC(),l=Va(),u=ip(),c=lp(),s=1,d="[object Arguments]",f="[object Array]",p="[object Object]",m=Object.prototype,h=m.hasOwnProperty;function b(g,y,T,C,E,w){var _=l(g),v=l(y),O=_?f:i(g),A=v?f:i(y);O=O==d?p:O,A=A==d?p:A;var I=O==p,D=A==p,$=O==A;if($&&u(g)){if(!u(y))return !1;_=!0,I=!1;}if($&&!I)return w||(w=new r),_||c(g)?n(g,y,T,C,E,w):o(g,y,O,T,C,E,w);if(!(T&s)){var x=I&&h.call(g,"__wrapped__"),B=D&&h.call(y,"__wrapped__");if(x||B){var V=x?g.value():g,K=B?y.value():y;return w||(w=new r),E(V,K,T,C,w)}}return $?(w||(w=new r),a(g,y,T,C,E,w)):!1}t.exports=b;}}),_C=R({"../../node_modules/lodash/_baseIsEqual.js"(e,t){var r=vC(),n=_o();function o(a,i,l,u,c){return a===i?!0:a==null||i==null||!n(a)&&!n(i)?a!==a&&i!==i:r(a,i,l,u,o,c)}t.exports=o;}}),sp=R({"../../node_modules/lodash/isEqualWith.js"(e,t){var r=_C();function n(o,a,i){i=typeof i=="function"?i:void 0;var l=i?i(o,a):void 0;return l===void 0?r(o,a,void 0,i):!!l}t.exports=n;}}),up=R({"../../node_modules/css.escape/css.escape.js"(e,t){(function(r,n){typeof e=="object"?t.exports=n(r):typeof define=="function"&&define.amd?define([],n.bind(r,r)):n(r);})(typeof global<"u"?global:e,function(r){if(r.CSS&&r.CSS.escape)return r.CSS.escape;var n=function(o){if(arguments.length==0)throw new TypeError("`CSS.escape` requires an argument.");for(var a=String(o),i=a.length,l=-1,u,c="",s=a.charCodeAt(0);++l<i;){if(u=a.charCodeAt(l),u==0){c+="\uFFFD";continue}if(u>=1&&u<=31||u==127||l==0&&u>=48&&u<=57||l==1&&u>=48&&u<=57&&s==45){c+="\\"+u.toString(16)+" ";continue}if(l==0&&i==1&&u==45){c+="\\"+a.charAt(l);continue}if(u>=128||u==45||u==95||u>=48&&u<=57||u>=65&&u<=90||u>=97&&u<=122){c+=a.charAt(l);continue}c+="\\"+a.charAt(l);}return c};return r.CSS||(r.CSS={}),r.CSS.escape=n,n});}}),cp=R({"../../node_modules/pretty-format/node_modules/ansi-styles/index.js"(e,t){var r=(a=0)=>i=>`\x1B[${38+a};5;${i}m`,n=(a=0)=>(i,l,u)=>`\x1B[${38+a};2;${i};${l};${u}m`;function o(){let a=new Map,i={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]}};i.color.gray=i.color.blackBright,i.bgColor.bgGray=i.bgColor.bgBlackBright,i.color.grey=i.color.blackBright,i.bgColor.bgGrey=i.bgColor.bgBlackBright;for(let[l,u]of Object.entries(i)){for(let[c,s]of Object.entries(u))i[c]={open:`\x1B[${s[0]}m`,close:`\x1B[${s[1]}m`},u[c]=i[c],a.set(s[0],s[1]);Object.defineProperty(i,l,{value:u,enumerable:!1});}return Object.defineProperty(i,"codes",{value:a,enumerable:!1}),i.color.close="\x1B[39m",i.bgColor.close="\x1B[49m",i.color.ansi256=r(),i.color.ansi16m=n(),i.bgColor.ansi256=r(10),i.bgColor.ansi16m=n(10),Object.defineProperties(i,{rgbToAnsi256:{value:(l,u,c)=>l===u&&u===c?l<8?16:l>248?231:Math.round((l-8)/247*24)+232:16+36*Math.round(l/255*5)+6*Math.round(u/255*5)+Math.round(c/255*5),enumerable:!1},hexToRgb:{value:l=>{let u=/(?<colorString>[a-f\d]{6}|[a-f\d]{3})/i.exec(l.toString(16));if(!u)return [0,0,0];let{colorString:c}=u.groups;c.length===3&&(c=c.split("").map(d=>d+d).join(""));let s=Number.parseInt(c,16);return [s>>16&255,s>>8&255,s&255]},enumerable:!1},hexToAnsi256:{value:l=>i.rgbToAnsi256(...i.hexToRgb(l)),enumerable:!1}}),i}Object.defineProperty(t,"exports",{enumerable:!0,get:o});}}),Eo=R({"../../node_modules/pretty-format/build/collections.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.printIteratorEntries=r,e.printIteratorValues=n,e.printListItems=o,e.printObjectProperties=a;var t=(i,l)=>{let u=Object.keys(i).sort(l);return Object.getOwnPropertySymbols&&Object.getOwnPropertySymbols(i).forEach(c=>{Object.getOwnPropertyDescriptor(i,c).enumerable&&u.push(c);}),u};function r(i,l,u,c,s,d,f=": "){let p="",m=i.next();if(!m.done){p+=l.spacingOuter;let h=u+l.indent;for(;!m.done;){let b=d(m.value[0],l,h,c,s),g=d(m.value[1],l,h,c,s);p+=h+b+f+g,m=i.next(),m.done?l.min||(p+=","):p+=","+l.spacingInner;}p+=l.spacingOuter+u;}return p}function n(i,l,u,c,s,d){let f="",p=i.next();if(!p.done){f+=l.spacingOuter;let m=u+l.indent;for(;!p.done;)f+=m+d(p.value,l,m,c,s),p=i.next(),p.done?l.min||(f+=","):f+=","+l.spacingInner;f+=l.spacingOuter+u;}return f}function o(i,l,u,c,s,d){let f="";if(i.length){f+=l.spacingOuter;let p=u+l.indent;for(let m=0;m<i.length;m++)f+=p,m in i&&(f+=d(i[m],l,p,c,s)),m<i.length-1?f+=","+l.spacingInner:l.min||(f+=",");f+=l.spacingOuter+u;}return f}function a(i,l,u,c,s,d){let f="",p=t(i,l.compareKeys);if(p.length){f+=l.spacingOuter;let m=u+l.indent;for(let h=0;h<p.length;h++){let b=p[h],g=d(b,l,m,c,s),y=d(i[b],l,m,c,s);f+=m+g+": "+y,h<p.length-1?f+=","+l.spacingInner:l.min||(f+=",");}f+=l.spacingOuter+u;}return f}}}),EC=R({"../../node_modules/pretty-format/build/plugins/AsymmetricMatcher.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.test=e.serialize=e.default=void 0;var t=Eo(),r=function(){return typeof globalThis<"u"?globalThis:typeof r<"u"?r:typeof self<"u"?self:typeof window<"u"?window:Function("return this")()}(),n=r["jest-symbol-do-not-touch"]||r.Symbol,o=typeof n=="function"&&n.for?n.for("jest.asymmetricMatcher"):1267621,a=" ",i=(s,d,f,p,m,h)=>{let b=s.toString();return b==="ArrayContaining"||b==="ArrayNotContaining"?++p>d.maxDepth?"["+b+"]":b+a+"["+(0, t.printListItems)(s.sample,d,f,p,m,h)+"]":b==="ObjectContaining"||b==="ObjectNotContaining"?++p>d.maxDepth?"["+b+"]":b+a+"{"+(0, t.printObjectProperties)(s.sample,d,f,p,m,h)+"}":b==="StringMatching"||b==="StringNotMatching"||b==="StringContaining"||b==="StringNotContaining"?b+a+h(s.sample,d,f,p,m):s.toAsymmetricMatcher()};e.serialize=i;var l=s=>s&&s.$$typeof===o;e.test=l;var u={serialize:i,test:l},c=u;e.default=c;}}),wC=R({"../../node_modules/pretty-format/node_modules/ansi-regex/index.js"(e,t){t.exports=({onlyFirst:r=!1}={})=>{let n=["[\\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(n,r?void 0:"g")};}}),CC=R({"../../node_modules/pretty-format/build/plugins/ConvertAnsi.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.test=e.serialize=e.default=void 0;var t=n(wC()),r=n(cp());function n(c){return c&&c.__esModule?c:{default:c}}var o=c=>c.replace((0, t.default)(),s=>{switch(s){case r.default.red.close:case r.default.green.close:case r.default.cyan.close:case r.default.gray.close:case r.default.white.close:case r.default.yellow.close:case r.default.bgRed.close:case r.default.bgGreen.close:case r.default.bgYellow.close:case r.default.inverse.close:case r.default.dim.close:case r.default.bold.close:case r.default.reset.open:case r.default.reset.close:return "</>";case r.default.red.open:return "<red>";case r.default.green.open:return "<green>";case r.default.cyan.open:return "<cyan>";case r.default.gray.open:return "<gray>";case r.default.white.open:return "<white>";case r.default.yellow.open:return "<yellow>";case r.default.bgRed.open:return "<bgRed>";case r.default.bgGreen.open:return "<bgGreen>";case r.default.bgYellow.open:return "<bgYellow>";case r.default.inverse.open:return "<inverse>";case r.default.dim.open:return "<dim>";case r.default.bold.open:return "<bold>";default:return ""}}),a=c=>typeof c=="string"&&!!c.match((0, t.default)());e.test=a;var i=(c,s,d,f,p,m)=>m(o(c),s,d,f,p);e.serialize=i;var l={serialize:i,test:a},u=l;e.default=u;}}),TC=R({"../../node_modules/pretty-format/build/plugins/DOMCollection.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.test=e.serialize=e.default=void 0;var t=Eo(),r=" ",n=["DOMStringMap","NamedNodeMap"],o=/^(HTML\w*Collection|NodeList)$/,a=d=>n.indexOf(d)!==-1||o.test(d),i=d=>d&&d.constructor&&!!d.constructor.name&&a(d.constructor.name);e.test=i;var l=d=>d.constructor.name==="NamedNodeMap",u=(d,f,p,m,h,b)=>{let g=d.constructor.name;return ++m>f.maxDepth?"["+g+"]":(f.min?"":g+r)+(n.indexOf(g)!==-1?"{"+(0, t.printObjectProperties)(l(d)?Array.from(d).reduce((y,T)=>(y[T.name]=T.value,y),{}):{...d},f,p,m,h,b)+"}":"["+(0, t.printListItems)(Array.from(d),f,p,m,h,b)+"]")};e.serialize=u;var c={serialize:u,test:i},s=c;e.default=s;}}),RC=R({"../../node_modules/pretty-format/build/plugins/lib/escapeHTML.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=t;function t(r){return r.replace(/</g,"&lt;").replace(/>/g,"&gt;")}}}),za=R({"../../node_modules/pretty-format/build/plugins/lib/markup.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.printText=e.printProps=e.printElementAsLeaf=e.printElement=e.printComment=e.printChildren=void 0;var t=r(RC());function r(c){return c&&c.__esModule?c:{default:c}}var n=(c,s,d,f,p,m,h)=>{let b=f+d.indent,g=d.colors;return c.map(y=>{let T=s[y],C=h(T,d,b,p,m);return typeof T!="string"&&(C.indexOf(`
64
- `)!==-1&&(C=d.spacingOuter+b+C+d.spacingOuter+f),C="{"+C+"}"),d.spacingInner+f+g.prop.open+y+g.prop.close+"="+g.value.open+C+g.value.close}).join("")};e.printProps=n;var o=(c,s,d,f,p,m)=>c.map(h=>s.spacingOuter+d+(typeof h=="string"?a(h,s):m(h,s,d,f,p))).join("");e.printChildren=o;var a=(c,s)=>{let d=s.colors.content;return d.open+(0, t.default)(c)+d.close};e.printText=a;var i=(c,s)=>{let d=s.colors.comment;return d.open+"<!--"+(0, t.default)(c)+"-->"+d.close};e.printComment=i;var l=(c,s,d,f,p)=>{let m=f.colors.tag;return m.open+"<"+c+(s&&m.close+s+f.spacingOuter+p+m.open)+(d?">"+m.close+d+f.spacingOuter+p+m.open+"</"+c:(s&&!f.min?"":" ")+"/")+">"+m.close};e.printElement=l;var u=(c,s)=>{let d=s.colors.tag;return d.open+"<"+c+d.close+" \u2026"+d.open+" />"+d.close};e.printElementAsLeaf=u;}}),SC=R({"../../node_modules/pretty-format/build/plugins/DOMElement.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.test=e.serialize=e.default=void 0;var t=za(),r=1,n=3,o=8,a=11,i=/^((HTML|SVG)\w*)?Element$/,l=b=>{try{return typeof b.hasAttribute=="function"&&b.hasAttribute("is")}catch{return !1}},u=b=>{let g=b.constructor.name,{nodeType:y,tagName:T}=b,C=typeof T=="string"&&T.includes("-")||l(b);return y===r&&(i.test(g)||C)||y===n&&g==="Text"||y===o&&g==="Comment"||y===a&&g==="DocumentFragment"},c=b=>{var g;return (b==null||(g=b.constructor)===null||g===void 0?void 0:g.name)&&u(b)};e.test=c;function s(b){return b.nodeType===n}function d(b){return b.nodeType===o}function f(b){return b.nodeType===a}var p=(b,g,y,T,C,E)=>{if(s(b))return (0, t.printText)(b.data,g);if(d(b))return (0, t.printComment)(b.data,g);let w=f(b)?"DocumentFragment":b.tagName.toLowerCase();return ++T>g.maxDepth?(0, t.printElementAsLeaf)(w,g):(0, t.printElement)(w,(0, t.printProps)(f(b)?[]:Array.from(b.attributes).map(_=>_.name).sort(),f(b)?{}:Array.from(b.attributes).reduce((_,v)=>(_[v.name]=v.value,_),{}),g,y+g.indent,T,C,E),(0, t.printChildren)(Array.prototype.slice.call(b.childNodes||b.children),g,y+g.indent,T,C,E),g,y)};e.serialize=p;var m={serialize:p,test:c},h=m;e.default=h;}}),PC=R({"../../node_modules/pretty-format/build/plugins/Immutable.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.test=e.serialize=e.default=void 0;var t=Eo(),r="@@__IMMUTABLE_ITERABLE__@@",n="@@__IMMUTABLE_LIST__@@",o="@@__IMMUTABLE_KEYED__@@",a="@@__IMMUTABLE_MAP__@@",i="@@__IMMUTABLE_ORDERED__@@",l="@@__IMMUTABLE_RECORD__@@",u="@@__IMMUTABLE_SEQ__@@",c="@@__IMMUTABLE_SET__@@",s="@@__IMMUTABLE_STACK__@@",d=v=>"Immutable."+v,f=v=>"["+v+"]",p=" ",m="\u2026",h=(v,O,A,I,D,$,x)=>++I>O.maxDepth?f(d(x)):d(x)+p+"{"+(0, t.printIteratorEntries)(v.entries(),O,A,I,D,$)+"}";function b(v){let O=0;return {next(){if(O<v._keys.length){let A=v._keys[O++];return {done:!1,value:[A,v.get(A)]}}return {done:!0,value:void 0}}}}var g=(v,O,A,I,D,$)=>{let x=d(v._name||"Record");return ++I>O.maxDepth?f(x):x+p+"{"+(0, t.printIteratorEntries)(b(v),O,A,I,D,$)+"}"},y=(v,O,A,I,D,$)=>{let x=d("Seq");return ++I>O.maxDepth?f(x):v[o]?x+p+"{"+(v._iter||v._object?(0, t.printIteratorEntries)(v.entries(),O,A,I,D,$):m)+"}":x+p+"["+(v._iter||v._array||v._collection||v._iterable?(0, t.printIteratorValues)(v.values(),O,A,I,D,$):m)+"]"},T=(v,O,A,I,D,$,x)=>++I>O.maxDepth?f(d(x)):d(x)+p+"["+(0, t.printIteratorValues)(v.values(),O,A,I,D,$)+"]",C=(v,O,A,I,D,$)=>v[a]?h(v,O,A,I,D,$,v[i]?"OrderedMap":"Map"):v[n]?T(v,O,A,I,D,$,"List"):v[c]?T(v,O,A,I,D,$,v[i]?"OrderedSet":"Set"):v[s]?T(v,O,A,I,D,$,"Stack"):v[u]?y(v,O,A,I,D,$):g(v,O,A,I,D,$);e.serialize=C;var E=v=>v&&(v[r]===!0||v[l]===!0);e.test=E;var w={serialize:C,test:E},_=w;e.default=_;}}),OC=R({"../../node_modules/pretty-format/node_modules/react-is/cjs/react-is.production.min.js"(e){var t=60103,r=60106,n=60107,o=60108,a=60114,i=60109,l=60110,u=60112,c=60113,s=60120,d=60115,f=60116,p=60121,m=60122,h=60117,b=60129,g=60131;typeof Symbol=="function"&&Symbol.for&&(y=Symbol.for,t=y("react.element"),r=y("react.portal"),n=y("react.fragment"),o=y("react.strict_mode"),a=y("react.profiler"),i=y("react.provider"),l=y("react.context"),u=y("react.forward_ref"),c=y("react.suspense"),s=y("react.suspense_list"),d=y("react.memo"),f=y("react.lazy"),p=y("react.block"),m=y("react.server.block"),h=y("react.fundamental"),b=y("react.debug_trace_mode"),g=y("react.legacy_hidden"));var y;function T(x){if(typeof x=="object"&&x!==null){var B=x.$$typeof;switch(B){case t:switch(x=x.type,x){case n:case a:case o:case c:case s:return x;default:switch(x=x&&x.$$typeof,x){case l:case u:case f:case d:case i:return x;default:return B}}case r:return B}}}var C=i,E=t,w=u,_=n,v=f,O=d,A=r,I=a,D=o,$=c;e.ContextConsumer=l,e.ContextProvider=C,e.Element=E,e.ForwardRef=w,e.Fragment=_,e.Lazy=v,e.Memo=O,e.Portal=A,e.Profiler=I,e.StrictMode=D,e.Suspense=$,e.isAsyncMode=function(){return !1},e.isConcurrentMode=function(){return !1},e.isContextConsumer=function(x){return T(x)===l},e.isContextProvider=function(x){return T(x)===i},e.isElement=function(x){return typeof x=="object"&&x!==null&&x.$$typeof===t},e.isForwardRef=function(x){return T(x)===u},e.isFragment=function(x){return T(x)===n},e.isLazy=function(x){return T(x)===f},e.isMemo=function(x){return T(x)===d},e.isPortal=function(x){return T(x)===r},e.isProfiler=function(x){return T(x)===a},e.isStrictMode=function(x){return T(x)===o},e.isSuspense=function(x){return T(x)===c},e.isValidElementType=function(x){return typeof x=="string"||typeof x=="function"||x===n||x===a||x===b||x===o||x===c||x===s||x===g||typeof x=="object"&&x!==null&&(x.$$typeof===f||x.$$typeof===d||x.$$typeof===i||x.$$typeof===l||x.$$typeof===u||x.$$typeof===h||x.$$typeof===p||x[0]===m)},e.typeOf=T;}}),AC=R({"../../node_modules/pretty-format/node_modules/react-is/cjs/react-is.development.js"(e){process.env.NODE_ENV!=="production"&&function(){var t=60103,r=60106,n=60107,o=60108,a=60114,i=60109,l=60110,u=60112,c=60113,s=60120,d=60115,f=60116,p=60121,m=60122,h=60117,y=60129,C=60131;if(typeof Symbol=="function"&&Symbol.for){var E=Symbol.for;t=E("react.element"),r=E("react.portal"),n=E("react.fragment"),o=E("react.strict_mode"),a=E("react.profiler"),i=E("react.provider"),l=E("react.context"),u=E("react.forward_ref"),c=E("react.suspense"),s=E("react.suspense_list"),d=E("react.memo"),f=E("react.lazy"),p=E("react.block"),m=E("react.server.block"),h=E("react.fundamental"),E("react.scope"),E("react.opaque.id"),y=E("react.debug_trace_mode"),E("react.offscreen"),C=E("react.legacy_hidden");}var w=!1;function _(H){return !!(typeof H=="string"||typeof H=="function"||H===n||H===a||H===y||H===o||H===c||H===s||H===C||w||typeof H=="object"&&H!==null&&(H.$$typeof===f||H.$$typeof===d||H.$$typeof===i||H.$$typeof===l||H.$$typeof===u||H.$$typeof===h||H.$$typeof===p||H[0]===m))}function v(H){if(typeof H=="object"&&H!==null){var ie=H.$$typeof;switch(ie){case t:var fe=H.type;switch(fe){case n:case a:case o:case c:case s:return fe;default:var He=fe&&fe.$$typeof;switch(He){case l:case u:case f:case d:case i:return He;default:return ie}}case r:return ie}}}var O=l,A=i,I=t,D=u,$=n,x=f,B=d,V=r,K=a,W=o,ne=c,be=!1,pe=!1;function F(H){return be||(be=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.")),!1}function L(H){return pe||(pe=!0,console.warn("The ReactIs.isConcurrentMode() alias has been deprecated, and will be removed in React 18+.")),!1}function k(H){return v(H)===l}function G(H){return v(H)===i}function Y(H){return typeof H=="object"&&H!==null&&H.$$typeof===t}function oe(H){return v(H)===u}function he(H){return v(H)===n}function De(H){return v(H)===f}function M(H){return v(H)===d}function z(H){return v(H)===r}function J(H){return v(H)===a}function Z(H){return v(H)===o}function j(H){return v(H)===c}e.ContextConsumer=O,e.ContextProvider=A,e.Element=I,e.ForwardRef=D,e.Fragment=$,e.Lazy=x,e.Memo=B,e.Portal=V,e.Profiler=K,e.StrictMode=W,e.Suspense=ne,e.isAsyncMode=F,e.isConcurrentMode=L,e.isContextConsumer=k,e.isContextProvider=G,e.isElement=Y,e.isForwardRef=oe,e.isFragment=he,e.isLazy=De,e.isMemo=M,e.isPortal=z,e.isProfiler=J,e.isStrictMode=Z,e.isSuspense=j,e.isValidElementType=_,e.typeOf=v;}();}}),qC=R({"../../node_modules/pretty-format/node_modules/react-is/index.js"(e,t){process.env.NODE_ENV==="production"?t.exports=OC():t.exports=AC();}}),xC=R({"../../node_modules/pretty-format/build/plugins/ReactElement.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.test=e.serialize=e.default=void 0;var t=o(qC()),r=za();function n(f){if(typeof WeakMap!="function")return null;var p=new WeakMap,m=new WeakMap;return (n=function(h){return h?m:p})(f)}function o(f,p){if(f&&f.__esModule)return f;if(f===null||typeof f!="object"&&typeof f!="function")return {default:f};var m=n(p);if(m&&m.has(f))return m.get(f);var h={},b=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var g in f)if(g!=="default"&&Object.prototype.hasOwnProperty.call(f,g)){var y=b?Object.getOwnPropertyDescriptor(f,g):null;y&&(y.get||y.set)?Object.defineProperty(h,g,y):h[g]=f[g];}return h.default=f,m&&m.set(f,h),h}var a=(f,p=[])=>(Array.isArray(f)?f.forEach(m=>{a(m,p);}):f!=null&&f!==!1&&p.push(f),p),i=f=>{let p=f.type;if(typeof p=="string")return p;if(typeof p=="function")return p.displayName||p.name||"Unknown";if(t.isFragment(f))return "React.Fragment";if(t.isSuspense(f))return "React.Suspense";if(typeof p=="object"&&p!==null){if(t.isContextProvider(f))return "Context.Provider";if(t.isContextConsumer(f))return "Context.Consumer";if(t.isForwardRef(f)){if(p.displayName)return p.displayName;let m=p.render.displayName||p.render.name||"";return m!==""?"ForwardRef("+m+")":"ForwardRef"}if(t.isMemo(f)){let m=p.displayName||p.type.displayName||p.type.name||"";return m!==""?"Memo("+m+")":"Memo"}}return "UNDEFINED"},l=f=>{let{props:p}=f;return Object.keys(p).filter(m=>m!=="children"&&p[m]!==void 0).sort()},u=(f,p,m,h,b,g)=>++h>p.maxDepth?(0, r.printElementAsLeaf)(i(f),p):(0, r.printElement)(i(f),(0, r.printProps)(l(f),f.props,p,m+p.indent,h,b,g),(0, r.printChildren)(a(f.props.children),p,m+p.indent,h,b,g),p,m);e.serialize=u;var c=f=>f!=null&&t.isElement(f);e.test=c;var s={serialize:u,test:c},d=s;e.default=d;}}),MC=R({"../../node_modules/pretty-format/build/plugins/ReactTestComponent.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.test=e.serialize=e.default=void 0;var t=za(),r=function(){return typeof globalThis<"u"?globalThis:typeof r<"u"?r:typeof self<"u"?self:typeof window<"u"?window:Function("return this")()}(),n=r["jest-symbol-do-not-touch"]||r.Symbol,o=typeof n=="function"&&n.for?n.for("react.test.json"):245830487,a=s=>{let{props:d}=s;return d?Object.keys(d).filter(f=>d[f]!==void 0).sort():[]},i=(s,d,f,p,m,h)=>++p>d.maxDepth?(0, t.printElementAsLeaf)(s.type,d):(0, t.printElement)(s.type,s.props?(0, t.printProps)(a(s),s.props,d,f+d.indent,p,m,h):"",s.children?(0, t.printChildren)(s.children,d,f+d.indent,p,m,h):"",d,f);e.serialize=i;var l=s=>s&&s.$$typeof===o;e.test=l;var u={serialize:i,test:l},c=u;e.default=c;}}),NC=R({"../../node_modules/pretty-format/build/index.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.DEFAULT_OPTIONS=void 0,e.format=oe,e.plugins=void 0;var t=s(cp()),r=Eo(),n=s(EC()),o=s(CC()),a=s(TC()),i=s(SC()),l=s(PC()),u=s(xC()),c=s(MC());function s(M){return M&&M.__esModule?M:{default:M}}var d=Object.prototype.toString,f=Date.prototype.toISOString,p=Error.prototype.toString,m=RegExp.prototype.toString,h=M=>typeof M.constructor=="function"&&M.constructor.name||"Object",b=M=>typeof window<"u"&&M===window,g=/^Symbol\((.*)\)(.*)$/,y=/\n/gi,T=class extends Error{constructor(M,z){super(M),this.stack=z,this.name=this.constructor.name;}};function C(M){return M==="[object Array]"||M==="[object ArrayBuffer]"||M==="[object DataView]"||M==="[object Float32Array]"||M==="[object Float64Array]"||M==="[object Int8Array]"||M==="[object Int16Array]"||M==="[object Int32Array]"||M==="[object Uint8Array]"||M==="[object Uint8ClampedArray]"||M==="[object Uint16Array]"||M==="[object Uint32Array]"}function E(M){return Object.is(M,-0)?"-0":String(M)}function w(M){return `${M}n`}function _(M,z){return z?"[Function "+(M.name||"anonymous")+"]":"[Function]"}function v(M){return String(M).replace(g,"Symbol($1)")}function O(M){return "["+p.call(M)+"]"}function A(M,z,J,Z){if(M===!0||M===!1)return ""+M;if(M===void 0)return "undefined";if(M===null)return "null";let j=typeof M;if(j==="number")return E(M);if(j==="bigint")return w(M);if(j==="string")return Z?'"'+M.replace(/"|\\/g,"\\$&")+'"':'"'+M+'"';if(j==="function")return _(M,z);if(j==="symbol")return v(M);let H=d.call(M);return H==="[object WeakMap]"?"WeakMap {}":H==="[object WeakSet]"?"WeakSet {}":H==="[object Function]"||H==="[object GeneratorFunction]"?_(M,z):H==="[object Symbol]"?v(M):H==="[object Date]"?isNaN(+M)?"Date { NaN }":f.call(M):H==="[object Error]"?O(M):H==="[object RegExp]"?J?m.call(M).replace(/[\\^$*+?.()|[\]{}]/g,"\\$&"):m.call(M):M instanceof Error?O(M):null}function I(M,z,J,Z,j,H){if(j.indexOf(M)!==-1)return "[Circular]";j=j.slice(),j.push(M);let ie=++Z>z.maxDepth,fe=z.min;if(z.callToJSON&&!ie&&M.toJSON&&typeof M.toJSON=="function"&&!H)return B(M.toJSON(),z,J,Z,j,!0);let He=d.call(M);return He==="[object Arguments]"?ie?"[Arguments]":(fe?"":"Arguments ")+"["+(0, r.printListItems)(M,z,J,Z,j,B)+"]":C(He)?ie?"["+M.constructor.name+"]":(fe||!z.printBasicPrototype&&M.constructor.name==="Array"?"":M.constructor.name+" ")+"["+(0, r.printListItems)(M,z,J,Z,j,B)+"]":He==="[object Map]"?ie?"[Map]":"Map {"+(0, r.printIteratorEntries)(M.entries(),z,J,Z,j,B," => ")+"}":He==="[object Set]"?ie?"[Set]":"Set {"+(0, r.printIteratorValues)(M.values(),z,J,Z,j,B)+"}":ie||b(M)?"["+h(M)+"]":(fe||!z.printBasicPrototype&&h(M)==="Object"?"":h(M)+" ")+"{"+(0, r.printObjectProperties)(M,z,J,Z,j,B)+"}"}function D(M){return M.serialize!=null}function $(M,z,J,Z,j,H){let ie;try{ie=D(M)?M.serialize(z,J,Z,j,H,B):M.print(z,fe=>B(fe,J,Z,j,H),fe=>{let He=Z+J.indent;return He+fe.replace(y,`
65
- `+He)},{edgeSpacing:J.spacingOuter,min:J.min,spacing:J.spacingInner},J.colors);}catch(fe){throw new T(fe.message,fe.stack)}if(typeof ie!="string")throw new Error(`pretty-format: Plugin must return type "string" but instead returned "${typeof ie}".`);return ie}function x(M,z){for(let J=0;J<M.length;J++)try{if(M[J].test(z))return M[J]}catch(Z){throw new T(Z.message,Z.stack)}return null}function B(M,z,J,Z,j,H){let ie=x(z.plugins,M);if(ie!==null)return $(ie,M,z,J,Z,j);let fe=A(M,z.printFunctionName,z.escapeRegex,z.escapeString);return fe!==null?fe:I(M,z,J,Z,j,H)}var V={comment:"gray",content:"reset",prop:"yellow",tag:"cyan",value:"green"},K=Object.keys(V),W={callToJSON:!0,compareKeys:void 0,escapeRegex:!1,escapeString:!0,highlight:!1,indent:2,maxDepth:1/0,min:!1,plugins:[],printBasicPrototype:!0,printFunctionName:!0,theme:V};e.DEFAULT_OPTIONS=W;function ne(M){if(Object.keys(M).forEach(z=>{if(!W.hasOwnProperty(z))throw new Error(`pretty-format: Unknown option "${z}".`)}),M.min&&M.indent!==void 0&&M.indent!==0)throw new Error('pretty-format: Options "min" and "indent" cannot be used together.');if(M.theme!==void 0){if(M.theme===null)throw new Error('pretty-format: Option "theme" must not be null.');if(typeof M.theme!="object")throw new Error(`pretty-format: Option "theme" must be of type "object" but instead received "${typeof M.theme}".`)}}var be=M=>K.reduce((z,J)=>{let Z=M.theme&&M.theme[J]!==void 0?M.theme[J]:V[J],j=Z&&t.default[Z];if(j&&typeof j.close=="string"&&typeof j.open=="string")z[J]=j;else throw new Error(`pretty-format: Option "theme" has a key "${J}" whose value "${Z}" is undefined in ansi-styles.`);return z},Object.create(null)),pe=()=>K.reduce((M,z)=>(M[z]={close:"",open:""},M),Object.create(null)),F=M=>M&&M.printFunctionName!==void 0?M.printFunctionName:W.printFunctionName,L=M=>M&&M.escapeRegex!==void 0?M.escapeRegex:W.escapeRegex,k=M=>M&&M.escapeString!==void 0?M.escapeString:W.escapeString,G=M=>{var z;return {callToJSON:M&&M.callToJSON!==void 0?M.callToJSON:W.callToJSON,colors:M&&M.highlight?be(M):pe(),compareKeys:M&&typeof M.compareKeys=="function"?M.compareKeys:W.compareKeys,escapeRegex:L(M),escapeString:k(M),indent:M&&M.min?"":Y(M&&M.indent!==void 0?M.indent:W.indent),maxDepth:M&&M.maxDepth!==void 0?M.maxDepth:W.maxDepth,min:M&&M.min!==void 0?M.min:W.min,plugins:M&&M.plugins!==void 0?M.plugins:W.plugins,printBasicPrototype:(z=M?.printBasicPrototype)!==null&&z!==void 0?z:!0,printFunctionName:F(M),spacingInner:M&&M.min?" ":`
66
- `,spacingOuter:M&&M.min?"":`
67
- `}};function Y(M){return new Array(M+1).join(" ")}function oe(M,z){if(z&&(ne(z),z.plugins)){let Z=x(z.plugins,M);if(Z!==null)return $(Z,M,G(z),"",0,[])}let J=A(M,F(z),L(z),k(z));return J!==null?J:I(M,G(z),"",0,[])}var he={AsymmetricMatcher:n.default,ConvertAnsi:o.default,DOMCollection:a.default,DOMElement:i.default,Immutable:l.default,ReactElement:u.default,ReactTestComponent:c.default};e.plugins=he;var De=oe;e.default=De;}}),jC=R({"../../node_modules/lz-string/libs/lz-string.js"(e,t){var r=function(){var n=String.fromCharCode,o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+-$",i={};function l(c,s){if(!i[c]){i[c]={};for(var d=0;d<c.length;d++)i[c][c.charAt(d)]=d;}return i[c][s]}var u={compressToBase64:function(c){if(c==null)return "";var s=u._compress(c,6,function(d){return o.charAt(d)});switch(s.length%4){default:case 0:return s;case 1:return s+"===";case 2:return s+"==";case 3:return s+"="}},decompressFromBase64:function(c){return c==null?"":c==""?null:u._decompress(c.length,32,function(s){return l(o,c.charAt(s))})},compressToUTF16:function(c){return c==null?"":u._compress(c,15,function(s){return n(s+32)})+" "},decompressFromUTF16:function(c){return c==null?"":c==""?null:u._decompress(c.length,16384,function(s){return c.charCodeAt(s)-32})},compressToUint8Array:function(c){for(var s=u.compress(c),d=new Uint8Array(s.length*2),f=0,p=s.length;f<p;f++){var m=s.charCodeAt(f);d[f*2]=m>>>8,d[f*2+1]=m%256;}return d},decompressFromUint8Array:function(c){if(c==null)return u.decompress(c);for(var s=new Array(c.length/2),d=0,f=s.length;d<f;d++)s[d]=c[d*2]*256+c[d*2+1];var p=[];return s.forEach(function(m){p.push(n(m));}),u.decompress(p.join(""))},compressToEncodedURIComponent:function(c){return c==null?"":u._compress(c,6,function(s){return a.charAt(s)})},decompressFromEncodedURIComponent:function(c){return c==null?"":c==""?null:(c=c.replace(/ /g,"+"),u._decompress(c.length,32,function(s){return l(a,c.charAt(s))}))},compress:function(c){return u._compress(c,16,function(s){return n(s)})},_compress:function(c,s,d){if(c==null)return "";var f,p,m={},h={},b="",g="",y="",T=2,C=3,E=2,w=[],_=0,v=0,O;for(O=0;O<c.length;O+=1)if(b=c.charAt(O),Object.prototype.hasOwnProperty.call(m,b)||(m[b]=C++,h[b]=!0),g=y+b,Object.prototype.hasOwnProperty.call(m,g))y=g;else {if(Object.prototype.hasOwnProperty.call(h,y)){if(y.charCodeAt(0)<256){for(f=0;f<E;f++)_=_<<1,v==s-1?(v=0,w.push(d(_)),_=0):v++;for(p=y.charCodeAt(0),f=0;f<8;f++)_=_<<1|p&1,v==s-1?(v=0,w.push(d(_)),_=0):v++,p=p>>1;}else {for(p=1,f=0;f<E;f++)_=_<<1|p,v==s-1?(v=0,w.push(d(_)),_=0):v++,p=0;for(p=y.charCodeAt(0),f=0;f<16;f++)_=_<<1|p&1,v==s-1?(v=0,w.push(d(_)),_=0):v++,p=p>>1;}T--,T==0&&(T=Math.pow(2,E),E++),delete h[y];}else for(p=m[y],f=0;f<E;f++)_=_<<1|p&1,v==s-1?(v=0,w.push(d(_)),_=0):v++,p=p>>1;T--,T==0&&(T=Math.pow(2,E),E++),m[g]=C++,y=String(b);}if(y!==""){if(Object.prototype.hasOwnProperty.call(h,y)){if(y.charCodeAt(0)<256){for(f=0;f<E;f++)_=_<<1,v==s-1?(v=0,w.push(d(_)),_=0):v++;for(p=y.charCodeAt(0),f=0;f<8;f++)_=_<<1|p&1,v==s-1?(v=0,w.push(d(_)),_=0):v++,p=p>>1;}else {for(p=1,f=0;f<E;f++)_=_<<1|p,v==s-1?(v=0,w.push(d(_)),_=0):v++,p=0;for(p=y.charCodeAt(0),f=0;f<16;f++)_=_<<1|p&1,v==s-1?(v=0,w.push(d(_)),_=0):v++,p=p>>1;}T--,T==0&&(T=Math.pow(2,E),E++),delete h[y];}else for(p=m[y],f=0;f<E;f++)_=_<<1|p&1,v==s-1?(v=0,w.push(d(_)),_=0):v++,p=p>>1;T--,T==0&&(T=Math.pow(2,E),E++);}for(p=2,f=0;f<E;f++)_=_<<1|p&1,v==s-1?(v=0,w.push(d(_)),_=0):v++,p=p>>1;for(;;)if(_=_<<1,v==s-1){w.push(d(_));break}else v++;return w.join("")},decompress:function(c){return c==null?"":c==""?null:u._decompress(c.length,32768,function(s){return c.charCodeAt(s)})},_decompress:function(c,s,d){var f=[],m=4,h=4,b=3,g="",y=[],T,C,E,w,_,v,O,A={val:d(0),position:s,index:1};for(T=0;T<3;T+=1)f[T]=T;for(E=0,_=Math.pow(2,2),v=1;v!=_;)w=A.val&A.position,A.position>>=1,A.position==0&&(A.position=s,A.val=d(A.index++)),E|=(w>0?1:0)*v,v<<=1;switch(E){case 0:for(E=0,_=Math.pow(2,8),v=1;v!=_;)w=A.val&A.position,A.position>>=1,A.position==0&&(A.position=s,A.val=d(A.index++)),E|=(w>0?1:0)*v,v<<=1;O=n(E);break;case 1:for(E=0,_=Math.pow(2,16),v=1;v!=_;)w=A.val&A.position,A.position>>=1,A.position==0&&(A.position=s,A.val=d(A.index++)),E|=(w>0?1:0)*v,v<<=1;O=n(E);break;case 2:return ""}for(f[3]=O,C=O,y.push(O);;){if(A.index>c)return "";for(E=0,_=Math.pow(2,b),v=1;v!=_;)w=A.val&A.position,A.position>>=1,A.position==0&&(A.position=s,A.val=d(A.index++)),E|=(w>0?1:0)*v,v<<=1;switch(O=E){case 0:for(E=0,_=Math.pow(2,8),v=1;v!=_;)w=A.val&A.position,A.position>>=1,A.position==0&&(A.position=s,A.val=d(A.index++)),E|=(w>0?1:0)*v,v<<=1;f[h++]=n(E),O=h-1,m--;break;case 1:for(E=0,_=Math.pow(2,16),v=1;v!=_;)w=A.val&A.position,A.position>>=1,A.position==0&&(A.position=s,A.val=d(A.index++)),E|=(w>0?1:0)*v,v<<=1;f[h++]=n(E),O=h-1,m--;break;case 2:return y.join("")}if(m==0&&(m=Math.pow(2,b),b++),f[O])g=f[O];else if(O===h)g=C+C.charAt(0);else return null;y.push(g),f[h++]=C+g.charAt(0),m--,C=g,m==0&&(m=Math.pow(2,b),b++);}}};return u}();typeof define=="function"&&define.amd?define(function(){return r}):typeof t<"u"&&t!=null?t.exports=r:typeof angular<"u"&&angular!=null&&angular.module("LZString",[]).factory("LZString",function(){return r});}}),dp={};mo(dp,{buildQueries:()=>oj,clearAllMocks:()=>Xm,configure:()=>ij,createEvent:()=>aj,expect:()=>wI,findAllByAltText:()=>sj,findAllByDisplayValue:()=>uj,findAllByLabelText:()=>cj,findAllByPlaceholderText:()=>dj,findAllByRole:()=>pj,findAllByTestId:()=>fj,findAllByText:()=>mj,findAllByTitle:()=>hj,findByAltText:()=>bj,findByDisplayValue:()=>gj,findByLabelText:()=>yj,findByPlaceholderText:()=>vj,findByRole:()=>_j,findByTestId:()=>Ej,findByText:()=>wj,findByTitle:()=>Cj,fireEvent:()=>lj,fn:()=>Ym,getAllByAltText:()=>Tj,getAllByDisplayValue:()=>Rj,getAllByLabelText:()=>Sj,getAllByPlaceholderText:()=>Pj,getAllByRole:()=>Oj,getAllByTestId:()=>Aj,getAllByText:()=>qj,getAllByTitle:()=>xj,getByAltText:()=>Mj,getByDisplayValue:()=>Nj,getByLabelText:()=>jj,getByPlaceholderText:()=>Ij,getByRole:()=>$j,getByTestId:()=>Bj,getByText:()=>Lj,getByTitle:()=>Dj,getConfig:()=>kj,getDefaultNormalizer:()=>Fj,getElementError:()=>Uj,getNodeText:()=>Hj,getQueriesForElement:()=>Vj,getRoles:()=>zj,getSuggestedQuery:()=>Gj,isInaccessible:()=>Wj,isMockFunction:()=>kl,logDOM:()=>Kj,logRoles:()=>Yj,mocked:()=>qA,mocks:()=>vn,onMockCall:()=>Km,prettyDOM:()=>Jj,prettyFormat:()=>_I,queries:()=>Xj,queryAllByAltText:()=>Qj,queryAllByAttribute:()=>Zj,queryAllByDisplayValue:()=>eI,queryAllByLabelText:()=>tI,queryAllByPlaceholderText:()=>rI,queryAllByRole:()=>nI,queryAllByTestId:()=>oI,queryAllByText:()=>iI,queryAllByTitle:()=>aI,queryByAltText:()=>lI,queryByAttribute:()=>sI,queryByDisplayValue:()=>uI,queryByLabelText:()=>cI,queryByPlaceholderText:()=>dI,queryByRole:()=>pI,queryByTestId:()=>fI,queryByText:()=>mI,queryByTitle:()=>hI,queryHelpers:()=>bI,resetAllMocks:()=>Qm,restoreAllMocks:()=>Zm,screen:()=>gI,spyOn:()=>AA,traverseArgs:()=>po,userEvent:()=>EI,waitFor:()=>yI,waitForElementToBeRemoved:()=>vI,within:()=>ag});zt.exports=d1(dp);var pp=Wo(),IC=wi(),fp=Object.defineProperty,$C=Object.getOwnPropertyNames,N=(e,t)=>fp(e,"name",{value:t,configurable:!0}),BC=(e,t)=>function(){return t||(0, e[$C(e)[0]])((t={exports:{}}).exports,t),t.exports},Ga=(e,t)=>{for(var r in t)fp(e,r,{get:t[r],enumerable:!0});},LC=BC({"(disabled):util"(){}}),lt={};Ga(lt,{addChainableMethod:()=>ol,addLengthGuard:()=>bn,addMethod:()=>tl,addProperty:()=>el,checkError:()=>ke,compareByInspect:()=>Yn,eql:()=>kp,expectTypes:()=>Ep,flag:()=>X,getActual:()=>Co,getMessage:()=>Ya,getName:()=>Ro,getOperator:()=>sl,getOwnEnumerableProperties:()=>ll,getOwnEnumerablePropertySymbols:()=>al,getPathInfo:()=>Za,hasProperty:()=>To,inspect:()=>te,isNaN:()=>Jn,isProxyEnabled:()=>hn,isRegExp:()=>Xn,objDisplay:()=>Gt,overwriteChainableMethod:()=>il,overwriteMethod:()=>nl,overwriteProperty:()=>rl,proxify:()=>Mr,test:()=>Wa,transferFlags:()=>tt,type:()=>me});var ke={};Ga(ke,{compatibleConstructor:()=>bp,compatibleInstance:()=>hp,compatibleMessage:()=>gp,getConstructorName:()=>yp,getMessage:()=>vp});function wo(e){return e instanceof Error||Object.prototype.toString.call(e)==="[object Error]"}N(wo,"isErrorInstance");function mp(e){return Object.prototype.toString.call(e)==="[object RegExp]"}N(mp,"isRegExp");function hp(e,t){return wo(t)&&e===t}N(hp,"compatibleInstance");function bp(e,t){return wo(t)?e.constructor===t.constructor||e instanceof t.constructor:(typeof t=="object"||typeof t=="function")&&t.prototype?e.constructor===t||e instanceof t:!1}N(bp,"compatibleConstructor");function gp(e,t){let r=typeof e=="string"?e:e.message;return mp(t)?t.test(r):typeof t=="string"?r.indexOf(t)!==-1:!1}N(gp,"compatibleMessage");function yp(e){let t=e;return wo(e)?t=e.constructor.name:typeof e=="function"&&(t=e.name,t===""&&(t=new e().name||t)),t}N(yp,"getConstructorName");function vp(e){let t="";return e&&e.message?t=e.message:typeof e=="string"&&(t=e),t}N(vp,"getMessage");function X(e,t,r){var n=e.__flags||(e.__flags=Object.create(null));if(arguments.length===3)n[t]=r;else return n[t]}N(X,"flag");function Wa(e,t){var r=X(e,"negate"),n=t[0];return r?!n:n}N(Wa,"test");function me(e){if(typeof e>"u")return "undefined";if(e===null)return "null";let t=e[Symbol.toStringTag];return typeof t=="string"?t:Object.prototype.toString.call(e).slice(8,-1)}N(me,"type");var DC="captureStackTrace"in Error,ce=class _p extends Error{static{N(this,"AssertionError");}message;get name(){return "AssertionError"}get ok(){return !1}constructor(t="Unspecified AssertionError",r,n){super(t),this.message=t,DC&&Error.captureStackTrace(this,n||_p);for(let o in r)o in this||(this[o]=r[o]);}toJSON(t){return {...this,name:this.name,message:this.message,ok:!1,stack:t!==!1?this.stack:void 0}}};function Ep(e,t){var r=X(e,"message"),n=X(e,"ssfi");r=r?r+": ":"",e=X(e,"object"),t=t.map(function(i){return i.toLowerCase()}),t.sort();var o=t.map(function(i,l){var u=~["a","e","i","o","u"].indexOf(i.charAt(0))?"an":"a",c=t.length>1&&l===t.length-1?"or ":"";return c+u+" "+i}).join(", "),a=me(e).toLowerCase();if(!t.some(function(i){return a===i}))throw new ce(r+"object tested must be "+o+", but "+a+" given",void 0,n)}N(Ep,"expectTypes");function Co(e,t){return t.length>4?t[4]:e._obj}N(Co,"getActual");var ku={bold:["1","22"],dim:["2","22"],italic:["3","23"],underline:["4","24"],inverse:["7","27"],hidden:["8","28"],strike:["9","29"],black:["30","39"],red:["31","39"],green:["32","39"],yellow:["33","39"],blue:["34","39"],magenta:["35","39"],cyan:["36","39"],white:["37","39"],brightblack:["30;1","39"],brightred:["31;1","39"],brightgreen:["32;1","39"],brightyellow:["33;1","39"],brightblue:["34;1","39"],brightmagenta:["35;1","39"],brightcyan:["36;1","39"],brightwhite:["37;1","39"],grey:["90","39"]},kC={special:"cyan",number:"yellow",bigint:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",symbol:"green",date:"magenta",regexp:"red"},yr="\u2026";function wp(e,t){let r=ku[kC[t]]||ku[t]||"";return r?`\x1B[${r[0]}m${String(e)}\x1B[${r[1]}m`:String(e)}N(wp,"colorise");function Cp({showHidden:e=!1,depth:t=2,colors:r=!1,customInspect:n=!0,showProxy:o=!1,maxArrayLength:a=1/0,breakLength:i=1/0,seen:l=[],truncate:u=1/0,stylize:c=String}={},s){let d={showHidden:!!e,depth:Number(t),colors:!!r,customInspect:!!n,showProxy:!!o,maxArrayLength:Number(a),breakLength:Number(i),truncate:Number(u),seen:l,inspect:s,stylize:c};return d.colors&&(d.stylize=wp),d}N(Cp,"normaliseOptions");function wt(e,t,r=yr){e=String(e);let n=r.length,o=e.length;return n>t&&o>n?r:o>t&&o>n?`${e.slice(0,t-n)}${r}`:e}N(wt,"truncate");function We(e,t,r,n=", "){r=r||t.inspect;let o=e.length;if(o===0)return "";let a=t.truncate,i="",l="",u="";for(let c=0;c<o;c+=1){let s=c+1===e.length,d=c+2===e.length;u=`${yr}(${e.length-c})`;let f=e[c];t.truncate=a-i.length-(s?0:n.length);let p=l||r(f,t)+(s?"":n),m=i.length+p.length,h=m+u.length;if(s&&m>a&&i.length+u.length<=a||!s&&!d&&h>a||(l=s?"":r(e[c+1],t)+(d?"":n),!s&&d&&h>a&&m+l.length>a))break;if(i+=p,!s&&!d&&m+l.length>=a){u=`${yr}(${e.length-c-1})`;break}u="";}return `${i}${u}`}N(We,"inspectList");function Tp(e){return e.match(/^[a-zA-Z_][a-zA-Z_0-9]*$/)?e:JSON.stringify(e).replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'")}N(Tp,"quoteComplexKey");function vr([e,t],r){return r.truncate-=2,typeof e=="string"?e=Tp(e):typeof e!="number"&&(e=`[${r.inspect(e,r)}]`),r.truncate-=e.length,t=r.inspect(t,r),`${e}: ${t}`}N(vr,"inspectProperty");function Rp(e,t){let r=Object.keys(e).slice(e.length);if(!e.length&&!r.length)return "[]";t.truncate-=4;let n=We(e,t);t.truncate-=n.length;let o="";return r.length&&(o=We(r.map(a=>[a,e[a]]),t,vr)),`[ ${n}${o?`, ${o}`:""} ]`}N(Rp,"inspectArray");var FC=N(e=>typeof Buffer=="function"&&e instanceof Buffer?"Buffer":e[Symbol.toStringTag]?e[Symbol.toStringTag]:e.constructor.name,"getArrayName");function at(e,t){let r=FC(e);t.truncate-=r.length+4;let n=Object.keys(e).slice(e.length);if(!e.length&&!n.length)return `${r}[]`;let o="";for(let i=0;i<e.length;i++){let l=`${t.stylize(wt(e[i],t.truncate),"number")}${i===e.length-1?"":", "}`;if(t.truncate-=l.length,e[i]!==e.length&&t.truncate<=3){o+=`${yr}(${e.length-e[i]+1})`;break}o+=l;}let a="";return n.length&&(a=We(n.map(i=>[i,e[i]]),t,vr)),`${r}[ ${o}${a?`, ${a}`:""} ]`}N(at,"inspectTypedArray");function Sp(e,t){let r=e.toJSON();if(r===null)return "Invalid Date";let n=r.split("T"),o=n[0];return t.stylize(`${o}T${wt(n[1],t.truncate-o.length-1)}`,"date")}N(Sp,"inspectDate");function Hi(e,t){let r=e[Symbol.toStringTag]||"Function",n=e.name;return n?t.stylize(`[${r} ${wt(n,t.truncate-11)}]`,"special"):t.stylize(`[${r}]`,"special")}N(Hi,"inspectFunction");function Pp([e,t],r){return r.truncate-=4,e=r.inspect(e,r),r.truncate-=e.length,t=r.inspect(t,r),`${e} => ${t}`}N(Pp,"inspectMapEntry");function Op(e){let t=[];return e.forEach((r,n)=>{t.push([n,r]);}),t}N(Op,"mapToEntries");function Ap(e,t){return e.size-1<=0?"Map{}":(t.truncate-=7,`Map{ ${We(Op(e),t,Pp)} }`)}N(Ap,"inspectMap");var UC=Number.isNaN||(e=>e!==e);function Vi(e,t){return UC(e)?t.stylize("NaN","number"):e===1/0?t.stylize("Infinity","number"):e===-1/0?t.stylize("-Infinity","number"):e===0?t.stylize(1/e===1/0?"+0":"-0","number"):t.stylize(wt(String(e),t.truncate),"number")}N(Vi,"inspectNumber");function zi(e,t){let r=wt(e.toString(),t.truncate-1);return r!==yr&&(r+="n"),t.stylize(r,"bigint")}N(zi,"inspectBigInt");function qp(e,t){let r=e.toString().split("/")[2],n=t.truncate-(2+r.length),o=e.source;return t.stylize(`/${wt(o,n)}/${r}`,"regexp")}N(qp,"inspectRegExp");function xp(e){let t=[];return e.forEach(r=>{t.push(r);}),t}N(xp,"arrayFromSet");function Mp(e,t){return e.size===0?"Set{}":(t.truncate-=7,`Set{ ${We(xp(e),t)} }`)}N(Mp,"inspectSet");var Fu=new RegExp("['\\u0000-\\u001f\\u007f-\\u009f\\u00ad\\u0600-\\u0604\\u070f\\u17b4\\u17b5\\u200c-\\u200f\\u2028-\\u202f\\u2060-\\u206f\\ufeff\\ufff0-\\uffff]","g"),HC={"\b":"\\b"," ":"\\t","\n":"\\n","\f":"\\f","\r":"\\r","'":"\\'","\\":"\\\\"},VC=16,zC=4;function Np(e){return HC[e]||`\\u${`0000${e.charCodeAt(0).toString(VC)}`.slice(-zC)}`}N(Np,"escape");function Gi(e,t){return Fu.test(e)&&(e=e.replace(Fu,Np)),t.stylize(`'${wt(e,t.truncate-2)}'`,"string")}N(Gi,"inspectString");function Wi(e){return "description"in Symbol.prototype?e.description?`Symbol(${e.description})`:"Symbol()":e.toString()}N(Wi,"inspectSymbol");var jp=N(()=>"Promise{\u2026}","getPromiseValue");try{let{getPromiseDetails:e,kPending:t,kRejected:r}=process.binding("util");Array.isArray(e(Promise.resolve()))&&(jp=N((n,o)=>{let[a,i]=e(n);return a===t?"Promise{<pending>}":`Promise${a===r?"!":""}{${o.inspect(i,o)}}`},"getPromiseValue"));}catch{}var GC=jp;function zr(e,t){let r=Object.getOwnPropertyNames(e),n=Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e):[];if(r.length===0&&n.length===0)return "{}";if(t.truncate-=4,t.seen=t.seen||[],t.seen.indexOf(e)>=0)return "[Circular]";t.seen.push(e);let o=We(r.map(l=>[l,e[l]]),t,vr),a=We(n.map(l=>[l,e[l]]),t,vr);t.seen.pop();let i="";return o&&a&&(i=", "),`{ ${o}${i}${a} }`}N(zr,"inspectObject");var Ci=typeof Symbol<"u"&&Symbol.toStringTag?Symbol.toStringTag:!1;function Ip(e,t){let r="";return Ci&&Ci in e&&(r=e[Ci]),r=r||e.constructor.name,(!r||r==="_class")&&(r="<Anonymous Class>"),t.truncate-=r.length,`${r}${zr(e,t)}`}N(Ip,"inspectClass");function $p(e,t){return e.length===0?"Arguments[]":(t.truncate-=13,`Arguments[ ${We(e,t)} ]`)}N($p,"inspectArguments");var WC=["stack","line","column","name","message","fileName","lineNumber","columnNumber","number","description"];function Bp(e,t){let r=Object.getOwnPropertyNames(e).filter(i=>WC.indexOf(i)===-1),n=e.name;t.truncate-=n.length;let o="";typeof e.message=="string"?o=wt(e.message,t.truncate):r.unshift("message"),o=o?`: ${o}`:"",t.truncate-=o.length+5;let a=We(r.map(i=>[i,e[i]]),t,vr);return `${n}${o}${a?` { ${a} }`:""}`}N(Bp,"inspectObject");function Lp([e,t],r){return r.truncate-=3,t?`${r.stylize(String(e),"yellow")}=${r.stylize(`"${t}"`,"string")}`:`${r.stylize(String(e),"yellow")}`}N(Lp,"inspectAttribute");function Gn(e,t){return We(e,t,Ka,`
68
- `)}N(Gn,"inspectHTMLCollection");function Ka(e,t){let r=e.getAttributeNames(),n=e.tagName.toLowerCase(),o=t.stylize(`<${n}`,"special"),a=t.stylize(">","special"),i=t.stylize(`</${n}>`,"special");t.truncate-=n.length*2+5;let l="";r.length>0&&(l+=" ",l+=We(r.map(s=>[s,e.getAttribute(s)]),t,Lp," ")),t.truncate-=l.length;let u=t.truncate,c=Gn(e.children,t);return c&&c.length>u&&(c=`${yr}(${e.children.length})`),`${o}${l}${a}${c}${i}`}N(Ka,"inspectHTML");var KC=typeof Symbol=="function"&&typeof Symbol.for=="function",Ti=KC?Symbol.for("chai/inspect"):"@@chai/inspect",ur=!1;try{let e=LC();ur=e.inspect?e.inspect.custom:!1;}catch{ur=!1;}var Uu=new WeakMap,Hu={},Vu={undefined:(e,t)=>t.stylize("undefined","undefined"),null:(e,t)=>t.stylize("null","null"),boolean:(e,t)=>t.stylize(String(e),"boolean"),Boolean:(e,t)=>t.stylize(String(e),"boolean"),number:Vi,Number:Vi,bigint:zi,BigInt:zi,string:Gi,String:Gi,function:Hi,Function:Hi,symbol:Wi,Symbol:Wi,Array:Rp,Date:Sp,Map:Ap,Set:Mp,RegExp:qp,Promise:GC,WeakSet:(e,t)=>t.stylize("WeakSet{\u2026}","special"),WeakMap:(e,t)=>t.stylize("WeakMap{\u2026}","special"),Arguments:$p,Int8Array:at,Uint8Array:at,Uint8ClampedArray:at,Int16Array:at,Uint16Array:at,Int32Array:at,Uint32Array:at,Float32Array:at,Float64Array:at,Generator:()=>"",DataView:()=>"",ArrayBuffer:()=>"",Error:Bp,HTMLCollection:Gn,NodeList:Gn},YC=N((e,t,r)=>Ti in e&&typeof e[Ti]=="function"?e[Ti](t):ur&&ur in e&&typeof e[ur]=="function"?e[ur](t.depth,t):"inspect"in e&&typeof e.inspect=="function"?e.inspect(t.depth,t):"constructor"in e&&Uu.has(e.constructor)?Uu.get(e.constructor)(e,t):Hu[r]?Hu[r](e,t):"","inspectCustom"),JC=Object.prototype.toString;function Wn(e,t={}){let r=Cp(t,Wn),{customInspect:n}=r,o=e===null?"null":typeof e;if(o==="object"&&(o=JC.call(e).slice(8,-1)),o in Vu)return Vu[o](e,r);if(n&&e){let i=YC(e,r,o);if(i)return typeof i=="string"?i:Wn(i,r)}let a=e?Object.getPrototypeOf(e):!1;return a===Object.prototype||a===null?zr(e,r):e&&typeof HTMLElement=="function"&&e instanceof HTMLElement?Ka(e,r):"constructor"in e?e.constructor!==Object?Ip(e,r):zr(e,r):e===Object(e)?zr(e,r):r.stylize(String(e),o)}N(Wn,"inspect");var Be={includeStack:!1,showDiff:!0,truncateThreshold:40,useProxy:!0,proxyExcludedKeys:["then","catch","inspect","toJSON"],deepEqual:null};function te(e,t,r,n){var o={colors:n,depth:typeof r>"u"?2:r,showHidden:t,truncate:Be.truncateThreshold?Be.truncateThreshold:1/0};return Wn(e,o)}N(te,"inspect");function Gt(e){var t=te(e),r=Object.prototype.toString.call(e);if(Be.truncateThreshold&&t.length>=Be.truncateThreshold){if(r==="[object Function]")return !e.name||e.name===""?"[Function]":"[Function: "+e.name+"]";if(r==="[object Array]")return "[ Array("+e.length+") ]";if(r==="[object Object]"){var n=Object.keys(e),o=n.length>2?n.splice(0,2).join(", ")+", ...":n.join(", ");return "{ Object ("+o+") }"}else return t}else return t}N(Gt,"objDisplay");function Ya(e,t){var r=X(e,"negate"),n=X(e,"object"),o=t[3],a=Co(e,t),i=r?t[2]:t[1],l=X(e,"message");return typeof i=="function"&&(i=i()),i=i||"",i=i.replace(/#\{this\}/g,function(){return Gt(n)}).replace(/#\{act\}/g,function(){return Gt(a)}).replace(/#\{exp\}/g,function(){return Gt(o)}),l?l+": "+i:i}N(Ya,"getMessage");function tt(e,t,r){var n=e.__flags||(e.__flags=Object.create(null));t.__flags||(t.__flags=Object.create(null)),r=arguments.length===3?r:!0;for(var o in n)(r||o!=="object"&&o!=="ssfi"&&o!=="lockSsfi"&&o!="message")&&(t.__flags[o]=n[o]);}N(tt,"transferFlags");function Ki(e){if(typeof e>"u")return "undefined";if(e===null)return "null";let t=e[Symbol.toStringTag];return typeof t=="string"?t:Object.prototype.toString.call(e).slice(8,-1)}N(Ki,"type");function Ja(){this._key="chai/deep-eql__"+Math.random()+Date.now();}N(Ja,"FakeMap");Ja.prototype={get:N(function(e){return e[this._key]},"get"),set:N(function(e,t){Object.isExtensible(e)&&Object.defineProperty(e,this._key,{value:t,configurable:!0});},"set")};var Dp=typeof WeakMap=="function"?WeakMap:Ja;function Yi(e,t,r){if(!r||Yt(e)||Yt(t))return null;var n=r.get(e);if(n){var o=n.get(t);if(typeof o=="boolean")return o}return null}N(Yi,"memoizeCompare");function Fr(e,t,r,n){if(!(!r||Yt(e)||Yt(t))){var o=r.get(e);o?o.set(t,n):(o=new Dp,o.set(t,n),r.set(e,o));}}N(Fr,"memoizeSet");var kp=mn;function mn(e,t,r){if(r&&r.comparator)return Ji(e,t,r);var n=Xa(e,t);return n!==null?n:Ji(e,t,r)}N(mn,"deepEqual");function Xa(e,t){return e===t?e!==0||1/e===1/t:e!==e&&t!==t?!0:Yt(e)||Yt(t)?!1:null}N(Xa,"simpleEqual");function Ji(e,t,r){r=r||{},r.memoize=r.memoize===!1?!1:r.memoize||new Dp;var n=r&&r.comparator,o=Yi(e,t,r.memoize);if(o!==null)return o;var a=Yi(t,e,r.memoize);if(a!==null)return a;if(n){var i=n(e,t);if(i===!1||i===!0)return Fr(e,t,r.memoize,i),i;var l=Xa(e,t);if(l!==null)return l}var u=Ki(e);if(u!==Ki(t))return Fr(e,t,r.memoize,!1),!1;Fr(e,t,r.memoize,!0);var c=Fp(e,t,u,r);return Fr(e,t,r.memoize,c),c}N(Ji,"extensiveDeepEqual");function Fp(e,t,r,n){switch(r){case"String":case"Number":case"Boolean":case"Date":return mn(e.valueOf(),t.valueOf());case"Promise":case"Symbol":case"function":case"WeakMap":case"WeakSet":return e===t;case"Error":return Qa(e,t,["name","message","code"],n);case"Arguments":case"Int8Array":case"Uint8Array":case"Uint8ClampedArray":case"Int16Array":case"Uint16Array":case"Int32Array":case"Uint32Array":case"Float32Array":case"Float64Array":case"Array":return jt(e,t,n);case"RegExp":return Up(e,t);case"Generator":return Hp(e,t,n);case"DataView":return jt(new Uint8Array(e.buffer),new Uint8Array(t.buffer),n);case"ArrayBuffer":return jt(new Uint8Array(e),new Uint8Array(t),n);case"Set":return Xi(e,t,n);case"Map":return Xi(e,t,n);case"Temporal.PlainDate":case"Temporal.PlainTime":case"Temporal.PlainDateTime":case"Temporal.Instant":case"Temporal.ZonedDateTime":case"Temporal.PlainYearMonth":case"Temporal.PlainMonthDay":return e.equals(t);case"Temporal.Duration":return e.total("nanoseconds")===t.total("nanoseconds");case"Temporal.TimeZone":case"Temporal.Calendar":return e.toString()===t.toString();default:return zp(e,t,n)}}N(Fp,"extensiveDeepEqualByType");function Up(e,t){return e.toString()===t.toString()}N(Up,"regexpEqual");function Xi(e,t,r){if(e.size!==t.size)return !1;if(e.size===0)return !0;var n=[],o=[];return e.forEach(N(function(a,i){n.push([a,i]);},"gatherEntries")),t.forEach(N(function(a,i){o.push([a,i]);},"gatherEntries")),jt(n.sort(),o.sort(),r)}N(Xi,"entriesEqual");function jt(e,t,r){var n=e.length;if(n!==t.length)return !1;if(n===0)return !0;for(var o=-1;++o<n;)if(mn(e[o],t[o],r)===!1)return !1;return !0}N(jt,"iterableEqual");function Hp(e,t,r){return jt(Kn(e),Kn(t),r)}N(Hp,"generatorEqual");function Vp(e){return typeof Symbol<"u"&&typeof e=="object"&&typeof Symbol.iterator<"u"&&typeof e[Symbol.iterator]=="function"}N(Vp,"hasIteratorFunction");function Qi(e){if(Vp(e))try{return Kn(e[Symbol.iterator]())}catch{return []}return []}N(Qi,"getIteratorEntries");function Kn(e){for(var t=e.next(),r=[t.value];t.done===!1;)t=e.next(),r.push(t.value);return r}N(Kn,"getGeneratorEntries");function Zi(e){var t=[];for(var r in e)t.push(r);return t}N(Zi,"getEnumerableKeys");function ea(e){for(var t=[],r=Object.getOwnPropertySymbols(e),n=0;n<r.length;n+=1){var o=r[n];Object.getOwnPropertyDescriptor(e,o).enumerable&&t.push(o);}return t}N(ea,"getEnumerableSymbols");function Qa(e,t,r,n){var o=r.length;if(o===0)return !0;for(var a=0;a<o;a+=1)if(mn(e[r[a]],t[r[a]],n)===!1)return !1;return !0}N(Qa,"keysEqual");function zp(e,t,r){var n=Zi(e),o=Zi(t),a=ea(e),i=ea(t);if(n=n.concat(a),o=o.concat(i),n.length&&n.length===o.length)return jt(ta(n).sort(),ta(o).sort())===!1?!1:Qa(e,t,n,r);var l=Qi(e),u=Qi(t);return l.length&&l.length===u.length?(l.sort(),u.sort(),jt(l,u,r)):n.length===0&&l.length===0&&o.length===0&&u.length===0}N(zp,"objectEqual");function Yt(e){return e===null||typeof e!="object"}N(Yt,"isPrimitive");function ta(e){return e.map(N(function(t){return typeof t=="symbol"?t.toString():t},"mapSymbol"))}N(ta,"mapSymbols");function To(e,t){return typeof e>"u"||e===null?!1:t in Object(e)}N(To,"hasProperty");function Gp(e){return e.replace(/([^\\])\[/g,"$1.[").match(/(\\\.|[^.]+?)+/g).map(t=>{if(t==="constructor"||t==="__proto__"||t==="prototype")return {};let r=/^\[(\d+)\]$/.exec(t),n=null;return r?n={i:parseFloat(r[1])}:n={p:t.replace(/\\([.[\]])/g,"$1")},n})}N(Gp,"parsePath");function ra(e,t,r){let n=e,o=null;r=typeof r>"u"?t.length:r;for(let a=0;a<r;a++){let i=t[a];n&&(typeof i.p>"u"?n=n[i.i]:n=n[i.p],a===r-1&&(o=n));}return o}N(ra,"internalGetPathValue");function Za(e,t){let r=Gp(t),n=r[r.length-1],o={parent:r.length>1?ra(e,r,r.length-1):e,name:n.p||n.i,value:ra(e,r)};return o.exists=To(o.parent,o.name),o}N(Za,"getPathInfo");function P(e,t,r,n){return X(this,"ssfi",r||P),X(this,"lockSsfi",n),X(this,"object",e),X(this,"message",t),X(this,"eql",Be.deepEqual||kp),Mr(this)}N(P,"Assertion");Object.defineProperty(P,"includeStack",{get:function(){return console.warn("Assertion.includeStack is deprecated, use chai.config.includeStack instead."),Be.includeStack},set:function(e){console.warn("Assertion.includeStack is deprecated, use chai.config.includeStack instead."),Be.includeStack=e;}});Object.defineProperty(P,"showDiff",{get:function(){return console.warn("Assertion.showDiff is deprecated, use chai.config.showDiff instead."),Be.showDiff},set:function(e){console.warn("Assertion.showDiff is deprecated, use chai.config.showDiff instead."),Be.showDiff=e;}});P.addProperty=function(e,t){el(this.prototype,e,t);};P.addMethod=function(e,t){tl(this.prototype,e,t);};P.addChainableMethod=function(e,t,r){ol(this.prototype,e,t,r);};P.overwriteProperty=function(e,t){rl(this.prototype,e,t);};P.overwriteMethod=function(e,t){nl(this.prototype,e,t);};P.overwriteChainableMethod=function(e,t,r){il(this.prototype,e,t,r);};P.prototype.assert=function(e,t,r,n,o,a){var i=Wa(this,arguments);if(a!==!1&&(a=!0),n===void 0&&o===void 0&&(a=!1),Be.showDiff!==!0&&(a=!1),!i){t=Ya(this,arguments);var l=Co(this,arguments),u={actual:l,expected:n,showDiff:a},c=sl(this,arguments);throw c&&(u.operator=c),new ce(t,u,Be.includeStack?this.assert:X(this,"ssfi"))}};Object.defineProperty(P.prototype,"_obj",{get:function(){return X(this,"object")},set:function(e){X(this,"object",e);}});function hn(){return Be.useProxy&&typeof Proxy<"u"&&typeof Reflect<"u"}N(hn,"isProxyEnabled");function el(e,t,r){r=r===void 0?function(){}:r,Object.defineProperty(e,t,{get:N(function n(){!hn()&&!X(this,"lockSsfi")&&X(this,"ssfi",n);var o=r.call(this);if(o!==void 0)return o;var a=new P;return tt(this,a),a},"propertyGetter"),configurable:!0});}N(el,"addProperty");var XC=Object.getOwnPropertyDescriptor(function(){},"length");function bn(e,t,r){return XC.configurable&&Object.defineProperty(e,"length",{get:function(){throw Error(r?"Invalid Chai property: "+t+'.length. Due to a compatibility issue, "length" cannot directly follow "'+t+'". Use "'+t+'.lengthOf" instead.':"Invalid Chai property: "+t+'.length. See docs for proper usage of "'+t+'".')}}),e}N(bn,"addLengthGuard");function Wp(e){var t=Object.getOwnPropertyNames(e);function r(o){t.indexOf(o)===-1&&t.push(o);}N(r,"addProperty");for(var n=Object.getPrototypeOf(e);n!==null;)Object.getOwnPropertyNames(n).forEach(r),n=Object.getPrototypeOf(n);return t}N(Wp,"getProperties");var zu=["__flags","__methods","_obj","assert"];function Mr(e,t){return hn()?new Proxy(e,{get:N(function r(n,o){if(typeof o=="string"&&Be.proxyExcludedKeys.indexOf(o)===-1&&!Reflect.has(n,o)){if(t)throw Error("Invalid Chai property: "+t+"."+o+'. See docs for proper usage of "'+t+'".');var a=null,i=4;throw Wp(n).forEach(function(l){if(!Object.prototype.hasOwnProperty(l)&&zu.indexOf(l)===-1){var u=Kp(o,l,i);u<i&&(a=l,i=u);}}),Error(a!==null?"Invalid Chai property: "+o+'. Did you mean "'+a+'"?':"Invalid Chai property: "+o)}return zu.indexOf(o)===-1&&!X(n,"lockSsfi")&&X(n,"ssfi",r),Reflect.get(n,o)},"proxyGetter")}):e}N(Mr,"proxify");function Kp(e,t,r){if(Math.abs(e.length-t.length)>=r)return r;for(var n=[],o=0;o<=e.length;o++)n[o]=Array(t.length+1).fill(0),n[o][0]=o;for(var a=0;a<t.length;a++)n[0][a]=a;for(var o=1;o<=e.length;o++)for(var i=e.charCodeAt(o-1),a=1;a<=t.length;a++){if(Math.abs(o-a)>=r){n[o][a]=r;continue}n[o][a]=Math.min(n[o-1][a]+1,n[o][a-1]+1,n[o-1][a-1]+(i===t.charCodeAt(a-1)?0:1));}return n[e.length][t.length]}N(Kp,"stringDistanceCapped");function tl(e,t,r){var n=N(function(){X(this,"lockSsfi")||X(this,"ssfi",n);var o=r.apply(this,arguments);if(o!==void 0)return o;var a=new P;return tt(this,a),a},"methodWrapper");bn(n,t,!1),e[t]=Mr(n,t);}N(tl,"addMethod");function rl(e,t,r){var n=Object.getOwnPropertyDescriptor(e,t),o=N(function(){},"_super");n&&typeof n.get=="function"&&(o=n.get),Object.defineProperty(e,t,{get:N(function a(){!hn()&&!X(this,"lockSsfi")&&X(this,"ssfi",a);var i=X(this,"lockSsfi");X(this,"lockSsfi",!0);var l=r(o).call(this);if(X(this,"lockSsfi",i),l!==void 0)return l;var u=new P;return tt(this,u),u},"overwritingPropertyGetter"),configurable:!0});}N(rl,"overwriteProperty");function nl(e,t,r){var n=e[t],o=N(function(){throw new Error(t+" is not a function")},"_super");n&&typeof n=="function"&&(o=n);var a=N(function(){X(this,"lockSsfi")||X(this,"ssfi",a);var i=X(this,"lockSsfi");X(this,"lockSsfi",!0);var l=r(o).apply(this,arguments);if(X(this,"lockSsfi",i),l!==void 0)return l;var u=new P;return tt(this,u),u},"overwritingMethodWrapper");bn(a,t,!1),e[t]=Mr(a,t);}N(nl,"overwriteMethod");var QC=typeof Object.setPrototypeOf=="function",Gu=N(function(){},"testFn"),ZC=Object.getOwnPropertyNames(Gu).filter(function(e){var t=Object.getOwnPropertyDescriptor(Gu,e);return typeof t!="object"?!0:!t.configurable}),eT=Function.prototype.call,tT=Function.prototype.apply;function ol(e,t,r,n){typeof n!="function"&&(n=N(function(){},"chainingBehavior"));var o={method:r,chainingBehavior:n};e.__methods||(e.__methods={}),e.__methods[t]=o,Object.defineProperty(e,t,{get:N(function(){o.chainingBehavior.call(this);var a=N(function(){X(this,"lockSsfi")||X(this,"ssfi",a);var u=o.method.apply(this,arguments);if(u!==void 0)return u;var c=new P;return tt(this,c),c},"chainableMethodWrapper");if(bn(a,t,!0),QC){var i=Object.create(this);i.call=eT,i.apply=tT,Object.setPrototypeOf(a,i);}else {var l=Object.getOwnPropertyNames(e);l.forEach(function(u){if(ZC.indexOf(u)===-1){var c=Object.getOwnPropertyDescriptor(e,u);Object.defineProperty(a,u,c);}});}return tt(this,a),Mr(a)},"chainableMethodGetter"),configurable:!0});}N(ol,"addChainableMethod");function il(e,t,r,n){var o=e.__methods[t],a=o.chainingBehavior;o.chainingBehavior=N(function(){var l=n(a).call(this);if(l!==void 0)return l;var u=new P;return tt(this,u),u},"overwritingChainableMethodGetter");var i=o.method;o.method=N(function(){var l=r(i).apply(this,arguments);if(l!==void 0)return l;var u=new P;return tt(this,u),u},"overwritingChainableMethodWrapper");}N(il,"overwriteChainableMethod");function Yn(e,t){return te(e)<te(t)?-1:1}N(Yn,"compareByInspect");function al(e){return typeof Object.getOwnPropertySymbols!="function"?[]:Object.getOwnPropertySymbols(e).filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})}N(al,"getOwnEnumerablePropertySymbols");function ll(e){return Object.keys(e).concat(al(e))}N(ll,"getOwnEnumerableProperties");function Yp(e){return e!==e}N(Yp,"_isNaN");var Jn=Number.isNaN||Yp;function Jp(e){var t=me(e),r=["Array","Object","Function"];return r.indexOf(t)!==-1}N(Jp,"isObjectType");function sl(e,t){var r=X(e,"operator"),n=X(e,"negate"),o=t[3],a=n?t[2]:t[1];if(r)return r;if(typeof a=="function"&&(a=a()),a=a||"",!!a&&!/\shave\s/.test(a)){var i=Jp(o);return /\snot\s/.test(a)?i?"notDeepStrictEqual":"notStrictEqual":i?"deepStrictEqual":"strictEqual"}}N(sl,"getOperator");function Ro(e){return e.name}N(Ro,"getName");function Xn(e){return Object.prototype.toString.call(e)==="[object RegExp]"}N(Xn,"isRegExp");var{flag:q}=lt;["to","be","been","is","and","has","have","with","that","which","at","of","same","but","does","still","also"].forEach(function(e){P.addProperty(e);});P.addProperty("not",function(){q(this,"negate",!0);});P.addProperty("deep",function(){q(this,"deep",!0);});P.addProperty("nested",function(){q(this,"nested",!0);});P.addProperty("own",function(){q(this,"own",!0);});P.addProperty("ordered",function(){q(this,"ordered",!0);});P.addProperty("any",function(){q(this,"any",!0),q(this,"all",!1);});P.addProperty("all",function(){q(this,"all",!0),q(this,"any",!1);});var Wu={function:["function","asyncfunction","generatorfunction","asyncgeneratorfunction"],asyncfunction:["asyncfunction","asyncgeneratorfunction"],generatorfunction:["generatorfunction","asyncgeneratorfunction"],asyncgeneratorfunction:["asyncgeneratorfunction"]};function ul(e,t){t&&q(this,"message",t),e=e.toLowerCase();var r=q(this,"object"),n=~["a","e","i","o","u"].indexOf(e.charAt(0))?"an ":"a ";let o=me(r).toLowerCase();Wu.function.includes(e)?this.assert(Wu[e].includes(o),"expected #{this} to be "+n+e,"expected #{this} not to be "+n+e):this.assert(e===o,"expected #{this} to be "+n+e,"expected #{this} not to be "+n+e);}N(ul,"an");P.addChainableMethod("an",ul);P.addChainableMethod("a",ul);function Xp(e,t){return Jn(e)&&Jn(t)||e===t}N(Xp,"SameValueZero");function gn(){q(this,"contains",!0);}N(gn,"includeChainingBehavior");function yn(e,t){t&&q(this,"message",t);var r=q(this,"object"),n=me(r).toLowerCase(),o=q(this,"message"),a=q(this,"negate"),i=q(this,"ssfi"),l=q(this,"deep"),u=l?"deep ":"",c=l?q(this,"eql"):Xp;o=o?o+": ":"";var s=!1;switch(n){case"string":s=r.indexOf(e)!==-1;break;case"weakset":if(l)throw new ce(o+"unable to use .deep.include with WeakSet",void 0,i);s=r.has(e);break;case"map":r.forEach(function(m){s=s||c(m,e);});break;case"set":l?r.forEach(function(m){s=s||c(m,e);}):s=r.has(e);break;case"array":l?s=r.some(function(m){return c(m,e)}):s=r.indexOf(e)!==-1;break;default:if(e!==Object(e))throw new ce(o+"the given combination of arguments ("+n+" and "+me(e).toLowerCase()+") is invalid for this assertion. You can use an array, a map, an object, a set, a string, or a weakset instead of a "+me(e).toLowerCase(),void 0,i);var d=Object.keys(e),f=null,p=0;if(d.forEach(function(m){var h=new P(r);if(tt(this,h,!0),q(h,"lockSsfi",!0),!a||d.length===1){h.property(m,e[m]);return}try{h.property(m,e[m]);}catch(b){if(!ke.compatibleConstructor(b,ce))throw b;f===null&&(f=b),p++;}},this),a&&d.length>1&&p===d.length)throw f;return}this.assert(s,"expected #{this} to "+u+"include "+te(e),"expected #{this} to not "+u+"include "+te(e));}N(yn,"include");P.addChainableMethod("include",yn,gn);P.addChainableMethod("contain",yn,gn);P.addChainableMethod("contains",yn,gn);P.addChainableMethod("includes",yn,gn);P.addProperty("ok",function(){this.assert(q(this,"object"),"expected #{this} to be truthy","expected #{this} to be falsy");});P.addProperty("true",function(){this.assert(q(this,"object")===!0,"expected #{this} to be true","expected #{this} to be false",!q(this,"negate"));});P.addProperty("callable",function(){let e=q(this,"object"),t=q(this,"ssfi"),r=q(this,"message"),n=r?`${r}: `:"",o=q(this,"negate"),a=o?`${n}expected ${te(e)} not to be a callable function`:`${n}expected ${te(e)} to be a callable function`,i=["Function","AsyncFunction","GeneratorFunction","AsyncGeneratorFunction"].includes(me(e));if(i&&o||!i&&!o)throw new ce(a,void 0,t)});P.addProperty("false",function(){this.assert(q(this,"object")===!1,"expected #{this} to be false","expected #{this} to be true",!!q(this,"negate"));});P.addProperty("null",function(){this.assert(q(this,"object")===null,"expected #{this} to be null","expected #{this} not to be null");});P.addProperty("undefined",function(){this.assert(q(this,"object")===void 0,"expected #{this} to be undefined","expected #{this} not to be undefined");});P.addProperty("NaN",function(){this.assert(Jn(q(this,"object")),"expected #{this} to be NaN","expected #{this} not to be NaN");});function cl(){var e=q(this,"object");this.assert(e!=null,"expected #{this} to exist","expected #{this} to not exist");}N(cl,"assertExist");P.addProperty("exist",cl);P.addProperty("exists",cl);P.addProperty("empty",function(){var e=q(this,"object"),t=q(this,"ssfi"),r=q(this,"message"),n;switch(r=r?r+": ":"",me(e).toLowerCase()){case"array":case"string":n=e.length;break;case"map":case"set":n=e.size;break;case"weakmap":case"weakset":throw new ce(r+".empty was passed a weak collection",void 0,t);case"function":var o=r+".empty was passed a function "+Ro(e);throw new ce(o.trim(),void 0,t);default:if(e!==Object(e))throw new ce(r+".empty was passed non-string primitive "+te(e),void 0,t);n=Object.keys(e).length;}this.assert(n===0,"expected #{this} to be empty","expected #{this} not to be empty");});function dl(){var e=q(this,"object"),t=me(e);this.assert(t==="Arguments","expected #{this} to be arguments but got "+t,"expected #{this} to not be arguments");}N(dl,"checkArguments");P.addProperty("arguments",dl);P.addProperty("Arguments",dl);function So(e,t){t&&q(this,"message",t);var r=q(this,"object");if(q(this,"deep")){var n=q(this,"lockSsfi");q(this,"lockSsfi",!0),this.eql(e),q(this,"lockSsfi",n);}else this.assert(e===r,"expected #{this} to equal #{exp}","expected #{this} to not equal #{exp}",e,this._obj,!0);}N(So,"assertEqual");P.addMethod("equal",So);P.addMethod("equals",So);P.addMethod("eq",So);function pl(e,t){t&&q(this,"message",t);var r=q(this,"eql");this.assert(r(e,q(this,"object")),"expected #{this} to deeply equal #{exp}","expected #{this} to not deeply equal #{exp}",e,this._obj,!0);}N(pl,"assertEql");P.addMethod("eql",pl);P.addMethod("eqls",pl);function Po(e,t){t&&q(this,"message",t);var r=q(this,"object"),n=q(this,"doLength"),o=q(this,"message"),a=o?o+": ":"",i=q(this,"ssfi"),l=me(r).toLowerCase(),u=me(e).toLowerCase(),c,s=!0;if(n&&l!=="map"&&l!=="set"&&new P(r,o,i,!0).to.have.property("length"),!n&&l==="date"&&u!=="date")c=a+"the argument to above must be a date";else if(u!=="number"&&(n||l==="number"))c=a+"the argument to above must be a number";else if(!n&&l!=="date"&&l!=="number"){var d=l==="string"?"'"+r+"'":r;c=a+"expected "+d+" to be a number or a date";}else s=!1;if(s)throw new ce(c,void 0,i);if(n){var f="length",p;l==="map"||l==="set"?(f="size",p=r.size):p=r.length,this.assert(p>e,"expected #{this} to have a "+f+" above #{exp} but got #{act}","expected #{this} to not have a "+f+" above #{exp}",e,p);}else this.assert(r>e,"expected #{this} to be above #{exp}","expected #{this} to be at most #{exp}",e);}N(Po,"assertAbove");P.addMethod("above",Po);P.addMethod("gt",Po);P.addMethod("greaterThan",Po);function Oo(e,t){t&&q(this,"message",t);var r=q(this,"object"),n=q(this,"doLength"),o=q(this,"message"),a=o?o+": ":"",i=q(this,"ssfi"),l=me(r).toLowerCase(),u=me(e).toLowerCase(),c,s=!0;if(n&&l!=="map"&&l!=="set"&&new P(r,o,i,!0).to.have.property("length"),!n&&l==="date"&&u!=="date")c=a+"the argument to least must be a date";else if(u!=="number"&&(n||l==="number"))c=a+"the argument to least must be a number";else if(!n&&l!=="date"&&l!=="number"){var d=l==="string"?"'"+r+"'":r;c=a+"expected "+d+" to be a number or a date";}else s=!1;if(s)throw new ce(c,void 0,i);if(n){var f="length",p;l==="map"||l==="set"?(f="size",p=r.size):p=r.length,this.assert(p>=e,"expected #{this} to have a "+f+" at least #{exp} but got #{act}","expected #{this} to have a "+f+" below #{exp}",e,p);}else this.assert(r>=e,"expected #{this} to be at least #{exp}","expected #{this} to be below #{exp}",e);}N(Oo,"assertLeast");P.addMethod("least",Oo);P.addMethod("gte",Oo);P.addMethod("greaterThanOrEqual",Oo);function Ao(e,t){t&&q(this,"message",t);var r=q(this,"object"),n=q(this,"doLength"),o=q(this,"message"),a=o?o+": ":"",i=q(this,"ssfi"),l=me(r).toLowerCase(),u=me(e).toLowerCase(),c,s=!0;if(n&&l!=="map"&&l!=="set"&&new P(r,o,i,!0).to.have.property("length"),!n&&l==="date"&&u!=="date")c=a+"the argument to below must be a date";else if(u!=="number"&&(n||l==="number"))c=a+"the argument to below must be a number";else if(!n&&l!=="date"&&l!=="number"){var d=l==="string"?"'"+r+"'":r;c=a+"expected "+d+" to be a number or a date";}else s=!1;if(s)throw new ce(c,void 0,i);if(n){var f="length",p;l==="map"||l==="set"?(f="size",p=r.size):p=r.length,this.assert(p<e,"expected #{this} to have a "+f+" below #{exp} but got #{act}","expected #{this} to not have a "+f+" below #{exp}",e,p);}else this.assert(r<e,"expected #{this} to be below #{exp}","expected #{this} to be at least #{exp}",e);}N(Ao,"assertBelow");P.addMethod("below",Ao);P.addMethod("lt",Ao);P.addMethod("lessThan",Ao);function qo(e,t){t&&q(this,"message",t);var r=q(this,"object"),n=q(this,"doLength"),o=q(this,"message"),a=o?o+": ":"",i=q(this,"ssfi"),l=me(r).toLowerCase(),u=me(e).toLowerCase(),c,s=!0;if(n&&l!=="map"&&l!=="set"&&new P(r,o,i,!0).to.have.property("length"),!n&&l==="date"&&u!=="date")c=a+"the argument to most must be a date";else if(u!=="number"&&(n||l==="number"))c=a+"the argument to most must be a number";else if(!n&&l!=="date"&&l!=="number"){var d=l==="string"?"'"+r+"'":r;c=a+"expected "+d+" to be a number or a date";}else s=!1;if(s)throw new ce(c,void 0,i);if(n){var f="length",p;l==="map"||l==="set"?(f="size",p=r.size):p=r.length,this.assert(p<=e,"expected #{this} to have a "+f+" at most #{exp} but got #{act}","expected #{this} to have a "+f+" above #{exp}",e,p);}else this.assert(r<=e,"expected #{this} to be at most #{exp}","expected #{this} to be above #{exp}",e);}N(qo,"assertMost");P.addMethod("most",qo);P.addMethod("lte",qo);P.addMethod("lessThanOrEqual",qo);P.addMethod("within",function(e,t,r){r&&q(this,"message",r);var n=q(this,"object"),o=q(this,"doLength"),a=q(this,"message"),i=a?a+": ":"",l=q(this,"ssfi"),u=me(n).toLowerCase(),c=me(e).toLowerCase(),s=me(t).toLowerCase(),d,f=!0,p=c==="date"&&s==="date"?e.toISOString()+".."+t.toISOString():e+".."+t;if(o&&u!=="map"&&u!=="set"&&new P(n,a,l,!0).to.have.property("length"),!o&&u==="date"&&(c!=="date"||s!=="date"))d=i+"the arguments to within must be dates";else if((c!=="number"||s!=="number")&&(o||u==="number"))d=i+"the arguments to within must be numbers";else if(!o&&u!=="date"&&u!=="number"){var m=u==="string"?"'"+n+"'":n;d=i+"expected "+m+" to be a number or a date";}else f=!1;if(f)throw new ce(d,void 0,l);if(o){var h="length",b;u==="map"||u==="set"?(h="size",b=n.size):b=n.length,this.assert(b>=e&&b<=t,"expected #{this} to have a "+h+" within "+p,"expected #{this} to not have a "+h+" within "+p);}else this.assert(n>=e&&n<=t,"expected #{this} to be within "+p,"expected #{this} to not be within "+p);});function fl(e,t){t&&q(this,"message",t);var r=q(this,"object"),n=q(this,"ssfi"),o=q(this,"message");try{var a=r instanceof e;}catch(l){throw l instanceof TypeError?(o=o?o+": ":"",new ce(o+"The instanceof assertion needs a constructor but "+me(e)+" was given.",void 0,n)):l}var i=Ro(e);i==null&&(i="an unnamed constructor"),this.assert(a,"expected #{this} to be an instance of "+i,"expected #{this} to not be an instance of "+i);}N(fl,"assertInstanceOf");P.addMethod("instanceof",fl);P.addMethod("instanceOf",fl);function ml(e,t,r){r&&q(this,"message",r);var n=q(this,"nested"),o=q(this,"own"),a=q(this,"message"),i=q(this,"object"),l=q(this,"ssfi"),u=typeof e;if(a=a?a+": ":"",n){if(u!=="string")throw new ce(a+"the argument to property must be a string when using nested syntax",void 0,l)}else if(u!=="string"&&u!=="number"&&u!=="symbol")throw new ce(a+"the argument to property must be a string, number, or symbol",void 0,l);if(n&&o)throw new ce(a+'The "nested" and "own" flags cannot be combined.',void 0,l);if(i==null)throw new ce(a+"Target cannot be null or undefined.",void 0,l);var c=q(this,"deep"),s=q(this,"negate"),d=n?Za(i,e):null,f=n?d.value:i[e],p=c?q(this,"eql"):(b,g)=>b===g,m="";c&&(m+="deep "),o&&(m+="own "),n&&(m+="nested "),m+="property ";var h;o?h=Object.prototype.hasOwnProperty.call(i,e):n?h=d.exists:h=To(i,e),(!s||arguments.length===1)&&this.assert(h,"expected #{this} to have "+m+te(e),"expected #{this} to not have "+m+te(e)),arguments.length>1&&this.assert(h&&p(t,f),"expected #{this} to have "+m+te(e)+" of #{exp}, but got #{act}","expected #{this} to not have "+m+te(e)+" of #{act}",t,f),q(this,"object",f);}N(ml,"assertProperty");P.addMethod("property",ml);function hl(e,t,r){q(this,"own",!0),ml.apply(this,arguments);}N(hl,"assertOwnProperty");P.addMethod("ownProperty",hl);P.addMethod("haveOwnProperty",hl);function bl(e,t,r){typeof t=="string"&&(r=t,t=null),r&&q(this,"message",r);var n=q(this,"object"),o=Object.getOwnPropertyDescriptor(Object(n),e),a=q(this,"eql");o&&t?this.assert(a(t,o),"expected the own property descriptor for "+te(e)+" on #{this} to match "+te(t)+", got "+te(o),"expected the own property descriptor for "+te(e)+" on #{this} to not match "+te(t),t,o,!0):this.assert(o,"expected #{this} to have an own property descriptor for "+te(e),"expected #{this} to not have an own property descriptor for "+te(e)),q(this,"object",o);}N(bl,"assertOwnPropertyDescriptor");P.addMethod("ownPropertyDescriptor",bl);P.addMethod("haveOwnPropertyDescriptor",bl);function gl(){q(this,"doLength",!0);}N(gl,"assertLengthChain");function yl(e,t){t&&q(this,"message",t);var r=q(this,"object"),n=me(r).toLowerCase(),o=q(this,"message"),a=q(this,"ssfi"),i="length",l;switch(n){case"map":case"set":i="size",l=r.size;break;default:new P(r,o,a,!0).to.have.property("length"),l=r.length;}this.assert(l==e,"expected #{this} to have a "+i+" of #{exp} but got #{act}","expected #{this} to not have a "+i+" of #{act}",e,l);}N(yl,"assertLength");P.addChainableMethod("length",yl,gl);P.addChainableMethod("lengthOf",yl,gl);function vl(e,t){t&&q(this,"message",t);var r=q(this,"object");this.assert(e.exec(r),"expected #{this} to match "+e,"expected #{this} not to match "+e);}N(vl,"assertMatch");P.addMethod("match",vl);P.addMethod("matches",vl);P.addMethod("string",function(e,t){t&&q(this,"message",t);var r=q(this,"object"),n=q(this,"message"),o=q(this,"ssfi");new P(r,n,o,!0).is.a("string"),this.assert(~r.indexOf(e),"expected #{this} to contain "+te(e),"expected #{this} to not contain "+te(e));});function _l(e){var t=q(this,"object"),r=me(t),n=me(e),o=q(this,"ssfi"),a=q(this,"deep"),i,l="",u,c=!0,s=q(this,"message");s=s?s+": ":"";var d=s+"when testing keys against an object or an array you must give a single Array|Object|String argument or multiple String arguments";if(r==="Map"||r==="Set")l=a?"deeply ":"",u=[],t.forEach(function(y,T){u.push(T);}),n!=="Array"&&(e=Array.prototype.slice.call(arguments));else {switch(u=ll(t),n){case"Array":if(arguments.length>1)throw new ce(d,void 0,o);break;case"Object":if(arguments.length>1)throw new ce(d,void 0,o);e=Object.keys(e);break;default:e=Array.prototype.slice.call(arguments);}e=e.map(function(y){return typeof y=="symbol"?y:String(y)});}if(!e.length)throw new ce(s+"keys required",void 0,o);var f=e.length,p=q(this,"any"),m=q(this,"all"),h=e,b=a?q(this,"eql"):(y,T)=>y===T;if(!p&&!m&&(m=!0),p&&(c=h.some(function(y){return u.some(function(T){return b(y,T)})})),m&&(c=h.every(function(y){return u.some(function(T){return b(y,T)})}),q(this,"contains")||(c=c&&e.length==u.length)),f>1){e=e.map(function(y){return te(y)});var g=e.pop();m&&(i=e.join(", ")+", and "+g),p&&(i=e.join(", ")+", or "+g);}else i=te(e[0]);i=(f>1?"keys ":"key ")+i,i=(q(this,"contains")?"contain ":"have ")+i,this.assert(c,"expected #{this} to "+l+i,"expected #{this} to not "+l+i,h.slice(0).sort(Yn),u.sort(Yn),!0);}N(_l,"assertKeys");P.addMethod("keys",_l);P.addMethod("key",_l);function xo(e,t,r){r&&q(this,"message",r);var n=q(this,"object"),o=q(this,"ssfi"),a=q(this,"message"),i=q(this,"negate")||!1;new P(n,a,o,!0).is.a("function"),(Xn(e)||typeof e=="string")&&(t=e,e=null);let l,u=!1;try{n();}catch(y){u=!0,l=y;}var c=e===void 0&&t===void 0,s=!!(e&&t),d=!1,f=!1;if(c||!c&&!i){var p="an error";e instanceof Error?p="#{exp}":e&&(p=ke.getConstructorName(e));let y=l;if(l instanceof Error)y=l.toString();else if(typeof l=="string")y=l;else if(l&&(typeof l=="object"||typeof l=="function"))try{y=ke.getConstructorName(l);}catch{}this.assert(u,"expected #{this} to throw "+p,"expected #{this} to not throw an error but #{act} was thrown",e&&e.toString(),y);}if(e&&l){if(e instanceof Error){var m=ke.compatibleInstance(l,e);m===i&&(s&&i?d=!0:this.assert(i,"expected #{this} to throw #{exp} but #{act} was thrown","expected #{this} to not throw #{exp}"+(l&&!i?" but #{act} was thrown":""),e.toString(),l.toString()));}var h=ke.compatibleConstructor(l,e);h===i&&(s&&i?d=!0:this.assert(i,"expected #{this} to throw #{exp} but #{act} was thrown","expected #{this} to not throw #{exp}"+(l?" but #{act} was thrown":""),e instanceof Error?e.toString():e&&ke.getConstructorName(e),l instanceof Error?l.toString():l&&ke.getConstructorName(l)));}if(l&&t!==void 0&&t!==null){var b="including";Xn(t)&&(b="matching");var g=ke.compatibleMessage(l,t);g===i&&(s&&i?f=!0:this.assert(i,"expected #{this} to throw error "+b+" #{exp} but got #{act}","expected #{this} to throw error not "+b+" #{exp}",t,ke.getMessage(l)));}d&&f&&this.assert(i,"expected #{this} to throw #{exp} but #{act} was thrown","expected #{this} to not throw #{exp}"+(l?" but #{act} was thrown":""),e instanceof Error?e.toString():e&&ke.getConstructorName(e),l instanceof Error?l.toString():l&&ke.getConstructorName(l)),q(this,"object",l);}N(xo,"assertThrows");P.addMethod("throw",xo);P.addMethod("throws",xo);P.addMethod("Throw",xo);function El(e,t){t&&q(this,"message",t);var r=q(this,"object"),n=q(this,"itself"),o=typeof r=="function"&&!n?r.prototype[e]:r[e];this.assert(typeof o=="function","expected #{this} to respond to "+te(e),"expected #{this} to not respond to "+te(e));}N(El,"respondTo");P.addMethod("respondTo",El);P.addMethod("respondsTo",El);P.addProperty("itself",function(){q(this,"itself",!0);});function wl(e,t){t&&q(this,"message",t);var r=q(this,"object"),n=e(r);this.assert(n,"expected #{this} to satisfy "+Gt(e),"expected #{this} to not satisfy"+Gt(e),!q(this,"negate"),n);}N(wl,"satisfy");P.addMethod("satisfy",wl);P.addMethod("satisfies",wl);function Cl(e,t,r){r&&q(this,"message",r);var n=q(this,"object"),o=q(this,"message"),a=q(this,"ssfi");if(new P(n,o,a,!0).is.a("number"),typeof e!="number"||typeof t!="number"){o=o?o+": ":"";var i=t===void 0?", and a delta is required":"";throw new ce(o+"the arguments to closeTo or approximately must be numbers"+i,void 0,a)}this.assert(Math.abs(n-e)<=t,"expected #{this} to be close to "+e+" +/- "+t,"expected #{this} not to be close to "+e+" +/- "+t);}N(Cl,"closeTo");P.addMethod("closeTo",Cl);P.addMethod("approximately",Cl);function Qp(e,t,r,n,o){let a=Array.from(t),i=Array.from(e);if(!n){if(i.length!==a.length)return !1;a=a.slice();}return i.every(function(l,u){if(o)return r?r(l,a[u]):l===a[u];if(!r){var c=a.indexOf(l);return c===-1?!1:(n||a.splice(c,1),!0)}return a.some(function(s,d){return r(l,s)?(n||a.splice(d,1),!0):!1})})}N(Qp,"isSubsetOf");P.addMethod("members",function(e,t){t&&q(this,"message",t);var r=q(this,"object"),n=q(this,"message"),o=q(this,"ssfi");new P(r,n,o,!0).to.be.iterable,new P(e,n,o,!0).to.be.iterable;var a=q(this,"contains"),i=q(this,"ordered"),l,u,c;a?(l=i?"an ordered superset":"a superset",u="expected #{this} to be "+l+" of #{exp}",c="expected #{this} to not be "+l+" of #{exp}"):(l=i?"ordered members":"members",u="expected #{this} to have the same "+l+" as #{exp}",c="expected #{this} to not have the same "+l+" as #{exp}");var s=q(this,"deep")?q(this,"eql"):void 0;this.assert(Qp(e,r,s,a,i),u,c,e,r,!0);});P.addProperty("iterable",function(e){e&&q(this,"message",e);var t=q(this,"object");this.assert(t!=null&&t[Symbol.iterator],"expected #{this} to be an iterable","expected #{this} to not be an iterable",t);});function Zp(e,t){t&&q(this,"message",t);var r=q(this,"object"),n=q(this,"message"),o=q(this,"ssfi"),a=q(this,"contains"),i=q(this,"deep"),l=q(this,"eql");new P(e,n,o,!0).to.be.an("array"),a?this.assert(e.some(function(u){return r.indexOf(u)>-1}),"expected #{this} to contain one of #{exp}","expected #{this} to not contain one of #{exp}",e,r):i?this.assert(e.some(function(u){return l(r,u)}),"expected #{this} to deeply equal one of #{exp}","expected #{this} to deeply equal one of #{exp}",e,r):this.assert(e.indexOf(r)>-1,"expected #{this} to be one of #{exp}","expected #{this} to not be one of #{exp}",e,r);}N(Zp,"oneOf");P.addMethod("oneOf",Zp);function Tl(e,t,r){r&&q(this,"message",r);var n=q(this,"object"),o=q(this,"message"),a=q(this,"ssfi");new P(n,o,a,!0).is.a("function");var i;t?(new P(e,o,a,!0).to.have.property(t),i=e[t]):(new P(e,o,a,!0).is.a("function"),i=e()),n();var l=t==null?e():e[t],u=t==null?i:"."+t;q(this,"deltaMsgObj",u),q(this,"initialDeltaValue",i),q(this,"finalDeltaValue",l),q(this,"deltaBehavior","change"),q(this,"realDelta",l!==i),this.assert(i!==l,"expected "+u+" to change","expected "+u+" to not change");}N(Tl,"assertChanges");P.addMethod("change",Tl);P.addMethod("changes",Tl);function Rl(e,t,r){r&&q(this,"message",r);var n=q(this,"object"),o=q(this,"message"),a=q(this,"ssfi");new P(n,o,a,!0).is.a("function");var i;t?(new P(e,o,a,!0).to.have.property(t),i=e[t]):(new P(e,o,a,!0).is.a("function"),i=e()),new P(i,o,a,!0).is.a("number"),n();var l=t==null?e():e[t],u=t==null?i:"."+t;q(this,"deltaMsgObj",u),q(this,"initialDeltaValue",i),q(this,"finalDeltaValue",l),q(this,"deltaBehavior","increase"),q(this,"realDelta",l-i),this.assert(l-i>0,"expected "+u+" to increase","expected "+u+" to not increase");}N(Rl,"assertIncreases");P.addMethod("increase",Rl);P.addMethod("increases",Rl);function Sl(e,t,r){r&&q(this,"message",r);var n=q(this,"object"),o=q(this,"message"),a=q(this,"ssfi");new P(n,o,a,!0).is.a("function");var i;t?(new P(e,o,a,!0).to.have.property(t),i=e[t]):(new P(e,o,a,!0).is.a("function"),i=e()),new P(i,o,a,!0).is.a("number"),n();var l=t==null?e():e[t],u=t==null?i:"."+t;q(this,"deltaMsgObj",u),q(this,"initialDeltaValue",i),q(this,"finalDeltaValue",l),q(this,"deltaBehavior","decrease"),q(this,"realDelta",i-l),this.assert(l-i<0,"expected "+u+" to decrease","expected "+u+" to not decrease");}N(Sl,"assertDecreases");P.addMethod("decrease",Sl);P.addMethod("decreases",Sl);function ef(e,t){t&&q(this,"message",t);var r=q(this,"deltaMsgObj"),n=q(this,"initialDeltaValue"),o=q(this,"finalDeltaValue"),a=q(this,"deltaBehavior"),i=q(this,"realDelta"),l;a==="change"?l=Math.abs(o-n)===Math.abs(e):l=i===Math.abs(e),this.assert(l,"expected "+r+" to "+a+" by "+e,"expected "+r+" to not "+a+" by "+e);}N(ef,"assertDelta");P.addMethod("by",ef);P.addProperty("extensible",function(){var e=q(this,"object"),t=e===Object(e)&&Object.isExtensible(e);this.assert(t,"expected #{this} to be extensible","expected #{this} to not be extensible");});P.addProperty("sealed",function(){var e=q(this,"object"),t=e===Object(e)?Object.isSealed(e):!0;this.assert(t,"expected #{this} to be sealed","expected #{this} to not be sealed");});P.addProperty("frozen",function(){var e=q(this,"object"),t=e===Object(e)?Object.isFrozen(e):!0;this.assert(t,"expected #{this} to be frozen","expected #{this} to not be frozen");});P.addProperty("finite",function(e){var t=q(this,"object");this.assert(typeof t=="number"&&isFinite(t),"expected #{this} to be a finite number","expected #{this} to not be a finite number");});function Wt(e,t){return new P(e,t)}N(Wt,"expect");Wt.fail=function(e,t,r,n){throw arguments.length<2&&(r=e,e=void 0),r=r||"expect.fail()",new ce(r,{actual:e,expected:t,operator:n},Wt.fail)};var tf={};Ga(tf,{Should:()=>nT,should:()=>rT});function Pl(){function e(){return this instanceof String||this instanceof Number||this instanceof Boolean||typeof Symbol=="function"&&this instanceof Symbol||typeof BigInt=="function"&&this instanceof BigInt?new P(this.valueOf(),null,e):new P(this,null,e)}N(e,"shouldGetter");function t(n){Object.defineProperty(this,"should",{value:n,enumerable:!0,configurable:!0,writable:!0});}N(t,"shouldSetter"),Object.defineProperty(Object.prototype,"should",{set:t,get:e,configurable:!0});var r={};return r.fail=function(n,o,a,i){throw arguments.length<2&&(a=n,n=void 0),a=a||"should.fail()",new ce(a,{actual:n,expected:o,operator:i},r.fail)},r.equal=function(n,o,a){new P(n,a).to.equal(o);},r.Throw=function(n,o,a,i){new P(n,i).to.Throw(o,a);},r.exist=function(n,o){new P(n,o).to.exist;},r.not={},r.not.equal=function(n,o,a){new P(n,a).to.not.equal(o);},r.not.Throw=function(n,o,a,i){new P(n,i).to.not.Throw(o,a);},r.not.exist=function(n,o){new P(n,o).to.not.exist;},r.throw=r.Throw,r.not.throw=r.not.Throw,r}N(Pl,"loadShould");var rT=Pl,nT=Pl;function S(e,t){var r=new P(null,null,S,!0);r.assert(e,t,"[ negation message unavailable ]");}N(S,"assert");S.fail=function(e,t,r,n){throw arguments.length<2&&(r=e,e=void 0),r=r||"assert.fail()",new ce(r,{actual:e,expected:t,operator:n},S.fail)};S.isOk=function(e,t){new P(e,t,S.isOk,!0).is.ok;};S.isNotOk=function(e,t){new P(e,t,S.isNotOk,!0).is.not.ok;};S.equal=function(e,t,r){var n=new P(e,r,S.equal,!0);n.assert(t==X(n,"object"),"expected #{this} to equal #{exp}","expected #{this} to not equal #{act}",t,e,!0);};S.notEqual=function(e,t,r){var n=new P(e,r,S.notEqual,!0);n.assert(t!=X(n,"object"),"expected #{this} to not equal #{exp}","expected #{this} to equal #{act}",t,e,!0);};S.strictEqual=function(e,t,r){new P(e,r,S.strictEqual,!0).to.equal(t);};S.notStrictEqual=function(e,t,r){new P(e,r,S.notStrictEqual,!0).to.not.equal(t);};S.deepEqual=S.deepStrictEqual=function(e,t,r){new P(e,r,S.deepEqual,!0).to.eql(t);};S.notDeepEqual=function(e,t,r){new P(e,r,S.notDeepEqual,!0).to.not.eql(t);};S.isAbove=function(e,t,r){new P(e,r,S.isAbove,!0).to.be.above(t);};S.isAtLeast=function(e,t,r){new P(e,r,S.isAtLeast,!0).to.be.least(t);};S.isBelow=function(e,t,r){new P(e,r,S.isBelow,!0).to.be.below(t);};S.isAtMost=function(e,t,r){new P(e,r,S.isAtMost,!0).to.be.most(t);};S.isTrue=function(e,t){new P(e,t,S.isTrue,!0).is.true;};S.isNotTrue=function(e,t){new P(e,t,S.isNotTrue,!0).to.not.equal(!0);};S.isFalse=function(e,t){new P(e,t,S.isFalse,!0).is.false;};S.isNotFalse=function(e,t){new P(e,t,S.isNotFalse,!0).to.not.equal(!1);};S.isNull=function(e,t){new P(e,t,S.isNull,!0).to.equal(null);};S.isNotNull=function(e,t){new P(e,t,S.isNotNull,!0).to.not.equal(null);};S.isNaN=function(e,t){new P(e,t,S.isNaN,!0).to.be.NaN;};S.isNotNaN=function(e,t){new P(e,t,S.isNotNaN,!0).not.to.be.NaN;};S.exists=function(e,t){new P(e,t,S.exists,!0).to.exist;};S.notExists=function(e,t){new P(e,t,S.notExists,!0).to.not.exist;};S.isUndefined=function(e,t){new P(e,t,S.isUndefined,!0).to.equal(void 0);};S.isDefined=function(e,t){new P(e,t,S.isDefined,!0).to.not.equal(void 0);};S.isCallable=function(e,t){new P(e,t,S.isCallable,!0).is.callable;};S.isNotCallable=function(e,t){new P(e,t,S.isNotCallable,!0).is.not.callable;};S.isObject=function(e,t){new P(e,t,S.isObject,!0).to.be.a("object");};S.isNotObject=function(e,t){new P(e,t,S.isNotObject,!0).to.not.be.a("object");};S.isArray=function(e,t){new P(e,t,S.isArray,!0).to.be.an("array");};S.isNotArray=function(e,t){new P(e,t,S.isNotArray,!0).to.not.be.an("array");};S.isString=function(e,t){new P(e,t,S.isString,!0).to.be.a("string");};S.isNotString=function(e,t){new P(e,t,S.isNotString,!0).to.not.be.a("string");};S.isNumber=function(e,t){new P(e,t,S.isNumber,!0).to.be.a("number");};S.isNotNumber=function(e,t){new P(e,t,S.isNotNumber,!0).to.not.be.a("number");};S.isFinite=function(e,t){new P(e,t,S.isFinite,!0).to.be.finite;};S.isBoolean=function(e,t){new P(e,t,S.isBoolean,!0).to.be.a("boolean");};S.isNotBoolean=function(e,t){new P(e,t,S.isNotBoolean,!0).to.not.be.a("boolean");};S.typeOf=function(e,t,r){new P(e,r,S.typeOf,!0).to.be.a(t);};S.notTypeOf=function(e,t,r){new P(e,r,S.notTypeOf,!0).to.not.be.a(t);};S.instanceOf=function(e,t,r){new P(e,r,S.instanceOf,!0).to.be.instanceOf(t);};S.notInstanceOf=function(e,t,r){new P(e,r,S.notInstanceOf,!0).to.not.be.instanceOf(t);};S.include=function(e,t,r){new P(e,r,S.include,!0).include(t);};S.notInclude=function(e,t,r){new P(e,r,S.notInclude,!0).not.include(t);};S.deepInclude=function(e,t,r){new P(e,r,S.deepInclude,!0).deep.include(t);};S.notDeepInclude=function(e,t,r){new P(e,r,S.notDeepInclude,!0).not.deep.include(t);};S.nestedInclude=function(e,t,r){new P(e,r,S.nestedInclude,!0).nested.include(t);};S.notNestedInclude=function(e,t,r){new P(e,r,S.notNestedInclude,!0).not.nested.include(t);};S.deepNestedInclude=function(e,t,r){new P(e,r,S.deepNestedInclude,!0).deep.nested.include(t);};S.notDeepNestedInclude=function(e,t,r){new P(e,r,S.notDeepNestedInclude,!0).not.deep.nested.include(t);};S.ownInclude=function(e,t,r){new P(e,r,S.ownInclude,!0).own.include(t);};S.notOwnInclude=function(e,t,r){new P(e,r,S.notOwnInclude,!0).not.own.include(t);};S.deepOwnInclude=function(e,t,r){new P(e,r,S.deepOwnInclude,!0).deep.own.include(t);};S.notDeepOwnInclude=function(e,t,r){new P(e,r,S.notDeepOwnInclude,!0).not.deep.own.include(t);};S.match=function(e,t,r){new P(e,r,S.match,!0).to.match(t);};S.notMatch=function(e,t,r){new P(e,r,S.notMatch,!0).to.not.match(t);};S.property=function(e,t,r){new P(e,r,S.property,!0).to.have.property(t);};S.notProperty=function(e,t,r){new P(e,r,S.notProperty,!0).to.not.have.property(t);};S.propertyVal=function(e,t,r,n){new P(e,n,S.propertyVal,!0).to.have.property(t,r);};S.notPropertyVal=function(e,t,r,n){new P(e,n,S.notPropertyVal,!0).to.not.have.property(t,r);};S.deepPropertyVal=function(e,t,r,n){new P(e,n,S.deepPropertyVal,!0).to.have.deep.property(t,r);};S.notDeepPropertyVal=function(e,t,r,n){new P(e,n,S.notDeepPropertyVal,!0).to.not.have.deep.property(t,r);};S.ownProperty=function(e,t,r){new P(e,r,S.ownProperty,!0).to.have.own.property(t);};S.notOwnProperty=function(e,t,r){new P(e,r,S.notOwnProperty,!0).to.not.have.own.property(t);};S.ownPropertyVal=function(e,t,r,n){new P(e,n,S.ownPropertyVal,!0).to.have.own.property(t,r);};S.notOwnPropertyVal=function(e,t,r,n){new P(e,n,S.notOwnPropertyVal,!0).to.not.have.own.property(t,r);};S.deepOwnPropertyVal=function(e,t,r,n){new P(e,n,S.deepOwnPropertyVal,!0).to.have.deep.own.property(t,r);};S.notDeepOwnPropertyVal=function(e,t,r,n){new P(e,n,S.notDeepOwnPropertyVal,!0).to.not.have.deep.own.property(t,r);};S.nestedProperty=function(e,t,r){new P(e,r,S.nestedProperty,!0).to.have.nested.property(t);};S.notNestedProperty=function(e,t,r){new P(e,r,S.notNestedProperty,!0).to.not.have.nested.property(t);};S.nestedPropertyVal=function(e,t,r,n){new P(e,n,S.nestedPropertyVal,!0).to.have.nested.property(t,r);};S.notNestedPropertyVal=function(e,t,r,n){new P(e,n,S.notNestedPropertyVal,!0).to.not.have.nested.property(t,r);};S.deepNestedPropertyVal=function(e,t,r,n){new P(e,n,S.deepNestedPropertyVal,!0).to.have.deep.nested.property(t,r);};S.notDeepNestedPropertyVal=function(e,t,r,n){new P(e,n,S.notDeepNestedPropertyVal,!0).to.not.have.deep.nested.property(t,r);};S.lengthOf=function(e,t,r){new P(e,r,S.lengthOf,!0).to.have.lengthOf(t);};S.hasAnyKeys=function(e,t,r){new P(e,r,S.hasAnyKeys,!0).to.have.any.keys(t);};S.hasAllKeys=function(e,t,r){new P(e,r,S.hasAllKeys,!0).to.have.all.keys(t);};S.containsAllKeys=function(e,t,r){new P(e,r,S.containsAllKeys,!0).to.contain.all.keys(t);};S.doesNotHaveAnyKeys=function(e,t,r){new P(e,r,S.doesNotHaveAnyKeys,!0).to.not.have.any.keys(t);};S.doesNotHaveAllKeys=function(e,t,r){new P(e,r,S.doesNotHaveAllKeys,!0).to.not.have.all.keys(t);};S.hasAnyDeepKeys=function(e,t,r){new P(e,r,S.hasAnyDeepKeys,!0).to.have.any.deep.keys(t);};S.hasAllDeepKeys=function(e,t,r){new P(e,r,S.hasAllDeepKeys,!0).to.have.all.deep.keys(t);};S.containsAllDeepKeys=function(e,t,r){new P(e,r,S.containsAllDeepKeys,!0).to.contain.all.deep.keys(t);};S.doesNotHaveAnyDeepKeys=function(e,t,r){new P(e,r,S.doesNotHaveAnyDeepKeys,!0).to.not.have.any.deep.keys(t);};S.doesNotHaveAllDeepKeys=function(e,t,r){new P(e,r,S.doesNotHaveAllDeepKeys,!0).to.not.have.all.deep.keys(t);};S.throws=function(e,t,r,n){(typeof t=="string"||t instanceof RegExp)&&(r=t,t=null);var o=new P(e,n,S.throws,!0).to.throw(t,r);return X(o,"object")};S.doesNotThrow=function(e,t,r,n){(typeof t=="string"||t instanceof RegExp)&&(r=t,t=null),new P(e,n,S.doesNotThrow,!0).to.not.throw(t,r);};S.operator=function(e,t,r,n){var o;switch(t){case"==":o=e==r;break;case"===":o=e===r;break;case">":o=e>r;break;case">=":o=e>=r;break;case"<":o=e<r;break;case"<=":o=e<=r;break;case"!=":o=e!=r;break;case"!==":o=e!==r;break;default:throw n=n&&n+": ",new ce(n+'Invalid operator "'+t+'"',void 0,S.operator)}var a=new P(o,n,S.operator,!0);a.assert(X(a,"object")===!0,"expected "+te(e)+" to be "+t+" "+te(r),"expected "+te(e)+" to not be "+t+" "+te(r));};S.closeTo=function(e,t,r,n){new P(e,n,S.closeTo,!0).to.be.closeTo(t,r);};S.approximately=function(e,t,r,n){new P(e,n,S.approximately,!0).to.be.approximately(t,r);};S.sameMembers=function(e,t,r){new P(e,r,S.sameMembers,!0).to.have.same.members(t);};S.notSameMembers=function(e,t,r){new P(e,r,S.notSameMembers,!0).to.not.have.same.members(t);};S.sameDeepMembers=function(e,t,r){new P(e,r,S.sameDeepMembers,!0).to.have.same.deep.members(t);};S.notSameDeepMembers=function(e,t,r){new P(e,r,S.notSameDeepMembers,!0).to.not.have.same.deep.members(t);};S.sameOrderedMembers=function(e,t,r){new P(e,r,S.sameOrderedMembers,!0).to.have.same.ordered.members(t);};S.notSameOrderedMembers=function(e,t,r){new P(e,r,S.notSameOrderedMembers,!0).to.not.have.same.ordered.members(t);};S.sameDeepOrderedMembers=function(e,t,r){new P(e,r,S.sameDeepOrderedMembers,!0).to.have.same.deep.ordered.members(t);};S.notSameDeepOrderedMembers=function(e,t,r){new P(e,r,S.notSameDeepOrderedMembers,!0).to.not.have.same.deep.ordered.members(t);};S.includeMembers=function(e,t,r){new P(e,r,S.includeMembers,!0).to.include.members(t);};S.notIncludeMembers=function(e,t,r){new P(e,r,S.notIncludeMembers,!0).to.not.include.members(t);};S.includeDeepMembers=function(e,t,r){new P(e,r,S.includeDeepMembers,!0).to.include.deep.members(t);};S.notIncludeDeepMembers=function(e,t,r){new P(e,r,S.notIncludeDeepMembers,!0).to.not.include.deep.members(t);};S.includeOrderedMembers=function(e,t,r){new P(e,r,S.includeOrderedMembers,!0).to.include.ordered.members(t);};S.notIncludeOrderedMembers=function(e,t,r){new P(e,r,S.notIncludeOrderedMembers,!0).to.not.include.ordered.members(t);};S.includeDeepOrderedMembers=function(e,t,r){new P(e,r,S.includeDeepOrderedMembers,!0).to.include.deep.ordered.members(t);};S.notIncludeDeepOrderedMembers=function(e,t,r){new P(e,r,S.notIncludeDeepOrderedMembers,!0).to.not.include.deep.ordered.members(t);};S.oneOf=function(e,t,r){new P(e,r,S.oneOf,!0).to.be.oneOf(t);};S.isIterable=function(e,t){if(e==null||!e[Symbol.iterator])throw t=t?`${t} expected ${te(e)} to be an iterable`:`expected ${te(e)} to be an iterable`,new ce(t,void 0,S.isIterable)};S.changes=function(e,t,r,n){arguments.length===3&&typeof t=="function"&&(n=r,r=null),new P(e,n,S.changes,!0).to.change(t,r);};S.changesBy=function(e,t,r,n,o){if(arguments.length===4&&typeof t=="function"){var a=n;n=r,o=a;}else arguments.length===3&&(n=r,r=null);new P(e,o,S.changesBy,!0).to.change(t,r).by(n);};S.doesNotChange=function(e,t,r,n){return arguments.length===3&&typeof t=="function"&&(n=r,r=null),new P(e,n,S.doesNotChange,!0).to.not.change(t,r)};S.changesButNotBy=function(e,t,r,n,o){if(arguments.length===4&&typeof t=="function"){var a=n;n=r,o=a;}else arguments.length===3&&(n=r,r=null);new P(e,o,S.changesButNotBy,!0).to.change(t,r).but.not.by(n);};S.increases=function(e,t,r,n){return arguments.length===3&&typeof t=="function"&&(n=r,r=null),new P(e,n,S.increases,!0).to.increase(t,r)};S.increasesBy=function(e,t,r,n,o){if(arguments.length===4&&typeof t=="function"){var a=n;n=r,o=a;}else arguments.length===3&&(n=r,r=null);new P(e,o,S.increasesBy,!0).to.increase(t,r).by(n);};S.doesNotIncrease=function(e,t,r,n){return arguments.length===3&&typeof t=="function"&&(n=r,r=null),new P(e,n,S.doesNotIncrease,!0).to.not.increase(t,r)};S.increasesButNotBy=function(e,t,r,n,o){if(arguments.length===4&&typeof t=="function"){var a=n;n=r,o=a;}else arguments.length===3&&(n=r,r=null);new P(e,o,S.increasesButNotBy,!0).to.increase(t,r).but.not.by(n);};S.decreases=function(e,t,r,n){return arguments.length===3&&typeof t=="function"&&(n=r,r=null),new P(e,n,S.decreases,!0).to.decrease(t,r)};S.decreasesBy=function(e,t,r,n,o){if(arguments.length===4&&typeof t=="function"){var a=n;n=r,o=a;}else arguments.length===3&&(n=r,r=null);new P(e,o,S.decreasesBy,!0).to.decrease(t,r).by(n);};S.doesNotDecrease=function(e,t,r,n){return arguments.length===3&&typeof t=="function"&&(n=r,r=null),new P(e,n,S.doesNotDecrease,!0).to.not.decrease(t,r)};S.doesNotDecreaseBy=function(e,t,r,n,o){if(arguments.length===4&&typeof t=="function"){var a=n;n=r,o=a;}else arguments.length===3&&(n=r,r=null);return new P(e,o,S.doesNotDecreaseBy,!0).to.not.decrease(t,r).by(n)};S.decreasesButNotBy=function(e,t,r,n,o){if(arguments.length===4&&typeof t=="function"){var a=n;n=r,o=a;}else arguments.length===3&&(n=r,r=null);new P(e,o,S.decreasesButNotBy,!0).to.decrease(t,r).but.not.by(n);};S.ifError=function(e){if(e)throw e};S.isExtensible=function(e,t){new P(e,t,S.isExtensible,!0).to.be.extensible;};S.isNotExtensible=function(e,t){new P(e,t,S.isNotExtensible,!0).to.not.be.extensible;};S.isSealed=function(e,t){new P(e,t,S.isSealed,!0).to.be.sealed;};S.isNotSealed=function(e,t){new P(e,t,S.isNotSealed,!0).to.not.be.sealed;};S.isFrozen=function(e,t){new P(e,t,S.isFrozen,!0).to.be.frozen;};S.isNotFrozen=function(e,t){new P(e,t,S.isNotFrozen,!0).to.not.be.frozen;};S.isEmpty=function(e,t){new P(e,t,S.isEmpty,!0).to.be.empty;};S.isNotEmpty=function(e,t){new P(e,t,S.isNotEmpty,!0).to.not.be.empty;};N(function e(t,r){return S[r]=S[t],e},"alias")("isOk","ok")("isNotOk","notOk")("throws","throw")("throws","Throw")("isExtensible","extensible")("isNotExtensible","notExtensible")("isSealed","sealed")("isNotSealed","notSealed")("isFrozen","frozen")("isNotFrozen","notFrozen")("isEmpty","empty")("isNotEmpty","notEmpty")("isCallable","isFunction")("isNotCallable","isNotFunction");var Ku=[];function Gr(e){let t={AssertionError:ce,util:lt,config:Be,expect:Wt,assert:S,Assertion:P,...tf};return ~Ku.indexOf(e)||(e(t,lt),Ku.push(e)),t}N(Gr,"use");var rf={};mo(rf,{toBeChecked:()=>zf,toBeDisabled:()=>Bf,toBeEmpty:()=>wf,toBeEmptyDOMElement:()=>Cf,toBeEnabled:()=>Lf,toBeInTheDOM:()=>ia,toBeInTheDocument:()=>Ef,toBeInvalid:()=>Ff,toBePartiallyChecked:()=>Wf,toBeRequired:()=>Df,toBeValid:()=>Uf,toBeVisible:()=>Mf,toContainElement:()=>aa,toContainHTML:()=>Tf,toHaveAccessibleDescription:()=>la,toHaveAccessibleErrorMessage:()=>Sf,toHaveAccessibleName:()=>ua,toHaveAttribute:()=>Pf,toHaveClass:()=>Of,toHaveDescription:()=>Kf,toHaveDisplayValue:()=>Vf,toHaveErrorMessage:()=>Yf,toHaveFocus:()=>Af,toHaveFormValues:()=>qf,toHaveRole:()=>sa,toHaveStyle:()=>ca,toHaveTextContent:()=>Rf,toHaveValue:()=>Hf});var Yu=Ue(Yd(),1);function nf(e){Object.defineProperty(e,"__esModule",{value:!0,configurable:!0});}function Ol(e,t,r,n){Object.defineProperty(e,t,{get:r,set:n,enumerable:!0,configurable:!0});}var of={};nf(of);Ol(of,"default",()=>af);var af=class extends Error{constructor(e,t,r,n,o){super(e+":"+r+":"+n+": "+t),this.reason=t,this.filename=e,this.line=r,this.column=n,this.source=o;}},lf={};nf(lf);Ol(lf,"default",()=>sf);var sf=class{constructor(e,t,r){this.start=e,this.end=t,this.source=r;}},oT={};Ol(oT,"CssTypes",()=>Te);var Te;(function(e){e.stylesheet="stylesheet",e.rule="rule",e.declaration="declaration",e.comment="comment",e.container="container",e.charset="charset",e.document="document",e.customMedia="custom-media",e.fontFace="font-face",e.host="host",e.import="import",e.keyframes="keyframes",e.keyframe="keyframe",e.layer="layer",e.media="media",e.namespace="namespace",e.page="page",e.startingStyle="starting-style",e.supports="supports";})(Te||(Te={}));var Ri=/\/\*[^]*?(?:\*\/|$)/g,iT=(e,t)=>{t=t||{};let r=1,n=1;function o(F){let L=F.match(/\n/g);L&&(r+=L.length);let k=F.lastIndexOf(`
69
- `);n=~k?F.length-k:n+F.length;}function a(){let F={line:r,column:n};return function(L){return L.position=new sf(F,{line:r,column:n},t?.source||""),p(),L}}let i=[];function l(F){let L=new af(t?.source||"",F,r,n,e);if(t?.silent)i.push(L);else throw L}function u(){let F=d();return {type:Te.stylesheet,stylesheet:{source:t?.source,rules:F,parsingErrors:i}}}function c(){return f(/^{\s*/)}function s(){return f(/^}/)}function d(){let F,L=[];for(p(),m(L);e.length&&e.charAt(0)!=="}"&&(F=be()||pe());)F&&(L.push(F),m(L));return L}function f(F){let L=F.exec(e);if(!L)return;let k=L[0];return o(k),e=e.slice(k.length),L}function p(){f(/^\s*/);}function m(F){let L;for(F=F||[];L=h();)L&&F.push(L);return F}function h(){let F=a();if(e.charAt(0)!=="/"||e.charAt(1)!=="*")return;let L=f(/^\/\*[^]*?\*\//);return L?F({type:Te.comment,comment:L[0].slice(2,-2)}):l("End of comment missing")}function b(F,L,k){let G=L+1,Y=!1,oe=F.indexOf(")",G);for(;!Y&&oe!==-1;){let he=F.indexOf("(",G);he!==-1&&he<oe?(G=b(F,he+1)+1,oe=F.indexOf(")",G)):Y=!0;}return Y&&oe!==-1?oe:-1}function g(){let F=f(/^([^{]+)/);if(!F)return;let L=Ve(F[0]).replace(Ri,"");if(L.indexOf(",")===-1)return [L];let k=0,G=L.indexOf("(",k);for(;G!==-1;){let Y=b(L,G);if(Y===-1)break;k=Y+1,L=L.substring(0,G)+L.substring(G,Y).replace(/,/g,"\u200C")+L.substring(Y),G=L.indexOf("(",k);}return L=L.replace(/("|')(?:\\\1|.)*?\1/g,Y=>Y.replace(/,/g,"\u200C")),L.split(",").map(Y=>Ve(Y.replace(/\u200C/g,",")))}function y(){let F=a(),L=f(/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/);if(!L)return;let k=Ve(L[0]);if(!f(/^:\s*/))return l("property missing ':'");let G=f(/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/),Y=F({type:Te.declaration,property:k.replace(Ri,""),value:G?Ve(G[0]).replace(Ri,""):""});return f(/^[;\s]*/),Y}function T(){let F=[];if(!c())return l("missing '{'");m(F);let L;for(;L=y();)L&&(F.push(L),m(F));return s()?F:l("missing '}'")}function C(){let F,L=[],k=a();for(;F=f(/^((\d+\.\d+|\.\d+|\d+)%?|[a-z]+)\s*/);)L.push(F[1]),f(/^,\s*/);if(L.length)return k({type:Te.keyframe,values:L,declarations:T()||[]})}function E(){let F=a(),L=f(/^@([-\w]+)?keyframes\s*/);if(!L)return;let k=L[1],G=f(/^([-\w]+)\s*/);if(!G)return l("@keyframes missing name");let Y=G[1];if(!c())return l("@keyframes missing '{'");let oe,he=m();for(;oe=C();)he.push(oe),he=he.concat(m());return s()?F({type:Te.keyframes,name:Y,vendor:k,keyframes:he}):l("@keyframes missing '}'")}function w(){let F=a(),L=f(/^@supports *([^{]+)/);if(!L)return;let k=Ve(L[1]);if(!c())return l("@supports missing '{'");let G=m().concat(d());return s()?F({type:Te.supports,supports:k,rules:G}):l("@supports missing '}'")}function _(){let F=a();if(!f(/^@host\s*/))return;if(!c())return l("@host missing '{'");let L=m().concat(d());return s()?F({type:Te.host,rules:L}):l("@host missing '}'")}function v(){let F=a(),L=f(/^@container *([^{]+)/);if(!L)return;let k=Ve(L[1]);if(!c())return l("@container missing '{'");let G=m().concat(d());return s()?F({type:Te.container,container:k,rules:G}):l("@container missing '}'")}function O(){let F=a(),L=f(/^@layer *([^{;@]+)/);if(!L)return;let k=Ve(L[1]);if(!c())return f(/^[;\s]*/),F({type:Te.layer,layer:k});let G=m().concat(d());return s()?F({type:Te.layer,layer:k,rules:G}):l("@layer missing '}'")}function A(){let F=a(),L=f(/^@media *([^{]+)/);if(!L)return;let k=Ve(L[1]);if(!c())return l("@media missing '{'");let G=m().concat(d());return s()?F({type:Te.media,media:k,rules:G}):l("@media missing '}'")}function I(){let F=a(),L=f(/^@custom-media\s+(--\S+)\s*([^{;\s][^{;]*);/);if(L)return F({type:Te.customMedia,name:Ve(L[1]),media:Ve(L[2])})}function D(){let F=a();if(!f(/^@page */))return;let L=g()||[];if(!c())return l("@page missing '{'");let k=m(),G;for(;G=y();)k.push(G),k=k.concat(m());return s()?F({type:Te.page,selectors:L,declarations:k}):l("@page missing '}'")}function $(){let F=a(),L=f(/^@([-\w]+)?document *([^{]+)/);if(!L)return;let k=Ve(L[1]),G=Ve(L[2]);if(!c())return l("@document missing '{'");let Y=m().concat(d());return s()?F({type:Te.document,document:G,vendor:k,rules:Y}):l("@document missing '}'")}function x(){let F=a();if(!f(/^@font-face\s*/))return;if(!c())return l("@font-face missing '{'");let L=m(),k;for(;k=y();)L.push(k),L=L.concat(m());return s()?F({type:Te.fontFace,declarations:L}):l("@font-face missing '}'")}function B(){let F=a();if(!f(/^@starting-style\s*/))return;if(!c())return l("@starting-style missing '{'");let L=m().concat(d());return s()?F({type:Te.startingStyle,rules:L}):l("@starting-style missing '}'")}let V=ne("import"),K=ne("charset"),W=ne("namespace");function ne(F){let L=new RegExp("^@"+F+`\\s*((?::?[^;'"]|"(?:\\\\"|[^"])*?"|'(?:\\\\'|[^'])*?')+)(?:;|$)`);return function(){let k=a(),G=f(L);if(!G)return;let Y={type:F};return Y[F]=G[1].trim(),k(Y)}}function be(){if(e[0]==="@")return E()||A()||I()||w()||V()||K()||W()||$()||D()||_()||x()||v()||B()||O()}function pe(){let F=a(),L=g();return L?(m(),F({type:Te.rule,selectors:L,declarations:T()||[]})):l("selector missing")}return na(u())};function Ve(e){return e?e.trim():""}function na(e,t){let r=e&&typeof e.type=="string",n=r?e:t;for(let o in e){let a=e[o];Array.isArray(a)?a.forEach(i=>{na(i,n);}):a&&typeof a=="object"&&na(a,n);}return r&&Object.defineProperty(e,"parent",{configurable:!0,writable:!0,enumerable:!1,value:t||null}),e}var aT=iT,lT=aT,sT=Object.prototype.toString;function Ju(e){return typeof e=="function"||sT.call(e)==="[object Function]"}function uT(e){var t=Number(e);return isNaN(t)?0:t===0||!isFinite(t)?t:(t>0?1:-1)*Math.floor(Math.abs(t))}var cT=Math.pow(2,53)-1;function dT(e){var t=uT(e);return Math.min(Math.max(t,0),cT)}function Qe(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");for(var o=dT(n.length),a=Ju(r)?Object(new r(o)):new Array(o),i=0,l;i<o;)l=n[i],a[i]=l,i+=1;return a.length=o,a}function Jr(e){"@babel/helpers - typeof";return Jr=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},Jr(e)}function pT(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Xu(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,uf(n.key),n);}}function fT(e,t,r){return t&&Xu(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function mT(e,t,r){return t=uf(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function uf(e){var t=hT(e,"string");return Jr(t)==="symbol"?t:String(t)}function hT(e,t){if(Jr(e)!=="object"||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t||"default");if(Jr(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return (t==="string"?String:Number)(e)}var bT=function(){function e(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];pT(this,e),mT(this,"items",void 0),this.items=t;}return fT(e,[{key:"add",value:function(t){return this.has(t)===!1&&this.items.push(t),this}},{key:"clear",value:function(){this.items=[];}},{key:"delete",value:function(t){var r=this.items.length;return this.items=this.items.filter(function(n){return n!==t}),r!==this.items.length}},{key:"forEach",value:function(t){var r=this;this.items.forEach(function(n){t(n,n,r);});}},{key:"has",value:function(t){return this.items.indexOf(t)!==-1}},{key:"size",get:function(){return this.items.length}}]),e}(),gT=typeof Set>"u"?Set:bT;function Me(e){var t;return (t=e.localName)!==null&&t!==void 0?t:e.tagName.toLowerCase()}var yT={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"},vT={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"]),none: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 _T(e,t){return ["aria-atomic","aria-busy","aria-controls","aria-current","aria-description","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=vT[t])!==null&&n!==void 0&&n.has(r))})}function cf(e,t){return _T(e,t)}function ET(e){var t=CT(e);if(t===null||oa.indexOf(t)!==-1){var r=wT(e);if(oa.indexOf(t||"")===-1||cf(e,r||""))return r}return t}function wT(e){var t=yT[Me(e)];if(t!==void 0)return t;switch(Me(e)){case"a":case"area":case"link":if(e.hasAttribute("href"))return "link";break;case"img":return e.getAttribute("alt")===""&&!cf(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 CT(e){var t=e.getAttribute("role");if(t!==null){var r=t.trim().split(" ")[0];if(r.length>0)return r}return null}var oa=["presentation","none"];function ge(e){return e!==null&&e.nodeType===e.ELEMENT_NODE}function df(e){return ge(e)&&Me(e)==="caption"}function Ln(e){return ge(e)&&Me(e)==="input"}function TT(e){return ge(e)&&Me(e)==="optgroup"}function RT(e){return ge(e)&&Me(e)==="select"}function ST(e){return ge(e)&&Me(e)==="table"}function PT(e){return ge(e)&&Me(e)==="textarea"}function OT(e){var t=e.ownerDocument===null?e:e.ownerDocument,r=t.defaultView;if(r===null)throw new TypeError("no window available");return r}function AT(e){return ge(e)&&Me(e)==="fieldset"}function qT(e){return ge(e)&&Me(e)==="legend"}function xT(e){return ge(e)&&Me(e)==="slot"}function MT(e){return ge(e)&&e.ownerSVGElement!==void 0}function NT(e){return ge(e)&&Me(e)==="svg"}function jT(e){return MT(e)&&Me(e)==="title"}function Qn(e,t){if(ge(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 bt(e,t){return ge(e)?t.indexOf(ET(e))!==-1:!1}function IT(e){return e.trim().replace(/\s\s+/g," ")}function $T(e,t){if(!ge(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 BT(e){return bt(e,["button","combobox","listbox","textbox"])||pf(e,"range")}function pf(e,t){if(!ge(e))return !1;switch(t){case"range":return bt(e,["meter","progressbar","scrollbar","slider","spinbutton"]);default:throw new TypeError("No knowledge about abstract role '".concat(t,"'. This is likely a bug :("))}}function Qu(e,t){var r=Qe(e.querySelectorAll(t));return Qn(e,"aria-owns").forEach(function(n){r.push.apply(r,Qe(n.querySelectorAll(t)));}),r}function LT(e){return RT(e)?e.selectedOptions||Qu(e,"[selected]"):Qu(e,'[aria-selected="true"]')}function DT(e){return bt(e,oa)}function kT(e){return df(e)}function FT(e){return bt(e,["button","cell","checkbox","columnheader","gridcell","heading","label","legend","link","menuitem","menuitemcheckbox","menuitemradio","option","radio","row","rowheader","switch","tab","tooltip","treeitem"])}function UT(e){return !1}function HT(e){return Ln(e)||PT(e)?e.value:e.textContent||""}function Zu(e){var t=e.getPropertyValue("content");return /^["'].*["']$/.test(t)?t.slice(1,-1):""}function ff(e){var t=Me(e);return t==="button"||t==="input"&&e.getAttribute("type")!=="hidden"||t==="meter"||t==="output"||t==="progress"||t==="select"||t==="textarea"}function mf(e){if(ff(e))return e;var t=null;return e.childNodes.forEach(function(r){if(t===null&&ge(r)){var n=mf(r);n!==null&&(t=n);}}),t}function VT(e){if(e.control!==void 0)return e.control;var t=e.getAttribute("for");return t!==null?e.ownerDocument.getElementById(t):mf(e)}function zT(e){var t=e.labels;if(t===null)return t;if(t!==void 0)return Qe(t);if(!ff(e))return null;var r=e.ownerDocument;return Qe(r.querySelectorAll("label")).filter(function(n){return VT(n)===e})}function GT(e){var t=e.assignedNodes();return t.length===0?Qe(e.childNodes):t}function hf(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=new gT,n=OT(e),o=t.compute,a=o===void 0?"name":o,i=t.computedStyleSupportsPseudoElements,l=i===void 0?t.getComputedStyle!==void 0:i,u=t.getComputedStyle,c=u===void 0?n.getComputedStyle.bind(n):u,s=t.hidden,d=s===void 0?!1:s;function f(g,y){var T="";if(ge(g)&&l){var C=c(g,"::before"),E=Zu(C);T="".concat(E," ").concat(T);}var w=xT(g)?GT(g):Qe(g.childNodes).concat(Qn(g,"aria-owns"));if(w.forEach(function(O){var A=b(O,{isEmbeddedInLabel:y.isEmbeddedInLabel,isReferenced:!1,recursion:!0}),I=ge(O)?c(O).getPropertyValue("display"):"inline",D=I!=="inline"?" ":"";T+="".concat(D).concat(A).concat(D);}),ge(g)&&l){var _=c(g,"::after"),v=Zu(_);T="".concat(T," ").concat(v);}return T.trim()}function p(g,y){var T=g.getAttributeNode(y);return T!==null&&!r.has(T)&&T.value.trim()!==""?(r.add(T),T.value):null}function m(g){return ge(g)?p(g,"title"):null}function h(g){if(!ge(g))return null;if(AT(g)){r.add(g);for(var y=Qe(g.childNodes),T=0;T<y.length;T+=1){var C=y[T];if(qT(C))return b(C,{isEmbeddedInLabel:!1,isReferenced:!1,recursion:!1})}}else if(ST(g)){r.add(g);for(var E=Qe(g.childNodes),w=0;w<E.length;w+=1){var _=E[w];if(df(_))return b(_,{isEmbeddedInLabel:!1,isReferenced:!1,recursion:!1})}}else if(NT(g)){r.add(g);for(var v=Qe(g.childNodes),O=0;O<v.length;O+=1){var A=v[O];if(jT(A))return A.textContent}return null}else if(Me(g)==="img"||Me(g)==="area"){var I=p(g,"alt");if(I!==null)return I}else if(TT(g)){var D=p(g,"label");if(D!==null)return D}if(Ln(g)&&(g.type==="button"||g.type==="submit"||g.type==="reset")){var $=p(g,"value");if($!==null)return $;if(g.type==="submit")return "Submit";if(g.type==="reset")return "Reset"}var x=zT(g);if(x!==null&&x.length!==0)return r.add(g),Qe(x).map(function(W){return b(W,{isEmbeddedInLabel:!0,isReferenced:!1,recursion:!0})}).filter(function(W){return W.length>0}).join(" ");if(Ln(g)&&g.type==="image"){var B=p(g,"alt");if(B!==null)return B;var V=p(g,"title");return V!==null?V:"Submit Query"}if(bt(g,["button"])){var K=f(g,{isEmbeddedInLabel:!1,isReferenced:!1});if(K!=="")return K}return null}function b(g,y){if(r.has(g))return "";if(!d&&$T(g,c)&&!y.isReferenced)return r.add(g),"";var T=ge(g)?g.getAttributeNode("aria-labelledby"):null,C=T!==null&&!r.has(T)?Qn(g,"aria-labelledby"):[];if(a==="name"&&!y.isReferenced&&C.length>0)return r.add(T),C.map(function(I){return b(I,{isEmbeddedInLabel:y.isEmbeddedInLabel,isReferenced:!0,recursion:!1})}).join(" ");var E=y.recursion&&BT(g)&&a==="name";if(!E){var w=(ge(g)&&g.getAttribute("aria-label")||"").trim();if(w!==""&&a==="name")return r.add(g),w;if(!DT(g)){var _=h(g);if(_!==null)return r.add(g),_}}if(bt(g,["menu"]))return r.add(g),"";if(E||y.isEmbeddedInLabel||y.isReferenced){if(bt(g,["combobox","listbox"])){r.add(g);var v=LT(g);return v.length===0?Ln(g)?g.value:"":Qe(v).map(function(I){return b(I,{isEmbeddedInLabel:y.isEmbeddedInLabel,isReferenced:!1,recursion:!0})}).join(" ")}if(pf(g,"range"))return r.add(g),g.hasAttribute("aria-valuetext")?g.getAttribute("aria-valuetext"):g.hasAttribute("aria-valuenow")?g.getAttribute("aria-valuenow"):g.getAttribute("value")||"";if(bt(g,["textbox"]))return r.add(g),HT(g)}if(FT(g)||ge(g)&&y.isReferenced||kT(g)||UT()){var O=f(g,{isEmbeddedInLabel:y.isEmbeddedInLabel,isReferenced:!1});if(O!=="")return r.add(g),O}if(g.nodeType===g.TEXT_NODE)return r.add(g),g.textContent||"";if(y.recursion)return r.add(g),f(g,{isEmbeddedInLabel:y.isEmbeddedInLabel,isReferenced:!1});var A=m(g);return A!==null?(r.add(g),A):(r.add(g),"")}return IT(b(e,{isEmbeddedInLabel:!1,isReferenced:a==="description",recursion:!1}))}function Xr(e){"@babel/helpers - typeof";return Xr=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},Xr(e)}function ec(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n);}return r}function tc(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?ec(Object(r),!0).forEach(function(n){WT(e,n,r[n]);}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ec(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n));});}return e}function WT(e,t,r){return t=KT(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function KT(e){var t=YT(e,"string");return Xr(t)==="symbol"?t:String(t)}function YT(e,t){if(Xr(e)!=="object"||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t||"default");if(Xr(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return (t==="string"?String:Number)(e)}function JT(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=Qn(e,"aria-describedby").map(function(a){return hf(a,tc(tc({},t),{},{compute:"description"}))}).join(" ");if(r===""){var n=e.getAttribute("aria-description");r=n===null?"":n;}if(r===""){var o=e.getAttribute("title");r=o===null?"":o;}return r}function XT(e){return bt(e,["caption","code","deletion","emphasis","generic","insertion","none","paragraph","presentation","strong","subscript","superscript"])}function QT(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return XT(e)?"":hf(e,t)}var Al=Ue(Fa(),1),ZT=Ue(Xd(),1),bf=Ue(sp(),1),eR=Ue(up(),1),gf=class extends Error{constructor(e,t,r,n){super(),Error.captureStackTrace&&Error.captureStackTrace(this,r);let o="";try{o=n.utils.printWithType("Received",t,n.utils.printReceived);}catch{}this.message=[n.utils.matcherHint(`${n.isNot?".not":""}.${r.name}`,"received",""),"",`${n.utils.RECEIVED_COLOR("received")} value must ${e}.`,o].join(`
70
- `);}},rc=class extends gf{constructor(...e){super("be an HTMLElement or an SVGElement",...e);}},nc=class extends gf{constructor(...e){super("be a Node",...e);}};function yf(e,t,...r){if(!e||!e.ownerDocument||!e.ownerDocument.defaultView)throw new t(e,...r)}function tR(e,...t){yf(e,nc,...t);let r=e.ownerDocument.defaultView;if(!(e instanceof r.Node))throw new nc(e,...t)}function de(e,...t){yf(e,rc,...t);let r=e.ownerDocument.defaultView;if(!(e instanceof r.HTMLElement)&&!(e instanceof r.SVGElement))throw new rc(e,...t)}var rR=class extends Error{constructor(e,t,r){super(),Error.captureStackTrace&&Error.captureStackTrace(this,t),this.message=[e.message,"",r.utils.RECEIVED_COLOR("Failing css:"),r.utils.RECEIVED_COLOR(`${e.css}`)].join(`
71
- `);}};function nR(e,...t){let r=lT(`selector { ${e} }`,{silent:!0}).stylesheet;if(r.parsingErrors&&r.parsingErrors.length>0){let{reason:n,line:o}=r.parsingErrors[0];throw new rR({css:e,message:`Syntax error parsing expected css: ${n} on line: ${o}`},...t)}return r.rules[0].declarations.filter(n=>n.type==="declaration").reduce((n,{property:o,value:a})=>Object.assign(n,{[o]:a}),{})}function oc(e,t){return typeof t=="string"?t:e.utils.stringify(t)}function qe(e,t,r,n,o,a){return [`${t}
72
- `,`${r}:
73
- ${e.utils.EXPECTED_COLOR((0, Yu.default)(oc(e,n),2))}`,`${o}:
74
- ${e.utils.RECEIVED_COLOR((0, Yu.default)(oc(e,a),2))}`].join(`
75
- `)}function oR(e,t){return t instanceof RegExp?t.test(e):e.includes(String(t))}function Mo(e,t){console.warn(`Warning: ${e} has been deprecated and will be removed in future updates.`,t);}function No(e){return e.replace(/\s+/g," ").trim()}function It(e){return e.tagName&&e.tagName.toLowerCase()}function iR({multiple:e,options:t}){let r=[...t].filter(n=>n.selected);if(e)return [...r].map(n=>n.value);if(r.length!==0)return r[0].value}function aR(e){switch(e.type){case"number":return e.value===""?null:Number(e.value);case"checkbox":return e.checked;default:return e.value}}var lR=["meter","progressbar","slider","spinbutton"];function sR(e){if(lR.includes(e.getAttribute("role")))return Number(e.getAttribute("aria-valuenow"))}function vf(e){if(e)switch(e.tagName.toLowerCase()){case"input":return aR(e);case"select":return iR(e);default:return e.value??sR(e)}}function uR(e,{wordConnector:t=", ",lastWordConnector:r=" and "}={}){return [e.slice(0,-1).join(t),e[e.length-1]].join(e.length>1?r:"")}function _f(e,t){if(Array.isArray(e)&&Array.isArray(t))return [...new Set(e)].every(r=>new Set(t).has(r))}function ia(e,t){return Mo("toBeInTheDOM","Please use toBeInTheDocument for searching the entire document and toContainElement for searching a specific container."),e&&de(e,ia,this),t&&de(t,ia,this),{pass:t?t.contains(e):!!e,message:()=>[this.utils.matcherHint(`${this.isNot?".not":""}.toBeInTheDOM`,"element",""),"","Received:",` ${this.utils.printReceived(e&&e.cloneNode(!1))}`].join(`
76
- `)}}function Ef(e){(e!==null||!this.isNot)&&de(e,Ef,this);let t=e===null?!1:e.ownerDocument===e.getRootNode({composed:!0}),r=()=>`expected document not to contain element, found ${this.utils.stringify(e.cloneNode(!0))} instead`,n=()=>"element could not be found in the document";return {pass:t,message:()=>[this.utils.matcherHint(`${this.isNot?".not":""}.toBeInTheDocument`,"element",""),"",this.utils.RECEIVED_COLOR(this.isNot?r():n())].join(`
77
- `)}}function wf(e){return Mo("toBeEmpty","Please use instead toBeEmptyDOMElement for finding empty nodes in the DOM."),de(e,wf,this),{pass:e.innerHTML==="",message:()=>[this.utils.matcherHint(`${this.isNot?".not":""}.toBeEmpty`,"element",""),"","Received:",` ${this.utils.printReceived(e.innerHTML)}`].join(`
78
- `)}}function Cf(e){return de(e,Cf,this),{pass:cR(e),message:()=>[this.utils.matcherHint(`${this.isNot?".not":""}.toBeEmptyDOMElement`,"element",""),"","Received:",` ${this.utils.printReceived(e.innerHTML)}`].join(`
79
- `)}}function cR(e){return [...e.childNodes].filter(t=>t.nodeType!==8).length===0}function aa(e,t){return de(e,aa,this),t!==null&&de(t,aa,this),{pass:e.contains(t),message:()=>[this.utils.matcherHint(`${this.isNot?".not":""}.toContainElement`,"element","element"),"",this.utils.RECEIVED_COLOR(`${this.utils.stringify(e.cloneNode(!1))} ${this.isNot?"contains:":"does not contain:"} ${this.utils.stringify(t&&t.cloneNode(!1))}
80
- `)].join(`
81
- `)}}function dR(e,t){let r=e.ownerDocument.createElement("div");return r.innerHTML=t,r.innerHTML}function Tf(e,t){if(de(e,Tf,this),typeof t!="string")throw new Error(`.toContainHTML() expects a string value, got ${t}`);return {pass:e.outerHTML.includes(dR(e,t)),message:()=>[this.utils.matcherHint(`${this.isNot?".not":""}.toContainHTML`,"element",""),"Expected:",` ${this.utils.EXPECTED_COLOR(t)}`,"Received:",` ${this.utils.printReceived(e.cloneNode(!0))}`].join(`
82
- `)}}function Rf(e,t,r={normalizeWhitespace:!0}){tR(e,Rf,this);let n=r.normalizeWhitespace?No(e.textContent):e.textContent.replace(/\u00a0/g," "),o=n!==""&&t==="";return {pass:!o&&oR(n,t),message:()=>{let a=this.isNot?"not to":"to";return qe(this,this.utils.matcherHint(`${this.isNot?".not":""}.toHaveTextContent`,"element",""),o?"Checking with empty string will always match, use .toBeEmptyDOMElement() instead":`Expected element ${a} have text content`,t,"Received",n)}}}function la(e,t){de(e,la,this);let r=JT(e),n=arguments.length===1,o=!1;return n?o=r!=="":o=t instanceof RegExp?t.test(r):this.equals(r,t),{pass:o,message:()=>{let a=this.isNot?"not to":"to";return qe(this,this.utils.matcherHint(`${this.isNot?".not":""}.${la.name}`,"element",""),`Expected element ${a} have accessible description`,t,"Received",r)}}}var Dr="aria-invalid",pR=["false"];function Sf(e,t){de(e,Sf,this);let r=this.isNot?"not to":"to",n=this.isNot?".not.toHaveAccessibleErrorMessage":".toHaveAccessibleErrorMessage",o=e.getAttribute("aria-errormessage");if(o&&/\s+/.test(o))return {pass:!1,message:()=>qe(this,this.utils.matcherHint(n,"element"),"Expected element's `aria-errormessage` attribute to be empty or a single, valid ID","","Received",`aria-errormessage="${o}"`)};let a=e.getAttribute(Dr);if(!e.hasAttribute(Dr)||pR.includes(a))return {pass:!1,message:()=>qe(this,this.utils.matcherHint(n,"element"),"Expected element to be marked as invalid with attribute",`${Dr}="${String(!0)}"`,"Received",e.hasAttribute("aria-invalid")?`${Dr}="${e.getAttribute(Dr)}`:null)};let i=No(e.ownerDocument.getElementById(o)?.textContent??"");return {pass:t===void 0?!!i:t instanceof RegExp?t.test(i):this.equals(i,t),message:()=>qe(this,this.utils.matcherHint(n,"element"),`Expected element ${r} have accessible error message`,t??"","Received",i)}}var fR=bR(Al.elementRoles);function sa(e,t){de(e,sa,this);let r=mR(e);return {pass:r.some(n=>n===t),message:()=>{let n=this.isNot?"not to":"to";return qe(this,this.utils.matcherHint(`${this.isNot?".not":""}.${sa.name}`,"element",""),`Expected element ${n} have role`,t,"Received",r.join(", "))}}}function mR(e){return e.hasAttribute("role")?e.getAttribute("role").split(" ").filter(Boolean):hR(e)}function hR(e){for(let{match:t,roles:r}of fR)if(t(e))return [...r];return []}function bR(e){function t({name:i,attributes:l}){return `${i}${l.map(({name:u,value:c,constraints:s=[]})=>s.indexOf("undefined")!==-1?`:not([${u}])`:c?`[${u}="${c}"]`:`[${u}]`).join("")}`}function r({attributes:i=[]}){return i.length}function n({specificity:i},{specificity:l}){return l-i}function o(i){let{attributes:l=[]}=i,u=l.findIndex(s=>s.value&&s.name==="type"&&s.value==="text");u>=0&&(l=[...l.slice(0,u),...l.slice(u+1)]);let c=t({...i,attributes:l});return s=>u>=0&&s.type!=="text"?!1:s.matches(c)}let a=[];for(let[i,l]of e.entries())a=[...a,{match:o(i),roles:Array.from(l),specificity:r(i)}];return a.sort(n)}function ua(e,t){de(e,ua,this);let r=QT(e),n=arguments.length===1,o=!1;return n?o=r!=="":o=t instanceof RegExp?t.test(r):this.equals(r,t),{pass:o,message:()=>{let a=this.isNot?"not to":"to";return qe(this,this.utils.matcherHint(`${this.isNot?".not":""}.${ua.name}`,"element",""),`Expected element ${a} have accessible name`,t,"Received",r)}}}function ic(e,t,r){return r===void 0?t:`${t}=${e(r)}`}function gR(e,t,r){return r===void 0?`element.hasAttribute(${e(t)})`:`element.getAttribute(${e(t)}) === ${e(r)}`}function Pf(e,t,r){de(e,Pf,this);let n=r!==void 0,o=e.hasAttribute(t),a=e.getAttribute(t);return {pass:n?o&&this.equals(a,r):o,message:()=>{let i=this.isNot?"not to":"to",l=o?ic(this.utils.stringify,t,a):null,u=this.utils.matcherHint(`${this.isNot?".not":""}.toHaveAttribute`,"element",this.utils.printExpected(t),{secondArgument:n?this.utils.printExpected(r):void 0,comment:gR(this.utils.stringify,t,r)});return qe(this,u,`Expected the element ${i} have attribute`,ic(this.utils.stringify,t,r),"Received",l)}}}function yR(e){let t=e.pop(),r,n;return typeof t=="object"&&!(t instanceof RegExp)?(r=e,n=t):(r=e.concat(t),n={exact:!1}),{expectedClassNames:r,options:n}}function ac(e){return e?e.split(/\s+/).filter(t=>t.length>0):[]}function lc(e,t){return e.every(r=>typeof r=="string"?t.includes(r):t.some(n=>r.test(n)))}function Of(e,...t){de(e,Of,this);let{expectedClassNames:r,options:n}=yR(t),o=ac(e.getAttribute("class")),a=r.reduce((l,u)=>l.concat(typeof u=="string"||!u?ac(u):u),[]),i=a.some(l=>l instanceof RegExp);if(n.exact&&i)throw new Error("Exact option does not support RegExp expected class names");return n.exact?{pass:lc(a,o)&&a.length===o.length,message:()=>{let l=this.isNot?"not to":"to";return qe(this,this.utils.matcherHint(`${this.isNot?".not":""}.toHaveClass`,"element",this.utils.printExpected(a.join(" "))),`Expected the element ${l} have EXACTLY defined classes`,a.join(" "),"Received",o.join(" "))}}:a.length>0?{pass:lc(a,o),message:()=>{let l=this.isNot?"not to":"to";return qe(this,this.utils.matcherHint(`${this.isNot?".not":""}.toHaveClass`,"element",this.utils.printExpected(a.join(" "))),`Expected the element ${l} have class`,a.join(" "),"Received",o.join(" "))}}:{pass:this.isNot?o.length>0:!1,message:()=>this.isNot?qe(this,this.utils.matcherHint(".not.toHaveClass","element",""),"Expected the element to have classes","(none)","Received",o.join(" ")):[this.utils.matcherHint(".toHaveClass","element"),"At least one expected class must be provided."].join(`
83
- `)}}function vR(e,t){let r={},n=e.createElement("div");return Object.keys(t).forEach(o=>{n.style[o]=t[o],r[o]=n.style[o];}),r}function _R(e,t){return !!Object.keys(e).length&&Object.entries(e).every(([r,n])=>{let o=r.startsWith("--"),a=[r];return o||a.push(r.toLowerCase()),a.some(i=>t[i]===n||t.getPropertyValue(i)===n)})}function sc(e){return Object.keys(e).sort().map(t=>`${t}: ${e[t]};`).join(`
84
- `)}function ER(e,t,r){let n=Array.from(r).filter(o=>t[o]!==void 0).reduce((o,a)=>Object.assign(o,{[a]:r.getPropertyValue(a)}),{});return e(sc(t),sc(n)).replace(`${ZT.default.red("+ Received")}
85
- `,"")}function ca(e,t){de(e,ca,this);let r=typeof t=="object"?t:nR(t,ca,this),{getComputedStyle:n}=e.ownerDocument.defaultView,o=vR(e.ownerDocument,r),a=n(e);return {pass:_R(o,a),message:()=>{let i=`${this.isNot?".not":""}.toHaveStyle`;return [this.utils.matcherHint(i,"element",""),ER(this.utils.diff,o,a)].join(`
86
-
87
- `)}}}function Af(e){return de(e,Af,this),{pass:e.ownerDocument.activeElement===e,message:()=>[this.utils.matcherHint(`${this.isNot?".not":""}.toHaveFocus`,"element",""),"",...this.isNot?["Received element is focused:",` ${this.utils.printReceived(e)}`]:["Expected element with focus:",` ${this.utils.printExpected(e)}`,"Received element with focus:",` ${this.utils.printReceived(e.ownerDocument.activeElement)}`]].join(`
88
- `)}}function wR(e){let t=[...new Set(e.map(r=>r.type))];if(t.length!==1)throw new Error("Multiple form elements with the same name must be of the same type");switch(t[0]){case"radio":{let r=e.find(n=>n.checked);return r?r.value:void 0}case"checkbox":return e.filter(r=>r.checked).map(r=>r.value);default:return e.map(r=>r.value)}}function CR(e,t){let r=[...e.querySelectorAll(`[name="${(0, eR.default)(t)}"]`)];if(r.length!==0)switch(r.length){case 1:return vf(r[0]);default:return wR(r)}}function TR(e){return /\[\]$/.test(e)?e.slice(0,-2):e}function RR(e){return Array.from(e.elements).map(t=>t.name).reduce((t,r)=>({...t,[TR(r)]:CR(e,r)}),{})}function qf(e,t){if(de(e,qf,this),!e.elements)throw new Error("toHaveFormValues must be called on a form or a fieldset");let r=RR(e);return {pass:Object.entries(t).every(([n,o])=>(0, bf.default)(r[n],o,_f)),message:()=>{let n=this.isNot?"not to":"to",o=`${this.isNot?".not":""}.toHaveFormValues`,a=Object.keys(r).filter(i=>t.hasOwnProperty(i)).reduce((i,l)=>({...i,[l]:r[l]}),{});return [this.utils.matcherHint(o,"element",""),`Expected the element ${n} have form values`,this.utils.diff(t,a)].join(`
89
-
90
- `)}}}function SR(e){let{getComputedStyle:t}=e.ownerDocument.defaultView,{display:r,visibility:n,opacity:o}=t(e);return r!=="none"&&n!=="hidden"&&n!=="collapse"&&o!=="0"&&o!==0}function PR(e,t){let r;return t?r=e.nodeName==="DETAILS"&&t.nodeName!=="SUMMARY"?e.hasAttribute("open"):!0:r=e.nodeName==="DETAILS"?e.hasAttribute("open"):!0,!e.hasAttribute("hidden")&&r}function xf(e,t){return SR(e)&&PR(e,t)&&(!e.parentElement||xf(e.parentElement,e))}function Mf(e){de(e,Mf,this);let t=e.ownerDocument===e.getRootNode({composed:!0}),r=t&&xf(e);return {pass:r,message:()=>{let n=r?"is":"is not";return [this.utils.matcherHint(`${this.isNot?".not":""}.toBeVisible`,"element",""),"",`Received element ${n} visible${t?"":" (element is not in the document)"}:`,` ${this.utils.printReceived(e.cloneNode(!1))}`].join(`
91
- `)}}}var OR=["fieldset","input","select","optgroup","option","button","textarea"];function AR(e,t){return It(e)==="legend"&&It(t)==="fieldset"&&e.isSameNode(Array.from(t.children).find(r=>It(r)==="legend"))}function qR(e,t){return jf(t)&&!AR(e,t)}function xR(e){return e.includes("-")}function Nf(e){let t=It(e);return OR.includes(t)||xR(t)}function jf(e){return Nf(e)&&e.hasAttribute("disabled")}function If(e){let t=e.parentElement;return !!t&&(qR(e,t)||If(t))}function $f(e){return Nf(e)&&(jf(e)||If(e))}function Bf(e){de(e,Bf,this);let t=$f(e);return {pass:t,message:()=>{let r=t?"is":"is not";return [this.utils.matcherHint(`${this.isNot?".not":""}.toBeDisabled`,"element",""),"",`Received element ${r} disabled:`,` ${this.utils.printReceived(e.cloneNode(!1))}`].join(`
92
- `)}}}function Lf(e){de(e,Lf,this);let t=!$f(e);return {pass:t,message:()=>{let r=t?"is":"is not";return [this.utils.matcherHint(`${this.isNot?".not":""}.toBeEnabled`,"element",""),"",`Received element ${r} enabled:`,` ${this.utils.printReceived(e.cloneNode(!1))}`].join(`
93
- `)}}}var MR=["select","textarea"],NR=["input","select","textarea"],jR=["color","hidden","range","submit","image","reset"],IR=["checkbox","combobox","gridcell","listbox","radiogroup","spinbutton","textbox","tree"];function $R(e){return MR.includes(It(e))&&e.hasAttribute("required")}function BR(e){return It(e)==="input"&&e.hasAttribute("required")&&(e.hasAttribute("type")&&!jR.includes(e.getAttribute("type"))||!e.hasAttribute("type"))}function LR(e){return e.hasAttribute("aria-required")&&e.getAttribute("aria-required")==="true"&&(NR.includes(It(e))||e.hasAttribute("role")&&IR.includes(e.getAttribute("role")))}function Df(e){de(e,Df,this);let t=$R(e)||BR(e)||LR(e);return {pass:t,message:()=>{let r=t?"is":"is not";return [this.utils.matcherHint(`${this.isNot?".not":""}.toBeRequired`,"element",""),"",`Received element ${r} required:`,` ${this.utils.printReceived(e.cloneNode(!1))}`].join(`
94
- `)}}}var DR=["form","input","select","textarea"];function kR(e){return e.hasAttribute("aria-invalid")&&e.getAttribute("aria-invalid")!=="false"}function FR(e){return DR.includes(It(e))}function kf(e){let t=kR(e);return FR(e)?t||!e.checkValidity():t}function Ff(e){de(e,Ff,this);let t=kf(e);return {pass:t,message:()=>{let r=t?"is":"is not";return [this.utils.matcherHint(`${this.isNot?".not":""}.toBeInvalid`,"element",""),"",`Received element ${r} currently invalid:`,` ${this.utils.printReceived(e.cloneNode(!1))}`].join(`
95
- `)}}}function Uf(e){de(e,Uf,this);let t=!kf(e);return {pass:t,message:()=>{let r=t?"is":"is not";return [this.utils.matcherHint(`${this.isNot?".not":""}.toBeValid`,"element",""),"",`Received element ${r} currently valid:`,` ${this.utils.printReceived(e.cloneNode(!1))}`].join(`
96
- `)}}}function Hf(e,t){if(de(e,Hf,this),e.tagName.toLowerCase()==="input"&&["checkbox","radio"].includes(e.type))throw new Error("input with type=checkbox or type=radio cannot be used with .toHaveValue(). Use .toBeChecked() for type=checkbox or .toHaveFormValues() instead");let r=vf(e),n=t!==void 0,o=t,a=r;return t==r&&t!==r&&(o=`${t} (${typeof t})`,a=`${r} (${typeof r})`),{pass:n?(0, bf.default)(r,t,_f):!!r,message:()=>{let i=this.isNot?"not to":"to",l=this.utils.matcherHint(`${this.isNot?".not":""}.toHaveValue`,"element",t);return qe(this,l,`Expected the element ${i} have value`,n?o:"(any)","Received",a)}}}function Vf(e,t){de(e,Vf,this);let r=e.tagName.toLowerCase();if(!["select","input","textarea"].includes(r))throw new Error(".toHaveDisplayValue() currently supports only input, textarea or select elements, try with another matcher instead.");if(r==="input"&&["radio","checkbox"].includes(e.type))throw new Error(`.toHaveDisplayValue() currently does not support input[type="${e.type}"], try with another matcher instead.`);let n=UR(r,e),o=HR(t),a=o.filter(u=>n.some(c=>u instanceof RegExp?u.test(c):this.equals(c,String(u)))).length,i=a===n.length,l=a===o.length;return {pass:i&&l,message:()=>qe(this,this.utils.matcherHint(`${this.isNot?".not":""}.toHaveDisplayValue`,"element",""),`Expected element ${this.isNot?"not ":""}to have display value`,t,"Received",n)}}function UR(e,t){return e==="select"?Array.from(t).filter(r=>r.selected).map(r=>r.textContent):[t.value]}function HR(e){return e instanceof Array?e:[e]}function zf(e){de(e,zf,this);let t=()=>e.tagName.toLowerCase()==="input"&&["checkbox","radio"].includes(e.type),r=()=>Gf(e.getAttribute("role"))&&["true","false"].includes(e.getAttribute("aria-checked"));if(!t()&&!r())return {pass:!1,message:()=>`only inputs with type="checkbox" or type="radio" or elements with ${VR()} and a valid aria-checked attribute can be used with .toBeChecked(). Use .toHaveValue() instead`};let n=()=>t()?e.checked:e.getAttribute("aria-checked")==="true";return {pass:n(),message:()=>{let o=n()?"is":"is not";return [this.utils.matcherHint(`${this.isNot?".not":""}.toBeChecked`,"element",""),"",`Received element ${o} checked:`,` ${this.utils.printReceived(e.cloneNode(!1))}`].join(`
97
- `)}}}function VR(){return uR(zR().map(e=>`role="${e}"`),{lastWordConnector:" or "})}function zR(){return Al.roles.keys().filter(Gf)}function Gf(e){return Al.roles.get(e)?.props["aria-checked"]!==void 0}function Wf(e){de(e,Wf,this);let t=()=>e.tagName.toLowerCase()==="input"&&e.type==="checkbox",r=()=>e.getAttribute("role")==="checkbox";if(!t()&&!r())return {pass:!1,message:()=>'only inputs with type="checkbox" or elements with role="checkbox" and a valid aria-checked attribute can be used with .toBePartiallyChecked(). Use .toHaveValue() instead'};let n=()=>{let o=e.getAttribute("aria-checked")==="mixed";return t()&&e.indeterminate||o};return {pass:n(),message:()=>{let o=n()?"is":"is not";return [this.utils.matcherHint(`${this.isNot?".not":""}.toBePartiallyChecked`,"element",""),"",`Received element ${o} partially checked:`,` ${this.utils.printReceived(e.cloneNode(!1))}`].join(`
98
- `)}}}function Kf(e,t){Mo("toHaveDescription","Please use toHaveAccessibleDescription."),de(e,Kf,this);let r=t!==void 0,n=(e.getAttribute("aria-describedby")||"").split(/\s+/).filter(Boolean),o="";if(n.length>0){let a=e.ownerDocument,i=n.map(l=>a.getElementById(l)).filter(Boolean);o=No(i.map(l=>l.textContent).join(" "));}return {pass:r?t instanceof RegExp?t.test(o):this.equals(o,t):!!o,message:()=>{let a=this.isNot?"not to":"to";return qe(this,this.utils.matcherHint(`${this.isNot?".not":""}.toHaveDescription`,"element",""),`Expected the element ${a} have description`,this.utils.printExpected(t),"Received",this.utils.printReceived(o))}}}function Yf(e,t){if(Mo("toHaveErrorMessage","Please use toHaveAccessibleErrorMessage."),de(e,Yf,this),!e.hasAttribute("aria-invalid")||e.getAttribute("aria-invalid")==="false"){let a=this.isNot?".not":"";return {pass:!1,message:()=>qe(this,this.utils.matcherHint(`${a}.toHaveErrorMessage`,"element",""),"Expected the element to have invalid state indicated by",'aria-invalid="true"',"Received",e.hasAttribute("aria-invalid")?`aria-invalid="${e.getAttribute("aria-invalid")}"`:this.utils.printReceived(""))}}let r=t!==void 0,n=(e.getAttribute("aria-errormessage")||"").split(/\s+/).filter(Boolean),o="";if(n.length>0){let a=e.ownerDocument,i=n.map(l=>a.getElementById(l)).filter(Boolean);o=No(i.map(l=>l.textContent).join(" "));}return {pass:r?t instanceof RegExp?t.test(o):this.equals(o,t):!!o,message:()=>{let a=this.isNot?"not to":"to";return qe(this,this.utils.matcherHint(`${this.isNot?".not":""}.toHaveErrorMessage`,"element",""),`Expected the element ${a} have error message`,this.utils.printExpected(t),"Received",this.utils.printReceived(o))}}}Ue(Yd(),1);Ue(Fa(),1);Ue(Xd(),1);Ue(sp(),1);Ue(up(),1);function mt(e,t,r){let n=typeof e;if(!r.includes(n))throw new TypeError(`${t} value must be ${r.join(" or ")}, received "${n}"`)}function Dn(e){return e!=null&&typeof e=="object"&&!Array.isArray(e)}function GR(e){return e===Object.prototype||e===Function.prototype||e===RegExp.prototype}function da(e){return Object.prototype.toString.apply(e).slice(8,-1)}function WR(e,t){let r=typeof t=="function"?t:n=>t.add(n);Object.getOwnPropertyNames(e).forEach(r),Object.getOwnPropertySymbols(e).forEach(r);}function Jf(e){let t=new Set;return GR(e)?[]:(WR(e,t),Array.from(t))}var Xf={forceWritable:!1};function uc(e,t=Xf){return pa(e,new WeakMap,t)}function pa(e,t,r=Xf){let n,o;if(t.has(e))return t.get(e);if(Array.isArray(e)){for(o=Array(n=e.length),t.set(e,o);n--;)o[n]=pa(e[n],t,r);return o}if(Object.prototype.toString.call(e)==="[object Object]"){o=Object.create(Object.getPrototypeOf(e)),t.set(e,o);let a=Jf(e);for(let i of a){let l=Object.getOwnPropertyDescriptor(e,i);if(!l)continue;let u=pa(e[i],t,r);r.forceWritable?Object.defineProperty(o,i,{enumerable:l.enumerable,configurable:!0,writable:!0,value:u}):"get"in l?Object.defineProperty(o,i,{...l,get(){return u}}):Object.defineProperty(o,i,{...l,value:u});}return o}return e}var cc={bold:["1","22"],dim:["2","22"],italic:["3","23"],underline:["4","24"],inverse:["7","27"],hidden:["8","28"],strike:["9","29"],black:["30","39"],red:["31","39"],green:["32","39"],yellow:["33","39"],blue:["34","39"],magenta:["35","39"],cyan:["36","39"],white:["37","39"],brightblack:["30;1","39"],brightred:["31;1","39"],brightgreen:["32;1","39"],brightyellow:["33;1","39"],brightblue:["34;1","39"],brightmagenta:["35;1","39"],brightcyan:["36;1","39"],brightwhite:["37;1","39"],grey:["90","39"]},KR={special:"cyan",number:"yellow",bigint:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",symbol:"green",date:"magenta",regexp:"red"},_r="\u2026";function YR(e,t){let r=cc[KR[t]]||cc[t]||"";return r?`\x1B[${r[0]}m${String(e)}\x1B[${r[1]}m`:String(e)}function JR({showHidden:e=!1,depth:t=2,colors:r=!1,customInspect:n=!0,showProxy:o=!1,maxArrayLength:a=1/0,breakLength:i=1/0,seen:l=[],truncate:u=1/0,stylize:c=String}={},s){let d={showHidden:!!e,depth:Number(t),colors:!!r,customInspect:!!n,showProxy:!!o,maxArrayLength:Number(a),breakLength:Number(i),truncate:Number(u),seen:l,inspect:s,stylize:c};return d.colors&&(d.stylize=YR),d}function XR(e){return e>="\uD800"&&e<="\uDBFF"}function Dt(e,t,r=_r){e=String(e);let n=r.length,o=e.length;if(n>t&&o>n)return r;if(o>t&&o>n){let a=t-n;return a>0&&XR(e[a-1])&&(a=a-1),`${e.slice(0,a)}${r}`}return e}function rt(e,t,r,n=", "){r=r||t.inspect;let o=e.length;if(o===0)return "";let a=t.truncate,i="",l="",u="";for(let c=0;c<o;c+=1){let s=c+1===e.length,d=c+2===e.length;u=`${_r}(${e.length-c})`;let f=e[c];t.truncate=a-i.length-(s?0:n.length);let p=l||r(f,t)+(s?"":n),m=i.length+p.length,h=m+u.length;if(s&&m>a&&i.length+u.length<=a||!s&&!d&&h>a||(l=s?"":r(e[c+1],t)+(d?"":n),!s&&d&&h>a&&m+l.length>a))break;if(i+=p,!s&&!d&&m+l.length>=a){u=`${_r}(${e.length-c-1})`;break}u="";}return `${i}${u}`}function QR(e){return e.match(/^[a-zA-Z_][a-zA-Z_0-9]*$/)?e:JSON.stringify(e).replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'")}function Qr([e,t],r){return r.truncate-=2,typeof e=="string"?e=QR(e):typeof e!="number"&&(e=`[${r.inspect(e,r)}]`),r.truncate-=e.length,t=r.inspect(t,r),`${e}: ${t}`}function ZR(e,t){let r=Object.keys(e).slice(e.length);if(!e.length&&!r.length)return "[]";t.truncate-=4;let n=rt(e,t);t.truncate-=n.length;let o="";return r.length&&(o=rt(r.map(a=>[a,e[a]]),t,Qr)),`[ ${n}${o?`, ${o}`:""} ]`}var eS=e=>typeof Buffer=="function"&&e instanceof Buffer?"Buffer":e[Symbol.toStringTag]?e[Symbol.toStringTag]:e.constructor.name;function ht(e,t){let r=eS(e);t.truncate-=r.length+4;let n=Object.keys(e).slice(e.length);if(!e.length&&!n.length)return `${r}[]`;let o="";for(let i=0;i<e.length;i++){let l=`${t.stylize(Dt(e[i],t.truncate),"number")}${i===e.length-1?"":", "}`;if(t.truncate-=l.length,e[i]!==e.length&&t.truncate<=3){o+=`${_r}(${e.length-e[i]+1})`;break}o+=l;}let a="";return n.length&&(a=rt(n.map(i=>[i,e[i]]),t,Qr)),`${r}[ ${o}${a?`, ${a}`:""} ]`}function tS(e,t){let r=e.toJSON();if(r===null)return "Invalid Date";let n=r.split("T"),o=n[0];return t.stylize(`${o}T${Dt(n[1],t.truncate-o.length-1)}`,"date")}function dc(e,t){let r=e[Symbol.toStringTag]||"Function",n=e.name;return n?t.stylize(`[${r} ${Dt(n,t.truncate-11)}]`,"special"):t.stylize(`[${r}]`,"special")}function rS([e,t],r){return r.truncate-=4,e=r.inspect(e,r),r.truncate-=e.length,t=r.inspect(t,r),`${e} => ${t}`}function nS(e){let t=[];return e.forEach((r,n)=>{t.push([n,r]);}),t}function oS(e,t){return e.size-1<=0?"Map{}":(t.truncate-=7,`Map{ ${rt(nS(e),t,rS)} }`)}var iS=Number.isNaN||(e=>e!==e);function pc(e,t){return iS(e)?t.stylize("NaN","number"):e===1/0?t.stylize("Infinity","number"):e===-1/0?t.stylize("-Infinity","number"):e===0?t.stylize(1/e===1/0?"+0":"-0","number"):t.stylize(Dt(String(e),t.truncate),"number")}function fc(e,t){let r=Dt(e.toString(),t.truncate-1);return r!==_r&&(r+="n"),t.stylize(r,"bigint")}function aS(e,t){let r=e.toString().split("/")[2],n=t.truncate-(2+r.length),o=e.source;return t.stylize(`/${Dt(o,n)}/${r}`,"regexp")}function lS(e){let t=[];return e.forEach(r=>{t.push(r);}),t}function sS(e,t){return e.size===0?"Set{}":(t.truncate-=7,`Set{ ${rt(lS(e),t)} }`)}var mc=new RegExp("['\\u0000-\\u001f\\u007f-\\u009f\\u00ad\\u0600-\\u0604\\u070f\\u17b4\\u17b5\\u200c-\\u200f\\u2028-\\u202f\\u2060-\\u206f\\ufeff\\ufff0-\\uffff]","g"),uS={"\b":"\\b"," ":"\\t","\n":"\\n","\f":"\\f","\r":"\\r","'":"\\'","\\":"\\\\"},cS=16,dS=4;function pS(e){return uS[e]||`\\u${`0000${e.charCodeAt(0).toString(cS)}`.slice(-dS)}`}function hc(e,t){return mc.test(e)&&(e=e.replace(mc,pS)),t.stylize(`'${Dt(e,t.truncate-2)}'`,"string")}function bc(e){return "description"in Symbol.prototype?e.description?`Symbol(${e.description})`:"Symbol()":e.toString()}var Qf=()=>"Promise{\u2026}";try{let{getPromiseDetails:e,kPending:t,kRejected:r}=process.binding("util");Array.isArray(e(Promise.resolve()))&&(Qf=(n,o)=>{let[a,i]=e(n);return a===t?"Promise{<pending>}":`Promise${a===r?"!":""}{${o.inspect(i,o)}}`});}catch{}var fS=Qf;function kn(e,t){let r=Object.getOwnPropertyNames(e),n=Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e):[];if(r.length===0&&n.length===0)return "{}";if(t.truncate-=4,t.seen=t.seen||[],t.seen.indexOf(e)>=0)return "[Circular]";t.seen.push(e);let o=rt(r.map(l=>[l,e[l]]),t,Qr),a=rt(n.map(l=>[l,e[l]]),t,Qr);t.seen.pop();let i="";return o&&a&&(i=", "),`{ ${o}${i}${a} }`}var Si=typeof Symbol<"u"&&Symbol.toStringTag?Symbol.toStringTag:!1;function mS(e,t){let r="";return Si&&Si in e&&(r=e[Si]),r=r||e.constructor.name,(!r||r==="_class")&&(r="<Anonymous Class>"),t.truncate-=r.length,`${r}${kn(e,t)}`}function hS(e,t){return e.length===0?"Arguments[]":(t.truncate-=13,`Arguments[ ${rt(e,t)} ]`)}var bS=["stack","line","column","name","message","fileName","lineNumber","columnNumber","number","description"];function gS(e,t){let r=Object.getOwnPropertyNames(e).filter(i=>bS.indexOf(i)===-1),n=e.name;t.truncate-=n.length;let o="";typeof e.message=="string"?o=Dt(e.message,t.truncate):r.unshift("message"),o=o?`: ${o}`:"",t.truncate-=o.length+5;let a=rt(r.map(i=>[i,e[i]]),t,Qr);return `${n}${o}${a?` { ${a} }`:""}`}function yS([e,t],r){return r.truncate-=3,t?`${r.stylize(String(e),"yellow")}=${r.stylize(`"${t}"`,"string")}`:`${r.stylize(String(e),"yellow")}`}function fa(e,t){return rt(e,t,Zf,`
99
- `)}function Zf(e,t){let r=e.getAttributeNames(),n=e.tagName.toLowerCase(),o=t.stylize(`<${n}`,"special"),a=t.stylize(">","special"),i=t.stylize(`</${n}>`,"special");t.truncate-=n.length*2+5;let l="";r.length>0&&(l+=" ",l+=rt(r.map(s=>[s,e.getAttribute(s)]),t,yS," ")),t.truncate-=l.length;let u=t.truncate,c=fa(e.children,t);return c&&c.length>u&&(c=`${_r}(${e.children.length})`),`${o}${l}${a}${c}${i}`}var vS=typeof Symbol=="function"&&typeof Symbol.for=="function",Pi=vS?Symbol.for("chai/inspect"):"@@chai/inspect",cr=!1;try{let e=nt("util");cr=e.inspect?e.inspect.custom:!1;}catch{cr=!1;}var gc=new WeakMap,yc={},vc={undefined:(e,t)=>t.stylize("undefined","undefined"),null:(e,t)=>t.stylize("null","null"),boolean:(e,t)=>t.stylize(String(e),"boolean"),Boolean:(e,t)=>t.stylize(String(e),"boolean"),number:pc,Number:pc,bigint:fc,BigInt:fc,string:hc,String:hc,function:dc,Function:dc,symbol:bc,Symbol:bc,Array:ZR,Date:tS,Map:oS,Set:sS,RegExp:aS,Promise:fS,WeakSet:(e,t)=>t.stylize("WeakSet{\u2026}","special"),WeakMap:(e,t)=>t.stylize("WeakMap{\u2026}","special"),Arguments:hS,Int8Array:ht,Uint8Array:ht,Uint8ClampedArray:ht,Int16Array:ht,Uint16Array:ht,Int32Array:ht,Uint32Array:ht,Float32Array:ht,Float64Array:ht,Generator:()=>"",DataView:()=>"",ArrayBuffer:()=>"",Error:gS,HTMLCollection:fa,NodeList:fa},_S=(e,t,r)=>Pi in e&&typeof e[Pi]=="function"?e[Pi](t):cr&&cr in e&&typeof e[cr]=="function"?e[cr](t.depth,t):"inspect"in e&&typeof e.inspect=="function"?e.inspect(t.depth,t):"constructor"in e&&gc.has(e.constructor)?gc.get(e.constructor)(e,t):yc[r]?yc[r](e,t):"",ES=Object.prototype.toString;function ma(e,t={}){let r=JR(t,ma),{customInspect:n}=r,o=e===null?"null":typeof e;if(o==="object"&&(o=ES.call(e).slice(8,-1)),o in vc)return vc[o](e,r);if(n&&e){let i=_S(e,r,o);if(i)return typeof i=="string"?i:ma(i,r)}let a=e?Object.getPrototypeOf(e):!1;return a===Object.prototype||a===null?kn(e,r):e&&typeof HTMLElement=="function"&&e instanceof HTMLElement?Zf(e,r):"constructor"in e?e.constructor!==Object?mS(e,r):kn(e,r):e===Object(e)?kn(e,r):r.stylize(String(e),o)}var wS={reset:[0,0],bold:[1,22,"\x1B[22m\x1B[1m"],dim:[2,22,"\x1B[22m\x1B[2m"],italic:[3,23],underline:[4,24],inverse:[7,27],hidden:[8,28],strikethrough:[9,29],black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],gray:[90,39],bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],blackBright:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39],bgBlackBright:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]},CS=Object.entries(wS);function ql(e){return String(e)}ql.open="";ql.close="";function TS(e=!1){let t=typeof process<"u"?process:void 0,r=t?.env||{},n=t?.argv||[];return !("NO_COLOR"in r||n.includes("--no-color"))&&("FORCE_COLOR"in r||n.includes("--color")||t?.platform==="win32"||e&&r.TERM!=="dumb"||"CI"in r)||typeof window<"u"&&!!window.chrome}function RS(e=!1){let t=TS(e),r=(i,l,u,c)=>{let s="",d=0;do s+=i.substring(d,c)+u,d=c+l.length,c=i.indexOf(l,d);while(~c);return s+i.substring(d)},n=(i,l,u=i)=>{let c=s=>{let d=String(s),f=d.indexOf(l,i.length);return ~f?i+r(d,l,u,f)+l:i+d+l};return c.open=i,c.close=l,c},o={isColorSupported:t},a=i=>`\x1B[${i}m`;for(let[i,l]of CS)o[i]=t?n(a(l[0]),a(l[1]),l[2]):ql;return o}var SS=nt("tty"),we=RS((0, SS.isatty)(1));function PS(e,t){let r=Object.keys(e),n=t===null?r:r.sort(t);if(Object.getOwnPropertySymbols)for(let o of Object.getOwnPropertySymbols(e))Object.getOwnPropertyDescriptor(e,o).enumerable&&n.push(o);return n}function jo(e,t,r,n,o,a,i=": "){let l="",u=0,c=e.next();if(!c.done){l+=t.spacingOuter;let s=r+t.indent;for(;!c.done;){if(l+=s,u++===t.maxWidth){l+="\u2026";break}let d=a(c.value[0],t,s,n,o),f=a(c.value[1],t,s,n,o);l+=d+i+f,c=e.next(),c.done?t.min||(l+=","):l+=`,${t.spacingInner}`;}l+=t.spacingOuter+r;}return l}function xl(e,t,r,n,o,a){let i="",l=0,u=e.next();if(!u.done){i+=t.spacingOuter;let c=r+t.indent;for(;!u.done;){if(i+=c,l++===t.maxWidth){i+="\u2026";break}i+=a(u.value,t,c,n,o),u=e.next(),u.done?t.min||(i+=","):i+=`,${t.spacingInner}`;}i+=t.spacingOuter+r;}return i}function Zn(e,t,r,n,o,a){let i="";e=e instanceof ArrayBuffer?new DataView(e):e;let l=c=>c instanceof DataView,u=l(e)?e.byteLength:e.length;if(u>0){i+=t.spacingOuter;let c=r+t.indent;for(let s=0;s<u;s++){if(i+=c,s===t.maxWidth){i+="\u2026";break}(l(e)||s in e)&&(i+=a(l(e)?e.getInt8(s):e[s],t,c,n,o)),s<u-1?i+=`,${t.spacingInner}`:t.min||(i+=",");}i+=t.spacingOuter+r;}return i}function Ml(e,t,r,n,o,a){let i="",l=PS(e,t.compareKeys);if(l.length>0){i+=t.spacingOuter;let u=r+t.indent;for(let c=0;c<l.length;c++){let s=l[c],d=a(s,t,u,n,o),f=a(e[s],t,u,n,o);i+=`${u+d}: ${f}`,c<l.length-1?i+=`,${t.spacingInner}`:t.min||(i+=",");}i+=t.spacingOuter+r;}return i}var OS=typeof Symbol=="function"&&Symbol.for?Symbol.for("jest.asymmetricMatcher"):1267621,Oi=" ",AS=(e,t,r,n,o,a)=>{let i=e.toString();if(i==="ArrayContaining"||i==="ArrayNotContaining")return ++n>t.maxDepth?`[${i}]`:`${i+Oi}[${Zn(e.sample,t,r,n,o,a)}]`;if(i==="ObjectContaining"||i==="ObjectNotContaining")return ++n>t.maxDepth?`[${i}]`:`${i+Oi}{${Ml(e.sample,t,r,n,o,a)}}`;if(i==="StringMatching"||i==="StringNotMatching"||i==="StringContaining"||i==="StringNotContaining")return i+Oi+a(e.sample,t,r,n,o);if(typeof e.toAsymmetricMatcher!="function")throw new TypeError(`Asymmetric matcher ${e.constructor.name} does not implement toAsymmetricMatcher()`);return e.toAsymmetricMatcher()},qS=e=>e&&e.$$typeof===OS,xS={serialize:AS,test:qS},MS=" ",em=new Set(["DOMStringMap","NamedNodeMap"]),NS=/^(?:HTML\w*Collection|NodeList)$/;function jS(e){return em.has(e)||NS.test(e)}var IS=e=>e&&e.constructor&&!!e.constructor.name&&jS(e.constructor.name);function $S(e){return e.constructor.name==="NamedNodeMap"}var BS=(e,t,r,n,o,a)=>{let i=e.constructor.name;return ++n>t.maxDepth?`[${i}]`:(t.min?"":i+MS)+(em.has(i)?`{${Ml($S(e)?[...e].reduce((l,u)=>(l[u.name]=u.value,l),{}):{...e},t,r,n,o,a)}}`:`[${Zn([...e],t,r,n,o,a)}]`)},LS={serialize:BS,test:IS};function tm(e){return e.replaceAll("<","&lt;").replaceAll(">","&gt;")}function Nl(e,t,r,n,o,a,i){let l=n+r.indent,u=r.colors;return e.map(c=>{let s=t[c],d=i(s,r,l,o,a);return typeof s!="string"&&(d.includes(`
100
- `)&&(d=r.spacingOuter+l+d+r.spacingOuter+n),d=`{${d}}`),`${r.spacingInner+n+u.prop.open+c+u.prop.close}=${u.value.open}${d}${u.value.close}`}).join("")}function jl(e,t,r,n,o,a){return e.map(i=>t.spacingOuter+r+(typeof i=="string"?rm(i,t):a(i,t,r,n,o))).join("")}function rm(e,t){let r=t.colors.content;return r.open+tm(e)+r.close}function DS(e,t){let r=t.colors.comment;return `${r.open}<!--${tm(e)}-->${r.close}`}function Il(e,t,r,n,o){let a=n.colors.tag;return `${a.open}<${e}${t&&a.close+t+n.spacingOuter+o+a.open}${r?`>${a.close}${r}${n.spacingOuter}${o}${a.open}</${e}`:`${t&&!n.min?"":" "}/`}>${a.close}`}function $l(e,t){let r=t.colors.tag;return `${r.open}<${e}${r.close} \u2026${r.open} />${r.close}`}var kS=1,nm=3,om=8,im=11,FS=/^(?:(?:HTML|SVG)\w*)?Element$/;function US(e){try{return typeof e.hasAttribute=="function"&&e.hasAttribute("is")}catch{return !1}}function HS(e){let t=e.constructor.name,{nodeType:r,tagName:n}=e,o=typeof n=="string"&&n.includes("-")||US(e);return r===kS&&(FS.test(t)||o)||r===nm&&t==="Text"||r===om&&t==="Comment"||r===im&&t==="DocumentFragment"}var VS=e=>{var t;return ((t=e?.constructor)==null?void 0:t.name)&&HS(e)};function zS(e){return e.nodeType===nm}function GS(e){return e.nodeType===om}function Ai(e){return e.nodeType===im}var WS=(e,t,r,n,o,a)=>{if(zS(e))return rm(e.data,t);if(GS(e))return DS(e.data,t);let i=Ai(e)?"DocumentFragment":e.tagName.toLowerCase();return ++n>t.maxDepth?$l(i,t):Il(i,Nl(Ai(e)?[]:Array.from(e.attributes,l=>l.name).sort(),Ai(e)?{}:[...e.attributes].reduce((l,u)=>(l[u.name]=u.value,l),{}),t,r+t.indent,n,o,a),jl(Array.prototype.slice.call(e.childNodes||e.children),t,r+t.indent,n,o,a),t,r)},KS={serialize:WS,test:VS},YS="@@__IMMUTABLE_ITERABLE__@@",JS="@@__IMMUTABLE_LIST__@@",XS="@@__IMMUTABLE_KEYED__@@",QS="@@__IMMUTABLE_MAP__@@",_c="@@__IMMUTABLE_ORDERED__@@",ZS="@@__IMMUTABLE_RECORD__@@",eP="@@__IMMUTABLE_SEQ__@@",tP="@@__IMMUTABLE_SET__@@",rP="@@__IMMUTABLE_STACK__@@",Er=e=>`Immutable.${e}`,Io=e=>`[${e}]`,Zr=" ",Ec="\u2026";function nP(e,t,r,n,o,a,i){return ++n>t.maxDepth?Io(Er(i)):`${Er(i)+Zr}{${jo(e.entries(),t,r,n,o,a)}}`}function oP(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}}}}function iP(e,t,r,n,o,a){let i=Er(e._name||"Record");return ++n>t.maxDepth?Io(i):`${i+Zr}{${jo(oP(e),t,r,n,o,a)}}`}function aP(e,t,r,n,o,a){let i=Er("Seq");return ++n>t.maxDepth?Io(i):e[XS]?`${i+Zr}{${e._iter||e._object?jo(e.entries(),t,r,n,o,a):Ec}}`:`${i+Zr}[${e._iter||e._array||e._collection||e._iterable?xl(e.values(),t,r,n,o,a):Ec}]`}function qi(e,t,r,n,o,a,i){return ++n>t.maxDepth?Io(Er(i)):`${Er(i)+Zr}[${xl(e.values(),t,r,n,o,a)}]`}var lP=(e,t,r,n,o,a)=>e[QS]?nP(e,t,r,n,o,a,e[_c]?"OrderedMap":"Map"):e[JS]?qi(e,t,r,n,o,a,"List"):e[tP]?qi(e,t,r,n,o,a,e[_c]?"OrderedSet":"Set"):e[rP]?qi(e,t,r,n,o,a,"Stack"):e[eP]?aP(e,t,r,n,o,a):iP(e,t,r,n,o,a),sP=e=>e&&(e[YS]===!0||e[ZS]===!0),uP={serialize:lP,test:sP},ha={exports:{}},le={},wc;function cP(){if(wc)return le;wc=1;var e=Symbol.for("react.element"),t=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),n=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),a=Symbol.for("react.provider"),i=Symbol.for("react.context"),l=Symbol.for("react.server_context"),u=Symbol.for("react.forward_ref"),c=Symbol.for("react.suspense"),s=Symbol.for("react.suspense_list"),d=Symbol.for("react.memo"),f=Symbol.for("react.lazy"),p=Symbol.for("react.offscreen"),m;m=Symbol.for("react.module.reference");function h(b){if(typeof b=="object"&&b!==null){var g=b.$$typeof;switch(g){case e:switch(b=b.type,b){case r:case o:case n:case c:case s:return b;default:switch(b=b&&b.$$typeof,b){case l:case i:case u:case f:case d:case a:return b;default:return g}}case t:return g}}}return le.ContextConsumer=i,le.ContextProvider=a,le.Element=e,le.ForwardRef=u,le.Fragment=r,le.Lazy=f,le.Memo=d,le.Portal=t,le.Profiler=o,le.StrictMode=n,le.Suspense=c,le.SuspenseList=s,le.isAsyncMode=function(){return !1},le.isConcurrentMode=function(){return !1},le.isContextConsumer=function(b){return h(b)===i},le.isContextProvider=function(b){return h(b)===a},le.isElement=function(b){return typeof b=="object"&&b!==null&&b.$$typeof===e},le.isForwardRef=function(b){return h(b)===u},le.isFragment=function(b){return h(b)===r},le.isLazy=function(b){return h(b)===f},le.isMemo=function(b){return h(b)===d},le.isPortal=function(b){return h(b)===t},le.isProfiler=function(b){return h(b)===o},le.isStrictMode=function(b){return h(b)===n},le.isSuspense=function(b){return h(b)===c},le.isSuspenseList=function(b){return h(b)===s},le.isValidElementType=function(b){return typeof b=="string"||typeof b=="function"||b===r||b===o||b===n||b===c||b===s||b===p||typeof b=="object"&&b!==null&&(b.$$typeof===f||b.$$typeof===d||b.$$typeof===a||b.$$typeof===i||b.$$typeof===u||b.$$typeof===m||b.getModuleId!==void 0)},le.typeOf=h,le}var ue={},Cc;function dP(){return Cc||(Cc=1,process.env.NODE_ENV!=="production"&&function(){var e=Symbol.for("react.element"),t=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),n=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),a=Symbol.for("react.provider"),i=Symbol.for("react.context"),l=Symbol.for("react.server_context"),u=Symbol.for("react.forward_ref"),c=Symbol.for("react.suspense"),s=Symbol.for("react.suspense_list"),d=Symbol.for("react.memo"),f=Symbol.for("react.lazy"),p=Symbol.for("react.offscreen"),m=!1,h=!1,b=!1,g=!1,y=!1,T;T=Symbol.for("react.module.reference");function C(j){return !!(typeof j=="string"||typeof j=="function"||j===r||j===o||y||j===n||j===c||j===s||g||j===p||m||h||b||typeof j=="object"&&j!==null&&(j.$$typeof===f||j.$$typeof===d||j.$$typeof===a||j.$$typeof===i||j.$$typeof===u||j.$$typeof===T||j.getModuleId!==void 0))}function E(j){if(typeof j=="object"&&j!==null){var H=j.$$typeof;switch(H){case e:var ie=j.type;switch(ie){case r:case o:case n:case c:case s:return ie;default:var fe=ie&&ie.$$typeof;switch(fe){case l:case i:case u:case f:case d:case a:return fe;default:return H}}case t:return H}}}var w=i,_=a,v=e,O=u,A=r,I=f,D=d,$=t,x=o,B=n,V=c,K=s,W=!1,ne=!1;function be(j){return W||(W=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.")),!1}function pe(j){return ne||(ne=!0,console.warn("The ReactIs.isConcurrentMode() alias has been deprecated, and will be removed in React 18+.")),!1}function F(j){return E(j)===i}function L(j){return E(j)===a}function k(j){return typeof j=="object"&&j!==null&&j.$$typeof===e}function G(j){return E(j)===u}function Y(j){return E(j)===r}function oe(j){return E(j)===f}function he(j){return E(j)===d}function De(j){return E(j)===t}function M(j){return E(j)===o}function z(j){return E(j)===n}function J(j){return E(j)===c}function Z(j){return E(j)===s}ue.ContextConsumer=w,ue.ContextProvider=_,ue.Element=v,ue.ForwardRef=O,ue.Fragment=A,ue.Lazy=I,ue.Memo=D,ue.Portal=$,ue.Profiler=x,ue.StrictMode=B,ue.Suspense=V,ue.SuspenseList=K,ue.isAsyncMode=be,ue.isConcurrentMode=pe,ue.isContextConsumer=F,ue.isContextProvider=L,ue.isElement=k,ue.isForwardRef=G,ue.isFragment=Y,ue.isLazy=oe,ue.isMemo=he,ue.isPortal=De,ue.isProfiler=M,ue.isStrictMode=z,ue.isSuspense=J,ue.isSuspenseList=Z,ue.isValidElementType=C,ue.typeOf=E;}()),ue}process.env.NODE_ENV==="production"?ha.exports=cP():ha.exports=dP();var Vt=ha.exports;function am(e,t=[]){if(Array.isArray(e))for(let r of e)am(r,t);else e!=null&&e!==!1&&e!==""&&t.push(e);return t}function Tc(e){let t=e.type;if(typeof t=="string")return t;if(typeof t=="function")return t.displayName||t.name||"Unknown";if(Vt.isFragment(e))return "React.Fragment";if(Vt.isSuspense(e))return "React.Suspense";if(typeof t=="object"&&t!==null){if(Vt.isContextProvider(e))return "Context.Provider";if(Vt.isContextConsumer(e))return "Context.Consumer";if(Vt.isForwardRef(e)){if(t.displayName)return t.displayName;let r=t.render.displayName||t.render.name||"";return r===""?"ForwardRef":`ForwardRef(${r})`}if(Vt.isMemo(e)){let r=t.displayName||t.type.displayName||t.type.name||"";return r===""?"Memo":`Memo(${r})`}}return "UNDEFINED"}function pP(e){let{props:t}=e;return Object.keys(t).filter(r=>r!=="children"&&t[r]!==void 0).sort()}var fP=(e,t,r,n,o,a)=>++n>t.maxDepth?$l(Tc(e),t):Il(Tc(e),Nl(pP(e),e.props,t,r+t.indent,n,o,a),jl(am(e.props.children),t,r+t.indent,n,o,a),t,r),mP=e=>e!=null&&Vt.isElement(e),hP={serialize:fP,test:mP},bP=typeof Symbol=="function"&&Symbol.for?Symbol.for("react.test.json"):245830487;function gP(e){let{props:t}=e;return t?Object.keys(t).filter(r=>t[r]!==void 0).sort():[]}var yP=(e,t,r,n,o,a)=>++n>t.maxDepth?$l(e.type,t):Il(e.type,e.props?Nl(gP(e),e.props,t,r+t.indent,n,o,a):"",e.children?jl(e.children,t,r+t.indent,n,o,a):"",t,r),vP=e=>e&&e.$$typeof===bP,_P={serialize:yP,test:vP},lm=Object.prototype.toString,EP=Date.prototype.toISOString,wP=Error.prototype.toString,Rc=RegExp.prototype.toString;function xi(e){return typeof e.constructor=="function"&&e.constructor.name||"Object"}function CP(e){return typeof window<"u"&&e===window}var TP=/^Symbol\((.*)\)(.*)$/,RP=/\n/g,sm=class extends Error{constructor(e,t){super(e),this.stack=t,this.name=this.constructor.name;}};function SP(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 PP(e){return Object.is(e,-0)?"-0":String(e)}function OP(e){return `${e}n`}function Sc(e,t){return t?`[Function ${e.name||"anonymous"}]`:"[Function]"}function Pc(e){return String(e).replace(TP,"Symbol($1)")}function Oc(e){return `[${wP.call(e)}]`}function um(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 PP(e);if(o==="bigint")return OP(e);if(o==="string")return n?`"${e.replaceAll(/"|\\/g,"\\$&")}"`:`"${e}"`;if(o==="function")return Sc(e,t);if(o==="symbol")return Pc(e);let a=lm.call(e);return a==="[object WeakMap]"?"WeakMap {}":a==="[object WeakSet]"?"WeakSet {}":a==="[object Function]"||a==="[object GeneratorFunction]"?Sc(e,t):a==="[object Symbol]"?Pc(e):a==="[object Date]"?Number.isNaN(+e)?"Date { NaN }":EP.call(e):a==="[object Error]"?Oc(e):a==="[object RegExp]"?r?Rc.call(e).replaceAll(/[$()*+.?[\\\]^{|}]/g,"\\$&"):Rc.call(e):e instanceof Error?Oc(e):null}function cm(e,t,r,n,o,a){if(o.includes(e))return "[Circular]";o=[...o],o.push(e);let i=++n>t.maxDepth,l=t.min;if(t.callToJSON&&!i&&e.toJSON&&typeof e.toJSON=="function"&&!a)return Mt(e.toJSON(),t,r,n,o,!0);let u=lm.call(e);return u==="[object Arguments]"?i?"[Arguments]":`${l?"":"Arguments "}[${Zn(e,t,r,n,o,Mt)}]`:SP(u)?i?`[${e.constructor.name}]`:`${l||!t.printBasicPrototype&&e.constructor.name==="Array"?"":`${e.constructor.name} `}[${Zn(e,t,r,n,o,Mt)}]`:u==="[object Map]"?i?"[Map]":`Map {${jo(e.entries(),t,r,n,o,Mt," => ")}}`:u==="[object Set]"?i?"[Set]":`Set {${xl(e.values(),t,r,n,o,Mt)}}`:i||CP(e)?`[${xi(e)}]`:`${l||!t.printBasicPrototype&&xi(e)==="Object"?"":`${xi(e)} `}{${Ml(e,t,r,n,o,Mt)}}`}function AP(e){return e.serialize!=null}function dm(e,t,r,n,o,a){let i;try{i=AP(e)?e.serialize(t,r,n,o,a,Mt):e.print(t,l=>Mt(l,r,n,o,a),l=>{let u=n+r.indent;return u+l.replaceAll(RP,`
101
- ${u}`)},{edgeSpacing:r.spacingOuter,min:r.min,spacing:r.spacingInner},r.colors);}catch(l){throw new sm(l.message,l.stack)}if(typeof i!="string")throw new TypeError(`pretty-format: Plugin must return type "string" but instead returned "${typeof i}".`);return i}function pm(e,t){for(let r of e)try{if(r.test(t))return r}catch(n){throw new sm(n.message,n.stack)}return null}function Mt(e,t,r,n,o,a){let i=pm(t.plugins,e);if(i!==null)return dm(i,e,t,r,n,o);let l=um(e,t.printFunctionName,t.escapeRegex,t.escapeString);return l!==null?l:cm(e,t,r,n,o,a)}var Bl={comment:"gray",content:"reset",prop:"yellow",tag:"cyan",value:"green"},fm=Object.keys(Bl),Xe={callToJSON:!0,compareKeys:void 0,escapeRegex:!1,escapeString:!0,highlight:!1,indent:2,maxDepth:Number.POSITIVE_INFINITY,maxWidth:Number.POSITIVE_INFINITY,min:!1,plugins:[],printBasicPrototype:!0,printFunctionName:!0,theme:Bl};function qP(e){for(let t of Object.keys(e))if(!Object.prototype.hasOwnProperty.call(Xe,t))throw new Error(`pretty-format: Unknown option "${t}".`);if(e.min&&e.indent!==void 0&&e.indent!==0)throw new Error('pretty-format: Options "min" and "indent" cannot be used together.')}function xP(){return fm.reduce((e,t)=>{let r=Bl[t],n=r&&we[r];if(n&&typeof n.close=="string"&&typeof n.open=="string")e[t]=n;else throw new Error(`pretty-format: Option "theme" has a key "${t}" whose value "${r}" is undefined in ansi-styles.`);return e},Object.create(null))}function MP(){return fm.reduce((e,t)=>(e[t]={close:"",open:""},e),Object.create(null))}function mm(e){return e?.printFunctionName??Xe.printFunctionName}function hm(e){return e?.escapeRegex??Xe.escapeRegex}function bm(e){return e?.escapeString??Xe.escapeString}function Ac(e){return {callToJSON:e?.callToJSON??Xe.callToJSON,colors:e?.highlight?xP():MP(),compareKeys:typeof e?.compareKeys=="function"||e?.compareKeys===null?e.compareKeys:Xe.compareKeys,escapeRegex:hm(e),escapeString:bm(e),indent:e?.min?"":NP(e?.indent??Xe.indent),maxDepth:e?.maxDepth??Xe.maxDepth,maxWidth:e?.maxWidth??Xe.maxWidth,min:e?.min??Xe.min,plugins:e?.plugins??Xe.plugins,printBasicPrototype:e?.printBasicPrototype??!0,printFunctionName:mm(e),spacingInner:e?.min?" ":`
102
- `,spacingOuter:e?.min?"":`
103
- `}}function NP(e){return Array.from({length:e+1}).join(" ")}function st(e,t){if(t&&(qP(t),t.plugins)){let n=pm(t.plugins,e);if(n!==null)return dm(n,e,Ac(t),"",0,[])}let r=um(e,mm(t),hm(t),bm(t));return r!==null?r:cm(e,Ac(t),"",0,[])}var gm={AsymmetricMatcher:xS,DOMCollection:LS,DOMElement:KS,Immutable:uP,ReactElement:hP,ReactTestComponent:_P},{AsymmetricMatcher:jP,DOMCollection:IP,DOMElement:$P,Immutable:BP,ReactElement:LP,ReactTestComponent:DP}=gm,qc=[DP,LP,$P,IP,BP,jP];function Ke(e,t=10,{maxLength:r,...n}={}){let o=r??1e4,a;try{a=st(e,{maxDepth:t,escapeString:!1,plugins:qc,...n});}catch{a=st(e,{callToJSON:!1,maxDepth:t,escapeString:!1,plugins:qc,...n});}return a.length>=o&&t>1?Ke(e,Math.floor(t/2)):a}var kP=/%[sdjifoOc%]/g;function FP(...e){if(typeof e[0]!="string"){let a=[];for(let i=0;i<e.length;i++)a.push(kr(e[i],{depth:0,colors:!1}));return a.join(" ")}let t=e.length,r=1,n=e[0],o=String(n).replace(kP,a=>{if(a==="%%")return "%";if(r>=t)return a;switch(a){case"%s":{let i=e[r++];return typeof i=="bigint"?`${i.toString()}n`:typeof i=="number"&&i===0&&1/i<0?"-0":typeof i=="object"&&i!==null?kr(i,{depth:0,colors:!1}):String(i)}case"%d":{let i=e[r++];return typeof i=="bigint"?`${i.toString()}n`:Number(i).toString()}case"%i":{let i=e[r++];return typeof i=="bigint"?`${i.toString()}n`:Number.parseInt(String(i)).toString()}case"%f":return Number.parseFloat(String(e[r++])).toString();case"%o":return kr(e[r++],{showHidden:!0,showProxy:!0});case"%O":return kr(e[r++]);case"%c":return r++,"";case"%j":try{return JSON.stringify(e[r++])}catch(i){let l=i.message;if(l.includes("circular structure")||l.includes("cyclic structures")||l.includes("cyclic object"))return "[Circular]";throw i}default:return a}});for(let a=e[r];r<t;a=e[++r])a===null||typeof a!="object"?o+=` ${a}`:o+=` ${kr(a)}`;return o}function kr(e,t={}){return t.truncate===0&&(t.truncate=Number.POSITIVE_INFINITY),ma(e,t)}var ym;ym=/\r?\n|[\r\u2028\u2029]/y;RegExp(ym.source);var vm={keyword:["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete"],strict:["implements","interface","let","package","private","protected","public","static","yield"]};new Set(vm.keyword);new Set(vm.strict);function xc(e){if(e===void 0)return "undefined";if(e===null)return "null";if(Array.isArray(e))return "array";if(typeof e=="boolean")return "boolean";if(typeof e=="function")return "function";if(typeof e=="number")return "number";if(typeof e=="string")return "string";if(typeof e=="bigint")return "bigint";if(typeof e=="object"){if(e!=null){if(e.constructor===RegExp)return "regexp";if(e.constructor===Map)return "map";if(e.constructor===Set)return "set";if(e.constructor===Date)return "date"}return "object"}else if(typeof e=="symbol")return "symbol";throw new Error(`value of unknown type: ${e}`)}var xe=-1,Pe=1,Ce=0,_e=class{0;1;constructor(e,t){this[0]=e,this[1]=t;}},aO=function(e,t){if(!e||!t||e.charAt(0)!==t.charAt(0))return 0;let r=0,n=Math.min(e.length,t.length),o=n,a=0;for(;r<o;)e.substring(a,o)===t.substring(a,o)?(r=o,a=r):n=o,o=Math.floor((n-r)/2+r);return o},_m=function(e,t){if(!e||!t||e.charAt(e.length-1)!==t.charAt(t.length-1))return 0;let r=0,n=Math.min(e.length,t.length),o=n,a=0;for(;r<o;)e.substring(e.length-o,e.length-a)===t.substring(t.length-o,t.length-a)?(r=o,a=r):n=o,o=Math.floor((n-r)/2+r);return o},Mc=function(e,t){let r=e.length,n=t.length;if(r===0||n===0)return 0;r>n?e=e.substring(r-n):r<n&&(t=t.substring(0,r));let o=Math.min(r,n);if(e===t)return o;let a=0,i=1;for(;;){let l=e.substring(o-i),u=t.indexOf(l);if(u===-1)return a;i+=u,(u===0||e.substring(o-i)===t.substring(0,i))&&(a=i,i++);}},lO=function(e){let t=!1,r=[],n=0,o=null,a=0,i=0,l=0,u=0,c=0;for(;a<e.length;)e[a][0]===Ce?(r[n++]=a,i=u,l=c,u=0,c=0,o=e[a][1]):(e[a][0]===Pe?u+=e[a][1].length:c+=e[a][1].length,o&&o.length<=Math.max(i,l)&&o.length<=Math.max(u,c)&&(e.splice(r[n-1],0,new _e(xe,o)),e[r[n-1]+1][0]=Pe,n--,n--,a=n>0?r[n-1]:-1,i=0,l=0,u=0,c=0,o=null,t=!0)),a++;for(t&&Em(e),cO(e),a=1;a<e.length;){if(e[a-1][0]===xe&&e[a][0]===Pe){let s=e[a-1][1],d=e[a][1],f=Mc(s,d),p=Mc(d,s);f>=p?(f>=s.length/2||f>=d.length/2)&&(e.splice(a,0,new _e(Ce,d.substring(0,f))),e[a-1][1]=s.substring(0,s.length-f),e[a+1][1]=d.substring(f),a++):(p>=s.length/2||p>=d.length/2)&&(e.splice(a,0,new _e(Ce,s.substring(0,p))),e[a-1][0]=Pe,e[a-1][1]=d.substring(0,d.length-p),e[a+1][0]=xe,e[a+1][1]=s.substring(p),a++),a++;}a++;}},Nc=/[^a-z0-9]/i,jc=/\s/,Ic=/[\r\n]/,sO=/\n\r?\n$/,uO=/^\r?\n\r?\n/;function cO(e){function t(n,o){if(!n||!o)return 6;let a=n.charAt(n.length-1),i=o.charAt(0),l=a.match(Nc),u=i.match(Nc),c=l&&a.match(jc),s=u&&i.match(jc),d=c&&a.match(Ic),f=s&&i.match(Ic),p=d&&n.match(sO),m=f&&o.match(uO);return p||m?5:d||f?4:l&&!c&&s?3:c||s?2:l||u?1:0}let r=1;for(;r<e.length-1;){if(e[r-1][0]===Ce&&e[r+1][0]===Ce){let n=e[r-1][1],o=e[r][1],a=e[r+1][1],i=_m(n,o);if(i){let d=o.substring(o.length-i);n=n.substring(0,n.length-i),o=d+o.substring(0,o.length-i),a=d+a;}let l=n,u=o,c=a,s=t(n,o)+t(o,a);for(;o.charAt(0)===a.charAt(0);){n+=o.charAt(0),o=o.substring(1)+a.charAt(0),a=a.substring(1);let d=t(n,o)+t(o,a);d>=s&&(s=d,l=n,u=o,c=a);}e[r-1][1]!==l&&(l?e[r-1][1]=l:(e.splice(r-1,1),r--),e[r][1]=u,c?e[r+1][1]=c:(e.splice(r+1,1),r--));}r++;}}function Em(e){e.push(new _e(Ce,""));let t=0,r=0,n=0,o="",a="",i;for(;t<e.length;)switch(e[t][0]){case Pe:n++,a+=e[t][1],t++;break;case xe:r++,o+=e[t][1],t++;break;case Ce:r+n>1?(r!==0&&n!==0&&(i=aO(a,o),i!==0&&(t-r-n>0&&e[t-r-n-1][0]===Ce?e[t-r-n-1][1]+=a.substring(0,i):(e.splice(0,0,new _e(Ce,a.substring(0,i))),t++),a=a.substring(i),o=o.substring(i)),i=_m(a,o),i!==0&&(e[t][1]=a.substring(a.length-i)+e[t][1],a=a.substring(0,a.length-i),o=o.substring(0,o.length-i))),t-=r+n,e.splice(t,r+n),o.length&&(e.splice(t,0,new _e(xe,o)),t++),a.length&&(e.splice(t,0,new _e(Pe,a)),t++),t++):t!==0&&e[t-1][0]===Ce?(e[t-1][1]+=e[t][1],e.splice(t,1)):t++,n=0,r=0,o="",a="";break}e[e.length-1][1]===""&&e.pop();let l=!1;for(t=1;t<e.length-1;)e[t-1][0]===Ce&&e[t+1][0]===Ce&&(e[t][1].substring(e[t][1].length-e[t-1][1].length)===e[t-1][1]?(e[t][1]=e[t-1][1]+e[t][1].substring(0,e[t][1].length-e[t-1][1].length),e[t+1][1]=e[t-1][1]+e[t+1][1],e.splice(t-1,1),l=!0):e[t][1].substring(0,e[t+1][1].length)===e[t+1][1]&&(e[t-1][1]+=e[t+1][1],e[t][1]=e[t][1].substring(e[t+1][1].length)+e[t+1][1],e.splice(t+1,1),l=!0)),t++;l&&Em(e);}var wm="Compared values have no visual difference.",dO="Compared values serialize to the same structure.\nPrinting internal object structure without calling `toJSON` instead.",Cm={};Object.defineProperty(Cm,"__esModule",{value:!0});var Tm=Cm.default=hO,Wr="diff-sequences",Ae=0,en=(e,t,r,n,o)=>{let a=0;for(;e<t&&r<n&&o(e,r);)e+=1,r+=1,a+=1;return a},tn=(e,t,r,n,o)=>{let a=0;for(;e<=t&&r<=n&&o(t,n);)t-=1,n-=1,a+=1;return a},Mi=(e,t,r,n,o,a,i)=>{let l=0,u=-e,c=a[l],s=c;a[l]+=en(c+1,t,n+c-u+1,r,o);let d=e<i?e:i;for(l+=1,u+=2;l<=d;l+=1,u+=2){if(l!==e&&s<a[l])c=a[l];else if(c=s+1,t<=c)return l-1;s=a[l],a[l]=c+en(c+1,t,n+c-u+1,r,o);}return i},$c=(e,t,r,n,o,a,i)=>{let l=0,u=e,c=a[l],s=c;a[l]-=tn(t,c-1,r,n+c-u-1,o);let d=e<i?e:i;for(l+=1,u-=2;l<=d;l+=1,u-=2){if(l!==e&&a[l]<s)c=a[l];else if(c=s-1,c<t)return l-1;s=a[l],a[l]=c-tn(t,c-1,r,n+c-u-1,o);}return i},pO=(e,t,r,n,o,a,i,l,u,c,s)=>{let d=n-t,f=r-t,p=o-n-f,m=-p-(e-1),h=-p+(e-1),b=Ae,g=e<l?e:l;for(let y=0,T=-e;y<=g;y+=1,T+=2){let C=y===0||y!==e&&b<i[y],E=C?i[y]:b,w=C?E:E+1,_=d+w-T,v=en(w+1,r,_+1,o,a),O=w+v;if(b=i[y],i[y]=O,m<=T&&T<=h){let A=(e-1-(T+p))/2;if(A<=c&&u[A]-1<=O){let I=d+E-(C?T+1:T-1),D=tn(t,E,n,I,a),$=E-D,x=I-D,B=$+1,V=x+1;s.nChangePreceding=e-1,e-1===B+V-t-n?(s.aEndPreceding=t,s.bEndPreceding=n):(s.aEndPreceding=B,s.bEndPreceding=V),s.nCommonPreceding=D,D!==0&&(s.aCommonPreceding=B,s.bCommonPreceding=V),s.nCommonFollowing=v,v!==0&&(s.aCommonFollowing=w+1,s.bCommonFollowing=_+1);let K=O+1,W=_+v+1;return s.nChangeFollowing=e-1,e-1===r+o-K-W?(s.aStartFollowing=r,s.bStartFollowing=o):(s.aStartFollowing=K,s.bStartFollowing=W),!0}}}return !1},fO=(e,t,r,n,o,a,i,l,u,c,s)=>{let d=o-r,f=r-t,p=o-n-f,m=p-e,h=p+e,b=Ae,g=e<c?e:c;for(let y=0,T=e;y<=g;y+=1,T-=2){let C=y===0||y!==e&&u[y]<b,E=C?u[y]:b,w=C?E:E-1,_=d+w-T,v=tn(t,w-1,n,_-1,a),O=w-v;if(b=u[y],u[y]=O,m<=T&&T<=h){let A=(e+(T-p))/2;if(A<=l&&O-1<=i[A]){let I=_-v;if(s.nChangePreceding=e,e===O+I-t-n?(s.aEndPreceding=t,s.bEndPreceding=n):(s.aEndPreceding=O,s.bEndPreceding=I),s.nCommonPreceding=v,v!==0&&(s.aCommonPreceding=O,s.bCommonPreceding=I),s.nChangeFollowing=e-1,e===1)s.nCommonFollowing=0,s.aStartFollowing=r,s.bStartFollowing=o;else {let D=d+E-(C?T-1:T+1),$=en(E,r,D,o,a);s.nCommonFollowing=$,$!==0&&(s.aCommonFollowing=E,s.bCommonFollowing=D);let x=E+$,B=D+$;e-1===r+o-x-B?(s.aStartFollowing=r,s.bStartFollowing=o):(s.aStartFollowing=x,s.bStartFollowing=B);}return !0}}}return !1},mO=(e,t,r,n,o,a,i,l,u)=>{let c=n-t,s=o-r,d=r-t,f=o-n,p=f-d,m=d,h=d;if(i[0]=t-1,l[0]=r,p%2===0){let b=(e||p)/2,g=(d+f)/2;for(let y=1;y<=g;y+=1)if(m=Mi(y,r,o,c,a,i,m),y<b)h=$c(y,t,n,s,a,l,h);else if(fO(y,t,r,n,o,a,i,m,l,h,u))return}else {let b=((e||p)+1)/2,g=(d+f+1)/2,y=1;for(m=Mi(y,r,o,c,a,i,m),y+=1;y<=g;y+=1)if(h=$c(y-1,t,n,s,a,l,h),y<b)m=Mi(y,r,o,c,a,i,m);else if(pO(y,t,r,n,o,a,i,m,l,h,u))return}throw new Error(`${Wr}: no overlap aStart=${t} aEnd=${r} bStart=${n} bEnd=${o}`)},ba=(e,t,r,n,o,a,i,l,u,c)=>{if(o-n<r-t){if(a=!a,a&&i.length===1){let{foundSubsequence:A,isCommon:I}=i[0];i[1]={foundSubsequence:(D,$,x)=>{A(D,x,$);},isCommon:(D,$)=>I($,D)};}let v=t,O=r;t=n,r=o,n=v,o=O;}let{foundSubsequence:s,isCommon:d}=i[a?1:0];mO(e,t,r,n,o,d,l,u,c);let{nChangePreceding:f,aEndPreceding:p,bEndPreceding:m,nCommonPreceding:h,aCommonPreceding:b,bCommonPreceding:g,nCommonFollowing:y,aCommonFollowing:T,bCommonFollowing:C,nChangeFollowing:E,aStartFollowing:w,bStartFollowing:_}=c;t<p&&n<m&&ba(f,t,p,n,m,a,i,l,u,c),h!==0&&s(h,b,g),y!==0&&s(y,T,C),w<r&&_<o&&ba(E,w,r,_,o,a,i,l,u,c);},Bc=(e,t)=>{if(typeof t!="number")throw new TypeError(`${Wr}: ${e} typeof ${typeof t} is not a number`);if(!Number.isSafeInteger(t))throw new RangeError(`${Wr}: ${e} value ${t} is not a safe integer`);if(t<0)throw new RangeError(`${Wr}: ${e} value ${t} is a negative integer`)},Lc=(e,t)=>{let r=typeof t;if(r!=="function")throw new TypeError(`${Wr}: ${e} typeof ${r} is not a function`)};function hO(e,t,r,n){Bc("aLength",e),Bc("bLength",t),Lc("isCommon",r),Lc("foundSubsequence",n);let o=en(0,e,0,t,r);if(o!==0&&n(o,0,0),e!==o||t!==o){let a=o,i=o,l=tn(a,e-1,i,t-1,r),u=e-l,c=t-l,s=o+l;e!==s&&t!==s&&ba(0,a,u,i,c,!1,[{foundSubsequence:n,isCommon:r}],[Ae],[Ae],{aCommonFollowing:Ae,aCommonPreceding:Ae,aEndPreceding:Ae,aStartFollowing:Ae,bCommonFollowing:Ae,bCommonPreceding:Ae,bEndPreceding:Ae,bStartFollowing:Ae,nChangeFollowing:Ae,nChangePreceding:Ae,nCommonFollowing:Ae,nCommonPreceding:Ae}),l!==0&&n(l,u,c);}}function bO(e,t){return e.replace(/\s+$/,r=>t(r))}function Ll(e,t,r,n,o,a){return e.length!==0?r(`${n} ${bO(e,o)}`):n!==" "?r(n):t&&a.length!==0?r(`${n} ${a}`):""}function Rm(e,t,{aColor:r,aIndicator:n,changeLineTrailingSpaceColor:o,emptyFirstOrLastLinePlaceholder:a}){return Ll(e,t,r,n,o,a)}function Sm(e,t,{bColor:r,bIndicator:n,changeLineTrailingSpaceColor:o,emptyFirstOrLastLinePlaceholder:a}){return Ll(e,t,r,n,o,a)}function Pm(e,t,{commonColor:r,commonIndicator:n,commonLineTrailingSpaceColor:o,emptyFirstOrLastLinePlaceholder:a}){return Ll(e,t,r,n,o,a)}function Dc(e,t,r,n,{patchColor:o}){return o(`@@ -${e+1},${t-e} +${r+1},${n-r} @@`)}function gO(e,t){let r=e.length,n=t.contextLines,o=n+n,a=r,i=!1,l=0,u=0;for(;u!==r;){let C=u;for(;u!==r&&e[u][0]===Ce;)u+=1;if(C!==u)if(C===0)u>n&&(a-=u-n,i=!0);else if(u===r){let E=u-C;E>n&&(a-=E-n,i=!0);}else {let E=u-C;E>o&&(a-=E-o,l+=1);}for(;u!==r&&e[u][0]!==Ce;)u+=1;}let c=l!==0||i;l!==0?a+=l+1:i&&(a+=1);let s=a-1,d=[],f=0;c&&d.push("");let p=0,m=0,h=0,b=0,g=C=>{let E=d.length;d.push(Pm(C,E===0||E===s,t)),h+=1,b+=1;},y=C=>{let E=d.length;d.push(Rm(C,E===0||E===s,t)),h+=1;},T=C=>{let E=d.length;d.push(Sm(C,E===0||E===s,t)),b+=1;};for(u=0;u!==r;){let C=u;for(;u!==r&&e[u][0]===Ce;)u+=1;if(C!==u)if(C===0){u>n&&(C=u-n,p=C,m=C,h=p,b=m);for(let E=C;E!==u;E+=1)g(e[E][1]);}else if(u===r){let E=u-C>n?C+n:u;for(let w=C;w!==E;w+=1)g(e[w][1]);}else {let E=u-C;if(E>o){let w=C+n;for(let v=C;v!==w;v+=1)g(e[v][1]);d[f]=Dc(p,h,m,b,t),f=d.length,d.push("");let _=E-o;p=h+_,m=b+_,h=p,b=m;for(let v=u-n;v!==u;v+=1)g(e[v][1]);}else for(let w=C;w!==u;w+=1)g(e[w][1]);}for(;u!==r&&e[u][0]===xe;)y(e[u][1]),u+=1;for(;u!==r&&e[u][0]===Pe;)T(e[u][1]),u+=1;}return c&&(d[f]=Dc(p,h,m,b,t)),d.join(`
104
- `)}function yO(e,t){return e.map((r,n,o)=>{let a=r[1],i=n===0||n===o.length-1;switch(r[0]){case xe:return Rm(a,i,t);case Pe:return Sm(a,i,t);default:return Pm(a,i,t)}}).join(`
105
- `)}var Ni=e=>e,Om=5,vO=0;function _O(){return {aAnnotation:"Expected",aColor:we.green,aIndicator:"-",bAnnotation:"Received",bColor:we.red,bIndicator:"+",changeColor:we.inverse,changeLineTrailingSpaceColor:Ni,commonColor:we.dim,commonIndicator:" ",commonLineTrailingSpaceColor:Ni,compareKeys:void 0,contextLines:Om,emptyFirstOrLastLinePlaceholder:"",expand:!0,includeChangeCounts:!1,omitAnnotationLines:!1,patchColor:we.yellow,truncateThreshold:vO,truncateAnnotation:"... Diff result is truncated",truncateAnnotationColor:Ni}}function EO(e){return e&&typeof e=="function"?e:void 0}function wO(e){return typeof e=="number"&&Number.isSafeInteger(e)&&e>=0?e:Om}function Zt(e={}){return {..._O(),...e,compareKeys:EO(e.compareKeys),contextLines:wO(e.contextLines)}}function dr(e){return e.length===1&&e[0].length===0}function CO(e){let t=0,r=0;return e.forEach(n=>{switch(n[0]){case xe:t+=1;break;case Pe:r+=1;break}}),{a:t,b:r}}function TO({aAnnotation:e,aColor:t,aIndicator:r,bAnnotation:n,bColor:o,bIndicator:a,includeChangeCounts:i,omitAnnotationLines:l},u){if(l)return "";let c="",s="";if(i){let p=String(u.a),m=String(u.b),h=n.length-e.length,b=" ".repeat(Math.max(0,h)),g=" ".repeat(Math.max(0,-h)),y=m.length-p.length,T=" ".repeat(Math.max(0,y)),C=" ".repeat(Math.max(0,-y));c=`${b} ${r} ${T}${p}`,s=`${g} ${a} ${C}${m}`;}let d=`${r} ${e}${c}`,f=`${a} ${n}${s}`;return `${t(d)}
106
- ${o(f)}
107
-
108
- `}function Dl(e,t,r){return TO(r,CO(e))+(r.expand?yO(e,r):gO(e,r))+(t?r.truncateAnnotationColor(`
109
- ${r.truncateAnnotation}`):"")}function $o(e,t,r){let n=Zt(r),[o,a]=Am(dr(e)?[]:e,dr(t)?[]:t,n);return Dl(o,a,n)}function RO(e,t,r,n,o){if(dr(e)&&dr(r)&&(e=[],r=[]),dr(t)&&dr(n)&&(t=[],n=[]),e.length!==r.length||t.length!==n.length)return $o(e,t,o);let[a,i]=Am(r,n,o),l=0,u=0;return a.forEach(c=>{switch(c[0]){case xe:c[1]=e[l],l+=1;break;case Pe:c[1]=t[u],u+=1;break;default:c[1]=t[u],l+=1,u+=1;}}),Dl(a,i,Zt(o))}function Am(e,t,r){let n=r?.truncateThreshold??!1,o=Math.max(Math.floor(r?.truncateThreshold??0),0),a=n?Math.min(e.length,o):e.length,i=n?Math.min(t.length,o):t.length,l=a!==e.length||i!==t.length,u=(f,p)=>e[f]===t[p],c=[],s=0,d=0;for(Tm(a,i,u,(f,p,m)=>{for(;s!==p;s+=1)c.push(new _e(xe,e[s]));for(;d!==m;d+=1)c.push(new _e(Pe,t[d]));for(;f!==0;f-=1,s+=1,d+=1)c.push(new _e(Ce,t[d]));});s!==a;s+=1)c.push(new _e(xe,e[s]));for(;d!==i;d+=1)c.push(new _e(Pe,t[d]));return [c,l]}function kc(e){return e.includes(`\r
110
- `)?`\r
111
- `:`
112
- `}function SO(e,t,r){let n=r?.truncateThreshold??!1,o=Math.max(Math.floor(r?.truncateThreshold??0),0),a=e.length,i=t.length;if(n){let f=e.includes(`
113
- `),p=t.includes(`
114
- `),m=kc(e),h=kc(t),b=f?`${e.split(m,o).join(m)}
115
- `:e,g=p?`${t.split(h,o).join(h)}
116
- `:t;a=b.length,i=g.length;}let l=a!==e.length||i!==t.length,u=(f,p)=>e[f]===t[p],c=0,s=0,d=[];return Tm(a,i,u,(f,p,m)=>{c!==p&&d.push(new _e(xe,e.slice(c,p))),s!==m&&d.push(new _e(Pe,t.slice(s,m))),c=p+f,s=m+f,d.push(new _e(Ce,t.slice(m,s)));}),c!==a&&d.push(new _e(xe,e.slice(c))),s!==i&&d.push(new _e(Pe,t.slice(s))),[d,l]}function PO(e,t,r){return t.reduce((n,o)=>n+(o[0]===Ce?o[1]:o[0]===e&&o[1].length!==0?r(o[1]):""),"")}var Fc=class{op;line;lines;changeColor;constructor(e,t){this.op=e,this.line=[],this.lines=[],this.changeColor=t;}pushSubstring(e){this.pushDiff(new _e(this.op,e));}pushLine(){this.lines.push(this.line.length!==1?new _e(this.op,PO(this.op,this.line,this.changeColor)):this.line[0][0]===this.op?this.line[0]:new _e(this.op,this.line[0][1])),this.line.length=0;}isLineEmpty(){return this.line.length===0}pushDiff(e){this.line.push(e);}align(e){let t=e[1];if(t.includes(`
117
- `)){let r=t.split(`
118
- `),n=r.length-1;r.forEach((o,a)=>{a<n?(this.pushSubstring(o),this.pushLine()):o.length!==0&&this.pushSubstring(o);});}else this.pushDiff(e);}moveLinesTo(e){this.isLineEmpty()||this.pushLine(),e.push(...this.lines),this.lines.length=0;}},OO=class{deleteBuffer;insertBuffer;lines;constructor(e,t){this.deleteBuffer=e,this.insertBuffer=t,this.lines=[];}pushDiffCommonLine(e){this.lines.push(e);}pushDiffChangeLines(e){let t=e[1].length===0;(!t||this.deleteBuffer.isLineEmpty())&&this.deleteBuffer.pushDiff(e),(!t||this.insertBuffer.isLineEmpty())&&this.insertBuffer.pushDiff(e);}flushChangeLines(){this.deleteBuffer.moveLinesTo(this.lines),this.insertBuffer.moveLinesTo(this.lines);}align(e){let t=e[0],r=e[1];if(r.includes(`
119
- `)){let n=r.split(`
120
- `),o=n.length-1;n.forEach((a,i)=>{if(i===0){let l=new _e(t,a);this.deleteBuffer.isLineEmpty()&&this.insertBuffer.isLineEmpty()?(this.flushChangeLines(),this.pushDiffCommonLine(l)):(this.pushDiffChangeLines(l),this.flushChangeLines());}else i<o?this.pushDiffCommonLine(new _e(t,a)):a.length!==0&&this.pushDiffChangeLines(new _e(t,a));});}else this.pushDiffChangeLines(e);}getLines(){return this.flushChangeLines(),this.lines}};function AO(e,t){let r=new Fc(xe,t),n=new Fc(Pe,t),o=new OO(r,n);return e.forEach(a=>{switch(a[0]){case xe:r.align(a);break;case Pe:n.align(a);break;default:o.align(a);}}),o.getLines()}function qO(e,t){if(t){let r=e.length-1;return e.some((n,o)=>n[0]===Ce&&(o!==r||n[1]!==`
121
- `))}return e.some(r=>r[0]===Ce)}function xO(e,t,r){if(e!==t&&e.length!==0&&t.length!==0){let n=e.includes(`
122
- `)||t.includes(`
123
- `),[o,a]=qm(n?`${e}
124
- `:e,n?`${t}
125
- `:t,!0,r);if(qO(o,n)){let i=Zt(r),l=AO(o,i.changeColor);return Dl(l,a,i)}}return $o(e.split(`
126
- `),t.split(`
127
- `),r)}function qm(e,t,r,n){let[o,a]=SO(e,t,n);return lO(o),[o,a]}function ga(e,t){let{commonColor:r}=Zt(t);return r(e)}var{AsymmetricMatcher:MO,DOMCollection:NO,DOMElement:jO,Immutable:IO,ReactElement:$O,ReactTestComponent:BO}=gm,xm=[BO,$O,jO,NO,IO,MO],ya={plugins:xm},Mm={callToJSON:!1,maxDepth:10,plugins:xm};function wr(e,t,r){if(Object.is(e,t))return "";let n=xc(e),o=n,a=!1;if(n==="object"&&typeof e.asymmetricMatch=="function"){if(e.$$typeof!==Symbol.for("jest.asymmetricMatcher")||typeof e.getExpectedType!="function")return;o=e.getExpectedType(),a=o==="string";}if(o!==xc(t)){let{aAnnotation:i,aColor:l,aIndicator:u,bAnnotation:c,bColor:s,bIndicator:d}=Zt(r),f=va(Mm,r),p=st(e,f),m=st(t,f),h=`${l(`${u} ${i}:`)}
128
- ${p}`,b=`${s(`${d} ${c}:`)}
129
- ${m}`;return `${h}
130
-
131
- ${b}`}if(!a)switch(n){case"string":return $o(e.split(`
132
- `),t.split(`
133
- `),r);case"boolean":case"number":return LO(e,t,r);case"map":return ji(Uc(e),Uc(t),r);case"set":return ji(Hc(e),Hc(t),r);default:return ji(e,t,r)}}function LO(e,t,r){let n=st(e,ya),o=st(t,ya);return n===o?"":$o(n.split(`
134
- `),o.split(`
135
- `),r)}function Uc(e){return new Map(Array.from(e.entries()).sort())}function Hc(e){return new Set(Array.from(e.values()).sort())}function ji(e,t,r){let n,o=!1;try{let i=va(ya,r);n=Vc(e,t,i,r);}catch{o=!0;}let a=ga(wm,r);if(n===void 0||n===a){let i=va(Mm,r);n=Vc(e,t,i,r),n!==a&&!o&&(n=`${ga(dO,r)}
136
-
137
- ${n}`);}return n}function va(e,t){let{compareKeys:r}=Zt(t);return {...e,compareKeys:r}}function Vc(e,t,r,n){let o={...r,indent:0},a=st(e,o),i=st(t,o);if(a===i)return ga(wm,n);{let l=st(e,r),u=st(t,r);return RO(l.split(`
138
- `),u.split(`
139
- `),a.split(`
140
- `),i.split(`
141
- `),n)}}var zc=2e4;function Gc(e){return da(e)==="Object"&&typeof e.asymmetricMatch=="function"}function Wc(e,t){let r=da(e),n=da(t);return r===n&&(r==="Object"||r==="Array")}function Nm(e,t,r){let{aAnnotation:n,bAnnotation:o}=Zt(r);if(typeof e=="string"&&typeof t=="string"&&e.length>0&&t.length>0&&e.length<=zc&&t.length<=zc&&e!==t){if(e.includes(`
142
- `)||t.includes(`
143
- `))return xO(t,e,r);let[c]=qm(t,e),s=c.some(m=>m[0]===Ce),d=DO(n,o),f=d(n)+UO(Kc(c,xe,s)),p=d(o)+FO(Kc(c,Pe,s));return `${f}
144
- ${p}`}let a=uc(e,{forceWritable:!0}),i=uc(t,{forceWritable:!0}),{replacedExpected:l,replacedActual:u}=jm(a,i);return wr(l,u,r)}function jm(e,t,r=new WeakSet,n=new WeakSet){return Wc(e,t)?r.has(e)||n.has(t)?{replacedActual:e,replacedExpected:t}:(r.add(e),n.add(t),Jf(t).forEach(o=>{let a=t[o],i=e[o];if(Gc(a))a.asymmetricMatch(i)&&(e[o]=a);else if(Gc(i))i.asymmetricMatch(a)&&(t[o]=i);else if(Wc(i,a)){let l=jm(i,a,r,n);e[o]=l.replacedActual,t[o]=l.replacedExpected;}}),{replacedActual:e,replacedExpected:t}):{replacedActual:e,replacedExpected:t}}function DO(...e){let t=e.reduce((r,n)=>n.length>r?n.length:r,0);return r=>`${r}: ${" ".repeat(t-r.length)}`}var kO="\xB7";function Im(e){return e.replace(/\s+$/gm,t=>kO.repeat(t.length))}function FO(e){return we.red(Im(Ke(e)))}function UO(e){return we.green(Im(Ke(e)))}function Kc(e,t,r){return e.reduce((n,o)=>n+(o[0]===Ce?o[1]:o[0]===t?r?we.inverse(o[1]):o[1]:""),"")}function Fn(e,t){if(!e)throw new Error(t)}function pr(e,t){return typeof t===e}function HO(e){return e instanceof Promise}function _a(e,t,r){Object.defineProperty(e,t,r);}function hr(e,t,r){Object.defineProperty(e,t,{value:r});}var Kr=Symbol.for("tinyspy:spy"),VO=new Set,zO=e=>{e.called=!1,e.callCount=0,e.calls=[],e.results=[],e.resolves=[],e.next=[];},GO=e=>(_a(e,Kr,{value:{reset:()=>zO(e[Kr])}}),e[Kr]),eo=e=>e[Kr]||GO(e);function WO(e){Fn(pr("function",e)||pr("undefined",e),"cannot spy on a non-function value");let t=function(...n){let o=eo(t);o.called=!0,o.callCount++,o.calls.push(n);let a=o.next.shift();if(a){o.results.push(a);let[s,d]=a;if(s==="ok")return d;throw d}let i,l="ok",u=o.results.length;if(o.impl)try{new.target?i=Reflect.construct(o.impl,n,new.target):i=o.impl.apply(this,n),l="ok";}catch(s){throw i=s,l="error",o.results.push([l,s]),s}let c=[l,i];return HO(i)&&i.then(s=>o.resolves[u]=["ok",s],s=>o.resolves[u]=["error",s]),o.results.push(c),i};hr(t,"_isMockFunction",!0),hr(t,"length",e?e.length:0),hr(t,"name",e&&e.name||"spy");let r=eo(t);return r.reset(),r.impl=e,t}var Yc=(e,t)=>Object.getOwnPropertyDescriptor(e,t),Jc=(e,t)=>{t!=null&&typeof t=="function"&&t.prototype!=null&&Object.setPrototypeOf(e.prototype,t.prototype);};function $m(e,t,r){Fn(!pr("undefined",e),"spyOn could not find an object to spy upon"),Fn(pr("object",e)||pr("function",e),"cannot spyOn on a primitive value");let[n,o]=(()=>{if(!pr("object",t))return [t,"value"];if("getter"in t&&"setter"in t)throw new Error("cannot spy on both getter and setter");if("getter"in t)return [t.getter,"get"];if("setter"in t)return [t.setter,"set"];throw new Error("specify getter or setter to spy on")})(),a=Yc(e,n),i=Object.getPrototypeOf(e),l=i&&Yc(i,n),u=a||l;Fn(u||n in e,`${String(n)} does not exist`);let c=!1;o==="value"&&u&&!u.value&&u.get&&(o="get",c=!0,r=u.get());let s;u?s=u[o]:o!=="value"?s=()=>e[n]:s=e[n],r||(r=s);let d=WO(r);o==="value"&&Jc(d,s);let f=h=>{let{value:b,...g}=u||{configurable:!0,writable:!0};o!=="value"&&delete g.writable,g[o]=h,_a(e,n,g);},p=()=>u?_a(e,n,u):f(s),m=d[Kr];return hr(m,"restore",p),hr(m,"getOriginal",()=>c?s():s),hr(m,"willCall",h=>(m.impl=h,d)),f(c?()=>(Jc(d,r),d):d),VO.add(d),d}var vn=new Set;function kl(e){return typeof e=="function"&&"_isMockFunction"in e&&e._isMockFunction}function KO(e,t,r){let n=r?{[{get:"getter",set:"setter"}[r]]:t}:t,o=$m(e,n);return Bm(o)}var YO=0;function Bm(e){let t=e,r,n=[],o=[],a=[],i=eo(e),l={get calls(){return i.calls},get contexts(){return o},get instances(){return n},get invocationCallOrder(){return a},get results(){return i.results.map(([p,m])=>({type:p==="error"?"throw":"return",value:m}))},get settledResults(){return i.resolves.map(([p,m])=>({type:p==="error"?"rejected":"fulfilled",value:m}))},get lastCall(){return i.calls[i.calls.length-1]}},u=[],c=!1;function s(...p){return n.push(this),o.push(this),a.push(++YO),(c?r:u.shift()||r||i.getOriginal()||(()=>{})).apply(this,p)}let d=t.name;t.getMockName=()=>d||"vi.fn()",t.mockName=p=>(d=p,t),t.mockClear=()=>(i.reset(),n=[],o=[],a=[],t),t.mockReset=()=>(t.mockClear(),r=()=>{},u=[],t),t.mockRestore=()=>(t.mockReset(),i.restore(),r=void 0,t),t.getMockImplementation=()=>r,t.mockImplementation=p=>(r=p,i.willCall(s),t),t.mockImplementationOnce=p=>(u.push(p),t);function f(p,m){let h=r;r=p,i.willCall(s),c=!0;let b=()=>{r=h,c=!1;},g=m();return g instanceof Promise?g.then(()=>(b(),t)):(b(),t)}return t.withImplementation=f,t.mockReturnThis=()=>t.mockImplementation(function(){return this}),t.mockReturnValue=p=>t.mockImplementation(()=>p),t.mockReturnValueOnce=p=>t.mockImplementationOnce(()=>p),t.mockResolvedValue=p=>t.mockImplementation(()=>Promise.resolve(p)),t.mockResolvedValueOnce=p=>t.mockImplementationOnce(()=>Promise.resolve(p)),t.mockRejectedValue=p=>t.mockImplementation(()=>Promise.reject(p)),t.mockRejectedValueOnce=p=>t.mockImplementationOnce(()=>Promise.reject(p)),Object.defineProperty(t,"mock",{get:()=>l}),i.willCall(s),vn.add(t),t}function Xc(e){let t=Bm($m({spy:e||function(){}},"spy"));return e&&t.mockImplementation(e),t}var JO="@@__IMMUTABLE_RECORD__@@",XO="@@__IMMUTABLE_ITERABLE__@@";function QO(e){return e&&(e[XO]||e[JO])}var ZO=Object.getPrototypeOf({});function Qc(e){return e instanceof Error?`<unserializable>: ${e.message}`:typeof e=="string"?`<unserializable>: ${e}`:"<unserializable>"}function fr(e,t=new WeakMap){if(!e||typeof e=="string")return e;if(typeof e=="function")return `Function<${e.name||"anonymous"}>`;if(typeof e=="symbol")return e.toString();if(typeof e!="object")return e;if(QO(e))return fr(e.toJSON(),t);if(e instanceof Promise||e.constructor&&e.constructor.prototype==="AsyncFunction")return "Promise";if(typeof Element<"u"&&e instanceof Element)return e.tagName;if(typeof e.asymmetricMatch=="function")return `${e.toString()} ${FP(e.sample)}`;if(typeof e.toJSON=="function")return fr(e.toJSON(),t);if(t.has(e))return t.get(e);if(Array.isArray(e)){let r=new Array(e.length);return t.set(e,r),e.forEach((n,o)=>{try{r[o]=fr(n,t);}catch(a){r[o]=Qc(a);}}),r}else {let r=Object.create(null);t.set(e,r);let n=e;for(;n&&n!==ZO;)Object.getOwnPropertyNames(n).forEach(o=>{if(!(o in r))try{r[o]=fr(e[o],t);}catch(a){delete r[o],r[o]=Qc(a);}}),n=Object.getPrototypeOf(n);return r}}function eA(e){return e.replace(/__(vite_ssr_import|vi_import)_\d+__\./g,"")}function Lm(e,t,r=new WeakSet){if(!e||typeof e!="object")return {message:String(e)};let n=e;n.stack&&(n.stackStr=String(n.stack)),n.name&&(n.nameStr=String(n.name)),(n.showDiff||n.showDiff===void 0&&n.expected!==void 0&&n.actual!==void 0)&&(n.diff=Nm(n.actual,n.expected,{...t,...n.diffOptions})),typeof n.expected!="string"&&(n.expected=Ke(n.expected,10)),typeof n.actual!="string"&&(n.actual=Ke(n.actual,10));try{typeof n.message=="string"&&(n.message=eA(n.message));}catch{}try{!r.has(n)&&typeof n.cause=="object"&&(r.add(n),n.cause=Lm(n.cause,t,r));}catch{}try{return fr(n)}catch(o){return fr(new Error(`Failed to fully serialize error: ${o?.message}
145
- Inner error message: ${n?.message}`))}}var rn=Symbol.for("matchers-object"),nn=Symbol.for("$$jest-matchers-object-storybook"),Fl=Symbol.for("expect-global"),Ea=Symbol.for("asymmetric-matchers-object");if(!Object.prototype.hasOwnProperty.call(globalThis,rn)){let e=new WeakMap;Object.defineProperty(globalThis,rn,{get:()=>e});}if(!Object.prototype.hasOwnProperty.call(globalThis,nn)){let e=Object.create(null),t=[];Object.defineProperty(globalThis,nn,{configurable:!0,get:()=>({state:globalThis[rn].get(globalThis[Fl]),matchers:e,customEqualityTesters:t})});}if(!Object.prototype.hasOwnProperty.call(globalThis,Ea)){let e=Object.create(null);Object.defineProperty(globalThis,Ea,{get:()=>e});}function to(e){return globalThis[rn].get(e)}function Ii(e,t){let r=globalThis[rn],n=r.get(t)||{};Object.assign(n,e),r.set(t,n);}var ro=we.green,Ul=we.red,tA=we.inverse,rA=we.bold,xt=we.dim;function nA(e,t="received",r="expected",n={}){let{comment:o="",isDirectExpectCall:a=!1,isNot:i=!1,promise:l="",secondArgument:u="",expectedColor:c=ro,receivedColor:s=Ul,secondArgumentColor:d=ro}=n,f="",p="expect";return !a&&t!==""&&(f+=xt(`${p}(`)+s(t),p=")"),l!==""&&(f+=xt(`${p}.`)+l,p=""),i&&(f+=`${xt(`${p}.`)}not`,p=""),e.includes(".")?p+=e:(f+=xt(`${p}.`)+e,p=""),r===""?p+="()":(f+=xt(`${p}(`)+c(r),u&&(f+=xt(", ")+d(u)),p=")"),o!==""&&(p+=` // ${o}`),p!==""&&(f+=xt(p)),f}var oA="\xB7";function Dm(e){return e.replace(/\s+$/gm,t=>oA.repeat(t.length))}function iA(e){return Ul(Dm(Ke(e)))}function aA(e){return ro(Dm(Ke(e)))}function km(){return {EXPECTED_COLOR:ro,RECEIVED_COLOR:Ul,INVERTED_COLOR:tA,BOLD_WEIGHT:rA,DIM_COLOR:xt,diff:wr,matcherHint:nA,printReceived:iA,printExpected:aA,printDiffOrStringify:Nm}}function Hl(){return globalThis[nn].customEqualityTesters}function re(e,t,r,n){return r=r||[],Fm(e,t,[],[],r,n?Um:sA)}function Zc(e){return !!e&&typeof e=="object"&&"asymmetricMatch"in e&&et("Function",e.asymmetricMatch)}function lA(e,t){let r=Zc(e),n=Zc(t);if(!(r&&n)){if(r)return e.asymmetricMatch(t);if(n)return t.asymmetricMatch(e)}}function Fm(e,t,r,n,o,a){let i=!0,l=lA(e,t);if(l!==void 0)return l;let u={equals:re};for(let m=0;m<o.length;m++){let h=o[m].call(u,e,t,o);if(h!==void 0)return h}if(e instanceof Error&&t instanceof Error)return e.message===t.message;if(typeof URL=="function"&&e instanceof URL&&t instanceof URL)return e.href===t.href;if(Object.is(e,t))return !0;if(e===null||t===null)return e===t;let c=Object.prototype.toString.call(e);if(c!==Object.prototype.toString.call(t))return !1;switch(c){case"[object Boolean]":case"[object String]":case"[object Number]":return typeof e!=typeof t?!1:typeof e!="object"&&typeof t!="object"?Object.is(e,t):Object.is(e.valueOf(),t.valueOf());case"[object Date]":{let m=+e,h=+t;return m===h||Number.isNaN(m)&&Number.isNaN(h)}case"[object RegExp]":return e.source===t.source&&e.flags===t.flags}if(typeof e!="object"||typeof t!="object")return !1;if(td(e)&&td(t))return e.isEqualNode(t);let s=r.length;for(;s--;){if(r[s]===e)return n[s]===t;if(n[s]===t)return !1}if(r.push(e),n.push(t),c==="[object Array]"&&e.length!==t.length)return !1;let d=ed(e,a),f,p=d.length;if(ed(t,a).length!==p)return !1;for(;p--;)if(f=d[p],i=a(t,f)&&Fm(e[f],t[f],r,n,o,a),!i)return !1;return r.pop(),n.pop(),i}function ed(e,t){let r=[];for(let n in e)t(e,n)&&r.push(n);return r.concat(Object.getOwnPropertySymbols(e).filter(n=>Object.getOwnPropertyDescriptor(e,n).enumerable))}function sA(e,t){return Um(e,t)&&e[t]!==void 0}function Um(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function et(e,t){return Object.prototype.toString.apply(t)===`[object ${e}]`}function td(e){return e!==null&&typeof e=="object"&&"nodeType"in e&&typeof e.nodeType=="number"&&"nodeName"in e&&typeof e.nodeName=="string"&&"isEqualNode"in e&&typeof e.isEqualNode=="function"}var Hm="@@__IMMUTABLE_KEYED__@@",Vm="@@__IMMUTABLE_SET__@@",uA="@@__IMMUTABLE_LIST__@@",Bo="@@__IMMUTABLE_ORDERED__@@",cA="@@__IMMUTABLE_RECORD__@@";function dA(e){return !!(e&&e[Hm]&&!e[Bo])}function pA(e){return !!(e&&e[Vm]&&!e[Bo])}function Lo(e){return e!=null&&typeof e=="object"&&!Array.isArray(e)}function fA(e){return !!(e&&Lo(e)&&e[uA])}function mA(e){return !!(e&&Lo(e)&&e[Hm]&&e[Bo])}function hA(e){return !!(e&&Lo(e)&&e[Vm]&&e[Bo])}function bA(e){return !!(e&&Lo(e)&&e[cA])}var zm=Symbol.iterator;function rd(e){return !!(e!=null&&e[zm])}function Fe(e,t,r=[],n=[],o=[]){if(typeof e!="object"||typeof t!="object"||Array.isArray(e)||Array.isArray(t)||!rd(e)||!rd(t))return;if(e.constructor!==t.constructor)return !1;let a=n.length;for(;a--;)if(n[a]===e)return o[a]===t;n.push(e),o.push(t);let i=[...r.filter(c=>c!==Fe),l];function l(c,s){return Fe(c,s,[...r],[...n],[...o])}if(e.size!==void 0){if(e.size!==t.size)return !1;if(et("Set",e)||pA(e)){let c=!0;for(let s of e)if(!t.has(s)){let d=!1;for(let f of t)re(s,f,i)===!0&&(d=!0);if(d===!1){c=!1;break}}return n.pop(),o.pop(),c}else if(et("Map",e)||dA(e)){let c=!0;for(let s of e)if(!t.has(s[0])||!re(s[1],t.get(s[0]),i)){let d=!1;for(let f of t){let p=re(s[0],f[0],i),m=!1;p===!0&&(m=re(s[1],f[1],i)),m===!0&&(d=!0);}if(d===!1){c=!1;break}}return n.pop(),o.pop(),c}}let u=t[zm]();for(let c of e){let s=u.next();if(s.done||!re(c,s.value,i))return !1}if(!u.next().done)return !1;if(!fA(e)&&!mA(e)&&!hA(e)&&!bA(e)){let c=Object.entries(e),s=Object.entries(t);if(!re(c,s))return !1}return n.pop(),o.pop(),!0}function Vl(e,t){return !e||typeof e!="object"||e===Object.prototype?!1:Object.prototype.hasOwnProperty.call(e,t)||Vl(Object.getPrototypeOf(e),t)}function gA(e){return Dn(e)&&!(e instanceof Error)&&!Array.isArray(e)&&!(e instanceof Date)}function _n(e,t,r=[]){let n=r.filter(a=>a!==_n),o=(a=new WeakMap)=>(i,l)=>{if(gA(l))return Object.keys(l).every(u=>{if(l[u]!=null&&typeof l[u]=="object"){if(a.has(l[u]))return re(i[u],l[u],n);a.set(l[u],!0);}let c=i!=null&&Vl(i,u)&&re(i[u],l[u],[...n,o(a)]);return a.delete(l[u]),c})};return o()(e,t)}function nd(e,t){if(!(e==null||t==null||e.constructor===t.constructor))return !1}function od(e,t){let r=e,n=t;if(!(e instanceof DataView&&t instanceof DataView)){if(!(e instanceof ArrayBuffer)||!(t instanceof ArrayBuffer))return;try{r=new DataView(e),n=new DataView(t);}catch{return}}if(r.byteLength!==n.byteLength)return !1;for(let o=0;o<r.byteLength;o++)if(r.getUint8(o)!==n.getUint8(o))return !1;return !0}function wa(e,t,r=[]){if(!Array.isArray(e)||!Array.isArray(t))return;let n=Object.keys(e),o=Object.keys(t),a=r.filter(i=>i!==wa);return re(e,t,a,!0)&&re(n,o)}function yA(e,t="#{this}",r="#{exp}"){let n=`expected ${t} to be ${r} // Object.is equality`;return ["toStrictEqual","toEqual"].includes(e)?`${n}
146
-
147
- If it should pass with deep equality, replace "toBe" with "${e}"
148
-
149
- Expected: ${t}
150
- Received: serializes to the same string
151
- `:n}function vA(e,t){return `${t} ${e}${t===1?"":"s"}`}function $i(e){return [...Object.keys(e),...Object.getOwnPropertySymbols(e).filter(t=>{var r;return (r=Object.getOwnPropertyDescriptor(e,t))==null?void 0:r.enumerable})]}function _A(e,t,r=[]){let n=0,o=(a=new WeakMap)=>(i,l)=>{if(Array.isArray(i)){if(Array.isArray(l)&&l.length===i.length)return l.map((u,c)=>o(a)(i[c],u))}else {if(i instanceof Date)return i;if(Dn(i)&&Dn(l)){if(re(i,l,[...r,Fe,_n]))return l;let u={};a.set(i,u);for(let c of $i(i))Vl(l,c)?u[c]=a.has(i[c])?a.get(i[c]):o(a)(i[c],l[c]):a.has(i[c])||(n+=1,Dn(i[c])&&(n+=$i(i[c]).length),o(a)(i[c],l[c]));if($i(u).length>0)return u}}return i};return {subset:o()(e,t),stripped:n}}var kt=class{constructor(e,t=!1){this.sample=e,this.inverse=t;}$$typeof=Symbol.for("jest.asymmetricMatcher");getMatcherContext(e){return {...to(e||globalThis[Fl]),equals:re,isNot:this.inverse,customTesters:Hl(),utils:{...km(),diff:wr,stringify:Ke,iterableEquality:Fe,subsetEquality:_n}}}[Symbol.for("chai/inspect")](e){let t=Ke(this,e.depth,{min:!0});return t.length<=e.truncate?t:`${this.toString()}{\u2026}`}},id=class extends kt{constructor(e,t=!1){if(!et("String",e))throw new Error("Expected is not a string");super(e,t);}asymmetricMatch(e){let t=et("String",e)&&e.includes(this.sample);return this.inverse?!t:t}toString(){return `String${this.inverse?"Not":""}Containing`}getExpectedType(){return "string"}},EA=class extends kt{asymmetricMatch(e){return e!=null}toString(){return "Anything"}toAsymmetricMatcher(){return "Anything"}},ad=class extends kt{constructor(e,t=!1){super(e,t);}getPrototype(e){return Object.getPrototypeOf?Object.getPrototypeOf(e):e.constructor.prototype===e?null:e.constructor.prototype}hasProperty(e,t){return e?Object.prototype.hasOwnProperty.call(e,t)?!0:this.hasProperty(this.getPrototype(e),t):!1}asymmetricMatch(e){if(typeof this.sample!="object")throw new TypeError(`You must provide an object to ${this.toString()}, not '${typeof this.sample}'.`);let t=!0,r=this.getMatcherContext();for(let n in this.sample)if(!this.hasProperty(e,n)||!re(this.sample[n],e[n],r.customTesters)){t=!1;break}return this.inverse?!t:t}toString(){return `Object${this.inverse?"Not":""}Containing`}getExpectedType(){return "object"}},ld=class extends kt{constructor(e,t=!1){super(e,t);}asymmetricMatch(e){if(!Array.isArray(this.sample))throw new TypeError(`You must provide an array to ${this.toString()}, not '${typeof this.sample}'.`);let t=this.getMatcherContext(),r=this.sample.length===0||Array.isArray(e)&&this.sample.every(n=>e.some(o=>re(n,o,t.customTesters)));return this.inverse?!r:r}toString(){return `Array${this.inverse?"Not":""}Containing`}getExpectedType(){return "array"}},wA=class extends kt{constructor(e){if(typeof e>"u")throw new TypeError("any() expects to be passed a constructor function. Please pass one or use anything() to match any object.");super(e);}fnNameFor(e){if(e.name)return e.name;let t=Function.prototype.toString.call(e).match(/^(?:async)?\s*function\s*(?:\*\s*)?([\w$]+)\s*\(/);return t?t[1]:"<anonymous>"}asymmetricMatch(e){return this.sample===String?typeof e=="string"||e instanceof String:this.sample===Number?typeof e=="number"||e instanceof Number:this.sample===Function?typeof e=="function"||e instanceof Function:this.sample===Boolean?typeof e=="boolean"||e instanceof Boolean:this.sample===BigInt?typeof e=="bigint"||e instanceof BigInt:this.sample===Symbol?typeof e=="symbol"||e instanceof Symbol:this.sample===Object?typeof e=="object":e instanceof this.sample}toString(){return "Any"}getExpectedType(){return this.sample===String?"string":this.sample===Number?"number":this.sample===Function?"function":this.sample===Object?"object":this.sample===Boolean?"boolean":this.fnNameFor(this.sample)}toAsymmetricMatcher(){return `Any<${this.fnNameFor(this.sample)}>`}},sd=class extends kt{constructor(e,t=!1){if(!et("String",e)&&!et("RegExp",e))throw new Error("Expected is not a String or a RegExp");super(new RegExp(e),t);}asymmetricMatch(e){let t=et("String",e)&&this.sample.test(e);return this.inverse?!t:t}toString(){return `String${this.inverse?"Not":""}Matching`}getExpectedType(){return "string"}},ud=class extends kt{precision;constructor(e,t=2,r=!1){if(!et("Number",e))throw new Error("Expected is not a Number");if(!et("Number",t))throw new Error("Precision is not a Number");super(e),this.inverse=r,this.precision=t;}asymmetricMatch(e){if(!et("Number",e))return !1;let t=!1;return e===Number.POSITIVE_INFINITY&&this.sample===Number.POSITIVE_INFINITY||e===Number.NEGATIVE_INFINITY&&this.sample===Number.NEGATIVE_INFINITY?t=!0:t=Math.abs(this.sample-e)<10**-this.precision/2,this.inverse?!t:t}toString(){return `Number${this.inverse?"Not":""}CloseTo`}getExpectedType(){return "number"}toAsymmetricMatcher(){return [this.toString(),this.sample,`(${vA("digit",this.precision)})`].join(" ")}},CA=(e,t)=>{t.addMethod(e.expect,"anything",()=>new EA),t.addMethod(e.expect,"any",r=>new wA(r)),t.addMethod(e.expect,"stringContaining",r=>new id(r)),t.addMethod(e.expect,"objectContaining",r=>new ad(r)),t.addMethod(e.expect,"arrayContaining",r=>new ld(r)),t.addMethod(e.expect,"stringMatching",r=>new sd(r)),t.addMethod(e.expect,"closeTo",(r,n)=>new ud(r,n)),e.expect.not={stringContaining:r=>new id(r,!0),objectContaining:r=>new ad(r,!0),arrayContaining:r=>new ld(r,!0),stringMatching:r=>new sd(r,!0),closeTo:(r,n)=>new ud(r,n,!0)};};function cd(e,t){return e&&t instanceof Promise&&(t=t.finally(()=>{let r=e.promises.indexOf(t);r!==-1&&e.promises.splice(r,1);}),e.promises||(e.promises=[]),e.promises.push(t)),t}function Gm(e,t){return function(...r){var n;if(!e.flag(this,"soft"))return t.apply(this,r);let o=e.flag(this,"vitest-test");if(!o)throw new Error("expect.soft() can only be used inside a test");try{return t.apply(this,r)}catch(a){o.result||(o.result={state:"fail"}),o.result.state="fail",(n=o.result).errors||(n.errors=[]),o.result.errors.push(Lm(a));}}}var TA=(e,t)=>{let{AssertionError:r}=e,n=Hl();function o(s,d){let f=p=>{let m=Gm(t,d);t.addMethod(e.Assertion.prototype,p,m),t.addMethod(globalThis[nn].matchers,p,m);};Array.isArray(s)?s.forEach(p=>f(p)):f(s);}["throw","throws","Throw"].forEach(s=>{t.overwriteMethod(e.Assertion.prototype,s,d=>function(...f){let p=t.flag(this,"promise"),m=t.flag(this,"object"),h=t.flag(this,"negate");if(p==="rejects")t.flag(this,"object",()=>{throw m});else if(p==="resolves"&&typeof m!="function"){if(h)return;{let b=t.flag(this,"message")||"expected promise to throw an error, but it didn't",g={showDiff:!1};throw new r(b,g,t.flag(this,"ssfi"))}}d.apply(this,f);});}),o("withTest",function(s){return t.flag(this,"vitest-test",s),this}),o("toEqual",function(s){let d=t.flag(this,"object"),f=re(d,s,[...n,Fe]);return this.assert(f,"expected #{this} to deeply equal #{exp}","expected #{this} to not deeply equal #{exp}",s,d)}),o("toStrictEqual",function(s){let d=t.flag(this,"object"),f=re(d,s,[...n,Fe,nd,wa,od],!0);return this.assert(f,"expected #{this} to strictly equal #{exp}","expected #{this} to not strictly equal #{exp}",s,d)}),o("toBe",function(s){let d=this._obj,f=Object.is(d,s),p="";return f||(re(d,s,[...n,Fe,nd,wa,od],!0)?p="toStrictEqual":re(d,s,[...n,Fe])&&(p="toEqual")),this.assert(f,yA(p),"expected #{this} not to be #{exp} // Object.is equality",s,d)}),o("toMatchObject",function(s){let d=this._obj,f=re(d,s,[...n,Fe,_n]),p=t.flag(this,"negate"),{subset:m,stripped:h}=_A(d,s);if(f&&p||!f&&!p){let b=t.getMessage(this,[f,"expected #{this} to match object #{exp}","expected #{this} to not match object #{exp}",s,m,!1]),g=h===0?b:`${b}
152
- (${h} matching ${h===1?"property":"properties"} omitted from actual)`;throw new r(g,{showDiff:!0,expected:s,actual:m})}}),o("toMatch",function(s){let d=this._obj;if(typeof d!="string")throw new TypeError(`.toMatch() expects to receive a string, but got ${typeof d}`);return this.assert(typeof s=="string"?d.includes(s):d.match(s),"expected #{this} to match #{exp}","expected #{this} not to match #{exp}",s,d)}),o("toContain",function(s){let d=this._obj;if(typeof Node<"u"&&d instanceof Node){if(!(s instanceof Node))throw new TypeError(`toContain() expected a DOM node as the argument, but got ${typeof s}`);return this.assert(d.contains(s),"expected #{this} to contain element #{exp}","expected #{this} not to contain element #{exp}",s,d)}if(typeof DOMTokenList<"u"&&d instanceof DOMTokenList){mt(s,"class name",["string"]);let f=t.flag(this,"negate")?d.value.replace(s,"").trim():`${d.value} ${s}`;return this.assert(d.contains(s),`expected "${d.value}" to contain "${s}"`,`expected "${d.value}" not to contain "${s}"`,f,d.value)}return typeof d=="string"&&typeof s=="string"?this.assert(d.includes(s),"expected #{this} to contain #{exp}","expected #{this} not to contain #{exp}",s,d):(d!=null&&typeof d!="string"&&t.flag(this,"object",Array.from(d)),this.contain(s))}),o("toContainEqual",function(s){let d=t.flag(this,"object"),f=Array.from(d).findIndex(p=>re(p,s,n));this.assert(f!==-1,"expected #{this} to deep equally contain #{exp}","expected #{this} to not deep equally contain #{exp}",s);}),o("toBeTruthy",function(){let s=t.flag(this,"object");this.assert(!!s,"expected #{this} to be truthy","expected #{this} to not be truthy",s,!1);}),o("toBeFalsy",function(){let s=t.flag(this,"object");this.assert(!s,"expected #{this} to be falsy","expected #{this} to not be falsy",s,!1);}),o("toBeGreaterThan",function(s){let d=this._obj;return mt(d,"actual",["number","bigint"]),mt(s,"expected",["number","bigint"]),this.assert(d>s,`expected ${d} to be greater than ${s}`,`expected ${d} to be not greater than ${s}`,d,s,!1)}),o("toBeGreaterThanOrEqual",function(s){let d=this._obj;return mt(d,"actual",["number","bigint"]),mt(s,"expected",["number","bigint"]),this.assert(d>=s,`expected ${d} to be greater than or equal to ${s}`,`expected ${d} to be not greater than or equal to ${s}`,d,s,!1)}),o("toBeLessThan",function(s){let d=this._obj;return mt(d,"actual",["number","bigint"]),mt(s,"expected",["number","bigint"]),this.assert(d<s,`expected ${d} to be less than ${s}`,`expected ${d} to be not less than ${s}`,d,s,!1)}),o("toBeLessThanOrEqual",function(s){let d=this._obj;return mt(d,"actual",["number","bigint"]),mt(s,"expected",["number","bigint"]),this.assert(d<=s,`expected ${d} to be less than or equal to ${s}`,`expected ${d} to be not less than or equal to ${s}`,d,s,!1)}),o("toBeNaN",function(){return this.be.NaN}),o("toBeUndefined",function(){return this.be.undefined}),o("toBeNull",function(){return this.be.null}),o("toBeDefined",function(){let s=t.flag(this,"negate");return t.flag(this,"negate",!1),s?this.be.undefined:this.not.be.undefined}),o("toBeTypeOf",function(s){let d=typeof this._obj,f=s===d;return this.assert(f,"expected #{this} to be type of #{exp}","expected #{this} not to be type of #{exp}",s,d)}),o("toBeInstanceOf",function(s){return this.instanceOf(s)}),o("toHaveLength",function(s){return this.have.length(s)}),o("toHaveProperty",function(...s){Array.isArray(s[0])&&(s[0]=s[0].map(T=>String(T).replace(/([.[\]])/g,"\\$1")).join("."));let d=this._obj,[f,p]=s,m=()=>Object.prototype.hasOwnProperty.call(d,f)?{value:d[f],exists:!0}:t.getPathInfo(d,f),{value:h,exists:b}=m(),g=b&&(s.length===1||re(p,h,n)),y=s.length===1?"":` with value ${t.objDisplay(p)}`;return this.assert(g,`expected #{this} to have property "${f}"${y}`,`expected #{this} to not have property "${f}"${y}`,p,b?h:void 0)}),o("toBeCloseTo",function(s,d=2){let f=this._obj,p=!1,m=0,h=0;return s===Number.POSITIVE_INFINITY&&f===Number.POSITIVE_INFINITY||s===Number.NEGATIVE_INFINITY&&f===Number.NEGATIVE_INFINITY?p=!0:(m=10**-d/2,h=Math.abs(f-s),p=h<m),this.assert(p,`expected #{this} to be close to #{exp}, received difference is ${h}, but expected ${m}`,`expected #{this} to not be close to #{exp}, received difference is ${h}, but expected ${m}`,s,f,!1)});let a=s=>{if(!kl(s._obj))throw new TypeError(`${t.inspect(s._obj)} is not a spy or a call to a spy!`)},i=s=>(a(s),s._obj),l=s=>{let d=s%10,f=s%100;return d===1&&f!==11?`${s}st`:d===2&&f!==12?`${s}nd`:d===3&&f!==13?`${s}rd`:`${s}th`},u=(s,d,f)=>(s.mock.calls&&(d+=we.gray(`
153
-
154
- Received:
155
-
156
- ${s.mock.calls.map((p,m)=>{let h=we.bold(` ${l(m+1)} ${s.getMockName()} call:
157
-
158
- `);return f?h+=wr(f,p,{omitAnnotationLines:!0}):h+=Ke(p).split(`
159
- `).map(b=>` ${b}`).join(`
160
- `),h+=`
161
- `,h}).join(`
162
- `)}`)),d+=we.gray(`
163
-
164
- Number of calls: ${we.bold(s.mock.calls.length)}
165
- `),d),c=(s,d,f,p)=>(f+=we.gray(`
166
-
167
- Received:
168
-
169
- ${d.map((m,h)=>{let b=we.bold(` ${l(h+1)} ${s.getMockName()} call return:
170
-
171
- `);return p?b+=wr(p,m.value,{omitAnnotationLines:!0}):b+=Ke(m).split(`
172
- `).map(g=>` ${g}`).join(`
173
- `),b+=`
174
- `,b}).join(`
175
- `)}`),f+=we.gray(`
176
-
177
- Number of calls: ${we.bold(s.mock.calls.length)}
178
- `),f);o(["toHaveBeenCalledTimes","toBeCalledTimes"],function(s){let d=i(this),f=d.getMockName(),p=d.mock.calls.length;return this.assert(p===s,`expected "${f}" to be called #{exp} times, but got ${p} times`,`expected "${f}" to not be called #{exp} times`,s,p,!1)}),o("toHaveBeenCalledOnce",function(){let s=i(this),d=s.getMockName(),f=s.mock.calls.length;return this.assert(f===1,`expected "${d}" to be called once, but got ${f} times`,`expected "${d}" to not be called once`,1,f,!1)}),o(["toHaveBeenCalled","toBeCalled"],function(){let s=i(this),d=s.getMockName(),f=s.mock.calls.length,p=f>0,m=t.flag(this,"negate"),h=t.getMessage(this,[p,`expected "${d}" to be called at least once`,`expected "${d}" to not be called at all, but actually been called ${f} times`,!0,p]);if(p&&m&&(h=u(s,h)),p&&m||!p&&!m)throw new r(h)}),o(["toHaveBeenCalledWith","toBeCalledWith"],function(...s){let d=i(this),f=d.getMockName(),p=d.mock.calls.some(b=>re(b,s,[...n,Fe])),m=t.flag(this,"negate"),h=t.getMessage(this,[p,`expected "${f}" to be called with arguments: #{exp}`,`expected "${f}" to not be called with arguments: #{exp}`,s]);if(p&&m||!p&&!m)throw new r(u(d,h,s))}),o(["toHaveBeenNthCalledWith","nthCalledWith"],function(s,...d){let f=i(this),p=f.getMockName(),m=f.mock.calls[s-1],h=f.mock.calls.length,b=s<=h;this.assert(re(m,d,[...n,Fe]),`expected ${l(s)} "${p}" call to have been called with #{exp}${b?"":`, but called only ${h} times`}`,`expected ${l(s)} "${p}" call to not have been called with #{exp}`,d,m,b);}),o(["toHaveBeenLastCalledWith","lastCalledWith"],function(...s){let d=i(this),f=d.getMockName(),p=d.mock.calls[d.mock.calls.length-1];this.assert(re(p,s,[...n,Fe]),`expected last "${f}" call to have been called with #{exp}`,`expected last "${f}" call to not have been called with #{exp}`,s,p);}),o(["toThrow","toThrowError"],function(s){if(typeof s=="string"||typeof s>"u"||s instanceof RegExp)return this.throws(s);let d=this._obj,f=t.flag(this,"promise"),p=t.flag(this,"negate"),m=null;if(f==="rejects")m=d;else if(f==="resolves"&&typeof d!="function"){if(p)return;{let h=t.flag(this,"message")||"expected promise to throw an error, but it didn't",b={showDiff:!1};throw new r(h,b,t.flag(this,"ssfi"))}}else {let h=!1;try{d();}catch(b){h=!0,m=b;}if(!h&&!p){let b=t.flag(this,"message")||"expected function to throw an error, but it didn't",g={showDiff:!1};throw new r(b,g,t.flag(this,"ssfi"))}}if(typeof s=="function"){let h=s.name||s.prototype.constructor.name;return this.assert(m&&m instanceof s,`expected error to be instance of ${h}`,`expected error not to be instance of ${h}`,s,m)}if(s instanceof Error)return this.assert(m&&s.message===m.message,`expected error to have message: ${s.message}`,`expected error not to have message: ${s.message}`,s.message,m&&m.message);if(typeof s=="object"&&"asymmetricMatch"in s&&typeof s.asymmetricMatch=="function"){let h=s;return this.assert(m&&h.asymmetricMatch(m),"expected error to match asymmetric matcher","expected error not to match asymmetric matcher",h,m)}throw new Error(`"toThrow" expects string, RegExp, function, Error instance or asymmetric matcher, got "${typeof s}"`)}),[{name:"toHaveResolved",condition:s=>s.mock.settledResults.length>0&&s.mock.settledResults.some(({type:d})=>d==="fulfilled"),action:"resolved"},{name:["toHaveReturned","toReturn"],condition:s=>s.mock.calls.length>0&&s.mock.results.some(({type:d})=>d!=="throw"),action:"called"}].forEach(({name:s,condition:d,action:f})=>{o(s,function(){let p=i(this),m=p.getMockName(),h=d(p);this.assert(h,`expected "${m}" to be successfully ${f} at least once`,`expected "${m}" to not be successfully ${f}`,h,!h,!1);});}),[{name:"toHaveResolvedTimes",condition:(s,d)=>s.mock.settledResults.reduce((f,{type:p})=>p==="fulfilled"?++f:f,0)===d,action:"resolved"},{name:["toHaveReturnedTimes","toReturnTimes"],condition:(s,d)=>s.mock.results.reduce((f,{type:p})=>p==="throw"?f:++f,0)===d,action:"called"}].forEach(({name:s,condition:d,action:f})=>{o(s,function(p){let m=i(this),h=m.getMockName(),b=d(m,p);this.assert(b,`expected "${h}" to be successfully ${f} ${p} times`,`expected "${h}" to not be successfully ${f} ${p} times`,`expected resolved times: ${p}`,`received resolved times: ${b}`,!1);});}),[{name:"toHaveResolvedWith",condition:(s,d)=>s.mock.settledResults.some(({type:f,value:p})=>f==="fulfilled"&&re(d,p)),action:"resolve"},{name:["toHaveReturnedWith","toReturnWith"],condition:(s,d)=>s.mock.results.some(({type:f,value:p})=>f==="return"&&re(d,p)),action:"return"}].forEach(({name:s,condition:d,action:f})=>{o(s,function(p){let m=i(this),h=d(m,p),b=t.flag(this,"negate");if(h&&b||!h&&!b){let g=m.getMockName(),y=t.getMessage(this,[h,`expected "${g}" to ${f} with: #{exp} at least once`,`expected "${g}" to not ${f} with: #{exp}`,p]),T=f==="return"?m.mock.results:m.mock.settledResults;throw new r(c(m,T,y,p))}});}),[{name:"toHaveLastResolvedWith",condition:(s,d)=>{let f=s.mock.settledResults[s.mock.settledResults.length-1];return f&&f.type==="fulfilled"&&re(f.value,d)},action:"resolve"},{name:["toHaveLastReturnedWith","lastReturnedWith"],condition:(s,d)=>{let f=s.mock.results[s.mock.results.length-1];return f&&f.type==="return"&&re(f.value,d)},action:"return"}].forEach(({name:s,condition:d,action:f})=>{o(s,function(p){let m=i(this),h=f==="return"?m.mock.results:m.mock.settledResults,b=h[h.length-1],g=m.getMockName();this.assert(d(m,p),`expected last "${g}" call to ${f} #{exp}`,`expected last "${g}" call to not ${f} #{exp}`,p,b?.value);});}),[{name:"toHaveNthResolvedWith",condition:(s,d,f)=>{let p=s.mock.settledResults[d-1];return p&&p.type==="fulfilled"&&re(p.value,f)},action:"resolve"},{name:["toHaveNthReturnedWith","nthReturnedWith"],condition:(s,d,f)=>{let p=s.mock.results[d-1];return p&&p.type==="return"&&re(p.value,f)},action:"return"}].forEach(({name:s,condition:d,action:f})=>{o(s,function(p,m){let h=i(this),b=h.getMockName(),g=(f==="return"?h.mock.results:h.mock.settledResults)[p-1],y=`${l(p)} call`;this.assert(d(h,p,m),`expected ${y} "${b}" call to ${f} #{exp}`,`expected ${y} "${b}" call to not ${f} #{exp}`,m,g?.value);});}),o("toSatisfy",function(s,d){return this.be.satisfy(s,d)}),o("withContext",function(s){for(let d in s)t.flag(this,d,s[d]);return this}),t.addProperty(e.Assertion.prototype,"resolves",function(){let s=new Error("resolves");t.flag(this,"promise","resolves"),t.flag(this,"error",s);let d=t.flag(this,"vitest-test"),f=t.flag(this,"object");if(t.flag(this,"poll"))throw new SyntaxError("expect.poll() is not supported in combination with .resolves");if(typeof f?.then!="function")throw new TypeError(`You must provide a Promise to expect() when using .resolves, not '${typeof f}'.`);let p=new Proxy(this,{get:(m,h,b)=>{let g=Reflect.get(m,h,b);return typeof g!="function"?g instanceof e.Assertion?p:g:async(...y)=>{let T=f.then(C=>(t.flag(this,"object",C),g.call(this,...y)),C=>{let E=new r(`promise rejected "${t.inspect(C)}" instead of resolving`,{showDiff:!1});throw E.cause=C,E.stack=s.stack.replace(s.message,E.message),E});return cd(d,T)}}});return p}),t.addProperty(e.Assertion.prototype,"rejects",function(){let s=new Error("rejects");t.flag(this,"promise","rejects"),t.flag(this,"error",s);let d=t.flag(this,"vitest-test"),f=t.flag(this,"object"),p=typeof f=="function"?f():f;if(t.flag(this,"poll"))throw new SyntaxError("expect.poll() is not supported in combination with .rejects");if(typeof p?.then!="function")throw new TypeError(`You must provide a Promise to expect() when using .rejects, not '${typeof p}'.`);let m=new Proxy(this,{get:(h,b,g)=>{let y=Reflect.get(h,b,g);return typeof y!="function"?y instanceof e.Assertion?m:y:async(...T)=>{let C=p.then(E=>{let w=new r(`promise resolved "${t.inspect(E)}" instead of rejecting`,{showDiff:!0,expected:new Error("rejected promise"),actual:E});throw w.stack=s.stack.replace(s.message,w.message),w},E=>(t.flag(this,"object",E),y.call(this,...T)));return cd(d,C)}}});return m});};function RA(e,t){let r=e._obj,n=lt.flag(e,"negate"),o=lt.flag(e,"promise")||"",a={...km(),diff:wr,stringify:Ke,iterableEquality:Fe,subsetEquality:_n};return {state:{...to(t),customTesters:Hl(),isNot:n,utils:a,promise:o,equals:re,suppressedErrors:[],soft:lt.flag(e,"soft"),poll:lt.flag(e,"poll")},isNot:n,obj:r}}var dd=class extends Error{constructor(e,t,r){super(e),this.actual=t,this.expected=r;}};function SA(e,t,r){return (n,o)=>{Object.entries(r).forEach(([a,i])=>{function l(...d){let{state:f,isNot:p,obj:m}=RA(this,t),h=i.call(f,m,...d);if(h&&typeof h=="object"&&h instanceof Promise)return h.then(({pass:C,message:E,actual:w,expected:_})=>{if(C&&p||!C&&!p)throw new dd(E(),w,_)});let{pass:b,message:g,actual:y,expected:T}=h;if(b&&p||!b&&!p)throw new dd(g(),y,T)}let u=Gm(o,l);o.addMethod(globalThis[nn].matchers,a,u),o.addMethod(e.Assertion.prototype,a,u);class c extends kt{constructor(f=!1,...p){super(p,f);}asymmetricMatch(f){let{pass:p}=i.call(this.getMatcherContext(t),f,...this.sample);return this.inverse?!p:p}toString(){return `${this.inverse?"not.":""}${a}`}getExpectedType(){return "any"}toAsymmetricMatcher(){return `${this.toString()}<${this.sample.map(String).join(", ")}>`}}let s=(...d)=>new c(!1,...d);Object.defineProperty(t,a,{configurable:!0,enumerable:!0,value:s,writable:!0}),Object.defineProperty(t.not,a,{configurable:!0,enumerable:!0,value:(...d)=>new c(!0,...d),writable:!0}),Object.defineProperty(globalThis[Ea],a,{configurable:!0,enumerable:!0,value:s,writable:!0});});}}var PA=(e,t)=>{t.addMethod(e.expect,"extend",(r,n)=>{Gr(SA(e,r,n));});};function OA(){Gr(PA),Gr(TA),Gr(CA);let e=(n,o)=>{let{assertionCalls:a}=to(e);return Ii({assertionCalls:a+1,soft:!1},e),Wt(n,o)};Object.assign(e,Wt),e.getState=()=>to(e),e.setState=n=>Ii(n,e),e.extend=n=>Wt.extend(e,n),e.soft=(...n)=>{let o=e(...n);return e.setState({soft:!0}),o},e.unreachable=n=>{S.fail(`expected${n?` "${n}" `:" "}not to be reached`);};function t(n){let o=()=>new Error(`expected number of assertions to be ${n}, but got ${e.getState().assertionCalls}`);"captureStackTrace"in Error&&typeof Error.captureStackTrace=="function"&&Error.captureStackTrace(o(),t),e.setState({expectedAssertionsNumber:n,expectedAssertionsNumberErrorGen:o});}function r(){let n=new Error("expected any number of assertion, but got none");"captureStackTrace"in Error&&typeof Error.captureStackTrace=="function"&&Error.captureStackTrace(n,r),e.setState({isExpectingAssertions:!0,isExpectingAssertionsError:n});}return Ii({assertionCalls:0,isExpectingAssertions:!1,isExpectingAssertionsError:null,expectedAssertionsNumber:null,expectedAssertionsNumberErrorGen:null},e),lt.addMethod(e,"assertions",t),lt.addMethod(e,"hasAssertions",r),e.extend(rf),e}var Wm=OA();Object.defineProperty(globalThis,Fl,{value:Wm,writable:!0,configurable:!0});var Ca=new Set;function Km(e){return Ca.add(e),()=>void Ca.delete(e)}var AA=(...e)=>{let t=KO(...e);return Jm(t)};function Ym(e){let t=e?Xc(e):Xc();return Jm(t)}function Jm(e){let t=pd(e),r=t.mockImplementation.bind(null);return t.mockImplementation=n=>pd(r(n)),t}function pd(e){let t=eo(e),r=t.impl;return t.willCall(function(...n){return Ca.forEach(o=>o(e,n)),r?.apply(this,n)}),e}function Xm(){vn.forEach(e=>e.mockClear());}function Qm(){vn.forEach(e=>e.mockReset());}function Zm(){vn.forEach(e=>e.mockRestore());}function qA(e,t={}){return e}var eh={};mo(eh,{buildQueries:()=>Tt,configure:()=>Fq,createEvent:()=>Hn,findAllByAltText:()=>ob,findAllByDisplayValue:()=>Qh,findAllByLabelText:()=>xh,findAllByPlaceholderText:()=>kh,findAllByRole:()=>gb,findAllByTestId:()=>Cb,findAllByText:()=>Gh,findAllByTitle:()=>cb,findByAltText:()=>ib,findByDisplayValue:()=>Zh,findByLabelText:()=>Mh,findByPlaceholderText:()=>Fh,findByRole:()=>yb,findByTestId:()=>Tb,findByText:()=>Wh,findByTitle:()=>db,fireEvent:()=>un,getAllByAltText:()=>rb,getAllByDisplayValue:()=>Jh,getAllByLabelText:()=>Nh,getAllByPlaceholderText:()=>Lh,getAllByRole:()=>hb,getAllByTestId:()=>Eb,getAllByText:()=>Vh,getAllByTitle:()=>sb,getByAltText:()=>nb,getByDisplayValue:()=>Xh,getByLabelText:()=>jh,getByPlaceholderText:()=>Dh,getByRole:()=>bb,getByTestId:()=>wb,getByText:()=>zh,getByTitle:()=>ub,getConfig:()=>ee,getDefaultNormalizer:()=>Jl,getElementError:()=>ko,getMultipleElementsFoundError:()=>Fo,getNodeText:()=>En,getQueriesForElement:()=>Na,getRoles:()=>Th,getSuggestedQuery:()=>oo,isInaccessible:()=>Do,logDOM:()=>Ta,logRoles:()=>Gq,makeFindQuery:()=>Tr,makeGetAllQuery:()=>Zl,makeSingleQuery:()=>Cr,prettyDOM:()=>ln,prettyFormat:()=>zl,queries:()=>io,queryAllByAltText:()=>eb,queryAllByAttribute:()=>tr,queryAllByDisplayValue:()=>Kh,queryAllByLabelText:()=>Ih,queryAllByPlaceholderText:()=>$h,queryAllByRole:()=>fb,queryAllByTestId:()=>vb,queryAllByText:()=>Uh,queryAllByTitle:()=>ab,queryByAltText:()=>tb,queryByAttribute:()=>Sh,queryByDisplayValue:()=>Yh,queryByLabelText:()=>Ah,queryByPlaceholderText:()=>Bh,queryByRole:()=>mb,queryByTestId:()=>_b,queryByText:()=>Hh,queryByTitle:()=>lb,queryHelpers:()=>ax,screen:()=>jx,waitFor:()=>Ql,waitForElementToBeRemoved:()=>Px,within:()=>Na,wrapAllByQueryWithSuggestion:()=>Le,wrapSingleQueryWithSuggestion:()=>$t});var zl=Ue(NC()),xA=Object.prototype.toString;function fd(e){return typeof e=="function"||xA.call(e)==="[object Function]"}function MA(e){var t=Number(e);return isNaN(t)?0:t===0||!isFinite(t)?t:(t>0?1:-1)*Math.floor(Math.abs(t))}var NA=Math.pow(2,53)-1;function jA(e){var t=MA(e);return Math.min(Math.max(t,0),NA)}function Ze(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");for(var o=jA(n.length),a=fd(r)?Object(new r(o)):new Array(o),i=0,l;i<o;)l=n[i],a[i]=l,i+=1;return a.length=o,a}function on(e){"@babel/helpers - typeof";return on=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},on(e)}function IA(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function md(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,th(n.key),n);}}function $A(e,t,r){return t&&md(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function BA(e,t,r){return t=th(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function th(e){var t=LA(e,"string");return on(t)==="symbol"?t:String(t)}function LA(e,t){if(on(e)!=="object"||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t||"default");if(on(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return (t==="string"?String:Number)(e)}var DA=function(){function e(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];IA(this,e),BA(this,"items",void 0),this.items=t;}return $A(e,[{key:"add",value:function(t){return this.has(t)===!1&&this.items.push(t),this}},{key:"clear",value:function(){this.items=[];}},{key:"delete",value:function(t){var r=this.items.length;return this.items=this.items.filter(function(n){return n!==t}),r!==this.items.length}},{key:"forEach",value:function(t){var r=this;this.items.forEach(function(n){t(n,n,r);});}},{key:"has",value:function(t){return this.items.indexOf(t)!==-1}},{key:"size",get:function(){return this.items.length}}]),e}(),kA=typeof Set>"u"?Set:DA;function Ne(e){var t;return (t=e.localName)!==null&&t!==void 0?t:e.tagName.toLowerCase()}var FA={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"},UA={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 HA(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=UA[t])!==null&&n!==void 0&&n.has(r))})}function rh(e,t){return HA(e,t)}function VA(e){var t=GA(e);if(t===null||t==="presentation"){var r=zA(e);if(t!=="presentation"||rh(e,r||""))return r}return t}function zA(e){var t=FA[Ne(e)];if(t!==void 0)return t;switch(Ne(e)){case"a":case"area":case"link":if(e.hasAttribute("href"))return "link";break;case"img":return e.getAttribute("alt")===""&&!rh(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 GA(e){var t=e.getAttribute("role");if(t!==null){var r=t.trim().split(" ")[0];if(r.length>0)return r}return null}function ye(e){return e!==null&&e.nodeType===e.ELEMENT_NODE}function nh(e){return ye(e)&&Ne(e)==="caption"}function Un(e){return ye(e)&&Ne(e)==="input"}function WA(e){return ye(e)&&Ne(e)==="optgroup"}function KA(e){return ye(e)&&Ne(e)==="select"}function YA(e){return ye(e)&&Ne(e)==="table"}function JA(e){return ye(e)&&Ne(e)==="textarea"}function XA(e){var t=e.ownerDocument===null?e:e.ownerDocument,r=t.defaultView;if(r===null)throw new TypeError("no window available");return r}function QA(e){return ye(e)&&Ne(e)==="fieldset"}function ZA(e){return ye(e)&&Ne(e)==="legend"}function eq(e){return ye(e)&&Ne(e)==="slot"}function tq(e){return ye(e)&&e.ownerSVGElement!==void 0}function rq(e){return ye(e)&&Ne(e)==="svg"}function nq(e){return tq(e)&&Ne(e)==="title"}function no(e,t){if(ye(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 gt(e,t){return ye(e)?t.indexOf(VA(e))!==-1:!1}function oq(e){return e.trim().replace(/\s\s+/g," ")}function iq(e,t){if(!ye(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 aq(e){return gt(e,["button","combobox","listbox","textbox"])||oh(e,"range")}function oh(e,t){if(!ye(e))return !1;switch(t){case"range":return gt(e,["meter","progressbar","scrollbar","slider","spinbutton"]);default:throw new TypeError("No knowledge about abstract role '".concat(t,"'. This is likely a bug :("))}}function hd(e,t){var r=Ze(e.querySelectorAll(t));return no(e,"aria-owns").forEach(function(n){r.push.apply(r,Ze(n.querySelectorAll(t)));}),r}function lq(e){return KA(e)?e.selectedOptions||hd(e,"[selected]"):hd(e,'[aria-selected="true"]')}function sq(e){return gt(e,["none","presentation"])}function uq(e){return nh(e)}function cq(e){return gt(e,["button","cell","checkbox","columnheader","gridcell","heading","label","legend","link","menuitem","menuitemcheckbox","menuitemradio","option","radio","row","rowheader","switch","tab","tooltip","treeitem"])}function dq(e){return !1}function pq(e){return Un(e)||JA(e)?e.value:e.textContent||""}function bd(e){var t=e.getPropertyValue("content");return /^["'].*["']$/.test(t)?t.slice(1,-1):""}function ih(e){var t=Ne(e);return t==="button"||t==="input"&&e.getAttribute("type")!=="hidden"||t==="meter"||t==="output"||t==="progress"||t==="select"||t==="textarea"}function ah(e){if(ih(e))return e;var t=null;return e.childNodes.forEach(function(r){if(t===null&&ye(r)){var n=ah(r);n!==null&&(t=n);}}),t}function fq(e){if(e.control!==void 0)return e.control;var t=e.getAttribute("for");return t!==null?e.ownerDocument.getElementById(t):ah(e)}function mq(e){var t=e.labels;if(t===null)return t;if(t!==void 0)return Ze(t);if(!ih(e))return null;var r=e.ownerDocument;return Ze(r.querySelectorAll("label")).filter(function(n){return fq(n)===e})}function hq(e){var t=e.assignedNodes();return t.length===0?Ze(e.childNodes):t}function lh(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=new kA,n=XA(e),o=t.compute,a=o===void 0?"name":o,i=t.computedStyleSupportsPseudoElements,l=i===void 0?t.getComputedStyle!==void 0:i,u=t.getComputedStyle,c=u===void 0?n.getComputedStyle.bind(n):u,s=t.hidden,d=s===void 0?!1:s;function f(g,y){var T="";if(ye(g)&&l){var C=c(g,"::before"),E=bd(C);T="".concat(E," ").concat(T);}var w=eq(g)?hq(g):Ze(g.childNodes).concat(no(g,"aria-owns"));if(w.forEach(function(O){var A=b(O,{isEmbeddedInLabel:y.isEmbeddedInLabel,isReferenced:!1,recursion:!0}),I=ye(O)?c(O).getPropertyValue("display"):"inline",D=I!=="inline"?" ":"";T+="".concat(D).concat(A).concat(D);}),ye(g)&&l){var _=c(g,"::after"),v=bd(_);T="".concat(T," ").concat(v);}return T.trim()}function p(g,y){var T=g.getAttributeNode(y);return T!==null&&!r.has(T)&&T.value.trim()!==""?(r.add(T),T.value):null}function m(g){return ye(g)?p(g,"title"):null}function h(g){if(!ye(g))return null;if(QA(g)){r.add(g);for(var y=Ze(g.childNodes),T=0;T<y.length;T+=1){var C=y[T];if(ZA(C))return b(C,{isEmbeddedInLabel:!1,isReferenced:!1,recursion:!1})}}else if(YA(g)){r.add(g);for(var E=Ze(g.childNodes),w=0;w<E.length;w+=1){var _=E[w];if(nh(_))return b(_,{isEmbeddedInLabel:!1,isReferenced:!1,recursion:!1})}}else if(rq(g)){r.add(g);for(var v=Ze(g.childNodes),O=0;O<v.length;O+=1){var A=v[O];if(nq(A))return A.textContent}return null}else if(Ne(g)==="img"||Ne(g)==="area"){var I=p(g,"alt");if(I!==null)return I}else if(WA(g)){var D=p(g,"label");if(D!==null)return D}if(Un(g)&&(g.type==="button"||g.type==="submit"||g.type==="reset")){var $=p(g,"value");if($!==null)return $;if(g.type==="submit")return "Submit";if(g.type==="reset")return "Reset"}var x=mq(g);if(x!==null&&x.length!==0)return r.add(g),Ze(x).map(function(W){return b(W,{isEmbeddedInLabel:!0,isReferenced:!1,recursion:!0})}).filter(function(W){return W.length>0}).join(" ");if(Un(g)&&g.type==="image"){var B=p(g,"alt");if(B!==null)return B;var V=p(g,"title");return V!==null?V:"Submit Query"}if(gt(g,["button"])){var K=f(g,{isEmbeddedInLabel:!1,isReferenced:!1});if(K!=="")return K}return null}function b(g,y){if(r.has(g))return "";if(!d&&iq(g,c)&&!y.isReferenced)return r.add(g),"";var T=ye(g)?g.getAttributeNode("aria-labelledby"):null,C=T!==null&&!r.has(T)?no(g,"aria-labelledby"):[];if(a==="name"&&!y.isReferenced&&C.length>0)return r.add(T),C.map(function(I){return b(I,{isEmbeddedInLabel:y.isEmbeddedInLabel,isReferenced:!0,recursion:!1})}).join(" ");var E=y.recursion&&aq(g)&&a==="name";if(!E){var w=(ye(g)&&g.getAttribute("aria-label")||"").trim();if(w!==""&&a==="name")return r.add(g),w;if(!sq(g)){var _=h(g);if(_!==null)return r.add(g),_}}if(gt(g,["menu"]))return r.add(g),"";if(E||y.isEmbeddedInLabel||y.isReferenced){if(gt(g,["combobox","listbox"])){r.add(g);var v=lq(g);return v.length===0?Un(g)?g.value:"":Ze(v).map(function(I){return b(I,{isEmbeddedInLabel:y.isEmbeddedInLabel,isReferenced:!1,recursion:!0})}).join(" ")}if(oh(g,"range"))return r.add(g),g.hasAttribute("aria-valuetext")?g.getAttribute("aria-valuetext"):g.hasAttribute("aria-valuenow")?g.getAttribute("aria-valuenow"):g.getAttribute("value")||"";if(gt(g,["textbox"]))return r.add(g),pq(g)}if(cq(g)||ye(g)&&y.isReferenced||uq(g)||dq()){var O=f(g,{isEmbeddedInLabel:y.isEmbeddedInLabel,isReferenced:!1});if(O!=="")return r.add(g),O}if(g.nodeType===g.TEXT_NODE)return r.add(g),g.textContent||"";if(y.recursion)return r.add(g),f(g,{isEmbeddedInLabel:y.isEmbeddedInLabel,isReferenced:!1});var A=m(g);return A!==null?(r.add(g),A):(r.add(g),"")}return oq(b(e,{isEmbeddedInLabel:!1,isReferenced:a==="description",recursion:!1}))}function an(e){"@babel/helpers - typeof";return an=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},an(e)}function gd(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 yd(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?gd(Object(r),!0).forEach(function(n){bq(e,n,r[n]);}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):gd(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n));});}return e}function bq(e,t,r){return t=gq(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function gq(e){var t=yq(e,"string");return an(t)==="symbol"?t:String(t)}function yq(e,t){if(an(e)!=="object"||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t||"default");if(an(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return (t==="string"?String:Number)(e)}function sh(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=no(e,"aria-describedby").map(function(o){return lh(o,yd(yd({},t),{},{compute:"description"}))}).join(" ");if(r===""){var n=e.getAttribute("title");r=n===null?"":n;}return r}function vq(e){return gt(e,["caption","code","deletion","emphasis","generic","insertion","paragraph","presentation","strong","subscript","superscript"])}function Gl(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return vq(e)?"":lh(e,t)}var ze=Ue(Fa()),_q=Ue(jC());function uh(e){return e.replace(/</g,"&lt;").replace(/>/g,"&gt;")}var Eq=(e,t,r,n,o,a,i)=>{let l=n+r.indent,u=r.colors;return e.map(c=>{let s=t[c],d=i(s,r,l,o,a);return typeof s!="string"&&(d.indexOf(`
179
- `)!==-1&&(d=r.spacingOuter+l+d+r.spacingOuter+n),d="{"+d+"}"),r.spacingInner+n+u.prop.open+c+u.prop.close+"="+u.value.open+d+u.value.close}).join("")},wq=3,Cq=(e,t,r,n,o,a)=>e.map(i=>{let l=typeof i=="string"?ch(i,t):a(i,t,r,n,o);return l===""&&typeof i=="object"&&i!==null&&i.nodeType!==wq?"":t.spacingOuter+r+l}).join(""),ch=(e,t)=>{let r=t.colors.content;return r.open+uh(e)+r.close},Tq=(e,t)=>{let r=t.colors.comment;return r.open+"<!--"+uh(e)+"-->"+r.close},Rq=(e,t,r,n,o)=>{let a=n.colors.tag;return a.open+"<"+e+(t&&a.close+t+n.spacingOuter+o+a.open)+(r?">"+a.close+r+n.spacingOuter+o+a.open+"</"+e:(t&&!n.min?"":" ")+"/")+">"+a.close},Sq=(e,t)=>{let r=t.colors.tag;return r.open+"<"+e+r.close+" \u2026"+r.open+" />"+r.close},Pq=1,dh=3,ph=8,fh=11,Oq=/^((HTML|SVG)\w*)?Element$/,mh=e=>{let{tagName:t}=e;return !!(typeof t=="string"&&t.includes("-")||typeof e.hasAttribute=="function"&&e.hasAttribute("is"))},Aq=e=>{let t=e.constructor.name,{nodeType:r}=e;return r===Pq&&(Oq.test(t)||mh(e))||r===dh&&t==="Text"||r===ph&&t==="Comment"||r===fh&&t==="DocumentFragment"};function qq(e){return e.nodeType===dh}function xq(e){return e.nodeType===ph}function Bi(e){return e.nodeType===fh}function Mq(e){return {test:t=>{var r;return ((t==null||(r=t.constructor)==null?void 0:r.name)||mh(t))&&Aq(t)},serialize:(t,r,n,o,a,i)=>{if(qq(t))return ch(t.data,r);if(xq(t))return Tq(t.data,r);let l=Bi(t)?"DocumentFragment":t.tagName.toLowerCase();return ++o>r.maxDepth?Sq(l,r):Rq(l,Eq(Bi(t)?[]:Array.from(t.attributes).map(u=>u.name).sort(),Bi(t)?{}:Array.from(t.attributes).reduce((u,c)=>(u[c.name]=c.value,u),{}),r,n+r.indent,o,a,i),Cq(Array.prototype.slice.call(t.childNodes||t.children).filter(e),r,n+r.indent,o,a,i),r,n)}}}var hh=null,Wl=null,Kl=null;try{let e=zt&&zt.require;Wl=e.call(zt,"fs").readFileSync,Kl=e.call(zt,"@babel/code-frame").codeFrameColumns,hh=e.call(zt,"chalk");}catch{}function Nq(e){let t=e.indexOf("(")+1,r=e.indexOf(")"),n=e.slice(t,r),o=n.split(":"),[a,i,l]=[o[0],parseInt(o[1],10),parseInt(o[2],10)],u="";try{u=Wl(a,"utf-8");}catch{return ""}let c=Kl(u,{start:{line:i,column:l}},{highlightCode:!0,linesBelow:0});return hh.dim(n)+`
180
- `+c+`
181
- `}function jq(){if(!Wl||!Kl)return "";let e=new Error().stack.split(`
182
- `).slice(1).find(t=>!t.includes("node_modules/"));return Nq(e)}var bh=3;function Li(){return typeof jest<"u"&&jest!==null?setTimeout._isMockFunction===!0||Object.prototype.hasOwnProperty.call(setTimeout,"clock"):!1}function Yl(){if(typeof window>"u")throw new Error("Could not find default container");return window.document}function gh(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 Ct(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 Iq=()=>{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},{DOMCollection:$q}=zl.plugins,Bq=1,Lq=8;function Dq(e){return e.nodeType!==Lq&&(e.nodeType!==Bq||!e.matches(ee().defaultIgnore))}function ln(e,t,r){if(r===void 0&&(r={}),e||(e=Yl().body),typeof t!="number"&&(t=typeof process<"u"&&typeof process.env<"u"&&process.env.DEBUG_PRINT_LIMIT||7e3),t===0)return "";e.documentElement&&(e=e.documentElement);let n=typeof e;if(n==="object"?n=e.constructor.name:e={},!("outerHTML"in e))throw new TypeError("Expected an element or document but got "+n);let{filterNode:o=Dq,...a}=r,i=zl.format(e,{plugins:[Mq(o),$q],printFunctionName:!1,highlight:Iq(),...a});return t!==void 0&&e.outerHTML.length>t?i.slice(0,t)+"...":i}var Ta=function(){let e=jq();console.log(e?ln(...arguments)+`
183
-
184
- `+e:ln(...arguments));},Kt={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=ln(t),n=new Error([e,"Ignored nodes: comments, "+Kt.defaultIgnore+`
185
- `+r].filter(Boolean).join(`
186
-
187
- `));return n.name="TestingLibraryElementError",n},_disableExpensiveErrorDiagnostics:!1,computedStyleSupportsPseudoElements:!1};function kq(e){try{return Kt._disableExpensiveErrorDiagnostics=!0,e()}finally{Kt._disableExpensiveErrorDiagnostics=!1;}}function Fq(e){typeof e=="function"&&(e=e(Kt)),Kt={...Kt,...e};}function ee(){return Kt}var Uq=["button","meter","output","progress","select","textarea","input"];function yh(e){return Uq.includes(e.nodeName.toLowerCase())?"":e.nodeType===bh?e.textContent:Array.from(e.childNodes).map(t=>yh(t)).join("")}function Ra(e){let t;return e.tagName.toLowerCase()==="label"?t=yh(e):t=e.value||e.textContent,t}function vh(e){if(e.labels!==void 0){var t;return (t=e.labels)!=null?t:[]}if(!Hq(e))return [];let r=e.ownerDocument.querySelectorAll("label");return Array.from(r).filter(n=>n.control===e)}function Hq(e){return /BUTTON|METER|OUTPUT|PROGRESS|SELECT|TEXTAREA/.test(e.tagName)||e.tagName==="INPUT"&&e.getAttribute("type")!=="hidden"}function _h(e,t,r){let{selector:n="*"}=r===void 0?{}:r,o=t.getAttribute("aria-labelledby"),a=o?o.split(" "):[];return a.length?a.map(i=>{let l=e.querySelector('[id="'+i+'"]');return l?{content:Ra(l),formControl:null}:{content:"",formControl:null}}):Array.from(vh(t)).map(i=>{let l=Ra(i),u=Array.from(i.querySelectorAll("button, input, meter, output, progress, select, textarea")).filter(c=>c.matches(n))[0];return {content:l,formControl:u}})}function Eh(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 Nr(e,t,r,n){if(typeof e!="string")return !1;Eh(r);let o=n(e);return typeof r=="string"||typeof r=="number"?o.toLowerCase().includes(r.toString().toLowerCase()):typeof r=="function"?r(o,t):wh(r,o)}function vt(e,t,r,n){if(typeof e!="string")return !1;Eh(r);let o=n(e);return r instanceof Function?r(o,t):r instanceof RegExp?wh(r,o):o===String(r)}function Jl(e){let{trim:t=!0,collapseWhitespace:r=!0}=e===void 0?{}:e;return n=>{let o=n;return o=t?o.trim():o,o=r?o.replace(/\s+/g," "):o,o}}function er(e){let{trim:t,collapseWhitespace:r,normalizer:n}=e;if(!n)return Jl({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 wh(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 En(e){return e.matches("input[type=submit], input[type=button], input[type=reset]")?e.value:Array.from(e.childNodes).filter(t=>t.nodeType===bh&&!!t.textContent).map(t=>t.textContent).join("")}var Vq=zq(ze.elementRoles);function Ch(e){return e.hidden===!0||e.getAttribute("aria-hidden")==="true"||e.ownerDocument.defaultView.getComputedStyle(e).display==="none"}function Do(e,t){t===void 0&&(t={});let{isSubtreeInaccessible:r=Ch}=t;if(e.ownerDocument.defaultView.getComputedStyle(e).visibility==="hidden")return !0;let n=e;for(;n;){if(r(n))return !0;n=n.parentElement;}return !1}function Xl(e){for(let{match:t,roles:r}of Vq)if(t(e))return [...r];return []}function zq(e){function t(i){let{name:l,attributes:u}=i;return ""+l+u.map(c=>{let{name:s,value:d,constraints:f=[]}=c,p=f.indexOf("undefined")!==-1,m=f.indexOf("set")!==-1;return typeof d<"u"?"["+s+'="'+d+'"]':p?":not(["+s+"])":m?"["+s+"]:not(["+s+'=""])':"["+s+"]"}).join("")}function r(i){let{attributes:l=[]}=i;return l.length}function n(i,l){let{specificity:u}=i,{specificity:c}=l;return c-u}function o(i){let{attributes:l=[]}=i,u=l.findIndex(s=>s.value&&s.name==="type"&&s.value==="text");u>=0&&(l=[...l.slice(0,u),...l.slice(u+1)]);let c=t({...i,attributes:l});return s=>u>=0&&s.type!=="text"?!1:s.matches(c)}let a=[];for(let[i,l]of e.entries())a=[...a,{match:o(i),roles:Array.from(l),specificity:r(i)}];return a.sort(n)}function Th(e,t){let{hidden:r=!1}=t===void 0?{}:t;function n(o){return [o,...Array.from(o.children).reduce((a,i)=>[...a,...n(i)],[])]}return n(e).filter(o=>r===!1?Do(o)===!1:!0).reduce((o,a)=>{let i=[];return a.hasAttribute("role")?i=a.getAttribute("role").split(" ").slice(0,1):i=Xl(a),i.reduce((l,u)=>Array.isArray(l[u])?{...l,[u]:[...l[u],a]}:{...l,[u]:[a]},o)},{})}function Rh(e,t){let{hidden:r,includeDescription:n}=t,o=Th(e,{hidden:r});return Object.entries(o).filter(a=>{let[i]=a;return i!=="generic"}).map(a=>{let[i,l]=a,u="-".repeat(50),c=l.map(s=>{let d='Name "'+Gl(s,{computedStyleSupportsPseudoElements:ee().computedStyleSupportsPseudoElements})+`":
188
- `,f=ln(s.cloneNode(!1));if(n){let p='Description "'+sh(s,{computedStyleSupportsPseudoElements:ee().computedStyleSupportsPseudoElements})+`":
189
- `;return ""+d+p+f}return ""+d+f}).join(`
190
-
191
- `);return i+`:
192
-
193
- `+c+`
194
-
195
- `+u}).join(`
196
- `)}var Gq=function(e,t){let{hidden:r=!1}=t===void 0?{}:t;return console.log(Rh(e,{hidden:r}))};function Wq(e){return e.tagName==="OPTION"?e.selected:wn(e,"aria-selected")}function Kq(e){return e.getAttribute("aria-busy")==="true"}function Yq(e){if(!("indeterminate"in e&&e.indeterminate))return "checked"in e?e.checked:wn(e,"aria-checked")}function Jq(e){return wn(e,"aria-pressed")}function Xq(e){var t,r;return (t=(r=wn(e,"aria-current"))!=null?r:e.getAttribute("aria-current"))!=null?t:!1}function Qq(e){return wn(e,"aria-expanded")}function wn(e,t){let r=e.getAttribute(t);if(r==="true")return !0;if(r==="false")return !1}function Zq(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 ex(e){let t=e.getAttribute("aria-valuenow");return t===null?void 0:+t}function tx(e){let t=e.getAttribute("aria-valuemax");return t===null?void 0:+t}function rx(e){let t=e.getAttribute("aria-valuemin");return t===null?void 0:+t}function nx(e){let t=e.getAttribute("aria-valuetext");return t===null?void 0:t}var vd=Jl();function ox(e){return e.replace(/[.*+\-?^${}()|[\]\\]/g,"\\$&")}function _d(e){return new RegExp(ox(e.toLowerCase()),"i")}function Pt(e,t,r,n){let{variant:o,name:a}=n,i="",l={},u=[["Role","TestId"].includes(e)?r:_d(r)];a&&(l.name=_d(a)),e==="Role"&&Do(t)&&(l.hidden=!0,i=`Element is inaccessible. This means that the element and all its children are invisible to screen readers.
197
- If you are using the aria-hidden prop, make sure this is the right choice for your case.
198
- `),Object.keys(l).length>0&&u.push(l);let c=o+"By"+e;return {queryName:e,queryMethod:c,queryArgs:u,variant:o,warning:i,toString(){i&&console.warn(i);let[s,d]=u;return s=typeof s=="string"?"'"+s+"'":s,d=d?", { "+Object.entries(d).map(f=>{let[p,m]=f;return p+": "+m}).join(", ")+" }":"",c+"("+s+d+")"}}}function Ot(e,t,r){return r&&(!t||t.toLowerCase()===e.toLowerCase())}function oo(e,t,r){var n,o;if(t===void 0&&(t="get"),e.matches(ee().defaultIgnore))return;let a=(n=e.getAttribute("role"))!=null?n:(o=Xl(e))==null?void 0:o[0];if(a!=="generic"&&Ot("Role",r,a))return Pt("Role",e,a,{variant:t,name:Gl(e,{computedStyleSupportsPseudoElements:ee().computedStyleSupportsPseudoElements})});let i=_h(document,e).map(f=>f.content).join(" ");if(Ot("LabelText",r,i))return Pt("LabelText",e,i,{variant:t});let l=e.getAttribute("placeholder");if(Ot("PlaceholderText",r,l))return Pt("PlaceholderText",e,l,{variant:t});let u=vd(En(e));if(Ot("Text",r,u))return Pt("Text",e,u,{variant:t});if(Ot("DisplayValue",r,e.value))return Pt("DisplayValue",e,vd(e.value),{variant:t});let c=e.getAttribute("alt");if(Ot("AltText",r,c))return Pt("AltText",e,c,{variant:t});let s=e.getAttribute("title");if(Ot("Title",r,s))return Pt("Title",e,s,{variant:t});let d=e.getAttribute(ee().testIdAttribute);if(Ot("TestId",r,d))return Pt("TestId",e,d,{variant:t})}function Mn(e,t){e.stack=t.stack.replace(t.message,e.message);}function ix(e,t){let{container:r=Yl(),timeout:n=ee().asyncUtilTimeout,showOriginalStackTrace:o=ee().showOriginalStackTrace,stackTraceError:a,interval:i=50,onTimeout:l=c=>(Object.defineProperty(c,"message",{value:ee().getElementError(c.message,r).message}),c),mutationObserverOptions:u={subtree:!0,childList:!0,attributes:!0,characterData:!0}}=t;if(typeof e!="function")throw new TypeError("Received `callback` arg must be a function");return new Promise(async(c,s)=>{let d,f,p,m=!1,h="idle",b=setTimeout(E,n),g=Li();if(g){let{unstable_advanceTimersWrapper:w}=ee();for(C();!m;){if(!Li()){let _=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");o||Mn(_,a),s(_);return}if(await w(async()=>{jest.advanceTimersByTime(i);}),m)break;C();}}else {try{Ct(r);}catch(_){s(_);return}f=setInterval(T,i);let{MutationObserver:w}=gh(r);p=new w(T),p.observe(r,u),C();}function y(w,_){m=!0,clearTimeout(b),g||(clearInterval(f),p.disconnect()),w?s(w):c(_);}function T(){if(Li()){let w=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 o||Mn(w,a),s(w)}else return C()}function C(){if(h!=="pending")try{let w=kq(e);typeof w?.then=="function"?(h="pending",w.then(_=>{h="resolved",y(null,_);},_=>{h="rejected",d=_;})):y(null,w);}catch(w){d=w;}}function E(){let w;d?(w=d,!o&&w.name==="TestingLibraryElementError"&&Mn(w,a)):(w=new Error("Timed out in waitFor."),o||Mn(w,a)),y(l(w),null);}})}function Ql(e,t){let r=new Error("STACK_TRACE_MESSAGE");return ee().asyncWrapper(()=>ix(e,{stackTraceError:r,...t}))}function ko(e,t){return ee().getElementError(e,t)}function Fo(e,t){return ko(e+"\n\n(If this is intentional, then use the `*AllBy*` variant of the query (like `queryAllByText`, `getAllByText`, or `findAllByText`)).",t)}function tr(e,t,r,n){let{exact:o=!0,collapseWhitespace:a,trim:i,normalizer:l}=n===void 0?{}:n,u=o?vt:Nr,c=er({collapseWhitespace:a,trim:i,normalizer:l});return Array.from(t.querySelectorAll("["+e+"]")).filter(s=>u(s.getAttribute(e),s,r,c))}function Sh(e,t,r,n){let o=tr(e,t,r,n);if(o.length>1)throw Fo("Found multiple elements by ["+e+"="+r+"]",t);return o[0]||null}function Cr(e,t){return function(r){for(var n=arguments.length,o=new Array(n>1?n-1:0),a=1;a<n;a++)o[a-1]=arguments[a];let i=e(r,...o);if(i.length>1){let l=i.map(u=>ko(null,u).message).join(`
199
-
200
- `);throw Fo(t(r,...o)+`
201
-
202
- Here are the matching elements:
203
-
204
- `+l,r)}return i[0]||null}}function Ph(e,t){return ee().getElementError(`A better query is available, try this:
205
- `+e.toString()+`
206
- `,t)}function Zl(e,t){return function(r){for(var n=arguments.length,o=new Array(n>1?n-1:0),a=1;a<n;a++)o[a-1]=arguments[a];let i=e(r,...o);if(!i.length)throw ee().getElementError(t(r,...o),r);return i}}function Tr(e){return (t,r,n,o)=>Ql(()=>e(t,r,n),{container:t,...o})}var $t=(e,t,r)=>function(n){for(var o=arguments.length,a=new Array(o>1?o-1:0),i=1;i<o;i++)a[i-1]=arguments[i];let l=e(n,...a),[{suggest:u=ee().throwSuggestions}={}]=a.slice(-1);if(l&&u){let c=oo(l,r);if(c&&!t.endsWith(c.queryName))throw Ph(c.toString(),n)}return l},Le=(e,t,r)=>function(n){for(var o=arguments.length,a=new Array(o>1?o-1:0),i=1;i<o;i++)a[i-1]=arguments[i];let l=e(n,...a),[{suggest:u=ee().throwSuggestions}={}]=a.slice(-1);if(l.length&&u){let c=[...new Set(l.map(s=>{var d;return (d=oo(s,r))==null?void 0:d.toString()}))];if(c.length===1&&!t.endsWith(oo(l[0],r).queryName))throw Ph(c[0],n)}return l};function Tt(e,t,r){let n=$t(Cr(e,t),e.name,"query"),o=Zl(e,r),a=Cr(o,t),i=$t(a,e.name,"get"),l=Le(o,e.name.replace("query","get"),"getAll"),u=Tr(Le(o,e.name,"findAll")),c=Tr($t(a,e.name,"find"));return [n,l,i,u,c]}var ax=Object.freeze({__proto__:null,getElementError:ko,wrapAllByQueryWithSuggestion:Le,wrapSingleQueryWithSuggestion:$t,getMultipleElementsFoundError:Fo,queryAllByAttribute:tr,queryByAttribute:Sh,makeSingleQuery:Cr,makeGetAllQuery:Zl,makeFindQuery:Tr,buildQueries:Tt});function lx(e){return Array.from(e.querySelectorAll("label,input")).map(t=>({node:t,textToMatch:Ra(t)})).filter(t=>{let{textToMatch:r}=t;return r!==null})}var sx=function(e,t,r){let{exact:n=!0,trim:o,collapseWhitespace:a,normalizer:i}=r===void 0?{}:r,l=n?vt:Nr,u=er({collapseWhitespace:a,trim:o,normalizer:i});return lx(e).filter(c=>{let{node:s,textToMatch:d}=c;return l(d,s,t,u)}).map(c=>{let{node:s}=c;return s})},sn=function(e,t,r){let{selector:n="*",exact:o=!0,collapseWhitespace:a,trim:i,normalizer:l}=r===void 0?{}:r;Ct(e);let u=o?vt:Nr,c=er({collapseWhitespace:a,trim:i,normalizer:l}),s=Array.from(e.querySelectorAll("*")).filter(d=>vh(d).length||d.hasAttribute("aria-labelledby")).reduce((d,f)=>{let p=_h(e,f,{selector:n});p.filter(h=>!!h.formControl).forEach(h=>{u(h.content,h.formControl,t,c)&&h.formControl&&d.push(h.formControl);});let m=p.filter(h=>!!h.content).map(h=>h.content);return u(m.join(" "),f,t,c)&&d.push(f),m.length>1&&m.forEach((h,b)=>{u(h,f,t,c)&&d.push(f);let g=[...m];g.splice(b,1),g.length>1&&u(g.join(" "),f,t,c)&&d.push(f);}),d},[]).concat(tr("aria-label",e,t,{exact:o,normalizer:c}));return Array.from(new Set(s)).filter(d=>d.matches(n))},Jt=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 a=sn(e,t,...n);if(!a.length){let i=sx(e,t,...n);if(i.length){let l=i.map(u=>ux(e,u)).filter(u=>!!u);throw l.length?ee().getElementError(l.map(u=>"Found a label with the text of: "+t+", however the element associated with this label (<"+u+" />) is non-labellable [https://html.spec.whatwg.org/multipage/forms.html#category-label]. If you really need to label a <"+u+" />, you can use aria-label or aria-labelledby instead.").join(`
207
-
208
- `),e):ee().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 ee().getElementError("Unable to find a label with the text of: "+t,e)}return a};function ux(e,t){let r=t.getAttribute("for");if(!r)return null;let n=e.querySelector('[id="'+r+'"]');return n?n.tagName.toLowerCase():null}var Oh=(e,t)=>"Found multiple elements with the text of: "+t,Ah=$t(Cr(sn,Oh),sn.name,"query"),qh=Cr(Jt,Oh),xh=Tr(Le(Jt,Jt.name,"findAll")),Mh=Tr($t(qh,Jt.name,"find")),Nh=Le(Jt,Jt.name,"getAll"),jh=$t(qh,Jt.name,"get"),Ih=Le(sn,sn.name,"queryAll"),Sa=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return Ct(t[0]),tr("placeholder",...t)},cx=(e,t)=>"Found multiple elements with the placeholder text of: "+t,dx=(e,t)=>"Unable to find an element with the placeholder text of: "+t,$h=Le(Sa,Sa.name,"queryAll"),[Bh,Lh,Dh,kh,Fh]=Tt(Sa,cx,dx),Pa=function(e,t,r){let{selector:n="*",exact:o=!0,collapseWhitespace:a,trim:i,ignore:l=ee().defaultIgnore,normalizer:u}=r===void 0?{}:r;Ct(e);let c=o?vt:Nr,s=er({collapseWhitespace:a,trim:i,normalizer:u}),d=[];return typeof e.matches=="function"&&e.matches(n)&&(d=[e]),[...d,...Array.from(e.querySelectorAll(n))].filter(f=>!l||!f.matches(l)).filter(f=>c(En(f),f,t,s))},px=(e,t)=>"Found multiple elements with the text: "+t,fx=function(e,t,r){r===void 0&&(r={});let{collapseWhitespace:n,trim:o,normalizer:a,selector:i}=r,l=er({collapseWhitespace:n,trim:o,normalizer:a})(t.toString()),u=l!==t.toString(),c=(i??"*")!=="*";return "Unable to find an element with the text: "+(u?l+" (normalized from '"+t+"')":t)+(c?", which matches selector '"+i+"'":"")+". 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."},Uh=Le(Pa,Pa.name,"queryAll"),[Hh,Vh,zh,Gh,Wh]=Tt(Pa,px,fx),Oa=function(e,t,r){let{exact:n=!0,collapseWhitespace:o,trim:a,normalizer:i}=r===void 0?{}:r;Ct(e);let l=n?vt:Nr,u=er({collapseWhitespace:o,trim:a,normalizer:i});return Array.from(e.querySelectorAll("input,textarea,select")).filter(c=>c.tagName==="SELECT"?Array.from(c.options).filter(s=>s.selected).some(s=>l(En(s),s,t,u)):l(c.value,c,t,u))},mx=(e,t)=>"Found multiple elements with the display value: "+t+".",hx=(e,t)=>"Unable to find an element with the display value: "+t+".",Kh=Le(Oa,Oa.name,"queryAll"),[Yh,Jh,Xh,Qh,Zh]=Tt(Oa,mx,hx),bx=/^(img|input|area|.+-.+)$/i,Aa=function(e,t,r){return r===void 0&&(r={}),Ct(e),tr("alt",e,t,r).filter(n=>bx.test(n.tagName))},gx=(e,t)=>"Found multiple elements with the alt text: "+t,yx=(e,t)=>"Unable to find an element with the alt text: "+t,eb=Le(Aa,Aa.name,"queryAll"),[tb,rb,nb,ob,ib]=Tt(Aa,gx,yx),vx=e=>{var t;return e.tagName.toLowerCase()==="title"&&((t=e.parentElement)==null?void 0:t.tagName.toLowerCase())==="svg"},qa=function(e,t,r){let{exact:n=!0,collapseWhitespace:o,trim:a,normalizer:i}=r===void 0?{}:r;Ct(e);let l=n?vt:Nr,u=er({collapseWhitespace:o,trim:a,normalizer:i});return Array.from(e.querySelectorAll("[title], svg > title")).filter(c=>l(c.getAttribute("title"),c,t,u)||vx(c)&&l(En(c),c,t,u))},_x=(e,t)=>"Found multiple elements with the title: "+t+".",Ex=(e,t)=>"Unable to find an element with the title: "+t+".",ab=Le(qa,qa.name,"queryAll"),[lb,sb,ub,cb,db]=Tt(qa,_x,Ex),xa=function(e,t,r){let{hidden:n=ee().defaultHidden,name:o,description:a,queryFallbacks:i=!1,selected:l,busy:u,checked:c,pressed:s,current:d,level:f,expanded:p,value:{now:m,min:h,max:b,text:g}={}}=r===void 0?{}:r;if(Ct(e),l!==void 0){var y;if(((y=ze.roles.get(t))==null?void 0:y.props["aria-selected"])===void 0)throw new Error('"aria-selected" is not supported on role "'+t+'".')}if(u!==void 0){var T;if(((T=ze.roles.get(t))==null?void 0:T.props["aria-busy"])===void 0)throw new Error('"aria-busy" is not supported on role "'+t+'".')}if(c!==void 0){var C;if(((C=ze.roles.get(t))==null?void 0:C.props["aria-checked"])===void 0)throw new Error('"aria-checked" is not supported on role "'+t+'".')}if(s!==void 0){var E;if(((E=ze.roles.get(t))==null?void 0:E.props["aria-pressed"])===void 0)throw new Error('"aria-pressed" is not supported on role "'+t+'".')}if(d!==void 0){var w;if(((w=ze.roles.get(t))==null?void 0:w.props["aria-current"])===void 0)throw new Error('"aria-current" is not supported on role "'+t+'".')}if(f!==void 0&&t!=="heading")throw new Error('Role "'+t+'" cannot have "level" property.');if(m!==void 0){var _;if(((_=ze.roles.get(t))==null?void 0:_.props["aria-valuenow"])===void 0)throw new Error('"aria-valuenow" is not supported on role "'+t+'".')}if(b!==void 0){var v;if(((v=ze.roles.get(t))==null?void 0:v.props["aria-valuemax"])===void 0)throw new Error('"aria-valuemax" is not supported on role "'+t+'".')}if(h!==void 0){var O;if(((O=ze.roles.get(t))==null?void 0:O.props["aria-valuemin"])===void 0)throw new Error('"aria-valuemin" is not supported on role "'+t+'".')}if(g!==void 0){var A;if(((A=ze.roles.get(t))==null?void 0:A.props["aria-valuetext"])===void 0)throw new Error('"aria-valuetext" is not supported on role "'+t+'".')}if(p!==void 0){var I;if(((I=ze.roles.get(t))==null?void 0:I.props["aria-expanded"])===void 0)throw new Error('"aria-expanded" is not supported on role "'+t+'".')}let D=new WeakMap;function $(x){return D.has(x)||D.set(x,Ch(x)),D.get(x)}return Array.from(e.querySelectorAll(wx(t))).filter(x=>{if(x.hasAttribute("role")){let B=x.getAttribute("role");if(i)return B.split(" ").filter(Boolean).some(K=>K===t);let[V]=B.split(" ");return V===t}return Xl(x).some(B=>B===t)}).filter(x=>{if(l!==void 0)return l===Wq(x);if(u!==void 0)return u===Kq(x);if(c!==void 0)return c===Yq(x);if(s!==void 0)return s===Jq(x);if(d!==void 0)return d===Xq(x);if(p!==void 0)return p===Qq(x);if(f!==void 0)return f===Zq(x);if(m!==void 0||b!==void 0||h!==void 0||g!==void 0){let V=!0;if(m!==void 0&&V&&(V=m===ex(x)),b!==void 0&&V&&(V=b===tx(x)),h!==void 0&&V&&(V=h===rx(x)),g!==void 0){var B;V&&(V=vt((B=nx(x))!=null?B:null,x,g,K=>K));}return V}return !0}).filter(x=>o===void 0?!0:vt(Gl(x,{computedStyleSupportsPseudoElements:ee().computedStyleSupportsPseudoElements}),x,o,B=>B)).filter(x=>a===void 0?!0:vt(sh(x,{computedStyleSupportsPseudoElements:ee().computedStyleSupportsPseudoElements}),x,a,B=>B)).filter(x=>n===!1?Do(x,{isSubtreeInaccessible:$})===!1:!0)};function wx(e){var t;let r='*[role~="'+e+'"]',n=(t=ze.roleElements.get(e))!=null?t:new Set,o=new Set(Array.from(n).map(a=>{let{name:i}=a;return i}));return [r].concat(Array.from(o)).join(",")}var pb=e=>{let t="";return e===void 0?t="":typeof e=="string"?t=' and name "'+e+'"':t=" and name `"+e+"`",t},Cx=function(e,t,r){let{name:n}=r===void 0?{}:r;return 'Found multiple elements with the role "'+t+'"'+pb(n)},Tx=function(e,t,r){let{hidden:n=ee().defaultHidden,name:o,description:a}=r===void 0?{}:r;if(ee()._disableExpensiveErrorDiagnostics)return 'Unable to find role="'+t+'"'+pb(o);let i="";Array.from(e.children).forEach(s=>{i+=Rh(s,{hidden:n,includeDescription:a!==void 0});});let l;i.length===0?n===!1?l="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":l="There are no available roles.":l=(`
209
- Here are the `+(n===!1?"accessible":"available")+` roles:
210
-
211
- `+i.replace(/\n/g,`
212
- `).replace(/\n\s\s\n/g,`
213
-
214
- `)+`
215
- `).trim();let u="";o===void 0?u="":typeof o=="string"?u=' and name "'+o+'"':u=" and name `"+o+"`";let c="";return a===void 0?c="":typeof a=="string"?c=' and description "'+a+'"':c=" and description `"+a+"`",(`
216
- Unable to find an `+(n===!1?"accessible ":"")+'element with the role "'+t+'"'+u+c+`
217
-
218
- `+l).trim()},fb=Le(xa,xa.name,"queryAll"),[mb,hb,bb,gb,yb]=Tt(xa,Cx,Tx),es=()=>ee().testIdAttribute,Ma=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return Ct(t[0]),tr(es(),...t)},Rx=(e,t)=>"Found multiple elements by: ["+es()+'="'+t+'"]',Sx=(e,t)=>"Unable to find an element by: ["+es()+'="'+t+'"]',vb=Le(Ma,Ma.name,"queryAll"),[_b,Eb,wb,Cb,Tb]=Tt(Ma,Rx,Sx),io=Object.freeze({__proto__:null,queryAllByLabelText:Ih,queryByLabelText:Ah,getAllByLabelText:Nh,getByLabelText:jh,findAllByLabelText:xh,findByLabelText:Mh,queryByPlaceholderText:Bh,queryAllByPlaceholderText:$h,getByPlaceholderText:Dh,getAllByPlaceholderText:Lh,findAllByPlaceholderText:kh,findByPlaceholderText:Fh,queryByText:Hh,queryAllByText:Uh,getByText:zh,getAllByText:Vh,findAllByText:Gh,findByText:Wh,queryByDisplayValue:Yh,queryAllByDisplayValue:Kh,getByDisplayValue:Xh,getAllByDisplayValue:Jh,findAllByDisplayValue:Qh,findByDisplayValue:Zh,queryByAltText:tb,queryAllByAltText:eb,getByAltText:nb,getAllByAltText:rb,findAllByAltText:ob,findByAltText:ib,queryByTitle:lb,queryAllByTitle:ab,getByTitle:ub,getAllByTitle:sb,findAllByTitle:cb,findByTitle:db,queryByRole:mb,queryAllByRole:fb,getAllByRole:hb,getByRole:bb,findAllByRole:gb,findByRole:yb,queryByTestId:_b,queryAllByTestId:vb,getByTestId:wb,getAllByTestId:Eb,findAllByTestId:Cb,findByTestId:Tb});function Na(e,t,r){return t===void 0&&(t=io),r===void 0&&(r={}),Object.keys(t).reduce((n,o)=>{let a=t[o];return n[o]=a.bind(null,e),n},r)}var Rb=e=>!e||Array.isArray(e)&&!e.length;function Ed(e){if(Rb(e))throw new Error("The element(s) given to waitForElementToBeRemoved are already removed. waitForElementToBeRemoved requires that the element(s) exist(s) before waiting for removal.")}async function Px(e,t){let r=new Error("Timed out in waitForElementToBeRemoved.");if(typeof e!="function"){Ed(e);let n=(Array.isArray(e)?e:[e]).map(o=>{let a=o.parentElement;if(a===null)return ()=>null;for(;a.parentElement;)a=a.parentElement;return ()=>a.contains(o)?o:null});e=()=>n.map(o=>o()).filter(Boolean);}return Ed(e()),Ql(()=>{let n;try{n=e();}catch(o){if(o.name==="TestingLibraryElementError")return;throw o}if(!Rb(n))throw r},t)}var wd={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}}},Cd={doubleClick:"dblClick"};function un(e,t){return ee().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 Hn(e,t,r,n){let{EventType:o="Event",defaultInit:a={}}=n===void 0?{}:n;if(!t)throw new Error('Unable to fire a "'+e+'" event - please provide a DOM element.');let i={...a,...r},{target:{value:l,files:u,...c}={}}=i;l!==void 0&&Ox(t,l),u!==void 0&&Object.defineProperty(t,"files",{configurable:!0,enumerable:!0,writable:!0,value:u}),Object.assign(t,c);let s=gh(t),d=s[o]||s.Event,f;if(typeof d=="function")f=new d(e,i);else {f=s.document.createEvent(o);let{bubbles:p,cancelable:m,detail:h,...b}=i;f.initEvent(e,p,m,h),Object.keys(b).forEach(g=>{f[g]=b[g];});}return ["dataTransfer","clipboardData"].forEach(p=>{let m=i[p];typeof m=="object"&&(typeof s.DataTransfer=="function"?Object.defineProperty(f,p,{value:Object.getOwnPropertyNames(m).reduce((h,b)=>(Object.defineProperty(h,b,{value:m[b]}),h),new s.DataTransfer)}):Object.defineProperty(f,p,{value:m}));}),f}Object.keys(wd).forEach(e=>{let{EventType:t,defaultInit:r}=wd[e],n=e.toLowerCase();Hn[e]=(o,a)=>Hn(n,o,a,{EventType:t,defaultInit:r}),un[e]=(o,a)=>un(o,Hn[e](o,a));});function Ox(e,t){let{set:r}=Object.getOwnPropertyDescriptor(e,"value")||{},n=Object.getPrototypeOf(e),{set:o}=Object.getOwnPropertyDescriptor(n,"value")||{};if(o&&r!==o)o.call(e,t);else if(r)r.call(e,t);else throw new Error("The given element does not have a value setter")}Object.keys(Cd).forEach(e=>{let t=Cd[e];un[e]=function(){return un[t](...arguments)};});function Ax(e){return e.replace(/[ \t]*[\n][ \t]*/g,`
219
- `)}function qx(e){return _q.default.compressToEncodedURIComponent(Ax(e))}function xx(e){return "https://testing-playground.com/#markup="+qx(e)}var Mx=(e,t,r)=>Array.isArray(e)?e.forEach(n=>Ta(n,t,r)):Ta(e,t,r),Nx=function(e){if(e===void 0&&(e=Yl().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=xx(e.innerHTML);return console.log(`Open this URL in your browser
220
-
221
- `+t),t},Td={debug:Mx,logTestingPlaygroundURL:Nx},jx=typeof document<"u"&&document.body?Na(document.body,io,Td):Object.keys(io).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),Td);function Q(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}var ja;(function(e){e.button="button",e.color="color",e.file="file",e.image="image",e.reset="reset",e.submit="submit",e.checkbox="checkbox",e.radio="radio";})(ja||(ja={}));function Sb(e){return Q(e,"button")||Q(e,"input")&&e.type in ja}function ut(e){var t;if(Ix(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 ${$x(e)}`)}function Ix(e){return e.nodeType===9}function $x(e){return typeof e=="function"?`function ${e.name}`:e===null?"null":String(e)}function Pb(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 ts(e,t){let r={...t,length:t.length,item:n=>r[n],[Symbol.iterator]:function*(){for(let n=0;n<r.length;n++)yield r[n];}};return r.constructor=e.FileList,e.FileList&&Object.setPrototypeOf(r,e.FileList.prototype),Object.freeze(r),r}function Nt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var Ob=class{getAsFile(){return this.file}getAsString(e){typeof this.data=="string"&&e(this.data);}webkitGetAsEntry(){throw new Error("not implemented")}constructor(e,t){Nt(this,"kind",void 0),Nt(this,"type",void 0),Nt(this,"file",null),Nt(this,"data",void 0),typeof e=="string"?(this.kind="string",this.type=String(t),this.data=e):(this.kind="file",this.type=e.type,this.file=e);}},Bx=class extends Array{add(...e){let t=new Ob(e[0],e[1]);return this.push(t),t}clear(){this.splice(0,this.length);}remove(e){this.splice(e,1);}};function Nn(e,t){let[r,n]=e.split("/"),o=!n||n==="*";return a=>t?a.type===(o?r:e):o?a.type.startsWith(`${r}/`):a.type===r}function Lx(e){return new class{getData(t){var r;let n=(r=this.items.find(Nn(t,!0)))!==null&&r!==void 0?r:this.items.find(Nn(t,!1)),o="";return n?.getAsString(a=>{o=a;}),o}setData(t,r){let n=this.items.findIndex(Nn(t,!0)),o=new Ob(r,t);n>=0?this.items.splice(n,1,o):this.items.push(o);}clearData(t){if(t){let r=this.items.findIndex(Nn(t,!0));r>=0&&this.items.remove(r);}else this.items.clear();}get types(){let t=[];return this.files.length&&t.push("Files"),this.items.forEach(r=>t.push(r.type)),Object.freeze(t),t}setDragImage(){}constructor(){Nt(this,"dropEffect","none"),Nt(this,"effectAllowed","uninitialized"),Nt(this,"items",new Bx),Nt(this,"files",ts(e,[]));}}}function rs(e,t=[]){let r=typeof e.DataTransfer>"u"?Lx(e):new e.DataTransfer;return Object.defineProperty(r,"files",{get:()=>ts(e,t)}),r}function Dx(e,t){if(t.kind==="file")return t.getAsFile();let r="";return t.getAsString(n=>{r=n;}),new e.Blob([r],{type:t.type})}function Ab(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function qb(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(n){let o=await this.data[n];if(!o)throw new Error(`${n} is not one of the available MIME types on this item.`);return o instanceof e.Blob?o:new e.Blob([o],{type:n})}constructor(n){Ab(this,"data",void 0),this.data=n;}}(r)}var Rr=Symbol("Manage ClipboardSub");function Rd(e,t){return Object.assign(new class extends e.EventTarget{async read(){return Array.from(this.items)}async readText(){let r="";for(let n of this.items){let o=n.types.includes("text/plain")?"text/plain":n.types.find(a=>a.startsWith("text/"));o&&(r+=await n.getType(o).then(a=>Pb(a,e.FileReader)));}return r}async write(r){this.items=r;}async writeText(r){this.items=[qb(e,r)];}constructor(...r){super(...r),Ab(this,"items",[]);}},{[Rr]:t})}function ns(e){return !!e?.[Rr]}function kx(e){if(ns(e.navigator.clipboard))return e.navigator.clipboard[Rr];let t=Object.getOwnPropertyDescriptor(e.navigator,"clipboard"),r,n={resetClipboardStub:()=>{r=Rd(e,n);},detachClipboardStub:()=>{t?Object.defineProperty(e.navigator,"clipboard",t):Object.defineProperty(e.navigator,"clipboard",{value:void 0,configurable:!0});}};return r=Rd(e,n),Object.defineProperty(e.navigator,"clipboard",{get:()=>r,configurable:!0}),r[Rr]}function Fx(e){ns(e.navigator.clipboard)&&e.navigator.clipboard[Rr].resetClipboardStub();}function Ux(e){ns(e.navigator.clipboard)&&e.navigator.clipboard[Rr].detachClipboardStub();}async function Hx(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=rs(t);for(let a of n)for(let i of a.types)o.setData(i,await a.getType(i).then(l=>Pb(l,t.FileReader)));return o}async function xb(e,t){let r=ut(e),n=r.navigator.clipboard,o=[];for(let a=0;a<t.items.length;a++){let i=t.items[a],l=Dx(r,i);o.push(qb(r,l));}if(!(n&&await n.write(o).then(()=>!0,()=>!1)))throw new Error("The Clipboard API is unavailable.")}var ao=globalThis;typeof ao.afterEach=="function"&&ao.afterEach(()=>Fx(globalThis.window));typeof ao.afterAll=="function"&&ao.afterAll(()=>Ux(globalThis.window));function Xt(e){return e.hasAttribute("contenteditable")&&(e.getAttribute("contenteditable")=="true"||e.getAttribute("contenteditable")=="")}function cn(e){let t=Vx(e);return t&&(t.closest('[contenteditable=""]')||t.closest('[contenteditable="true"]'))}function Vx(e){return e.nodeType===1?e:e.parentElement}function Sr(e){return Mb(e)&&!e.readOnly||Xt(e)}var Ia;(function(e){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";})(Ia||(Ia={}));function Mb(e){return Q(e,"textarea")||Q(e,"input")&&e.type in Ia}var $a;(function(e){e.email="email",e.password="password",e.search="search",e.telephone="telephone",e.text="text",e.url="url";})($a||($a={}));function zx(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 Gx(e){return Q(e,"textarea")||Q(e,"input")&&e.type in $a}var Nb=["input:not([type=hidden]):not([disabled])","button:not([disabled])","select:not([disabled])","textarea:not([disabled])",'[contenteditable=""]','[contenteditable="true"]',"a[href]","[tabindex]:not([disabled])"].join(", ");function os(e){return e.matches(Nb)}var lo;(function(e){e["{"]="}",e["["]="]";})(lo||(lo={}));function jb(e,t){let r=0,n=e[r]in lo?e[r]:"";r+=n.length;let o=new RegExp(`^\\${n}{2}`).test(e)?"":n;return {type:o,...o===""?Wx(e,r,t):Kx(e,r,o,t)}}function Wx(e,t,r){let n=e[t];return Ib(n,e,t,r),t+=n.length,{consumedLength:t,descriptor:n,releasePrevious:!1,releaseSelf:!0,repeat:1}}function Kx(e,t,r,n){var o,a;let i=e[t]==="/"?"/":"";t+=i.length;let l=r==="{"&&e[t]==="\\";t+=Number(l);let u=l?e[t]:(o=e.slice(t).match(r==="{"?/^\w+|^[^}>/]/:/^\w+/))===null||o===void 0?void 0:o[0];Ib(u,e,t,n),t+=u.length;var c;let s=(c=(a=e.slice(t).match(/^>\d+/))===null||a===void 0?void 0:a[0])!==null&&c!==void 0?c:"";t+=s.length;let d=e[t]==="/"||!s&&e[t]===">"?e[t]:"";t+=d.length;let f=lo[r],p=e[t]===f?f:"";if(!p)throw new Error($b([!s&&"repeat modifier",!d&&"release modifier",`"${f}"`].filter(Boolean).join(" or "),e[t],e,n));return t+=p.length,{consumedLength:t,descriptor:u,releasePrevious:!!i,repeat:s?Math.max(Number(s.substr(1)),1):1,releaseSelf:Yx(d,s)}}function Ib(e,t,r,n){if(!e)throw new Error($b("key descriptor",t[r],t,n))}function Yx(e,t){if(e)return e==="/";if(t)return !1}function $b(e,t,r,n){return `Expected ${e} but found "${t??""}" in "${r}"
222
- 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"}
223
- for more information about how userEvent parses your input.`}function Jx(e){return new e.constructor(e.type,e)}var $e;(function(e){e[e.Trigger=2]="Trigger",e[e.Call=1]="Call";})($e||($e={}));function Ur(e,t){e.levelRefs[t]={};}function jn(e,t){return e.levelRefs[t]}var br;(function(e){e[e.EachTrigger=4]="EachTrigger",e[e.EachApiCall=2]="EachApiCall",e[e.EachTarget=1]="EachTarget",e[e.Never=0]="Never";})(br||(br={}));function _t(e){for(let r=e;r;r=r.parentElement)if(Q(r,["button","input","select","textarea","optgroup","option"])){if(r.hasAttribute("disabled"))return !0}else if(Q(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 Uo(e){let t=e.activeElement;return t?.shadowRoot?Uo(t.shadowRoot):_t(t)?e.ownerDocument?e.ownerDocument.body:e.body:t}function Di(e){var t;return (t=Uo(e))!==null&&t!==void 0?t:e.body}function Xx(e,t){let r=e;do{if(t(r))return r;r=r.parentElement;}while(r&&r!==e.ownerDocument.body)}function ct(e){return Bb(e)&&Mb(e)}function Qx(e){return Bb(e)&&Sb(e)}function Bb(e){return e.nodeType===1}function Zx(e){let t=e.ownerDocument.getSelection();if(t?.focusNode&&ct(e)){let n=cn(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 Pr(e,t){return ee().eventWrapper(e)}function Bt(e){let t=Xx(e,os),r=Uo(e.ownerDocument);(t??e.ownerDocument.body)!==r&&(Pr(t?()=>t.focus():()=>r?.blur()),Zx(t??e.ownerDocument.body));}function eM(e){!os(e)||Uo(e.ownerDocument)!==e||Pr(()=>e.blur());}var Lt={};Lt.click=(e,t,r)=>{let n=t.closest("button,input,label,select,textarea"),o=n&&Q(n,"label")&&n.control;if(o)return ()=>{os(o)&&Bt(o),r.dispatchEvent(o,Jx(e));};if(Q(t,"input",{type:"file"}))return ()=>{eM(t),t.dispatchEvent(new(ut(t)).Event("fileDialog")),Bt(t);}};var Or=Symbol("Displayed value in UI"),yt=Symbol("Displayed selection in UI"),so=Symbol("Initial value to compare on blur");function tM(e){return typeof e=="object"&&Or in e}function rM(e){return !!e&&typeof e=="object"&&yt in e}function nM(e,t){e[so]===void 0&&(e[so]=e.value),e[Or]=t,e.value=Object.assign(new String(t),{[Or]:!0});}function dt(e){return e[Or]===void 0?e.value:String(e[Or])}function is(e){e[Or]=void 0;}function Lb(e){e[so]=void 0;}function oM(e){return e[so]}function iM(e,t){e[yt]=t;}function jr(e,{focusOffset:t,anchorOffset:r=t},n="replace"){let o=dt(e).length,a=d=>Math.max(0,Math.min(o,d)),i=n==="replace"||e[yt]===void 0?a(r):e[yt].anchorOffset,l=a(t),u=Math.min(i,l),c=Math.max(i,l);if(e[yt]={anchorOffset:i,focusOffset:l},e.selectionStart===u&&e.selectionEnd===c)return;let s=Object.assign(new Number(u),{[yt]:!0});try{e.setSelectionRange(s,c);}catch{}}function dn(e){var t,r,n;let o=(n=e[yt])!==null&&n!==void 0?n:{anchorOffset:(t=e.selectionStart)!==null&&t!==void 0?t:0,focusOffset:(r=e.selectionEnd)!==null&&r!==void 0?r:0};return {...o,startOffset:Math.min(o.anchorOffset,o.focusOffset),endOffset:Math.max(o.anchorOffset,o.focusOffset)}}function aM(e){return !!e[yt]}function Vn(e){e[yt]=void 0;}var uo=globalThis.parseInt;function lM(e){let t=e.replace(/\D/g,"");if(t.length<2)return e;let r=uo(t[0],10),n=uo(t[1],10);if(r>=3||r===2&&n>=4){let o;return r>=3?o=1:o=2,Sd(t,o)}return e.length===2?e:Sd(t,2)}function Sd(e,t){let r=e.slice(0,t),n=Math.min(uo(r,10),23),o=e.slice(t),a=uo(o,10),i=Math.min(a,59);return `${n.toString().padStart(2,"0")}:${i.toString().padStart(2,"0")}`}function Db(e,t){let r=e.cloneNode();return r.value=t,r.value===t}function kb(e,t,r,n){if(zn(e)&&t+r>=0&&t+r<=e.nodeValue.length)return {node:e,offset:t+r};let o=Pd(e,t,r);if(o){if(zn(o))return {node:o,offset:r>0?Math.min(1,o.nodeValue.length):Math.max(o.nodeValue.length-1,0)};if(Q(o,"br")){let a=Pd(o,void 0,r);return a?zn(a)?{node:a,offset:r>0?0:a.nodeValue.length}:r<0&&Q(a,"br")?{node:o.parentNode,offset:In(o)}:{node:a.parentNode,offset:In(a)+(r>0?0:1)}:r<0&&n==="deleteContentBackward"?{node:o.parentNode,offset:In(o)}:void 0}else return {node:o.parentNode,offset:In(o)+(r>0?1:0)}}}function Pd(e,t,r){let n=Number(t)+(r<0?-1:0);return t!==void 0&&as(e)&&n>=0&&n<e.children.length&&(e=e.children[n]),uM(e,r===1?"next":"previous",sM)}function sM(e){if(zn(e))return !0;if(as(e)){if(Q(e,["input","textarea"]))return e.type!=="hidden";if(Q(e,"br"))return !0}return !1}function In(e){let t=0;for(;e.previousSibling;)t++,e=e.previousSibling;return t}function as(e){return e.nodeType===1}function zn(e){return e.nodeType===3}function uM(e,t,r){for(;;){var n;let o=e[`${t}Sibling`];if(o){if(e=cM(o,t==="next"?"first":"last"),r(e))return e}else if(e.parentNode&&(!as(e.parentNode)||!Xt(e.parentNode)&&e.parentNode!==((n=e.ownerDocument)===null||n===void 0?void 0:n.body)))e=e.parentNode;else break}}function cM(e,t){for(;e.hasChildNodes();)e=e[`${t}Child`];return e}var pn=Symbol("Track programmatic changes for React workaround");function dM(e){return Object.getOwnPropertyNames(e).some(t=>t.startsWith("__react"))&&ut(e).REACT_VERSION===17}function pM(e){dM(e)&&(e[pn]={previousValue:String(e.value),tracked:[]});}function fM(e,t){var r,n;(n=e[pn])===null||n===void 0||(r=n.tracked)===null||r===void 0||r.push(t),e[pn]||(is(e),jr(e,{focusOffset:t.length}));}function mM(e,t){var r;let n=e[pn];if(e[pn]=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||is(e),aM(e)&&jr(e,{focusOffset:o?t:e.value.length});}function Fb(e){let t=hM(e);if(t&&ct(t))return {type:"input",selection:dn(t)};let r=t?.ownerDocument.getSelection();return {type:cn(e)&&r?.anchorNode&&cn(r.anchorNode)?"contenteditable":"default",selection:r}}function hM(e){return e.nodeType===1?e:e.parentElement}function bM(e){let t=Fb(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 Qt({focusNode:e,focusOffset:t,anchorNode:r=e,anchorOffset:n=t}){var o,a;if(Fb(e).type==="input")return jr(e,{anchorOffset:n,focusOffset:t});(a=r.ownerDocument)===null||a===void 0||(o=a.getSelection())===null||o===void 0||o.setBaseAndExtent(r,n,e,t);}function Ub(e){return Q(e,"input")&&["date","time"].includes(e.type)}function Ar(e,t,r,n="insertText"){let o=bM(t);o&&(!Ub(t)&&!e.dispatchUIEvent(t,"beforeinput",{inputType:n,data:r})||("startContainer"in o?gM(e,t,o,r,n):yM(e,t,o,r,n)));}function gM(e,t,r,n,o){let a=!1;if(!r.collapsed)a=!0,r.deleteContents();else if(["deleteContentBackward","deleteContentForward"].includes(o)){let i=kb(r.startContainer,r.startOffset,o==="deleteContentBackward"?-1:1,o);if(i){a=!0;let l=r.cloneRange();l.comparePoint(i.node,i.offset)<0?l.setStart(i.node,i.offset):l.setEnd(i.node,i.offset),l.deleteContents();}}if(n)if(r.endContainer.nodeType===3){let i=r.endOffset;r.endContainer.insertData(i,n),r.setStart(r.endContainer,i+n.length),r.setEnd(r.endContainer,i+n.length);}else {let i=t.ownerDocument.createTextNode(n);r.insertNode(i),r.setStart(i,n.length),r.setEnd(i,n.length);}(a||n)&&e.dispatchUIEvent(t,"input",{inputType:o});}function yM(e,t,r,n,o){let a=n;if(Gx(t)){let c=zx(t);if(c!==void 0&&n.length>0){let s=c-t.value.length;if(s>0)a=n.substring(0,s);else return}}let{newValue:i,newOffset:l,oldValue:u}=vM(a,t,r,o);i===u&&l===r.startOffset&&l===r.endOffset||Q(t,"input",{type:"number"})&&!_M(i)||(nM(t,i),Qt({focusNode:t,anchorOffset:l,focusOffset:l}),Ub(t)?Db(t,i)&&(Od(e,t,l,{}),e.dispatchUIEvent(t,"change"),Lb(t)):Od(e,t,l,{data:n,inputType:o}));}function vM(e,t,{startOffset:r,endOffset:n},o){let a=dt(t),i=Math.max(0,r===n&&o==="deleteContentBackward"?r-1:r),l=a.substring(0,i),u=Math.min(a.length,r===n&&o==="deleteContentForward"?r+1:n),c=a.substring(u,a.length),s=`${l}${e}${c}`,d=i+e.length;if(Q(t,"input",{type:"time"})){let f=lM(s);f!==""&&Db(t,f)&&(s=f,d=f.length);}return {oldValue:a,newValue:s,newOffset:d}}function Od(e,t,r,n){e.dispatchUIEvent(t,"input",n),mM(t,r);}function _M(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]))}Lt.cut=(e,t,r)=>()=>{Sr(t)&&Ar(r,t,"","deleteByCut");};function EM(e){return e?Xt(e)?e.textContent:dt(e):null}function wM(e){let t=ut(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 CM(e,t){let r=e.ownerDocument,n=r.querySelectorAll(Nb),o=Array.from(n).filter(u=>u===e||!(Number(u.getAttribute("tabindex"))<0||_t(u)));Number(e.getAttribute("tabindex"))>=0&&o.sort((u,c)=>{let s=Number(u.getAttribute("tabindex")),d=Number(c.getAttribute("tabindex"));return s===d?0:s===0?1:d===0?-1:s-d});let a={},i=[r.body],l=Q(e,"input",{type:"radio"})?e.name:void 0;o.forEach(u=>{let c=u;if(Q(c,"input",{type:"radio"})&&c.name){if(c===e){i.push(c);return}else if(c.name===l)return;if(c.checked){i=i.filter(s=>!Q(s,"input",{type:"radio",name:c.name})),i.push(c),a[c.name]=c;return}if(typeof a[c.name]<"u")return}i.push(c);});for(let u=i.findIndex(c=>c===e);;)if(u+=t?-1:1,u===i.length?u=0:u===-1&&(u=i.length-1),i[u]===e||i[u]===r.body||wM(i[u]))return i[u]}function Ad(e,t){if(ct(e)){let r=dn(e);Qt({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=kb(r.focusNode,r.focusOffset,t);n&&Qt({focusNode:n.node,focusOffset:n.offset});}else r[t<0?"collapseToStart":"collapseToEnd"]();}}function Hb(e){if(ct(e))return Qt({focusNode:e,anchorOffset:0,focusOffset:dt(e).length});var t;let r=(t=cn(e))!==null&&t!==void 0?t:e.ownerDocument.body;Qt({focusNode:r,anchorOffset:0,focusOffset:r.childNodes.length});}function TM(e){if(ct(e))return dn(e).startOffset===0&&dn(e).endOffset===dt(e).length;var t;let r=(t=cn(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 Hr(e,t,r){var n;if(ct(e))return Qt({focusNode:e,anchorOffset:t,focusOffset:r});if(Xt(e)&&((n=e.firstChild)===null||n===void 0?void 0:n.nodeType)===3)return Qt({focusNode:e.firstChild,anchorOffset:t,focusOffset:r});throw new Error("Not implemented. The result of this interaction is unreliable.")}function $n(e,t,r){let n=ut(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 a=o.findIndex(i=>i===t)+r;;a+=r){if(o[a]||(a=r>0?0:o.length-1),o[a]===t)return;_t(o[a])||(Bt(o[a]),e.dispatchUIEvent(o[a],"click"));}}Lt.keydown=(e,t,r)=>{var n,o;return (o=(n=qd[e.key])===null||n===void 0?void 0:n.call(qd,e,t,r))!==null&&o!==void 0?o:RM(e,t,r)};var qd={ArrowDown:(e,t,r)=>{if(Q(t,"input",{type:"radio"}))return ()=>$n(r,t,-1)},ArrowLeft:(e,t,r)=>Q(t,"input",{type:"radio"})?()=>$n(r,t,-1):()=>Ad(t,-1),ArrowRight:(e,t,r)=>Q(t,"input",{type:"radio"})?()=>$n(r,t,1):()=>Ad(t,1),ArrowUp:(e,t,r)=>{if(Q(t,"input",{type:"radio"}))return ()=>$n(r,t,1)},Backspace:(e,t,r)=>{if(Sr(t))return ()=>{Ar(r,t,"","deleteContentBackward");}},Delete:(e,t,r)=>{if(Sr(t))return ()=>{Ar(r,t,"","deleteContentForward");}},End:(e,t)=>{if(Q(t,["input","textarea"])||Xt(t))return ()=>{var r,n;let o=(n=(r=EM(t))===null||r===void 0?void 0:r.length)!==null&&n!==void 0?n:0;Hr(t,o,o);}},Home:(e,t)=>{if(Q(t,["input","textarea"])||Xt(t))return ()=>{Hr(t,0,0);}},PageDown:(e,t)=>{if(Q(t,["input"]))return ()=>{let r=dt(t).length;Hr(t,r,r);}},PageUp:(e,t)=>{if(Q(t,["input"]))return ()=>{Hr(t,0,0);}},Tab:(e,t,r)=>()=>{let n=CM(t,r.system.keyboard.modifiers.Shift);Bt(n),ct(n)&&jr(n,{anchorOffset:0,focusOffset:n.value.length});}},RM=(e,t,r)=>{if(e.code==="KeyA"&&r.system.keyboard.modifiers.Control)return ()=>Hb(t)};Lt.keypress=(e,t,r)=>{if(e.key==="Enter"){if(Q(t,"button")||Q(t,"input")&&SM.includes(t.type)||Q(t,"a")&&t.href)return ()=>{r.dispatchUIEvent(t,"click");};if(Q(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&&PM.includes(t.type)&&n.querySelectorAll("input").length===1?()=>r.dispatchUIEvent(n,"submit"):void 0}}if(Sr(t)){let n=e.key==="Enter"?Xt(t)&&!r.system.keyboard.modifiers.Shift?"insertParagraph":"insertLineBreak":"insertText",o=e.key==="Enter"?`
224
- `:e.key;return ()=>Ar(r,t,o,n)}};var SM=["button","color","file","image","reset","submit"],PM=["email","month","password","search","tel","text","url","week"];Lt.keyup=(e,t,r)=>{var n;return (n=xd[e.key])===null||n===void 0?void 0:n.call(xd,e,t,r)};var xd={" ":(e,t,r)=>{if(Sb(t))return ()=>r.dispatchUIEvent(t,"click")}};Lt.paste=(e,t,r)=>{if(Sr(t))return ()=>{var n;let o=(n=e.clipboardData)===null||n===void 0?void 0:n.getData("text");o&&Ar(r,t,o,"insertFromPaste");}};var Vb={auxclick:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},beforeinput:{EventType:"InputEvent",defaultInit:{bubbles:!0,cancelable:!0,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}},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 zb(e){return Vb[e].EventType}var OM=["MouseEvent","PointerEvent"];function AM(e){return OM.includes(zb(e))}function qM(e){return zb(e)==="KeyboardEvent"}var xM={ClipboardEvent:[NM],Event:[],InputEvent:[Bn,jM],MouseEvent:[Bn,ki,Md],PointerEvent:[Bn,ki,Md,$M],KeyboardEvent:[Bn,ki,IM]};function Gb(e,t,r){let n=ut(t),{EventType:o,defaultInit:a}=Vb[e],i=new(MM(n))[o](e,a);return xM[o].forEach(l=>l(i,r??{})),i}function MM(e){var t;let r=(t=e.Event)!==null&&t!==void 0?t:class{};var n;let o=(n=e.AnimationEvent)!==null&&n!==void 0?n:class extends r{};var a;let i=(a=e.ClipboardEvent)!==null&&a!==void 0?a:class extends r{};var l;let u=(l=e.PopStateEvent)!==null&&l!==void 0?l:class extends r{};var c;let s=(c=e.ProgressEvent)!==null&&c!==void 0?c:class extends r{};var d;let f=(d=e.TransitionEvent)!==null&&d!==void 0?d:class extends r{};var p;let m=(p=e.UIEvent)!==null&&p!==void 0?p:class extends r{};var h;let b=(h=e.CompositionEvent)!==null&&h!==void 0?h:class extends m{};var g;let y=(g=e.FocusEvent)!==null&&g!==void 0?g:class extends m{};var T;let C=(T=e.InputEvent)!==null&&T!==void 0?T:class extends m{};var E;let w=(E=e.KeyboardEvent)!==null&&E!==void 0?E:class extends m{};var _;let v=(_=e.MouseEvent)!==null&&_!==void 0?_:class extends m{};var O;let A=(O=e.DragEvent)!==null&&O!==void 0?O:class extends v{};var I;let D=(I=e.PointerEvent)!==null&&I!==void 0?I:class extends v{};var $;let x=($=e.TouchEvent)!==null&&$!==void 0?$:class extends m{};return {Event:r,AnimationEvent:o,ClipboardEvent:i,PopStateEvent:u,ProgressEvent:s,TransitionEvent:f,UIEvent:m,CompositionEvent:b,FocusEvent:y,InputEvent:C,KeyboardEvent:w,MouseEvent:v,DragEvent:A,PointerEvent:D,TouchEvent:x}}function rr(e,t){for(let[r,n]of Object.entries(t))Object.defineProperty(e,r,{get:()=>n??null});}function Re(e){return Number(e??0)}function NM(e,{clipboardData:t}){rr(e,{clipboardData:t});}function jM(e,{data:t,inputType:r,isComposing:n}){rr(e,{data:t,isComposing:!!n,inputType:String(r)});}function Bn(e,{view:t,detail:r}){rr(e,{view:t,detail:Re(r??0)});}function ki(e,{altKey:t,ctrlKey:r,metaKey:n,shiftKey:o,modifierAltGraph:a,modifierCapsLock:i,modifierFn:l,modifierFnLock:u,modifierNumLock:c,modifierScrollLock:s,modifierSymbol:d,modifierSymbolLock:f}){rr(e,{altKey:!!t,ctrlKey:!!r,metaKey:!!n,shiftKey:!!o,getModifierState(p){return !!{Alt:t,AltGraph:a,CapsLock:i,Control:r,Fn:l,FnLock:u,Meta:n,NumLock:c,ScrollLock:s,Shift:o,Symbol:d,SymbolLock:f}[p]}});}function IM(e,{key:t,code:r,location:n,repeat:o,isComposing:a,charCode:i}){rr(e,{key:String(t),code:String(r),location:Re(n),repeat:!!o,isComposing:!!a,charCode:i});}function Md(e,{x:t,y:r,screenX:n,screenY:o,clientX:a=t,clientY:i=r,button:l,buttons:u,relatedTarget:c}){rr(e,{screenX:Re(n),screenY:Re(o),clientX:Re(a),x:Re(a),clientY:Re(i),y:Re(i),button:Re(l),buttons:Re(u),relatedTarget:c});}function $M(e,{pointerId:t,width:r,height:n,pressure:o,tangentialPressure:a,tiltX:i,tiltY:l,twist:u,pointerType:c,isPrimary:s}){rr(e,{pointerId:Re(t),width:Re(r),height:Re(n),pressure:Re(o),tangentialPressure:Re(a),tiltX:Re(i),tiltY:Re(l),twist:Re(u),pointerType:String(c),isPrimary:!!s});}function BM(e,t,r,n=!1){(AM(t)||qM(t))&&(r={...r,...this.system.getUIEventModifiers()});let o=Gb(t,e,r);return Wb.call(this,e,o,n)}function Wb(e,t,r=!1){var n;let o=t.type,a=r?()=>{}:(n=Lt[o])===null||n===void 0?void 0:n.call(Lt,t,e,this);if(a){t.preventDefault();let i=!1;return Object.defineProperty(t,"defaultPrevented",{get:()=>i}),Object.defineProperty(t,"preventDefault",{value:()=>{i=t.cancelable;}}),Pr(()=>e.dispatchEvent(t)),i||a(),!i}return Pr(()=>e.dispatchEvent(t))}function LM(e,t,r){let n=Gb(t,e,r);Pr(()=>e.dispatchEvent(n));}var Fi=Symbol("Interceptor for programmatical calls");function mr(e,t,r){let n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),o=Object.getOwnPropertyDescriptor(e,t),a=n?.set?"set":"value";if(typeof n?.[a]!="function"||n[a][Fi])throw new Error(`Element ${e.tagName} does not implement "${String(t)}".`);function i(...l){let{applyNative:u=!1,realArgs:c,then:s}=r.call(this,...l),d=(!u&&o||n)[a];a==="set"?d.call(this,c):d.call(this,...c),s?.();}i[Fi]=Fi,Object.defineProperty(e,t,{...o??n,[a]:i});}function DM(e){mr(e,"value",function(t){let r=tM(t);return r&&pM(this),{applyNative:!!r,realArgs:kM(this,t),then:r?void 0:()=>fM(this,String(t))}});}function kM(e,t){return Q(e,"input",{type:"number"})&&String(t)!==""&&!Number.isNaN(Number(t))?String(Number(t)):String(t)}function FM(e){mr(e,"setSelectionRange",function(t,...r){let n=rM(t);return {applyNative:!!n,realArgs:[Number(t),...r],then:()=>n?void 0:Vn(e)}}),mr(e,"selectionStart",function(t){return {realArgs:t,then:()=>Vn(e)}}),mr(e,"selectionEnd",function(t){return {realArgs:t,then:()=>Vn(e)}}),mr(e,"select",function(){return {realArgs:[],then:()=>iM(e,{anchorOffset:0,focusOffset:dt(e).length})}});}function UM(e){mr(e,"setRangeText",function(...t){return {realArgs:t,then:()=>{is(e),Vn(e);}}});}var gr=Symbol("Node prepared with document state workarounds");function Kb(e){e[gr]||(e.addEventListener("focus",t=>{let r=t.target;Nd(r);},{capture:!0,passive:!0}),e.activeElement&&Nd(e.activeElement),e.addEventListener("blur",t=>{let r=t.target,n=oM(r);n!==void 0&&(r.value!==n&&LM(r,"change"),Lb(r));},{capture:!0,passive:!0}),e[gr]=gr);}function Nd(e){e[gr]||(Q(e,["input","textarea"])&&(DM(e),FM(e),UM(e)),e[gr]=gr);}function HM(e){return VM(e)?e:e.ownerDocument}function VM(e){return e.nodeType===9}function qr(e){let t=e.delay;if(typeof t=="number")return Promise.all([new Promise(r=>globalThis.setTimeout(()=>r(),t)),e.advanceTimers(t)])}function sr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var Ge;(function(e){e[e.STANDARD=0]="STANDARD",e[e.LEFT=1]="LEFT",e[e.RIGHT=2]="RIGHT",e[e.NUMPAD=3]="NUMPAD";})(Ge||(Ge={}));var zM=["Alt","AltGraph","Control","Fn","Meta","Shift","Symbol"];function jd(e){return zM.includes(e)}var GM=["CapsLock","FnLock","NumLock","ScrollLock","SymbolLock"];function Id(e){return GM.includes(e)}var WM=class{isKeyPressed(e){return !!this.pressed[String(e.code)]}getPressedKeys(){return Object.values(this.pressed).map(e=>e.keyDef)}async keydown(e,t){var r,n,o;let a=String(t.key),i=String(t.code),l=Di(e.config.document);this.setKeydownTarget(l);var u;(u=(r=this.pressed)[n=i])!==null&&u!==void 0||(r[n]={keyDef:t,unpreventedDefault:!1}),jd(a)&&(this.modifiers[a]=!0);let c=e.dispatchUIEvent(l,"keydown",{key:a,code:i});Id(a)&&!this.modifiers[a]&&(this.modifiers[a]=!0,this.modifierLockStart[a]=!0),(o=this.pressed[i]).unpreventedDefault||(o.unpreventedDefault=c),c&&this.hasKeyPress(a)&&e.dispatchUIEvent(Di(e.config.document),"keypress",{key:a,code:i,charCode:t.key==="Enter"?13:String(t.key).charCodeAt(0)});}async keyup(e,t){let r=String(t.key),n=String(t.code),o=this.pressed[n].unpreventedDefault;delete this.pressed[n],jd(r)&&!Object.values(this.pressed).find(a=>a.keyDef.key===r)&&(this.modifiers[r]=!1),e.dispatchUIEvent(Di(e.config.document),"keyup",{key:r,code:n},!o),Id(r)&&this.modifiers[r]&&(this.modifierLockStart[r]?this.modifierLockStart[r]=!1:this.modifiers[r]=!1);}setKeydownTarget(e){e!==this.lastKeydownTarget&&(this.carryChar=""),this.lastKeydownTarget=e;}hasKeyPress(e){return (e.length===1||e==="Enter")&&!this.modifiers.Control&&!this.modifiers.Alt}constructor(e){sr(this,"system",void 0),sr(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}),sr(this,"pressed",{}),sr(this,"carryChar",""),sr(this,"lastKeydownTarget",void 0),sr(this,"modifierLockStart",{}),this.system=e;}},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:"Space",key:" "},{code:"AltLeft",key:"Alt",location:Ge.LEFT},{code:"AltRight",key:"Alt",location:Ge.RIGHT},{code:"ShiftLeft",key:"Shift",location:Ge.LEFT},{code:"ShiftRight",key:"Shift",location:Ge.RIGHT},{code:"ControlLeft",key:"Control",location:Ge.LEFT},{code:"ControlRight",key:"Control",location:Ge.RIGHT},{code:"MetaLeft",key:"Meta",location:Ge.LEFT},{code:"MetaRight",key:"Meta",location:Ge.RIGHT},{code:"OSLeft",key:"OS",location:Ge.LEFT},{code:"OSRight",key:"OS",location:Ge.RIGHT},{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"}],YM=[{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 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 Yb=class{getButtons(){let e=0;for(let t of Object.keys(this.pressed))e|=2**Number(t);return e}down(e){let t=Ba(e.button);if(t in this.pressed){this.pressed[t].push(e);return}return this.pressed[t]=[e],t}up(e){let t=Ba(e.button);if(t in this.pressed&&(this.pressed[t]=this.pressed[t].filter(r=>r.name!==e.name),this.pressed[t].length===0))return delete this.pressed[t],t}constructor(){JM(this,"pressed",{});}},$d={primary:0,secondary:1,auxiliary:2,back:3,X1:3,forward:4,X2:4};function Ba(e=0){return e in $d?$d[e]:Number(e)}var Bd={1:2,2:1};function Ld(e){return e=Ba(e),e in Bd?Bd[e]:e}function XM(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var QM=class{get countPressed(){return this.pressedKeys.size}isPressed(e){return this.pressedKeys.has(e.name)}addPressed(e){return this.pressedKeys.add(e.name)}removePressed(e){return this.pressedKeys.delete(e.name)}constructor(){XM(this,"pressedKeys",new Set);}};function Yr(e,t){let r=[];for(let a=e;a;a=a.parentElement)r.push(a);let n=[];for(let a=t;a;a=a.parentElement)n.push(a);let 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 La({target:e,node:t,offset:r}){return ct(e)?{node:e,offset:r??dt(e).length}:t?{node:t,offset:r??(t.nodeType===3?t.nodeValue.length:t.childNodes.length)}:Jb(e,r)}function Jb(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 a=e.childNodes.item(n),i=String(a.textContent);if(i.length)if(t!==void 0&&i.length<t)t-=i.length;else {if(a.nodeType===1)return Jb(a,t,!1);if(a.nodeType===3)return {node:a,offset:t??a.nodeValue.length}}n+=o;}return {node:e,offset:e.childNodes.length}}function ZM({document:e,target:t,clickCount:r,node:n,offset:o}){if(Qx(t))return;let a=ct(t),i=String(a?dt(t):t.textContent),[l,u]=n?[o,o]:eN(i,o,r);if(a)return jr(t,{anchorOffset:l??i.length,focusOffset:u??i.length}),{node:t,start:l??0,end:u??i.length};{let{node:c,offset:s}=La({target:t,node:n,offset:l}),{node:d,offset:f}=La({target:t,node:n,offset:u}),p=t.ownerDocument.createRange();try{p.setStart(c,s),p.setEnd(d,f);}catch{throw new Error("The given offset is out of bounds.")}let m=e.getSelection();return m?.removeAllRanges(),m?.addRange(p.cloneRange()),p}}function eN(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 tN(e,{document:t,target:r,node:n,offset:o}){let a=La({target:r,node:n,offset:o});if("node"in e){if(a.node===e.node){let i=a.offset<e.start?e.end:e.start,l=a.offset>e.end||a.offset<e.start?a.offset:e.end;jr(e.node,{anchorOffset:i,focusOffset:l});}}else {let i=e.cloneRange(),l=i.comparePoint(a.node,a.offset);l<0?i.setStart(a.node,a.offset):l>0&&i.setEnd(a.node,a.offset);let u=t.getSelection();u?.removeAllRanges(),u?.addRange(i.cloneRange());}}function Xb(e,t){var r,n,o,a,i,l,u,c;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.y)||((o=e.coords)===null||o===void 0?void 0:o.y)!==((a=t.coords)===null||a===void 0?void 0:a.y)||((i=e.caret)===null||i===void 0?void 0:i.node)!==((l=t.caret)===null||l===void 0?void 0:l.node)||((u=e.caret)===null||u===void 0?void 0:u.offset)!==((c=t.caret)===null||c===void 0?void 0:c.offset)}function Ht(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var rN=class{move(e,t){let r=this.position,n=this.getTarget(e);if(this.position=t,!Xb(r,t))return;let o=this.getTarget(e),a=this.getEventInit("mousemove"),[i,l]=Yr(n,o);return {leave:()=>{n!==o&&(e.dispatchUIEvent(n,"mouseout",a),i.forEach(u=>e.dispatchUIEvent(u,"mouseleave",a)));},enter:()=>{n!==o&&(e.dispatchUIEvent(o,"mouseover",a),l.forEach(u=>e.dispatchUIEvent(u,"mouseenter",a)));},move:()=>{e.dispatchUIEvent(o,"mousemove",a),this.modifySelecting(e);}}}down(e,t,r){let n=this.buttons.down(t);if(n===void 0)return;let o=this.getTarget(e);this.buttonDownTarget[n]=o;let a=_t(o),i=this.getEventInit("mousedown",t.button);(a||e.dispatchUIEvent(o,"mousedown",i))&&(this.startSelecting(e,i.detail),Bt(o)),!a&&Ld(t.button)===2&&e.dispatchUIEvent(o,"contextmenu",this.getEventInit("contextmenu",t.button,r));}up(e,t,r){let n=this.buttons.up(t);if(n===void 0)return;let o=this.getTarget(e);if(!_t(o)){e.dispatchUIEvent(o,"mouseup",this.getEventInit("mouseup",t.button)),this.endSelecting();let a=Yr(this.buttonDownTarget[n],o)[2][0];if(a){let i=this.getEventInit("click",t.button,r);i.detail&&(e.dispatchUIEvent(a,i.button===0?"click":"auxclick",i),i.button===0&&i.detail===2&&e.dispatchUIEvent(a,"dblclick",{...this.getEventInit("dblclick",t.button),detail:i.detail}));}}}resetClickCount(){this.clickCount.reset();}getEventInit(e,t,r){let n={...this.position.coords};return r&&(n.pointerId=r.pointerId,n.pointerType=r.pointerType,n.isPrimary=r.isPrimary),n.button=Ld(t),n.buttons=this.buttons.getButtons(),e==="mousedown"?n.detail=this.clickCount.getOnDown(n.button):e==="mouseup"?n.detail=this.clickCount.getOnUp(n.button):(e==="click"||e==="auxclick")&&(n.detail=this.clickCount.incOnClick(n.button)),n}getTarget(e){var t;return (t=this.position.target)!==null&&t!==void 0?t:e.config.document.body}startSelecting(e,t){var r,n;this.selecting=ZM({document:e.config.document,target:this.getTarget(e),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,clickCount:t});}modifySelecting(e){var t,r;this.selecting&&tN(this.selecting,{document:e.config.document,target:this.getTarget(e),node:(t=this.position.caret)===null||t===void 0?void 0:t.node,offset:(r=this.position.caret)===null||r===void 0?void 0:r.offset});}endSelecting(){this.selecting=void 0;}constructor(){Ht(this,"position",{}),Ht(this,"buttons",new Yb),Ht(this,"selecting",void 0),Ht(this,"buttonDownTarget",{}),Ht(this,"clickCount",new class{incOnClick(e){let t=this.down[e]===void 0?void 0:Number(this.down[e])+1;return this.count=this.count[e]===void 0?{}:{[e]:Number(this.count[e])+1},t}getOnDown(e){var t;this.down={[e]:(t=this.count[e])!==null&&t!==void 0?t:0};var r;return this.count={[e]:(r=this.count[e])!==null&&r!==void 0?r:0},Number(this.count[e])+1}getOnUp(e){return this.down[e]===void 0?void 0:Number(this.down[e])+1}reset(){this.count={};}constructor(){Ht(this,"down",{}),Ht(this,"count",{});}});}};function co(e,t){var r;return ((r=Qb(e,t))===null||r===void 0?void 0:r.pointerEvents)!=="none"}function nN(e){let t=ut(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 Dd=Symbol("Last check for pointer-events");function Qb(e,t){let r=t[Dd];if(!(e.config.pointerEventsCheck!==br.Never&&(!r||kd(e.config.pointerEventsCheck,br.EachApiCall)&&r[$e.Call]!==jn(e,$e.Call)||kd(e.config.pointerEventsCheck,br.EachTrigger)&&r[$e.Trigger]!==jn(e,$e.Trigger))))return r?.result;let n=nN(t);return t[Dd]={[$e.Call]:jn(e,$e.Call),[$e.Trigger]:jn(e,$e.Trigger),result:n},n}function Vr(e,t){let r=Qb(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\`:`,"",oN(r.tree)].join(`
225
- `))}function oN(e){return e.reverse().map((t,r)=>["".padEnd(r),t.tagName,t.id&&`#${t.id}`,t.hasAttribute("data-testid")&&`(testId=${t.getAttribute("data-testid")})`,iN(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(`
226
- `)}function iN(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(Q(e,["button","input","meter","output","progress","select","textarea"])&&!((t=e.labels)===null||t===void 0)&&t.length)r=Array.from(e.labels).map(i=>{var l;return (l=i.textContent)===null||l===void 0?void 0:l.trim()}).join("|");else if(Q(e,"button")){var a;r=(a=e.textContent)===null||a===void 0?void 0:a.trim();}return r=r?.replace(/\n/g," "),Number(r?.length)>30&&(r=`${r?.substring(0,29)}\u2026`),r?`(label=${r})`:""}function kd(e,t){return (e&t)>0}function At(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var Fd=class{init(e,t){this.position=t;let r=this.getTarget(e),[,n]=Yr(null,r),o=this.getEventInit();return Vr(e,r),e.dispatchUIEvent(r,"pointerover",o),n.forEach(a=>e.dispatchUIEvent(a,"pointerenter",o)),this}move(e,t){let r=this.position,n=this.getTarget(e);if(this.position=t,!Xb(r,t))return;let o=this.getTarget(e),a=this.getEventInit(),[i,l]=Yr(n,o);return {leave:()=>{co(e,n)&&n!==o&&(e.dispatchUIEvent(n,"pointerout",a),i.forEach(u=>e.dispatchUIEvent(u,"pointerleave",a)));},enter:()=>{Vr(e,o),n!==o&&(e.dispatchUIEvent(o,"pointerover",a),l.forEach(u=>e.dispatchUIEvent(u,"pointerenter",a)));},move:()=>{e.dispatchUIEvent(o,"pointermove",a);}}}down(e,t){if(this.isDown)return;let r=this.getTarget(e);Vr(e,r),this.isDown=!0,this.isPrevented=!e.dispatchUIEvent(r,"pointerdown",this.getEventInit());}up(e,t){if(!this.isDown)return;let r=this.getTarget(e);Vr(e,r),this.isDown=!1,e.dispatchUIEvent(r,"pointerup",this.getEventInit());}release(e){let t=this.getTarget(e),[r]=Yr(t,null),n=this.getEventInit();co(e,t)&&(e.dispatchUIEvent(t,"pointerout",n),r.forEach(o=>e.dispatchUIEvent(o,"pointerleave",n))),this.isCancelled=!0;}getTarget(e){var t;return (t=this.position.target)!==null&&t!==void 0?t:e.config.document.body}getEventInit(){return {...this.position.coords,pointerId:this.pointerId,pointerType:this.pointerType,isPrimary:this.isPrimary}}constructor({pointerId:e,pointerType:t,isPrimary:r}){At(this,"pointerId",void 0),At(this,"pointerType",void 0),At(this,"isPrimary",void 0),At(this,"isMultitouch",!1),At(this,"isCancelled",!1),At(this,"isDown",!1),At(this,"isPrevented",!1),At(this,"position",{}),this.pointerId=e,this.pointerType=t,this.isPrimary=r,this.isMultitouch=!r;}};function qt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var aN=class{isKeyPressed(e){return this.devices.get(e.pointerType).isPressed(e)}async press(e,t,r){let n=this.getPointerName(t),o=t.pointerType==="touch"?this.pointers.new(n,t).init(e,r):this.pointers.get(n);o.position=r,o.pointerType!=="touch"&&(this.mouse.position=r),this.devices.get(t.pointerType).addPressed(t),this.buttons.down(t),o.down(e,t),o.pointerType!=="touch"&&!o.isPrevented&&this.mouse.down(e,t,o);}async move(e,t,r){let n=this.pointers.get(t),o=n.move(e,r),a=n.pointerType==="touch"||n.isPrevented&&n.isDown?void 0:this.mouse.move(e,r);o?.leave(),a?.leave(),o?.enter(),a?.enter(),o?.move(),a?.move();}async release(e,t,r){let n=this.devices.get(t.pointerType);n.removePressed(t),this.buttons.up(t);let o=this.pointers.get(this.getPointerName(t));if(o.position=r,o.pointerType!=="touch"&&(this.mouse.position=r),n.countPressed===0&&o.up(e,t),o.pointerType==="touch"&&o.release(e),!o.isPrevented){if(o.pointerType==="touch"&&!o.isMultitouch){let a=this.mouse.move(e,o.position);a?.leave(),a?.enter(),a?.move(),this.mouse.down(e,t,o);}if(!o.isMultitouch){let a=this.mouse.move(e,o.position);a?.leave(),a?.enter(),a?.move(),this.mouse.up(e,t,o);}}}getPointerName(e){return e.pointerType==="touch"?e.name:e.pointerType}getPreviousPosition(e){return this.pointers.has(e)?this.pointers.get(e).position:void 0}resetClickCount(){this.mouse.resetClickCount();}getMouseTarget(e){var t;return (t=this.mouse.position.target)!==null&&t!==void 0?t:e.config.document.body}setMousePosition(e){this.mouse.position=e,this.pointers.get("mouse").position=e;}constructor(e){qt(this,"system",void 0),qt(this,"mouse",void 0),qt(this,"buttons",void 0),qt(this,"devices",new class{get(t){var r,n,o;return (o=(r=this.registry)[n=t])!==null&&o!==void 0||(r[n]=new QM),this.registry[t]}constructor(){qt(this,"registry",{});}}),qt(this,"pointers",new class{new(t,r){let n=r.pointerType!=="touch"||!Object.values(this.registry).some(o=>o.pointerType==="touch"&&!o.isCancelled);return n||Object.values(this.registry).forEach(o=>{o.pointerType===r.pointerType&&!o.isCancelled&&(o.isMultitouch=!0);}),this.registry[t]=new Fd({pointerId:this.nextId++,pointerType:r.pointerType,isPrimary:n}),this.registry[t]}get(t){if(!this.has(t))throw new Error(`Trying to access pointer "${t}" which does not exist.`);return this.registry[t]}has(t){return t in this.registry}constructor(){qt(this,"registry",{mouse:new Fd({pointerId:1,pointerType:"mouse",isPrimary:!0})}),qt(this,"nextId",2);}}),this.system=e,this.buttons=new Yb,this.mouse=new rN;}};function Ud(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var Zb=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(){Ud(this,"keyboard",new WM(this)),Ud(this,"pointer",new aN(this));}};async function lN(e){let t=[];return this.config.skipHover||t.push({target:e}),t.push({keys:"[MouseLeft]",target:e}),this.pointer(t)}async function sN(e){return this.pointer([{target:e},"[MouseLeft][MouseLeft]"])}async function uN(e){return this.pointer([{target:e},"[MouseLeft][MouseLeft][MouseLeft]"])}async function cN(e){return this.pointer({target:e})}async function dN(e){return Vr(this,this.system.pointer.getMouseTarget(this)),this.pointer({target:e.ownerDocument.body})}async function pN({shift:e}={}){return this.keyboard(e===!0?"{Shift>}{Tab}{/Shift}":e===!1?"[/ShiftLeft][/ShiftRight]{Tab}":"{Tab}")}function fN(e,t){let r=[];do{let{type:o,descriptor:a,consumedLength:i,releasePrevious:l,releaseSelf:u=!0,repeat:c}=jb(t,"keyboard");var n;let s=(n=e.find(d=>{if(o==="["){var f;return ((f=d.code)===null||f===void 0?void 0:f.toLowerCase())===a.toLowerCase()}else if(o==="{"){var p;return ((p=d.key)===null||p===void 0?void 0:p.toLowerCase())===a.toLowerCase()}return d.key===a}))!==null&&n!==void 0?n:{key:"Unknown",code:"Unknown",[o==="["?"code":"key"]:a};r.push({keyDef:s,releasePrevious:l,releaseSelf:u,repeat:c}),t=t.slice(i);}while(t);return r}async function mN(e){let t=fN(this.config.keyboardMap,e);for(let r=0;r<t.length;r++)await qr(this.config),await hN(this,t[r]);}async function hN(e,{keyDef:t,releasePrevious:r,releaseSelf:n,repeat:o}){let{system:a}=e;if(a.keyboard.isKeyPressed(t)&&await a.keyboard.keyup(e,t),!r){for(let i=1;i<=o;i++)await a.keyboard.keydown(e,t),i<o&&await qr(e.config);n&&await a.keyboard.keyup(e,t);}}async function bN(e){for(let t of e.system.keyboard.getPressedKeys())await e.system.keyboard.keyup(e,t);}function eg(e){let t=ct(e)?{"text/plain":gN(e)}:{"text/plain":String(e.ownerDocument.getSelection())},r=rs(ut(e));for(let n in t)t[n]&&r.setData(n,t[n]);return r}function gN(e){let t=dn(e);return dt(e).substring(t.startOffset,t.endOffset)}async function yN(){let e=this.config.document;var t;let r=(t=e.activeElement)!==null&&t!==void 0?t:e.body,n=eg(r);if(n.items.length!==0)return this.dispatchUIEvent(r,"copy",{clipboardData:n})&&this.config.writeToClipboard&&await xb(e,n),n}async function vN(){let e=this.config.document;var t;let r=(t=e.activeElement)!==null&&t!==void 0?t:e.body,n=eg(r);if(n.items.length!==0)return this.dispatchUIEvent(r,"cut",{clipboardData:n})&&this.config.writeToClipboard&&await xb(r.ownerDocument,n),n}async function _N(e){let t=this.config.document;var r;let n=(r=t.activeElement)!==null&&r!==void 0?r:t.body;var o;let a=(o=typeof e=="string"?EN(t,e):e)!==null&&o!==void 0?o:await Hx(t).catch(()=>{throw new Error("`userEvent.paste()` without `clipboardData` requires the `ClipboardAPI` to be available.")});this.dispatchUIEvent(n,"paste",{clipboardData:a});}function EN(e,t){let r=rs(ut(e));return r.setData("text",t),r}function Hd(e,t){let r=[];do{let{descriptor:n,consumedLength:o,releasePrevious:a,releaseSelf:i=!0}=jb(t,"pointer"),l=e.find(u=>u.name===n);l&&r.push({keyDef:l,releasePrevious:a,releaseSelf:i}),t=t.slice(o);}while(t);return r}async function wN(e){let{pointerMap:t}=this.config,r=[];(Array.isArray(e)?e:[e]).forEach(n=>{typeof n=="string"?r.push(...Hd(t,n)):"keys"in n?r.push(...Hd(t,n.keys).map(o=>({...n,...o}))):r.push(n);});for(let n=0;n<r.length;n++)await qr(this.config),await CN(this,r[n]);this.system.pointer.resetClickCount();}async function CN(e,t){var r,n;let o="pointerName"in t&&t.pointerName?t.pointerName:"keyDef"in t?e.system.pointer.getPointerName(t.keyDef):"mouse",a=e.system.pointer.getPreviousPosition(o);var i,l,u,c;let s={target:(i=t.target)!==null&&i!==void 0?i:TN(e,a),coords:(l=t.coords)!==null&&l!==void 0?l:a?.coords,caret:{node:(u=t.node)!==null&&u!==void 0?u:Vd(t)||a==null||(r=a.caret)===null||r===void 0?void 0:r.node,offset:(c=t.offset)!==null&&c!==void 0?c:Vd(t)||a==null||(n=a.caret)===null||n===void 0?void 0:n.offset}};"keyDef"in t?(e.system.pointer.isKeyPressed(t.keyDef)&&(Ur(e,$e.Trigger),await e.system.pointer.release(e,t.keyDef,s)),t.releasePrevious||(Ur(e,$e.Trigger),await e.system.pointer.press(e,t.keyDef,s),t.releaseSelf&&(Ur(e,$e.Trigger),await e.system.pointer.release(e,t.keyDef,s)))):(Ur(e,$e.Trigger),await e.system.pointer.move(e,o,s));}function Vd(e){var t,r;return !!((r=(t=e.target)!==null&&t!==void 0?t:e.node)!==null&&r!==void 0?r:e.offset!==void 0)}function TN(e,t){if(!t)throw new Error("This pointer has no previous position. Provide a target property!");var r;return (r=t.target)!==null&&r!==void 0?r:e.config.document.body}async function RN(e){if(!Sr(e)||_t(e))throw new Error("clear()` is only supported on editable elements.");if(Bt(e),e.ownerDocument.activeElement!==e)throw new Error("The element to be cleared could not be focused.");if(Hb(e),!TM(e))throw new Error("The element content to be cleared could not be selected.");Ar(this,e,"","deleteContentBackward");}async function SN(e,t){return tg.call(this,!0,e,t)}async function PN(e,t){return tg.call(this,!1,e,t)}async function tg(e,t,r){if(!e&&!t.multiple)throw ee().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"]')),a=n.map(l=>{if(typeof l!="string"&&o.includes(l))return l;{let u=o.find(c=>c.value===l||c.innerHTML===l);if(u)return u;throw ee().getElementError(`Value "${String(l)}" not found in options`,t)}}).filter(l=>!_t(l));if(_t(t)||!a.length)return;let i=l=>{l.selected=e,this.dispatchUIEvent(t,"input",{bubbles:!0,cancelable:!1,composed:!0}),this.dispatchUIEvent(t,"change");};if(Q(t,"select"))if(t.multiple)for(let l of a){let u=this.config.pointerEventsCheck===0?!0:co(this,l);u&&(this.dispatchUIEvent(l,"pointerover"),this.dispatchUIEvent(t,"pointerenter"),this.dispatchUIEvent(l,"mouseover"),this.dispatchUIEvent(t,"mouseenter"),this.dispatchUIEvent(l,"pointermove"),this.dispatchUIEvent(l,"mousemove"),this.dispatchUIEvent(l,"pointerdown"),this.dispatchUIEvent(l,"mousedown")),Bt(t),u&&(this.dispatchUIEvent(l,"pointerup"),this.dispatchUIEvent(l,"mouseup")),i(l),u&&this.dispatchUIEvent(l,"click"),await qr(this.config);}else if(a.length===1){let l=this.config.pointerEventsCheck===0?!0:co(this,t);l?await this.click(t):Bt(t),i(a[0]),l&&(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 qr(this.config);}else throw ee().getElementError("Cannot select multiple options on a non-multiple select",t);else if(t.getAttribute("role")==="listbox")for(let l of a)await this.click(l),await this.unhover(l);else throw ee().getElementError("Cannot select options on elements that are neither select nor listbox elements",t)}async function ON(e,t,{skipClick:r=this.config.skipClick,skipAutoClose:n=this.config.skipAutoClose,initialSelectionStart:o,initialSelectionEnd:a}={}){e.disabled||(r||await this.click(e),o!==void 0&&Hr(e,o,a??o),await this.keyboard(t),n||await bN(this));}var zd=Symbol("files and value properties are mocked");function Ui(e,t,r){r?Object.defineProperty(e,t,r):delete e[t];}function AN(e,t){var r;(r=e[zd])===null||r===void 0||r.restore();let n=Object.getOwnPropertyDescriptor(e,"type"),o=Object.getOwnPropertyDescriptor(e,"value"),a=Object.getOwnPropertyDescriptor(e,"files");function i(){Ui(e,"type",n),Ui(e,"value",o),Ui(e,"files",a);}e[zd]={restore:i},Object.defineProperties(e,{files:{configurable:!0,get:()=>t},value:{configurable:!0,get:()=>t.length?`C:\\fakepath\\${t[0].name}`:"",set(l){if(l==="")i();else {var u;o==null||(u=o.set)===null||u===void 0||u.call(e,l);}}},type:{configurable:!0,get:()=>"file",set(l){l!=="file"&&(i(),e.type=l);}}});}async function qN(e,t){let r=Q(e,"label")?e.control:e;if(!r||!Q(r,"input",{type:"file"}))throw new TypeError(`The ${r===e?"given":"associated"} ${r?.tagName} element does not accept file uploads`);if(_t(e))return;let n=(Array.isArray(t)?t:[t]).filter(a=>!this.config.applyAccept||xN(a,r.accept)).slice(0,r.multiple?void 0:1),o=()=>{var a;n.length===((a=r.files)===null||a===void 0?void 0:a.length)&&n.every((i,l)=>{var u;return i===((u=r.files)===null||u===void 0?void 0:u.item(l))})||(AN(r,ts(ut(e),n)),this.dispatchUIEvent(r,"input"),this.dispatchUIEvent(r,"change"));};r.addEventListener("fileDialog",o),await this.click(e),r.removeEventListener("fileDialog",o);}function xN(e,t){if(!t)return !0;let r=["audio/*","image/*","video/*"];return t.split(",").some(n=>n.startsWith(".")?e.name.endsWith(n):r.includes(n)?e.type.startsWith(n.substr(0,n.length-1)):e.type===n)}var Gd={click:lN,dblClick:sN,tripleClick:uN,hover:cN,unhover:dN,tab:pN,keyboard:mN,copy:yN,cut:vN,paste:_N,pointer:wN,clear:RN,deselectOptions:PN,selectOptions:SN,type:ON,upload:qN};function MN(e){return ee().asyncWrapper(e)}var rg={applyAccept:!0,autoModify:!0,delay:0,document:globalThis.document,keyboardMap:KM,pointerMap:YM,pointerEventsCheck:br.EachApiCall,skipAutoClose:!1,skipClick:!1,skipHover:!1,writeToClipboard:!1,advanceTimers:()=>Promise.resolve()},NN={...rg,writeToClipboard:!0};function ng(e={},t=NN,r){let n=BN(e,r,t);return {...t,...e,document:n}}function jN(e={}){let t=ng(e);Kb(t.document);var r;let n=(r=t.document.defaultView)!==null&&r!==void 0?r:globalThis.window;return kx(n),ls(t).api}function je({keyboardState:e,pointerState:t,...r}={},n){let o=ng(r,rg,n);Kb(o.document);var a;let i=(a=t??e)!==null&&a!==void 0?a:new Zb;return {api:ls(o,i).api,system:i}}function IN(e){return ls({...this.config,...e},this.system).api}function $N(e,t){function r(...n){return Ur(e,$e.Call),MN(()=>t.apply(e,n).then(async o=>(await qr(e.config),o)))}return Object.defineProperty(r,"name",{get:()=>t.name}),r}function ls(e,t=new Zb){let r={};return Object.assign(r,{config:e,dispatchEvent:Wb.bind(r),dispatchUIEvent:BM.bind(r),system:t,levelRefs:{},...Gd}),{instance:r,api:{...Object.fromEntries(Object.entries(Gd).map(([n,o])=>[n,$N(r,o)])),setup:IN.bind(r)}}}function BN(e,t,r){var n,o;return (o=(n=e.document)!==null&&n!==void 0?n:t&&HM(t))!==null&&o!==void 0?o:r.document}var og={};mo(og,{clear:()=>LN,click:()=>DN,copy:()=>kN,cut:()=>FN,dblClick:()=>UN,deselectOptions:()=>HN,hover:()=>VN,keyboard:()=>zN,paste:()=>WN,pointer:()=>GN,selectOptions:()=>KN,tab:()=>ZN,tripleClick:()=>YN,type:()=>JN,unhover:()=>XN,upload:()=>QN});function LN(e){return je().api.clear(e)}function DN(e,t={}){return je(t,e).api.click(e)}function kN(e={}){return je(e).api.copy()}function FN(e={}){return je(e).api.cut()}function UN(e,t={}){return je(t).api.dblClick(e)}function HN(e,t,r={}){return je(r).api.deselectOptions(e,t)}function VN(e,t={}){return je(t).api.hover(e)}async function zN(e,t={}){let{api:r,system:n}=je(t);return r.keyboard(e).then(()=>n)}async function GN(e,t={}){let{api:r,system:n}=je(t);return r.pointer(e).then(()=>n)}function WN(e,t){return je(t).api.paste(e)}function KN(e,t,r={}){return je(r).api.selectOptions(e,t)}function YN(e,t={}){return je(t).api.tripleClick(e)}function JN(e,t,r={}){return je(r,e).api.type(e,t,r)}function XN(e,t={}){let{api:r,system:n}=je(t);return n.pointer.setMousePosition({target:e}),r.unhover(e)}function QN(e,t,r={}){return je(r).api.upload(e,t)}function ZN(e={}){return je().api.tab(e)}var ej={...og,setup:jN},tj=nt("storybook/internal/client-logger"),ig=wi();function rj(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];var n=Array.from(typeof e=="string"?[e]:e);n[n.length-1]=n[n.length-1].replace(/\r?\n([\t ]*)$/,"");var o=n.reduce(function(l,u){var c=u.match(/\n([\t ]+|(?!\s).)/g);return c?l.concat(c.map(function(s){var d,f;return (f=(d=s.match(/[\t ]/g))===null||d===void 0?void 0:d.length)!==null&&f!==void 0?f:0})):l},[]);if(o.length){var a=new RegExp(`
227
- [ ]{`+Math.min.apply(Math,o)+"}","g");n=n.map(function(l){return l.replace(a,`
228
- `)});}n[0]=n[0].replace(/^\r?\n/,"");var i=n[0];return t.forEach(function(l,u){var c=i.match(/(?:^|\n)( *)$/),s=c?c[1]:"",d=l;typeof l=="string"&&l.includes(`
229
- `)&&(d=String(l).split(`
230
- `).map(function(f,p){return p===0?f:""+s+f}).join(`
231
- `)),i+=d+n[u+1];}),i}var nj=rj,Da=(0, ig.instrument)({...eh},{intercept:(e,t)=>t[0]==="fireEvent"||e.startsWith("find")||e.startsWith("waitFor")});Da.screen=new Proxy(Da.screen,{get(e,t,r){return tj.once.warn(nj`
232
- You are using Testing Library's \`screen\` object. Use \`within(canvasElement)\` instead.
233
- More info: https://storybook.js.org/docs/essentials/interactions
234
- `),Reflect.get(e,t,r)}});var{buildQueries:oj,configure:ij,createEvent:aj,fireEvent:lj,findAllByAltText:sj,findAllByDisplayValue:uj,findAllByLabelText:cj,findAllByPlaceholderText:dj,findAllByRole:pj,findAllByTestId:fj,findAllByText:mj,findAllByTitle:hj,findByAltText:bj,findByDisplayValue:gj,findByLabelText:yj,findByPlaceholderText:vj,findByRole:_j,findByTestId:Ej,findByText:wj,findByTitle:Cj,getAllByAltText:Tj,getAllByDisplayValue:Rj,getAllByLabelText:Sj,getAllByPlaceholderText:Pj,getAllByRole:Oj,getAllByTestId:Aj,getAllByText:qj,getAllByTitle:xj,getByAltText:Mj,getByDisplayValue:Nj,getByLabelText:jj,getByPlaceholderText:Ij,getByRole:$j,getByTestId:Bj,getByText:Lj,getByTitle:Dj,getConfig:kj,getDefaultNormalizer:Fj,getElementError:Uj,getNodeText:Hj,getQueriesForElement:Vj,getRoles:zj,getSuggestedQuery:Gj,isInaccessible:Wj,logDOM:Kj,logRoles:Yj,prettyDOM:Jj,queries:Xj,queryAllByAltText:Qj,queryAllByAttribute:Zj,queryAllByDisplayValue:eI,queryAllByLabelText:tI,queryAllByPlaceholderText:rI,queryAllByRole:nI,queryAllByTestId:oI,queryAllByText:iI,queryAllByTitle:aI,queryByAltText:lI,queryByAttribute:sI,queryByDisplayValue:uI,queryByLabelText:cI,queryByPlaceholderText:dI,queryByRole:pI,queryByTestId:fI,queryByText:mI,queryByTitle:hI,queryHelpers:bI,screen:gI,waitFor:yI,waitForElementToBeRemoved:vI,within:ag,prettyFormat:_I}=Da,{userEvent:EI}=(0, ig.instrument)({userEvent:ej},{intercept:!0}),{expect:wI}=(0, IC.instrument)({expect:Wm},{getKeys:(e,t)=>{let r=["assert","__methods","__flags","_obj"];if(e.constructor===P){let n=Object.keys(Object.getPrototypeOf(e)).filter(o=>!r.includes(o));return t>2?n:[...n,"not"]}return Object.keys(e)},intercept:e=>e!=="expect"}),CI=({parameters:e})=>{e?.test?.mockReset===!0?Qm():e?.test?.clearMocks===!0?Xm():e?.test?.restoreMocks!==!1&&Zm();},po=(e,t=0,r)=>{if(t>5||e==null)return e;if(kl(e))return r&&e.mockName(r),e;if(typeof e=="function"&&"isAction"in e&&e.isAction&&!("implicit"in e&&e.implicit)){let n=Ym(e);return r&&n.mockName(r),n}if(Array.isArray(e))return t++,e.map(n=>po(n,t));if(typeof e=="object"&&e.constructor===Object){t++;for(let[n,o]of Object.entries(e))Object.getOwnPropertyDescriptor(e,n)?.writable&&(e[n]=po(o,t,n));return e}return e},TI=({initialArgs:e})=>{po(e);},RI=e=>{globalThis.HTMLElement&&e.canvasElement instanceof globalThis.HTMLElement&&(e.canvas=ag(e.canvasElement));};pp.global.__STORYBOOK_TEST_LOADERS__=[CI,TI,RI];pp.global.__STORYBOOK_TEST_ON_MOCK_CALL__=Km;});var pg=Qg(lg());var sg,ug;globalThis.__vitest_browser__&&(import('@vitest/browser/context').then(e=>{sg=e;}),import('vitest/suite').then(e=>{ug=e;}));var Ho=new Proxy({},{get(e,t){return sg?.commands?.[t]??(()=>{throw new Error(`Command '${String(t)}' not found`)})()}}),Vo=()=>ug?.getCurrentTest();function dg(e,t){let r=Vo();if(!r)return Promise.resolve(client.success);let n=client.parseImageSnapshotSubject(e),o=client.toTaskId(r);return OI(o,n,t).then(()=>client.success)}async function OI(e,t,r){if(r?.customizeSnapshotId){let n=await Ho.imageSnapshotNextIndex(e),{customizeSnapshotId:o,...a}=r,i=o(e,n);return Ho.matchImageSnapshot(e,t,{...a,snapshotFileId:i})}return Ho.matchImageSnapshot(e,t,r)}pg.expect.extend({toMatchImageSnapshot:dg});var fg={beforeEach(e){let t=e.tags,r=t?t.lastIndexOf("!snapshot")<t.lastIndexOf("snapshot"):!1,n=Vo();vitestPluginVis.setAutoSnapshotOptions(n,{enable:r,...e.parameters?.snapshot});}};var mg=fg;var nB={previewAnnotations(e=[]){return [...e,mg]}};module.exports=nB;//# sourceMappingURL=preset.cjs.map
1
+ 'use strict';var e={};module.exports=e;//# sourceMappingURL=preset.cjs.map
235
2
  //# sourceMappingURL=preset.cjs.map