@brightspot/ui 1.2.0 → 1.3.0

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 (53) hide show
  1. package/dist/components/copy-to-clipboard/CopyToClipboard.d.ts +57 -0
  2. package/dist/components/copy-to-clipboard/CopyToClipboard.d.ts.map +1 -0
  3. package/dist/components/copy-to-clipboard/CopyToClipboard.js +84 -0
  4. package/dist/components/copy-to-clipboard/CopyToClipboard.js.map +1 -0
  5. package/dist/custom-elements.json +114 -0
  6. package/dist/storybook/assets/{Avatar.stories-BlxrclP0.js → Avatar.stories-CpXI9mXR.js} +2 -2
  7. package/dist/storybook/assets/{AvatarGroup.stories-E3VUvBae.js → AvatarGroup.stories-D4NymG47.js} +1 -1
  8. package/dist/storybook/assets/{Badge.stories-f4YvPz0W.js → Badge.stories-BP4Yixze.js} +1 -1
  9. package/dist/storybook/assets/{Button.stories-N66xrq4q.js → Button.stories-DDpQzCOq.js} +1 -1
  10. package/dist/storybook/assets/{CircularProgress.stories-zWyELtfc.js → CircularProgress.stories-B82LXwfS.js} +1 -1
  11. package/dist/storybook/assets/ClipboardMixin.stories-Cr3efF-v.js +228 -0
  12. package/dist/storybook/assets/Color-64QXVMR3-BucypS4O.js +1 -0
  13. package/dist/storybook/assets/{Colors.stories-nEoNeHhf.js → Colors.stories-CeKs5FaB.js} +1 -1
  14. package/dist/storybook/assets/ComponentStatesMixin-BkLj42wt.js +1 -0
  15. package/dist/storybook/assets/ComponentStatesMixin.stories--YPoyrpQ.js +313 -0
  16. package/dist/storybook/assets/CopyToClipboard.stories-6vqDwd-F.js +277 -0
  17. package/dist/storybook/assets/{Events.stories-BP3ensxX.js → Events.stories-DD9wfoHi.js} +1 -1
  18. package/dist/storybook/assets/{Heading.stories-DGqWaBpi.js → Heading.stories-D-Pvm7NG.js} +1 -1
  19. package/dist/storybook/assets/{Icon.stories-BWWjh4NZ.js → Icon.stories-BbR3S56H.js} +1 -1
  20. package/dist/storybook/assets/{LinearProgress.stories-DMVolkoE.js → LinearProgress.stories-B9XHLvVn.js} +1 -1
  21. package/dist/storybook/assets/{ScrollShadow.stories-BmwSRNje.js → ScrollShadow.stories-CHFpB4Zf.js} +1 -1
  22. package/dist/storybook/assets/{Throttle.stories-DBj-9rhV.js → Throttle.stories-BGNJSyDp.js} +1 -1
  23. package/dist/storybook/assets/{WithTooltip-SK46ZJ2J-DW4NXFWt.js → WithTooltip-SK46ZJ2J-QQZnlVfm.js} +43 -43
  24. package/dist/storybook/assets/_commonjsHelpers-CqkleIqs.js +1 -0
  25. package/dist/storybook/assets/formatter-OMEEQ6HG-D3LRXsK-.js +1 -0
  26. package/dist/storybook/assets/{iframe-CxsKJSj-.css → iframe-CpEKhsmw.css} +1 -1
  27. package/dist/storybook/assets/{iframe-Z4F0Cgki.js → iframe-D-tG1MVV.js} +25 -25
  28. package/dist/storybook/assets/index-mcT8sPvs.js +1 -0
  29. package/dist/storybook/assets/onFind.stories-Dagoyfc5.js +284 -0
  30. package/dist/storybook/assets/syntaxhighlighter-CAVLW7PM-BoS99i_u.js +6 -0
  31. package/dist/storybook/iframe.html +2 -2
  32. package/dist/storybook/index.json +1 -1
  33. package/dist/storybook/project.json +1 -1
  34. package/dist/util/ClipboardMixin.d.ts +39 -0
  35. package/dist/util/ClipboardMixin.d.ts.map +1 -0
  36. package/dist/util/ClipboardMixin.js +77 -0
  37. package/dist/util/ClipboardMixin.js.map +1 -0
  38. package/dist/util/ComponentStatesMixin.d.ts +54 -0
  39. package/dist/util/ComponentStatesMixin.d.ts.map +1 -0
  40. package/dist/util/ComponentStatesMixin.js +58 -0
  41. package/dist/util/ComponentStatesMixin.js.map +1 -0
  42. package/dist/util/EventEmitterMixin.d.ts +5 -3
  43. package/dist/util/EventEmitterMixin.d.ts.map +1 -1
  44. package/dist/util/EventEmitterMixin.js.map +1 -1
  45. package/dist/util/onFind.d.ts +11 -0
  46. package/dist/util/onFind.d.ts.map +1 -0
  47. package/dist/util/onFind.js +210 -0
  48. package/dist/util/onFind.js.map +1 -0
  49. package/package.json +2 -1
  50. package/dist/storybook/assets/Color-64QXVMR3-B3Y5c9dl.js +0 -1
  51. package/dist/storybook/assets/formatter-OMEEQ6HG-BBn014aZ.js +0 -1
  52. package/dist/storybook/assets/index-BUj5S-B7.js +0 -1
  53. package/dist/storybook/assets/syntaxhighlighter-CAVLW7PM-CsQveU1N.js +0 -6
@@ -1,7 +1,7 @@
1
- const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./Avatar.stories-BlxrclP0.js","./preload-helper-PPVm8Dsz.js","./AvatarGroup.stories-E3VUvBae.js","./Badge.stories-f4YvPz0W.js","./Button.stories-N66xrq4q.js","./CircularProgress.stories-zWyELtfc.js","./Colors.stories-nEoNeHhf.js","./Events.stories-BP3ensxX.js","./Heading.stories-DGqWaBpi.js","./Icon.stories-BWWjh4NZ.js","./LinearProgress.stories-DMVolkoE.js","./ScrollShadow.stories-BmwSRNje.js","./Throttle.stories-DBj-9rhV.js","./WithTooltip-SK46ZJ2J-DW4NXFWt.js"])))=>i.map(i=>d[i]);
2
- import{_ as bt}from"./preload-helper-PPVm8Dsz.js";(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))n(o);new MutationObserver(o=>{for(const s of o)if(s.type==="childList")for(const a of s.addedNodes)a.tagName==="LINK"&&a.rel==="modulepreload"&&n(a)}).observe(document,{childList:!0,subtree:!0});function r(o){const s={};return o.integrity&&(s.integrity=o.integrity),o.referrerPolicy&&(s.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?s.credentials="include":o.crossOrigin==="anonymous"?s.credentials="omit":s.credentials="same-origin",s}function n(o){if(o.ep)return;o.ep=!0;const s=r(o);fetch(o.href,s)}})();var Tu={},yM=Object.create,fl=Object.defineProperty,gM=Object.getOwnPropertyDescriptor,lv=Object.getOwnPropertyNames,bM=Object.getPrototypeOf,vM=Object.prototype.hasOwnProperty,i=(e,t)=>fl(e,"name",{value:t,configurable:!0}),Fs=(e=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(e,{get:(t,r)=>(typeof require<"u"?require:t)[r]}):e)(function(e){if(typeof require<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+e+'" is not supported')}),B=(e,t)=>function(){return t||(0,e[lv(e)[0]])((t={exports:{}}).exports,t),t.exports},Tt=(e,t)=>{for(var r in t)fl(e,r,{get:t[r],enumerable:!0})},EM=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of lv(t))!vM.call(e,o)&&o!==r&&fl(e,o,{get:()=>t[o],enumerable:!(n=gM(t,o))||n.enumerable});return e},Ge=(e,t,r)=>(r=e!=null?yM(bM(e)):{},EM(t||!e||!e.__esModule?fl(r,"default",{value:e,enumerable:!0}):r,e)),TM=B({"../node_modules/@ngard/tiny-isequal/index.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.isEqual=(function(){var t=Object.prototype.toString,r=Object.getPrototypeOf,n=Object.getOwnPropertySymbols?function(o){return Object.keys(o).concat(Object.getOwnPropertySymbols(o))}:Object.keys;return function(o,s){return i(function a(c,u,d){var p,f,h,y=t.call(c),g=t.call(u);if(c===u)return!0;if(c==null||u==null)return!1;if(d.indexOf(c)>-1&&d.indexOf(u)>-1)return!0;if(d.push(c,u),y!=g||(p=n(c),f=n(u),p.length!=f.length||p.some(function(E){return!a(c[E],u[E],d)})))return!1;switch(y.slice(8,-1)){case"Symbol":return c.valueOf()==u.valueOf();case"Date":case"Number":return+c==+u||+c!=+c&&+u!=+u;case"RegExp":case"Function":case"String":case"Boolean":return""+c==""+u;case"Set":case"Map":p=c.entries(),f=u.entries();do if(!a((h=p.next()).value,f.next().value,d))return!1;while(!h.done);return!0;case"ArrayBuffer":c=new Uint8Array(c),u=new Uint8Array(u);case"DataView":c=new Uint8Array(c.buffer),u=new Uint8Array(u.buffer);case"Float32Array":case"Float64Array":case"Int8Array":case"Int16Array":case"Int32Array":case"Uint8Array":case"Uint16Array":case"Uint32Array":case"Uint8ClampedArray":case"Arguments":case"Array":if(c.length!=u.length)return!1;for(h=0;h<c.length;h++)if((h in c||h in u)&&(h in c!=h in u||!a(c[h],u[h],d)))return!1;return!0;case"Object":return a(r(c),r(u),d);default:return!1}},"n")(o,s,[])}})()}}),wM=B({"../node_modules/min-indent/index.js"(e,t){t.exports=r=>{const n=r.match(/^[ \t]*(?=\S)/gm);return n?n.reduce((o,s)=>Math.min(o,s.length),1/0):0}}}),_M=B({"../node_modules/strip-indent/index.js"(e,t){var r=wM();t.exports=n=>{const o=r(n);if(o===0)return n;const s=new RegExp(`^[ \\t]{${o}}`,"gm");return n.replace(s,"")}}}),SM=B({"../node_modules/indent-string/index.js"(e,t){t.exports=(r,n=1,o)=>{if(o={indent:" ",includeEmptyLines:!1,...o},typeof r!="string")throw new TypeError(`Expected \`input\` to be a \`string\`, got \`${typeof r}\``);if(typeof n!="number")throw new TypeError(`Expected \`count\` to be a \`number\`, got \`${typeof n}\``);if(typeof o.indent!="string")throw new TypeError(`Expected \`options.indent\` to be a \`string\`, got \`${typeof o.indent}\``);if(n===0)return r;const s=o.includeEmptyLines?/^/gm:/^(?!\s*$)/gm;return r.replace(s,o.indent.repeat(n))}}}),cv=B({"../node_modules/redent/index.js"(e,t){var r=_M(),n=SM();t.exports=(o,s=0,a)=>n(r(o),s,a)}}),PM=B({"../node_modules/aria-query/lib/util/iteratorProxy.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;function t(){var r=this,n=0,o={"@@iterator":i(function(){return o},"iterator"),next:i(function(){if(n<r.length){var a=r[n];return n=n+1,{done:!1,value:a}}else return{done:!0}},"next")};return o}i(t,"iteratorProxy"),e.default=t}}),hs=B({"../node_modules/aria-query/lib/util/iterationDecorator.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=o;var t=r(PM());function r(s){return s&&s.__esModule?s:{default:s}}i(r,"_interopRequireDefault");function n(s){"@babel/helpers - typeof";return n=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(a){return typeof a}:function(a){return a&&typeof Symbol=="function"&&a.constructor===Symbol&&a!==Symbol.prototype?"symbol":typeof a},n(s)}i(n,"_typeof");function o(s,a){return typeof Symbol=="function"&&n(Symbol.iterator)==="symbol"&&Object.defineProperty(s,Symbol.iterator,{value:t.default.bind(a)}),s}i(o,"iterationDecorator")}}),AM=B({"../node_modules/aria-query/lib/ariaPropsMap.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=r(hs());function r(f){return f&&f.__esModule?f:{default:f}}i(r,"_interopRequireDefault");function n(f,h){return u(f)||c(f,h)||s(f,h)||o()}i(n,"_slicedToArray");function o(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
1
+ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./Avatar.stories-CpXI9mXR.js","./preload-helper-PPVm8Dsz.js","./AvatarGroup.stories-D4NymG47.js","./Badge.stories-BP4Yixze.js","./Button.stories-DDpQzCOq.js","./CircularProgress.stories-B82LXwfS.js","./ClipboardMixin.stories-Cr3efF-v.js","./ComponentStatesMixin-BkLj42wt.js","./Colors.stories-CeKs5FaB.js","./ComponentStatesMixin.stories--YPoyrpQ.js","./CopyToClipboard.stories-6vqDwd-F.js","./Events.stories-DD9wfoHi.js","./Heading.stories-D-Pvm7NG.js","./Icon.stories-BbR3S56H.js","./LinearProgress.stories-B9XHLvVn.js","./ScrollShadow.stories-CHFpB4Zf.js","./Throttle.stories-BGNJSyDp.js","./onFind.stories-Dagoyfc5.js","./_commonjsHelpers-CqkleIqs.js","./WithTooltip-SK46ZJ2J-QQZnlVfm.js"])))=>i.map(i=>d[i]);
2
+ import{_ as ot}from"./preload-helper-PPVm8Dsz.js";(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))n(o);new MutationObserver(o=>{for(const s of o)if(s.type==="childList")for(const a of s.addedNodes)a.tagName==="LINK"&&a.rel==="modulepreload"&&n(a)}).observe(document,{childList:!0,subtree:!0});function r(o){const s={};return o.integrity&&(s.integrity=o.integrity),o.referrerPolicy&&(s.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?s.credentials="include":o.crossOrigin==="anonymous"?s.credentials="omit":s.credentials="same-origin",s}function n(o){if(o.ep)return;o.ep=!0;const s=r(o);fetch(o.href,s)}})();var Tu={},yM=Object.create,fl=Object.defineProperty,gM=Object.getOwnPropertyDescriptor,lv=Object.getOwnPropertyNames,bM=Object.getPrototypeOf,vM=Object.prototype.hasOwnProperty,i=(e,t)=>fl(e,"name",{value:t,configurable:!0}),Fs=(e=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(e,{get:(t,r)=>(typeof require<"u"?require:t)[r]}):e)(function(e){if(typeof require<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+e+'" is not supported')}),B=(e,t)=>function(){return t||(0,e[lv(e)[0]])((t={exports:{}}).exports,t),t.exports},Tt=(e,t)=>{for(var r in t)fl(e,r,{get:t[r],enumerable:!0})},EM=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of lv(t))!vM.call(e,o)&&o!==r&&fl(e,o,{get:()=>t[o],enumerable:!(n=gM(t,o))||n.enumerable});return e},Ge=(e,t,r)=>(r=e!=null?yM(bM(e)):{},EM(t||!e||!e.__esModule?fl(r,"default",{value:e,enumerable:!0}):r,e)),TM=B({"../node_modules/@ngard/tiny-isequal/index.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.isEqual=(function(){var t=Object.prototype.toString,r=Object.getPrototypeOf,n=Object.getOwnPropertySymbols?function(o){return Object.keys(o).concat(Object.getOwnPropertySymbols(o))}:Object.keys;return function(o,s){return i(function a(c,u,d){var p,f,h,y=t.call(c),g=t.call(u);if(c===u)return!0;if(c==null||u==null)return!1;if(d.indexOf(c)>-1&&d.indexOf(u)>-1)return!0;if(d.push(c,u),y!=g||(p=n(c),f=n(u),p.length!=f.length||p.some(function(E){return!a(c[E],u[E],d)})))return!1;switch(y.slice(8,-1)){case"Symbol":return c.valueOf()==u.valueOf();case"Date":case"Number":return+c==+u||+c!=+c&&+u!=+u;case"RegExp":case"Function":case"String":case"Boolean":return""+c==""+u;case"Set":case"Map":p=c.entries(),f=u.entries();do if(!a((h=p.next()).value,f.next().value,d))return!1;while(!h.done);return!0;case"ArrayBuffer":c=new Uint8Array(c),u=new Uint8Array(u);case"DataView":c=new Uint8Array(c.buffer),u=new Uint8Array(u.buffer);case"Float32Array":case"Float64Array":case"Int8Array":case"Int16Array":case"Int32Array":case"Uint8Array":case"Uint16Array":case"Uint32Array":case"Uint8ClampedArray":case"Arguments":case"Array":if(c.length!=u.length)return!1;for(h=0;h<c.length;h++)if((h in c||h in u)&&(h in c!=h in u||!a(c[h],u[h],d)))return!1;return!0;case"Object":return a(r(c),r(u),d);default:return!1}},"n")(o,s,[])}})()}}),wM=B({"../node_modules/min-indent/index.js"(e,t){t.exports=r=>{const n=r.match(/^[ \t]*(?=\S)/gm);return n?n.reduce((o,s)=>Math.min(o,s.length),1/0):0}}}),_M=B({"../node_modules/strip-indent/index.js"(e,t){var r=wM();t.exports=n=>{const o=r(n);if(o===0)return n;const s=new RegExp(`^[ \\t]{${o}}`,"gm");return n.replace(s,"")}}}),SM=B({"../node_modules/indent-string/index.js"(e,t){t.exports=(r,n=1,o)=>{if(o={indent:" ",includeEmptyLines:!1,...o},typeof r!="string")throw new TypeError(`Expected \`input\` to be a \`string\`, got \`${typeof r}\``);if(typeof n!="number")throw new TypeError(`Expected \`count\` to be a \`number\`, got \`${typeof n}\``);if(typeof o.indent!="string")throw new TypeError(`Expected \`options.indent\` to be a \`string\`, got \`${typeof o.indent}\``);if(n===0)return r;const s=o.includeEmptyLines?/^/gm:/^(?!\s*$)/gm;return r.replace(s,o.indent.repeat(n))}}}),cv=B({"../node_modules/redent/index.js"(e,t){var r=_M(),n=SM();t.exports=(o,s=0,a)=>n(r(o),s,a)}}),PM=B({"../node_modules/aria-query/lib/util/iteratorProxy.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;function t(){var r=this,n=0,o={"@@iterator":i(function(){return o},"iterator"),next:i(function(){if(n<r.length){var a=r[n];return n=n+1,{done:!1,value:a}}else return{done:!0}},"next")};return o}i(t,"iteratorProxy"),e.default=t}}),hs=B({"../node_modules/aria-query/lib/util/iterationDecorator.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=o;var t=r(PM());function r(s){return s&&s.__esModule?s:{default:s}}i(r,"_interopRequireDefault");function n(s){"@babel/helpers - typeof";return n=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(a){return typeof a}:function(a){return a&&typeof Symbol=="function"&&a.constructor===Symbol&&a!==Symbol.prototype?"symbol":typeof a},n(s)}i(n,"_typeof");function o(s,a){return typeof Symbol=="function"&&n(Symbol.iterator)==="symbol"&&Object.defineProperty(s,Symbol.iterator,{value:t.default.bind(a)}),s}i(o,"iterationDecorator")}}),AM=B({"../node_modules/aria-query/lib/ariaPropsMap.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=r(hs());function r(f){return f&&f.__esModule?f:{default:f}}i(r,"_interopRequireDefault");function n(f,h){return u(f)||c(f,h)||s(f,h)||o()}i(n,"_slicedToArray");function o(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
3
3
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}i(o,"_nonIterableRest");function s(f,h){if(f){if(typeof f=="string")return a(f,h);var y={}.toString.call(f).slice(8,-1);return y==="Object"&&f.constructor&&(y=f.constructor.name),y==="Map"||y==="Set"?Array.from(f):y==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(y)?a(f,h):void 0}}i(s,"_unsupportedIterableToArray");function a(f,h){(h==null||h>f.length)&&(h=f.length);for(var y=0,g=Array(h);y<h;y++)g[y]=f[y];return g}i(a,"_arrayLikeToArray");function c(f,h){var y=f==null?null:typeof Symbol<"u"&&f[Symbol.iterator]||f["@@iterator"];if(y!=null){var g,E,T,v,_=[],R=!0,N=!1;try{if(T=(y=y.call(f)).next,h===0){if(Object(y)!==y)return;R=!1}else for(;!(R=(g=T.call(y)).done)&&(_.push(g.value),_.length!==h);R=!0);}catch(j){N=!0,E=j}finally{try{if(!R&&y.return!=null&&(v=y.return(),Object(v)!==v))return}finally{if(N)throw E}}return _}}i(c,"_iterableToArrayLimit");function u(f){if(Array.isArray(f))return f}i(u,"_arrayWithHoles");var d=[["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"}]],p={entries:i(function(){return d},"entries"),forEach:i(function(h){for(var y=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,g=0,E=d;g<E.length;g++){var T=n(E[g],2),v=T[0],_=T[1];h.call(y,_,v,d)}},"forEach"),get:i(function(h){var y=d.filter(function(g){return g[0]===h})[0];return y&&y[1]},"get"),has:i(function(h){return!!p.get(h)},"has"),keys:i(function(){return d.map(function(h){var y=n(h,1),g=y[0];return g})},"keys"),values:i(function(){return d.map(function(h){var y=n(h,2),g=y[1];return g})},"values")};e.default=(0,t.default)(p,p.entries())}}),RM=B({"../node_modules/aria-query/lib/domMap.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=r(hs());function r(f){return f&&f.__esModule?f:{default:f}}i(r,"_interopRequireDefault");function n(f,h){return u(f)||c(f,h)||s(f,h)||o()}i(n,"_slicedToArray");function o(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
4
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}i(o,"_nonIterableRest");function s(f,h){if(f){if(typeof f=="string")return a(f,h);var y={}.toString.call(f).slice(8,-1);return y==="Object"&&f.constructor&&(y=f.constructor.name),y==="Map"||y==="Set"?Array.from(f):y==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(y)?a(f,h):void 0}}i(s,"_unsupportedIterableToArray");function a(f,h){(h==null||h>f.length)&&(h=f.length);for(var y=0,g=Array(h);y<h;y++)g[y]=f[y];return g}i(a,"_arrayLikeToArray");function c(f,h){var y=f==null?null:typeof Symbol<"u"&&f[Symbol.iterator]||f["@@iterator"];if(y!=null){var g,E,T,v,_=[],R=!0,N=!1;try{if(T=(y=y.call(f)).next,h===0){if(Object(y)!==y)return;R=!1}else for(;!(R=(g=T.call(y)).done)&&(_.push(g.value),_.length!==h);R=!0);}catch(j){N=!0,E=j}finally{try{if(!R&&y.return!=null&&(v=y.return(),Object(v)!==v))return}finally{if(N)throw E}}return _}}i(c,"_iterableToArrayLimit");function u(f){if(Array.isArray(f))return f}i(u,"_arrayWithHoles");var d=[["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}]],p={entries:i(function(){return d},"entries"),forEach:i(function(h){for(var y=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,g=0,E=d;g<E.length;g++){var T=n(E[g],2),v=T[0],_=T[1];h.call(y,_,v,d)}},"forEach"),get:i(function(h){var y=d.filter(function(g){return g[0]===h})[0];return y&&y[1]},"get"),has:i(function(h){return!!p.get(h)},"has"),keys:i(function(){return d.map(function(h){var y=n(h,1),g=y[0];return g})},"keys"),values:i(function(){return d.map(function(h){var y=n(h,2),g=y[1];return g})},"values")};e.default=(0,t.default)(p,p.entries())}}),OM=B({"../node_modules/aria-query/lib/etc/roles/abstract/commandRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget"]]};e.default=t}}),CM=B({"../node_modules/aria-query/lib/etc/roles/abstract/compositeRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-disabled":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget"]]};e.default=t}}),xM=B({"../node_modules/aria-query/lib/etc/roles/abstract/inputRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null},relatedConcepts:[{concept:{name:"input"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget"]]};e.default=t}}),NM=B({"../node_modules/aria-query/lib/etc/roles/abstract/landmarkRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),IM=B({"../node_modules/aria-query/lib/etc/roles/abstract/rangeRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-valuemax":null,"aria-valuemin":null,"aria-valuenow":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]};e.default=t}}),MM=B({"../node_modules/aria-query/lib/etc/roles/abstract/roletypeRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{"aria-atomic":null,"aria-busy":null,"aria-controls":null,"aria-current":null,"aria-describedby":null,"aria-details":null,"aria-dropeffect":null,"aria-flowto":null,"aria-grabbed":null,"aria-hidden":null,"aria-keyshortcuts":null,"aria-label":null,"aria-labelledby":null,"aria-live":null,"aria-owns":null,"aria-relevant":null,"aria-roledescription":null},relatedConcepts:[{concept:{name:"role"},module:"XHTML"},{concept:{name:"type"},module:"Dublin Core"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[]};e.default=t}}),qM=B({"../node_modules/aria-query/lib/etc/roles/abstract/sectionRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"frontmatter"},module:"DTB"},{concept:{name:"level"},module:"DTB"},{concept:{name:"level"},module:"SMIL"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]};e.default=t}}),jM=B({"../node_modules/aria-query/lib/etc/roles/abstract/sectionheadRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]};e.default=t}}),kM=B({"../node_modules/aria-query/lib/etc/roles/abstract/selectRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-orientation":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","composite"],["roletype","structure","section","group"]]};e.default=t}}),DM=B({"../node_modules/aria-query/lib/etc/roles/abstract/structureRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype"]]};e.default=t}}),LM=B({"../node_modules/aria-query/lib/etc/roles/abstract/widgetRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype"]]};e.default=t}}),FM=B({"../node_modules/aria-query/lib/etc/roles/abstract/windowRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-modal":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype"]]};e.default=t}}),$M=B({"../node_modules/aria-query/lib/etc/roles/ariaAbstractRoles.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=y(OM()),r=y(CM()),n=y(xM()),o=y(NM()),s=y(IM()),a=y(MM()),c=y(qM()),u=y(jM()),d=y(kM()),p=y(DM()),f=y(LM()),h=y(FM());function y(E){return E&&E.__esModule?E:{default:E}}i(y,"_interopRequireDefault");var g=[["command",t.default],["composite",r.default],["input",n.default],["landmark",o.default],["range",s.default],["roletype",a.default],["section",c.default],["sectionhead",u.default],["select",d.default],["structure",p.default],["widget",f.default],["window",h.default]];e.default=g}}),BM=B({"../node_modules/aria-query/lib/etc/roles/literal/alertRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-atomic":"true","aria-live":"assertive"},relatedConcepts:[{concept:{name:"alert"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),JM=B({"../node_modules/aria-query/lib/etc/roles/literal/alertdialogRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"alert"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","alert"],["roletype","window","dialog"]]};e.default=t}}),UM=B({"../node_modules/aria-query/lib/etc/roles/literal/applicationRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"Device Independence Delivery Unit"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]};e.default=t}}),VM=B({"../node_modules/aria-query/lib/etc/roles/literal/articleRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-posinset":null,"aria-setsize":null},relatedConcepts:[{concept:{name:"article"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","document"]]};e.default=t}}),HM=B({"../node_modules/aria-query/lib/etc/roles/literal/bannerRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{constraints:["scoped to the body element"],name:"header"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}}),zM=B({"../node_modules/aria-query/lib/etc/roles/literal/blockquoteRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"blockquote"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),GM=B({"../node_modules/aria-query/lib/etc/roles/literal/buttonRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-expanded":null,"aria-haspopup":null,"aria-pressed":null},relatedConcepts:[{concept:{attributes:[{name:"type",value:"button"}],name:"input"},module:"HTML"},{concept:{attributes:[{name:"type",value:"image"}],name:"input"},module:"HTML"},{concept:{attributes:[{name:"type",value:"reset"}],name:"input"},module:"HTML"},{concept:{attributes:[{name:"type",value:"submit"}],name:"input"},module:"HTML"},{concept:{name:"button"},module:"HTML"},{concept:{name:"trigger"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command"]]};e.default=t}}),WM=B({"../node_modules/aria-query/lib/etc/roles/literal/captionRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"caption"},module:"HTML"}],requireContextRole:["figure","grid","table"],requiredContextRole:["figure","grid","table"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),KM=B({"../node_modules/aria-query/lib/etc/roles/literal/cellRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-colindex":null,"aria-colspan":null,"aria-rowindex":null,"aria-rowspan":null},relatedConcepts:[{concept:{constraints:["ancestor table element has table role"],name:"td"},module:"HTML"}],requireContextRole:["row"],requiredContextRole:["row"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),YM=B({"../node_modules/aria-query/lib/etc/roles/literal/checkboxRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-checked":null,"aria-errormessage":null,"aria-expanded":null,"aria-invalid":null,"aria-readonly":null,"aria-required":null},relatedConcepts:[{concept:{attributes:[{name:"type",value:"checkbox"}],name:"input"},module:"HTML"},{concept:{name:"option"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input"]]};e.default=t}}),XM=B({"../node_modules/aria-query/lib/etc/roles/literal/codeRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"code"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),QM=B({"../node_modules/aria-query/lib/etc/roles/literal/columnheaderRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-sort":null},relatedConcepts:[{concept:{name:"th"},module:"HTML"},{concept:{attributes:[{name:"scope",value:"col"}],name:"th"},module:"HTML"},{concept:{attributes:[{name:"scope",value:"colgroup"}],name:"th"},module:"HTML"}],requireContextRole:["row"],requiredContextRole:["row"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","cell"],["roletype","structure","section","cell","gridcell"],["roletype","widget","gridcell"],["roletype","structure","sectionhead"]]};e.default=t}}),ZM=B({"../node_modules/aria-query/lib/etc/roles/literal/comboboxRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-autocomplete":null,"aria-errormessage":null,"aria-invalid":null,"aria-readonly":null,"aria-required":null,"aria-expanded":"false","aria-haspopup":"listbox"},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"email"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"search"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"tel"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"text"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"url"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"url"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"multiple"},{constraints:["undefined"],name:"size"}],constraints:["the multiple attribute is not set and the size attribute does not have a value greater than 1"],name:"select"},module:"HTML"},{concept:{name:"select"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-controls":null,"aria-expanded":"false"},superClass:[["roletype","widget","input"]]};e.default=t}}),eq=B({"../node_modules/aria-query/lib/etc/roles/literal/complementaryRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{constraints:["scoped to the body element","scoped to the main element"],name:"aside"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"aria-label"}],constraints:["scoped to a sectioning content element","scoped to a sectioning root element other than body"],name:"aside"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"aria-labelledby"}],constraints:["scoped to a sectioning content element","scoped to a sectioning root element other than body"],name:"aside"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}}),tq=B({"../node_modules/aria-query/lib/etc/roles/literal/contentinfoRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{constraints:["scoped to the body element"],name:"footer"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}}),rq=B({"../node_modules/aria-query/lib/etc/roles/literal/definitionRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"dd"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),nq=B({"../node_modules/aria-query/lib/etc/roles/literal/deletionRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"del"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),oq=B({"../node_modules/aria-query/lib/etc/roles/literal/dialogRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"dialog"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","window"]]};e.default=t}}),iq=B({"../node_modules/aria-query/lib/etc/roles/literal/directoryRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{module:"DAISY Guide"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","list"]]};e.default=t}}),sq=B({"../node_modules/aria-query/lib/etc/roles/literal/documentRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"Device Independence Delivery Unit"}},{concept:{name:"html"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]};e.default=t}}),aq=B({"../node_modules/aria-query/lib/etc/roles/literal/emphasisRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"em"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),lq=B({"../node_modules/aria-query/lib/etc/roles/literal/feedRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["article"]],requiredProps:{},superClass:[["roletype","structure","section","list"]]};e.default=t}}),cq=B({"../node_modules/aria-query/lib/etc/roles/literal/figureRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"figure"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),uq=B({"../node_modules/aria-query/lib/etc/roles/literal/formRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"aria-label"}],name:"form"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"aria-labelledby"}],name:"form"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"name"}],name:"form"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}}),dq=B({"../node_modules/aria-query/lib/etc/roles/literal/genericRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"a"},module:"HTML"},{concept:{name:"area"},module:"HTML"},{concept:{name:"aside"},module:"HTML"},{concept:{name:"b"},module:"HTML"},{concept:{name:"bdo"},module:"HTML"},{concept:{name:"body"},module:"HTML"},{concept:{name:"data"},module:"HTML"},{concept:{name:"div"},module:"HTML"},{concept:{constraints:["scoped to the main element","scoped to a sectioning content element","scoped to a sectioning root element other than body"],name:"footer"},module:"HTML"},{concept:{constraints:["scoped to the main element","scoped to a sectioning content element","scoped to a sectioning root element other than body"],name:"header"},module:"HTML"},{concept:{name:"hgroup"},module:"HTML"},{concept:{name:"i"},module:"HTML"},{concept:{name:"pre"},module:"HTML"},{concept:{name:"q"},module:"HTML"},{concept:{name:"samp"},module:"HTML"},{concept:{name:"section"},module:"HTML"},{concept:{name:"small"},module:"HTML"},{concept:{name:"span"},module:"HTML"},{concept:{name:"u"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]};e.default=t}}),pq=B({"../node_modules/aria-query/lib/etc/roles/literal/gridRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-multiselectable":null,"aria-readonly":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["row"],["row","rowgroup"]],requiredProps:{},superClass:[["roletype","widget","composite"],["roletype","structure","section","table"]]};e.default=t}}),fq=B({"../node_modules/aria-query/lib/etc/roles/literal/gridcellRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null,"aria-readonly":null,"aria-required":null,"aria-selected":null},relatedConcepts:[{concept:{constraints:["ancestor table element has grid role","ancestor table element has treegrid role"],name:"td"},module:"HTML"}],requireContextRole:["row"],requiredContextRole:["row"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","cell"],["roletype","widget"]]};e.default=t}}),mq=B({"../node_modules/aria-query/lib/etc/roles/literal/groupRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-disabled":null},relatedConcepts:[{concept:{name:"details"},module:"HTML"},{concept:{name:"fieldset"},module:"HTML"},{concept:{name:"optgroup"},module:"HTML"},{concept:{name:"address"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),hq=B({"../node_modules/aria-query/lib/etc/roles/literal/headingRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-level":"2"},relatedConcepts:[{concept:{name:"h1"},module:"HTML"},{concept:{name:"h2"},module:"HTML"},{concept:{name:"h3"},module:"HTML"},{concept:{name:"h4"},module:"HTML"},{concept:{name:"h5"},module:"HTML"},{concept:{name:"h6"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-level":"2"},superClass:[["roletype","structure","sectionhead"]]};e.default=t}}),yq=B({"../node_modules/aria-query/lib/etc/roles/literal/imgRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"alt"}],name:"img"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"alt"}],name:"img"},module:"HTML"},{concept:{name:"imggroup"},module:"DTB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),gq=B({"../node_modules/aria-query/lib/etc/roles/literal/insertionRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"ins"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),bq=B({"../node_modules/aria-query/lib/etc/roles/literal/linkRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-expanded":null,"aria-haspopup":null},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"href"}],name:"a"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"href"}],name:"area"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command"]]};e.default=t}}),vq=B({"../node_modules/aria-query/lib/etc/roles/literal/listRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"menu"},module:"HTML"},{concept:{name:"ol"},module:"HTML"},{concept:{name:"ul"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["listitem"]],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),Eq=B({"../node_modules/aria-query/lib/etc/roles/literal/listboxRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-expanded":null,"aria-invalid":null,"aria-multiselectable":null,"aria-readonly":null,"aria-required":null,"aria-orientation":"vertical"},relatedConcepts:[{concept:{attributes:[{constraints:[">1"],name:"size"}],constraints:["the size attribute value is greater than 1"],name:"select"},module:"HTML"},{concept:{attributes:[{name:"multiple"}],name:"select"},module:"HTML"},{concept:{name:"datalist"},module:"HTML"},{concept:{name:"list"},module:"ARIA"},{concept:{name:"select"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["option","group"],["option"]],requiredProps:{},superClass:[["roletype","widget","composite","select"],["roletype","structure","section","group","select"]]};e.default=t}}),Tq=B({"../node_modules/aria-query/lib/etc/roles/literal/listitemRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-level":null,"aria-posinset":null,"aria-setsize":null},relatedConcepts:[{concept:{constraints:["direct descendant of ol","direct descendant of ul","direct descendant of menu"],name:"li"},module:"HTML"},{concept:{name:"item"},module:"XForms"}],requireContextRole:["directory","list"],requiredContextRole:["directory","list"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),wq=B({"../node_modules/aria-query/lib/etc/roles/literal/logRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-live":"polite"},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),_q=B({"../node_modules/aria-query/lib/etc/roles/literal/mainRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"main"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}}),Sq=B({"../node_modules/aria-query/lib/etc/roles/literal/markRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:[],props:{"aria-braillelabel":null,"aria-brailleroledescription":null,"aria-description":null},relatedConcepts:[{concept:{name:"mark"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),Pq=B({"../node_modules/aria-query/lib/etc/roles/literal/marqueeRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),Aq=B({"../node_modules/aria-query/lib/etc/roles/literal/mathRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"math"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),Rq=B({"../node_modules/aria-query/lib/etc/roles/literal/menuRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-orientation":"vertical"},relatedConcepts:[{concept:{name:"MENU"},module:"JAPI"},{concept:{name:"list"},module:"ARIA"},{concept:{name:"select"},module:"XForms"},{concept:{name:"sidebar"},module:"DTB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["menuitem","group"],["menuitemradio","group"],["menuitemcheckbox","group"],["menuitem"],["menuitemcheckbox"],["menuitemradio"]],requiredProps:{},superClass:[["roletype","widget","composite","select"],["roletype","structure","section","group","select"]]};e.default=t}}),Oq=B({"../node_modules/aria-query/lib/etc/roles/literal/menubarRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-orientation":"horizontal"},relatedConcepts:[{concept:{name:"toolbar"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["menuitem","group"],["menuitemradio","group"],["menuitemcheckbox","group"],["menuitem"],["menuitemcheckbox"],["menuitemradio"]],requiredProps:{},superClass:[["roletype","widget","composite","select","menu"],["roletype","structure","section","group","select","menu"]]};e.default=t}}),Cq=B({"../node_modules/aria-query/lib/etc/roles/literal/menuitemRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-expanded":null,"aria-haspopup":null,"aria-posinset":null,"aria-setsize":null},relatedConcepts:[{concept:{name:"MENU_ITEM"},module:"JAPI"},{concept:{name:"listitem"},module:"ARIA"},{concept:{name:"option"},module:"ARIA"}],requireContextRole:["group","menu","menubar"],requiredContextRole:["group","menu","menubar"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command"]]};e.default=t}}),xq=B({"../node_modules/aria-query/lib/etc/roles/literal/menuitemcheckboxRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"menuitem"},module:"ARIA"}],requireContextRole:["group","menu","menubar"],requiredContextRole:["group","menu","menubar"],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input","checkbox"],["roletype","widget","command","menuitem"]]};e.default=t}}),Nq=B({"../node_modules/aria-query/lib/etc/roles/literal/menuitemradioRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"menuitem"},module:"ARIA"}],requireContextRole:["group","menu","menubar"],requiredContextRole:["group","menu","menubar"],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input","checkbox","menuitemcheckbox"],["roletype","widget","command","menuitem","menuitemcheckbox"],["roletype","widget","input","radio"]]};e.default=t}}),Iq=B({"../node_modules/aria-query/lib/etc/roles/literal/meterRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-valuetext":null,"aria-valuemax":"100","aria-valuemin":"0"},relatedConcepts:[{concept:{name:"meter"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-valuenow":null},superClass:[["roletype","structure","range"]]};e.default=t}}),Mq=B({"../node_modules/aria-query/lib/etc/roles/literal/navigationRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"nav"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}}),qq=B({"../node_modules/aria-query/lib/etc/roles/literal/noneRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[]};e.default=t}}),jq=B({"../node_modules/aria-query/lib/etc/roles/literal/noteRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),kq=B({"../node_modules/aria-query/lib/etc/roles/literal/optionRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-checked":null,"aria-posinset":null,"aria-setsize":null,"aria-selected":"false"},relatedConcepts:[{concept:{name:"item"},module:"XForms"},{concept:{name:"listitem"},module:"ARIA"},{concept:{name:"option"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-selected":"false"},superClass:[["roletype","widget","input"]]};e.default=t}}),Dq=B({"../node_modules/aria-query/lib/etc/roles/literal/paragraphRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"p"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),Lq=B({"../node_modules/aria-query/lib/etc/roles/literal/presentationRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{attributes:[{name:"alt",value:""}],name:"img"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]};e.default=t}}),Fq=B({"../node_modules/aria-query/lib/etc/roles/literal/progressbarRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-valuetext":null},relatedConcepts:[{concept:{name:"progress"},module:"HTML"},{concept:{name:"status"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","range"],["roletype","widget"]]};e.default=t}}),$q=B({"../node_modules/aria-query/lib/etc/roles/literal/radioRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-checked":null,"aria-posinset":null,"aria-setsize":null},relatedConcepts:[{concept:{attributes:[{name:"type",value:"radio"}],name:"input"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input"]]};e.default=t}}),Bq=B({"../node_modules/aria-query/lib/etc/roles/literal/radiogroupRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null,"aria-readonly":null,"aria-required":null},relatedConcepts:[{concept:{name:"list"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["radio"]],requiredProps:{},superClass:[["roletype","widget","composite","select"],["roletype","structure","section","group","select"]]};e.default=t}}),Jq=B({"../node_modules/aria-query/lib/etc/roles/literal/regionRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"aria-label"}],name:"section"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"aria-labelledby"}],name:"section"},module:"HTML"},{concept:{name:"Device Independence Glossart perceivable unit"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}}),Uq=B({"../node_modules/aria-query/lib/etc/roles/literal/rowRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-colindex":null,"aria-expanded":null,"aria-level":null,"aria-posinset":null,"aria-rowindex":null,"aria-selected":null,"aria-setsize":null},relatedConcepts:[{concept:{name:"tr"},module:"HTML"}],requireContextRole:["grid","rowgroup","table","treegrid"],requiredContextRole:["grid","rowgroup","table","treegrid"],requiredOwnedElements:[["cell"],["columnheader"],["gridcell"],["rowheader"]],requiredProps:{},superClass:[["roletype","structure","section","group"],["roletype","widget"]]};e.default=t}}),Vq=B({"../node_modules/aria-query/lib/etc/roles/literal/rowgroupRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"tbody"},module:"HTML"},{concept:{name:"tfoot"},module:"HTML"},{concept:{name:"thead"},module:"HTML"}],requireContextRole:["grid","table","treegrid"],requiredContextRole:["grid","table","treegrid"],requiredOwnedElements:[["row"]],requiredProps:{},superClass:[["roletype","structure"]]};e.default=t}}),Hq=B({"../node_modules/aria-query/lib/etc/roles/literal/rowheaderRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-sort":null},relatedConcepts:[{concept:{attributes:[{name:"scope",value:"row"}],name:"th"},module:"HTML"},{concept:{attributes:[{name:"scope",value:"rowgroup"}],name:"th"},module:"HTML"}],requireContextRole:["row","rowgroup"],requiredContextRole:["row","rowgroup"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","cell"],["roletype","structure","section","cell","gridcell"],["roletype","widget","gridcell"],["roletype","structure","sectionhead"]]};e.default=t}}),zq=B({"../node_modules/aria-query/lib/etc/roles/literal/scrollbarRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-valuetext":null,"aria-orientation":"vertical","aria-valuemax":"100","aria-valuemin":"0"},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-controls":null,"aria-valuenow":null},superClass:[["roletype","structure","range"],["roletype","widget"]]};e.default=t}}),Gq=B({"../node_modules/aria-query/lib/etc/roles/literal/searchRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}}),Wq=B({"../node_modules/aria-query/lib/etc/roles/literal/searchboxRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"search"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","input","textbox"]]};e.default=t}}),Kq=B({"../node_modules/aria-query/lib/etc/roles/literal/separatorRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-orientation":"horizontal","aria-valuemax":"100","aria-valuemin":"0","aria-valuenow":null,"aria-valuetext":null},relatedConcepts:[{concept:{name:"hr"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]};e.default=t}}),Yq=B({"../node_modules/aria-query/lib/etc/roles/literal/sliderRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-haspopup":null,"aria-invalid":null,"aria-readonly":null,"aria-valuetext":null,"aria-orientation":"horizontal","aria-valuemax":"100","aria-valuemin":"0"},relatedConcepts:[{concept:{attributes:[{name:"type",value:"range"}],name:"input"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-valuenow":null},superClass:[["roletype","widget","input"],["roletype","structure","range"]]};e.default=t}}),Xq=B({"../node_modules/aria-query/lib/etc/roles/literal/spinbuttonRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null,"aria-readonly":null,"aria-required":null,"aria-valuetext":null,"aria-valuenow":"0"},relatedConcepts:[{concept:{attributes:[{name:"type",value:"number"}],name:"input"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","composite"],["roletype","widget","input"],["roletype","structure","range"]]};e.default=t}}),Qq=B({"../node_modules/aria-query/lib/etc/roles/literal/statusRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-atomic":"true","aria-live":"polite"},relatedConcepts:[{concept:{name:"output"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),Zq=B({"../node_modules/aria-query/lib/etc/roles/literal/strongRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"strong"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),ej=B({"../node_modules/aria-query/lib/etc/roles/literal/subscriptRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"sub"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),tj=B({"../node_modules/aria-query/lib/etc/roles/literal/superscriptRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"sup"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),rj=B({"../node_modules/aria-query/lib/etc/roles/literal/switchRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"button"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input","checkbox"]]};e.default=t}}),nj=B({"../node_modules/aria-query/lib/etc/roles/literal/tabRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-expanded":null,"aria-haspopup":null,"aria-posinset":null,"aria-setsize":null,"aria-selected":"false"},relatedConcepts:[],requireContextRole:["tablist"],requiredContextRole:["tablist"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","sectionhead"],["roletype","widget"]]};e.default=t}}),oj=B({"../node_modules/aria-query/lib/etc/roles/literal/tableRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-colcount":null,"aria-rowcount":null},relatedConcepts:[{concept:{name:"table"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["row"],["row","rowgroup"]],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),ij=B({"../node_modules/aria-query/lib/etc/roles/literal/tablistRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-level":null,"aria-multiselectable":null,"aria-orientation":"horizontal"},relatedConcepts:[{module:"DAISY",concept:{name:"guide"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["tab"]],requiredProps:{},superClass:[["roletype","widget","composite"]]};e.default=t}}),sj=B({"../node_modules/aria-query/lib/etc/roles/literal/tabpanelRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),aj=B({"../node_modules/aria-query/lib/etc/roles/literal/termRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"dfn"},module:"HTML"},{concept:{name:"dt"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),lj=B({"../node_modules/aria-query/lib/etc/roles/literal/textboxRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-autocomplete":null,"aria-errormessage":null,"aria-haspopup":null,"aria-invalid":null,"aria-multiline":null,"aria-placeholder":null,"aria-readonly":null,"aria-required":null},relatedConcepts:[{concept:{attributes:[{constraints:["undefined"],name:"type"},{constraints:["undefined"],name:"list"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"email"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"tel"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"text"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"url"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"},{concept:{name:"input"},module:"XForms"},{concept:{name:"textarea"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","input"]]};e.default=t}}),cj=B({"../node_modules/aria-query/lib/etc/roles/literal/timeRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"time"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),uj=B({"../node_modules/aria-query/lib/etc/roles/literal/timerRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","status"]]};e.default=t}}),dj=B({"../node_modules/aria-query/lib/etc/roles/literal/toolbarRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-orientation":"horizontal"},relatedConcepts:[{concept:{name:"menubar"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","group"]]};e.default=t}}),pj=B({"../node_modules/aria-query/lib/etc/roles/literal/tooltipRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),fj=B({"../node_modules/aria-query/lib/etc/roles/literal/treeRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null,"aria-multiselectable":null,"aria-required":null,"aria-orientation":"vertical"},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["treeitem","group"],["treeitem"]],requiredProps:{},superClass:[["roletype","widget","composite","select"],["roletype","structure","section","group","select"]]};e.default=t}}),mj=B({"../node_modules/aria-query/lib/etc/roles/literal/treegridRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["row"],["row","rowgroup"]],requiredProps:{},superClass:[["roletype","widget","composite","grid"],["roletype","structure","section","table","grid"],["roletype","widget","composite","select","tree"],["roletype","structure","section","group","select","tree"]]};e.default=t}}),hj=B({"../node_modules/aria-query/lib/etc/roles/literal/treeitemRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-expanded":null,"aria-haspopup":null},relatedConcepts:[],requireContextRole:["group","tree"],requiredContextRole:["group","tree"],requiredOwnedElements:[],requiredProps:{"aria-selected":null},superClass:[["roletype","structure","section","listitem"],["roletype","widget","input","option"]]};e.default=t}}),yj=B({"../node_modules/aria-query/lib/etc/roles/ariaLiteralRoles.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=Y(BM()),r=Y(JM()),n=Y(UM()),o=Y(VM()),s=Y(HM()),a=Y(zM()),c=Y(GM()),u=Y(WM()),d=Y(KM()),p=Y(YM()),f=Y(XM()),h=Y(QM()),y=Y(ZM()),g=Y(eq()),E=Y(tq()),T=Y(rq()),v=Y(nq()),_=Y(oq()),R=Y(iq()),N=Y(sq()),j=Y(aq()),C=Y(lq()),P=Y(cq()),w=Y(uq()),S=Y(dq()),k=Y(pq()),I=Y(fq()),V=Y(mq()),H=Y(hq()),A=Y(yq()),L=Y(gq()),$=Y(bq()),D=Y(vq()),K=Y(Eq()),X=Y(Tq()),ie=Y(wq()),se=Y(_q()),W=Y(Sq()),ae=Y(Pq()),be=Y(Aq()),ue=Y(Rq()),ee=Y(Oq()),Re=Y(Cq()),Oe=Y(xq()),He=Y(Nq()),Ke=Y(Iq()),J=Y(Mq()),Q=Y(qq()),re=Y(jq()),oe=Y(kq()),ne=Y(Dq()),de=Y(Lq()),he=Y(Fq()),pe=Y($q()),$e=Y(Bq()),ot=Y(Jq()),dt=Y(Uq()),wt=Y(Vq()),it=Y(Hq()),pt=Y(zq()),ft=Y(Gq()),mt=Y(Wq()),tn=Y(Kq()),Jo=Y(Yq()),rn=Y(Xq()),Uo=Y(Qq()),Vo=Y(Zq()),Ho=Y(ej()),nn=Y(tj()),zo=Y(rj()),Go=Y(nj()),Wo=Y(oj()),Ko=Y(ij()),Yo=Y(sj()),Xo=Y(aj()),Qo=Y(lj()),Zo=Y(cj()),ei=Y(uj()),ti=Y(dj()),ri=Y(pj()),ni=Y(fj()),ur=Y(mj()),on=Y(hj());function Y(It){return It&&It.__esModule?It:{default:It}}i(Y,"_interopRequireDefault");var le=[["alert",t.default],["alertdialog",r.default],["application",n.default],["article",o.default],["banner",s.default],["blockquote",a.default],["button",c.default],["caption",u.default],["cell",d.default],["checkbox",p.default],["code",f.default],["columnheader",h.default],["combobox",y.default],["complementary",g.default],["contentinfo",E.default],["definition",T.default],["deletion",v.default],["dialog",_.default],["directory",R.default],["document",N.default],["emphasis",j.default],["feed",C.default],["figure",P.default],["form",w.default],["generic",S.default],["grid",k.default],["gridcell",I.default],["group",V.default],["heading",H.default],["img",A.default],["insertion",L.default],["link",$.default],["list",D.default],["listbox",K.default],["listitem",X.default],["log",ie.default],["main",se.default],["mark",W.default],["marquee",ae.default],["math",be.default],["menu",ue.default],["menubar",ee.default],["menuitem",Re.default],["menuitemcheckbox",Oe.default],["menuitemradio",He.default],["meter",Ke.default],["navigation",J.default],["none",Q.default],["note",re.default],["option",oe.default],["paragraph",ne.default],["presentation",de.default],["progressbar",he.default],["radio",pe.default],["radiogroup",$e.default],["region",ot.default],["row",dt.default],["rowgroup",wt.default],["rowheader",it.default],["scrollbar",pt.default],["search",ft.default],["searchbox",mt.default],["separator",tn.default],["slider",Jo.default],["spinbutton",rn.default],["status",Uo.default],["strong",Vo.default],["subscript",Ho.default],["superscript",nn.default],["switch",zo.default],["tab",Go.default],["table",Wo.default],["tablist",Ko.default],["tabpanel",Yo.default],["term",Xo.default],["textbox",Qo.default],["time",Zo.default],["timer",ei.default],["toolbar",ti.default],["tooltip",ri.default],["tree",ni.default],["treegrid",ur.default],["treeitem",on.default]];e.default=le}}),gj=B({"../node_modules/aria-query/lib/etc/roles/dpub/docAbstractRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"abstract [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),bj=B({"../node_modules/aria-query/lib/etc/roles/dpub/docAcknowledgmentsRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"acknowledgments [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}}),vj=B({"../node_modules/aria-query/lib/etc/roles/dpub/docAfterwordRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"afterword [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}}),Ej=B({"../node_modules/aria-query/lib/etc/roles/dpub/docAppendixRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"appendix [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}}),Tj=B({"../node_modules/aria-query/lib/etc/roles/dpub/docBacklinkRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"referrer [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command","link"]]};e.default=t}}),wj=B({"../node_modules/aria-query/lib/etc/roles/dpub/docBiblioentryRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"EPUB biblioentry [EPUB-SSV]"},module:"EPUB"}],requireContextRole:["doc-bibliography"],requiredContextRole:["doc-bibliography"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","listitem"]]};e.default=t}}),_j=B({"../node_modules/aria-query/lib/etc/roles/dpub/docBibliographyRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"bibliography [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["doc-biblioentry"]],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}}),Sj=B({"../node_modules/aria-query/lib/etc/roles/dpub/docBibliorefRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"biblioref [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command","link"]]};e.default=t}}),Pj=B({"../node_modules/aria-query/lib/etc/roles/dpub/docChapterRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"chapter [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}}),Aj=B({"../node_modules/aria-query/lib/etc/roles/dpub/docColophonRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"colophon [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),Rj=B({"../node_modules/aria-query/lib/etc/roles/dpub/docConclusionRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"conclusion [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}}),Oj=B({"../node_modules/aria-query/lib/etc/roles/dpub/docCoverRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"cover [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","img"]]};e.default=t}}),Cj=B({"../node_modules/aria-query/lib/etc/roles/dpub/docCreditRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"credit [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),xj=B({"../node_modules/aria-query/lib/etc/roles/dpub/docCreditsRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"credits [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}}),Nj=B({"../node_modules/aria-query/lib/etc/roles/dpub/docDedicationRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"dedication [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),Ij=B({"../node_modules/aria-query/lib/etc/roles/dpub/docEndnoteRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"rearnote [EPUB-SSV]"},module:"EPUB"}],requireContextRole:["doc-endnotes"],requiredContextRole:["doc-endnotes"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","listitem"]]};e.default=t}}),Mj=B({"../node_modules/aria-query/lib/etc/roles/dpub/docEndnotesRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"rearnotes [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["doc-endnote"]],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}}),qj=B({"../node_modules/aria-query/lib/etc/roles/dpub/docEpigraphRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"epigraph [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),jj=B({"../node_modules/aria-query/lib/etc/roles/dpub/docEpilogueRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"epilogue [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}}),kj=B({"../node_modules/aria-query/lib/etc/roles/dpub/docErrataRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"errata [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}}),Dj=B({"../node_modules/aria-query/lib/etc/roles/dpub/docExampleRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),Lj=B({"../node_modules/aria-query/lib/etc/roles/dpub/docFootnoteRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"footnote [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),Fj=B({"../node_modules/aria-query/lib/etc/roles/dpub/docForewordRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"foreword [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}}),$j=B({"../node_modules/aria-query/lib/etc/roles/dpub/docGlossaryRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"glossary [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["definition"],["term"]],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}}),Bj=B({"../node_modules/aria-query/lib/etc/roles/dpub/docGlossrefRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"glossref [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command","link"]]};e.default=t}}),Jj=B({"../node_modules/aria-query/lib/etc/roles/dpub/docIndexRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"index [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark","navigation"]]};e.default=t}}),Uj=B({"../node_modules/aria-query/lib/etc/roles/dpub/docIntroductionRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"introduction [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}}),Vj=B({"../node_modules/aria-query/lib/etc/roles/dpub/docNoterefRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"noteref [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command","link"]]};e.default=t}}),Hj=B({"../node_modules/aria-query/lib/etc/roles/dpub/docNoticeRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"notice [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","note"]]};e.default=t}}),zj=B({"../node_modules/aria-query/lib/etc/roles/dpub/docPagebreakRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"pagebreak [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","separator"]]};e.default=t}}),Gj=B({"../node_modules/aria-query/lib/etc/roles/dpub/docPagefooterRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:[],props:{"aria-braillelabel":null,"aria-brailleroledescription":null,"aria-description":null,"aria-disabled":null,"aria-errormessage":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),Wj=B({"../node_modules/aria-query/lib/etc/roles/dpub/docPageheaderRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:[],props:{"aria-braillelabel":null,"aria-brailleroledescription":null,"aria-description":null,"aria-disabled":null,"aria-errormessage":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),Kj=B({"../node_modules/aria-query/lib/etc/roles/dpub/docPagelistRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"page-list [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark","navigation"]]};e.default=t}}),Yj=B({"../node_modules/aria-query/lib/etc/roles/dpub/docPartRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"part [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}}),Xj=B({"../node_modules/aria-query/lib/etc/roles/dpub/docPrefaceRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"preface [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}}),Qj=B({"../node_modules/aria-query/lib/etc/roles/dpub/docPrologueRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"prologue [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}}),Zj=B({"../node_modules/aria-query/lib/etc/roles/dpub/docPullquoteRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"pullquote [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["none"]]};e.default=t}}),ek=B({"../node_modules/aria-query/lib/etc/roles/dpub/docQnaRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"qna [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),tk=B({"../node_modules/aria-query/lib/etc/roles/dpub/docSubtitleRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"subtitle [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","sectionhead"]]};e.default=t}}),rk=B({"../node_modules/aria-query/lib/etc/roles/dpub/docTipRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"help [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","note"]]};e.default=t}}),nk=B({"../node_modules/aria-query/lib/etc/roles/dpub/docTocRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"toc [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark","navigation"]]};e.default=t}}),ok=B({"../node_modules/aria-query/lib/etc/roles/ariaDpubRoles.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=ee(gj()),r=ee(bj()),n=ee(vj()),o=ee(Ej()),s=ee(Tj()),a=ee(wj()),c=ee(_j()),u=ee(Sj()),d=ee(Pj()),p=ee(Aj()),f=ee(Rj()),h=ee(Oj()),y=ee(Cj()),g=ee(xj()),E=ee(Nj()),T=ee(Ij()),v=ee(Mj()),_=ee(qj()),R=ee(jj()),N=ee(kj()),j=ee(Dj()),C=ee(Lj()),P=ee(Fj()),w=ee($j()),S=ee(Bj()),k=ee(Jj()),I=ee(Uj()),V=ee(Vj()),H=ee(Hj()),A=ee(zj()),L=ee(Gj()),$=ee(Wj()),D=ee(Kj()),K=ee(Yj()),X=ee(Xj()),ie=ee(Qj()),se=ee(Zj()),W=ee(ek()),ae=ee(tk()),be=ee(rk()),ue=ee(nk());function ee(Oe){return Oe&&Oe.__esModule?Oe:{default:Oe}}i(ee,"_interopRequireDefault");var Re=[["doc-abstract",t.default],["doc-acknowledgments",r.default],["doc-afterword",n.default],["doc-appendix",o.default],["doc-backlink",s.default],["doc-biblioentry",a.default],["doc-bibliography",c.default],["doc-biblioref",u.default],["doc-chapter",d.default],["doc-colophon",p.default],["doc-conclusion",f.default],["doc-cover",h.default],["doc-credit",y.default],["doc-credits",g.default],["doc-dedication",E.default],["doc-endnote",T.default],["doc-endnotes",v.default],["doc-epigraph",_.default],["doc-epilogue",R.default],["doc-errata",N.default],["doc-example",j.default],["doc-footnote",C.default],["doc-foreword",P.default],["doc-glossary",w.default],["doc-glossref",S.default],["doc-index",k.default],["doc-introduction",I.default],["doc-noteref",V.default],["doc-notice",H.default],["doc-pagebreak",A.default],["doc-pagefooter",L.default],["doc-pageheader",$.default],["doc-pagelist",D.default],["doc-part",K.default],["doc-preface",X.default],["doc-prologue",ie.default],["doc-pullquote",se.default],["doc-qna",W.default],["doc-subtitle",ae.default],["doc-tip",be.default],["doc-toc",ue.default]];e.default=Re}}),ik=B({"../node_modules/aria-query/lib/etc/roles/graphics/graphicsDocumentRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{module:"GRAPHICS",concept:{name:"graphics-object"}},{module:"ARIA",concept:{name:"img"}},{module:"ARIA",concept:{name:"article"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","document"]]};e.default=t}}),sk=B({"../node_modules/aria-query/lib/etc/roles/graphics/graphicsObjectRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{module:"GRAPHICS",concept:{name:"graphics-document"}},{module:"ARIA",concept:{name:"group"}},{module:"ARIA",concept:{name:"img"}},{module:"GRAPHICS",concept:{name:"graphics-symbol"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","group"]]};e.default=t}}),ak=B({"../node_modules/aria-query/lib/etc/roles/graphics/graphicsSymbolRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","img"]]};e.default=t}}),lk=B({"../node_modules/aria-query/lib/etc/roles/ariaGraphicsRoles.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=o(ik()),r=o(sk()),n=o(ak());function o(a){return a&&a.__esModule?a:{default:a}}i(o,"_interopRequireDefault");var s=[["graphics-document",t.default],["graphics-object",r.default],["graphics-symbol",n.default]];e.default=s}}),Tp=B({"../node_modules/aria-query/lib/rolesMap.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=a($M()),r=a(yj()),n=a(ok()),o=a(lk()),s=a(hs());function a(T){return T&&T.__esModule?T:{default:T}}i(a,"_interopRequireDefault");function c(T,v){var _=typeof Symbol<"u"&&T[Symbol.iterator]||T["@@iterator"];if(!_){if(Array.isArray(T)||(_=p(T))||v&&T&&typeof T.length=="number"){_&&(T=_);var R=0,N=i(function(){},"F");return{s:N,n:i(function(){return R>=T.length?{done:!0}:{done:!1,value:T[R++]}},"n"),e:i(function(S){throw S},"e"),f:N}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
4
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}i(o,"_nonIterableRest");function s(f,h){if(f){if(typeof f=="string")return a(f,h);var y={}.toString.call(f).slice(8,-1);return y==="Object"&&f.constructor&&(y=f.constructor.name),y==="Map"||y==="Set"?Array.from(f):y==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(y)?a(f,h):void 0}}i(s,"_unsupportedIterableToArray");function a(f,h){(h==null||h>f.length)&&(h=f.length);for(var y=0,g=Array(h);y<h;y++)g[y]=f[y];return g}i(a,"_arrayLikeToArray");function c(f,h){var y=f==null?null:typeof Symbol<"u"&&f[Symbol.iterator]||f["@@iterator"];if(y!=null){var g,E,T,v,_=[],R=!0,N=!1;try{if(T=(y=y.call(f)).next,h===0){if(Object(y)!==y)return;R=!1}else for(;!(R=(g=T.call(y)).done)&&(_.push(g.value),_.length!==h);R=!0);}catch(j){N=!0,E=j}finally{try{if(!R&&y.return!=null&&(v=y.return(),Object(v)!==v))return}finally{if(N)throw E}}return _}}i(c,"_iterableToArrayLimit");function u(f){if(Array.isArray(f))return f}i(u,"_arrayWithHoles");var d=[["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}]],p={entries:i(function(){return d},"entries"),forEach:i(function(h){for(var y=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,g=0,E=d;g<E.length;g++){var T=n(E[g],2),v=T[0],_=T[1];h.call(y,_,v,d)}},"forEach"),get:i(function(h){var y=d.filter(function(g){return g[0]===h})[0];return y&&y[1]},"get"),has:i(function(h){return!!p.get(h)},"has"),keys:i(function(){return d.map(function(h){var y=n(h,1),g=y[0];return g})},"keys"),values:i(function(){return d.map(function(h){var y=n(h,2),g=y[1];return g})},"values")};e.default=(0,t.default)(p,p.entries())}}),OM=B({"../node_modules/aria-query/lib/etc/roles/abstract/commandRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget"]]};e.default=t}}),CM=B({"../node_modules/aria-query/lib/etc/roles/abstract/compositeRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-disabled":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget"]]};e.default=t}}),xM=B({"../node_modules/aria-query/lib/etc/roles/abstract/inputRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null},relatedConcepts:[{concept:{name:"input"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget"]]};e.default=t}}),NM=B({"../node_modules/aria-query/lib/etc/roles/abstract/landmarkRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),IM=B({"../node_modules/aria-query/lib/etc/roles/abstract/rangeRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-valuemax":null,"aria-valuemin":null,"aria-valuenow":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]};e.default=t}}),MM=B({"../node_modules/aria-query/lib/etc/roles/abstract/roletypeRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{"aria-atomic":null,"aria-busy":null,"aria-controls":null,"aria-current":null,"aria-describedby":null,"aria-details":null,"aria-dropeffect":null,"aria-flowto":null,"aria-grabbed":null,"aria-hidden":null,"aria-keyshortcuts":null,"aria-label":null,"aria-labelledby":null,"aria-live":null,"aria-owns":null,"aria-relevant":null,"aria-roledescription":null},relatedConcepts:[{concept:{name:"role"},module:"XHTML"},{concept:{name:"type"},module:"Dublin Core"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[]};e.default=t}}),qM=B({"../node_modules/aria-query/lib/etc/roles/abstract/sectionRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"frontmatter"},module:"DTB"},{concept:{name:"level"},module:"DTB"},{concept:{name:"level"},module:"SMIL"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]};e.default=t}}),jM=B({"../node_modules/aria-query/lib/etc/roles/abstract/sectionheadRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]};e.default=t}}),kM=B({"../node_modules/aria-query/lib/etc/roles/abstract/selectRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-orientation":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","composite"],["roletype","structure","section","group"]]};e.default=t}}),DM=B({"../node_modules/aria-query/lib/etc/roles/abstract/structureRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype"]]};e.default=t}}),LM=B({"../node_modules/aria-query/lib/etc/roles/abstract/widgetRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype"]]};e.default=t}}),FM=B({"../node_modules/aria-query/lib/etc/roles/abstract/windowRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-modal":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype"]]};e.default=t}}),$M=B({"../node_modules/aria-query/lib/etc/roles/ariaAbstractRoles.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=y(OM()),r=y(CM()),n=y(xM()),o=y(NM()),s=y(IM()),a=y(MM()),c=y(qM()),u=y(jM()),d=y(kM()),p=y(DM()),f=y(LM()),h=y(FM());function y(E){return E&&E.__esModule?E:{default:E}}i(y,"_interopRequireDefault");var g=[["command",t.default],["composite",r.default],["input",n.default],["landmark",o.default],["range",s.default],["roletype",a.default],["section",c.default],["sectionhead",u.default],["select",d.default],["structure",p.default],["widget",f.default],["window",h.default]];e.default=g}}),BM=B({"../node_modules/aria-query/lib/etc/roles/literal/alertRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-atomic":"true","aria-live":"assertive"},relatedConcepts:[{concept:{name:"alert"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),JM=B({"../node_modules/aria-query/lib/etc/roles/literal/alertdialogRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"alert"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","alert"],["roletype","window","dialog"]]};e.default=t}}),UM=B({"../node_modules/aria-query/lib/etc/roles/literal/applicationRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"Device Independence Delivery Unit"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]};e.default=t}}),VM=B({"../node_modules/aria-query/lib/etc/roles/literal/articleRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-posinset":null,"aria-setsize":null},relatedConcepts:[{concept:{name:"article"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","document"]]};e.default=t}}),HM=B({"../node_modules/aria-query/lib/etc/roles/literal/bannerRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{constraints:["scoped to the body element"],name:"header"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}}),zM=B({"../node_modules/aria-query/lib/etc/roles/literal/blockquoteRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"blockquote"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),GM=B({"../node_modules/aria-query/lib/etc/roles/literal/buttonRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-expanded":null,"aria-haspopup":null,"aria-pressed":null},relatedConcepts:[{concept:{attributes:[{name:"type",value:"button"}],name:"input"},module:"HTML"},{concept:{attributes:[{name:"type",value:"image"}],name:"input"},module:"HTML"},{concept:{attributes:[{name:"type",value:"reset"}],name:"input"},module:"HTML"},{concept:{attributes:[{name:"type",value:"submit"}],name:"input"},module:"HTML"},{concept:{name:"button"},module:"HTML"},{concept:{name:"trigger"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command"]]};e.default=t}}),WM=B({"../node_modules/aria-query/lib/etc/roles/literal/captionRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"caption"},module:"HTML"}],requireContextRole:["figure","grid","table"],requiredContextRole:["figure","grid","table"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),KM=B({"../node_modules/aria-query/lib/etc/roles/literal/cellRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-colindex":null,"aria-colspan":null,"aria-rowindex":null,"aria-rowspan":null},relatedConcepts:[{concept:{constraints:["ancestor table element has table role"],name:"td"},module:"HTML"}],requireContextRole:["row"],requiredContextRole:["row"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),YM=B({"../node_modules/aria-query/lib/etc/roles/literal/checkboxRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-checked":null,"aria-errormessage":null,"aria-expanded":null,"aria-invalid":null,"aria-readonly":null,"aria-required":null},relatedConcepts:[{concept:{attributes:[{name:"type",value:"checkbox"}],name:"input"},module:"HTML"},{concept:{name:"option"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input"]]};e.default=t}}),XM=B({"../node_modules/aria-query/lib/etc/roles/literal/codeRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"code"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),QM=B({"../node_modules/aria-query/lib/etc/roles/literal/columnheaderRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-sort":null},relatedConcepts:[{concept:{name:"th"},module:"HTML"},{concept:{attributes:[{name:"scope",value:"col"}],name:"th"},module:"HTML"},{concept:{attributes:[{name:"scope",value:"colgroup"}],name:"th"},module:"HTML"}],requireContextRole:["row"],requiredContextRole:["row"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","cell"],["roletype","structure","section","cell","gridcell"],["roletype","widget","gridcell"],["roletype","structure","sectionhead"]]};e.default=t}}),ZM=B({"../node_modules/aria-query/lib/etc/roles/literal/comboboxRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-autocomplete":null,"aria-errormessage":null,"aria-invalid":null,"aria-readonly":null,"aria-required":null,"aria-expanded":"false","aria-haspopup":"listbox"},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"email"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"search"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"tel"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"text"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"url"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"url"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"multiple"},{constraints:["undefined"],name:"size"}],constraints:["the multiple attribute is not set and the size attribute does not have a value greater than 1"],name:"select"},module:"HTML"},{concept:{name:"select"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-controls":null,"aria-expanded":"false"},superClass:[["roletype","widget","input"]]};e.default=t}}),eq=B({"../node_modules/aria-query/lib/etc/roles/literal/complementaryRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{constraints:["scoped to the body element","scoped to the main element"],name:"aside"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"aria-label"}],constraints:["scoped to a sectioning content element","scoped to a sectioning root element other than body"],name:"aside"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"aria-labelledby"}],constraints:["scoped to a sectioning content element","scoped to a sectioning root element other than body"],name:"aside"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}}),tq=B({"../node_modules/aria-query/lib/etc/roles/literal/contentinfoRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{constraints:["scoped to the body element"],name:"footer"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}}),rq=B({"../node_modules/aria-query/lib/etc/roles/literal/definitionRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"dd"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),nq=B({"../node_modules/aria-query/lib/etc/roles/literal/deletionRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"del"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),oq=B({"../node_modules/aria-query/lib/etc/roles/literal/dialogRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"dialog"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","window"]]};e.default=t}}),iq=B({"../node_modules/aria-query/lib/etc/roles/literal/directoryRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{module:"DAISY Guide"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","list"]]};e.default=t}}),sq=B({"../node_modules/aria-query/lib/etc/roles/literal/documentRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"Device Independence Delivery Unit"}},{concept:{name:"html"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]};e.default=t}}),aq=B({"../node_modules/aria-query/lib/etc/roles/literal/emphasisRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"em"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),lq=B({"../node_modules/aria-query/lib/etc/roles/literal/feedRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["article"]],requiredProps:{},superClass:[["roletype","structure","section","list"]]};e.default=t}}),cq=B({"../node_modules/aria-query/lib/etc/roles/literal/figureRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"figure"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),uq=B({"../node_modules/aria-query/lib/etc/roles/literal/formRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"aria-label"}],name:"form"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"aria-labelledby"}],name:"form"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"name"}],name:"form"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}}),dq=B({"../node_modules/aria-query/lib/etc/roles/literal/genericRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"a"},module:"HTML"},{concept:{name:"area"},module:"HTML"},{concept:{name:"aside"},module:"HTML"},{concept:{name:"b"},module:"HTML"},{concept:{name:"bdo"},module:"HTML"},{concept:{name:"body"},module:"HTML"},{concept:{name:"data"},module:"HTML"},{concept:{name:"div"},module:"HTML"},{concept:{constraints:["scoped to the main element","scoped to a sectioning content element","scoped to a sectioning root element other than body"],name:"footer"},module:"HTML"},{concept:{constraints:["scoped to the main element","scoped to a sectioning content element","scoped to a sectioning root element other than body"],name:"header"},module:"HTML"},{concept:{name:"hgroup"},module:"HTML"},{concept:{name:"i"},module:"HTML"},{concept:{name:"pre"},module:"HTML"},{concept:{name:"q"},module:"HTML"},{concept:{name:"samp"},module:"HTML"},{concept:{name:"section"},module:"HTML"},{concept:{name:"small"},module:"HTML"},{concept:{name:"span"},module:"HTML"},{concept:{name:"u"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]};e.default=t}}),pq=B({"../node_modules/aria-query/lib/etc/roles/literal/gridRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-multiselectable":null,"aria-readonly":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["row"],["row","rowgroup"]],requiredProps:{},superClass:[["roletype","widget","composite"],["roletype","structure","section","table"]]};e.default=t}}),fq=B({"../node_modules/aria-query/lib/etc/roles/literal/gridcellRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null,"aria-readonly":null,"aria-required":null,"aria-selected":null},relatedConcepts:[{concept:{constraints:["ancestor table element has grid role","ancestor table element has treegrid role"],name:"td"},module:"HTML"}],requireContextRole:["row"],requiredContextRole:["row"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","cell"],["roletype","widget"]]};e.default=t}}),mq=B({"../node_modules/aria-query/lib/etc/roles/literal/groupRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-disabled":null},relatedConcepts:[{concept:{name:"details"},module:"HTML"},{concept:{name:"fieldset"},module:"HTML"},{concept:{name:"optgroup"},module:"HTML"},{concept:{name:"address"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),hq=B({"../node_modules/aria-query/lib/etc/roles/literal/headingRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-level":"2"},relatedConcepts:[{concept:{name:"h1"},module:"HTML"},{concept:{name:"h2"},module:"HTML"},{concept:{name:"h3"},module:"HTML"},{concept:{name:"h4"},module:"HTML"},{concept:{name:"h5"},module:"HTML"},{concept:{name:"h6"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-level":"2"},superClass:[["roletype","structure","sectionhead"]]};e.default=t}}),yq=B({"../node_modules/aria-query/lib/etc/roles/literal/imgRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"alt"}],name:"img"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"alt"}],name:"img"},module:"HTML"},{concept:{name:"imggroup"},module:"DTB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),gq=B({"../node_modules/aria-query/lib/etc/roles/literal/insertionRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"ins"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),bq=B({"../node_modules/aria-query/lib/etc/roles/literal/linkRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-expanded":null,"aria-haspopup":null},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"href"}],name:"a"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"href"}],name:"area"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command"]]};e.default=t}}),vq=B({"../node_modules/aria-query/lib/etc/roles/literal/listRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"menu"},module:"HTML"},{concept:{name:"ol"},module:"HTML"},{concept:{name:"ul"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["listitem"]],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),Eq=B({"../node_modules/aria-query/lib/etc/roles/literal/listboxRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-expanded":null,"aria-invalid":null,"aria-multiselectable":null,"aria-readonly":null,"aria-required":null,"aria-orientation":"vertical"},relatedConcepts:[{concept:{attributes:[{constraints:[">1"],name:"size"}],constraints:["the size attribute value is greater than 1"],name:"select"},module:"HTML"},{concept:{attributes:[{name:"multiple"}],name:"select"},module:"HTML"},{concept:{name:"datalist"},module:"HTML"},{concept:{name:"list"},module:"ARIA"},{concept:{name:"select"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["option","group"],["option"]],requiredProps:{},superClass:[["roletype","widget","composite","select"],["roletype","structure","section","group","select"]]};e.default=t}}),Tq=B({"../node_modules/aria-query/lib/etc/roles/literal/listitemRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-level":null,"aria-posinset":null,"aria-setsize":null},relatedConcepts:[{concept:{constraints:["direct descendant of ol","direct descendant of ul","direct descendant of menu"],name:"li"},module:"HTML"},{concept:{name:"item"},module:"XForms"}],requireContextRole:["directory","list"],requiredContextRole:["directory","list"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),wq=B({"../node_modules/aria-query/lib/etc/roles/literal/logRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-live":"polite"},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),_q=B({"../node_modules/aria-query/lib/etc/roles/literal/mainRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"main"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}}),Sq=B({"../node_modules/aria-query/lib/etc/roles/literal/markRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:[],props:{"aria-braillelabel":null,"aria-brailleroledescription":null,"aria-description":null},relatedConcepts:[{concept:{name:"mark"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),Pq=B({"../node_modules/aria-query/lib/etc/roles/literal/marqueeRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),Aq=B({"../node_modules/aria-query/lib/etc/roles/literal/mathRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"math"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),Rq=B({"../node_modules/aria-query/lib/etc/roles/literal/menuRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-orientation":"vertical"},relatedConcepts:[{concept:{name:"MENU"},module:"JAPI"},{concept:{name:"list"},module:"ARIA"},{concept:{name:"select"},module:"XForms"},{concept:{name:"sidebar"},module:"DTB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["menuitem","group"],["menuitemradio","group"],["menuitemcheckbox","group"],["menuitem"],["menuitemcheckbox"],["menuitemradio"]],requiredProps:{},superClass:[["roletype","widget","composite","select"],["roletype","structure","section","group","select"]]};e.default=t}}),Oq=B({"../node_modules/aria-query/lib/etc/roles/literal/menubarRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-orientation":"horizontal"},relatedConcepts:[{concept:{name:"toolbar"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["menuitem","group"],["menuitemradio","group"],["menuitemcheckbox","group"],["menuitem"],["menuitemcheckbox"],["menuitemradio"]],requiredProps:{},superClass:[["roletype","widget","composite","select","menu"],["roletype","structure","section","group","select","menu"]]};e.default=t}}),Cq=B({"../node_modules/aria-query/lib/etc/roles/literal/menuitemRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-expanded":null,"aria-haspopup":null,"aria-posinset":null,"aria-setsize":null},relatedConcepts:[{concept:{name:"MENU_ITEM"},module:"JAPI"},{concept:{name:"listitem"},module:"ARIA"},{concept:{name:"option"},module:"ARIA"}],requireContextRole:["group","menu","menubar"],requiredContextRole:["group","menu","menubar"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command"]]};e.default=t}}),xq=B({"../node_modules/aria-query/lib/etc/roles/literal/menuitemcheckboxRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"menuitem"},module:"ARIA"}],requireContextRole:["group","menu","menubar"],requiredContextRole:["group","menu","menubar"],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input","checkbox"],["roletype","widget","command","menuitem"]]};e.default=t}}),Nq=B({"../node_modules/aria-query/lib/etc/roles/literal/menuitemradioRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"menuitem"},module:"ARIA"}],requireContextRole:["group","menu","menubar"],requiredContextRole:["group","menu","menubar"],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input","checkbox","menuitemcheckbox"],["roletype","widget","command","menuitem","menuitemcheckbox"],["roletype","widget","input","radio"]]};e.default=t}}),Iq=B({"../node_modules/aria-query/lib/etc/roles/literal/meterRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-valuetext":null,"aria-valuemax":"100","aria-valuemin":"0"},relatedConcepts:[{concept:{name:"meter"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-valuenow":null},superClass:[["roletype","structure","range"]]};e.default=t}}),Mq=B({"../node_modules/aria-query/lib/etc/roles/literal/navigationRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"nav"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}}),qq=B({"../node_modules/aria-query/lib/etc/roles/literal/noneRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[]};e.default=t}}),jq=B({"../node_modules/aria-query/lib/etc/roles/literal/noteRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),kq=B({"../node_modules/aria-query/lib/etc/roles/literal/optionRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-checked":null,"aria-posinset":null,"aria-setsize":null,"aria-selected":"false"},relatedConcepts:[{concept:{name:"item"},module:"XForms"},{concept:{name:"listitem"},module:"ARIA"},{concept:{name:"option"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-selected":"false"},superClass:[["roletype","widget","input"]]};e.default=t}}),Dq=B({"../node_modules/aria-query/lib/etc/roles/literal/paragraphRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"p"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),Lq=B({"../node_modules/aria-query/lib/etc/roles/literal/presentationRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{attributes:[{name:"alt",value:""}],name:"img"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]};e.default=t}}),Fq=B({"../node_modules/aria-query/lib/etc/roles/literal/progressbarRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-valuetext":null},relatedConcepts:[{concept:{name:"progress"},module:"HTML"},{concept:{name:"status"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","range"],["roletype","widget"]]};e.default=t}}),$q=B({"../node_modules/aria-query/lib/etc/roles/literal/radioRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-checked":null,"aria-posinset":null,"aria-setsize":null},relatedConcepts:[{concept:{attributes:[{name:"type",value:"radio"}],name:"input"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input"]]};e.default=t}}),Bq=B({"../node_modules/aria-query/lib/etc/roles/literal/radiogroupRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null,"aria-readonly":null,"aria-required":null},relatedConcepts:[{concept:{name:"list"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["radio"]],requiredProps:{},superClass:[["roletype","widget","composite","select"],["roletype","structure","section","group","select"]]};e.default=t}}),Jq=B({"../node_modules/aria-query/lib/etc/roles/literal/regionRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"aria-label"}],name:"section"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"aria-labelledby"}],name:"section"},module:"HTML"},{concept:{name:"Device Independence Glossart perceivable unit"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}}),Uq=B({"../node_modules/aria-query/lib/etc/roles/literal/rowRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-colindex":null,"aria-expanded":null,"aria-level":null,"aria-posinset":null,"aria-rowindex":null,"aria-selected":null,"aria-setsize":null},relatedConcepts:[{concept:{name:"tr"},module:"HTML"}],requireContextRole:["grid","rowgroup","table","treegrid"],requiredContextRole:["grid","rowgroup","table","treegrid"],requiredOwnedElements:[["cell"],["columnheader"],["gridcell"],["rowheader"]],requiredProps:{},superClass:[["roletype","structure","section","group"],["roletype","widget"]]};e.default=t}}),Vq=B({"../node_modules/aria-query/lib/etc/roles/literal/rowgroupRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"tbody"},module:"HTML"},{concept:{name:"tfoot"},module:"HTML"},{concept:{name:"thead"},module:"HTML"}],requireContextRole:["grid","table","treegrid"],requiredContextRole:["grid","table","treegrid"],requiredOwnedElements:[["row"]],requiredProps:{},superClass:[["roletype","structure"]]};e.default=t}}),Hq=B({"../node_modules/aria-query/lib/etc/roles/literal/rowheaderRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-sort":null},relatedConcepts:[{concept:{attributes:[{name:"scope",value:"row"}],name:"th"},module:"HTML"},{concept:{attributes:[{name:"scope",value:"rowgroup"}],name:"th"},module:"HTML"}],requireContextRole:["row","rowgroup"],requiredContextRole:["row","rowgroup"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","cell"],["roletype","structure","section","cell","gridcell"],["roletype","widget","gridcell"],["roletype","structure","sectionhead"]]};e.default=t}}),zq=B({"../node_modules/aria-query/lib/etc/roles/literal/scrollbarRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-valuetext":null,"aria-orientation":"vertical","aria-valuemax":"100","aria-valuemin":"0"},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-controls":null,"aria-valuenow":null},superClass:[["roletype","structure","range"],["roletype","widget"]]};e.default=t}}),Gq=B({"../node_modules/aria-query/lib/etc/roles/literal/searchRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}}),Wq=B({"../node_modules/aria-query/lib/etc/roles/literal/searchboxRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"search"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","input","textbox"]]};e.default=t}}),Kq=B({"../node_modules/aria-query/lib/etc/roles/literal/separatorRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-orientation":"horizontal","aria-valuemax":"100","aria-valuemin":"0","aria-valuenow":null,"aria-valuetext":null},relatedConcepts:[{concept:{name:"hr"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]};e.default=t}}),Yq=B({"../node_modules/aria-query/lib/etc/roles/literal/sliderRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-haspopup":null,"aria-invalid":null,"aria-readonly":null,"aria-valuetext":null,"aria-orientation":"horizontal","aria-valuemax":"100","aria-valuemin":"0"},relatedConcepts:[{concept:{attributes:[{name:"type",value:"range"}],name:"input"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-valuenow":null},superClass:[["roletype","widget","input"],["roletype","structure","range"]]};e.default=t}}),Xq=B({"../node_modules/aria-query/lib/etc/roles/literal/spinbuttonRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null,"aria-readonly":null,"aria-required":null,"aria-valuetext":null,"aria-valuenow":"0"},relatedConcepts:[{concept:{attributes:[{name:"type",value:"number"}],name:"input"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","composite"],["roletype","widget","input"],["roletype","structure","range"]]};e.default=t}}),Qq=B({"../node_modules/aria-query/lib/etc/roles/literal/statusRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-atomic":"true","aria-live":"polite"},relatedConcepts:[{concept:{name:"output"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),Zq=B({"../node_modules/aria-query/lib/etc/roles/literal/strongRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"strong"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),ej=B({"../node_modules/aria-query/lib/etc/roles/literal/subscriptRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"sub"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),tj=B({"../node_modules/aria-query/lib/etc/roles/literal/superscriptRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"sup"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),rj=B({"../node_modules/aria-query/lib/etc/roles/literal/switchRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"button"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input","checkbox"]]};e.default=t}}),nj=B({"../node_modules/aria-query/lib/etc/roles/literal/tabRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-expanded":null,"aria-haspopup":null,"aria-posinset":null,"aria-setsize":null,"aria-selected":"false"},relatedConcepts:[],requireContextRole:["tablist"],requiredContextRole:["tablist"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","sectionhead"],["roletype","widget"]]};e.default=t}}),oj=B({"../node_modules/aria-query/lib/etc/roles/literal/tableRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-colcount":null,"aria-rowcount":null},relatedConcepts:[{concept:{name:"table"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["row"],["row","rowgroup"]],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),ij=B({"../node_modules/aria-query/lib/etc/roles/literal/tablistRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-level":null,"aria-multiselectable":null,"aria-orientation":"horizontal"},relatedConcepts:[{module:"DAISY",concept:{name:"guide"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["tab"]],requiredProps:{},superClass:[["roletype","widget","composite"]]};e.default=t}}),sj=B({"../node_modules/aria-query/lib/etc/roles/literal/tabpanelRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),aj=B({"../node_modules/aria-query/lib/etc/roles/literal/termRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"dfn"},module:"HTML"},{concept:{name:"dt"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),lj=B({"../node_modules/aria-query/lib/etc/roles/literal/textboxRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-autocomplete":null,"aria-errormessage":null,"aria-haspopup":null,"aria-invalid":null,"aria-multiline":null,"aria-placeholder":null,"aria-readonly":null,"aria-required":null},relatedConcepts:[{concept:{attributes:[{constraints:["undefined"],name:"type"},{constraints:["undefined"],name:"list"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"email"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"tel"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"text"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"url"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"},{concept:{name:"input"},module:"XForms"},{concept:{name:"textarea"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","input"]]};e.default=t}}),cj=B({"../node_modules/aria-query/lib/etc/roles/literal/timeRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"time"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),uj=B({"../node_modules/aria-query/lib/etc/roles/literal/timerRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","status"]]};e.default=t}}),dj=B({"../node_modules/aria-query/lib/etc/roles/literal/toolbarRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-orientation":"horizontal"},relatedConcepts:[{concept:{name:"menubar"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","group"]]};e.default=t}}),pj=B({"../node_modules/aria-query/lib/etc/roles/literal/tooltipRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),fj=B({"../node_modules/aria-query/lib/etc/roles/literal/treeRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null,"aria-multiselectable":null,"aria-required":null,"aria-orientation":"vertical"},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["treeitem","group"],["treeitem"]],requiredProps:{},superClass:[["roletype","widget","composite","select"],["roletype","structure","section","group","select"]]};e.default=t}}),mj=B({"../node_modules/aria-query/lib/etc/roles/literal/treegridRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["row"],["row","rowgroup"]],requiredProps:{},superClass:[["roletype","widget","composite","grid"],["roletype","structure","section","table","grid"],["roletype","widget","composite","select","tree"],["roletype","structure","section","group","select","tree"]]};e.default=t}}),hj=B({"../node_modules/aria-query/lib/etc/roles/literal/treeitemRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-expanded":null,"aria-haspopup":null},relatedConcepts:[],requireContextRole:["group","tree"],requiredContextRole:["group","tree"],requiredOwnedElements:[],requiredProps:{"aria-selected":null},superClass:[["roletype","structure","section","listitem"],["roletype","widget","input","option"]]};e.default=t}}),yj=B({"../node_modules/aria-query/lib/etc/roles/ariaLiteralRoles.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=Y(BM()),r=Y(JM()),n=Y(UM()),o=Y(VM()),s=Y(HM()),a=Y(zM()),c=Y(GM()),u=Y(WM()),d=Y(KM()),p=Y(YM()),f=Y(XM()),h=Y(QM()),y=Y(ZM()),g=Y(eq()),E=Y(tq()),T=Y(rq()),v=Y(nq()),_=Y(oq()),R=Y(iq()),N=Y(sq()),j=Y(aq()),C=Y(lq()),P=Y(cq()),w=Y(uq()),S=Y(dq()),k=Y(pq()),I=Y(fq()),V=Y(mq()),H=Y(hq()),A=Y(yq()),L=Y(gq()),$=Y(bq()),D=Y(vq()),K=Y(Eq()),X=Y(Tq()),ie=Y(wq()),se=Y(_q()),W=Y(Sq()),ae=Y(Pq()),be=Y(Aq()),ue=Y(Rq()),ee=Y(Oq()),Re=Y(Cq()),Oe=Y(xq()),He=Y(Nq()),Ke=Y(Iq()),J=Y(Mq()),Q=Y(qq()),re=Y(jq()),oe=Y(kq()),ne=Y(Dq()),de=Y(Lq()),he=Y(Fq()),pe=Y($q()),$e=Y(Bq()),it=Y(Jq()),pt=Y(Uq()),wt=Y(Vq()),st=Y(Hq()),ft=Y(zq()),mt=Y(Gq()),ht=Y(Wq()),tn=Y(Kq()),Jo=Y(Yq()),rn=Y(Xq()),Uo=Y(Qq()),Vo=Y(Zq()),Ho=Y(ej()),nn=Y(tj()),zo=Y(rj()),Go=Y(nj()),Wo=Y(oj()),Ko=Y(ij()),Yo=Y(sj()),Xo=Y(aj()),Qo=Y(lj()),Zo=Y(cj()),ei=Y(uj()),ti=Y(dj()),ri=Y(pj()),ni=Y(fj()),ur=Y(mj()),on=Y(hj());function Y(It){return It&&It.__esModule?It:{default:It}}i(Y,"_interopRequireDefault");var le=[["alert",t.default],["alertdialog",r.default],["application",n.default],["article",o.default],["banner",s.default],["blockquote",a.default],["button",c.default],["caption",u.default],["cell",d.default],["checkbox",p.default],["code",f.default],["columnheader",h.default],["combobox",y.default],["complementary",g.default],["contentinfo",E.default],["definition",T.default],["deletion",v.default],["dialog",_.default],["directory",R.default],["document",N.default],["emphasis",j.default],["feed",C.default],["figure",P.default],["form",w.default],["generic",S.default],["grid",k.default],["gridcell",I.default],["group",V.default],["heading",H.default],["img",A.default],["insertion",L.default],["link",$.default],["list",D.default],["listbox",K.default],["listitem",X.default],["log",ie.default],["main",se.default],["mark",W.default],["marquee",ae.default],["math",be.default],["menu",ue.default],["menubar",ee.default],["menuitem",Re.default],["menuitemcheckbox",Oe.default],["menuitemradio",He.default],["meter",Ke.default],["navigation",J.default],["none",Q.default],["note",re.default],["option",oe.default],["paragraph",ne.default],["presentation",de.default],["progressbar",he.default],["radio",pe.default],["radiogroup",$e.default],["region",it.default],["row",pt.default],["rowgroup",wt.default],["rowheader",st.default],["scrollbar",ft.default],["search",mt.default],["searchbox",ht.default],["separator",tn.default],["slider",Jo.default],["spinbutton",rn.default],["status",Uo.default],["strong",Vo.default],["subscript",Ho.default],["superscript",nn.default],["switch",zo.default],["tab",Go.default],["table",Wo.default],["tablist",Ko.default],["tabpanel",Yo.default],["term",Xo.default],["textbox",Qo.default],["time",Zo.default],["timer",ei.default],["toolbar",ti.default],["tooltip",ri.default],["tree",ni.default],["treegrid",ur.default],["treeitem",on.default]];e.default=le}}),gj=B({"../node_modules/aria-query/lib/etc/roles/dpub/docAbstractRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"abstract [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),bj=B({"../node_modules/aria-query/lib/etc/roles/dpub/docAcknowledgmentsRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"acknowledgments [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}}),vj=B({"../node_modules/aria-query/lib/etc/roles/dpub/docAfterwordRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"afterword [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}}),Ej=B({"../node_modules/aria-query/lib/etc/roles/dpub/docAppendixRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"appendix [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}}),Tj=B({"../node_modules/aria-query/lib/etc/roles/dpub/docBacklinkRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"referrer [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command","link"]]};e.default=t}}),wj=B({"../node_modules/aria-query/lib/etc/roles/dpub/docBiblioentryRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"EPUB biblioentry [EPUB-SSV]"},module:"EPUB"}],requireContextRole:["doc-bibliography"],requiredContextRole:["doc-bibliography"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","listitem"]]};e.default=t}}),_j=B({"../node_modules/aria-query/lib/etc/roles/dpub/docBibliographyRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"bibliography [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["doc-biblioentry"]],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}}),Sj=B({"../node_modules/aria-query/lib/etc/roles/dpub/docBibliorefRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"biblioref [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command","link"]]};e.default=t}}),Pj=B({"../node_modules/aria-query/lib/etc/roles/dpub/docChapterRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"chapter [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}}),Aj=B({"../node_modules/aria-query/lib/etc/roles/dpub/docColophonRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"colophon [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),Rj=B({"../node_modules/aria-query/lib/etc/roles/dpub/docConclusionRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"conclusion [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}}),Oj=B({"../node_modules/aria-query/lib/etc/roles/dpub/docCoverRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"cover [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","img"]]};e.default=t}}),Cj=B({"../node_modules/aria-query/lib/etc/roles/dpub/docCreditRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"credit [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),xj=B({"../node_modules/aria-query/lib/etc/roles/dpub/docCreditsRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"credits [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}}),Nj=B({"../node_modules/aria-query/lib/etc/roles/dpub/docDedicationRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"dedication [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),Ij=B({"../node_modules/aria-query/lib/etc/roles/dpub/docEndnoteRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"rearnote [EPUB-SSV]"},module:"EPUB"}],requireContextRole:["doc-endnotes"],requiredContextRole:["doc-endnotes"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","listitem"]]};e.default=t}}),Mj=B({"../node_modules/aria-query/lib/etc/roles/dpub/docEndnotesRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"rearnotes [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["doc-endnote"]],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}}),qj=B({"../node_modules/aria-query/lib/etc/roles/dpub/docEpigraphRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"epigraph [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),jj=B({"../node_modules/aria-query/lib/etc/roles/dpub/docEpilogueRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"epilogue [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}}),kj=B({"../node_modules/aria-query/lib/etc/roles/dpub/docErrataRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"errata [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}}),Dj=B({"../node_modules/aria-query/lib/etc/roles/dpub/docExampleRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),Lj=B({"../node_modules/aria-query/lib/etc/roles/dpub/docFootnoteRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"footnote [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),Fj=B({"../node_modules/aria-query/lib/etc/roles/dpub/docForewordRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"foreword [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}}),$j=B({"../node_modules/aria-query/lib/etc/roles/dpub/docGlossaryRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"glossary [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["definition"],["term"]],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}}),Bj=B({"../node_modules/aria-query/lib/etc/roles/dpub/docGlossrefRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"glossref [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command","link"]]};e.default=t}}),Jj=B({"../node_modules/aria-query/lib/etc/roles/dpub/docIndexRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"index [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark","navigation"]]};e.default=t}}),Uj=B({"../node_modules/aria-query/lib/etc/roles/dpub/docIntroductionRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"introduction [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}}),Vj=B({"../node_modules/aria-query/lib/etc/roles/dpub/docNoterefRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"noteref [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command","link"]]};e.default=t}}),Hj=B({"../node_modules/aria-query/lib/etc/roles/dpub/docNoticeRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"notice [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","note"]]};e.default=t}}),zj=B({"../node_modules/aria-query/lib/etc/roles/dpub/docPagebreakRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"pagebreak [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","separator"]]};e.default=t}}),Gj=B({"../node_modules/aria-query/lib/etc/roles/dpub/docPagefooterRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:[],props:{"aria-braillelabel":null,"aria-brailleroledescription":null,"aria-description":null,"aria-disabled":null,"aria-errormessage":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),Wj=B({"../node_modules/aria-query/lib/etc/roles/dpub/docPageheaderRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:[],props:{"aria-braillelabel":null,"aria-brailleroledescription":null,"aria-description":null,"aria-disabled":null,"aria-errormessage":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),Kj=B({"../node_modules/aria-query/lib/etc/roles/dpub/docPagelistRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"page-list [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark","navigation"]]};e.default=t}}),Yj=B({"../node_modules/aria-query/lib/etc/roles/dpub/docPartRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"part [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}}),Xj=B({"../node_modules/aria-query/lib/etc/roles/dpub/docPrefaceRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"preface [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}}),Qj=B({"../node_modules/aria-query/lib/etc/roles/dpub/docPrologueRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"prologue [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}}),Zj=B({"../node_modules/aria-query/lib/etc/roles/dpub/docPullquoteRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"pullquote [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["none"]]};e.default=t}}),ek=B({"../node_modules/aria-query/lib/etc/roles/dpub/docQnaRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"qna [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),tk=B({"../node_modules/aria-query/lib/etc/roles/dpub/docSubtitleRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"subtitle [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","sectionhead"]]};e.default=t}}),rk=B({"../node_modules/aria-query/lib/etc/roles/dpub/docTipRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"help [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","note"]]};e.default=t}}),nk=B({"../node_modules/aria-query/lib/etc/roles/dpub/docTocRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"toc [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark","navigation"]]};e.default=t}}),ok=B({"../node_modules/aria-query/lib/etc/roles/ariaDpubRoles.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=ee(gj()),r=ee(bj()),n=ee(vj()),o=ee(Ej()),s=ee(Tj()),a=ee(wj()),c=ee(_j()),u=ee(Sj()),d=ee(Pj()),p=ee(Aj()),f=ee(Rj()),h=ee(Oj()),y=ee(Cj()),g=ee(xj()),E=ee(Nj()),T=ee(Ij()),v=ee(Mj()),_=ee(qj()),R=ee(jj()),N=ee(kj()),j=ee(Dj()),C=ee(Lj()),P=ee(Fj()),w=ee($j()),S=ee(Bj()),k=ee(Jj()),I=ee(Uj()),V=ee(Vj()),H=ee(Hj()),A=ee(zj()),L=ee(Gj()),$=ee(Wj()),D=ee(Kj()),K=ee(Yj()),X=ee(Xj()),ie=ee(Qj()),se=ee(Zj()),W=ee(ek()),ae=ee(tk()),be=ee(rk()),ue=ee(nk());function ee(Oe){return Oe&&Oe.__esModule?Oe:{default:Oe}}i(ee,"_interopRequireDefault");var Re=[["doc-abstract",t.default],["doc-acknowledgments",r.default],["doc-afterword",n.default],["doc-appendix",o.default],["doc-backlink",s.default],["doc-biblioentry",a.default],["doc-bibliography",c.default],["doc-biblioref",u.default],["doc-chapter",d.default],["doc-colophon",p.default],["doc-conclusion",f.default],["doc-cover",h.default],["doc-credit",y.default],["doc-credits",g.default],["doc-dedication",E.default],["doc-endnote",T.default],["doc-endnotes",v.default],["doc-epigraph",_.default],["doc-epilogue",R.default],["doc-errata",N.default],["doc-example",j.default],["doc-footnote",C.default],["doc-foreword",P.default],["doc-glossary",w.default],["doc-glossref",S.default],["doc-index",k.default],["doc-introduction",I.default],["doc-noteref",V.default],["doc-notice",H.default],["doc-pagebreak",A.default],["doc-pagefooter",L.default],["doc-pageheader",$.default],["doc-pagelist",D.default],["doc-part",K.default],["doc-preface",X.default],["doc-prologue",ie.default],["doc-pullquote",se.default],["doc-qna",W.default],["doc-subtitle",ae.default],["doc-tip",be.default],["doc-toc",ue.default]];e.default=Re}}),ik=B({"../node_modules/aria-query/lib/etc/roles/graphics/graphicsDocumentRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{module:"GRAPHICS",concept:{name:"graphics-object"}},{module:"ARIA",concept:{name:"img"}},{module:"ARIA",concept:{name:"article"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","document"]]};e.default=t}}),sk=B({"../node_modules/aria-query/lib/etc/roles/graphics/graphicsObjectRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{module:"GRAPHICS",concept:{name:"graphics-document"}},{module:"ARIA",concept:{name:"group"}},{module:"ARIA",concept:{name:"img"}},{module:"GRAPHICS",concept:{name:"graphics-symbol"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","group"]]};e.default=t}}),ak=B({"../node_modules/aria-query/lib/etc/roles/graphics/graphicsSymbolRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","img"]]};e.default=t}}),lk=B({"../node_modules/aria-query/lib/etc/roles/ariaGraphicsRoles.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=o(ik()),r=o(sk()),n=o(ak());function o(a){return a&&a.__esModule?a:{default:a}}i(o,"_interopRequireDefault");var s=[["graphics-document",t.default],["graphics-object",r.default],["graphics-symbol",n.default]];e.default=s}}),Tp=B({"../node_modules/aria-query/lib/rolesMap.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=a($M()),r=a(yj()),n=a(ok()),o=a(lk()),s=a(hs());function a(T){return T&&T.__esModule?T:{default:T}}i(a,"_interopRequireDefault");function c(T,v){var _=typeof Symbol<"u"&&T[Symbol.iterator]||T["@@iterator"];if(!_){if(Array.isArray(T)||(_=p(T))||v&&T&&typeof T.length=="number"){_&&(T=_);var R=0,N=i(function(){},"F");return{s:N,n:i(function(){return R>=T.length?{done:!0}:{done:!1,value:T[R++]}},"n"),e:i(function(S){throw S},"e"),f:N}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
5
5
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var j,C=!0,P=!1;return{s:i(function(){_=_.call(T)},"s"),n:i(function(){var S=_.next();return C=S.done,S},"n"),e:i(function(S){P=!0,j=S},"e"),f:i(function(){try{C||_.return==null||_.return()}finally{if(P)throw j}},"f")}}i(c,"_createForOfIteratorHelper");function u(T,v){return y(T)||h(T,v)||p(T,v)||d()}i(u,"_slicedToArray");function d(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
6
6
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}i(d,"_nonIterableRest");function p(T,v){if(T){if(typeof T=="string")return f(T,v);var _={}.toString.call(T).slice(8,-1);return _==="Object"&&T.constructor&&(_=T.constructor.name),_==="Map"||_==="Set"?Array.from(T):_==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(_)?f(T,v):void 0}}i(p,"_unsupportedIterableToArray");function f(T,v){(v==null||v>T.length)&&(v=T.length);for(var _=0,R=Array(v);_<v;_++)R[_]=T[_];return R}i(f,"_arrayLikeToArray");function h(T,v){var _=T==null?null:typeof Symbol<"u"&&T[Symbol.iterator]||T["@@iterator"];if(_!=null){var R,N,j,C,P=[],w=!0,S=!1;try{if(j=(_=_.call(T)).next,v===0){if(Object(_)!==_)return;w=!1}else for(;!(w=(R=j.call(_)).done)&&(P.push(R.value),P.length!==v);w=!0);}catch(k){S=!0,N=k}finally{try{if(!w&&_.return!=null&&(C=_.return(),Object(C)!==C))return}finally{if(S)throw N}}return P}}i(h,"_iterableToArrayLimit");function y(T){if(Array.isArray(T))return T}i(y,"_arrayWithHoles");var g=[].concat(t.default,r.default,n.default,o.default);g.forEach(function(T){var v=u(T,2),_=v[1],R=c(_.superClass),N;try{for(R.s();!(N=R.n()).done;){var j=N.value,C=c(j),P;try{var w=i(function(){var k=P.value,I=g.filter(function($){var D=u($,1),K=D[0];return K===k})[0];if(I)for(var V=I[1],H=0,A=Object.keys(V.props);H<A.length;H++){var L=A[H];Object.prototype.hasOwnProperty.call(_.props,L)||(_.props[L]=V.props[L])}},"_loop");for(C.s();!(P=C.n()).done;)w()}catch(S){C.e(S)}finally{C.f()}}}catch(S){R.e(S)}finally{R.f()}});var E={entries:i(function(){return g},"entries"),forEach:i(function(v){var _=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,R=c(g),N;try{for(R.s();!(N=R.n()).done;){var j=u(N.value,2),C=j[0],P=j[1];v.call(_,P,C,g)}}catch(w){R.e(w)}finally{R.f()}},"forEach"),get:i(function(v){var _=g.filter(function(R){return R[0]===v})[0];return _&&_[1]},"get"),has:i(function(v){return!!E.get(v)},"has"),keys:i(function(){return g.map(function(v){var _=u(v,1),R=_[0];return R})},"keys"),values:i(function(){return g.map(function(v){var _=u(v,2),R=_[1];return R})},"values")};e.default=(0,s.default)(E,E.entries())}}),ck=B({"../node_modules/aria-query/lib/elementRoleMap.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=n(hs()),r=n(Tp());function n(C){return C&&C.__esModule?C:{default:C}}i(n,"_interopRequireDefault");function o(C,P){return d(C)||u(C,P)||a(C,P)||s()}i(o,"_slicedToArray");function s(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
7
7
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}i(s,"_nonIterableRest");function a(C,P){if(C){if(typeof C=="string")return c(C,P);var w={}.toString.call(C).slice(8,-1);return w==="Object"&&C.constructor&&(w=C.constructor.name),w==="Map"||w==="Set"?Array.from(C):w==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(w)?c(C,P):void 0}}i(a,"_unsupportedIterableToArray");function c(C,P){(P==null||P>C.length)&&(P=C.length);for(var w=0,S=Array(P);w<P;w++)S[w]=C[w];return S}i(c,"_arrayLikeToArray");function u(C,P){var w=C==null?null:typeof Symbol<"u"&&C[Symbol.iterator]||C["@@iterator"];if(w!=null){var S,k,I,V,H=[],A=!0,L=!1;try{if(I=(w=w.call(C)).next,P===0){if(Object(w)!==w)return;A=!1}else for(;!(A=(S=I.call(w)).done)&&(H.push(S.value),H.length!==P);A=!0);}catch($){L=!0,k=$}finally{try{if(!A&&w.return!=null&&(V=w.return(),Object(V)!==V))return}finally{if(L)throw k}}return H}}i(u,"_iterableToArrayLimit");function d(C){if(Array.isArray(C))return C}i(d,"_arrayWithHoles");var p=[],f=r.default.keys();for(v=0;v<f.length;v++)if(h=f[v],y=r.default.get(h),y)for(g=[].concat(y.baseConcepts,y.relatedConcepts),E=i(function(){var P=g[T];if(P.module==="HTML"){var w=P.concept;if(w){var S=p.filter(function(H){return R(H[0],w)})[0],k;S?k=S[1]:k=[];for(var I=!0,V=0;V<k.length;V++)if(k[V]===h){I=!1;break}I&&k.push(h),S||p.push([w,k])}}},"_loop"),T=0;T<g.length;T++)E();var h,y,g,E,T,v,_={entries:i(function(){return p},"entries"),forEach:i(function(P){for(var w=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,S=0,k=p;S<k.length;S++){var I=o(k[S],2),V=I[0],H=I[1];P.call(w,H,V,p)}},"forEach"),get:i(function(P){var w=p.filter(function(S){return P.name===S[0].name&&j(P.attributes,S[0].attributes)})[0];return w&&w[1]},"get"),has:i(function(P){return!!_.get(P)},"has"),keys:i(function(){return p.map(function(P){var w=o(P,1),S=w[0];return S})},"keys"),values:i(function(){return p.map(function(P){var w=o(P,2),S=w[1];return S})},"values")};function R(C,P){return C.name===P.name&&N(C.constraints,P.constraints)&&j(C.attributes,P.attributes)}i(R,"ariaRoleRelationConceptEquals");function N(C,P){if(C===void 0&&P!==void 0||C!==void 0&&P===void 0)return!1;if(C!==void 0&&P!==void 0){if(C.length!==P.length)return!1;for(var w=0;w<C.length;w++)if(C[w]!==P[w])return!1}return!0}i(N,"ariaRoleRelationConstraintsEquals");function j(C,P){if(C===void 0&&P!==void 0||C!==void 0&&P===void 0)return!1;if(C!==void 0&&P!==void 0){if(C.length!==P.length)return!1;for(var w=0;w<C.length;w++){if(C[w].name!==P[w].name||C[w].value!==P[w].value||C[w].constraints===void 0&&P[w].constraints!==void 0||C[w].constraints!==void 0&&P[w].constraints===void 0)return!1;if(C[w].constraints!==void 0&&P[w].constraints!==void 0){if(C[w].constraints.length!==P[w].constraints.length)return!1;for(var S=0;S<C[w].constraints.length;S++)if(C[w].constraints[S]!==P[w].constraints[S])return!1}}}return!0}i(j,"ariaRoleRelationConceptAttributeEquals"),e.default=(0,t.default)(_,_.entries())}}),uk=B({"../node_modules/aria-query/lib/roleElementMap.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=n(hs()),r=n(Tp());function n(j){return j&&j.__esModule?j:{default:j}}i(n,"_interopRequireDefault");function o(j,C){return d(j)||u(j,C)||a(j,C)||s()}i(o,"_slicedToArray");function s(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
@@ -11,10 +11,10 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
11
11
  `,spacingOuter:J&&J.min?"":`
12
12
  `}},"getConfig");function Re(J){return new Array(J+1).join(" ")}i(Re,"createIndent");function Oe(J,Q){if(Q&&(ie(Q),Q.plugins)){const oe=L(Q.plugins,J);if(oe!==null)return A(oe,J,ee(Q),"",0,[])}const re=I(J,ae(Q),be(Q),ue(Q));return re!==null?re:V(J,ee(Q),"",0,[])}i(Oe,"format");var He={AsymmetricMatcher:n.default,ConvertAnsi:o.default,DOMCollection:s.default,DOMElement:a.default,Immutable:c.default,ReactElement:u.default,ReactTestComponent:d.default};e.plugins=He;var Ke=Oe;e.default=Ke}}),_k=B({"../node_modules/lz-string/libs/lz-string.js"(e,t){var r=(function(){var n=String.fromCharCode,o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",s="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+-$",a={};function c(d,p){if(!a[d]){a[d]={};for(var f=0;f<d.length;f++)a[d][d.charAt(f)]=f}return a[d][p]}i(c,"getBaseValue");var u={compressToBase64:i(function(d){if(d==null)return"";var p=u._compress(d,6,function(f){return o.charAt(f)});switch(p.length%4){default:case 0:return p;case 1:return p+"===";case 2:return p+"==";case 3:return p+"="}},"compressToBase64"),decompressFromBase64:i(function(d){return d==null?"":d==""?null:u._decompress(d.length,32,function(p){return c(o,d.charAt(p))})},"decompressFromBase64"),compressToUTF16:i(function(d){return d==null?"":u._compress(d,15,function(p){return n(p+32)})+" "},"compressToUTF16"),decompressFromUTF16:i(function(d){return d==null?"":d==""?null:u._decompress(d.length,16384,function(p){return d.charCodeAt(p)-32})},"decompressFromUTF16"),compressToUint8Array:i(function(d){for(var p=u.compress(d),f=new Uint8Array(p.length*2),h=0,y=p.length;h<y;h++){var g=p.charCodeAt(h);f[h*2]=g>>>8,f[h*2+1]=g%256}return f},"compressToUint8Array"),decompressFromUint8Array:i(function(d){if(d==null)return u.decompress(d);for(var p=new Array(d.length/2),f=0,h=p.length;f<h;f++)p[f]=d[f*2]*256+d[f*2+1];var y=[];return p.forEach(function(g){y.push(n(g))}),u.decompress(y.join(""))},"decompressFromUint8Array"),compressToEncodedURIComponent:i(function(d){return d==null?"":u._compress(d,6,function(p){return s.charAt(p)})},"compressToEncodedURIComponent"),decompressFromEncodedURIComponent:i(function(d){return d==null?"":d==""?null:(d=d.replace(/ /g,"+"),u._decompress(d.length,32,function(p){return c(s,d.charAt(p))}))},"decompressFromEncodedURIComponent"),compress:i(function(d){return u._compress(d,16,function(p){return n(p)})},"compress"),_compress:i(function(d,p,f){if(d==null)return"";var h,y,g={},E={},T="",v="",_="",R=2,N=3,j=2,C=[],P=0,w=0,S;for(S=0;S<d.length;S+=1)if(T=d.charAt(S),Object.prototype.hasOwnProperty.call(g,T)||(g[T]=N++,E[T]=!0),v=_+T,Object.prototype.hasOwnProperty.call(g,v))_=v;else{if(Object.prototype.hasOwnProperty.call(E,_)){if(_.charCodeAt(0)<256){for(h=0;h<j;h++)P=P<<1,w==p-1?(w=0,C.push(f(P)),P=0):w++;for(y=_.charCodeAt(0),h=0;h<8;h++)P=P<<1|y&1,w==p-1?(w=0,C.push(f(P)),P=0):w++,y=y>>1}else{for(y=1,h=0;h<j;h++)P=P<<1|y,w==p-1?(w=0,C.push(f(P)),P=0):w++,y=0;for(y=_.charCodeAt(0),h=0;h<16;h++)P=P<<1|y&1,w==p-1?(w=0,C.push(f(P)),P=0):w++,y=y>>1}R--,R==0&&(R=Math.pow(2,j),j++),delete E[_]}else for(y=g[_],h=0;h<j;h++)P=P<<1|y&1,w==p-1?(w=0,C.push(f(P)),P=0):w++,y=y>>1;R--,R==0&&(R=Math.pow(2,j),j++),g[v]=N++,_=String(T)}if(_!==""){if(Object.prototype.hasOwnProperty.call(E,_)){if(_.charCodeAt(0)<256){for(h=0;h<j;h++)P=P<<1,w==p-1?(w=0,C.push(f(P)),P=0):w++;for(y=_.charCodeAt(0),h=0;h<8;h++)P=P<<1|y&1,w==p-1?(w=0,C.push(f(P)),P=0):w++,y=y>>1}else{for(y=1,h=0;h<j;h++)P=P<<1|y,w==p-1?(w=0,C.push(f(P)),P=0):w++,y=0;for(y=_.charCodeAt(0),h=0;h<16;h++)P=P<<1|y&1,w==p-1?(w=0,C.push(f(P)),P=0):w++,y=y>>1}R--,R==0&&(R=Math.pow(2,j),j++),delete E[_]}else for(y=g[_],h=0;h<j;h++)P=P<<1|y&1,w==p-1?(w=0,C.push(f(P)),P=0):w++,y=y>>1;R--,R==0&&(R=Math.pow(2,j),j++)}for(y=2,h=0;h<j;h++)P=P<<1|y&1,w==p-1?(w=0,C.push(f(P)),P=0):w++,y=y>>1;for(;;)if(P=P<<1,w==p-1){C.push(f(P));break}else w++;return C.join("")},"_compress"),decompress:i(function(d){return d==null?"":d==""?null:u._decompress(d.length,32768,function(p){return d.charCodeAt(p)})},"decompress"),_decompress:i(function(d,p,f){var h=[],y=4,g=4,E=3,T="",v=[],_,R,N,j,C,P,w,S={val:f(0),position:p,index:1};for(_=0;_<3;_+=1)h[_]=_;for(N=0,C=Math.pow(2,2),P=1;P!=C;)j=S.val&S.position,S.position>>=1,S.position==0&&(S.position=p,S.val=f(S.index++)),N|=(j>0?1:0)*P,P<<=1;switch(N){case 0:for(N=0,C=Math.pow(2,8),P=1;P!=C;)j=S.val&S.position,S.position>>=1,S.position==0&&(S.position=p,S.val=f(S.index++)),N|=(j>0?1:0)*P,P<<=1;w=n(N);break;case 1:for(N=0,C=Math.pow(2,16),P=1;P!=C;)j=S.val&S.position,S.position>>=1,S.position==0&&(S.position=p,S.val=f(S.index++)),N|=(j>0?1:0)*P,P<<=1;w=n(N);break;case 2:return""}for(h[3]=w,R=w,v.push(w);;){if(S.index>d)return"";for(N=0,C=Math.pow(2,E),P=1;P!=C;)j=S.val&S.position,S.position>>=1,S.position==0&&(S.position=p,S.val=f(S.index++)),N|=(j>0?1:0)*P,P<<=1;switch(w=N){case 0:for(N=0,C=Math.pow(2,8),P=1;P!=C;)j=S.val&S.position,S.position>>=1,S.position==0&&(S.position=p,S.val=f(S.index++)),N|=(j>0?1:0)*P,P<<=1;h[g++]=n(N),w=g-1,y--;break;case 1:for(N=0,C=Math.pow(2,16),P=1;P!=C;)j=S.val&S.position,S.position>>=1,S.position==0&&(S.position=p,S.val=f(S.index++)),N|=(j>0?1:0)*P,P<<=1;h[g++]=n(N),w=g-1,y--;break;case 2:return v.join("")}if(y==0&&(y=Math.pow(2,E),E++),h[w])T=h[w];else if(w===g)T=R+R.charAt(0);else return null;v.push(T),h[g++]=R+T.charAt(0),y--,R=T,y==0&&(y=Math.pow(2,E),E++)}},"_decompress")};return u})();typeof define=="function"&&define.amd?define(function(){return r}):typeof t<"u"&&t!=null?t.exports=r:typeof angular<"u"&&angular!=null&&angular.module("LZString",[]).factory("LZString",function(){return r})}}),fv=B({"../node_modules/memoizerific/memoizerific.js"(e,t){(function(r){if(typeof e=="object"&&typeof t<"u")t.exports=r();else if(typeof define=="function"&&define.amd)define([],r);else{var n;typeof window<"u"?n=window:typeof global<"u"?n=global:typeof self<"u"?n=self:n=this,n.memoizerific=r()}})(function(){return i(function r(n,o,s){function a(d,p){if(!o[d]){if(!n[d]){var f=typeof Fs=="function"&&Fs;if(!p&&f)return f(d,!0);if(c)return c(d,!0);var h=new Error("Cannot find module '"+d+"'");throw h.code="MODULE_NOT_FOUND",h}var y=o[d]={exports:{}};n[d][0].call(y.exports,function(g){var E=n[d][1][g];return a(E||g)},y,y.exports,r,n,o,s)}return o[d].exports}i(a,"s");for(var c=typeof Fs=="function"&&Fs,u=0;u<s.length;u++)a(s[u]);return a},"e")({1:[function(r,n,o){n.exports=function(s){if(typeof Map!="function"||s){var a=r("./similar");return new a}else return new Map}},{"./similar":2}],2:[function(r,n,o){function s(){return this.list=[],this.lastItem=void 0,this.size=0,this}i(s,"Similar"),s.prototype.get=function(a){var c;if(this.lastItem&&this.isEqual(this.lastItem.key,a))return this.lastItem.val;if(c=this.indexOf(a),c>=0)return this.lastItem=this.list[c],this.list[c].val},s.prototype.set=function(a,c){var u;return this.lastItem&&this.isEqual(this.lastItem.key,a)?(this.lastItem.val=c,this):(u=this.indexOf(a),u>=0?(this.lastItem=this.list[u],this.list[u].val=c,this):(this.lastItem={key:a,val:c},this.list.push(this.lastItem),this.size++,this))},s.prototype.delete=function(a){var c;if(this.lastItem&&this.isEqual(this.lastItem.key,a)&&(this.lastItem=void 0),c=this.indexOf(a),c>=0)return this.size--,this.list.splice(c,1)[0]},s.prototype.has=function(a){var c;return this.lastItem&&this.isEqual(this.lastItem.key,a)?!0:(c=this.indexOf(a),c>=0?(this.lastItem=this.list[c],!0):!1)},s.prototype.forEach=function(a,c){var u;for(u=0;u<this.size;u++)a.call(c||this,this.list[u].val,this.list[u].key,this)},s.prototype.indexOf=function(a){var c;for(c=0;c<this.size;c++)if(this.isEqual(this.list[c].key,a))return c;return-1},s.prototype.isEqual=function(a,c){return a===c||a!==a&&c!==c},n.exports=s},{}],3:[function(r,n,o){var s=r("map-or-similar");n.exports=function(d){var p=new s(!1),f=[];return function(h){var y=i(function(){var g=p,E,T,v=arguments.length-1,_=Array(v+1),R=!0,N;if((y.numArgs||y.numArgs===0)&&y.numArgs!==v+1)throw new Error("Memoizerific functions should always be called with the same number of arguments");for(N=0;N<v;N++){if(_[N]={cacheItem:g,arg:arguments[N]},g.has(arguments[N])){g=g.get(arguments[N]);continue}R=!1,E=new s(!1),g.set(arguments[N],E),g=E}return R&&(g.has(arguments[v])?T=g.get(arguments[v]):R=!1),R||(T=h.apply(null,arguments),g.set(arguments[v],T)),d>0&&(_[v]={cacheItem:g,arg:arguments[v]},R?a(f,_):f.push(_),f.length>d&&c(f.shift())),y.wasMemoized=R,y.numArgs=v+1,T},"memoizerific");return y.limit=d,y.wasMemoized=!1,y.cache=p,y.lru=f,y}};function a(d,p){var f=d.length,h=p.length,y,g,E;for(g=0;g<f;g++){for(y=!0,E=0;E<h;E++)if(!u(d[g][E].arg,p[E].arg)){y=!1;break}if(y)break}d.push(d.splice(g,1)[0])}i(a,"moveToMostRecentLru");function c(d){var p=d.length,f=d[p-1],h,y;for(f.cacheItem.delete(f.arg),y=p-2;y>=0&&(f=d[y],h=f.cacheItem.get(f.arg),!h||!h.size);y--)f.cacheItem.delete(f.arg)}i(c,"removeCachedResult");function u(d,p){return d===p||d!==d&&p!==p}i(u,"isEqual")},{"map-or-similar":1}]},{},[3])(3)})}}),mv=B({"../node_modules/picoquery/lib/string-util.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.encodeString=n;var t=Array.from({length:256},(o,s)=>"%"+((s<16?"0":"")+s.toString(16)).toUpperCase()),r=new Int8Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,1,1,1,1,0,0,1,1,0,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,1,0]);function n(o){const s=o.length;if(s===0)return"";let a="",c=0,u=0;e:for(;u<s;u++){let d=o.charCodeAt(u);for(;d<128;){if(r[d]!==1&&(c<u&&(a+=o.slice(c,u)),c=u+1,a+=t[d]),++u===s)break e;d=o.charCodeAt(u)}if(c<u&&(a+=o.slice(c,u)),d<2048){c=u+1,a+=t[192|d>>6]+t[128|d&63];continue}if(d<55296||d>=57344){c=u+1,a+=t[224|d>>12]+t[128|d>>6&63]+t[128|d&63];continue}if(++u,u>=s)throw new Error("URI malformed");const p=o.charCodeAt(u)&1023;c=u+1,d=65536+((d&1023)<<10|p),a+=t[240|d>>18]+t[128|d>>12&63]+t[128|d>>6&63]+t[128|d&63]}return c===0?o:c<s?a+o.slice(c):a}i(n,"encodeString")}}),Sp=B({"../node_modules/picoquery/lib/shared.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.defaultOptions=e.defaultShouldSerializeObject=e.defaultValueSerializer=void 0;var t=mv(),r=i(s=>{switch(typeof s){case"string":return(0,t.encodeString)(s);case"bigint":case"boolean":return""+s;case"number":if(Number.isFinite(s))return s<1e21?""+s:(0,t.encodeString)(""+s);break}return s instanceof Date?(0,t.encodeString)(s.toISOString()):""},"defaultValueSerializer");e.defaultValueSerializer=r;var n=i(s=>s instanceof Date,"defaultShouldSerializeObject");e.defaultShouldSerializeObject=n;var o=i(s=>s,"identityFunc");e.defaultOptions={nesting:!0,nestingSyntax:"dot",arrayRepeat:!1,arrayRepeatSyntax:"repeat",delimiter:38,valueDeserializer:o,valueSerializer:e.defaultValueSerializer,keyDeserializer:o,shouldSerializeObject:e.defaultShouldSerializeObject}}}),hv=B({"../node_modules/picoquery/lib/object-util.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.getDeepObject=o,e.stringifyObject=p;var t=Sp(),r=mv();function n(f){return f==="__proto__"||f==="constructor"||f==="prototype"}i(n,"isPrototypeKey");function o(f,h,y,g,E){if(n(h))return f;const T=f[h];return typeof T=="object"&&T!==null?T:!g&&(E||typeof y=="number"||typeof y=="string"&&y*0===0&&y.indexOf(".")===-1)?f[h]=[]:f[h]={}}i(o,"getDeepObject");var s=20,a="[]",c="[",u="]",d=".";function p(f,h,y=0,g,E){const{nestingSyntax:T=t.defaultOptions.nestingSyntax,arrayRepeat:v=t.defaultOptions.arrayRepeat,arrayRepeatSyntax:_=t.defaultOptions.arrayRepeatSyntax,nesting:R=t.defaultOptions.nesting,delimiter:N=t.defaultOptions.delimiter,valueSerializer:j=t.defaultOptions.valueSerializer,shouldSerializeObject:C=t.defaultOptions.shouldSerializeObject}=h,P=typeof N=="number"?String.fromCharCode(N):N,w=E===!0&&v,S=T==="dot"||T==="js"&&!E;if(y>s)return"";let k="",I=!0,V=!1;for(const H in f){const A=f[H];if(A===void 0)continue;let L;g?(L=g,w?_==="bracket"&&(L+=a):S?(L+=d,L+=H):(L+=c,L+=H,L+=u)):L=H,I||(k+=P),typeof A=="object"&&A!==null&&!C(A)?(V=A.pop!==void 0,(R||v&&V)&&(k+=p(A,h,y+1,L,V))):(k+=(0,r.encodeString)(L),k+="=",k+=j(A,H)),I&&(I=!1)}return k}i(p,"stringifyObject")}}),Sk=B({"../node_modules/picoquery/lib/decode-uri-component.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.decodeURIComponent=o;var t=12,r=0,n=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,4,4,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,6,7,7,7,7,7,7,7,7,7,7,7,7,8,7,7,10,9,9,9,11,4,4,4,4,4,4,4,4,4,4,4,0,0,0,0,0,0,0,0,0,0,0,0,12,0,0,0,0,24,36,48,60,72,84,96,0,12,12,12,0,0,0,0,0,0,0,0,0,0,0,24,0,0,0,0,0,0,0,0,0,24,24,24,0,0,0,0,0,0,0,0,0,24,24,0,0,0,0,0,0,0,0,0,0,48,48,48,0,0,0,0,0,0,0,0,0,0,48,48,0,0,0,0,0,0,0,0,0,48,0,0,0,0,0,0,0,0,0,0,127,63,63,63,0,31,15,15,15,7,7,7];function o(c){let u=c.indexOf("%");if(u===-1)return c;const d=c.length;let p="",f=0,h=0,y=u,g=t;for(;u>-1&&u<d;){const E=a(c[u+1],4),T=a(c[u+2],0),v=E|T,_=n[v];if(g=n[256+g+_],h=h<<6|v&n[364+_],g===t)p+=c.slice(f,y),p+=h<=65535?String.fromCharCode(h):String.fromCharCode(55232+(h>>10),56320+(h&1023)),h=0,f=u+3,u=y=c.indexOf("%",f);else{if(g===r)return null;if(u+=3,u<d&&c.charCodeAt(u)===37)continue;return null}}return p+c.slice(f)}i(o,"decodeURIComponent");var s={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,a:10,A:10,b:11,B:11,c:12,C:12,d:13,D:13,e:14,E:14,f:15,F:15};function a(c,u){const d=s[c];return d===void 0?255:d<<u}i(a,"hexCodeToInt")}}),Pk=B({"../node_modules/picoquery/lib/parse.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.numberValueDeserializer=e.numberKeyDeserializer=void 0,e.parse=d;var t=hv(),r=Sp(),n=Sk(),o=i(p=>{const f=Number(p);return Number.isNaN(f)?p:f},"numberKeyDeserializer");e.numberKeyDeserializer=o;var s=i(p=>{const f=Number(p);return Number.isNaN(f)?p:f},"numberValueDeserializer");e.numberValueDeserializer=s;var a=/\+/g,c=i(function(){},"Empty");c.prototype=Object.create(null);function u(p,f,h,y,g){let E=p.substring(f,h);return y&&(E=E.replace(a," ")),g&&(E=(0,n.decodeURIComponent)(E)||E),E}i(u,"computeKeySlice");function d(p,f){const{valueDeserializer:h=r.defaultOptions.valueDeserializer,keyDeserializer:y=r.defaultOptions.keyDeserializer,arrayRepeatSyntax:g=r.defaultOptions.arrayRepeatSyntax,nesting:E=r.defaultOptions.nesting,arrayRepeat:T=r.defaultOptions.arrayRepeat,nestingSyntax:v=r.defaultOptions.nestingSyntax,delimiter:_=r.defaultOptions.delimiter}=f??{},R=typeof _=="string"?_.charCodeAt(0):_,N=v==="js",j=new c;if(typeof p!="string")return j;const C=p.length;let P="",w=-1,S=-1,k=-1,I=j,V,H="",A="",L=!1,$=!1,D=!1,K=!1,X=!1,ie=!1,se=0,W=-1,ae=-1,be=-1;for(let ue=0;ue<C+1;ue++){if(se=ue!==C?p.charCodeAt(ue):R,se===R){if(ie=S>w,ie||(S=ue),k!==S-1&&(A=u(p,k+1,W>-1?W:S,D,L),H=y(A),V!==void 0&&(I=(0,t.getDeepObject)(I,V,H,N&&X,void 0))),ie||H!==""){ie&&(P=p.slice(S+1,ue),K&&(P=P.replace(a," ")),$&&(P=(0,n.decodeURIComponent)(P)||P));const ee=h(P,H);if(T){const Re=I[H];Re===void 0?W>-1?I[H]=[ee]:I[H]=ee:Re.pop?Re.push(ee):I[H]=[Re,ee]}else I[H]=ee}P="",w=ue,S=ue,L=!1,$=!1,D=!1,K=!1,X=!1,W=-1,k=ue,I=j,V=void 0,H=""}else se===93?(T&&g==="bracket"&&be===91&&(W=ae),E&&(v==="index"||N)&&S<=w&&(k!==ae&&(A=u(p,k+1,ue,D,L),H=y(A),V!==void 0&&(I=(0,t.getDeepObject)(I,V,H,void 0,void 0)),V=H,D=!1,L=!1),k=ue,X=!1)):se===46?E&&(v==="dot"||N)&&S<=w&&(k!==ae&&(A=u(p,k+1,ue,D,L),H=y(A),V!==void 0&&(I=(0,t.getDeepObject)(I,V,H,N)),V=H,D=!1,L=!1),X=!0,k=ue):se===91?E&&(v==="index"||N)&&S<=w&&(k!==ae&&(A=u(p,k+1,ue,D,L),H=y(A),N&&V!==void 0&&(I=(0,t.getDeepObject)(I,V,H,N)),V=H,D=!1,L=!1,X=!1),k=ue):se===61?S<=w?S=ue:$=!0:se===43?S>w?K=!0:D=!0:se===37&&(S>w?$=!0:L=!0);ae=ue,be=se}return j}i(d,"parse")}}),Ak=B({"../node_modules/picoquery/lib/stringify.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.stringify=r;var t=hv();function r(n,o){if(n===null||typeof n!="object")return"";const s=o??{};return(0,t.stringifyObject)(n,s)}i(r,"stringify")}}),Pp=B({"../node_modules/picoquery/lib/main.js"(e){var t=e&&e.__createBinding||(Object.create?function(s,a,c,u){u===void 0&&(u=c);var d=Object.getOwnPropertyDescriptor(a,c);(!d||("get"in d?!a.__esModule:d.writable||d.configurable))&&(d={enumerable:!0,get:i(function(){return a[c]},"get")}),Object.defineProperty(s,u,d)}:function(s,a,c,u){u===void 0&&(u=c),s[u]=a[c]}),r=e&&e.__exportStar||function(s,a){for(var c in s)c!=="default"&&!Object.prototype.hasOwnProperty.call(a,c)&&t(a,s,c)};Object.defineProperty(e,"__esModule",{value:!0}),e.stringify=e.parse=void 0;var n=Pk();Object.defineProperty(e,"parse",{enumerable:!0,get:i(function(){return n.parse},"get")});var o=Ak();Object.defineProperty(e,"stringify",{enumerable:!0,get:i(function(){return o.stringify},"get")}),r(Sp(),e)}}),yv=B({"../node_modules/entities/lib/maps/entities.json"(e,t){t.exports={Aacute:"Á",aacute:"á",Abreve:"Ă",abreve:"ă",ac:"∾",acd:"∿",acE:"∾̳",Acirc:"Â",acirc:"â",acute:"´",Acy:"А",acy:"а",AElig:"Æ",aelig:"æ",af:"⁡",Afr:"𝔄",afr:"𝔞",Agrave:"À",agrave:"à",alefsym:"ℵ",aleph:"ℵ",Alpha:"Α",alpha:"α",Amacr:"Ā",amacr:"ā",amalg:"⨿",amp:"&",AMP:"&",andand:"⩕",And:"⩓",and:"∧",andd:"⩜",andslope:"⩘",andv:"⩚",ang:"∠",ange:"⦤",angle:"∠",angmsdaa:"⦨",angmsdab:"⦩",angmsdac:"⦪",angmsdad:"⦫",angmsdae:"⦬",angmsdaf:"⦭",angmsdag:"⦮",angmsdah:"⦯",angmsd:"∡",angrt:"∟",angrtvb:"⊾",angrtvbd:"⦝",angsph:"∢",angst:"Å",angzarr:"⍼",Aogon:"Ą",aogon:"ą",Aopf:"𝔸",aopf:"𝕒",apacir:"⩯",ap:"≈",apE:"⩰",ape:"≊",apid:"≋",apos:"'",ApplyFunction:"⁡",approx:"≈",approxeq:"≊",Aring:"Å",aring:"å",Ascr:"𝒜",ascr:"𝒶",Assign:"≔",ast:"*",asymp:"≈",asympeq:"≍",Atilde:"Ã",atilde:"ã",Auml:"Ä",auml:"ä",awconint:"∳",awint:"⨑",backcong:"≌",backepsilon:"϶",backprime:"‵",backsim:"∽",backsimeq:"⋍",Backslash:"∖",Barv:"⫧",barvee:"⊽",barwed:"⌅",Barwed:"⌆",barwedge:"⌅",bbrk:"⎵",bbrktbrk:"⎶",bcong:"≌",Bcy:"Б",bcy:"б",bdquo:"„",becaus:"∵",because:"∵",Because:"∵",bemptyv:"⦰",bepsi:"϶",bernou:"ℬ",Bernoullis:"ℬ",Beta:"Β",beta:"β",beth:"ℶ",between:"≬",Bfr:"𝔅",bfr:"𝔟",bigcap:"⋂",bigcirc:"◯",bigcup:"⋃",bigodot:"⨀",bigoplus:"⨁",bigotimes:"⨂",bigsqcup:"⨆",bigstar:"★",bigtriangledown:"▽",bigtriangleup:"△",biguplus:"⨄",bigvee:"⋁",bigwedge:"⋀",bkarow:"⤍",blacklozenge:"⧫",blacksquare:"▪",blacktriangle:"▴",blacktriangledown:"▾",blacktriangleleft:"◂",blacktriangleright:"▸",blank:"␣",blk12:"▒",blk14:"░",blk34:"▓",block:"█",bne:"=⃥",bnequiv:"≡⃥",bNot:"⫭",bnot:"⌐",Bopf:"𝔹",bopf:"𝕓",bot:"⊥",bottom:"⊥",bowtie:"⋈",boxbox:"⧉",boxdl:"┐",boxdL:"╕",boxDl:"╖",boxDL:"╗",boxdr:"┌",boxdR:"╒",boxDr:"╓",boxDR:"╔",boxh:"─",boxH:"═",boxhd:"┬",boxHd:"╤",boxhD:"╥",boxHD:"╦",boxhu:"┴",boxHu:"╧",boxhU:"╨",boxHU:"╩",boxminus:"⊟",boxplus:"⊞",boxtimes:"⊠",boxul:"┘",boxuL:"╛",boxUl:"╜",boxUL:"╝",boxur:"└",boxuR:"╘",boxUr:"╙",boxUR:"╚",boxv:"│",boxV:"║",boxvh:"┼",boxvH:"╪",boxVh:"╫",boxVH:"╬",boxvl:"┤",boxvL:"╡",boxVl:"╢",boxVL:"╣",boxvr:"├",boxvR:"╞",boxVr:"╟",boxVR:"╠",bprime:"‵",breve:"˘",Breve:"˘",brvbar:"¦",bscr:"𝒷",Bscr:"ℬ",bsemi:"⁏",bsim:"∽",bsime:"⋍",bsolb:"⧅",bsol:"\\",bsolhsub:"⟈",bull:"•",bullet:"•",bump:"≎",bumpE:"⪮",bumpe:"≏",Bumpeq:"≎",bumpeq:"≏",Cacute:"Ć",cacute:"ć",capand:"⩄",capbrcup:"⩉",capcap:"⩋",cap:"∩",Cap:"⋒",capcup:"⩇",capdot:"⩀",CapitalDifferentialD:"ⅅ",caps:"∩︀",caret:"⁁",caron:"ˇ",Cayleys:"ℭ",ccaps:"⩍",Ccaron:"Č",ccaron:"č",Ccedil:"Ç",ccedil:"ç",Ccirc:"Ĉ",ccirc:"ĉ",Cconint:"∰",ccups:"⩌",ccupssm:"⩐",Cdot:"Ċ",cdot:"ċ",cedil:"¸",Cedilla:"¸",cemptyv:"⦲",cent:"¢",centerdot:"·",CenterDot:"·",cfr:"𝔠",Cfr:"ℭ",CHcy:"Ч",chcy:"ч",check:"✓",checkmark:"✓",Chi:"Χ",chi:"χ",circ:"ˆ",circeq:"≗",circlearrowleft:"↺",circlearrowright:"↻",circledast:"⊛",circledcirc:"⊚",circleddash:"⊝",CircleDot:"⊙",circledR:"®",circledS:"Ⓢ",CircleMinus:"⊖",CirclePlus:"⊕",CircleTimes:"⊗",cir:"○",cirE:"⧃",cire:"≗",cirfnint:"⨐",cirmid:"⫯",cirscir:"⧂",ClockwiseContourIntegral:"∲",CloseCurlyDoubleQuote:"”",CloseCurlyQuote:"’",clubs:"♣",clubsuit:"♣",colon:":",Colon:"∷",Colone:"⩴",colone:"≔",coloneq:"≔",comma:",",commat:"@",comp:"∁",compfn:"∘",complement:"∁",complexes:"ℂ",cong:"≅",congdot:"⩭",Congruent:"≡",conint:"∮",Conint:"∯",ContourIntegral:"∮",copf:"𝕔",Copf:"ℂ",coprod:"∐",Coproduct:"∐",copy:"©",COPY:"©",copysr:"℗",CounterClockwiseContourIntegral:"∳",crarr:"↵",cross:"✗",Cross:"⨯",Cscr:"𝒞",cscr:"𝒸",csub:"⫏",csube:"⫑",csup:"⫐",csupe:"⫒",ctdot:"⋯",cudarrl:"⤸",cudarrr:"⤵",cuepr:"⋞",cuesc:"⋟",cularr:"↶",cularrp:"⤽",cupbrcap:"⩈",cupcap:"⩆",CupCap:"≍",cup:"∪",Cup:"⋓",cupcup:"⩊",cupdot:"⊍",cupor:"⩅",cups:"∪︀",curarr:"↷",curarrm:"⤼",curlyeqprec:"⋞",curlyeqsucc:"⋟",curlyvee:"⋎",curlywedge:"⋏",curren:"¤",curvearrowleft:"↶",curvearrowright:"↷",cuvee:"⋎",cuwed:"⋏",cwconint:"∲",cwint:"∱",cylcty:"⌭",dagger:"†",Dagger:"‡",daleth:"ℸ",darr:"↓",Darr:"↡",dArr:"⇓",dash:"‐",Dashv:"⫤",dashv:"⊣",dbkarow:"⤏",dblac:"˝",Dcaron:"Ď",dcaron:"ď",Dcy:"Д",dcy:"д",ddagger:"‡",ddarr:"⇊",DD:"ⅅ",dd:"ⅆ",DDotrahd:"⤑",ddotseq:"⩷",deg:"°",Del:"∇",Delta:"Δ",delta:"δ",demptyv:"⦱",dfisht:"⥿",Dfr:"𝔇",dfr:"𝔡",dHar:"⥥",dharl:"⇃",dharr:"⇂",DiacriticalAcute:"´",DiacriticalDot:"˙",DiacriticalDoubleAcute:"˝",DiacriticalGrave:"`",DiacriticalTilde:"˜",diam:"⋄",diamond:"⋄",Diamond:"⋄",diamondsuit:"♦",diams:"♦",die:"¨",DifferentialD:"ⅆ",digamma:"ϝ",disin:"⋲",div:"÷",divide:"÷",divideontimes:"⋇",divonx:"⋇",DJcy:"Ђ",djcy:"ђ",dlcorn:"⌞",dlcrop:"⌍",dollar:"$",Dopf:"𝔻",dopf:"𝕕",Dot:"¨",dot:"˙",DotDot:"⃜",doteq:"≐",doteqdot:"≑",DotEqual:"≐",dotminus:"∸",dotplus:"∔",dotsquare:"⊡",doublebarwedge:"⌆",DoubleContourIntegral:"∯",DoubleDot:"¨",DoubleDownArrow:"⇓",DoubleLeftArrow:"⇐",DoubleLeftRightArrow:"⇔",DoubleLeftTee:"⫤",DoubleLongLeftArrow:"⟸",DoubleLongLeftRightArrow:"⟺",DoubleLongRightArrow:"⟹",DoubleRightArrow:"⇒",DoubleRightTee:"⊨",DoubleUpArrow:"⇑",DoubleUpDownArrow:"⇕",DoubleVerticalBar:"∥",DownArrowBar:"⤓",downarrow:"↓",DownArrow:"↓",Downarrow:"⇓",DownArrowUpArrow:"⇵",DownBreve:"̑",downdownarrows:"⇊",downharpoonleft:"⇃",downharpoonright:"⇂",DownLeftRightVector:"⥐",DownLeftTeeVector:"⥞",DownLeftVectorBar:"⥖",DownLeftVector:"↽",DownRightTeeVector:"⥟",DownRightVectorBar:"⥗",DownRightVector:"⇁",DownTeeArrow:"↧",DownTee:"⊤",drbkarow:"⤐",drcorn:"⌟",drcrop:"⌌",Dscr:"𝒟",dscr:"𝒹",DScy:"Ѕ",dscy:"ѕ",dsol:"⧶",Dstrok:"Đ",dstrok:"đ",dtdot:"⋱",dtri:"▿",dtrif:"▾",duarr:"⇵",duhar:"⥯",dwangle:"⦦",DZcy:"Џ",dzcy:"џ",dzigrarr:"⟿",Eacute:"É",eacute:"é",easter:"⩮",Ecaron:"Ě",ecaron:"ě",Ecirc:"Ê",ecirc:"ê",ecir:"≖",ecolon:"≕",Ecy:"Э",ecy:"э",eDDot:"⩷",Edot:"Ė",edot:"ė",eDot:"≑",ee:"ⅇ",efDot:"≒",Efr:"𝔈",efr:"𝔢",eg:"⪚",Egrave:"È",egrave:"è",egs:"⪖",egsdot:"⪘",el:"⪙",Element:"∈",elinters:"⏧",ell:"ℓ",els:"⪕",elsdot:"⪗",Emacr:"Ē",emacr:"ē",empty:"∅",emptyset:"∅",EmptySmallSquare:"◻",emptyv:"∅",EmptyVerySmallSquare:"▫",emsp13:" ",emsp14:" ",emsp:" ",ENG:"Ŋ",eng:"ŋ",ensp:" ",Eogon:"Ę",eogon:"ę",Eopf:"𝔼",eopf:"𝕖",epar:"⋕",eparsl:"⧣",eplus:"⩱",epsi:"ε",Epsilon:"Ε",epsilon:"ε",epsiv:"ϵ",eqcirc:"≖",eqcolon:"≕",eqsim:"≂",eqslantgtr:"⪖",eqslantless:"⪕",Equal:"⩵",equals:"=",EqualTilde:"≂",equest:"≟",Equilibrium:"⇌",equiv:"≡",equivDD:"⩸",eqvparsl:"⧥",erarr:"⥱",erDot:"≓",escr:"ℯ",Escr:"ℰ",esdot:"≐",Esim:"⩳",esim:"≂",Eta:"Η",eta:"η",ETH:"Ð",eth:"ð",Euml:"Ë",euml:"ë",euro:"€",excl:"!",exist:"∃",Exists:"∃",expectation:"ℰ",exponentiale:"ⅇ",ExponentialE:"ⅇ",fallingdotseq:"≒",Fcy:"Ф",fcy:"ф",female:"♀",ffilig:"ffi",fflig:"ff",ffllig:"ffl",Ffr:"𝔉",ffr:"𝔣",filig:"fi",FilledSmallSquare:"◼",FilledVerySmallSquare:"▪",fjlig:"fj",flat:"♭",fllig:"fl",fltns:"▱",fnof:"ƒ",Fopf:"𝔽",fopf:"𝕗",forall:"∀",ForAll:"∀",fork:"⋔",forkv:"⫙",Fouriertrf:"ℱ",fpartint:"⨍",frac12:"½",frac13:"⅓",frac14:"¼",frac15:"⅕",frac16:"⅙",frac18:"⅛",frac23:"⅔",frac25:"⅖",frac34:"¾",frac35:"⅗",frac38:"⅜",frac45:"⅘",frac56:"⅚",frac58:"⅝",frac78:"⅞",frasl:"⁄",frown:"⌢",fscr:"𝒻",Fscr:"ℱ",gacute:"ǵ",Gamma:"Γ",gamma:"γ",Gammad:"Ϝ",gammad:"ϝ",gap:"⪆",Gbreve:"Ğ",gbreve:"ğ",Gcedil:"Ģ",Gcirc:"Ĝ",gcirc:"ĝ",Gcy:"Г",gcy:"г",Gdot:"Ġ",gdot:"ġ",ge:"≥",gE:"≧",gEl:"⪌",gel:"⋛",geq:"≥",geqq:"≧",geqslant:"⩾",gescc:"⪩",ges:"⩾",gesdot:"⪀",gesdoto:"⪂",gesdotol:"⪄",gesl:"⋛︀",gesles:"⪔",Gfr:"𝔊",gfr:"𝔤",gg:"≫",Gg:"⋙",ggg:"⋙",gimel:"ℷ",GJcy:"Ѓ",gjcy:"ѓ",gla:"⪥",gl:"≷",glE:"⪒",glj:"⪤",gnap:"⪊",gnapprox:"⪊",gne:"⪈",gnE:"≩",gneq:"⪈",gneqq:"≩",gnsim:"⋧",Gopf:"𝔾",gopf:"𝕘",grave:"`",GreaterEqual:"≥",GreaterEqualLess:"⋛",GreaterFullEqual:"≧",GreaterGreater:"⪢",GreaterLess:"≷",GreaterSlantEqual:"⩾",GreaterTilde:"≳",Gscr:"𝒢",gscr:"ℊ",gsim:"≳",gsime:"⪎",gsiml:"⪐",gtcc:"⪧",gtcir:"⩺",gt:">",GT:">",Gt:"≫",gtdot:"⋗",gtlPar:"⦕",gtquest:"⩼",gtrapprox:"⪆",gtrarr:"⥸",gtrdot:"⋗",gtreqless:"⋛",gtreqqless:"⪌",gtrless:"≷",gtrsim:"≳",gvertneqq:"≩︀",gvnE:"≩︀",Hacek:"ˇ",hairsp:" ",half:"½",hamilt:"ℋ",HARDcy:"Ъ",hardcy:"ъ",harrcir:"⥈",harr:"↔",hArr:"⇔",harrw:"↭",Hat:"^",hbar:"ℏ",Hcirc:"Ĥ",hcirc:"ĥ",hearts:"♥",heartsuit:"♥",hellip:"…",hercon:"⊹",hfr:"𝔥",Hfr:"ℌ",HilbertSpace:"ℋ",hksearow:"⤥",hkswarow:"⤦",hoarr:"⇿",homtht:"∻",hookleftarrow:"↩",hookrightarrow:"↪",hopf:"𝕙",Hopf:"ℍ",horbar:"―",HorizontalLine:"─",hscr:"𝒽",Hscr:"ℋ",hslash:"ℏ",Hstrok:"Ħ",hstrok:"ħ",HumpDownHump:"≎",HumpEqual:"≏",hybull:"⁃",hyphen:"‐",Iacute:"Í",iacute:"í",ic:"⁣",Icirc:"Î",icirc:"î",Icy:"И",icy:"и",Idot:"İ",IEcy:"Е",iecy:"е",iexcl:"¡",iff:"⇔",ifr:"𝔦",Ifr:"ℑ",Igrave:"Ì",igrave:"ì",ii:"ⅈ",iiiint:"⨌",iiint:"∭",iinfin:"⧜",iiota:"℩",IJlig:"IJ",ijlig:"ij",Imacr:"Ī",imacr:"ī",image:"ℑ",ImaginaryI:"ⅈ",imagline:"ℐ",imagpart:"ℑ",imath:"ı",Im:"ℑ",imof:"⊷",imped:"Ƶ",Implies:"⇒",incare:"℅",in:"∈",infin:"∞",infintie:"⧝",inodot:"ı",intcal:"⊺",int:"∫",Int:"∬",integers:"ℤ",Integral:"∫",intercal:"⊺",Intersection:"⋂",intlarhk:"⨗",intprod:"⨼",InvisibleComma:"⁣",InvisibleTimes:"⁢",IOcy:"Ё",iocy:"ё",Iogon:"Į",iogon:"į",Iopf:"𝕀",iopf:"𝕚",Iota:"Ι",iota:"ι",iprod:"⨼",iquest:"¿",iscr:"𝒾",Iscr:"ℐ",isin:"∈",isindot:"⋵",isinE:"⋹",isins:"⋴",isinsv:"⋳",isinv:"∈",it:"⁢",Itilde:"Ĩ",itilde:"ĩ",Iukcy:"І",iukcy:"і",Iuml:"Ï",iuml:"ï",Jcirc:"Ĵ",jcirc:"ĵ",Jcy:"Й",jcy:"й",Jfr:"𝔍",jfr:"𝔧",jmath:"ȷ",Jopf:"𝕁",jopf:"𝕛",Jscr:"𝒥",jscr:"𝒿",Jsercy:"Ј",jsercy:"ј",Jukcy:"Є",jukcy:"є",Kappa:"Κ",kappa:"κ",kappav:"ϰ",Kcedil:"Ķ",kcedil:"ķ",Kcy:"К",kcy:"к",Kfr:"𝔎",kfr:"𝔨",kgreen:"ĸ",KHcy:"Х",khcy:"х",KJcy:"Ќ",kjcy:"ќ",Kopf:"𝕂",kopf:"𝕜",Kscr:"𝒦",kscr:"𝓀",lAarr:"⇚",Lacute:"Ĺ",lacute:"ĺ",laemptyv:"⦴",lagran:"ℒ",Lambda:"Λ",lambda:"λ",lang:"⟨",Lang:"⟪",langd:"⦑",langle:"⟨",lap:"⪅",Laplacetrf:"ℒ",laquo:"«",larrb:"⇤",larrbfs:"⤟",larr:"←",Larr:"↞",lArr:"⇐",larrfs:"⤝",larrhk:"↩",larrlp:"↫",larrpl:"⤹",larrsim:"⥳",larrtl:"↢",latail:"⤙",lAtail:"⤛",lat:"⪫",late:"⪭",lates:"⪭︀",lbarr:"⤌",lBarr:"⤎",lbbrk:"❲",lbrace:"{",lbrack:"[",lbrke:"⦋",lbrksld:"⦏",lbrkslu:"⦍",Lcaron:"Ľ",lcaron:"ľ",Lcedil:"Ļ",lcedil:"ļ",lceil:"⌈",lcub:"{",Lcy:"Л",lcy:"л",ldca:"⤶",ldquo:"“",ldquor:"„",ldrdhar:"⥧",ldrushar:"⥋",ldsh:"↲",le:"≤",lE:"≦",LeftAngleBracket:"⟨",LeftArrowBar:"⇤",leftarrow:"←",LeftArrow:"←",Leftarrow:"⇐",LeftArrowRightArrow:"⇆",leftarrowtail:"↢",LeftCeiling:"⌈",LeftDoubleBracket:"⟦",LeftDownTeeVector:"⥡",LeftDownVectorBar:"⥙",LeftDownVector:"⇃",LeftFloor:"⌊",leftharpoondown:"↽",leftharpoonup:"↼",leftleftarrows:"⇇",leftrightarrow:"↔",LeftRightArrow:"↔",Leftrightarrow:"⇔",leftrightarrows:"⇆",leftrightharpoons:"⇋",leftrightsquigarrow:"↭",LeftRightVector:"⥎",LeftTeeArrow:"↤",LeftTee:"⊣",LeftTeeVector:"⥚",leftthreetimes:"⋋",LeftTriangleBar:"⧏",LeftTriangle:"⊲",LeftTriangleEqual:"⊴",LeftUpDownVector:"⥑",LeftUpTeeVector:"⥠",LeftUpVectorBar:"⥘",LeftUpVector:"↿",LeftVectorBar:"⥒",LeftVector:"↼",lEg:"⪋",leg:"⋚",leq:"≤",leqq:"≦",leqslant:"⩽",lescc:"⪨",les:"⩽",lesdot:"⩿",lesdoto:"⪁",lesdotor:"⪃",lesg:"⋚︀",lesges:"⪓",lessapprox:"⪅",lessdot:"⋖",lesseqgtr:"⋚",lesseqqgtr:"⪋",LessEqualGreater:"⋚",LessFullEqual:"≦",LessGreater:"≶",lessgtr:"≶",LessLess:"⪡",lesssim:"≲",LessSlantEqual:"⩽",LessTilde:"≲",lfisht:"⥼",lfloor:"⌊",Lfr:"𝔏",lfr:"𝔩",lg:"≶",lgE:"⪑",lHar:"⥢",lhard:"↽",lharu:"↼",lharul:"⥪",lhblk:"▄",LJcy:"Љ",ljcy:"љ",llarr:"⇇",ll:"≪",Ll:"⋘",llcorner:"⌞",Lleftarrow:"⇚",llhard:"⥫",lltri:"◺",Lmidot:"Ŀ",lmidot:"ŀ",lmoustache:"⎰",lmoust:"⎰",lnap:"⪉",lnapprox:"⪉",lne:"⪇",lnE:"≨",lneq:"⪇",lneqq:"≨",lnsim:"⋦",loang:"⟬",loarr:"⇽",lobrk:"⟦",longleftarrow:"⟵",LongLeftArrow:"⟵",Longleftarrow:"⟸",longleftrightarrow:"⟷",LongLeftRightArrow:"⟷",Longleftrightarrow:"⟺",longmapsto:"⟼",longrightarrow:"⟶",LongRightArrow:"⟶",Longrightarrow:"⟹",looparrowleft:"↫",looparrowright:"↬",lopar:"⦅",Lopf:"𝕃",lopf:"𝕝",loplus:"⨭",lotimes:"⨴",lowast:"∗",lowbar:"_",LowerLeftArrow:"↙",LowerRightArrow:"↘",loz:"◊",lozenge:"◊",lozf:"⧫",lpar:"(",lparlt:"⦓",lrarr:"⇆",lrcorner:"⌟",lrhar:"⇋",lrhard:"⥭",lrm:"‎",lrtri:"⊿",lsaquo:"‹",lscr:"𝓁",Lscr:"ℒ",lsh:"↰",Lsh:"↰",lsim:"≲",lsime:"⪍",lsimg:"⪏",lsqb:"[",lsquo:"‘",lsquor:"‚",Lstrok:"Ł",lstrok:"ł",ltcc:"⪦",ltcir:"⩹",lt:"<",LT:"<",Lt:"≪",ltdot:"⋖",lthree:"⋋",ltimes:"⋉",ltlarr:"⥶",ltquest:"⩻",ltri:"◃",ltrie:"⊴",ltrif:"◂",ltrPar:"⦖",lurdshar:"⥊",luruhar:"⥦",lvertneqq:"≨︀",lvnE:"≨︀",macr:"¯",male:"♂",malt:"✠",maltese:"✠",Map:"⤅",map:"↦",mapsto:"↦",mapstodown:"↧",mapstoleft:"↤",mapstoup:"↥",marker:"▮",mcomma:"⨩",Mcy:"М",mcy:"м",mdash:"—",mDDot:"∺",measuredangle:"∡",MediumSpace:" ",Mellintrf:"ℳ",Mfr:"𝔐",mfr:"𝔪",mho:"℧",micro:"µ",midast:"*",midcir:"⫰",mid:"∣",middot:"·",minusb:"⊟",minus:"−",minusd:"∸",minusdu:"⨪",MinusPlus:"∓",mlcp:"⫛",mldr:"…",mnplus:"∓",models:"⊧",Mopf:"𝕄",mopf:"𝕞",mp:"∓",mscr:"𝓂",Mscr:"ℳ",mstpos:"∾",Mu:"Μ",mu:"μ",multimap:"⊸",mumap:"⊸",nabla:"∇",Nacute:"Ń",nacute:"ń",nang:"∠⃒",nap:"≉",napE:"⩰̸",napid:"≋̸",napos:"ʼn",napprox:"≉",natural:"♮",naturals:"ℕ",natur:"♮",nbsp:" ",nbump:"≎̸",nbumpe:"≏̸",ncap:"⩃",Ncaron:"Ň",ncaron:"ň",Ncedil:"Ņ",ncedil:"ņ",ncong:"≇",ncongdot:"⩭̸",ncup:"⩂",Ncy:"Н",ncy:"н",ndash:"–",nearhk:"⤤",nearr:"↗",neArr:"⇗",nearrow:"↗",ne:"≠",nedot:"≐̸",NegativeMediumSpace:"​",NegativeThickSpace:"​",NegativeThinSpace:"​",NegativeVeryThinSpace:"​",nequiv:"≢",nesear:"⤨",nesim:"≂̸",NestedGreaterGreater:"≫",NestedLessLess:"≪",NewLine:`
13
13
  `,nexist:"∄",nexists:"∄",Nfr:"𝔑",nfr:"𝔫",ngE:"≧̸",nge:"≱",ngeq:"≱",ngeqq:"≧̸",ngeqslant:"⩾̸",nges:"⩾̸",nGg:"⋙̸",ngsim:"≵",nGt:"≫⃒",ngt:"≯",ngtr:"≯",nGtv:"≫̸",nharr:"↮",nhArr:"⇎",nhpar:"⫲",ni:"∋",nis:"⋼",nisd:"⋺",niv:"∋",NJcy:"Њ",njcy:"њ",nlarr:"↚",nlArr:"⇍",nldr:"‥",nlE:"≦̸",nle:"≰",nleftarrow:"↚",nLeftarrow:"⇍",nleftrightarrow:"↮",nLeftrightarrow:"⇎",nleq:"≰",nleqq:"≦̸",nleqslant:"⩽̸",nles:"⩽̸",nless:"≮",nLl:"⋘̸",nlsim:"≴",nLt:"≪⃒",nlt:"≮",nltri:"⋪",nltrie:"⋬",nLtv:"≪̸",nmid:"∤",NoBreak:"⁠",NonBreakingSpace:" ",nopf:"𝕟",Nopf:"ℕ",Not:"⫬",not:"¬",NotCongruent:"≢",NotCupCap:"≭",NotDoubleVerticalBar:"∦",NotElement:"∉",NotEqual:"≠",NotEqualTilde:"≂̸",NotExists:"∄",NotGreater:"≯",NotGreaterEqual:"≱",NotGreaterFullEqual:"≧̸",NotGreaterGreater:"≫̸",NotGreaterLess:"≹",NotGreaterSlantEqual:"⩾̸",NotGreaterTilde:"≵",NotHumpDownHump:"≎̸",NotHumpEqual:"≏̸",notin:"∉",notindot:"⋵̸",notinE:"⋹̸",notinva:"∉",notinvb:"⋷",notinvc:"⋶",NotLeftTriangleBar:"⧏̸",NotLeftTriangle:"⋪",NotLeftTriangleEqual:"⋬",NotLess:"≮",NotLessEqual:"≰",NotLessGreater:"≸",NotLessLess:"≪̸",NotLessSlantEqual:"⩽̸",NotLessTilde:"≴",NotNestedGreaterGreater:"⪢̸",NotNestedLessLess:"⪡̸",notni:"∌",notniva:"∌",notnivb:"⋾",notnivc:"⋽",NotPrecedes:"⊀",NotPrecedesEqual:"⪯̸",NotPrecedesSlantEqual:"⋠",NotReverseElement:"∌",NotRightTriangleBar:"⧐̸",NotRightTriangle:"⋫",NotRightTriangleEqual:"⋭",NotSquareSubset:"⊏̸",NotSquareSubsetEqual:"⋢",NotSquareSuperset:"⊐̸",NotSquareSupersetEqual:"⋣",NotSubset:"⊂⃒",NotSubsetEqual:"⊈",NotSucceeds:"⊁",NotSucceedsEqual:"⪰̸",NotSucceedsSlantEqual:"⋡",NotSucceedsTilde:"≿̸",NotSuperset:"⊃⃒",NotSupersetEqual:"⊉",NotTilde:"≁",NotTildeEqual:"≄",NotTildeFullEqual:"≇",NotTildeTilde:"≉",NotVerticalBar:"∤",nparallel:"∦",npar:"∦",nparsl:"⫽⃥",npart:"∂̸",npolint:"⨔",npr:"⊀",nprcue:"⋠",nprec:"⊀",npreceq:"⪯̸",npre:"⪯̸",nrarrc:"⤳̸",nrarr:"↛",nrArr:"⇏",nrarrw:"↝̸",nrightarrow:"↛",nRightarrow:"⇏",nrtri:"⋫",nrtrie:"⋭",nsc:"⊁",nsccue:"⋡",nsce:"⪰̸",Nscr:"𝒩",nscr:"𝓃",nshortmid:"∤",nshortparallel:"∦",nsim:"≁",nsime:"≄",nsimeq:"≄",nsmid:"∤",nspar:"∦",nsqsube:"⋢",nsqsupe:"⋣",nsub:"⊄",nsubE:"⫅̸",nsube:"⊈",nsubset:"⊂⃒",nsubseteq:"⊈",nsubseteqq:"⫅̸",nsucc:"⊁",nsucceq:"⪰̸",nsup:"⊅",nsupE:"⫆̸",nsupe:"⊉",nsupset:"⊃⃒",nsupseteq:"⊉",nsupseteqq:"⫆̸",ntgl:"≹",Ntilde:"Ñ",ntilde:"ñ",ntlg:"≸",ntriangleleft:"⋪",ntrianglelefteq:"⋬",ntriangleright:"⋫",ntrianglerighteq:"⋭",Nu:"Ν",nu:"ν",num:"#",numero:"№",numsp:" ",nvap:"≍⃒",nvdash:"⊬",nvDash:"⊭",nVdash:"⊮",nVDash:"⊯",nvge:"≥⃒",nvgt:">⃒",nvHarr:"⤄",nvinfin:"⧞",nvlArr:"⤂",nvle:"≤⃒",nvlt:"<⃒",nvltrie:"⊴⃒",nvrArr:"⤃",nvrtrie:"⊵⃒",nvsim:"∼⃒",nwarhk:"⤣",nwarr:"↖",nwArr:"⇖",nwarrow:"↖",nwnear:"⤧",Oacute:"Ó",oacute:"ó",oast:"⊛",Ocirc:"Ô",ocirc:"ô",ocir:"⊚",Ocy:"О",ocy:"о",odash:"⊝",Odblac:"Ő",odblac:"ő",odiv:"⨸",odot:"⊙",odsold:"⦼",OElig:"Œ",oelig:"œ",ofcir:"⦿",Ofr:"𝔒",ofr:"𝔬",ogon:"˛",Ograve:"Ò",ograve:"ò",ogt:"⧁",ohbar:"⦵",ohm:"Ω",oint:"∮",olarr:"↺",olcir:"⦾",olcross:"⦻",oline:"‾",olt:"⧀",Omacr:"Ō",omacr:"ō",Omega:"Ω",omega:"ω",Omicron:"Ο",omicron:"ο",omid:"⦶",ominus:"⊖",Oopf:"𝕆",oopf:"𝕠",opar:"⦷",OpenCurlyDoubleQuote:"“",OpenCurlyQuote:"‘",operp:"⦹",oplus:"⊕",orarr:"↻",Or:"⩔",or:"∨",ord:"⩝",order:"ℴ",orderof:"ℴ",ordf:"ª",ordm:"º",origof:"⊶",oror:"⩖",orslope:"⩗",orv:"⩛",oS:"Ⓢ",Oscr:"𝒪",oscr:"ℴ",Oslash:"Ø",oslash:"ø",osol:"⊘",Otilde:"Õ",otilde:"õ",otimesas:"⨶",Otimes:"⨷",otimes:"⊗",Ouml:"Ö",ouml:"ö",ovbar:"⌽",OverBar:"‾",OverBrace:"⏞",OverBracket:"⎴",OverParenthesis:"⏜",para:"¶",parallel:"∥",par:"∥",parsim:"⫳",parsl:"⫽",part:"∂",PartialD:"∂",Pcy:"П",pcy:"п",percnt:"%",period:".",permil:"‰",perp:"⊥",pertenk:"‱",Pfr:"𝔓",pfr:"𝔭",Phi:"Φ",phi:"φ",phiv:"ϕ",phmmat:"ℳ",phone:"☎",Pi:"Π",pi:"π",pitchfork:"⋔",piv:"ϖ",planck:"ℏ",planckh:"ℎ",plankv:"ℏ",plusacir:"⨣",plusb:"⊞",pluscir:"⨢",plus:"+",plusdo:"∔",plusdu:"⨥",pluse:"⩲",PlusMinus:"±",plusmn:"±",plussim:"⨦",plustwo:"⨧",pm:"±",Poincareplane:"ℌ",pointint:"⨕",popf:"𝕡",Popf:"ℙ",pound:"£",prap:"⪷",Pr:"⪻",pr:"≺",prcue:"≼",precapprox:"⪷",prec:"≺",preccurlyeq:"≼",Precedes:"≺",PrecedesEqual:"⪯",PrecedesSlantEqual:"≼",PrecedesTilde:"≾",preceq:"⪯",precnapprox:"⪹",precneqq:"⪵",precnsim:"⋨",pre:"⪯",prE:"⪳",precsim:"≾",prime:"′",Prime:"″",primes:"ℙ",prnap:"⪹",prnE:"⪵",prnsim:"⋨",prod:"∏",Product:"∏",profalar:"⌮",profline:"⌒",profsurf:"⌓",prop:"∝",Proportional:"∝",Proportion:"∷",propto:"∝",prsim:"≾",prurel:"⊰",Pscr:"𝒫",pscr:"𝓅",Psi:"Ψ",psi:"ψ",puncsp:" ",Qfr:"𝔔",qfr:"𝔮",qint:"⨌",qopf:"𝕢",Qopf:"ℚ",qprime:"⁗",Qscr:"𝒬",qscr:"𝓆",quaternions:"ℍ",quatint:"⨖",quest:"?",questeq:"≟",quot:'"',QUOT:'"',rAarr:"⇛",race:"∽̱",Racute:"Ŕ",racute:"ŕ",radic:"√",raemptyv:"⦳",rang:"⟩",Rang:"⟫",rangd:"⦒",range:"⦥",rangle:"⟩",raquo:"»",rarrap:"⥵",rarrb:"⇥",rarrbfs:"⤠",rarrc:"⤳",rarr:"→",Rarr:"↠",rArr:"⇒",rarrfs:"⤞",rarrhk:"↪",rarrlp:"↬",rarrpl:"⥅",rarrsim:"⥴",Rarrtl:"⤖",rarrtl:"↣",rarrw:"↝",ratail:"⤚",rAtail:"⤜",ratio:"∶",rationals:"ℚ",rbarr:"⤍",rBarr:"⤏",RBarr:"⤐",rbbrk:"❳",rbrace:"}",rbrack:"]",rbrke:"⦌",rbrksld:"⦎",rbrkslu:"⦐",Rcaron:"Ř",rcaron:"ř",Rcedil:"Ŗ",rcedil:"ŗ",rceil:"⌉",rcub:"}",Rcy:"Р",rcy:"р",rdca:"⤷",rdldhar:"⥩",rdquo:"”",rdquor:"”",rdsh:"↳",real:"ℜ",realine:"ℛ",realpart:"ℜ",reals:"ℝ",Re:"ℜ",rect:"▭",reg:"®",REG:"®",ReverseElement:"∋",ReverseEquilibrium:"⇋",ReverseUpEquilibrium:"⥯",rfisht:"⥽",rfloor:"⌋",rfr:"𝔯",Rfr:"ℜ",rHar:"⥤",rhard:"⇁",rharu:"⇀",rharul:"⥬",Rho:"Ρ",rho:"ρ",rhov:"ϱ",RightAngleBracket:"⟩",RightArrowBar:"⇥",rightarrow:"→",RightArrow:"→",Rightarrow:"⇒",RightArrowLeftArrow:"⇄",rightarrowtail:"↣",RightCeiling:"⌉",RightDoubleBracket:"⟧",RightDownTeeVector:"⥝",RightDownVectorBar:"⥕",RightDownVector:"⇂",RightFloor:"⌋",rightharpoondown:"⇁",rightharpoonup:"⇀",rightleftarrows:"⇄",rightleftharpoons:"⇌",rightrightarrows:"⇉",rightsquigarrow:"↝",RightTeeArrow:"↦",RightTee:"⊢",RightTeeVector:"⥛",rightthreetimes:"⋌",RightTriangleBar:"⧐",RightTriangle:"⊳",RightTriangleEqual:"⊵",RightUpDownVector:"⥏",RightUpTeeVector:"⥜",RightUpVectorBar:"⥔",RightUpVector:"↾",RightVectorBar:"⥓",RightVector:"⇀",ring:"˚",risingdotseq:"≓",rlarr:"⇄",rlhar:"⇌",rlm:"‏",rmoustache:"⎱",rmoust:"⎱",rnmid:"⫮",roang:"⟭",roarr:"⇾",robrk:"⟧",ropar:"⦆",ropf:"𝕣",Ropf:"ℝ",roplus:"⨮",rotimes:"⨵",RoundImplies:"⥰",rpar:")",rpargt:"⦔",rppolint:"⨒",rrarr:"⇉",Rrightarrow:"⇛",rsaquo:"›",rscr:"𝓇",Rscr:"ℛ",rsh:"↱",Rsh:"↱",rsqb:"]",rsquo:"’",rsquor:"’",rthree:"⋌",rtimes:"⋊",rtri:"▹",rtrie:"⊵",rtrif:"▸",rtriltri:"⧎",RuleDelayed:"⧴",ruluhar:"⥨",rx:"℞",Sacute:"Ś",sacute:"ś",sbquo:"‚",scap:"⪸",Scaron:"Š",scaron:"š",Sc:"⪼",sc:"≻",sccue:"≽",sce:"⪰",scE:"⪴",Scedil:"Ş",scedil:"ş",Scirc:"Ŝ",scirc:"ŝ",scnap:"⪺",scnE:"⪶",scnsim:"⋩",scpolint:"⨓",scsim:"≿",Scy:"С",scy:"с",sdotb:"⊡",sdot:"⋅",sdote:"⩦",searhk:"⤥",searr:"↘",seArr:"⇘",searrow:"↘",sect:"§",semi:";",seswar:"⤩",setminus:"∖",setmn:"∖",sext:"✶",Sfr:"𝔖",sfr:"𝔰",sfrown:"⌢",sharp:"♯",SHCHcy:"Щ",shchcy:"щ",SHcy:"Ш",shcy:"ш",ShortDownArrow:"↓",ShortLeftArrow:"←",shortmid:"∣",shortparallel:"∥",ShortRightArrow:"→",ShortUpArrow:"↑",shy:"­",Sigma:"Σ",sigma:"σ",sigmaf:"ς",sigmav:"ς",sim:"∼",simdot:"⩪",sime:"≃",simeq:"≃",simg:"⪞",simgE:"⪠",siml:"⪝",simlE:"⪟",simne:"≆",simplus:"⨤",simrarr:"⥲",slarr:"←",SmallCircle:"∘",smallsetminus:"∖",smashp:"⨳",smeparsl:"⧤",smid:"∣",smile:"⌣",smt:"⪪",smte:"⪬",smtes:"⪬︀",SOFTcy:"Ь",softcy:"ь",solbar:"⌿",solb:"⧄",sol:"/",Sopf:"𝕊",sopf:"𝕤",spades:"♠",spadesuit:"♠",spar:"∥",sqcap:"⊓",sqcaps:"⊓︀",sqcup:"⊔",sqcups:"⊔︀",Sqrt:"√",sqsub:"⊏",sqsube:"⊑",sqsubset:"⊏",sqsubseteq:"⊑",sqsup:"⊐",sqsupe:"⊒",sqsupset:"⊐",sqsupseteq:"⊒",square:"□",Square:"□",SquareIntersection:"⊓",SquareSubset:"⊏",SquareSubsetEqual:"⊑",SquareSuperset:"⊐",SquareSupersetEqual:"⊒",SquareUnion:"⊔",squarf:"▪",squ:"□",squf:"▪",srarr:"→",Sscr:"𝒮",sscr:"𝓈",ssetmn:"∖",ssmile:"⌣",sstarf:"⋆",Star:"⋆",star:"☆",starf:"★",straightepsilon:"ϵ",straightphi:"ϕ",strns:"¯",sub:"⊂",Sub:"⋐",subdot:"⪽",subE:"⫅",sube:"⊆",subedot:"⫃",submult:"⫁",subnE:"⫋",subne:"⊊",subplus:"⪿",subrarr:"⥹",subset:"⊂",Subset:"⋐",subseteq:"⊆",subseteqq:"⫅",SubsetEqual:"⊆",subsetneq:"⊊",subsetneqq:"⫋",subsim:"⫇",subsub:"⫕",subsup:"⫓",succapprox:"⪸",succ:"≻",succcurlyeq:"≽",Succeeds:"≻",SucceedsEqual:"⪰",SucceedsSlantEqual:"≽",SucceedsTilde:"≿",succeq:"⪰",succnapprox:"⪺",succneqq:"⪶",succnsim:"⋩",succsim:"≿",SuchThat:"∋",sum:"∑",Sum:"∑",sung:"♪",sup1:"¹",sup2:"²",sup3:"³",sup:"⊃",Sup:"⋑",supdot:"⪾",supdsub:"⫘",supE:"⫆",supe:"⊇",supedot:"⫄",Superset:"⊃",SupersetEqual:"⊇",suphsol:"⟉",suphsub:"⫗",suplarr:"⥻",supmult:"⫂",supnE:"⫌",supne:"⊋",supplus:"⫀",supset:"⊃",Supset:"⋑",supseteq:"⊇",supseteqq:"⫆",supsetneq:"⊋",supsetneqq:"⫌",supsim:"⫈",supsub:"⫔",supsup:"⫖",swarhk:"⤦",swarr:"↙",swArr:"⇙",swarrow:"↙",swnwar:"⤪",szlig:"ß",Tab:" ",target:"⌖",Tau:"Τ",tau:"τ",tbrk:"⎴",Tcaron:"Ť",tcaron:"ť",Tcedil:"Ţ",tcedil:"ţ",Tcy:"Т",tcy:"т",tdot:"⃛",telrec:"⌕",Tfr:"𝔗",tfr:"𝔱",there4:"∴",therefore:"∴",Therefore:"∴",Theta:"Θ",theta:"θ",thetasym:"ϑ",thetav:"ϑ",thickapprox:"≈",thicksim:"∼",ThickSpace:"  ",ThinSpace:" ",thinsp:" ",thkap:"≈",thksim:"∼",THORN:"Þ",thorn:"þ",tilde:"˜",Tilde:"∼",TildeEqual:"≃",TildeFullEqual:"≅",TildeTilde:"≈",timesbar:"⨱",timesb:"⊠",times:"×",timesd:"⨰",tint:"∭",toea:"⤨",topbot:"⌶",topcir:"⫱",top:"⊤",Topf:"𝕋",topf:"𝕥",topfork:"⫚",tosa:"⤩",tprime:"‴",trade:"™",TRADE:"™",triangle:"▵",triangledown:"▿",triangleleft:"◃",trianglelefteq:"⊴",triangleq:"≜",triangleright:"▹",trianglerighteq:"⊵",tridot:"◬",trie:"≜",triminus:"⨺",TripleDot:"⃛",triplus:"⨹",trisb:"⧍",tritime:"⨻",trpezium:"⏢",Tscr:"𝒯",tscr:"𝓉",TScy:"Ц",tscy:"ц",TSHcy:"Ћ",tshcy:"ћ",Tstrok:"Ŧ",tstrok:"ŧ",twixt:"≬",twoheadleftarrow:"↞",twoheadrightarrow:"↠",Uacute:"Ú",uacute:"ú",uarr:"↑",Uarr:"↟",uArr:"⇑",Uarrocir:"⥉",Ubrcy:"Ў",ubrcy:"ў",Ubreve:"Ŭ",ubreve:"ŭ",Ucirc:"Û",ucirc:"û",Ucy:"У",ucy:"у",udarr:"⇅",Udblac:"Ű",udblac:"ű",udhar:"⥮",ufisht:"⥾",Ufr:"𝔘",ufr:"𝔲",Ugrave:"Ù",ugrave:"ù",uHar:"⥣",uharl:"↿",uharr:"↾",uhblk:"▀",ulcorn:"⌜",ulcorner:"⌜",ulcrop:"⌏",ultri:"◸",Umacr:"Ū",umacr:"ū",uml:"¨",UnderBar:"_",UnderBrace:"⏟",UnderBracket:"⎵",UnderParenthesis:"⏝",Union:"⋃",UnionPlus:"⊎",Uogon:"Ų",uogon:"ų",Uopf:"𝕌",uopf:"𝕦",UpArrowBar:"⤒",uparrow:"↑",UpArrow:"↑",Uparrow:"⇑",UpArrowDownArrow:"⇅",updownarrow:"↕",UpDownArrow:"↕",Updownarrow:"⇕",UpEquilibrium:"⥮",upharpoonleft:"↿",upharpoonright:"↾",uplus:"⊎",UpperLeftArrow:"↖",UpperRightArrow:"↗",upsi:"υ",Upsi:"ϒ",upsih:"ϒ",Upsilon:"Υ",upsilon:"υ",UpTeeArrow:"↥",UpTee:"⊥",upuparrows:"⇈",urcorn:"⌝",urcorner:"⌝",urcrop:"⌎",Uring:"Ů",uring:"ů",urtri:"◹",Uscr:"𝒰",uscr:"𝓊",utdot:"⋰",Utilde:"Ũ",utilde:"ũ",utri:"▵",utrif:"▴",uuarr:"⇈",Uuml:"Ü",uuml:"ü",uwangle:"⦧",vangrt:"⦜",varepsilon:"ϵ",varkappa:"ϰ",varnothing:"∅",varphi:"ϕ",varpi:"ϖ",varpropto:"∝",varr:"↕",vArr:"⇕",varrho:"ϱ",varsigma:"ς",varsubsetneq:"⊊︀",varsubsetneqq:"⫋︀",varsupsetneq:"⊋︀",varsupsetneqq:"⫌︀",vartheta:"ϑ",vartriangleleft:"⊲",vartriangleright:"⊳",vBar:"⫨",Vbar:"⫫",vBarv:"⫩",Vcy:"В",vcy:"в",vdash:"⊢",vDash:"⊨",Vdash:"⊩",VDash:"⊫",Vdashl:"⫦",veebar:"⊻",vee:"∨",Vee:"⋁",veeeq:"≚",vellip:"⋮",verbar:"|",Verbar:"‖",vert:"|",Vert:"‖",VerticalBar:"∣",VerticalLine:"|",VerticalSeparator:"❘",VerticalTilde:"≀",VeryThinSpace:" ",Vfr:"𝔙",vfr:"𝔳",vltri:"⊲",vnsub:"⊂⃒",vnsup:"⊃⃒",Vopf:"𝕍",vopf:"𝕧",vprop:"∝",vrtri:"⊳",Vscr:"𝒱",vscr:"𝓋",vsubnE:"⫋︀",vsubne:"⊊︀",vsupnE:"⫌︀",vsupne:"⊋︀",Vvdash:"⊪",vzigzag:"⦚",Wcirc:"Ŵ",wcirc:"ŵ",wedbar:"⩟",wedge:"∧",Wedge:"⋀",wedgeq:"≙",weierp:"℘",Wfr:"𝔚",wfr:"𝔴",Wopf:"𝕎",wopf:"𝕨",wp:"℘",wr:"≀",wreath:"≀",Wscr:"𝒲",wscr:"𝓌",xcap:"⋂",xcirc:"◯",xcup:"⋃",xdtri:"▽",Xfr:"𝔛",xfr:"𝔵",xharr:"⟷",xhArr:"⟺",Xi:"Ξ",xi:"ξ",xlarr:"⟵",xlArr:"⟸",xmap:"⟼",xnis:"⋻",xodot:"⨀",Xopf:"𝕏",xopf:"𝕩",xoplus:"⨁",xotime:"⨂",xrarr:"⟶",xrArr:"⟹",Xscr:"𝒳",xscr:"𝓍",xsqcup:"⨆",xuplus:"⨄",xutri:"△",xvee:"⋁",xwedge:"⋀",Yacute:"Ý",yacute:"ý",YAcy:"Я",yacy:"я",Ycirc:"Ŷ",ycirc:"ŷ",Ycy:"Ы",ycy:"ы",yen:"¥",Yfr:"𝔜",yfr:"𝔶",YIcy:"Ї",yicy:"ї",Yopf:"𝕐",yopf:"𝕪",Yscr:"𝒴",yscr:"𝓎",YUcy:"Ю",yucy:"ю",yuml:"ÿ",Yuml:"Ÿ",Zacute:"Ź",zacute:"ź",Zcaron:"Ž",zcaron:"ž",Zcy:"З",zcy:"з",Zdot:"Ż",zdot:"ż",zeetrf:"ℨ",ZeroWidthSpace:"​",Zeta:"Ζ",zeta:"ζ",zfr:"𝔷",Zfr:"ℨ",ZHcy:"Ж",zhcy:"ж",zigrarr:"⇝",zopf:"𝕫",Zopf:"ℤ",Zscr:"𝒵",zscr:"𝓏",zwj:"‍",zwnj:"‌"}}}),Rk=B({"../node_modules/entities/lib/maps/legacy.json"(e,t){t.exports={Aacute:"Á",aacute:"á",Acirc:"Â",acirc:"â",acute:"´",AElig:"Æ",aelig:"æ",Agrave:"À",agrave:"à",amp:"&",AMP:"&",Aring:"Å",aring:"å",Atilde:"Ã",atilde:"ã",Auml:"Ä",auml:"ä",brvbar:"¦",Ccedil:"Ç",ccedil:"ç",cedil:"¸",cent:"¢",copy:"©",COPY:"©",curren:"¤",deg:"°",divide:"÷",Eacute:"É",eacute:"é",Ecirc:"Ê",ecirc:"ê",Egrave:"È",egrave:"è",ETH:"Ð",eth:"ð",Euml:"Ë",euml:"ë",frac12:"½",frac14:"¼",frac34:"¾",gt:">",GT:">",Iacute:"Í",iacute:"í",Icirc:"Î",icirc:"î",iexcl:"¡",Igrave:"Ì",igrave:"ì",iquest:"¿",Iuml:"Ï",iuml:"ï",laquo:"«",lt:"<",LT:"<",macr:"¯",micro:"µ",middot:"·",nbsp:" ",not:"¬",Ntilde:"Ñ",ntilde:"ñ",Oacute:"Ó",oacute:"ó",Ocirc:"Ô",ocirc:"ô",Ograve:"Ò",ograve:"ò",ordf:"ª",ordm:"º",Oslash:"Ø",oslash:"ø",Otilde:"Õ",otilde:"õ",Ouml:"Ö",ouml:"ö",para:"¶",plusmn:"±",pound:"£",quot:'"',QUOT:'"',raquo:"»",reg:"®",REG:"®",sect:"§",shy:"­",sup1:"¹",sup2:"²",sup3:"³",szlig:"ß",THORN:"Þ",thorn:"þ",times:"×",Uacute:"Ú",uacute:"ú",Ucirc:"Û",ucirc:"û",Ugrave:"Ù",ugrave:"ù",uml:"¨",Uuml:"Ü",uuml:"ü",Yacute:"Ý",yacute:"ý",yen:"¥",yuml:"ÿ"}}}),gv=B({"../node_modules/entities/lib/maps/xml.json"(e,t){t.exports={amp:"&",apos:"'",gt:">",lt:"<",quot:'"'}}}),Ok=B({"../node_modules/entities/lib/maps/decode.json"(e,t){t.exports={0:65533,128:8364,130:8218,131:402,132:8222,133:8230,134:8224,135:8225,136:710,137:8240,138:352,139:8249,140:338,142:381,145:8216,146:8217,147:8220,148:8221,149:8226,150:8211,151:8212,152:732,153:8482,154:353,155:8250,156:339,158:382,159:376}}}),Ck=B({"../node_modules/entities/lib/decode_codepoint.js"(e){var t=e&&e.__importDefault||function(s){return s&&s.__esModule?s:{default:s}};Object.defineProperty(e,"__esModule",{value:!0});var r=t(Ok()),n=String.fromCodePoint||function(s){var a="";return s>65535&&(s-=65536,a+=String.fromCharCode(s>>>10&1023|55296),s=56320|s&1023),a+=String.fromCharCode(s),a};function o(s){return s>=55296&&s<=57343||s>1114111?"�":(s in r.default&&(s=r.default[s]),n(s))}i(o,"decodeCodePoint"),e.default=o}}),rg=B({"../node_modules/entities/lib/decode.js"(e){var t=e&&e.__importDefault||function(p){return p&&p.__esModule?p:{default:p}};Object.defineProperty(e,"__esModule",{value:!0}),e.decodeHTML=e.decodeHTMLStrict=e.decodeXML=void 0;var r=t(yv()),n=t(Rk()),o=t(gv()),s=t(Ck()),a=/&(?:[a-zA-Z0-9]+|#[xX][\da-fA-F]+|#\d+);/g;e.decodeXML=c(o.default),e.decodeHTMLStrict=c(r.default);function c(p){var f=d(p);return function(h){return String(h).replace(a,f)}}i(c,"getStrictDecoder");var u=i(function(p,f){return p<f?1:-1},"sorter");e.decodeHTML=(function(){for(var p=Object.keys(n.default).sort(u),f=Object.keys(r.default).sort(u),h=0,y=0;h<f.length;h++)p[y]===f[h]?(f[h]+=";?",y++):f[h]+=";";var g=new RegExp("&(?:"+f.join("|")+"|#[xX][\\da-fA-F]+;?|#\\d+;?)","g"),E=d(r.default);function T(v){return v.substr(-1)!==";"&&(v+=";"),E(v)}return i(T,"replacer"),function(v){return String(v).replace(g,T)}})();function d(p){return i(function(h){if(h.charAt(1)==="#"){var y=h.charAt(2);return y==="X"||y==="x"?s.default(parseInt(h.substr(3),16)):s.default(parseInt(h.substr(2),10))}return p[h.slice(1,-1)]||h},"replace")}i(d,"getReplacer")}}),ng=B({"../node_modules/entities/lib/encode.js"(e){var t=e&&e.__importDefault||function(_){return _&&_.__esModule?_:{default:_}};Object.defineProperty(e,"__esModule",{value:!0}),e.escapeUTF8=e.escape=e.encodeNonAsciiHTML=e.encodeHTML=e.encodeXML=void 0;var r=t(gv()),n=u(r.default),o=d(n);e.encodeXML=v(n);var s=t(yv()),a=u(s.default),c=d(a);e.encodeHTML=y(a,c),e.encodeNonAsciiHTML=v(a);function u(_){return Object.keys(_).sort().reduce(function(R,N){return R[_[N]]="&"+N+";",R},{})}i(u,"getInverseObj");function d(_){for(var R=[],N=[],j=0,C=Object.keys(_);j<C.length;j++){var P=C[j];P.length===1?R.push("\\"+P):N.push(P)}R.sort();for(var w=0;w<R.length-1;w++){for(var S=w;S<R.length-1&&R[S].charCodeAt(1)+1===R[S+1].charCodeAt(1);)S+=1;var k=1+S-w;k<3||R.splice(w,k,R[w]+"-"+R[S])}return N.unshift("["+R.join("")+"]"),new RegExp(N.join("|"),"g")}i(d,"getInverseReplacer");var p=/(?:[\x80-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])/g,f=String.prototype.codePointAt!=null?(function(_){return _.codePointAt(0)}):(function(_){return(_.charCodeAt(0)-55296)*1024+_.charCodeAt(1)-56320+65536});function h(_){return"&#x"+(_.length>1?f(_):_.charCodeAt(0)).toString(16).toUpperCase()+";"}i(h,"singleCharReplacer");function y(_,R){return function(N){return N.replace(R,function(j){return _[j]}).replace(p,h)}}i(y,"getInverse");var g=new RegExp(o.source+"|"+p.source,"g");function E(_){return _.replace(g,h)}i(E,"escape"),e.escape=E;function T(_){return _.replace(o,h)}i(T,"escapeUTF8"),e.escapeUTF8=T;function v(_){return function(R){return R.replace(g,function(N){return _[N]||h(N)})}}i(v,"getASCIIEncoder")}}),xk=B({"../node_modules/entities/lib/index.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.decodeXMLStrict=e.decodeHTML5Strict=e.decodeHTML4Strict=e.decodeHTML5=e.decodeHTML4=e.decodeHTMLStrict=e.decodeHTML=e.decodeXML=e.encodeHTML5=e.encodeHTML4=e.escapeUTF8=e.escape=e.encodeNonAsciiHTML=e.encodeHTML=e.encodeXML=e.encode=e.decodeStrict=e.decode=void 0;var t=rg(),r=ng();function n(u,d){return(!d||d<=0?t.decodeXML:t.decodeHTML)(u)}i(n,"decode"),e.decode=n;function o(u,d){return(!d||d<=0?t.decodeXML:t.decodeHTMLStrict)(u)}i(o,"decodeStrict"),e.decodeStrict=o;function s(u,d){return(!d||d<=0?r.encodeXML:r.encodeHTML)(u)}i(s,"encode"),e.encode=s;var a=ng();Object.defineProperty(e,"encodeXML",{enumerable:!0,get:i(function(){return a.encodeXML},"get")}),Object.defineProperty(e,"encodeHTML",{enumerable:!0,get:i(function(){return a.encodeHTML},"get")}),Object.defineProperty(e,"encodeNonAsciiHTML",{enumerable:!0,get:i(function(){return a.encodeNonAsciiHTML},"get")}),Object.defineProperty(e,"escape",{enumerable:!0,get:i(function(){return a.escape},"get")}),Object.defineProperty(e,"escapeUTF8",{enumerable:!0,get:i(function(){return a.escapeUTF8},"get")}),Object.defineProperty(e,"encodeHTML4",{enumerable:!0,get:i(function(){return a.encodeHTML},"get")}),Object.defineProperty(e,"encodeHTML5",{enumerable:!0,get:i(function(){return a.encodeHTML},"get")});var c=rg();Object.defineProperty(e,"decodeXML",{enumerable:!0,get:i(function(){return c.decodeXML},"get")}),Object.defineProperty(e,"decodeHTML",{enumerable:!0,get:i(function(){return c.decodeHTML},"get")}),Object.defineProperty(e,"decodeHTMLStrict",{enumerable:!0,get:i(function(){return c.decodeHTMLStrict},"get")}),Object.defineProperty(e,"decodeHTML4",{enumerable:!0,get:i(function(){return c.decodeHTML},"get")}),Object.defineProperty(e,"decodeHTML5",{enumerable:!0,get:i(function(){return c.decodeHTML},"get")}),Object.defineProperty(e,"decodeHTML4Strict",{enumerable:!0,get:i(function(){return c.decodeHTMLStrict},"get")}),Object.defineProperty(e,"decodeHTML5Strict",{enumerable:!0,get:i(function(){return c.decodeHTMLStrict},"get")}),Object.defineProperty(e,"decodeXMLStrict",{enumerable:!0,get:i(function(){return c.decodeXML},"get")})}}),Nk=B({"../node_modules/ansi-to-html/lib/ansi_to_html.js"(e,t){function r(A,L){if(!(A instanceof L))throw new TypeError("Cannot call a class as a function")}i(r,"_classCallCheck");function n(A,L){for(var $=0;$<L.length;$++){var D=L[$];D.enumerable=D.enumerable||!1,D.configurable=!0,"value"in D&&(D.writable=!0),Object.defineProperty(A,D.key,D)}}i(n,"_defineProperties");function o(A,L,$){return L&&n(A.prototype,L),$&&n(A,$),A}i(o,"_createClass");function s(A,L){var $=typeof Symbol<"u"&&A[Symbol.iterator]||A["@@iterator"];if(!$){if(Array.isArray(A)||($=a(A))||L&&A&&typeof A.length=="number"){$&&(A=$);var D=0,K=i(function(){},"F");return{s:K,n:i(function(){return D>=A.length?{done:!0}:{done:!1,value:A[D++]}},"n"),e:i(function(ae){throw ae},"e"),f:K}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
14
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var X=!0,ie=!1,se;return{s:i(function(){$=$.call(A)},"s"),n:i(function(){var ae=$.next();return X=ae.done,ae},"n"),e:i(function(ae){ie=!0,se=ae},"e"),f:i(function(){try{!X&&$.return!=null&&$.return()}finally{if(ie)throw se}},"f")}}i(s,"_createForOfIteratorHelper");function a(A,L){if(A){if(typeof A=="string")return c(A,L);var $=Object.prototype.toString.call(A).slice(8,-1);if($==="Object"&&A.constructor&&($=A.constructor.name),$==="Map"||$==="Set")return Array.from(A);if($==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test($))return c(A,L)}}i(a,"_unsupportedIterableToArray");function c(A,L){(L==null||L>A.length)&&(L=A.length);for(var $=0,D=new Array(L);$<L;$++)D[$]=A[$];return D}i(c,"_arrayLikeToArray");var u=xk(),d={fg:"#FFF",bg:"#000",newline:!1,escapeXML:!1,stream:!1,colors:p()};function p(){var A={0:"#000",1:"#A00",2:"#0A0",3:"#A50",4:"#00A",5:"#A0A",6:"#0AA",7:"#AAA",8:"#555",9:"#F55",10:"#5F5",11:"#FF5",12:"#55F",13:"#F5F",14:"#5FF",15:"#FFF"};return _(0,5).forEach(function(L){_(0,5).forEach(function($){_(0,5).forEach(function(D){return f(L,$,D,A)})})}),_(0,23).forEach(function(L){var $=L+232,D=h(L*10+8);A[$]="#"+D+D+D}),A}i(p,"getDefaultColors");function f(A,L,$,D){var K=16+A*36+L*6+$,X=A>0?A*40+55:0,ie=L>0?L*40+55:0,se=$>0?$*40+55:0;D[K]=y([X,ie,se])}i(f,"setStyleColor");function h(A){for(var L=A.toString(16);L.length<2;)L="0"+L;return L}i(h,"toHexString");function y(A){var L=[],$=s(A),D;try{for($.s();!(D=$.n()).done;){var K=D.value;L.push(h(K))}}catch(X){$.e(X)}finally{$.f()}return"#"+L.join("")}i(y,"toColorHexString");function g(A,L,$,D){var K;return L==="text"?K=j($,D):L==="display"?K=T(A,$,D):L==="xterm256Foreground"?K=w(A,D.colors[$]):L==="xterm256Background"?K=S(A,D.colors[$]):L==="rgb"&&(K=E(A,$)),K}i(g,"generateOutput");function E(A,L){L=L.substring(2).slice(0,-1);var $=+L.substr(0,2),D=L.substring(5).split(";"),K=D.map(function(X){return("0"+Number(X).toString(16)).substr(-2)}).join("");return P(A,($===38?"color:#":"background-color:#")+K)}i(E,"handleRgb");function T(A,L,$){L=parseInt(L,10);var D={"-1":i(function(){return"<br/>"},"_"),0:i(function(){return A.length&&v(A)},"_"),1:i(function(){return C(A,"b")},"_"),3:i(function(){return C(A,"i")},"_"),4:i(function(){return C(A,"u")},"_"),8:i(function(){return P(A,"display:none")},"_"),9:i(function(){return C(A,"strike")},"_"),22:i(function(){return P(A,"font-weight:normal;text-decoration:none;font-style:normal")},"_"),23:i(function(){return k(A,"i")},"_"),24:i(function(){return k(A,"u")},"_"),39:i(function(){return w(A,$.fg)},"_"),49:i(function(){return S(A,$.bg)},"_"),53:i(function(){return P(A,"text-decoration:overline")},"_")},K;return D[L]?K=D[L]():4<L&&L<7?K=C(A,"blink"):29<L&&L<38?K=w(A,$.colors[L-30]):39<L&&L<48?K=S(A,$.colors[L-40]):89<L&&L<98?K=w(A,$.colors[8+(L-90)]):99<L&&L<108&&(K=S(A,$.colors[8+(L-100)])),K}i(T,"handleDisplay");function v(A){var L=A.slice(0);return A.length=0,L.reverse().map(function($){return"</"+$+">"}).join("")}i(v,"resetStyles");function _(A,L){for(var $=[],D=A;D<=L;D++)$.push(D);return $}i(_,"range");function R(A){return function(L){return(A===null||L.category!==A)&&A!=="all"}}i(R,"notCategory");function N(A){A=parseInt(A,10);var L=null;return A===0?L="all":A===1?L="bold":2<A&&A<5?L="underline":4<A&&A<7?L="blink":A===8?L="hide":A===9?L="strike":29<A&&A<38||A===39||89<A&&A<98?L="foreground-color":(39<A&&A<48||A===49||99<A&&A<108)&&(L="background-color"),L}i(N,"categoryForCode");function j(A,L){return L.escapeXML?u.encodeXML(A):A}i(j,"pushText");function C(A,L,$){return $||($=""),A.push(L),"<".concat(L).concat($?' style="'.concat($,'"'):"",">")}i(C,"pushTag");function P(A,L){return C(A,"span",L)}i(P,"pushStyle");function w(A,L){return C(A,"span","color:"+L)}i(w,"pushForegroundColor");function S(A,L){return C(A,"span","background-color:"+L)}i(S,"pushBackgroundColor");function k(A,L){var $;if(A.slice(-1)[0]===L&&($=A.pop()),$)return"</"+L+">"}i(k,"closeTag");function I(A,L,$){var D=!1,K=3;function X(){return""}i(X,"remove");function ie(ne,de){return $("xterm256Foreground",de),""}i(ie,"removeXterm256Foreground");function se(ne,de){return $("xterm256Background",de),""}i(se,"removeXterm256Background");function W(ne){return L.newline?$("display",-1):$("text",ne),""}i(W,"newline");function ae(ne,de){D=!0,de.trim().length===0&&(de="0"),de=de.trimRight(";").split(";");var he=s(de),pe;try{for(he.s();!(pe=he.n()).done;){var $e=pe.value;$("display",$e)}}catch(ot){he.e(ot)}finally{he.f()}return""}i(ae,"ansiMess");function be(ne){return $("text",ne),""}i(be,"realText");function ue(ne){return $("rgb",ne),""}i(ue,"rgb");var ee=[{pattern:/^\x08+/,sub:X},{pattern:/^\x1b\[[012]?K/,sub:X},{pattern:/^\x1b\[\(B/,sub:X},{pattern:/^\x1b\[[34]8;2;\d+;\d+;\d+m/,sub:ue},{pattern:/^\x1b\[38;5;(\d+)m/,sub:ie},{pattern:/^\x1b\[48;5;(\d+)m/,sub:se},{pattern:/^\n/,sub:W},{pattern:/^\r+\n/,sub:W},{pattern:/^\r/,sub:W},{pattern:/^\x1b\[((?:\d{1,3};?)+|)m/,sub:ae},{pattern:/^\x1b\[\d?J/,sub:X},{pattern:/^\x1b\[\d{0,3};\d{0,3}f/,sub:X},{pattern:/^\x1b\[?[\d;]{0,3}/,sub:X},{pattern:/^(([^\x1b\x08\r\n])+)/,sub:be}];function Re(ne,de){de>K&&D||(D=!1,A=A.replace(ne.pattern,ne.sub))}i(Re,"process");var Oe=[],He=A,Ke=He.length;e:for(;Ke>0;){for(var J=0,Q=0,re=ee.length;Q<re;J=++Q){var oe=ee[J];if(Re(oe,J),A.length!==Ke){Ke=A.length;continue e}}if(A.length===Ke)break;Oe.push(0),Ke=A.length}return Oe}i(I,"tokenize");function V(A,L,$){return L!=="text"&&(A=A.filter(R(N($))),A.push({token:L,data:$,category:N($)})),A}i(V,"updateStickyStack");var H=(function(){function A(L){r(this,A),L=L||{},L.colors&&(L.colors=Object.assign({},d.colors,L.colors)),this.options=Object.assign({},d,L),this.stack=[],this.stickyStack=[]}return i(A,"Filter"),o(A,[{key:"toHtml",value:i(function($){var D=this;$=typeof $=="string"?[$]:$;var K=this.stack,X=this.options,ie=[];return this.stickyStack.forEach(function(se){var W=g(K,se.token,se.data,X);W&&ie.push(W)}),I($.join(""),X,function(se,W){var ae=g(K,se,W,X);ae&&ie.push(ae),X.stream&&(D.stickyStack=V(D.stickyStack,se,W))}),K.length&&ie.push(v(K)),ie.join("")},"toHtml")}]),A})();t.exports=H}}),Ik=B({"../node_modules/jsdoc-type-pratt-parser/dist/index.js"(e,t){(function(r,n){typeof e=="object"&&typeof t<"u"?n(e):typeof define=="function"&&define.amd?define(["exports"],n):(r=typeof globalThis<"u"?globalThis:r||self,n(r.jtpp={}))})(e,function(r){function n(l){return l.text!==void 0&&l.text!==""?`'${l.type}' with value '${l.text}'`:`'${l.type}'`}i(n,"tokenToString");const o=class bv extends Error{constructor(m){super(`No parslet found for token: ${n(m)}`),this.token=m,Object.setPrototypeOf(this,bv.prototype)}getToken(){return this.token}};i(o,"NoParsletFoundError");let s=o;const a=class vv extends Error{constructor(m){super(`The parsing ended early. The next token was: ${n(m)}`),this.token=m,Object.setPrototypeOf(this,vv.prototype)}getToken(){return this.token}};i(a,"EarlyEndOfParseError");let c=a;const u=class Ev extends Error{constructor(m,b){let x=`Unexpected type: '${m.type}'.`;b!==void 0&&(x+=` Message: ${b}`),super(x),Object.setPrototypeOf(this,Ev.prototype)}};i(u,"UnexpectedTypeError");let d=u;function p(l){return m=>m.startsWith(l)?{type:l,text:l}:null}i(p,"makePunctuationRule");function f(l){let m=0,b;const x=l[0];let F=!1;if(x!=="'"&&x!=='"')return null;for(;m<l.length;){if(m++,b=l[m],!F&&b===x){m++;break}F=!F&&b==="\\"}if(b!==x)throw new Error("Unterminated String");return l.slice(0,m)}i(f,"getQuoted");const h=new RegExp("[$_\\p{ID_Start}]|\\\\u\\p{Hex_Digit}{4}|\\\\u\\{0*(?:\\p{Hex_Digit}{1,5}|10\\p{Hex_Digit}{4})\\}","u"),y=new RegExp("[$\\-\\p{ID_Continue}\\u200C\\u200D]|\\\\u\\p{Hex_Digit}{4}|\\\\u\\{0*(?:\\p{Hex_Digit}{1,5}|10\\p{Hex_Digit}{4})\\}","u");function g(l){let m=l[0];if(!h.test(m))return null;let b=1;do{if(m=l[b],!y.test(m))break;b++}while(b<l.length);return l.slice(0,b)}i(g,"getIdentifier");const E=/^(NaN|-?((\d*\.\d+|\d+)([Ee][+-]?\d+)?|Infinity))/;function T(l){var m,b;return(b=(m=E.exec(l))===null||m===void 0?void 0:m[0])!==null&&b!==void 0?b:null}i(T,"getNumber");const v=i(l=>{const m=g(l);return m==null?null:{type:"Identifier",text:m}},"identifierRule");function _(l){return m=>{if(!m.startsWith(l))return null;const b=m[l.length];return b!==void 0&&y.test(b)?null:{type:l,text:l}}}i(_,"makeKeyWordRule");const R=i(l=>{const m=f(l);return m==null?null:{type:"StringValue",text:m}},"stringValueRule"),N=i(l=>l.length>0?null:{type:"EOF",text:""},"eofRule"),j=i(l=>{const m=T(l);return m===null?null:{type:"Number",text:m}},"numberRule"),C=[N,p("=>"),p("("),p(")"),p("{"),p("}"),p("["),p("]"),p("|"),p("&"),p("<"),p(">"),p(","),p(";"),p("*"),p("?"),p("!"),p("="),p(":"),p("..."),p("."),p("#"),p("~"),p("/"),p("@"),_("undefined"),_("null"),_("function"),_("this"),_("new"),_("module"),_("event"),_("extends"),_("external"),_("infer"),_("typeof"),_("keyof"),_("readonly"),_("import"),_("is"),_("in"),_("asserts"),j,v,R],P=/^\s*\n\s*/,w=class Gs{static create(m){const b=this.read(m);m=b.text;const x=this.read(m);return m=x.text,new Gs(m,void 0,b.token,x.token)}constructor(m,b,x,F){this.text="",this.text=m,this.previous=b,this.current=x,this.next=F}static read(m,b=!1){b=b||P.test(m),m=m.trim();for(const x of C){const F=x(m);if(F!==null){const G=Object.assign(Object.assign({},F),{startOfLine:b});return m=m.slice(G.text.length),{text:m,token:G}}}throw new Error("Unexpected Token "+m)}advance(){const m=Gs.read(this.text);return new Gs(m.text,this.current,this.next,m.token)}};i(w,"Lexer");let S=w;function k(l){if(l===void 0)throw new Error("Unexpected undefined");if(l.type==="JsdocTypeKeyValue"||l.type==="JsdocTypeParameterList"||l.type==="JsdocTypeProperty"||l.type==="JsdocTypeReadonlyProperty"||l.type==="JsdocTypeObjectField"||l.type==="JsdocTypeJsdocObjectField"||l.type==="JsdocTypeIndexSignature"||l.type==="JsdocTypeMappedType"||l.type==="JsdocTypeTypeParameter")throw new d(l);return l}i(k,"assertRootResult");function I(l){return l.type==="JsdocTypeKeyValue"?H(l):k(l)}i(I,"assertPlainKeyValueOrRootResult");function V(l){return l.type==="JsdocTypeName"?l:H(l)}i(V,"assertPlainKeyValueOrNameResult");function H(l){if(l.type!=="JsdocTypeKeyValue")throw new d(l);return l}i(H,"assertPlainKeyValueResult");function A(l){var m;if(l.type==="JsdocTypeVariadic"){if(((m=l.element)===null||m===void 0?void 0:m.type)==="JsdocTypeName")return l;throw new d(l)}if(l.type!=="JsdocTypeNumber"&&l.type!=="JsdocTypeName")throw new d(l);return l}i(A,"assertNumberOrVariadicNameResult");function L(l){if(l.type==="JsdocTypeTuple"||l.type==="JsdocTypeGeneric"&&l.meta.brackets==="square")return l;throw new d(l)}i(L,"assertArrayOrTupleResult");function $(l){return l.type==="JsdocTypeIndexSignature"||l.type==="JsdocTypeMappedType"}i($,"isSquaredProperty");var D;(function(l){l[l.ALL=0]="ALL",l[l.PARAMETER_LIST=1]="PARAMETER_LIST",l[l.OBJECT=2]="OBJECT",l[l.KEY_VALUE=3]="KEY_VALUE",l[l.INDEX_BRACKETS=4]="INDEX_BRACKETS",l[l.UNION=5]="UNION",l[l.INTERSECTION=6]="INTERSECTION",l[l.PREFIX=7]="PREFIX",l[l.INFIX=8]="INFIX",l[l.TUPLE=9]="TUPLE",l[l.SYMBOL=10]="SYMBOL",l[l.OPTIONAL=11]="OPTIONAL",l[l.NULLABLE=12]="NULLABLE",l[l.KEY_OF_TYPE_OF=13]="KEY_OF_TYPE_OF",l[l.FUNCTION=14]="FUNCTION",l[l.ARROW=15]="ARROW",l[l.ARRAY_BRACKETS=16]="ARRAY_BRACKETS",l[l.GENERIC=17]="GENERIC",l[l.NAME_PATH=18]="NAME_PATH",l[l.PARENTHESIS=19]="PARENTHESIS",l[l.SPECIAL_TYPES=20]="SPECIAL_TYPES"})(D||(D={}));const K=class{constructor(m,b,x){this.grammar=m,typeof b=="string"?this._lexer=S.create(b):this._lexer=b,this.baseParser=x}get lexer(){return this._lexer}parse(){const m=this.parseType(D.ALL);if(this.lexer.current.type!=="EOF")throw new c(this.lexer.current);return m}parseType(m){return k(this.parseIntermediateType(m))}parseIntermediateType(m){const b=this.tryParslets(null,m);if(b===null)throw new s(this.lexer.current);return this.parseInfixIntermediateType(b,m)}parseInfixIntermediateType(m,b){let x=this.tryParslets(m,b);for(;x!==null;)m=x,x=this.tryParslets(m,b);return m}tryParslets(m,b){for(const x of this.grammar){const F=x(this,b,m);if(F!==null)return F}return null}consume(m){return Array.isArray(m)||(m=[m]),m.includes(this.lexer.current.type)?(this._lexer=this.lexer.advance(),!0):!1}acceptLexerState(m){this._lexer=m.lexer}};i(K,"Parser");let X=K;function ie(l){return l==="}"||l==="EOF"||l==="|"||l===","||l===")"||l===">"}i(ie,"isQuestionMarkUnknownType");const se=i((l,m,b)=>{const x=l.lexer.current.type,F=l.lexer.next.type;return b==null&&x==="?"&&!ie(F)||b!=null&&x==="?"?(l.consume("?"),b==null?{type:"JsdocTypeNullable",element:l.parseType(D.NULLABLE),meta:{position:"prefix"}}:{type:"JsdocTypeNullable",element:k(b),meta:{position:"suffix"}}):null},"nullableParslet");function W(l){const m=i((b,x,F)=>{const G=b.lexer.current.type,Z=b.lexer.next.type;if(F===null){if("parsePrefix"in l&&l.accept(G,Z))return l.parsePrefix(b)}else if("parseInfix"in l&&l.precedence>x&&l.accept(G,Z))return l.parseInfix(b,F);return null},"parslet");return Object.defineProperty(m,"name",{value:l.name}),m}i(W,"composeParslet");const ae=W({name:"optionalParslet",accept:i(l=>l==="=","accept"),precedence:D.OPTIONAL,parsePrefix:i(l=>(l.consume("="),{type:"JsdocTypeOptional",element:l.parseType(D.OPTIONAL),meta:{position:"prefix"}}),"parsePrefix"),parseInfix:i((l,m)=>(l.consume("="),{type:"JsdocTypeOptional",element:k(m),meta:{position:"suffix"}}),"parseInfix")}),be=W({name:"numberParslet",accept:i(l=>l==="Number","accept"),parsePrefix:i(l=>{const m=parseFloat(l.lexer.current.text);return l.consume("Number"),{type:"JsdocTypeNumber",value:m}},"parsePrefix")}),ue=W({name:"parenthesisParslet",accept:i(l=>l==="(","accept"),parsePrefix:i(l=>{if(l.consume("("),l.consume(")"))return{type:"JsdocTypeParameterList",elements:[]};const m=l.parseIntermediateType(D.ALL);if(!l.consume(")"))throw new Error("Unterminated parenthesis");return m.type==="JsdocTypeParameterList"?m:m.type==="JsdocTypeKeyValue"?{type:"JsdocTypeParameterList",elements:[m]}:{type:"JsdocTypeParenthesis",element:k(m)}},"parsePrefix")}),ee=W({name:"specialTypesParslet",accept:i((l,m)=>l==="?"&&ie(m)||l==="null"||l==="undefined"||l==="*","accept"),parsePrefix:i(l=>{if(l.consume("null"))return{type:"JsdocTypeNull"};if(l.consume("undefined"))return{type:"JsdocTypeUndefined"};if(l.consume("*"))return{type:"JsdocTypeAny"};if(l.consume("?"))return{type:"JsdocTypeUnknown"};throw new Error("Unacceptable token: "+l.lexer.current.text)},"parsePrefix")}),Re=W({name:"notNullableParslet",accept:i(l=>l==="!","accept"),precedence:D.NULLABLE,parsePrefix:i(l=>(l.consume("!"),{type:"JsdocTypeNotNullable",element:l.parseType(D.NULLABLE),meta:{position:"prefix"}}),"parsePrefix"),parseInfix:i((l,m)=>(l.consume("!"),{type:"JsdocTypeNotNullable",element:k(m),meta:{position:"suffix"}}),"parseInfix")});function Oe({allowTrailingComma:l}){return W({name:"parameterListParslet",accept:i(m=>m===",","accept"),precedence:D.PARAMETER_LIST,parseInfix:i((m,b)=>{const x=[I(b)];m.consume(",");do try{const F=m.parseIntermediateType(D.PARAMETER_LIST);x.push(I(F))}catch(F){if(F instanceof s)break;throw F}while(m.consume(","));if(x.length>0&&x.slice(0,-1).some(F=>F.type==="JsdocTypeVariadic"))throw new Error("Only the last parameter may be a rest parameter");return{type:"JsdocTypeParameterList",elements:x}},"parseInfix")})}i(Oe,"createParameterListParslet");const He=W({name:"genericParslet",accept:i((l,m)=>l==="<"||l==="."&&m==="<","accept"),precedence:D.GENERIC,parseInfix:i((l,m)=>{const b=l.consume(".");l.consume("<");const x=[];let F=!1;if(l.consume("infer")){F=!0;const G=l.parseIntermediateType(D.SYMBOL);if(G.type!=="JsdocTypeName")throw new d(G,"A typescript asserts always has to have a name on the left side.");x.push(G)}else do x.push(l.parseType(D.PARAMETER_LIST));while(l.consume(","));if(!l.consume(">"))throw new Error("Unterminated generic parameter list");return Object.assign(Object.assign({type:"JsdocTypeGeneric",left:k(m),elements:x},F?{infer:!0}:{}),{meta:{brackets:"angle",dot:b}})},"parseInfix")}),Ke=W({name:"unionParslet",accept:i(l=>l==="|","accept"),precedence:D.UNION,parseInfix:i((l,m)=>{l.consume("|");const b=[];do b.push(l.parseType(D.UNION));while(l.consume("|"));return{type:"JsdocTypeUnion",elements:[k(m),...b]}},"parseInfix")}),J=[se,ae,be,ue,ee,Re,Oe({allowTrailingComma:!0}),He,Ke,ae];function Q({allowSquareBracketsOnAnyType:l,allowJsdocNamePaths:m,pathGrammar:b}){return i(function(F,G,Z){if(Z==null||G>=D.NAME_PATH)return null;const ce=F.lexer.current.type,_e=F.lexer.next.type;if(!(ce==="."&&_e!=="<"||ce==="["&&(l||Z.type==="JsdocTypeName")||m&&(ce==="~"||ce==="#")))return null;let Me,fr=!1;F.consume(".")?Me="property":F.consume("[")?(Me="property-brackets",fr=!0):F.consume("~")?Me="inner":(F.consume("#"),Me="instance");const di=b!==null?new X(b,F.lexer,F):F,Qe=di.parseIntermediateType(D.NAME_PATH);F.acceptLexerState(di);let Jt;switch(Qe.type){case"JsdocTypeName":Jt={type:"JsdocTypeProperty",value:Qe.value,meta:{quote:void 0}};break;case"JsdocTypeNumber":Jt={type:"JsdocTypeProperty",value:Qe.value.toString(10),meta:{quote:void 0}};break;case"JsdocTypeStringValue":Jt={type:"JsdocTypeProperty",value:Qe.value,meta:{quote:Qe.meta.quote}};break;case"JsdocTypeSpecialNamePath":if(Qe.specialType==="event")Jt=Qe;else throw new d(Qe,"Type 'JsdocTypeSpecialNamePath' is only allowed with specialType 'event'");break;default:throw new d(Qe,"Expecting 'JsdocTypeName', 'JsdocTypeNumber', 'JsdocStringValue' or 'JsdocTypeSpecialNamePath'")}if(fr&&!F.consume("]")){const pi=F.lexer.current;throw new Error(`Unterminated square brackets. Next token is '${pi.type}' with text '${pi.text}'`)}return{type:"JsdocTypeNamePath",left:k(Z),right:Jt,pathType:Me}},"namePathParslet")}i(Q,"createNamePathParslet");function re({allowedAdditionalTokens:l}){return W({name:"nameParslet",accept:i(m=>m==="Identifier"||m==="this"||m==="new"||l.includes(m),"accept"),parsePrefix:i(m=>{const{type:b,text:x}=m.lexer.current;return m.consume(b),{type:"JsdocTypeName",value:x}},"parsePrefix")})}i(re,"createNameParslet");const oe=W({name:"stringValueParslet",accept:i(l=>l==="StringValue","accept"),parsePrefix:i(l=>{const m=l.lexer.current.text;return l.consume("StringValue"),{type:"JsdocTypeStringValue",value:m.slice(1,-1),meta:{quote:m[0]==="'"?"single":"double"}}},"parsePrefix")});function ne({pathGrammar:l,allowedTypes:m}){return W({name:"specialNamePathParslet",accept:i(b=>m.includes(b),"accept"),parsePrefix:i(b=>{const x=b.lexer.current.type;if(b.consume(x),!b.consume(":"))return{type:"JsdocTypeName",value:x};let F,G=b.lexer.current;if(b.consume("StringValue"))F={type:"JsdocTypeSpecialNamePath",value:G.text.slice(1,-1),specialType:x,meta:{quote:G.text[0]==="'"?"single":"double"}};else{let _e="";const Ee=["Identifier","@","/"];for(;Ee.some(Me=>b.consume(Me));)_e+=G.text,G=b.lexer.current;F={type:"JsdocTypeSpecialNamePath",value:_e,specialType:x,meta:{quote:void 0}}}const Z=new X(l,b.lexer,b),ce=Z.parseInfixIntermediateType(F,D.ALL);return b.acceptLexerState(Z),k(ce)},"parsePrefix")})}i(ne,"createSpecialNamePathParslet");const de=[re({allowedAdditionalTokens:["external","module"]}),oe,be,Q({allowSquareBracketsOnAnyType:!1,allowJsdocNamePaths:!0,pathGrammar:null})],he=[...de,ne({allowedTypes:["event"],pathGrammar:de})];function pe(l){let m;if(l.type==="JsdocTypeParameterList")m=l.elements;else if(l.type==="JsdocTypeParenthesis")m=[l.element];else throw new d(l);return m.map(b=>I(b))}i(pe,"getParameters");function $e(l){const m=pe(l);if(m.some(b=>b.type==="JsdocTypeKeyValue"))throw new Error("No parameter should be named");return m}i($e,"getUnnamedParameters");function ot({allowNamedParameters:l,allowNoReturnType:m,allowWithoutParenthesis:b,allowNewAsFunctionKeyword:x}){return W({name:"functionParslet",accept:i((F,G)=>F==="function"||x&&F==="new"&&G==="(","accept"),parsePrefix:i(F=>{const G=F.consume("new");F.consume("function");const Z=F.lexer.current.type==="(";if(!Z){if(!b)throw new Error("function is missing parameter list");return{type:"JsdocTypeName",value:"function"}}let ce={type:"JsdocTypeFunction",parameters:[],arrow:!1,constructor:G,parenthesis:Z};const _e=F.parseIntermediateType(D.FUNCTION);if(l===void 0)ce.parameters=$e(_e);else{if(G&&_e.type==="JsdocTypeFunction"&&_e.arrow)return ce=_e,ce.constructor=!0,ce;ce.parameters=pe(_e);for(const Ee of ce.parameters)if(Ee.type==="JsdocTypeKeyValue"&&!l.includes(Ee.key))throw new Error(`only allowed named parameters are ${l.join(", ")} but got ${Ee.type}`)}if(F.consume(":"))ce.returnType=F.parseType(D.PREFIX);else if(!m)throw new Error("function is missing return type");return ce},"parsePrefix")})}i(ot,"createFunctionParslet");function dt({allowPostfix:l,allowEnclosingBrackets:m}){return W({name:"variadicParslet",accept:i(b=>b==="...","accept"),precedence:D.PREFIX,parsePrefix:i(b=>{b.consume("...");const x=m&&b.consume("[");try{const F=b.parseType(D.PREFIX);if(x&&!b.consume("]"))throw new Error("Unterminated variadic type. Missing ']'");return{type:"JsdocTypeVariadic",element:k(F),meta:{position:"prefix",squareBrackets:x}}}catch(F){if(F instanceof s){if(x)throw new Error("Empty square brackets for variadic are not allowed.");return{type:"JsdocTypeVariadic",meta:{position:void 0,squareBrackets:!1}}}else throw F}},"parsePrefix"),parseInfix:l?(b,x)=>(b.consume("..."),{type:"JsdocTypeVariadic",element:k(x),meta:{position:"suffix",squareBrackets:!1}}):void 0})}i(dt,"createVariadicParslet");const wt=W({name:"symbolParslet",accept:i(l=>l==="(","accept"),precedence:D.SYMBOL,parseInfix:i((l,m)=>{if(m.type!=="JsdocTypeName")throw new Error("Symbol expects a name on the left side. (Reacting on '(')");l.consume("(");const b={type:"JsdocTypeSymbol",value:m.value};if(!l.consume(")")){const x=l.parseIntermediateType(D.SYMBOL);if(b.element=A(x),!l.consume(")"))throw new Error("Symbol does not end after value")}return b},"parseInfix")}),it=W({name:"arrayBracketsParslet",precedence:D.ARRAY_BRACKETS,accept:i((l,m)=>l==="["&&m==="]","accept"),parseInfix:i((l,m)=>(l.consume("["),l.consume("]"),{type:"JsdocTypeGeneric",left:{type:"JsdocTypeName",value:"Array"},elements:[k(m)],meta:{brackets:"square",dot:!1}}),"parseInfix")});function pt({objectFieldGrammar:l,allowKeyTypes:m}){return W({name:"objectParslet",accept:i(b=>b==="{","accept"),parsePrefix:i(b=>{b.consume("{");const x={type:"JsdocTypeObject",meta:{separator:"comma"},elements:[]};if(!b.consume("}")){let F;const G=new X(l,b.lexer,b);for(;;){G.acceptLexerState(b);let Z=G.parseIntermediateType(D.OBJECT);b.acceptLexerState(G),Z===void 0&&m&&(Z=b.parseIntermediateType(D.OBJECT));let ce=!1;if(Z.type==="JsdocTypeNullable"&&(ce=!0,Z=Z.element),Z.type==="JsdocTypeNumber"||Z.type==="JsdocTypeName"||Z.type==="JsdocTypeStringValue"){let Ee;Z.type==="JsdocTypeStringValue"&&(Ee=Z.meta.quote),x.elements.push({type:"JsdocTypeObjectField",key:Z.value.toString(),right:void 0,optional:ce,readonly:!1,meta:{quote:Ee}})}else if(Z.type==="JsdocTypeObjectField"||Z.type==="JsdocTypeJsdocObjectField")x.elements.push(Z);else throw new d(Z);if(b.lexer.current.startOfLine)F="linebreak",b.consume(",")||b.consume(";");else if(b.consume(","))F="comma";else if(b.consume(";"))F="semicolon";else break;if(b.lexer.current.type==="}")break}if(x.meta.separator=F??"comma",F==="linebreak"&&(x.meta.propertyIndent=" "),!b.consume("}"))throw new Error("Unterminated record type. Missing '}'")}return x},"parsePrefix")})}i(pt,"createObjectParslet");function ft({allowSquaredProperties:l,allowKeyTypes:m,allowReadonly:b,allowOptional:x}){return W({name:"objectFieldParslet",precedence:D.KEY_VALUE,accept:i(F=>F===":","accept"),parseInfix:i((F,G)=>{var Z;let ce=!1,_e=!1;x&&G.type==="JsdocTypeNullable"&&(ce=!0,G=G.element),b&&G.type==="JsdocTypeReadonlyProperty"&&(_e=!0,G=G.element);const Ee=(Z=F.baseParser)!==null&&Z!==void 0?Z:F;if(Ee.acceptLexerState(F),G.type==="JsdocTypeNumber"||G.type==="JsdocTypeName"||G.type==="JsdocTypeStringValue"||$(G)){if($(G)&&!l)throw new d(G);Ee.consume(":");let Me;G.type==="JsdocTypeStringValue"&&(Me=G.meta.quote);const fr=Ee.parseType(D.KEY_VALUE);return F.acceptLexerState(Ee),{type:"JsdocTypeObjectField",key:$(G)?G:G.value.toString(),right:fr,optional:ce,readonly:_e,meta:{quote:Me}}}else{if(!m)throw new d(G);Ee.consume(":");const Me=Ee.parseType(D.KEY_VALUE);return F.acceptLexerState(Ee),{type:"JsdocTypeJsdocObjectField",left:k(G),right:Me}}},"parseInfix")})}i(ft,"createObjectFieldParslet");function mt({allowOptional:l,allowVariadic:m}){return W({name:"keyValueParslet",precedence:D.KEY_VALUE,accept:i(b=>b===":","accept"),parseInfix:i((b,x)=>{let F=!1,G=!1;if(l&&x.type==="JsdocTypeNullable"&&(F=!0,x=x.element),m&&x.type==="JsdocTypeVariadic"&&x.element!==void 0&&(G=!0,x=x.element),x.type!=="JsdocTypeName")throw new d(x);b.consume(":");const Z=b.parseType(D.KEY_VALUE);return{type:"JsdocTypeKeyValue",key:x.value,right:Z,optional:F,variadic:G}},"parseInfix")})}i(mt,"createKeyValueParslet");const tn=[...J,ot({allowWithoutParenthesis:!0,allowNamedParameters:["this","new"],allowNoReturnType:!0,allowNewAsFunctionKeyword:!1}),oe,ne({allowedTypes:["module","external","event"],pathGrammar:he}),dt({allowEnclosingBrackets:!0,allowPostfix:!0}),re({allowedAdditionalTokens:["keyof"]}),wt,it,Q({allowSquareBracketsOnAnyType:!1,allowJsdocNamePaths:!0,pathGrammar:he})],Jo=[...tn,pt({objectFieldGrammar:[re({allowedAdditionalTokens:["typeof","module","in"]}),ft({allowSquaredProperties:!1,allowKeyTypes:!0,allowOptional:!1,allowReadonly:!1}),...tn],allowKeyTypes:!0}),mt({allowOptional:!0,allowVariadic:!0})],rn=W({name:"typeOfParslet",accept:i(l=>l==="typeof","accept"),parsePrefix:i(l=>(l.consume("typeof"),{type:"JsdocTypeTypeof",element:l.parseType(D.KEY_OF_TYPE_OF)}),"parsePrefix")}),Uo=[re({allowedAdditionalTokens:["typeof","module","keyof","event","external","in"]}),se,ae,oe,be,ft({allowSquaredProperties:!1,allowKeyTypes:!1,allowOptional:!1,allowReadonly:!1})],Vo=[...J,pt({allowKeyTypes:!1,objectFieldGrammar:Uo}),re({allowedAdditionalTokens:["event","external","in"]}),rn,ot({allowWithoutParenthesis:!1,allowNamedParameters:["this","new"],allowNoReturnType:!0,allowNewAsFunctionKeyword:!1}),dt({allowEnclosingBrackets:!1,allowPostfix:!1}),re({allowedAdditionalTokens:["keyof"]}),ne({allowedTypes:["module"],pathGrammar:he}),Q({allowSquareBracketsOnAnyType:!1,allowJsdocNamePaths:!0,pathGrammar:he}),mt({allowOptional:!1,allowVariadic:!1}),wt],Ho=W({name:"assertsParslet",accept:i(l=>l==="asserts","accept"),parsePrefix:i(l=>{l.consume("asserts");const m=l.parseIntermediateType(D.SYMBOL);if(m.type!=="JsdocTypeName")throw new d(m,"A typescript asserts always has to have a name on the left side.");return l.consume("is")?{type:"JsdocTypeAsserts",left:m,right:k(l.parseIntermediateType(D.INFIX))}:{type:"JsdocTypeAssertsPlain",element:m}},"parsePrefix")});function nn({allowQuestionMark:l}){return W({name:"tupleParslet",accept:i(m=>m==="[","accept"),parsePrefix:i(m=>{m.consume("[");const b={type:"JsdocTypeTuple",elements:[]};if(m.consume("]"))return b;const x=m.parseIntermediateType(D.ALL);if(x.type==="JsdocTypeParameterList"?x.elements[0].type==="JsdocTypeKeyValue"?b.elements=x.elements.map(H):b.elements=x.elements.map(k):x.type==="JsdocTypeKeyValue"?b.elements=[H(x)]:b.elements=[k(x)],!m.consume("]"))throw new Error("Unterminated '['");if(b.elements.some(F=>F.type==="JsdocTypeUnknown"))throw new Error("Question mark in tuple not allowed");return b},"parsePrefix")})}i(nn,"createTupleParslet");const zo=W({name:"keyOfParslet",accept:i(l=>l==="keyof","accept"),parsePrefix:i(l=>(l.consume("keyof"),{type:"JsdocTypeKeyof",element:k(l.parseType(D.KEY_OF_TYPE_OF))}),"parsePrefix")}),Go=W({name:"importParslet",accept:i(l=>l==="import","accept"),parsePrefix:i(l=>{if(l.consume("import"),!l.consume("("))throw new Error("Missing parenthesis after import keyword");const m=l.parseType(D.PREFIX);if(m.type!=="JsdocTypeStringValue")throw new Error("Only string values are allowed as paths for imports");if(!l.consume(")"))throw new Error("Missing closing parenthesis after import keyword");return{type:"JsdocTypeImport",element:m}},"parsePrefix")}),Wo=W({name:"readonlyPropertyParslet",accept:i(l=>l==="readonly","accept"),parsePrefix:i(l=>(l.consume("readonly"),{type:"JsdocTypeReadonlyProperty",element:l.parseIntermediateType(D.KEY_VALUE)}),"parsePrefix")}),Ko=W({name:"arrowFunctionParslet",precedence:D.ARROW,accept:i(l=>l==="=>","accept"),parseInfix:i((l,m)=>(l.consume("=>"),{type:"JsdocTypeFunction",parameters:pe(m).map(V),arrow:!0,constructor:!1,parenthesis:!0,returnType:l.parseType(D.OBJECT)}),"parseInfix")}),Yo=W({name:"genericArrowFunctionParslet",accept:i(l=>l==="<","accept"),parsePrefix:i(l=>{const m=[];l.consume("<");do{let x,F=l.parseIntermediateType(D.SYMBOL);if(F.type==="JsdocTypeOptional"&&(F=F.element,x=l.parseType(D.SYMBOL)),F.type!=="JsdocTypeName")throw new d(F);let G;l.consume("extends")&&(G=l.parseType(D.SYMBOL),G.type==="JsdocTypeOptional"&&(G=G.element,x=l.parseType(D.SYMBOL)));const Z={type:"JsdocTypeTypeParameter",name:F};if(G!==void 0&&(Z.constraint=G),x!==void 0&&(Z.defaultValue=x),m.push(Z),l.consume(">"))break}while(l.consume(","));const b=l.parseIntermediateType(D.SYMBOL);return b.typeParameters=m,b},"parsePrefix")}),Xo=W({name:"intersectionParslet",accept:i(l=>l==="&","accept"),precedence:D.INTERSECTION,parseInfix:i((l,m)=>{l.consume("&");const b=[];do b.push(l.parseType(D.INTERSECTION));while(l.consume("&"));return{type:"JsdocTypeIntersection",elements:[k(m),...b]}},"parseInfix")}),Qo=W({name:"predicateParslet",precedence:D.INFIX,accept:i(l=>l==="is","accept"),parseInfix:i((l,m)=>{if(m.type!=="JsdocTypeName")throw new d(m,"A typescript predicate always has to have a name on the left side.");return l.consume("is"),{type:"JsdocTypePredicate",left:m,right:k(l.parseIntermediateType(D.INFIX))}},"parseInfix")}),Zo=W({name:"objectSquareBracketPropertyParslet",accept:i(l=>l==="[","accept"),parsePrefix:i(l=>{if(l.baseParser===void 0)throw new Error("Only allowed inside object grammar");l.consume("[");const m=l.lexer.current.text;l.consume("Identifier");let b;if(l.consume(":")){const x=l.baseParser;x.acceptLexerState(l),b={type:"JsdocTypeIndexSignature",key:m,right:x.parseType(D.INDEX_BRACKETS)},l.acceptLexerState(x)}else if(l.consume("in")){const x=l.baseParser;x.acceptLexerState(l),b={type:"JsdocTypeMappedType",key:m,right:x.parseType(D.ARRAY_BRACKETS)},l.acceptLexerState(x)}else throw new Error("Missing ':' or 'in' inside square bracketed property.");if(!l.consume("]"))throw new Error("Unterminated square brackets");return b},"parsePrefix")}),ei=W({name:"readonlyArrayParslet",accept:i(l=>l==="readonly","accept"),parsePrefix:i(l=>(l.consume("readonly"),{type:"JsdocTypeReadonlyArray",element:L(l.parseIntermediateType(D.ALL))}),"parsePrefix")}),ti=W({name:"conditionalParslet",precedence:D.INFIX,accept:i(l=>l==="extends","accept"),parseInfix:i((l,m)=>{l.consume("extends");const b=l.parseType(D.KEY_OF_TYPE_OF).element,x=l.parseType(D.INFIX);return l.consume(":"),{type:"JsdocTypeConditional",checksType:k(m),extendsType:b,trueType:x,falseType:l.parseType(D.INFIX)}},"parseInfix")}),ri=[Wo,re({allowedAdditionalTokens:["typeof","module","keyof","event","external","in"]}),se,ae,oe,be,ft({allowSquaredProperties:!0,allowKeyTypes:!1,allowOptional:!0,allowReadonly:!0}),Zo],ni=[...J,pt({allowKeyTypes:!1,objectFieldGrammar:ri}),ei,rn,zo,Go,oe,ot({allowWithoutParenthesis:!0,allowNoReturnType:!1,allowNamedParameters:["this","new","args"],allowNewAsFunctionKeyword:!0}),nn({allowQuestionMark:!1}),dt({allowEnclosingBrackets:!1,allowPostfix:!1}),Ho,ti,re({allowedAdditionalTokens:["event","external","in"]}),ne({allowedTypes:["module"],pathGrammar:he}),it,Ko,Yo,Q({allowSquareBracketsOnAnyType:!0,allowJsdocNamePaths:!1,pathGrammar:he}),Xo,Qo,mt({allowVariadic:!0,allowOptional:!0})];function ur(l,m){switch(m){case"closure":return new X(Vo,l).parse();case"jsdoc":return new X(Jo,l).parse();case"typescript":return new X(ni,l).parse()}}i(ur,"parse");function on(l,m=["typescript","closure","jsdoc"]){let b;for(const x of m)try{return ur(l,x)}catch(F){b=F}throw b}i(on,"tryParse");function Y(l,m){const b=l[m.type];if(b===void 0)throw new Error(`In this set of transform rules exists no rule for type ${m.type}.`);return b(m,x=>Y(l,x))}i(Y,"transform");function le(l){throw new Error("This transform is not available. Are you trying the correct parsing mode?")}i(le,"notAvailableTransform");function It(l){const m={params:[]};for(const b of l.parameters)b.type==="JsdocTypeKeyValue"?b.key==="this"?m.this=b.right:b.key==="new"?m.new=b.right:m.params.push(b):m.params.push(b);return m}i(It,"extractSpecialParams");function Bt(l,m,b){return l==="prefix"?b+m:m+b}i(Bt,"applyPosition");function Ye(l,m){switch(m){case"double":return`"${l}"`;case"single":return`'${l}'`;case void 0:return l}}i(Ye,"quote");function sn(){return{JsdocTypeParenthesis:i((l,m)=>`(${l.element!==void 0?m(l.element):""})`,"JsdocTypeParenthesis"),JsdocTypeKeyof:i((l,m)=>`keyof ${m(l.element)}`,"JsdocTypeKeyof"),JsdocTypeFunction:i((l,m)=>{var b;if(l.arrow){if(l.returnType===void 0)throw new Error("Arrow function needs a return type.");let x=`${l.typeParameters!==void 0?`<${(b=l.typeParameters.map(m).join(", "))!==null&&b!==void 0?b:""}>`:""}(${l.parameters.map(m).join(", ")}) => ${m(l.returnType)}`;return l.constructor&&(x="new "+x),x}else{let x=l.constructor?"new":"function";return l.parenthesis&&(x+=`(${l.parameters.map(m).join(", ")})`,l.returnType!==void 0&&(x+=`: ${m(l.returnType)}`)),x}},"JsdocTypeFunction"),JsdocTypeName:i(l=>l.value,"JsdocTypeName"),JsdocTypeTuple:i((l,m)=>`[${l.elements.map(m).join(", ")}]`,"JsdocTypeTuple"),JsdocTypeVariadic:i((l,m)=>l.meta.position===void 0?"...":Bt(l.meta.position,m(l.element),"..."),"JsdocTypeVariadic"),JsdocTypeNamePath:i((l,m)=>{const b=m(l.left),x=m(l.right);switch(l.pathType){case"inner":return`${b}~${x}`;case"instance":return`${b}#${x}`;case"property":return`${b}.${x}`;case"property-brackets":return`${b}[${x}]`}},"JsdocTypeNamePath"),JsdocTypeStringValue:i(l=>Ye(l.value,l.meta.quote),"JsdocTypeStringValue"),JsdocTypeAny:i(()=>"*","JsdocTypeAny"),JsdocTypeGeneric:i((l,m)=>{if(l.meta.brackets==="square"){const b=l.elements[0],x=m(b);return b.type==="JsdocTypeUnion"||b.type==="JsdocTypeIntersection"?`(${x})[]`:`${x}[]`}else return`${m(l.left)}${l.meta.dot?".":""}<${l.infer===!0?"infer ":""}${l.elements.map(m).join(", ")}>`},"JsdocTypeGeneric"),JsdocTypeImport:i((l,m)=>`import(${m(l.element)})`,"JsdocTypeImport"),JsdocTypeObjectField:i((l,m)=>{let b="";return l.readonly&&(b+="readonly "),typeof l.key=="string"?b+=Ye(l.key,l.meta.quote):b+=m(l.key),l.optional&&(b+="?"),l.right===void 0?b:b+`: ${m(l.right)}`},"JsdocTypeObjectField"),JsdocTypeJsdocObjectField:i((l,m)=>`${m(l.left)}: ${m(l.right)}`,"JsdocTypeJsdocObjectField"),JsdocTypeKeyValue:i((l,m)=>{let b=l.key;return l.optional&&(b+="?"),l.variadic&&(b="..."+b),l.right===void 0?b:b+`: ${m(l.right)}`},"JsdocTypeKeyValue"),JsdocTypeSpecialNamePath:i(l=>`${l.specialType}:${Ye(l.value,l.meta.quote)}`,"JsdocTypeSpecialNamePath"),JsdocTypeNotNullable:i((l,m)=>Bt(l.meta.position,m(l.element),"!"),"JsdocTypeNotNullable"),JsdocTypeNull:i(()=>"null","JsdocTypeNull"),JsdocTypeNullable:i((l,m)=>Bt(l.meta.position,m(l.element),"?"),"JsdocTypeNullable"),JsdocTypeNumber:i(l=>l.value.toString(),"JsdocTypeNumber"),JsdocTypeObject:i((l,m)=>{var b,x;return`{${(l.meta.separator==="linebreak"&&l.elements.length>1?`
14
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var X=!0,ie=!1,se;return{s:i(function(){$=$.call(A)},"s"),n:i(function(){var ae=$.next();return X=ae.done,ae},"n"),e:i(function(ae){ie=!0,se=ae},"e"),f:i(function(){try{!X&&$.return!=null&&$.return()}finally{if(ie)throw se}},"f")}}i(s,"_createForOfIteratorHelper");function a(A,L){if(A){if(typeof A=="string")return c(A,L);var $=Object.prototype.toString.call(A).slice(8,-1);if($==="Object"&&A.constructor&&($=A.constructor.name),$==="Map"||$==="Set")return Array.from(A);if($==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test($))return c(A,L)}}i(a,"_unsupportedIterableToArray");function c(A,L){(L==null||L>A.length)&&(L=A.length);for(var $=0,D=new Array(L);$<L;$++)D[$]=A[$];return D}i(c,"_arrayLikeToArray");var u=xk(),d={fg:"#FFF",bg:"#000",newline:!1,escapeXML:!1,stream:!1,colors:p()};function p(){var A={0:"#000",1:"#A00",2:"#0A0",3:"#A50",4:"#00A",5:"#A0A",6:"#0AA",7:"#AAA",8:"#555",9:"#F55",10:"#5F5",11:"#FF5",12:"#55F",13:"#F5F",14:"#5FF",15:"#FFF"};return _(0,5).forEach(function(L){_(0,5).forEach(function($){_(0,5).forEach(function(D){return f(L,$,D,A)})})}),_(0,23).forEach(function(L){var $=L+232,D=h(L*10+8);A[$]="#"+D+D+D}),A}i(p,"getDefaultColors");function f(A,L,$,D){var K=16+A*36+L*6+$,X=A>0?A*40+55:0,ie=L>0?L*40+55:0,se=$>0?$*40+55:0;D[K]=y([X,ie,se])}i(f,"setStyleColor");function h(A){for(var L=A.toString(16);L.length<2;)L="0"+L;return L}i(h,"toHexString");function y(A){var L=[],$=s(A),D;try{for($.s();!(D=$.n()).done;){var K=D.value;L.push(h(K))}}catch(X){$.e(X)}finally{$.f()}return"#"+L.join("")}i(y,"toColorHexString");function g(A,L,$,D){var K;return L==="text"?K=j($,D):L==="display"?K=T(A,$,D):L==="xterm256Foreground"?K=w(A,D.colors[$]):L==="xterm256Background"?K=S(A,D.colors[$]):L==="rgb"&&(K=E(A,$)),K}i(g,"generateOutput");function E(A,L){L=L.substring(2).slice(0,-1);var $=+L.substr(0,2),D=L.substring(5).split(";"),K=D.map(function(X){return("0"+Number(X).toString(16)).substr(-2)}).join("");return P(A,($===38?"color:#":"background-color:#")+K)}i(E,"handleRgb");function T(A,L,$){L=parseInt(L,10);var D={"-1":i(function(){return"<br/>"},"_"),0:i(function(){return A.length&&v(A)},"_"),1:i(function(){return C(A,"b")},"_"),3:i(function(){return C(A,"i")},"_"),4:i(function(){return C(A,"u")},"_"),8:i(function(){return P(A,"display:none")},"_"),9:i(function(){return C(A,"strike")},"_"),22:i(function(){return P(A,"font-weight:normal;text-decoration:none;font-style:normal")},"_"),23:i(function(){return k(A,"i")},"_"),24:i(function(){return k(A,"u")},"_"),39:i(function(){return w(A,$.fg)},"_"),49:i(function(){return S(A,$.bg)},"_"),53:i(function(){return P(A,"text-decoration:overline")},"_")},K;return D[L]?K=D[L]():4<L&&L<7?K=C(A,"blink"):29<L&&L<38?K=w(A,$.colors[L-30]):39<L&&L<48?K=S(A,$.colors[L-40]):89<L&&L<98?K=w(A,$.colors[8+(L-90)]):99<L&&L<108&&(K=S(A,$.colors[8+(L-100)])),K}i(T,"handleDisplay");function v(A){var L=A.slice(0);return A.length=0,L.reverse().map(function($){return"</"+$+">"}).join("")}i(v,"resetStyles");function _(A,L){for(var $=[],D=A;D<=L;D++)$.push(D);return $}i(_,"range");function R(A){return function(L){return(A===null||L.category!==A)&&A!=="all"}}i(R,"notCategory");function N(A){A=parseInt(A,10);var L=null;return A===0?L="all":A===1?L="bold":2<A&&A<5?L="underline":4<A&&A<7?L="blink":A===8?L="hide":A===9?L="strike":29<A&&A<38||A===39||89<A&&A<98?L="foreground-color":(39<A&&A<48||A===49||99<A&&A<108)&&(L="background-color"),L}i(N,"categoryForCode");function j(A,L){return L.escapeXML?u.encodeXML(A):A}i(j,"pushText");function C(A,L,$){return $||($=""),A.push(L),"<".concat(L).concat($?' style="'.concat($,'"'):"",">")}i(C,"pushTag");function P(A,L){return C(A,"span",L)}i(P,"pushStyle");function w(A,L){return C(A,"span","color:"+L)}i(w,"pushForegroundColor");function S(A,L){return C(A,"span","background-color:"+L)}i(S,"pushBackgroundColor");function k(A,L){var $;if(A.slice(-1)[0]===L&&($=A.pop()),$)return"</"+L+">"}i(k,"closeTag");function I(A,L,$){var D=!1,K=3;function X(){return""}i(X,"remove");function ie(ne,de){return $("xterm256Foreground",de),""}i(ie,"removeXterm256Foreground");function se(ne,de){return $("xterm256Background",de),""}i(se,"removeXterm256Background");function W(ne){return L.newline?$("display",-1):$("text",ne),""}i(W,"newline");function ae(ne,de){D=!0,de.trim().length===0&&(de="0"),de=de.trimRight(";").split(";");var he=s(de),pe;try{for(he.s();!(pe=he.n()).done;){var $e=pe.value;$("display",$e)}}catch(it){he.e(it)}finally{he.f()}return""}i(ae,"ansiMess");function be(ne){return $("text",ne),""}i(be,"realText");function ue(ne){return $("rgb",ne),""}i(ue,"rgb");var ee=[{pattern:/^\x08+/,sub:X},{pattern:/^\x1b\[[012]?K/,sub:X},{pattern:/^\x1b\[\(B/,sub:X},{pattern:/^\x1b\[[34]8;2;\d+;\d+;\d+m/,sub:ue},{pattern:/^\x1b\[38;5;(\d+)m/,sub:ie},{pattern:/^\x1b\[48;5;(\d+)m/,sub:se},{pattern:/^\n/,sub:W},{pattern:/^\r+\n/,sub:W},{pattern:/^\r/,sub:W},{pattern:/^\x1b\[((?:\d{1,3};?)+|)m/,sub:ae},{pattern:/^\x1b\[\d?J/,sub:X},{pattern:/^\x1b\[\d{0,3};\d{0,3}f/,sub:X},{pattern:/^\x1b\[?[\d;]{0,3}/,sub:X},{pattern:/^(([^\x1b\x08\r\n])+)/,sub:be}];function Re(ne,de){de>K&&D||(D=!1,A=A.replace(ne.pattern,ne.sub))}i(Re,"process");var Oe=[],He=A,Ke=He.length;e:for(;Ke>0;){for(var J=0,Q=0,re=ee.length;Q<re;J=++Q){var oe=ee[J];if(Re(oe,J),A.length!==Ke){Ke=A.length;continue e}}if(A.length===Ke)break;Oe.push(0),Ke=A.length}return Oe}i(I,"tokenize");function V(A,L,$){return L!=="text"&&(A=A.filter(R(N($))),A.push({token:L,data:$,category:N($)})),A}i(V,"updateStickyStack");var H=(function(){function A(L){r(this,A),L=L||{},L.colors&&(L.colors=Object.assign({},d.colors,L.colors)),this.options=Object.assign({},d,L),this.stack=[],this.stickyStack=[]}return i(A,"Filter"),o(A,[{key:"toHtml",value:i(function($){var D=this;$=typeof $=="string"?[$]:$;var K=this.stack,X=this.options,ie=[];return this.stickyStack.forEach(function(se){var W=g(K,se.token,se.data,X);W&&ie.push(W)}),I($.join(""),X,function(se,W){var ae=g(K,se,W,X);ae&&ie.push(ae),X.stream&&(D.stickyStack=V(D.stickyStack,se,W))}),K.length&&ie.push(v(K)),ie.join("")},"toHtml")}]),A})();t.exports=H}}),Ik=B({"../node_modules/jsdoc-type-pratt-parser/dist/index.js"(e,t){(function(r,n){typeof e=="object"&&typeof t<"u"?n(e):typeof define=="function"&&define.amd?define(["exports"],n):(r=typeof globalThis<"u"?globalThis:r||self,n(r.jtpp={}))})(e,function(r){function n(l){return l.text!==void 0&&l.text!==""?`'${l.type}' with value '${l.text}'`:`'${l.type}'`}i(n,"tokenToString");const o=class bv extends Error{constructor(m){super(`No parslet found for token: ${n(m)}`),this.token=m,Object.setPrototypeOf(this,bv.prototype)}getToken(){return this.token}};i(o,"NoParsletFoundError");let s=o;const a=class vv extends Error{constructor(m){super(`The parsing ended early. The next token was: ${n(m)}`),this.token=m,Object.setPrototypeOf(this,vv.prototype)}getToken(){return this.token}};i(a,"EarlyEndOfParseError");let c=a;const u=class Ev extends Error{constructor(m,b){let x=`Unexpected type: '${m.type}'.`;b!==void 0&&(x+=` Message: ${b}`),super(x),Object.setPrototypeOf(this,Ev.prototype)}};i(u,"UnexpectedTypeError");let d=u;function p(l){return m=>m.startsWith(l)?{type:l,text:l}:null}i(p,"makePunctuationRule");function f(l){let m=0,b;const x=l[0];let F=!1;if(x!=="'"&&x!=='"')return null;for(;m<l.length;){if(m++,b=l[m],!F&&b===x){m++;break}F=!F&&b==="\\"}if(b!==x)throw new Error("Unterminated String");return l.slice(0,m)}i(f,"getQuoted");const h=new RegExp("[$_\\p{ID_Start}]|\\\\u\\p{Hex_Digit}{4}|\\\\u\\{0*(?:\\p{Hex_Digit}{1,5}|10\\p{Hex_Digit}{4})\\}","u"),y=new RegExp("[$\\-\\p{ID_Continue}\\u200C\\u200D]|\\\\u\\p{Hex_Digit}{4}|\\\\u\\{0*(?:\\p{Hex_Digit}{1,5}|10\\p{Hex_Digit}{4})\\}","u");function g(l){let m=l[0];if(!h.test(m))return null;let b=1;do{if(m=l[b],!y.test(m))break;b++}while(b<l.length);return l.slice(0,b)}i(g,"getIdentifier");const E=/^(NaN|-?((\d*\.\d+|\d+)([Ee][+-]?\d+)?|Infinity))/;function T(l){var m,b;return(b=(m=E.exec(l))===null||m===void 0?void 0:m[0])!==null&&b!==void 0?b:null}i(T,"getNumber");const v=i(l=>{const m=g(l);return m==null?null:{type:"Identifier",text:m}},"identifierRule");function _(l){return m=>{if(!m.startsWith(l))return null;const b=m[l.length];return b!==void 0&&y.test(b)?null:{type:l,text:l}}}i(_,"makeKeyWordRule");const R=i(l=>{const m=f(l);return m==null?null:{type:"StringValue",text:m}},"stringValueRule"),N=i(l=>l.length>0?null:{type:"EOF",text:""},"eofRule"),j=i(l=>{const m=T(l);return m===null?null:{type:"Number",text:m}},"numberRule"),C=[N,p("=>"),p("("),p(")"),p("{"),p("}"),p("["),p("]"),p("|"),p("&"),p("<"),p(">"),p(","),p(";"),p("*"),p("?"),p("!"),p("="),p(":"),p("..."),p("."),p("#"),p("~"),p("/"),p("@"),_("undefined"),_("null"),_("function"),_("this"),_("new"),_("module"),_("event"),_("extends"),_("external"),_("infer"),_("typeof"),_("keyof"),_("readonly"),_("import"),_("is"),_("in"),_("asserts"),j,v,R],P=/^\s*\n\s*/,w=class Gs{static create(m){const b=this.read(m);m=b.text;const x=this.read(m);return m=x.text,new Gs(m,void 0,b.token,x.token)}constructor(m,b,x,F){this.text="",this.text=m,this.previous=b,this.current=x,this.next=F}static read(m,b=!1){b=b||P.test(m),m=m.trim();for(const x of C){const F=x(m);if(F!==null){const G=Object.assign(Object.assign({},F),{startOfLine:b});return m=m.slice(G.text.length),{text:m,token:G}}}throw new Error("Unexpected Token "+m)}advance(){const m=Gs.read(this.text);return new Gs(m.text,this.current,this.next,m.token)}};i(w,"Lexer");let S=w;function k(l){if(l===void 0)throw new Error("Unexpected undefined");if(l.type==="JsdocTypeKeyValue"||l.type==="JsdocTypeParameterList"||l.type==="JsdocTypeProperty"||l.type==="JsdocTypeReadonlyProperty"||l.type==="JsdocTypeObjectField"||l.type==="JsdocTypeJsdocObjectField"||l.type==="JsdocTypeIndexSignature"||l.type==="JsdocTypeMappedType"||l.type==="JsdocTypeTypeParameter")throw new d(l);return l}i(k,"assertRootResult");function I(l){return l.type==="JsdocTypeKeyValue"?H(l):k(l)}i(I,"assertPlainKeyValueOrRootResult");function V(l){return l.type==="JsdocTypeName"?l:H(l)}i(V,"assertPlainKeyValueOrNameResult");function H(l){if(l.type!=="JsdocTypeKeyValue")throw new d(l);return l}i(H,"assertPlainKeyValueResult");function A(l){var m;if(l.type==="JsdocTypeVariadic"){if(((m=l.element)===null||m===void 0?void 0:m.type)==="JsdocTypeName")return l;throw new d(l)}if(l.type!=="JsdocTypeNumber"&&l.type!=="JsdocTypeName")throw new d(l);return l}i(A,"assertNumberOrVariadicNameResult");function L(l){if(l.type==="JsdocTypeTuple"||l.type==="JsdocTypeGeneric"&&l.meta.brackets==="square")return l;throw new d(l)}i(L,"assertArrayOrTupleResult");function $(l){return l.type==="JsdocTypeIndexSignature"||l.type==="JsdocTypeMappedType"}i($,"isSquaredProperty");var D;(function(l){l[l.ALL=0]="ALL",l[l.PARAMETER_LIST=1]="PARAMETER_LIST",l[l.OBJECT=2]="OBJECT",l[l.KEY_VALUE=3]="KEY_VALUE",l[l.INDEX_BRACKETS=4]="INDEX_BRACKETS",l[l.UNION=5]="UNION",l[l.INTERSECTION=6]="INTERSECTION",l[l.PREFIX=7]="PREFIX",l[l.INFIX=8]="INFIX",l[l.TUPLE=9]="TUPLE",l[l.SYMBOL=10]="SYMBOL",l[l.OPTIONAL=11]="OPTIONAL",l[l.NULLABLE=12]="NULLABLE",l[l.KEY_OF_TYPE_OF=13]="KEY_OF_TYPE_OF",l[l.FUNCTION=14]="FUNCTION",l[l.ARROW=15]="ARROW",l[l.ARRAY_BRACKETS=16]="ARRAY_BRACKETS",l[l.GENERIC=17]="GENERIC",l[l.NAME_PATH=18]="NAME_PATH",l[l.PARENTHESIS=19]="PARENTHESIS",l[l.SPECIAL_TYPES=20]="SPECIAL_TYPES"})(D||(D={}));const K=class{constructor(m,b,x){this.grammar=m,typeof b=="string"?this._lexer=S.create(b):this._lexer=b,this.baseParser=x}get lexer(){return this._lexer}parse(){const m=this.parseType(D.ALL);if(this.lexer.current.type!=="EOF")throw new c(this.lexer.current);return m}parseType(m){return k(this.parseIntermediateType(m))}parseIntermediateType(m){const b=this.tryParslets(null,m);if(b===null)throw new s(this.lexer.current);return this.parseInfixIntermediateType(b,m)}parseInfixIntermediateType(m,b){let x=this.tryParslets(m,b);for(;x!==null;)m=x,x=this.tryParslets(m,b);return m}tryParslets(m,b){for(const x of this.grammar){const F=x(this,b,m);if(F!==null)return F}return null}consume(m){return Array.isArray(m)||(m=[m]),m.includes(this.lexer.current.type)?(this._lexer=this.lexer.advance(),!0):!1}acceptLexerState(m){this._lexer=m.lexer}};i(K,"Parser");let X=K;function ie(l){return l==="}"||l==="EOF"||l==="|"||l===","||l===")"||l===">"}i(ie,"isQuestionMarkUnknownType");const se=i((l,m,b)=>{const x=l.lexer.current.type,F=l.lexer.next.type;return b==null&&x==="?"&&!ie(F)||b!=null&&x==="?"?(l.consume("?"),b==null?{type:"JsdocTypeNullable",element:l.parseType(D.NULLABLE),meta:{position:"prefix"}}:{type:"JsdocTypeNullable",element:k(b),meta:{position:"suffix"}}):null},"nullableParslet");function W(l){const m=i((b,x,F)=>{const G=b.lexer.current.type,Z=b.lexer.next.type;if(F===null){if("parsePrefix"in l&&l.accept(G,Z))return l.parsePrefix(b)}else if("parseInfix"in l&&l.precedence>x&&l.accept(G,Z))return l.parseInfix(b,F);return null},"parslet");return Object.defineProperty(m,"name",{value:l.name}),m}i(W,"composeParslet");const ae=W({name:"optionalParslet",accept:i(l=>l==="=","accept"),precedence:D.OPTIONAL,parsePrefix:i(l=>(l.consume("="),{type:"JsdocTypeOptional",element:l.parseType(D.OPTIONAL),meta:{position:"prefix"}}),"parsePrefix"),parseInfix:i((l,m)=>(l.consume("="),{type:"JsdocTypeOptional",element:k(m),meta:{position:"suffix"}}),"parseInfix")}),be=W({name:"numberParslet",accept:i(l=>l==="Number","accept"),parsePrefix:i(l=>{const m=parseFloat(l.lexer.current.text);return l.consume("Number"),{type:"JsdocTypeNumber",value:m}},"parsePrefix")}),ue=W({name:"parenthesisParslet",accept:i(l=>l==="(","accept"),parsePrefix:i(l=>{if(l.consume("("),l.consume(")"))return{type:"JsdocTypeParameterList",elements:[]};const m=l.parseIntermediateType(D.ALL);if(!l.consume(")"))throw new Error("Unterminated parenthesis");return m.type==="JsdocTypeParameterList"?m:m.type==="JsdocTypeKeyValue"?{type:"JsdocTypeParameterList",elements:[m]}:{type:"JsdocTypeParenthesis",element:k(m)}},"parsePrefix")}),ee=W({name:"specialTypesParslet",accept:i((l,m)=>l==="?"&&ie(m)||l==="null"||l==="undefined"||l==="*","accept"),parsePrefix:i(l=>{if(l.consume("null"))return{type:"JsdocTypeNull"};if(l.consume("undefined"))return{type:"JsdocTypeUndefined"};if(l.consume("*"))return{type:"JsdocTypeAny"};if(l.consume("?"))return{type:"JsdocTypeUnknown"};throw new Error("Unacceptable token: "+l.lexer.current.text)},"parsePrefix")}),Re=W({name:"notNullableParslet",accept:i(l=>l==="!","accept"),precedence:D.NULLABLE,parsePrefix:i(l=>(l.consume("!"),{type:"JsdocTypeNotNullable",element:l.parseType(D.NULLABLE),meta:{position:"prefix"}}),"parsePrefix"),parseInfix:i((l,m)=>(l.consume("!"),{type:"JsdocTypeNotNullable",element:k(m),meta:{position:"suffix"}}),"parseInfix")});function Oe({allowTrailingComma:l}){return W({name:"parameterListParslet",accept:i(m=>m===",","accept"),precedence:D.PARAMETER_LIST,parseInfix:i((m,b)=>{const x=[I(b)];m.consume(",");do try{const F=m.parseIntermediateType(D.PARAMETER_LIST);x.push(I(F))}catch(F){if(F instanceof s)break;throw F}while(m.consume(","));if(x.length>0&&x.slice(0,-1).some(F=>F.type==="JsdocTypeVariadic"))throw new Error("Only the last parameter may be a rest parameter");return{type:"JsdocTypeParameterList",elements:x}},"parseInfix")})}i(Oe,"createParameterListParslet");const He=W({name:"genericParslet",accept:i((l,m)=>l==="<"||l==="."&&m==="<","accept"),precedence:D.GENERIC,parseInfix:i((l,m)=>{const b=l.consume(".");l.consume("<");const x=[];let F=!1;if(l.consume("infer")){F=!0;const G=l.parseIntermediateType(D.SYMBOL);if(G.type!=="JsdocTypeName")throw new d(G,"A typescript asserts always has to have a name on the left side.");x.push(G)}else do x.push(l.parseType(D.PARAMETER_LIST));while(l.consume(","));if(!l.consume(">"))throw new Error("Unterminated generic parameter list");return Object.assign(Object.assign({type:"JsdocTypeGeneric",left:k(m),elements:x},F?{infer:!0}:{}),{meta:{brackets:"angle",dot:b}})},"parseInfix")}),Ke=W({name:"unionParslet",accept:i(l=>l==="|","accept"),precedence:D.UNION,parseInfix:i((l,m)=>{l.consume("|");const b=[];do b.push(l.parseType(D.UNION));while(l.consume("|"));return{type:"JsdocTypeUnion",elements:[k(m),...b]}},"parseInfix")}),J=[se,ae,be,ue,ee,Re,Oe({allowTrailingComma:!0}),He,Ke,ae];function Q({allowSquareBracketsOnAnyType:l,allowJsdocNamePaths:m,pathGrammar:b}){return i(function(F,G,Z){if(Z==null||G>=D.NAME_PATH)return null;const ce=F.lexer.current.type,_e=F.lexer.next.type;if(!(ce==="."&&_e!=="<"||ce==="["&&(l||Z.type==="JsdocTypeName")||m&&(ce==="~"||ce==="#")))return null;let Me,fr=!1;F.consume(".")?Me="property":F.consume("[")?(Me="property-brackets",fr=!0):F.consume("~")?Me="inner":(F.consume("#"),Me="instance");const di=b!==null?new X(b,F.lexer,F):F,Qe=di.parseIntermediateType(D.NAME_PATH);F.acceptLexerState(di);let Jt;switch(Qe.type){case"JsdocTypeName":Jt={type:"JsdocTypeProperty",value:Qe.value,meta:{quote:void 0}};break;case"JsdocTypeNumber":Jt={type:"JsdocTypeProperty",value:Qe.value.toString(10),meta:{quote:void 0}};break;case"JsdocTypeStringValue":Jt={type:"JsdocTypeProperty",value:Qe.value,meta:{quote:Qe.meta.quote}};break;case"JsdocTypeSpecialNamePath":if(Qe.specialType==="event")Jt=Qe;else throw new d(Qe,"Type 'JsdocTypeSpecialNamePath' is only allowed with specialType 'event'");break;default:throw new d(Qe,"Expecting 'JsdocTypeName', 'JsdocTypeNumber', 'JsdocStringValue' or 'JsdocTypeSpecialNamePath'")}if(fr&&!F.consume("]")){const pi=F.lexer.current;throw new Error(`Unterminated square brackets. Next token is '${pi.type}' with text '${pi.text}'`)}return{type:"JsdocTypeNamePath",left:k(Z),right:Jt,pathType:Me}},"namePathParslet")}i(Q,"createNamePathParslet");function re({allowedAdditionalTokens:l}){return W({name:"nameParslet",accept:i(m=>m==="Identifier"||m==="this"||m==="new"||l.includes(m),"accept"),parsePrefix:i(m=>{const{type:b,text:x}=m.lexer.current;return m.consume(b),{type:"JsdocTypeName",value:x}},"parsePrefix")})}i(re,"createNameParslet");const oe=W({name:"stringValueParslet",accept:i(l=>l==="StringValue","accept"),parsePrefix:i(l=>{const m=l.lexer.current.text;return l.consume("StringValue"),{type:"JsdocTypeStringValue",value:m.slice(1,-1),meta:{quote:m[0]==="'"?"single":"double"}}},"parsePrefix")});function ne({pathGrammar:l,allowedTypes:m}){return W({name:"specialNamePathParslet",accept:i(b=>m.includes(b),"accept"),parsePrefix:i(b=>{const x=b.lexer.current.type;if(b.consume(x),!b.consume(":"))return{type:"JsdocTypeName",value:x};let F,G=b.lexer.current;if(b.consume("StringValue"))F={type:"JsdocTypeSpecialNamePath",value:G.text.slice(1,-1),specialType:x,meta:{quote:G.text[0]==="'"?"single":"double"}};else{let _e="";const Ee=["Identifier","@","/"];for(;Ee.some(Me=>b.consume(Me));)_e+=G.text,G=b.lexer.current;F={type:"JsdocTypeSpecialNamePath",value:_e,specialType:x,meta:{quote:void 0}}}const Z=new X(l,b.lexer,b),ce=Z.parseInfixIntermediateType(F,D.ALL);return b.acceptLexerState(Z),k(ce)},"parsePrefix")})}i(ne,"createSpecialNamePathParslet");const de=[re({allowedAdditionalTokens:["external","module"]}),oe,be,Q({allowSquareBracketsOnAnyType:!1,allowJsdocNamePaths:!0,pathGrammar:null})],he=[...de,ne({allowedTypes:["event"],pathGrammar:de})];function pe(l){let m;if(l.type==="JsdocTypeParameterList")m=l.elements;else if(l.type==="JsdocTypeParenthesis")m=[l.element];else throw new d(l);return m.map(b=>I(b))}i(pe,"getParameters");function $e(l){const m=pe(l);if(m.some(b=>b.type==="JsdocTypeKeyValue"))throw new Error("No parameter should be named");return m}i($e,"getUnnamedParameters");function it({allowNamedParameters:l,allowNoReturnType:m,allowWithoutParenthesis:b,allowNewAsFunctionKeyword:x}){return W({name:"functionParslet",accept:i((F,G)=>F==="function"||x&&F==="new"&&G==="(","accept"),parsePrefix:i(F=>{const G=F.consume("new");F.consume("function");const Z=F.lexer.current.type==="(";if(!Z){if(!b)throw new Error("function is missing parameter list");return{type:"JsdocTypeName",value:"function"}}let ce={type:"JsdocTypeFunction",parameters:[],arrow:!1,constructor:G,parenthesis:Z};const _e=F.parseIntermediateType(D.FUNCTION);if(l===void 0)ce.parameters=$e(_e);else{if(G&&_e.type==="JsdocTypeFunction"&&_e.arrow)return ce=_e,ce.constructor=!0,ce;ce.parameters=pe(_e);for(const Ee of ce.parameters)if(Ee.type==="JsdocTypeKeyValue"&&!l.includes(Ee.key))throw new Error(`only allowed named parameters are ${l.join(", ")} but got ${Ee.type}`)}if(F.consume(":"))ce.returnType=F.parseType(D.PREFIX);else if(!m)throw new Error("function is missing return type");return ce},"parsePrefix")})}i(it,"createFunctionParslet");function pt({allowPostfix:l,allowEnclosingBrackets:m}){return W({name:"variadicParslet",accept:i(b=>b==="...","accept"),precedence:D.PREFIX,parsePrefix:i(b=>{b.consume("...");const x=m&&b.consume("[");try{const F=b.parseType(D.PREFIX);if(x&&!b.consume("]"))throw new Error("Unterminated variadic type. Missing ']'");return{type:"JsdocTypeVariadic",element:k(F),meta:{position:"prefix",squareBrackets:x}}}catch(F){if(F instanceof s){if(x)throw new Error("Empty square brackets for variadic are not allowed.");return{type:"JsdocTypeVariadic",meta:{position:void 0,squareBrackets:!1}}}else throw F}},"parsePrefix"),parseInfix:l?(b,x)=>(b.consume("..."),{type:"JsdocTypeVariadic",element:k(x),meta:{position:"suffix",squareBrackets:!1}}):void 0})}i(pt,"createVariadicParslet");const wt=W({name:"symbolParslet",accept:i(l=>l==="(","accept"),precedence:D.SYMBOL,parseInfix:i((l,m)=>{if(m.type!=="JsdocTypeName")throw new Error("Symbol expects a name on the left side. (Reacting on '(')");l.consume("(");const b={type:"JsdocTypeSymbol",value:m.value};if(!l.consume(")")){const x=l.parseIntermediateType(D.SYMBOL);if(b.element=A(x),!l.consume(")"))throw new Error("Symbol does not end after value")}return b},"parseInfix")}),st=W({name:"arrayBracketsParslet",precedence:D.ARRAY_BRACKETS,accept:i((l,m)=>l==="["&&m==="]","accept"),parseInfix:i((l,m)=>(l.consume("["),l.consume("]"),{type:"JsdocTypeGeneric",left:{type:"JsdocTypeName",value:"Array"},elements:[k(m)],meta:{brackets:"square",dot:!1}}),"parseInfix")});function ft({objectFieldGrammar:l,allowKeyTypes:m}){return W({name:"objectParslet",accept:i(b=>b==="{","accept"),parsePrefix:i(b=>{b.consume("{");const x={type:"JsdocTypeObject",meta:{separator:"comma"},elements:[]};if(!b.consume("}")){let F;const G=new X(l,b.lexer,b);for(;;){G.acceptLexerState(b);let Z=G.parseIntermediateType(D.OBJECT);b.acceptLexerState(G),Z===void 0&&m&&(Z=b.parseIntermediateType(D.OBJECT));let ce=!1;if(Z.type==="JsdocTypeNullable"&&(ce=!0,Z=Z.element),Z.type==="JsdocTypeNumber"||Z.type==="JsdocTypeName"||Z.type==="JsdocTypeStringValue"){let Ee;Z.type==="JsdocTypeStringValue"&&(Ee=Z.meta.quote),x.elements.push({type:"JsdocTypeObjectField",key:Z.value.toString(),right:void 0,optional:ce,readonly:!1,meta:{quote:Ee}})}else if(Z.type==="JsdocTypeObjectField"||Z.type==="JsdocTypeJsdocObjectField")x.elements.push(Z);else throw new d(Z);if(b.lexer.current.startOfLine)F="linebreak",b.consume(",")||b.consume(";");else if(b.consume(","))F="comma";else if(b.consume(";"))F="semicolon";else break;if(b.lexer.current.type==="}")break}if(x.meta.separator=F??"comma",F==="linebreak"&&(x.meta.propertyIndent=" "),!b.consume("}"))throw new Error("Unterminated record type. Missing '}'")}return x},"parsePrefix")})}i(ft,"createObjectParslet");function mt({allowSquaredProperties:l,allowKeyTypes:m,allowReadonly:b,allowOptional:x}){return W({name:"objectFieldParslet",precedence:D.KEY_VALUE,accept:i(F=>F===":","accept"),parseInfix:i((F,G)=>{var Z;let ce=!1,_e=!1;x&&G.type==="JsdocTypeNullable"&&(ce=!0,G=G.element),b&&G.type==="JsdocTypeReadonlyProperty"&&(_e=!0,G=G.element);const Ee=(Z=F.baseParser)!==null&&Z!==void 0?Z:F;if(Ee.acceptLexerState(F),G.type==="JsdocTypeNumber"||G.type==="JsdocTypeName"||G.type==="JsdocTypeStringValue"||$(G)){if($(G)&&!l)throw new d(G);Ee.consume(":");let Me;G.type==="JsdocTypeStringValue"&&(Me=G.meta.quote);const fr=Ee.parseType(D.KEY_VALUE);return F.acceptLexerState(Ee),{type:"JsdocTypeObjectField",key:$(G)?G:G.value.toString(),right:fr,optional:ce,readonly:_e,meta:{quote:Me}}}else{if(!m)throw new d(G);Ee.consume(":");const Me=Ee.parseType(D.KEY_VALUE);return F.acceptLexerState(Ee),{type:"JsdocTypeJsdocObjectField",left:k(G),right:Me}}},"parseInfix")})}i(mt,"createObjectFieldParslet");function ht({allowOptional:l,allowVariadic:m}){return W({name:"keyValueParslet",precedence:D.KEY_VALUE,accept:i(b=>b===":","accept"),parseInfix:i((b,x)=>{let F=!1,G=!1;if(l&&x.type==="JsdocTypeNullable"&&(F=!0,x=x.element),m&&x.type==="JsdocTypeVariadic"&&x.element!==void 0&&(G=!0,x=x.element),x.type!=="JsdocTypeName")throw new d(x);b.consume(":");const Z=b.parseType(D.KEY_VALUE);return{type:"JsdocTypeKeyValue",key:x.value,right:Z,optional:F,variadic:G}},"parseInfix")})}i(ht,"createKeyValueParslet");const tn=[...J,it({allowWithoutParenthesis:!0,allowNamedParameters:["this","new"],allowNoReturnType:!0,allowNewAsFunctionKeyword:!1}),oe,ne({allowedTypes:["module","external","event"],pathGrammar:he}),pt({allowEnclosingBrackets:!0,allowPostfix:!0}),re({allowedAdditionalTokens:["keyof"]}),wt,st,Q({allowSquareBracketsOnAnyType:!1,allowJsdocNamePaths:!0,pathGrammar:he})],Jo=[...tn,ft({objectFieldGrammar:[re({allowedAdditionalTokens:["typeof","module","in"]}),mt({allowSquaredProperties:!1,allowKeyTypes:!0,allowOptional:!1,allowReadonly:!1}),...tn],allowKeyTypes:!0}),ht({allowOptional:!0,allowVariadic:!0})],rn=W({name:"typeOfParslet",accept:i(l=>l==="typeof","accept"),parsePrefix:i(l=>(l.consume("typeof"),{type:"JsdocTypeTypeof",element:l.parseType(D.KEY_OF_TYPE_OF)}),"parsePrefix")}),Uo=[re({allowedAdditionalTokens:["typeof","module","keyof","event","external","in"]}),se,ae,oe,be,mt({allowSquaredProperties:!1,allowKeyTypes:!1,allowOptional:!1,allowReadonly:!1})],Vo=[...J,ft({allowKeyTypes:!1,objectFieldGrammar:Uo}),re({allowedAdditionalTokens:["event","external","in"]}),rn,it({allowWithoutParenthesis:!1,allowNamedParameters:["this","new"],allowNoReturnType:!0,allowNewAsFunctionKeyword:!1}),pt({allowEnclosingBrackets:!1,allowPostfix:!1}),re({allowedAdditionalTokens:["keyof"]}),ne({allowedTypes:["module"],pathGrammar:he}),Q({allowSquareBracketsOnAnyType:!1,allowJsdocNamePaths:!0,pathGrammar:he}),ht({allowOptional:!1,allowVariadic:!1}),wt],Ho=W({name:"assertsParslet",accept:i(l=>l==="asserts","accept"),parsePrefix:i(l=>{l.consume("asserts");const m=l.parseIntermediateType(D.SYMBOL);if(m.type!=="JsdocTypeName")throw new d(m,"A typescript asserts always has to have a name on the left side.");return l.consume("is")?{type:"JsdocTypeAsserts",left:m,right:k(l.parseIntermediateType(D.INFIX))}:{type:"JsdocTypeAssertsPlain",element:m}},"parsePrefix")});function nn({allowQuestionMark:l}){return W({name:"tupleParslet",accept:i(m=>m==="[","accept"),parsePrefix:i(m=>{m.consume("[");const b={type:"JsdocTypeTuple",elements:[]};if(m.consume("]"))return b;const x=m.parseIntermediateType(D.ALL);if(x.type==="JsdocTypeParameterList"?x.elements[0].type==="JsdocTypeKeyValue"?b.elements=x.elements.map(H):b.elements=x.elements.map(k):x.type==="JsdocTypeKeyValue"?b.elements=[H(x)]:b.elements=[k(x)],!m.consume("]"))throw new Error("Unterminated '['");if(b.elements.some(F=>F.type==="JsdocTypeUnknown"))throw new Error("Question mark in tuple not allowed");return b},"parsePrefix")})}i(nn,"createTupleParslet");const zo=W({name:"keyOfParslet",accept:i(l=>l==="keyof","accept"),parsePrefix:i(l=>(l.consume("keyof"),{type:"JsdocTypeKeyof",element:k(l.parseType(D.KEY_OF_TYPE_OF))}),"parsePrefix")}),Go=W({name:"importParslet",accept:i(l=>l==="import","accept"),parsePrefix:i(l=>{if(l.consume("import"),!l.consume("("))throw new Error("Missing parenthesis after import keyword");const m=l.parseType(D.PREFIX);if(m.type!=="JsdocTypeStringValue")throw new Error("Only string values are allowed as paths for imports");if(!l.consume(")"))throw new Error("Missing closing parenthesis after import keyword");return{type:"JsdocTypeImport",element:m}},"parsePrefix")}),Wo=W({name:"readonlyPropertyParslet",accept:i(l=>l==="readonly","accept"),parsePrefix:i(l=>(l.consume("readonly"),{type:"JsdocTypeReadonlyProperty",element:l.parseIntermediateType(D.KEY_VALUE)}),"parsePrefix")}),Ko=W({name:"arrowFunctionParslet",precedence:D.ARROW,accept:i(l=>l==="=>","accept"),parseInfix:i((l,m)=>(l.consume("=>"),{type:"JsdocTypeFunction",parameters:pe(m).map(V),arrow:!0,constructor:!1,parenthesis:!0,returnType:l.parseType(D.OBJECT)}),"parseInfix")}),Yo=W({name:"genericArrowFunctionParslet",accept:i(l=>l==="<","accept"),parsePrefix:i(l=>{const m=[];l.consume("<");do{let x,F=l.parseIntermediateType(D.SYMBOL);if(F.type==="JsdocTypeOptional"&&(F=F.element,x=l.parseType(D.SYMBOL)),F.type!=="JsdocTypeName")throw new d(F);let G;l.consume("extends")&&(G=l.parseType(D.SYMBOL),G.type==="JsdocTypeOptional"&&(G=G.element,x=l.parseType(D.SYMBOL)));const Z={type:"JsdocTypeTypeParameter",name:F};if(G!==void 0&&(Z.constraint=G),x!==void 0&&(Z.defaultValue=x),m.push(Z),l.consume(">"))break}while(l.consume(","));const b=l.parseIntermediateType(D.SYMBOL);return b.typeParameters=m,b},"parsePrefix")}),Xo=W({name:"intersectionParslet",accept:i(l=>l==="&","accept"),precedence:D.INTERSECTION,parseInfix:i((l,m)=>{l.consume("&");const b=[];do b.push(l.parseType(D.INTERSECTION));while(l.consume("&"));return{type:"JsdocTypeIntersection",elements:[k(m),...b]}},"parseInfix")}),Qo=W({name:"predicateParslet",precedence:D.INFIX,accept:i(l=>l==="is","accept"),parseInfix:i((l,m)=>{if(m.type!=="JsdocTypeName")throw new d(m,"A typescript predicate always has to have a name on the left side.");return l.consume("is"),{type:"JsdocTypePredicate",left:m,right:k(l.parseIntermediateType(D.INFIX))}},"parseInfix")}),Zo=W({name:"objectSquareBracketPropertyParslet",accept:i(l=>l==="[","accept"),parsePrefix:i(l=>{if(l.baseParser===void 0)throw new Error("Only allowed inside object grammar");l.consume("[");const m=l.lexer.current.text;l.consume("Identifier");let b;if(l.consume(":")){const x=l.baseParser;x.acceptLexerState(l),b={type:"JsdocTypeIndexSignature",key:m,right:x.parseType(D.INDEX_BRACKETS)},l.acceptLexerState(x)}else if(l.consume("in")){const x=l.baseParser;x.acceptLexerState(l),b={type:"JsdocTypeMappedType",key:m,right:x.parseType(D.ARRAY_BRACKETS)},l.acceptLexerState(x)}else throw new Error("Missing ':' or 'in' inside square bracketed property.");if(!l.consume("]"))throw new Error("Unterminated square brackets");return b},"parsePrefix")}),ei=W({name:"readonlyArrayParslet",accept:i(l=>l==="readonly","accept"),parsePrefix:i(l=>(l.consume("readonly"),{type:"JsdocTypeReadonlyArray",element:L(l.parseIntermediateType(D.ALL))}),"parsePrefix")}),ti=W({name:"conditionalParslet",precedence:D.INFIX,accept:i(l=>l==="extends","accept"),parseInfix:i((l,m)=>{l.consume("extends");const b=l.parseType(D.KEY_OF_TYPE_OF).element,x=l.parseType(D.INFIX);return l.consume(":"),{type:"JsdocTypeConditional",checksType:k(m),extendsType:b,trueType:x,falseType:l.parseType(D.INFIX)}},"parseInfix")}),ri=[Wo,re({allowedAdditionalTokens:["typeof","module","keyof","event","external","in"]}),se,ae,oe,be,mt({allowSquaredProperties:!0,allowKeyTypes:!1,allowOptional:!0,allowReadonly:!0}),Zo],ni=[...J,ft({allowKeyTypes:!1,objectFieldGrammar:ri}),ei,rn,zo,Go,oe,it({allowWithoutParenthesis:!0,allowNoReturnType:!1,allowNamedParameters:["this","new","args"],allowNewAsFunctionKeyword:!0}),nn({allowQuestionMark:!1}),pt({allowEnclosingBrackets:!1,allowPostfix:!1}),Ho,ti,re({allowedAdditionalTokens:["event","external","in"]}),ne({allowedTypes:["module"],pathGrammar:he}),st,Ko,Yo,Q({allowSquareBracketsOnAnyType:!0,allowJsdocNamePaths:!1,pathGrammar:he}),Xo,Qo,ht({allowVariadic:!0,allowOptional:!0})];function ur(l,m){switch(m){case"closure":return new X(Vo,l).parse();case"jsdoc":return new X(Jo,l).parse();case"typescript":return new X(ni,l).parse()}}i(ur,"parse");function on(l,m=["typescript","closure","jsdoc"]){let b;for(const x of m)try{return ur(l,x)}catch(F){b=F}throw b}i(on,"tryParse");function Y(l,m){const b=l[m.type];if(b===void 0)throw new Error(`In this set of transform rules exists no rule for type ${m.type}.`);return b(m,x=>Y(l,x))}i(Y,"transform");function le(l){throw new Error("This transform is not available. Are you trying the correct parsing mode?")}i(le,"notAvailableTransform");function It(l){const m={params:[]};for(const b of l.parameters)b.type==="JsdocTypeKeyValue"?b.key==="this"?m.this=b.right:b.key==="new"?m.new=b.right:m.params.push(b):m.params.push(b);return m}i(It,"extractSpecialParams");function Bt(l,m,b){return l==="prefix"?b+m:m+b}i(Bt,"applyPosition");function Ye(l,m){switch(m){case"double":return`"${l}"`;case"single":return`'${l}'`;case void 0:return l}}i(Ye,"quote");function sn(){return{JsdocTypeParenthesis:i((l,m)=>`(${l.element!==void 0?m(l.element):""})`,"JsdocTypeParenthesis"),JsdocTypeKeyof:i((l,m)=>`keyof ${m(l.element)}`,"JsdocTypeKeyof"),JsdocTypeFunction:i((l,m)=>{var b;if(l.arrow){if(l.returnType===void 0)throw new Error("Arrow function needs a return type.");let x=`${l.typeParameters!==void 0?`<${(b=l.typeParameters.map(m).join(", "))!==null&&b!==void 0?b:""}>`:""}(${l.parameters.map(m).join(", ")}) => ${m(l.returnType)}`;return l.constructor&&(x="new "+x),x}else{let x=l.constructor?"new":"function";return l.parenthesis&&(x+=`(${l.parameters.map(m).join(", ")})`,l.returnType!==void 0&&(x+=`: ${m(l.returnType)}`)),x}},"JsdocTypeFunction"),JsdocTypeName:i(l=>l.value,"JsdocTypeName"),JsdocTypeTuple:i((l,m)=>`[${l.elements.map(m).join(", ")}]`,"JsdocTypeTuple"),JsdocTypeVariadic:i((l,m)=>l.meta.position===void 0?"...":Bt(l.meta.position,m(l.element),"..."),"JsdocTypeVariadic"),JsdocTypeNamePath:i((l,m)=>{const b=m(l.left),x=m(l.right);switch(l.pathType){case"inner":return`${b}~${x}`;case"instance":return`${b}#${x}`;case"property":return`${b}.${x}`;case"property-brackets":return`${b}[${x}]`}},"JsdocTypeNamePath"),JsdocTypeStringValue:i(l=>Ye(l.value,l.meta.quote),"JsdocTypeStringValue"),JsdocTypeAny:i(()=>"*","JsdocTypeAny"),JsdocTypeGeneric:i((l,m)=>{if(l.meta.brackets==="square"){const b=l.elements[0],x=m(b);return b.type==="JsdocTypeUnion"||b.type==="JsdocTypeIntersection"?`(${x})[]`:`${x}[]`}else return`${m(l.left)}${l.meta.dot?".":""}<${l.infer===!0?"infer ":""}${l.elements.map(m).join(", ")}>`},"JsdocTypeGeneric"),JsdocTypeImport:i((l,m)=>`import(${m(l.element)})`,"JsdocTypeImport"),JsdocTypeObjectField:i((l,m)=>{let b="";return l.readonly&&(b+="readonly "),typeof l.key=="string"?b+=Ye(l.key,l.meta.quote):b+=m(l.key),l.optional&&(b+="?"),l.right===void 0?b:b+`: ${m(l.right)}`},"JsdocTypeObjectField"),JsdocTypeJsdocObjectField:i((l,m)=>`${m(l.left)}: ${m(l.right)}`,"JsdocTypeJsdocObjectField"),JsdocTypeKeyValue:i((l,m)=>{let b=l.key;return l.optional&&(b+="?"),l.variadic&&(b="..."+b),l.right===void 0?b:b+`: ${m(l.right)}`},"JsdocTypeKeyValue"),JsdocTypeSpecialNamePath:i(l=>`${l.specialType}:${Ye(l.value,l.meta.quote)}`,"JsdocTypeSpecialNamePath"),JsdocTypeNotNullable:i((l,m)=>Bt(l.meta.position,m(l.element),"!"),"JsdocTypeNotNullable"),JsdocTypeNull:i(()=>"null","JsdocTypeNull"),JsdocTypeNullable:i((l,m)=>Bt(l.meta.position,m(l.element),"?"),"JsdocTypeNullable"),JsdocTypeNumber:i(l=>l.value.toString(),"JsdocTypeNumber"),JsdocTypeObject:i((l,m)=>{var b,x;return`{${(l.meta.separator==="linebreak"&&l.elements.length>1?`
15
15
  `+((b=l.meta.propertyIndent)!==null&&b!==void 0?b:""):"")+l.elements.map(m).join(l.meta.separator==="comma"?", ":l.meta.separator==="linebreak"?`
16
16
  `+((x=l.meta.propertyIndent)!==null&&x!==void 0?x:""):"; ")+(l.meta.separator==="linebreak"&&l.elements.length>1?`
17
- `:"")}}`},"JsdocTypeObject"),JsdocTypeOptional:i((l,m)=>Bt(l.meta.position,m(l.element),"="),"JsdocTypeOptional"),JsdocTypeSymbol:i((l,m)=>`${l.value}(${l.element!==void 0?m(l.element):""})`,"JsdocTypeSymbol"),JsdocTypeTypeof:i((l,m)=>`typeof ${m(l.element)}`,"JsdocTypeTypeof"),JsdocTypeUndefined:i(()=>"undefined","JsdocTypeUndefined"),JsdocTypeUnion:i((l,m)=>l.elements.map(m).join(" | "),"JsdocTypeUnion"),JsdocTypeUnknown:i(()=>"?","JsdocTypeUnknown"),JsdocTypeIntersection:i((l,m)=>l.elements.map(m).join(" & "),"JsdocTypeIntersection"),JsdocTypeProperty:i(l=>Ye(l.value,l.meta.quote),"JsdocTypeProperty"),JsdocTypePredicate:i((l,m)=>`${m(l.left)} is ${m(l.right)}`,"JsdocTypePredicate"),JsdocTypeIndexSignature:i((l,m)=>`[${l.key}: ${m(l.right)}]`,"JsdocTypeIndexSignature"),JsdocTypeMappedType:i((l,m)=>`[${l.key} in ${m(l.right)}]`,"JsdocTypeMappedType"),JsdocTypeAsserts:i((l,m)=>`asserts ${m(l.left)} is ${m(l.right)}`,"JsdocTypeAsserts"),JsdocTypeReadonlyArray:i((l,m)=>`readonly ${m(l.element)}`,"JsdocTypeReadonlyArray"),JsdocTypeAssertsPlain:i((l,m)=>`asserts ${m(l.element)}`,"JsdocTypeAssertsPlain"),JsdocTypeConditional:i((l,m)=>`${m(l.checksType)} extends ${m(l.extendsType)} ? ${m(l.trueType)} : ${m(l.falseType)}`,"JsdocTypeConditional"),JsdocTypeTypeParameter:i((l,m)=>`${m(l.name)}${l.constraint!==void 0?` extends ${m(l.constraint)}`:""}${l.defaultValue!==void 0?` = ${m(l.defaultValue)}`:""}`,"JsdocTypeTypeParameter")}}i(sn,"stringifyRules");const Vc=sn();function oi(l){return Y(Vc,l)}i(oi,"stringify");const Hc=["null","true","false","break","case","catch","class","const","continue","debugger","default","delete","do","else","export","extends","finally","for","function","if","import","in","instanceof","new","return","super","switch","this","throw","try","typeof","var","void","while","with","yield"];function Xe(l){const m={type:"NameExpression",name:l};return Hc.includes(l)&&(m.reservedWord=!0),m}i(Xe,"makeName");const zc={JsdocTypeOptional:i((l,m)=>{const b=m(l.element);return b.optional=!0,b},"JsdocTypeOptional"),JsdocTypeNullable:i((l,m)=>{const b=m(l.element);return b.nullable=!0,b},"JsdocTypeNullable"),JsdocTypeNotNullable:i((l,m)=>{const b=m(l.element);return b.nullable=!1,b},"JsdocTypeNotNullable"),JsdocTypeVariadic:i((l,m)=>{if(l.element===void 0)throw new Error("dots without value are not allowed in catharsis mode");const b=m(l.element);return b.repeatable=!0,b},"JsdocTypeVariadic"),JsdocTypeAny:i(()=>({type:"AllLiteral"}),"JsdocTypeAny"),JsdocTypeNull:i(()=>({type:"NullLiteral"}),"JsdocTypeNull"),JsdocTypeStringValue:i(l=>Xe(Ye(l.value,l.meta.quote)),"JsdocTypeStringValue"),JsdocTypeUndefined:i(()=>({type:"UndefinedLiteral"}),"JsdocTypeUndefined"),JsdocTypeUnknown:i(()=>({type:"UnknownLiteral"}),"JsdocTypeUnknown"),JsdocTypeFunction:i((l,m)=>{const b=It(l),x={type:"FunctionType",params:b.params.map(m)};return b.this!==void 0&&(x.this=m(b.this)),b.new!==void 0&&(x.new=m(b.new)),l.returnType!==void 0&&(x.result=m(l.returnType)),x},"JsdocTypeFunction"),JsdocTypeGeneric:i((l,m)=>({type:"TypeApplication",applications:l.elements.map(b=>m(b)),expression:m(l.left)}),"JsdocTypeGeneric"),JsdocTypeSpecialNamePath:i(l=>Xe(l.specialType+":"+Ye(l.value,l.meta.quote)),"JsdocTypeSpecialNamePath"),JsdocTypeName:i(l=>l.value!=="function"?Xe(l.value):{type:"FunctionType",params:[]},"JsdocTypeName"),JsdocTypeNumber:i(l=>Xe(l.value.toString()),"JsdocTypeNumber"),JsdocTypeObject:i((l,m)=>{const b={type:"RecordType",fields:[]};for(const x of l.elements)x.type!=="JsdocTypeObjectField"&&x.type!=="JsdocTypeJsdocObjectField"?b.fields.push({type:"FieldType",key:m(x),value:void 0}):b.fields.push(m(x));return b},"JsdocTypeObject"),JsdocTypeObjectField:i((l,m)=>{if(typeof l.key!="string")throw new Error("Index signatures and mapped types are not supported");return{type:"FieldType",key:Xe(Ye(l.key,l.meta.quote)),value:l.right===void 0?void 0:m(l.right)}},"JsdocTypeObjectField"),JsdocTypeJsdocObjectField:i((l,m)=>({type:"FieldType",key:m(l.left),value:m(l.right)}),"JsdocTypeJsdocObjectField"),JsdocTypeUnion:i((l,m)=>({type:"TypeUnion",elements:l.elements.map(b=>m(b))}),"JsdocTypeUnion"),JsdocTypeKeyValue:i((l,m)=>({type:"FieldType",key:Xe(l.key),value:l.right===void 0?void 0:m(l.right)}),"JsdocTypeKeyValue"),JsdocTypeNamePath:i((l,m)=>{const b=m(l.left);let x;l.right.type==="JsdocTypeSpecialNamePath"?x=m(l.right).name:x=Ye(l.right.value,l.right.meta.quote);const F=l.pathType==="inner"?"~":l.pathType==="instance"?"#":".";return Xe(`${b.name}${F}${x}`)},"JsdocTypeNamePath"),JsdocTypeSymbol:i(l=>{let m="",b=l.element,x=!1;return b?.type==="JsdocTypeVariadic"&&(b.meta.position==="prefix"?m="...":x=!0,b=b.element),b?.type==="JsdocTypeName"?m+=b.value:b?.type==="JsdocTypeNumber"&&(m+=b.value.toString()),x&&(m+="..."),Xe(`${l.value}(${m})`)},"JsdocTypeSymbol"),JsdocTypeParenthesis:i((l,m)=>m(k(l.element)),"JsdocTypeParenthesis"),JsdocTypeMappedType:le,JsdocTypeIndexSignature:le,JsdocTypeImport:le,JsdocTypeKeyof:le,JsdocTypeTuple:le,JsdocTypeTypeof:le,JsdocTypeIntersection:le,JsdocTypeProperty:le,JsdocTypePredicate:le,JsdocTypeAsserts:le,JsdocTypeReadonlyArray:le,JsdocTypeAssertsPlain:le,JsdocTypeConditional:le,JsdocTypeTypeParameter:le};function ii(l){return Y(zc,l)}i(ii,"catharsisTransform");function st(l){switch(l){case void 0:return"none";case"single":return"single";case"double":return"double"}}i(st,"getQuoteStyle");function si(l){switch(l){case"inner":return"INNER_MEMBER";case"instance":return"INSTANCE_MEMBER";case"property":return"MEMBER";case"property-brackets":return"MEMBER"}}i(si,"getMemberType");function dr(l,m){return m.length===2?{type:l,left:m[0],right:m[1]}:{type:l,left:m[0],right:dr(l,m.slice(1))}}i(dr,"nestResults");const Gc={JsdocTypeOptional:i((l,m)=>({type:"OPTIONAL",value:m(l.element),meta:{syntax:l.meta.position==="prefix"?"PREFIX_EQUAL_SIGN":"SUFFIX_EQUALS_SIGN"}}),"JsdocTypeOptional"),JsdocTypeNullable:i((l,m)=>({type:"NULLABLE",value:m(l.element),meta:{syntax:l.meta.position==="prefix"?"PREFIX_QUESTION_MARK":"SUFFIX_QUESTION_MARK"}}),"JsdocTypeNullable"),JsdocTypeNotNullable:i((l,m)=>({type:"NOT_NULLABLE",value:m(l.element),meta:{syntax:l.meta.position==="prefix"?"PREFIX_BANG":"SUFFIX_BANG"}}),"JsdocTypeNotNullable"),JsdocTypeVariadic:i((l,m)=>{const b={type:"VARIADIC",meta:{syntax:l.meta.position==="prefix"?"PREFIX_DOTS":l.meta.position==="suffix"?"SUFFIX_DOTS":"ONLY_DOTS"}};return l.element!==void 0&&(b.value=m(l.element)),b},"JsdocTypeVariadic"),JsdocTypeName:i(l=>({type:"NAME",name:l.value}),"JsdocTypeName"),JsdocTypeTypeof:i((l,m)=>({type:"TYPE_QUERY",name:m(l.element)}),"JsdocTypeTypeof"),JsdocTypeTuple:i((l,m)=>({type:"TUPLE",entries:l.elements.map(m)}),"JsdocTypeTuple"),JsdocTypeKeyof:i((l,m)=>({type:"KEY_QUERY",value:m(l.element)}),"JsdocTypeKeyof"),JsdocTypeImport:i(l=>({type:"IMPORT",path:{type:"STRING_VALUE",quoteStyle:st(l.element.meta.quote),string:l.element.value}}),"JsdocTypeImport"),JsdocTypeUndefined:i(()=>({type:"NAME",name:"undefined"}),"JsdocTypeUndefined"),JsdocTypeAny:i(()=>({type:"ANY"}),"JsdocTypeAny"),JsdocTypeFunction:i((l,m)=>{const b=It(l),x={type:l.arrow?"ARROW":"FUNCTION",params:b.params.map(F=>{if(F.type==="JsdocTypeKeyValue"){if(F.right===void 0)throw new Error("Function parameter without ':' is not expected to be 'KEY_VALUE'");return{type:"NAMED_PARAMETER",name:F.key,typeName:m(F.right)}}else return m(F)}),new:null,returns:null};return b.this!==void 0?x.this=m(b.this):l.arrow||(x.this=null),b.new!==void 0&&(x.new=m(b.new)),l.returnType!==void 0&&(x.returns=m(l.returnType)),x},"JsdocTypeFunction"),JsdocTypeGeneric:i((l,m)=>{const b={type:"GENERIC",subject:m(l.left),objects:l.elements.map(m),meta:{syntax:l.meta.brackets==="square"?"SQUARE_BRACKET":l.meta.dot?"ANGLE_BRACKET_WITH_DOT":"ANGLE_BRACKET"}};return l.meta.brackets==="square"&&l.elements[0].type==="JsdocTypeFunction"&&!l.elements[0].parenthesis&&(b.objects[0]={type:"NAME",name:"function"}),b},"JsdocTypeGeneric"),JsdocTypeObjectField:i((l,m)=>{if(typeof l.key!="string")throw new Error("Index signatures and mapped types are not supported");if(l.right===void 0)return{type:"RECORD_ENTRY",key:l.key,quoteStyle:st(l.meta.quote),value:null,readonly:!1};let b=m(l.right);return l.optional&&(b={type:"OPTIONAL",value:b,meta:{syntax:"SUFFIX_KEY_QUESTION_MARK"}}),{type:"RECORD_ENTRY",key:l.key.toString(),quoteStyle:st(l.meta.quote),value:b,readonly:!1}},"JsdocTypeObjectField"),JsdocTypeJsdocObjectField:i(()=>{throw new Error("Keys may not be typed in jsdoctypeparser.")},"JsdocTypeJsdocObjectField"),JsdocTypeKeyValue:i((l,m)=>{if(l.right===void 0)return{type:"RECORD_ENTRY",key:l.key,quoteStyle:"none",value:null,readonly:!1};let b=m(l.right);return l.optional&&(b={type:"OPTIONAL",value:b,meta:{syntax:"SUFFIX_KEY_QUESTION_MARK"}}),{type:"RECORD_ENTRY",key:l.key,quoteStyle:"none",value:b,readonly:!1}},"JsdocTypeKeyValue"),JsdocTypeObject:i((l,m)=>{const b=[];for(const x of l.elements)(x.type==="JsdocTypeObjectField"||x.type==="JsdocTypeJsdocObjectField")&&b.push(m(x));return{type:"RECORD",entries:b}},"JsdocTypeObject"),JsdocTypeSpecialNamePath:i(l=>{if(l.specialType!=="module")throw new Error(`jsdoctypeparser does not support type ${l.specialType} at this point.`);return{type:"MODULE",value:{type:"FILE_PATH",quoteStyle:st(l.meta.quote),path:l.value}}},"JsdocTypeSpecialNamePath"),JsdocTypeNamePath:i((l,m)=>{let b=!1,x,F;l.right.type==="JsdocTypeSpecialNamePath"&&l.right.specialType==="event"?(b=!0,x=l.right.value,F=st(l.right.meta.quote)):(x=l.right.value,F=st(l.right.meta.quote));const G={type:si(l.pathType),owner:m(l.left),name:x,quoteStyle:F,hasEventPrefix:b};if(G.owner.type==="MODULE"){const Z=G.owner;return G.owner=G.owner.value,Z.value=G,Z}else return G},"JsdocTypeNamePath"),JsdocTypeUnion:i((l,m)=>dr("UNION",l.elements.map(m)),"JsdocTypeUnion"),JsdocTypeParenthesis:i((l,m)=>({type:"PARENTHESIS",value:m(k(l.element))}),"JsdocTypeParenthesis"),JsdocTypeNull:i(()=>({type:"NAME",name:"null"}),"JsdocTypeNull"),JsdocTypeUnknown:i(()=>({type:"UNKNOWN"}),"JsdocTypeUnknown"),JsdocTypeStringValue:i(l=>({type:"STRING_VALUE",quoteStyle:st(l.meta.quote),string:l.value}),"JsdocTypeStringValue"),JsdocTypeIntersection:i((l,m)=>dr("INTERSECTION",l.elements.map(m)),"JsdocTypeIntersection"),JsdocTypeNumber:i(l=>({type:"NUMBER_VALUE",number:l.value.toString()}),"JsdocTypeNumber"),JsdocTypeSymbol:le,JsdocTypeProperty:le,JsdocTypePredicate:le,JsdocTypeMappedType:le,JsdocTypeIndexSignature:le,JsdocTypeAsserts:le,JsdocTypeReadonlyArray:le,JsdocTypeAssertsPlain:le,JsdocTypeConditional:le,JsdocTypeTypeParameter:le};function ai(l){return Y(Gc,l)}i(ai,"jtpTransform");function li(){return{JsdocTypeIntersection:i((l,m)=>({type:"JsdocTypeIntersection",elements:l.elements.map(m)}),"JsdocTypeIntersection"),JsdocTypeGeneric:i((l,m)=>({type:"JsdocTypeGeneric",left:m(l.left),elements:l.elements.map(m),meta:{dot:l.meta.dot,brackets:l.meta.brackets}}),"JsdocTypeGeneric"),JsdocTypeNullable:i(l=>l,"JsdocTypeNullable"),JsdocTypeUnion:i((l,m)=>({type:"JsdocTypeUnion",elements:l.elements.map(m)}),"JsdocTypeUnion"),JsdocTypeUnknown:i(l=>l,"JsdocTypeUnknown"),JsdocTypeUndefined:i(l=>l,"JsdocTypeUndefined"),JsdocTypeTypeof:i((l,m)=>({type:"JsdocTypeTypeof",element:m(l.element)}),"JsdocTypeTypeof"),JsdocTypeSymbol:i((l,m)=>{const b={type:"JsdocTypeSymbol",value:l.value};return l.element!==void 0&&(b.element=m(l.element)),b},"JsdocTypeSymbol"),JsdocTypeOptional:i((l,m)=>({type:"JsdocTypeOptional",element:m(l.element),meta:{position:l.meta.position}}),"JsdocTypeOptional"),JsdocTypeObject:i((l,m)=>({type:"JsdocTypeObject",meta:{separator:"comma"},elements:l.elements.map(m)}),"JsdocTypeObject"),JsdocTypeNumber:i(l=>l,"JsdocTypeNumber"),JsdocTypeNull:i(l=>l,"JsdocTypeNull"),JsdocTypeNotNullable:i((l,m)=>({type:"JsdocTypeNotNullable",element:m(l.element),meta:{position:l.meta.position}}),"JsdocTypeNotNullable"),JsdocTypeSpecialNamePath:i(l=>l,"JsdocTypeSpecialNamePath"),JsdocTypeObjectField:i((l,m)=>({type:"JsdocTypeObjectField",key:l.key,right:l.right===void 0?void 0:m(l.right),optional:l.optional,readonly:l.readonly,meta:l.meta}),"JsdocTypeObjectField"),JsdocTypeJsdocObjectField:i((l,m)=>({type:"JsdocTypeJsdocObjectField",left:m(l.left),right:m(l.right)}),"JsdocTypeJsdocObjectField"),JsdocTypeKeyValue:i((l,m)=>({type:"JsdocTypeKeyValue",key:l.key,right:l.right===void 0?void 0:m(l.right),optional:l.optional,variadic:l.variadic}),"JsdocTypeKeyValue"),JsdocTypeImport:i((l,m)=>({type:"JsdocTypeImport",element:m(l.element)}),"JsdocTypeImport"),JsdocTypeAny:i(l=>l,"JsdocTypeAny"),JsdocTypeStringValue:i(l=>l,"JsdocTypeStringValue"),JsdocTypeNamePath:i(l=>l,"JsdocTypeNamePath"),JsdocTypeVariadic:i((l,m)=>{const b={type:"JsdocTypeVariadic",meta:{position:l.meta.position,squareBrackets:l.meta.squareBrackets}};return l.element!==void 0&&(b.element=m(l.element)),b},"JsdocTypeVariadic"),JsdocTypeTuple:i((l,m)=>({type:"JsdocTypeTuple",elements:l.elements.map(m)}),"JsdocTypeTuple"),JsdocTypeName:i(l=>l,"JsdocTypeName"),JsdocTypeFunction:i((l,m)=>{const b={type:"JsdocTypeFunction",arrow:l.arrow,parameters:l.parameters.map(m),constructor:l.constructor,parenthesis:l.parenthesis};return l.returnType!==void 0&&(b.returnType=m(l.returnType)),b},"JsdocTypeFunction"),JsdocTypeKeyof:i((l,m)=>({type:"JsdocTypeKeyof",element:m(l.element)}),"JsdocTypeKeyof"),JsdocTypeParenthesis:i((l,m)=>({type:"JsdocTypeParenthesis",element:m(l.element)}),"JsdocTypeParenthesis"),JsdocTypeProperty:i(l=>l,"JsdocTypeProperty"),JsdocTypePredicate:i((l,m)=>({type:"JsdocTypePredicate",left:m(l.left),right:m(l.right)}),"JsdocTypePredicate"),JsdocTypeIndexSignature:i((l,m)=>({type:"JsdocTypeIndexSignature",key:l.key,right:m(l.right)}),"JsdocTypeIndexSignature"),JsdocTypeMappedType:i((l,m)=>({type:"JsdocTypeMappedType",key:l.key,right:m(l.right)}),"JsdocTypeMappedType"),JsdocTypeAsserts:i((l,m)=>({type:"JsdocTypeAsserts",left:m(l.left),right:m(l.right)}),"JsdocTypeAsserts"),JsdocTypeReadonlyArray:i((l,m)=>({type:"JsdocTypeReadonlyArray",element:m(l.element)}),"JsdocTypeReadonlyArray"),JsdocTypeAssertsPlain:i((l,m)=>({type:"JsdocTypeAssertsPlain",element:m(l.element)}),"JsdocTypeAssertsPlain"),JsdocTypeConditional:i((l,m)=>({type:"JsdocTypeConditional",checksType:m(l.checksType),extendsType:m(l.extendsType),trueType:m(l.trueType),falseType:m(l.falseType)}),"JsdocTypeConditional"),JsdocTypeTypeParameter:i((l,m)=>({type:"JsdocTypeTypeParameter",name:m(l.name),constraint:l.constraint!==void 0?m(l.constraint):void 0,defaultValue:l.defaultValue!==void 0?m(l.defaultValue):void 0}),"JsdocTypeTypeParameter")}}i(li,"identityTransformRules");const ci={JsdocTypeAny:[],JsdocTypeFunction:["parameters","returnType"],JsdocTypeGeneric:["left","elements"],JsdocTypeImport:[],JsdocTypeIndexSignature:["right"],JsdocTypeIntersection:["elements"],JsdocTypeKeyof:["element"],JsdocTypeKeyValue:["right"],JsdocTypeMappedType:["right"],JsdocTypeName:[],JsdocTypeNamePath:["left","right"],JsdocTypeNotNullable:["element"],JsdocTypeNull:[],JsdocTypeNullable:["element"],JsdocTypeNumber:[],JsdocTypeObject:["elements"],JsdocTypeObjectField:["right"],JsdocTypeJsdocObjectField:["left","right"],JsdocTypeOptional:["element"],JsdocTypeParenthesis:["element"],JsdocTypeSpecialNamePath:[],JsdocTypeStringValue:[],JsdocTypeSymbol:["element"],JsdocTypeTuple:["elements"],JsdocTypeTypeof:["element"],JsdocTypeUndefined:[],JsdocTypeUnion:["elements"],JsdocTypeUnknown:[],JsdocTypeVariadic:["element"],JsdocTypeProperty:[],JsdocTypePredicate:["left","right"],JsdocTypeAsserts:["left","right"],JsdocTypeReadonlyArray:["element"],JsdocTypeAssertsPlain:["element"],JsdocTypeConditional:["checksType","extendsType","trueType","falseType"],JsdocTypeTypeParameter:["name","constraint","defaultValue"]};function pr(l,m,b,x,F){x?.(l,m,b);const G=ci[l.type];for(const Z of G){const ce=l[Z];if(ce!==void 0)if(Array.isArray(ce))for(const _e of ce)pr(_e,l,Z,x,F);else pr(ce,l,Z,x,F)}F?.(l,m,b)}i(pr,"_traverse");function ui(l,m,b){pr(l,void 0,void 0,m,b)}i(ui,"traverse"),r.catharsisTransform=ii,r.identityTransformRules=li,r.jtpTransform=ai,r.parse=ur,r.stringify=oi,r.stringifyRules=sn,r.transform=Y,r.traverse=ui,r.tryParse=on,r.visitorKeys=ci})}}),Mk=B({"../node_modules/browser-dtector/browser-dtector.umd.min.js"(e,t){(function(r,n){typeof e=="object"&&typeof t<"u"?t.exports=n():typeof define=="function"&&define.amd?define(n):(r=typeof globalThis<"u"?globalThis:r||self).BrowserDetector=n()})(e,function(){function r(u,d){for(var p=0;p<d.length;p++){var f=d[p];f.enumerable=f.enumerable||!1,f.configurable=!0,"value"in f&&(f.writable=!0),Object.defineProperty(u,(h=f.key,y=void 0,typeof(y=(function(g,E){if(typeof g!="object"||g===null)return g;var T=g[Symbol.toPrimitive];if(T!==void 0){var v=T.call(g,E);if(typeof v!="object")return v;throw new TypeError("@@toPrimitive must return a primitive value.")}return(E==="string"?String:Number)(g)})(h,"string"))=="symbol"?y:String(y)),f)}var h,y}i(r,"e");var n={chrome:"Google Chrome",brave:"Brave",crios:"Google Chrome",edge:"Microsoft Edge",edg:"Microsoft Edge",edgios:"Microsoft Edge",fennec:"Mozilla Firefox",jsdom:"JsDOM",mozilla:"Mozilla Firefox",fxios:"Mozilla Firefox",msie:"Microsoft Internet Explorer",opera:"Opera",opios:"Opera",opr:"Opera",opt:"Opera",rv:"Microsoft Internet Explorer",safari:"Safari",samsungbrowser:"Samsung Browser",electron:"Electron"},o={android:"Android",androidTablet:"Android Tablet",cros:"Chrome OS",fennec:"Android Tablet",ipad:"IPad",iphone:"IPhone",jsdom:"JsDOM",linux:"Linux",mac:"Macintosh",tablet:"Android Tablet",win:"Windows","windows phone":"Windows Phone",xbox:"Microsoft Xbox"},s=i(function(u){var d=new RegExp("^-?\\d+(?:.\\d{0,".concat(arguments.length>1&&arguments[1]!==void 0?arguments[1]:-1,"})?")),p=Number(u).toString().match(d);return p?p[0]:null},"n"),a=i(function(){return typeof window<"u"?window.navigator:null},"i"),c=(function(){function u(h){var y;(function(g,E){if(!(g instanceof E))throw new TypeError("Cannot call a class as a function")})(this,u),this.userAgent=h||((y=a())===null||y===void 0?void 0:y.userAgent)||null}i(u,"t");var d,p,f;return d=u,p=[{key:"parseUserAgent",value:i(function(h){var y,g,E,T={},v=h||this.userAgent||"",_=v.toLowerCase().replace(/\s\s+/g," "),R=/(edge)\/([\w.]+)/.exec(_)||/(edg)[/]([\w.]+)/.exec(_)||/(opr)[/]([\w.]+)/.exec(_)||/(opt)[/]([\w.]+)/.exec(_)||/(fxios)[/]([\w.]+)/.exec(_)||/(edgios)[/]([\w.]+)/.exec(_)||/(jsdom)[/]([\w.]+)/.exec(_)||/(samsungbrowser)[/]([\w.]+)/.exec(_)||/(electron)[/]([\w.]+)/.exec(_)||/(chrome)[/]([\w.]+)/.exec(_)||/(crios)[/]([\w.]+)/.exec(_)||/(opios)[/]([\w.]+)/.exec(_)||/(version)(applewebkit)[/]([\w.]+).*(safari)[/]([\w.]+)/.exec(_)||/(webkit)[/]([\w.]+).*(version)[/]([\w.]+).*(safari)[/]([\w.]+)/.exec(_)||/(applewebkit)[/]([\w.]+).*(safari)[/]([\w.]+)/.exec(_)||/(webkit)[/]([\w.]+)/.exec(_)||/(opera)(?:.*version|)[/]([\w.]+)/.exec(_)||/(msie) ([\w.]+)/.exec(_)||/(fennec)[/]([\w.]+)/.exec(_)||_.indexOf("trident")>=0&&/(rv)(?::| )([\w.]+)/.exec(_)||_.indexOf("compatible")<0&&/(mozilla)(?:.*? rv:([\w.]+)|)/.exec(_)||[],N=/(ipad)/.exec(_)||/(ipod)/.exec(_)||/(iphone)/.exec(_)||/(jsdom)/.exec(_)||/(windows phone)/.exec(_)||/(xbox)/.exec(_)||/(win)/.exec(_)||/(tablet)/.exec(_)||/(android)/.test(_)&&/(mobile)/.test(_)===!1&&["androidTablet"]||/(android)/.exec(_)||/(mac)/.exec(_)||/(linux)/.exec(_)||/(cros)/.exec(_)||[],j=R[5]||R[3]||R[1]||null,C=N[0]||null,P=R[4]||R[2]||null,w=a();j==="chrome"&&typeof(w==null||(y=w.brave)===null||y===void 0?void 0:y.isBrave)=="function"&&(j="brave"),j&&(T[j]=!0),C&&(T[C]=!0);var S=!!(T.tablet||T.android||T.androidTablet),k=!!(T.ipad||T.tablet||T.androidTablet),I=!!(T.android||T.androidTablet||T.tablet||T.ipad||T.ipod||T.iphone||T["windows phone"]),V=!!(T.cros||T.mac||T.linux||T.win),H=!!(T.brave||T.chrome||T.crios||T.opr||T.safari||T.edg||T.electron),A=!!(T.msie||T.rv);return{name:(g=n[j])!==null&&g!==void 0?g:null,platform:(E=o[C])!==null&&E!==void 0?E:null,userAgent:v,version:P,shortVersion:P?s(parseFloat(P),2):null,isAndroid:S,isTablet:k,isMobile:I,isDesktop:V,isWebkit:H,isIE:A}},"value")},{key:"getBrowserInfo",value:i(function(){var h=this.parseUserAgent();return{name:h.name,platform:h.platform,userAgent:h.userAgent,version:h.version,shortVersion:h.shortVersion}},"value")}],f=[{key:"VERSION",get:i(function(){return"3.4.0"},"get")}],p&&r(d.prototype,p),f&&r(d,f),Object.defineProperty(d,"prototype",{writable:!1}),u})();return c})}}),Ap={};Tt(Ap,{ARGTYPES_INFO_REQUEST:()=>Bv,ARGTYPES_INFO_RESPONSE:()=>Pu,CHANNEL_CREATED:()=>jk,CHANNEL_WS_DISCONNECT:()=>Tv,CONFIG_ERROR:()=>wv,CREATE_NEW_STORYFILE_REQUEST:()=>kk,CREATE_NEW_STORYFILE_RESPONSE:()=>Dk,CURRENT_STORY_WAS_SET:()=>wu,DOCS_PREPARED:()=>_v,DOCS_RENDERED:()=>Op,FILE_COMPONENT_SEARCH_REQUEST:()=>Lk,FILE_COMPONENT_SEARCH_RESPONSE:()=>Fk,FORCE_REMOUNT:()=>fa,FORCE_RE_RENDER:()=>Cp,GLOBALS_UPDATED:()=>Ui,NAVIGATE_URL:()=>$k,OPEN_IN_EDITOR_REQUEST:()=>oD,OPEN_IN_EDITOR_RESPONSE:()=>iD,PLAY_FUNCTION_THREW_EXCEPTION:()=>Sv,PRELOAD_ENTRIES:()=>Av,PREVIEW_BUILDER_PROGRESS:()=>Bk,PREVIEW_INITIALIZED:()=>Rv,PREVIEW_KEYDOWN:()=>Ov,REGISTER_SUBSCRIPTION:()=>Jk,REQUEST_WHATS_NEW_DATA:()=>Qk,RESET_STORY_ARGS:()=>xp,RESULT_WHATS_NEW_DATA:()=>Zk,SAVE_STORY_REQUEST:()=>rD,SAVE_STORY_RESPONSE:()=>nD,SELECT_STORY:()=>Uk,SET_CONFIG:()=>Vk,SET_CURRENT_STORY:()=>Np,SET_FILTER:()=>Hk,SET_GLOBALS:()=>Cv,SET_INDEX:()=>zk,SET_STORIES:()=>Gk,SET_WHATS_NEW_CACHE:()=>eD,SHARED_STATE_CHANGED:()=>Wk,SHARED_STATE_SET:()=>Kk,STORIES_COLLAPSE_ALL:()=>Yk,STORIES_EXPAND_ALL:()=>Xk,STORY_ARGS_UPDATED:()=>xv,STORY_CHANGED:()=>Nv,STORY_ERRORED:()=>Iv,STORY_FINISHED:()=>Su,STORY_HOT_UPDATED:()=>Lv,STORY_INDEX_INVALIDATED:()=>Mv,STORY_MISSING:()=>_u,STORY_PREPARED:()=>qv,STORY_RENDERED:()=>ma,STORY_RENDER_PHASE_CHANGED:()=>wn,STORY_SPECIFIED:()=>jv,STORY_THREW_EXCEPTION:()=>kv,STORY_UNCHANGED:()=>Dv,TELEMETRY_ERROR:()=>$v,TOGGLE_WHATS_NEW_NOTIFICATIONS:()=>tD,UNHANDLED_ERRORS_WHILE_PLAYING:()=>Pv,UPDATE_GLOBALS:()=>Ip,UPDATE_QUERY_PARAMS:()=>Fv,UPDATE_STORY_ARGS:()=>Mp,default:()=>qk});var Rp=(e=>(e.CHANNEL_WS_DISCONNECT="channelWSDisconnect",e.CHANNEL_CREATED="channelCreated",e.CONFIG_ERROR="configError",e.STORY_INDEX_INVALIDATED="storyIndexInvalidated",e.STORY_SPECIFIED="storySpecified",e.SET_CONFIG="setConfig",e.SET_STORIES="setStories",e.SET_INDEX="setIndex",e.SET_CURRENT_STORY="setCurrentStory",e.CURRENT_STORY_WAS_SET="currentStoryWasSet",e.FORCE_RE_RENDER="forceReRender",e.FORCE_REMOUNT="forceRemount",e.PRELOAD_ENTRIES="preloadStories",e.STORY_PREPARED="storyPrepared",e.DOCS_PREPARED="docsPrepared",e.STORY_CHANGED="storyChanged",e.STORY_UNCHANGED="storyUnchanged",e.STORY_RENDERED="storyRendered",e.STORY_FINISHED="storyFinished",e.STORY_MISSING="storyMissing",e.STORY_ERRORED="storyErrored",e.STORY_THREW_EXCEPTION="storyThrewException",e.STORY_RENDER_PHASE_CHANGED="storyRenderPhaseChanged",e.STORY_HOT_UPDATED="storyHotUpdated",e.PLAY_FUNCTION_THREW_EXCEPTION="playFunctionThrewException",e.UNHANDLED_ERRORS_WHILE_PLAYING="unhandledErrorsWhilePlaying",e.UPDATE_STORY_ARGS="updateStoryArgs",e.STORY_ARGS_UPDATED="storyArgsUpdated",e.RESET_STORY_ARGS="resetStoryArgs",e.SET_FILTER="setFilter",e.SET_GLOBALS="setGlobals",e.UPDATE_GLOBALS="updateGlobals",e.GLOBALS_UPDATED="globalsUpdated",e.REGISTER_SUBSCRIPTION="registerSubscription",e.PREVIEW_INITIALIZED="previewInitialized",e.PREVIEW_KEYDOWN="previewKeydown",e.PREVIEW_BUILDER_PROGRESS="preview_builder_progress",e.SELECT_STORY="selectStory",e.STORIES_COLLAPSE_ALL="storiesCollapseAll",e.STORIES_EXPAND_ALL="storiesExpandAll",e.DOCS_RENDERED="docsRendered",e.SHARED_STATE_CHANGED="sharedStateChanged",e.SHARED_STATE_SET="sharedStateSet",e.NAVIGATE_URL="navigateUrl",e.UPDATE_QUERY_PARAMS="updateQueryParams",e.REQUEST_WHATS_NEW_DATA="requestWhatsNewData",e.RESULT_WHATS_NEW_DATA="resultWhatsNewData",e.SET_WHATS_NEW_CACHE="setWhatsNewCache",e.TOGGLE_WHATS_NEW_NOTIFICATIONS="toggleWhatsNewNotifications",e.TELEMETRY_ERROR="telemetryError",e.FILE_COMPONENT_SEARCH_REQUEST="fileComponentSearchRequest",e.FILE_COMPONENT_SEARCH_RESPONSE="fileComponentSearchResponse",e.SAVE_STORY_REQUEST="saveStoryRequest",e.SAVE_STORY_RESPONSE="saveStoryResponse",e.ARGTYPES_INFO_REQUEST="argtypesInfoRequest",e.ARGTYPES_INFO_RESPONSE="argtypesInfoResponse",e.CREATE_NEW_STORYFILE_REQUEST="createNewStoryfileRequest",e.CREATE_NEW_STORYFILE_RESPONSE="createNewStoryfileResponse",e.OPEN_IN_EDITOR_REQUEST="openInEditorRequest",e.OPEN_IN_EDITOR_RESPONSE="openInEditorResponse",e))(Rp||{}),qk=Rp,{CHANNEL_WS_DISCONNECT:Tv,CHANNEL_CREATED:jk,CONFIG_ERROR:wv,CREATE_NEW_STORYFILE_REQUEST:kk,CREATE_NEW_STORYFILE_RESPONSE:Dk,CURRENT_STORY_WAS_SET:wu,DOCS_PREPARED:_v,DOCS_RENDERED:Op,FILE_COMPONENT_SEARCH_REQUEST:Lk,FILE_COMPONENT_SEARCH_RESPONSE:Fk,FORCE_RE_RENDER:Cp,FORCE_REMOUNT:fa,GLOBALS_UPDATED:Ui,NAVIGATE_URL:$k,PLAY_FUNCTION_THREW_EXCEPTION:Sv,UNHANDLED_ERRORS_WHILE_PLAYING:Pv,PRELOAD_ENTRIES:Av,PREVIEW_INITIALIZED:Rv,PREVIEW_BUILDER_PROGRESS:Bk,PREVIEW_KEYDOWN:Ov,REGISTER_SUBSCRIPTION:Jk,RESET_STORY_ARGS:xp,SELECT_STORY:Uk,SET_CONFIG:Vk,SET_CURRENT_STORY:Np,SET_FILTER:Hk,SET_GLOBALS:Cv,SET_INDEX:zk,SET_STORIES:Gk,SHARED_STATE_CHANGED:Wk,SHARED_STATE_SET:Kk,STORIES_COLLAPSE_ALL:Yk,STORIES_EXPAND_ALL:Xk,STORY_ARGS_UPDATED:xv,STORY_CHANGED:Nv,STORY_ERRORED:Iv,STORY_INDEX_INVALIDATED:Mv,STORY_MISSING:_u,STORY_PREPARED:qv,STORY_RENDER_PHASE_CHANGED:wn,STORY_RENDERED:ma,STORY_FINISHED:Su,STORY_SPECIFIED:jv,STORY_THREW_EXCEPTION:kv,STORY_UNCHANGED:Dv,STORY_HOT_UPDATED:Lv,UPDATE_GLOBALS:Ip,UPDATE_QUERY_PARAMS:Fv,UPDATE_STORY_ARGS:Mp,REQUEST_WHATS_NEW_DATA:Qk,RESULT_WHATS_NEW_DATA:Zk,SET_WHATS_NEW_CACHE:eD,TOGGLE_WHATS_NEW_NOTIFICATIONS:tD,TELEMETRY_ERROR:$v,SAVE_STORY_REQUEST:rD,SAVE_STORY_RESPONSE:nD,ARGTYPES_INFO_REQUEST:Bv,ARGTYPES_INFO_RESPONSE:Pu,OPEN_IN_EDITOR_REQUEST:oD,OPEN_IN_EDITOR_RESPONSE:iD}=Rp,Jv={};Tt(Jv,{global:()=>te});var te=(()=>{let e;return typeof window<"u"?e=window:typeof globalThis<"u"?e=globalThis:typeof global<"u"?e=global:typeof self<"u"?e=self:e={},e})(),Uv={"@storybook/global":"__STORYBOOK_MODULE_GLOBAL__","storybook/test":"__STORYBOOK_MODULE_TEST__","storybook/actions":"__STORYBOOK_MODULE_ACTIONS__","storybook/preview-api":"__STORYBOOK_MODULE_PREVIEW_API__","storybook/internal/channels":"__STORYBOOK_MODULE_CHANNELS__","storybook/internal/client-logger":"__STORYBOOK_MODULE_CLIENT_LOGGER__","storybook/internal/core-events":"__STORYBOOK_MODULE_CORE_EVENTS__","storybook/internal/preview-errors":"__STORYBOOK_MODULE_CORE_EVENTS_PREVIEW_ERRORS__","storybook/internal/types":"__STORYBOOK_MODULE_TYPES__","storybook/internal/preview-api":"__STORYBOOK_MODULE_PREVIEW_API__"},sD=Object.keys(Uv),Vv={};Tt(Vv,{Channel:()=>hl,HEARTBEAT_INTERVAL:()=>tT,HEARTBEAT_MAX_LATENCY:()=>rT,PostMessageTransport:()=>eT,WebsocketTransport:()=>oT,createBrowserChannel:()=>iT,default:()=>N1});function ve(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];var n=Array.from(typeof e=="string"?[e]:e);n[n.length-1]=n[n.length-1].replace(/\r?\n([\t ]*)$/,"");var o=n.reduce(function(c,u){var d=u.match(/\n([\t ]+|(?!\s).)/g);return d?c.concat(d.map(function(p){var f,h;return(h=(f=p.match(/[\t ]/g))===null||f===void 0?void 0:f.length)!==null&&h!==void 0?h:0})):c},[]);if(o.length){var s=new RegExp(`
17
+ `:"")}}`},"JsdocTypeObject"),JsdocTypeOptional:i((l,m)=>Bt(l.meta.position,m(l.element),"="),"JsdocTypeOptional"),JsdocTypeSymbol:i((l,m)=>`${l.value}(${l.element!==void 0?m(l.element):""})`,"JsdocTypeSymbol"),JsdocTypeTypeof:i((l,m)=>`typeof ${m(l.element)}`,"JsdocTypeTypeof"),JsdocTypeUndefined:i(()=>"undefined","JsdocTypeUndefined"),JsdocTypeUnion:i((l,m)=>l.elements.map(m).join(" | "),"JsdocTypeUnion"),JsdocTypeUnknown:i(()=>"?","JsdocTypeUnknown"),JsdocTypeIntersection:i((l,m)=>l.elements.map(m).join(" & "),"JsdocTypeIntersection"),JsdocTypeProperty:i(l=>Ye(l.value,l.meta.quote),"JsdocTypeProperty"),JsdocTypePredicate:i((l,m)=>`${m(l.left)} is ${m(l.right)}`,"JsdocTypePredicate"),JsdocTypeIndexSignature:i((l,m)=>`[${l.key}: ${m(l.right)}]`,"JsdocTypeIndexSignature"),JsdocTypeMappedType:i((l,m)=>`[${l.key} in ${m(l.right)}]`,"JsdocTypeMappedType"),JsdocTypeAsserts:i((l,m)=>`asserts ${m(l.left)} is ${m(l.right)}`,"JsdocTypeAsserts"),JsdocTypeReadonlyArray:i((l,m)=>`readonly ${m(l.element)}`,"JsdocTypeReadonlyArray"),JsdocTypeAssertsPlain:i((l,m)=>`asserts ${m(l.element)}`,"JsdocTypeAssertsPlain"),JsdocTypeConditional:i((l,m)=>`${m(l.checksType)} extends ${m(l.extendsType)} ? ${m(l.trueType)} : ${m(l.falseType)}`,"JsdocTypeConditional"),JsdocTypeTypeParameter:i((l,m)=>`${m(l.name)}${l.constraint!==void 0?` extends ${m(l.constraint)}`:""}${l.defaultValue!==void 0?` = ${m(l.defaultValue)}`:""}`,"JsdocTypeTypeParameter")}}i(sn,"stringifyRules");const Vc=sn();function oi(l){return Y(Vc,l)}i(oi,"stringify");const Hc=["null","true","false","break","case","catch","class","const","continue","debugger","default","delete","do","else","export","extends","finally","for","function","if","import","in","instanceof","new","return","super","switch","this","throw","try","typeof","var","void","while","with","yield"];function Xe(l){const m={type:"NameExpression",name:l};return Hc.includes(l)&&(m.reservedWord=!0),m}i(Xe,"makeName");const zc={JsdocTypeOptional:i((l,m)=>{const b=m(l.element);return b.optional=!0,b},"JsdocTypeOptional"),JsdocTypeNullable:i((l,m)=>{const b=m(l.element);return b.nullable=!0,b},"JsdocTypeNullable"),JsdocTypeNotNullable:i((l,m)=>{const b=m(l.element);return b.nullable=!1,b},"JsdocTypeNotNullable"),JsdocTypeVariadic:i((l,m)=>{if(l.element===void 0)throw new Error("dots without value are not allowed in catharsis mode");const b=m(l.element);return b.repeatable=!0,b},"JsdocTypeVariadic"),JsdocTypeAny:i(()=>({type:"AllLiteral"}),"JsdocTypeAny"),JsdocTypeNull:i(()=>({type:"NullLiteral"}),"JsdocTypeNull"),JsdocTypeStringValue:i(l=>Xe(Ye(l.value,l.meta.quote)),"JsdocTypeStringValue"),JsdocTypeUndefined:i(()=>({type:"UndefinedLiteral"}),"JsdocTypeUndefined"),JsdocTypeUnknown:i(()=>({type:"UnknownLiteral"}),"JsdocTypeUnknown"),JsdocTypeFunction:i((l,m)=>{const b=It(l),x={type:"FunctionType",params:b.params.map(m)};return b.this!==void 0&&(x.this=m(b.this)),b.new!==void 0&&(x.new=m(b.new)),l.returnType!==void 0&&(x.result=m(l.returnType)),x},"JsdocTypeFunction"),JsdocTypeGeneric:i((l,m)=>({type:"TypeApplication",applications:l.elements.map(b=>m(b)),expression:m(l.left)}),"JsdocTypeGeneric"),JsdocTypeSpecialNamePath:i(l=>Xe(l.specialType+":"+Ye(l.value,l.meta.quote)),"JsdocTypeSpecialNamePath"),JsdocTypeName:i(l=>l.value!=="function"?Xe(l.value):{type:"FunctionType",params:[]},"JsdocTypeName"),JsdocTypeNumber:i(l=>Xe(l.value.toString()),"JsdocTypeNumber"),JsdocTypeObject:i((l,m)=>{const b={type:"RecordType",fields:[]};for(const x of l.elements)x.type!=="JsdocTypeObjectField"&&x.type!=="JsdocTypeJsdocObjectField"?b.fields.push({type:"FieldType",key:m(x),value:void 0}):b.fields.push(m(x));return b},"JsdocTypeObject"),JsdocTypeObjectField:i((l,m)=>{if(typeof l.key!="string")throw new Error("Index signatures and mapped types are not supported");return{type:"FieldType",key:Xe(Ye(l.key,l.meta.quote)),value:l.right===void 0?void 0:m(l.right)}},"JsdocTypeObjectField"),JsdocTypeJsdocObjectField:i((l,m)=>({type:"FieldType",key:m(l.left),value:m(l.right)}),"JsdocTypeJsdocObjectField"),JsdocTypeUnion:i((l,m)=>({type:"TypeUnion",elements:l.elements.map(b=>m(b))}),"JsdocTypeUnion"),JsdocTypeKeyValue:i((l,m)=>({type:"FieldType",key:Xe(l.key),value:l.right===void 0?void 0:m(l.right)}),"JsdocTypeKeyValue"),JsdocTypeNamePath:i((l,m)=>{const b=m(l.left);let x;l.right.type==="JsdocTypeSpecialNamePath"?x=m(l.right).name:x=Ye(l.right.value,l.right.meta.quote);const F=l.pathType==="inner"?"~":l.pathType==="instance"?"#":".";return Xe(`${b.name}${F}${x}`)},"JsdocTypeNamePath"),JsdocTypeSymbol:i(l=>{let m="",b=l.element,x=!1;return b?.type==="JsdocTypeVariadic"&&(b.meta.position==="prefix"?m="...":x=!0,b=b.element),b?.type==="JsdocTypeName"?m+=b.value:b?.type==="JsdocTypeNumber"&&(m+=b.value.toString()),x&&(m+="..."),Xe(`${l.value}(${m})`)},"JsdocTypeSymbol"),JsdocTypeParenthesis:i((l,m)=>m(k(l.element)),"JsdocTypeParenthesis"),JsdocTypeMappedType:le,JsdocTypeIndexSignature:le,JsdocTypeImport:le,JsdocTypeKeyof:le,JsdocTypeTuple:le,JsdocTypeTypeof:le,JsdocTypeIntersection:le,JsdocTypeProperty:le,JsdocTypePredicate:le,JsdocTypeAsserts:le,JsdocTypeReadonlyArray:le,JsdocTypeAssertsPlain:le,JsdocTypeConditional:le,JsdocTypeTypeParameter:le};function ii(l){return Y(zc,l)}i(ii,"catharsisTransform");function at(l){switch(l){case void 0:return"none";case"single":return"single";case"double":return"double"}}i(at,"getQuoteStyle");function si(l){switch(l){case"inner":return"INNER_MEMBER";case"instance":return"INSTANCE_MEMBER";case"property":return"MEMBER";case"property-brackets":return"MEMBER"}}i(si,"getMemberType");function dr(l,m){return m.length===2?{type:l,left:m[0],right:m[1]}:{type:l,left:m[0],right:dr(l,m.slice(1))}}i(dr,"nestResults");const Gc={JsdocTypeOptional:i((l,m)=>({type:"OPTIONAL",value:m(l.element),meta:{syntax:l.meta.position==="prefix"?"PREFIX_EQUAL_SIGN":"SUFFIX_EQUALS_SIGN"}}),"JsdocTypeOptional"),JsdocTypeNullable:i((l,m)=>({type:"NULLABLE",value:m(l.element),meta:{syntax:l.meta.position==="prefix"?"PREFIX_QUESTION_MARK":"SUFFIX_QUESTION_MARK"}}),"JsdocTypeNullable"),JsdocTypeNotNullable:i((l,m)=>({type:"NOT_NULLABLE",value:m(l.element),meta:{syntax:l.meta.position==="prefix"?"PREFIX_BANG":"SUFFIX_BANG"}}),"JsdocTypeNotNullable"),JsdocTypeVariadic:i((l,m)=>{const b={type:"VARIADIC",meta:{syntax:l.meta.position==="prefix"?"PREFIX_DOTS":l.meta.position==="suffix"?"SUFFIX_DOTS":"ONLY_DOTS"}};return l.element!==void 0&&(b.value=m(l.element)),b},"JsdocTypeVariadic"),JsdocTypeName:i(l=>({type:"NAME",name:l.value}),"JsdocTypeName"),JsdocTypeTypeof:i((l,m)=>({type:"TYPE_QUERY",name:m(l.element)}),"JsdocTypeTypeof"),JsdocTypeTuple:i((l,m)=>({type:"TUPLE",entries:l.elements.map(m)}),"JsdocTypeTuple"),JsdocTypeKeyof:i((l,m)=>({type:"KEY_QUERY",value:m(l.element)}),"JsdocTypeKeyof"),JsdocTypeImport:i(l=>({type:"IMPORT",path:{type:"STRING_VALUE",quoteStyle:at(l.element.meta.quote),string:l.element.value}}),"JsdocTypeImport"),JsdocTypeUndefined:i(()=>({type:"NAME",name:"undefined"}),"JsdocTypeUndefined"),JsdocTypeAny:i(()=>({type:"ANY"}),"JsdocTypeAny"),JsdocTypeFunction:i((l,m)=>{const b=It(l),x={type:l.arrow?"ARROW":"FUNCTION",params:b.params.map(F=>{if(F.type==="JsdocTypeKeyValue"){if(F.right===void 0)throw new Error("Function parameter without ':' is not expected to be 'KEY_VALUE'");return{type:"NAMED_PARAMETER",name:F.key,typeName:m(F.right)}}else return m(F)}),new:null,returns:null};return b.this!==void 0?x.this=m(b.this):l.arrow||(x.this=null),b.new!==void 0&&(x.new=m(b.new)),l.returnType!==void 0&&(x.returns=m(l.returnType)),x},"JsdocTypeFunction"),JsdocTypeGeneric:i((l,m)=>{const b={type:"GENERIC",subject:m(l.left),objects:l.elements.map(m),meta:{syntax:l.meta.brackets==="square"?"SQUARE_BRACKET":l.meta.dot?"ANGLE_BRACKET_WITH_DOT":"ANGLE_BRACKET"}};return l.meta.brackets==="square"&&l.elements[0].type==="JsdocTypeFunction"&&!l.elements[0].parenthesis&&(b.objects[0]={type:"NAME",name:"function"}),b},"JsdocTypeGeneric"),JsdocTypeObjectField:i((l,m)=>{if(typeof l.key!="string")throw new Error("Index signatures and mapped types are not supported");if(l.right===void 0)return{type:"RECORD_ENTRY",key:l.key,quoteStyle:at(l.meta.quote),value:null,readonly:!1};let b=m(l.right);return l.optional&&(b={type:"OPTIONAL",value:b,meta:{syntax:"SUFFIX_KEY_QUESTION_MARK"}}),{type:"RECORD_ENTRY",key:l.key.toString(),quoteStyle:at(l.meta.quote),value:b,readonly:!1}},"JsdocTypeObjectField"),JsdocTypeJsdocObjectField:i(()=>{throw new Error("Keys may not be typed in jsdoctypeparser.")},"JsdocTypeJsdocObjectField"),JsdocTypeKeyValue:i((l,m)=>{if(l.right===void 0)return{type:"RECORD_ENTRY",key:l.key,quoteStyle:"none",value:null,readonly:!1};let b=m(l.right);return l.optional&&(b={type:"OPTIONAL",value:b,meta:{syntax:"SUFFIX_KEY_QUESTION_MARK"}}),{type:"RECORD_ENTRY",key:l.key,quoteStyle:"none",value:b,readonly:!1}},"JsdocTypeKeyValue"),JsdocTypeObject:i((l,m)=>{const b=[];for(const x of l.elements)(x.type==="JsdocTypeObjectField"||x.type==="JsdocTypeJsdocObjectField")&&b.push(m(x));return{type:"RECORD",entries:b}},"JsdocTypeObject"),JsdocTypeSpecialNamePath:i(l=>{if(l.specialType!=="module")throw new Error(`jsdoctypeparser does not support type ${l.specialType} at this point.`);return{type:"MODULE",value:{type:"FILE_PATH",quoteStyle:at(l.meta.quote),path:l.value}}},"JsdocTypeSpecialNamePath"),JsdocTypeNamePath:i((l,m)=>{let b=!1,x,F;l.right.type==="JsdocTypeSpecialNamePath"&&l.right.specialType==="event"?(b=!0,x=l.right.value,F=at(l.right.meta.quote)):(x=l.right.value,F=at(l.right.meta.quote));const G={type:si(l.pathType),owner:m(l.left),name:x,quoteStyle:F,hasEventPrefix:b};if(G.owner.type==="MODULE"){const Z=G.owner;return G.owner=G.owner.value,Z.value=G,Z}else return G},"JsdocTypeNamePath"),JsdocTypeUnion:i((l,m)=>dr("UNION",l.elements.map(m)),"JsdocTypeUnion"),JsdocTypeParenthesis:i((l,m)=>({type:"PARENTHESIS",value:m(k(l.element))}),"JsdocTypeParenthesis"),JsdocTypeNull:i(()=>({type:"NAME",name:"null"}),"JsdocTypeNull"),JsdocTypeUnknown:i(()=>({type:"UNKNOWN"}),"JsdocTypeUnknown"),JsdocTypeStringValue:i(l=>({type:"STRING_VALUE",quoteStyle:at(l.meta.quote),string:l.value}),"JsdocTypeStringValue"),JsdocTypeIntersection:i((l,m)=>dr("INTERSECTION",l.elements.map(m)),"JsdocTypeIntersection"),JsdocTypeNumber:i(l=>({type:"NUMBER_VALUE",number:l.value.toString()}),"JsdocTypeNumber"),JsdocTypeSymbol:le,JsdocTypeProperty:le,JsdocTypePredicate:le,JsdocTypeMappedType:le,JsdocTypeIndexSignature:le,JsdocTypeAsserts:le,JsdocTypeReadonlyArray:le,JsdocTypeAssertsPlain:le,JsdocTypeConditional:le,JsdocTypeTypeParameter:le};function ai(l){return Y(Gc,l)}i(ai,"jtpTransform");function li(){return{JsdocTypeIntersection:i((l,m)=>({type:"JsdocTypeIntersection",elements:l.elements.map(m)}),"JsdocTypeIntersection"),JsdocTypeGeneric:i((l,m)=>({type:"JsdocTypeGeneric",left:m(l.left),elements:l.elements.map(m),meta:{dot:l.meta.dot,brackets:l.meta.brackets}}),"JsdocTypeGeneric"),JsdocTypeNullable:i(l=>l,"JsdocTypeNullable"),JsdocTypeUnion:i((l,m)=>({type:"JsdocTypeUnion",elements:l.elements.map(m)}),"JsdocTypeUnion"),JsdocTypeUnknown:i(l=>l,"JsdocTypeUnknown"),JsdocTypeUndefined:i(l=>l,"JsdocTypeUndefined"),JsdocTypeTypeof:i((l,m)=>({type:"JsdocTypeTypeof",element:m(l.element)}),"JsdocTypeTypeof"),JsdocTypeSymbol:i((l,m)=>{const b={type:"JsdocTypeSymbol",value:l.value};return l.element!==void 0&&(b.element=m(l.element)),b},"JsdocTypeSymbol"),JsdocTypeOptional:i((l,m)=>({type:"JsdocTypeOptional",element:m(l.element),meta:{position:l.meta.position}}),"JsdocTypeOptional"),JsdocTypeObject:i((l,m)=>({type:"JsdocTypeObject",meta:{separator:"comma"},elements:l.elements.map(m)}),"JsdocTypeObject"),JsdocTypeNumber:i(l=>l,"JsdocTypeNumber"),JsdocTypeNull:i(l=>l,"JsdocTypeNull"),JsdocTypeNotNullable:i((l,m)=>({type:"JsdocTypeNotNullable",element:m(l.element),meta:{position:l.meta.position}}),"JsdocTypeNotNullable"),JsdocTypeSpecialNamePath:i(l=>l,"JsdocTypeSpecialNamePath"),JsdocTypeObjectField:i((l,m)=>({type:"JsdocTypeObjectField",key:l.key,right:l.right===void 0?void 0:m(l.right),optional:l.optional,readonly:l.readonly,meta:l.meta}),"JsdocTypeObjectField"),JsdocTypeJsdocObjectField:i((l,m)=>({type:"JsdocTypeJsdocObjectField",left:m(l.left),right:m(l.right)}),"JsdocTypeJsdocObjectField"),JsdocTypeKeyValue:i((l,m)=>({type:"JsdocTypeKeyValue",key:l.key,right:l.right===void 0?void 0:m(l.right),optional:l.optional,variadic:l.variadic}),"JsdocTypeKeyValue"),JsdocTypeImport:i((l,m)=>({type:"JsdocTypeImport",element:m(l.element)}),"JsdocTypeImport"),JsdocTypeAny:i(l=>l,"JsdocTypeAny"),JsdocTypeStringValue:i(l=>l,"JsdocTypeStringValue"),JsdocTypeNamePath:i(l=>l,"JsdocTypeNamePath"),JsdocTypeVariadic:i((l,m)=>{const b={type:"JsdocTypeVariadic",meta:{position:l.meta.position,squareBrackets:l.meta.squareBrackets}};return l.element!==void 0&&(b.element=m(l.element)),b},"JsdocTypeVariadic"),JsdocTypeTuple:i((l,m)=>({type:"JsdocTypeTuple",elements:l.elements.map(m)}),"JsdocTypeTuple"),JsdocTypeName:i(l=>l,"JsdocTypeName"),JsdocTypeFunction:i((l,m)=>{const b={type:"JsdocTypeFunction",arrow:l.arrow,parameters:l.parameters.map(m),constructor:l.constructor,parenthesis:l.parenthesis};return l.returnType!==void 0&&(b.returnType=m(l.returnType)),b},"JsdocTypeFunction"),JsdocTypeKeyof:i((l,m)=>({type:"JsdocTypeKeyof",element:m(l.element)}),"JsdocTypeKeyof"),JsdocTypeParenthesis:i((l,m)=>({type:"JsdocTypeParenthesis",element:m(l.element)}),"JsdocTypeParenthesis"),JsdocTypeProperty:i(l=>l,"JsdocTypeProperty"),JsdocTypePredicate:i((l,m)=>({type:"JsdocTypePredicate",left:m(l.left),right:m(l.right)}),"JsdocTypePredicate"),JsdocTypeIndexSignature:i((l,m)=>({type:"JsdocTypeIndexSignature",key:l.key,right:m(l.right)}),"JsdocTypeIndexSignature"),JsdocTypeMappedType:i((l,m)=>({type:"JsdocTypeMappedType",key:l.key,right:m(l.right)}),"JsdocTypeMappedType"),JsdocTypeAsserts:i((l,m)=>({type:"JsdocTypeAsserts",left:m(l.left),right:m(l.right)}),"JsdocTypeAsserts"),JsdocTypeReadonlyArray:i((l,m)=>({type:"JsdocTypeReadonlyArray",element:m(l.element)}),"JsdocTypeReadonlyArray"),JsdocTypeAssertsPlain:i((l,m)=>({type:"JsdocTypeAssertsPlain",element:m(l.element)}),"JsdocTypeAssertsPlain"),JsdocTypeConditional:i((l,m)=>({type:"JsdocTypeConditional",checksType:m(l.checksType),extendsType:m(l.extendsType),trueType:m(l.trueType),falseType:m(l.falseType)}),"JsdocTypeConditional"),JsdocTypeTypeParameter:i((l,m)=>({type:"JsdocTypeTypeParameter",name:m(l.name),constraint:l.constraint!==void 0?m(l.constraint):void 0,defaultValue:l.defaultValue!==void 0?m(l.defaultValue):void 0}),"JsdocTypeTypeParameter")}}i(li,"identityTransformRules");const ci={JsdocTypeAny:[],JsdocTypeFunction:["parameters","returnType"],JsdocTypeGeneric:["left","elements"],JsdocTypeImport:[],JsdocTypeIndexSignature:["right"],JsdocTypeIntersection:["elements"],JsdocTypeKeyof:["element"],JsdocTypeKeyValue:["right"],JsdocTypeMappedType:["right"],JsdocTypeName:[],JsdocTypeNamePath:["left","right"],JsdocTypeNotNullable:["element"],JsdocTypeNull:[],JsdocTypeNullable:["element"],JsdocTypeNumber:[],JsdocTypeObject:["elements"],JsdocTypeObjectField:["right"],JsdocTypeJsdocObjectField:["left","right"],JsdocTypeOptional:["element"],JsdocTypeParenthesis:["element"],JsdocTypeSpecialNamePath:[],JsdocTypeStringValue:[],JsdocTypeSymbol:["element"],JsdocTypeTuple:["elements"],JsdocTypeTypeof:["element"],JsdocTypeUndefined:[],JsdocTypeUnion:["elements"],JsdocTypeUnknown:[],JsdocTypeVariadic:["element"],JsdocTypeProperty:[],JsdocTypePredicate:["left","right"],JsdocTypeAsserts:["left","right"],JsdocTypeReadonlyArray:["element"],JsdocTypeAssertsPlain:["element"],JsdocTypeConditional:["checksType","extendsType","trueType","falseType"],JsdocTypeTypeParameter:["name","constraint","defaultValue"]};function pr(l,m,b,x,F){x?.(l,m,b);const G=ci[l.type];for(const Z of G){const ce=l[Z];if(ce!==void 0)if(Array.isArray(ce))for(const _e of ce)pr(_e,l,Z,x,F);else pr(ce,l,Z,x,F)}F?.(l,m,b)}i(pr,"_traverse");function ui(l,m,b){pr(l,void 0,void 0,m,b)}i(ui,"traverse"),r.catharsisTransform=ii,r.identityTransformRules=li,r.jtpTransform=ai,r.parse=ur,r.stringify=oi,r.stringifyRules=sn,r.transform=Y,r.traverse=ui,r.tryParse=on,r.visitorKeys=ci})}}),Mk=B({"../node_modules/browser-dtector/browser-dtector.umd.min.js"(e,t){(function(r,n){typeof e=="object"&&typeof t<"u"?t.exports=n():typeof define=="function"&&define.amd?define(n):(r=typeof globalThis<"u"?globalThis:r||self).BrowserDetector=n()})(e,function(){function r(u,d){for(var p=0;p<d.length;p++){var f=d[p];f.enumerable=f.enumerable||!1,f.configurable=!0,"value"in f&&(f.writable=!0),Object.defineProperty(u,(h=f.key,y=void 0,typeof(y=(function(g,E){if(typeof g!="object"||g===null)return g;var T=g[Symbol.toPrimitive];if(T!==void 0){var v=T.call(g,E);if(typeof v!="object")return v;throw new TypeError("@@toPrimitive must return a primitive value.")}return(E==="string"?String:Number)(g)})(h,"string"))=="symbol"?y:String(y)),f)}var h,y}i(r,"e");var n={chrome:"Google Chrome",brave:"Brave",crios:"Google Chrome",edge:"Microsoft Edge",edg:"Microsoft Edge",edgios:"Microsoft Edge",fennec:"Mozilla Firefox",jsdom:"JsDOM",mozilla:"Mozilla Firefox",fxios:"Mozilla Firefox",msie:"Microsoft Internet Explorer",opera:"Opera",opios:"Opera",opr:"Opera",opt:"Opera",rv:"Microsoft Internet Explorer",safari:"Safari",samsungbrowser:"Samsung Browser",electron:"Electron"},o={android:"Android",androidTablet:"Android Tablet",cros:"Chrome OS",fennec:"Android Tablet",ipad:"IPad",iphone:"IPhone",jsdom:"JsDOM",linux:"Linux",mac:"Macintosh",tablet:"Android Tablet",win:"Windows","windows phone":"Windows Phone",xbox:"Microsoft Xbox"},s=i(function(u){var d=new RegExp("^-?\\d+(?:.\\d{0,".concat(arguments.length>1&&arguments[1]!==void 0?arguments[1]:-1,"})?")),p=Number(u).toString().match(d);return p?p[0]:null},"n"),a=i(function(){return typeof window<"u"?window.navigator:null},"i"),c=(function(){function u(h){var y;(function(g,E){if(!(g instanceof E))throw new TypeError("Cannot call a class as a function")})(this,u),this.userAgent=h||((y=a())===null||y===void 0?void 0:y.userAgent)||null}i(u,"t");var d,p,f;return d=u,p=[{key:"parseUserAgent",value:i(function(h){var y,g,E,T={},v=h||this.userAgent||"",_=v.toLowerCase().replace(/\s\s+/g," "),R=/(edge)\/([\w.]+)/.exec(_)||/(edg)[/]([\w.]+)/.exec(_)||/(opr)[/]([\w.]+)/.exec(_)||/(opt)[/]([\w.]+)/.exec(_)||/(fxios)[/]([\w.]+)/.exec(_)||/(edgios)[/]([\w.]+)/.exec(_)||/(jsdom)[/]([\w.]+)/.exec(_)||/(samsungbrowser)[/]([\w.]+)/.exec(_)||/(electron)[/]([\w.]+)/.exec(_)||/(chrome)[/]([\w.]+)/.exec(_)||/(crios)[/]([\w.]+)/.exec(_)||/(opios)[/]([\w.]+)/.exec(_)||/(version)(applewebkit)[/]([\w.]+).*(safari)[/]([\w.]+)/.exec(_)||/(webkit)[/]([\w.]+).*(version)[/]([\w.]+).*(safari)[/]([\w.]+)/.exec(_)||/(applewebkit)[/]([\w.]+).*(safari)[/]([\w.]+)/.exec(_)||/(webkit)[/]([\w.]+)/.exec(_)||/(opera)(?:.*version|)[/]([\w.]+)/.exec(_)||/(msie) ([\w.]+)/.exec(_)||/(fennec)[/]([\w.]+)/.exec(_)||_.indexOf("trident")>=0&&/(rv)(?::| )([\w.]+)/.exec(_)||_.indexOf("compatible")<0&&/(mozilla)(?:.*? rv:([\w.]+)|)/.exec(_)||[],N=/(ipad)/.exec(_)||/(ipod)/.exec(_)||/(iphone)/.exec(_)||/(jsdom)/.exec(_)||/(windows phone)/.exec(_)||/(xbox)/.exec(_)||/(win)/.exec(_)||/(tablet)/.exec(_)||/(android)/.test(_)&&/(mobile)/.test(_)===!1&&["androidTablet"]||/(android)/.exec(_)||/(mac)/.exec(_)||/(linux)/.exec(_)||/(cros)/.exec(_)||[],j=R[5]||R[3]||R[1]||null,C=N[0]||null,P=R[4]||R[2]||null,w=a();j==="chrome"&&typeof(w==null||(y=w.brave)===null||y===void 0?void 0:y.isBrave)=="function"&&(j="brave"),j&&(T[j]=!0),C&&(T[C]=!0);var S=!!(T.tablet||T.android||T.androidTablet),k=!!(T.ipad||T.tablet||T.androidTablet),I=!!(T.android||T.androidTablet||T.tablet||T.ipad||T.ipod||T.iphone||T["windows phone"]),V=!!(T.cros||T.mac||T.linux||T.win),H=!!(T.brave||T.chrome||T.crios||T.opr||T.safari||T.edg||T.electron),A=!!(T.msie||T.rv);return{name:(g=n[j])!==null&&g!==void 0?g:null,platform:(E=o[C])!==null&&E!==void 0?E:null,userAgent:v,version:P,shortVersion:P?s(parseFloat(P),2):null,isAndroid:S,isTablet:k,isMobile:I,isDesktop:V,isWebkit:H,isIE:A}},"value")},{key:"getBrowserInfo",value:i(function(){var h=this.parseUserAgent();return{name:h.name,platform:h.platform,userAgent:h.userAgent,version:h.version,shortVersion:h.shortVersion}},"value")}],f=[{key:"VERSION",get:i(function(){return"3.4.0"},"get")}],p&&r(d.prototype,p),f&&r(d,f),Object.defineProperty(d,"prototype",{writable:!1}),u})();return c})}}),Ap={};Tt(Ap,{ARGTYPES_INFO_REQUEST:()=>Bv,ARGTYPES_INFO_RESPONSE:()=>Pu,CHANNEL_CREATED:()=>jk,CHANNEL_WS_DISCONNECT:()=>Tv,CONFIG_ERROR:()=>wv,CREATE_NEW_STORYFILE_REQUEST:()=>kk,CREATE_NEW_STORYFILE_RESPONSE:()=>Dk,CURRENT_STORY_WAS_SET:()=>wu,DOCS_PREPARED:()=>_v,DOCS_RENDERED:()=>Op,FILE_COMPONENT_SEARCH_REQUEST:()=>Lk,FILE_COMPONENT_SEARCH_RESPONSE:()=>Fk,FORCE_REMOUNT:()=>fa,FORCE_RE_RENDER:()=>Cp,GLOBALS_UPDATED:()=>Ui,NAVIGATE_URL:()=>$k,OPEN_IN_EDITOR_REQUEST:()=>oD,OPEN_IN_EDITOR_RESPONSE:()=>iD,PLAY_FUNCTION_THREW_EXCEPTION:()=>Sv,PRELOAD_ENTRIES:()=>Av,PREVIEW_BUILDER_PROGRESS:()=>Bk,PREVIEW_INITIALIZED:()=>Rv,PREVIEW_KEYDOWN:()=>Ov,REGISTER_SUBSCRIPTION:()=>Jk,REQUEST_WHATS_NEW_DATA:()=>Qk,RESET_STORY_ARGS:()=>xp,RESULT_WHATS_NEW_DATA:()=>Zk,SAVE_STORY_REQUEST:()=>rD,SAVE_STORY_RESPONSE:()=>nD,SELECT_STORY:()=>Uk,SET_CONFIG:()=>Vk,SET_CURRENT_STORY:()=>Np,SET_FILTER:()=>Hk,SET_GLOBALS:()=>Cv,SET_INDEX:()=>zk,SET_STORIES:()=>Gk,SET_WHATS_NEW_CACHE:()=>eD,SHARED_STATE_CHANGED:()=>Wk,SHARED_STATE_SET:()=>Kk,STORIES_COLLAPSE_ALL:()=>Yk,STORIES_EXPAND_ALL:()=>Xk,STORY_ARGS_UPDATED:()=>xv,STORY_CHANGED:()=>Nv,STORY_ERRORED:()=>Iv,STORY_FINISHED:()=>Su,STORY_HOT_UPDATED:()=>Lv,STORY_INDEX_INVALIDATED:()=>Mv,STORY_MISSING:()=>_u,STORY_PREPARED:()=>qv,STORY_RENDERED:()=>ma,STORY_RENDER_PHASE_CHANGED:()=>wn,STORY_SPECIFIED:()=>jv,STORY_THREW_EXCEPTION:()=>kv,STORY_UNCHANGED:()=>Dv,TELEMETRY_ERROR:()=>$v,TOGGLE_WHATS_NEW_NOTIFICATIONS:()=>tD,UNHANDLED_ERRORS_WHILE_PLAYING:()=>Pv,UPDATE_GLOBALS:()=>Ip,UPDATE_QUERY_PARAMS:()=>Fv,UPDATE_STORY_ARGS:()=>Mp,default:()=>qk});var Rp=(e=>(e.CHANNEL_WS_DISCONNECT="channelWSDisconnect",e.CHANNEL_CREATED="channelCreated",e.CONFIG_ERROR="configError",e.STORY_INDEX_INVALIDATED="storyIndexInvalidated",e.STORY_SPECIFIED="storySpecified",e.SET_CONFIG="setConfig",e.SET_STORIES="setStories",e.SET_INDEX="setIndex",e.SET_CURRENT_STORY="setCurrentStory",e.CURRENT_STORY_WAS_SET="currentStoryWasSet",e.FORCE_RE_RENDER="forceReRender",e.FORCE_REMOUNT="forceRemount",e.PRELOAD_ENTRIES="preloadStories",e.STORY_PREPARED="storyPrepared",e.DOCS_PREPARED="docsPrepared",e.STORY_CHANGED="storyChanged",e.STORY_UNCHANGED="storyUnchanged",e.STORY_RENDERED="storyRendered",e.STORY_FINISHED="storyFinished",e.STORY_MISSING="storyMissing",e.STORY_ERRORED="storyErrored",e.STORY_THREW_EXCEPTION="storyThrewException",e.STORY_RENDER_PHASE_CHANGED="storyRenderPhaseChanged",e.STORY_HOT_UPDATED="storyHotUpdated",e.PLAY_FUNCTION_THREW_EXCEPTION="playFunctionThrewException",e.UNHANDLED_ERRORS_WHILE_PLAYING="unhandledErrorsWhilePlaying",e.UPDATE_STORY_ARGS="updateStoryArgs",e.STORY_ARGS_UPDATED="storyArgsUpdated",e.RESET_STORY_ARGS="resetStoryArgs",e.SET_FILTER="setFilter",e.SET_GLOBALS="setGlobals",e.UPDATE_GLOBALS="updateGlobals",e.GLOBALS_UPDATED="globalsUpdated",e.REGISTER_SUBSCRIPTION="registerSubscription",e.PREVIEW_INITIALIZED="previewInitialized",e.PREVIEW_KEYDOWN="previewKeydown",e.PREVIEW_BUILDER_PROGRESS="preview_builder_progress",e.SELECT_STORY="selectStory",e.STORIES_COLLAPSE_ALL="storiesCollapseAll",e.STORIES_EXPAND_ALL="storiesExpandAll",e.DOCS_RENDERED="docsRendered",e.SHARED_STATE_CHANGED="sharedStateChanged",e.SHARED_STATE_SET="sharedStateSet",e.NAVIGATE_URL="navigateUrl",e.UPDATE_QUERY_PARAMS="updateQueryParams",e.REQUEST_WHATS_NEW_DATA="requestWhatsNewData",e.RESULT_WHATS_NEW_DATA="resultWhatsNewData",e.SET_WHATS_NEW_CACHE="setWhatsNewCache",e.TOGGLE_WHATS_NEW_NOTIFICATIONS="toggleWhatsNewNotifications",e.TELEMETRY_ERROR="telemetryError",e.FILE_COMPONENT_SEARCH_REQUEST="fileComponentSearchRequest",e.FILE_COMPONENT_SEARCH_RESPONSE="fileComponentSearchResponse",e.SAVE_STORY_REQUEST="saveStoryRequest",e.SAVE_STORY_RESPONSE="saveStoryResponse",e.ARGTYPES_INFO_REQUEST="argtypesInfoRequest",e.ARGTYPES_INFO_RESPONSE="argtypesInfoResponse",e.CREATE_NEW_STORYFILE_REQUEST="createNewStoryfileRequest",e.CREATE_NEW_STORYFILE_RESPONSE="createNewStoryfileResponse",e.OPEN_IN_EDITOR_REQUEST="openInEditorRequest",e.OPEN_IN_EDITOR_RESPONSE="openInEditorResponse",e))(Rp||{}),qk=Rp,{CHANNEL_WS_DISCONNECT:Tv,CHANNEL_CREATED:jk,CONFIG_ERROR:wv,CREATE_NEW_STORYFILE_REQUEST:kk,CREATE_NEW_STORYFILE_RESPONSE:Dk,CURRENT_STORY_WAS_SET:wu,DOCS_PREPARED:_v,DOCS_RENDERED:Op,FILE_COMPONENT_SEARCH_REQUEST:Lk,FILE_COMPONENT_SEARCH_RESPONSE:Fk,FORCE_RE_RENDER:Cp,FORCE_REMOUNT:fa,GLOBALS_UPDATED:Ui,NAVIGATE_URL:$k,PLAY_FUNCTION_THREW_EXCEPTION:Sv,UNHANDLED_ERRORS_WHILE_PLAYING:Pv,PRELOAD_ENTRIES:Av,PREVIEW_INITIALIZED:Rv,PREVIEW_BUILDER_PROGRESS:Bk,PREVIEW_KEYDOWN:Ov,REGISTER_SUBSCRIPTION:Jk,RESET_STORY_ARGS:xp,SELECT_STORY:Uk,SET_CONFIG:Vk,SET_CURRENT_STORY:Np,SET_FILTER:Hk,SET_GLOBALS:Cv,SET_INDEX:zk,SET_STORIES:Gk,SHARED_STATE_CHANGED:Wk,SHARED_STATE_SET:Kk,STORIES_COLLAPSE_ALL:Yk,STORIES_EXPAND_ALL:Xk,STORY_ARGS_UPDATED:xv,STORY_CHANGED:Nv,STORY_ERRORED:Iv,STORY_INDEX_INVALIDATED:Mv,STORY_MISSING:_u,STORY_PREPARED:qv,STORY_RENDER_PHASE_CHANGED:wn,STORY_RENDERED:ma,STORY_FINISHED:Su,STORY_SPECIFIED:jv,STORY_THREW_EXCEPTION:kv,STORY_UNCHANGED:Dv,STORY_HOT_UPDATED:Lv,UPDATE_GLOBALS:Ip,UPDATE_QUERY_PARAMS:Fv,UPDATE_STORY_ARGS:Mp,REQUEST_WHATS_NEW_DATA:Qk,RESULT_WHATS_NEW_DATA:Zk,SET_WHATS_NEW_CACHE:eD,TOGGLE_WHATS_NEW_NOTIFICATIONS:tD,TELEMETRY_ERROR:$v,SAVE_STORY_REQUEST:rD,SAVE_STORY_RESPONSE:nD,ARGTYPES_INFO_REQUEST:Bv,ARGTYPES_INFO_RESPONSE:Pu,OPEN_IN_EDITOR_REQUEST:oD,OPEN_IN_EDITOR_RESPONSE:iD}=Rp,Jv={};Tt(Jv,{global:()=>te});var te=(()=>{let e;return typeof window<"u"?e=window:typeof globalThis<"u"?e=globalThis:typeof global<"u"?e=global:typeof self<"u"?e=self:e={},e})(),Uv={"@storybook/global":"__STORYBOOK_MODULE_GLOBAL__","storybook/test":"__STORYBOOK_MODULE_TEST__","storybook/actions":"__STORYBOOK_MODULE_ACTIONS__","storybook/preview-api":"__STORYBOOK_MODULE_PREVIEW_API__","storybook/internal/channels":"__STORYBOOK_MODULE_CHANNELS__","storybook/internal/client-logger":"__STORYBOOK_MODULE_CLIENT_LOGGER__","storybook/internal/core-events":"__STORYBOOK_MODULE_CORE_EVENTS__","storybook/internal/preview-errors":"__STORYBOOK_MODULE_CORE_EVENTS_PREVIEW_ERRORS__","storybook/internal/types":"__STORYBOOK_MODULE_TYPES__","storybook/internal/preview-api":"__STORYBOOK_MODULE_PREVIEW_API__"},sD=Object.keys(Uv),Vv={};Tt(Vv,{Channel:()=>hl,HEARTBEAT_INTERVAL:()=>tT,HEARTBEAT_MAX_LATENCY:()=>rT,PostMessageTransport:()=>eT,WebsocketTransport:()=>oT,createBrowserChannel:()=>iT,default:()=>N1});function ve(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];var n=Array.from(typeof e=="string"?[e]:e);n[n.length-1]=n[n.length-1].replace(/\r?\n([\t ]*)$/,"");var o=n.reduce(function(c,u){var d=u.match(/\n([\t ]+|(?!\s).)/g);return d?c.concat(d.map(function(p){var f,h;return(h=(f=p.match(/[\t ]/g))===null||f===void 0?void 0:f.length)!==null&&h!==void 0?h:0})):c},[]);if(o.length){var s=new RegExp(`
18
18
  [ ]{`+Math.min.apply(Math,o)+"}","g");n=n.map(function(c){return c.replace(s,`
19
19
  `)})}n[0]=n[0].replace(/^\r?\n/,"");var a=n[0];return t.forEach(function(c,u){var d=a.match(/(?:^|\n)( *)$/),p=d?d[1]:"",f=c;typeof c=="string"&&c.includes(`
20
20
  `)&&(f=String(c).split(`
@@ -30,7 +30,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
30
30
  Leaders detected:
31
31
  this: ${JSON.stringify(this.actor,null,2)}
32
32
  other: ${JSON.stringify(n.actor,null,2)}`);break}o&&(this.debug("handleChannelEvents: forwarding event",{channelEvent:t}),this.emitToChannel(r,{actor:n.actor,forwardingActor:this.actor}))}if(this.actor.type===fe.ActorType.FOLLOWER)switch(r.type){case fe.InternalEventType.EXISTING_STATE_RESPONSE:if(this.debug("handleChannelEvents: Setting state from leader's existing state response",{event:r}),this.syncing?.state!==Mt.PENDING)break;this.syncing.resolve?.();const o={type:fe.InternalEventType.SET_STATE,payload:{state:r.payload,previousState:this.state}};this.state=r.payload,this.emitToListeners(o,n);break}switch(r.type){case fe.InternalEventType.SET_STATE:this.debug("handleChannelEvents: Setting state",{event:r}),this.state=r.payload.state;break}this.emitToListeners(r,{actor:n.actor})}debug(t,r){this.debugging&&console.debug(ve`[UniversalStore::${this.id}::${this.environment??fe.Environment.UNKNOWN}]
33
- ${t}`,JSON.stringify({data:r,actor:this.actor,state:this.state,status:this.status},null,2))}static __reset(){fe.preparation.reject(new Error("reset")),fe.setupPreparationPromise(),fe.isInternalConstructing=!1}};i(Yr,"UniversalStore");Yr.ActorType={LEADER:"LEADER",FOLLOWER:"FOLLOWER"};Yr.Environment={SERVER:"SERVER",MANAGER:"MANAGER",PREVIEW:"PREVIEW",UNKNOWN:"UNKNOWN",MOCK:"MOCK"};Yr.InternalEventType={EXISTING_STATE_REQUEST:"__EXISTING_STATE_REQUEST",EXISTING_STATE_RESPONSE:"__EXISTING_STATE_RESPONSE",SET_STATE:"__SET_STATE",LEADER_CREATED:"__LEADER_CREATED",FOLLOWER_CREATED:"__FOLLOWER_CREATED"};Yr.Status={UNPREPARED:"UNPREPARED",SYNCING:"SYNCING",READY:"READY",ERROR:"ERROR"};Yr.isInternalConstructing=!1;Yr.setupPreparationPromise();var Wc=Yr,lD=i(e=>e.transports!==void 0,"isMulti"),cD=i(()=>Math.random().toString(16).slice(2),"generateRandomId"),Hv=class{constructor(t={}){this.sender=cD(),this.events={},this.data={},this.transports=[],this.isAsync=t.async||!1,lD(t)?(this.transports=t.transports||[],this.transports.forEach(r=>{r.setHandler(n=>this.handleEvent(n))})):this.transports=t.transport?[t.transport]:[],this.transports.forEach(r=>{r.setHandler(n=>this.handleEvent(n))})}get hasTransport(){return this.transports.length>0}addListener(t,r){this.events[t]=this.events[t]||[],this.events[t].push(r)}emit(t,...r){const n={type:t,args:r,from:this.sender};let o={};r.length>=1&&r[0]&&r[0].options&&(o=r[0].options);const s=i(()=>{this.transports.forEach(a=>{a.send(n,o)}),this.handleEvent(n)},"handler");this.isAsync?setImmediate(s):s()}last(t){return this.data[t]}eventNames(){return Object.keys(this.events)}listenerCount(t){const r=this.listeners(t);return r?r.length:0}listeners(t){return this.events[t]||void 0}once(t,r){const n=this.onceListener(t,r);this.addListener(t,n)}removeAllListeners(t){t?this.events[t]&&delete this.events[t]:this.events={}}removeListener(t,r){const n=this.listeners(t);n&&(this.events[t]=n.filter(o=>o!==r))}on(t,r){this.addListener(t,r)}off(t,r){this.removeListener(t,r)}handleEvent(t){const r=this.listeners(t.type);r&&r.length&&r.forEach(n=>{n.apply(t,t.args)}),this.data[t.type]=t.args}onceListener(t,r){const n=i((...o)=>(this.removeListener(t,n),r(...o)),"onceListener");return n}};i(Hv,"Channel");var hl=Hv,zv={};Tt(zv,{deprecate:()=>qp,logger:()=>De,once:()=>Ue,pretty:()=>Ct});var{LOGLEVEL:uD}=te,qr={trace:1,debug:2,info:3,warn:4,error:5,silent:10},dD=uD,Un=qr[dD]||qr.info,De={trace:i((e,...t)=>{Un<=qr.trace&&console.trace(e,...t)},"trace"),debug:i((e,...t)=>{Un<=qr.debug&&console.debug(e,...t)},"debug"),info:i((e,...t)=>{Un<=qr.info&&console.info(e,...t)},"info"),warn:i((e,...t)=>{Un<=qr.warn&&console.warn(e,...t)},"warn"),error:i((e,...t)=>{Un<=qr.error&&console.error(e,...t)},"error"),log:i((e,...t)=>{Un<qr.silent&&console.log(e,...t)},"log")},Au=new Set,Ue=i(e=>(t,...r)=>{if(!Au.has(t))return Au.add(t),De[e](t,...r)},"once");Ue.clear=()=>Au.clear();Ue.trace=Ue("trace");Ue.debug=Ue("debug");Ue.info=Ue("info");Ue.warn=Ue("warn");Ue.error=Ue("error");Ue.log=Ue("log");var qp=Ue("warn"),Ct=i(e=>(...t)=>{const r=[];if(t.length){const n=/<span\s+style=(['"])([^'"]*)\1\s*>/gi,o=/<\/span>/gi;let s;for(r.push(t[0].replace(n,"%c").replace(o,"%c"));s=n.exec(t[0]);)r.push(s[2]),r.push("");for(let a=1;a<t.length;a++)r.push(t[a])}De[e].apply(De,r)},"pretty");Ct.trace=Ct("trace");Ct.debug=Ct("debug");Ct.info=Ct("info");Ct.warn=Ct("warn");Ct.error=Ct("error");var pD=Object.create,Gv=Object.defineProperty,fD=Object.getOwnPropertyDescriptor,Wv=Object.getOwnPropertyNames,mD=Object.getPrototypeOf,hD=Object.prototype.hasOwnProperty,ge=i((e,t)=>i(function(){return t||(0,e[Wv(e)[0]])((t={exports:{}}).exports,t),t.exports},"__require"),"__commonJS"),yD=i((e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of Wv(t))!hD.call(e,o)&&o!==r&&Gv(e,o,{get:i(()=>t[o],"get"),enumerable:!(n=fD(t,o))||n.enumerable});return e},"__copyProps"),jp=i((e,t,r)=>(r=e!=null?pD(mD(e)):{},yD(t||!e||!e.__esModule?Gv(r,"default",{value:e,enumerable:!0}):r,e)),"__toESM"),gD=["bubbles","cancelBubble","cancelable","composed","currentTarget","defaultPrevented","eventPhase","isTrusted","returnValue","srcElement","target","timeStamp","type"],bD=["detail"];function Kv(e){const t=gD.filter(r=>e[r]!==void 0).reduce((r,n)=>(r[n]=e[n],r),{});if(e instanceof CustomEvent)for(const r of bD.filter(n=>e[n]!==void 0))t[r]=e[r];return t}i(Kv,"extractEventHiddenProperties");var Yv=ge({"node_modules/.pnpm/es-object-atoms@1.1.1/node_modules/es-object-atoms/index.js"(e,t){t.exports=Object}}),vD=ge({"node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/index.js"(e,t){t.exports=Error}}),ED=ge({"node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/eval.js"(e,t){t.exports=EvalError}}),TD=ge({"node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/range.js"(e,t){t.exports=RangeError}}),wD=ge({"node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/ref.js"(e,t){t.exports=ReferenceError}}),_D=ge({"node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/syntax.js"(e,t){t.exports=SyntaxError}}),kp=ge({"node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/type.js"(e,t){t.exports=TypeError}}),SD=ge({"node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/uri.js"(e,t){t.exports=URIError}}),PD=ge({"node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/abs.js"(e,t){t.exports=Math.abs}}),AD=ge({"node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/floor.js"(e,t){t.exports=Math.floor}}),RD=ge({"node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/max.js"(e,t){t.exports=Math.max}}),OD=ge({"node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/min.js"(e,t){t.exports=Math.min}}),CD=ge({"node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/pow.js"(e,t){t.exports=Math.pow}}),xD=ge({"node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/round.js"(e,t){t.exports=Math.round}}),ND=ge({"node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/isNaN.js"(e,t){t.exports=Number.isNaN||i(function(n){return n!==n},"isNaN2")}}),ID=ge({"node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/sign.js"(e,t){var r=ND();t.exports=i(function(o){return r(o)||o===0?o:o<0?-1:1},"sign")}}),MD=ge({"node_modules/.pnpm/gopd@1.2.0/node_modules/gopd/gOPD.js"(e,t){t.exports=Object.getOwnPropertyDescriptor}}),Dp=ge({"node_modules/.pnpm/gopd@1.2.0/node_modules/gopd/index.js"(e,t){var r=MD();if(r)try{r([],"length")}catch{r=null}t.exports=r}}),qD=ge({"node_modules/.pnpm/es-define-property@1.0.1/node_modules/es-define-property/index.js"(e,t){var r=Object.defineProperty||!1;if(r)try{r({},"a",{value:1})}catch{r=!1}t.exports=r}}),Xv=ge({"node_modules/.pnpm/has-symbols@1.1.0/node_modules/has-symbols/shams.js"(e,t){t.exports=i(function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var n={},o=Symbol("test"),s=Object(o);if(typeof o=="string"||Object.prototype.toString.call(o)!=="[object Symbol]"||Object.prototype.toString.call(s)!=="[object Symbol]")return!1;var a=42;n[o]=a;for(var c in n)return!1;if(typeof Object.keys=="function"&&Object.keys(n).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(n).length!==0)return!1;var u=Object.getOwnPropertySymbols(n);if(u.length!==1||u[0]!==o||!Object.prototype.propertyIsEnumerable.call(n,o))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var d=Object.getOwnPropertyDescriptor(n,o);if(d.value!==a||d.enumerable!==!0)return!1}return!0},"hasSymbols")}}),Qv=ge({"node_modules/.pnpm/has-symbols@1.1.0/node_modules/has-symbols/index.js"(e,t){var r=typeof Symbol<"u"&&Symbol,n=Xv();t.exports=i(function(){return typeof r!="function"||typeof Symbol!="function"||typeof r("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:n()},"hasNativeSymbols")}}),Zv=ge({"node_modules/.pnpm/get-proto@1.0.1/node_modules/get-proto/Reflect.getPrototypeOf.js"(e,t){t.exports=typeof Reflect<"u"&&Reflect.getPrototypeOf||null}}),eE=ge({"node_modules/.pnpm/get-proto@1.0.1/node_modules/get-proto/Object.getPrototypeOf.js"(e,t){var r=Yv();t.exports=r.getPrototypeOf||null}}),jD=ge({"node_modules/.pnpm/function-bind@1.1.2/node_modules/function-bind/implementation.js"(e,t){var r="Function.prototype.bind called on incompatible ",n=Object.prototype.toString,o=Math.max,s="[object Function]",a=i(function(p,f){for(var h=[],y=0;y<p.length;y+=1)h[y]=p[y];for(var g=0;g<f.length;g+=1)h[g+p.length]=f[g];return h},"concatty2"),c=i(function(p,f){for(var h=[],y=f||0,g=0;y<p.length;y+=1,g+=1)h[g]=p[y];return h},"slicy2"),u=i(function(d,p){for(var f="",h=0;h<d.length;h+=1)f+=d[h],h+1<d.length&&(f+=p);return f},"joiny");t.exports=i(function(p){var f=this;if(typeof f!="function"||n.apply(f)!==s)throw new TypeError(r+f);for(var h=c(arguments,1),y,g=i(function(){if(this instanceof y){var R=f.apply(this,a(h,arguments));return Object(R)===R?R:this}return f.apply(p,a(h,arguments))},"binder"),E=o(0,f.length-h.length),T=[],v=0;v<E;v++)T[v]="$"+v;if(y=Function("binder","return function ("+u(T,",")+"){ return binder.apply(this,arguments); }")(g),f.prototype){var _=i(function(){},"Empty2");_.prototype=f.prototype,y.prototype=new _,_.prototype=null}return y},"bind")}}),yl=ge({"node_modules/.pnpm/function-bind@1.1.2/node_modules/function-bind/index.js"(e,t){var r=jD();t.exports=Function.prototype.bind||r}}),Lp=ge({"node_modules/.pnpm/call-bind-apply-helpers@1.0.2/node_modules/call-bind-apply-helpers/functionCall.js"(e,t){t.exports=Function.prototype.call}}),tE=ge({"node_modules/.pnpm/call-bind-apply-helpers@1.0.2/node_modules/call-bind-apply-helpers/functionApply.js"(e,t){t.exports=Function.prototype.apply}}),kD=ge({"node_modules/.pnpm/call-bind-apply-helpers@1.0.2/node_modules/call-bind-apply-helpers/reflectApply.js"(e,t){t.exports=typeof Reflect<"u"&&Reflect&&Reflect.apply}}),DD=ge({"node_modules/.pnpm/call-bind-apply-helpers@1.0.2/node_modules/call-bind-apply-helpers/actualApply.js"(e,t){var r=yl(),n=tE(),o=Lp(),s=kD();t.exports=s||r.call(o,n)}}),rE=ge({"node_modules/.pnpm/call-bind-apply-helpers@1.0.2/node_modules/call-bind-apply-helpers/index.js"(e,t){var r=yl(),n=kp(),o=Lp(),s=DD();t.exports=i(function(c){if(c.length<1||typeof c[0]!="function")throw new n("a function is required");return s(r,o,c)},"callBindBasic")}}),LD=ge({"node_modules/.pnpm/dunder-proto@1.0.1/node_modules/dunder-proto/get.js"(e,t){var r=rE(),n=Dp(),o;try{o=[].__proto__===Array.prototype}catch(u){if(!u||typeof u!="object"||!("code"in u)||u.code!=="ERR_PROTO_ACCESS")throw u}var s=!!o&&n&&n(Object.prototype,"__proto__"),a=Object,c=a.getPrototypeOf;t.exports=s&&typeof s.get=="function"?r([s.get]):typeof c=="function"?i(function(d){return c(d==null?d:a(d))},"getDunder"):!1}}),FD=ge({"node_modules/.pnpm/get-proto@1.0.1/node_modules/get-proto/index.js"(e,t){var r=Zv(),n=eE(),o=LD();t.exports=r?i(function(a){return r(a)},"getProto"):n?i(function(a){if(!a||typeof a!="object"&&typeof a!="function")throw new TypeError("getProto: not an object");return n(a)},"getProto"):o?i(function(a){return o(a)},"getProto"):null}}),nE=ge({"node_modules/.pnpm/hasown@2.0.2/node_modules/hasown/index.js"(e,t){var r=Function.prototype.call,n=Object.prototype.hasOwnProperty,o=yl();t.exports=o.call(r,n)}}),$D=ge({"node_modules/.pnpm/get-intrinsic@1.3.0/node_modules/get-intrinsic/index.js"(e,t){var r,n=Yv(),o=vD(),s=ED(),a=TD(),c=wD(),u=_D(),d=kp(),p=SD(),f=PD(),h=AD(),y=RD(),g=OD(),E=CD(),T=xD(),v=ID(),_=Function,R=i(function(J){try{return _('"use strict"; return ('+J+").constructor;")()}catch{}},"getEvalledConstructor"),N=Dp(),j=qD(),C=i(function(){throw new d},"throwTypeError"),P=N?(function(){try{return arguments.callee,C}catch{try{return N(arguments,"callee").get}catch{return C}}})():C,w=Qv()(),S=FD(),k=eE(),I=Zv(),V=tE(),H=Lp(),A={},L=typeof Uint8Array>"u"||!S?r:S(Uint8Array),$={__proto__:null,"%AggregateError%":typeof AggregateError>"u"?r:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?r:ArrayBuffer,"%ArrayIteratorPrototype%":w&&S?S([][Symbol.iterator]()):r,"%AsyncFromSyncIteratorPrototype%":r,"%AsyncFunction%":A,"%AsyncGenerator%":A,"%AsyncGeneratorFunction%":A,"%AsyncIteratorPrototype%":A,"%Atomics%":typeof Atomics>"u"?r:Atomics,"%BigInt%":typeof BigInt>"u"?r:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?r:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?r:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?r:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":o,"%eval%":eval,"%EvalError%":s,"%Float16Array%":typeof Float16Array>"u"?r:Float16Array,"%Float32Array%":typeof Float32Array>"u"?r:Float32Array,"%Float64Array%":typeof Float64Array>"u"?r:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?r:FinalizationRegistry,"%Function%":_,"%GeneratorFunction%":A,"%Int8Array%":typeof Int8Array>"u"?r:Int8Array,"%Int16Array%":typeof Int16Array>"u"?r:Int16Array,"%Int32Array%":typeof Int32Array>"u"?r:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":w&&S?S(S([][Symbol.iterator]())):r,"%JSON%":typeof JSON=="object"?JSON:r,"%Map%":typeof Map>"u"?r:Map,"%MapIteratorPrototype%":typeof Map>"u"||!w||!S?r:S(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":n,"%Object.getOwnPropertyDescriptor%":N,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?r:Promise,"%Proxy%":typeof Proxy>"u"?r:Proxy,"%RangeError%":a,"%ReferenceError%":c,"%Reflect%":typeof Reflect>"u"?r:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?r:Set,"%SetIteratorPrototype%":typeof Set>"u"||!w||!S?r:S(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?r:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":w&&S?S(""[Symbol.iterator]()):r,"%Symbol%":w?Symbol:r,"%SyntaxError%":u,"%ThrowTypeError%":P,"%TypedArray%":L,"%TypeError%":d,"%Uint8Array%":typeof Uint8Array>"u"?r:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?r:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?r:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?r:Uint32Array,"%URIError%":p,"%WeakMap%":typeof WeakMap>"u"?r:WeakMap,"%WeakRef%":typeof WeakRef>"u"?r:WeakRef,"%WeakSet%":typeof WeakSet>"u"?r:WeakSet,"%Function.prototype.call%":H,"%Function.prototype.apply%":V,"%Object.defineProperty%":j,"%Object.getPrototypeOf%":k,"%Math.abs%":f,"%Math.floor%":h,"%Math.max%":y,"%Math.min%":g,"%Math.pow%":E,"%Math.round%":T,"%Math.sign%":v,"%Reflect.getPrototypeOf%":I};if(S)try{null.error}catch(J){D=S(S(J)),$["%Error.prototype%"]=D}var D,K=i(function J(Q){var re;if(Q==="%AsyncFunction%")re=R("async function () {}");else if(Q==="%GeneratorFunction%")re=R("function* () {}");else if(Q==="%AsyncGeneratorFunction%")re=R("async function* () {}");else if(Q==="%AsyncGenerator%"){var oe=J("%AsyncGeneratorFunction%");oe&&(re=oe.prototype)}else if(Q==="%AsyncIteratorPrototype%"){var ne=J("%AsyncGenerator%");ne&&S&&(re=S(ne.prototype))}return $[Q]=re,re},"doEval2"),X={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},ie=yl(),se=nE(),W=ie.call(H,Array.prototype.concat),ae=ie.call(V,Array.prototype.splice),be=ie.call(H,String.prototype.replace),ue=ie.call(H,String.prototype.slice),ee=ie.call(H,RegExp.prototype.exec),Re=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,Oe=/\\(\\)?/g,He=i(function(Q){var re=ue(Q,0,1),oe=ue(Q,-1);if(re==="%"&&oe!=="%")throw new u("invalid intrinsic syntax, expected closing `%`");if(oe==="%"&&re!=="%")throw new u("invalid intrinsic syntax, expected opening `%`");var ne=[];return be(Q,Re,function(de,he,pe,$e){ne[ne.length]=pe?be($e,Oe,"$1"):he||de}),ne},"stringToPath3"),Ke=i(function(Q,re){var oe=Q,ne;if(se(X,oe)&&(ne=X[oe],oe="%"+ne[0]+"%"),se($,oe)){var de=$[oe];if(de===A&&(de=K(oe)),typeof de>"u"&&!re)throw new d("intrinsic "+Q+" exists, but is not available. Please file an issue!");return{alias:ne,name:oe,value:de}}throw new u("intrinsic "+Q+" does not exist!")},"getBaseIntrinsic2");t.exports=i(function(Q,re){if(typeof Q!="string"||Q.length===0)throw new d("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof re!="boolean")throw new d('"allowMissing" argument must be a boolean');if(ee(/^%?[^%]*%?$/,Q)===null)throw new u("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var oe=He(Q),ne=oe.length>0?oe[0]:"",de=Ke("%"+ne+"%",re),he=de.name,pe=de.value,$e=!1,ot=de.alias;ot&&(ne=ot[0],ae(oe,W([0,1],ot)));for(var dt=1,wt=!0;dt<oe.length;dt+=1){var it=oe[dt],pt=ue(it,0,1),ft=ue(it,-1);if((pt==='"'||pt==="'"||pt==="`"||ft==='"'||ft==="'"||ft==="`")&&pt!==ft)throw new u("property names with quotes must have matching quotes");if((it==="constructor"||!wt)&&($e=!0),ne+="."+it,he="%"+ne+"%",se($,he))pe=$[he];else if(pe!=null){if(!(it in pe)){if(!re)throw new d("base intrinsic for "+Q+" exists, but the property is not available.");return}if(N&&dt+1>=oe.length){var mt=N(pe,it);wt=!!mt,wt&&"get"in mt&&!("originalValue"in mt.get)?pe=mt.get:pe=pe[it]}else wt=se(pe,it),pe=pe[it];wt&&!$e&&($[he]=pe)}}return pe},"GetIntrinsic")}}),Fp=ge({"node_modules/.pnpm/call-bound@1.0.4/node_modules/call-bound/index.js"(e,t){var r=$D(),n=rE(),o=n([r("%String.prototype.indexOf%")]);t.exports=i(function(a,c){var u=r(a,!!c);return typeof u=="function"&&o(a,".prototype.")>-1?n([u]):u},"callBoundIntrinsic")}}),BD=ge({"node_modules/.pnpm/has-tostringtag@1.0.2/node_modules/has-tostringtag/shams.js"(e,t){var r=Xv();t.exports=i(function(){return r()&&!!Symbol.toStringTag},"hasToStringTagShams")}}),oE=ge({"node_modules/.pnpm/is-regex@1.2.1/node_modules/is-regex/index.js"(e,t){var r=Fp(),n=BD()(),o=nE(),s=Dp(),a;n?(c=r("RegExp.prototype.exec"),u={},d=i(function(){throw u},"throwRegexMarker"),p={toString:d,valueOf:d},typeof Symbol.toPrimitive=="symbol"&&(p[Symbol.toPrimitive]=d),a=i(function(g){if(!g||typeof g!="object")return!1;var E=s(g,"lastIndex"),T=E&&o(E,"value");if(!T)return!1;try{c(g,p)}catch(v){return v===u}},"isRegex")):(f=r("Object.prototype.toString"),h="[object RegExp]",a=i(function(g){return!g||typeof g!="object"&&typeof g!="function"?!1:f(g)===h},"isRegex"));var c,u,d,p,f,h;t.exports=a}}),JD=ge({"node_modules/.pnpm/is-function@1.0.2/node_modules/is-function/index.js"(e,t){t.exports=n;var r=Object.prototype.toString;function n(o){if(!o)return!1;var s=r.call(o);return s==="[object Function]"||typeof o=="function"&&s!=="[object RegExp]"||typeof window<"u"&&(o===window.setTimeout||o===window.alert||o===window.confirm||o===window.prompt)}i(n,"isFunction3")}}),UD=ge({"node_modules/.pnpm/safe-regex-test@1.1.0/node_modules/safe-regex-test/index.js"(e,t){var r=Fp(),n=oE(),o=r("RegExp.prototype.exec"),s=kp();t.exports=i(function(c){if(!n(c))throw new s("`regex` must be a RegExp");return i(function(d){return o(c,d)!==null},"test")},"regexTester")}}),VD=ge({"node_modules/.pnpm/is-symbol@1.1.1/node_modules/is-symbol/index.js"(e,t){var r=Fp(),n=r("Object.prototype.toString"),o=Qv()(),s=UD();o?(a=r("Symbol.prototype.toString"),c=s(/^Symbol\(.*\)$/),u=i(function(p){return typeof p.valueOf()!="symbol"?!1:c(a(p))},"isRealSymbolObject"),t.exports=i(function(p){if(typeof p=="symbol")return!0;if(!p||typeof p!="object"||n(p)!=="[object Symbol]")return!1;try{return u(p)}catch{return!1}},"isSymbol3")):t.exports=i(function(p){return!1},"isSymbol3");var a,c,u}}),HD=jp(oE()),zD=jp(JD()),GD=jp(VD());function iE(e){return e!=null&&typeof e=="object"&&Array.isArray(e)===!1}i(iE,"isObject");var WD=typeof global=="object"&&global&&global.Object===Object&&global,KD=WD,YD=typeof self=="object"&&self&&self.Object===Object&&self,XD=KD||YD||Function("return this")(),$p=XD,QD=$p.Symbol,lo=QD,sE=Object.prototype,ZD=sE.hasOwnProperty,eL=sE.toString,fi=lo?lo.toStringTag:void 0;function aE(e){var t=ZD.call(e,fi),r=e[fi];try{e[fi]=void 0;var n=!0}catch{}var o=eL.call(e);return n&&(t?e[fi]=r:delete e[fi]),o}i(aE,"getRawTag");var tL=aE,rL=Object.prototype,nL=rL.toString;function lE(e){return nL.call(e)}i(lE,"objectToString");var oL=lE,iL="[object Null]",sL="[object Undefined]",ig=lo?lo.toStringTag:void 0;function cE(e){return e==null?e===void 0?sL:iL:ig&&ig in Object(e)?tL(e):oL(e)}i(cE,"baseGetTag");var uE=cE;function dE(e){return e!=null&&typeof e=="object"}i(dE,"isObjectLike");var aL=dE,lL="[object Symbol]";function pE(e){return typeof e=="symbol"||aL(e)&&uE(e)==lL}i(pE,"isSymbol");var Bp=pE;function fE(e,t){for(var r=-1,n=e==null?0:e.length,o=Array(n);++r<n;)o[r]=t(e[r],r,e);return o}i(fE,"arrayMap");var cL=fE,uL=Array.isArray,Jp=uL,sg=lo?lo.prototype:void 0,ag=sg?sg.toString:void 0;function Up(e){if(typeof e=="string")return e;if(Jp(e))return cL(e,Up)+"";if(Bp(e))return ag?ag.call(e):"";var t=e+"";return t=="0"&&1/e==-1/0?"-0":t}i(Up,"baseToString");var dL=Up;function mE(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}i(mE,"isObject2");var hE=mE,pL="[object AsyncFunction]",fL="[object Function]",mL="[object GeneratorFunction]",hL="[object Proxy]";function yE(e){if(!hE(e))return!1;var t=uE(e);return t==fL||t==mL||t==pL||t==hL}i(yE,"isFunction");var yL=yE,gL=$p["__core-js_shared__"],Kc=gL,lg=(function(){var e=/[^.]+$/.exec(Kc&&Kc.keys&&Kc.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""})();function gE(e){return!!lg&&lg in e}i(gE,"isMasked");var bL=gE,vL=Function.prototype,EL=vL.toString;function bE(e){if(e!=null){try{return EL.call(e)}catch{}try{return e+""}catch{}}return""}i(bE,"toSource");var TL=bE,wL=/[\\^$.*+?()[\]{}|]/g,_L=/^\[object .+?Constructor\]$/,SL=Function.prototype,PL=Object.prototype,AL=SL.toString,RL=PL.hasOwnProperty,OL=RegExp("^"+AL.call(RL).replace(wL,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function vE(e){if(!hE(e)||bL(e))return!1;var t=yL(e)?OL:_L;return t.test(TL(e))}i(vE,"baseIsNative");var CL=vE;function EE(e,t){return e?.[t]}i(EE,"getValue");var xL=EE;function TE(e,t){var r=xL(e,t);return CL(r)?r:void 0}i(TE,"getNative");var wE=TE;function _E(e,t){return e===t||e!==e&&t!==t}i(_E,"eq");var NL=_E,IL=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,ML=/^\w*$/;function SE(e,t){if(Jp(e))return!1;var r=typeof e;return r=="number"||r=="symbol"||r=="boolean"||e==null||Bp(e)?!0:ML.test(e)||!IL.test(e)||t!=null&&e in Object(t)}i(SE,"isKey");var qL=SE,jL=wE(Object,"create"),Vi=jL;function PE(){this.__data__=Vi?Vi(null):{},this.size=0}i(PE,"hashClear");var kL=PE;function AE(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}i(AE,"hashDelete");var DL=AE,LL="__lodash_hash_undefined__",FL=Object.prototype,$L=FL.hasOwnProperty;function RE(e){var t=this.__data__;if(Vi){var r=t[e];return r===LL?void 0:r}return $L.call(t,e)?t[e]:void 0}i(RE,"hashGet");var BL=RE,JL=Object.prototype,UL=JL.hasOwnProperty;function OE(e){var t=this.__data__;return Vi?t[e]!==void 0:UL.call(t,e)}i(OE,"hashHas");var VL=OE,HL="__lodash_hash_undefined__";function CE(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=Vi&&t===void 0?HL:t,this}i(CE,"hashSet");var zL=CE;function jn(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}i(jn,"Hash");jn.prototype.clear=kL;jn.prototype.delete=DL;jn.prototype.get=BL;jn.prototype.has=VL;jn.prototype.set=zL;var cg=jn;function xE(){this.__data__=[],this.size=0}i(xE,"listCacheClear");var GL=xE;function NE(e,t){for(var r=e.length;r--;)if(NL(e[r][0],t))return r;return-1}i(NE,"assocIndexOf");var gl=NE,WL=Array.prototype,KL=WL.splice;function IE(e){var t=this.__data__,r=gl(t,e);if(r<0)return!1;var n=t.length-1;return r==n?t.pop():KL.call(t,r,1),--this.size,!0}i(IE,"listCacheDelete");var YL=IE;function ME(e){var t=this.__data__,r=gl(t,e);return r<0?void 0:t[r][1]}i(ME,"listCacheGet");var XL=ME;function qE(e){return gl(this.__data__,e)>-1}i(qE,"listCacheHas");var QL=qE;function jE(e,t){var r=this.__data__,n=gl(r,e);return n<0?(++this.size,r.push([e,t])):r[n][1]=t,this}i(jE,"listCacheSet");var ZL=jE;function kn(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}i(kn,"ListCache");kn.prototype.clear=GL;kn.prototype.delete=YL;kn.prototype.get=XL;kn.prototype.has=QL;kn.prototype.set=ZL;var e1=kn,t1=wE($p,"Map"),r1=t1;function kE(){this.size=0,this.__data__={hash:new cg,map:new(r1||e1),string:new cg}}i(kE,"mapCacheClear");var n1=kE;function DE(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}i(DE,"isKeyable");var o1=DE;function LE(e,t){var r=e.__data__;return o1(t)?r[typeof t=="string"?"string":"hash"]:r.map}i(LE,"getMapData");var bl=LE;function FE(e){var t=bl(this,e).delete(e);return this.size-=t?1:0,t}i(FE,"mapCacheDelete");var i1=FE;function $E(e){return bl(this,e).get(e)}i($E,"mapCacheGet");var s1=$E;function BE(e){return bl(this,e).has(e)}i(BE,"mapCacheHas");var a1=BE;function JE(e,t){var r=bl(this,e),n=r.size;return r.set(e,t),this.size+=r.size==n?0:1,this}i(JE,"mapCacheSet");var l1=JE;function Dn(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}i(Dn,"MapCache");Dn.prototype.clear=n1;Dn.prototype.delete=i1;Dn.prototype.get=s1;Dn.prototype.has=a1;Dn.prototype.set=l1;var UE=Dn,c1="Expected a function";function vl(e,t){if(typeof e!="function"||t!=null&&typeof t!="function")throw new TypeError(c1);var r=i(function(){var n=arguments,o=t?t.apply(this,n):n[0],s=r.cache;if(s.has(o))return s.get(o);var a=e.apply(this,n);return r.cache=s.set(o,a)||s,a},"memoized");return r.cache=new(vl.Cache||UE),r}i(vl,"memoize");vl.Cache=UE;var u1=vl,d1=500;function VE(e){var t=u1(e,function(n){return r.size===d1&&r.clear(),n}),r=t.cache;return t}i(VE,"memoizeCapped");var p1=VE,f1=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,m1=/\\(\\)?/g,h1=p1(function(e){var t=[];return e.charCodeAt(0)===46&&t.push(""),e.replace(f1,function(r,n,o,s){t.push(o?s.replace(m1,"$1"):n||r)}),t}),y1=h1;function HE(e){return e==null?"":dL(e)}i(HE,"toString");var g1=HE;function zE(e,t){return Jp(e)?e:qL(e,t)?[e]:y1(g1(e))}i(zE,"castPath");var b1=zE;function GE(e){if(typeof e=="string"||Bp(e))return e;var t=e+"";return t=="0"&&1/e==-1/0?"-0":t}i(GE,"toKey");var v1=GE;function WE(e,t){t=b1(t,e);for(var r=0,n=t.length;e!=null&&r<n;)e=e[v1(t[r++])];return r&&r==n?e:void 0}i(WE,"baseGet");var E1=WE;function KE(e,t,r){var n=e==null?void 0:E1(e,t);return n===void 0?r:n}i(KE,"get");var T1=KE,Vp=iE,w1=/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(\.\d{3})?Z$/,Hp=i(e=>e.match(/^[\[\{\"\}].*[\]\}\"]$/),"isJSON");function zp(e){if(!Vp(e))return e;let t=e,r=!1;return typeof Event<"u"&&e instanceof Event&&(t=Kv(t),r=!0),t=Object.keys(t).reduce((n,o)=>{try{t[o]&&t[o].toJSON,n[o]=t[o]}catch{r=!0}return n},{}),r?t:e}i(zp,"convertUnconventionalData");var _1=i(function(t){let r,n,o,s;return i(function(c,u){try{if(c==="")return s=[],r=new Map([[u,"[]"]]),n=new Map,o=[],u;const d=n.get(this)||this;for(;o.length&&d!==o[0];)o.shift(),s.pop();if(typeof u=="boolean")return u;if(u===void 0)return t.allowUndefined?"_undefined_":void 0;if(u===null)return null;if(typeof u=="number")return u===Number.NEGATIVE_INFINITY?"_-Infinity_":u===Number.POSITIVE_INFINITY?"_Infinity_":Number.isNaN(u)?"_NaN_":u;if(typeof u=="bigint")return`_bigint_${u.toString()}`;if(typeof u=="string")return w1.test(u)?t.allowDate?`_date_${u}`:void 0:u;if((0,HD.default)(u))return t.allowRegExp?`_regexp_${u.flags}|${u.source}`:void 0;if((0,zD.default)(u))return;if((0,GD.default)(u)){if(!t.allowSymbol)return;const f=Symbol.keyFor(u);return f!==void 0?`_gsymbol_${f}`:`_symbol_${u.toString().slice(7,-1)}`}if(o.length>=t.maxDepth)return Array.isArray(u)?`[Array(${u.length})]`:"[Object]";if(u===this)return`_duplicate_${JSON.stringify(s)}`;if(u instanceof Error&&t.allowError)return{__isConvertedError__:!0,errorProperties:{...u.cause?{cause:u.cause}:{},...u,name:u.name,message:u.message,stack:u.stack,"_constructor-name_":u.constructor.name}};if(u?.constructor?.name&&u.constructor.name!=="Object"&&!Array.isArray(u)){const f=r.get(u);if(!f){const h={__isClassInstance__:!0,__className__:u.constructor.name,...Object.getOwnPropertyNames(u).reduce((y,g)=>{try{y[g]=u[g]}catch{}return y},{})};return s.push(c),o.unshift(h),r.set(u,JSON.stringify(s)),u!==h&&n.set(u,h),h}return`_duplicate_${f}`}const p=r.get(u);if(!p){const f=Array.isArray(u)?u:zp(u);return s.push(c),o.unshift(f),r.set(u,JSON.stringify(s)),u!==f&&n.set(u,f),f}return`_duplicate_${p}`}catch{return}},"replace")},"replacer2"),S1=i(function(t){const r=[];let n;return i(function(s,a){if(s===""&&(n=a,r.forEach(({target:c,container:u,replacement:d})=>{const p=Hp(d)?JSON.parse(d):d.split(".");p.length===0?u[c]=n:u[c]=T1(n,p)})),s==="_constructor-name_")return a;if(Vp(a)&&a.__isConvertedError__){const{message:c,...u}=a.errorProperties,d=new Error(c);return Object.assign(d,u),d}if(typeof a=="string"&&a.startsWith("_regexp_")&&t.allowRegExp){const[,c,u]=a.match(/_regexp_([^|]*)\|(.*)/)||[];return new RegExp(u,c)}return typeof a=="string"&&a.startsWith("_date_")&&t.allowDate?new Date(a.replace("_date_","")):typeof a=="string"&&a.startsWith("_duplicate_")?(r.push({target:s,container:this,replacement:a.replace(/^_duplicate_/,"")}),null):typeof a=="string"&&a.startsWith("_symbol_")&&t.allowSymbol?Symbol(a.replace("_symbol_","")):typeof a=="string"&&a.startsWith("_gsymbol_")&&t.allowSymbol?Symbol.for(a.replace("_gsymbol_","")):typeof a=="string"&&a==="_-Infinity_"?Number.NEGATIVE_INFINITY:typeof a=="string"&&a==="_Infinity_"?Number.POSITIVE_INFINITY:typeof a=="string"&&a==="_NaN_"?Number.NaN:typeof a=="string"&&a.startsWith("_bigint_")&&typeof BigInt=="function"?BigInt(a.replace("_bigint_","")):a},"revive")},"reviver2"),YE={maxDepth:10,space:void 0,allowRegExp:!0,allowDate:!0,allowError:!0,allowUndefined:!0,allowSymbol:!0},XE=i((e,t={})=>{const r={...YE,...t};return JSON.stringify(zp(e),_1(r),t.space)},"stringify"),P1=i(()=>{const e=new Map;return i(function t(r){Vp(r)&&Object.entries(r).forEach(([n,o])=>{o==="_undefined_"?r[n]=void 0:e.get(o)||(e.set(o,!0),t(o))}),Array.isArray(r)&&r.forEach((n,o)=>{n==="_undefined_"?(e.set(n,!0),r[o]=void 0):e.get(n)||(e.set(n,!0),t(n))})},"mutateUndefined")},"mutator"),QE=i((e,t={})=>{const r={...YE,...t},n=JSON.parse(e,S1(r));return P1()(n),n},"parse"),A1="Invariant failed";function or(e,t){if(!e)throw new Error(A1)}i(or,"invariant");var R1=i(e=>{const t=Array.from(document.querySelectorAll("iframe[data-is-storybook]")),[r,...n]=t.filter(s=>{try{return s.contentWindow?.location.origin===e.source.location.origin&&s.contentWindow?.location.pathname===e.source.location.pathname}catch{}try{return s.contentWindow===e.source}catch{}const a=s.getAttribute("src");let c;try{if(!a)return!1;({origin:c}=new URL(a,document.location.toString()))}catch{return!1}return c===e.origin}),o=r?.getAttribute("src");if(o&&n.length===0){const{protocol:s,host:a,pathname:c}=new URL(o,document.location.toString());return`${s}//${a}${c}`}return n.length>0&&De.error("found multiple candidates for event source"),null},"getEventSourceUrl"),{document:Yc,location:Xc}=te,ug="storybook-channel",O1={maxDepth:25},ZE=class{constructor(t){if(this.config=t,this.connected=!1,this.buffer=[],typeof te?.addEventListener=="function"&&te.addEventListener("message",this.handleEvent.bind(this),!1),t.page!=="manager"&&t.page!=="preview")throw new Error(`postmsg-channel: "config.page" cannot be "${t.page}"`)}setHandler(t){this.handler=(...r)=>{t.apply(this,r),!this.connected&&this.getLocalFrame().length&&(this.flush(),this.connected=!0)}}send(t,r){const{target:n,allowRegExp:o,allowSymbol:s,allowDate:a,allowError:c,allowUndefined:u,maxDepth:d,space:p}=r||{},f=Object.fromEntries(Object.entries({allowRegExp:o,allowSymbol:s,allowDate:a,allowError:c,allowUndefined:u,maxDepth:d,space:p}).filter(([T,v])=>typeof v<"u")),h={...O1,...te.CHANNEL_OPTIONS||{},...f},y=this.getFrames(n),g=new URLSearchParams(Xc?.search||""),E=XE({key:ug,event:t,refId:g.get("refId")},h);return y.length?(this.buffer.length&&this.flush(),y.forEach(T=>{try{T.postMessage(E,"*")}catch{De.error("sending over postmessage fail")}}),Promise.resolve(null)):new Promise((T,v)=>{this.buffer.push({event:t,resolve:T,reject:v})})}flush(){const{buffer:t}=this;this.buffer=[],t.forEach(r=>{this.send(r.event).then(r.resolve).catch(r.reject)})}getFrames(t){if(this.config.page==="manager"){const n=Array.from(Yc.querySelectorAll("iframe[data-is-storybook][data-is-loaded]")).flatMap(o=>{try{return o.contentWindow&&o.dataset.isStorybook!==void 0&&o.id===t?[o.contentWindow]:[]}catch{return[]}});return n?.length?n:this.getCurrentFrames()}return te&&te.parent&&te.parent!==te.self?[te.parent]:[]}getCurrentFrames(){return this.config.page==="manager"?Array.from(Yc.querySelectorAll('[data-is-storybook="true"]')).flatMap(r=>r.contentWindow?[r.contentWindow]:[]):te&&te.parent?[te.parent]:[]}getLocalFrame(){return this.config.page==="manager"?Array.from(Yc.querySelectorAll("#storybook-preview-iframe")).flatMap(r=>r.contentWindow?[r.contentWindow]:[]):te&&te.parent?[te.parent]:[]}handleEvent(t){try{const{data:r}=t,{key:n,event:o,refId:s}=typeof r=="string"&&Hp(r)?QE(r,te.CHANNEL_OPTIONS||{}):r;if(n===ug){const a=this.config.page==="manager"?'<span style="color: #37D5D3; background: black"> manager </span>':'<span style="color: #1EA7FD; background: black"> preview </span>',c=Object.values(Ap).includes(o.type)?`<span style="color: #FF4785">${o.type}</span>`:`<span style="color: #FFAE00">${o.type}</span>`;if(s&&(o.refId=s),o.source=this.config.page==="preview"?t.origin:R1(t),!o.source){Ct.error(`${a} received ${c} but was unable to determine the source of the event`);return}const u=`${a} received ${c} (${r.length})`;Ct.debug(Xc.origin!==o.source?u:`${u} <span style="color: gray">(on ${Xc.origin} from ${o.source})</span>`,...o.args),or(this.handler,"ChannelHandler should be set"),this.handler(o)}}catch(r){De.error(r)}}};i(ZE,"PostMessageTransport");var eT=ZE,{WebSocket:C1}=te,tT=15e3,rT=5e3,nT=class{constructor({url:t,onError:r,page:n}){this.buffer=[],this.isReady=!1,this.isClosed=!1,this.pingTimeout=0,this.socket=new C1(t),this.socket.onopen=()=>{this.isReady=!0,this.heartbeat(),this.flush()},this.socket.onmessage=({data:o})=>{const s=typeof o=="string"&&Hp(o)?QE(o):o;or(this.handler),this.handler(s),s.type==="ping"&&(this.heartbeat(),this.send({type:"pong"}))},this.socket.onerror=o=>{r&&r(o)},this.socket.onclose=o=>{or(this.handler),this.handler({type:Tv,args:[{reason:o.reason,code:o.code}],from:n||"preview"}),this.isClosed=!0,clearTimeout(this.pingTimeout)}}heartbeat(){clearTimeout(this.pingTimeout),this.pingTimeout=setTimeout(()=>{this.socket.close(3008,"timeout")},tT+rT)}setHandler(t){this.handler=t}send(t){this.isClosed||(this.isReady?this.sendNow(t):this.sendLater(t))}sendLater(t){this.buffer.push(t)}sendNow(t){const r=XE(t,{maxDepth:15,...te.CHANNEL_OPTIONS});this.socket.send(r)}flush(){const{buffer:t}=this;this.buffer=[],t.forEach(r=>this.send(r))}};i(nT,"WebsocketTransport");var oT=nT,{CONFIG_TYPE:x1}=te,N1=hl;function iT({page:e,extraTransports:t=[]}){const r=[new eT({page:e}),...t];if(x1==="DEVELOPMENT"){const o=window.location.protocol==="http:"?"ws":"wss",{hostname:s,port:a}=window.location,c=`${o}://${s}:${a}/storybook-server-channel`;r.push(new oT({url:c,onError:i(()=>{},"onError"),page:e}))}const n=new hl({transports:r});return Wc.__prepare(n,e==="manager"?Wc.Environment.MANAGER:Wc.Environment.PREVIEW),n}i(iT,"createBrowserChannel");var sT={};Tt(sT,{CalledExtractOnStoreError:()=>hT,CalledPreviewMethodBeforeInitializationError:()=>At,Category:()=>cT,ElementA11yParameterError:()=>D1,EmptyIndexError:()=>ST,ImplicitActionsDuringRendering:()=>fT,MdxFileWithNoCsfReferencesError:()=>wT,MissingRenderToCanvasError:()=>gT,MissingStoryAfterHmrError:()=>dT,MissingStoryFromCsfFileError:()=>OT,MountMustBeDestructuredError:()=>Gp,NextJsSharpError:()=>M1,NextjsRouterMocksNotAvailable:()=>q1,NoRenderFunctionError:()=>MT,NoStoryMatchError:()=>AT,NoStoryMountedError:()=>jT,StatusTypeIdMismatchError:()=>I1,StoryIndexFetchError:()=>ET,StoryStoreAccessedBeforeInitializationError:()=>xT,UnknownArgTypesError:()=>j1,UnsupportedViewportDimensionError:()=>k1});function Ru({code:e,category:t}){const r=String(e).padStart(4,"0");return`SB_${t}_${r}`}i(Ru,"parseErrorCode");function Ou(e){if(/^(?!.*storybook\.js\.org)|[?&]ref=error\b/.test(e))return e;try{const t=new URL(e);return t.searchParams.set("ref","error"),t.toString()}catch{return e}}i(Ou,"appendErrorRef");var aT=class lT extends Error{constructor(t){super(lT.getFullMessage(t)),this.data={},this.fromStorybook=!0,this.category=t.category,this.documentation=t.documentation??!1,this.code=t.code}get fullErrorCode(){return Ru({code:this.code,category:this.category})}get name(){const t=this.constructor.name;return`${this.fullErrorCode} (${t})`}static getFullMessage({documentation:t,code:r,category:n,message:o}){let s;return t===!0?s=`https://storybook.js.org/error/${Ru({code:r,category:n})}?ref=error`:typeof t=="string"?s=Ou(t):Array.isArray(t)&&(s=`
33
+ ${t}`,JSON.stringify({data:r,actor:this.actor,state:this.state,status:this.status},null,2))}static __reset(){fe.preparation.reject(new Error("reset")),fe.setupPreparationPromise(),fe.isInternalConstructing=!1}};i(Yr,"UniversalStore");Yr.ActorType={LEADER:"LEADER",FOLLOWER:"FOLLOWER"};Yr.Environment={SERVER:"SERVER",MANAGER:"MANAGER",PREVIEW:"PREVIEW",UNKNOWN:"UNKNOWN",MOCK:"MOCK"};Yr.InternalEventType={EXISTING_STATE_REQUEST:"__EXISTING_STATE_REQUEST",EXISTING_STATE_RESPONSE:"__EXISTING_STATE_RESPONSE",SET_STATE:"__SET_STATE",LEADER_CREATED:"__LEADER_CREATED",FOLLOWER_CREATED:"__FOLLOWER_CREATED"};Yr.Status={UNPREPARED:"UNPREPARED",SYNCING:"SYNCING",READY:"READY",ERROR:"ERROR"};Yr.isInternalConstructing=!1;Yr.setupPreparationPromise();var Wc=Yr,lD=i(e=>e.transports!==void 0,"isMulti"),cD=i(()=>Math.random().toString(16).slice(2),"generateRandomId"),Hv=class{constructor(t={}){this.sender=cD(),this.events={},this.data={},this.transports=[],this.isAsync=t.async||!1,lD(t)?(this.transports=t.transports||[],this.transports.forEach(r=>{r.setHandler(n=>this.handleEvent(n))})):this.transports=t.transport?[t.transport]:[],this.transports.forEach(r=>{r.setHandler(n=>this.handleEvent(n))})}get hasTransport(){return this.transports.length>0}addListener(t,r){this.events[t]=this.events[t]||[],this.events[t].push(r)}emit(t,...r){const n={type:t,args:r,from:this.sender};let o={};r.length>=1&&r[0]&&r[0].options&&(o=r[0].options);const s=i(()=>{this.transports.forEach(a=>{a.send(n,o)}),this.handleEvent(n)},"handler");this.isAsync?setImmediate(s):s()}last(t){return this.data[t]}eventNames(){return Object.keys(this.events)}listenerCount(t){const r=this.listeners(t);return r?r.length:0}listeners(t){return this.events[t]||void 0}once(t,r){const n=this.onceListener(t,r);this.addListener(t,n)}removeAllListeners(t){t?this.events[t]&&delete this.events[t]:this.events={}}removeListener(t,r){const n=this.listeners(t);n&&(this.events[t]=n.filter(o=>o!==r))}on(t,r){this.addListener(t,r)}off(t,r){this.removeListener(t,r)}handleEvent(t){const r=this.listeners(t.type);r&&r.length&&r.forEach(n=>{n.apply(t,t.args)}),this.data[t.type]=t.args}onceListener(t,r){const n=i((...o)=>(this.removeListener(t,n),r(...o)),"onceListener");return n}};i(Hv,"Channel");var hl=Hv,zv={};Tt(zv,{deprecate:()=>qp,logger:()=>De,once:()=>Ue,pretty:()=>Ct});var{LOGLEVEL:uD}=te,qr={trace:1,debug:2,info:3,warn:4,error:5,silent:10},dD=uD,Un=qr[dD]||qr.info,De={trace:i((e,...t)=>{Un<=qr.trace&&console.trace(e,...t)},"trace"),debug:i((e,...t)=>{Un<=qr.debug&&console.debug(e,...t)},"debug"),info:i((e,...t)=>{Un<=qr.info&&console.info(e,...t)},"info"),warn:i((e,...t)=>{Un<=qr.warn&&console.warn(e,...t)},"warn"),error:i((e,...t)=>{Un<=qr.error&&console.error(e,...t)},"error"),log:i((e,...t)=>{Un<qr.silent&&console.log(e,...t)},"log")},Au=new Set,Ue=i(e=>(t,...r)=>{if(!Au.has(t))return Au.add(t),De[e](t,...r)},"once");Ue.clear=()=>Au.clear();Ue.trace=Ue("trace");Ue.debug=Ue("debug");Ue.info=Ue("info");Ue.warn=Ue("warn");Ue.error=Ue("error");Ue.log=Ue("log");var qp=Ue("warn"),Ct=i(e=>(...t)=>{const r=[];if(t.length){const n=/<span\s+style=(['"])([^'"]*)\1\s*>/gi,o=/<\/span>/gi;let s;for(r.push(t[0].replace(n,"%c").replace(o,"%c"));s=n.exec(t[0]);)r.push(s[2]),r.push("");for(let a=1;a<t.length;a++)r.push(t[a])}De[e].apply(De,r)},"pretty");Ct.trace=Ct("trace");Ct.debug=Ct("debug");Ct.info=Ct("info");Ct.warn=Ct("warn");Ct.error=Ct("error");var pD=Object.create,Gv=Object.defineProperty,fD=Object.getOwnPropertyDescriptor,Wv=Object.getOwnPropertyNames,mD=Object.getPrototypeOf,hD=Object.prototype.hasOwnProperty,ge=i((e,t)=>i(function(){return t||(0,e[Wv(e)[0]])((t={exports:{}}).exports,t),t.exports},"__require"),"__commonJS"),yD=i((e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of Wv(t))!hD.call(e,o)&&o!==r&&Gv(e,o,{get:i(()=>t[o],"get"),enumerable:!(n=fD(t,o))||n.enumerable});return e},"__copyProps"),jp=i((e,t,r)=>(r=e!=null?pD(mD(e)):{},yD(t||!e||!e.__esModule?Gv(r,"default",{value:e,enumerable:!0}):r,e)),"__toESM"),gD=["bubbles","cancelBubble","cancelable","composed","currentTarget","defaultPrevented","eventPhase","isTrusted","returnValue","srcElement","target","timeStamp","type"],bD=["detail"];function Kv(e){const t=gD.filter(r=>e[r]!==void 0).reduce((r,n)=>(r[n]=e[n],r),{});if(e instanceof CustomEvent)for(const r of bD.filter(n=>e[n]!==void 0))t[r]=e[r];return t}i(Kv,"extractEventHiddenProperties");var Yv=ge({"node_modules/.pnpm/es-object-atoms@1.1.1/node_modules/es-object-atoms/index.js"(e,t){t.exports=Object}}),vD=ge({"node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/index.js"(e,t){t.exports=Error}}),ED=ge({"node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/eval.js"(e,t){t.exports=EvalError}}),TD=ge({"node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/range.js"(e,t){t.exports=RangeError}}),wD=ge({"node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/ref.js"(e,t){t.exports=ReferenceError}}),_D=ge({"node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/syntax.js"(e,t){t.exports=SyntaxError}}),kp=ge({"node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/type.js"(e,t){t.exports=TypeError}}),SD=ge({"node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/uri.js"(e,t){t.exports=URIError}}),PD=ge({"node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/abs.js"(e,t){t.exports=Math.abs}}),AD=ge({"node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/floor.js"(e,t){t.exports=Math.floor}}),RD=ge({"node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/max.js"(e,t){t.exports=Math.max}}),OD=ge({"node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/min.js"(e,t){t.exports=Math.min}}),CD=ge({"node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/pow.js"(e,t){t.exports=Math.pow}}),xD=ge({"node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/round.js"(e,t){t.exports=Math.round}}),ND=ge({"node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/isNaN.js"(e,t){t.exports=Number.isNaN||i(function(n){return n!==n},"isNaN2")}}),ID=ge({"node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/sign.js"(e,t){var r=ND();t.exports=i(function(o){return r(o)||o===0?o:o<0?-1:1},"sign")}}),MD=ge({"node_modules/.pnpm/gopd@1.2.0/node_modules/gopd/gOPD.js"(e,t){t.exports=Object.getOwnPropertyDescriptor}}),Dp=ge({"node_modules/.pnpm/gopd@1.2.0/node_modules/gopd/index.js"(e,t){var r=MD();if(r)try{r([],"length")}catch{r=null}t.exports=r}}),qD=ge({"node_modules/.pnpm/es-define-property@1.0.1/node_modules/es-define-property/index.js"(e,t){var r=Object.defineProperty||!1;if(r)try{r({},"a",{value:1})}catch{r=!1}t.exports=r}}),Xv=ge({"node_modules/.pnpm/has-symbols@1.1.0/node_modules/has-symbols/shams.js"(e,t){t.exports=i(function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var n={},o=Symbol("test"),s=Object(o);if(typeof o=="string"||Object.prototype.toString.call(o)!=="[object Symbol]"||Object.prototype.toString.call(s)!=="[object Symbol]")return!1;var a=42;n[o]=a;for(var c in n)return!1;if(typeof Object.keys=="function"&&Object.keys(n).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(n).length!==0)return!1;var u=Object.getOwnPropertySymbols(n);if(u.length!==1||u[0]!==o||!Object.prototype.propertyIsEnumerable.call(n,o))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var d=Object.getOwnPropertyDescriptor(n,o);if(d.value!==a||d.enumerable!==!0)return!1}return!0},"hasSymbols")}}),Qv=ge({"node_modules/.pnpm/has-symbols@1.1.0/node_modules/has-symbols/index.js"(e,t){var r=typeof Symbol<"u"&&Symbol,n=Xv();t.exports=i(function(){return typeof r!="function"||typeof Symbol!="function"||typeof r("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:n()},"hasNativeSymbols")}}),Zv=ge({"node_modules/.pnpm/get-proto@1.0.1/node_modules/get-proto/Reflect.getPrototypeOf.js"(e,t){t.exports=typeof Reflect<"u"&&Reflect.getPrototypeOf||null}}),eE=ge({"node_modules/.pnpm/get-proto@1.0.1/node_modules/get-proto/Object.getPrototypeOf.js"(e,t){var r=Yv();t.exports=r.getPrototypeOf||null}}),jD=ge({"node_modules/.pnpm/function-bind@1.1.2/node_modules/function-bind/implementation.js"(e,t){var r="Function.prototype.bind called on incompatible ",n=Object.prototype.toString,o=Math.max,s="[object Function]",a=i(function(p,f){for(var h=[],y=0;y<p.length;y+=1)h[y]=p[y];for(var g=0;g<f.length;g+=1)h[g+p.length]=f[g];return h},"concatty2"),c=i(function(p,f){for(var h=[],y=f||0,g=0;y<p.length;y+=1,g+=1)h[g]=p[y];return h},"slicy2"),u=i(function(d,p){for(var f="",h=0;h<d.length;h+=1)f+=d[h],h+1<d.length&&(f+=p);return f},"joiny");t.exports=i(function(p){var f=this;if(typeof f!="function"||n.apply(f)!==s)throw new TypeError(r+f);for(var h=c(arguments,1),y,g=i(function(){if(this instanceof y){var R=f.apply(this,a(h,arguments));return Object(R)===R?R:this}return f.apply(p,a(h,arguments))},"binder"),E=o(0,f.length-h.length),T=[],v=0;v<E;v++)T[v]="$"+v;if(y=Function("binder","return function ("+u(T,",")+"){ return binder.apply(this,arguments); }")(g),f.prototype){var _=i(function(){},"Empty2");_.prototype=f.prototype,y.prototype=new _,_.prototype=null}return y},"bind")}}),yl=ge({"node_modules/.pnpm/function-bind@1.1.2/node_modules/function-bind/index.js"(e,t){var r=jD();t.exports=Function.prototype.bind||r}}),Lp=ge({"node_modules/.pnpm/call-bind-apply-helpers@1.0.2/node_modules/call-bind-apply-helpers/functionCall.js"(e,t){t.exports=Function.prototype.call}}),tE=ge({"node_modules/.pnpm/call-bind-apply-helpers@1.0.2/node_modules/call-bind-apply-helpers/functionApply.js"(e,t){t.exports=Function.prototype.apply}}),kD=ge({"node_modules/.pnpm/call-bind-apply-helpers@1.0.2/node_modules/call-bind-apply-helpers/reflectApply.js"(e,t){t.exports=typeof Reflect<"u"&&Reflect&&Reflect.apply}}),DD=ge({"node_modules/.pnpm/call-bind-apply-helpers@1.0.2/node_modules/call-bind-apply-helpers/actualApply.js"(e,t){var r=yl(),n=tE(),o=Lp(),s=kD();t.exports=s||r.call(o,n)}}),rE=ge({"node_modules/.pnpm/call-bind-apply-helpers@1.0.2/node_modules/call-bind-apply-helpers/index.js"(e,t){var r=yl(),n=kp(),o=Lp(),s=DD();t.exports=i(function(c){if(c.length<1||typeof c[0]!="function")throw new n("a function is required");return s(r,o,c)},"callBindBasic")}}),LD=ge({"node_modules/.pnpm/dunder-proto@1.0.1/node_modules/dunder-proto/get.js"(e,t){var r=rE(),n=Dp(),o;try{o=[].__proto__===Array.prototype}catch(u){if(!u||typeof u!="object"||!("code"in u)||u.code!=="ERR_PROTO_ACCESS")throw u}var s=!!o&&n&&n(Object.prototype,"__proto__"),a=Object,c=a.getPrototypeOf;t.exports=s&&typeof s.get=="function"?r([s.get]):typeof c=="function"?i(function(d){return c(d==null?d:a(d))},"getDunder"):!1}}),FD=ge({"node_modules/.pnpm/get-proto@1.0.1/node_modules/get-proto/index.js"(e,t){var r=Zv(),n=eE(),o=LD();t.exports=r?i(function(a){return r(a)},"getProto"):n?i(function(a){if(!a||typeof a!="object"&&typeof a!="function")throw new TypeError("getProto: not an object");return n(a)},"getProto"):o?i(function(a){return o(a)},"getProto"):null}}),nE=ge({"node_modules/.pnpm/hasown@2.0.2/node_modules/hasown/index.js"(e,t){var r=Function.prototype.call,n=Object.prototype.hasOwnProperty,o=yl();t.exports=o.call(r,n)}}),$D=ge({"node_modules/.pnpm/get-intrinsic@1.3.0/node_modules/get-intrinsic/index.js"(e,t){var r,n=Yv(),o=vD(),s=ED(),a=TD(),c=wD(),u=_D(),d=kp(),p=SD(),f=PD(),h=AD(),y=RD(),g=OD(),E=CD(),T=xD(),v=ID(),_=Function,R=i(function(J){try{return _('"use strict"; return ('+J+").constructor;")()}catch{}},"getEvalledConstructor"),N=Dp(),j=qD(),C=i(function(){throw new d},"throwTypeError"),P=N?(function(){try{return arguments.callee,C}catch{try{return N(arguments,"callee").get}catch{return C}}})():C,w=Qv()(),S=FD(),k=eE(),I=Zv(),V=tE(),H=Lp(),A={},L=typeof Uint8Array>"u"||!S?r:S(Uint8Array),$={__proto__:null,"%AggregateError%":typeof AggregateError>"u"?r:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?r:ArrayBuffer,"%ArrayIteratorPrototype%":w&&S?S([][Symbol.iterator]()):r,"%AsyncFromSyncIteratorPrototype%":r,"%AsyncFunction%":A,"%AsyncGenerator%":A,"%AsyncGeneratorFunction%":A,"%AsyncIteratorPrototype%":A,"%Atomics%":typeof Atomics>"u"?r:Atomics,"%BigInt%":typeof BigInt>"u"?r:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?r:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?r:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?r:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":o,"%eval%":eval,"%EvalError%":s,"%Float16Array%":typeof Float16Array>"u"?r:Float16Array,"%Float32Array%":typeof Float32Array>"u"?r:Float32Array,"%Float64Array%":typeof Float64Array>"u"?r:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?r:FinalizationRegistry,"%Function%":_,"%GeneratorFunction%":A,"%Int8Array%":typeof Int8Array>"u"?r:Int8Array,"%Int16Array%":typeof Int16Array>"u"?r:Int16Array,"%Int32Array%":typeof Int32Array>"u"?r:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":w&&S?S(S([][Symbol.iterator]())):r,"%JSON%":typeof JSON=="object"?JSON:r,"%Map%":typeof Map>"u"?r:Map,"%MapIteratorPrototype%":typeof Map>"u"||!w||!S?r:S(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":n,"%Object.getOwnPropertyDescriptor%":N,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?r:Promise,"%Proxy%":typeof Proxy>"u"?r:Proxy,"%RangeError%":a,"%ReferenceError%":c,"%Reflect%":typeof Reflect>"u"?r:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?r:Set,"%SetIteratorPrototype%":typeof Set>"u"||!w||!S?r:S(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?r:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":w&&S?S(""[Symbol.iterator]()):r,"%Symbol%":w?Symbol:r,"%SyntaxError%":u,"%ThrowTypeError%":P,"%TypedArray%":L,"%TypeError%":d,"%Uint8Array%":typeof Uint8Array>"u"?r:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?r:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?r:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?r:Uint32Array,"%URIError%":p,"%WeakMap%":typeof WeakMap>"u"?r:WeakMap,"%WeakRef%":typeof WeakRef>"u"?r:WeakRef,"%WeakSet%":typeof WeakSet>"u"?r:WeakSet,"%Function.prototype.call%":H,"%Function.prototype.apply%":V,"%Object.defineProperty%":j,"%Object.getPrototypeOf%":k,"%Math.abs%":f,"%Math.floor%":h,"%Math.max%":y,"%Math.min%":g,"%Math.pow%":E,"%Math.round%":T,"%Math.sign%":v,"%Reflect.getPrototypeOf%":I};if(S)try{null.error}catch(J){D=S(S(J)),$["%Error.prototype%"]=D}var D,K=i(function J(Q){var re;if(Q==="%AsyncFunction%")re=R("async function () {}");else if(Q==="%GeneratorFunction%")re=R("function* () {}");else if(Q==="%AsyncGeneratorFunction%")re=R("async function* () {}");else if(Q==="%AsyncGenerator%"){var oe=J("%AsyncGeneratorFunction%");oe&&(re=oe.prototype)}else if(Q==="%AsyncIteratorPrototype%"){var ne=J("%AsyncGenerator%");ne&&S&&(re=S(ne.prototype))}return $[Q]=re,re},"doEval2"),X={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},ie=yl(),se=nE(),W=ie.call(H,Array.prototype.concat),ae=ie.call(V,Array.prototype.splice),be=ie.call(H,String.prototype.replace),ue=ie.call(H,String.prototype.slice),ee=ie.call(H,RegExp.prototype.exec),Re=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,Oe=/\\(\\)?/g,He=i(function(Q){var re=ue(Q,0,1),oe=ue(Q,-1);if(re==="%"&&oe!=="%")throw new u("invalid intrinsic syntax, expected closing `%`");if(oe==="%"&&re!=="%")throw new u("invalid intrinsic syntax, expected opening `%`");var ne=[];return be(Q,Re,function(de,he,pe,$e){ne[ne.length]=pe?be($e,Oe,"$1"):he||de}),ne},"stringToPath3"),Ke=i(function(Q,re){var oe=Q,ne;if(se(X,oe)&&(ne=X[oe],oe="%"+ne[0]+"%"),se($,oe)){var de=$[oe];if(de===A&&(de=K(oe)),typeof de>"u"&&!re)throw new d("intrinsic "+Q+" exists, but is not available. Please file an issue!");return{alias:ne,name:oe,value:de}}throw new u("intrinsic "+Q+" does not exist!")},"getBaseIntrinsic2");t.exports=i(function(Q,re){if(typeof Q!="string"||Q.length===0)throw new d("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof re!="boolean")throw new d('"allowMissing" argument must be a boolean');if(ee(/^%?[^%]*%?$/,Q)===null)throw new u("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var oe=He(Q),ne=oe.length>0?oe[0]:"",de=Ke("%"+ne+"%",re),he=de.name,pe=de.value,$e=!1,it=de.alias;it&&(ne=it[0],ae(oe,W([0,1],it)));for(var pt=1,wt=!0;pt<oe.length;pt+=1){var st=oe[pt],ft=ue(st,0,1),mt=ue(st,-1);if((ft==='"'||ft==="'"||ft==="`"||mt==='"'||mt==="'"||mt==="`")&&ft!==mt)throw new u("property names with quotes must have matching quotes");if((st==="constructor"||!wt)&&($e=!0),ne+="."+st,he="%"+ne+"%",se($,he))pe=$[he];else if(pe!=null){if(!(st in pe)){if(!re)throw new d("base intrinsic for "+Q+" exists, but the property is not available.");return}if(N&&pt+1>=oe.length){var ht=N(pe,st);wt=!!ht,wt&&"get"in ht&&!("originalValue"in ht.get)?pe=ht.get:pe=pe[st]}else wt=se(pe,st),pe=pe[st];wt&&!$e&&($[he]=pe)}}return pe},"GetIntrinsic")}}),Fp=ge({"node_modules/.pnpm/call-bound@1.0.4/node_modules/call-bound/index.js"(e,t){var r=$D(),n=rE(),o=n([r("%String.prototype.indexOf%")]);t.exports=i(function(a,c){var u=r(a,!!c);return typeof u=="function"&&o(a,".prototype.")>-1?n([u]):u},"callBoundIntrinsic")}}),BD=ge({"node_modules/.pnpm/has-tostringtag@1.0.2/node_modules/has-tostringtag/shams.js"(e,t){var r=Xv();t.exports=i(function(){return r()&&!!Symbol.toStringTag},"hasToStringTagShams")}}),oE=ge({"node_modules/.pnpm/is-regex@1.2.1/node_modules/is-regex/index.js"(e,t){var r=Fp(),n=BD()(),o=nE(),s=Dp(),a;n?(c=r("RegExp.prototype.exec"),u={},d=i(function(){throw u},"throwRegexMarker"),p={toString:d,valueOf:d},typeof Symbol.toPrimitive=="symbol"&&(p[Symbol.toPrimitive]=d),a=i(function(g){if(!g||typeof g!="object")return!1;var E=s(g,"lastIndex"),T=E&&o(E,"value");if(!T)return!1;try{c(g,p)}catch(v){return v===u}},"isRegex")):(f=r("Object.prototype.toString"),h="[object RegExp]",a=i(function(g){return!g||typeof g!="object"&&typeof g!="function"?!1:f(g)===h},"isRegex"));var c,u,d,p,f,h;t.exports=a}}),JD=ge({"node_modules/.pnpm/is-function@1.0.2/node_modules/is-function/index.js"(e,t){t.exports=n;var r=Object.prototype.toString;function n(o){if(!o)return!1;var s=r.call(o);return s==="[object Function]"||typeof o=="function"&&s!=="[object RegExp]"||typeof window<"u"&&(o===window.setTimeout||o===window.alert||o===window.confirm||o===window.prompt)}i(n,"isFunction3")}}),UD=ge({"node_modules/.pnpm/safe-regex-test@1.1.0/node_modules/safe-regex-test/index.js"(e,t){var r=Fp(),n=oE(),o=r("RegExp.prototype.exec"),s=kp();t.exports=i(function(c){if(!n(c))throw new s("`regex` must be a RegExp");return i(function(d){return o(c,d)!==null},"test")},"regexTester")}}),VD=ge({"node_modules/.pnpm/is-symbol@1.1.1/node_modules/is-symbol/index.js"(e,t){var r=Fp(),n=r("Object.prototype.toString"),o=Qv()(),s=UD();o?(a=r("Symbol.prototype.toString"),c=s(/^Symbol\(.*\)$/),u=i(function(p){return typeof p.valueOf()!="symbol"?!1:c(a(p))},"isRealSymbolObject"),t.exports=i(function(p){if(typeof p=="symbol")return!0;if(!p||typeof p!="object"||n(p)!=="[object Symbol]")return!1;try{return u(p)}catch{return!1}},"isSymbol3")):t.exports=i(function(p){return!1},"isSymbol3");var a,c,u}}),HD=jp(oE()),zD=jp(JD()),GD=jp(VD());function iE(e){return e!=null&&typeof e=="object"&&Array.isArray(e)===!1}i(iE,"isObject");var WD=typeof global=="object"&&global&&global.Object===Object&&global,KD=WD,YD=typeof self=="object"&&self&&self.Object===Object&&self,XD=KD||YD||Function("return this")(),$p=XD,QD=$p.Symbol,lo=QD,sE=Object.prototype,ZD=sE.hasOwnProperty,eL=sE.toString,fi=lo?lo.toStringTag:void 0;function aE(e){var t=ZD.call(e,fi),r=e[fi];try{e[fi]=void 0;var n=!0}catch{}var o=eL.call(e);return n&&(t?e[fi]=r:delete e[fi]),o}i(aE,"getRawTag");var tL=aE,rL=Object.prototype,nL=rL.toString;function lE(e){return nL.call(e)}i(lE,"objectToString");var oL=lE,iL="[object Null]",sL="[object Undefined]",ig=lo?lo.toStringTag:void 0;function cE(e){return e==null?e===void 0?sL:iL:ig&&ig in Object(e)?tL(e):oL(e)}i(cE,"baseGetTag");var uE=cE;function dE(e){return e!=null&&typeof e=="object"}i(dE,"isObjectLike");var aL=dE,lL="[object Symbol]";function pE(e){return typeof e=="symbol"||aL(e)&&uE(e)==lL}i(pE,"isSymbol");var Bp=pE;function fE(e,t){for(var r=-1,n=e==null?0:e.length,o=Array(n);++r<n;)o[r]=t(e[r],r,e);return o}i(fE,"arrayMap");var cL=fE,uL=Array.isArray,Jp=uL,sg=lo?lo.prototype:void 0,ag=sg?sg.toString:void 0;function Up(e){if(typeof e=="string")return e;if(Jp(e))return cL(e,Up)+"";if(Bp(e))return ag?ag.call(e):"";var t=e+"";return t=="0"&&1/e==-1/0?"-0":t}i(Up,"baseToString");var dL=Up;function mE(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}i(mE,"isObject2");var hE=mE,pL="[object AsyncFunction]",fL="[object Function]",mL="[object GeneratorFunction]",hL="[object Proxy]";function yE(e){if(!hE(e))return!1;var t=uE(e);return t==fL||t==mL||t==pL||t==hL}i(yE,"isFunction");var yL=yE,gL=$p["__core-js_shared__"],Kc=gL,lg=(function(){var e=/[^.]+$/.exec(Kc&&Kc.keys&&Kc.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""})();function gE(e){return!!lg&&lg in e}i(gE,"isMasked");var bL=gE,vL=Function.prototype,EL=vL.toString;function bE(e){if(e!=null){try{return EL.call(e)}catch{}try{return e+""}catch{}}return""}i(bE,"toSource");var TL=bE,wL=/[\\^$.*+?()[\]{}|]/g,_L=/^\[object .+?Constructor\]$/,SL=Function.prototype,PL=Object.prototype,AL=SL.toString,RL=PL.hasOwnProperty,OL=RegExp("^"+AL.call(RL).replace(wL,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function vE(e){if(!hE(e)||bL(e))return!1;var t=yL(e)?OL:_L;return t.test(TL(e))}i(vE,"baseIsNative");var CL=vE;function EE(e,t){return e?.[t]}i(EE,"getValue");var xL=EE;function TE(e,t){var r=xL(e,t);return CL(r)?r:void 0}i(TE,"getNative");var wE=TE;function _E(e,t){return e===t||e!==e&&t!==t}i(_E,"eq");var NL=_E,IL=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,ML=/^\w*$/;function SE(e,t){if(Jp(e))return!1;var r=typeof e;return r=="number"||r=="symbol"||r=="boolean"||e==null||Bp(e)?!0:ML.test(e)||!IL.test(e)||t!=null&&e in Object(t)}i(SE,"isKey");var qL=SE,jL=wE(Object,"create"),Vi=jL;function PE(){this.__data__=Vi?Vi(null):{},this.size=0}i(PE,"hashClear");var kL=PE;function AE(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}i(AE,"hashDelete");var DL=AE,LL="__lodash_hash_undefined__",FL=Object.prototype,$L=FL.hasOwnProperty;function RE(e){var t=this.__data__;if(Vi){var r=t[e];return r===LL?void 0:r}return $L.call(t,e)?t[e]:void 0}i(RE,"hashGet");var BL=RE,JL=Object.prototype,UL=JL.hasOwnProperty;function OE(e){var t=this.__data__;return Vi?t[e]!==void 0:UL.call(t,e)}i(OE,"hashHas");var VL=OE,HL="__lodash_hash_undefined__";function CE(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=Vi&&t===void 0?HL:t,this}i(CE,"hashSet");var zL=CE;function jn(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}i(jn,"Hash");jn.prototype.clear=kL;jn.prototype.delete=DL;jn.prototype.get=BL;jn.prototype.has=VL;jn.prototype.set=zL;var cg=jn;function xE(){this.__data__=[],this.size=0}i(xE,"listCacheClear");var GL=xE;function NE(e,t){for(var r=e.length;r--;)if(NL(e[r][0],t))return r;return-1}i(NE,"assocIndexOf");var gl=NE,WL=Array.prototype,KL=WL.splice;function IE(e){var t=this.__data__,r=gl(t,e);if(r<0)return!1;var n=t.length-1;return r==n?t.pop():KL.call(t,r,1),--this.size,!0}i(IE,"listCacheDelete");var YL=IE;function ME(e){var t=this.__data__,r=gl(t,e);return r<0?void 0:t[r][1]}i(ME,"listCacheGet");var XL=ME;function qE(e){return gl(this.__data__,e)>-1}i(qE,"listCacheHas");var QL=qE;function jE(e,t){var r=this.__data__,n=gl(r,e);return n<0?(++this.size,r.push([e,t])):r[n][1]=t,this}i(jE,"listCacheSet");var ZL=jE;function kn(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}i(kn,"ListCache");kn.prototype.clear=GL;kn.prototype.delete=YL;kn.prototype.get=XL;kn.prototype.has=QL;kn.prototype.set=ZL;var e1=kn,t1=wE($p,"Map"),r1=t1;function kE(){this.size=0,this.__data__={hash:new cg,map:new(r1||e1),string:new cg}}i(kE,"mapCacheClear");var n1=kE;function DE(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}i(DE,"isKeyable");var o1=DE;function LE(e,t){var r=e.__data__;return o1(t)?r[typeof t=="string"?"string":"hash"]:r.map}i(LE,"getMapData");var bl=LE;function FE(e){var t=bl(this,e).delete(e);return this.size-=t?1:0,t}i(FE,"mapCacheDelete");var i1=FE;function $E(e){return bl(this,e).get(e)}i($E,"mapCacheGet");var s1=$E;function BE(e){return bl(this,e).has(e)}i(BE,"mapCacheHas");var a1=BE;function JE(e,t){var r=bl(this,e),n=r.size;return r.set(e,t),this.size+=r.size==n?0:1,this}i(JE,"mapCacheSet");var l1=JE;function Dn(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}i(Dn,"MapCache");Dn.prototype.clear=n1;Dn.prototype.delete=i1;Dn.prototype.get=s1;Dn.prototype.has=a1;Dn.prototype.set=l1;var UE=Dn,c1="Expected a function";function vl(e,t){if(typeof e!="function"||t!=null&&typeof t!="function")throw new TypeError(c1);var r=i(function(){var n=arguments,o=t?t.apply(this,n):n[0],s=r.cache;if(s.has(o))return s.get(o);var a=e.apply(this,n);return r.cache=s.set(o,a)||s,a},"memoized");return r.cache=new(vl.Cache||UE),r}i(vl,"memoize");vl.Cache=UE;var u1=vl,d1=500;function VE(e){var t=u1(e,function(n){return r.size===d1&&r.clear(),n}),r=t.cache;return t}i(VE,"memoizeCapped");var p1=VE,f1=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,m1=/\\(\\)?/g,h1=p1(function(e){var t=[];return e.charCodeAt(0)===46&&t.push(""),e.replace(f1,function(r,n,o,s){t.push(o?s.replace(m1,"$1"):n||r)}),t}),y1=h1;function HE(e){return e==null?"":dL(e)}i(HE,"toString");var g1=HE;function zE(e,t){return Jp(e)?e:qL(e,t)?[e]:y1(g1(e))}i(zE,"castPath");var b1=zE;function GE(e){if(typeof e=="string"||Bp(e))return e;var t=e+"";return t=="0"&&1/e==-1/0?"-0":t}i(GE,"toKey");var v1=GE;function WE(e,t){t=b1(t,e);for(var r=0,n=t.length;e!=null&&r<n;)e=e[v1(t[r++])];return r&&r==n?e:void 0}i(WE,"baseGet");var E1=WE;function KE(e,t,r){var n=e==null?void 0:E1(e,t);return n===void 0?r:n}i(KE,"get");var T1=KE,Vp=iE,w1=/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(\.\d{3})?Z$/,Hp=i(e=>e.match(/^[\[\{\"\}].*[\]\}\"]$/),"isJSON");function zp(e){if(!Vp(e))return e;let t=e,r=!1;return typeof Event<"u"&&e instanceof Event&&(t=Kv(t),r=!0),t=Object.keys(t).reduce((n,o)=>{try{t[o]&&t[o].toJSON,n[o]=t[o]}catch{r=!0}return n},{}),r?t:e}i(zp,"convertUnconventionalData");var _1=i(function(t){let r,n,o,s;return i(function(c,u){try{if(c==="")return s=[],r=new Map([[u,"[]"]]),n=new Map,o=[],u;const d=n.get(this)||this;for(;o.length&&d!==o[0];)o.shift(),s.pop();if(typeof u=="boolean")return u;if(u===void 0)return t.allowUndefined?"_undefined_":void 0;if(u===null)return null;if(typeof u=="number")return u===Number.NEGATIVE_INFINITY?"_-Infinity_":u===Number.POSITIVE_INFINITY?"_Infinity_":Number.isNaN(u)?"_NaN_":u;if(typeof u=="bigint")return`_bigint_${u.toString()}`;if(typeof u=="string")return w1.test(u)?t.allowDate?`_date_${u}`:void 0:u;if((0,HD.default)(u))return t.allowRegExp?`_regexp_${u.flags}|${u.source}`:void 0;if((0,zD.default)(u))return;if((0,GD.default)(u)){if(!t.allowSymbol)return;const f=Symbol.keyFor(u);return f!==void 0?`_gsymbol_${f}`:`_symbol_${u.toString().slice(7,-1)}`}if(o.length>=t.maxDepth)return Array.isArray(u)?`[Array(${u.length})]`:"[Object]";if(u===this)return`_duplicate_${JSON.stringify(s)}`;if(u instanceof Error&&t.allowError)return{__isConvertedError__:!0,errorProperties:{...u.cause?{cause:u.cause}:{},...u,name:u.name,message:u.message,stack:u.stack,"_constructor-name_":u.constructor.name}};if(u?.constructor?.name&&u.constructor.name!=="Object"&&!Array.isArray(u)){const f=r.get(u);if(!f){const h={__isClassInstance__:!0,__className__:u.constructor.name,...Object.getOwnPropertyNames(u).reduce((y,g)=>{try{y[g]=u[g]}catch{}return y},{})};return s.push(c),o.unshift(h),r.set(u,JSON.stringify(s)),u!==h&&n.set(u,h),h}return`_duplicate_${f}`}const p=r.get(u);if(!p){const f=Array.isArray(u)?u:zp(u);return s.push(c),o.unshift(f),r.set(u,JSON.stringify(s)),u!==f&&n.set(u,f),f}return`_duplicate_${p}`}catch{return}},"replace")},"replacer2"),S1=i(function(t){const r=[];let n;return i(function(s,a){if(s===""&&(n=a,r.forEach(({target:c,container:u,replacement:d})=>{const p=Hp(d)?JSON.parse(d):d.split(".");p.length===0?u[c]=n:u[c]=T1(n,p)})),s==="_constructor-name_")return a;if(Vp(a)&&a.__isConvertedError__){const{message:c,...u}=a.errorProperties,d=new Error(c);return Object.assign(d,u),d}if(typeof a=="string"&&a.startsWith("_regexp_")&&t.allowRegExp){const[,c,u]=a.match(/_regexp_([^|]*)\|(.*)/)||[];return new RegExp(u,c)}return typeof a=="string"&&a.startsWith("_date_")&&t.allowDate?new Date(a.replace("_date_","")):typeof a=="string"&&a.startsWith("_duplicate_")?(r.push({target:s,container:this,replacement:a.replace(/^_duplicate_/,"")}),null):typeof a=="string"&&a.startsWith("_symbol_")&&t.allowSymbol?Symbol(a.replace("_symbol_","")):typeof a=="string"&&a.startsWith("_gsymbol_")&&t.allowSymbol?Symbol.for(a.replace("_gsymbol_","")):typeof a=="string"&&a==="_-Infinity_"?Number.NEGATIVE_INFINITY:typeof a=="string"&&a==="_Infinity_"?Number.POSITIVE_INFINITY:typeof a=="string"&&a==="_NaN_"?Number.NaN:typeof a=="string"&&a.startsWith("_bigint_")&&typeof BigInt=="function"?BigInt(a.replace("_bigint_","")):a},"revive")},"reviver2"),YE={maxDepth:10,space:void 0,allowRegExp:!0,allowDate:!0,allowError:!0,allowUndefined:!0,allowSymbol:!0},XE=i((e,t={})=>{const r={...YE,...t};return JSON.stringify(zp(e),_1(r),t.space)},"stringify"),P1=i(()=>{const e=new Map;return i(function t(r){Vp(r)&&Object.entries(r).forEach(([n,o])=>{o==="_undefined_"?r[n]=void 0:e.get(o)||(e.set(o,!0),t(o))}),Array.isArray(r)&&r.forEach((n,o)=>{n==="_undefined_"?(e.set(n,!0),r[o]=void 0):e.get(n)||(e.set(n,!0),t(n))})},"mutateUndefined")},"mutator"),QE=i((e,t={})=>{const r={...YE,...t},n=JSON.parse(e,S1(r));return P1()(n),n},"parse"),A1="Invariant failed";function or(e,t){if(!e)throw new Error(A1)}i(or,"invariant");var R1=i(e=>{const t=Array.from(document.querySelectorAll("iframe[data-is-storybook]")),[r,...n]=t.filter(s=>{try{return s.contentWindow?.location.origin===e.source.location.origin&&s.contentWindow?.location.pathname===e.source.location.pathname}catch{}try{return s.contentWindow===e.source}catch{}const a=s.getAttribute("src");let c;try{if(!a)return!1;({origin:c}=new URL(a,document.location.toString()))}catch{return!1}return c===e.origin}),o=r?.getAttribute("src");if(o&&n.length===0){const{protocol:s,host:a,pathname:c}=new URL(o,document.location.toString());return`${s}//${a}${c}`}return n.length>0&&De.error("found multiple candidates for event source"),null},"getEventSourceUrl"),{document:Yc,location:Xc}=te,ug="storybook-channel",O1={maxDepth:25},ZE=class{constructor(t){if(this.config=t,this.connected=!1,this.buffer=[],typeof te?.addEventListener=="function"&&te.addEventListener("message",this.handleEvent.bind(this),!1),t.page!=="manager"&&t.page!=="preview")throw new Error(`postmsg-channel: "config.page" cannot be "${t.page}"`)}setHandler(t){this.handler=(...r)=>{t.apply(this,r),!this.connected&&this.getLocalFrame().length&&(this.flush(),this.connected=!0)}}send(t,r){const{target:n,allowRegExp:o,allowSymbol:s,allowDate:a,allowError:c,allowUndefined:u,maxDepth:d,space:p}=r||{},f=Object.fromEntries(Object.entries({allowRegExp:o,allowSymbol:s,allowDate:a,allowError:c,allowUndefined:u,maxDepth:d,space:p}).filter(([T,v])=>typeof v<"u")),h={...O1,...te.CHANNEL_OPTIONS||{},...f},y=this.getFrames(n),g=new URLSearchParams(Xc?.search||""),E=XE({key:ug,event:t,refId:g.get("refId")},h);return y.length?(this.buffer.length&&this.flush(),y.forEach(T=>{try{T.postMessage(E,"*")}catch{De.error("sending over postmessage fail")}}),Promise.resolve(null)):new Promise((T,v)=>{this.buffer.push({event:t,resolve:T,reject:v})})}flush(){const{buffer:t}=this;this.buffer=[],t.forEach(r=>{this.send(r.event).then(r.resolve).catch(r.reject)})}getFrames(t){if(this.config.page==="manager"){const n=Array.from(Yc.querySelectorAll("iframe[data-is-storybook][data-is-loaded]")).flatMap(o=>{try{return o.contentWindow&&o.dataset.isStorybook!==void 0&&o.id===t?[o.contentWindow]:[]}catch{return[]}});return n?.length?n:this.getCurrentFrames()}return te&&te.parent&&te.parent!==te.self?[te.parent]:[]}getCurrentFrames(){return this.config.page==="manager"?Array.from(Yc.querySelectorAll('[data-is-storybook="true"]')).flatMap(r=>r.contentWindow?[r.contentWindow]:[]):te&&te.parent?[te.parent]:[]}getLocalFrame(){return this.config.page==="manager"?Array.from(Yc.querySelectorAll("#storybook-preview-iframe")).flatMap(r=>r.contentWindow?[r.contentWindow]:[]):te&&te.parent?[te.parent]:[]}handleEvent(t){try{const{data:r}=t,{key:n,event:o,refId:s}=typeof r=="string"&&Hp(r)?QE(r,te.CHANNEL_OPTIONS||{}):r;if(n===ug){const a=this.config.page==="manager"?'<span style="color: #37D5D3; background: black"> manager </span>':'<span style="color: #1EA7FD; background: black"> preview </span>',c=Object.values(Ap).includes(o.type)?`<span style="color: #FF4785">${o.type}</span>`:`<span style="color: #FFAE00">${o.type}</span>`;if(s&&(o.refId=s),o.source=this.config.page==="preview"?t.origin:R1(t),!o.source){Ct.error(`${a} received ${c} but was unable to determine the source of the event`);return}const u=`${a} received ${c} (${r.length})`;Ct.debug(Xc.origin!==o.source?u:`${u} <span style="color: gray">(on ${Xc.origin} from ${o.source})</span>`,...o.args),or(this.handler,"ChannelHandler should be set"),this.handler(o)}}catch(r){De.error(r)}}};i(ZE,"PostMessageTransport");var eT=ZE,{WebSocket:C1}=te,tT=15e3,rT=5e3,nT=class{constructor({url:t,onError:r,page:n}){this.buffer=[],this.isReady=!1,this.isClosed=!1,this.pingTimeout=0,this.socket=new C1(t),this.socket.onopen=()=>{this.isReady=!0,this.heartbeat(),this.flush()},this.socket.onmessage=({data:o})=>{const s=typeof o=="string"&&Hp(o)?QE(o):o;or(this.handler),this.handler(s),s.type==="ping"&&(this.heartbeat(),this.send({type:"pong"}))},this.socket.onerror=o=>{r&&r(o)},this.socket.onclose=o=>{or(this.handler),this.handler({type:Tv,args:[{reason:o.reason,code:o.code}],from:n||"preview"}),this.isClosed=!0,clearTimeout(this.pingTimeout)}}heartbeat(){clearTimeout(this.pingTimeout),this.pingTimeout=setTimeout(()=>{this.socket.close(3008,"timeout")},tT+rT)}setHandler(t){this.handler=t}send(t){this.isClosed||(this.isReady?this.sendNow(t):this.sendLater(t))}sendLater(t){this.buffer.push(t)}sendNow(t){const r=XE(t,{maxDepth:15,...te.CHANNEL_OPTIONS});this.socket.send(r)}flush(){const{buffer:t}=this;this.buffer=[],t.forEach(r=>this.send(r))}};i(nT,"WebsocketTransport");var oT=nT,{CONFIG_TYPE:x1}=te,N1=hl;function iT({page:e,extraTransports:t=[]}){const r=[new eT({page:e}),...t];if(x1==="DEVELOPMENT"){const o=window.location.protocol==="http:"?"ws":"wss",{hostname:s,port:a}=window.location,c=`${o}://${s}:${a}/storybook-server-channel`;r.push(new oT({url:c,onError:i(()=>{},"onError"),page:e}))}const n=new hl({transports:r});return Wc.__prepare(n,e==="manager"?Wc.Environment.MANAGER:Wc.Environment.PREVIEW),n}i(iT,"createBrowserChannel");var sT={};Tt(sT,{CalledExtractOnStoreError:()=>hT,CalledPreviewMethodBeforeInitializationError:()=>At,Category:()=>cT,ElementA11yParameterError:()=>D1,EmptyIndexError:()=>ST,ImplicitActionsDuringRendering:()=>fT,MdxFileWithNoCsfReferencesError:()=>wT,MissingRenderToCanvasError:()=>gT,MissingStoryAfterHmrError:()=>dT,MissingStoryFromCsfFileError:()=>OT,MountMustBeDestructuredError:()=>Gp,NextJsSharpError:()=>M1,NextjsRouterMocksNotAvailable:()=>q1,NoRenderFunctionError:()=>MT,NoStoryMatchError:()=>AT,NoStoryMountedError:()=>jT,StatusTypeIdMismatchError:()=>I1,StoryIndexFetchError:()=>ET,StoryStoreAccessedBeforeInitializationError:()=>xT,UnknownArgTypesError:()=>j1,UnsupportedViewportDimensionError:()=>k1});function Ru({code:e,category:t}){const r=String(e).padStart(4,"0");return`SB_${t}_${r}`}i(Ru,"parseErrorCode");function Ou(e){if(/^(?!.*storybook\.js\.org)|[?&]ref=error\b/.test(e))return e;try{const t=new URL(e);return t.searchParams.set("ref","error"),t.toString()}catch{return e}}i(Ou,"appendErrorRef");var aT=class lT extends Error{constructor(t){super(lT.getFullMessage(t)),this.data={},this.fromStorybook=!0,this.category=t.category,this.documentation=t.documentation??!1,this.code=t.code}get fullErrorCode(){return Ru({code:this.code,category:this.category})}get name(){const t=this.constructor.name;return`${this.fullErrorCode} (${t})`}static getFullMessage({documentation:t,code:r,category:n,message:o}){let s;return t===!0?s=`https://storybook.js.org/error/${Ru({code:r,category:n})}?ref=error`:typeof t=="string"?s=Ou(t):Array.isArray(t)&&(s=`
34
34
  ${t.map(a=>` - ${Ou(a)}`).join(`
35
35
  `)}`),`${o}${s!=null?`
36
36
 
@@ -162,24 +162,24 @@ Incoming: ${r}`),(r==null||o.deps==null||!V1(r,o.deps))&&(t(o),o.deps=r),o}throw
162
162
  ${u}`)},{edgeSpacing:r.spacingOuter,min:r.min,spacing:r.spacingInner},r.colors)}catch(c){throw new Uw(c.message,c.stack)}if(typeof a!="string")throw new TypeError(`pretty-format: Plugin must return type "string" but instead returned "${typeof a}".`);return a}i(cf,"printPlugin");function uf(e,t){for(const r of e)try{if(r.test(t))return r}catch(n){throw new Uw(n.message,n.stack)}return null}i(uf,"findPlugin");function Er(e,t,r,n,o,s){const a=uf(t.plugins,e);if(a!==null)return cf(a,e,t,r,n,o);const c=af(e,t.printFunctionName,t.escapeRegex,t.escapeString);return c!==null?c:lf(e,t,r,n,o,s)}i(Er,"printer");var df={comment:"gray",content:"reset",prop:"yellow",tag:"cyan",value:"green"},Ww=Object.keys(df),Vt={callToJSON:!0,compareKeys:void 0,escapeRegex:!1,escapeString:!0,highlight:!1,indent:2,maxDepth:Number.POSITIVE_INFINITY,maxWidth:Number.POSITIVE_INFINITY,min:!1,plugins:[],printBasicPrototype:!0,printFunctionName:!0,theme:df};function Kw(e){for(const t of Object.keys(e))if(!Object.prototype.hasOwnProperty.call(Vt,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.')}i(Kw,"validateOptions");function Yw(){return Ww.reduce((e,t)=>{const r=df[t],n=r&&Je[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))}i(Yw,"getColorsHighlight");function Xw(){return Ww.reduce((e,t)=>(e[t]={close:"",open:""},e),Object.create(null))}i(Xw,"getColorsEmpty");function pf(e){return e?.printFunctionName??Vt.printFunctionName}i(pf,"getPrintFunctionName");function ff(e){return e?.escapeRegex??Vt.escapeRegex}i(ff,"getEscapeRegex");function mf(e){return e?.escapeString??Vt.escapeString}i(mf,"getEscapeString");function ku(e){return{callToJSON:e?.callToJSON??Vt.callToJSON,colors:e?.highlight?Yw():Xw(),compareKeys:typeof e?.compareKeys=="function"||e?.compareKeys===null?e.compareKeys:Vt.compareKeys,escapeRegex:ff(e),escapeString:mf(e),indent:e?.min?"":Qw(e?.indent??Vt.indent),maxDepth:e?.maxDepth??Vt.maxDepth,maxWidth:e?.maxWidth??Vt.maxWidth,min:e?.min??Vt.min,plugins:e?.plugins??Vt.plugins,printBasicPrototype:e?.printBasicPrototype??!0,printFunctionName:pf(e),spacingInner:e?.min?" ":`
163
163
  `,spacingOuter:e?.min?"":`
164
164
  `}}i(ku,"getConfig");function Qw(e){return Array.from({length:e+1}).join(" ")}i(Qw,"createIndent");function zt(e,t){if(t&&(Kw(t),t.plugins)){const n=uf(t.plugins,e);if(n!==null)return cf(n,e,ku(t),"",0,[])}const r=af(e,pf(t),ff(t),mf(t));return r!==null?r:lf(e,ku(t),"",0,[])}i(zt,"format");var hf={AsymmetricMatcher:tF,DOMCollection:sF,DOMElement:dF,Immutable:wF,ReactElement:xF,ReactTestComponent:qF,Error:FF},vg={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"]},$F={special:"cyan",number:"yellow",bigint:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",symbol:"green",date:"magenta",regexp:"red"},po="…";function Zw(e,t){const r=vg[$F[t]]||vg[t]||"";return r?`\x1B[${r[0]}m${String(e)}\x1B[${r[1]}m`:String(e)}i(Zw,"colorise");function e_({showHidden:e=!1,depth:t=2,colors:r=!1,customInspect:n=!0,showProxy:o=!1,maxArrayLength:s=1/0,breakLength:a=1/0,seen:c=[],truncate:u=1/0,stylize:d=String}={},p){const f={showHidden:!!e,depth:Number(t),colors:!!r,customInspect:!!n,showProxy:!!o,maxArrayLength:Number(s),breakLength:Number(a),truncate:Number(u),seen:c,inspect:p,stylize:d};return f.colors&&(f.stylize=Zw),f}i(e_,"normaliseOptions");function t_(e){return e>="\uD800"&&e<="\uDBFF"}i(t_,"isHighSurrogate");function Or(e,t,r=po){e=String(e);const n=r.length,o=e.length;if(n>t&&o>n)return r;if(o>t&&o>n){let s=t-n;return s>0&&t_(e[s-1])&&(s=s-1),`${e.slice(0,s)}${r}`}return e}i(Or,"truncate");function Ft(e,t,r,n=", "){r=r||t.inspect;const o=e.length;if(o===0)return"";const s=t.truncate;let a="",c="",u="";for(let d=0;d<o;d+=1){const p=d+1===e.length,f=d+2===e.length;u=`${po}(${e.length-d})`;const h=e[d];t.truncate=s-a.length-(p?0:n.length);const y=c||r(h,t)+(p?"":n),g=a.length+y.length,E=g+u.length;if(p&&g>s&&a.length+u.length<=s||!p&&!f&&E>s||(c=p?"":r(e[d+1],t)+(f?"":n),!p&&f&&E>s&&g+c.length>s))break;if(a+=y,!p&&!f&&g+c.length>=s){u=`${po}(${e.length-d-1})`;break}u=""}return`${a}${u}`}i(Ft,"inspectList");function r_(e){return e.match(/^[a-zA-Z_][a-zA-Z_0-9]*$/)?e:JSON.stringify(e).replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'")}i(r_,"quoteComplexKey");function fo([e,t],r){return r.truncate-=2,typeof e=="string"?e=r_(e):typeof e!="number"&&(e=`[${r.inspect(e,r)}]`),r.truncate-=e.length,t=r.inspect(t,r),`${e}: ${t}`}i(fo,"inspectProperty");function n_(e,t){const r=Object.keys(e).slice(e.length);if(!e.length&&!r.length)return"[]";t.truncate-=4;const n=Ft(e,t);t.truncate-=n.length;let o="";return r.length&&(o=Ft(r.map(s=>[s,e[s]]),t,fo)),`[ ${n}${o?`, ${o}`:""} ]`}i(n_,"inspectArray");var BF=i(e=>typeof Buffer=="function"&&e instanceof Buffer?"Buffer":e[Symbol.toStringTag]?e[Symbol.toStringTag]:e.constructor.name,"getArrayName");function Qt(e,t){const r=BF(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 c=`${t.stylize(Or(e[a],t.truncate),"number")}${a===e.length-1?"":", "}`;if(t.truncate-=c.length,e[a]!==e.length&&t.truncate<=3){o+=`${po}(${e.length-e[a]+1})`;break}o+=c}let s="";return n.length&&(s=Ft(n.map(a=>[a,e[a]]),t,fo)),`${r}[ ${o}${s?`, ${s}`:""} ]`}i(Qt,"inspectTypedArray");function o_(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${Or(n[1],t.truncate-o.length-1)}`,"date")}i(o_,"inspectDate");function Du(e,t){const r=e[Symbol.toStringTag]||"Function",n=e.name;return n?t.stylize(`[${r} ${Or(n,t.truncate-11)}]`,"special"):t.stylize(`[${r}]`,"special")}i(Du,"inspectFunction");function i_([e,t],r){return r.truncate-=4,e=r.inspect(e,r),r.truncate-=e.length,t=r.inspect(t,r),`${e} => ${t}`}i(i_,"inspectMapEntry");function s_(e){const t=[];return e.forEach((r,n)=>{t.push([n,r])}),t}i(s_,"mapToEntries");function a_(e,t){return e.size===0?"Map{}":(t.truncate-=7,`Map{ ${Ft(s_(e),t,i_)} }`)}i(a_,"inspectMap");var JF=Number.isNaN||(e=>e!==e);function Lu(e,t){return JF(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(Or(String(e),t.truncate),"number")}i(Lu,"inspectNumber");function Fu(e,t){let r=Or(e.toString(),t.truncate-1);return r!==po&&(r+="n"),t.stylize(r,"bigint")}i(Fu,"inspectBigInt");function l_(e,t){const r=e.toString().split("/")[2],n=t.truncate-(2+r.length),o=e.source;return t.stylize(`/${Or(o,n)}/${r}`,"regexp")}i(l_,"inspectRegExp");function c_(e){const t=[];return e.forEach(r=>{t.push(r)}),t}i(c_,"arrayFromSet");function u_(e,t){return e.size===0?"Set{}":(t.truncate-=7,`Set{ ${Ft(c_(e),t)} }`)}i(u_,"inspectSet");var Eg=new RegExp("['\\u0000-\\u001f\\u007f-\\u009f\\u00ad\\u0600-\\u0604\\u070f\\u17b4\\u17b5\\u200c-\\u200f\\u2028-\\u202f\\u2060-\\u206f\\ufeff\\ufff0-\\uffff]","g"),UF={"\b":"\\b"," ":"\\t","\n":"\\n","\f":"\\f","\r":"\\r","'":"\\'","\\":"\\\\"},VF=16;function d_(e){return UF[e]||`\\u${`0000${e.charCodeAt(0).toString(VF)}`.slice(-4)}`}i(d_,"escape");function $u(e,t){return Eg.test(e)&&(e=e.replace(Eg,d_)),t.stylize(`'${Or(e,t.truncate-2)}'`,"string")}i($u,"inspectString");function Bu(e){return"description"in Symbol.prototype?e.description?`Symbol(${e.description})`:"Symbol()":e.toString()}i(Bu,"inspectSymbol");var HF=i(()=>"Promise{…}","getPromiseValue"),zF=HF;function xi(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=Ft(r.map(c=>[c,e[c]]),t,fo),s=Ft(n.map(c=>[c,e[c]]),t,fo);t.seen.pop();let a="";return o&&s&&(a=", "),`{ ${o}${a}${s} }`}i(xi,"inspectObject");var ru=typeof Symbol<"u"&&Symbol.toStringTag?Symbol.toStringTag:!1;function p_(e,t){let r="";return ru&&ru in e&&(r=e[ru]),r=r||e.constructor.name,(!r||r==="_class")&&(r="<Anonymous Class>"),t.truncate-=r.length,`${r}${xi(e,t)}`}i(p_,"inspectClass");function f_(e,t){return e.length===0?"Arguments[]":(t.truncate-=13,`Arguments[ ${Ft(e,t)} ]`)}i(f_,"inspectArguments");var GF=["stack","line","column","name","message","fileName","lineNumber","columnNumber","number","description","cause"];function m_(e,t){const r=Object.getOwnPropertyNames(e).filter(a=>GF.indexOf(a)===-1),n=e.name;t.truncate-=n.length;let o="";if(typeof e.message=="string"?o=Or(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 s=Ft(r.map(a=>[a,e[a]]),t,fo);return`${n}${o}${s?` { ${s} }`:""}`}i(m_,"inspectObject");function h_([e,t],r){return r.truncate-=3,t?`${r.stylize(String(e),"yellow")}=${r.stylize(`"${t}"`,"string")}`:`${r.stylize(String(e),"yellow")}`}i(h_,"inspectAttribute");function ha(e,t){return Ft(e,t,y_,`
165
- `)}i(ha,"inspectNodeCollection");function y_(e,t){switch(e.nodeType){case 1:return yf(e,t);case 3:return t.inspect(e.data,t);default:return t.inspect(e,t)}}i(y_,"inspectNode");function yf(e,t){const r=e.getAttributeNames(),n=e.tagName.toLowerCase(),o=t.stylize(`<${n}`,"special"),s=t.stylize(">","special"),a=t.stylize(`</${n}>`,"special");t.truncate-=n.length*2+5;let c="";r.length>0&&(c+=" ",c+=Ft(r.map(p=>[p,e.getAttribute(p)]),t,h_," ")),t.truncate-=c.length;const u=t.truncate;let d=ha(e.children,t);return d&&d.length>u&&(d=`${po}(${e.children.length})`),`${o}${c}${s}${d}${a}`}i(yf,"inspectHTML");var WF=typeof Symbol=="function"&&typeof Symbol.for=="function",nu=WF?Symbol.for("chai/inspect"):"@@chai/inspect",ou=Symbol.for("nodejs.util.inspect.custom"),Tg=new WeakMap,wg={},_g={undefined:i((e,t)=>t.stylize("undefined","undefined"),"undefined"),null:i((e,t)=>t.stylize("null","null"),"null"),boolean:i((e,t)=>t.stylize(String(e),"boolean"),"boolean"),Boolean:i((e,t)=>t.stylize(String(e),"boolean"),"Boolean"),number:Lu,Number:Lu,bigint:Fu,BigInt:Fu,string:$u,String:$u,function:Du,Function:Du,symbol:Bu,Symbol:Bu,Array:n_,Date:o_,Map:a_,Set:u_,RegExp:l_,Promise:zF,WeakSet:i((e,t)=>t.stylize("WeakSet{…}","special"),"WeakSet"),WeakMap:i((e,t)=>t.stylize("WeakMap{…}","special"),"WeakMap"),Arguments:f_,Int8Array:Qt,Uint8Array:Qt,Uint8ClampedArray:Qt,Int16Array:Qt,Uint16Array:Qt,Int32Array:Qt,Uint32Array:Qt,Float32Array:Qt,Float64Array:Qt,Generator:i(()=>"","Generator"),DataView:i(()=>"","DataView"),ArrayBuffer:i(()=>"","ArrayBuffer"),Error:m_,HTMLCollection:ha,NodeList:ha},KF=i((e,t,r,n)=>nu in e&&typeof e[nu]=="function"?e[nu](t):ou in e&&typeof e[ou]=="function"?e[ou](t.depth,t,n):"inspect"in e&&typeof e.inspect=="function"?e.inspect(t.depth,t):"constructor"in e&&Tg.has(e.constructor)?Tg.get(e.constructor)(e,t):wg[r]?wg[r](e,t):"","inspectCustom"),YF=Object.prototype.toString;function Ni(e,t={}){const r=e_(t,Ni),{customInspect:n}=r;let o=e===null?"null":typeof e;if(o==="object"&&(o=YF.call(e).slice(8,-1)),o in _g)return _g[o](e,r);if(n&&e){const a=KF(e,r,o,Ni);if(a)return typeof a=="string"?a:Ni(a,r)}const s=e?Object.getPrototypeOf(e):!1;return s===Object.prototype||s===null?xi(e,r):e&&typeof HTMLElement=="function"&&e instanceof HTMLElement?yf(e,r):"constructor"in e?e.constructor!==Object?p_(e,r):xi(e,r):e===Object(e)?xi(e,r):r.stylize(String(e),o)}i(Ni,"inspect");var{AsymmetricMatcher:XF,DOMCollection:QF,DOMElement:ZF,Immutable:e$,ReactElement:t$,ReactTestComponent:r$}=hf,Sg=[r$,t$,ZF,QF,e$,XF];function vt(e,t=10,{maxLength:r,...n}={}){const o=r??1e4;let s;try{s=zt(e,{maxDepth:t,escapeString:!1,plugins:Sg,...n})}catch{s=zt(e,{callToJSON:!1,maxDepth:t,escapeString:!1,plugins:Sg,...n})}return s.length>=o&&t>1?vt(e,Math.floor(Math.min(t,Number.MAX_SAFE_INTEGER)/2),{maxLength:r,...n}):s}i(vt,"stringify");var n$=/%[sdjifoOc%]/g;function g_(...e){if(typeof e[0]!="string"){const s=[];for(let a=0;a<e.length;a++)s.push(Hn(e[a],{depth:0,colors:!1}));return s.join(" ")}const t=e.length;let r=1;const n=e[0];let o=String(n).replace(n$,s=>{if(s==="%%")return"%";if(r>=t)return s;switch(s){case"%s":{const a=e[r++];return typeof a=="bigint"?`${a.toString()}n`:typeof a=="number"&&a===0&&1/a<0?"-0":typeof a=="object"&&a!==null?typeof a.toString=="function"&&a.toString!==Object.prototype.toString?a.toString():Hn(a,{depth:0,colors:!1}):String(a)}case"%d":{const a=e[r++];return typeof a=="bigint"?`${a.toString()}n`:Number(a).toString()}case"%i":{const a=e[r++];return typeof a=="bigint"?`${a.toString()}n`:Number.parseInt(String(a)).toString()}case"%f":return Number.parseFloat(String(e[r++])).toString();case"%o":return Hn(e[r++],{showHidden:!0,showProxy:!0});case"%O":return Hn(e[r++]);case"%c":return r++,"";case"%j":try{return JSON.stringify(e[r++])}catch(a){const c=a.message;if(c.includes("circular structure")||c.includes("cyclic structures")||c.includes("cyclic object"))return"[Circular]";throw a}default:return s}});for(let s=e[r];r<t;s=e[++r])s===null||typeof s!="object"?o+=` ${s}`:o+=` ${Hn(s)}`;return o}i(g_,"format");function Hn(e,t={}){return t.truncate===0&&(t.truncate=Number.POSITIVE_INFINITY),Ni(e,t)}i(Hn,"inspect");function gf(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}i(gf,"getDefaultExportFromCjs");function Zt(e,t,r){const n=typeof e;if(!r.includes(n))throw new TypeError(`${t} value must be ${r.join(" or ")}, received "${n}"`)}i(Zt,"assertTypes");function Ii(e){return e!=null&&typeof e=="object"&&!Array.isArray(e)}i(Ii,"isObject");function b_(e){return e===Object.prototype||e===Function.prototype||e===RegExp.prototype}i(b_,"isFinalObj");function Gi(e){return Object.prototype.toString.apply(e).slice(8,-1)}i(Gi,"getType");function v_(e,t){const r=typeof t=="function"?t:n=>t.add(n);Object.getOwnPropertyNames(e).forEach(r),Object.getOwnPropertySymbols(e).forEach(r)}i(v_,"collectOwnProperties");function bf(e){const t=new Set;return b_(e)?[]:(v_(e,t),Array.from(t))}i(bf,"getOwnProperties");var E_={forceWritable:!1};function Ju(e,t=E_){return ya(e,new WeakMap,t)}i(Ju,"deepClone");function ya(e,t,r=E_){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]=ya(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 s=bf(e);for(const a of s){const c=Object.getOwnPropertyDescriptor(e,a);if(!c)continue;const u=ya(e[a],t,r);r.forceWritable?Object.defineProperty(o,a,{enumerable:c.enumerable,configurable:!0,writable:!0,value:u}):"get"in c?Object.defineProperty(o,a,{...c,get(){return u}}):Object.defineProperty(o,a,{...c,value:u})}return o}return e}i(ya,"clone");function T_(){}i(T_,"noop");var yt=-1,at=1,Be=0,w_=class{0;1;constructor(t,r){this[0]=t,this[1]=r}};i(w_,"Diff");var Fe=w_;function __(e,t){if(!e||!t||e.charAt(0)!==t.charAt(0))return 0;let r=0,n=Math.min(e.length,t.length),o=n,s=0;for(;r<o;)e.substring(s,o)===t.substring(s,o)?(r=o,s=r):n=o,o=Math.floor((n-r)/2+r);return o}i(__,"diff_commonPrefix");function vf(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,s=0;for(;r<o;)e.substring(e.length-o,e.length-s)===t.substring(t.length-o,t.length-s)?(r=o,s=r):n=o,o=Math.floor((n-r)/2+r);return o}i(vf,"diff_commonSuffix");function Uu(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 s=0,a=1;for(;;){const c=e.substring(o-a),u=t.indexOf(c);if(u===-1)return s;a+=u,(u===0||e.substring(o-a)===t.substring(0,a))&&(s=a,a++)}}i(Uu,"diff_commonOverlap_");function S_(e){let t=!1;const r=[];let n=0,o=null,s=0,a=0,c=0,u=0,d=0;for(;s<e.length;)e[s][0]===Be?(r[n++]=s,a=u,c=d,u=0,d=0,o=e[s][1]):(e[s][0]===at?u+=e[s][1].length:d+=e[s][1].length,o&&o.length<=Math.max(a,c)&&o.length<=Math.max(u,d)&&(e.splice(r[n-1],0,new Fe(yt,o)),e[r[n-1]+1][0]=at,n--,n--,s=n>0?r[n-1]:-1,a=0,c=0,u=0,d=0,o=null,t=!0)),s++;for(t&&Ef(e),P_(e),s=1;s<e.length;){if(e[s-1][0]===yt&&e[s][0]===at){const p=e[s-1][1],f=e[s][1],h=Uu(p,f),y=Uu(f,p);h>=y?(h>=p.length/2||h>=f.length/2)&&(e.splice(s,0,new Fe(Be,f.substring(0,h))),e[s-1][1]=p.substring(0,p.length-h),e[s+1][1]=f.substring(h),s++):(y>=p.length/2||y>=f.length/2)&&(e.splice(s,0,new Fe(Be,p.substring(0,y))),e[s-1][0]=at,e[s-1][1]=f.substring(0,f.length-y),e[s+1][0]=yt,e[s+1][1]=p.substring(y),s++),s++}s++}}i(S_,"diff_cleanupSemantic");var Pg=/[^a-z0-9]/i,Ag=/\s/,Rg=/[\r\n]/,o$=/\n\r?\n$/,i$=/^\r?\n\r?\n/;function P_(e){let t=1;for(;t<e.length-1;){if(e[t-1][0]===Be&&e[t+1][0]===Be){let r=e[t-1][1],n=e[t][1],o=e[t+1][1];const s=vf(r,n);if(s){const p=n.substring(n.length-s);r=r.substring(0,r.length-s),n=p+n.substring(0,n.length-s),o=p+o}let a=r,c=n,u=o,d=vi(r,n)+vi(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 p=vi(r,n)+vi(n,o);p>=d&&(d=p,a=r,c=n,u=o)}e[t-1][1]!==a&&(a?e[t-1][1]=a:(e.splice(t-1,1),t--),e[t][1]=c,u?e[t+1][1]=u:(e.splice(t+1,1),t--))}t++}}i(P_,"diff_cleanupSemanticLossless");function Ef(e){e.push(new Fe(Be,""));let t=0,r=0,n=0,o="",s="",a;for(;t<e.length;)switch(e[t][0]){case at:n++,s+=e[t][1],t++;break;case yt:r++,o+=e[t][1],t++;break;case Be:r+n>1?(r!==0&&n!==0&&(a=__(s,o),a!==0&&(t-r-n>0&&e[t-r-n-1][0]===Be?e[t-r-n-1][1]+=s.substring(0,a):(e.splice(0,0,new Fe(Be,s.substring(0,a))),t++),s=s.substring(a),o=o.substring(a)),a=vf(s,o),a!==0&&(e[t][1]=s.substring(s.length-a)+e[t][1],s=s.substring(0,s.length-a),o=o.substring(0,o.length-a))),t-=r+n,e.splice(t,r+n),o.length&&(e.splice(t,0,new Fe(yt,o)),t++),s.length&&(e.splice(t,0,new Fe(at,s)),t++),t++):t!==0&&e[t-1][0]===Be?(e[t-1][1]+=e[t][1],e.splice(t,1)):t++,n=0,r=0,o="",s="";break}e[e.length-1][1]===""&&e.pop();let c=!1;for(t=1;t<e.length-1;)e[t-1][0]===Be&&e[t+1][0]===Be&&(e[t][1].substring(e[t][1].length-e[t-1][1].length)===e[t-1][1]?(e[t][1]=e[t-1][1]+e[t][1].substring(0,e[t][1].length-e[t-1][1].length),e[t+1][1]=e[t-1][1]+e[t+1][1],e.splice(t-1,1),c=!0):e[t][1].substring(0,e[t+1][1].length)===e[t+1][1]&&(e[t-1][1]+=e[t+1][1],e[t][1]=e[t][1].substring(e[t+1][1].length)+e[t+1][1],e.splice(t+1,1),c=!0)),t++;c&&Ef(e)}i(Ef,"diff_cleanupMerge");function vi(e,t){if(!e||!t)return 6;const r=e.charAt(e.length-1),n=t.charAt(0),o=r.match(Pg),s=n.match(Pg),a=o&&r.match(Ag),c=s&&n.match(Ag),u=a&&r.match(Rg),d=c&&n.match(Rg),p=u&&e.match(o$),f=d&&t.match(i$);return p||f?5:u||d?4:o&&!a&&c?3:a||c?2:o||s?1:0}i(vi,"diff_cleanupSemanticScore_");var A_="Compared values have no visual difference.",s$="Compared values serialize to the same structure.\nPrinting internal object structure without calling `toJSON` instead.",Bs={},Og;function R_(){if(Og)return Bs;Og=1,Object.defineProperty(Bs,"__esModule",{value:!0}),Bs.default=h;const e="diff-sequences",t=0,r=i((y,g,E,T,v)=>{let _=0;for(;y<g&&E<T&&v(y,E);)y+=1,E+=1,_+=1;return _},"countCommonItemsF"),n=i((y,g,E,T,v)=>{let _=0;for(;y<=g&&E<=T&&v(g,T);)g-=1,T-=1,_+=1;return _},"countCommonItemsR"),o=i((y,g,E,T,v,_,R)=>{let N=0,j=-y,C=_[N],P=C;_[N]+=r(C+1,g,T+C-j+1,E,v);const w=y<R?y:R;for(N+=1,j+=2;N<=w;N+=1,j+=2){if(N!==y&&P<_[N])C=_[N];else if(C=P+1,g<=C)return N-1;P=_[N],_[N]=C+r(C+1,g,T+C-j+1,E,v)}return R},"extendPathsF"),s=i((y,g,E,T,v,_,R)=>{let N=0,j=y,C=_[N],P=C;_[N]-=n(g,C-1,E,T+C-j-1,v);const w=y<R?y:R;for(N+=1,j-=2;N<=w;N+=1,j-=2){if(N!==y&&_[N]<P)C=_[N];else if(C=P-1,C<g)return N-1;P=_[N],_[N]=C-n(g,C-1,E,T+C-j-1,v)}return R},"extendPathsR"),a=i((y,g,E,T,v,_,R,N,j,C,P)=>{const w=T-g,S=E-g,I=v-T-S,V=-I-(y-1),H=-I+(y-1);let A=t;const L=y<N?y:N;for(let $=0,D=-y;$<=L;$+=1,D+=2){const K=$===0||$!==y&&A<R[$],X=K?R[$]:A,ie=K?X:X+1,se=w+ie-D,W=r(ie+1,E,se+1,v,_),ae=ie+W;if(A=R[$],R[$]=ae,V<=D&&D<=H){const be=(y-1-(D+I))/2;if(be<=C&&j[be]-1<=ae){const ue=w+X-(K?D+1:D-1),ee=n(g,X,T,ue,_),Re=X-ee,Oe=ue-ee,He=Re+1,Ke=Oe+1;P.nChangePreceding=y-1,y-1===He+Ke-g-T?(P.aEndPreceding=g,P.bEndPreceding=T):(P.aEndPreceding=He,P.bEndPreceding=Ke),P.nCommonPreceding=ee,ee!==0&&(P.aCommonPreceding=He,P.bCommonPreceding=Ke),P.nCommonFollowing=W,W!==0&&(P.aCommonFollowing=ie+1,P.bCommonFollowing=se+1);const J=ae+1,Q=se+W+1;return P.nChangeFollowing=y-1,y-1===E+v-J-Q?(P.aStartFollowing=E,P.bStartFollowing=v):(P.aStartFollowing=J,P.bStartFollowing=Q),!0}}}return!1},"extendOverlappablePathsF"),c=i((y,g,E,T,v,_,R,N,j,C,P)=>{const w=v-E,S=E-g,I=v-T-S,V=I-y,H=I+y;let A=t;const L=y<C?y:C;for(let $=0,D=y;$<=L;$+=1,D-=2){const K=$===0||$!==y&&j[$]<A,X=K?j[$]:A,ie=K?X:X-1,se=w+ie-D,W=n(g,ie-1,T,se-1,_),ae=ie-W;if(A=j[$],j[$]=ae,V<=D&&D<=H){const be=(y+(D-I))/2;if(be<=N&&ae-1<=R[be]){const ue=se-W;if(P.nChangePreceding=y,y===ae+ue-g-T?(P.aEndPreceding=g,P.bEndPreceding=T):(P.aEndPreceding=ae,P.bEndPreceding=ue),P.nCommonPreceding=W,W!==0&&(P.aCommonPreceding=ae,P.bCommonPreceding=ue),P.nChangeFollowing=y-1,y===1)P.nCommonFollowing=0,P.aStartFollowing=E,P.bStartFollowing=v;else{const ee=w+X-(K?D-1:D+1),Re=r(X,E,ee,v,_);P.nCommonFollowing=Re,Re!==0&&(P.aCommonFollowing=X,P.bCommonFollowing=ee);const Oe=X+Re,He=ee+Re;y-1===E+v-Oe-He?(P.aStartFollowing=E,P.bStartFollowing=v):(P.aStartFollowing=Oe,P.bStartFollowing=He)}return!0}}}return!1},"extendOverlappablePathsR"),u=i((y,g,E,T,v,_,R,N,j)=>{const C=T-g,P=v-E,w=E-g,S=v-T,k=S-w;let I=w,V=w;if(R[0]=g-1,N[0]=E,k%2===0){const H=(y||k)/2,A=(w+S)/2;for(let L=1;L<=A;L+=1)if(I=o(L,E,v,C,_,R,I),L<H)V=s(L,g,T,P,_,N,V);else if(c(L,g,E,T,v,_,R,I,N,V,j))return}else{const H=((y||k)+1)/2,A=(w+S+1)/2;let L=1;for(I=o(L,E,v,C,_,R,I),L+=1;L<=A;L+=1)if(V=s(L-1,g,T,P,_,N,V),L<H)I=o(L,E,v,C,_,R,I);else if(a(L,g,E,T,v,_,R,I,N,V,j))return}throw new Error(`${e}: no overlap aStart=${g} aEnd=${E} bStart=${T} bEnd=${v}`)},"divide"),d=i((y,g,E,T,v,_,R,N,j,C)=>{if(v-T<E-g){if(_=!_,_&&R.length===1){const{foundSubsequence:ae,isCommon:be}=R[0];R[1]={foundSubsequence:i((ue,ee,Re)=>{ae(ue,Re,ee)},"foundSubsequence"),isCommon:i((ue,ee)=>be(ee,ue),"isCommon")}}const se=g,W=E;g=T,E=v,T=se,v=W}const{foundSubsequence:P,isCommon:w}=R[_?1:0];u(y,g,E,T,v,w,N,j,C);const{nChangePreceding:S,aEndPreceding:k,bEndPreceding:I,nCommonPreceding:V,aCommonPreceding:H,bCommonPreceding:A,nCommonFollowing:L,aCommonFollowing:$,bCommonFollowing:D,nChangeFollowing:K,aStartFollowing:X,bStartFollowing:ie}=C;g<k&&T<I&&d(S,g,k,T,I,_,R,N,j,C),V!==0&&P(V,H,A),L!==0&&P(L,$,D),X<E&&ie<v&&d(K,X,E,ie,v,_,R,N,j,C)},"findSubsequences"),p=i((y,g)=>{if(typeof g!="number")throw new TypeError(`${e}: ${y} typeof ${typeof g} is not a number`);if(!Number.isSafeInteger(g))throw new RangeError(`${e}: ${y} value ${g} is not a safe integer`);if(g<0)throw new RangeError(`${e}: ${y} value ${g} is a negative integer`)},"validateLength"),f=i((y,g)=>{const E=typeof g;if(E!=="function")throw new TypeError(`${e}: ${y} typeof ${E} is not a function`)},"validateCallback");function h(y,g,E,T){p("aLength",y),p("bLength",g),f("isCommon",E),f("foundSubsequence",T);const v=r(0,y,0,g,E);if(v!==0&&T(v,0,0),y!==v||g!==v){const _=v,R=v,N=n(_,y-1,R,g-1,E),j=y-N,C=g-N,P=v+N;y!==P&&g!==P&&d(0,_,j,R,C,!1,[{foundSubsequence:T,isCommon:E}],[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}),N!==0&&T(N,j,C)}}return i(h,"diffSequence"),Bs}i(R_,"requireBuild");var a$=R_(),O_=gf(a$);function C_(e,t){return e.replace(/\s+$/,r=>t(r))}i(C_,"formatTrailingSpaces");function Cl(e,t,r,n,o,s){return e.length!==0?r(`${n} ${C_(e,o)}`):n!==" "?r(n):t&&s.length!==0?r(`${n} ${s}`):""}i(Cl,"printDiffLine");function Tf(e,t,{aColor:r,aIndicator:n,changeLineTrailingSpaceColor:o,emptyFirstOrLastLinePlaceholder:s}){return Cl(e,t,r,n,o,s)}i(Tf,"printDeleteLine");function wf(e,t,{bColor:r,bIndicator:n,changeLineTrailingSpaceColor:o,emptyFirstOrLastLinePlaceholder:s}){return Cl(e,t,r,n,o,s)}i(wf,"printInsertLine");function _f(e,t,{commonColor:r,commonIndicator:n,commonLineTrailingSpaceColor:o,emptyFirstOrLastLinePlaceholder:s}){return Cl(e,t,r,n,o,s)}i(_f,"printCommonLine");function Vu(e,t,r,n,{patchColor:o}){return o(`@@ -${e+1},${t-e} +${r+1},${n-r} @@`)}i(Vu,"createPatchMark");function x_(e,t){const r=e.length,n=t.contextLines,o=n+n;let s=r,a=!1,c=0,u=0;for(;u!==r;){const N=u;for(;u!==r&&e[u][0]===Be;)u+=1;if(N!==u)if(N===0)u>n&&(s-=u-n,a=!0);else if(u===r){const j=u-N;j>n&&(s-=j-n,a=!0)}else{const j=u-N;j>o&&(s-=j-o,c+=1)}for(;u!==r&&e[u][0]!==Be;)u+=1}const d=c!==0||a;c!==0?s+=c+1:a&&(s+=1);const p=s-1,f=[];let h=0;d&&f.push("");let y=0,g=0,E=0,T=0;const v=i(N=>{const j=f.length;f.push(_f(N,j===0||j===p,t)),E+=1,T+=1},"pushCommonLine"),_=i(N=>{const j=f.length;f.push(Tf(N,j===0||j===p,t)),E+=1},"pushDeleteLine"),R=i(N=>{const j=f.length;f.push(wf(N,j===0||j===p,t)),T+=1},"pushInsertLine");for(u=0;u!==r;){let N=u;for(;u!==r&&e[u][0]===Be;)u+=1;if(N!==u)if(N===0){u>n&&(N=u-n,y=N,g=N,E=y,T=g);for(let j=N;j!==u;j+=1)v(e[j][1])}else if(u===r){const j=u-N>n?N+n:u;for(let C=N;C!==j;C+=1)v(e[C][1])}else{const j=u-N;if(j>o){const C=N+n;for(let w=N;w!==C;w+=1)v(e[w][1]);f[h]=Vu(y,E,g,T,t),h=f.length,f.push("");const P=j-o;y=E+P,g=T+P,E=y,T=g;for(let w=u-n;w!==u;w+=1)v(e[w][1])}else for(let C=N;C!==u;C+=1)v(e[C][1])}for(;u!==r&&e[u][0]===yt;)_(e[u][1]),u+=1;for(;u!==r&&e[u][0]===at;)R(e[u][1]),u+=1}return d&&(f[h]=Vu(y,E,g,T,t)),f.join(`
166
- `)}i(x_,"joinAlignedDiffsNoExpand");function N_(e,t){return e.map((r,n,o)=>{const s=r[1],a=n===0||n===o.length-1;switch(r[0]){case yt:return Tf(s,a,t);case at:return wf(s,a,t);default:return _f(s,a,t)}}).join(`
167
- `)}i(N_,"joinAlignedDiffsExpand");var iu=i(e=>e,"noColor"),I_=5,l$=0;function M_(){return{aAnnotation:"Expected",aColor:Je.green,aIndicator:"-",bAnnotation:"Received",bColor:Je.red,bIndicator:"+",changeColor:Je.inverse,changeLineTrailingSpaceColor:iu,commonColor:Je.dim,commonIndicator:" ",commonLineTrailingSpaceColor:iu,compareKeys:void 0,contextLines:I_,emptyFirstOrLastLinePlaceholder:"",expand:!1,includeChangeCounts:!1,omitAnnotationLines:!1,patchColor:Je.yellow,printBasicPrototype:!1,truncateThreshold:l$,truncateAnnotation:"... Diff result is truncated",truncateAnnotationColor:iu}}i(M_,"getDefaultOptions");function q_(e){return e&&typeof e=="function"?e:void 0}i(q_,"getCompareKeys");function j_(e){return typeof e=="number"&&Number.isSafeInteger(e)&&e>=0?e:I_}i(j_,"getContextLines");function Xr(e={}){return{...M_(),...e,compareKeys:q_(e.compareKeys),contextLines:j_(e.contextLines)}}i(Xr,"normalizeDiffOptions");function dn(e){return e.length===1&&e[0].length===0}i(dn,"isEmptyString");function k_(e){let t=0,r=0;return e.forEach(n=>{switch(n[0]){case yt:t+=1;break;case at:r+=1;break}}),{a:t,b:r}}i(k_,"countChanges");function D_({aAnnotation:e,aColor:t,aIndicator:r,bAnnotation:n,bColor:o,bIndicator:s,includeChangeCounts:a,omitAnnotationLines:c},u){if(c)return"";let d="",p="";if(a){const y=String(u.a),g=String(u.b),E=n.length-e.length,T=" ".repeat(Math.max(0,E)),v=" ".repeat(Math.max(0,-E)),_=g.length-y.length,R=" ".repeat(Math.max(0,_)),N=" ".repeat(Math.max(0,-_));d=`${T} ${r} ${R}${y}`,p=`${v} ${s} ${N}${g}`}const f=`${r} ${e}${d}`,h=`${s} ${n}${p}`;return`${t(f)}
165
+ `)}i(ha,"inspectNodeCollection");function y_(e,t){switch(e.nodeType){case 1:return yf(e,t);case 3:return t.inspect(e.data,t);default:return t.inspect(e,t)}}i(y_,"inspectNode");function yf(e,t){const r=e.getAttributeNames(),n=e.tagName.toLowerCase(),o=t.stylize(`<${n}`,"special"),s=t.stylize(">","special"),a=t.stylize(`</${n}>`,"special");t.truncate-=n.length*2+5;let c="";r.length>0&&(c+=" ",c+=Ft(r.map(p=>[p,e.getAttribute(p)]),t,h_," ")),t.truncate-=c.length;const u=t.truncate;let d=ha(e.children,t);return d&&d.length>u&&(d=`${po}(${e.children.length})`),`${o}${c}${s}${d}${a}`}i(yf,"inspectHTML");var WF=typeof Symbol=="function"&&typeof Symbol.for=="function",nu=WF?Symbol.for("chai/inspect"):"@@chai/inspect",ou=Symbol.for("nodejs.util.inspect.custom"),Tg=new WeakMap,wg={},_g={undefined:i((e,t)=>t.stylize("undefined","undefined"),"undefined"),null:i((e,t)=>t.stylize("null","null"),"null"),boolean:i((e,t)=>t.stylize(String(e),"boolean"),"boolean"),Boolean:i((e,t)=>t.stylize(String(e),"boolean"),"Boolean"),number:Lu,Number:Lu,bigint:Fu,BigInt:Fu,string:$u,String:$u,function:Du,Function:Du,symbol:Bu,Symbol:Bu,Array:n_,Date:o_,Map:a_,Set:u_,RegExp:l_,Promise:zF,WeakSet:i((e,t)=>t.stylize("WeakSet{…}","special"),"WeakSet"),WeakMap:i((e,t)=>t.stylize("WeakMap{…}","special"),"WeakMap"),Arguments:f_,Int8Array:Qt,Uint8Array:Qt,Uint8ClampedArray:Qt,Int16Array:Qt,Uint16Array:Qt,Int32Array:Qt,Uint32Array:Qt,Float32Array:Qt,Float64Array:Qt,Generator:i(()=>"","Generator"),DataView:i(()=>"","DataView"),ArrayBuffer:i(()=>"","ArrayBuffer"),Error:m_,HTMLCollection:ha,NodeList:ha},KF=i((e,t,r,n)=>nu in e&&typeof e[nu]=="function"?e[nu](t):ou in e&&typeof e[ou]=="function"?e[ou](t.depth,t,n):"inspect"in e&&typeof e.inspect=="function"?e.inspect(t.depth,t):"constructor"in e&&Tg.has(e.constructor)?Tg.get(e.constructor)(e,t):wg[r]?wg[r](e,t):"","inspectCustom"),YF=Object.prototype.toString;function Ni(e,t={}){const r=e_(t,Ni),{customInspect:n}=r;let o=e===null?"null":typeof e;if(o==="object"&&(o=YF.call(e).slice(8,-1)),o in _g)return _g[o](e,r);if(n&&e){const a=KF(e,r,o,Ni);if(a)return typeof a=="string"?a:Ni(a,r)}const s=e?Object.getPrototypeOf(e):!1;return s===Object.prototype||s===null?xi(e,r):e&&typeof HTMLElement=="function"&&e instanceof HTMLElement?yf(e,r):"constructor"in e?e.constructor!==Object?p_(e,r):xi(e,r):e===Object(e)?xi(e,r):r.stylize(String(e),o)}i(Ni,"inspect");var{AsymmetricMatcher:XF,DOMCollection:QF,DOMElement:ZF,Immutable:e$,ReactElement:t$,ReactTestComponent:r$}=hf,Sg=[r$,t$,ZF,QF,e$,XF];function vt(e,t=10,{maxLength:r,...n}={}){const o=r??1e4;let s;try{s=zt(e,{maxDepth:t,escapeString:!1,plugins:Sg,...n})}catch{s=zt(e,{callToJSON:!1,maxDepth:t,escapeString:!1,plugins:Sg,...n})}return s.length>=o&&t>1?vt(e,Math.floor(Math.min(t,Number.MAX_SAFE_INTEGER)/2),{maxLength:r,...n}):s}i(vt,"stringify");var n$=/%[sdjifoOc%]/g;function g_(...e){if(typeof e[0]!="string"){const s=[];for(let a=0;a<e.length;a++)s.push(Hn(e[a],{depth:0,colors:!1}));return s.join(" ")}const t=e.length;let r=1;const n=e[0];let o=String(n).replace(n$,s=>{if(s==="%%")return"%";if(r>=t)return s;switch(s){case"%s":{const a=e[r++];return typeof a=="bigint"?`${a.toString()}n`:typeof a=="number"&&a===0&&1/a<0?"-0":typeof a=="object"&&a!==null?typeof a.toString=="function"&&a.toString!==Object.prototype.toString?a.toString():Hn(a,{depth:0,colors:!1}):String(a)}case"%d":{const a=e[r++];return typeof a=="bigint"?`${a.toString()}n`:Number(a).toString()}case"%i":{const a=e[r++];return typeof a=="bigint"?`${a.toString()}n`:Number.parseInt(String(a)).toString()}case"%f":return Number.parseFloat(String(e[r++])).toString();case"%o":return Hn(e[r++],{showHidden:!0,showProxy:!0});case"%O":return Hn(e[r++]);case"%c":return r++,"";case"%j":try{return JSON.stringify(e[r++])}catch(a){const c=a.message;if(c.includes("circular structure")||c.includes("cyclic structures")||c.includes("cyclic object"))return"[Circular]";throw a}default:return s}});for(let s=e[r];r<t;s=e[++r])s===null||typeof s!="object"?o+=` ${s}`:o+=` ${Hn(s)}`;return o}i(g_,"format");function Hn(e,t={}){return t.truncate===0&&(t.truncate=Number.POSITIVE_INFINITY),Ni(e,t)}i(Hn,"inspect");function gf(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}i(gf,"getDefaultExportFromCjs");function Zt(e,t,r){const n=typeof e;if(!r.includes(n))throw new TypeError(`${t} value must be ${r.join(" or ")}, received "${n}"`)}i(Zt,"assertTypes");function Ii(e){return e!=null&&typeof e=="object"&&!Array.isArray(e)}i(Ii,"isObject");function b_(e){return e===Object.prototype||e===Function.prototype||e===RegExp.prototype}i(b_,"isFinalObj");function Gi(e){return Object.prototype.toString.apply(e).slice(8,-1)}i(Gi,"getType");function v_(e,t){const r=typeof t=="function"?t:n=>t.add(n);Object.getOwnPropertyNames(e).forEach(r),Object.getOwnPropertySymbols(e).forEach(r)}i(v_,"collectOwnProperties");function bf(e){const t=new Set;return b_(e)?[]:(v_(e,t),Array.from(t))}i(bf,"getOwnProperties");var E_={forceWritable:!1};function Ju(e,t=E_){return ya(e,new WeakMap,t)}i(Ju,"deepClone");function ya(e,t,r=E_){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]=ya(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 s=bf(e);for(const a of s){const c=Object.getOwnPropertyDescriptor(e,a);if(!c)continue;const u=ya(e[a],t,r);r.forceWritable?Object.defineProperty(o,a,{enumerable:c.enumerable,configurable:!0,writable:!0,value:u}):"get"in c?Object.defineProperty(o,a,{...c,get(){return u}}):Object.defineProperty(o,a,{...c,value:u})}return o}return e}i(ya,"clone");function T_(){}i(T_,"noop");var gt=-1,lt=1,Be=0,w_=class{0;1;constructor(t,r){this[0]=t,this[1]=r}};i(w_,"Diff");var Fe=w_;function __(e,t){if(!e||!t||e.charAt(0)!==t.charAt(0))return 0;let r=0,n=Math.min(e.length,t.length),o=n,s=0;for(;r<o;)e.substring(s,o)===t.substring(s,o)?(r=o,s=r):n=o,o=Math.floor((n-r)/2+r);return o}i(__,"diff_commonPrefix");function vf(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,s=0;for(;r<o;)e.substring(e.length-o,e.length-s)===t.substring(t.length-o,t.length-s)?(r=o,s=r):n=o,o=Math.floor((n-r)/2+r);return o}i(vf,"diff_commonSuffix");function Uu(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 s=0,a=1;for(;;){const c=e.substring(o-a),u=t.indexOf(c);if(u===-1)return s;a+=u,(u===0||e.substring(o-a)===t.substring(0,a))&&(s=a,a++)}}i(Uu,"diff_commonOverlap_");function S_(e){let t=!1;const r=[];let n=0,o=null,s=0,a=0,c=0,u=0,d=0;for(;s<e.length;)e[s][0]===Be?(r[n++]=s,a=u,c=d,u=0,d=0,o=e[s][1]):(e[s][0]===lt?u+=e[s][1].length:d+=e[s][1].length,o&&o.length<=Math.max(a,c)&&o.length<=Math.max(u,d)&&(e.splice(r[n-1],0,new Fe(gt,o)),e[r[n-1]+1][0]=lt,n--,n--,s=n>0?r[n-1]:-1,a=0,c=0,u=0,d=0,o=null,t=!0)),s++;for(t&&Ef(e),P_(e),s=1;s<e.length;){if(e[s-1][0]===gt&&e[s][0]===lt){const p=e[s-1][1],f=e[s][1],h=Uu(p,f),y=Uu(f,p);h>=y?(h>=p.length/2||h>=f.length/2)&&(e.splice(s,0,new Fe(Be,f.substring(0,h))),e[s-1][1]=p.substring(0,p.length-h),e[s+1][1]=f.substring(h),s++):(y>=p.length/2||y>=f.length/2)&&(e.splice(s,0,new Fe(Be,p.substring(0,y))),e[s-1][0]=lt,e[s-1][1]=f.substring(0,f.length-y),e[s+1][0]=gt,e[s+1][1]=p.substring(y),s++),s++}s++}}i(S_,"diff_cleanupSemantic");var Pg=/[^a-z0-9]/i,Ag=/\s/,Rg=/[\r\n]/,o$=/\n\r?\n$/,i$=/^\r?\n\r?\n/;function P_(e){let t=1;for(;t<e.length-1;){if(e[t-1][0]===Be&&e[t+1][0]===Be){let r=e[t-1][1],n=e[t][1],o=e[t+1][1];const s=vf(r,n);if(s){const p=n.substring(n.length-s);r=r.substring(0,r.length-s),n=p+n.substring(0,n.length-s),o=p+o}let a=r,c=n,u=o,d=vi(r,n)+vi(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 p=vi(r,n)+vi(n,o);p>=d&&(d=p,a=r,c=n,u=o)}e[t-1][1]!==a&&(a?e[t-1][1]=a:(e.splice(t-1,1),t--),e[t][1]=c,u?e[t+1][1]=u:(e.splice(t+1,1),t--))}t++}}i(P_,"diff_cleanupSemanticLossless");function Ef(e){e.push(new Fe(Be,""));let t=0,r=0,n=0,o="",s="",a;for(;t<e.length;)switch(e[t][0]){case lt:n++,s+=e[t][1],t++;break;case gt:r++,o+=e[t][1],t++;break;case Be:r+n>1?(r!==0&&n!==0&&(a=__(s,o),a!==0&&(t-r-n>0&&e[t-r-n-1][0]===Be?e[t-r-n-1][1]+=s.substring(0,a):(e.splice(0,0,new Fe(Be,s.substring(0,a))),t++),s=s.substring(a),o=o.substring(a)),a=vf(s,o),a!==0&&(e[t][1]=s.substring(s.length-a)+e[t][1],s=s.substring(0,s.length-a),o=o.substring(0,o.length-a))),t-=r+n,e.splice(t,r+n),o.length&&(e.splice(t,0,new Fe(gt,o)),t++),s.length&&(e.splice(t,0,new Fe(lt,s)),t++),t++):t!==0&&e[t-1][0]===Be?(e[t-1][1]+=e[t][1],e.splice(t,1)):t++,n=0,r=0,o="",s="";break}e[e.length-1][1]===""&&e.pop();let c=!1;for(t=1;t<e.length-1;)e[t-1][0]===Be&&e[t+1][0]===Be&&(e[t][1].substring(e[t][1].length-e[t-1][1].length)===e[t-1][1]?(e[t][1]=e[t-1][1]+e[t][1].substring(0,e[t][1].length-e[t-1][1].length),e[t+1][1]=e[t-1][1]+e[t+1][1],e.splice(t-1,1),c=!0):e[t][1].substring(0,e[t+1][1].length)===e[t+1][1]&&(e[t-1][1]+=e[t+1][1],e[t][1]=e[t][1].substring(e[t+1][1].length)+e[t+1][1],e.splice(t+1,1),c=!0)),t++;c&&Ef(e)}i(Ef,"diff_cleanupMerge");function vi(e,t){if(!e||!t)return 6;const r=e.charAt(e.length-1),n=t.charAt(0),o=r.match(Pg),s=n.match(Pg),a=o&&r.match(Ag),c=s&&n.match(Ag),u=a&&r.match(Rg),d=c&&n.match(Rg),p=u&&e.match(o$),f=d&&t.match(i$);return p||f?5:u||d?4:o&&!a&&c?3:a||c?2:o||s?1:0}i(vi,"diff_cleanupSemanticScore_");var A_="Compared values have no visual difference.",s$="Compared values serialize to the same structure.\nPrinting internal object structure without calling `toJSON` instead.",Bs={},Og;function R_(){if(Og)return Bs;Og=1,Object.defineProperty(Bs,"__esModule",{value:!0}),Bs.default=h;const e="diff-sequences",t=0,r=i((y,g,E,T,v)=>{let _=0;for(;y<g&&E<T&&v(y,E);)y+=1,E+=1,_+=1;return _},"countCommonItemsF"),n=i((y,g,E,T,v)=>{let _=0;for(;y<=g&&E<=T&&v(g,T);)g-=1,T-=1,_+=1;return _},"countCommonItemsR"),o=i((y,g,E,T,v,_,R)=>{let N=0,j=-y,C=_[N],P=C;_[N]+=r(C+1,g,T+C-j+1,E,v);const w=y<R?y:R;for(N+=1,j+=2;N<=w;N+=1,j+=2){if(N!==y&&P<_[N])C=_[N];else if(C=P+1,g<=C)return N-1;P=_[N],_[N]=C+r(C+1,g,T+C-j+1,E,v)}return R},"extendPathsF"),s=i((y,g,E,T,v,_,R)=>{let N=0,j=y,C=_[N],P=C;_[N]-=n(g,C-1,E,T+C-j-1,v);const w=y<R?y:R;for(N+=1,j-=2;N<=w;N+=1,j-=2){if(N!==y&&_[N]<P)C=_[N];else if(C=P-1,C<g)return N-1;P=_[N],_[N]=C-n(g,C-1,E,T+C-j-1,v)}return R},"extendPathsR"),a=i((y,g,E,T,v,_,R,N,j,C,P)=>{const w=T-g,S=E-g,I=v-T-S,V=-I-(y-1),H=-I+(y-1);let A=t;const L=y<N?y:N;for(let $=0,D=-y;$<=L;$+=1,D+=2){const K=$===0||$!==y&&A<R[$],X=K?R[$]:A,ie=K?X:X+1,se=w+ie-D,W=r(ie+1,E,se+1,v,_),ae=ie+W;if(A=R[$],R[$]=ae,V<=D&&D<=H){const be=(y-1-(D+I))/2;if(be<=C&&j[be]-1<=ae){const ue=w+X-(K?D+1:D-1),ee=n(g,X,T,ue,_),Re=X-ee,Oe=ue-ee,He=Re+1,Ke=Oe+1;P.nChangePreceding=y-1,y-1===He+Ke-g-T?(P.aEndPreceding=g,P.bEndPreceding=T):(P.aEndPreceding=He,P.bEndPreceding=Ke),P.nCommonPreceding=ee,ee!==0&&(P.aCommonPreceding=He,P.bCommonPreceding=Ke),P.nCommonFollowing=W,W!==0&&(P.aCommonFollowing=ie+1,P.bCommonFollowing=se+1);const J=ae+1,Q=se+W+1;return P.nChangeFollowing=y-1,y-1===E+v-J-Q?(P.aStartFollowing=E,P.bStartFollowing=v):(P.aStartFollowing=J,P.bStartFollowing=Q),!0}}}return!1},"extendOverlappablePathsF"),c=i((y,g,E,T,v,_,R,N,j,C,P)=>{const w=v-E,S=E-g,I=v-T-S,V=I-y,H=I+y;let A=t;const L=y<C?y:C;for(let $=0,D=y;$<=L;$+=1,D-=2){const K=$===0||$!==y&&j[$]<A,X=K?j[$]:A,ie=K?X:X-1,se=w+ie-D,W=n(g,ie-1,T,se-1,_),ae=ie-W;if(A=j[$],j[$]=ae,V<=D&&D<=H){const be=(y+(D-I))/2;if(be<=N&&ae-1<=R[be]){const ue=se-W;if(P.nChangePreceding=y,y===ae+ue-g-T?(P.aEndPreceding=g,P.bEndPreceding=T):(P.aEndPreceding=ae,P.bEndPreceding=ue),P.nCommonPreceding=W,W!==0&&(P.aCommonPreceding=ae,P.bCommonPreceding=ue),P.nChangeFollowing=y-1,y===1)P.nCommonFollowing=0,P.aStartFollowing=E,P.bStartFollowing=v;else{const ee=w+X-(K?D-1:D+1),Re=r(X,E,ee,v,_);P.nCommonFollowing=Re,Re!==0&&(P.aCommonFollowing=X,P.bCommonFollowing=ee);const Oe=X+Re,He=ee+Re;y-1===E+v-Oe-He?(P.aStartFollowing=E,P.bStartFollowing=v):(P.aStartFollowing=Oe,P.bStartFollowing=He)}return!0}}}return!1},"extendOverlappablePathsR"),u=i((y,g,E,T,v,_,R,N,j)=>{const C=T-g,P=v-E,w=E-g,S=v-T,k=S-w;let I=w,V=w;if(R[0]=g-1,N[0]=E,k%2===0){const H=(y||k)/2,A=(w+S)/2;for(let L=1;L<=A;L+=1)if(I=o(L,E,v,C,_,R,I),L<H)V=s(L,g,T,P,_,N,V);else if(c(L,g,E,T,v,_,R,I,N,V,j))return}else{const H=((y||k)+1)/2,A=(w+S+1)/2;let L=1;for(I=o(L,E,v,C,_,R,I),L+=1;L<=A;L+=1)if(V=s(L-1,g,T,P,_,N,V),L<H)I=o(L,E,v,C,_,R,I);else if(a(L,g,E,T,v,_,R,I,N,V,j))return}throw new Error(`${e}: no overlap aStart=${g} aEnd=${E} bStart=${T} bEnd=${v}`)},"divide"),d=i((y,g,E,T,v,_,R,N,j,C)=>{if(v-T<E-g){if(_=!_,_&&R.length===1){const{foundSubsequence:ae,isCommon:be}=R[0];R[1]={foundSubsequence:i((ue,ee,Re)=>{ae(ue,Re,ee)},"foundSubsequence"),isCommon:i((ue,ee)=>be(ee,ue),"isCommon")}}const se=g,W=E;g=T,E=v,T=se,v=W}const{foundSubsequence:P,isCommon:w}=R[_?1:0];u(y,g,E,T,v,w,N,j,C);const{nChangePreceding:S,aEndPreceding:k,bEndPreceding:I,nCommonPreceding:V,aCommonPreceding:H,bCommonPreceding:A,nCommonFollowing:L,aCommonFollowing:$,bCommonFollowing:D,nChangeFollowing:K,aStartFollowing:X,bStartFollowing:ie}=C;g<k&&T<I&&d(S,g,k,T,I,_,R,N,j,C),V!==0&&P(V,H,A),L!==0&&P(L,$,D),X<E&&ie<v&&d(K,X,E,ie,v,_,R,N,j,C)},"findSubsequences"),p=i((y,g)=>{if(typeof g!="number")throw new TypeError(`${e}: ${y} typeof ${typeof g} is not a number`);if(!Number.isSafeInteger(g))throw new RangeError(`${e}: ${y} value ${g} is not a safe integer`);if(g<0)throw new RangeError(`${e}: ${y} value ${g} is a negative integer`)},"validateLength"),f=i((y,g)=>{const E=typeof g;if(E!=="function")throw new TypeError(`${e}: ${y} typeof ${E} is not a function`)},"validateCallback");function h(y,g,E,T){p("aLength",y),p("bLength",g),f("isCommon",E),f("foundSubsequence",T);const v=r(0,y,0,g,E);if(v!==0&&T(v,0,0),y!==v||g!==v){const _=v,R=v,N=n(_,y-1,R,g-1,E),j=y-N,C=g-N,P=v+N;y!==P&&g!==P&&d(0,_,j,R,C,!1,[{foundSubsequence:T,isCommon:E}],[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}),N!==0&&T(N,j,C)}}return i(h,"diffSequence"),Bs}i(R_,"requireBuild");var a$=R_(),O_=gf(a$);function C_(e,t){return e.replace(/\s+$/,r=>t(r))}i(C_,"formatTrailingSpaces");function Cl(e,t,r,n,o,s){return e.length!==0?r(`${n} ${C_(e,o)}`):n!==" "?r(n):t&&s.length!==0?r(`${n} ${s}`):""}i(Cl,"printDiffLine");function Tf(e,t,{aColor:r,aIndicator:n,changeLineTrailingSpaceColor:o,emptyFirstOrLastLinePlaceholder:s}){return Cl(e,t,r,n,o,s)}i(Tf,"printDeleteLine");function wf(e,t,{bColor:r,bIndicator:n,changeLineTrailingSpaceColor:o,emptyFirstOrLastLinePlaceholder:s}){return Cl(e,t,r,n,o,s)}i(wf,"printInsertLine");function _f(e,t,{commonColor:r,commonIndicator:n,commonLineTrailingSpaceColor:o,emptyFirstOrLastLinePlaceholder:s}){return Cl(e,t,r,n,o,s)}i(_f,"printCommonLine");function Vu(e,t,r,n,{patchColor:o}){return o(`@@ -${e+1},${t-e} +${r+1},${n-r} @@`)}i(Vu,"createPatchMark");function x_(e,t){const r=e.length,n=t.contextLines,o=n+n;let s=r,a=!1,c=0,u=0;for(;u!==r;){const N=u;for(;u!==r&&e[u][0]===Be;)u+=1;if(N!==u)if(N===0)u>n&&(s-=u-n,a=!0);else if(u===r){const j=u-N;j>n&&(s-=j-n,a=!0)}else{const j=u-N;j>o&&(s-=j-o,c+=1)}for(;u!==r&&e[u][0]!==Be;)u+=1}const d=c!==0||a;c!==0?s+=c+1:a&&(s+=1);const p=s-1,f=[];let h=0;d&&f.push("");let y=0,g=0,E=0,T=0;const v=i(N=>{const j=f.length;f.push(_f(N,j===0||j===p,t)),E+=1,T+=1},"pushCommonLine"),_=i(N=>{const j=f.length;f.push(Tf(N,j===0||j===p,t)),E+=1},"pushDeleteLine"),R=i(N=>{const j=f.length;f.push(wf(N,j===0||j===p,t)),T+=1},"pushInsertLine");for(u=0;u!==r;){let N=u;for(;u!==r&&e[u][0]===Be;)u+=1;if(N!==u)if(N===0){u>n&&(N=u-n,y=N,g=N,E=y,T=g);for(let j=N;j!==u;j+=1)v(e[j][1])}else if(u===r){const j=u-N>n?N+n:u;for(let C=N;C!==j;C+=1)v(e[C][1])}else{const j=u-N;if(j>o){const C=N+n;for(let w=N;w!==C;w+=1)v(e[w][1]);f[h]=Vu(y,E,g,T,t),h=f.length,f.push("");const P=j-o;y=E+P,g=T+P,E=y,T=g;for(let w=u-n;w!==u;w+=1)v(e[w][1])}else for(let C=N;C!==u;C+=1)v(e[C][1])}for(;u!==r&&e[u][0]===gt;)_(e[u][1]),u+=1;for(;u!==r&&e[u][0]===lt;)R(e[u][1]),u+=1}return d&&(f[h]=Vu(y,E,g,T,t)),f.join(`
166
+ `)}i(x_,"joinAlignedDiffsNoExpand");function N_(e,t){return e.map((r,n,o)=>{const s=r[1],a=n===0||n===o.length-1;switch(r[0]){case gt:return Tf(s,a,t);case lt:return wf(s,a,t);default:return _f(s,a,t)}}).join(`
167
+ `)}i(N_,"joinAlignedDiffsExpand");var iu=i(e=>e,"noColor"),I_=5,l$=0;function M_(){return{aAnnotation:"Expected",aColor:Je.green,aIndicator:"-",bAnnotation:"Received",bColor:Je.red,bIndicator:"+",changeColor:Je.inverse,changeLineTrailingSpaceColor:iu,commonColor:Je.dim,commonIndicator:" ",commonLineTrailingSpaceColor:iu,compareKeys:void 0,contextLines:I_,emptyFirstOrLastLinePlaceholder:"",expand:!1,includeChangeCounts:!1,omitAnnotationLines:!1,patchColor:Je.yellow,printBasicPrototype:!1,truncateThreshold:l$,truncateAnnotation:"... Diff result is truncated",truncateAnnotationColor:iu}}i(M_,"getDefaultOptions");function q_(e){return e&&typeof e=="function"?e:void 0}i(q_,"getCompareKeys");function j_(e){return typeof e=="number"&&Number.isSafeInteger(e)&&e>=0?e:I_}i(j_,"getContextLines");function Xr(e={}){return{...M_(),...e,compareKeys:q_(e.compareKeys),contextLines:j_(e.contextLines)}}i(Xr,"normalizeDiffOptions");function dn(e){return e.length===1&&e[0].length===0}i(dn,"isEmptyString");function k_(e){let t=0,r=0;return e.forEach(n=>{switch(n[0]){case gt:t+=1;break;case lt:r+=1;break}}),{a:t,b:r}}i(k_,"countChanges");function D_({aAnnotation:e,aColor:t,aIndicator:r,bAnnotation:n,bColor:o,bIndicator:s,includeChangeCounts:a,omitAnnotationLines:c},u){if(c)return"";let d="",p="";if(a){const y=String(u.a),g=String(u.b),E=n.length-e.length,T=" ".repeat(Math.max(0,E)),v=" ".repeat(Math.max(0,-E)),_=g.length-y.length,R=" ".repeat(Math.max(0,_)),N=" ".repeat(Math.max(0,-_));d=`${T} ${r} ${R}${y}`,p=`${v} ${s} ${N}${g}`}const f=`${r} ${e}${d}`,h=`${s} ${n}${p}`;return`${t(f)}
168
168
  ${o(h)}
169
169
 
170
170
  `}i(D_,"printAnnotation");function xl(e,t,r){return D_(r,k_(e))+(r.expand?N_(e,r):x_(e,r))+(t?r.truncateAnnotationColor(`
171
- ${r.truncateAnnotation}`):"")}i(xl,"printDiffLines");function vs(e,t,r){const n=Xr(r),[o,s]=Sf(dn(e)?[]:e,dn(t)?[]:t,n);return xl(o,s,n)}i(vs,"diffLinesUnified");function L_(e,t,r,n,o){if(dn(e)&&dn(r)&&(e=[],r=[]),dn(t)&&dn(n)&&(t=[],n=[]),e.length!==r.length||t.length!==n.length)return vs(e,t,o);const[s,a]=Sf(r,n,o);let c=0,u=0;return s.forEach(d=>{switch(d[0]){case yt:d[1]=e[c],c+=1;break;case at:d[1]=t[u],u+=1;break;default:d[1]=t[u],c+=1,u+=1}}),xl(s,a,Xr(o))}i(L_,"diffLinesUnified2");function Sf(e,t,r){const n=r?.truncateThreshold??!1,o=Math.max(Math.floor(r?.truncateThreshold??0),0),s=n?Math.min(e.length,o):e.length,a=n?Math.min(t.length,o):t.length,c=s!==e.length||a!==t.length,u=i((y,g)=>e[y]===t[g],"isCommon"),d=[];let p=0,f=0;for(O_(s,a,u,i((y,g,E)=>{for(;p!==g;p+=1)d.push(new Fe(yt,e[p]));for(;f!==E;f+=1)d.push(new Fe(at,t[f]));for(;y!==0;y-=1,p+=1,f+=1)d.push(new Fe(Be,t[f]))},"foundSubsequence"));p!==s;p+=1)d.push(new Fe(yt,e[p]));for(;f!==a;f+=1)d.push(new Fe(at,t[f]));return[d,c]}i(Sf,"diffLinesRaw");function Hu(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}`)}i(Hu,"getType");function zu(e){return e.includes(`\r
171
+ ${r.truncateAnnotation}`):"")}i(xl,"printDiffLines");function vs(e,t,r){const n=Xr(r),[o,s]=Sf(dn(e)?[]:e,dn(t)?[]:t,n);return xl(o,s,n)}i(vs,"diffLinesUnified");function L_(e,t,r,n,o){if(dn(e)&&dn(r)&&(e=[],r=[]),dn(t)&&dn(n)&&(t=[],n=[]),e.length!==r.length||t.length!==n.length)return vs(e,t,o);const[s,a]=Sf(r,n,o);let c=0,u=0;return s.forEach(d=>{switch(d[0]){case gt:d[1]=e[c],c+=1;break;case lt:d[1]=t[u],u+=1;break;default:d[1]=t[u],c+=1,u+=1}}),xl(s,a,Xr(o))}i(L_,"diffLinesUnified2");function Sf(e,t,r){const n=r?.truncateThreshold??!1,o=Math.max(Math.floor(r?.truncateThreshold??0),0),s=n?Math.min(e.length,o):e.length,a=n?Math.min(t.length,o):t.length,c=s!==e.length||a!==t.length,u=i((y,g)=>e[y]===t[g],"isCommon"),d=[];let p=0,f=0;for(O_(s,a,u,i((y,g,E)=>{for(;p!==g;p+=1)d.push(new Fe(gt,e[p]));for(;f!==E;f+=1)d.push(new Fe(lt,t[f]));for(;y!==0;y-=1,p+=1,f+=1)d.push(new Fe(Be,t[f]))},"foundSubsequence"));p!==s;p+=1)d.push(new Fe(gt,e[p]));for(;f!==a;f+=1)d.push(new Fe(lt,t[f]));return[d,c]}i(Sf,"diffLinesRaw");function Hu(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}`)}i(Hu,"getType");function zu(e){return e.includes(`\r
172
172
  `)?`\r
173
173
  `:`
174
174
  `}i(zu,"getNewLineSymbol");function F_(e,t,r){const n=r?.truncateThreshold??!1,o=Math.max(Math.floor(r?.truncateThreshold??0),0);let s=e.length,a=t.length;if(n){const y=e.includes(`
175
175
  `),g=t.includes(`
176
176
  `),E=zu(e),T=zu(t),v=y?`${e.split(E,o).join(E)}
177
177
  `:e,_=g?`${t.split(T,o).join(T)}
178
- `:t;s=v.length,a=_.length}const c=s!==e.length||a!==t.length,u=i((y,g)=>e[y]===t[g],"isCommon");let d=0,p=0;const f=[];return O_(s,a,u,i((y,g,E)=>{d!==g&&f.push(new Fe(yt,e.slice(d,g))),p!==E&&f.push(new Fe(at,t.slice(p,E))),d=g+y,p=E+y,f.push(new Fe(Be,t.slice(E,p)))},"foundSubsequence")),d!==s&&f.push(new Fe(yt,e.slice(d))),p!==a&&f.push(new Fe(at,t.slice(p))),[f,c]}i(F_,"diffStrings");function $_(e,t,r){return t.reduce((n,o)=>n+(o[0]===Be?o[1]:o[0]===e&&o[1].length!==0?r(o[1]):""),"")}i($_,"concatenateRelevantDiffs");var B_=class{op;line;lines;changeColor;constructor(t,r){this.op=t,this.line=[],this.lines=[],this.changeColor=r}pushSubstring(t){this.pushDiff(new Fe(this.op,t))}pushLine(){this.lines.push(this.line.length!==1?new Fe(this.op,$_(this.op,this.line,this.changeColor)):this.line[0][0]===this.op?this.line[0]:new Fe(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(`
178
+ `:t;s=v.length,a=_.length}const c=s!==e.length||a!==t.length,u=i((y,g)=>e[y]===t[g],"isCommon");let d=0,p=0;const f=[];return O_(s,a,u,i((y,g,E)=>{d!==g&&f.push(new Fe(gt,e.slice(d,g))),p!==E&&f.push(new Fe(lt,t.slice(p,E))),d=g+y,p=E+y,f.push(new Fe(Be,t.slice(E,p)))},"foundSubsequence")),d!==s&&f.push(new Fe(gt,e.slice(d))),p!==a&&f.push(new Fe(lt,t.slice(p))),[f,c]}i(F_,"diffStrings");function $_(e,t,r){return t.reduce((n,o)=>n+(o[0]===Be?o[1]:o[0]===e&&o[1].length!==0?r(o[1]):""),"")}i($_,"concatenateRelevantDiffs");var B_=class{op;line;lines;changeColor;constructor(t,r){this.op=t,this.line=[],this.lines=[],this.changeColor=r}pushSubstring(t){this.pushDiff(new Fe(this.op,t))}pushLine(){this.lines.push(this.line.length!==1?new Fe(this.op,$_(this.op,this.line,this.changeColor)):this.line[0][0]===this.op?this.line[0]:new Fe(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(`
179
179
  `)){const n=r.split(`
180
180
  `),o=n.length-1;n.forEach((s,a)=>{a<o?(this.pushSubstring(s),this.pushLine()):s.length!==0&&this.pushSubstring(s)})}else this.pushDiff(t)}moveLinesTo(t){this.isLineEmpty()||this.pushLine(),t.push(...this.lines),this.lines.length=0}};i(B_,"ChangeBuffer");var Cg=B_,J_=class{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(`
181
181
  `)){const o=n.split(`
182
- `),s=o.length-1;o.forEach((a,c)=>{if(c===0){const u=new Fe(r,a);this.deleteBuffer.isLineEmpty()&&this.insertBuffer.isLineEmpty()?(this.flushChangeLines(),this.pushDiffCommonLine(u)):(this.pushDiffChangeLines(u),this.flushChangeLines())}else c<s?this.pushDiffCommonLine(new Fe(r,a)):a.length!==0&&this.pushDiffChangeLines(new Fe(r,a))})}else this.pushDiffChangeLines(t)}getLines(){return this.flushChangeLines(),this.lines}};i(J_,"CommonBuffer");var c$=J_;function U_(e,t){const r=new Cg(yt,t),n=new Cg(at,t),o=new c$(r,n);return e.forEach(s=>{switch(s[0]){case yt:r.align(s);break;case at:n.align(s);break;default:o.align(s)}}),o.getLines()}i(U_,"getAlignedDiffs");function V_(e,t){if(t){const r=e.length-1;return e.some((n,o)=>n[0]===Be&&(o!==r||n[1]!==`
182
+ `),s=o.length-1;o.forEach((a,c)=>{if(c===0){const u=new Fe(r,a);this.deleteBuffer.isLineEmpty()&&this.insertBuffer.isLineEmpty()?(this.flushChangeLines(),this.pushDiffCommonLine(u)):(this.pushDiffChangeLines(u),this.flushChangeLines())}else c<s?this.pushDiffCommonLine(new Fe(r,a)):a.length!==0&&this.pushDiffChangeLines(new Fe(r,a))})}else this.pushDiffChangeLines(t)}getLines(){return this.flushChangeLines(),this.lines}};i(J_,"CommonBuffer");var c$=J_;function U_(e,t){const r=new Cg(gt,t),n=new Cg(lt,t),o=new c$(r,n);return e.forEach(s=>{switch(s[0]){case gt:r.align(s);break;case lt:n.align(s);break;default:o.align(s)}}),o.getLines()}i(U_,"getAlignedDiffs");function V_(e,t){if(t){const r=e.length-1;return e.some((n,o)=>n[0]===Be&&(o!==r||n[1]!==`
183
183
  `))}return e.some(r=>r[0]===Be)}i(V_,"hasCommonDiff");function H_(e,t,r){if(e!==t&&e.length!==0&&t.length!==0){const n=e.includes(`
184
184
  `)||t.includes(`
185
185
  `),[o,s]=Pf(n?`${e}
@@ -202,11 +202,11 @@ ${n}`)}return n}i(Ys,"compareObjects");function ba(e,t){const{compareKeys:r,prin
202
202
  `),a.split(`
203
203
  `),n)}}i(Yu,"getObjectsDifference");var xg=2e4;function Xu(e){return Gi(e)==="Object"&&typeof e.asymmetricMatch=="function"}i(Xu,"isAsymmetricMatcher");function Qu(e,t){const r=Gi(e),n=Gi(t);return r===n&&(r==="Object"||r==="Array")}i(Qu,"isReplaceable");function Af(e,t,r){const{aAnnotation:n,bAnnotation:o}=Xr(r);if(typeof t=="string"&&typeof e=="string"&&t.length>0&&e.length>0&&t.length<=xg&&e.length<=xg&&t!==e){if(t.includes(`
204
204
  `)||e.includes(`
205
- `))return H_(t,e,r);const[p]=Pf(t,e,!0),f=p.some(E=>E[0]===Be),h=K_(n,o),y=h(n)+X_(Zu(p,yt,f)),g=h(o)+Y_(Zu(p,at,f));return`${y}
205
+ `))return H_(t,e,r);const[p]=Pf(t,e,!0),f=p.some(E=>E[0]===Be),h=K_(n,o),y=h(n)+X_(Zu(p,gt,f)),g=h(o)+Y_(Zu(p,lt,f));return`${y}
206
206
  ${g}`}const s=Ju(t,{forceWritable:!0}),a=Ju(e,{forceWritable:!0}),{replacedExpected:c,replacedActual:u}=Rf(a,s);return Ln(c,u,r)}i(Af,"printDiffOrStringify");function Rf(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}):Qu(e,t)?r.has(e)||n.has(t)?{replacedActual:e,replacedExpected:t}:(r.add(e),n.add(t),bf(t).forEach(o=>{const s=t[o],a=e[o];if(Xu(s))s.asymmetricMatch(a)&&(e[o]=s);else if(Xu(a))a.asymmetricMatch(s)&&(t[o]=a);else if(Qu(a,s)){const c=Rf(a,s,r,n);e[o]=c.replacedActual,t[o]=c.replacedExpected}}),{replacedActual:e,replacedExpected:t}):{replacedActual:e,replacedExpected:t}}i(Rf,"replaceAsymmetricMatcher");function K_(...e){const t=e.reduce((r,n)=>n.length>r?n.length:r,0);return r=>`${r}: ${" ".repeat(t-r.length)}`}i(K_,"getLabelPrinter");var y$="·";function Of(e){return e.replace(/\s+$/gm,t=>y$.repeat(t.length))}i(Of,"replaceTrailingSpaces");function Y_(e){return Je.red(Of(vt(e)))}i(Y_,"printReceived");function X_(e){return Je.green(Of(vt(e)))}i(X_,"printExpected");function Zu(e,t,r){return e.reduce((n,o)=>n+(o[0]===Be?o[1]:o[0]===t?r?Je.inverse(o[1]):o[1]:""),"")}i(Zu,"getCommonAndChangedSubstrings");var g$="@@__IMMUTABLE_RECORD__@@",b$="@@__IMMUTABLE_ITERABLE__@@";function Q_(e){return e&&(e[b$]||e[g$])}i(Q_,"isImmutable");var v$=Object.getPrototypeOf({});function ed(e){return e instanceof Error?`<unserializable>: ${e.message}`:typeof e=="string"?`<unserializable>: ${e}`:"<unserializable>"}i(ed,"getUnserializableMessage");function Tr(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"&&Ei(()=>r.message??(r.message=e.message)),typeof e.stack=="string"&&Ei(()=>r.stack??(r.stack=e.stack)),typeof e.name=="string"&&Ei(()=>r.name??(r.name=e.name)),e.cause!=null&&Ei(()=>r.cause??(r.cause=Tr(e.cause,t)))),Tr(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(Q_(e))return Tr(e.toJSON(),t);if(e instanceof Promise||e.constructor&&e.constructor.prototype==="AsyncFunction")return"Promise";if(typeof Element<"u"&&e instanceof Element)return e.tagName;if(typeof e.asymmetricMatch=="function")return`${e.toString()} ${g_(e.sample)}`;if(typeof e.toJSON=="function")return Tr(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]=Tr(n,t)}catch(s){r[o]=ed(s)}}),r}else{const r=Object.create(null);t.set(e,r);let n=e;for(;n&&n!==v$;)Object.getOwnPropertyNames(n).forEach(o=>{if(!(o in r))try{r[o]=Tr(e[o],t)}catch(s){delete r[o],r[o]=ed(s)}}),n=Object.getPrototypeOf(n);return r}}i(Tr,"serializeValue");function Ei(e){try{return e()}catch{}}i(Ei,"safe");function Z_(e){return e.replace(/__(vite_ssr_import|vi_import)_\d+__\./g,"")}i(Z_,"normalizeErrorMessage");function Nl(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=Af(n.actual,n.expected,{...t,...n.diffOptions})),"expected"in n&&typeof n.expected!="string"&&(n.expected=vt(n.expected,10)),"actual"in n&&typeof n.actual!="string"&&(n.actual=vt(n.actual,10));try{typeof n.message=="string"&&(n.message=Z_(n.message))}catch{}try{!r.has(n)&&typeof n.cause=="object"&&(r.add(n),n.cause=Nl(n.cause,t,r))}catch{}try{return Tr(n)}catch(o){return Tr(new Error(`Failed to fully serialize error: ${o?.message}
207
207
  Inner error message: ${n?.message}`))}}i(Nl,"processError");var mr={CALL:"storybook/instrumenter/call",SYNC:"storybook/instrumenter/sync",START:"storybook/instrumenter/start",BACK:"storybook/instrumenter/back",GOTO:"storybook/instrumenter/goto",NEXT:"storybook/instrumenter/next",END:"storybook/instrumenter/end"},su=globalThis.__STORYBOOK_ADDONS_PREVIEW,E$=new Error("This function ran after the play function completed. Did you forget to `await` it?"),Ng=i(e=>Object.prototype.toString.call(e)==="[object Object]","isObject"),T$=i(e=>Object.prototype.toString.call(e)==="[object Module]","isModule"),w$=i(e=>{if(!Ng(e)&&!T$(e))return!1;if(e.constructor===void 0)return!0;const t=e.constructor.prototype;return!!Ng(t)},"isInstrumentable"),_$=i(e=>{try{return new e.constructor}catch{return{}}},"construct"),au=i(()=>({renderPhase:"preparing",isDebugging:!1,isPlaying:!1,isLocked:!1,cursor:0,calls:[],shadowCalls:[],callRefsByResult:new Map,chainedCallIds:new Set,ancestors:[],playUntil:void 0,resolvers:{},syncTimeout:void 0}),"getInitialState"),Ig=i((e,t=!1)=>{const r=(t?e.shadowCalls:e.calls).filter(o=>o.retain);if(!r.length)return;const n=new Map(Array.from(e.callRefsByResult.entries()).filter(([,o])=>o.retain));return{cursor:r.length,calls:r,callRefsByResult:n}},"getRetainedState"),eS=class{constructor(){this.detached=!1,this.initialized=!1,this.state={},this.loadParentWindowState=i(()=>{try{this.state=te.window?.parent?.__STORYBOOK_ADDON_INTERACTIONS_INSTRUMENTER_STATE__||{}}catch{this.detached=!0}},"loadParentWindowState"),this.updateParentWindowState=i(()=>{try{te.window.parent.__STORYBOOK_ADDON_INTERACTIONS_INSTRUMENTER_STATE__=this.state}catch{this.detached=!0}},"updateParentWindowState"),this.loadParentWindowState();const t=i(({storyId:u,renderPhase:d,isPlaying:p=!0,isDebugging:f=!1})=>{const h=this.getState(u);this.setState(u,{...au(),...Ig(h,f),renderPhase:d||h.renderPhase,shadowCalls:f?h.shadowCalls:[],chainedCallIds:f?h.chainedCallIds:new Set,playUntil:f?h.playUntil:void 0,isPlaying:p,isDebugging:f}),this.sync(u)},"resetState"),r=i(u=>({storyId:d,playUntil:p})=>{this.getState(d).isDebugging||this.setState(d,({calls:h})=>({calls:[],shadowCalls:h.map(y=>({...y,status:"waiting"})),isDebugging:!0}));const f=this.getLog(d);this.setState(d,({shadowCalls:h})=>{if(p||!f.length)return{playUntil:p};const y=h.findIndex(g=>g.id===f[0].callId);return{playUntil:h.slice(0,y).filter(g=>g.interceptable&&!g.ancestors?.length).slice(-1)[0]?.id}}),u.emit(fa,{storyId:d,isDebugging:!0})},"start"),n=i(u=>({storyId:d})=>{const p=this.getLog(d).filter(h=>!h.ancestors?.length),f=p.reduceRight((h,y,g)=>h>=0||y.status==="waiting"?h:g,-1);r(u)({storyId:d,playUntil:p[f-1]?.callId})},"back"),o=i(u=>({storyId:d,callId:p})=>{const{calls:f,shadowCalls:h,resolvers:y}=this.getState(d),g=f.find(({id:T})=>T===p),E=h.find(({id:T})=>T===p);if(!g&&E&&Object.values(y).length>0){const T=this.getLog(d).find(v=>v.status==="waiting")?.callId;E.id!==T&&this.setState(d,{playUntil:E.id}),Object.values(y).forEach(v=>v())}else r(u)({storyId:d,playUntil:p})},"goto"),s=i(u=>({storyId:d})=>{const{resolvers:p}=this.getState(d);if(Object.values(p).length>0)Object.values(p).forEach(f=>f());else{const f=this.getLog(d).find(h=>h.status==="waiting")?.callId;f?r(u)({storyId:d,playUntil:f}):a({storyId:d})}},"next"),a=i(({storyId:u})=>{this.setState(u,{playUntil:void 0,isDebugging:!1}),Object.values(this.getState(u).resolvers).forEach(d=>d())},"end"),c=i(({storyId:u,newPhase:d})=>{const{isDebugging:p}=this.getState(u);if(d==="preparing"&&p)return t({storyId:u,renderPhase:d,isDebugging:p});if(d==="playing")return t({storyId:u,renderPhase:d,isDebugging:p});d==="played"?this.setState(u,{renderPhase:d,isLocked:!1,isPlaying:!1,isDebugging:!1}):d==="errored"?this.setState(u,{renderPhase:d,isLocked:!1,isPlaying:!1}):d==="aborted"?this.setState(u,{renderPhase:d,isLocked:!0,isPlaying:!1}):this.setState(u,{renderPhase:d}),this.sync(u)},"renderPhaseChanged");su&&su.ready().then(()=>{this.channel=su.getChannel(),this.channel.on(fa,t),this.channel.on(wn,c),this.channel.on(Np,()=>{this.initialized?this.cleanup():this.initialized=!0}),this.channel.on(mr.START,r(this.channel)),this.channel.on(mr.BACK,n(this.channel)),this.channel.on(mr.GOTO,o(this.channel)),this.channel.on(mr.NEXT,s(this.channel)),this.channel.on(mr.END,a)})}getState(t){return this.state[t]||au()}setState(t,r){if(t){const n=this.getState(t),o=typeof r=="function"?r(n):r;this.state={...this.state,[t]:{...n,...o}},this.updateParentWindowState()}}cleanup(){this.state=Object.entries(this.state).reduce((n,[o,s])=>{const a=Ig(s);return a&&(n[o]=Object.assign(au(),a)),n},{});const r={controlStates:{detached:this.detached,start:!1,back:!1,goto:!1,next:!1,end:!1},logItems:[]};this.channel?.emit(mr.SYNC,r),this.updateParentWindowState()}getLog(t){const{calls:r,shadowCalls:n}=this.getState(t),o=[...n];r.forEach((a,c)=>{o[c]=a});const s=new Set;return o.reduceRight((a,c)=>(c.args.forEach(u=>{u?.__callId__&&s.add(u.__callId__)}),c.path.forEach(u=>{u.__callId__&&s.add(u.__callId__)}),(c.interceptable||c.exception)&&!s.has(c.id)&&(a.unshift({callId:c.id,status:c.status,ancestors:c.ancestors}),s.add(c.id)),a),[])}instrument(t,r,n=0){if(!w$(t))return t;const{mutate:o=!1,path:s=[]}=r,a=r.getKeys?r.getKeys(t,n):Object.keys(t);return n+=1,a.reduce((c,u)=>{const d=tS(t,u);if(typeof d?.get=="function"){if(d.configurable){const f=i(()=>d?.get?.bind(t)?.(),"getter");Object.defineProperty(c,u,{get:i(()=>this.instrument(f(),{...r,path:s.concat(u)},n),"get")})}return c}const p=t[u];return typeof p!="function"?(c[u]=this.instrument(p,{...r,path:s.concat(u)},n),c):"__originalFn__"in p&&typeof p.__originalFn__=="function"?(c[u]=p,c):(c[u]=(...f)=>this.track(u,p,t,f,r),c[u].__originalFn__=p,Object.defineProperty(c[u],"name",{value:u,writable:!1}),Object.keys(p).length>0&&Object.assign(c[u],this.instrument({...p},{...r,path:s.concat(u)},n)),c)},o?t:_$(t))}track(t,r,n,o,s){const a=o?.[0]?.__storyId__||te.__STORYBOOK_PREVIEW__?.selectionStore?.selection?.storyId,{cursor:c,ancestors:u}=this.getState(a);this.setState(a,{cursor:c+1});const d=`${u.slice(-1)[0]||a} [${c}] ${t}`,{path:p=[],intercept:f=!1,retain:h=!1}=s,y=typeof f=="function"?f(t,p):f,g={id:d,cursor:c,storyId:a,ancestors:u,path:p,method:t,args:o,interceptable:y,retain:h},T=(y&&!u.length?this.intercept:this.invoke).call(this,r,n,g,s);return this.instrument(T,{...s,mutate:!0,path:[{__callId__:g.id}]})}intercept(t,r,n,o){const{chainedCallIds:s,isDebugging:a,playUntil:c}=this.getState(n.storyId),u=s.has(n.id);return!a||u||c?(c===n.id&&this.setState(n.storyId,{playUntil:void 0}),this.invoke(t,r,n,o)):new Promise(d=>{this.setState(n.storyId,({resolvers:p})=>({isLocked:!1,resolvers:{...p,[n.id]:d}}))}).then(()=>(this.setState(n.storyId,d=>{const{[n.id]:p,...f}=d.resolvers;return{isLocked:!0,resolvers:f}}),this.invoke(t,r,n,o)))}invoke(t,r,n,o){const{callRefsByResult:s,renderPhase:a}=this.getState(n.storyId),c=25,u=i((f,h,y)=>{if(y.includes(f))return"[Circular]";if(y=[...y,f],h>c)return"...";if(s.has(f))return s.get(f);if(f instanceof Array)return f.map(g=>u(g,++h,y));if(f instanceof Date)return{__date__:{value:f.toISOString()}};if(f instanceof Error){const{name:g,message:E,stack:T}=f;return{__error__:{name:g,message:E,stack:T}}}if(f instanceof RegExp){const{flags:g,source:E}=f;return{__regexp__:{flags:g,source:E}}}if(f instanceof te.window?.HTMLElement){const{prefix:g,localName:E,id:T,classList:v,innerText:_}=f,R=Array.from(v);return{__element__:{prefix:g,localName:E,id:T,classNames:R,innerText:_}}}return typeof f=="function"?{__function__:{name:"getMockName"in f?f.getMockName():f.name}}:typeof f=="symbol"?{__symbol__:{description:f.description}}:typeof f=="object"&&f?.constructor?.name&&f?.constructor?.name!=="Object"?{__class__:{name:f.constructor.name}}:Object.prototype.toString.call(f)==="[object Object]"?Object.fromEntries(Object.entries(f).map(([g,E])=>[g,u(E,++h,y)])):f},"serializeValues"),d={...n,args:n.args.map(f=>u(f,0,[]))};n.path.forEach(f=>{f?.__callId__&&this.setState(n.storyId,({chainedCallIds:h})=>({chainedCallIds:new Set(Array.from(h).concat(f.__callId__))}))});const p=i(f=>{if(f instanceof Error){const{name:h,message:y,stack:g,callId:E=n.id}=f,{showDiff:T=void 0,diff:v=void 0,actual:_=void 0,expected:R=void 0}=f.name==="AssertionError"?Nl(f):f,N={name:h,message:y,stack:g,callId:E,showDiff:T,diff:v,actual:_,expected:R};if(this.update({...d,status:"error",exception:N}),this.setState(n.storyId,j=>({callRefsByResult:new Map([...Array.from(j.callRefsByResult.entries()),[f,{__callId__:n.id,retain:n.retain}]])})),n.ancestors?.length)throw Object.prototype.hasOwnProperty.call(f,"callId")||Object.defineProperty(f,"callId",{value:n.id}),f}throw f},"handleException");try{if(a==="played"&&!n.retain)throw E$;const h=(o.getArgs?o.getArgs(n,this.getState(n.storyId)):n.args).map(g=>typeof g!="function"||rS(g)||Object.keys(g).length?g:(...E)=>{const{cursor:T,ancestors:v}=this.getState(n.storyId);this.setState(n.storyId,{cursor:0,ancestors:[...v,n.id]});const _=i(()=>this.setState(n.storyId,{cursor:T,ancestors:v}),"restore");let R=!1;try{const N=g(...E);return N instanceof Promise?(R=!0,N.finally(_)):N}finally{R||_()}}),y=t.apply(r,h);return y&&["object","function","symbol"].includes(typeof y)&&this.setState(n.storyId,g=>({callRefsByResult:new Map([...Array.from(g.callRefsByResult.entries()),[y,{__callId__:n.id,retain:n.retain}]])})),this.update({...d,status:y instanceof Promise?"active":"done"}),y instanceof Promise?y.then(g=>(this.update({...d,status:"done"}),g),p):y}catch(f){return p(f)}}update(t){this.channel?.emit(mr.CALL,t),this.setState(t.storyId,({calls:r})=>{const n=r.concat(t).reduce((o,s)=>Object.assign(o,{[s.id]:s}),{});return{calls:Object.values(n).sort((o,s)=>o.id.localeCompare(s.id,void 0,{numeric:!0}))}}),this.sync(t.storyId)}sync(t){const r=i(()=>{const{isLocked:n,isPlaying:o}=this.getState(t),s=this.getLog(t),a=s.filter(({ancestors:f})=>!f.length).find(f=>f.status==="waiting")?.callId,c=s.some(f=>f.status==="active");if(this.detached||n||c||s.length===0){const h={controlStates:{detached:this.detached,start:!1,back:!1,goto:!1,next:!1,end:!1},logItems:s};this.channel?.emit(mr.SYNC,h);return}const u=s.some(f=>f.status==="done"||f.status==="error"),p={controlStates:{detached:this.detached,start:u,back:u,goto:!0,next:o,end:o},logItems:s,pausedAt:a};this.channel?.emit(mr.SYNC,p)},"synchronize");this.setState(t,({syncTimeout:n})=>(clearTimeout(n),{syncTimeout:setTimeout(r,0)}))}};i(eS,"Instrumenter");var S$=eS;function No(e,t={}){try{let r=!1,n=!1;return te.window?.location?.search?.includes("instrument=true")?r=!0:te.window?.location?.search?.includes("instrument=false")&&(n=!0),te.window?.parent===te.window&&!r||n?e:(te.window&&!te.window.__STORYBOOK_ADDON_INTERACTIONS_INSTRUMENTER__&&(te.window.__STORYBOOK_ADDON_INTERACTIONS_INSTRUMENTER__=new S$),(te.window?.__STORYBOOK_ADDON_INTERACTIONS_INSTRUMENTER__).instrument(e,t))}catch(r){return Ue.warn(r),e}}i(No,"instrument");function tS(e,t){let r=e;for(;r!=null;){const n=Object.getOwnPropertyDescriptor(r,t);if(n)return n;r=Object.getPrototypeOf(r)}}i(tS,"getPropertyDescriptor");function rS(e){if(typeof e!="function")return!1;const t=Object.getOwnPropertyDescriptor(e,"prototype");return t?!t.writable:!1}i(rS,"isClass");var nS=Object.defineProperty,z=i((e,t)=>nS(e,"name",{value:t,configurable:!0}),"__name"),Cf=i((e,t)=>{for(var r in t)nS(e,r,{get:t[r],enumerable:!0})},"__export"),tr={};Cf(tr,{addChainableMethod:i(()=>Ul,"addChainableMethod"),addLengthGuard:i(()=>qo,"addLengthGuard"),addMethod:i(()=>$l,"addMethod"),addProperty:i(()=>Fl,"addProperty"),checkError:i(()=>Pt,"checkError"),compareByInspect:i(()=>Xi,"compareByInspect"),eql:i(()=>iS,"eql"),expectTypes:i(()=>kf,"expectTypes"),flag:i(()=>me,"flag"),getActual:i(()=>Ts,"getActual"),getMessage:i(()=>ql,"getMessage"),getName:i(()=>_s,"getName"),getOperator:i(()=>Gl,"getOperator"),getOwnEnumerableProperties:i(()=>zl,"getOwnEnumerableProperties"),getOwnEnumerablePropertySymbols:i(()=>Hl,"getOwnEnumerablePropertySymbols"),getPathInfo:i(()=>Ll,"getPathInfo"),hasProperty:i(()=>ws,"hasProperty"),inspect:i(()=>we,"inspect"),isNaN:i(()=>Ma,"isNaN"),isNumeric:i(()=>rt,"isNumeric"),isProxyEnabled:i(()=>Mo,"isProxyEnabled"),isRegExp:i(()=>Qi,"isRegExp"),objDisplay:i(()=>Fr,"objDisplay"),overwriteChainableMethod:i(()=>Vl,"overwriteChainableMethod"),overwriteMethod:i(()=>Jl,"overwriteMethod"),overwriteProperty:i(()=>Bl,"overwriteProperty"),proxify:i(()=>Fn,"proxify"),test:i(()=>Il,"test"),transferFlags:i(()=>$t,"transferFlags"),type:i(()=>xe,"type")});var Pt={};Cf(Pt,{compatibleConstructor:i(()=>If,"compatibleConstructor"),compatibleInstance:i(()=>Nf,"compatibleInstance"),compatibleMessage:i(()=>Mf,"compatibleMessage"),getConstructorName:i(()=>qf,"getConstructorName"),getMessage:i(()=>jf,"getMessage")});function Es(e){return e instanceof Error||Object.prototype.toString.call(e)==="[object Error]"}i(Es,"isErrorInstance");z(Es,"isErrorInstance");function xf(e){return Object.prototype.toString.call(e)==="[object RegExp]"}i(xf,"isRegExp");z(xf,"isRegExp");function Nf(e,t){return Es(t)&&e===t}i(Nf,"compatibleInstance");z(Nf,"compatibleInstance");function If(e,t){return Es(t)?e.constructor===t.constructor||e instanceof t.constructor:(typeof t=="object"||typeof t=="function")&&t.prototype?e.constructor===t||e instanceof t:!1}i(If,"compatibleConstructor");z(If,"compatibleConstructor");function Mf(e,t){const r=typeof e=="string"?e:e.message;return xf(t)?t.test(r):typeof t=="string"?r.indexOf(t)!==-1:!1}i(Mf,"compatibleMessage");z(Mf,"compatibleMessage");function qf(e){let t=e;return Es(e)?t=e.constructor.name:typeof e=="function"&&(t=e.name,t===""&&(t=new e().name||t)),t}i(qf,"getConstructorName");z(qf,"getConstructorName");function jf(e){let t="";return e&&e.message?t=e.message:typeof e=="string"&&(t=e),t}i(jf,"getMessage");z(jf,"getMessage");function me(e,t,r){let n=e.__flags||(e.__flags=Object.create(null));if(arguments.length===3)n[t]=r;else return n[t]}i(me,"flag");z(me,"flag");function Il(e,t){let r=me(e,"negate"),n=t[0];return r?!n:n}i(Il,"test");z(Il,"test");function xe(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)}i(xe,"type");z(xe,"type");var P$="captureStackTrace"in Error,mi,Ae=(mi=class extends Error{message;get name(){return"AssertionError"}get ok(){return!1}constructor(e="Unspecified AssertionError",t,r){super(e),this.message=e,P$&&Error.captureStackTrace(this,r||mi);for(const n in t)n in this||(this[n]=t[n])}toJSON(e){return{...this,name:this.name,message:this.message,ok:!1,stack:e!==!1?this.stack:void 0}}},i(mi,"_AssertionError"),z(mi,"AssertionError"),mi);function kf(e,t){let r=me(e,"message"),n=me(e,"ssfi");r=r?r+": ":"",e=me(e,"object"),t=t.map(function(a){return a.toLowerCase()}),t.sort();let o=t.map(function(a,c){let u=~["a","e","i","o","u"].indexOf(a.charAt(0))?"an":"a";return(t.length>1&&c===t.length-1?"or ":"")+u+" "+a}).join(", "),s=xe(e).toLowerCase();if(!t.some(function(a){return s===a}))throw new Ae(r+"object tested must be "+o+", but "+s+" given",void 0,n)}i(kf,"expectTypes");z(kf,"expectTypes");function Ts(e,t){return t.length>4?t[4]:e._obj}i(Ts,"getActual");z(Ts,"getActual");var Mg={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"]},A$={special:"cyan",number:"yellow",bigint:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",symbol:"green",date:"magenta",regexp:"red"},mo="…";function Df(e,t){const r=Mg[A$[t]]||Mg[t]||"";return r?`\x1B[${r[0]}m${String(e)}\x1B[${r[1]}m`:String(e)}i(Df,"colorise");z(Df,"colorise");function Lf({showHidden:e=!1,depth:t=2,colors:r=!1,customInspect:n=!0,showProxy:o=!1,maxArrayLength:s=1/0,breakLength:a=1/0,seen:c=[],truncate:u=1/0,stylize:d=String}={},p){const f={showHidden:!!e,depth:Number(t),colors:!!r,customInspect:!!n,showProxy:!!o,maxArrayLength:Number(s),breakLength:Number(a),truncate:Number(u),seen:c,inspect:p,stylize:d};return f.colors&&(f.stylize=Df),f}i(Lf,"normaliseOptions");z(Lf,"normaliseOptions");function Ff(e){return e>="\uD800"&&e<="\uDBFF"}i(Ff,"isHighSurrogate");z(Ff,"isHighSurrogate");function ar(e,t,r=mo){e=String(e);const n=r.length,o=e.length;if(n>t&&o>n)return r;if(o>t&&o>n){let s=t-n;return s>0&&Ff(e[s-1])&&(s=s-1),`${e.slice(0,s)}${r}`}return e}i(ar,"truncate");z(ar,"truncate");function xt(e,t,r,n=", "){r=r||t.inspect;const o=e.length;if(o===0)return"";const s=t.truncate;let a="",c="",u="";for(let d=0;d<o;d+=1){const p=d+1===e.length,f=d+2===e.length;u=`${mo}(${e.length-d})`;const h=e[d];t.truncate=s-a.length-(p?0:n.length);const y=c||r(h,t)+(p?"":n),g=a.length+y.length,E=g+u.length;if(p&&g>s&&a.length+u.length<=s||!p&&!f&&E>s||(c=p?"":r(e[d+1],t)+(f?"":n),!p&&f&&E>s&&g+c.length>s))break;if(a+=y,!p&&!f&&g+c.length>=s){u=`${mo}(${e.length-d-1})`;break}u=""}return`${a}${u}`}i(xt,"inspectList");z(xt,"inspectList");function $f(e){return e.match(/^[a-zA-Z_][a-zA-Z_0-9]*$/)?e:JSON.stringify(e).replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'")}i($f,"quoteComplexKey");z($f,"quoteComplexKey");function _n([e,t],r){return r.truncate-=2,typeof e=="string"?e=$f(e):typeof e!="number"&&(e=`[${r.inspect(e,r)}]`),r.truncate-=e.length,t=r.inspect(t,r),`${e}: ${t}`}i(_n,"inspectProperty");z(_n,"inspectProperty");function Bf(e,t){const r=Object.keys(e).slice(e.length);if(!e.length&&!r.length)return"[]";t.truncate-=4;const n=xt(e,t);t.truncate-=n.length;let o="";return r.length&&(o=xt(r.map(s=>[s,e[s]]),t,_n)),`[ ${n}${o?`, ${o}`:""} ]`}i(Bf,"inspectArray");z(Bf,"inspectArray");var R$=z(e=>typeof Buffer=="function"&&e instanceof Buffer?"Buffer":e[Symbol.toStringTag]?e[Symbol.toStringTag]:e.constructor.name,"getArrayName");function Ut(e,t){const r=R$(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 c=`${t.stylize(ar(e[a],t.truncate),"number")}${a===e.length-1?"":", "}`;if(t.truncate-=c.length,e[a]!==e.length&&t.truncate<=3){o+=`${mo}(${e.length-e[a]+1})`;break}o+=c}let s="";return n.length&&(s=xt(n.map(a=>[a,e[a]]),t,_n)),`${r}[ ${o}${s?`, ${s}`:""} ]`}i(Ut,"inspectTypedArray");z(Ut,"inspectTypedArray");function Jf(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${ar(n[1],t.truncate-o.length-1)}`,"date")}i(Jf,"inspectDate");z(Jf,"inspectDate");function va(e,t){const r=e[Symbol.toStringTag]||"Function",n=e.name;return n?t.stylize(`[${r} ${ar(n,t.truncate-11)}]`,"special"):t.stylize(`[${r}]`,"special")}i(va,"inspectFunction");z(va,"inspectFunction");function Uf([e,t],r){return r.truncate-=4,e=r.inspect(e,r),r.truncate-=e.length,t=r.inspect(t,r),`${e} => ${t}`}i(Uf,"inspectMapEntry");z(Uf,"inspectMapEntry");function Vf(e){const t=[];return e.forEach((r,n)=>{t.push([n,r])}),t}i(Vf,"mapToEntries");z(Vf,"mapToEntries");function Hf(e,t){return e.size===0?"Map{}":(t.truncate-=7,`Map{ ${xt(Vf(e),t,Uf)} }`)}i(Hf,"inspectMap");z(Hf,"inspectMap");var O$=Number.isNaN||(e=>e!==e);function Ea(e,t){return O$(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(ar(String(e),t.truncate),"number")}i(Ea,"inspectNumber");z(Ea,"inspectNumber");function Ta(e,t){let r=ar(e.toString(),t.truncate-1);return r!==mo&&(r+="n"),t.stylize(r,"bigint")}i(Ta,"inspectBigInt");z(Ta,"inspectBigInt");function zf(e,t){const r=e.toString().split("/")[2],n=t.truncate-(2+r.length),o=e.source;return t.stylize(`/${ar(o,n)}/${r}`,"regexp")}i(zf,"inspectRegExp");z(zf,"inspectRegExp");function Gf(e){const t=[];return e.forEach(r=>{t.push(r)}),t}i(Gf,"arrayFromSet");z(Gf,"arrayFromSet");function Wf(e,t){return e.size===0?"Set{}":(t.truncate-=7,`Set{ ${xt(Gf(e),t)} }`)}i(Wf,"inspectSet");z(Wf,"inspectSet");var qg=new RegExp("['\\u0000-\\u001f\\u007f-\\u009f\\u00ad\\u0600-\\u0604\\u070f\\u17b4\\u17b5\\u200c-\\u200f\\u2028-\\u202f\\u2060-\\u206f\\ufeff\\ufff0-\\uffff]","g"),C$={"\b":"\\b"," ":"\\t","\n":"\\n","\f":"\\f","\r":"\\r","'":"\\'","\\":"\\\\"},x$=16;function Kf(e){return C$[e]||`\\u${`0000${e.charCodeAt(0).toString(x$)}`.slice(-4)}`}i(Kf,"escape");z(Kf,"escape");function wa(e,t){return qg.test(e)&&(e=e.replace(qg,Kf)),t.stylize(`'${ar(e,t.truncate-2)}'`,"string")}i(wa,"inspectString");z(wa,"inspectString");function _a(e){return"description"in Symbol.prototype?e.description?`Symbol(${e.description})`:"Symbol()":e.toString()}i(_a,"inspectSymbol");z(_a,"inspectSymbol");var N$=z(()=>"Promise{…}","getPromiseValue"),I$=N$;function to(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=xt(r.map(c=>[c,e[c]]),t,_n),s=xt(n.map(c=>[c,e[c]]),t,_n);t.seen.pop();let a="";return o&&s&&(a=", "),`{ ${o}${a}${s} }`}i(to,"inspectObject");z(to,"inspectObject");var lu=typeof Symbol<"u"&&Symbol.toStringTag?Symbol.toStringTag:!1;function Yf(e,t){let r="";return lu&&lu in e&&(r=e[lu]),r=r||e.constructor.name,(!r||r==="_class")&&(r="<Anonymous Class>"),t.truncate-=r.length,`${r}${to(e,t)}`}i(Yf,"inspectClass");z(Yf,"inspectClass");function Xf(e,t){return e.length===0?"Arguments[]":(t.truncate-=13,`Arguments[ ${xt(e,t)} ]`)}i(Xf,"inspectArguments");z(Xf,"inspectArguments");var M$=["stack","line","column","name","message","fileName","lineNumber","columnNumber","number","description","cause"];function Qf(e,t){const r=Object.getOwnPropertyNames(e).filter(a=>M$.indexOf(a)===-1),n=e.name;t.truncate-=n.length;let o="";if(typeof e.message=="string"?o=ar(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 s=xt(r.map(a=>[a,e[a]]),t,_n);return`${n}${o}${s?` { ${s} }`:""}`}i(Qf,"inspectObject2");z(Qf,"inspectObject");function Zf([e,t],r){return r.truncate-=3,t?`${r.stylize(String(e),"yellow")}=${r.stylize(`"${t}"`,"string")}`:`${r.stylize(String(e),"yellow")}`}i(Zf,"inspectAttribute");z(Zf,"inspectAttribute");function Wi(e,t){return xt(e,t,em,`
208
- `)}i(Wi,"inspectNodeCollection");z(Wi,"inspectNodeCollection");function em(e,t){switch(e.nodeType){case 1:return Ml(e,t);case 3:return t.inspect(e.data,t);default:return t.inspect(e,t)}}i(em,"inspectNode");z(em,"inspectNode");function Ml(e,t){const r=e.getAttributeNames(),n=e.tagName.toLowerCase(),o=t.stylize(`<${n}`,"special"),s=t.stylize(">","special"),a=t.stylize(`</${n}>`,"special");t.truncate-=n.length*2+5;let c="";r.length>0&&(c+=" ",c+=xt(r.map(p=>[p,e.getAttribute(p)]),t,Zf," ")),t.truncate-=c.length;const u=t.truncate;let d=Wi(e.children,t);return d&&d.length>u&&(d=`${mo}(${e.children.length})`),`${o}${c}${s}${d}${a}`}i(Ml,"inspectHTML");z(Ml,"inspectHTML");var q$=typeof Symbol=="function"&&typeof Symbol.for=="function",cu=q$?Symbol.for("chai/inspect"):"@@chai/inspect",uu=Symbol.for("nodejs.util.inspect.custom"),jg=new WeakMap,kg={},Dg={undefined:z((e,t)=>t.stylize("undefined","undefined"),"undefined"),null:z((e,t)=>t.stylize("null","null"),"null"),boolean:z((e,t)=>t.stylize(String(e),"boolean"),"boolean"),Boolean:z((e,t)=>t.stylize(String(e),"boolean"),"Boolean"),number:Ea,Number:Ea,bigint:Ta,BigInt:Ta,string:wa,String:wa,function:va,Function:va,symbol:_a,Symbol:_a,Array:Bf,Date:Jf,Map:Hf,Set:Wf,RegExp:zf,Promise:I$,WeakSet:z((e,t)=>t.stylize("WeakSet{…}","special"),"WeakSet"),WeakMap:z((e,t)=>t.stylize("WeakMap{…}","special"),"WeakMap"),Arguments:Xf,Int8Array:Ut,Uint8Array:Ut,Uint8ClampedArray:Ut,Int16Array:Ut,Uint16Array:Ut,Int32Array:Ut,Uint32Array:Ut,Float32Array:Ut,Float64Array:Ut,Generator:z(()=>"","Generator"),DataView:z(()=>"","DataView"),ArrayBuffer:z(()=>"","ArrayBuffer"),Error:Qf,HTMLCollection:Wi,NodeList:Wi},j$=z((e,t,r)=>cu in e&&typeof e[cu]=="function"?e[cu](t):uu in e&&typeof e[uu]=="function"?e[uu](t.depth,t):"inspect"in e&&typeof e.inspect=="function"?e.inspect(t.depth,t):"constructor"in e&&jg.has(e.constructor)?jg.get(e.constructor)(e,t):kg[r]?kg[r](e,t):"","inspectCustom"),k$=Object.prototype.toString;function Ki(e,t={}){const r=Lf(t,Ki),{customInspect:n}=r;let o=e===null?"null":typeof e;if(o==="object"&&(o=k$.call(e).slice(8,-1)),o in Dg)return Dg[o](e,r);if(n&&e){const a=j$(e,r,o);if(a)return typeof a=="string"?a:Ki(a,r)}const s=e?Object.getPrototypeOf(e):!1;return s===Object.prototype||s===null?to(e,r):e&&typeof HTMLElement=="function"&&e instanceof HTMLElement?Ml(e,r):"constructor"in e?e.constructor!==Object?Yf(e,r):to(e,r):e===Object(e)?to(e,r):r.stylize(String(e),o)}i(Ki,"inspect");z(Ki,"inspect");var gt={includeStack:!1,showDiff:!0,truncateThreshold:40,useProxy:!0,proxyExcludedKeys:["then","catch","inspect","toJSON"],deepEqual:null};function we(e,t,r,n){let o={colors:n,depth:typeof r>"u"?2:r,showHidden:t,truncate:gt.truncateThreshold?gt.truncateThreshold:1/0};return Ki(e,o)}i(we,"inspect2");z(we,"inspect");function Fr(e){let t=we(e),r=Object.prototype.toString.call(e);if(gt.truncateThreshold&&t.length>=gt.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}i(Fr,"objDisplay");z(Fr,"objDisplay");function ql(e,t){let r=me(e,"negate"),n=me(e,"object"),o=t[3],s=Ts(e,t),a=r?t[2]:t[1],c=me(e,"message");return typeof a=="function"&&(a=a()),a=a||"",a=a.replace(/#\{this\}/g,function(){return Fr(n)}).replace(/#\{act\}/g,function(){return Fr(s)}).replace(/#\{exp\}/g,function(){return Fr(o)}),c?c+": "+a:a}i(ql,"getMessage2");z(ql,"getMessage");function $t(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])}i($t,"transferFlags");z($t,"transferFlags");function Sa(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)}i(Sa,"type2");z(Sa,"type");function jl(){this._key="chai/deep-eql__"+Math.random()+Date.now()}i(jl,"FakeMap");z(jl,"FakeMap");jl.prototype={get:z(i(function(t){return t[this._key]},"get"),"get"),set:z(i(function(t,r){Object.isExtensible(t)&&Object.defineProperty(t,this._key,{value:r,configurable:!0})},"set"),"set")};var oS=typeof WeakMap=="function"?WeakMap:jl;function Pa(e,t,r){if(!r||zr(e)||zr(t))return null;var n=r.get(e);if(n){var o=n.get(t);if(typeof o=="boolean")return o}return null}i(Pa,"memoizeCompare");z(Pa,"memoizeCompare");function Yn(e,t,r,n){if(!(!r||zr(e)||zr(t))){var o=r.get(e);o?o.set(t,n):(o=new oS,o.set(t,n),r.set(e,o))}}i(Yn,"memoizeSet");z(Yn,"memoizeSet");var iS=Io;function Io(e,t,r){if(r&&r.comparator)return Aa(e,t,r);var n=kl(e,t);return n!==null?n:Aa(e,t,r)}i(Io,"deepEqual");z(Io,"deepEqual");function kl(e,t){return e===t?e!==0||1/e===1/t:e!==e&&t!==t?!0:zr(e)||zr(t)?!1:null}i(kl,"simpleEqual");z(kl,"simpleEqual");function Aa(e,t,r){r=r||{},r.memoize=r.memoize===!1?!1:r.memoize||new oS;var n=r&&r.comparator,o=Pa(e,t,r.memoize);if(o!==null)return o;var s=Pa(t,e,r.memoize);if(s!==null)return s;if(n){var a=n(e,t);if(a===!1||a===!0)return Yn(e,t,r.memoize,a),a;var c=kl(e,t);if(c!==null)return c}var u=Sa(e);if(u!==Sa(t))return Yn(e,t,r.memoize,!1),!1;Yn(e,t,r.memoize,!0);var d=tm(e,t,u,r);return Yn(e,t,r.memoize,d),d}i(Aa,"extensiveDeepEqual");z(Aa,"extensiveDeepEqual");function tm(e,t,r,n){switch(r){case"String":case"Number":case"Boolean":case"Date":return Io(e.valueOf(),t.valueOf());case"Promise":case"Symbol":case"function":case"WeakMap":case"WeakSet":return e===t;case"Error":return Dl(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 Pr(e,t,n);case"RegExp":return rm(e,t);case"Generator":return nm(e,t,n);case"DataView":return Pr(new Uint8Array(e.buffer),new Uint8Array(t.buffer),n);case"ArrayBuffer":return Pr(new Uint8Array(e),new Uint8Array(t),n);case"Set":return Ra(e,t,n);case"Map":return Ra(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 im(e,t,n)}}i(tm,"extensiveDeepEqualByType");z(tm,"extensiveDeepEqualByType");function rm(e,t){return e.toString()===t.toString()}i(rm,"regexpEqual");z(rm,"regexpEqual");function Ra(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(z(i(function(a,c){n.push([a,c])},"gatherEntries"),"gatherEntries")),t.forEach(z(i(function(a,c){o.push([a,c])},"gatherEntries"),"gatherEntries")),Pr(n.sort(),o.sort(),r)}i(Ra,"entriesEqual");z(Ra,"entriesEqual");function Pr(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(Io(e[o],t[o],r)===!1)return!1;return!0}i(Pr,"iterableEqual");z(Pr,"iterableEqual");function nm(e,t,r){return Pr(Yi(e),Yi(t),r)}i(nm,"generatorEqual");z(nm,"generatorEqual");function om(e){return typeof Symbol<"u"&&typeof e=="object"&&typeof Symbol.iterator<"u"&&typeof e[Symbol.iterator]=="function"}i(om,"hasIteratorFunction");z(om,"hasIteratorFunction");function Oa(e){if(om(e))try{return Yi(e[Symbol.iterator]())}catch{return[]}return[]}i(Oa,"getIteratorEntries");z(Oa,"getIteratorEntries");function Yi(e){for(var t=e.next(),r=[t.value];t.done===!1;)t=e.next(),r.push(t.value);return r}i(Yi,"getGeneratorEntries");z(Yi,"getGeneratorEntries");function Ca(e){var t=[];for(var r in e)t.push(r);return t}i(Ca,"getEnumerableKeys");z(Ca,"getEnumerableKeys");function xa(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}i(xa,"getEnumerableSymbols");z(xa,"getEnumerableSymbols");function Dl(e,t,r,n){var o=r.length;if(o===0)return!0;for(var s=0;s<o;s+=1)if(Io(e[r[s]],t[r[s]],n)===!1)return!1;return!0}i(Dl,"keysEqual");z(Dl,"keysEqual");function im(e,t,r){var n=Ca(e),o=Ca(t),s=xa(e),a=xa(t);if(n=n.concat(s),o=o.concat(a),n.length&&n.length===o.length)return Pr(Na(n).sort(),Na(o).sort())===!1?!1:Dl(e,t,n,r);var c=Oa(e),u=Oa(t);return c.length&&c.length===u.length?(c.sort(),u.sort(),Pr(c,u,r)):n.length===0&&c.length===0&&o.length===0&&u.length===0}i(im,"objectEqual");z(im,"objectEqual");function zr(e){return e===null||typeof e!="object"}i(zr,"isPrimitive");z(zr,"isPrimitive");function Na(e){return e.map(z(i(function(r){return typeof r=="symbol"?r.toString():r},"mapSymbol"),"mapSymbol"))}i(Na,"mapSymbols");z(Na,"mapSymbols");function ws(e,t){return typeof e>"u"||e===null?!1:t in Object(e)}i(ws,"hasProperty");z(ws,"hasProperty");function sm(e){return e.replace(/([^\\])\[/g,"$1.[").match(/(\\\.|[^.]+?)+/g).map(n=>{if(n==="constructor"||n==="__proto__"||n==="prototype")return{};const s=/^\[(\d+)\]$/.exec(n);let a=null;return s?a={i:parseFloat(s[1])}:a={p:n.replace(/\\([.[\]])/g,"$1")},a})}i(sm,"parsePath");z(sm,"parsePath");function Ia(e,t,r){let n=e,o=null;r=typeof r>"u"?t.length:r;for(let s=0;s<r;s++){const a=t[s];n&&(typeof a.p>"u"?n=n[a.i]:n=n[a.p],s===r-1&&(o=n))}return o}i(Ia,"internalGetPathValue");z(Ia,"internalGetPathValue");function Ll(e,t){const r=sm(t),n=r[r.length-1],o={parent:r.length>1?Ia(e,r,r.length-1):e,name:n.p||n.i,value:Ia(e,r)};return o.exists=ws(o.parent,o.name),o}i(Ll,"getPathInfo");z(Ll,"getPathInfo");var hi,q=(hi=class{__flags={};constructor(e,t,r,n){return me(this,"ssfi",r||hi),me(this,"lockSsfi",n),me(this,"object",e),me(this,"message",t),me(this,"eql",gt.deepEqual||iS),Fn(this)}static get includeStack(){return console.warn("Assertion.includeStack is deprecated, use chai.config.includeStack instead."),gt.includeStack}static set includeStack(e){console.warn("Assertion.includeStack is deprecated, use chai.config.includeStack instead."),gt.includeStack=e}static get showDiff(){return console.warn("Assertion.showDiff is deprecated, use chai.config.showDiff instead."),gt.showDiff}static set showDiff(e){console.warn("Assertion.showDiff is deprecated, use chai.config.showDiff instead."),gt.showDiff=e}static addProperty(e,t){Fl(this.prototype,e,t)}static addMethod(e,t){$l(this.prototype,e,t)}static addChainableMethod(e,t,r){Ul(this.prototype,e,t,r)}static overwriteProperty(e,t){Bl(this.prototype,e,t)}static overwriteMethod(e,t){Jl(this.prototype,e,t)}static overwriteChainableMethod(e,t,r){Vl(this.prototype,e,t,r)}assert(e,t,r,n,o,s){const a=Il(this,arguments);if(s!==!1&&(s=!0),n===void 0&&o===void 0&&(s=!1),gt.showDiff!==!0&&(s=!1),!a){t=ql(this,arguments);const u={actual:Ts(this,arguments),expected:n,showDiff:s},d=Gl(this,arguments);throw d&&(u.operator=d),new Ae(t,u,gt.includeStack?this.assert:me(this,"ssfi"))}}get _obj(){return me(this,"object")}set _obj(e){me(this,"object",e)}},i(hi,"_Assertion"),z(hi,"Assertion"),hi);function Mo(){return gt.useProxy&&typeof Proxy<"u"&&typeof Reflect<"u"}i(Mo,"isProxyEnabled");z(Mo,"isProxyEnabled");function Fl(e,t,r){r=r===void 0?function(){}:r,Object.defineProperty(e,t,{get:z(i(function n(){!Mo()&&!me(this,"lockSsfi")&&me(this,"ssfi",n);let o=r.call(this);if(o!==void 0)return o;let s=new q;return $t(this,s),s},"propertyGetter"),"propertyGetter"),configurable:!0})}i(Fl,"addProperty");z(Fl,"addProperty");var D$=Object.getOwnPropertyDescriptor(function(){},"length");function qo(e,t,r){return D$.configurable&&Object.defineProperty(e,"length",{get:z(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}i(qo,"addLengthGuard");z(qo,"addLengthGuard");function am(e){let t=Object.getOwnPropertyNames(e);function r(o){t.indexOf(o)===-1&&t.push(o)}i(r,"addProperty2"),z(r,"addProperty");let n=Object.getPrototypeOf(e);for(;n!==null;)Object.getOwnPropertyNames(n).forEach(r),n=Object.getPrototypeOf(n);return t}i(am,"getProperties");z(am,"getProperties");var Lg=["__flags","__methods","_obj","assert"];function Fn(e,t){return Mo()?new Proxy(e,{get:z(i(function r(n,o){if(typeof o=="string"&&gt.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 s=null,a=4;throw am(n).forEach(function(c){if(!Object.prototype.hasOwnProperty(c)&&Lg.indexOf(c)===-1){let u=lm(o,c,a);u<a&&(s=c,a=u)}}),Error(s!==null?"Invalid Chai property: "+o+'. Did you mean "'+s+'"?':"Invalid Chai property: "+o)}return Lg.indexOf(o)===-1&&!me(n,"lockSsfi")&&me(n,"ssfi",r),Reflect.get(n,o)},"proxyGetter"),"proxyGetter")}):e}i(Fn,"proxify");z(Fn,"proxify");function lm(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 s=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]+(s===t.charCodeAt(a-1)?0:1))}}return n[e.length][t.length]}i(lm,"stringDistanceCapped");z(lm,"stringDistanceCapped");function $l(e,t,r){let n=z(function(){me(this,"lockSsfi")||me(this,"ssfi",n);let o=r.apply(this,arguments);if(o!==void 0)return o;let s=new q;return $t(this,s),s},"methodWrapper");qo(n,t,!1),e[t]=Fn(n,t)}i($l,"addMethod");z($l,"addMethod");function Bl(e,t,r){let n=Object.getOwnPropertyDescriptor(e,t),o=z(function(){},"_super");n&&typeof n.get=="function"&&(o=n.get),Object.defineProperty(e,t,{get:z(i(function s(){!Mo()&&!me(this,"lockSsfi")&&me(this,"ssfi",s);let a=me(this,"lockSsfi");me(this,"lockSsfi",!0);let c=r(o).call(this);if(me(this,"lockSsfi",a),c!==void 0)return c;let u=new q;return $t(this,u),u},"overwritingPropertyGetter"),"overwritingPropertyGetter"),configurable:!0})}i(Bl,"overwriteProperty");z(Bl,"overwriteProperty");function Jl(e,t,r){let n=e[t],o=z(function(){throw new Error(t+" is not a function")},"_super");n&&typeof n=="function"&&(o=n);let s=z(function(){me(this,"lockSsfi")||me(this,"ssfi",s);let a=me(this,"lockSsfi");me(this,"lockSsfi",!0);let c=r(o).apply(this,arguments);if(me(this,"lockSsfi",a),c!==void 0)return c;let u=new q;return $t(this,u),u},"overwritingMethodWrapper");qo(s,t,!1),e[t]=Fn(s,t)}i(Jl,"overwriteMethod");z(Jl,"overwriteMethod");var L$=typeof Object.setPrototypeOf=="function",Fg=z(function(){},"testFn"),F$=Object.getOwnPropertyNames(Fg).filter(function(e){let t=Object.getOwnPropertyDescriptor(Fg,e);return typeof t!="object"?!0:!t.configurable}),$$=Function.prototype.call,B$=Function.prototype.apply;function Ul(e,t,r,n){typeof n!="function"&&(n=z(function(){},"chainingBehavior"));let o={method:r,chainingBehavior:n};e.__methods||(e.__methods={}),e.__methods[t]=o,Object.defineProperty(e,t,{get:z(i(function(){o.chainingBehavior.call(this);let a=z(function(){me(this,"lockSsfi")||me(this,"ssfi",a);let c=o.method.apply(this,arguments);if(c!==void 0)return c;let u=new q;return $t(this,u),u},"chainableMethodWrapper");if(qo(a,t,!0),L$){let c=Object.create(this);c.call=$$,c.apply=B$,Object.setPrototypeOf(a,c)}else Object.getOwnPropertyNames(e).forEach(function(u){if(F$.indexOf(u)!==-1)return;let d=Object.getOwnPropertyDescriptor(e,u);Object.defineProperty(a,u,d)});return $t(this,a),Fn(a)},"chainableMethodGetter"),"chainableMethodGetter"),configurable:!0})}i(Ul,"addChainableMethod");z(Ul,"addChainableMethod");function Vl(e,t,r,n){let o=e.__methods[t],s=o.chainingBehavior;o.chainingBehavior=z(i(function(){let u=n(s).call(this);if(u!==void 0)return u;let d=new q;return $t(this,d),d},"overwritingChainableMethodGetter"),"overwritingChainableMethodGetter");let a=o.method;o.method=z(i(function(){let u=r(a).apply(this,arguments);if(u!==void 0)return u;let d=new q;return $t(this,d),d},"overwritingChainableMethodWrapper"),"overwritingChainableMethodWrapper")}i(Vl,"overwriteChainableMethod");z(Vl,"overwriteChainableMethod");function Xi(e,t){return we(e)<we(t)?-1:1}i(Xi,"compareByInspect");z(Xi,"compareByInspect");function Hl(e){return typeof Object.getOwnPropertySymbols!="function"?[]:Object.getOwnPropertySymbols(e).filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})}i(Hl,"getOwnEnumerablePropertySymbols");z(Hl,"getOwnEnumerablePropertySymbols");function zl(e){return Object.keys(e).concat(Hl(e))}i(zl,"getOwnEnumerableProperties");z(zl,"getOwnEnumerableProperties");var Ma=Number.isNaN;function cm(e){let t=xe(e);return["Array","Object","Function"].indexOf(t)!==-1}i(cm,"isObjectType");z(cm,"isObjectType");function Gl(e,t){let r=me(e,"operator"),n=me(e,"negate"),o=t[3],s=n?t[2]:t[1];if(r)return r;if(typeof s=="function"&&(s=s()),s=s||"",!s||/\shave\s/.test(s))return;let a=cm(o);return/\snot\s/.test(s)?a?"notDeepStrictEqual":"notStrictEqual":a?"deepStrictEqual":"strictEqual"}i(Gl,"getOperator");z(Gl,"getOperator");function _s(e){return e.name}i(_s,"getName");z(_s,"getName");function Qi(e){return Object.prototype.toString.call(e)==="[object RegExp]"}i(Qi,"isRegExp2");z(Qi,"isRegExp");function rt(e){return["Number","BigInt"].includes(xe(e))}i(rt,"isNumeric");z(rt,"isNumeric");var{flag:U}=tr;["to","be","been","is","and","has","have","with","that","which","at","of","same","but","does","still","also"].forEach(function(e){q.addProperty(e)});q.addProperty("not",function(){U(this,"negate",!0)});q.addProperty("deep",function(){U(this,"deep",!0)});q.addProperty("nested",function(){U(this,"nested",!0)});q.addProperty("own",function(){U(this,"own",!0)});q.addProperty("ordered",function(){U(this,"ordered",!0)});q.addProperty("any",function(){U(this,"any",!0),U(this,"all",!1)});q.addProperty("all",function(){U(this,"all",!0),U(this,"any",!1)});var $g={function:["function","asyncfunction","generatorfunction","asyncgeneratorfunction"],asyncfunction:["asyncfunction","asyncgeneratorfunction"],generatorfunction:["generatorfunction","asyncgeneratorfunction"],asyncgeneratorfunction:["asyncgeneratorfunction"]};function Wl(e,t){t&&U(this,"message",t),e=e.toLowerCase();let r=U(this,"object"),n=~["a","e","i","o","u"].indexOf(e.charAt(0))?"an ":"a ";const o=xe(r).toLowerCase();$g.function.includes(e)?this.assert($g[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)}i(Wl,"an");z(Wl,"an");q.addChainableMethod("an",Wl);q.addChainableMethod("a",Wl);function um(e,t){return Ma(e)&&Ma(t)||e===t}i(um,"SameValueZero");z(um,"SameValueZero");function jo(){U(this,"contains",!0)}i(jo,"includeChainingBehavior");z(jo,"includeChainingBehavior");function ko(e,t){t&&U(this,"message",t);let r=U(this,"object"),n=xe(r).toLowerCase(),o=U(this,"message"),s=U(this,"negate"),a=U(this,"ssfi"),c=U(this,"deep"),u=c?"deep ":"",d=c?U(this,"eql"):um;o=o?o+": ":"";let p=!1;switch(n){case"string":p=r.indexOf(e)!==-1;break;case"weakset":if(c)throw new Ae(o+"unable to use .deep.include with WeakSet",void 0,a);p=r.has(e);break;case"map":r.forEach(function(f){p=p||d(f,e)});break;case"set":c?r.forEach(function(f){p=p||d(f,e)}):p=r.has(e);break;case"array":c?p=r.some(function(f){return d(f,e)}):p=r.indexOf(e)!==-1;break;default:{if(e!==Object(e))throw new Ae(o+"the given combination of arguments ("+n+" and "+xe(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 "+xe(e).toLowerCase(),void 0,a);let f=Object.keys(e),h=null,y=0;if(f.forEach(function(g){let E=new q(r);if($t(this,E,!0),U(E,"lockSsfi",!0),!s||f.length===1){E.property(g,e[g]);return}try{E.property(g,e[g])}catch(T){if(!Pt.compatibleConstructor(T,Ae))throw T;h===null&&(h=T),y++}},this),s&&f.length>1&&y===f.length)throw h;return}}this.assert(p,"expected #{this} to "+u+"include "+we(e),"expected #{this} to not "+u+"include "+we(e))}i(ko,"include");z(ko,"include");q.addChainableMethod("include",ko,jo);q.addChainableMethod("contain",ko,jo);q.addChainableMethod("contains",ko,jo);q.addChainableMethod("includes",ko,jo);q.addProperty("ok",function(){this.assert(U(this,"object"),"expected #{this} to be truthy","expected #{this} to be falsy")});q.addProperty("true",function(){this.assert(U(this,"object")===!0,"expected #{this} to be true","expected #{this} to be false",!U(this,"negate"))});q.addProperty("numeric",function(){const e=U(this,"object");this.assert(["Number","BigInt"].includes(xe(e)),"expected #{this} to be numeric","expected #{this} to not be numeric",!U(this,"negate"))});q.addProperty("callable",function(){const e=U(this,"object"),t=U(this,"ssfi"),r=U(this,"message"),n=r?`${r}: `:"",o=U(this,"negate"),s=o?`${n}expected ${we(e)} not to be a callable function`:`${n}expected ${we(e)} to be a callable function`,a=["Function","AsyncFunction","GeneratorFunction","AsyncGeneratorFunction"].includes(xe(e));if(a&&o||!a&&!o)throw new Ae(s,void 0,t)});q.addProperty("false",function(){this.assert(U(this,"object")===!1,"expected #{this} to be false","expected #{this} to be true",!!U(this,"negate"))});q.addProperty("null",function(){this.assert(U(this,"object")===null,"expected #{this} to be null","expected #{this} not to be null")});q.addProperty("undefined",function(){this.assert(U(this,"object")===void 0,"expected #{this} to be undefined","expected #{this} not to be undefined")});q.addProperty("NaN",function(){this.assert(Ma(U(this,"object")),"expected #{this} to be NaN","expected #{this} not to be NaN")});function Kl(){let e=U(this,"object");this.assert(e!=null,"expected #{this} to exist","expected #{this} to not exist")}i(Kl,"assertExist");z(Kl,"assertExist");q.addProperty("exist",Kl);q.addProperty("exists",Kl);q.addProperty("empty",function(){let e=U(this,"object"),t=U(this,"ssfi"),r=U(this,"message"),n;switch(r=r?r+": ":"",xe(e).toLowerCase()){case"array":case"string":n=e.length;break;case"map":case"set":n=e.size;break;case"weakmap":case"weakset":throw new Ae(r+".empty was passed a weak collection",void 0,t);case"function":{const o=r+".empty was passed a function "+_s(e);throw new Ae(o.trim(),void 0,t)}default:if(e!==Object(e))throw new Ae(r+".empty was passed non-string primitive "+we(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 Yl(){let e=U(this,"object"),t=xe(e);this.assert(t==="Arguments","expected #{this} to be arguments but got "+t,"expected #{this} to not be arguments")}i(Yl,"checkArguments");z(Yl,"checkArguments");q.addProperty("arguments",Yl);q.addProperty("Arguments",Yl);function Ss(e,t){t&&U(this,"message",t);let r=U(this,"object");if(U(this,"deep")){let n=U(this,"lockSsfi");U(this,"lockSsfi",!0),this.eql(e),U(this,"lockSsfi",n)}else this.assert(e===r,"expected #{this} to equal #{exp}","expected #{this} to not equal #{exp}",e,this._obj,!0)}i(Ss,"assertEqual");z(Ss,"assertEqual");q.addMethod("equal",Ss);q.addMethod("equals",Ss);q.addMethod("eq",Ss);function Xl(e,t){t&&U(this,"message",t);let r=U(this,"eql");this.assert(r(e,U(this,"object")),"expected #{this} to deeply equal #{exp}","expected #{this} to not deeply equal #{exp}",e,this._obj,!0)}i(Xl,"assertEql");z(Xl,"assertEql");q.addMethod("eql",Xl);q.addMethod("eqls",Xl);function Ps(e,t){t&&U(this,"message",t);let r=U(this,"object"),n=U(this,"doLength"),o=U(this,"message"),s=o?o+": ":"",a=U(this,"ssfi"),c=xe(r).toLowerCase(),u=xe(e).toLowerCase();if(n&&c!=="map"&&c!=="set"&&new q(r,o,a,!0).to.have.property("length"),!n&&c==="date"&&u!=="date")throw new Ae(s+"the argument to above must be a date",void 0,a);if(!rt(e)&&(n||rt(r)))throw new Ae(s+"the argument to above must be a number",void 0,a);if(!n&&c!=="date"&&!rt(r)){let d=c==="string"?"'"+r+"'":r;throw new Ae(s+"expected "+d+" to be a number or a date",void 0,a)}if(n){let d="length",p;c==="map"||c==="set"?(d="size",p=r.size):p=r.length,this.assert(p>e,"expected #{this} to have a "+d+" above #{exp} but got #{act}","expected #{this} to not have a "+d+" above #{exp}",e,p)}else this.assert(r>e,"expected #{this} to be above #{exp}","expected #{this} to be at most #{exp}",e)}i(Ps,"assertAbove");z(Ps,"assertAbove");q.addMethod("above",Ps);q.addMethod("gt",Ps);q.addMethod("greaterThan",Ps);function As(e,t){t&&U(this,"message",t);let r=U(this,"object"),n=U(this,"doLength"),o=U(this,"message"),s=o?o+": ":"",a=U(this,"ssfi"),c=xe(r).toLowerCase(),u=xe(e).toLowerCase(),d,p=!0;if(n&&c!=="map"&&c!=="set"&&new q(r,o,a,!0).to.have.property("length"),!n&&c==="date"&&u!=="date")d=s+"the argument to least must be a date";else if(!rt(e)&&(n||rt(r)))d=s+"the argument to least must be a number";else if(!n&&c!=="date"&&!rt(r)){let f=c==="string"?"'"+r+"'":r;d=s+"expected "+f+" to be a number or a date"}else p=!1;if(p)throw new Ae(d,void 0,a);if(n){let f="length",h;c==="map"||c==="set"?(f="size",h=r.size):h=r.length,this.assert(h>=e,"expected #{this} to have a "+f+" at least #{exp} but got #{act}","expected #{this} to have a "+f+" below #{exp}",e,h)}else this.assert(r>=e,"expected #{this} to be at least #{exp}","expected #{this} to be below #{exp}",e)}i(As,"assertLeast");z(As,"assertLeast");q.addMethod("least",As);q.addMethod("gte",As);q.addMethod("greaterThanOrEqual",As);function Rs(e,t){t&&U(this,"message",t);let r=U(this,"object"),n=U(this,"doLength"),o=U(this,"message"),s=o?o+": ":"",a=U(this,"ssfi"),c=xe(r).toLowerCase(),u=xe(e).toLowerCase(),d,p=!0;if(n&&c!=="map"&&c!=="set"&&new q(r,o,a,!0).to.have.property("length"),!n&&c==="date"&&u!=="date")d=s+"the argument to below must be a date";else if(!rt(e)&&(n||rt(r)))d=s+"the argument to below must be a number";else if(!n&&c!=="date"&&!rt(r)){let f=c==="string"?"'"+r+"'":r;d=s+"expected "+f+" to be a number or a date"}else p=!1;if(p)throw new Ae(d,void 0,a);if(n){let f="length",h;c==="map"||c==="set"?(f="size",h=r.size):h=r.length,this.assert(h<e,"expected #{this} to have a "+f+" below #{exp} but got #{act}","expected #{this} to not have a "+f+" below #{exp}",e,h)}else this.assert(r<e,"expected #{this} to be below #{exp}","expected #{this} to be at least #{exp}",e)}i(Rs,"assertBelow");z(Rs,"assertBelow");q.addMethod("below",Rs);q.addMethod("lt",Rs);q.addMethod("lessThan",Rs);function Os(e,t){t&&U(this,"message",t);let r=U(this,"object"),n=U(this,"doLength"),o=U(this,"message"),s=o?o+": ":"",a=U(this,"ssfi"),c=xe(r).toLowerCase(),u=xe(e).toLowerCase(),d,p=!0;if(n&&c!=="map"&&c!=="set"&&new q(r,o,a,!0).to.have.property("length"),!n&&c==="date"&&u!=="date")d=s+"the argument to most must be a date";else if(!rt(e)&&(n||rt(r)))d=s+"the argument to most must be a number";else if(!n&&c!=="date"&&!rt(r)){let f=c==="string"?"'"+r+"'":r;d=s+"expected "+f+" to be a number or a date"}else p=!1;if(p)throw new Ae(d,void 0,a);if(n){let f="length",h;c==="map"||c==="set"?(f="size",h=r.size):h=r.length,this.assert(h<=e,"expected #{this} to have a "+f+" at most #{exp} but got #{act}","expected #{this} to have a "+f+" above #{exp}",e,h)}else this.assert(r<=e,"expected #{this} to be at most #{exp}","expected #{this} to be above #{exp}",e)}i(Os,"assertMost");z(Os,"assertMost");q.addMethod("most",Os);q.addMethod("lte",Os);q.addMethod("lessThanOrEqual",Os);q.addMethod("within",function(e,t,r){r&&U(this,"message",r);let n=U(this,"object"),o=U(this,"doLength"),s=U(this,"message"),a=s?s+": ":"",c=U(this,"ssfi"),u=xe(n).toLowerCase(),d=xe(e).toLowerCase(),p=xe(t).toLowerCase(),f,h=!0,y=d==="date"&&p==="date"?e.toISOString()+".."+t.toISOString():e+".."+t;if(o&&u!=="map"&&u!=="set"&&new q(n,s,c,!0).to.have.property("length"),!o&&u==="date"&&(d!=="date"||p!=="date"))f=a+"the arguments to within must be dates";else if((!rt(e)||!rt(t))&&(o||rt(n)))f=a+"the arguments to within must be numbers";else if(!o&&u!=="date"&&!rt(n)){let g=u==="string"?"'"+n+"'":n;f=a+"expected "+g+" to be a number or a date"}else h=!1;if(h)throw new Ae(f,void 0,c);if(o){let g="length",E;u==="map"||u==="set"?(g="size",E=n.size):E=n.length,this.assert(E>=e&&E<=t,"expected #{this} to have a "+g+" within "+y,"expected #{this} to not have a "+g+" within "+y)}else this.assert(n>=e&&n<=t,"expected #{this} to be within "+y,"expected #{this} to not be within "+y)});function Ql(e,t){t&&U(this,"message",t);let r=U(this,"object"),n=U(this,"ssfi"),o=U(this,"message"),s;try{s=r instanceof e}catch(c){throw c instanceof TypeError?(o=o?o+": ":"",new Ae(o+"The instanceof assertion needs a constructor but "+xe(e)+" was given.",void 0,n)):c}let a=_s(e);a==null&&(a="an unnamed constructor"),this.assert(s,"expected #{this} to be an instance of "+a,"expected #{this} to not be an instance of "+a)}i(Ql,"assertInstanceOf");z(Ql,"assertInstanceOf");q.addMethod("instanceof",Ql);q.addMethod("instanceOf",Ql);function Zl(e,t,r){r&&U(this,"message",r);let n=U(this,"nested"),o=U(this,"own"),s=U(this,"message"),a=U(this,"object"),c=U(this,"ssfi"),u=typeof e;if(s=s?s+": ":"",n){if(u!=="string")throw new Ae(s+"the argument to property must be a string when using nested syntax",void 0,c)}else if(u!=="string"&&u!=="number"&&u!=="symbol")throw new Ae(s+"the argument to property must be a string, number, or symbol",void 0,c);if(n&&o)throw new Ae(s+'The "nested" and "own" flags cannot be combined.',void 0,c);if(a==null)throw new Ae(s+"Target cannot be null or undefined.",void 0,c);let d=U(this,"deep"),p=U(this,"negate"),f=n?Ll(a,e):null,h=n?f.value:a[e],y=d?U(this,"eql"):(T,v)=>T===v,g="";d&&(g+="deep "),o&&(g+="own "),n&&(g+="nested "),g+="property ";let E;o?E=Object.prototype.hasOwnProperty.call(a,e):n?E=f.exists:E=ws(a,e),(!p||arguments.length===1)&&this.assert(E,"expected #{this} to have "+g+we(e),"expected #{this} to not have "+g+we(e)),arguments.length>1&&this.assert(E&&y(t,h),"expected #{this} to have "+g+we(e)+" of #{exp}, but got #{act}","expected #{this} to not have "+g+we(e)+" of #{act}",t,h),U(this,"object",h)}i(Zl,"assertProperty");z(Zl,"assertProperty");q.addMethod("property",Zl);function ec(e,t,r){U(this,"own",!0),Zl.apply(this,arguments)}i(ec,"assertOwnProperty");z(ec,"assertOwnProperty");q.addMethod("ownProperty",ec);q.addMethod("haveOwnProperty",ec);function tc(e,t,r){typeof t=="string"&&(r=t,t=null),r&&U(this,"message",r);let n=U(this,"object"),o=Object.getOwnPropertyDescriptor(Object(n),e),s=U(this,"eql");o&&t?this.assert(s(t,o),"expected the own property descriptor for "+we(e)+" on #{this} to match "+we(t)+", got "+we(o),"expected the own property descriptor for "+we(e)+" on #{this} to not match "+we(t),t,o,!0):this.assert(o,"expected #{this} to have an own property descriptor for "+we(e),"expected #{this} to not have an own property descriptor for "+we(e)),U(this,"object",o)}i(tc,"assertOwnPropertyDescriptor");z(tc,"assertOwnPropertyDescriptor");q.addMethod("ownPropertyDescriptor",tc);q.addMethod("haveOwnPropertyDescriptor",tc);function rc(){U(this,"doLength",!0)}i(rc,"assertLengthChain");z(rc,"assertLengthChain");function nc(e,t){t&&U(this,"message",t);let r=U(this,"object"),n=xe(r).toLowerCase(),o=U(this,"message"),s=U(this,"ssfi"),a="length",c;switch(n){case"map":case"set":a="size",c=r.size;break;default:new q(r,o,s,!0).to.have.property("length"),c=r.length}this.assert(c==e,"expected #{this} to have a "+a+" of #{exp} but got #{act}","expected #{this} to not have a "+a+" of #{act}",e,c)}i(nc,"assertLength");z(nc,"assertLength");q.addChainableMethod("length",nc,rc);q.addChainableMethod("lengthOf",nc,rc);function oc(e,t){t&&U(this,"message",t);let r=U(this,"object");this.assert(e.exec(r),"expected #{this} to match "+e,"expected #{this} not to match "+e)}i(oc,"assertMatch");z(oc,"assertMatch");q.addMethod("match",oc);q.addMethod("matches",oc);q.addMethod("string",function(e,t){t&&U(this,"message",t);let r=U(this,"object"),n=U(this,"message"),o=U(this,"ssfi");new q(r,n,o,!0).is.a("string"),this.assert(~r.indexOf(e),"expected #{this} to contain "+we(e),"expected #{this} to not contain "+we(e))});function ic(e){let t=U(this,"object"),r=xe(t),n=xe(e),o=U(this,"ssfi"),s=U(this,"deep"),a,c="",u,d=!0,p=U(this,"message");p=p?p+": ":"";let f=p+"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")c=s?"deeply ":"",u=[],t.forEach(function(v,_){u.push(_)}),n!=="Array"&&(e=Array.prototype.slice.call(arguments));else{switch(u=zl(t),n){case"Array":if(arguments.length>1)throw new Ae(f,void 0,o);break;case"Object":if(arguments.length>1)throw new Ae(f,void 0,o);e=Object.keys(e);break;default:e=Array.prototype.slice.call(arguments)}e=e.map(function(v){return typeof v=="symbol"?v:String(v)})}if(!e.length)throw new Ae(p+"keys required",void 0,o);let h=e.length,y=U(this,"any"),g=U(this,"all"),E=e,T=s?U(this,"eql"):(v,_)=>v===_;if(!y&&!g&&(g=!0),y&&(d=E.some(function(v){return u.some(function(_){return T(v,_)})})),g&&(d=E.every(function(v){return u.some(function(_){return T(v,_)})}),U(this,"contains")||(d=d&&e.length==u.length)),h>1){e=e.map(function(_){return we(_)});let v=e.pop();g&&(a=e.join(", ")+", and "+v),y&&(a=e.join(", ")+", or "+v)}else a=we(e[0]);a=(h>1?"keys ":"key ")+a,a=(U(this,"contains")?"contain ":"have ")+a,this.assert(d,"expected #{this} to "+c+a,"expected #{this} to not "+c+a,E.slice(0).sort(Xi),u.sort(Xi),!0)}i(ic,"assertKeys");z(ic,"assertKeys");q.addMethod("keys",ic);q.addMethod("key",ic);function Cs(e,t,r){r&&U(this,"message",r);let n=U(this,"object"),o=U(this,"ssfi"),s=U(this,"message"),a=U(this,"negate")||!1;new q(n,s,o,!0).is.a("function"),(Qi(e)||typeof e=="string")&&(t=e,e=null);let c,u=!1;try{n()}catch(y){u=!0,c=y}let d=e===void 0&&t===void 0,p=!!(e&&t),f=!1,h=!1;if(d||!d&&!a){let y="an error";e instanceof Error?y="#{exp}":e&&(y=Pt.getConstructorName(e));let g=c;if(c instanceof Error)g=c.toString();else if(typeof c=="string")g=c;else if(c&&(typeof c=="object"||typeof c=="function"))try{g=Pt.getConstructorName(c)}catch{}this.assert(u,"expected #{this} to throw "+y,"expected #{this} to not throw an error but #{act} was thrown",e&&e.toString(),g)}if(e&&c&&(e instanceof Error&&Pt.compatibleInstance(c,e)===a&&(p&&a?f=!0:this.assert(a,"expected #{this} to throw #{exp} but #{act} was thrown","expected #{this} to not throw #{exp}"+(c&&!a?" but #{act} was thrown":""),e.toString(),c.toString())),Pt.compatibleConstructor(c,e)===a&&(p&&a?f=!0:this.assert(a,"expected #{this} to throw #{exp} but #{act} was thrown","expected #{this} to not throw #{exp}"+(c?" but #{act} was thrown":""),e instanceof Error?e.toString():e&&Pt.getConstructorName(e),c instanceof Error?c.toString():c&&Pt.getConstructorName(c)))),c&&t!==void 0&&t!==null){let y="including";Qi(t)&&(y="matching"),Pt.compatibleMessage(c,t)===a&&(p&&a?h=!0:this.assert(a,"expected #{this} to throw error "+y+" #{exp} but got #{act}","expected #{this} to throw error not "+y+" #{exp}",t,Pt.getMessage(c)))}f&&h&&this.assert(a,"expected #{this} to throw #{exp} but #{act} was thrown","expected #{this} to not throw #{exp}"+(c?" but #{act} was thrown":""),e instanceof Error?e.toString():e&&Pt.getConstructorName(e),c instanceof Error?c.toString():c&&Pt.getConstructorName(c)),U(this,"object",c)}i(Cs,"assertThrows");z(Cs,"assertThrows");q.addMethod("throw",Cs);q.addMethod("throws",Cs);q.addMethod("Throw",Cs);function sc(e,t){t&&U(this,"message",t);let r=U(this,"object"),n=U(this,"itself"),o=typeof r=="function"&&!n?r.prototype[e]:r[e];this.assert(typeof o=="function","expected #{this} to respond to "+we(e),"expected #{this} to not respond to "+we(e))}i(sc,"respondTo");z(sc,"respondTo");q.addMethod("respondTo",sc);q.addMethod("respondsTo",sc);q.addProperty("itself",function(){U(this,"itself",!0)});function ac(e,t){t&&U(this,"message",t);let r=U(this,"object"),n=e(r);this.assert(n,"expected #{this} to satisfy "+Fr(e),"expected #{this} to not satisfy"+Fr(e),!U(this,"negate"),n)}i(ac,"satisfy");z(ac,"satisfy");q.addMethod("satisfy",ac);q.addMethod("satisfies",ac);function lc(e,t,r){r&&U(this,"message",r);let n=U(this,"object"),o=U(this,"message"),s=U(this,"ssfi");new q(n,o,s,!0).is.numeric;let a="A `delta` value is required for `closeTo`";if(t==null)throw new Ae(o?`${o}: ${a}`:a,void 0,s);if(new q(t,o,s,!0).is.numeric,a="A `expected` value is required for `closeTo`",e==null)throw new Ae(o?`${o}: ${a}`:a,void 0,s);new q(e,o,s,!0).is.numeric;const c=z(d=>d<0n?-d:d,"abs"),u=z(d=>parseFloat(parseFloat(d).toPrecision(12)),"strip");this.assert(u(c(n-e))<=t,"expected #{this} to be close to "+e+" +/- "+t,"expected #{this} not to be close to "+e+" +/- "+t)}i(lc,"closeTo");z(lc,"closeTo");q.addMethod("closeTo",lc);q.addMethod("approximately",lc);function dm(e,t,r,n,o){let s=Array.from(t),a=Array.from(e);if(!n){if(a.length!==s.length)return!1;s=s.slice()}return a.every(function(c,u){if(o)return r?r(c,s[u]):c===s[u];if(!r){let d=s.indexOf(c);return d===-1?!1:(n||s.splice(d,1),!0)}return s.some(function(d,p){return r(c,d)?(n||s.splice(p,1),!0):!1})})}i(dm,"isSubsetOf");z(dm,"isSubsetOf");q.addMethod("members",function(e,t){t&&U(this,"message",t);let r=U(this,"object"),n=U(this,"message"),o=U(this,"ssfi");new q(r,n,o,!0).to.be.iterable,new q(e,n,o,!0).to.be.iterable;let s=U(this,"contains"),a=U(this,"ordered"),c,u,d;s?(c=a?"an ordered superset":"a superset",u="expected #{this} to be "+c+" of #{exp}",d="expected #{this} to not be "+c+" of #{exp}"):(c=a?"ordered members":"members",u="expected #{this} to have the same "+c+" as #{exp}",d="expected #{this} to not have the same "+c+" as #{exp}");let p=U(this,"deep")?U(this,"eql"):void 0;this.assert(dm(e,r,p,s,a),u,d,e,r,!0)});q.addProperty("iterable",function(e){e&&U(this,"message",e);let t=U(this,"object");this.assert(t!=null&&t[Symbol.iterator],"expected #{this} to be an iterable","expected #{this} to not be an iterable",t)});function pm(e,t){t&&U(this,"message",t);let r=U(this,"object"),n=U(this,"message"),o=U(this,"ssfi"),s=U(this,"contains"),a=U(this,"deep"),c=U(this,"eql");new q(e,n,o,!0).to.be.an("array"),s?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 c(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)}i(pm,"oneOf");z(pm,"oneOf");q.addMethod("oneOf",pm);function cc(e,t,r){r&&U(this,"message",r);let n=U(this,"object"),o=U(this,"message"),s=U(this,"ssfi");new q(n,o,s,!0).is.a("function");let a;t?(new q(e,o,s,!0).to.have.property(t),a=e[t]):(new q(e,o,s,!0).is.a("function"),a=e()),n();let c=t==null?e():e[t],u=t==null?a:"."+t;U(this,"deltaMsgObj",u),U(this,"initialDeltaValue",a),U(this,"finalDeltaValue",c),U(this,"deltaBehavior","change"),U(this,"realDelta",c!==a),this.assert(a!==c,"expected "+u+" to change","expected "+u+" to not change")}i(cc,"assertChanges");z(cc,"assertChanges");q.addMethod("change",cc);q.addMethod("changes",cc);function uc(e,t,r){r&&U(this,"message",r);let n=U(this,"object"),o=U(this,"message"),s=U(this,"ssfi");new q(n,o,s,!0).is.a("function");let a;t?(new q(e,o,s,!0).to.have.property(t),a=e[t]):(new q(e,o,s,!0).is.a("function"),a=e()),new q(a,o,s,!0).is.a("number"),n();let c=t==null?e():e[t],u=t==null?a:"."+t;U(this,"deltaMsgObj",u),U(this,"initialDeltaValue",a),U(this,"finalDeltaValue",c),U(this,"deltaBehavior","increase"),U(this,"realDelta",c-a),this.assert(c-a>0,"expected "+u+" to increase","expected "+u+" to not increase")}i(uc,"assertIncreases");z(uc,"assertIncreases");q.addMethod("increase",uc);q.addMethod("increases",uc);function dc(e,t,r){r&&U(this,"message",r);let n=U(this,"object"),o=U(this,"message"),s=U(this,"ssfi");new q(n,o,s,!0).is.a("function");let a;t?(new q(e,o,s,!0).to.have.property(t),a=e[t]):(new q(e,o,s,!0).is.a("function"),a=e()),new q(a,o,s,!0).is.a("number"),n();let c=t==null?e():e[t],u=t==null?a:"."+t;U(this,"deltaMsgObj",u),U(this,"initialDeltaValue",a),U(this,"finalDeltaValue",c),U(this,"deltaBehavior","decrease"),U(this,"realDelta",a-c),this.assert(c-a<0,"expected "+u+" to decrease","expected "+u+" to not decrease")}i(dc,"assertDecreases");z(dc,"assertDecreases");q.addMethod("decrease",dc);q.addMethod("decreases",dc);function fm(e,t){t&&U(this,"message",t);let r=U(this,"deltaMsgObj"),n=U(this,"initialDeltaValue"),o=U(this,"finalDeltaValue"),s=U(this,"deltaBehavior"),a=U(this,"realDelta"),c;s==="change"?c=Math.abs(o-n)===Math.abs(e):c=a===Math.abs(e),this.assert(c,"expected "+r+" to "+s+" by "+e,"expected "+r+" to not "+s+" by "+e)}i(fm,"assertDelta");z(fm,"assertDelta");q.addMethod("by",fm);q.addProperty("extensible",function(){let e=U(this,"object"),t=e===Object(e)&&Object.isExtensible(e);this.assert(t,"expected #{this} to be extensible","expected #{this} to not be extensible")});q.addProperty("sealed",function(){let e=U(this,"object"),t=e===Object(e)?Object.isSealed(e):!0;this.assert(t,"expected #{this} to be sealed","expected #{this} to not be sealed")});q.addProperty("frozen",function(){let e=U(this,"object"),t=e===Object(e)?Object.isFrozen(e):!0;this.assert(t,"expected #{this} to be frozen","expected #{this} to not be frozen")});q.addProperty("finite",function(e){let t=U(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 Zi(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 Zi(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?Zi(n,o):typeof n=="function"?n(o):o===n}):!1}i(Zi,"compareSubset");z(Zi,"compareSubset");q.addMethod("containSubset",function(e){const t=me(this,"object"),r=gt.showDiff;this.assert(Zi(e,t),"expected #{act} to contain subset #{exp}","expected #{act} to not contain subset #{exp}",e,t,r)});function $r(e,t){return new q(e,t)}i($r,"expect");z($r,"expect");$r.fail=function(e,t,r,n){throw arguments.length<2&&(r=e,e=void 0),r=r||"expect.fail()",new Ae(r,{actual:e,expected:t,operator:n},$r.fail)};var sS={};Cf(sS,{Should:i(()=>U$,"Should"),should:i(()=>J$,"should")});function pc(){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 q(this.valueOf(),null,e):new q(this,null,e)}i(e,"shouldGetter"),z(e,"shouldGetter");function t(n){Object.defineProperty(this,"should",{value:n,enumerable:!0,configurable:!0,writable:!0})}i(t,"shouldSetter"),z(t,"shouldSetter"),Object.defineProperty(Object.prototype,"should",{set:t,get:e,configurable:!0});let r={};return r.fail=function(n,o,s,a){throw arguments.length<2&&(s=n,n=void 0),s=s||"should.fail()",new Ae(s,{actual:n,expected:o,operator:a},r.fail)},r.equal=function(n,o,s){new q(n,s).to.equal(o)},r.Throw=function(n,o,s,a){new q(n,a).to.Throw(o,s)},r.exist=function(n,o){new q(n,o).to.exist},r.not={},r.not.equal=function(n,o,s){new q(n,s).to.not.equal(o)},r.not.Throw=function(n,o,s,a){new q(n,a).to.not.Throw(o,s)},r.not.exist=function(n,o){new q(n,o).to.not.exist},r.throw=r.Throw,r.not.throw=r.not.Throw,r}i(pc,"loadShould");z(pc,"loadShould");var J$=pc,U$=pc;function M(e,t){new q(null,null,M,!0).assert(e,t,"[ negation message unavailable ]")}i(M,"assert");z(M,"assert");M.fail=function(e,t,r,n){throw arguments.length<2&&(r=e,e=void 0),r=r||"assert.fail()",new Ae(r,{actual:e,expected:t,operator:n},M.fail)};M.isOk=function(e,t){new q(e,t,M.isOk,!0).is.ok};M.isNotOk=function(e,t){new q(e,t,M.isNotOk,!0).is.not.ok};M.equal=function(e,t,r){let n=new q(e,r,M.equal,!0);n.assert(t==me(n,"object"),"expected #{this} to equal #{exp}","expected #{this} to not equal #{act}",t,e,!0)};M.notEqual=function(e,t,r){let n=new q(e,r,M.notEqual,!0);n.assert(t!=me(n,"object"),"expected #{this} to not equal #{exp}","expected #{this} to equal #{act}",t,e,!0)};M.strictEqual=function(e,t,r){new q(e,r,M.strictEqual,!0).to.equal(t)};M.notStrictEqual=function(e,t,r){new q(e,r,M.notStrictEqual,!0).to.not.equal(t)};M.deepEqual=M.deepStrictEqual=function(e,t,r){new q(e,r,M.deepEqual,!0).to.eql(t)};M.notDeepEqual=function(e,t,r){new q(e,r,M.notDeepEqual,!0).to.not.eql(t)};M.isAbove=function(e,t,r){new q(e,r,M.isAbove,!0).to.be.above(t)};M.isAtLeast=function(e,t,r){new q(e,r,M.isAtLeast,!0).to.be.least(t)};M.isBelow=function(e,t,r){new q(e,r,M.isBelow,!0).to.be.below(t)};M.isAtMost=function(e,t,r){new q(e,r,M.isAtMost,!0).to.be.most(t)};M.isTrue=function(e,t){new q(e,t,M.isTrue,!0).is.true};M.isNotTrue=function(e,t){new q(e,t,M.isNotTrue,!0).to.not.equal(!0)};M.isFalse=function(e,t){new q(e,t,M.isFalse,!0).is.false};M.isNotFalse=function(e,t){new q(e,t,M.isNotFalse,!0).to.not.equal(!1)};M.isNull=function(e,t){new q(e,t,M.isNull,!0).to.equal(null)};M.isNotNull=function(e,t){new q(e,t,M.isNotNull,!0).to.not.equal(null)};M.isNaN=function(e,t){new q(e,t,M.isNaN,!0).to.be.NaN};M.isNotNaN=function(e,t){new q(e,t,M.isNotNaN,!0).not.to.be.NaN};M.exists=function(e,t){new q(e,t,M.exists,!0).to.exist};M.notExists=function(e,t){new q(e,t,M.notExists,!0).to.not.exist};M.isUndefined=function(e,t){new q(e,t,M.isUndefined,!0).to.equal(void 0)};M.isDefined=function(e,t){new q(e,t,M.isDefined,!0).to.not.equal(void 0)};M.isCallable=function(e,t){new q(e,t,M.isCallable,!0).is.callable};M.isNotCallable=function(e,t){new q(e,t,M.isNotCallable,!0).is.not.callable};M.isObject=function(e,t){new q(e,t,M.isObject,!0).to.be.a("object")};M.isNotObject=function(e,t){new q(e,t,M.isNotObject,!0).to.not.be.a("object")};M.isArray=function(e,t){new q(e,t,M.isArray,!0).to.be.an("array")};M.isNotArray=function(e,t){new q(e,t,M.isNotArray,!0).to.not.be.an("array")};M.isString=function(e,t){new q(e,t,M.isString,!0).to.be.a("string")};M.isNotString=function(e,t){new q(e,t,M.isNotString,!0).to.not.be.a("string")};M.isNumber=function(e,t){new q(e,t,M.isNumber,!0).to.be.a("number")};M.isNotNumber=function(e,t){new q(e,t,M.isNotNumber,!0).to.not.be.a("number")};M.isNumeric=function(e,t){new q(e,t,M.isNumeric,!0).is.numeric};M.isNotNumeric=function(e,t){new q(e,t,M.isNotNumeric,!0).is.not.numeric};M.isFinite=function(e,t){new q(e,t,M.isFinite,!0).to.be.finite};M.isBoolean=function(e,t){new q(e,t,M.isBoolean,!0).to.be.a("boolean")};M.isNotBoolean=function(e,t){new q(e,t,M.isNotBoolean,!0).to.not.be.a("boolean")};M.typeOf=function(e,t,r){new q(e,r,M.typeOf,!0).to.be.a(t)};M.notTypeOf=function(e,t,r){new q(e,r,M.notTypeOf,!0).to.not.be.a(t)};M.instanceOf=function(e,t,r){new q(e,r,M.instanceOf,!0).to.be.instanceOf(t)};M.notInstanceOf=function(e,t,r){new q(e,r,M.notInstanceOf,!0).to.not.be.instanceOf(t)};M.include=function(e,t,r){new q(e,r,M.include,!0).include(t)};M.notInclude=function(e,t,r){new q(e,r,M.notInclude,!0).not.include(t)};M.deepInclude=function(e,t,r){new q(e,r,M.deepInclude,!0).deep.include(t)};M.notDeepInclude=function(e,t,r){new q(e,r,M.notDeepInclude,!0).not.deep.include(t)};M.nestedInclude=function(e,t,r){new q(e,r,M.nestedInclude,!0).nested.include(t)};M.notNestedInclude=function(e,t,r){new q(e,r,M.notNestedInclude,!0).not.nested.include(t)};M.deepNestedInclude=function(e,t,r){new q(e,r,M.deepNestedInclude,!0).deep.nested.include(t)};M.notDeepNestedInclude=function(e,t,r){new q(e,r,M.notDeepNestedInclude,!0).not.deep.nested.include(t)};M.ownInclude=function(e,t,r){new q(e,r,M.ownInclude,!0).own.include(t)};M.notOwnInclude=function(e,t,r){new q(e,r,M.notOwnInclude,!0).not.own.include(t)};M.deepOwnInclude=function(e,t,r){new q(e,r,M.deepOwnInclude,!0).deep.own.include(t)};M.notDeepOwnInclude=function(e,t,r){new q(e,r,M.notDeepOwnInclude,!0).not.deep.own.include(t)};M.match=function(e,t,r){new q(e,r,M.match,!0).to.match(t)};M.notMatch=function(e,t,r){new q(e,r,M.notMatch,!0).to.not.match(t)};M.property=function(e,t,r){new q(e,r,M.property,!0).to.have.property(t)};M.notProperty=function(e,t,r){new q(e,r,M.notProperty,!0).to.not.have.property(t)};M.propertyVal=function(e,t,r,n){new q(e,n,M.propertyVal,!0).to.have.property(t,r)};M.notPropertyVal=function(e,t,r,n){new q(e,n,M.notPropertyVal,!0).to.not.have.property(t,r)};M.deepPropertyVal=function(e,t,r,n){new q(e,n,M.deepPropertyVal,!0).to.have.deep.property(t,r)};M.notDeepPropertyVal=function(e,t,r,n){new q(e,n,M.notDeepPropertyVal,!0).to.not.have.deep.property(t,r)};M.ownProperty=function(e,t,r){new q(e,r,M.ownProperty,!0).to.have.own.property(t)};M.notOwnProperty=function(e,t,r){new q(e,r,M.notOwnProperty,!0).to.not.have.own.property(t)};M.ownPropertyVal=function(e,t,r,n){new q(e,n,M.ownPropertyVal,!0).to.have.own.property(t,r)};M.notOwnPropertyVal=function(e,t,r,n){new q(e,n,M.notOwnPropertyVal,!0).to.not.have.own.property(t,r)};M.deepOwnPropertyVal=function(e,t,r,n){new q(e,n,M.deepOwnPropertyVal,!0).to.have.deep.own.property(t,r)};M.notDeepOwnPropertyVal=function(e,t,r,n){new q(e,n,M.notDeepOwnPropertyVal,!0).to.not.have.deep.own.property(t,r)};M.nestedProperty=function(e,t,r){new q(e,r,M.nestedProperty,!0).to.have.nested.property(t)};M.notNestedProperty=function(e,t,r){new q(e,r,M.notNestedProperty,!0).to.not.have.nested.property(t)};M.nestedPropertyVal=function(e,t,r,n){new q(e,n,M.nestedPropertyVal,!0).to.have.nested.property(t,r)};M.notNestedPropertyVal=function(e,t,r,n){new q(e,n,M.notNestedPropertyVal,!0).to.not.have.nested.property(t,r)};M.deepNestedPropertyVal=function(e,t,r,n){new q(e,n,M.deepNestedPropertyVal,!0).to.have.deep.nested.property(t,r)};M.notDeepNestedPropertyVal=function(e,t,r,n){new q(e,n,M.notDeepNestedPropertyVal,!0).to.not.have.deep.nested.property(t,r)};M.lengthOf=function(e,t,r){new q(e,r,M.lengthOf,!0).to.have.lengthOf(t)};M.hasAnyKeys=function(e,t,r){new q(e,r,M.hasAnyKeys,!0).to.have.any.keys(t)};M.hasAllKeys=function(e,t,r){new q(e,r,M.hasAllKeys,!0).to.have.all.keys(t)};M.containsAllKeys=function(e,t,r){new q(e,r,M.containsAllKeys,!0).to.contain.all.keys(t)};M.doesNotHaveAnyKeys=function(e,t,r){new q(e,r,M.doesNotHaveAnyKeys,!0).to.not.have.any.keys(t)};M.doesNotHaveAllKeys=function(e,t,r){new q(e,r,M.doesNotHaveAllKeys,!0).to.not.have.all.keys(t)};M.hasAnyDeepKeys=function(e,t,r){new q(e,r,M.hasAnyDeepKeys,!0).to.have.any.deep.keys(t)};M.hasAllDeepKeys=function(e,t,r){new q(e,r,M.hasAllDeepKeys,!0).to.have.all.deep.keys(t)};M.containsAllDeepKeys=function(e,t,r){new q(e,r,M.containsAllDeepKeys,!0).to.contain.all.deep.keys(t)};M.doesNotHaveAnyDeepKeys=function(e,t,r){new q(e,r,M.doesNotHaveAnyDeepKeys,!0).to.not.have.any.deep.keys(t)};M.doesNotHaveAllDeepKeys=function(e,t,r){new q(e,r,M.doesNotHaveAllDeepKeys,!0).to.not.have.all.deep.keys(t)};M.throws=function(e,t,r,n){(typeof t=="string"||t instanceof RegExp)&&(r=t,t=null);let o=new q(e,n,M.throws,!0).to.throw(t,r);return me(o,"object")};M.doesNotThrow=function(e,t,r,n){(typeof t=="string"||t instanceof RegExp)&&(r=t,t=null),new q(e,n,M.doesNotThrow,!0).to.not.throw(t,r)};M.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 Ae(n+'Invalid operator "'+t+'"',void 0,M.operator)}let s=new q(o,n,M.operator,!0);s.assert(me(s,"object")===!0,"expected "+we(e)+" to be "+t+" "+we(r),"expected "+we(e)+" to not be "+t+" "+we(r))};M.closeTo=function(e,t,r,n){new q(e,n,M.closeTo,!0).to.be.closeTo(t,r)};M.approximately=function(e,t,r,n){new q(e,n,M.approximately,!0).to.be.approximately(t,r)};M.sameMembers=function(e,t,r){new q(e,r,M.sameMembers,!0).to.have.same.members(t)};M.notSameMembers=function(e,t,r){new q(e,r,M.notSameMembers,!0).to.not.have.same.members(t)};M.sameDeepMembers=function(e,t,r){new q(e,r,M.sameDeepMembers,!0).to.have.same.deep.members(t)};M.notSameDeepMembers=function(e,t,r){new q(e,r,M.notSameDeepMembers,!0).to.not.have.same.deep.members(t)};M.sameOrderedMembers=function(e,t,r){new q(e,r,M.sameOrderedMembers,!0).to.have.same.ordered.members(t)};M.notSameOrderedMembers=function(e,t,r){new q(e,r,M.notSameOrderedMembers,!0).to.not.have.same.ordered.members(t)};M.sameDeepOrderedMembers=function(e,t,r){new q(e,r,M.sameDeepOrderedMembers,!0).to.have.same.deep.ordered.members(t)};M.notSameDeepOrderedMembers=function(e,t,r){new q(e,r,M.notSameDeepOrderedMembers,!0).to.not.have.same.deep.ordered.members(t)};M.includeMembers=function(e,t,r){new q(e,r,M.includeMembers,!0).to.include.members(t)};M.notIncludeMembers=function(e,t,r){new q(e,r,M.notIncludeMembers,!0).to.not.include.members(t)};M.includeDeepMembers=function(e,t,r){new q(e,r,M.includeDeepMembers,!0).to.include.deep.members(t)};M.notIncludeDeepMembers=function(e,t,r){new q(e,r,M.notIncludeDeepMembers,!0).to.not.include.deep.members(t)};M.includeOrderedMembers=function(e,t,r){new q(e,r,M.includeOrderedMembers,!0).to.include.ordered.members(t)};M.notIncludeOrderedMembers=function(e,t,r){new q(e,r,M.notIncludeOrderedMembers,!0).to.not.include.ordered.members(t)};M.includeDeepOrderedMembers=function(e,t,r){new q(e,r,M.includeDeepOrderedMembers,!0).to.include.deep.ordered.members(t)};M.notIncludeDeepOrderedMembers=function(e,t,r){new q(e,r,M.notIncludeDeepOrderedMembers,!0).to.not.include.deep.ordered.members(t)};M.oneOf=function(e,t,r){new q(e,r,M.oneOf,!0).to.be.oneOf(t)};M.isIterable=function(e,t){if(e==null||!e[Symbol.iterator])throw t=t?`${t} expected ${we(e)} to be an iterable`:`expected ${we(e)} to be an iterable`,new Ae(t,void 0,M.isIterable)};M.changes=function(e,t,r,n){arguments.length===3&&typeof t=="function"&&(n=r,r=null),new q(e,n,M.changes,!0).to.change(t,r)};M.changesBy=function(e,t,r,n,o){if(arguments.length===4&&typeof t=="function"){let s=n;n=r,o=s}else arguments.length===3&&(n=r,r=null);new q(e,o,M.changesBy,!0).to.change(t,r).by(n)};M.doesNotChange=function(e,t,r,n){return arguments.length===3&&typeof t=="function"&&(n=r,r=null),new q(e,n,M.doesNotChange,!0).to.not.change(t,r)};M.changesButNotBy=function(e,t,r,n,o){if(arguments.length===4&&typeof t=="function"){let s=n;n=r,o=s}else arguments.length===3&&(n=r,r=null);new q(e,o,M.changesButNotBy,!0).to.change(t,r).but.not.by(n)};M.increases=function(e,t,r,n){return arguments.length===3&&typeof t=="function"&&(n=r,r=null),new q(e,n,M.increases,!0).to.increase(t,r)};M.increasesBy=function(e,t,r,n,o){if(arguments.length===4&&typeof t=="function"){let s=n;n=r,o=s}else arguments.length===3&&(n=r,r=null);new q(e,o,M.increasesBy,!0).to.increase(t,r).by(n)};M.doesNotIncrease=function(e,t,r,n){return arguments.length===3&&typeof t=="function"&&(n=r,r=null),new q(e,n,M.doesNotIncrease,!0).to.not.increase(t,r)};M.increasesButNotBy=function(e,t,r,n,o){if(arguments.length===4&&typeof t=="function"){let s=n;n=r,o=s}else arguments.length===3&&(n=r,r=null);new q(e,o,M.increasesButNotBy,!0).to.increase(t,r).but.not.by(n)};M.decreases=function(e,t,r,n){return arguments.length===3&&typeof t=="function"&&(n=r,r=null),new q(e,n,M.decreases,!0).to.decrease(t,r)};M.decreasesBy=function(e,t,r,n,o){if(arguments.length===4&&typeof t=="function"){let s=n;n=r,o=s}else arguments.length===3&&(n=r,r=null);new q(e,o,M.decreasesBy,!0).to.decrease(t,r).by(n)};M.doesNotDecrease=function(e,t,r,n){return arguments.length===3&&typeof t=="function"&&(n=r,r=null),new q(e,n,M.doesNotDecrease,!0).to.not.decrease(t,r)};M.doesNotDecreaseBy=function(e,t,r,n,o){if(arguments.length===4&&typeof t=="function"){let s=n;n=r,o=s}else arguments.length===3&&(n=r,r=null);return new q(e,o,M.doesNotDecreaseBy,!0).to.not.decrease(t,r).by(n)};M.decreasesButNotBy=function(e,t,r,n,o){if(arguments.length===4&&typeof t=="function"){let s=n;n=r,o=s}else arguments.length===3&&(n=r,r=null);new q(e,o,M.decreasesButNotBy,!0).to.decrease(t,r).but.not.by(n)};M.ifError=function(e){if(e)throw e};M.isExtensible=function(e,t){new q(e,t,M.isExtensible,!0).to.be.extensible};M.isNotExtensible=function(e,t){new q(e,t,M.isNotExtensible,!0).to.not.be.extensible};M.isSealed=function(e,t){new q(e,t,M.isSealed,!0).to.be.sealed};M.isNotSealed=function(e,t){new q(e,t,M.isNotSealed,!0).to.not.be.sealed};M.isFrozen=function(e,t){new q(e,t,M.isFrozen,!0).to.be.frozen};M.isNotFrozen=function(e,t){new q(e,t,M.isNotFrozen,!0).to.not.be.frozen};M.isEmpty=function(e,t){new q(e,t,M.isEmpty,!0).to.be.empty};M.isNotEmpty=function(e,t){new q(e,t,M.isNotEmpty,!0).to.not.be.empty};M.containsSubset=function(e,t,r){new q(e,r).to.containSubset(t)};M.doesNotContainSubset=function(e,t,r){new q(e,r).to.not.containSubset(t)};var V$=[["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 V$)M[t]=M[e];var Bg=[];function yn(e){const t={use:yn,AssertionError:Ae,util:tr,config:gt,expect:$r,assert:M,Assertion:q,...sS};return~Bg.indexOf(e)||(e(t,tr),Bg.push(e)),t}i(yn,"use");z(yn,"use");var aS={};Tt(aS,{toBeChecked:()=>Wm,toBeDisabled:()=>$m,toBeEmpty:()=>Pm,toBeEmptyDOMElement:()=>Am,toBeEnabled:()=>Bm,toBeInTheDOM:()=>ja,toBeInTheDocument:()=>Sm,toBeInvalid:()=>Vm,toBePartiallyChecked:()=>Ym,toBePartiallyPressed:()=>th,toBePressed:()=>eh,toBeRequired:()=>Jm,toBeValid:()=>Hm,toBeVisible:()=>jm,toContainElement:()=>ka,toContainHTML:()=>Rm,toHaveAccessibleDescription:()=>Da,toHaveAccessibleErrorMessage:()=>Cm,toHaveAccessibleName:()=>Fa,toHaveAttribute:()=>xm,toHaveClass:()=>Nm,toHaveDescription:()=>Xm,toHaveDisplayValue:()=>Gm,toHaveErrorMessage:()=>Qm,toHaveFocus:()=>Im,toHaveFormValues:()=>Mm,toHaveRole:()=>La,toHaveSelection:()=>Zm,toHaveStyle:()=>$a,toHaveTextContent:()=>Om,toHaveValue:()=>zm});var Jg=Ge(cv(),1),lS=class extends Error{reason;filename;line;column;source;constructor(t,r,n,o,s){super(`${t}:${n}:${o}: ${r}`),this.reason=r,this.filename=t,this.line=n,this.column=o,this.source=s}};i(lS,"t");var H$=lS,cS=class{start;end;source;constructor(t,r,n){this.start=t,this.end=r,this.source=n}};i(cS,"e");var z$=cS,Ze;(function(e){e.stylesheet="stylesheet",e.rule="rule",e.declaration="declaration",e.comment="comment",e.container="container",e.charset="charset",e.document="document",e.customMedia="custom-media",e.fontFace="font-face",e.host="host",e.import="import",e.keyframes="keyframes",e.keyframe="keyframe",e.layer="layer",e.media="media",e.namespace="namespace",e.page="page",e.startingStyle="starting-style",e.supports="supports"})(Ze||(Ze={}));var Ug=i((e,t,r)=>{let n=r,o=1e4;do{const s=t.map(u=>e.indexOf(u,n));s.push(e.indexOf("\\",n));const a=s.filter(u=>u!==-1);if(a.length===0)return-1;const c=Math.min(...a);if(e[c]!=="\\")return c;n=c+2,o--}while(o>0);throw new Error("Too many escaping")},"s"),td=i((e,t,r)=>{let n=r,o=1e4;do{const s=t.map(u=>e.indexOf(u,n));s.push(e.indexOf("(",n)),s.push(e.indexOf('"',n)),s.push(e.indexOf("'",n)),s.push(e.indexOf("\\",n));const a=s.filter(u=>u!==-1);if(a.length===0)return-1;const c=Math.min(...a);switch(e[c]){case"\\":n=c+2;break;case"(":{const u=td(e,[")"],c+1);if(u===-1)return-1;n=u+1}break;case'"':{const u=Ug(e,['"'],c+1);if(u===-1)return-1;n=u+1}break;case"'":{const u=Ug(e,["'"],c+1);if(u===-1)return-1;n=u+1}break;default:return c}o--}while(o>0);throw new Error("Too many escaping")},"n"),du=/\/\*[^]*?(?:\*\/|$)/g;function _t(e){return e?e.trim():""}i(_t,"o");function qa(e,t){const r=e&&typeof e.type=="string",n=r?e:t;for(const o in e){const s=e[o];Array.isArray(s)?s.forEach(a=>{qa(a,n)}):s&&typeof s=="object"&&qa(s,n)}return r&&Object.defineProperty(e,"parent",{configurable:!0,writable:!0,enumerable:!1,value:t||null}),e}i(qa,"c");var G$=i((e,t)=>{t=t||{};let r=1,n=1;function o(){const w={line:r,column:n};return S=>(S.position=new z$(w,{line:r,column:n},t?.source||""),f(),S)}i(o,"u");const s=[];function a(w){const S=new H$(t?.source||"",w,r,n,e);if(!t?.silent)throw S;s.push(S)}i(a,"l");function c(){const w=/^{\s*/.exec(e);return!!w&&(p(w),!0)}i(c,"f");function u(){const w=/^}/.exec(e);return!!w&&(p(w),!0)}i(u,"d");function d(){let w;const S=[];for(f(),h(S);e.length&&e.charAt(0)!=="}"&&(w=C()||P(),w);)S.push(w),h(S);return S}i(d,"y");function p(w){const S=w[0];return(function(k){const I=k.match(/\n/g);I&&(r+=I.length);const V=k.lastIndexOf(`
209
- `);n=~V?k.length-V:n+k.length})(S),e=e.slice(S.length),w}i(p,"g");function f(){const w=/^\s*/.exec(e);w&&p(w)}i(f,"$");function h(w){w=w||[];let S=y();for(;S;)w.push(S),S=y();return w}i(h,"x");function y(){const w=o();if(e.charAt(0)!=="/"||e.charAt(1)!=="*")return;const S=/^\/\*[^]*?\*\//.exec(e);return S?(p(S),w({type:Ze.comment,comment:S[0].slice(2,-2)})):a("End of comment missing")}i(y,"V");function g(){const w=/^([^{]+)/.exec(e);if(w)return p(w),((S,k)=>{const I=[];let V=0;for(;V<S.length;){const H=td(S,k,V);if(H===-1)return I.push(S.substring(V)),I;I.push(S.substring(V,H)),V=H+1}return I})(_t(w[0]).replace(du,""),[","]).map(S=>_t(S))}i(g,"k");function E(){const w=o(),S=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/.exec(e);if(!S)return;p(S);const k=_t(S[0]),I=/^:\s*/.exec(e);if(!I)return a("property missing ':'");p(I);let V="";const H=td(e,[";","}"]);H!==-1&&(V=e.substring(0,H),p([V]),V=_t(V).replace(du,""));const A=w({type:Ze.declaration,property:k.replace(du,""),value:V}),L=/^[;\s]*/.exec(e);return L&&p(L),A}i(E,"v");function T(){const w=[];if(!c())return a("missing '{'");h(w);let S=E();for(;S;)w.push(S),h(w),S=E();return u()?w:a("missing '}'")}i(T,"w");function v(){const w=[],S=o();let k=/^((\d+\.\d+|\.\d+|\d+)%?|[a-z]+)\s*/.exec(e);for(;k;){const I=p(k);w.push(I[1]);const V=/^,\s*/.exec(e);V&&p(V),k=/^((\d+\.\d+|\.\d+|\d+)%?|[a-z]+)\s*/.exec(e)}if(w.length)return S({type:Ze.keyframe,values:w,declarations:T()||[]})}i(v,"b");const _=j("import"),R=j("charset"),N=j("namespace");function j(w){const S=new RegExp("^@"+w+`\\s*((?::?[^;'"]|"(?:\\\\"|[^"])*?"|'(?:\\\\'|[^'])*?')+)(?:;|$)`);return()=>{const k=o(),I=S.exec(e);if(!I)return;const V=p(I),H={type:w};return H[w]=V[1].trim(),k(H)}}i(j,"M");function C(){if(e[0]==="@")return(function(){const w=o(),S=/^@([-\w]+)?keyframes\s*/.exec(e);if(!S)return;const k=p(S)[1],I=/^([-\w]+)\s*/.exec(e);if(!I)return a("@keyframes missing name");const V=p(I)[1];if(!c())return a("@keyframes missing '{'");let H=h(),A=v();for(;A;)H.push(A),H=H.concat(h()),A=v();return u()?w({type:Ze.keyframes,name:V,vendor:k,keyframes:H}):a("@keyframes missing '}'")})()||(function(){const w=o(),S=/^@media *([^{]+)/.exec(e);if(!S)return;const k=_t(p(S)[1]);if(!c())return a("@media missing '{'");const I=h().concat(d());return u()?w({type:Ze.media,media:k,rules:I}):a("@media missing '}'")})()||(function(){const w=o(),S=/^@custom-media\s+(--\S+)\s+([^{;\s][^{;]*);/.exec(e);if(!S)return;const k=p(S);return w({type:Ze.customMedia,name:_t(k[1]),media:_t(k[2])})})()||(function(){const w=o(),S=/^@supports *([^{]+)/.exec(e);if(!S)return;const k=_t(p(S)[1]);if(!c())return a("@supports missing '{'");const I=h().concat(d());return u()?w({type:Ze.supports,supports:k,rules:I}):a("@supports missing '}'")})()||_()||R()||N()||(function(){const w=o(),S=/^@([-\w]+)?document *([^{]+)/.exec(e);if(!S)return;const k=p(S),I=_t(k[1]),V=_t(k[2]);if(!c())return a("@document missing '{'");const H=h().concat(d());return u()?w({type:Ze.document,document:V,vendor:I,rules:H}):a("@document missing '}'")})()||(function(){const w=o(),S=/^@page */.exec(e);if(!S)return;p(S);const k=g()||[];if(!c())return a("@page missing '{'");let I=h(),V=E();for(;V;)I.push(V),I=I.concat(h()),V=E();return u()?w({type:Ze.page,selectors:k,declarations:I}):a("@page missing '}'")})()||(function(){const w=o(),S=/^@host\s*/.exec(e);if(!S)return;if(p(S),!c())return a("@host missing '{'");const k=h().concat(d());return u()?w({type:Ze.host,rules:k}):a("@host missing '}'")})()||(function(){const w=o(),S=/^@font-face\s*/.exec(e);if(!S)return;if(p(S),!c())return a("@font-face missing '{'");let k=h(),I=E();for(;I;)k.push(I),k=k.concat(h()),I=E();return u()?w({type:Ze.fontFace,declarations:k}):a("@font-face missing '}'")})()||(function(){const w=o(),S=/^@container *([^{]+)/.exec(e);if(!S)return;const k=_t(p(S)[1]);if(!c())return a("@container missing '{'");const I=h().concat(d());return u()?w({type:Ze.container,container:k,rules:I}):a("@container missing '}'")})()||(function(){const w=o(),S=/^@starting-style\s*/.exec(e);if(!S)return;if(p(S),!c())return a("@starting-style missing '{'");const k=h().concat(d());return u()?w({type:Ze.startingStyle,rules:k}):a("@starting-style missing '}'")})()||(function(){const w=o(),S=/^@layer *([^{;@]+)/.exec(e);if(!S)return;const k=_t(p(S)[1]);if(!c()){const V=/^[;\s]*/.exec(e);return V&&p(V),w({type:Ze.layer,layer:k})}const I=h().concat(d());return u()?w({type:Ze.layer,layer:k,rules:I}):a("@layer missing '}'")})()}i(C,"A");function P(){const w=o(),S=g();return S?(h(),w({type:Ze.rule,selectors:S,declarations:T()||[]})):a("selector missing")}return i(P,"S"),qa((function(){const w=d();return{type:Ze.stylesheet,stylesheet:{source:t?.source,rules:w,parsingErrors:s}}})())},"m"),W$=Object.prototype.toString;function rd(e){return typeof e=="function"||W$.call(e)==="[object Function]"}i(rd,"isCallable");function uS(e){var t=Number(e);return isNaN(t)?0:t===0||!isFinite(t)?t:(t>0?1:-1)*Math.floor(Math.abs(t))}i(uS,"toInteger");var K$=Math.pow(2,53)-1;function dS(e){var t=uS(e);return Math.min(Math.max(t,0),K$)}i(dS,"toLength");function jt(e,t){var r=Array,n=Object(e);if(e==null)throw new TypeError("Array.from requires an array-like object - not null or undefined");if(typeof t<"u"&&!rd(t))throw new TypeError("Array.from: when provided, the second argument must be a function");for(var o=dS(n.length),s=rd(r)?Object(new r(o)):new Array(o),a=0,c;a<o;)c=n[a],t?s[a]=t(c,a):s[a]=c,a+=1;return s.length=o,s}i(jt,"arrayFrom");function ho(e){"@babel/helpers - typeof";return ho=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},ho(e)}i(ho,"_typeof");function pS(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}i(pS,"_classCallCheck");function nd(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,mm(n.key),n)}}i(nd,"_defineProperties");function fS(e,t,r){return t&&nd(e.prototype,t),r&&nd(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}i(fS,"_createClass");function mS(e,t,r){return t=mm(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}i(mS,"_defineProperty");function mm(e){var t=hS(e,"string");return ho(t)==="symbol"?t:String(t)}i(mm,"_toPropertyKey");function hS(e,t){if(ho(e)!=="object"||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t||"default");if(ho(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}i(hS,"_toPrimitive");var Y$=(function(){function e(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];pS(this,e),mS(this,"items",void 0),this.items=t}return i(e,"SetLike"),fS(e,[{key:"add",value:i(function(r){return this.has(r)===!1&&this.items.push(r),this},"add")},{key:"clear",value:i(function(){this.items=[]},"clear")},{key:"delete",value:i(function(r){var n=this.items.length;return this.items=this.items.filter(function(o){return o!==r}),n!==this.items.length},"_delete")},{key:"forEach",value:i(function(r){var n=this;this.items.forEach(function(o){r(o,o,n)})},"forEach")},{key:"has",value:i(function(r){return this.items.indexOf(r)!==-1},"has")},{key:"size",get:i(function(){return this.items.length},"get")}]),e})(),X$=typeof Set>"u"?Set:Y$;function lt(e){var t;return(t=e.localName)!==null&&t!==void 0?t:e.tagName.toLowerCase()}i(lt,"getLocalName");var Q$={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"},Z$={caption:new Set(["aria-label","aria-labelledby"]),code:new Set(["aria-label","aria-labelledby"]),deletion:new Set(["aria-label","aria-labelledby"]),emphasis:new Set(["aria-label","aria-labelledby"]),generic:new Set(["aria-label","aria-labelledby","aria-roledescription"]),insertion:new Set(["aria-label","aria-labelledby"]),none:new Set(["aria-label","aria-labelledby"]),paragraph:new Set(["aria-label","aria-labelledby"]),presentation:new Set(["aria-label","aria-labelledby"]),strong:new Set(["aria-label","aria-labelledby"]),subscript:new Set(["aria-label","aria-labelledby"]),superscript:new Set(["aria-label","aria-labelledby"])};function yS(e,t){return["aria-atomic","aria-busy","aria-controls","aria-current","aria-description","aria-describedby","aria-details","aria-dropeffect","aria-flowto","aria-grabbed","aria-hidden","aria-keyshortcuts","aria-label","aria-labelledby","aria-live","aria-owns","aria-relevant","aria-roledescription"].some(function(r){var n;return e.hasAttribute(r)&&!((n=Z$[t])!==null&&n!==void 0&&n.has(r))})}i(yS,"hasGlobalAriaAttributes");function hm(e,t){return yS(e,t)}i(hm,"ignorePresentationalRole");function gS(e){var t=vS(e);if(t===null||od.indexOf(t)!==-1){var r=bS(e);if(od.indexOf(t||"")===-1||hm(e,r||""))return r}return t}i(gS,"getRole");function bS(e){var t=Q$[lt(e)];if(t!==void 0)return t;switch(lt(e)){case"a":case"area":case"link":if(e.hasAttribute("href"))return"link";break;case"img":return e.getAttribute("alt")===""&&!hm(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}i(bS,"getImplicitRole");function vS(e){var t=e.getAttribute("role");if(t!==null){var r=t.trim().split(" ")[0];if(r.length>0)return r}return null}i(vS,"getExplicitRole");var od=["presentation","none"];function je(e){return e!==null&&e.nodeType===e.ELEMENT_NODE}i(je,"isElement");function ym(e){return je(e)&&lt(e)==="caption"}i(ym,"isHTMLTableCaptionElement");function Mi(e){return je(e)&&lt(e)==="input"}i(Mi,"isHTMLInputElement");function ES(e){return je(e)&&lt(e)==="optgroup"}i(ES,"isHTMLOptGroupElement");function TS(e){return je(e)&&lt(e)==="select"}i(TS,"isHTMLSelectElement");function wS(e){return je(e)&&lt(e)==="table"}i(wS,"isHTMLTableElement");function _S(e){return je(e)&&lt(e)==="textarea"}i(_S,"isHTMLTextAreaElement");function SS(e){var t=e.ownerDocument===null?e:e.ownerDocument,r=t.defaultView;if(r===null)throw new TypeError("no window available");return r}i(SS,"safeWindow");function PS(e){return je(e)&&lt(e)==="fieldset"}i(PS,"isHTMLFieldSetElement");function AS(e){return je(e)&&lt(e)==="legend"}i(AS,"isHTMLLegendElement");function RS(e){return je(e)&&lt(e)==="slot"}i(RS,"isHTMLSlotElement");function OS(e){return je(e)&&e.ownerSVGElement!==void 0}i(OS,"isSVGElement");function CS(e){return je(e)&&lt(e)==="svg"}i(CS,"isSVGSVGElement");function xS(e){return OS(e)&&lt(e)==="title"}i(xS,"isSVGTitleElement");function es(e,t){if(je(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[]}i(es,"queryIdRefs");function rr(e,t){return je(e)?t.indexOf(gS(e))!==-1:!1}i(rr,"hasAnyConcreteRoles");function NS(e){return e.trim().replace(/\s\s+/g," ")}i(NS,"asFlatString");function IS(e,t){if(!je(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"}i(IS,"isHidden");function MS(e){return rr(e,["button","combobox","listbox","textbox"])||gm(e,"range")}i(MS,"isControl");function gm(e,t){if(!je(e))return!1;switch(t){case"range":return rr(e,["meter","progressbar","scrollbar","slider","spinbutton"]);default:throw new TypeError("No knowledge about abstract role '".concat(t,"'. This is likely a bug :("))}}i(gm,"hasAbstractRole");function id(e,t){var r=jt(e.querySelectorAll(t));return es(e,"aria-owns").forEach(function(n){r.push.apply(r,jt(n.querySelectorAll(t)))}),r}i(id,"querySelectorAllSubtree");function qS(e){return TS(e)?e.selectedOptions||id(e,"[selected]"):id(e,'[aria-selected="true"]')}i(qS,"querySelectedOptions");function jS(e){return rr(e,od)}i(jS,"isMarkedPresentational");function kS(e){return ym(e)}i(kS,"isNativeHostLanguageTextAlternativeElement");function DS(e){return rr(e,["button","cell","checkbox","columnheader","gridcell","heading","label","legend","link","menuitem","menuitemcheckbox","menuitemradio","option","radio","row","rowheader","switch","tab","tooltip","treeitem"])}i(DS,"allowsNameFromContent");function LS(e){return!1}i(LS,"isDescendantOfNativeHostLanguageTextAlternativeElement");function FS(e){return Mi(e)||_S(e)?e.value:e.textContent||""}i(FS,"getValueOfTextbox");function sd(e){var t=e.getPropertyValue("content");return/^["'].*["']$/.test(t)?t.slice(1,-1):""}i(sd,"getTextualContent");function bm(e){var t=lt(e);return t==="button"||t==="input"&&e.getAttribute("type")!=="hidden"||t==="meter"||t==="output"||t==="progress"||t==="select"||t==="textarea"}i(bm,"isLabelableElement");function vm(e){if(bm(e))return e;var t=null;return e.childNodes.forEach(function(r){if(t===null&&je(r)){var n=vm(r);n!==null&&(t=n)}}),t}i(vm,"findLabelableElement");function $S(e){if(e.control!==void 0)return e.control;var t=e.getAttribute("for");return t!==null?e.ownerDocument.getElementById(t):vm(e)}i($S,"getControlOfLabel");function BS(e){var t=e.labels;if(t===null)return t;if(t!==void 0)return jt(t);if(!bm(e))return null;var r=e.ownerDocument;return jt(r.querySelectorAll("label")).filter(function(n){return $S(n)===e})}i(BS,"getLabels");function JS(e){var t=e.assignedNodes();return t.length===0?jt(e.childNodes):t}i(JS,"getSlotContents");function Em(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=new X$,n=SS(e),o=t.compute,s=o===void 0?"name":o,a=t.computedStyleSupportsPseudoElements,c=a===void 0?t.getComputedStyle!==void 0:a,u=t.getComputedStyle,d=u===void 0?n.getComputedStyle.bind(n):u,p=t.hidden,f=p===void 0?!1:p;function h(v,_){var R="";if(je(v)&&c){var N=d(v,"::before"),j=sd(N);R="".concat(j," ").concat(R)}var C=RS(v)?JS(v):jt(v.childNodes).concat(es(v,"aria-owns"));if(C.forEach(function(S){var k=T(S,{isEmbeddedInLabel:_.isEmbeddedInLabel,isReferenced:!1,recursion:!0}),I=je(S)?d(S).getPropertyValue("display"):"inline",V=I!=="inline"?" ":"";R+="".concat(V).concat(k).concat(V)}),je(v)&&c){var P=d(v,"::after"),w=sd(P);R="".concat(R," ").concat(w)}return R.trim()}i(h,"computeMiscTextAlternative");function y(v,_){var R=v.getAttributeNode(_);return R!==null&&!r.has(R)&&R.value.trim()!==""?(r.add(R),R.value):null}i(y,"useAttribute");function g(v){return je(v)?y(v,"title"):null}i(g,"computeTooltipAttributeValue");function E(v){if(!je(v))return null;if(PS(v)){r.add(v);for(var _=jt(v.childNodes),R=0;R<_.length;R+=1){var N=_[R];if(AS(N))return T(N,{isEmbeddedInLabel:!1,isReferenced:!1,recursion:!1})}}else if(wS(v)){r.add(v);for(var j=jt(v.childNodes),C=0;C<j.length;C+=1){var P=j[C];if(ym(P))return T(P,{isEmbeddedInLabel:!1,isReferenced:!1,recursion:!1})}}else if(CS(v)){r.add(v);for(var w=jt(v.childNodes),S=0;S<w.length;S+=1){var k=w[S];if(xS(k))return k.textContent}return null}else if(lt(v)==="img"||lt(v)==="area"){var I=y(v,"alt");if(I!==null)return I}else if(ES(v)){var V=y(v,"label");if(V!==null)return V}if(Mi(v)&&(v.type==="button"||v.type==="submit"||v.type==="reset")){var H=y(v,"value");if(H!==null)return H;if(v.type==="submit")return"Submit";if(v.type==="reset")return"Reset"}var A=BS(v);if(A!==null&&A.length!==0)return r.add(v),jt(A).map(function(K){return T(K,{isEmbeddedInLabel:!0,isReferenced:!1,recursion:!0})}).filter(function(K){return K.length>0}).join(" ");if(Mi(v)&&v.type==="image"){var L=y(v,"alt");if(L!==null)return L;var $=y(v,"title");return $!==null?$:"Submit Query"}if(rr(v,["button"])){var D=h(v,{isEmbeddedInLabel:!1});if(D!=="")return D}return null}i(E,"computeElementTextAlternative");function T(v,_){if(r.has(v))return"";if(!f&&IS(v,d)&&!_.isReferenced)return r.add(v),"";var R=je(v)?v.getAttributeNode("aria-labelledby"):null,N=R!==null&&!r.has(R)?es(v,"aria-labelledby"):[];if(s==="name"&&!_.isReferenced&&N.length>0)return r.add(R),N.map(function(I){return T(I,{isEmbeddedInLabel:_.isEmbeddedInLabel,isReferenced:!0,recursion:!1})}).join(" ");var j=_.recursion&&MS(v)&&s==="name";if(!j){var C=(je(v)&&v.getAttribute("aria-label")||"").trim();if(C!==""&&s==="name")return r.add(v),C;if(!jS(v)){var P=E(v);if(P!==null)return r.add(v),P}}if(rr(v,["menu"]))return r.add(v),"";if(j||_.isEmbeddedInLabel||_.isReferenced){if(rr(v,["combobox","listbox"])){r.add(v);var w=qS(v);return w.length===0?Mi(v)?v.value:"":jt(w).map(function(I){return T(I,{isEmbeddedInLabel:_.isEmbeddedInLabel,isReferenced:!1,recursion:!0})}).join(" ")}if(gm(v,"range"))return r.add(v),v.hasAttribute("aria-valuetext")?v.getAttribute("aria-valuetext"):v.hasAttribute("aria-valuenow")?v.getAttribute("aria-valuenow"):v.getAttribute("value")||"";if(rr(v,["textbox"]))return r.add(v),FS(v)}if(DS(v)||je(v)&&_.isReferenced||kS(v)||LS()){var S=h(v,{isEmbeddedInLabel:_.isEmbeddedInLabel});if(S!=="")return r.add(v),S}if(v.nodeType===v.TEXT_NODE)return r.add(v),v.textContent||"";if(_.recursion)return r.add(v),h(v,{isEmbeddedInLabel:_.isEmbeddedInLabel});var k=g(v);return k!==null?(r.add(v),k):(r.add(v),"")}return i(T,"computeTextAlternative"),NS(T(e,{isEmbeddedInLabel:!1,isReferenced:s==="description",recursion:!1}))}i(Em,"computeTextAlternative");function yo(e){"@babel/helpers - typeof";return yo=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},yo(e)}i(yo,"_typeof");function ad(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}i(ad,"ownKeys");function ld(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?ad(Object(r),!0).forEach(function(n){US(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ad(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}i(ld,"_objectSpread");function US(e,t,r){return t=VS(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}i(US,"_defineProperty");function VS(e){var t=HS(e,"string");return yo(t)==="symbol"?t:String(t)}i(VS,"_toPropertyKey");function HS(e,t){if(yo(e)!=="object"||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t||"default");if(yo(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}i(HS,"_toPrimitive");function zS(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=es(e,"aria-describedby").map(function(s){return Em(s,ld(ld({},t),{},{compute:"description"}))}).join(" ");if(r===""){var n=e.getAttribute("aria-description");r=n===null?"":n}if(r===""){var o=e.getAttribute("title");r=o===null?"":o}return r}i(zS,"computeAccessibleDescription");function GS(e){return rr(e,["caption","code","deletion","emphasis","generic","insertion","none","paragraph","presentation","strong","subscript","superscript"])}i(GS,"prohibitsNaming");function WS(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return GS(e)?"":Em(e,t)}i(WS,"computeAccessibleName");var Tm=Ge(wp(),1),eB=Ge(uv(),1),tB=Ge(dv(),1),KS=class extends Error{constructor(t,r,n,o){super(),Error.captureStackTrace&&Error.captureStackTrace(this,n);let s="";try{s=o.utils.printWithType("Received",r,o.utils.printReceived)}catch{}this.message=[o.utils.matcherHint(`${o.isNot?".not":""}.${n.name}`,"received",""),"",`${o.utils.RECEIVED_COLOR("received")} value must ${t}.`,s].join(`
208
+ `)}i(Wi,"inspectNodeCollection");z(Wi,"inspectNodeCollection");function em(e,t){switch(e.nodeType){case 1:return Ml(e,t);case 3:return t.inspect(e.data,t);default:return t.inspect(e,t)}}i(em,"inspectNode");z(em,"inspectNode");function Ml(e,t){const r=e.getAttributeNames(),n=e.tagName.toLowerCase(),o=t.stylize(`<${n}`,"special"),s=t.stylize(">","special"),a=t.stylize(`</${n}>`,"special");t.truncate-=n.length*2+5;let c="";r.length>0&&(c+=" ",c+=xt(r.map(p=>[p,e.getAttribute(p)]),t,Zf," ")),t.truncate-=c.length;const u=t.truncate;let d=Wi(e.children,t);return d&&d.length>u&&(d=`${mo}(${e.children.length})`),`${o}${c}${s}${d}${a}`}i(Ml,"inspectHTML");z(Ml,"inspectHTML");var q$=typeof Symbol=="function"&&typeof Symbol.for=="function",cu=q$?Symbol.for("chai/inspect"):"@@chai/inspect",uu=Symbol.for("nodejs.util.inspect.custom"),jg=new WeakMap,kg={},Dg={undefined:z((e,t)=>t.stylize("undefined","undefined"),"undefined"),null:z((e,t)=>t.stylize("null","null"),"null"),boolean:z((e,t)=>t.stylize(String(e),"boolean"),"boolean"),Boolean:z((e,t)=>t.stylize(String(e),"boolean"),"Boolean"),number:Ea,Number:Ea,bigint:Ta,BigInt:Ta,string:wa,String:wa,function:va,Function:va,symbol:_a,Symbol:_a,Array:Bf,Date:Jf,Map:Hf,Set:Wf,RegExp:zf,Promise:I$,WeakSet:z((e,t)=>t.stylize("WeakSet{…}","special"),"WeakSet"),WeakMap:z((e,t)=>t.stylize("WeakMap{…}","special"),"WeakMap"),Arguments:Xf,Int8Array:Ut,Uint8Array:Ut,Uint8ClampedArray:Ut,Int16Array:Ut,Uint16Array:Ut,Int32Array:Ut,Uint32Array:Ut,Float32Array:Ut,Float64Array:Ut,Generator:z(()=>"","Generator"),DataView:z(()=>"","DataView"),ArrayBuffer:z(()=>"","ArrayBuffer"),Error:Qf,HTMLCollection:Wi,NodeList:Wi},j$=z((e,t,r)=>cu in e&&typeof e[cu]=="function"?e[cu](t):uu in e&&typeof e[uu]=="function"?e[uu](t.depth,t):"inspect"in e&&typeof e.inspect=="function"?e.inspect(t.depth,t):"constructor"in e&&jg.has(e.constructor)?jg.get(e.constructor)(e,t):kg[r]?kg[r](e,t):"","inspectCustom"),k$=Object.prototype.toString;function Ki(e,t={}){const r=Lf(t,Ki),{customInspect:n}=r;let o=e===null?"null":typeof e;if(o==="object"&&(o=k$.call(e).slice(8,-1)),o in Dg)return Dg[o](e,r);if(n&&e){const a=j$(e,r,o);if(a)return typeof a=="string"?a:Ki(a,r)}const s=e?Object.getPrototypeOf(e):!1;return s===Object.prototype||s===null?to(e,r):e&&typeof HTMLElement=="function"&&e instanceof HTMLElement?Ml(e,r):"constructor"in e?e.constructor!==Object?Yf(e,r):to(e,r):e===Object(e)?to(e,r):r.stylize(String(e),o)}i(Ki,"inspect");z(Ki,"inspect");var bt={includeStack:!1,showDiff:!0,truncateThreshold:40,useProxy:!0,proxyExcludedKeys:["then","catch","inspect","toJSON"],deepEqual:null};function we(e,t,r,n){let o={colors:n,depth:typeof r>"u"?2:r,showHidden:t,truncate:bt.truncateThreshold?bt.truncateThreshold:1/0};return Ki(e,o)}i(we,"inspect2");z(we,"inspect");function Fr(e){let t=we(e),r=Object.prototype.toString.call(e);if(bt.truncateThreshold&&t.length>=bt.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}i(Fr,"objDisplay");z(Fr,"objDisplay");function ql(e,t){let r=me(e,"negate"),n=me(e,"object"),o=t[3],s=Ts(e,t),a=r?t[2]:t[1],c=me(e,"message");return typeof a=="function"&&(a=a()),a=a||"",a=a.replace(/#\{this\}/g,function(){return Fr(n)}).replace(/#\{act\}/g,function(){return Fr(s)}).replace(/#\{exp\}/g,function(){return Fr(o)}),c?c+": "+a:a}i(ql,"getMessage2");z(ql,"getMessage");function $t(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])}i($t,"transferFlags");z($t,"transferFlags");function Sa(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)}i(Sa,"type2");z(Sa,"type");function jl(){this._key="chai/deep-eql__"+Math.random()+Date.now()}i(jl,"FakeMap");z(jl,"FakeMap");jl.prototype={get:z(i(function(t){return t[this._key]},"get"),"get"),set:z(i(function(t,r){Object.isExtensible(t)&&Object.defineProperty(t,this._key,{value:r,configurable:!0})},"set"),"set")};var oS=typeof WeakMap=="function"?WeakMap:jl;function Pa(e,t,r){if(!r||zr(e)||zr(t))return null;var n=r.get(e);if(n){var o=n.get(t);if(typeof o=="boolean")return o}return null}i(Pa,"memoizeCompare");z(Pa,"memoizeCompare");function Yn(e,t,r,n){if(!(!r||zr(e)||zr(t))){var o=r.get(e);o?o.set(t,n):(o=new oS,o.set(t,n),r.set(e,o))}}i(Yn,"memoizeSet");z(Yn,"memoizeSet");var iS=Io;function Io(e,t,r){if(r&&r.comparator)return Aa(e,t,r);var n=kl(e,t);return n!==null?n:Aa(e,t,r)}i(Io,"deepEqual");z(Io,"deepEqual");function kl(e,t){return e===t?e!==0||1/e===1/t:e!==e&&t!==t?!0:zr(e)||zr(t)?!1:null}i(kl,"simpleEqual");z(kl,"simpleEqual");function Aa(e,t,r){r=r||{},r.memoize=r.memoize===!1?!1:r.memoize||new oS;var n=r&&r.comparator,o=Pa(e,t,r.memoize);if(o!==null)return o;var s=Pa(t,e,r.memoize);if(s!==null)return s;if(n){var a=n(e,t);if(a===!1||a===!0)return Yn(e,t,r.memoize,a),a;var c=kl(e,t);if(c!==null)return c}var u=Sa(e);if(u!==Sa(t))return Yn(e,t,r.memoize,!1),!1;Yn(e,t,r.memoize,!0);var d=tm(e,t,u,r);return Yn(e,t,r.memoize,d),d}i(Aa,"extensiveDeepEqual");z(Aa,"extensiveDeepEqual");function tm(e,t,r,n){switch(r){case"String":case"Number":case"Boolean":case"Date":return Io(e.valueOf(),t.valueOf());case"Promise":case"Symbol":case"function":case"WeakMap":case"WeakSet":return e===t;case"Error":return Dl(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 Pr(e,t,n);case"RegExp":return rm(e,t);case"Generator":return nm(e,t,n);case"DataView":return Pr(new Uint8Array(e.buffer),new Uint8Array(t.buffer),n);case"ArrayBuffer":return Pr(new Uint8Array(e),new Uint8Array(t),n);case"Set":return Ra(e,t,n);case"Map":return Ra(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 im(e,t,n)}}i(tm,"extensiveDeepEqualByType");z(tm,"extensiveDeepEqualByType");function rm(e,t){return e.toString()===t.toString()}i(rm,"regexpEqual");z(rm,"regexpEqual");function Ra(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(z(i(function(a,c){n.push([a,c])},"gatherEntries"),"gatherEntries")),t.forEach(z(i(function(a,c){o.push([a,c])},"gatherEntries"),"gatherEntries")),Pr(n.sort(),o.sort(),r)}i(Ra,"entriesEqual");z(Ra,"entriesEqual");function Pr(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(Io(e[o],t[o],r)===!1)return!1;return!0}i(Pr,"iterableEqual");z(Pr,"iterableEqual");function nm(e,t,r){return Pr(Yi(e),Yi(t),r)}i(nm,"generatorEqual");z(nm,"generatorEqual");function om(e){return typeof Symbol<"u"&&typeof e=="object"&&typeof Symbol.iterator<"u"&&typeof e[Symbol.iterator]=="function"}i(om,"hasIteratorFunction");z(om,"hasIteratorFunction");function Oa(e){if(om(e))try{return Yi(e[Symbol.iterator]())}catch{return[]}return[]}i(Oa,"getIteratorEntries");z(Oa,"getIteratorEntries");function Yi(e){for(var t=e.next(),r=[t.value];t.done===!1;)t=e.next(),r.push(t.value);return r}i(Yi,"getGeneratorEntries");z(Yi,"getGeneratorEntries");function Ca(e){var t=[];for(var r in e)t.push(r);return t}i(Ca,"getEnumerableKeys");z(Ca,"getEnumerableKeys");function xa(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}i(xa,"getEnumerableSymbols");z(xa,"getEnumerableSymbols");function Dl(e,t,r,n){var o=r.length;if(o===0)return!0;for(var s=0;s<o;s+=1)if(Io(e[r[s]],t[r[s]],n)===!1)return!1;return!0}i(Dl,"keysEqual");z(Dl,"keysEqual");function im(e,t,r){var n=Ca(e),o=Ca(t),s=xa(e),a=xa(t);if(n=n.concat(s),o=o.concat(a),n.length&&n.length===o.length)return Pr(Na(n).sort(),Na(o).sort())===!1?!1:Dl(e,t,n,r);var c=Oa(e),u=Oa(t);return c.length&&c.length===u.length?(c.sort(),u.sort(),Pr(c,u,r)):n.length===0&&c.length===0&&o.length===0&&u.length===0}i(im,"objectEqual");z(im,"objectEqual");function zr(e){return e===null||typeof e!="object"}i(zr,"isPrimitive");z(zr,"isPrimitive");function Na(e){return e.map(z(i(function(r){return typeof r=="symbol"?r.toString():r},"mapSymbol"),"mapSymbol"))}i(Na,"mapSymbols");z(Na,"mapSymbols");function ws(e,t){return typeof e>"u"||e===null?!1:t in Object(e)}i(ws,"hasProperty");z(ws,"hasProperty");function sm(e){return e.replace(/([^\\])\[/g,"$1.[").match(/(\\\.|[^.]+?)+/g).map(n=>{if(n==="constructor"||n==="__proto__"||n==="prototype")return{};const s=/^\[(\d+)\]$/.exec(n);let a=null;return s?a={i:parseFloat(s[1])}:a={p:n.replace(/\\([.[\]])/g,"$1")},a})}i(sm,"parsePath");z(sm,"parsePath");function Ia(e,t,r){let n=e,o=null;r=typeof r>"u"?t.length:r;for(let s=0;s<r;s++){const a=t[s];n&&(typeof a.p>"u"?n=n[a.i]:n=n[a.p],s===r-1&&(o=n))}return o}i(Ia,"internalGetPathValue");z(Ia,"internalGetPathValue");function Ll(e,t){const r=sm(t),n=r[r.length-1],o={parent:r.length>1?Ia(e,r,r.length-1):e,name:n.p||n.i,value:Ia(e,r)};return o.exists=ws(o.parent,o.name),o}i(Ll,"getPathInfo");z(Ll,"getPathInfo");var hi,q=(hi=class{__flags={};constructor(e,t,r,n){return me(this,"ssfi",r||hi),me(this,"lockSsfi",n),me(this,"object",e),me(this,"message",t),me(this,"eql",bt.deepEqual||iS),Fn(this)}static get includeStack(){return console.warn("Assertion.includeStack is deprecated, use chai.config.includeStack instead."),bt.includeStack}static set includeStack(e){console.warn("Assertion.includeStack is deprecated, use chai.config.includeStack instead."),bt.includeStack=e}static get showDiff(){return console.warn("Assertion.showDiff is deprecated, use chai.config.showDiff instead."),bt.showDiff}static set showDiff(e){console.warn("Assertion.showDiff is deprecated, use chai.config.showDiff instead."),bt.showDiff=e}static addProperty(e,t){Fl(this.prototype,e,t)}static addMethod(e,t){$l(this.prototype,e,t)}static addChainableMethod(e,t,r){Ul(this.prototype,e,t,r)}static overwriteProperty(e,t){Bl(this.prototype,e,t)}static overwriteMethod(e,t){Jl(this.prototype,e,t)}static overwriteChainableMethod(e,t,r){Vl(this.prototype,e,t,r)}assert(e,t,r,n,o,s){const a=Il(this,arguments);if(s!==!1&&(s=!0),n===void 0&&o===void 0&&(s=!1),bt.showDiff!==!0&&(s=!1),!a){t=ql(this,arguments);const u={actual:Ts(this,arguments),expected:n,showDiff:s},d=Gl(this,arguments);throw d&&(u.operator=d),new Ae(t,u,bt.includeStack?this.assert:me(this,"ssfi"))}}get _obj(){return me(this,"object")}set _obj(e){me(this,"object",e)}},i(hi,"_Assertion"),z(hi,"Assertion"),hi);function Mo(){return bt.useProxy&&typeof Proxy<"u"&&typeof Reflect<"u"}i(Mo,"isProxyEnabled");z(Mo,"isProxyEnabled");function Fl(e,t,r){r=r===void 0?function(){}:r,Object.defineProperty(e,t,{get:z(i(function n(){!Mo()&&!me(this,"lockSsfi")&&me(this,"ssfi",n);let o=r.call(this);if(o!==void 0)return o;let s=new q;return $t(this,s),s},"propertyGetter"),"propertyGetter"),configurable:!0})}i(Fl,"addProperty");z(Fl,"addProperty");var D$=Object.getOwnPropertyDescriptor(function(){},"length");function qo(e,t,r){return D$.configurable&&Object.defineProperty(e,"length",{get:z(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}i(qo,"addLengthGuard");z(qo,"addLengthGuard");function am(e){let t=Object.getOwnPropertyNames(e);function r(o){t.indexOf(o)===-1&&t.push(o)}i(r,"addProperty2"),z(r,"addProperty");let n=Object.getPrototypeOf(e);for(;n!==null;)Object.getOwnPropertyNames(n).forEach(r),n=Object.getPrototypeOf(n);return t}i(am,"getProperties");z(am,"getProperties");var Lg=["__flags","__methods","_obj","assert"];function Fn(e,t){return Mo()?new Proxy(e,{get:z(i(function r(n,o){if(typeof o=="string"&&bt.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 s=null,a=4;throw am(n).forEach(function(c){if(!Object.prototype.hasOwnProperty(c)&&Lg.indexOf(c)===-1){let u=lm(o,c,a);u<a&&(s=c,a=u)}}),Error(s!==null?"Invalid Chai property: "+o+'. Did you mean "'+s+'"?':"Invalid Chai property: "+o)}return Lg.indexOf(o)===-1&&!me(n,"lockSsfi")&&me(n,"ssfi",r),Reflect.get(n,o)},"proxyGetter"),"proxyGetter")}):e}i(Fn,"proxify");z(Fn,"proxify");function lm(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 s=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]+(s===t.charCodeAt(a-1)?0:1))}}return n[e.length][t.length]}i(lm,"stringDistanceCapped");z(lm,"stringDistanceCapped");function $l(e,t,r){let n=z(function(){me(this,"lockSsfi")||me(this,"ssfi",n);let o=r.apply(this,arguments);if(o!==void 0)return o;let s=new q;return $t(this,s),s},"methodWrapper");qo(n,t,!1),e[t]=Fn(n,t)}i($l,"addMethod");z($l,"addMethod");function Bl(e,t,r){let n=Object.getOwnPropertyDescriptor(e,t),o=z(function(){},"_super");n&&typeof n.get=="function"&&(o=n.get),Object.defineProperty(e,t,{get:z(i(function s(){!Mo()&&!me(this,"lockSsfi")&&me(this,"ssfi",s);let a=me(this,"lockSsfi");me(this,"lockSsfi",!0);let c=r(o).call(this);if(me(this,"lockSsfi",a),c!==void 0)return c;let u=new q;return $t(this,u),u},"overwritingPropertyGetter"),"overwritingPropertyGetter"),configurable:!0})}i(Bl,"overwriteProperty");z(Bl,"overwriteProperty");function Jl(e,t,r){let n=e[t],o=z(function(){throw new Error(t+" is not a function")},"_super");n&&typeof n=="function"&&(o=n);let s=z(function(){me(this,"lockSsfi")||me(this,"ssfi",s);let a=me(this,"lockSsfi");me(this,"lockSsfi",!0);let c=r(o).apply(this,arguments);if(me(this,"lockSsfi",a),c!==void 0)return c;let u=new q;return $t(this,u),u},"overwritingMethodWrapper");qo(s,t,!1),e[t]=Fn(s,t)}i(Jl,"overwriteMethod");z(Jl,"overwriteMethod");var L$=typeof Object.setPrototypeOf=="function",Fg=z(function(){},"testFn"),F$=Object.getOwnPropertyNames(Fg).filter(function(e){let t=Object.getOwnPropertyDescriptor(Fg,e);return typeof t!="object"?!0:!t.configurable}),$$=Function.prototype.call,B$=Function.prototype.apply;function Ul(e,t,r,n){typeof n!="function"&&(n=z(function(){},"chainingBehavior"));let o={method:r,chainingBehavior:n};e.__methods||(e.__methods={}),e.__methods[t]=o,Object.defineProperty(e,t,{get:z(i(function(){o.chainingBehavior.call(this);let a=z(function(){me(this,"lockSsfi")||me(this,"ssfi",a);let c=o.method.apply(this,arguments);if(c!==void 0)return c;let u=new q;return $t(this,u),u},"chainableMethodWrapper");if(qo(a,t,!0),L$){let c=Object.create(this);c.call=$$,c.apply=B$,Object.setPrototypeOf(a,c)}else Object.getOwnPropertyNames(e).forEach(function(u){if(F$.indexOf(u)!==-1)return;let d=Object.getOwnPropertyDescriptor(e,u);Object.defineProperty(a,u,d)});return $t(this,a),Fn(a)},"chainableMethodGetter"),"chainableMethodGetter"),configurable:!0})}i(Ul,"addChainableMethod");z(Ul,"addChainableMethod");function Vl(e,t,r,n){let o=e.__methods[t],s=o.chainingBehavior;o.chainingBehavior=z(i(function(){let u=n(s).call(this);if(u!==void 0)return u;let d=new q;return $t(this,d),d},"overwritingChainableMethodGetter"),"overwritingChainableMethodGetter");let a=o.method;o.method=z(i(function(){let u=r(a).apply(this,arguments);if(u!==void 0)return u;let d=new q;return $t(this,d),d},"overwritingChainableMethodWrapper"),"overwritingChainableMethodWrapper")}i(Vl,"overwriteChainableMethod");z(Vl,"overwriteChainableMethod");function Xi(e,t){return we(e)<we(t)?-1:1}i(Xi,"compareByInspect");z(Xi,"compareByInspect");function Hl(e){return typeof Object.getOwnPropertySymbols!="function"?[]:Object.getOwnPropertySymbols(e).filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})}i(Hl,"getOwnEnumerablePropertySymbols");z(Hl,"getOwnEnumerablePropertySymbols");function zl(e){return Object.keys(e).concat(Hl(e))}i(zl,"getOwnEnumerableProperties");z(zl,"getOwnEnumerableProperties");var Ma=Number.isNaN;function cm(e){let t=xe(e);return["Array","Object","Function"].indexOf(t)!==-1}i(cm,"isObjectType");z(cm,"isObjectType");function Gl(e,t){let r=me(e,"operator"),n=me(e,"negate"),o=t[3],s=n?t[2]:t[1];if(r)return r;if(typeof s=="function"&&(s=s()),s=s||"",!s||/\shave\s/.test(s))return;let a=cm(o);return/\snot\s/.test(s)?a?"notDeepStrictEqual":"notStrictEqual":a?"deepStrictEqual":"strictEqual"}i(Gl,"getOperator");z(Gl,"getOperator");function _s(e){return e.name}i(_s,"getName");z(_s,"getName");function Qi(e){return Object.prototype.toString.call(e)==="[object RegExp]"}i(Qi,"isRegExp2");z(Qi,"isRegExp");function rt(e){return["Number","BigInt"].includes(xe(e))}i(rt,"isNumeric");z(rt,"isNumeric");var{flag:U}=tr;["to","be","been","is","and","has","have","with","that","which","at","of","same","but","does","still","also"].forEach(function(e){q.addProperty(e)});q.addProperty("not",function(){U(this,"negate",!0)});q.addProperty("deep",function(){U(this,"deep",!0)});q.addProperty("nested",function(){U(this,"nested",!0)});q.addProperty("own",function(){U(this,"own",!0)});q.addProperty("ordered",function(){U(this,"ordered",!0)});q.addProperty("any",function(){U(this,"any",!0),U(this,"all",!1)});q.addProperty("all",function(){U(this,"all",!0),U(this,"any",!1)});var $g={function:["function","asyncfunction","generatorfunction","asyncgeneratorfunction"],asyncfunction:["asyncfunction","asyncgeneratorfunction"],generatorfunction:["generatorfunction","asyncgeneratorfunction"],asyncgeneratorfunction:["asyncgeneratorfunction"]};function Wl(e,t){t&&U(this,"message",t),e=e.toLowerCase();let r=U(this,"object"),n=~["a","e","i","o","u"].indexOf(e.charAt(0))?"an ":"a ";const o=xe(r).toLowerCase();$g.function.includes(e)?this.assert($g[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)}i(Wl,"an");z(Wl,"an");q.addChainableMethod("an",Wl);q.addChainableMethod("a",Wl);function um(e,t){return Ma(e)&&Ma(t)||e===t}i(um,"SameValueZero");z(um,"SameValueZero");function jo(){U(this,"contains",!0)}i(jo,"includeChainingBehavior");z(jo,"includeChainingBehavior");function ko(e,t){t&&U(this,"message",t);let r=U(this,"object"),n=xe(r).toLowerCase(),o=U(this,"message"),s=U(this,"negate"),a=U(this,"ssfi"),c=U(this,"deep"),u=c?"deep ":"",d=c?U(this,"eql"):um;o=o?o+": ":"";let p=!1;switch(n){case"string":p=r.indexOf(e)!==-1;break;case"weakset":if(c)throw new Ae(o+"unable to use .deep.include with WeakSet",void 0,a);p=r.has(e);break;case"map":r.forEach(function(f){p=p||d(f,e)});break;case"set":c?r.forEach(function(f){p=p||d(f,e)}):p=r.has(e);break;case"array":c?p=r.some(function(f){return d(f,e)}):p=r.indexOf(e)!==-1;break;default:{if(e!==Object(e))throw new Ae(o+"the given combination of arguments ("+n+" and "+xe(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 "+xe(e).toLowerCase(),void 0,a);let f=Object.keys(e),h=null,y=0;if(f.forEach(function(g){let E=new q(r);if($t(this,E,!0),U(E,"lockSsfi",!0),!s||f.length===1){E.property(g,e[g]);return}try{E.property(g,e[g])}catch(T){if(!Pt.compatibleConstructor(T,Ae))throw T;h===null&&(h=T),y++}},this),s&&f.length>1&&y===f.length)throw h;return}}this.assert(p,"expected #{this} to "+u+"include "+we(e),"expected #{this} to not "+u+"include "+we(e))}i(ko,"include");z(ko,"include");q.addChainableMethod("include",ko,jo);q.addChainableMethod("contain",ko,jo);q.addChainableMethod("contains",ko,jo);q.addChainableMethod("includes",ko,jo);q.addProperty("ok",function(){this.assert(U(this,"object"),"expected #{this} to be truthy","expected #{this} to be falsy")});q.addProperty("true",function(){this.assert(U(this,"object")===!0,"expected #{this} to be true","expected #{this} to be false",!U(this,"negate"))});q.addProperty("numeric",function(){const e=U(this,"object");this.assert(["Number","BigInt"].includes(xe(e)),"expected #{this} to be numeric","expected #{this} to not be numeric",!U(this,"negate"))});q.addProperty("callable",function(){const e=U(this,"object"),t=U(this,"ssfi"),r=U(this,"message"),n=r?`${r}: `:"",o=U(this,"negate"),s=o?`${n}expected ${we(e)} not to be a callable function`:`${n}expected ${we(e)} to be a callable function`,a=["Function","AsyncFunction","GeneratorFunction","AsyncGeneratorFunction"].includes(xe(e));if(a&&o||!a&&!o)throw new Ae(s,void 0,t)});q.addProperty("false",function(){this.assert(U(this,"object")===!1,"expected #{this} to be false","expected #{this} to be true",!!U(this,"negate"))});q.addProperty("null",function(){this.assert(U(this,"object")===null,"expected #{this} to be null","expected #{this} not to be null")});q.addProperty("undefined",function(){this.assert(U(this,"object")===void 0,"expected #{this} to be undefined","expected #{this} not to be undefined")});q.addProperty("NaN",function(){this.assert(Ma(U(this,"object")),"expected #{this} to be NaN","expected #{this} not to be NaN")});function Kl(){let e=U(this,"object");this.assert(e!=null,"expected #{this} to exist","expected #{this} to not exist")}i(Kl,"assertExist");z(Kl,"assertExist");q.addProperty("exist",Kl);q.addProperty("exists",Kl);q.addProperty("empty",function(){let e=U(this,"object"),t=U(this,"ssfi"),r=U(this,"message"),n;switch(r=r?r+": ":"",xe(e).toLowerCase()){case"array":case"string":n=e.length;break;case"map":case"set":n=e.size;break;case"weakmap":case"weakset":throw new Ae(r+".empty was passed a weak collection",void 0,t);case"function":{const o=r+".empty was passed a function "+_s(e);throw new Ae(o.trim(),void 0,t)}default:if(e!==Object(e))throw new Ae(r+".empty was passed non-string primitive "+we(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 Yl(){let e=U(this,"object"),t=xe(e);this.assert(t==="Arguments","expected #{this} to be arguments but got "+t,"expected #{this} to not be arguments")}i(Yl,"checkArguments");z(Yl,"checkArguments");q.addProperty("arguments",Yl);q.addProperty("Arguments",Yl);function Ss(e,t){t&&U(this,"message",t);let r=U(this,"object");if(U(this,"deep")){let n=U(this,"lockSsfi");U(this,"lockSsfi",!0),this.eql(e),U(this,"lockSsfi",n)}else this.assert(e===r,"expected #{this} to equal #{exp}","expected #{this} to not equal #{exp}",e,this._obj,!0)}i(Ss,"assertEqual");z(Ss,"assertEqual");q.addMethod("equal",Ss);q.addMethod("equals",Ss);q.addMethod("eq",Ss);function Xl(e,t){t&&U(this,"message",t);let r=U(this,"eql");this.assert(r(e,U(this,"object")),"expected #{this} to deeply equal #{exp}","expected #{this} to not deeply equal #{exp}",e,this._obj,!0)}i(Xl,"assertEql");z(Xl,"assertEql");q.addMethod("eql",Xl);q.addMethod("eqls",Xl);function Ps(e,t){t&&U(this,"message",t);let r=U(this,"object"),n=U(this,"doLength"),o=U(this,"message"),s=o?o+": ":"",a=U(this,"ssfi"),c=xe(r).toLowerCase(),u=xe(e).toLowerCase();if(n&&c!=="map"&&c!=="set"&&new q(r,o,a,!0).to.have.property("length"),!n&&c==="date"&&u!=="date")throw new Ae(s+"the argument to above must be a date",void 0,a);if(!rt(e)&&(n||rt(r)))throw new Ae(s+"the argument to above must be a number",void 0,a);if(!n&&c!=="date"&&!rt(r)){let d=c==="string"?"'"+r+"'":r;throw new Ae(s+"expected "+d+" to be a number or a date",void 0,a)}if(n){let d="length",p;c==="map"||c==="set"?(d="size",p=r.size):p=r.length,this.assert(p>e,"expected #{this} to have a "+d+" above #{exp} but got #{act}","expected #{this} to not have a "+d+" above #{exp}",e,p)}else this.assert(r>e,"expected #{this} to be above #{exp}","expected #{this} to be at most #{exp}",e)}i(Ps,"assertAbove");z(Ps,"assertAbove");q.addMethod("above",Ps);q.addMethod("gt",Ps);q.addMethod("greaterThan",Ps);function As(e,t){t&&U(this,"message",t);let r=U(this,"object"),n=U(this,"doLength"),o=U(this,"message"),s=o?o+": ":"",a=U(this,"ssfi"),c=xe(r).toLowerCase(),u=xe(e).toLowerCase(),d,p=!0;if(n&&c!=="map"&&c!=="set"&&new q(r,o,a,!0).to.have.property("length"),!n&&c==="date"&&u!=="date")d=s+"the argument to least must be a date";else if(!rt(e)&&(n||rt(r)))d=s+"the argument to least must be a number";else if(!n&&c!=="date"&&!rt(r)){let f=c==="string"?"'"+r+"'":r;d=s+"expected "+f+" to be a number or a date"}else p=!1;if(p)throw new Ae(d,void 0,a);if(n){let f="length",h;c==="map"||c==="set"?(f="size",h=r.size):h=r.length,this.assert(h>=e,"expected #{this} to have a "+f+" at least #{exp} but got #{act}","expected #{this} to have a "+f+" below #{exp}",e,h)}else this.assert(r>=e,"expected #{this} to be at least #{exp}","expected #{this} to be below #{exp}",e)}i(As,"assertLeast");z(As,"assertLeast");q.addMethod("least",As);q.addMethod("gte",As);q.addMethod("greaterThanOrEqual",As);function Rs(e,t){t&&U(this,"message",t);let r=U(this,"object"),n=U(this,"doLength"),o=U(this,"message"),s=o?o+": ":"",a=U(this,"ssfi"),c=xe(r).toLowerCase(),u=xe(e).toLowerCase(),d,p=!0;if(n&&c!=="map"&&c!=="set"&&new q(r,o,a,!0).to.have.property("length"),!n&&c==="date"&&u!=="date")d=s+"the argument to below must be a date";else if(!rt(e)&&(n||rt(r)))d=s+"the argument to below must be a number";else if(!n&&c!=="date"&&!rt(r)){let f=c==="string"?"'"+r+"'":r;d=s+"expected "+f+" to be a number or a date"}else p=!1;if(p)throw new Ae(d,void 0,a);if(n){let f="length",h;c==="map"||c==="set"?(f="size",h=r.size):h=r.length,this.assert(h<e,"expected #{this} to have a "+f+" below #{exp} but got #{act}","expected #{this} to not have a "+f+" below #{exp}",e,h)}else this.assert(r<e,"expected #{this} to be below #{exp}","expected #{this} to be at least #{exp}",e)}i(Rs,"assertBelow");z(Rs,"assertBelow");q.addMethod("below",Rs);q.addMethod("lt",Rs);q.addMethod("lessThan",Rs);function Os(e,t){t&&U(this,"message",t);let r=U(this,"object"),n=U(this,"doLength"),o=U(this,"message"),s=o?o+": ":"",a=U(this,"ssfi"),c=xe(r).toLowerCase(),u=xe(e).toLowerCase(),d,p=!0;if(n&&c!=="map"&&c!=="set"&&new q(r,o,a,!0).to.have.property("length"),!n&&c==="date"&&u!=="date")d=s+"the argument to most must be a date";else if(!rt(e)&&(n||rt(r)))d=s+"the argument to most must be a number";else if(!n&&c!=="date"&&!rt(r)){let f=c==="string"?"'"+r+"'":r;d=s+"expected "+f+" to be a number or a date"}else p=!1;if(p)throw new Ae(d,void 0,a);if(n){let f="length",h;c==="map"||c==="set"?(f="size",h=r.size):h=r.length,this.assert(h<=e,"expected #{this} to have a "+f+" at most #{exp} but got #{act}","expected #{this} to have a "+f+" above #{exp}",e,h)}else this.assert(r<=e,"expected #{this} to be at most #{exp}","expected #{this} to be above #{exp}",e)}i(Os,"assertMost");z(Os,"assertMost");q.addMethod("most",Os);q.addMethod("lte",Os);q.addMethod("lessThanOrEqual",Os);q.addMethod("within",function(e,t,r){r&&U(this,"message",r);let n=U(this,"object"),o=U(this,"doLength"),s=U(this,"message"),a=s?s+": ":"",c=U(this,"ssfi"),u=xe(n).toLowerCase(),d=xe(e).toLowerCase(),p=xe(t).toLowerCase(),f,h=!0,y=d==="date"&&p==="date"?e.toISOString()+".."+t.toISOString():e+".."+t;if(o&&u!=="map"&&u!=="set"&&new q(n,s,c,!0).to.have.property("length"),!o&&u==="date"&&(d!=="date"||p!=="date"))f=a+"the arguments to within must be dates";else if((!rt(e)||!rt(t))&&(o||rt(n)))f=a+"the arguments to within must be numbers";else if(!o&&u!=="date"&&!rt(n)){let g=u==="string"?"'"+n+"'":n;f=a+"expected "+g+" to be a number or a date"}else h=!1;if(h)throw new Ae(f,void 0,c);if(o){let g="length",E;u==="map"||u==="set"?(g="size",E=n.size):E=n.length,this.assert(E>=e&&E<=t,"expected #{this} to have a "+g+" within "+y,"expected #{this} to not have a "+g+" within "+y)}else this.assert(n>=e&&n<=t,"expected #{this} to be within "+y,"expected #{this} to not be within "+y)});function Ql(e,t){t&&U(this,"message",t);let r=U(this,"object"),n=U(this,"ssfi"),o=U(this,"message"),s;try{s=r instanceof e}catch(c){throw c instanceof TypeError?(o=o?o+": ":"",new Ae(o+"The instanceof assertion needs a constructor but "+xe(e)+" was given.",void 0,n)):c}let a=_s(e);a==null&&(a="an unnamed constructor"),this.assert(s,"expected #{this} to be an instance of "+a,"expected #{this} to not be an instance of "+a)}i(Ql,"assertInstanceOf");z(Ql,"assertInstanceOf");q.addMethod("instanceof",Ql);q.addMethod("instanceOf",Ql);function Zl(e,t,r){r&&U(this,"message",r);let n=U(this,"nested"),o=U(this,"own"),s=U(this,"message"),a=U(this,"object"),c=U(this,"ssfi"),u=typeof e;if(s=s?s+": ":"",n){if(u!=="string")throw new Ae(s+"the argument to property must be a string when using nested syntax",void 0,c)}else if(u!=="string"&&u!=="number"&&u!=="symbol")throw new Ae(s+"the argument to property must be a string, number, or symbol",void 0,c);if(n&&o)throw new Ae(s+'The "nested" and "own" flags cannot be combined.',void 0,c);if(a==null)throw new Ae(s+"Target cannot be null or undefined.",void 0,c);let d=U(this,"deep"),p=U(this,"negate"),f=n?Ll(a,e):null,h=n?f.value:a[e],y=d?U(this,"eql"):(T,v)=>T===v,g="";d&&(g+="deep "),o&&(g+="own "),n&&(g+="nested "),g+="property ";let E;o?E=Object.prototype.hasOwnProperty.call(a,e):n?E=f.exists:E=ws(a,e),(!p||arguments.length===1)&&this.assert(E,"expected #{this} to have "+g+we(e),"expected #{this} to not have "+g+we(e)),arguments.length>1&&this.assert(E&&y(t,h),"expected #{this} to have "+g+we(e)+" of #{exp}, but got #{act}","expected #{this} to not have "+g+we(e)+" of #{act}",t,h),U(this,"object",h)}i(Zl,"assertProperty");z(Zl,"assertProperty");q.addMethod("property",Zl);function ec(e,t,r){U(this,"own",!0),Zl.apply(this,arguments)}i(ec,"assertOwnProperty");z(ec,"assertOwnProperty");q.addMethod("ownProperty",ec);q.addMethod("haveOwnProperty",ec);function tc(e,t,r){typeof t=="string"&&(r=t,t=null),r&&U(this,"message",r);let n=U(this,"object"),o=Object.getOwnPropertyDescriptor(Object(n),e),s=U(this,"eql");o&&t?this.assert(s(t,o),"expected the own property descriptor for "+we(e)+" on #{this} to match "+we(t)+", got "+we(o),"expected the own property descriptor for "+we(e)+" on #{this} to not match "+we(t),t,o,!0):this.assert(o,"expected #{this} to have an own property descriptor for "+we(e),"expected #{this} to not have an own property descriptor for "+we(e)),U(this,"object",o)}i(tc,"assertOwnPropertyDescriptor");z(tc,"assertOwnPropertyDescriptor");q.addMethod("ownPropertyDescriptor",tc);q.addMethod("haveOwnPropertyDescriptor",tc);function rc(){U(this,"doLength",!0)}i(rc,"assertLengthChain");z(rc,"assertLengthChain");function nc(e,t){t&&U(this,"message",t);let r=U(this,"object"),n=xe(r).toLowerCase(),o=U(this,"message"),s=U(this,"ssfi"),a="length",c;switch(n){case"map":case"set":a="size",c=r.size;break;default:new q(r,o,s,!0).to.have.property("length"),c=r.length}this.assert(c==e,"expected #{this} to have a "+a+" of #{exp} but got #{act}","expected #{this} to not have a "+a+" of #{act}",e,c)}i(nc,"assertLength");z(nc,"assertLength");q.addChainableMethod("length",nc,rc);q.addChainableMethod("lengthOf",nc,rc);function oc(e,t){t&&U(this,"message",t);let r=U(this,"object");this.assert(e.exec(r),"expected #{this} to match "+e,"expected #{this} not to match "+e)}i(oc,"assertMatch");z(oc,"assertMatch");q.addMethod("match",oc);q.addMethod("matches",oc);q.addMethod("string",function(e,t){t&&U(this,"message",t);let r=U(this,"object"),n=U(this,"message"),o=U(this,"ssfi");new q(r,n,o,!0).is.a("string"),this.assert(~r.indexOf(e),"expected #{this} to contain "+we(e),"expected #{this} to not contain "+we(e))});function ic(e){let t=U(this,"object"),r=xe(t),n=xe(e),o=U(this,"ssfi"),s=U(this,"deep"),a,c="",u,d=!0,p=U(this,"message");p=p?p+": ":"";let f=p+"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")c=s?"deeply ":"",u=[],t.forEach(function(v,_){u.push(_)}),n!=="Array"&&(e=Array.prototype.slice.call(arguments));else{switch(u=zl(t),n){case"Array":if(arguments.length>1)throw new Ae(f,void 0,o);break;case"Object":if(arguments.length>1)throw new Ae(f,void 0,o);e=Object.keys(e);break;default:e=Array.prototype.slice.call(arguments)}e=e.map(function(v){return typeof v=="symbol"?v:String(v)})}if(!e.length)throw new Ae(p+"keys required",void 0,o);let h=e.length,y=U(this,"any"),g=U(this,"all"),E=e,T=s?U(this,"eql"):(v,_)=>v===_;if(!y&&!g&&(g=!0),y&&(d=E.some(function(v){return u.some(function(_){return T(v,_)})})),g&&(d=E.every(function(v){return u.some(function(_){return T(v,_)})}),U(this,"contains")||(d=d&&e.length==u.length)),h>1){e=e.map(function(_){return we(_)});let v=e.pop();g&&(a=e.join(", ")+", and "+v),y&&(a=e.join(", ")+", or "+v)}else a=we(e[0]);a=(h>1?"keys ":"key ")+a,a=(U(this,"contains")?"contain ":"have ")+a,this.assert(d,"expected #{this} to "+c+a,"expected #{this} to not "+c+a,E.slice(0).sort(Xi),u.sort(Xi),!0)}i(ic,"assertKeys");z(ic,"assertKeys");q.addMethod("keys",ic);q.addMethod("key",ic);function Cs(e,t,r){r&&U(this,"message",r);let n=U(this,"object"),o=U(this,"ssfi"),s=U(this,"message"),a=U(this,"negate")||!1;new q(n,s,o,!0).is.a("function"),(Qi(e)||typeof e=="string")&&(t=e,e=null);let c,u=!1;try{n()}catch(y){u=!0,c=y}let d=e===void 0&&t===void 0,p=!!(e&&t),f=!1,h=!1;if(d||!d&&!a){let y="an error";e instanceof Error?y="#{exp}":e&&(y=Pt.getConstructorName(e));let g=c;if(c instanceof Error)g=c.toString();else if(typeof c=="string")g=c;else if(c&&(typeof c=="object"||typeof c=="function"))try{g=Pt.getConstructorName(c)}catch{}this.assert(u,"expected #{this} to throw "+y,"expected #{this} to not throw an error but #{act} was thrown",e&&e.toString(),g)}if(e&&c&&(e instanceof Error&&Pt.compatibleInstance(c,e)===a&&(p&&a?f=!0:this.assert(a,"expected #{this} to throw #{exp} but #{act} was thrown","expected #{this} to not throw #{exp}"+(c&&!a?" but #{act} was thrown":""),e.toString(),c.toString())),Pt.compatibleConstructor(c,e)===a&&(p&&a?f=!0:this.assert(a,"expected #{this} to throw #{exp} but #{act} was thrown","expected #{this} to not throw #{exp}"+(c?" but #{act} was thrown":""),e instanceof Error?e.toString():e&&Pt.getConstructorName(e),c instanceof Error?c.toString():c&&Pt.getConstructorName(c)))),c&&t!==void 0&&t!==null){let y="including";Qi(t)&&(y="matching"),Pt.compatibleMessage(c,t)===a&&(p&&a?h=!0:this.assert(a,"expected #{this} to throw error "+y+" #{exp} but got #{act}","expected #{this} to throw error not "+y+" #{exp}",t,Pt.getMessage(c)))}f&&h&&this.assert(a,"expected #{this} to throw #{exp} but #{act} was thrown","expected #{this} to not throw #{exp}"+(c?" but #{act} was thrown":""),e instanceof Error?e.toString():e&&Pt.getConstructorName(e),c instanceof Error?c.toString():c&&Pt.getConstructorName(c)),U(this,"object",c)}i(Cs,"assertThrows");z(Cs,"assertThrows");q.addMethod("throw",Cs);q.addMethod("throws",Cs);q.addMethod("Throw",Cs);function sc(e,t){t&&U(this,"message",t);let r=U(this,"object"),n=U(this,"itself"),o=typeof r=="function"&&!n?r.prototype[e]:r[e];this.assert(typeof o=="function","expected #{this} to respond to "+we(e),"expected #{this} to not respond to "+we(e))}i(sc,"respondTo");z(sc,"respondTo");q.addMethod("respondTo",sc);q.addMethod("respondsTo",sc);q.addProperty("itself",function(){U(this,"itself",!0)});function ac(e,t){t&&U(this,"message",t);let r=U(this,"object"),n=e(r);this.assert(n,"expected #{this} to satisfy "+Fr(e),"expected #{this} to not satisfy"+Fr(e),!U(this,"negate"),n)}i(ac,"satisfy");z(ac,"satisfy");q.addMethod("satisfy",ac);q.addMethod("satisfies",ac);function lc(e,t,r){r&&U(this,"message",r);let n=U(this,"object"),o=U(this,"message"),s=U(this,"ssfi");new q(n,o,s,!0).is.numeric;let a="A `delta` value is required for `closeTo`";if(t==null)throw new Ae(o?`${o}: ${a}`:a,void 0,s);if(new q(t,o,s,!0).is.numeric,a="A `expected` value is required for `closeTo`",e==null)throw new Ae(o?`${o}: ${a}`:a,void 0,s);new q(e,o,s,!0).is.numeric;const c=z(d=>d<0n?-d:d,"abs"),u=z(d=>parseFloat(parseFloat(d).toPrecision(12)),"strip");this.assert(u(c(n-e))<=t,"expected #{this} to be close to "+e+" +/- "+t,"expected #{this} not to be close to "+e+" +/- "+t)}i(lc,"closeTo");z(lc,"closeTo");q.addMethod("closeTo",lc);q.addMethod("approximately",lc);function dm(e,t,r,n,o){let s=Array.from(t),a=Array.from(e);if(!n){if(a.length!==s.length)return!1;s=s.slice()}return a.every(function(c,u){if(o)return r?r(c,s[u]):c===s[u];if(!r){let d=s.indexOf(c);return d===-1?!1:(n||s.splice(d,1),!0)}return s.some(function(d,p){return r(c,d)?(n||s.splice(p,1),!0):!1})})}i(dm,"isSubsetOf");z(dm,"isSubsetOf");q.addMethod("members",function(e,t){t&&U(this,"message",t);let r=U(this,"object"),n=U(this,"message"),o=U(this,"ssfi");new q(r,n,o,!0).to.be.iterable,new q(e,n,o,!0).to.be.iterable;let s=U(this,"contains"),a=U(this,"ordered"),c,u,d;s?(c=a?"an ordered superset":"a superset",u="expected #{this} to be "+c+" of #{exp}",d="expected #{this} to not be "+c+" of #{exp}"):(c=a?"ordered members":"members",u="expected #{this} to have the same "+c+" as #{exp}",d="expected #{this} to not have the same "+c+" as #{exp}");let p=U(this,"deep")?U(this,"eql"):void 0;this.assert(dm(e,r,p,s,a),u,d,e,r,!0)});q.addProperty("iterable",function(e){e&&U(this,"message",e);let t=U(this,"object");this.assert(t!=null&&t[Symbol.iterator],"expected #{this} to be an iterable","expected #{this} to not be an iterable",t)});function pm(e,t){t&&U(this,"message",t);let r=U(this,"object"),n=U(this,"message"),o=U(this,"ssfi"),s=U(this,"contains"),a=U(this,"deep"),c=U(this,"eql");new q(e,n,o,!0).to.be.an("array"),s?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 c(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)}i(pm,"oneOf");z(pm,"oneOf");q.addMethod("oneOf",pm);function cc(e,t,r){r&&U(this,"message",r);let n=U(this,"object"),o=U(this,"message"),s=U(this,"ssfi");new q(n,o,s,!0).is.a("function");let a;t?(new q(e,o,s,!0).to.have.property(t),a=e[t]):(new q(e,o,s,!0).is.a("function"),a=e()),n();let c=t==null?e():e[t],u=t==null?a:"."+t;U(this,"deltaMsgObj",u),U(this,"initialDeltaValue",a),U(this,"finalDeltaValue",c),U(this,"deltaBehavior","change"),U(this,"realDelta",c!==a),this.assert(a!==c,"expected "+u+" to change","expected "+u+" to not change")}i(cc,"assertChanges");z(cc,"assertChanges");q.addMethod("change",cc);q.addMethod("changes",cc);function uc(e,t,r){r&&U(this,"message",r);let n=U(this,"object"),o=U(this,"message"),s=U(this,"ssfi");new q(n,o,s,!0).is.a("function");let a;t?(new q(e,o,s,!0).to.have.property(t),a=e[t]):(new q(e,o,s,!0).is.a("function"),a=e()),new q(a,o,s,!0).is.a("number"),n();let c=t==null?e():e[t],u=t==null?a:"."+t;U(this,"deltaMsgObj",u),U(this,"initialDeltaValue",a),U(this,"finalDeltaValue",c),U(this,"deltaBehavior","increase"),U(this,"realDelta",c-a),this.assert(c-a>0,"expected "+u+" to increase","expected "+u+" to not increase")}i(uc,"assertIncreases");z(uc,"assertIncreases");q.addMethod("increase",uc);q.addMethod("increases",uc);function dc(e,t,r){r&&U(this,"message",r);let n=U(this,"object"),o=U(this,"message"),s=U(this,"ssfi");new q(n,o,s,!0).is.a("function");let a;t?(new q(e,o,s,!0).to.have.property(t),a=e[t]):(new q(e,o,s,!0).is.a("function"),a=e()),new q(a,o,s,!0).is.a("number"),n();let c=t==null?e():e[t],u=t==null?a:"."+t;U(this,"deltaMsgObj",u),U(this,"initialDeltaValue",a),U(this,"finalDeltaValue",c),U(this,"deltaBehavior","decrease"),U(this,"realDelta",a-c),this.assert(c-a<0,"expected "+u+" to decrease","expected "+u+" to not decrease")}i(dc,"assertDecreases");z(dc,"assertDecreases");q.addMethod("decrease",dc);q.addMethod("decreases",dc);function fm(e,t){t&&U(this,"message",t);let r=U(this,"deltaMsgObj"),n=U(this,"initialDeltaValue"),o=U(this,"finalDeltaValue"),s=U(this,"deltaBehavior"),a=U(this,"realDelta"),c;s==="change"?c=Math.abs(o-n)===Math.abs(e):c=a===Math.abs(e),this.assert(c,"expected "+r+" to "+s+" by "+e,"expected "+r+" to not "+s+" by "+e)}i(fm,"assertDelta");z(fm,"assertDelta");q.addMethod("by",fm);q.addProperty("extensible",function(){let e=U(this,"object"),t=e===Object(e)&&Object.isExtensible(e);this.assert(t,"expected #{this} to be extensible","expected #{this} to not be extensible")});q.addProperty("sealed",function(){let e=U(this,"object"),t=e===Object(e)?Object.isSealed(e):!0;this.assert(t,"expected #{this} to be sealed","expected #{this} to not be sealed")});q.addProperty("frozen",function(){let e=U(this,"object"),t=e===Object(e)?Object.isFrozen(e):!0;this.assert(t,"expected #{this} to be frozen","expected #{this} to not be frozen")});q.addProperty("finite",function(e){let t=U(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 Zi(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 Zi(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?Zi(n,o):typeof n=="function"?n(o):o===n}):!1}i(Zi,"compareSubset");z(Zi,"compareSubset");q.addMethod("containSubset",function(e){const t=me(this,"object"),r=bt.showDiff;this.assert(Zi(e,t),"expected #{act} to contain subset #{exp}","expected #{act} to not contain subset #{exp}",e,t,r)});function $r(e,t){return new q(e,t)}i($r,"expect");z($r,"expect");$r.fail=function(e,t,r,n){throw arguments.length<2&&(r=e,e=void 0),r=r||"expect.fail()",new Ae(r,{actual:e,expected:t,operator:n},$r.fail)};var sS={};Cf(sS,{Should:i(()=>U$,"Should"),should:i(()=>J$,"should")});function pc(){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 q(this.valueOf(),null,e):new q(this,null,e)}i(e,"shouldGetter"),z(e,"shouldGetter");function t(n){Object.defineProperty(this,"should",{value:n,enumerable:!0,configurable:!0,writable:!0})}i(t,"shouldSetter"),z(t,"shouldSetter"),Object.defineProperty(Object.prototype,"should",{set:t,get:e,configurable:!0});let r={};return r.fail=function(n,o,s,a){throw arguments.length<2&&(s=n,n=void 0),s=s||"should.fail()",new Ae(s,{actual:n,expected:o,operator:a},r.fail)},r.equal=function(n,o,s){new q(n,s).to.equal(o)},r.Throw=function(n,o,s,a){new q(n,a).to.Throw(o,s)},r.exist=function(n,o){new q(n,o).to.exist},r.not={},r.not.equal=function(n,o,s){new q(n,s).to.not.equal(o)},r.not.Throw=function(n,o,s,a){new q(n,a).to.not.Throw(o,s)},r.not.exist=function(n,o){new q(n,o).to.not.exist},r.throw=r.Throw,r.not.throw=r.not.Throw,r}i(pc,"loadShould");z(pc,"loadShould");var J$=pc,U$=pc;function M(e,t){new q(null,null,M,!0).assert(e,t,"[ negation message unavailable ]")}i(M,"assert");z(M,"assert");M.fail=function(e,t,r,n){throw arguments.length<2&&(r=e,e=void 0),r=r||"assert.fail()",new Ae(r,{actual:e,expected:t,operator:n},M.fail)};M.isOk=function(e,t){new q(e,t,M.isOk,!0).is.ok};M.isNotOk=function(e,t){new q(e,t,M.isNotOk,!0).is.not.ok};M.equal=function(e,t,r){let n=new q(e,r,M.equal,!0);n.assert(t==me(n,"object"),"expected #{this} to equal #{exp}","expected #{this} to not equal #{act}",t,e,!0)};M.notEqual=function(e,t,r){let n=new q(e,r,M.notEqual,!0);n.assert(t!=me(n,"object"),"expected #{this} to not equal #{exp}","expected #{this} to equal #{act}",t,e,!0)};M.strictEqual=function(e,t,r){new q(e,r,M.strictEqual,!0).to.equal(t)};M.notStrictEqual=function(e,t,r){new q(e,r,M.notStrictEqual,!0).to.not.equal(t)};M.deepEqual=M.deepStrictEqual=function(e,t,r){new q(e,r,M.deepEqual,!0).to.eql(t)};M.notDeepEqual=function(e,t,r){new q(e,r,M.notDeepEqual,!0).to.not.eql(t)};M.isAbove=function(e,t,r){new q(e,r,M.isAbove,!0).to.be.above(t)};M.isAtLeast=function(e,t,r){new q(e,r,M.isAtLeast,!0).to.be.least(t)};M.isBelow=function(e,t,r){new q(e,r,M.isBelow,!0).to.be.below(t)};M.isAtMost=function(e,t,r){new q(e,r,M.isAtMost,!0).to.be.most(t)};M.isTrue=function(e,t){new q(e,t,M.isTrue,!0).is.true};M.isNotTrue=function(e,t){new q(e,t,M.isNotTrue,!0).to.not.equal(!0)};M.isFalse=function(e,t){new q(e,t,M.isFalse,!0).is.false};M.isNotFalse=function(e,t){new q(e,t,M.isNotFalse,!0).to.not.equal(!1)};M.isNull=function(e,t){new q(e,t,M.isNull,!0).to.equal(null)};M.isNotNull=function(e,t){new q(e,t,M.isNotNull,!0).to.not.equal(null)};M.isNaN=function(e,t){new q(e,t,M.isNaN,!0).to.be.NaN};M.isNotNaN=function(e,t){new q(e,t,M.isNotNaN,!0).not.to.be.NaN};M.exists=function(e,t){new q(e,t,M.exists,!0).to.exist};M.notExists=function(e,t){new q(e,t,M.notExists,!0).to.not.exist};M.isUndefined=function(e,t){new q(e,t,M.isUndefined,!0).to.equal(void 0)};M.isDefined=function(e,t){new q(e,t,M.isDefined,!0).to.not.equal(void 0)};M.isCallable=function(e,t){new q(e,t,M.isCallable,!0).is.callable};M.isNotCallable=function(e,t){new q(e,t,M.isNotCallable,!0).is.not.callable};M.isObject=function(e,t){new q(e,t,M.isObject,!0).to.be.a("object")};M.isNotObject=function(e,t){new q(e,t,M.isNotObject,!0).to.not.be.a("object")};M.isArray=function(e,t){new q(e,t,M.isArray,!0).to.be.an("array")};M.isNotArray=function(e,t){new q(e,t,M.isNotArray,!0).to.not.be.an("array")};M.isString=function(e,t){new q(e,t,M.isString,!0).to.be.a("string")};M.isNotString=function(e,t){new q(e,t,M.isNotString,!0).to.not.be.a("string")};M.isNumber=function(e,t){new q(e,t,M.isNumber,!0).to.be.a("number")};M.isNotNumber=function(e,t){new q(e,t,M.isNotNumber,!0).to.not.be.a("number")};M.isNumeric=function(e,t){new q(e,t,M.isNumeric,!0).is.numeric};M.isNotNumeric=function(e,t){new q(e,t,M.isNotNumeric,!0).is.not.numeric};M.isFinite=function(e,t){new q(e,t,M.isFinite,!0).to.be.finite};M.isBoolean=function(e,t){new q(e,t,M.isBoolean,!0).to.be.a("boolean")};M.isNotBoolean=function(e,t){new q(e,t,M.isNotBoolean,!0).to.not.be.a("boolean")};M.typeOf=function(e,t,r){new q(e,r,M.typeOf,!0).to.be.a(t)};M.notTypeOf=function(e,t,r){new q(e,r,M.notTypeOf,!0).to.not.be.a(t)};M.instanceOf=function(e,t,r){new q(e,r,M.instanceOf,!0).to.be.instanceOf(t)};M.notInstanceOf=function(e,t,r){new q(e,r,M.notInstanceOf,!0).to.not.be.instanceOf(t)};M.include=function(e,t,r){new q(e,r,M.include,!0).include(t)};M.notInclude=function(e,t,r){new q(e,r,M.notInclude,!0).not.include(t)};M.deepInclude=function(e,t,r){new q(e,r,M.deepInclude,!0).deep.include(t)};M.notDeepInclude=function(e,t,r){new q(e,r,M.notDeepInclude,!0).not.deep.include(t)};M.nestedInclude=function(e,t,r){new q(e,r,M.nestedInclude,!0).nested.include(t)};M.notNestedInclude=function(e,t,r){new q(e,r,M.notNestedInclude,!0).not.nested.include(t)};M.deepNestedInclude=function(e,t,r){new q(e,r,M.deepNestedInclude,!0).deep.nested.include(t)};M.notDeepNestedInclude=function(e,t,r){new q(e,r,M.notDeepNestedInclude,!0).not.deep.nested.include(t)};M.ownInclude=function(e,t,r){new q(e,r,M.ownInclude,!0).own.include(t)};M.notOwnInclude=function(e,t,r){new q(e,r,M.notOwnInclude,!0).not.own.include(t)};M.deepOwnInclude=function(e,t,r){new q(e,r,M.deepOwnInclude,!0).deep.own.include(t)};M.notDeepOwnInclude=function(e,t,r){new q(e,r,M.notDeepOwnInclude,!0).not.deep.own.include(t)};M.match=function(e,t,r){new q(e,r,M.match,!0).to.match(t)};M.notMatch=function(e,t,r){new q(e,r,M.notMatch,!0).to.not.match(t)};M.property=function(e,t,r){new q(e,r,M.property,!0).to.have.property(t)};M.notProperty=function(e,t,r){new q(e,r,M.notProperty,!0).to.not.have.property(t)};M.propertyVal=function(e,t,r,n){new q(e,n,M.propertyVal,!0).to.have.property(t,r)};M.notPropertyVal=function(e,t,r,n){new q(e,n,M.notPropertyVal,!0).to.not.have.property(t,r)};M.deepPropertyVal=function(e,t,r,n){new q(e,n,M.deepPropertyVal,!0).to.have.deep.property(t,r)};M.notDeepPropertyVal=function(e,t,r,n){new q(e,n,M.notDeepPropertyVal,!0).to.not.have.deep.property(t,r)};M.ownProperty=function(e,t,r){new q(e,r,M.ownProperty,!0).to.have.own.property(t)};M.notOwnProperty=function(e,t,r){new q(e,r,M.notOwnProperty,!0).to.not.have.own.property(t)};M.ownPropertyVal=function(e,t,r,n){new q(e,n,M.ownPropertyVal,!0).to.have.own.property(t,r)};M.notOwnPropertyVal=function(e,t,r,n){new q(e,n,M.notOwnPropertyVal,!0).to.not.have.own.property(t,r)};M.deepOwnPropertyVal=function(e,t,r,n){new q(e,n,M.deepOwnPropertyVal,!0).to.have.deep.own.property(t,r)};M.notDeepOwnPropertyVal=function(e,t,r,n){new q(e,n,M.notDeepOwnPropertyVal,!0).to.not.have.deep.own.property(t,r)};M.nestedProperty=function(e,t,r){new q(e,r,M.nestedProperty,!0).to.have.nested.property(t)};M.notNestedProperty=function(e,t,r){new q(e,r,M.notNestedProperty,!0).to.not.have.nested.property(t)};M.nestedPropertyVal=function(e,t,r,n){new q(e,n,M.nestedPropertyVal,!0).to.have.nested.property(t,r)};M.notNestedPropertyVal=function(e,t,r,n){new q(e,n,M.notNestedPropertyVal,!0).to.not.have.nested.property(t,r)};M.deepNestedPropertyVal=function(e,t,r,n){new q(e,n,M.deepNestedPropertyVal,!0).to.have.deep.nested.property(t,r)};M.notDeepNestedPropertyVal=function(e,t,r,n){new q(e,n,M.notDeepNestedPropertyVal,!0).to.not.have.deep.nested.property(t,r)};M.lengthOf=function(e,t,r){new q(e,r,M.lengthOf,!0).to.have.lengthOf(t)};M.hasAnyKeys=function(e,t,r){new q(e,r,M.hasAnyKeys,!0).to.have.any.keys(t)};M.hasAllKeys=function(e,t,r){new q(e,r,M.hasAllKeys,!0).to.have.all.keys(t)};M.containsAllKeys=function(e,t,r){new q(e,r,M.containsAllKeys,!0).to.contain.all.keys(t)};M.doesNotHaveAnyKeys=function(e,t,r){new q(e,r,M.doesNotHaveAnyKeys,!0).to.not.have.any.keys(t)};M.doesNotHaveAllKeys=function(e,t,r){new q(e,r,M.doesNotHaveAllKeys,!0).to.not.have.all.keys(t)};M.hasAnyDeepKeys=function(e,t,r){new q(e,r,M.hasAnyDeepKeys,!0).to.have.any.deep.keys(t)};M.hasAllDeepKeys=function(e,t,r){new q(e,r,M.hasAllDeepKeys,!0).to.have.all.deep.keys(t)};M.containsAllDeepKeys=function(e,t,r){new q(e,r,M.containsAllDeepKeys,!0).to.contain.all.deep.keys(t)};M.doesNotHaveAnyDeepKeys=function(e,t,r){new q(e,r,M.doesNotHaveAnyDeepKeys,!0).to.not.have.any.deep.keys(t)};M.doesNotHaveAllDeepKeys=function(e,t,r){new q(e,r,M.doesNotHaveAllDeepKeys,!0).to.not.have.all.deep.keys(t)};M.throws=function(e,t,r,n){(typeof t=="string"||t instanceof RegExp)&&(r=t,t=null);let o=new q(e,n,M.throws,!0).to.throw(t,r);return me(o,"object")};M.doesNotThrow=function(e,t,r,n){(typeof t=="string"||t instanceof RegExp)&&(r=t,t=null),new q(e,n,M.doesNotThrow,!0).to.not.throw(t,r)};M.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 Ae(n+'Invalid operator "'+t+'"',void 0,M.operator)}let s=new q(o,n,M.operator,!0);s.assert(me(s,"object")===!0,"expected "+we(e)+" to be "+t+" "+we(r),"expected "+we(e)+" to not be "+t+" "+we(r))};M.closeTo=function(e,t,r,n){new q(e,n,M.closeTo,!0).to.be.closeTo(t,r)};M.approximately=function(e,t,r,n){new q(e,n,M.approximately,!0).to.be.approximately(t,r)};M.sameMembers=function(e,t,r){new q(e,r,M.sameMembers,!0).to.have.same.members(t)};M.notSameMembers=function(e,t,r){new q(e,r,M.notSameMembers,!0).to.not.have.same.members(t)};M.sameDeepMembers=function(e,t,r){new q(e,r,M.sameDeepMembers,!0).to.have.same.deep.members(t)};M.notSameDeepMembers=function(e,t,r){new q(e,r,M.notSameDeepMembers,!0).to.not.have.same.deep.members(t)};M.sameOrderedMembers=function(e,t,r){new q(e,r,M.sameOrderedMembers,!0).to.have.same.ordered.members(t)};M.notSameOrderedMembers=function(e,t,r){new q(e,r,M.notSameOrderedMembers,!0).to.not.have.same.ordered.members(t)};M.sameDeepOrderedMembers=function(e,t,r){new q(e,r,M.sameDeepOrderedMembers,!0).to.have.same.deep.ordered.members(t)};M.notSameDeepOrderedMembers=function(e,t,r){new q(e,r,M.notSameDeepOrderedMembers,!0).to.not.have.same.deep.ordered.members(t)};M.includeMembers=function(e,t,r){new q(e,r,M.includeMembers,!0).to.include.members(t)};M.notIncludeMembers=function(e,t,r){new q(e,r,M.notIncludeMembers,!0).to.not.include.members(t)};M.includeDeepMembers=function(e,t,r){new q(e,r,M.includeDeepMembers,!0).to.include.deep.members(t)};M.notIncludeDeepMembers=function(e,t,r){new q(e,r,M.notIncludeDeepMembers,!0).to.not.include.deep.members(t)};M.includeOrderedMembers=function(e,t,r){new q(e,r,M.includeOrderedMembers,!0).to.include.ordered.members(t)};M.notIncludeOrderedMembers=function(e,t,r){new q(e,r,M.notIncludeOrderedMembers,!0).to.not.include.ordered.members(t)};M.includeDeepOrderedMembers=function(e,t,r){new q(e,r,M.includeDeepOrderedMembers,!0).to.include.deep.ordered.members(t)};M.notIncludeDeepOrderedMembers=function(e,t,r){new q(e,r,M.notIncludeDeepOrderedMembers,!0).to.not.include.deep.ordered.members(t)};M.oneOf=function(e,t,r){new q(e,r,M.oneOf,!0).to.be.oneOf(t)};M.isIterable=function(e,t){if(e==null||!e[Symbol.iterator])throw t=t?`${t} expected ${we(e)} to be an iterable`:`expected ${we(e)} to be an iterable`,new Ae(t,void 0,M.isIterable)};M.changes=function(e,t,r,n){arguments.length===3&&typeof t=="function"&&(n=r,r=null),new q(e,n,M.changes,!0).to.change(t,r)};M.changesBy=function(e,t,r,n,o){if(arguments.length===4&&typeof t=="function"){let s=n;n=r,o=s}else arguments.length===3&&(n=r,r=null);new q(e,o,M.changesBy,!0).to.change(t,r).by(n)};M.doesNotChange=function(e,t,r,n){return arguments.length===3&&typeof t=="function"&&(n=r,r=null),new q(e,n,M.doesNotChange,!0).to.not.change(t,r)};M.changesButNotBy=function(e,t,r,n,o){if(arguments.length===4&&typeof t=="function"){let s=n;n=r,o=s}else arguments.length===3&&(n=r,r=null);new q(e,o,M.changesButNotBy,!0).to.change(t,r).but.not.by(n)};M.increases=function(e,t,r,n){return arguments.length===3&&typeof t=="function"&&(n=r,r=null),new q(e,n,M.increases,!0).to.increase(t,r)};M.increasesBy=function(e,t,r,n,o){if(arguments.length===4&&typeof t=="function"){let s=n;n=r,o=s}else arguments.length===3&&(n=r,r=null);new q(e,o,M.increasesBy,!0).to.increase(t,r).by(n)};M.doesNotIncrease=function(e,t,r,n){return arguments.length===3&&typeof t=="function"&&(n=r,r=null),new q(e,n,M.doesNotIncrease,!0).to.not.increase(t,r)};M.increasesButNotBy=function(e,t,r,n,o){if(arguments.length===4&&typeof t=="function"){let s=n;n=r,o=s}else arguments.length===3&&(n=r,r=null);new q(e,o,M.increasesButNotBy,!0).to.increase(t,r).but.not.by(n)};M.decreases=function(e,t,r,n){return arguments.length===3&&typeof t=="function"&&(n=r,r=null),new q(e,n,M.decreases,!0).to.decrease(t,r)};M.decreasesBy=function(e,t,r,n,o){if(arguments.length===4&&typeof t=="function"){let s=n;n=r,o=s}else arguments.length===3&&(n=r,r=null);new q(e,o,M.decreasesBy,!0).to.decrease(t,r).by(n)};M.doesNotDecrease=function(e,t,r,n){return arguments.length===3&&typeof t=="function"&&(n=r,r=null),new q(e,n,M.doesNotDecrease,!0).to.not.decrease(t,r)};M.doesNotDecreaseBy=function(e,t,r,n,o){if(arguments.length===4&&typeof t=="function"){let s=n;n=r,o=s}else arguments.length===3&&(n=r,r=null);return new q(e,o,M.doesNotDecreaseBy,!0).to.not.decrease(t,r).by(n)};M.decreasesButNotBy=function(e,t,r,n,o){if(arguments.length===4&&typeof t=="function"){let s=n;n=r,o=s}else arguments.length===3&&(n=r,r=null);new q(e,o,M.decreasesButNotBy,!0).to.decrease(t,r).but.not.by(n)};M.ifError=function(e){if(e)throw e};M.isExtensible=function(e,t){new q(e,t,M.isExtensible,!0).to.be.extensible};M.isNotExtensible=function(e,t){new q(e,t,M.isNotExtensible,!0).to.not.be.extensible};M.isSealed=function(e,t){new q(e,t,M.isSealed,!0).to.be.sealed};M.isNotSealed=function(e,t){new q(e,t,M.isNotSealed,!0).to.not.be.sealed};M.isFrozen=function(e,t){new q(e,t,M.isFrozen,!0).to.be.frozen};M.isNotFrozen=function(e,t){new q(e,t,M.isNotFrozen,!0).to.not.be.frozen};M.isEmpty=function(e,t){new q(e,t,M.isEmpty,!0).to.be.empty};M.isNotEmpty=function(e,t){new q(e,t,M.isNotEmpty,!0).to.not.be.empty};M.containsSubset=function(e,t,r){new q(e,r).to.containSubset(t)};M.doesNotContainSubset=function(e,t,r){new q(e,r).to.not.containSubset(t)};var V$=[["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 V$)M[t]=M[e];var Bg=[];function yn(e){const t={use:yn,AssertionError:Ae,util:tr,config:bt,expect:$r,assert:M,Assertion:q,...sS};return~Bg.indexOf(e)||(e(t,tr),Bg.push(e)),t}i(yn,"use");z(yn,"use");var aS={};Tt(aS,{toBeChecked:()=>Wm,toBeDisabled:()=>$m,toBeEmpty:()=>Pm,toBeEmptyDOMElement:()=>Am,toBeEnabled:()=>Bm,toBeInTheDOM:()=>ja,toBeInTheDocument:()=>Sm,toBeInvalid:()=>Vm,toBePartiallyChecked:()=>Ym,toBePartiallyPressed:()=>th,toBePressed:()=>eh,toBeRequired:()=>Jm,toBeValid:()=>Hm,toBeVisible:()=>jm,toContainElement:()=>ka,toContainHTML:()=>Rm,toHaveAccessibleDescription:()=>Da,toHaveAccessibleErrorMessage:()=>Cm,toHaveAccessibleName:()=>Fa,toHaveAttribute:()=>xm,toHaveClass:()=>Nm,toHaveDescription:()=>Xm,toHaveDisplayValue:()=>Gm,toHaveErrorMessage:()=>Qm,toHaveFocus:()=>Im,toHaveFormValues:()=>Mm,toHaveRole:()=>La,toHaveSelection:()=>Zm,toHaveStyle:()=>$a,toHaveTextContent:()=>Om,toHaveValue:()=>zm});var Jg=Ge(cv(),1),lS=class extends Error{reason;filename;line;column;source;constructor(t,r,n,o,s){super(`${t}:${n}:${o}: ${r}`),this.reason=r,this.filename=t,this.line=n,this.column=o,this.source=s}};i(lS,"t");var H$=lS,cS=class{start;end;source;constructor(t,r,n){this.start=t,this.end=r,this.source=n}};i(cS,"e");var z$=cS,Ze;(function(e){e.stylesheet="stylesheet",e.rule="rule",e.declaration="declaration",e.comment="comment",e.container="container",e.charset="charset",e.document="document",e.customMedia="custom-media",e.fontFace="font-face",e.host="host",e.import="import",e.keyframes="keyframes",e.keyframe="keyframe",e.layer="layer",e.media="media",e.namespace="namespace",e.page="page",e.startingStyle="starting-style",e.supports="supports"})(Ze||(Ze={}));var Ug=i((e,t,r)=>{let n=r,o=1e4;do{const s=t.map(u=>e.indexOf(u,n));s.push(e.indexOf("\\",n));const a=s.filter(u=>u!==-1);if(a.length===0)return-1;const c=Math.min(...a);if(e[c]!=="\\")return c;n=c+2,o--}while(o>0);throw new Error("Too many escaping")},"s"),td=i((e,t,r)=>{let n=r,o=1e4;do{const s=t.map(u=>e.indexOf(u,n));s.push(e.indexOf("(",n)),s.push(e.indexOf('"',n)),s.push(e.indexOf("'",n)),s.push(e.indexOf("\\",n));const a=s.filter(u=>u!==-1);if(a.length===0)return-1;const c=Math.min(...a);switch(e[c]){case"\\":n=c+2;break;case"(":{const u=td(e,[")"],c+1);if(u===-1)return-1;n=u+1}break;case'"':{const u=Ug(e,['"'],c+1);if(u===-1)return-1;n=u+1}break;case"'":{const u=Ug(e,["'"],c+1);if(u===-1)return-1;n=u+1}break;default:return c}o--}while(o>0);throw new Error("Too many escaping")},"n"),du=/\/\*[^]*?(?:\*\/|$)/g;function _t(e){return e?e.trim():""}i(_t,"o");function qa(e,t){const r=e&&typeof e.type=="string",n=r?e:t;for(const o in e){const s=e[o];Array.isArray(s)?s.forEach(a=>{qa(a,n)}):s&&typeof s=="object"&&qa(s,n)}return r&&Object.defineProperty(e,"parent",{configurable:!0,writable:!0,enumerable:!1,value:t||null}),e}i(qa,"c");var G$=i((e,t)=>{t=t||{};let r=1,n=1;function o(){const w={line:r,column:n};return S=>(S.position=new z$(w,{line:r,column:n},t?.source||""),f(),S)}i(o,"u");const s=[];function a(w){const S=new H$(t?.source||"",w,r,n,e);if(!t?.silent)throw S;s.push(S)}i(a,"l");function c(){const w=/^{\s*/.exec(e);return!!w&&(p(w),!0)}i(c,"f");function u(){const w=/^}/.exec(e);return!!w&&(p(w),!0)}i(u,"d");function d(){let w;const S=[];for(f(),h(S);e.length&&e.charAt(0)!=="}"&&(w=C()||P(),w);)S.push(w),h(S);return S}i(d,"y");function p(w){const S=w[0];return(function(k){const I=k.match(/\n/g);I&&(r+=I.length);const V=k.lastIndexOf(`
209
+ `);n=~V?k.length-V:n+k.length})(S),e=e.slice(S.length),w}i(p,"g");function f(){const w=/^\s*/.exec(e);w&&p(w)}i(f,"$");function h(w){w=w||[];let S=y();for(;S;)w.push(S),S=y();return w}i(h,"x");function y(){const w=o();if(e.charAt(0)!=="/"||e.charAt(1)!=="*")return;const S=/^\/\*[^]*?\*\//.exec(e);return S?(p(S),w({type:Ze.comment,comment:S[0].slice(2,-2)})):a("End of comment missing")}i(y,"V");function g(){const w=/^([^{]+)/.exec(e);if(w)return p(w),((S,k)=>{const I=[];let V=0;for(;V<S.length;){const H=td(S,k,V);if(H===-1)return I.push(S.substring(V)),I;I.push(S.substring(V,H)),V=H+1}return I})(_t(w[0]).replace(du,""),[","]).map(S=>_t(S))}i(g,"k");function E(){const w=o(),S=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/.exec(e);if(!S)return;p(S);const k=_t(S[0]),I=/^:\s*/.exec(e);if(!I)return a("property missing ':'");p(I);let V="";const H=td(e,[";","}"]);H!==-1&&(V=e.substring(0,H),p([V]),V=_t(V).replace(du,""));const A=w({type:Ze.declaration,property:k.replace(du,""),value:V}),L=/^[;\s]*/.exec(e);return L&&p(L),A}i(E,"v");function T(){const w=[];if(!c())return a("missing '{'");h(w);let S=E();for(;S;)w.push(S),h(w),S=E();return u()?w:a("missing '}'")}i(T,"w");function v(){const w=[],S=o();let k=/^((\d+\.\d+|\.\d+|\d+)%?|[a-z]+)\s*/.exec(e);for(;k;){const I=p(k);w.push(I[1]);const V=/^,\s*/.exec(e);V&&p(V),k=/^((\d+\.\d+|\.\d+|\d+)%?|[a-z]+)\s*/.exec(e)}if(w.length)return S({type:Ze.keyframe,values:w,declarations:T()||[]})}i(v,"b");const _=j("import"),R=j("charset"),N=j("namespace");function j(w){const S=new RegExp("^@"+w+`\\s*((?::?[^;'"]|"(?:\\\\"|[^"])*?"|'(?:\\\\'|[^'])*?')+)(?:;|$)`);return()=>{const k=o(),I=S.exec(e);if(!I)return;const V=p(I),H={type:w};return H[w]=V[1].trim(),k(H)}}i(j,"M");function C(){if(e[0]==="@")return(function(){const w=o(),S=/^@([-\w]+)?keyframes\s*/.exec(e);if(!S)return;const k=p(S)[1],I=/^([-\w]+)\s*/.exec(e);if(!I)return a("@keyframes missing name");const V=p(I)[1];if(!c())return a("@keyframes missing '{'");let H=h(),A=v();for(;A;)H.push(A),H=H.concat(h()),A=v();return u()?w({type:Ze.keyframes,name:V,vendor:k,keyframes:H}):a("@keyframes missing '}'")})()||(function(){const w=o(),S=/^@media *([^{]+)/.exec(e);if(!S)return;const k=_t(p(S)[1]);if(!c())return a("@media missing '{'");const I=h().concat(d());return u()?w({type:Ze.media,media:k,rules:I}):a("@media missing '}'")})()||(function(){const w=o(),S=/^@custom-media\s+(--\S+)\s+([^{;\s][^{;]*);/.exec(e);if(!S)return;const k=p(S);return w({type:Ze.customMedia,name:_t(k[1]),media:_t(k[2])})})()||(function(){const w=o(),S=/^@supports *([^{]+)/.exec(e);if(!S)return;const k=_t(p(S)[1]);if(!c())return a("@supports missing '{'");const I=h().concat(d());return u()?w({type:Ze.supports,supports:k,rules:I}):a("@supports missing '}'")})()||_()||R()||N()||(function(){const w=o(),S=/^@([-\w]+)?document *([^{]+)/.exec(e);if(!S)return;const k=p(S),I=_t(k[1]),V=_t(k[2]);if(!c())return a("@document missing '{'");const H=h().concat(d());return u()?w({type:Ze.document,document:V,vendor:I,rules:H}):a("@document missing '}'")})()||(function(){const w=o(),S=/^@page */.exec(e);if(!S)return;p(S);const k=g()||[];if(!c())return a("@page missing '{'");let I=h(),V=E();for(;V;)I.push(V),I=I.concat(h()),V=E();return u()?w({type:Ze.page,selectors:k,declarations:I}):a("@page missing '}'")})()||(function(){const w=o(),S=/^@host\s*/.exec(e);if(!S)return;if(p(S),!c())return a("@host missing '{'");const k=h().concat(d());return u()?w({type:Ze.host,rules:k}):a("@host missing '}'")})()||(function(){const w=o(),S=/^@font-face\s*/.exec(e);if(!S)return;if(p(S),!c())return a("@font-face missing '{'");let k=h(),I=E();for(;I;)k.push(I),k=k.concat(h()),I=E();return u()?w({type:Ze.fontFace,declarations:k}):a("@font-face missing '}'")})()||(function(){const w=o(),S=/^@container *([^{]+)/.exec(e);if(!S)return;const k=_t(p(S)[1]);if(!c())return a("@container missing '{'");const I=h().concat(d());return u()?w({type:Ze.container,container:k,rules:I}):a("@container missing '}'")})()||(function(){const w=o(),S=/^@starting-style\s*/.exec(e);if(!S)return;if(p(S),!c())return a("@starting-style missing '{'");const k=h().concat(d());return u()?w({type:Ze.startingStyle,rules:k}):a("@starting-style missing '}'")})()||(function(){const w=o(),S=/^@layer *([^{;@]+)/.exec(e);if(!S)return;const k=_t(p(S)[1]);if(!c()){const V=/^[;\s]*/.exec(e);return V&&p(V),w({type:Ze.layer,layer:k})}const I=h().concat(d());return u()?w({type:Ze.layer,layer:k,rules:I}):a("@layer missing '}'")})()}i(C,"A");function P(){const w=o(),S=g();return S?(h(),w({type:Ze.rule,selectors:S,declarations:T()||[]})):a("selector missing")}return i(P,"S"),qa((function(){const w=d();return{type:Ze.stylesheet,stylesheet:{source:t?.source,rules:w,parsingErrors:s}}})())},"m"),W$=Object.prototype.toString;function rd(e){return typeof e=="function"||W$.call(e)==="[object Function]"}i(rd,"isCallable");function uS(e){var t=Number(e);return isNaN(t)?0:t===0||!isFinite(t)?t:(t>0?1:-1)*Math.floor(Math.abs(t))}i(uS,"toInteger");var K$=Math.pow(2,53)-1;function dS(e){var t=uS(e);return Math.min(Math.max(t,0),K$)}i(dS,"toLength");function jt(e,t){var r=Array,n=Object(e);if(e==null)throw new TypeError("Array.from requires an array-like object - not null or undefined");if(typeof t<"u"&&!rd(t))throw new TypeError("Array.from: when provided, the second argument must be a function");for(var o=dS(n.length),s=rd(r)?Object(new r(o)):new Array(o),a=0,c;a<o;)c=n[a],t?s[a]=t(c,a):s[a]=c,a+=1;return s.length=o,s}i(jt,"arrayFrom");function ho(e){"@babel/helpers - typeof";return ho=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},ho(e)}i(ho,"_typeof");function pS(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}i(pS,"_classCallCheck");function nd(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,mm(n.key),n)}}i(nd,"_defineProperties");function fS(e,t,r){return t&&nd(e.prototype,t),r&&nd(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}i(fS,"_createClass");function mS(e,t,r){return t=mm(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}i(mS,"_defineProperty");function mm(e){var t=hS(e,"string");return ho(t)==="symbol"?t:String(t)}i(mm,"_toPropertyKey");function hS(e,t){if(ho(e)!=="object"||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t||"default");if(ho(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}i(hS,"_toPrimitive");var Y$=(function(){function e(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];pS(this,e),mS(this,"items",void 0),this.items=t}return i(e,"SetLike"),fS(e,[{key:"add",value:i(function(r){return this.has(r)===!1&&this.items.push(r),this},"add")},{key:"clear",value:i(function(){this.items=[]},"clear")},{key:"delete",value:i(function(r){var n=this.items.length;return this.items=this.items.filter(function(o){return o!==r}),n!==this.items.length},"_delete")},{key:"forEach",value:i(function(r){var n=this;this.items.forEach(function(o){r(o,o,n)})},"forEach")},{key:"has",value:i(function(r){return this.items.indexOf(r)!==-1},"has")},{key:"size",get:i(function(){return this.items.length},"get")}]),e})(),X$=typeof Set>"u"?Set:Y$;function ct(e){var t;return(t=e.localName)!==null&&t!==void 0?t:e.tagName.toLowerCase()}i(ct,"getLocalName");var Q$={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"},Z$={caption:new Set(["aria-label","aria-labelledby"]),code:new Set(["aria-label","aria-labelledby"]),deletion:new Set(["aria-label","aria-labelledby"]),emphasis:new Set(["aria-label","aria-labelledby"]),generic:new Set(["aria-label","aria-labelledby","aria-roledescription"]),insertion:new Set(["aria-label","aria-labelledby"]),none:new Set(["aria-label","aria-labelledby"]),paragraph:new Set(["aria-label","aria-labelledby"]),presentation:new Set(["aria-label","aria-labelledby"]),strong:new Set(["aria-label","aria-labelledby"]),subscript:new Set(["aria-label","aria-labelledby"]),superscript:new Set(["aria-label","aria-labelledby"])};function yS(e,t){return["aria-atomic","aria-busy","aria-controls","aria-current","aria-description","aria-describedby","aria-details","aria-dropeffect","aria-flowto","aria-grabbed","aria-hidden","aria-keyshortcuts","aria-label","aria-labelledby","aria-live","aria-owns","aria-relevant","aria-roledescription"].some(function(r){var n;return e.hasAttribute(r)&&!((n=Z$[t])!==null&&n!==void 0&&n.has(r))})}i(yS,"hasGlobalAriaAttributes");function hm(e,t){return yS(e,t)}i(hm,"ignorePresentationalRole");function gS(e){var t=vS(e);if(t===null||od.indexOf(t)!==-1){var r=bS(e);if(od.indexOf(t||"")===-1||hm(e,r||""))return r}return t}i(gS,"getRole");function bS(e){var t=Q$[ct(e)];if(t!==void 0)return t;switch(ct(e)){case"a":case"area":case"link":if(e.hasAttribute("href"))return"link";break;case"img":return e.getAttribute("alt")===""&&!hm(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}i(bS,"getImplicitRole");function vS(e){var t=e.getAttribute("role");if(t!==null){var r=t.trim().split(" ")[0];if(r.length>0)return r}return null}i(vS,"getExplicitRole");var od=["presentation","none"];function je(e){return e!==null&&e.nodeType===e.ELEMENT_NODE}i(je,"isElement");function ym(e){return je(e)&&ct(e)==="caption"}i(ym,"isHTMLTableCaptionElement");function Mi(e){return je(e)&&ct(e)==="input"}i(Mi,"isHTMLInputElement");function ES(e){return je(e)&&ct(e)==="optgroup"}i(ES,"isHTMLOptGroupElement");function TS(e){return je(e)&&ct(e)==="select"}i(TS,"isHTMLSelectElement");function wS(e){return je(e)&&ct(e)==="table"}i(wS,"isHTMLTableElement");function _S(e){return je(e)&&ct(e)==="textarea"}i(_S,"isHTMLTextAreaElement");function SS(e){var t=e.ownerDocument===null?e:e.ownerDocument,r=t.defaultView;if(r===null)throw new TypeError("no window available");return r}i(SS,"safeWindow");function PS(e){return je(e)&&ct(e)==="fieldset"}i(PS,"isHTMLFieldSetElement");function AS(e){return je(e)&&ct(e)==="legend"}i(AS,"isHTMLLegendElement");function RS(e){return je(e)&&ct(e)==="slot"}i(RS,"isHTMLSlotElement");function OS(e){return je(e)&&e.ownerSVGElement!==void 0}i(OS,"isSVGElement");function CS(e){return je(e)&&ct(e)==="svg"}i(CS,"isSVGSVGElement");function xS(e){return OS(e)&&ct(e)==="title"}i(xS,"isSVGTitleElement");function es(e,t){if(je(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[]}i(es,"queryIdRefs");function rr(e,t){return je(e)?t.indexOf(gS(e))!==-1:!1}i(rr,"hasAnyConcreteRoles");function NS(e){return e.trim().replace(/\s\s+/g," ")}i(NS,"asFlatString");function IS(e,t){if(!je(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"}i(IS,"isHidden");function MS(e){return rr(e,["button","combobox","listbox","textbox"])||gm(e,"range")}i(MS,"isControl");function gm(e,t){if(!je(e))return!1;switch(t){case"range":return rr(e,["meter","progressbar","scrollbar","slider","spinbutton"]);default:throw new TypeError("No knowledge about abstract role '".concat(t,"'. This is likely a bug :("))}}i(gm,"hasAbstractRole");function id(e,t){var r=jt(e.querySelectorAll(t));return es(e,"aria-owns").forEach(function(n){r.push.apply(r,jt(n.querySelectorAll(t)))}),r}i(id,"querySelectorAllSubtree");function qS(e){return TS(e)?e.selectedOptions||id(e,"[selected]"):id(e,'[aria-selected="true"]')}i(qS,"querySelectedOptions");function jS(e){return rr(e,od)}i(jS,"isMarkedPresentational");function kS(e){return ym(e)}i(kS,"isNativeHostLanguageTextAlternativeElement");function DS(e){return rr(e,["button","cell","checkbox","columnheader","gridcell","heading","label","legend","link","menuitem","menuitemcheckbox","menuitemradio","option","radio","row","rowheader","switch","tab","tooltip","treeitem"])}i(DS,"allowsNameFromContent");function LS(e){return!1}i(LS,"isDescendantOfNativeHostLanguageTextAlternativeElement");function FS(e){return Mi(e)||_S(e)?e.value:e.textContent||""}i(FS,"getValueOfTextbox");function sd(e){var t=e.getPropertyValue("content");return/^["'].*["']$/.test(t)?t.slice(1,-1):""}i(sd,"getTextualContent");function bm(e){var t=ct(e);return t==="button"||t==="input"&&e.getAttribute("type")!=="hidden"||t==="meter"||t==="output"||t==="progress"||t==="select"||t==="textarea"}i(bm,"isLabelableElement");function vm(e){if(bm(e))return e;var t=null;return e.childNodes.forEach(function(r){if(t===null&&je(r)){var n=vm(r);n!==null&&(t=n)}}),t}i(vm,"findLabelableElement");function $S(e){if(e.control!==void 0)return e.control;var t=e.getAttribute("for");return t!==null?e.ownerDocument.getElementById(t):vm(e)}i($S,"getControlOfLabel");function BS(e){var t=e.labels;if(t===null)return t;if(t!==void 0)return jt(t);if(!bm(e))return null;var r=e.ownerDocument;return jt(r.querySelectorAll("label")).filter(function(n){return $S(n)===e})}i(BS,"getLabels");function JS(e){var t=e.assignedNodes();return t.length===0?jt(e.childNodes):t}i(JS,"getSlotContents");function Em(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=new X$,n=SS(e),o=t.compute,s=o===void 0?"name":o,a=t.computedStyleSupportsPseudoElements,c=a===void 0?t.getComputedStyle!==void 0:a,u=t.getComputedStyle,d=u===void 0?n.getComputedStyle.bind(n):u,p=t.hidden,f=p===void 0?!1:p;function h(v,_){var R="";if(je(v)&&c){var N=d(v,"::before"),j=sd(N);R="".concat(j," ").concat(R)}var C=RS(v)?JS(v):jt(v.childNodes).concat(es(v,"aria-owns"));if(C.forEach(function(S){var k=T(S,{isEmbeddedInLabel:_.isEmbeddedInLabel,isReferenced:!1,recursion:!0}),I=je(S)?d(S).getPropertyValue("display"):"inline",V=I!=="inline"?" ":"";R+="".concat(V).concat(k).concat(V)}),je(v)&&c){var P=d(v,"::after"),w=sd(P);R="".concat(R," ").concat(w)}return R.trim()}i(h,"computeMiscTextAlternative");function y(v,_){var R=v.getAttributeNode(_);return R!==null&&!r.has(R)&&R.value.trim()!==""?(r.add(R),R.value):null}i(y,"useAttribute");function g(v){return je(v)?y(v,"title"):null}i(g,"computeTooltipAttributeValue");function E(v){if(!je(v))return null;if(PS(v)){r.add(v);for(var _=jt(v.childNodes),R=0;R<_.length;R+=1){var N=_[R];if(AS(N))return T(N,{isEmbeddedInLabel:!1,isReferenced:!1,recursion:!1})}}else if(wS(v)){r.add(v);for(var j=jt(v.childNodes),C=0;C<j.length;C+=1){var P=j[C];if(ym(P))return T(P,{isEmbeddedInLabel:!1,isReferenced:!1,recursion:!1})}}else if(CS(v)){r.add(v);for(var w=jt(v.childNodes),S=0;S<w.length;S+=1){var k=w[S];if(xS(k))return k.textContent}return null}else if(ct(v)==="img"||ct(v)==="area"){var I=y(v,"alt");if(I!==null)return I}else if(ES(v)){var V=y(v,"label");if(V!==null)return V}if(Mi(v)&&(v.type==="button"||v.type==="submit"||v.type==="reset")){var H=y(v,"value");if(H!==null)return H;if(v.type==="submit")return"Submit";if(v.type==="reset")return"Reset"}var A=BS(v);if(A!==null&&A.length!==0)return r.add(v),jt(A).map(function(K){return T(K,{isEmbeddedInLabel:!0,isReferenced:!1,recursion:!0})}).filter(function(K){return K.length>0}).join(" ");if(Mi(v)&&v.type==="image"){var L=y(v,"alt");if(L!==null)return L;var $=y(v,"title");return $!==null?$:"Submit Query"}if(rr(v,["button"])){var D=h(v,{isEmbeddedInLabel:!1});if(D!=="")return D}return null}i(E,"computeElementTextAlternative");function T(v,_){if(r.has(v))return"";if(!f&&IS(v,d)&&!_.isReferenced)return r.add(v),"";var R=je(v)?v.getAttributeNode("aria-labelledby"):null,N=R!==null&&!r.has(R)?es(v,"aria-labelledby"):[];if(s==="name"&&!_.isReferenced&&N.length>0)return r.add(R),N.map(function(I){return T(I,{isEmbeddedInLabel:_.isEmbeddedInLabel,isReferenced:!0,recursion:!1})}).join(" ");var j=_.recursion&&MS(v)&&s==="name";if(!j){var C=(je(v)&&v.getAttribute("aria-label")||"").trim();if(C!==""&&s==="name")return r.add(v),C;if(!jS(v)){var P=E(v);if(P!==null)return r.add(v),P}}if(rr(v,["menu"]))return r.add(v),"";if(j||_.isEmbeddedInLabel||_.isReferenced){if(rr(v,["combobox","listbox"])){r.add(v);var w=qS(v);return w.length===0?Mi(v)?v.value:"":jt(w).map(function(I){return T(I,{isEmbeddedInLabel:_.isEmbeddedInLabel,isReferenced:!1,recursion:!0})}).join(" ")}if(gm(v,"range"))return r.add(v),v.hasAttribute("aria-valuetext")?v.getAttribute("aria-valuetext"):v.hasAttribute("aria-valuenow")?v.getAttribute("aria-valuenow"):v.getAttribute("value")||"";if(rr(v,["textbox"]))return r.add(v),FS(v)}if(DS(v)||je(v)&&_.isReferenced||kS(v)||LS()){var S=h(v,{isEmbeddedInLabel:_.isEmbeddedInLabel});if(S!=="")return r.add(v),S}if(v.nodeType===v.TEXT_NODE)return r.add(v),v.textContent||"";if(_.recursion)return r.add(v),h(v,{isEmbeddedInLabel:_.isEmbeddedInLabel});var k=g(v);return k!==null?(r.add(v),k):(r.add(v),"")}return i(T,"computeTextAlternative"),NS(T(e,{isEmbeddedInLabel:!1,isReferenced:s==="description",recursion:!1}))}i(Em,"computeTextAlternative");function yo(e){"@babel/helpers - typeof";return yo=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},yo(e)}i(yo,"_typeof");function ad(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}i(ad,"ownKeys");function ld(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?ad(Object(r),!0).forEach(function(n){US(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ad(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}i(ld,"_objectSpread");function US(e,t,r){return t=VS(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}i(US,"_defineProperty");function VS(e){var t=HS(e,"string");return yo(t)==="symbol"?t:String(t)}i(VS,"_toPropertyKey");function HS(e,t){if(yo(e)!=="object"||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t||"default");if(yo(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}i(HS,"_toPrimitive");function zS(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=es(e,"aria-describedby").map(function(s){return Em(s,ld(ld({},t),{},{compute:"description"}))}).join(" ");if(r===""){var n=e.getAttribute("aria-description");r=n===null?"":n}if(r===""){var o=e.getAttribute("title");r=o===null?"":o}return r}i(zS,"computeAccessibleDescription");function GS(e){return rr(e,["caption","code","deletion","emphasis","generic","insertion","none","paragraph","presentation","strong","subscript","superscript"])}i(GS,"prohibitsNaming");function WS(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return GS(e)?"":Em(e,t)}i(WS,"computeAccessibleName");var Tm=Ge(wp(),1),eB=Ge(uv(),1),tB=Ge(dv(),1),KS=class extends Error{constructor(t,r,n,o){super(),Error.captureStackTrace&&Error.captureStackTrace(this,n);let s="";try{s=o.utils.printWithType("Received",r,o.utils.printReceived)}catch{}this.message=[o.utils.matcherHint(`${o.isNot?".not":""}.${n.name}`,"received",""),"",`${o.utils.RECEIVED_COLOR("received")} value must ${t}.`,s].join(`
210
210
  `)}};i(KS,"GenericTypeError");var YS=KS,XS=class extends YS{constructor(...t){super("be an HTMLElement or an SVGElement",...t)}};i(XS,"HtmlElementTypeError");var Vg=XS,QS=class extends YS{constructor(...t){super("be a Node",...t)}};i(QS,"NodeTypeError");var Hg=QS;function wm(e,t,...r){if(!e||!e.ownerDocument||!e.ownerDocument.defaultView)throw new t(e,...r)}i(wm,"checkHasWindow");function ZS(e,...t){wm(e,Hg,...t);const r=e.ownerDocument.defaultView;if(!(e instanceof r.Node))throw new Hg(e,...t)}i(ZS,"checkNode");function Se(e,...t){wm(e,Vg,...t);const r=e.ownerDocument.defaultView;if(!(e instanceof r.HTMLElement)&&!(e instanceof r.SVGElement))throw new Vg(e,...t)}i(Se,"checkHtmlElement");var e0=class extends Error{constructor(t,r,n){super(),Error.captureStackTrace&&Error.captureStackTrace(this,r),this.message=[t.message,"",n.utils.RECEIVED_COLOR("Failing css:"),n.utils.RECEIVED_COLOR(`${t.css}`)].join(`
211
211
  `)}};i(e0,"InvalidCSSError");var rB=e0;function t0(e,...t){const r=G$(`selector { ${e} }`,{silent:!0}).stylesheet;if(r.parsingErrors&&r.parsingErrors.length>0){const{reason:o,line:s}=r.parsingErrors[0];throw new rB({css:e,message:`Syntax error parsing expected css: ${o} on line: ${s}`},...t)}return r.rules[0].declarations.filter(o=>o.type==="declaration").reduce((o,{property:s,value:a})=>Object.assign(o,{[s]:a}),{})}i(t0,"parseCSS");function cd(e,t){return typeof t=="string"?t:e.utils.stringify(t)}i(cd,"display");function ze(e,t,r,n,o,s){return[`${t}
212
212
  `,`${r}:
@@ -292,7 +292,7 @@ ${t.map((o,s)=>{let a=Je.bold(` ${no(s+1)} ${e.getMockName()} call return:
292
292
  `)}`)),r+=Je.gray(`
293
293
 
294
294
  Number of calls: ${Je.bold(e.mock.calls.length)}
295
- `),r}i(TP,"formatReturns");function wP(e,t){const r=e._obj,n=tr.flag(e,"negate"),o=tr.flag(e,"promise")||"",s={...ah(),diff:Ln,stringify:vt,iterableEquality:Ot,subsetEquality:Do};return{state:{...ns(t),customTesters:mc(),isNot:n,utils:s,promise:o,equals:Pe,suppressedErrors:[],soft:tr.flag(e,"soft"),poll:tr.flag(e,"poll")},isNot:n,obj:r}}i(wP,"getMatcherState");var _P=class extends Error{constructor(t,r,n){super(t),this.actual=r,this.expected=n}};i(_P,"JestExtendError");var Zg=_P;function SP(e,t,r){return(n,o)=>{Object.entries(r).forEach(([s,a])=>{function c(...h){const{state:y,isNot:g,obj:E}=wP(this,t),T=a.call(y,E,...h);if(T&&typeof T=="object"&&typeof T.then=="function")return T.then(({pass:C,message:P,actual:w,expected:S})=>{if(C&&g||!C&&!g)throw new Zg(P(),w,S)});const{pass:v,message:_,actual:R,expected:N}=T;if(v&&g||!v&&!g)throw new Zg(_(),R,N)}i(c,"expectWrapper");const u=ch(o,s,c);o.addMethod(globalThis[rs].matchers,s,u),o.addMethod(e.Assertion.prototype,s,u);const d=class extends Cr{constructor(y=!1,...g){super(g,y)}asymmetricMatch(y){const{pass:g}=a.call(this.getMatcherContext(t),y,...this.sample);return this.inverse?!g:g}toString(){return`${this.inverse?"not.":""}${s}`}getExpectedType(){return"any"}toAsymmetricMatcher(){return`${this.toString()}<${this.sample.map(y=>vt(y)).join(", ")}>`}};i(d,"CustomMatcher");let p=d;const f=i((...h)=>new p(!1,...h),"customMatcher");Object.defineProperty(t,s,{configurable:!0,enumerable:!0,value:f,writable:!0}),Object.defineProperty(t.not,s,{configurable:!0,enumerable:!0,value:i((...h)=>new p(!0,...h),"value"),writable:!0}),Object.defineProperty(globalThis[yd],s,{configurable:!0,enumerable:!0,value:f,writable:!0})})}}i(SP,"JestExtendPlugin");var OB=i((e,t)=>{t.addMethod(e.expect,"extend",(r,n)=>{yn(SP(e,r,n))})},"JestExtend");function PP(){yn(OB),yn(RB),yn(AB);const e=i((n,o)=>{const{assertionCalls:s}=ns(e);return Qs({assertionCalls:s+1,soft:!1},e),$r(n,o)},"expect");Object.assign(e,$r),e.getState=()=>ns(e),e.setState=n=>Qs(n,e),e.extend=n=>$r.extend(e,n),e.soft=(...n)=>{const o=e(...n);return e.setState({soft:!0}),o},e.extend(bB),e.unreachable=n=>{M.fail(`expected${n?` "${n}" `:" "}not to be reached`)};function t(n){const o=i(()=>new Error(`expected number of assertions to be ${n}, but got ${e.getState().assertionCalls}`),"errorGen");"captureStackTrace"in Error&&typeof Error.captureStackTrace=="function"&&Error.captureStackTrace(o(),t),e.setState({expectedAssertionsNumber:n,expectedAssertionsNumberErrorGen:o})}i(t,"assertions");function r(){const n=new Error("expected any number of assertion, but got none");"captureStackTrace"in Error&&typeof Error.captureStackTrace=="function"&&Error.captureStackTrace(n,r),e.setState({isExpectingAssertions:!0,isExpectingAssertionsError:n})}return i(r,"hasAssertions"),Qs({assertionCalls:0,isExpectingAssertions:!1,isExpectingAssertionsError:null,expectedAssertionsNumber:null,expectedAssertionsNumberErrorGen:null},e),tr.addMethod(e,"assertions",t),tr.addMethod(e,"hasAssertions",r),e.extend(aS),e}i(PP,"createExpect");var AP=PP();Object.defineProperty(globalThis,oh,{value:AP,writable:!0,configurable:!0});function RP(e,t,r){Object.defineProperty(e,t,r)}i(RP,"f");var ea=Symbol.for("tinyspy:spy"),CB=i(e=>{e.called=!1,e.callCount=0,e.calls=[],e.results=[],e.resolves=[],e.next=[]},"P"),xB=i(e=>(RP(e,ea,{value:{reset:i(()=>CB(e[ea]),"reset")}}),e[ea]),"K"),NB=i(e=>e[ea]||xB(e),"T"),Ad=new Set;function uh(e){return Ad.add(e),()=>void Ad.delete(e)}i(uh,"onMockCall");var IB=i((...e)=>{const t=H0(...e);return ph(t)},"spyOn");function dh(e){const t=e?hd(e):hd();return ph(t)}i(dh,"fn");function ph(e){const t=Rd(e),r=t.mockImplementation.bind(null);return t.mockImplementation=n=>Rd(r(n)),t}i(ph,"reactiveMock");function Rd(e){const t=NB(e),r=t.impl;return t.willCall(function(...n){return Ad.forEach(o=>o(e,n)),r?.apply(this,n)}),e}i(Rd,"listenWhenCalled");function fh(){Is.forEach(e=>e.mockClear())}i(fh,"clearAllMocks");function mh(){Is.forEach(e=>e.mockReset())}i(mh,"resetAllMocks");function hh(){Is.forEach(e=>e.mockRestore())}i(hh,"restoreAllMocks");function OP(e,t={}){return e}i(OP,"mocked");var CP={};Tt(CP,{buildQueries:()=>cr,configure:()=>RA,createEvent:()=>ki,findAllByAltText:()=>TR,findAllByDisplayValue:()=>hR,findAllByLabelText:()=>WA,findAllByPlaceholderText:()=>nR,findAllByRole:()=>jR,findAllByTestId:()=>BR,findAllByText:()=>cR,findAllByTitle:()=>RR,findByAltText:()=>wR,findByDisplayValue:()=>yR,findByLabelText:()=>KA,findByPlaceholderText:()=>oR,findByRole:()=>kR,findByTestId:()=>JR,findByText:()=>uR,findByTitle:()=>OR,fireEvent:()=>To,getAllByAltText:()=>vR,getAllByDisplayValue:()=>fR,getAllByLabelText:()=>YA,getAllByPlaceholderText:()=>tR,getAllByRole:()=>MR,getAllByTestId:()=>FR,getAllByText:()=>aR,getAllByTitle:()=>PR,getByAltText:()=>ER,getByDisplayValue:()=>mR,getByLabelText:()=>XA,getByPlaceholderText:()=>rR,getByRole:()=>qR,getByTestId:()=>$R,getByText:()=>lR,getByTitle:()=>AR,getConfig:()=>Te,getDefaultNormalizer:()=>vc,getElementError:()=>js,getMultipleElementsFoundError:()=>ks,getNodeText:()=>Lo,getQueriesForElement:()=>Ha,getRoles:()=>jh,getSuggestedQuery:()=>is,isInaccessible:()=>qs,logDOM:()=>qd,logRoles:()=>tJ,makeFindQuery:()=>Pn,makeGetAllQuery:()=>wc,makeSingleQuery:()=>Sn,prettyDOM:()=>Eo,prettyFormat:()=>yh,queries:()=>Va,queryAllByAltText:()=>gR,queryAllByAttribute:()=>Zr,queryAllByDisplayValue:()=>dR,queryAllByLabelText:()=>QA,queryAllByPlaceholderText:()=>ZA,queryAllByRole:()=>NR,queryAllByTestId:()=>DR,queryAllByText:()=>iR,queryAllByTitle:()=>_R,queryByAltText:()=>bR,queryByAttribute:()=>Dh,queryByDisplayValue:()=>pR,queryByLabelText:()=>zA,queryByPlaceholderText:()=>eR,queryByRole:()=>IR,queryByTestId:()=>LR,queryByText:()=>sR,queryByTitle:()=>SR,queryHelpers:()=>rJ,screen:()=>wJ,waitFor:()=>Tc,waitForElementToBeRemoved:()=>VR,within:()=>Ha,wrapAllByQueryWithSuggestion:()=>Et,wrapSingleQueryWithSuggestion:()=>Jr});var yh=Ge(wk()),MB=Object.prototype.toString;function Od(e){return typeof e=="function"||MB.call(e)==="[object Function]"}i(Od,"isCallable");function xP(e){var t=Number(e);return isNaN(t)?0:t===0||!isFinite(t)?t:(t>0?1:-1)*Math.floor(Math.abs(t))}i(xP,"toInteger");var qB=Math.pow(2,53)-1;function NP(e){var t=xP(e);return Math.min(Math.max(t,0),qB)}i(NP,"toLength");function kt(e,t){var r=Array,n=Object(e);if(e==null)throw new TypeError("Array.from requires an array-like object - not null or undefined");if(typeof t<"u"&&!Od(t))throw new TypeError("Array.from: when provided, the second argument must be a function");for(var o=NP(n.length),s=Od(r)?Object(new r(o)):new Array(o),a=0,c;a<o;)c=n[a],t?s[a]=t(c,a):s[a]=c,a+=1;return s.length=o,s}i(kt,"arrayFrom");function bo(e){"@babel/helpers - typeof";return bo=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},bo(e)}i(bo,"_typeof");function IP(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}i(IP,"_classCallCheck");function Cd(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,gh(n.key),n)}}i(Cd,"_defineProperties");function MP(e,t,r){return t&&Cd(e.prototype,t),r&&Cd(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}i(MP,"_createClass");function qP(e,t,r){return t=gh(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}i(qP,"_defineProperty");function gh(e){var t=jP(e,"string");return bo(t)==="symbol"?t:String(t)}i(gh,"_toPropertyKey");function jP(e,t){if(bo(e)!=="object"||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t||"default");if(bo(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}i(jP,"_toPrimitive");var jB=(function(){function e(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];IP(this,e),qP(this,"items",void 0),this.items=t}return i(e,"SetLike"),MP(e,[{key:"add",value:i(function(r){return this.has(r)===!1&&this.items.push(r),this},"add")},{key:"clear",value:i(function(){this.items=[]},"clear")},{key:"delete",value:i(function(r){var n=this.items.length;return this.items=this.items.filter(function(o){return o!==r}),n!==this.items.length},"_delete")},{key:"forEach",value:i(function(r){var n=this;this.items.forEach(function(o){r(o,o,n)})},"forEach")},{key:"has",value:i(function(r){return this.items.indexOf(r)!==-1},"has")},{key:"size",get:i(function(){return this.items.length},"get")}]),e})(),kB=typeof Set>"u"?Set:jB;function ct(e){var t;return(t=e.localName)!==null&&t!==void 0?t:e.tagName.toLowerCase()}i(ct,"getLocalName");var DB={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"},LB={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 kP(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=LB[t])!==null&&n!==void 0&&n.has(r))})}i(kP,"hasGlobalAriaAttributes");function bh(e,t){return kP(e,t)}i(bh,"ignorePresentationalRole");function DP(e){var t=FP(e);if(t===null||t==="presentation"){var r=LP(e);if(t!=="presentation"||bh(e,r||""))return r}return t}i(DP,"getRole");function LP(e){var t=DB[ct(e)];if(t!==void 0)return t;switch(ct(e)){case"a":case"area":case"link":if(e.hasAttribute("href"))return"link";break;case"img":return e.getAttribute("alt")===""&&!bh(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}i(LP,"getImplicitRole");function FP(e){var t=e.getAttribute("role");if(t!==null){var r=t.trim().split(" ")[0];if(r.length>0)return r}return null}i(FP,"getExplicitRole");function ke(e){return e!==null&&e.nodeType===e.ELEMENT_NODE}i(ke,"isElement");function vh(e){return ke(e)&&ct(e)==="caption"}i(vh,"isHTMLTableCaptionElement");function ji(e){return ke(e)&&ct(e)==="input"}i(ji,"isHTMLInputElement");function $P(e){return ke(e)&&ct(e)==="optgroup"}i($P,"isHTMLOptGroupElement");function BP(e){return ke(e)&&ct(e)==="select"}i(BP,"isHTMLSelectElement");function JP(e){return ke(e)&&ct(e)==="table"}i(JP,"isHTMLTableElement");function UP(e){return ke(e)&&ct(e)==="textarea"}i(UP,"isHTMLTextAreaElement");function VP(e){var t=e.ownerDocument===null?e:e.ownerDocument,r=t.defaultView;if(r===null)throw new TypeError("no window available");return r}i(VP,"safeWindow");function HP(e){return ke(e)&&ct(e)==="fieldset"}i(HP,"isHTMLFieldSetElement");function zP(e){return ke(e)&&ct(e)==="legend"}i(zP,"isHTMLLegendElement");function GP(e){return ke(e)&&ct(e)==="slot"}i(GP,"isHTMLSlotElement");function WP(e){return ke(e)&&e.ownerSVGElement!==void 0}i(WP,"isSVGElement");function KP(e){return ke(e)&&ct(e)==="svg"}i(KP,"isSVGSVGElement");function YP(e){return WP(e)&&ct(e)==="title"}i(YP,"isSVGTitleElement");function os(e,t){if(ke(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[]}i(os,"queryIdRefs");function nr(e,t){return ke(e)?t.indexOf(DP(e))!==-1:!1}i(nr,"hasAnyConcreteRoles");function XP(e){return e.trim().replace(/\s\s+/g," ")}i(XP,"asFlatString");function QP(e,t){if(!ke(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"}i(QP,"isHidden");function ZP(e){return nr(e,["button","combobox","listbox","textbox"])||Eh(e,"range")}i(ZP,"isControl");function Eh(e,t){if(!ke(e))return!1;switch(t){case"range":return nr(e,["meter","progressbar","scrollbar","slider","spinbutton"]);default:throw new TypeError("No knowledge about abstract role '".concat(t,"'. This is likely a bug :("))}}i(Eh,"hasAbstractRole");function xd(e,t){var r=kt(e.querySelectorAll(t));return os(e,"aria-owns").forEach(function(n){r.push.apply(r,kt(n.querySelectorAll(t)))}),r}i(xd,"querySelectorAllSubtree");function eA(e){return BP(e)?e.selectedOptions||xd(e,"[selected]"):xd(e,'[aria-selected="true"]')}i(eA,"querySelectedOptions");function tA(e){return nr(e,["none","presentation"])}i(tA,"isMarkedPresentational");function rA(e){return vh(e)}i(rA,"isNativeHostLanguageTextAlternativeElement");function nA(e){return nr(e,["button","cell","checkbox","columnheader","gridcell","heading","label","legend","link","menuitem","menuitemcheckbox","menuitemradio","option","radio","row","rowheader","switch","tab","tooltip","treeitem"])}i(nA,"allowsNameFromContent");function oA(e){return!1}i(oA,"isDescendantOfNativeHostLanguageTextAlternativeElement");function iA(e){return ji(e)||UP(e)?e.value:e.textContent||""}i(iA,"getValueOfTextbox");function Nd(e){var t=e.getPropertyValue("content");return/^["'].*["']$/.test(t)?t.slice(1,-1):""}i(Nd,"getTextualContent");function Th(e){var t=ct(e);return t==="button"||t==="input"&&e.getAttribute("type")!=="hidden"||t==="meter"||t==="output"||t==="progress"||t==="select"||t==="textarea"}i(Th,"isLabelableElement");function wh(e){if(Th(e))return e;var t=null;return e.childNodes.forEach(function(r){if(t===null&&ke(r)){var n=wh(r);n!==null&&(t=n)}}),t}i(wh,"findLabelableElement");function sA(e){if(e.control!==void 0)return e.control;var t=e.getAttribute("for");return t!==null?e.ownerDocument.getElementById(t):wh(e)}i(sA,"getControlOfLabel");function aA(e){var t=e.labels;if(t===null)return t;if(t!==void 0)return kt(t);if(!Th(e))return null;var r=e.ownerDocument;return kt(r.querySelectorAll("label")).filter(function(n){return sA(n)===e})}i(aA,"getLabels");function lA(e){var t=e.assignedNodes();return t.length===0?kt(e.childNodes):t}i(lA,"getSlotContents");function _h(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=new kB,n=VP(e),o=t.compute,s=o===void 0?"name":o,a=t.computedStyleSupportsPseudoElements,c=a===void 0?t.getComputedStyle!==void 0:a,u=t.getComputedStyle,d=u===void 0?n.getComputedStyle.bind(n):u,p=t.hidden,f=p===void 0?!1:p;function h(v,_){var R="";if(ke(v)&&c){var N=d(v,"::before"),j=Nd(N);R="".concat(j," ").concat(R)}var C=GP(v)?lA(v):kt(v.childNodes).concat(os(v,"aria-owns"));if(C.forEach(function(S){var k=T(S,{isEmbeddedInLabel:_.isEmbeddedInLabel,isReferenced:!1,recursion:!0}),I=ke(S)?d(S).getPropertyValue("display"):"inline",V=I!=="inline"?" ":"";R+="".concat(V).concat(k).concat(V)}),ke(v)&&c){var P=d(v,"::after"),w=Nd(P);R="".concat(R," ").concat(w)}return R.trim()}i(h,"computeMiscTextAlternative");function y(v,_){var R=v.getAttributeNode(_);return R!==null&&!r.has(R)&&R.value.trim()!==""?(r.add(R),R.value):null}i(y,"useAttribute");function g(v){return ke(v)?y(v,"title"):null}i(g,"computeTooltipAttributeValue");function E(v){if(!ke(v))return null;if(HP(v)){r.add(v);for(var _=kt(v.childNodes),R=0;R<_.length;R+=1){var N=_[R];if(zP(N))return T(N,{isEmbeddedInLabel:!1,isReferenced:!1,recursion:!1})}}else if(JP(v)){r.add(v);for(var j=kt(v.childNodes),C=0;C<j.length;C+=1){var P=j[C];if(vh(P))return T(P,{isEmbeddedInLabel:!1,isReferenced:!1,recursion:!1})}}else if(KP(v)){r.add(v);for(var w=kt(v.childNodes),S=0;S<w.length;S+=1){var k=w[S];if(YP(k))return k.textContent}return null}else if(ct(v)==="img"||ct(v)==="area"){var I=y(v,"alt");if(I!==null)return I}else if($P(v)){var V=y(v,"label");if(V!==null)return V}if(ji(v)&&(v.type==="button"||v.type==="submit"||v.type==="reset")){var H=y(v,"value");if(H!==null)return H;if(v.type==="submit")return"Submit";if(v.type==="reset")return"Reset"}var A=aA(v);if(A!==null&&A.length!==0)return r.add(v),kt(A).map(function(K){return T(K,{isEmbeddedInLabel:!0,isReferenced:!1,recursion:!0})}).filter(function(K){return K.length>0}).join(" ");if(ji(v)&&v.type==="image"){var L=y(v,"alt");if(L!==null)return L;var $=y(v,"title");return $!==null?$:"Submit Query"}if(nr(v,["button"])){var D=h(v,{isEmbeddedInLabel:!1});if(D!=="")return D}return null}i(E,"computeElementTextAlternative");function T(v,_){if(r.has(v))return"";if(!f&&QP(v,d)&&!_.isReferenced)return r.add(v),"";var R=ke(v)?v.getAttributeNode("aria-labelledby"):null,N=R!==null&&!r.has(R)?os(v,"aria-labelledby"):[];if(s==="name"&&!_.isReferenced&&N.length>0)return r.add(R),N.map(function(I){return T(I,{isEmbeddedInLabel:_.isEmbeddedInLabel,isReferenced:!0,recursion:!1})}).join(" ");var j=_.recursion&&ZP(v)&&s==="name";if(!j){var C=(ke(v)&&v.getAttribute("aria-label")||"").trim();if(C!==""&&s==="name")return r.add(v),C;if(!tA(v)){var P=E(v);if(P!==null)return r.add(v),P}}if(nr(v,["menu"]))return r.add(v),"";if(j||_.isEmbeddedInLabel||_.isReferenced){if(nr(v,["combobox","listbox"])){r.add(v);var w=eA(v);return w.length===0?ji(v)?v.value:"":kt(w).map(function(I){return T(I,{isEmbeddedInLabel:_.isEmbeddedInLabel,isReferenced:!1,recursion:!0})}).join(" ")}if(Eh(v,"range"))return r.add(v),v.hasAttribute("aria-valuetext")?v.getAttribute("aria-valuetext"):v.hasAttribute("aria-valuenow")?v.getAttribute("aria-valuenow"):v.getAttribute("value")||"";if(nr(v,["textbox"]))return r.add(v),iA(v)}if(nA(v)||ke(v)&&_.isReferenced||rA(v)||oA()){var S=h(v,{isEmbeddedInLabel:_.isEmbeddedInLabel});if(S!=="")return r.add(v),S}if(v.nodeType===v.TEXT_NODE)return r.add(v),v.textContent||"";if(_.recursion)return r.add(v),h(v,{isEmbeddedInLabel:_.isEmbeddedInLabel});var k=g(v);return k!==null?(r.add(v),k):(r.add(v),"")}return i(T,"computeTextAlternative"),XP(T(e,{isEmbeddedInLabel:!1,isReferenced:s==="description",recursion:!1}))}i(_h,"computeTextAlternative");function vo(e){"@babel/helpers - typeof";return vo=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},vo(e)}i(vo,"_typeof");function Id(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}i(Id,"ownKeys");function Md(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?Id(Object(r),!0).forEach(function(n){cA(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Id(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}i(Md,"_objectSpread");function cA(e,t,r){return t=uA(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}i(cA,"_defineProperty");function uA(e){var t=dA(e,"string");return vo(t)==="symbol"?t:String(t)}i(uA,"_toPropertyKey");function dA(e,t){if(vo(e)!=="object"||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t||"default");if(vo(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}i(dA,"_toPrimitive");function Sh(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=os(e,"aria-describedby").map(function(o){return _h(o,Md(Md({},t),{},{compute:"description"}))}).join(" ");if(r===""){var n=e.getAttribute("title");r=n===null?"":n}return r}i(Sh,"computeAccessibleDescription");function pA(e){return nr(e,["caption","code","deletion","emphasis","generic","insertion","paragraph","presentation","strong","subscript","superscript"])}i(pA,"prohibitsNaming");function gc(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return pA(e)?"":_h(e,t)}i(gc,"computeAccessibleName");var qt=Ge(wp()),FB=Ge(_k());function Ph(e){return e.replace(/</g,"&lt;").replace(/>/g,"&gt;")}i(Ph,"escapeHTML");var $B=i((e,t,r,n,o,s,a)=>{const c=n+r.indent,u=r.colors;return e.map(d=>{const p=t[d];let f=a(p,r,c,o,s);return typeof p!="string"&&(f.indexOf(`
295
+ `),r}i(TP,"formatReturns");function wP(e,t){const r=e._obj,n=tr.flag(e,"negate"),o=tr.flag(e,"promise")||"",s={...ah(),diff:Ln,stringify:vt,iterableEquality:Ot,subsetEquality:Do};return{state:{...ns(t),customTesters:mc(),isNot:n,utils:s,promise:o,equals:Pe,suppressedErrors:[],soft:tr.flag(e,"soft"),poll:tr.flag(e,"poll")},isNot:n,obj:r}}i(wP,"getMatcherState");var _P=class extends Error{constructor(t,r,n){super(t),this.actual=r,this.expected=n}};i(_P,"JestExtendError");var Zg=_P;function SP(e,t,r){return(n,o)=>{Object.entries(r).forEach(([s,a])=>{function c(...h){const{state:y,isNot:g,obj:E}=wP(this,t),T=a.call(y,E,...h);if(T&&typeof T=="object"&&typeof T.then=="function")return T.then(({pass:C,message:P,actual:w,expected:S})=>{if(C&&g||!C&&!g)throw new Zg(P(),w,S)});const{pass:v,message:_,actual:R,expected:N}=T;if(v&&g||!v&&!g)throw new Zg(_(),R,N)}i(c,"expectWrapper");const u=ch(o,s,c);o.addMethod(globalThis[rs].matchers,s,u),o.addMethod(e.Assertion.prototype,s,u);const d=class extends Cr{constructor(y=!1,...g){super(g,y)}asymmetricMatch(y){const{pass:g}=a.call(this.getMatcherContext(t),y,...this.sample);return this.inverse?!g:g}toString(){return`${this.inverse?"not.":""}${s}`}getExpectedType(){return"any"}toAsymmetricMatcher(){return`${this.toString()}<${this.sample.map(y=>vt(y)).join(", ")}>`}};i(d,"CustomMatcher");let p=d;const f=i((...h)=>new p(!1,...h),"customMatcher");Object.defineProperty(t,s,{configurable:!0,enumerable:!0,value:f,writable:!0}),Object.defineProperty(t.not,s,{configurable:!0,enumerable:!0,value:i((...h)=>new p(!0,...h),"value"),writable:!0}),Object.defineProperty(globalThis[yd],s,{configurable:!0,enumerable:!0,value:f,writable:!0})})}}i(SP,"JestExtendPlugin");var OB=i((e,t)=>{t.addMethod(e.expect,"extend",(r,n)=>{yn(SP(e,r,n))})},"JestExtend");function PP(){yn(OB),yn(RB),yn(AB);const e=i((n,o)=>{const{assertionCalls:s}=ns(e);return Qs({assertionCalls:s+1,soft:!1},e),$r(n,o)},"expect");Object.assign(e,$r),e.getState=()=>ns(e),e.setState=n=>Qs(n,e),e.extend=n=>$r.extend(e,n),e.soft=(...n)=>{const o=e(...n);return e.setState({soft:!0}),o},e.extend(bB),e.unreachable=n=>{M.fail(`expected${n?` "${n}" `:" "}not to be reached`)};function t(n){const o=i(()=>new Error(`expected number of assertions to be ${n}, but got ${e.getState().assertionCalls}`),"errorGen");"captureStackTrace"in Error&&typeof Error.captureStackTrace=="function"&&Error.captureStackTrace(o(),t),e.setState({expectedAssertionsNumber:n,expectedAssertionsNumberErrorGen:o})}i(t,"assertions");function r(){const n=new Error("expected any number of assertion, but got none");"captureStackTrace"in Error&&typeof Error.captureStackTrace=="function"&&Error.captureStackTrace(n,r),e.setState({isExpectingAssertions:!0,isExpectingAssertionsError:n})}return i(r,"hasAssertions"),Qs({assertionCalls:0,isExpectingAssertions:!1,isExpectingAssertionsError:null,expectedAssertionsNumber:null,expectedAssertionsNumberErrorGen:null},e),tr.addMethod(e,"assertions",t),tr.addMethod(e,"hasAssertions",r),e.extend(aS),e}i(PP,"createExpect");var AP=PP();Object.defineProperty(globalThis,oh,{value:AP,writable:!0,configurable:!0});function RP(e,t,r){Object.defineProperty(e,t,r)}i(RP,"f");var ea=Symbol.for("tinyspy:spy"),CB=i(e=>{e.called=!1,e.callCount=0,e.calls=[],e.results=[],e.resolves=[],e.next=[]},"P"),xB=i(e=>(RP(e,ea,{value:{reset:i(()=>CB(e[ea]),"reset")}}),e[ea]),"K"),NB=i(e=>e[ea]||xB(e),"T"),Ad=new Set;function uh(e){return Ad.add(e),()=>void Ad.delete(e)}i(uh,"onMockCall");var IB=i((...e)=>{const t=H0(...e);return ph(t)},"spyOn");function dh(e){const t=e?hd(e):hd();return ph(t)}i(dh,"fn");function ph(e){const t=Rd(e),r=t.mockImplementation.bind(null);return t.mockImplementation=n=>Rd(r(n)),t}i(ph,"reactiveMock");function Rd(e){const t=NB(e),r=t.impl;return t.willCall(function(...n){return Ad.forEach(o=>o(e,n)),r?.apply(this,n)}),e}i(Rd,"listenWhenCalled");function fh(){Is.forEach(e=>e.mockClear())}i(fh,"clearAllMocks");function mh(){Is.forEach(e=>e.mockReset())}i(mh,"resetAllMocks");function hh(){Is.forEach(e=>e.mockRestore())}i(hh,"restoreAllMocks");function OP(e,t={}){return e}i(OP,"mocked");var CP={};Tt(CP,{buildQueries:()=>cr,configure:()=>RA,createEvent:()=>ki,findAllByAltText:()=>TR,findAllByDisplayValue:()=>hR,findAllByLabelText:()=>WA,findAllByPlaceholderText:()=>nR,findAllByRole:()=>jR,findAllByTestId:()=>BR,findAllByText:()=>cR,findAllByTitle:()=>RR,findByAltText:()=>wR,findByDisplayValue:()=>yR,findByLabelText:()=>KA,findByPlaceholderText:()=>oR,findByRole:()=>kR,findByTestId:()=>JR,findByText:()=>uR,findByTitle:()=>OR,fireEvent:()=>To,getAllByAltText:()=>vR,getAllByDisplayValue:()=>fR,getAllByLabelText:()=>YA,getAllByPlaceholderText:()=>tR,getAllByRole:()=>MR,getAllByTestId:()=>FR,getAllByText:()=>aR,getAllByTitle:()=>PR,getByAltText:()=>ER,getByDisplayValue:()=>mR,getByLabelText:()=>XA,getByPlaceholderText:()=>rR,getByRole:()=>qR,getByTestId:()=>$R,getByText:()=>lR,getByTitle:()=>AR,getConfig:()=>Te,getDefaultNormalizer:()=>vc,getElementError:()=>js,getMultipleElementsFoundError:()=>ks,getNodeText:()=>Lo,getQueriesForElement:()=>Ha,getRoles:()=>jh,getSuggestedQuery:()=>is,isInaccessible:()=>qs,logDOM:()=>qd,logRoles:()=>tJ,makeFindQuery:()=>Pn,makeGetAllQuery:()=>wc,makeSingleQuery:()=>Sn,prettyDOM:()=>Eo,prettyFormat:()=>yh,queries:()=>Va,queryAllByAltText:()=>gR,queryAllByAttribute:()=>Zr,queryAllByDisplayValue:()=>dR,queryAllByLabelText:()=>QA,queryAllByPlaceholderText:()=>ZA,queryAllByRole:()=>NR,queryAllByTestId:()=>DR,queryAllByText:()=>iR,queryAllByTitle:()=>_R,queryByAltText:()=>bR,queryByAttribute:()=>Dh,queryByDisplayValue:()=>pR,queryByLabelText:()=>zA,queryByPlaceholderText:()=>eR,queryByRole:()=>IR,queryByTestId:()=>LR,queryByText:()=>sR,queryByTitle:()=>SR,queryHelpers:()=>rJ,screen:()=>wJ,waitFor:()=>Tc,waitForElementToBeRemoved:()=>VR,within:()=>Ha,wrapAllByQueryWithSuggestion:()=>Et,wrapSingleQueryWithSuggestion:()=>Jr});var yh=Ge(wk()),MB=Object.prototype.toString;function Od(e){return typeof e=="function"||MB.call(e)==="[object Function]"}i(Od,"isCallable");function xP(e){var t=Number(e);return isNaN(t)?0:t===0||!isFinite(t)?t:(t>0?1:-1)*Math.floor(Math.abs(t))}i(xP,"toInteger");var qB=Math.pow(2,53)-1;function NP(e){var t=xP(e);return Math.min(Math.max(t,0),qB)}i(NP,"toLength");function kt(e,t){var r=Array,n=Object(e);if(e==null)throw new TypeError("Array.from requires an array-like object - not null or undefined");if(typeof t<"u"&&!Od(t))throw new TypeError("Array.from: when provided, the second argument must be a function");for(var o=NP(n.length),s=Od(r)?Object(new r(o)):new Array(o),a=0,c;a<o;)c=n[a],t?s[a]=t(c,a):s[a]=c,a+=1;return s.length=o,s}i(kt,"arrayFrom");function bo(e){"@babel/helpers - typeof";return bo=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},bo(e)}i(bo,"_typeof");function IP(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}i(IP,"_classCallCheck");function Cd(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,gh(n.key),n)}}i(Cd,"_defineProperties");function MP(e,t,r){return t&&Cd(e.prototype,t),r&&Cd(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}i(MP,"_createClass");function qP(e,t,r){return t=gh(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}i(qP,"_defineProperty");function gh(e){var t=jP(e,"string");return bo(t)==="symbol"?t:String(t)}i(gh,"_toPropertyKey");function jP(e,t){if(bo(e)!=="object"||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t||"default");if(bo(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}i(jP,"_toPrimitive");var jB=(function(){function e(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];IP(this,e),qP(this,"items",void 0),this.items=t}return i(e,"SetLike"),MP(e,[{key:"add",value:i(function(r){return this.has(r)===!1&&this.items.push(r),this},"add")},{key:"clear",value:i(function(){this.items=[]},"clear")},{key:"delete",value:i(function(r){var n=this.items.length;return this.items=this.items.filter(function(o){return o!==r}),n!==this.items.length},"_delete")},{key:"forEach",value:i(function(r){var n=this;this.items.forEach(function(o){r(o,o,n)})},"forEach")},{key:"has",value:i(function(r){return this.items.indexOf(r)!==-1},"has")},{key:"size",get:i(function(){return this.items.length},"get")}]),e})(),kB=typeof Set>"u"?Set:jB;function ut(e){var t;return(t=e.localName)!==null&&t!==void 0?t:e.tagName.toLowerCase()}i(ut,"getLocalName");var DB={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"},LB={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 kP(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=LB[t])!==null&&n!==void 0&&n.has(r))})}i(kP,"hasGlobalAriaAttributes");function bh(e,t){return kP(e,t)}i(bh,"ignorePresentationalRole");function DP(e){var t=FP(e);if(t===null||t==="presentation"){var r=LP(e);if(t!=="presentation"||bh(e,r||""))return r}return t}i(DP,"getRole");function LP(e){var t=DB[ut(e)];if(t!==void 0)return t;switch(ut(e)){case"a":case"area":case"link":if(e.hasAttribute("href"))return"link";break;case"img":return e.getAttribute("alt")===""&&!bh(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}i(LP,"getImplicitRole");function FP(e){var t=e.getAttribute("role");if(t!==null){var r=t.trim().split(" ")[0];if(r.length>0)return r}return null}i(FP,"getExplicitRole");function ke(e){return e!==null&&e.nodeType===e.ELEMENT_NODE}i(ke,"isElement");function vh(e){return ke(e)&&ut(e)==="caption"}i(vh,"isHTMLTableCaptionElement");function ji(e){return ke(e)&&ut(e)==="input"}i(ji,"isHTMLInputElement");function $P(e){return ke(e)&&ut(e)==="optgroup"}i($P,"isHTMLOptGroupElement");function BP(e){return ke(e)&&ut(e)==="select"}i(BP,"isHTMLSelectElement");function JP(e){return ke(e)&&ut(e)==="table"}i(JP,"isHTMLTableElement");function UP(e){return ke(e)&&ut(e)==="textarea"}i(UP,"isHTMLTextAreaElement");function VP(e){var t=e.ownerDocument===null?e:e.ownerDocument,r=t.defaultView;if(r===null)throw new TypeError("no window available");return r}i(VP,"safeWindow");function HP(e){return ke(e)&&ut(e)==="fieldset"}i(HP,"isHTMLFieldSetElement");function zP(e){return ke(e)&&ut(e)==="legend"}i(zP,"isHTMLLegendElement");function GP(e){return ke(e)&&ut(e)==="slot"}i(GP,"isHTMLSlotElement");function WP(e){return ke(e)&&e.ownerSVGElement!==void 0}i(WP,"isSVGElement");function KP(e){return ke(e)&&ut(e)==="svg"}i(KP,"isSVGSVGElement");function YP(e){return WP(e)&&ut(e)==="title"}i(YP,"isSVGTitleElement");function os(e,t){if(ke(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[]}i(os,"queryIdRefs");function nr(e,t){return ke(e)?t.indexOf(DP(e))!==-1:!1}i(nr,"hasAnyConcreteRoles");function XP(e){return e.trim().replace(/\s\s+/g," ")}i(XP,"asFlatString");function QP(e,t){if(!ke(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"}i(QP,"isHidden");function ZP(e){return nr(e,["button","combobox","listbox","textbox"])||Eh(e,"range")}i(ZP,"isControl");function Eh(e,t){if(!ke(e))return!1;switch(t){case"range":return nr(e,["meter","progressbar","scrollbar","slider","spinbutton"]);default:throw new TypeError("No knowledge about abstract role '".concat(t,"'. This is likely a bug :("))}}i(Eh,"hasAbstractRole");function xd(e,t){var r=kt(e.querySelectorAll(t));return os(e,"aria-owns").forEach(function(n){r.push.apply(r,kt(n.querySelectorAll(t)))}),r}i(xd,"querySelectorAllSubtree");function eA(e){return BP(e)?e.selectedOptions||xd(e,"[selected]"):xd(e,'[aria-selected="true"]')}i(eA,"querySelectedOptions");function tA(e){return nr(e,["none","presentation"])}i(tA,"isMarkedPresentational");function rA(e){return vh(e)}i(rA,"isNativeHostLanguageTextAlternativeElement");function nA(e){return nr(e,["button","cell","checkbox","columnheader","gridcell","heading","label","legend","link","menuitem","menuitemcheckbox","menuitemradio","option","radio","row","rowheader","switch","tab","tooltip","treeitem"])}i(nA,"allowsNameFromContent");function oA(e){return!1}i(oA,"isDescendantOfNativeHostLanguageTextAlternativeElement");function iA(e){return ji(e)||UP(e)?e.value:e.textContent||""}i(iA,"getValueOfTextbox");function Nd(e){var t=e.getPropertyValue("content");return/^["'].*["']$/.test(t)?t.slice(1,-1):""}i(Nd,"getTextualContent");function Th(e){var t=ut(e);return t==="button"||t==="input"&&e.getAttribute("type")!=="hidden"||t==="meter"||t==="output"||t==="progress"||t==="select"||t==="textarea"}i(Th,"isLabelableElement");function wh(e){if(Th(e))return e;var t=null;return e.childNodes.forEach(function(r){if(t===null&&ke(r)){var n=wh(r);n!==null&&(t=n)}}),t}i(wh,"findLabelableElement");function sA(e){if(e.control!==void 0)return e.control;var t=e.getAttribute("for");return t!==null?e.ownerDocument.getElementById(t):wh(e)}i(sA,"getControlOfLabel");function aA(e){var t=e.labels;if(t===null)return t;if(t!==void 0)return kt(t);if(!Th(e))return null;var r=e.ownerDocument;return kt(r.querySelectorAll("label")).filter(function(n){return sA(n)===e})}i(aA,"getLabels");function lA(e){var t=e.assignedNodes();return t.length===0?kt(e.childNodes):t}i(lA,"getSlotContents");function _h(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=new kB,n=VP(e),o=t.compute,s=o===void 0?"name":o,a=t.computedStyleSupportsPseudoElements,c=a===void 0?t.getComputedStyle!==void 0:a,u=t.getComputedStyle,d=u===void 0?n.getComputedStyle.bind(n):u,p=t.hidden,f=p===void 0?!1:p;function h(v,_){var R="";if(ke(v)&&c){var N=d(v,"::before"),j=Nd(N);R="".concat(j," ").concat(R)}var C=GP(v)?lA(v):kt(v.childNodes).concat(os(v,"aria-owns"));if(C.forEach(function(S){var k=T(S,{isEmbeddedInLabel:_.isEmbeddedInLabel,isReferenced:!1,recursion:!0}),I=ke(S)?d(S).getPropertyValue("display"):"inline",V=I!=="inline"?" ":"";R+="".concat(V).concat(k).concat(V)}),ke(v)&&c){var P=d(v,"::after"),w=Nd(P);R="".concat(R," ").concat(w)}return R.trim()}i(h,"computeMiscTextAlternative");function y(v,_){var R=v.getAttributeNode(_);return R!==null&&!r.has(R)&&R.value.trim()!==""?(r.add(R),R.value):null}i(y,"useAttribute");function g(v){return ke(v)?y(v,"title"):null}i(g,"computeTooltipAttributeValue");function E(v){if(!ke(v))return null;if(HP(v)){r.add(v);for(var _=kt(v.childNodes),R=0;R<_.length;R+=1){var N=_[R];if(zP(N))return T(N,{isEmbeddedInLabel:!1,isReferenced:!1,recursion:!1})}}else if(JP(v)){r.add(v);for(var j=kt(v.childNodes),C=0;C<j.length;C+=1){var P=j[C];if(vh(P))return T(P,{isEmbeddedInLabel:!1,isReferenced:!1,recursion:!1})}}else if(KP(v)){r.add(v);for(var w=kt(v.childNodes),S=0;S<w.length;S+=1){var k=w[S];if(YP(k))return k.textContent}return null}else if(ut(v)==="img"||ut(v)==="area"){var I=y(v,"alt");if(I!==null)return I}else if($P(v)){var V=y(v,"label");if(V!==null)return V}if(ji(v)&&(v.type==="button"||v.type==="submit"||v.type==="reset")){var H=y(v,"value");if(H!==null)return H;if(v.type==="submit")return"Submit";if(v.type==="reset")return"Reset"}var A=aA(v);if(A!==null&&A.length!==0)return r.add(v),kt(A).map(function(K){return T(K,{isEmbeddedInLabel:!0,isReferenced:!1,recursion:!0})}).filter(function(K){return K.length>0}).join(" ");if(ji(v)&&v.type==="image"){var L=y(v,"alt");if(L!==null)return L;var $=y(v,"title");return $!==null?$:"Submit Query"}if(nr(v,["button"])){var D=h(v,{isEmbeddedInLabel:!1});if(D!=="")return D}return null}i(E,"computeElementTextAlternative");function T(v,_){if(r.has(v))return"";if(!f&&QP(v,d)&&!_.isReferenced)return r.add(v),"";var R=ke(v)?v.getAttributeNode("aria-labelledby"):null,N=R!==null&&!r.has(R)?os(v,"aria-labelledby"):[];if(s==="name"&&!_.isReferenced&&N.length>0)return r.add(R),N.map(function(I){return T(I,{isEmbeddedInLabel:_.isEmbeddedInLabel,isReferenced:!0,recursion:!1})}).join(" ");var j=_.recursion&&ZP(v)&&s==="name";if(!j){var C=(ke(v)&&v.getAttribute("aria-label")||"").trim();if(C!==""&&s==="name")return r.add(v),C;if(!tA(v)){var P=E(v);if(P!==null)return r.add(v),P}}if(nr(v,["menu"]))return r.add(v),"";if(j||_.isEmbeddedInLabel||_.isReferenced){if(nr(v,["combobox","listbox"])){r.add(v);var w=eA(v);return w.length===0?ji(v)?v.value:"":kt(w).map(function(I){return T(I,{isEmbeddedInLabel:_.isEmbeddedInLabel,isReferenced:!1,recursion:!0})}).join(" ")}if(Eh(v,"range"))return r.add(v),v.hasAttribute("aria-valuetext")?v.getAttribute("aria-valuetext"):v.hasAttribute("aria-valuenow")?v.getAttribute("aria-valuenow"):v.getAttribute("value")||"";if(nr(v,["textbox"]))return r.add(v),iA(v)}if(nA(v)||ke(v)&&_.isReferenced||rA(v)||oA()){var S=h(v,{isEmbeddedInLabel:_.isEmbeddedInLabel});if(S!=="")return r.add(v),S}if(v.nodeType===v.TEXT_NODE)return r.add(v),v.textContent||"";if(_.recursion)return r.add(v),h(v,{isEmbeddedInLabel:_.isEmbeddedInLabel});var k=g(v);return k!==null?(r.add(v),k):(r.add(v),"")}return i(T,"computeTextAlternative"),XP(T(e,{isEmbeddedInLabel:!1,isReferenced:s==="description",recursion:!1}))}i(_h,"computeTextAlternative");function vo(e){"@babel/helpers - typeof";return vo=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},vo(e)}i(vo,"_typeof");function Id(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}i(Id,"ownKeys");function Md(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?Id(Object(r),!0).forEach(function(n){cA(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Id(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}i(Md,"_objectSpread");function cA(e,t,r){return t=uA(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}i(cA,"_defineProperty");function uA(e){var t=dA(e,"string");return vo(t)==="symbol"?t:String(t)}i(uA,"_toPropertyKey");function dA(e,t){if(vo(e)!=="object"||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t||"default");if(vo(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}i(dA,"_toPrimitive");function Sh(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=os(e,"aria-describedby").map(function(o){return _h(o,Md(Md({},t),{},{compute:"description"}))}).join(" ");if(r===""){var n=e.getAttribute("title");r=n===null?"":n}return r}i(Sh,"computeAccessibleDescription");function pA(e){return nr(e,["caption","code","deletion","emphasis","generic","insertion","paragraph","presentation","strong","subscript","superscript"])}i(pA,"prohibitsNaming");function gc(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return pA(e)?"":_h(e,t)}i(gc,"computeAccessibleName");var qt=Ge(wp()),FB=Ge(_k());function Ph(e){return e.replace(/</g,"&lt;").replace(/>/g,"&gt;")}i(Ph,"escapeHTML");var $B=i((e,t,r,n,o,s,a)=>{const c=n+r.indent,u=r.colors;return e.map(d=>{const p=t[d];let f=a(p,r,c,o,s);return typeof p!="string"&&(f.indexOf(`
296
296
  `)!==-1&&(f=r.spacingOuter+c+f+r.spacingOuter+n),f="{"+f+"}"),r.spacingInner+n+u.prop.open+d+u.prop.close+"="+u.value.open+f+u.value.close}).join("")},"printProps"),BB=3,JB=i((e,t,r,n,o,s)=>e.map(a=>{const c=typeof a=="string"?fA(a,t):s(a,t,r,n,o);return c===""&&typeof a=="object"&&a!==null&&a.nodeType!==BB?"":t.spacingOuter+r+c}).join(""),"printChildren"),fA=i((e,t)=>{const r=t.colors.content;return r.open+Ph(e)+r.close},"printText"),UB=i((e,t)=>{const r=t.colors.comment;return r.open+"<!--"+Ph(e)+"-->"+r.close},"printComment"),VB=i((e,t,r,n,o)=>{const s=n.colors.tag;return s.open+"<"+e+(t&&s.close+t+n.spacingOuter+o+s.open)+(r?">"+s.close+r+n.spacingOuter+o+s.open+"</"+e:(t&&!n.min?"":" ")+"/")+">"+s.close},"printElement"),HB=i((e,t)=>{const r=t.colors.tag;return r.open+"<"+e+r.close+" …"+r.open+" />"+r.close},"printElementAsLeaf"),zB=1,mA=3,hA=8,yA=11,GB=/^((HTML|SVG)\w*)?Element$/,gA=i(e=>{const{tagName:t}=e;return!!(typeof t=="string"&&t.includes("-")||typeof e.hasAttribute=="function"&&e.hasAttribute("is"))},"isCustomElement"),WB=i(e=>{const t=e.constructor.name,{nodeType:r}=e;return r===zB&&(GB.test(t)||gA(e))||r===mA&&t==="Text"||r===hA&&t==="Comment"||r===yA&&t==="DocumentFragment"},"testNode");function bA(e){return e.nodeType===mA}i(bA,"nodeIsText");function vA(e){return e.nodeType===hA}i(vA,"nodeIsComment");function ta(e){return e.nodeType===yA}i(ta,"nodeIsFragment");function EA(e){return{test:i(t=>{var r;return((t==null||(r=t.constructor)==null?void 0:r.name)||gA(t))&&WB(t)},"test"),serialize:i((t,r,n,o,s,a)=>{if(bA(t))return fA(t.data,r);if(vA(t))return UB(t.data,r);const c=ta(t)?"DocumentFragment":t.tagName.toLowerCase();return++o>r.maxDepth?HB(c,r):VB(c,$B(ta(t)?[]:Array.from(t.attributes).map(u=>u.name).sort(),ta(t)?{}:Array.from(t.attributes).reduce((u,d)=>(u[d.name]=d.value,u),{}),r,n+r.indent,o,s,a),JB(Array.prototype.slice.call(t.childNodes||t.children).filter(e),r,n+r.indent,o,s,a),r,n)},"serialize")}}i(EA,"createDOMElementFilter");var TA=null,Ah=null,Rh=null;try{const e=module&&module.require;Ah=e.call(module,"fs").readFileSync,Rh=e.call(module,"@babel/code-frame").codeFrameColumns,TA=e.call(module,"picocolors")}catch{}function wA(e){const t=e.indexOf("(")+1,r=e.indexOf(")"),n=e.slice(t,r),o=n.split(":"),[s,a,c]=[o[0],parseInt(o[1],10),parseInt(o[2],10)];let u="";try{u=Ah(s,"utf-8")}catch{return""}const d=Rh(u,{start:{line:a,column:c}},{highlightCode:!0,linesBelow:0});return TA.dim(n)+`
297
297
  `+d+`
298
298
  `}i(wA,"getCodeFrame");function _A(){if(!Ah||!Rh)return"";const t=new Error().stack.split(`
@@ -340,7 +340,7 @@ Unable to find an `+(n===!1?"accessible ":"")+'element with the role "'+t+'"'+u+
340
340
  `))}i(Zn,"assertPointerEvents");function hC(e){return e.reverse().map((t,r)=>["".padEnd(r),t.tagName,t.id&&`#${t.id}`,t.hasAttribute("data-testid")&&`(testId=${t.getAttribute("data-testid")})`,yC(t),e.length>1&&r===0&&" <-- This element declared `pointer-events: none`",e.length>1&&r===e.length-1&&" <-- Asserted pointer events here"].filter(Boolean).join("")).join(`
341
341
  `)}i(hC,"printTree");function yC(e){var t;let r;if(e.hasAttribute("aria-label"))r=e.getAttribute("aria-label");else if(e.hasAttribute("aria-labelledby")){var n,o;r=(o=e.ownerDocument.getElementById(e.getAttribute("aria-labelledby")))===null||o===void 0||(n=o.textContent)===null||n===void 0?void 0:n.trim()}else if(ye(e,["button","input","meter","output","progress","select","textarea"])&&(!((t=e.labels)===null||t===void 0)&&t.length))r=Array.from(e.labels).map(a=>{var c;return(c=a.textContent)===null||c===void 0?void 0:c.trim()}).join("|");else if(ye(e,"button")){var s;r=(s=e.textContent)===null||s===void 0?void 0:s.trim()}return r=r?.replace(/\n/g," "),Number(r?.length)>30&&(r=`${r?.substring(0,29)}…`),r?`(label=${r})`:""}i(yC,"getLabelDescr");function ep(e,t){return(e&t)>0}i(ep,"hasBitFlag");function er(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}i(er,"_define_property");var gC=class{init(t){const r=this.getTarget(t),[,n]=io(null,r),o=this.getEventInit();return Zn(t,r),t.dispatchUIEvent(r,"pointerover",o),n.forEach(s=>t.dispatchUIEvent(s,"pointerenter",o)),this}move(t,r){const n=this.position,o=this.getTarget(t);if(this.position=r,!iy(n,r))return;const s=this.getTarget(t),a=this.getEventInit(-1),[c,u]=io(o,s);return{leave:i(()=>{ls(t,o)&&o!==s&&(t.dispatchUIEvent(o,"pointerout",a),c.forEach(d=>t.dispatchUIEvent(d,"pointerleave",a)))},"leave"),enter:i(()=>{Zn(t,s),o!==s&&(t.dispatchUIEvent(s,"pointerover",a),u.forEach(d=>t.dispatchUIEvent(d,"pointerenter",a)))},"enter"),move:i(()=>{t.dispatchUIEvent(s,"pointermove",a)},"move")}}down(t,r=0){if(this.isDown)return;const n=this.getTarget(t);Zn(t,n),this.isDown=!0,this.isPrevented=!t.dispatchUIEvent(n,"pointerdown",this.getEventInit(r))}up(t,r=0){if(!this.isDown)return;const n=this.getTarget(t);Zn(t,n),this.isPrevented=!1,this.isDown=!1,t.dispatchUIEvent(n,"pointerup",this.getEventInit(r))}release(t){const r=this.getTarget(t),[n]=io(r,null),o=this.getEventInit();ls(t,r)&&(t.dispatchUIEvent(r,"pointerout",o),n.forEach(s=>t.dispatchUIEvent(s,"pointerleave",o))),this.isCancelled=!0}getTarget(t){var r;return(r=this.position.target)!==null&&r!==void 0?r:t.config.document.body}getEventInit(t){return{...this.position.coords,pointerId:this.pointerId,pointerType:this.pointerType,isPrimary:this.isPrimary,button:Ya(t),buttons:this.buttons.getButtons()}}constructor({pointerId:t,pointerType:r,isPrimary:n},o){er(this,"pointerId",void 0),er(this,"pointerType",void 0),er(this,"isPrimary",void 0),er(this,"buttons",void 0),er(this,"isMultitouch",!1),er(this,"isCancelled",!1),er(this,"isDown",!1),er(this,"isPrevented",!1),er(this,"position",{}),this.pointerId=t,this.pointerType=r,this.isPrimary=n,this.isMultitouch=!n,this.buttons=o}};i(gC,"Pointer");var kJ=gC;function br(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}i(br,"_define_property");var bC=class{isKeyPressed(t){return this.devices.get(t.pointerType).isPressed(t)}async press(t,r,n){this.devices.get(r.pointerType).addPressed(r),this.buttons.down(r);const o=this.getPointerName(r),s=r.pointerType==="touch"?this.pointers.new(o,r.pointerType,this.buttons):this.pointers.get(o);s.position=n,s.pointerType!=="touch"&&(this.mouse.position=n),s.pointerType==="touch"&&s.init(t),s.down(t,r.button),s.pointerType!=="touch"&&this.mouse.down(t,r,s.isPrevented)}async move(t,r,n){const o=this.pointers.get(r),s=o.move(t,n),a=o.pointerType==="touch"?void 0:this.mouse.move(t,n,o.isPrevented);s?.leave(),a?.leave(),s?.enter(),a?.enter(),s?.move(),a?.move()}async release(t,r,n){const o=this.devices.get(r.pointerType);o.removePressed(r),this.buttons.up(r);const s=this.pointers.get(this.getPointerName(r)),a=s.isPrevented;if(s.position=n,s.pointerType!=="touch"&&(this.mouse.position=n),o.countPressed===0&&s.up(t,r.button),s.pointerType==="touch"&&s.release(t),s.pointerType==="touch"&&!s.isMultitouch){const c=this.mouse.move(t,n,a);c?.leave(),c?.enter(),c?.move(),this.mouse.down(t,r,a)}if(!s.isMultitouch){const c=this.mouse.move(t,n,a);c?.leave(),c?.enter(),c?.move(),this.mouse.up(t,r,a)}}getPointerName(t){return t.pointerType==="touch"?t.name:t.pointerType}getPreviousPosition(t){return this.pointers.has(t)?this.pointers.get(t).position:void 0}resetClickCount(){this.mouse.resetClickCount()}getMouseTarget(t){var r;return(r=this.mouse.position.target)!==null&&r!==void 0?r:t.config.document.body}setMousePosition(t){this.mouse.position=t,this.pointers.get("mouse").position=t}constructor(t){br(this,"system",void 0),br(this,"mouse",void 0),br(this,"buttons",void 0),br(this,"devices",new class{get(r){var n,o,s;return(s=(n=this.registry)[o=r])!==null&&s!==void 0?s:n[o]=new qJ}constructor(){br(this,"registry",{})}}),br(this,"pointers",new class{new(r,n,o){const s=n!=="touch"||!Object.values(this.registry).some(a=>a.pointerType==="touch"&&!a.isCancelled);return s||Object.values(this.registry).forEach(a=>{a.pointerType===n&&!a.isCancelled&&(a.isMultitouch=!0)}),this.registry[r]=new kJ({pointerId:this.nextId++,pointerType:n,isPrimary:s},o),this.registry[r]}get(r){if(!this.has(r))throw new Error(`Trying to access pointer "${r}" which does not exist.`);return this.registry[r]}has(r){return r in this.registry}constructor(){br(this,"registry",{}),br(this,"nextId",1)}}),this.system=t,this.buttons=new aC,this.mouse=new jJ,this.pointers.new("mouse","mouse",this.buttons)}};i(bC,"PointerHost");var DJ=bC;function tp(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}i(tp,"_define_property");var vC=class{getUIEventModifiers(){return{altKey:this.keyboard.modifiers.Alt,ctrlKey:this.keyboard.modifiers.Control,metaKey:this.keyboard.modifiers.Meta,shiftKey:this.keyboard.modifiers.Shift,modifierAltGraph:this.keyboard.modifiers.AltGraph,modifierCapsLock:this.keyboard.modifiers.CapsLock,modifierFn:this.keyboard.modifiers.Fn,modifierFnLock:this.keyboard.modifiers.FnLock,modifierNumLock:this.keyboard.modifiers.NumLock,modifierScrollLock:this.keyboard.modifiers.ScrollLock,modifierSymbol:this.keyboard.modifiers.Symbol,modifierSymbolLock:this.keyboard.modifiers.SymbolLock}}constructor(){tp(this,"keyboard",new NJ(this)),tp(this,"pointer",new DJ(this))}};i(vC,"System");var EC=vC;async function TC(e){const t=[];return this.config.skipHover||t.push({target:e}),t.push({keys:"[MouseLeft]",target:e}),this.pointer(t)}i(TC,"click");async function wC(e){return this.pointer([{target:e},"[MouseLeft][MouseLeft]"])}i(wC,"dblClick");async function _C(e){return this.pointer([{target:e},"[MouseLeft][MouseLeft][MouseLeft]"])}i(_C,"tripleClick");async function SC(e){return this.pointer({target:e})}i(SC,"hover");async function PC(e){return Zn(this,this.system.pointer.getMouseTarget(this)),this.pointer({target:e.ownerDocument.body})}i(PC,"unhover");async function AC({shift:e}={}){return this.keyboard(e===!0?"{Shift>}{Tab}{/Shift}":e===!1?"[/ShiftLeft][/ShiftRight]{Tab}":"{Tab}")}i(AC,"tab");var ay=(function(e){return e["{"]="}",e["["]="]",e})(ay||{});function ly(e,t){let r=0;const n=e[r]in ay?e[r]:"";r+=n.length;const s=new RegExp(`^\\${n}{2}`).test(e)?"":n;return{type:s,...s===""?RC(e,r,t):OC(e,r,s,t)}}i(ly,"readNextDescriptor");function RC(e,t,r){const n=e[t];return cy(n,e,t,r),t+=n.length,{consumedLength:t,descriptor:n,releasePrevious:!1,releaseSelf:!0,repeat:1}}i(RC,"readPrintableChar");function OC(e,t,r,n){var o,s;const a=e[t]==="/"?"/":"";t+=a.length;const c=r==="{"&&e[t]==="\\";t+=Number(c);const u=c?e[t]:(o=e.slice(t).match(r==="{"?/^\w+|^[^}>/]/:/^\w+/))===null||o===void 0?void 0:o[0];cy(u,e,t,n),t+=u.length;var d;const p=(d=(s=e.slice(t).match(/^>\d+/))===null||s===void 0?void 0:s[0])!==null&&d!==void 0?d:"";t+=p.length;const f=e[t]==="/"||!p&&e[t]===">"?e[t]:"";t+=f.length;const h=ay[r],y=e[t]===h?h:"";if(!y)throw new Error(uy([!p&&"repeat modifier",!f&&"release modifier",`"${h}"`].filter(Boolean).join(" or "),e[t],e,n));return t+=y.length,{consumedLength:t,descriptor:u,releasePrevious:!!a,repeat:p?Math.max(Number(p.substr(1)),1):1,releaseSelf:CC(f,p)}}i(OC,"readTag");function cy(e,t,r,n){if(!e)throw new Error(uy("key descriptor",t[r],t,n))}i(cy,"assertDescriptor");function CC(e,t){if(e)return e==="/";if(t)return!1}i(CC,"hasReleaseSelf");function uy(e,t,r,n){return`Expected ${e} but found "${t??""}" in "${r}"
342
342
  See ${n==="pointer"?"https://testing-library.com/docs/user-event/pointer#pressing-a-button-or-touching-the-screen":"https://testing-library.com/docs/user-event/keyboard"}
343
- for more information about how userEvent parses your input.`}i(uy,"getErrorMessage");function xC(e,t){const r=[];do{const{type:o,descriptor:s,consumedLength:a,releasePrevious:c,releaseSelf:u=!0,repeat:d}=ly(t,"keyboard");var n;const p=(n=e.find(f=>{if(o==="["){var h;return((h=f.code)===null||h===void 0?void 0:h.toLowerCase())===s.toLowerCase()}else if(o==="{"){var y;return((y=f.key)===null||y===void 0?void 0:y.toLowerCase())===s.toLowerCase()}return f.key===s}))!==null&&n!==void 0?n:{key:"Unknown",code:"Unknown",[o==="["?"code":"key"]:s};r.push({keyDef:p,releasePrevious:c,releaseSelf:u,repeat:d}),t=t.slice(a)}while(t);return r}i(xC,"parseKeyDef");async function NC(e){const t=xC(this.config.keyboardMap,e);for(let r=0;r<t.length;r++)await xn(this.config),await IC(this,t[r])}i(NC,"keyboard");async function IC(e,{keyDef:t,releasePrevious:r,releaseSelf:n,repeat:o}){const{system:s}=e;if(s.keyboard.isKeyPressed(t)&&await s.keyboard.keyup(e,t),!r){for(let a=1;a<=o;a++)await s.keyboard.keydown(e,t),a<o&&await xn(e.config);n&&await s.keyboard.keyup(e,t)}}i(IC,"keyboardAction");async function MC(e){for(const t of e.system.keyboard.getPressedKeys())await e.system.keyboard.keyup(e,t)}i(MC,"releaseAllKeys");function dy(e){const t=Wt(e)?{"text/plain":qC(e)}:{"text/plain":String(e.ownerDocument.getSelection())},r=Sc(Nt(e));for(const n in t)t[n]&&r.setData(n,t[n]);return r}i(dy,"copySelection");function qC(e){const t=Po(e);return Kt(e).substring(t.startOffset,t.endOffset)}i(qC,"readSelectedValueFromInput");async function jC(){const e=this.config.document;var t;const r=(t=e.activeElement)!==null&&t!==void 0?t:e.body,n=dy(r);if(n.items.length!==0)return this.dispatchUIEvent(r,"copy",{clipboardData:n})&&this.config.writeToClipboard&&await Uh(e,n),n}i(jC,"copy");async function kC(){const e=this.config.document;var t;const r=(t=e.activeElement)!==null&&t!==void 0?t:e.body,n=dy(r);if(n.items.length!==0)return this.dispatchUIEvent(r,"cut",{clipboardData:n})&&this.config.writeToClipboard&&await Uh(r.ownerDocument,n),n}i(kC,"cut");async function DC(e){const t=this.config.document;var r;const n=(r=t.activeElement)!==null&&r!==void 0?r:t.body;var o;const s=(o=typeof e=="string"?LC(t,e):e)!==null&&o!==void 0?o:await iO(t).catch(()=>{throw new Error("`userEvent.paste()` without `clipboardData` requires the `ClipboardAPI` to be available.")});this.dispatchUIEvent(n,"paste",{clipboardData:s})}i(DC,"paste");function LC(e,t){const r=Sc(Nt(e));return r.setData("text",t),r}i(LC,"getClipboardDataFromString");function rp(e,t){const r=[];do{const{descriptor:n,consumedLength:o,releasePrevious:s,releaseSelf:a=!0}=ly(t,"pointer"),c=e.find(u=>u.name===n);c&&r.push({keyDef:c,releasePrevious:s,releaseSelf:a}),t=t.slice(o)}while(t);return r}i(rp,"parseKeyDef");async function FC(e){const{pointerMap:t}=this.config,r=[];(Array.isArray(e)?e:[e]).forEach(n=>{typeof n=="string"?r.push(...rp(t,n)):"keys"in n?r.push(...rp(t,n.keys).map(o=>({...n,...o}))):r.push(n)});for(let n=0;n<r.length;n++)await xn(this.config),await $C(this,r[n]);this.system.pointer.resetClickCount()}i(FC,"pointer");async function $C(e,t){var r,n;const o="pointerName"in t&&t.pointerName?t.pointerName:"keyDef"in t?e.system.pointer.getPointerName(t.keyDef):"mouse",s=e.system.pointer.getPreviousPosition(o);var a,c,u,d;const p={target:(a=t.target)!==null&&a!==void 0?a:BC(e,s),coords:(c=t.coords)!==null&&c!==void 0?c:s?.coords,caret:{node:(u=t.node)!==null&&u!==void 0?u:np(t)||s==null||(r=s.caret)===null||r===void 0?void 0:r.node,offset:(d=t.offset)!==null&&d!==void 0?d:np(t)||s==null||(n=s.caret)===null||n===void 0?void 0:n.offset}};"keyDef"in t?(e.system.pointer.isKeyPressed(t.keyDef)&&(Qn(e,Rt.Trigger),await e.system.pointer.release(e,t.keyDef,p)),t.releasePrevious||(Qn(e,Rt.Trigger),await e.system.pointer.press(e,t.keyDef,p),t.releaseSelf&&(Qn(e,Rt.Trigger),await e.system.pointer.release(e,t.keyDef,p)))):(Qn(e,Rt.Trigger),await e.system.pointer.move(e,o,p))}i($C,"pointerAction");function np(e){var t,r;return!!((r=(t=e.target)!==null&&t!==void 0?t:e.node)!==null&&r!==void 0?r:e.offset!==void 0)}i(np,"hasCaretPosition");function BC(e,t){if(!t)throw new Error("This pointer has no previous position. Provide a target property!");var r;return(r=t.target)!==null&&r!==void 0?r:e.config.document.body}i(BC,"getPrevTarget");async function JC(e){if(!Rn(e)||sr(e))throw new Error("clear()` is only supported on editable elements.");if(Rr(e),e.ownerDocument.activeElement!==e)throw new Error("The element to be cleared could not be focused.");if(Qh(e),!BO(e))throw new Error("The element content to be cleared could not be selected.");Cn(this,e,"","deleteContentBackward")}i(JC,"clear");async function UC(e,t){return py.call(this,!0,e,t)}i(UC,"selectOptions");async function VC(e,t){return py.call(this,!1,e,t)}i(VC,"deselectOptions");async function py(e,t,r){if(!e&&!t.multiple)throw Te().getElementError("Unable to deselect an option in a non-multiple select. Use selectOptions to change the selection instead.",t);const n=Array.isArray(r)?r:[r],o=Array.from(t.querySelectorAll('option, [role="option"]')),s=n.map(c=>{if(typeof c!="string"&&o.includes(c))return c;{const u=o.find(d=>d.value===c||d.innerHTML===c);if(u)return u;throw Te().getElementError(`Value "${String(c)}" not found in options`,t)}}).filter(c=>!sr(c));if(sr(t)||!s.length)return;const a=i(c=>{c.selected=e,this.dispatchUIEvent(t,"input",{bubbles:!0,cancelable:!1,composed:!0}),this.dispatchUIEvent(t,"change")},"selectOption");if(ye(t,"select"))if(t.multiple)for(const c of s){const u=this.config.pointerEventsCheck===0?!0:ls(this,c);u&&(this.dispatchUIEvent(c,"pointerover"),this.dispatchUIEvent(t,"pointerenter"),this.dispatchUIEvent(c,"mouseover"),this.dispatchUIEvent(t,"mouseenter"),this.dispatchUIEvent(c,"pointermove"),this.dispatchUIEvent(c,"mousemove"),this.dispatchUIEvent(c,"pointerdown"),this.dispatchUIEvent(c,"mousedown")),Rr(t),u&&(this.dispatchUIEvent(c,"pointerup"),this.dispatchUIEvent(c,"mouseup")),a(c),u&&this.dispatchUIEvent(c,"click"),await xn(this.config)}else if(s.length===1){const c=this.config.pointerEventsCheck===0?!0:ls(this,t);c?await this.click(t):Rr(t),a(s[0]),c&&(this.dispatchUIEvent(t,"pointerover"),this.dispatchUIEvent(t,"pointerenter"),this.dispatchUIEvent(t,"mouseover"),this.dispatchUIEvent(t,"mouseenter"),this.dispatchUIEvent(t,"pointerup"),this.dispatchUIEvent(t,"mouseup"),this.dispatchUIEvent(t,"click")),await xn(this.config)}else throw Te().getElementError("Cannot select multiple options on a non-multiple select",t);else if(t.getAttribute("role")==="listbox")for(const c of s)await this.click(c),await this.unhover(c);else throw Te().getElementError("Cannot select options on elements that are neither select nor listbox elements",t)}i(py,"selectOptionsBase");async function HC(e,t,{skipClick:r=this.config.skipClick,skipAutoClose:n=this.config.skipAutoClose,initialSelectionStart:o,initialSelectionEnd:s}={}){e.disabled||(r||await this.click(e),o!==void 0&&Xn(e,o,s??o),await this.keyboard(t),n||await MC(this))}i(HC,"type");var ub=Symbol("files and value properties are mocked");function sa(e,t,r){r?Object.defineProperty(e,t,r):delete e[t]}i(sa,"restoreProperty");function zC(e,t){var r;(r=e[ub])===null||r===void 0||r.restore();const n=Object.getOwnPropertyDescriptor(e,"type"),o=Object.getOwnPropertyDescriptor(e,"value"),s=Object.getOwnPropertyDescriptor(e,"files");function a(){sa(e,"type",n),sa(e,"value",o),sa(e,"files",s)}i(a,"restore"),e[ub]={restore:a},Object.defineProperties(e,{files:{configurable:!0,get:i(()=>t,"get")},value:{configurable:!0,get:i(()=>t.length?`C:\\fakepath\\${t[0].name}`:"","get"),set(c){if(c==="")a();else{var u;o==null||(u=o.set)===null||u===void 0||u.call(e,c)}}},type:{configurable:!0,get:i(()=>"file","get"),set(c){c!=="file"&&(a(),e.type=c)}}})}i(zC,"setFiles");async function GC(e,t){const r=ye(e,"label")?e.control:e;if(!r||!ye(r,"input",{type:"file"}))throw new TypeError(`The ${r===e?"given":"associated"} ${r?.tagName} element does not accept file uploads`);if(sr(e))return;const n=(Array.isArray(t)?t:[t]).filter(s=>!this.config.applyAccept||WC(s,r.accept)).slice(0,r.multiple?void 0:1),o=i(()=>{var s;n.length===((s=r.files)===null||s===void 0?void 0:s.length)&&n.every((a,c)=>{var u;return a===((u=r.files)===null||u===void 0?void 0:u.item(c))})||(zC(r,_c(Nt(e),n)),this.dispatchUIEvent(r,"input"),this.dispatchUIEvent(r,"change"))},"fileDialog");r.addEventListener("fileDialog",o),await this.click(e),r.removeEventListener("fileDialog",o)}i(GC,"upload");function Ai(e){return e.toLowerCase().replace(/(\.|\/)jpg\b/g,"$1jpeg")}i(Ai,"normalize");function WC(e,t){if(!t)return!0;const r=["audio/*","image/*","video/*"];return Ai(t).trim().split(/\s*,\s*/).some(n=>n.startsWith(".")?Ai(e.name).endsWith(n):r.includes(n)?Ai(e.type).startsWith(n.replace("*","")):Ai(e.type)===n)}i(WC,"isAcceptableFile");var db={click:TC,dblClick:wC,tripleClick:_C,hover:SC,unhover:PC,tab:AC,keyboard:NC,copy:jC,cut:kC,paste:DC,pointer:FC,clear:JC,deselectOptions:VC,selectOptions:UC,type:HC,upload:GC};function KC(e){return Te().asyncWrapper(e)}i(KC,"wrapAsync");var YC={applyAccept:!0,autoModify:!0,delay:0,document:globalThis.document,keyboardMap:IJ,pointerMap:MJ,pointerEventsCheck:ia.EachApiCall,skipAutoClose:!1,skipClick:!1,skipHover:!1,writeToClipboard:!1,advanceTimers:i(()=>Promise.resolve(),"advanceTimers")},LJ={...YC,writeToClipboard:!0};function fy(e={},t=LJ,r){const n=ex(e,r,t);return{...t,...e,document:n}}i(fy,"createConfig");function XC(e={}){const t=fy(e);ny(t.document),ry(Nt(t.document).HTMLElement);var r;const n=(r=t.document.defaultView)!==null&&r!==void 0?r:globalThis.window;return rO(n),Cc(t).api}i(XC,"setupMain");function ut({keyboardState:e,pointerState:t,...r}={},n){const o=fy(r,YC,n);ny(o.document),ry(Nt(o.document).HTMLElement);var s;const a=(s=t??e)!==null&&s!==void 0?s:new EC;return{api:Cc(o,a).api,system:a}}i(ut,"setupDirect");function QC(e){return Cc({...this.config,...e},this.system).api}i(QC,"setupSub");function ZC(e,t){function r(...n){return Qn(e,Rt.Call),KC(()=>t.apply(e,n).then(async o=>(await xn(e.config),o)))}return i(r,"method"),Object.defineProperty(r,"name",{get:i(()=>t.name,"get")}),r}i(ZC,"wrapAndBindImpl");function Cc(e,t=new EC){const r={};return Object.assign(r,{config:e,dispatchEvent:ty.bind(r),dispatchUIEvent:XO.bind(r),system:t,levelRefs:{},...db}),{instance:r,api:{...Object.fromEntries(Object.entries(db).map(([n,o])=>[n,ZC(r,o)])),setup:QC.bind(r)}}}i(Cc,"createInstance");function ex(e,t,r){var n,o;return(o=(n=e.document)!==null&&n!==void 0?n:t&&rC(t))!==null&&o!==void 0?o:r.document}i(ex,"getDocument");var tx={};Tt(tx,{clear:()=>rx,click:()=>nx,copy:()=>ox,cut:()=>ix,dblClick:()=>sx,deselectOptions:()=>ax,hover:()=>lx,keyboard:()=>cx,paste:()=>dx,pointer:()=>ux,selectOptions:()=>px,tab:()=>gx,tripleClick:()=>fx,type:()=>mx,unhover:()=>hx,upload:()=>yx});function rx(e){return ut().api.clear(e)}i(rx,"clear");function nx(e,t={}){return ut(t,e).api.click(e)}i(nx,"click");function ox(e={}){return ut(e).api.copy()}i(ox,"copy");function ix(e={}){return ut(e).api.cut()}i(ix,"cut");function sx(e,t={}){return ut(t).api.dblClick(e)}i(sx,"dblClick");function ax(e,t,r={}){return ut(r).api.deselectOptions(e,t)}i(ax,"deselectOptions");function lx(e,t={}){return ut(t).api.hover(e)}i(lx,"hover");async function cx(e,t={}){const{api:r,system:n}=ut(t);return r.keyboard(e).then(()=>n)}i(cx,"keyboard");async function ux(e,t={}){const{api:r,system:n}=ut(t);return r.pointer(e).then(()=>n)}i(ux,"pointer");function dx(e,t){return ut(t).api.paste(e)}i(dx,"paste");function px(e,t,r={}){return ut(r).api.selectOptions(e,t)}i(px,"selectOptions");function fx(e,t={}){return ut(t).api.tripleClick(e)}i(fx,"tripleClick");function mx(e,t,r={}){return ut(r,e).api.type(e,t,r)}i(mx,"type");function hx(e,t={}){const{api:r,system:n}=ut(t);return n.pointer.setMousePosition({target:e}),r.unhover(e)}i(hx,"unhover");function yx(e,t,r={}){return ut(r).api.upload(e,t)}i(yx,"upload");function gx(e={}){return ut().api.tab(e)}i(gx,"tab");var bx={...tx,setup:XC},op=No({...CP},{getKeys:i(e=>Object.keys(e).filter(t=>t!=="eventWrapper"),"getKeys"),intercept:i((e,t)=>t[0]==="fireEvent"||e.startsWith("find")||e.startsWith("waitFor"),"intercept")});op.screen=new Proxy(op.screen,{get(e,t,r){return typeof window<"u"&&globalThis.location?.href?.includes("viewMode=docs")&&Ue.warn(ve`
343
+ for more information about how userEvent parses your input.`}i(uy,"getErrorMessage");function xC(e,t){const r=[];do{const{type:o,descriptor:s,consumedLength:a,releasePrevious:c,releaseSelf:u=!0,repeat:d}=ly(t,"keyboard");var n;const p=(n=e.find(f=>{if(o==="["){var h;return((h=f.code)===null||h===void 0?void 0:h.toLowerCase())===s.toLowerCase()}else if(o==="{"){var y;return((y=f.key)===null||y===void 0?void 0:y.toLowerCase())===s.toLowerCase()}return f.key===s}))!==null&&n!==void 0?n:{key:"Unknown",code:"Unknown",[o==="["?"code":"key"]:s};r.push({keyDef:p,releasePrevious:c,releaseSelf:u,repeat:d}),t=t.slice(a)}while(t);return r}i(xC,"parseKeyDef");async function NC(e){const t=xC(this.config.keyboardMap,e);for(let r=0;r<t.length;r++)await xn(this.config),await IC(this,t[r])}i(NC,"keyboard");async function IC(e,{keyDef:t,releasePrevious:r,releaseSelf:n,repeat:o}){const{system:s}=e;if(s.keyboard.isKeyPressed(t)&&await s.keyboard.keyup(e,t),!r){for(let a=1;a<=o;a++)await s.keyboard.keydown(e,t),a<o&&await xn(e.config);n&&await s.keyboard.keyup(e,t)}}i(IC,"keyboardAction");async function MC(e){for(const t of e.system.keyboard.getPressedKeys())await e.system.keyboard.keyup(e,t)}i(MC,"releaseAllKeys");function dy(e){const t=Wt(e)?{"text/plain":qC(e)}:{"text/plain":String(e.ownerDocument.getSelection())},r=Sc(Nt(e));for(const n in t)t[n]&&r.setData(n,t[n]);return r}i(dy,"copySelection");function qC(e){const t=Po(e);return Kt(e).substring(t.startOffset,t.endOffset)}i(qC,"readSelectedValueFromInput");async function jC(){const e=this.config.document;var t;const r=(t=e.activeElement)!==null&&t!==void 0?t:e.body,n=dy(r);if(n.items.length!==0)return this.dispatchUIEvent(r,"copy",{clipboardData:n})&&this.config.writeToClipboard&&await Uh(e,n),n}i(jC,"copy");async function kC(){const e=this.config.document;var t;const r=(t=e.activeElement)!==null&&t!==void 0?t:e.body,n=dy(r);if(n.items.length!==0)return this.dispatchUIEvent(r,"cut",{clipboardData:n})&&this.config.writeToClipboard&&await Uh(r.ownerDocument,n),n}i(kC,"cut");async function DC(e){const t=this.config.document;var r;const n=(r=t.activeElement)!==null&&r!==void 0?r:t.body;var o;const s=(o=typeof e=="string"?LC(t,e):e)!==null&&o!==void 0?o:await iO(t).catch(()=>{throw new Error("`userEvent.paste()` without `clipboardData` requires the `ClipboardAPI` to be available.")});this.dispatchUIEvent(n,"paste",{clipboardData:s})}i(DC,"paste");function LC(e,t){const r=Sc(Nt(e));return r.setData("text",t),r}i(LC,"getClipboardDataFromString");function rp(e,t){const r=[];do{const{descriptor:n,consumedLength:o,releasePrevious:s,releaseSelf:a=!0}=ly(t,"pointer"),c=e.find(u=>u.name===n);c&&r.push({keyDef:c,releasePrevious:s,releaseSelf:a}),t=t.slice(o)}while(t);return r}i(rp,"parseKeyDef");async function FC(e){const{pointerMap:t}=this.config,r=[];(Array.isArray(e)?e:[e]).forEach(n=>{typeof n=="string"?r.push(...rp(t,n)):"keys"in n?r.push(...rp(t,n.keys).map(o=>({...n,...o}))):r.push(n)});for(let n=0;n<r.length;n++)await xn(this.config),await $C(this,r[n]);this.system.pointer.resetClickCount()}i(FC,"pointer");async function $C(e,t){var r,n;const o="pointerName"in t&&t.pointerName?t.pointerName:"keyDef"in t?e.system.pointer.getPointerName(t.keyDef):"mouse",s=e.system.pointer.getPreviousPosition(o);var a,c,u,d;const p={target:(a=t.target)!==null&&a!==void 0?a:BC(e,s),coords:(c=t.coords)!==null&&c!==void 0?c:s?.coords,caret:{node:(u=t.node)!==null&&u!==void 0?u:np(t)||s==null||(r=s.caret)===null||r===void 0?void 0:r.node,offset:(d=t.offset)!==null&&d!==void 0?d:np(t)||s==null||(n=s.caret)===null||n===void 0?void 0:n.offset}};"keyDef"in t?(e.system.pointer.isKeyPressed(t.keyDef)&&(Qn(e,Rt.Trigger),await e.system.pointer.release(e,t.keyDef,p)),t.releasePrevious||(Qn(e,Rt.Trigger),await e.system.pointer.press(e,t.keyDef,p),t.releaseSelf&&(Qn(e,Rt.Trigger),await e.system.pointer.release(e,t.keyDef,p)))):(Qn(e,Rt.Trigger),await e.system.pointer.move(e,o,p))}i($C,"pointerAction");function np(e){var t,r;return!!((r=(t=e.target)!==null&&t!==void 0?t:e.node)!==null&&r!==void 0?r:e.offset!==void 0)}i(np,"hasCaretPosition");function BC(e,t){if(!t)throw new Error("This pointer has no previous position. Provide a target property!");var r;return(r=t.target)!==null&&r!==void 0?r:e.config.document.body}i(BC,"getPrevTarget");async function JC(e){if(!Rn(e)||sr(e))throw new Error("clear()` is only supported on editable elements.");if(Rr(e),e.ownerDocument.activeElement!==e)throw new Error("The element to be cleared could not be focused.");if(Qh(e),!BO(e))throw new Error("The element content to be cleared could not be selected.");Cn(this,e,"","deleteContentBackward")}i(JC,"clear");async function UC(e,t){return py.call(this,!0,e,t)}i(UC,"selectOptions");async function VC(e,t){return py.call(this,!1,e,t)}i(VC,"deselectOptions");async function py(e,t,r){if(!e&&!t.multiple)throw Te().getElementError("Unable to deselect an option in a non-multiple select. Use selectOptions to change the selection instead.",t);const n=Array.isArray(r)?r:[r],o=Array.from(t.querySelectorAll('option, [role="option"]')),s=n.map(c=>{if(typeof c!="string"&&o.includes(c))return c;{const u=o.find(d=>d.value===c||d.innerHTML===c);if(u)return u;throw Te().getElementError(`Value "${String(c)}" not found in options`,t)}}).filter(c=>!sr(c));if(sr(t)||!s.length)return;const a=i(c=>{c.selected=e,this.dispatchUIEvent(t,"input",{bubbles:!0,cancelable:!1,composed:!0}),this.dispatchUIEvent(t,"change")},"selectOption");if(ye(t,"select"))if(t.multiple)for(const c of s){const u=this.config.pointerEventsCheck===0?!0:ls(this,c);u&&(this.dispatchUIEvent(c,"pointerover"),this.dispatchUIEvent(t,"pointerenter"),this.dispatchUIEvent(c,"mouseover"),this.dispatchUIEvent(t,"mouseenter"),this.dispatchUIEvent(c,"pointermove"),this.dispatchUIEvent(c,"mousemove"),this.dispatchUIEvent(c,"pointerdown"),this.dispatchUIEvent(c,"mousedown")),Rr(t),u&&(this.dispatchUIEvent(c,"pointerup"),this.dispatchUIEvent(c,"mouseup")),a(c),u&&this.dispatchUIEvent(c,"click"),await xn(this.config)}else if(s.length===1){const c=this.config.pointerEventsCheck===0?!0:ls(this,t);c?await this.click(t):Rr(t),a(s[0]),c&&(this.dispatchUIEvent(t,"pointerover"),this.dispatchUIEvent(t,"pointerenter"),this.dispatchUIEvent(t,"mouseover"),this.dispatchUIEvent(t,"mouseenter"),this.dispatchUIEvent(t,"pointerup"),this.dispatchUIEvent(t,"mouseup"),this.dispatchUIEvent(t,"click")),await xn(this.config)}else throw Te().getElementError("Cannot select multiple options on a non-multiple select",t);else if(t.getAttribute("role")==="listbox")for(const c of s)await this.click(c),await this.unhover(c);else throw Te().getElementError("Cannot select options on elements that are neither select nor listbox elements",t)}i(py,"selectOptionsBase");async function HC(e,t,{skipClick:r=this.config.skipClick,skipAutoClose:n=this.config.skipAutoClose,initialSelectionStart:o,initialSelectionEnd:s}={}){e.disabled||(r||await this.click(e),o!==void 0&&Xn(e,o,s??o),await this.keyboard(t),n||await MC(this))}i(HC,"type");var ub=Symbol("files and value properties are mocked");function sa(e,t,r){r?Object.defineProperty(e,t,r):delete e[t]}i(sa,"restoreProperty");function zC(e,t){var r;(r=e[ub])===null||r===void 0||r.restore();const n=Object.getOwnPropertyDescriptor(e,"type"),o=Object.getOwnPropertyDescriptor(e,"value"),s=Object.getOwnPropertyDescriptor(e,"files");function a(){sa(e,"type",n),sa(e,"value",o),sa(e,"files",s)}i(a,"restore"),e[ub]={restore:a},Object.defineProperties(e,{files:{configurable:!0,get:i(()=>t,"get")},value:{configurable:!0,get:i(()=>t.length?`C:\\fakepath\\${t[0].name}`:"","get"),set(c){if(c==="")a();else{var u;o==null||(u=o.set)===null||u===void 0||u.call(e,c)}}},type:{configurable:!0,get:i(()=>"file","get"),set(c){c!=="file"&&(a(),e.type=c)}}})}i(zC,"setFiles");async function GC(e,t){const r=ye(e,"label")?e.control:e;if(!r||!ye(r,"input",{type:"file"}))throw new TypeError(`The ${r===e?"given":"associated"} ${r?.tagName} element does not accept file uploads`);if(sr(e))return;const n=(Array.isArray(t)?t:[t]).filter(s=>!this.config.applyAccept||WC(s,r.accept)).slice(0,r.multiple?void 0:1),o=i(()=>{var s;n.length===((s=r.files)===null||s===void 0?void 0:s.length)&&n.every((a,c)=>{var u;return a===((u=r.files)===null||u===void 0?void 0:u.item(c))})||(zC(r,_c(Nt(e),n)),this.dispatchUIEvent(r,"input"),this.dispatchUIEvent(r,"change"))},"fileDialog");r.addEventListener("fileDialog",o),await this.click(e),r.removeEventListener("fileDialog",o)}i(GC,"upload");function Ai(e){return e.toLowerCase().replace(/(\.|\/)jpg\b/g,"$1jpeg")}i(Ai,"normalize");function WC(e,t){if(!t)return!0;const r=["audio/*","image/*","video/*"];return Ai(t).trim().split(/\s*,\s*/).some(n=>n.startsWith(".")?Ai(e.name).endsWith(n):r.includes(n)?Ai(e.type).startsWith(n.replace("*","")):Ai(e.type)===n)}i(WC,"isAcceptableFile");var db={click:TC,dblClick:wC,tripleClick:_C,hover:SC,unhover:PC,tab:AC,keyboard:NC,copy:jC,cut:kC,paste:DC,pointer:FC,clear:JC,deselectOptions:VC,selectOptions:UC,type:HC,upload:GC};function KC(e){return Te().asyncWrapper(e)}i(KC,"wrapAsync");var YC={applyAccept:!0,autoModify:!0,delay:0,document:globalThis.document,keyboardMap:IJ,pointerMap:MJ,pointerEventsCheck:ia.EachApiCall,skipAutoClose:!1,skipClick:!1,skipHover:!1,writeToClipboard:!1,advanceTimers:i(()=>Promise.resolve(),"advanceTimers")},LJ={...YC,writeToClipboard:!0};function fy(e={},t=LJ,r){const n=ex(e,r,t);return{...t,...e,document:n}}i(fy,"createConfig");function XC(e={}){const t=fy(e);ny(t.document),ry(Nt(t.document).HTMLElement);var r;const n=(r=t.document.defaultView)!==null&&r!==void 0?r:globalThis.window;return rO(n),Cc(t).api}i(XC,"setupMain");function dt({keyboardState:e,pointerState:t,...r}={},n){const o=fy(r,YC,n);ny(o.document),ry(Nt(o.document).HTMLElement);var s;const a=(s=t??e)!==null&&s!==void 0?s:new EC;return{api:Cc(o,a).api,system:a}}i(dt,"setupDirect");function QC(e){return Cc({...this.config,...e},this.system).api}i(QC,"setupSub");function ZC(e,t){function r(...n){return Qn(e,Rt.Call),KC(()=>t.apply(e,n).then(async o=>(await xn(e.config),o)))}return i(r,"method"),Object.defineProperty(r,"name",{get:i(()=>t.name,"get")}),r}i(ZC,"wrapAndBindImpl");function Cc(e,t=new EC){const r={};return Object.assign(r,{config:e,dispatchEvent:ty.bind(r),dispatchUIEvent:XO.bind(r),system:t,levelRefs:{},...db}),{instance:r,api:{...Object.fromEntries(Object.entries(db).map(([n,o])=>[n,ZC(r,o)])),setup:QC.bind(r)}}}i(Cc,"createInstance");function ex(e,t,r){var n,o;return(o=(n=e.document)!==null&&n!==void 0?n:t&&rC(t))!==null&&o!==void 0?o:r.document}i(ex,"getDocument");var tx={};Tt(tx,{clear:()=>rx,click:()=>nx,copy:()=>ox,cut:()=>ix,dblClick:()=>sx,deselectOptions:()=>ax,hover:()=>lx,keyboard:()=>cx,paste:()=>dx,pointer:()=>ux,selectOptions:()=>px,tab:()=>gx,tripleClick:()=>fx,type:()=>mx,unhover:()=>hx,upload:()=>yx});function rx(e){return dt().api.clear(e)}i(rx,"clear");function nx(e,t={}){return dt(t,e).api.click(e)}i(nx,"click");function ox(e={}){return dt(e).api.copy()}i(ox,"copy");function ix(e={}){return dt(e).api.cut()}i(ix,"cut");function sx(e,t={}){return dt(t).api.dblClick(e)}i(sx,"dblClick");function ax(e,t,r={}){return dt(r).api.deselectOptions(e,t)}i(ax,"deselectOptions");function lx(e,t={}){return dt(t).api.hover(e)}i(lx,"hover");async function cx(e,t={}){const{api:r,system:n}=dt(t);return r.keyboard(e).then(()=>n)}i(cx,"keyboard");async function ux(e,t={}){const{api:r,system:n}=dt(t);return r.pointer(e).then(()=>n)}i(ux,"pointer");function dx(e,t){return dt(t).api.paste(e)}i(dx,"paste");function px(e,t,r={}){return dt(r).api.selectOptions(e,t)}i(px,"selectOptions");function fx(e,t={}){return dt(t).api.tripleClick(e)}i(fx,"tripleClick");function mx(e,t,r={}){return dt(r,e).api.type(e,t,r)}i(mx,"type");function hx(e,t={}){const{api:r,system:n}=dt(t);return n.pointer.setMousePosition({target:e}),r.unhover(e)}i(hx,"unhover");function yx(e,t,r={}){return dt(r).api.upload(e,t)}i(yx,"upload");function gx(e={}){return dt().api.tab(e)}i(gx,"tab");var bx={...tx,setup:XC},op=No({...CP},{getKeys:i(e=>Object.keys(e).filter(t=>t!=="eventWrapper"),"getKeys"),intercept:i((e,t)=>t[0]==="fireEvent"||e.startsWith("find")||e.startsWith("waitFor"),"intercept")});op.screen=new Proxy(op.screen,{get(e,t,r){return typeof window<"u"&&globalThis.location?.href?.includes("viewMode=docs")&&Ue.warn(ve`
344
344
  You are using Testing Library's \`screen\` object while the story is rendered in docs mode. This will likely lead to issues, as multiple stories are rendered in the same page and therefore screen will potentially find multiple elements. Use the \`canvas\` utility from the story context instead, which will scope the queries to each story's canvas.
345
345
 
346
346
  More info: https://storybook.js.org/docs/writing-tests/interaction-testing?ref=error#querying-the-canvas
@@ -912,12 +912,12 @@ ${j.description}`)},"showError"),showException:i(j=>{throw j},"showException"),f
912
912
  Omitted potentially unsafe URL args.
913
913
 
914
914
  More info: https://storybook.js.org/docs/writing-stories/args#setting-args-through-the-url?ref=error
915
- `),r),{})},"parseArgsParam"),{history:jN,document:Ur}=te;function kN(e){const t=(e||"").match(/^\/story\/(.+)/);if(!t)throw new Error(`Invalid path '${e}', must start with '/story/'`);return t[1]}i(kN,"pathToId");var DN=i(({selection:e,extraParams:t})=>{const r=Ur?.location.search.slice(1),{path:n,selectedKind:o,selectedStory:s,...a}=(0,gp.parse)(r);return`?${(0,gp.stringify)({...a,...t,...e&&{id:e.storyId,viewMode:e.viewMode}})}`},"getQueryString"),e3=i(e=>{if(!e)return;const t=DN({selection:e}),{hash:r=""}=Ur.location;Ur.title=e.storyId,jN.replaceState({},"",`${Ur.location.pathname}${t}${r}`)},"setPath"),t3=i(e=>e!=null&&typeof e=="object"&&Array.isArray(e)===!1,"isObject"),$i=i(e=>{if(e!==void 0){if(typeof e=="string")return e;if(Array.isArray(e))return $i(e[0]);if(t3(e))return $i(Object.values(e).filter(Boolean))}},"getFirstString"),r3=i(()=>{if(typeof Ur<"u"){const e=Ur.location.search.slice(1),t=(0,gp.parse)(e),r=typeof t.args=="string"?Ub(t.args):void 0,n=typeof t.globals=="string"?Ub(t.globals):void 0;let o=$i(t.viewMode);(typeof o!="string"||!o.match(/docs|story/))&&(o="story");const s=$i(t.path),a=s?kN(s):$i(t.id);if(a)return{storySpecifier:a,args:r,globals:n,viewMode:o}}return null},"getSelectionSpecifierFromPath"),LN=class{constructor(){this.selectionSpecifier=r3()}setSelection(t){this.selection=t,e3(this.selection)}setQueryParams(t){const r=DN({extraParams:t}),{hash:n=""}=Ur.location;jN.replaceState({},"",`${Ur.location.pathname}${r}${n}`)}};i(LN,"UrlStore");var FN=LN,n3=Ge(Nk(),1),o3=Ge(Pp(),1),{document:ht}=te,Vb=100,$N=(e=>(e.MAIN="MAIN",e.NOPREVIEW="NOPREVIEW",e.PREPARING_STORY="PREPARING_STORY",e.PREPARING_DOCS="PREPARING_DOCS",e.ERROR="ERROR",e))($N||{}),yu={PREPARING_STORY:"sb-show-preparing-story",PREPARING_DOCS:"sb-show-preparing-docs",MAIN:"sb-show-main",NOPREVIEW:"sb-show-nopreview",ERROR:"sb-show-errordisplay"},gu={centered:"sb-main-centered",fullscreen:"sb-main-fullscreen",padded:"sb-main-padded"},Hb=new n3.default({escapeXML:!0}),BN=class{constructor(){if(this.testing=!1,typeof ht<"u"){const{__SPECIAL_TEST_PARAMETER__:t}=(0,o3.parse)(ht.location.search.slice(1));switch(t){case"preparing-story":{this.showPreparingStory(),this.testing=!0;break}case"preparing-docs":{this.showPreparingDocs(),this.testing=!0;break}}}}prepareForStory(t){return this.showStory(),this.applyLayout(t.parameters.layout),ht.documentElement.scrollTop=0,ht.documentElement.scrollLeft=0,this.storyRoot()}storyRoot(){return ht.getElementById("storybook-root")}prepareForDocs(){return this.showMain(),this.showDocs(),this.applyLayout("fullscreen"),ht.documentElement.scrollTop=0,ht.documentElement.scrollLeft=0,this.docsRoot()}docsRoot(){return ht.getElementById("storybook-docs")}applyLayout(t="padded"){if(t==="none"){ht.body.classList.remove(this.currentLayoutClass),this.currentLayoutClass=null;return}this.checkIfLayoutExists(t);const r=gu[t];ht.body.classList.remove(this.currentLayoutClass),ht.body.classList.add(r),this.currentLayoutClass=r}checkIfLayoutExists(t){gu[t]||De.warn(ve`
915
+ `),r),{})},"parseArgsParam"),{history:jN,document:Ur}=te;function kN(e){const t=(e||"").match(/^\/story\/(.+)/);if(!t)throw new Error(`Invalid path '${e}', must start with '/story/'`);return t[1]}i(kN,"pathToId");var DN=i(({selection:e,extraParams:t})=>{const r=Ur?.location.search.slice(1),{path:n,selectedKind:o,selectedStory:s,...a}=(0,gp.parse)(r);return`?${(0,gp.stringify)({...a,...t,...e&&{id:e.storyId,viewMode:e.viewMode}})}`},"getQueryString"),e3=i(e=>{if(!e)return;const t=DN({selection:e}),{hash:r=""}=Ur.location;Ur.title=e.storyId,jN.replaceState({},"",`${Ur.location.pathname}${t}${r}`)},"setPath"),t3=i(e=>e!=null&&typeof e=="object"&&Array.isArray(e)===!1,"isObject"),$i=i(e=>{if(e!==void 0){if(typeof e=="string")return e;if(Array.isArray(e))return $i(e[0]);if(t3(e))return $i(Object.values(e).filter(Boolean))}},"getFirstString"),r3=i(()=>{if(typeof Ur<"u"){const e=Ur.location.search.slice(1),t=(0,gp.parse)(e),r=typeof t.args=="string"?Ub(t.args):void 0,n=typeof t.globals=="string"?Ub(t.globals):void 0;let o=$i(t.viewMode);(typeof o!="string"||!o.match(/docs|story/))&&(o="story");const s=$i(t.path),a=s?kN(s):$i(t.id);if(a)return{storySpecifier:a,args:r,globals:n,viewMode:o}}return null},"getSelectionSpecifierFromPath"),LN=class{constructor(){this.selectionSpecifier=r3()}setSelection(t){this.selection=t,e3(this.selection)}setQueryParams(t){const r=DN({extraParams:t}),{hash:n=""}=Ur.location;jN.replaceState({},"",`${Ur.location.pathname}${r}${n}`)}};i(LN,"UrlStore");var FN=LN,n3=Ge(Nk(),1),o3=Ge(Pp(),1),{document:yt}=te,Vb=100,$N=(e=>(e.MAIN="MAIN",e.NOPREVIEW="NOPREVIEW",e.PREPARING_STORY="PREPARING_STORY",e.PREPARING_DOCS="PREPARING_DOCS",e.ERROR="ERROR",e))($N||{}),yu={PREPARING_STORY:"sb-show-preparing-story",PREPARING_DOCS:"sb-show-preparing-docs",MAIN:"sb-show-main",NOPREVIEW:"sb-show-nopreview",ERROR:"sb-show-errordisplay"},gu={centered:"sb-main-centered",fullscreen:"sb-main-fullscreen",padded:"sb-main-padded"},Hb=new n3.default({escapeXML:!0}),BN=class{constructor(){if(this.testing=!1,typeof yt<"u"){const{__SPECIAL_TEST_PARAMETER__:t}=(0,o3.parse)(yt.location.search.slice(1));switch(t){case"preparing-story":{this.showPreparingStory(),this.testing=!0;break}case"preparing-docs":{this.showPreparingDocs(),this.testing=!0;break}}}}prepareForStory(t){return this.showStory(),this.applyLayout(t.parameters.layout),yt.documentElement.scrollTop=0,yt.documentElement.scrollLeft=0,this.storyRoot()}storyRoot(){return yt.getElementById("storybook-root")}prepareForDocs(){return this.showMain(),this.showDocs(),this.applyLayout("fullscreen"),yt.documentElement.scrollTop=0,yt.documentElement.scrollLeft=0,this.docsRoot()}docsRoot(){return yt.getElementById("storybook-docs")}applyLayout(t="padded"){if(t==="none"){yt.body.classList.remove(this.currentLayoutClass),this.currentLayoutClass=null;return}this.checkIfLayoutExists(t);const r=gu[t];yt.body.classList.remove(this.currentLayoutClass),yt.body.classList.add(r),this.currentLayoutClass=r}checkIfLayoutExists(t){gu[t]||De.warn(ve`
916
916
  The desired layout: ${t} is not a valid option.
917
917
  The possible options are: ${Object.keys(gu).join(", ")}, none.
918
- `)}showMode(t){clearTimeout(this.preparingTimeout),Object.keys($N).forEach(r=>{r===t?ht.body.classList.add(yu[r]):ht.body.classList.remove(yu[r])})}showErrorDisplay({message:t="",stack:r=""}){let n=t,o=r;const s=t.split(`
918
+ `)}showMode(t){clearTimeout(this.preparingTimeout),Object.keys($N).forEach(r=>{r===t?yt.body.classList.add(yu[r]):yt.body.classList.remove(yu[r])})}showErrorDisplay({message:t="",stack:r=""}){let n=t,o=r;const s=t.split(`
919
919
  `);s.length>1&&([n]=s,o=s.slice(1).join(`
920
- `).replace(/^\n/,"")),ht.getElementById("error-message").innerHTML=Hb.toHtml(n),ht.getElementById("error-stack").innerHTML=Hb.toHtml(o),this.showMode("ERROR")}showNoPreview(){this.testing||(this.showMode("NOPREVIEW"),this.storyRoot()?.setAttribute("hidden","true"),this.docsRoot()?.setAttribute("hidden","true"))}showPreparingStory({immediate:t=!1}={}){clearTimeout(this.preparingTimeout),t?this.showMode("PREPARING_STORY"):this.preparingTimeout=setTimeout(()=>this.showMode("PREPARING_STORY"),Vb)}showPreparingDocs({immediate:t=!1}={}){clearTimeout(this.preparingTimeout),t?this.showMode("PREPARING_DOCS"):this.preparingTimeout=setTimeout(()=>this.showMode("PREPARING_DOCS"),Vb)}showMain(){this.showMode("MAIN")}showDocs(){this.storyRoot().setAttribute("hidden","true"),this.docsRoot().removeAttribute("hidden")}showStory(){this.docsRoot().setAttribute("hidden","true"),this.storyRoot().removeAttribute("hidden")}showStoryDuringRender(){ht.body.classList.add(yu.MAIN)}};i(BN,"WebView");var JN=BN,UN=class extends IN{constructor(t,r){super(t,r,new FN,new JN),this.importFn=t,this.getProjectAnnotations=r,te.__STORYBOOK_PREVIEW__=this}};i(UN,"PreviewWeb");var i3=UN,{document:En}=te,s3=["application/javascript","application/ecmascript","application/x-ecmascript","application/x-javascript","text/ecmascript","text/javascript","text/javascript1.0","text/javascript1.1","text/javascript1.2","text/javascript1.3","text/javascript1.4","text/javascript1.5","text/jscript","text/livescript","text/x-ecmascript","text/x-javascript","module"],a3="script",zb="scripts-root";function il(){const e=En.createEvent("Event");e.initEvent("DOMContentLoaded",!0,!0),En.dispatchEvent(e)}i(il,"simulateDOMContentLoaded");function VN(e,t,r){const n=En.createElement("script");n.type=e.type==="module"?"module":"text/javascript",e.src?(n.onload=t,n.onerror=t,n.src=e.src):n.textContent=e.innerText,r?r.appendChild(n):En.head.appendChild(n),e.parentNode.removeChild(e),e.src||t()}i(VN,"insertScript");function My(e,t,r=0){e[r](()=>{r++,r===e.length?t():My(e,t,r)})}i(My,"insertScriptsSequentially");function HN(e){let t=En.getElementById(zb);t?t.innerHTML="":(t=En.createElement("div"),t.id=zb,En.body.appendChild(t));const r=Array.from(e.querySelectorAll(a3));if(r.length){const n=[];r.forEach(o=>{const s=o.getAttribute("type");(!s||s3.includes(s))&&n.push(a=>VN(o,a,t))}),n.length&&My(n,il,void 0)}else il()}i(HN,"simulatePageLoad");var bu;(function(e){e.start="/**",e.nostart="/***",e.delim="*",e.end="*/"})(bu=bu||(bu={}));function zN(e){return e.start+e.delimiter+e.postDelimiter+e.tag+e.postTag+e.type+e.postType+e.name+e.postName+e.description+e.end+e.lineEnd}i(zN,"join");function l3(){return e=>e.source.map(({tokens:t})=>zN(t)).join(`
920
+ `).replace(/^\n/,"")),yt.getElementById("error-message").innerHTML=Hb.toHtml(n),yt.getElementById("error-stack").innerHTML=Hb.toHtml(o),this.showMode("ERROR")}showNoPreview(){this.testing||(this.showMode("NOPREVIEW"),this.storyRoot()?.setAttribute("hidden","true"),this.docsRoot()?.setAttribute("hidden","true"))}showPreparingStory({immediate:t=!1}={}){clearTimeout(this.preparingTimeout),t?this.showMode("PREPARING_STORY"):this.preparingTimeout=setTimeout(()=>this.showMode("PREPARING_STORY"),Vb)}showPreparingDocs({immediate:t=!1}={}){clearTimeout(this.preparingTimeout),t?this.showMode("PREPARING_DOCS"):this.preparingTimeout=setTimeout(()=>this.showMode("PREPARING_DOCS"),Vb)}showMain(){this.showMode("MAIN")}showDocs(){this.storyRoot().setAttribute("hidden","true"),this.docsRoot().removeAttribute("hidden")}showStory(){this.docsRoot().setAttribute("hidden","true"),this.storyRoot().removeAttribute("hidden")}showStoryDuringRender(){yt.body.classList.add(yu.MAIN)}};i(BN,"WebView");var JN=BN,UN=class extends IN{constructor(t,r){super(t,r,new FN,new JN),this.importFn=t,this.getProjectAnnotations=r,te.__STORYBOOK_PREVIEW__=this}};i(UN,"PreviewWeb");var i3=UN,{document:En}=te,s3=["application/javascript","application/ecmascript","application/x-ecmascript","application/x-javascript","text/ecmascript","text/javascript","text/javascript1.0","text/javascript1.1","text/javascript1.2","text/javascript1.3","text/javascript1.4","text/javascript1.5","text/jscript","text/livescript","text/x-ecmascript","text/x-javascript","module"],a3="script",zb="scripts-root";function il(){const e=En.createEvent("Event");e.initEvent("DOMContentLoaded",!0,!0),En.dispatchEvent(e)}i(il,"simulateDOMContentLoaded");function VN(e,t,r){const n=En.createElement("script");n.type=e.type==="module"?"module":"text/javascript",e.src?(n.onload=t,n.onerror=t,n.src=e.src):n.textContent=e.innerText,r?r.appendChild(n):En.head.appendChild(n),e.parentNode.removeChild(e),e.src||t()}i(VN,"insertScript");function My(e,t,r=0){e[r](()=>{r++,r===e.length?t():My(e,t,r)})}i(My,"insertScriptsSequentially");function HN(e){let t=En.getElementById(zb);t?t.innerHTML="":(t=En.createElement("div"),t.id=zb,En.body.appendChild(t));const r=Array.from(e.querySelectorAll(a3));if(r.length){const n=[];r.forEach(o=>{const s=o.getAttribute("type");(!s||s3.includes(s))&&n.push(a=>VN(o,a,t))}),n.length&&My(n,il,void 0)}else il()}i(HN,"simulatePageLoad");var bu;(function(e){e.start="/**",e.nostart="/***",e.delim="*",e.end="*/"})(bu=bu||(bu={}));function zN(e){return e.start+e.delimiter+e.postDelimiter+e.tag+e.postTag+e.type+e.postType+e.name+e.postName+e.description+e.end+e.lineEnd}i(zN,"join");function l3(){return e=>e.source.map(({tokens:t})=>zN(t)).join(`
921
921
  `)}i(l3,"getStringifier");var c3=Ge(Ik(),1),Jn=(0,c3.stringifyRules)(),u3=Jn.JsdocTypeObject;Jn.JsdocTypeAny=()=>"any";Jn.JsdocTypeObject=(e,t)=>`(${u3(e,t)})`;Jn.JsdocTypeOptional=(e,t)=>t(e.element);Jn.JsdocTypeNullable=(e,t)=>t(e.element);Jn.JsdocTypeNotNullable=(e,t)=>t(e.element);Jn.JsdocTypeUnion=(e,t)=>e.elements.map(t).join("|");var d3="storybook/docs",p3=`${d3}/snippet-rendered`;async function GN(e,t){const r=t.parameters?.docs?.source?.transform,{id:n,unmappedArgs:o}=t,s=r&&e?r?.(e,t):e,a=s?await s:void 0;Lt.getChannel().emit(p3,{id:n,source:a,args:o})}i(GN,"emitTransformCode");var us={depth:10,clearOnStoryChange:!0,limit:50},f3=i((e={})=>{Object.assign(us,e)},"configureActions"),WN=i((e,t)=>{const r=Object.getPrototypeOf(e);return!r||t(r)?r:WN(r,t)},"findProto"),m3=i(e=>!!(typeof e=="object"&&e&&WN(e,t=>/^Synthetic(?:Base)?Event$/.test(t.constructor.name))&&typeof e.persist=="function"),"isReactSyntheticEvent"),h3=i(e=>{if(m3(e)){const t=Object.create(e.constructor.prototype,Object.getOwnPropertyDescriptors(e));t.persist();const r=Object.getOwnPropertyDescriptor(t,"view"),n=r?.value;return typeof n=="object"&&n?.constructor.name==="Window"&&Object.defineProperty(t,"view",{...r,value:Object.create(n.constructor.prototype)}),t}return e},"serializeArg");function Bo(e,t={}){const r={...us,...t},n=i(function(...s){if(t.implicit){const y=("__STORYBOOK_PREVIEW__"in te?te.__STORYBOOK_PREVIEW__:void 0)?.storyRenders.find(g=>g.phase==="playing"||g.phase==="rendering");if(y){const g=!globalThis?.FEATURES?.disallowImplicitActionsInRenderV8,E=new fT({phase:y.phase,name:e,deprecated:g});if(g)console.warn(E);else throw E}}const a=Lt.getChannel(),c=Date.now().toString(36)+Math.random().toString(36).substring(2),u=5,d=s.map(h3),p=s.length>1?d:d[0],f={id:c,count:0,data:{name:e,args:p},options:{...r,maxDepth:u+(r.depth||3)}};a.emit(HT,f)},"actionHandler");return n.isAction=!0,n.implicit=t.implicit,n}i(Bo,"action");var y3=i((...e)=>{let t=us,r=e;r.length===1&&Array.isArray(r[0])&&([r]=r),r.length!==1&&typeof r[r.length-1]!="string"&&(t={...us,...r.pop()});let n=r[0];(r.length!==1||typeof n=="string")&&(n={},r.forEach(s=>{n[s]=s}));const o={};return Object.keys(n).forEach(s=>{o[s]=Bo(n[s],t)}),o},"actions"),g3={"@storybook/global":Jv,"storybook/test":pw,"storybook/actions":VT,"storybook/preview-api":Cu,"storybook/internal/channels":Vv,"storybook/internal/client-logger":zv,"storybook/internal/core-events":Ap,"storybook/internal/types":JT,"storybook/internal/preview-errors":sT,"storybook/internal/preview-api":Cu};async function KN(){const e=new URL(window.location.href);if(e.searchParams.get("navigator")!=="true"||globalThis.__STORYBOOK_PREVIEW_NAVIGATOR__)return;globalThis.__STORYBOOK_PREVIEW_NAVIGATOR__=!0;const t=await(await fetch("/index.json")).json(),r=e.searchParams.get("id");if(!r){const n=Object.values(t.entries)[0];n&&(e.searchParams.set("id",n.id),e.searchParams.set("viewMode",n.type),window.location.href=e.toString());return}b3(t,r)}i(KN,"maybeSetupPreviewNavigator");var b3=i(async(e,t)=>{const r={entries:{}};for(const c of Object.values(e.entries)){const u=c.title.split("/");let d=r;for(const p of u)d.entries||(d.entries={}),d.entries[p]?t===c.id&&(d.entries[p].isActive=!0):d.entries[p]={title:p,isActive:t===c.id,entries:{}},d=d.entries[p];d.entries||(d.entries={}),d.entries[c.name]={id:c.id,name:c.name,href:`?id=${c.id}&viewMode=${c.type}&navigator=true`,isActive:t===c.id}}const n=i(c=>{if("entries"in c&&"title"in c){const d=c;return`
922
922
  <li class="sb-navigator-branch">
923
923
  <details${d.isActive?" open":""}>
@@ -1006,17 +1006,17 @@ ${j.description}`)},"showError"),showException:i(j=>{throw j},"showException"),f
1006
1006
  font-weight: bold;
1007
1007
  color: rgb(2, 156, 253);
1008
1008
  }
1009
- `,document.head.appendChild(a),s.querySelector(".sb-navigator-story-link.active")?.closest("details")?.scrollIntoView({block:"center"})},"setupPreviewNavigator"),v3=Ge(Mk(),1),vu;function YN(){return vu||(vu=new v3.default(te.navigator?.userAgent).getBrowserInfo()),vu}i(YN,"getBrowserInfo");function XN(e){return e.browserInfo=YN(),e}i(XN,"prepareForTelemetry");function QN(e){const t=e.error||e;t.fromStorybook&&te.sendTelemetryError(t)}i(QN,"errorListener");function ZN({reason:e}){e.fromStorybook&&te.sendTelemetryError(e)}i(ZN,"unhandledRejectionListener");function qy(){sD.forEach(e=>{te[Uv[e]]=g3[e]}),te.sendTelemetryError=e=>{te.__STORYBOOK_ADDONS_CHANNEL__.emit($v,XN(e))},te.addEventListener("error",QN),te.addEventListener("unhandledrejection",ZN),KN()}i(qy,"setup");qy();const{createBrowserChannel:E3}=__STORYBOOK_MODULE_CHANNELS__,{addons:T3}=__STORYBOOK_MODULE_PREVIEW_API__,jy=E3({page:"preview"});T3.setChannel(jy);window.__STORYBOOK_ADDONS_CHANNEL__=jy;window.CONFIG_TYPE==="DEVELOPMENT"&&(window.__STORYBOOK_SERVER_CHANNEL__=jy);var w3=Object.create,Lc=Object.defineProperty,_3=Object.getOwnPropertyDescriptor,eI=Object.getOwnPropertyNames,S3=Object.getPrototypeOf,P3=Object.prototype.hasOwnProperty,O=(e,t)=>Lc(e,"name",{value:t,configurable:!0}),EK=(e=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(e,{get:(t,r)=>(typeof require<"u"?require:t)[r]}):e)(function(e){if(typeof require<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+e+'" is not supported')}),A3=(e,t)=>function(){return t||(0,e[eI(e)[0]])((t={exports:{}}).exports,t),t.exports},TK=(e,t)=>{for(var r in t)Lc(e,r,{get:t[r],enumerable:!0})},R3=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of eI(t))!P3.call(e,o)&&o!==r&&Lc(e,o,{get:()=>t[o],enumerable:!(n=_3(t,o))||n.enumerable});return e},O3=(e,t,r)=>(r=e!=null?w3(S3(e)):{},R3(t||!e||!e.__esModule?Lc(r,"default",{value:e,enumerable:!0}):r,e));function la(e){if(!e||typeof e!="object")return!1;const t=Object.getPrototypeOf(e);return t===null||t===Object.prototype||Object.getPrototypeOf(t)===null?Object.prototype.toString.call(e)==="[object Object]":!1}O(la,"isPlainObject");function C3(e){return e==null||typeof e!="object"&&typeof e!="function"}O(C3,"isPrimitive");function x3(e){return ArrayBuffer.isView(e)&&!(e instanceof DataView)}O(x3,"isTypedArray");function N3(e){return Object.getOwnPropertySymbols(e).filter(t=>Object.prototype.propertyIsEnumerable.call(e,t))}O(N3,"getSymbols");function I3(e){return e==null?e===void 0?"[object Undefined]":"[object Null]":Object.prototype.toString.call(e)}O(I3,"getTag");var wK="[object RegExp]",_K="[object String]",SK="[object Number]",PK="[object Boolean]",AK="[object Arguments]",RK="[object Symbol]",OK="[object Date]",CK="[object Map]",xK="[object Set]",NK="[object Array]",IK="[object Function]",MK="[object ArrayBuffer]",qK="[object Object]",jK="[object Error]",kK="[object DataView]",DK="[object Uint8Array]",LK="[object Uint8ClampedArray]",FK="[object Uint16Array]",$K="[object Uint32Array]",BK="[object BigUint64Array]",JK="[object Int8Array]",UK="[object Int16Array]",VK="[object Int32Array]",HK="[object BigInt64Array]",zK="[object Float32Array]",GK="[object Float64Array]",M3=A3({"../node_modules/jsdoc-type-pratt-parser/dist/index.js"(e,t){(function(r,n){typeof e=="object"&&typeof t<"u"?n(e):typeof define=="function"&&define.amd?define(["exports"],n):(r=typeof globalThis<"u"?globalThis:r||self,n(r.jtpp={}))})(e,function(r){function n(l){return l.text!==void 0&&l.text!==""?`'${l.type}' with value '${l.text}'`:`'${l.type}'`}O(n,"tokenToString");const o=class tI extends Error{constructor(m){super(`No parslet found for token: ${n(m)}`),this.token=m,Object.setPrototypeOf(this,tI.prototype)}getToken(){return this.token}};O(o,"NoParsletFoundError");let s=o;const a=class rI extends Error{constructor(m){super(`The parsing ended early. The next token was: ${n(m)}`),this.token=m,Object.setPrototypeOf(this,rI.prototype)}getToken(){return this.token}};O(a,"EarlyEndOfParseError");let c=a;const u=class nI extends Error{constructor(m,b){let x=`Unexpected type: '${m.type}'.`;b!==void 0&&(x+=` Message: ${b}`),super(x),Object.setPrototypeOf(this,nI.prototype)}};O(u,"UnexpectedTypeError");let d=u;function p(l){return m=>m.startsWith(l)?{type:l,text:l}:null}O(p,"makePunctuationRule");function f(l){let m=0,b;const x=l[0];let F=!1;if(x!=="'"&&x!=='"')return null;for(;m<l.length;){if(m++,b=l[m],!F&&b===x){m++;break}F=!F&&b==="\\"}if(b!==x)throw new Error("Unterminated String");return l.slice(0,m)}O(f,"getQuoted");const h=new RegExp("[$_\\p{ID_Start}]|\\\\u\\p{Hex_Digit}{4}|\\\\u\\{0*(?:\\p{Hex_Digit}{1,5}|10\\p{Hex_Digit}{4})\\}","u"),y=new RegExp("[$\\-\\p{ID_Continue}\\u200C\\u200D]|\\\\u\\p{Hex_Digit}{4}|\\\\u\\{0*(?:\\p{Hex_Digit}{1,5}|10\\p{Hex_Digit}{4})\\}","u");function g(l){let m=l[0];if(!h.test(m))return null;let b=1;do{if(m=l[b],!y.test(m))break;b++}while(b<l.length);return l.slice(0,b)}O(g,"getIdentifier");const E=/^(NaN|-?((\d*\.\d+|\d+)([Ee][+-]?\d+)?|Infinity))/;function T(l){var m,b;return(b=(m=E.exec(l))===null||m===void 0?void 0:m[0])!==null&&b!==void 0?b:null}O(T,"getNumber");const v=O(l=>{const m=g(l);return m==null?null:{type:"Identifier",text:m}},"identifierRule");function _(l){return m=>{if(!m.startsWith(l))return null;const b=m[l.length];return b!==void 0&&y.test(b)?null:{type:l,text:l}}}O(_,"makeKeyWordRule");const R=O(l=>{const m=f(l);return m==null?null:{type:"StringValue",text:m}},"stringValueRule"),N=O(l=>l.length>0?null:{type:"EOF",text:""},"eofRule"),j=O(l=>{const m=T(l);return m===null?null:{type:"Number",text:m}},"numberRule"),C=[N,p("=>"),p("("),p(")"),p("{"),p("}"),p("["),p("]"),p("|"),p("&"),p("<"),p(">"),p(","),p(";"),p("*"),p("?"),p("!"),p("="),p(":"),p("..."),p("."),p("#"),p("~"),p("/"),p("@"),_("undefined"),_("null"),_("function"),_("this"),_("new"),_("module"),_("event"),_("extends"),_("external"),_("infer"),_("typeof"),_("keyof"),_("readonly"),_("import"),_("is"),_("in"),_("asserts"),j,v,R],P=/^\s*\n\s*/,w=class ca{static create(m){const b=this.read(m);m=b.text;const x=this.read(m);return m=x.text,new ca(m,void 0,b.token,x.token)}constructor(m,b,x,F){this.text="",this.text=m,this.previous=b,this.current=x,this.next=F}static read(m,b=!1){b=b||P.test(m),m=m.trim();for(const x of C){const F=x(m);if(F!==null){const G=Object.assign(Object.assign({},F),{startOfLine:b});return m=m.slice(G.text.length),{text:m,token:G}}}throw new Error("Unexpected Token "+m)}advance(){const m=ca.read(this.text);return new ca(m.text,this.current,this.next,m.token)}};O(w,"Lexer");let S=w;function k(l){if(l===void 0)throw new Error("Unexpected undefined");if(l.type==="JsdocTypeKeyValue"||l.type==="JsdocTypeParameterList"||l.type==="JsdocTypeProperty"||l.type==="JsdocTypeReadonlyProperty"||l.type==="JsdocTypeObjectField"||l.type==="JsdocTypeJsdocObjectField"||l.type==="JsdocTypeIndexSignature"||l.type==="JsdocTypeMappedType"||l.type==="JsdocTypeTypeParameter")throw new d(l);return l}O(k,"assertRootResult");function I(l){return l.type==="JsdocTypeKeyValue"?H(l):k(l)}O(I,"assertPlainKeyValueOrRootResult");function V(l){return l.type==="JsdocTypeName"?l:H(l)}O(V,"assertPlainKeyValueOrNameResult");function H(l){if(l.type!=="JsdocTypeKeyValue")throw new d(l);return l}O(H,"assertPlainKeyValueResult");function A(l){var m;if(l.type==="JsdocTypeVariadic"){if(((m=l.element)===null||m===void 0?void 0:m.type)==="JsdocTypeName")return l;throw new d(l)}if(l.type!=="JsdocTypeNumber"&&l.type!=="JsdocTypeName")throw new d(l);return l}O(A,"assertNumberOrVariadicNameResult");function L(l){if(l.type==="JsdocTypeTuple"||l.type==="JsdocTypeGeneric"&&l.meta.brackets==="square")return l;throw new d(l)}O(L,"assertArrayOrTupleResult");function $(l){return l.type==="JsdocTypeIndexSignature"||l.type==="JsdocTypeMappedType"}O($,"isSquaredProperty");var D;(function(l){l[l.ALL=0]="ALL",l[l.PARAMETER_LIST=1]="PARAMETER_LIST",l[l.OBJECT=2]="OBJECT",l[l.KEY_VALUE=3]="KEY_VALUE",l[l.INDEX_BRACKETS=4]="INDEX_BRACKETS",l[l.UNION=5]="UNION",l[l.INTERSECTION=6]="INTERSECTION",l[l.PREFIX=7]="PREFIX",l[l.INFIX=8]="INFIX",l[l.TUPLE=9]="TUPLE",l[l.SYMBOL=10]="SYMBOL",l[l.OPTIONAL=11]="OPTIONAL",l[l.NULLABLE=12]="NULLABLE",l[l.KEY_OF_TYPE_OF=13]="KEY_OF_TYPE_OF",l[l.FUNCTION=14]="FUNCTION",l[l.ARROW=15]="ARROW",l[l.ARRAY_BRACKETS=16]="ARRAY_BRACKETS",l[l.GENERIC=17]="GENERIC",l[l.NAME_PATH=18]="NAME_PATH",l[l.PARENTHESIS=19]="PARENTHESIS",l[l.SPECIAL_TYPES=20]="SPECIAL_TYPES"})(D||(D={}));const K=class{constructor(m,b,x){this.grammar=m,typeof b=="string"?this._lexer=S.create(b):this._lexer=b,this.baseParser=x}get lexer(){return this._lexer}parse(){const m=this.parseType(D.ALL);if(this.lexer.current.type!=="EOF")throw new c(this.lexer.current);return m}parseType(m){return k(this.parseIntermediateType(m))}parseIntermediateType(m){const b=this.tryParslets(null,m);if(b===null)throw new s(this.lexer.current);return this.parseInfixIntermediateType(b,m)}parseInfixIntermediateType(m,b){let x=this.tryParslets(m,b);for(;x!==null;)m=x,x=this.tryParslets(m,b);return m}tryParslets(m,b){for(const x of this.grammar){const F=x(this,b,m);if(F!==null)return F}return null}consume(m){return Array.isArray(m)||(m=[m]),m.includes(this.lexer.current.type)?(this._lexer=this.lexer.advance(),!0):!1}acceptLexerState(m){this._lexer=m.lexer}};O(K,"Parser");let X=K;function ie(l){return l==="}"||l==="EOF"||l==="|"||l===","||l===")"||l===">"}O(ie,"isQuestionMarkUnknownType");const se=O((l,m,b)=>{const x=l.lexer.current.type,F=l.lexer.next.type;return b==null&&x==="?"&&!ie(F)||b!=null&&x==="?"?(l.consume("?"),b==null?{type:"JsdocTypeNullable",element:l.parseType(D.NULLABLE),meta:{position:"prefix"}}:{type:"JsdocTypeNullable",element:k(b),meta:{position:"suffix"}}):null},"nullableParslet");function W(l){const m=O((b,x,F)=>{const G=b.lexer.current.type,Z=b.lexer.next.type;if(F===null){if("parsePrefix"in l&&l.accept(G,Z))return l.parsePrefix(b)}else if("parseInfix"in l&&l.precedence>x&&l.accept(G,Z))return l.parseInfix(b,F);return null},"parslet");return Object.defineProperty(m,"name",{value:l.name}),m}O(W,"composeParslet");const ae=W({name:"optionalParslet",accept:O(l=>l==="=","accept"),precedence:D.OPTIONAL,parsePrefix:O(l=>(l.consume("="),{type:"JsdocTypeOptional",element:l.parseType(D.OPTIONAL),meta:{position:"prefix"}}),"parsePrefix"),parseInfix:O((l,m)=>(l.consume("="),{type:"JsdocTypeOptional",element:k(m),meta:{position:"suffix"}}),"parseInfix")}),be=W({name:"numberParslet",accept:O(l=>l==="Number","accept"),parsePrefix:O(l=>{const m=parseFloat(l.lexer.current.text);return l.consume("Number"),{type:"JsdocTypeNumber",value:m}},"parsePrefix")}),ue=W({name:"parenthesisParslet",accept:O(l=>l==="(","accept"),parsePrefix:O(l=>{if(l.consume("("),l.consume(")"))return{type:"JsdocTypeParameterList",elements:[]};const m=l.parseIntermediateType(D.ALL);if(!l.consume(")"))throw new Error("Unterminated parenthesis");return m.type==="JsdocTypeParameterList"?m:m.type==="JsdocTypeKeyValue"?{type:"JsdocTypeParameterList",elements:[m]}:{type:"JsdocTypeParenthesis",element:k(m)}},"parsePrefix")}),ee=W({name:"specialTypesParslet",accept:O((l,m)=>l==="?"&&ie(m)||l==="null"||l==="undefined"||l==="*","accept"),parsePrefix:O(l=>{if(l.consume("null"))return{type:"JsdocTypeNull"};if(l.consume("undefined"))return{type:"JsdocTypeUndefined"};if(l.consume("*"))return{type:"JsdocTypeAny"};if(l.consume("?"))return{type:"JsdocTypeUnknown"};throw new Error("Unacceptable token: "+l.lexer.current.text)},"parsePrefix")}),Re=W({name:"notNullableParslet",accept:O(l=>l==="!","accept"),precedence:D.NULLABLE,parsePrefix:O(l=>(l.consume("!"),{type:"JsdocTypeNotNullable",element:l.parseType(D.NULLABLE),meta:{position:"prefix"}}),"parsePrefix"),parseInfix:O((l,m)=>(l.consume("!"),{type:"JsdocTypeNotNullable",element:k(m),meta:{position:"suffix"}}),"parseInfix")});function Oe({allowTrailingComma:l}){return W({name:"parameterListParslet",accept:O(m=>m===",","accept"),precedence:D.PARAMETER_LIST,parseInfix:O((m,b)=>{const x=[I(b)];m.consume(",");do try{const F=m.parseIntermediateType(D.PARAMETER_LIST);x.push(I(F))}catch(F){if(F instanceof s)break;throw F}while(m.consume(","));if(x.length>0&&x.slice(0,-1).some(F=>F.type==="JsdocTypeVariadic"))throw new Error("Only the last parameter may be a rest parameter");return{type:"JsdocTypeParameterList",elements:x}},"parseInfix")})}O(Oe,"createParameterListParslet");const He=W({name:"genericParslet",accept:O((l,m)=>l==="<"||l==="."&&m==="<","accept"),precedence:D.GENERIC,parseInfix:O((l,m)=>{const b=l.consume(".");l.consume("<");const x=[];let F=!1;if(l.consume("infer")){F=!0;const G=l.parseIntermediateType(D.SYMBOL);if(G.type!=="JsdocTypeName")throw new d(G,"A typescript asserts always has to have a name on the left side.");x.push(G)}else do x.push(l.parseType(D.PARAMETER_LIST));while(l.consume(","));if(!l.consume(">"))throw new Error("Unterminated generic parameter list");return Object.assign(Object.assign({type:"JsdocTypeGeneric",left:k(m),elements:x},F?{infer:!0}:{}),{meta:{brackets:"angle",dot:b}})},"parseInfix")}),Ke=W({name:"unionParslet",accept:O(l=>l==="|","accept"),precedence:D.UNION,parseInfix:O((l,m)=>{l.consume("|");const b=[];do b.push(l.parseType(D.UNION));while(l.consume("|"));return{type:"JsdocTypeUnion",elements:[k(m),...b]}},"parseInfix")}),J=[se,ae,be,ue,ee,Re,Oe({allowTrailingComma:!0}),He,Ke,ae];function Q({allowSquareBracketsOnAnyType:l,allowJsdocNamePaths:m,pathGrammar:b}){return O(function(F,G,Z){if(Z==null||G>=D.NAME_PATH)return null;const ce=F.lexer.current.type,_e=F.lexer.next.type;if(!(ce==="."&&_e!=="<"||ce==="["&&(l||Z.type==="JsdocTypeName")||m&&(ce==="~"||ce==="#")))return null;let Me,fr=!1;F.consume(".")?Me="property":F.consume("[")?(Me="property-brackets",fr=!0):F.consume("~")?Me="inner":(F.consume("#"),Me="instance");const di=b!==null?new X(b,F.lexer,F):F,Qe=di.parseIntermediateType(D.NAME_PATH);F.acceptLexerState(di);let Jt;switch(Qe.type){case"JsdocTypeName":Jt={type:"JsdocTypeProperty",value:Qe.value,meta:{quote:void 0}};break;case"JsdocTypeNumber":Jt={type:"JsdocTypeProperty",value:Qe.value.toString(10),meta:{quote:void 0}};break;case"JsdocTypeStringValue":Jt={type:"JsdocTypeProperty",value:Qe.value,meta:{quote:Qe.meta.quote}};break;case"JsdocTypeSpecialNamePath":if(Qe.specialType==="event")Jt=Qe;else throw new d(Qe,"Type 'JsdocTypeSpecialNamePath' is only allowed with specialType 'event'");break;default:throw new d(Qe,"Expecting 'JsdocTypeName', 'JsdocTypeNumber', 'JsdocStringValue' or 'JsdocTypeSpecialNamePath'")}if(fr&&!F.consume("]")){const pi=F.lexer.current;throw new Error(`Unterminated square brackets. Next token is '${pi.type}' with text '${pi.text}'`)}return{type:"JsdocTypeNamePath",left:k(Z),right:Jt,pathType:Me}},"namePathParslet")}O(Q,"createNamePathParslet");function re({allowedAdditionalTokens:l}){return W({name:"nameParslet",accept:O(m=>m==="Identifier"||m==="this"||m==="new"||l.includes(m),"accept"),parsePrefix:O(m=>{const{type:b,text:x}=m.lexer.current;return m.consume(b),{type:"JsdocTypeName",value:x}},"parsePrefix")})}O(re,"createNameParslet");const oe=W({name:"stringValueParslet",accept:O(l=>l==="StringValue","accept"),parsePrefix:O(l=>{const m=l.lexer.current.text;return l.consume("StringValue"),{type:"JsdocTypeStringValue",value:m.slice(1,-1),meta:{quote:m[0]==="'"?"single":"double"}}},"parsePrefix")});function ne({pathGrammar:l,allowedTypes:m}){return W({name:"specialNamePathParslet",accept:O(b=>m.includes(b),"accept"),parsePrefix:O(b=>{const x=b.lexer.current.type;if(b.consume(x),!b.consume(":"))return{type:"JsdocTypeName",value:x};let F,G=b.lexer.current;if(b.consume("StringValue"))F={type:"JsdocTypeSpecialNamePath",value:G.text.slice(1,-1),specialType:x,meta:{quote:G.text[0]==="'"?"single":"double"}};else{let _e="";const Ee=["Identifier","@","/"];for(;Ee.some(Me=>b.consume(Me));)_e+=G.text,G=b.lexer.current;F={type:"JsdocTypeSpecialNamePath",value:_e,specialType:x,meta:{quote:void 0}}}const Z=new X(l,b.lexer,b),ce=Z.parseInfixIntermediateType(F,D.ALL);return b.acceptLexerState(Z),k(ce)},"parsePrefix")})}O(ne,"createSpecialNamePathParslet");const de=[re({allowedAdditionalTokens:["external","module"]}),oe,be,Q({allowSquareBracketsOnAnyType:!1,allowJsdocNamePaths:!0,pathGrammar:null})],he=[...de,ne({allowedTypes:["event"],pathGrammar:de})];function pe(l){let m;if(l.type==="JsdocTypeParameterList")m=l.elements;else if(l.type==="JsdocTypeParenthesis")m=[l.element];else throw new d(l);return m.map(b=>I(b))}O(pe,"getParameters");function $e(l){const m=pe(l);if(m.some(b=>b.type==="JsdocTypeKeyValue"))throw new Error("No parameter should be named");return m}O($e,"getUnnamedParameters");function ot({allowNamedParameters:l,allowNoReturnType:m,allowWithoutParenthesis:b,allowNewAsFunctionKeyword:x}){return W({name:"functionParslet",accept:O((F,G)=>F==="function"||x&&F==="new"&&G==="(","accept"),parsePrefix:O(F=>{const G=F.consume("new");F.consume("function");const Z=F.lexer.current.type==="(";if(!Z){if(!b)throw new Error("function is missing parameter list");return{type:"JsdocTypeName",value:"function"}}let ce={type:"JsdocTypeFunction",parameters:[],arrow:!1,constructor:G,parenthesis:Z};const _e=F.parseIntermediateType(D.FUNCTION);if(l===void 0)ce.parameters=$e(_e);else{if(G&&_e.type==="JsdocTypeFunction"&&_e.arrow)return ce=_e,ce.constructor=!0,ce;ce.parameters=pe(_e);for(const Ee of ce.parameters)if(Ee.type==="JsdocTypeKeyValue"&&!l.includes(Ee.key))throw new Error(`only allowed named parameters are ${l.join(", ")} but got ${Ee.type}`)}if(F.consume(":"))ce.returnType=F.parseType(D.PREFIX);else if(!m)throw new Error("function is missing return type");return ce},"parsePrefix")})}O(ot,"createFunctionParslet");function dt({allowPostfix:l,allowEnclosingBrackets:m}){return W({name:"variadicParslet",accept:O(b=>b==="...","accept"),precedence:D.PREFIX,parsePrefix:O(b=>{b.consume("...");const x=m&&b.consume("[");try{const F=b.parseType(D.PREFIX);if(x&&!b.consume("]"))throw new Error("Unterminated variadic type. Missing ']'");return{type:"JsdocTypeVariadic",element:k(F),meta:{position:"prefix",squareBrackets:x}}}catch(F){if(F instanceof s){if(x)throw new Error("Empty square brackets for variadic are not allowed.");return{type:"JsdocTypeVariadic",meta:{position:void 0,squareBrackets:!1}}}else throw F}},"parsePrefix"),parseInfix:l?(b,x)=>(b.consume("..."),{type:"JsdocTypeVariadic",element:k(x),meta:{position:"suffix",squareBrackets:!1}}):void 0})}O(dt,"createVariadicParslet");const wt=W({name:"symbolParslet",accept:O(l=>l==="(","accept"),precedence:D.SYMBOL,parseInfix:O((l,m)=>{if(m.type!=="JsdocTypeName")throw new Error("Symbol expects a name on the left side. (Reacting on '(')");l.consume("(");const b={type:"JsdocTypeSymbol",value:m.value};if(!l.consume(")")){const x=l.parseIntermediateType(D.SYMBOL);if(b.element=A(x),!l.consume(")"))throw new Error("Symbol does not end after value")}return b},"parseInfix")}),it=W({name:"arrayBracketsParslet",precedence:D.ARRAY_BRACKETS,accept:O((l,m)=>l==="["&&m==="]","accept"),parseInfix:O((l,m)=>(l.consume("["),l.consume("]"),{type:"JsdocTypeGeneric",left:{type:"JsdocTypeName",value:"Array"},elements:[k(m)],meta:{brackets:"square",dot:!1}}),"parseInfix")});function pt({objectFieldGrammar:l,allowKeyTypes:m}){return W({name:"objectParslet",accept:O(b=>b==="{","accept"),parsePrefix:O(b=>{b.consume("{");const x={type:"JsdocTypeObject",meta:{separator:"comma"},elements:[]};if(!b.consume("}")){let F;const G=new X(l,b.lexer,b);for(;;){G.acceptLexerState(b);let Z=G.parseIntermediateType(D.OBJECT);b.acceptLexerState(G),Z===void 0&&m&&(Z=b.parseIntermediateType(D.OBJECT));let ce=!1;if(Z.type==="JsdocTypeNullable"&&(ce=!0,Z=Z.element),Z.type==="JsdocTypeNumber"||Z.type==="JsdocTypeName"||Z.type==="JsdocTypeStringValue"){let Ee;Z.type==="JsdocTypeStringValue"&&(Ee=Z.meta.quote),x.elements.push({type:"JsdocTypeObjectField",key:Z.value.toString(),right:void 0,optional:ce,readonly:!1,meta:{quote:Ee}})}else if(Z.type==="JsdocTypeObjectField"||Z.type==="JsdocTypeJsdocObjectField")x.elements.push(Z);else throw new d(Z);if(b.lexer.current.startOfLine)F="linebreak",b.consume(",")||b.consume(";");else if(b.consume(","))F="comma";else if(b.consume(";"))F="semicolon";else break;if(b.lexer.current.type==="}")break}if(x.meta.separator=F??"comma",F==="linebreak"&&(x.meta.propertyIndent=" "),!b.consume("}"))throw new Error("Unterminated record type. Missing '}'")}return x},"parsePrefix")})}O(pt,"createObjectParslet");function ft({allowSquaredProperties:l,allowKeyTypes:m,allowReadonly:b,allowOptional:x}){return W({name:"objectFieldParslet",precedence:D.KEY_VALUE,accept:O(F=>F===":","accept"),parseInfix:O((F,G)=>{var Z;let ce=!1,_e=!1;x&&G.type==="JsdocTypeNullable"&&(ce=!0,G=G.element),b&&G.type==="JsdocTypeReadonlyProperty"&&(_e=!0,G=G.element);const Ee=(Z=F.baseParser)!==null&&Z!==void 0?Z:F;if(Ee.acceptLexerState(F),G.type==="JsdocTypeNumber"||G.type==="JsdocTypeName"||G.type==="JsdocTypeStringValue"||$(G)){if($(G)&&!l)throw new d(G);Ee.consume(":");let Me;G.type==="JsdocTypeStringValue"&&(Me=G.meta.quote);const fr=Ee.parseType(D.KEY_VALUE);return F.acceptLexerState(Ee),{type:"JsdocTypeObjectField",key:$(G)?G:G.value.toString(),right:fr,optional:ce,readonly:_e,meta:{quote:Me}}}else{if(!m)throw new d(G);Ee.consume(":");const Me=Ee.parseType(D.KEY_VALUE);return F.acceptLexerState(Ee),{type:"JsdocTypeJsdocObjectField",left:k(G),right:Me}}},"parseInfix")})}O(ft,"createObjectFieldParslet");function mt({allowOptional:l,allowVariadic:m}){return W({name:"keyValueParslet",precedence:D.KEY_VALUE,accept:O(b=>b===":","accept"),parseInfix:O((b,x)=>{let F=!1,G=!1;if(l&&x.type==="JsdocTypeNullable"&&(F=!0,x=x.element),m&&x.type==="JsdocTypeVariadic"&&x.element!==void 0&&(G=!0,x=x.element),x.type!=="JsdocTypeName")throw new d(x);b.consume(":");const Z=b.parseType(D.KEY_VALUE);return{type:"JsdocTypeKeyValue",key:x.value,right:Z,optional:F,variadic:G}},"parseInfix")})}O(mt,"createKeyValueParslet");const tn=[...J,ot({allowWithoutParenthesis:!0,allowNamedParameters:["this","new"],allowNoReturnType:!0,allowNewAsFunctionKeyword:!1}),oe,ne({allowedTypes:["module","external","event"],pathGrammar:he}),dt({allowEnclosingBrackets:!0,allowPostfix:!0}),re({allowedAdditionalTokens:["keyof"]}),wt,it,Q({allowSquareBracketsOnAnyType:!1,allowJsdocNamePaths:!0,pathGrammar:he})],Jo=[...tn,pt({objectFieldGrammar:[re({allowedAdditionalTokens:["typeof","module","in"]}),ft({allowSquaredProperties:!1,allowKeyTypes:!0,allowOptional:!1,allowReadonly:!1}),...tn],allowKeyTypes:!0}),mt({allowOptional:!0,allowVariadic:!0})],rn=W({name:"typeOfParslet",accept:O(l=>l==="typeof","accept"),parsePrefix:O(l=>(l.consume("typeof"),{type:"JsdocTypeTypeof",element:l.parseType(D.KEY_OF_TYPE_OF)}),"parsePrefix")}),Uo=[re({allowedAdditionalTokens:["typeof","module","keyof","event","external","in"]}),se,ae,oe,be,ft({allowSquaredProperties:!1,allowKeyTypes:!1,allowOptional:!1,allowReadonly:!1})],Vo=[...J,pt({allowKeyTypes:!1,objectFieldGrammar:Uo}),re({allowedAdditionalTokens:["event","external","in"]}),rn,ot({allowWithoutParenthesis:!1,allowNamedParameters:["this","new"],allowNoReturnType:!0,allowNewAsFunctionKeyword:!1}),dt({allowEnclosingBrackets:!1,allowPostfix:!1}),re({allowedAdditionalTokens:["keyof"]}),ne({allowedTypes:["module"],pathGrammar:he}),Q({allowSquareBracketsOnAnyType:!1,allowJsdocNamePaths:!0,pathGrammar:he}),mt({allowOptional:!1,allowVariadic:!1}),wt],Ho=W({name:"assertsParslet",accept:O(l=>l==="asserts","accept"),parsePrefix:O(l=>{l.consume("asserts");const m=l.parseIntermediateType(D.SYMBOL);if(m.type!=="JsdocTypeName")throw new d(m,"A typescript asserts always has to have a name on the left side.");return l.consume("is")?{type:"JsdocTypeAsserts",left:m,right:k(l.parseIntermediateType(D.INFIX))}:{type:"JsdocTypeAssertsPlain",element:m}},"parsePrefix")});function nn({allowQuestionMark:l}){return W({name:"tupleParslet",accept:O(m=>m==="[","accept"),parsePrefix:O(m=>{m.consume("[");const b={type:"JsdocTypeTuple",elements:[]};if(m.consume("]"))return b;const x=m.parseIntermediateType(D.ALL);if(x.type==="JsdocTypeParameterList"?x.elements[0].type==="JsdocTypeKeyValue"?b.elements=x.elements.map(H):b.elements=x.elements.map(k):x.type==="JsdocTypeKeyValue"?b.elements=[H(x)]:b.elements=[k(x)],!m.consume("]"))throw new Error("Unterminated '['");if(b.elements.some(F=>F.type==="JsdocTypeUnknown"))throw new Error("Question mark in tuple not allowed");return b},"parsePrefix")})}O(nn,"createTupleParslet");const zo=W({name:"keyOfParslet",accept:O(l=>l==="keyof","accept"),parsePrefix:O(l=>(l.consume("keyof"),{type:"JsdocTypeKeyof",element:k(l.parseType(D.KEY_OF_TYPE_OF))}),"parsePrefix")}),Go=W({name:"importParslet",accept:O(l=>l==="import","accept"),parsePrefix:O(l=>{if(l.consume("import"),!l.consume("("))throw new Error("Missing parenthesis after import keyword");const m=l.parseType(D.PREFIX);if(m.type!=="JsdocTypeStringValue")throw new Error("Only string values are allowed as paths for imports");if(!l.consume(")"))throw new Error("Missing closing parenthesis after import keyword");return{type:"JsdocTypeImport",element:m}},"parsePrefix")}),Wo=W({name:"readonlyPropertyParslet",accept:O(l=>l==="readonly","accept"),parsePrefix:O(l=>(l.consume("readonly"),{type:"JsdocTypeReadonlyProperty",element:l.parseIntermediateType(D.KEY_VALUE)}),"parsePrefix")}),Ko=W({name:"arrowFunctionParslet",precedence:D.ARROW,accept:O(l=>l==="=>","accept"),parseInfix:O((l,m)=>(l.consume("=>"),{type:"JsdocTypeFunction",parameters:pe(m).map(V),arrow:!0,constructor:!1,parenthesis:!0,returnType:l.parseType(D.OBJECT)}),"parseInfix")}),Yo=W({name:"genericArrowFunctionParslet",accept:O(l=>l==="<","accept"),parsePrefix:O(l=>{const m=[];l.consume("<");do{let x,F=l.parseIntermediateType(D.SYMBOL);if(F.type==="JsdocTypeOptional"&&(F=F.element,x=l.parseType(D.SYMBOL)),F.type!=="JsdocTypeName")throw new d(F);let G;l.consume("extends")&&(G=l.parseType(D.SYMBOL),G.type==="JsdocTypeOptional"&&(G=G.element,x=l.parseType(D.SYMBOL)));const Z={type:"JsdocTypeTypeParameter",name:F};if(G!==void 0&&(Z.constraint=G),x!==void 0&&(Z.defaultValue=x),m.push(Z),l.consume(">"))break}while(l.consume(","));const b=l.parseIntermediateType(D.SYMBOL);return b.typeParameters=m,b},"parsePrefix")}),Xo=W({name:"intersectionParslet",accept:O(l=>l==="&","accept"),precedence:D.INTERSECTION,parseInfix:O((l,m)=>{l.consume("&");const b=[];do b.push(l.parseType(D.INTERSECTION));while(l.consume("&"));return{type:"JsdocTypeIntersection",elements:[k(m),...b]}},"parseInfix")}),Qo=W({name:"predicateParslet",precedence:D.INFIX,accept:O(l=>l==="is","accept"),parseInfix:O((l,m)=>{if(m.type!=="JsdocTypeName")throw new d(m,"A typescript predicate always has to have a name on the left side.");return l.consume("is"),{type:"JsdocTypePredicate",left:m,right:k(l.parseIntermediateType(D.INFIX))}},"parseInfix")}),Zo=W({name:"objectSquareBracketPropertyParslet",accept:O(l=>l==="[","accept"),parsePrefix:O(l=>{if(l.baseParser===void 0)throw new Error("Only allowed inside object grammar");l.consume("[");const m=l.lexer.current.text;l.consume("Identifier");let b;if(l.consume(":")){const x=l.baseParser;x.acceptLexerState(l),b={type:"JsdocTypeIndexSignature",key:m,right:x.parseType(D.INDEX_BRACKETS)},l.acceptLexerState(x)}else if(l.consume("in")){const x=l.baseParser;x.acceptLexerState(l),b={type:"JsdocTypeMappedType",key:m,right:x.parseType(D.ARRAY_BRACKETS)},l.acceptLexerState(x)}else throw new Error("Missing ':' or 'in' inside square bracketed property.");if(!l.consume("]"))throw new Error("Unterminated square brackets");return b},"parsePrefix")}),ei=W({name:"readonlyArrayParslet",accept:O(l=>l==="readonly","accept"),parsePrefix:O(l=>(l.consume("readonly"),{type:"JsdocTypeReadonlyArray",element:L(l.parseIntermediateType(D.ALL))}),"parsePrefix")}),ti=W({name:"conditionalParslet",precedence:D.INFIX,accept:O(l=>l==="extends","accept"),parseInfix:O((l,m)=>{l.consume("extends");const b=l.parseType(D.KEY_OF_TYPE_OF).element,x=l.parseType(D.INFIX);return l.consume(":"),{type:"JsdocTypeConditional",checksType:k(m),extendsType:b,trueType:x,falseType:l.parseType(D.INFIX)}},"parseInfix")}),ri=[Wo,re({allowedAdditionalTokens:["typeof","module","keyof","event","external","in"]}),se,ae,oe,be,ft({allowSquaredProperties:!0,allowKeyTypes:!1,allowOptional:!0,allowReadonly:!0}),Zo],ni=[...J,pt({allowKeyTypes:!1,objectFieldGrammar:ri}),ei,rn,zo,Go,oe,ot({allowWithoutParenthesis:!0,allowNoReturnType:!1,allowNamedParameters:["this","new","args"],allowNewAsFunctionKeyword:!0}),nn({allowQuestionMark:!1}),dt({allowEnclosingBrackets:!1,allowPostfix:!1}),Ho,ti,re({allowedAdditionalTokens:["event","external","in"]}),ne({allowedTypes:["module"],pathGrammar:he}),it,Ko,Yo,Q({allowSquareBracketsOnAnyType:!0,allowJsdocNamePaths:!1,pathGrammar:he}),Xo,Qo,mt({allowVariadic:!0,allowOptional:!0})];function ur(l,m){switch(m){case"closure":return new X(Vo,l).parse();case"jsdoc":return new X(Jo,l).parse();case"typescript":return new X(ni,l).parse()}}O(ur,"parse");function on(l,m=["typescript","closure","jsdoc"]){let b;for(const x of m)try{return ur(l,x)}catch(F){b=F}throw b}O(on,"tryParse");function Y(l,m){const b=l[m.type];if(b===void 0)throw new Error(`In this set of transform rules exists no rule for type ${m.type}.`);return b(m,x=>Y(l,x))}O(Y,"transform");function le(l){throw new Error("This transform is not available. Are you trying the correct parsing mode?")}O(le,"notAvailableTransform");function It(l){const m={params:[]};for(const b of l.parameters)b.type==="JsdocTypeKeyValue"?b.key==="this"?m.this=b.right:b.key==="new"?m.new=b.right:m.params.push(b):m.params.push(b);return m}O(It,"extractSpecialParams");function Bt(l,m,b){return l==="prefix"?b+m:m+b}O(Bt,"applyPosition");function Ye(l,m){switch(m){case"double":return`"${l}"`;case"single":return`'${l}'`;case void 0:return l}}O(Ye,"quote");function sn(){return{JsdocTypeParenthesis:O((l,m)=>`(${l.element!==void 0?m(l.element):""})`,"JsdocTypeParenthesis"),JsdocTypeKeyof:O((l,m)=>`keyof ${m(l.element)}`,"JsdocTypeKeyof"),JsdocTypeFunction:O((l,m)=>{var b;if(l.arrow){if(l.returnType===void 0)throw new Error("Arrow function needs a return type.");let x=`${l.typeParameters!==void 0?`<${(b=l.typeParameters.map(m).join(", "))!==null&&b!==void 0?b:""}>`:""}(${l.parameters.map(m).join(", ")}) => ${m(l.returnType)}`;return l.constructor&&(x="new "+x),x}else{let x=l.constructor?"new":"function";return l.parenthesis&&(x+=`(${l.parameters.map(m).join(", ")})`,l.returnType!==void 0&&(x+=`: ${m(l.returnType)}`)),x}},"JsdocTypeFunction"),JsdocTypeName:O(l=>l.value,"JsdocTypeName"),JsdocTypeTuple:O((l,m)=>`[${l.elements.map(m).join(", ")}]`,"JsdocTypeTuple"),JsdocTypeVariadic:O((l,m)=>l.meta.position===void 0?"...":Bt(l.meta.position,m(l.element),"..."),"JsdocTypeVariadic"),JsdocTypeNamePath:O((l,m)=>{const b=m(l.left),x=m(l.right);switch(l.pathType){case"inner":return`${b}~${x}`;case"instance":return`${b}#${x}`;case"property":return`${b}.${x}`;case"property-brackets":return`${b}[${x}]`}},"JsdocTypeNamePath"),JsdocTypeStringValue:O(l=>Ye(l.value,l.meta.quote),"JsdocTypeStringValue"),JsdocTypeAny:O(()=>"*","JsdocTypeAny"),JsdocTypeGeneric:O((l,m)=>{if(l.meta.brackets==="square"){const b=l.elements[0],x=m(b);return b.type==="JsdocTypeUnion"||b.type==="JsdocTypeIntersection"?`(${x})[]`:`${x}[]`}else return`${m(l.left)}${l.meta.dot?".":""}<${l.infer===!0?"infer ":""}${l.elements.map(m).join(", ")}>`},"JsdocTypeGeneric"),JsdocTypeImport:O((l,m)=>`import(${m(l.element)})`,"JsdocTypeImport"),JsdocTypeObjectField:O((l,m)=>{let b="";return l.readonly&&(b+="readonly "),typeof l.key=="string"?b+=Ye(l.key,l.meta.quote):b+=m(l.key),l.optional&&(b+="?"),l.right===void 0?b:b+`: ${m(l.right)}`},"JsdocTypeObjectField"),JsdocTypeJsdocObjectField:O((l,m)=>`${m(l.left)}: ${m(l.right)}`,"JsdocTypeJsdocObjectField"),JsdocTypeKeyValue:O((l,m)=>{let b=l.key;return l.optional&&(b+="?"),l.variadic&&(b="..."+b),l.right===void 0?b:b+`: ${m(l.right)}`},"JsdocTypeKeyValue"),JsdocTypeSpecialNamePath:O(l=>`${l.specialType}:${Ye(l.value,l.meta.quote)}`,"JsdocTypeSpecialNamePath"),JsdocTypeNotNullable:O((l,m)=>Bt(l.meta.position,m(l.element),"!"),"JsdocTypeNotNullable"),JsdocTypeNull:O(()=>"null","JsdocTypeNull"),JsdocTypeNullable:O((l,m)=>Bt(l.meta.position,m(l.element),"?"),"JsdocTypeNullable"),JsdocTypeNumber:O(l=>l.value.toString(),"JsdocTypeNumber"),JsdocTypeObject:O((l,m)=>{var b,x;return`{${(l.meta.separator==="linebreak"&&l.elements.length>1?`
1009
+ `,document.head.appendChild(a),s.querySelector(".sb-navigator-story-link.active")?.closest("details")?.scrollIntoView({block:"center"})},"setupPreviewNavigator"),v3=Ge(Mk(),1),vu;function YN(){return vu||(vu=new v3.default(te.navigator?.userAgent).getBrowserInfo()),vu}i(YN,"getBrowserInfo");function XN(e){return e.browserInfo=YN(),e}i(XN,"prepareForTelemetry");function QN(e){const t=e.error||e;t.fromStorybook&&te.sendTelemetryError(t)}i(QN,"errorListener");function ZN({reason:e}){e.fromStorybook&&te.sendTelemetryError(e)}i(ZN,"unhandledRejectionListener");function qy(){sD.forEach(e=>{te[Uv[e]]=g3[e]}),te.sendTelemetryError=e=>{te.__STORYBOOK_ADDONS_CHANNEL__.emit($v,XN(e))},te.addEventListener("error",QN),te.addEventListener("unhandledrejection",ZN),KN()}i(qy,"setup");qy();const{createBrowserChannel:E3}=__STORYBOOK_MODULE_CHANNELS__,{addons:T3}=__STORYBOOK_MODULE_PREVIEW_API__,jy=E3({page:"preview"});T3.setChannel(jy);window.__STORYBOOK_ADDONS_CHANNEL__=jy;window.CONFIG_TYPE==="DEVELOPMENT"&&(window.__STORYBOOK_SERVER_CHANNEL__=jy);var w3=Object.create,Lc=Object.defineProperty,_3=Object.getOwnPropertyDescriptor,eI=Object.getOwnPropertyNames,S3=Object.getPrototypeOf,P3=Object.prototype.hasOwnProperty,O=(e,t)=>Lc(e,"name",{value:t,configurable:!0}),EK=(e=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(e,{get:(t,r)=>(typeof require<"u"?require:t)[r]}):e)(function(e){if(typeof require<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+e+'" is not supported')}),A3=(e,t)=>function(){return t||(0,e[eI(e)[0]])((t={exports:{}}).exports,t),t.exports},TK=(e,t)=>{for(var r in t)Lc(e,r,{get:t[r],enumerable:!0})},R3=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of eI(t))!P3.call(e,o)&&o!==r&&Lc(e,o,{get:()=>t[o],enumerable:!(n=_3(t,o))||n.enumerable});return e},O3=(e,t,r)=>(r=e!=null?w3(S3(e)):{},R3(t||!e||!e.__esModule?Lc(r,"default",{value:e,enumerable:!0}):r,e));function la(e){if(!e||typeof e!="object")return!1;const t=Object.getPrototypeOf(e);return t===null||t===Object.prototype||Object.getPrototypeOf(t)===null?Object.prototype.toString.call(e)==="[object Object]":!1}O(la,"isPlainObject");function C3(e){return e==null||typeof e!="object"&&typeof e!="function"}O(C3,"isPrimitive");function x3(e){return ArrayBuffer.isView(e)&&!(e instanceof DataView)}O(x3,"isTypedArray");function N3(e){return Object.getOwnPropertySymbols(e).filter(t=>Object.prototype.propertyIsEnumerable.call(e,t))}O(N3,"getSymbols");function I3(e){return e==null?e===void 0?"[object Undefined]":"[object Null]":Object.prototype.toString.call(e)}O(I3,"getTag");var wK="[object RegExp]",_K="[object String]",SK="[object Number]",PK="[object Boolean]",AK="[object Arguments]",RK="[object Symbol]",OK="[object Date]",CK="[object Map]",xK="[object Set]",NK="[object Array]",IK="[object Function]",MK="[object ArrayBuffer]",qK="[object Object]",jK="[object Error]",kK="[object DataView]",DK="[object Uint8Array]",LK="[object Uint8ClampedArray]",FK="[object Uint16Array]",$K="[object Uint32Array]",BK="[object BigUint64Array]",JK="[object Int8Array]",UK="[object Int16Array]",VK="[object Int32Array]",HK="[object BigInt64Array]",zK="[object Float32Array]",GK="[object Float64Array]",M3=A3({"../node_modules/jsdoc-type-pratt-parser/dist/index.js"(e,t){(function(r,n){typeof e=="object"&&typeof t<"u"?n(e):typeof define=="function"&&define.amd?define(["exports"],n):(r=typeof globalThis<"u"?globalThis:r||self,n(r.jtpp={}))})(e,function(r){function n(l){return l.text!==void 0&&l.text!==""?`'${l.type}' with value '${l.text}'`:`'${l.type}'`}O(n,"tokenToString");const o=class tI extends Error{constructor(m){super(`No parslet found for token: ${n(m)}`),this.token=m,Object.setPrototypeOf(this,tI.prototype)}getToken(){return this.token}};O(o,"NoParsletFoundError");let s=o;const a=class rI extends Error{constructor(m){super(`The parsing ended early. The next token was: ${n(m)}`),this.token=m,Object.setPrototypeOf(this,rI.prototype)}getToken(){return this.token}};O(a,"EarlyEndOfParseError");let c=a;const u=class nI extends Error{constructor(m,b){let x=`Unexpected type: '${m.type}'.`;b!==void 0&&(x+=` Message: ${b}`),super(x),Object.setPrototypeOf(this,nI.prototype)}};O(u,"UnexpectedTypeError");let d=u;function p(l){return m=>m.startsWith(l)?{type:l,text:l}:null}O(p,"makePunctuationRule");function f(l){let m=0,b;const x=l[0];let F=!1;if(x!=="'"&&x!=='"')return null;for(;m<l.length;){if(m++,b=l[m],!F&&b===x){m++;break}F=!F&&b==="\\"}if(b!==x)throw new Error("Unterminated String");return l.slice(0,m)}O(f,"getQuoted");const h=new RegExp("[$_\\p{ID_Start}]|\\\\u\\p{Hex_Digit}{4}|\\\\u\\{0*(?:\\p{Hex_Digit}{1,5}|10\\p{Hex_Digit}{4})\\}","u"),y=new RegExp("[$\\-\\p{ID_Continue}\\u200C\\u200D]|\\\\u\\p{Hex_Digit}{4}|\\\\u\\{0*(?:\\p{Hex_Digit}{1,5}|10\\p{Hex_Digit}{4})\\}","u");function g(l){let m=l[0];if(!h.test(m))return null;let b=1;do{if(m=l[b],!y.test(m))break;b++}while(b<l.length);return l.slice(0,b)}O(g,"getIdentifier");const E=/^(NaN|-?((\d*\.\d+|\d+)([Ee][+-]?\d+)?|Infinity))/;function T(l){var m,b;return(b=(m=E.exec(l))===null||m===void 0?void 0:m[0])!==null&&b!==void 0?b:null}O(T,"getNumber");const v=O(l=>{const m=g(l);return m==null?null:{type:"Identifier",text:m}},"identifierRule");function _(l){return m=>{if(!m.startsWith(l))return null;const b=m[l.length];return b!==void 0&&y.test(b)?null:{type:l,text:l}}}O(_,"makeKeyWordRule");const R=O(l=>{const m=f(l);return m==null?null:{type:"StringValue",text:m}},"stringValueRule"),N=O(l=>l.length>0?null:{type:"EOF",text:""},"eofRule"),j=O(l=>{const m=T(l);return m===null?null:{type:"Number",text:m}},"numberRule"),C=[N,p("=>"),p("("),p(")"),p("{"),p("}"),p("["),p("]"),p("|"),p("&"),p("<"),p(">"),p(","),p(";"),p("*"),p("?"),p("!"),p("="),p(":"),p("..."),p("."),p("#"),p("~"),p("/"),p("@"),_("undefined"),_("null"),_("function"),_("this"),_("new"),_("module"),_("event"),_("extends"),_("external"),_("infer"),_("typeof"),_("keyof"),_("readonly"),_("import"),_("is"),_("in"),_("asserts"),j,v,R],P=/^\s*\n\s*/,w=class ca{static create(m){const b=this.read(m);m=b.text;const x=this.read(m);return m=x.text,new ca(m,void 0,b.token,x.token)}constructor(m,b,x,F){this.text="",this.text=m,this.previous=b,this.current=x,this.next=F}static read(m,b=!1){b=b||P.test(m),m=m.trim();for(const x of C){const F=x(m);if(F!==null){const G=Object.assign(Object.assign({},F),{startOfLine:b});return m=m.slice(G.text.length),{text:m,token:G}}}throw new Error("Unexpected Token "+m)}advance(){const m=ca.read(this.text);return new ca(m.text,this.current,this.next,m.token)}};O(w,"Lexer");let S=w;function k(l){if(l===void 0)throw new Error("Unexpected undefined");if(l.type==="JsdocTypeKeyValue"||l.type==="JsdocTypeParameterList"||l.type==="JsdocTypeProperty"||l.type==="JsdocTypeReadonlyProperty"||l.type==="JsdocTypeObjectField"||l.type==="JsdocTypeJsdocObjectField"||l.type==="JsdocTypeIndexSignature"||l.type==="JsdocTypeMappedType"||l.type==="JsdocTypeTypeParameter")throw new d(l);return l}O(k,"assertRootResult");function I(l){return l.type==="JsdocTypeKeyValue"?H(l):k(l)}O(I,"assertPlainKeyValueOrRootResult");function V(l){return l.type==="JsdocTypeName"?l:H(l)}O(V,"assertPlainKeyValueOrNameResult");function H(l){if(l.type!=="JsdocTypeKeyValue")throw new d(l);return l}O(H,"assertPlainKeyValueResult");function A(l){var m;if(l.type==="JsdocTypeVariadic"){if(((m=l.element)===null||m===void 0?void 0:m.type)==="JsdocTypeName")return l;throw new d(l)}if(l.type!=="JsdocTypeNumber"&&l.type!=="JsdocTypeName")throw new d(l);return l}O(A,"assertNumberOrVariadicNameResult");function L(l){if(l.type==="JsdocTypeTuple"||l.type==="JsdocTypeGeneric"&&l.meta.brackets==="square")return l;throw new d(l)}O(L,"assertArrayOrTupleResult");function $(l){return l.type==="JsdocTypeIndexSignature"||l.type==="JsdocTypeMappedType"}O($,"isSquaredProperty");var D;(function(l){l[l.ALL=0]="ALL",l[l.PARAMETER_LIST=1]="PARAMETER_LIST",l[l.OBJECT=2]="OBJECT",l[l.KEY_VALUE=3]="KEY_VALUE",l[l.INDEX_BRACKETS=4]="INDEX_BRACKETS",l[l.UNION=5]="UNION",l[l.INTERSECTION=6]="INTERSECTION",l[l.PREFIX=7]="PREFIX",l[l.INFIX=8]="INFIX",l[l.TUPLE=9]="TUPLE",l[l.SYMBOL=10]="SYMBOL",l[l.OPTIONAL=11]="OPTIONAL",l[l.NULLABLE=12]="NULLABLE",l[l.KEY_OF_TYPE_OF=13]="KEY_OF_TYPE_OF",l[l.FUNCTION=14]="FUNCTION",l[l.ARROW=15]="ARROW",l[l.ARRAY_BRACKETS=16]="ARRAY_BRACKETS",l[l.GENERIC=17]="GENERIC",l[l.NAME_PATH=18]="NAME_PATH",l[l.PARENTHESIS=19]="PARENTHESIS",l[l.SPECIAL_TYPES=20]="SPECIAL_TYPES"})(D||(D={}));const K=class{constructor(m,b,x){this.grammar=m,typeof b=="string"?this._lexer=S.create(b):this._lexer=b,this.baseParser=x}get lexer(){return this._lexer}parse(){const m=this.parseType(D.ALL);if(this.lexer.current.type!=="EOF")throw new c(this.lexer.current);return m}parseType(m){return k(this.parseIntermediateType(m))}parseIntermediateType(m){const b=this.tryParslets(null,m);if(b===null)throw new s(this.lexer.current);return this.parseInfixIntermediateType(b,m)}parseInfixIntermediateType(m,b){let x=this.tryParslets(m,b);for(;x!==null;)m=x,x=this.tryParslets(m,b);return m}tryParslets(m,b){for(const x of this.grammar){const F=x(this,b,m);if(F!==null)return F}return null}consume(m){return Array.isArray(m)||(m=[m]),m.includes(this.lexer.current.type)?(this._lexer=this.lexer.advance(),!0):!1}acceptLexerState(m){this._lexer=m.lexer}};O(K,"Parser");let X=K;function ie(l){return l==="}"||l==="EOF"||l==="|"||l===","||l===")"||l===">"}O(ie,"isQuestionMarkUnknownType");const se=O((l,m,b)=>{const x=l.lexer.current.type,F=l.lexer.next.type;return b==null&&x==="?"&&!ie(F)||b!=null&&x==="?"?(l.consume("?"),b==null?{type:"JsdocTypeNullable",element:l.parseType(D.NULLABLE),meta:{position:"prefix"}}:{type:"JsdocTypeNullable",element:k(b),meta:{position:"suffix"}}):null},"nullableParslet");function W(l){const m=O((b,x,F)=>{const G=b.lexer.current.type,Z=b.lexer.next.type;if(F===null){if("parsePrefix"in l&&l.accept(G,Z))return l.parsePrefix(b)}else if("parseInfix"in l&&l.precedence>x&&l.accept(G,Z))return l.parseInfix(b,F);return null},"parslet");return Object.defineProperty(m,"name",{value:l.name}),m}O(W,"composeParslet");const ae=W({name:"optionalParslet",accept:O(l=>l==="=","accept"),precedence:D.OPTIONAL,parsePrefix:O(l=>(l.consume("="),{type:"JsdocTypeOptional",element:l.parseType(D.OPTIONAL),meta:{position:"prefix"}}),"parsePrefix"),parseInfix:O((l,m)=>(l.consume("="),{type:"JsdocTypeOptional",element:k(m),meta:{position:"suffix"}}),"parseInfix")}),be=W({name:"numberParslet",accept:O(l=>l==="Number","accept"),parsePrefix:O(l=>{const m=parseFloat(l.lexer.current.text);return l.consume("Number"),{type:"JsdocTypeNumber",value:m}},"parsePrefix")}),ue=W({name:"parenthesisParslet",accept:O(l=>l==="(","accept"),parsePrefix:O(l=>{if(l.consume("("),l.consume(")"))return{type:"JsdocTypeParameterList",elements:[]};const m=l.parseIntermediateType(D.ALL);if(!l.consume(")"))throw new Error("Unterminated parenthesis");return m.type==="JsdocTypeParameterList"?m:m.type==="JsdocTypeKeyValue"?{type:"JsdocTypeParameterList",elements:[m]}:{type:"JsdocTypeParenthesis",element:k(m)}},"parsePrefix")}),ee=W({name:"specialTypesParslet",accept:O((l,m)=>l==="?"&&ie(m)||l==="null"||l==="undefined"||l==="*","accept"),parsePrefix:O(l=>{if(l.consume("null"))return{type:"JsdocTypeNull"};if(l.consume("undefined"))return{type:"JsdocTypeUndefined"};if(l.consume("*"))return{type:"JsdocTypeAny"};if(l.consume("?"))return{type:"JsdocTypeUnknown"};throw new Error("Unacceptable token: "+l.lexer.current.text)},"parsePrefix")}),Re=W({name:"notNullableParslet",accept:O(l=>l==="!","accept"),precedence:D.NULLABLE,parsePrefix:O(l=>(l.consume("!"),{type:"JsdocTypeNotNullable",element:l.parseType(D.NULLABLE),meta:{position:"prefix"}}),"parsePrefix"),parseInfix:O((l,m)=>(l.consume("!"),{type:"JsdocTypeNotNullable",element:k(m),meta:{position:"suffix"}}),"parseInfix")});function Oe({allowTrailingComma:l}){return W({name:"parameterListParslet",accept:O(m=>m===",","accept"),precedence:D.PARAMETER_LIST,parseInfix:O((m,b)=>{const x=[I(b)];m.consume(",");do try{const F=m.parseIntermediateType(D.PARAMETER_LIST);x.push(I(F))}catch(F){if(F instanceof s)break;throw F}while(m.consume(","));if(x.length>0&&x.slice(0,-1).some(F=>F.type==="JsdocTypeVariadic"))throw new Error("Only the last parameter may be a rest parameter");return{type:"JsdocTypeParameterList",elements:x}},"parseInfix")})}O(Oe,"createParameterListParslet");const He=W({name:"genericParslet",accept:O((l,m)=>l==="<"||l==="."&&m==="<","accept"),precedence:D.GENERIC,parseInfix:O((l,m)=>{const b=l.consume(".");l.consume("<");const x=[];let F=!1;if(l.consume("infer")){F=!0;const G=l.parseIntermediateType(D.SYMBOL);if(G.type!=="JsdocTypeName")throw new d(G,"A typescript asserts always has to have a name on the left side.");x.push(G)}else do x.push(l.parseType(D.PARAMETER_LIST));while(l.consume(","));if(!l.consume(">"))throw new Error("Unterminated generic parameter list");return Object.assign(Object.assign({type:"JsdocTypeGeneric",left:k(m),elements:x},F?{infer:!0}:{}),{meta:{brackets:"angle",dot:b}})},"parseInfix")}),Ke=W({name:"unionParslet",accept:O(l=>l==="|","accept"),precedence:D.UNION,parseInfix:O((l,m)=>{l.consume("|");const b=[];do b.push(l.parseType(D.UNION));while(l.consume("|"));return{type:"JsdocTypeUnion",elements:[k(m),...b]}},"parseInfix")}),J=[se,ae,be,ue,ee,Re,Oe({allowTrailingComma:!0}),He,Ke,ae];function Q({allowSquareBracketsOnAnyType:l,allowJsdocNamePaths:m,pathGrammar:b}){return O(function(F,G,Z){if(Z==null||G>=D.NAME_PATH)return null;const ce=F.lexer.current.type,_e=F.lexer.next.type;if(!(ce==="."&&_e!=="<"||ce==="["&&(l||Z.type==="JsdocTypeName")||m&&(ce==="~"||ce==="#")))return null;let Me,fr=!1;F.consume(".")?Me="property":F.consume("[")?(Me="property-brackets",fr=!0):F.consume("~")?Me="inner":(F.consume("#"),Me="instance");const di=b!==null?new X(b,F.lexer,F):F,Qe=di.parseIntermediateType(D.NAME_PATH);F.acceptLexerState(di);let Jt;switch(Qe.type){case"JsdocTypeName":Jt={type:"JsdocTypeProperty",value:Qe.value,meta:{quote:void 0}};break;case"JsdocTypeNumber":Jt={type:"JsdocTypeProperty",value:Qe.value.toString(10),meta:{quote:void 0}};break;case"JsdocTypeStringValue":Jt={type:"JsdocTypeProperty",value:Qe.value,meta:{quote:Qe.meta.quote}};break;case"JsdocTypeSpecialNamePath":if(Qe.specialType==="event")Jt=Qe;else throw new d(Qe,"Type 'JsdocTypeSpecialNamePath' is only allowed with specialType 'event'");break;default:throw new d(Qe,"Expecting 'JsdocTypeName', 'JsdocTypeNumber', 'JsdocStringValue' or 'JsdocTypeSpecialNamePath'")}if(fr&&!F.consume("]")){const pi=F.lexer.current;throw new Error(`Unterminated square brackets. Next token is '${pi.type}' with text '${pi.text}'`)}return{type:"JsdocTypeNamePath",left:k(Z),right:Jt,pathType:Me}},"namePathParslet")}O(Q,"createNamePathParslet");function re({allowedAdditionalTokens:l}){return W({name:"nameParslet",accept:O(m=>m==="Identifier"||m==="this"||m==="new"||l.includes(m),"accept"),parsePrefix:O(m=>{const{type:b,text:x}=m.lexer.current;return m.consume(b),{type:"JsdocTypeName",value:x}},"parsePrefix")})}O(re,"createNameParslet");const oe=W({name:"stringValueParslet",accept:O(l=>l==="StringValue","accept"),parsePrefix:O(l=>{const m=l.lexer.current.text;return l.consume("StringValue"),{type:"JsdocTypeStringValue",value:m.slice(1,-1),meta:{quote:m[0]==="'"?"single":"double"}}},"parsePrefix")});function ne({pathGrammar:l,allowedTypes:m}){return W({name:"specialNamePathParslet",accept:O(b=>m.includes(b),"accept"),parsePrefix:O(b=>{const x=b.lexer.current.type;if(b.consume(x),!b.consume(":"))return{type:"JsdocTypeName",value:x};let F,G=b.lexer.current;if(b.consume("StringValue"))F={type:"JsdocTypeSpecialNamePath",value:G.text.slice(1,-1),specialType:x,meta:{quote:G.text[0]==="'"?"single":"double"}};else{let _e="";const Ee=["Identifier","@","/"];for(;Ee.some(Me=>b.consume(Me));)_e+=G.text,G=b.lexer.current;F={type:"JsdocTypeSpecialNamePath",value:_e,specialType:x,meta:{quote:void 0}}}const Z=new X(l,b.lexer,b),ce=Z.parseInfixIntermediateType(F,D.ALL);return b.acceptLexerState(Z),k(ce)},"parsePrefix")})}O(ne,"createSpecialNamePathParslet");const de=[re({allowedAdditionalTokens:["external","module"]}),oe,be,Q({allowSquareBracketsOnAnyType:!1,allowJsdocNamePaths:!0,pathGrammar:null})],he=[...de,ne({allowedTypes:["event"],pathGrammar:de})];function pe(l){let m;if(l.type==="JsdocTypeParameterList")m=l.elements;else if(l.type==="JsdocTypeParenthesis")m=[l.element];else throw new d(l);return m.map(b=>I(b))}O(pe,"getParameters");function $e(l){const m=pe(l);if(m.some(b=>b.type==="JsdocTypeKeyValue"))throw new Error("No parameter should be named");return m}O($e,"getUnnamedParameters");function it({allowNamedParameters:l,allowNoReturnType:m,allowWithoutParenthesis:b,allowNewAsFunctionKeyword:x}){return W({name:"functionParslet",accept:O((F,G)=>F==="function"||x&&F==="new"&&G==="(","accept"),parsePrefix:O(F=>{const G=F.consume("new");F.consume("function");const Z=F.lexer.current.type==="(";if(!Z){if(!b)throw new Error("function is missing parameter list");return{type:"JsdocTypeName",value:"function"}}let ce={type:"JsdocTypeFunction",parameters:[],arrow:!1,constructor:G,parenthesis:Z};const _e=F.parseIntermediateType(D.FUNCTION);if(l===void 0)ce.parameters=$e(_e);else{if(G&&_e.type==="JsdocTypeFunction"&&_e.arrow)return ce=_e,ce.constructor=!0,ce;ce.parameters=pe(_e);for(const Ee of ce.parameters)if(Ee.type==="JsdocTypeKeyValue"&&!l.includes(Ee.key))throw new Error(`only allowed named parameters are ${l.join(", ")} but got ${Ee.type}`)}if(F.consume(":"))ce.returnType=F.parseType(D.PREFIX);else if(!m)throw new Error("function is missing return type");return ce},"parsePrefix")})}O(it,"createFunctionParslet");function pt({allowPostfix:l,allowEnclosingBrackets:m}){return W({name:"variadicParslet",accept:O(b=>b==="...","accept"),precedence:D.PREFIX,parsePrefix:O(b=>{b.consume("...");const x=m&&b.consume("[");try{const F=b.parseType(D.PREFIX);if(x&&!b.consume("]"))throw new Error("Unterminated variadic type. Missing ']'");return{type:"JsdocTypeVariadic",element:k(F),meta:{position:"prefix",squareBrackets:x}}}catch(F){if(F instanceof s){if(x)throw new Error("Empty square brackets for variadic are not allowed.");return{type:"JsdocTypeVariadic",meta:{position:void 0,squareBrackets:!1}}}else throw F}},"parsePrefix"),parseInfix:l?(b,x)=>(b.consume("..."),{type:"JsdocTypeVariadic",element:k(x),meta:{position:"suffix",squareBrackets:!1}}):void 0})}O(pt,"createVariadicParslet");const wt=W({name:"symbolParslet",accept:O(l=>l==="(","accept"),precedence:D.SYMBOL,parseInfix:O((l,m)=>{if(m.type!=="JsdocTypeName")throw new Error("Symbol expects a name on the left side. (Reacting on '(')");l.consume("(");const b={type:"JsdocTypeSymbol",value:m.value};if(!l.consume(")")){const x=l.parseIntermediateType(D.SYMBOL);if(b.element=A(x),!l.consume(")"))throw new Error("Symbol does not end after value")}return b},"parseInfix")}),st=W({name:"arrayBracketsParslet",precedence:D.ARRAY_BRACKETS,accept:O((l,m)=>l==="["&&m==="]","accept"),parseInfix:O((l,m)=>(l.consume("["),l.consume("]"),{type:"JsdocTypeGeneric",left:{type:"JsdocTypeName",value:"Array"},elements:[k(m)],meta:{brackets:"square",dot:!1}}),"parseInfix")});function ft({objectFieldGrammar:l,allowKeyTypes:m}){return W({name:"objectParslet",accept:O(b=>b==="{","accept"),parsePrefix:O(b=>{b.consume("{");const x={type:"JsdocTypeObject",meta:{separator:"comma"},elements:[]};if(!b.consume("}")){let F;const G=new X(l,b.lexer,b);for(;;){G.acceptLexerState(b);let Z=G.parseIntermediateType(D.OBJECT);b.acceptLexerState(G),Z===void 0&&m&&(Z=b.parseIntermediateType(D.OBJECT));let ce=!1;if(Z.type==="JsdocTypeNullable"&&(ce=!0,Z=Z.element),Z.type==="JsdocTypeNumber"||Z.type==="JsdocTypeName"||Z.type==="JsdocTypeStringValue"){let Ee;Z.type==="JsdocTypeStringValue"&&(Ee=Z.meta.quote),x.elements.push({type:"JsdocTypeObjectField",key:Z.value.toString(),right:void 0,optional:ce,readonly:!1,meta:{quote:Ee}})}else if(Z.type==="JsdocTypeObjectField"||Z.type==="JsdocTypeJsdocObjectField")x.elements.push(Z);else throw new d(Z);if(b.lexer.current.startOfLine)F="linebreak",b.consume(",")||b.consume(";");else if(b.consume(","))F="comma";else if(b.consume(";"))F="semicolon";else break;if(b.lexer.current.type==="}")break}if(x.meta.separator=F??"comma",F==="linebreak"&&(x.meta.propertyIndent=" "),!b.consume("}"))throw new Error("Unterminated record type. Missing '}'")}return x},"parsePrefix")})}O(ft,"createObjectParslet");function mt({allowSquaredProperties:l,allowKeyTypes:m,allowReadonly:b,allowOptional:x}){return W({name:"objectFieldParslet",precedence:D.KEY_VALUE,accept:O(F=>F===":","accept"),parseInfix:O((F,G)=>{var Z;let ce=!1,_e=!1;x&&G.type==="JsdocTypeNullable"&&(ce=!0,G=G.element),b&&G.type==="JsdocTypeReadonlyProperty"&&(_e=!0,G=G.element);const Ee=(Z=F.baseParser)!==null&&Z!==void 0?Z:F;if(Ee.acceptLexerState(F),G.type==="JsdocTypeNumber"||G.type==="JsdocTypeName"||G.type==="JsdocTypeStringValue"||$(G)){if($(G)&&!l)throw new d(G);Ee.consume(":");let Me;G.type==="JsdocTypeStringValue"&&(Me=G.meta.quote);const fr=Ee.parseType(D.KEY_VALUE);return F.acceptLexerState(Ee),{type:"JsdocTypeObjectField",key:$(G)?G:G.value.toString(),right:fr,optional:ce,readonly:_e,meta:{quote:Me}}}else{if(!m)throw new d(G);Ee.consume(":");const Me=Ee.parseType(D.KEY_VALUE);return F.acceptLexerState(Ee),{type:"JsdocTypeJsdocObjectField",left:k(G),right:Me}}},"parseInfix")})}O(mt,"createObjectFieldParslet");function ht({allowOptional:l,allowVariadic:m}){return W({name:"keyValueParslet",precedence:D.KEY_VALUE,accept:O(b=>b===":","accept"),parseInfix:O((b,x)=>{let F=!1,G=!1;if(l&&x.type==="JsdocTypeNullable"&&(F=!0,x=x.element),m&&x.type==="JsdocTypeVariadic"&&x.element!==void 0&&(G=!0,x=x.element),x.type!=="JsdocTypeName")throw new d(x);b.consume(":");const Z=b.parseType(D.KEY_VALUE);return{type:"JsdocTypeKeyValue",key:x.value,right:Z,optional:F,variadic:G}},"parseInfix")})}O(ht,"createKeyValueParslet");const tn=[...J,it({allowWithoutParenthesis:!0,allowNamedParameters:["this","new"],allowNoReturnType:!0,allowNewAsFunctionKeyword:!1}),oe,ne({allowedTypes:["module","external","event"],pathGrammar:he}),pt({allowEnclosingBrackets:!0,allowPostfix:!0}),re({allowedAdditionalTokens:["keyof"]}),wt,st,Q({allowSquareBracketsOnAnyType:!1,allowJsdocNamePaths:!0,pathGrammar:he})],Jo=[...tn,ft({objectFieldGrammar:[re({allowedAdditionalTokens:["typeof","module","in"]}),mt({allowSquaredProperties:!1,allowKeyTypes:!0,allowOptional:!1,allowReadonly:!1}),...tn],allowKeyTypes:!0}),ht({allowOptional:!0,allowVariadic:!0})],rn=W({name:"typeOfParslet",accept:O(l=>l==="typeof","accept"),parsePrefix:O(l=>(l.consume("typeof"),{type:"JsdocTypeTypeof",element:l.parseType(D.KEY_OF_TYPE_OF)}),"parsePrefix")}),Uo=[re({allowedAdditionalTokens:["typeof","module","keyof","event","external","in"]}),se,ae,oe,be,mt({allowSquaredProperties:!1,allowKeyTypes:!1,allowOptional:!1,allowReadonly:!1})],Vo=[...J,ft({allowKeyTypes:!1,objectFieldGrammar:Uo}),re({allowedAdditionalTokens:["event","external","in"]}),rn,it({allowWithoutParenthesis:!1,allowNamedParameters:["this","new"],allowNoReturnType:!0,allowNewAsFunctionKeyword:!1}),pt({allowEnclosingBrackets:!1,allowPostfix:!1}),re({allowedAdditionalTokens:["keyof"]}),ne({allowedTypes:["module"],pathGrammar:he}),Q({allowSquareBracketsOnAnyType:!1,allowJsdocNamePaths:!0,pathGrammar:he}),ht({allowOptional:!1,allowVariadic:!1}),wt],Ho=W({name:"assertsParslet",accept:O(l=>l==="asserts","accept"),parsePrefix:O(l=>{l.consume("asserts");const m=l.parseIntermediateType(D.SYMBOL);if(m.type!=="JsdocTypeName")throw new d(m,"A typescript asserts always has to have a name on the left side.");return l.consume("is")?{type:"JsdocTypeAsserts",left:m,right:k(l.parseIntermediateType(D.INFIX))}:{type:"JsdocTypeAssertsPlain",element:m}},"parsePrefix")});function nn({allowQuestionMark:l}){return W({name:"tupleParslet",accept:O(m=>m==="[","accept"),parsePrefix:O(m=>{m.consume("[");const b={type:"JsdocTypeTuple",elements:[]};if(m.consume("]"))return b;const x=m.parseIntermediateType(D.ALL);if(x.type==="JsdocTypeParameterList"?x.elements[0].type==="JsdocTypeKeyValue"?b.elements=x.elements.map(H):b.elements=x.elements.map(k):x.type==="JsdocTypeKeyValue"?b.elements=[H(x)]:b.elements=[k(x)],!m.consume("]"))throw new Error("Unterminated '['");if(b.elements.some(F=>F.type==="JsdocTypeUnknown"))throw new Error("Question mark in tuple not allowed");return b},"parsePrefix")})}O(nn,"createTupleParslet");const zo=W({name:"keyOfParslet",accept:O(l=>l==="keyof","accept"),parsePrefix:O(l=>(l.consume("keyof"),{type:"JsdocTypeKeyof",element:k(l.parseType(D.KEY_OF_TYPE_OF))}),"parsePrefix")}),Go=W({name:"importParslet",accept:O(l=>l==="import","accept"),parsePrefix:O(l=>{if(l.consume("import"),!l.consume("("))throw new Error("Missing parenthesis after import keyword");const m=l.parseType(D.PREFIX);if(m.type!=="JsdocTypeStringValue")throw new Error("Only string values are allowed as paths for imports");if(!l.consume(")"))throw new Error("Missing closing parenthesis after import keyword");return{type:"JsdocTypeImport",element:m}},"parsePrefix")}),Wo=W({name:"readonlyPropertyParslet",accept:O(l=>l==="readonly","accept"),parsePrefix:O(l=>(l.consume("readonly"),{type:"JsdocTypeReadonlyProperty",element:l.parseIntermediateType(D.KEY_VALUE)}),"parsePrefix")}),Ko=W({name:"arrowFunctionParslet",precedence:D.ARROW,accept:O(l=>l==="=>","accept"),parseInfix:O((l,m)=>(l.consume("=>"),{type:"JsdocTypeFunction",parameters:pe(m).map(V),arrow:!0,constructor:!1,parenthesis:!0,returnType:l.parseType(D.OBJECT)}),"parseInfix")}),Yo=W({name:"genericArrowFunctionParslet",accept:O(l=>l==="<","accept"),parsePrefix:O(l=>{const m=[];l.consume("<");do{let x,F=l.parseIntermediateType(D.SYMBOL);if(F.type==="JsdocTypeOptional"&&(F=F.element,x=l.parseType(D.SYMBOL)),F.type!=="JsdocTypeName")throw new d(F);let G;l.consume("extends")&&(G=l.parseType(D.SYMBOL),G.type==="JsdocTypeOptional"&&(G=G.element,x=l.parseType(D.SYMBOL)));const Z={type:"JsdocTypeTypeParameter",name:F};if(G!==void 0&&(Z.constraint=G),x!==void 0&&(Z.defaultValue=x),m.push(Z),l.consume(">"))break}while(l.consume(","));const b=l.parseIntermediateType(D.SYMBOL);return b.typeParameters=m,b},"parsePrefix")}),Xo=W({name:"intersectionParslet",accept:O(l=>l==="&","accept"),precedence:D.INTERSECTION,parseInfix:O((l,m)=>{l.consume("&");const b=[];do b.push(l.parseType(D.INTERSECTION));while(l.consume("&"));return{type:"JsdocTypeIntersection",elements:[k(m),...b]}},"parseInfix")}),Qo=W({name:"predicateParslet",precedence:D.INFIX,accept:O(l=>l==="is","accept"),parseInfix:O((l,m)=>{if(m.type!=="JsdocTypeName")throw new d(m,"A typescript predicate always has to have a name on the left side.");return l.consume("is"),{type:"JsdocTypePredicate",left:m,right:k(l.parseIntermediateType(D.INFIX))}},"parseInfix")}),Zo=W({name:"objectSquareBracketPropertyParslet",accept:O(l=>l==="[","accept"),parsePrefix:O(l=>{if(l.baseParser===void 0)throw new Error("Only allowed inside object grammar");l.consume("[");const m=l.lexer.current.text;l.consume("Identifier");let b;if(l.consume(":")){const x=l.baseParser;x.acceptLexerState(l),b={type:"JsdocTypeIndexSignature",key:m,right:x.parseType(D.INDEX_BRACKETS)},l.acceptLexerState(x)}else if(l.consume("in")){const x=l.baseParser;x.acceptLexerState(l),b={type:"JsdocTypeMappedType",key:m,right:x.parseType(D.ARRAY_BRACKETS)},l.acceptLexerState(x)}else throw new Error("Missing ':' or 'in' inside square bracketed property.");if(!l.consume("]"))throw new Error("Unterminated square brackets");return b},"parsePrefix")}),ei=W({name:"readonlyArrayParslet",accept:O(l=>l==="readonly","accept"),parsePrefix:O(l=>(l.consume("readonly"),{type:"JsdocTypeReadonlyArray",element:L(l.parseIntermediateType(D.ALL))}),"parsePrefix")}),ti=W({name:"conditionalParslet",precedence:D.INFIX,accept:O(l=>l==="extends","accept"),parseInfix:O((l,m)=>{l.consume("extends");const b=l.parseType(D.KEY_OF_TYPE_OF).element,x=l.parseType(D.INFIX);return l.consume(":"),{type:"JsdocTypeConditional",checksType:k(m),extendsType:b,trueType:x,falseType:l.parseType(D.INFIX)}},"parseInfix")}),ri=[Wo,re({allowedAdditionalTokens:["typeof","module","keyof","event","external","in"]}),se,ae,oe,be,mt({allowSquaredProperties:!0,allowKeyTypes:!1,allowOptional:!0,allowReadonly:!0}),Zo],ni=[...J,ft({allowKeyTypes:!1,objectFieldGrammar:ri}),ei,rn,zo,Go,oe,it({allowWithoutParenthesis:!0,allowNoReturnType:!1,allowNamedParameters:["this","new","args"],allowNewAsFunctionKeyword:!0}),nn({allowQuestionMark:!1}),pt({allowEnclosingBrackets:!1,allowPostfix:!1}),Ho,ti,re({allowedAdditionalTokens:["event","external","in"]}),ne({allowedTypes:["module"],pathGrammar:he}),st,Ko,Yo,Q({allowSquareBracketsOnAnyType:!0,allowJsdocNamePaths:!1,pathGrammar:he}),Xo,Qo,ht({allowVariadic:!0,allowOptional:!0})];function ur(l,m){switch(m){case"closure":return new X(Vo,l).parse();case"jsdoc":return new X(Jo,l).parse();case"typescript":return new X(ni,l).parse()}}O(ur,"parse");function on(l,m=["typescript","closure","jsdoc"]){let b;for(const x of m)try{return ur(l,x)}catch(F){b=F}throw b}O(on,"tryParse");function Y(l,m){const b=l[m.type];if(b===void 0)throw new Error(`In this set of transform rules exists no rule for type ${m.type}.`);return b(m,x=>Y(l,x))}O(Y,"transform");function le(l){throw new Error("This transform is not available. Are you trying the correct parsing mode?")}O(le,"notAvailableTransform");function It(l){const m={params:[]};for(const b of l.parameters)b.type==="JsdocTypeKeyValue"?b.key==="this"?m.this=b.right:b.key==="new"?m.new=b.right:m.params.push(b):m.params.push(b);return m}O(It,"extractSpecialParams");function Bt(l,m,b){return l==="prefix"?b+m:m+b}O(Bt,"applyPosition");function Ye(l,m){switch(m){case"double":return`"${l}"`;case"single":return`'${l}'`;case void 0:return l}}O(Ye,"quote");function sn(){return{JsdocTypeParenthesis:O((l,m)=>`(${l.element!==void 0?m(l.element):""})`,"JsdocTypeParenthesis"),JsdocTypeKeyof:O((l,m)=>`keyof ${m(l.element)}`,"JsdocTypeKeyof"),JsdocTypeFunction:O((l,m)=>{var b;if(l.arrow){if(l.returnType===void 0)throw new Error("Arrow function needs a return type.");let x=`${l.typeParameters!==void 0?`<${(b=l.typeParameters.map(m).join(", "))!==null&&b!==void 0?b:""}>`:""}(${l.parameters.map(m).join(", ")}) => ${m(l.returnType)}`;return l.constructor&&(x="new "+x),x}else{let x=l.constructor?"new":"function";return l.parenthesis&&(x+=`(${l.parameters.map(m).join(", ")})`,l.returnType!==void 0&&(x+=`: ${m(l.returnType)}`)),x}},"JsdocTypeFunction"),JsdocTypeName:O(l=>l.value,"JsdocTypeName"),JsdocTypeTuple:O((l,m)=>`[${l.elements.map(m).join(", ")}]`,"JsdocTypeTuple"),JsdocTypeVariadic:O((l,m)=>l.meta.position===void 0?"...":Bt(l.meta.position,m(l.element),"..."),"JsdocTypeVariadic"),JsdocTypeNamePath:O((l,m)=>{const b=m(l.left),x=m(l.right);switch(l.pathType){case"inner":return`${b}~${x}`;case"instance":return`${b}#${x}`;case"property":return`${b}.${x}`;case"property-brackets":return`${b}[${x}]`}},"JsdocTypeNamePath"),JsdocTypeStringValue:O(l=>Ye(l.value,l.meta.quote),"JsdocTypeStringValue"),JsdocTypeAny:O(()=>"*","JsdocTypeAny"),JsdocTypeGeneric:O((l,m)=>{if(l.meta.brackets==="square"){const b=l.elements[0],x=m(b);return b.type==="JsdocTypeUnion"||b.type==="JsdocTypeIntersection"?`(${x})[]`:`${x}[]`}else return`${m(l.left)}${l.meta.dot?".":""}<${l.infer===!0?"infer ":""}${l.elements.map(m).join(", ")}>`},"JsdocTypeGeneric"),JsdocTypeImport:O((l,m)=>`import(${m(l.element)})`,"JsdocTypeImport"),JsdocTypeObjectField:O((l,m)=>{let b="";return l.readonly&&(b+="readonly "),typeof l.key=="string"?b+=Ye(l.key,l.meta.quote):b+=m(l.key),l.optional&&(b+="?"),l.right===void 0?b:b+`: ${m(l.right)}`},"JsdocTypeObjectField"),JsdocTypeJsdocObjectField:O((l,m)=>`${m(l.left)}: ${m(l.right)}`,"JsdocTypeJsdocObjectField"),JsdocTypeKeyValue:O((l,m)=>{let b=l.key;return l.optional&&(b+="?"),l.variadic&&(b="..."+b),l.right===void 0?b:b+`: ${m(l.right)}`},"JsdocTypeKeyValue"),JsdocTypeSpecialNamePath:O(l=>`${l.specialType}:${Ye(l.value,l.meta.quote)}`,"JsdocTypeSpecialNamePath"),JsdocTypeNotNullable:O((l,m)=>Bt(l.meta.position,m(l.element),"!"),"JsdocTypeNotNullable"),JsdocTypeNull:O(()=>"null","JsdocTypeNull"),JsdocTypeNullable:O((l,m)=>Bt(l.meta.position,m(l.element),"?"),"JsdocTypeNullable"),JsdocTypeNumber:O(l=>l.value.toString(),"JsdocTypeNumber"),JsdocTypeObject:O((l,m)=>{var b,x;return`{${(l.meta.separator==="linebreak"&&l.elements.length>1?`
1010
1010
  `+((b=l.meta.propertyIndent)!==null&&b!==void 0?b:""):"")+l.elements.map(m).join(l.meta.separator==="comma"?", ":l.meta.separator==="linebreak"?`
1011
1011
  `+((x=l.meta.propertyIndent)!==null&&x!==void 0?x:""):"; ")+(l.meta.separator==="linebreak"&&l.elements.length>1?`
1012
- `:"")}}`},"JsdocTypeObject"),JsdocTypeOptional:O((l,m)=>Bt(l.meta.position,m(l.element),"="),"JsdocTypeOptional"),JsdocTypeSymbol:O((l,m)=>`${l.value}(${l.element!==void 0?m(l.element):""})`,"JsdocTypeSymbol"),JsdocTypeTypeof:O((l,m)=>`typeof ${m(l.element)}`,"JsdocTypeTypeof"),JsdocTypeUndefined:O(()=>"undefined","JsdocTypeUndefined"),JsdocTypeUnion:O((l,m)=>l.elements.map(m).join(" | "),"JsdocTypeUnion"),JsdocTypeUnknown:O(()=>"?","JsdocTypeUnknown"),JsdocTypeIntersection:O((l,m)=>l.elements.map(m).join(" & "),"JsdocTypeIntersection"),JsdocTypeProperty:O(l=>Ye(l.value,l.meta.quote),"JsdocTypeProperty"),JsdocTypePredicate:O((l,m)=>`${m(l.left)} is ${m(l.right)}`,"JsdocTypePredicate"),JsdocTypeIndexSignature:O((l,m)=>`[${l.key}: ${m(l.right)}]`,"JsdocTypeIndexSignature"),JsdocTypeMappedType:O((l,m)=>`[${l.key} in ${m(l.right)}]`,"JsdocTypeMappedType"),JsdocTypeAsserts:O((l,m)=>`asserts ${m(l.left)} is ${m(l.right)}`,"JsdocTypeAsserts"),JsdocTypeReadonlyArray:O((l,m)=>`readonly ${m(l.element)}`,"JsdocTypeReadonlyArray"),JsdocTypeAssertsPlain:O((l,m)=>`asserts ${m(l.element)}`,"JsdocTypeAssertsPlain"),JsdocTypeConditional:O((l,m)=>`${m(l.checksType)} extends ${m(l.extendsType)} ? ${m(l.trueType)} : ${m(l.falseType)}`,"JsdocTypeConditional"),JsdocTypeTypeParameter:O((l,m)=>`${m(l.name)}${l.constraint!==void 0?` extends ${m(l.constraint)}`:""}${l.defaultValue!==void 0?` = ${m(l.defaultValue)}`:""}`,"JsdocTypeTypeParameter")}}O(sn,"stringifyRules");const Vc=sn();function oi(l){return Y(Vc,l)}O(oi,"stringify");const Hc=["null","true","false","break","case","catch","class","const","continue","debugger","default","delete","do","else","export","extends","finally","for","function","if","import","in","instanceof","new","return","super","switch","this","throw","try","typeof","var","void","while","with","yield"];function Xe(l){const m={type:"NameExpression",name:l};return Hc.includes(l)&&(m.reservedWord=!0),m}O(Xe,"makeName");const zc={JsdocTypeOptional:O((l,m)=>{const b=m(l.element);return b.optional=!0,b},"JsdocTypeOptional"),JsdocTypeNullable:O((l,m)=>{const b=m(l.element);return b.nullable=!0,b},"JsdocTypeNullable"),JsdocTypeNotNullable:O((l,m)=>{const b=m(l.element);return b.nullable=!1,b},"JsdocTypeNotNullable"),JsdocTypeVariadic:O((l,m)=>{if(l.element===void 0)throw new Error("dots without value are not allowed in catharsis mode");const b=m(l.element);return b.repeatable=!0,b},"JsdocTypeVariadic"),JsdocTypeAny:O(()=>({type:"AllLiteral"}),"JsdocTypeAny"),JsdocTypeNull:O(()=>({type:"NullLiteral"}),"JsdocTypeNull"),JsdocTypeStringValue:O(l=>Xe(Ye(l.value,l.meta.quote)),"JsdocTypeStringValue"),JsdocTypeUndefined:O(()=>({type:"UndefinedLiteral"}),"JsdocTypeUndefined"),JsdocTypeUnknown:O(()=>({type:"UnknownLiteral"}),"JsdocTypeUnknown"),JsdocTypeFunction:O((l,m)=>{const b=It(l),x={type:"FunctionType",params:b.params.map(m)};return b.this!==void 0&&(x.this=m(b.this)),b.new!==void 0&&(x.new=m(b.new)),l.returnType!==void 0&&(x.result=m(l.returnType)),x},"JsdocTypeFunction"),JsdocTypeGeneric:O((l,m)=>({type:"TypeApplication",applications:l.elements.map(b=>m(b)),expression:m(l.left)}),"JsdocTypeGeneric"),JsdocTypeSpecialNamePath:O(l=>Xe(l.specialType+":"+Ye(l.value,l.meta.quote)),"JsdocTypeSpecialNamePath"),JsdocTypeName:O(l=>l.value!=="function"?Xe(l.value):{type:"FunctionType",params:[]},"JsdocTypeName"),JsdocTypeNumber:O(l=>Xe(l.value.toString()),"JsdocTypeNumber"),JsdocTypeObject:O((l,m)=>{const b={type:"RecordType",fields:[]};for(const x of l.elements)x.type!=="JsdocTypeObjectField"&&x.type!=="JsdocTypeJsdocObjectField"?b.fields.push({type:"FieldType",key:m(x),value:void 0}):b.fields.push(m(x));return b},"JsdocTypeObject"),JsdocTypeObjectField:O((l,m)=>{if(typeof l.key!="string")throw new Error("Index signatures and mapped types are not supported");return{type:"FieldType",key:Xe(Ye(l.key,l.meta.quote)),value:l.right===void 0?void 0:m(l.right)}},"JsdocTypeObjectField"),JsdocTypeJsdocObjectField:O((l,m)=>({type:"FieldType",key:m(l.left),value:m(l.right)}),"JsdocTypeJsdocObjectField"),JsdocTypeUnion:O((l,m)=>({type:"TypeUnion",elements:l.elements.map(b=>m(b))}),"JsdocTypeUnion"),JsdocTypeKeyValue:O((l,m)=>({type:"FieldType",key:Xe(l.key),value:l.right===void 0?void 0:m(l.right)}),"JsdocTypeKeyValue"),JsdocTypeNamePath:O((l,m)=>{const b=m(l.left);let x;l.right.type==="JsdocTypeSpecialNamePath"?x=m(l.right).name:x=Ye(l.right.value,l.right.meta.quote);const F=l.pathType==="inner"?"~":l.pathType==="instance"?"#":".";return Xe(`${b.name}${F}${x}`)},"JsdocTypeNamePath"),JsdocTypeSymbol:O(l=>{let m="",b=l.element,x=!1;return b?.type==="JsdocTypeVariadic"&&(b.meta.position==="prefix"?m="...":x=!0,b=b.element),b?.type==="JsdocTypeName"?m+=b.value:b?.type==="JsdocTypeNumber"&&(m+=b.value.toString()),x&&(m+="..."),Xe(`${l.value}(${m})`)},"JsdocTypeSymbol"),JsdocTypeParenthesis:O((l,m)=>m(k(l.element)),"JsdocTypeParenthesis"),JsdocTypeMappedType:le,JsdocTypeIndexSignature:le,JsdocTypeImport:le,JsdocTypeKeyof:le,JsdocTypeTuple:le,JsdocTypeTypeof:le,JsdocTypeIntersection:le,JsdocTypeProperty:le,JsdocTypePredicate:le,JsdocTypeAsserts:le,JsdocTypeReadonlyArray:le,JsdocTypeAssertsPlain:le,JsdocTypeConditional:le,JsdocTypeTypeParameter:le};function ii(l){return Y(zc,l)}O(ii,"catharsisTransform");function st(l){switch(l){case void 0:return"none";case"single":return"single";case"double":return"double"}}O(st,"getQuoteStyle");function si(l){switch(l){case"inner":return"INNER_MEMBER";case"instance":return"INSTANCE_MEMBER";case"property":return"MEMBER";case"property-brackets":return"MEMBER"}}O(si,"getMemberType");function dr(l,m){return m.length===2?{type:l,left:m[0],right:m[1]}:{type:l,left:m[0],right:dr(l,m.slice(1))}}O(dr,"nestResults");const Gc={JsdocTypeOptional:O((l,m)=>({type:"OPTIONAL",value:m(l.element),meta:{syntax:l.meta.position==="prefix"?"PREFIX_EQUAL_SIGN":"SUFFIX_EQUALS_SIGN"}}),"JsdocTypeOptional"),JsdocTypeNullable:O((l,m)=>({type:"NULLABLE",value:m(l.element),meta:{syntax:l.meta.position==="prefix"?"PREFIX_QUESTION_MARK":"SUFFIX_QUESTION_MARK"}}),"JsdocTypeNullable"),JsdocTypeNotNullable:O((l,m)=>({type:"NOT_NULLABLE",value:m(l.element),meta:{syntax:l.meta.position==="prefix"?"PREFIX_BANG":"SUFFIX_BANG"}}),"JsdocTypeNotNullable"),JsdocTypeVariadic:O((l,m)=>{const b={type:"VARIADIC",meta:{syntax:l.meta.position==="prefix"?"PREFIX_DOTS":l.meta.position==="suffix"?"SUFFIX_DOTS":"ONLY_DOTS"}};return l.element!==void 0&&(b.value=m(l.element)),b},"JsdocTypeVariadic"),JsdocTypeName:O(l=>({type:"NAME",name:l.value}),"JsdocTypeName"),JsdocTypeTypeof:O((l,m)=>({type:"TYPE_QUERY",name:m(l.element)}),"JsdocTypeTypeof"),JsdocTypeTuple:O((l,m)=>({type:"TUPLE",entries:l.elements.map(m)}),"JsdocTypeTuple"),JsdocTypeKeyof:O((l,m)=>({type:"KEY_QUERY",value:m(l.element)}),"JsdocTypeKeyof"),JsdocTypeImport:O(l=>({type:"IMPORT",path:{type:"STRING_VALUE",quoteStyle:st(l.element.meta.quote),string:l.element.value}}),"JsdocTypeImport"),JsdocTypeUndefined:O(()=>({type:"NAME",name:"undefined"}),"JsdocTypeUndefined"),JsdocTypeAny:O(()=>({type:"ANY"}),"JsdocTypeAny"),JsdocTypeFunction:O((l,m)=>{const b=It(l),x={type:l.arrow?"ARROW":"FUNCTION",params:b.params.map(F=>{if(F.type==="JsdocTypeKeyValue"){if(F.right===void 0)throw new Error("Function parameter without ':' is not expected to be 'KEY_VALUE'");return{type:"NAMED_PARAMETER",name:F.key,typeName:m(F.right)}}else return m(F)}),new:null,returns:null};return b.this!==void 0?x.this=m(b.this):l.arrow||(x.this=null),b.new!==void 0&&(x.new=m(b.new)),l.returnType!==void 0&&(x.returns=m(l.returnType)),x},"JsdocTypeFunction"),JsdocTypeGeneric:O((l,m)=>{const b={type:"GENERIC",subject:m(l.left),objects:l.elements.map(m),meta:{syntax:l.meta.brackets==="square"?"SQUARE_BRACKET":l.meta.dot?"ANGLE_BRACKET_WITH_DOT":"ANGLE_BRACKET"}};return l.meta.brackets==="square"&&l.elements[0].type==="JsdocTypeFunction"&&!l.elements[0].parenthesis&&(b.objects[0]={type:"NAME",name:"function"}),b},"JsdocTypeGeneric"),JsdocTypeObjectField:O((l,m)=>{if(typeof l.key!="string")throw new Error("Index signatures and mapped types are not supported");if(l.right===void 0)return{type:"RECORD_ENTRY",key:l.key,quoteStyle:st(l.meta.quote),value:null,readonly:!1};let b=m(l.right);return l.optional&&(b={type:"OPTIONAL",value:b,meta:{syntax:"SUFFIX_KEY_QUESTION_MARK"}}),{type:"RECORD_ENTRY",key:l.key.toString(),quoteStyle:st(l.meta.quote),value:b,readonly:!1}},"JsdocTypeObjectField"),JsdocTypeJsdocObjectField:O(()=>{throw new Error("Keys may not be typed in jsdoctypeparser.")},"JsdocTypeJsdocObjectField"),JsdocTypeKeyValue:O((l,m)=>{if(l.right===void 0)return{type:"RECORD_ENTRY",key:l.key,quoteStyle:"none",value:null,readonly:!1};let b=m(l.right);return l.optional&&(b={type:"OPTIONAL",value:b,meta:{syntax:"SUFFIX_KEY_QUESTION_MARK"}}),{type:"RECORD_ENTRY",key:l.key,quoteStyle:"none",value:b,readonly:!1}},"JsdocTypeKeyValue"),JsdocTypeObject:O((l,m)=>{const b=[];for(const x of l.elements)(x.type==="JsdocTypeObjectField"||x.type==="JsdocTypeJsdocObjectField")&&b.push(m(x));return{type:"RECORD",entries:b}},"JsdocTypeObject"),JsdocTypeSpecialNamePath:O(l=>{if(l.specialType!=="module")throw new Error(`jsdoctypeparser does not support type ${l.specialType} at this point.`);return{type:"MODULE",value:{type:"FILE_PATH",quoteStyle:st(l.meta.quote),path:l.value}}},"JsdocTypeSpecialNamePath"),JsdocTypeNamePath:O((l,m)=>{let b=!1,x,F;l.right.type==="JsdocTypeSpecialNamePath"&&l.right.specialType==="event"?(b=!0,x=l.right.value,F=st(l.right.meta.quote)):(x=l.right.value,F=st(l.right.meta.quote));const G={type:si(l.pathType),owner:m(l.left),name:x,quoteStyle:F,hasEventPrefix:b};if(G.owner.type==="MODULE"){const Z=G.owner;return G.owner=G.owner.value,Z.value=G,Z}else return G},"JsdocTypeNamePath"),JsdocTypeUnion:O((l,m)=>dr("UNION",l.elements.map(m)),"JsdocTypeUnion"),JsdocTypeParenthesis:O((l,m)=>({type:"PARENTHESIS",value:m(k(l.element))}),"JsdocTypeParenthesis"),JsdocTypeNull:O(()=>({type:"NAME",name:"null"}),"JsdocTypeNull"),JsdocTypeUnknown:O(()=>({type:"UNKNOWN"}),"JsdocTypeUnknown"),JsdocTypeStringValue:O(l=>({type:"STRING_VALUE",quoteStyle:st(l.meta.quote),string:l.value}),"JsdocTypeStringValue"),JsdocTypeIntersection:O((l,m)=>dr("INTERSECTION",l.elements.map(m)),"JsdocTypeIntersection"),JsdocTypeNumber:O(l=>({type:"NUMBER_VALUE",number:l.value.toString()}),"JsdocTypeNumber"),JsdocTypeSymbol:le,JsdocTypeProperty:le,JsdocTypePredicate:le,JsdocTypeMappedType:le,JsdocTypeIndexSignature:le,JsdocTypeAsserts:le,JsdocTypeReadonlyArray:le,JsdocTypeAssertsPlain:le,JsdocTypeConditional:le,JsdocTypeTypeParameter:le};function ai(l){return Y(Gc,l)}O(ai,"jtpTransform");function li(){return{JsdocTypeIntersection:O((l,m)=>({type:"JsdocTypeIntersection",elements:l.elements.map(m)}),"JsdocTypeIntersection"),JsdocTypeGeneric:O((l,m)=>({type:"JsdocTypeGeneric",left:m(l.left),elements:l.elements.map(m),meta:{dot:l.meta.dot,brackets:l.meta.brackets}}),"JsdocTypeGeneric"),JsdocTypeNullable:O(l=>l,"JsdocTypeNullable"),JsdocTypeUnion:O((l,m)=>({type:"JsdocTypeUnion",elements:l.elements.map(m)}),"JsdocTypeUnion"),JsdocTypeUnknown:O(l=>l,"JsdocTypeUnknown"),JsdocTypeUndefined:O(l=>l,"JsdocTypeUndefined"),JsdocTypeTypeof:O((l,m)=>({type:"JsdocTypeTypeof",element:m(l.element)}),"JsdocTypeTypeof"),JsdocTypeSymbol:O((l,m)=>{const b={type:"JsdocTypeSymbol",value:l.value};return l.element!==void 0&&(b.element=m(l.element)),b},"JsdocTypeSymbol"),JsdocTypeOptional:O((l,m)=>({type:"JsdocTypeOptional",element:m(l.element),meta:{position:l.meta.position}}),"JsdocTypeOptional"),JsdocTypeObject:O((l,m)=>({type:"JsdocTypeObject",meta:{separator:"comma"},elements:l.elements.map(m)}),"JsdocTypeObject"),JsdocTypeNumber:O(l=>l,"JsdocTypeNumber"),JsdocTypeNull:O(l=>l,"JsdocTypeNull"),JsdocTypeNotNullable:O((l,m)=>({type:"JsdocTypeNotNullable",element:m(l.element),meta:{position:l.meta.position}}),"JsdocTypeNotNullable"),JsdocTypeSpecialNamePath:O(l=>l,"JsdocTypeSpecialNamePath"),JsdocTypeObjectField:O((l,m)=>({type:"JsdocTypeObjectField",key:l.key,right:l.right===void 0?void 0:m(l.right),optional:l.optional,readonly:l.readonly,meta:l.meta}),"JsdocTypeObjectField"),JsdocTypeJsdocObjectField:O((l,m)=>({type:"JsdocTypeJsdocObjectField",left:m(l.left),right:m(l.right)}),"JsdocTypeJsdocObjectField"),JsdocTypeKeyValue:O((l,m)=>({type:"JsdocTypeKeyValue",key:l.key,right:l.right===void 0?void 0:m(l.right),optional:l.optional,variadic:l.variadic}),"JsdocTypeKeyValue"),JsdocTypeImport:O((l,m)=>({type:"JsdocTypeImport",element:m(l.element)}),"JsdocTypeImport"),JsdocTypeAny:O(l=>l,"JsdocTypeAny"),JsdocTypeStringValue:O(l=>l,"JsdocTypeStringValue"),JsdocTypeNamePath:O(l=>l,"JsdocTypeNamePath"),JsdocTypeVariadic:O((l,m)=>{const b={type:"JsdocTypeVariadic",meta:{position:l.meta.position,squareBrackets:l.meta.squareBrackets}};return l.element!==void 0&&(b.element=m(l.element)),b},"JsdocTypeVariadic"),JsdocTypeTuple:O((l,m)=>({type:"JsdocTypeTuple",elements:l.elements.map(m)}),"JsdocTypeTuple"),JsdocTypeName:O(l=>l,"JsdocTypeName"),JsdocTypeFunction:O((l,m)=>{const b={type:"JsdocTypeFunction",arrow:l.arrow,parameters:l.parameters.map(m),constructor:l.constructor,parenthesis:l.parenthesis};return l.returnType!==void 0&&(b.returnType=m(l.returnType)),b},"JsdocTypeFunction"),JsdocTypeKeyof:O((l,m)=>({type:"JsdocTypeKeyof",element:m(l.element)}),"JsdocTypeKeyof"),JsdocTypeParenthesis:O((l,m)=>({type:"JsdocTypeParenthesis",element:m(l.element)}),"JsdocTypeParenthesis"),JsdocTypeProperty:O(l=>l,"JsdocTypeProperty"),JsdocTypePredicate:O((l,m)=>({type:"JsdocTypePredicate",left:m(l.left),right:m(l.right)}),"JsdocTypePredicate"),JsdocTypeIndexSignature:O((l,m)=>({type:"JsdocTypeIndexSignature",key:l.key,right:m(l.right)}),"JsdocTypeIndexSignature"),JsdocTypeMappedType:O((l,m)=>({type:"JsdocTypeMappedType",key:l.key,right:m(l.right)}),"JsdocTypeMappedType"),JsdocTypeAsserts:O((l,m)=>({type:"JsdocTypeAsserts",left:m(l.left),right:m(l.right)}),"JsdocTypeAsserts"),JsdocTypeReadonlyArray:O((l,m)=>({type:"JsdocTypeReadonlyArray",element:m(l.element)}),"JsdocTypeReadonlyArray"),JsdocTypeAssertsPlain:O((l,m)=>({type:"JsdocTypeAssertsPlain",element:m(l.element)}),"JsdocTypeAssertsPlain"),JsdocTypeConditional:O((l,m)=>({type:"JsdocTypeConditional",checksType:m(l.checksType),extendsType:m(l.extendsType),trueType:m(l.trueType),falseType:m(l.falseType)}),"JsdocTypeConditional"),JsdocTypeTypeParameter:O((l,m)=>({type:"JsdocTypeTypeParameter",name:m(l.name),constraint:l.constraint!==void 0?m(l.constraint):void 0,defaultValue:l.defaultValue!==void 0?m(l.defaultValue):void 0}),"JsdocTypeTypeParameter")}}O(li,"identityTransformRules");const ci={JsdocTypeAny:[],JsdocTypeFunction:["parameters","returnType"],JsdocTypeGeneric:["left","elements"],JsdocTypeImport:[],JsdocTypeIndexSignature:["right"],JsdocTypeIntersection:["elements"],JsdocTypeKeyof:["element"],JsdocTypeKeyValue:["right"],JsdocTypeMappedType:["right"],JsdocTypeName:[],JsdocTypeNamePath:["left","right"],JsdocTypeNotNullable:["element"],JsdocTypeNull:[],JsdocTypeNullable:["element"],JsdocTypeNumber:[],JsdocTypeObject:["elements"],JsdocTypeObjectField:["right"],JsdocTypeJsdocObjectField:["left","right"],JsdocTypeOptional:["element"],JsdocTypeParenthesis:["element"],JsdocTypeSpecialNamePath:[],JsdocTypeStringValue:[],JsdocTypeSymbol:["element"],JsdocTypeTuple:["elements"],JsdocTypeTypeof:["element"],JsdocTypeUndefined:[],JsdocTypeUnion:["elements"],JsdocTypeUnknown:[],JsdocTypeVariadic:["element"],JsdocTypeProperty:[],JsdocTypePredicate:["left","right"],JsdocTypeAsserts:["left","right"],JsdocTypeReadonlyArray:["element"],JsdocTypeAssertsPlain:["element"],JsdocTypeConditional:["checksType","extendsType","trueType","falseType"],JsdocTypeTypeParameter:["name","constraint","defaultValue"]};function pr(l,m,b,x,F){x?.(l,m,b);const G=ci[l.type];for(const Z of G){const ce=l[Z];if(ce!==void 0)if(Array.isArray(ce))for(const _e of ce)pr(_e,l,Z,x,F);else pr(ce,l,Z,x,F)}F?.(l,m,b)}O(pr,"_traverse");function ui(l,m,b){pr(l,void 0,void 0,m,b)}O(ui,"traverse"),r.catharsisTransform=ii,r.identityTransformRules=li,r.jtpTransform=ai,r.parse=ur,r.stringify=oi,r.stringifyRules=sn,r.transform=Y,r.traverse=ui,r.tryParse=on,r.visitorKeys=ci})}});const{UnknownArgTypesError:KK}=__STORYBOOK_MODULE_CORE_EVENTS_PREVIEW_ERRORS__,{UnknownArgTypesError:YK}=__STORYBOOK_MODULE_CORE_EVENTS_PREVIEW_ERRORS__;var q3=["null","undefined"];function Fc(e){return q3.some(t=>t===e)}O(Fc,"isDefaultValueBlacklisted");var j3=O(e=>{if(!e)return"";if(typeof e=="string")return e;throw new Error(`Description: expected string, got: ${JSON.stringify(e)}`)},"str");function ky(e){return!!e.__docgenInfo}O(ky,"hasDocgen");function k3(e){return e!=null&&Object.keys(e).length>0}O(k3,"isValidDocgenSection");function D3(e,t){return ky(e)?e.__docgenInfo[t]:null}O(D3,"getDocgenSection");function oI(e){return ky(e)?j3(e.__docgenInfo.description):""}O(oI,"getDocgenDescription");var Vr;(function(e){e.start="/**",e.nostart="/***",e.delim="*",e.end="*/"})(Vr=Vr||(Vr={}));function iI(e){return/^\s+$/.test(e)}O(iI,"isSpace");function sI(e){const t=e.match(/\r+$/);return t==null?["",e]:[e.slice(-t[0].length),e.slice(0,-t[0].length)]}O(sI,"splitCR");function Tn(e){const t=e.match(/^\s+/);return t==null?["",e]:[e.slice(0,t[0].length),e.slice(t[0].length)]}O(Tn,"splitSpace");function aI(e){return e.split(/\n/)}O(aI,"splitLines");function lI(e={}){return Object.assign({tag:"",name:"",type:"",optional:!1,description:"",problems:[],source:[]},e)}O(lI,"seedSpec");function cI(e={}){return Object.assign({start:"",delimiter:"",postDelimiter:"",tag:"",postTag:"",name:"",postName:"",type:"",postType:"",description:"",end:"",lineEnd:""},e)}O(cI,"seedTokens");var L3=/^@\S+/;function uI({fence:e="```"}={}){const t=dI(e),r=O((n,o)=>t(n)?!o:o,"toggleFence");return O(function(o){const s=[[]];let a=!1;for(const c of o)L3.test(c.tokens.description)&&!a?s.push([c]):s[s.length-1].push(c),a=r(c.tokens.description,a);return s},"parseBlock")}O(uI,"getParser");function dI(e){return typeof e=="string"?t=>t.split(e).length%2===0:e}O(dI,"getFencer");function pI({startLine:e=0,markers:t=Vr}={}){let r=null,n=e;return O(function(s){let a=s;const c=cI();if([c.lineEnd,a]=sI(a),[c.start,a]=Tn(a),r===null&&a.startsWith(t.start)&&!a.startsWith(t.nostart)&&(r=[],c.delimiter=a.slice(0,t.start.length),a=a.slice(t.start.length),[c.postDelimiter,a]=Tn(a)),r===null)return n++,null;const u=a.trimRight().endsWith(t.end);if(c.delimiter===""&&a.startsWith(t.delim)&&!a.startsWith(t.end)&&(c.delimiter=t.delim,a=a.slice(t.delim.length),[c.postDelimiter,a]=Tn(a)),u){const d=a.trimRight();c.end=a.slice(d.length-t.end.length),a=d.slice(0,-t.end.length)}if(c.description=a,r.push({number:n,source:s,tokens:c}),n++,u){const d=r.slice();return r=null,d}return null},"parseSource")}O(pI,"getParser");function fI({tokenizers:e}){return O(function(r){var n;let o=lI({source:r});for(const s of e)if(o=s(o),!((n=o.problems[o.problems.length-1])===null||n===void 0)&&n.critical)break;return o},"parseSpec")}O(fI,"getParser");function mI(){return e=>{const{tokens:t}=e.source[0],r=t.description.match(/\s*(@(\S+))(\s*)/);return r===null?(e.problems.push({code:"spec:tag:prefix",message:'tag should start with "@" symbol',line:e.source[0].number,critical:!0}),e):(t.tag=r[1],t.postTag=r[3],t.description=t.description.slice(r[0].length),e.tag=r[2],e)}}O(mI,"tagTokenizer");function hI(e="compact"){const t=yI(e);return r=>{let n=0,o=[];for(const[c,{tokens:u}]of r.source.entries()){let d="";if(c===0&&u.description[0]!=="{")return r;for(const p of u.description)if(p==="{"&&n++,p==="}"&&n--,d+=p,n===0)break;if(o.push([u,d]),n===0)break}if(n!==0)return r.problems.push({code:"spec:type:unpaired-curlies",message:"unpaired curlies",line:r.source[0].number,critical:!0}),r;const s=[],a=o[0][0].postDelimiter.length;for(const[c,[u,d]]of o.entries())u.type=d,c>0&&(u.type=u.postDelimiter.slice(a)+d,u.postDelimiter=u.postDelimiter.slice(0,a)),[u.postType,u.description]=Tn(u.description.slice(d.length)),s.push(u.type);return s[0]=s[0].slice(1),s[s.length-1]=s[s.length-1].slice(0,-1),r.type=t(s),r}}O(hI,"typeTokenizer");var F3=O(e=>e.trim(),"trim");function yI(e){return e==="compact"?t=>t.map(F3).join(""):e==="preserve"?t=>t.join(`
1012
+ `:"")}}`},"JsdocTypeObject"),JsdocTypeOptional:O((l,m)=>Bt(l.meta.position,m(l.element),"="),"JsdocTypeOptional"),JsdocTypeSymbol:O((l,m)=>`${l.value}(${l.element!==void 0?m(l.element):""})`,"JsdocTypeSymbol"),JsdocTypeTypeof:O((l,m)=>`typeof ${m(l.element)}`,"JsdocTypeTypeof"),JsdocTypeUndefined:O(()=>"undefined","JsdocTypeUndefined"),JsdocTypeUnion:O((l,m)=>l.elements.map(m).join(" | "),"JsdocTypeUnion"),JsdocTypeUnknown:O(()=>"?","JsdocTypeUnknown"),JsdocTypeIntersection:O((l,m)=>l.elements.map(m).join(" & "),"JsdocTypeIntersection"),JsdocTypeProperty:O(l=>Ye(l.value,l.meta.quote),"JsdocTypeProperty"),JsdocTypePredicate:O((l,m)=>`${m(l.left)} is ${m(l.right)}`,"JsdocTypePredicate"),JsdocTypeIndexSignature:O((l,m)=>`[${l.key}: ${m(l.right)}]`,"JsdocTypeIndexSignature"),JsdocTypeMappedType:O((l,m)=>`[${l.key} in ${m(l.right)}]`,"JsdocTypeMappedType"),JsdocTypeAsserts:O((l,m)=>`asserts ${m(l.left)} is ${m(l.right)}`,"JsdocTypeAsserts"),JsdocTypeReadonlyArray:O((l,m)=>`readonly ${m(l.element)}`,"JsdocTypeReadonlyArray"),JsdocTypeAssertsPlain:O((l,m)=>`asserts ${m(l.element)}`,"JsdocTypeAssertsPlain"),JsdocTypeConditional:O((l,m)=>`${m(l.checksType)} extends ${m(l.extendsType)} ? ${m(l.trueType)} : ${m(l.falseType)}`,"JsdocTypeConditional"),JsdocTypeTypeParameter:O((l,m)=>`${m(l.name)}${l.constraint!==void 0?` extends ${m(l.constraint)}`:""}${l.defaultValue!==void 0?` = ${m(l.defaultValue)}`:""}`,"JsdocTypeTypeParameter")}}O(sn,"stringifyRules");const Vc=sn();function oi(l){return Y(Vc,l)}O(oi,"stringify");const Hc=["null","true","false","break","case","catch","class","const","continue","debugger","default","delete","do","else","export","extends","finally","for","function","if","import","in","instanceof","new","return","super","switch","this","throw","try","typeof","var","void","while","with","yield"];function Xe(l){const m={type:"NameExpression",name:l};return Hc.includes(l)&&(m.reservedWord=!0),m}O(Xe,"makeName");const zc={JsdocTypeOptional:O((l,m)=>{const b=m(l.element);return b.optional=!0,b},"JsdocTypeOptional"),JsdocTypeNullable:O((l,m)=>{const b=m(l.element);return b.nullable=!0,b},"JsdocTypeNullable"),JsdocTypeNotNullable:O((l,m)=>{const b=m(l.element);return b.nullable=!1,b},"JsdocTypeNotNullable"),JsdocTypeVariadic:O((l,m)=>{if(l.element===void 0)throw new Error("dots without value are not allowed in catharsis mode");const b=m(l.element);return b.repeatable=!0,b},"JsdocTypeVariadic"),JsdocTypeAny:O(()=>({type:"AllLiteral"}),"JsdocTypeAny"),JsdocTypeNull:O(()=>({type:"NullLiteral"}),"JsdocTypeNull"),JsdocTypeStringValue:O(l=>Xe(Ye(l.value,l.meta.quote)),"JsdocTypeStringValue"),JsdocTypeUndefined:O(()=>({type:"UndefinedLiteral"}),"JsdocTypeUndefined"),JsdocTypeUnknown:O(()=>({type:"UnknownLiteral"}),"JsdocTypeUnknown"),JsdocTypeFunction:O((l,m)=>{const b=It(l),x={type:"FunctionType",params:b.params.map(m)};return b.this!==void 0&&(x.this=m(b.this)),b.new!==void 0&&(x.new=m(b.new)),l.returnType!==void 0&&(x.result=m(l.returnType)),x},"JsdocTypeFunction"),JsdocTypeGeneric:O((l,m)=>({type:"TypeApplication",applications:l.elements.map(b=>m(b)),expression:m(l.left)}),"JsdocTypeGeneric"),JsdocTypeSpecialNamePath:O(l=>Xe(l.specialType+":"+Ye(l.value,l.meta.quote)),"JsdocTypeSpecialNamePath"),JsdocTypeName:O(l=>l.value!=="function"?Xe(l.value):{type:"FunctionType",params:[]},"JsdocTypeName"),JsdocTypeNumber:O(l=>Xe(l.value.toString()),"JsdocTypeNumber"),JsdocTypeObject:O((l,m)=>{const b={type:"RecordType",fields:[]};for(const x of l.elements)x.type!=="JsdocTypeObjectField"&&x.type!=="JsdocTypeJsdocObjectField"?b.fields.push({type:"FieldType",key:m(x),value:void 0}):b.fields.push(m(x));return b},"JsdocTypeObject"),JsdocTypeObjectField:O((l,m)=>{if(typeof l.key!="string")throw new Error("Index signatures and mapped types are not supported");return{type:"FieldType",key:Xe(Ye(l.key,l.meta.quote)),value:l.right===void 0?void 0:m(l.right)}},"JsdocTypeObjectField"),JsdocTypeJsdocObjectField:O((l,m)=>({type:"FieldType",key:m(l.left),value:m(l.right)}),"JsdocTypeJsdocObjectField"),JsdocTypeUnion:O((l,m)=>({type:"TypeUnion",elements:l.elements.map(b=>m(b))}),"JsdocTypeUnion"),JsdocTypeKeyValue:O((l,m)=>({type:"FieldType",key:Xe(l.key),value:l.right===void 0?void 0:m(l.right)}),"JsdocTypeKeyValue"),JsdocTypeNamePath:O((l,m)=>{const b=m(l.left);let x;l.right.type==="JsdocTypeSpecialNamePath"?x=m(l.right).name:x=Ye(l.right.value,l.right.meta.quote);const F=l.pathType==="inner"?"~":l.pathType==="instance"?"#":".";return Xe(`${b.name}${F}${x}`)},"JsdocTypeNamePath"),JsdocTypeSymbol:O(l=>{let m="",b=l.element,x=!1;return b?.type==="JsdocTypeVariadic"&&(b.meta.position==="prefix"?m="...":x=!0,b=b.element),b?.type==="JsdocTypeName"?m+=b.value:b?.type==="JsdocTypeNumber"&&(m+=b.value.toString()),x&&(m+="..."),Xe(`${l.value}(${m})`)},"JsdocTypeSymbol"),JsdocTypeParenthesis:O((l,m)=>m(k(l.element)),"JsdocTypeParenthesis"),JsdocTypeMappedType:le,JsdocTypeIndexSignature:le,JsdocTypeImport:le,JsdocTypeKeyof:le,JsdocTypeTuple:le,JsdocTypeTypeof:le,JsdocTypeIntersection:le,JsdocTypeProperty:le,JsdocTypePredicate:le,JsdocTypeAsserts:le,JsdocTypeReadonlyArray:le,JsdocTypeAssertsPlain:le,JsdocTypeConditional:le,JsdocTypeTypeParameter:le};function ii(l){return Y(zc,l)}O(ii,"catharsisTransform");function at(l){switch(l){case void 0:return"none";case"single":return"single";case"double":return"double"}}O(at,"getQuoteStyle");function si(l){switch(l){case"inner":return"INNER_MEMBER";case"instance":return"INSTANCE_MEMBER";case"property":return"MEMBER";case"property-brackets":return"MEMBER"}}O(si,"getMemberType");function dr(l,m){return m.length===2?{type:l,left:m[0],right:m[1]}:{type:l,left:m[0],right:dr(l,m.slice(1))}}O(dr,"nestResults");const Gc={JsdocTypeOptional:O((l,m)=>({type:"OPTIONAL",value:m(l.element),meta:{syntax:l.meta.position==="prefix"?"PREFIX_EQUAL_SIGN":"SUFFIX_EQUALS_SIGN"}}),"JsdocTypeOptional"),JsdocTypeNullable:O((l,m)=>({type:"NULLABLE",value:m(l.element),meta:{syntax:l.meta.position==="prefix"?"PREFIX_QUESTION_MARK":"SUFFIX_QUESTION_MARK"}}),"JsdocTypeNullable"),JsdocTypeNotNullable:O((l,m)=>({type:"NOT_NULLABLE",value:m(l.element),meta:{syntax:l.meta.position==="prefix"?"PREFIX_BANG":"SUFFIX_BANG"}}),"JsdocTypeNotNullable"),JsdocTypeVariadic:O((l,m)=>{const b={type:"VARIADIC",meta:{syntax:l.meta.position==="prefix"?"PREFIX_DOTS":l.meta.position==="suffix"?"SUFFIX_DOTS":"ONLY_DOTS"}};return l.element!==void 0&&(b.value=m(l.element)),b},"JsdocTypeVariadic"),JsdocTypeName:O(l=>({type:"NAME",name:l.value}),"JsdocTypeName"),JsdocTypeTypeof:O((l,m)=>({type:"TYPE_QUERY",name:m(l.element)}),"JsdocTypeTypeof"),JsdocTypeTuple:O((l,m)=>({type:"TUPLE",entries:l.elements.map(m)}),"JsdocTypeTuple"),JsdocTypeKeyof:O((l,m)=>({type:"KEY_QUERY",value:m(l.element)}),"JsdocTypeKeyof"),JsdocTypeImport:O(l=>({type:"IMPORT",path:{type:"STRING_VALUE",quoteStyle:at(l.element.meta.quote),string:l.element.value}}),"JsdocTypeImport"),JsdocTypeUndefined:O(()=>({type:"NAME",name:"undefined"}),"JsdocTypeUndefined"),JsdocTypeAny:O(()=>({type:"ANY"}),"JsdocTypeAny"),JsdocTypeFunction:O((l,m)=>{const b=It(l),x={type:l.arrow?"ARROW":"FUNCTION",params:b.params.map(F=>{if(F.type==="JsdocTypeKeyValue"){if(F.right===void 0)throw new Error("Function parameter without ':' is not expected to be 'KEY_VALUE'");return{type:"NAMED_PARAMETER",name:F.key,typeName:m(F.right)}}else return m(F)}),new:null,returns:null};return b.this!==void 0?x.this=m(b.this):l.arrow||(x.this=null),b.new!==void 0&&(x.new=m(b.new)),l.returnType!==void 0&&(x.returns=m(l.returnType)),x},"JsdocTypeFunction"),JsdocTypeGeneric:O((l,m)=>{const b={type:"GENERIC",subject:m(l.left),objects:l.elements.map(m),meta:{syntax:l.meta.brackets==="square"?"SQUARE_BRACKET":l.meta.dot?"ANGLE_BRACKET_WITH_DOT":"ANGLE_BRACKET"}};return l.meta.brackets==="square"&&l.elements[0].type==="JsdocTypeFunction"&&!l.elements[0].parenthesis&&(b.objects[0]={type:"NAME",name:"function"}),b},"JsdocTypeGeneric"),JsdocTypeObjectField:O((l,m)=>{if(typeof l.key!="string")throw new Error("Index signatures and mapped types are not supported");if(l.right===void 0)return{type:"RECORD_ENTRY",key:l.key,quoteStyle:at(l.meta.quote),value:null,readonly:!1};let b=m(l.right);return l.optional&&(b={type:"OPTIONAL",value:b,meta:{syntax:"SUFFIX_KEY_QUESTION_MARK"}}),{type:"RECORD_ENTRY",key:l.key.toString(),quoteStyle:at(l.meta.quote),value:b,readonly:!1}},"JsdocTypeObjectField"),JsdocTypeJsdocObjectField:O(()=>{throw new Error("Keys may not be typed in jsdoctypeparser.")},"JsdocTypeJsdocObjectField"),JsdocTypeKeyValue:O((l,m)=>{if(l.right===void 0)return{type:"RECORD_ENTRY",key:l.key,quoteStyle:"none",value:null,readonly:!1};let b=m(l.right);return l.optional&&(b={type:"OPTIONAL",value:b,meta:{syntax:"SUFFIX_KEY_QUESTION_MARK"}}),{type:"RECORD_ENTRY",key:l.key,quoteStyle:"none",value:b,readonly:!1}},"JsdocTypeKeyValue"),JsdocTypeObject:O((l,m)=>{const b=[];for(const x of l.elements)(x.type==="JsdocTypeObjectField"||x.type==="JsdocTypeJsdocObjectField")&&b.push(m(x));return{type:"RECORD",entries:b}},"JsdocTypeObject"),JsdocTypeSpecialNamePath:O(l=>{if(l.specialType!=="module")throw new Error(`jsdoctypeparser does not support type ${l.specialType} at this point.`);return{type:"MODULE",value:{type:"FILE_PATH",quoteStyle:at(l.meta.quote),path:l.value}}},"JsdocTypeSpecialNamePath"),JsdocTypeNamePath:O((l,m)=>{let b=!1,x,F;l.right.type==="JsdocTypeSpecialNamePath"&&l.right.specialType==="event"?(b=!0,x=l.right.value,F=at(l.right.meta.quote)):(x=l.right.value,F=at(l.right.meta.quote));const G={type:si(l.pathType),owner:m(l.left),name:x,quoteStyle:F,hasEventPrefix:b};if(G.owner.type==="MODULE"){const Z=G.owner;return G.owner=G.owner.value,Z.value=G,Z}else return G},"JsdocTypeNamePath"),JsdocTypeUnion:O((l,m)=>dr("UNION",l.elements.map(m)),"JsdocTypeUnion"),JsdocTypeParenthesis:O((l,m)=>({type:"PARENTHESIS",value:m(k(l.element))}),"JsdocTypeParenthesis"),JsdocTypeNull:O(()=>({type:"NAME",name:"null"}),"JsdocTypeNull"),JsdocTypeUnknown:O(()=>({type:"UNKNOWN"}),"JsdocTypeUnknown"),JsdocTypeStringValue:O(l=>({type:"STRING_VALUE",quoteStyle:at(l.meta.quote),string:l.value}),"JsdocTypeStringValue"),JsdocTypeIntersection:O((l,m)=>dr("INTERSECTION",l.elements.map(m)),"JsdocTypeIntersection"),JsdocTypeNumber:O(l=>({type:"NUMBER_VALUE",number:l.value.toString()}),"JsdocTypeNumber"),JsdocTypeSymbol:le,JsdocTypeProperty:le,JsdocTypePredicate:le,JsdocTypeMappedType:le,JsdocTypeIndexSignature:le,JsdocTypeAsserts:le,JsdocTypeReadonlyArray:le,JsdocTypeAssertsPlain:le,JsdocTypeConditional:le,JsdocTypeTypeParameter:le};function ai(l){return Y(Gc,l)}O(ai,"jtpTransform");function li(){return{JsdocTypeIntersection:O((l,m)=>({type:"JsdocTypeIntersection",elements:l.elements.map(m)}),"JsdocTypeIntersection"),JsdocTypeGeneric:O((l,m)=>({type:"JsdocTypeGeneric",left:m(l.left),elements:l.elements.map(m),meta:{dot:l.meta.dot,brackets:l.meta.brackets}}),"JsdocTypeGeneric"),JsdocTypeNullable:O(l=>l,"JsdocTypeNullable"),JsdocTypeUnion:O((l,m)=>({type:"JsdocTypeUnion",elements:l.elements.map(m)}),"JsdocTypeUnion"),JsdocTypeUnknown:O(l=>l,"JsdocTypeUnknown"),JsdocTypeUndefined:O(l=>l,"JsdocTypeUndefined"),JsdocTypeTypeof:O((l,m)=>({type:"JsdocTypeTypeof",element:m(l.element)}),"JsdocTypeTypeof"),JsdocTypeSymbol:O((l,m)=>{const b={type:"JsdocTypeSymbol",value:l.value};return l.element!==void 0&&(b.element=m(l.element)),b},"JsdocTypeSymbol"),JsdocTypeOptional:O((l,m)=>({type:"JsdocTypeOptional",element:m(l.element),meta:{position:l.meta.position}}),"JsdocTypeOptional"),JsdocTypeObject:O((l,m)=>({type:"JsdocTypeObject",meta:{separator:"comma"},elements:l.elements.map(m)}),"JsdocTypeObject"),JsdocTypeNumber:O(l=>l,"JsdocTypeNumber"),JsdocTypeNull:O(l=>l,"JsdocTypeNull"),JsdocTypeNotNullable:O((l,m)=>({type:"JsdocTypeNotNullable",element:m(l.element),meta:{position:l.meta.position}}),"JsdocTypeNotNullable"),JsdocTypeSpecialNamePath:O(l=>l,"JsdocTypeSpecialNamePath"),JsdocTypeObjectField:O((l,m)=>({type:"JsdocTypeObjectField",key:l.key,right:l.right===void 0?void 0:m(l.right),optional:l.optional,readonly:l.readonly,meta:l.meta}),"JsdocTypeObjectField"),JsdocTypeJsdocObjectField:O((l,m)=>({type:"JsdocTypeJsdocObjectField",left:m(l.left),right:m(l.right)}),"JsdocTypeJsdocObjectField"),JsdocTypeKeyValue:O((l,m)=>({type:"JsdocTypeKeyValue",key:l.key,right:l.right===void 0?void 0:m(l.right),optional:l.optional,variadic:l.variadic}),"JsdocTypeKeyValue"),JsdocTypeImport:O((l,m)=>({type:"JsdocTypeImport",element:m(l.element)}),"JsdocTypeImport"),JsdocTypeAny:O(l=>l,"JsdocTypeAny"),JsdocTypeStringValue:O(l=>l,"JsdocTypeStringValue"),JsdocTypeNamePath:O(l=>l,"JsdocTypeNamePath"),JsdocTypeVariadic:O((l,m)=>{const b={type:"JsdocTypeVariadic",meta:{position:l.meta.position,squareBrackets:l.meta.squareBrackets}};return l.element!==void 0&&(b.element=m(l.element)),b},"JsdocTypeVariadic"),JsdocTypeTuple:O((l,m)=>({type:"JsdocTypeTuple",elements:l.elements.map(m)}),"JsdocTypeTuple"),JsdocTypeName:O(l=>l,"JsdocTypeName"),JsdocTypeFunction:O((l,m)=>{const b={type:"JsdocTypeFunction",arrow:l.arrow,parameters:l.parameters.map(m),constructor:l.constructor,parenthesis:l.parenthesis};return l.returnType!==void 0&&(b.returnType=m(l.returnType)),b},"JsdocTypeFunction"),JsdocTypeKeyof:O((l,m)=>({type:"JsdocTypeKeyof",element:m(l.element)}),"JsdocTypeKeyof"),JsdocTypeParenthesis:O((l,m)=>({type:"JsdocTypeParenthesis",element:m(l.element)}),"JsdocTypeParenthesis"),JsdocTypeProperty:O(l=>l,"JsdocTypeProperty"),JsdocTypePredicate:O((l,m)=>({type:"JsdocTypePredicate",left:m(l.left),right:m(l.right)}),"JsdocTypePredicate"),JsdocTypeIndexSignature:O((l,m)=>({type:"JsdocTypeIndexSignature",key:l.key,right:m(l.right)}),"JsdocTypeIndexSignature"),JsdocTypeMappedType:O((l,m)=>({type:"JsdocTypeMappedType",key:l.key,right:m(l.right)}),"JsdocTypeMappedType"),JsdocTypeAsserts:O((l,m)=>({type:"JsdocTypeAsserts",left:m(l.left),right:m(l.right)}),"JsdocTypeAsserts"),JsdocTypeReadonlyArray:O((l,m)=>({type:"JsdocTypeReadonlyArray",element:m(l.element)}),"JsdocTypeReadonlyArray"),JsdocTypeAssertsPlain:O((l,m)=>({type:"JsdocTypeAssertsPlain",element:m(l.element)}),"JsdocTypeAssertsPlain"),JsdocTypeConditional:O((l,m)=>({type:"JsdocTypeConditional",checksType:m(l.checksType),extendsType:m(l.extendsType),trueType:m(l.trueType),falseType:m(l.falseType)}),"JsdocTypeConditional"),JsdocTypeTypeParameter:O((l,m)=>({type:"JsdocTypeTypeParameter",name:m(l.name),constraint:l.constraint!==void 0?m(l.constraint):void 0,defaultValue:l.defaultValue!==void 0?m(l.defaultValue):void 0}),"JsdocTypeTypeParameter")}}O(li,"identityTransformRules");const ci={JsdocTypeAny:[],JsdocTypeFunction:["parameters","returnType"],JsdocTypeGeneric:["left","elements"],JsdocTypeImport:[],JsdocTypeIndexSignature:["right"],JsdocTypeIntersection:["elements"],JsdocTypeKeyof:["element"],JsdocTypeKeyValue:["right"],JsdocTypeMappedType:["right"],JsdocTypeName:[],JsdocTypeNamePath:["left","right"],JsdocTypeNotNullable:["element"],JsdocTypeNull:[],JsdocTypeNullable:["element"],JsdocTypeNumber:[],JsdocTypeObject:["elements"],JsdocTypeObjectField:["right"],JsdocTypeJsdocObjectField:["left","right"],JsdocTypeOptional:["element"],JsdocTypeParenthesis:["element"],JsdocTypeSpecialNamePath:[],JsdocTypeStringValue:[],JsdocTypeSymbol:["element"],JsdocTypeTuple:["elements"],JsdocTypeTypeof:["element"],JsdocTypeUndefined:[],JsdocTypeUnion:["elements"],JsdocTypeUnknown:[],JsdocTypeVariadic:["element"],JsdocTypeProperty:[],JsdocTypePredicate:["left","right"],JsdocTypeAsserts:["left","right"],JsdocTypeReadonlyArray:["element"],JsdocTypeAssertsPlain:["element"],JsdocTypeConditional:["checksType","extendsType","trueType","falseType"],JsdocTypeTypeParameter:["name","constraint","defaultValue"]};function pr(l,m,b,x,F){x?.(l,m,b);const G=ci[l.type];for(const Z of G){const ce=l[Z];if(ce!==void 0)if(Array.isArray(ce))for(const _e of ce)pr(_e,l,Z,x,F);else pr(ce,l,Z,x,F)}F?.(l,m,b)}O(pr,"_traverse");function ui(l,m,b){pr(l,void 0,void 0,m,b)}O(ui,"traverse"),r.catharsisTransform=ii,r.identityTransformRules=li,r.jtpTransform=ai,r.parse=ur,r.stringify=oi,r.stringifyRules=sn,r.transform=Y,r.traverse=ui,r.tryParse=on,r.visitorKeys=ci})}});const{UnknownArgTypesError:KK}=__STORYBOOK_MODULE_CORE_EVENTS_PREVIEW_ERRORS__,{UnknownArgTypesError:YK}=__STORYBOOK_MODULE_CORE_EVENTS_PREVIEW_ERRORS__;var q3=["null","undefined"];function Fc(e){return q3.some(t=>t===e)}O(Fc,"isDefaultValueBlacklisted");var j3=O(e=>{if(!e)return"";if(typeof e=="string")return e;throw new Error(`Description: expected string, got: ${JSON.stringify(e)}`)},"str");function ky(e){return!!e.__docgenInfo}O(ky,"hasDocgen");function k3(e){return e!=null&&Object.keys(e).length>0}O(k3,"isValidDocgenSection");function D3(e,t){return ky(e)?e.__docgenInfo[t]:null}O(D3,"getDocgenSection");function oI(e){return ky(e)?j3(e.__docgenInfo.description):""}O(oI,"getDocgenDescription");var Vr;(function(e){e.start="/**",e.nostart="/***",e.delim="*",e.end="*/"})(Vr=Vr||(Vr={}));function iI(e){return/^\s+$/.test(e)}O(iI,"isSpace");function sI(e){const t=e.match(/\r+$/);return t==null?["",e]:[e.slice(-t[0].length),e.slice(0,-t[0].length)]}O(sI,"splitCR");function Tn(e){const t=e.match(/^\s+/);return t==null?["",e]:[e.slice(0,t[0].length),e.slice(t[0].length)]}O(Tn,"splitSpace");function aI(e){return e.split(/\n/)}O(aI,"splitLines");function lI(e={}){return Object.assign({tag:"",name:"",type:"",optional:!1,description:"",problems:[],source:[]},e)}O(lI,"seedSpec");function cI(e={}){return Object.assign({start:"",delimiter:"",postDelimiter:"",tag:"",postTag:"",name:"",postName:"",type:"",postType:"",description:"",end:"",lineEnd:""},e)}O(cI,"seedTokens");var L3=/^@\S+/;function uI({fence:e="```"}={}){const t=dI(e),r=O((n,o)=>t(n)?!o:o,"toggleFence");return O(function(o){const s=[[]];let a=!1;for(const c of o)L3.test(c.tokens.description)&&!a?s.push([c]):s[s.length-1].push(c),a=r(c.tokens.description,a);return s},"parseBlock")}O(uI,"getParser");function dI(e){return typeof e=="string"?t=>t.split(e).length%2===0:e}O(dI,"getFencer");function pI({startLine:e=0,markers:t=Vr}={}){let r=null,n=e;return O(function(s){let a=s;const c=cI();if([c.lineEnd,a]=sI(a),[c.start,a]=Tn(a),r===null&&a.startsWith(t.start)&&!a.startsWith(t.nostart)&&(r=[],c.delimiter=a.slice(0,t.start.length),a=a.slice(t.start.length),[c.postDelimiter,a]=Tn(a)),r===null)return n++,null;const u=a.trimRight().endsWith(t.end);if(c.delimiter===""&&a.startsWith(t.delim)&&!a.startsWith(t.end)&&(c.delimiter=t.delim,a=a.slice(t.delim.length),[c.postDelimiter,a]=Tn(a)),u){const d=a.trimRight();c.end=a.slice(d.length-t.end.length),a=d.slice(0,-t.end.length)}if(c.description=a,r.push({number:n,source:s,tokens:c}),n++,u){const d=r.slice();return r=null,d}return null},"parseSource")}O(pI,"getParser");function fI({tokenizers:e}){return O(function(r){var n;let o=lI({source:r});for(const s of e)if(o=s(o),!((n=o.problems[o.problems.length-1])===null||n===void 0)&&n.critical)break;return o},"parseSpec")}O(fI,"getParser");function mI(){return e=>{const{tokens:t}=e.source[0],r=t.description.match(/\s*(@(\S+))(\s*)/);return r===null?(e.problems.push({code:"spec:tag:prefix",message:'tag should start with "@" symbol',line:e.source[0].number,critical:!0}),e):(t.tag=r[1],t.postTag=r[3],t.description=t.description.slice(r[0].length),e.tag=r[2],e)}}O(mI,"tagTokenizer");function hI(e="compact"){const t=yI(e);return r=>{let n=0,o=[];for(const[c,{tokens:u}]of r.source.entries()){let d="";if(c===0&&u.description[0]!=="{")return r;for(const p of u.description)if(p==="{"&&n++,p==="}"&&n--,d+=p,n===0)break;if(o.push([u,d]),n===0)break}if(n!==0)return r.problems.push({code:"spec:type:unpaired-curlies",message:"unpaired curlies",line:r.source[0].number,critical:!0}),r;const s=[],a=o[0][0].postDelimiter.length;for(const[c,[u,d]]of o.entries())u.type=d,c>0&&(u.type=u.postDelimiter.slice(a)+d,u.postDelimiter=u.postDelimiter.slice(0,a)),[u.postType,u.description]=Tn(u.description.slice(d.length)),s.push(u.type);return s[0]=s[0].slice(1),s[s.length-1]=s[s.length-1].slice(0,-1),r.type=t(s),r}}O(hI,"typeTokenizer");var F3=O(e=>e.trim(),"trim");function yI(e){return e==="compact"?t=>t.map(F3).join(""):e==="preserve"?t=>t.join(`
1013
1013
  `):e}O(yI,"getJoiner");var $3=O(e=>e&&e.startsWith('"')&&e.endsWith('"'),"isQuoted");function gI(){const e=O((t,{tokens:r},n)=>r.type===""?t:n,"typeEnd");return t=>{const{tokens:r}=t.source[t.source.reduce(e,0)],n=r.description.trimLeft(),o=n.split('"');if(o.length>1&&o[0]===""&&o.length%2===1)return t.name=o[1],r.name=`"${o[1]}"`,[r.postName,r.description]=Tn(n.slice(r.name.length)),t;let s=0,a="",c=!1,u;for(const p of n){if(s===0&&iI(p))break;p==="["&&s++,p==="]"&&s--,a+=p}if(s!==0)return t.problems.push({code:"spec:name:unpaired-brackets",message:"unpaired brackets",line:t.source[0].number,critical:!0}),t;const d=a;if(a[0]==="["&&a[a.length-1]==="]"){c=!0,a=a.slice(1,-1);const p=a.split("=");if(a=p[0].trim(),p[1]!==void 0&&(u=p.slice(1).join("=").trim()),a==="")return t.problems.push({code:"spec:name:empty-name",message:"empty name",line:t.source[0].number,critical:!0}),t;if(u==="")return t.problems.push({code:"spec:name:empty-default",message:"empty default value",line:t.source[0].number,critical:!0}),t;if(!$3(u)&&/=(?!>)/.test(u))return t.problems.push({code:"spec:name:invalid-default",message:"invalid default value syntax",line:t.source[0].number,critical:!0}),t}return t.optional=c,t.name=a,r.name=d,u!==void 0&&(t.default=u),[r.postName,r.description]=Tn(n.slice(r.name.length)),t}}O(gI,"nameTokenizer");function bI(e="compact",t=Vr){const r=Dy(e);return n=>(n.description=r(n.source,t),n)}O(bI,"descriptionTokenizer");function Dy(e){return e==="compact"?vI:e==="preserve"?EI:e}O(Dy,"getJoiner");function vI(e,t=Vr){return e.map(({tokens:{description:r}})=>r.trim()).filter(r=>r!=="").join(" ")}O(vI,"compactJoiner");var B3=O((e,{tokens:t},r)=>t.type===""?e:r,"lineNo"),J3=O(({tokens:e})=>(e.delimiter===""?e.start:e.postDelimiter.slice(1))+e.description,"getDescription");function EI(e,t=Vr){if(e.length===0)return"";e[0].tokens.description===""&&e[0].tokens.delimiter===t.start&&(e=e.slice(1));const r=e[e.length-1];return r!==void 0&&r.tokens.description===""&&r.tokens.end.endsWith(t.end)&&(e=e.slice(0,-1)),e=e.slice(e.reduce(B3,0)),e.map(J3).join(`
1014
1014
  `)}O(EI,"preserveJoiner");function TI({startLine:e=0,fence:t="```",spacing:r="compact",markers:n=Vr,tokenizers:o=[mI(),hI(r),gI(),bI(r)]}={}){if(e<0||e%1>0)throw new Error("Invalid startLine");const s=pI({startLine:e,markers:n}),a=uI({fence:t}),c=fI({tokenizers:o}),u=Dy(r);return function(d){const p=[];for(const f of aI(d)){const h=s(f);if(h===null)continue;const y=a(h),g=y.slice(1).map(c);p.push({description:u(y[0],n),tags:g,source:h,problems:g.reduce((E,T)=>E.concat(T.problems),[])})}return p}}O(TI,"getParser");function wI(e){return e.start+e.delimiter+e.postDelimiter+e.tag+e.postTag+e.type+e.postType+e.name+e.postName+e.description+e.end+e.lineEnd}O(wI,"join");function U3(){return e=>e.source.map(({tokens:t})=>wI(t)).join(`
1015
1015
  `)}O(U3,"getStringifier");function _I(e,t={}){return TI(t)(e)}O(_I,"parse");var Ly=O3(M3(),1);function SI(e){return e!=null&&e.includes("@")}O(SI,"containsJsDoc");function PI(e){const n=`/**
1016
1016
  `+(e??"").split(`
1017
1017
  `).map(s=>` * ${s}`).join(`
1018
1018
  `)+`
1019
- */`,o=_I(n,{spacing:"preserve"});if(!o||o.length===0)throw new Error("Cannot parse JSDoc tags.");return o[0]}O(PI,"parse");var V3={tags:["param","arg","argument","returns","ignore","deprecated"]},H3=O((e,t=V3)=>{if(!SI(e))return{includesJsDoc:!1,ignore:!1};const r=PI(e),n=AI(r,t.tags);return n.ignore?{includesJsDoc:!0,ignore:!0}:{includesJsDoc:!0,ignore:!1,description:r.description.trim(),extractedTags:n}},"parseJsDoc");function AI(e,t){const r={params:null,deprecated:null,returns:null,ignore:!1};for(const n of e.tags)if(!(t!==void 0&&!t.includes(n.tag)))if(n.tag==="ignore"){r.ignore=!0;break}else switch(n.tag){case"param":case"arg":case"argument":{const o=OI(n);o!=null&&(r.params==null&&(r.params=[]),r.params.push(o));break}case"deprecated":{const o=CI(n);o!=null&&(r.deprecated=o);break}case"returns":{const o=xI(n);o!=null&&(r.returns=o);break}}return r}O(AI,"extractJsDocTags");function RI(e){return e.replace(/[\.-]$/,"")}O(RI,"normaliseParamName");function OI(e){if(!e.name||e.name==="-")return null;const t=By(e.type);return{name:e.name,type:t,description:$y(e.description),getPrettyName:O(()=>RI(e.name),"getPrettyName"),getTypeName:O(()=>t?Jy(t):null,"getTypeName")}}O(OI,"extractParam");function CI(e){return e.name?Fy(e.name,e.description):null}O(CI,"extractDeprecated");function Fy(e,t){const r=e===""?t:`${e} ${t}`;return $y(r)}O(Fy,"joinNameAndDescription");function $y(e){const t=e.replace(/^- /g,"").trim();return t===""?null:t}O($y,"normaliseDescription");function xI(e){const t=By(e.type);return t?{type:t,description:Fy(e.name,e.description),getTypeName:O(()=>Jy(t),"getTypeName")}:null}O(xI,"extractReturns");var en=(0,Ly.stringifyRules)(),z3=en.JsdocTypeObject;en.JsdocTypeAny=()=>"any";en.JsdocTypeObject=(e,t)=>`(${z3(e,t)})`;en.JsdocTypeOptional=(e,t)=>t(e.element);en.JsdocTypeNullable=(e,t)=>t(e.element);en.JsdocTypeNotNullable=(e,t)=>t(e.element);en.JsdocTypeUnion=(e,t)=>e.elements.map(t).join("|");function By(e){try{return(0,Ly.parse)(e,"typescript")}catch{return null}}O(By,"extractType");function Jy(e){return(0,Ly.transform)(en,e)}O(Jy,"extractTypeName");var G3=90,W3=50;function Uy(e){return e.length>G3}O(Uy,"isTooLongForTypeSummary");function NI(e){return e.length>W3}O(NI,"isTooLongForDefaultValueSummary");function nt(e,t){return e===t?{summary:e}:{summary:e,detail:t}}O(nt,"createSummaryValue");function K3(e,t){if(e!=null){const{value:r}=e;if(!Fc(r))return NI(r)?nt(t?.name,r):nt(r)}return null}O(K3,"createDefaultValue");function Vy({name:e,value:t,elements:r,raw:n}){return t??(r!=null?r.map(Vy).join(" | "):n??e)}O(Vy,"generateUnionElement");function II({name:e,raw:t,elements:r}){return r!=null?nt(r.map(Vy).join(" | ")):t!=null?nt(t.replace(/^\|\s*/,"")):nt(e)}O(II,"generateUnion");function MI({type:e,raw:t}){return t!=null?nt(t):nt(e)}O(MI,"generateFuncSignature");function qI({type:e,raw:t}){return t!=null?Uy(t)?nt(e,t):nt(t):nt(e)}O(qI,"generateObjectSignature");function jI(e){const{type:t}=e;return t==="object"?qI(e):MI(e)}O(jI,"generateSignature");function kI({name:e,raw:t}){return t!=null?Uy(t)?nt(e,t):nt(t):nt(e)}O(kI,"generateDefault");function Y3(e){if(e==null)return null;switch(e.name){case"union":return II(e);case"signature":return jI(e);default:return kI(e)}}O(Y3,"createType");function X3({defaultValue:e}){if(e!=null){const{value:t}=e;if(!Fc(t))return nt(t)}return null}O(X3,"createDefaultValue");function Q3({tsType:e,required:t}){if(e==null)return null;let r=e.name;return t||(r=r.replace(" | undefined","")),nt(["Array","Record","signature"].includes(e.name)?e.raw:r)}O(Q3,"createType");function DI(e){return e!=null?nt(e.name):null}O(DI,"createType");function LI(e){const{computed:t,func:r}=e;return typeof t>"u"&&typeof r>"u"}O(LI,"isReactDocgenTypescript");function FI(e){return e?e.name==="string"?!0:e.name==="enum"?Array.isArray(e.value)&&e.value.every(({value:t})=>typeof t=="string"&&t[0]==='"'&&t[t.length-1]==='"'):!1:!1}O(FI,"isStringValued");function $I(e,t){if(e!=null){const{value:r}=e;if(!Fc(r))return LI(e)&&FI(t)?nt(JSON.stringify(r)):nt(r)}return null}O($I,"createDefaultValue");function Z3(e,t,r){const{description:n,required:o,defaultValue:s}=r;return{name:e,type:DI(t),required:o,description:n,defaultValue:$I(s,t)}}O(Z3,"createBasicPropDef");function ez(e,t){if(t?.includesJsDoc){const{description:r,extractedTags:n}=t;r!=null&&(e.description=t.description);const o={...n,params:n?.params?.map(s=>({name:s.getPrettyName(),description:s.description}))};Object.values(o).filter(Boolean).length>0&&(e.jsDocTags=o)}return e}O(ez,"applyJsDocResult");function tz(e,t,r,n){const o=H3(t.description);return o.includesJsDoc&&o.ignore?null:{propDef:n(e,t,o),jsDocTags:o.extractedTags,docgenInfo:t,typeSystem:r}}O(tz,"extractProp");function rz(e){return e!=null?oI(e):""}O(rz,"extractComponentDescription");var nz=O((...e)=>{const t={},r=e.filter(Boolean),n=r.reduce((o,s)=>(Object.entries(s).forEach(([a,c])=>{const u=o[a];Array.isArray(c)||typeof u>"u"?o[a]=c:la(c)&&la(u)?t[a]=!0:typeof c<"u"&&(o[a]=c)}),o),{});return Object.keys(t).forEach(o=>{const s=r.filter(Boolean).map(a=>a[o]).filter(a=>typeof a<"u");s.every(a=>la(a))?n[o]=nz(...s):n[o]=s[s.length-1]}),n},"combineParameters"),oz="storybook/docs",XK=`${oz}/snippet-rendered`,sl=(e=>(e.AUTO="auto",e.CODE="code",e.DYNAMIC="dynamic",e))(sl||{});const iz={"./src/stories/Avatar.stories.ts":()=>bt(()=>import("./Avatar.stories-BlxrclP0.js"),__vite__mapDeps([0,1]),import.meta.url),"./src/stories/AvatarGroup.stories.ts":()=>bt(()=>import("./AvatarGroup.stories-E3VUvBae.js"),__vite__mapDeps([2,1]),import.meta.url),"./src/stories/Badge.stories.ts":()=>bt(()=>import("./Badge.stories-f4YvPz0W.js"),__vite__mapDeps([3,1]),import.meta.url),"./src/stories/Button.stories.ts":()=>bt(()=>import("./Button.stories-N66xrq4q.js"),__vite__mapDeps([4,1]),import.meta.url),"./src/stories/CircularProgress.stories.ts":()=>bt(()=>import("./CircularProgress.stories-zWyELtfc.js"),__vite__mapDeps([5,1]),import.meta.url),"./src/stories/Colors.stories.ts":()=>bt(()=>import("./Colors.stories-nEoNeHhf.js"),__vite__mapDeps([6,1]),import.meta.url),"./src/stories/Events.stories.ts":()=>bt(()=>import("./Events.stories-BP3ensxX.js"),__vite__mapDeps([7,1]),import.meta.url),"./src/stories/Heading.stories.ts":()=>bt(()=>import("./Heading.stories-DGqWaBpi.js"),__vite__mapDeps([8,1]),import.meta.url),"./src/stories/Icon.stories.ts":()=>bt(()=>import("./Icon.stories-BWWjh4NZ.js"),__vite__mapDeps([9,1]),import.meta.url),"./src/stories/LinearProgress.stories.ts":()=>bt(()=>import("./LinearProgress.stories-DMVolkoE.js"),__vite__mapDeps([10,1]),import.meta.url),"./src/stories/ReadyMixin.stories.ts":()=>bt(()=>import("./ReadyMixin.stories-DavcxbQ0.js"),[],import.meta.url),"./src/stories/ScrollShadow.stories.ts":()=>bt(()=>import("./ScrollShadow.stories-BmwSRNje.js"),__vite__mapDeps([11,1]),import.meta.url),"./src/stories/Throttle.stories.ts":()=>bt(()=>import("./Throttle.stories-DBj-9rhV.js"),__vite__mapDeps([12,1]),import.meta.url)};async function sz(e){return await iz[e]()}var BI=Object.defineProperty,Yt=(e,t)=>BI(e,"name",{value:t,configurable:!0}),az=(e,t)=>{for(var r in t)BI(e,r,{get:t[r],enumerable:!0})};const ua=globalThis,Hy=ua.ShadowRoot&&(ua.ShadyCSS===void 0||ua.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,JI=Symbol(),Gb=new WeakMap;let lz=class{constructor(t,r,n){if(this._$cssResult$=!0,n!==JI)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=r}get styleSheet(){let t=this.o;const r=this.t;if(Hy&&t===void 0){const n=r!==void 0&&r.length===1;n&&(t=Gb.get(r)),t===void 0&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),n&&Gb.set(r,t))}return t}toString(){return this.cssText}};const cz=e=>new lz(typeof e=="string"?e:e+"",void 0,JI),uz=(e,t)=>{if(Hy)e.adoptedStyleSheets=t.map((r=>r instanceof CSSStyleSheet?r:r.styleSheet));else for(const r of t){const n=document.createElement("style"),o=ua.litNonce;o!==void 0&&n.setAttribute("nonce",o),n.textContent=r.cssText,e.appendChild(n)}},Wb=Hy?e=>e:e=>e instanceof CSSStyleSheet?(t=>{let r="";for(const n of t.cssRules)r+=n.cssText;return cz(r)})(e):e;const{is:dz,defineProperty:pz,getOwnPropertyDescriptor:fz,getOwnPropertyNames:mz,getOwnPropertySymbols:hz,getPrototypeOf:yz}=Object,$c=globalThis,Kb=$c.trustedTypes,gz=Kb?Kb.emptyScript:"",bz=$c.reactiveElementPolyfillSupport,Bi=(e,t)=>e,vp={toAttribute(e,t){switch(t){case Boolean:e=e?gz:null;break;case Object:case Array:e=e==null?e:JSON.stringify(e)}return e},fromAttribute(e,t){let r=e;switch(t){case Boolean:r=e!==null;break;case Number:r=e===null?null:Number(e);break;case Object:case Array:try{r=JSON.parse(e)}catch{r=null}}return r}},UI=(e,t)=>!dz(e,t),Yb={attribute:!0,type:String,converter:vp,reflect:!1,useDefault:!1,hasChanged:UI};Symbol.metadata??=Symbol("metadata"),$c.litPropertyMetadata??=new WeakMap;let Kn=class extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??=[]).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,r=Yb){if(r.state&&(r.attribute=!1),this._$Ei(),this.prototype.hasOwnProperty(t)&&((r=Object.create(r)).wrapped=!0),this.elementProperties.set(t,r),!r.noAccessor){const n=Symbol(),o=this.getPropertyDescriptor(t,n,r);o!==void 0&&pz(this.prototype,t,o)}}static getPropertyDescriptor(t,r,n){const{get:o,set:s}=fz(this.prototype,t)??{get(){return this[r]},set(a){this[r]=a}};return{get:o,set(a){const c=o?.call(this);s?.call(this,a),this.requestUpdate(t,c,n)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??Yb}static _$Ei(){if(this.hasOwnProperty(Bi("elementProperties")))return;const t=yz(this);t.finalize(),t.l!==void 0&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(Bi("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(Bi("properties"))){const r=this.properties,n=[...mz(r),...hz(r)];for(const o of n)this.createProperty(o,r[o])}const t=this[Symbol.metadata];if(t!==null){const r=litPropertyMetadata.get(t);if(r!==void 0)for(const[n,o]of r)this.elementProperties.set(n,o)}this._$Eh=new Map;for(const[r,n]of this.elementProperties){const o=this._$Eu(r,n);o!==void 0&&this._$Eh.set(o,r)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){const r=[];if(Array.isArray(t)){const n=new Set(t.flat(1/0).reverse());for(const o of n)r.unshift(Wb(o))}else t!==void 0&&r.push(Wb(t));return r}static _$Eu(t,r){const n=r.attribute;return n===!1?void 0:typeof n=="string"?n:typeof t=="string"?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$ES=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$E_(),this.requestUpdate(),this.constructor.l?.forEach((t=>t(this)))}addController(t){(this._$EO??=new Set).add(t),this.renderRoot!==void 0&&this.isConnected&&t.hostConnected?.()}removeController(t){this._$EO?.delete(t)}_$E_(){const t=new Map,r=this.constructor.elementProperties;for(const n of r.keys())this.hasOwnProperty(n)&&(t.set(n,this[n]),delete this[n]);t.size>0&&(this._$Ep=t)}createRenderRoot(){const t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return uz(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$EO?.forEach((t=>t.hostConnected?.()))}enableUpdating(t){}disconnectedCallback(){this._$EO?.forEach((t=>t.hostDisconnected?.()))}attributeChangedCallback(t,r,n){this._$AK(t,n)}_$ET(t,r){const n=this.constructor.elementProperties.get(t),o=this.constructor._$Eu(t,n);if(o!==void 0&&n.reflect===!0){const s=(n.converter?.toAttribute!==void 0?n.converter:vp).toAttribute(r,n.type);this._$Em=t,s==null?this.removeAttribute(o):this.setAttribute(o,s),this._$Em=null}}_$AK(t,r){const n=this.constructor,o=n._$Eh.get(t);if(o!==void 0&&this._$Em!==o){const s=n.getPropertyOptions(o),a=typeof s.converter=="function"?{fromAttribute:s.converter}:s.converter?.fromAttribute!==void 0?s.converter:vp;this._$Em=o;const c=a.fromAttribute(r,s.type);this[o]=c??this._$Ej?.get(o)??c,this._$Em=null}}requestUpdate(t,r,n){if(t!==void 0){const o=this.constructor,s=this[t];if(n??=o.getPropertyOptions(t),!((n.hasChanged??UI)(s,r)||n.useDefault&&n.reflect&&s===this._$Ej?.get(t)&&!this.hasAttribute(o._$Eu(t,n))))return;this.C(t,r,n)}this.isUpdatePending===!1&&(this._$ES=this._$EP())}C(t,r,{useDefault:n,reflect:o,wrapped:s},a){n&&!(this._$Ej??=new Map).has(t)&&(this._$Ej.set(t,a??r??this[t]),s!==!0||a!==void 0)||(this._$AL.has(t)||(this.hasUpdated||n||(r=void 0),this._$AL.set(t,r)),o===!0&&this._$Em!==t&&(this._$Eq??=new Set).add(t))}async _$EP(){this.isUpdatePending=!0;try{await this._$ES}catch(r){Promise.reject(r)}const t=this.scheduleUpdate();return t!=null&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(const[o,s]of this._$Ep)this[o]=s;this._$Ep=void 0}const n=this.constructor.elementProperties;if(n.size>0)for(const[o,s]of n){const{wrapped:a}=s,c=this[o];a!==!0||this._$AL.has(o)||c===void 0||this.C(o,void 0,s,c)}}let t=!1;const r=this._$AL;try{t=this.shouldUpdate(r),t?(this.willUpdate(r),this._$EO?.forEach((n=>n.hostUpdate?.())),this.update(r)):this._$EM()}catch(n){throw t=!1,this._$EM(),n}t&&this._$AE(r)}willUpdate(t){}_$AE(t){this._$EO?.forEach((r=>r.hostUpdated?.())),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$EM(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(t){return!0}update(t){this._$Eq&&=this._$Eq.forEach((r=>this._$ET(r,this[r]))),this._$EM()}updated(t){}firstUpdated(t){}};Kn.elementStyles=[],Kn.shadowRootOptions={mode:"open"},Kn[Bi("elementProperties")]=new Map,Kn[Bi("finalized")]=new Map,bz?.({ReactiveElement:Kn}),($c.reactiveElementVersions??=[]).push("2.1.1");const zy=globalThis,al=zy.trustedTypes,Xb=al?al.createPolicy("lit-html",{createHTML:e=>e}):void 0,VI="$lit$",Dr=`lit$${Math.random().toFixed(9).slice(2)}$`,HI="?"+Dr,vz=`<${HI}>`,Mn=document,ds=()=>Mn.createComment(""),ps=e=>e===null||typeof e!="object"&&typeof e!="function",Gy=Array.isArray,Ez=e=>Gy(e)||typeof e?.[Symbol.iterator]=="function",Eu=`[
1019
+ */`,o=_I(n,{spacing:"preserve"});if(!o||o.length===0)throw new Error("Cannot parse JSDoc tags.");return o[0]}O(PI,"parse");var V3={tags:["param","arg","argument","returns","ignore","deprecated"]},H3=O((e,t=V3)=>{if(!SI(e))return{includesJsDoc:!1,ignore:!1};const r=PI(e),n=AI(r,t.tags);return n.ignore?{includesJsDoc:!0,ignore:!0}:{includesJsDoc:!0,ignore:!1,description:r.description.trim(),extractedTags:n}},"parseJsDoc");function AI(e,t){const r={params:null,deprecated:null,returns:null,ignore:!1};for(const n of e.tags)if(!(t!==void 0&&!t.includes(n.tag)))if(n.tag==="ignore"){r.ignore=!0;break}else switch(n.tag){case"param":case"arg":case"argument":{const o=OI(n);o!=null&&(r.params==null&&(r.params=[]),r.params.push(o));break}case"deprecated":{const o=CI(n);o!=null&&(r.deprecated=o);break}case"returns":{const o=xI(n);o!=null&&(r.returns=o);break}}return r}O(AI,"extractJsDocTags");function RI(e){return e.replace(/[\.-]$/,"")}O(RI,"normaliseParamName");function OI(e){if(!e.name||e.name==="-")return null;const t=By(e.type);return{name:e.name,type:t,description:$y(e.description),getPrettyName:O(()=>RI(e.name),"getPrettyName"),getTypeName:O(()=>t?Jy(t):null,"getTypeName")}}O(OI,"extractParam");function CI(e){return e.name?Fy(e.name,e.description):null}O(CI,"extractDeprecated");function Fy(e,t){const r=e===""?t:`${e} ${t}`;return $y(r)}O(Fy,"joinNameAndDescription");function $y(e){const t=e.replace(/^- /g,"").trim();return t===""?null:t}O($y,"normaliseDescription");function xI(e){const t=By(e.type);return t?{type:t,description:Fy(e.name,e.description),getTypeName:O(()=>Jy(t),"getTypeName")}:null}O(xI,"extractReturns");var en=(0,Ly.stringifyRules)(),z3=en.JsdocTypeObject;en.JsdocTypeAny=()=>"any";en.JsdocTypeObject=(e,t)=>`(${z3(e,t)})`;en.JsdocTypeOptional=(e,t)=>t(e.element);en.JsdocTypeNullable=(e,t)=>t(e.element);en.JsdocTypeNotNullable=(e,t)=>t(e.element);en.JsdocTypeUnion=(e,t)=>e.elements.map(t).join("|");function By(e){try{return(0,Ly.parse)(e,"typescript")}catch{return null}}O(By,"extractType");function Jy(e){return(0,Ly.transform)(en,e)}O(Jy,"extractTypeName");var G3=90,W3=50;function Uy(e){return e.length>G3}O(Uy,"isTooLongForTypeSummary");function NI(e){return e.length>W3}O(NI,"isTooLongForDefaultValueSummary");function nt(e,t){return e===t?{summary:e}:{summary:e,detail:t}}O(nt,"createSummaryValue");function K3(e,t){if(e!=null){const{value:r}=e;if(!Fc(r))return NI(r)?nt(t?.name,r):nt(r)}return null}O(K3,"createDefaultValue");function Vy({name:e,value:t,elements:r,raw:n}){return t??(r!=null?r.map(Vy).join(" | "):n??e)}O(Vy,"generateUnionElement");function II({name:e,raw:t,elements:r}){return r!=null?nt(r.map(Vy).join(" | ")):t!=null?nt(t.replace(/^\|\s*/,"")):nt(e)}O(II,"generateUnion");function MI({type:e,raw:t}){return t!=null?nt(t):nt(e)}O(MI,"generateFuncSignature");function qI({type:e,raw:t}){return t!=null?Uy(t)?nt(e,t):nt(t):nt(e)}O(qI,"generateObjectSignature");function jI(e){const{type:t}=e;return t==="object"?qI(e):MI(e)}O(jI,"generateSignature");function kI({name:e,raw:t}){return t!=null?Uy(t)?nt(e,t):nt(t):nt(e)}O(kI,"generateDefault");function Y3(e){if(e==null)return null;switch(e.name){case"union":return II(e);case"signature":return jI(e);default:return kI(e)}}O(Y3,"createType");function X3({defaultValue:e}){if(e!=null){const{value:t}=e;if(!Fc(t))return nt(t)}return null}O(X3,"createDefaultValue");function Q3({tsType:e,required:t}){if(e==null)return null;let r=e.name;return t||(r=r.replace(" | undefined","")),nt(["Array","Record","signature"].includes(e.name)?e.raw:r)}O(Q3,"createType");function DI(e){return e!=null?nt(e.name):null}O(DI,"createType");function LI(e){const{computed:t,func:r}=e;return typeof t>"u"&&typeof r>"u"}O(LI,"isReactDocgenTypescript");function FI(e){return e?e.name==="string"?!0:e.name==="enum"?Array.isArray(e.value)&&e.value.every(({value:t})=>typeof t=="string"&&t[0]==='"'&&t[t.length-1]==='"'):!1:!1}O(FI,"isStringValued");function $I(e,t){if(e!=null){const{value:r}=e;if(!Fc(r))return LI(e)&&FI(t)?nt(JSON.stringify(r)):nt(r)}return null}O($I,"createDefaultValue");function Z3(e,t,r){const{description:n,required:o,defaultValue:s}=r;return{name:e,type:DI(t),required:o,description:n,defaultValue:$I(s,t)}}O(Z3,"createBasicPropDef");function ez(e,t){if(t?.includesJsDoc){const{description:r,extractedTags:n}=t;r!=null&&(e.description=t.description);const o={...n,params:n?.params?.map(s=>({name:s.getPrettyName(),description:s.description}))};Object.values(o).filter(Boolean).length>0&&(e.jsDocTags=o)}return e}O(ez,"applyJsDocResult");function tz(e,t,r,n){const o=H3(t.description);return o.includesJsDoc&&o.ignore?null:{propDef:n(e,t,o),jsDocTags:o.extractedTags,docgenInfo:t,typeSystem:r}}O(tz,"extractProp");function rz(e){return e!=null?oI(e):""}O(rz,"extractComponentDescription");var nz=O((...e)=>{const t={},r=e.filter(Boolean),n=r.reduce((o,s)=>(Object.entries(s).forEach(([a,c])=>{const u=o[a];Array.isArray(c)||typeof u>"u"?o[a]=c:la(c)&&la(u)?t[a]=!0:typeof c<"u"&&(o[a]=c)}),o),{});return Object.keys(t).forEach(o=>{const s=r.filter(Boolean).map(a=>a[o]).filter(a=>typeof a<"u");s.every(a=>la(a))?n[o]=nz(...s):n[o]=s[s.length-1]}),n},"combineParameters"),oz="storybook/docs",XK=`${oz}/snippet-rendered`,sl=(e=>(e.AUTO="auto",e.CODE="code",e.DYNAMIC="dynamic",e))(sl||{});const iz={"./src/stories/Avatar.stories.ts":()=>ot(()=>import("./Avatar.stories-CpXI9mXR.js"),__vite__mapDeps([0,1]),import.meta.url),"./src/stories/AvatarGroup.stories.ts":()=>ot(()=>import("./AvatarGroup.stories-D4NymG47.js"),__vite__mapDeps([2,1]),import.meta.url),"./src/stories/Badge.stories.ts":()=>ot(()=>import("./Badge.stories-BP4Yixze.js"),__vite__mapDeps([3,1]),import.meta.url),"./src/stories/Button.stories.ts":()=>ot(()=>import("./Button.stories-DDpQzCOq.js"),__vite__mapDeps([4,1]),import.meta.url),"./src/stories/CircularProgress.stories.ts":()=>ot(()=>import("./CircularProgress.stories-B82LXwfS.js"),__vite__mapDeps([5,1]),import.meta.url),"./src/stories/ClipboardMixin.stories.ts":()=>ot(()=>import("./ClipboardMixin.stories-Cr3efF-v.js"),__vite__mapDeps([6,7,1]),import.meta.url),"./src/stories/Colors.stories.ts":()=>ot(()=>import("./Colors.stories-CeKs5FaB.js"),__vite__mapDeps([8,1]),import.meta.url),"./src/stories/ComponentStatesMixin.stories.ts":()=>ot(()=>import("./ComponentStatesMixin.stories--YPoyrpQ.js"),__vite__mapDeps([9,7,1]),import.meta.url),"./src/stories/CopyToClipboard.stories.ts":()=>ot(()=>import("./CopyToClipboard.stories-6vqDwd-F.js"),__vite__mapDeps([10,1]),import.meta.url),"./src/stories/Events.stories.ts":()=>ot(()=>import("./Events.stories-DD9wfoHi.js"),__vite__mapDeps([11,1]),import.meta.url),"./src/stories/Heading.stories.ts":()=>ot(()=>import("./Heading.stories-D-Pvm7NG.js"),__vite__mapDeps([12,1]),import.meta.url),"./src/stories/Icon.stories.ts":()=>ot(()=>import("./Icon.stories-BbR3S56H.js"),__vite__mapDeps([13,1]),import.meta.url),"./src/stories/LinearProgress.stories.ts":()=>ot(()=>import("./LinearProgress.stories-B9XHLvVn.js"),__vite__mapDeps([14,1]),import.meta.url),"./src/stories/ReadyMixin.stories.ts":()=>ot(()=>import("./ReadyMixin.stories-DavcxbQ0.js"),[],import.meta.url),"./src/stories/ScrollShadow.stories.ts":()=>ot(()=>import("./ScrollShadow.stories-CHFpB4Zf.js"),__vite__mapDeps([15,1]),import.meta.url),"./src/stories/Throttle.stories.ts":()=>ot(()=>import("./Throttle.stories-BGNJSyDp.js"),__vite__mapDeps([16,1]),import.meta.url),"./src/stories/onFind.stories.ts":()=>ot(()=>import("./onFind.stories-Dagoyfc5.js"),__vite__mapDeps([17,18,1]),import.meta.url)};async function sz(e){return await iz[e]()}var BI=Object.defineProperty,Yt=(e,t)=>BI(e,"name",{value:t,configurable:!0}),az=(e,t)=>{for(var r in t)BI(e,r,{get:t[r],enumerable:!0})};const ua=globalThis,Hy=ua.ShadowRoot&&(ua.ShadyCSS===void 0||ua.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,JI=Symbol(),Gb=new WeakMap;let lz=class{constructor(t,r,n){if(this._$cssResult$=!0,n!==JI)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=r}get styleSheet(){let t=this.o;const r=this.t;if(Hy&&t===void 0){const n=r!==void 0&&r.length===1;n&&(t=Gb.get(r)),t===void 0&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),n&&Gb.set(r,t))}return t}toString(){return this.cssText}};const cz=e=>new lz(typeof e=="string"?e:e+"",void 0,JI),uz=(e,t)=>{if(Hy)e.adoptedStyleSheets=t.map((r=>r instanceof CSSStyleSheet?r:r.styleSheet));else for(const r of t){const n=document.createElement("style"),o=ua.litNonce;o!==void 0&&n.setAttribute("nonce",o),n.textContent=r.cssText,e.appendChild(n)}},Wb=Hy?e=>e:e=>e instanceof CSSStyleSheet?(t=>{let r="";for(const n of t.cssRules)r+=n.cssText;return cz(r)})(e):e;const{is:dz,defineProperty:pz,getOwnPropertyDescriptor:fz,getOwnPropertyNames:mz,getOwnPropertySymbols:hz,getPrototypeOf:yz}=Object,$c=globalThis,Kb=$c.trustedTypes,gz=Kb?Kb.emptyScript:"",bz=$c.reactiveElementPolyfillSupport,Bi=(e,t)=>e,vp={toAttribute(e,t){switch(t){case Boolean:e=e?gz:null;break;case Object:case Array:e=e==null?e:JSON.stringify(e)}return e},fromAttribute(e,t){let r=e;switch(t){case Boolean:r=e!==null;break;case Number:r=e===null?null:Number(e);break;case Object:case Array:try{r=JSON.parse(e)}catch{r=null}}return r}},UI=(e,t)=>!dz(e,t),Yb={attribute:!0,type:String,converter:vp,reflect:!1,useDefault:!1,hasChanged:UI};Symbol.metadata??=Symbol("metadata"),$c.litPropertyMetadata??=new WeakMap;let Kn=class extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??=[]).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,r=Yb){if(r.state&&(r.attribute=!1),this._$Ei(),this.prototype.hasOwnProperty(t)&&((r=Object.create(r)).wrapped=!0),this.elementProperties.set(t,r),!r.noAccessor){const n=Symbol(),o=this.getPropertyDescriptor(t,n,r);o!==void 0&&pz(this.prototype,t,o)}}static getPropertyDescriptor(t,r,n){const{get:o,set:s}=fz(this.prototype,t)??{get(){return this[r]},set(a){this[r]=a}};return{get:o,set(a){const c=o?.call(this);s?.call(this,a),this.requestUpdate(t,c,n)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??Yb}static _$Ei(){if(this.hasOwnProperty(Bi("elementProperties")))return;const t=yz(this);t.finalize(),t.l!==void 0&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(Bi("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(Bi("properties"))){const r=this.properties,n=[...mz(r),...hz(r)];for(const o of n)this.createProperty(o,r[o])}const t=this[Symbol.metadata];if(t!==null){const r=litPropertyMetadata.get(t);if(r!==void 0)for(const[n,o]of r)this.elementProperties.set(n,o)}this._$Eh=new Map;for(const[r,n]of this.elementProperties){const o=this._$Eu(r,n);o!==void 0&&this._$Eh.set(o,r)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){const r=[];if(Array.isArray(t)){const n=new Set(t.flat(1/0).reverse());for(const o of n)r.unshift(Wb(o))}else t!==void 0&&r.push(Wb(t));return r}static _$Eu(t,r){const n=r.attribute;return n===!1?void 0:typeof n=="string"?n:typeof t=="string"?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$ES=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$E_(),this.requestUpdate(),this.constructor.l?.forEach((t=>t(this)))}addController(t){(this._$EO??=new Set).add(t),this.renderRoot!==void 0&&this.isConnected&&t.hostConnected?.()}removeController(t){this._$EO?.delete(t)}_$E_(){const t=new Map,r=this.constructor.elementProperties;for(const n of r.keys())this.hasOwnProperty(n)&&(t.set(n,this[n]),delete this[n]);t.size>0&&(this._$Ep=t)}createRenderRoot(){const t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return uz(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$EO?.forEach((t=>t.hostConnected?.()))}enableUpdating(t){}disconnectedCallback(){this._$EO?.forEach((t=>t.hostDisconnected?.()))}attributeChangedCallback(t,r,n){this._$AK(t,n)}_$ET(t,r){const n=this.constructor.elementProperties.get(t),o=this.constructor._$Eu(t,n);if(o!==void 0&&n.reflect===!0){const s=(n.converter?.toAttribute!==void 0?n.converter:vp).toAttribute(r,n.type);this._$Em=t,s==null?this.removeAttribute(o):this.setAttribute(o,s),this._$Em=null}}_$AK(t,r){const n=this.constructor,o=n._$Eh.get(t);if(o!==void 0&&this._$Em!==o){const s=n.getPropertyOptions(o),a=typeof s.converter=="function"?{fromAttribute:s.converter}:s.converter?.fromAttribute!==void 0?s.converter:vp;this._$Em=o;const c=a.fromAttribute(r,s.type);this[o]=c??this._$Ej?.get(o)??c,this._$Em=null}}requestUpdate(t,r,n){if(t!==void 0){const o=this.constructor,s=this[t];if(n??=o.getPropertyOptions(t),!((n.hasChanged??UI)(s,r)||n.useDefault&&n.reflect&&s===this._$Ej?.get(t)&&!this.hasAttribute(o._$Eu(t,n))))return;this.C(t,r,n)}this.isUpdatePending===!1&&(this._$ES=this._$EP())}C(t,r,{useDefault:n,reflect:o,wrapped:s},a){n&&!(this._$Ej??=new Map).has(t)&&(this._$Ej.set(t,a??r??this[t]),s!==!0||a!==void 0)||(this._$AL.has(t)||(this.hasUpdated||n||(r=void 0),this._$AL.set(t,r)),o===!0&&this._$Em!==t&&(this._$Eq??=new Set).add(t))}async _$EP(){this.isUpdatePending=!0;try{await this._$ES}catch(r){Promise.reject(r)}const t=this.scheduleUpdate();return t!=null&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(const[o,s]of this._$Ep)this[o]=s;this._$Ep=void 0}const n=this.constructor.elementProperties;if(n.size>0)for(const[o,s]of n){const{wrapped:a}=s,c=this[o];a!==!0||this._$AL.has(o)||c===void 0||this.C(o,void 0,s,c)}}let t=!1;const r=this._$AL;try{t=this.shouldUpdate(r),t?(this.willUpdate(r),this._$EO?.forEach((n=>n.hostUpdate?.())),this.update(r)):this._$EM()}catch(n){throw t=!1,this._$EM(),n}t&&this._$AE(r)}willUpdate(t){}_$AE(t){this._$EO?.forEach((r=>r.hostUpdated?.())),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$EM(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(t){return!0}update(t){this._$Eq&&=this._$Eq.forEach((r=>this._$ET(r,this[r]))),this._$EM()}updated(t){}firstUpdated(t){}};Kn.elementStyles=[],Kn.shadowRootOptions={mode:"open"},Kn[Bi("elementProperties")]=new Map,Kn[Bi("finalized")]=new Map,bz?.({ReactiveElement:Kn}),($c.reactiveElementVersions??=[]).push("2.1.1");const zy=globalThis,al=zy.trustedTypes,Xb=al?al.createPolicy("lit-html",{createHTML:e=>e}):void 0,VI="$lit$",Dr=`lit$${Math.random().toFixed(9).slice(2)}$`,HI="?"+Dr,vz=`<${HI}>`,Mn=document,ds=()=>Mn.createComment(""),ps=e=>e===null||typeof e!="object"&&typeof e!="function",Gy=Array.isArray,Ez=e=>Gy(e)||typeof e?.[Symbol.iterator]=="function",Eu=`[
1020
1020
  \f\r]`,bi=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Qb=/-->/g,Zb=/>/g,ln=RegExp(`>|${Eu}(?:([^\\s"'>=/]+)(${Eu}*=${Eu}*(?:[^
1021
1021
  \f\r"'\`<>=]|("|')|))|$)`,"g"),ev=/'/g,tv=/"/g,zI=/^(?:script|style|textarea|title)$/i,Tz=e=>(t,...r)=>({_$litType$:e,strings:t,values:r}),GI=Tz(1),qn=Symbol.for("lit-noChange"),Ve=Symbol.for("lit-nothing"),rv=new WeakMap,hn=Mn.createTreeWalker(Mn,129);function WI(e,t){if(!Gy(e)||!e.hasOwnProperty("raw"))throw Error("invalid template strings array");return Xb!==void 0?Xb.createHTML(t):t}const wz=(e,t)=>{const r=e.length-1,n=[];let o,s=t===2?"<svg>":t===3?"<math>":"",a=bi;for(let c=0;c<r;c++){const u=e[c];let d,p,f=-1,h=0;for(;h<u.length&&(a.lastIndex=h,p=a.exec(u),p!==null);)h=a.lastIndex,a===bi?p[1]==="!--"?a=Qb:p[1]!==void 0?a=Zb:p[2]!==void 0?(zI.test(p[2])&&(o=RegExp("</"+p[2],"g")),a=ln):p[3]!==void 0&&(a=ln):a===ln?p[0]===">"?(a=o??bi,f=-1):p[1]===void 0?f=-2:(f=a.lastIndex-p[2].length,d=p[1],a=p[3]===void 0?ln:p[3]==='"'?tv:ev):a===tv||a===ev?a=ln:a===Qb||a===Zb?a=bi:(a=ln,o=void 0);const y=a===ln&&e[c+1].startsWith("/>")?" ":"";s+=a===bi?u+vz:f>=0?(n.push(d),u.slice(0,f)+VI+u.slice(f)+Dr+y):u+Dr+(f===-2?c:y)}return[WI(e,s+(e[r]||"<?>")+(t===2?"</svg>":t===3?"</math>":"")),n]};class fs{constructor({strings:t,_$litType$:r},n){let o;this.parts=[];let s=0,a=0;const c=t.length-1,u=this.parts,[d,p]=wz(t,r);if(this.el=fs.createElement(d,n),hn.currentNode=this.el.content,r===2||r===3){const f=this.el.content.firstChild;f.replaceWith(...f.childNodes)}for(;(o=hn.nextNode())!==null&&u.length<c;){if(o.nodeType===1){if(o.hasAttributes())for(const f of o.getAttributeNames())if(f.endsWith(VI)){const h=p[a++],y=o.getAttribute(f).split(Dr),g=/([.?@])?(.*)/.exec(h);u.push({type:1,index:s,name:g[2],strings:y,ctor:g[1]==="."?Sz:g[1]==="?"?Pz:g[1]==="@"?Az:Bc}),o.removeAttribute(f)}else f.startsWith(Dr)&&(u.push({type:6,index:s}),o.removeAttribute(f));if(zI.test(o.tagName)){const f=o.textContent.split(Dr),h=f.length-1;if(h>0){o.textContent=al?al.emptyScript:"";for(let y=0;y<h;y++)o.append(f[y],ds()),hn.nextNode(),u.push({type:2,index:++s});o.append(f[h],ds())}}}else if(o.nodeType===8)if(o.data===HI)u.push({type:2,index:s});else{let f=-1;for(;(f=o.data.indexOf(Dr,f+1))!==-1;)u.push({type:7,index:s}),f+=Dr.length-1}s++}}static createElement(t,r){const n=Mn.createElement("template");return n.innerHTML=t,n}}function Oo(e,t,r=e,n){if(t===qn)return t;let o=n!==void 0?r._$Co?.[n]:r._$Cl;const s=ps(t)?void 0:t._$litDirective$;return o?.constructor!==s&&(o?._$AO?.(!1),s===void 0?o=void 0:(o=new s(e),o._$AT(e,r,n)),n!==void 0?(r._$Co??=[])[n]=o:r._$Cl=o),o!==void 0&&(t=Oo(e,o._$AS(e,t.values),o,n)),t}class _z{constructor(t,r){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=r}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:r},parts:n}=this._$AD,o=(t?.creationScope??Mn).importNode(r,!0);hn.currentNode=o;let s=hn.nextNode(),a=0,c=0,u=n[0];for(;u!==void 0;){if(a===u.index){let d;u.type===2?d=new Ds(s,s.nextSibling,this,t):u.type===1?d=new u.ctor(s,u.name,u.strings,this,t):u.type===6&&(d=new Rz(s,this,t)),this._$AV.push(d),u=n[++c]}a!==u?.index&&(s=hn.nextNode(),a++)}return hn.currentNode=Mn,o}p(t){let r=0;for(const n of this._$AV)n!==void 0&&(n.strings!==void 0?(n._$AI(t,n,r),r+=n.strings.length-2):n._$AI(t[r])),r++}}class Ds{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,r,n,o){this.type=2,this._$AH=Ve,this._$AN=void 0,this._$AA=t,this._$AB=r,this._$AM=n,this.options=o,this._$Cv=o?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode;const r=this._$AM;return r!==void 0&&t?.nodeType===11&&(t=r.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,r=this){t=Oo(this,t,r),ps(t)?t===Ve||t==null||t===""?(this._$AH!==Ve&&this._$AR(),this._$AH=Ve):t!==this._$AH&&t!==qn&&this._(t):t._$litType$!==void 0?this.$(t):t.nodeType!==void 0?this.T(t):Ez(t)?this.k(t):this._(t)}O(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.O(t))}_(t){this._$AH!==Ve&&ps(this._$AH)?this._$AA.nextSibling.data=t:this.T(Mn.createTextNode(t)),this._$AH=t}$(t){const{values:r,_$litType$:n}=t,o=typeof n=="number"?this._$AC(t):(n.el===void 0&&(n.el=fs.createElement(WI(n.h,n.h[0]),this.options)),n);if(this._$AH?._$AD===o)this._$AH.p(r);else{const s=new _z(o,this),a=s.u(this.options);s.p(r),this.T(a),this._$AH=s}}_$AC(t){let r=rv.get(t.strings);return r===void 0&&rv.set(t.strings,r=new fs(t)),r}k(t){Gy(this._$AH)||(this._$AH=[],this._$AR());const r=this._$AH;let n,o=0;for(const s of t)o===r.length?r.push(n=new Ds(this.O(ds()),this.O(ds()),this,this.options)):n=r[o],n._$AI(s),o++;o<r.length&&(this._$AR(n&&n._$AB.nextSibling,o),r.length=o)}_$AR(t=this._$AA.nextSibling,r){for(this._$AP?.(!1,!0,r);t!==this._$AB;){const n=t.nextSibling;t.remove(),t=n}}setConnected(t){this._$AM===void 0&&(this._$Cv=t,this._$AP?.(t))}}class Bc{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,r,n,o,s){this.type=1,this._$AH=Ve,this._$AN=void 0,this.element=t,this.name=r,this._$AM=o,this.options=s,n.length>2||n[0]!==""||n[1]!==""?(this._$AH=Array(n.length-1).fill(new String),this.strings=n):this._$AH=Ve}_$AI(t,r=this,n,o){const s=this.strings;let a=!1;if(s===void 0)t=Oo(this,t,r,0),a=!ps(t)||t!==this._$AH&&t!==qn,a&&(this._$AH=t);else{const c=t;let u,d;for(t=s[0],u=0;u<s.length-1;u++)d=Oo(this,c[n+u],r,u),d===qn&&(d=this._$AH[u]),a||=!ps(d)||d!==this._$AH[u],d===Ve?t=Ve:t!==Ve&&(t+=(d??"")+s[u+1]),this._$AH[u]=d}a&&!o&&this.j(t)}j(t){t===Ve?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}}class Sz extends Bc{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===Ve?void 0:t}}class Pz extends Bc{constructor(){super(...arguments),this.type=4}j(t){this.element.toggleAttribute(this.name,!!t&&t!==Ve)}}class Az extends Bc{constructor(t,r,n,o,s){super(t,r,n,o,s),this.type=5}_$AI(t,r=this){if((t=Oo(this,t,r,0)??Ve)===qn)return;const n=this._$AH,o=t===Ve&&n!==Ve||t.capture!==n.capture||t.once!==n.once||t.passive!==n.passive,s=t!==Ve&&(n===Ve||o);o&&this.element.removeEventListener(this.name,this,n),s&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}}class Rz{constructor(t,r,n){this.element=t,this.type=6,this._$AN=void 0,this._$AM=r,this.options=n}get _$AU(){return this._$AM._$AU}_$AI(t){Oo(this,t)}}const Oz=zy.litHtmlPolyfillSupport;Oz?.(fs,Ds),(zy.litHtmlVersions??=[]).push("3.3.1");const ll=(e,t,r)=>{const n=r?.renderBefore??t;let o=n._$litPart$;if(o===void 0){const s=r?.renderBefore??null;n._$litPart$=o=new Ds(t.insertBefore(ds(),s),s,void 0,r??{})}return o._$AI(e),o};const Wy=globalThis;let da=class extends Kn{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){const t=super.createRenderRoot();return this.renderOptions.renderBefore??=t.firstChild,t}update(t){const r=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=ll(r,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return qn}};da._$litElement$=!0,da.finalized=!0,Wy.litElementHydrateSupport?.({LitElement:da});const Cz=Wy.litElementPolyfillSupport;Cz?.({LitElement:da});(Wy.litElementVersions??=[]).push("4.2.1");const xz=(e,t)=>e?._$litType$!==void 0,Nz=e=>e.strings===void 0;function Iz(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];var n=Array.from(typeof e=="string"?[e]:e);n[n.length-1]=n[n.length-1].replace(/\r?\n([\t ]*)$/,"");var o=n.reduce(function(c,u){var d=u.match(/\n([\t ]+|(?!\s).)/g);return d?c.concat(d.map(function(p){var f,h;return(h=(f=p.match(/[\t ]/g))===null||f===void 0?void 0:f.length)!==null&&h!==void 0?h:0})):c},[]);if(o.length){var s=new RegExp(`
1022
1022
  [ ]{`+Math.min.apply(Math,o)+"}","g");n=n.map(function(c){return c.replace(s,`
@@ -1026,7 +1026,7 @@ ${j.description}`)},"showError"),showException:i(j=>{throw j},"showException"),f
1026
1026
  `)),a+=f+n[u+1]}),a}var KI={};az(KI,{parameters:()=>XI,render:()=>YI,renderToCanvas:()=>Ky});const{global:Mz}=__STORYBOOK_MODULE_GLOBAL__,{simulateDOMContentLoaded:qz,simulatePageLoad:nv}=__STORYBOOK_MODULE_PREVIEW_API__;var{Node:jz}=Mz,YI=Yt((e,t)=>{const{id:r,component:n}=t;if(!n)throw new Error(`Unable to render story ${r} as the component annotation is missing from the default export`);const o=document.createElement(n);return Object.entries(e).forEach(([s,a])=>{o[s]=a}),o},"render");function Ky({storyFn:e,kind:t,name:r,showMain:n,showError:o,forceRemount:s},a){const c=e();if(n(),xz(c)){(s||!a.querySelector('[id="root-inner"]'))&&(a.innerHTML='<div id="root-inner"></div>');const u=a.querySelector('[id="root-inner"]');ll(c,u),nv(a)}else if(typeof c=="string")a.innerHTML=c,nv(a);else if(c instanceof jz){if(a.firstChild===c&&!s)return;a.innerHTML="",a.appendChild(c),qz()}else o({title:`Expecting an HTML snippet or DOM node from the story: "${r}" of "${t}".`,description:Iz`
1027
1027
  Did you forget to return the HTML snippet from the story?
1028
1028
  Use "() => <your snippet or node>" or when defining the story.
1029
- `})}Yt(Ky,"renderToCanvas");var XI={renderer:"web-components"};const kz=Object.freeze(Object.defineProperty({__proto__:null,parameters:XI,render:YI,renderToCanvas:Ky},Symbol.toStringTag,{value:"Module"})),{emitTransformCode:Dz,useEffect:Lz}=__STORYBOOK_MODULE_PREVIEW_API__;var Fz=/<!--\?lit\$[0-9]+\$-->|<!--\??-->/g;function QI(e){const t=e?.parameters.docs?.source,r=e?.parameters.__isArgsStory;return t?.type===sl.DYNAMIC?!1:!r||t?.code||t?.type===sl.CODE}Yt(QI,"skipSourceRender");function ZI(e,t){const r=e(),n=t?.parameters.docs?.source?.excludeDecorators?t.originalStoryFn(t.args,t):r;let o;if(Lz(()=>{o&&Dz(o,t)}),!QI(t)){const s=window.document.createElement("div");n instanceof DocumentFragment?ll(n.cloneNode(!0),s):ll(n,s),o=s.innerHTML.replace(Fz,"")}return r}Yt(ZI,"sourceDecorator");var $z=[ZI],Bz={docs:{source:{type:sl.DYNAMIC,language:"html"},story:{inline:!0}}};const Jz=Object.freeze(Object.defineProperty({__proto__:null,decorators:$z,parameters:Bz},Symbol.toStringTag,{value:"Module"}));var Uz=Object.create,Jc=Object.defineProperty,Vz=Object.getOwnPropertyDescriptor,eM=Object.getOwnPropertyNames,Hz=Object.getPrototypeOf,zz=Object.prototype.hasOwnProperty,ov=(e,t)=>Jc(e,"name",{value:t,configurable:!0}),t5=(e=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(e,{get:(t,r)=>(typeof require<"u"?require:t)[r]}):e)(function(e){if(typeof require<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+e+'" is not supported')}),r5=(e,t)=>function(){return t||(0,e[eM(e)[0]])((t={exports:{}}).exports,t),t.exports},Gz=(e,t)=>{for(var r in t)Jc(e,r,{get:t[r],enumerable:!0})},Wz=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of eM(t))!zz.call(e,o)&&o!==r&&Jc(e,o,{get:()=>t[o],enumerable:!(n=Vz(t,o))||n.enumerable});return e},n5=(e,t,r)=>(r=e!=null?Uz(Hz(e)):{},Wz(Jc(r,"default",{value:e,enumerable:!0}),e)),Kz={};Gz(Kz,{parameters:()=>tM});var Yz=Object.entries(globalThis.TAGS_OPTIONS??{}).reduce((e,t)=>{const[r,n]=t;return n.excludeFromDocsStories&&(e[r]=!0),e},{}),tM={docs:{renderer:ov(async()=>{const{DocsRenderer:e}=await bt(async()=>{const{DocsRenderer:t}=await import("./WithTooltip-SK46ZJ2J-DW4NXFWt.js").then(r=>r.D);return{DocsRenderer:t}},__vite__mapDeps([13,1]),import.meta.url);return new e},"renderer"),stories:{filter:ov(e=>(e.tags||[]).filter(r=>Yz[r]).length===0&&!e.parameters.docs?.disable,"filter")}}};const Xz=Object.freeze(Object.defineProperty({__proto__:null,parameters:tM},Symbol.toStringTag,{value:"Module"})),{global:Qz}=__STORYBOOK_MODULE_GLOBAL__,{global:Zz}=__STORYBOOK_MODULE_GLOBAL__;var{window:eG}=Zz;eG.STORYBOOK_ENV="web-components";const{global:cl}=__STORYBOOK_MODULE_GLOBAL__;function tG(e){if(!e)return!1;if(typeof e=="string")return!0;throw new Error('Provided component needs to be a string. e.g. component: "my-element"')}Yt(tG,"isValidComponent");function rG(e){if(!e)return!1;if(e.tags&&Array.isArray(e.tags)||e.modules&&Array.isArray(e.modules))return!0;throw new Error(`You need to setup valid meta data in your config.js via setCustomElements().
1029
+ `})}Yt(Ky,"renderToCanvas");var XI={renderer:"web-components"};const kz=Object.freeze(Object.defineProperty({__proto__:null,parameters:XI,render:YI,renderToCanvas:Ky},Symbol.toStringTag,{value:"Module"})),{emitTransformCode:Dz,useEffect:Lz}=__STORYBOOK_MODULE_PREVIEW_API__;var Fz=/<!--\?lit\$[0-9]+\$-->|<!--\??-->/g;function QI(e){const t=e?.parameters.docs?.source,r=e?.parameters.__isArgsStory;return t?.type===sl.DYNAMIC?!1:!r||t?.code||t?.type===sl.CODE}Yt(QI,"skipSourceRender");function ZI(e,t){const r=e(),n=t?.parameters.docs?.source?.excludeDecorators?t.originalStoryFn(t.args,t):r;let o;if(Lz(()=>{o&&Dz(o,t)}),!QI(t)){const s=window.document.createElement("div");n instanceof DocumentFragment?ll(n.cloneNode(!0),s):ll(n,s),o=s.innerHTML.replace(Fz,"")}return r}Yt(ZI,"sourceDecorator");var $z=[ZI],Bz={docs:{source:{type:sl.DYNAMIC,language:"html"},story:{inline:!0}}};const Jz=Object.freeze(Object.defineProperty({__proto__:null,decorators:$z,parameters:Bz},Symbol.toStringTag,{value:"Module"}));var Uz=Object.create,Jc=Object.defineProperty,Vz=Object.getOwnPropertyDescriptor,eM=Object.getOwnPropertyNames,Hz=Object.getPrototypeOf,zz=Object.prototype.hasOwnProperty,ov=(e,t)=>Jc(e,"name",{value:t,configurable:!0}),t5=(e=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(e,{get:(t,r)=>(typeof require<"u"?require:t)[r]}):e)(function(e){if(typeof require<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+e+'" is not supported')}),r5=(e,t)=>function(){return t||(0,e[eM(e)[0]])((t={exports:{}}).exports,t),t.exports},Gz=(e,t)=>{for(var r in t)Jc(e,r,{get:t[r],enumerable:!0})},Wz=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of eM(t))!zz.call(e,o)&&o!==r&&Jc(e,o,{get:()=>t[o],enumerable:!(n=Vz(t,o))||n.enumerable});return e},n5=(e,t,r)=>(r=e!=null?Uz(Hz(e)):{},Wz(Jc(r,"default",{value:e,enumerable:!0}),e)),Kz={};Gz(Kz,{parameters:()=>tM});var Yz=Object.entries(globalThis.TAGS_OPTIONS??{}).reduce((e,t)=>{const[r,n]=t;return n.excludeFromDocsStories&&(e[r]=!0),e},{}),tM={docs:{renderer:ov(async()=>{const{DocsRenderer:e}=await ot(async()=>{const{DocsRenderer:t}=await import("./WithTooltip-SK46ZJ2J-QQZnlVfm.js").then(r=>r.D);return{DocsRenderer:t}},__vite__mapDeps([19,1,18]),import.meta.url);return new e},"renderer"),stories:{filter:ov(e=>(e.tags||[]).filter(r=>Yz[r]).length===0&&!e.parameters.docs?.disable,"filter")}}};const Xz=Object.freeze(Object.defineProperty({__proto__:null,parameters:tM},Symbol.toStringTag,{value:"Module"})),{global:Qz}=__STORYBOOK_MODULE_GLOBAL__,{global:Zz}=__STORYBOOK_MODULE_GLOBAL__;var{window:eG}=Zz;eG.STORYBOOK_ENV="web-components";const{global:cl}=__STORYBOOK_MODULE_GLOBAL__;function tG(e){if(!e)return!1;if(typeof e=="string")return!0;throw new Error('Provided component needs to be a string. e.g. component: "my-element"')}Yt(tG,"isValidComponent");function rG(e){if(!e)return!1;if(e.tags&&Array.isArray(e.tags)||e.modules&&Array.isArray(e.modules))return!0;throw new Error(`You need to setup valid meta data in your config.js via setCustomElements().
1030
1030
  See the readme of addon-docs for web components for more details.`)}Yt(rG,"isValidMetaData");function nG(e){cl.__STORYBOOK_CUSTOM_ELEMENTS__=e}Yt(nG,"setCustomElements");function rM(e){cl.__STORYBOOK_CUSTOM_ELEMENTS_MANIFEST__=e}Yt(rM,"setCustomElementsManifest");function oG(){return cl.__STORYBOOK_CUSTOM_ELEMENTS__||cl.__STORYBOOK_CUSTOM_ELEMENTS_MANIFEST__}Yt(oG,"getCustomElements");const{setProjectAnnotations:iG,setDefaultProjectAnnotations:sG}=__STORYBOOK_MODULE_PREVIEW_API__;function aG(e){return sG(KI),iG(e)}Yt(aG,"setProjectAnnotations");var{window:lG,EventSource:cG}=Qz;typeof module<"u"&&module?.hot?.decline&&(module.hot.decline(),new cG("__webpack_hmr").addEventListener("message",Yt(function(r){try{const{action:n}=JSON.parse(r.data);n==="built"&&lG.location.reload()}catch{}},"fullPageReload")));const nM={CHILD:2},oM=e=>(...t)=>({_$litDirective$:e,values:t});class iM{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,r,n){this._$Ct=t,this._$AM=r,this._$Ci=n}_$AS(t,r){return this.update(t,r)}update(t,r){return this.render(...r)}}const Ji=(e,t)=>{const r=e._$AN;if(r===void 0)return!1;for(const n of r)n._$AO?.(t,!1),Ji(n,t);return!0},ul=e=>{let t,r;do{if((t=e._$AM)===void 0)break;r=t._$AN,r.delete(e),e=t}while(r?.size===0)},sM=e=>{for(let t;t=e._$AM;e=t){let r=t._$AN;if(r===void 0)t._$AN=r=new Set;else if(r.has(e))break;r.add(e),pG(t)}};function uG(e){this._$AN!==void 0?(ul(this),this._$AM=e,sM(this)):this._$AM=e}function dG(e,t=!1,r=0){const n=this._$AH,o=this._$AN;if(o!==void 0&&o.size!==0)if(t)if(Array.isArray(n))for(let s=r;s<n.length;s++)Ji(n[s],!1),ul(n[s]);else n!=null&&(Ji(n,!1),ul(n));else Ji(this,e)}const pG=e=>{e.type==nM.CHILD&&(e._$AP??=dG,e._$AQ??=uG)};class fG extends iM{constructor(){super(...arguments),this._$AN=void 0}_$AT(t,r,n){super._$AT(t,r,n),sM(this),this.isConnected=t._$AU}_$AO(t,r=!0){t!==this.isConnected&&(this.isConnected=t,t?this.reconnected?.():this.disconnected?.()),r&&(Ji(this,t),ul(this))}setValue(t){if(Nz(this._$Ct))this._$Ct._$AI(t,this);else{const r=[...this._$Ct._$AH];r[this._$Ci]=t,this._$Ct._$AI(r,this,0)}}disconnected(){}reconnected(){}}const aM=Symbol.for(""),mG=e=>{if(e?.r===aM)return e?._$litStatic$},Oi=e=>({_$litStatic$:e,r:aM}),iv=new Map,hG=e=>(t,...r)=>{const n=r.length;let o,s;const a=[],c=[];let u,d=0,p=!1;for(;d<n;){for(u=t[d];d<n&&(s=r[d],(o=mG(s))!==void 0);)u+=o+t[++d],p=!0;d!==n&&c.push(s),a.push(u),d++}if(d===n&&a.push(t[n]),p){const f=a.join("$$lit$$");(t=iv.get(f))===void 0&&(a.raw=a,iv.set(f,t=a)),r=c}return e(t,...r)},sv=hG(GI);class Ep extends iM{constructor(t){if(super(t),this.it=Ve,t.type!==nM.CHILD)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===Ve||t==null)return this._t=void 0,this.it=t;if(t===qn)return t;if(typeof t!="string")throw Error(this.constructor.directiveName+"() called with a non-string value");if(t===this.it)return this._t;this.it=t;const r=[t];return r.raw=r,this._t={_$litType$:this.constructor.resultType,strings:r,values:[]}}}Ep.directiveName="unsafeHTML",Ep.resultType=1;const lM=oM(Ep);var yG=class extends fG{constructor(){super(...arguments),this.prevData={}}render(e){return Ve}update(e,[t]){this.element!==e.element&&(this.element=e.element),this.host=e.options?.host||this.element,this.apply(t),this.groom(t),this.prevData={...t}}apply(e){if(!e)return;const{prevData:t,element:r}=this;for(const n in e){const o=e[n];o!==t[n]&&dl(r,n,o)}}groom(e){const{prevData:t,element:r}=this;if(t)for(const n in t)(!e||!(n in e)&&r[n]===t[n])&&dl(r,n,void 0)}},gG=class extends yG{constructor(){super(...arguments),this.eventData={}}apply(e){if(e)for(const t in e){const r=e[t];r!==this.eventData[t]&&this.applyEvent(t,r)}}applyEvent(e,t){const{prevData:r,element:n}=this;this.eventData[e]=t,r[e]&&n.removeEventListener(e,this,t),n.addEventListener(e,this,t)}groom(e){const{prevData:t,element:r}=this;if(t)for(const n in t)(!e||!(n in e)&&r[n]===t[n])&&this.groomEvent(n,t[n])}groomEvent(e,t){const{element:r}=this;delete this.eventData[e],r.removeEventListener(e,this,t)}handleEvent(e){const t=this.eventData[e.type];typeof t=="function"?t.call(this.host,e):t.handleEvent(e)}disconnected(){const{eventData:e,element:t}=this;for(const r in e){const n=r.slice(1),o=e[r];t.removeEventListener(n,this,o)}}reconnected(){const{eventData:e,element:t}=this;for(const r in e){const n=r.slice(1),o=e[r];t.addEventListener(n,this,o)}}},bG=class extends gG{apply(e){if(!e)return;const{prevData:t,element:r}=this;for(const n in e){const o=e[n];if(o===t[n])continue;const s=n.slice(1);switch(n[0]){case"@":this.eventData[s]=o,this.applyEvent(s,o);break;case".":dl(r,s,o);break;case"?":o?r.setAttribute(s,""):r.removeAttribute(s);break;default:o?r.setAttribute(n,String(o)):r.removeAttribute(n);break}}}groom(e){const{prevData:t,element:r}=this;if(t)for(const n in t){const o=n.slice(1);if(!e||!(n in e)&&r[o]===t[n])switch(n[0]){case"@":this.groomEvent(o,t[n]);break;case".":dl(r,o,void 0);break;case"?":r.removeAttribute(o);break;default:r.removeAttribute(n);break}}}};function dl(e,t,r){try{e[t]=r}catch(n){console.warn(`Could not set property "${t}" on ${e.tagName} because it has no "setter".`,n)}}var vG=oM(bG);const{useArgs:EG}=__STORYBOOK_MODULE_PREVIEW_API__;var TG=new Set(["AnimationEvent","BeforeUnloadEvent","ClipboardEvent","DragEvent","Event","FocusEvent","HashChangeEvent","InputEvent","KeyboardEvent","MessageEvent","MouseEvent","MutationObserver","PageTransitionEvent","PointerEvent","PopStateEvent","ProgressEvent","StorageEvent","TouchEvent","TransitionEvent","UIEvent","WebGLContextEvent","WheelEvent"]);function wG(e,t=[]){return(e.modules?.map(r=>r.declarations?.filter(n=>n.customElement)?.flat())?.flat()||[]).filter(r=>r&&!t?.includes(r.name))}function _G(e,t){return wG(e).find(r=>r?.tagName===t)}function SG(e){const t=o=>o.name+r(o)+n(o),r=o=>o.type?.text?`${o.optional?"?":""}: ${o.type?.text}`:"",n=o=>o.default?` = ${o.default}`:"";return e?.members?.filter(o=>o.kind==="method"&&o.privacy!=="private"&&o.privacy!=="protected"&&!o.name.startsWith("#"))?.map(o=>(o.type={text:`${o.name}(${o.parameters?.map(s=>t(s)).join(", ")||""}) => ${o.return?.type?.text||"void"}`},o))}function PG(e,t={}){return e?.events?.map(n=>{const o=n[`${t.customEventDetailTypePropName}`]?.text||n.type?.text,s=t.overrideCustomEventType?o||"CustomEvent":TG.has(o)?o:o&&o!=="CustomEvent"?`CustomEvent<${o}>`:"CustomEvent";return{...n,type:{text:s}}})||[]}function AG(e,t){if(!t)return e||"";const r=e?`- ${e}`:"";return typeof t=="string"?`@deprecated ${t} ${r}`:`@deprecated ${r}`}function ms(e){return e.trim().replace(/^["'](.+(?=["']$))["']$/,"$1")}var Co={};setTimeout(()=>{Co=globalThis?.__WC_STORYBOOK_HELPERS_CONFIG__||{}});function Yy(e,t=!0){const r={},n={},o={};return e?.members?.forEach(s=>{if(s.kind!=="field")return;const a=e.attributes?.find(E=>s.name===E.fieldName),c=s.name,u=a?n:o;if(r[c]={name:c,table:{disable:!0}},s.privacy==="private"||s.privacy==="protected"||s.static)return;const d=a?.name||s.name,p=Co.typeRef&&s[`${Co.typeRef}`]?.text||s?.type?.text,f=pM(p),h=s.readonly?void 0:ms(s.default||""),y=dM(f,a!==void 0);u[d]={name:d,description:Uc(s.description,c,s.deprecated),defaultValue:h?h==="''"?"":y==="object"?JSON.parse(NG(h)):h:void 0,control:t&&!s.readonly&&y?{type:y}:!1,table:{category:a?"attributes":"properties",defaultValue:{summary:h},type:{summary:p}}};const g=f?.split("|");g&&g?.length>1&&(u[d].options=g.map(E=>ms(E)))}),{resets:r,propArgs:o,attrArgs:n}}function RG(e,t=!0){const r={},n={};return e?.members?.forEach(o=>{if(o.kind!=="field"||(r[o.name]={name:o.name,table:{disable:!0}},o.privacy==="private"||o.privacy==="protected"||o.static))return;const s=Co.typeRef&&o[`${Co.typeRef}`]?.text||o?.type?.text,a=pM(s),c=`${o.name}`,u=dM(a);n[c]={name:o.name,description:o.description,defaultValue:CG(u,o.default),control:t&&!o.readonly&&u?{type:u}:!1,table:{category:"properties",defaultValue:{summary:ms(o.default||"")},type:{summary:s}}};const d=a?.split("|");d&&d?.length>1&&(n[c].options=d.map(p=>ms(p)))}),delete n.ref,{resets:r,args:n}}function cM(e){const t={};return e?.events?.forEach(r=>{const n=`on${r.name}`;t[n]={name:n,description:r.description,control:!1,table:{category:"events"}}}),{args:t}}function Xy(e,t=!0){const r={},n={};return e?.cssProperties?.forEach(o=>{r[o.name]={name:o.name,table:{disable:!0}}}),e?.cssProperties?.forEach(o=>{n[o.name]={name:o.name,description:o.description,defaultValue:o.default,control:t?{type:o.name?.toLowerCase()?.includes("color")?"color":"text"}:!1,table:{category:"css properties"}}}),{resets:r,args:n}}function Qy(e,t=!0){const r={},n={};return e?.cssParts?.forEach(o=>{r[o.name]={name:o.name,table:{disable:!0}},n[`${o.name}-part`]={name:o.name,description:Uc(o.description,t?`${o.name}-part`:""),control:t?"text":!1,table:{category:"css shadow parts"}}}),{resets:r,args:n}}function Zy(e,t=!0){const r={},n={};return e?.cssStates?.forEach(o=>{r[o.name]={name:o.name,table:{disable:!0}},n[`${o.name}-state`]={name:o.name,description:Uc(o.description,t?`${o.name}-state`:""),control:t?"text":!1,table:{category:"css states"}}}),{resets:r,args:n}}function eg(e,t=!0){const r={},n={};return e?.slots?.forEach(o=>{r[o.name]={name:o.name,table:{disable:!0}};const s=o.name||"default";n[`${s}-slot`]={name:s,description:Uc(o.description,t?`${s}-slot`:""),control:t?"text":!1,table:{category:"slots"}}}),{resets:r,args:n}}function OG(e){const t={},r={};return e?.events?.forEach(o=>{r[o.name]={name:o.name,table:{disable:!0}}}),PG(e)?.forEach(o=>{t[`${o.name}-event`]={name:o.name,description:o.description,control:!1,table:{category:"events",type:{summary:o.type.text}}}}),{resets:r,args:t}}function uM(e){const t={};return SG(e)?.forEach(n=>{t[`${n.name}-method`]={name:n.name,description:n.description,control:!1,table:{category:"methods",type:{summary:n.type.text}}}}),{args:t}}function CG(e,t){const r=ms(t||"");return e==="boolean"?r==="true":r==="''"?"":r}function dM(e,t=!1){if(!e)return"text";const r=e.toLowerCase(),n=r.split("|").map(o=>o.trim()).filter(o=>o!==""&&o!=="null"&&o!=="undefined");return xG(r)&&!t?"object":zs(n,"boolean")?"boolean":zs(n,"number")&&!zs(n,"string")?"number":zs(n,"date")?"date":n.length>1?"select":"text"}function xG(e){return e.includes("array")||e.includes("object")||e.includes("{")||e.includes("[")||e.includes("<")}function zs(e=[],t){return e?.find(r=>r===t)!==void 0}function pM(e){return e?e.replace(" | undefined","").replace(" | null","").replace(" | void","").replace(" | any","").replace(" | unknown","").replace(" | string & {}","|").replace(" | (string & {})","|").replace(" | string","|").replace(" | number","|").replace(" | boolean","|").replace(" | object","|").replace(" | Function","|").replace(" | {}","|").replace(" | []","|"):""}function Uc(e,t,r){let n=AG(e,r);return Co.hideArgRef||!t?n:n+=`
1031
1031
 
1032
1032
 
@@ -1061,4 +1061,4 @@ ${o}
1061
1061
  `):""}function LG(e){FG(e),setTimeout(()=>{const t=document.querySelector(e.tagName);pl?.observe(t,{attributes:!0})})}function FG(e){let t=!1;const r=EG()[1],{attrArgs:n}=Yy(e);pl||(pl=new MutationObserver(o=>{o.forEach(s=>{if(s.attributeName==="class"&&t)return;t=!0;const a=n[`${s.attributeName}`];a?.control==="boolean"||a?.control?.type==="boolean"?r({[`${s.attributeName}`]:s.target?.hasAttribute(s.attributeName||"")}):r({[`${s.attributeName}`]:s.target.getAttribute(s.attributeName||"")}),t=!1})}))}var tg=globalThis?.__WC_STORYBOOK_HELPERS_CONFIG__||{},$G={typeRef:"parsedType",categoryOrder:["attributes","properties","slots","cssProps","cssParts","cssStates","methods","events"]};function BG(e){e={...$G,...e},globalThis.__WC_STORYBOOK_HELPERS_CONFIG__=e,tg=e}function o5(e,t){tg=globalThis?.__WC_STORYBOOK_HELPERS_CONFIG__||{};const r=JG(),n=UG(r,e),o=n?.events?.map(c=>c.name)||[],s=VG(n,[]);return{args:mM(s),argTypes:s,reactArgs:zG(n),reactArgTypes:hM(n),events:o,styleTemplate:c=>fM(n,c,[]),template:(c,u)=>IG(n,c,u,s,[],t?.setComponentVariable)}}function JG(){const e=window.__STORYBOOK_CUSTOM_ELEMENTS_MANIFEST__;if(!e)throw new Error(`Custom Elements Manifest not found. Be sure to follow the pre-install steps in this guide:
1062
1062
  https://www.npmjs.com/package/wc-storybook-helpers#before-you-install`);return e}function UG(e,t){const r=_G(e,t);if(!r)throw new Error(`A component with the tag name "${t}" was not found in the Custom Elements Manifest. If it's missing in the CEM, it's often the result of a missing "@tag" or "@tagName" tag in the component's JSDoc.
1063
1063
  Additional information can be found here:
1064
- https://custom-elements-manifest.open-wc.org/analyzer/getting-started/#supported-jsdoc`);return r}function VG(e,t){const r=Xy(e),n=Qy(e),o=eg(e),s=Yy(e),a=OG(e),c=Zy(e),u=uM(e),d={attributes:s.attrArgs,cssParts:n.args,cssProps:r.args,cssStates:c.args,events:a.args,methods:u.args,properties:s.propArgs,slots:o.args},p={};return Object.assign(p,r.resets,n.resets,o.resets,s.resets,a.resets,c.resets,u.resets),tg.categoryOrder?.forEach(f=>{t?.includes(f)||Object.assign(p,d[f])}),p}function mM(e){const t={};for(const[r,n]of Object.entries(e))n?.control&&(t[r]=HG(n.defaultValue)||"");return t}function HG(e){if(typeof e=="string")try{return JSON.parse(e)}catch{return e}return e}function hM(e,t){const r=Xy(e),n=Qy(e),o=eg(e),s=RG(e),a=cM(e),c=Zy(e),u=uM(e),d=globalThis?.__WC_STORYBOOK_HELPERS_CONFIG__||{},p={cssParts:n.args,cssProps:r.args,cssStates:c.args,events:a.args,methods:u.args,properties:s.args,slots:o.args};let f={...r.resets,...n.resets,...o.resets,...s.resets,...a.resets,...c.resets,...u.resets};return d.categoryOrder?.forEach(h=>{f={...f,...p[h]||{}}}),f}function zG(e){const t=mM(hM(e)),r=Object.entries(cM(e)).map(([n])=>({[n]:()=>{}})).reduce((n,o)=>({...n,...o}),{});return{...t,...r}}const GG="1.0.0",WG="",KG=JSON.parse(`[{"kind":"javascript-module","path":"src/components/avatar/Avatar.ts","declarations":[{"kind":"class","description":"An avatar component for displaying user profile images with fallback support.\\n\\nAvatars display user profile images with automatic fallback to initials when\\nthe image fails to load or is not provided.","name":"Avatar","cssProperties":[{"description":"Custom size (overrides size prop)","name":"--avatar-size"},{"description":"Fallback background color (default: purple-600)","name":"--avatar-bg-color"},{"description":"How rounded is the avatar (default: circle)","name":"--avatar-corner-rounding"},{"description":"Optional ring border color","name":"--avatar-ring-color"},{"description":"Ring border width (default: 2px)","name":"--avatar-ring-width"}],"members":[{"kind":"field","name":"src","type":{"text":"string"},"default":"''","description":"Image source URL","attribute":"src"},{"kind":"field","name":"alt","type":{"text":"string"},"default":"''","description":"Alt text for the image","attribute":"alt"},{"kind":"field","name":"fallback","type":{"text":"string"},"default":"''","description":"Fallback text (typically user initials)","attribute":"fallback"},{"kind":"field","name":"size","type":{"text":"'xs' | 'sm' | 'md' | 'lg' | 'xl' | 'xxl'"},"default":"'md'","description":"Size variant.\\n- 'xs': Extra small (1.5rem)\\n- 'sm': Small (2.25rem)\\n- 'md': Medium (2.5rem) - default\\n- 'lg': Large (3rem)\\n- 'xl': Extra large (3.5rem)\\n- 'xxl': Extra extra large (4rem)","attribute":"size"}],"events":[{"type":{"text":"CustomEvent"},"description":"Fired after first render and initialization","name":"btu-avatar-ready"},{"type":{"text":"CustomEvent<{src: string}>"},"description":"Fired when image successfully loads","name":"btu-avatar-image-loaded"},{"type":{"text":"CustomEvent<{src: string, error: Event}>"},"description":"Fired when image fails to load","name":"btu-avatar-image-error"}],"attributes":[{"name":"src","type":{"text":"string"},"default":"''","description":"Image source URL","fieldName":"src","attribute":"src"},{"name":"alt","type":{"text":"string"},"default":"''","description":"Alt text for the image","fieldName":"alt","attribute":"alt"},{"name":"fallback","type":{"text":"string"},"default":"''","description":"Fallback text (typically user initials)","fieldName":"fallback","attribute":"fallback"},{"name":"size","type":{"text":"'xs' | 'sm' | 'md' | 'lg' | 'xl' | 'xxl'"},"default":"'md'","description":"Size variant.\\n- 'xs': Extra small (1.5rem)\\n- 'sm': Small (2.25rem)\\n- 'md': Medium (2.5rem) - default\\n- 'lg': Large (3rem)\\n- 'xl': Extra large (3.5rem)\\n- 'xxl': Extra extra large (4rem)","fieldName":"size","attribute":"size"}],"mixins":[{"name":"EventEmitterMixin","module":"/src/util/EventEmitterMixin.js"},{"name":"ReadyMixin","module":"/src/util/ReadyMixin.js"}],"superclass":{"name":"LitElement","package":"lit"},"tagName":"btu-avatar","customElement":true}],"exports":[{"kind":"js","name":"default","declaration":{"name":"Avatar","module":"src/components/avatar/Avatar.ts"}},{"kind":"custom-element-definition","name":"btu-avatar","declaration":{"name":"Avatar","module":"src/components/avatar/Avatar.ts"}}]},{"kind":"javascript-module","path":"src/components/avatar/AvatarGroup.ts","declarations":[{"kind":"class","description":"A container component for grouping multiple avatars with consistent styling.\\n\\nAvatarGroup wraps multiple avatar elements and provides:\\n- Overflow handling (shows \\"+N\\" for excess avatars)\\n- Consistent spacing and ring borders\\n- Size inheritance for all child avatars","name":"AvatarGroup","members":[{"kind":"field","name":"max","type":{"text":"number | undefined"},"description":"Maximum number of visible avatars. Remaining avatars shown as \\"+N\\"","attribute":"max"},{"kind":"field","name":"size","type":{"text":"'xs' | 'sm' | 'md'"},"default":"'md'","description":"Size variant for all child avatars (unless individually overridden)","attribute":"size"},{"kind":"method","name":"processAvatars","return":{"type":{"text":"void"}},"description":"Process all avatar children: apply size, handle overflow\\nCall this method when avatars are dynamically added or removed"}],"events":[{"type":{"text":"CustomEvent"},"description":"Fired after first render and initialization","name":"btu-avatar-group-ready"},{"type":{"text":"CustomEvent<{hidden: number}>"},"description":"Fired when avatars are hidden due to max limit","name":"btu-avatar-group-overflow"}],"attributes":[{"name":"max","type":{"text":"number | undefined"},"description":"Maximum number of visible avatars. Remaining avatars shown as \\"+N\\"","fieldName":"max","attribute":"max"},{"name":"size","type":{"text":"'xs' | 'sm' | 'md'"},"default":"'md'","description":"Size variant for all child avatars (unless individually overridden)","fieldName":"size","attribute":"size"}],"mixins":[{"name":"EventEmitterMixin","module":"/src/util/EventEmitterMixin.js"},{"name":"ReadyMixin","module":"/src/util/ReadyMixin.js"}],"superclass":{"name":"LitElement","package":"lit"},"tagName":"btu-avatar-group","customElement":true}],"exports":[{"kind":"js","name":"default","declaration":{"name":"AvatarGroup","module":"src/components/avatar/AvatarGroup.ts"}},{"kind":"custom-element-definition","name":"btu-avatar-group","declaration":{"name":"AvatarGroup","module":"src/components/avatar/AvatarGroup.ts"}}]},{"kind":"javascript-module","path":"src/components/badge/Badge.ts","declarations":[{"kind":"class","description":"A badge component for highlighting important information.\\n\\nBadges help highlight notifications, status, or new messages.\\nPrimarily used for communicating secondary or additional information.","name":"Badge","cssProperties":[{"description":"Text color (overrides theme color)","name":"--badge-color-foreground"},{"description":"Background color (overrides theme color)","name":"--badge-color-background"},{"description":"Border radius size (overrides shape default, default: 999px)","name":"--badge-radius-size"},{"description":"Horizontal padding (overrides size default)","name":"--badge-px"},{"description":"Vertical padding (overrides size default)","name":"--badge-py"},{"description":"Size of the dot affordance (default: 6px)","name":"--badge-dot-size"}],"members":[{"kind":"field","name":"variant","type":{"text":"'info' | 'primary' | 'error' | 'success' | 'warning'"},"default":"'info'","description":"Style of the badge.\\n- 'info': Informational (default)\\n- 'primary': Primary action or emphasis\\n- 'error': Error or danger state\\n- 'success': Success or completion state\\n- 'warning': Warning or caution state","attribute":"variant"},{"kind":"field","name":"dot","type":{"text":"boolean"},"default":"false","description":"Should a dot be displayed before the label?","attribute":"dot"},{"kind":"field","name":"size","type":{"text":"string"},"default":"'sm'","description":"Size variant.\\n- 'sm': Small (default)\\n- 'md': Medium\\n- 'lg': Large","attribute":"size"}],"events":[{"type":{"text":"CustomEvent"},"description":"Fired after first render and initialization","name":"btu-badge-ready"}],"attributes":[{"name":"variant","type":{"text":"'info' | 'primary' | 'error' | 'success' | 'warning'"},"default":"'info'","description":"Style of the badge.\\n- 'info': Informational (default)\\n- 'primary': Primary action or emphasis\\n- 'error': Error or danger state\\n- 'success': Success or completion state\\n- 'warning': Warning or caution state","fieldName":"variant","attribute":"variant"},{"name":"dot","type":{"text":"boolean"},"default":"false","description":"Should a dot be displayed before the label?","fieldName":"dot","attribute":"dot"},{"name":"size","type":{"text":"string"},"default":"'sm'","description":"Size variant.\\n- 'sm': Small (default)\\n- 'md': Medium\\n- 'lg': Large","fieldName":"size","attribute":"size"}],"mixins":[{"name":"EventEmitterMixin","module":"/src/util/EventEmitterMixin.js"},{"name":"ReadyMixin","module":"/src/util/ReadyMixin.js"}],"superclass":{"name":"LitElement","package":"lit"},"tagName":"btu-badge","customElement":true}],"exports":[{"kind":"js","name":"default","declaration":{"name":"Badge","module":"src/components/badge/Badge.ts"}},{"kind":"custom-element-definition","name":"btu-badge","declaration":{"name":"Badge","module":"src/components/badge/Badge.ts"}}]},{"kind":"javascript-module","path":"src/components/circular-progress/CircularProgress.ts","declarations":[{"kind":"class","description":"A circular progress indicator for showing loading states or progress.","name":"CircularProgress","cssProperties":[{"description":"Custom progress indicator color (overrides theme color)","name":"--progress-color"},{"description":"Track/background color (overrides default gray-100)","name":"--track-color"},{"description":"Custom size in pixels (overrides size preset)","name":"--progress-size"}],"members":[{"kind":"field","name":"indeterminate","type":{"text":"boolean"},"default":"true","description":"Whether the progress indicator is indeterminate (animated spinner).\\nWhen false, shows determinate progress based on the progress value.","attribute":"indeterminate"},{"kind":"field","name":"size","type":{"text":"'sm' | 'md' | 'lg'"},"default":"'sm'","description":"Size variant.\\n- 'sm': Small (16px) - default\\n- 'md': Medium (32px)\\n- 'lg': Large (48px)","attribute":"size"}],"events":[{"type":{"text":"CustomEvent"},"description":"Fired after first render and initialization","name":"btu-progress-ready"},{"type":{"text":"CustomEvent"},"description":"Fired when determinate progress reaches 100","name":"btu-progress-complete"}],"attributes":[{"name":"indeterminate","type":{"text":"boolean"},"default":"true","description":"Whether the progress indicator is indeterminate (animated spinner).\\nWhen false, shows determinate progress based on the progress value.","fieldName":"indeterminate","attribute":"indeterminate"},{"name":"size","type":{"text":"'sm' | 'md' | 'lg'"},"default":"'sm'","description":"Size variant.\\n- 'sm': Small (16px) - default\\n- 'md': Medium (32px)\\n- 'lg': Large (48px)","fieldName":"size","attribute":"size"}],"mixins":[{"name":"ProgressMixin","module":"/src/util/ProgressMixin.js"},{"name":"EventEmitterMixin","module":"/src/util/EventEmitterMixin.js"},{"name":"ReadyMixin","module":"/src/util/ReadyMixin.js"}],"superclass":{"name":"LitElement","package":"lit"},"tagName":"btu-circular-progress","customElement":true}],"exports":[{"kind":"js","name":"default","declaration":{"name":"CircularProgress","module":"src/components/circular-progress/CircularProgress.ts"}},{"kind":"custom-element-definition","name":"btu-circular-progress","declaration":{"name":"CircularProgress","module":"src/components/circular-progress/CircularProgress.ts"}}]},{"kind":"javascript-module","path":"src/components/icon/Icon.ts","declarations":[{"kind":"class","description":"An icon component for displaying Lucide icons.\\n\\nIcons inherit parent text color by default or can use gradient fills.\\nAll icons are from the Lucide icon library (https://lucide.dev/icons/).\\nSupports both direct SVG rendering and mask-based gradient fills.","name":"Icon","cssProperties":[{"description":"Icon size (overrides size default)","name":"--Icon-size"},{"description":"Icon fill color for filled icons (e.g., \\"currentColor\\")","name":"--Icon-fill"},{"description":"SVG data URI for mask-based rendering","name":"--Icon-svg"}],"members":[{"kind":"field","name":"tagName","static":true,"readonly":true},{"kind":"field","name":"size","type":{"text":"'xs' | 'sm' | 'md' | 'lg' | 'xl'"},"default":"'md'","description":"Size of the icon.\\n- 'xs': Extra small (0.75rem)\\n- 'sm': Small (1rem)\\n- 'md': Medium (1.25rem, default)\\n- 'lg': Large (1.5rem)\\n- 'xl': Extra large (1.75rem)","attribute":"size"},{"kind":"field","name":"symbol","type":{"text":"string"},"default":"'circle-dashed'","description":"Lucide icon name to display.\\nSee https://lucide.dev/icons/ for available icons.","attribute":"symbol"},{"kind":"field","name":"gradient","type":{"text":"'ai' | 'error' | 'gray' | 'primary' | 'purple' | 'rose' | 'success' | 'teal' | 'warning' | undefined"},"description":"Theme color to use for gradient fill.\\nWhen set, icon displays with gradient. When undefined, icon inherits parent text color.","attribute":"gradient"}],"events":[{"type":{"text":"CustomEvent"},"description":"Fired after first render and initialization","name":"btu-icon-ready"}],"attributes":[{"name":"size","type":{"text":"'xs' | 'sm' | 'md' | 'lg' | 'xl'"},"default":"'md'","description":"Size of the icon.\\n- 'xs': Extra small (0.75rem)\\n- 'sm': Small (1rem)\\n- 'md': Medium (1.25rem, default)\\n- 'lg': Large (1.5rem)\\n- 'xl': Extra large (1.75rem)","fieldName":"size","attribute":"size"},{"name":"symbol","type":{"text":"string"},"default":"'circle-dashed'","description":"Lucide icon name to display.\\nSee https://lucide.dev/icons/ for available icons.","fieldName":"symbol","attribute":"symbol"},{"name":"gradient","type":{"text":"'ai' | 'error' | 'gray' | 'primary' | 'purple' | 'rose' | 'success' | 'teal' | 'warning' | undefined"},"description":"Theme color to use for gradient fill.\\nWhen set, icon displays with gradient. When undefined, icon inherits parent text color.","fieldName":"gradient","attribute":"gradient"}],"mixins":[{"name":"EventEmitterMixin","module":"/src/util/EventEmitterMixin.js"},{"name":"ReadyMixin","module":"/src/util/ReadyMixin.js"}],"superclass":{"name":"LitElement","package":"lit"},"tagName":"btu-icon","customElement":true}],"exports":[{"kind":"js","name":"default","declaration":{"name":"Icon","module":"src/components/icon/Icon.ts"}},{"kind":"custom-element-definition","name":"btu-icon","declaration":{"name":"Icon","module":"src/components/icon/Icon.ts"}}]},{"kind":"javascript-module","path":"src/components/linear-progress/LinearProgress.ts","declarations":[{"kind":"class","description":"A horizontal linear progress bar for showing task completion.","name":"LinearProgress","cssProperties":[{"description":"Custom progress bar color (overrides theme color)","name":"--progress-color"},{"description":"Track/background color (overrides default gray-100)","name":"--track-color"}],"members":[],"events":[{"type":{"text":"CustomEvent"},"description":"Fired after first render and initialization","name":"btu-progress-ready"},{"type":{"text":"CustomEvent"},"description":"Fired when progress reaches 100","name":"btu-progress-complete"}],"mixins":[{"name":"ProgressMixin","module":"/src/util/ProgressMixin.js"},{"name":"EventEmitterMixin","module":"/src/util/EventEmitterMixin.js"},{"name":"ReadyMixin","module":"/src/util/ReadyMixin.js"}],"superclass":{"name":"LitElement","package":"lit"},"tagName":"btu-linear-progress","customElement":true}],"exports":[{"kind":"js","name":"default","declaration":{"name":"LinearProgress","module":"src/components/linear-progress/LinearProgress.ts"}},{"kind":"custom-element-definition","name":"btu-linear-progress","declaration":{"name":"LinearProgress","module":"src/components/linear-progress/LinearProgress.ts"}}]}]`),YG={schemaVersion:GG,readme:WG,modules:KG};rM(YG);BG({hideArgRef:!1,typeRef:{"lit-html":"https://lit.dev/docs/api/templates/"},renderDefault:!0});const XG={parameters:{backgrounds:{options:{customColor:{name:"gradient",value:"linear-gradient(330deg, #dee0f0 0, #fefdff 100%)"}}},controls:{expanded:!0,matchers:{color:/(background|color)$/i,date:/Date$/i}}},globalTypes:{theme:{description:"Light/Dark mode for components",toolbar:{title:"Theme",icon:"circlehollow",items:[{value:"light",title:"Light mode",icon:"sun"},{value:"dark",title:"Dark mode",icon:"moon"}],dynamicTitle:!0}}},initialGlobals:{theme:"light"},decorators:[(e,t)=>{const r=t.globals.theme||"light";return GI`<div class="${r==="dark"?"is-dark":""}">${e()}</div>`}]},QG=Object.freeze(Object.defineProperty({__proto__:null,default:XG},Symbol.toStringTag,{value:"Module"}));qy();const{composeConfigs:ZG,PreviewWeb:eW}=__STORYBOOK_MODULE_PREVIEW_API__,tW=(e=[])=>{const t=[e[0]??kz,e[1]??Jz,e[2]??Xz,e[3]??QG];return ZG(t)};window.__STORYBOOK_PREVIEW__=window.__STORYBOOK_PREVIEW__||new eW(sz,tW);window.__STORYBOOK_STORY_STORE__=window.__STORYBOOK_STORY_STORE__||window.__STORYBOOK_PREVIEW__.storyStore;export{zK as A,OK as B,PK as C,kK as D,Ve as E,MK as F,NK as G,AK as H,la as I,IK as J,jK as K,HK as L,BK as M,EK as N,nz as O,TK as P,Iz as Q,sl as R,XK as S,t5 as T,ov as _,n5 as a,r5 as b,O3 as c,O as d,A3 as e,x3 as f,o5 as g,N3 as h,C3 as i,I3 as j,FK as k,LK as l,DK as m,_K as n,xK as o,qK as p,SK as q,wK as r,RK as s,CK as t,$K as u,VK as v,UK as w,GI as x,JK as y,GK as z};
1064
+ https://custom-elements-manifest.open-wc.org/analyzer/getting-started/#supported-jsdoc`);return r}function VG(e,t){const r=Xy(e),n=Qy(e),o=eg(e),s=Yy(e),a=OG(e),c=Zy(e),u=uM(e),d={attributes:s.attrArgs,cssParts:n.args,cssProps:r.args,cssStates:c.args,events:a.args,methods:u.args,properties:s.propArgs,slots:o.args},p={};return Object.assign(p,r.resets,n.resets,o.resets,s.resets,a.resets,c.resets,u.resets),tg.categoryOrder?.forEach(f=>{t?.includes(f)||Object.assign(p,d[f])}),p}function mM(e){const t={};for(const[r,n]of Object.entries(e))n?.control&&(t[r]=HG(n.defaultValue)||"");return t}function HG(e){if(typeof e=="string")try{return JSON.parse(e)}catch{return e}return e}function hM(e,t){const r=Xy(e),n=Qy(e),o=eg(e),s=RG(e),a=cM(e),c=Zy(e),u=uM(e),d=globalThis?.__WC_STORYBOOK_HELPERS_CONFIG__||{},p={cssParts:n.args,cssProps:r.args,cssStates:c.args,events:a.args,methods:u.args,properties:s.args,slots:o.args};let f={...r.resets,...n.resets,...o.resets,...s.resets,...a.resets,...c.resets,...u.resets};return d.categoryOrder?.forEach(h=>{f={...f,...p[h]||{}}}),f}function zG(e){const t=mM(hM(e)),r=Object.entries(cM(e)).map(([n])=>({[n]:()=>{}})).reduce((n,o)=>({...n,...o}),{});return{...t,...r}}const GG="1.0.0",WG="",KG=JSON.parse(`[{"kind":"javascript-module","path":"src/components/avatar/Avatar.ts","declarations":[{"kind":"class","description":"An avatar component for displaying user profile images with fallback support.\\n\\nAvatars display user profile images with automatic fallback to initials when\\nthe image fails to load or is not provided.","name":"Avatar","cssProperties":[{"description":"Custom size (overrides size prop)","name":"--avatar-size"},{"description":"Fallback background color (default: purple-600)","name":"--avatar-bg-color"},{"description":"How rounded is the avatar (default: circle)","name":"--avatar-corner-rounding"},{"description":"Optional ring border color","name":"--avatar-ring-color"},{"description":"Ring border width (default: 2px)","name":"--avatar-ring-width"}],"members":[{"kind":"field","name":"src","type":{"text":"string"},"default":"''","description":"Image source URL","attribute":"src"},{"kind":"field","name":"alt","type":{"text":"string"},"default":"''","description":"Alt text for the image","attribute":"alt"},{"kind":"field","name":"fallback","type":{"text":"string"},"default":"''","description":"Fallback text (typically user initials)","attribute":"fallback"},{"kind":"field","name":"size","type":{"text":"'xs' | 'sm' | 'md' | 'lg' | 'xl' | 'xxl'"},"default":"'md'","description":"Size variant.\\n- 'xs': Extra small (1.5rem)\\n- 'sm': Small (2.25rem)\\n- 'md': Medium (2.5rem) - default\\n- 'lg': Large (3rem)\\n- 'xl': Extra large (3.5rem)\\n- 'xxl': Extra extra large (4rem)","attribute":"size"}],"events":[{"type":{"text":"CustomEvent"},"description":"Fired after first render and initialization","name":"btu-avatar-ready"},{"type":{"text":"CustomEvent<{src: string}>"},"description":"Fired when image successfully loads","name":"btu-avatar-image-loaded"},{"type":{"text":"CustomEvent<{src: string, error: Event}>"},"description":"Fired when image fails to load","name":"btu-avatar-image-error"}],"attributes":[{"name":"src","type":{"text":"string"},"default":"''","description":"Image source URL","fieldName":"src","attribute":"src"},{"name":"alt","type":{"text":"string"},"default":"''","description":"Alt text for the image","fieldName":"alt","attribute":"alt"},{"name":"fallback","type":{"text":"string"},"default":"''","description":"Fallback text (typically user initials)","fieldName":"fallback","attribute":"fallback"},{"name":"size","type":{"text":"'xs' | 'sm' | 'md' | 'lg' | 'xl' | 'xxl'"},"default":"'md'","description":"Size variant.\\n- 'xs': Extra small (1.5rem)\\n- 'sm': Small (2.25rem)\\n- 'md': Medium (2.5rem) - default\\n- 'lg': Large (3rem)\\n- 'xl': Extra large (3.5rem)\\n- 'xxl': Extra extra large (4rem)","fieldName":"size","attribute":"size"}],"mixins":[{"name":"EventEmitterMixin","module":"/src/util/EventEmitterMixin.js"},{"name":"ReadyMixin","module":"/src/util/ReadyMixin.js"}],"superclass":{"name":"LitElement","package":"lit"},"tagName":"btu-avatar","customElement":true}],"exports":[{"kind":"js","name":"default","declaration":{"name":"Avatar","module":"src/components/avatar/Avatar.ts"}},{"kind":"custom-element-definition","name":"btu-avatar","declaration":{"name":"Avatar","module":"src/components/avatar/Avatar.ts"}}]},{"kind":"javascript-module","path":"src/components/avatar/AvatarGroup.ts","declarations":[{"kind":"class","description":"A container component for grouping multiple avatars with consistent styling.\\n\\nAvatarGroup wraps multiple avatar elements and provides:\\n- Overflow handling (shows \\"+N\\" for excess avatars)\\n- Consistent spacing and ring borders\\n- Size inheritance for all child avatars","name":"AvatarGroup","members":[{"kind":"field","name":"max","type":{"text":"number | undefined"},"description":"Maximum number of visible avatars. Remaining avatars shown as \\"+N\\"","attribute":"max"},{"kind":"field","name":"size","type":{"text":"'xs' | 'sm' | 'md'"},"default":"'md'","description":"Size variant for all child avatars (unless individually overridden)","attribute":"size"},{"kind":"method","name":"processAvatars","return":{"type":{"text":"void"}},"description":"Process all avatar children: apply size, handle overflow\\nCall this method when avatars are dynamically added or removed"}],"events":[{"type":{"text":"CustomEvent"},"description":"Fired after first render and initialization","name":"btu-avatar-group-ready"},{"type":{"text":"CustomEvent<{hidden: number}>"},"description":"Fired when avatars are hidden due to max limit","name":"btu-avatar-group-overflow"}],"attributes":[{"name":"max","type":{"text":"number | undefined"},"description":"Maximum number of visible avatars. Remaining avatars shown as \\"+N\\"","fieldName":"max","attribute":"max"},{"name":"size","type":{"text":"'xs' | 'sm' | 'md'"},"default":"'md'","description":"Size variant for all child avatars (unless individually overridden)","fieldName":"size","attribute":"size"}],"mixins":[{"name":"EventEmitterMixin","module":"/src/util/EventEmitterMixin.js"},{"name":"ReadyMixin","module":"/src/util/ReadyMixin.js"}],"superclass":{"name":"LitElement","package":"lit"},"tagName":"btu-avatar-group","customElement":true}],"exports":[{"kind":"js","name":"default","declaration":{"name":"AvatarGroup","module":"src/components/avatar/AvatarGroup.ts"}},{"kind":"custom-element-definition","name":"btu-avatar-group","declaration":{"name":"AvatarGroup","module":"src/components/avatar/AvatarGroup.ts"}}]},{"kind":"javascript-module","path":"src/components/badge/Badge.ts","declarations":[{"kind":"class","description":"A badge component for highlighting important information.\\n\\nBadges help highlight notifications, status, or new messages.\\nPrimarily used for communicating secondary or additional information.","name":"Badge","cssProperties":[{"description":"Text color (overrides theme color)","name":"--badge-color-foreground"},{"description":"Background color (overrides theme color)","name":"--badge-color-background"},{"description":"Border radius size (overrides shape default, default: 999px)","name":"--badge-radius-size"},{"description":"Horizontal padding (overrides size default)","name":"--badge-px"},{"description":"Vertical padding (overrides size default)","name":"--badge-py"},{"description":"Size of the dot affordance (default: 6px)","name":"--badge-dot-size"}],"members":[{"kind":"field","name":"variant","type":{"text":"'info' | 'primary' | 'error' | 'success' | 'warning'"},"default":"'info'","description":"Style of the badge.\\n- 'info': Informational (default)\\n- 'primary': Primary action or emphasis\\n- 'error': Error or danger state\\n- 'success': Success or completion state\\n- 'warning': Warning or caution state","attribute":"variant"},{"kind":"field","name":"dot","type":{"text":"boolean"},"default":"false","description":"Should a dot be displayed before the label?","attribute":"dot"},{"kind":"field","name":"size","type":{"text":"string"},"default":"'sm'","description":"Size variant.\\n- 'sm': Small (default)\\n- 'md': Medium\\n- 'lg': Large","attribute":"size"}],"events":[{"type":{"text":"CustomEvent"},"description":"Fired after first render and initialization","name":"btu-badge-ready"}],"attributes":[{"name":"variant","type":{"text":"'info' | 'primary' | 'error' | 'success' | 'warning'"},"default":"'info'","description":"Style of the badge.\\n- 'info': Informational (default)\\n- 'primary': Primary action or emphasis\\n- 'error': Error or danger state\\n- 'success': Success or completion state\\n- 'warning': Warning or caution state","fieldName":"variant","attribute":"variant"},{"name":"dot","type":{"text":"boolean"},"default":"false","description":"Should a dot be displayed before the label?","fieldName":"dot","attribute":"dot"},{"name":"size","type":{"text":"string"},"default":"'sm'","description":"Size variant.\\n- 'sm': Small (default)\\n- 'md': Medium\\n- 'lg': Large","fieldName":"size","attribute":"size"}],"mixins":[{"name":"EventEmitterMixin","module":"/src/util/EventEmitterMixin.js"},{"name":"ReadyMixin","module":"/src/util/ReadyMixin.js"}],"superclass":{"name":"LitElement","package":"lit"},"tagName":"btu-badge","customElement":true}],"exports":[{"kind":"js","name":"default","declaration":{"name":"Badge","module":"src/components/badge/Badge.ts"}},{"kind":"custom-element-definition","name":"btu-badge","declaration":{"name":"Badge","module":"src/components/badge/Badge.ts"}}]},{"kind":"javascript-module","path":"src/components/circular-progress/CircularProgress.ts","declarations":[{"kind":"class","description":"A circular progress indicator for showing loading states or progress.","name":"CircularProgress","cssProperties":[{"description":"Custom progress indicator color (overrides theme color)","name":"--progress-color"},{"description":"Track/background color (overrides default gray-100)","name":"--track-color"},{"description":"Custom size in pixels (overrides size preset)","name":"--progress-size"}],"members":[{"kind":"field","name":"indeterminate","type":{"text":"boolean"},"default":"true","description":"Whether the progress indicator is indeterminate (animated spinner).\\nWhen false, shows determinate progress based on the progress value.","attribute":"indeterminate"},{"kind":"field","name":"size","type":{"text":"'sm' | 'md' | 'lg'"},"default":"'sm'","description":"Size variant.\\n- 'sm': Small (16px) - default\\n- 'md': Medium (32px)\\n- 'lg': Large (48px)","attribute":"size"}],"events":[{"type":{"text":"CustomEvent"},"description":"Fired after first render and initialization","name":"btu-progress-ready"},{"type":{"text":"CustomEvent"},"description":"Fired when determinate progress reaches 100","name":"btu-progress-complete"}],"attributes":[{"name":"indeterminate","type":{"text":"boolean"},"default":"true","description":"Whether the progress indicator is indeterminate (animated spinner).\\nWhen false, shows determinate progress based on the progress value.","fieldName":"indeterminate","attribute":"indeterminate"},{"name":"size","type":{"text":"'sm' | 'md' | 'lg'"},"default":"'sm'","description":"Size variant.\\n- 'sm': Small (16px) - default\\n- 'md': Medium (32px)\\n- 'lg': Large (48px)","fieldName":"size","attribute":"size"}],"mixins":[{"name":"ProgressMixin","module":"/src/util/ProgressMixin.js"},{"name":"EventEmitterMixin","module":"/src/util/EventEmitterMixin.js"},{"name":"ReadyMixin","module":"/src/util/ReadyMixin.js"}],"superclass":{"name":"LitElement","package":"lit"},"tagName":"btu-circular-progress","customElement":true}],"exports":[{"kind":"js","name":"default","declaration":{"name":"CircularProgress","module":"src/components/circular-progress/CircularProgress.ts"}},{"kind":"custom-element-definition","name":"btu-circular-progress","declaration":{"name":"CircularProgress","module":"src/components/circular-progress/CircularProgress.ts"}}]},{"kind":"javascript-module","path":"src/components/copy-to-clipboard/CopyToClipboard.ts","declarations":[{"kind":"class","description":"A button component that copies text to the system clipboard.\\n\\nProvides visual feedback when text is successfully copied by applying\\na temporary state that can be styled with CSS.","name":"CopyToClipboard","members":[{"kind":"field","name":"copydata","type":{"text":"string | undefined"},"description":"The text to be copied to the system clipboard.","attribute":"copydata"},{"kind":"field","name":"buttonClasses","type":{"text":"string | undefined"},"description":"Custom CSS classes for the button. If provided, replaces the default classes.","attribute":"buttonClasses"},{"kind":"method","name":"copy","description":"Copies the copydata to the system clipboard.\\nDisplays a success state for 3 seconds after copying."}],"events":[{"type":{"text":"CustomEvent"},"description":"Fired after first render and initialization","name":"btu-clipboard-ready"},{"type":{"text":"CustomEvent"},"description":"Fired when text is successfully copied to clipboard","name":"btu-clipboard-copied"}],"attributes":[{"name":"copydata","type":{"text":"string | undefined"},"description":"The text to be copied to the system clipboard.","fieldName":"copydata","attribute":"copydata"},{"name":"buttonClasses","type":{"text":"string | undefined"},"description":"Custom CSS classes for the button. If provided, replaces the default classes.","fieldName":"buttonClasses","attribute":"buttonClasses"}],"mixins":[{"name":"ClipboardMixin","module":"/src/util/ClipboardMixin.js"},{"name":"ComponentStatesMixin","module":"/src/util/ComponentStatesMixin.js"},{"name":"EventEmitterMixin","module":"/src/util/EventEmitterMixin.js"},{"name":"ReadyMixin","module":"/src/util/ReadyMixin.js"}],"superclass":{"name":"LitElement","package":"lit"},"tagName":"btu-copy-to-clipboard","customElement":true}],"exports":[{"kind":"js","name":"default","declaration":{"name":"CopyToClipboard","module":"src/components/copy-to-clipboard/CopyToClipboard.ts"}},{"kind":"custom-element-definition","name":"btu-copy-to-clipboard","declaration":{"name":"CopyToClipboard","module":"src/components/copy-to-clipboard/CopyToClipboard.ts"}}]},{"kind":"javascript-module","path":"src/components/icon/Icon.ts","declarations":[{"kind":"class","description":"An icon component for displaying Lucide icons.\\n\\nIcons inherit parent text color by default or can use gradient fills.\\nAll icons are from the Lucide icon library (https://lucide.dev/icons/).\\nSupports both direct SVG rendering and mask-based gradient fills.","name":"Icon","cssProperties":[{"description":"Icon size (overrides size default)","name":"--Icon-size"},{"description":"Icon fill color for filled icons (e.g., \\"currentColor\\")","name":"--Icon-fill"},{"description":"SVG data URI for mask-based rendering","name":"--Icon-svg"}],"members":[{"kind":"field","name":"tagName","static":true,"readonly":true},{"kind":"field","name":"size","type":{"text":"'xs' | 'sm' | 'md' | 'lg' | 'xl'"},"default":"'md'","description":"Size of the icon.\\n- 'xs': Extra small (0.75rem)\\n- 'sm': Small (1rem)\\n- 'md': Medium (1.25rem, default)\\n- 'lg': Large (1.5rem)\\n- 'xl': Extra large (1.75rem)","attribute":"size"},{"kind":"field","name":"symbol","type":{"text":"string"},"default":"'circle-dashed'","description":"Lucide icon name to display.\\nSee https://lucide.dev/icons/ for available icons.","attribute":"symbol"},{"kind":"field","name":"gradient","type":{"text":"'ai' | 'error' | 'gray' | 'primary' | 'purple' | 'rose' | 'success' | 'teal' | 'warning' | undefined"},"description":"Theme color to use for gradient fill.\\nWhen set, icon displays with gradient. When undefined, icon inherits parent text color.","attribute":"gradient"}],"events":[{"type":{"text":"CustomEvent"},"description":"Fired after first render and initialization","name":"btu-icon-ready"}],"attributes":[{"name":"size","type":{"text":"'xs' | 'sm' | 'md' | 'lg' | 'xl'"},"default":"'md'","description":"Size of the icon.\\n- 'xs': Extra small (0.75rem)\\n- 'sm': Small (1rem)\\n- 'md': Medium (1.25rem, default)\\n- 'lg': Large (1.5rem)\\n- 'xl': Extra large (1.75rem)","fieldName":"size","attribute":"size"},{"name":"symbol","type":{"text":"string"},"default":"'circle-dashed'","description":"Lucide icon name to display.\\nSee https://lucide.dev/icons/ for available icons.","fieldName":"symbol","attribute":"symbol"},{"name":"gradient","type":{"text":"'ai' | 'error' | 'gray' | 'primary' | 'purple' | 'rose' | 'success' | 'teal' | 'warning' | undefined"},"description":"Theme color to use for gradient fill.\\nWhen set, icon displays with gradient. When undefined, icon inherits parent text color.","fieldName":"gradient","attribute":"gradient"}],"mixins":[{"name":"EventEmitterMixin","module":"/src/util/EventEmitterMixin.js"},{"name":"ReadyMixin","module":"/src/util/ReadyMixin.js"}],"superclass":{"name":"LitElement","package":"lit"},"tagName":"btu-icon","customElement":true}],"exports":[{"kind":"js","name":"default","declaration":{"name":"Icon","module":"src/components/icon/Icon.ts"}},{"kind":"custom-element-definition","name":"btu-icon","declaration":{"name":"Icon","module":"src/components/icon/Icon.ts"}}]},{"kind":"javascript-module","path":"src/components/linear-progress/LinearProgress.ts","declarations":[{"kind":"class","description":"A horizontal linear progress bar for showing task completion.","name":"LinearProgress","cssProperties":[{"description":"Custom progress bar color (overrides theme color)","name":"--progress-color"},{"description":"Track/background color (overrides default gray-100)","name":"--track-color"}],"members":[],"events":[{"type":{"text":"CustomEvent"},"description":"Fired after first render and initialization","name":"btu-progress-ready"},{"type":{"text":"CustomEvent"},"description":"Fired when progress reaches 100","name":"btu-progress-complete"}],"mixins":[{"name":"ProgressMixin","module":"/src/util/ProgressMixin.js"},{"name":"EventEmitterMixin","module":"/src/util/EventEmitterMixin.js"},{"name":"ReadyMixin","module":"/src/util/ReadyMixin.js"}],"superclass":{"name":"LitElement","package":"lit"},"tagName":"btu-linear-progress","customElement":true}],"exports":[{"kind":"js","name":"default","declaration":{"name":"LinearProgress","module":"src/components/linear-progress/LinearProgress.ts"}},{"kind":"custom-element-definition","name":"btu-linear-progress","declaration":{"name":"LinearProgress","module":"src/components/linear-progress/LinearProgress.ts"}}]}]`),YG={schemaVersion:GG,readme:WG,modules:KG};rM(YG);BG({hideArgRef:!1,typeRef:{"lit-html":"https://lit.dev/docs/api/templates/"},renderDefault:!0});const XG={parameters:{backgrounds:{options:{customColor:{name:"gradient",value:"linear-gradient(330deg, #dee0f0 0, #fefdff 100%)"}}},controls:{expanded:!0,matchers:{color:/(background|color)$/i,date:/Date$/i}}},globalTypes:{theme:{description:"Light/Dark mode for components",toolbar:{title:"Theme",icon:"circlehollow",items:[{value:"light",title:"Light mode",icon:"sun"},{value:"dark",title:"Dark mode",icon:"moon"}],dynamicTitle:!0}}},initialGlobals:{theme:"light"},decorators:[(e,t)=>{const r=t.globals.theme||"light";return GI`<div class="${r==="dark"?"is-dark":""}">${e()}</div>`}]},QG=Object.freeze(Object.defineProperty({__proto__:null,default:XG},Symbol.toStringTag,{value:"Module"}));qy();const{composeConfigs:ZG,PreviewWeb:eW}=__STORYBOOK_MODULE_PREVIEW_API__,tW=(e=[])=>{const t=[e[0]??kz,e[1]??Jz,e[2]??Xz,e[3]??QG];return ZG(t)};window.__STORYBOOK_PREVIEW__=window.__STORYBOOK_PREVIEW__||new eW(sz,tW);window.__STORYBOOK_STORY_STORE__=window.__STORYBOOK_STORY_STORE__||window.__STORYBOOK_PREVIEW__.storyStore;export{GK as A,zK as B,OK as C,PK as D,Ve as E,kK as F,MK as G,NK as H,AK as I,la as J,IK as K,jK as L,HK as M,BK as N,EK as O,nz as P,TK as Q,Iz as R,XK as S,sl as T,t5 as U,ov as _,n5 as a,r5 as b,O3 as c,O as d,A3 as e,C3 as f,o5 as g,x3 as h,da as i,N3 as j,I3 as k,FK as l,LK as m,DK as n,_K as o,xK as p,qK as q,wK as r,RK as s,SK as t,$K as u,CK as v,VK as w,GI as x,UK as y,JK as z};