twd-js 1.6.6 → 1.7.1

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/index.cjs.js CHANGED
@@ -1,5 +1,6 @@
1
- Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var Pl=Object.create,lr=Object.defineProperty,ql=Object.getOwnPropertyDescriptor,Rl=Object.getOwnPropertyNames,Tl=Object.getPrototypeOf,Sl=Object.prototype.hasOwnProperty,P=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),xl=(e,t)=>{let r={};for(var n in e)lr(r,n,{get:e[n],enumerable:!0});return t||lr(r,Symbol.toStringTag,{value:"Module"}),r},Ol=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(var a=Rl(t),o=0,i=a.length,s;o<i;o++)s=a[o],!Sl.call(e,s)&&s!==r&&lr(e,s,{get:(u=>t[u]).bind(null,s),enumerable:!(n=ql(t,s))||n.enumerable});return e},An=(e,t,r)=>(r=e!=null?Pl(Tl(e)):{},Ol(t||!e||!e.__esModule?lr(r,"default",{value:e,enumerable:!0}):r,e));const Mt=require("./runner-Dr_mUWED.cjs"),en=require("./componentMocks-CwMyWCu5.cjs");let oe=require("react"),j=require("react/jsx-runtime");var Ml=(e,t,r=2e3,n=50)=>new Promise((a,o)=>{const i=Date.now(),s=()=>{const u=t();if(u)return a(u);if(Date.now()-i>r)return o(new Error(`Timeout waiting for element ${e}`));setTimeout(s,n)};s()}),Al=(e,t,r=2e3,n=50)=>new Promise((a,o)=>{const i=Date.now(),s=()=>{const u=t();if(u&&u.length>0)return a(Array.from(u));if(Date.now()-i>r)return o(new Error(`Timeout waiting for elements ${e}`));setTimeout(s,n)};s()}),ur=e=>new Promise(t=>setTimeout(t,e)),tn=(e,t,r,n)=>{if(!e&&!t)throw new Error(n);if(e&&t)throw new Error(n.replace("to be","to not be").replace("to have","to not have").replace("to contain","to not contain"));return r};function Il(e){if(!e.isConnected)return!1;let t=e;for(;t;){const r=getComputedStyle(t);if(r.display==="none"||r.visibility==="hidden"||r.visibility==="collapse")return!1;t=t.parentElement}return!0}var Nl={"have.text":{positive:{pass:e=>`Assertion passed: Text is exactly "${e[0]}"`,fail:(e,t)=>`Assertion failed: Expected text to be "${e[0]}", but got "${t}"`},negative:{pass:e=>`Assertion passed: Text is not exactly "${e[0]}"`,fail:(e,t)=>`Assertion failed: Expected text to not be "${e[0]}", but got "${t}"`}},"contain.text":{positive:{pass:e=>`Assertion passed: Text contains "${e[0]}"`,fail:(e,t)=>`Assertion failed: Expected text to contain "${e[0]}", but got "${t}"`},negative:{pass:e=>`Assertion passed: Text does not contain "${e[0]}"`,fail:(e,t)=>`Assertion failed: Expected text to not contain "${e[0]}", but got "${t}"`}},"be.empty":{positive:{pass:()=>"Assertion passed: Text is empty",fail:(e,t)=>`Assertion failed: Expected text to be empty, but got "${t}"`},negative:{pass:()=>"Assertion passed: Text is not empty",fail:(e,t)=>`Assertion failed: Expected text to not be empty, but got "${t}"`}},"have.attr":{positive:{pass:e=>`Assertion passed: Attribute "${e[0]}" is "${e[1]}"`,fail:(e,t)=>`Assertion failed: Expected attribute "${e[0]}" to be "${e[1]}", but got "${t}"`},negative:{pass:e=>`Assertion passed: Attribute "${e[0]}" is not "${e[1]}"`,fail:(e,t)=>`Assertion failed: Expected attribute "${e[0]}" to not be "${e[1]}", but got "${t}"`}},"have.value":{positive:{pass:e=>`Assertion passed: Value is "${e[0]}"`,fail:(e,t)=>`Assertion failed: Expected value to be "${e[0]}", but got "${t}"`},negative:{pass:e=>`Assertion passed: Value is not "${e[0]}"`,fail:(e,t)=>`Assertion failed: Expected value to not be "${e[0]}", but got "${t}"`}},"be.disabled":{positive:{pass:()=>"Assertion passed: Element is disabled",fail:()=>"Assertion failed: Expected element to be disabled"},negative:{pass:()=>"Assertion passed: Element is not disabled",fail:()=>"Assertion failed: Expected element to not be disabled"}},"be.enabled":{positive:{pass:()=>"Assertion passed: Element is enabled",fail:()=>"Assertion failed: Expected element to be enabled"},negative:{pass:()=>"Assertion passed: Element is not enabled",fail:()=>"Assertion failed: Expected element to not be enabled"}},"be.checked":{positive:{pass:()=>"Assertion passed: Element is checked",fail:()=>"Assertion failed: Expected element to be checked"},negative:{pass:()=>"Assertion passed: Element is not checked",fail:()=>"Assertion failed: Expected element to not be checked"}},"be.selected":{positive:{pass:()=>"Assertion passed: Element is selected",fail:()=>"Assertion failed: Expected element to be selected"},negative:{pass:()=>"Assertion passed: Element is not selected",fail:()=>"Assertion failed: Expected element to not be selected"}},"be.focused":{positive:{pass:()=>"Assertion passed: Element is focused",fail:()=>"Assertion failed: Expected element to be focused"},negative:{pass:()=>"Assertion passed: Element is not focused",fail:()=>"Assertion failed: Expected element to not be focused"}},"be.visible":{positive:{pass:()=>"Assertion passed: Element is visible",fail:()=>"Assertion failed: Expected element to be visible"},negative:{pass:()=>"Assertion passed: Element is not visible",fail:()=>"Assertion failed: Expected element to not be visible"}},"have.class":{positive:{pass:e=>`Assertion passed: Element has class "${e[0]}"`,fail:e=>`Assertion failed: Expected element to have class "${e[0]}"`},negative:{pass:e=>`Assertion passed: Element does not have class "${e[0]}"`,fail:e=>`Assertion failed: Expected element to not have class "${e[0]}"`}}},zr=(e,t,...r)=>{const n=t.startsWith("not."),a=n?t.slice(4):t,o=(e.textContent||"").trim(),i=Nl[a];if(!i)throw new Error(`Unknown assertion: ${a}`);const s=n?"negative":"positive";let u,l;switch(a){case"have.text":u=o===r[0],l=o;break;case"contain.text":u=o.includes(r[0]),l=o;break;case"be.empty":u=o.length===0,l=o;break;case"have.attr":l=e.getAttribute(r[0]),u=l===r[1];break;case"have.value":l=e.value,u=l===r[0];break;case"be.disabled":u=e.disabled===!0;break;case"be.enabled":u=e.disabled===!1;break;case"be.checked":u=e.checked===!0;break;case"be.selected":u=e.selected===!0;break;case"be.focused":u=document.activeElement===e;break;case"be.visible":u=Il(e);break;case"have.class":u=e.classList.contains(r[0]);break;default:throw new Error(`Unknown assertion: ${a}`)}return tn(u,n,i[s].pass(r),i[s].fail(r,l))},re=e=>{const t=Mt.handlers.size?Array.from(Mt.handlers.values()).find(r=>r.status==="running"):null;t&&t.logs?.push(e)},Rr="1.6.6",kl=()=>typeof window<"u"?(window.__TWD_MOCK_STATE__||(window.__TWD_MOCK_STATE__={rules:[],counts:{}}),window.__TWD_MOCK_STATE__):{rules:[],counts:{}},tt=kl(),Ce=tt.rules,jl=100,Na=!1,Dl=async e=>{if(Na){console.warn("[TWD] Request mocking already initialized");return}if("serviceWorker"in navigator){Na=!0;const t=e??"/mock-sw.js";await navigator.serviceWorker.register(`${t}?v=${Rr}`),navigator.serviceWorker.controller||await new Promise(r=>{navigator.serviceWorker.addEventListener("controllerchange",r,{once:!0})}),navigator.serviceWorker.addEventListener("message",r=>{if(r.data?.type==="EXECUTED"){const{alias:n,request:a,hitCount:o}=r.data,i=Ce.find(s=>s.alias===n);i&&(i.executed=!0,i.request=a,i.hitCount=o),tt.counts[n]=o??(tt.counts[n]??0)+1}})}},Ll=async(e,t)=>{const r={alias:e,...t,executed:!1},n=Ce.findIndex(a=>a.alias===e);if(n!==-1?Ce[n]=r:Ce.push(r),typeof window.__twdCollectMock=="function"){const a=window.__TWD_STATE__?.handlers,o=a&&[...a.values()].find(i=>i.status==="running");o&&window.__twdCollectMock({alias:e,url:String(t.url),method:t.method,status:t.status||200,response:t.response,urlRegex:t.urlRegex||!1,testId:o.id})}navigator.serviceWorker.controller?.postMessage({type:"ADD_RULE",rule:r,version:Rr}),await ur(jl),await Promise.resolve()},Bl=async e=>await Promise.all(e.map(t=>Ro(t))),Ro=async(e,t=10,r=100)=>{const n=Ce.find(u=>u.alias===e);if(!n)throw new Error(`Rule ${e} not found`);for(let u=0;u<t;u++){const l=Ce.find(c=>c.alias===e&&c.executed);if(l)return Promise.resolve(l);u<t-1&&await new Promise(c=>setTimeout(c,r))}const a=t*r,o=Ce.filter(u=>u.executed).map(u=>`${u.alias} (${u.method} ${u.url})`).join(", "),i=Ce.filter(u=>!u.executed).map(u=>`${u.alias} (${u.method} ${u.url})`).join(", "),s=[`Rule "${e}" was not executed within ${a}ms.`,` Expected: ${n.method} ${n.url}`,` Executed rules: ${o||"none"}`,` Not executed rules: ${i||"none"}`].join(`
2
- `);throw console.log(s),new Error(s)},To=()=>Ce,So=()=>{navigator.serviceWorker.controller?.postMessage({type:"CLEAR_RULES",version:Rr}),Ce.length=0;for(const e in tt.counts)delete tt.counts[e]},$l=e=>tt.counts[e]??0,Fl=()=>({...tt.counts}),Ul=(e,t)=>{const r=e.startsWith("not.");switch(r?e.slice(4):e){case"eq":return tn(window.location.href===t,r,`Assertion passed: URL is ${t}`,`Assertion failed: Expected URL to be ${t}, but got ${window.location.href}`);case"contain.url":return tn(window.location.href.includes(t),r,`Assertion passed: URL contains ${t}`,`Assertion failed: Expected URL to contain ${t}, but got ${window.location.href}`);default:throw new Error(`Unknown assertion: ${e}`)}},zl=()=>({location:window.location,should:async(e,t,r=5)=>{let n="",a;for(let o=0;o<r;o++)try{n=Ul(e,t),re(n);break}catch(i){await new Promise(s=>setTimeout(s,100)),a=i}if(a)throw a;return n}}),Vl=100,Hl=async(e,t)=>{if(re(`visit("${e}")`),window.location.pathname===e||t){const r=`/__dummy_${Math.random().toString(36).slice(2)}`;window.history.pushState({},"",r),window.dispatchEvent(new PopStateEvent("popstate")),await ur(10)}window.history.pushState({},"",e),window.dispatchEvent(new PopStateEvent("popstate")),await ur(Vl)},rn="twd-viewport-styles",nn="twd-viewport-iframe",fe=null,ut=null,Wl=()=>{if(fe)return;const{style:e}=document.body;fe={maxWidth:e.maxWidth,maxHeight:e.maxHeight,minHeight:e.minHeight,overflow:e.overflow,margin:e.margin,boxSizing:e.boxSizing,boxShadow:e.boxShadow}},Kl=(e,t)=>{let r=document.getElementById(rn);r||(r=document.createElement("style"),r.id=rn,document.head.appendChild(r));const n=t?`${e} × ${t}`:`${e}`;r.textContent=`
1
+ Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var Pl=Object.create,lr=Object.defineProperty,ql=Object.getOwnPropertyDescriptor,Rl=Object.getOwnPropertyNames,Tl=Object.getPrototypeOf,Sl=Object.prototype.hasOwnProperty,P=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),xl=(e,t)=>{let r={};for(var n in e)lr(r,n,{get:e[n],enumerable:!0});return t||lr(r,Symbol.toStringTag,{value:"Module"}),r},Ol=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(var a=Rl(t),o=0,i=a.length,s;o<i;o++)s=a[o],!Sl.call(e,s)&&s!==r&&lr(e,s,{get:(u=>t[u]).bind(null,s),enumerable:!(n=ql(t,s))||n.enumerable});return e},An=(e,t,r)=>(r=e!=null?Pl(Tl(e)):{},Ol(t||!e||!e.__esModule?lr(r,"default",{value:e,enumerable:!0}):r,e));const Mt=require("./runner-Dr_mUWED.cjs"),en=require("./componentMocks-CwMyWCu5.cjs");let oe=require("react"),j=require("react/jsx-runtime");var Ml=(e,t,r=2e3,n=50)=>new Promise((a,o)=>{const i=Date.now(),s=()=>{const u=t();if(u)return a(u);if(Date.now()-i>r)return o(new Error(`Timeout waiting for element ${e}`));setTimeout(s,n)};s()}),Al=(e,t,r=2e3,n=50)=>new Promise((a,o)=>{const i=Date.now(),s=()=>{const u=t();if(u&&u.length>0)return a(Array.from(u));if(Date.now()-i>r)return o(new Error(`Timeout waiting for elements ${e}`));setTimeout(s,n)};s()}),ur=e=>new Promise(t=>setTimeout(t,e)),te=e=>{const t=Mt.handlers.size?Array.from(Mt.handlers.values()).find(r=>r.status==="running"):null;t&&t.logs?.push(e)},Il=(e,t)=>{const r=t?.timeout??2e3,n=t?.interval??50,a=t?.message;return new Promise((o,i)=>{const s=Date.now();let u=!1;const l=async()=>{try{const c=await e();if(u)return;u=!0,te(a?`waitFor: resolved (${a})`:"waitFor: resolved"),o(c)}catch(c){if(u)return;const d=c instanceof Error?c:new Error(String(c));if(Date.now()-s>=r){u=!0;const p=`waitFor timed out after ${r}ms`,f=a?` waiting for: ${a}`:"",g=`
2
+ Last error: ${d.message}`;i(new Error(`${p}${f}.${g}`));return}setTimeout(l,n)}};l()})},tn=(e,t,r,n)=>{if(!e&&!t)throw new Error(n);if(e&&t)throw new Error(n.replace("to be","to not be").replace("to have","to not have").replace("to contain","to not contain"));return r};function Nl(e){if(!e.isConnected)return!1;let t=e;for(;t;){const r=getComputedStyle(t);if(r.display==="none"||r.visibility==="hidden"||r.visibility==="collapse")return!1;t=t.parentElement}return!0}var kl={"have.text":{positive:{pass:e=>`Assertion passed: Text is exactly "${e[0]}"`,fail:(e,t)=>`Assertion failed: Expected text to be "${e[0]}", but got "${t}"`},negative:{pass:e=>`Assertion passed: Text is not exactly "${e[0]}"`,fail:(e,t)=>`Assertion failed: Expected text to not be "${e[0]}", but got "${t}"`}},"contain.text":{positive:{pass:e=>`Assertion passed: Text contains "${e[0]}"`,fail:(e,t)=>`Assertion failed: Expected text to contain "${e[0]}", but got "${t}"`},negative:{pass:e=>`Assertion passed: Text does not contain "${e[0]}"`,fail:(e,t)=>`Assertion failed: Expected text to not contain "${e[0]}", but got "${t}"`}},"be.empty":{positive:{pass:()=>"Assertion passed: Text is empty",fail:(e,t)=>`Assertion failed: Expected text to be empty, but got "${t}"`},negative:{pass:()=>"Assertion passed: Text is not empty",fail:(e,t)=>`Assertion failed: Expected text to not be empty, but got "${t}"`}},"have.attr":{positive:{pass:e=>`Assertion passed: Attribute "${e[0]}" is "${e[1]}"`,fail:(e,t)=>`Assertion failed: Expected attribute "${e[0]}" to be "${e[1]}", but got "${t}"`},negative:{pass:e=>`Assertion passed: Attribute "${e[0]}" is not "${e[1]}"`,fail:(e,t)=>`Assertion failed: Expected attribute "${e[0]}" to not be "${e[1]}", but got "${t}"`}},"have.value":{positive:{pass:e=>`Assertion passed: Value is "${e[0]}"`,fail:(e,t)=>`Assertion failed: Expected value to be "${e[0]}", but got "${t}"`},negative:{pass:e=>`Assertion passed: Value is not "${e[0]}"`,fail:(e,t)=>`Assertion failed: Expected value to not be "${e[0]}", but got "${t}"`}},"be.disabled":{positive:{pass:()=>"Assertion passed: Element is disabled",fail:()=>"Assertion failed: Expected element to be disabled"},negative:{pass:()=>"Assertion passed: Element is not disabled",fail:()=>"Assertion failed: Expected element to not be disabled"}},"be.enabled":{positive:{pass:()=>"Assertion passed: Element is enabled",fail:()=>"Assertion failed: Expected element to be enabled"},negative:{pass:()=>"Assertion passed: Element is not enabled",fail:()=>"Assertion failed: Expected element to not be enabled"}},"be.checked":{positive:{pass:()=>"Assertion passed: Element is checked",fail:()=>"Assertion failed: Expected element to be checked"},negative:{pass:()=>"Assertion passed: Element is not checked",fail:()=>"Assertion failed: Expected element to not be checked"}},"be.selected":{positive:{pass:()=>"Assertion passed: Element is selected",fail:()=>"Assertion failed: Expected element to be selected"},negative:{pass:()=>"Assertion passed: Element is not selected",fail:()=>"Assertion failed: Expected element to not be selected"}},"be.focused":{positive:{pass:()=>"Assertion passed: Element is focused",fail:()=>"Assertion failed: Expected element to be focused"},negative:{pass:()=>"Assertion passed: Element is not focused",fail:()=>"Assertion failed: Expected element to not be focused"}},"be.visible":{positive:{pass:()=>"Assertion passed: Element is visible",fail:()=>"Assertion failed: Expected element to be visible"},negative:{pass:()=>"Assertion passed: Element is not visible",fail:()=>"Assertion failed: Expected element to not be visible"}},"have.class":{positive:{pass:e=>`Assertion passed: Element has class "${e[0]}"`,fail:e=>`Assertion failed: Expected element to have class "${e[0]}"`},negative:{pass:e=>`Assertion passed: Element does not have class "${e[0]}"`,fail:e=>`Assertion failed: Expected element to not have class "${e[0]}"`}}},zr=(e,t,...r)=>{const n=t.startsWith("not."),a=n?t.slice(4):t,o=(e.textContent||"").trim(),i=kl[a];if(!i)throw new Error(`Unknown assertion: ${a}`);const s=n?"negative":"positive";let u,l;switch(a){case"have.text":u=o===r[0],l=o;break;case"contain.text":u=o.includes(r[0]),l=o;break;case"be.empty":u=o.length===0,l=o;break;case"have.attr":l=e.getAttribute(r[0]),u=l===r[1];break;case"have.value":l=e.value,u=l===r[0];break;case"be.disabled":u=e.disabled===!0;break;case"be.enabled":u=e.disabled===!1;break;case"be.checked":u=e.checked===!0;break;case"be.selected":u=e.selected===!0;break;case"be.focused":u=document.activeElement===e;break;case"be.visible":u=Nl(e);break;case"have.class":u=e.classList.contains(r[0]);break;default:throw new Error(`Unknown assertion: ${a}`)}return tn(u,n,i[s].pass(r),i[s].fail(r,l))},Rr="1.7.1",jl=()=>typeof window<"u"?(window.__TWD_MOCK_STATE__||(window.__TWD_MOCK_STATE__={rules:[],counts:{}}),window.__TWD_MOCK_STATE__):{rules:[],counts:{}},tt=jl(),Ce=tt.rules,Dl=100,Na=!1,Ll=async e=>{if(Na){console.warn("[TWD] Request mocking already initialized");return}if("serviceWorker"in navigator){Na=!0;const t=e??"/mock-sw.js";await navigator.serviceWorker.register(`${t}?v=${Rr}`),navigator.serviceWorker.controller||await new Promise(r=>{navigator.serviceWorker.addEventListener("controllerchange",r,{once:!0})}),navigator.serviceWorker.addEventListener("message",r=>{if(r.data?.type==="EXECUTED"){const{alias:n,request:a,hitCount:o}=r.data,i=Ce.find(s=>s.alias===n);i&&(i.executed=!0,i.request=a,i.hitCount=o),tt.counts[n]=o??(tt.counts[n]??0)+1}})}},Bl=async(e,t)=>{const r={alias:e,...t,executed:!1},n=Ce.findIndex(a=>a.alias===e);if(n!==-1?Ce[n]=r:Ce.push(r),typeof window.__twdCollectMock=="function"){const a=window.__TWD_STATE__?.handlers,o=a&&[...a.values()].find(i=>i.status==="running");o&&window.__twdCollectMock({alias:e,url:String(t.url),method:t.method,status:t.status||200,response:t.response,urlRegex:t.urlRegex||!1,testId:o.id})}navigator.serviceWorker.controller?.postMessage({type:"ADD_RULE",rule:r,version:Rr}),await ur(Dl),await Promise.resolve()},$l=async e=>await Promise.all(e.map(t=>Ro(t))),Ro=async(e,t=10,r=100)=>{const n=Ce.find(u=>u.alias===e);if(!n)throw new Error(`Rule ${e} not found`);for(let u=0;u<t;u++){const l=Ce.find(c=>c.alias===e&&c.executed);if(l)return Promise.resolve(l);u<t-1&&await new Promise(c=>setTimeout(c,r))}const a=t*r,o=Ce.filter(u=>u.executed).map(u=>`${u.alias} (${u.method} ${u.url})`).join(", "),i=Ce.filter(u=>!u.executed).map(u=>`${u.alias} (${u.method} ${u.url})`).join(", "),s=[`Rule "${e}" was not executed within ${a}ms.`,` Expected: ${n.method} ${n.url}`,` Executed rules: ${o||"none"}`,` Not executed rules: ${i||"none"}`].join(`
3
+ `);throw console.log(s),new Error(s)},To=()=>Ce,So=()=>{navigator.serviceWorker.controller?.postMessage({type:"CLEAR_RULES",version:Rr}),Ce.length=0;for(const e in tt.counts)delete tt.counts[e]},Fl=e=>tt.counts[e]??0,Ul=()=>({...tt.counts}),zl=(e,t)=>{const r=e.startsWith("not.");switch(r?e.slice(4):e){case"eq":return tn(window.location.href===t,r,`Assertion passed: URL is ${t}`,`Assertion failed: Expected URL to be ${t}, but got ${window.location.href}`);case"contain.url":return tn(window.location.href.includes(t),r,`Assertion passed: URL contains ${t}`,`Assertion failed: Expected URL to contain ${t}, but got ${window.location.href}`);default:throw new Error(`Unknown assertion: ${e}`)}},Vl=()=>({location:window.location,should:async(e,t,r=5)=>{let n="",a;for(let o=0;o<r;o++)try{n=zl(e,t),te(n);break}catch(i){await new Promise(s=>setTimeout(s,100)),a=i}if(a)throw a;return n}}),Hl=100,Wl=async(e,t)=>{if(te(`visit("${e}")`),window.location.pathname===e||t){const r=`/__dummy_${Math.random().toString(36).slice(2)}`;window.history.pushState({},"",r),window.dispatchEvent(new PopStateEvent("popstate")),await ur(10)}window.history.pushState({},"",e),window.dispatchEvent(new PopStateEvent("popstate")),await ur(Hl)},rn="twd-viewport-styles",nn="twd-viewport-iframe",fe=null,ut=null,Kl=()=>{if(fe)return;const{style:e}=document.body;fe={maxWidth:e.maxWidth,maxHeight:e.maxHeight,minHeight:e.minHeight,overflow:e.overflow,margin:e.margin,boxSizing:e.boxSizing,boxShadow:e.boxShadow}},Gl=(e,t)=>{let r=document.getElementById(rn);r||(r=document.createElement("style"),r.id=rn,document.head.appendChild(r));const n=t?`${e} × ${t}`:`${e}`;r.textContent=`
3
4
  #twd-viewport-badge {
4
5
  position: fixed;
5
6
  bottom: 8px;
@@ -15,13 +16,13 @@ Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var Pl=Object
15
16
  pointer-events: none;
16
17
  white-space: nowrap;
17
18
  }
18
- `;let a=document.getElementById("twd-viewport-badge");a||(a=document.createElement("div"),a.id="twd-viewport-badge",document.body.appendChild(a)),a.textContent=n},Gl=()=>{document.getElementById(rn)?.remove(),document.getElementById("twd-viewport-badge")?.remove()},Yl=(e,t)=>{let r=document.getElementById(nn);return r||(r=document.createElement("iframe"),r.id=nn,r.style.cssText="position:fixed;top:-9999px;left:-9999px;visibility:hidden;pointer-events:none;border:none;",document.body.appendChild(r)),r.style.width=`${e}px`,r.style.height=`${t}px`,r},Xl=()=>{document.getElementById(nn)?.remove()},Jl=(e,t,r)=>{e.originalInnerWidthDesc=Object.getOwnPropertyDescriptor(window,"innerWidth"),e.originalInnerHeightDesc=Object.getOwnPropertyDescriptor(window,"innerHeight"),e.originalMatchMedia=window.matchMedia??null,Object.defineProperty(window,"innerWidth",{get:()=>t,configurable:!0}),r!==void 0&&Object.defineProperty(window,"innerHeight",{get:()=>r,configurable:!0});const n=e.iframe;if(n?.contentWindow?.matchMedia){const a=n.contentWindow.matchMedia.bind(n.contentWindow);window.matchMedia=(o=>a(o))}},Ql=e=>{e.originalInnerWidthDesc?Object.defineProperty(window,"innerWidth",e.originalInnerWidthDesc):delete window.innerWidth,e.originalInnerHeightDesc?Object.defineProperty(window,"innerHeight",e.originalInnerHeightDesc):delete window.innerHeight,e.originalMatchMedia&&(window.matchMedia=e.originalMatchMedia)},Zl=(e,t,r)=>{const n=document.styleSheets;for(let a=0;a<n.length;a++){const o=n[a];let i;try{i=o.cssRules}catch{continue}for(let s=i.length-1;s>=0;s--){const u=i[s];u instanceof CSSMediaRule&&eu(e,o,s,u,t,r)}}},eu=(e,t,r,n,a,o)=>{const i=n.conditionText??n.media.mediaText;if(!i)return;const s=o(i).matches,u=a(i).matches;if(s===u)return;const l=n.cssText;if(u&&!s){const c=[];for(let p=0;p<n.cssRules.length;p++)c.push(n.cssRules[p].cssText);t.deleteRule(r);let d=0;for(let p=0;p<c.length;p++)try{t.insertRule(c[p],r+p),d++}catch{}e.patches.push({sheet:t,originalIndex:r,originalCssText:l,injectedRulesCount:d})}else!u&&s&&(t.deleteRule(r),e.patches.push({sheet:t,originalIndex:r,originalCssText:l,injectedRulesCount:0}))},tu=e=>{for(let t=e.patches.length-1;t>=0;t--){const{sheet:r,originalIndex:n,originalCssText:a,injectedRulesCount:o}=e.patches[t];try{for(let i=0;i<o;i++)r.deleteRule(n);r.insertRule(a,n)}catch{}}},ru=(e,t)=>{ut&&xo();const r=Yl(e,t??window.innerHeight),n={patches:[],originalInnerWidthDesc:void 0,originalInnerHeightDesc:void 0,originalMatchMedia:null,iframe:r};ut=n;const a=window.matchMedia?window.matchMedia.bind(window):null;Jl(n,e,t),a&&r.contentWindow?.matchMedia&&Zl(n,r.contentWindow.matchMedia.bind(r.contentWindow),a),window.dispatchEvent(new Event("resize"))},xo=()=>{ut&&(tu(ut),Ql(ut),Xl(),ut=null,window.dispatchEvent(new Event("resize")))},nu=(e,t)=>{if(e===void 0){Oo();return}Wl();const{style:r}=document.body;r.maxWidth=`${e}px`,r.margin="0 auto",r.overflow="auto",r.boxSizing="border-box",r.boxShadow="0 0 0 1px rgba(37, 99, 235, 0.4)",t!==void 0?(r.minHeight=`${t}px`,r.maxHeight=`${t}px`):(r.minHeight=fe.minHeight,r.maxHeight=fe.maxHeight),ru(e,t),Kl(e,t),re(`viewport(${e}${t!==void 0?`, ${t}`:""})`)},Oo=()=>{if(!fe)return;xo();const{style:e}=document.body;e.maxWidth=fe.maxWidth,e.maxHeight=fe.maxHeight,e.minHeight=fe.minHeight,e.overflow=fe.overflow,e.margin=fe.margin,e.boxSizing=fe.boxSizing,e.boxShadow=fe.boxShadow,fe=null,Gl(),re("resetViewport()")},au={get:async e=>{const t=`body > div:not(#twd-sidebar-root) ${e}`;re(`Searching get("${e}")`);const r=await Ml(e,()=>document.querySelector(t)),n={el:r,should:(a,...o)=>(re(zr(r,a,...o)),n)};return n},setInputValue:(e,t)=>{const{set:r}=Object.getOwnPropertyDescriptor(e.__proto__,"value");r.call(e,t),e.dispatchEvent(new Event("input",{bubbles:!0}))},getAll:async e=>{const t=`body > div:not(#twd-sidebar-root) ${e}`;return re(`Searching getAll("${e}")`),(await Al(e,()=>document.querySelectorAll(t))).map(r=>{const n={el:r,should:(a,...o)=>(re(zr(r,a,...o)),n)};return n})},visit:Hl,url:zl,mockRequest:Ll,waitForRequest:Ro,waitForRequests:Bl,initRequestMocking:Dl,clearRequestMockRules:So,getRequestMockRules:To,getRequestCount:$l,getRequestCounts:Fl,should:(e,t,...r)=>{re(zr(e,t,...r))},wait:ur,mockComponent:en.mockComponent,clearComponentMocks:en.clearComponentMocks,viewport:nu,resetViewport:Oo,notExists:async e=>{const t=`body > div:not(#twd-sidebar-root) ${e}`;if(re(`Checking notExists("${e}")`),document.querySelector(t))throw new Error(`Element "${e}" exists in the DOM.`);re(`Assertion passed: Element "${e}" does not exist in the DOM.`)}},In=Object.defineProperty,ou=(e,t,r)=>t in e?In(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,q=(e,t)=>In(e,"name",{value:t,configurable:!0}),Nn=(e,t)=>{for(var r in t)In(e,r,{get:t[r],enumerable:!0})},Mo=(e,t,r)=>ou(e,typeof t!="symbol"?t+"":t,r),cr={};Nn(cr,{addChainableMethod:()=>Kn,addLengthGuard:()=>Vt,addMethod:()=>Vn,addProperty:()=>zn,checkError:()=>de,compareByInspect:()=>pr,eql:()=>ii,events:()=>Or,expectTypes:()=>$o,flag:()=>z,getActual:()=>Sr,getMessage:()=>Dn,getName:()=>Mr,getOperator:()=>Jn,getOwnEnumerableProperties:()=>Xn,getOwnEnumerablePropertySymbols:()=>Yn,getPathInfo:()=>Fn,hasProperty:()=>xr,inspect:()=>K,isNaN:()=>mr,isNumeric:()=>ae,isProxyEnabled:()=>zt,isRegExp:()=>br,objDisplay:()=>Ze,overwriteChainableMethod:()=>Gn,overwriteMethod:()=>Wn,overwriteProperty:()=>Hn,proxify:()=>Et,test:()=>kn,transferFlags:()=>ye,type:()=>J});var de={};Nn(de,{compatibleConstructor:()=>No,compatibleInstance:()=>Io,compatibleMessage:()=>ko,getConstructorName:()=>jo,getMessage:()=>Do});function Tr(e){return e instanceof Error||Object.prototype.toString.call(e)==="[object Error]"}q(Tr,"isErrorInstance");function Ao(e){return Object.prototype.toString.call(e)==="[object RegExp]"}q(Ao,"isRegExp");function Io(e,t){return Tr(t)&&e===t}q(Io,"compatibleInstance");function No(e,t){return Tr(t)?e.constructor===t.constructor||e instanceof t.constructor:(typeof t=="object"||typeof t=="function")&&t.prototype?e.constructor===t||e instanceof t:!1}q(No,"compatibleConstructor");function ko(e,t){const r=typeof e=="string"?e:e.message;return Ao(t)?t.test(r):typeof t=="string"?r.indexOf(t)!==-1:!1}q(ko,"compatibleMessage");function jo(e){let t=e;return Tr(e)?t=e.constructor.name:typeof e=="function"&&(t=e.name,t===""&&(t=new e().name||t)),t}q(jo,"getConstructorName");function Do(e){let t="";return e&&e.message?t=e.message:typeof e=="string"&&(t=e),t}q(Do,"getMessage");function z(e,t,r){let n=e.__flags||(e.__flags=Object.create(null));if(arguments.length===3)n[t]=r;else return n[t]}q(z,"flag");function kn(e,t){let r=z(e,"negate"),n=t[0];return r?!n:n}q(kn,"test");function J(e){if(typeof e>"u")return"undefined";if(e===null)return"null";const t=e[Symbol.toStringTag];return typeof t=="string"?t:Object.prototype.toString.call(e).slice(8,-1)}q(J,"type");var iu="captureStackTrace"in Error,Lo=class Bo extends Error{constructor(t="Unspecified AssertionError",r,n){super(t),Mo(this,"message"),this.message=t,iu&&Error.captureStackTrace(this,n||Bo);for(const a in r)a in this||(this[a]=r[a])}get name(){return"AssertionError"}get ok(){return!1}toJSON(t){return{...this,name:this.name,message:this.message,ok:!1,stack:t!==!1?this.stack:void 0}}};q(Lo,"AssertionError");var X=Lo;function $o(e,t){let r=z(e,"message"),n=z(e,"ssfi");r=r?r+": ":"",e=z(e,"object"),t=t.map(function(i){return i.toLowerCase()}),t.sort();let a=t.map(function(i,s){let u=~["a","e","i","o","u"].indexOf(i.charAt(0))?"an":"a";return(t.length>1&&s===t.length-1?"or ":"")+u+" "+i}).join(", "),o=J(e).toLowerCase();if(!t.some(function(i){return o===i}))throw new X(r+"object tested must be "+a+", but "+o+" given",void 0,n)}q($o,"expectTypes");function Sr(e,t){return t.length>4?t[4]:e._obj}q(Sr,"getActual");var ka={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"]},su={special:"cyan",number:"yellow",bigint:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",symbol:"green",date:"magenta",regexp:"red"},pt="…";function Fo(e,t){const r=ka[su[t]]||ka[t]||"";return r?`\x1B[${r[0]}m${String(e)}\x1B[${r[1]}m`:String(e)}q(Fo,"colorise");function Uo({showHidden:e=!1,depth:t=2,colors:r=!1,customInspect:n=!0,showProxy:a=!1,maxArrayLength:o=1/0,breakLength:i=1/0,seen:s=[],truncate:u=1/0,stylize:l=String}={},c){const d={showHidden:!!e,depth:Number(t),colors:!!r,customInspect:!!n,showProxy:!!a,maxArrayLength:Number(o),breakLength:Number(i),truncate:Number(u),seen:s,inspect:c,stylize:l};return d.colors&&(d.stylize=Fo),d}q(Uo,"normaliseOptions");function zo(e){return e>="\uD800"&&e<="\uDBFF"}q(zo,"isHighSurrogate");function Ie(e,t,r=pt){e=String(e);const n=r.length,a=e.length;if(n>t&&a>n)return r;if(a>t&&a>n){let o=t-n;return o>0&&zo(e[o-1])&&(o=o-1),`${e.slice(0,o)}${r}`}return e}q(Ie,"truncate");function be(e,t,r,n=", "){r=r||t.inspect;const a=e.length;if(a===0)return"";const o=t.truncate;let i="",s="",u="";for(let l=0;l<a;l+=1){const c=l+1===e.length,d=l+2===e.length;u=`${pt}(${e.length-l})`;const p=e[l];t.truncate=o-i.length-(c?0:n.length);const f=s||r(p,t)+(c?"":n),g=i.length+f.length,v=g+u.length;if(c&&g>o&&i.length+u.length<=o||!c&&!d&&v>o||(s=c?"":r(e[l+1],t)+(d?"":n),!c&&d&&v>o&&g+s.length>o))break;if(i+=f,!c&&!d&&g+s.length>=o){u=`${pt}(${e.length-l-1})`;break}u=""}return`${i}${u}`}q(be,"inspectList");function Vo(e){return e.match(/^[a-zA-Z_][a-zA-Z_0-9]*$/)?e:JSON.stringify(e).replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'")}q(Vo,"quoteComplexKey");function mt([e,t],r){return r.truncate-=2,typeof e=="string"?e=Vo(e):typeof e!="number"&&(e=`[${r.inspect(e,r)}]`),r.truncate-=e.length,t=r.inspect(t,r),`${e}: ${t}`}q(mt,"inspectProperty");function Ho(e,t){const r=Object.keys(e).slice(e.length);if(!e.length&&!r.length)return"[]";t.truncate-=4;const n=be(e,t);t.truncate-=n.length;let a="";return r.length&&(a=be(r.map(o=>[o,e[o]]),t,mt)),`[ ${n}${a?`, ${a}`:""} ]`}q(Ho,"inspectArray");var lu=q(e=>typeof Buffer=="function"&&e instanceof Buffer?"Buffer":e[Symbol.toStringTag]?e[Symbol.toStringTag]:e.constructor.name,"getArrayName");function _e(e,t){const r=lu(e);t.truncate-=r.length+4;const n=Object.keys(e).slice(e.length);if(!e.length&&!n.length)return`${r}[]`;let a="";for(let i=0;i<e.length;i++){const s=`${t.stylize(Ie(e[i],t.truncate),"number")}${i===e.length-1?"":", "}`;if(t.truncate-=s.length,e[i]!==e.length&&t.truncate<=3){a+=`${pt}(${e.length-e[i]+1})`;break}a+=s}let o="";return n.length&&(o=be(n.map(i=>[i,e[i]]),t,mt)),`${r}[ ${a}${o?`, ${o}`:""} ]`}q(_e,"inspectTypedArray");function Wo(e,t){const r=e.toJSON();if(r===null)return"Invalid Date";const n=r.split("T"),a=n[0];return t.stylize(`${a}T${Ie(n[1],t.truncate-a.length-1)}`,"date")}q(Wo,"inspectDate");function an(e,t){const r=e[Symbol.toStringTag]||"Function",n=e.name;return n?t.stylize(`[${r} ${Ie(n,t.truncate-11)}]`,"special"):t.stylize(`[${r}]`,"special")}q(an,"inspectFunction");function Ko([e,t],r){return r.truncate-=4,e=r.inspect(e,r),r.truncate-=e.length,t=r.inspect(t,r),`${e} => ${t}`}q(Ko,"inspectMapEntry");function Go(e){const t=[];return e.forEach((r,n)=>{t.push([n,r])}),t}q(Go,"mapToEntries");function Yo(e,t){return e.size===0?"Map{}":(t.truncate-=7,`Map{ ${be(Go(e),t,Ko)} }`)}q(Yo,"inspectMap");var uu=Number.isNaN||(e=>e!==e);function on(e,t){return uu(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(Ie(String(e),t.truncate),"number")}q(on,"inspectNumber");function sn(e,t){let r=Ie(e.toString(),t.truncate-1);return r!==pt&&(r+="n"),t.stylize(r,"bigint")}q(sn,"inspectBigInt");function Xo(e,t){const r=e.toString().split("/")[2],n=t.truncate-(2+r.length),a=e.source;return t.stylize(`/${Ie(a,n)}/${r}`,"regexp")}q(Xo,"inspectRegExp");function Jo(e){const t=[];return e.forEach(r=>{t.push(r)}),t}q(Jo,"arrayFromSet");function Qo(e,t){return e.size===0?"Set{}":(t.truncate-=7,`Set{ ${be(Jo(e),t)} }`)}q(Qo,"inspectSet");var ja=new RegExp("['\\u0000-\\u001f\\u007f-\\u009f\\u00ad\\u0600-\\u0604\\u070f\\u17b4\\u17b5\\u200c-\\u200f\\u2028-\\u202f\\u2060-\\u206f\\ufeff\\ufff0-\\uffff]","g"),cu={"\b":"\\b"," ":"\\t","\n":"\\n","\f":"\\f","\r":"\\r","'":"\\'","\\":"\\\\"},du=16,fu=4;function Zo(e){return cu[e]||`\\u${`0000${e.charCodeAt(0).toString(du)}`.slice(-fu)}`}q(Zo,"escape");function ln(e,t){return ja.test(e)&&(e=e.replace(ja,Zo)),t.stylize(`'${Ie(e,t.truncate-2)}'`,"string")}q(ln,"inspectString");function un(e){return"description"in Symbol.prototype?e.description?`Symbol(${e.description})`:"Symbol()":e.toString()}q(un,"inspectSymbol");var pu=q(()=>"Promise{…}","getPromiseValue");function At(e,t){const 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.includes(e))return"[Circular]";t.seen.push(e);const a=be(r.map(s=>[s,e[s]]),t,mt),o=be(n.map(s=>[s,e[s]]),t,mt);t.seen.pop();let i="";return a&&o&&(i=", "),`{ ${a}${i}${o} }`}q(At,"inspectObject");var Vr=typeof Symbol<"u"&&Symbol.toStringTag?Symbol.toStringTag:!1;function ei(e,t){let r="";return Vr&&Vr in e&&(r=e[Vr]),r=r||e.constructor.name,(!r||r==="_class")&&(r="<Anonymous Class>"),t.truncate-=r.length,`${r}${At(e,t)}`}q(ei,"inspectClass");function ti(e,t){return e.length===0?"Arguments[]":(t.truncate-=13,`Arguments[ ${be(e,t)} ]`)}q(ti,"inspectArguments");var mu=["stack","line","column","name","message","fileName","lineNumber","columnNumber","number","description","cause"];function ri(e,t){const r=Object.getOwnPropertyNames(e).filter(i=>mu.indexOf(i)===-1),n=e.name;t.truncate-=n.length;let a="";if(typeof e.message=="string"?a=Ie(e.message,t.truncate):r.unshift("message"),a=a?`: ${a}`:"",t.truncate-=a.length+5,t.seen=t.seen||[],t.seen.includes(e))return"[Circular]";t.seen.push(e);const o=be(r.map(i=>[i,e[i]]),t,mt);return`${n}${a}${o?` { ${o} }`:""}`}q(ri,"inspectObject");function ni([e,t],r){return r.truncate-=3,t?`${r.stylize(String(e),"yellow")}=${r.stylize(`"${t}"`,"string")}`:`${r.stylize(String(e),"yellow")}`}q(ni,"inspectAttribute");function dr(e,t){return be(e,t,ai,`
19
- `)}q(dr,"inspectNodeCollection");function ai(e,t){switch(e.nodeType){case 1:return jn(e,t);case 3:return t.inspect(e.data,t);default:return t.inspect(e,t)}}q(ai,"inspectNode");function jn(e,t){const r=e.getAttributeNames(),n=e.tagName.toLowerCase(),a=t.stylize(`<${n}`,"special"),o=t.stylize(">","special"),i=t.stylize(`</${n}>`,"special");t.truncate-=n.length*2+5;let s="";r.length>0&&(s+=" ",s+=be(r.map(c=>[c,e.getAttribute(c)]),t,ni," ")),t.truncate-=s.length;const u=t.truncate;let l=dr(e.children,t);return l&&l.length>u&&(l=`${pt}(${e.children.length})`),`${a}${s}${o}${l}${i}`}q(jn,"inspectHTML");var Hr=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("chai/inspect"):"@@chai/inspect",Wr=Symbol.for("nodejs.util.inspect.custom"),Da=new WeakMap,La={},Ba={undefined:q((e,t)=>t.stylize("undefined","undefined"),"undefined"),null:q((e,t)=>t.stylize("null","null"),"null"),boolean:q((e,t)=>t.stylize(String(e),"boolean"),"boolean"),Boolean:q((e,t)=>t.stylize(String(e),"boolean"),"Boolean"),number:on,Number:on,bigint:sn,BigInt:sn,string:ln,String:ln,function:an,Function:an,symbol:un,Symbol:un,Array:Ho,Date:Wo,Map:Yo,Set:Qo,RegExp:Xo,Promise:pu,WeakSet:q((e,t)=>t.stylize("WeakSet{…}","special"),"WeakSet"),WeakMap:q((e,t)=>t.stylize("WeakMap{…}","special"),"WeakMap"),Arguments:ti,Int8Array:_e,Uint8Array:_e,Uint8ClampedArray:_e,Int16Array:_e,Uint16Array:_e,Int32Array:_e,Uint32Array:_e,Float32Array:_e,Float64Array:_e,Generator:q(()=>"","Generator"),DataView:q(()=>"","DataView"),ArrayBuffer:q(()=>"","ArrayBuffer"),Error:ri,HTMLCollection:dr,NodeList:dr},bu=q((e,t,r,n)=>Hr in e&&typeof e[Hr]=="function"?e[Hr](t):Wr in e&&typeof e[Wr]=="function"?e[Wr](t.depth,t,n):"inspect"in e&&typeof e.inspect=="function"?e.inspect(t.depth,t):"constructor"in e&&Da.has(e.constructor)?Da.get(e.constructor)(e,t):La[r]?La[r](e,t):"","inspectCustom"),hu=Object.prototype.toString;function It(e,t={}){const r=Uo(t,It),{customInspect:n}=r;let a=e===null?"null":typeof e;if(a==="object"&&(a=hu.call(e).slice(8,-1)),a in Ba)return Ba[a](e,r);if(n&&e){const i=bu(e,r,a,It);if(i)return typeof i=="string"?i:It(i,r)}const o=e?Object.getPrototypeOf(e):!1;return o===Object.prototype||o===null?At(e,r):e&&typeof HTMLElement=="function"&&e instanceof HTMLElement?jn(e,r):"constructor"in e?e.constructor!==Object?ei(e,r):At(e,r):e===Object(e)?At(e,r):r.stylize(String(e),a)}q(It,"inspect");var se={includeStack:!1,showDiff:!0,truncateThreshold:40,useProxy:!0,proxyExcludedKeys:["then","catch","inspect","toJSON"],deepEqual:null};function K(e,t,r,n){return It(e,{colors:n,depth:typeof r>"u"?2:r,showHidden:t,truncate:se.truncateThreshold?se.truncateThreshold:1/0})}q(K,"inspect");function Ze(e){let t=K(e),r=Object.prototype.toString.call(e);if(se.truncateThreshold&&t.length>=se.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]"){let n=Object.keys(e);return"{ Object ("+(n.length>2?n.splice(0,2).join(", ")+", ...":n.join(", "))+") }"}else return t}else return t}q(Ze,"objDisplay");function Dn(e,t){let r=z(e,"negate"),n=z(e,"object"),a=t[3],o=Sr(e,t),i=r?t[2]:t[1],s=z(e,"message");return typeof i=="function"&&(i=i()),i=i||"",i=i.replace(/#\{this\}/g,function(){return Ze(n)}).replace(/#\{act\}/g,function(){return Ze(o)}).replace(/#\{exp\}/g,function(){return Ze(a)}),s?s+": "+i:i}q(Dn,"getMessage");function ye(e,t,r){let n=e.__flags||(e.__flags=Object.create(null));t.__flags||(t.__flags=Object.create(null)),r=arguments.length===3?r:!0;for(let a in n)(r||a!=="object"&&a!=="ssfi"&&a!=="lockSsfi"&&a!="message")&&(t.__flags[a]=n[a])}q(ye,"transferFlags");function cn(e){if(typeof e>"u")return"undefined";if(e===null)return"null";const t=e[Symbol.toStringTag];return typeof t=="string"?t:Object.prototype.toString.call(e).slice(8,-1)}q(cn,"type");function Ln(){this._key="chai/deep-eql__"+Math.random()+Date.now()}q(Ln,"FakeMap");Ln.prototype={get:q(function(t){return t[this._key]},"get"),set:q(function(t,r){Object.isExtensible(t)&&Object.defineProperty(t,this._key,{value:r,configurable:!0})},"set")};var oi=typeof WeakMap=="function"?WeakMap:Ln;function dn(e,t,r){if(!r||rt(e)||rt(t))return null;var n=r.get(e);if(n){var a=n.get(t);if(typeof a=="boolean")return a}return null}q(dn,"memoizeCompare");function Tt(e,t,r,n){if(!(!r||rt(e)||rt(t))){var a=r.get(e);a?a.set(t,n):(a=new oi,a.set(t,n),r.set(e,a))}}q(Tt,"memoizeSet");var ii=Ut;function Ut(e,t,r){if(r&&r.comparator)return fn(e,t,r);var n=Bn(e,t);return n!==null?n:fn(e,t,r)}q(Ut,"deepEqual");function Bn(e,t){return e===t?e!==0||1/e===1/t:e!==e&&t!==t?!0:rt(e)||rt(t)?!1:null}q(Bn,"simpleEqual");function fn(e,t,r){r=r||{},r.memoize=r.memoize===!1?!1:r.memoize||new oi;var n=r&&r.comparator,a=dn(e,t,r.memoize);if(a!==null)return a;var o=dn(t,e,r.memoize);if(o!==null)return o;if(n){var i=n(e,t);if(i===!1||i===!0)return Tt(e,t,r.memoize,i),i;var s=Bn(e,t);if(s!==null)return s}var u=cn(e);if(u!==cn(t))return Tt(e,t,r.memoize,!1),!1;Tt(e,t,r.memoize,!0);var l=si(e,t,u,r);return Tt(e,t,r.memoize,l),l}q(fn,"extensiveDeepEqual");function si(e,t,r,n){switch(r){case"String":case"Number":case"Boolean":case"Date":return Ut(e.valueOf(),t.valueOf());case"Promise":case"Symbol":case"function":case"WeakMap":case"WeakSet":return e===t;case"Error":return $n(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 ze(e,t,n);case"RegExp":return li(e,t);case"Generator":return ui(e,t,n);case"DataView":return ze(new Uint8Array(e.buffer),new Uint8Array(t.buffer),n);case"ArrayBuffer":return ze(new Uint8Array(e),new Uint8Array(t),n);case"Set":return pn(e,t,n);case"Map":return pn(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 di(e,t,n)}}q(si,"extensiveDeepEqualByType");function li(e,t){return e.toString()===t.toString()}q(li,"regexpEqual");function pn(e,t,r){try{if(e.size!==t.size)return!1;if(e.size===0)return!0}catch{return!1}var n=[],a=[];return e.forEach(q(function(i,s){n.push([i,s])},"gatherEntries")),t.forEach(q(function(i,s){a.push([i,s])},"gatherEntries")),ze(n.sort(),a.sort(),r)}q(pn,"entriesEqual");function ze(e,t,r){var n=e.length;if(n!==t.length)return!1;if(n===0)return!0;for(var a=-1;++a<n;)if(Ut(e[a],t[a],r)===!1)return!1;return!0}q(ze,"iterableEqual");function ui(e,t,r){return ze(fr(e),fr(t),r)}q(ui,"generatorEqual");function ci(e){return typeof Symbol<"u"&&typeof e=="object"&&typeof Symbol.iterator<"u"&&typeof e[Symbol.iterator]=="function"}q(ci,"hasIteratorFunction");function mn(e){if(ci(e))try{return fr(e[Symbol.iterator]())}catch{return[]}return[]}q(mn,"getIteratorEntries");function fr(e){for(var t=e.next(),r=[t.value];t.done===!1;)t=e.next(),r.push(t.value);return r}q(fr,"getGeneratorEntries");function bn(e){var t=[];for(var r in e)t.push(r);return t}q(bn,"getEnumerableKeys");function hn(e){for(var t=[],r=Object.getOwnPropertySymbols(e),n=0;n<r.length;n+=1){var a=r[n];Object.getOwnPropertyDescriptor(e,a).enumerable&&t.push(a)}return t}q(hn,"getEnumerableSymbols");function $n(e,t,r,n){var a=r.length;if(a===0)return!0;for(var o=0;o<a;o+=1)if(Ut(e[r[o]],t[r[o]],n)===!1)return!1;return!0}q($n,"keysEqual");function di(e,t,r){var n=bn(e),a=bn(t),o=hn(e),i=hn(t);if(n=n.concat(o),a=a.concat(i),n.length&&n.length===a.length)return ze(vn(n).sort(),vn(a).sort())===!1?!1:$n(e,t,n,r);var s=mn(e),u=mn(t);return s.length&&s.length===u.length?(s.sort(),u.sort(),ze(s,u,r)):n.length===0&&s.length===0&&a.length===0&&u.length===0}q(di,"objectEqual");function rt(e){return e===null||typeof e!="object"}q(rt,"isPrimitive");function vn(e){return e.map(q(function(r){return typeof r=="symbol"?r.toString():r},"mapSymbol"))}q(vn,"mapSymbols");function xr(e,t){return typeof e>"u"||e===null?!1:t in Object(e)}q(xr,"hasProperty");function fi(e){return e.replace(/([^\\])\[/g,"$1.[").match(/(\\\.|[^.]+?)+/g).map(t=>{if(t==="constructor"||t==="__proto__"||t==="prototype")return{};const r=/^\[(\d+)\]$/.exec(t);let n=null;return r?n={i:parseFloat(r[1])}:n={p:t.replace(/\\([.[\]])/g,"$1")},n})}q(fi,"parsePath");function gn(e,t,r){let n=e,a=null;r=typeof r>"u"?t.length:r;for(let o=0;o<r;o++){const i=t[o];n&&(typeof i.p>"u"?n=n[i.i]:n=n[i.p],o===r-1&&(a=n))}return a}q(gn,"internalGetPathValue");function Fn(e,t){const r=fi(t),n=r[r.length-1],a={parent:r.length>1?gn(e,r,r.length-1):e,name:n.p||n.i,value:gn(e,r)};return a.exists=xr(a.parent,a.name),a}q(Fn,"getPathInfo");var pi=class mi{constructor(t,r,n,a){return Mo(this,"__flags",{}),z(this,"ssfi",n||mi),z(this,"lockSsfi",a),z(this,"object",t),z(this,"message",r),z(this,"eql",se.deepEqual||ii),Et(this)}static get includeStack(){return console.warn("Assertion.includeStack is deprecated, use chai.config.includeStack instead."),se.includeStack}static set includeStack(t){console.warn("Assertion.includeStack is deprecated, use chai.config.includeStack instead."),se.includeStack=t}static get showDiff(){return console.warn("Assertion.showDiff is deprecated, use chai.config.showDiff instead."),se.showDiff}static set showDiff(t){console.warn("Assertion.showDiff is deprecated, use chai.config.showDiff instead."),se.showDiff=t}static addProperty(t,r){zn(this.prototype,t,r)}static addMethod(t,r){Vn(this.prototype,t,r)}static addChainableMethod(t,r,n){Kn(this.prototype,t,r,n)}static overwriteProperty(t,r){Hn(this.prototype,t,r)}static overwriteMethod(t,r){Wn(this.prototype,t,r)}static overwriteChainableMethod(t,r,n){Gn(this.prototype,t,r,n)}assert(t,r,n,a,o,i){const s=kn(this,arguments);if(i!==!1&&(i=!0),a===void 0&&o===void 0&&(i=!1),se.showDiff!==!0&&(i=!1),!s){r=Dn(this,arguments);const u={actual:Sr(this,arguments),expected:a,showDiff:i},l=Jn(this,arguments);throw l&&(u.operator=l),new X(r,u,se.includeStack?this.assert:z(this,"ssfi"))}}get _obj(){return z(this,"object")}set _obj(t){z(this,"object",t)}};q(pi,"Assertion");var h=pi,Or=new EventTarget,bi=class extends Event{constructor(t,r,n){super(t),this.name=String(r),this.fn=n}};q(bi,"PluginEvent");var Un=bi;function zt(){return se.useProxy&&typeof Proxy<"u"&&typeof Reflect<"u"}q(zt,"isProxyEnabled");function zn(e,t,r){r=r===void 0?function(){}:r,Object.defineProperty(e,t,{get:q(function n(){!zt()&&!z(this,"lockSsfi")&&z(this,"ssfi",n);let a=r.call(this);if(a!==void 0)return a;let o=new h;return ye(this,o),o},"propertyGetter"),configurable:!0}),Or.dispatchEvent(new Un("addProperty",t,r))}q(zn,"addProperty");var vu=Object.getOwnPropertyDescriptor(function(){},"length");function Vt(e,t,r){return vu.configurable&&Object.defineProperty(e,"length",{get:q(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+'".')},"get")}),e}q(Vt,"addLengthGuard");function hi(e){let t=Object.getOwnPropertyNames(e);function r(a){t.indexOf(a)===-1&&t.push(a)}q(r,"addProperty");let n=Object.getPrototypeOf(e);for(;n!==null;)Object.getOwnPropertyNames(n).forEach(r),n=Object.getPrototypeOf(n);return t}q(hi,"getProperties");var $a=["__flags","__methods","_obj","assert"];function Et(e,t){return zt()?new Proxy(e,{get:q(function r(n,a){if(typeof a=="string"&&se.proxyExcludedKeys.indexOf(a)===-1&&!Reflect.has(n,a)){if(t)throw Error("Invalid Chai property: "+t+"."+a+'. See docs for proper usage of "'+t+'".');let o=null,i=4;throw hi(n).forEach(function(s){if(!Object.prototype.hasOwnProperty(s)&&$a.indexOf(s)===-1){let u=vi(a,s,i);u<i&&(o=s,i=u)}}),Error(o!==null?"Invalid Chai property: "+a+'. Did you mean "'+o+'"?':"Invalid Chai property: "+a)}return $a.indexOf(a)===-1&&!z(n,"lockSsfi")&&z(n,"ssfi",r),Reflect.get(n,a)},"proxyGetter")}):e}q(Et,"proxify");function vi(e,t,r){if(Math.abs(e.length-t.length)>=r)return r;let n=[];for(let a=0;a<=e.length;a++)n[a]=Array(t.length+1).fill(0),n[a][0]=a;for(let a=0;a<t.length;a++)n[0][a]=a;for(let a=1;a<=e.length;a++){let o=e.charCodeAt(a-1);for(let i=1;i<=t.length;i++){if(Math.abs(a-i)>=r){n[a][i]=r;continue}n[a][i]=Math.min(n[a-1][i]+1,n[a][i-1]+1,n[a-1][i-1]+(o===t.charCodeAt(i-1)?0:1))}}return n[e.length][t.length]}q(vi,"stringDistanceCapped");function Vn(e,t,r){let n=q(function(){z(this,"lockSsfi")||z(this,"ssfi",n);let a=r.apply(this,arguments);if(a!==void 0)return a;let o=new h;return ye(this,o),o},"methodWrapper");Vt(n,t,!1),e[t]=Et(n,t),Or.dispatchEvent(new Un("addMethod",t,r))}q(Vn,"addMethod");function Hn(e,t,r){let n=Object.getOwnPropertyDescriptor(e,t),a=q(function(){},"_super");n&&typeof n.get=="function"&&(a=n.get),Object.defineProperty(e,t,{get:q(function o(){!zt()&&!z(this,"lockSsfi")&&z(this,"ssfi",o);let i=z(this,"lockSsfi");z(this,"lockSsfi",!0);let s=r(a).call(this);if(z(this,"lockSsfi",i),s!==void 0)return s;let u=new h;return ye(this,u),u},"overwritingPropertyGetter"),configurable:!0})}q(Hn,"overwriteProperty");function Wn(e,t,r){let n=e[t],a=q(function(){throw new Error(t+" is not a function")},"_super");n&&typeof n=="function"&&(a=n);let o=q(function(){z(this,"lockSsfi")||z(this,"ssfi",o);let i=z(this,"lockSsfi");z(this,"lockSsfi",!0);let s=r(a).apply(this,arguments);if(z(this,"lockSsfi",i),s!==void 0)return s;let u=new h;return ye(this,u),u},"overwritingMethodWrapper");Vt(o,t,!1),e[t]=Et(o,t)}q(Wn,"overwriteMethod");var gu=typeof Object.setPrototypeOf=="function",Fa=q(function(){},"testFn"),yu=Object.getOwnPropertyNames(Fa).filter(function(e){let t=Object.getOwnPropertyDescriptor(Fa,e);return typeof t!="object"?!0:!t.configurable}),wu=Function.prototype.call,Eu=Function.prototype.apply,gi=class extends Un{constructor(t,r,n,a){super(t,r,n),this.chainingBehavior=a}};q(gi,"PluginAddChainableMethodEvent");var _u=gi;function Kn(e,t,r,n){typeof n!="function"&&(n=q(function(){},"chainingBehavior"));let a={method:r,chainingBehavior:n};e.__methods||(e.__methods={}),e.__methods[t]=a,Object.defineProperty(e,t,{get:q(function(){a.chainingBehavior.call(this);let i=q(function(){z(this,"lockSsfi")||z(this,"ssfi",i);let s=a.method.apply(this,arguments);if(s!==void 0)return s;let u=new h;return ye(this,u),u},"chainableMethodWrapper");if(Vt(i,t,!0),gu){let s=Object.create(this);s.call=wu,s.apply=Eu,Object.setPrototypeOf(i,s)}else Object.getOwnPropertyNames(e).forEach(function(s){yu.indexOf(s)===-1&&Object.defineProperty(i,s,Object.getOwnPropertyDescriptor(e,s))});return ye(this,i),Et(i)},"chainableMethodGetter"),configurable:!0}),Or.dispatchEvent(new _u("addChainableMethod",t,r,n))}q(Kn,"addChainableMethod");function Gn(e,t,r,n){let a=e.__methods[t],o=a.chainingBehavior;a.chainingBehavior=q(function(){let u=n(o).call(this);if(u!==void 0)return u;let l=new h;return ye(this,l),l},"overwritingChainableMethodGetter");let i=a.method;a.method=q(function(){let u=r(i).apply(this,arguments);if(u!==void 0)return u;let l=new h;return ye(this,l),l},"overwritingChainableMethodWrapper")}q(Gn,"overwriteChainableMethod");function pr(e,t){return K(e)<K(t)?-1:1}q(pr,"compareByInspect");function Yn(e){return typeof Object.getOwnPropertySymbols!="function"?[]:Object.getOwnPropertySymbols(e).filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})}q(Yn,"getOwnEnumerablePropertySymbols");function Xn(e){return Object.keys(e).concat(Yn(e))}q(Xn,"getOwnEnumerableProperties");var mr=Number.isNaN;function yi(e){let t=J(e);return["Array","Object","Function"].indexOf(t)!==-1}q(yi,"isObjectType");function Jn(e,t){let r=z(e,"operator"),n=z(e,"negate"),a=t[3],o=n?t[2]:t[1];if(r)return r;if(typeof o=="function"&&(o=o()),o=o||"",!o||/\shave\s/.test(o))return;let i=yi(a);return/\snot\s/.test(o)?i?"notDeepStrictEqual":"notStrictEqual":i?"deepStrictEqual":"strictEqual"}q(Jn,"getOperator");function Mr(e){return e.name}q(Mr,"getName");function br(e){return Object.prototype.toString.call(e)==="[object RegExp]"}q(br,"isRegExp");function ae(e){return["Number","BigInt"].includes(J(e))}q(ae,"isNumeric");var{flag:C}=cr;["to","be","been","is","and","has","have","with","that","which","at","of","same","but","does","still","also"].forEach(function(e){h.addProperty(e)});h.addProperty("not",function(){C(this,"negate",!0)});h.addProperty("deep",function(){C(this,"deep",!0)});h.addProperty("nested",function(){C(this,"nested",!0)});h.addProperty("own",function(){C(this,"own",!0)});h.addProperty("ordered",function(){C(this,"ordered",!0)});h.addProperty("any",function(){C(this,"any",!0),C(this,"all",!1)});h.addProperty("all",function(){C(this,"all",!0),C(this,"any",!1)});var Ua={function:["function","asyncfunction","generatorfunction","asyncgeneratorfunction"],asyncfunction:["asyncfunction","asyncgeneratorfunction"],generatorfunction:["generatorfunction","asyncgeneratorfunction"],asyncgeneratorfunction:["asyncgeneratorfunction"]};function Qn(e,t){t&&C(this,"message",t),e=e.toLowerCase();let r=C(this,"object"),n=~["a","e","i","o","u"].indexOf(e.charAt(0))?"an ":"a ";const a=J(r).toLowerCase();Ua.function.includes(e)?this.assert(Ua[e].includes(a),"expected #{this} to be "+n+e,"expected #{this} not to be "+n+e):this.assert(e===a,"expected #{this} to be "+n+e,"expected #{this} not to be "+n+e)}q(Qn,"an");h.addChainableMethod("an",Qn);h.addChainableMethod("a",Qn);function wi(e,t){return mr(e)&&mr(t)||e===t}q(wi,"SameValueZero");function Ht(){C(this,"contains",!0)}q(Ht,"includeChainingBehavior");function Wt(e,t){t&&C(this,"message",t);let r=C(this,"object"),n=J(r).toLowerCase(),a=C(this,"message"),o=C(this,"negate"),i=C(this,"ssfi"),s=C(this,"deep"),u=s?"deep ":"",l=s?C(this,"eql"):wi;a=a?a+": ":"";let c=!1;switch(n){case"string":c=r.indexOf(e)!==-1;break;case"weakset":if(s)throw new X(a+"unable to use .deep.include with WeakSet",void 0,i);c=r.has(e);break;case"map":r.forEach(function(d){c=c||l(d,e)});break;case"set":s?r.forEach(function(d){c=c||l(d,e)}):c=r.has(e);break;case"array":s?c=r.some(function(d){return l(d,e)}):c=r.indexOf(e)!==-1;break;default:{if(e!==Object(e))throw new X(a+"the given combination of arguments ("+n+" and "+J(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 "+J(e).toLowerCase(),void 0,i);let d=Object.keys(e),p=null,f=0;if(d.forEach(function(g){let v=new h(r);if(ye(this,v,!0),C(v,"lockSsfi",!0),!o||d.length===1){v.property(g,e[g]);return}try{v.property(g,e[g])}catch(S){if(!de.compatibleConstructor(S,X))throw S;p===null&&(p=S),f++}},this),o&&d.length>1&&f===d.length)throw p;return}}this.assert(c,"expected #{this} to "+u+"include "+K(e),"expected #{this} to not "+u+"include "+K(e))}q(Wt,"include");h.addChainableMethod("include",Wt,Ht);h.addChainableMethod("contain",Wt,Ht);h.addChainableMethod("contains",Wt,Ht);h.addChainableMethod("includes",Wt,Ht);h.addProperty("ok",function(){this.assert(C(this,"object"),"expected #{this} to be truthy","expected #{this} to be falsy")});h.addProperty("true",function(){this.assert(C(this,"object")===!0,"expected #{this} to be true","expected #{this} to be false",!C(this,"negate"))});h.addProperty("numeric",function(){const e=C(this,"object");this.assert(["Number","BigInt"].includes(J(e)),"expected #{this} to be numeric","expected #{this} to not be numeric",!C(this,"negate"))});h.addProperty("callable",function(){const e=C(this,"object"),t=C(this,"ssfi"),r=C(this,"message"),n=r?`${r}: `:"",a=C(this,"negate"),o=a?`${n}expected ${K(e)} not to be a callable function`:`${n}expected ${K(e)} to be a callable function`,i=["Function","AsyncFunction","GeneratorFunction","AsyncGeneratorFunction"].includes(J(e));if(i&&a||!i&&!a)throw new X(o,void 0,t)});h.addProperty("false",function(){this.assert(C(this,"object")===!1,"expected #{this} to be false","expected #{this} to be true",!!C(this,"negate"))});h.addProperty("null",function(){this.assert(C(this,"object")===null,"expected #{this} to be null","expected #{this} not to be null")});h.addProperty("undefined",function(){this.assert(C(this,"object")===void 0,"expected #{this} to be undefined","expected #{this} not to be undefined")});h.addProperty("NaN",function(){this.assert(mr(C(this,"object")),"expected #{this} to be NaN","expected #{this} not to be NaN")});function Zn(){let e=C(this,"object");this.assert(e!=null,"expected #{this} to exist","expected #{this} to not exist")}q(Zn,"assertExist");h.addProperty("exist",Zn);h.addProperty("exists",Zn);h.addProperty("empty",function(){let e=C(this,"object"),t=C(this,"ssfi"),r=C(this,"message"),n;switch(r=r?r+": ":"",J(e).toLowerCase()){case"array":case"string":n=e.length;break;case"map":case"set":n=e.size;break;case"weakmap":case"weakset":throw new X(r+".empty was passed a weak collection",void 0,t);case"function":throw new X((r+".empty was passed a function "+Mr(e)).trim(),void 0,t);default:if(e!==Object(e))throw new X(r+".empty was passed non-string primitive "+K(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 ea(){let e=J(C(this,"object"));this.assert(e==="Arguments","expected #{this} to be arguments but got "+e,"expected #{this} to not be arguments")}q(ea,"checkArguments");h.addProperty("arguments",ea);h.addProperty("Arguments",ea);function Ar(e,t){t&&C(this,"message",t);let r=C(this,"object");if(C(this,"deep")){let n=C(this,"lockSsfi");C(this,"lockSsfi",!0),this.eql(e),C(this,"lockSsfi",n)}else this.assert(e===r,"expected #{this} to equal #{exp}","expected #{this} to not equal #{exp}",e,this._obj,!0)}q(Ar,"assertEqual");h.addMethod("equal",Ar);h.addMethod("equals",Ar);h.addMethod("eq",Ar);function ta(e,t){t&&C(this,"message",t);let r=C(this,"eql");this.assert(r(e,C(this,"object")),"expected #{this} to deeply equal #{exp}","expected #{this} to not deeply equal #{exp}",e,this._obj,!0)}q(ta,"assertEql");h.addMethod("eql",ta);h.addMethod("eqls",ta);function Ir(e,t){t&&C(this,"message",t);let r=C(this,"object"),n=C(this,"doLength"),a=C(this,"message"),o=a?a+": ":"",i=C(this,"ssfi"),s=J(r).toLowerCase(),u=J(e).toLowerCase();if(n&&s!=="map"&&s!=="set"&&new h(r,a,i,!0).to.have.property("length"),!n&&s==="date"&&u!=="date")throw new X(o+"the argument to above must be a date",void 0,i);if(!ae(e)&&(n||ae(r)))throw new X(o+"the argument to above must be a number",void 0,i);if(!n&&s!=="date"&&!ae(r)){let l=s==="string"?"'"+r+"'":r;throw new X(o+"expected "+l+" to be a number or a date",void 0,i)}if(n){let l="length",c;s==="map"||s==="set"?(l="size",c=r.size):c=r.length,this.assert(c>e,"expected #{this} to have a "+l+" above #{exp} but got #{act}","expected #{this} to not have a "+l+" above #{exp}",e,c)}else this.assert(r>e,"expected #{this} to be above #{exp}","expected #{this} to be at most #{exp}",e)}q(Ir,"assertAbove");h.addMethod("above",Ir);h.addMethod("gt",Ir);h.addMethod("greaterThan",Ir);function Nr(e,t){t&&C(this,"message",t);let r=C(this,"object"),n=C(this,"doLength"),a=C(this,"message"),o=a?a+": ":"",i=C(this,"ssfi"),s=J(r).toLowerCase(),u=J(e).toLowerCase(),l,c=!0;if(n&&s!=="map"&&s!=="set"&&new h(r,a,i,!0).to.have.property("length"),!n&&s==="date"&&u!=="date")l=o+"the argument to least must be a date";else if(!ae(e)&&(n||ae(r)))l=o+"the argument to least must be a number";else if(!n&&s!=="date"&&!ae(r)){let d=s==="string"?"'"+r+"'":r;l=o+"expected "+d+" to be a number or a date"}else c=!1;if(c)throw new X(l,void 0,i);if(n){let d="length",p;s==="map"||s==="set"?(d="size",p=r.size):p=r.length,this.assert(p>=e,"expected #{this} to have a "+d+" at least #{exp} but got #{act}","expected #{this} to have a "+d+" below #{exp}",e,p)}else this.assert(r>=e,"expected #{this} to be at least #{exp}","expected #{this} to be below #{exp}",e)}q(Nr,"assertLeast");h.addMethod("least",Nr);h.addMethod("gte",Nr);h.addMethod("greaterThanOrEqual",Nr);function kr(e,t){t&&C(this,"message",t);let r=C(this,"object"),n=C(this,"doLength"),a=C(this,"message"),o=a?a+": ":"",i=C(this,"ssfi"),s=J(r).toLowerCase(),u=J(e).toLowerCase(),l,c=!0;if(n&&s!=="map"&&s!=="set"&&new h(r,a,i,!0).to.have.property("length"),!n&&s==="date"&&u!=="date")l=o+"the argument to below must be a date";else if(!ae(e)&&(n||ae(r)))l=o+"the argument to below must be a number";else if(!n&&s!=="date"&&!ae(r)){let d=s==="string"?"'"+r+"'":r;l=o+"expected "+d+" to be a number or a date"}else c=!1;if(c)throw new X(l,void 0,i);if(n){let d="length",p;s==="map"||s==="set"?(d="size",p=r.size):p=r.length,this.assert(p<e,"expected #{this} to have a "+d+" below #{exp} but got #{act}","expected #{this} to not have a "+d+" below #{exp}",e,p)}else this.assert(r<e,"expected #{this} to be below #{exp}","expected #{this} to be at least #{exp}",e)}q(kr,"assertBelow");h.addMethod("below",kr);h.addMethod("lt",kr);h.addMethod("lessThan",kr);function jr(e,t){t&&C(this,"message",t);let r=C(this,"object"),n=C(this,"doLength"),a=C(this,"message"),o=a?a+": ":"",i=C(this,"ssfi"),s=J(r).toLowerCase(),u=J(e).toLowerCase(),l,c=!0;if(n&&s!=="map"&&s!=="set"&&new h(r,a,i,!0).to.have.property("length"),!n&&s==="date"&&u!=="date")l=o+"the argument to most must be a date";else if(!ae(e)&&(n||ae(r)))l=o+"the argument to most must be a number";else if(!n&&s!=="date"&&!ae(r)){let d=s==="string"?"'"+r+"'":r;l=o+"expected "+d+" to be a number or a date"}else c=!1;if(c)throw new X(l,void 0,i);if(n){let d="length",p;s==="map"||s==="set"?(d="size",p=r.size):p=r.length,this.assert(p<=e,"expected #{this} to have a "+d+" at most #{exp} but got #{act}","expected #{this} to have a "+d+" above #{exp}",e,p)}else this.assert(r<=e,"expected #{this} to be at most #{exp}","expected #{this} to be above #{exp}",e)}q(jr,"assertMost");h.addMethod("most",jr);h.addMethod("lte",jr);h.addMethod("lessThanOrEqual",jr);h.addMethod("within",function(e,t,r){r&&C(this,"message",r);let n=C(this,"object"),a=C(this,"doLength"),o=C(this,"message"),i=o?o+": ":"",s=C(this,"ssfi"),u=J(n).toLowerCase(),l=J(e).toLowerCase(),c=J(t).toLowerCase(),d,p=!0,f=l==="date"&&c==="date"?e.toISOString()+".."+t.toISOString():e+".."+t;if(a&&u!=="map"&&u!=="set"&&new h(n,o,s,!0).to.have.property("length"),!a&&u==="date"&&(l!=="date"||c!=="date"))d=i+"the arguments to within must be dates";else if((!ae(e)||!ae(t))&&(a||ae(n)))d=i+"the arguments to within must be numbers";else if(!a&&u!=="date"&&!ae(n)){let g=u==="string"?"'"+n+"'":n;d=i+"expected "+g+" to be a number or a date"}else p=!1;if(p)throw new X(d,void 0,s);if(a){let g="length",v;u==="map"||u==="set"?(g="size",v=n.size):v=n.length,this.assert(v>=e&&v<=t,"expected #{this} to have a "+g+" within "+f,"expected #{this} to not have a "+g+" within "+f)}else this.assert(n>=e&&n<=t,"expected #{this} to be within "+f,"expected #{this} to not be within "+f)});function ra(e,t){t&&C(this,"message",t);let r=C(this,"object"),n=C(this,"ssfi"),a=C(this,"message"),o;try{o=r instanceof e}catch(s){throw s instanceof TypeError?(a=a?a+": ":"",new X(a+"The instanceof assertion needs a constructor but "+J(e)+" was given.",void 0,n)):s}let i=Mr(e);i==null&&(i="an unnamed constructor"),this.assert(o,"expected #{this} to be an instance of "+i,"expected #{this} to not be an instance of "+i)}q(ra,"assertInstanceOf");h.addMethod("instanceof",ra);h.addMethod("instanceOf",ra);function na(e,t,r){r&&C(this,"message",r);let n=C(this,"nested"),a=C(this,"own"),o=C(this,"message"),i=C(this,"object"),s=C(this,"ssfi"),u=typeof e;if(o=o?o+": ":"",n){if(u!=="string")throw new X(o+"the argument to property must be a string when using nested syntax",void 0,s)}else if(u!=="string"&&u!=="number"&&u!=="symbol")throw new X(o+"the argument to property must be a string, number, or symbol",void 0,s);if(n&&a)throw new X(o+'The "nested" and "own" flags cannot be combined.',void 0,s);if(i==null)throw new X(o+"Target cannot be null or undefined.",void 0,s);let l=C(this,"deep"),c=C(this,"negate"),d=n?Fn(i,e):null,p=n?d.value:i[e],f=l?C(this,"eql"):(S,y)=>S===y,g="";l&&(g+="deep "),a&&(g+="own "),n&&(g+="nested "),g+="property ";let v;a?v=Object.prototype.hasOwnProperty.call(i,e):n?v=d.exists:v=xr(i,e),(!c||arguments.length===1)&&this.assert(v,"expected #{this} to have "+g+K(e),"expected #{this} to not have "+g+K(e)),arguments.length>1&&this.assert(v&&f(t,p),"expected #{this} to have "+g+K(e)+" of #{exp}, but got #{act}","expected #{this} to not have "+g+K(e)+" of #{act}",t,p),C(this,"object",p)}q(na,"assertProperty");h.addMethod("property",na);function aa(e,t,r){C(this,"own",!0),na.apply(this,arguments)}q(aa,"assertOwnProperty");h.addMethod("ownProperty",aa);h.addMethod("haveOwnProperty",aa);function oa(e,t,r){typeof t=="string"&&(r=t,t=null),r&&C(this,"message",r);let n=C(this,"object"),a=Object.getOwnPropertyDescriptor(Object(n),e),o=C(this,"eql");a&&t?this.assert(o(t,a),"expected the own property descriptor for "+K(e)+" on #{this} to match "+K(t)+", got "+K(a),"expected the own property descriptor for "+K(e)+" on #{this} to not match "+K(t),t,a,!0):this.assert(a,"expected #{this} to have an own property descriptor for "+K(e),"expected #{this} to not have an own property descriptor for "+K(e)),C(this,"object",a)}q(oa,"assertOwnPropertyDescriptor");h.addMethod("ownPropertyDescriptor",oa);h.addMethod("haveOwnPropertyDescriptor",oa);function ia(){C(this,"doLength",!0)}q(ia,"assertLengthChain");function sa(e,t){t&&C(this,"message",t);let r=C(this,"object"),n=J(r).toLowerCase(),a=C(this,"message"),o=C(this,"ssfi"),i="length",s;switch(n){case"map":case"set":i="size",s=r.size;break;default:new h(r,a,o,!0).to.have.property("length"),s=r.length}this.assert(s==e,"expected #{this} to have a "+i+" of #{exp} but got #{act}","expected #{this} to not have a "+i+" of #{act}",e,s)}q(sa,"assertLength");h.addChainableMethod("length",sa,ia);h.addChainableMethod("lengthOf",sa,ia);function la(e,t){t&&C(this,"message",t);let r=C(this,"object");this.assert(e.exec(r),"expected #{this} to match "+e,"expected #{this} not to match "+e)}q(la,"assertMatch");h.addMethod("match",la);h.addMethod("matches",la);h.addMethod("string",function(e,t){t&&C(this,"message",t);let r=C(this,"object");new h(r,C(this,"message"),C(this,"ssfi"),!0).is.a("string"),this.assert(~r.indexOf(e),"expected #{this} to contain "+K(e),"expected #{this} to not contain "+K(e))});function ua(e){let t=C(this,"object"),r=J(t),n=J(e),a=C(this,"ssfi"),o=C(this,"deep"),i,s="",u,l=!0,c=C(this,"message");c=c?c+": ":"";let d=c+"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")s=o?"deeply ":"",u=[],t.forEach(function(y,w){u.push(w)}),n!=="Array"&&(e=Array.prototype.slice.call(arguments));else{switch(u=Xn(t),n){case"Array":if(arguments.length>1)throw new X(d,void 0,a);break;case"Object":if(arguments.length>1)throw new X(d,void 0,a);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 X(c+"keys required",void 0,a);let p=e.length,f=C(this,"any"),g=C(this,"all"),v=e,S=o?C(this,"eql"):(y,w)=>y===w;if(!f&&!g&&(g=!0),f&&(l=v.some(function(y){return u.some(function(w){return S(y,w)})})),g&&(l=v.every(function(y){return u.some(function(w){return S(y,w)})}),C(this,"contains")||(l=l&&e.length==u.length)),p>1){e=e.map(function(w){return K(w)});let y=e.pop();g&&(i=e.join(", ")+", and "+y),f&&(i=e.join(", ")+", or "+y)}else i=K(e[0]);i=(p>1?"keys ":"key ")+i,i=(C(this,"contains")?"contain ":"have ")+i,this.assert(l,"expected #{this} to "+s+i,"expected #{this} to not "+s+i,v.slice(0).sort(pr),u.sort(pr),!0)}q(ua,"assertKeys");h.addMethod("keys",ua);h.addMethod("key",ua);function Dr(e,t,r){r&&C(this,"message",r);let n=C(this,"object"),a=C(this,"ssfi"),o=C(this,"message"),i=C(this,"negate")||!1;new h(n,o,a,!0).is.a("function"),(br(e)||typeof e=="string")&&(t=e,e=null);let s,u=!1;try{n()}catch(f){u=!0,s=f}let l=e===void 0&&t===void 0,c=!!(e&&t),d=!1,p=!1;if(l||!l&&!i){let f="an error";e instanceof Error?f="#{exp}":e&&(f=de.getConstructorName(e));let g=s;if(s instanceof Error)g=s.toString();else if(typeof s=="string")g=s;else if(s&&(typeof s=="object"||typeof s=="function"))try{g=de.getConstructorName(s)}catch{}this.assert(u,"expected #{this} to throw "+f,"expected #{this} to not throw an error but #{act} was thrown",e&&e.toString(),g)}if(e&&s&&(e instanceof Error&&de.compatibleInstance(s,e)===i&&(c&&i?d=!0:this.assert(i,"expected #{this} to throw #{exp} but #{act} was thrown","expected #{this} to not throw #{exp}"+(s&&!i?" but #{act} was thrown":""),e.toString(),s.toString())),de.compatibleConstructor(s,e)===i&&(c&&i?d=!0:this.assert(i,"expected #{this} to throw #{exp} but #{act} was thrown","expected #{this} to not throw #{exp}"+(s?" but #{act} was thrown":""),e instanceof Error?e.toString():e&&de.getConstructorName(e),s instanceof Error?s.toString():s&&de.getConstructorName(s)))),s&&t!==void 0&&t!==null){let f="including";br(t)&&(f="matching"),de.compatibleMessage(s,t)===i&&(c&&i?p=!0:this.assert(i,"expected #{this} to throw error "+f+" #{exp} but got #{act}","expected #{this} to throw error not "+f+" #{exp}",t,de.getMessage(s)))}d&&p&&this.assert(i,"expected #{this} to throw #{exp} but #{act} was thrown","expected #{this} to not throw #{exp}"+(s?" but #{act} was thrown":""),e instanceof Error?e.toString():e&&de.getConstructorName(e),s instanceof Error?s.toString():s&&de.getConstructorName(s)),C(this,"object",s)}q(Dr,"assertThrows");h.addMethod("throw",Dr);h.addMethod("throws",Dr);h.addMethod("Throw",Dr);function ca(e,t){t&&C(this,"message",t);let r=C(this,"object"),n=C(this,"itself"),a=typeof r=="function"&&!n?r.prototype[e]:r[e];this.assert(typeof a=="function","expected #{this} to respond to "+K(e),"expected #{this} to not respond to "+K(e))}q(ca,"respondTo");h.addMethod("respondTo",ca);h.addMethod("respondsTo",ca);h.addProperty("itself",function(){C(this,"itself",!0)});function da(e,t){t&&C(this,"message",t);let r=e(C(this,"object"));this.assert(r,"expected #{this} to satisfy "+Ze(e),"expected #{this} to not satisfy"+Ze(e),!C(this,"negate"),r)}q(da,"satisfy");h.addMethod("satisfy",da);h.addMethod("satisfies",da);function fa(e,t,r){r&&C(this,"message",r);let n=C(this,"object"),a=C(this,"message"),o=C(this,"ssfi");new h(n,a,o,!0).is.numeric;let i="A `delta` value is required for `closeTo`";if(t==null)throw new X(a?`${a}: ${i}`:i,void 0,o);if(new h(t,a,o,!0).is.numeric,i="A `expected` value is required for `closeTo`",e==null)throw new X(a?`${a}: ${i}`:i,void 0,o);new h(e,a,o,!0).is.numeric;const s=q(l=>l<0?-l:l,"abs"),u=q(l=>parseFloat(parseFloat(l).toPrecision(12)),"strip");this.assert(u(s(n-e))<=t,"expected #{this} to be close to "+e+" +/- "+t,"expected #{this} not to be close to "+e+" +/- "+t)}q(fa,"closeTo");h.addMethod("closeTo",fa);h.addMethod("approximately",fa);function Ei(e,t,r,n,a){let o=Array.from(t),i=Array.from(e);if(!n){if(i.length!==o.length)return!1;o=o.slice()}return i.every(function(s,u){if(a)return r?r(s,o[u]):s===o[u];if(!r){let l=o.indexOf(s);return l===-1?!1:(n||o.splice(l,1),!0)}return o.some(function(l,c){return r(s,l)?(n||o.splice(c,1),!0):!1})})}q(Ei,"isSubsetOf");h.addMethod("members",function(e,t){t&&C(this,"message",t);let r=C(this,"object"),n=C(this,"message"),a=C(this,"ssfi");new h(r,n,a,!0).to.be.iterable,new h(e,n,a,!0).to.be.iterable;let o=C(this,"contains"),i=C(this,"ordered"),s,u,l;o?(s=i?"an ordered superset":"a superset",u="expected #{this} to be "+s+" of #{exp}",l="expected #{this} to not be "+s+" of #{exp}"):(s=i?"ordered members":"members",u="expected #{this} to have the same "+s+" as #{exp}",l="expected #{this} to not have the same "+s+" as #{exp}");let c=C(this,"deep")?C(this,"eql"):void 0;this.assert(Ei(e,r,c,o,i),u,l,e,r,!0)});h.addProperty("iterable",function(e){e&&C(this,"message",e);let t=C(this,"object");this.assert(t!=null&&t[Symbol.iterator],"expected #{this} to be an iterable","expected #{this} to not be an iterable",t)});function _i(e,t){t&&C(this,"message",t);let r=C(this,"object"),n=C(this,"message"),a=C(this,"ssfi"),o=C(this,"contains"),i=C(this,"deep"),s=C(this,"eql");new h(e,n,a,!0).to.be.an("array"),o?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 s(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)}q(_i,"oneOf");h.addMethod("oneOf",_i);function pa(e,t,r){r&&C(this,"message",r);let n=C(this,"object"),a=C(this,"message"),o=C(this,"ssfi");new h(n,a,o,!0).is.a("function");let i;t?(new h(e,a,o,!0).to.have.property(t),i=e[t]):(new h(e,a,o,!0).is.a("function"),i=e()),n();let s=t==null?e():e[t],u=t==null?i:"."+t;C(this,"deltaMsgObj",u),C(this,"initialDeltaValue",i),C(this,"finalDeltaValue",s),C(this,"deltaBehavior","change"),C(this,"realDelta",s!==i),this.assert(i!==s,"expected "+u+" to change","expected "+u+" to not change")}q(pa,"assertChanges");h.addMethod("change",pa);h.addMethod("changes",pa);function ma(e,t,r){r&&C(this,"message",r);let n=C(this,"object"),a=C(this,"message"),o=C(this,"ssfi");new h(n,a,o,!0).is.a("function");let i;t?(new h(e,a,o,!0).to.have.property(t),i=e[t]):(new h(e,a,o,!0).is.a("function"),i=e()),new h(i,a,o,!0).is.a("number"),n();let s=t==null?e():e[t],u=t==null?i:"."+t;C(this,"deltaMsgObj",u),C(this,"initialDeltaValue",i),C(this,"finalDeltaValue",s),C(this,"deltaBehavior","increase"),C(this,"realDelta",s-i),this.assert(s-i>0,"expected "+u+" to increase","expected "+u+" to not increase")}q(ma,"assertIncreases");h.addMethod("increase",ma);h.addMethod("increases",ma);function ba(e,t,r){r&&C(this,"message",r);let n=C(this,"object"),a=C(this,"message"),o=C(this,"ssfi");new h(n,a,o,!0).is.a("function");let i;t?(new h(e,a,o,!0).to.have.property(t),i=e[t]):(new h(e,a,o,!0).is.a("function"),i=e()),new h(i,a,o,!0).is.a("number"),n();let s=t==null?e():e[t],u=t==null?i:"."+t;C(this,"deltaMsgObj",u),C(this,"initialDeltaValue",i),C(this,"finalDeltaValue",s),C(this,"deltaBehavior","decrease"),C(this,"realDelta",i-s),this.assert(s-i<0,"expected "+u+" to decrease","expected "+u+" to not decrease")}q(ba,"assertDecreases");h.addMethod("decrease",ba);h.addMethod("decreases",ba);function Ci(e,t){t&&C(this,"message",t);let r=C(this,"deltaMsgObj"),n=C(this,"initialDeltaValue"),a=C(this,"finalDeltaValue"),o=C(this,"deltaBehavior"),i=C(this,"realDelta"),s;o==="change"?s=Math.abs(a-n)===Math.abs(e):s=i===Math.abs(e),this.assert(s,"expected "+r+" to "+o+" by "+e,"expected "+r+" to not "+o+" by "+e)}q(Ci,"assertDelta");h.addMethod("by",Ci);h.addProperty("extensible",function(){let e=C(this,"object"),t=e===Object(e)&&Object.isExtensible(e);this.assert(t,"expected #{this} to be extensible","expected #{this} to not be extensible")});h.addProperty("sealed",function(){let e=C(this,"object"),t=e===Object(e)?Object.isSealed(e):!0;this.assert(t,"expected #{this} to be sealed","expected #{this} to not be sealed")});h.addProperty("frozen",function(){let e=C(this,"object"),t=e===Object(e)?Object.isFrozen(e):!0;this.assert(t,"expected #{this} to be frozen","expected #{this} to not be frozen")});h.addProperty("finite",function(e){let t=C(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 hr(e,t){return e===t?!0:typeof t!=typeof e?!1:typeof e!="object"||e===null?e===t:t?Array.isArray(e)?Array.isArray(t)?e.every(function(r){return t.some(function(n){return hr(r,n)})}):!1:e instanceof Date?t instanceof Date?e.getTime()===t.getTime():!1:Object.keys(e).every(function(r){let n=e[r],a=t[r];return typeof n=="object"&&n!==null&&a!==null?hr(n,a):typeof n=="function"?n(a):a===n}):!1}q(hr,"compareSubset");h.addMethod("containSubset",function(e){const t=z(this,"object"),r=se.showDiff;this.assert(hr(e,t),"expected #{act} to contain subset #{exp}","expected #{act} to not contain subset #{exp}",e,t,r)});function kt(e,t){return new h(e,t)}q(kt,"expect");kt.fail=function(e,t,r,n){throw arguments.length<2&&(r=e,e=void 0),r=r||"expect.fail()",new X(r,{actual:e,expected:t,operator:n},kt.fail)};var Pi={};Nn(Pi,{Should:()=>Pu,should:()=>Cu});function ha(){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 h(this.valueOf(),null,e):new h(this,null,e)}q(e,"shouldGetter");function t(n){Object.defineProperty(this,"should",{value:n,enumerable:!0,configurable:!0,writable:!0})}q(t,"shouldSetter"),Object.defineProperty(Object.prototype,"should",{set:t,get:e,configurable:!0});let r={};return r.fail=function(n,a,o,i){throw arguments.length<2&&(o=n,n=void 0),o=o||"should.fail()",new X(o,{actual:n,expected:a,operator:i},r.fail)},r.equal=function(n,a,o){new h(n,o).to.equal(a)},r.Throw=function(n,a,o,i){new h(n,i).to.Throw(a,o)},r.exist=function(n,a){new h(n,a).to.exist},r.not={},r.not.equal=function(n,a,o){new h(n,o).to.not.equal(a)},r.not.Throw=function(n,a,o,i){new h(n,i).to.not.Throw(a,o)},r.not.exist=function(n,a){new h(n,a).to.not.exist},r.throw=r.Throw,r.not.throw=r.not.Throw,r}q(ha,"loadShould");var Cu=ha,Pu=ha;function b(e,t){new h(null,null,b,!0).assert(e,t,"[ negation message unavailable ]")}q(b,"assert");b.fail=function(e,t,r,n){throw arguments.length<2&&(r=e,e=void 0),r=r||"assert.fail()",new X(r,{actual:e,expected:t,operator:n},b.fail)};b.isOk=function(e,t){new h(e,t,b.isOk,!0).is.ok};b.isNotOk=function(e,t){new h(e,t,b.isNotOk,!0).is.not.ok};b.equal=function(e,t,r){let n=new h(e,r,b.equal,!0);n.assert(t==z(n,"object"),"expected #{this} to equal #{exp}","expected #{this} to not equal #{act}",t,e,!0)};b.notEqual=function(e,t,r){let n=new h(e,r,b.notEqual,!0);n.assert(t!=z(n,"object"),"expected #{this} to not equal #{exp}","expected #{this} to equal #{act}",t,e,!0)};b.strictEqual=function(e,t,r){new h(e,r,b.strictEqual,!0).to.equal(t)};b.notStrictEqual=function(e,t,r){new h(e,r,b.notStrictEqual,!0).to.not.equal(t)};b.deepEqual=b.deepStrictEqual=function(e,t,r){new h(e,r,b.deepEqual,!0).to.eql(t)};b.notDeepEqual=function(e,t,r){new h(e,r,b.notDeepEqual,!0).to.not.eql(t)};b.isAbove=function(e,t,r){new h(e,r,b.isAbove,!0).to.be.above(t)};b.isAtLeast=function(e,t,r){new h(e,r,b.isAtLeast,!0).to.be.least(t)};b.isBelow=function(e,t,r){new h(e,r,b.isBelow,!0).to.be.below(t)};b.isAtMost=function(e,t,r){new h(e,r,b.isAtMost,!0).to.be.most(t)};b.isTrue=function(e,t){new h(e,t,b.isTrue,!0).is.true};b.isNotTrue=function(e,t){new h(e,t,b.isNotTrue,!0).to.not.equal(!0)};b.isFalse=function(e,t){new h(e,t,b.isFalse,!0).is.false};b.isNotFalse=function(e,t){new h(e,t,b.isNotFalse,!0).to.not.equal(!1)};b.isNull=function(e,t){new h(e,t,b.isNull,!0).to.equal(null)};b.isNotNull=function(e,t){new h(e,t,b.isNotNull,!0).to.not.equal(null)};b.isNaN=function(e,t){new h(e,t,b.isNaN,!0).to.be.NaN};b.isNotNaN=function(e,t){new h(e,t,b.isNotNaN,!0).not.to.be.NaN};b.exists=function(e,t){new h(e,t,b.exists,!0).to.exist};b.notExists=function(e,t){new h(e,t,b.notExists,!0).to.not.exist};b.isUndefined=function(e,t){new h(e,t,b.isUndefined,!0).to.equal(void 0)};b.isDefined=function(e,t){new h(e,t,b.isDefined,!0).to.not.equal(void 0)};b.isCallable=function(e,t){new h(e,t,b.isCallable,!0).is.callable};b.isNotCallable=function(e,t){new h(e,t,b.isNotCallable,!0).is.not.callable};b.isObject=function(e,t){new h(e,t,b.isObject,!0).to.be.a("object")};b.isNotObject=function(e,t){new h(e,t,b.isNotObject,!0).to.not.be.a("object")};b.isArray=function(e,t){new h(e,t,b.isArray,!0).to.be.an("array")};b.isNotArray=function(e,t){new h(e,t,b.isNotArray,!0).to.not.be.an("array")};b.isString=function(e,t){new h(e,t,b.isString,!0).to.be.a("string")};b.isNotString=function(e,t){new h(e,t,b.isNotString,!0).to.not.be.a("string")};b.isNumber=function(e,t){new h(e,t,b.isNumber,!0).to.be.a("number")};b.isNotNumber=function(e,t){new h(e,t,b.isNotNumber,!0).to.not.be.a("number")};b.isNumeric=function(e,t){new h(e,t,b.isNumeric,!0).is.numeric};b.isNotNumeric=function(e,t){new h(e,t,b.isNotNumeric,!0).is.not.numeric};b.isFinite=function(e,t){new h(e,t,b.isFinite,!0).to.be.finite};b.isBoolean=function(e,t){new h(e,t,b.isBoolean,!0).to.be.a("boolean")};b.isNotBoolean=function(e,t){new h(e,t,b.isNotBoolean,!0).to.not.be.a("boolean")};b.typeOf=function(e,t,r){new h(e,r,b.typeOf,!0).to.be.a(t)};b.notTypeOf=function(e,t,r){new h(e,r,b.notTypeOf,!0).to.not.be.a(t)};b.instanceOf=function(e,t,r){new h(e,r,b.instanceOf,!0).to.be.instanceOf(t)};b.notInstanceOf=function(e,t,r){new h(e,r,b.notInstanceOf,!0).to.not.be.instanceOf(t)};b.include=function(e,t,r){new h(e,r,b.include,!0).include(t)};b.notInclude=function(e,t,r){new h(e,r,b.notInclude,!0).not.include(t)};b.deepInclude=function(e,t,r){new h(e,r,b.deepInclude,!0).deep.include(t)};b.notDeepInclude=function(e,t,r){new h(e,r,b.notDeepInclude,!0).not.deep.include(t)};b.nestedInclude=function(e,t,r){new h(e,r,b.nestedInclude,!0).nested.include(t)};b.notNestedInclude=function(e,t,r){new h(e,r,b.notNestedInclude,!0).not.nested.include(t)};b.deepNestedInclude=function(e,t,r){new h(e,r,b.deepNestedInclude,!0).deep.nested.include(t)};b.notDeepNestedInclude=function(e,t,r){new h(e,r,b.notDeepNestedInclude,!0).not.deep.nested.include(t)};b.ownInclude=function(e,t,r){new h(e,r,b.ownInclude,!0).own.include(t)};b.notOwnInclude=function(e,t,r){new h(e,r,b.notOwnInclude,!0).not.own.include(t)};b.deepOwnInclude=function(e,t,r){new h(e,r,b.deepOwnInclude,!0).deep.own.include(t)};b.notDeepOwnInclude=function(e,t,r){new h(e,r,b.notDeepOwnInclude,!0).not.deep.own.include(t)};b.match=function(e,t,r){new h(e,r,b.match,!0).to.match(t)};b.notMatch=function(e,t,r){new h(e,r,b.notMatch,!0).to.not.match(t)};b.property=function(e,t,r){new h(e,r,b.property,!0).to.have.property(t)};b.notProperty=function(e,t,r){new h(e,r,b.notProperty,!0).to.not.have.property(t)};b.propertyVal=function(e,t,r,n){new h(e,n,b.propertyVal,!0).to.have.property(t,r)};b.notPropertyVal=function(e,t,r,n){new h(e,n,b.notPropertyVal,!0).to.not.have.property(t,r)};b.deepPropertyVal=function(e,t,r,n){new h(e,n,b.deepPropertyVal,!0).to.have.deep.property(t,r)};b.notDeepPropertyVal=function(e,t,r,n){new h(e,n,b.notDeepPropertyVal,!0).to.not.have.deep.property(t,r)};b.ownProperty=function(e,t,r){new h(e,r,b.ownProperty,!0).to.have.own.property(t)};b.notOwnProperty=function(e,t,r){new h(e,r,b.notOwnProperty,!0).to.not.have.own.property(t)};b.ownPropertyVal=function(e,t,r,n){new h(e,n,b.ownPropertyVal,!0).to.have.own.property(t,r)};b.notOwnPropertyVal=function(e,t,r,n){new h(e,n,b.notOwnPropertyVal,!0).to.not.have.own.property(t,r)};b.deepOwnPropertyVal=function(e,t,r,n){new h(e,n,b.deepOwnPropertyVal,!0).to.have.deep.own.property(t,r)};b.notDeepOwnPropertyVal=function(e,t,r,n){new h(e,n,b.notDeepOwnPropertyVal,!0).to.not.have.deep.own.property(t,r)};b.nestedProperty=function(e,t,r){new h(e,r,b.nestedProperty,!0).to.have.nested.property(t)};b.notNestedProperty=function(e,t,r){new h(e,r,b.notNestedProperty,!0).to.not.have.nested.property(t)};b.nestedPropertyVal=function(e,t,r,n){new h(e,n,b.nestedPropertyVal,!0).to.have.nested.property(t,r)};b.notNestedPropertyVal=function(e,t,r,n){new h(e,n,b.notNestedPropertyVal,!0).to.not.have.nested.property(t,r)};b.deepNestedPropertyVal=function(e,t,r,n){new h(e,n,b.deepNestedPropertyVal,!0).to.have.deep.nested.property(t,r)};b.notDeepNestedPropertyVal=function(e,t,r,n){new h(e,n,b.notDeepNestedPropertyVal,!0).to.not.have.deep.nested.property(t,r)};b.lengthOf=function(e,t,r){new h(e,r,b.lengthOf,!0).to.have.lengthOf(t)};b.hasAnyKeys=function(e,t,r){new h(e,r,b.hasAnyKeys,!0).to.have.any.keys(t)};b.hasAllKeys=function(e,t,r){new h(e,r,b.hasAllKeys,!0).to.have.all.keys(t)};b.containsAllKeys=function(e,t,r){new h(e,r,b.containsAllKeys,!0).to.contain.all.keys(t)};b.doesNotHaveAnyKeys=function(e,t,r){new h(e,r,b.doesNotHaveAnyKeys,!0).to.not.have.any.keys(t)};b.doesNotHaveAllKeys=function(e,t,r){new h(e,r,b.doesNotHaveAllKeys,!0).to.not.have.all.keys(t)};b.hasAnyDeepKeys=function(e,t,r){new h(e,r,b.hasAnyDeepKeys,!0).to.have.any.deep.keys(t)};b.hasAllDeepKeys=function(e,t,r){new h(e,r,b.hasAllDeepKeys,!0).to.have.all.deep.keys(t)};b.containsAllDeepKeys=function(e,t,r){new h(e,r,b.containsAllDeepKeys,!0).to.contain.all.deep.keys(t)};b.doesNotHaveAnyDeepKeys=function(e,t,r){new h(e,r,b.doesNotHaveAnyDeepKeys,!0).to.not.have.any.deep.keys(t)};b.doesNotHaveAllDeepKeys=function(e,t,r){new h(e,r,b.doesNotHaveAllDeepKeys,!0).to.not.have.all.deep.keys(t)};b.throws=function(e,t,r,n){return(typeof t=="string"||t instanceof RegExp)&&(r=t,t=null),z(new h(e,n,b.throws,!0).to.throw(t,r),"object")};b.doesNotThrow=function(e,t,r,n){(typeof t=="string"||t instanceof RegExp)&&(r=t,t=null),new h(e,n,b.doesNotThrow,!0).to.not.throw(t,r)};b.operator=function(e,t,r,n){let a;switch(t){case"==":a=e==r;break;case"===":a=e===r;break;case">":a=e>r;break;case">=":a=e>=r;break;case"<":a=e<r;break;case"<=":a=e<=r;break;case"!=":a=e!=r;break;case"!==":a=e!==r;break;default:throw n=n&&n+": ",new X(n+'Invalid operator "'+t+'"',void 0,b.operator)}let o=new h(a,n,b.operator,!0);o.assert(z(o,"object")===!0,"expected "+K(e)+" to be "+t+" "+K(r),"expected "+K(e)+" to not be "+t+" "+K(r))};b.closeTo=function(e,t,r,n){new h(e,n,b.closeTo,!0).to.be.closeTo(t,r)};b.approximately=function(e,t,r,n){new h(e,n,b.approximately,!0).to.be.approximately(t,r)};b.sameMembers=function(e,t,r){new h(e,r,b.sameMembers,!0).to.have.same.members(t)};b.notSameMembers=function(e,t,r){new h(e,r,b.notSameMembers,!0).to.not.have.same.members(t)};b.sameDeepMembers=function(e,t,r){new h(e,r,b.sameDeepMembers,!0).to.have.same.deep.members(t)};b.notSameDeepMembers=function(e,t,r){new h(e,r,b.notSameDeepMembers,!0).to.not.have.same.deep.members(t)};b.sameOrderedMembers=function(e,t,r){new h(e,r,b.sameOrderedMembers,!0).to.have.same.ordered.members(t)};b.notSameOrderedMembers=function(e,t,r){new h(e,r,b.notSameOrderedMembers,!0).to.not.have.same.ordered.members(t)};b.sameDeepOrderedMembers=function(e,t,r){new h(e,r,b.sameDeepOrderedMembers,!0).to.have.same.deep.ordered.members(t)};b.notSameDeepOrderedMembers=function(e,t,r){new h(e,r,b.notSameDeepOrderedMembers,!0).to.not.have.same.deep.ordered.members(t)};b.includeMembers=function(e,t,r){new h(e,r,b.includeMembers,!0).to.include.members(t)};b.notIncludeMembers=function(e,t,r){new h(e,r,b.notIncludeMembers,!0).to.not.include.members(t)};b.includeDeepMembers=function(e,t,r){new h(e,r,b.includeDeepMembers,!0).to.include.deep.members(t)};b.notIncludeDeepMembers=function(e,t,r){new h(e,r,b.notIncludeDeepMembers,!0).to.not.include.deep.members(t)};b.includeOrderedMembers=function(e,t,r){new h(e,r,b.includeOrderedMembers,!0).to.include.ordered.members(t)};b.notIncludeOrderedMembers=function(e,t,r){new h(e,r,b.notIncludeOrderedMembers,!0).to.not.include.ordered.members(t)};b.includeDeepOrderedMembers=function(e,t,r){new h(e,r,b.includeDeepOrderedMembers,!0).to.include.deep.ordered.members(t)};b.notIncludeDeepOrderedMembers=function(e,t,r){new h(e,r,b.notIncludeDeepOrderedMembers,!0).to.not.include.deep.ordered.members(t)};b.oneOf=function(e,t,r){new h(e,r,b.oneOf,!0).to.be.oneOf(t)};b.isIterable=function(e,t){if(e==null||!e[Symbol.iterator])throw t=t?`${t} expected ${K(e)} to be an iterable`:`expected ${K(e)} to be an iterable`,new X(t,void 0,b.isIterable)};b.changes=function(e,t,r,n){arguments.length===3&&typeof t=="function"&&(n=r,r=null),new h(e,n,b.changes,!0).to.change(t,r)};b.changesBy=function(e,t,r,n,a){if(arguments.length===4&&typeof t=="function"){let o=n;n=r,a=o}else arguments.length===3&&(n=r,r=null);new h(e,a,b.changesBy,!0).to.change(t,r).by(n)};b.doesNotChange=function(e,t,r,n){return arguments.length===3&&typeof t=="function"&&(n=r,r=null),new h(e,n,b.doesNotChange,!0).to.not.change(t,r)};b.changesButNotBy=function(e,t,r,n,a){if(arguments.length===4&&typeof t=="function"){let o=n;n=r,a=o}else arguments.length===3&&(n=r,r=null);new h(e,a,b.changesButNotBy,!0).to.change(t,r).but.not.by(n)};b.increases=function(e,t,r,n){return arguments.length===3&&typeof t=="function"&&(n=r,r=null),new h(e,n,b.increases,!0).to.increase(t,r)};b.increasesBy=function(e,t,r,n,a){if(arguments.length===4&&typeof t=="function"){let o=n;n=r,a=o}else arguments.length===3&&(n=r,r=null);new h(e,a,b.increasesBy,!0).to.increase(t,r).by(n)};b.doesNotIncrease=function(e,t,r,n){return arguments.length===3&&typeof t=="function"&&(n=r,r=null),new h(e,n,b.doesNotIncrease,!0).to.not.increase(t,r)};b.increasesButNotBy=function(e,t,r,n,a){if(arguments.length===4&&typeof t=="function"){let o=n;n=r,a=o}else arguments.length===3&&(n=r,r=null);new h(e,a,b.increasesButNotBy,!0).to.increase(t,r).but.not.by(n)};b.decreases=function(e,t,r,n){return arguments.length===3&&typeof t=="function"&&(n=r,r=null),new h(e,n,b.decreases,!0).to.decrease(t,r)};b.decreasesBy=function(e,t,r,n,a){if(arguments.length===4&&typeof t=="function"){let o=n;n=r,a=o}else arguments.length===3&&(n=r,r=null);new h(e,a,b.decreasesBy,!0).to.decrease(t,r).by(n)};b.doesNotDecrease=function(e,t,r,n){return arguments.length===3&&typeof t=="function"&&(n=r,r=null),new h(e,n,b.doesNotDecrease,!0).to.not.decrease(t,r)};b.doesNotDecreaseBy=function(e,t,r,n,a){if(arguments.length===4&&typeof t=="function"){let o=n;n=r,a=o}else arguments.length===3&&(n=r,r=null);return new h(e,a,b.doesNotDecreaseBy,!0).to.not.decrease(t,r).by(n)};b.decreasesButNotBy=function(e,t,r,n,a){if(arguments.length===4&&typeof t=="function"){let o=n;n=r,a=o}else arguments.length===3&&(n=r,r=null);new h(e,a,b.decreasesButNotBy,!0).to.decrease(t,r).but.not.by(n)};b.ifError=function(e){if(e)throw e};b.isExtensible=function(e,t){new h(e,t,b.isExtensible,!0).to.be.extensible};b.isNotExtensible=function(e,t){new h(e,t,b.isNotExtensible,!0).to.not.be.extensible};b.isSealed=function(e,t){new h(e,t,b.isSealed,!0).to.be.sealed};b.isNotSealed=function(e,t){new h(e,t,b.isNotSealed,!0).to.not.be.sealed};b.isFrozen=function(e,t){new h(e,t,b.isFrozen,!0).to.be.frozen};b.isNotFrozen=function(e,t){new h(e,t,b.isNotFrozen,!0).to.not.be.frozen};b.isEmpty=function(e,t){new h(e,t,b.isEmpty,!0).to.be.empty};b.isNotEmpty=function(e,t){new h(e,t,b.isNotEmpty,!0).to.not.be.empty};b.containsSubset=function(e,t,r){new h(e,r).to.containSubset(t)};b.doesNotContainSubset=function(e,t,r){new h(e,r).to.not.containSubset(t)};for(const[e,t]of[["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"],["containsSubset","containSubset"]])b[t]=b[e];var za=[];function qi(e){const t={use:qi,AssertionError:X,util:cr,config:se,expect:kt,assert:b,Assertion:h,...Pi};return~za.indexOf(e)||(e(t,cr),za.push(e)),t}q(qi,"use");var qu=()=>(0,j.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"var(--twd-icon-color-secondary)",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",className:"lucide lucide-loader-circle-icon lucide-loader-circle twd-loader","data-testid":"loader-icon",children:(0,j.jsx)("path",{d:"M21 12a9 9 0 1 1-6.219-8.56"})}),Lr=({className:e,children:t,dataTestId:r})=>(0,j.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"var(--twd-icon-color)",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",className:`lucide ${e}`,"data-testid":r,children:t}),Ru=()=>(0,j.jsx)(Lr,{className:"lucide-play-icon lucide-play",dataTestId:"play-icon",children:(0,j.jsx)("path",{d:"M5 5a2 2 0 0 1 3.008-1.728l11.997 6.998a2 2 0 0 1 .003 3.458l-12 7A2 2 0 0 1 5 19z"})}),Ri=({id:e,name:t,skip:r,only:n})=>(0,j.jsxs)(j.Fragment,{children:[t," ",n&&(0,j.jsxs)("span",{style:{color:"var(--twd-primary)"},"data-testid":`only-indicator-${e}`,children:[" ","(only)"]}),r&&(0,j.jsxs)("span",{style:{color:"var(--twd-text-secondary)"},"data-testid":`skip-indicator-${e}`,children:[" ","(skipped)"]})]}),Oe=(function(e){return e.CHAI_DIFF="chai-diff",e.CHAI_MESSAGE="chai-message",e.ERROR="error",e})({}),Tu=e=>{try{const t=JSON.parse(e);if(t&&typeof t=="object"&&"type"in t)return t}catch{}return null},Va=e=>{if(e===null)return"null";if(e===void 0)return"undefined";if(typeof e=="string")return e;if(typeof e=="object")try{return JSON.stringify(e,null,2)}catch{return String(e)}return String(e)},Su=e=>e.startsWith("Assertion passed")||e.startsWith("Event fired")?{color:"var(--twd-success)",fontWeight:"var(--twd-font-weight-bold)"}:e.startsWith("Test failed")?{color:"var(--twd-error)",fontWeight:"var(--twd-font-weight-bold)"}:{},xu=e=>e.type===Oe.CHAI_MESSAGE||e.type===Oe.ERROR,Ou=(e,t)=>t&&xu(t)?t.message:e,Mu=({log:e,index:t})=>{const r=Tu(e);if(r?.type===Oe.CHAI_DIFF)return(0,j.jsxs)("li",{style:{fontSize:"var(--twd-font-size-sm)",padding:"var(--twd-spacing-sm)",borderBottom:"1px solid var(--twd-border-light)",color:"var(--twd-text)"},children:[(0,j.jsx)("div",{style:{color:"var(--twd-error)",fontWeight:"var(--twd-font-weight-bold)",marginBottom:"var(--twd-spacing-xs)"},children:"❌ Assertion failed"}),(0,j.jsxs)("div",{style:{marginTop:"var(--twd-spacing-xs)",paddingLeft:"var(--twd-spacing-sm)",borderLeft:"2px solid var(--twd-success)"},children:[(0,j.jsx)("div",{style:{color:"var(--twd-success)",fontWeight:"var(--twd-font-weight-medium)",marginBottom:"var(--twd-spacing-xs)"},children:"Expected:"}),(0,j.jsx)("pre",{style:{margin:0,padding:"var(--twd-spacing-xs)",background:"var(--twd-background)",borderRadius:"var(--twd-border-radius)",fontSize:"var(--twd-font-size-xs)",overflowX:"auto",whiteSpace:"pre-wrap",wordBreak:"break-word"},children:Va(r.expected)})]}),(0,j.jsxs)("div",{style:{marginTop:"var(--twd-spacing-xs)",paddingLeft:"var(--twd-spacing-sm)",borderLeft:"2px solid var(--twd-error)"},children:[(0,j.jsx)("div",{style:{color:"var(--twd-error)",fontWeight:"var(--twd-font-weight-medium)",marginBottom:"var(--twd-spacing-xs)"},children:"Actual:"}),(0,j.jsx)("pre",{style:{margin:0,padding:"var(--twd-spacing-xs)",background:"var(--twd-background)",borderRadius:"var(--twd-border-radius)",fontSize:"var(--twd-font-size-xs)",overflowX:"auto",whiteSpace:"pre-wrap",wordBreak:"break-word"},children:Va(r.actual)})]})]},t);const n=Ou(e,r);return(0,j.jsx)("li",{style:{fontSize:"var(--twd-font-size-sm)",padding:"var(--twd-spacing-xs) var(--twd-spacing-sm)",borderBottom:"1px solid var(--twd-border-light)",color:"var(--twd-text)",...Su(n)},children:n},t)},Au=e=>{switch(e){case"pass":return"twd-status-pass";case"fail":return"twd-status-fail";case"skip":return"twd-status-skip";case"running":return"twd-status-running";default:return""}},Iu=({node:e,depth:t,id:r,runTest:n})=>{const a=(0,oe.useRef)(null),o=(0,oe.useRef)(e.status),i=(0,oe.useRef)(e.logs?.length||0),s=typeof window<"u"&&sessionStorage.getItem("twd-last-run-test-name")===e.name;(0,oe.useEffect)(()=>{const l=a.current;if(!l||!e.logs||e.logs.length===0)return;const c=o.current==="running"&&(e.status==="pass"||e.status==="fail"),d=e.logs.length>i.current;(c||d)&&setTimeout(()=>{l.scrollTop=l.scrollHeight},0),o.current=e.status,i.current=e.logs.length},[e.status,e.logs]);const u=()=>{switch(e.status){case"pass":return"passed";case"fail":return"failed";case"running":return"running";case"skip":return"skipped";default:return"not run"}};return(0,j.jsxs)("li",{style:{marginBottom:"var(--twd-spacing-xs)",marginLeft:`calc(${t} * var(--twd-spacing-sm))`},"data-testid":`test-list-item-${r}`,"data-test-name":e.name,role:"listitem","aria-label":`Test ${e.name}, status: ${u()}`,children:[(0,j.jsxs)("div",{className:`twd-test-item ${Au(e.status)}`,style:s?{border:"1px dashed var(--twd-border)"}:void 0,children:[(0,j.jsx)("span",{className:"twd-test-item-name",children:(0,j.jsx)(Ri,{id:r,name:e.name,skip:e.skip,only:e.only})}),(0,j.jsx)("button",{onClick:()=>n(r),"aria-label":`Run ${e.name} test`,className:"twd-btn twd-btn-icon",disabled:e.status==="running","data-testid":`run-test-button-${r}`,children:e.status==="running"?(0,j.jsx)(qu,{}):(0,j.jsx)(Ru,{})})]}),e.logs&&e.logs.length>0&&(0,j.jsx)("ul",{ref:a,className:"twd-test-item-logs",children:e.logs.map((l,c)=>(0,j.jsx)(Mu,{log:l,index:c},c))})]},e.name)},Nu=()=>(0,j.jsx)(Lr,{className:"lucide-chevron-down-icon lucide-chevron-down",dataTestId:"chevron-down-icon",children:(0,j.jsx)("path",{d:"m6 9 6 6 6-6"})}),ku=()=>(0,j.jsx)(Lr,{className:"lucide-chevron-right-icon lucide-chevron-right",dataTestId:"chevron-right-icon",children:(0,j.jsx)("path",{d:"m9 18 6-6-6-6"})}),ju=({roots:e,runTest:t,searchQuery:r=""})=>{const[n,a]=(0,oe.useState)({}),o=(0,oe.useRef)(null),i=(0,oe.useRef)(!1),s=l=>a(c=>({...c,[l]:!c[l]}));(0,oe.useEffect)(()=>{if(i.current)return;const l=sessionStorage.getItem("twd-last-run-test-name");if(!l)return;const c=setTimeout(()=>{const d=document.querySelector(`[data-test-name="${l}"]`);if(d){const p=o.current?.closest('[data-testid="twd-sidebar"]');if(p){const f=d.getBoundingClientRect(),g=p.getBoundingClientRect(),v=p.scrollTop,S=f.top-g.top+v,y=p.querySelector('[data-testid="twd-sidebar-header"]'),w=y?y.getBoundingClientRect().height+16:150;p.scrollTo({top:S-w,behavior:"smooth"})}i.current=!0}},100);return()=>clearTimeout(c)},[]);const u=(l,c=0)=>{if(l.type==="test")return(0,j.jsx)(Iu,{node:l,depth:c,id:l.id,runTest:()=>t(l.id)},l.id);const d=n[l.id];return(0,j.jsxs)("li",{style:{marginLeft:`calc(${c} * var(--twd-spacing-lg))`},children:[(0,j.jsx)("div",{className:"twd-test-group",children:(0,j.jsxs)("span",{className:"twd-test-group-toggle","data-testid":`test-group-${l.name}`,tabIndex:0,role:"button","aria-expanded":!d,"aria-label":`${d?"Expand":"Collapse"} test suite ${l.name}`,onClick:()=>s(l.id),children:[(0,j.jsx)(Ri,{id:l.id,name:l.name,skip:l.skip,only:l.only}),d?(0,j.jsx)(ku,{}):(0,j.jsx)(Nu,{})]})}),!d&&l.childrenNodes&&l.childrenNodes.length>0&&(0,j.jsx)("ul",{className:"twd-test-list",children:l.childrenNodes.map(p=>u(p,c+1))})]},l.id)};return(0,j.jsx)("ul",{ref:o,className:"twd-test-list",role:"list","aria-label":"Test list",children:e.length===0&&r?(0,j.jsxs)("li",{style:{padding:"var(--twd-spacing-md)",color:"var(--twd-text-secondary)",fontSize:"var(--twd-font-size-sm)",textAlign:"center"},children:['No tests match "',r,'"']}):e.map(l=>u(l))})},Du={left:{left:0,borderTopRightRadius:"var(--twd-border-radius-lg)",borderBottomRightRadius:"var(--twd-border-radius-lg)",borderTopLeftRadius:"0",borderBottomLeftRadius:"0"},right:{right:0,borderTopLeftRadius:"var(--twd-border-radius-lg)",borderBottomLeftRadius:"var(--twd-border-radius-lg)",borderTopRightRadius:"0",borderBottomRightRadius:"0"}},Lu=({setOpen:e,position:t})=>(0,j.jsx)("button",{"aria-label":"Open TWD sidebar",className:"twd-btn twd-sidebar-closed",style:{...Du[t]},onClick:()=>e(!0),children:"TWD"}),Bu=({isOpen:e,position:t})=>{(0,oe.useEffect)(()=>{const r=document.documentElement,n=getComputedStyle(document.documentElement).getPropertyValue("--twd-sidebar-width")||"280px";return e?t==="left"?r.style.marginLeft=n:r.style.marginRight=n:(r.style.marginRight="0",r.style.marginLeft="0"),()=>{r.style.marginRight="0",r.style.marginLeft="0"}},[e,t])},$u=()=>(0,j.jsxs)(Lr,{className:"lucide-wifi-pen-icon lucide-wifi-pen",dataTestId:"wifi-pen-icon",children:[(0,j.jsx)("path",{d:"M2 8.82a15 15 0 0 1 20 0"}),(0,j.jsx)("path",{d:"M21.378 16.626a1 1 0 0 0-3.004-3.004l-4.01 4.012a2 2 0 0 0-.506.854l-.837 2.87a.5.5 0 0 0 .62.62l2.87-.837a2 2 0 0 0 .854-.506z"}),(0,j.jsx)("path",{d:"M5 12.859a10 10 0 0 1 10.5-2.222"}),(0,j.jsx)("path",{d:"M8.5 16.429a5 5 0 0 1 3-1.406"})]}),Fu=()=>{const e=To(),t=e.filter(n=>n.executed),r=()=>{console.group("🌐 TWD Mock Rules"),console.log("Total rules:",e.length),console.log("Triggered rules:",t.length),console.log("Rules details:"),console.log(e),console.groupEnd()};return(0,j.jsxs)("button",{onClick:r,"aria-label":"View mock rules details in console",className:"twd-btn twd-btn-mock-rules",children:[(0,j.jsx)($u,{}),(0,j.jsxs)("span",{style:{flex:1},children:["Rules: ",t.length,"/",e.length," triggered"]}),(0,j.jsx)("span",{style:{fontSize:"var(--twd-font-size-xs)",color:"var(--twd-text)",fontWeight:"var(--twd-font-weight-medium)"},children:"View rules in console"})]})},Uu=e=>e instanceof Error&&"actual"in e&&"expected"in e,Ti=e=>e.actual!==void 0&&e.expected!==void 0?{type:"diff",actual:e.actual,expected:e.expected,operator:e.operator}:{type:"message",message:e.message},zu=e=>{const t=Ti(e);if(t.type==="diff"){const r=t.operator||"unknown";console.error(`Assertion failed with operator: ${r}`),console.group("Expected:"),console.log(t.expected),console.groupEnd(),console.group("Actual:"),console.log(t.actual),console.groupEnd()}else console.error(t.message)},Vu=e=>{if(e.status==="pass")return`Test "${e.name}" passed.`;if(e.status==="fail"){if(!e.logs||e.logs.length===0)return`Test "${e.name}" failed.`;const t=e.logs[e.logs.length-1];try{const r=JSON.parse(t);return r.type===Oe.CHAI_MESSAGE||r.type===Oe.ERROR?`Test "${e.name}" failed. ${r.message}`:r.type===Oe.CHAI_DIFF?`Test "${e.name}" failed. Expected value does not match actual value.`:`Test "${e.name}" failed.`}catch{return`Test "${e.name}" failed. ${t}`}}else if(e.status==="skip")return`Test "${e.name}" skipped.`;return""},Hu=e=>{const t=e.filter(i=>i.type==="test"),r=t.filter(i=>i.status==="pass").length,n=t.filter(i=>i.status==="fail").length,a=t.filter(i=>i.status==="skip").length,o=[];return n>0?(o.push("Test run completed."),o.push(`${r} test${r!==1?"s":""} passed`),o.push(`${n} test${n!==1?"s":""} failed`),a>0&&o.push(`${a} test${a!==1?"s":""} skipped`),o.join(", ")+"."):(o.push("All tests passed."),o.push(`${r} test${r!==1?"s":""} completed`),a>0&&o.push(`${a} test${a!==1?"s":""} skipped`),o.join(", ")+".")},Wu=({value:e,onChange:t})=>(0,j.jsx)("div",{className:"twd-search-wrapper",children:(0,j.jsx)("input",{type:"search",id:"twd-search-input","aria-label":"Filter tests",placeholder:"Filter tests...",value:e,onInput:r=>t(r.target.value),className:"twd-search-input"})}),Ku=(e,t)=>{if(!t.trim())return e;const r=t.toLowerCase(),n=a=>{const o=a.name.toLowerCase().includes(r);if(a.type==="test")return o?a:null;const i=(a.childrenNodes||[]).map(n).filter(s=>s!==null);return o||i.length>0?{...a,childrenNodes:o?a.childrenNodes:i}:null};return e.map(n).filter(a=>a!==null)},Gu=e=>{const t=new Map,r=[];for(const n of e)t.set(n.id,{...n,childrenNodes:[]});for(const n of t.values())n.parent?t.get(n.parent)?.childrenNodes?.push(n):r.push(n);return r},Yu={left:{left:0,borderRight:"1px solid var(--twd-border)"},right:{right:0,borderLeft:"1px solid var(--twd-border)"}},Xu=e=>e?sessionStorage.getItem("twd-search-filter")||"":(sessionStorage.removeItem("twd-search-filter"),""),Ju=e=>sessionStorage.getItem("twd-sidebar-open")?sessionStorage.getItem("twd-sidebar-open")==="true":e,Si=e=>{const t=[];for(const r of e)r.type==="test"&&t.push(r.id),r.childrenNodes&&t.push(...Si(r.childrenNodes));return t},Qu=({open:e,position:t="left",search:r})=>{const[n,a]=(0,oe.useState)(0),[o,i]=(0,oe.useState)(Ju(e));Bu({isOpen:o,position:t});const[s,u]=(0,oe.useState)(""),[l,c]=(0,oe.useState)(Xu(r));(0,oe.useEffect)(()=>{const E=()=>a(m=>m+1);return window.addEventListener("twd:state-change",E),()=>window.removeEventListener("twd:state-change",E)},[]);const d=new Mt.TestRunner({onStart:E=>{E.status="running",a(m=>m+1)},onPass:E=>{E.status="pass",a(m=>m+1)},onFail:(E,m)=>{if(E.status="fail",console.group(`%c❌ Test failed: ${E.name}`,"color: red; font-weight: bold;"),Uu(m)){zu(m);const _=Ti(m);_.type==="diff"?E.logs.push(JSON.stringify({type:Oe.CHAI_DIFF,expected:_.expected,actual:_.actual})):E.logs.push(JSON.stringify({type:Oe.CHAI_MESSAGE,message:`Test failed: ${_.message}`}))}else console.error(m.message),E.logs.push(JSON.stringify({type:Oe.ERROR,message:`Test failed: ${m.message}`}));console.groupEnd(),a(_=>_+1)},onSkip:E=>{E.status="skip",a(m=>m+1)}}),p=E=>{c(E),E?sessionStorage.setItem("twd-search-filter",E):sessionStorage.removeItem("twd-search-filter")},f=E=>{i(E),sessionStorage.setItem("twd-sidebar-open",E.toString())},g=Array.from(Mt.handlers.values()),v=(0,oe.useMemo)(()=>Gu(g),[n]),S=(0,oe.useMemo)(()=>Ku(v,l),[v,l]),{filteredTestIds:y,displayTests:w}=(0,oe.useMemo)(()=>{if(l){const E=Si(S),m=new Set(E);return{filteredTestIds:E,displayTests:g.filter(_=>_.type==="test"&&m.has(_.id))}}return{filteredTestIds:null,displayTests:g.filter(E=>E.type==="test")}},[S,l,n]),x=async()=>{u(""),sessionStorage.removeItem("twd-last-run-test-name"),y?await d.runByIds(y):await d.runAll(),u(Hu(g))},M=async E=>{const m=Array.from(Mt.handlers.values()).filter(_=>_.type==="test").find(_=>_.id===E);m&&(u(""),sessionStorage.setItem("twd-last-run-test-name",m.name),await d.runSingle(m.id),u(Vu(m)))};if(!o)return(0,j.jsx)(Lu,{position:t,setOpen:f});const A=w.length;return(0,j.jsxs)("div",{className:"twd-sidebar",style:Yu[t],"data-testid":"twd-sidebar",role:"complementary","aria-label":"Test While Developing sidebar",children:[(0,j.jsx)("div",{"aria-live":"polite","aria-atomic":"true",style:{position:"absolute",width:"1px",height:"1px",margin:"-1px",border:"0",padding:"0",overflow:"hidden",clip:"rect(0 0 0 0)"},children:s}),(0,j.jsxs)("div",{"data-testid":"twd-sidebar-header",className:"twd-sidebar-header",children:[(0,j.jsxs)("div",{className:"twd-sidebar-header-row",children:[(0,j.jsxs)("div",{className:"twd-sidebar-header-buttons",children:[(0,j.jsx)("button",{onClick:x,className:"twd-btn twd-btn-primary",children:(0,j.jsx)("span",{"aria-live":"polite",children:l?"Run Filtered":"Run All"})}),(0,j.jsx)("button",{onClick:()=>{So(),en.clearComponentMocks()},"aria-label":"Clear all mocks",className:"twd-btn twd-btn-secondary",children:"Clear mocks"}),(0,j.jsxs)("span",{className:"twd-sidebar-version",children:["v",Rr]})]}),(0,j.jsx)("button",{"aria-label":"Close sidebar",className:"twd-btn twd-btn-icon",onClick:()=>f(!1),children:"✖"})]}),(0,j.jsxs)("div",{className:"twd-sidebar-stats",children:[(0,j.jsxs)("span",{style:{color:"var(--twd-text)"},children:["Total: ",A]}),(0,j.jsxs)("div",{className:"twd-sidebar-stats-counts",children:[(0,j.jsxs)("span",{style:{color:"var(--twd-success)"},children:["✓ ",w.filter(E=>E.status==="pass").length]}),(0,j.jsxs)("span",{style:{color:"var(--twd-error)"},children:["✗ ",w.filter(E=>E.status==="fail").length]})]})]}),(0,j.jsx)(Fu,{}),r&&(0,j.jsx)(Wu,{value:l,onChange:p})]}),(0,j.jsx)("div",{className:"twd-sidebar-content",children:(0,j.jsx)(ju,{roots:S,runTest:M,searchQuery:l})})]})},xi={primary:"#2563eb",background:"#1e293b",backgroundSecondary:"#182130",border:"#475569",borderLight:"#64748b",text:"#f1f5f9",textSecondary:"#cbd5e1",textMuted:"#94a3b8",describeBg:"#0f172a",describeText:"#94a3b8",describeBorder:"#334155",success:"#22c55e",successBg:"#14532d",error:"#ff5252",errorBg:"#7f1d1d",warning:"#fbbf24",warningBg:"#78350f",skip:"#475569",skipBg:"#334155",buttonPrimary:"#2563eb",buttonPrimaryText:"#ffffff",buttonSecondary:"#334155",buttonSecondaryText:"#f1f5f9",buttonBorder:"#475569",spacingXs:"4px",spacingSm:"6px",spacingMd:"8px",spacingLg:"12px",spacingXl:"14px",fontSizeXs:"10px",fontSizeSm:"12px",fontSizeMd:"14px",fontSizeLg:"16px",fontWeightNormal:"400",fontWeightMedium:"500",fontWeightBold:"700",sidebarWidth:"320px",borderRadius:"8px",borderRadiusLg:"6px",shadow:"2px 0 8px rgba(0,0,0,0.3)",shadowSm:"0 2px 4px rgba(0, 0, 0, 0.2)",zIndexSidebar:"99999",zIndexSticky:"100000",animationDuration:"0.2s",iconColor:"#f1f5f9",iconColorSecondary:"#cbd5e1"};function Zu(e={}){const t={...xi,...e};return Object.entries(t).map(([r,n])=>`${`--twd-${r.replace(/([A-Z])/g,"-$1").toLowerCase()}`}: ${n};`).join(`
20
- `)}function Oi(e){const t="twd-theme-variables";let r=document.getElementById(t);r||(r=document.createElement("style"),r.id=t,document.head.appendChild(r));const n=Zu(e);r.textContent=`
19
+ `;let a=document.getElementById("twd-viewport-badge");a||(a=document.createElement("div"),a.id="twd-viewport-badge",document.body.appendChild(a)),a.textContent=n},Yl=()=>{document.getElementById(rn)?.remove(),document.getElementById("twd-viewport-badge")?.remove()},Xl=(e,t)=>{let r=document.getElementById(nn);return r||(r=document.createElement("iframe"),r.id=nn,r.style.cssText="position:fixed;top:-9999px;left:-9999px;visibility:hidden;pointer-events:none;border:none;",document.body.appendChild(r)),r.style.width=`${e}px`,r.style.height=`${t}px`,r},Jl=()=>{document.getElementById(nn)?.remove()},Ql=(e,t,r)=>{e.originalInnerWidthDesc=Object.getOwnPropertyDescriptor(window,"innerWidth"),e.originalInnerHeightDesc=Object.getOwnPropertyDescriptor(window,"innerHeight"),e.originalMatchMedia=window.matchMedia??null,Object.defineProperty(window,"innerWidth",{get:()=>t,configurable:!0}),r!==void 0&&Object.defineProperty(window,"innerHeight",{get:()=>r,configurable:!0});const n=e.iframe;if(n?.contentWindow?.matchMedia){const a=n.contentWindow.matchMedia.bind(n.contentWindow);window.matchMedia=(o=>a(o))}},Zl=e=>{e.originalInnerWidthDesc?Object.defineProperty(window,"innerWidth",e.originalInnerWidthDesc):delete window.innerWidth,e.originalInnerHeightDesc?Object.defineProperty(window,"innerHeight",e.originalInnerHeightDesc):delete window.innerHeight,e.originalMatchMedia&&(window.matchMedia=e.originalMatchMedia)},eu=(e,t,r)=>{const n=document.styleSheets;for(let a=0;a<n.length;a++){const o=n[a];let i;try{i=o.cssRules}catch{continue}for(let s=i.length-1;s>=0;s--){const u=i[s];u instanceof CSSMediaRule&&tu(e,o,s,u,t,r)}}},tu=(e,t,r,n,a,o)=>{const i=n.conditionText??n.media.mediaText;if(!i)return;const s=o(i).matches,u=a(i).matches;if(s===u)return;const l=n.cssText;if(u&&!s){const c=[];for(let p=0;p<n.cssRules.length;p++)c.push(n.cssRules[p].cssText);t.deleteRule(r);let d=0;for(let p=0;p<c.length;p++)try{t.insertRule(c[p],r+p),d++}catch{}e.patches.push({sheet:t,originalIndex:r,originalCssText:l,injectedRulesCount:d})}else!u&&s&&(t.deleteRule(r),e.patches.push({sheet:t,originalIndex:r,originalCssText:l,injectedRulesCount:0}))},ru=e=>{for(let t=e.patches.length-1;t>=0;t--){const{sheet:r,originalIndex:n,originalCssText:a,injectedRulesCount:o}=e.patches[t];try{for(let i=0;i<o;i++)r.deleteRule(n);r.insertRule(a,n)}catch{}}},nu=(e,t)=>{ut&&xo();const r=Xl(e,t??window.innerHeight),n={patches:[],originalInnerWidthDesc:void 0,originalInnerHeightDesc:void 0,originalMatchMedia:null,iframe:r};ut=n;const a=window.matchMedia?window.matchMedia.bind(window):null;Ql(n,e,t),a&&r.contentWindow?.matchMedia&&eu(n,r.contentWindow.matchMedia.bind(r.contentWindow),a),window.dispatchEvent(new Event("resize"))},xo=()=>{ut&&(ru(ut),Zl(ut),Jl(),ut=null,window.dispatchEvent(new Event("resize")))},au=(e,t)=>{if(e===void 0){Oo();return}Kl();const{style:r}=document.body;r.maxWidth=`${e}px`,r.margin="0 auto",r.overflow="auto",r.boxSizing="border-box",r.boxShadow="0 0 0 1px rgba(37, 99, 235, 0.4)",t!==void 0?(r.minHeight=`${t}px`,r.maxHeight=`${t}px`):(r.minHeight=fe.minHeight,r.maxHeight=fe.maxHeight),nu(e,t),Gl(e,t),te(`viewport(${e}${t!==void 0?`, ${t}`:""})`)},Oo=()=>{if(!fe)return;xo();const{style:e}=document.body;e.maxWidth=fe.maxWidth,e.maxHeight=fe.maxHeight,e.minHeight=fe.minHeight,e.overflow=fe.overflow,e.margin=fe.margin,e.boxSizing=fe.boxSizing,e.boxShadow=fe.boxShadow,fe=null,Yl(),te("resetViewport()")},ou={get:async e=>{const t=`body > div:not(#twd-sidebar-root) ${e}`;te(`Searching get("${e}")`);const r=await Ml(e,()=>document.querySelector(t)),n={el:r,should:(a,...o)=>(te(zr(r,a,...o)),n)};return n},setInputValue:(e,t)=>{const{set:r}=Object.getOwnPropertyDescriptor(e.__proto__,"value");r.call(e,t),e.dispatchEvent(new Event("input",{bubbles:!0}))},getAll:async e=>{const t=`body > div:not(#twd-sidebar-root) ${e}`;return te(`Searching getAll("${e}")`),(await Al(e,()=>document.querySelectorAll(t))).map(r=>{const n={el:r,should:(a,...o)=>(te(zr(r,a,...o)),n)};return n})},visit:Wl,url:Vl,mockRequest:Bl,waitForRequest:Ro,waitForRequests:$l,initRequestMocking:Ll,clearRequestMockRules:So,getRequestMockRules:To,getRequestCount:Fl,getRequestCounts:Ul,should:(e,t,...r)=>{te(zr(e,t,...r))},wait:ur,waitFor:Il,mockComponent:en.mockComponent,clearComponentMocks:en.clearComponentMocks,viewport:au,resetViewport:Oo,notExists:async e=>{const t=`body > div:not(#twd-sidebar-root) ${e}`;if(te(`Checking notExists("${e}")`),document.querySelector(t))throw new Error(`Element "${e}" exists in the DOM.`);te(`Assertion passed: Element "${e}" does not exist in the DOM.`)}},In=Object.defineProperty,iu=(e,t,r)=>t in e?In(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,q=(e,t)=>In(e,"name",{value:t,configurable:!0}),Nn=(e,t)=>{for(var r in t)In(e,r,{get:t[r],enumerable:!0})},Mo=(e,t,r)=>iu(e,typeof t!="symbol"?t+"":t,r),cr={};Nn(cr,{addChainableMethod:()=>Kn,addLengthGuard:()=>Vt,addMethod:()=>Vn,addProperty:()=>zn,checkError:()=>de,compareByInspect:()=>pr,eql:()=>ii,events:()=>Or,expectTypes:()=>$o,flag:()=>z,getActual:()=>Sr,getMessage:()=>Dn,getName:()=>Mr,getOperator:()=>Jn,getOwnEnumerableProperties:()=>Xn,getOwnEnumerablePropertySymbols:()=>Yn,getPathInfo:()=>Fn,hasProperty:()=>xr,inspect:()=>K,isNaN:()=>mr,isNumeric:()=>ae,isProxyEnabled:()=>zt,isRegExp:()=>br,objDisplay:()=>Ze,overwriteChainableMethod:()=>Gn,overwriteMethod:()=>Wn,overwriteProperty:()=>Hn,proxify:()=>Et,test:()=>kn,transferFlags:()=>ye,type:()=>J});var de={};Nn(de,{compatibleConstructor:()=>No,compatibleInstance:()=>Io,compatibleMessage:()=>ko,getConstructorName:()=>jo,getMessage:()=>Do});function Tr(e){return e instanceof Error||Object.prototype.toString.call(e)==="[object Error]"}q(Tr,"isErrorInstance");function Ao(e){return Object.prototype.toString.call(e)==="[object RegExp]"}q(Ao,"isRegExp");function Io(e,t){return Tr(t)&&e===t}q(Io,"compatibleInstance");function No(e,t){return Tr(t)?e.constructor===t.constructor||e instanceof t.constructor:(typeof t=="object"||typeof t=="function")&&t.prototype?e.constructor===t||e instanceof t:!1}q(No,"compatibleConstructor");function ko(e,t){const r=typeof e=="string"?e:e.message;return Ao(t)?t.test(r):typeof t=="string"?r.indexOf(t)!==-1:!1}q(ko,"compatibleMessage");function jo(e){let t=e;return Tr(e)?t=e.constructor.name:typeof e=="function"&&(t=e.name,t===""&&(t=new e().name||t)),t}q(jo,"getConstructorName");function Do(e){let t="";return e&&e.message?t=e.message:typeof e=="string"&&(t=e),t}q(Do,"getMessage");function z(e,t,r){let n=e.__flags||(e.__flags=Object.create(null));if(arguments.length===3)n[t]=r;else return n[t]}q(z,"flag");function kn(e,t){let r=z(e,"negate"),n=t[0];return r?!n:n}q(kn,"test");function J(e){if(typeof e>"u")return"undefined";if(e===null)return"null";const t=e[Symbol.toStringTag];return typeof t=="string"?t:Object.prototype.toString.call(e).slice(8,-1)}q(J,"type");var su="captureStackTrace"in Error,Lo=class Bo extends Error{constructor(t="Unspecified AssertionError",r,n){super(t),Mo(this,"message"),this.message=t,su&&Error.captureStackTrace(this,n||Bo);for(const a in r)a in this||(this[a]=r[a])}get name(){return"AssertionError"}get ok(){return!1}toJSON(t){return{...this,name:this.name,message:this.message,ok:!1,stack:t!==!1?this.stack:void 0}}};q(Lo,"AssertionError");var X=Lo;function $o(e,t){let r=z(e,"message"),n=z(e,"ssfi");r=r?r+": ":"",e=z(e,"object"),t=t.map(function(i){return i.toLowerCase()}),t.sort();let a=t.map(function(i,s){let u=~["a","e","i","o","u"].indexOf(i.charAt(0))?"an":"a";return(t.length>1&&s===t.length-1?"or ":"")+u+" "+i}).join(", "),o=J(e).toLowerCase();if(!t.some(function(i){return o===i}))throw new X(r+"object tested must be "+a+", but "+o+" given",void 0,n)}q($o,"expectTypes");function Sr(e,t){return t.length>4?t[4]:e._obj}q(Sr,"getActual");var ka={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"]},lu={special:"cyan",number:"yellow",bigint:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",symbol:"green",date:"magenta",regexp:"red"},pt="…";function Fo(e,t){const r=ka[lu[t]]||ka[t]||"";return r?`\x1B[${r[0]}m${String(e)}\x1B[${r[1]}m`:String(e)}q(Fo,"colorise");function Uo({showHidden:e=!1,depth:t=2,colors:r=!1,customInspect:n=!0,showProxy:a=!1,maxArrayLength:o=1/0,breakLength:i=1/0,seen:s=[],truncate:u=1/0,stylize:l=String}={},c){const d={showHidden:!!e,depth:Number(t),colors:!!r,customInspect:!!n,showProxy:!!a,maxArrayLength:Number(o),breakLength:Number(i),truncate:Number(u),seen:s,inspect:c,stylize:l};return d.colors&&(d.stylize=Fo),d}q(Uo,"normaliseOptions");function zo(e){return e>="\uD800"&&e<="\uDBFF"}q(zo,"isHighSurrogate");function Ie(e,t,r=pt){e=String(e);const n=r.length,a=e.length;if(n>t&&a>n)return r;if(a>t&&a>n){let o=t-n;return o>0&&zo(e[o-1])&&(o=o-1),`${e.slice(0,o)}${r}`}return e}q(Ie,"truncate");function be(e,t,r,n=", "){r=r||t.inspect;const a=e.length;if(a===0)return"";const o=t.truncate;let i="",s="",u="";for(let l=0;l<a;l+=1){const c=l+1===e.length,d=l+2===e.length;u=`${pt}(${e.length-l})`;const p=e[l];t.truncate=o-i.length-(c?0:n.length);const f=s||r(p,t)+(c?"":n),g=i.length+f.length,v=g+u.length;if(c&&g>o&&i.length+u.length<=o||!c&&!d&&v>o||(s=c?"":r(e[l+1],t)+(d?"":n),!c&&d&&v>o&&g+s.length>o))break;if(i+=f,!c&&!d&&g+s.length>=o){u=`${pt}(${e.length-l-1})`;break}u=""}return`${i}${u}`}q(be,"inspectList");function Vo(e){return e.match(/^[a-zA-Z_][a-zA-Z_0-9]*$/)?e:JSON.stringify(e).replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'")}q(Vo,"quoteComplexKey");function mt([e,t],r){return r.truncate-=2,typeof e=="string"?e=Vo(e):typeof e!="number"&&(e=`[${r.inspect(e,r)}]`),r.truncate-=e.length,t=r.inspect(t,r),`${e}: ${t}`}q(mt,"inspectProperty");function Ho(e,t){const r=Object.keys(e).slice(e.length);if(!e.length&&!r.length)return"[]";t.truncate-=4;const n=be(e,t);t.truncate-=n.length;let a="";return r.length&&(a=be(r.map(o=>[o,e[o]]),t,mt)),`[ ${n}${a?`, ${a}`:""} ]`}q(Ho,"inspectArray");var uu=q(e=>typeof Buffer=="function"&&e instanceof Buffer?"Buffer":e[Symbol.toStringTag]?e[Symbol.toStringTag]:e.constructor.name,"getArrayName");function _e(e,t){const r=uu(e);t.truncate-=r.length+4;const n=Object.keys(e).slice(e.length);if(!e.length&&!n.length)return`${r}[]`;let a="";for(let i=0;i<e.length;i++){const s=`${t.stylize(Ie(e[i],t.truncate),"number")}${i===e.length-1?"":", "}`;if(t.truncate-=s.length,e[i]!==e.length&&t.truncate<=3){a+=`${pt}(${e.length-e[i]+1})`;break}a+=s}let o="";return n.length&&(o=be(n.map(i=>[i,e[i]]),t,mt)),`${r}[ ${a}${o?`, ${o}`:""} ]`}q(_e,"inspectTypedArray");function Wo(e,t){const r=e.toJSON();if(r===null)return"Invalid Date";const n=r.split("T"),a=n[0];return t.stylize(`${a}T${Ie(n[1],t.truncate-a.length-1)}`,"date")}q(Wo,"inspectDate");function an(e,t){const r=e[Symbol.toStringTag]||"Function",n=e.name;return n?t.stylize(`[${r} ${Ie(n,t.truncate-11)}]`,"special"):t.stylize(`[${r}]`,"special")}q(an,"inspectFunction");function Ko([e,t],r){return r.truncate-=4,e=r.inspect(e,r),r.truncate-=e.length,t=r.inspect(t,r),`${e} => ${t}`}q(Ko,"inspectMapEntry");function Go(e){const t=[];return e.forEach((r,n)=>{t.push([n,r])}),t}q(Go,"mapToEntries");function Yo(e,t){return e.size===0?"Map{}":(t.truncate-=7,`Map{ ${be(Go(e),t,Ko)} }`)}q(Yo,"inspectMap");var cu=Number.isNaN||(e=>e!==e);function on(e,t){return cu(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(Ie(String(e),t.truncate),"number")}q(on,"inspectNumber");function sn(e,t){let r=Ie(e.toString(),t.truncate-1);return r!==pt&&(r+="n"),t.stylize(r,"bigint")}q(sn,"inspectBigInt");function Xo(e,t){const r=e.toString().split("/")[2],n=t.truncate-(2+r.length),a=e.source;return t.stylize(`/${Ie(a,n)}/${r}`,"regexp")}q(Xo,"inspectRegExp");function Jo(e){const t=[];return e.forEach(r=>{t.push(r)}),t}q(Jo,"arrayFromSet");function Qo(e,t){return e.size===0?"Set{}":(t.truncate-=7,`Set{ ${be(Jo(e),t)} }`)}q(Qo,"inspectSet");var ja=new RegExp("['\\u0000-\\u001f\\u007f-\\u009f\\u00ad\\u0600-\\u0604\\u070f\\u17b4\\u17b5\\u200c-\\u200f\\u2028-\\u202f\\u2060-\\u206f\\ufeff\\ufff0-\\uffff]","g"),du={"\b":"\\b"," ":"\\t","\n":"\\n","\f":"\\f","\r":"\\r","'":"\\'","\\":"\\\\"},fu=16,pu=4;function Zo(e){return du[e]||`\\u${`0000${e.charCodeAt(0).toString(fu)}`.slice(-pu)}`}q(Zo,"escape");function ln(e,t){return ja.test(e)&&(e=e.replace(ja,Zo)),t.stylize(`'${Ie(e,t.truncate-2)}'`,"string")}q(ln,"inspectString");function un(e){return"description"in Symbol.prototype?e.description?`Symbol(${e.description})`:"Symbol()":e.toString()}q(un,"inspectSymbol");var mu=q(()=>"Promise{…}","getPromiseValue");function At(e,t){const 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.includes(e))return"[Circular]";t.seen.push(e);const a=be(r.map(s=>[s,e[s]]),t,mt),o=be(n.map(s=>[s,e[s]]),t,mt);t.seen.pop();let i="";return a&&o&&(i=", "),`{ ${a}${i}${o} }`}q(At,"inspectObject");var Vr=typeof Symbol<"u"&&Symbol.toStringTag?Symbol.toStringTag:!1;function ei(e,t){let r="";return Vr&&Vr in e&&(r=e[Vr]),r=r||e.constructor.name,(!r||r==="_class")&&(r="<Anonymous Class>"),t.truncate-=r.length,`${r}${At(e,t)}`}q(ei,"inspectClass");function ti(e,t){return e.length===0?"Arguments[]":(t.truncate-=13,`Arguments[ ${be(e,t)} ]`)}q(ti,"inspectArguments");var bu=["stack","line","column","name","message","fileName","lineNumber","columnNumber","number","description","cause"];function ri(e,t){const r=Object.getOwnPropertyNames(e).filter(i=>bu.indexOf(i)===-1),n=e.name;t.truncate-=n.length;let a="";if(typeof e.message=="string"?a=Ie(e.message,t.truncate):r.unshift("message"),a=a?`: ${a}`:"",t.truncate-=a.length+5,t.seen=t.seen||[],t.seen.includes(e))return"[Circular]";t.seen.push(e);const o=be(r.map(i=>[i,e[i]]),t,mt);return`${n}${a}${o?` { ${o} }`:""}`}q(ri,"inspectObject");function ni([e,t],r){return r.truncate-=3,t?`${r.stylize(String(e),"yellow")}=${r.stylize(`"${t}"`,"string")}`:`${r.stylize(String(e),"yellow")}`}q(ni,"inspectAttribute");function dr(e,t){return be(e,t,ai,`
20
+ `)}q(dr,"inspectNodeCollection");function ai(e,t){switch(e.nodeType){case 1:return jn(e,t);case 3:return t.inspect(e.data,t);default:return t.inspect(e,t)}}q(ai,"inspectNode");function jn(e,t){const r=e.getAttributeNames(),n=e.tagName.toLowerCase(),a=t.stylize(`<${n}`,"special"),o=t.stylize(">","special"),i=t.stylize(`</${n}>`,"special");t.truncate-=n.length*2+5;let s="";r.length>0&&(s+=" ",s+=be(r.map(c=>[c,e.getAttribute(c)]),t,ni," ")),t.truncate-=s.length;const u=t.truncate;let l=dr(e.children,t);return l&&l.length>u&&(l=`${pt}(${e.children.length})`),`${a}${s}${o}${l}${i}`}q(jn,"inspectHTML");var Hr=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("chai/inspect"):"@@chai/inspect",Wr=Symbol.for("nodejs.util.inspect.custom"),Da=new WeakMap,La={},Ba={undefined:q((e,t)=>t.stylize("undefined","undefined"),"undefined"),null:q((e,t)=>t.stylize("null","null"),"null"),boolean:q((e,t)=>t.stylize(String(e),"boolean"),"boolean"),Boolean:q((e,t)=>t.stylize(String(e),"boolean"),"Boolean"),number:on,Number:on,bigint:sn,BigInt:sn,string:ln,String:ln,function:an,Function:an,symbol:un,Symbol:un,Array:Ho,Date:Wo,Map:Yo,Set:Qo,RegExp:Xo,Promise:mu,WeakSet:q((e,t)=>t.stylize("WeakSet{…}","special"),"WeakSet"),WeakMap:q((e,t)=>t.stylize("WeakMap{…}","special"),"WeakMap"),Arguments:ti,Int8Array:_e,Uint8Array:_e,Uint8ClampedArray:_e,Int16Array:_e,Uint16Array:_e,Int32Array:_e,Uint32Array:_e,Float32Array:_e,Float64Array:_e,Generator:q(()=>"","Generator"),DataView:q(()=>"","DataView"),ArrayBuffer:q(()=>"","ArrayBuffer"),Error:ri,HTMLCollection:dr,NodeList:dr},hu=q((e,t,r,n)=>Hr in e&&typeof e[Hr]=="function"?e[Hr](t):Wr in e&&typeof e[Wr]=="function"?e[Wr](t.depth,t,n):"inspect"in e&&typeof e.inspect=="function"?e.inspect(t.depth,t):"constructor"in e&&Da.has(e.constructor)?Da.get(e.constructor)(e,t):La[r]?La[r](e,t):"","inspectCustom"),vu=Object.prototype.toString;function It(e,t={}){const r=Uo(t,It),{customInspect:n}=r;let a=e===null?"null":typeof e;if(a==="object"&&(a=vu.call(e).slice(8,-1)),a in Ba)return Ba[a](e,r);if(n&&e){const i=hu(e,r,a,It);if(i)return typeof i=="string"?i:It(i,r)}const o=e?Object.getPrototypeOf(e):!1;return o===Object.prototype||o===null?At(e,r):e&&typeof HTMLElement=="function"&&e instanceof HTMLElement?jn(e,r):"constructor"in e?e.constructor!==Object?ei(e,r):At(e,r):e===Object(e)?At(e,r):r.stylize(String(e),a)}q(It,"inspect");var se={includeStack:!1,showDiff:!0,truncateThreshold:40,useProxy:!0,proxyExcludedKeys:["then","catch","inspect","toJSON"],deepEqual:null};function K(e,t,r,n){return It(e,{colors:n,depth:typeof r>"u"?2:r,showHidden:t,truncate:se.truncateThreshold?se.truncateThreshold:1/0})}q(K,"inspect");function Ze(e){let t=K(e),r=Object.prototype.toString.call(e);if(se.truncateThreshold&&t.length>=se.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]"){let n=Object.keys(e);return"{ Object ("+(n.length>2?n.splice(0,2).join(", ")+", ...":n.join(", "))+") }"}else return t}else return t}q(Ze,"objDisplay");function Dn(e,t){let r=z(e,"negate"),n=z(e,"object"),a=t[3],o=Sr(e,t),i=r?t[2]:t[1],s=z(e,"message");return typeof i=="function"&&(i=i()),i=i||"",i=i.replace(/#\{this\}/g,function(){return Ze(n)}).replace(/#\{act\}/g,function(){return Ze(o)}).replace(/#\{exp\}/g,function(){return Ze(a)}),s?s+": "+i:i}q(Dn,"getMessage");function ye(e,t,r){let n=e.__flags||(e.__flags=Object.create(null));t.__flags||(t.__flags=Object.create(null)),r=arguments.length===3?r:!0;for(let a in n)(r||a!=="object"&&a!=="ssfi"&&a!=="lockSsfi"&&a!="message")&&(t.__flags[a]=n[a])}q(ye,"transferFlags");function cn(e){if(typeof e>"u")return"undefined";if(e===null)return"null";const t=e[Symbol.toStringTag];return typeof t=="string"?t:Object.prototype.toString.call(e).slice(8,-1)}q(cn,"type");function Ln(){this._key="chai/deep-eql__"+Math.random()+Date.now()}q(Ln,"FakeMap");Ln.prototype={get:q(function(t){return t[this._key]},"get"),set:q(function(t,r){Object.isExtensible(t)&&Object.defineProperty(t,this._key,{value:r,configurable:!0})},"set")};var oi=typeof WeakMap=="function"?WeakMap:Ln;function dn(e,t,r){if(!r||rt(e)||rt(t))return null;var n=r.get(e);if(n){var a=n.get(t);if(typeof a=="boolean")return a}return null}q(dn,"memoizeCompare");function Tt(e,t,r,n){if(!(!r||rt(e)||rt(t))){var a=r.get(e);a?a.set(t,n):(a=new oi,a.set(t,n),r.set(e,a))}}q(Tt,"memoizeSet");var ii=Ut;function Ut(e,t,r){if(r&&r.comparator)return fn(e,t,r);var n=Bn(e,t);return n!==null?n:fn(e,t,r)}q(Ut,"deepEqual");function Bn(e,t){return e===t?e!==0||1/e===1/t:e!==e&&t!==t?!0:rt(e)||rt(t)?!1:null}q(Bn,"simpleEqual");function fn(e,t,r){r=r||{},r.memoize=r.memoize===!1?!1:r.memoize||new oi;var n=r&&r.comparator,a=dn(e,t,r.memoize);if(a!==null)return a;var o=dn(t,e,r.memoize);if(o!==null)return o;if(n){var i=n(e,t);if(i===!1||i===!0)return Tt(e,t,r.memoize,i),i;var s=Bn(e,t);if(s!==null)return s}var u=cn(e);if(u!==cn(t))return Tt(e,t,r.memoize,!1),!1;Tt(e,t,r.memoize,!0);var l=si(e,t,u,r);return Tt(e,t,r.memoize,l),l}q(fn,"extensiveDeepEqual");function si(e,t,r,n){switch(r){case"String":case"Number":case"Boolean":case"Date":return Ut(e.valueOf(),t.valueOf());case"Promise":case"Symbol":case"function":case"WeakMap":case"WeakSet":return e===t;case"Error":return $n(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 ze(e,t,n);case"RegExp":return li(e,t);case"Generator":return ui(e,t,n);case"DataView":return ze(new Uint8Array(e.buffer),new Uint8Array(t.buffer),n);case"ArrayBuffer":return ze(new Uint8Array(e),new Uint8Array(t),n);case"Set":return pn(e,t,n);case"Map":return pn(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 di(e,t,n)}}q(si,"extensiveDeepEqualByType");function li(e,t){return e.toString()===t.toString()}q(li,"regexpEqual");function pn(e,t,r){try{if(e.size!==t.size)return!1;if(e.size===0)return!0}catch{return!1}var n=[],a=[];return e.forEach(q(function(i,s){n.push([i,s])},"gatherEntries")),t.forEach(q(function(i,s){a.push([i,s])},"gatherEntries")),ze(n.sort(),a.sort(),r)}q(pn,"entriesEqual");function ze(e,t,r){var n=e.length;if(n!==t.length)return!1;if(n===0)return!0;for(var a=-1;++a<n;)if(Ut(e[a],t[a],r)===!1)return!1;return!0}q(ze,"iterableEqual");function ui(e,t,r){return ze(fr(e),fr(t),r)}q(ui,"generatorEqual");function ci(e){return typeof Symbol<"u"&&typeof e=="object"&&typeof Symbol.iterator<"u"&&typeof e[Symbol.iterator]=="function"}q(ci,"hasIteratorFunction");function mn(e){if(ci(e))try{return fr(e[Symbol.iterator]())}catch{return[]}return[]}q(mn,"getIteratorEntries");function fr(e){for(var t=e.next(),r=[t.value];t.done===!1;)t=e.next(),r.push(t.value);return r}q(fr,"getGeneratorEntries");function bn(e){var t=[];for(var r in e)t.push(r);return t}q(bn,"getEnumerableKeys");function hn(e){for(var t=[],r=Object.getOwnPropertySymbols(e),n=0;n<r.length;n+=1){var a=r[n];Object.getOwnPropertyDescriptor(e,a).enumerable&&t.push(a)}return t}q(hn,"getEnumerableSymbols");function $n(e,t,r,n){var a=r.length;if(a===0)return!0;for(var o=0;o<a;o+=1)if(Ut(e[r[o]],t[r[o]],n)===!1)return!1;return!0}q($n,"keysEqual");function di(e,t,r){var n=bn(e),a=bn(t),o=hn(e),i=hn(t);if(n=n.concat(o),a=a.concat(i),n.length&&n.length===a.length)return ze(vn(n).sort(),vn(a).sort())===!1?!1:$n(e,t,n,r);var s=mn(e),u=mn(t);return s.length&&s.length===u.length?(s.sort(),u.sort(),ze(s,u,r)):n.length===0&&s.length===0&&a.length===0&&u.length===0}q(di,"objectEqual");function rt(e){return e===null||typeof e!="object"}q(rt,"isPrimitive");function vn(e){return e.map(q(function(r){return typeof r=="symbol"?r.toString():r},"mapSymbol"))}q(vn,"mapSymbols");function xr(e,t){return typeof e>"u"||e===null?!1:t in Object(e)}q(xr,"hasProperty");function fi(e){return e.replace(/([^\\])\[/g,"$1.[").match(/(\\\.|[^.]+?)+/g).map(t=>{if(t==="constructor"||t==="__proto__"||t==="prototype")return{};const r=/^\[(\d+)\]$/.exec(t);let n=null;return r?n={i:parseFloat(r[1])}:n={p:t.replace(/\\([.[\]])/g,"$1")},n})}q(fi,"parsePath");function gn(e,t,r){let n=e,a=null;r=typeof r>"u"?t.length:r;for(let o=0;o<r;o++){const i=t[o];n&&(typeof i.p>"u"?n=n[i.i]:n=n[i.p],o===r-1&&(a=n))}return a}q(gn,"internalGetPathValue");function Fn(e,t){const r=fi(t),n=r[r.length-1],a={parent:r.length>1?gn(e,r,r.length-1):e,name:n.p||n.i,value:gn(e,r)};return a.exists=xr(a.parent,a.name),a}q(Fn,"getPathInfo");var pi=class mi{constructor(t,r,n,a){return Mo(this,"__flags",{}),z(this,"ssfi",n||mi),z(this,"lockSsfi",a),z(this,"object",t),z(this,"message",r),z(this,"eql",se.deepEqual||ii),Et(this)}static get includeStack(){return console.warn("Assertion.includeStack is deprecated, use chai.config.includeStack instead."),se.includeStack}static set includeStack(t){console.warn("Assertion.includeStack is deprecated, use chai.config.includeStack instead."),se.includeStack=t}static get showDiff(){return console.warn("Assertion.showDiff is deprecated, use chai.config.showDiff instead."),se.showDiff}static set showDiff(t){console.warn("Assertion.showDiff is deprecated, use chai.config.showDiff instead."),se.showDiff=t}static addProperty(t,r){zn(this.prototype,t,r)}static addMethod(t,r){Vn(this.prototype,t,r)}static addChainableMethod(t,r,n){Kn(this.prototype,t,r,n)}static overwriteProperty(t,r){Hn(this.prototype,t,r)}static overwriteMethod(t,r){Wn(this.prototype,t,r)}static overwriteChainableMethod(t,r,n){Gn(this.prototype,t,r,n)}assert(t,r,n,a,o,i){const s=kn(this,arguments);if(i!==!1&&(i=!0),a===void 0&&o===void 0&&(i=!1),se.showDiff!==!0&&(i=!1),!s){r=Dn(this,arguments);const u={actual:Sr(this,arguments),expected:a,showDiff:i},l=Jn(this,arguments);throw l&&(u.operator=l),new X(r,u,se.includeStack?this.assert:z(this,"ssfi"))}}get _obj(){return z(this,"object")}set _obj(t){z(this,"object",t)}};q(pi,"Assertion");var h=pi,Or=new EventTarget,bi=class extends Event{constructor(t,r,n){super(t),this.name=String(r),this.fn=n}};q(bi,"PluginEvent");var Un=bi;function zt(){return se.useProxy&&typeof Proxy<"u"&&typeof Reflect<"u"}q(zt,"isProxyEnabled");function zn(e,t,r){r=r===void 0?function(){}:r,Object.defineProperty(e,t,{get:q(function n(){!zt()&&!z(this,"lockSsfi")&&z(this,"ssfi",n);let a=r.call(this);if(a!==void 0)return a;let o=new h;return ye(this,o),o},"propertyGetter"),configurable:!0}),Or.dispatchEvent(new Un("addProperty",t,r))}q(zn,"addProperty");var gu=Object.getOwnPropertyDescriptor(function(){},"length");function Vt(e,t,r){return gu.configurable&&Object.defineProperty(e,"length",{get:q(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+'".')},"get")}),e}q(Vt,"addLengthGuard");function hi(e){let t=Object.getOwnPropertyNames(e);function r(a){t.indexOf(a)===-1&&t.push(a)}q(r,"addProperty");let n=Object.getPrototypeOf(e);for(;n!==null;)Object.getOwnPropertyNames(n).forEach(r),n=Object.getPrototypeOf(n);return t}q(hi,"getProperties");var $a=["__flags","__methods","_obj","assert"];function Et(e,t){return zt()?new Proxy(e,{get:q(function r(n,a){if(typeof a=="string"&&se.proxyExcludedKeys.indexOf(a)===-1&&!Reflect.has(n,a)){if(t)throw Error("Invalid Chai property: "+t+"."+a+'. See docs for proper usage of "'+t+'".');let o=null,i=4;throw hi(n).forEach(function(s){if(!Object.prototype.hasOwnProperty(s)&&$a.indexOf(s)===-1){let u=vi(a,s,i);u<i&&(o=s,i=u)}}),Error(o!==null?"Invalid Chai property: "+a+'. Did you mean "'+o+'"?':"Invalid Chai property: "+a)}return $a.indexOf(a)===-1&&!z(n,"lockSsfi")&&z(n,"ssfi",r),Reflect.get(n,a)},"proxyGetter")}):e}q(Et,"proxify");function vi(e,t,r){if(Math.abs(e.length-t.length)>=r)return r;let n=[];for(let a=0;a<=e.length;a++)n[a]=Array(t.length+1).fill(0),n[a][0]=a;for(let a=0;a<t.length;a++)n[0][a]=a;for(let a=1;a<=e.length;a++){let o=e.charCodeAt(a-1);for(let i=1;i<=t.length;i++){if(Math.abs(a-i)>=r){n[a][i]=r;continue}n[a][i]=Math.min(n[a-1][i]+1,n[a][i-1]+1,n[a-1][i-1]+(o===t.charCodeAt(i-1)?0:1))}}return n[e.length][t.length]}q(vi,"stringDistanceCapped");function Vn(e,t,r){let n=q(function(){z(this,"lockSsfi")||z(this,"ssfi",n);let a=r.apply(this,arguments);if(a!==void 0)return a;let o=new h;return ye(this,o),o},"methodWrapper");Vt(n,t,!1),e[t]=Et(n,t),Or.dispatchEvent(new Un("addMethod",t,r))}q(Vn,"addMethod");function Hn(e,t,r){let n=Object.getOwnPropertyDescriptor(e,t),a=q(function(){},"_super");n&&typeof n.get=="function"&&(a=n.get),Object.defineProperty(e,t,{get:q(function o(){!zt()&&!z(this,"lockSsfi")&&z(this,"ssfi",o);let i=z(this,"lockSsfi");z(this,"lockSsfi",!0);let s=r(a).call(this);if(z(this,"lockSsfi",i),s!==void 0)return s;let u=new h;return ye(this,u),u},"overwritingPropertyGetter"),configurable:!0})}q(Hn,"overwriteProperty");function Wn(e,t,r){let n=e[t],a=q(function(){throw new Error(t+" is not a function")},"_super");n&&typeof n=="function"&&(a=n);let o=q(function(){z(this,"lockSsfi")||z(this,"ssfi",o);let i=z(this,"lockSsfi");z(this,"lockSsfi",!0);let s=r(a).apply(this,arguments);if(z(this,"lockSsfi",i),s!==void 0)return s;let u=new h;return ye(this,u),u},"overwritingMethodWrapper");Vt(o,t,!1),e[t]=Et(o,t)}q(Wn,"overwriteMethod");var yu=typeof Object.setPrototypeOf=="function",Fa=q(function(){},"testFn"),wu=Object.getOwnPropertyNames(Fa).filter(function(e){let t=Object.getOwnPropertyDescriptor(Fa,e);return typeof t!="object"?!0:!t.configurable}),Eu=Function.prototype.call,_u=Function.prototype.apply,gi=class extends Un{constructor(t,r,n,a){super(t,r,n),this.chainingBehavior=a}};q(gi,"PluginAddChainableMethodEvent");var Cu=gi;function Kn(e,t,r,n){typeof n!="function"&&(n=q(function(){},"chainingBehavior"));let a={method:r,chainingBehavior:n};e.__methods||(e.__methods={}),e.__methods[t]=a,Object.defineProperty(e,t,{get:q(function(){a.chainingBehavior.call(this);let i=q(function(){z(this,"lockSsfi")||z(this,"ssfi",i);let s=a.method.apply(this,arguments);if(s!==void 0)return s;let u=new h;return ye(this,u),u},"chainableMethodWrapper");if(Vt(i,t,!0),yu){let s=Object.create(this);s.call=Eu,s.apply=_u,Object.setPrototypeOf(i,s)}else Object.getOwnPropertyNames(e).forEach(function(s){wu.indexOf(s)===-1&&Object.defineProperty(i,s,Object.getOwnPropertyDescriptor(e,s))});return ye(this,i),Et(i)},"chainableMethodGetter"),configurable:!0}),Or.dispatchEvent(new Cu("addChainableMethod",t,r,n))}q(Kn,"addChainableMethod");function Gn(e,t,r,n){let a=e.__methods[t],o=a.chainingBehavior;a.chainingBehavior=q(function(){let u=n(o).call(this);if(u!==void 0)return u;let l=new h;return ye(this,l),l},"overwritingChainableMethodGetter");let i=a.method;a.method=q(function(){let u=r(i).apply(this,arguments);if(u!==void 0)return u;let l=new h;return ye(this,l),l},"overwritingChainableMethodWrapper")}q(Gn,"overwriteChainableMethod");function pr(e,t){return K(e)<K(t)?-1:1}q(pr,"compareByInspect");function Yn(e){return typeof Object.getOwnPropertySymbols!="function"?[]:Object.getOwnPropertySymbols(e).filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})}q(Yn,"getOwnEnumerablePropertySymbols");function Xn(e){return Object.keys(e).concat(Yn(e))}q(Xn,"getOwnEnumerableProperties");var mr=Number.isNaN;function yi(e){let t=J(e);return["Array","Object","Function"].indexOf(t)!==-1}q(yi,"isObjectType");function Jn(e,t){let r=z(e,"operator"),n=z(e,"negate"),a=t[3],o=n?t[2]:t[1];if(r)return r;if(typeof o=="function"&&(o=o()),o=o||"",!o||/\shave\s/.test(o))return;let i=yi(a);return/\snot\s/.test(o)?i?"notDeepStrictEqual":"notStrictEqual":i?"deepStrictEqual":"strictEqual"}q(Jn,"getOperator");function Mr(e){return e.name}q(Mr,"getName");function br(e){return Object.prototype.toString.call(e)==="[object RegExp]"}q(br,"isRegExp");function ae(e){return["Number","BigInt"].includes(J(e))}q(ae,"isNumeric");var{flag:C}=cr;["to","be","been","is","and","has","have","with","that","which","at","of","same","but","does","still","also"].forEach(function(e){h.addProperty(e)});h.addProperty("not",function(){C(this,"negate",!0)});h.addProperty("deep",function(){C(this,"deep",!0)});h.addProperty("nested",function(){C(this,"nested",!0)});h.addProperty("own",function(){C(this,"own",!0)});h.addProperty("ordered",function(){C(this,"ordered",!0)});h.addProperty("any",function(){C(this,"any",!0),C(this,"all",!1)});h.addProperty("all",function(){C(this,"all",!0),C(this,"any",!1)});var Ua={function:["function","asyncfunction","generatorfunction","asyncgeneratorfunction"],asyncfunction:["asyncfunction","asyncgeneratorfunction"],generatorfunction:["generatorfunction","asyncgeneratorfunction"],asyncgeneratorfunction:["asyncgeneratorfunction"]};function Qn(e,t){t&&C(this,"message",t),e=e.toLowerCase();let r=C(this,"object"),n=~["a","e","i","o","u"].indexOf(e.charAt(0))?"an ":"a ";const a=J(r).toLowerCase();Ua.function.includes(e)?this.assert(Ua[e].includes(a),"expected #{this} to be "+n+e,"expected #{this} not to be "+n+e):this.assert(e===a,"expected #{this} to be "+n+e,"expected #{this} not to be "+n+e)}q(Qn,"an");h.addChainableMethod("an",Qn);h.addChainableMethod("a",Qn);function wi(e,t){return mr(e)&&mr(t)||e===t}q(wi,"SameValueZero");function Ht(){C(this,"contains",!0)}q(Ht,"includeChainingBehavior");function Wt(e,t){t&&C(this,"message",t);let r=C(this,"object"),n=J(r).toLowerCase(),a=C(this,"message"),o=C(this,"negate"),i=C(this,"ssfi"),s=C(this,"deep"),u=s?"deep ":"",l=s?C(this,"eql"):wi;a=a?a+": ":"";let c=!1;switch(n){case"string":c=r.indexOf(e)!==-1;break;case"weakset":if(s)throw new X(a+"unable to use .deep.include with WeakSet",void 0,i);c=r.has(e);break;case"map":r.forEach(function(d){c=c||l(d,e)});break;case"set":s?r.forEach(function(d){c=c||l(d,e)}):c=r.has(e);break;case"array":s?c=r.some(function(d){return l(d,e)}):c=r.indexOf(e)!==-1;break;default:{if(e!==Object(e))throw new X(a+"the given combination of arguments ("+n+" and "+J(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 "+J(e).toLowerCase(),void 0,i);let d=Object.keys(e),p=null,f=0;if(d.forEach(function(g){let v=new h(r);if(ye(this,v,!0),C(v,"lockSsfi",!0),!o||d.length===1){v.property(g,e[g]);return}try{v.property(g,e[g])}catch(S){if(!de.compatibleConstructor(S,X))throw S;p===null&&(p=S),f++}},this),o&&d.length>1&&f===d.length)throw p;return}}this.assert(c,"expected #{this} to "+u+"include "+K(e),"expected #{this} to not "+u+"include "+K(e))}q(Wt,"include");h.addChainableMethod("include",Wt,Ht);h.addChainableMethod("contain",Wt,Ht);h.addChainableMethod("contains",Wt,Ht);h.addChainableMethod("includes",Wt,Ht);h.addProperty("ok",function(){this.assert(C(this,"object"),"expected #{this} to be truthy","expected #{this} to be falsy")});h.addProperty("true",function(){this.assert(C(this,"object")===!0,"expected #{this} to be true","expected #{this} to be false",!C(this,"negate"))});h.addProperty("numeric",function(){const e=C(this,"object");this.assert(["Number","BigInt"].includes(J(e)),"expected #{this} to be numeric","expected #{this} to not be numeric",!C(this,"negate"))});h.addProperty("callable",function(){const e=C(this,"object"),t=C(this,"ssfi"),r=C(this,"message"),n=r?`${r}: `:"",a=C(this,"negate"),o=a?`${n}expected ${K(e)} not to be a callable function`:`${n}expected ${K(e)} to be a callable function`,i=["Function","AsyncFunction","GeneratorFunction","AsyncGeneratorFunction"].includes(J(e));if(i&&a||!i&&!a)throw new X(o,void 0,t)});h.addProperty("false",function(){this.assert(C(this,"object")===!1,"expected #{this} to be false","expected #{this} to be true",!!C(this,"negate"))});h.addProperty("null",function(){this.assert(C(this,"object")===null,"expected #{this} to be null","expected #{this} not to be null")});h.addProperty("undefined",function(){this.assert(C(this,"object")===void 0,"expected #{this} to be undefined","expected #{this} not to be undefined")});h.addProperty("NaN",function(){this.assert(mr(C(this,"object")),"expected #{this} to be NaN","expected #{this} not to be NaN")});function Zn(){let e=C(this,"object");this.assert(e!=null,"expected #{this} to exist","expected #{this} to not exist")}q(Zn,"assertExist");h.addProperty("exist",Zn);h.addProperty("exists",Zn);h.addProperty("empty",function(){let e=C(this,"object"),t=C(this,"ssfi"),r=C(this,"message"),n;switch(r=r?r+": ":"",J(e).toLowerCase()){case"array":case"string":n=e.length;break;case"map":case"set":n=e.size;break;case"weakmap":case"weakset":throw new X(r+".empty was passed a weak collection",void 0,t);case"function":throw new X((r+".empty was passed a function "+Mr(e)).trim(),void 0,t);default:if(e!==Object(e))throw new X(r+".empty was passed non-string primitive "+K(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 ea(){let e=J(C(this,"object"));this.assert(e==="Arguments","expected #{this} to be arguments but got "+e,"expected #{this} to not be arguments")}q(ea,"checkArguments");h.addProperty("arguments",ea);h.addProperty("Arguments",ea);function Ar(e,t){t&&C(this,"message",t);let r=C(this,"object");if(C(this,"deep")){let n=C(this,"lockSsfi");C(this,"lockSsfi",!0),this.eql(e),C(this,"lockSsfi",n)}else this.assert(e===r,"expected #{this} to equal #{exp}","expected #{this} to not equal #{exp}",e,this._obj,!0)}q(Ar,"assertEqual");h.addMethod("equal",Ar);h.addMethod("equals",Ar);h.addMethod("eq",Ar);function ta(e,t){t&&C(this,"message",t);let r=C(this,"eql");this.assert(r(e,C(this,"object")),"expected #{this} to deeply equal #{exp}","expected #{this} to not deeply equal #{exp}",e,this._obj,!0)}q(ta,"assertEql");h.addMethod("eql",ta);h.addMethod("eqls",ta);function Ir(e,t){t&&C(this,"message",t);let r=C(this,"object"),n=C(this,"doLength"),a=C(this,"message"),o=a?a+": ":"",i=C(this,"ssfi"),s=J(r).toLowerCase(),u=J(e).toLowerCase();if(n&&s!=="map"&&s!=="set"&&new h(r,a,i,!0).to.have.property("length"),!n&&s==="date"&&u!=="date")throw new X(o+"the argument to above must be a date",void 0,i);if(!ae(e)&&(n||ae(r)))throw new X(o+"the argument to above must be a number",void 0,i);if(!n&&s!=="date"&&!ae(r)){let l=s==="string"?"'"+r+"'":r;throw new X(o+"expected "+l+" to be a number or a date",void 0,i)}if(n){let l="length",c;s==="map"||s==="set"?(l="size",c=r.size):c=r.length,this.assert(c>e,"expected #{this} to have a "+l+" above #{exp} but got #{act}","expected #{this} to not have a "+l+" above #{exp}",e,c)}else this.assert(r>e,"expected #{this} to be above #{exp}","expected #{this} to be at most #{exp}",e)}q(Ir,"assertAbove");h.addMethod("above",Ir);h.addMethod("gt",Ir);h.addMethod("greaterThan",Ir);function Nr(e,t){t&&C(this,"message",t);let r=C(this,"object"),n=C(this,"doLength"),a=C(this,"message"),o=a?a+": ":"",i=C(this,"ssfi"),s=J(r).toLowerCase(),u=J(e).toLowerCase(),l,c=!0;if(n&&s!=="map"&&s!=="set"&&new h(r,a,i,!0).to.have.property("length"),!n&&s==="date"&&u!=="date")l=o+"the argument to least must be a date";else if(!ae(e)&&(n||ae(r)))l=o+"the argument to least must be a number";else if(!n&&s!=="date"&&!ae(r)){let d=s==="string"?"'"+r+"'":r;l=o+"expected "+d+" to be a number or a date"}else c=!1;if(c)throw new X(l,void 0,i);if(n){let d="length",p;s==="map"||s==="set"?(d="size",p=r.size):p=r.length,this.assert(p>=e,"expected #{this} to have a "+d+" at least #{exp} but got #{act}","expected #{this} to have a "+d+" below #{exp}",e,p)}else this.assert(r>=e,"expected #{this} to be at least #{exp}","expected #{this} to be below #{exp}",e)}q(Nr,"assertLeast");h.addMethod("least",Nr);h.addMethod("gte",Nr);h.addMethod("greaterThanOrEqual",Nr);function kr(e,t){t&&C(this,"message",t);let r=C(this,"object"),n=C(this,"doLength"),a=C(this,"message"),o=a?a+": ":"",i=C(this,"ssfi"),s=J(r).toLowerCase(),u=J(e).toLowerCase(),l,c=!0;if(n&&s!=="map"&&s!=="set"&&new h(r,a,i,!0).to.have.property("length"),!n&&s==="date"&&u!=="date")l=o+"the argument to below must be a date";else if(!ae(e)&&(n||ae(r)))l=o+"the argument to below must be a number";else if(!n&&s!=="date"&&!ae(r)){let d=s==="string"?"'"+r+"'":r;l=o+"expected "+d+" to be a number or a date"}else c=!1;if(c)throw new X(l,void 0,i);if(n){let d="length",p;s==="map"||s==="set"?(d="size",p=r.size):p=r.length,this.assert(p<e,"expected #{this} to have a "+d+" below #{exp} but got #{act}","expected #{this} to not have a "+d+" below #{exp}",e,p)}else this.assert(r<e,"expected #{this} to be below #{exp}","expected #{this} to be at least #{exp}",e)}q(kr,"assertBelow");h.addMethod("below",kr);h.addMethod("lt",kr);h.addMethod("lessThan",kr);function jr(e,t){t&&C(this,"message",t);let r=C(this,"object"),n=C(this,"doLength"),a=C(this,"message"),o=a?a+": ":"",i=C(this,"ssfi"),s=J(r).toLowerCase(),u=J(e).toLowerCase(),l,c=!0;if(n&&s!=="map"&&s!=="set"&&new h(r,a,i,!0).to.have.property("length"),!n&&s==="date"&&u!=="date")l=o+"the argument to most must be a date";else if(!ae(e)&&(n||ae(r)))l=o+"the argument to most must be a number";else if(!n&&s!=="date"&&!ae(r)){let d=s==="string"?"'"+r+"'":r;l=o+"expected "+d+" to be a number or a date"}else c=!1;if(c)throw new X(l,void 0,i);if(n){let d="length",p;s==="map"||s==="set"?(d="size",p=r.size):p=r.length,this.assert(p<=e,"expected #{this} to have a "+d+" at most #{exp} but got #{act}","expected #{this} to have a "+d+" above #{exp}",e,p)}else this.assert(r<=e,"expected #{this} to be at most #{exp}","expected #{this} to be above #{exp}",e)}q(jr,"assertMost");h.addMethod("most",jr);h.addMethod("lte",jr);h.addMethod("lessThanOrEqual",jr);h.addMethod("within",function(e,t,r){r&&C(this,"message",r);let n=C(this,"object"),a=C(this,"doLength"),o=C(this,"message"),i=o?o+": ":"",s=C(this,"ssfi"),u=J(n).toLowerCase(),l=J(e).toLowerCase(),c=J(t).toLowerCase(),d,p=!0,f=l==="date"&&c==="date"?e.toISOString()+".."+t.toISOString():e+".."+t;if(a&&u!=="map"&&u!=="set"&&new h(n,o,s,!0).to.have.property("length"),!a&&u==="date"&&(l!=="date"||c!=="date"))d=i+"the arguments to within must be dates";else if((!ae(e)||!ae(t))&&(a||ae(n)))d=i+"the arguments to within must be numbers";else if(!a&&u!=="date"&&!ae(n)){let g=u==="string"?"'"+n+"'":n;d=i+"expected "+g+" to be a number or a date"}else p=!1;if(p)throw new X(d,void 0,s);if(a){let g="length",v;u==="map"||u==="set"?(g="size",v=n.size):v=n.length,this.assert(v>=e&&v<=t,"expected #{this} to have a "+g+" within "+f,"expected #{this} to not have a "+g+" within "+f)}else this.assert(n>=e&&n<=t,"expected #{this} to be within "+f,"expected #{this} to not be within "+f)});function ra(e,t){t&&C(this,"message",t);let r=C(this,"object"),n=C(this,"ssfi"),a=C(this,"message"),o;try{o=r instanceof e}catch(s){throw s instanceof TypeError?(a=a?a+": ":"",new X(a+"The instanceof assertion needs a constructor but "+J(e)+" was given.",void 0,n)):s}let i=Mr(e);i==null&&(i="an unnamed constructor"),this.assert(o,"expected #{this} to be an instance of "+i,"expected #{this} to not be an instance of "+i)}q(ra,"assertInstanceOf");h.addMethod("instanceof",ra);h.addMethod("instanceOf",ra);function na(e,t,r){r&&C(this,"message",r);let n=C(this,"nested"),a=C(this,"own"),o=C(this,"message"),i=C(this,"object"),s=C(this,"ssfi"),u=typeof e;if(o=o?o+": ":"",n){if(u!=="string")throw new X(o+"the argument to property must be a string when using nested syntax",void 0,s)}else if(u!=="string"&&u!=="number"&&u!=="symbol")throw new X(o+"the argument to property must be a string, number, or symbol",void 0,s);if(n&&a)throw new X(o+'The "nested" and "own" flags cannot be combined.',void 0,s);if(i==null)throw new X(o+"Target cannot be null or undefined.",void 0,s);let l=C(this,"deep"),c=C(this,"negate"),d=n?Fn(i,e):null,p=n?d.value:i[e],f=l?C(this,"eql"):(S,y)=>S===y,g="";l&&(g+="deep "),a&&(g+="own "),n&&(g+="nested "),g+="property ";let v;a?v=Object.prototype.hasOwnProperty.call(i,e):n?v=d.exists:v=xr(i,e),(!c||arguments.length===1)&&this.assert(v,"expected #{this} to have "+g+K(e),"expected #{this} to not have "+g+K(e)),arguments.length>1&&this.assert(v&&f(t,p),"expected #{this} to have "+g+K(e)+" of #{exp}, but got #{act}","expected #{this} to not have "+g+K(e)+" of #{act}",t,p),C(this,"object",p)}q(na,"assertProperty");h.addMethod("property",na);function aa(e,t,r){C(this,"own",!0),na.apply(this,arguments)}q(aa,"assertOwnProperty");h.addMethod("ownProperty",aa);h.addMethod("haveOwnProperty",aa);function oa(e,t,r){typeof t=="string"&&(r=t,t=null),r&&C(this,"message",r);let n=C(this,"object"),a=Object.getOwnPropertyDescriptor(Object(n),e),o=C(this,"eql");a&&t?this.assert(o(t,a),"expected the own property descriptor for "+K(e)+" on #{this} to match "+K(t)+", got "+K(a),"expected the own property descriptor for "+K(e)+" on #{this} to not match "+K(t),t,a,!0):this.assert(a,"expected #{this} to have an own property descriptor for "+K(e),"expected #{this} to not have an own property descriptor for "+K(e)),C(this,"object",a)}q(oa,"assertOwnPropertyDescriptor");h.addMethod("ownPropertyDescriptor",oa);h.addMethod("haveOwnPropertyDescriptor",oa);function ia(){C(this,"doLength",!0)}q(ia,"assertLengthChain");function sa(e,t){t&&C(this,"message",t);let r=C(this,"object"),n=J(r).toLowerCase(),a=C(this,"message"),o=C(this,"ssfi"),i="length",s;switch(n){case"map":case"set":i="size",s=r.size;break;default:new h(r,a,o,!0).to.have.property("length"),s=r.length}this.assert(s==e,"expected #{this} to have a "+i+" of #{exp} but got #{act}","expected #{this} to not have a "+i+" of #{act}",e,s)}q(sa,"assertLength");h.addChainableMethod("length",sa,ia);h.addChainableMethod("lengthOf",sa,ia);function la(e,t){t&&C(this,"message",t);let r=C(this,"object");this.assert(e.exec(r),"expected #{this} to match "+e,"expected #{this} not to match "+e)}q(la,"assertMatch");h.addMethod("match",la);h.addMethod("matches",la);h.addMethod("string",function(e,t){t&&C(this,"message",t);let r=C(this,"object");new h(r,C(this,"message"),C(this,"ssfi"),!0).is.a("string"),this.assert(~r.indexOf(e),"expected #{this} to contain "+K(e),"expected #{this} to not contain "+K(e))});function ua(e){let t=C(this,"object"),r=J(t),n=J(e),a=C(this,"ssfi"),o=C(this,"deep"),i,s="",u,l=!0,c=C(this,"message");c=c?c+": ":"";let d=c+"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")s=o?"deeply ":"",u=[],t.forEach(function(y,w){u.push(w)}),n!=="Array"&&(e=Array.prototype.slice.call(arguments));else{switch(u=Xn(t),n){case"Array":if(arguments.length>1)throw new X(d,void 0,a);break;case"Object":if(arguments.length>1)throw new X(d,void 0,a);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 X(c+"keys required",void 0,a);let p=e.length,f=C(this,"any"),g=C(this,"all"),v=e,S=o?C(this,"eql"):(y,w)=>y===w;if(!f&&!g&&(g=!0),f&&(l=v.some(function(y){return u.some(function(w){return S(y,w)})})),g&&(l=v.every(function(y){return u.some(function(w){return S(y,w)})}),C(this,"contains")||(l=l&&e.length==u.length)),p>1){e=e.map(function(w){return K(w)});let y=e.pop();g&&(i=e.join(", ")+", and "+y),f&&(i=e.join(", ")+", or "+y)}else i=K(e[0]);i=(p>1?"keys ":"key ")+i,i=(C(this,"contains")?"contain ":"have ")+i,this.assert(l,"expected #{this} to "+s+i,"expected #{this} to not "+s+i,v.slice(0).sort(pr),u.sort(pr),!0)}q(ua,"assertKeys");h.addMethod("keys",ua);h.addMethod("key",ua);function Dr(e,t,r){r&&C(this,"message",r);let n=C(this,"object"),a=C(this,"ssfi"),o=C(this,"message"),i=C(this,"negate")||!1;new h(n,o,a,!0).is.a("function"),(br(e)||typeof e=="string")&&(t=e,e=null);let s,u=!1;try{n()}catch(f){u=!0,s=f}let l=e===void 0&&t===void 0,c=!!(e&&t),d=!1,p=!1;if(l||!l&&!i){let f="an error";e instanceof Error?f="#{exp}":e&&(f=de.getConstructorName(e));let g=s;if(s instanceof Error)g=s.toString();else if(typeof s=="string")g=s;else if(s&&(typeof s=="object"||typeof s=="function"))try{g=de.getConstructorName(s)}catch{}this.assert(u,"expected #{this} to throw "+f,"expected #{this} to not throw an error but #{act} was thrown",e&&e.toString(),g)}if(e&&s&&(e instanceof Error&&de.compatibleInstance(s,e)===i&&(c&&i?d=!0:this.assert(i,"expected #{this} to throw #{exp} but #{act} was thrown","expected #{this} to not throw #{exp}"+(s&&!i?" but #{act} was thrown":""),e.toString(),s.toString())),de.compatibleConstructor(s,e)===i&&(c&&i?d=!0:this.assert(i,"expected #{this} to throw #{exp} but #{act} was thrown","expected #{this} to not throw #{exp}"+(s?" but #{act} was thrown":""),e instanceof Error?e.toString():e&&de.getConstructorName(e),s instanceof Error?s.toString():s&&de.getConstructorName(s)))),s&&t!==void 0&&t!==null){let f="including";br(t)&&(f="matching"),de.compatibleMessage(s,t)===i&&(c&&i?p=!0:this.assert(i,"expected #{this} to throw error "+f+" #{exp} but got #{act}","expected #{this} to throw error not "+f+" #{exp}",t,de.getMessage(s)))}d&&p&&this.assert(i,"expected #{this} to throw #{exp} but #{act} was thrown","expected #{this} to not throw #{exp}"+(s?" but #{act} was thrown":""),e instanceof Error?e.toString():e&&de.getConstructorName(e),s instanceof Error?s.toString():s&&de.getConstructorName(s)),C(this,"object",s)}q(Dr,"assertThrows");h.addMethod("throw",Dr);h.addMethod("throws",Dr);h.addMethod("Throw",Dr);function ca(e,t){t&&C(this,"message",t);let r=C(this,"object"),n=C(this,"itself"),a=typeof r=="function"&&!n?r.prototype[e]:r[e];this.assert(typeof a=="function","expected #{this} to respond to "+K(e),"expected #{this} to not respond to "+K(e))}q(ca,"respondTo");h.addMethod("respondTo",ca);h.addMethod("respondsTo",ca);h.addProperty("itself",function(){C(this,"itself",!0)});function da(e,t){t&&C(this,"message",t);let r=e(C(this,"object"));this.assert(r,"expected #{this} to satisfy "+Ze(e),"expected #{this} to not satisfy"+Ze(e),!C(this,"negate"),r)}q(da,"satisfy");h.addMethod("satisfy",da);h.addMethod("satisfies",da);function fa(e,t,r){r&&C(this,"message",r);let n=C(this,"object"),a=C(this,"message"),o=C(this,"ssfi");new h(n,a,o,!0).is.numeric;let i="A `delta` value is required for `closeTo`";if(t==null)throw new X(a?`${a}: ${i}`:i,void 0,o);if(new h(t,a,o,!0).is.numeric,i="A `expected` value is required for `closeTo`",e==null)throw new X(a?`${a}: ${i}`:i,void 0,o);new h(e,a,o,!0).is.numeric;const s=q(l=>l<0?-l:l,"abs"),u=q(l=>parseFloat(parseFloat(l).toPrecision(12)),"strip");this.assert(u(s(n-e))<=t,"expected #{this} to be close to "+e+" +/- "+t,"expected #{this} not to be close to "+e+" +/- "+t)}q(fa,"closeTo");h.addMethod("closeTo",fa);h.addMethod("approximately",fa);function Ei(e,t,r,n,a){let o=Array.from(t),i=Array.from(e);if(!n){if(i.length!==o.length)return!1;o=o.slice()}return i.every(function(s,u){if(a)return r?r(s,o[u]):s===o[u];if(!r){let l=o.indexOf(s);return l===-1?!1:(n||o.splice(l,1),!0)}return o.some(function(l,c){return r(s,l)?(n||o.splice(c,1),!0):!1})})}q(Ei,"isSubsetOf");h.addMethod("members",function(e,t){t&&C(this,"message",t);let r=C(this,"object"),n=C(this,"message"),a=C(this,"ssfi");new h(r,n,a,!0).to.be.iterable,new h(e,n,a,!0).to.be.iterable;let o=C(this,"contains"),i=C(this,"ordered"),s,u,l;o?(s=i?"an ordered superset":"a superset",u="expected #{this} to be "+s+" of #{exp}",l="expected #{this} to not be "+s+" of #{exp}"):(s=i?"ordered members":"members",u="expected #{this} to have the same "+s+" as #{exp}",l="expected #{this} to not have the same "+s+" as #{exp}");let c=C(this,"deep")?C(this,"eql"):void 0;this.assert(Ei(e,r,c,o,i),u,l,e,r,!0)});h.addProperty("iterable",function(e){e&&C(this,"message",e);let t=C(this,"object");this.assert(t!=null&&t[Symbol.iterator],"expected #{this} to be an iterable","expected #{this} to not be an iterable",t)});function _i(e,t){t&&C(this,"message",t);let r=C(this,"object"),n=C(this,"message"),a=C(this,"ssfi"),o=C(this,"contains"),i=C(this,"deep"),s=C(this,"eql");new h(e,n,a,!0).to.be.an("array"),o?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 s(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)}q(_i,"oneOf");h.addMethod("oneOf",_i);function pa(e,t,r){r&&C(this,"message",r);let n=C(this,"object"),a=C(this,"message"),o=C(this,"ssfi");new h(n,a,o,!0).is.a("function");let i;t?(new h(e,a,o,!0).to.have.property(t),i=e[t]):(new h(e,a,o,!0).is.a("function"),i=e()),n();let s=t==null?e():e[t],u=t==null?i:"."+t;C(this,"deltaMsgObj",u),C(this,"initialDeltaValue",i),C(this,"finalDeltaValue",s),C(this,"deltaBehavior","change"),C(this,"realDelta",s!==i),this.assert(i!==s,"expected "+u+" to change","expected "+u+" to not change")}q(pa,"assertChanges");h.addMethod("change",pa);h.addMethod("changes",pa);function ma(e,t,r){r&&C(this,"message",r);let n=C(this,"object"),a=C(this,"message"),o=C(this,"ssfi");new h(n,a,o,!0).is.a("function");let i;t?(new h(e,a,o,!0).to.have.property(t),i=e[t]):(new h(e,a,o,!0).is.a("function"),i=e()),new h(i,a,o,!0).is.a("number"),n();let s=t==null?e():e[t],u=t==null?i:"."+t;C(this,"deltaMsgObj",u),C(this,"initialDeltaValue",i),C(this,"finalDeltaValue",s),C(this,"deltaBehavior","increase"),C(this,"realDelta",s-i),this.assert(s-i>0,"expected "+u+" to increase","expected "+u+" to not increase")}q(ma,"assertIncreases");h.addMethod("increase",ma);h.addMethod("increases",ma);function ba(e,t,r){r&&C(this,"message",r);let n=C(this,"object"),a=C(this,"message"),o=C(this,"ssfi");new h(n,a,o,!0).is.a("function");let i;t?(new h(e,a,o,!0).to.have.property(t),i=e[t]):(new h(e,a,o,!0).is.a("function"),i=e()),new h(i,a,o,!0).is.a("number"),n();let s=t==null?e():e[t],u=t==null?i:"."+t;C(this,"deltaMsgObj",u),C(this,"initialDeltaValue",i),C(this,"finalDeltaValue",s),C(this,"deltaBehavior","decrease"),C(this,"realDelta",i-s),this.assert(s-i<0,"expected "+u+" to decrease","expected "+u+" to not decrease")}q(ba,"assertDecreases");h.addMethod("decrease",ba);h.addMethod("decreases",ba);function Ci(e,t){t&&C(this,"message",t);let r=C(this,"deltaMsgObj"),n=C(this,"initialDeltaValue"),a=C(this,"finalDeltaValue"),o=C(this,"deltaBehavior"),i=C(this,"realDelta"),s;o==="change"?s=Math.abs(a-n)===Math.abs(e):s=i===Math.abs(e),this.assert(s,"expected "+r+" to "+o+" by "+e,"expected "+r+" to not "+o+" by "+e)}q(Ci,"assertDelta");h.addMethod("by",Ci);h.addProperty("extensible",function(){let e=C(this,"object"),t=e===Object(e)&&Object.isExtensible(e);this.assert(t,"expected #{this} to be extensible","expected #{this} to not be extensible")});h.addProperty("sealed",function(){let e=C(this,"object"),t=e===Object(e)?Object.isSealed(e):!0;this.assert(t,"expected #{this} to be sealed","expected #{this} to not be sealed")});h.addProperty("frozen",function(){let e=C(this,"object"),t=e===Object(e)?Object.isFrozen(e):!0;this.assert(t,"expected #{this} to be frozen","expected #{this} to not be frozen")});h.addProperty("finite",function(e){let t=C(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 hr(e,t){return e===t?!0:typeof t!=typeof e?!1:typeof e!="object"||e===null?e===t:t?Array.isArray(e)?Array.isArray(t)?e.every(function(r){return t.some(function(n){return hr(r,n)})}):!1:e instanceof Date?t instanceof Date?e.getTime()===t.getTime():!1:Object.keys(e).every(function(r){let n=e[r],a=t[r];return typeof n=="object"&&n!==null&&a!==null?hr(n,a):typeof n=="function"?n(a):a===n}):!1}q(hr,"compareSubset");h.addMethod("containSubset",function(e){const t=z(this,"object"),r=se.showDiff;this.assert(hr(e,t),"expected #{act} to contain subset #{exp}","expected #{act} to not contain subset #{exp}",e,t,r)});function kt(e,t){return new h(e,t)}q(kt,"expect");kt.fail=function(e,t,r,n){throw arguments.length<2&&(r=e,e=void 0),r=r||"expect.fail()",new X(r,{actual:e,expected:t,operator:n},kt.fail)};var Pi={};Nn(Pi,{Should:()=>qu,should:()=>Pu});function ha(){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 h(this.valueOf(),null,e):new h(this,null,e)}q(e,"shouldGetter");function t(n){Object.defineProperty(this,"should",{value:n,enumerable:!0,configurable:!0,writable:!0})}q(t,"shouldSetter"),Object.defineProperty(Object.prototype,"should",{set:t,get:e,configurable:!0});let r={};return r.fail=function(n,a,o,i){throw arguments.length<2&&(o=n,n=void 0),o=o||"should.fail()",new X(o,{actual:n,expected:a,operator:i},r.fail)},r.equal=function(n,a,o){new h(n,o).to.equal(a)},r.Throw=function(n,a,o,i){new h(n,i).to.Throw(a,o)},r.exist=function(n,a){new h(n,a).to.exist},r.not={},r.not.equal=function(n,a,o){new h(n,o).to.not.equal(a)},r.not.Throw=function(n,a,o,i){new h(n,i).to.not.Throw(a,o)},r.not.exist=function(n,a){new h(n,a).to.not.exist},r.throw=r.Throw,r.not.throw=r.not.Throw,r}q(ha,"loadShould");var Pu=ha,qu=ha;function b(e,t){new h(null,null,b,!0).assert(e,t,"[ negation message unavailable ]")}q(b,"assert");b.fail=function(e,t,r,n){throw arguments.length<2&&(r=e,e=void 0),r=r||"assert.fail()",new X(r,{actual:e,expected:t,operator:n},b.fail)};b.isOk=function(e,t){new h(e,t,b.isOk,!0).is.ok};b.isNotOk=function(e,t){new h(e,t,b.isNotOk,!0).is.not.ok};b.equal=function(e,t,r){let n=new h(e,r,b.equal,!0);n.assert(t==z(n,"object"),"expected #{this} to equal #{exp}","expected #{this} to not equal #{act}",t,e,!0)};b.notEqual=function(e,t,r){let n=new h(e,r,b.notEqual,!0);n.assert(t!=z(n,"object"),"expected #{this} to not equal #{exp}","expected #{this} to equal #{act}",t,e,!0)};b.strictEqual=function(e,t,r){new h(e,r,b.strictEqual,!0).to.equal(t)};b.notStrictEqual=function(e,t,r){new h(e,r,b.notStrictEqual,!0).to.not.equal(t)};b.deepEqual=b.deepStrictEqual=function(e,t,r){new h(e,r,b.deepEqual,!0).to.eql(t)};b.notDeepEqual=function(e,t,r){new h(e,r,b.notDeepEqual,!0).to.not.eql(t)};b.isAbove=function(e,t,r){new h(e,r,b.isAbove,!0).to.be.above(t)};b.isAtLeast=function(e,t,r){new h(e,r,b.isAtLeast,!0).to.be.least(t)};b.isBelow=function(e,t,r){new h(e,r,b.isBelow,!0).to.be.below(t)};b.isAtMost=function(e,t,r){new h(e,r,b.isAtMost,!0).to.be.most(t)};b.isTrue=function(e,t){new h(e,t,b.isTrue,!0).is.true};b.isNotTrue=function(e,t){new h(e,t,b.isNotTrue,!0).to.not.equal(!0)};b.isFalse=function(e,t){new h(e,t,b.isFalse,!0).is.false};b.isNotFalse=function(e,t){new h(e,t,b.isNotFalse,!0).to.not.equal(!1)};b.isNull=function(e,t){new h(e,t,b.isNull,!0).to.equal(null)};b.isNotNull=function(e,t){new h(e,t,b.isNotNull,!0).to.not.equal(null)};b.isNaN=function(e,t){new h(e,t,b.isNaN,!0).to.be.NaN};b.isNotNaN=function(e,t){new h(e,t,b.isNotNaN,!0).not.to.be.NaN};b.exists=function(e,t){new h(e,t,b.exists,!0).to.exist};b.notExists=function(e,t){new h(e,t,b.notExists,!0).to.not.exist};b.isUndefined=function(e,t){new h(e,t,b.isUndefined,!0).to.equal(void 0)};b.isDefined=function(e,t){new h(e,t,b.isDefined,!0).to.not.equal(void 0)};b.isCallable=function(e,t){new h(e,t,b.isCallable,!0).is.callable};b.isNotCallable=function(e,t){new h(e,t,b.isNotCallable,!0).is.not.callable};b.isObject=function(e,t){new h(e,t,b.isObject,!0).to.be.a("object")};b.isNotObject=function(e,t){new h(e,t,b.isNotObject,!0).to.not.be.a("object")};b.isArray=function(e,t){new h(e,t,b.isArray,!0).to.be.an("array")};b.isNotArray=function(e,t){new h(e,t,b.isNotArray,!0).to.not.be.an("array")};b.isString=function(e,t){new h(e,t,b.isString,!0).to.be.a("string")};b.isNotString=function(e,t){new h(e,t,b.isNotString,!0).to.not.be.a("string")};b.isNumber=function(e,t){new h(e,t,b.isNumber,!0).to.be.a("number")};b.isNotNumber=function(e,t){new h(e,t,b.isNotNumber,!0).to.not.be.a("number")};b.isNumeric=function(e,t){new h(e,t,b.isNumeric,!0).is.numeric};b.isNotNumeric=function(e,t){new h(e,t,b.isNotNumeric,!0).is.not.numeric};b.isFinite=function(e,t){new h(e,t,b.isFinite,!0).to.be.finite};b.isBoolean=function(e,t){new h(e,t,b.isBoolean,!0).to.be.a("boolean")};b.isNotBoolean=function(e,t){new h(e,t,b.isNotBoolean,!0).to.not.be.a("boolean")};b.typeOf=function(e,t,r){new h(e,r,b.typeOf,!0).to.be.a(t)};b.notTypeOf=function(e,t,r){new h(e,r,b.notTypeOf,!0).to.not.be.a(t)};b.instanceOf=function(e,t,r){new h(e,r,b.instanceOf,!0).to.be.instanceOf(t)};b.notInstanceOf=function(e,t,r){new h(e,r,b.notInstanceOf,!0).to.not.be.instanceOf(t)};b.include=function(e,t,r){new h(e,r,b.include,!0).include(t)};b.notInclude=function(e,t,r){new h(e,r,b.notInclude,!0).not.include(t)};b.deepInclude=function(e,t,r){new h(e,r,b.deepInclude,!0).deep.include(t)};b.notDeepInclude=function(e,t,r){new h(e,r,b.notDeepInclude,!0).not.deep.include(t)};b.nestedInclude=function(e,t,r){new h(e,r,b.nestedInclude,!0).nested.include(t)};b.notNestedInclude=function(e,t,r){new h(e,r,b.notNestedInclude,!0).not.nested.include(t)};b.deepNestedInclude=function(e,t,r){new h(e,r,b.deepNestedInclude,!0).deep.nested.include(t)};b.notDeepNestedInclude=function(e,t,r){new h(e,r,b.notDeepNestedInclude,!0).not.deep.nested.include(t)};b.ownInclude=function(e,t,r){new h(e,r,b.ownInclude,!0).own.include(t)};b.notOwnInclude=function(e,t,r){new h(e,r,b.notOwnInclude,!0).not.own.include(t)};b.deepOwnInclude=function(e,t,r){new h(e,r,b.deepOwnInclude,!0).deep.own.include(t)};b.notDeepOwnInclude=function(e,t,r){new h(e,r,b.notDeepOwnInclude,!0).not.deep.own.include(t)};b.match=function(e,t,r){new h(e,r,b.match,!0).to.match(t)};b.notMatch=function(e,t,r){new h(e,r,b.notMatch,!0).to.not.match(t)};b.property=function(e,t,r){new h(e,r,b.property,!0).to.have.property(t)};b.notProperty=function(e,t,r){new h(e,r,b.notProperty,!0).to.not.have.property(t)};b.propertyVal=function(e,t,r,n){new h(e,n,b.propertyVal,!0).to.have.property(t,r)};b.notPropertyVal=function(e,t,r,n){new h(e,n,b.notPropertyVal,!0).to.not.have.property(t,r)};b.deepPropertyVal=function(e,t,r,n){new h(e,n,b.deepPropertyVal,!0).to.have.deep.property(t,r)};b.notDeepPropertyVal=function(e,t,r,n){new h(e,n,b.notDeepPropertyVal,!0).to.not.have.deep.property(t,r)};b.ownProperty=function(e,t,r){new h(e,r,b.ownProperty,!0).to.have.own.property(t)};b.notOwnProperty=function(e,t,r){new h(e,r,b.notOwnProperty,!0).to.not.have.own.property(t)};b.ownPropertyVal=function(e,t,r,n){new h(e,n,b.ownPropertyVal,!0).to.have.own.property(t,r)};b.notOwnPropertyVal=function(e,t,r,n){new h(e,n,b.notOwnPropertyVal,!0).to.not.have.own.property(t,r)};b.deepOwnPropertyVal=function(e,t,r,n){new h(e,n,b.deepOwnPropertyVal,!0).to.have.deep.own.property(t,r)};b.notDeepOwnPropertyVal=function(e,t,r,n){new h(e,n,b.notDeepOwnPropertyVal,!0).to.not.have.deep.own.property(t,r)};b.nestedProperty=function(e,t,r){new h(e,r,b.nestedProperty,!0).to.have.nested.property(t)};b.notNestedProperty=function(e,t,r){new h(e,r,b.notNestedProperty,!0).to.not.have.nested.property(t)};b.nestedPropertyVal=function(e,t,r,n){new h(e,n,b.nestedPropertyVal,!0).to.have.nested.property(t,r)};b.notNestedPropertyVal=function(e,t,r,n){new h(e,n,b.notNestedPropertyVal,!0).to.not.have.nested.property(t,r)};b.deepNestedPropertyVal=function(e,t,r,n){new h(e,n,b.deepNestedPropertyVal,!0).to.have.deep.nested.property(t,r)};b.notDeepNestedPropertyVal=function(e,t,r,n){new h(e,n,b.notDeepNestedPropertyVal,!0).to.not.have.deep.nested.property(t,r)};b.lengthOf=function(e,t,r){new h(e,r,b.lengthOf,!0).to.have.lengthOf(t)};b.hasAnyKeys=function(e,t,r){new h(e,r,b.hasAnyKeys,!0).to.have.any.keys(t)};b.hasAllKeys=function(e,t,r){new h(e,r,b.hasAllKeys,!0).to.have.all.keys(t)};b.containsAllKeys=function(e,t,r){new h(e,r,b.containsAllKeys,!0).to.contain.all.keys(t)};b.doesNotHaveAnyKeys=function(e,t,r){new h(e,r,b.doesNotHaveAnyKeys,!0).to.not.have.any.keys(t)};b.doesNotHaveAllKeys=function(e,t,r){new h(e,r,b.doesNotHaveAllKeys,!0).to.not.have.all.keys(t)};b.hasAnyDeepKeys=function(e,t,r){new h(e,r,b.hasAnyDeepKeys,!0).to.have.any.deep.keys(t)};b.hasAllDeepKeys=function(e,t,r){new h(e,r,b.hasAllDeepKeys,!0).to.have.all.deep.keys(t)};b.containsAllDeepKeys=function(e,t,r){new h(e,r,b.containsAllDeepKeys,!0).to.contain.all.deep.keys(t)};b.doesNotHaveAnyDeepKeys=function(e,t,r){new h(e,r,b.doesNotHaveAnyDeepKeys,!0).to.not.have.any.deep.keys(t)};b.doesNotHaveAllDeepKeys=function(e,t,r){new h(e,r,b.doesNotHaveAllDeepKeys,!0).to.not.have.all.deep.keys(t)};b.throws=function(e,t,r,n){return(typeof t=="string"||t instanceof RegExp)&&(r=t,t=null),z(new h(e,n,b.throws,!0).to.throw(t,r),"object")};b.doesNotThrow=function(e,t,r,n){(typeof t=="string"||t instanceof RegExp)&&(r=t,t=null),new h(e,n,b.doesNotThrow,!0).to.not.throw(t,r)};b.operator=function(e,t,r,n){let a;switch(t){case"==":a=e==r;break;case"===":a=e===r;break;case">":a=e>r;break;case">=":a=e>=r;break;case"<":a=e<r;break;case"<=":a=e<=r;break;case"!=":a=e!=r;break;case"!==":a=e!==r;break;default:throw n=n&&n+": ",new X(n+'Invalid operator "'+t+'"',void 0,b.operator)}let o=new h(a,n,b.operator,!0);o.assert(z(o,"object")===!0,"expected "+K(e)+" to be "+t+" "+K(r),"expected "+K(e)+" to not be "+t+" "+K(r))};b.closeTo=function(e,t,r,n){new h(e,n,b.closeTo,!0).to.be.closeTo(t,r)};b.approximately=function(e,t,r,n){new h(e,n,b.approximately,!0).to.be.approximately(t,r)};b.sameMembers=function(e,t,r){new h(e,r,b.sameMembers,!0).to.have.same.members(t)};b.notSameMembers=function(e,t,r){new h(e,r,b.notSameMembers,!0).to.not.have.same.members(t)};b.sameDeepMembers=function(e,t,r){new h(e,r,b.sameDeepMembers,!0).to.have.same.deep.members(t)};b.notSameDeepMembers=function(e,t,r){new h(e,r,b.notSameDeepMembers,!0).to.not.have.same.deep.members(t)};b.sameOrderedMembers=function(e,t,r){new h(e,r,b.sameOrderedMembers,!0).to.have.same.ordered.members(t)};b.notSameOrderedMembers=function(e,t,r){new h(e,r,b.notSameOrderedMembers,!0).to.not.have.same.ordered.members(t)};b.sameDeepOrderedMembers=function(e,t,r){new h(e,r,b.sameDeepOrderedMembers,!0).to.have.same.deep.ordered.members(t)};b.notSameDeepOrderedMembers=function(e,t,r){new h(e,r,b.notSameDeepOrderedMembers,!0).to.not.have.same.deep.ordered.members(t)};b.includeMembers=function(e,t,r){new h(e,r,b.includeMembers,!0).to.include.members(t)};b.notIncludeMembers=function(e,t,r){new h(e,r,b.notIncludeMembers,!0).to.not.include.members(t)};b.includeDeepMembers=function(e,t,r){new h(e,r,b.includeDeepMembers,!0).to.include.deep.members(t)};b.notIncludeDeepMembers=function(e,t,r){new h(e,r,b.notIncludeDeepMembers,!0).to.not.include.deep.members(t)};b.includeOrderedMembers=function(e,t,r){new h(e,r,b.includeOrderedMembers,!0).to.include.ordered.members(t)};b.notIncludeOrderedMembers=function(e,t,r){new h(e,r,b.notIncludeOrderedMembers,!0).to.not.include.ordered.members(t)};b.includeDeepOrderedMembers=function(e,t,r){new h(e,r,b.includeDeepOrderedMembers,!0).to.include.deep.ordered.members(t)};b.notIncludeDeepOrderedMembers=function(e,t,r){new h(e,r,b.notIncludeDeepOrderedMembers,!0).to.not.include.deep.ordered.members(t)};b.oneOf=function(e,t,r){new h(e,r,b.oneOf,!0).to.be.oneOf(t)};b.isIterable=function(e,t){if(e==null||!e[Symbol.iterator])throw t=t?`${t} expected ${K(e)} to be an iterable`:`expected ${K(e)} to be an iterable`,new X(t,void 0,b.isIterable)};b.changes=function(e,t,r,n){arguments.length===3&&typeof t=="function"&&(n=r,r=null),new h(e,n,b.changes,!0).to.change(t,r)};b.changesBy=function(e,t,r,n,a){if(arguments.length===4&&typeof t=="function"){let o=n;n=r,a=o}else arguments.length===3&&(n=r,r=null);new h(e,a,b.changesBy,!0).to.change(t,r).by(n)};b.doesNotChange=function(e,t,r,n){return arguments.length===3&&typeof t=="function"&&(n=r,r=null),new h(e,n,b.doesNotChange,!0).to.not.change(t,r)};b.changesButNotBy=function(e,t,r,n,a){if(arguments.length===4&&typeof t=="function"){let o=n;n=r,a=o}else arguments.length===3&&(n=r,r=null);new h(e,a,b.changesButNotBy,!0).to.change(t,r).but.not.by(n)};b.increases=function(e,t,r,n){return arguments.length===3&&typeof t=="function"&&(n=r,r=null),new h(e,n,b.increases,!0).to.increase(t,r)};b.increasesBy=function(e,t,r,n,a){if(arguments.length===4&&typeof t=="function"){let o=n;n=r,a=o}else arguments.length===3&&(n=r,r=null);new h(e,a,b.increasesBy,!0).to.increase(t,r).by(n)};b.doesNotIncrease=function(e,t,r,n){return arguments.length===3&&typeof t=="function"&&(n=r,r=null),new h(e,n,b.doesNotIncrease,!0).to.not.increase(t,r)};b.increasesButNotBy=function(e,t,r,n,a){if(arguments.length===4&&typeof t=="function"){let o=n;n=r,a=o}else arguments.length===3&&(n=r,r=null);new h(e,a,b.increasesButNotBy,!0).to.increase(t,r).but.not.by(n)};b.decreases=function(e,t,r,n){return arguments.length===3&&typeof t=="function"&&(n=r,r=null),new h(e,n,b.decreases,!0).to.decrease(t,r)};b.decreasesBy=function(e,t,r,n,a){if(arguments.length===4&&typeof t=="function"){let o=n;n=r,a=o}else arguments.length===3&&(n=r,r=null);new h(e,a,b.decreasesBy,!0).to.decrease(t,r).by(n)};b.doesNotDecrease=function(e,t,r,n){return arguments.length===3&&typeof t=="function"&&(n=r,r=null),new h(e,n,b.doesNotDecrease,!0).to.not.decrease(t,r)};b.doesNotDecreaseBy=function(e,t,r,n,a){if(arguments.length===4&&typeof t=="function"){let o=n;n=r,a=o}else arguments.length===3&&(n=r,r=null);return new h(e,a,b.doesNotDecreaseBy,!0).to.not.decrease(t,r).by(n)};b.decreasesButNotBy=function(e,t,r,n,a){if(arguments.length===4&&typeof t=="function"){let o=n;n=r,a=o}else arguments.length===3&&(n=r,r=null);new h(e,a,b.decreasesButNotBy,!0).to.decrease(t,r).but.not.by(n)};b.ifError=function(e){if(e)throw e};b.isExtensible=function(e,t){new h(e,t,b.isExtensible,!0).to.be.extensible};b.isNotExtensible=function(e,t){new h(e,t,b.isNotExtensible,!0).to.not.be.extensible};b.isSealed=function(e,t){new h(e,t,b.isSealed,!0).to.be.sealed};b.isNotSealed=function(e,t){new h(e,t,b.isNotSealed,!0).to.not.be.sealed};b.isFrozen=function(e,t){new h(e,t,b.isFrozen,!0).to.be.frozen};b.isNotFrozen=function(e,t){new h(e,t,b.isNotFrozen,!0).to.not.be.frozen};b.isEmpty=function(e,t){new h(e,t,b.isEmpty,!0).to.be.empty};b.isNotEmpty=function(e,t){new h(e,t,b.isNotEmpty,!0).to.not.be.empty};b.containsSubset=function(e,t,r){new h(e,r).to.containSubset(t)};b.doesNotContainSubset=function(e,t,r){new h(e,r).to.not.containSubset(t)};for(const[e,t]of[["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"],["containsSubset","containSubset"]])b[t]=b[e];var za=[];function qi(e){const t={use:qi,AssertionError:X,util:cr,config:se,expect:kt,assert:b,Assertion:h,...Pi};return~za.indexOf(e)||(e(t,cr),za.push(e)),t}q(qi,"use");var Ru=()=>(0,j.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"var(--twd-icon-color-secondary)",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",className:"lucide lucide-loader-circle-icon lucide-loader-circle twd-loader","data-testid":"loader-icon",children:(0,j.jsx)("path",{d:"M21 12a9 9 0 1 1-6.219-8.56"})}),Lr=({className:e,children:t,dataTestId:r})=>(0,j.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"var(--twd-icon-color)",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",className:`lucide ${e}`,"data-testid":r,children:t}),Tu=()=>(0,j.jsx)(Lr,{className:"lucide-play-icon lucide-play",dataTestId:"play-icon",children:(0,j.jsx)("path",{d:"M5 5a2 2 0 0 1 3.008-1.728l11.997 6.998a2 2 0 0 1 .003 3.458l-12 7A2 2 0 0 1 5 19z"})}),Ri=({id:e,name:t,skip:r,only:n})=>(0,j.jsxs)(j.Fragment,{children:[t," ",n&&(0,j.jsxs)("span",{style:{color:"var(--twd-primary)"},"data-testid":`only-indicator-${e}`,children:[" ","(only)"]}),r&&(0,j.jsxs)("span",{style:{color:"var(--twd-text-secondary)"},"data-testid":`skip-indicator-${e}`,children:[" ","(skipped)"]})]}),Oe=(function(e){return e.CHAI_DIFF="chai-diff",e.CHAI_MESSAGE="chai-message",e.ERROR="error",e})({}),Su=e=>{try{const t=JSON.parse(e);if(t&&typeof t=="object"&&"type"in t)return t}catch{}return null},Va=e=>{if(e===null)return"null";if(e===void 0)return"undefined";if(typeof e=="string")return e;if(typeof e=="object")try{return JSON.stringify(e,null,2)}catch{return String(e)}return String(e)},xu=e=>e.startsWith("Assertion passed")||e.startsWith("Event fired")?{color:"var(--twd-success)",fontWeight:"var(--twd-font-weight-bold)"}:e.startsWith("Test failed")?{color:"var(--twd-error)",fontWeight:"var(--twd-font-weight-bold)"}:{},Ou=e=>e.type===Oe.CHAI_MESSAGE||e.type===Oe.ERROR,Mu=(e,t)=>t&&Ou(t)?t.message:e,Au=({log:e,index:t})=>{const r=Su(e);if(r?.type===Oe.CHAI_DIFF)return(0,j.jsxs)("li",{style:{fontSize:"var(--twd-font-size-sm)",padding:"var(--twd-spacing-sm)",borderBottom:"1px solid var(--twd-border-light)",color:"var(--twd-text)"},children:[(0,j.jsx)("div",{style:{color:"var(--twd-error)",fontWeight:"var(--twd-font-weight-bold)",marginBottom:"var(--twd-spacing-xs)"},children:"❌ Assertion failed"}),(0,j.jsxs)("div",{style:{marginTop:"var(--twd-spacing-xs)",paddingLeft:"var(--twd-spacing-sm)",borderLeft:"2px solid var(--twd-success)"},children:[(0,j.jsx)("div",{style:{color:"var(--twd-success)",fontWeight:"var(--twd-font-weight-medium)",marginBottom:"var(--twd-spacing-xs)"},children:"Expected:"}),(0,j.jsx)("pre",{style:{margin:0,padding:"var(--twd-spacing-xs)",background:"var(--twd-background)",borderRadius:"var(--twd-border-radius)",fontSize:"var(--twd-font-size-xs)",overflowX:"auto",whiteSpace:"pre-wrap",wordBreak:"break-word"},children:Va(r.expected)})]}),(0,j.jsxs)("div",{style:{marginTop:"var(--twd-spacing-xs)",paddingLeft:"var(--twd-spacing-sm)",borderLeft:"2px solid var(--twd-error)"},children:[(0,j.jsx)("div",{style:{color:"var(--twd-error)",fontWeight:"var(--twd-font-weight-medium)",marginBottom:"var(--twd-spacing-xs)"},children:"Actual:"}),(0,j.jsx)("pre",{style:{margin:0,padding:"var(--twd-spacing-xs)",background:"var(--twd-background)",borderRadius:"var(--twd-border-radius)",fontSize:"var(--twd-font-size-xs)",overflowX:"auto",whiteSpace:"pre-wrap",wordBreak:"break-word"},children:Va(r.actual)})]})]},t);const n=Mu(e,r);return(0,j.jsx)("li",{style:{fontSize:"var(--twd-font-size-sm)",padding:"var(--twd-spacing-xs) var(--twd-spacing-sm)",borderBottom:"1px solid var(--twd-border-light)",color:"var(--twd-text)",...xu(n)},children:n},t)},Iu=e=>{switch(e){case"pass":return"twd-status-pass";case"fail":return"twd-status-fail";case"skip":return"twd-status-skip";case"running":return"twd-status-running";default:return""}},Nu=({node:e,depth:t,id:r,runTest:n})=>{const a=(0,oe.useRef)(null),o=(0,oe.useRef)(e.status),i=(0,oe.useRef)(e.logs?.length||0),s=typeof window<"u"&&sessionStorage.getItem("twd-last-run-test-name")===e.name;(0,oe.useEffect)(()=>{const l=a.current;if(!l||!e.logs||e.logs.length===0)return;const c=o.current==="running"&&(e.status==="pass"||e.status==="fail"),d=e.logs.length>i.current;(c||d)&&setTimeout(()=>{l.scrollTop=l.scrollHeight},0),o.current=e.status,i.current=e.logs.length},[e.status,e.logs]);const u=()=>{switch(e.status){case"pass":return"passed";case"fail":return"failed";case"running":return"running";case"skip":return"skipped";default:return"not run"}};return(0,j.jsxs)("li",{style:{marginBottom:"var(--twd-spacing-xs)",marginLeft:`calc(${t} * var(--twd-spacing-sm))`},"data-testid":`test-list-item-${r}`,"data-test-name":e.name,role:"listitem","aria-label":`Test ${e.name}, status: ${u()}`,children:[(0,j.jsxs)("div",{className:`twd-test-item ${Iu(e.status)}`,style:s?{border:"1px dashed var(--twd-border)"}:void 0,children:[(0,j.jsx)("span",{className:"twd-test-item-name",children:(0,j.jsx)(Ri,{id:r,name:e.name,skip:e.skip,only:e.only})}),(0,j.jsx)("button",{onClick:()=>n(r),"aria-label":`Run ${e.name} test`,className:"twd-btn twd-btn-icon",disabled:e.status==="running","data-testid":`run-test-button-${r}`,children:e.status==="running"?(0,j.jsx)(Ru,{}):(0,j.jsx)(Tu,{})})]}),e.logs&&e.logs.length>0&&(0,j.jsx)("ul",{ref:a,className:"twd-test-item-logs",children:e.logs.map((l,c)=>(0,j.jsx)(Au,{log:l,index:c},c))})]},e.name)},ku=()=>(0,j.jsx)(Lr,{className:"lucide-chevron-down-icon lucide-chevron-down",dataTestId:"chevron-down-icon",children:(0,j.jsx)("path",{d:"m6 9 6 6 6-6"})}),ju=()=>(0,j.jsx)(Lr,{className:"lucide-chevron-right-icon lucide-chevron-right",dataTestId:"chevron-right-icon",children:(0,j.jsx)("path",{d:"m9 18 6-6-6-6"})}),Du=({roots:e,runTest:t,searchQuery:r=""})=>{const[n,a]=(0,oe.useState)({}),o=(0,oe.useRef)(null),i=(0,oe.useRef)(!1),s=l=>a(c=>({...c,[l]:!c[l]}));(0,oe.useEffect)(()=>{if(i.current)return;const l=sessionStorage.getItem("twd-last-run-test-name");if(!l)return;const c=setTimeout(()=>{const d=document.querySelector(`[data-test-name="${l}"]`);if(d){const p=o.current?.closest('[data-testid="twd-sidebar"]');if(p){const f=d.getBoundingClientRect(),g=p.getBoundingClientRect(),v=p.scrollTop,S=f.top-g.top+v,y=p.querySelector('[data-testid="twd-sidebar-header"]'),w=y?y.getBoundingClientRect().height+16:150;p.scrollTo({top:S-w,behavior:"smooth"})}i.current=!0}},100);return()=>clearTimeout(c)},[]);const u=(l,c=0)=>{if(l.type==="test")return(0,j.jsx)(Nu,{node:l,depth:c,id:l.id,runTest:()=>t(l.id)},l.id);const d=n[l.id];return(0,j.jsxs)("li",{style:{marginLeft:`calc(${c} * var(--twd-spacing-lg))`},children:[(0,j.jsx)("div",{className:"twd-test-group",children:(0,j.jsxs)("span",{className:"twd-test-group-toggle","data-testid":`test-group-${l.name}`,tabIndex:0,role:"button","aria-expanded":!d,"aria-label":`${d?"Expand":"Collapse"} test suite ${l.name}`,onClick:()=>s(l.id),children:[(0,j.jsx)(Ri,{id:l.id,name:l.name,skip:l.skip,only:l.only}),d?(0,j.jsx)(ju,{}):(0,j.jsx)(ku,{})]})}),!d&&l.childrenNodes&&l.childrenNodes.length>0&&(0,j.jsx)("ul",{className:"twd-test-list",children:l.childrenNodes.map(p=>u(p,c+1))})]},l.id)};return(0,j.jsx)("ul",{ref:o,className:"twd-test-list",role:"list","aria-label":"Test list",children:e.length===0&&r?(0,j.jsxs)("li",{style:{padding:"var(--twd-spacing-md)",color:"var(--twd-text-secondary)",fontSize:"var(--twd-font-size-sm)",textAlign:"center"},children:['No tests match "',r,'"']}):e.map(l=>u(l))})},Lu={left:{left:0,borderTopRightRadius:"var(--twd-border-radius-lg)",borderBottomRightRadius:"var(--twd-border-radius-lg)",borderTopLeftRadius:"0",borderBottomLeftRadius:"0"},right:{right:0,borderTopLeftRadius:"var(--twd-border-radius-lg)",borderBottomLeftRadius:"var(--twd-border-radius-lg)",borderTopRightRadius:"0",borderBottomRightRadius:"0"}},Bu=({setOpen:e,position:t})=>(0,j.jsx)("button",{"aria-label":"Open TWD sidebar",className:"twd-btn twd-sidebar-closed",style:{...Lu[t]},onClick:()=>e(!0),children:"TWD"}),$u=({isOpen:e,position:t})=>{(0,oe.useEffect)(()=>{const r=document.documentElement,n=getComputedStyle(document.documentElement).getPropertyValue("--twd-sidebar-width")||"280px";return e?t==="left"?r.style.marginLeft=n:r.style.marginRight=n:(r.style.marginRight="0",r.style.marginLeft="0"),()=>{r.style.marginRight="0",r.style.marginLeft="0"}},[e,t])},Fu=()=>(0,j.jsxs)(Lr,{className:"lucide-wifi-pen-icon lucide-wifi-pen",dataTestId:"wifi-pen-icon",children:[(0,j.jsx)("path",{d:"M2 8.82a15 15 0 0 1 20 0"}),(0,j.jsx)("path",{d:"M21.378 16.626a1 1 0 0 0-3.004-3.004l-4.01 4.012a2 2 0 0 0-.506.854l-.837 2.87a.5.5 0 0 0 .62.62l2.87-.837a2 2 0 0 0 .854-.506z"}),(0,j.jsx)("path",{d:"M5 12.859a10 10 0 0 1 10.5-2.222"}),(0,j.jsx)("path",{d:"M8.5 16.429a5 5 0 0 1 3-1.406"})]}),Uu=()=>{const e=To(),t=e.filter(n=>n.executed),r=()=>{console.group("🌐 TWD Mock Rules"),console.log("Total rules:",e.length),console.log("Triggered rules:",t.length),console.log("Rules details:"),console.log(e),console.groupEnd()};return(0,j.jsxs)("button",{onClick:r,"aria-label":"View mock rules details in console",className:"twd-btn twd-btn-mock-rules",children:[(0,j.jsx)(Fu,{}),(0,j.jsxs)("span",{style:{flex:1},children:["Rules: ",t.length,"/",e.length," triggered"]}),(0,j.jsx)("span",{style:{fontSize:"var(--twd-font-size-xs)",color:"var(--twd-text)",fontWeight:"var(--twd-font-weight-medium)"},children:"View rules in console"})]})},zu=e=>e instanceof Error&&"actual"in e&&"expected"in e,Ti=e=>e.actual!==void 0&&e.expected!==void 0?{type:"diff",actual:e.actual,expected:e.expected,operator:e.operator}:{type:"message",message:e.message},Vu=e=>{const t=Ti(e);if(t.type==="diff"){const r=t.operator||"unknown";console.error(`Assertion failed with operator: ${r}`),console.group("Expected:"),console.log(t.expected),console.groupEnd(),console.group("Actual:"),console.log(t.actual),console.groupEnd()}else console.error(t.message)},Hu=e=>{if(e.status==="pass")return`Test "${e.name}" passed.`;if(e.status==="fail"){if(!e.logs||e.logs.length===0)return`Test "${e.name}" failed.`;const t=e.logs[e.logs.length-1];try{const r=JSON.parse(t);return r.type===Oe.CHAI_MESSAGE||r.type===Oe.ERROR?`Test "${e.name}" failed. ${r.message}`:r.type===Oe.CHAI_DIFF?`Test "${e.name}" failed. Expected value does not match actual value.`:`Test "${e.name}" failed.`}catch{return`Test "${e.name}" failed. ${t}`}}else if(e.status==="skip")return`Test "${e.name}" skipped.`;return""},Wu=e=>{const t=e.filter(i=>i.type==="test"),r=t.filter(i=>i.status==="pass").length,n=t.filter(i=>i.status==="fail").length,a=t.filter(i=>i.status==="skip").length,o=[];return n>0?(o.push("Test run completed."),o.push(`${r} test${r!==1?"s":""} passed`),o.push(`${n} test${n!==1?"s":""} failed`),a>0&&o.push(`${a} test${a!==1?"s":""} skipped`),o.join(", ")+"."):(o.push("All tests passed."),o.push(`${r} test${r!==1?"s":""} completed`),a>0&&o.push(`${a} test${a!==1?"s":""} skipped`),o.join(", ")+".")},Ku=({value:e,onChange:t})=>(0,j.jsx)("div",{className:"twd-search-wrapper",children:(0,j.jsx)("input",{type:"search",id:"twd-search-input","aria-label":"Filter tests",placeholder:"Filter tests...",value:e,onInput:r=>t(r.target.value),className:"twd-search-input"})}),Gu=(e,t)=>{if(!t.trim())return e;const r=t.toLowerCase(),n=a=>{const o=a.name.toLowerCase().includes(r);if(a.type==="test")return o?a:null;const i=(a.childrenNodes||[]).map(n).filter(s=>s!==null);return o||i.length>0?{...a,childrenNodes:o?a.childrenNodes:i}:null};return e.map(n).filter(a=>a!==null)},Yu=e=>{const t=new Map,r=[];for(const n of e)t.set(n.id,{...n,childrenNodes:[]});for(const n of t.values())n.parent?t.get(n.parent)?.childrenNodes?.push(n):r.push(n);return r},Xu={left:{left:0,borderRight:"1px solid var(--twd-border)"},right:{right:0,borderLeft:"1px solid var(--twd-border)"}},Ju=e=>e?sessionStorage.getItem("twd-search-filter")||"":(sessionStorage.removeItem("twd-search-filter"),""),Qu=e=>sessionStorage.getItem("twd-sidebar-open")?sessionStorage.getItem("twd-sidebar-open")==="true":e,Si=e=>{const t=[];for(const r of e)r.type==="test"&&t.push(r.id),r.childrenNodes&&t.push(...Si(r.childrenNodes));return t},Zu=({open:e,position:t="left",search:r})=>{const[n,a]=(0,oe.useState)(0),[o,i]=(0,oe.useState)(Qu(e));$u({isOpen:o,position:t});const[s,u]=(0,oe.useState)(""),[l,c]=(0,oe.useState)(Ju(r));(0,oe.useEffect)(()=>{const E=()=>a(m=>m+1);return window.addEventListener("twd:state-change",E),()=>window.removeEventListener("twd:state-change",E)},[]);const d=new Mt.TestRunner({onStart:E=>{E.status="running",a(m=>m+1)},onPass:E=>{E.status="pass",a(m=>m+1)},onFail:(E,m)=>{if(E.status="fail",console.group(`%c❌ Test failed: ${E.name}`,"color: red; font-weight: bold;"),zu(m)){Vu(m);const _=Ti(m);_.type==="diff"?E.logs.push(JSON.stringify({type:Oe.CHAI_DIFF,expected:_.expected,actual:_.actual})):E.logs.push(JSON.stringify({type:Oe.CHAI_MESSAGE,message:`Test failed: ${_.message}`}))}else console.error(m.message),E.logs.push(JSON.stringify({type:Oe.ERROR,message:`Test failed: ${m.message}`}));console.groupEnd(),a(_=>_+1)},onSkip:E=>{E.status="skip",a(m=>m+1)}}),p=E=>{c(E),E?sessionStorage.setItem("twd-search-filter",E):sessionStorage.removeItem("twd-search-filter")},f=E=>{i(E),sessionStorage.setItem("twd-sidebar-open",E.toString())},g=Array.from(Mt.handlers.values()),v=(0,oe.useMemo)(()=>Yu(g),[n]),S=(0,oe.useMemo)(()=>Gu(v,l),[v,l]),{filteredTestIds:y,displayTests:w}=(0,oe.useMemo)(()=>{if(l){const E=Si(S),m=new Set(E);return{filteredTestIds:E,displayTests:g.filter(_=>_.type==="test"&&m.has(_.id))}}return{filteredTestIds:null,displayTests:g.filter(E=>E.type==="test")}},[S,l,n]),x=async()=>{u(""),sessionStorage.removeItem("twd-last-run-test-name"),y?await d.runByIds(y):await d.runAll(),u(Wu(g))},M=async E=>{const m=Array.from(Mt.handlers.values()).filter(_=>_.type==="test").find(_=>_.id===E);m&&(u(""),sessionStorage.setItem("twd-last-run-test-name",m.name),await d.runSingle(m.id),u(Hu(m)))};if(!o)return(0,j.jsx)(Bu,{position:t,setOpen:f});const A=w.length;return(0,j.jsxs)("div",{className:"twd-sidebar",style:Xu[t],"data-testid":"twd-sidebar",role:"complementary","aria-label":"Test While Developing sidebar",children:[(0,j.jsx)("div",{"aria-live":"polite","aria-atomic":"true",style:{position:"absolute",width:"1px",height:"1px",margin:"-1px",border:"0",padding:"0",overflow:"hidden",clip:"rect(0 0 0 0)"},children:s}),(0,j.jsxs)("div",{"data-testid":"twd-sidebar-header",className:"twd-sidebar-header",children:[(0,j.jsxs)("div",{className:"twd-sidebar-header-row",children:[(0,j.jsxs)("div",{className:"twd-sidebar-header-buttons",children:[(0,j.jsx)("button",{onClick:x,className:"twd-btn twd-btn-primary",children:(0,j.jsx)("span",{"aria-live":"polite",children:l?"Run Filtered":"Run All"})}),(0,j.jsx)("button",{onClick:()=>{So(),en.clearComponentMocks()},"aria-label":"Clear all mocks",className:"twd-btn twd-btn-secondary",children:"Clear mocks"}),(0,j.jsxs)("span",{className:"twd-sidebar-version",children:["v",Rr]})]}),(0,j.jsx)("button",{"aria-label":"Close sidebar",className:"twd-btn twd-btn-icon",onClick:()=>f(!1),children:"✖"})]}),(0,j.jsxs)("div",{className:"twd-sidebar-stats",children:[(0,j.jsxs)("span",{style:{color:"var(--twd-text)"},children:["Total: ",A]}),(0,j.jsxs)("div",{className:"twd-sidebar-stats-counts",children:[(0,j.jsxs)("span",{style:{color:"var(--twd-success)"},children:["✓ ",w.filter(E=>E.status==="pass").length]}),(0,j.jsxs)("span",{style:{color:"var(--twd-error)"},children:["✗ ",w.filter(E=>E.status==="fail").length]})]})]}),(0,j.jsx)(Uu,{}),r&&(0,j.jsx)(Ku,{value:l,onChange:p})]}),(0,j.jsx)("div",{className:"twd-sidebar-content",children:(0,j.jsx)(Du,{roots:S,runTest:M,searchQuery:l})})]})},xi={primary:"#2563eb",background:"#1e293b",backgroundSecondary:"#182130",border:"#475569",borderLight:"#64748b",text:"#f1f5f9",textSecondary:"#cbd5e1",textMuted:"#94a3b8",describeBg:"#0f172a",describeText:"#94a3b8",describeBorder:"#334155",success:"#22c55e",successBg:"#14532d",error:"#ff5252",errorBg:"#7f1d1d",warning:"#fbbf24",warningBg:"#78350f",skip:"#475569",skipBg:"#334155",buttonPrimary:"#2563eb",buttonPrimaryText:"#ffffff",buttonSecondary:"#334155",buttonSecondaryText:"#f1f5f9",buttonBorder:"#475569",spacingXs:"4px",spacingSm:"6px",spacingMd:"8px",spacingLg:"12px",spacingXl:"14px",fontSizeXs:"10px",fontSizeSm:"12px",fontSizeMd:"14px",fontSizeLg:"16px",fontWeightNormal:"400",fontWeightMedium:"500",fontWeightBold:"700",sidebarWidth:"320px",borderRadius:"8px",borderRadiusLg:"6px",shadow:"2px 0 8px rgba(0,0,0,0.3)",shadowSm:"0 2px 4px rgba(0, 0, 0, 0.2)",zIndexSidebar:"99999",zIndexSticky:"100000",animationDuration:"0.2s",iconColor:"#f1f5f9",iconColorSecondary:"#cbd5e1"};function ec(e={}){const t={...xi,...e};return Object.entries(t).map(([r,n])=>`${`--twd-${r.replace(/([A-Z])/g,"-$1").toLowerCase()}`}: ${n};`).join(`
21
+ `)}function Oi(e){const t="twd-theme-variables";let r=document.getElementById(t);r||(r=document.createElement("style"),r.id=t,document.head.appendChild(r));const n=ec(e);r.textContent=`
21
22
  :root {
22
23
  ${n}
23
24
  }
24
- `}var ec=`
25
+ `}var tc=`
25
26
  /* ========================
26
27
  Animation keyframes
27
28
  ======================== */
@@ -248,30 +249,30 @@ Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var Pl=Object
248
249
  .twd-loader {
249
250
  animation: twd-spin 1s linear infinite;
250
251
  }
251
- `;function tc(){const e="twd-styles";if(document.getElementById(e))return;const t=document.createElement("style");t.id=e,t.textContent=ec,document.head.appendChild(t)}var rc=e=>{const{Component:t,createRoot:r,theme:n}=e;Oi(n),tc();const a=document.createElement("div");a.setAttribute("id","twd-sidebar-root"),document.body.appendChild(a),r(a).render(t)},nc=async(e,t,r,n)=>{for(const a in e)await e[a]();rc({Component:t,createRoot:r,theme:n})};function V(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,a])=>e[n]===a):!0}function ve(e){var t;if(ac(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 ${oc(e)}`)}function ac(e){return e.nodeType===9}function oc(e){return typeof e=="function"?`function ${e.name}`:e===null?"null":String(e)}function Mi(e,t){return new Promise((r,n)=>{const a=new t;a.onerror=n,a.onabort=n,a.onload=()=>{r(String(a.result))},a.readAsText(e)})}function va(e,t){const r={...t,length:t.length,item:n=>r[n],[Symbol.iterator]:function*(){for(let a=0;a<r.length;a++)yield r[a]}};return r.constructor=e.FileList,e.FileList&&Object.setPrototypeOf(r,e.FileList.prototype),Object.freeze(r),r}function Ue(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var Ai=class{getAsFile(){return this.file}getAsString(e){typeof this.data=="string"&&e(this.data)}webkitGetAsEntry(){throw new Error("not implemented")}constructor(e,t){Ue(this,"kind",void 0),Ue(this,"type",void 0),Ue(this,"file",null),Ue(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)}},ic=class extends Array{add(...e){const t=new Ai(e[0],e[1]);return this.push(t),t}clear(){this.splice(0,this.length)}remove(e){this.splice(e,1)}};function Jt(e,t){const[r,n]=e.split("/"),a=!n||n==="*";return o=>t?o.type===(a?r:e):a?o.type.startsWith(`${r}/`):o.type===r}function sc(e){return new class{getData(r){var n;const a=(n=this.items.find(Jt(r,!0)))!==null&&n!==void 0?n:this.items.find(Jt(r,!1));let o="";return a?.getAsString(i=>{o=i}),o}setData(r,n){const a=this.items.findIndex(Jt(r,!0)),o=new Ai(n,r);a>=0?this.items.splice(a,1,o):this.items.push(o)}clearData(r){if(r){const n=this.items.findIndex(Jt(r,!0));n>=0&&this.items.remove(n)}else this.items.clear()}get types(){const r=[];return this.files.length&&r.push("Files"),this.items.forEach(n=>r.push(n.type)),Object.freeze(r),r}setDragImage(){}constructor(){Ue(this,"dropEffect","none"),Ue(this,"effectAllowed","uninitialized"),Ue(this,"items",new ic),Ue(this,"files",va(e,[]))}}}function ga(e,t=[]){const r=typeof e.DataTransfer>"u"?sc(e):new e.DataTransfer;return Object.defineProperty(r,"files",{get:()=>va(e,t)}),r}async function lc(e,t){return t.kind==="file"?t.getAsFile():new e.Blob([await new Promise(r=>t.getAsString(r))],{type:t.type})}function Ii(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ni(e,...t){const 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(a){const o=await this.data[a];if(!o)throw new Error(`${a} is not one of the available MIME types on this item.`);return o instanceof e.Blob?o:new e.Blob([o],{type:a})}constructor(a){Ii(this,"data",void 0),this.data=a}}(r)}var bt=Symbol("Manage ClipboardSub");function Ha(e,t){return Object.assign(new class extends e.EventTarget{async read(){return Array.from(this.items)}async readText(){let n="";for(const a of this.items){const o=a.types.includes("text/plain")?"text/plain":a.types.find(i=>i.startsWith("text/"));o&&(n+=await a.getType(o).then(i=>Mi(i,e.FileReader)))}return n}async write(n){this.items=n}async writeText(n){this.items=[Ni(e,n)]}constructor(...n){super(...n),Ii(this,"items",[])}},{[bt]:t})}function ya(e){return!!e?.[bt]}function uc(e){if(ya(e.navigator.clipboard))return e.navigator.clipboard[bt];const t=Object.getOwnPropertyDescriptor(e.navigator,"clipboard");let r;const n={resetClipboardStub:()=>{r=Ha(e,n)},detachClipboardStub:()=>{t?Object.defineProperty(e.navigator,"clipboard",t):Object.defineProperty(e.navigator,"clipboard",{value:void 0,configurable:!0})}};return r=Ha(e,n),Object.defineProperty(e.navigator,"clipboard",{get:()=>r,configurable:!0}),r[bt]}function cc(e){ya(e.navigator.clipboard)&&e.navigator.clipboard[bt].resetClipboardStub()}function dc(e){ya(e.navigator.clipboard)&&e.navigator.clipboard[bt].detachClipboardStub()}async function fc(e){const t=e.defaultView,r=t?.navigator.clipboard,n=r&&await r.read();if(!n)throw new Error("The Clipboard API is unavailable.");const a=ga(t);for(const o of n)for(const i of o.types)a.setData(i,await o.getType(i).then(s=>Mi(s,t.FileReader)));return a}async function ki(e,t){const r=ve(e),n=r.navigator.clipboard,a=[];for(let o=0;o<t.items.length;o++){const i=t.items[o],s=await lc(r,i);a.push(Ni(r,s))}if(!(n&&await n.write(a).then(()=>!0,()=>!1)))throw new Error("The Clipboard API is unavailable.")}var vr=globalThis;typeof vr.afterEach=="function"&&vr.afterEach(()=>cc(globalThis.window));typeof vr.afterAll=="function"&&vr.afterAll(()=>dc(globalThis.window));var ji=["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 wa(e){return e.matches(ji)}function pc(e){return new e.constructor(e.type,e)}function Ae(e){for(let r=e;r;r=r.parentElement)if(V(r,["button","input","select","textarea","optgroup","option"])){if(r.hasAttribute("disabled"))return!0}else if(V(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 Kt(e){const t=e.activeElement;return t?.shadowRoot?Kt(t.shadowRoot):Ae(t)?e.ownerDocument?e.ownerDocument.body:e.body:t}function Kr(e){var t;return(t=Kt(e))!==null&&t!==void 0?t:e.body}function mc(e,t){let r=e;do{if(t(r))return r;r=r.parentElement}while(r&&r!==e.ownerDocument.body)}function nt(e){return e.hasAttribute("contenteditable")&&(e.getAttribute("contenteditable")=="true"||e.getAttribute("contenteditable")=="")}function jt(e){const t=bc(e);return t&&(t.closest('[contenteditable=""]')||t.closest('[contenteditable="true"]'))}function bc(e){return e.nodeType===1?e:e.parentElement}var Di=(function(e){return e.button="button",e.color="color",e.file="file",e.image="image",e.reset="reset",e.submit="submit",e.checkbox="checkbox",e.radio="radio",e})(Di||{});function Li(e){return V(e,"button")||V(e,"input")&&e.type in Di}function ht(e){return $i(e)&&!e.readOnly||nt(e)}var Bi=(function(e){return e.text="text",e.date="date",e["datetime-local"]="datetime-local",e.email="email",e.month="month",e.number="number",e.password="password",e.search="search",e.tel="tel",e.time="time",e.url="url",e.week="week",e})(Bi||{});function $i(e){return V(e,"textarea")||V(e,"input")&&e.type in Bi}function Pe(e){return Fi(e)&&$i(e)}function hc(e){return Fi(e)&&Li(e)}function Fi(e){return e.nodeType===1}function vc(e){const t=e.ownerDocument.getSelection();if(t?.focusNode&&Pe(e)){const n=jt(t.focusNode);if(n){if(!t.isCollapsed){var r;const a=((r=n.firstChild)===null||r===void 0?void 0:r.nodeType)===3?n.firstChild:n;t.setBaseAndExtent(a,0,a,0)}}else t.setBaseAndExtent(e,0,e,0)}}var Ui=P(((e,t)=>{var r=10,n=(i=0)=>s=>`\x1B[${38+i};5;${s}m`,a=(i=0)=>(s,u,l)=>`\x1B[${38+i};2;${s};${u};${l}m`;function o(){const i=new Map,s={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]}};s.color.gray=s.color.blackBright,s.bgColor.bgGray=s.bgColor.bgBlackBright,s.color.grey=s.color.blackBright,s.bgColor.bgGrey=s.bgColor.bgBlackBright;for(const[u,l]of Object.entries(s)){for(const[c,d]of Object.entries(l))s[c]={open:`\x1B[${d[0]}m`,close:`\x1B[${d[1]}m`},l[c]=s[c],i.set(d[0],d[1]);Object.defineProperty(s,u,{value:l,enumerable:!1})}return Object.defineProperty(s,"codes",{value:i,enumerable:!1}),s.color.close="\x1B[39m",s.bgColor.close="\x1B[49m",s.color.ansi256=n(),s.color.ansi16m=a(),s.bgColor.ansi256=n(r),s.bgColor.ansi16m=a(r),Object.defineProperties(s,{rgbToAnsi256:{value:(u,l,c)=>u===l&&l===c?u<8?16:u>248?231:Math.round((u-8)/247*24)+232:16+36*Math.round(u/255*5)+6*Math.round(l/255*5)+Math.round(c/255*5),enumerable:!1},hexToRgb:{value:u=>{const l=/(?<colorString>[a-f\d]{6}|[a-f\d]{3})/i.exec(u.toString(16));if(!l)return[0,0,0];let{colorString:c}=l.groups;c.length===3&&(c=c.split("").map(p=>p+p).join(""));const d=Number.parseInt(c,16);return[d>>16&255,d>>8&255,d&255]},enumerable:!1},hexToAnsi256:{value:u=>s.rgbToAnsi256(...s.hexToRgb(u)),enumerable:!1}}),s}Object.defineProperty(t,"exports",{enumerable:!0,get:o})})),Br=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.printIteratorEntries=r,e.printIteratorValues=n,e.printListItems=a,e.printObjectProperties=o;var t=(i,s)=>{const u=Object.keys(i).sort(s);return Object.getOwnPropertySymbols&&Object.getOwnPropertySymbols(i).forEach(l=>{Object.getOwnPropertyDescriptor(i,l).enumerable&&u.push(l)}),u};function r(i,s,u,l,c,d,p=": "){let f="",g=i.next();if(!g.done){f+=s.spacingOuter;const v=u+s.indent;for(;!g.done;){const S=d(g.value[0],s,v,l,c),y=d(g.value[1],s,v,l,c);f+=v+S+p+y,g=i.next(),g.done?s.min||(f+=","):f+=","+s.spacingInner}f+=s.spacingOuter+u}return f}function n(i,s,u,l,c,d){let p="",f=i.next();if(!f.done){p+=s.spacingOuter;const g=u+s.indent;for(;!f.done;)p+=g+d(f.value,s,g,l,c),f=i.next(),f.done?s.min||(p+=","):p+=","+s.spacingInner;p+=s.spacingOuter+u}return p}function a(i,s,u,l,c,d){let p="";if(i.length){p+=s.spacingOuter;const f=u+s.indent;for(let g=0;g<i.length;g++)p+=f,g in i&&(p+=d(i[g],s,f,l,c)),g<i.length-1?p+=","+s.spacingInner:s.min||(p+=",");p+=s.spacingOuter+u}return p}function o(i,s,u,l,c,d){let p="";const f=t(i,s.compareKeys);if(f.length){p+=s.spacingOuter;const g=u+s.indent;for(let v=0;v<f.length;v++){const S=f[v],y=d(S,s,g,l,c),w=d(i[S],s,g,l,c);p+=g+y+": "+w,v<f.length-1?p+=","+s.spacingInner:s.min||(p+=",")}p+=s.spacingOuter+u}return p}})),gc=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.test=e.serialize=e.default=void 0;var t=Br(),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,a=typeof n=="function"&&n.for?n.for("jest.asymmetricMatcher"):1267621,o=" ",i=(l,c,d,p,f,g)=>{const v=l.toString();return v==="ArrayContaining"||v==="ArrayNotContaining"?++p>c.maxDepth?"["+v+"]":v+o+"["+(0,t.printListItems)(l.sample,c,d,p,f,g)+"]":v==="ObjectContaining"||v==="ObjectNotContaining"?++p>c.maxDepth?"["+v+"]":v+o+"{"+(0,t.printObjectProperties)(l.sample,c,d,p,f,g)+"}":v==="StringMatching"||v==="StringNotMatching"||v==="StringContaining"||v==="StringNotContaining"?v+o+g(l.sample,c,d,p,f):l.toAsymmetricMatcher()};e.serialize=i;var s=l=>l&&l.$$typeof===a;e.test=s;var u={serialize:i,test:s};e.default=u})),yc=P(((e,t)=>{t.exports=({onlyFirst:r=!1}={})=>{const 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")}})),wc=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.test=e.serialize=e.default=void 0;var t=n(yc()),r=n(Ui());function n(u){return u&&u.__esModule?u:{default:u}}var a=u=>u.replace((0,t.default)(),l=>{switch(l){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""}}),o=u=>typeof u=="string"&&!!u.match((0,t.default)());e.test=o;var i=(u,l,c,d,p,f)=>f(a(u),l,c,d,p);e.serialize=i;var s={serialize:i,test:o};e.default=s})),Ec=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.test=e.serialize=e.default=void 0;var t=Br(),r=" ",n=["DOMStringMap","NamedNodeMap"],a=/^(HTML\w*Collection|NodeList)$/,o=c=>n.indexOf(c)!==-1||a.test(c),i=c=>c&&c.constructor&&!!c.constructor.name&&o(c.constructor.name);e.test=i;var s=c=>c.constructor.name==="NamedNodeMap",u=(c,d,p,f,g,v)=>{const S=c.constructor.name;return++f>d.maxDepth?"["+S+"]":(d.min?"":S+r)+(n.indexOf(S)!==-1?"{"+(0,t.printObjectProperties)(s(c)?Array.from(c).reduce((y,w)=>(y[w.name]=w.value,y),{}):{...c},d,p,f,g,v)+"}":"["+(0,t.printListItems)(Array.from(c),d,p,f,g,v)+"]")};e.serialize=u;var l={serialize:u,test:i};e.default=l})),_c=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=t;function t(r){return r.replace(/</g,"&lt;").replace(/>/g,"&gt;")}})),Ea=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.printText=e.printProps=e.printElementAsLeaf=e.printElement=e.printComment=e.printChildren=void 0;var t=r(_c());function r(l){return l&&l.__esModule?l:{default:l}}var n=(l,c,d,p,f,g,v)=>{const S=p+d.indent,y=d.colors;return l.map(w=>{const x=c[w];let M=v(x,d,S,f,g);return typeof x!="string"&&(M.indexOf(`
252
- `)!==-1&&(M=d.spacingOuter+S+M+d.spacingOuter+p),M="{"+M+"}"),d.spacingInner+p+y.prop.open+w+y.prop.close+"="+y.value.open+M+y.value.close}).join("")};e.printProps=n;var a=(l,c,d,p,f,g)=>l.map(v=>c.spacingOuter+d+(typeof v=="string"?o(v,c):g(v,c,d,p,f))).join("");e.printChildren=a;var o=(l,c)=>{const d=c.colors.content;return d.open+(0,t.default)(l)+d.close};e.printText=o;var i=(l,c)=>{const d=c.colors.comment;return d.open+"<!--"+(0,t.default)(l)+"-->"+d.close};e.printComment=i;var s=(l,c,d,p,f)=>{const g=p.colors.tag;return g.open+"<"+l+(c&&g.close+c+p.spacingOuter+f+g.open)+(d?">"+g.close+d+p.spacingOuter+f+g.open+"</"+l:(c&&!p.min?"":" ")+"/")+">"+g.close};e.printElement=s;var u=(l,c)=>{const d=c.colors.tag;return d.open+"<"+l+d.close+" …"+d.open+" />"+d.close};e.printElementAsLeaf=u})),Cc=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.test=e.serialize=e.default=void 0;var t=Ea(),r=1,n=3,a=8,o=11,i=/^((HTML|SVG)\w*)?Element$/,s=v=>{try{return typeof v.hasAttribute=="function"&&v.hasAttribute("is")}catch{return!1}},u=v=>{const S=v.constructor.name,{nodeType:y,tagName:w}=v,x=typeof w=="string"&&w.includes("-")||s(v);return y===r&&(i.test(S)||x)||y===n&&S==="Text"||y===a&&S==="Comment"||y===o&&S==="DocumentFragment"},l=v=>{var S;return(v==null||(S=v.constructor)===null||S===void 0?void 0:S.name)&&u(v)};e.test=l;function c(v){return v.nodeType===n}function d(v){return v.nodeType===a}function p(v){return v.nodeType===o}var f=(v,S,y,w,x,M)=>{if(c(v))return(0,t.printText)(v.data,S);if(d(v))return(0,t.printComment)(v.data,S);const A=p(v)?"DocumentFragment":v.tagName.toLowerCase();return++w>S.maxDepth?(0,t.printElementAsLeaf)(A,S):(0,t.printElement)(A,(0,t.printProps)(p(v)?[]:Array.from(v.attributes).map(E=>E.name).sort(),p(v)?{}:Array.from(v.attributes).reduce((E,m)=>(E[m.name]=m.value,E),{}),S,y+S.indent,w,x,M),(0,t.printChildren)(Array.prototype.slice.call(v.childNodes||v.children),S,y+S.indent,w,x,M),S,y)};e.serialize=f;var g={serialize:f,test:l};e.default=g})),Pc=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.test=e.serialize=e.default=void 0;var t=Br(),r="@@__IMMUTABLE_ITERABLE__@@",n="@@__IMMUTABLE_LIST__@@",a="@@__IMMUTABLE_KEYED__@@",o="@@__IMMUTABLE_MAP__@@",i="@@__IMMUTABLE_ORDERED__@@",s="@@__IMMUTABLE_RECORD__@@",u="@@__IMMUTABLE_SEQ__@@",l="@@__IMMUTABLE_SET__@@",c="@@__IMMUTABLE_STACK__@@",d=m=>"Immutable."+m,p=m=>"["+m+"]",f=" ",g="…",v=(m,_,T,I,D,B,F)=>++I>_.maxDepth?p(d(F)):d(F)+f+"{"+(0,t.printIteratorEntries)(m.entries(),_,T,I,D,B)+"}";function S(m){let _=0;return{next(){if(_<m._keys.length){const T=m._keys[_++];return{done:!1,value:[T,m.get(T)]}}return{done:!0,value:void 0}}}}var y=(m,_,T,I,D,B)=>{const F=d(m._name||"Record");return++I>_.maxDepth?p(F):F+f+"{"+(0,t.printIteratorEntries)(S(m),_,T,I,D,B)+"}"},w=(m,_,T,I,D,B)=>{const F=d("Seq");return++I>_.maxDepth?p(F):m[a]?F+f+"{"+(m._iter||m._object?(0,t.printIteratorEntries)(m.entries(),_,T,I,D,B):g)+"}":F+f+"["+(m._iter||m._array||m._collection||m._iterable?(0,t.printIteratorValues)(m.values(),_,T,I,D,B):g)+"]"},x=(m,_,T,I,D,B,F)=>++I>_.maxDepth?p(d(F)):d(F)+f+"["+(0,t.printIteratorValues)(m.values(),_,T,I,D,B)+"]",M=(m,_,T,I,D,B)=>m[o]?v(m,_,T,I,D,B,m[i]?"OrderedMap":"Map"):m[n]?x(m,_,T,I,D,B,"List"):m[l]?x(m,_,T,I,D,B,m[i]?"OrderedSet":"Set"):m[c]?x(m,_,T,I,D,B,"Stack"):m[u]?w(m,_,T,I,D,B):y(m,_,T,I,D,B);e.serialize=M;var A=m=>m&&(m[r]===!0||m[s]===!0);e.test=A;var E={serialize:M,test:A};e.default=E})),qc=P((e=>{var t=60103,r=60106,n=60107,a=60108,o=60114,i=60109,s=60110,u=60112,l=60113,c=60120,d=60115,p=60116,f=60121,g=60122,v=60117,S=60129,y=60131;if(typeof Symbol=="function"&&Symbol.for){var w=Symbol.for;t=w("react.element"),r=w("react.portal"),n=w("react.fragment"),a=w("react.strict_mode"),o=w("react.profiler"),i=w("react.provider"),s=w("react.context"),u=w("react.forward_ref"),l=w("react.suspense"),c=w("react.suspense_list"),d=w("react.memo"),p=w("react.lazy"),f=w("react.block"),g=w("react.server.block"),v=w("react.fundamental"),S=w("react.debug_trace_mode"),y=w("react.legacy_hidden")}function x(O){if(typeof O=="object"&&O!==null){var $=O.$$typeof;switch($){case t:switch(O=O.type,O){case n:case o:case a:case l:case c:return O;default:switch(O=O&&O.$$typeof,O){case s:case u:case p:case d:case i:return O;default:return $}}case r:return $}}}var M=i,A=t,E=u,m=n,_=p,T=d,I=r,D=o,B=a,F=l;e.ContextConsumer=s,e.ContextProvider=M,e.Element=A,e.ForwardRef=E,e.Fragment=m,e.Lazy=_,e.Memo=T,e.Portal=I,e.Profiler=D,e.StrictMode=B,e.Suspense=F,e.isAsyncMode=function(){return!1},e.isConcurrentMode=function(){return!1},e.isContextConsumer=function(O){return x(O)===s},e.isContextProvider=function(O){return x(O)===i},e.isElement=function(O){return typeof O=="object"&&O!==null&&O.$$typeof===t},e.isForwardRef=function(O){return x(O)===u},e.isFragment=function(O){return x(O)===n},e.isLazy=function(O){return x(O)===p},e.isMemo=function(O){return x(O)===d},e.isPortal=function(O){return x(O)===r},e.isProfiler=function(O){return x(O)===o},e.isStrictMode=function(O){return x(O)===a},e.isSuspense=function(O){return x(O)===l},e.isValidElementType=function(O){return typeof O=="string"||typeof O=="function"||O===n||O===o||O===S||O===a||O===l||O===c||O===y||typeof O=="object"&&O!==null&&(O.$$typeof===p||O.$$typeof===d||O.$$typeof===i||O.$$typeof===s||O.$$typeof===u||O.$$typeof===v||O.$$typeof===f||O[0]===g)},e.typeOf=x})),Rc=P((e=>{process.env.NODE_ENV!=="production"&&(function(){"use strict";var t=60103,r=60106,n=60107,a=60108,o=60114,i=60109,s=60110,u=60112,l=60113,c=60120,d=60115,p=60116,f=60121,g=60122,v=60117,S=60129,y=60131;if(typeof Symbol=="function"&&Symbol.for){var w=Symbol.for;t=w("react.element"),r=w("react.portal"),n=w("react.fragment"),a=w("react.strict_mode"),o=w("react.profiler"),i=w("react.provider"),s=w("react.context"),u=w("react.forward_ref"),l=w("react.suspense"),c=w("react.suspense_list"),d=w("react.memo"),p=w("react.lazy"),f=w("react.block"),g=w("react.server.block"),v=w("react.fundamental"),w("react.scope"),w("react.opaque.id"),S=w("react.debug_trace_mode"),w("react.offscreen"),y=w("react.legacy_hidden")}var x=!1;function M(N){return!!(typeof N=="string"||typeof N=="function"||N===n||N===o||N===S||N===a||N===l||N===c||N===y||x||typeof N=="object"&&N!==null&&(N.$$typeof===p||N.$$typeof===d||N.$$typeof===i||N.$$typeof===s||N.$$typeof===u||N.$$typeof===v||N.$$typeof===f||N[0]===g))}function A(N){if(typeof N=="object"&&N!==null){var Y=N.$$typeof;switch(Y){case t:var W=N.type;switch(W){case n:case o:case a:case l:case c:return W;default:var te=W&&W.$$typeof;switch(te){case s:case u:case p:case d:case i:return te;default:return Y}}case r:return Y}}}var E=s,m=i,_=t,T=u,I=n,D=p,B=d,F=r,O=o,$=a,H=l,ne=!1,Z=!1;function Ke(N){return ne||(ne=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.")),!1}function Ge(N){return Z||(Z=!0,console.warn("The ReactIs.isConcurrentMode() alias has been deprecated, and will be removed in React 18+.")),!1}function Ye(N){return A(N)===s}function ke(N){return A(N)===i}function je(N){return typeof N=="object"&&N!==null&&N.$$typeof===t}function U(N){return A(N)===u}function De(N){return A(N)===n}function we(N){return A(N)===p}function lt(N){return A(N)===d}function Pt(N){return A(N)===r}function qt(N){return A(N)===o}function R(N){return A(N)===a}function L(N){return A(N)===l}e.ContextConsumer=E,e.ContextProvider=m,e.Element=_,e.ForwardRef=T,e.Fragment=I,e.Lazy=D,e.Memo=B,e.Portal=F,e.Profiler=O,e.StrictMode=$,e.Suspense=H,e.isAsyncMode=Ke,e.isConcurrentMode=Ge,e.isContextConsumer=Ye,e.isContextProvider=ke,e.isElement=je,e.isForwardRef=U,e.isFragment=De,e.isLazy=we,e.isMemo=lt,e.isPortal=Pt,e.isProfiler=qt,e.isStrictMode=R,e.isSuspense=L,e.isValidElementType=M,e.typeOf=A})()})),Tc=P(((e,t)=>{process.env.NODE_ENV==="production"?t.exports=qc():t.exports=Rc()})),Sc=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.test=e.serialize=e.default=void 0;var t=a(Tc()),r=Ea();function n(d){if(typeof WeakMap!="function")return null;var p=new WeakMap,f=new WeakMap;return(n=function(g){return g?f:p})(d)}function a(d,p){if(!p&&d&&d.__esModule)return d;if(d===null||typeof d!="object"&&typeof d!="function")return{default:d};var f=n(p);if(f&&f.has(d))return f.get(d);var g={},v=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var S in d)if(S!=="default"&&Object.prototype.hasOwnProperty.call(d,S)){var y=v?Object.getOwnPropertyDescriptor(d,S):null;y&&(y.get||y.set)?Object.defineProperty(g,S,y):g[S]=d[S]}return g.default=d,f&&f.set(d,g),g}var o=(d,p=[])=>(Array.isArray(d)?d.forEach(f=>{o(f,p)}):d!=null&&d!==!1&&p.push(d),p),i=d=>{const p=d.type;if(typeof p=="string")return p;if(typeof p=="function")return p.displayName||p.name||"Unknown";if(t.isFragment(d))return"React.Fragment";if(t.isSuspense(d))return"React.Suspense";if(typeof p=="object"&&p!==null){if(t.isContextProvider(d))return"Context.Provider";if(t.isContextConsumer(d))return"Context.Consumer";if(t.isForwardRef(d)){if(p.displayName)return p.displayName;const f=p.render.displayName||p.render.name||"";return f!==""?"ForwardRef("+f+")":"ForwardRef"}if(t.isMemo(d)){const f=p.displayName||p.type.displayName||p.type.name||"";return f!==""?"Memo("+f+")":"Memo"}}return"UNDEFINED"},s=d=>{const{props:p}=d;return Object.keys(p).filter(f=>f!=="children"&&p[f]!==void 0).sort()},u=(d,p,f,g,v,S)=>++g>p.maxDepth?(0,r.printElementAsLeaf)(i(d),p):(0,r.printElement)(i(d),(0,r.printProps)(s(d),d.props,p,f+p.indent,g,v,S),(0,r.printChildren)(o(d.props.children),p,f+p.indent,g,v,S),p,f);e.serialize=u;var l=d=>d!=null&&t.isElement(d);e.test=l;var c={serialize:u,test:l};e.default=c})),xc=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.test=e.serialize=e.default=void 0;var t=Ea(),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,a=typeof n=="function"&&n.for?n.for("react.test.json"):245830487,o=l=>{const{props:c}=l;return c?Object.keys(c).filter(d=>c[d]!==void 0).sort():[]},i=(l,c,d,p,f,g)=>++p>c.maxDepth?(0,t.printElementAsLeaf)(l.type,c):(0,t.printElement)(l.type,l.props?(0,t.printProps)(o(l),l.props,c,d+c.indent,p,f,g):"",l.children?(0,t.printChildren)(l.children,c,d+c.indent,p,f,g):"",c,d);e.serialize=i;var s=l=>l&&l.$$typeof===a;e.test=s;var u={serialize:i,test:s};e.default=u})),Oc=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.DEFAULT_OPTIONS=void 0,e.format=lt,e.plugins=void 0;var t=c(Ui()),r=Br(),n=c(gc()),a=c(wc()),o=c(Ec()),i=c(Cc()),s=c(Pc()),u=c(Sc()),l=c(xc());function c(R){return R&&R.__esModule?R:{default:R}}var d=Object.prototype.toString,p=Date.prototype.toISOString,f=Error.prototype.toString,g=RegExp.prototype.toString,v=R=>typeof R.constructor=="function"&&R.constructor.name||"Object",S=R=>typeof window<"u"&&R===window,y=/^Symbol\((.*)\)(.*)$/,w=/\n/gi,x=class extends Error{constructor(R,L){super(R),this.stack=L,this.name=this.constructor.name}};function M(R){return R==="[object Array]"||R==="[object ArrayBuffer]"||R==="[object DataView]"||R==="[object Float32Array]"||R==="[object Float64Array]"||R==="[object Int8Array]"||R==="[object Int16Array]"||R==="[object Int32Array]"||R==="[object Uint8Array]"||R==="[object Uint8ClampedArray]"||R==="[object Uint16Array]"||R==="[object Uint32Array]"}function A(R){return Object.is(R,-0)?"-0":String(R)}function E(R){return`${R}n`}function m(R,L){return L?"[Function "+(R.name||"anonymous")+"]":"[Function]"}function _(R){return String(R).replace(y,"Symbol($1)")}function T(R){return"["+f.call(R)+"]"}function I(R,L,N,Y){if(R===!0||R===!1)return""+R;if(R===void 0)return"undefined";if(R===null)return"null";const W=typeof R;if(W==="number")return A(R);if(W==="bigint")return E(R);if(W==="string")return Y?'"'+R.replace(/"|\\/g,"\\$&")+'"':'"'+R+'"';if(W==="function")return m(R,L);if(W==="symbol")return _(R);const te=d.call(R);return te==="[object WeakMap]"?"WeakMap {}":te==="[object WeakSet]"?"WeakSet {}":te==="[object Function]"||te==="[object GeneratorFunction]"?m(R,L):te==="[object Symbol]"?_(R):te==="[object Date]"?isNaN(+R)?"Date { NaN }":p.call(R):te==="[object Error]"?T(R):te==="[object RegExp]"?N?g.call(R).replace(/[\\^$*+?.()|[\]{}]/g,"\\$&"):g.call(R):R instanceof Error?T(R):null}function D(R,L,N,Y,W,te){if(W.indexOf(R)!==-1)return"[Circular]";W=W.slice(),W.push(R);const ie=++Y>L.maxDepth,ce=L.min;if(L.callToJSON&&!ie&&R.toJSON&&typeof R.toJSON=="function"&&!te)return $(R.toJSON(),L,N,Y,W,!0);const Re=d.call(R);return Re==="[object Arguments]"?ie?"[Arguments]":(ce?"":"Arguments ")+"["+(0,r.printListItems)(R,L,N,Y,W,$)+"]":M(Re)?ie?"["+R.constructor.name+"]":(ce||!L.printBasicPrototype&&R.constructor.name==="Array"?"":R.constructor.name+" ")+"["+(0,r.printListItems)(R,L,N,Y,W,$)+"]":Re==="[object Map]"?ie?"[Map]":"Map {"+(0,r.printIteratorEntries)(R.entries(),L,N,Y,W,$," => ")+"}":Re==="[object Set]"?ie?"[Set]":"Set {"+(0,r.printIteratorValues)(R.values(),L,N,Y,W,$)+"}":ie||S(R)?"["+v(R)+"]":(ce||!L.printBasicPrototype&&v(R)==="Object"?"":v(R)+" ")+"{"+(0,r.printObjectProperties)(R,L,N,Y,W,$)+"}"}function B(R){return R.serialize!=null}function F(R,L,N,Y,W,te){let ie;try{ie=B(R)?R.serialize(L,N,Y,W,te,$):R.print(L,ce=>$(ce,N,Y,W,te),ce=>{const Re=Y+N.indent;return Re+ce.replace(w,`
253
- `+Re)},{edgeSpacing:N.spacingOuter,min:N.min,spacing:N.spacingInner},N.colors)}catch(ce){throw new x(ce.message,ce.stack)}if(typeof ie!="string")throw new Error(`pretty-format: Plugin must return type "string" but instead returned "${typeof ie}".`);return ie}function O(R,L){for(let N=0;N<R.length;N++)try{if(R[N].test(L))return R[N]}catch(Y){throw new x(Y.message,Y.stack)}return null}function $(R,L,N,Y,W,te){const ie=O(L.plugins,R);if(ie!==null)return F(ie,R,L,N,Y,W);const ce=I(R,L.printFunctionName,L.escapeRegex,L.escapeString);return ce!==null?ce:D(R,L,N,Y,W,te)}var H={comment:"gray",content:"reset",prop:"yellow",tag:"cyan",value:"green"},ne=Object.keys(H),Z={callToJSON:!0,compareKeys:void 0,escapeRegex:!1,escapeString:!0,highlight:!1,indent:2,maxDepth:1/0,min:!1,plugins:[],printBasicPrototype:!0,printFunctionName:!0,theme:H};e.DEFAULT_OPTIONS=Z;function Ke(R){if(Object.keys(R).forEach(L=>{if(!Z.hasOwnProperty(L))throw new Error(`pretty-format: Unknown option "${L}".`)}),R.min&&R.indent!==void 0&&R.indent!==0)throw new Error('pretty-format: Options "min" and "indent" cannot be used together.');if(R.theme!==void 0){if(R.theme===null)throw new Error('pretty-format: Option "theme" must not be null.');if(typeof R.theme!="object")throw new Error(`pretty-format: Option "theme" must be of type "object" but instead received "${typeof R.theme}".`)}}var Ge=R=>ne.reduce((L,N)=>{const Y=R.theme&&R.theme[N]!==void 0?R.theme[N]:H[N],W=Y&&t.default[Y];if(W&&typeof W.close=="string"&&typeof W.open=="string")L[N]=W;else throw new Error(`pretty-format: Option "theme" has a key "${N}" whose value "${Y}" is undefined in ansi-styles.`);return L},Object.create(null)),Ye=()=>ne.reduce((R,L)=>(R[L]={close:"",open:""},R),Object.create(null)),ke=R=>R&&R.printFunctionName!==void 0?R.printFunctionName:Z.printFunctionName,je=R=>R&&R.escapeRegex!==void 0?R.escapeRegex:Z.escapeRegex,U=R=>R&&R.escapeString!==void 0?R.escapeString:Z.escapeString,De=R=>{var L;return{callToJSON:R&&R.callToJSON!==void 0?R.callToJSON:Z.callToJSON,colors:R&&R.highlight?Ge(R):Ye(),compareKeys:R&&typeof R.compareKeys=="function"?R.compareKeys:Z.compareKeys,escapeRegex:je(R),escapeString:U(R),indent:R&&R.min?"":we(R&&R.indent!==void 0?R.indent:Z.indent),maxDepth:R&&R.maxDepth!==void 0?R.maxDepth:Z.maxDepth,min:R&&R.min!==void 0?R.min:Z.min,plugins:R&&R.plugins!==void 0?R.plugins:Z.plugins,printBasicPrototype:(L=R?.printBasicPrototype)!==null&&L!==void 0?L:!0,printFunctionName:ke(R),spacingInner:R&&R.min?" ":`
252
+ `;function rc(){const e="twd-styles";if(document.getElementById(e))return;const t=document.createElement("style");t.id=e,t.textContent=tc,document.head.appendChild(t)}var nc=e=>{const{Component:t,createRoot:r,theme:n}=e;Oi(n),rc();const a=document.createElement("div");a.setAttribute("id","twd-sidebar-root"),document.body.appendChild(a),r(a).render(t)},ac=async(e,t,r,n)=>{for(const a in e)await e[a]();nc({Component:t,createRoot:r,theme:n})};function V(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,a])=>e[n]===a):!0}function ve(e){var t;if(oc(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 ${ic(e)}`)}function oc(e){return e.nodeType===9}function ic(e){return typeof e=="function"?`function ${e.name}`:e===null?"null":String(e)}function Mi(e,t){return new Promise((r,n)=>{const a=new t;a.onerror=n,a.onabort=n,a.onload=()=>{r(String(a.result))},a.readAsText(e)})}function va(e,t){const r={...t,length:t.length,item:n=>r[n],[Symbol.iterator]:function*(){for(let a=0;a<r.length;a++)yield r[a]}};return r.constructor=e.FileList,e.FileList&&Object.setPrototypeOf(r,e.FileList.prototype),Object.freeze(r),r}function Ue(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var Ai=class{getAsFile(){return this.file}getAsString(e){typeof this.data=="string"&&e(this.data)}webkitGetAsEntry(){throw new Error("not implemented")}constructor(e,t){Ue(this,"kind",void 0),Ue(this,"type",void 0),Ue(this,"file",null),Ue(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)}},sc=class extends Array{add(...e){const t=new Ai(e[0],e[1]);return this.push(t),t}clear(){this.splice(0,this.length)}remove(e){this.splice(e,1)}};function Jt(e,t){const[r,n]=e.split("/"),a=!n||n==="*";return o=>t?o.type===(a?r:e):a?o.type.startsWith(`${r}/`):o.type===r}function lc(e){return new class{getData(r){var n;const a=(n=this.items.find(Jt(r,!0)))!==null&&n!==void 0?n:this.items.find(Jt(r,!1));let o="";return a?.getAsString(i=>{o=i}),o}setData(r,n){const a=this.items.findIndex(Jt(r,!0)),o=new Ai(n,r);a>=0?this.items.splice(a,1,o):this.items.push(o)}clearData(r){if(r){const n=this.items.findIndex(Jt(r,!0));n>=0&&this.items.remove(n)}else this.items.clear()}get types(){const r=[];return this.files.length&&r.push("Files"),this.items.forEach(n=>r.push(n.type)),Object.freeze(r),r}setDragImage(){}constructor(){Ue(this,"dropEffect","none"),Ue(this,"effectAllowed","uninitialized"),Ue(this,"items",new sc),Ue(this,"files",va(e,[]))}}}function ga(e,t=[]){const r=typeof e.DataTransfer>"u"?lc(e):new e.DataTransfer;return Object.defineProperty(r,"files",{get:()=>va(e,t)}),r}async function uc(e,t){return t.kind==="file"?t.getAsFile():new e.Blob([await new Promise(r=>t.getAsString(r))],{type:t.type})}function Ii(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ni(e,...t){const 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(a){const o=await this.data[a];if(!o)throw new Error(`${a} is not one of the available MIME types on this item.`);return o instanceof e.Blob?o:new e.Blob([o],{type:a})}constructor(a){Ii(this,"data",void 0),this.data=a}}(r)}var bt=Symbol("Manage ClipboardSub");function Ha(e,t){return Object.assign(new class extends e.EventTarget{async read(){return Array.from(this.items)}async readText(){let n="";for(const a of this.items){const o=a.types.includes("text/plain")?"text/plain":a.types.find(i=>i.startsWith("text/"));o&&(n+=await a.getType(o).then(i=>Mi(i,e.FileReader)))}return n}async write(n){this.items=n}async writeText(n){this.items=[Ni(e,n)]}constructor(...n){super(...n),Ii(this,"items",[])}},{[bt]:t})}function ya(e){return!!e?.[bt]}function cc(e){if(ya(e.navigator.clipboard))return e.navigator.clipboard[bt];const t=Object.getOwnPropertyDescriptor(e.navigator,"clipboard");let r;const n={resetClipboardStub:()=>{r=Ha(e,n)},detachClipboardStub:()=>{t?Object.defineProperty(e.navigator,"clipboard",t):Object.defineProperty(e.navigator,"clipboard",{value:void 0,configurable:!0})}};return r=Ha(e,n),Object.defineProperty(e.navigator,"clipboard",{get:()=>r,configurable:!0}),r[bt]}function dc(e){ya(e.navigator.clipboard)&&e.navigator.clipboard[bt].resetClipboardStub()}function fc(e){ya(e.navigator.clipboard)&&e.navigator.clipboard[bt].detachClipboardStub()}async function pc(e){const t=e.defaultView,r=t?.navigator.clipboard,n=r&&await r.read();if(!n)throw new Error("The Clipboard API is unavailable.");const a=ga(t);for(const o of n)for(const i of o.types)a.setData(i,await o.getType(i).then(s=>Mi(s,t.FileReader)));return a}async function ki(e,t){const r=ve(e),n=r.navigator.clipboard,a=[];for(let o=0;o<t.items.length;o++){const i=t.items[o],s=await uc(r,i);a.push(Ni(r,s))}if(!(n&&await n.write(a).then(()=>!0,()=>!1)))throw new Error("The Clipboard API is unavailable.")}var vr=globalThis;typeof vr.afterEach=="function"&&vr.afterEach(()=>dc(globalThis.window));typeof vr.afterAll=="function"&&vr.afterAll(()=>fc(globalThis.window));var ji=["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 wa(e){return e.matches(ji)}function mc(e){return new e.constructor(e.type,e)}function Ae(e){for(let r=e;r;r=r.parentElement)if(V(r,["button","input","select","textarea","optgroup","option"])){if(r.hasAttribute("disabled"))return!0}else if(V(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 Kt(e){const t=e.activeElement;return t?.shadowRoot?Kt(t.shadowRoot):Ae(t)?e.ownerDocument?e.ownerDocument.body:e.body:t}function Kr(e){var t;return(t=Kt(e))!==null&&t!==void 0?t:e.body}function bc(e,t){let r=e;do{if(t(r))return r;r=r.parentElement}while(r&&r!==e.ownerDocument.body)}function nt(e){return e.hasAttribute("contenteditable")&&(e.getAttribute("contenteditable")=="true"||e.getAttribute("contenteditable")=="")}function jt(e){const t=hc(e);return t&&(t.closest('[contenteditable=""]')||t.closest('[contenteditable="true"]'))}function hc(e){return e.nodeType===1?e:e.parentElement}var Di=(function(e){return e.button="button",e.color="color",e.file="file",e.image="image",e.reset="reset",e.submit="submit",e.checkbox="checkbox",e.radio="radio",e})(Di||{});function Li(e){return V(e,"button")||V(e,"input")&&e.type in Di}function ht(e){return $i(e)&&!e.readOnly||nt(e)}var Bi=(function(e){return e.text="text",e.date="date",e["datetime-local"]="datetime-local",e.email="email",e.month="month",e.number="number",e.password="password",e.search="search",e.tel="tel",e.time="time",e.url="url",e.week="week",e})(Bi||{});function $i(e){return V(e,"textarea")||V(e,"input")&&e.type in Bi}function Pe(e){return Fi(e)&&$i(e)}function vc(e){return Fi(e)&&Li(e)}function Fi(e){return e.nodeType===1}function gc(e){const t=e.ownerDocument.getSelection();if(t?.focusNode&&Pe(e)){const n=jt(t.focusNode);if(n){if(!t.isCollapsed){var r;const a=((r=n.firstChild)===null||r===void 0?void 0:r.nodeType)===3?n.firstChild:n;t.setBaseAndExtent(a,0,a,0)}}else t.setBaseAndExtent(e,0,e,0)}}var Ui=P(((e,t)=>{var r=10,n=(i=0)=>s=>`\x1B[${38+i};5;${s}m`,a=(i=0)=>(s,u,l)=>`\x1B[${38+i};2;${s};${u};${l}m`;function o(){const i=new Map,s={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]}};s.color.gray=s.color.blackBright,s.bgColor.bgGray=s.bgColor.bgBlackBright,s.color.grey=s.color.blackBright,s.bgColor.bgGrey=s.bgColor.bgBlackBright;for(const[u,l]of Object.entries(s)){for(const[c,d]of Object.entries(l))s[c]={open:`\x1B[${d[0]}m`,close:`\x1B[${d[1]}m`},l[c]=s[c],i.set(d[0],d[1]);Object.defineProperty(s,u,{value:l,enumerable:!1})}return Object.defineProperty(s,"codes",{value:i,enumerable:!1}),s.color.close="\x1B[39m",s.bgColor.close="\x1B[49m",s.color.ansi256=n(),s.color.ansi16m=a(),s.bgColor.ansi256=n(r),s.bgColor.ansi16m=a(r),Object.defineProperties(s,{rgbToAnsi256:{value:(u,l,c)=>u===l&&l===c?u<8?16:u>248?231:Math.round((u-8)/247*24)+232:16+36*Math.round(u/255*5)+6*Math.round(l/255*5)+Math.round(c/255*5),enumerable:!1},hexToRgb:{value:u=>{const l=/(?<colorString>[a-f\d]{6}|[a-f\d]{3})/i.exec(u.toString(16));if(!l)return[0,0,0];let{colorString:c}=l.groups;c.length===3&&(c=c.split("").map(p=>p+p).join(""));const d=Number.parseInt(c,16);return[d>>16&255,d>>8&255,d&255]},enumerable:!1},hexToAnsi256:{value:u=>s.rgbToAnsi256(...s.hexToRgb(u)),enumerable:!1}}),s}Object.defineProperty(t,"exports",{enumerable:!0,get:o})})),Br=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.printIteratorEntries=r,e.printIteratorValues=n,e.printListItems=a,e.printObjectProperties=o;var t=(i,s)=>{const u=Object.keys(i).sort(s);return Object.getOwnPropertySymbols&&Object.getOwnPropertySymbols(i).forEach(l=>{Object.getOwnPropertyDescriptor(i,l).enumerable&&u.push(l)}),u};function r(i,s,u,l,c,d,p=": "){let f="",g=i.next();if(!g.done){f+=s.spacingOuter;const v=u+s.indent;for(;!g.done;){const S=d(g.value[0],s,v,l,c),y=d(g.value[1],s,v,l,c);f+=v+S+p+y,g=i.next(),g.done?s.min||(f+=","):f+=","+s.spacingInner}f+=s.spacingOuter+u}return f}function n(i,s,u,l,c,d){let p="",f=i.next();if(!f.done){p+=s.spacingOuter;const g=u+s.indent;for(;!f.done;)p+=g+d(f.value,s,g,l,c),f=i.next(),f.done?s.min||(p+=","):p+=","+s.spacingInner;p+=s.spacingOuter+u}return p}function a(i,s,u,l,c,d){let p="";if(i.length){p+=s.spacingOuter;const f=u+s.indent;for(let g=0;g<i.length;g++)p+=f,g in i&&(p+=d(i[g],s,f,l,c)),g<i.length-1?p+=","+s.spacingInner:s.min||(p+=",");p+=s.spacingOuter+u}return p}function o(i,s,u,l,c,d){let p="";const f=t(i,s.compareKeys);if(f.length){p+=s.spacingOuter;const g=u+s.indent;for(let v=0;v<f.length;v++){const S=f[v],y=d(S,s,g,l,c),w=d(i[S],s,g,l,c);p+=g+y+": "+w,v<f.length-1?p+=","+s.spacingInner:s.min||(p+=",")}p+=s.spacingOuter+u}return p}})),yc=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.test=e.serialize=e.default=void 0;var t=Br(),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,a=typeof n=="function"&&n.for?n.for("jest.asymmetricMatcher"):1267621,o=" ",i=(l,c,d,p,f,g)=>{const v=l.toString();return v==="ArrayContaining"||v==="ArrayNotContaining"?++p>c.maxDepth?"["+v+"]":v+o+"["+(0,t.printListItems)(l.sample,c,d,p,f,g)+"]":v==="ObjectContaining"||v==="ObjectNotContaining"?++p>c.maxDepth?"["+v+"]":v+o+"{"+(0,t.printObjectProperties)(l.sample,c,d,p,f,g)+"}":v==="StringMatching"||v==="StringNotMatching"||v==="StringContaining"||v==="StringNotContaining"?v+o+g(l.sample,c,d,p,f):l.toAsymmetricMatcher()};e.serialize=i;var s=l=>l&&l.$$typeof===a;e.test=s;var u={serialize:i,test:s};e.default=u})),wc=P(((e,t)=>{t.exports=({onlyFirst:r=!1}={})=>{const 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")}})),Ec=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.test=e.serialize=e.default=void 0;var t=n(wc()),r=n(Ui());function n(u){return u&&u.__esModule?u:{default:u}}var a=u=>u.replace((0,t.default)(),l=>{switch(l){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""}}),o=u=>typeof u=="string"&&!!u.match((0,t.default)());e.test=o;var i=(u,l,c,d,p,f)=>f(a(u),l,c,d,p);e.serialize=i;var s={serialize:i,test:o};e.default=s})),_c=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.test=e.serialize=e.default=void 0;var t=Br(),r=" ",n=["DOMStringMap","NamedNodeMap"],a=/^(HTML\w*Collection|NodeList)$/,o=c=>n.indexOf(c)!==-1||a.test(c),i=c=>c&&c.constructor&&!!c.constructor.name&&o(c.constructor.name);e.test=i;var s=c=>c.constructor.name==="NamedNodeMap",u=(c,d,p,f,g,v)=>{const S=c.constructor.name;return++f>d.maxDepth?"["+S+"]":(d.min?"":S+r)+(n.indexOf(S)!==-1?"{"+(0,t.printObjectProperties)(s(c)?Array.from(c).reduce((y,w)=>(y[w.name]=w.value,y),{}):{...c},d,p,f,g,v)+"}":"["+(0,t.printListItems)(Array.from(c),d,p,f,g,v)+"]")};e.serialize=u;var l={serialize:u,test:i};e.default=l})),Cc=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=t;function t(r){return r.replace(/</g,"&lt;").replace(/>/g,"&gt;")}})),Ea=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.printText=e.printProps=e.printElementAsLeaf=e.printElement=e.printComment=e.printChildren=void 0;var t=r(Cc());function r(l){return l&&l.__esModule?l:{default:l}}var n=(l,c,d,p,f,g,v)=>{const S=p+d.indent,y=d.colors;return l.map(w=>{const x=c[w];let M=v(x,d,S,f,g);return typeof x!="string"&&(M.indexOf(`
253
+ `)!==-1&&(M=d.spacingOuter+S+M+d.spacingOuter+p),M="{"+M+"}"),d.spacingInner+p+y.prop.open+w+y.prop.close+"="+y.value.open+M+y.value.close}).join("")};e.printProps=n;var a=(l,c,d,p,f,g)=>l.map(v=>c.spacingOuter+d+(typeof v=="string"?o(v,c):g(v,c,d,p,f))).join("");e.printChildren=a;var o=(l,c)=>{const d=c.colors.content;return d.open+(0,t.default)(l)+d.close};e.printText=o;var i=(l,c)=>{const d=c.colors.comment;return d.open+"<!--"+(0,t.default)(l)+"-->"+d.close};e.printComment=i;var s=(l,c,d,p,f)=>{const g=p.colors.tag;return g.open+"<"+l+(c&&g.close+c+p.spacingOuter+f+g.open)+(d?">"+g.close+d+p.spacingOuter+f+g.open+"</"+l:(c&&!p.min?"":" ")+"/")+">"+g.close};e.printElement=s;var u=(l,c)=>{const d=c.colors.tag;return d.open+"<"+l+d.close+" …"+d.open+" />"+d.close};e.printElementAsLeaf=u})),Pc=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.test=e.serialize=e.default=void 0;var t=Ea(),r=1,n=3,a=8,o=11,i=/^((HTML|SVG)\w*)?Element$/,s=v=>{try{return typeof v.hasAttribute=="function"&&v.hasAttribute("is")}catch{return!1}},u=v=>{const S=v.constructor.name,{nodeType:y,tagName:w}=v,x=typeof w=="string"&&w.includes("-")||s(v);return y===r&&(i.test(S)||x)||y===n&&S==="Text"||y===a&&S==="Comment"||y===o&&S==="DocumentFragment"},l=v=>{var S;return(v==null||(S=v.constructor)===null||S===void 0?void 0:S.name)&&u(v)};e.test=l;function c(v){return v.nodeType===n}function d(v){return v.nodeType===a}function p(v){return v.nodeType===o}var f=(v,S,y,w,x,M)=>{if(c(v))return(0,t.printText)(v.data,S);if(d(v))return(0,t.printComment)(v.data,S);const A=p(v)?"DocumentFragment":v.tagName.toLowerCase();return++w>S.maxDepth?(0,t.printElementAsLeaf)(A,S):(0,t.printElement)(A,(0,t.printProps)(p(v)?[]:Array.from(v.attributes).map(E=>E.name).sort(),p(v)?{}:Array.from(v.attributes).reduce((E,m)=>(E[m.name]=m.value,E),{}),S,y+S.indent,w,x,M),(0,t.printChildren)(Array.prototype.slice.call(v.childNodes||v.children),S,y+S.indent,w,x,M),S,y)};e.serialize=f;var g={serialize:f,test:l};e.default=g})),qc=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.test=e.serialize=e.default=void 0;var t=Br(),r="@@__IMMUTABLE_ITERABLE__@@",n="@@__IMMUTABLE_LIST__@@",a="@@__IMMUTABLE_KEYED__@@",o="@@__IMMUTABLE_MAP__@@",i="@@__IMMUTABLE_ORDERED__@@",s="@@__IMMUTABLE_RECORD__@@",u="@@__IMMUTABLE_SEQ__@@",l="@@__IMMUTABLE_SET__@@",c="@@__IMMUTABLE_STACK__@@",d=m=>"Immutable."+m,p=m=>"["+m+"]",f=" ",g="…",v=(m,_,T,I,D,B,F)=>++I>_.maxDepth?p(d(F)):d(F)+f+"{"+(0,t.printIteratorEntries)(m.entries(),_,T,I,D,B)+"}";function S(m){let _=0;return{next(){if(_<m._keys.length){const T=m._keys[_++];return{done:!1,value:[T,m.get(T)]}}return{done:!0,value:void 0}}}}var y=(m,_,T,I,D,B)=>{const F=d(m._name||"Record");return++I>_.maxDepth?p(F):F+f+"{"+(0,t.printIteratorEntries)(S(m),_,T,I,D,B)+"}"},w=(m,_,T,I,D,B)=>{const F=d("Seq");return++I>_.maxDepth?p(F):m[a]?F+f+"{"+(m._iter||m._object?(0,t.printIteratorEntries)(m.entries(),_,T,I,D,B):g)+"}":F+f+"["+(m._iter||m._array||m._collection||m._iterable?(0,t.printIteratorValues)(m.values(),_,T,I,D,B):g)+"]"},x=(m,_,T,I,D,B,F)=>++I>_.maxDepth?p(d(F)):d(F)+f+"["+(0,t.printIteratorValues)(m.values(),_,T,I,D,B)+"]",M=(m,_,T,I,D,B)=>m[o]?v(m,_,T,I,D,B,m[i]?"OrderedMap":"Map"):m[n]?x(m,_,T,I,D,B,"List"):m[l]?x(m,_,T,I,D,B,m[i]?"OrderedSet":"Set"):m[c]?x(m,_,T,I,D,B,"Stack"):m[u]?w(m,_,T,I,D,B):y(m,_,T,I,D,B);e.serialize=M;var A=m=>m&&(m[r]===!0||m[s]===!0);e.test=A;var E={serialize:M,test:A};e.default=E})),Rc=P((e=>{var t=60103,r=60106,n=60107,a=60108,o=60114,i=60109,s=60110,u=60112,l=60113,c=60120,d=60115,p=60116,f=60121,g=60122,v=60117,S=60129,y=60131;if(typeof Symbol=="function"&&Symbol.for){var w=Symbol.for;t=w("react.element"),r=w("react.portal"),n=w("react.fragment"),a=w("react.strict_mode"),o=w("react.profiler"),i=w("react.provider"),s=w("react.context"),u=w("react.forward_ref"),l=w("react.suspense"),c=w("react.suspense_list"),d=w("react.memo"),p=w("react.lazy"),f=w("react.block"),g=w("react.server.block"),v=w("react.fundamental"),S=w("react.debug_trace_mode"),y=w("react.legacy_hidden")}function x(O){if(typeof O=="object"&&O!==null){var $=O.$$typeof;switch($){case t:switch(O=O.type,O){case n:case o:case a:case l:case c:return O;default:switch(O=O&&O.$$typeof,O){case s:case u:case p:case d:case i:return O;default:return $}}case r:return $}}}var M=i,A=t,E=u,m=n,_=p,T=d,I=r,D=o,B=a,F=l;e.ContextConsumer=s,e.ContextProvider=M,e.Element=A,e.ForwardRef=E,e.Fragment=m,e.Lazy=_,e.Memo=T,e.Portal=I,e.Profiler=D,e.StrictMode=B,e.Suspense=F,e.isAsyncMode=function(){return!1},e.isConcurrentMode=function(){return!1},e.isContextConsumer=function(O){return x(O)===s},e.isContextProvider=function(O){return x(O)===i},e.isElement=function(O){return typeof O=="object"&&O!==null&&O.$$typeof===t},e.isForwardRef=function(O){return x(O)===u},e.isFragment=function(O){return x(O)===n},e.isLazy=function(O){return x(O)===p},e.isMemo=function(O){return x(O)===d},e.isPortal=function(O){return x(O)===r},e.isProfiler=function(O){return x(O)===o},e.isStrictMode=function(O){return x(O)===a},e.isSuspense=function(O){return x(O)===l},e.isValidElementType=function(O){return typeof O=="string"||typeof O=="function"||O===n||O===o||O===S||O===a||O===l||O===c||O===y||typeof O=="object"&&O!==null&&(O.$$typeof===p||O.$$typeof===d||O.$$typeof===i||O.$$typeof===s||O.$$typeof===u||O.$$typeof===v||O.$$typeof===f||O[0]===g)},e.typeOf=x})),Tc=P((e=>{process.env.NODE_ENV!=="production"&&(function(){"use strict";var t=60103,r=60106,n=60107,a=60108,o=60114,i=60109,s=60110,u=60112,l=60113,c=60120,d=60115,p=60116,f=60121,g=60122,v=60117,S=60129,y=60131;if(typeof Symbol=="function"&&Symbol.for){var w=Symbol.for;t=w("react.element"),r=w("react.portal"),n=w("react.fragment"),a=w("react.strict_mode"),o=w("react.profiler"),i=w("react.provider"),s=w("react.context"),u=w("react.forward_ref"),l=w("react.suspense"),c=w("react.suspense_list"),d=w("react.memo"),p=w("react.lazy"),f=w("react.block"),g=w("react.server.block"),v=w("react.fundamental"),w("react.scope"),w("react.opaque.id"),S=w("react.debug_trace_mode"),w("react.offscreen"),y=w("react.legacy_hidden")}var x=!1;function M(N){return!!(typeof N=="string"||typeof N=="function"||N===n||N===o||N===S||N===a||N===l||N===c||N===y||x||typeof N=="object"&&N!==null&&(N.$$typeof===p||N.$$typeof===d||N.$$typeof===i||N.$$typeof===s||N.$$typeof===u||N.$$typeof===v||N.$$typeof===f||N[0]===g))}function A(N){if(typeof N=="object"&&N!==null){var Y=N.$$typeof;switch(Y){case t:var W=N.type;switch(W){case n:case o:case a:case l:case c:return W;default:var re=W&&W.$$typeof;switch(re){case s:case u:case p:case d:case i:return re;default:return Y}}case r:return Y}}}var E=s,m=i,_=t,T=u,I=n,D=p,B=d,F=r,O=o,$=a,H=l,ne=!1,Z=!1;function Ke(N){return ne||(ne=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.")),!1}function Ge(N){return Z||(Z=!0,console.warn("The ReactIs.isConcurrentMode() alias has been deprecated, and will be removed in React 18+.")),!1}function Ye(N){return A(N)===s}function ke(N){return A(N)===i}function je(N){return typeof N=="object"&&N!==null&&N.$$typeof===t}function U(N){return A(N)===u}function De(N){return A(N)===n}function we(N){return A(N)===p}function lt(N){return A(N)===d}function Pt(N){return A(N)===r}function qt(N){return A(N)===o}function R(N){return A(N)===a}function L(N){return A(N)===l}e.ContextConsumer=E,e.ContextProvider=m,e.Element=_,e.ForwardRef=T,e.Fragment=I,e.Lazy=D,e.Memo=B,e.Portal=F,e.Profiler=O,e.StrictMode=$,e.Suspense=H,e.isAsyncMode=Ke,e.isConcurrentMode=Ge,e.isContextConsumer=Ye,e.isContextProvider=ke,e.isElement=je,e.isForwardRef=U,e.isFragment=De,e.isLazy=we,e.isMemo=lt,e.isPortal=Pt,e.isProfiler=qt,e.isStrictMode=R,e.isSuspense=L,e.isValidElementType=M,e.typeOf=A})()})),Sc=P(((e,t)=>{process.env.NODE_ENV==="production"?t.exports=Rc():t.exports=Tc()})),xc=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.test=e.serialize=e.default=void 0;var t=a(Sc()),r=Ea();function n(d){if(typeof WeakMap!="function")return null;var p=new WeakMap,f=new WeakMap;return(n=function(g){return g?f:p})(d)}function a(d,p){if(!p&&d&&d.__esModule)return d;if(d===null||typeof d!="object"&&typeof d!="function")return{default:d};var f=n(p);if(f&&f.has(d))return f.get(d);var g={},v=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var S in d)if(S!=="default"&&Object.prototype.hasOwnProperty.call(d,S)){var y=v?Object.getOwnPropertyDescriptor(d,S):null;y&&(y.get||y.set)?Object.defineProperty(g,S,y):g[S]=d[S]}return g.default=d,f&&f.set(d,g),g}var o=(d,p=[])=>(Array.isArray(d)?d.forEach(f=>{o(f,p)}):d!=null&&d!==!1&&p.push(d),p),i=d=>{const p=d.type;if(typeof p=="string")return p;if(typeof p=="function")return p.displayName||p.name||"Unknown";if(t.isFragment(d))return"React.Fragment";if(t.isSuspense(d))return"React.Suspense";if(typeof p=="object"&&p!==null){if(t.isContextProvider(d))return"Context.Provider";if(t.isContextConsumer(d))return"Context.Consumer";if(t.isForwardRef(d)){if(p.displayName)return p.displayName;const f=p.render.displayName||p.render.name||"";return f!==""?"ForwardRef("+f+")":"ForwardRef"}if(t.isMemo(d)){const f=p.displayName||p.type.displayName||p.type.name||"";return f!==""?"Memo("+f+")":"Memo"}}return"UNDEFINED"},s=d=>{const{props:p}=d;return Object.keys(p).filter(f=>f!=="children"&&p[f]!==void 0).sort()},u=(d,p,f,g,v,S)=>++g>p.maxDepth?(0,r.printElementAsLeaf)(i(d),p):(0,r.printElement)(i(d),(0,r.printProps)(s(d),d.props,p,f+p.indent,g,v,S),(0,r.printChildren)(o(d.props.children),p,f+p.indent,g,v,S),p,f);e.serialize=u;var l=d=>d!=null&&t.isElement(d);e.test=l;var c={serialize:u,test:l};e.default=c})),Oc=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.test=e.serialize=e.default=void 0;var t=Ea(),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,a=typeof n=="function"&&n.for?n.for("react.test.json"):245830487,o=l=>{const{props:c}=l;return c?Object.keys(c).filter(d=>c[d]!==void 0).sort():[]},i=(l,c,d,p,f,g)=>++p>c.maxDepth?(0,t.printElementAsLeaf)(l.type,c):(0,t.printElement)(l.type,l.props?(0,t.printProps)(o(l),l.props,c,d+c.indent,p,f,g):"",l.children?(0,t.printChildren)(l.children,c,d+c.indent,p,f,g):"",c,d);e.serialize=i;var s=l=>l&&l.$$typeof===a;e.test=s;var u={serialize:i,test:s};e.default=u})),Mc=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.DEFAULT_OPTIONS=void 0,e.format=lt,e.plugins=void 0;var t=c(Ui()),r=Br(),n=c(yc()),a=c(Ec()),o=c(_c()),i=c(Pc()),s=c(qc()),u=c(xc()),l=c(Oc());function c(R){return R&&R.__esModule?R:{default:R}}var d=Object.prototype.toString,p=Date.prototype.toISOString,f=Error.prototype.toString,g=RegExp.prototype.toString,v=R=>typeof R.constructor=="function"&&R.constructor.name||"Object",S=R=>typeof window<"u"&&R===window,y=/^Symbol\((.*)\)(.*)$/,w=/\n/gi,x=class extends Error{constructor(R,L){super(R),this.stack=L,this.name=this.constructor.name}};function M(R){return R==="[object Array]"||R==="[object ArrayBuffer]"||R==="[object DataView]"||R==="[object Float32Array]"||R==="[object Float64Array]"||R==="[object Int8Array]"||R==="[object Int16Array]"||R==="[object Int32Array]"||R==="[object Uint8Array]"||R==="[object Uint8ClampedArray]"||R==="[object Uint16Array]"||R==="[object Uint32Array]"}function A(R){return Object.is(R,-0)?"-0":String(R)}function E(R){return`${R}n`}function m(R,L){return L?"[Function "+(R.name||"anonymous")+"]":"[Function]"}function _(R){return String(R).replace(y,"Symbol($1)")}function T(R){return"["+f.call(R)+"]"}function I(R,L,N,Y){if(R===!0||R===!1)return""+R;if(R===void 0)return"undefined";if(R===null)return"null";const W=typeof R;if(W==="number")return A(R);if(W==="bigint")return E(R);if(W==="string")return Y?'"'+R.replace(/"|\\/g,"\\$&")+'"':'"'+R+'"';if(W==="function")return m(R,L);if(W==="symbol")return _(R);const re=d.call(R);return re==="[object WeakMap]"?"WeakMap {}":re==="[object WeakSet]"?"WeakSet {}":re==="[object Function]"||re==="[object GeneratorFunction]"?m(R,L):re==="[object Symbol]"?_(R):re==="[object Date]"?isNaN(+R)?"Date { NaN }":p.call(R):re==="[object Error]"?T(R):re==="[object RegExp]"?N?g.call(R).replace(/[\\^$*+?.()|[\]{}]/g,"\\$&"):g.call(R):R instanceof Error?T(R):null}function D(R,L,N,Y,W,re){if(W.indexOf(R)!==-1)return"[Circular]";W=W.slice(),W.push(R);const ie=++Y>L.maxDepth,ce=L.min;if(L.callToJSON&&!ie&&R.toJSON&&typeof R.toJSON=="function"&&!re)return $(R.toJSON(),L,N,Y,W,!0);const Re=d.call(R);return Re==="[object Arguments]"?ie?"[Arguments]":(ce?"":"Arguments ")+"["+(0,r.printListItems)(R,L,N,Y,W,$)+"]":M(Re)?ie?"["+R.constructor.name+"]":(ce||!L.printBasicPrototype&&R.constructor.name==="Array"?"":R.constructor.name+" ")+"["+(0,r.printListItems)(R,L,N,Y,W,$)+"]":Re==="[object Map]"?ie?"[Map]":"Map {"+(0,r.printIteratorEntries)(R.entries(),L,N,Y,W,$," => ")+"}":Re==="[object Set]"?ie?"[Set]":"Set {"+(0,r.printIteratorValues)(R.values(),L,N,Y,W,$)+"}":ie||S(R)?"["+v(R)+"]":(ce||!L.printBasicPrototype&&v(R)==="Object"?"":v(R)+" ")+"{"+(0,r.printObjectProperties)(R,L,N,Y,W,$)+"}"}function B(R){return R.serialize!=null}function F(R,L,N,Y,W,re){let ie;try{ie=B(R)?R.serialize(L,N,Y,W,re,$):R.print(L,ce=>$(ce,N,Y,W,re),ce=>{const Re=Y+N.indent;return Re+ce.replace(w,`
254
+ `+Re)},{edgeSpacing:N.spacingOuter,min:N.min,spacing:N.spacingInner},N.colors)}catch(ce){throw new x(ce.message,ce.stack)}if(typeof ie!="string")throw new Error(`pretty-format: Plugin must return type "string" but instead returned "${typeof ie}".`);return ie}function O(R,L){for(let N=0;N<R.length;N++)try{if(R[N].test(L))return R[N]}catch(Y){throw new x(Y.message,Y.stack)}return null}function $(R,L,N,Y,W,re){const ie=O(L.plugins,R);if(ie!==null)return F(ie,R,L,N,Y,W);const ce=I(R,L.printFunctionName,L.escapeRegex,L.escapeString);return ce!==null?ce:D(R,L,N,Y,W,re)}var H={comment:"gray",content:"reset",prop:"yellow",tag:"cyan",value:"green"},ne=Object.keys(H),Z={callToJSON:!0,compareKeys:void 0,escapeRegex:!1,escapeString:!0,highlight:!1,indent:2,maxDepth:1/0,min:!1,plugins:[],printBasicPrototype:!0,printFunctionName:!0,theme:H};e.DEFAULT_OPTIONS=Z;function Ke(R){if(Object.keys(R).forEach(L=>{if(!Z.hasOwnProperty(L))throw new Error(`pretty-format: Unknown option "${L}".`)}),R.min&&R.indent!==void 0&&R.indent!==0)throw new Error('pretty-format: Options "min" and "indent" cannot be used together.');if(R.theme!==void 0){if(R.theme===null)throw new Error('pretty-format: Option "theme" must not be null.');if(typeof R.theme!="object")throw new Error(`pretty-format: Option "theme" must be of type "object" but instead received "${typeof R.theme}".`)}}var Ge=R=>ne.reduce((L,N)=>{const Y=R.theme&&R.theme[N]!==void 0?R.theme[N]:H[N],W=Y&&t.default[Y];if(W&&typeof W.close=="string"&&typeof W.open=="string")L[N]=W;else throw new Error(`pretty-format: Option "theme" has a key "${N}" whose value "${Y}" is undefined in ansi-styles.`);return L},Object.create(null)),Ye=()=>ne.reduce((R,L)=>(R[L]={close:"",open:""},R),Object.create(null)),ke=R=>R&&R.printFunctionName!==void 0?R.printFunctionName:Z.printFunctionName,je=R=>R&&R.escapeRegex!==void 0?R.escapeRegex:Z.escapeRegex,U=R=>R&&R.escapeString!==void 0?R.escapeString:Z.escapeString,De=R=>{var L;return{callToJSON:R&&R.callToJSON!==void 0?R.callToJSON:Z.callToJSON,colors:R&&R.highlight?Ge(R):Ye(),compareKeys:R&&typeof R.compareKeys=="function"?R.compareKeys:Z.compareKeys,escapeRegex:je(R),escapeString:U(R),indent:R&&R.min?"":we(R&&R.indent!==void 0?R.indent:Z.indent),maxDepth:R&&R.maxDepth!==void 0?R.maxDepth:Z.maxDepth,min:R&&R.min!==void 0?R.min:Z.min,plugins:R&&R.plugins!==void 0?R.plugins:Z.plugins,printBasicPrototype:(L=R?.printBasicPrototype)!==null&&L!==void 0?L:!0,printFunctionName:ke(R),spacingInner:R&&R.min?" ":`
254
255
  `,spacingOuter:R&&R.min?"":`
255
- `}};function we(R){return new Array(R+1).join(" ")}function lt(R,L){if(L&&(Ke(L),L.plugins)){const Y=O(L.plugins,R);if(Y!==null)return F(Y,R,De(L),"",0,[])}const N=I(R,ke(L),je(L),U(L));return N!==null?N:D(R,De(L),"",0,[])}var Pt={AsymmetricMatcher:n.default,ConvertAnsi:a.default,DOMCollection:o.default,DOMElement:i.default,Immutable:s.default,ReactElement:u.default,ReactTestComponent:l.default};e.plugins=Pt;var qt=lt;e.default=qt})),zi=An(Oc()),Mc=Object.prototype.toString;function Wa(e){return typeof e=="function"||Mc.call(e)==="[object Function]"}function Ac(e){var t=Number(e);return isNaN(t)?0:t===0||!isFinite(t)?t:(t>0?1:-1)*Math.floor(Math.abs(t))}var Ic=Math.pow(2,53)-1;function Nc(e){var t=Ac(e);return Math.min(Math.max(t,0),Ic)}function ge(e,t){var r=Array,n=Object(e);if(e==null)throw new TypeError("Array.from requires an array-like object - not null or undefined");if(typeof t<"u"&&!Wa(t))throw new TypeError("Array.from: when provided, the second argument must be a function");for(var a=Nc(n.length),o=Wa(r)?Object(new r(a)):new Array(a),i=0,s;i<a;)s=n[i],t?o[i]=t(s,i):o[i]=s,i+=1;return o.length=a,o}function Dt(e){"@babel/helpers - typeof";return Dt=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},Dt(e)}function kc(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ka(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,Vi(n.key),n)}}function jc(e,t,r){return t&&Ka(e.prototype,t),r&&Ka(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function Dc(e,t,r){return t=Vi(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Vi(e){var t=Lc(e,"string");return Dt(t)==="symbol"?t:String(t)}function Lc(e,t){if(Dt(e)!=="object"||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t||"default");if(Dt(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var Bc=(function(){function e(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];kc(this,e),Dc(this,"items",void 0),this.items=t}return jc(e,[{key:"add",value:function(r){return this.has(r)===!1&&this.items.push(r),this}},{key:"clear",value:function(){this.items=[]}},{key:"delete",value:function(r){var n=this.items.length;return this.items=this.items.filter(function(a){return a!==r}),n!==this.items.length}},{key:"forEach",value:function(r){var n=this;this.items.forEach(function(a){r(a,a,n)})}},{key:"has",value:function(r){return this.items.indexOf(r)!==-1}},{key:"size",get:function(){return this.items.length}}]),e})(),$c=typeof Set>"u"?Set:Bc;function le(e){var t;return(t=e.localName)!==null&&t!==void 0?t:e.tagName.toLowerCase()}var Fc={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"},Uc={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 zc(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=Uc[t])!==null&&n!==void 0&&n.has(r))})}function Hi(e,t){return zc(e,t)}function Vc(e){var t=Wc(e);if(t===null||t==="presentation"){var r=Hc(e);if(t!=="presentation"||Hi(e,r||""))return r}return t}function Hc(e){var t=Fc[le(e)];if(t!==void 0)return t;switch(le(e)){case"a":case"area":case"link":if(e.hasAttribute("href"))return"link";break;case"img":return e.getAttribute("alt")===""&&!Hi(e,"img")?"presentation":"img";case"input":var r=e.type;switch(r){case"button":case"image":case"reset":case"submit":return"button";case"checkbox":case"radio":return r;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 Wc(e){var t=e.getAttribute("role");if(t!==null){var r=t.trim().split(" ")[0];if(r.length>0)return r}return null}function Q(e){return e!==null&&e.nodeType===e.ELEMENT_NODE}function Wi(e){return Q(e)&&le(e)==="caption"}function nr(e){return Q(e)&&le(e)==="input"}function Kc(e){return Q(e)&&le(e)==="optgroup"}function Gc(e){return Q(e)&&le(e)==="select"}function Yc(e){return Q(e)&&le(e)==="table"}function Xc(e){return Q(e)&&le(e)==="textarea"}function Jc(e){var t=(e.ownerDocument===null?e:e.ownerDocument).defaultView;if(t===null)throw new TypeError("no window available");return t}function Qc(e){return Q(e)&&le(e)==="fieldset"}function Zc(e){return Q(e)&&le(e)==="legend"}function ed(e){return Q(e)&&le(e)==="slot"}function td(e){return Q(e)&&e.ownerSVGElement!==void 0}function rd(e){return Q(e)&&le(e)==="svg"}function nd(e){return td(e)&&le(e)==="title"}function gr(e,t){if(Q(e)&&e.hasAttribute(t)){var r=e.getAttribute(t).split(" "),n=e.getRootNode?e.getRootNode():e.ownerDocument;return r.map(function(a){return n.getElementById(a)}).filter(function(a){return a!==null})}return[]}function Se(e,t){return Q(e)?t.indexOf(Vc(e))!==-1:!1}function ad(e){return e.trim().replace(/\s\s+/g," ")}function od(e,t){if(!Q(e))return!1;if(e.hasAttribute("hidden")||e.getAttribute("aria-hidden")==="true")return!0;var r=t(e);return r.getPropertyValue("display")==="none"||r.getPropertyValue("visibility")==="hidden"}function id(e){return Se(e,["button","combobox","listbox","textbox"])||Ki(e,"range")}function Ki(e,t){if(!Q(e))return!1;if(t==="range")return Se(e,["meter","progressbar","scrollbar","slider","spinbutton"]);throw new TypeError("No knowledge about abstract role '".concat(t,"'. This is likely a bug :("))}function Ga(e,t){var r=ge(e.querySelectorAll(t));return gr(e,"aria-owns").forEach(function(n){r.push.apply(r,ge(n.querySelectorAll(t)))}),r}function sd(e){return Gc(e)?e.selectedOptions||Ga(e,"[selected]"):Ga(e,'[aria-selected="true"]')}function ld(e){return Se(e,["none","presentation"])}function ud(e){return Wi(e)}function cd(e){return Se(e,["button","cell","checkbox","columnheader","gridcell","heading","label","legend","link","menuitem","menuitemcheckbox","menuitemradio","option","radio","row","rowheader","switch","tab","tooltip","treeitem"])}function dd(e){return!1}function fd(e){return nr(e)||Xc(e)?e.value:e.textContent||""}function Ya(e){var t=e.getPropertyValue("content");return/^["'].*["']$/.test(t)?t.slice(1,-1):""}function Gi(e){var t=le(e);return t==="button"||t==="input"&&e.getAttribute("type")!=="hidden"||t==="meter"||t==="output"||t==="progress"||t==="select"||t==="textarea"}function Yi(e){if(Gi(e))return e;var t=null;return e.childNodes.forEach(function(r){if(t===null&&Q(r)){var n=Yi(r);n!==null&&(t=n)}}),t}function pd(e){if(e.control!==void 0)return e.control;var t=e.getAttribute("for");return t!==null?e.ownerDocument.getElementById(t):Yi(e)}function md(e){var t=e.labels;if(t===null)return t;if(t!==void 0)return ge(t);if(!Gi(e))return null;var r=e.ownerDocument;return ge(r.querySelectorAll("label")).filter(function(n){return pd(n)===e})}function bd(e){var t=e.assignedNodes();return t.length===0?ge(e.childNodes):t}function Xi(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=new $c,n=Jc(e),a=t.compute,o=a===void 0?"name":a,i=t.computedStyleSupportsPseudoElements,s=i===void 0?t.getComputedStyle!==void 0:i,u=t.getComputedStyle,l=u===void 0?n.getComputedStyle.bind(n):u,c=t.hidden,d=c===void 0?!1:c;function p(y,w){var x="";if(Q(y)&&s){var M=Ya(l(y,"::before"));x="".concat(M," ").concat(x)}if((ed(y)?bd(y):ge(y.childNodes).concat(gr(y,"aria-owns"))).forEach(function(E){var m=S(E,{isEmbeddedInLabel:w.isEmbeddedInLabel,isReferenced:!1,recursion:!0}),_=(Q(E)?l(E).getPropertyValue("display"):"inline")!=="inline"?" ":"";x+="".concat(_).concat(m).concat(_)}),Q(y)&&s){var A=Ya(l(y,"::after"));x="".concat(x," ").concat(A)}return x.trim()}function f(y,w){var x=y.getAttributeNode(w);return x!==null&&!r.has(x)&&x.value.trim()!==""?(r.add(x),x.value):null}function g(y){return Q(y)?f(y,"title"):null}function v(y){if(!Q(y))return null;if(Qc(y)){r.add(y);for(var w=ge(y.childNodes),x=0;x<w.length;x+=1){var M=w[x];if(Zc(M))return S(M,{isEmbeddedInLabel:!1,isReferenced:!1,recursion:!1})}}else if(Yc(y)){r.add(y);for(var A=ge(y.childNodes),E=0;E<A.length;E+=1){var m=A[E];if(Wi(m))return S(m,{isEmbeddedInLabel:!1,isReferenced:!1,recursion:!1})}}else if(rd(y)){r.add(y);for(var _=ge(y.childNodes),T=0;T<_.length;T+=1){var I=_[T];if(nd(I))return I.textContent}return null}else if(le(y)==="img"||le(y)==="area"){var D=f(y,"alt");if(D!==null)return D}else if(Kc(y)){var B=f(y,"label");if(B!==null)return B}if(nr(y)&&(y.type==="button"||y.type==="submit"||y.type==="reset")){var F=f(y,"value");if(F!==null)return F;if(y.type==="submit")return"Submit";if(y.type==="reset")return"Reset"}var O=md(y);if(O!==null&&O.length!==0)return r.add(y),ge(O).map(function(Z){return S(Z,{isEmbeddedInLabel:!0,isReferenced:!1,recursion:!0})}).filter(function(Z){return Z.length>0}).join(" ");if(nr(y)&&y.type==="image"){var $=f(y,"alt");if($!==null)return $;var H=f(y,"title");return H!==null?H:"Submit Query"}if(Se(y,["button"])){var ne=p(y,{isEmbeddedInLabel:!1,isReferenced:!1});if(ne!=="")return ne}return null}function S(y,w){if(r.has(y))return"";if(!d&&od(y,l)&&!w.isReferenced)return r.add(y),"";var x=Q(y)?y.getAttributeNode("aria-labelledby"):null,M=x!==null&&!r.has(x)?gr(y,"aria-labelledby"):[];if(o==="name"&&!w.isReferenced&&M.length>0)return r.add(x),M.map(function(D){return S(D,{isEmbeddedInLabel:w.isEmbeddedInLabel,isReferenced:!0,recursion:!1})}).join(" ");var A=w.recursion&&id(y)&&o==="name";if(!A){var E=(Q(y)&&y.getAttribute("aria-label")||"").trim();if(E!==""&&o==="name")return r.add(y),E;if(!ld(y)){var m=v(y);if(m!==null)return r.add(y),m}}if(Se(y,["menu"]))return r.add(y),"";if(A||w.isEmbeddedInLabel||w.isReferenced){if(Se(y,["combobox","listbox"])){r.add(y);var _=sd(y);return _.length===0?nr(y)?y.value:"":ge(_).map(function(D){return S(D,{isEmbeddedInLabel:w.isEmbeddedInLabel,isReferenced:!1,recursion:!0})}).join(" ")}if(Ki(y,"range"))return r.add(y),y.hasAttribute("aria-valuetext")?y.getAttribute("aria-valuetext"):y.hasAttribute("aria-valuenow")?y.getAttribute("aria-valuenow"):y.getAttribute("value")||"";if(Se(y,["textbox"]))return r.add(y),fd(y)}if(cd(y)||Q(y)&&w.isReferenced||ud(y)||dd(y)){var T=p(y,{isEmbeddedInLabel:w.isEmbeddedInLabel,isReferenced:!1});if(T!=="")return r.add(y),T}if(y.nodeType===y.TEXT_NODE)return r.add(y),y.textContent||"";if(w.recursion)return r.add(y),p(y,{isEmbeddedInLabel:w.isEmbeddedInLabel,isReferenced:!1});var I=g(y);return I!==null?(r.add(y),I):(r.add(y),"")}return ad(S(e,{isEmbeddedInLabel:!1,isReferenced:o==="description",recursion:!1}))}function Lt(e){"@babel/helpers - typeof";return Lt=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},Lt(e)}function Xa(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),r.push.apply(r,n)}return r}function Ja(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?Xa(Object(r),!0).forEach(function(n){hd(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Xa(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function hd(e,t,r){return t=vd(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function vd(e){var t=gd(e,"string");return Lt(t)==="symbol"?t:String(t)}function gd(e,t){if(Lt(e)!=="object"||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t||"default");if(Lt(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function Ji(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=gr(e,"aria-describedby").map(function(a){return Xi(a,Ja(Ja({},t),{},{compute:"description"}))}).join(" ");if(r===""){var n=e.getAttribute("title");r=n===null?"":n}return r}function yd(e){return Se(e,["caption","code","deletion","emphasis","generic","insertion","paragraph","presentation","strong","subscript","superscript"])}function _a(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return yd(e)?"":Xi(e,t)}var wd=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;function t(){var n=this,a=0,o={"@@iterator":function(){return o},next:function(){if(a<n.length){var s=n[a];return a=a+1,{done:!1,value:s}}else return{done:!0}}};return o}var r=t;e.default=r})),Gt=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=a;var t=r(wd());function r(o){return o&&o.__esModule?o:{default:o}}function n(o){"@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(o)}function a(o,i){return typeof Symbol=="function"&&n(Symbol.iterator)==="symbol"&&Object.defineProperty(o,Symbol.iterator,{value:t.default.bind(i)}),o}})),Ed=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=r(Gt());function r(f){return f&&f.__esModule?f:{default:f}}function n(f,g){return i(f)||o(f,g)||u(f,g)||a()}function a(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
256
+ `}};function we(R){return new Array(R+1).join(" ")}function lt(R,L){if(L&&(Ke(L),L.plugins)){const Y=O(L.plugins,R);if(Y!==null)return F(Y,R,De(L),"",0,[])}const N=I(R,ke(L),je(L),U(L));return N!==null?N:D(R,De(L),"",0,[])}var Pt={AsymmetricMatcher:n.default,ConvertAnsi:a.default,DOMCollection:o.default,DOMElement:i.default,Immutable:s.default,ReactElement:u.default,ReactTestComponent:l.default};e.plugins=Pt;var qt=lt;e.default=qt})),zi=An(Mc()),Ac=Object.prototype.toString;function Wa(e){return typeof e=="function"||Ac.call(e)==="[object Function]"}function Ic(e){var t=Number(e);return isNaN(t)?0:t===0||!isFinite(t)?t:(t>0?1:-1)*Math.floor(Math.abs(t))}var Nc=Math.pow(2,53)-1;function kc(e){var t=Ic(e);return Math.min(Math.max(t,0),Nc)}function ge(e,t){var r=Array,n=Object(e);if(e==null)throw new TypeError("Array.from requires an array-like object - not null or undefined");if(typeof t<"u"&&!Wa(t))throw new TypeError("Array.from: when provided, the second argument must be a function");for(var a=kc(n.length),o=Wa(r)?Object(new r(a)):new Array(a),i=0,s;i<a;)s=n[i],t?o[i]=t(s,i):o[i]=s,i+=1;return o.length=a,o}function Dt(e){"@babel/helpers - typeof";return Dt=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},Dt(e)}function jc(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ka(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,Vi(n.key),n)}}function Dc(e,t,r){return t&&Ka(e.prototype,t),r&&Ka(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function Lc(e,t,r){return t=Vi(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Vi(e){var t=Bc(e,"string");return Dt(t)==="symbol"?t:String(t)}function Bc(e,t){if(Dt(e)!=="object"||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t||"default");if(Dt(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var $c=(function(){function e(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];jc(this,e),Lc(this,"items",void 0),this.items=t}return Dc(e,[{key:"add",value:function(r){return this.has(r)===!1&&this.items.push(r),this}},{key:"clear",value:function(){this.items=[]}},{key:"delete",value:function(r){var n=this.items.length;return this.items=this.items.filter(function(a){return a!==r}),n!==this.items.length}},{key:"forEach",value:function(r){var n=this;this.items.forEach(function(a){r(a,a,n)})}},{key:"has",value:function(r){return this.items.indexOf(r)!==-1}},{key:"size",get:function(){return this.items.length}}]),e})(),Fc=typeof Set>"u"?Set:$c;function le(e){var t;return(t=e.localName)!==null&&t!==void 0?t:e.tagName.toLowerCase()}var Uc={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"},zc={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 Vc(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=zc[t])!==null&&n!==void 0&&n.has(r))})}function Hi(e,t){return Vc(e,t)}function Hc(e){var t=Kc(e);if(t===null||t==="presentation"){var r=Wc(e);if(t!=="presentation"||Hi(e,r||""))return r}return t}function Wc(e){var t=Uc[le(e)];if(t!==void 0)return t;switch(le(e)){case"a":case"area":case"link":if(e.hasAttribute("href"))return"link";break;case"img":return e.getAttribute("alt")===""&&!Hi(e,"img")?"presentation":"img";case"input":var r=e.type;switch(r){case"button":case"image":case"reset":case"submit":return"button";case"checkbox":case"radio":return r;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 Kc(e){var t=e.getAttribute("role");if(t!==null){var r=t.trim().split(" ")[0];if(r.length>0)return r}return null}function Q(e){return e!==null&&e.nodeType===e.ELEMENT_NODE}function Wi(e){return Q(e)&&le(e)==="caption"}function nr(e){return Q(e)&&le(e)==="input"}function Gc(e){return Q(e)&&le(e)==="optgroup"}function Yc(e){return Q(e)&&le(e)==="select"}function Xc(e){return Q(e)&&le(e)==="table"}function Jc(e){return Q(e)&&le(e)==="textarea"}function Qc(e){var t=(e.ownerDocument===null?e:e.ownerDocument).defaultView;if(t===null)throw new TypeError("no window available");return t}function Zc(e){return Q(e)&&le(e)==="fieldset"}function ed(e){return Q(e)&&le(e)==="legend"}function td(e){return Q(e)&&le(e)==="slot"}function rd(e){return Q(e)&&e.ownerSVGElement!==void 0}function nd(e){return Q(e)&&le(e)==="svg"}function ad(e){return rd(e)&&le(e)==="title"}function gr(e,t){if(Q(e)&&e.hasAttribute(t)){var r=e.getAttribute(t).split(" "),n=e.getRootNode?e.getRootNode():e.ownerDocument;return r.map(function(a){return n.getElementById(a)}).filter(function(a){return a!==null})}return[]}function Se(e,t){return Q(e)?t.indexOf(Hc(e))!==-1:!1}function od(e){return e.trim().replace(/\s\s+/g," ")}function id(e,t){if(!Q(e))return!1;if(e.hasAttribute("hidden")||e.getAttribute("aria-hidden")==="true")return!0;var r=t(e);return r.getPropertyValue("display")==="none"||r.getPropertyValue("visibility")==="hidden"}function sd(e){return Se(e,["button","combobox","listbox","textbox"])||Ki(e,"range")}function Ki(e,t){if(!Q(e))return!1;if(t==="range")return Se(e,["meter","progressbar","scrollbar","slider","spinbutton"]);throw new TypeError("No knowledge about abstract role '".concat(t,"'. This is likely a bug :("))}function Ga(e,t){var r=ge(e.querySelectorAll(t));return gr(e,"aria-owns").forEach(function(n){r.push.apply(r,ge(n.querySelectorAll(t)))}),r}function ld(e){return Yc(e)?e.selectedOptions||Ga(e,"[selected]"):Ga(e,'[aria-selected="true"]')}function ud(e){return Se(e,["none","presentation"])}function cd(e){return Wi(e)}function dd(e){return Se(e,["button","cell","checkbox","columnheader","gridcell","heading","label","legend","link","menuitem","menuitemcheckbox","menuitemradio","option","radio","row","rowheader","switch","tab","tooltip","treeitem"])}function fd(e){return!1}function pd(e){return nr(e)||Jc(e)?e.value:e.textContent||""}function Ya(e){var t=e.getPropertyValue("content");return/^["'].*["']$/.test(t)?t.slice(1,-1):""}function Gi(e){var t=le(e);return t==="button"||t==="input"&&e.getAttribute("type")!=="hidden"||t==="meter"||t==="output"||t==="progress"||t==="select"||t==="textarea"}function Yi(e){if(Gi(e))return e;var t=null;return e.childNodes.forEach(function(r){if(t===null&&Q(r)){var n=Yi(r);n!==null&&(t=n)}}),t}function md(e){if(e.control!==void 0)return e.control;var t=e.getAttribute("for");return t!==null?e.ownerDocument.getElementById(t):Yi(e)}function bd(e){var t=e.labels;if(t===null)return t;if(t!==void 0)return ge(t);if(!Gi(e))return null;var r=e.ownerDocument;return ge(r.querySelectorAll("label")).filter(function(n){return md(n)===e})}function hd(e){var t=e.assignedNodes();return t.length===0?ge(e.childNodes):t}function Xi(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=new Fc,n=Qc(e),a=t.compute,o=a===void 0?"name":a,i=t.computedStyleSupportsPseudoElements,s=i===void 0?t.getComputedStyle!==void 0:i,u=t.getComputedStyle,l=u===void 0?n.getComputedStyle.bind(n):u,c=t.hidden,d=c===void 0?!1:c;function p(y,w){var x="";if(Q(y)&&s){var M=Ya(l(y,"::before"));x="".concat(M," ").concat(x)}if((td(y)?hd(y):ge(y.childNodes).concat(gr(y,"aria-owns"))).forEach(function(E){var m=S(E,{isEmbeddedInLabel:w.isEmbeddedInLabel,isReferenced:!1,recursion:!0}),_=(Q(E)?l(E).getPropertyValue("display"):"inline")!=="inline"?" ":"";x+="".concat(_).concat(m).concat(_)}),Q(y)&&s){var A=Ya(l(y,"::after"));x="".concat(x," ").concat(A)}return x.trim()}function f(y,w){var x=y.getAttributeNode(w);return x!==null&&!r.has(x)&&x.value.trim()!==""?(r.add(x),x.value):null}function g(y){return Q(y)?f(y,"title"):null}function v(y){if(!Q(y))return null;if(Zc(y)){r.add(y);for(var w=ge(y.childNodes),x=0;x<w.length;x+=1){var M=w[x];if(ed(M))return S(M,{isEmbeddedInLabel:!1,isReferenced:!1,recursion:!1})}}else if(Xc(y)){r.add(y);for(var A=ge(y.childNodes),E=0;E<A.length;E+=1){var m=A[E];if(Wi(m))return S(m,{isEmbeddedInLabel:!1,isReferenced:!1,recursion:!1})}}else if(nd(y)){r.add(y);for(var _=ge(y.childNodes),T=0;T<_.length;T+=1){var I=_[T];if(ad(I))return I.textContent}return null}else if(le(y)==="img"||le(y)==="area"){var D=f(y,"alt");if(D!==null)return D}else if(Gc(y)){var B=f(y,"label");if(B!==null)return B}if(nr(y)&&(y.type==="button"||y.type==="submit"||y.type==="reset")){var F=f(y,"value");if(F!==null)return F;if(y.type==="submit")return"Submit";if(y.type==="reset")return"Reset"}var O=bd(y);if(O!==null&&O.length!==0)return r.add(y),ge(O).map(function(Z){return S(Z,{isEmbeddedInLabel:!0,isReferenced:!1,recursion:!0})}).filter(function(Z){return Z.length>0}).join(" ");if(nr(y)&&y.type==="image"){var $=f(y,"alt");if($!==null)return $;var H=f(y,"title");return H!==null?H:"Submit Query"}if(Se(y,["button"])){var ne=p(y,{isEmbeddedInLabel:!1,isReferenced:!1});if(ne!=="")return ne}return null}function S(y,w){if(r.has(y))return"";if(!d&&id(y,l)&&!w.isReferenced)return r.add(y),"";var x=Q(y)?y.getAttributeNode("aria-labelledby"):null,M=x!==null&&!r.has(x)?gr(y,"aria-labelledby"):[];if(o==="name"&&!w.isReferenced&&M.length>0)return r.add(x),M.map(function(D){return S(D,{isEmbeddedInLabel:w.isEmbeddedInLabel,isReferenced:!0,recursion:!1})}).join(" ");var A=w.recursion&&sd(y)&&o==="name";if(!A){var E=(Q(y)&&y.getAttribute("aria-label")||"").trim();if(E!==""&&o==="name")return r.add(y),E;if(!ud(y)){var m=v(y);if(m!==null)return r.add(y),m}}if(Se(y,["menu"]))return r.add(y),"";if(A||w.isEmbeddedInLabel||w.isReferenced){if(Se(y,["combobox","listbox"])){r.add(y);var _=ld(y);return _.length===0?nr(y)?y.value:"":ge(_).map(function(D){return S(D,{isEmbeddedInLabel:w.isEmbeddedInLabel,isReferenced:!1,recursion:!0})}).join(" ")}if(Ki(y,"range"))return r.add(y),y.hasAttribute("aria-valuetext")?y.getAttribute("aria-valuetext"):y.hasAttribute("aria-valuenow")?y.getAttribute("aria-valuenow"):y.getAttribute("value")||"";if(Se(y,["textbox"]))return r.add(y),pd(y)}if(dd(y)||Q(y)&&w.isReferenced||cd(y)||fd(y)){var T=p(y,{isEmbeddedInLabel:w.isEmbeddedInLabel,isReferenced:!1});if(T!=="")return r.add(y),T}if(y.nodeType===y.TEXT_NODE)return r.add(y),y.textContent||"";if(w.recursion)return r.add(y),p(y,{isEmbeddedInLabel:w.isEmbeddedInLabel,isReferenced:!1});var I=g(y);return I!==null?(r.add(y),I):(r.add(y),"")}return od(S(e,{isEmbeddedInLabel:!1,isReferenced:o==="description",recursion:!1}))}function Lt(e){"@babel/helpers - typeof";return Lt=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},Lt(e)}function Xa(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),r.push.apply(r,n)}return r}function Ja(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?Xa(Object(r),!0).forEach(function(n){vd(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Xa(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function vd(e,t,r){return t=gd(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function gd(e){var t=yd(e,"string");return Lt(t)==="symbol"?t:String(t)}function yd(e,t){if(Lt(e)!=="object"||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t||"default");if(Lt(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function Ji(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=gr(e,"aria-describedby").map(function(a){return Xi(a,Ja(Ja({},t),{},{compute:"description"}))}).join(" ");if(r===""){var n=e.getAttribute("title");r=n===null?"":n}return r}function wd(e){return Se(e,["caption","code","deletion","emphasis","generic","insertion","paragraph","presentation","strong","subscript","superscript"])}function _a(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return wd(e)?"":Xi(e,t)}var Ed=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;function t(){var n=this,a=0,o={"@@iterator":function(){return o},next:function(){if(a<n.length){var s=n[a];return a=a+1,{done:!1,value:s}}else return{done:!0}}};return o}var r=t;e.default=r})),Gt=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=a;var t=r(Ed());function r(o){return o&&o.__esModule?o:{default:o}}function n(o){"@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(o)}function a(o,i){return typeof Symbol=="function"&&n(Symbol.iterator)==="symbol"&&Object.defineProperty(o,Symbol.iterator,{value:t.default.bind(i)}),o}})),_d=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=r(Gt());function r(f){return f&&f.__esModule?f:{default:f}}function n(f,g){return i(f)||o(f,g)||u(f,g)||a()}function a(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
256
257
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function o(f,g){var v=f==null?null:typeof Symbol<"u"&&f[Symbol.iterator]||f["@@iterator"];if(v!=null){var S=[],y=!0,w=!1,x,M;try{for(v=v.call(f);!(y=(x=v.next()).done)&&(S.push(x.value),!(g&&S.length===g));y=!0);}catch(A){w=!0,M=A}finally{try{!y&&v.return!=null&&v.return()}finally{if(w)throw M}}return S}}function i(f){if(Array.isArray(f))return f}function s(f,g){var v=typeof Symbol<"u"&&f[Symbol.iterator]||f["@@iterator"];if(!v){if(Array.isArray(f)||(v=u(f))||g&&f&&typeof f.length=="number"){v&&(f=v);var S=0,y=function(){};return{s:y,n:function(){return S>=f.length?{done:!0}:{done:!1,value:f[S++]}},e:function(E){throw E},f:y}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
257
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var w=!0,x=!1,M;return{s:function(){v=v.call(f)},n:function(){var E=v.next();return w=E.done,E},e:function(E){x=!0,M=E},f:function(){try{!w&&v.return!=null&&v.return()}finally{if(x)throw M}}}}function u(f,g){if(f){if(typeof f=="string")return l(f,g);var v=Object.prototype.toString.call(f).slice(8,-1);if(v==="Object"&&f.constructor&&(v=f.constructor.name),v==="Map"||v==="Set")return Array.from(f);if(v==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(v))return l(f,g)}}function l(f,g){(g==null||g>f.length)&&(g=f.length);for(var v=0,S=new Array(g);v<g;v++)S[v]=f[v];return S}var c=[["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 c},forEach:function(g){var v=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,S=s(c),y;try{for(S.s();!(y=S.n()).done;){var w=n(y.value,2),x=w[0],M=w[1];g.call(v,M,x,c)}}catch(A){S.e(A)}finally{S.f()}},get:function(g){var v=c.find(function(S){return S[0]===g});return v&&v[1]},has:function(g){return!!d.get(g)},keys:function(){return c.map(function(g){return n(g,1)[0]})},values:function(){return c.map(function(g){return n(g,2)[1]})}},p=(0,t.default)(d,d.entries());e.default=p})),_d=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=r(Gt());function r(f){return f&&f.__esModule?f:{default:f}}function n(f,g){return i(f)||o(f,g)||u(f,g)||a()}function a(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
258
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var w=!0,x=!1,M;return{s:function(){v=v.call(f)},n:function(){var E=v.next();return w=E.done,E},e:function(E){x=!0,M=E},f:function(){try{!w&&v.return!=null&&v.return()}finally{if(x)throw M}}}}function u(f,g){if(f){if(typeof f=="string")return l(f,g);var v=Object.prototype.toString.call(f).slice(8,-1);if(v==="Object"&&f.constructor&&(v=f.constructor.name),v==="Map"||v==="Set")return Array.from(f);if(v==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(v))return l(f,g)}}function l(f,g){(g==null||g>f.length)&&(g=f.length);for(var v=0,S=new Array(g);v<g;v++)S[v]=f[v];return S}var c=[["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 c},forEach:function(g){var v=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,S=s(c),y;try{for(S.s();!(y=S.n()).done;){var w=n(y.value,2),x=w[0],M=w[1];g.call(v,M,x,c)}}catch(A){S.e(A)}finally{S.f()}},get:function(g){var v=c.find(function(S){return S[0]===g});return v&&v[1]},has:function(g){return!!d.get(g)},keys:function(){return c.map(function(g){return n(g,1)[0]})},values:function(){return c.map(function(g){return n(g,2)[1]})}},p=(0,t.default)(d,d.entries());e.default=p})),Cd=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=r(Gt());function r(f){return f&&f.__esModule?f:{default:f}}function n(f,g){return i(f)||o(f,g)||u(f,g)||a()}function a(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
258
259
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function o(f,g){var v=f==null?null:typeof Symbol<"u"&&f[Symbol.iterator]||f["@@iterator"];if(v!=null){var S=[],y=!0,w=!1,x,M;try{for(v=v.call(f);!(y=(x=v.next()).done)&&(S.push(x.value),!(g&&S.length===g));y=!0);}catch(A){w=!0,M=A}finally{try{!y&&v.return!=null&&v.return()}finally{if(w)throw M}}return S}}function i(f){if(Array.isArray(f))return f}function s(f,g){var v=typeof Symbol<"u"&&f[Symbol.iterator]||f["@@iterator"];if(!v){if(Array.isArray(f)||(v=u(f))||g&&f&&typeof f.length=="number"){v&&(f=v);var S=0,y=function(){};return{s:y,n:function(){return S>=f.length?{done:!0}:{done:!1,value:f[S++]}},e:function(E){throw E},f:y}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
259
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var w=!0,x=!1,M;return{s:function(){v=v.call(f)},n:function(){var E=v.next();return w=E.done,E},e:function(E){x=!0,M=E},f:function(){try{!w&&v.return!=null&&v.return()}finally{if(x)throw M}}}}function u(f,g){if(f){if(typeof f=="string")return l(f,g);var v=Object.prototype.toString.call(f).slice(8,-1);if(v==="Object"&&f.constructor&&(v=f.constructor.name),v==="Map"||v==="Set")return Array.from(f);if(v==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(v))return l(f,g)}}function l(f,g){(g==null||g>f.length)&&(g=f.length);for(var v=0,S=new Array(g);v<g;v++)S[v]=f[v];return S}var c=[["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 c},forEach:function(g){var v=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,S=s(c),y;try{for(S.s();!(y=S.n()).done;){var w=n(y.value,2),x=w[0],M=w[1];g.call(v,M,x,c)}}catch(A){S.e(A)}finally{S.f()}},get:function(g){var v=c.find(function(S){return S[0]===g});return v&&v[1]},has:function(g){return!!d.get(g)},keys:function(){return c.map(function(g){return n(g,1)[0]})},values:function(){return c.map(function(g){return n(g,2)[1]})}},p=(0,t.default)(d,d.entries());e.default=p})),Cd=P((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"]]};e.default=t})),Pd=P((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"]]};e.default=t})),qd=P((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"]]};e.default=t})),Rd=P((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"]]};e.default=t})),Td=P((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"]]};e.default=t})),Sd=P((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:[]};e.default=t})),xd=P((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"]]};e.default=t})),Od=P((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"]]};e.default=t})),Md=P((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"]]};e.default=t})),Ad=P((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"]]};e.default=t})),Id=P((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"]]};e.default=t})),Nd=P((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"]]};e.default=t})),kd=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=f(Cd()),r=f(Pd()),n=f(qd()),a=f(Rd()),o=f(Td()),i=f(Sd()),s=f(xd()),u=f(Od()),l=f(Md()),c=f(Ad()),d=f(Id()),p=f(Nd());function f(v){return v&&v.__esModule?v:{default:v}}var g=[["command",t.default],["composite",r.default],["input",n.default],["landmark",a.default],["range",o.default],["roletype",i.default],["section",s.default],["sectionhead",u.default],["select",l.default],["structure",c.default],["widget",d.default],["window",p.default]];e.default=g})),jd=P((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"]]};e.default=t})),Dd=P((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"]]};e.default=t})),Ld=P((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"]]};e.default=t})),Bd=P((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"]]};e.default=t})),$d=P((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"]]};e.default=t})),Fd=P((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"]]};e.default=t})),Ud=P((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"]]};e.default=t})),zd=P((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"]]};e.default=t})),Vd=P((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"]]};e.default=t})),Hd=P((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"]]};e.default=t})),Wd=P((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"]]};e.default=t})),Kd=P((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"]]};e.default=t})),Gd=P((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"]]};e.default=t})),Yd=P((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"]]};e.default=t})),Xd=P((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"]]};e.default=t})),Jd=P((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"]]};e.default=t})),Qd=P((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"]]};e.default=t})),Zd=P((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"]]};e.default=t})),ef=P((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"]]};e.default=t})),tf=P((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"]]};e.default=t})),rf=P((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"]]};e.default=t})),nf=P((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"]]};e.default=t})),af=P((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"]]};e.default=t})),of=P((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"]]};e.default=t})),sf=P((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"]]};e.default=t})),lf=P((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"]]};e.default=t})),uf=P((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"]]};e.default=t})),cf=P((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"]]};e.default=t})),df=P((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"]]};e.default=t})),ff=P((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"]]};e.default=t})),pf=P((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"]]};e.default=t})),mf=P((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"]]};e.default=t})),bf=P((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"]]};e.default=t})),hf=P((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"]]};e.default=t})),vf=P((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"]]};e.default=t})),gf=P((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"]]};e.default=t})),yf=P((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"]]};e.default=t})),wf=P((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"]]};e.default=t})),Ef=P((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"]]};e.default=t})),_f=P((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"]]};e.default=t})),Cf=P((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"]]};e.default=t})),Pf=P((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"]]};e.default=t})),qf=P((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"]]};e.default=t})),Rf=P((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"]]};e.default=t})),Tf=P((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"]]};e.default=t})),Sf=P((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"]]};e.default=t})),xf=P((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"]]};e.default=t})),Of=P((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:[]};e.default=t})),Mf=P((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"]]};e.default=t})),Af=P((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"]]};e.default=t})),If=P((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"]]};e.default=t})),Nf=P((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"]]};e.default=t})),kf=P((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"]]};e.default=t})),jf=P((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"]]};e.default=t})),Df=P((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"]]};e.default=t})),Lf=P((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"]]};e.default=t})),Bf=P((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"]]};e.default=t})),$f=P((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"]]};e.default=t})),Ff=P((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"]]};e.default=t})),Uf=P((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"]]};e.default=t})),zf=P((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"]]};e.default=t})),Vf=P((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"]]};e.default=t})),Hf=P((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"]]};e.default=t})),Wf=P((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"]]};e.default=t})),Kf=P((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"]]};e.default=t})),Gf=P((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"]]};e.default=t})),Yf=P((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"]]};e.default=t})),Xf=P((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"]]};e.default=t})),Jf=P((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"]]};e.default=t})),Qf=P((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"]]};e.default=t})),Zf=P((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"]]};e.default=t})),ep=P((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"]]};e.default=t})),tp=P((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"]]};e.default=t})),rp=P((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"]]};e.default=t})),np=P((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"]]};e.default=t})),ap=P((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"]]};e.default=t})),op=P((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"]]};e.default=t})),ip=P((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"]]};e.default=t})),sp=P((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"]]};e.default=t})),lp=P((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"]]};e.default=t})),up=P((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"]]};e.default=t})),cp=P((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"]]};e.default=t})),dp=P((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"]]};e.default=t})),fp=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=k(jd()),r=k(Dd()),n=k(Ld()),a=k(Bd()),o=k($d()),i=k(Fd()),s=k(Ud()),u=k(zd()),l=k(Vd()),c=k(Hd()),d=k(Wd()),p=k(Kd()),f=k(Gd()),g=k(Yd()),v=k(Xd()),S=k(Jd()),y=k(Qd()),w=k(Zd()),x=k(ef()),M=k(tf()),A=k(rf()),E=k(nf()),m=k(af()),_=k(of()),T=k(sf()),I=k(lf()),D=k(uf()),B=k(cf()),F=k(df()),O=k(ff()),$=k(pf()),H=k(mf()),ne=k(bf()),Z=k(hf()),Ke=k(vf()),Ge=k(gf()),Ye=k(yf()),ke=k(wf()),je=k(Ef()),U=k(_f()),De=k(Cf()),we=k(Pf()),lt=k(qf()),Pt=k(Rf()),qt=k(Tf()),R=k(Sf()),L=k(xf()),N=k(Of()),Y=k(Mf()),W=k(Af()),te=k(If()),ie=k(Nf()),ce=k(kf()),Re=k(jf()),Gs=k(Df()),Ys=k(Lf()),Xs=k(Bf()),Js=k($f()),Qs=k(Ff()),Zs=k(Uf()),el=k(zf()),tl=k(Vf()),rl=k(Hf()),nl=k(Wf()),al=k(Kf()),ol=k(Gf()),il=k(Yf()),sl=k(Xf()),ll=k(Jf()),ul=k(Qf()),cl=k(Zf()),dl=k(ep()),fl=k(tp()),pl=k(rp()),ml=k(np()),bl=k(ap()),hl=k(op()),vl=k(ip()),gl=k(sp()),yl=k(lp()),wl=k(up()),El=k(cp()),_l=k(dp());function k(Xt){return Xt&&Xt.__esModule?Xt:{default:Xt}}var Cl=[["alert",t.default],["alertdialog",r.default],["application",n.default],["article",a.default],["banner",o.default],["blockquote",i.default],["button",s.default],["caption",u.default],["cell",l.default],["checkbox",c.default],["code",d.default],["columnheader",p.default],["combobox",f.default],["complementary",g.default],["contentinfo",v.default],["definition",S.default],["deletion",y.default],["dialog",w.default],["directory",x.default],["document",M.default],["emphasis",A.default],["feed",E.default],["figure",m.default],["form",_.default],["generic",T.default],["grid",I.default],["gridcell",D.default],["group",B.default],["heading",F.default],["img",O.default],["insertion",$.default],["link",H.default],["list",ne.default],["listbox",Z.default],["listitem",Ke.default],["log",Ge.default],["main",Ye.default],["mark",ke.default],["marquee",je.default],["math",U.default],["menu",De.default],["menubar",we.default],["menuitem",lt.default],["menuitemcheckbox",Pt.default],["menuitemradio",qt.default],["meter",R.default],["navigation",L.default],["none",N.default],["note",Y.default],["option",W.default],["paragraph",te.default],["presentation",ie.default],["progressbar",ce.default],["radio",Re.default],["radiogroup",Gs.default],["region",Ys.default],["row",Xs.default],["rowgroup",Js.default],["rowheader",Qs.default],["scrollbar",Zs.default],["search",el.default],["searchbox",tl.default],["separator",rl.default],["slider",nl.default],["spinbutton",al.default],["status",ol.default],["strong",il.default],["subscript",sl.default],["superscript",ll.default],["switch",ul.default],["tab",cl.default],["table",dl.default],["tablist",fl.default],["tabpanel",pl.default],["term",ml.default],["textbox",bl.default],["time",hl.default],["timer",vl.default],["toolbar",gl.default],["tooltip",yl.default],["tree",wl.default],["treegrid",El.default],["treeitem",_l.default]];e.default=Cl})),pp=P((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"]]};e.default=t})),mp=P((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"]]};e.default=t})),bp=P((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"]]};e.default=t})),hp=P((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"]]};e.default=t})),vp=P((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"]]};e.default=t})),gp=P((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"]]};e.default=t})),yp=P((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"]]};e.default=t})),wp=P((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"]]};e.default=t})),Ep=P((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"]]};e.default=t})),_p=P((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"]]};e.default=t})),Cp=P((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"]]};e.default=t})),Pp=P((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"]]};e.default=t})),qp=P((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"]]};e.default=t})),Rp=P((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"]]};e.default=t})),Tp=P((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"]]};e.default=t})),Sp=P((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"]]};e.default=t})),xp=P((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"]]};e.default=t})),Op=P((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"]]};e.default=t})),Mp=P((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"]]};e.default=t})),Ap=P((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"]]};e.default=t})),Ip=P((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"]]};e.default=t})),Np=P((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"]]};e.default=t})),kp=P((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"]]};e.default=t})),jp=P((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"]]};e.default=t})),Dp=P((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"]]};e.default=t})),Lp=P((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"]]};e.default=t})),Bp=P((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"]]};e.default=t})),$p=P((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"]]};e.default=t})),Fp=P((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"]]};e.default=t})),Up=P((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"]]};e.default=t})),zp=P((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"]]};e.default=t})),Vp=P((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"]]};e.default=t})),Hp=P((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"]]};e.default=t})),Wp=P((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"]]};e.default=t})),Kp=P((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"]]};e.default=t})),Gp=P((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"]]};e.default=t})),Yp=P((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"]]};e.default=t})),Xp=P((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"]]};e.default=t})),Jp=P((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"]]};e.default=t})),Qp=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=U(pp()),r=U(mp()),n=U(bp()),a=U(hp()),o=U(vp()),i=U(gp()),s=U(yp()),u=U(wp()),l=U(Ep()),c=U(_p()),d=U(Cp()),p=U(Pp()),f=U(qp()),g=U(Rp()),v=U(Tp()),S=U(Sp()),y=U(xp()),w=U(Op()),x=U(Mp()),M=U(Ap()),A=U(Ip()),E=U(Np()),m=U(kp()),_=U(jp()),T=U(Dp()),I=U(Lp()),D=U(Bp()),B=U($p()),F=U(Fp()),O=U(Up()),$=U(zp()),H=U(Vp()),ne=U(Hp()),Z=U(Wp()),Ke=U(Kp()),Ge=U(Gp()),Ye=U(Yp()),ke=U(Xp()),je=U(Jp());function U(we){return we&&we.__esModule?we:{default:we}}var De=[["doc-abstract",t.default],["doc-acknowledgments",r.default],["doc-afterword",n.default],["doc-appendix",a.default],["doc-backlink",o.default],["doc-biblioentry",i.default],["doc-bibliography",s.default],["doc-biblioref",u.default],["doc-chapter",l.default],["doc-colophon",c.default],["doc-conclusion",d.default],["doc-cover",p.default],["doc-credit",f.default],["doc-credits",g.default],["doc-dedication",v.default],["doc-endnote",S.default],["doc-endnotes",y.default],["doc-epigraph",w.default],["doc-epilogue",x.default],["doc-errata",M.default],["doc-example",A.default],["doc-footnote",E.default],["doc-foreword",m.default],["doc-glossary",_.default],["doc-glossref",T.default],["doc-index",I.default],["doc-introduction",D.default],["doc-noteref",B.default],["doc-notice",F.default],["doc-pagebreak",O.default],["doc-pagelist",$.default],["doc-part",H.default],["doc-preface",ne.default],["doc-prologue",Z.default],["doc-pullquote",Ke.default],["doc-qna",Ge.default],["doc-subtitle",Ye.default],["doc-tip",ke.default],["doc-toc",je.default]];e.default=De})),Zp=P((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"]]};e.default=t})),em=P((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"]]};e.default=t})),tm=P((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"]]};e.default=t})),rm=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=a(Zp()),r=a(em()),n=a(tm());function a(i){return i&&i.__esModule?i:{default:i}}var o=[["graphics-document",t.default],["graphics-object",r.default],["graphics-symbol",n.default]];e.default=o})),Ca=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=i(kd()),r=i(fp()),n=i(Qp()),a=i(rm()),o=i(Gt());function i(w){return w&&w.__esModule?w:{default:w}}function s(w,x,M){return x in w?Object.defineProperty(w,x,{value:M,enumerable:!0,configurable:!0,writable:!0}):w[x]=M,w}function u(w,x){var M=typeof Symbol<"u"&&w[Symbol.iterator]||w["@@iterator"];if(!M){if(Array.isArray(w)||(M=d(w))||x&&w&&typeof w.length=="number"){M&&(w=M);var A=0,E=function(){};return{s:E,n:function(){return A>=w.length?{done:!0}:{done:!1,value:w[A++]}},e:function(D){throw D},f:E}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
260
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var w=!0,x=!1,M;return{s:function(){v=v.call(f)},n:function(){var E=v.next();return w=E.done,E},e:function(E){x=!0,M=E},f:function(){try{!w&&v.return!=null&&v.return()}finally{if(x)throw M}}}}function u(f,g){if(f){if(typeof f=="string")return l(f,g);var v=Object.prototype.toString.call(f).slice(8,-1);if(v==="Object"&&f.constructor&&(v=f.constructor.name),v==="Map"||v==="Set")return Array.from(f);if(v==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(v))return l(f,g)}}function l(f,g){(g==null||g>f.length)&&(g=f.length);for(var v=0,S=new Array(g);v<g;v++)S[v]=f[v];return S}var c=[["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 c},forEach:function(g){var v=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,S=s(c),y;try{for(S.s();!(y=S.n()).done;){var w=n(y.value,2),x=w[0],M=w[1];g.call(v,M,x,c)}}catch(A){S.e(A)}finally{S.f()}},get:function(g){var v=c.find(function(S){return S[0]===g});return v&&v[1]},has:function(g){return!!d.get(g)},keys:function(){return c.map(function(g){return n(g,1)[0]})},values:function(){return c.map(function(g){return n(g,2)[1]})}},p=(0,t.default)(d,d.entries());e.default=p})),Pd=P((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"]]};e.default=t})),qd=P((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"]]};e.default=t})),Rd=P((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"]]};e.default=t})),Td=P((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"]]};e.default=t})),Sd=P((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"]]};e.default=t})),xd=P((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:[]};e.default=t})),Od=P((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"]]};e.default=t})),Md=P((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"]]};e.default=t})),Ad=P((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"]]};e.default=t})),Id=P((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"]]};e.default=t})),Nd=P((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"]]};e.default=t})),kd=P((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"]]};e.default=t})),jd=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=f(Pd()),r=f(qd()),n=f(Rd()),a=f(Td()),o=f(Sd()),i=f(xd()),s=f(Od()),u=f(Md()),l=f(Ad()),c=f(Id()),d=f(Nd()),p=f(kd());function f(v){return v&&v.__esModule?v:{default:v}}var g=[["command",t.default],["composite",r.default],["input",n.default],["landmark",a.default],["range",o.default],["roletype",i.default],["section",s.default],["sectionhead",u.default],["select",l.default],["structure",c.default],["widget",d.default],["window",p.default]];e.default=g})),Dd=P((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"]]};e.default=t})),Ld=P((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"]]};e.default=t})),Bd=P((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"]]};e.default=t})),$d=P((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"]]};e.default=t})),Fd=P((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"]]};e.default=t})),Ud=P((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"]]};e.default=t})),zd=P((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"]]};e.default=t})),Vd=P((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"]]};e.default=t})),Hd=P((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"]]};e.default=t})),Wd=P((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"]]};e.default=t})),Kd=P((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"]]};e.default=t})),Gd=P((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"]]};e.default=t})),Yd=P((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"]]};e.default=t})),Xd=P((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"]]};e.default=t})),Jd=P((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"]]};e.default=t})),Qd=P((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"]]};e.default=t})),Zd=P((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"]]};e.default=t})),ef=P((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"]]};e.default=t})),tf=P((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"]]};e.default=t})),rf=P((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"]]};e.default=t})),nf=P((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"]]};e.default=t})),af=P((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"]]};e.default=t})),of=P((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"]]};e.default=t})),sf=P((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"]]};e.default=t})),lf=P((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"]]};e.default=t})),uf=P((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"]]};e.default=t})),cf=P((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"]]};e.default=t})),df=P((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"]]};e.default=t})),ff=P((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"]]};e.default=t})),pf=P((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"]]};e.default=t})),mf=P((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"]]};e.default=t})),bf=P((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"]]};e.default=t})),hf=P((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"]]};e.default=t})),vf=P((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"]]};e.default=t})),gf=P((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"]]};e.default=t})),yf=P((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"]]};e.default=t})),wf=P((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"]]};e.default=t})),Ef=P((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"]]};e.default=t})),_f=P((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"]]};e.default=t})),Cf=P((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"]]};e.default=t})),Pf=P((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"]]};e.default=t})),qf=P((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"]]};e.default=t})),Rf=P((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"]]};e.default=t})),Tf=P((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"]]};e.default=t})),Sf=P((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"]]};e.default=t})),xf=P((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"]]};e.default=t})),Of=P((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"]]};e.default=t})),Mf=P((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:[]};e.default=t})),Af=P((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"]]};e.default=t})),If=P((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"]]};e.default=t})),Nf=P((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"]]};e.default=t})),kf=P((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"]]};e.default=t})),jf=P((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"]]};e.default=t})),Df=P((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"]]};e.default=t})),Lf=P((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"]]};e.default=t})),Bf=P((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"]]};e.default=t})),$f=P((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"]]};e.default=t})),Ff=P((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"]]};e.default=t})),Uf=P((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"]]};e.default=t})),zf=P((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"]]};e.default=t})),Vf=P((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"]]};e.default=t})),Hf=P((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"]]};e.default=t})),Wf=P((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"]]};e.default=t})),Kf=P((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"]]};e.default=t})),Gf=P((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"]]};e.default=t})),Yf=P((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"]]};e.default=t})),Xf=P((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"]]};e.default=t})),Jf=P((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"]]};e.default=t})),Qf=P((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"]]};e.default=t})),Zf=P((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"]]};e.default=t})),ep=P((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"]]};e.default=t})),tp=P((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"]]};e.default=t})),rp=P((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"]]};e.default=t})),np=P((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"]]};e.default=t})),ap=P((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"]]};e.default=t})),op=P((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"]]};e.default=t})),ip=P((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"]]};e.default=t})),sp=P((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"]]};e.default=t})),lp=P((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"]]};e.default=t})),up=P((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"]]};e.default=t})),cp=P((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"]]};e.default=t})),dp=P((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"]]};e.default=t})),fp=P((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"]]};e.default=t})),pp=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=k(Dd()),r=k(Ld()),n=k(Bd()),a=k($d()),o=k(Fd()),i=k(Ud()),s=k(zd()),u=k(Vd()),l=k(Hd()),c=k(Wd()),d=k(Kd()),p=k(Gd()),f=k(Yd()),g=k(Xd()),v=k(Jd()),S=k(Qd()),y=k(Zd()),w=k(ef()),x=k(tf()),M=k(rf()),A=k(nf()),E=k(af()),m=k(of()),_=k(sf()),T=k(lf()),I=k(uf()),D=k(cf()),B=k(df()),F=k(ff()),O=k(pf()),$=k(mf()),H=k(bf()),ne=k(hf()),Z=k(vf()),Ke=k(gf()),Ge=k(yf()),Ye=k(wf()),ke=k(Ef()),je=k(_f()),U=k(Cf()),De=k(Pf()),we=k(qf()),lt=k(Rf()),Pt=k(Tf()),qt=k(Sf()),R=k(xf()),L=k(Of()),N=k(Mf()),Y=k(Af()),W=k(If()),re=k(Nf()),ie=k(kf()),ce=k(jf()),Re=k(Df()),Gs=k(Lf()),Ys=k(Bf()),Xs=k($f()),Js=k(Ff()),Qs=k(Uf()),Zs=k(zf()),el=k(Vf()),tl=k(Hf()),rl=k(Wf()),nl=k(Kf()),al=k(Gf()),ol=k(Yf()),il=k(Xf()),sl=k(Jf()),ll=k(Qf()),ul=k(Zf()),cl=k(ep()),dl=k(tp()),fl=k(rp()),pl=k(np()),ml=k(ap()),bl=k(op()),hl=k(ip()),vl=k(sp()),gl=k(lp()),yl=k(up()),wl=k(cp()),El=k(dp()),_l=k(fp());function k(Xt){return Xt&&Xt.__esModule?Xt:{default:Xt}}var Cl=[["alert",t.default],["alertdialog",r.default],["application",n.default],["article",a.default],["banner",o.default],["blockquote",i.default],["button",s.default],["caption",u.default],["cell",l.default],["checkbox",c.default],["code",d.default],["columnheader",p.default],["combobox",f.default],["complementary",g.default],["contentinfo",v.default],["definition",S.default],["deletion",y.default],["dialog",w.default],["directory",x.default],["document",M.default],["emphasis",A.default],["feed",E.default],["figure",m.default],["form",_.default],["generic",T.default],["grid",I.default],["gridcell",D.default],["group",B.default],["heading",F.default],["img",O.default],["insertion",$.default],["link",H.default],["list",ne.default],["listbox",Z.default],["listitem",Ke.default],["log",Ge.default],["main",Ye.default],["mark",ke.default],["marquee",je.default],["math",U.default],["menu",De.default],["menubar",we.default],["menuitem",lt.default],["menuitemcheckbox",Pt.default],["menuitemradio",qt.default],["meter",R.default],["navigation",L.default],["none",N.default],["note",Y.default],["option",W.default],["paragraph",re.default],["presentation",ie.default],["progressbar",ce.default],["radio",Re.default],["radiogroup",Gs.default],["region",Ys.default],["row",Xs.default],["rowgroup",Js.default],["rowheader",Qs.default],["scrollbar",Zs.default],["search",el.default],["searchbox",tl.default],["separator",rl.default],["slider",nl.default],["spinbutton",al.default],["status",ol.default],["strong",il.default],["subscript",sl.default],["superscript",ll.default],["switch",ul.default],["tab",cl.default],["table",dl.default],["tablist",fl.default],["tabpanel",pl.default],["term",ml.default],["textbox",bl.default],["time",hl.default],["timer",vl.default],["toolbar",gl.default],["tooltip",yl.default],["tree",wl.default],["treegrid",El.default],["treeitem",_l.default]];e.default=Cl})),mp=P((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"]]};e.default=t})),bp=P((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"]]};e.default=t})),hp=P((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"]]};e.default=t})),vp=P((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"]]};e.default=t})),gp=P((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"]]};e.default=t})),yp=P((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"]]};e.default=t})),wp=P((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"]]};e.default=t})),Ep=P((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"]]};e.default=t})),_p=P((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"]]};e.default=t})),Cp=P((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"]]};e.default=t})),Pp=P((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"]]};e.default=t})),qp=P((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"]]};e.default=t})),Rp=P((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"]]};e.default=t})),Tp=P((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"]]};e.default=t})),Sp=P((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"]]};e.default=t})),xp=P((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"]]};e.default=t})),Op=P((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"]]};e.default=t})),Mp=P((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"]]};e.default=t})),Ap=P((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"]]};e.default=t})),Ip=P((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"]]};e.default=t})),Np=P((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"]]};e.default=t})),kp=P((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"]]};e.default=t})),jp=P((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"]]};e.default=t})),Dp=P((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"]]};e.default=t})),Lp=P((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"]]};e.default=t})),Bp=P((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"]]};e.default=t})),$p=P((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"]]};e.default=t})),Fp=P((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"]]};e.default=t})),Up=P((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"]]};e.default=t})),zp=P((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"]]};e.default=t})),Vp=P((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"]]};e.default=t})),Hp=P((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"]]};e.default=t})),Wp=P((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"]]};e.default=t})),Kp=P((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"]]};e.default=t})),Gp=P((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"]]};e.default=t})),Yp=P((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"]]};e.default=t})),Xp=P((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"]]};e.default=t})),Jp=P((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"]]};e.default=t})),Qp=P((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"]]};e.default=t})),Zp=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=U(mp()),r=U(bp()),n=U(hp()),a=U(vp()),o=U(gp()),i=U(yp()),s=U(wp()),u=U(Ep()),l=U(_p()),c=U(Cp()),d=U(Pp()),p=U(qp()),f=U(Rp()),g=U(Tp()),v=U(Sp()),S=U(xp()),y=U(Op()),w=U(Mp()),x=U(Ap()),M=U(Ip()),A=U(Np()),E=U(kp()),m=U(jp()),_=U(Dp()),T=U(Lp()),I=U(Bp()),D=U($p()),B=U(Fp()),F=U(Up()),O=U(zp()),$=U(Vp()),H=U(Hp()),ne=U(Wp()),Z=U(Kp()),Ke=U(Gp()),Ge=U(Yp()),Ye=U(Xp()),ke=U(Jp()),je=U(Qp());function U(we){return we&&we.__esModule?we:{default:we}}var De=[["doc-abstract",t.default],["doc-acknowledgments",r.default],["doc-afterword",n.default],["doc-appendix",a.default],["doc-backlink",o.default],["doc-biblioentry",i.default],["doc-bibliography",s.default],["doc-biblioref",u.default],["doc-chapter",l.default],["doc-colophon",c.default],["doc-conclusion",d.default],["doc-cover",p.default],["doc-credit",f.default],["doc-credits",g.default],["doc-dedication",v.default],["doc-endnote",S.default],["doc-endnotes",y.default],["doc-epigraph",w.default],["doc-epilogue",x.default],["doc-errata",M.default],["doc-example",A.default],["doc-footnote",E.default],["doc-foreword",m.default],["doc-glossary",_.default],["doc-glossref",T.default],["doc-index",I.default],["doc-introduction",D.default],["doc-noteref",B.default],["doc-notice",F.default],["doc-pagebreak",O.default],["doc-pagelist",$.default],["doc-part",H.default],["doc-preface",ne.default],["doc-prologue",Z.default],["doc-pullquote",Ke.default],["doc-qna",Ge.default],["doc-subtitle",Ye.default],["doc-tip",ke.default],["doc-toc",je.default]];e.default=De})),em=P((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"]]};e.default=t})),tm=P((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"]]};e.default=t})),rm=P((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"]]};e.default=t})),nm=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=a(em()),r=a(tm()),n=a(rm());function a(i){return i&&i.__esModule?i:{default:i}}var o=[["graphics-document",t.default],["graphics-object",r.default],["graphics-symbol",n.default]];e.default=o})),Ca=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=i(jd()),r=i(pp()),n=i(Zp()),a=i(nm()),o=i(Gt());function i(w){return w&&w.__esModule?w:{default:w}}function s(w,x,M){return x in w?Object.defineProperty(w,x,{value:M,enumerable:!0,configurable:!0,writable:!0}):w[x]=M,w}function u(w,x){var M=typeof Symbol<"u"&&w[Symbol.iterator]||w["@@iterator"];if(!M){if(Array.isArray(w)||(M=d(w))||x&&w&&typeof w.length=="number"){M&&(w=M);var A=0,E=function(){};return{s:E,n:function(){return A>=w.length?{done:!0}:{done:!1,value:w[A++]}},e:function(D){throw D},f:E}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
260
261
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var m=!0,_=!1,T;return{s:function(){M=M.call(w)},n:function(){var D=M.next();return m=D.done,D},e:function(D){_=!0,T=D},f:function(){try{!m&&M.return!=null&&M.return()}finally{if(_)throw T}}}}function l(w,x){return g(w)||f(w,x)||d(w,x)||c()}function c(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
261
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function d(w,x){if(w){if(typeof w=="string")return p(w,x);var M=Object.prototype.toString.call(w).slice(8,-1);if(M==="Object"&&w.constructor&&(M=w.constructor.name),M==="Map"||M==="Set")return Array.from(w);if(M==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(M))return p(w,x)}}function p(w,x){(x==null||x>w.length)&&(x=w.length);for(var M=0,A=new Array(x);M<x;M++)A[M]=w[M];return A}function f(w,x){var M=w==null?null:typeof Symbol<"u"&&w[Symbol.iterator]||w["@@iterator"];if(M!=null){var A=[],E=!0,m=!1,_,T;try{for(M=M.call(w);!(E=(_=M.next()).done)&&(A.push(_.value),!(x&&A.length===x));E=!0);}catch(I){m=!0,T=I}finally{try{!E&&M.return!=null&&M.return()}finally{if(m)throw T}}return A}}function g(w){if(Array.isArray(w))return w}var v=[].concat(t.default,r.default,n.default,a.default);v.forEach(function(w){var x=l(w,2)[1],M=u(x.superClass),A;try{for(M.s();!(A=M.n()).done;){var E=A.value,m=u(E),_;try{var T=function(){var D=_.value,B=v.find(function(ne){return l(ne,1)[0]===D});if(B)for(var F=B[1],O=0,$=Object.keys(F.props);O<$.length;O++){var H=$[O];Object.prototype.hasOwnProperty.call(x.props,H)||Object.assign(x.props,s({},H,F.props[H]))}};for(m.s();!(_=m.n()).done;)T()}catch(I){m.e(I)}finally{m.f()}}}catch(I){M.e(I)}finally{M.f()}});var S={entries:function(){return v},forEach:function(x){var M=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,A=u(v),E;try{for(A.s();!(E=A.n()).done;){var m=l(E.value,2),_=m[0],T=m[1];x.call(M,T,_,v)}}catch(I){A.e(I)}finally{A.f()}},get:function(x){var M=v.find(function(A){return A[0]===x});return M&&M[1]},has:function(x){return!!S.get(x)},keys:function(){return v.map(function(x){return l(x,1)[0]})},values:function(){return v.map(function(x){return l(x,2)[1]})}},y=(0,o.default)(S,S.entries());e.default=y})),nm=P((e=>{var t=Object.prototype.hasOwnProperty;function r(n,a){var o,i;if(n===a)return!0;if(n&&a&&(o=n.constructor)===a.constructor){if(o===Date)return n.getTime()===a.getTime();if(o===RegExp)return n.toString()===a.toString();if(o===Array){if((i=n.length)===a.length)for(;i--&&r(n[i],a[i]););return i===-1}if(!o||typeof n=="object"){i=0;for(o in n)if(t.call(n,o)&&++i&&!t.call(a,o)||!(o in a)||!r(n[o],a[o]))return!1;return Object.keys(a).length===i}}return n!==n&&a!==a}e.dequal=r})),am=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=nm(),r=a(Gt()),n=a(Ca());function a(E){return E&&E.__esModule?E:{default:E}}function o(E,m){return u(E)||s(E,m)||c(E,m)||i()}function i(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
262
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function d(w,x){if(w){if(typeof w=="string")return p(w,x);var M=Object.prototype.toString.call(w).slice(8,-1);if(M==="Object"&&w.constructor&&(M=w.constructor.name),M==="Map"||M==="Set")return Array.from(w);if(M==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(M))return p(w,x)}}function p(w,x){(x==null||x>w.length)&&(x=w.length);for(var M=0,A=new Array(x);M<x;M++)A[M]=w[M];return A}function f(w,x){var M=w==null?null:typeof Symbol<"u"&&w[Symbol.iterator]||w["@@iterator"];if(M!=null){var A=[],E=!0,m=!1,_,T;try{for(M=M.call(w);!(E=(_=M.next()).done)&&(A.push(_.value),!(x&&A.length===x));E=!0);}catch(I){m=!0,T=I}finally{try{!E&&M.return!=null&&M.return()}finally{if(m)throw T}}return A}}function g(w){if(Array.isArray(w))return w}var v=[].concat(t.default,r.default,n.default,a.default);v.forEach(function(w){var x=l(w,2)[1],M=u(x.superClass),A;try{for(M.s();!(A=M.n()).done;){var E=A.value,m=u(E),_;try{var T=function(){var D=_.value,B=v.find(function(ne){return l(ne,1)[0]===D});if(B)for(var F=B[1],O=0,$=Object.keys(F.props);O<$.length;O++){var H=$[O];Object.prototype.hasOwnProperty.call(x.props,H)||Object.assign(x.props,s({},H,F.props[H]))}};for(m.s();!(_=m.n()).done;)T()}catch(I){m.e(I)}finally{m.f()}}}catch(I){M.e(I)}finally{M.f()}});var S={entries:function(){return v},forEach:function(x){var M=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,A=u(v),E;try{for(A.s();!(E=A.n()).done;){var m=l(E.value,2),_=m[0],T=m[1];x.call(M,T,_,v)}}catch(I){A.e(I)}finally{A.f()}},get:function(x){var M=v.find(function(A){return A[0]===x});return M&&M[1]},has:function(x){return!!S.get(x)},keys:function(){return v.map(function(x){return l(x,1)[0]})},values:function(){return v.map(function(x){return l(x,2)[1]})}},y=(0,o.default)(S,S.entries());e.default=y})),am=P((e=>{var t=Object.prototype.hasOwnProperty;function r(n,a){var o,i;if(n===a)return!0;if(n&&a&&(o=n.constructor)===a.constructor){if(o===Date)return n.getTime()===a.getTime();if(o===RegExp)return n.toString()===a.toString();if(o===Array){if((i=n.length)===a.length)for(;i--&&r(n[i],a[i]););return i===-1}if(!o||typeof n=="object"){i=0;for(o in n)if(t.call(n,o)&&++i&&!t.call(a,o)||!(o in a)||!r(n[o],a[o]))return!1;return Object.keys(a).length===i}}return n!==n&&a!==a}e.dequal=r})),om=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=am(),r=a(Gt()),n=a(Ca());function a(E){return E&&E.__esModule?E:{default:E}}function o(E,m){return u(E)||s(E,m)||c(E,m)||i()}function i(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
262
263
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function s(E,m){var _=E==null?null:typeof Symbol<"u"&&E[Symbol.iterator]||E["@@iterator"];if(_!=null){var T=[],I=!0,D=!1,B,F;try{for(_=_.call(E);!(I=(B=_.next()).done)&&(T.push(B.value),!(m&&T.length===m));I=!0);}catch(O){D=!0,F=O}finally{try{!I&&_.return!=null&&_.return()}finally{if(D)throw F}}return T}}function u(E){if(Array.isArray(E))return E}function l(E,m){var _=typeof Symbol<"u"&&E[Symbol.iterator]||E["@@iterator"];if(!_){if(Array.isArray(E)||(_=c(E))||m&&E&&typeof E.length=="number"){_&&(E=_);var T=0,I=function(){};return{s:I,n:function(){return T>=E.length?{done:!0}:{done:!1,value:E[T++]}},e:function($){throw $},f:I}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
263
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var D=!0,B=!1,F;return{s:function(){_=_.call(E)},n:function(){var $=_.next();return D=$.done,$},e:function($){B=!0,F=$},f:function(){try{!D&&_.return!=null&&_.return()}finally{if(B)throw F}}}}function c(E,m){if(E){if(typeof E=="string")return d(E,m);var _=Object.prototype.toString.call(E).slice(8,-1);if(_==="Object"&&E.constructor&&(_=E.constructor.name),_==="Map"||_==="Set")return Array.from(E);if(_==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(_))return d(E,m)}}function d(E,m){(m==null||m>E.length)&&(m=E.length);for(var _=0,T=new Array(m);_<m;_++)T[_]=E[_];return T}for(var p=[],f=n.default.keys(),g=0;g<f.length;g++){var v=f[g],S=n.default.get(v);if(S)for(var y=[].concat(S.baseConcepts,S.relatedConcepts),w=0;w<y.length;w++){var x=y[w];x.module==="HTML"&&(function(){var E=x.concept;if(E){var m=p.find(function(D){return(0,t.dequal)(D,E)}),_;m?_=m[1]:_=[];for(var T=!0,I=0;I<_.length;I++)if(_[I]===v){T=!1;break}T&&_.push(v),p.push([E,_])}})()}}var M={entries:function(){return p},forEach:function(m){var _=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,T=l(p),I;try{for(T.s();!(I=T.n()).done;){var D=o(I.value,2),B=D[0],F=D[1];m.call(_,F,B,p)}}catch(O){T.e(O)}finally{T.f()}},get:function(m){var _=p.find(function(T){return m.name===T[0].name&&(0,t.dequal)(m.attributes,T[0].attributes)});return _&&_[1]},has:function(m){return!!M.get(m)},keys:function(){return p.map(function(m){return o(m,1)[0]})},values:function(){return p.map(function(m){return o(m,2)[1]})}},A=(0,r.default)(M,M.entries());e.default=A})),om=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=n(Gt()),r=n(Ca());function n(m){return m&&m.__esModule?m:{default:m}}function a(m,_){return s(m)||i(m,_)||l(m,_)||o()}function o(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
264
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var D=!0,B=!1,F;return{s:function(){_=_.call(E)},n:function(){var $=_.next();return D=$.done,$},e:function($){B=!0,F=$},f:function(){try{!D&&_.return!=null&&_.return()}finally{if(B)throw F}}}}function c(E,m){if(E){if(typeof E=="string")return d(E,m);var _=Object.prototype.toString.call(E).slice(8,-1);if(_==="Object"&&E.constructor&&(_=E.constructor.name),_==="Map"||_==="Set")return Array.from(E);if(_==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(_))return d(E,m)}}function d(E,m){(m==null||m>E.length)&&(m=E.length);for(var _=0,T=new Array(m);_<m;_++)T[_]=E[_];return T}for(var p=[],f=n.default.keys(),g=0;g<f.length;g++){var v=f[g],S=n.default.get(v);if(S)for(var y=[].concat(S.baseConcepts,S.relatedConcepts),w=0;w<y.length;w++){var x=y[w];x.module==="HTML"&&(function(){var E=x.concept;if(E){var m=p.find(function(D){return(0,t.dequal)(D,E)}),_;m?_=m[1]:_=[];for(var T=!0,I=0;I<_.length;I++)if(_[I]===v){T=!1;break}T&&_.push(v),p.push([E,_])}})()}}var M={entries:function(){return p},forEach:function(m){var _=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,T=l(p),I;try{for(T.s();!(I=T.n()).done;){var D=o(I.value,2),B=D[0],F=D[1];m.call(_,F,B,p)}}catch(O){T.e(O)}finally{T.f()}},get:function(m){var _=p.find(function(T){return m.name===T[0].name&&(0,t.dequal)(m.attributes,T[0].attributes)});return _&&_[1]},has:function(m){return!!M.get(m)},keys:function(){return p.map(function(m){return o(m,1)[0]})},values:function(){return p.map(function(m){return o(m,2)[1]})}},A=(0,r.default)(M,M.entries());e.default=A})),im=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=n(Gt()),r=n(Ca());function n(m){return m&&m.__esModule?m:{default:m}}function a(m,_){return s(m)||i(m,_)||l(m,_)||o()}function o(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
264
265
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function i(m,_){var T=m==null?null:typeof Symbol<"u"&&m[Symbol.iterator]||m["@@iterator"];if(T!=null){var I=[],D=!0,B=!1,F,O;try{for(T=T.call(m);!(D=(F=T.next()).done)&&(I.push(F.value),!(_&&I.length===_));D=!0);}catch($){B=!0,O=$}finally{try{!D&&T.return!=null&&T.return()}finally{if(B)throw O}}return I}}function s(m){if(Array.isArray(m))return m}function u(m,_){var T=typeof Symbol<"u"&&m[Symbol.iterator]||m["@@iterator"];if(!T){if(Array.isArray(m)||(T=l(m))||_&&m&&typeof m.length=="number"){T&&(m=T);var I=0,D=function(){};return{s:D,n:function(){return I>=m.length?{done:!0}:{done:!1,value:m[I++]}},e:function(H){throw H},f:D}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
265
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var B=!0,F=!1,O;return{s:function(){T=T.call(m)},n:function(){var H=T.next();return B=H.done,H},e:function(H){F=!0,O=H},f:function(){try{!B&&T.return!=null&&T.return()}finally{if(F)throw O}}}}function l(m,_){if(m){if(typeof m=="string")return c(m,_);var T=Object.prototype.toString.call(m).slice(8,-1);if(T==="Object"&&m.constructor&&(T=m.constructor.name),T==="Map"||T==="Set")return Array.from(m);if(T==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(T))return c(m,_)}}function c(m,_){(_==null||_>m.length)&&(_=m.length);for(var T=0,I=new Array(_);T<_;T++)I[T]=m[T];return I}for(var d=[],p=r.default.keys(),f=0;f<p.length;f++){var g=p[f],v=r.default.get(g),S=[];if(v){for(var y=[].concat(v.baseConcepts,v.relatedConcepts),w=0;w<y.length;w++){var x=y[w];if(x.module==="HTML"){var M=x.concept;M!=null&&S.push(M)}}S.length>0&&d.push([g,S])}}var A={entries:function(){return d},forEach:function(_){var T=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,I=u(d),D;try{for(I.s();!(D=I.n()).done;){var B=a(D.value,2),F=B[0],O=B[1];_.call(T,O,F,d)}}catch($){I.e($)}finally{I.f()}},get:function(_){var T=d.find(function(I){return I[0]===_});return T&&T[1]},has:function(_){return!!A.get(_)},keys:function(){return d.map(function(_){return a(_,1)[0]})},values:function(){return d.map(function(_){return a(_,2)[1]})}},E=(0,t.default)(A,A.entries());e.default=E})),im=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.roles=e.roleElements=e.elementRoles=e.dom=e.aria=void 0;var t=i(Ed()),r=i(_d()),n=i(Ca()),a=i(am()),o=i(om());function i(p){return p&&p.__esModule?p:{default:p}}var s=t.default;e.aria=s;var u=r.default;e.dom=u;var l=n.default;e.roles=l;var c=a.default;e.elementRoles=c;var d=o.default;e.roleElements=d})),sm=P(((e,t)=>{var r=(function(){var n=String.fromCharCode,a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+-$",i={};function s(l,c){if(!i[l]){i[l]={};for(var d=0;d<l.length;d++)i[l][l.charAt(d)]=d}return i[l][c]}var u={compressToBase64:function(l){if(l==null)return"";var c=u._compress(l,6,function(d){return a.charAt(d)});switch(c.length%4){default:case 0:return c;case 1:return c+"===";case 2:return c+"==";case 3:return c+"="}},decompressFromBase64:function(l){return l==null?"":l==""?null:u._decompress(l.length,32,function(c){return s(a,l.charAt(c))})},compressToUTF16:function(l){return l==null?"":u._compress(l,15,function(c){return n(c+32)})+" "},decompressFromUTF16:function(l){return l==null?"":l==""?null:u._decompress(l.length,16384,function(c){return l.charCodeAt(c)-32})},compressToUint8Array:function(l){for(var c=u.compress(l),d=new Uint8Array(c.length*2),p=0,f=c.length;p<f;p++){var g=c.charCodeAt(p);d[p*2]=g>>>8,d[p*2+1]=g%256}return d},decompressFromUint8Array:function(l){if(l==null)return u.decompress(l);for(var c=new Array(l.length/2),d=0,p=c.length;d<p;d++)c[d]=l[d*2]*256+l[d*2+1];var f=[];return c.forEach(function(g){f.push(n(g))}),u.decompress(f.join(""))},compressToEncodedURIComponent:function(l){return l==null?"":u._compress(l,6,function(c){return o.charAt(c)})},decompressFromEncodedURIComponent:function(l){return l==null?"":l==""?null:(l=l.replace(/ /g,"+"),u._decompress(l.length,32,function(c){return s(o,l.charAt(c))}))},compress:function(l){return u._compress(l,16,function(c){return n(c)})},_compress:function(l,c,d){if(l==null)return"";var p,f,g={},v={},S="",y="",w="",x=2,M=3,A=2,E=[],m=0,_=0,T;for(T=0;T<l.length;T+=1)if(S=l.charAt(T),Object.prototype.hasOwnProperty.call(g,S)||(g[S]=M++,v[S]=!0),y=w+S,Object.prototype.hasOwnProperty.call(g,y))w=y;else{if(Object.prototype.hasOwnProperty.call(v,w)){if(w.charCodeAt(0)<256){for(p=0;p<A;p++)m=m<<1,_==c-1?(_=0,E.push(d(m)),m=0):_++;for(f=w.charCodeAt(0),p=0;p<8;p++)m=m<<1|f&1,_==c-1?(_=0,E.push(d(m)),m=0):_++,f=f>>1}else{for(f=1,p=0;p<A;p++)m=m<<1|f,_==c-1?(_=0,E.push(d(m)),m=0):_++,f=0;for(f=w.charCodeAt(0),p=0;p<16;p++)m=m<<1|f&1,_==c-1?(_=0,E.push(d(m)),m=0):_++,f=f>>1}x--,x==0&&(x=Math.pow(2,A),A++),delete v[w]}else for(f=g[w],p=0;p<A;p++)m=m<<1|f&1,_==c-1?(_=0,E.push(d(m)),m=0):_++,f=f>>1;x--,x==0&&(x=Math.pow(2,A),A++),g[y]=M++,w=String(S)}if(w!==""){if(Object.prototype.hasOwnProperty.call(v,w)){if(w.charCodeAt(0)<256){for(p=0;p<A;p++)m=m<<1,_==c-1?(_=0,E.push(d(m)),m=0):_++;for(f=w.charCodeAt(0),p=0;p<8;p++)m=m<<1|f&1,_==c-1?(_=0,E.push(d(m)),m=0):_++,f=f>>1}else{for(f=1,p=0;p<A;p++)m=m<<1|f,_==c-1?(_=0,E.push(d(m)),m=0):_++,f=0;for(f=w.charCodeAt(0),p=0;p<16;p++)m=m<<1|f&1,_==c-1?(_=0,E.push(d(m)),m=0):_++,f=f>>1}x--,x==0&&(x=Math.pow(2,A),A++),delete v[w]}else for(f=g[w],p=0;p<A;p++)m=m<<1|f&1,_==c-1?(_=0,E.push(d(m)),m=0):_++,f=f>>1;x--,x==0&&(x=Math.pow(2,A),A++)}for(f=2,p=0;p<A;p++)m=m<<1|f&1,_==c-1?(_=0,E.push(d(m)),m=0):_++,f=f>>1;for(;;)if(m=m<<1,_==c-1){E.push(d(m));break}else _++;return E.join("")},decompress:function(l){return l==null?"":l==""?null:u._decompress(l.length,32768,function(c){return l.charCodeAt(c)})},_decompress:function(l,c,d){var p=[],f=4,g=4,v=3,S="",y=[],w,x,M,A,E,m,_,T={val:d(0),position:c,index:1};for(w=0;w<3;w+=1)p[w]=w;for(M=0,E=Math.pow(2,2),m=1;m!=E;)A=T.val&T.position,T.position>>=1,T.position==0&&(T.position=c,T.val=d(T.index++)),M|=(A>0?1:0)*m,m<<=1;switch(M){case 0:for(M=0,E=Math.pow(2,8),m=1;m!=E;)A=T.val&T.position,T.position>>=1,T.position==0&&(T.position=c,T.val=d(T.index++)),M|=(A>0?1:0)*m,m<<=1;_=n(M);break;case 1:for(M=0,E=Math.pow(2,16),m=1;m!=E;)A=T.val&T.position,T.position>>=1,T.position==0&&(T.position=c,T.val=d(T.index++)),M|=(A>0?1:0)*m,m<<=1;_=n(M);break;case 2:return""}for(p[3]=_,x=_,y.push(_);;){if(T.index>l)return"";for(M=0,E=Math.pow(2,v),m=1;m!=E;)A=T.val&T.position,T.position>>=1,T.position==0&&(T.position=c,T.val=d(T.index++)),M|=(A>0?1:0)*m,m<<=1;switch(_=M){case 0:for(M=0,E=Math.pow(2,8),m=1;m!=E;)A=T.val&T.position,T.position>>=1,T.position==0&&(T.position=c,T.val=d(T.index++)),M|=(A>0?1:0)*m,m<<=1;p[g++]=n(M),_=g-1,f--;break;case 1:for(M=0,E=Math.pow(2,16),m=1;m!=E;)A=T.val&T.position,T.position>>=1,T.position==0&&(T.position=c,T.val=d(T.index++)),M|=(A>0?1:0)*m,m<<=1;p[g++]=n(M),_=g-1,f--;break;case 2:return y.join("")}if(f==0&&(f=Math.pow(2,v),v++),p[_])S=p[_];else if(_===g)S=x+x.charAt(0);else return null;y.push(S),p[g++]=x+S.charAt(0),f--,x=S,f==0&&(f=Math.pow(2,v),v++)}}};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})})),me=im(),lm=An(sm());function Qi(e){return e.replace(/</g,"&lt;").replace(/>/g,"&gt;")}var um=(e,t,r,n,a,o,i)=>{const s=n+r.indent,u=r.colors;return e.map(l=>{const c=t[l];let d=i(c,r,s,a,o);return typeof c!="string"&&(d.indexOf(`
266
- `)!==-1&&(d=r.spacingOuter+s+d+r.spacingOuter+n),d="{"+d+"}"),r.spacingInner+n+u.prop.open+l+u.prop.close+"="+u.value.open+d+u.value.close}).join("")},cm=3,dm=(e,t,r,n,a,o)=>e.map(i=>{const s=typeof i=="string"?Zi(i,t):o(i,t,r,n,a);return s===""&&typeof i=="object"&&i!==null&&i.nodeType!==cm?"":t.spacingOuter+r+s}).join(""),Zi=(e,t)=>{const r=t.colors.content;return r.open+Qi(e)+r.close},fm=(e,t)=>{const r=t.colors.comment;return r.open+"<!--"+Qi(e)+"-->"+r.close},pm=(e,t,r,n,a)=>{const o=n.colors.tag;return o.open+"<"+e+(t&&o.close+t+n.spacingOuter+a+o.open)+(r?">"+o.close+r+n.spacingOuter+a+o.open+"</"+e:(t&&!n.min?"":" ")+"/")+">"+o.close},mm=(e,t)=>{const r=t.colors.tag;return r.open+"<"+e+r.close+" …"+r.open+" />"+r.close},bm=1,es=3,ts=8,rs=11,hm=/^((HTML|SVG)\w*)?Element$/,ns=e=>{const{tagName:t}=e;return!!(typeof t=="string"&&t.includes("-")||typeof e.hasAttribute=="function"&&e.hasAttribute("is"))},vm=e=>{const t=e.constructor.name,{nodeType:r}=e;return r===bm&&(hm.test(t)||ns(e))||r===es&&t==="Text"||r===ts&&t==="Comment"||r===rs&&t==="DocumentFragment"};function gm(e){return e.nodeType===es}function ym(e){return e.nodeType===ts}function Gr(e){return e.nodeType===rs}function wm(e){return{test:t=>{var r;return((t==null||(r=t.constructor)==null?void 0:r.name)||ns(t))&&vm(t)},serialize:(t,r,n,a,o,i)=>{if(gm(t))return Zi(t.data,r);if(ym(t))return fm(t.data,r);const s=Gr(t)?"DocumentFragment":t.tagName.toLowerCase();return++a>r.maxDepth?mm(s,r):pm(s,um(Gr(t)?[]:Array.from(t.attributes).map(u=>u.name).sort(),Gr(t)?{}:Array.from(t.attributes).reduce((u,l)=>(u[l.name]=l.value,u),{}),r,n+r.indent,a,o,i),dm(Array.prototype.slice.call(t.childNodes||t.children).filter(e),r,n+r.indent,a,o,i),r,n)}}}var as=null,Pa=null,qa=null;try{const e=module&&module.require;Pa=e.call(module,"fs").readFileSync,qa=e.call(module,"@babel/code-frame").codeFrameColumns,as=e.call(module,"picocolors")}catch{}function Em(e){const t=e.indexOf("(")+1,r=e.indexOf(")"),n=e.slice(t,r),a=n.split(":"),[o,i,s]=[a[0],parseInt(a[1],10),parseInt(a[2],10)];let u="";try{u=Pa(o,"utf-8")}catch{return""}const l=qa(u,{start:{line:i,column:s}},{highlightCode:!0,linesBelow:0});return as.dim(n)+`
266
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var B=!0,F=!1,O;return{s:function(){T=T.call(m)},n:function(){var H=T.next();return B=H.done,H},e:function(H){F=!0,O=H},f:function(){try{!B&&T.return!=null&&T.return()}finally{if(F)throw O}}}}function l(m,_){if(m){if(typeof m=="string")return c(m,_);var T=Object.prototype.toString.call(m).slice(8,-1);if(T==="Object"&&m.constructor&&(T=m.constructor.name),T==="Map"||T==="Set")return Array.from(m);if(T==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(T))return c(m,_)}}function c(m,_){(_==null||_>m.length)&&(_=m.length);for(var T=0,I=new Array(_);T<_;T++)I[T]=m[T];return I}for(var d=[],p=r.default.keys(),f=0;f<p.length;f++){var g=p[f],v=r.default.get(g),S=[];if(v){for(var y=[].concat(v.baseConcepts,v.relatedConcepts),w=0;w<y.length;w++){var x=y[w];if(x.module==="HTML"){var M=x.concept;M!=null&&S.push(M)}}S.length>0&&d.push([g,S])}}var A={entries:function(){return d},forEach:function(_){var T=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,I=u(d),D;try{for(I.s();!(D=I.n()).done;){var B=a(D.value,2),F=B[0],O=B[1];_.call(T,O,F,d)}}catch($){I.e($)}finally{I.f()}},get:function(_){var T=d.find(function(I){return I[0]===_});return T&&T[1]},has:function(_){return!!A.get(_)},keys:function(){return d.map(function(_){return a(_,1)[0]})},values:function(){return d.map(function(_){return a(_,2)[1]})}},E=(0,t.default)(A,A.entries());e.default=E})),sm=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.roles=e.roleElements=e.elementRoles=e.dom=e.aria=void 0;var t=i(_d()),r=i(Cd()),n=i(Ca()),a=i(om()),o=i(im());function i(p){return p&&p.__esModule?p:{default:p}}var s=t.default;e.aria=s;var u=r.default;e.dom=u;var l=n.default;e.roles=l;var c=a.default;e.elementRoles=c;var d=o.default;e.roleElements=d})),lm=P(((e,t)=>{var r=(function(){var n=String.fromCharCode,a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+-$",i={};function s(l,c){if(!i[l]){i[l]={};for(var d=0;d<l.length;d++)i[l][l.charAt(d)]=d}return i[l][c]}var u={compressToBase64:function(l){if(l==null)return"";var c=u._compress(l,6,function(d){return a.charAt(d)});switch(c.length%4){default:case 0:return c;case 1:return c+"===";case 2:return c+"==";case 3:return c+"="}},decompressFromBase64:function(l){return l==null?"":l==""?null:u._decompress(l.length,32,function(c){return s(a,l.charAt(c))})},compressToUTF16:function(l){return l==null?"":u._compress(l,15,function(c){return n(c+32)})+" "},decompressFromUTF16:function(l){return l==null?"":l==""?null:u._decompress(l.length,16384,function(c){return l.charCodeAt(c)-32})},compressToUint8Array:function(l){for(var c=u.compress(l),d=new Uint8Array(c.length*2),p=0,f=c.length;p<f;p++){var g=c.charCodeAt(p);d[p*2]=g>>>8,d[p*2+1]=g%256}return d},decompressFromUint8Array:function(l){if(l==null)return u.decompress(l);for(var c=new Array(l.length/2),d=0,p=c.length;d<p;d++)c[d]=l[d*2]*256+l[d*2+1];var f=[];return c.forEach(function(g){f.push(n(g))}),u.decompress(f.join(""))},compressToEncodedURIComponent:function(l){return l==null?"":u._compress(l,6,function(c){return o.charAt(c)})},decompressFromEncodedURIComponent:function(l){return l==null?"":l==""?null:(l=l.replace(/ /g,"+"),u._decompress(l.length,32,function(c){return s(o,l.charAt(c))}))},compress:function(l){return u._compress(l,16,function(c){return n(c)})},_compress:function(l,c,d){if(l==null)return"";var p,f,g={},v={},S="",y="",w="",x=2,M=3,A=2,E=[],m=0,_=0,T;for(T=0;T<l.length;T+=1)if(S=l.charAt(T),Object.prototype.hasOwnProperty.call(g,S)||(g[S]=M++,v[S]=!0),y=w+S,Object.prototype.hasOwnProperty.call(g,y))w=y;else{if(Object.prototype.hasOwnProperty.call(v,w)){if(w.charCodeAt(0)<256){for(p=0;p<A;p++)m=m<<1,_==c-1?(_=0,E.push(d(m)),m=0):_++;for(f=w.charCodeAt(0),p=0;p<8;p++)m=m<<1|f&1,_==c-1?(_=0,E.push(d(m)),m=0):_++,f=f>>1}else{for(f=1,p=0;p<A;p++)m=m<<1|f,_==c-1?(_=0,E.push(d(m)),m=0):_++,f=0;for(f=w.charCodeAt(0),p=0;p<16;p++)m=m<<1|f&1,_==c-1?(_=0,E.push(d(m)),m=0):_++,f=f>>1}x--,x==0&&(x=Math.pow(2,A),A++),delete v[w]}else for(f=g[w],p=0;p<A;p++)m=m<<1|f&1,_==c-1?(_=0,E.push(d(m)),m=0):_++,f=f>>1;x--,x==0&&(x=Math.pow(2,A),A++),g[y]=M++,w=String(S)}if(w!==""){if(Object.prototype.hasOwnProperty.call(v,w)){if(w.charCodeAt(0)<256){for(p=0;p<A;p++)m=m<<1,_==c-1?(_=0,E.push(d(m)),m=0):_++;for(f=w.charCodeAt(0),p=0;p<8;p++)m=m<<1|f&1,_==c-1?(_=0,E.push(d(m)),m=0):_++,f=f>>1}else{for(f=1,p=0;p<A;p++)m=m<<1|f,_==c-1?(_=0,E.push(d(m)),m=0):_++,f=0;for(f=w.charCodeAt(0),p=0;p<16;p++)m=m<<1|f&1,_==c-1?(_=0,E.push(d(m)),m=0):_++,f=f>>1}x--,x==0&&(x=Math.pow(2,A),A++),delete v[w]}else for(f=g[w],p=0;p<A;p++)m=m<<1|f&1,_==c-1?(_=0,E.push(d(m)),m=0):_++,f=f>>1;x--,x==0&&(x=Math.pow(2,A),A++)}for(f=2,p=0;p<A;p++)m=m<<1|f&1,_==c-1?(_=0,E.push(d(m)),m=0):_++,f=f>>1;for(;;)if(m=m<<1,_==c-1){E.push(d(m));break}else _++;return E.join("")},decompress:function(l){return l==null?"":l==""?null:u._decompress(l.length,32768,function(c){return l.charCodeAt(c)})},_decompress:function(l,c,d){var p=[],f=4,g=4,v=3,S="",y=[],w,x,M,A,E,m,_,T={val:d(0),position:c,index:1};for(w=0;w<3;w+=1)p[w]=w;for(M=0,E=Math.pow(2,2),m=1;m!=E;)A=T.val&T.position,T.position>>=1,T.position==0&&(T.position=c,T.val=d(T.index++)),M|=(A>0?1:0)*m,m<<=1;switch(M){case 0:for(M=0,E=Math.pow(2,8),m=1;m!=E;)A=T.val&T.position,T.position>>=1,T.position==0&&(T.position=c,T.val=d(T.index++)),M|=(A>0?1:0)*m,m<<=1;_=n(M);break;case 1:for(M=0,E=Math.pow(2,16),m=1;m!=E;)A=T.val&T.position,T.position>>=1,T.position==0&&(T.position=c,T.val=d(T.index++)),M|=(A>0?1:0)*m,m<<=1;_=n(M);break;case 2:return""}for(p[3]=_,x=_,y.push(_);;){if(T.index>l)return"";for(M=0,E=Math.pow(2,v),m=1;m!=E;)A=T.val&T.position,T.position>>=1,T.position==0&&(T.position=c,T.val=d(T.index++)),M|=(A>0?1:0)*m,m<<=1;switch(_=M){case 0:for(M=0,E=Math.pow(2,8),m=1;m!=E;)A=T.val&T.position,T.position>>=1,T.position==0&&(T.position=c,T.val=d(T.index++)),M|=(A>0?1:0)*m,m<<=1;p[g++]=n(M),_=g-1,f--;break;case 1:for(M=0,E=Math.pow(2,16),m=1;m!=E;)A=T.val&T.position,T.position>>=1,T.position==0&&(T.position=c,T.val=d(T.index++)),M|=(A>0?1:0)*m,m<<=1;p[g++]=n(M),_=g-1,f--;break;case 2:return y.join("")}if(f==0&&(f=Math.pow(2,v),v++),p[_])S=p[_];else if(_===g)S=x+x.charAt(0);else return null;y.push(S),p[g++]=x+S.charAt(0),f--,x=S,f==0&&(f=Math.pow(2,v),v++)}}};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})})),me=sm(),um=An(lm());function Qi(e){return e.replace(/</g,"&lt;").replace(/>/g,"&gt;")}var cm=(e,t,r,n,a,o,i)=>{const s=n+r.indent,u=r.colors;return e.map(l=>{const c=t[l];let d=i(c,r,s,a,o);return typeof c!="string"&&(d.indexOf(`
267
+ `)!==-1&&(d=r.spacingOuter+s+d+r.spacingOuter+n),d="{"+d+"}"),r.spacingInner+n+u.prop.open+l+u.prop.close+"="+u.value.open+d+u.value.close}).join("")},dm=3,fm=(e,t,r,n,a,o)=>e.map(i=>{const s=typeof i=="string"?Zi(i,t):o(i,t,r,n,a);return s===""&&typeof i=="object"&&i!==null&&i.nodeType!==dm?"":t.spacingOuter+r+s}).join(""),Zi=(e,t)=>{const r=t.colors.content;return r.open+Qi(e)+r.close},pm=(e,t)=>{const r=t.colors.comment;return r.open+"<!--"+Qi(e)+"-->"+r.close},mm=(e,t,r,n,a)=>{const o=n.colors.tag;return o.open+"<"+e+(t&&o.close+t+n.spacingOuter+a+o.open)+(r?">"+o.close+r+n.spacingOuter+a+o.open+"</"+e:(t&&!n.min?"":" ")+"/")+">"+o.close},bm=(e,t)=>{const r=t.colors.tag;return r.open+"<"+e+r.close+" …"+r.open+" />"+r.close},hm=1,es=3,ts=8,rs=11,vm=/^((HTML|SVG)\w*)?Element$/,ns=e=>{const{tagName:t}=e;return!!(typeof t=="string"&&t.includes("-")||typeof e.hasAttribute=="function"&&e.hasAttribute("is"))},gm=e=>{const t=e.constructor.name,{nodeType:r}=e;return r===hm&&(vm.test(t)||ns(e))||r===es&&t==="Text"||r===ts&&t==="Comment"||r===rs&&t==="DocumentFragment"};function ym(e){return e.nodeType===es}function wm(e){return e.nodeType===ts}function Gr(e){return e.nodeType===rs}function Em(e){return{test:t=>{var r;return((t==null||(r=t.constructor)==null?void 0:r.name)||ns(t))&&gm(t)},serialize:(t,r,n,a,o,i)=>{if(ym(t))return Zi(t.data,r);if(wm(t))return pm(t.data,r);const s=Gr(t)?"DocumentFragment":t.tagName.toLowerCase();return++a>r.maxDepth?bm(s,r):mm(s,cm(Gr(t)?[]:Array.from(t.attributes).map(u=>u.name).sort(),Gr(t)?{}:Array.from(t.attributes).reduce((u,l)=>(u[l.name]=l.value,u),{}),r,n+r.indent,a,o,i),fm(Array.prototype.slice.call(t.childNodes||t.children).filter(e),r,n+r.indent,a,o,i),r,n)}}}var as=null,Pa=null,qa=null;try{const e=module&&module.require;Pa=e.call(module,"fs").readFileSync,qa=e.call(module,"@babel/code-frame").codeFrameColumns,as=e.call(module,"picocolors")}catch{}function _m(e){const t=e.indexOf("(")+1,r=e.indexOf(")"),n=e.slice(t,r),a=n.split(":"),[o,i,s]=[a[0],parseInt(a[1],10),parseInt(a[2],10)];let u="";try{u=Pa(o,"utf-8")}catch{return""}const l=qa(u,{start:{line:i,column:s}},{highlightCode:!0,linesBelow:0});return as.dim(n)+`
267
268
  `+l+`
268
- `}function _m(){return!Pa||!qa?"":Em(new Error().stack.split(`
269
- `).slice(1).find(e=>!e.includes("node_modules/")))}var os=3;function Yr(){return typeof jest<"u"&&jest!==null?setTimeout._isMockFunction===!0||Object.prototype.hasOwnProperty.call(setTimeout,"clock"):!1}function Ra(){if(typeof window>"u")throw new Error("Could not find default container");return window.document}function is(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 Ne(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 Cm=()=>{if(typeof process>"u")return!1;let e;try{var t;const 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:Pm}=zi.plugins,qm=1,Rm=8;function Tm(e){return e.nodeType!==Rm&&(e.nodeType!==qm||!e.matches(G().defaultIgnore))}function yr(e,t,r){if(r===void 0&&(r={}),e||(e=Ra().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);const{filterNode:a=Tm,...o}=r,i=zi.format(e,{plugins:[wm(a),Pm],printFunctionName:!1,highlight:Cm(),...o});return t!==void 0&&e.outerHTML.length>t?i.slice(0,t)+"...":i}var Qa=function(){const e=_m();console.log(e?yr(...arguments)+`
269
+ `}function Cm(){return!Pa||!qa?"":_m(new Error().stack.split(`
270
+ `).slice(1).find(e=>!e.includes("node_modules/")))}var os=3;function Yr(){return typeof jest<"u"&&jest!==null?setTimeout._isMockFunction===!0||Object.prototype.hasOwnProperty.call(setTimeout,"clock"):!1}function Ra(){if(typeof window>"u")throw new Error("Could not find default container");return window.document}function is(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 Ne(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 Pm=()=>{if(typeof process>"u")return!1;let e;try{var t;const 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:qm}=zi.plugins,Rm=1,Tm=8;function Sm(e){return e.nodeType!==Tm&&(e.nodeType!==Rm||!e.matches(G().defaultIgnore))}function yr(e,t,r){if(r===void 0&&(r={}),e||(e=Ra().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);const{filterNode:a=Sm,...o}=r,i=zi.format(e,{plugins:[Em(a),qm],printFunctionName:!1,highlight:Pm(),...o});return t!==void 0&&e.outerHTML.length>t?i.slice(0,t)+"...":i}var Qa=function(){const e=Cm();console.log(e?yr(...arguments)+`
270
271
 
271
272
  `+e:yr(...arguments))},et={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){const r=yr(t),n=new Error([e,"Ignored nodes: comments, "+et.defaultIgnore+`
272
273
  `+r].filter(Boolean).join(`
273
274
 
274
- `));return n.name="TestingLibraryElementError",n},_disableExpensiveErrorDiagnostics:!1,computedStyleSupportsPseudoElements:!1};function Sm(e){try{return et._disableExpensiveErrorDiagnostics=!0,e()}finally{et._disableExpensiveErrorDiagnostics=!1}}function ss(e){typeof e=="function"&&(e=e(et)),et={...et,...e}}function G(){return et}var xm=["button","meter","output","progress","select","textarea","input"];function ls(e){return xm.includes(e.nodeName.toLowerCase())?"":e.nodeType===os?e.textContent:Array.from(e.childNodes).map(t=>ls(t)).join("")}function yn(e){let t;return e.tagName.toLowerCase()==="label"?t=ls(e):t=e.value||e.textContent,t}function us(e){if(e.labels!==void 0){var t;return(t=e.labels)!=null?t:[]}if(!Om(e))return[];const r=e.ownerDocument.querySelectorAll("label");return Array.from(r).filter(n=>n.control===e)}function Om(e){return/BUTTON|METER|OUTPUT|PROGRESS|SELECT|TEXTAREA/.test(e.tagName)||e.tagName==="INPUT"&&e.getAttribute("type")!=="hidden"}function cs(e,t,r){let{selector:n="*"}=r===void 0?{}:r;const a=t.getAttribute("aria-labelledby"),o=a?a.split(" "):[];return o.length?o.map(i=>{const s=e.querySelector('[id="'+i+'"]');return s?{content:yn(s),formControl:null}:{content:"",formControl:null}}):Array.from(us(t)).map(i=>({content:yn(i),formControl:Array.from(i.querySelectorAll("button, input, meter, output, progress, select, textarea")).filter(s=>s.matches(n))[0]}))}function ds(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 _t(e,t,r,n){if(typeof e!="string")return!1;ds(r);const a=n(e);return typeof r=="string"||typeof r=="number"?a.toLowerCase().includes(r.toString().toLowerCase()):typeof r=="function"?r(a,t):ps(r,a)}function Me(e,t,r,n){if(typeof e!="string")return!1;ds(r);const a=n(e);return r instanceof Function?r(a,t):r instanceof RegExp?ps(r,a):a===String(r)}function fs(e){let{trim:t=!0,collapseWhitespace:r=!0}=e===void 0?{}:e;return n=>{let a=n;return a=t?a.trim():a,a=r?a.replace(/\s+/g," "):a,a}}function it(e){let{trim:t,collapseWhitespace:r,normalizer:n}=e;if(!n)return fs({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 ps(e,t){const 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 $r(e){return e.matches("input[type=submit], input[type=button], input[type=reset]")?e.value:Array.from(e.childNodes).filter(t=>t.nodeType===os&&!!t.textContent).map(t=>t.textContent).join("")}var Mm=Am(me.elementRoles);function ms(e){return e.hidden===!0||e.getAttribute("aria-hidden")==="true"||e.ownerDocument.defaultView.getComputedStyle(e).display==="none"}function Ta(e,t){t===void 0&&(t={});const{isSubtreeInaccessible:r=ms}=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 Sa(e){for(const{match:t,roles:r}of Mm)if(t(e))return[...r];return[]}function Am(e){function t(i){let{name:s,attributes:u}=i;return""+s+u.map(l=>{let{name:c,value:d,constraints:p=[]}=l;const f=p.indexOf("undefined")!==-1,g=p.indexOf("set")!==-1;return typeof d<"u"?"["+c+'="'+d+'"]':f?":not(["+c+"])":g?"["+c+"]:not(["+c+'=""])':"["+c+"]"}).join("")}function r(i){let{attributes:s=[]}=i;return s.length}function n(i,s){let{specificity:u}=i,{specificity:l}=s;return l-u}function a(i){let{attributes:s=[]}=i;const u=s.findIndex(c=>c.value&&c.name==="type"&&c.value==="text");u>=0&&(s=[...s.slice(0,u),...s.slice(u+1)]);const l=t({...i,attributes:s});return c=>u>=0&&c.type!=="text"?!1:c.matches(l)}let o=[];for(const[i,s]of e.entries())o=[...o,{match:a(i),roles:Array.from(s),specificity:r(i)}];return o.sort(n)}function Im(e,t){let{hidden:r=!1}=t===void 0?{}:t;function n(a){return[a,...Array.from(a.children).reduce((o,i)=>[...o,...n(i)],[])]}return n(e).filter(a=>r===!1?Ta(a)===!1:!0).reduce((a,o)=>{let i=[];return o.hasAttribute("role")?i=o.getAttribute("role").split(" ").slice(0,1):i=Sa(o),i.reduce((s,u)=>Array.isArray(s[u])?{...s,[u]:[...s[u],o]}:{...s,[u]:[o]},a)},{})}function Nm(e,t){let{hidden:r,includeDescription:n}=t;const a=Im(e,{hidden:r});return Object.entries(a).filter(o=>{let[i]=o;return i!=="generic"}).map(o=>{let[i,s]=o;const u="-".repeat(50),l=s.map(c=>{const d='Name "'+_a(c,{computedStyleSupportsPseudoElements:G().computedStyleSupportsPseudoElements})+`":
275
+ `));return n.name="TestingLibraryElementError",n},_disableExpensiveErrorDiagnostics:!1,computedStyleSupportsPseudoElements:!1};function xm(e){try{return et._disableExpensiveErrorDiagnostics=!0,e()}finally{et._disableExpensiveErrorDiagnostics=!1}}function ss(e){typeof e=="function"&&(e=e(et)),et={...et,...e}}function G(){return et}var Om=["button","meter","output","progress","select","textarea","input"];function ls(e){return Om.includes(e.nodeName.toLowerCase())?"":e.nodeType===os?e.textContent:Array.from(e.childNodes).map(t=>ls(t)).join("")}function yn(e){let t;return e.tagName.toLowerCase()==="label"?t=ls(e):t=e.value||e.textContent,t}function us(e){if(e.labels!==void 0){var t;return(t=e.labels)!=null?t:[]}if(!Mm(e))return[];const r=e.ownerDocument.querySelectorAll("label");return Array.from(r).filter(n=>n.control===e)}function Mm(e){return/BUTTON|METER|OUTPUT|PROGRESS|SELECT|TEXTAREA/.test(e.tagName)||e.tagName==="INPUT"&&e.getAttribute("type")!=="hidden"}function cs(e,t,r){let{selector:n="*"}=r===void 0?{}:r;const a=t.getAttribute("aria-labelledby"),o=a?a.split(" "):[];return o.length?o.map(i=>{const s=e.querySelector('[id="'+i+'"]');return s?{content:yn(s),formControl:null}:{content:"",formControl:null}}):Array.from(us(t)).map(i=>({content:yn(i),formControl:Array.from(i.querySelectorAll("button, input, meter, output, progress, select, textarea")).filter(s=>s.matches(n))[0]}))}function ds(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 _t(e,t,r,n){if(typeof e!="string")return!1;ds(r);const a=n(e);return typeof r=="string"||typeof r=="number"?a.toLowerCase().includes(r.toString().toLowerCase()):typeof r=="function"?r(a,t):ps(r,a)}function Me(e,t,r,n){if(typeof e!="string")return!1;ds(r);const a=n(e);return r instanceof Function?r(a,t):r instanceof RegExp?ps(r,a):a===String(r)}function fs(e){let{trim:t=!0,collapseWhitespace:r=!0}=e===void 0?{}:e;return n=>{let a=n;return a=t?a.trim():a,a=r?a.replace(/\s+/g," "):a,a}}function it(e){let{trim:t,collapseWhitespace:r,normalizer:n}=e;if(!n)return fs({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 ps(e,t){const 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 $r(e){return e.matches("input[type=submit], input[type=button], input[type=reset]")?e.value:Array.from(e.childNodes).filter(t=>t.nodeType===os&&!!t.textContent).map(t=>t.textContent).join("")}var Am=Im(me.elementRoles);function ms(e){return e.hidden===!0||e.getAttribute("aria-hidden")==="true"||e.ownerDocument.defaultView.getComputedStyle(e).display==="none"}function Ta(e,t){t===void 0&&(t={});const{isSubtreeInaccessible:r=ms}=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 Sa(e){for(const{match:t,roles:r}of Am)if(t(e))return[...r];return[]}function Im(e){function t(i){let{name:s,attributes:u}=i;return""+s+u.map(l=>{let{name:c,value:d,constraints:p=[]}=l;const f=p.indexOf("undefined")!==-1,g=p.indexOf("set")!==-1;return typeof d<"u"?"["+c+'="'+d+'"]':f?":not(["+c+"])":g?"["+c+"]:not(["+c+'=""])':"["+c+"]"}).join("")}function r(i){let{attributes:s=[]}=i;return s.length}function n(i,s){let{specificity:u}=i,{specificity:l}=s;return l-u}function a(i){let{attributes:s=[]}=i;const u=s.findIndex(c=>c.value&&c.name==="type"&&c.value==="text");u>=0&&(s=[...s.slice(0,u),...s.slice(u+1)]);const l=t({...i,attributes:s});return c=>u>=0&&c.type!=="text"?!1:c.matches(l)}let o=[];for(const[i,s]of e.entries())o=[...o,{match:a(i),roles:Array.from(s),specificity:r(i)}];return o.sort(n)}function Nm(e,t){let{hidden:r=!1}=t===void 0?{}:t;function n(a){return[a,...Array.from(a.children).reduce((o,i)=>[...o,...n(i)],[])]}return n(e).filter(a=>r===!1?Ta(a)===!1:!0).reduce((a,o)=>{let i=[];return o.hasAttribute("role")?i=o.getAttribute("role").split(" ").slice(0,1):i=Sa(o),i.reduce((s,u)=>Array.isArray(s[u])?{...s,[u]:[...s[u],o]}:{...s,[u]:[o]},a)},{})}function km(e,t){let{hidden:r,includeDescription:n}=t;const a=Nm(e,{hidden:r});return Object.entries(a).filter(o=>{let[i]=o;return i!=="generic"}).map(o=>{let[i,s]=o;const u="-".repeat(50),l=s.map(c=>{const d='Name "'+_a(c,{computedStyleSupportsPseudoElements:G().computedStyleSupportsPseudoElements})+`":
275
276
  `,p=yr(c.cloneNode(!1));if(n){const f='Description "'+Ji(c,{computedStyleSupportsPseudoElements:G().computedStyleSupportsPseudoElements})+`":
276
277
  `;return""+d+f+p}return""+d+p}).join(`
277
278
 
@@ -280,19 +281,19 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
280
281
  `+l+`
281
282
 
282
283
  `+u}).join(`
283
- `)}function km(e){return e.tagName==="OPTION"?e.selected:Yt(e,"aria-selected")}function jm(e){return e.getAttribute("aria-busy")==="true"}function Dm(e){if(!("indeterminate"in e&&e.indeterminate))return"checked"in e?e.checked:Yt(e,"aria-checked")}function Lm(e){return Yt(e,"aria-pressed")}function Bm(e){var t,r;return(t=(r=Yt(e,"aria-current"))!=null?r:e.getAttribute("aria-current"))!=null?t:!1}function $m(e){return Yt(e,"aria-expanded")}function Yt(e,t){const r=e.getAttribute(t);if(r==="true")return!0;if(r==="false")return!1}function Fm(e){return e.getAttribute("aria-level")&&Number(e.getAttribute("aria-level"))||{H1:1,H2:2,H3:3,H4:4,H5:5,H6:6}[e.tagName]}function Um(e){const t=e.getAttribute("aria-valuenow");return t===null?void 0:+t}function zm(e){const t=e.getAttribute("aria-valuemax");return t===null?void 0:+t}function Vm(e){const t=e.getAttribute("aria-valuemin");return t===null?void 0:+t}function Hm(e){const t=e.getAttribute("aria-valuetext");return t===null?void 0:t}var Za=fs();function Wm(e){return e.replace(/[.*+\-?^${}()|[\]\\]/g,"\\$&")}function eo(e){return new RegExp(Wm(e.toLowerCase()),"i")}function Le(e,t,r,n){let{variant:a,name:o}=n,i="";const s={},u=[["Role","TestId"].includes(e)?r:eo(r)];o&&(s.name=eo(o)),e==="Role"&&Ta(t)&&(s.hidden=!0,i=`Element is inaccessible. This means that the element and all its children are invisible to screen readers.
284
+ `)}function jm(e){return e.tagName==="OPTION"?e.selected:Yt(e,"aria-selected")}function Dm(e){return e.getAttribute("aria-busy")==="true"}function Lm(e){if(!("indeterminate"in e&&e.indeterminate))return"checked"in e?e.checked:Yt(e,"aria-checked")}function Bm(e){return Yt(e,"aria-pressed")}function $m(e){var t,r;return(t=(r=Yt(e,"aria-current"))!=null?r:e.getAttribute("aria-current"))!=null?t:!1}function Fm(e){return Yt(e,"aria-expanded")}function Yt(e,t){const r=e.getAttribute(t);if(r==="true")return!0;if(r==="false")return!1}function Um(e){return e.getAttribute("aria-level")&&Number(e.getAttribute("aria-level"))||{H1:1,H2:2,H3:3,H4:4,H5:5,H6:6}[e.tagName]}function zm(e){const t=e.getAttribute("aria-valuenow");return t===null?void 0:+t}function Vm(e){const t=e.getAttribute("aria-valuemax");return t===null?void 0:+t}function Hm(e){const t=e.getAttribute("aria-valuemin");return t===null?void 0:+t}function Wm(e){const t=e.getAttribute("aria-valuetext");return t===null?void 0:t}var Za=fs();function Km(e){return e.replace(/[.*+\-?^${}()|[\]\\]/g,"\\$&")}function eo(e){return new RegExp(Km(e.toLowerCase()),"i")}function Le(e,t,r,n){let{variant:a,name:o}=n,i="";const s={},u=[["Role","TestId"].includes(e)?r:eo(r)];o&&(s.name=eo(o)),e==="Role"&&Ta(t)&&(s.hidden=!0,i=`Element is inaccessible. This means that the element and all its children are invisible to screen readers.
284
285
  If you are using the aria-hidden prop, make sure this is the right choice for your case.
285
- `),Object.keys(s).length>0&&u.push(s);const l=a+"By"+e;return{queryName:e,queryMethod:l,queryArgs:u,variant:a,warning:i,toString(){i&&console.warn(i);let[c,d]=u;return c=typeof c=="string"?"'"+c+"'":c,d=d?", { "+Object.entries(d).map(p=>{let[f,g]=p;return f+": "+g}).join(", ")+" }":"",l+"("+c+d+")"}}}function Be(e,t,r){return r&&(!t||t.toLowerCase()===e.toLowerCase())}function wn(e,t,r){var n,a;if(t===void 0&&(t="get"),e.matches(G().defaultIgnore))return;const o=(n=e.getAttribute("role"))!=null?n:(a=Sa(e))==null?void 0:a[0];if(o!=="generic"&&Be("Role",r,o))return Le("Role",e,o,{variant:t,name:_a(e,{computedStyleSupportsPseudoElements:G().computedStyleSupportsPseudoElements})});const i=cs(document,e).map(p=>p.content).join(" ");if(Be("LabelText",r,i))return Le("LabelText",e,i,{variant:t});const s=e.getAttribute("placeholder");if(Be("PlaceholderText",r,s))return Le("PlaceholderText",e,s,{variant:t});const u=Za($r(e));if(Be("Text",r,u))return Le("Text",e,u,{variant:t});if(Be("DisplayValue",r,e.value))return Le("DisplayValue",e,Za(e.value),{variant:t});const l=e.getAttribute("alt");if(Be("AltText",r,l))return Le("AltText",e,l,{variant:t});const c=e.getAttribute("title");if(Be("Title",r,c))return Le("Title",e,c,{variant:t});const d=e.getAttribute(G().testIdAttribute);if(Be("TestId",r,d))return Le("TestId",e,d,{variant:t})}function Qt(e,t){e.stack=t.stack.replace(t.message,e.message)}function Km(e,t){let{container:r=Ra(),timeout:n=G().asyncUtilTimeout,showOriginalStackTrace:a=G().showOriginalStackTrace,stackTraceError:o,interval:i=50,onTimeout:s=l=>(Object.defineProperty(l,"message",{value:G().getElementError(l.message,r).message}),l),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(l,c)=>{let d,p,f,g=!1,v="idle";const S=setTimeout(A,n),y=Yr();if(y){const{unstable_advanceTimersWrapper:E}=G();for(M();!g;){if(!Yr()){const m=new Error("Changed from using fake timers to real timers while using waitFor. This is not allowed and will result in very strange behavior. Please ensure you're awaiting all async things your test is doing before changing to real timers. For more info, please go to https://github.com/testing-library/dom-testing-library/issues/830");a||Qt(m,o),c(m);return}if(await E(async()=>{jest.advanceTimersByTime(i)}),g)break;M()}}else{try{Ne(r)}catch(m){c(m);return}p=setInterval(x,i);const{MutationObserver:E}=is(r);f=new E(x),f.observe(r,u),M()}function w(E,m){g=!0,clearTimeout(S),y||(clearInterval(p),f.disconnect()),E?c(E):l(m)}function x(){if(Yr()){const E=new Error("Changed from using real timers to fake timers while using waitFor. This is not allowed and will result in very strange behavior. Please ensure you're awaiting all async things your test is doing before changing to fake timers. For more info, please go to https://github.com/testing-library/dom-testing-library/issues/830");return a||Qt(E,o),c(E)}else return M()}function M(){if(v!=="pending")try{const E=Sm(e);typeof E?.then=="function"?(v="pending",E.then(m=>{v="resolved",w(null,m)},m=>{v="rejected",d=m})):w(null,E)}catch(E){d=E}}function A(){let E;d?(E=d,!a&&E.name==="TestingLibraryElementError"&&Qt(E,o)):(E=new Error("Timed out in waitFor."),a||Qt(E,o)),w(s(E),null)}})}function Gm(e,t){const r=new Error("STACK_TRACE_MESSAGE");return G().asyncWrapper(()=>Km(e,{stackTraceError:r,...t}))}function bs(e,t){return G().getElementError(e,t)}function Ym(e,t){return bs(e+"\n\n(If this is intentional, then use the `*AllBy*` variant of the query (like `queryAllByText`, `getAllByText`, or `findAllByText`)).",t)}function Fr(e,t,r,n){let{exact:a=!0,collapseWhitespace:o,trim:i,normalizer:s}=n===void 0?{}:n;const u=a?Me:_t,l=it({collapseWhitespace:o,trim:i,normalizer:s});return Array.from(t.querySelectorAll("["+e+"]")).filter(c=>u(c.getAttribute(e),c,r,l))}function wr(e,t){return function(r){for(var n=arguments.length,a=new Array(n>1?n-1:0),o=1;o<n;o++)a[o-1]=arguments[o];const i=e(r,...a);if(i.length>1){const s=i.map(u=>bs(null,u).message).join(`
286
+ `),Object.keys(s).length>0&&u.push(s);const l=a+"By"+e;return{queryName:e,queryMethod:l,queryArgs:u,variant:a,warning:i,toString(){i&&console.warn(i);let[c,d]=u;return c=typeof c=="string"?"'"+c+"'":c,d=d?", { "+Object.entries(d).map(p=>{let[f,g]=p;return f+": "+g}).join(", ")+" }":"",l+"("+c+d+")"}}}function Be(e,t,r){return r&&(!t||t.toLowerCase()===e.toLowerCase())}function wn(e,t,r){var n,a;if(t===void 0&&(t="get"),e.matches(G().defaultIgnore))return;const o=(n=e.getAttribute("role"))!=null?n:(a=Sa(e))==null?void 0:a[0];if(o!=="generic"&&Be("Role",r,o))return Le("Role",e,o,{variant:t,name:_a(e,{computedStyleSupportsPseudoElements:G().computedStyleSupportsPseudoElements})});const i=cs(document,e).map(p=>p.content).join(" ");if(Be("LabelText",r,i))return Le("LabelText",e,i,{variant:t});const s=e.getAttribute("placeholder");if(Be("PlaceholderText",r,s))return Le("PlaceholderText",e,s,{variant:t});const u=Za($r(e));if(Be("Text",r,u))return Le("Text",e,u,{variant:t});if(Be("DisplayValue",r,e.value))return Le("DisplayValue",e,Za(e.value),{variant:t});const l=e.getAttribute("alt");if(Be("AltText",r,l))return Le("AltText",e,l,{variant:t});const c=e.getAttribute("title");if(Be("Title",r,c))return Le("Title",e,c,{variant:t});const d=e.getAttribute(G().testIdAttribute);if(Be("TestId",r,d))return Le("TestId",e,d,{variant:t})}function Qt(e,t){e.stack=t.stack.replace(t.message,e.message)}function Gm(e,t){let{container:r=Ra(),timeout:n=G().asyncUtilTimeout,showOriginalStackTrace:a=G().showOriginalStackTrace,stackTraceError:o,interval:i=50,onTimeout:s=l=>(Object.defineProperty(l,"message",{value:G().getElementError(l.message,r).message}),l),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(l,c)=>{let d,p,f,g=!1,v="idle";const S=setTimeout(A,n),y=Yr();if(y){const{unstable_advanceTimersWrapper:E}=G();for(M();!g;){if(!Yr()){const m=new Error("Changed from using fake timers to real timers while using waitFor. This is not allowed and will result in very strange behavior. Please ensure you're awaiting all async things your test is doing before changing to real timers. For more info, please go to https://github.com/testing-library/dom-testing-library/issues/830");a||Qt(m,o),c(m);return}if(await E(async()=>{jest.advanceTimersByTime(i)}),g)break;M()}}else{try{Ne(r)}catch(m){c(m);return}p=setInterval(x,i);const{MutationObserver:E}=is(r);f=new E(x),f.observe(r,u),M()}function w(E,m){g=!0,clearTimeout(S),y||(clearInterval(p),f.disconnect()),E?c(E):l(m)}function x(){if(Yr()){const E=new Error("Changed from using real timers to fake timers while using waitFor. This is not allowed and will result in very strange behavior. Please ensure you're awaiting all async things your test is doing before changing to fake timers. For more info, please go to https://github.com/testing-library/dom-testing-library/issues/830");return a||Qt(E,o),c(E)}else return M()}function M(){if(v!=="pending")try{const E=xm(e);typeof E?.then=="function"?(v="pending",E.then(m=>{v="resolved",w(null,m)},m=>{v="rejected",d=m})):w(null,E)}catch(E){d=E}}function A(){let E;d?(E=d,!a&&E.name==="TestingLibraryElementError"&&Qt(E,o)):(E=new Error("Timed out in waitFor."),a||Qt(E,o)),w(s(E),null)}})}function Ym(e,t){const r=new Error("STACK_TRACE_MESSAGE");return G().asyncWrapper(()=>Gm(e,{stackTraceError:r,...t}))}function bs(e,t){return G().getElementError(e,t)}function Xm(e,t){return bs(e+"\n\n(If this is intentional, then use the `*AllBy*` variant of the query (like `queryAllByText`, `getAllByText`, or `findAllByText`)).",t)}function Fr(e,t,r,n){let{exact:a=!0,collapseWhitespace:o,trim:i,normalizer:s}=n===void 0?{}:n;const u=a?Me:_t,l=it({collapseWhitespace:o,trim:i,normalizer:s});return Array.from(t.querySelectorAll("["+e+"]")).filter(c=>u(c.getAttribute(e),c,r,l))}function wr(e,t){return function(r){for(var n=arguments.length,a=new Array(n>1?n-1:0),o=1;o<n;o++)a[o-1]=arguments[o];const i=e(r,...a);if(i.length>1){const s=i.map(u=>bs(null,u).message).join(`
286
287
 
287
- `);throw Ym(t(r,...a)+`
288
+ `);throw Xm(t(r,...a)+`
288
289
 
289
290
  Here are the matching elements:
290
291
 
291
292
  `+s,r)}return i[0]||null}}function hs(e,t){return G().getElementError(`A better query is available, try this:
292
293
  `+e.toString()+`
293
- `,t)}function Xm(e,t){return function(r){for(var n=arguments.length,a=new Array(n>1?n-1:0),o=1;o<n;o++)a[o-1]=arguments[o];const i=e(r,...a);if(!i.length)throw G().getElementError(t(r,...a),r);return i}}function Er(e){return(t,r,n,a)=>Gm(()=>e(t,r,n),{container:t,...a})}var dt=(e,t,r)=>function(n){for(var a=arguments.length,o=new Array(a>1?a-1:0),i=1;i<a;i++)o[i-1]=arguments[i];const s=e(n,...o),[{suggest:u=G().throwSuggestions}={}]=o.slice(-1);if(s&&u){const l=wn(s,r);if(l&&!t.endsWith(l.queryName))throw hs(l.toString(),n)}return s},he=(e,t,r)=>function(n){for(var a=arguments.length,o=new Array(a>1?a-1:0),i=1;i<a;i++)o[i-1]=arguments[i];const s=e(n,...o),[{suggest:u=G().throwSuggestions}={}]=o.slice(-1);if(s.length&&u){const l=[...new Set(s.map(c=>{var d;return(d=wn(c,r))==null?void 0:d.toString()}))];if(l.length===1&&!t.endsWith(wn(s[0],r).queryName))throw hs(l[0],n)}return s};function st(e,t,r){const n=dt(wr(e,t),e.name,"query"),a=Xm(e,r),o=wr(a,t),i=dt(o,e.name,"get");return[n,he(a,e.name.replace("query","get"),"getAll"),i,Er(he(a,e.name,"findAll")),Er(dt(o,e.name,"find"))]}function Jm(e){return Array.from(e.querySelectorAll("label,input")).map(t=>({node:t,textToMatch:yn(t)})).filter(t=>{let{textToMatch:r}=t;return r!==null})}var Qm=function(e,t,r){let{exact:n=!0,trim:a,collapseWhitespace:o,normalizer:i}=r===void 0?{}:r;const s=n?Me:_t,u=it({collapseWhitespace:o,trim:a,normalizer:i});return Jm(e).filter(l=>{let{node:c,textToMatch:d}=l;return s(d,c,t,u)}).map(l=>{let{node:c}=l;return c})},Bt=function(e,t,r){let{selector:n="*",exact:a=!0,collapseWhitespace:o,trim:i,normalizer:s}=r===void 0?{}:r;Ne(e);const u=a?Me:_t,l=it({collapseWhitespace:o,trim:i,normalizer:s}),c=Array.from(e.querySelectorAll("*")).filter(d=>us(d).length||d.hasAttribute("aria-labelledby")).reduce((d,p)=>{const f=cs(e,p,{selector:n});f.filter(v=>!!v.formControl).forEach(v=>{u(v.content,v.formControl,t,l)&&v.formControl&&d.push(v.formControl)});const g=f.filter(v=>!!v.content).map(v=>v.content);return u(g.join(" "),p,t,l)&&d.push(p),g.length>1&&g.forEach((v,S)=>{u(v,p,t,l)&&d.push(p);const y=[...g];y.splice(S,1),y.length>1&&u(y.join(" "),p,t,l)&&d.push(p)}),d},[]).concat(Fr("aria-label",e,t,{exact:a,normalizer:l}));return Array.from(new Set(c)).filter(d=>d.matches(n))},at=function(e,t){for(var r=arguments.length,n=new Array(r>2?r-2:0),a=2;a<r;a++)n[a-2]=arguments[a];const o=Bt(e,t,...n);if(!o.length){const i=Qm(e,t,...n);if(i.length){const s=i.map(u=>Zm(e,u)).filter(u=>!!u);throw s.length?G().getElementError(s.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(`
294
+ `,t)}function Jm(e,t){return function(r){for(var n=arguments.length,a=new Array(n>1?n-1:0),o=1;o<n;o++)a[o-1]=arguments[o];const i=e(r,...a);if(!i.length)throw G().getElementError(t(r,...a),r);return i}}function Er(e){return(t,r,n,a)=>Ym(()=>e(t,r,n),{container:t,...a})}var dt=(e,t,r)=>function(n){for(var a=arguments.length,o=new Array(a>1?a-1:0),i=1;i<a;i++)o[i-1]=arguments[i];const s=e(n,...o),[{suggest:u=G().throwSuggestions}={}]=o.slice(-1);if(s&&u){const l=wn(s,r);if(l&&!t.endsWith(l.queryName))throw hs(l.toString(),n)}return s},he=(e,t,r)=>function(n){for(var a=arguments.length,o=new Array(a>1?a-1:0),i=1;i<a;i++)o[i-1]=arguments[i];const s=e(n,...o),[{suggest:u=G().throwSuggestions}={}]=o.slice(-1);if(s.length&&u){const l=[...new Set(s.map(c=>{var d;return(d=wn(c,r))==null?void 0:d.toString()}))];if(l.length===1&&!t.endsWith(wn(s[0],r).queryName))throw hs(l[0],n)}return s};function st(e,t,r){const n=dt(wr(e,t),e.name,"query"),a=Jm(e,r),o=wr(a,t),i=dt(o,e.name,"get");return[n,he(a,e.name.replace("query","get"),"getAll"),i,Er(he(a,e.name,"findAll")),Er(dt(o,e.name,"find"))]}function Qm(e){return Array.from(e.querySelectorAll("label,input")).map(t=>({node:t,textToMatch:yn(t)})).filter(t=>{let{textToMatch:r}=t;return r!==null})}var Zm=function(e,t,r){let{exact:n=!0,trim:a,collapseWhitespace:o,normalizer:i}=r===void 0?{}:r;const s=n?Me:_t,u=it({collapseWhitespace:o,trim:a,normalizer:i});return Qm(e).filter(l=>{let{node:c,textToMatch:d}=l;return s(d,c,t,u)}).map(l=>{let{node:c}=l;return c})},Bt=function(e,t,r){let{selector:n="*",exact:a=!0,collapseWhitespace:o,trim:i,normalizer:s}=r===void 0?{}:r;Ne(e);const u=a?Me:_t,l=it({collapseWhitespace:o,trim:i,normalizer:s}),c=Array.from(e.querySelectorAll("*")).filter(d=>us(d).length||d.hasAttribute("aria-labelledby")).reduce((d,p)=>{const f=cs(e,p,{selector:n});f.filter(v=>!!v.formControl).forEach(v=>{u(v.content,v.formControl,t,l)&&v.formControl&&d.push(v.formControl)});const g=f.filter(v=>!!v.content).map(v=>v.content);return u(g.join(" "),p,t,l)&&d.push(p),g.length>1&&g.forEach((v,S)=>{u(v,p,t,l)&&d.push(p);const y=[...g];y.splice(S,1),y.length>1&&u(y.join(" "),p,t,l)&&d.push(p)}),d},[]).concat(Fr("aria-label",e,t,{exact:a,normalizer:l}));return Array.from(new Set(c)).filter(d=>d.matches(n))},at=function(e,t){for(var r=arguments.length,n=new Array(r>2?r-2:0),a=2;a<r;a++)n[a-2]=arguments[a];const o=Bt(e,t,...n);if(!o.length){const i=Zm(e,t,...n);if(i.length){const s=i.map(u=>eb(e,u)).filter(u=>!!u);throw s.length?G().getElementError(s.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(`
294
295
 
295
- `),e):G().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 G().getElementError("Unable to find a label with the text of: "+t,e)}return o};function Zm(e,t){const r=t.getAttribute("for");if(!r)return null;const n=e.querySelector('[id="'+r+'"]');return n?n.tagName.toLowerCase():null}var vs=(e,t)=>"Found multiple elements with the text of: "+t,eb=dt(wr(Bt,vs),Bt.name,"query"),gs=wr(at,vs),tb=Er(he(at,at.name,"findAll")),rb=Er(dt(gs,at.name,"find")),nb=he(at,at.name,"getAll"),ab=dt(gs,at.name,"get"),ob=he(Bt,Bt.name,"queryAll"),En=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return Ne(t[0]),Fr("placeholder",...t)},ib=(e,t)=>"Found multiple elements with the placeholder text of: "+t,sb=(e,t)=>"Unable to find an element with the placeholder text of: "+t,lb=he(En,En.name,"queryAll"),[ub,cb,db,fb,pb]=st(En,ib,sb),_n=function(e,t,r){let{selector:n="*",exact:a=!0,collapseWhitespace:o,trim:i,ignore:s=G().defaultIgnore,normalizer:u}=r===void 0?{}:r;Ne(e);const l=a?Me:_t,c=it({collapseWhitespace:o,trim:i,normalizer:u});let d=[];return typeof e.matches=="function"&&e.matches(n)&&(d=[e]),[...d,...Array.from(e.querySelectorAll(n))].filter(p=>!s||!p.matches(s)).filter(p=>l($r(p),p,t,c))},mb=(e,t)=>"Found multiple elements with the text: "+t,bb=function(e,t,r){r===void 0&&(r={});const{collapseWhitespace:n,trim:a,normalizer:o,selector:i}=r,s=it({collapseWhitespace:n,trim:a,normalizer:o})(t.toString()),u=s!==t.toString(),l=(i??"*")!=="*";return"Unable to find an element with the text: "+(u?s+" (normalized from '"+t+"')":t)+(l?", 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."},hb=he(_n,_n.name,"queryAll"),[vb,gb,yb,wb,Eb]=st(_n,mb,bb),Cn=function(e,t,r){let{exact:n=!0,collapseWhitespace:a,trim:o,normalizer:i}=r===void 0?{}:r;Ne(e);const s=n?Me:_t,u=it({collapseWhitespace:a,trim:o,normalizer:i});return Array.from(e.querySelectorAll("input,textarea,select")).filter(l=>l.tagName==="SELECT"?Array.from(l.options).filter(c=>c.selected).some(c=>s($r(c),c,t,u)):s(l.value,l,t,u))},_b=(e,t)=>"Found multiple elements with the display value: "+t+".",Cb=(e,t)=>"Unable to find an element with the display value: "+t+".",Pb=he(Cn,Cn.name,"queryAll"),[qb,Rb,Tb,Sb,xb]=st(Cn,_b,Cb),Ob=/^(img|input|area|.+-.+)$/i,Pn=function(e,t,r){return r===void 0&&(r={}),Ne(e),Fr("alt",e,t,r).filter(n=>Ob.test(n.tagName))},Mb=(e,t)=>"Found multiple elements with the alt text: "+t,Ab=(e,t)=>"Unable to find an element with the alt text: "+t,Ib=he(Pn,Pn.name,"queryAll"),[Nb,kb,jb,Db,Lb]=st(Pn,Mb,Ab),Bb=e=>{var t;return e.tagName.toLowerCase()==="title"&&((t=e.parentElement)==null?void 0:t.tagName.toLowerCase())==="svg"},qn=function(e,t,r){let{exact:n=!0,collapseWhitespace:a,trim:o,normalizer:i}=r===void 0?{}:r;Ne(e);const s=n?Me:_t,u=it({collapseWhitespace:a,trim:o,normalizer:i});return Array.from(e.querySelectorAll("[title], svg > title")).filter(l=>s(l.getAttribute("title"),l,t,u)||Bb(l)&&s($r(l),l,t,u))},$b=(e,t)=>"Found multiple elements with the title: "+t+".",Fb=(e,t)=>"Unable to find an element with the title: "+t+".",Ub=he(qn,qn.name,"queryAll"),[zb,Vb,Hb,Wb,Kb]=st(qn,$b,Fb),Rn=function(e,t,r){let{hidden:n=G().defaultHidden,name:a,description:o,queryFallbacks:i=!1,selected:s,busy:u,checked:l,pressed:c,current:d,level:p,expanded:f,value:{now:g,min:v,max:S,text:y}={}}=r===void 0?{}:r;if(Ne(e),s!==void 0){var w;if(((w=me.roles.get(t))==null?void 0:w.props["aria-selected"])===void 0)throw new Error('"aria-selected" is not supported on role "'+t+'".')}if(u!==void 0){var x;if(((x=me.roles.get(t))==null?void 0:x.props["aria-busy"])===void 0)throw new Error('"aria-busy" is not supported on role "'+t+'".')}if(l!==void 0){var M;if(((M=me.roles.get(t))==null?void 0:M.props["aria-checked"])===void 0)throw new Error('"aria-checked" is not supported on role "'+t+'".')}if(c!==void 0){var A;if(((A=me.roles.get(t))==null?void 0:A.props["aria-pressed"])===void 0)throw new Error('"aria-pressed" is not supported on role "'+t+'".')}if(d!==void 0){var E;if(((E=me.roles.get(t))==null?void 0:E.props["aria-current"])===void 0)throw new Error('"aria-current" is not supported on role "'+t+'".')}if(p!==void 0&&t!=="heading")throw new Error('Role "'+t+'" cannot have "level" property.');if(g!==void 0){var m;if(((m=me.roles.get(t))==null?void 0:m.props["aria-valuenow"])===void 0)throw new Error('"aria-valuenow" is not supported on role "'+t+'".')}if(S!==void 0){var _;if(((_=me.roles.get(t))==null?void 0:_.props["aria-valuemax"])===void 0)throw new Error('"aria-valuemax" is not supported on role "'+t+'".')}if(v!==void 0){var T;if(((T=me.roles.get(t))==null?void 0:T.props["aria-valuemin"])===void 0)throw new Error('"aria-valuemin" is not supported on role "'+t+'".')}if(y!==void 0){var I;if(((I=me.roles.get(t))==null?void 0:I.props["aria-valuetext"])===void 0)throw new Error('"aria-valuetext" is not supported on role "'+t+'".')}if(f!==void 0){var D;if(((D=me.roles.get(t))==null?void 0:D.props["aria-expanded"])===void 0)throw new Error('"aria-expanded" is not supported on role "'+t+'".')}const B=new WeakMap;function F(O){return B.has(O)||B.set(O,ms(O)),B.get(O)}return Array.from(e.querySelectorAll(Gb(t))).filter(O=>{if(O.hasAttribute("role")){const $=O.getAttribute("role");if(i)return $.split(" ").filter(Boolean).some(ne=>ne===t);const[H]=$.split(" ");return H===t}return Sa(O).some($=>$===t)}).filter(O=>{if(s!==void 0)return s===km(O);if(u!==void 0)return u===jm(O);if(l!==void 0)return l===Dm(O);if(c!==void 0)return c===Lm(O);if(d!==void 0)return d===Bm(O);if(f!==void 0)return f===$m(O);if(p!==void 0)return p===Fm(O);if(g!==void 0||S!==void 0||v!==void 0||y!==void 0){let H=!0;if(g!==void 0&&H&&(H=g===Um(O)),S!==void 0&&H&&(H=S===zm(O)),v!==void 0&&H&&(H=v===Vm(O)),y!==void 0){var $;H&&(H=Me(($=Hm(O))!=null?$:null,O,y,ne=>ne))}return H}return!0}).filter(O=>a===void 0?!0:Me(_a(O,{computedStyleSupportsPseudoElements:G().computedStyleSupportsPseudoElements}),O,a,$=>$)).filter(O=>o===void 0?!0:Me(Ji(O,{computedStyleSupportsPseudoElements:G().computedStyleSupportsPseudoElements}),O,o,$=>$)).filter(O=>n===!1?Ta(O,{isSubtreeInaccessible:F})===!1:!0)};function Gb(e){var t;const r='*[role~="'+e+'"]',n=(t=me.roleElements.get(e))!=null?t:new Set,a=new Set(Array.from(n).map(o=>{let{name:i}=o;return i}));return[r].concat(Array.from(a)).join(",")}var ys=e=>{let t="";return e===void 0?t="":typeof e=="string"?t=' and name "'+e+'"':t=" and name `"+e+"`",t},Yb=function(e,t,r){let{name:n}=r===void 0?{}:r;return'Found multiple elements with the role "'+t+'"'+ys(n)},Xb=function(e,t,r){let{hidden:n=G().defaultHidden,name:a,description:o}=r===void 0?{}:r;if(G()._disableExpensiveErrorDiagnostics)return'Unable to find role="'+t+'"'+ys(a);let i="";Array.from(e.children).forEach(c=>{i+=Nm(c,{hidden:n,includeDescription:o!==void 0})});let s;i.length===0?n===!1?s="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":s="There are no available roles.":s=(`
296
+ `),e):G().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 G().getElementError("Unable to find a label with the text of: "+t,e)}return o};function eb(e,t){const r=t.getAttribute("for");if(!r)return null;const n=e.querySelector('[id="'+r+'"]');return n?n.tagName.toLowerCase():null}var vs=(e,t)=>"Found multiple elements with the text of: "+t,tb=dt(wr(Bt,vs),Bt.name,"query"),gs=wr(at,vs),rb=Er(he(at,at.name,"findAll")),nb=Er(dt(gs,at.name,"find")),ab=he(at,at.name,"getAll"),ob=dt(gs,at.name,"get"),ib=he(Bt,Bt.name,"queryAll"),En=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return Ne(t[0]),Fr("placeholder",...t)},sb=(e,t)=>"Found multiple elements with the placeholder text of: "+t,lb=(e,t)=>"Unable to find an element with the placeholder text of: "+t,ub=he(En,En.name,"queryAll"),[cb,db,fb,pb,mb]=st(En,sb,lb),_n=function(e,t,r){let{selector:n="*",exact:a=!0,collapseWhitespace:o,trim:i,ignore:s=G().defaultIgnore,normalizer:u}=r===void 0?{}:r;Ne(e);const l=a?Me:_t,c=it({collapseWhitespace:o,trim:i,normalizer:u});let d=[];return typeof e.matches=="function"&&e.matches(n)&&(d=[e]),[...d,...Array.from(e.querySelectorAll(n))].filter(p=>!s||!p.matches(s)).filter(p=>l($r(p),p,t,c))},bb=(e,t)=>"Found multiple elements with the text: "+t,hb=function(e,t,r){r===void 0&&(r={});const{collapseWhitespace:n,trim:a,normalizer:o,selector:i}=r,s=it({collapseWhitespace:n,trim:a,normalizer:o})(t.toString()),u=s!==t.toString(),l=(i??"*")!=="*";return"Unable to find an element with the text: "+(u?s+" (normalized from '"+t+"')":t)+(l?", 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."},vb=he(_n,_n.name,"queryAll"),[gb,yb,wb,Eb,_b]=st(_n,bb,hb),Cn=function(e,t,r){let{exact:n=!0,collapseWhitespace:a,trim:o,normalizer:i}=r===void 0?{}:r;Ne(e);const s=n?Me:_t,u=it({collapseWhitespace:a,trim:o,normalizer:i});return Array.from(e.querySelectorAll("input,textarea,select")).filter(l=>l.tagName==="SELECT"?Array.from(l.options).filter(c=>c.selected).some(c=>s($r(c),c,t,u)):s(l.value,l,t,u))},Cb=(e,t)=>"Found multiple elements with the display value: "+t+".",Pb=(e,t)=>"Unable to find an element with the display value: "+t+".",qb=he(Cn,Cn.name,"queryAll"),[Rb,Tb,Sb,xb,Ob]=st(Cn,Cb,Pb),Mb=/^(img|input|area|.+-.+)$/i,Pn=function(e,t,r){return r===void 0&&(r={}),Ne(e),Fr("alt",e,t,r).filter(n=>Mb.test(n.tagName))},Ab=(e,t)=>"Found multiple elements with the alt text: "+t,Ib=(e,t)=>"Unable to find an element with the alt text: "+t,Nb=he(Pn,Pn.name,"queryAll"),[kb,jb,Db,Lb,Bb]=st(Pn,Ab,Ib),$b=e=>{var t;return e.tagName.toLowerCase()==="title"&&((t=e.parentElement)==null?void 0:t.tagName.toLowerCase())==="svg"},qn=function(e,t,r){let{exact:n=!0,collapseWhitespace:a,trim:o,normalizer:i}=r===void 0?{}:r;Ne(e);const s=n?Me:_t,u=it({collapseWhitespace:a,trim:o,normalizer:i});return Array.from(e.querySelectorAll("[title], svg > title")).filter(l=>s(l.getAttribute("title"),l,t,u)||$b(l)&&s($r(l),l,t,u))},Fb=(e,t)=>"Found multiple elements with the title: "+t+".",Ub=(e,t)=>"Unable to find an element with the title: "+t+".",zb=he(qn,qn.name,"queryAll"),[Vb,Hb,Wb,Kb,Gb]=st(qn,Fb,Ub),Rn=function(e,t,r){let{hidden:n=G().defaultHidden,name:a,description:o,queryFallbacks:i=!1,selected:s,busy:u,checked:l,pressed:c,current:d,level:p,expanded:f,value:{now:g,min:v,max:S,text:y}={}}=r===void 0?{}:r;if(Ne(e),s!==void 0){var w;if(((w=me.roles.get(t))==null?void 0:w.props["aria-selected"])===void 0)throw new Error('"aria-selected" is not supported on role "'+t+'".')}if(u!==void 0){var x;if(((x=me.roles.get(t))==null?void 0:x.props["aria-busy"])===void 0)throw new Error('"aria-busy" is not supported on role "'+t+'".')}if(l!==void 0){var M;if(((M=me.roles.get(t))==null?void 0:M.props["aria-checked"])===void 0)throw new Error('"aria-checked" is not supported on role "'+t+'".')}if(c!==void 0){var A;if(((A=me.roles.get(t))==null?void 0:A.props["aria-pressed"])===void 0)throw new Error('"aria-pressed" is not supported on role "'+t+'".')}if(d!==void 0){var E;if(((E=me.roles.get(t))==null?void 0:E.props["aria-current"])===void 0)throw new Error('"aria-current" is not supported on role "'+t+'".')}if(p!==void 0&&t!=="heading")throw new Error('Role "'+t+'" cannot have "level" property.');if(g!==void 0){var m;if(((m=me.roles.get(t))==null?void 0:m.props["aria-valuenow"])===void 0)throw new Error('"aria-valuenow" is not supported on role "'+t+'".')}if(S!==void 0){var _;if(((_=me.roles.get(t))==null?void 0:_.props["aria-valuemax"])===void 0)throw new Error('"aria-valuemax" is not supported on role "'+t+'".')}if(v!==void 0){var T;if(((T=me.roles.get(t))==null?void 0:T.props["aria-valuemin"])===void 0)throw new Error('"aria-valuemin" is not supported on role "'+t+'".')}if(y!==void 0){var I;if(((I=me.roles.get(t))==null?void 0:I.props["aria-valuetext"])===void 0)throw new Error('"aria-valuetext" is not supported on role "'+t+'".')}if(f!==void 0){var D;if(((D=me.roles.get(t))==null?void 0:D.props["aria-expanded"])===void 0)throw new Error('"aria-expanded" is not supported on role "'+t+'".')}const B=new WeakMap;function F(O){return B.has(O)||B.set(O,ms(O)),B.get(O)}return Array.from(e.querySelectorAll(Yb(t))).filter(O=>{if(O.hasAttribute("role")){const $=O.getAttribute("role");if(i)return $.split(" ").filter(Boolean).some(ne=>ne===t);const[H]=$.split(" ");return H===t}return Sa(O).some($=>$===t)}).filter(O=>{if(s!==void 0)return s===jm(O);if(u!==void 0)return u===Dm(O);if(l!==void 0)return l===Lm(O);if(c!==void 0)return c===Bm(O);if(d!==void 0)return d===$m(O);if(f!==void 0)return f===Fm(O);if(p!==void 0)return p===Um(O);if(g!==void 0||S!==void 0||v!==void 0||y!==void 0){let H=!0;if(g!==void 0&&H&&(H=g===zm(O)),S!==void 0&&H&&(H=S===Vm(O)),v!==void 0&&H&&(H=v===Hm(O)),y!==void 0){var $;H&&(H=Me(($=Wm(O))!=null?$:null,O,y,ne=>ne))}return H}return!0}).filter(O=>a===void 0?!0:Me(_a(O,{computedStyleSupportsPseudoElements:G().computedStyleSupportsPseudoElements}),O,a,$=>$)).filter(O=>o===void 0?!0:Me(Ji(O,{computedStyleSupportsPseudoElements:G().computedStyleSupportsPseudoElements}),O,o,$=>$)).filter(O=>n===!1?Ta(O,{isSubtreeInaccessible:F})===!1:!0)};function Yb(e){var t;const r='*[role~="'+e+'"]',n=(t=me.roleElements.get(e))!=null?t:new Set,a=new Set(Array.from(n).map(o=>{let{name:i}=o;return i}));return[r].concat(Array.from(a)).join(",")}var ys=e=>{let t="";return e===void 0?t="":typeof e=="string"?t=' and name "'+e+'"':t=" and name `"+e+"`",t},Xb=function(e,t,r){let{name:n}=r===void 0?{}:r;return'Found multiple elements with the role "'+t+'"'+ys(n)},Jb=function(e,t,r){let{hidden:n=G().defaultHidden,name:a,description:o}=r===void 0?{}:r;if(G()._disableExpensiveErrorDiagnostics)return'Unable to find role="'+t+'"'+ys(a);let i="";Array.from(e.children).forEach(c=>{i+=km(c,{hidden:n,includeDescription:o!==void 0})});let s;i.length===0?n===!1?s="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":s="There are no available roles.":s=(`
296
297
  Here are the `+(n===!1?"accessible":"available")+` roles:
297
298
 
298
299
  `+i.replace(/\n/g,`
@@ -302,12 +303,12 @@ Here are the `+(n===!1?"accessible":"available")+` roles:
302
303
  `).trim();let u="";a===void 0?u="":typeof a=="string"?u=' and name "'+a+'"':u=" and name `"+a+"`";let l="";return o===void 0?l="":typeof o=="string"?l=' and description "'+o+'"':l=" and description `"+o+"`",(`
303
304
  Unable to find an `+(n===!1?"accessible ":"")+'element with the role "'+t+'"'+u+l+`
304
305
 
305
- `+s).trim()},Jb=he(Rn,Rn.name,"queryAll"),[Qb,Zb,eh,th,rh]=st(Rn,Yb,Xb),xa=()=>G().testIdAttribute,Tn=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return Ne(t[0]),Fr(xa(),...t)},nh=(e,t)=>"Found multiple elements by: ["+xa()+'="'+t+'"]',ah=(e,t)=>"Unable to find an element by: ["+xa()+'="'+t+'"]',oh=he(Tn,Tn.name,"queryAll"),[ih,sh,lh,uh,ch]=st(Tn,nh,ah),Sn=Object.freeze({__proto__:null,queryAllByLabelText:ob,queryByLabelText:eb,getAllByLabelText:nb,getByLabelText:ab,findAllByLabelText:tb,findByLabelText:rb,queryByPlaceholderText:ub,queryAllByPlaceholderText:lb,getByPlaceholderText:db,getAllByPlaceholderText:cb,findAllByPlaceholderText:fb,findByPlaceholderText:pb,queryByText:vb,queryAllByText:hb,getByText:yb,getAllByText:gb,findAllByText:wb,findByText:Eb,queryByDisplayValue:qb,queryAllByDisplayValue:Pb,getByDisplayValue:Tb,getAllByDisplayValue:Rb,findAllByDisplayValue:Sb,findByDisplayValue:xb,queryByAltText:Nb,queryAllByAltText:Ib,getByAltText:jb,getAllByAltText:kb,findAllByAltText:Db,findByAltText:Lb,queryByTitle:zb,queryAllByTitle:Ub,getByTitle:Hb,getAllByTitle:Vb,findAllByTitle:Wb,findByTitle:Kb,queryByRole:Qb,queryAllByRole:Jb,getAllByRole:Zb,getByRole:eh,findAllByRole:th,findByRole:rh,queryByTestId:ih,queryAllByTestId:oh,getByTestId:lh,getAllByTestId:sh,findAllByTestId:uh,findByTestId:ch});function ws(e,t,r){return t===void 0&&(t=Sn),r===void 0&&(r={}),Object.keys(t).reduce((n,a)=>(n[a]=t[a].bind(null,e),n),r)}var to={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}}},ro={doubleClick:"dblClick"};function _r(e,t){return G().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 Xr(e,t,r,n){let{EventType:a="Event",defaultInit:o={}}=n===void 0?{}:n;if(!t)throw new Error('Unable to fire a "'+e+'" event - please provide a DOM element.');const i={...o,...r},{target:{value:s,files:u,...l}={}}=i;s!==void 0&&dh(t,s),u!==void 0&&Object.defineProperty(t,"files",{configurable:!0,enumerable:!0,writable:!0,value:u}),Object.assign(t,l);const c=is(t),d=c[a]||c.Event;let p;if(typeof d=="function")p=new d(e,i);else{p=c.document.createEvent(a);const{bubbles:f,cancelable:g,detail:v,...S}=i;p.initEvent(e,f,g,v),Object.keys(S).forEach(y=>{p[y]=S[y]})}return["dataTransfer","clipboardData"].forEach(f=>{const g=i[f];typeof g=="object"&&(typeof c.DataTransfer=="function"?Object.defineProperty(p,f,{value:Object.getOwnPropertyNames(g).reduce((v,S)=>(Object.defineProperty(v,S,{value:g[S]}),v),new c.DataTransfer)}):Object.defineProperty(p,f,{value:g}))}),p}Object.keys(to).forEach(e=>{const{EventType:t,defaultInit:r}=to[e],n=e.toLowerCase();Xr[e]=(a,o)=>Xr(n,a,o,{EventType:t,defaultInit:r}),_r[e]=(a,o)=>_r(a,Xr[e](a,o))});function dh(e,t){const{set:r}=Object.getOwnPropertyDescriptor(e,"value")||{},{set:n}=Object.getOwnPropertyDescriptor(Object.getPrototypeOf(e),"value")||{};if(n&&r!==n)n.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(ro).forEach(e=>{const t=ro[e];_r[e]=function(){return _r[t](...arguments)}});function fh(e){return e.replace(/[ \t]*[\n][ \t]*/g,`
306
- `)}function ph(e){return lm.default.compressToEncodedURIComponent(fh(e))}function mh(e){return"https://testing-playground.com/#markup="+ph(e)}var bh=(e,t,r)=>Array.isArray(e)?e.forEach(n=>Qa(n,t,r)):Qa(e,t,r),hh=function(e){if(e===void 0&&(e=Ra().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}const t=mh(e.innerHTML);return console.log(`Open this URL in your browser
306
+ `+s).trim()},Qb=he(Rn,Rn.name,"queryAll"),[Zb,eh,th,rh,nh]=st(Rn,Xb,Jb),xa=()=>G().testIdAttribute,Tn=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return Ne(t[0]),Fr(xa(),...t)},ah=(e,t)=>"Found multiple elements by: ["+xa()+'="'+t+'"]',oh=(e,t)=>"Unable to find an element by: ["+xa()+'="'+t+'"]',ih=he(Tn,Tn.name,"queryAll"),[sh,lh,uh,ch,dh]=st(Tn,ah,oh),Sn=Object.freeze({__proto__:null,queryAllByLabelText:ib,queryByLabelText:tb,getAllByLabelText:ab,getByLabelText:ob,findAllByLabelText:rb,findByLabelText:nb,queryByPlaceholderText:cb,queryAllByPlaceholderText:ub,getByPlaceholderText:fb,getAllByPlaceholderText:db,findAllByPlaceholderText:pb,findByPlaceholderText:mb,queryByText:gb,queryAllByText:vb,getByText:wb,getAllByText:yb,findAllByText:Eb,findByText:_b,queryByDisplayValue:Rb,queryAllByDisplayValue:qb,getByDisplayValue:Sb,getAllByDisplayValue:Tb,findAllByDisplayValue:xb,findByDisplayValue:Ob,queryByAltText:kb,queryAllByAltText:Nb,getByAltText:Db,getAllByAltText:jb,findAllByAltText:Lb,findByAltText:Bb,queryByTitle:Vb,queryAllByTitle:zb,getByTitle:Wb,getAllByTitle:Hb,findAllByTitle:Kb,findByTitle:Gb,queryByRole:Zb,queryAllByRole:Qb,getAllByRole:eh,getByRole:th,findAllByRole:rh,findByRole:nh,queryByTestId:sh,queryAllByTestId:ih,getByTestId:uh,getAllByTestId:lh,findAllByTestId:ch,findByTestId:dh});function ws(e,t,r){return t===void 0&&(t=Sn),r===void 0&&(r={}),Object.keys(t).reduce((n,a)=>(n[a]=t[a].bind(null,e),n),r)}var to={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}}},ro={doubleClick:"dblClick"};function _r(e,t){return G().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 Xr(e,t,r,n){let{EventType:a="Event",defaultInit:o={}}=n===void 0?{}:n;if(!t)throw new Error('Unable to fire a "'+e+'" event - please provide a DOM element.');const i={...o,...r},{target:{value:s,files:u,...l}={}}=i;s!==void 0&&fh(t,s),u!==void 0&&Object.defineProperty(t,"files",{configurable:!0,enumerable:!0,writable:!0,value:u}),Object.assign(t,l);const c=is(t),d=c[a]||c.Event;let p;if(typeof d=="function")p=new d(e,i);else{p=c.document.createEvent(a);const{bubbles:f,cancelable:g,detail:v,...S}=i;p.initEvent(e,f,g,v),Object.keys(S).forEach(y=>{p[y]=S[y]})}return["dataTransfer","clipboardData"].forEach(f=>{const g=i[f];typeof g=="object"&&(typeof c.DataTransfer=="function"?Object.defineProperty(p,f,{value:Object.getOwnPropertyNames(g).reduce((v,S)=>(Object.defineProperty(v,S,{value:g[S]}),v),new c.DataTransfer)}):Object.defineProperty(p,f,{value:g}))}),p}Object.keys(to).forEach(e=>{const{EventType:t,defaultInit:r}=to[e],n=e.toLowerCase();Xr[e]=(a,o)=>Xr(n,a,o,{EventType:t,defaultInit:r}),_r[e]=(a,o)=>_r(a,Xr[e](a,o))});function fh(e,t){const{set:r}=Object.getOwnPropertyDescriptor(e,"value")||{},{set:n}=Object.getOwnPropertyDescriptor(Object.getPrototypeOf(e),"value")||{};if(n&&r!==n)n.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(ro).forEach(e=>{const t=ro[e];_r[e]=function(){return _r[t](...arguments)}});function ph(e){return e.replace(/[ \t]*[\n][ \t]*/g,`
307
+ `)}function mh(e){return um.default.compressToEncodedURIComponent(ph(e))}function bh(e){return"https://testing-playground.com/#markup="+mh(e)}var hh=(e,t,r)=>Array.isArray(e)?e.forEach(n=>Qa(n,t,r)):Qa(e,t,r),vh=function(e){if(e===void 0&&(e=Ra().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}const t=bh(e.innerHTML);return console.log(`Open this URL in your browser
307
308
 
308
- `+t),t},no={debug:bh,logTestingPlaygroundURL:hh},Ur=typeof document<"u"&&document.body?ws(document.body,Sn,no):Object.keys(Sn).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),no);function vt(e,t){return G().eventWrapper(e)}function Ve(e){const t=mc(e,wa),r=Kt(e.ownerDocument);(t??e.ownerDocument.body)!==r&&(vt(t?()=>t.focus():()=>r?.blur()),vc(t??e.ownerDocument.body))}function vh(e){wa(e)&&Kt(e.ownerDocument)===e&&vt(()=>e.blur())}var He={};He.click=(e,t,r)=>{const n=t.closest("button,input,label,select,textarea"),a=n&&V(n,"label")&&n.control;if(a&&a!==t)return()=>{wa(a)&&(Ve(a),r.dispatchEvent(a,pc(e)))};if(V(t,"input",{type:"file"}))return()=>{vh(t),t.dispatchEvent(new(ve(t)).Event("fileDialog")),Ve(t)}};var gt=Symbol("Displayed value in UI"),xe=Symbol("Displayed selection in UI"),Cr=Symbol("Initial value to compare on blur");function gh(e){return typeof e=="object"&&gt in e}function yh(e){return!!e&&typeof e=="object"&&xe in e}function wh(e,t){e[Cr]===void 0&&(e[Cr]=e.value),e[gt]=t,e.value=Object.assign(new String(t),{[gt]:!0})}function qe(e){return e[gt]===void 0?e.value:String(e[gt])}function Oa(e){e[gt]=void 0}function Es(e){e[Cr]=void 0}function Eh(e){return e[Cr]}function _h(e,t){e[xe]=t}function Ct(e,{focusOffset:t,anchorOffset:r=t},n="replace"){const a=qe(e).length,o=d=>Math.max(0,Math.min(a,d)),i=n==="replace"||e[xe]===void 0?o(r):e[xe].anchorOffset,s=o(t),u=Math.min(i,s),l=Math.max(i,s);if(e[xe]={anchorOffset:i,focusOffset:s},e.selectionStart===u&&e.selectionEnd===l)return;const c=Object.assign(new Number(u),{[xe]:!0});try{e.setSelectionRange(c,l)}catch{}}function $t(e){var t,r,n;const a=(n=e[xe])!==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{...a,startOffset:Math.min(a.anchorOffset,a.focusOffset),endOffset:Math.max(a.anchorOffset,a.focusOffset)}}function Ch(e){return!!e[xe]}function ar(e){e[xe]=void 0}var Pr=globalThis.parseInt;function Ph(e){const t=e.replace(/\D/g,"");if(t.length<2)return e;const r=Pr(t[0],10),n=Pr(t[1],10);if(r>=3||r===2&&n>=4){let a;return r>=3?a=1:a=2,ao(t,a)}return e.length===2?e:ao(t,2)}function ao(e,t){const r=e.slice(0,t),n=Math.min(Pr(r,10),23),a=Pr(e.slice(t),10),o=Math.min(a,59);return`${n.toString().padStart(2,"0")}:${o.toString().padStart(2,"0")}`}function _s(e,t){const r=e.cloneNode();return r.value=t,r.value===t}var Cs=(function(e){return e.email="email",e.password="password",e.search="search",e.telephone="telephone",e.text="text",e.url="url",e})(Cs||{});function qh(e){var t;const r=(t=e.getAttribute("maxlength"))!==null&&t!==void 0?t:"";return/^\d+$/.test(r)&&Number(r)>=0?Number(r):void 0}function Rh(e){return V(e,"textarea")||V(e,"input")&&e.type in Cs}function Ps(e,t,r,n){if(or(e)&&t+r>=0&&t+r<=e.nodeValue.length)return{node:e,offset:t+r};const a=oo(e,t,r);if(a){if(or(a))return{node:a,offset:r>0?Math.min(1,a.nodeValue.length):Math.max(a.nodeValue.length-1,0)};if(V(a,"br")){const o=oo(a,void 0,r);return o?or(o)?{node:o,offset:r>0?0:o.nodeValue.length}:r<0&&V(o,"br")?{node:a.parentNode,offset:Zt(a)}:{node:o.parentNode,offset:Zt(o)+(r>0?0:1)}:r<0&&n==="deleteContentBackward"?{node:a.parentNode,offset:Zt(a)}:void 0}else return{node:a.parentNode,offset:Zt(a)+(r>0?1:0)}}}function oo(e,t,r){const n=Number(t)+(r<0?-1:0);return t!==void 0&&Ma(e)&&n>=0&&n<e.children.length&&(e=e.children[n]),Sh(e,r===1?"next":"previous",Th)}function Th(e){if(or(e))return!0;if(Ma(e)){if(V(e,["input","textarea"]))return e.type!=="hidden";if(V(e,"br"))return!0}return!1}function Zt(e){let t=0;for(;e.previousSibling;)t++,e=e.previousSibling;return t}function Ma(e){return e.nodeType===1}function or(e){return e.nodeType===3}function Sh(e,t,r){for(;;){var n;const a=e[`${t}Sibling`];if(a){if(e=xh(a,t==="next"?"first":"last"),r(e))return e}else if(e.parentNode&&(!Ma(e.parentNode)||!nt(e.parentNode)&&e.parentNode!==((n=e.ownerDocument)===null||n===void 0?void 0:n.body)))e=e.parentNode;else break}}function xh(e,t){for(;e.hasChildNodes();)e=e[`${t}Child`];return e}var Ft=Symbol("Track programmatic changes for React workaround");function Oh(e){return Object.getOwnPropertyNames(e).some(t=>t.startsWith("__react"))&&ve(e).REACT_VERSION===17}function Mh(e){Oh(e)&&(e[Ft]={previousValue:String(e.value),tracked:[]})}function Ah(e,t){var r,n;(n=e[Ft])===null||n===void 0||(r=n.tracked)==null||r.push(t),e[Ft]||(Oa(e),Ct(e,{focusOffset:t.length}))}function Ih(e,t){var r;const n=e[Ft];if(e[Ft]=void 0,!(!(n==null||(r=n.tracked)===null||r===void 0)&&r.length))return;const a=n.tracked.length===2&&n.tracked[0]===n.previousValue&&n.tracked[1]===e.value;a||Oa(e),Ch(e)&&Ct(e,{focusOffset:a?t:e.value.length})}function qs(e){const t=Nh(e);if(t&&Pe(t))return{type:"input",selection:$t(t)};const r=t?.ownerDocument.getSelection();return{type:jt(e)&&r?.anchorNode&&jt(r.anchorNode)?"contenteditable":"default",selection:r}}function Nh(e){return e.nodeType===1?e:e.parentElement}function kh(e){const t=qs(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 ot({focusNode:e,focusOffset:t,anchorNode:r=e,anchorOffset:n=t}){var a,o;if(qs(e).type==="input")return Ct(e,{anchorOffset:n,focusOffset:t});(o=r.ownerDocument)===null||o===void 0||(a=o.getSelection())==null||a.setBaseAndExtent(r,n,e,t)}function Rs(e){return V(e,"input")&&["date","time"].includes(e.type)}function yt(e,t,r,n="insertText"){const a=kh(t);a&&(!Rs(t)&&!e.dispatchUIEvent(t,"beforeinput",{inputType:n,data:r})||("startContainer"in a?jh(e,t,a,r,n):Dh(e,t,a,r,n)))}function jh(e,t,r,n,a){let o=!1;if(!r.collapsed)o=!0,r.deleteContents();else if(["deleteContentBackward","deleteContentForward"].includes(a)){const i=Ps(r.startContainer,r.startOffset,a==="deleteContentBackward"?-1:1,a);if(i){o=!0;const s=r.cloneRange();s.comparePoint(i.node,i.offset)<0?s.setStart(i.node,i.offset):s.setEnd(i.node,i.offset),s.deleteContents()}}if(n)if(r.endContainer.nodeType===3){const i=r.endOffset;r.endContainer.insertData(i,n),r.setStart(r.endContainer,i+n.length),r.setEnd(r.endContainer,i+n.length)}else{const i=t.ownerDocument.createTextNode(n);r.insertNode(i),r.setStart(i,n.length),r.setEnd(i,n.length)}(o||n)&&e.dispatchUIEvent(t,"input",{inputType:a})}function Dh(e,t,r,n,a){let o=n;if(Rh(t)){const l=qh(t);if(l!==void 0&&n.length>0){const c=l-t.value.length;if(c>0)o=n.substring(0,c);else return}}const{newValue:i,newOffset:s,oldValue:u}=Lh(o,t,r,a);i===u&&s===r.startOffset&&s===r.endOffset||V(t,"input",{type:"number"})&&!Bh(i)||(wh(t,i),ot({focusNode:t,anchorOffset:s,focusOffset:s}),Rs(t)?_s(t,i)&&(io(e,t,s,{}),e.dispatchUIEvent(t,"change"),Es(t)):io(e,t,s,{data:n,inputType:a}))}function Lh(e,t,{startOffset:r,endOffset:n},a){const o=qe(t),i=Math.max(0,r===n&&a==="deleteContentBackward"?r-1:r),s=o.substring(0,i),u=Math.min(o.length,r===n&&a==="deleteContentForward"?r+1:n);let l=`${s}${e}${o.substring(u,o.length)}`,c=i+e.length;if(V(t,"input",{type:"time"})){const d=Ph(l);d!==""&&_s(t,d)&&(l=d,c=d.length)}return{oldValue:o,newValue:l,newOffset:c}}function io(e,t,r,n){e.dispatchUIEvent(t,"input",n),Ih(t,r)}function Bh(e){var t,r;const 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]))}He.cut=(e,t,r)=>()=>{ht(t)&&yt(r,t,"","deleteByCut")};function $h(e){return e?nt(e)?e.textContent:qe(e):null}function Fh(e){const t=ve(e);for(let r=e;r?.ownerDocument;r=r.parentElement){const{display:n,visibility:a}=t.getComputedStyle(r);if(n==="none"||a==="hidden")return!1}return!0}function Uh(e,t){const r=e.ownerDocument,n=r.querySelectorAll(ji),a=Array.from(n).filter(u=>u===e||!(Number(u.getAttribute("tabindex"))<0||Ae(u)));Number(e.getAttribute("tabindex"))>=0&&a.sort((u,l)=>{const c=Number(u.getAttribute("tabindex")),d=Number(l.getAttribute("tabindex"));return c===d?0:c===0?1:d===0?-1:c-d});const o={};let i=[r.body];const s=V(e,"input",{type:"radio"})?e.name:void 0;a.forEach(u=>{const l=u;if(V(l,"input",{type:"radio"})&&l.name){if(l===e){i.push(l);return}else if(l.name===s)return;if(l.checked){i=i.filter(c=>!V(c,"input",{type:"radio",name:l.name})),i.push(l),o[l.name]=l;return}if(typeof o[l.name]<"u")return}i.push(l)});for(let u=i.findIndex(l=>l===e);;)if(u+=t?-1:1,u===i.length?u=0:u===-1&&(u=i.length-1),i[u]===e||i[u]===r.body||Fh(i[u]))return i[u]}function so(e,t){if(Pe(e)){const r=$t(e);ot({focusNode:e,focusOffset:r.startOffset===r.endOffset?r.focusOffset+t:t<0?r.startOffset:r.endOffset})}else{const r=e.ownerDocument.getSelection();if(!r?.focusNode)return;if(r.isCollapsed){const n=Ps(r.focusNode,r.focusOffset,t);n&&ot({focusNode:n.node,focusOffset:n.offset})}else r[t<0?"collapseToStart":"collapseToEnd"]()}}function Ts(e){if(Pe(e))return ot({focusNode:e,anchorOffset:0,focusOffset:qe(e).length});var t;const r=(t=jt(e))!==null&&t!==void 0?t:e.ownerDocument.body;ot({focusNode:r,anchorOffset:0,focusOffset:r.childNodes.length})}function zh(e){if(Pe(e))return $t(e).startOffset===0&&$t(e).endOffset===qe(e).length;var t;const r=(t=jt(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 St(e,t,r){var n;if(Pe(e))return ot({focusNode:e,anchorOffset:t,focusOffset:r});if(nt(e)&&((n=e.firstChild)===null||n===void 0?void 0:n.nodeType)===3)return ot({focusNode:e.firstChild,anchorOffset:t,focusOffset:r});throw new Error("Not implemented. The result of this interaction is unreliable.")}function er(e,t,r){const n=ve(t),a=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 o=a.findIndex(i=>i===t)+r;;o+=r){if(a[o]||(o=r>0?0:a.length-1),a[o]===t)return;if(!Ae(a[o])){Ve(a[o]),e.dispatchUIEvent(a[o],"click");return}}}He.keydown=(e,t,r)=>{var n,a;return(a=(n=lo[e.key])===null||n===void 0?void 0:n.call(lo,e,t,r))!==null&&a!==void 0?a:Vh(e,t,r)};var lo={ArrowDown:(e,t,r)=>{if(V(t,"input",{type:"radio"}))return()=>er(r,t,1)},ArrowLeft:(e,t,r)=>V(t,"input",{type:"radio"})?()=>er(r,t,-1):()=>so(t,-1),ArrowRight:(e,t,r)=>V(t,"input",{type:"radio"})?()=>er(r,t,1):()=>so(t,1),ArrowUp:(e,t,r)=>{if(V(t,"input",{type:"radio"}))return()=>er(r,t,-1)},Backspace:(e,t,r)=>{if(ht(t))return()=>{yt(r,t,"","deleteContentBackward")}},Delete:(e,t,r)=>{if(ht(t))return()=>{yt(r,t,"","deleteContentForward")}},End:(e,t)=>{if(V(t,["input","textarea"])||nt(t))return()=>{var r,n;const a=(n=(r=$h(t))===null||r===void 0?void 0:r.length)!==null&&n!==void 0?n:0;St(t,a,a)}},Home:(e,t)=>{if(V(t,["input","textarea"])||nt(t))return()=>{St(t,0,0)}},PageDown:(e,t)=>{if(V(t,["input"]))return()=>{const r=qe(t).length;St(t,r,r)}},PageUp:(e,t)=>{if(V(t,["input"]))return()=>{St(t,0,0)}},Tab:(e,t,r)=>()=>{const n=Uh(t,r.system.keyboard.modifiers.Shift);Ve(n),Pe(n)&&Ct(n,{anchorOffset:0,focusOffset:n.value.length})}},Vh=(e,t,r)=>{if(e.code==="KeyA"&&r.system.keyboard.modifiers.Control)return()=>Ts(t)};He.keypress=(e,t,r)=>{if(e.key==="Enter"){if(V(t,"button")||V(t,"input")&&Hh.includes(t.type)||V(t,"a")&&t.href)return()=>{r.dispatchUIEvent(t,"click")};if(V(t,"input")){const n=t.form,a=n?.querySelector('input[type="submit"], button:not([type]), button[type="submit"]');return a?()=>r.dispatchUIEvent(a,"click"):n&&Wh.includes(t.type)&&n.querySelectorAll("input").length===1?()=>r.dispatchUIEvent(n,"submit"):void 0}}if(ht(t)){const n=e.key==="Enter"?nt(t)&&!r.system.keyboard.modifiers.Shift?"insertParagraph":"insertLineBreak":"insertText",a=e.key==="Enter"?`
309
- `:e.key;return()=>yt(r,t,a,n)}};var Hh=["button","color","file","image","reset","submit"],Wh=["email","month","password","search","tel","text","url","week"];He.keyup=(e,t,r)=>{var n;return(n=uo[e.key])===null||n===void 0?void 0:n.call(uo,e,t,r)};var uo={" ":(e,t,r)=>{if(Li(t))return()=>r.dispatchUIEvent(t,"click")}};He.paste=(e,t,r)=>{if(ht(t))return()=>{var n;const a=(n=e.clipboardData)===null||n===void 0?void 0:n.getData("text");a&&yt(r,t,a,"insertFromPaste")}};var Ss={auxclick:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},beforeinput:{EventType:"InputEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},blur:{EventType:"FocusEvent",defaultInit:{bubbles:!1,cancelable:!1,composed:!0}},click:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},contextmenu:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},copy:{EventType:"ClipboardEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},change:{EventType:"Event",defaultInit:{bubbles:!0,cancelable:!1}},cut:{EventType:"ClipboardEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},dblclick:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},focus:{EventType:"FocusEvent",defaultInit:{bubbles:!1,cancelable:!1,composed:!0}},focusin:{EventType:"FocusEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},focusout:{EventType:"FocusEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},keydown:{EventType:"KeyboardEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},keypress:{EventType:"KeyboardEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},keyup:{EventType:"KeyboardEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},paste:{EventType:"ClipboardEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},input:{EventType:"InputEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},mousedown:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},mouseenter:{EventType:"MouseEvent",defaultInit:{bubbles:!1,cancelable:!1,composed:!0}},mouseleave:{EventType:"MouseEvent",defaultInit:{bubbles:!1,cancelable:!1,composed:!0}},mousemove:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},mouseout:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},mouseover:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},mouseup:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointerover:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointerenter:{EventType:"PointerEvent",defaultInit:{bubbles:!1,cancelable:!1}},pointerdown:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointermove:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointerup:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointercancel:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},pointerout:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointerleave:{EventType:"PointerEvent",defaultInit:{bubbles:!1,cancelable:!1}},submit:{EventType:"Event",defaultInit:{bubbles:!0,cancelable:!0}}};function xs(e){return Ss[e].EventType}var Kh=["MouseEvent","PointerEvent"];function Gh(e){return Kh.includes(xs(e))}function Yh(e){return xs(e)==="KeyboardEvent"}var Xh={ClipboardEvent:[Qh],Event:[],FocusEvent:[Rt,Zh],InputEvent:[Rt,ev],MouseEvent:[Rt,Jr,co],PointerEvent:[Rt,Jr,co,rv],KeyboardEvent:[Rt,Jr,tv]};function Os(e,t,r){const n=ve(t),{EventType:a,defaultInit:o}=Ss[e],i=new(Jh(n))[a](e,o);return Xh[a].forEach(s=>s(i,r??{})),i}function Jh(e){var t;const r=(t=e.Event)!==null&&t!==void 0?t:class{};var n;const a=(n=e.AnimationEvent)!==null&&n!==void 0?n:class extends r{};var o;const i=(o=e.ClipboardEvent)!==null&&o!==void 0?o:class extends r{};var s;const u=(s=e.PopStateEvent)!==null&&s!==void 0?s:class extends r{};var l;const c=(l=e.ProgressEvent)!==null&&l!==void 0?l:class extends r{};var d;const p=(d=e.TransitionEvent)!==null&&d!==void 0?d:class extends r{};var f;const g=(f=e.UIEvent)!==null&&f!==void 0?f:class extends r{};var v;const S=(v=e.CompositionEvent)!==null&&v!==void 0?v:class extends g{};var y;const w=(y=e.FocusEvent)!==null&&y!==void 0?y:class extends g{};var x;const M=(x=e.InputEvent)!==null&&x!==void 0?x:class extends g{};var A;const E=(A=e.KeyboardEvent)!==null&&A!==void 0?A:class extends g{};var m;const _=(m=e.MouseEvent)!==null&&m!==void 0?m:class extends g{};var T;const I=(T=e.DragEvent)!==null&&T!==void 0?T:class extends _{};var D;const B=(D=e.PointerEvent)!==null&&D!==void 0?D:class extends _{};var F;return{Event:r,AnimationEvent:a,ClipboardEvent:i,PopStateEvent:u,ProgressEvent:c,TransitionEvent:p,UIEvent:g,CompositionEvent:S,FocusEvent:w,InputEvent:M,KeyboardEvent:E,MouseEvent:_,DragEvent:I,PointerEvent:B,TouchEvent:(F=e.TouchEvent)!==null&&F!==void 0?F:class extends g{}}}function We(e,t){for(const[r,n]of Object.entries(t))Object.defineProperty(e,r,{get:()=>n??null})}function ee(e){return Number(e??0)}function Qh(e,{clipboardData:t}){We(e,{clipboardData:t})}function Zh(e,{relatedTarget:t}){We(e,{relatedTarget:t})}function ev(e,{data:t,inputType:r,isComposing:n}){We(e,{data:t,isComposing:!!n,inputType:String(r)})}function Rt(e,{view:t,detail:r}){We(e,{view:t,detail:ee(r??0)})}function Jr(e,{altKey:t,ctrlKey:r,metaKey:n,shiftKey:a,modifierAltGraph:o,modifierCapsLock:i,modifierFn:s,modifierFnLock:u,modifierNumLock:l,modifierScrollLock:c,modifierSymbol:d,modifierSymbolLock:p}){We(e,{altKey:!!t,ctrlKey:!!r,metaKey:!!n,shiftKey:!!a,getModifierState(f){return!!{Alt:t,AltGraph:o,CapsLock:i,Control:r,Fn:s,FnLock:u,Meta:n,NumLock:l,ScrollLock:c,Shift:a,Symbol:d,SymbolLock:p}[f]}})}function tv(e,{key:t,code:r,location:n,repeat:a,isComposing:o,charCode:i}){We(e,{key:String(t),code:String(r),location:ee(n),repeat:!!a,isComposing:!!o,charCode:i})}function co(e,{x:t,y:r,screenX:n,screenY:a,clientX:o=t,clientY:i=r,button:s,buttons:u,relatedTarget:l,offsetX:c,offsetY:d,pageX:p,pageY:f}){We(e,{screenX:ee(n),screenY:ee(a),clientX:ee(o),x:ee(o),clientY:ee(i),y:ee(i),button:ee(s),buttons:ee(u),relatedTarget:l,offsetX:ee(c),offsetY:ee(d),pageX:ee(p),pageY:ee(f)})}function rv(e,{pointerId:t,width:r,height:n,pressure:a,tangentialPressure:o,tiltX:i,tiltY:s,twist:u,pointerType:l,isPrimary:c}){We(e,{pointerId:ee(t),width:ee(r??1),height:ee(n??1),pressure:ee(a),tangentialPressure:ee(o),tiltX:ee(i),tiltY:ee(s),twist:ee(u),pointerType:String(l),isPrimary:!!c})}function nv(e,t,r,n=!1){(Gh(t)||Yh(t))&&(r={...r,...this.system.getUIEventModifiers()});const a=Os(t,e,r);return Ms.call(this,e,a,n)}function Ms(e,t,r=!1){var n;const a=t.type,o=r?()=>{}:(n=He[a])===null||n===void 0?void 0:n.call(He,t,e,this);if(o){t.preventDefault();let i=!1;return Object.defineProperty(t,"defaultPrevented",{get:()=>i}),Object.defineProperty(t,"preventDefault",{value:()=>{i=t.cancelable}}),vt(()=>e.dispatchEvent(t)),i||o(),!i}return vt(()=>e.dispatchEvent(t))}function Qe(e,t,r){const n=Os(t,e,r);vt(()=>e.dispatchEvent(n))}var fo=Symbol("patched focus/blur methods");function As(e){if(e.prototype[fo])return;const{focus:t,blur:r}=e.prototype;Object.defineProperties(e.prototype,{focus:{configurable:!0,get:()=>a},blur:{configurable:!0,get:()=>o},[fo]:{configurable:!0,get:()=>({focus:t,blur:r})}});let n;function a(i){if(this.ownerDocument.visibilityState!=="hidden")return t.call(this,i);const s=po(this.ownerDocument);if(s===this)return;const u=Symbol("focus call");n=u,s&&(r.call(s),Qe(s,"blur",{relatedTarget:this}),Qe(s,"focusout",{relatedTarget:n===u?this:null})),n===u&&(t.call(this,i),Qe(this,"focus",{relatedTarget:s})),n===u&&Qe(this,"focusin",{relatedTarget:s})}function o(){if(this.ownerDocument.visibilityState!=="hidden")return r.call(this);const i=po(this.ownerDocument);i===this&&(n=Symbol("blur call"),r.call(this),Qe(i,"blur",{relatedTarget:null}),Qe(i,"focusout",{relatedTarget:null}))}}function po(e){const t=Kt(e);return t?.tagName==="BODY"?null:t}var Qr=Symbol("Interceptor for programmatical calls");function ct(e,t,r){const n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),a=Object.getOwnPropertyDescriptor(e,t),o=n?.set?"set":"value";if(typeof n?.[o]!="function"||n[o][Qr])throw new Error(`Element ${e.tagName} does not implement "${String(t)}".`);function i(...s){const{applyNative:u=!1,realArgs:l,then:c}=r.call(this,...s),d=(!u&&a||n)[o];o==="set"?d.call(this,l):d.call(this,...l),c?.()}i[Qr]=Qr,Object.defineProperty(e,t,{...a??n,[o]:i})}function av(e){ct(e,"value",function(r){const n=gh(r);return n&&Mh(this),{applyNative:!!n,realArgs:ov(this,r),then:n?void 0:()=>Ah(this,String(r))}})}function ov(e,t){return V(e,"input",{type:"number"})&&String(t)!==""&&!Number.isNaN(Number(t))?String(Number(t)):String(t)}function iv(e){ct(e,"setSelectionRange",function(r,...n){const a=yh(r);return{applyNative:!!a,realArgs:[Number(r),...n],then:()=>a?void 0:ar(e)}}),ct(e,"selectionStart",function(r){return{realArgs:r,then:()=>ar(e)}}),ct(e,"selectionEnd",function(r){return{realArgs:r,then:()=>ar(e)}}),ct(e,"select",function(){return{realArgs:[],then:()=>_h(e,{anchorOffset:0,focusOffset:qe(e).length})}})}function sv(e){ct(e,"setRangeText",function(...r){return{realArgs:r,then:()=>{Oa(e),ar(e)}}})}var ft=Symbol("Node prepared with document state workarounds");function Is(e){e[ft]||(e.addEventListener("focus",t=>{const r=t.target;mo(r)},{capture:!0,passive:!0}),e.activeElement&&mo(e.activeElement),e.addEventListener("blur",t=>{const r=t.target,n=Eh(r);n!==void 0&&(r.value!==n&&Qe(r,"change"),Es(r))},{capture:!0,passive:!0}),e[ft]=ft)}function mo(e){e[ft]||(V(e,["input","textarea"])&&(av(e),iv(e),sv(e)),e[ft]=ft)}function lv(e){return uv(e)?e:e.ownerDocument}function uv(e){return e.nodeType===9}var pe=(function(e){return e[e.Trigger=2]="Trigger",e[e.Call=1]="Call",e})({});function xt(e,t){e.levelRefs[t]={}}function tr(e,t){return e.levelRefs[t]}function wt(e){const t=e.delay;if(typeof t=="number")return Promise.all([new Promise(r=>globalThis.setTimeout(()=>r(),t)),e.advanceTimers(t)])}var ir=(function(e){return e[e.EachTrigger=4]="EachTrigger",e[e.EachApiCall=2]="EachApiCall",e[e.EachTarget=1]="EachTarget",e[e.Never=0]="Never",e})({});function Xe(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var Ee=(function(e){return e[e.STANDARD=0]="STANDARD",e[e.LEFT=1]="LEFT",e[e.RIGHT=2]="RIGHT",e[e.NUMPAD=3]="NUMPAD",e})({}),cv=["Alt","AltGraph","Control","Fn","Meta","Shift","Symbol"];function bo(e){return cv.includes(e)}var dv=["CapsLock","FnLock","NumLock","ScrollLock","SymbolLock"];function ho(e){return dv.includes(e)}var fv=class{isKeyPressed(e){return this.pressed.has(String(e.code))}getPressedKeys(){return this.pressed.values().map(e=>e.keyDef)}async keydown(e,t){const r=String(t.key),n=String(t.code),a=Kr(e.config.document);this.setKeydownTarget(a),this.pressed.add(n,t),bo(r)&&(this.modifiers[r]=!0);const o=e.dispatchUIEvent(a,"keydown",{key:r,code:n});ho(r)&&!this.modifiers[r]&&(this.modifiers[r]=!0,this.modifierLockStart[r]=!0),o&&this.pressed.setUnprevented(n),o&&this.hasKeyPress(r)&&e.dispatchUIEvent(Kr(e.config.document),"keypress",{key:r,code:n,charCode:t.key==="Enter"?13:String(t.key).charCodeAt(0)})}async keyup(e,t){const r=String(t.key),n=String(t.code),a=this.pressed.isUnprevented(n);this.pressed.delete(n),bo(r)&&!this.pressed.values().find(o=>o.keyDef.key===r)&&(this.modifiers[r]=!1),e.dispatchUIEvent(Kr(e.config.document),"keyup",{key:r,code:n},!a),ho(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){Xe(this,"system",void 0),Xe(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}),Xe(this,"pressed",new class{add(t,r){var n,a,o;(o=(n=this.registry)[a=t])!==null&&o!==void 0||(n[a]={keyDef:r,unpreventedDefault:!1})}has(t){return!!this.registry[t]}setUnprevented(t){const r=this.registry[t];r&&(r.unpreventedDefault=!0)}isUnprevented(t){var r;return!!(!((r=this.registry[t])===null||r===void 0)&&r.unpreventedDefault)}delete(t){delete this.registry[t]}values(){return Object.values(this.registry)}constructor(){Xe(this,"registry",{})}}),Xe(this,"carryChar",""),Xe(this,"lastKeydownTarget",void 0),Xe(this,"modifierLockStart",{}),this.system=e}},pv=[..."0123456789".split("").map(e=>({code:`Digit${e}`,key:e})),...")!@#$%^&*(".split("").map((e,t)=>({code:`Digit${t}`,key:e,shiftKey:!0})),..."abcdefghijklmnopqrstuvwxyz".split("").map(e=>({code:`Key${e.toUpperCase()}`,key:e})),..."ABCDEFGHIJKLMNOPQRSTUVWXYZ".split("").map(e=>({code:`Key${e}`,key:e,shiftKey:!0})),{code:"BracketLeft",key:"["},{code:"BracketLeft",key:"{",shiftKey:!0},{code:"BracketRight",key:"]"},{code:"BracketRight",key:"}",shiftKey:!0},{code:"Space",key:" "},{code:"AltLeft",key:"Alt",location:Ee.LEFT},{code:"AltRight",key:"Alt",location:Ee.RIGHT},{code:"ShiftLeft",key:"Shift",location:Ee.LEFT},{code:"ShiftRight",key:"Shift",location:Ee.RIGHT},{code:"ControlLeft",key:"Control",location:Ee.LEFT},{code:"ControlRight",key:"Control",location:Ee.RIGHT},{code:"MetaLeft",key:"Meta",location:Ee.LEFT},{code:"MetaRight",key:"Meta",location:Ee.RIGHT},{code:"OSLeft",key:"OS",location:Ee.LEFT},{code:"OSRight",key:"OS",location:Ee.RIGHT},{code:"ContextMenu",key:"ContextMenu"},{code:"Tab",key:"Tab"},{code:"CapsLock",key:"CapsLock"},{code:"Backspace",key:"Backspace"},{code:"Enter",key:"Enter"},{code:"Escape",key:"Escape"},{code:"ArrowUp",key:"ArrowUp"},{code:"ArrowDown",key:"ArrowDown"},{code:"ArrowLeft",key:"ArrowLeft"},{code:"ArrowRight",key:"ArrowRight"},{code:"Home",key:"Home"},{code:"End",key:"End"},{code:"Delete",key:"Delete"},{code:"PageUp",key:"PageUp"},{code:"PageDown",key:"PageDown"},{code:"Fn",key:"Fn"},{code:"Symbol",key:"Symbol"},{code:"AltRight",key:"AltGraph"}],mv=[{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 bv(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var Ns=class{getButtons(){let e=0;for(const t of Object.keys(this.pressed))e|=2**Number(t);return e}down(e){const t=xn(e.button);if(t in this.pressed){this.pressed[t].push(e);return}return this.pressed[t]=[e],t}up(e){const t=xn(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(){bv(this,"pressed",{})}},vo={primary:0,secondary:1,auxiliary:2,back:3,X1:3,forward:4,X2:4};function xn(e=0){return e in vo?vo[e]:Number(e)}var go={1:2,2:1};function On(e){return e=xn(e),e in go?go[e]:e}function hv(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var vv=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(){hv(this,"pressedKeys",new Set)}};function Nt(e,t){const r=[];for(let o=e;o;o=o.parentElement)r.push(o);const n=[];for(let o=t;o;o=o.parentElement)n.push(o);let a=0;for(;!(a>=r.length||a>=n.length||r[r.length-1-a]!==n[n.length-1-a]);a++);return[r.slice(0,r.length-a),n.slice(0,n.length-a),n.slice(n.length-a)]}function Mn({target:e,node:t,offset:r}){return Pe(e)?{node:e,offset:r??qe(e).length}:t?{node:t,offset:r??(t.nodeType===3?t.nodeValue.length:t.childNodes.length)}:ks(e,r)}function ks(e,t,r=!0){let n=t===void 0?e.childNodes.length-1:0;const a=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.");const o=e.childNodes.item(n),i=String(o.textContent);if(i.length)if(t!==void 0&&i.length<t)t-=i.length;else{if(o.nodeType===1)return ks(o,t,!1);if(o.nodeType===3)return{node:o,offset:t??o.nodeValue.length}}n+=a}return{node:e,offset:e.childNodes.length}}function gv({document:e,target:t,clickCount:r,node:n,offset:a}){if(hc(t))return;const o=Pe(t),i=String(o?qe(t):t.textContent),[s,u]=n?[a,a]:yv(i,a,r);if(o)return Ct(t,{anchorOffset:s??i.length,focusOffset:u??i.length}),{node:t,start:s??0,end:u??i.length};{const{node:l,offset:c}=Mn({target:t,node:n,offset:s}),{node:d,offset:p}=Mn({target:t,node:n,offset:u}),f=t.ownerDocument.createRange();try{f.setStart(l,c),f.setEnd(d,p)}catch{throw new Error("The given offset is out of bounds.")}const g=e.getSelection();return g?.removeAllRanges(),g?.addRange(f.cloneRange()),f}}function yv(e,t,r){if(r%3===1||e.length===0)return[t,t];const 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 wv(e,{document:t,target:r,node:n,offset:a}){const o=Mn({target:r,node:n,offset:a});if("node"in e){if(o.node===e.node){const i=o.offset<e.start?e.end:e.start,s=o.offset>e.end||o.offset<e.start?o.offset:e.end;Ct(e.node,{anchorOffset:i,focusOffset:s})}}else{const i=e.cloneRange(),s=i.comparePoint(o.node,o.offset);s<0?i.setStart(o.node,o.offset):s>0&&i.setEnd(o.node,o.offset);const u=t.getSelection();u?.removeAllRanges(),u?.addRange(i.cloneRange())}}function js(e,t){var r,n,a,o,i,s,u,l,c,d,p,f,g,v,S,y,w,x,M,A,E,m,_,T;return e.target!==t.target||((r=e.coords)===null||r===void 0?void 0:r.x)!==((n=t.coords)===null||n===void 0?void 0:n.x)||((a=e.coords)===null||a===void 0?void 0:a.y)!==((o=t.coords)===null||o===void 0?void 0:o.y)||((i=e.coords)===null||i===void 0?void 0:i.clientX)!==((s=t.coords)===null||s===void 0?void 0:s.clientX)||((u=e.coords)===null||u===void 0?void 0:u.clientY)!==((l=t.coords)===null||l===void 0?void 0:l.clientY)||((c=e.coords)===null||c===void 0?void 0:c.offsetX)!==((d=t.coords)===null||d===void 0?void 0:d.offsetX)||((p=e.coords)===null||p===void 0?void 0:p.offsetY)!==((f=t.coords)===null||f===void 0?void 0:f.offsetY)||((g=e.coords)===null||g===void 0?void 0:g.pageX)!==((v=t.coords)===null||v===void 0?void 0:v.pageX)||((S=e.coords)===null||S===void 0?void 0:S.pageY)!==((y=t.coords)===null||y===void 0?void 0:y.pageY)||((w=e.coords)===null||w===void 0?void 0:w.screenX)!==((x=t.coords)===null||x===void 0?void 0:x.screenX)||((M=e.coords)===null||M===void 0?void 0:M.screenY)!==((A=t.coords)===null||A===void 0?void 0:A.screenY)||((E=e.caret)===null||E===void 0?void 0:E.node)!==((m=t.caret)===null||m===void 0?void 0:m.node)||((_=e.caret)===null||_===void 0?void 0:_.offset)!==((T=t.caret)===null||T===void 0?void 0:T.offset)}function Je(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var Ev=class{move(e,t,r){const n=this.position,a=this.getTarget(e);if(this.position=t,!js(n,t))return;const o=this.getTarget(e),i=this.getEventInit("mousemove"),[s,u]=Nt(a,o);return{leave:()=>{a!==o&&(e.dispatchUIEvent(a,"mouseout",i),s.forEach(l=>e.dispatchUIEvent(l,"mouseleave",i)))},enter:()=>{a!==o&&(e.dispatchUIEvent(o,"mouseover",i),u.forEach(l=>e.dispatchUIEvent(l,"mouseenter",i)))},move:()=>{r||(e.dispatchUIEvent(o,"mousemove",i),this.modifySelecting(e))}}}down(e,t,r){const n=this.buttons.down(t);if(n===void 0)return;const a=this.getTarget(e);this.buttonDownTarget[n]=a;const o=this.getEventInit("mousedown",t.button),i=Ae(a);!r&&(i||e.dispatchUIEvent(a,"mousedown",o))&&(this.startSelecting(e,o.detail),Ve(a)),!i&&On(t.button)===2&&e.dispatchUIEvent(a,"contextmenu",this.getEventInit("contextmenu",t.button))}up(e,t,r){const n=this.buttons.up(t);if(n===void 0)return;const a=this.getTarget(e);if(!Ae(a)){if(!r){const i=this.getEventInit("mouseup",t.button);e.dispatchUIEvent(a,"mouseup",i),this.endSelecting()}const o=Nt(this.buttonDownTarget[n],a)[2][0];if(o){const i=this.getEventInit("click",t.button);i.detail&&(e.dispatchUIEvent(o,i.button===0?"click":"auxclick",i),i.button===0&&i.detail===2&&e.dispatchUIEvent(o,"dblclick",{...this.getEventInit("dblclick",t.button),detail:i.detail}))}}}resetClickCount(){this.clickCount.reset()}getEventInit(e,t){const r={...this.position.coords};return r.button=On(t),r.buttons=this.buttons.getButtons(),e==="mousedown"?r.detail=this.clickCount.getOnDown(r.button):e==="mouseup"?r.detail=this.clickCount.getOnUp(r.button):(e==="click"||e==="auxclick")&&(r.detail=this.clickCount.incOnClick(r.button)),r}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=gv({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&&wv(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(){Je(this,"position",{}),Je(this,"buttons",new Ns),Je(this,"selecting",void 0),Je(this,"buttonDownTarget",{}),Je(this,"clickCount",new class{incOnClick(e){const 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(){Je(this,"down",{}),Je(this,"count",{})}})}};function qr(e,t){var r;return((r=Ds(e,t))===null||r===void 0?void 0:r.pointerEvents)!=="none"}function _v(e){const t=ve(e);for(let r=e,n=[];r?.ownerDocument;r=r.parentElement){n.push(r);const a=t.getComputedStyle(r).pointerEvents;if(a&&!["inherit","unset"].includes(a))return{pointerEvents:a,tree:n}}}var yo=Symbol("Last check for pointer-events");function Ds(e,t){const r=t[yo];if(!(e.config.pointerEventsCheck!==ir.Never&&(!r||wo(e.config.pointerEventsCheck,ir.EachApiCall)&&r[pe.Call]!==tr(e,pe.Call)||wo(e.config.pointerEventsCheck,ir.EachTrigger)&&r[pe.Trigger]!==tr(e,pe.Trigger))))return r?.result;const n=_v(t);return t[yo]={[pe.Call]:tr(e,pe.Call),[pe.Trigger]:tr(e,pe.Trigger),result:n},n}function Ot(e,t){const r=Ds(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\`:`,"",Cv(r.tree)].join(`
310
- `))}function Cv(e){return e.reverse().map((t,r)=>["".padEnd(r),t.tagName,t.id&&`#${t.id}`,t.hasAttribute("data-testid")&&`(testId=${t.getAttribute("data-testid")})`,Pv(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(`
311
- `)}function Pv(e){var t;let r;if(e.hasAttribute("aria-label"))r=e.getAttribute("aria-label");else if(e.hasAttribute("aria-labelledby")){var n,a;r=(a=e.ownerDocument.getElementById(e.getAttribute("aria-labelledby")))===null||a===void 0||(n=a.textContent)===null||n===void 0?void 0:n.trim()}else if(V(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 s;return(s=i.textContent)===null||s===void 0?void 0:s.trim()}).join("|");else if(V(e,"button")){var o;r=(o=e.textContent)===null||o===void 0?void 0:o.trim()}return r=r?.replace(/\n/g," "),Number(r?.length)>30&&(r=`${r?.substring(0,29)}…`),r?`(label=${r})`:""}function wo(e,t){return(e&t)>0}function Te(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var qv=class{init(e){const t=this.getTarget(e),[,r]=Nt(null,t),n=this.getEventInit();return Ot(e,t),e.dispatchUIEvent(t,"pointerover",n),r.forEach(a=>e.dispatchUIEvent(a,"pointerenter",n)),this}move(e,t){const r=this.position,n=this.getTarget(e);if(this.position=t,!js(r,t))return;const a=this.getTarget(e),o=this.getEventInit(-1),[i,s]=Nt(n,a);return{leave:()=>{qr(e,n)&&n!==a&&(e.dispatchUIEvent(n,"pointerout",o),i.forEach(u=>e.dispatchUIEvent(u,"pointerleave",o)))},enter:()=>{Ot(e,a),n!==a&&(e.dispatchUIEvent(a,"pointerover",o),s.forEach(u=>e.dispatchUIEvent(u,"pointerenter",o)))},move:()=>{e.dispatchUIEvent(a,"pointermove",o)}}}down(e,t=0){if(this.isDown)return;const r=this.getTarget(e);Ot(e,r),this.isDown=!0,this.isPrevented=!e.dispatchUIEvent(r,"pointerdown",this.getEventInit(t))}up(e,t=0){if(!this.isDown)return;const r=this.getTarget(e);Ot(e,r),this.isPrevented=!1,this.isDown=!1,e.dispatchUIEvent(r,"pointerup",this.getEventInit(t))}release(e){const t=this.getTarget(e),[r]=Nt(t,null),n=this.getEventInit();qr(e,t)&&(e.dispatchUIEvent(t,"pointerout",n),r.forEach(a=>e.dispatchUIEvent(a,"pointerleave",n))),this.isCancelled=!0}getTarget(e){var t;return(t=this.position.target)!==null&&t!==void 0?t:e.config.document.body}getEventInit(e){return{...this.position.coords,pointerId:this.pointerId,pointerType:this.pointerType,isPrimary:this.isPrimary,button:On(e),buttons:this.buttons.getButtons()}}constructor({pointerId:e,pointerType:t,isPrimary:r},n){Te(this,"pointerId",void 0),Te(this,"pointerType",void 0),Te(this,"isPrimary",void 0),Te(this,"buttons",void 0),Te(this,"isMultitouch",!1),Te(this,"isCancelled",!1),Te(this,"isDown",!1),Te(this,"isPrevented",!1),Te(this,"position",{}),this.pointerId=e,this.pointerType=t,this.isPrimary=r,this.isMultitouch=!r,this.buttons=n}};function $e(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var Rv=class{isKeyPressed(e){return this.devices.get(e.pointerType).isPressed(e)}async press(e,t,r){this.devices.get(t.pointerType).addPressed(t),this.buttons.down(t);const n=this.getPointerName(t),a=t.pointerType==="touch"?this.pointers.new(n,t.pointerType,this.buttons):this.pointers.get(n);a.position=r,a.pointerType!=="touch"&&(this.mouse.position=r),a.pointerType==="touch"&&a.init(e),a.down(e,t.button),a.pointerType!=="touch"&&this.mouse.down(e,t,a.isPrevented)}async move(e,t,r){const n=this.pointers.get(t),a=n.move(e,r),o=n.pointerType==="touch"?void 0:this.mouse.move(e,r,n.isPrevented);a?.leave(),o?.leave(),a?.enter(),o?.enter(),a?.move(),o?.move()}async release(e,t,r){const n=this.devices.get(t.pointerType);n.removePressed(t),this.buttons.up(t);const a=this.pointers.get(this.getPointerName(t)),o=a.isPrevented;if(a.position=r,a.pointerType!=="touch"&&(this.mouse.position=r),n.countPressed===0&&a.up(e,t.button),a.pointerType==="touch"&&a.release(e),a.pointerType==="touch"&&!a.isMultitouch){const i=this.mouse.move(e,r,o);i?.leave(),i?.enter(),i?.move(),this.mouse.down(e,t,o)}if(!a.isMultitouch){const i=this.mouse.move(e,r,o);i?.leave(),i?.enter(),i?.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){$e(this,"system",void 0),$e(this,"mouse",void 0),$e(this,"buttons",void 0),$e(this,"devices",new class{get(t){var r,n,a;return(a=(r=this.registry)[n=t])!==null&&a!==void 0?a:r[n]=new vv}constructor(){$e(this,"registry",{})}}),$e(this,"pointers",new class{new(t,r,n){const a=r!=="touch"||!Object.values(this.registry).some(o=>o.pointerType==="touch"&&!o.isCancelled);return a||Object.values(this.registry).forEach(o=>{o.pointerType===r&&!o.isCancelled&&(o.isMultitouch=!0)}),this.registry[t]=new qv({pointerId:this.nextId++,pointerType:r,isPrimary:a},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(){$e(this,"registry",{}),$e(this,"nextId",1)}}),this.system=e,this.buttons=new Ns,this.mouse=new Ev,this.pointers.new("mouse","mouse",this.buttons)}};function Eo(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var Ls=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(){Eo(this,"keyboard",new fv(this)),Eo(this,"pointer",new Rv(this))}};async function Tv(e){const t=[];return this.config.skipHover||t.push({target:e}),t.push({keys:"[MouseLeft]",target:e}),this.pointer(t)}async function Sv(e){return this.pointer([{target:e},"[MouseLeft][MouseLeft]"])}async function xv(e){return this.pointer([{target:e},"[MouseLeft][MouseLeft][MouseLeft]"])}async function Ov(e){return this.pointer({target:e})}async function Mv(e){return Ot(this,this.system.pointer.getMouseTarget(this)),this.pointer({target:e.ownerDocument.body})}async function Av({shift:e}={}){return this.keyboard(e===!0?"{Shift>}{Tab}{/Shift}":e===!1?"[/ShiftLeft][/ShiftRight]{Tab}":"{Tab}")}var Aa=(function(e){return e["{"]="}",e["["]="]",e})(Aa||{});function Bs(e,t){let r=0;const n=e[r]in Aa?e[r]:"";r+=n.length;const a=new RegExp(`^\\${n}{2}`).test(e)?"":n;return{type:a,...a===""?Iv(e,r,t):Nv(e,r,a,t)}}function Iv(e,t,r){const n=e[t];return $s(n,e,t,r),t+=n.length,{consumedLength:t,descriptor:n,releasePrevious:!1,releaseSelf:!0,repeat:1}}function Nv(e,t,r,n){var a,o;const i=e[t]==="/"?"/":"";t+=i.length;const s=r==="{"&&e[t]==="\\";t+=Number(s);const u=s?e[t]:(a=e.slice(t).match(r==="{"?/^\w+|^[^}>/]/:/^\w+/))===null||a===void 0?void 0:a[0];$s(u,e,t,n),t+=u.length;var l;const c=(l=(o=e.slice(t).match(/^>\d+/))===null||o===void 0?void 0:o[0])!==null&&l!==void 0?l:"";t+=c.length;const d=e[t]==="/"||!c&&e[t]===">"?e[t]:"";t+=d.length;const p=Aa[r],f=e[t]===p?p:"";if(!f)throw new Error(Fs([!c&&"repeat modifier",!d&&"release modifier",`"${p}"`].filter(Boolean).join(" or "),e[t],e,n));return t+=f.length,{consumedLength:t,descriptor:u,releasePrevious:!!i,repeat:c?Math.max(Number(c.substr(1)),1):1,releaseSelf:kv(d,c)}}function $s(e,t,r,n){if(!e)throw new Error(Fs("key descriptor",t[r],t,n))}function kv(e,t){if(e)return e==="/";if(t)return!1}function Fs(e,t,r,n){return`Expected ${e} but found "${t??""}" in "${r}"
309
+ `+t),t},no={debug:hh,logTestingPlaygroundURL:vh},Ur=typeof document<"u"&&document.body?ws(document.body,Sn,no):Object.keys(Sn).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),no);function vt(e,t){return G().eventWrapper(e)}function Ve(e){const t=bc(e,wa),r=Kt(e.ownerDocument);(t??e.ownerDocument.body)!==r&&(vt(t?()=>t.focus():()=>r?.blur()),gc(t??e.ownerDocument.body))}function gh(e){wa(e)&&Kt(e.ownerDocument)===e&&vt(()=>e.blur())}var He={};He.click=(e,t,r)=>{const n=t.closest("button,input,label,select,textarea"),a=n&&V(n,"label")&&n.control;if(a&&a!==t)return()=>{wa(a)&&(Ve(a),r.dispatchEvent(a,mc(e)))};if(V(t,"input",{type:"file"}))return()=>{gh(t),t.dispatchEvent(new(ve(t)).Event("fileDialog")),Ve(t)}};var gt=Symbol("Displayed value in UI"),xe=Symbol("Displayed selection in UI"),Cr=Symbol("Initial value to compare on blur");function yh(e){return typeof e=="object"&&gt in e}function wh(e){return!!e&&typeof e=="object"&&xe in e}function Eh(e,t){e[Cr]===void 0&&(e[Cr]=e.value),e[gt]=t,e.value=Object.assign(new String(t),{[gt]:!0})}function qe(e){return e[gt]===void 0?e.value:String(e[gt])}function Oa(e){e[gt]=void 0}function Es(e){e[Cr]=void 0}function _h(e){return e[Cr]}function Ch(e,t){e[xe]=t}function Ct(e,{focusOffset:t,anchorOffset:r=t},n="replace"){const a=qe(e).length,o=d=>Math.max(0,Math.min(a,d)),i=n==="replace"||e[xe]===void 0?o(r):e[xe].anchorOffset,s=o(t),u=Math.min(i,s),l=Math.max(i,s);if(e[xe]={anchorOffset:i,focusOffset:s},e.selectionStart===u&&e.selectionEnd===l)return;const c=Object.assign(new Number(u),{[xe]:!0});try{e.setSelectionRange(c,l)}catch{}}function $t(e){var t,r,n;const a=(n=e[xe])!==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{...a,startOffset:Math.min(a.anchorOffset,a.focusOffset),endOffset:Math.max(a.anchorOffset,a.focusOffset)}}function Ph(e){return!!e[xe]}function ar(e){e[xe]=void 0}var Pr=globalThis.parseInt;function qh(e){const t=e.replace(/\D/g,"");if(t.length<2)return e;const r=Pr(t[0],10),n=Pr(t[1],10);if(r>=3||r===2&&n>=4){let a;return r>=3?a=1:a=2,ao(t,a)}return e.length===2?e:ao(t,2)}function ao(e,t){const r=e.slice(0,t),n=Math.min(Pr(r,10),23),a=Pr(e.slice(t),10),o=Math.min(a,59);return`${n.toString().padStart(2,"0")}:${o.toString().padStart(2,"0")}`}function _s(e,t){const r=e.cloneNode();return r.value=t,r.value===t}var Cs=(function(e){return e.email="email",e.password="password",e.search="search",e.telephone="telephone",e.text="text",e.url="url",e})(Cs||{});function Rh(e){var t;const r=(t=e.getAttribute("maxlength"))!==null&&t!==void 0?t:"";return/^\d+$/.test(r)&&Number(r)>=0?Number(r):void 0}function Th(e){return V(e,"textarea")||V(e,"input")&&e.type in Cs}function Ps(e,t,r,n){if(or(e)&&t+r>=0&&t+r<=e.nodeValue.length)return{node:e,offset:t+r};const a=oo(e,t,r);if(a){if(or(a))return{node:a,offset:r>0?Math.min(1,a.nodeValue.length):Math.max(a.nodeValue.length-1,0)};if(V(a,"br")){const o=oo(a,void 0,r);return o?or(o)?{node:o,offset:r>0?0:o.nodeValue.length}:r<0&&V(o,"br")?{node:a.parentNode,offset:Zt(a)}:{node:o.parentNode,offset:Zt(o)+(r>0?0:1)}:r<0&&n==="deleteContentBackward"?{node:a.parentNode,offset:Zt(a)}:void 0}else return{node:a.parentNode,offset:Zt(a)+(r>0?1:0)}}}function oo(e,t,r){const n=Number(t)+(r<0?-1:0);return t!==void 0&&Ma(e)&&n>=0&&n<e.children.length&&(e=e.children[n]),xh(e,r===1?"next":"previous",Sh)}function Sh(e){if(or(e))return!0;if(Ma(e)){if(V(e,["input","textarea"]))return e.type!=="hidden";if(V(e,"br"))return!0}return!1}function Zt(e){let t=0;for(;e.previousSibling;)t++,e=e.previousSibling;return t}function Ma(e){return e.nodeType===1}function or(e){return e.nodeType===3}function xh(e,t,r){for(;;){var n;const a=e[`${t}Sibling`];if(a){if(e=Oh(a,t==="next"?"first":"last"),r(e))return e}else if(e.parentNode&&(!Ma(e.parentNode)||!nt(e.parentNode)&&e.parentNode!==((n=e.ownerDocument)===null||n===void 0?void 0:n.body)))e=e.parentNode;else break}}function Oh(e,t){for(;e.hasChildNodes();)e=e[`${t}Child`];return e}var Ft=Symbol("Track programmatic changes for React workaround");function Mh(e){return Object.getOwnPropertyNames(e).some(t=>t.startsWith("__react"))&&ve(e).REACT_VERSION===17}function Ah(e){Mh(e)&&(e[Ft]={previousValue:String(e.value),tracked:[]})}function Ih(e,t){var r,n;(n=e[Ft])===null||n===void 0||(r=n.tracked)==null||r.push(t),e[Ft]||(Oa(e),Ct(e,{focusOffset:t.length}))}function Nh(e,t){var r;const n=e[Ft];if(e[Ft]=void 0,!(!(n==null||(r=n.tracked)===null||r===void 0)&&r.length))return;const a=n.tracked.length===2&&n.tracked[0]===n.previousValue&&n.tracked[1]===e.value;a||Oa(e),Ph(e)&&Ct(e,{focusOffset:a?t:e.value.length})}function qs(e){const t=kh(e);if(t&&Pe(t))return{type:"input",selection:$t(t)};const r=t?.ownerDocument.getSelection();return{type:jt(e)&&r?.anchorNode&&jt(r.anchorNode)?"contenteditable":"default",selection:r}}function kh(e){return e.nodeType===1?e:e.parentElement}function jh(e){const t=qs(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 ot({focusNode:e,focusOffset:t,anchorNode:r=e,anchorOffset:n=t}){var a,o;if(qs(e).type==="input")return Ct(e,{anchorOffset:n,focusOffset:t});(o=r.ownerDocument)===null||o===void 0||(a=o.getSelection())==null||a.setBaseAndExtent(r,n,e,t)}function Rs(e){return V(e,"input")&&["date","time"].includes(e.type)}function yt(e,t,r,n="insertText"){const a=jh(t);a&&(!Rs(t)&&!e.dispatchUIEvent(t,"beforeinput",{inputType:n,data:r})||("startContainer"in a?Dh(e,t,a,r,n):Lh(e,t,a,r,n)))}function Dh(e,t,r,n,a){let o=!1;if(!r.collapsed)o=!0,r.deleteContents();else if(["deleteContentBackward","deleteContentForward"].includes(a)){const i=Ps(r.startContainer,r.startOffset,a==="deleteContentBackward"?-1:1,a);if(i){o=!0;const s=r.cloneRange();s.comparePoint(i.node,i.offset)<0?s.setStart(i.node,i.offset):s.setEnd(i.node,i.offset),s.deleteContents()}}if(n)if(r.endContainer.nodeType===3){const i=r.endOffset;r.endContainer.insertData(i,n),r.setStart(r.endContainer,i+n.length),r.setEnd(r.endContainer,i+n.length)}else{const i=t.ownerDocument.createTextNode(n);r.insertNode(i),r.setStart(i,n.length),r.setEnd(i,n.length)}(o||n)&&e.dispatchUIEvent(t,"input",{inputType:a})}function Lh(e,t,r,n,a){let o=n;if(Th(t)){const l=Rh(t);if(l!==void 0&&n.length>0){const c=l-t.value.length;if(c>0)o=n.substring(0,c);else return}}const{newValue:i,newOffset:s,oldValue:u}=Bh(o,t,r,a);i===u&&s===r.startOffset&&s===r.endOffset||V(t,"input",{type:"number"})&&!$h(i)||(Eh(t,i),ot({focusNode:t,anchorOffset:s,focusOffset:s}),Rs(t)?_s(t,i)&&(io(e,t,s,{}),e.dispatchUIEvent(t,"change"),Es(t)):io(e,t,s,{data:n,inputType:a}))}function Bh(e,t,{startOffset:r,endOffset:n},a){const o=qe(t),i=Math.max(0,r===n&&a==="deleteContentBackward"?r-1:r),s=o.substring(0,i),u=Math.min(o.length,r===n&&a==="deleteContentForward"?r+1:n);let l=`${s}${e}${o.substring(u,o.length)}`,c=i+e.length;if(V(t,"input",{type:"time"})){const d=qh(l);d!==""&&_s(t,d)&&(l=d,c=d.length)}return{oldValue:o,newValue:l,newOffset:c}}function io(e,t,r,n){e.dispatchUIEvent(t,"input",n),Nh(t,r)}function $h(e){var t,r;const 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]))}He.cut=(e,t,r)=>()=>{ht(t)&&yt(r,t,"","deleteByCut")};function Fh(e){return e?nt(e)?e.textContent:qe(e):null}function Uh(e){const t=ve(e);for(let r=e;r?.ownerDocument;r=r.parentElement){const{display:n,visibility:a}=t.getComputedStyle(r);if(n==="none"||a==="hidden")return!1}return!0}function zh(e,t){const r=e.ownerDocument,n=r.querySelectorAll(ji),a=Array.from(n).filter(u=>u===e||!(Number(u.getAttribute("tabindex"))<0||Ae(u)));Number(e.getAttribute("tabindex"))>=0&&a.sort((u,l)=>{const c=Number(u.getAttribute("tabindex")),d=Number(l.getAttribute("tabindex"));return c===d?0:c===0?1:d===0?-1:c-d});const o={};let i=[r.body];const s=V(e,"input",{type:"radio"})?e.name:void 0;a.forEach(u=>{const l=u;if(V(l,"input",{type:"radio"})&&l.name){if(l===e){i.push(l);return}else if(l.name===s)return;if(l.checked){i=i.filter(c=>!V(c,"input",{type:"radio",name:l.name})),i.push(l),o[l.name]=l;return}if(typeof o[l.name]<"u")return}i.push(l)});for(let u=i.findIndex(l=>l===e);;)if(u+=t?-1:1,u===i.length?u=0:u===-1&&(u=i.length-1),i[u]===e||i[u]===r.body||Uh(i[u]))return i[u]}function so(e,t){if(Pe(e)){const r=$t(e);ot({focusNode:e,focusOffset:r.startOffset===r.endOffset?r.focusOffset+t:t<0?r.startOffset:r.endOffset})}else{const r=e.ownerDocument.getSelection();if(!r?.focusNode)return;if(r.isCollapsed){const n=Ps(r.focusNode,r.focusOffset,t);n&&ot({focusNode:n.node,focusOffset:n.offset})}else r[t<0?"collapseToStart":"collapseToEnd"]()}}function Ts(e){if(Pe(e))return ot({focusNode:e,anchorOffset:0,focusOffset:qe(e).length});var t;const r=(t=jt(e))!==null&&t!==void 0?t:e.ownerDocument.body;ot({focusNode:r,anchorOffset:0,focusOffset:r.childNodes.length})}function Vh(e){if(Pe(e))return $t(e).startOffset===0&&$t(e).endOffset===qe(e).length;var t;const r=(t=jt(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 St(e,t,r){var n;if(Pe(e))return ot({focusNode:e,anchorOffset:t,focusOffset:r});if(nt(e)&&((n=e.firstChild)===null||n===void 0?void 0:n.nodeType)===3)return ot({focusNode:e.firstChild,anchorOffset:t,focusOffset:r});throw new Error("Not implemented. The result of this interaction is unreliable.")}function er(e,t,r){const n=ve(t),a=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 o=a.findIndex(i=>i===t)+r;;o+=r){if(a[o]||(o=r>0?0:a.length-1),a[o]===t)return;if(!Ae(a[o])){Ve(a[o]),e.dispatchUIEvent(a[o],"click");return}}}He.keydown=(e,t,r)=>{var n,a;return(a=(n=lo[e.key])===null||n===void 0?void 0:n.call(lo,e,t,r))!==null&&a!==void 0?a:Hh(e,t,r)};var lo={ArrowDown:(e,t,r)=>{if(V(t,"input",{type:"radio"}))return()=>er(r,t,1)},ArrowLeft:(e,t,r)=>V(t,"input",{type:"radio"})?()=>er(r,t,-1):()=>so(t,-1),ArrowRight:(e,t,r)=>V(t,"input",{type:"radio"})?()=>er(r,t,1):()=>so(t,1),ArrowUp:(e,t,r)=>{if(V(t,"input",{type:"radio"}))return()=>er(r,t,-1)},Backspace:(e,t,r)=>{if(ht(t))return()=>{yt(r,t,"","deleteContentBackward")}},Delete:(e,t,r)=>{if(ht(t))return()=>{yt(r,t,"","deleteContentForward")}},End:(e,t)=>{if(V(t,["input","textarea"])||nt(t))return()=>{var r,n;const a=(n=(r=Fh(t))===null||r===void 0?void 0:r.length)!==null&&n!==void 0?n:0;St(t,a,a)}},Home:(e,t)=>{if(V(t,["input","textarea"])||nt(t))return()=>{St(t,0,0)}},PageDown:(e,t)=>{if(V(t,["input"]))return()=>{const r=qe(t).length;St(t,r,r)}},PageUp:(e,t)=>{if(V(t,["input"]))return()=>{St(t,0,0)}},Tab:(e,t,r)=>()=>{const n=zh(t,r.system.keyboard.modifiers.Shift);Ve(n),Pe(n)&&Ct(n,{anchorOffset:0,focusOffset:n.value.length})}},Hh=(e,t,r)=>{if(e.code==="KeyA"&&r.system.keyboard.modifiers.Control)return()=>Ts(t)};He.keypress=(e,t,r)=>{if(e.key==="Enter"){if(V(t,"button")||V(t,"input")&&Wh.includes(t.type)||V(t,"a")&&t.href)return()=>{r.dispatchUIEvent(t,"click")};if(V(t,"input")){const n=t.form,a=n?.querySelector('input[type="submit"], button:not([type]), button[type="submit"]');return a?()=>r.dispatchUIEvent(a,"click"):n&&Kh.includes(t.type)&&n.querySelectorAll("input").length===1?()=>r.dispatchUIEvent(n,"submit"):void 0}}if(ht(t)){const n=e.key==="Enter"?nt(t)&&!r.system.keyboard.modifiers.Shift?"insertParagraph":"insertLineBreak":"insertText",a=e.key==="Enter"?`
310
+ `:e.key;return()=>yt(r,t,a,n)}};var Wh=["button","color","file","image","reset","submit"],Kh=["email","month","password","search","tel","text","url","week"];He.keyup=(e,t,r)=>{var n;return(n=uo[e.key])===null||n===void 0?void 0:n.call(uo,e,t,r)};var uo={" ":(e,t,r)=>{if(Li(t))return()=>r.dispatchUIEvent(t,"click")}};He.paste=(e,t,r)=>{if(ht(t))return()=>{var n;const a=(n=e.clipboardData)===null||n===void 0?void 0:n.getData("text");a&&yt(r,t,a,"insertFromPaste")}};var Ss={auxclick:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},beforeinput:{EventType:"InputEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},blur:{EventType:"FocusEvent",defaultInit:{bubbles:!1,cancelable:!1,composed:!0}},click:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},contextmenu:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},copy:{EventType:"ClipboardEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},change:{EventType:"Event",defaultInit:{bubbles:!0,cancelable:!1}},cut:{EventType:"ClipboardEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},dblclick:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},focus:{EventType:"FocusEvent",defaultInit:{bubbles:!1,cancelable:!1,composed:!0}},focusin:{EventType:"FocusEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},focusout:{EventType:"FocusEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},keydown:{EventType:"KeyboardEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},keypress:{EventType:"KeyboardEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},keyup:{EventType:"KeyboardEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},paste:{EventType:"ClipboardEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},input:{EventType:"InputEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},mousedown:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},mouseenter:{EventType:"MouseEvent",defaultInit:{bubbles:!1,cancelable:!1,composed:!0}},mouseleave:{EventType:"MouseEvent",defaultInit:{bubbles:!1,cancelable:!1,composed:!0}},mousemove:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},mouseout:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},mouseover:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},mouseup:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointerover:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointerenter:{EventType:"PointerEvent",defaultInit:{bubbles:!1,cancelable:!1}},pointerdown:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointermove:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointerup:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointercancel:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},pointerout:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointerleave:{EventType:"PointerEvent",defaultInit:{bubbles:!1,cancelable:!1}},submit:{EventType:"Event",defaultInit:{bubbles:!0,cancelable:!0}}};function xs(e){return Ss[e].EventType}var Gh=["MouseEvent","PointerEvent"];function Yh(e){return Gh.includes(xs(e))}function Xh(e){return xs(e)==="KeyboardEvent"}var Jh={ClipboardEvent:[Zh],Event:[],FocusEvent:[Rt,ev],InputEvent:[Rt,tv],MouseEvent:[Rt,Jr,co],PointerEvent:[Rt,Jr,co,nv],KeyboardEvent:[Rt,Jr,rv]};function Os(e,t,r){const n=ve(t),{EventType:a,defaultInit:o}=Ss[e],i=new(Qh(n))[a](e,o);return Jh[a].forEach(s=>s(i,r??{})),i}function Qh(e){var t;const r=(t=e.Event)!==null&&t!==void 0?t:class{};var n;const a=(n=e.AnimationEvent)!==null&&n!==void 0?n:class extends r{};var o;const i=(o=e.ClipboardEvent)!==null&&o!==void 0?o:class extends r{};var s;const u=(s=e.PopStateEvent)!==null&&s!==void 0?s:class extends r{};var l;const c=(l=e.ProgressEvent)!==null&&l!==void 0?l:class extends r{};var d;const p=(d=e.TransitionEvent)!==null&&d!==void 0?d:class extends r{};var f;const g=(f=e.UIEvent)!==null&&f!==void 0?f:class extends r{};var v;const S=(v=e.CompositionEvent)!==null&&v!==void 0?v:class extends g{};var y;const w=(y=e.FocusEvent)!==null&&y!==void 0?y:class extends g{};var x;const M=(x=e.InputEvent)!==null&&x!==void 0?x:class extends g{};var A;const E=(A=e.KeyboardEvent)!==null&&A!==void 0?A:class extends g{};var m;const _=(m=e.MouseEvent)!==null&&m!==void 0?m:class extends g{};var T;const I=(T=e.DragEvent)!==null&&T!==void 0?T:class extends _{};var D;const B=(D=e.PointerEvent)!==null&&D!==void 0?D:class extends _{};var F;return{Event:r,AnimationEvent:a,ClipboardEvent:i,PopStateEvent:u,ProgressEvent:c,TransitionEvent:p,UIEvent:g,CompositionEvent:S,FocusEvent:w,InputEvent:M,KeyboardEvent:E,MouseEvent:_,DragEvent:I,PointerEvent:B,TouchEvent:(F=e.TouchEvent)!==null&&F!==void 0?F:class extends g{}}}function We(e,t){for(const[r,n]of Object.entries(t))Object.defineProperty(e,r,{get:()=>n??null})}function ee(e){return Number(e??0)}function Zh(e,{clipboardData:t}){We(e,{clipboardData:t})}function ev(e,{relatedTarget:t}){We(e,{relatedTarget:t})}function tv(e,{data:t,inputType:r,isComposing:n}){We(e,{data:t,isComposing:!!n,inputType:String(r)})}function Rt(e,{view:t,detail:r}){We(e,{view:t,detail:ee(r??0)})}function Jr(e,{altKey:t,ctrlKey:r,metaKey:n,shiftKey:a,modifierAltGraph:o,modifierCapsLock:i,modifierFn:s,modifierFnLock:u,modifierNumLock:l,modifierScrollLock:c,modifierSymbol:d,modifierSymbolLock:p}){We(e,{altKey:!!t,ctrlKey:!!r,metaKey:!!n,shiftKey:!!a,getModifierState(f){return!!{Alt:t,AltGraph:o,CapsLock:i,Control:r,Fn:s,FnLock:u,Meta:n,NumLock:l,ScrollLock:c,Shift:a,Symbol:d,SymbolLock:p}[f]}})}function rv(e,{key:t,code:r,location:n,repeat:a,isComposing:o,charCode:i}){We(e,{key:String(t),code:String(r),location:ee(n),repeat:!!a,isComposing:!!o,charCode:i})}function co(e,{x:t,y:r,screenX:n,screenY:a,clientX:o=t,clientY:i=r,button:s,buttons:u,relatedTarget:l,offsetX:c,offsetY:d,pageX:p,pageY:f}){We(e,{screenX:ee(n),screenY:ee(a),clientX:ee(o),x:ee(o),clientY:ee(i),y:ee(i),button:ee(s),buttons:ee(u),relatedTarget:l,offsetX:ee(c),offsetY:ee(d),pageX:ee(p),pageY:ee(f)})}function nv(e,{pointerId:t,width:r,height:n,pressure:a,tangentialPressure:o,tiltX:i,tiltY:s,twist:u,pointerType:l,isPrimary:c}){We(e,{pointerId:ee(t),width:ee(r??1),height:ee(n??1),pressure:ee(a),tangentialPressure:ee(o),tiltX:ee(i),tiltY:ee(s),twist:ee(u),pointerType:String(l),isPrimary:!!c})}function av(e,t,r,n=!1){(Yh(t)||Xh(t))&&(r={...r,...this.system.getUIEventModifiers()});const a=Os(t,e,r);return Ms.call(this,e,a,n)}function Ms(e,t,r=!1){var n;const a=t.type,o=r?()=>{}:(n=He[a])===null||n===void 0?void 0:n.call(He,t,e,this);if(o){t.preventDefault();let i=!1;return Object.defineProperty(t,"defaultPrevented",{get:()=>i}),Object.defineProperty(t,"preventDefault",{value:()=>{i=t.cancelable}}),vt(()=>e.dispatchEvent(t)),i||o(),!i}return vt(()=>e.dispatchEvent(t))}function Qe(e,t,r){const n=Os(t,e,r);vt(()=>e.dispatchEvent(n))}var fo=Symbol("patched focus/blur methods");function As(e){if(e.prototype[fo])return;const{focus:t,blur:r}=e.prototype;Object.defineProperties(e.prototype,{focus:{configurable:!0,get:()=>a},blur:{configurable:!0,get:()=>o},[fo]:{configurable:!0,get:()=>({focus:t,blur:r})}});let n;function a(i){if(this.ownerDocument.visibilityState!=="hidden")return t.call(this,i);const s=po(this.ownerDocument);if(s===this)return;const u=Symbol("focus call");n=u,s&&(r.call(s),Qe(s,"blur",{relatedTarget:this}),Qe(s,"focusout",{relatedTarget:n===u?this:null})),n===u&&(t.call(this,i),Qe(this,"focus",{relatedTarget:s})),n===u&&Qe(this,"focusin",{relatedTarget:s})}function o(){if(this.ownerDocument.visibilityState!=="hidden")return r.call(this);const i=po(this.ownerDocument);i===this&&(n=Symbol("blur call"),r.call(this),Qe(i,"blur",{relatedTarget:null}),Qe(i,"focusout",{relatedTarget:null}))}}function po(e){const t=Kt(e);return t?.tagName==="BODY"?null:t}var Qr=Symbol("Interceptor for programmatical calls");function ct(e,t,r){const n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),a=Object.getOwnPropertyDescriptor(e,t),o=n?.set?"set":"value";if(typeof n?.[o]!="function"||n[o][Qr])throw new Error(`Element ${e.tagName} does not implement "${String(t)}".`);function i(...s){const{applyNative:u=!1,realArgs:l,then:c}=r.call(this,...s),d=(!u&&a||n)[o];o==="set"?d.call(this,l):d.call(this,...l),c?.()}i[Qr]=Qr,Object.defineProperty(e,t,{...a??n,[o]:i})}function ov(e){ct(e,"value",function(r){const n=yh(r);return n&&Ah(this),{applyNative:!!n,realArgs:iv(this,r),then:n?void 0:()=>Ih(this,String(r))}})}function iv(e,t){return V(e,"input",{type:"number"})&&String(t)!==""&&!Number.isNaN(Number(t))?String(Number(t)):String(t)}function sv(e){ct(e,"setSelectionRange",function(r,...n){const a=wh(r);return{applyNative:!!a,realArgs:[Number(r),...n],then:()=>a?void 0:ar(e)}}),ct(e,"selectionStart",function(r){return{realArgs:r,then:()=>ar(e)}}),ct(e,"selectionEnd",function(r){return{realArgs:r,then:()=>ar(e)}}),ct(e,"select",function(){return{realArgs:[],then:()=>Ch(e,{anchorOffset:0,focusOffset:qe(e).length})}})}function lv(e){ct(e,"setRangeText",function(...r){return{realArgs:r,then:()=>{Oa(e),ar(e)}}})}var ft=Symbol("Node prepared with document state workarounds");function Is(e){e[ft]||(e.addEventListener("focus",t=>{const r=t.target;mo(r)},{capture:!0,passive:!0}),e.activeElement&&mo(e.activeElement),e.addEventListener("blur",t=>{const r=t.target,n=_h(r);n!==void 0&&(r.value!==n&&Qe(r,"change"),Es(r))},{capture:!0,passive:!0}),e[ft]=ft)}function mo(e){e[ft]||(V(e,["input","textarea"])&&(ov(e),sv(e),lv(e)),e[ft]=ft)}function uv(e){return cv(e)?e:e.ownerDocument}function cv(e){return e.nodeType===9}var pe=(function(e){return e[e.Trigger=2]="Trigger",e[e.Call=1]="Call",e})({});function xt(e,t){e.levelRefs[t]={}}function tr(e,t){return e.levelRefs[t]}function wt(e){const t=e.delay;if(typeof t=="number")return Promise.all([new Promise(r=>globalThis.setTimeout(()=>r(),t)),e.advanceTimers(t)])}var ir=(function(e){return e[e.EachTrigger=4]="EachTrigger",e[e.EachApiCall=2]="EachApiCall",e[e.EachTarget=1]="EachTarget",e[e.Never=0]="Never",e})({});function Xe(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var Ee=(function(e){return e[e.STANDARD=0]="STANDARD",e[e.LEFT=1]="LEFT",e[e.RIGHT=2]="RIGHT",e[e.NUMPAD=3]="NUMPAD",e})({}),dv=["Alt","AltGraph","Control","Fn","Meta","Shift","Symbol"];function bo(e){return dv.includes(e)}var fv=["CapsLock","FnLock","NumLock","ScrollLock","SymbolLock"];function ho(e){return fv.includes(e)}var pv=class{isKeyPressed(e){return this.pressed.has(String(e.code))}getPressedKeys(){return this.pressed.values().map(e=>e.keyDef)}async keydown(e,t){const r=String(t.key),n=String(t.code),a=Kr(e.config.document);this.setKeydownTarget(a),this.pressed.add(n,t),bo(r)&&(this.modifiers[r]=!0);const o=e.dispatchUIEvent(a,"keydown",{key:r,code:n});ho(r)&&!this.modifiers[r]&&(this.modifiers[r]=!0,this.modifierLockStart[r]=!0),o&&this.pressed.setUnprevented(n),o&&this.hasKeyPress(r)&&e.dispatchUIEvent(Kr(e.config.document),"keypress",{key:r,code:n,charCode:t.key==="Enter"?13:String(t.key).charCodeAt(0)})}async keyup(e,t){const r=String(t.key),n=String(t.code),a=this.pressed.isUnprevented(n);this.pressed.delete(n),bo(r)&&!this.pressed.values().find(o=>o.keyDef.key===r)&&(this.modifiers[r]=!1),e.dispatchUIEvent(Kr(e.config.document),"keyup",{key:r,code:n},!a),ho(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){Xe(this,"system",void 0),Xe(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}),Xe(this,"pressed",new class{add(t,r){var n,a,o;(o=(n=this.registry)[a=t])!==null&&o!==void 0||(n[a]={keyDef:r,unpreventedDefault:!1})}has(t){return!!this.registry[t]}setUnprevented(t){const r=this.registry[t];r&&(r.unpreventedDefault=!0)}isUnprevented(t){var r;return!!(!((r=this.registry[t])===null||r===void 0)&&r.unpreventedDefault)}delete(t){delete this.registry[t]}values(){return Object.values(this.registry)}constructor(){Xe(this,"registry",{})}}),Xe(this,"carryChar",""),Xe(this,"lastKeydownTarget",void 0),Xe(this,"modifierLockStart",{}),this.system=e}},mv=[..."0123456789".split("").map(e=>({code:`Digit${e}`,key:e})),...")!@#$%^&*(".split("").map((e,t)=>({code:`Digit${t}`,key:e,shiftKey:!0})),..."abcdefghijklmnopqrstuvwxyz".split("").map(e=>({code:`Key${e.toUpperCase()}`,key:e})),..."ABCDEFGHIJKLMNOPQRSTUVWXYZ".split("").map(e=>({code:`Key${e}`,key:e,shiftKey:!0})),{code:"BracketLeft",key:"["},{code:"BracketLeft",key:"{",shiftKey:!0},{code:"BracketRight",key:"]"},{code:"BracketRight",key:"}",shiftKey:!0},{code:"Space",key:" "},{code:"AltLeft",key:"Alt",location:Ee.LEFT},{code:"AltRight",key:"Alt",location:Ee.RIGHT},{code:"ShiftLeft",key:"Shift",location:Ee.LEFT},{code:"ShiftRight",key:"Shift",location:Ee.RIGHT},{code:"ControlLeft",key:"Control",location:Ee.LEFT},{code:"ControlRight",key:"Control",location:Ee.RIGHT},{code:"MetaLeft",key:"Meta",location:Ee.LEFT},{code:"MetaRight",key:"Meta",location:Ee.RIGHT},{code:"OSLeft",key:"OS",location:Ee.LEFT},{code:"OSRight",key:"OS",location:Ee.RIGHT},{code:"ContextMenu",key:"ContextMenu"},{code:"Tab",key:"Tab"},{code:"CapsLock",key:"CapsLock"},{code:"Backspace",key:"Backspace"},{code:"Enter",key:"Enter"},{code:"Escape",key:"Escape"},{code:"ArrowUp",key:"ArrowUp"},{code:"ArrowDown",key:"ArrowDown"},{code:"ArrowLeft",key:"ArrowLeft"},{code:"ArrowRight",key:"ArrowRight"},{code:"Home",key:"Home"},{code:"End",key:"End"},{code:"Delete",key:"Delete"},{code:"PageUp",key:"PageUp"},{code:"PageDown",key:"PageDown"},{code:"Fn",key:"Fn"},{code:"Symbol",key:"Symbol"},{code:"AltRight",key:"AltGraph"}],bv=[{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 hv(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var Ns=class{getButtons(){let e=0;for(const t of Object.keys(this.pressed))e|=2**Number(t);return e}down(e){const t=xn(e.button);if(t in this.pressed){this.pressed[t].push(e);return}return this.pressed[t]=[e],t}up(e){const t=xn(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(){hv(this,"pressed",{})}},vo={primary:0,secondary:1,auxiliary:2,back:3,X1:3,forward:4,X2:4};function xn(e=0){return e in vo?vo[e]:Number(e)}var go={1:2,2:1};function On(e){return e=xn(e),e in go?go[e]:e}function vv(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var gv=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(){vv(this,"pressedKeys",new Set)}};function Nt(e,t){const r=[];for(let o=e;o;o=o.parentElement)r.push(o);const n=[];for(let o=t;o;o=o.parentElement)n.push(o);let a=0;for(;!(a>=r.length||a>=n.length||r[r.length-1-a]!==n[n.length-1-a]);a++);return[r.slice(0,r.length-a),n.slice(0,n.length-a),n.slice(n.length-a)]}function Mn({target:e,node:t,offset:r}){return Pe(e)?{node:e,offset:r??qe(e).length}:t?{node:t,offset:r??(t.nodeType===3?t.nodeValue.length:t.childNodes.length)}:ks(e,r)}function ks(e,t,r=!0){let n=t===void 0?e.childNodes.length-1:0;const a=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.");const o=e.childNodes.item(n),i=String(o.textContent);if(i.length)if(t!==void 0&&i.length<t)t-=i.length;else{if(o.nodeType===1)return ks(o,t,!1);if(o.nodeType===3)return{node:o,offset:t??o.nodeValue.length}}n+=a}return{node:e,offset:e.childNodes.length}}function yv({document:e,target:t,clickCount:r,node:n,offset:a}){if(vc(t))return;const o=Pe(t),i=String(o?qe(t):t.textContent),[s,u]=n?[a,a]:wv(i,a,r);if(o)return Ct(t,{anchorOffset:s??i.length,focusOffset:u??i.length}),{node:t,start:s??0,end:u??i.length};{const{node:l,offset:c}=Mn({target:t,node:n,offset:s}),{node:d,offset:p}=Mn({target:t,node:n,offset:u}),f=t.ownerDocument.createRange();try{f.setStart(l,c),f.setEnd(d,p)}catch{throw new Error("The given offset is out of bounds.")}const g=e.getSelection();return g?.removeAllRanges(),g?.addRange(f.cloneRange()),f}}function wv(e,t,r){if(r%3===1||e.length===0)return[t,t];const 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 Ev(e,{document:t,target:r,node:n,offset:a}){const o=Mn({target:r,node:n,offset:a});if("node"in e){if(o.node===e.node){const i=o.offset<e.start?e.end:e.start,s=o.offset>e.end||o.offset<e.start?o.offset:e.end;Ct(e.node,{anchorOffset:i,focusOffset:s})}}else{const i=e.cloneRange(),s=i.comparePoint(o.node,o.offset);s<0?i.setStart(o.node,o.offset):s>0&&i.setEnd(o.node,o.offset);const u=t.getSelection();u?.removeAllRanges(),u?.addRange(i.cloneRange())}}function js(e,t){var r,n,a,o,i,s,u,l,c,d,p,f,g,v,S,y,w,x,M,A,E,m,_,T;return e.target!==t.target||((r=e.coords)===null||r===void 0?void 0:r.x)!==((n=t.coords)===null||n===void 0?void 0:n.x)||((a=e.coords)===null||a===void 0?void 0:a.y)!==((o=t.coords)===null||o===void 0?void 0:o.y)||((i=e.coords)===null||i===void 0?void 0:i.clientX)!==((s=t.coords)===null||s===void 0?void 0:s.clientX)||((u=e.coords)===null||u===void 0?void 0:u.clientY)!==((l=t.coords)===null||l===void 0?void 0:l.clientY)||((c=e.coords)===null||c===void 0?void 0:c.offsetX)!==((d=t.coords)===null||d===void 0?void 0:d.offsetX)||((p=e.coords)===null||p===void 0?void 0:p.offsetY)!==((f=t.coords)===null||f===void 0?void 0:f.offsetY)||((g=e.coords)===null||g===void 0?void 0:g.pageX)!==((v=t.coords)===null||v===void 0?void 0:v.pageX)||((S=e.coords)===null||S===void 0?void 0:S.pageY)!==((y=t.coords)===null||y===void 0?void 0:y.pageY)||((w=e.coords)===null||w===void 0?void 0:w.screenX)!==((x=t.coords)===null||x===void 0?void 0:x.screenX)||((M=e.coords)===null||M===void 0?void 0:M.screenY)!==((A=t.coords)===null||A===void 0?void 0:A.screenY)||((E=e.caret)===null||E===void 0?void 0:E.node)!==((m=t.caret)===null||m===void 0?void 0:m.node)||((_=e.caret)===null||_===void 0?void 0:_.offset)!==((T=t.caret)===null||T===void 0?void 0:T.offset)}function Je(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var _v=class{move(e,t,r){const n=this.position,a=this.getTarget(e);if(this.position=t,!js(n,t))return;const o=this.getTarget(e),i=this.getEventInit("mousemove"),[s,u]=Nt(a,o);return{leave:()=>{a!==o&&(e.dispatchUIEvent(a,"mouseout",i),s.forEach(l=>e.dispatchUIEvent(l,"mouseleave",i)))},enter:()=>{a!==o&&(e.dispatchUIEvent(o,"mouseover",i),u.forEach(l=>e.dispatchUIEvent(l,"mouseenter",i)))},move:()=>{r||(e.dispatchUIEvent(o,"mousemove",i),this.modifySelecting(e))}}}down(e,t,r){const n=this.buttons.down(t);if(n===void 0)return;const a=this.getTarget(e);this.buttonDownTarget[n]=a;const o=this.getEventInit("mousedown",t.button),i=Ae(a);!r&&(i||e.dispatchUIEvent(a,"mousedown",o))&&(this.startSelecting(e,o.detail),Ve(a)),!i&&On(t.button)===2&&e.dispatchUIEvent(a,"contextmenu",this.getEventInit("contextmenu",t.button))}up(e,t,r){const n=this.buttons.up(t);if(n===void 0)return;const a=this.getTarget(e);if(!Ae(a)){if(!r){const i=this.getEventInit("mouseup",t.button);e.dispatchUIEvent(a,"mouseup",i),this.endSelecting()}const o=Nt(this.buttonDownTarget[n],a)[2][0];if(o){const i=this.getEventInit("click",t.button);i.detail&&(e.dispatchUIEvent(o,i.button===0?"click":"auxclick",i),i.button===0&&i.detail===2&&e.dispatchUIEvent(o,"dblclick",{...this.getEventInit("dblclick",t.button),detail:i.detail}))}}}resetClickCount(){this.clickCount.reset()}getEventInit(e,t){const r={...this.position.coords};return r.button=On(t),r.buttons=this.buttons.getButtons(),e==="mousedown"?r.detail=this.clickCount.getOnDown(r.button):e==="mouseup"?r.detail=this.clickCount.getOnUp(r.button):(e==="click"||e==="auxclick")&&(r.detail=this.clickCount.incOnClick(r.button)),r}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=yv({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&&Ev(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(){Je(this,"position",{}),Je(this,"buttons",new Ns),Je(this,"selecting",void 0),Je(this,"buttonDownTarget",{}),Je(this,"clickCount",new class{incOnClick(e){const 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(){Je(this,"down",{}),Je(this,"count",{})}})}};function qr(e,t){var r;return((r=Ds(e,t))===null||r===void 0?void 0:r.pointerEvents)!=="none"}function Cv(e){const t=ve(e);for(let r=e,n=[];r?.ownerDocument;r=r.parentElement){n.push(r);const a=t.getComputedStyle(r).pointerEvents;if(a&&!["inherit","unset"].includes(a))return{pointerEvents:a,tree:n}}}var yo=Symbol("Last check for pointer-events");function Ds(e,t){const r=t[yo];if(!(e.config.pointerEventsCheck!==ir.Never&&(!r||wo(e.config.pointerEventsCheck,ir.EachApiCall)&&r[pe.Call]!==tr(e,pe.Call)||wo(e.config.pointerEventsCheck,ir.EachTrigger)&&r[pe.Trigger]!==tr(e,pe.Trigger))))return r?.result;const n=Cv(t);return t[yo]={[pe.Call]:tr(e,pe.Call),[pe.Trigger]:tr(e,pe.Trigger),result:n},n}function Ot(e,t){const r=Ds(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\`:`,"",Pv(r.tree)].join(`
311
+ `))}function Pv(e){return e.reverse().map((t,r)=>["".padEnd(r),t.tagName,t.id&&`#${t.id}`,t.hasAttribute("data-testid")&&`(testId=${t.getAttribute("data-testid")})`,qv(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(`
312
+ `)}function qv(e){var t;let r;if(e.hasAttribute("aria-label"))r=e.getAttribute("aria-label");else if(e.hasAttribute("aria-labelledby")){var n,a;r=(a=e.ownerDocument.getElementById(e.getAttribute("aria-labelledby")))===null||a===void 0||(n=a.textContent)===null||n===void 0?void 0:n.trim()}else if(V(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 s;return(s=i.textContent)===null||s===void 0?void 0:s.trim()}).join("|");else if(V(e,"button")){var o;r=(o=e.textContent)===null||o===void 0?void 0:o.trim()}return r=r?.replace(/\n/g," "),Number(r?.length)>30&&(r=`${r?.substring(0,29)}…`),r?`(label=${r})`:""}function wo(e,t){return(e&t)>0}function Te(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var Rv=class{init(e){const t=this.getTarget(e),[,r]=Nt(null,t),n=this.getEventInit();return Ot(e,t),e.dispatchUIEvent(t,"pointerover",n),r.forEach(a=>e.dispatchUIEvent(a,"pointerenter",n)),this}move(e,t){const r=this.position,n=this.getTarget(e);if(this.position=t,!js(r,t))return;const a=this.getTarget(e),o=this.getEventInit(-1),[i,s]=Nt(n,a);return{leave:()=>{qr(e,n)&&n!==a&&(e.dispatchUIEvent(n,"pointerout",o),i.forEach(u=>e.dispatchUIEvent(u,"pointerleave",o)))},enter:()=>{Ot(e,a),n!==a&&(e.dispatchUIEvent(a,"pointerover",o),s.forEach(u=>e.dispatchUIEvent(u,"pointerenter",o)))},move:()=>{e.dispatchUIEvent(a,"pointermove",o)}}}down(e,t=0){if(this.isDown)return;const r=this.getTarget(e);Ot(e,r),this.isDown=!0,this.isPrevented=!e.dispatchUIEvent(r,"pointerdown",this.getEventInit(t))}up(e,t=0){if(!this.isDown)return;const r=this.getTarget(e);Ot(e,r),this.isPrevented=!1,this.isDown=!1,e.dispatchUIEvent(r,"pointerup",this.getEventInit(t))}release(e){const t=this.getTarget(e),[r]=Nt(t,null),n=this.getEventInit();qr(e,t)&&(e.dispatchUIEvent(t,"pointerout",n),r.forEach(a=>e.dispatchUIEvent(a,"pointerleave",n))),this.isCancelled=!0}getTarget(e){var t;return(t=this.position.target)!==null&&t!==void 0?t:e.config.document.body}getEventInit(e){return{...this.position.coords,pointerId:this.pointerId,pointerType:this.pointerType,isPrimary:this.isPrimary,button:On(e),buttons:this.buttons.getButtons()}}constructor({pointerId:e,pointerType:t,isPrimary:r},n){Te(this,"pointerId",void 0),Te(this,"pointerType",void 0),Te(this,"isPrimary",void 0),Te(this,"buttons",void 0),Te(this,"isMultitouch",!1),Te(this,"isCancelled",!1),Te(this,"isDown",!1),Te(this,"isPrevented",!1),Te(this,"position",{}),this.pointerId=e,this.pointerType=t,this.isPrimary=r,this.isMultitouch=!r,this.buttons=n}};function $e(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var Tv=class{isKeyPressed(e){return this.devices.get(e.pointerType).isPressed(e)}async press(e,t,r){this.devices.get(t.pointerType).addPressed(t),this.buttons.down(t);const n=this.getPointerName(t),a=t.pointerType==="touch"?this.pointers.new(n,t.pointerType,this.buttons):this.pointers.get(n);a.position=r,a.pointerType!=="touch"&&(this.mouse.position=r),a.pointerType==="touch"&&a.init(e),a.down(e,t.button),a.pointerType!=="touch"&&this.mouse.down(e,t,a.isPrevented)}async move(e,t,r){const n=this.pointers.get(t),a=n.move(e,r),o=n.pointerType==="touch"?void 0:this.mouse.move(e,r,n.isPrevented);a?.leave(),o?.leave(),a?.enter(),o?.enter(),a?.move(),o?.move()}async release(e,t,r){const n=this.devices.get(t.pointerType);n.removePressed(t),this.buttons.up(t);const a=this.pointers.get(this.getPointerName(t)),o=a.isPrevented;if(a.position=r,a.pointerType!=="touch"&&(this.mouse.position=r),n.countPressed===0&&a.up(e,t.button),a.pointerType==="touch"&&a.release(e),a.pointerType==="touch"&&!a.isMultitouch){const i=this.mouse.move(e,r,o);i?.leave(),i?.enter(),i?.move(),this.mouse.down(e,t,o)}if(!a.isMultitouch){const i=this.mouse.move(e,r,o);i?.leave(),i?.enter(),i?.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){$e(this,"system",void 0),$e(this,"mouse",void 0),$e(this,"buttons",void 0),$e(this,"devices",new class{get(t){var r,n,a;return(a=(r=this.registry)[n=t])!==null&&a!==void 0?a:r[n]=new gv}constructor(){$e(this,"registry",{})}}),$e(this,"pointers",new class{new(t,r,n){const a=r!=="touch"||!Object.values(this.registry).some(o=>o.pointerType==="touch"&&!o.isCancelled);return a||Object.values(this.registry).forEach(o=>{o.pointerType===r&&!o.isCancelled&&(o.isMultitouch=!0)}),this.registry[t]=new Rv({pointerId:this.nextId++,pointerType:r,isPrimary:a},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(){$e(this,"registry",{}),$e(this,"nextId",1)}}),this.system=e,this.buttons=new Ns,this.mouse=new _v,this.pointers.new("mouse","mouse",this.buttons)}};function Eo(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var Ls=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(){Eo(this,"keyboard",new pv(this)),Eo(this,"pointer",new Tv(this))}};async function Sv(e){const t=[];return this.config.skipHover||t.push({target:e}),t.push({keys:"[MouseLeft]",target:e}),this.pointer(t)}async function xv(e){return this.pointer([{target:e},"[MouseLeft][MouseLeft]"])}async function Ov(e){return this.pointer([{target:e},"[MouseLeft][MouseLeft][MouseLeft]"])}async function Mv(e){return this.pointer({target:e})}async function Av(e){return Ot(this,this.system.pointer.getMouseTarget(this)),this.pointer({target:e.ownerDocument.body})}async function Iv({shift:e}={}){return this.keyboard(e===!0?"{Shift>}{Tab}{/Shift}":e===!1?"[/ShiftLeft][/ShiftRight]{Tab}":"{Tab}")}var Aa=(function(e){return e["{"]="}",e["["]="]",e})(Aa||{});function Bs(e,t){let r=0;const n=e[r]in Aa?e[r]:"";r+=n.length;const a=new RegExp(`^\\${n}{2}`).test(e)?"":n;return{type:a,...a===""?Nv(e,r,t):kv(e,r,a,t)}}function Nv(e,t,r){const n=e[t];return $s(n,e,t,r),t+=n.length,{consumedLength:t,descriptor:n,releasePrevious:!1,releaseSelf:!0,repeat:1}}function kv(e,t,r,n){var a,o;const i=e[t]==="/"?"/":"";t+=i.length;const s=r==="{"&&e[t]==="\\";t+=Number(s);const u=s?e[t]:(a=e.slice(t).match(r==="{"?/^\w+|^[^}>/]/:/^\w+/))===null||a===void 0?void 0:a[0];$s(u,e,t,n),t+=u.length;var l;const c=(l=(o=e.slice(t).match(/^>\d+/))===null||o===void 0?void 0:o[0])!==null&&l!==void 0?l:"";t+=c.length;const d=e[t]==="/"||!c&&e[t]===">"?e[t]:"";t+=d.length;const p=Aa[r],f=e[t]===p?p:"";if(!f)throw new Error(Fs([!c&&"repeat modifier",!d&&"release modifier",`"${p}"`].filter(Boolean).join(" or "),e[t],e,n));return t+=f.length,{consumedLength:t,descriptor:u,releasePrevious:!!i,repeat:c?Math.max(Number(c.substr(1)),1):1,releaseSelf:jv(d,c)}}function $s(e,t,r,n){if(!e)throw new Error(Fs("key descriptor",t[r],t,n))}function jv(e,t){if(e)return e==="/";if(t)return!1}function Fs(e,t,r,n){return`Expected ${e} but found "${t??""}" in "${r}"
312
313
  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"}
313
- for more information about how userEvent parses your input.`}function jv(e,t){const r=[];do{const{type:a,descriptor:o,consumedLength:i,releasePrevious:s,releaseSelf:u=!0,repeat:l}=Bs(t,"keyboard");var n;const c=(n=e.find(d=>{if(a==="["){var p;return((p=d.code)===null||p===void 0?void 0:p.toLowerCase())===o.toLowerCase()}else if(a==="{"){var f;return((f=d.key)===null||f===void 0?void 0:f.toLowerCase())===o.toLowerCase()}return d.key===o}))!==null&&n!==void 0?n:{key:"Unknown",code:"Unknown",[a==="["?"code":"key"]:o};r.push({keyDef:c,releasePrevious:s,releaseSelf:u,repeat:l}),t=t.slice(i)}while(t);return r}async function Dv(e){const t=jv(this.config.keyboardMap,e);for(let r=0;r<t.length;r++)await wt(this.config),await Lv(this,t[r])}async function Lv(e,{keyDef:t,releasePrevious:r,releaseSelf:n,repeat:a}){const{system:o}=e;if(o.keyboard.isKeyPressed(t)&&await o.keyboard.keyup(e,t),!r){for(let i=1;i<=a;i++)await o.keyboard.keydown(e,t),i<a&&await wt(e.config);n&&await o.keyboard.keyup(e,t)}}async function Bv(e){for(const t of e.system.keyboard.getPressedKeys())await e.system.keyboard.keyup(e,t)}function Us(e){const t=Pe(e)?{"text/plain":$v(e)}:{"text/plain":String(e.ownerDocument.getSelection())},r=ga(ve(e));for(const n in t)t[n]&&r.setData(n,t[n]);return r}function $v(e){const t=$t(e);return qe(e).substring(t.startOffset,t.endOffset)}async function Fv(){const e=this.config.document;var t;const r=(t=e.activeElement)!==null&&t!==void 0?t:e.body,n=Us(r);if(n.items.length!==0)return this.dispatchUIEvent(r,"copy",{clipboardData:n})&&this.config.writeToClipboard&&await ki(e,n),n}async function Uv(){const e=this.config.document;var t;const r=(t=e.activeElement)!==null&&t!==void 0?t:e.body,n=Us(r);if(n.items.length!==0)return this.dispatchUIEvent(r,"cut",{clipboardData:n})&&this.config.writeToClipboard&&await ki(r.ownerDocument,n),n}async function zv(e){const t=this.config.document;var r;const n=(r=t.activeElement)!==null&&r!==void 0?r:t.body;var a;const o=(a=typeof e=="string"?Vv(t,e):e)!==null&&a!==void 0?a:await fc(t).catch(()=>{throw new Error("`userEvent.paste()` without `clipboardData` requires the `ClipboardAPI` to be available.")});this.dispatchUIEvent(n,"paste",{clipboardData:o})}function Vv(e,t){const r=ga(ve(e));return r.setData("text",t),r}function _o(e,t){const r=[];do{const{descriptor:n,consumedLength:a,releasePrevious:o,releaseSelf:i=!0}=Bs(t,"pointer"),s=e.find(u=>u.name===n);s&&r.push({keyDef:s,releasePrevious:o,releaseSelf:i}),t=t.slice(a)}while(t);return r}async function Hv(e){const{pointerMap:t}=this.config,r=[];(Array.isArray(e)?e:[e]).forEach(n=>{typeof n=="string"?r.push(..._o(t,n)):"keys"in n?r.push(..._o(t,n.keys).map(a=>({...n,...a}))):r.push(n)});for(let n=0;n<r.length;n++)await wt(this.config),await Wv(this,r[n]);this.system.pointer.resetClickCount()}async function Wv(e,t){var r,n;const a="pointerName"in t&&t.pointerName?t.pointerName:"keyDef"in t?e.system.pointer.getPointerName(t.keyDef):"mouse",o=e.system.pointer.getPreviousPosition(a);var i,s,u,l;const c={target:(i=t.target)!==null&&i!==void 0?i:Kv(e,o),coords:(s=t.coords)!==null&&s!==void 0?s:o?.coords,caret:{node:(u=t.node)!==null&&u!==void 0?u:Co(t)||o==null||(r=o.caret)===null||r===void 0?void 0:r.node,offset:(l=t.offset)!==null&&l!==void 0?l:Co(t)||o==null||(n=o.caret)===null||n===void 0?void 0:n.offset}};"keyDef"in t?(e.system.pointer.isKeyPressed(t.keyDef)&&(xt(e,pe.Trigger),await e.system.pointer.release(e,t.keyDef,c)),t.releasePrevious||(xt(e,pe.Trigger),await e.system.pointer.press(e,t.keyDef,c),t.releaseSelf&&(xt(e,pe.Trigger),await e.system.pointer.release(e,t.keyDef,c)))):(xt(e,pe.Trigger),await e.system.pointer.move(e,a,c))}function Co(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 Kv(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 Gv(e){if(!ht(e)||Ae(e))throw new Error("clear()` is only supported on editable elements.");if(Ve(e),e.ownerDocument.activeElement!==e)throw new Error("The element to be cleared could not be focused.");if(Ts(e),!zh(e))throw new Error("The element content to be cleared could not be selected.");yt(this,e,"","deleteContentBackward")}async function Yv(e,t){return zs.call(this,!0,e,t)}async function Xv(e,t){return zs.call(this,!1,e,t)}async function zs(e,t,r){if(!e&&!t.multiple)throw G().getElementError("Unable to deselect an option in a non-multiple select. Use selectOptions to change the selection instead.",t);const n=Array.isArray(r)?r:[r],a=Array.from(t.querySelectorAll('option, [role="option"]')),o=n.map(s=>{if(typeof s!="string"&&a.includes(s))return s;{const u=a.find(l=>l.value===s||l.innerHTML===s);if(u)return u;throw G().getElementError(`Value "${String(s)}" not found in options`,t)}}).filter(s=>!Ae(s));if(Ae(t)||!o.length)return;const i=s=>{s.selected=e,this.dispatchUIEvent(t,"input",{bubbles:!0,cancelable:!1,composed:!0}),this.dispatchUIEvent(t,"change")};if(V(t,"select"))if(t.multiple)for(const s of o){const u=this.config.pointerEventsCheck===0?!0:qr(this,s);u&&(this.dispatchUIEvent(s,"pointerover"),this.dispatchUIEvent(t,"pointerenter"),this.dispatchUIEvent(s,"mouseover"),this.dispatchUIEvent(t,"mouseenter"),this.dispatchUIEvent(s,"pointermove"),this.dispatchUIEvent(s,"mousemove"),this.dispatchUIEvent(s,"pointerdown"),this.dispatchUIEvent(s,"mousedown")),Ve(t),u&&(this.dispatchUIEvent(s,"pointerup"),this.dispatchUIEvent(s,"mouseup")),i(s),u&&this.dispatchUIEvent(s,"click"),await wt(this.config)}else if(o.length===1){const s=this.config.pointerEventsCheck===0?!0:qr(this,t);s?await this.click(t):Ve(t),i(o[0]),s&&(this.dispatchUIEvent(t,"pointerover"),this.dispatchUIEvent(t,"pointerenter"),this.dispatchUIEvent(t,"mouseover"),this.dispatchUIEvent(t,"mouseenter"),this.dispatchUIEvent(t,"pointerup"),this.dispatchUIEvent(t,"mouseup"),this.dispatchUIEvent(t,"click")),await wt(this.config)}else throw G().getElementError("Cannot select multiple options on a non-multiple select",t);else if(t.getAttribute("role")==="listbox")for(const s of o)await this.click(s),await this.unhover(s);else throw G().getElementError("Cannot select options on elements that are neither select nor listbox elements",t)}async function Jv(e,t,{skipClick:r=this.config.skipClick,skipAutoClose:n=this.config.skipAutoClose,initialSelectionStart:a,initialSelectionEnd:o}={}){e.disabled||(r||await this.click(e),a!==void 0&&St(e,a,o??a),await this.keyboard(t),n||await Bv(this))}var Po=Symbol("files and value properties are mocked");function Zr(e,t,r){r?Object.defineProperty(e,t,r):delete e[t]}function Qv(e,t){var r;(r=e[Po])===null||r===void 0||r.restore();const n=Object.getOwnPropertyDescriptor(e,"type"),a=Object.getOwnPropertyDescriptor(e,"value"),o=Object.getOwnPropertyDescriptor(e,"files");function i(){Zr(e,"type",n),Zr(e,"value",a),Zr(e,"files",o)}e[Po]={restore:i},Object.defineProperties(e,{files:{configurable:!0,get:()=>t},value:{configurable:!0,get:()=>t.length?`C:\\fakepath\\${t[0].name}`:"",set(s){if(s==="")i();else{var u;a==null||(u=a.set)==null||u.call(e,s)}}},type:{configurable:!0,get:()=>"file",set(s){s!=="file"&&(i(),e.type=s)}}})}async function Zv(e,t){const r=V(e,"label")?e.control:e;if(!r||!V(r,"input",{type:"file"}))throw new TypeError(`The ${r===e?"given":"associated"} ${r?.tagName} element does not accept file uploads`);if(Ae(e))return;const n=(Array.isArray(t)?t:[t]).filter(o=>!this.config.applyAccept||eg(o,r.accept)).slice(0,r.multiple?void 0:1),a=()=>{var o;n.length===((o=r.files)===null||o===void 0?void 0:o.length)&&n.every((i,s)=>{var u;return i===((u=r.files)===null||u===void 0?void 0:u.item(s))})||(Qv(r,va(ve(e),n)),this.dispatchUIEvent(r,"input"),this.dispatchUIEvent(r,"change"))};r.addEventListener("fileDialog",a),await this.click(e),r.removeEventListener("fileDialog",a)}function rr(e){return e.toLowerCase().replace(/(\.|\/)jpg\b/g,"$1jpeg")}function eg(e,t){if(!t)return!0;const r=["audio/*","image/*","video/*"];return rr(t).trim().split(/\s*,\s*/).some(n=>n.startsWith(".")?rr(e.name).endsWith(n):r.includes(n)?rr(e.type).startsWith(n.replace("*","")):rr(e.type)===n)}var qo={click:Tv,dblClick:Sv,tripleClick:xv,hover:Ov,unhover:Mv,tab:Av,keyboard:Dv,copy:Fv,cut:Uv,paste:zv,pointer:Hv,clear:Gv,deselectOptions:Xv,selectOptions:Yv,type:Jv,upload:Zv};function tg(e){return G().asyncWrapper(e)}var Vs={applyAccept:!0,autoModify:!0,delay:0,document:globalThis.document,keyboardMap:pv,pointerMap:mv,pointerEventsCheck:ir.EachApiCall,skipAutoClose:!1,skipClick:!1,skipHover:!1,writeToClipboard:!1,advanceTimers:()=>Promise.resolve()},rg={...Vs,writeToClipboard:!0};function Hs(e={},t=rg,r){const n=ig(e,r,t);return{...t,...e,document:n}}function ng(e={}){const t=Hs(e);Is(t.document),As(ve(t.document).HTMLElement);var r;return uc((r=t.document.defaultView)!==null&&r!==void 0?r:globalThis.window),Ia(t).api}function ue({keyboardState:e,pointerState:t,...r}={},n){const a=Hs(r,Vs,n);Is(a.document),As(ve(a.document).HTMLElement);var o;const i=(o=t??e)!==null&&o!==void 0?o:new Ls;return{api:Ia(a,i).api,system:i}}function ag(e){return Ia({...this.config,...e},this.system).api}function og(e,t){function r(...n){return xt(e,pe.Call),tg(()=>t.apply(e,n).then(async a=>(await wt(e.config),a)))}return Object.defineProperty(r,"name",{get:()=>t.name}),r}function Ia(e,t=new Ls){const r={};return Object.assign(r,{config:e,dispatchEvent:Ms.bind(r),dispatchUIEvent:nv.bind(r),system:t,levelRefs:{},...qo}),{instance:r,api:{...Object.fromEntries(Object.entries(qo).map(([n,a])=>[n,og(r,a)])),setup:ag.bind(r)}}}function ig(e,t,r){var n,a;return(a=(n=e.document)!==null&&n!==void 0?n:t&&lv(t))!==null&&a!==void 0?a:r.document}var sg=xl({clear:()=>lg,click:()=>ug,copy:()=>cg,cut:()=>dg,dblClick:()=>fg,deselectOptions:()=>pg,hover:()=>mg,keyboard:()=>bg,paste:()=>vg,pointer:()=>hg,selectOptions:()=>gg,tab:()=>Cg,tripleClick:()=>yg,type:()=>wg,unhover:()=>Eg,upload:()=>_g});function lg(e){return ue().api.clear(e)}function ug(e,t={}){return ue(t,e).api.click(e)}function cg(e={}){return ue(e).api.copy()}function dg(e={}){return ue(e).api.cut()}function fg(e,t={}){return ue(t).api.dblClick(e)}function pg(e,t,r={}){return ue(r).api.deselectOptions(e,t)}function mg(e,t={}){return ue(t).api.hover(e)}async function bg(e,t={}){const{api:r,system:n}=ue(t);return r.keyboard(e).then(()=>n)}async function hg(e,t={}){const{api:r,system:n}=ue(t);return r.pointer(e).then(()=>n)}function vg(e,t){return ue(t).api.paste(e)}function gg(e,t,r={}){return ue(r).api.selectOptions(e,t)}function yg(e,t={}){return ue(t).api.tripleClick(e)}function wg(e,t,r={}){return ue(r,e).api.type(e,t,r)}function Eg(e,t={}){const{api:r,system:n}=ue(t);return n.pointer.setMousePosition({target:e}),r.unhover(e)}function _g(e,t,r={}){return ue(r).api.upload(e,t)}function Cg(e={}){return ue().api.tab(e)}var Pg={...sg,setup:ng};function Fe(e,t,r){switch(t){case"type":return`Event fired: Typed "${r[1]}" into element`;case"selectOptions":return`Event fired: Selected option(s) ${JSON.stringify(r[1])}`;case"click":return"Event fired: Clicked element";case"dblClick":return"Event fired: Double-clicked element";case"tripleClick":return"Event fired: Triple-clicked element";default:return`Event fired: ${e}.${String(t)} executed`}}var qg={"{arrowdown}":"ArrowDown","{arrowup}":"ArrowUp","{arrowleft}":"ArrowLeft","{arrowright}":"ArrowRight","{enter}":"Enter","{escape}":"Escape","{esc}":"Escape","{tab}":"Tab","{space}":" ","{backspace}":"Backspace","{delete}":"Delete","{del}":"Delete","{home}":"Home","{end}":"End","{pageup}":"PageUp","{pagedown}":"PageDown"};function Rg(e){const t=[];let r=0;for(;r<e.length;)if(e[r]==="{"){const n=e.indexOf("}",r);n!==-1?(t.push(e.slice(r,n+1)),r=n+1):(t.push(e[r]),r++)}else t.push(e[r]),r++;return t}function sr(e,t){e.focus(),e.dispatchEvent(new FocusEvent("focus",{bubbles:!1,cancelable:!1})),e.dispatchEvent(new FocusEvent("focusin",{bubbles:!0,cancelable:!1}));const r=e instanceof HTMLInputElement,n=e instanceof HTMLTextAreaElement;if(r||n){const a=r?Object.getOwnPropertyDescriptor(HTMLInputElement.prototype,"value")?.set:Object.getOwnPropertyDescriptor(HTMLTextAreaElement.prototype,"value")?.set;a?a.call(e,t):e.value=t}e.dispatchEvent(new InputEvent("input",{bubbles:!0,data:t})),e.dispatchEvent(new Event("change",{bubbles:!0}))}function Tg(e){sr(e,"")}function Ws(e,t="userEvent"){return new Proxy(e,{get(r,n,a){const o=Reflect.get(r,n,a);return typeof o!="function"?o:n==="setup"?(...i)=>Ws(o(...i),`${t}.instance`):n==="type"?async(...i)=>{if(document.visibilityState==="hidden"||!document.hasFocus()){sr(i[0],i[1]),re(Fe(t,n,i));return}const s=await o(...i);return re(Fe(t,n,i)),s}:n==="clear"?async(...i)=>{if(document.visibilityState==="hidden"||!document.hasFocus()){Tg(i[0]),re(Fe(t,n,i));return}const s=await o(...i);return re(Fe(t,n,i)),s}:n==="keyboard"?async(...i)=>{if(document.visibilityState==="hidden"||!document.hasFocus()){const u=i[0],l=Rg(u),c=document.activeElement;if(!c||c===document.body){re(Fe(t,n,i));return}let d="";const p=()=>{d&&(sr(c,(c.value??"")+d),d="")};for(const f of l){const g=qg[f.toLowerCase()];g==="Tab"?(p(),c.dispatchEvent(new FocusEvent("blur",{bubbles:!0})),c.dispatchEvent(new FocusEvent("focusout",{bubbles:!0}))):g==="Backspace"?(p(),sr(c,(c.value??"").slice(0,-1))):g?(p(),c.dispatchEvent(new KeyboardEvent("keydown",{bubbles:!0,cancelable:!0,key:g})),c.dispatchEvent(new KeyboardEvent("keyup",{bubbles:!0,cancelable:!0,key:g}))):d+=f}p(),re(Fe(t,n,i));return}const s=await o(...i);return re(Fe(t,n,i)),s}:async(...i)=>{const s=await o(...i);return re(Fe(t,n,i)),s}}})}var Sg=Ws(Pg);function xg(e,t,r){const n=String(t);return/^(get|query|find)(All)?By/.test(n)?`query: ${n}("${r[0]}")`:n==="within"?`helper: within(<${(r[0]?.tagName||"unknown").toLowerCase()}>) called`:n==="prettyDOM"||n==="logDOM"?`debug: ${n} called`:["act","waitFor","waitForElementToBeRemoved"].includes(n)?`async utility: ${n} executed`:`method: ${e}.${n} executed`}var Og=()=>document.querySelector("body > :not(#twd-sidebar-root):not(script):not(style):not(svg):not(path):not(noscript):not(link):not(meta):not(iframe):not(template)")??document.body,Mg=(e,t)=>{const r=ws(Og())[e];if(typeof r=="function")return r(...t);const n=Ur[e];return typeof n=="function"?n(...t):n},Ag=(e,t)=>{const r=Ur[e];return typeof r!="function"?r:r(...t)};function Ks(e,t="screen",r=!1){return new Proxy(e,{get(n,a,o){const i=Reflect.get(n,a,o);return typeof i!="function"?i:(...s)=>{const u=r?Mg(a,s):Ag(a,s);return re(xg(t,a,s)),u}}})}var Ig=Ks(Ur,"screen",!0),Ng=Ks(Ur,"screen",!1);ss({asyncUtilTimeout:3e3,getElementError(e){return new Error(`${e}`)}});var kg=ss;se.truncateThreshold=0;exports.TWDSidebar=Qu;exports.__toESM=An;exports.configureScreenDom=kg;exports.defaultTheme=xi;exports.expect=kt;exports.initTests=nc;exports.injectTheme=Oi;exports.screenDom=Ig;exports.screenDomGlobal=Ng;exports.twd=au;exports.userEvent=Sg;
314
+ for more information about how userEvent parses your input.`}function Dv(e,t){const r=[];do{const{type:a,descriptor:o,consumedLength:i,releasePrevious:s,releaseSelf:u=!0,repeat:l}=Bs(t,"keyboard");var n;const c=(n=e.find(d=>{if(a==="["){var p;return((p=d.code)===null||p===void 0?void 0:p.toLowerCase())===o.toLowerCase()}else if(a==="{"){var f;return((f=d.key)===null||f===void 0?void 0:f.toLowerCase())===o.toLowerCase()}return d.key===o}))!==null&&n!==void 0?n:{key:"Unknown",code:"Unknown",[a==="["?"code":"key"]:o};r.push({keyDef:c,releasePrevious:s,releaseSelf:u,repeat:l}),t=t.slice(i)}while(t);return r}async function Lv(e){const t=Dv(this.config.keyboardMap,e);for(let r=0;r<t.length;r++)await wt(this.config),await Bv(this,t[r])}async function Bv(e,{keyDef:t,releasePrevious:r,releaseSelf:n,repeat:a}){const{system:o}=e;if(o.keyboard.isKeyPressed(t)&&await o.keyboard.keyup(e,t),!r){for(let i=1;i<=a;i++)await o.keyboard.keydown(e,t),i<a&&await wt(e.config);n&&await o.keyboard.keyup(e,t)}}async function $v(e){for(const t of e.system.keyboard.getPressedKeys())await e.system.keyboard.keyup(e,t)}function Us(e){const t=Pe(e)?{"text/plain":Fv(e)}:{"text/plain":String(e.ownerDocument.getSelection())},r=ga(ve(e));for(const n in t)t[n]&&r.setData(n,t[n]);return r}function Fv(e){const t=$t(e);return qe(e).substring(t.startOffset,t.endOffset)}async function Uv(){const e=this.config.document;var t;const r=(t=e.activeElement)!==null&&t!==void 0?t:e.body,n=Us(r);if(n.items.length!==0)return this.dispatchUIEvent(r,"copy",{clipboardData:n})&&this.config.writeToClipboard&&await ki(e,n),n}async function zv(){const e=this.config.document;var t;const r=(t=e.activeElement)!==null&&t!==void 0?t:e.body,n=Us(r);if(n.items.length!==0)return this.dispatchUIEvent(r,"cut",{clipboardData:n})&&this.config.writeToClipboard&&await ki(r.ownerDocument,n),n}async function Vv(e){const t=this.config.document;var r;const n=(r=t.activeElement)!==null&&r!==void 0?r:t.body;var a;const o=(a=typeof e=="string"?Hv(t,e):e)!==null&&a!==void 0?a:await pc(t).catch(()=>{throw new Error("`userEvent.paste()` without `clipboardData` requires the `ClipboardAPI` to be available.")});this.dispatchUIEvent(n,"paste",{clipboardData:o})}function Hv(e,t){const r=ga(ve(e));return r.setData("text",t),r}function _o(e,t){const r=[];do{const{descriptor:n,consumedLength:a,releasePrevious:o,releaseSelf:i=!0}=Bs(t,"pointer"),s=e.find(u=>u.name===n);s&&r.push({keyDef:s,releasePrevious:o,releaseSelf:i}),t=t.slice(a)}while(t);return r}async function Wv(e){const{pointerMap:t}=this.config,r=[];(Array.isArray(e)?e:[e]).forEach(n=>{typeof n=="string"?r.push(..._o(t,n)):"keys"in n?r.push(..._o(t,n.keys).map(a=>({...n,...a}))):r.push(n)});for(let n=0;n<r.length;n++)await wt(this.config),await Kv(this,r[n]);this.system.pointer.resetClickCount()}async function Kv(e,t){var r,n;const a="pointerName"in t&&t.pointerName?t.pointerName:"keyDef"in t?e.system.pointer.getPointerName(t.keyDef):"mouse",o=e.system.pointer.getPreviousPosition(a);var i,s,u,l;const c={target:(i=t.target)!==null&&i!==void 0?i:Gv(e,o),coords:(s=t.coords)!==null&&s!==void 0?s:o?.coords,caret:{node:(u=t.node)!==null&&u!==void 0?u:Co(t)||o==null||(r=o.caret)===null||r===void 0?void 0:r.node,offset:(l=t.offset)!==null&&l!==void 0?l:Co(t)||o==null||(n=o.caret)===null||n===void 0?void 0:n.offset}};"keyDef"in t?(e.system.pointer.isKeyPressed(t.keyDef)&&(xt(e,pe.Trigger),await e.system.pointer.release(e,t.keyDef,c)),t.releasePrevious||(xt(e,pe.Trigger),await e.system.pointer.press(e,t.keyDef,c),t.releaseSelf&&(xt(e,pe.Trigger),await e.system.pointer.release(e,t.keyDef,c)))):(xt(e,pe.Trigger),await e.system.pointer.move(e,a,c))}function Co(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 Gv(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 Yv(e){if(!ht(e)||Ae(e))throw new Error("clear()` is only supported on editable elements.");if(Ve(e),e.ownerDocument.activeElement!==e)throw new Error("The element to be cleared could not be focused.");if(Ts(e),!Vh(e))throw new Error("The element content to be cleared could not be selected.");yt(this,e,"","deleteContentBackward")}async function Xv(e,t){return zs.call(this,!0,e,t)}async function Jv(e,t){return zs.call(this,!1,e,t)}async function zs(e,t,r){if(!e&&!t.multiple)throw G().getElementError("Unable to deselect an option in a non-multiple select. Use selectOptions to change the selection instead.",t);const n=Array.isArray(r)?r:[r],a=Array.from(t.querySelectorAll('option, [role="option"]')),o=n.map(s=>{if(typeof s!="string"&&a.includes(s))return s;{const u=a.find(l=>l.value===s||l.innerHTML===s);if(u)return u;throw G().getElementError(`Value "${String(s)}" not found in options`,t)}}).filter(s=>!Ae(s));if(Ae(t)||!o.length)return;const i=s=>{s.selected=e,this.dispatchUIEvent(t,"input",{bubbles:!0,cancelable:!1,composed:!0}),this.dispatchUIEvent(t,"change")};if(V(t,"select"))if(t.multiple)for(const s of o){const u=this.config.pointerEventsCheck===0?!0:qr(this,s);u&&(this.dispatchUIEvent(s,"pointerover"),this.dispatchUIEvent(t,"pointerenter"),this.dispatchUIEvent(s,"mouseover"),this.dispatchUIEvent(t,"mouseenter"),this.dispatchUIEvent(s,"pointermove"),this.dispatchUIEvent(s,"mousemove"),this.dispatchUIEvent(s,"pointerdown"),this.dispatchUIEvent(s,"mousedown")),Ve(t),u&&(this.dispatchUIEvent(s,"pointerup"),this.dispatchUIEvent(s,"mouseup")),i(s),u&&this.dispatchUIEvent(s,"click"),await wt(this.config)}else if(o.length===1){const s=this.config.pointerEventsCheck===0?!0:qr(this,t);s?await this.click(t):Ve(t),i(o[0]),s&&(this.dispatchUIEvent(t,"pointerover"),this.dispatchUIEvent(t,"pointerenter"),this.dispatchUIEvent(t,"mouseover"),this.dispatchUIEvent(t,"mouseenter"),this.dispatchUIEvent(t,"pointerup"),this.dispatchUIEvent(t,"mouseup"),this.dispatchUIEvent(t,"click")),await wt(this.config)}else throw G().getElementError("Cannot select multiple options on a non-multiple select",t);else if(t.getAttribute("role")==="listbox")for(const s of o)await this.click(s),await this.unhover(s);else throw G().getElementError("Cannot select options on elements that are neither select nor listbox elements",t)}async function Qv(e,t,{skipClick:r=this.config.skipClick,skipAutoClose:n=this.config.skipAutoClose,initialSelectionStart:a,initialSelectionEnd:o}={}){e.disabled||(r||await this.click(e),a!==void 0&&St(e,a,o??a),await this.keyboard(t),n||await $v(this))}var Po=Symbol("files and value properties are mocked");function Zr(e,t,r){r?Object.defineProperty(e,t,r):delete e[t]}function Zv(e,t){var r;(r=e[Po])===null||r===void 0||r.restore();const n=Object.getOwnPropertyDescriptor(e,"type"),a=Object.getOwnPropertyDescriptor(e,"value"),o=Object.getOwnPropertyDescriptor(e,"files");function i(){Zr(e,"type",n),Zr(e,"value",a),Zr(e,"files",o)}e[Po]={restore:i},Object.defineProperties(e,{files:{configurable:!0,get:()=>t},value:{configurable:!0,get:()=>t.length?`C:\\fakepath\\${t[0].name}`:"",set(s){if(s==="")i();else{var u;a==null||(u=a.set)==null||u.call(e,s)}}},type:{configurable:!0,get:()=>"file",set(s){s!=="file"&&(i(),e.type=s)}}})}async function eg(e,t){const r=V(e,"label")?e.control:e;if(!r||!V(r,"input",{type:"file"}))throw new TypeError(`The ${r===e?"given":"associated"} ${r?.tagName} element does not accept file uploads`);if(Ae(e))return;const n=(Array.isArray(t)?t:[t]).filter(o=>!this.config.applyAccept||tg(o,r.accept)).slice(0,r.multiple?void 0:1),a=()=>{var o;n.length===((o=r.files)===null||o===void 0?void 0:o.length)&&n.every((i,s)=>{var u;return i===((u=r.files)===null||u===void 0?void 0:u.item(s))})||(Zv(r,va(ve(e),n)),this.dispatchUIEvent(r,"input"),this.dispatchUIEvent(r,"change"))};r.addEventListener("fileDialog",a),await this.click(e),r.removeEventListener("fileDialog",a)}function rr(e){return e.toLowerCase().replace(/(\.|\/)jpg\b/g,"$1jpeg")}function tg(e,t){if(!t)return!0;const r=["audio/*","image/*","video/*"];return rr(t).trim().split(/\s*,\s*/).some(n=>n.startsWith(".")?rr(e.name).endsWith(n):r.includes(n)?rr(e.type).startsWith(n.replace("*","")):rr(e.type)===n)}var qo={click:Sv,dblClick:xv,tripleClick:Ov,hover:Mv,unhover:Av,tab:Iv,keyboard:Lv,copy:Uv,cut:zv,paste:Vv,pointer:Wv,clear:Yv,deselectOptions:Jv,selectOptions:Xv,type:Qv,upload:eg};function rg(e){return G().asyncWrapper(e)}var Vs={applyAccept:!0,autoModify:!0,delay:0,document:globalThis.document,keyboardMap:mv,pointerMap:bv,pointerEventsCheck:ir.EachApiCall,skipAutoClose:!1,skipClick:!1,skipHover:!1,writeToClipboard:!1,advanceTimers:()=>Promise.resolve()},ng={...Vs,writeToClipboard:!0};function Hs(e={},t=ng,r){const n=sg(e,r,t);return{...t,...e,document:n}}function ag(e={}){const t=Hs(e);Is(t.document),As(ve(t.document).HTMLElement);var r;return cc((r=t.document.defaultView)!==null&&r!==void 0?r:globalThis.window),Ia(t).api}function ue({keyboardState:e,pointerState:t,...r}={},n){const a=Hs(r,Vs,n);Is(a.document),As(ve(a.document).HTMLElement);var o;const i=(o=t??e)!==null&&o!==void 0?o:new Ls;return{api:Ia(a,i).api,system:i}}function og(e){return Ia({...this.config,...e},this.system).api}function ig(e,t){function r(...n){return xt(e,pe.Call),rg(()=>t.apply(e,n).then(async a=>(await wt(e.config),a)))}return Object.defineProperty(r,"name",{get:()=>t.name}),r}function Ia(e,t=new Ls){const r={};return Object.assign(r,{config:e,dispatchEvent:Ms.bind(r),dispatchUIEvent:av.bind(r),system:t,levelRefs:{},...qo}),{instance:r,api:{...Object.fromEntries(Object.entries(qo).map(([n,a])=>[n,ig(r,a)])),setup:og.bind(r)}}}function sg(e,t,r){var n,a;return(a=(n=e.document)!==null&&n!==void 0?n:t&&uv(t))!==null&&a!==void 0?a:r.document}var lg=xl({clear:()=>ug,click:()=>cg,copy:()=>dg,cut:()=>fg,dblClick:()=>pg,deselectOptions:()=>mg,hover:()=>bg,keyboard:()=>hg,paste:()=>gg,pointer:()=>vg,selectOptions:()=>yg,tab:()=>Pg,tripleClick:()=>wg,type:()=>Eg,unhover:()=>_g,upload:()=>Cg});function ug(e){return ue().api.clear(e)}function cg(e,t={}){return ue(t,e).api.click(e)}function dg(e={}){return ue(e).api.copy()}function fg(e={}){return ue(e).api.cut()}function pg(e,t={}){return ue(t).api.dblClick(e)}function mg(e,t,r={}){return ue(r).api.deselectOptions(e,t)}function bg(e,t={}){return ue(t).api.hover(e)}async function hg(e,t={}){const{api:r,system:n}=ue(t);return r.keyboard(e).then(()=>n)}async function vg(e,t={}){const{api:r,system:n}=ue(t);return r.pointer(e).then(()=>n)}function gg(e,t){return ue(t).api.paste(e)}function yg(e,t,r={}){return ue(r).api.selectOptions(e,t)}function wg(e,t={}){return ue(t).api.tripleClick(e)}function Eg(e,t,r={}){return ue(r,e).api.type(e,t,r)}function _g(e,t={}){const{api:r,system:n}=ue(t);return n.pointer.setMousePosition({target:e}),r.unhover(e)}function Cg(e,t,r={}){return ue(r).api.upload(e,t)}function Pg(e={}){return ue().api.tab(e)}var qg={...lg,setup:ag};function Fe(e,t,r){switch(t){case"type":return`Event fired: Typed "${r[1]}" into element`;case"selectOptions":return`Event fired: Selected option(s) ${JSON.stringify(r[1])}`;case"click":return"Event fired: Clicked element";case"dblClick":return"Event fired: Double-clicked element";case"tripleClick":return"Event fired: Triple-clicked element";default:return`Event fired: ${e}.${String(t)} executed`}}var Rg={"{arrowdown}":"ArrowDown","{arrowup}":"ArrowUp","{arrowleft}":"ArrowLeft","{arrowright}":"ArrowRight","{enter}":"Enter","{escape}":"Escape","{esc}":"Escape","{tab}":"Tab","{space}":" ","{backspace}":"Backspace","{delete}":"Delete","{del}":"Delete","{home}":"Home","{end}":"End","{pageup}":"PageUp","{pagedown}":"PageDown"};function Tg(e){const t=[];let r=0;for(;r<e.length;)if(e[r]==="{"){const n=e.indexOf("}",r);n!==-1?(t.push(e.slice(r,n+1)),r=n+1):(t.push(e[r]),r++)}else t.push(e[r]),r++;return t}function sr(e,t){e.focus(),e.dispatchEvent(new FocusEvent("focus",{bubbles:!1,cancelable:!1})),e.dispatchEvent(new FocusEvent("focusin",{bubbles:!0,cancelable:!1}));const r=e instanceof HTMLInputElement,n=e instanceof HTMLTextAreaElement;if(r||n){const a=r?Object.getOwnPropertyDescriptor(HTMLInputElement.prototype,"value")?.set:Object.getOwnPropertyDescriptor(HTMLTextAreaElement.prototype,"value")?.set;a?a.call(e,t):e.value=t}e.dispatchEvent(new InputEvent("input",{bubbles:!0,data:t})),e.dispatchEvent(new Event("change",{bubbles:!0}))}function Sg(e){sr(e,"")}function Ws(e,t="userEvent"){return new Proxy(e,{get(r,n,a){const o=Reflect.get(r,n,a);return typeof o!="function"?o:n==="setup"?(...i)=>Ws(o(...i),`${t}.instance`):n==="type"?async(...i)=>{if(document.visibilityState==="hidden"||!document.hasFocus()){sr(i[0],i[1]),te(Fe(t,n,i));return}const s=await o(...i);return te(Fe(t,n,i)),s}:n==="clear"?async(...i)=>{if(document.visibilityState==="hidden"||!document.hasFocus()){Sg(i[0]),te(Fe(t,n,i));return}const s=await o(...i);return te(Fe(t,n,i)),s}:n==="keyboard"?async(...i)=>{if(document.visibilityState==="hidden"||!document.hasFocus()){const u=i[0],l=Tg(u),c=document.activeElement;if(!c||c===document.body){te(Fe(t,n,i));return}let d="";const p=()=>{d&&(sr(c,(c.value??"")+d),d="")};for(const f of l){const g=Rg[f.toLowerCase()];g==="Tab"?(p(),c.dispatchEvent(new FocusEvent("blur",{bubbles:!0})),c.dispatchEvent(new FocusEvent("focusout",{bubbles:!0}))):g==="Backspace"?(p(),sr(c,(c.value??"").slice(0,-1))):g?(p(),c.dispatchEvent(new KeyboardEvent("keydown",{bubbles:!0,cancelable:!0,key:g})),c.dispatchEvent(new KeyboardEvent("keyup",{bubbles:!0,cancelable:!0,key:g}))):d+=f}p(),te(Fe(t,n,i));return}const s=await o(...i);return te(Fe(t,n,i)),s}:async(...i)=>{const s=await o(...i);return te(Fe(t,n,i)),s}}})}var xg=Ws(qg);function Og(e,t,r){const n=String(t);return/^(get|query|find)(All)?By/.test(n)?`query: ${n}("${r[0]}")`:n==="within"?`helper: within(<${(r[0]?.tagName||"unknown").toLowerCase()}>) called`:n==="prettyDOM"||n==="logDOM"?`debug: ${n} called`:["act","waitFor","waitForElementToBeRemoved"].includes(n)?`async utility: ${n} executed`:`method: ${e}.${n} executed`}var Mg=()=>document.querySelector("body > :not(#twd-sidebar-root):not(script):not(style):not(svg):not(path):not(noscript):not(link):not(meta):not(iframe):not(template)")??document.body,Ag=(e,t)=>{const r=ws(Mg())[e];if(typeof r=="function")return r(...t);const n=Ur[e];return typeof n=="function"?n(...t):n},Ig=(e,t)=>{const r=Ur[e];return typeof r!="function"?r:r(...t)};function Ks(e,t="screen",r=!1){return new Proxy(e,{get(n,a,o){const i=Reflect.get(n,a,o);return typeof i!="function"?i:(...s)=>{const u=r?Ag(a,s):Ig(a,s);return te(Og(t,a,s)),u}}})}var Ng=Ks(Ur,"screen",!0),kg=Ks(Ur,"screen",!1);ss({asyncUtilTimeout:3e3,getElementError(e){return new Error(`${e}`)}});var jg=ss;se.truncateThreshold=0;exports.TWDSidebar=Zu;exports.__toESM=An;exports.configureScreenDom=jg;exports.defaultTheme=xi;exports.expect=kt;exports.initTests=ac;exports.injectTheme=Oi;exports.screenDom=Ng;exports.screenDomGlobal=kg;exports.twd=ou;exports.userEvent=xg;