scriptorium 0.0.1 → 0.2.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.
Files changed (102) hide show
  1. package/README.md +31 -8
  2. package/bin/scriptorium.js +1 -1
  3. package/build/client/assets/_layout-4p0zIumj.js +1 -0
  4. package/build/client/assets/_layout-CG4jvKXd.js +1 -0
  5. package/build/client/assets/_layout-DUvno75Q.js +1 -0
  6. package/build/client/assets/_layout-tj841ZFj.js +3 -0
  7. package/build/client/assets/auth-shell-CM4lzbUg.js +1 -0
  8. package/build/client/assets/breadcrumbs-CLMk50vh.js +1 -0
  9. package/build/client/assets/{chunk-EPOLDU6W-B-j6nV8T.js → chunk-EPOLDU6W-BT1NqV1s.js} +11 -11
  10. package/build/client/assets/confirm-passkey-sqNHrDN7.js +1 -0
  11. package/build/client/assets/document-title-CaFCBnQ-.js +1 -0
  12. package/build/client/assets/entry.client-B2qwDNf_.js +13 -0
  13. package/build/client/assets/events-BGAz2o24.js +39 -0
  14. package/build/client/assets/files-247Zppti.js +1 -0
  15. package/build/client/assets/files-COflIyot.js +1 -0
  16. package/build/client/assets/files-browser-DKxCza7c.js +1 -0
  17. package/build/client/assets/files.browse-BBMm6lgA.js +1 -0
  18. package/build/client/assets/files.browse-Dq0nnEAB.js +1 -0
  19. package/build/client/assets/index-BumTGMZF.js +1 -0
  20. package/build/client/assets/index-CLO24mr0.js +1 -0
  21. package/build/client/assets/index-D-coH8u1.js +34 -0
  22. package/build/client/assets/index-DxuBmPz-.js +1 -0
  23. package/build/client/assets/jsx-runtime-u17CrQMm.js +1 -0
  24. package/build/client/assets/login-SMI1sC8T.js +1 -0
  25. package/build/client/assets/manifest-27a6038b.js +1 -0
  26. package/build/client/assets/passkeys-Cg-Qx1Gj.js +1 -0
  27. package/build/client/assets/project-events-provider-Cz1h_7Z0.js +1 -0
  28. package/build/client/assets/project-route-Cqnw3iG7.js +1 -0
  29. package/build/client/assets/projects-CcOVpbnV.js +1 -0
  30. package/build/client/assets/projects._projectId.proxy._-l0sNRNKZ.js +1 -0
  31. package/build/client/assets/projects.new-BIAajDmU.js +1 -0
  32. package/build/client/assets/register-CwUWzMvC.js +1 -0
  33. package/build/client/assets/review-browser-CkLIZsiU.js +1 -0
  34. package/build/client/assets/review._mode-CjiM88Yw.js +1 -0
  35. package/build/client/assets/review.uncommitted-DnCOhh-l.js +1 -0
  36. package/build/client/assets/root-DtlaHd7Y.js +1 -0
  37. package/build/client/assets/root-h1ZnuAzH.css +1 -0
  38. package/build/client/assets/{scroll-indicator-CFaTM_rb.js → scroll-indicator-DxagqbkL.js} +8 -8
  39. package/build/client/assets/scrollable-layout-CR2OL0dM.js +1 -0
  40. package/build/client/assets/session-route-Cd_9l4G7.js +1 -0
  41. package/build/client/assets/sessions-provider-xySz_P7U.js +1 -0
  42. package/build/client/assets/settings-CYavUXKt.js +1 -0
  43. package/build/client/assets/sidebar-BpDMNa9u.js +1 -0
  44. package/build/client/assets/use-double-check-BJPDnzvf.js +1 -0
  45. package/build/runtime/app/lib/runtime-config/cache.server.js +15 -0
  46. package/build/runtime/app/lib/runtime-config/cli.server.js +79 -0
  47. package/build/runtime/app/lib/runtime-config/docs.server.js +170 -0
  48. package/build/runtime/app/lib/runtime-config/loader.server.js +69 -0
  49. package/build/runtime/app/lib/runtime-config/schema.server.js +128 -0
  50. package/build/runtime/server/index.js +176 -0
  51. package/build/server/index.js +8989 -4661
  52. package/docs/config.md +12 -8
  53. package/drizzle/20260324172031_curved_junta/migration.sql +20 -0
  54. package/drizzle/20260324172031_curved_junta/snapshot.json +684 -0
  55. package/drizzle/20260327233106_model_usage/migration.sql +15 -0
  56. package/drizzle/20260327233106_model_usage/snapshot.json +830 -0
  57. package/drizzle/20260331000000_projects_and_model_usages/migration.sql +41 -0
  58. package/package.json +18 -5
  59. package/build/client/assets/_layout-D-bxuQBW.js +0 -1
  60. package/build/client/assets/_layout-D2eOWFrG.js +0 -1
  61. package/build/client/assets/_layout-D4m0RbUC.js +0 -1
  62. package/build/client/assets/_layout-DggtTDZp.js +0 -1
  63. package/build/client/assets/auth-shell-FEL5QDuP.js +0 -1
  64. package/build/client/assets/confirm-passkey-ntLsS7_k.js +0 -1
  65. package/build/client/assets/entry.client-BkscxSA6.js +0 -5
  66. package/build/client/assets/file-list-DBDZbrBp.js +0 -1
  67. package/build/client/assets/files-Bzkr7-i7.js +0 -1
  68. package/build/client/assets/files-browser-KNurSsen.js +0 -1
  69. package/build/client/assets/files-cnv1kfgp.js +0 -1
  70. package/build/client/assets/files.browse-9p4xl9MV.js +0 -1
  71. package/build/client/assets/git-CjSY0eSC.js +0 -1
  72. package/build/client/assets/git-T0lLjMNd.js +0 -1
  73. package/build/client/assets/git-browser-DwSOY6QN.js +0 -1
  74. package/build/client/assets/iconify-BDcX0yw8.js +0 -1
  75. package/build/client/assets/index-8zQ7Fizv.js +0 -9
  76. package/build/client/assets/index-BUN6tnpl.js +0 -1
  77. package/build/client/assets/index-BlNoCKAt.js +0 -1
  78. package/build/client/assets/index-g2QB9BbT.js +0 -1
  79. package/build/client/assets/instance-events-provider-DTYnvumj.js +0 -39
  80. package/build/client/assets/instance-route-C25LRYYo.js +0 -1
  81. package/build/client/assets/instances-CzjXhR3c.js +0 -1
  82. package/build/client/assets/instances._instanceId.sessions._sessionId.test-COZIMxji.js +0 -208
  83. package/build/client/assets/instances.new-BZi5xwEV.js +0 -1
  84. package/build/client/assets/login-Bwt79t7_.js +0 -1
  85. package/build/client/assets/magic-string.es-DjU5CGuV.js +0 -10
  86. package/build/client/assets/manifest-3c01c628.js +0 -1
  87. package/build/client/assets/message-card-DJ5C3WNp.js +0 -34
  88. package/build/client/assets/passkeys-DpNQs4bn.js +0 -1
  89. package/build/client/assets/register-DXPj5RLZ.js +0 -1
  90. package/build/client/assets/root-DxD-Skic.css +0 -1
  91. package/build/client/assets/root-DxyfhNRI.js +0 -1
  92. package/build/client/assets/scrollable-layout-CS-vPTNM.js +0 -1
  93. package/build/client/assets/session-route-oxi4s_Qg.js +0 -1
  94. package/build/client/assets/sessions-provider-D1t07kir.js +0 -1
  95. package/build/client/assets/settings-CameSNIM.js +0 -1
  96. package/build/client/assets/sidebar-DRhB33rT.js +0 -1
  97. package/build/client/assets/use-double-check-CbbarqDt.js +0 -1
  98. package/build/runtime/app/lib/runtime-config.server.js +0 -422
  99. package/build/runtime/cli/scriptorium.js +0 -21
  100. package/build/runtime/cli/serve.js +0 -101
  101. /package/build/client/assets/{message-card-BclR_JqA.css → index-BclR_JqA.css} +0 -0
  102. /package/build/client/assets/{instances._instanceId.proxy._-l0sNRNKZ.js → projects._projectId.file-references.resolve-l0sNRNKZ.js} +0 -0
@@ -1,208 +0,0 @@
1
- var ay=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports);import{b as sy,g as ly,r as mi,j as za}from"./files.browse-9p4xl9MV.js";import{R as Gi,c as Fu}from"./index-8zQ7Fizv.js";import{M as Va}from"./message-card-DJ5C3WNp.js";import"./chunk-EPOLDU6W-B-j6nV8T.js";import"./iconify-BDcX0yw8.js";import"./scroll-indicator-CFaTM_rb.js";import"./cn-Kn7NbJqM.js";var n0=ay((h0,Jt)=>{var Ha={exports:{}},Wa={};var ku;function uy(){if(ku)return Wa;ku=1;var e=sy(),t=!1;return Wa.act=function(r){return t===!1&&(t=!0,console.error("`ReactDOMTestUtils.act` is deprecated in favor of `React.act`. Import `act` from `react` instead of `react-dom/test-utils`. See https://react.dev/warnings/react-dom-test-utils for more info.")),e.act(r)},Wa}var Lu;function cy(){return Lu||(Lu=1,Ha.exports=uy()),Ha.exports}var fy=cy(),at={},Ki={exports:{}};Ki.exports;var Bu;function sh(){return Bu||(Bu=1,(function(e){const r=(i=0)=>a=>`\x1B[${38+i};5;${a}m`,n=(i=0)=>(a,l,u)=>`\x1B[${38+i};2;${a};${l};${u}m`;function o(){const i=new Map,a={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]}};a.color.gray=a.color.blackBright,a.bgColor.bgGray=a.bgColor.bgBlackBright,a.color.grey=a.color.blackBright,a.bgColor.bgGrey=a.bgColor.bgBlackBright;for(const[l,u]of Object.entries(a)){for(const[s,c]of Object.entries(u))a[s]={open:`\x1B[${c[0]}m`,close:`\x1B[${c[1]}m`},u[s]=a[s],i.set(c[0],c[1]);Object.defineProperty(a,l,{value:u,enumerable:!1})}return Object.defineProperty(a,"codes",{value:i,enumerable:!1}),a.color.close="\x1B[39m",a.bgColor.close="\x1B[49m",a.color.ansi256=r(),a.color.ansi16m=n(),a.bgColor.ansi256=r(10),a.bgColor.ansi16m=n(10),Object.defineProperties(a,{rgbToAnsi256:{value:(l,u,s)=>l===u&&u===s?l<8?16:l>248?231:Math.round((l-8)/247*24)+232:16+36*Math.round(l/255*5)+6*Math.round(u/255*5)+Math.round(s/255*5),enumerable:!1},hexToRgb:{value:l=>{const u=/(?<colorString>[a-f\d]{6}|[a-f\d]{3})/i.exec(l.toString(16));if(!u)return[0,0,0];let{colorString:s}=u.groups;s.length===3&&(s=s.split("").map(d=>d+d).join(""));const c=Number.parseInt(s,16);return[c>>16&255,c>>8&255,c&255]},enumerable:!1},hexToAnsi256:{value:l=>a.rgbToAnsi256(...a.hexToRgb(l)),enumerable:!1}}),a}Object.defineProperty(e,"exports",{enumerable:!0,get:o})})(Ki)),Ki.exports}var Nt={},Uu;function Ra(){if(Uu)return Nt;Uu=1,Object.defineProperty(Nt,"__esModule",{value:!0}),Nt.printIteratorEntries=t,Nt.printIteratorValues=r,Nt.printListItems=n,Nt.printObjectProperties=o;const e=(i,a)=>{const l=Object.keys(i).sort(a);return Object.getOwnPropertySymbols&&Object.getOwnPropertySymbols(i).forEach(u=>{Object.getOwnPropertyDescriptor(i,u).enumerable&&l.push(u)}),l};function t(i,a,l,u,s,c,d=": "){let f="",p=i.next();if(!p.done){f+=a.spacingOuter;const m=l+a.indent;for(;!p.done;){const h=c(p.value[0],a,m,u,s),g=c(p.value[1],a,m,u,s);f+=m+h+d+g,p=i.next(),p.done?a.min||(f+=","):f+=","+a.spacingInner}f+=a.spacingOuter+l}return f}function r(i,a,l,u,s,c){let d="",f=i.next();if(!f.done){d+=a.spacingOuter;const p=l+a.indent;for(;!f.done;)d+=p+c(f.value,a,p,u,s),f=i.next(),f.done?a.min||(d+=","):d+=","+a.spacingInner;d+=a.spacingOuter+l}return d}function n(i,a,l,u,s,c){let d="";if(i.length){d+=a.spacingOuter;const f=l+a.indent;for(let p=0;p<i.length;p++)d+=f,p in i&&(d+=c(i[p],a,f,u,s)),p<i.length-1?d+=","+a.spacingInner:a.min||(d+=",");d+=a.spacingOuter+l}return d}function o(i,a,l,u,s,c){let d="";const f=e(i,a.compareKeys);if(f.length){d+=a.spacingOuter;const p=l+a.indent;for(let m=0;m<f.length;m++){const h=f[m],g=c(h,a,p,u,s),b=c(i[h],a,p,u,s);d+=p+g+": "+b,m<f.length-1?d+=","+a.spacingInner:a.min||(d+=",")}d+=a.spacingOuter+l}return d}return Nt}var dt={},zu;function dy(){if(zu)return dt;zu=1,Object.defineProperty(dt,"__esModule",{value:!0}),dt.test=dt.serialize=dt.default=void 0;var e=Ra(),t=(function(){return typeof globalThis<"u"?globalThis:typeof t<"u"?t:typeof self<"u"?self:typeof window<"u"?window:Function("return this")()})(),r=t["jest-symbol-do-not-touch"]||t.Symbol;const n=typeof r=="function"&&r.for?r.for("jest.asymmetricMatcher"):1267621,o=" ",i=(s,c,d,f,p,m)=>{const h=s.toString();return h==="ArrayContaining"||h==="ArrayNotContaining"?++f>c.maxDepth?"["+h+"]":h+o+"["+(0,e.printListItems)(s.sample,c,d,f,p,m)+"]":h==="ObjectContaining"||h==="ObjectNotContaining"?++f>c.maxDepth?"["+h+"]":h+o+"{"+(0,e.printObjectProperties)(s.sample,c,d,f,p,m)+"}":h==="StringMatching"||h==="StringNotMatching"||h==="StringContaining"||h==="StringNotContaining"?h+o+m(s.sample,c,d,f,p):s.toAsymmetricMatcher()};dt.serialize=i;const a=s=>s&&s.$$typeof===n;dt.test=a;var u={serialize:i,test:a};return dt.default=u,dt}var pt={},Ga,Vu;function py(){return Vu||(Vu=1,Ga=({onlyFirst:e=!1}={})=>{const t=["[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]+)*|[a-zA-Z\\d]+(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?\\u0007)","(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PR-TZcf-ntqry=><~]))"].join("|");return new RegExp(t,e?void 0:"g")}),Ga}var Hu;function my(){if(Hu)return pt;Hu=1,Object.defineProperty(pt,"__esModule",{value:!0}),pt.test=pt.serialize=pt.default=void 0;var e=r(py()),t=r(sh());function r(u){return u&&u.__esModule?u:{default:u}}const n=u=>u.replace((0,e.default)(),s=>{switch(s){case t.default.red.close:case t.default.green.close:case t.default.cyan.close:case t.default.gray.close:case t.default.white.close:case t.default.yellow.close:case t.default.bgRed.close:case t.default.bgGreen.close:case t.default.bgYellow.close:case t.default.inverse.close:case t.default.dim.close:case t.default.bold.close:case t.default.reset.open:case t.default.reset.close:return"</>";case t.default.red.open:return"<red>";case t.default.green.open:return"<green>";case t.default.cyan.open:return"<cyan>";case t.default.gray.open:return"<gray>";case t.default.white.open:return"<white>";case t.default.yellow.open:return"<yellow>";case t.default.bgRed.open:return"<bgRed>";case t.default.bgGreen.open:return"<bgGreen>";case t.default.bgYellow.open:return"<bgYellow>";case t.default.inverse.open:return"<inverse>";case t.default.dim.open:return"<dim>";case t.default.bold.open:return"<bold>";default:return""}}),o=u=>typeof u=="string"&&!!u.match((0,e.default)());pt.test=o;const i=(u,s,c,d,f,p)=>p(n(u),s,c,d,f);pt.serialize=i;var l={serialize:i,test:o};return pt.default=l,pt}var mt={},Wu;function hy(){if(Wu)return mt;Wu=1,Object.defineProperty(mt,"__esModule",{value:!0}),mt.test=mt.serialize=mt.default=void 0;var e=Ra();const t=" ",r=["DOMStringMap","NamedNodeMap"],n=/^(HTML\w*Collection|NodeList)$/,o=c=>r.indexOf(c)!==-1||n.test(c),i=c=>c&&c.constructor&&!!c.constructor.name&&o(c.constructor.name);mt.test=i;const a=c=>c.constructor.name==="NamedNodeMap",l=(c,d,f,p,m,h)=>{const g=c.constructor.name;return++p>d.maxDepth?"["+g+"]":(d.min?"":g+t)+(r.indexOf(g)!==-1?"{"+(0,e.printObjectProperties)(a(c)?Array.from(c).reduce((b,R)=>(b[R.name]=R.value,b),{}):{...c},d,f,p,m,h)+"}":"["+(0,e.printListItems)(Array.from(c),d,f,p,m,h)+"]")};mt.serialize=l;var s={serialize:l,test:i};return mt.default=s,mt}var ht={},je={},ji={},Gu;function by(){if(Gu)return ji;Gu=1,Object.defineProperty(ji,"__esModule",{value:!0}),ji.default=e;function e(t){return t.replace(/</g,"&lt;").replace(/>/g,"&gt;")}return ji}var Ku;function Cl(){if(Ku)return je;Ku=1,Object.defineProperty(je,"__esModule",{value:!0}),je.printText=je.printProps=je.printElementAsLeaf=je.printElement=je.printComment=je.printChildren=void 0;var e=t(by());function t(u){return u&&u.__esModule?u:{default:u}}const r=(u,s,c,d,f,p,m)=>{const h=d+c.indent,g=c.colors;return u.map(b=>{const R=s[b];let T=m(R,c,h,f,p);return typeof R!="string"&&(T.indexOf(`
2
- `)!==-1&&(T=c.spacingOuter+h+T+c.spacingOuter+d),T="{"+T+"}"),c.spacingInner+d+g.prop.open+b+g.prop.close+"="+g.value.open+T+g.value.close}).join("")};je.printProps=r;const n=(u,s,c,d,f,p)=>u.map(m=>s.spacingOuter+c+(typeof m=="string"?o(m,s):p(m,s,c,d,f))).join("");je.printChildren=n;const o=(u,s)=>{const c=s.colors.content;return c.open+(0,e.default)(u)+c.close};je.printText=o;const i=(u,s)=>{const c=s.colors.comment;return c.open+"<!--"+(0,e.default)(u)+"-->"+c.close};je.printComment=i;const a=(u,s,c,d,f)=>{const p=d.colors.tag;return p.open+"<"+u+(s&&p.close+s+d.spacingOuter+f+p.open)+(c?">"+p.close+c+d.spacingOuter+f+p.open+"</"+u:(s&&!d.min?"":" ")+"/")+">"+p.close};je.printElement=a;const l=(u,s)=>{const c=s.colors.tag;return c.open+"<"+u+c.close+" …"+c.open+" />"+c.close};return je.printElementAsLeaf=l,je}var Yu;function gy(){if(Yu)return ht;Yu=1,Object.defineProperty(ht,"__esModule",{value:!0}),ht.test=ht.serialize=ht.default=void 0;var e=Cl();const t=1,r=3,n=8,o=11,i=/^((HTML|SVG)\w*)?Element$/,a=h=>{try{return typeof h.hasAttribute=="function"&&h.hasAttribute("is")}catch{return!1}},l=h=>{const g=h.constructor.name,{nodeType:b,tagName:R}=h,T=typeof R=="string"&&R.includes("-")||a(h);return b===t&&(i.test(g)||T)||b===r&&g==="Text"||b===n&&g==="Comment"||b===o&&g==="DocumentFragment"},u=h=>{var g;return(h==null||(g=h.constructor)===null||g===void 0?void 0:g.name)&&l(h)};ht.test=u;function s(h){return h.nodeType===r}function c(h){return h.nodeType===n}function d(h){return h.nodeType===o}const f=(h,g,b,R,T,_)=>{if(s(h))return(0,e.printText)(h.data,g);if(c(h))return(0,e.printComment)(h.data,g);const x=d(h)?"DocumentFragment":h.tagName.toLowerCase();return++R>g.maxDepth?(0,e.printElementAsLeaf)(x,g):(0,e.printElement)(x,(0,e.printProps)(d(h)?[]:Array.from(h.attributes).map(v=>v.name).sort(),d(h)?{}:Array.from(h.attributes).reduce((v,y)=>(v[y.name]=y.value,v),{}),g,b+g.indent,R,T,_),(0,e.printChildren)(Array.prototype.slice.call(h.childNodes||h.children),g,b+g.indent,R,T,_),g,b)};ht.serialize=f;var m={serialize:f,test:u};return ht.default=m,ht}var bt={},Ju;function yy(){if(Ju)return bt;Ju=1,Object.defineProperty(bt,"__esModule",{value:!0}),bt.test=bt.serialize=bt.default=void 0;var e=Ra();const t="@@__IMMUTABLE_ITERABLE__@@",r="@@__IMMUTABLE_LIST__@@",n="@@__IMMUTABLE_KEYED__@@",o="@@__IMMUTABLE_MAP__@@",i="@@__IMMUTABLE_ORDERED__@@",a="@@__IMMUTABLE_RECORD__@@",l="@@__IMMUTABLE_SEQ__@@",u="@@__IMMUTABLE_SET__@@",s="@@__IMMUTABLE_STACK__@@",c=y=>"Immutable."+y,d=y=>"["+y+"]",f=" ",p="…",m=(y,S,N,I,L,B,$)=>++I>S.maxDepth?d(c($)):c($)+f+"{"+(0,e.printIteratorEntries)(y.entries(),S,N,I,L,B)+"}";function h(y){let S=0;return{next(){if(S<y._keys.length){const N=y._keys[S++];return{done:!1,value:[N,y.get(N)]}}return{done:!0,value:void 0}}}}const g=(y,S,N,I,L,B)=>{const $=c(y._name||"Record");return++I>S.maxDepth?d($):$+f+"{"+(0,e.printIteratorEntries)(h(y),S,N,I,L,B)+"}"},b=(y,S,N,I,L,B)=>{const $=c("Seq");return++I>S.maxDepth?d($):y[n]?$+f+"{"+(y._iter||y._object?(0,e.printIteratorEntries)(y.entries(),S,N,I,L,B):p)+"}":$+f+"["+(y._iter||y._array||y._collection||y._iterable?(0,e.printIteratorValues)(y.values(),S,N,I,L,B):p)+"]"},R=(y,S,N,I,L,B,$)=>++I>S.maxDepth?d(c($)):c($)+f+"["+(0,e.printIteratorValues)(y.values(),S,N,I,L,B)+"]",T=(y,S,N,I,L,B)=>y[o]?m(y,S,N,I,L,B,y[i]?"OrderedMap":"Map"):y[r]?R(y,S,N,I,L,B,"List"):y[u]?R(y,S,N,I,L,B,y[i]?"OrderedSet":"Set"):y[s]?R(y,S,N,I,L,B,"Stack"):y[l]?b(y,S,N,I,L,B):g(y,S,N,I,L,B);bt.serialize=T;const _=y=>y&&(y[t]===!0||y[a]===!0);bt.test=_;var v={serialize:T,test:_};return bt.default=v,bt}var gt={},Ka={exports:{}},fe={};var Xu;function vy(){if(Xu)return fe;Xu=1;var e=60103,t=60106,r=60107,n=60108,o=60114,i=60109,a=60110,l=60112,u=60113,s=60120,c=60115,d=60116,f=60121,p=60122,m=60117,h=60129,g=60131;if(typeof Symbol=="function"&&Symbol.for){var b=Symbol.for;e=b("react.element"),t=b("react.portal"),r=b("react.fragment"),n=b("react.strict_mode"),o=b("react.profiler"),i=b("react.provider"),a=b("react.context"),l=b("react.forward_ref"),u=b("react.suspense"),s=b("react.suspense_list"),c=b("react.memo"),d=b("react.lazy"),f=b("react.block"),p=b("react.server.block"),m=b("react.fundamental"),h=b("react.debug_trace_mode"),g=b("react.legacy_hidden")}function R($){if(typeof $=="object"&&$!==null){var D=$.$$typeof;switch(D){case e:switch($=$.type,$){case r:case o:case n:case u:case s:return $;default:switch($=$&&$.$$typeof,$){case a:case l:case d:case c:case i:return $;default:return D}}case t:return D}}}var T=i,_=e,x=l,v=r,y=d,S=c,N=t,I=o,L=n,B=u;return fe.ContextConsumer=a,fe.ContextProvider=T,fe.Element=_,fe.ForwardRef=x,fe.Fragment=v,fe.Lazy=y,fe.Memo=S,fe.Portal=N,fe.Profiler=I,fe.StrictMode=L,fe.Suspense=B,fe.isAsyncMode=function(){return!1},fe.isConcurrentMode=function(){return!1},fe.isContextConsumer=function($){return R($)===a},fe.isContextProvider=function($){return R($)===i},fe.isElement=function($){return typeof $=="object"&&$!==null&&$.$$typeof===e},fe.isForwardRef=function($){return R($)===l},fe.isFragment=function($){return R($)===r},fe.isLazy=function($){return R($)===d},fe.isMemo=function($){return R($)===c},fe.isPortal=function($){return R($)===t},fe.isProfiler=function($){return R($)===o},fe.isStrictMode=function($){return R($)===n},fe.isSuspense=function($){return R($)===u},fe.isValidElementType=function($){return typeof $=="string"||typeof $=="function"||$===r||$===o||$===h||$===n||$===u||$===s||$===g||typeof $=="object"&&$!==null&&($.$$typeof===d||$.$$typeof===c||$.$$typeof===i||$.$$typeof===a||$.$$typeof===l||$.$$typeof===m||$.$$typeof===f||$[0]===p)},fe.typeOf=R,fe}var Zu;function wy(){return Zu||(Zu=1,Ka.exports=vy()),Ka.exports}var Qu;function Ry(){if(Qu)return gt;Qu=1,Object.defineProperty(gt,"__esModule",{value:!0}),gt.test=gt.serialize=gt.default=void 0;var e=n(wy()),t=Cl();function r(d){if(typeof WeakMap!="function")return null;var f=new WeakMap,p=new WeakMap;return(r=function(m){return m?p:f})(d)}function n(d,f){if(d&&d.__esModule)return d;if(d===null||typeof d!="object"&&typeof d!="function")return{default:d};var p=r(f);if(p&&p.has(d))return p.get(d);var m={},h=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var g in d)if(g!=="default"&&Object.prototype.hasOwnProperty.call(d,g)){var b=h?Object.getOwnPropertyDescriptor(d,g):null;b&&(b.get||b.set)?Object.defineProperty(m,g,b):m[g]=d[g]}return m.default=d,p&&p.set(d,m),m}const o=(d,f=[])=>(Array.isArray(d)?d.forEach(p=>{o(p,f)}):d!=null&&d!==!1&&f.push(d),f),i=d=>{const f=d.type;if(typeof f=="string")return f;if(typeof f=="function")return f.displayName||f.name||"Unknown";if(e.isFragment(d))return"React.Fragment";if(e.isSuspense(d))return"React.Suspense";if(typeof f=="object"&&f!==null){if(e.isContextProvider(d))return"Context.Provider";if(e.isContextConsumer(d))return"Context.Consumer";if(e.isForwardRef(d)){if(f.displayName)return f.displayName;const p=f.render.displayName||f.render.name||"";return p!==""?"ForwardRef("+p+")":"ForwardRef"}if(e.isMemo(d)){const p=f.displayName||f.type.displayName||f.type.name||"";return p!==""?"Memo("+p+")":"Memo"}}return"UNDEFINED"},a=d=>{const{props:f}=d;return Object.keys(f).filter(p=>p!=="children"&&f[p]!==void 0).sort()},l=(d,f,p,m,h,g)=>++m>f.maxDepth?(0,t.printElementAsLeaf)(i(d),f):(0,t.printElement)(i(d),(0,t.printProps)(a(d),d.props,f,p+f.indent,m,h,g),(0,t.printChildren)(o(d.props.children),f,p+f.indent,m,h,g),f,p);gt.serialize=l;const u=d=>d!=null&&e.isElement(d);gt.test=u;var c={serialize:l,test:u};return gt.default=c,gt}var yt={},ec;function Ey(){if(ec)return yt;ec=1,Object.defineProperty(yt,"__esModule",{value:!0}),yt.test=yt.serialize=yt.default=void 0;var e=Cl(),t=(function(){return typeof globalThis<"u"?globalThis:typeof t<"u"?t:typeof self<"u"?self:typeof window<"u"?window:Function("return this")()})(),r=t["jest-symbol-do-not-touch"]||t.Symbol;const n=typeof r=="function"&&r.for?r.for("react.test.json"):245830487,o=s=>{const{props:c}=s;return c?Object.keys(c).filter(d=>c[d]!==void 0).sort():[]},i=(s,c,d,f,p,m)=>++f>c.maxDepth?(0,e.printElementAsLeaf)(s.type,c):(0,e.printElement)(s.type,s.props?(0,e.printProps)(o(s),s.props,c,d+c.indent,f,p,m):"",s.children?(0,e.printChildren)(s.children,c,d+c.indent,f,p,m):"",c,d);yt.serialize=i;const a=s=>s&&s.$$typeof===n;yt.test=a;var u={serialize:i,test:a};return yt.default=u,yt}var tc;function _y(){if(tc)return at;tc=1,Object.defineProperty(at,"__esModule",{value:!0}),at.default=at.DEFAULT_OPTIONS=void 0,at.format=ge,at.plugins=void 0;var e=s(sh()),t=Ra(),r=s(dy()),n=s(my()),o=s(hy()),i=s(gy()),a=s(yy()),l=s(Ry()),u=s(Ey());function s(O){return O&&O.__esModule?O:{default:O}}const c=Object.prototype.toString,d=Date.prototype.toISOString,f=Error.prototype.toString,p=RegExp.prototype.toString,m=O=>typeof O.constructor=="function"&&O.constructor.name||"Object",h=O=>typeof window<"u"&&O===window,g=/^Symbol\((.*)\)(.*)$/,b=/\n/gi;class R extends Error{constructor(U,G){super(U),this.stack=G,this.name=this.constructor.name}}function T(O){return O==="[object Array]"||O==="[object ArrayBuffer]"||O==="[object DataView]"||O==="[object Float32Array]"||O==="[object Float64Array]"||O==="[object Int8Array]"||O==="[object Int16Array]"||O==="[object Int32Array]"||O==="[object Uint8Array]"||O==="[object Uint8ClampedArray]"||O==="[object Uint16Array]"||O==="[object Uint32Array]"}function _(O){return Object.is(O,-0)?"-0":String(O)}function x(O){return`${O}n`}function v(O,U){return U?"[Function "+(O.name||"anonymous")+"]":"[Function]"}function y(O){return String(O).replace(g,"Symbol($1)")}function S(O){return"["+f.call(O)+"]"}function N(O,U,G,re){if(O===!0||O===!1)return""+O;if(O===void 0)return"undefined";if(O===null)return"null";const ie=typeof O;if(ie==="number")return _(O);if(ie==="bigint")return x(O);if(ie==="string")return re?'"'+O.replace(/"|\\/g,"\\$&")+'"':'"'+O+'"';if(ie==="function")return v(O,U);if(ie==="symbol")return y(O);const Te=c.call(O);return Te==="[object WeakMap]"?"WeakMap {}":Te==="[object WeakSet]"?"WeakSet {}":Te==="[object Function]"||Te==="[object GeneratorFunction]"?v(O,U):Te==="[object Symbol]"?y(O):Te==="[object Date]"?isNaN(+O)?"Date { NaN }":d.call(O):Te==="[object Error]"?S(O):Te==="[object RegExp]"?G?p.call(O).replace(/[\\^$*+?.()|[\]{}]/g,"\\$&"):p.call(O):O instanceof Error?S(O):null}function I(O,U,G,re,ie,Te){if(ie.indexOf(O)!==-1)return"[Circular]";ie=ie.slice(),ie.push(O);const P=++re>U.maxDepth,A=U.min;if(U.callToJSON&&!P&&O.toJSON&&typeof O.toJSON=="function"&&!Te)return D(O.toJSON(),U,G,re,ie,!0);const j=c.call(O);return j==="[object Arguments]"?P?"[Arguments]":(A?"":"Arguments ")+"["+(0,t.printListItems)(O,U,G,re,ie,D)+"]":T(j)?P?"["+O.constructor.name+"]":(A||!U.printBasicPrototype&&O.constructor.name==="Array"?"":O.constructor.name+" ")+"["+(0,t.printListItems)(O,U,G,re,ie,D)+"]":j==="[object Map]"?P?"[Map]":"Map {"+(0,t.printIteratorEntries)(O.entries(),U,G,re,ie,D," => ")+"}":j==="[object Set]"?P?"[Set]":"Set {"+(0,t.printIteratorValues)(O.values(),U,G,re,ie,D)+"}":P||h(O)?"["+m(O)+"]":(A||!U.printBasicPrototype&&m(O)==="Object"?"":m(O)+" ")+"{"+(0,t.printObjectProperties)(O,U,G,re,ie,D)+"}"}function L(O){return O.serialize!=null}function B(O,U,G,re,ie,Te){let P;try{P=L(O)?O.serialize(U,G,re,ie,Te,D):O.print(U,A=>D(A,G,re,ie,Te),A=>{const j=re+G.indent;return j+A.replace(b,`
3
- `+j)},{edgeSpacing:G.spacingOuter,min:G.min,spacing:G.spacingInner},G.colors)}catch(A){throw new R(A.message,A.stack)}if(typeof P!="string")throw new Error(`pretty-format: Plugin must return type "string" but instead returned "${typeof P}".`);return P}function $(O,U){for(let G=0;G<O.length;G++)try{if(O[G].test(U))return O[G]}catch(re){throw new R(re.message,re.stack)}return null}function D(O,U,G,re,ie,Te){const P=$(U.plugins,O);if(P!==null)return B(P,O,U,G,re,ie);const A=N(O,U.printFunctionName,U.escapeRegex,U.escapeString);return A!==null?A:I(O,U,G,re,ie,Te)}const K={comment:"gray",content:"reset",prop:"yellow",tag:"cyan",value:"green"},W=Object.keys(K),Y={callToJSON:!0,compareKeys:void 0,escapeRegex:!1,escapeString:!0,highlight:!1,indent:2,maxDepth:1/0,min:!1,plugins:[],printBasicPrototype:!0,printFunctionName:!0,theme:K};at.DEFAULT_OPTIONS=Y;function he(O){if(Object.keys(O).forEach(U=>{if(!Y.hasOwnProperty(U))throw new Error(`pretty-format: Unknown option "${U}".`)}),O.min&&O.indent!==void 0&&O.indent!==0)throw new Error('pretty-format: Options "min" and "indent" cannot be used together.');if(O.theme!==void 0){if(O.theme===null)throw new Error('pretty-format: Option "theme" must not be null.');if(typeof O.theme!="object")throw new Error(`pretty-format: Option "theme" must be of type "object" but instead received "${typeof O.theme}".`)}}const ce=O=>W.reduce((U,G)=>{const re=O.theme&&O.theme[G]!==void 0?O.theme[G]:K[G],ie=re&&e.default[re];if(ie&&typeof ie.close=="string"&&typeof ie.open=="string")U[G]=ie;else throw new Error(`pretty-format: Option "theme" has a key "${G}" whose value "${re}" is undefined in ansi-styles.`);return U},Object.create(null)),we=()=>W.reduce((O,U)=>(O[U]={close:"",open:""},O),Object.create(null)),Se=O=>O&&O.printFunctionName!==void 0?O.printFunctionName:Y.printFunctionName,Re=O=>O&&O.escapeRegex!==void 0?O.escapeRegex:Y.escapeRegex,V=O=>O&&O.escapeString!==void 0?O.escapeString:Y.escapeString,Ae=O=>{var U;return{callToJSON:O&&O.callToJSON!==void 0?O.callToJSON:Y.callToJSON,colors:O&&O.highlight?ce(O):we(),compareKeys:O&&typeof O.compareKeys=="function"?O.compareKeys:Y.compareKeys,escapeRegex:Re(O),escapeString:V(O),indent:O&&O.min?"":Pe(O&&O.indent!==void 0?O.indent:Y.indent),maxDepth:O&&O.maxDepth!==void 0?O.maxDepth:Y.maxDepth,min:O&&O.min!==void 0?O.min:Y.min,plugins:O&&O.plugins!==void 0?O.plugins:Y.plugins,printBasicPrototype:(U=O?.printBasicPrototype)!==null&&U!==void 0?U:!0,printFunctionName:Se(O),spacingInner:O&&O.min?" ":`
4
- `,spacingOuter:O&&O.min?"":`
5
- `}};function Pe(O){return new Array(O+1).join(" ")}function ge(O,U){if(U&&(he(U),U.plugins)){const re=$(U.plugins,O);if(re!==null)return B(re,O,Ae(U),"",0,[])}const G=N(O,Se(U),Re(U),V(U));return G!==null?G:I(O,Ae(U),"",0,[])}const qe={AsymmetricMatcher:r.default,ConvertAnsi:n.default,DOMCollection:o.default,DOMElement:i.default,Immutable:a.default,ReactElement:l.default,ReactTestComponent:u.default};at.plugins=qe;var ot=ge;return at.default=ot,at}var lh=_y(),Cy=Object.prototype.toString;function Ty(e){return typeof e=="function"||Cy.call(e)==="[object Function]"}function xy(e){var t=Number(e);return isNaN(t)?0:t===0||!isFinite(t)?t:(t>0?1:-1)*Math.floor(Math.abs(t))}var Sy=Math.pow(2,53)-1;function Py(e){var t=xy(e);return Math.min(Math.max(t,0),Sy)}function Qe(e,t){var r=Array,n=Object(e);if(e==null)throw new TypeError("Array.from requires an array-like object - not null or undefined");for(var o=Py(n.length),i=Ty(r)?Object(new r(o)):new Array(o),a=0,l;a<o;)l=n[a],i[a]=l,a+=1;return i.length=o,i}function hi(e){"@babel/helpers - typeof";return hi=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},hi(e)}function qy(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Oy(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,uh(n.key),n)}}function My(e,t,r){return t&&Oy(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function Ay(e,t,r){return t=uh(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function uh(e){var t=$y(e,"string");return hi(t)==="symbol"?t:String(t)}function $y(e,t){if(hi(e)!=="object"||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(hi(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var Ny=(function(){function e(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];qy(this,e),Ay(this,"items",void 0),this.items=t}return My(e,[{key:"add",value:function(r){return this.has(r)===!1&&this.items.push(r),this}},{key:"clear",value:function(){this.items=[]}},{key:"delete",value:function(r){var n=this.items.length;return this.items=this.items.filter(function(o){return o!==r}),n!==this.items.length}},{key:"forEach",value:function(r){var n=this;this.items.forEach(function(o){r(o,o,n)})}},{key:"has",value:function(r){return this.items.indexOf(r)!==-1}},{key:"size",get:function(){return this.items.length}}]),e})();const Iy=typeof Set>"u"?Set:Ny;function Ne(e){var t;return(t=e.localName)!==null&&t!==void 0?t:e.tagName.toLowerCase()}var jy={article:"article",aside:"complementary",button:"button",datalist:"listbox",dd:"definition",details:"group",dialog:"dialog",dt:"term",fieldset:"group",figure:"figure",form:"form",footer:"contentinfo",h1:"heading",h2:"heading",h3:"heading",h4:"heading",h5:"heading",h6:"heading",header:"banner",hr:"separator",html:"document",legend:"legend",li:"listitem",math:"math",main:"main",menu:"list",nav:"navigation",ol:"list",optgroup:"group",option:"option",output:"status",progress:"progressbar",section:"region",summary:"button",table:"table",tbody:"rowgroup",textarea:"textbox",tfoot:"rowgroup",td:"cell",th:"columnheader",thead:"rowgroup",tr:"row",ul:"list"},Dy={caption:new Set(["aria-label","aria-labelledby"]),code:new Set(["aria-label","aria-labelledby"]),deletion:new Set(["aria-label","aria-labelledby"]),emphasis:new Set(["aria-label","aria-labelledby"]),generic:new Set(["aria-label","aria-labelledby","aria-roledescription"]),insertion:new Set(["aria-label","aria-labelledby"]),paragraph:new Set(["aria-label","aria-labelledby"]),presentation:new Set(["aria-label","aria-labelledby"]),strong:new Set(["aria-label","aria-labelledby"]),subscript:new Set(["aria-label","aria-labelledby"]),superscript:new Set(["aria-label","aria-labelledby"])};function Fy(e,t){return["aria-atomic","aria-busy","aria-controls","aria-current","aria-describedby","aria-details","aria-dropeffect","aria-flowto","aria-grabbed","aria-hidden","aria-keyshortcuts","aria-label","aria-labelledby","aria-live","aria-owns","aria-relevant","aria-roledescription"].some(function(r){var n;return e.hasAttribute(r)&&!((n=Dy[t])!==null&&n!==void 0&&n.has(r))})}function ch(e,t){return Fy(e,t)}function ky(e){var t=By(e);if(t===null||t==="presentation"){var r=Ly(e);if(t!=="presentation"||ch(e,r||""))return r}return t}function Ly(e){var t=jy[Ne(e)];if(t!==void 0)return t;switch(Ne(e)){case"a":case"area":case"link":if(e.hasAttribute("href"))return"link";break;case"img":return e.getAttribute("alt")===""&&!ch(e,"img")?"presentation":"img";case"input":{var r=e,n=r.type;switch(n){case"button":case"image":case"reset":case"submit":return"button";case"checkbox":case"radio":return n;case"range":return"slider";case"email":case"tel":case"text":case"url":return e.hasAttribute("list")?"combobox":"textbox";case"search":return e.hasAttribute("list")?"combobox":"searchbox";case"number":return"spinbutton";default:return null}}case"select":return e.hasAttribute("multiple")||e.size>1?"listbox":"combobox"}return null}function By(e){var t=e.getAttribute("role");if(t!==null){var r=t.trim().split(" ")[0];if(r.length>0)return r}return null}function ye(e){return e!==null&&e.nodeType===e.ELEMENT_NODE}function fh(e){return ye(e)&&Ne(e)==="caption"}function Yi(e){return ye(e)&&Ne(e)==="input"}function Uy(e){return ye(e)&&Ne(e)==="optgroup"}function zy(e){return ye(e)&&Ne(e)==="select"}function Vy(e){return ye(e)&&Ne(e)==="table"}function Hy(e){return ye(e)&&Ne(e)==="textarea"}function Wy(e){var t=e.ownerDocument===null?e:e.ownerDocument,r=t.defaultView;if(r===null)throw new TypeError("no window available");return r}function Gy(e){return ye(e)&&Ne(e)==="fieldset"}function Ky(e){return ye(e)&&Ne(e)==="legend"}function Yy(e){return ye(e)&&Ne(e)==="slot"}function Jy(e){return ye(e)&&e.ownerSVGElement!==void 0}function Xy(e){return ye(e)&&Ne(e)==="svg"}function Zy(e){return Jy(e)&&Ne(e)==="title"}function oa(e,t){if(ye(e)&&e.hasAttribute(t)){var r=e.getAttribute(t).split(" "),n=e.getRootNode?e.getRootNode():e.ownerDocument;return r.map(function(o){return n.getElementById(o)}).filter(function(o){return o!==null})}return[]}function Rt(e,t){return ye(e)?t.indexOf(ky(e))!==-1:!1}function Qy(e){return e.trim().replace(/\s\s+/g," ")}function ev(e,t){if(!ye(e))return!1;if(e.hasAttribute("hidden")||e.getAttribute("aria-hidden")==="true")return!0;var r=t(e);return r.getPropertyValue("display")==="none"||r.getPropertyValue("visibility")==="hidden"}function tv(e){return Rt(e,["button","combobox","listbox","textbox"])||dh(e,"range")}function dh(e,t){if(!ye(e))return!1;if(t==="range")return Rt(e,["meter","progressbar","scrollbar","slider","spinbutton"]);throw new TypeError("No knowledge about abstract role '".concat(t,"'. This is likely a bug :("))}function rc(e,t){var r=Qe(e.querySelectorAll(t));return oa(e,"aria-owns").forEach(function(n){r.push.apply(r,Qe(n.querySelectorAll(t)))}),r}function rv(e){return zy(e)?e.selectedOptions||rc(e,"[selected]"):rc(e,'[aria-selected="true"]')}function nv(e){return Rt(e,["none","presentation"])}function ov(e){return fh(e)}function iv(e){return Rt(e,["button","cell","checkbox","columnheader","gridcell","heading","label","legend","link","menuitem","menuitemcheckbox","menuitemradio","option","radio","row","rowheader","switch","tab","tooltip","treeitem"])}function av(e){return!1}function sv(e){return Yi(e)||Hy(e)?e.value:e.textContent||""}function nc(e){var t=e.getPropertyValue("content");return/^["'].*["']$/.test(t)?t.slice(1,-1):""}function ph(e){var t=Ne(e);return t==="button"||t==="input"&&e.getAttribute("type")!=="hidden"||t==="meter"||t==="output"||t==="progress"||t==="select"||t==="textarea"}function mh(e){if(ph(e))return e;var t=null;return e.childNodes.forEach(function(r){if(t===null&&ye(r)){var n=mh(r);n!==null&&(t=n)}}),t}function lv(e){if(e.control!==void 0)return e.control;var t=e.getAttribute("for");return t!==null?e.ownerDocument.getElementById(t):mh(e)}function uv(e){var t=e.labels;if(t===null)return t;if(t!==void 0)return Qe(t);if(!ph(e))return null;var r=e.ownerDocument;return Qe(r.querySelectorAll("label")).filter(function(n){return lv(n)===e})}function cv(e){var t=e.assignedNodes();return t.length===0?Qe(e.childNodes):t}function hh(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=new Iy,n=Wy(e),o=t.compute,i=o===void 0?"name":o,a=t.computedStyleSupportsPseudoElements,l=a===void 0?t.getComputedStyle!==void 0:a,u=t.getComputedStyle,s=u===void 0?n.getComputedStyle.bind(n):u,c=t.hidden,d=c===void 0?!1:c;function f(b,R){var T="";if(ye(b)&&l){var _=s(b,"::before"),x=nc(_);T="".concat(x," ").concat(T)}var v=Yy(b)?cv(b):Qe(b.childNodes).concat(oa(b,"aria-owns"));if(v.forEach(function(N){var I=g(N,{isEmbeddedInLabel:R.isEmbeddedInLabel,isReferenced:!1,recursion:!0}),L=ye(N)?s(N).getPropertyValue("display"):"inline",B=L!=="inline"?" ":"";T+="".concat(B).concat(I).concat(B)}),ye(b)&&l){var y=s(b,"::after"),S=nc(y);T="".concat(T," ").concat(S)}return T.trim()}function p(b,R){var T=b.getAttributeNode(R);return T!==null&&!r.has(T)&&T.value.trim()!==""?(r.add(T),T.value):null}function m(b){return ye(b)?p(b,"title"):null}function h(b){if(!ye(b))return null;if(Gy(b)){r.add(b);for(var R=Qe(b.childNodes),T=0;T<R.length;T+=1){var _=R[T];if(Ky(_))return g(_,{isEmbeddedInLabel:!1,isReferenced:!1,recursion:!1})}}else if(Vy(b)){r.add(b);for(var x=Qe(b.childNodes),v=0;v<x.length;v+=1){var y=x[v];if(fh(y))return g(y,{isEmbeddedInLabel:!1,isReferenced:!1,recursion:!1})}}else if(Xy(b)){r.add(b);for(var S=Qe(b.childNodes),N=0;N<S.length;N+=1){var I=S[N];if(Zy(I))return I.textContent}return null}else if(Ne(b)==="img"||Ne(b)==="area"){var L=p(b,"alt");if(L!==null)return L}else if(Uy(b)){var B=p(b,"label");if(B!==null)return B}if(Yi(b)&&(b.type==="button"||b.type==="submit"||b.type==="reset")){var $=p(b,"value");if($!==null)return $;if(b.type==="submit")return"Submit";if(b.type==="reset")return"Reset"}var D=uv(b);if(D!==null&&D.length!==0)return r.add(b),Qe(D).map(function(he){return g(he,{isEmbeddedInLabel:!0,isReferenced:!1,recursion:!0})}).filter(function(he){return he.length>0}).join(" ");if(Yi(b)&&b.type==="image"){var K=p(b,"alt");if(K!==null)return K;var W=p(b,"title");return W!==null?W:"Submit Query"}if(Rt(b,["button"])){var Y=f(b,{isEmbeddedInLabel:!1});if(Y!=="")return Y}return null}function g(b,R){if(r.has(b))return"";if(!d&&ev(b,s)&&!R.isReferenced)return r.add(b),"";var T=ye(b)?b.getAttributeNode("aria-labelledby"):null,_=T!==null&&!r.has(T)?oa(b,"aria-labelledby"):[];if(i==="name"&&!R.isReferenced&&_.length>0)return r.add(T),_.map(function(L){return g(L,{isEmbeddedInLabel:R.isEmbeddedInLabel,isReferenced:!0,recursion:!1})}).join(" ");var x=R.recursion&&tv(b)&&i==="name";if(!x){var v=(ye(b)&&b.getAttribute("aria-label")||"").trim();if(v!==""&&i==="name")return r.add(b),v;if(!nv(b)){var y=h(b);if(y!==null)return r.add(b),y}}if(Rt(b,["menu"]))return r.add(b),"";if(x||R.isEmbeddedInLabel||R.isReferenced){if(Rt(b,["combobox","listbox"])){r.add(b);var S=rv(b);return S.length===0?Yi(b)?b.value:"":Qe(S).map(function(L){return g(L,{isEmbeddedInLabel:R.isEmbeddedInLabel,isReferenced:!1,recursion:!0})}).join(" ")}if(dh(b,"range"))return r.add(b),b.hasAttribute("aria-valuetext")?b.getAttribute("aria-valuetext"):b.hasAttribute("aria-valuenow")?b.getAttribute("aria-valuenow"):b.getAttribute("value")||"";if(Rt(b,["textbox"]))return r.add(b),sv(b)}if(iv(b)||ye(b)&&R.isReferenced||ov(b)||av()){var N=f(b,{isEmbeddedInLabel:R.isEmbeddedInLabel});if(N!=="")return r.add(b),N}if(b.nodeType===b.TEXT_NODE)return r.add(b),b.textContent||"";if(R.recursion)return r.add(b),f(b,{isEmbeddedInLabel:R.isEmbeddedInLabel});var I=m(b);return I!==null?(r.add(b),I):(r.add(b),"")}return Qy(g(e,{isEmbeddedInLabel:!1,isReferenced:i==="description",recursion:!1}))}function bi(e){"@babel/helpers - typeof";return bi=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},bi(e)}function oc(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function ic(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?oc(Object(r),!0).forEach(function(n){fv(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):oc(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function fv(e,t,r){return t=dv(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function dv(e){var t=pv(e,"string");return bi(t)==="symbol"?t:String(t)}function pv(e,t){if(bi(e)!=="object"||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(bi(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function bh(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=oa(e,"aria-describedby").map(function(o){return hh(o,ic(ic({},t),{},{compute:"description"}))}).join(" ");if(r===""){var n=e.getAttribute("title");r=n===null?"":n}return r}function mv(e){return Rt(e,["caption","code","deletion","emphasis","generic","insertion","paragraph","presentation","strong","subscript","superscript"])}function Tl(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return mv(e)?"":hh(e,t)}var Ue={},hr={},Di={},br={},ac;function hv(){if(ac)return br;ac=1,Object.defineProperty(br,"__esModule",{value:!0}),br.default=void 0;function e(){var r=this,n=0,o={"@@iterator":function(){return o},next:function(){if(n<r.length){var a=r[n];return n=n+1,{done:!1,value:a}}else return{done:!0}}};return o}var t=e;return br.default=t,br}var sc;function _i(){if(sc)return Di;sc=1,Object.defineProperty(Di,"__esModule",{value:!0}),Di.default=n;var e=t(hv());function t(o){return o&&o.__esModule?o:{default:o}}function r(o){"@babel/helpers - typeof";return r=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},r(o)}function n(o,i){return typeof Symbol=="function"&&r(Symbol.iterator)==="symbol"&&Object.defineProperty(o,Symbol.iterator,{value:e.default.bind(i)}),o}return Di}var lc;function bv(){if(lc)return hr;lc=1,Object.defineProperty(hr,"__esModule",{value:!0}),hr.default=void 0;var e=t(_i());function t(f){return f&&f.__esModule?f:{default:f}}function r(f,p){return i(f)||o(f,p)||l(f,p)||n()}function n(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
6
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function o(f,p){var m=f==null?null:typeof Symbol<"u"&&f[Symbol.iterator]||f["@@iterator"];if(m!=null){var h=[],g=!0,b=!1,R,T;try{for(m=m.call(f);!(g=(R=m.next()).done)&&(h.push(R.value),!(p&&h.length===p));g=!0);}catch(_){b=!0,T=_}finally{try{!g&&m.return!=null&&m.return()}finally{if(b)throw T}}return h}}function i(f){if(Array.isArray(f))return f}function a(f,p){var m=typeof Symbol<"u"&&f[Symbol.iterator]||f["@@iterator"];if(!m){if(Array.isArray(f)||(m=l(f))||p){m&&(f=m);var h=0,g=function(){};return{s:g,n:function(){return h>=f.length?{done:!0}:{done:!1,value:f[h++]}},e:function(x){throw x},f:g}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
7
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var b=!0,R=!1,T;return{s:function(){m=m.call(f)},n:function(){var x=m.next();return b=x.done,x},e:function(x){R=!0,T=x},f:function(){try{!b&&m.return!=null&&m.return()}finally{if(R)throw T}}}}function l(f,p){if(f){if(typeof f=="string")return u(f,p);var m=Object.prototype.toString.call(f).slice(8,-1);if(m==="Object"&&f.constructor&&(m=f.constructor.name),m==="Map"||m==="Set")return Array.from(f);if(m==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(m))return u(f,p)}}function u(f,p){(p==null||p>f.length)&&(p=f.length);for(var m=0,h=new Array(p);m<p;m++)h[m]=f[m];return h}var s=[["aria-activedescendant",{type:"id"}],["aria-atomic",{type:"boolean"}],["aria-autocomplete",{type:"token",values:["inline","list","both","none"]}],["aria-braillelabel",{type:"string"}],["aria-brailleroledescription",{type:"string"}],["aria-busy",{type:"boolean"}],["aria-checked",{type:"tristate"}],["aria-colcount",{type:"integer"}],["aria-colindex",{type:"integer"}],["aria-colspan",{type:"integer"}],["aria-controls",{type:"idlist"}],["aria-current",{type:"token",values:["page","step","location","date","time",!0,!1]}],["aria-describedby",{type:"idlist"}],["aria-description",{type:"string"}],["aria-details",{type:"id"}],["aria-disabled",{type:"boolean"}],["aria-dropeffect",{type:"tokenlist",values:["copy","execute","link","move","none","popup"]}],["aria-errormessage",{type:"id"}],["aria-expanded",{type:"boolean",allowundefined:!0}],["aria-flowto",{type:"idlist"}],["aria-grabbed",{type:"boolean",allowundefined:!0}],["aria-haspopup",{type:"token",values:[!1,!0,"menu","listbox","tree","grid","dialog"]}],["aria-hidden",{type:"boolean",allowundefined:!0}],["aria-invalid",{type:"token",values:["grammar",!1,"spelling",!0]}],["aria-keyshortcuts",{type:"string"}],["aria-label",{type:"string"}],["aria-labelledby",{type:"idlist"}],["aria-level",{type:"integer"}],["aria-live",{type:"token",values:["assertive","off","polite"]}],["aria-modal",{type:"boolean"}],["aria-multiline",{type:"boolean"}],["aria-multiselectable",{type:"boolean"}],["aria-orientation",{type:"token",values:["vertical","undefined","horizontal"]}],["aria-owns",{type:"idlist"}],["aria-placeholder",{type:"string"}],["aria-posinset",{type:"integer"}],["aria-pressed",{type:"tristate"}],["aria-readonly",{type:"boolean"}],["aria-relevant",{type:"tokenlist",values:["additions","all","removals","text"]}],["aria-required",{type:"boolean"}],["aria-roledescription",{type:"string"}],["aria-rowcount",{type:"integer"}],["aria-rowindex",{type:"integer"}],["aria-rowspan",{type:"integer"}],["aria-selected",{type:"boolean",allowundefined:!0}],["aria-setsize",{type:"integer"}],["aria-sort",{type:"token",values:["ascending","descending","none","other"]}],["aria-valuemax",{type:"number"}],["aria-valuemin",{type:"number"}],["aria-valuenow",{type:"number"}],["aria-valuetext",{type:"string"}]],c={entries:function(){return s},forEach:function(p){var m=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,h=a(s),g;try{for(h.s();!(g=h.n()).done;){var b=r(g.value,2),R=b[0],T=b[1];p.call(m,T,R,s)}}catch(_){h.e(_)}finally{h.f()}},get:function(p){var m=s.find(function(h){return h[0]===p});return m&&m[1]},has:function(p){return!!c.get(p)},keys:function(){return s.map(function(p){var m=r(p,1),h=m[0];return h})},values:function(){return s.map(function(p){var m=r(p,2),h=m[1];return h})}},d=(0,e.default)(c,c.entries());return hr.default=d,hr}var gr={},uc;function gv(){if(uc)return gr;uc=1,Object.defineProperty(gr,"__esModule",{value:!0}),gr.default=void 0;var e=t(_i());function t(f){return f&&f.__esModule?f:{default:f}}function r(f,p){return i(f)||o(f,p)||l(f,p)||n()}function n(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
8
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function o(f,p){var m=f==null?null:typeof Symbol<"u"&&f[Symbol.iterator]||f["@@iterator"];if(m!=null){var h=[],g=!0,b=!1,R,T;try{for(m=m.call(f);!(g=(R=m.next()).done)&&(h.push(R.value),!(p&&h.length===p));g=!0);}catch(_){b=!0,T=_}finally{try{!g&&m.return!=null&&m.return()}finally{if(b)throw T}}return h}}function i(f){if(Array.isArray(f))return f}function a(f,p){var m=typeof Symbol<"u"&&f[Symbol.iterator]||f["@@iterator"];if(!m){if(Array.isArray(f)||(m=l(f))||p){m&&(f=m);var h=0,g=function(){};return{s:g,n:function(){return h>=f.length?{done:!0}:{done:!1,value:f[h++]}},e:function(x){throw x},f:g}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
9
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var b=!0,R=!1,T;return{s:function(){m=m.call(f)},n:function(){var x=m.next();return b=x.done,x},e:function(x){R=!0,T=x},f:function(){try{!b&&m.return!=null&&m.return()}finally{if(R)throw T}}}}function l(f,p){if(f){if(typeof f=="string")return u(f,p);var m=Object.prototype.toString.call(f).slice(8,-1);if(m==="Object"&&f.constructor&&(m=f.constructor.name),m==="Map"||m==="Set")return Array.from(f);if(m==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(m))return u(f,p)}}function u(f,p){(p==null||p>f.length)&&(p=f.length);for(var m=0,h=new Array(p);m<p;m++)h[m]=f[m];return h}var s=[["a",{reserved:!1}],["abbr",{reserved:!1}],["acronym",{reserved:!1}],["address",{reserved:!1}],["applet",{reserved:!1}],["area",{reserved:!1}],["article",{reserved:!1}],["aside",{reserved:!1}],["audio",{reserved:!1}],["b",{reserved:!1}],["base",{reserved:!0}],["bdi",{reserved:!1}],["bdo",{reserved:!1}],["big",{reserved:!1}],["blink",{reserved:!1}],["blockquote",{reserved:!1}],["body",{reserved:!1}],["br",{reserved:!1}],["button",{reserved:!1}],["canvas",{reserved:!1}],["caption",{reserved:!1}],["center",{reserved:!1}],["cite",{reserved:!1}],["code",{reserved:!1}],["col",{reserved:!0}],["colgroup",{reserved:!0}],["content",{reserved:!1}],["data",{reserved:!1}],["datalist",{reserved:!1}],["dd",{reserved:!1}],["del",{reserved:!1}],["details",{reserved:!1}],["dfn",{reserved:!1}],["dialog",{reserved:!1}],["dir",{reserved:!1}],["div",{reserved:!1}],["dl",{reserved:!1}],["dt",{reserved:!1}],["em",{reserved:!1}],["embed",{reserved:!1}],["fieldset",{reserved:!1}],["figcaption",{reserved:!1}],["figure",{reserved:!1}],["font",{reserved:!1}],["footer",{reserved:!1}],["form",{reserved:!1}],["frame",{reserved:!1}],["frameset",{reserved:!1}],["h1",{reserved:!1}],["h2",{reserved:!1}],["h3",{reserved:!1}],["h4",{reserved:!1}],["h5",{reserved:!1}],["h6",{reserved:!1}],["head",{reserved:!0}],["header",{reserved:!1}],["hgroup",{reserved:!1}],["hr",{reserved:!1}],["html",{reserved:!0}],["i",{reserved:!1}],["iframe",{reserved:!1}],["img",{reserved:!1}],["input",{reserved:!1}],["ins",{reserved:!1}],["kbd",{reserved:!1}],["keygen",{reserved:!1}],["label",{reserved:!1}],["legend",{reserved:!1}],["li",{reserved:!1}],["link",{reserved:!0}],["main",{reserved:!1}],["map",{reserved:!1}],["mark",{reserved:!1}],["marquee",{reserved:!1}],["menu",{reserved:!1}],["menuitem",{reserved:!1}],["meta",{reserved:!0}],["meter",{reserved:!1}],["nav",{reserved:!1}],["noembed",{reserved:!0}],["noscript",{reserved:!0}],["object",{reserved:!1}],["ol",{reserved:!1}],["optgroup",{reserved:!1}],["option",{reserved:!1}],["output",{reserved:!1}],["p",{reserved:!1}],["param",{reserved:!0}],["picture",{reserved:!0}],["pre",{reserved:!1}],["progress",{reserved:!1}],["q",{reserved:!1}],["rp",{reserved:!1}],["rt",{reserved:!1}],["rtc",{reserved:!1}],["ruby",{reserved:!1}],["s",{reserved:!1}],["samp",{reserved:!1}],["script",{reserved:!0}],["section",{reserved:!1}],["select",{reserved:!1}],["small",{reserved:!1}],["source",{reserved:!0}],["spacer",{reserved:!1}],["span",{reserved:!1}],["strike",{reserved:!1}],["strong",{reserved:!1}],["style",{reserved:!0}],["sub",{reserved:!1}],["summary",{reserved:!1}],["sup",{reserved:!1}],["table",{reserved:!1}],["tbody",{reserved:!1}],["td",{reserved:!1}],["textarea",{reserved:!1}],["tfoot",{reserved:!1}],["th",{reserved:!1}],["thead",{reserved:!1}],["time",{reserved:!1}],["title",{reserved:!0}],["tr",{reserved:!1}],["track",{reserved:!0}],["tt",{reserved:!1}],["u",{reserved:!1}],["ul",{reserved:!1}],["var",{reserved:!1}],["video",{reserved:!1}],["wbr",{reserved:!1}],["xmp",{reserved:!1}]],c={entries:function(){return s},forEach:function(p){var m=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,h=a(s),g;try{for(h.s();!(g=h.n()).done;){var b=r(g.value,2),R=b[0],T=b[1];p.call(m,T,R,s)}}catch(_){h.e(_)}finally{h.f()}},get:function(p){var m=s.find(function(h){return h[0]===p});return m&&m[1]},has:function(p){return!!c.get(p)},keys:function(){return s.map(function(p){var m=r(p,1),h=m[0];return h})},values:function(){return s.map(function(p){var m=r(p,2),h=m[1];return h})}},d=(0,e.default)(c,c.entries());return gr.default=d,gr}var yr={},vr={},wr={},cc;function yv(){if(cc)return wr;cc=1,Object.defineProperty(wr,"__esModule",{value:!0}),wr.default=void 0;var e={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget"]]},t=e;return wr.default=t,wr}var Rr={},fc;function vv(){if(fc)return Rr;fc=1,Object.defineProperty(Rr,"__esModule",{value:!0}),Rr.default=void 0;var e={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"]]},t=e;return Rr.default=t,Rr}var Er={},dc;function wv(){if(dc)return Er;dc=1,Object.defineProperty(Er,"__esModule",{value:!0}),Er.default=void 0;var e={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"]]},t=e;return Er.default=t,Er}var _r={},pc;function Rv(){if(pc)return _r;pc=1,Object.defineProperty(_r,"__esModule",{value:!0}),_r.default=void 0;var e={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},t=e;return _r.default=t,_r}var Cr={},mc;function Ev(){if(mc)return Cr;mc=1,Object.defineProperty(Cr,"__esModule",{value:!0}),Cr.default=void 0;var e={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"]]},t=e;return Cr.default=t,Cr}var Tr={},hc;function _v(){if(hc)return Tr;hc=1,Object.defineProperty(Tr,"__esModule",{value:!0}),Tr.default=void 0;var e={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:[]},t=e;return Tr.default=t,Tr}var xr={},bc;function Cv(){if(bc)return xr;bc=1,Object.defineProperty(xr,"__esModule",{value:!0}),xr.default=void 0;var e={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"]]},t=e;return xr.default=t,xr}var Sr={},gc;function Tv(){if(gc)return Sr;gc=1,Object.defineProperty(Sr,"__esModule",{value:!0}),Sr.default=void 0;var e={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]},t=e;return Sr.default=t,Sr}var Pr={},yc;function xv(){if(yc)return Pr;yc=1,Object.defineProperty(Pr,"__esModule",{value:!0}),Pr.default=void 0;var e={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"]]},t=e;return Pr.default=t,Pr}var qr={},vc;function Sv(){if(vc)return qr;vc=1,Object.defineProperty(qr,"__esModule",{value:!0}),qr.default=void 0;var e={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype"]]},t=e;return qr.default=t,qr}var Or={},wc;function Pv(){if(wc)return Or;wc=1,Object.defineProperty(Or,"__esModule",{value:!0}),Or.default=void 0;var e={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype"]]},t=e;return Or.default=t,Or}var Mr={},Rc;function qv(){if(Rc)return Mr;Rc=1,Object.defineProperty(Mr,"__esModule",{value:!0}),Mr.default=void 0;var e={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-modal":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype"]]},t=e;return Mr.default=t,Mr}var Ec;function Ov(){if(Ec)return vr;Ec=1,Object.defineProperty(vr,"__esModule",{value:!0}),vr.default=void 0;var e=f(yv()),t=f(vv()),r=f(wv()),n=f(Rv()),o=f(Ev()),i=f(_v()),a=f(Cv()),l=f(Tv()),u=f(xv()),s=f(Sv()),c=f(Pv()),d=f(qv());function f(h){return h&&h.__esModule?h:{default:h}}var p=[["command",e.default],["composite",t.default],["input",r.default],["landmark",n.default],["range",o.default],["roletype",i.default],["section",a.default],["sectionhead",l.default],["select",u.default],["structure",s.default],["widget",c.default],["window",d.default]],m=p;return vr.default=m,vr}var Ar={},$r={},_c;function Mv(){if(_c)return $r;_c=1,Object.defineProperty($r,"__esModule",{value:!0}),$r.default=void 0;var e={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"]]},t=e;return $r.default=t,$r}var Nr={},Cc;function Av(){if(Cc)return Nr;Cc=1,Object.defineProperty(Nr,"__esModule",{value:!0}),Nr.default=void 0;var e={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"]]},t=e;return Nr.default=t,Nr}var Ir={},Tc;function $v(){if(Tc)return Ir;Tc=1,Object.defineProperty(Ir,"__esModule",{value:!0}),Ir.default=void 0;var e={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"]]},t=e;return Ir.default=t,Ir}var jr={},xc;function Nv(){if(xc)return jr;xc=1,Object.defineProperty(jr,"__esModule",{value:!0}),jr.default=void 0;var e={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"]]},t=e;return jr.default=t,jr}var Dr={},Sc;function Iv(){if(Sc)return Dr;Sc=1,Object.defineProperty(Dr,"__esModule",{value:!0}),Dr.default=void 0;var e={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"]]},t=e;return Dr.default=t,Dr}var Fr={},Pc;function jv(){if(Pc)return Fr;Pc=1,Object.defineProperty(Fr,"__esModule",{value:!0}),Fr.default=void 0;var e={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"]]},t=e;return Fr.default=t,Fr}var kr={},qc;function Dv(){if(qc)return kr;qc=1,Object.defineProperty(kr,"__esModule",{value:!0}),kr.default=void 0;var e={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"]]},t=e;return kr.default=t,kr}var Lr={},Oc;function Fv(){if(Oc)return Lr;Oc=1,Object.defineProperty(Lr,"__esModule",{value:!0}),Lr.default=void 0;var e={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"]]},t=e;return Lr.default=t,Lr}var Br={},Mc;function kv(){if(Mc)return Br;Mc=1,Object.defineProperty(Br,"__esModule",{value:!0}),Br.default=void 0;var e={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"]]},t=e;return Br.default=t,Br}var Ur={},Ac;function Lv(){if(Ac)return Ur;Ac=1,Object.defineProperty(Ur,"__esModule",{value:!0}),Ur.default=void 0;var e={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"]]},t=e;return Ur.default=t,Ur}var zr={},$c;function Bv(){if($c)return zr;$c=1,Object.defineProperty(zr,"__esModule",{value:!0}),zr.default=void 0;var e={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"]]},t=e;return zr.default=t,zr}var Vr={},Nc;function Uv(){if(Nc)return Vr;Nc=1,Object.defineProperty(Vr,"__esModule",{value:!0}),Vr.default=void 0;var e={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"]]},t=e;return Vr.default=t,Vr}var Hr={},Ic;function zv(){if(Ic)return Hr;Ic=1,Object.defineProperty(Hr,"__esModule",{value:!0}),Hr.default=void 0;var e={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-autocomplete":null,"aria-errormessage":null,"aria-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"]]},t=e;return Hr.default=t,Hr}var Wr={},jc;function Vv(){if(jc)return Wr;jc=1,Object.defineProperty(Wr,"__esModule",{value:!0}),Wr.default=void 0;var e={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"]]},t=e;return Wr.default=t,Wr}var Gr={},Dc;function Hv(){if(Dc)return Gr;Dc=1,Object.defineProperty(Gr,"__esModule",{value:!0}),Gr.default=void 0;var e={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"]]},t=e;return Gr.default=t,Gr}var Kr={},Fc;function Wv(){if(Fc)return Kr;Fc=1,Object.defineProperty(Kr,"__esModule",{value:!0}),Kr.default=void 0;var e={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"]]},t=e;return Kr.default=t,Kr}var Yr={},kc;function Gv(){if(kc)return Yr;kc=1,Object.defineProperty(Yr,"__esModule",{value:!0}),Yr.default=void 0;var e={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"]]},t=e;return Yr.default=t,Yr}var Jr={},Lc;function Kv(){if(Lc)return Jr;Lc=1,Object.defineProperty(Jr,"__esModule",{value:!0}),Jr.default=void 0;var e={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"dialog"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","window"]]},t=e;return Jr.default=t,Jr}var Xr={},Bc;function Yv(){if(Bc)return Xr;Bc=1,Object.defineProperty(Xr,"__esModule",{value:!0}),Xr.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{module:"DAISY Guide"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","list"]]},t=e;return Xr.default=t,Xr}var Zr={},Uc;function Jv(){if(Uc)return Zr;Uc=1,Object.defineProperty(Zr,"__esModule",{value:!0}),Zr.default=void 0;var e={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"]]},t=e;return Zr.default=t,Zr}var Qr={},zc;function Xv(){if(zc)return Qr;zc=1,Object.defineProperty(Qr,"__esModule",{value:!0}),Qr.default=void 0;var e={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"]]},t=e;return Qr.default=t,Qr}var en={},Vc;function Zv(){if(Vc)return en;Vc=1,Object.defineProperty(en,"__esModule",{value:!0}),en.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["article"]],requiredProps:{},superClass:[["roletype","structure","section","list"]]},t=e;return en.default=t,en}var tn={},Hc;function Qv(){if(Hc)return tn;Hc=1,Object.defineProperty(tn,"__esModule",{value:!0}),tn.default=void 0;var e={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"]]},t=e;return tn.default=t,tn}var rn={},Wc;function ew(){if(Wc)return rn;Wc=1,Object.defineProperty(rn,"__esModule",{value:!0}),rn.default=void 0;var e={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"]]},t=e;return rn.default=t,rn}var nn={},Gc;function tw(){if(Gc)return nn;Gc=1,Object.defineProperty(nn,"__esModule",{value:!0}),nn.default=void 0;var e={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"]]},t=e;return nn.default=t,nn}var on={},Kc;function rw(){if(Kc)return on;Kc=1,Object.defineProperty(on,"__esModule",{value:!0}),on.default=void 0;var e={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"]]},t=e;return on.default=t,on}var an={},Yc;function nw(){if(Yc)return an;Yc=1,Object.defineProperty(an,"__esModule",{value:!0}),an.default=void 0;var e={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"]]},t=e;return an.default=t,an}var sn={},Jc;function ow(){if(Jc)return sn;Jc=1,Object.defineProperty(sn,"__esModule",{value:!0}),sn.default=void 0;var e={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"]]},t=e;return sn.default=t,sn}var ln={},Xc;function iw(){if(Xc)return ln;Xc=1,Object.defineProperty(ln,"__esModule",{value:!0}),ln.default=void 0;var e={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"]]},t=e;return ln.default=t,ln}var un={},Zc;function aw(){if(Zc)return un;Zc=1,Object.defineProperty(un,"__esModule",{value:!0}),un.default=void 0;var e={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"]]},t=e;return un.default=t,un}var cn={},Qc;function sw(){if(Qc)return cn;Qc=1,Object.defineProperty(cn,"__esModule",{value:!0}),cn.default=void 0;var e={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"]]},t=e;return cn.default=t,cn}var fn={},ef;function lw(){if(ef)return fn;ef=1,Object.defineProperty(fn,"__esModule",{value:!0}),fn.default=void 0;var e={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-expanded":null,"aria-haspopup":null},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"]]},t=e;return fn.default=t,fn}var dn={},tf;function uw(){if(tf)return dn;tf=1,Object.defineProperty(dn,"__esModule",{value:!0}),dn.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"menu"},module:"HTML"},{concept:{name:"ol"},module:"HTML"},{concept:{name:"ul"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["listitem"]],requiredProps:{},superClass:[["roletype","structure","section"]]},t=e;return dn.default=t,dn}var pn={},rf;function cw(){if(rf)return pn;rf=1,Object.defineProperty(pn,"__esModule",{value:!0}),pn.default=void 0;var e={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-expanded":null,"aria-invalid":null,"aria-multiselectable":null,"aria-readonly":null,"aria-required":null,"aria-orientation":"vertical"},relatedConcepts:[{concept:{attributes:[{constraints:[">1"],name:"size"}],constraints:["the size attribute value is greater than 1"],name:"select"},module:"HTML"},{concept:{attributes:[{name:"multiple"}],name:"select"},module:"HTML"},{concept:{name:"datalist"},module:"HTML"},{concept:{name:"list"},module:"ARIA"},{concept:{name:"select"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["option","group"],["option"]],requiredProps:{},superClass:[["roletype","widget","composite","select"],["roletype","structure","section","group","select"]]},t=e;return pn.default=t,pn}var mn={},nf;function fw(){if(nf)return mn;nf=1,Object.defineProperty(mn,"__esModule",{value:!0}),mn.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-level":null,"aria-posinset":null,"aria-setsize":null},relatedConcepts:[{concept:{constraints:["direct descendant of ol","direct descendant of ul","direct descendant of menu"],name:"li"},module:"HTML"},{concept:{name:"item"},module:"XForms"}],requireContextRole:["directory","list"],requiredContextRole:["directory","list"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},t=e;return mn.default=t,mn}var hn={},of;function dw(){if(of)return hn;of=1,Object.defineProperty(hn,"__esModule",{value:!0}),hn.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-live":"polite"},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},t=e;return hn.default=t,hn}var bn={},af;function pw(){if(af)return bn;af=1,Object.defineProperty(bn,"__esModule",{value:!0}),bn.default=void 0;var e={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"]]},t=e;return bn.default=t,bn}var gn={},sf;function mw(){if(sf)return gn;sf=1,Object.defineProperty(gn,"__esModule",{value:!0}),gn.default=void 0;var e={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"]]},t=e;return gn.default=t,gn}var yn={},lf;function hw(){if(lf)return yn;lf=1,Object.defineProperty(yn,"__esModule",{value:!0}),yn.default=void 0;var e={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},t=e;return yn.default=t,yn}var vn={},uf;function bw(){if(uf)return vn;uf=1,Object.defineProperty(vn,"__esModule",{value:!0}),vn.default=void 0;var e={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"]]},t=e;return vn.default=t,vn}var wn={},cf;function gw(){if(cf)return wn;cf=1,Object.defineProperty(wn,"__esModule",{value:!0}),wn.default=void 0;var e={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"]]},t=e;return wn.default=t,wn}var Rn={},ff;function yw(){if(ff)return Rn;ff=1,Object.defineProperty(Rn,"__esModule",{value:!0}),Rn.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-orientation":"horizontal"},relatedConcepts:[{concept:{name:"toolbar"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["menuitem","group"],["menuitemradio","group"],["menuitemcheckbox","group"],["menuitem"],["menuitemcheckbox"],["menuitemradio"]],requiredProps:{},superClass:[["roletype","widget","composite","select","menu"],["roletype","structure","section","group","select","menu"]]},t=e;return Rn.default=t,Rn}var En={},df;function vw(){if(df)return En;df=1,Object.defineProperty(En,"__esModule",{value:!0}),En.default=void 0;var e={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-expanded":null,"aria-haspopup":null,"aria-posinset":null,"aria-setsize":null},relatedConcepts:[{concept:{name:"MENU_ITEM"},module:"JAPI"},{concept:{name:"listitem"},module:"ARIA"},{concept:{name:"option"},module:"ARIA"}],requireContextRole:["group","menu","menubar"],requiredContextRole:["group","menu","menubar"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command"]]},t=e;return En.default=t,En}var _n={},pf;function ww(){if(pf)return _n;pf=1,Object.defineProperty(_n,"__esModule",{value:!0}),_n.default=void 0;var e={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"menuitem"},module:"ARIA"}],requireContextRole:["group","menu","menubar"],requiredContextRole:["group","menu","menubar"],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input","checkbox"],["roletype","widget","command","menuitem"]]},t=e;return _n.default=t,_n}var Cn={},mf;function Rw(){if(mf)return Cn;mf=1,Object.defineProperty(Cn,"__esModule",{value:!0}),Cn.default=void 0;var e={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"menuitem"},module:"ARIA"}],requireContextRole:["group","menu","menubar"],requiredContextRole:["group","menu","menubar"],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input","checkbox","menuitemcheckbox"],["roletype","widget","command","menuitem","menuitemcheckbox"],["roletype","widget","input","radio"]]},t=e;return Cn.default=t,Cn}var Tn={},hf;function Ew(){if(hf)return Tn;hf=1,Object.defineProperty(Tn,"__esModule",{value:!0}),Tn.default=void 0;var e={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"]]},t=e;return Tn.default=t,Tn}var xn={},bf;function _w(){if(bf)return xn;bf=1,Object.defineProperty(xn,"__esModule",{value:!0}),xn.default=void 0;var e={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"]]},t=e;return xn.default=t,xn}var Sn={},gf;function Cw(){if(gf)return Sn;gf=1,Object.defineProperty(Sn,"__esModule",{value:!0}),Sn.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[]},t=e;return Sn.default=t,Sn}var Pn={},yf;function Tw(){if(yf)return Pn;yf=1,Object.defineProperty(Pn,"__esModule",{value:!0}),Pn.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},t=e;return Pn.default=t,Pn}var qn={},vf;function xw(){if(vf)return qn;vf=1,Object.defineProperty(qn,"__esModule",{value:!0}),qn.default=void 0;var e={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"]]},t=e;return qn.default=t,qn}var On={},wf;function Sw(){if(wf)return On;wf=1,Object.defineProperty(On,"__esModule",{value:!0}),On.default=void 0;var e={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"]]},t=e;return On.default=t,On}var Mn={},Rf;function Pw(){if(Rf)return Mn;Rf=1,Object.defineProperty(Mn,"__esModule",{value:!0}),Mn.default=void 0;var e={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"]]},t=e;return Mn.default=t,Mn}var An={},Ef;function qw(){if(Ef)return An;Ef=1,Object.defineProperty(An,"__esModule",{value:!0}),An.default=void 0;var e={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"]]},t=e;return An.default=t,An}var $n={},_f;function Ow(){if(_f)return $n;_f=1,Object.defineProperty($n,"__esModule",{value:!0}),$n.default=void 0;var e={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"]]},t=e;return $n.default=t,$n}var Nn={},Cf;function Mw(){if(Cf)return Nn;Cf=1,Object.defineProperty(Nn,"__esModule",{value:!0}),Nn.default=void 0;var e={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"]]},t=e;return Nn.default=t,Nn}var In={},Tf;function Aw(){if(Tf)return In;Tf=1,Object.defineProperty(In,"__esModule",{value:!0}),In.default=void 0;var e={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"]]},t=e;return In.default=t,In}var jn={},xf;function $w(){if(xf)return jn;xf=1,Object.defineProperty(jn,"__esModule",{value:!0}),jn.default=void 0;var e={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"]]},t=e;return jn.default=t,jn}var Dn={},Sf;function Nw(){if(Sf)return Dn;Sf=1,Object.defineProperty(Dn,"__esModule",{value:!0}),Dn.default=void 0;var e={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"]]},t=e;return Dn.default=t,Dn}var Fn={},Pf;function Iw(){if(Pf)return Fn;Pf=1,Object.defineProperty(Fn,"__esModule",{value:!0}),Fn.default=void 0;var e={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"]]},t=e;return Fn.default=t,Fn}var kn={},qf;function jw(){if(qf)return kn;qf=1,Object.defineProperty(kn,"__esModule",{value:!0}),kn.default=void 0;var e={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"]]},t=e;return kn.default=t,kn}var Ln={},Of;function Dw(){if(Of)return Ln;Of=1,Object.defineProperty(Ln,"__esModule",{value:!0}),Ln.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},t=e;return Ln.default=t,Ln}var Bn={},Mf;function Fw(){if(Mf)return Bn;Mf=1,Object.defineProperty(Bn,"__esModule",{value:!0}),Bn.default=void 0;var e={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"]]},t=e;return Bn.default=t,Bn}var Un={},Af;function kw(){if(Af)return Un;Af=1,Object.defineProperty(Un,"__esModule",{value:!0}),Un.default=void 0;var e={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"]]},t=e;return Un.default=t,Un}var zn={},$f;function Lw(){if($f)return zn;$f=1,Object.defineProperty(zn,"__esModule",{value:!0}),zn.default=void 0;var e={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"]]},t=e;return zn.default=t,zn}var Vn={},Nf;function Bw(){if(Nf)return Vn;Nf=1,Object.defineProperty(Vn,"__esModule",{value:!0}),Vn.default=void 0;var e={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"]]},t=e;return Vn.default=t,Vn}var Hn={},If;function Uw(){if(If)return Hn;If=1,Object.defineProperty(Hn,"__esModule",{value:!0}),Hn.default=void 0;var e={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"]]},t=e;return Hn.default=t,Hn}var Wn={},jf;function zw(){if(jf)return Wn;jf=1,Object.defineProperty(Wn,"__esModule",{value:!0}),Wn.default=void 0;var e={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"]]},t=e;return Wn.default=t,Wn}var Gn={},Df;function Vw(){if(Df)return Gn;Df=1,Object.defineProperty(Gn,"__esModule",{value:!0}),Gn.default=void 0;var e={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"]]},t=e;return Gn.default=t,Gn}var Kn={},Ff;function Hw(){if(Ff)return Kn;Ff=1,Object.defineProperty(Kn,"__esModule",{value:!0}),Kn.default=void 0;var e={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"]]},t=e;return Kn.default=t,Kn}var Yn={},kf;function Ww(){if(kf)return Yn;kf=1,Object.defineProperty(Yn,"__esModule",{value:!0}),Yn.default=void 0;var e={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"]]},t=e;return Yn.default=t,Yn}var Jn={},Lf;function Gw(){if(Lf)return Jn;Lf=1,Object.defineProperty(Jn,"__esModule",{value:!0}),Jn.default=void 0;var e={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"]]},t=e;return Jn.default=t,Jn}var Xn={},Bf;function Kw(){if(Bf)return Xn;Bf=1,Object.defineProperty(Xn,"__esModule",{value:!0}),Xn.default=void 0;var e={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"]]},t=e;return Xn.default=t,Xn}var Zn={},Uf;function Yw(){if(Uf)return Zn;Uf=1,Object.defineProperty(Zn,"__esModule",{value:!0}),Zn.default=void 0;var e={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"]]},t=e;return Zn.default=t,Zn}var Qn={},zf;function Jw(){if(zf)return Qn;zf=1,Object.defineProperty(Qn,"__esModule",{value:!0}),Qn.default=void 0;var e={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},t=e;return Qn.default=t,Qn}var eo={},Vf;function Xw(){if(Vf)return eo;Vf=1,Object.defineProperty(eo,"__esModule",{value:!0}),eo.default=void 0;var e={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"]]},t=e;return eo.default=t,eo}var to={},Hf;function Zw(){if(Hf)return to;Hf=1,Object.defineProperty(to,"__esModule",{value:!0}),to.default=void 0;var e={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-autocomplete":null,"aria-errormessage":null,"aria-haspopup":null,"aria-invalid":null,"aria-multiline":null,"aria-placeholder":null,"aria-readonly":null,"aria-required":null},relatedConcepts:[{concept:{attributes:[{constraints:["undefined"],name:"type"},{constraints:["undefined"],name:"list"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"email"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"tel"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"text"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"url"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"},{concept:{name:"input"},module:"XForms"},{concept:{name:"textarea"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","input"]]},t=e;return to.default=t,to}var ro={},Wf;function Qw(){if(Wf)return ro;Wf=1,Object.defineProperty(ro,"__esModule",{value:!0}),ro.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"time"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},t=e;return ro.default=t,ro}var no={},Gf;function eR(){if(Gf)return no;Gf=1,Object.defineProperty(no,"__esModule",{value:!0}),no.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","status"]]},t=e;return no.default=t,no}var oo={},Kf;function tR(){if(Kf)return oo;Kf=1,Object.defineProperty(oo,"__esModule",{value:!0}),oo.default=void 0;var e={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"]]},t=e;return oo.default=t,oo}var io={},Yf;function rR(){if(Yf)return io;Yf=1,Object.defineProperty(io,"__esModule",{value:!0}),io.default=void 0;var e={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},t=e;return io.default=t,io}var ao={},Jf;function nR(){if(Jf)return ao;Jf=1,Object.defineProperty(ao,"__esModule",{value:!0}),ao.default=void 0;var e={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"]]},t=e;return ao.default=t,ao}var so={},Xf;function oR(){if(Xf)return so;Xf=1,Object.defineProperty(so,"__esModule",{value:!0}),so.default=void 0;var e={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"]]},t=e;return so.default=t,so}var lo={},Zf;function iR(){if(Zf)return lo;Zf=1,Object.defineProperty(lo,"__esModule",{value:!0}),lo.default=void 0;var e={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"]]},t=e;return lo.default=t,lo}var Qf;function aR(){if(Qf)return Ar;Qf=1,Object.defineProperty(Ar,"__esModule",{value:!0}),Ar.default=void 0;var e=k(Mv()),t=k(Av()),r=k($v()),n=k(Nv()),o=k(Iv()),i=k(jv()),a=k(Dv()),l=k(Fv()),u=k(kv()),s=k(Lv()),c=k(Bv()),d=k(Uv()),f=k(zv()),p=k(Vv()),m=k(Hv()),h=k(Wv()),g=k(Gv()),b=k(Kv()),R=k(Yv()),T=k(Jv()),_=k(Xv()),x=k(Zv()),v=k(Qv()),y=k(ew()),S=k(tw()),N=k(rw()),I=k(nw()),L=k(ow()),B=k(iw()),$=k(aw()),D=k(sw()),K=k(lw()),W=k(uw()),Y=k(cw()),he=k(fw()),ce=k(dw()),we=k(pw()),Se=k(mw()),Re=k(hw()),V=k(bw()),Ae=k(gw()),Pe=k(yw()),ge=k(vw()),qe=k(ww()),ot=k(Rw()),O=k(Ew()),U=k(_w()),G=k(Cw()),re=k(Tw()),ie=k(xw()),Te=k(Sw()),P=k(Pw()),A=k(qw()),j=k(Ow()),z=k(Mw()),C=k(Aw()),X=k($w()),ne=k(Nw()),Q=k(Iw()),te=k(jw()),J=k(Dw()),F=k(Fw()),H=k(kw()),Z=k(Lw()),le=k(Bw()),be=k(Uw()),Xe=k(zw()),ke=k(Vw()),Ce=k(Hw()),Le=k(Ww()),ft=k(Gw()),Be=k(Kw()),it=k(Yw()),Ie=k(Jw()),$i=k(Xw()),pr=k(Zw()),mr=k(Qw()),Ni=k(eR()),$t=k(tR()),ey=k(rR()),ty=k(nR()),ry=k(oR()),ny=k(iR());function k(Ii){return Ii&&Ii.__esModule?Ii:{default:Ii}}var oy=[["alert",e.default],["alertdialog",t.default],["application",r.default],["article",n.default],["banner",o.default],["blockquote",i.default],["button",a.default],["caption",l.default],["cell",u.default],["checkbox",s.default],["code",c.default],["columnheader",d.default],["combobox",f.default],["complementary",p.default],["contentinfo",m.default],["definition",h.default],["deletion",g.default],["dialog",b.default],["directory",R.default],["document",T.default],["emphasis",_.default],["feed",x.default],["figure",v.default],["form",y.default],["generic",S.default],["grid",N.default],["gridcell",I.default],["group",L.default],["heading",B.default],["img",$.default],["insertion",D.default],["link",K.default],["list",W.default],["listbox",Y.default],["listitem",he.default],["log",ce.default],["main",we.default],["mark",Se.default],["marquee",Re.default],["math",V.default],["menu",Ae.default],["menubar",Pe.default],["menuitem",ge.default],["menuitemcheckbox",qe.default],["menuitemradio",ot.default],["meter",O.default],["navigation",U.default],["none",G.default],["note",re.default],["option",ie.default],["paragraph",Te.default],["presentation",P.default],["progressbar",A.default],["radio",j.default],["radiogroup",z.default],["region",C.default],["row",X.default],["rowgroup",ne.default],["rowheader",Q.default],["scrollbar",te.default],["search",J.default],["searchbox",F.default],["separator",H.default],["slider",Z.default],["spinbutton",le.default],["status",be.default],["strong",Xe.default],["subscript",ke.default],["superscript",Ce.default],["switch",Le.default],["tab",ft.default],["table",Be.default],["tablist",it.default],["tabpanel",Ie.default],["term",$i.default],["textbox",pr.default],["time",mr.default],["timer",Ni.default],["toolbar",$t.default],["tooltip",ey.default],["tree",ty.default],["treegrid",ry.default],["treeitem",ny.default]],iy=oy;return Ar.default=iy,Ar}var uo={},co={},ed;function sR(){if(ed)return co;ed=1,Object.defineProperty(co,"__esModule",{value:!0}),co.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],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"]]},t=e;return co.default=t,co}var fo={},td;function lR(){if(td)return fo;td=1,Object.defineProperty(fo,"__esModule",{value:!0}),fo.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],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"]]},t=e;return fo.default=t,fo}var po={},rd;function uR(){if(rd)return po;rd=1,Object.defineProperty(po,"__esModule",{value:!0}),po.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],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"]]},t=e;return po.default=t,po}var mo={},nd;function cR(){if(nd)return mo;nd=1,Object.defineProperty(mo,"__esModule",{value:!0}),mo.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],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"]]},t=e;return mo.default=t,mo}var ho={},od;function fR(){if(od)return ho;od=1,Object.defineProperty(ho,"__esModule",{value:!0}),ho.default=void 0;var e={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"]]},t=e;return ho.default=t,ho}var bo={},id;function dR(){if(id)return bo;id=1,Object.defineProperty(bo,"__esModule",{value:!0}),bo.default=void 0;var e={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"]]},t=e;return bo.default=t,bo}var go={},ad;function pR(){if(ad)return go;ad=1,Object.defineProperty(go,"__esModule",{value:!0}),go.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],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"]]},t=e;return go.default=t,go}var yo={},sd;function mR(){if(sd)return yo;sd=1,Object.defineProperty(yo,"__esModule",{value:!0}),yo.default=void 0;var e={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"]]},t=e;return yo.default=t,yo}var vo={},ld;function hR(){if(ld)return vo;ld=1,Object.defineProperty(vo,"__esModule",{value:!0}),vo.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],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"]]},t=e;return vo.default=t,vo}var wo={},ud;function bR(){if(ud)return wo;ud=1,Object.defineProperty(wo,"__esModule",{value:!0}),wo.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],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"]]},t=e;return wo.default=t,wo}var Ro={},cd;function gR(){if(cd)return Ro;cd=1,Object.defineProperty(Ro,"__esModule",{value:!0}),Ro.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],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"]]},t=e;return Ro.default=t,Ro}var Eo={},fd;function yR(){if(fd)return Eo;fd=1,Object.defineProperty(Eo,"__esModule",{value:!0}),Eo.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],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"]]},t=e;return Eo.default=t,Eo}var _o={},dd;function vR(){if(dd)return _o;dd=1,Object.defineProperty(_o,"__esModule",{value:!0}),_o.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],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"]]},t=e;return _o.default=t,_o}var Co={},pd;function wR(){if(pd)return Co;pd=1,Object.defineProperty(Co,"__esModule",{value:!0}),Co.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],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"]]},t=e;return Co.default=t,Co}var To={},md;function RR(){if(md)return To;md=1,Object.defineProperty(To,"__esModule",{value:!0}),To.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],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"]]},t=e;return To.default=t,To}var xo={},hd;function ER(){if(hd)return xo;hd=1,Object.defineProperty(xo,"__esModule",{value:!0}),xo.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],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"]]},t=e;return xo.default=t,xo}var So={},bd;function _R(){if(bd)return So;bd=1,Object.defineProperty(So,"__esModule",{value:!0}),So.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],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"]]},t=e;return So.default=t,So}var Po={},gd;function CR(){if(gd)return Po;gd=1,Object.defineProperty(Po,"__esModule",{value:!0}),Po.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],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"]]},t=e;return Po.default=t,Po}var qo={},yd;function TR(){if(yd)return qo;yd=1,Object.defineProperty(qo,"__esModule",{value:!0}),qo.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],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"]]},t=e;return qo.default=t,qo}var Oo={},vd;function xR(){if(vd)return Oo;vd=1,Object.defineProperty(Oo,"__esModule",{value:!0}),Oo.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],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"]]},t=e;return Oo.default=t,Oo}var Mo={},wd;function SR(){if(wd)return Mo;wd=1,Object.defineProperty(Mo,"__esModule",{value:!0}),Mo.default=void 0;var e={abstract:!1,accessibleNameRequired:!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"]]},t=e;return Mo.default=t,Mo}var Ao={},Rd;function PR(){if(Rd)return Ao;Rd=1,Object.defineProperty(Ao,"__esModule",{value:!0}),Ao.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],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"]]},t=e;return Ao.default=t,Ao}var $o={},Ed;function qR(){if(Ed)return $o;Ed=1,Object.defineProperty($o,"__esModule",{value:!0}),$o.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],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"]]},t=e;return $o.default=t,$o}var No={},_d;function OR(){if(_d)return No;_d=1,Object.defineProperty(No,"__esModule",{value:!0}),No.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],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"]]},t=e;return No.default=t,No}var Io={},Cd;function MR(){if(Cd)return Io;Cd=1,Object.defineProperty(Io,"__esModule",{value:!0}),Io.default=void 0;var e={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"]]},t=e;return Io.default=t,Io}var jo={},Td;function AR(){if(Td)return jo;Td=1,Object.defineProperty(jo,"__esModule",{value:!0}),jo.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],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"]]},t=e;return jo.default=t,jo}var Do={},xd;function $R(){if(xd)return Do;xd=1,Object.defineProperty(Do,"__esModule",{value:!0}),Do.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],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"]]},t=e;return Do.default=t,Do}var Fo={},Sd;function NR(){if(Sd)return Fo;Sd=1,Object.defineProperty(Fo,"__esModule",{value:!0}),Fo.default=void 0;var e={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"]]},t=e;return Fo.default=t,Fo}var ko={},Pd;function IR(){if(Pd)return ko;Pd=1,Object.defineProperty(ko,"__esModule",{value:!0}),ko.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],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"]]},t=e;return ko.default=t,ko}var Lo={},qd;function jR(){if(qd)return Lo;qd=1,Object.defineProperty(Lo,"__esModule",{value:!0}),Lo.default=void 0;var e={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"]]},t=e;return Lo.default=t,Lo}var Bo={},Od;function DR(){if(Od)return Bo;Od=1,Object.defineProperty(Bo,"__esModule",{value:!0}),Bo.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],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"]]},t=e;return Bo.default=t,Bo}var Uo={},Md;function FR(){if(Md)return Uo;Md=1,Object.defineProperty(Uo,"__esModule",{value:!0}),Uo.default=void 0;var e={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"]]},t=e;return Uo.default=t,Uo}var zo={},Ad;function kR(){if(Ad)return zo;Ad=1,Object.defineProperty(zo,"__esModule",{value:!0}),zo.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],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"]]},t=e;return zo.default=t,zo}var Vo={},$d;function LR(){if($d)return Vo;$d=1,Object.defineProperty(Vo,"__esModule",{value:!0}),Vo.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],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"]]},t=e;return Vo.default=t,Vo}var Ho={},Nd;function BR(){if(Nd)return Ho;Nd=1,Object.defineProperty(Ho,"__esModule",{value:!0}),Ho.default=void 0;var e={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"]]},t=e;return Ho.default=t,Ho}var Wo={},Id;function UR(){if(Id)return Wo;Id=1,Object.defineProperty(Wo,"__esModule",{value:!0}),Wo.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],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"]]},t=e;return Wo.default=t,Wo}var Go={},jd;function zR(){if(jd)return Go;jd=1,Object.defineProperty(Go,"__esModule",{value:!0}),Go.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],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"]]},t=e;return Go.default=t,Go}var Ko={},Dd;function VR(){if(Dd)return Ko;Dd=1,Object.defineProperty(Ko,"__esModule",{value:!0}),Ko.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],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"]]},t=e;return Ko.default=t,Ko}var Yo={},Fd;function HR(){if(Fd)return Yo;Fd=1,Object.defineProperty(Yo,"__esModule",{value:!0}),Yo.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],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"]]},t=e;return Yo.default=t,Yo}var kd;function WR(){if(kd)return uo;kd=1,Object.defineProperty(uo,"__esModule",{value:!0}),uo.default=void 0;var e=V(sR()),t=V(lR()),r=V(uR()),n=V(cR()),o=V(fR()),i=V(dR()),a=V(pR()),l=V(mR()),u=V(hR()),s=V(bR()),c=V(gR()),d=V(yR()),f=V(vR()),p=V(wR()),m=V(RR()),h=V(ER()),g=V(_R()),b=V(CR()),R=V(TR()),T=V(xR()),_=V(SR()),x=V(PR()),v=V(qR()),y=V(OR()),S=V(MR()),N=V(AR()),I=V($R()),L=V(NR()),B=V(IR()),$=V(jR()),D=V(DR()),K=V(FR()),W=V(kR()),Y=V(LR()),he=V(BR()),ce=V(UR()),we=V(zR()),Se=V(VR()),Re=V(HR());function V(ge){return ge&&ge.__esModule?ge:{default:ge}}var Ae=[["doc-abstract",e.default],["doc-acknowledgments",t.default],["doc-afterword",r.default],["doc-appendix",n.default],["doc-backlink",o.default],["doc-biblioentry",i.default],["doc-bibliography",a.default],["doc-biblioref",l.default],["doc-chapter",u.default],["doc-colophon",s.default],["doc-conclusion",c.default],["doc-cover",d.default],["doc-credit",f.default],["doc-credits",p.default],["doc-dedication",m.default],["doc-endnote",h.default],["doc-endnotes",g.default],["doc-epigraph",b.default],["doc-epilogue",R.default],["doc-errata",T.default],["doc-example",_.default],["doc-footnote",x.default],["doc-foreword",v.default],["doc-glossary",y.default],["doc-glossref",S.default],["doc-index",N.default],["doc-introduction",I.default],["doc-noteref",L.default],["doc-notice",B.default],["doc-pagebreak",$.default],["doc-pagelist",D.default],["doc-part",K.default],["doc-preface",W.default],["doc-prologue",Y.default],["doc-pullquote",he.default],["doc-qna",ce.default],["doc-subtitle",we.default],["doc-tip",Se.default],["doc-toc",Re.default]],Pe=Ae;return uo.default=Pe,uo}var Jo={},Xo={},Ld;function GR(){if(Ld)return Xo;Ld=1,Object.defineProperty(Xo,"__esModule",{value:!0}),Xo.default=void 0;var e={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"]]},t=e;return Xo.default=t,Xo}var Zo={},Bd;function KR(){if(Bd)return Zo;Bd=1,Object.defineProperty(Zo,"__esModule",{value:!0}),Zo.default=void 0;var e={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"]]},t=e;return Zo.default=t,Zo}var Qo={},Ud;function YR(){if(Ud)return Qo;Ud=1,Object.defineProperty(Qo,"__esModule",{value:!0}),Qo.default=void 0;var e={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"]]},t=e;return Qo.default=t,Qo}var zd;function JR(){if(zd)return Jo;zd=1,Object.defineProperty(Jo,"__esModule",{value:!0}),Jo.default=void 0;var e=n(GR()),t=n(KR()),r=n(YR());function n(a){return a&&a.__esModule?a:{default:a}}var o=[["graphics-document",e.default],["graphics-object",t.default],["graphics-symbol",r.default]],i=o;return Jo.default=i,Jo}var Vd;function xl(){if(Vd)return yr;Vd=1,Object.defineProperty(yr,"__esModule",{value:!0}),yr.default=void 0;var e=i(Ov()),t=i(aR()),r=i(WR()),n=i(JR()),o=i(_i());function i(b){return b&&b.__esModule?b:{default:b}}function a(b,R,T){return R in b?Object.defineProperty(b,R,{value:T,enumerable:!0,configurable:!0,writable:!0}):b[R]=T,b}function l(b,R){var T=typeof Symbol<"u"&&b[Symbol.iterator]||b["@@iterator"];if(!T){if(Array.isArray(b)||(T=c(b))||R){T&&(b=T);var _=0,x=function(){};return{s:x,n:function(){return _>=b.length?{done:!0}:{done:!1,value:b[_++]}},e:function(I){throw I},f:x}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
10
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var v=!0,y=!1,S;return{s:function(){T=T.call(b)},n:function(){var I=T.next();return v=I.done,I},e:function(I){y=!0,S=I},f:function(){try{!v&&T.return!=null&&T.return()}finally{if(y)throw S}}}}function u(b,R){return p(b)||f(b,R)||c(b,R)||s()}function s(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
11
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function c(b,R){if(b){if(typeof b=="string")return d(b,R);var T=Object.prototype.toString.call(b).slice(8,-1);if(T==="Object"&&b.constructor&&(T=b.constructor.name),T==="Map"||T==="Set")return Array.from(b);if(T==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(T))return d(b,R)}}function d(b,R){(R==null||R>b.length)&&(R=b.length);for(var T=0,_=new Array(R);T<R;T++)_[T]=b[T];return _}function f(b,R){var T=b==null?null:typeof Symbol<"u"&&b[Symbol.iterator]||b["@@iterator"];if(T!=null){var _=[],x=!0,v=!1,y,S;try{for(T=T.call(b);!(x=(y=T.next()).done)&&(_.push(y.value),!(R&&_.length===R));x=!0);}catch(N){v=!0,S=N}finally{try{!x&&T.return!=null&&T.return()}finally{if(v)throw S}}return _}}function p(b){if(Array.isArray(b))return b}var m=[].concat(e.default,t.default,r.default,n.default);m.forEach(function(b){var R=u(b,2),T=R[1],_=l(T.superClass),x;try{for(_.s();!(x=_.n()).done;){var v=x.value,y=l(v),S;try{var N=function(){var L=S.value,B=m.find(function(Y){var he=u(Y,1),ce=he[0];return ce===L});if(B)for(var $=B[1],D=0,K=Object.keys($.props);D<K.length;D++){var W=K[D];Object.prototype.hasOwnProperty.call(T.props,W)||Object.assign(T.props,a({},W,$.props[W]))}};for(y.s();!(S=y.n()).done;)N()}catch(I){y.e(I)}finally{y.f()}}}catch(I){_.e(I)}finally{_.f()}});var h={entries:function(){return m},forEach:function(R){var T=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,_=l(m),x;try{for(_.s();!(x=_.n()).done;){var v=u(x.value,2),y=v[0],S=v[1];R.call(T,S,y,m)}}catch(N){_.e(N)}finally{_.f()}},get:function(R){var T=m.find(function(_){return _[0]===R});return T&&T[1]},has:function(R){return!!h.get(R)},keys:function(){return m.map(function(R){var T=u(R,1),_=T[0];return _})},values:function(){return m.map(function(R){var T=u(R,2),_=T[1];return _})}},g=(0,o.default)(h,h.entries());return yr.default=g,yr}var ei={},Ya={},Hd;function XR(){if(Hd)return Ya;Hd=1;var e=Object.prototype.hasOwnProperty;function t(r,n){var o,i;if(r===n)return!0;if(r&&n&&(o=r.constructor)===n.constructor){if(o===Date)return r.getTime()===n.getTime();if(o===RegExp)return r.toString()===n.toString();if(o===Array){if((i=r.length)===n.length)for(;i--&&t(r[i],n[i]););return i===-1}if(!o||typeof r=="object"){i=0;for(o in r)if(e.call(r,o)&&++i&&!e.call(n,o)||!(o in n)||!t(r[o],n[o]))return!1;return Object.keys(n).length===i}}return r!==r&&n!==n}return Ya.dequal=t,Ya}var Wd;function ZR(){if(Wd)return ei;Wd=1,Object.defineProperty(ei,"__esModule",{value:!0}),ei.default=void 0;var e=XR(),t=n(_i()),r=n(xl());function n(x){return x&&x.__esModule?x:{default:x}}function o(x,v){return l(x)||a(x,v)||s(x,v)||i()}function i(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
12
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function a(x,v){var y=x==null?null:typeof Symbol<"u"&&x[Symbol.iterator]||x["@@iterator"];if(y!=null){var S=[],N=!0,I=!1,L,B;try{for(y=y.call(x);!(N=(L=y.next()).done)&&(S.push(L.value),!(v&&S.length===v));N=!0);}catch($){I=!0,B=$}finally{try{!N&&y.return!=null&&y.return()}finally{if(I)throw B}}return S}}function l(x){if(Array.isArray(x))return x}function u(x,v){var y=typeof Symbol<"u"&&x[Symbol.iterator]||x["@@iterator"];if(!y){if(Array.isArray(x)||(y=s(x))||v){y&&(x=y);var S=0,N=function(){};return{s:N,n:function(){return S>=x.length?{done:!0}:{done:!1,value:x[S++]}},e:function(D){throw D},f:N}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
13
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var I=!0,L=!1,B;return{s:function(){y=y.call(x)},n:function(){var D=y.next();return I=D.done,D},e:function(D){L=!0,B=D},f:function(){try{!I&&y.return!=null&&y.return()}finally{if(L)throw B}}}}function s(x,v){if(x){if(typeof x=="string")return c(x,v);var y=Object.prototype.toString.call(x).slice(8,-1);if(y==="Object"&&x.constructor&&(y=x.constructor.name),y==="Map"||y==="Set")return Array.from(x);if(y==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(y))return c(x,v)}}function c(x,v){(v==null||v>x.length)&&(v=x.length);for(var y=0,S=new Array(v);y<v;y++)S[y]=x[y];return S}for(var d=[],f=r.default.keys(),p=0;p<f.length;p++){var m=f[p],h=r.default.get(m);if(h)for(var g=[].concat(h.baseConcepts,h.relatedConcepts),b=0;b<g.length;b++){var R=g[b];R.module==="HTML"&&(function(){var x=R.concept;if(x){var v=d.find(function(I){return(0,e.dequal)(I,x)}),y;v?y=v[1]:y=[];for(var S=!0,N=0;N<y.length;N++)if(y[N]===m){S=!1;break}S&&y.push(m),d.push([x,y])}})()}}var T={entries:function(){return d},forEach:function(v){var y=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,S=u(d),N;try{for(S.s();!(N=S.n()).done;){var I=o(N.value,2),L=I[0],B=I[1];v.call(y,B,L,d)}}catch($){S.e($)}finally{S.f()}},get:function(v){var y=d.find(function(S){return v.name===S[0].name&&(0,e.dequal)(v.attributes,S[0].attributes)});return y&&y[1]},has:function(v){return!!T.get(v)},keys:function(){return d.map(function(v){var y=o(v,1),S=y[0];return S})},values:function(){return d.map(function(v){var y=o(v,2),S=y[1];return S})}},_=(0,t.default)(T,T.entries());return ei.default=_,ei}var ti={},Gd;function QR(){if(Gd)return ti;Gd=1,Object.defineProperty(ti,"__esModule",{value:!0}),ti.default=void 0;var e=r(_i()),t=r(xl());function r(v){return v&&v.__esModule?v:{default:v}}function n(v,y){return a(v)||i(v,y)||u(v,y)||o()}function o(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
14
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function i(v,y){var S=v==null?null:typeof Symbol<"u"&&v[Symbol.iterator]||v["@@iterator"];if(S!=null){var N=[],I=!0,L=!1,B,$;try{for(S=S.call(v);!(I=(B=S.next()).done)&&(N.push(B.value),!(y&&N.length===y));I=!0);}catch(D){L=!0,$=D}finally{try{!I&&S.return!=null&&S.return()}finally{if(L)throw $}}return N}}function a(v){if(Array.isArray(v))return v}function l(v,y){var S=typeof Symbol<"u"&&v[Symbol.iterator]||v["@@iterator"];if(!S){if(Array.isArray(v)||(S=u(v))||y){S&&(v=S);var N=0,I=function(){};return{s:I,n:function(){return N>=v.length?{done:!0}:{done:!1,value:v[N++]}},e:function(K){throw K},f:I}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
15
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var L=!0,B=!1,$;return{s:function(){S=S.call(v)},n:function(){var K=S.next();return L=K.done,K},e:function(K){B=!0,$=K},f:function(){try{!L&&S.return!=null&&S.return()}finally{if(B)throw $}}}}function u(v,y){if(v){if(typeof v=="string")return s(v,y);var S=Object.prototype.toString.call(v).slice(8,-1);if(S==="Object"&&v.constructor&&(S=v.constructor.name),S==="Map"||S==="Set")return Array.from(v);if(S==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(S))return s(v,y)}}function s(v,y){(y==null||y>v.length)&&(y=v.length);for(var S=0,N=new Array(y);S<y;S++)N[S]=v[S];return N}for(var c=[],d=t.default.keys(),f=0;f<d.length;f++){var p=d[f],m=t.default.get(p),h=[];if(m){for(var g=[].concat(m.baseConcepts,m.relatedConcepts),b=0;b<g.length;b++){var R=g[b];if(R.module==="HTML"){var T=R.concept;T!=null&&h.push(T)}}h.length>0&&c.push([p,h])}}var _={entries:function(){return c},forEach:function(y){var S=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,N=l(c),I;try{for(N.s();!(I=N.n()).done;){var L=n(I.value,2),B=L[0],$=L[1];y.call(S,$,B,c)}}catch(D){N.e(D)}finally{N.f()}},get:function(y){var S=c.find(function(N){return N[0]===y});return S&&S[1]},has:function(y){return!!_.get(y)},keys:function(){return c.map(function(y){var S=n(y,1),N=S[0];return N})},values:function(){return c.map(function(y){var S=n(y,2),N=S[1];return N})}},x=(0,e.default)(_,_.entries());return ti.default=x,ti}var Kd;function eE(){if(Kd)return Ue;Kd=1,Object.defineProperty(Ue,"__esModule",{value:!0}),Ue.roles=Ue.roleElements=Ue.elementRoles=Ue.dom=Ue.aria=void 0;var e=i(bv()),t=i(gv()),r=i(xl()),n=i(ZR()),o=i(QR());function i(d){return d&&d.__esModule?d:{default:d}}var a=e.default;Ue.aria=a;var l=t.default;Ue.dom=l;var u=r.default;Ue.roles=u;var s=n.default;Ue.elementRoles=s;var c=o.default;return Ue.roleElements=c,Ue}var Ge=eE(),Ja={exports:{}},Yd;function tE(){return Yd||(Yd=1,(function(e){var t=(function(){var r=String.fromCharCode,n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+-$",i={};function a(u,s){if(!i[u]){i[u]={};for(var c=0;c<u.length;c++)i[u][u.charAt(c)]=c}return i[u][s]}var l={compressToBase64:function(u){if(u==null)return"";var s=l._compress(u,6,function(c){return n.charAt(c)});switch(s.length%4){default:case 0:return s;case 1:return s+"===";case 2:return s+"==";case 3:return s+"="}},decompressFromBase64:function(u){return u==null?"":u==""?null:l._decompress(u.length,32,function(s){return a(n,u.charAt(s))})},compressToUTF16:function(u){return u==null?"":l._compress(u,15,function(s){return r(s+32)})+" "},decompressFromUTF16:function(u){return u==null?"":u==""?null:l._decompress(u.length,16384,function(s){return u.charCodeAt(s)-32})},compressToUint8Array:function(u){for(var s=l.compress(u),c=new Uint8Array(s.length*2),d=0,f=s.length;d<f;d++){var p=s.charCodeAt(d);c[d*2]=p>>>8,c[d*2+1]=p%256}return c},decompressFromUint8Array:function(u){if(u==null)return l.decompress(u);for(var s=new Array(u.length/2),c=0,d=s.length;c<d;c++)s[c]=u[c*2]*256+u[c*2+1];var f=[];return s.forEach(function(p){f.push(r(p))}),l.decompress(f.join(""))},compressToEncodedURIComponent:function(u){return u==null?"":l._compress(u,6,function(s){return o.charAt(s)})},decompressFromEncodedURIComponent:function(u){return u==null?"":u==""?null:(u=u.replace(/ /g,"+"),l._decompress(u.length,32,function(s){return a(o,u.charAt(s))}))},compress:function(u){return l._compress(u,16,function(s){return r(s)})},_compress:function(u,s,c){if(u==null)return"";var d,f,p={},m={},h="",g="",b="",R=2,T=3,_=2,x=[],v=0,y=0,S;for(S=0;S<u.length;S+=1)if(h=u.charAt(S),Object.prototype.hasOwnProperty.call(p,h)||(p[h]=T++,m[h]=!0),g=b+h,Object.prototype.hasOwnProperty.call(p,g))b=g;else{if(Object.prototype.hasOwnProperty.call(m,b)){if(b.charCodeAt(0)<256){for(d=0;d<_;d++)v=v<<1,y==s-1?(y=0,x.push(c(v)),v=0):y++;for(f=b.charCodeAt(0),d=0;d<8;d++)v=v<<1|f&1,y==s-1?(y=0,x.push(c(v)),v=0):y++,f=f>>1}else{for(f=1,d=0;d<_;d++)v=v<<1|f,y==s-1?(y=0,x.push(c(v)),v=0):y++,f=0;for(f=b.charCodeAt(0),d=0;d<16;d++)v=v<<1|f&1,y==s-1?(y=0,x.push(c(v)),v=0):y++,f=f>>1}R--,R==0&&(R=Math.pow(2,_),_++),delete m[b]}else for(f=p[b],d=0;d<_;d++)v=v<<1|f&1,y==s-1?(y=0,x.push(c(v)),v=0):y++,f=f>>1;R--,R==0&&(R=Math.pow(2,_),_++),p[g]=T++,b=String(h)}if(b!==""){if(Object.prototype.hasOwnProperty.call(m,b)){if(b.charCodeAt(0)<256){for(d=0;d<_;d++)v=v<<1,y==s-1?(y=0,x.push(c(v)),v=0):y++;for(f=b.charCodeAt(0),d=0;d<8;d++)v=v<<1|f&1,y==s-1?(y=0,x.push(c(v)),v=0):y++,f=f>>1}else{for(f=1,d=0;d<_;d++)v=v<<1|f,y==s-1?(y=0,x.push(c(v)),v=0):y++,f=0;for(f=b.charCodeAt(0),d=0;d<16;d++)v=v<<1|f&1,y==s-1?(y=0,x.push(c(v)),v=0):y++,f=f>>1}R--,R==0&&(R=Math.pow(2,_),_++),delete m[b]}else for(f=p[b],d=0;d<_;d++)v=v<<1|f&1,y==s-1?(y=0,x.push(c(v)),v=0):y++,f=f>>1;R--,R==0&&(R=Math.pow(2,_),_++)}for(f=2,d=0;d<_;d++)v=v<<1|f&1,y==s-1?(y=0,x.push(c(v)),v=0):y++,f=f>>1;for(;;)if(v=v<<1,y==s-1){x.push(c(v));break}else y++;return x.join("")},decompress:function(u){return u==null?"":u==""?null:l._decompress(u.length,32768,function(s){return u.charCodeAt(s)})},_decompress:function(u,s,c){var d=[],f=4,p=4,m=3,h="",g=[],b,R,T,_,x,v,y,S={val:c(0),position:s,index:1};for(b=0;b<3;b+=1)d[b]=b;for(T=0,x=Math.pow(2,2),v=1;v!=x;)_=S.val&S.position,S.position>>=1,S.position==0&&(S.position=s,S.val=c(S.index++)),T|=(_>0?1:0)*v,v<<=1;switch(T){case 0:for(T=0,x=Math.pow(2,8),v=1;v!=x;)_=S.val&S.position,S.position>>=1,S.position==0&&(S.position=s,S.val=c(S.index++)),T|=(_>0?1:0)*v,v<<=1;y=r(T);break;case 1:for(T=0,x=Math.pow(2,16),v=1;v!=x;)_=S.val&S.position,S.position>>=1,S.position==0&&(S.position=s,S.val=c(S.index++)),T|=(_>0?1:0)*v,v<<=1;y=r(T);break;case 2:return""}for(d[3]=y,R=y,g.push(y);;){if(S.index>u)return"";for(T=0,x=Math.pow(2,m),v=1;v!=x;)_=S.val&S.position,S.position>>=1,S.position==0&&(S.position=s,S.val=c(S.index++)),T|=(_>0?1:0)*v,v<<=1;switch(y=T){case 0:for(T=0,x=Math.pow(2,8),v=1;v!=x;)_=S.val&S.position,S.position>>=1,S.position==0&&(S.position=s,S.val=c(S.index++)),T|=(_>0?1:0)*v,v<<=1;d[p++]=r(T),y=p-1,f--;break;case 1:for(T=0,x=Math.pow(2,16),v=1;v!=x;)_=S.val&S.position,S.position>>=1,S.position==0&&(S.position=s,S.val=c(S.index++)),T|=(_>0?1:0)*v,v<<=1;d[p++]=r(T),y=p-1,f--;break;case 2:return g.join("")}if(f==0&&(f=Math.pow(2,m),m++),d[y])h=d[y];else if(y===p)h=R+R.charAt(0);else return null;g.push(h),d[p++]=R+h.charAt(0),f--,R=h,f==0&&(f=Math.pow(2,m),m++)}}};return l})();e!=null?e.exports=t:typeof angular<"u"&&angular!=null&&angular.module("LZString",[]).factory("LZString",function(){return t})})(Ja)),Ja.exports}var rE=tE();const nE=ly(rE);var Ls={};function gh(e){return e.replace(/</g,"&lt;").replace(/>/g,"&gt;")}const oE=(e,t,r,n,o,i,a)=>{const l=n+r.indent,u=r.colors;return e.map(s=>{const c=t[s];let d=a(c,r,l,o,i);return typeof c!="string"&&(d.indexOf(`
16
- `)!==-1&&(d=r.spacingOuter+l+d+r.spacingOuter+n),d="{"+d+"}"),r.spacingInner+n+u.prop.open+s+u.prop.close+"="+u.value.open+d+u.value.close}).join("")},iE=3,aE=(e,t,r,n,o,i)=>e.map(a=>{const l=typeof a=="string"?yh(a,t):i(a,t,r,n,o);return l===""&&typeof a=="object"&&a!==null&&a.nodeType!==iE?"":t.spacingOuter+r+l}).join(""),yh=(e,t)=>{const r=t.colors.content;return r.open+gh(e)+r.close},sE=(e,t)=>{const r=t.colors.comment;return r.open+"<!--"+gh(e)+"-->"+r.close},lE=(e,t,r,n,o)=>{const i=n.colors.tag;return i.open+"<"+e+(t&&i.close+t+n.spacingOuter+o+i.open)+(r?">"+i.close+r+n.spacingOuter+o+i.open+"</"+e:(t&&!n.min?"":" ")+"/")+">"+i.close},uE=(e,t)=>{const r=t.colors.tag;return r.open+"<"+e+r.close+" …"+r.open+" />"+r.close},cE=1,vh=3,wh=8,Rh=11,fE=/^((HTML|SVG)\w*)?Element$/,Eh=e=>{const{tagName:t}=e;return!!(typeof t=="string"&&t.includes("-")||typeof e.hasAttribute=="function"&&e.hasAttribute("is"))},dE=e=>{const t=e.constructor.name,{nodeType:r}=e;return r===cE&&(fE.test(t)||Eh(e))||r===vh&&t==="Text"||r===wh&&t==="Comment"||r===Rh&&t==="DocumentFragment"};function pE(e){return e.nodeType===vh}function mE(e){return e.nodeType===wh}function Xa(e){return e.nodeType===Rh}function hE(e){return{test:t=>{var r;return((t==null||(r=t.constructor)==null?void 0:r.name)||Eh(t))&&dE(t)},serialize:(t,r,n,o,i,a)=>{if(pE(t))return yh(t.data,r);if(mE(t))return sE(t.data,r);const l=Xa(t)?"DocumentFragment":t.tagName.toLowerCase();return++o>r.maxDepth?uE(l,r):lE(l,oE(Xa(t)?[]:Array.from(t.attributes).map(u=>u.name).sort(),Xa(t)?{}:Array.from(t.attributes).reduce((u,s)=>(u[s.name]=s.value,u),{}),r,n+r.indent,o,i,a),aE(Array.prototype.slice.call(t.childNodes||t.children).filter(e),r,n+r.indent,o,i,a),r,n)}}}let _h=null,Sl=null,Pl=null;try{const e=Jt&&Jt.require;Sl=e.call(Jt,"fs").readFileSync,Pl=e.call(Jt,"@babel/code-frame").codeFrameColumns,_h=e.call(Jt,"picocolors")}catch{}function bE(e){const t=e.indexOf("(")+1,r=e.indexOf(")"),n=e.slice(t,r),o=n.split(":"),[i,a,l]=[o[0],parseInt(o[1],10),parseInt(o[2],10)];let u="";try{u=Sl(i,"utf-8")}catch{return""}const s=Pl(u,{start:{line:a,column:l}},{highlightCode:!0,linesBelow:0});return _h.dim(n)+`
17
- `+s+`
18
- `}function gE(){if(!Sl||!Pl)return"";const t=new Error().stack.split(`
19
- `).slice(1).find(r=>!r.includes("node_modules/"));return bE(t)}const Ch=3;function Za(){return typeof jest<"u"&&jest!==null?setTimeout._isMockFunction===!0||Object.prototype.hasOwnProperty.call(setTimeout,"clock"):!1}function ql(){if(typeof window>"u")throw new Error("Could not find default container");return window.document}function Th(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 _t(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}}const yE=()=>{if(typeof process>"u")return!1;let e;try{var t;const r=(t=Ls)==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:vE}=lh.plugins,wE=1,RE=8;function EE(e){return e.nodeType!==RE&&(e.nodeType!==wE||!e.matches(pe().defaultIgnore))}function rr(e,t,r){if(r===void 0&&(r={}),e||(e=ql().body),typeof t!="number"&&(t=typeof process<"u"&&typeof Ls<"u"&&Ls.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:o=EE,...i}=r,a=lh.format(e,{plugins:[hE(o),vE],printFunctionName:!1,highlight:yE(),...i});return t!==void 0&&e.outerHTML.length>t?a.slice(0,t)+"...":a}const Jd=function(){const e=gE();console.log(e?rr(...arguments)+`
20
-
21
- `+e:rr(...arguments))};let jt={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=rr(t),n=new Error([e,"Ignored nodes: comments, "+jt.defaultIgnore+`
22
- `+r].filter(Boolean).join(`
23
-
24
- `));return n.name="TestingLibraryElementError",n},_disableExpensiveErrorDiagnostics:!1,computedStyleSupportsPseudoElements:!1};function _E(e){try{return jt._disableExpensiveErrorDiagnostics=!0,e()}finally{jt._disableExpensiveErrorDiagnostics=!1}}function CE(e){typeof e=="function"&&(e=e(jt)),jt={...jt,...e}}function pe(){return jt}const TE=["button","meter","output","progress","select","textarea","input"];function xh(e){return TE.includes(e.nodeName.toLowerCase())?"":e.nodeType===Ch?e.textContent:Array.from(e.childNodes).map(t=>xh(t)).join("")}function Bs(e){let t;return e.tagName.toLowerCase()==="label"?t=xh(e):t=e.value||e.textContent,t}function Sh(e){if(e.labels!==void 0){var t;return(t=e.labels)!=null?t:[]}if(!xE(e))return[];const r=e.ownerDocument.querySelectorAll("label");return Array.from(r).filter(n=>n.control===e)}function xE(e){return/BUTTON|METER|OUTPUT|PROGRESS|SELECT|TEXTAREA/.test(e.tagName)||e.tagName==="INPUT"&&e.getAttribute("type")!=="hidden"}function Ph(e,t,r){let{selector:n="*"}=r===void 0?{}:r;const o=t.getAttribute("aria-labelledby"),i=o?o.split(" "):[];return i.length?i.map(a=>{const l=e.querySelector('[id="'+a+'"]');return l?{content:Bs(l),formControl:null}:{content:"",formControl:null}}):Array.from(Sh(t)).map(a=>{const l=Bs(a),s=Array.from(a.querySelectorAll("button, input, meter, output, progress, select, textarea")).filter(c=>c.matches(n))[0];return{content:l,formControl:s}})}function qh(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 lr(e,t,r,n){if(typeof e!="string")return!1;qh(r);const o=n(e);return typeof r=="string"||typeof r=="number"?o.toLowerCase().includes(r.toString().toLowerCase()):typeof r=="function"?r(o,t):Mh(r,o)}function Et(e,t,r,n){if(typeof e!="string")return!1;qh(r);const o=n(e);return r instanceof Function?r(o,t):r instanceof RegExp?Mh(r,o):o===String(r)}function Oh(e){let{trim:t=!0,collapseWhitespace:r=!0}=e===void 0?{}:e;return n=>{let o=n;return o=t?o.trim():o,o=r?o.replace(/\s+/g," "):o,o}}function zt(e){let{trim:t,collapseWhitespace:r,normalizer:n}=e;if(!n)return Oh({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 Mh(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 Ea(e){return e.matches("input[type=submit], input[type=button], input[type=reset]")?e.value:Array.from(e.childNodes).filter(t=>t.nodeType===Ch&&!!t.textContent).map(t=>t.textContent).join("")}const SE=PE(Ge.elementRoles);function Ah(e){return e.hidden===!0||e.getAttribute("aria-hidden")==="true"||e.ownerDocument.defaultView.getComputedStyle(e).display==="none"}function Ol(e,t){t===void 0&&(t={});const{isSubtreeInaccessible:r=Ah}=t;if(e.ownerDocument.defaultView.getComputedStyle(e).visibility==="hidden")return!0;let o=e;for(;o;){if(r(o))return!0;o=o.parentElement}return!1}function Ml(e){for(const{match:t,roles:r}of SE)if(t(e))return[...r];return[]}function PE(e){function t(a){let{name:l,attributes:u}=a;return""+l+u.map(s=>{let{name:c,value:d,constraints:f=[]}=s;const p=f.indexOf("undefined")!==-1,m=f.indexOf("set")!==-1;return typeof d<"u"?"["+c+'="'+d+'"]':p?":not(["+c+"])":m?"["+c+"]:not(["+c+'=""])':"["+c+"]"}).join("")}function r(a){let{attributes:l=[]}=a;return l.length}function n(a,l){let{specificity:u}=a,{specificity:s}=l;return s-u}function o(a){let{attributes:l=[]}=a;const u=l.findIndex(c=>c.value&&c.name==="type"&&c.value==="text");u>=0&&(l=[...l.slice(0,u),...l.slice(u+1)]);const s=t({...a,attributes:l});return c=>u>=0&&c.type!=="text"?!1:c.matches(s)}let i=[];for(const[a,l]of e.entries())i=[...i,{match:o(a),roles:Array.from(l),specificity:r(a)}];return i.sort(n)}function qE(e,t){let{hidden:r=!1}=t===void 0?{}:t;function n(o){return[o,...Array.from(o.children).reduce((i,a)=>[...i,...n(a)],[])]}return n(e).filter(o=>r===!1?Ol(o)===!1:!0).reduce((o,i)=>{let a=[];return i.hasAttribute("role")?a=i.getAttribute("role").split(" ").slice(0,1):a=Ml(i),a.reduce((l,u)=>Array.isArray(l[u])?{...l,[u]:[...l[u],i]}:{...l,[u]:[i]},o)},{})}function OE(e,t){let{hidden:r,includeDescription:n}=t;const o=qE(e,{hidden:r});return Object.entries(o).filter(i=>{let[a]=i;return a!=="generic"}).map(i=>{let[a,l]=i;const u="-".repeat(50),s=l.map(c=>{const d='Name "'+Tl(c,{computedStyleSupportsPseudoElements:pe().computedStyleSupportsPseudoElements})+`":
25
- `,f=rr(c.cloneNode(!1));if(n){const p='Description "'+bh(c,{computedStyleSupportsPseudoElements:pe().computedStyleSupportsPseudoElements})+`":
26
- `;return""+d+p+f}return""+d+f}).join(`
27
-
28
- `);return a+`:
29
-
30
- `+s+`
31
-
32
- `+u}).join(`
33
- `)}function ME(e){return e.tagName==="OPTION"?e.selected:Ci(e,"aria-selected")}function AE(e){return e.getAttribute("aria-busy")==="true"}function $E(e){if(!("indeterminate"in e&&e.indeterminate))return"checked"in e?e.checked:Ci(e,"aria-checked")}function NE(e){return Ci(e,"aria-pressed")}function IE(e){var t,r;return(t=(r=Ci(e,"aria-current"))!=null?r:e.getAttribute("aria-current"))!=null?t:!1}function jE(e){return Ci(e,"aria-expanded")}function Ci(e,t){const r=e.getAttribute(t);if(r==="true")return!0;if(r==="false")return!1}function DE(e){const t={H1:1,H2:2,H3:3,H4:4,H5:5,H6:6};return e.getAttribute("aria-level")&&Number(e.getAttribute("aria-level"))||t[e.tagName]}function FE(e){const t=e.getAttribute("aria-valuenow");return t===null?void 0:+t}function kE(e){const t=e.getAttribute("aria-valuemax");return t===null?void 0:+t}function LE(e){const t=e.getAttribute("aria-valuemin");return t===null?void 0:+t}function BE(e){const t=e.getAttribute("aria-valuetext");return t===null?void 0:t}const Xd=Oh();function UE(e){return e.replace(/[.*+\-?^${}()|[\]\\]/g,"\\$&")}function Zd(e){return new RegExp(UE(e.toLowerCase()),"i")}function Tt(e,t,r,n){let{variant:o,name:i}=n,a="";const l={},u=[["Role","TestId"].includes(e)?r:Zd(r)];i&&(l.name=Zd(i)),e==="Role"&&Ol(t)&&(l.hidden=!0,a=`Element is inaccessible. This means that the element and all its children are invisible to screen readers.
34
- If you are using the aria-hidden prop, make sure this is the right choice for your case.
35
- `),Object.keys(l).length>0&&u.push(l);const s=o+"By"+e;return{queryName:e,queryMethod:s,queryArgs:u,variant:o,warning:a,toString(){a&&console.warn(a);let[c,d]=u;return c=typeof c=="string"?"'"+c+"'":c,d=d?", { "+Object.entries(d).map(f=>{let[p,m]=f;return p+": "+m}).join(", ")+" }":"",s+"("+c+d+")"}}}function xt(e,t,r){return r&&!0}function Us(e,t,r){var n,o;if(t===void 0&&(t="get"),e.matches(pe().defaultIgnore))return;const i=(n=e.getAttribute("role"))!=null?n:(o=Ml(e))==null?void 0:o[0];if(i!=="generic"&&xt("Role",r,i))return Tt("Role",e,i,{variant:t,name:Tl(e,{computedStyleSupportsPseudoElements:pe().computedStyleSupportsPseudoElements})});const a=Ph(document,e).map(f=>f.content).join(" ");if(xt("LabelText",r,a))return Tt("LabelText",e,a,{variant:t});const l=e.getAttribute("placeholder");if(xt("PlaceholderText",r,l))return Tt("PlaceholderText",e,l,{variant:t});const u=Xd(Ea(e));if(xt("Text",r,u))return Tt("Text",e,u,{variant:t});if(xt("DisplayValue",r,e.value))return Tt("DisplayValue",e,Xd(e.value),{variant:t});const s=e.getAttribute("alt");if(xt("AltText",r,s))return Tt("AltText",e,s,{variant:t});const c=e.getAttribute("title");if(xt("Title",r,c))return Tt("Title",e,c,{variant:t});const d=e.getAttribute(pe().testIdAttribute);if(xt("TestId",r,d))return Tt("TestId",e,d,{variant:t})}function Fi(e,t){e.stack=t.stack.replace(t.message,e.message)}function zE(e,t){let{container:r=ql(),timeout:n=pe().asyncUtilTimeout,showOriginalStackTrace:o=pe().showOriginalStackTrace,stackTraceError:i,interval:a=50,onTimeout:l=s=>(Object.defineProperty(s,"message",{value:pe().getElementError(s.message,r).message}),s),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(s,c)=>{let d,f,p,m=!1,h="idle";const g=setTimeout(x,n),b=Za();if(b){const{unstable_advanceTimersWrapper:v}=pe();for(_();!m;){if(!Za()){const y=new Error("Changed from using fake timers to real timers while using waitFor. This is not allowed and will result in very strange behavior. Please ensure you're awaiting all async things your test is doing before changing to real timers. For more info, please go to https://github.com/testing-library/dom-testing-library/issues/830");o||Fi(y,i),c(y);return}if(await v(async()=>{jest.advanceTimersByTime(a)}),m)break;_()}}else{try{_t(r)}catch(y){c(y);return}f=setInterval(T,a);const{MutationObserver:v}=Th(r);p=new v(T),p.observe(r,u),_()}function R(v,y){m=!0,clearTimeout(g),b||(clearInterval(f),p.disconnect()),v?c(v):s(y)}function T(){if(Za()){const v=new Error("Changed from using real timers to fake timers while using waitFor. This is not allowed and will result in very strange behavior. Please ensure you're awaiting all async things your test is doing before changing to fake timers. For more info, please go to https://github.com/testing-library/dom-testing-library/issues/830");return o||Fi(v,i),c(v)}else return _()}function _(){if(h!=="pending")try{const v=_E(e);typeof v?.then=="function"?(h="pending",v.then(y=>{h="resolved",R(null,y)},y=>{h="rejected",d=y})):R(null,v)}catch(v){d=v}}function x(){let v;d?(v=d,!o&&v.name==="TestingLibraryElementError"&&Fi(v,i)):(v=new Error("Timed out in waitFor."),o||Fi(v,i)),R(l(v),null)}})}function VE(e,t){const r=new Error("STACK_TRACE_MESSAGE");return pe().asyncWrapper(()=>zE(e,{stackTraceError:r,...t}))}function $h(e,t){return pe().getElementError(e,t)}function HE(e,t){return $h(e+"\n\n(If this is intentional, then use the `*AllBy*` variant of the query (like `queryAllByText`, `getAllByText`, or `findAllByText`)).",t)}function _a(e,t,r,n){let{exact:o=!0,collapseWhitespace:i,trim:a,normalizer:l}=n===void 0?{}:n;const u=o?Et:lr,s=zt({collapseWhitespace:i,trim:a,normalizer:l});return Array.from(t.querySelectorAll("["+e+"]")).filter(c=>u(c.getAttribute(e),c,r,s))}function ia(e,t){return function(r){for(var n=arguments.length,o=new Array(n>1?n-1:0),i=1;i<n;i++)o[i-1]=arguments[i];const a=e(r,...o);if(a.length>1){const l=a.map(u=>$h(null,u).message).join(`
36
-
37
- `);throw HE(t(r,...o)+`
38
-
39
- Here are the matching elements:
40
-
41
- `+l,r)}return a[0]||null}}function Nh(e,t){return pe().getElementError(`A better query is available, try this:
42
- `+e.toString()+`
43
- `,t)}function WE(e,t){return function(r){for(var n=arguments.length,o=new Array(n>1?n-1:0),i=1;i<n;i++)o[i-1]=arguments[i];const a=e(r,...o);if(!a.length)throw pe().getElementError(t(r,...o),r);return a}}function aa(e){return(t,r,n,o)=>VE(()=>e(t,r,n),{container:t,...o})}const Zt=(e,t,r)=>function(n){for(var o=arguments.length,i=new Array(o>1?o-1:0),a=1;a<o;a++)i[a-1]=arguments[a];const l=e(n,...i),[{suggest:u=pe().throwSuggestions}={}]=i.slice(-1);if(l&&u){const s=Us(l,r);if(s&&!t.endsWith(s.queryName))throw Nh(s.toString(),n)}return l},Ye=(e,t,r)=>function(n){for(var o=arguments.length,i=new Array(o>1?o-1:0),a=1;a<o;a++)i[a-1]=arguments[a];const l=e(n,...i),[{suggest:u=pe().throwSuggestions}={}]=i.slice(-1);if(l.length&&u){const s=[...new Set(l.map(c=>{var d;return(d=Us(c,r))==null?void 0:d.toString()}))];if(s.length===1&&!t.endsWith(Us(l[0],r).queryName))throw Nh(s[0],n)}return l};function Vt(e,t,r){const n=Zt(ia(e,t),e.name,"query"),o=WE(e,r),i=ia(o,t),a=Zt(i,e.name,"get"),l=Ye(o,e.name.replace("query","get"),"getAll"),u=aa(Ye(o,e.name,"findAll")),s=aa(Zt(i,e.name,"find"));return[n,l,a,u,s]}function GE(e){return Array.from(e.querySelectorAll("label,input")).map(t=>({node:t,textToMatch:Bs(t)})).filter(t=>{let{textToMatch:r}=t;return r!==null})}const KE=function(e,t,r){let{exact:n=!0,trim:o,collapseWhitespace:i,normalizer:a}=r===void 0?{}:r;const l=n?Et:lr,u=zt({collapseWhitespace:i,trim:o,normalizer:a});return GE(e).filter(c=>{let{node:d,textToMatch:f}=c;return l(f,d,t,u)}).map(c=>{let{node:d}=c;return d})},gi=function(e,t,r){let{selector:n="*",exact:o=!0,collapseWhitespace:i,trim:a,normalizer:l}=r===void 0?{}:r;_t(e);const u=o?Et:lr,s=zt({collapseWhitespace:i,trim:a,normalizer:l}),c=Array.from(e.querySelectorAll("*")).filter(d=>Sh(d).length||d.hasAttribute("aria-labelledby")).reduce((d,f)=>{const p=Ph(e,f,{selector:n});p.filter(h=>!!h.formControl).forEach(h=>{u(h.content,h.formControl,t,s)&&h.formControl&&d.push(h.formControl)});const m=p.filter(h=>!!h.content).map(h=>h.content);return u(m.join(" "),f,t,s)&&d.push(f),m.length>1&&m.forEach((h,g)=>{u(h,f,t,s)&&d.push(f);const b=[...m];b.splice(g,1),b.length>1&&u(b.join(" "),f,t,s)&&d.push(f)}),d},[]).concat(_a("aria-label",e,t,{exact:o,normalizer:s}));return Array.from(new Set(c)).filter(d=>d.matches(n))},kt=function(e,t){for(var r=arguments.length,n=new Array(r>2?r-2:0),o=2;o<r;o++)n[o-2]=arguments[o];const i=gi(e,t,...n);if(!i.length){const a=KE(e,t,...n);if(a.length){const l=a.map(u=>YE(e,u)).filter(u=>!!u);throw l.length?pe().getElementError(l.map(u=>"Found a label with the text of: "+t+", however the element associated with this label (<"+u+" />) is non-labellable [https://html.spec.whatwg.org/multipage/forms.html#category-label]. If you really need to label a <"+u+" />, you can use aria-label or aria-labelledby instead.").join(`
44
-
45
- `),e):pe().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 pe().getElementError("Unable to find a label with the text of: "+t,e)}return i};function YE(e,t){const r=t.getAttribute("for");if(!r)return null;const n=e.querySelector('[id="'+r+'"]');return n?n.tagName.toLowerCase():null}const Ih=(e,t)=>"Found multiple elements with the text of: "+t,JE=Zt(ia(gi,Ih),gi.name,"query"),jh=ia(kt,Ih),XE=aa(Ye(kt,kt.name,"findAll")),ZE=aa(Zt(jh,kt.name,"find")),QE=Ye(kt,kt.name,"getAll"),e_=Zt(jh,kt.name,"get"),t_=Ye(gi,gi.name,"queryAll"),zs=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return _t(t[0]),_a("placeholder",...t)},r_=(e,t)=>"Found multiple elements with the placeholder text of: "+t,n_=(e,t)=>"Unable to find an element with the placeholder text of: "+t,o_=Ye(zs,zs.name,"queryAll"),[i_,a_,s_,l_,u_]=Vt(zs,r_,n_),Vs=function(e,t,r){let{selector:n="*",exact:o=!0,collapseWhitespace:i,trim:a,ignore:l=pe().defaultIgnore,normalizer:u}=r===void 0?{}:r;_t(e);const s=o?Et:lr,c=zt({collapseWhitespace:i,trim:a,normalizer:u});let d=[];return typeof e.matches=="function"&&e.matches(n)&&(d=[e]),[...d,...Array.from(e.querySelectorAll(n))].filter(f=>!l||!f.matches(l)).filter(f=>s(Ea(f),f,t,c))},c_=(e,t)=>"Found multiple elements with the text: "+t,f_=function(e,t,r){r===void 0&&(r={});const{collapseWhitespace:n,trim:o,normalizer:i,selector:a}=r,u=zt({collapseWhitespace:n,trim:o,normalizer:i})(t.toString()),s=u!==t.toString(),c=(a??"*")!=="*";return"Unable to find an element with the text: "+(s?u+" (normalized from '"+t+"')":t)+(c?", which matches selector '"+a+"'":"")+". 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."},d_=Ye(Vs,Vs.name,"queryAll"),[p_,m_,h_,b_,g_]=Vt(Vs,c_,f_),Hs=function(e,t,r){let{exact:n=!0,collapseWhitespace:o,trim:i,normalizer:a}=r===void 0?{}:r;_t(e);const l=n?Et:lr,u=zt({collapseWhitespace:o,trim:i,normalizer:a});return Array.from(e.querySelectorAll("input,textarea,select")).filter(s=>s.tagName==="SELECT"?Array.from(s.options).filter(d=>d.selected).some(d=>l(Ea(d),d,t,u)):l(s.value,s,t,u))},y_=(e,t)=>"Found multiple elements with the display value: "+t+".",v_=(e,t)=>"Unable to find an element with the display value: "+t+".",w_=Ye(Hs,Hs.name,"queryAll"),[R_,E_,__,C_,T_]=Vt(Hs,y_,v_),x_=/^(img|input|area|.+-.+)$/i,Ws=function(e,t,r){return r===void 0&&(r={}),_t(e),_a("alt",e,t,r).filter(n=>x_.test(n.tagName))},S_=(e,t)=>"Found multiple elements with the alt text: "+t,P_=(e,t)=>"Unable to find an element with the alt text: "+t,q_=Ye(Ws,Ws.name,"queryAll"),[O_,M_,A_,$_,N_]=Vt(Ws,S_,P_),I_=e=>{var t;return e.tagName.toLowerCase()==="title"&&((t=e.parentElement)==null?void 0:t.tagName.toLowerCase())==="svg"},Gs=function(e,t,r){let{exact:n=!0,collapseWhitespace:o,trim:i,normalizer:a}=r===void 0?{}:r;_t(e);const l=n?Et:lr,u=zt({collapseWhitespace:o,trim:i,normalizer:a});return Array.from(e.querySelectorAll("[title], svg > title")).filter(s=>l(s.getAttribute("title"),s,t,u)||I_(s)&&l(Ea(s),s,t,u))},j_=(e,t)=>"Found multiple elements with the title: "+t+".",D_=(e,t)=>"Unable to find an element with the title: "+t+".",F_=Ye(Gs,Gs.name,"queryAll"),[k_,L_,B_,U_,z_]=Vt(Gs,j_,D_),Ks=function(e,t,r){let{hidden:n=pe().defaultHidden,name:o,description:i,queryFallbacks:a=!1,selected:l,busy:u,checked:s,pressed:c,current:d,level:f,expanded:p,value:{now:m,min:h,max:g,text:b}={}}=r===void 0?{}:r;if(_t(e),l!==void 0){var R;if(((R=Ge.roles.get(t))==null?void 0:R.props["aria-selected"])===void 0)throw new Error('"aria-selected" is not supported on role "'+t+'".')}if(u!==void 0){var T;if(((T=Ge.roles.get(t))==null?void 0:T.props["aria-busy"])===void 0)throw new Error('"aria-busy" is not supported on role "'+t+'".')}if(s!==void 0){var _;if(((_=Ge.roles.get(t))==null?void 0:_.props["aria-checked"])===void 0)throw new Error('"aria-checked" is not supported on role "'+t+'".')}if(c!==void 0){var x;if(((x=Ge.roles.get(t))==null?void 0:x.props["aria-pressed"])===void 0)throw new Error('"aria-pressed" is not supported on role "'+t+'".')}if(d!==void 0){var v;if(((v=Ge.roles.get(t))==null?void 0:v.props["aria-current"])===void 0)throw new Error('"aria-current" is not supported on role "'+t+'".')}if(f!==void 0&&t!=="heading")throw new Error('Role "'+t+'" cannot have "level" property.');if(m!==void 0){var y;if(((y=Ge.roles.get(t))==null?void 0:y.props["aria-valuenow"])===void 0)throw new Error('"aria-valuenow" is not supported on role "'+t+'".')}if(g!==void 0){var S;if(((S=Ge.roles.get(t))==null?void 0:S.props["aria-valuemax"])===void 0)throw new Error('"aria-valuemax" is not supported on role "'+t+'".')}if(h!==void 0){var N;if(((N=Ge.roles.get(t))==null?void 0:N.props["aria-valuemin"])===void 0)throw new Error('"aria-valuemin" is not supported on role "'+t+'".')}if(b!==void 0){var I;if(((I=Ge.roles.get(t))==null?void 0:I.props["aria-valuetext"])===void 0)throw new Error('"aria-valuetext" is not supported on role "'+t+'".')}if(p!==void 0){var L;if(((L=Ge.roles.get(t))==null?void 0:L.props["aria-expanded"])===void 0)throw new Error('"aria-expanded" is not supported on role "'+t+'".')}const B=new WeakMap;function $(D){return B.has(D)||B.set(D,Ah(D)),B.get(D)}return Array.from(e.querySelectorAll(V_(t))).filter(D=>{if(D.hasAttribute("role")){const Y=D.getAttribute("role");if(a)return Y.split(" ").filter(Boolean).some(ce=>ce===t);const[he]=Y.split(" ");return he===t}return Ml(D).some(Y=>Y===t)}).filter(D=>{if(l!==void 0)return l===ME(D);if(u!==void 0)return u===AE(D);if(s!==void 0)return s===$E(D);if(c!==void 0)return c===NE(D);if(d!==void 0)return d===IE(D);if(p!==void 0)return p===jE(D);if(f!==void 0)return f===DE(D);if(m!==void 0||g!==void 0||h!==void 0||b!==void 0){let W=!0;if(m!==void 0&&W&&(W=m===FE(D)),g!==void 0&&W&&(W=g===kE(D)),h!==void 0&&W&&(W=h===LE(D)),b!==void 0){var K;W&&(W=Et((K=BE(D))!=null?K:null,D,b,Y=>Y))}return W}return!0}).filter(D=>o===void 0?!0:Et(Tl(D,{computedStyleSupportsPseudoElements:pe().computedStyleSupportsPseudoElements}),D,o,K=>K)).filter(D=>i===void 0?!0:Et(bh(D,{computedStyleSupportsPseudoElements:pe().computedStyleSupportsPseudoElements}),D,i,K=>K)).filter(D=>n===!1?Ol(D,{isSubtreeInaccessible:$})===!1:!0)};function V_(e){var t;const r='*[role~="'+e+'"]',n=(t=Ge.roleElements.get(e))!=null?t:new Set,o=new Set(Array.from(n).map(i=>{let{name:a}=i;return a}));return[r].concat(Array.from(o)).join(",")}const Dh=e=>{let t="";return e===void 0?t="":typeof e=="string"?t=' and name "'+e+'"':t=" and name `"+e+"`",t},H_=function(e,t,r){let{name:n}=r===void 0?{}:r;return'Found multiple elements with the role "'+t+'"'+Dh(n)},W_=function(e,t,r){let{hidden:n=pe().defaultHidden,name:o,description:i}=r===void 0?{}:r;if(pe()._disableExpensiveErrorDiagnostics)return'Unable to find role="'+t+'"'+Dh(o);let a="";Array.from(e.children).forEach(c=>{a+=OE(c,{hidden:n,includeDescription:i!==void 0})});let l;a.length===0?n===!1?l="There are no accessible roles. But there might be some inaccessible roles. If you wish to access them, then set the `hidden` option to `true`. Learn more about this here: https://testing-library.com/docs/dom-testing-library/api-queries#byrole":l="There are no available roles.":l=(`
46
- Here are the `+(n===!1?"accessible":"available")+` roles:
47
-
48
- `+a.replace(/\n/g,`
49
- `).replace(/\n\s\s\n/g,`
50
-
51
- `)+`
52
- `).trim();let u="";o===void 0?u="":typeof o=="string"?u=' and name "'+o+'"':u=" and name `"+o+"`";let s="";return i===void 0?s="":typeof i=="string"?s=' and description "'+i+'"':s=" and description `"+i+"`",(`
53
- Unable to find an `+(n===!1?"accessible ":"")+'element with the role "'+t+'"'+u+s+`
54
-
55
- `+l).trim()},G_=Ye(Ks,Ks.name,"queryAll"),[K_,Y_,J_,X_,Z_]=Vt(Ks,H_,W_),Al=()=>pe().testIdAttribute,Ys=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return _t(t[0]),_a(Al(),...t)},Q_=(e,t)=>"Found multiple elements by: ["+Al()+'="'+t+'"]',eC=(e,t)=>"Unable to find an element by: ["+Al()+'="'+t+'"]',tC=Ye(Ys,Ys.name,"queryAll"),[rC,nC,oC,iC,aC]=Vt(Ys,Q_,eC);var Js=Object.freeze({__proto__:null,queryAllByLabelText:t_,queryByLabelText:JE,getAllByLabelText:QE,getByLabelText:e_,findAllByLabelText:XE,findByLabelText:ZE,queryByPlaceholderText:i_,queryAllByPlaceholderText:o_,getByPlaceholderText:s_,getAllByPlaceholderText:a_,findAllByPlaceholderText:l_,findByPlaceholderText:u_,queryByText:p_,queryAllByText:d_,getByText:h_,getAllByText:m_,findAllByText:b_,findByText:g_,queryByDisplayValue:R_,queryAllByDisplayValue:w_,getByDisplayValue:__,getAllByDisplayValue:E_,findAllByDisplayValue:C_,findByDisplayValue:T_,queryByAltText:O_,queryAllByAltText:q_,getByAltText:A_,getAllByAltText:M_,findAllByAltText:$_,findByAltText:N_,queryByTitle:k_,queryAllByTitle:F_,getByTitle:B_,getAllByTitle:L_,findAllByTitle:U_,findByTitle:z_,queryByRole:K_,queryAllByRole:G_,getAllByRole:Y_,getByRole:J_,findAllByRole:X_,findByRole:Z_,queryByTestId:rC,queryAllByTestId:tC,getByTestId:oC,getAllByTestId:nC,findAllByTestId:iC,findByTestId:aC});function Fh(e,t,r){return t===void 0&&(t=Js),r===void 0&&(r={}),Object.keys(t).reduce((n,o)=>{const i=t[o];return n[o]=i.bind(null,e),n},r)}const Qd={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}}},ep={doubleClick:"dblClick"};function yi(e,t){return pe().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 Qa(e,t,r,n){let{EventType:o="Event",defaultInit:i={}}=n===void 0?{}:n;if(!t)throw new Error('Unable to fire a "'+e+'" event - please provide a DOM element.');const a={...i,...r},{target:{value:l,files:u,...s}={}}=a;l!==void 0&&sC(t,l),u!==void 0&&Object.defineProperty(t,"files",{configurable:!0,enumerable:!0,writable:!0,value:u}),Object.assign(t,s);const c=Th(t),d=c[o]||c.Event;let f;if(typeof d=="function")f=new d(e,a);else{f=c.document.createEvent(o);const{bubbles:m,cancelable:h,detail:g,...b}=a;f.initEvent(e,m,h,g),Object.keys(b).forEach(R=>{f[R]=b[R]})}return["dataTransfer","clipboardData"].forEach(m=>{const h=a[m];typeof h=="object"&&(typeof c.DataTransfer=="function"?Object.defineProperty(f,m,{value:Object.getOwnPropertyNames(h).reduce((g,b)=>(Object.defineProperty(g,b,{value:h[b]}),g),new c.DataTransfer)}):Object.defineProperty(f,m,{value:h}))}),f}Object.keys(Qd).forEach(e=>{const{EventType:t,defaultInit:r}=Qd[e],n=e.toLowerCase();Qa[e]=(o,i)=>Qa(n,o,i,{EventType:t,defaultInit:r}),yi[e]=(o,i)=>yi(o,Qa[e](o,i))});function sC(e,t){const{set:r}=Object.getOwnPropertyDescriptor(e,"value")||{},n=Object.getPrototypeOf(e),{set:o}=Object.getOwnPropertyDescriptor(n,"value")||{};if(o&&r!==o)o.call(e,t);else if(r)r.call(e,t);else throw new Error("The given element does not have a value setter")}Object.keys(ep).forEach(e=>{const t=ep[e];yi[e]=function(){return yi[t](...arguments)}});function lC(e){return e.replace(/[ \t]*[\n][ \t]*/g,`
56
- `)}function uC(e){return nE.compressToEncodedURIComponent(lC(e))}function cC(e){return"https://testing-playground.com/#markup="+uC(e)}const fC=(e,t,r)=>Array.isArray(e)?e.forEach(n=>Jd(n,t,r)):Jd(e,t,r),dC=function(e){if(e===void 0&&(e=ql().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=cC(e.innerHTML);return console.log(`Open this URL in your browser
57
-
58
- `+t),t},tp={debug:fC,logTestingPlaygroundURL:dC},ri=typeof document<"u"&&document.body?Fh(document.body,Js,tp):Object.keys(Js).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),tp);var pC={};const mC=typeof mi.act=="function"?mi.act:fy.act;function kh(){if(typeof globalThis<"u")return globalThis;if(typeof self<"u")return self;if(typeof window<"u")return window;if(typeof global<"u")return global;throw new Error("unable to locate global object")}function wt(e){kh().IS_REACT_ACT_ENVIRONMENT=e}function sa(){return kh().IS_REACT_ACT_ENVIRONMENT}function hC(e){return t=>{const r=sa();wt(!0);try{let n=!1;const o=e(()=>{const i=t();return i!==null&&typeof i=="object"&&typeof i.then=="function"&&(n=!0),i});if(n){const i=o;return{then:(a,l)=>{i.then(u=>{wt(r),a(u)},u=>{wt(r),l(u)})}}}else return wt(r),o}catch(n){throw wt(r),n}}}const nr=hC(mC);Object.keys(yi).forEach(e=>{});let bC={reactStrictMode:!1};function gC(){return{...pe(),...bC}}function yC(){return typeof jest<"u"&&jest!==null?setTimeout._isMockFunction===!0||Object.prototype.hasOwnProperty.call(setTimeout,"clock"):!1}CE({unstable_advanceTimersWrapper:e=>nr(e),asyncWrapper:async e=>{const t=sa();wt(!1);try{const r=await e();return await new Promise(n=>{setTimeout(()=>{n()},0),yC()&&jest.advanceTimersByTime(0)}),r}finally{wt(t)}},eventWrapper:e=>{let t;return nr(()=>{t=e()}),t}});const Xs=new Set,la=[];function Zs(e,t){return t??gC().reactStrictMode?mi.createElement(mi.StrictMode,null,e):e}function Qs(e,t){return t?mi.createElement(t,null,e):e}function vC(e,{hydrate:t,onCaughtError:r,onRecoverableError:n,ui:o,wrapper:i,reactStrictMode:a}){let l;return t?nr(()=>{l=Fu.hydrateRoot(e,Zs(Qs(o,i),a),{onCaughtError:r,onRecoverableError:n})}):l=Fu.createRoot(e,{onCaughtError:r,onRecoverableError:n}),{hydrate(){if(!t)throw new Error("Attempted to hydrate a non-hydrateable root. This is a bug in `@testing-library/react`.")},render(u){l.render(u)},unmount(){l.unmount()}}}function wC(e){return{hydrate(t){Gi.hydrate(t,e)},render(t){Gi.render(t,e)},unmount(){Gi.unmountComponentAtNode(e)}}}function Lh(e,{baseElement:t,container:r,hydrate:n,queries:o,root:i,wrapper:a,reactStrictMode:l}){return nr(()=>{n?i.hydrate(Zs(Qs(e,a),l),r):i.render(Zs(Qs(e,a),l),r)}),{container:r,baseElement:t,debug:(u=t,s,c)=>Array.isArray(u)?u.forEach(d=>console.log(rr(d,s,c))):console.log(rr(u,s,c)),unmount:()=>{nr(()=>{i.unmount()})},rerender:u=>{Lh(u,{container:r,baseElement:t,root:i,wrapper:a,reactStrictMode:l})},asFragment:()=>{if(typeof document.createRange=="function")return document.createRange().createContextualFragment(r.innerHTML);{const u=document.createElement("template");return u.innerHTML=r.innerHTML,u.content}},...Fh(t,o)}}function Ji(e,{container:t,baseElement:r=t,legacyRoot:n=!1,onCaughtError:o,onUncaughtError:i,onRecoverableError:a,queries:l,hydrate:u=!1,wrapper:s,reactStrictMode:c}={}){if(i!==void 0)throw new Error("onUncaughtError is not supported. The `render` call will already throw on uncaught errors.");if(n&&typeof Gi.render!="function"){const f=new Error("`legacyRoot: true` is not supported in this version of React. If your app runs React 19 or later, you should remove this flag. If your app runs React 18 or earlier, visit https://react.dev/blog/2022/03/08/react-18-upgrade-guide for upgrade instructions.");throw Error.captureStackTrace(f,Ji),f}r||(r=document.body),t||(t=r.appendChild(document.createElement("div")));let d;return Xs.has(t)?la.forEach(f=>{f.container===t&&(d=f.root)}):(d=(n?wC:vC)(t,{hydrate:u,onCaughtError:o,onRecoverableError:a,ui:e,wrapper:s,reactStrictMode:c}),la.push({container:t,root:d}),Xs.add(t)),Lh(e,{container:t,baseElement:r,queries:l,hydrate:u,wrapper:s,root:d,reactStrictMode:c})}function rp(){la.forEach(({root:e,container:t})=>{nr(()=>{e.unmount()}),t.parentNode===document.body&&document.body.removeChild(t)}),la.length=0,Xs.clear()}if((typeof process>"u"||!pC?.RTL_SKIP_AUTO_CLEANUP)&&(typeof afterEach=="function"?afterEach(()=>{rp()}):typeof teardown=="function"&&teardown(()=>{rp()}),typeof beforeAll=="function"&&typeof afterAll=="function")){let e=sa();beforeAll(()=>{e=sa(),wt(!0)}),afterAll(()=>{wt(e)})}var np={reset:[0,0],bold:[1,22,"\x1B[22m\x1B[1m"],dim:[2,22,"\x1B[22m\x1B[2m"],italic:[3,23],underline:[4,24],inverse:[7,27],hidden:[8,28],strikethrough:[9,29],black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],gray:[90,39],bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],blackBright:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39],bgBlackBright:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]};function $l(e){return String(e)}$l.open="";$l.close="";function RC(){let e=typeof process<"u"?process:void 0,t=e?.env||{},r=t.FORCE_TTY!=="false",n=e?.argv||[];return!("NO_COLOR"in t||n.includes("--no-color"))&&("FORCE_COLOR"in t||n.includes("--color")||e?.platform==="win32"||r&&t.TERM!=="dumb"||"CI"in t)||typeof window<"u"&&!!window.chrome}function EC(){let e=RC(),t=(i,a,l,u)=>{let s="",c=0;do s+=i.substring(c,u)+l,c=u+a.length,u=i.indexOf(a,c);while(~u);return s+i.substring(c)},r=(i,a,l=i)=>{let u=s=>{let c=String(s),d=c.indexOf(a,i.length);return~d?i+t(c,a,l,d)+a:i+c+a};return u.open=i,u.close=a,u},n={isColorSupported:e},o=i=>`\x1B[${i}m`;for(let i in np){let a=np[i];n[i]=e?r(o(a[0]),o(a[1]),a[2]):$l}return n}var _e=EC();function Bh(e,t){return t.forEach(function(r){r&&typeof r!="string"&&!Array.isArray(r)&&Object.keys(r).forEach(function(n){if(n!=="default"&&!(n in e)){var o=Object.getOwnPropertyDescriptor(r,n);Object.defineProperty(e,n,o.get?o:{enumerable:!0,get:function(){return r[n]}})}})}),Object.freeze(e)}function _C(e,t){const r=Object.keys(e),n=t===null?r:r.sort(t);if(Object.getOwnPropertySymbols)for(const o of Object.getOwnPropertySymbols(e))Object.getOwnPropertyDescriptor(e,o).enumerable&&n.push(o);return n}function Ti(e,t,r,n,o,i,a=": "){let l="",u=0,s=e.next();if(!s.done){l+=t.spacingOuter;const c=r+t.indent;for(;!s.done;){if(l+=c,u++===t.maxWidth){l+="…";break}const d=i(s.value[0],t,c,n,o),f=i(s.value[1],t,c,n,o);l+=d+a+f,s=e.next(),s.done?t.min||(l+=","):l+=`,${t.spacingInner}`}l+=t.spacingOuter+r}return l}function Nl(e,t,r,n,o,i){let a="",l=0,u=e.next();if(!u.done){a+=t.spacingOuter;const s=r+t.indent;for(;!u.done;){if(a+=s,l++===t.maxWidth){a+="…";break}a+=i(u.value,t,s,n,o),u=e.next(),u.done?t.min||(a+=","):a+=`,${t.spacingInner}`}a+=t.spacingOuter+r}return a}function ua(e,t,r,n,o,i){let a="";e=e instanceof ArrayBuffer?new DataView(e):e;const l=s=>s instanceof DataView,u=l(e)?e.byteLength:e.length;if(u>0){a+=t.spacingOuter;const s=r+t.indent;for(let c=0;c<u;c++){if(a+=s,c===t.maxWidth){a+="…";break}(l(e)||c in e)&&(a+=i(l(e)?e.getInt8(c):e[c],t,s,n,o)),c<u-1?a+=`,${t.spacingInner}`:t.min||(a+=",")}a+=t.spacingOuter+r}return a}function Il(e,t,r,n,o,i){let a="";const l=_C(e,t.compareKeys);if(l.length>0){a+=t.spacingOuter;const u=r+t.indent;for(let s=0;s<l.length;s++){const c=l[s],d=i(c,t,u,n,o),f=i(e[c],t,u,n,o);a+=`${u+d}: ${f}`,s<l.length-1?a+=`,${t.spacingInner}`:t.min||(a+=",")}a+=t.spacingOuter+r}return a}const CC=typeof Symbol=="function"&&Symbol.for?Symbol.for("jest.asymmetricMatcher"):1267621,ki=" ",TC=(e,t,r,n,o,i)=>{const a=e.toString();if(a==="ArrayContaining"||a==="ArrayNotContaining")return++n>t.maxDepth?`[${a}]`:`${a+ki}[${ua(e.sample,t,r,n,o,i)}]`;if(a==="ObjectContaining"||a==="ObjectNotContaining")return++n>t.maxDepth?`[${a}]`:`${a+ki}{${Il(e.sample,t,r,n,o,i)}}`;if(a==="StringMatching"||a==="StringNotMatching"||a==="StringContaining"||a==="StringNotContaining")return a+ki+i(e.sample,t,r,n,o);if(typeof e.toAsymmetricMatcher!="function")throw new TypeError(`Asymmetric matcher ${e.constructor.name} does not implement toAsymmetricMatcher()`);return e.toAsymmetricMatcher()},xC=e=>e&&e.$$typeof===CC,SC={serialize:TC,test:xC},PC=" ",Uh=new Set(["DOMStringMap","NamedNodeMap"]),qC=/^(?:HTML\w*Collection|NodeList)$/;function OC(e){return Uh.has(e)||qC.test(e)}const MC=e=>e&&e.constructor&&!!e.constructor.name&&OC(e.constructor.name);function AC(e){return e.constructor.name==="NamedNodeMap"}const $C=(e,t,r,n,o,i)=>{const a=e.constructor.name;return++n>t.maxDepth?`[${a}]`:(t.min?"":a+PC)+(Uh.has(a)?`{${Il(AC(e)?[...e].reduce((l,u)=>(l[u.name]=u.value,l),{}):{...e},t,r,n,o,i)}}`:`[${ua([...e],t,r,n,o,i)}]`)},NC={serialize:$C,test:MC};function zh(e){return e.replaceAll("<","&lt;").replaceAll(">","&gt;")}function jl(e,t,r,n,o,i,a){const l=n+r.indent,u=r.colors;return e.map(s=>{const c=t[s];if(typeof c=="string"&&c[0]==="_"&&c.startsWith("__vitest_")&&c.match(/__vitest_\d+__/))return"";let d=a(c,r,l,o,i);return typeof c!="string"&&(d.includes(`
59
- `)&&(d=r.spacingOuter+l+d+r.spacingOuter+n),d=`{${d}}`),`${r.spacingInner+n+u.prop.open+s+u.prop.close}=${u.value.open}${d}${u.value.close}`}).join("")}function Ca(e,t,r,n,o,i){return e.map(a=>t.spacingOuter+r+(typeof a=="string"?Vh(a,t):i(a,t,r,n,o))).join("")}function IC(e,t,r,n,o,i){return t.printShadowRoot===!1?"":[`${t.spacingOuter+r}#shadow-root`,Ca(e,t,r+t.indent,n,o,i)].join("")}function Vh(e,t){const r=t.colors.content;return r.open+zh(e)+r.close}function jC(e,t){const r=t.colors.comment;return`${r.open}<!--${zh(e)}-->${r.close}`}function Dl(e,t,r,n,o){const i=n.colors.tag;return`${i.open}<${e}${t&&i.close+t+n.spacingOuter+o+i.open}${r?`>${i.close}${r}${n.spacingOuter}${o}${i.open}</${e}`:`${t&&!n.min?"":" "}/`}>${i.close}`}function Fl(e,t){const r=t.colors.tag;return`${r.open}<${e}${r.close} …${r.open} />${r.close}`}const DC=1,Hh=3,Wh=8,Gh=11,FC=/^(?:(?:HTML|SVG)\w*)?Element$/;function kC(e){try{return typeof e.hasAttribute=="function"&&e.hasAttribute("is")}catch{return!1}}function LC(e){const t=e.constructor.name,{nodeType:r,tagName:n}=e,o=typeof n=="string"&&n.includes("-")||kC(e);return r===DC&&(FC.test(t)||o)||r===Hh&&t==="Text"||r===Wh&&t==="Comment"||r===Gh&&t==="DocumentFragment"}const BC=e=>e?.constructor?.name&&LC(e);function UC(e){return e.nodeType===Hh}function zC(e){return e.nodeType===Wh}function Li(e){return e.nodeType===Gh}const VC=(e,t,r,n,o,i)=>{if(UC(e))return Vh(e.data,t);if(zC(e))return jC(e.data,t);const a=Li(e)?"DocumentFragment":e.tagName.toLowerCase();return++n>t.maxDepth?Fl(a,t):Dl(a,jl(Li(e)?[]:Array.from(e.attributes,l=>l.name).sort(),Li(e)?{}:[...e.attributes].reduce((l,u)=>(l[u.name]=u.value,l),{}),t,r+t.indent,n,o,i),(Li(e)||!e.shadowRoot?"":IC(Array.prototype.slice.call(e.shadowRoot.children),t,r+t.indent,n,o,i))+Ca(Array.prototype.slice.call(e.childNodes||e.children),t,r+t.indent,n,o,i),t,r)},HC={serialize:VC,test:BC},WC="@@__IMMUTABLE_ITERABLE__@@",GC="@@__IMMUTABLE_LIST__@@",KC="@@__IMMUTABLE_KEYED__@@",YC="@@__IMMUTABLE_MAP__@@",op="@@__IMMUTABLE_ORDERED__@@",JC="@@__IMMUTABLE_RECORD__@@",XC="@@__IMMUTABLE_SEQ__@@",ZC="@@__IMMUTABLE_SET__@@",QC="@@__IMMUTABLE_STACK__@@",or=e=>`Immutable.${e}`,Ta=e=>`[${e}]`,vi=" ",ip="…";function eT(e,t,r,n,o,i,a){return++n>t.maxDepth?Ta(or(a)):`${or(a)+vi}{${Ti(e.entries(),t,r,n,o,i)}}`}function tT(e){let t=0;return{next(){if(t<e._keys.length){const r=e._keys[t++];return{done:!1,value:[r,e.get(r)]}}return{done:!0,value:void 0}}}}function rT(e,t,r,n,o,i){const a=or(e._name||"Record");return++n>t.maxDepth?Ta(a):`${a+vi}{${Ti(tT(e),t,r,n,o,i)}}`}function nT(e,t,r,n,o,i){const a=or("Seq");return++n>t.maxDepth?Ta(a):e[KC]?`${a+vi}{${e._iter||e._object?Ti(e.entries(),t,r,n,o,i):ip}}`:`${a+vi}[${e._iter||e._array||e._collection||e._iterable?Nl(e.values(),t,r,n,o,i):ip}]`}function es(e,t,r,n,o,i,a){return++n>t.maxDepth?Ta(or(a)):`${or(a)+vi}[${Nl(e.values(),t,r,n,o,i)}]`}const oT=(e,t,r,n,o,i)=>e[YC]?eT(e,t,r,n,o,i,e[op]?"OrderedMap":"Map"):e[GC]?es(e,t,r,n,o,i,"List"):e[ZC]?es(e,t,r,n,o,i,e[op]?"OrderedSet":"Set"):e[QC]?es(e,t,r,n,o,i,"Stack"):e[XC]?nT(e,t,r,n,o,i):rT(e,t,r,n,o,i),iT=e=>e&&(e[WC]===!0||e[JC]===!0),aT={serialize:oT,test:iT};function Kh(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var ts={exports:{}},de={};var ap;function sT(){if(ap)return de;ap=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),n=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),i=Symbol.for("react.consumer"),a=Symbol.for("react.context"),l=Symbol.for("react.forward_ref"),u=Symbol.for("react.suspense"),s=Symbol.for("react.suspense_list"),c=Symbol.for("react.memo"),d=Symbol.for("react.lazy"),f=Symbol.for("react.view_transition"),p=Symbol.for("react.client.reference");function m(h){if(typeof h=="object"&&h!==null){var g=h.$$typeof;switch(g){case e:switch(h=h.type,h){case r:case o:case n:case u:case s:case f:return h;default:switch(h=h&&h.$$typeof,h){case a:case l:case d:case c:return h;case i:return h;default:return g}}case t:return g}}}return de.ContextConsumer=i,de.ContextProvider=a,de.Element=e,de.ForwardRef=l,de.Fragment=r,de.Lazy=d,de.Memo=c,de.Portal=t,de.Profiler=o,de.StrictMode=n,de.Suspense=u,de.SuspenseList=s,de.isContextConsumer=function(h){return m(h)===i},de.isContextProvider=function(h){return m(h)===a},de.isElement=function(h){return typeof h=="object"&&h!==null&&h.$$typeof===e},de.isForwardRef=function(h){return m(h)===l},de.isFragment=function(h){return m(h)===r},de.isLazy=function(h){return m(h)===d},de.isMemo=function(h){return m(h)===c},de.isPortal=function(h){return m(h)===t},de.isProfiler=function(h){return m(h)===o},de.isStrictMode=function(h){return m(h)===n},de.isSuspense=function(h){return m(h)===u},de.isSuspenseList=function(h){return m(h)===s},de.isValidElementType=function(h){return typeof h=="string"||typeof h=="function"||h===r||h===o||h===n||h===u||h===s||typeof h=="object"&&h!==null&&(h.$$typeof===d||h.$$typeof===c||h.$$typeof===a||h.$$typeof===i||h.$$typeof===l||h.$$typeof===p||h.getModuleId!==void 0)},de.typeOf=m,de}var sp;function lT(){return sp||(sp=1,ts.exports=sT()),ts.exports}var Yh=lT(),uT=Kh(Yh),cT=Bh({__proto__:null,default:uT},[Yh]),rs={exports:{}},ue={};var lp;function fT(){if(lp)return ue;lp=1;var e=Symbol.for("react.element"),t=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),n=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),i=Symbol.for("react.provider"),a=Symbol.for("react.context"),l=Symbol.for("react.server_context"),u=Symbol.for("react.forward_ref"),s=Symbol.for("react.suspense"),c=Symbol.for("react.suspense_list"),d=Symbol.for("react.memo"),f=Symbol.for("react.lazy"),p=Symbol.for("react.offscreen"),m;m=Symbol.for("react.module.reference");function h(g){if(typeof g=="object"&&g!==null){var b=g.$$typeof;switch(b){case e:switch(g=g.type,g){case r:case o:case n:case s:case c:return g;default:switch(g=g&&g.$$typeof,g){case l:case a:case u:case f:case d:case i:return g;default:return b}}case t:return b}}}return ue.ContextConsumer=a,ue.ContextProvider=i,ue.Element=e,ue.ForwardRef=u,ue.Fragment=r,ue.Lazy=f,ue.Memo=d,ue.Portal=t,ue.Profiler=o,ue.StrictMode=n,ue.Suspense=s,ue.SuspenseList=c,ue.isAsyncMode=function(){return!1},ue.isConcurrentMode=function(){return!1},ue.isContextConsumer=function(g){return h(g)===a},ue.isContextProvider=function(g){return h(g)===i},ue.isElement=function(g){return typeof g=="object"&&g!==null&&g.$$typeof===e},ue.isForwardRef=function(g){return h(g)===u},ue.isFragment=function(g){return h(g)===r},ue.isLazy=function(g){return h(g)===f},ue.isMemo=function(g){return h(g)===d},ue.isPortal=function(g){return h(g)===t},ue.isProfiler=function(g){return h(g)===o},ue.isStrictMode=function(g){return h(g)===n},ue.isSuspense=function(g){return h(g)===s},ue.isSuspenseList=function(g){return h(g)===c},ue.isValidElementType=function(g){return typeof g=="string"||typeof g=="function"||g===r||g===o||g===n||g===s||g===c||g===p||typeof g=="object"&&g!==null&&(g.$$typeof===f||g.$$typeof===d||g.$$typeof===i||g.$$typeof===a||g.$$typeof===u||g.$$typeof===m||g.getModuleId!==void 0)},ue.typeOf=h,ue}var up;function dT(){return up||(up=1,rs.exports=fT()),rs.exports}var Jh=dT(),pT=Kh(Jh),mT=Bh({__proto__:null,default:pT},[Jh]);const hT=["isAsyncMode","isConcurrentMode","isContextConsumer","isContextProvider","isElement","isForwardRef","isFragment","isLazy","isMemo","isPortal","isProfiler","isStrictMode","isSuspense","isSuspenseList","isValidElementType"],It=Object.fromEntries(hT.map(e=>[e,t=>mT[e](t)||cT[e](t)]));function Xh(e,t=[]){if(Array.isArray(e))for(const r of e)Xh(r,t);else e!=null&&e!==!1&&e!==""&&t.push(e);return t}function cp(e){const t=e.type;if(typeof t=="string")return t;if(typeof t=="function")return t.displayName||t.name||"Unknown";if(It.isFragment(e))return"React.Fragment";if(It.isSuspense(e))return"React.Suspense";if(typeof t=="object"&&t!==null){if(It.isContextProvider(e))return"Context.Provider";if(It.isContextConsumer(e))return"Context.Consumer";if(It.isForwardRef(e)){if(t.displayName)return t.displayName;const r=t.render.displayName||t.render.name||"";return r===""?"ForwardRef":`ForwardRef(${r})`}if(It.isMemo(e)){const r=t.displayName||t.type.displayName||t.type.name||"";return r===""?"Memo":`Memo(${r})`}}return"UNDEFINED"}function bT(e){const{props:t}=e;return Object.keys(t).filter(r=>r!=="children"&&t[r]!==void 0).sort()}const gT=(e,t,r,n,o,i)=>++n>t.maxDepth?Fl(cp(e),t):Dl(cp(e),jl(bT(e),e.props,t,r+t.indent,n,o,i),Ca(Xh(e.props.children),t,r+t.indent,n,o,i),t,r),yT=e=>e!=null&&It.isElement(e),vT={serialize:gT,test:yT},wT=typeof Symbol=="function"&&Symbol.for?Symbol.for("react.test.json"):245830487;function RT(e){const{props:t}=e;return t?Object.keys(t).filter(r=>t[r]!==void 0).sort():[]}const ET=(e,t,r,n,o,i)=>++n>t.maxDepth?Fl(e.type,t):Dl(e.type,e.props?jl(RT(e),e.props,t,r+t.indent,n,o,i):"",e.children?Ca(e.children,t,r+t.indent,n,o,i):"",t,r),_T=e=>e&&e.$$typeof===wT,CT={serialize:ET,test:_T},Zh=Object.prototype.toString,TT=Date.prototype.toISOString,xT=Error.prototype.toString,fp=RegExp.prototype.toString;function Xi(e){return typeof e.constructor=="function"&&e.constructor.name||"Object"}function ST(e){return typeof window<"u"&&e===window}const PT=/^Symbol\((.*)\)(.*)$/,qT=/\n/g;class Qh extends Error{constructor(t,r){super(t),this.stack=r,this.name=this.constructor.name}}function OT(e){return e==="[object Array]"||e==="[object ArrayBuffer]"||e==="[object DataView]"||e==="[object Float32Array]"||e==="[object Float64Array]"||e==="[object Int8Array]"||e==="[object Int16Array]"||e==="[object Int32Array]"||e==="[object Uint8Array]"||e==="[object Uint8ClampedArray]"||e==="[object Uint16Array]"||e==="[object Uint32Array]"}function MT(e){return Object.is(e,-0)?"-0":String(e)}function AT(e){return`${e}n`}function dp(e,t){return t?`[Function ${e.name||"anonymous"}]`:"[Function]"}function pp(e){return String(e).replace(PT,"Symbol($1)")}function mp(e){return`[${xT.call(e)}]`}function eb(e,t,r,n){if(e===!0||e===!1)return`${e}`;if(e===void 0)return"undefined";if(e===null)return"null";const o=typeof e;if(o==="number")return MT(e);if(o==="bigint")return AT(e);if(o==="string")return n?`"${e.replaceAll(/"|\\/g,"\\$&")}"`:`"${e}"`;if(o==="function")return dp(e,t);if(o==="symbol")return pp(e);const i=Zh.call(e);return i==="[object WeakMap]"?"WeakMap {}":i==="[object WeakSet]"?"WeakSet {}":i==="[object Function]"||i==="[object GeneratorFunction]"?dp(e,t):i==="[object Symbol]"?pp(e):i==="[object Date]"?Number.isNaN(+e)?"Date { NaN }":TT.call(e):i==="[object Error]"?mp(e):i==="[object RegExp]"?r?fp.call(e).replaceAll(/[$()*+.?[\\\]^{|}]/g,"\\$&"):fp.call(e):e instanceof Error?mp(e):null}function tb(e,t,r,n,o,i){if(o.includes(e))return"[Circular]";o=[...o],o.push(e);const a=++n>t.maxDepth,l=t.min;if(t.callToJSON&&!a&&e.toJSON&&typeof e.toJSON=="function"&&!i)return Pt(e.toJSON(),t,r,n,o,!0);const u=Zh.call(e);return u==="[object Arguments]"?a?"[Arguments]":`${l?"":"Arguments "}[${ua(e,t,r,n,o,Pt)}]`:OT(u)?a?`[${e.constructor.name}]`:`${l||!t.printBasicPrototype&&e.constructor.name==="Array"?"":`${e.constructor.name} `}[${ua(e,t,r,n,o,Pt)}]`:u==="[object Map]"?a?"[Map]":`Map {${Ti(e.entries(),t,r,n,o,Pt," => ")}}`:u==="[object Set]"?a?"[Set]":`Set {${Nl(e.values(),t,r,n,o,Pt)}}`:a||ST(e)?`[${Xi(e)}]`:`${l||!t.printBasicPrototype&&Xi(e)==="Object"?"":`${Xi(e)} `}{${Il(e,t,r,n,o,Pt)}}`}const $T={test:e=>e&&e instanceof Error,serialize(e,t,r,n,o,i){if(o.includes(e))return"[Circular]";o=[...o,e];const a=++n>t.maxDepth,{message:l,cause:u,...s}=e,c={message:l,...typeof u<"u"?{cause:u}:{},...e instanceof AggregateError?{errors:e.errors}:{},...s},d=e.name!=="Error"?e.name:Xi(e);return a?`[${d}]`:`${d} {${Ti(Object.entries(c).values(),t,r,n,o,i)}}`}};function NT(e){return e.serialize!=null}function rb(e,t,r,n,o,i){let a;try{a=NT(e)?e.serialize(t,r,n,o,i,Pt):e.print(t,l=>Pt(l,r,n,o,i),l=>{const u=n+r.indent;return u+l.replaceAll(qT,`
60
- ${u}`)},{edgeSpacing:r.spacingOuter,min:r.min,spacing:r.spacingInner},r.colors)}catch(l){throw new Qh(l.message,l.stack)}if(typeof a!="string")throw new TypeError(`pretty-format: Plugin must return type "string" but instead returned "${typeof a}".`);return a}function nb(e,t){for(const r of e)try{if(r.test(t))return r}catch(n){throw new Qh(n.message,n.stack)}return null}function Pt(e,t,r,n,o,i){const a=nb(t.plugins,e);if(a!==null)return rb(a,e,t,r,n,o);const l=eb(e,t.printFunctionName,t.escapeRegex,t.escapeString);return l!==null?l:tb(e,t,r,n,o,i)}const kl={comment:"gray",content:"reset",prop:"yellow",tag:"cyan",value:"green"},ob=Object.keys(kl),Ze={callToJSON:!0,compareKeys:void 0,escapeRegex:!1,escapeString:!0,highlight:!1,indent:2,maxDepth:Number.POSITIVE_INFINITY,maxWidth:Number.POSITIVE_INFINITY,min:!1,plugins:[],printBasicPrototype:!0,printFunctionName:!0,printShadowRoot:!0,theme:kl};function IT(e){for(const t of Object.keys(e))if(!Object.hasOwn(Ze,t))throw new Error(`pretty-format: Unknown option "${t}".`);if(e.min&&e.indent!==void 0&&e.indent!==0)throw new Error('pretty-format: Options "min" and "indent" cannot be used together.')}function jT(){return ob.reduce((e,t)=>{const r=kl[t],n=r&&_e[r];if(n&&typeof n.close=="string"&&typeof n.open=="string")e[t]=n;else throw new Error(`pretty-format: Option "theme" has a key "${t}" whose value "${r}" is undefined in ansi-styles.`);return e},Object.create(null))}function DT(){return ob.reduce((e,t)=>(e[t]={close:"",open:""},e),Object.create(null))}function ib(e){return e?.printFunctionName??Ze.printFunctionName}function ab(e){return e?.escapeRegex??Ze.escapeRegex}function sb(e){return e?.escapeString??Ze.escapeString}function hp(e){return{callToJSON:e?.callToJSON??Ze.callToJSON,colors:e?.highlight?jT():DT(),compareKeys:typeof e?.compareKeys=="function"||e?.compareKeys===null?e.compareKeys:Ze.compareKeys,escapeRegex:ab(e),escapeString:sb(e),indent:e?.min?"":FT(e?.indent??Ze.indent),maxDepth:e?.maxDepth??Ze.maxDepth,maxWidth:e?.maxWidth??Ze.maxWidth,min:e?.min??Ze.min,plugins:e?.plugins??Ze.plugins,printBasicPrototype:e?.printBasicPrototype??!0,printFunctionName:ib(e),printShadowRoot:e?.printShadowRoot??!0,spacingInner:e?.min?" ":`
61
- `,spacingOuter:e?.min?"":`
62
- `}}function FT(e){return Array.from({length:e+1}).join(" ")}function et(e,t){if(t&&(IT(t),t.plugins)){const n=nb(t.plugins,e);if(n!==null)return rb(n,e,hp(t),"",0,[])}const r=eb(e,ib(t),ab(t),sb(t));return r!==null?r:tb(e,hp(t),"",0,[])}const xa={AsymmetricMatcher:SC,DOMCollection:NC,DOMElement:HC,Immutable:aT,ReactElement:vT,ReactTestComponent:CT,Error:$T},bp={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"]},kT={special:"cyan",number:"yellow",bigint:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",symbol:"green",date:"magenta",regexp:"red"},ir="…";function LT(e,t){const r=bp[kT[t]]||bp[t]||"";return r?`\x1B[${r[0]}m${String(e)}\x1B[${r[1]}m`:String(e)}function BT({showHidden:e=!1,depth:t=2,colors:r=!1,customInspect:n=!0,showProxy:o=!1,maxArrayLength:i=1/0,breakLength:a=1/0,seen:l=[],truncate:u=1/0,stylize:s=String}={},c){const d={showHidden:!!e,depth:Number(t),colors:!!r,customInspect:!!n,showProxy:!!o,maxArrayLength:Number(i),breakLength:Number(a),truncate:Number(u),seen:l,inspect:c,stylize:s};return d.colors&&(d.stylize=LT),d}function UT(e){return e>="\uD800"&&e<="\uDBFF"}function At(e,t,r=ir){e=String(e);const n=r.length,o=e.length;if(n>t&&o>n)return r;if(o>t&&o>n){let i=t-n;return i>0&&UT(e[i-1])&&(i=i-1),`${e.slice(0,i)}${r}`}return e}function rt(e,t,r,n=", "){r=r||t.inspect;const o=e.length;if(o===0)return"";const i=t.truncate;let a="",l="",u="";for(let s=0;s<o;s+=1){const c=s+1===e.length,d=s+2===e.length;u=`${ir}(${e.length-s})`;const f=e[s];t.truncate=i-a.length-(c?0:n.length);const p=l||r(f,t)+(c?"":n),m=a.length+p.length,h=m+u.length;if(c&&m>i&&a.length+u.length<=i||!c&&!d&&h>i||(l=c?"":r(e[s+1],t)+(d?"":n),!c&&d&&h>i&&m+l.length>i))break;if(a+=p,!c&&!d&&m+l.length>=i){u=`${ir}(${e.length-s-1})`;break}u=""}return`${a}${u}`}function zT(e){return e.match(/^[a-zA-Z_][a-zA-Z_0-9]*$/)?e:JSON.stringify(e).replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'")}function wi([e,t],r){return r.truncate-=2,typeof e=="string"?e=zT(e):typeof e!="number"&&(e=`[${r.inspect(e,r)}]`),r.truncate-=e.length,t=r.inspect(t,r),`${e}: ${t}`}function VT(e,t){const r=Object.keys(e).slice(e.length);if(!e.length&&!r.length)return"[]";t.truncate-=4;const n=rt(e,t);t.truncate-=n.length;let o="";return r.length&&(o=rt(r.map(i=>[i,e[i]]),t,wi)),`[ ${n}${o?`, ${o}`:""} ]`}const HT=e=>typeof Buffer=="function"&&e instanceof Buffer?"Buffer":e[Symbol.toStringTag]?e[Symbol.toStringTag]:e.constructor.name;function vt(e,t){const r=HT(e);t.truncate-=r.length+4;const n=Object.keys(e).slice(e.length);if(!e.length&&!n.length)return`${r}[]`;let o="";for(let a=0;a<e.length;a++){const l=`${t.stylize(At(e[a],t.truncate),"number")}${a===e.length-1?"":", "}`;if(t.truncate-=l.length,e[a]!==e.length&&t.truncate<=3){o+=`${ir}(${e.length-e[a]+1})`;break}o+=l}let i="";return n.length&&(i=rt(n.map(a=>[a,e[a]]),t,wi)),`${r}[ ${o}${i?`, ${i}`:""} ]`}function WT(e,t){const r=e.toJSON();if(r===null)return"Invalid Date";const n=r.split("T"),o=n[0];return t.stylize(`${o}T${At(n[1],t.truncate-o.length-1)}`,"date")}function gp(e,t){const r=e[Symbol.toStringTag]||"Function",n=e.name;return n?t.stylize(`[${r} ${At(n,t.truncate-11)}]`,"special"):t.stylize(`[${r}]`,"special")}function GT([e,t],r){return r.truncate-=4,e=r.inspect(e,r),r.truncate-=e.length,t=r.inspect(t,r),`${e} => ${t}`}function KT(e){const t=[];return e.forEach((r,n)=>{t.push([n,r])}),t}function YT(e,t){return e.size===0?"Map{}":(t.truncate-=7,`Map{ ${rt(KT(e),t,GT)} }`)}const JT=Number.isNaN||(e=>e!==e);function yp(e,t){return JT(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(At(String(e),t.truncate),"number")}function vp(e,t){let r=At(e.toString(),t.truncate-1);return r!==ir&&(r+="n"),t.stylize(r,"bigint")}function XT(e,t){const r=e.toString().split("/")[2],n=t.truncate-(2+r.length),o=e.source;return t.stylize(`/${At(o,n)}/${r}`,"regexp")}function ZT(e){const t=[];return e.forEach(r=>{t.push(r)}),t}function QT(e,t){return e.size===0?"Set{}":(t.truncate-=7,`Set{ ${rt(ZT(e),t)} }`)}const wp=new RegExp("['\\u0000-\\u001f\\u007f-\\u009f\\u00ad\\u0600-\\u0604\\u070f\\u17b4\\u17b5\\u200c-\\u200f\\u2028-\\u202f\\u2060-\\u206f\\ufeff\\ufff0-\\uffff]","g"),ex={"\b":"\\b"," ":"\\t","\n":"\\n","\f":"\\f","\r":"\\r","'":"\\'","\\":"\\\\"},tx=16;function rx(e){return ex[e]||`\\u${`0000${e.charCodeAt(0).toString(tx)}`.slice(-4)}`}function Rp(e,t){return wp.test(e)&&(e=e.replace(wp,rx)),t.stylize(`'${At(e,t.truncate-2)}'`,"string")}function Ep(e){return"description"in Symbol.prototype?e.description?`Symbol(${e.description})`:"Symbol()":e.toString()}const nx=()=>"Promise{…}";function Zi(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 o=rt(r.map(l=>[l,e[l]]),t,wi),i=rt(n.map(l=>[l,e[l]]),t,wi);t.seen.pop();let a="";return o&&i&&(a=", "),`{ ${o}${a}${i} }`}const ns=typeof Symbol<"u"&&Symbol.toStringTag?Symbol.toStringTag:!1;function ox(e,t){let r="";return ns&&ns in e&&(r=e[ns]),r=r||e.constructor.name,(!r||r==="_class")&&(r="<Anonymous Class>"),t.truncate-=r.length,`${r}${Zi(e,t)}`}function ix(e,t){return e.length===0?"Arguments[]":(t.truncate-=13,`Arguments[ ${rt(e,t)} ]`)}const ax=["stack","line","column","name","message","fileName","lineNumber","columnNumber","number","description","cause"];function sx(e,t){const r=Object.getOwnPropertyNames(e).filter(a=>ax.indexOf(a)===-1),n=e.name;t.truncate-=n.length;let o="";if(typeof e.message=="string"?o=At(e.message,t.truncate):r.unshift("message"),o=o?`: ${o}`:"",t.truncate-=o.length+5,t.seen=t.seen||[],t.seen.includes(e))return"[Circular]";t.seen.push(e);const i=rt(r.map(a=>[a,e[a]]),t,wi);return`${n}${o}${i?` { ${i} }`:""}`}function lx([e,t],r){return r.truncate-=3,t?`${r.stylize(String(e),"yellow")}=${r.stylize(`"${t}"`,"string")}`:`${r.stylize(String(e),"yellow")}`}function el(e,t){return rt(e,t,ux,`
63
- `)}function ux(e,t){switch(e.nodeType){case 1:return lb(e,t);case 3:return t.inspect(e.data,t);default:return t.inspect(e,t)}}function lb(e,t){const r=e.getAttributeNames(),n=e.tagName.toLowerCase(),o=t.stylize(`<${n}`,"special"),i=t.stylize(">","special"),a=t.stylize(`</${n}>`,"special");t.truncate-=n.length*2+5;let l="";r.length>0&&(l+=" ",l+=rt(r.map(c=>[c,e.getAttribute(c)]),t,lx," ")),t.truncate-=l.length;const u=t.truncate;let s=el(e.children,t);return s&&s.length>u&&(s=`${ir}(${e.children.length})`),`${o}${l}${i}${s}${a}`}const cx=typeof Symbol=="function"&&typeof Symbol.for=="function",os=cx?Symbol.for("chai/inspect"):"@@chai/inspect",is=Symbol.for("nodejs.util.inspect.custom"),_p=new WeakMap,Cp={},Tp={undefined:(e,t)=>t.stylize("undefined","undefined"),null:(e,t)=>t.stylize("null","null"),boolean:(e,t)=>t.stylize(String(e),"boolean"),Boolean:(e,t)=>t.stylize(String(e),"boolean"),number:yp,Number:yp,bigint:vp,BigInt:vp,string:Rp,String:Rp,function:gp,Function:gp,symbol:Ep,Symbol:Ep,Array:VT,Date:WT,Map:YT,Set:QT,RegExp:XT,Promise:nx,WeakSet:(e,t)=>t.stylize("WeakSet{…}","special"),WeakMap:(e,t)=>t.stylize("WeakMap{…}","special"),Arguments:ix,Int8Array:vt,Uint8Array:vt,Uint8ClampedArray:vt,Int16Array:vt,Uint16Array:vt,Int32Array:vt,Uint32Array:vt,Float32Array:vt,Float64Array:vt,Generator:()=>"",DataView:()=>"",ArrayBuffer:()=>"",Error:sx,HTMLCollection:el,NodeList:el},fx=(e,t,r,n)=>os in e&&typeof e[os]=="function"?e[os](t):is in e&&typeof e[is]=="function"?e[is](t.depth,t,n):"inspect"in e&&typeof e.inspect=="function"?e.inspect(t.depth,t):"constructor"in e&&_p.has(e.constructor)?_p.get(e.constructor)(e,t):Cp[r]?Cp[r](e,t):"",dx=Object.prototype.toString;function Qi(e,t={}){const r=BT(t,Qi),{customInspect:n}=r;let o=e===null?"null":typeof e;if(o==="object"&&(o=dx.call(e).slice(8,-1)),o in Tp)return Tp[o](e,r);if(n&&e){const a=fx(e,r,o,Qi);if(a)return typeof a=="string"?a:Qi(a,r)}const i=e?Object.getPrototypeOf(e):!1;return i===Object.prototype||i===null?Zi(e,r):e&&typeof HTMLElement=="function"&&e instanceof HTMLElement?lb(e,r):"constructor"in e?e.constructor!==Object?ox(e,r):Zi(e,r):e===Object(e)?Zi(e,r):r.stylize(String(e),o)}const{AsymmetricMatcher:px,DOMCollection:mx,DOMElement:hx,Immutable:bx,ReactElement:gx,ReactTestComponent:yx}=xa,xp=[yx,gx,hx,mx,bx,px];function Fe(e,t=10,{maxLength:r,...n}={}){const o=r??1e4;let i;try{i=et(e,{maxDepth:t,escapeString:!1,plugins:xp,...n})}catch{i=et(e,{callToJSON:!1,maxDepth:t,escapeString:!1,plugins:xp,...n})}return i.length>=o&&t>1?Fe(e,Math.floor(Math.min(t,Number.MAX_SAFE_INTEGER)/2),{maxLength:r,...n}):i}const ub=/%[sdjifoOc%]/g;function vx(e,t={}){const r=(l,u)=>t.prettifyObject?Fe(l,void 0,{printBasicPrototype:!1,escapeString:!1}):cb(l,u);if(typeof e[0]!="string"){const l=[];for(let u=0;u<e.length;u++)l.push(r(e[u],{depth:0,colors:!1}));return l.join(" ")}const n=e.length;let o=1;const i=e[0];let a=String(i).replace(ub,l=>{if(l==="%%")return"%";if(o>=n)return l;switch(l){case"%s":{const u=e[o++];return typeof u=="bigint"?`${u.toString()}n`:typeof u=="number"&&u===0&&1/u<0?"-0":typeof u=="object"&&u!==null?typeof u.toString=="function"&&u.toString!==Object.prototype.toString?u.toString():r(u,{depth:0,colors:!1}):String(u)}case"%d":{const u=e[o++];return typeof u=="bigint"?`${u.toString()}n`:Number(u).toString()}case"%i":{const u=e[o++];return typeof u=="bigint"?`${u.toString()}n`:Number.parseInt(String(u)).toString()}case"%f":return Number.parseFloat(String(e[o++])).toString();case"%o":return r(e[o++],{showHidden:!0,showProxy:!0});case"%O":return r(e[o++]);case"%c":return o++,"";case"%j":try{return JSON.stringify(e[o++])}catch(u){const s=u.message;if(s.includes("circular structure")||s.includes("cyclic structures")||s.includes("cyclic object"))return"[Circular]";throw u}default:return l}});for(let l=e[o];o<n;l=e[++o])l===null||typeof l!="object"?a+=` ${l}`:a+=` ${r(l)}`;return a}function wx(...e){return vx(e)}function cb(e,t={}){return t.truncate===0&&(t.truncate=Number.POSITIVE_INFINITY),Qi(e,t)}function Rx(e,t={}){typeof t.truncate>"u"&&(t.truncate=40);const r=cb(e,t),n=Object.prototype.toString.call(e);if(t.truncate&&r.length>=t.truncate)if(n==="[object Function]"){const o=e;return o.name?`[Function: ${o.name}]`:"[Function]"}else{if(n==="[object Array]")return`[ Array(${e.length}) ]`;if(n==="[object Object]"){const o=Object.keys(e);return`{ Object (${o.length>2?`${o.splice(0,2).join(", ")}, ...`:o.join(", ")}) }`}else return r}return r}function Ve(e,t,r){const n=typeof e;if(!r.includes(n))throw new TypeError(`${t} value must be ${r.join(" or ")}, received "${n}"`)}function fb(e){return e==null&&(e=[]),Array.isArray(e)?e:[e]}function Qt(e){return e!=null&&typeof e=="object"&&!Array.isArray(e)}function Ex(e){return e===Object.prototype||e===Function.prototype||e===RegExp.prototype}function Ri(e){return Object.prototype.toString.apply(e).slice(8,-1)}function _x(e,t){const r=typeof t=="function"?t:n=>t.add(n);Object.getOwnPropertyNames(e).forEach(r),Object.getOwnPropertySymbols(e).forEach(r)}function db(e){const t=new Set;return Ex(e)?[]:(_x(e,t),Array.from(t))}const pb={forceWritable:!1};function Sp(e,t=pb){return tl(e,new WeakMap,t)}function tl(e,t,r=pb){let n,o;if(t.has(e))return t.get(e);if(Array.isArray(e)){for(o=Array.from({length:n=e.length}),t.set(e,o);n--;)o[n]=tl(e[n],t,r);return o}if(Object.prototype.toString.call(e)==="[object Object]"){o=Object.create(Object.getPrototypeOf(e)),t.set(e,o);const i=db(e);for(const a of i){const l=Object.getOwnPropertyDescriptor(e,a);if(!l)continue;const u=tl(e[a],t,r);r.forceWritable?Object.defineProperty(o,a,{enumerable:l.enumerable,configurable:!0,writable:!0,value:u}):"get"in l?Object.defineProperty(o,a,{...l,get(){return u}}):Object.defineProperty(o,a,{...l,value:u})}return o}return e}function Cx(){}function Pp(e,t,r=void 0){const n=t.replace(/\[(\d+)\]/g,".$1").split(".");let o=e;for(const i of n)if(o=new Object(o)[i],o===void 0)return r;return o}function qp(){let e=null,t=null;const r=new Promise((n,o)=>{e=n,t=o});return r.resolve=e,r.reject=t,r}function Tx(e){if(!Number.isNaN(e))return!1;const t=new Float64Array(1);return t[0]=e,new Uint32Array(t.buffer)[1]>>>31===1}function xx(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}const $e=-1,Me=1,Ee=0;class ve{0;1;constructor(t,r){this[0]=t,this[1]=r}}function Sx(e,t){if(!e||!t||e.charAt(0)!==t.charAt(0))return 0;let r=0,n=Math.min(e.length,t.length),o=n,i=0;for(;r<o;)e.substring(i,o)===t.substring(i,o)?(r=o,i=r):n=o,o=Math.floor((n-r)/2+r);return o}function mb(e,t){if(!e||!t||e.charAt(e.length-1)!==t.charAt(t.length-1))return 0;let r=0,n=Math.min(e.length,t.length),o=n,i=0;for(;r<o;)e.substring(e.length-o,e.length-i)===t.substring(t.length-o,t.length-i)?(r=o,i=r):n=o,o=Math.floor((n-r)/2+r);return o}function Op(e,t){const r=e.length,n=t.length;if(r===0||n===0)return 0;r>n?e=e.substring(r-n):r<n&&(t=t.substring(0,r));const o=Math.min(r,n);if(e===t)return o;let i=0,a=1;for(;;){const l=e.substring(o-a),u=t.indexOf(l);if(u===-1)return i;a+=u,(u===0||e.substring(o-a)===t.substring(0,a))&&(i=a,a++)}}function Px(e){let t=!1;const r=[];let n=0,o=null,i=0,a=0,l=0,u=0,s=0;for(;i<e.length;)e[i][0]===Ee?(r[n++]=i,a=u,l=s,u=0,s=0,o=e[i][1]):(e[i][0]===Me?u+=e[i][1].length:s+=e[i][1].length,o&&o.length<=Math.max(a,l)&&o.length<=Math.max(u,s)&&(e.splice(r[n-1],0,new ve($e,o)),e[r[n-1]+1][0]=Me,n--,n--,i=n>0?r[n-1]:-1,a=0,l=0,u=0,s=0,o=null,t=!0)),i++;for(t&&hb(e),Mx(e),i=1;i<e.length;){if(e[i-1][0]===$e&&e[i][0]===Me){const c=e[i-1][1],d=e[i][1],f=Op(c,d),p=Op(d,c);f>=p?(f>=c.length/2||f>=d.length/2)&&(e.splice(i,0,new ve(Ee,d.substring(0,f))),e[i-1][1]=c.substring(0,c.length-f),e[i+1][1]=d.substring(f),i++):(p>=c.length/2||p>=d.length/2)&&(e.splice(i,0,new ve(Ee,c.substring(0,p))),e[i-1][0]=Me,e[i-1][1]=d.substring(0,d.length-p),e[i+1][0]=$e,e[i+1][1]=c.substring(p),i++),i++}i++}}const Mp=/[^a-z0-9]/i,Ap=/\s/,$p=/[\r\n]/,qx=/\n\r?\n$/,Ox=/^\r?\n\r?\n/;function Mx(e){let t=1;for(;t<e.length-1;){if(e[t-1][0]===Ee&&e[t+1][0]===Ee){let r=e[t-1][1],n=e[t][1],o=e[t+1][1];const i=mb(r,n);if(i){const c=n.substring(n.length-i);r=r.substring(0,r.length-i),n=c+n.substring(0,n.length-i),o=c+o}let a=r,l=n,u=o,s=Bi(r,n)+Bi(n,o);for(;n.charAt(0)===o.charAt(0);){r+=n.charAt(0),n=n.substring(1)+o.charAt(0),o=o.substring(1);const c=Bi(r,n)+Bi(n,o);c>=s&&(s=c,a=r,l=n,u=o)}e[t-1][1]!==a&&(a?e[t-1][1]=a:(e.splice(t-1,1),t--),e[t][1]=l,u?e[t+1][1]=u:(e.splice(t+1,1),t--))}t++}}function hb(e){var t;e.push(new ve(Ee,""));let r=0,n=0,o=0,i="",a="",l;for(;r<e.length;)switch(e[r][0]){case Me:o++,a+=e[r][1],r++;break;case $e:n++,i+=e[r][1],r++;break;case Ee:n+o>1?(n!==0&&o!==0&&(l=Sx(a,i),l!==0&&(r-n-o>0&&e[r-n-o-1][0]===Ee?e[r-n-o-1][1]+=a.substring(0,l):(e.splice(0,0,new ve(Ee,a.substring(0,l))),r++),a=a.substring(l),i=i.substring(l)),l=mb(a,i),l!==0&&(e[r][1]=a.substring(a.length-l)+e[r][1],a=a.substring(0,a.length-l),i=i.substring(0,i.length-l))),r-=n+o,e.splice(r,n+o),i.length&&(e.splice(r,0,new ve($e,i)),r++),a.length&&(e.splice(r,0,new ve(Me,a)),r++),r++):r!==0&&e[r-1][0]===Ee?(e[r-1][1]+=e[r][1],e.splice(r,1)):r++,o=0,n=0,i="",a="";break}((t=e.at(-1))===null||t===void 0?void 0:t[1])===""&&e.pop();let u=!1;for(r=1;r<e.length-1;)e[r-1][0]===Ee&&e[r+1][0]===Ee&&(e[r][1].substring(e[r][1].length-e[r-1][1].length)===e[r-1][1]?(e[r][1]=e[r-1][1]+e[r][1].substring(0,e[r][1].length-e[r-1][1].length),e[r+1][1]=e[r-1][1]+e[r+1][1],e.splice(r-1,1),u=!0):e[r][1].substring(0,e[r+1][1].length)===e[r+1][1]&&(e[r-1][1]+=e[r+1][1],e[r][1]=e[r][1].substring(e[r+1][1].length)+e[r+1][1],e.splice(r+1,1),u=!0)),r++;u&&hb(e)}function Bi(e,t){if(!e||!t)return 6;const r=e.charAt(e.length-1),n=t.charAt(0),o=r.match(Mp),i=n.match(Mp),a=o&&r.match(Ap),l=i&&n.match(Ap),u=a&&r.match($p),s=l&&n.match($p),c=u&&e.match(qx),d=s&&t.match(Ox);return c||d?5:u||s?4:o&&!a&&l?3:a||l?2:o||i?1:0}const bb="Compared values have no visual difference.",Ax="Compared values serialize to the same structure.\nPrinting internal object structure without calling `toJSON` instead.";var Ui={},Np;function $x(){if(Np)return Ui;Np=1,Object.defineProperty(Ui,"__esModule",{value:!0}),Ui.default=f;const e="diff-sequences",t=0,r=(p,m,h,g,b)=>{let R=0;for(;p<m&&h<g&&b(p,h);)p+=1,h+=1,R+=1;return R},n=(p,m,h,g,b)=>{let R=0;for(;p<=m&&h<=g&&b(m,g);)m-=1,g-=1,R+=1;return R},o=(p,m,h,g,b,R,T)=>{let _=0,x=-p,v=R[_],y=v;R[_]+=r(v+1,m,g+v-x+1,h,b);const S=p<T?p:T;for(_+=1,x+=2;_<=S;_+=1,x+=2){if(_!==p&&y<R[_])v=R[_];else if(v=y+1,m<=v)return _-1;y=R[_],R[_]=v+r(v+1,m,g+v-x+1,h,b)}return T},i=(p,m,h,g,b,R,T)=>{let _=0,x=p,v=R[_],y=v;R[_]-=n(m,v-1,h,g+v-x-1,b);const S=p<T?p:T;for(_+=1,x-=2;_<=S;_+=1,x-=2){if(_!==p&&R[_]<y)v=R[_];else if(v=y-1,v<m)return _-1;y=R[_],R[_]=v-n(m,v-1,h,g+v-x-1,b)}return T},a=(p,m,h,g,b,R,T,_,x,v,y)=>{const S=g-m,N=h-m,L=b-g-N,B=-L-(p-1),$=-L+(p-1);let D=t;const K=p<_?p:_;for(let W=0,Y=-p;W<=K;W+=1,Y+=2){const he=W===0||W!==p&&D<T[W],ce=he?T[W]:D,we=he?ce:ce+1,Se=S+we-Y,Re=r(we+1,h,Se+1,b,R),V=we+Re;if(D=T[W],T[W]=V,B<=Y&&Y<=$){const Ae=(p-1-(Y+L))/2;if(Ae<=v&&x[Ae]-1<=V){const Pe=S+ce-(he?Y+1:Y-1),ge=n(m,ce,g,Pe,R),qe=ce-ge,ot=Pe-ge,O=qe+1,U=ot+1;y.nChangePreceding=p-1,p-1===O+U-m-g?(y.aEndPreceding=m,y.bEndPreceding=g):(y.aEndPreceding=O,y.bEndPreceding=U),y.nCommonPreceding=ge,ge!==0&&(y.aCommonPreceding=O,y.bCommonPreceding=U),y.nCommonFollowing=Re,Re!==0&&(y.aCommonFollowing=we+1,y.bCommonFollowing=Se+1);const G=V+1,re=Se+Re+1;return y.nChangeFollowing=p-1,p-1===h+b-G-re?(y.aStartFollowing=h,y.bStartFollowing=b):(y.aStartFollowing=G,y.bStartFollowing=re),!0}}}return!1},l=(p,m,h,g,b,R,T,_,x,v,y)=>{const S=b-h,N=h-m,L=b-g-N,B=L-p,$=L+p;let D=t;const K=p<v?p:v;for(let W=0,Y=p;W<=K;W+=1,Y-=2){const he=W===0||W!==p&&x[W]<D,ce=he?x[W]:D,we=he?ce:ce-1,Se=S+we-Y,Re=n(m,we-1,g,Se-1,R),V=we-Re;if(D=x[W],x[W]=V,B<=Y&&Y<=$){const Ae=(p+(Y-L))/2;if(Ae<=_&&V-1<=T[Ae]){const Pe=Se-Re;if(y.nChangePreceding=p,p===V+Pe-m-g?(y.aEndPreceding=m,y.bEndPreceding=g):(y.aEndPreceding=V,y.bEndPreceding=Pe),y.nCommonPreceding=Re,Re!==0&&(y.aCommonPreceding=V,y.bCommonPreceding=Pe),y.nChangeFollowing=p-1,p===1)y.nCommonFollowing=0,y.aStartFollowing=h,y.bStartFollowing=b;else{const ge=S+ce-(he?Y-1:Y+1),qe=r(ce,h,ge,b,R);y.nCommonFollowing=qe,qe!==0&&(y.aCommonFollowing=ce,y.bCommonFollowing=ge);const ot=ce+qe,O=ge+qe;p-1===h+b-ot-O?(y.aStartFollowing=h,y.bStartFollowing=b):(y.aStartFollowing=ot,y.bStartFollowing=O)}return!0}}}return!1},u=(p,m,h,g,b,R,T,_,x)=>{const v=g-m,y=b-h,S=h-m,N=b-g,I=N-S;let L=S,B=S;if(T[0]=m-1,_[0]=h,I%2===0){const $=(p||I)/2,D=(S+N)/2;for(let K=1;K<=D;K+=1)if(L=o(K,h,b,v,R,T,L),K<$)B=i(K,m,g,y,R,_,B);else if(l(K,m,h,g,b,R,T,L,_,B,x))return}else{const $=((p||I)+1)/2,D=(S+N+1)/2;let K=1;for(L=o(K,h,b,v,R,T,L),K+=1;K<=D;K+=1)if(B=i(K-1,m,g,y,R,_,B),K<$)L=o(K,h,b,v,R,T,L);else if(a(K,m,h,g,b,R,T,L,_,B,x))return}throw new Error(`${e}: no overlap aStart=${m} aEnd=${h} bStart=${g} bEnd=${b}`)},s=(p,m,h,g,b,R,T,_,x,v)=>{if(b-g<h-m){if(R=!R,R&&T.length===1){const{foundSubsequence:V,isCommon:Ae}=T[0];T[1]={foundSubsequence:(Pe,ge,qe)=>{V(Pe,qe,ge)},isCommon:(Pe,ge)=>Ae(ge,Pe)}}const Se=m,Re=h;m=g,h=b,g=Se,b=Re}const{foundSubsequence:y,isCommon:S}=T[R?1:0];u(p,m,h,g,b,S,_,x,v);const{nChangePreceding:N,aEndPreceding:I,bEndPreceding:L,nCommonPreceding:B,aCommonPreceding:$,bCommonPreceding:D,nCommonFollowing:K,aCommonFollowing:W,bCommonFollowing:Y,nChangeFollowing:he,aStartFollowing:ce,bStartFollowing:we}=v;m<I&&g<L&&s(N,m,I,g,L,R,T,_,x,v),B!==0&&y(B,$,D),K!==0&&y(K,W,Y),ce<h&&we<b&&s(he,ce,h,we,b,R,T,_,x,v)},c=(p,m)=>{if(typeof m!="number")throw new TypeError(`${e}: ${p} typeof ${typeof m} is not a number`);if(!Number.isSafeInteger(m))throw new RangeError(`${e}: ${p} value ${m} is not a safe integer`);if(m<0)throw new RangeError(`${e}: ${p} value ${m} is a negative integer`)},d=(p,m)=>{const h=typeof m;if(h!=="function")throw new TypeError(`${e}: ${p} typeof ${h} is not a function`)};function f(p,m,h,g){c("aLength",p),c("bLength",m),d("isCommon",h),d("foundSubsequence",g);const b=r(0,p,0,m,h);if(b!==0&&g(b,0,0),p!==b||m!==b){const R=b,T=b,_=n(R,p-1,T,m-1,h),x=p-_,v=m-_,y=b+_;p!==y&&m!==y&&s(0,R,x,T,v,!1,[{foundSubsequence:g,isCommon:h}],[t],[t],{aCommonFollowing:t,aCommonPreceding:t,aEndPreceding:t,aStartFollowing:t,bCommonFollowing:t,bCommonPreceding:t,bEndPreceding:t,bStartFollowing:t,nChangeFollowing:t,nChangePreceding:t,nCommonFollowing:t,nCommonPreceding:t}),_!==0&&g(_,x,v)}}return Ui}var Nx=$x(),gb=xx(Nx);function Ix(e,t){return e.replace(/\s+$/,r=>t(r))}function Ll(e,t,r,n,o,i){return e.length!==0?r(`${n} ${Ix(e,o)}`):n!==" "?r(n):t&&i.length!==0?r(`${n} ${i}`):""}function yb(e,t,{aColor:r,aIndicator:n,changeLineTrailingSpaceColor:o,emptyFirstOrLastLinePlaceholder:i}){return Ll(e,t,r,n,o,i)}function vb(e,t,{bColor:r,bIndicator:n,changeLineTrailingSpaceColor:o,emptyFirstOrLastLinePlaceholder:i}){return Ll(e,t,r,n,o,i)}function wb(e,t,{commonColor:r,commonIndicator:n,commonLineTrailingSpaceColor:o,emptyFirstOrLastLinePlaceholder:i}){return Ll(e,t,r,n,o,i)}function Ip(e,t,r,n,{patchColor:o}){return o(`@@ -${e+1},${t-e} +${r+1},${n-r} @@`)}function jx(e,t){const r=e.length,n=t.contextLines,o=n+n;let i=r,a=!1,l=0,u=0;for(;u!==r;){const _=u;for(;u!==r&&e[u][0]===Ee;)u+=1;if(_!==u)if(_===0)u>n&&(i-=u-n,a=!0);else if(u===r){const x=u-_;x>n&&(i-=x-n,a=!0)}else{const x=u-_;x>o&&(i-=x-o,l+=1)}for(;u!==r&&e[u][0]!==Ee;)u+=1}const s=l!==0||a;l!==0?i+=l+1:a&&(i+=1);const c=i-1,d=[];let f=0;s&&d.push("");let p=0,m=0,h=0,g=0;const b=_=>{const x=d.length;d.push(wb(_,x===0||x===c,t)),h+=1,g+=1},R=_=>{const x=d.length;d.push(yb(_,x===0||x===c,t)),h+=1},T=_=>{const x=d.length;d.push(vb(_,x===0||x===c,t)),g+=1};for(u=0;u!==r;){let _=u;for(;u!==r&&e[u][0]===Ee;)u+=1;if(_!==u)if(_===0){u>n&&(_=u-n,p=_,m=_,h=p,g=m);for(let x=_;x!==u;x+=1)b(e[x][1])}else if(u===r){const x=u-_>n?_+n:u;for(let v=_;v!==x;v+=1)b(e[v][1])}else{const x=u-_;if(x>o){const v=_+n;for(let S=_;S!==v;S+=1)b(e[S][1]);d[f]=Ip(p,h,m,g,t),f=d.length,d.push("");const y=x-o;p=h+y,m=g+y,h=p,g=m;for(let S=u-n;S!==u;S+=1)b(e[S][1])}else for(let v=_;v!==u;v+=1)b(e[v][1])}for(;u!==r&&e[u][0]===$e;)R(e[u][1]),u+=1;for(;u!==r&&e[u][0]===Me;)T(e[u][1]),u+=1}return s&&(d[f]=Ip(p,h,m,g,t)),d.join(`
64
- `)}function Dx(e,t){return e.map((r,n,o)=>{const i=r[1],a=n===0||n===o.length-1;switch(r[0]){case $e:return yb(i,a,t);case Me:return vb(i,a,t);default:return wb(i,a,t)}}).join(`
65
- `)}const as=e=>e,Rb=5,Fx=0;function kx(){return{aAnnotation:"Expected",aColor:_e.green,aIndicator:"-",bAnnotation:"Received",bColor:_e.red,bIndicator:"+",changeColor:_e.inverse,changeLineTrailingSpaceColor:as,commonColor:_e.dim,commonIndicator:" ",commonLineTrailingSpaceColor:as,compareKeys:void 0,contextLines:Rb,emptyFirstOrLastLinePlaceholder:"",expand:!1,includeChangeCounts:!1,omitAnnotationLines:!1,patchColor:_e.yellow,printBasicPrototype:!1,truncateThreshold:Fx,truncateAnnotation:"... Diff result is truncated",truncateAnnotationColor:as}}function Lx(e){return e&&typeof e=="function"?e:void 0}function Bx(e){return typeof e=="number"&&Number.isSafeInteger(e)&&e>=0?e:Rb}function Ht(e={}){return{...kx(),...e,compareKeys:Lx(e.compareKeys),contextLines:Bx(e.contextLines)}}function Xt(e){return e.length===1&&e[0].length===0}function Ux(e){let t=0,r=0;return e.forEach(n=>{switch(n[0]){case $e:t+=1;break;case Me:r+=1;break}}),{a:t,b:r}}function zx({aAnnotation:e,aColor:t,aIndicator:r,bAnnotation:n,bColor:o,bIndicator:i,includeChangeCounts:a,omitAnnotationLines:l},u){if(l)return"";let s="",c="";if(a){const p=String(u.a),m=String(u.b),h=n.length-e.length,g=" ".repeat(Math.max(0,h)),b=" ".repeat(Math.max(0,-h)),R=m.length-p.length,T=" ".repeat(Math.max(0,R)),_=" ".repeat(Math.max(0,-R));s=`${g} ${r} ${T}${p}`,c=`${b} ${i} ${_}${m}`}const d=`${r} ${e}${s}`,f=`${i} ${n}${c}`;return`${t(d)}
66
- ${o(f)}
67
-
68
- `}function Bl(e,t,r){return zx(r,Ux(e))+(r.expand?Dx(e,r):jx(e,r))+(t?r.truncateAnnotationColor(`
69
- ${r.truncateAnnotation}`):"")}function Sa(e,t,r){const n=Ht(r),[o,i]=Eb(Xt(e)?[]:e,Xt(t)?[]:t,n);return Bl(o,i,n)}function Vx(e,t,r,n,o){if(Xt(e)&&Xt(r)&&(e=[],r=[]),Xt(t)&&Xt(n)&&(t=[],n=[]),e.length!==r.length||t.length!==n.length)return Sa(e,t,o);const[i,a]=Eb(r,n,o);let l=0,u=0;return i.forEach(s=>{switch(s[0]){case $e:s[1]=e[l],l+=1;break;case Me:s[1]=t[u],u+=1;break;default:s[1]=t[u],l+=1,u+=1}}),Bl(i,a,Ht(o))}function Eb(e,t,r){const n=r?.truncateThreshold??!1,o=Math.max(Math.floor(r?.truncateThreshold??0),0),i=n?Math.min(e.length,o):e.length,a=n?Math.min(t.length,o):t.length,l=i!==e.length||a!==t.length,u=(p,m)=>e[p]===t[m],s=[];let c=0,d=0;for(gb(i,a,u,(p,m,h)=>{for(;c!==m;c+=1)s.push(new ve($e,e[c]));for(;d!==h;d+=1)s.push(new ve(Me,t[d]));for(;p!==0;p-=1,c+=1,d+=1)s.push(new ve(Ee,t[d]))});c!==i;c+=1)s.push(new ve($e,e[c]));for(;d!==a;d+=1)s.push(new ve(Me,t[d]));return[s,l]}function jp(e){if(e===void 0)return"undefined";if(e===null)return"null";if(Array.isArray(e))return"array";if(typeof e=="boolean")return"boolean";if(typeof e=="function")return"function";if(typeof e=="number")return"number";if(typeof e=="string")return"string";if(typeof e=="bigint")return"bigint";if(typeof e=="object"){if(e!=null){if(e.constructor===RegExp)return"regexp";if(e.constructor===Map)return"map";if(e.constructor===Set)return"set";if(e.constructor===Date)return"date"}return"object"}else if(typeof e=="symbol")return"symbol";throw new Error(`value of unknown type: ${e}`)}function Dp(e){return e.includes(`\r
70
- `)?`\r
71
- `:`
72
- `}function Hx(e,t,r){const n=r?.truncateThreshold??!1,o=Math.max(Math.floor(r?.truncateThreshold??0),0);let i=e.length,a=t.length;if(n){const p=e.includes(`
73
- `),m=t.includes(`
74
- `),h=Dp(e),g=Dp(t),b=p?`${e.split(h,o).join(h)}
75
- `:e,R=m?`${t.split(g,o).join(g)}
76
- `:t;i=b.length,a=R.length}const l=i!==e.length||a!==t.length,u=(p,m)=>e[p]===t[m];let s=0,c=0;const d=[];return gb(i,a,u,(p,m,h)=>{s!==m&&d.push(new ve($e,e.slice(s,m))),c!==h&&d.push(new ve(Me,t.slice(c,h))),s=m+p,c=h+p,d.push(new ve(Ee,t.slice(h,c)))}),s!==i&&d.push(new ve($e,e.slice(s))),c!==a&&d.push(new ve(Me,t.slice(c))),[d,l]}function Wx(e,t,r){return t.reduce((n,o)=>n+(o[0]===Ee?o[1]:o[0]===e&&o[1].length!==0?r(o[1]):""),"")}class Fp{op;line;lines;changeColor;constructor(t,r){this.op=t,this.line=[],this.lines=[],this.changeColor=r}pushSubstring(t){this.pushDiff(new ve(this.op,t))}pushLine(){this.lines.push(this.line.length!==1?new ve(this.op,Wx(this.op,this.line,this.changeColor)):this.line[0][0]===this.op?this.line[0]:new ve(this.op,this.line[0][1])),this.line.length=0}isLineEmpty(){return this.line.length===0}pushDiff(t){this.line.push(t)}align(t){const r=t[1];if(r.includes(`
77
- `)){const n=r.split(`
78
- `),o=n.length-1;n.forEach((i,a)=>{a<o?(this.pushSubstring(i),this.pushLine()):i.length!==0&&this.pushSubstring(i)})}else this.pushDiff(t)}moveLinesTo(t){this.isLineEmpty()||this.pushLine(),t.push(...this.lines),this.lines.length=0}}class Gx{deleteBuffer;insertBuffer;lines;constructor(t,r){this.deleteBuffer=t,this.insertBuffer=r,this.lines=[]}pushDiffCommonLine(t){this.lines.push(t)}pushDiffChangeLines(t){const r=t[1].length===0;(!r||this.deleteBuffer.isLineEmpty())&&this.deleteBuffer.pushDiff(t),(!r||this.insertBuffer.isLineEmpty())&&this.insertBuffer.pushDiff(t)}flushChangeLines(){this.deleteBuffer.moveLinesTo(this.lines),this.insertBuffer.moveLinesTo(this.lines)}align(t){const r=t[0],n=t[1];if(n.includes(`
79
- `)){const o=n.split(`
80
- `),i=o.length-1;o.forEach((a,l)=>{if(l===0){const u=new ve(r,a);this.deleteBuffer.isLineEmpty()&&this.insertBuffer.isLineEmpty()?(this.flushChangeLines(),this.pushDiffCommonLine(u)):(this.pushDiffChangeLines(u),this.flushChangeLines())}else l<i?this.pushDiffCommonLine(new ve(r,a)):a.length!==0&&this.pushDiffChangeLines(new ve(r,a))})}else this.pushDiffChangeLines(t)}getLines(){return this.flushChangeLines(),this.lines}}function Kx(e,t){const r=new Fp($e,t),n=new Fp(Me,t),o=new Gx(r,n);return e.forEach(i=>{switch(i[0]){case $e:r.align(i);break;case Me:n.align(i);break;default:o.align(i)}}),o.getLines()}function Yx(e,t){if(t){const r=e.length-1;return e.some((n,o)=>n[0]===Ee&&(o!==r||n[1]!==`
81
- `))}return e.some(r=>r[0]===Ee)}function Jx(e,t,r){if(e!==t&&e.length!==0&&t.length!==0){const n=e.includes(`
82
- `)||t.includes(`
83
- `),[o,i]=_b(n?`${e}
84
- `:e,n?`${t}
85
- `:t,!0,r);if(Yx(o,n)){const a=Ht(r),l=Kx(o,a.changeColor);return Bl(l,i,a)}}return Sa(e.split(`
86
- `),t.split(`
87
- `),r)}function _b(e,t,r,n){const[o,i]=Hx(e,t,n);return Px(o),[o,i]}function rl(e,t){const{commonColor:r}=Ht(t);return r(e)}const{AsymmetricMatcher:Xx,DOMCollection:Zx,DOMElement:Qx,Immutable:e1,ReactElement:t1,ReactTestComponent:r1}=xa,Cb=[r1,t1,Qx,Zx,e1,Xx,xa.Error],nl={maxDepth:20,plugins:Cb},Tb={callToJSON:!1,maxDepth:8,plugins:Cb};function ur(e,t,r){if(Object.is(e,t))return"";const n=jp(e);let o=n,i=!1;if(n==="object"&&typeof e.asymmetricMatch=="function"){if(e.$$typeof!==Symbol.for("jest.asymmetricMatcher")||typeof e.getExpectedType!="function")return;o=e.getExpectedType(),i=o==="string"}if(o!==jp(t)){let g=function(T){return T.length<=h?T:`${T.slice(0,h)}...`};const{aAnnotation:a,aColor:l,aIndicator:u,bAnnotation:s,bColor:c,bIndicator:d}=Ht(r),f=ol(Tb,r);let p=et(e,f),m=et(t,f);const h=1e5;p=g(p),m=g(m);const b=`${l(`${u} ${a}:`)}
88
- ${p}`,R=`${c(`${d} ${s}:`)}
89
- ${m}`;return`${b}
90
-
91
- ${R}`}if(!i)switch(n){case"string":return Sa(e.split(`
92
- `),t.split(`
93
- `),r);case"boolean":case"number":return n1(e,t,r);case"map":return ss(kp(e),kp(t),r);case"set":return ss(Lp(e),Lp(t),r);default:return ss(e,t,r)}}function n1(e,t,r){const n=et(e,nl),o=et(t,nl);return n===o?"":Sa(n.split(`
94
- `),o.split(`
95
- `),r)}function kp(e){return new Map(Array.from(e.entries()).sort())}function Lp(e){return new Set(Array.from(e.values()).sort())}function ss(e,t,r){let n,o=!1;try{const a=ol(nl,r);n=Bp(e,t,a,r)}catch{o=!0}const i=rl(bb,r);if(n===void 0||n===i){const a=ol(Tb,r);n=Bp(e,t,a,r),n!==i&&!o&&(n=`${rl(Ax,r)}
96
-
97
- ${n}`)}return n}function ol(e,t){const{compareKeys:r,printBasicPrototype:n,maxDepth:o}=Ht(t);return{...e,compareKeys:r,printBasicPrototype:n,maxDepth:o??e.maxDepth}}function Bp(e,t,r,n){const o={...r,indent:0},i=et(e,o),a=et(t,o);if(i===a)return rl(bb,n);{const l=et(e,r),u=et(t,r);return Vx(l.split(`
98
- `),u.split(`
99
- `),i.split(`
100
- `),a.split(`
101
- `),n)}}const Up=2e4;function zp(e){return Ri(e)==="Object"&&typeof e.asymmetricMatch=="function"}function zi(e,t){const r=Ri(e),n=Ri(t);return r===n&&(r==="Object"||r==="Array")}function xb(e,t,r){const{aAnnotation:n,bAnnotation:o}=Ht(r);if(typeof t=="string"&&typeof e=="string"&&t.length>0&&e.length>0&&t.length<=Up&&e.length<=Up&&t!==e){if(t.includes(`
102
- `)||e.includes(`
103
- `))return Jx(t,e,r);const[c]=_b(t,e),d=c.some(h=>h[0]===Ee),f=o1(n,o),p=f(n)+s1(Vp(c,$e,d)),m=f(o)+a1(Vp(c,Me,d));return`${p}
104
- ${m}`}const i=Sp(t,{forceWritable:!0}),a=Sp(e,{forceWritable:!0}),{replacedExpected:l,replacedActual:u}=ea(a,i);return ur(l,u,r)}function ea(e,t,r=new WeakSet,n=new WeakSet){return e instanceof Error&&t instanceof Error&&typeof e.cause<"u"&&typeof t.cause>"u"?(delete e.cause,{replacedActual:e,replacedExpected:t}):zi(e,t)?r.has(e)||n.has(t)?{replacedActual:e,replacedExpected:t}:(r.add(e),n.add(t),db(t).forEach(o=>{const i=t[o],a=e[o];if(zp(i)){if(i.asymmetricMatch(a))t[o]=a;else if("sample"in i&&i.sample!==void 0&&zi(a,i.sample)){const l=ea(a,i.sample,r,n);e[o]=l.replacedActual,t[o]=l.replacedExpected}}else if(zp(a)){if(a.asymmetricMatch(i))e[o]=i;else if("sample"in a&&a.sample!==void 0&&zi(a.sample,i)){const l=ea(a.sample,i,r,n);e[o]=l.replacedActual,t[o]=l.replacedExpected}}else if(zi(a,i)){const l=ea(a,i,r,n);e[o]=l.replacedActual,t[o]=l.replacedExpected}}),{replacedActual:e,replacedExpected:t}):{replacedActual:e,replacedExpected:t}}function o1(...e){const t=e.reduce((r,n)=>n.length>r?n.length:r,0);return r=>`${r}: ${" ".repeat(t-r.length)}`}const i1="·";function Sb(e){return e.replace(/\s+$/gm,t=>i1.repeat(t.length))}function a1(e){return _e.red(Sb(Fe(e)))}function s1(e){return _e.green(Sb(Fe(e)))}function Vp(e,t,r){return e.reduce((n,o)=>n+(o[0]===Ee?o[1]:o[0]===t?r?_e.inverse(o[1]):o[1]:""),"")}function ls(e){return typeof e=="function"&&"_isMockFunction"in e&&e._isMockFunction===!0}const l1="@@__IMMUTABLE_RECORD__@@",u1="@@__IMMUTABLE_ITERABLE__@@";function c1(e){return e&&(e[u1]||e[l1])}const f1=Object.getPrototypeOf({});function Hp(e){return e instanceof Error?`<unserializable>: ${e.message}`:typeof e=="string"?`<unserializable>: ${e}`:"<unserializable>"}function qt(e,t=new WeakMap){if(!e||typeof e=="string")return e;if(e instanceof Error&&"toJSON"in e&&typeof e.toJSON=="function"){const r=e.toJSON();return r&&r!==e&&typeof r=="object"&&(typeof e.message=="string"&&ni(()=>r.message??(r.message=Wp(e.message))),typeof e.stack=="string"&&ni(()=>r.stack??(r.stack=e.stack)),typeof e.name=="string"&&ni(()=>r.name??(r.name=e.name)),e.cause!=null&&ni(()=>r.cause??(r.cause=qt(e.cause,t)))),qt(r,t)}if(typeof e=="function")return`Function<${e.name||"anonymous"}>`;if(typeof e=="symbol")return e.toString();if(typeof e!="object")return e;if(typeof Buffer<"u"&&e instanceof Buffer)return`<Buffer(${e.length}) ...>`;if(typeof Uint8Array<"u"&&e instanceof Uint8Array)return`<Uint8Array(${e.length}) ...>`;if(c1(e))return qt(e.toJSON(),t);if(e instanceof Promise||e.constructor&&e.constructor.prototype==="AsyncFunction")return"Promise";if(typeof Element<"u"&&e instanceof Element)return e.tagName;if(typeof e.toJSON=="function")return qt(e.toJSON(),t);if(t.has(e))return t.get(e);if(Array.isArray(e)){const r=new Array(e.length);return t.set(e,r),e.forEach((n,o)=>{try{r[o]=qt(n,t)}catch(i){r[o]=Hp(i)}}),r}else{const r=Object.create(null);t.set(e,r);let n=e;for(;n&&n!==f1;)Object.getOwnPropertyNames(n).forEach(o=>{if(!(o in r))try{r[o]=qt(e[o],t)}catch(i){delete r[o],r[o]=Hp(i)}}),n=Object.getPrototypeOf(n);return e instanceof Error&&ni(()=>e.message=Wp(e.message)),r}}function ni(e){try{return e()}catch{}}function Wp(e){return e.replace(/__(vite_ssr_import|vi_import)_\d+__\./g,"")}function Pb(e,t,r=new WeakSet){if(!e||typeof e!="object")return{message:String(e)};const n=e;(n.showDiff||n.showDiff===void 0&&n.expected!==void 0&&n.actual!==void 0)&&(n.diff=xb(n.actual,n.expected,{...t,...n.diffOptions})),"expected"in n&&typeof n.expected!="string"&&(n.expected=Fe(n.expected,10)),"actual"in n&&typeof n.actual!="string"&&(n.actual=Fe(n.actual,10));try{!r.has(n)&&typeof n.cause=="object"&&(r.add(n),n.cause=Pb(n.cause,t,r))}catch{}try{return qt(n)}catch(o){return qt(new Error(`Failed to fully serialize error: ${o?.message}
105
- Inner error message: ${n?.message}`))}}var Ul=Object.defineProperty,d1=(e,t,r)=>t in e?Ul(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,M=(e,t)=>Ul(e,"name",{value:t,configurable:!0}),zl=(e,t)=>{for(var r in t)Ul(e,r,{get:t[r],enumerable:!0})},qb=(e,t,r)=>d1(e,typeof t!="symbol"?t+"":t,r),xe={};zl(xe,{addChainableMethod:()=>ru,addLengthGuard:()=>Pi,addMethod:()=>Ql,addProperty:()=>Zl,checkError:()=>ze,compareByInspect:()=>da,eql:()=>og,events:()=>Ma,expectTypes:()=>Fb,flag:()=>ee,getActual:()=>qa,getMessage:()=>Wl,getName:()=>Aa,getOperator:()=>au,getOwnEnumerableProperties:()=>iu,getOwnEnumerablePropertySymbols:()=>ou,getPathInfo:()=>Jl,hasProperty:()=>Oa,inspect:()=>oe,isNaN:()=>pa,isNumeric:()=>Oe,isProxyEnabled:()=>Si,isRegExp:()=>ma,objDisplay:()=>Dt,overwriteChainableMethod:()=>nu,overwriteMethod:()=>tu,overwriteProperty:()=>eu,proxify:()=>cr,test:()=>Vl,transferFlags:()=>nt,type:()=>me});var ze={};zl(ze,{compatibleConstructor:()=>Ab,compatibleInstance:()=>Mb,compatibleMessage:()=>$b,getConstructorName:()=>Nb,getMessage:()=>Ib});function Pa(e){return e instanceof Error||Object.prototype.toString.call(e)==="[object Error]"}M(Pa,"isErrorInstance");function Ob(e){return Object.prototype.toString.call(e)==="[object RegExp]"}M(Ob,"isRegExp");function Mb(e,t){return Pa(t)&&e===t}M(Mb,"compatibleInstance");function Ab(e,t){return Pa(t)?e.constructor===t.constructor||e instanceof t.constructor:(typeof t=="object"||typeof t=="function")&&t.prototype?e.constructor===t||e instanceof t:!1}M(Ab,"compatibleConstructor");function $b(e,t){const r=typeof e=="string"?e:e.message;return Ob(t)?t.test(r):typeof t=="string"?r.indexOf(t)!==-1:!1}M($b,"compatibleMessage");function Nb(e){let t=e;return Pa(e)?t=e.constructor.name:typeof e=="function"&&(t=e.name,t===""&&(t=new e().name||t)),t}M(Nb,"getConstructorName");function Ib(e){let t="";return e&&e.message?t=e.message:typeof e=="string"&&(t=e),t}M(Ib,"getMessage");function ee(e,t,r){let n=e.__flags||(e.__flags=Object.create(null));if(arguments.length===3)n[t]=r;else return n[t]}M(ee,"flag");function Vl(e,t){let r=ee(e,"negate"),n=t[0];return r?!n:n}M(Vl,"test");function me(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)}M(me,"type");var p1="captureStackTrace"in Error,jb=class Db extends Error{constructor(t="Unspecified AssertionError",r,n){super(t),qb(this,"message"),this.message=t,p1&&Error.captureStackTrace(this,n||Db);for(const o in r)o in this||(this[o]=r[o])}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}}};M(jb,"AssertionError");var se=jb;function Fb(e,t){let r=ee(e,"message"),n=ee(e,"ssfi");r=r?r+": ":"",e=ee(e,"object"),t=t.map(function(a){return a.toLowerCase()}),t.sort();let o=t.map(function(a,l){let u=~["a","e","i","o","u"].indexOf(a.charAt(0))?"an":"a";return(t.length>1&&l===t.length-1?"or ":"")+u+" "+a}).join(", "),i=me(e).toLowerCase();if(!t.some(function(a){return i===a}))throw new se(r+"object tested must be "+o+", but "+i+" given",void 0,n)}M(Fb,"expectTypes");function qa(e,t){return t.length>4?t[4]:e._obj}M(qa,"getActual");var Gp={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"]},m1={special:"cyan",number:"yellow",bigint:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",symbol:"green",date:"magenta",regexp:"red"},ar="…";function kb(e,t){const r=Gp[m1[t]]||Gp[t]||"";return r?`\x1B[${r[0]}m${String(e)}\x1B[${r[1]}m`:String(e)}M(kb,"colorise");function Lb({showHidden:e=!1,depth:t=2,colors:r=!1,customInspect:n=!0,showProxy:o=!1,maxArrayLength:i=1/0,breakLength:a=1/0,seen:l=[],truncate:u=1/0,stylize:s=String}={},c){const d={showHidden:!!e,depth:Number(t),colors:!!r,customInspect:!!n,showProxy:!!o,maxArrayLength:Number(i),breakLength:Number(a),truncate:Number(u),seen:l,inspect:c,stylize:s};return d.colors&&(d.stylize=kb),d}M(Lb,"normaliseOptions");function Bb(e){return e>="\uD800"&&e<="\uDBFF"}M(Bb,"isHighSurrogate");function Ct(e,t,r=ar){e=String(e);const n=r.length,o=e.length;if(n>t&&o>n)return r;if(o>t&&o>n){let i=t-n;return i>0&&Bb(e[i-1])&&(i=i-1),`${e.slice(0,i)}${r}`}return e}M(Ct,"truncate");function Je(e,t,r,n=", "){r=r||t.inspect;const o=e.length;if(o===0)return"";const i=t.truncate;let a="",l="",u="";for(let s=0;s<o;s+=1){const c=s+1===e.length,d=s+2===e.length;u=`${ar}(${e.length-s})`;const f=e[s];t.truncate=i-a.length-(c?0:n.length);const p=l||r(f,t)+(c?"":n),m=a.length+p.length,h=m+u.length;if(c&&m>i&&a.length+u.length<=i||!c&&!d&&h>i||(l=c?"":r(e[s+1],t)+(d?"":n),!c&&d&&h>i&&m+l.length>i))break;if(a+=p,!c&&!d&&m+l.length>=i){u=`${ar}(${e.length-s-1})`;break}u=""}return`${a}${u}`}M(Je,"inspectList");function Ub(e){return e.match(/^[a-zA-Z_][a-zA-Z_0-9]*$/)?e:JSON.stringify(e).replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'")}M(Ub,"quoteComplexKey");function sr([e,t],r){return r.truncate-=2,typeof e=="string"?e=Ub(e):typeof e!="number"&&(e=`[${r.inspect(e,r)}]`),r.truncate-=e.length,t=r.inspect(t,r),`${e}: ${t}`}M(sr,"inspectProperty");function zb(e,t){const r=Object.keys(e).slice(e.length);if(!e.length&&!r.length)return"[]";t.truncate-=4;const n=Je(e,t);t.truncate-=n.length;let o="";return r.length&&(o=Je(r.map(i=>[i,e[i]]),t,sr)),`[ ${n}${o?`, ${o}`:""} ]`}M(zb,"inspectArray");var h1=M(e=>typeof Buffer=="function"&&e instanceof Buffer?"Buffer":e[Symbol.toStringTag]?e[Symbol.toStringTag]:e.constructor.name,"getArrayName");function st(e,t){const r=h1(e);t.truncate-=r.length+4;const n=Object.keys(e).slice(e.length);if(!e.length&&!n.length)return`${r}[]`;let o="";for(let a=0;a<e.length;a++){const l=`${t.stylize(Ct(e[a],t.truncate),"number")}${a===e.length-1?"":", "}`;if(t.truncate-=l.length,e[a]!==e.length&&t.truncate<=3){o+=`${ar}(${e.length-e[a]+1})`;break}o+=l}let i="";return n.length&&(i=Je(n.map(a=>[a,e[a]]),t,sr)),`${r}[ ${o}${i?`, ${i}`:""} ]`}M(st,"inspectTypedArray");function Vb(e,t){const r=e.toJSON();if(r===null)return"Invalid Date";const n=r.split("T"),o=n[0];return t.stylize(`${o}T${Ct(n[1],t.truncate-o.length-1)}`,"date")}M(Vb,"inspectDate");function il(e,t){const r=e[Symbol.toStringTag]||"Function",n=e.name;return n?t.stylize(`[${r} ${Ct(n,t.truncate-11)}]`,"special"):t.stylize(`[${r}]`,"special")}M(il,"inspectFunction");function Hb([e,t],r){return r.truncate-=4,e=r.inspect(e,r),r.truncate-=e.length,t=r.inspect(t,r),`${e} => ${t}`}M(Hb,"inspectMapEntry");function Wb(e){const t=[];return e.forEach((r,n)=>{t.push([n,r])}),t}M(Wb,"mapToEntries");function Gb(e,t){return e.size===0?"Map{}":(t.truncate-=7,`Map{ ${Je(Wb(e),t,Hb)} }`)}M(Gb,"inspectMap");var b1=Number.isNaN||(e=>e!==e);function al(e,t){return b1(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(Ct(String(e),t.truncate),"number")}M(al,"inspectNumber");function sl(e,t){let r=Ct(e.toString(),t.truncate-1);return r!==ar&&(r+="n"),t.stylize(r,"bigint")}M(sl,"inspectBigInt");function Kb(e,t){const r=e.toString().split("/")[2],n=t.truncate-(2+r.length),o=e.source;return t.stylize(`/${Ct(o,n)}/${r}`,"regexp")}M(Kb,"inspectRegExp");function Yb(e){const t=[];return e.forEach(r=>{t.push(r)}),t}M(Yb,"arrayFromSet");function Jb(e,t){return e.size===0?"Set{}":(t.truncate-=7,`Set{ ${Je(Yb(e),t)} }`)}M(Jb,"inspectSet");var Kp=new RegExp("['\\u0000-\\u001f\\u007f-\\u009f\\u00ad\\u0600-\\u0604\\u070f\\u17b4\\u17b5\\u200c-\\u200f\\u2028-\\u202f\\u2060-\\u206f\\ufeff\\ufff0-\\uffff]","g"),g1={"\b":"\\b"," ":"\\t","\n":"\\n","\f":"\\f","\r":"\\r","'":"\\'","\\":"\\\\"},y1=16;function Xb(e){return g1[e]||`\\u${`0000${e.charCodeAt(0).toString(y1)}`.slice(-4)}`}M(Xb,"escape");function ll(e,t){return Kp.test(e)&&(e=e.replace(Kp,Xb)),t.stylize(`'${Ct(e,t.truncate-2)}'`,"string")}M(ll,"inspectString");function ul(e){return"description"in Symbol.prototype?e.description?`Symbol(${e.description})`:"Symbol()":e.toString()}M(ul,"inspectSymbol");var v1=M(()=>"Promise{…}","getPromiseValue"),w1=v1;function ui(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 o=Je(r.map(l=>[l,e[l]]),t,sr),i=Je(n.map(l=>[l,e[l]]),t,sr);t.seen.pop();let a="";return o&&i&&(a=", "),`{ ${o}${a}${i} }`}M(ui,"inspectObject");var us=typeof Symbol<"u"&&Symbol.toStringTag?Symbol.toStringTag:!1;function Zb(e,t){let r="";return us&&us in e&&(r=e[us]),r=r||e.constructor.name,(!r||r==="_class")&&(r="<Anonymous Class>"),t.truncate-=r.length,`${r}${ui(e,t)}`}M(Zb,"inspectClass");function Qb(e,t){return e.length===0?"Arguments[]":(t.truncate-=13,`Arguments[ ${Je(e,t)} ]`)}M(Qb,"inspectArguments");var R1=["stack","line","column","name","message","fileName","lineNumber","columnNumber","number","description","cause"];function eg(e,t){const r=Object.getOwnPropertyNames(e).filter(a=>R1.indexOf(a)===-1),n=e.name;t.truncate-=n.length;let o="";if(typeof e.message=="string"?o=Ct(e.message,t.truncate):r.unshift("message"),o=o?`: ${o}`:"",t.truncate-=o.length+5,t.seen=t.seen||[],t.seen.includes(e))return"[Circular]";t.seen.push(e);const i=Je(r.map(a=>[a,e[a]]),t,sr);return`${n}${o}${i?` { ${i} }`:""}`}M(eg,"inspectObject");function tg([e,t],r){return r.truncate-=3,t?`${r.stylize(String(e),"yellow")}=${r.stylize(`"${t}"`,"string")}`:`${r.stylize(String(e),"yellow")}`}M(tg,"inspectAttribute");function ca(e,t){return Je(e,t,rg,`
106
- `)}M(ca,"inspectNodeCollection");function rg(e,t){switch(e.nodeType){case 1:return Hl(e,t);case 3:return t.inspect(e.data,t);default:return t.inspect(e,t)}}M(rg,"inspectNode");function Hl(e,t){const r=e.getAttributeNames(),n=e.tagName.toLowerCase(),o=t.stylize(`<${n}`,"special"),i=t.stylize(">","special"),a=t.stylize(`</${n}>`,"special");t.truncate-=n.length*2+5;let l="";r.length>0&&(l+=" ",l+=Je(r.map(c=>[c,e.getAttribute(c)]),t,tg," ")),t.truncate-=l.length;const u=t.truncate;let s=ca(e.children,t);return s&&s.length>u&&(s=`${ar}(${e.children.length})`),`${o}${l}${i}${s}${a}`}M(Hl,"inspectHTML");var E1=typeof Symbol=="function"&&typeof Symbol.for=="function",cs=E1?Symbol.for("chai/inspect"):"@@chai/inspect",fs=Symbol.for("nodejs.util.inspect.custom"),Yp=new WeakMap,Jp={},Xp={undefined:M((e,t)=>t.stylize("undefined","undefined"),"undefined"),null:M((e,t)=>t.stylize("null","null"),"null"),boolean:M((e,t)=>t.stylize(String(e),"boolean"),"boolean"),Boolean:M((e,t)=>t.stylize(String(e),"boolean"),"Boolean"),number:al,Number:al,bigint:sl,BigInt:sl,string:ll,String:ll,function:il,Function:il,symbol:ul,Symbol:ul,Array:zb,Date:Vb,Map:Gb,Set:Jb,RegExp:Kb,Promise:w1,WeakSet:M((e,t)=>t.stylize("WeakSet{…}","special"),"WeakSet"),WeakMap:M((e,t)=>t.stylize("WeakMap{…}","special"),"WeakMap"),Arguments:Qb,Int8Array:st,Uint8Array:st,Uint8ClampedArray:st,Int16Array:st,Uint16Array:st,Int32Array:st,Uint32Array:st,Float32Array:st,Float64Array:st,Generator:M(()=>"","Generator"),DataView:M(()=>"","DataView"),ArrayBuffer:M(()=>"","ArrayBuffer"),Error:eg,HTMLCollection:ca,NodeList:ca},_1=M((e,t,r,n)=>cs in e&&typeof e[cs]=="function"?e[cs](t):fs in e&&typeof e[fs]=="function"?e[fs](t.depth,t,n):"inspect"in e&&typeof e.inspect=="function"?e.inspect(t.depth,t):"constructor"in e&&Yp.has(e.constructor)?Yp.get(e.constructor)(e,t):Jp[r]?Jp[r](e,t):"","inspectCustom"),C1=Object.prototype.toString;function ci(e,t={}){const r=Lb(t,ci),{customInspect:n}=r;let o=e===null?"null":typeof e;if(o==="object"&&(o=C1.call(e).slice(8,-1)),o in Xp)return Xp[o](e,r);if(n&&e){const a=_1(e,r,o,ci);if(a)return typeof a=="string"?a:ci(a,r)}const i=e?Object.getPrototypeOf(e):!1;return i===Object.prototype||i===null?ui(e,r):e&&typeof HTMLElement=="function"&&e instanceof HTMLElement?Hl(e,r):"constructor"in e?e.constructor!==Object?Zb(e,r):ui(e,r):e===Object(e)?ui(e,r):r.stylize(String(e),o)}M(ci,"inspect");var De={includeStack:!1,showDiff:!0,truncateThreshold:40,useProxy:!0,proxyExcludedKeys:["then","catch","inspect","toJSON"],deepEqual:null};function oe(e,t,r,n){let o={colors:n,depth:typeof r>"u"?2:r,showHidden:t,truncate:De.truncateThreshold?De.truncateThreshold:1/0};return ci(e,o)}M(oe,"inspect");function Dt(e){let t=oe(e),r=Object.prototype.toString.call(e);if(De.truncateThreshold&&t.length>=De.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}M(Dt,"objDisplay");function Wl(e,t){let r=ee(e,"negate"),n=ee(e,"object"),o=t[3],i=qa(e,t),a=r?t[2]:t[1],l=ee(e,"message");return typeof a=="function"&&(a=a()),a=a||"",a=a.replace(/#\{this\}/g,function(){return Dt(n)}).replace(/#\{act\}/g,function(){return Dt(i)}).replace(/#\{exp\}/g,function(){return Dt(o)}),l?l+": "+a:a}M(Wl,"getMessage");function nt(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 o in n)(r||o!=="object"&&o!=="ssfi"&&o!=="lockSsfi"&&o!="message")&&(t.__flags[o]=n[o])}M(nt,"transferFlags");function cl(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)}M(cl,"type");function Gl(){this._key="chai/deep-eql__"+Math.random()+Date.now()}M(Gl,"FakeMap");Gl.prototype={get:M(function(t){return t[this._key]},"get"),set:M(function(t,r){Object.isExtensible(t)&&Object.defineProperty(t,this._key,{value:r,configurable:!0})},"set")};var ng=typeof WeakMap=="function"?WeakMap:Gl;function fl(e,t,r){if(!r||Lt(e)||Lt(t))return null;var n=r.get(e);if(n){var o=n.get(t);if(typeof o=="boolean")return o}return null}M(fl,"memoizeCompare");function li(e,t,r,n){if(!(!r||Lt(e)||Lt(t))){var o=r.get(e);o?o.set(t,n):(o=new ng,o.set(t,n),r.set(e,o))}}M(li,"memoizeSet");var og=xi;function xi(e,t,r){if(r&&r.comparator)return dl(e,t,r);var n=Kl(e,t);return n!==null?n:dl(e,t,r)}M(xi,"deepEqual");function Kl(e,t){return e===t?e!==0||1/e===1/t:e!==e&&t!==t?!0:Lt(e)||Lt(t)?!1:null}M(Kl,"simpleEqual");function dl(e,t,r){r=r||{},r.memoize=r.memoize===!1?!1:r.memoize||new ng;var n=r&&r.comparator,o=fl(e,t,r.memoize);if(o!==null)return o;var i=fl(t,e,r.memoize);if(i!==null)return i;if(n){var a=n(e,t);if(a===!1||a===!0)return li(e,t,r.memoize,a),a;var l=Kl(e,t);if(l!==null)return l}var u=cl(e);if(u!==cl(t))return li(e,t,r.memoize,!1),!1;li(e,t,r.memoize,!0);var s=ig(e,t,u,r);return li(e,t,r.memoize,s),s}M(dl,"extensiveDeepEqual");function ig(e,t,r,n){switch(r){case"String":case"Number":case"Boolean":case"Date":return xi(e.valueOf(),t.valueOf());case"Promise":case"Symbol":case"function":case"WeakMap":case"WeakSet":return e===t;case"Error":return Yl(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 Ot(e,t,n);case"RegExp":return ag(e,t);case"Generator":return sg(e,t,n);case"DataView":return Ot(new Uint8Array(e.buffer),new Uint8Array(t.buffer),n);case"ArrayBuffer":return Ot(new Uint8Array(e),new Uint8Array(t),n);case"Set":return pl(e,t,n);case"Map":return pl(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 ug(e,t,n)}}M(ig,"extensiveDeepEqualByType");function ag(e,t){return e.toString()===t.toString()}M(ag,"regexpEqual");function pl(e,t,r){try{if(e.size!==t.size)return!1;if(e.size===0)return!0}catch{return!1}var n=[],o=[];return e.forEach(M(function(a,l){n.push([a,l])},"gatherEntries")),t.forEach(M(function(a,l){o.push([a,l])},"gatherEntries")),Ot(n.sort(),o.sort(),r)}M(pl,"entriesEqual");function Ot(e,t,r){var n=e.length;if(n!==t.length)return!1;if(n===0)return!0;for(var o=-1;++o<n;)if(xi(e[o],t[o],r)===!1)return!1;return!0}M(Ot,"iterableEqual");function sg(e,t,r){return Ot(fa(e),fa(t),r)}M(sg,"generatorEqual");function lg(e){return typeof Symbol<"u"&&typeof e=="object"&&typeof Symbol.iterator<"u"&&typeof e[Symbol.iterator]=="function"}M(lg,"hasIteratorFunction");function ml(e){if(lg(e))try{return fa(e[Symbol.iterator]())}catch{return[]}return[]}M(ml,"getIteratorEntries");function fa(e){for(var t=e.next(),r=[t.value];t.done===!1;)t=e.next(),r.push(t.value);return r}M(fa,"getGeneratorEntries");function hl(e){var t=[];for(var r in e)t.push(r);return t}M(hl,"getEnumerableKeys");function bl(e){for(var t=[],r=Object.getOwnPropertySymbols(e),n=0;n<r.length;n+=1){var o=r[n];Object.getOwnPropertyDescriptor(e,o).enumerable&&t.push(o)}return t}M(bl,"getEnumerableSymbols");function Yl(e,t,r,n){var o=r.length;if(o===0)return!0;for(var i=0;i<o;i+=1)if(xi(e[r[i]],t[r[i]],n)===!1)return!1;return!0}M(Yl,"keysEqual");function ug(e,t,r){var n=hl(e),o=hl(t),i=bl(e),a=bl(t);if(n=n.concat(i),o=o.concat(a),n.length&&n.length===o.length)return Ot(gl(n).sort(),gl(o).sort())===!1?!1:Yl(e,t,n,r);var l=ml(e),u=ml(t);return l.length&&l.length===u.length?(l.sort(),u.sort(),Ot(l,u,r)):n.length===0&&l.length===0&&o.length===0&&u.length===0}M(ug,"objectEqual");function Lt(e){return e===null||typeof e!="object"}M(Lt,"isPrimitive");function gl(e){return e.map(M(function(r){return typeof r=="symbol"?r.toString():r},"mapSymbol"))}M(gl,"mapSymbols");function Oa(e,t){return typeof e>"u"||e===null?!1:t in Object(e)}M(Oa,"hasProperty");function cg(e){return e.replace(/([^\\])\[/g,"$1.[").match(/(\\\.|[^.]+?)+/g).map(n=>{if(n==="constructor"||n==="__proto__"||n==="prototype")return{};const i=/^\[(\d+)\]$/.exec(n);let a=null;return i?a={i:parseFloat(i[1])}:a={p:n.replace(/\\([.[\]])/g,"$1")},a})}M(cg,"parsePath");function yl(e,t,r){let n=e,o=null;r=typeof r>"u"?t.length:r;for(let i=0;i<r;i++){const a=t[i];n&&(typeof a.p>"u"?n=n[a.i]:n=n[a.p],i===r-1&&(o=n))}return o}M(yl,"internalGetPathValue");function Jl(e,t){const r=cg(t),n=r[r.length-1],o={parent:r.length>1?yl(e,r,r.length-1):e,name:n.p||n.i,value:yl(e,r)};return o.exists=Oa(o.parent,o.name),o}M(Jl,"getPathInfo");var fg=class dg{constructor(t,r,n,o){return qb(this,"__flags",{}),ee(this,"ssfi",n||dg),ee(this,"lockSsfi",o),ee(this,"object",t),ee(this,"message",r),ee(this,"eql",De.deepEqual||og),cr(this)}static get includeStack(){return console.warn("Assertion.includeStack is deprecated, use chai.config.includeStack instead."),De.includeStack}static set includeStack(t){console.warn("Assertion.includeStack is deprecated, use chai.config.includeStack instead."),De.includeStack=t}static get showDiff(){return console.warn("Assertion.showDiff is deprecated, use chai.config.showDiff instead."),De.showDiff}static set showDiff(t){console.warn("Assertion.showDiff is deprecated, use chai.config.showDiff instead."),De.showDiff=t}static addProperty(t,r){Zl(this.prototype,t,r)}static addMethod(t,r){Ql(this.prototype,t,r)}static addChainableMethod(t,r,n){ru(this.prototype,t,r,n)}static overwriteProperty(t,r){eu(this.prototype,t,r)}static overwriteMethod(t,r){tu(this.prototype,t,r)}static overwriteChainableMethod(t,r,n){nu(this.prototype,t,r,n)}assert(t,r,n,o,i,a){const l=Vl(this,arguments);if(a!==!1&&(a=!0),o===void 0&&i===void 0&&(a=!1),De.showDiff!==!0&&(a=!1),!l){r=Wl(this,arguments);const s={actual:qa(this,arguments),expected:o,showDiff:a},c=au(this,arguments);throw c&&(s.operator=c),new se(r,s,De.includeStack?this.assert:ee(this,"ssfi"))}}get _obj(){return ee(this,"object")}set _obj(t){ee(this,"object",t)}};M(fg,"Assertion");var E=fg,Ma=new EventTarget,pg=class extends Event{constructor(t,r,n){super(t),this.name=String(r),this.fn=n}};M(pg,"PluginEvent");var Xl=pg;function Si(){return De.useProxy&&typeof Proxy<"u"&&typeof Reflect<"u"}M(Si,"isProxyEnabled");function Zl(e,t,r){r=r===void 0?function(){}:r,Object.defineProperty(e,t,{get:M(function n(){!Si()&&!ee(this,"lockSsfi")&&ee(this,"ssfi",n);let o=r.call(this);if(o!==void 0)return o;let i=new E;return nt(this,i),i},"propertyGetter"),configurable:!0}),Ma.dispatchEvent(new Xl("addProperty",t,r))}M(Zl,"addProperty");var T1=Object.getOwnPropertyDescriptor(function(){},"length");function Pi(e,t,r){return T1.configurable&&Object.defineProperty(e,"length",{get:M(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}M(Pi,"addLengthGuard");function mg(e){let t=Object.getOwnPropertyNames(e);function r(o){t.indexOf(o)===-1&&t.push(o)}M(r,"addProperty");let n=Object.getPrototypeOf(e);for(;n!==null;)Object.getOwnPropertyNames(n).forEach(r),n=Object.getPrototypeOf(n);return t}M(mg,"getProperties");var Zp=["__flags","__methods","_obj","assert"];function cr(e,t){return Si()?new Proxy(e,{get:M(function r(n,o){if(typeof o=="string"&&De.proxyExcludedKeys.indexOf(o)===-1&&!Reflect.has(n,o)){if(t)throw Error("Invalid Chai property: "+t+"."+o+'. See docs for proper usage of "'+t+'".');let i=null,a=4;throw mg(n).forEach(function(l){if(!Object.prototype.hasOwnProperty(l)&&Zp.indexOf(l)===-1){let u=hg(o,l,a);u<a&&(i=l,a=u)}}),Error(i!==null?"Invalid Chai property: "+o+'. Did you mean "'+i+'"?':"Invalid Chai property: "+o)}return Zp.indexOf(o)===-1&&!ee(n,"lockSsfi")&&ee(n,"ssfi",r),Reflect.get(n,o)},"proxyGetter")}):e}M(cr,"proxify");function hg(e,t,r){if(Math.abs(e.length-t.length)>=r)return r;let n=[];for(let o=0;o<=e.length;o++)n[o]=Array(t.length+1).fill(0),n[o][0]=o;for(let o=0;o<t.length;o++)n[0][o]=o;for(let o=1;o<=e.length;o++){let i=e.charCodeAt(o-1);for(let a=1;a<=t.length;a++){if(Math.abs(o-a)>=r){n[o][a]=r;continue}n[o][a]=Math.min(n[o-1][a]+1,n[o][a-1]+1,n[o-1][a-1]+(i===t.charCodeAt(a-1)?0:1))}}return n[e.length][t.length]}M(hg,"stringDistanceCapped");function Ql(e,t,r){let n=M(function(){ee(this,"lockSsfi")||ee(this,"ssfi",n);let o=r.apply(this,arguments);if(o!==void 0)return o;let i=new E;return nt(this,i),i},"methodWrapper");Pi(n,t,!1),e[t]=cr(n,t),Ma.dispatchEvent(new Xl("addMethod",t,r))}M(Ql,"addMethod");function eu(e,t,r){let n=Object.getOwnPropertyDescriptor(e,t),o=M(function(){},"_super");n&&typeof n.get=="function"&&(o=n.get),Object.defineProperty(e,t,{get:M(function i(){!Si()&&!ee(this,"lockSsfi")&&ee(this,"ssfi",i);let a=ee(this,"lockSsfi");ee(this,"lockSsfi",!0);let l=r(o).call(this);if(ee(this,"lockSsfi",a),l!==void 0)return l;let u=new E;return nt(this,u),u},"overwritingPropertyGetter"),configurable:!0})}M(eu,"overwriteProperty");function tu(e,t,r){let n=e[t],o=M(function(){throw new Error(t+" is not a function")},"_super");n&&typeof n=="function"&&(o=n);let i=M(function(){ee(this,"lockSsfi")||ee(this,"ssfi",i);let a=ee(this,"lockSsfi");ee(this,"lockSsfi",!0);let l=r(o).apply(this,arguments);if(ee(this,"lockSsfi",a),l!==void 0)return l;let u=new E;return nt(this,u),u},"overwritingMethodWrapper");Pi(i,t,!1),e[t]=cr(i,t)}M(tu,"overwriteMethod");var x1=typeof Object.setPrototypeOf=="function",Qp=M(function(){},"testFn"),S1=Object.getOwnPropertyNames(Qp).filter(function(e){let t=Object.getOwnPropertyDescriptor(Qp,e);return typeof t!="object"?!0:!t.configurable}),P1=Function.prototype.call,q1=Function.prototype.apply,bg=class extends Xl{constructor(t,r,n,o){super(t,r,n),this.chainingBehavior=o}};M(bg,"PluginAddChainableMethodEvent");var O1=bg;function ru(e,t,r,n){typeof n!="function"&&(n=M(function(){},"chainingBehavior"));let o={method:r,chainingBehavior:n};e.__methods||(e.__methods={}),e.__methods[t]=o,Object.defineProperty(e,t,{get:M(function(){o.chainingBehavior.call(this);let a=M(function(){ee(this,"lockSsfi")||ee(this,"ssfi",a);let l=o.method.apply(this,arguments);if(l!==void 0)return l;let u=new E;return nt(this,u),u},"chainableMethodWrapper");if(Pi(a,t,!0),x1){let l=Object.create(this);l.call=P1,l.apply=q1,Object.setPrototypeOf(a,l)}else Object.getOwnPropertyNames(e).forEach(function(u){if(S1.indexOf(u)!==-1)return;let s=Object.getOwnPropertyDescriptor(e,u);Object.defineProperty(a,u,s)});return nt(this,a),cr(a)},"chainableMethodGetter"),configurable:!0}),Ma.dispatchEvent(new O1("addChainableMethod",t,r,n))}M(ru,"addChainableMethod");function nu(e,t,r,n){let o=e.__methods[t],i=o.chainingBehavior;o.chainingBehavior=M(function(){let u=n(i).call(this);if(u!==void 0)return u;let s=new E;return nt(this,s),s},"overwritingChainableMethodGetter");let a=o.method;o.method=M(function(){let u=r(a).apply(this,arguments);if(u!==void 0)return u;let s=new E;return nt(this,s),s},"overwritingChainableMethodWrapper")}M(nu,"overwriteChainableMethod");function da(e,t){return oe(e)<oe(t)?-1:1}M(da,"compareByInspect");function ou(e){return typeof Object.getOwnPropertySymbols!="function"?[]:Object.getOwnPropertySymbols(e).filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})}M(ou,"getOwnEnumerablePropertySymbols");function iu(e){return Object.keys(e).concat(ou(e))}M(iu,"getOwnEnumerableProperties");var pa=Number.isNaN;function gg(e){let t=me(e);return["Array","Object","Function"].indexOf(t)!==-1}M(gg,"isObjectType");function au(e,t){let r=ee(e,"operator"),n=ee(e,"negate"),o=t[3],i=n?t[2]:t[1];if(r)return r;if(typeof i=="function"&&(i=i()),i=i||"",!i||/\shave\s/.test(i))return;let a=gg(o);return/\snot\s/.test(i)?a?"notDeepStrictEqual":"notStrictEqual":a?"deepStrictEqual":"strictEqual"}M(au,"getOperator");function Aa(e){return e.name}M(Aa,"getName");function ma(e){return Object.prototype.toString.call(e)==="[object RegExp]"}M(ma,"isRegExp");function Oe(e){return["Number","BigInt"].includes(me(e))}M(Oe,"isNumeric");var{flag:q}=xe;["to","be","been","is","and","has","have","with","that","which","at","of","same","but","does","still","also"].forEach(function(e){E.addProperty(e)});E.addProperty("not",function(){q(this,"negate",!0)});E.addProperty("deep",function(){q(this,"deep",!0)});E.addProperty("nested",function(){q(this,"nested",!0)});E.addProperty("own",function(){q(this,"own",!0)});E.addProperty("ordered",function(){q(this,"ordered",!0)});E.addProperty("any",function(){q(this,"any",!0),q(this,"all",!1)});E.addProperty("all",function(){q(this,"all",!0),q(this,"any",!1)});var em={function:["function","asyncfunction","generatorfunction","asyncgeneratorfunction"],asyncfunction:["asyncfunction","asyncgeneratorfunction"],generatorfunction:["generatorfunction","asyncgeneratorfunction"],asyncgeneratorfunction:["asyncgeneratorfunction"]};function su(e,t){t&&q(this,"message",t),e=e.toLowerCase();let r=q(this,"object"),n=~["a","e","i","o","u"].indexOf(e.charAt(0))?"an ":"a ";const o=me(r).toLowerCase();em.function.includes(e)?this.assert(em[e].includes(o),"expected #{this} to be "+n+e,"expected #{this} not to be "+n+e):this.assert(e===o,"expected #{this} to be "+n+e,"expected #{this} not to be "+n+e)}M(su,"an");E.addChainableMethod("an",su);E.addChainableMethod("a",su);function yg(e,t){return pa(e)&&pa(t)||e===t}M(yg,"SameValueZero");function qi(){q(this,"contains",!0)}M(qi,"includeChainingBehavior");function Oi(e,t){t&&q(this,"message",t);let r=q(this,"object"),n=me(r).toLowerCase(),o=q(this,"message"),i=q(this,"negate"),a=q(this,"ssfi"),l=q(this,"deep"),u=l?"deep ":"",s=l?q(this,"eql"):yg;o=o?o+": ":"";let c=!1;switch(n){case"string":c=r.indexOf(e)!==-1;break;case"weakset":if(l)throw new se(o+"unable to use .deep.include with WeakSet",void 0,a);c=r.has(e);break;case"map":r.forEach(function(d){c=c||s(d,e)});break;case"set":l?r.forEach(function(d){c=c||s(d,e)}):c=r.has(e);break;case"array":l?c=r.some(function(d){return s(d,e)}):c=r.indexOf(e)!==-1;break;default:{if(e!==Object(e))throw new se(o+"the given combination of arguments ("+n+" and "+me(e).toLowerCase()+") is invalid for this assertion. You can use an array, a map, an object, a set, a string, or a weakset instead of a "+me(e).toLowerCase(),void 0,a);let d=Object.keys(e),f=null,p=0;if(d.forEach(function(m){let h=new E(r);if(nt(this,h,!0),q(h,"lockSsfi",!0),!i||d.length===1){h.property(m,e[m]);return}try{h.property(m,e[m])}catch(g){if(!ze.compatibleConstructor(g,se))throw g;f===null&&(f=g),p++}},this),i&&d.length>1&&p===d.length)throw f;return}}this.assert(c,"expected #{this} to "+u+"include "+oe(e),"expected #{this} to not "+u+"include "+oe(e))}M(Oi,"include");E.addChainableMethod("include",Oi,qi);E.addChainableMethod("contain",Oi,qi);E.addChainableMethod("contains",Oi,qi);E.addChainableMethod("includes",Oi,qi);E.addProperty("ok",function(){this.assert(q(this,"object"),"expected #{this} to be truthy","expected #{this} to be falsy")});E.addProperty("true",function(){this.assert(q(this,"object")===!0,"expected #{this} to be true","expected #{this} to be false",!q(this,"negate"))});E.addProperty("numeric",function(){const e=q(this,"object");this.assert(["Number","BigInt"].includes(me(e)),"expected #{this} to be numeric","expected #{this} to not be numeric",!q(this,"negate"))});E.addProperty("callable",function(){const e=q(this,"object"),t=q(this,"ssfi"),r=q(this,"message"),n=r?`${r}: `:"",o=q(this,"negate"),i=o?`${n}expected ${oe(e)} not to be a callable function`:`${n}expected ${oe(e)} to be a callable function`,a=["Function","AsyncFunction","GeneratorFunction","AsyncGeneratorFunction"].includes(me(e));if(a&&o||!a&&!o)throw new se(i,void 0,t)});E.addProperty("false",function(){this.assert(q(this,"object")===!1,"expected #{this} to be false","expected #{this} to be true",!!q(this,"negate"))});E.addProperty("null",function(){this.assert(q(this,"object")===null,"expected #{this} to be null","expected #{this} not to be null")});E.addProperty("undefined",function(){this.assert(q(this,"object")===void 0,"expected #{this} to be undefined","expected #{this} not to be undefined")});E.addProperty("NaN",function(){this.assert(pa(q(this,"object")),"expected #{this} to be NaN","expected #{this} not to be NaN")});function lu(){let e=q(this,"object");this.assert(e!=null,"expected #{this} to exist","expected #{this} to not exist")}M(lu,"assertExist");E.addProperty("exist",lu);E.addProperty("exists",lu);E.addProperty("empty",function(){let e=q(this,"object"),t=q(this,"ssfi"),r=q(this,"message"),n;switch(r=r?r+": ":"",me(e).toLowerCase()){case"array":case"string":n=e.length;break;case"map":case"set":n=e.size;break;case"weakmap":case"weakset":throw new se(r+".empty was passed a weak collection",void 0,t);case"function":{const o=r+".empty was passed a function "+Aa(e);throw new se(o.trim(),void 0,t)}default:if(e!==Object(e))throw new se(r+".empty was passed non-string primitive "+oe(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 uu(){let e=q(this,"object"),t=me(e);this.assert(t==="Arguments","expected #{this} to be arguments but got "+t,"expected #{this} to not be arguments")}M(uu,"checkArguments");E.addProperty("arguments",uu);E.addProperty("Arguments",uu);function $a(e,t){t&&q(this,"message",t);let r=q(this,"object");if(q(this,"deep")){let n=q(this,"lockSsfi");q(this,"lockSsfi",!0),this.eql(e),q(this,"lockSsfi",n)}else this.assert(e===r,"expected #{this} to equal #{exp}","expected #{this} to not equal #{exp}",e,this._obj,!0)}M($a,"assertEqual");E.addMethod("equal",$a);E.addMethod("equals",$a);E.addMethod("eq",$a);function cu(e,t){t&&q(this,"message",t);let r=q(this,"eql");this.assert(r(e,q(this,"object")),"expected #{this} to deeply equal #{exp}","expected #{this} to not deeply equal #{exp}",e,this._obj,!0)}M(cu,"assertEql");E.addMethod("eql",cu);E.addMethod("eqls",cu);function Na(e,t){t&&q(this,"message",t);let r=q(this,"object"),n=q(this,"doLength"),o=q(this,"message"),i=o?o+": ":"",a=q(this,"ssfi"),l=me(r).toLowerCase(),u=me(e).toLowerCase();if(n&&l!=="map"&&l!=="set"&&new E(r,o,a,!0).to.have.property("length"),!n&&l==="date"&&u!=="date")throw new se(i+"the argument to above must be a date",void 0,a);if(!Oe(e)&&(n||Oe(r)))throw new se(i+"the argument to above must be a number",void 0,a);if(!n&&l!=="date"&&!Oe(r)){let s=l==="string"?"'"+r+"'":r;throw new se(i+"expected "+s+" to be a number or a date",void 0,a)}if(n){let s="length",c;l==="map"||l==="set"?(s="size",c=r.size):c=r.length,this.assert(c>e,"expected #{this} to have a "+s+" above #{exp} but got #{act}","expected #{this} to not have a "+s+" above #{exp}",e,c)}else this.assert(r>e,"expected #{this} to be above #{exp}","expected #{this} to be at most #{exp}",e)}M(Na,"assertAbove");E.addMethod("above",Na);E.addMethod("gt",Na);E.addMethod("greaterThan",Na);function Ia(e,t){t&&q(this,"message",t);let r=q(this,"object"),n=q(this,"doLength"),o=q(this,"message"),i=o?o+": ":"",a=q(this,"ssfi"),l=me(r).toLowerCase(),u=me(e).toLowerCase(),s,c=!0;if(n&&l!=="map"&&l!=="set"&&new E(r,o,a,!0).to.have.property("length"),!n&&l==="date"&&u!=="date")s=i+"the argument to least must be a date";else if(!Oe(e)&&(n||Oe(r)))s=i+"the argument to least must be a number";else if(!n&&l!=="date"&&!Oe(r)){let d=l==="string"?"'"+r+"'":r;s=i+"expected "+d+" to be a number or a date"}else c=!1;if(c)throw new se(s,void 0,a);if(n){let d="length",f;l==="map"||l==="set"?(d="size",f=r.size):f=r.length,this.assert(f>=e,"expected #{this} to have a "+d+" at least #{exp} but got #{act}","expected #{this} to have a "+d+" below #{exp}",e,f)}else this.assert(r>=e,"expected #{this} to be at least #{exp}","expected #{this} to be below #{exp}",e)}M(Ia,"assertLeast");E.addMethod("least",Ia);E.addMethod("gte",Ia);E.addMethod("greaterThanOrEqual",Ia);function ja(e,t){t&&q(this,"message",t);let r=q(this,"object"),n=q(this,"doLength"),o=q(this,"message"),i=o?o+": ":"",a=q(this,"ssfi"),l=me(r).toLowerCase(),u=me(e).toLowerCase(),s,c=!0;if(n&&l!=="map"&&l!=="set"&&new E(r,o,a,!0).to.have.property("length"),!n&&l==="date"&&u!=="date")s=i+"the argument to below must be a date";else if(!Oe(e)&&(n||Oe(r)))s=i+"the argument to below must be a number";else if(!n&&l!=="date"&&!Oe(r)){let d=l==="string"?"'"+r+"'":r;s=i+"expected "+d+" to be a number or a date"}else c=!1;if(c)throw new se(s,void 0,a);if(n){let d="length",f;l==="map"||l==="set"?(d="size",f=r.size):f=r.length,this.assert(f<e,"expected #{this} to have a "+d+" below #{exp} but got #{act}","expected #{this} to not have a "+d+" below #{exp}",e,f)}else this.assert(r<e,"expected #{this} to be below #{exp}","expected #{this} to be at least #{exp}",e)}M(ja,"assertBelow");E.addMethod("below",ja);E.addMethod("lt",ja);E.addMethod("lessThan",ja);function Da(e,t){t&&q(this,"message",t);let r=q(this,"object"),n=q(this,"doLength"),o=q(this,"message"),i=o?o+": ":"",a=q(this,"ssfi"),l=me(r).toLowerCase(),u=me(e).toLowerCase(),s,c=!0;if(n&&l!=="map"&&l!=="set"&&new E(r,o,a,!0).to.have.property("length"),!n&&l==="date"&&u!=="date")s=i+"the argument to most must be a date";else if(!Oe(e)&&(n||Oe(r)))s=i+"the argument to most must be a number";else if(!n&&l!=="date"&&!Oe(r)){let d=l==="string"?"'"+r+"'":r;s=i+"expected "+d+" to be a number or a date"}else c=!1;if(c)throw new se(s,void 0,a);if(n){let d="length",f;l==="map"||l==="set"?(d="size",f=r.size):f=r.length,this.assert(f<=e,"expected #{this} to have a "+d+" at most #{exp} but got #{act}","expected #{this} to have a "+d+" above #{exp}",e,f)}else this.assert(r<=e,"expected #{this} to be at most #{exp}","expected #{this} to be above #{exp}",e)}M(Da,"assertMost");E.addMethod("most",Da);E.addMethod("lte",Da);E.addMethod("lessThanOrEqual",Da);E.addMethod("within",function(e,t,r){r&&q(this,"message",r);let n=q(this,"object"),o=q(this,"doLength"),i=q(this,"message"),a=i?i+": ":"",l=q(this,"ssfi"),u=me(n).toLowerCase(),s=me(e).toLowerCase(),c=me(t).toLowerCase(),d,f=!0,p=s==="date"&&c==="date"?e.toISOString()+".."+t.toISOString():e+".."+t;if(o&&u!=="map"&&u!=="set"&&new E(n,i,l,!0).to.have.property("length"),!o&&u==="date"&&(s!=="date"||c!=="date"))d=a+"the arguments to within must be dates";else if((!Oe(e)||!Oe(t))&&(o||Oe(n)))d=a+"the arguments to within must be numbers";else if(!o&&u!=="date"&&!Oe(n)){let m=u==="string"?"'"+n+"'":n;d=a+"expected "+m+" to be a number or a date"}else f=!1;if(f)throw new se(d,void 0,l);if(o){let m="length",h;u==="map"||u==="set"?(m="size",h=n.size):h=n.length,this.assert(h>=e&&h<=t,"expected #{this} to have a "+m+" within "+p,"expected #{this} to not have a "+m+" within "+p)}else this.assert(n>=e&&n<=t,"expected #{this} to be within "+p,"expected #{this} to not be within "+p)});function fu(e,t){t&&q(this,"message",t);let r=q(this,"object"),n=q(this,"ssfi"),o=q(this,"message"),i;try{i=r instanceof e}catch(l){throw l instanceof TypeError?(o=o?o+": ":"",new se(o+"The instanceof assertion needs a constructor but "+me(e)+" was given.",void 0,n)):l}let a=Aa(e);a==null&&(a="an unnamed constructor"),this.assert(i,"expected #{this} to be an instance of "+a,"expected #{this} to not be an instance of "+a)}M(fu,"assertInstanceOf");E.addMethod("instanceof",fu);E.addMethod("instanceOf",fu);function du(e,t,r){r&&q(this,"message",r);let n=q(this,"nested"),o=q(this,"own"),i=q(this,"message"),a=q(this,"object"),l=q(this,"ssfi"),u=typeof e;if(i=i?i+": ":"",n){if(u!=="string")throw new se(i+"the argument to property must be a string when using nested syntax",void 0,l)}else if(u!=="string"&&u!=="number"&&u!=="symbol")throw new se(i+"the argument to property must be a string, number, or symbol",void 0,l);if(n&&o)throw new se(i+'The "nested" and "own" flags cannot be combined.',void 0,l);if(a==null)throw new se(i+"Target cannot be null or undefined.",void 0,l);let s=q(this,"deep"),c=q(this,"negate"),d=n?Jl(a,e):null,f=n?d.value:a[e],p=s?q(this,"eql"):(g,b)=>g===b,m="";s&&(m+="deep "),o&&(m+="own "),n&&(m+="nested "),m+="property ";let h;o?h=Object.prototype.hasOwnProperty.call(a,e):n?h=d.exists:h=Oa(a,e),(!c||arguments.length===1)&&this.assert(h,"expected #{this} to have "+m+oe(e),"expected #{this} to not have "+m+oe(e)),arguments.length>1&&this.assert(h&&p(t,f),"expected #{this} to have "+m+oe(e)+" of #{exp}, but got #{act}","expected #{this} to not have "+m+oe(e)+" of #{act}",t,f),q(this,"object",f)}M(du,"assertProperty");E.addMethod("property",du);function pu(e,t,r){q(this,"own",!0),du.apply(this,arguments)}M(pu,"assertOwnProperty");E.addMethod("ownProperty",pu);E.addMethod("haveOwnProperty",pu);function mu(e,t,r){typeof t=="string"&&(r=t,t=null),r&&q(this,"message",r);let n=q(this,"object"),o=Object.getOwnPropertyDescriptor(Object(n),e),i=q(this,"eql");o&&t?this.assert(i(t,o),"expected the own property descriptor for "+oe(e)+" on #{this} to match "+oe(t)+", got "+oe(o),"expected the own property descriptor for "+oe(e)+" on #{this} to not match "+oe(t),t,o,!0):this.assert(o,"expected #{this} to have an own property descriptor for "+oe(e),"expected #{this} to not have an own property descriptor for "+oe(e)),q(this,"object",o)}M(mu,"assertOwnPropertyDescriptor");E.addMethod("ownPropertyDescriptor",mu);E.addMethod("haveOwnPropertyDescriptor",mu);function hu(){q(this,"doLength",!0)}M(hu,"assertLengthChain");function bu(e,t){t&&q(this,"message",t);let r=q(this,"object"),n=me(r).toLowerCase(),o=q(this,"message"),i=q(this,"ssfi"),a="length",l;switch(n){case"map":case"set":a="size",l=r.size;break;default:new E(r,o,i,!0).to.have.property("length"),l=r.length}this.assert(l==e,"expected #{this} to have a "+a+" of #{exp} but got #{act}","expected #{this} to not have a "+a+" of #{act}",e,l)}M(bu,"assertLength");E.addChainableMethod("length",bu,hu);E.addChainableMethod("lengthOf",bu,hu);function gu(e,t){t&&q(this,"message",t);let r=q(this,"object");this.assert(e.exec(r),"expected #{this} to match "+e,"expected #{this} not to match "+e)}M(gu,"assertMatch");E.addMethod("match",gu);E.addMethod("matches",gu);E.addMethod("string",function(e,t){t&&q(this,"message",t);let r=q(this,"object"),n=q(this,"message"),o=q(this,"ssfi");new E(r,n,o,!0).is.a("string"),this.assert(~r.indexOf(e),"expected #{this} to contain "+oe(e),"expected #{this} to not contain "+oe(e))});function yu(e){let t=q(this,"object"),r=me(t),n=me(e),o=q(this,"ssfi"),i=q(this,"deep"),a,l="",u,s=!0,c=q(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")l=i?"deeply ":"",u=[],t.forEach(function(b,R){u.push(R)}),n!=="Array"&&(e=Array.prototype.slice.call(arguments));else{switch(u=iu(t),n){case"Array":if(arguments.length>1)throw new se(d,void 0,o);break;case"Object":if(arguments.length>1)throw new se(d,void 0,o);e=Object.keys(e);break;default:e=Array.prototype.slice.call(arguments)}e=e.map(function(b){return typeof b=="symbol"?b:String(b)})}if(!e.length)throw new se(c+"keys required",void 0,o);let f=e.length,p=q(this,"any"),m=q(this,"all"),h=e,g=i?q(this,"eql"):(b,R)=>b===R;if(!p&&!m&&(m=!0),p&&(s=h.some(function(b){return u.some(function(R){return g(b,R)})})),m&&(s=h.every(function(b){return u.some(function(R){return g(b,R)})}),q(this,"contains")||(s=s&&e.length==u.length)),f>1){e=e.map(function(R){return oe(R)});let b=e.pop();m&&(a=e.join(", ")+", and "+b),p&&(a=e.join(", ")+", or "+b)}else a=oe(e[0]);a=(f>1?"keys ":"key ")+a,a=(q(this,"contains")?"contain ":"have ")+a,this.assert(s,"expected #{this} to "+l+a,"expected #{this} to not "+l+a,h.slice(0).sort(da),u.sort(da),!0)}M(yu,"assertKeys");E.addMethod("keys",yu);E.addMethod("key",yu);function Fa(e,t,r){r&&q(this,"message",r);let n=q(this,"object"),o=q(this,"ssfi"),i=q(this,"message"),a=q(this,"negate")||!1;new E(n,i,o,!0).is.a("function"),(ma(e)||typeof e=="string")&&(t=e,e=null);let l,u=!1;try{n()}catch(p){u=!0,l=p}let s=e===void 0&&t===void 0,c=!!(e&&t),d=!1,f=!1;if(s||!s&&!a){let p="an error";e instanceof Error?p="#{exp}":e&&(p=ze.getConstructorName(e));let m=l;if(l instanceof Error)m=l.toString();else if(typeof l=="string")m=l;else if(l&&(typeof l=="object"||typeof l=="function"))try{m=ze.getConstructorName(l)}catch{}this.assert(u,"expected #{this} to throw "+p,"expected #{this} to not throw an error but #{act} was thrown",e&&e.toString(),m)}if(e&&l&&(e instanceof Error&&ze.compatibleInstance(l,e)===a&&(c&&a?d=!0:this.assert(a,"expected #{this} to throw #{exp} but #{act} was thrown","expected #{this} to not throw #{exp}"+(l&&!a?" but #{act} was thrown":""),e.toString(),l.toString())),ze.compatibleConstructor(l,e)===a&&(c&&a?d=!0:this.assert(a,"expected #{this} to throw #{exp} but #{act} was thrown","expected #{this} to not throw #{exp}"+(l?" but #{act} was thrown":""),e instanceof Error?e.toString():e&&ze.getConstructorName(e),l instanceof Error?l.toString():l&&ze.getConstructorName(l)))),l&&t!==void 0&&t!==null){let p="including";ma(t)&&(p="matching"),ze.compatibleMessage(l,t)===a&&(c&&a?f=!0:this.assert(a,"expected #{this} to throw error "+p+" #{exp} but got #{act}","expected #{this} to throw error not "+p+" #{exp}",t,ze.getMessage(l)))}d&&f&&this.assert(a,"expected #{this} to throw #{exp} but #{act} was thrown","expected #{this} to not throw #{exp}"+(l?" but #{act} was thrown":""),e instanceof Error?e.toString():e&&ze.getConstructorName(e),l instanceof Error?l.toString():l&&ze.getConstructorName(l)),q(this,"object",l)}M(Fa,"assertThrows");E.addMethod("throw",Fa);E.addMethod("throws",Fa);E.addMethod("Throw",Fa);function vu(e,t){t&&q(this,"message",t);let r=q(this,"object"),n=q(this,"itself"),o=typeof r=="function"&&!n?r.prototype[e]:r[e];this.assert(typeof o=="function","expected #{this} to respond to "+oe(e),"expected #{this} to not respond to "+oe(e))}M(vu,"respondTo");E.addMethod("respondTo",vu);E.addMethod("respondsTo",vu);E.addProperty("itself",function(){q(this,"itself",!0)});function wu(e,t){t&&q(this,"message",t);let r=q(this,"object"),n=e(r);this.assert(n,"expected #{this} to satisfy "+Dt(e),"expected #{this} to not satisfy"+Dt(e),!q(this,"negate"),n)}M(wu,"satisfy");E.addMethod("satisfy",wu);E.addMethod("satisfies",wu);function Ru(e,t,r){r&&q(this,"message",r);let n=q(this,"object"),o=q(this,"message"),i=q(this,"ssfi");new E(n,o,i,!0).is.numeric;let a="A `delta` value is required for `closeTo`";if(t==null)throw new se(o?`${o}: ${a}`:a,void 0,i);if(new E(t,o,i,!0).is.numeric,a="A `expected` value is required for `closeTo`",e==null)throw new se(o?`${o}: ${a}`:a,void 0,i);new E(e,o,i,!0).is.numeric;const l=M(s=>s<0?-s:s,"abs"),u=M(s=>parseFloat(parseFloat(s).toPrecision(12)),"strip");this.assert(u(l(n-e))<=t,"expected #{this} to be close to "+e+" +/- "+t,"expected #{this} not to be close to "+e+" +/- "+t)}M(Ru,"closeTo");E.addMethod("closeTo",Ru);E.addMethod("approximately",Ru);function vg(e,t,r,n,o){let i=Array.from(t),a=Array.from(e);if(!n){if(a.length!==i.length)return!1;i=i.slice()}return a.every(function(l,u){if(o)return r?r(l,i[u]):l===i[u];if(!r){let s=i.indexOf(l);return s===-1?!1:(n||i.splice(s,1),!0)}return i.some(function(s,c){return r(l,s)?(n||i.splice(c,1),!0):!1})})}M(vg,"isSubsetOf");E.addMethod("members",function(e,t){t&&q(this,"message",t);let r=q(this,"object"),n=q(this,"message"),o=q(this,"ssfi");new E(r,n,o,!0).to.be.iterable,new E(e,n,o,!0).to.be.iterable;let i=q(this,"contains"),a=q(this,"ordered"),l,u,s;i?(l=a?"an ordered superset":"a superset",u="expected #{this} to be "+l+" of #{exp}",s="expected #{this} to not be "+l+" of #{exp}"):(l=a?"ordered members":"members",u="expected #{this} to have the same "+l+" as #{exp}",s="expected #{this} to not have the same "+l+" as #{exp}");let c=q(this,"deep")?q(this,"eql"):void 0;this.assert(vg(e,r,c,i,a),u,s,e,r,!0)});E.addProperty("iterable",function(e){e&&q(this,"message",e);let t=q(this,"object");this.assert(t!=null&&t[Symbol.iterator],"expected #{this} to be an iterable","expected #{this} to not be an iterable",t)});function wg(e,t){t&&q(this,"message",t);let r=q(this,"object"),n=q(this,"message"),o=q(this,"ssfi"),i=q(this,"contains"),a=q(this,"deep"),l=q(this,"eql");new E(e,n,o,!0).to.be.an("array"),i?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):a?this.assert(e.some(function(u){return l(r,u)}),"expected #{this} to deeply equal one of #{exp}","expected #{this} to deeply equal one of #{exp}",e,r):this.assert(e.indexOf(r)>-1,"expected #{this} to be one of #{exp}","expected #{this} to not be one of #{exp}",e,r)}M(wg,"oneOf");E.addMethod("oneOf",wg);function Eu(e,t,r){r&&q(this,"message",r);let n=q(this,"object"),o=q(this,"message"),i=q(this,"ssfi");new E(n,o,i,!0).is.a("function");let a;t?(new E(e,o,i,!0).to.have.property(t),a=e[t]):(new E(e,o,i,!0).is.a("function"),a=e()),n();let l=t==null?e():e[t],u=t==null?a:"."+t;q(this,"deltaMsgObj",u),q(this,"initialDeltaValue",a),q(this,"finalDeltaValue",l),q(this,"deltaBehavior","change"),q(this,"realDelta",l!==a),this.assert(a!==l,"expected "+u+" to change","expected "+u+" to not change")}M(Eu,"assertChanges");E.addMethod("change",Eu);E.addMethod("changes",Eu);function _u(e,t,r){r&&q(this,"message",r);let n=q(this,"object"),o=q(this,"message"),i=q(this,"ssfi");new E(n,o,i,!0).is.a("function");let a;t?(new E(e,o,i,!0).to.have.property(t),a=e[t]):(new E(e,o,i,!0).is.a("function"),a=e()),new E(a,o,i,!0).is.a("number"),n();let l=t==null?e():e[t],u=t==null?a:"."+t;q(this,"deltaMsgObj",u),q(this,"initialDeltaValue",a),q(this,"finalDeltaValue",l),q(this,"deltaBehavior","increase"),q(this,"realDelta",l-a),this.assert(l-a>0,"expected "+u+" to increase","expected "+u+" to not increase")}M(_u,"assertIncreases");E.addMethod("increase",_u);E.addMethod("increases",_u);function Cu(e,t,r){r&&q(this,"message",r);let n=q(this,"object"),o=q(this,"message"),i=q(this,"ssfi");new E(n,o,i,!0).is.a("function");let a;t?(new E(e,o,i,!0).to.have.property(t),a=e[t]):(new E(e,o,i,!0).is.a("function"),a=e()),new E(a,o,i,!0).is.a("number"),n();let l=t==null?e():e[t],u=t==null?a:"."+t;q(this,"deltaMsgObj",u),q(this,"initialDeltaValue",a),q(this,"finalDeltaValue",l),q(this,"deltaBehavior","decrease"),q(this,"realDelta",a-l),this.assert(l-a<0,"expected "+u+" to decrease","expected "+u+" to not decrease")}M(Cu,"assertDecreases");E.addMethod("decrease",Cu);E.addMethod("decreases",Cu);function Rg(e,t){t&&q(this,"message",t);let r=q(this,"deltaMsgObj"),n=q(this,"initialDeltaValue"),o=q(this,"finalDeltaValue"),i=q(this,"deltaBehavior"),a=q(this,"realDelta"),l;i==="change"?l=Math.abs(o-n)===Math.abs(e):l=a===Math.abs(e),this.assert(l,"expected "+r+" to "+i+" by "+e,"expected "+r+" to not "+i+" by "+e)}M(Rg,"assertDelta");E.addMethod("by",Rg);E.addProperty("extensible",function(){let e=q(this,"object"),t=e===Object(e)&&Object.isExtensible(e);this.assert(t,"expected #{this} to be extensible","expected #{this} to not be extensible")});E.addProperty("sealed",function(){let e=q(this,"object"),t=e===Object(e)?Object.isSealed(e):!0;this.assert(t,"expected #{this} to be sealed","expected #{this} to not be sealed")});E.addProperty("frozen",function(){let e=q(this,"object"),t=e===Object(e)?Object.isFrozen(e):!0;this.assert(t,"expected #{this} to be frozen","expected #{this} to not be frozen")});E.addProperty("finite",function(e){let t=q(this,"object");this.assert(typeof t=="number"&&isFinite(t),"expected #{this} to be a finite number","expected #{this} to not be a finite number")});function ha(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 ha(r,n)})}):!1:e instanceof Date?t instanceof Date?e.getTime()===t.getTime():!1:Object.keys(e).every(function(r){let n=e[r],o=t[r];return typeof n=="object"&&n!==null&&o!==null?ha(n,o):typeof n=="function"?n(o):o===n}):!1}M(ha,"compareSubset");E.addMethod("containSubset",function(e){const t=ee(this,"object"),r=De.showDiff;this.assert(ha(e,t),"expected #{act} to contain subset #{exp}","expected #{act} to not contain subset #{exp}",e,t,r)});function Ft(e,t){return new E(e,t)}M(Ft,"expect");Ft.fail=function(e,t,r,n){throw arguments.length<2&&(r=e,e=void 0),r=r||"expect.fail()",new se(r,{actual:e,expected:t,operator:n},Ft.fail)};var Eg={};zl(Eg,{Should:()=>A1,should:()=>M1});function Tu(){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 E(this.valueOf(),null,e):new E(this,null,e)}M(e,"shouldGetter");function t(n){Object.defineProperty(this,"should",{value:n,enumerable:!0,configurable:!0,writable:!0})}M(t,"shouldSetter"),Object.defineProperty(Object.prototype,"should",{set:t,get:e,configurable:!0});let r={};return r.fail=function(n,o,i,a){throw arguments.length<2&&(i=n,n=void 0),i=i||"should.fail()",new se(i,{actual:n,expected:o,operator:a},r.fail)},r.equal=function(n,o,i){new E(n,i).to.equal(o)},r.Throw=function(n,o,i,a){new E(n,a).to.Throw(o,i)},r.exist=function(n,o){new E(n,o).to.exist},r.not={},r.not.equal=function(n,o,i){new E(n,i).to.not.equal(o)},r.not.Throw=function(n,o,i,a){new E(n,a).to.not.Throw(o,i)},r.not.exist=function(n,o){new E(n,o).to.not.exist},r.throw=r.Throw,r.not.throw=r.not.Throw,r}M(Tu,"loadShould");var M1=Tu,A1=Tu;function w(e,t){new E(null,null,w,!0).assert(e,t,"[ negation message unavailable ]")}M(w,"assert");w.fail=function(e,t,r,n){throw arguments.length<2&&(r=e,e=void 0),r=r||"assert.fail()",new se(r,{actual:e,expected:t,operator:n},w.fail)};w.isOk=function(e,t){new E(e,t,w.isOk,!0).is.ok};w.isNotOk=function(e,t){new E(e,t,w.isNotOk,!0).is.not.ok};w.equal=function(e,t,r){let n=new E(e,r,w.equal,!0);n.assert(t==ee(n,"object"),"expected #{this} to equal #{exp}","expected #{this} to not equal #{act}",t,e,!0)};w.notEqual=function(e,t,r){let n=new E(e,r,w.notEqual,!0);n.assert(t!=ee(n,"object"),"expected #{this} to not equal #{exp}","expected #{this} to equal #{act}",t,e,!0)};w.strictEqual=function(e,t,r){new E(e,r,w.strictEqual,!0).to.equal(t)};w.notStrictEqual=function(e,t,r){new E(e,r,w.notStrictEqual,!0).to.not.equal(t)};w.deepEqual=w.deepStrictEqual=function(e,t,r){new E(e,r,w.deepEqual,!0).to.eql(t)};w.notDeepEqual=function(e,t,r){new E(e,r,w.notDeepEqual,!0).to.not.eql(t)};w.isAbove=function(e,t,r){new E(e,r,w.isAbove,!0).to.be.above(t)};w.isAtLeast=function(e,t,r){new E(e,r,w.isAtLeast,!0).to.be.least(t)};w.isBelow=function(e,t,r){new E(e,r,w.isBelow,!0).to.be.below(t)};w.isAtMost=function(e,t,r){new E(e,r,w.isAtMost,!0).to.be.most(t)};w.isTrue=function(e,t){new E(e,t,w.isTrue,!0).is.true};w.isNotTrue=function(e,t){new E(e,t,w.isNotTrue,!0).to.not.equal(!0)};w.isFalse=function(e,t){new E(e,t,w.isFalse,!0).is.false};w.isNotFalse=function(e,t){new E(e,t,w.isNotFalse,!0).to.not.equal(!1)};w.isNull=function(e,t){new E(e,t,w.isNull,!0).to.equal(null)};w.isNotNull=function(e,t){new E(e,t,w.isNotNull,!0).to.not.equal(null)};w.isNaN=function(e,t){new E(e,t,w.isNaN,!0).to.be.NaN};w.isNotNaN=function(e,t){new E(e,t,w.isNotNaN,!0).not.to.be.NaN};w.exists=function(e,t){new E(e,t,w.exists,!0).to.exist};w.notExists=function(e,t){new E(e,t,w.notExists,!0).to.not.exist};w.isUndefined=function(e,t){new E(e,t,w.isUndefined,!0).to.equal(void 0)};w.isDefined=function(e,t){new E(e,t,w.isDefined,!0).to.not.equal(void 0)};w.isCallable=function(e,t){new E(e,t,w.isCallable,!0).is.callable};w.isNotCallable=function(e,t){new E(e,t,w.isNotCallable,!0).is.not.callable};w.isObject=function(e,t){new E(e,t,w.isObject,!0).to.be.a("object")};w.isNotObject=function(e,t){new E(e,t,w.isNotObject,!0).to.not.be.a("object")};w.isArray=function(e,t){new E(e,t,w.isArray,!0).to.be.an("array")};w.isNotArray=function(e,t){new E(e,t,w.isNotArray,!0).to.not.be.an("array")};w.isString=function(e,t){new E(e,t,w.isString,!0).to.be.a("string")};w.isNotString=function(e,t){new E(e,t,w.isNotString,!0).to.not.be.a("string")};w.isNumber=function(e,t){new E(e,t,w.isNumber,!0).to.be.a("number")};w.isNotNumber=function(e,t){new E(e,t,w.isNotNumber,!0).to.not.be.a("number")};w.isNumeric=function(e,t){new E(e,t,w.isNumeric,!0).is.numeric};w.isNotNumeric=function(e,t){new E(e,t,w.isNotNumeric,!0).is.not.numeric};w.isFinite=function(e,t){new E(e,t,w.isFinite,!0).to.be.finite};w.isBoolean=function(e,t){new E(e,t,w.isBoolean,!0).to.be.a("boolean")};w.isNotBoolean=function(e,t){new E(e,t,w.isNotBoolean,!0).to.not.be.a("boolean")};w.typeOf=function(e,t,r){new E(e,r,w.typeOf,!0).to.be.a(t)};w.notTypeOf=function(e,t,r){new E(e,r,w.notTypeOf,!0).to.not.be.a(t)};w.instanceOf=function(e,t,r){new E(e,r,w.instanceOf,!0).to.be.instanceOf(t)};w.notInstanceOf=function(e,t,r){new E(e,r,w.notInstanceOf,!0).to.not.be.instanceOf(t)};w.include=function(e,t,r){new E(e,r,w.include,!0).include(t)};w.notInclude=function(e,t,r){new E(e,r,w.notInclude,!0).not.include(t)};w.deepInclude=function(e,t,r){new E(e,r,w.deepInclude,!0).deep.include(t)};w.notDeepInclude=function(e,t,r){new E(e,r,w.notDeepInclude,!0).not.deep.include(t)};w.nestedInclude=function(e,t,r){new E(e,r,w.nestedInclude,!0).nested.include(t)};w.notNestedInclude=function(e,t,r){new E(e,r,w.notNestedInclude,!0).not.nested.include(t)};w.deepNestedInclude=function(e,t,r){new E(e,r,w.deepNestedInclude,!0).deep.nested.include(t)};w.notDeepNestedInclude=function(e,t,r){new E(e,r,w.notDeepNestedInclude,!0).not.deep.nested.include(t)};w.ownInclude=function(e,t,r){new E(e,r,w.ownInclude,!0).own.include(t)};w.notOwnInclude=function(e,t,r){new E(e,r,w.notOwnInclude,!0).not.own.include(t)};w.deepOwnInclude=function(e,t,r){new E(e,r,w.deepOwnInclude,!0).deep.own.include(t)};w.notDeepOwnInclude=function(e,t,r){new E(e,r,w.notDeepOwnInclude,!0).not.deep.own.include(t)};w.match=function(e,t,r){new E(e,r,w.match,!0).to.match(t)};w.notMatch=function(e,t,r){new E(e,r,w.notMatch,!0).to.not.match(t)};w.property=function(e,t,r){new E(e,r,w.property,!0).to.have.property(t)};w.notProperty=function(e,t,r){new E(e,r,w.notProperty,!0).to.not.have.property(t)};w.propertyVal=function(e,t,r,n){new E(e,n,w.propertyVal,!0).to.have.property(t,r)};w.notPropertyVal=function(e,t,r,n){new E(e,n,w.notPropertyVal,!0).to.not.have.property(t,r)};w.deepPropertyVal=function(e,t,r,n){new E(e,n,w.deepPropertyVal,!0).to.have.deep.property(t,r)};w.notDeepPropertyVal=function(e,t,r,n){new E(e,n,w.notDeepPropertyVal,!0).to.not.have.deep.property(t,r)};w.ownProperty=function(e,t,r){new E(e,r,w.ownProperty,!0).to.have.own.property(t)};w.notOwnProperty=function(e,t,r){new E(e,r,w.notOwnProperty,!0).to.not.have.own.property(t)};w.ownPropertyVal=function(e,t,r,n){new E(e,n,w.ownPropertyVal,!0).to.have.own.property(t,r)};w.notOwnPropertyVal=function(e,t,r,n){new E(e,n,w.notOwnPropertyVal,!0).to.not.have.own.property(t,r)};w.deepOwnPropertyVal=function(e,t,r,n){new E(e,n,w.deepOwnPropertyVal,!0).to.have.deep.own.property(t,r)};w.notDeepOwnPropertyVal=function(e,t,r,n){new E(e,n,w.notDeepOwnPropertyVal,!0).to.not.have.deep.own.property(t,r)};w.nestedProperty=function(e,t,r){new E(e,r,w.nestedProperty,!0).to.have.nested.property(t)};w.notNestedProperty=function(e,t,r){new E(e,r,w.notNestedProperty,!0).to.not.have.nested.property(t)};w.nestedPropertyVal=function(e,t,r,n){new E(e,n,w.nestedPropertyVal,!0).to.have.nested.property(t,r)};w.notNestedPropertyVal=function(e,t,r,n){new E(e,n,w.notNestedPropertyVal,!0).to.not.have.nested.property(t,r)};w.deepNestedPropertyVal=function(e,t,r,n){new E(e,n,w.deepNestedPropertyVal,!0).to.have.deep.nested.property(t,r)};w.notDeepNestedPropertyVal=function(e,t,r,n){new E(e,n,w.notDeepNestedPropertyVal,!0).to.not.have.deep.nested.property(t,r)};w.lengthOf=function(e,t,r){new E(e,r,w.lengthOf,!0).to.have.lengthOf(t)};w.hasAnyKeys=function(e,t,r){new E(e,r,w.hasAnyKeys,!0).to.have.any.keys(t)};w.hasAllKeys=function(e,t,r){new E(e,r,w.hasAllKeys,!0).to.have.all.keys(t)};w.containsAllKeys=function(e,t,r){new E(e,r,w.containsAllKeys,!0).to.contain.all.keys(t)};w.doesNotHaveAnyKeys=function(e,t,r){new E(e,r,w.doesNotHaveAnyKeys,!0).to.not.have.any.keys(t)};w.doesNotHaveAllKeys=function(e,t,r){new E(e,r,w.doesNotHaveAllKeys,!0).to.not.have.all.keys(t)};w.hasAnyDeepKeys=function(e,t,r){new E(e,r,w.hasAnyDeepKeys,!0).to.have.any.deep.keys(t)};w.hasAllDeepKeys=function(e,t,r){new E(e,r,w.hasAllDeepKeys,!0).to.have.all.deep.keys(t)};w.containsAllDeepKeys=function(e,t,r){new E(e,r,w.containsAllDeepKeys,!0).to.contain.all.deep.keys(t)};w.doesNotHaveAnyDeepKeys=function(e,t,r){new E(e,r,w.doesNotHaveAnyDeepKeys,!0).to.not.have.any.deep.keys(t)};w.doesNotHaveAllDeepKeys=function(e,t,r){new E(e,r,w.doesNotHaveAllDeepKeys,!0).to.not.have.all.deep.keys(t)};w.throws=function(e,t,r,n){(typeof t=="string"||t instanceof RegExp)&&(r=t,t=null);let o=new E(e,n,w.throws,!0).to.throw(t,r);return ee(o,"object")};w.doesNotThrow=function(e,t,r,n){(typeof t=="string"||t instanceof RegExp)&&(r=t,t=null),new E(e,n,w.doesNotThrow,!0).to.not.throw(t,r)};w.operator=function(e,t,r,n){let o;switch(t){case"==":o=e==r;break;case"===":o=e===r;break;case">":o=e>r;break;case">=":o=e>=r;break;case"<":o=e<r;break;case"<=":o=e<=r;break;case"!=":o=e!=r;break;case"!==":o=e!==r;break;default:throw n=n&&n+": ",new se(n+'Invalid operator "'+t+'"',void 0,w.operator)}let i=new E(o,n,w.operator,!0);i.assert(ee(i,"object")===!0,"expected "+oe(e)+" to be "+t+" "+oe(r),"expected "+oe(e)+" to not be "+t+" "+oe(r))};w.closeTo=function(e,t,r,n){new E(e,n,w.closeTo,!0).to.be.closeTo(t,r)};w.approximately=function(e,t,r,n){new E(e,n,w.approximately,!0).to.be.approximately(t,r)};w.sameMembers=function(e,t,r){new E(e,r,w.sameMembers,!0).to.have.same.members(t)};w.notSameMembers=function(e,t,r){new E(e,r,w.notSameMembers,!0).to.not.have.same.members(t)};w.sameDeepMembers=function(e,t,r){new E(e,r,w.sameDeepMembers,!0).to.have.same.deep.members(t)};w.notSameDeepMembers=function(e,t,r){new E(e,r,w.notSameDeepMembers,!0).to.not.have.same.deep.members(t)};w.sameOrderedMembers=function(e,t,r){new E(e,r,w.sameOrderedMembers,!0).to.have.same.ordered.members(t)};w.notSameOrderedMembers=function(e,t,r){new E(e,r,w.notSameOrderedMembers,!0).to.not.have.same.ordered.members(t)};w.sameDeepOrderedMembers=function(e,t,r){new E(e,r,w.sameDeepOrderedMembers,!0).to.have.same.deep.ordered.members(t)};w.notSameDeepOrderedMembers=function(e,t,r){new E(e,r,w.notSameDeepOrderedMembers,!0).to.not.have.same.deep.ordered.members(t)};w.includeMembers=function(e,t,r){new E(e,r,w.includeMembers,!0).to.include.members(t)};w.notIncludeMembers=function(e,t,r){new E(e,r,w.notIncludeMembers,!0).to.not.include.members(t)};w.includeDeepMembers=function(e,t,r){new E(e,r,w.includeDeepMembers,!0).to.include.deep.members(t)};w.notIncludeDeepMembers=function(e,t,r){new E(e,r,w.notIncludeDeepMembers,!0).to.not.include.deep.members(t)};w.includeOrderedMembers=function(e,t,r){new E(e,r,w.includeOrderedMembers,!0).to.include.ordered.members(t)};w.notIncludeOrderedMembers=function(e,t,r){new E(e,r,w.notIncludeOrderedMembers,!0).to.not.include.ordered.members(t)};w.includeDeepOrderedMembers=function(e,t,r){new E(e,r,w.includeDeepOrderedMembers,!0).to.include.deep.ordered.members(t)};w.notIncludeDeepOrderedMembers=function(e,t,r){new E(e,r,w.notIncludeDeepOrderedMembers,!0).to.not.include.deep.ordered.members(t)};w.oneOf=function(e,t,r){new E(e,r,w.oneOf,!0).to.be.oneOf(t)};w.isIterable=function(e,t){if(e==null||!e[Symbol.iterator])throw t=t?`${t} expected ${oe(e)} to be an iterable`:`expected ${oe(e)} to be an iterable`,new se(t,void 0,w.isIterable)};w.changes=function(e,t,r,n){arguments.length===3&&typeof t=="function"&&(n=r,r=null),new E(e,n,w.changes,!0).to.change(t,r)};w.changesBy=function(e,t,r,n,o){if(arguments.length===4&&typeof t=="function"){let i=n;n=r,o=i}else arguments.length===3&&(n=r,r=null);new E(e,o,w.changesBy,!0).to.change(t,r).by(n)};w.doesNotChange=function(e,t,r,n){return arguments.length===3&&typeof t=="function"&&(n=r,r=null),new E(e,n,w.doesNotChange,!0).to.not.change(t,r)};w.changesButNotBy=function(e,t,r,n,o){if(arguments.length===4&&typeof t=="function"){let i=n;n=r,o=i}else arguments.length===3&&(n=r,r=null);new E(e,o,w.changesButNotBy,!0).to.change(t,r).but.not.by(n)};w.increases=function(e,t,r,n){return arguments.length===3&&typeof t=="function"&&(n=r,r=null),new E(e,n,w.increases,!0).to.increase(t,r)};w.increasesBy=function(e,t,r,n,o){if(arguments.length===4&&typeof t=="function"){let i=n;n=r,o=i}else arguments.length===3&&(n=r,r=null);new E(e,o,w.increasesBy,!0).to.increase(t,r).by(n)};w.doesNotIncrease=function(e,t,r,n){return arguments.length===3&&typeof t=="function"&&(n=r,r=null),new E(e,n,w.doesNotIncrease,!0).to.not.increase(t,r)};w.increasesButNotBy=function(e,t,r,n,o){if(arguments.length===4&&typeof t=="function"){let i=n;n=r,o=i}else arguments.length===3&&(n=r,r=null);new E(e,o,w.increasesButNotBy,!0).to.increase(t,r).but.not.by(n)};w.decreases=function(e,t,r,n){return arguments.length===3&&typeof t=="function"&&(n=r,r=null),new E(e,n,w.decreases,!0).to.decrease(t,r)};w.decreasesBy=function(e,t,r,n,o){if(arguments.length===4&&typeof t=="function"){let i=n;n=r,o=i}else arguments.length===3&&(n=r,r=null);new E(e,o,w.decreasesBy,!0).to.decrease(t,r).by(n)};w.doesNotDecrease=function(e,t,r,n){return arguments.length===3&&typeof t=="function"&&(n=r,r=null),new E(e,n,w.doesNotDecrease,!0).to.not.decrease(t,r)};w.doesNotDecreaseBy=function(e,t,r,n,o){if(arguments.length===4&&typeof t=="function"){let i=n;n=r,o=i}else arguments.length===3&&(n=r,r=null);return new E(e,o,w.doesNotDecreaseBy,!0).to.not.decrease(t,r).by(n)};w.decreasesButNotBy=function(e,t,r,n,o){if(arguments.length===4&&typeof t=="function"){let i=n;n=r,o=i}else arguments.length===3&&(n=r,r=null);new E(e,o,w.decreasesButNotBy,!0).to.decrease(t,r).but.not.by(n)};w.ifError=function(e){if(e)throw e};w.isExtensible=function(e,t){new E(e,t,w.isExtensible,!0).to.be.extensible};w.isNotExtensible=function(e,t){new E(e,t,w.isNotExtensible,!0).to.not.be.extensible};w.isSealed=function(e,t){new E(e,t,w.isSealed,!0).to.be.sealed};w.isNotSealed=function(e,t){new E(e,t,w.isNotSealed,!0).to.not.be.sealed};w.isFrozen=function(e,t){new E(e,t,w.isFrozen,!0).to.be.frozen};w.isNotFrozen=function(e,t){new E(e,t,w.isNotFrozen,!0).to.not.be.frozen};w.isEmpty=function(e,t){new E(e,t,w.isEmpty,!0).to.be.empty};w.isNotEmpty=function(e,t){new E(e,t,w.isNotEmpty,!0).to.not.be.empty};w.containsSubset=function(e,t,r){new E(e,r).to.containSubset(t)};w.doesNotContainSubset=function(e,t,r){new E(e,r).to.not.containSubset(t)};var $1=[["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"]];for(const[e,t]of $1)w[t]=w[e];var tm=[];function Wt(e){const t={use:Wt,AssertionError:se,util:xe,config:De,expect:Ft,assert:w,Assertion:E,...Eg};return~tm.indexOf(e)||(e(t,xe),tm.push(e)),t}M(Wt,"use");const ba=Symbol.for("matchers-object"),Mi=Symbol.for("$$jest-matchers-object"),ka=Symbol.for("expect-global"),xu=Symbol.for("asymmetric-matchers-object"),N1={toSatisfy(e,t,r){const{printReceived:n,printExpected:o,matcherHint:i}=this.utils,a=t(e);return{pass:a,message:()=>a?`${i(".not.toSatisfy","received","")}
107
-
108
- Expected value to not satisfy:
109
- ${r||o(t)}
110
- Received:
111
- ${n(e)}`:`${i(".toSatisfy","received","")}
112
-
113
- Expected value to satisfy:
114
- ${r||o(t)}
115
-
116
- Received:
117
- ${n(e)}`}},toBeOneOf(e,t){const{equals:r,customTesters:n}=this,{printReceived:o,printExpected:i,matcherHint:a}=this.utils;let l;if(Array.isArray(t))l=t.length===0||t.some(u=>r(u,e,n));else if(t instanceof Set)l=t.size===0||t.has(e)||[...t].some(u=>r(u,e,n));else throw new TypeError(`You must provide an array or set to ${a(".toBeOneOf")}, not '${typeof t}'.`);return{pass:l,message:()=>l?`${a(".not.toBeOneOf","received","")}
118
-
119
- Expected value to not be one of:
120
- ${i(t)}
121
- Received:
122
- ${o(e)}`:`${a(".toBeOneOf","received","")}
123
-
124
- Expected value to be one of:
125
- ${i(t)}
126
-
127
- Received:
128
- ${o(e)}`}}},ga=_e.green,Su=_e.red,I1=_e.inverse,j1=_e.bold,St=_e.dim;function D1(e,t="received",r="expected",n={}){const{comment:o="",isDirectExpectCall:i=!1,isNot:a=!1,promise:l="",secondArgument:u="",expectedColor:s=ga,receivedColor:c=Su,secondArgumentColor:d=ga}=n;let f="",p="expect";return!i&&t!==""&&(f+=St(`${p}(`)+c(t),p=")"),l!==""&&(f+=St(`${p}.`)+l,p=""),a&&(f+=`${St(`${p}.`)}not`,p=""),e.includes(".")?p+=e:(f+=St(`${p}.`)+e,p=""),r===""?p+="()":(f+=St(`${p}(`)+s(r),u&&(f+=St(", ")+d(u)),p=")"),o!==""&&(p+=` // ${o}`),p!==""&&(f+=St(p)),f}const F1="·";function _g(e){return e.replace(/\s+$/gm,t=>F1.repeat(t.length))}function k1(e){return Su(_g(Fe(e)))}function L1(e){return ga(_g(Fe(e)))}function Cg(){return{EXPECTED_COLOR:ga,RECEIVED_COLOR:Su,INVERTED_COLOR:I1,BOLD_WEIGHT:j1,DIM_COLOR:St,diff:ur,matcherHint:D1,printReceived:k1,printExpected:L1,printDiffOrStringify:xb,printWithType:B1}}function B1(e,t,r){const n=Ri(t),o=n!=="null"&&n!=="undefined"?`${e} has type: ${n}
129
- `:"",i=`${e} has value: ${r(t)}`;return o+i}function U1(e){if(!Array.isArray(e))throw new TypeError(`expect.customEqualityTesters: Must be set to an array of Testers. Was given "${Ri(e)}"`);globalThis[Mi].customEqualityTesters.push(...e)}function Pu(){return globalThis[Mi].customEqualityTesters}function ae(e,t,r,n){return r=r||[],fi(e,t,[],[],r,n?Tg:H1)}function rm(e){return!!e&&typeof e=="object"&&"asymmetricMatch"in e&&tt("Function",e.asymmetricMatch)}function z1(e,t,r){const n=rm(e),o=rm(t);if(!(n&&o)){if(n)return e.asymmetricMatch(t,r);if(o)return t.asymmetricMatch(e,r)}}function fi(e,t,r,n,o,i){let a=!0;const l=z1(e,t,o);if(l!==void 0)return l;const u={equals:ae};for(let m=0;m<o.length;m++){const h=o[m].call(u,e,t,o);if(h!==void 0)return h}if(typeof URL=="function"&&e instanceof URL&&t instanceof URL)return e.href===t.href;if(Object.is(e,t))return!0;if(e===null||t===null)return e===t;const s=Object.prototype.toString.call(e);if(s!==Object.prototype.toString.call(t))return!1;switch(s){case"[object Boolean]":case"[object String]":case"[object Number]":return typeof e!=typeof t?!1:typeof e!="object"&&typeof t!="object"?Object.is(e,t):Object.is(e.valueOf(),t.valueOf());case"[object Date]":{const m=+e,h=+t;return m===h||Number.isNaN(m)&&Number.isNaN(h)}case"[object RegExp]":return e.source===t.source&&e.flags===t.flags;case"[object Temporal.Instant]":case"[object Temporal.ZonedDateTime]":case"[object Temporal.PlainDateTime]":case"[object Temporal.PlainDate]":case"[object Temporal.PlainTime]":case"[object Temporal.PlainYearMonth]":case"[object Temporal.PlainMonthDay]":return e.equals(t);case"[object Temporal.Duration]":return e.toString()===t.toString()}if(typeof e!="object"||typeof t!="object")return!1;if(om(e)&&om(t))return e.isEqualNode(t);let c=r.length;for(;c--;){if(r[c]===e)return n[c]===t;if(n[c]===t)return!1}if(r.push(e),n.push(t),s==="[object Array]"&&e.length!==t.length)return!1;if(e instanceof Error&&t instanceof Error)try{return V1(e,t,r,n,o,i)}finally{r.pop(),n.pop()}const d=nm(e,i);let f,p=d.length;if(nm(t,i).length!==p)return!1;for(;p--;)if(f=d[p],a=i(t,f)&&fi(e[f],t[f],r,n,o,i),!a)return!1;return r.pop(),n.pop(),a}function V1(e,t,r,n,o,i){let a=Object.getPrototypeOf(e)===Object.getPrototypeOf(t)&&e.name===t.name&&e.message===t.message;return typeof t.cause<"u"&&a&&(a=fi(e.cause,t.cause,r,n,o,i)),e instanceof AggregateError&&t instanceof AggregateError&&a&&(a=fi(e.errors,t.errors,r,n,o,i)),a&&(a=fi({...e},{...t},r,n,o,i)),a}function nm(e,t){const r=[];for(const n in e)t(e,n)&&r.push(n);return r.concat(Object.getOwnPropertySymbols(e).filter(n=>Object.getOwnPropertyDescriptor(e,n).enumerable))}function H1(e,t){return Tg(e,t)&&e[t]!==void 0}function Tg(e,t){return Object.hasOwn(e,t)}function tt(e,t){return Object.prototype.toString.apply(t)===`[object ${e}]`}function om(e){return e!==null&&typeof e=="object"&&"nodeType"in e&&typeof e.nodeType=="number"&&"nodeName"in e&&typeof e.nodeName=="string"&&"isEqualNode"in e&&typeof e.isEqualNode=="function"}const xg="@@__IMMUTABLE_KEYED__@@",Sg="@@__IMMUTABLE_SET__@@",W1="@@__IMMUTABLE_LIST__@@",La="@@__IMMUTABLE_ORDERED__@@",G1="@@__IMMUTABLE_RECORD__@@";function K1(e){return!!(e&&e[xg]&&!e[La])}function Y1(e){return!!(e&&e[Sg]&&!e[La])}function Ba(e){return e!=null&&typeof e=="object"&&!Array.isArray(e)}function J1(e){return!!(e&&Ba(e)&&e[W1])}function X1(e){return!!(e&&Ba(e)&&e[xg]&&e[La])}function Z1(e){return!!(e&&Ba(e)&&e[Sg]&&e[La])}function Q1(e){return!!(e&&Ba(e)&&e[G1])}const Pg=Symbol.iterator;function im(e){return!!(e!=null&&e[Pg])}function We(e,t,r=[],n=[],o=[]){if(typeof e!="object"||typeof t!="object"||Array.isArray(e)||Array.isArray(t)||!im(e)||!im(t))return;if(e.constructor!==t.constructor)return!1;let i=n.length;for(;i--;)if(n[i]===e)return o[i]===t;n.push(e),o.push(t);const a=[...r.filter(s=>s!==We),l];function l(s,c){return We(s,c,[...r],[...n],[...o])}if(e.size!==void 0){if(e.size!==t.size)return!1;if(tt("Set",e)||Y1(e)){let s=!0;for(const c of e)if(!t.has(c)){let d=!1;for(const f of t)ae(c,f,a)===!0&&(d=!0);if(d===!1){s=!1;break}}return n.pop(),o.pop(),s}else if(tt("Map",e)||K1(e)){let s=!0;for(const c of e)if(!t.has(c[0])||!ae(c[1],t.get(c[0]),a)){let d=!1;for(const f of t){const p=ae(c[0],f[0],a);let m=!1;p===!0&&(m=ae(c[1],f[1],a)),m===!0&&(d=!0)}if(d===!1){s=!1;break}}return n.pop(),o.pop(),s}}const u=t[Pg]();for(const s of e){const c=u.next();if(c.done||!ae(s,c.value,a))return!1}if(!u.next().done)return!1;if(!J1(e)&&!X1(e)&&!Z1(e)&&!Q1(e)){const s=Object.entries(e),c=Object.entries(t);if(!ae(s,c,a))return!1}return n.pop(),o.pop(),!0}function qu(e,t){return!e||typeof e!="object"||e===Object.prototype?!1:Object.hasOwn(e,t)||qu(Object.getPrototypeOf(e),t)}function eS(e){return Qt(e)&&!(e instanceof Error)&&!Array.isArray(e)&&!(e instanceof Date)}function fr(e,t,r=[]){const n=r.filter(i=>i!==fr),o=(i=new WeakMap)=>(a,l)=>{if(eS(l))return Object.keys(l).every(u=>{if(l[u]!=null&&typeof l[u]=="object"){if(i.has(l[u]))return ae(a[u],l[u],n);i.set(l[u],!0)}const s=a!=null&&qu(a,u)&&ae(a[u],l[u],[...n,o(i)]);return i.delete(l[u]),s})};return o()(e,t)}function am(e,t){if(!(e==null||t==null||e.constructor===t.constructor))return!1}function sm(e,t){let r=e,n=t;if(!(e instanceof DataView&&t instanceof DataView)){if(!(e instanceof ArrayBuffer)||!(t instanceof ArrayBuffer))return;try{r=new DataView(e),n=new DataView(t)}catch{return}}if(r.byteLength!==n.byteLength)return!1;for(let o=0;o<r.byteLength;o++)if(r.getUint8(o)!==n.getUint8(o))return!1;return!0}function vl(e,t,r=[]){if(!Array.isArray(e)||!Array.isArray(t))return;const n=Object.keys(e),o=Object.keys(t),i=r.filter(a=>a!==vl);return ae(e,t,i,!0)&&ae(n,o)}function tS(e,t="#{this}",r="#{exp}"){const n=`expected ${t} to be ${r} // Object.is equality`;return["toStrictEqual","toEqual"].includes(e)?`${n}
130
-
131
- If it should pass with deep equality, replace "toBe" with "${e}"
132
-
133
- Expected: ${t}
134
- Received: serializes to the same string
135
- `:n}function rS(e,t){return`${t} ${e}${t===1?"":"s"}`}function ds(e){return[...Object.keys(e),...Object.getOwnPropertySymbols(e).filter(t=>{var r;return(r=Object.getOwnPropertyDescriptor(e,t))===null||r===void 0?void 0:r.enumerable})]}function nS(e,t,r){let n=0;const o=(i=new WeakMap)=>(a,l)=>{if(Array.isArray(a)){if(Array.isArray(l)&&l.length===a.length)return l.map((u,s)=>o(i)(a[s],u))}else{if(a instanceof Date)return a;if(Qt(a)&&Qt(l)){if(ae(a,l,[...r,We,fr]))return l;const u={};i.set(a,u),typeof a.constructor=="function"&&typeof a.constructor.name=="string"&&Object.defineProperty(u,"constructor",{enumerable:!1,value:a.constructor});for(const s of ds(a))qu(l,s)?u[s]=i.has(a[s])?i.get(a[s]):o(i)(a[s],l[s]):i.has(a[s])||(n+=1,Qt(a[s])&&(n+=ds(a[s]).length),o(i)(a[s],l[s]));if(ds(u).length>0)return u}}return a};return{subset:o()(e,t),stripped:n}}function oS(e){return!!e&&(typeof e=="object"||typeof e=="function")&&e["~standard"]&&typeof e["~standard"].validate=="function"}if(!Object.hasOwn(globalThis,ba)){const e=new WeakMap,t=Object.create(null),r=[],n=Object.create(null);Object.defineProperty(globalThis,ba,{get:()=>e}),Object.defineProperty(globalThis,Mi,{configurable:!0,get:()=>({state:e.get(globalThis[ka]),matchers:t,customEqualityTesters:r})}),Object.defineProperty(globalThis,xu,{get:()=>n})}function di(e){return globalThis[ba].get(e)}function ps(e,t){const r=globalThis[ba],n=r.get(t)||{},o=Object.defineProperties(n,{...Object.getOwnPropertyDescriptors(n),...Object.getOwnPropertyDescriptors(e)});r.set(t,o)}let ct=class{$$typeof=Symbol.for("jest.asymmetricMatcher");constructor(t,r=!1){this.sample=t,this.inverse=r}getMatcherContext(t){return{...di(t||globalThis[ka]),equals:ae,isNot:this.inverse,customTesters:Pu(),utils:{...Cg(),diff:ur,stringify:Fe,iterableEquality:We,subsetEquality:fr}}}};ct.prototype[Symbol.for("chai/inspect")]=function(e){const t=Fe(this,e.depth,{min:!0});return t.length<=e.truncate?t:`${this.toString()}{…}`};class lm extends ct{constructor(t,r=!1){if(!tt("String",t))throw new Error("Expected is not a string");super(t,r)}asymmetricMatch(t){const r=tt("String",t)&&t.includes(this.sample);return this.inverse?!r:r}toString(){return`String${this.inverse?"Not":""}Containing`}getExpectedType(){return"string"}}class iS extends ct{asymmetricMatch(t){return t!=null}toString(){return"Anything"}toAsymmetricMatcher(){return"Anything"}}class um extends ct{constructor(t,r=!1){super(t,r)}getPrototype(t){return Object.getPrototypeOf?Object.getPrototypeOf(t):t.constructor.prototype===t?null:t.constructor.prototype}hasProperty(t,r){return t?Object.hasOwn(t,r)?!0:this.hasProperty(this.getPrototype(t),r):!1}getProperties(t){return[...Object.keys(t),...Object.getOwnPropertySymbols(t).filter(r=>{var n;return(n=Object.getOwnPropertyDescriptor(t,r))===null||n===void 0?void 0:n.enumerable})]}asymmetricMatch(t,r){if(typeof this.sample!="object")throw new TypeError(`You must provide an object to ${this.toString()}, not '${typeof this.sample}'.`);let n=!0;const o=this.getProperties(this.sample);for(const l of o){var i,a;if(!this.hasProperty(t,l)){n=!1;break}const u=((i=Object.getOwnPropertyDescriptor(this.sample,l))===null||i===void 0?void 0:i.value)??this.sample[l],s=((a=Object.getOwnPropertyDescriptor(t,l))===null||a===void 0?void 0:a.value)??t[l];if(!ae(u,s,r)){n=!1;break}}return this.inverse?!n:n}toString(){return`Object${this.inverse?"Not":""}Containing`}getExpectedType(){return"object"}}class cm extends ct{constructor(t,r=!1){super(t,r)}asymmetricMatch(t,r){if(!Array.isArray(this.sample))throw new TypeError(`You must provide an array to ${this.toString()}, not '${typeof this.sample}'.`);const n=this.sample.length===0||Array.isArray(t)&&this.sample.every(o=>t.some(i=>ae(o,i,r)));return this.inverse?!n:n}toString(){return`Array${this.inverse?"Not":""}Containing`}getExpectedType(){return"array"}}class aS extends ct{constructor(t){if(typeof t>"u")throw new TypeError("any() expects to be passed a constructor function. Please pass one or use anything() to match any object.");super(t)}fnNameFor(t){if(t.name)return t.name;const n=Function.prototype.toString.call(t).match(/^(?:async)?\s*function\s*(?:\*\s*)?([\w$]+)\s*\(/);return n?n[1]:"<anonymous>"}asymmetricMatch(t){return this.sample===String?typeof t=="string"||t instanceof String:this.sample===Number?typeof t=="number"||t instanceof Number:this.sample===Function?typeof t=="function"||typeof t=="function":this.sample===Boolean?typeof t=="boolean"||t instanceof Boolean:this.sample===BigInt?typeof t=="bigint"||t instanceof BigInt:this.sample===Symbol?typeof t=="symbol"||t instanceof Symbol:this.sample===Object?typeof t=="object":t instanceof this.sample}toString(){return"Any"}getExpectedType(){return this.sample===String?"string":this.sample===Number?"number":this.sample===Function?"function":this.sample===Object?"object":this.sample===Boolean?"boolean":this.fnNameFor(this.sample)}toAsymmetricMatcher(){return`Any<${this.fnNameFor(this.sample)}>`}}class fm extends ct{constructor(t,r=!1){if(!tt("String",t)&&!tt("RegExp",t))throw new Error("Expected is not a String or a RegExp");super(new RegExp(t),r)}asymmetricMatch(t){const r=tt("String",t)&&this.sample.test(t);return this.inverse?!r:r}toString(){return`String${this.inverse?"Not":""}Matching`}getExpectedType(){return"string"}}class dm extends ct{precision;constructor(t,r=2,n=!1){if(!tt("Number",t))throw new Error("Expected is not a Number");if(!tt("Number",r))throw new Error("Precision is not a Number");super(t),this.inverse=n,this.precision=r}asymmetricMatch(t){if(!tt("Number",t))return!1;let r=!1;return t===Number.POSITIVE_INFINITY&&this.sample===Number.POSITIVE_INFINITY||t===Number.NEGATIVE_INFINITY&&this.sample===Number.NEGATIVE_INFINITY?r=!0:r=Math.abs(this.sample-t)<10**-this.precision/2,this.inverse?!r:r}toString(){return`Number${this.inverse?"Not":""}CloseTo`}getExpectedType(){return"number"}toAsymmetricMatcher(){return[this.toString(),this.sample,`(${rS("digit",this.precision)})`].join(" ")}}class pm extends ct{result;constructor(t,r=!1){if(!oS(t))throw new TypeError("SchemaMatching expected to receive a Standard Schema.");super(t,r)}asymmetricMatch(t){const r=this.sample["~standard"].validate(t);if(r instanceof Promise)throw new TypeError("Async schema validation is not supported in asymmetric matchers.");this.result=r;const n=!this.result.issues||this.result.issues.length===0;return this.inverse?!n:n}toString(){return`Schema${this.inverse?"Not":""}Matching`}getExpectedType(){return"object"}toAsymmetricMatcher(){var t;const{utils:r}=this.getMatcherContext();return(((t=this.result)===null||t===void 0?void 0:t.issues)||[]).length>0?`${this.toString()} ${r.stringify(this.result,void 0,{printBasicPrototype:!1})}`:this.toString()}}const sS=(e,t)=>{t.addMethod(e.expect,"anything",()=>new iS),t.addMethod(e.expect,"any",r=>new aS(r)),t.addMethod(e.expect,"stringContaining",r=>new lm(r)),t.addMethod(e.expect,"objectContaining",r=>new um(r)),t.addMethod(e.expect,"arrayContaining",r=>new cm(r)),t.addMethod(e.expect,"stringMatching",r=>new fm(r)),t.addMethod(e.expect,"closeTo",(r,n)=>new dm(r,n)),t.addMethod(e.expect,"schemaMatching",r=>new pm(r)),e.expect.not={stringContaining:r=>new lm(r,!0),objectContaining:r=>new um(r,!0),arrayContaining:r=>new cm(r,!0),stringMatching:r=>new fm(r,!0),closeTo:(r,n)=>new dm(r,n,!0),schemaMatching:r=>new pm(r,!0)}};function mm(e,t,r){const n=e.flag(t,"negate")?"not.":"",o=`${e.flag(t,"_name")}(${r?"expected":""})`,i=e.flag(t,"promise");return`expect(actual)${i?`.${i}`:""}.${n}${o}`}function hm(e,t,r,n){const o=e;if(o&&t instanceof Promise){t=t.finally(()=>{if(!o.promises)return;const a=o.promises.indexOf(t);a!==-1&&o.promises.splice(a,1)}),o.promises||(o.promises=[]),o.promises.push(t);let i=!1;return o.onFinished??(o.onFinished=[]),o.onFinished.push(()=>{if(!i){var a;const u=(((a=globalThis.__vitest_worker__)===null||a===void 0?void 0:a.onFilterStackTrace)||(s=>s||""))(n.stack);console.warn([`Promise returned by \`${r}\` was not awaited. `,"Vitest currently auto-awaits hanging assertions at the end of the test, but this will cause the test to fail in Vitest 3. ",`Please remember to await the assertion.
136
- `,u].join(""))}}),{then(a,l){return i=!0,t.then(a,l)},catch(a){return t.catch(a)},finally(a){return t.finally(a)},[Symbol.toStringTag]:"Promise"}}return t}function bm(e,t){var r;e.result||(e.result={state:"fail"}),e.result.state="fail",(r=e.result).errors||(r.errors=[]),e.result.errors.push(Pb(t))}function qg(e,t,r){return function(...n){if(t!=="withTest"&&e.flag(this,"_name",t),!e.flag(this,"soft"))return r.apply(this,n);const o=e.flag(this,"vitest-test");if(!o)throw new Error("expect.soft() can only be used inside a test");try{const i=r.apply(this,n);return i&&typeof i=="object"&&typeof i.then=="function"?i.then(Cx,a=>{bm(o,a)}):i}catch(i){bm(o,i)}}}const lS=(e,t)=>{const{AssertionError:r}=e,n=Pu();function o(s,c){const d=f=>{const p=qg(t,f,c);t.addMethod(e.Assertion.prototype,f,p),t.addMethod(globalThis[Mi].matchers,f,p)};Array.isArray(s)?s.forEach(f=>d(f)):d(s)}["throw","throws","Throw"].forEach(s=>{t.overwriteMethod(e.Assertion.prototype,s,c=>function(...d){const f=t.flag(this,"promise"),p=t.flag(this,"object"),m=t.flag(this,"negate");if(f==="rejects")t.flag(this,"object",()=>{throw p});else if(f==="resolves"&&typeof p!="function"){if(m)return;{const h=t.flag(this,"message")||"expected promise to throw an error, but it didn't",g={showDiff:!1};throw new r(h,g,t.flag(this,"ssfi"))}}c.apply(this,d)})}),o("withTest",function(s){return t.flag(this,"vitest-test",s),this}),o("toEqual",function(s){const c=t.flag(this,"object"),d=ae(c,s,[...n,We]);return this.assert(d,"expected #{this} to deeply equal #{exp}","expected #{this} to not deeply equal #{exp}",s,c)}),o("toStrictEqual",function(s){const c=t.flag(this,"object"),d=ae(c,s,[...n,We,am,vl,sm],!0);return this.assert(d,"expected #{this} to strictly equal #{exp}","expected #{this} to not strictly equal #{exp}",s,c)}),o("toBe",function(s){const c=this._obj,d=Object.is(c,s);let f="";return d||(ae(c,s,[...n,We,am,vl,sm],!0)?f="toStrictEqual":ae(c,s,[...n,We])&&(f="toEqual")),this.assert(d,tS(f),"expected #{this} not to be #{exp} // Object.is equality",s,c)}),o("toMatchObject",function(s){const c=this._obj,d=ae(c,s,[...n,We,fr]),f=t.flag(this,"negate"),{subset:p,stripped:m}=nS(c,s,n);if(d&&f||!d&&!f){const h=t.getMessage(this,[d,"expected #{this} to match object #{exp}","expected #{this} to not match object #{exp}",s,p,!1]),g=m===0?h:`${h}
137
- (${m} matching ${m===1?"property":"properties"} omitted from actual)`;throw new r(g,{showDiff:!0,expected:s,actual:p})}}),o("toMatch",function(s){const c=this._obj;if(typeof c!="string")throw new TypeError(`.toMatch() expects to receive a string, but got ${typeof c}`);return this.assert(typeof s=="string"?c.includes(s):c.match(s),"expected #{this} to match #{exp}","expected #{this} not to match #{exp}",s,c)}),o("toContain",function(s){const c=this._obj;if(typeof Node<"u"&&c instanceof Node){if(!(s instanceof Node))throw new TypeError(`toContain() expected a DOM node as the argument, but got ${typeof s}`);return this.assert(c.contains(s),"expected #{this} to contain element #{exp}","expected #{this} not to contain element #{exp}",s,c)}if(typeof DOMTokenList<"u"&&c instanceof DOMTokenList){Ve(s,"class name",["string"]);const f=t.flag(this,"negate")?c.value.replace(s,"").trim():`${c.value} ${s}`;return this.assert(c.contains(s),`expected "${c.value}" to contain "${s}"`,`expected "${c.value}" not to contain "${s}"`,f,c.value)}return typeof c=="string"&&typeof s=="string"?this.assert(c.includes(s),"expected #{this} to contain #{exp}","expected #{this} not to contain #{exp}",s,c):(c!=null&&typeof c!="string"&&t.flag(this,"object",Array.from(c)),this.contain(s))}),o("toContainEqual",function(s){const c=t.flag(this,"object"),d=Array.from(c).findIndex(f=>ae(f,s,n));this.assert(d!==-1,"expected #{this} to deep equally contain #{exp}","expected #{this} to not deep equally contain #{exp}",s)}),o("toBeTruthy",function(){const s=t.flag(this,"object");this.assert(!!s,"expected #{this} to be truthy","expected #{this} to not be truthy",!0,s)}),o("toBeFalsy",function(){const s=t.flag(this,"object");this.assert(!s,"expected #{this} to be falsy","expected #{this} to not be falsy",!1,s)}),o("toBeGreaterThan",function(s){const c=this._obj;return Ve(c,"actual",["number","bigint"]),Ve(s,"expected",["number","bigint"]),this.assert(c>s,`expected ${c} to be greater than ${s}`,`expected ${c} to be not greater than ${s}`,s,c,!1)}),o("toBeGreaterThanOrEqual",function(s){const c=this._obj;return Ve(c,"actual",["number","bigint"]),Ve(s,"expected",["number","bigint"]),this.assert(c>=s,`expected ${c} to be greater than or equal to ${s}`,`expected ${c} to be not greater than or equal to ${s}`,s,c,!1)}),o("toBeLessThan",function(s){const c=this._obj;return Ve(c,"actual",["number","bigint"]),Ve(s,"expected",["number","bigint"]),this.assert(c<s,`expected ${c} to be less than ${s}`,`expected ${c} to be not less than ${s}`,s,c,!1)}),o("toBeLessThanOrEqual",function(s){const c=this._obj;return Ve(c,"actual",["number","bigint"]),Ve(s,"expected",["number","bigint"]),this.assert(c<=s,`expected ${c} to be less than or equal to ${s}`,`expected ${c} to be not less than or equal to ${s}`,s,c,!1)}),o("toBeNaN",function(){const s=t.flag(this,"object");this.assert(Number.isNaN(s),"expected #{this} to be NaN","expected #{this} not to be NaN",Number.NaN,s)}),o("toBeUndefined",function(){const s=t.flag(this,"object");this.assert(s===void 0,"expected #{this} to be undefined","expected #{this} not to be undefined",void 0,s)}),o("toBeNull",function(){const s=t.flag(this,"object");this.assert(s===null,"expected #{this} to be null","expected #{this} not to be null",null,s)}),o("toBeNullable",function(){const s=t.flag(this,"object");this.assert(s==null,"expected #{this} to be nullish","expected #{this} not to be nullish",null,s)}),o("toBeDefined",function(){const s=t.flag(this,"object");this.assert(typeof s<"u","expected #{this} to be defined","expected #{this} to be undefined",s)}),o("toBeTypeOf",function(s){const c=typeof this._obj,d=s===c;return this.assert(d,"expected #{this} to be type of #{exp}","expected #{this} not to be type of #{exp}",s,c)}),o("toBeInstanceOf",function(s){return this.instanceOf(s)}),o("toHaveLength",function(s){return this.have.length(s)}),o("toHaveProperty",function(...s){Array.isArray(s[0])&&(s[0]=s[0].map(R=>String(R).replace(/([.[\]])/g,"\\$1")).join("."));const c=this._obj,[d,f]=s,p=()=>Object.hasOwn(c,d)?{value:c[d],exists:!0}:t.getPathInfo(c,d),{value:m,exists:h}=p(),g=h&&(s.length===1||ae(f,m,n)),b=s.length===1?"":` with value ${t.objDisplay(f)}`;return this.assert(g,`expected #{this} to have property "${d}"${b}`,`expected #{this} to not have property "${d}"${b}`,f,h?m:void 0)}),o("toBeCloseTo",function(s,c=2){const d=this._obj;let f=!1,p=0,m=0;return s===Number.POSITIVE_INFINITY&&d===Number.POSITIVE_INFINITY||s===Number.NEGATIVE_INFINITY&&d===Number.NEGATIVE_INFINITY?f=!0:(p=10**-c/2,m=Math.abs(d-s),f=m<p),this.assert(f,`expected #{this} to be close to #{exp}, received difference is ${m}, but expected ${p}`,`expected #{this} to not be close to #{exp}, received difference is ${m}, but expected ${p}`,s,d,!1)});function i(s){if(!ls(s._obj))throw new TypeError(`${t.inspect(s._obj)} is not a spy or a call to a spy!`)}function a(s){return i(s),s._obj}o(["toHaveBeenCalledTimes","toBeCalledTimes"],function(s){const c=a(this),d=c.getMockName(),f=c.mock.calls.length;return this.assert(f===s,`expected "${d}" to be called #{exp} times, but got ${f} times`,`expected "${d}" to not be called #{exp} times`,s,f,!1)}),o("toHaveBeenCalledOnce",function(){const s=a(this),c=s.getMockName(),d=s.mock.calls.length;return this.assert(d===1,`expected "${c}" to be called once, but got ${d} times`,`expected "${c}" to not be called once`,1,d,!1)}),o(["toHaveBeenCalled","toBeCalled"],function(){const s=a(this),c=s.getMockName(),d=s.mock.calls.length,f=d>0,p=t.flag(this,"negate");let m=t.getMessage(this,[f,`expected "${c}" to be called at least once`,`expected "${c}" to not be called at all, but actually been called ${d} times`,!0,f]);if(f&&p&&(m=ms(s,m)),f&&p||!f&&!p)throw new r(m)});function l(s,c){return s.length===c.length&&s.every((d,f)=>ae(d,c[f],[...n,We]))}o(["toHaveBeenCalledWith","toBeCalledWith"],function(...s){const c=a(this),d=c.getMockName(),f=c.mock.calls.some(h=>l(h,s)),p=t.flag(this,"negate"),m=t.getMessage(this,[f,`expected "${d}" to be called with arguments: #{exp}`,`expected "${d}" to not be called with arguments: #{exp}`,s]);if(f&&p||!f&&!p)throw new r(ms(c,m,s))}),o("toHaveBeenCalledExactlyOnceWith",function(...s){const c=a(this),d=c.getMockName(),f=c.mock.calls.length,m=c.mock.calls.some(b=>l(b,s))&&f===1,h=t.flag(this,"negate"),g=t.getMessage(this,[m,`expected "${d}" to be called once with arguments: #{exp}`,`expected "${d}" to not be called once with arguments: #{exp}`,s]);if(m&&h||!m&&!h)throw new r(ms(c,g,s))}),o(["toHaveBeenNthCalledWith","nthCalledWith"],function(s,...c){const d=a(this),f=d.getMockName(),p=d.mock.calls[s-1],m=d.mock.calls.length,h=s<=m;this.assert(p&&l(p,c),`expected ${pi(s)} "${f}" call to have been called with #{exp}${h?"":`, but called only ${m} times`}`,`expected ${pi(s)} "${f}" call to not have been called with #{exp}`,c,p,h)}),o(["toHaveBeenLastCalledWith","lastCalledWith"],function(...s){const c=a(this),d=c.getMockName(),f=c.mock.calls.at(-1);this.assert(f&&l(f,s),`expected last "${d}" call to have been called with #{exp}`,`expected last "${d}" call to not have been called with #{exp}`,s,f)});function u(s,c,d){const f=s.mock.invocationCallOrder,p=c.mock.invocationCallOrder;return f.length===0?!d:p.length===0?!1:f[0]<p[0]}o(["toHaveBeenCalledBefore"],function(s,c=!0){const d=a(this);if(!ls(s))throw new TypeError(`${t.inspect(s)} is not a spy or a call to a spy`);this.assert(u(d,s,c),`expected "${d.getMockName()}" to have been called before "${s.getMockName()}"`,`expected "${d.getMockName()}" to not have been called before "${s.getMockName()}"`,s,d)}),o(["toHaveBeenCalledAfter"],function(s,c=!0){const d=a(this);if(!ls(s))throw new TypeError(`${t.inspect(s)} is not a spy or a call to a spy`);this.assert(u(s,d,c),`expected "${d.getMockName()}" to have been called after "${s.getMockName()}"`,`expected "${d.getMockName()}" to not have been called after "${s.getMockName()}"`,s,d)}),o(["toThrow","toThrowError"],function(s){if(typeof s=="string"||typeof s>"u"||s instanceof RegExp)return this.throws(s===""?/^$/:s);const c=this._obj,d=t.flag(this,"promise"),f=t.flag(this,"negate");let p=null;if(d==="rejects")p=c;else if(d==="resolves"&&typeof c!="function"){if(f)return;{const m=t.flag(this,"message")||"expected promise to throw an error, but it didn't",h={showDiff:!1};throw new r(m,h,t.flag(this,"ssfi"))}}else{let m=!1;try{c()}catch(h){m=!0,p=h}if(!m&&!f){const h=t.flag(this,"message")||"expected function to throw an error, but it didn't",g={showDiff:!1};throw new r(h,g,t.flag(this,"ssfi"))}}if(typeof s=="function"){const m=s.name||s.prototype.constructor.name;return this.assert(p&&p instanceof s,`expected error to be instance of ${m}`,`expected error not to be instance of ${m}`,s,p)}if(s instanceof Error){const m=ae(p,s,[...n,We]);return this.assert(m,"expected a thrown error to be #{exp}","expected a thrown error not to be #{exp}",s,p)}if(typeof s=="object"&&"asymmetricMatch"in s&&typeof s.asymmetricMatch=="function"){const m=s;return this.assert(p&&m.asymmetricMatch(p),"expected error to match asymmetric matcher","expected error not to match asymmetric matcher",m,p)}throw new Error(`"toThrow" expects string, RegExp, function, Error instance or asymmetric matcher, got "${typeof s}"`)}),[{name:"toHaveResolved",condition:s=>s.mock.settledResults.length>0&&s.mock.settledResults.some(({type:c})=>c==="fulfilled"),action:"resolved"},{name:["toHaveReturned","toReturn"],condition:s=>s.mock.calls.length>0&&s.mock.results.some(({type:c})=>c!=="throw"),action:"called"}].forEach(({name:s,condition:c,action:d})=>{o(s,function(){const f=a(this),p=f.getMockName(),m=c(f);this.assert(m,`expected "${p}" to be successfully ${d} at least once`,`expected "${p}" to not be successfully ${d}`,m,!m,!1)})}),[{name:"toHaveResolvedTimes",condition:(s,c)=>s.mock.settledResults.reduce((d,{type:f})=>f==="fulfilled"?++d:d,0)===c,action:"resolved"},{name:["toHaveReturnedTimes","toReturnTimes"],condition:(s,c)=>s.mock.results.reduce((d,{type:f})=>f==="throw"?d:++d,0)===c,action:"called"}].forEach(({name:s,condition:c,action:d})=>{o(s,function(f){const p=a(this),m=p.getMockName(),h=c(p,f);this.assert(h,`expected "${m}" to be successfully ${d} ${f} times`,`expected "${m}" to not be successfully ${d} ${f} times`,`expected resolved times: ${f}`,`received resolved times: ${h}`,!1)})}),[{name:"toHaveResolvedWith",condition:(s,c)=>s.mock.settledResults.some(({type:d,value:f})=>d==="fulfilled"&&ae(c,f)),action:"resolve"},{name:["toHaveReturnedWith","toReturnWith"],condition:(s,c)=>s.mock.results.some(({type:d,value:f})=>d==="return"&&ae(c,f)),action:"return"}].forEach(({name:s,condition:c,action:d})=>{o(s,function(f){const p=a(this),m=c(p,f),h=t.flag(this,"negate");if(m&&h||!m&&!h){const g=p.getMockName(),b=t.getMessage(this,[m,`expected "${g}" to ${d} with: #{exp} at least once`,`expected "${g}" to not ${d} with: #{exp}`,f]),R=d==="return"?p.mock.results:p.mock.settledResults;throw new r(uS(p,R,b,f))}})}),[{name:"toHaveLastResolvedWith",condition:(s,c)=>{const d=s.mock.settledResults.at(-1);return!!(d&&d.type==="fulfilled"&&ae(d.value,c))},action:"resolve"},{name:["toHaveLastReturnedWith","lastReturnedWith"],condition:(s,c)=>{const d=s.mock.results.at(-1);return!!(d&&d.type==="return"&&ae(d.value,c))},action:"return"}].forEach(({name:s,condition:c,action:d})=>{o(s,function(f){const p=a(this),h=(d==="return"?p.mock.results:p.mock.settledResults).at(-1),g=p.getMockName();this.assert(c(p,f),`expected last "${g}" call to ${d} #{exp}`,`expected last "${g}" call to not ${d} #{exp}`,f,h?.value)})}),[{name:"toHaveNthResolvedWith",condition:(s,c,d)=>{const f=s.mock.settledResults[c-1];return f&&f.type==="fulfilled"&&ae(f.value,d)},action:"resolve"},{name:["toHaveNthReturnedWith","nthReturnedWith"],condition:(s,c,d)=>{const f=s.mock.results[c-1];return f&&f.type==="return"&&ae(f.value,d)},action:"return"}].forEach(({name:s,condition:c,action:d})=>{o(s,function(f,p){const m=a(this),h=m.getMockName(),b=(d==="return"?m.mock.results:m.mock.settledResults)[f-1],R=`${pi(f)} call`;this.assert(c(m,f,p),`expected ${R} "${h}" call to ${d} #{exp}`,`expected ${R} "${h}" call to not ${d} #{exp}`,p,b?.value)})}),o("withContext",function(s){for(const c in s)t.flag(this,c,s[c]);return this}),t.addProperty(e.Assertion.prototype,"resolves",function(){const c=new Error("resolves");t.flag(this,"promise","resolves"),t.flag(this,"error",c);const d=t.flag(this,"vitest-test"),f=t.flag(this,"object");if(t.flag(this,"poll"))throw new SyntaxError("expect.poll() is not supported in combination with .resolves");if(typeof f?.then!="function")throw new TypeError(`You must provide a Promise to expect() when using .resolves, not '${typeof f}'.`);const p=new Proxy(this,{get:(m,h,g)=>{const b=Reflect.get(m,h,g);return typeof b!="function"?b instanceof e.Assertion?p:b:(...R)=>{t.flag(this,"_name",h);const T=f.then(_=>(t.flag(this,"object",_),b.call(this,...R)),_=>{const x=new r(`promise rejected "${t.inspect(_)}" instead of resolving`,{showDiff:!1});throw x.cause=_,x.stack=c.stack.replace(c.message,x.message),x});return hm(d,T,mm(t,this,!!R.length),c)}}});return p}),t.addProperty(e.Assertion.prototype,"rejects",function(){const c=new Error("rejects");t.flag(this,"promise","rejects"),t.flag(this,"error",c);const d=t.flag(this,"vitest-test"),f=t.flag(this,"object"),p=typeof f=="function"?f():f;if(t.flag(this,"poll"))throw new SyntaxError("expect.poll() is not supported in combination with .rejects");if(typeof p?.then!="function")throw new TypeError(`You must provide a Promise to expect() when using .rejects, not '${typeof p}'.`);const m=new Proxy(this,{get:(h,g,b)=>{const R=Reflect.get(h,g,b);return typeof R!="function"?R instanceof e.Assertion?m:R:(...T)=>{t.flag(this,"_name",g);const _=p.then(x=>{const v=new r(`promise resolved "${t.inspect(x)}" instead of rejecting`,{showDiff:!0,expected:new Error("rejected promise"),actual:x});throw v.stack=c.stack.replace(c.message,v.message),v},x=>(t.flag(this,"object",x),R.call(this,...T)));return hm(d,_,mm(t,this,!!T.length),c)}}});return m})};function pi(e){const t=e%10,r=e%100;return t===1&&r!==11?`${e}st`:t===2&&r!==12?`${e}nd`:t===3&&r!==13?`${e}rd`:`${e}th`}function ms(e,t,r){return e.mock.calls.length&&(t+=_e.gray(`
138
-
139
- Received:
140
-
141
- ${e.mock.calls.map((n,o)=>{let i=_e.bold(` ${pi(o+1)} ${e.getMockName()} call:
142
-
143
- `);return r?i+=ur(r,n,{omitAnnotationLines:!0}):i+=Fe(n).split(`
144
- `).map(a=>` ${a}`).join(`
145
- `),i+=`
146
- `,i}).join(`
147
- `)}`)),t+=_e.gray(`
148
-
149
- Number of calls: ${_e.bold(e.mock.calls.length)}
150
- `),t}function uS(e,t,r,n){return t.length&&(r+=_e.gray(`
151
-
152
- Received:
153
-
154
- ${t.map((o,i)=>{let a=_e.bold(` ${pi(i+1)} ${e.getMockName()} call return:
155
-
156
- `);return n?a+=ur(n,o.value,{omitAnnotationLines:!0}):a+=Fe(o).split(`
157
- `).map(l=>` ${l}`).join(`
158
- `),a+=`
159
- `,a}).join(`
160
- `)}`)),r+=_e.gray(`
161
-
162
- Number of calls: ${_e.bold(e.mock.calls.length)}
163
- `),r}function cS(e,t){const r=e._obj,n=xe.flag(e,"negate"),o=xe.flag(e,"promise")||"",i=xe.flag(e,"message"),a={...Cg(),diff:ur,stringify:Fe,iterableEquality:We,subsetEquality:fr};let l=xe.flag(e,"vitest-test");const u=l?.fullTestName??"";return l?.type!=="test"&&(l=void 0),{state:{...di(t),task:l,currentTestName:u,customTesters:Pu(),isNot:n,utils:a,promise:o,equals:ae,suppressedErrors:[],soft:xe.flag(e,"soft"),poll:xe.flag(e,"poll")},isNot:n,obj:r,customMessage:i}}class gm extends Error{constructor(t,r,n){super(t),this.actual=r,this.expected=n}}function fS(e,t,r){return(n,o)=>{Object.entries(r).forEach(([i,a])=>{function l(...d){const{state:f,isNot:p,obj:m,customMessage:h}=cS(this,t),g=a.call(f,m,...d);if(g&&typeof g=="object"&&typeof g.then=="function")return g.then(({pass:v,message:y,actual:S,expected:N})=>{if(v&&p||!v&&!p){const I=h??y();throw new gm(I,S,N)}});const{pass:b,message:R,actual:T,expected:_}=g;if(b&&p||!b&&!p){const x=h??R();throw new gm(x,T,_)}}const u=qg(o,i,l);o.addMethod(globalThis[Mi].matchers,i,u),o.addMethod(e.Assertion.prototype,i,u);class s extends ct{constructor(f=!1,...p){super(p,f)}asymmetricMatch(f){const{pass:p}=a.call(this.getMatcherContext(t),f,...this.sample);return this.inverse?!p:p}toString(){return`${this.inverse?"not.":""}${i}`}getExpectedType(){return"any"}toAsymmetricMatcher(){return`${this.toString()}<${this.sample.map(f=>Fe(f)).join(", ")}>`}}const c=(...d)=>new s(!1,...d);Object.defineProperty(t,i,{configurable:!0,enumerable:!0,value:c,writable:!0}),Object.defineProperty(t.not,i,{configurable:!0,enumerable:!0,value:(...d)=>new s(!0,...d),writable:!0}),Object.defineProperty(globalThis[xu],i,{configurable:!0,enumerable:!0,value:c,writable:!0})})}}const dS=(e,t)=>{t.addMethod(e.expect,"extend",(r,n)=>{Wt(fS(e,r,n))})},ym=Symbol("vitest:SAFE_TIMERS");function Ou(){const{setTimeout:e,setInterval:t,clearInterval:r,clearTimeout:n,setImmediate:o,clearImmediate:i,queueMicrotask:a}=globalThis[ym]||globalThis,{nextTick:l}=globalThis[ym]||globalThis.process||{};return{nextTick:l,setTimeout:e,setInterval:t,clearInterval:r,clearTimeout:n,setImmediate:o,clearImmediate:i,queueMicrotask:a}}function pS(e,t=setTimeout){return new Promise(r=>t(r,e))}const mS=/^[A-Za-z]:\//;function hS(e=""){return e&&e.replace(/\\/g,"/").replace(mS,t=>t.toUpperCase())}const bS=/^[/\\](?![/\\])|^[/\\]{2}(?!\.)|^[A-Za-z]:[/\\]/;function gS(){return typeof process<"u"&&typeof process.cwd=="function"?process.cwd().replace(/\\/g,"/"):"/"}const yS=function(...e){e=e.map(n=>hS(n));let t="",r=!1;for(let n=e.length-1;n>=-1&&!r;n--){const o=n>=0?e[n]:gS();!o||o.length===0||(t=`${o}/${t}`,r=vm(o))}return t=vS(t,!r),r&&!vm(t)?`/${t}`:t.length>0?t:"."};function vS(e,t){let r="",n=0,o=-1,i=0,a=null;for(let l=0;l<=e.length;++l){if(l<e.length)a=e[l];else{if(a==="/")break;a="/"}if(a==="/"){if(!(o===l-1||i===1))if(i===2){if(r.length<2||n!==2||r[r.length-1]!=="."||r[r.length-2]!=="."){if(r.length>2){const u=r.lastIndexOf("/");u===-1?(r="",n=0):(r=r.slice(0,u),n=r.length-1-r.lastIndexOf("/")),o=l,i=0;continue}else if(r.length>0){r="",n=0,o=l,i=0;continue}}t&&(r+=r.length>0?"/..":"..",n=2)}else r.length>0?r+=`/${e.slice(o+1,l)}`:r=e.slice(o+1,l),n=l-o-1;o=l,i=0}else a==="."&&i!==-1?++i:i=-1}return r}const vm=function(e){return bS.test(e)};var wm="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",wS=new Uint8Array(64),RS=new Uint8Array(128);for(let e=0;e<wm.length;e++){const t=wm.charCodeAt(e);wS[e]=t,RS[t]=e}const Og=/^\s*at .*(?:\S:\d+|\(native\))/m,ES=/^(?:eval@)?(?:\[native code\])?$/;function Mg(e){if(!e.includes(":"))return[e];const r=/(.+?)(?::(\d+))?(?::(\d+))?$/.exec(e.replace(/^\(|\)$/g,""));if(!r)return[e];let n=r[1];if(n.startsWith("async ")&&(n=n.slice(6)),n.startsWith("http:")||n.startsWith("https:")){const o=new URL(n);o.searchParams.delete("import"),o.searchParams.delete("browserv"),n=o.pathname+o.hash+o.search}if(n.startsWith("/@fs/")){const o=/^\/@fs\/[a-zA-Z]:\//.test(n);n=n.slice(o?5:4)}return[n,r[2]||void 0,r[3]||void 0]}function _S(e){let t=e.trim();if(ES.test(t)||(t.includes(" > eval")&&(t=t.replace(/ line (\d+)(?: > eval line \d+)* > eval:\d+:\d+/g,":$1")),!t.includes("@")))return null;let r=-1,n="",o;for(let u=0;u<t.length;u++)if(t[u]==="@"){const s=t.slice(u+1);if(s.includes(":")&&s.length>=3){r=u,n=s,o=u>0?t.slice(0,u):void 0;break}}if(r===-1||!n.includes(":")||n.length<3)return null;const[i,a,l]=Mg(n);return!i||!a||!l?null:{file:i,method:o||"",line:Number.parseInt(a),column:Number.parseInt(l)}}function CS(e){const t=e.trim();return Og.test(t)?TS(t):_S(t)}function TS(e){let t=e.trim();if(!Og.test(t))return null;t.includes("(eval ")&&(t=t.replace(/eval code/g,"eval").replace(/(\(eval at [^()]*)|(,.*$)/g,""));let r=t.replace(/^\s+/,"").replace(/\(eval code/g,"(").replace(/^.*?\s+/,"");const n=r.match(/ (\(.+\)$)/);r=n?r.replace(n[0],""):r;const[o,i,a]=Mg(n?n[1]:r);let l=n&&r||"",u=o&&["eval","<anonymous>"].includes(o)?void 0:o;return!u||!i||!a?null:(l.startsWith("async ")&&(l=l.slice(6)),u.startsWith("file://")&&(u=u.slice(7)),u=u.startsWith("node:")||u.startsWith("internal:")?u:yS(u),l&&(l=l.replace(/__vite_ssr_import_\d+__\./g,"").replace(/(Object\.)?__vite_ssr_export_default__\s?/g,"")),{method:l,file:u,line:Number.parseInt(i),column:Number.parseInt(a)})}function Ag(e,t){function r(o){const i=function(...a){return t.apply(o,a)};Object.assign(i,t),i.withContext=()=>i.bind(o),i.setContext=(a,l)=>{o[a]=l},i.mergeContext=a=>{Object.assign(o,a)};for(const a of e)Object.defineProperty(i,a,{get(){return r({...o,[a]:!0})}});return i}const n=r({});return n.fn=t,n}function $g(e,t){const r=t.split(`
164
- `).slice(1);for(const n of r){const o=CS(n);if(o&&o.file===e)return o}}function xS(e){const t=[e.name];let r=e;for(;r?.suite;)r=r.suite,r?.name&&t.unshift(r.name);return r!==e.file&&t.unshift(e.file.name),t}function Vi(e,t=" > "){return e.filter(r=>r!==void 0).join(t)}class SS extends Error{code="VITEST_PENDING";taskId;constructor(t,r,n){super(t),this.message=t,this.note=n,this.taskId=r.id}}const PS=new WeakMap,Ng=new WeakMap,Ig=new WeakMap;function qS(e,t){PS.set(e,t)}function OS(e,t){Ng.set(e,t)}function MS(e){return Ng.get(e)}function AS(e,t){Ig.set(e,t)}function $S(e){return Ig.get(e)}function NS(e,t){const r=t.reduce((i,a)=>(i[a.prop]=a,i),{}),n={};e.forEach(i=>{const a=r[i.prop]||{...i};n[a.prop]=a});for(const i in n){var o;const a=n[i];a.deps=(o=a.deps)===null||o===void 0?void 0:o.map(l=>n[l.prop])}return Object.values(n)}function jg(e,t,r){const n=["auto","injected","scope"],o=Object.entries(e).map(([i,a])=>{const l={value:a};if(Array.isArray(a)&&a.length>=2&&Qt(a[1])&&Object.keys(a[1]).some(s=>n.includes(s))){var u;Object.assign(l,a[1]);const s=a[0];l.value=l.injected?((u=r.injectValue)===null||u===void 0?void 0:u.call(r,i))??s:s}return l.scope=l.scope||"test",l.scope==="worker"&&!r.getWorkerContext&&(l.scope="file"),l.prop=i,l.isFn=typeof l.value=="function",l});return Array.isArray(t.fixtures)?t.fixtures=t.fixtures.concat(o):t.fixtures=o,o.forEach(i=>{if(i.isFn){const l=Fg(i.value);if(l.length&&(i.deps=t.fixtures.filter(({prop:u})=>u!==i.prop&&l.includes(u))),i.scope!=="test"){var a;(a=i.deps)===null||a===void 0||a.forEach(u=>{if(u.isFn&&!(i.scope==="worker"&&u.scope==="worker")&&!(i.scope==="file"&&u.scope!=="test"))throw new SyntaxError(`cannot use the ${u.scope} fixture "${u.prop}" inside the ${i.scope} fixture "${i.prop}"`)})}}}),t}const hs=new Map,er=new Map;function Mu(e,t,r){return n=>{const o=n||r;if(!o)return t({});const i=MS(o);if(!i?.length)return t(o);const a=Fg(t),l=i.some(({auto:p})=>p);if(!a.length&&!l)return t(o);hs.get(o)||hs.set(o,new Map);const u=hs.get(o);er.has(o)||er.set(o,[]);const s=er.get(o),c=i.filter(({prop:p,auto:m})=>m||a.includes(p)),d=Dg(c);if(!d.length)return t(o);async function f(){for(const p of d){if(u.has(p))continue;const m=await IS(e,p,o,s);o[p.prop]=m,u.set(p,m),p.scope==="test"&&s.unshift(()=>{u.delete(p)})}}return f().then(()=>t(o))}}const Hi=new WeakMap;function IS(e,t,r,n){var o;const i=rP(r.task.file),a=(o=e.getWorkerContext)===null||o===void 0?void 0:o.call(e);if(!t.isFn){var l;if(i[l=t.prop]??(i[l]=t.value),a){var u;a[u=t.prop]??(a[u]=t.value)}return t.value}if(t.scope==="test")return Rm(t.value,r,n);if(Hi.has(t))return Hi.get(t);let s;if(t.scope==="worker"){if(!a)throw new TypeError("[@vitest/runner] The worker context is not available in the current test runner. Please, provide the `getWorkerContext` method when initiating the runner.");s=a}else s=i;if(t.prop in s)return s[t.prop];er.has(s)||er.set(s,[]);const c=er.get(s),d=Rm(t.value,s,c).then(f=>(s[t.prop]=f,Hi.delete(t),f));return Hi.set(t,d),d}async function Rm(e,t,r){const n=qp();let o=!1;const i=e(t,async a=>{o=!0,n.resolve(a);const l=qp();r.push(async()=>{l.resolve(),await i}),await l}).catch(a=>{if(!o){n.reject(a);return}throw a});return n}function Dg(e,t=new Set,r=[]){return e.forEach(n=>{if(!r.includes(n)){if(!n.isFn||!n.deps){r.push(n);return}if(t.has(n))throw new Error(`Circular fixture dependency detected: ${n.prop} <- ${[...t].reverse().map(o=>o.prop).join(" <- ")}`);t.add(n),Dg(n.deps,t,r),r.push(n),t.clear()}}),r}function Fg(e){let t=jS(e.toString());/__async\((?:this|null), (?:null|arguments|\[[_0-9, ]*\]), function\*/.test(t)&&(t=t.split(/__async\((?:this|null),/)[1]);const r=t.match(/[^(]*\(([^)]*)/);if(!r)return[];const n=Em(r[1]);if(!n.length)return[];let o=n[0];if("__VITEST_FIXTURE_INDEX__"in e&&(o=n[e.__VITEST_FIXTURE_INDEX__],!o))return[];if(!(o[0]==="{"&&o.endsWith("}")))throw new Error(`The first argument inside a fixture must use object destructuring pattern, e.g. ({ test } => {}). Instead, received "${o}".`);const i=o.slice(1,-1).replace(/\s/g,""),a=Em(i).map(u=>u.replace(/:.*|=.*/g,"")),l=a.at(-1);if(l&&l.startsWith("..."))throw new Error(`Rest parameters are not supported in fixtures, received "${l}".`);return a}function jS(e){const t=[];let r="none";for(let n=0;n<e.length;++n)r==="singleline"?e[n]===`
165
- `&&(r="none"):r==="multiline"?e[n-1]==="*"&&e[n]==="/"&&(r="none"):r==="none"&&(e[n]==="/"&&e[n+1]==="/"?r="singleline":e[n]==="/"&&e[n+1]==="*"?(r="multiline",n+=2):t.push(e[n]));return t.join("")}function Em(e){const t=[],r=[];let n=0;for(let i=0;i<e.length;i++)if(e[i]==="{"||e[i]==="[")r.push(e[i]==="{"?"}":"]");else if(e[i]===r.at(-1))r.pop();else if(!r.length&&e[i]===","){const a=e.substring(n,i).trim();a&&t.push(a),n=i+1}const o=e.substring(n).trim();return o&&t.push(o),t}function Ei(){return Ai().config.hookTimeout}const kg=Symbol.for("VITEST_CLEANUP_TIMEOUT"),Lg=Symbol.for("VITEST_CLEANUP_STACK_TRACE");function DS(e,t=Ei()){Ve(e,'"beforeAll" callback',["function"]);const r=new Error("STACK_TRACE_ERROR");return Bt().on("beforeAll",Object.assign(Ut(e,t,!0,r),{[kg]:t,[Lg]:r}))}function FS(e,t){return Ve(e,'"afterAll" callback',["function"]),Bt().on("afterAll",Ut(e,t??Ei(),!0,new Error("STACK_TRACE_ERROR")))}function kS(e,t=Ei()){Ve(e,'"beforeEach" callback',["function"]);const r=new Error("STACK_TRACE_ERROR"),n=Ai();return Bt().on("beforeEach",Object.assign(Ut(Mu(n,e),t??Ei(),!0,r,$u),{[kg]:t,[Lg]:r}))}function LS(e,t){Ve(e,'"afterEach" callback',["function"]);const r=Ai();return Bt().on("afterEach",Ut(Mu(r,e),t??Ei(),!0,new Error("STACK_TRACE_ERROR"),$u))}const Kt=GS(),BS=Au(function(e,t,r){Bt().test.fn.call(this,Mt(e),t,r)}),US=Kt,bs=BS;let lt,Bg,zS;function Ug(e,t){if(!e)throw new Error(`Vitest failed to find ${t}. One of the following is possible:
166
- - "vitest" is imported directly without running "vitest" command
167
- - "vitest" is imported inside "globalSetup" (to fix this, use "setupFiles" instead, because "globalSetup" runs in a different context)
168
- - "vitest" is imported inside Vite / Vitest config file
169
- - Otherwise, it might be a Vitest bug. Please report it to https://github.com/vitest-dev/vitest/issues
170
- `)}function Ai(){return Ug(lt,"the runner"),lt}function Bt(){const e=Ke.currentSuite||Bg;return Ug(e,"the current suite"),e}function VS(){return{beforeAll:[],afterAll:[],beforeEach:[],afterEach:[]}}function tr(e,t){if(t!=null&&typeof t=="object")throw new TypeError('Signature "test(name, fn, { ... })" was deprecated in Vitest 3 and removed in Vitest 4. Please, provide options as a second argument instead.');let r={},n;if(typeof t=="number"?r={timeout:t}:typeof e=="object"&&(r=e),typeof e=="function"){if(typeof t=="function")throw new TypeError("Cannot use two functions as arguments. Please use the second argument for options.");n=e}else typeof t=="function"&&(n=t);return{options:r,handler:n}}function HS(e,t=()=>{},r,n,o,i){const a=[];let l;p();const u=function(g="",b={}){var R,T,_;const x=b?.timeout??lt.config.testTimeout,v=(R=Ke.currentSuite)===null||R===void 0?void 0:R.suite,y={id:"",name:g,fullName:Vi([v?.fullName??((T=Ke.currentSuite)===null||T===void 0||(T=T.file)===null||T===void 0?void 0:T.fullName),g]),fullTestName:Vi([v?.fullTestName,g]),suite:v,each:b.each,fails:b.fails,context:void 0,type:"test",file:v?.file??((_=Ke.currentSuite)===null||_===void 0?void 0:_.file),timeout:x,retry:b.retry??lt.config.retry,repeats:b.repeats,mode:b.only?"only":b.skip?"skip":b.todo?"todo":"run",meta:b.meta??Object.create(null),annotations:[],artifacts:[]},S=b.handler;y.mode==="run"&&!S&&(y.mode="todo"),(b.concurrent||!b.sequential&&lt.config.sequence.concurrent)&&(y.concurrent=!0),y.shuffle=o?.shuffle;const N=QS(y,lt);Object.defineProperty(y,"context",{value:N,enumerable:!1}),OS(N,b.fixtures);const I=Error.stackTraceLimit;Error.stackTraceLimit=15;const L=new Error("STACK_TRACE_ERROR");if(Error.stackTraceLimit=I,S&&qS(y,Ut(WS(Mu(lt,S,N),y),x,!1,L,(B,$)=>$u([N],$))),lt.config.includeTaskLocation){const B=L.stack,$=$g(zS,B);$&&(y.location={line:$.line,column:$.column})}return a.push(y),y},s=Au(function(g,b,R){let{options:T,handler:_}=tr(b,R);typeof o=="object"&&(T=Object.assign({},o,T)),T.concurrent=this.concurrent||!this.sequential&&T?.concurrent,T.sequential=this.sequential||!this.concurrent&&T?.sequential;const x=u(Mt(g),{...this,...T,handler:_});x.type="test"});let c=i;const d={type:"collector",name:e,mode:r,suite:l,options:o,test:s,tasks:a,collect:h,task:u,clear:m,on:f,fixtures(){return c},scoped(g){const b=jg(g,{fixtures:c},lt);b.fixtures&&(c=b.fixtures)}};function f(g,...b){$S(l)[g].push(...b)}function p(g){var b,R,T;typeof o=="number"&&(o={timeout:o});const _=(b=Ke.currentSuite)===null||b===void 0?void 0:b.suite;l={id:"",type:"suite",name:e,fullName:Vi([_?.fullName??((R=Ke.currentSuite)===null||R===void 0||(R=R.file)===null||R===void 0?void 0:R.fullName),e]),fullTestName:Vi([_?.fullTestName,e]),suite:_,mode:r,each:n,file:_?.file??((T=Ke.currentSuite)===null||T===void 0?void 0:T.file),shuffle:o?.shuffle,tasks:[],meta:Object.create(null),concurrent:o?.concurrent},AS(l,VS())}function m(){a.length=0,p()}async function h(g){if(!g)throw new TypeError("File is required to collect tasks.");t&&await XS(d,()=>t(s));const b=[];for(const R of a)b.push(R.type==="collector"?await R.collect(g):R);return l.tasks=b,l}return JS(d),d}function WS(e,t){return(async(...r)=>{const n=await e(...r);if(t.promises){const i=(await Promise.allSettled(t.promises)).map(a=>a.status==="rejected"?a.reason:void 0).filter(Boolean);if(i.length)throw i}return n})}function GS(){function e(t,r,n){var o;let i=this.only?"only":this.skip?"skip":this.todo?"todo":"run";const a=Ke.currentSuite||Bg;let{options:l,handler:u}=tr(r,n);i==="run"&&!u&&(i="todo");const s=l.concurrent||this.concurrent||l.sequential===!1,c=l.sequential||this.sequential||l.concurrent===!1;l={...a?.options,...l,shuffle:this.shuffle??l.shuffle??(a==null||(o=a.options)===null||o===void 0?void 0:o.shuffle)??void 0};const d=s||l.concurrent&&!c,f=c||l.sequential&&!s;return l.concurrent=d&&!f,l.sequential=f&&!d,HS(Mt(t),u,i,this.each,l,a?.fixtures())}return e.each=function(t,...r){const n=this.withContext();return this.setContext("each",!0),Array.isArray(t)&&r.length&&(t=ya(t,r)),(o,i,a)=>{const l=Mt(o),u=t.every(Array.isArray),{options:s,handler:c}=tr(i,a),d=typeof i=="function";t.forEach((f,p)=>{const m=Array.isArray(f)?f:[f];d?u?n(ut(l,m,p),c?()=>c(...m):void 0,s.timeout):n(ut(l,m,p),c?()=>c(f):void 0,s.timeout):u?n(ut(l,m,p),s,c?()=>c(...m):void 0):n(ut(l,m,p),s,c?()=>c(f):void 0)}),this.setContext("each",void 0)}},e.for=function(t,...r){return Array.isArray(t)&&r.length&&(t=ya(t,r)),(n,o,i)=>{const a=Mt(n),{options:l,handler:u}=tr(o,i);t.forEach((s,c)=>{Kt(ut(a,fb(s),c),l,u?()=>u(s):void 0)})}},e.skipIf=t=>t?Kt.skip:Kt,e.runIf=t=>t?Kt:Kt.skip,Ag(["concurrent","sequential","shuffle","skip","only","todo"],e)}function KS(e,t){const r=e;r.each=function(o,...i){const a=this.withContext();return this.setContext("each",!0),Array.isArray(o)&&i.length&&(o=ya(o,i)),(l,u,s)=>{const c=Mt(l),d=o.every(Array.isArray),{options:f,handler:p}=tr(u,s),m=typeof u=="function";o.forEach((h,g)=>{const b=Array.isArray(h)?h:[h];m?d?a(ut(c,b,g),p?()=>p(...b):void 0,f.timeout):a(ut(c,b,g),p?()=>p(h):void 0,f.timeout):d?a(ut(c,b,g),f,p?()=>p(...b):void 0):a(ut(c,b,g),f,p?()=>p(h):void 0)}),this.setContext("each",void 0)}},r.for=function(o,...i){const a=this.withContext();return Array.isArray(o)&&i.length&&(o=ya(o,i)),(l,u,s)=>{const c=Mt(l),{options:d,handler:f}=tr(u,s);o.forEach((p,m)=>{const h=f?g=>f(p,g):void 0;h&&(h.__VITEST_FIXTURE_INDEX__=1,h.toString=()=>f.toString()),a(ut(c,fb(p),m),d,h)})}},r.skipIf=function(o){return o?this.skip:this},r.runIf=function(o){return o?this:this.skip},r.scoped=function(o){Bt().scoped(o)},r.extend=function(o){const i=jg(o,t||{},lt),a=e;return Au(function(l,u,s){const d=Bt().fixtures(),f={...this};d&&(f.fixtures=NS(f.fixtures||[],d)),a.call(f,Mt(l),u,s)},i)},r.beforeEach=kS,r.afterEach=LS,r.beforeAll=DS,r.afterAll=FS;const n=Ag(["concurrent","sequential","skip","only","todo","fails"],r);return t&&n.mergeContext(t),n}function Au(e,t){return KS(e,t)}function Mt(e){return typeof e=="string"?e:typeof e=="function"?e.name||"<anonymous>":String(e)}function ut(e,t,r){(e.includes("%#")||e.includes("%$"))&&(e=e.replace(/%%/g,"__vitest_escaped_%__").replace(/%#/g,`${r}`).replace(/%\$/g,`${r+1}`).replace(/__vitest_escaped_%__/g,"%%"));const n=e.split("%").length-1;e.includes("%f")&&(e.match(/%f/g)||[]).forEach((s,c)=>{if(Tx(t[c])||Object.is(t[c],-0)){let d=0;e=e.replace(/%f/g,f=>(d++,d===c+1?"-%f":f))}});const o=Qt(t[0]);function i(u){return u.replace(/\$([$\w.]+)/g,(s,c)=>{const d=/^\d+$/.test(c);if(!o&&!d)return`$${c}`;const f=d?Pp(t,c):void 0,p=o?Pp(t[0],c,f):f;return Rx(p,{truncate:void 0})})}let a="",l=0;return YS(e,ub,u=>{l<n?a+=wx(u[0],t[l++]):a+=u[0]},u=>{a+=i(u)}),a}function YS(e,t,r,n){let o=0;for(const i of e.matchAll(t))o<i.index&&n(e.slice(o,i.index)),r(i),o=i.index+i[0].length;o<e.length&&n(e.slice(o))}function ya(e,t){const r=e.join("").trim().replace(/ /g,"").split(`
171
- `).map(o=>o.split("|"))[0],n=[];for(let o=0;o<Math.floor(t.length/r.length);o++){const i={};for(let a=0;a<r.length;a++)i[r[a]]=t[o*r.length+a];n.push(i)}return n}const _m=Date.now,Ke={currentSuite:null};function JS(e){var t;(t=Ke.currentSuite)===null||t===void 0||t.tasks.push(e)}async function XS(e,t){const r=Ke.currentSuite;Ke.currentSuite=e,await t(),Ke.currentSuite=r}function Ut(e,t,r=!1,n,o){if(t<=0||t===Number.POSITIVE_INFINITY)return e;const{setTimeout:i,clearTimeout:a}=Ou();return(function(...u){const s=_m(),c=Ai();return c._currentTaskStartTime=s,c._currentTaskTimeout=t,new Promise((d,f)=>{var p;const m=i(()=>{a(m),h()},t);(p=m.unref)===null||p===void 0||p.call(m);function h(){const R=eP(r,t,n);o?.(u,R),f(R)}function g(R){if(c._currentTaskStartTime=void 0,c._currentTaskTimeout=void 0,a(m),_m()-s>=t){h();return}d(R)}function b(R){c._currentTaskStartTime=void 0,c._currentTaskTimeout=void 0,a(m),f(R)}try{const R=e(...u);typeof R=="object"&&R!=null&&typeof R.then=="function"?R.then(g,b):g(R)}catch(R){b(R)}})})}const wl=new WeakMap;function $u([e],t){e&&ZS(e,t)}function ZS(e,t){const r=wl.get(e);r?.abort(t)}function QS(e,t){var r;const n=function(){throw new Error("done() callback is deprecated, use promise instead")};let o=wl.get(n);return o||(o=new AbortController,wl.set(n,o)),n.signal=o.signal,n.task=e,n.skip=(i,a)=>{if(i!==!1)throw e.result??(e.result={state:"skip"}),e.result.pending=!0,new SS("test is skipped; abort execution",e,typeof i=="string"?i:a)},n.annotate=((i,a,l)=>{if(e.result&&e.result.state!=="run")throw new Error(`Cannot annotate tests outside of the test run. The test "${e.name}" finished running with the "${e.result.state}" state already.`);const u={message:i,type:typeof a=="object"||a===void 0?"notice":a},s=typeof a=="object"?a:l;return s&&(u.attachment=s,Vg(u.attachment)),aP(e,oP(e,{type:"internal:annotation",annotation:u}).then(async({annotation:c})=>{if(!t.onTestAnnotate)throw new Error("Test runner doesn't support test annotations.");await zg(t);const d=await t.onTestAnnotate(e,c);return e.annotations.push(d),d}))}),n.onTestFailed=(i,a)=>{e.onFailed||(e.onFailed=[]),e.onFailed.push(Ut(i,a??t.config.hookTimeout,!0,new Error("STACK_TRACE_ERROR"),(l,u)=>o.abort(u)))},n.onTestFinished=(i,a)=>{e.onFinished||(e.onFinished=[]),e.onFinished.push(Ut(i,a??t.config.hookTimeout,!0,new Error("STACK_TRACE_ERROR"),(l,u)=>o.abort(u)))},((r=t.extendTaskContext)===null||r===void 0?void 0:r.call(t,n))||n}function eP(e,t,r){const n=`${e?"Hook":"Test"} timed out in ${t}ms.
172
- If this is a long-running ${e?"hook":"test"}, pass a timeout value as the last argument or configure it globally with "${e?"hookTimeout":"testTimeout"}".`,o=new Error(n);return r?.stack&&(o.stack=r.stack.replace(o.message,r.message)),o}const tP=new WeakMap;function rP(e){const t=tP.get(e);if(!t)throw new Error(`Cannot find file context for ${e.name}`);return t}globalThis.performance?globalThis.performance.now.bind(globalThis.performance):Date.now;globalThis.performance?globalThis.performance.now.bind(globalThis.performance):Date.now;Ou();const gs=new Map,Cm=[],ta=[];function nP(e){if(gs.size){var t;const r=Array.from(gs).map(([o,i])=>[o,i[0],i[1]]),n=(t=e.onTaskUpdate)===null||t===void 0?void 0:t.call(e,r,Cm);n&&(ta.push(n),n.then(()=>ta.splice(ta.indexOf(n),1),()=>{})),Cm.length=0,gs.clear()}}async function zg(e){nP(e),await Promise.all(ta)}async function oP(e,t){const r=Ai();if(e.result&&e.result.state!=="run")throw new Error(`Cannot record a test artifact outside of the test run. The test "${e.name}" finished running with the "${e.result.state}" state already.`);const n=$g(e.file.filepath,new Error("STACK_TRACE").stack);if(n&&(t.location={file:n.file,line:n.line,column:n.column},t.type==="internal:annotation"&&(t.annotation.location=t.location)),Array.isArray(t.attachments))for(const i of t.attachments)Vg(i);if(t.type==="internal:annotation")return t;if(!r.onTestArtifactRecord)throw new Error("Test runner doesn't support test artifacts.");await zg(r);const o=await r.onTestArtifactRecord(e,t);return e.artifacts.push(o),o}const He=[];for(let e=65;e<91;e++)He.push(String.fromCharCode(e));for(let e=97;e<123;e++)He.push(String.fromCharCode(e));for(let e=0;e<10;e++)He.push(e.toString(10));He.push("+","/");function iP(e){let t="";const r=e.byteLength;for(let n=0;n<r;n+=3)if(r===n+1){const o=(e[n]&252)>>2,i=(e[n]&3)<<4;t+=He[o],t+=He[i],t+="=="}else if(r===n+2){const o=(e[n]&252)>>2,i=(e[n]&3)<<4|(e[n+1]&240)>>4,a=(e[n+1]&15)<<2;t+=He[o],t+=He[i],t+=He[a],t+="="}else{const o=(e[n]&252)>>2,i=(e[n]&3)<<4|(e[n+1]&240)>>4,a=(e[n+1]&15)<<2|(e[n+2]&192)>>6,l=e[n+2]&63;t+=He[o],t+=He[i],t+=He[a],t+=He[l]}return t}function aP(e,t){return t=t.finally(()=>{if(!e.promises)return;const r=e.promises.indexOf(t);r!==-1&&e.promises.splice(r,1)}),e.promises||(e.promises=[]),e.promises.push(t),t}function Vg(e){if(e.body==null&&!e.path)throw new TypeError('Test attachment requires "body" or "path" to be set. Both are missing.');if(e.body&&e.path)throw new TypeError('Test attachment requires only one of "body" or "path" to be set. Both are specified.');e.body instanceof Uint8Array&&(e.body=iP(e.body))}const sP="__vitest_worker__";function Hg(){const e=globalThis[sP];if(!e)throw new Error(`Vitest failed to access its internal state.
173
-
174
- One of the following is possible:
175
- - "vitest" is imported directly without running "vitest" command
176
- - "vitest" is imported inside "globalSetup" (to fix this, use "setupFiles" instead, because "globalSetup" runs in a different context)
177
- - "vitest" is imported inside Vite / Vitest config file
178
- - Otherwise, it might be a Vitest bug. Please report it to https://github.com/vitest-dev/vitest/issues
179
- `);return e}const lP="modulepreload",uP=function(e){return"/"+e},Tm={},cP=function(t,r,n){let o=Promise.resolve();if(r&&r.length>0){let u=function(s){return Promise.all(s.map(c=>Promise.resolve(c).then(d=>({status:"fulfilled",value:d}),d=>({status:"rejected",reason:d}))))};document.getElementsByTagName("link");const a=document.querySelector("meta[property=csp-nonce]"),l=a?.nonce||a?.getAttribute("nonce");o=u(r.map(s=>{if(s=uP(s),s in Tm)return;Tm[s]=!0;const c=s.endsWith(".css"),d=c?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${s}"]${d}`))return;const f=document.createElement("link");if(f.rel=c?"stylesheet":lP,c||(f.as="script"),f.crossOrigin="",f.href=s,l&&f.setAttribute("nonce",l),document.head.appendChild(f),c)return new Promise((p,m)=>{f.addEventListener("load",p),f.addEventListener("error",()=>m(new Error(`Unable to preload CSS for ${s}`)))})}))}function i(a){const l=new Event("vite:preloadError",{cancelable:!0});if(l.payload=a,window.dispatchEvent(l),!l.defaultPrevented)throw a}return o.then(a=>{for(const l of a||[])l.status==="rejected"&&i(l.reason);return t().catch(i)})},fP=/^[A-Za-z]:\//;function dP(e=""){return e&&e.replace(/\\/g,"/").replace(fP,t=>t.toUpperCase())}const pP=/^[/\\](?![/\\])|^[/\\]{2}(?!\.)|^[A-Za-z]:[/\\]/;function mP(){return typeof process<"u"&&typeof process.cwd=="function"?process.cwd().replace(/\\/g,"/"):"/"}const Wg=function(...e){e=e.map(n=>dP(n));let t="",r=!1;for(let n=e.length-1;n>=-1&&!r;n--){const o=n>=0?e[n]:mP();!o||o.length===0||(t=`${o}/${t}`,r=xm(o))}return t=hP(t,!r),r&&!xm(t)?`/${t}`:t.length>0?t:"."};function hP(e,t){let r="",n=0,o=-1,i=0,a=null;for(let l=0;l<=e.length;++l){if(l<e.length)a=e[l];else{if(a==="/")break;a="/"}if(a==="/"){if(!(o===l-1||i===1))if(i===2){if(r.length<2||n!==2||r[r.length-1]!=="."||r[r.length-2]!=="."){if(r.length>2){const u=r.lastIndexOf("/");u===-1?(r="",n=0):(r=r.slice(0,u),n=r.length-1-r.lastIndexOf("/")),o=l,i=0;continue}else if(r.length>0){r="",n=0,o=l,i=0;continue}}t&&(r+=r.length>0?"/..":"..",n=2)}else r.length>0?r+=`/${e.slice(o+1,l)}`:r=e.slice(o+1,l),n=l-o-1;o=l,i=0}else a==="."&&i!==-1?++i:i=-1}return r}const xm=function(e){return pP.test(e)};var bP=44,Sm="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",gP=new Uint8Array(64),Gg=new Uint8Array(128);for(let e=0;e<Sm.length;e++){const t=Sm.charCodeAt(e);gP[e]=t,Gg[t]=e}function oi(e,t){let r=0,n=0,o=0;do{const a=e.next();o=Gg[a],r|=(o&31)<<n,n+=5}while(o&32);const i=r&1;return r>>>=1,i&&(r=-2147483648|-r),t+r}function Pm(e,t){return e.pos>=t?!1:e.peek()!==bP}var yP=class{constructor(e){this.pos=0,this.buffer=e}next(){return this.buffer.charCodeAt(this.pos++)}peek(){return this.buffer.charCodeAt(this.pos)}indexOf(e){const{buffer:t,pos:r}=this,n=t.indexOf(e,r);return n===-1?t.length:n}};function vP(e){const{length:t}=e,r=new yP(e),n=[];let o=0,i=0,a=0,l=0,u=0;do{const s=r.indexOf(";"),c=[];let d=!0,f=0;for(o=0;r.pos<s;){let p;o=oi(r,o),o<f&&(d=!1),f=o,Pm(r,s)?(i=oi(r,i),a=oi(r,a),l=oi(r,l),Pm(r,s)?(u=oi(r,u),p=[o,i,a,l,u]):p=[o,i,a,l]):p=[o],c.push(p),r.pos++}d||wP(c),n.push(c),r.pos=s+1}while(r.pos<=t);return n}function wP(e){e.sort(RP)}function RP(e,t){return e[0]-t[0]}var Ua=0,EP=1,_P=2,CP=3,TP=4,va=!1;function xP(e,t,r,n){for(;r<=n;){const o=r+(n-r>>1),i=e[o][Ua]-t;if(i===0)return va=!0,o;i<0?r=o+1:n=o-1}return va=!1,r-1}function SP(e,t,r){for(let n=r+1;n<e.length&&e[n][Ua]===t;r=n++);return r}function PP(e,t,r){for(let n=r-1;n>=0&&e[n][Ua]===t;r=n--);return r}function qP(e,t,r,n){const{lastKey:o,lastNeedle:i,lastIndex:a}=r;let l=0,u=e.length-1;if(n===o){if(t===i)return va=a!==-1&&e[a][Ua]===t,a;t>=i?l=a===-1?0:a:u=a}return r.lastKey=n,r.lastNeedle=t,r.lastIndex=xP(e,t,l,u)}var OP="`line` must be greater than 0 (lines start at line 1)",MP="`column` must be greater than or equal to 0 (columns start at column 0)",qm=-1,AP=1;function $P(e){var t;return(t=e)._decoded||(t._decoded=vP(e._encoded))}function NP(e,t){let{line:r,column:n,bias:o}=t;if(r--,r<0)throw new Error(OP);if(n<0)throw new Error(MP);const i=$P(e);if(r>=i.length)return Wi(null,null,null,null);const a=i[r],l=IP(a,e._decodedMemo,r,n,o||AP);if(l===-1)return Wi(null,null,null,null);const u=a[l];if(u.length===1)return Wi(null,null,null,null);const{names:s,resolvedSources:c}=e;return Wi(c[u[EP]],u[_P]+1,u[CP],u.length===5?s[u[TP]]:null)}function Wi(e,t,r,n){return{source:e,line:t,column:r,name:n}}function IP(e,t,r,n,o){let i=qP(e,n,t,r);return va?i=(o===qm?SP:PP)(e,n,i):o===qm&&i++,i===-1||i===e.length?-1:i}function Kg(e){return e!=null}function jP(e){return e===null||typeof e!="function"&&typeof e!="object"}function ra(e){return e!=null&&typeof e=="object"&&!Array.isArray(e)}function DP(e){let t=-1,r=null,n=0,o=0,i=null;for(;t<=e.length;){i=e[t],t++;const a=e[t];if((a==='"'||a==="'"||a==="`")&&i!=="\\"&&(r===a?r=null:r||(r=a)),r||(a==="("&&n++,a===")"&&o++),n&&o&&n===o)return t}return null}const Yg=/^\s*at .*(?:\S:\d+|\(native\))/m,FP=/^(?:eval@)?(?:\[native code\])?$/,kP=["node:internal",/\/packages\/\w+\/dist\//,/\/@vitest\/\w+\/dist\//,"/vitest/dist/","/vitest/src/","/node_modules/chai/","/node_modules/tinyspy/","/vite/dist/node/module-runner","/rolldown-vite/dist/node/module-runner","/deps/chunk-","/deps/@vitest","/deps/loupe","/deps/chai","/browser-playwright/dist/locators.js","/browser-webdriverio/dist/locators.js","/browser-preview/dist/locators.js",/node:\w+/,/__vitest_test__/,/__vitest_browser__/,/\/deps\/vitest_/];function Jg(e){if(!e.includes(":"))return[e];const r=/(.+?)(?::(\d+))?(?::(\d+))?$/.exec(e.replace(/^\(|\)$/g,""));if(!r)return[e];let n=r[1];if(n.startsWith("async ")&&(n=n.slice(6)),n.startsWith("http:")||n.startsWith("https:")){const o=new URL(n);o.searchParams.delete("import"),o.searchParams.delete("browserv"),n=o.pathname+o.hash+o.search}if(n.startsWith("/@fs/")){const o=/^\/@fs\/[a-zA-Z]:\//.test(n);n=n.slice(o?5:4)}return[n,r[2]||void 0,r[3]||void 0]}function LP(e){let t=e.trim();if(FP.test(t)||(t.includes(" > eval")&&(t=t.replace(/ line (\d+)(?: > eval line \d+)* > eval:\d+:\d+/g,":$1")),!t.includes("@")))return null;let r=-1,n="",o;for(let u=0;u<t.length;u++)if(t[u]==="@"){const s=t.slice(u+1);if(s.includes(":")&&s.length>=3){r=u,n=s,o=u>0?t.slice(0,u):void 0;break}}if(r===-1||!n.includes(":")||n.length<3)return null;const[i,a,l]=Jg(n);return!i||!a||!l?null:{file:i,method:o||"",line:Number.parseInt(a),column:Number.parseInt(l)}}function BP(e){let t=e.trim();if(!Yg.test(t))return null;t.includes("(eval ")&&(t=t.replace(/eval code/g,"eval").replace(/(\(eval at [^()]*)|(,.*$)/g,""));let r=t.replace(/^\s+/,"").replace(/\(eval code/g,"(").replace(/^.*?\s+/,"");const n=r.match(/ (\(.+\)$)/);r=n?r.replace(n[0],""):r;const[o,i,a]=Jg(n?n[1]:r);let l=n&&r||"",u=o&&["eval","<anonymous>"].includes(o)?void 0:o;return!u||!i||!a?null:(l.startsWith("async ")&&(l=l.slice(6)),u.startsWith("file://")&&(u=u.slice(7)),u=u.startsWith("node:")||u.startsWith("internal:")?u:Wg(u),l&&(l=l.replace(/__vite_ssr_import_\d+__\./g,"").replace(/(Object\.)?__vite_ssr_export_default__\s?/g,"")),{method:l,file:u,line:Number.parseInt(i),column:Number.parseInt(a)})}function ys(e,t={}){const{ignoreStackEntries:r=kP}=t;return(Yg.test(e)?zP(e):UP(e)).map(o=>{var i;t.getUrlId&&(o.file=t.getUrlId(o.file));const a=(i=t.getSourceMap)===null||i===void 0?void 0:i.call(t,o.file);if(!a||typeof a!="object"||!a.version)return Om(r,o.file)?null:o;const l=new HP(a,o.file),u=GP(l,o);if(!u)return o;const{line:s,column:c,source:d,name:f}=u;let p=d||o.file;return p.match(/\/\w:\//)&&(p=p.slice(1)),Om(r,p)?null:s!=null&&c!=null?{line:s,column:c,file:p,method:f||o.method}:o}).filter(o=>o!=null)}function Om(e,t){return e.some(r=>t.match(r))}function UP(e){return e.split(`
180
- `).map(t=>LP(t)).filter(Kg)}function zP(e){return e.split(`
181
- `).map(t=>BP(t)).filter(Kg)}function VP(e,t={}){if(!e||jP(e))return[];if("stacks"in e&&e.stacks)return e.stacks;const r=e.stack||"";let n=typeof r=="string"?ys(r,t):[];if(!n.length){const o=e;o.fileName!=null&&o.lineNumber!=null&&o.columnNumber!=null&&(n=ys(`${o.fileName}:${o.lineNumber}:${o.columnNumber}`,t)),o.sourceURL!=null&&o.line!=null&&o._column!=null&&(n=ys(`${o.sourceURL}:${o.line}:${o.column}`,t))}return t.frameFilter&&(n=n.filter(o=>t.frameFilter(e,o)!==!1)),e.stacks=n,n}class HP{_encoded;_decoded;_decodedMemo;url;version;names=[];resolvedSources;constructor(t,r){this.map=t;const{mappings:n,names:o,sources:i}=t;this.version=t.version,this.names=o||[],this._encoded=n||"",this._decodedMemo=WP(),this.url=r,this.resolvedSources=(i||[]).map(a=>Wg(a||"",r))}}function WP(){return{lastKey:-1,lastNeedle:-1,lastIndex:-1}}function GP(e,t){const r=NP(e,t);return r.column==null?null:r}const Nu=/\r?\n/;function KP(e,t,r){const n=e.split(Nu),o=/\r\n/.test(e)?2:1;let i=0;if(t>n.length)return e.length;for(let a=0;a<t-1;a++)i+=n[a].length+o;return i+r}function YP(e,t){if(t>e.length)throw new Error(`offset is longer than source length! offset ${t} > length ${e.length}`);const r=e.split(Nu),n=/\r\n/.test(e)?2:1;let o=0,i=0;for(;i<r.length;i++){const a=r[i].length+n;if(o+a>=t)break;o+=a}return i+1}async function JP(e,t){const r=(await cP(async()=>{const{default:o}=await import("./magic-string.es-DjU5CGuV.js");return{default:o}},[])).default,n=new Set(t.map(o=>o.file));await Promise.all(Array.from(n).map(async o=>{const i=t.filter(s=>s.file===o),a=await e.readSnapshotFile(o),l=new r(a);for(const s of i){const c=KP(a,s.line,s.column);rq(a,l,c,s.snapshot)}const u=l.toString();u!==a&&await e.saveSnapshotFile(o,u)}))}const XP=/(?:toMatchInlineSnapshot|toThrowErrorMatchingInlineSnapshot)\s*\(\s*(?:\/\*[\s\S]*\*\/\s*|\/\/.*(?:[\n\r\u2028\u2029]\s*|[\t\v\f \xA0\u1680\u2000-\u200A\u202F\u205F\u3000\uFEFF]))*\{/;function ZP(e,t,r,n){let o=e.slice(r);const i=XP.exec(o);if(!i)return!1;o=o.slice(i.index);let a=DP(o);if(a===null)return!1;a+=r+i.index;const l=r+i.index+i[0].length,u=QP(e,l),s=`, ${Xg(n,e,r)}`;return u===a?t.appendLeft(a,s):t.overwrite(u,a,s),!0}function QP(e,t){let r=1,n=0;for(;r!==n&&t<e.length;){const o=e[t++];o==="{"?r++:o==="}"&&n++}return t}function Xg(e,t,r){const n=YP(t,r),i=t.split(Nu)[n-1].match(/^\s*/)[0]||"",a=i.includes(" ")?`${i} `:`${i} `,l=e.trim().replace(/\\/g,"\\\\").split(/\n/g),u=l.length<=1,s="`";return u?`${s}${l.join(`
182
- `).replace(/`/g,"\\`").replace(/\$\{/g,"\\${")}${s}`:`${s}
183
- ${l.map(c=>c?a+c:"").join(`
184
- `).replace(/`/g,"\\`").replace(/\$\{/g,"\\${")}
185
- ${i}${s}`}const Mm="toMatchInlineSnapshot",Am="toThrowErrorMatchingInlineSnapshot";function eq(e,t){const r=t-Mm.length;if(e.slice(r,t)===Mm)return{code:e.slice(r),index:r};const n=t-Am.length;return e.slice(t-n,t)===Am?{code:e.slice(t-n),index:t-n}:{code:e.slice(t),index:t}}const tq=/(?:toMatchInlineSnapshot|toThrowErrorMatchingInlineSnapshot)\s*\(\s*(?:\/\*[\s\S]*\*\/\s*|\/\/.*(?:[\n\r\u2028\u2029]\s*|[\t\v\f \xA0\u1680\u2000-\u200A\u202F\u205F\u3000\uFEFF]))*[\w$]*(['"`)])/;function rq(e,t,r,n){const{code:o,index:i}=eq(e,r),a=tq.exec(o),l=/toMatchInlineSnapshot|toThrowErrorMatchingInlineSnapshot/.exec(o);if(!a||a.index!==l?.index)return ZP(e,t,i,n);const u=a[1],s=i+a.index+a[0].length,c=Xg(n,e,i);if(u===")")return t.appendRight(s-1,c),!0;const f=new RegExp(`(?:^|[^\\\\])${u}`).exec(e.slice(s));if(!f)return!1;const p=s+f.index+f[0].length;return t.overwrite(s-1,p,c),!0}const nq=/^([^\S\n]*)\S/m;function $m(e){var t;const r=e.match(nq);if(!r||!r[1])return e;const n=r[1],o=e.split(/\n/g);if(o.length<=2||o[0].trim()!==""||((t=o.at(-1))===null||t===void 0?void 0:t.trim())!=="")return e;for(let i=1;i<o.length-1;i++)if(o[i]!==""){if(o[i].indexOf(n)!==0)return e;o[i]=o[i].substring(n.length)}return o[o.length-1]="",e=o.join(`
186
- `),e}async function oq(e,t){await Promise.all(t.map(async r=>{r.readonly||await e.saveSnapshotFile(r.file,r.snapshot)}))}function iq(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var vs={exports:{}},Nm;function aq(){if(Nm)return vs.exports;Nm=1;var e=function(t,r){var n,o,i=1,a=0,l=0,u=String.alphabet;function s(c,d,f){if(f){for(n=d;f=s(c,n),f<76&&f>65;)++n;return+c.slice(d-1,n)}return f=u&&u.indexOf(c.charAt(d)),f>-1?f+76:(f=c.charCodeAt(d)||0,f<45||f>127?f:f<46?65:f<48?f-1:f<58?f+18:f<65?f-11:f<91?f+11:f<97?f-37:f<123?f+5:f-63)}if((t+="")!=(r+="")){for(;i;)if(o=s(t,a++),i=s(r,l++),o<76&&i<76&&o>66&&i>66&&(o=s(t,a,a),i=s(r,l,a=n),l=n),o!=i)return o<i?-1:1}return 0};try{vs.exports=e}catch{String.naturalCompare=e}return vs.exports}var sq=aq(),lq=iq(sq);const uq=(e,t,r,n,o,i)=>{const a=e.getMockName(),l=a==="vi.fn()"?"":` ${a}`;let u="";if(e.mock.calls.length!==0){const s=r+t.indent;u=` {${t.spacingOuter}${s}"calls": ${i(e.mock.calls,t,s,n,o)}${t.min?", ":","}${t.spacingOuter}${s}"results": ${i(e.mock.results,t,s,n,o)}${t.min?"":","}${t.spacingOuter}${r}}`}return`[MockFunction${l}]${u}`},cq=e=>e&&!!e._isMockFunction,fq={serialize:uq,test:cq},{DOMCollection:dq,DOMElement:pq,Immutable:mq,ReactElement:hq,ReactTestComponent:bq,AsymmetricMatcher:gq}=xa;let Rl=[bq,hq,pq,dq,mq,gq,fq];function yq(e){Rl=[e].concat(Rl)}function vq(){return Rl}function wq(e,t){return`${e} ${t}`}function Rq(e){if(!/ \d+$/.test(e))throw new Error("Snapshot keys must end with a number.");return e.replace(/ \d+$/,"")}function Eq(e,t){const r=t.updateSnapshot,n=Object.create(null);let o="",i=!1;if(e!=null)try{o=e,new Function("exports",o)(n)}catch{}return(r==="all"||r==="new")&&o&&(i=!0),{data:n,dirty:i}}function _q(e){return e.includes(`
187
- `)?`
188
- ${e}
189
- `:e}function Im(e){return e.length>2&&e[0]===`
190
- `&&e.endsWith(`
191
- `)?e.slice(1,-1):e}const Cq=!0,Tq=!1;function xq(e,t=2,r={}){return Iu(et(e,{escapeRegex:Cq,indent:t,plugins:vq(),printFunctionName:Tq,...r}))}function Sq(e){return e.replace(/`|\\|\$\{/g,"\\$&")}function jm(e){return`\`${Sq(e)}\``}function Iu(e){return e.replace(/\r\n|\r/g,`
192
- `)}async function Pq(e,t,r){const n=Object.keys(t).sort(lq).map(l=>`exports[${jm(l)}] = ${jm(Iu(t[l]))};`),o=`${e.getHeader()}
193
-
194
- ${n.join(`
195
-
196
- `)}
197
- `,i=await e.readSnapshotFile(r);i!=null&&i===o||await e.saveSnapshotFile(r,o)}function El(e=[],t=[]){const r=Array.from(e);return t.forEach((n,o)=>{const i=r[o];Array.isArray(e[o])?r[o]=El(e[o],n):ra(i)?r[o]=ju(e[o],n):r[o]=n}),r}function ju(e,t){if(ra(e)&&ra(t)){const r={...e};return Object.keys(t).forEach(n=>{ra(t[n])&&!t[n].$$typeof?n in e?r[n]=ju(e[n],t[n]):Object.assign(r,{[n]:t[n]}):Array.isArray(t[n])?r[n]=El(e[n],t[n]):Object.assign(r,{[n]:t[n]})}),r}else if(Array.isArray(e)&&Array.isArray(t))return El(e,t);return e}class Zg extends Map{constructor(t,r){super(r),this.defaultFn=t}get(t){return this.has(t)||this.set(t,this.defaultFn(t)),super.get(t)}}class ii extends Zg{constructor(){super(()=>0)}_total;valueOf(){return this._total=this.total()}increment(t){typeof this._total<"u"&&this._total++,this.set(t,this.get(t)+1)}total(){if(typeof this._total<"u")return this._total;let t=0;for(const r of this.values())t+=r;return t}}function Dm(e,t){return e.file===t.file&&e.column===t.column&&e.line===t.line}class Du{_counters=new ii;_dirty;_updateSnapshot;_snapshotData;_initialData;_inlineSnapshots;_inlineSnapshotStacks;_testIdToKeys=new Zg(()=>[]);_rawSnapshots;_uncheckedKeys;_snapshotFormat;_environment;_fileExists;expand;_added=new ii;_matched=new ii;_unmatched=new ii;_updated=new ii;get added(){return this._added}set added(t){this._added._total=t}get matched(){return this._matched}set matched(t){this._matched._total=t}get unmatched(){return this._unmatched}set unmatched(t){this._unmatched._total=t}get updated(){return this._updated}set updated(t){this._updated._total=t}constructor(t,r,n,o){this.testFilePath=t,this.snapshotPath=r;const{data:i,dirty:a}=Eq(n,o);this._fileExists=n!=null,this._initialData={...i},this._snapshotData={...i},this._dirty=a,this._inlineSnapshots=[],this._inlineSnapshotStacks=[],this._rawSnapshots=[],this._uncheckedKeys=new Set(Object.keys(this._snapshotData)),this.expand=o.expand||!1,this._updateSnapshot=o.updateSnapshot,this._snapshotFormat={printBasicPrototype:!1,escapeString:!1,...o.snapshotFormat},this._environment=o.snapshotEnvironment}static async create(t,r){const n=await r.snapshotEnvironment.resolvePath(t),o=await r.snapshotEnvironment.readSnapshotFile(n);return new Du(t,n,o,r)}get environment(){return this._environment}markSnapshotsAsCheckedForTest(t){this._uncheckedKeys.forEach(r=>{/ \d+$| > /.test(r.slice(t.length))&&this._uncheckedKeys.delete(r)})}clearTest(t){this._inlineSnapshots=this._inlineSnapshots.filter(r=>r.testId!==t),this._inlineSnapshotStacks=this._inlineSnapshotStacks.filter(r=>r.testId!==t);for(const r of this._testIdToKeys.get(t)){const n=Rq(r),o=this._counters.get(n);o>0&&((r in this._snapshotData||r in this._initialData)&&(this._snapshotData[r]=this._initialData[r]),this._counters.set(n,o-1))}this._testIdToKeys.delete(t),this.added.delete(t),this.updated.delete(t),this.matched.delete(t),this.unmatched.delete(t)}_inferInlineSnapshotStack(t){const r=t.findIndex(o=>o.method.match(/__VITEST_(RESOLVES|REJECTS)__/));if(r!==-1)return t[r+3];const n=t.findIndex(o=>o.method.includes("__INLINE_SNAPSHOT__"));return n!==-1?t[n+2]:null}_addSnapshot(t,r,n){this._dirty=!0,n.stack?this._inlineSnapshots.push({snapshot:r,testId:n.testId,...n.stack}):n.rawSnapshot?this._rawSnapshots.push({...n.rawSnapshot,snapshot:r}):this._snapshotData[t]=r}async save(){const t=Object.keys(this._snapshotData).length,r=this._inlineSnapshots.length,n=this._rawSnapshots.length,o=!t&&!r&&!n,i={deleted:!1,saved:!1};return(this._dirty||this._uncheckedKeys.size)&&!o?(t&&(await Pq(this._environment,this._snapshotData,this.snapshotPath),this._fileExists=!0),r&&await JP(this._environment,this._inlineSnapshots),n&&await oq(this._environment,this._rawSnapshots),i.saved=!0):!t&&this._fileExists&&(this._updateSnapshot==="all"&&(await this._environment.removeSnapshotFile(this.snapshotPath),this._fileExists=!1),i.deleted=!0),i}getUncheckedCount(){return this._uncheckedKeys.size||0}getUncheckedKeys(){return Array.from(this._uncheckedKeys)}removeUncheckedKeys(){this._updateSnapshot==="all"&&this._uncheckedKeys.size&&(this._dirty=!0,this._uncheckedKeys.forEach(t=>delete this._snapshotData[t]),this._uncheckedKeys.clear())}match({testId:t,testName:r,received:n,key:o,inlineSnapshot:i,isInline:a,error:l,rawSnapshot:u}){this._counters.increment(r);const s=this._counters.get(r);o||(o=wq(r,s)),this._testIdToKeys.get(t).push(o),a&&this._snapshotData[o]!==void 0||this._uncheckedKeys.delete(o);let c=u&&typeof n=="string"?n:xq(n,void 0,this._snapshotFormat);u||(c=_q(c)),u&&u.content&&u.content.match(/\r\n/)&&!c.match(/\r\n/)&&(u.content=Iu(u.content));const d=a?i:u?u.content:this._snapshotData[o],f=u?d:d?.trim(),p=f===(u?c:c.trim()),m=d!==void 0,h=a||this._fileExists||u&&u.content!=null;p&&!a&&!u&&(this._snapshotData[o]=c);let g;if(a){var b,R;const T=VP(l||new Error("snapshot"),{ignoreStackEntries:[]}),_=this._inferInlineSnapshotStack(T);if(!_)throw new Error(`@vitest/snapshot: Couldn't infer stack frame for inline snapshot.
198
- ${JSON.stringify(T)}`);g=((b=(R=this.environment).processStackTrace)===null||b===void 0?void 0:b.call(R,_))||_,g.column--;const x=this._inlineSnapshotStacks.filter(v=>Dm(v,g));if(x.length>0){this._inlineSnapshots=this._inlineSnapshots.filter(y=>!Dm(y,g));const v=x.find(y=>y.snapshot!==c);if(v)throw Object.assign(new Error("toMatchInlineSnapshot with different snapshots cannot be called at the same location"),{actual:c,expected:v.snapshot})}this._inlineSnapshotStacks.push({...g,testId:t,snapshot:c})}return m&&this._updateSnapshot==="all"||(!m||!h)&&(this._updateSnapshot==="new"||this._updateSnapshot==="all")?(this._updateSnapshot==="all"?p?this.matched.increment(t):(m?this.updated.increment(t):this.added.increment(t),this._addSnapshot(o,c,{stack:g,testId:t,rawSnapshot:u})):(this._addSnapshot(o,c,{stack:g,testId:t,rawSnapshot:u}),this.added.increment(t)),{actual:"",count:s,expected:"",key:o,pass:!0}):p?(this.matched.increment(t),{actual:"",count:s,expected:"",key:o,pass:!0}):(this.unmatched.increment(t),{actual:u?c:Im(c),count:s,expected:f!==void 0?u?f:Im(f):void 0,key:o,pass:!1})}async pack(){const t={filepath:this.testFilePath,added:0,fileDeleted:!1,matched:0,unchecked:0,uncheckedKeys:[],unmatched:0,updated:0},r=this.getUncheckedCount(),n=this.getUncheckedKeys();r&&this.removeUncheckedKeys();const o=await this.save();return t.fileDeleted=o.deleted,t.added=this.added.total(),t.matched=this.matched.total(),t.unmatched=this.unmatched.total(),t.updated=this.updated.total(),t.unchecked=o.deleted?0:r,t.uncheckedKeys=Array.from(n),t}}function Fm(e,t,r,n){const o=new Error(e);return Object.defineProperty(o,"actual",{value:r,enumerable:!0,configurable:!0,writable:!0}),Object.defineProperty(o,"expected",{value:n,enumerable:!0,configurable:!0,writable:!0}),Object.defineProperty(o,"diffOptions",{value:{expand:t}}),o}class qq{snapshotStateMap=new Map;constructor(t={}){this.options=t}async setup(t,r){this.snapshotStateMap.has(t)||this.snapshotStateMap.set(t,await Du.create(t,r))}async finish(t){const n=await this.getSnapshotState(t).pack();return this.snapshotStateMap.delete(t),n}skipTest(t,r){this.getSnapshotState(t).markSnapshotsAsCheckedForTest(r)}clearTest(t,r){this.getSnapshotState(t).clearTest(r)}getSnapshotState(t){const r=this.snapshotStateMap.get(t);if(!r)throw new Error(`The snapshot state for '${t}' is not found. Did you call 'SnapshotClient.setup()'?`);return r}assert(t){const{filepath:r,name:n,testId:o=n,message:i,isInline:a=!1,properties:l,inlineSnapshot:u,error:s,errorMessage:c,rawSnapshot:d}=t;let{received:f}=t;if(!r)throw new Error("Snapshot cannot be used outside of test");const p=this.getSnapshotState(r);if(typeof l=="object"){if(typeof f!="object"||!f)throw new Error("Received value must be an object when the matcher has properties");try{var m,h;if(((m=(h=this.options).isEqual)===null||m===void 0?void 0:m.call(h,f,l))??!1)f=ju(f,l);else throw Fm("Snapshot properties mismatched",p.expand,f,l)}catch(x){throw x.message=c||"Snapshot mismatched",x}}const g=[n,...i?[i]:[]].join(" > "),{actual:b,expected:R,key:T,pass:_}=p.match({testId:o,testName:g,received:f,isInline:a,error:s,inlineSnapshot:u,rawSnapshot:d});if(!_)throw Fm(`Snapshot \`${T||"unknown"}\` mismatched`,p.expand,d?b:b?.trim(),d?R:R?.trim())}async assertRaw(t){if(!t.rawSnapshot)throw new Error("Raw snapshot is required");const{filepath:r,rawSnapshot:n}=t;if(n.content==null){if(!r)throw new Error("Snapshot cannot be used outside of test");const o=this.getSnapshotState(r);t.filepath||(t.filepath=r),n.file=await o.environment.resolveRawPath(r,n.file),n.content=await o.environment.readSnapshotFile(n.file)??void 0}return this.assert(t)}clear(){this.snapshotStateMap.clear()}}var _l=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};const Oq=["matchSnapshot","toMatchSnapshot","toMatchInlineSnapshot","toThrowErrorMatchingSnapshot","toThrowErrorMatchingInlineSnapshot","throws","Throw","throw","toThrow","toThrowError"];function Mq(e,t){throw e.cause==null&&(e.cause=new Error("Matcher did not succeed in time.")),Qg(e,t)}function Aq(e){return function(r,n={}){const o=Hg().config.expect?.poll??{},{interval:i=o.interval??50,timeout:a=o.timeout??1e3,message:l}=n,u=e(null,l).withContext({poll:!0});r=r.bind(u);const s=xe.flag(u,"vitest-test");if(!s)throw new Error("expect.poll() must be called inside a test");const c=new Proxy(u,{get(d,f,p){const m=Reflect.get(d,f,p);if(typeof m!="function")return m instanceof E?c:m;if(f==="assert")return m;if(typeof f=="string"&&Oq.includes(f))throw new SyntaxError(`expect.poll() is not supported in combination with .${f}(). Use vi.waitFor() if your assertion condition is unstable.`);return function(...h){const g=new Error("STACK_TRACE_ERROR"),b=async()=>{const{setTimeout:_,clearTimeout:x}=Ou();let v="fn",y=!1;const S=_(()=>{y=!0},a);xe.flag(u,"_name",f);try{for(;;){const N=y;N&&xe.flag(u,"_isLastPollAttempt",!0);try{v="fn";const I=await r();return xe.flag(u,"object",I),v="assertion",await m.call(u,...h)}catch(I){(N||v==="assertion"&&xe.flag(u,"_poll.assert_once"))&&Mq(I,g),await pS(i,_)}}}finally{x(S)}};let R=!1;s.onFinished??=[],s.onFinished.push(()=>{if(!R){const _=xe.flag(u,"negate")?"not.":"",x=`expect.${xe.flag(u,"_poll.element")?"element(locator)":"poll(assertion)"}.${_}${String(f)}()`;throw Qg(new Error(`${x} was not awaited. This assertion is asynchronous and must be awaited; otherwise, it is not executed to avoid unhandled rejections:
199
-
200
- await ${x}
201
- `),g)}});let T;return{then(_,x){return R=!0,(T||=b()).then(_,x)},catch(_){return(T||=b()).catch(_)},finally(_){return(T||=b()).finally(_)},[Symbol.toStringTag]:"Promise"}}}});return c}}function Qg(e,t){return t.stack!==void 0&&(e.stack=t.stack.replace(t.message,e.message)),e}function $q(e,t,r){const n=e.flag(t,"negate")?"not.":"",o=`${e.flag(t,"_name")}(expected)`,i=e.flag(t,"promise");return`expect(actual)${i?`.${i}`:""}.${n}${o}`}function Nq(e,t,r,n){const o=e;if(o&&t instanceof Promise){t=t.finally(()=>{if(!o.promises)return;const a=o.promises.indexOf(t);a!==-1&&o.promises.splice(a,1)}),o.promises||(o.promises=[]),o.promises.push(t);let i=!1;return o.onFinished??=[],o.onFinished.push(()=>{if(!i){const a=(globalThis.__vitest_worker__?.onFilterStackTrace||(l=>l||""))(n.stack);console.warn([`Promise returned by \`${r}\` was not awaited. `,"Vitest currently auto-awaits hanging assertions at the end of the test, but this will cause the test to fail in Vitest 3. ",`Please remember to await the assertion.
202
- `,a].join(""))}}),{then(a,l){return i=!0,t.then(a,l)},catch(a){return t.catch(a)},finally(a){return t.finally(a)},[Symbol.toStringTag]:"Promise"}}return t}let ws;function ai(){return ws||(ws=new qq({isEqual:(e,t)=>ae(e,t,[We,fr])})),ws}function km(e,t){if(typeof e!="function"){if(!t)throw new Error(`expected must be a function, received ${typeof e}`);return e}try{e()}catch(r){return r}throw new Error("snapshot function didn't throw")}function si(e){return{filepath:e.file.filepath,name:xS(e).slice(1).join(" > "),testId:e.id}}const Iq=(e,t)=>{function r(n,o){const i=t.flag(o,"vitest-test");if(!i)throw new Error(`'${n}' cannot be used without test context`);return i}for(const n of["matchSnapshot","toMatchSnapshot"])t.addMethod(e.Assertion.prototype,n,function(o,i){if(t.flag(this,"_name",n),t.flag(this,"negate"))throw new Error(`${n} cannot be used with "not"`);const a=t.flag(this,"object"),l=r(n,this);typeof o=="string"&&typeof i>"u"&&(i=o,o=void 0);const u=t.flag(this,"message");ai().assert({received:a,message:i,isInline:!1,properties:o,errorMessage:u,...si(l)})});t.addMethod(e.Assertion.prototype,"toMatchFileSnapshot",function(n,o){if(t.flag(this,"_name","toMatchFileSnapshot"),t.flag(this,"negate"))throw new Error('toMatchFileSnapshot cannot be used with "not"');const i=new Error("resolves"),a=t.flag(this,"object"),l=r("toMatchFileSnapshot",this),u=t.flag(this,"message");return Nq(l,ai().assertRaw({received:a,message:o,isInline:!1,rawSnapshot:{file:n},errorMessage:u,...si(l)}),$q(t,this),i)}),t.addMethod(e.Assertion.prototype,"toMatchInlineSnapshot",function(o,i,a){if(t.flag(this,"_name","toMatchInlineSnapshot"),t.flag(this,"negate"))throw new Error('toMatchInlineSnapshot cannot be used with "not"');const l=r("toMatchInlineSnapshot",this);if(l.each||l.suite?.each)throw new Error("InlineSnapshot cannot be used inside of test.each or describe.each");const u=t.flag(this,"object"),s=t.flag(this,"error");typeof o=="string"&&(a=i,i=o,o=void 0),i&&(i=$m(i));const c=t.flag(this,"message");ai().assert({received:u,message:a,isInline:!0,properties:o,inlineSnapshot:i,error:s,errorMessage:c,...si(l)})}),t.addMethod(e.Assertion.prototype,"toThrowErrorMatchingSnapshot",function(n){if(t.flag(this,"_name","toThrowErrorMatchingSnapshot"),t.flag(this,"negate"))throw new Error('toThrowErrorMatchingSnapshot cannot be used with "not"');const o=t.flag(this,"object"),i=r("toThrowErrorMatchingSnapshot",this),a=t.flag(this,"promise"),l=t.flag(this,"message");ai().assert({received:km(o,a),message:n,errorMessage:l,...si(i)})}),t.addMethod(e.Assertion.prototype,"toThrowErrorMatchingInlineSnapshot",function(o,i){if(t.flag(this,"negate"))throw new Error('toThrowErrorMatchingInlineSnapshot cannot be used with "not"');const a=r("toThrowErrorMatchingInlineSnapshot",this);if(a.each||a.suite?.each)throw new Error("InlineSnapshot cannot be used inside of test.each or describe.each");const l=t.flag(this,"object"),u=t.flag(this,"error"),s=t.flag(this,"promise"),c=t.flag(this,"message");o&&(o=$m(o)),ai().assert({received:km(l,s),message:i,inlineSnapshot:o,isInline:!0,error:u,errorMessage:c,...si(a)})}),t.addMethod(e.expect,"addSnapshotSerializer",yq)};Wt(dS);Wt(lS);Wt(Iq);Wt(sS);function jq(e){const t=((i,a)=>{const{assertionCalls:l}=di(t);return ps({assertionCalls:l+1},t),Ft(i,a)});Object.assign(t,Ft),Object.assign(t,globalThis[xu]),t.getState=()=>di(t),t.setState=i=>ps(i,t);const r=di(globalThis[ka])||{};ps({...r,assertionCalls:0,isExpectingAssertions:!1,isExpectingAssertionsError:null,expectedAssertionsNumber:null,expectedAssertionsNumberErrorGen:null,get testPath(){return Hg().filepath},currentTestName:r.currentTestName},t),t.assert=w,t.extend=i=>Ft.extend(t,i),t.addEqualityTesters=i=>U1(i),t.soft=(...i)=>t(...i).withContext({soft:!0}),t.poll=Aq(t),t.unreachable=i=>{w.fail(`expected${i?` "${i}" `:" "}not to be reached`)};function n(i){const a=()=>new Error(`expected number of assertions to be ${i}, but got ${t.getState().assertionCalls}`);Error.captureStackTrace&&Error.captureStackTrace(a(),n),t.setState({expectedAssertionsNumber:i,expectedAssertionsNumberErrorGen:a})}function o(){const i=new Error("expected any number of assertion, but got none");Error.captureStackTrace&&Error.captureStackTrace(i,o),t.setState({isExpectingAssertions:!0,isExpectingAssertionsError:i})}return xe.addMethod(t,"assertions",n),xe.addMethod(t,"hasAssertions",o),t.extend(N1),t}const Yt=jq();Object.defineProperty(globalThis,ka,{value:Yt,writable:!0,configurable:!0});var Gt={},Rs,Lm;function Dq(){if(Lm)return Rs;Lm=1;var e;return typeof _l<"u"?e=_l:typeof window<"u"?e=window:e=self,Rs=e,Rs}var Es,Bm;function Fq(){if(Bm)return Es;Bm=1;let e;try{({}).__proto__,e=!1}catch{e=!0}return Es=e,Es}var _s,Um;function dr(){if(Um)return _s;Um=1;var e=Function.call,t=Fq(),r=["size","caller","callee","arguments"];return t&&r.push("__proto__"),_s=function(o){return Object.getOwnPropertyNames(o).reduce(function(i,a){return r.includes(a)||typeof o[a]!="function"||(i[a]=e.bind(o[a])),i},Object.create(null))},_s}var Cs,zm;function wa(){if(zm)return Cs;zm=1;var e=dr();return Cs=e(Array.prototype),Cs}var Ts,Vm;function kq(){if(Vm)return Ts;Vm=1;var e=wa().every;function t(o,i){return o[i.id]===void 0&&(o[i.id]=0),o[i.id]<i.callCount}function r(o,i,a,l){var u=!0;return a!==l.length-1&&(u=i.calledBefore(l[a+1])),t(o,i)&&u?(o[i.id]+=1,!0):!1}function n(o){var i={},a=arguments.length>1?arguments:o;return e(a,r.bind(null,i))}return Ts=n,Ts}var xs,Hm;function Lq(){if(Hm)return xs;Hm=1;function e(t){return t.constructor&&t.constructor.name||null}return xs=e,xs}var Ss={},Wm;function Bq(){return Wm||(Wm=1,(function(e){e.wrap=function(t,r){var n=function(){return e.printWarning(r),t.apply(this,arguments)};return t.prototype&&(n.prototype=t.prototype),n},e.defaultMsg=function(t,r){return`${t}.${r} is deprecated and will be removed from the public API in a future version of ${t}.`},e.printWarning=function(t){typeof process=="object"&&process.emitWarning?process.emitWarning(t):console.info?console.info(t):console.log(t)}})(Ss)),Ss}var Ps,Gm;function Uq(){return Gm||(Gm=1,Ps=function(t,r){var n=!0;try{t.forEach(function(){if(!r.apply(this,arguments))throw new Error})}catch{n=!1}return n}),Ps}var qs,Km;function zq(){return Km||(Km=1,qs=function(t){if(!t)return"";try{return t.displayName||t.name||(String(t).match(/function ([^\s(]+)/)||[])[1]}catch{return""}}),qs}var Os,Ym;function Vq(){if(Ym)return Os;Ym=1;var e=wa().sort,t=wa().slice;function r(o,i){var a=o.getCall(0),l=i.getCall(0),u=a&&a.callId||-1,s=l&&l.callId||-1;return u<s?-1:1}function n(o){return e(t(o),r)}return Os=n,Os}var Ms,Jm;function Hq(){if(Jm)return Ms;Jm=1;var e=dr();return Ms=e(Function.prototype),Ms}var As,Xm;function Wq(){if(Xm)return As;Xm=1;var e=dr();return As=e(Map.prototype),As}var $s,Zm;function Gq(){if(Zm)return $s;Zm=1;var e=dr();return $s=e(Object.prototype),$s}var Ns,Qm;function Kq(){if(Qm)return Ns;Qm=1;var e=dr();return Ns=e(Set.prototype),Ns}var Is,eh;function Yq(){if(eh)return Is;eh=1;var e=dr();return Is=e(String.prototype),Is}var js,th;function Jq(){return th||(th=1,js={array:wa(),function:Hq(),map:Wq(),object:Gq(),set:Kq(),string:Yq()}),js}var na={exports:{}},Xq=na.exports,rh;function Zq(){return rh||(rh=1,(function(e,t){(function(r,n){e.exports=n()})(Xq,(function(){var r=typeof Promise=="function",n=typeof self=="object"?self:_l,o=typeof Symbol<"u",i=typeof Map<"u",a=typeof Set<"u",l=typeof WeakMap<"u",u=typeof WeakSet<"u",s=typeof DataView<"u",c=o&&typeof Symbol.iterator<"u",d=o&&typeof Symbol.toStringTag<"u",f=a&&typeof Set.prototype.entries=="function",p=i&&typeof Map.prototype.entries=="function",m=f&&Object.getPrototypeOf(new Set().entries()),h=p&&Object.getPrototypeOf(new Map().entries()),g=c&&typeof Array.prototype[Symbol.iterator]=="function",b=g&&Object.getPrototypeOf([][Symbol.iterator]()),R=c&&typeof String.prototype[Symbol.iterator]=="function",T=R&&Object.getPrototypeOf(""[Symbol.iterator]()),_=8,x=-1;function v(y){var S=typeof y;if(S!=="object")return S;if(y===null)return"null";if(y===n)return"global";if(Array.isArray(y)&&(d===!1||!(Symbol.toStringTag in y)))return"Array";if(typeof window=="object"&&window!==null){if(typeof window.location=="object"&&y===window.location)return"Location";if(typeof window.document=="object"&&y===window.document)return"Document";if(typeof window.navigator=="object"){if(typeof window.navigator.mimeTypes=="object"&&y===window.navigator.mimeTypes)return"MimeTypeArray";if(typeof window.navigator.plugins=="object"&&y===window.navigator.plugins)return"PluginArray"}if((typeof window.HTMLElement=="function"||typeof window.HTMLElement=="object")&&y instanceof window.HTMLElement){if(y.tagName==="BLOCKQUOTE")return"HTMLQuoteElement";if(y.tagName==="TD")return"HTMLTableDataCellElement";if(y.tagName==="TH")return"HTMLTableHeaderCellElement"}}var N=d&&y[Symbol.toStringTag];if(typeof N=="string")return N;var I=Object.getPrototypeOf(y);return I===RegExp.prototype?"RegExp":I===Date.prototype?"Date":r&&I===Promise.prototype?"Promise":a&&I===Set.prototype?"Set":i&&I===Map.prototype?"Map":u&&I===WeakSet.prototype?"WeakSet":l&&I===WeakMap.prototype?"WeakMap":s&&I===DataView.prototype?"DataView":i&&I===h?"Map Iterator":a&&I===m?"Set Iterator":g&&I===b?"Array Iterator":R&&I===T?"String Iterator":I===null?"Object":Object.prototype.toString.call(y).slice(_,x)}return v}))})(na)),na.exports}var Ds,nh;function Qq(){if(nh)return Ds;nh=1;var e=Zq();return Ds=function(r){return e(r).toLowerCase()},Ds}var Fs,oh;function e0(){if(oh)return Fs;oh=1;function e(t){return t&&t.toString?t.toString():String(t)}return Fs=e,Fs}var ks,ih;function t0(){return ih||(ih=1,ks={global:Dq(),calledInOrder:kq(),className:Lq(),deprecated:Bq(),every:Uq(),functionName:zq(),orderByFirstCall:Vq(),prototypes:Jq(),typeOf:Qq(),valueToString:e0()}),ks}var ah;function r0(){if(ah)return Gt;ah=1;const e=t0().global;let t,r;if(typeof __vitest_required__<"u"){try{t=__vitest_required__.timers}catch{}try{r=__vitest_required__.timersPromises}catch{}}function n(i){const a=Math.pow(2,31)-1,l=1e12,u=function(){},s=function(){return[]},c={};let d,f=!1;i.setTimeout&&(c.setTimeout=!0,d=i.setTimeout(u,0),f=typeof d=="object"),c.clearTimeout=!!i.clearTimeout,c.setInterval=!!i.setInterval,c.clearInterval=!!i.clearInterval,c.hrtime=i.process&&typeof i.process.hrtime=="function",c.hrtimeBigint=c.hrtime&&typeof i.process.hrtime.bigint=="function",c.nextTick=i.process&&typeof i.process.nextTick=="function";const p=i.process&&i.__vitest_required__&&i.__vitest_required__.util.promisify;c.performance=i.performance&&typeof i.performance.now=="function";const m=i.Performance&&(typeof i.Performance).match(/^(function|object)$/),h=i.performance&&i.performance.constructor&&i.performance.constructor.prototype;c.queueMicrotask=i.hasOwnProperty("queueMicrotask"),c.requestAnimationFrame=i.requestAnimationFrame&&typeof i.requestAnimationFrame=="function",c.cancelAnimationFrame=i.cancelAnimationFrame&&typeof i.cancelAnimationFrame=="function",c.requestIdleCallback=i.requestIdleCallback&&typeof i.requestIdleCallback=="function",c.cancelIdleCallbackPresent=i.cancelIdleCallback&&typeof i.cancelIdleCallback=="function",c.setImmediate=i.setImmediate&&typeof i.setImmediate=="function",c.clearImmediate=i.clearImmediate&&typeof i.clearImmediate=="function",c.Intl=i.Intl&&typeof i.Intl=="object",i.clearTimeout&&i.clearTimeout(d);const g=i.Date,b=c.Intl?Object.defineProperties(Object.create(null),Object.getOwnPropertyDescriptors(i.Intl)):void 0;let R=l;if(g===void 0)throw new Error("The global scope doesn't have a `Date` object (see https://github.com/sinonjs/sinon/issues/1852#issuecomment-419622780)");c.Date=!0;class T{constructor(A,j,z,C){this.name=A,this.entryType=j,this.startTime=z,this.duration=C}toJSON(){return JSON.stringify({...this})}}function _(P){return Number.isFinite?Number.isFinite(P):isFinite(P)}let x=!1;function v(P,A){P.loopLimit&&A===P.loopLimit-1&&(x=!0)}function y(){x=!1}function S(P){if(!P)return 0;const A=P.split(":"),j=A.length;let z=j,C=0,X;if(j>3||!/^(\d\d:){0,2}\d\d?$/.test(P))throw new Error("tick only understands numbers, 'm:s' and 'h:m:s'. Each part must be two digits");for(;z--;){if(X=parseInt(A[z],10),X>=60)throw new Error(`Invalid time ${P}`);C+=X*Math.pow(60,j-z-1)}return C*1e3}function N(P){const j=P*1e6%1e6,z=j<0?j+1e6:j;return Math.floor(z)}function I(P){if(!P)return 0;if(typeof P.getTime=="function")return P.getTime();if(typeof P=="number")return P;throw new TypeError("now should be milliseconds since UNIX epoch")}function L(P,A,j){return j&&j.callAt>=P&&j.callAt<=A}function B(P,A){const j=new Error(`Aborting after running ${P.loopLimit} timers, assuming an infinite loop!`);if(!A.error)return j;const z=/target\.*[<|(|[].*?[>|\]|)]\s*/;let C=new RegExp(String(Object.keys(P).join("|")));f&&(C=new RegExp(`\\s+at (Object\\.)?(?:${Object.keys(P).join("|")})\\s+`));let X=-1;A.error.stack.split(`
203
- `).some(function(Q,te){return Q.match(z)?(X=te,!0):Q.match(C)?(X=te,!1):X>=0});const ne=`${j}
204
- ${A.type||"Microtask"} - ${A.func.name||"anonymous"}
205
- ${A.error.stack.split(`
206
- `).slice(X+1).join(`
207
- `)}`;try{Object.defineProperty(j,"stack",{value:ne})}catch{}return j}function $(){class P extends g{constructor(z,C,X,ne,Q,te,J){arguments.length===0?super(P.clock.now):super(...arguments),Object.defineProperty(this,"constructor",{value:g,enumerable:!1})}static[Symbol.hasInstance](z){return z instanceof g}}return P.isFake=!0,g.now&&(P.now=function(){return P.clock.now}),g.toSource&&(P.toSource=function(){return g.toSource()}),P.toString=function(){return g.toString()},new Proxy(P,{apply(){if(this instanceof P)throw new TypeError("A Proxy should only capture `new` calls with the `construct` handler. This is not supposed to be possible, so check the logic.");return new g(P.clock.now).toString()}})}function D(){const P={};return Object.getOwnPropertyNames(b).forEach(A=>P[A]=b[A]),P.DateTimeFormat=function(...A){const j=new b.DateTimeFormat(...A),z={};return["formatRange","formatRangeToParts","resolvedOptions"].forEach(C=>{z[C]=j[C].bind(j)}),["format","formatToParts"].forEach(C=>{z[C]=function(X){return j[C](X||P.clock.now)}}),z},P.DateTimeFormat.prototype=Object.create(b.DateTimeFormat.prototype),P.DateTimeFormat.supportedLocalesOf=b.DateTimeFormat.supportedLocalesOf,P}function K(P,A){P.jobs||(P.jobs=[]),P.jobs.push(A)}function W(P){if(P.jobs){for(let A=0;A<P.jobs.length;A++){const j=P.jobs[A];if(j.func.apply(null,j.args),v(P,A),P.loopLimit&&A>P.loopLimit)throw B(P,j)}y(),P.jobs=[]}}function Y(P,A){if(A.func===void 0)throw new Error("Callback must be provided to timer calls");if(f&&typeof A.func!="function")throw new TypeError(`[ERR_INVALID_CALLBACK]: Callback must be a function. Received ${A.func} of type ${typeof A.func}`);if(x&&(A.error=new Error),A.type=A.immediate?"Immediate":"Timeout",A.hasOwnProperty("delay")&&(typeof A.delay!="number"&&(A.delay=parseInt(A.delay,10)),_(A.delay)||(A.delay=0),A.delay=A.delay>a?1:A.delay,A.delay=Math.max(0,A.delay)),A.hasOwnProperty("interval")&&(A.type="Interval",A.interval=A.interval>a?1:A.interval),A.hasOwnProperty("animation")&&(A.type="AnimationFrame",A.animation=!0),A.hasOwnProperty("idleCallback")&&(A.type="IdleCallback",A.idleCallback=!0),P.timers||(P.timers={}),A.id=R++,A.createdAt=P.now,A.callAt=P.now+(parseInt(A.delay)||(P.duringTick?1:0)),P.timers[A.id]=A,f){const j={refed:!0,ref:function(){return this.refed=!0,j},unref:function(){return this.refed=!1,j},hasRef:function(){return this.refed},refresh:function(){return A.callAt=P.now+(parseInt(A.delay)||(P.duringTick?1:0)),P.timers[A.id]=A,j},[Symbol.toPrimitive]:function(){return A.id}};return j}return A.id}function he(P,A){if(P.callAt<A.callAt)return-1;if(P.callAt>A.callAt)return 1;if(P.immediate&&!A.immediate)return-1;if(!P.immediate&&A.immediate)return 1;if(P.createdAt<A.createdAt)return-1;if(P.createdAt>A.createdAt)return 1;if(P.id<A.id)return-1;if(P.id>A.id)return 1}function ce(P,A,j){const z=P.timers;let C=null,X,ne;for(X in z)z.hasOwnProperty(X)&&(ne=L(A,j,z[X]),ne&&(!C||he(C,z[X])===1)&&(C=z[X]));return C}function we(P){const A=P.timers;let j=null,z;for(z in A)A.hasOwnProperty(z)&&(!j||he(j,A[z])===1)&&(j=A[z]);return j}function Se(P){const A=P.timers;let j=null,z;for(z in A)A.hasOwnProperty(z)&&(!j||he(j,A[z])===-1)&&(j=A[z]);return j}function Re(P,A){if(typeof A.interval=="number"?P.timers[A.id].callAt+=A.interval:delete P.timers[A.id],typeof A.func=="function")A.func.apply(null,A.args);else{const j=eval;(function(){j(A.func)})()}}function V(P){return P==="IdleCallback"||P==="AnimationFrame"?`cancel${P}`:`clear${P}`}function Ae(P){return P==="IdleCallback"||P==="AnimationFrame"?`request${P}`:`set${P}`}function Pe(){let P=0;return function(A){!P++&&console.warn(A)}}const ge=Pe();function qe(P,A,j){if(!A)return;P.timers||(P.timers={});const z=Number(A);if(Number.isNaN(z)||z<l){const C=V(j);if(P.shouldClearNativeTimers===!0){const X=P[`_${C}`];return typeof X=="function"?X(A):void 0}ge(`FakeTimers: ${C} was invoked to clear a native timer instead of one created by this library.
208
- To automatically clean-up native timers, use \`shouldClearNativeTimers\`.`)}if(P.timers.hasOwnProperty(z)){const C=P.timers[z];if(C.type===j||C.type==="Timeout"&&j==="Interval"||C.type==="Interval"&&j==="Timeout")delete P.timers[z];else{const X=V(j),ne=Ae(C.type);throw new Error(`Cannot clear timer: timer created with ${ne}() but cleared with ${X}()`)}}}function ot(P,A){let j,z,C;const X="_hrtime",ne="_nextTick";for(z=0,C=P.methods.length;z<C;z++){if(j=P.methods[z],j==="hrtime"&&i.process)i.process.hrtime=P[X];else if(j==="nextTick"&&i.process)i.process.nextTick=P[ne];else if(j==="performance"){const Q=Object.getOwnPropertyDescriptor(P,`_${j}`);Q&&Q.get&&!Q.set?Object.defineProperty(i,j,Q):Q.configurable&&(i[j]=P[`_${j}`])}else if(i[j]&&i[j].hadOwnProperty)i[j]=P[`_${j}`];else try{delete i[j]}catch{}if(P.timersModuleMethods!==void 0)for(let Q=0;Q<P.timersModuleMethods.length;Q++){const te=P.timersModuleMethods[Q];t[te.methodName]=te.original}if(P.timersPromisesModuleMethods!==void 0)for(let Q=0;Q<P.timersPromisesModuleMethods.length;Q++){const te=P.timersPromisesModuleMethods[Q];r[te.methodName]=te.original}}A.shouldAdvanceTime===!0&&i.clearInterval(P.attachedInterval),P.methods=[];for(const[Q,te]of P.abortListenerMap.entries())te.removeEventListener("abort",Q),P.abortListenerMap.delete(Q);return P.timers?Object.keys(P.timers).map(function(te){return P.timers[te]}):[]}function O(P,A,j){if(j[A].hadOwnProperty=Object.prototype.hasOwnProperty.call(P,A),j[`_${A}`]=P[A],A==="Date")P[A]=j[A];else if(A==="Intl")P[A]=j[A];else if(A==="performance"){const z=Object.getOwnPropertyDescriptor(P,A);if(z&&z.get&&!z.set){Object.defineProperty(j,`_${A}`,z);const C=Object.getOwnPropertyDescriptor(j,A);Object.defineProperty(P,A,C)}else P[A]=j[A]}else P[A]=function(){return j[A].apply(j,arguments)},Object.defineProperties(P[A],Object.getOwnPropertyDescriptors(j[A]));P[A].clock=j}function U(P,A){P.tick(A)}const G={setTimeout:i.setTimeout,clearTimeout:i.clearTimeout,setInterval:i.setInterval,clearInterval:i.clearInterval,Date:i.Date};c.setImmediate&&(G.setImmediate=i.setImmediate),c.clearImmediate&&(G.clearImmediate=i.clearImmediate),c.hrtime&&(G.hrtime=i.process.hrtime),c.nextTick&&(G.nextTick=i.process.nextTick),c.performance&&(G.performance=i.performance),c.requestAnimationFrame&&(G.requestAnimationFrame=i.requestAnimationFrame),c.queueMicrotask&&(G.queueMicrotask=i.queueMicrotask),c.cancelAnimationFrame&&(G.cancelAnimationFrame=i.cancelAnimationFrame),c.requestIdleCallback&&(G.requestIdleCallback=i.requestIdleCallback),c.cancelIdleCallback&&(G.cancelIdleCallback=i.cancelIdleCallback),c.Intl&&(G.Intl=b);const re=i.setImmediate||i.setTimeout;function ie(P,A){P=Math.floor(I(P)),A=A||1e3;let j=0;const z=[0,0],C={now:P,Date:$(),loopLimit:A};C.Date.clock=C;function X(){return 16-(C.now-P)%16}function ne(J){const F=C.now-z[0]-P,H=Math.floor(F/1e3),Z=(F-H*1e3)*1e6+j-z[1];if(Array.isArray(J)){if(J[1]>1e9)throw new TypeError("Number of nanoseconds can't exceed a billion");const le=J[0];let be=Z-J[1],Xe=H-le;return be<0&&(be+=1e9,Xe-=1),[Xe,be]}return[H,Z]}function Q(){const J=ne();return J[0]*1e3+J[1]/1e6}c.hrtimeBigint&&(ne.bigint=function(){const J=ne();return BigInt(J[0])*BigInt(1e9)+BigInt(J[1])}),c.Intl&&(C.Intl=D(),C.Intl.clock=C),C.requestIdleCallback=function(F,H){let Z=0;C.countTimers()>0&&(Z=50);const le=Y(C,{func:F,args:Array.prototype.slice.call(arguments,2),delay:typeof H>"u"?Z:Math.min(H,Z),idleCallback:!0});return Number(le)},C.cancelIdleCallback=function(F){return qe(C,F,"IdleCallback")},C.setTimeout=function(F,H){return Y(C,{func:F,args:Array.prototype.slice.call(arguments,2),delay:H})},typeof i.Promise<"u"&&p&&(C.setTimeout[p.custom]=function(F,H){return new i.Promise(function(le){Y(C,{func:le,args:[H],delay:F})})}),C.clearTimeout=function(F){return qe(C,F,"Timeout")},C.nextTick=function(F){return K(C,{func:F,args:Array.prototype.slice.call(arguments,1),error:x?new Error:null})},C.queueMicrotask=function(F){return C.nextTick(F)},C.setInterval=function(F,H){return H=parseInt(H,10),Y(C,{func:F,args:Array.prototype.slice.call(arguments,2),delay:H,interval:H})},C.clearInterval=function(F){return qe(C,F,"Interval")},c.setImmediate&&(C.setImmediate=function(F){return Y(C,{func:F,args:Array.prototype.slice.call(arguments,1),immediate:!0})},typeof i.Promise<"u"&&p&&(C.setImmediate[p.custom]=function(F){return new i.Promise(function(Z){Y(C,{func:Z,args:[F],immediate:!0})})}),C.clearImmediate=function(F){return qe(C,F,"Immediate")}),C.countTimers=function(){return Object.keys(C.timers||{}).length+(C.jobs||[]).length},C.requestAnimationFrame=function(F){const H=Y(C,{func:F,delay:X(),get args(){return[Q()]},animation:!0});return Number(H)},C.cancelAnimationFrame=function(F){return qe(C,F,"AnimationFrame")},C.runMicrotasks=function(){W(C)};function te(J,F,H,Z){const le=typeof J=="number"?J:S(J),be=Math.floor(le),Xe=N(le);let ke=j+Xe,Ce=C.now+be;if(le<0)throw new TypeError("Negative ticks are not supported");ke>=1e6&&(Ce+=1,ke-=1e6),j=ke;let Le=C.now,ft=C.now,Be,it,Ie,$i,pr,mr;C.duringTick=!0,Ie=C.now,W(C),Ie!==C.now&&(Le+=C.now-Ie,Ce+=C.now-Ie);function Ni(){for(Be=ce(C,Le,Ce);Be&&Le<=Ce;){if(C.timers[Be.id]){Le=Be.callAt,C.now=Be.callAt,Ie=C.now;try{W(C),Re(C,Be)}catch($t){it=it||$t}if(F){re($i);return}pr()}mr()}if(Ie=C.now,W(C),Ie!==C.now&&(Le+=C.now-Ie,Ce+=C.now-Ie),C.duringTick=!1,Be=ce(C,Le,Ce),Be)try{C.tick(Ce-C.now)}catch($t){it=it||$t}else C.now=Ce,j=ke;if(it)throw it;if(F)H(C.now);else return C.now}return $i=F&&function(){try{pr(),mr(),Ni()}catch($t){Z($t)}},pr=function(){Ie!==C.now&&(Le+=C.now-Ie,Ce+=C.now-Ie,ft+=C.now-Ie)},mr=function(){Be=ce(C,ft,Ce),ft=Le},Ni()}return C.tick=function(F){return te(F,!1)},typeof i.Promise<"u"&&(C.tickAsync=function(F){return new i.Promise(function(H,Z){re(function(){try{te(F,!0,H,Z)}catch(le){Z(le)}})})}),C.next=function(){W(C);const F=we(C);if(!F)return C.now;C.duringTick=!0;try{return C.now=F.callAt,Re(C,F),W(C),C.now}finally{C.duringTick=!1}},typeof i.Promise<"u"&&(C.nextAsync=function(){return new i.Promise(function(F,H){re(function(){try{const Z=we(C);if(!Z){F(C.now);return}let le;C.duringTick=!0,C.now=Z.callAt;try{Re(C,Z)}catch(be){le=be}C.duringTick=!1,re(function(){le?H(le):F(C.now)})}catch(Z){H(Z)}})})}),C.runAll=function(){let F,H;for(W(C),H=0;H<C.loopLimit;H++){if(!C.timers||(F=Object.keys(C.timers).length,F===0))return y(),C.now;C.next(),v(C,H)}const Z=we(C);throw B(C,Z)},C.runToFrame=function(){return C.tick(X())},typeof i.Promise<"u"&&(C.runAllAsync=function(){return new i.Promise(function(F,H){let Z=0;function le(){re(function(){try{W(C);let be;if(Z<C.loopLimit){if(!C.timers){y(),F(C.now);return}if(be=Object.keys(C.timers).length,be===0){y(),F(C.now);return}C.next(),Z++,le(),v(C,Z);return}const Xe=we(C);H(B(C,Xe))}catch(be){H(be)}})}le()})}),C.runToLast=function(){const F=Se(C);return F?C.tick(F.callAt-C.now):(W(C),C.now)},typeof i.Promise<"u"&&(C.runToLastAsync=function(){return new i.Promise(function(F,H){re(function(){try{const Z=Se(C);Z||(W(C),F(C.now)),F(C.tickAsync(Z.callAt-C.now))}catch(Z){H(Z)}})})}),C.reset=function(){j=0,C.timers={},C.jobs=[],C.now=P},C.setSystemTime=function(F){const H=I(F),Z=H-C.now;let le,be;z[0]=z[0]+Z,z[1]=z[1]+j,C.now=H,j=0;for(le in C.timers)C.timers.hasOwnProperty(le)&&(be=C.timers[le],be.createdAt+=Z,be.callAt+=Z)},C.jump=function(F){const H=typeof F=="number"?F:S(F),Z=Math.floor(H);for(const le of Object.values(C.timers))C.now+Z>le.callAt&&(le.callAt=C.now+Z);C.tick(Z)},c.performance&&(C.performance=Object.create(null),C.performance.now=Q),c.hrtime&&(C.hrtime=ne),C}function Te(P){if(arguments.length>1||P instanceof Date||Array.isArray(P)||typeof P=="number")throw new TypeError(`FakeTimers.install called with ${String(P)} install requires an object parameter`);if(i.Date.isFake===!0)throw new TypeError("Can't install fake timers twice on the same global object.");if(P=typeof P<"u"?P:{},P.shouldAdvanceTime=P.shouldAdvanceTime||!1,P.advanceTimeDelta=P.advanceTimeDelta||20,P.shouldClearNativeTimers=P.shouldClearNativeTimers||!1,P.target)throw new TypeError("config.target is no longer supported. Use `withGlobal(target)` instead.");function A(X){if(!P.ignoreMissingTimers)throw new ReferenceError(`non-existent timers and/or objects cannot be faked: '${X}'`)}let j,z;const C=ie(P.now,P.loopLimit);if(C.shouldClearNativeTimers=P.shouldClearNativeTimers,C.uninstall=function(){return ot(C,P)},C.abortListenerMap=new Map,C.methods=P.toFake||[],C.methods.length===0&&(C.methods=Object.keys(G)),P.shouldAdvanceTime===!0){const X=U.bind(null,C,P.advanceTimeDelta),ne=i.setInterval(X,P.advanceTimeDelta);C.attachedInterval=ne}if(C.methods.includes("performance")){const X=(()=>{if(h)return i.performance.constructor.prototype;if(m)return i.Performance.prototype})();if(X)Object.getOwnPropertyNames(X).forEach(function(ne){ne!=="now"&&(C.performance[ne]=ne.indexOf("getEntries")===0?s:u)}),C.performance.mark=ne=>new T(ne,"mark",0,0),C.performance.measure=ne=>new T(ne,"measure",0,100),C.performance.timeOrigin=I(P.now);else if((P.toFake||[]).includes("performance"))return A("performance")}for(i===e&&t&&(C.timersModuleMethods=[]),i===e&&r&&(C.timersPromisesModuleMethods=[]),j=0,z=C.methods.length;j<z;j++){const X=C.methods[j];if(!c[X]){A(X);continue}if(X==="hrtime"?i.process&&typeof i.process.hrtime=="function"&&O(i.process,X,C):X==="nextTick"?i.process&&typeof i.process.nextTick=="function"&&O(i.process,X,C):O(i,X,C),C.timersModuleMethods!==void 0&&t[X]){const ne=t[X];C.timersModuleMethods.push({methodName:X,original:ne}),t[X]=i[X]}C.timersPromisesModuleMethods!==void 0&&(X==="setTimeout"?(C.timersPromisesModuleMethods.push({methodName:"setTimeout",original:r.setTimeout}),r.setTimeout=(ne,Q,te={})=>new Promise((J,F)=>{const H=()=>{te.signal.removeEventListener("abort",H),C.abortListenerMap.delete(H),C.clearTimeout(Z),F(te.signal.reason)},Z=C.setTimeout(()=>{te.signal&&(te.signal.removeEventListener("abort",H),C.abortListenerMap.delete(H)),J(Q)},ne);te.signal&&(te.signal.aborted?H():(te.signal.addEventListener("abort",H),C.abortListenerMap.set(H,te.signal)))})):X==="setImmediate"?(C.timersPromisesModuleMethods.push({methodName:"setImmediate",original:r.setImmediate}),r.setImmediate=(ne,Q={})=>new Promise((te,J)=>{const F=()=>{Q.signal.removeEventListener("abort",F),C.abortListenerMap.delete(F),C.clearImmediate(H),J(Q.signal.reason)},H=C.setImmediate(()=>{Q.signal&&(Q.signal.removeEventListener("abort",F),C.abortListenerMap.delete(F)),te(ne)});Q.signal&&(Q.signal.aborted?F():(Q.signal.addEventListener("abort",F),C.abortListenerMap.set(F,Q.signal)))})):X==="setInterval"&&(C.timersPromisesModuleMethods.push({methodName:"setInterval",original:r.setInterval}),r.setInterval=(ne,Q,te={})=>({[Symbol.asyncIterator]:()=>{const J=()=>{let Ce,Le;const ft=new Promise((Be,it)=>{Ce=Be,Le=it});return ft.resolve=Ce,ft.reject=Le,ft};let F=!1,H=!1,Z,le=0;const be=[],Xe=C.setInterval(()=>{be.length>0?be.shift().resolve():le++},ne),ke=()=>{te.signal.removeEventListener("abort",ke),C.abortListenerMap.delete(ke),C.clearInterval(Xe),F=!0;for(const Ce of be)Ce.resolve()};return te.signal&&(te.signal.aborted?F=!0:(te.signal.addEventListener("abort",ke),C.abortListenerMap.set(ke,te.signal))),{next:async()=>{if(te.signal?.aborted&&!H)throw H=!0,te.signal.reason;if(F)return{done:!0,value:void 0};if(le>0)return le--,{done:!1,value:Q};const Ce=J();if(be.push(Ce),await Ce,Z&&be.length===0&&Z.resolve(),te.signal?.aborted&&!H)throw H=!0,te.signal.reason;return F?{done:!0,value:void 0}:{done:!1,value:Q}},return:async()=>F?{done:!0,value:void 0}:(be.length>0&&(Z=J(),await Z),C.clearInterval(Xe),F=!0,te.signal&&(te.signal.removeEventListener("abort",ke),C.abortListenerMap.delete(ke)),{done:!0,value:void 0})}}})))}return C}return{timers:G,createClock:ie,install:Te,withGlobal:n}}const o=n(e);return Gt.timers=o.timers,Gt.createClock=o.createClock,Gt.install=o.install,Gt.withGlobal=n,Gt}r0();US("MessageCard",()=>{bs("renders user image attachments even without visible text",()=>{Ji(za.jsx(Va,{message:{info:{id:"message-1",sessionID:"session-1",role:"user",time:{created:1}},parts:[{id:"part-1",sessionID:"session-1",messageID:"message-1",type:"text",text:"Called the Read tool...",synthetic:!0},{id:"part-2",sessionID:"session-1",messageID:"message-1",type:"file",filename:"pasted.png",mime:"image/png",url:"data:image/png;base64,ZmFrZQ=="}]}})),Yt(ri.getByAltText("pasted.png")).toBeInTheDocument()}),bs("renders only real user text content",()=>{Ji(za.jsx(Va,{message:{info:{id:"message-1",sessionID:"session-1",role:"user",time:{created:1}},parts:[{id:"part-1",sessionID:"session-1",messageID:"message-1",type:"text",text:"Please inspect this file"},{id:"part-2",sessionID:"session-1",messageID:"message-1",type:"file",mime:"text/plain",url:"file:///tmp/example.txt"}]}})),Yt(ri.getByText("Please inspect this file")).toBeInTheDocument(),Yt(ri.getByText(/File attachment/i)).toBeInTheDocument()}),bs("renders assistant tool content",()=>{Ji(za.jsx(Va,{message:{info:{id:"message-2",sessionID:"session-1",role:"assistant",parentID:"message-1",time:{created:2}},parts:[{id:"part-3",sessionID:"session-1",messageID:"message-2",type:"tool",callID:"call-1",tool:"bash",state:{status:"completed",input:{command:"pwd"},output:"/tmp",title:"bash",metadata:{},time:{start:1,end:2}}}]}})),Yt(ri.getByText(/assistant/i)).toBeInTheDocument(),Yt(ri.getByText(/bash: pwd/i)).toBeInTheDocument()})})});export default n0();