@acusti/uikit-docs 0.4.4 → 0.4.6

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 (84) hide show
  1. package/.storybook/main.ts +19 -4
  2. package/CHANGELOG.md +60 -0
  3. package/dist/assets/CSSValueInput-B69U5DrZ.js +5 -0
  4. package/dist/assets/{CSSValueInput-BgAgo3f9.css → CSSValueInput-DKgB9IQs.css} +1 -1
  5. package/dist/assets/CSSValueInput.stories-vCftVQHX.js +113 -0
  6. package/dist/assets/Color-6BZIO3FS-BHsDhiaJ.js +1 -0
  7. package/dist/assets/DatePicker.stories-X2JO2cn6.js +585 -0
  8. package/dist/assets/DocsRenderer-LL677BLK-i2bqAbNY.js +2 -0
  9. package/dist/assets/Dropdown-QkqMQiyU.css +1 -0
  10. package/dist/assets/Dropdown-_IIsqrAA.js +101 -0
  11. package/dist/assets/Dropdown.stories-msGED41R.js +364 -0
  12. package/dist/assets/InputText-_BMv0r1n.css +1 -0
  13. package/dist/assets/InputText.stories-CG1EnzrQ.js +148 -0
  14. package/dist/assets/Introduction-orXeKug7.js +184 -0
  15. package/dist/assets/MonthCalendar.stories-CJT-JiqF.js +177 -0
  16. package/dist/assets/WithTooltip-65CFNBJE-DlgYg9W2.js +9 -0
  17. package/dist/assets/blocks-C4xgyV4X.js +46 -0
  18. package/dist/assets/chunk-242VQQM5-DEt_wvrI.js +1 -0
  19. package/dist/assets/chunk-YKABRMAI-BpCcWWoG.js +18 -0
  20. package/dist/assets/client-Bvdml6v2.js +9 -0
  21. package/dist/assets/clsx-Bdud1Ih_.js +1 -0
  22. package/dist/assets/compiler-runtime-BOsKKfMw.js +1 -0
  23. package/dist/assets/components-CuDS54ZU.js +92 -0
  24. package/dist/assets/dist-6e4YoSiG.js +1 -0
  25. package/dist/assets/dist-BreUZhw6.js +1 -0
  26. package/dist/assets/formatter-EIJCOSYU-4RP_9NAI.js +1 -0
  27. package/dist/assets/iframe-BsC6HWDY.js +1221 -0
  28. package/dist/assets/jsx-runtime-CZwoFFIL.js +1 -0
  29. package/dist/assets/lib-WXkUx4TK.js +1 -0
  30. package/dist/assets/preload-helper-Bhb7V-Yo.js +1 -0
  31. package/dist/assets/react-18-6aLPZbD-.js +1 -0
  32. package/dist/assets/react-DcwytXSz.js +1 -0
  33. package/dist/assets/react-dom-CFVoDXTy.js +1 -0
  34. package/dist/assets/syntaxhighlighter-ED5Y7EFY-BQSv6pbL.js +6 -0
  35. package/dist/assets/theming-DLDZLcJn.js +39 -0
  36. package/dist/assets/useIsOutOfBounds.stories-CI4DMSUD.js +105 -0
  37. package/dist/assets/{useKeyboardEvents-BH4Zd7d3.css → useKeyboardEvents-CKMYGqVT.css} +1 -1
  38. package/dist/assets/useKeyboardEvents.stories-CNX299tr.js +3 -0
  39. package/dist/favicon-wrapper.svg +46 -0
  40. package/dist/favicon.svg +1 -1
  41. package/dist/iframe.html +59 -40
  42. package/dist/index.html +8 -16
  43. package/dist/index.json +1 -1
  44. package/dist/project.json +1 -1
  45. package/dist/sb-addons/docs-1/manager-bundle.js +1 -149
  46. package/dist/sb-addons/storybook-2/manager-bundle.js +1 -1
  47. package/dist/sb-addons/storybook-core-server-presets-0/common-manager-bundle.js +548 -108
  48. package/dist/sb-common-assets/favicon-wrapper.svg +46 -0
  49. package/dist/sb-common-assets/favicon.svg +1 -1
  50. package/dist/sb-manager/globals-runtime.js +73064 -67182
  51. package/dist/sb-manager/globals.js +6 -16
  52. package/dist/sb-manager/manager-stores.js +23 -0
  53. package/dist/sb-manager/runtime.js +17712 -10309
  54. package/dist/vite-inject-mocker-entry.js +2 -0
  55. package/package.json +11 -9
  56. package/stories/CSSValueInput.stories.tsx +1 -1
  57. package/stories/DatePicker.stories.tsx +182 -45
  58. package/stories/InputText.stories.tsx +36 -0
  59. package/tsconfig.json +1 -0
  60. package/tsconfig.tsbuildinfo +1 -1
  61. package/dist/assets/CSSValueInput-BoZriUnh.js +0 -1
  62. package/dist/assets/CSSValueInput.stories-D1VcYZJ0.js +0 -113
  63. package/dist/assets/Color-AVL7NMMY-BeW0C7pE.js +0 -1
  64. package/dist/assets/DatePicker.stories-BSWV31FV.js +0 -244
  65. package/dist/assets/DocsRenderer-PQXLIZUC-D92GwNti.js +0 -2
  66. package/dist/assets/Dropdown-D5cyjefk.css +0 -1
  67. package/dist/assets/Dropdown-DUP_ybXe.js +0 -84
  68. package/dist/assets/Dropdown.stories-2Wtw1otE.js +0 -336
  69. package/dist/assets/InputText-Tkbh5amB.css +0 -1
  70. package/dist/assets/InputText.stories-BYt2Aj0_.js +0 -90
  71. package/dist/assets/Introduction-nSE2hjmb.js +0 -183
  72. package/dist/assets/MonthCalendar.stories-IJrL6wIl.js +0 -169
  73. package/dist/assets/blocks-Du178fXa.js +0 -658
  74. package/dist/assets/client-B2qWCcIR.js +0 -25
  75. package/dist/assets/clsx-hXifHU8N.js +0 -9
  76. package/dist/assets/iframe-ByGa_ItU.js +0 -1102
  77. package/dist/assets/index-BRXcJgsA.js +0 -1
  78. package/dist/assets/index-BVajFqaV.js +0 -1
  79. package/dist/assets/index-DwJ-mRZ2.js +0 -9
  80. package/dist/assets/jsx-runtime-D_zvdyIk.js +0 -9
  81. package/dist/assets/react-18-djOrgGe8.js +0 -1
  82. package/dist/assets/useIsOutOfBounds.stories-e48KZd_G.js +0 -105
  83. package/dist/assets/useKeyboardEvents.stories-CJbDuGfk.js +0 -3
  84. package/dist/sb-manager/globals-module-info.js +0 -797
@@ -0,0 +1,1221 @@
1
+ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./Introduction-orXeKug7.js","./lib-WXkUx4TK.js","./blocks-C4xgyV4X.js","./preload-helper-Bhb7V-Yo.js","./dist-6e4YoSiG.js","./components-CuDS54ZU.js","./react-dom-CFVoDXTy.js","./chunk-242VQQM5-DEt_wvrI.js","./theming-DLDZLcJn.js","./chunk-YKABRMAI-BpCcWWoG.js","./jsx-runtime-CZwoFFIL.js","./CSSValueInput.stories-vCftVQHX.js","./CSSValueInput-B69U5DrZ.js","./clsx-Bdud1Ih_.js","./compiler-runtime-BOsKKfMw.js","./CSSValueInput-DKgB9IQs.css","./InputText-_BMv0r1n.css","./DatePicker.stories-X2JO2cn6.js","./dist-BreUZhw6.js","./DatePicker-l5oaNCVE.css","./Dropdown.stories-msGED41R.js","./Dropdown-_IIsqrAA.js","./Dropdown-QkqMQiyU.css","./InputText.stories-CG1EnzrQ.js","./MonthCalendar.stories-CJT-JiqF.js","./useIsOutOfBounds.stories-CI4DMSUD.js","./useIsOutOfBounds--pZPDsvJ.css","./useKeyboardEvents.stories-CNX299tr.js","./useKeyboardEvents-CKMYGqVT.css","./react-18-6aLPZbD-.js","./client-Bvdml6v2.js","./DocsRenderer-LL677BLK-i2bqAbNY.js"])))=>i.map(i=>d[i]);
2
+ import{t as e}from"./preload-helper-Bhb7V-Yo.js";var t=Object.create,n=Object.defineProperty,r=Object.getOwnPropertyDescriptor,i=Object.getOwnPropertyNames,a=Object.getPrototypeOf,o=Object.prototype.hasOwnProperty,s=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),c=(e,t)=>{let r={};for(var i in e)n(r,i,{get:e[i],enumerable:!0});return t||n(r,Symbol.toStringTag,{value:`Module`}),r},l=(e,t,a,s)=>{if(t&&typeof t==`object`||typeof t==`function`)for(var c=i(t),l=0,u=c.length,d;l<u;l++)d=c[l],!o.call(e,d)&&d!==a&&n(e,d,{get:(e=>t[e]).bind(null,d),enumerable:!(s=r(t,d))||s.enumerable});return e},u=(e,r,i)=>(i=e==null?{}:t(a(e)),l(r||!e||!e.__esModule?n(i,`default`,{value:e,enumerable:!0}):i,e)),d=(e=>typeof require<`u`?require:typeof Proxy<`u`?new Proxy(e,{get:(e,t)=>(typeof require<`u`?require:e)[t]}):e)(function(e){if(typeof require<`u`)return require.apply(this,arguments);throw Error('Calling `require` for "'+e+"\" in an environment that doesn't expose the `require` function. See https://rolldown.rs/in-depth/bundling-cjs#require-external-modules for more details.")});(function(){let e=document.createElement(`link`).relList;if(e&&e.supports&&e.supports(`modulepreload`))return;for(let e of document.querySelectorAll(`link[rel="modulepreload"]`))n(e);new MutationObserver(e=>{for(let t of e)if(t.type===`childList`)for(let e of t.addedNodes)e.tagName===`LINK`&&e.rel===`modulepreload`&&n(e)}).observe(document,{childList:!0,subtree:!0});function t(e){let t={};return e.integrity&&(t.integrity=e.integrity),e.referrerPolicy&&(t.referrerPolicy=e.referrerPolicy),e.crossOrigin===`use-credentials`?t.credentials=`include`:e.crossOrigin===`anonymous`?t.credentials=`omit`:t.credentials=`same-origin`,t}function n(e){if(e.ep)return;e.ep=!0;let n=t(e);fetch(e.href,n)}})();var f=Object.create,p=Object.defineProperty,m=Object.getOwnPropertyDescriptor,h=Object.getOwnPropertyNames,g=Object.getPrototypeOf,_=Object.prototype.hasOwnProperty,v=(e=>typeof d<`u`?d:typeof Proxy<`u`?new Proxy(e,{get:(e,t)=>(typeof d<`u`?d:e)[t]}):e)(function(e){if(typeof d<`u`)return d.apply(this,arguments);throw Error(`Dynamic require of "`+e+`" is not supported`)}),y=(e,t)=>function(){return t||(0,e[h(e)[0]])((t={exports:{}}).exports,t),t.exports},b=(e,t)=>{for(var n in t)p(e,n,{get:t[n],enumerable:!0})},x=(e,t,n,r)=>{if(t&&typeof t==`object`||typeof t==`function`)for(let i of h(t))!_.call(e,i)&&i!==n&&p(e,i,{get:()=>t[i],enumerable:!(r=m(t,i))||r.enumerable});return e},S=(e,t,n)=>(n=e==null?{}:f(g(e)),x(t||!e||!e.__esModule?p(n,`default`,{value:e,enumerable:!0}):n,e)),C=y({"../../node_modules/@ngard/tiny-isequal/index.js"(e){Object.defineProperty(e,`__esModule`,{value:!0}),e.isEqual=(function(){var e=Object.prototype.toString,t=Object.getPrototypeOf,n=Object.getOwnPropertySymbols?function(e){return Object.keys(e).concat(Object.getOwnPropertySymbols(e))}:Object.keys;return function(r,i){return(function r(i,a,o){var s,c,l,u=e.call(i),d=e.call(a);if(i===a)return!0;if(i==null||a==null)return!1;if(o.indexOf(i)>-1&&o.indexOf(a)>-1)return!0;if(o.push(i,a),u!=d||(s=n(i),c=n(a),s.length!=c.length||s.some(function(e){return!r(i[e],a[e],o)})))return!1;switch(u.slice(8,-1)){case`Symbol`:return i.valueOf()==a.valueOf();case`Date`:case`Number`:return+i==+a||+i!=+i&&+a!=+a;case`RegExp`:case`Function`:case`String`:case`Boolean`:return``+i==``+a;case`Set`:case`Map`:s=i.entries(),c=a.entries();do if(!r((l=s.next()).value,c.next().value,o))return!1;while(!l.done);return!0;case`ArrayBuffer`:i=new Uint8Array(i),a=new Uint8Array(a);case`DataView`:i=new Uint8Array(i.buffer),a=new Uint8Array(a.buffer);case`Float32Array`:case`Float64Array`:case`Int8Array`:case`Int16Array`:case`Int32Array`:case`Uint8Array`:case`Uint16Array`:case`Uint32Array`:case`Uint8ClampedArray`:case`Arguments`:case`Array`:if(i.length!=a.length)return!1;for(l=0;l<i.length;l++)if((l in i||l in a)&&(l in i!=l in a||!r(i[l],a[l],o)))return!1;return!0;case`Object`:return r(t(i),t(a),o);default:return!1}})(r,i,[])}})()}}),w=y({"../../node_modules/min-indent/index.js"(e,t){t.exports=e=>{let t=e.match(/^[ \t]*(?=\S)/gm);return t?t.reduce((e,t)=>Math.min(e,t.length),1/0):0}}}),T=y({"../../node_modules/strip-indent/index.js"(e,t){var n=w();t.exports=e=>{let t=n(e);if(t===0)return e;let r=RegExp(`^[ \\t]{${t}}`,`gm`);return e.replace(r,``)}}}),E=y({"../../node_modules/indent-string/index.js"(e,t){t.exports=(e,t=1,n)=>{if(n={indent:` `,includeEmptyLines:!1,...n},typeof e!=`string`)throw TypeError(`Expected \`input\` to be a \`string\`, got \`${typeof e}\``);if(typeof t!=`number`)throw TypeError(`Expected \`count\` to be a \`number\`, got \`${typeof t}\``);if(typeof n.indent!=`string`)throw TypeError(`Expected \`options.indent\` to be a \`string\`, got \`${typeof n.indent}\``);if(t===0)return e;let r=n.includeEmptyLines?/^/gm:/^(?!\s*$)/gm;return e.replace(r,n.indent.repeat(t))}}}),D=y({"../../node_modules/redent/index.js"(e,t){var n=T(),r=E();t.exports=(e,t=0,i)=>r(n(e),t,i)}}),O=y({"../../node_modules/aria-query/lib/util/iteratorProxy.js"(e){Object.defineProperty(e,`__esModule`,{value:!0}),e.default=void 0;function t(){var e=this,t=0,n={"@@iterator":function(){return n},next:function(){if(t<e.length){var n=e[t];return t+=1,{done:!1,value:n}}else return{done:!0}}};return n}e.default=t}}),k=y({"../../node_modules/aria-query/lib/util/iterationDecorator.js"(e){Object.defineProperty(e,`__esModule`,{value:!0}),e.default=i;var t=n(O());function n(e){return e&&e.__esModule?e:{default:e}}function r(e){"@babel/helpers - typeof";return r=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},r(e)}function i(e,n){return typeof Symbol==`function`&&r(Symbol.iterator)===`symbol`&&Object.defineProperty(e,Symbol.iterator,{value:t.default.bind(n)}),e}}}),A=y({"../../node_modules/aria-query/lib/ariaPropsMap.js"(e){Object.defineProperty(e,`__esModule`,{value:!0}),e.default=void 0;var t=n(k());function n(e){return e&&e.__esModule?e:{default:e}}function r(e,t){return c(e)||s(e,t)||a(e,t)||i()}function i(){throw TypeError(`Invalid attempt to destructure non-iterable instance.
3
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function a(e,t){if(e){if(typeof e==`string`)return o(e,t);var n={}.toString.call(e).slice(8,-1);return n===`Object`&&e.constructor&&(n=e.constructor.name),n===`Map`||n===`Set`?Array.from(e):n===`Arguments`||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?o(e,t):void 0}}function o(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function s(e,t){var n=e==null?null:typeof Symbol<`u`&&e[Symbol.iterator]||e[`@@iterator`];if(n!=null){var r,i,a,o,s=[],c=!0,l=!1;try{if(a=(n=n.call(e)).next,t===0){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=a.call(n)).done)&&(s.push(r.value),s.length!==t);c=!0);}catch(e){l=!0,i=e}finally{try{if(!c&&n.return!=null&&(o=n.return(),Object(o)!==o))return}finally{if(l)throw i}}return s}}function c(e){if(Array.isArray(e))return e}var l=[[`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`}]],u={entries:function(){return l},forEach:function(e){for(var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,n=0,i=l;n<i.length;n++){var a=r(i[n],2),o=a[0],s=a[1];e.call(t,s,o,l)}},get:function(e){var t=l.filter(function(t){return t[0]===e})[0];return t&&t[1]},has:function(e){return!!u.get(e)},keys:function(){return l.map(function(e){return r(e,1)[0]})},values:function(){return l.map(function(e){return r(e,2)[1]})}};e.default=(0,t.default)(u,u.entries())}}),j=y({"../../node_modules/aria-query/lib/domMap.js"(e){Object.defineProperty(e,`__esModule`,{value:!0}),e.default=void 0;var t=n(k());function n(e){return e&&e.__esModule?e:{default:e}}function r(e,t){return c(e)||s(e,t)||a(e,t)||i()}function i(){throw TypeError(`Invalid attempt to destructure non-iterable instance.
4
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function a(e,t){if(e){if(typeof e==`string`)return o(e,t);var n={}.toString.call(e).slice(8,-1);return n===`Object`&&e.constructor&&(n=e.constructor.name),n===`Map`||n===`Set`?Array.from(e):n===`Arguments`||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?o(e,t):void 0}}function o(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function s(e,t){var n=e==null?null:typeof Symbol<`u`&&e[Symbol.iterator]||e[`@@iterator`];if(n!=null){var r,i,a,o,s=[],c=!0,l=!1;try{if(a=(n=n.call(e)).next,t===0){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=a.call(n)).done)&&(s.push(r.value),s.length!==t);c=!0);}catch(e){l=!0,i=e}finally{try{if(!c&&n.return!=null&&(o=n.return(),Object(o)!==o))return}finally{if(l)throw i}}return s}}function c(e){if(Array.isArray(e))return e}var l=[[`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}]],u={entries:function(){return l},forEach:function(e){for(var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,n=0,i=l;n<i.length;n++){var a=r(i[n],2),o=a[0],s=a[1];e.call(t,s,o,l)}},get:function(e){var t=l.filter(function(t){return t[0]===e})[0];return t&&t[1]},has:function(e){return!!u.get(e)},keys:function(){return l.map(function(e){return r(e,1)[0]})},values:function(){return l.map(function(e){return r(e,2)[1]})}};e.default=(0,t.default)(u,u.entries())}}),M=y({"../../node_modules/aria-query/lib/etc/roles/abstract/commandRole.js"(e){Object.defineProperty(e,`__esModule`,{value:!0}),e.default=void 0,e.default={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[`author`],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[`roletype`,`widget`]]}}}),N=y({"../../node_modules/aria-query/lib/etc/roles/abstract/compositeRole.js"(e){Object.defineProperty(e,`__esModule`,{value:!0}),e.default=void 0,e.default={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`]]}}}),P=y({"../../node_modules/aria-query/lib/etc/roles/abstract/inputRole.js"(e){Object.defineProperty(e,`__esModule`,{value:!0}),e.default=void 0,e.default={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`]]}}}),ee=y({"../../node_modules/aria-query/lib/etc/roles/abstract/landmarkRole.js"(e){Object.defineProperty(e,`__esModule`,{value:!0}),e.default=void 0,e.default={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[`author`],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[`roletype`,`structure`,`section`]]}}}),te=y({"../../node_modules/aria-query/lib/etc/roles/abstract/rangeRole.js"(e){Object.defineProperty(e,`__esModule`,{value:!0}),e.default=void 0,e.default={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`]]}}}),ne=y({"../../node_modules/aria-query/lib/etc/roles/abstract/roletypeRole.js"(e){Object.defineProperty(e,`__esModule`,{value:!0}),e.default=void 0,e.default={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:[]}}}),F=y({"../../node_modules/aria-query/lib/etc/roles/abstract/sectionRole.js"(e){Object.defineProperty(e,`__esModule`,{value:!0}),e.default=void 0,e.default={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`]]}}}),re=y({"../../node_modules/aria-query/lib/etc/roles/abstract/sectionheadRole.js"(e){Object.defineProperty(e,`__esModule`,{value:!0}),e.default=void 0,e.default={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[`author`,`contents`],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[`roletype`,`structure`]]}}}),ie=y({"../../node_modules/aria-query/lib/etc/roles/abstract/selectRole.js"(e){Object.defineProperty(e,`__esModule`,{value:!0}),e.default=void 0,e.default={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`]]}}}),ae=y({"../../node_modules/aria-query/lib/etc/roles/abstract/structureRole.js"(e){Object.defineProperty(e,`__esModule`,{value:!0}),e.default=void 0,e.default={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[`roletype`]]}}}),I=y({"../../node_modules/aria-query/lib/etc/roles/abstract/widgetRole.js"(e){Object.defineProperty(e,`__esModule`,{value:!0}),e.default=void 0,e.default={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[`roletype`]]}}}),oe=y({"../../node_modules/aria-query/lib/etc/roles/abstract/windowRole.js"(e){Object.defineProperty(e,`__esModule`,{value:!0}),e.default=void 0,e.default={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[`author`],prohibitedProps:[],props:{"aria-modal":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[`roletype`]]}}}),se=y({"../../node_modules/aria-query/lib/etc/roles/ariaAbstractRoles.js"(e){Object.defineProperty(e,`__esModule`,{value:!0}),e.default=void 0;var t=p(M()),n=p(N()),r=p(P()),i=p(ee()),a=p(te()),o=p(ne()),s=p(F()),c=p(re()),l=p(ie()),u=p(ae()),d=p(I()),f=p(oe());function p(e){return e&&e.__esModule?e:{default:e}}e.default=[[`command`,t.default],[`composite`,n.default],[`input`,r.default],[`landmark`,i.default],[`range`,a.default],[`roletype`,o.default],[`section`,s.default],[`sectionhead`,c.default],[`select`,l.default],[`structure`,u.default],[`widget`,d.default],[`window`,f.default]]}}),ce=y({"../../node_modules/aria-query/lib/etc/roles/literal/alertRole.js"(e){Object.defineProperty(e,`__esModule`,{value:!0}),e.default=void 0,e.default={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`]]}}}),le=y({"../../node_modules/aria-query/lib/etc/roles/literal/alertdialogRole.js"(e){Object.defineProperty(e,`__esModule`,{value:!0}),e.default=void 0,e.default={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`]]}}}),ue=y({"../../node_modules/aria-query/lib/etc/roles/literal/applicationRole.js"(e){Object.defineProperty(e,`__esModule`,{value:!0}),e.default=void 0,e.default={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`]]}}}),de=y({"../../node_modules/aria-query/lib/etc/roles/literal/articleRole.js"(e){Object.defineProperty(e,`__esModule`,{value:!0}),e.default=void 0,e.default={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`]]}}}),fe=y({"../../node_modules/aria-query/lib/etc/roles/literal/bannerRole.js"(e){Object.defineProperty(e,`__esModule`,{value:!0}),e.default=void 0,e.default={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`]]}}}),pe=y({"../../node_modules/aria-query/lib/etc/roles/literal/blockquoteRole.js"(e){Object.defineProperty(e,`__esModule`,{value:!0}),e.default=void 0,e.default={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`]]}}}),me=y({"../../node_modules/aria-query/lib/etc/roles/literal/buttonRole.js"(e){Object.defineProperty(e,`__esModule`,{value:!0}),e.default=void 0,e.default={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`]]}}}),he=y({"../../node_modules/aria-query/lib/etc/roles/literal/captionRole.js"(e){Object.defineProperty(e,`__esModule`,{value:!0}),e.default=void 0,e.default={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`]]}}}),ge=y({"../../node_modules/aria-query/lib/etc/roles/literal/cellRole.js"(e){Object.defineProperty(e,`__esModule`,{value:!0}),e.default=void 0,e.default={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=y({"../../node_modules/aria-query/lib/etc/roles/literal/checkboxRole.js"(e){Object.defineProperty(e,`__esModule`,{value:!0}),e.default=void 0,e.default={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`]]}}}),ve=y({"../../node_modules/aria-query/lib/etc/roles/literal/codeRole.js"(e){Object.defineProperty(e,`__esModule`,{value:!0}),e.default=void 0,e.default={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`]]}}}),ye=y({"../../node_modules/aria-query/lib/etc/roles/literal/columnheaderRole.js"(e){Object.defineProperty(e,`__esModule`,{value:!0}),e.default=void 0,e.default={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`]]}}}),be=y({"../../node_modules/aria-query/lib/etc/roles/literal/comboboxRole.js"(e){Object.defineProperty(e,`__esModule`,{value:!0}),e.default=void 0,e.default={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`]]}}}),xe=y({"../../node_modules/aria-query/lib/etc/roles/literal/complementaryRole.js"(e){Object.defineProperty(e,`__esModule`,{value:!0}),e.default=void 0,e.default={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`]]}}}),L=y({"../../node_modules/aria-query/lib/etc/roles/literal/contentinfoRole.js"(e){Object.defineProperty(e,`__esModule`,{value:!0}),e.default=void 0,e.default={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`]]}}}),Se=y({"../../node_modules/aria-query/lib/etc/roles/literal/definitionRole.js"(e){Object.defineProperty(e,`__esModule`,{value:!0}),e.default=void 0,e.default={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`]]}}}),Ce=y({"../../node_modules/aria-query/lib/etc/roles/literal/deletionRole.js"(e){Object.defineProperty(e,`__esModule`,{value:!0}),e.default=void 0,e.default={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`]]}}}),we=y({"../../node_modules/aria-query/lib/etc/roles/literal/dialogRole.js"(e){Object.defineProperty(e,`__esModule`,{value:!0}),e.default=void 0,e.default={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:[`author`],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:`dialog`},module:`HTML`}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[`roletype`,`window`]]}}}),R=y({"../../node_modules/aria-query/lib/etc/roles/literal/directoryRole.js"(e){Object.defineProperty(e,`__esModule`,{value:!0}),e.default=void 0,e.default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[`author`],prohibitedProps:[],props:{},relatedConcepts:[{module:`DAISY Guide`}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[`roletype`,`structure`,`section`,`list`]]}}}),Te=y({"../../node_modules/aria-query/lib/etc/roles/literal/documentRole.js"(e){Object.defineProperty(e,`__esModule`,{value:!0}),e.default=void 0,e.default={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`]]}}}),Ee=y({"../../node_modules/aria-query/lib/etc/roles/literal/emphasisRole.js"(e){Object.defineProperty(e,`__esModule`,{value:!0}),e.default=void 0,e.default={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`]]}}}),De=y({"../../node_modules/aria-query/lib/etc/roles/literal/feedRole.js"(e){Object.defineProperty(e,`__esModule`,{value:!0}),e.default=void 0,e.default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[`author`],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[[`article`]],requiredProps:{},superClass:[[`roletype`,`structure`,`section`,`list`]]}}}),z=y({"../../node_modules/aria-query/lib/etc/roles/literal/figureRole.js"(e){Object.defineProperty(e,`__esModule`,{value:!0}),e.default=void 0,e.default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[`author`],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:`figure`},module:`HTML`}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[`roletype`,`structure`,`section`]]}}}),Oe=y({"../../node_modules/aria-query/lib/etc/roles/literal/formRole.js"(e){Object.defineProperty(e,`__esModule`,{value:!0}),e.default=void 0,e.default={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`]]}}}),ke=y({"../../node_modules/aria-query/lib/etc/roles/literal/genericRole.js"(e){Object.defineProperty(e,`__esModule`,{value:!0}),e.default=void 0,e.default={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`]]}}}),Ae=y({"../../node_modules/aria-query/lib/etc/roles/literal/gridRole.js"(e){Object.defineProperty(e,`__esModule`,{value:!0}),e.default=void 0,e.default={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`]]}}}),je=y({"../../node_modules/aria-query/lib/etc/roles/literal/gridcellRole.js"(e){Object.defineProperty(e,`__esModule`,{value:!0}),e.default=void 0,e.default={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`]]}}}),Me=y({"../../node_modules/aria-query/lib/etc/roles/literal/groupRole.js"(e){Object.defineProperty(e,`__esModule`,{value:!0}),e.default=void 0,e.default={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`]]}}}),Ne=y({"../../node_modules/aria-query/lib/etc/roles/literal/headingRole.js"(e){Object.defineProperty(e,`__esModule`,{value:!0}),e.default=void 0,e.default={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`]]}}}),Pe=y({"../../node_modules/aria-query/lib/etc/roles/literal/imgRole.js"(e){Object.defineProperty(e,`__esModule`,{value:!0}),e.default=void 0,e.default={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`]]}}}),B=y({"../../node_modules/aria-query/lib/etc/roles/literal/insertionRole.js"(e){Object.defineProperty(e,`__esModule`,{value:!0}),e.default=void 0,e.default={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`]]}}}),Fe=y({"../../node_modules/aria-query/lib/etc/roles/literal/linkRole.js"(e){Object.defineProperty(e,`__esModule`,{value:!0}),e.default=void 0,e.default={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`]]}}}),Ie=y({"../../node_modules/aria-query/lib/etc/roles/literal/listRole.js"(e){Object.defineProperty(e,`__esModule`,{value:!0}),e.default=void 0,e.default={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`]]}}}),Le=y({"../../node_modules/aria-query/lib/etc/roles/literal/listboxRole.js"(e){Object.defineProperty(e,`__esModule`,{value:!0}),e.default=void 0,e.default={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:[`author`],prohibitedProps:[],props:{"aria-errormessage":null,"aria-expanded":null,"aria-invalid":null,"aria-multiselectable":null,"aria-readonly":null,"aria-required":null,"aria-orientation":`vertical`},relatedConcepts:[{concept:{attributes:[{constraints:[`>1`],name:`size`}],constraints:[`the size attribute value is greater than 1`],name:`select`},module:`HTML`},{concept:{attributes:[{name:`multiple`}],name:`select`},module:`HTML`},{concept:{name:`datalist`},module:`HTML`},{concept:{name:`list`},module:`ARIA`},{concept:{name:`select`},module:`XForms`}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[[`option`,`group`],[`option`]],requiredProps:{},superClass:[[`roletype`,`widget`,`composite`,`select`],[`roletype`,`structure`,`section`,`group`,`select`]]}}}),Re=y({"../../node_modules/aria-query/lib/etc/roles/literal/listitemRole.js"(e){Object.defineProperty(e,`__esModule`,{value:!0}),e.default=void 0,e.default={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`]]}}}),ze=y({"../../node_modules/aria-query/lib/etc/roles/literal/logRole.js"(e){Object.defineProperty(e,`__esModule`,{value:!0}),e.default=void 0,e.default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[`author`],prohibitedProps:[],props:{"aria-live":`polite`},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[`roletype`,`structure`,`section`]]}}}),Be=y({"../../node_modules/aria-query/lib/etc/roles/literal/mainRole.js"(e){Object.defineProperty(e,`__esModule`,{value:!0}),e.default=void 0,e.default={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`]]}}}),Ve=y({"../../node_modules/aria-query/lib/etc/roles/literal/markRole.js"(e){Object.defineProperty(e,`__esModule`,{value:!0}),e.default=void 0,e.default={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`]]}}}),He=y({"../../node_modules/aria-query/lib/etc/roles/literal/marqueeRole.js"(e){Object.defineProperty(e,`__esModule`,{value:!0}),e.default=void 0,e.default={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:[`author`],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[`roletype`,`structure`,`section`]]}}}),Ue=y({"../../node_modules/aria-query/lib/etc/roles/literal/mathRole.js"(e){Object.defineProperty(e,`__esModule`,{value:!0}),e.default=void 0,e.default={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`]]}}}),We=y({"../../node_modules/aria-query/lib/etc/roles/literal/menuRole.js"(e){Object.defineProperty(e,`__esModule`,{value:!0}),e.default=void 0,e.default={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`]]}}}),Ge=y({"../../node_modules/aria-query/lib/etc/roles/literal/menubarRole.js"(e){Object.defineProperty(e,`__esModule`,{value:!0}),e.default=void 0,e.default={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`]]}}}),Ke=y({"../../node_modules/aria-query/lib/etc/roles/literal/menuitemRole.js"(e){Object.defineProperty(e,`__esModule`,{value:!0}),e.default=void 0,e.default={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`]]}}}),qe=y({"../../node_modules/aria-query/lib/etc/roles/literal/menuitemcheckboxRole.js"(e){Object.defineProperty(e,`__esModule`,{value:!0}),e.default=void 0,e.default={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`]]}}}),V=y({"../../node_modules/aria-query/lib/etc/roles/literal/menuitemradioRole.js"(e){Object.defineProperty(e,`__esModule`,{value:!0}),e.default=void 0,e.default={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`]]}}}),Je=y({"../../node_modules/aria-query/lib/etc/roles/literal/meterRole.js"(e){Object.defineProperty(e,`__esModule`,{value:!0}),e.default=void 0,e.default={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`]]}}}),Ye=y({"../../node_modules/aria-query/lib/etc/roles/literal/navigationRole.js"(e){Object.defineProperty(e,`__esModule`,{value:!0}),e.default=void 0,e.default={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`]]}}}),Xe=y({"../../node_modules/aria-query/lib/etc/roles/literal/noneRole.js"(e){Object.defineProperty(e,`__esModule`,{value:!0}),e.default=void 0,e.default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[]}}}),Ze=y({"../../node_modules/aria-query/lib/etc/roles/literal/noteRole.js"(e){Object.defineProperty(e,`__esModule`,{value:!0}),e.default=void 0,e.default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[`author`],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[`roletype`,`structure`,`section`]]}}}),Qe=y({"../../node_modules/aria-query/lib/etc/roles/literal/optionRole.js"(e){Object.defineProperty(e,`__esModule`,{value:!0}),e.default=void 0,e.default={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=y({"../../node_modules/aria-query/lib/etc/roles/literal/paragraphRole.js"(e){Object.defineProperty(e,`__esModule`,{value:!0}),e.default=void 0,e.default={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`]]}}}),et=y({"../../node_modules/aria-query/lib/etc/roles/literal/presentationRole.js"(e){Object.defineProperty(e,`__esModule`,{value:!0}),e.default=void 0,e.default={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`]]}}}),tt=y({"../../node_modules/aria-query/lib/etc/roles/literal/progressbarRole.js"(e){Object.defineProperty(e,`__esModule`,{value:!0}),e.default=void 0,e.default={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`]]}}}),nt=y({"../../node_modules/aria-query/lib/etc/roles/literal/radioRole.js"(e){Object.defineProperty(e,`__esModule`,{value:!0}),e.default=void 0,e.default={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`]]}}}),rt=y({"../../node_modules/aria-query/lib/etc/roles/literal/radiogroupRole.js"(e){Object.defineProperty(e,`__esModule`,{value:!0}),e.default=void 0,e.default={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`]]}}}),it=y({"../../node_modules/aria-query/lib/etc/roles/literal/regionRole.js"(e){Object.defineProperty(e,`__esModule`,{value:!0}),e.default=void 0,e.default={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`]]}}}),at=y({"../../node_modules/aria-query/lib/etc/roles/literal/rowRole.js"(e){Object.defineProperty(e,`__esModule`,{value:!0}),e.default=void 0,e.default={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`]]}}}),ot=y({"../../node_modules/aria-query/lib/etc/roles/literal/rowgroupRole.js"(e){Object.defineProperty(e,`__esModule`,{value:!0}),e.default=void 0,e.default={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`]]}}}),st=y({"../../node_modules/aria-query/lib/etc/roles/literal/rowheaderRole.js"(e){Object.defineProperty(e,`__esModule`,{value:!0}),e.default=void 0,e.default={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`]]}}}),ct=y({"../../node_modules/aria-query/lib/etc/roles/literal/scrollbarRole.js"(e){Object.defineProperty(e,`__esModule`,{value:!0}),e.default=void 0,e.default={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`]]}}}),H=y({"../../node_modules/aria-query/lib/etc/roles/literal/searchRole.js"(e){Object.defineProperty(e,`__esModule`,{value:!0}),e.default=void 0,e.default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[`author`],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[`roletype`,`structure`,`section`,`landmark`]]}}}),lt=y({"../../node_modules/aria-query/lib/etc/roles/literal/searchboxRole.js"(e){Object.defineProperty(e,`__esModule`,{value:!0}),e.default=void 0,e.default={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`]]}}}),ut=y({"../../node_modules/aria-query/lib/etc/roles/literal/separatorRole.js"(e){Object.defineProperty(e,`__esModule`,{value:!0}),e.default=void 0,e.default={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`]]}}}),dt=y({"../../node_modules/aria-query/lib/etc/roles/literal/sliderRole.js"(e){Object.defineProperty(e,`__esModule`,{value:!0}),e.default=void 0,e.default={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`]]}}}),ft=y({"../../node_modules/aria-query/lib/etc/roles/literal/spinbuttonRole.js"(e){Object.defineProperty(e,`__esModule`,{value:!0}),e.default=void 0,e.default={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`]]}}}),pt=y({"../../node_modules/aria-query/lib/etc/roles/literal/statusRole.js"(e){Object.defineProperty(e,`__esModule`,{value:!0}),e.default=void 0,e.default={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`]]}}}),mt=y({"../../node_modules/aria-query/lib/etc/roles/literal/strongRole.js"(e){Object.defineProperty(e,`__esModule`,{value:!0}),e.default=void 0,e.default={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`]]}}}),ht=y({"../../node_modules/aria-query/lib/etc/roles/literal/subscriptRole.js"(e){Object.defineProperty(e,`__esModule`,{value:!0}),e.default=void 0,e.default={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`]]}}}),gt=y({"../../node_modules/aria-query/lib/etc/roles/literal/superscriptRole.js"(e){Object.defineProperty(e,`__esModule`,{value:!0}),e.default=void 0,e.default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[`prohibited`],prohibitedProps:[`aria-label`,`aria-labelledby`],props:{},relatedConcepts:[{concept:{name:`sup`},module:`HTML`}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[`roletype`,`structure`,`section`]]}}}),_t=y({"../../node_modules/aria-query/lib/etc/roles/literal/switchRole.js"(e){Object.defineProperty(e,`__esModule`,{value:!0}),e.default=void 0,e.default={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`]]}}}),vt=y({"../../node_modules/aria-query/lib/etc/roles/literal/tabRole.js"(e){Object.defineProperty(e,`__esModule`,{value:!0}),e.default=void 0,e.default={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`]]}}}),yt=y({"../../node_modules/aria-query/lib/etc/roles/literal/tableRole.js"(e){Object.defineProperty(e,`__esModule`,{value:!0}),e.default=void 0,e.default={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`]]}}}),bt=y({"../../node_modules/aria-query/lib/etc/roles/literal/tablistRole.js"(e){Object.defineProperty(e,`__esModule`,{value:!0}),e.default=void 0,e.default={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`]]}}}),xt=y({"../../node_modules/aria-query/lib/etc/roles/literal/tabpanelRole.js"(e){Object.defineProperty(e,`__esModule`,{value:!0}),e.default=void 0,e.default={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:[`author`],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[`roletype`,`structure`,`section`]]}}}),St=y({"../../node_modules/aria-query/lib/etc/roles/literal/termRole.js"(e){Object.defineProperty(e,`__esModule`,{value:!0}),e.default=void 0,e.default={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`]]}}}),Ct=y({"../../node_modules/aria-query/lib/etc/roles/literal/textboxRole.js"(e){Object.defineProperty(e,`__esModule`,{value:!0}),e.default=void 0,e.default={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`]]}}}),wt=y({"../../node_modules/aria-query/lib/etc/roles/literal/timeRole.js"(e){Object.defineProperty(e,`__esModule`,{value:!0}),e.default=void 0,e.default={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`]]}}}),Tt=y({"../../node_modules/aria-query/lib/etc/roles/literal/timerRole.js"(e){Object.defineProperty(e,`__esModule`,{value:!0}),e.default=void 0,e.default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[`author`],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[`roletype`,`structure`,`section`,`status`]]}}}),Et=y({"../../node_modules/aria-query/lib/etc/roles/literal/toolbarRole.js"(e){Object.defineProperty(e,`__esModule`,{value:!0}),e.default=void 0,e.default={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`]]}}}),Dt=y({"../../node_modules/aria-query/lib/etc/roles/literal/tooltipRole.js"(e){Object.defineProperty(e,`__esModule`,{value:!0}),e.default=void 0,e.default={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:[`author`,`contents`],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[`roletype`,`structure`,`section`]]}}}),Ot=y({"../../node_modules/aria-query/lib/etc/roles/literal/treeRole.js"(e){Object.defineProperty(e,`__esModule`,{value:!0}),e.default=void 0,e.default={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`]]}}}),kt=y({"../../node_modules/aria-query/lib/etc/roles/literal/treegridRole.js"(e){Object.defineProperty(e,`__esModule`,{value:!0}),e.default=void 0,e.default={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`]]}}}),At=y({"../../node_modules/aria-query/lib/etc/roles/literal/treeitemRole.js"(e){Object.defineProperty(e,`__esModule`,{value:!0}),e.default=void 0,e.default={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`]]}}}),jt=y({"../../node_modules/aria-query/lib/etc/roles/ariaLiteralRoles.js"(e){Object.defineProperty(e,`__esModule`,{value:!0}),e.default=void 0;var t=U(ce()),n=U(le()),r=U(ue()),i=U(de()),a=U(fe()),o=U(pe()),s=U(me()),c=U(he()),l=U(ge()),u=U(_e()),d=U(ve()),f=U(ye()),p=U(be()),m=U(xe()),h=U(L()),g=U(Se()),_=U(Ce()),v=U(we()),y=U(R()),b=U(Te()),x=U(Ee()),S=U(De()),C=U(z()),w=U(Oe()),T=U(ke()),E=U(Ae()),D=U(je()),O=U(Me()),k=U(Ne()),A=U(Pe()),j=U(B()),M=U(Fe()),N=U(Ie()),P=U(Le()),ee=U(Re()),te=U(ze()),ne=U(Be()),F=U(Ve()),re=U(He()),ie=U(Ue()),ae=U(We()),I=U(Ge()),oe=U(Ke()),se=U(qe()),jt=U(V()),Mt=U(Je()),Nt=U(Ye()),Pt=U(Xe()),Ft=U(Ze()),It=U(Qe()),Lt=U($e()),Rt=U(et()),zt=U(tt()),Bt=U(nt()),Vt=U(rt()),Ht=U(it()),Ut=U(at()),Wt=U(ot()),Gt=U(st()),Kt=U(ct()),qt=U(H()),Jt=U(lt()),Yt=U(ut()),Xt=U(dt()),Zt=U(ft()),Qt=U(pt()),$t=U(mt()),en=U(ht()),tn=U(gt()),nn=U(_t()),rn=U(vt()),an=U(yt()),on=U(bt()),sn=U(xt()),cn=U(St()),ln=U(Ct()),un=U(wt()),dn=U(Tt()),fn=U(Et()),pn=U(Dt()),mn=U(Ot()),hn=U(kt()),gn=U(At());function U(e){return e&&e.__esModule?e:{default:e}}e.default=[[`alert`,t.default],[`alertdialog`,n.default],[`application`,r.default],[`article`,i.default],[`banner`,a.default],[`blockquote`,o.default],[`button`,s.default],[`caption`,c.default],[`cell`,l.default],[`checkbox`,u.default],[`code`,d.default],[`columnheader`,f.default],[`combobox`,p.default],[`complementary`,m.default],[`contentinfo`,h.default],[`definition`,g.default],[`deletion`,_.default],[`dialog`,v.default],[`directory`,y.default],[`document`,b.default],[`emphasis`,x.default],[`feed`,S.default],[`figure`,C.default],[`form`,w.default],[`generic`,T.default],[`grid`,E.default],[`gridcell`,D.default],[`group`,O.default],[`heading`,k.default],[`img`,A.default],[`insertion`,j.default],[`link`,M.default],[`list`,N.default],[`listbox`,P.default],[`listitem`,ee.default],[`log`,te.default],[`main`,ne.default],[`mark`,F.default],[`marquee`,re.default],[`math`,ie.default],[`menu`,ae.default],[`menubar`,I.default],[`menuitem`,oe.default],[`menuitemcheckbox`,se.default],[`menuitemradio`,jt.default],[`meter`,Mt.default],[`navigation`,Nt.default],[`none`,Pt.default],[`note`,Ft.default],[`option`,It.default],[`paragraph`,Lt.default],[`presentation`,Rt.default],[`progressbar`,zt.default],[`radio`,Bt.default],[`radiogroup`,Vt.default],[`region`,Ht.default],[`row`,Ut.default],[`rowgroup`,Wt.default],[`rowheader`,Gt.default],[`scrollbar`,Kt.default],[`search`,qt.default],[`searchbox`,Jt.default],[`separator`,Yt.default],[`slider`,Xt.default],[`spinbutton`,Zt.default],[`status`,Qt.default],[`strong`,$t.default],[`subscript`,en.default],[`superscript`,tn.default],[`switch`,nn.default],[`tab`,rn.default],[`table`,an.default],[`tablist`,on.default],[`tabpanel`,sn.default],[`term`,cn.default],[`textbox`,ln.default],[`time`,un.default],[`timer`,dn.default],[`toolbar`,fn.default],[`tooltip`,pn.default],[`tree`,mn.default],[`treegrid`,hn.default],[`treeitem`,gn.default]]}}),Mt=y({"../../node_modules/aria-query/lib/etc/roles/dpub/docAbstractRole.js"(e){Object.defineProperty(e,`__esModule`,{value:!0}),e.default=void 0,e.default={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`]]}}}),Nt=y({"../../node_modules/aria-query/lib/etc/roles/dpub/docAcknowledgmentsRole.js"(e){Object.defineProperty(e,`__esModule`,{value:!0}),e.default=void 0,e.default={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`]]}}}),Pt=y({"../../node_modules/aria-query/lib/etc/roles/dpub/docAfterwordRole.js"(e){Object.defineProperty(e,`__esModule`,{value:!0}),e.default=void 0,e.default={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`]]}}}),Ft=y({"../../node_modules/aria-query/lib/etc/roles/dpub/docAppendixRole.js"(e){Object.defineProperty(e,`__esModule`,{value:!0}),e.default=void 0,e.default={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`]]}}}),It=y({"../../node_modules/aria-query/lib/etc/roles/dpub/docBacklinkRole.js"(e){Object.defineProperty(e,`__esModule`,{value:!0}),e.default=void 0,e.default={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`]]}}}),Lt=y({"../../node_modules/aria-query/lib/etc/roles/dpub/docBiblioentryRole.js"(e){Object.defineProperty(e,`__esModule`,{value:!0}),e.default=void 0,e.default={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`]]}}}),Rt=y({"../../node_modules/aria-query/lib/etc/roles/dpub/docBibliographyRole.js"(e){Object.defineProperty(e,`__esModule`,{value:!0}),e.default=void 0,e.default={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`]]}}}),zt=y({"../../node_modules/aria-query/lib/etc/roles/dpub/docBibliorefRole.js"(e){Object.defineProperty(e,`__esModule`,{value:!0}),e.default=void 0,e.default={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`]]}}}),Bt=y({"../../node_modules/aria-query/lib/etc/roles/dpub/docChapterRole.js"(e){Object.defineProperty(e,`__esModule`,{value:!0}),e.default=void 0,e.default={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`]]}}}),Vt=y({"../../node_modules/aria-query/lib/etc/roles/dpub/docColophonRole.js"(e){Object.defineProperty(e,`__esModule`,{value:!0}),e.default=void 0,e.default={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`]]}}}),Ht=y({"../../node_modules/aria-query/lib/etc/roles/dpub/docConclusionRole.js"(e){Object.defineProperty(e,`__esModule`,{value:!0}),e.default=void 0,e.default={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`]]}}}),Ut=y({"../../node_modules/aria-query/lib/etc/roles/dpub/docCoverRole.js"(e){Object.defineProperty(e,`__esModule`,{value:!0}),e.default=void 0,e.default={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`]]}}}),Wt=y({"../../node_modules/aria-query/lib/etc/roles/dpub/docCreditRole.js"(e){Object.defineProperty(e,`__esModule`,{value:!0}),e.default=void 0,e.default={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`]]}}}),Gt=y({"../../node_modules/aria-query/lib/etc/roles/dpub/docCreditsRole.js"(e){Object.defineProperty(e,`__esModule`,{value:!0}),e.default=void 0,e.default={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`]]}}}),Kt=y({"../../node_modules/aria-query/lib/etc/roles/dpub/docDedicationRole.js"(e){Object.defineProperty(e,`__esModule`,{value:!0}),e.default=void 0,e.default={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`]]}}}),qt=y({"../../node_modules/aria-query/lib/etc/roles/dpub/docEndnoteRole.js"(e){Object.defineProperty(e,`__esModule`,{value:!0}),e.default=void 0,e.default={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`]]}}}),Jt=y({"../../node_modules/aria-query/lib/etc/roles/dpub/docEndnotesRole.js"(e){Object.defineProperty(e,`__esModule`,{value:!0}),e.default=void 0,e.default={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`]]}}}),Yt=y({"../../node_modules/aria-query/lib/etc/roles/dpub/docEpigraphRole.js"(e){Object.defineProperty(e,`__esModule`,{value:!0}),e.default=void 0,e.default={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`]]}}}),Xt=y({"../../node_modules/aria-query/lib/etc/roles/dpub/docEpilogueRole.js"(e){Object.defineProperty(e,`__esModule`,{value:!0}),e.default=void 0,e.default={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`]]}}}),Zt=y({"../../node_modules/aria-query/lib/etc/roles/dpub/docErrataRole.js"(e){Object.defineProperty(e,`__esModule`,{value:!0}),e.default=void 0,e.default={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`]]}}}),Qt=y({"../../node_modules/aria-query/lib/etc/roles/dpub/docExampleRole.js"(e){Object.defineProperty(e,`__esModule`,{value:!0}),e.default=void 0,e.default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[`author`],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[`roletype`,`structure`,`section`]]}}}),$t=y({"../../node_modules/aria-query/lib/etc/roles/dpub/docFootnoteRole.js"(e){Object.defineProperty(e,`__esModule`,{value:!0}),e.default=void 0,e.default={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`]]}}}),en=y({"../../node_modules/aria-query/lib/etc/roles/dpub/docForewordRole.js"(e){Object.defineProperty(e,`__esModule`,{value:!0}),e.default=void 0,e.default={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`]]}}}),tn=y({"../../node_modules/aria-query/lib/etc/roles/dpub/docGlossaryRole.js"(e){Object.defineProperty(e,`__esModule`,{value:!0}),e.default=void 0,e.default={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`]]}}}),nn=y({"../../node_modules/aria-query/lib/etc/roles/dpub/docGlossrefRole.js"(e){Object.defineProperty(e,`__esModule`,{value:!0}),e.default=void 0,e.default={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`]]}}}),rn=y({"../../node_modules/aria-query/lib/etc/roles/dpub/docIndexRole.js"(e){Object.defineProperty(e,`__esModule`,{value:!0}),e.default=void 0,e.default={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`]]}}}),an=y({"../../node_modules/aria-query/lib/etc/roles/dpub/docIntroductionRole.js"(e){Object.defineProperty(e,`__esModule`,{value:!0}),e.default=void 0,e.default={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`]]}}}),on=y({"../../node_modules/aria-query/lib/etc/roles/dpub/docNoterefRole.js"(e){Object.defineProperty(e,`__esModule`,{value:!0}),e.default=void 0,e.default={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`]]}}}),sn=y({"../../node_modules/aria-query/lib/etc/roles/dpub/docNoticeRole.js"(e){Object.defineProperty(e,`__esModule`,{value:!0}),e.default=void 0,e.default={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`]]}}}),cn=y({"../../node_modules/aria-query/lib/etc/roles/dpub/docPagebreakRole.js"(e){Object.defineProperty(e,`__esModule`,{value:!0}),e.default=void 0,e.default={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`]]}}}),ln=y({"../../node_modules/aria-query/lib/etc/roles/dpub/docPagefooterRole.js"(e){Object.defineProperty(e,`__esModule`,{value:!0}),e.default=void 0,e.default={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`]]}}}),un=y({"../../node_modules/aria-query/lib/etc/roles/dpub/docPageheaderRole.js"(e){Object.defineProperty(e,`__esModule`,{value:!0}),e.default=void 0,e.default={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`]]}}}),dn=y({"../../node_modules/aria-query/lib/etc/roles/dpub/docPagelistRole.js"(e){Object.defineProperty(e,`__esModule`,{value:!0}),e.default=void 0,e.default={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`]]}}}),fn=y({"../../node_modules/aria-query/lib/etc/roles/dpub/docPartRole.js"(e){Object.defineProperty(e,`__esModule`,{value:!0}),e.default=void 0,e.default={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`]]}}}),pn=y({"../../node_modules/aria-query/lib/etc/roles/dpub/docPrefaceRole.js"(e){Object.defineProperty(e,`__esModule`,{value:!0}),e.default=void 0,e.default={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`]]}}}),mn=y({"../../node_modules/aria-query/lib/etc/roles/dpub/docPrologueRole.js"(e){Object.defineProperty(e,`__esModule`,{value:!0}),e.default=void 0,e.default={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`]]}}}),hn=y({"../../node_modules/aria-query/lib/etc/roles/dpub/docPullquoteRole.js"(e){Object.defineProperty(e,`__esModule`,{value:!0}),e.default=void 0,e.default={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`]]}}}),gn=y({"../../node_modules/aria-query/lib/etc/roles/dpub/docQnaRole.js"(e){Object.defineProperty(e,`__esModule`,{value:!0}),e.default=void 0,e.default={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`]]}}}),U=y({"../../node_modules/aria-query/lib/etc/roles/dpub/docSubtitleRole.js"(e){Object.defineProperty(e,`__esModule`,{value:!0}),e.default=void 0,e.default={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`]]}}}),_n=y({"../../node_modules/aria-query/lib/etc/roles/dpub/docTipRole.js"(e){Object.defineProperty(e,`__esModule`,{value:!0}),e.default=void 0,e.default={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`]]}}}),vn=y({"../../node_modules/aria-query/lib/etc/roles/dpub/docTocRole.js"(e){Object.defineProperty(e,`__esModule`,{value:!0}),e.default=void 0,e.default={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`]]}}}),yn=y({"../../node_modules/aria-query/lib/etc/roles/ariaDpubRoles.js"(e){Object.defineProperty(e,`__esModule`,{value:!0}),e.default=void 0;var t=I(Mt()),n=I(Nt()),r=I(Pt()),i=I(Ft()),a=I(It()),o=I(Lt()),s=I(Rt()),c=I(zt()),l=I(Bt()),u=I(Vt()),d=I(Ht()),f=I(Ut()),p=I(Wt()),m=I(Gt()),h=I(Kt()),g=I(qt()),_=I(Jt()),v=I(Yt()),y=I(Xt()),b=I(Zt()),x=I(Qt()),S=I($t()),C=I(en()),w=I(tn()),T=I(nn()),E=I(rn()),D=I(an()),O=I(on()),k=I(sn()),A=I(cn()),j=I(ln()),M=I(un()),N=I(dn()),P=I(fn()),ee=I(pn()),te=I(mn()),ne=I(hn()),F=I(gn()),re=I(U()),ie=I(_n()),ae=I(vn());function I(e){return e&&e.__esModule?e:{default:e}}e.default=[[`doc-abstract`,t.default],[`doc-acknowledgments`,n.default],[`doc-afterword`,r.default],[`doc-appendix`,i.default],[`doc-backlink`,a.default],[`doc-biblioentry`,o.default],[`doc-bibliography`,s.default],[`doc-biblioref`,c.default],[`doc-chapter`,l.default],[`doc-colophon`,u.default],[`doc-conclusion`,d.default],[`doc-cover`,f.default],[`doc-credit`,p.default],[`doc-credits`,m.default],[`doc-dedication`,h.default],[`doc-endnote`,g.default],[`doc-endnotes`,_.default],[`doc-epigraph`,v.default],[`doc-epilogue`,y.default],[`doc-errata`,b.default],[`doc-example`,x.default],[`doc-footnote`,S.default],[`doc-foreword`,C.default],[`doc-glossary`,w.default],[`doc-glossref`,T.default],[`doc-index`,E.default],[`doc-introduction`,D.default],[`doc-noteref`,O.default],[`doc-notice`,k.default],[`doc-pagebreak`,A.default],[`doc-pagefooter`,j.default],[`doc-pageheader`,M.default],[`doc-pagelist`,N.default],[`doc-part`,P.default],[`doc-preface`,ee.default],[`doc-prologue`,te.default],[`doc-pullquote`,ne.default],[`doc-qna`,F.default],[`doc-subtitle`,re.default],[`doc-tip`,ie.default],[`doc-toc`,ae.default]]}}),bn=y({"../../node_modules/aria-query/lib/etc/roles/graphics/graphicsDocumentRole.js"(e){Object.defineProperty(e,`__esModule`,{value:!0}),e.default=void 0,e.default={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`]]}}}),xn=y({"../../node_modules/aria-query/lib/etc/roles/graphics/graphicsObjectRole.js"(e){Object.defineProperty(e,`__esModule`,{value:!0}),e.default=void 0,e.default={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`]]}}}),Sn=y({"../../node_modules/aria-query/lib/etc/roles/graphics/graphicsSymbolRole.js"(e){Object.defineProperty(e,`__esModule`,{value:!0}),e.default=void 0,e.default={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`]]}}}),Cn=y({"../../node_modules/aria-query/lib/etc/roles/ariaGraphicsRoles.js"(e){Object.defineProperty(e,`__esModule`,{value:!0}),e.default=void 0;var t=i(bn()),n=i(xn()),r=i(Sn());function i(e){return e&&e.__esModule?e:{default:e}}e.default=[[`graphics-document`,t.default],[`graphics-object`,n.default],[`graphics-symbol`,r.default]]}}),wn=y({"../../node_modules/aria-query/lib/rolesMap.js"(e){Object.defineProperty(e,`__esModule`,{value:!0}),e.default=void 0;var t=o(se()),n=o(jt()),r=o(yn()),i=o(Cn()),a=o(k());function o(e){return e&&e.__esModule?e:{default:e}}function s(e,t){var n=typeof Symbol<`u`&&e[Symbol.iterator]||e[`@@iterator`];if(!n){if(Array.isArray(e)||(n=u(e))||t&&e&&typeof e.length==`number`){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw TypeError(`Invalid attempt to iterate non-iterable instance.
5
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var a,o=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return o=e.done,e},e:function(e){s=!0,a=e},f:function(){try{o||n.return==null||n.return()}finally{if(s)throw a}}}}function c(e,t){return p(e)||f(e,t)||u(e,t)||l()}function l(){throw TypeError(`Invalid attempt to destructure non-iterable instance.
6
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function u(e,t){if(e){if(typeof e==`string`)return d(e,t);var n={}.toString.call(e).slice(8,-1);return n===`Object`&&e.constructor&&(n=e.constructor.name),n===`Map`||n===`Set`?Array.from(e):n===`Arguments`||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?d(e,t):void 0}}function d(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function f(e,t){var n=e==null?null:typeof Symbol<`u`&&e[Symbol.iterator]||e[`@@iterator`];if(n!=null){var r,i,a,o,s=[],c=!0,l=!1;try{if(a=(n=n.call(e)).next,t===0){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=a.call(n)).done)&&(s.push(r.value),s.length!==t);c=!0);}catch(e){l=!0,i=e}finally{try{if(!c&&n.return!=null&&(o=n.return(),Object(o)!==o))return}finally{if(l)throw i}}return s}}function p(e){if(Array.isArray(e))return e}var m=[].concat(t.default,n.default,r.default,i.default);m.forEach(function(e){var t=c(e,2)[1],n=s(t.superClass),r;try{for(n.s();!(r=n.n()).done;){var i=r.value,a=s(i),o;try{var l=function(){var e=o.value,n=m.filter(function(t){return c(t,1)[0]===e})[0];if(n)for(var r=n[1],i=0,a=Object.keys(r.props);i<a.length;i++){var s=a[i];Object.prototype.hasOwnProperty.call(t.props,s)||(t.props[s]=r.props[s])}};for(a.s();!(o=a.n()).done;)l()}catch(e){a.e(e)}finally{a.f()}}}catch(e){n.e(e)}finally{n.f()}});var h={entries:function(){return m},forEach:function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,n=s(m),r;try{for(n.s();!(r=n.n()).done;){var i=c(r.value,2),a=i[0],o=i[1];e.call(t,o,a,m)}}catch(e){n.e(e)}finally{n.f()}},get:function(e){var t=m.filter(function(t){return t[0]===e})[0];return t&&t[1]},has:function(e){return!!h.get(e)},keys:function(){return m.map(function(e){return c(e,1)[0]})},values:function(){return m.map(function(e){return c(e,2)[1]})}};e.default=(0,a.default)(h,h.entries())}}),Tn=y({"../../node_modules/aria-query/lib/elementRoleMap.js"(e){Object.defineProperty(e,`__esModule`,{value:!0}),e.default=void 0;var t=r(k()),n=r(wn());function r(e){return e&&e.__esModule?e:{default:e}}function i(e,t){return l(e)||c(e,t)||o(e,t)||a()}function a(){throw TypeError(`Invalid attempt to destructure non-iterable instance.
7
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function o(e,t){if(e){if(typeof e==`string`)return s(e,t);var n={}.toString.call(e).slice(8,-1);return n===`Object`&&e.constructor&&(n=e.constructor.name),n===`Map`||n===`Set`?Array.from(e):n===`Arguments`||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?s(e,t):void 0}}function s(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function c(e,t){var n=e==null?null:typeof Symbol<`u`&&e[Symbol.iterator]||e[`@@iterator`];if(n!=null){var r,i,a,o,s=[],c=!0,l=!1;try{if(a=(n=n.call(e)).next,t===0){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=a.call(n)).done)&&(s.push(r.value),s.length!==t);c=!0);}catch(e){l=!0,i=e}finally{try{if(!c&&n.return!=null&&(o=n.return(),Object(o)!==o))return}finally{if(l)throw i}}return s}}function l(e){if(Array.isArray(e))return e}var u=[],d=n.default.keys();for(_=0;_<d.length;_++)if(f=d[_],p=n.default.get(f),p)for(m=[].concat(p.baseConcepts,p.relatedConcepts),h=function(){var e=m[g];if(e.module===`HTML`){var t=e.concept;if(t){for(var n=u.filter(function(e){return y(e[0],t)})[0],r=n?n[1]:[],i=!0,a=0;a<r.length;a++)if(r[a]===f){i=!1;break}i&&r.push(f),n||u.push([t,r])}}},g=0;g<m.length;g++)h();var f,p,m,h,g,_,v={entries:function(){return u},forEach:function(e){for(var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,n=0,r=u;n<r.length;n++){var a=i(r[n],2),o=a[0],s=a[1];e.call(t,s,o,u)}},get:function(e){var t=u.filter(function(t){return e.name===t[0].name&&x(e.attributes,t[0].attributes)})[0];return t&&t[1]},has:function(e){return!!v.get(e)},keys:function(){return u.map(function(e){return i(e,1)[0]})},values:function(){return u.map(function(e){return i(e,2)[1]})}};function y(e,t){return e.name===t.name&&b(e.constraints,t.constraints)&&x(e.attributes,t.attributes)}function b(e,t){if(e===void 0&&t!==void 0||e!==void 0&&t===void 0)return!1;if(e!==void 0&&t!==void 0){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(e[n]!==t[n])return!1}return!0}function x(e,t){if(e===void 0&&t!==void 0||e!==void 0&&t===void 0)return!1;if(e!==void 0&&t!==void 0){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++){if(e[n].name!==t[n].name||e[n].value!==t[n].value||e[n].constraints===void 0&&t[n].constraints!==void 0||e[n].constraints!==void 0&&t[n].constraints===void 0)return!1;if(e[n].constraints!==void 0&&t[n].constraints!==void 0){if(e[n].constraints.length!==t[n].constraints.length)return!1;for(var r=0;r<e[n].constraints.length;r++)if(e[n].constraints[r]!==t[n].constraints[r])return!1}}}return!0}e.default=(0,t.default)(v,v.entries())}}),En=y({"../../node_modules/aria-query/lib/roleElementMap.js"(e){Object.defineProperty(e,`__esModule`,{value:!0}),e.default=void 0;var t=r(k()),n=r(wn());function r(e){return e&&e.__esModule?e:{default:e}}function i(e,t){return l(e)||c(e,t)||o(e,t)||a()}function a(){throw TypeError(`Invalid attempt to destructure non-iterable instance.
8
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function o(e,t){if(e){if(typeof e==`string`)return s(e,t);var n={}.toString.call(e).slice(8,-1);return n===`Object`&&e.constructor&&(n=e.constructor.name),n===`Map`||n===`Set`?Array.from(e):n===`Arguments`||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?s(e,t):void 0}}function s(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function c(e,t){var n=e==null?null:typeof Symbol<`u`&&e[Symbol.iterator]||e[`@@iterator`];if(n!=null){var r,i,a,o,s=[],c=!0,l=!1;try{if(a=(n=n.call(e)).next,t===0){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=a.call(n)).done)&&(s.push(r.value),s.length!==t);c=!0);}catch(e){l=!0,i=e}finally{try{if(!c&&n.return!=null&&(o=n.return(),Object(o)!==o))return}finally{if(l)throw i}}return s}}function l(e){if(Array.isArray(e))return e}var u=[],d=n.default.keys();for(y=0;y<d.length;y++)if(f=d[y],p=n.default.get(f),m=[],p){for(h=[].concat(p.baseConcepts,p.relatedConcepts),v=0;v<h.length;v++)g=h[v],g.module===`HTML`&&(_=g.concept,_!=null&&m.push(_));m.length>0&&u.push([f,m])}var f,p,m,h,g,_,v,y,b={entries:function(){return u},forEach:function(e){for(var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,n=0,r=u;n<r.length;n++){var a=i(r[n],2),o=a[0],s=a[1];e.call(t,s,o,u)}},get:function(e){var t=u.filter(function(t){return t[0]===e})[0];return t&&t[1]},has:function(e){return!!b.get(e)},keys:function(){return u.map(function(e){return i(e,1)[0]})},values:function(){return u.map(function(e){return i(e,2)[1]})}};e.default=(0,t.default)(b,b.entries())}}),Dn=y({"../../node_modules/aria-query/lib/index.js"(e){Object.defineProperty(e,`__esModule`,{value:!0}),e.roles=e.roleElements=e.elementRoles=e.dom=e.aria=void 0;var t=o(A()),n=o(j()),r=o(wn()),i=o(Tn()),a=o(En());function o(e){return e&&e.__esModule?e:{default:e}}e.aria=t.default,e.dom=n.default,e.roles=r.default,e.elementRoles=i.default,e.roleElements=a.default}}),On=y({"../../node_modules/color-name/index.js"(e,t){t.exports={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}}}),kn=y({"../../node_modules/color-convert/conversions.js"(e,t){var n=On(),r={};for(let e of Object.keys(n))r[n[e]]=e;var i={rgb:{channels:3,labels:`rgb`},hsl:{channels:3,labels:`hsl`},hsv:{channels:3,labels:`hsv`},hwb:{channels:3,labels:`hwb`},cmyk:{channels:4,labels:`cmyk`},xyz:{channels:3,labels:`xyz`},lab:{channels:3,labels:`lab`},lch:{channels:3,labels:`lch`},hex:{channels:1,labels:[`hex`]},keyword:{channels:1,labels:[`keyword`]},ansi16:{channels:1,labels:[`ansi16`]},ansi256:{channels:1,labels:[`ansi256`]},hcg:{channels:3,labels:[`h`,`c`,`g`]},apple:{channels:3,labels:[`r16`,`g16`,`b16`]},gray:{channels:1,labels:[`gray`]}};t.exports=i;for(let e of Object.keys(i)){if(!(`channels`in i[e]))throw Error(`missing channels property: `+e);if(!(`labels`in i[e]))throw Error(`missing channel labels property: `+e);if(i[e].labels.length!==i[e].channels)throw Error(`channel and label counts mismatch: `+e);let{channels:t,labels:n}=i[e];delete i[e].channels,delete i[e].labels,Object.defineProperty(i[e],`channels`,{value:t}),Object.defineProperty(i[e],`labels`,{value:n})}i.rgb.hsl=function(e){let t=e[0]/255,n=e[1]/255,r=e[2]/255,i=Math.min(t,n,r),a=Math.max(t,n,r),o=a-i,s,c;a===i?s=0:t===a?s=(n-r)/o:n===a?s=2+(r-t)/o:r===a&&(s=4+(t-n)/o),s=Math.min(s*60,360),s<0&&(s+=360);let l=(i+a)/2;return c=a===i?0:l<=.5?o/(a+i):o/(2-a-i),[s,c*100,l*100]},i.rgb.hsv=function(e){let t,n,r,i,a,o=e[0]/255,s=e[1]/255,c=e[2]/255,l=Math.max(o,s,c),u=l-Math.min(o,s,c),d=function(e){return(l-e)/6/u+1/2};return u===0?(i=0,a=0):(a=u/l,t=d(o),n=d(s),r=d(c),o===l?i=r-n:s===l?i=1/3+t-r:c===l&&(i=2/3+n-t),i<0?i+=1:i>1&&--i),[i*360,a*100,l*100]},i.rgb.hwb=function(e){let t=e[0],n=e[1],r=e[2],a=i.rgb.hsl(e)[0],o=1/255*Math.min(t,Math.min(n,r));return r=1-1/255*Math.max(t,Math.max(n,r)),[a,o*100,r*100]},i.rgb.cmyk=function(e){let t=e[0]/255,n=e[1]/255,r=e[2]/255,i=Math.min(1-t,1-n,1-r),a=(1-t-i)/(1-i)||0,o=(1-n-i)/(1-i)||0,s=(1-r-i)/(1-i)||0;return[a*100,o*100,s*100,i*100]};function a(e,t){return(e[0]-t[0])**2+(e[1]-t[1])**2+(e[2]-t[2])**2}i.rgb.keyword=function(e){let t=r[e];if(t)return t;let i=1/0,o;for(let t of Object.keys(n)){let r=n[t],s=a(e,r);s<i&&(i=s,o=t)}return o},i.keyword.rgb=function(e){return n[e]},i.rgb.xyz=function(e){let t=e[0]/255,n=e[1]/255,r=e[2]/255;t=t>.04045?((t+.055)/1.055)**2.4:t/12.92,n=n>.04045?((n+.055)/1.055)**2.4:n/12.92,r=r>.04045?((r+.055)/1.055)**2.4:r/12.92;let i=t*.4124+n*.3576+r*.1805,a=t*.2126+n*.7152+r*.0722,o=t*.0193+n*.1192+r*.9505;return[i*100,a*100,o*100]},i.rgb.lab=function(e){let t=i.rgb.xyz(e),n=t[0],r=t[1],a=t[2];return n/=95.047,r/=100,a/=108.883,n=n>.008856?n**(1/3):7.787*n+16/116,r=r>.008856?r**(1/3):7.787*r+16/116,a=a>.008856?a**(1/3):7.787*a+16/116,[116*r-16,500*(n-r),200*(r-a)]},i.hsl.rgb=function(e){let t=e[0]/360,n=e[1]/100,r=e[2]/100,i,a,o;if(n===0)return o=r*255,[o,o,o];i=r<.5?r*(1+n):r+n-r*n;let s=2*r-i,c=[0,0,0];for(let e=0;e<3;e++)a=t+1/3*-(e-1),a<0&&a++,a>1&&a--,o=6*a<1?s+(i-s)*6*a:2*a<1?i:3*a<2?s+(i-s)*(2/3-a)*6:s,c[e]=o*255;return c},i.hsl.hsv=function(e){let t=e[0],n=e[1]/100,r=e[2]/100,i=n,a=Math.max(r,.01);r*=2,n*=r<=1?r:2-r,i*=a<=1?a:2-a;let o=(r+n)/2;return[t,(r===0?2*i/(a+i):2*n/(r+n))*100,o*100]},i.hsv.rgb=function(e){let t=e[0]/60,n=e[1]/100,r=e[2]/100,i=Math.floor(t)%6,a=t-Math.floor(t),o=255*r*(1-n),s=255*r*(1-n*a),c=255*r*(1-n*(1-a));switch(r*=255,i){case 0:return[r,c,o];case 1:return[s,r,o];case 2:return[o,r,c];case 3:return[o,s,r];case 4:return[c,o,r];case 5:return[r,o,s]}},i.hsv.hsl=function(e){let t=e[0],n=e[1]/100,r=e[2]/100,i=Math.max(r,.01),a,o;o=(2-n)*r;let s=(2-n)*i;return a=n*i,a/=s<=1?s:2-s,a||=0,o/=2,[t,a*100,o*100]},i.hwb.rgb=function(e){let t=e[0]/360,n=e[1]/100,r=e[2]/100,i=n+r,a;i>1&&(n/=i,r/=i);let o=Math.floor(6*t),s=1-r;a=6*t-o,o&1&&(a=1-a);let c=n+a*(s-n),l,u,d;switch(o){default:case 6:case 0:l=s,u=c,d=n;break;case 1:l=c,u=s,d=n;break;case 2:l=n,u=s,d=c;break;case 3:l=n,u=c,d=s;break;case 4:l=c,u=n,d=s;break;case 5:l=s,u=n,d=c;break}return[l*255,u*255,d*255]},i.cmyk.rgb=function(e){let t=e[0]/100,n=e[1]/100,r=e[2]/100,i=e[3]/100,a=1-Math.min(1,t*(1-i)+i),o=1-Math.min(1,n*(1-i)+i),s=1-Math.min(1,r*(1-i)+i);return[a*255,o*255,s*255]},i.xyz.rgb=function(e){let t=e[0]/100,n=e[1]/100,r=e[2]/100,i,a,o;return i=t*3.2406+n*-1.5372+r*-.4986,a=t*-.9689+n*1.8758+r*.0415,o=t*.0557+n*-.204+r*1.057,i=i>.0031308?1.055*i**(1/2.4)-.055:i*12.92,a=a>.0031308?1.055*a**(1/2.4)-.055:a*12.92,o=o>.0031308?1.055*o**(1/2.4)-.055:o*12.92,i=Math.min(Math.max(0,i),1),a=Math.min(Math.max(0,a),1),o=Math.min(Math.max(0,o),1),[i*255,a*255,o*255]},i.xyz.lab=function(e){let t=e[0],n=e[1],r=e[2];return t/=95.047,n/=100,r/=108.883,t=t>.008856?t**(1/3):7.787*t+16/116,n=n>.008856?n**(1/3):7.787*n+16/116,r=r>.008856?r**(1/3):7.787*r+16/116,[116*n-16,500*(t-n),200*(n-r)]},i.lab.xyz=function(e){let t=e[0],n=e[1],r=e[2],i,a,o;a=(t+16)/116,i=n/500+a,o=a-r/200;let s=a**3,c=i**3,l=o**3;return a=s>.008856?s:(a-16/116)/7.787,i=c>.008856?c:(i-16/116)/7.787,o=l>.008856?l:(o-16/116)/7.787,i*=95.047,a*=100,o*=108.883,[i,a,o]},i.lab.lch=function(e){let t=e[0],n=e[1],r=e[2],i;return i=Math.atan2(r,n)*360/2/Math.PI,i<0&&(i+=360),[t,Math.sqrt(n*n+r*r),i]},i.lch.lab=function(e){let t=e[0],n=e[1],r=e[2]/360*2*Math.PI;return[t,n*Math.cos(r),n*Math.sin(r)]},i.rgb.ansi16=function(e,t=null){let[n,r,a]=e,o=t===null?i.rgb.hsv(e)[2]:t;if(o=Math.round(o/50),o===0)return 30;let s=30+(Math.round(a/255)<<2|Math.round(r/255)<<1|Math.round(n/255));return o===2&&(s+=60),s},i.hsv.ansi16=function(e){return i.rgb.ansi16(i.hsv.rgb(e),e[2])},i.rgb.ansi256=function(e){let t=e[0],n=e[1],r=e[2];return t===n&&n===r?t<8?16:t>248?231:Math.round((t-8)/247*24)+232:16+36*Math.round(t/255*5)+6*Math.round(n/255*5)+Math.round(r/255*5)},i.ansi16.rgb=function(e){let t=e%10;if(t===0||t===7)return e>50&&(t+=3.5),t=t/10.5*255,[t,t,t];let n=(~~(e>50)+1)*.5;return[(t&1)*n*255,(t>>1&1)*n*255,(t>>2&1)*n*255]},i.ansi256.rgb=function(e){if(e>=232){let t=(e-232)*10+8;return[t,t,t]}e-=16;let t;return[Math.floor(e/36)/5*255,Math.floor((t=e%36)/6)/5*255,t%6/5*255]},i.rgb.hex=function(e){let t=(((Math.round(e[0])&255)<<16)+((Math.round(e[1])&255)<<8)+(Math.round(e[2])&255)).toString(16).toUpperCase();return`000000`.substring(t.length)+t},i.hex.rgb=function(e){let t=e.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!t)return[0,0,0];let n=t[0];t[0].length===3&&(n=n.split(``).map(e=>e+e).join(``));let r=parseInt(n,16);return[r>>16&255,r>>8&255,r&255]},i.rgb.hcg=function(e){let t=e[0]/255,n=e[1]/255,r=e[2]/255,i=Math.max(Math.max(t,n),r),a=Math.min(Math.min(t,n),r),o=i-a,s,c;return s=o<1?a/(1-o):0,c=o<=0?0:i===t?(n-r)/o%6:i===n?2+(r-t)/o:4+(t-n)/o,c/=6,c%=1,[c*360,o*100,s*100]},i.hsl.hcg=function(e){let t=e[1]/100,n=e[2]/100,r=n<.5?2*t*n:2*t*(1-n),i=0;return r<1&&(i=(n-.5*r)/(1-r)),[e[0],r*100,i*100]},i.hsv.hcg=function(e){let t=e[1]/100,n=e[2]/100,r=t*n,i=0;return r<1&&(i=(n-r)/(1-r)),[e[0],r*100,i*100]},i.hcg.rgb=function(e){let t=e[0]/360,n=e[1]/100,r=e[2]/100;if(n===0)return[r*255,r*255,r*255];let i=[0,0,0],a=t%1*6,o=a%1,s=1-o,c=0;switch(Math.floor(a)){case 0:i[0]=1,i[1]=o,i[2]=0;break;case 1:i[0]=s,i[1]=1,i[2]=0;break;case 2:i[0]=0,i[1]=1,i[2]=o;break;case 3:i[0]=0,i[1]=s,i[2]=1;break;case 4:i[0]=o,i[1]=0,i[2]=1;break;default:i[0]=1,i[1]=0,i[2]=s}return c=(1-n)*r,[(n*i[0]+c)*255,(n*i[1]+c)*255,(n*i[2]+c)*255]},i.hcg.hsv=function(e){let t=e[1]/100,n=t+e[2]/100*(1-t),r=0;return n>0&&(r=t/n),[e[0],r*100,n*100]},i.hcg.hsl=function(e){let t=e[1]/100,n=e[2]/100*(1-t)+.5*t,r=0;return n>0&&n<.5?r=t/(2*n):n>=.5&&n<1&&(r=t/(2*(1-n))),[e[0],r*100,n*100]},i.hcg.hwb=function(e){let t=e[1]/100,n=t+e[2]/100*(1-t);return[e[0],(n-t)*100,(1-n)*100]},i.hwb.hcg=function(e){let t=e[1]/100,n=1-e[2]/100,r=n-t,i=0;return r<1&&(i=(n-r)/(1-r)),[e[0],r*100,i*100]},i.apple.rgb=function(e){return[e[0]/65535*255,e[1]/65535*255,e[2]/65535*255]},i.rgb.apple=function(e){return[e[0]/255*65535,e[1]/255*65535,e[2]/255*65535]},i.gray.rgb=function(e){return[e[0]/100*255,e[0]/100*255,e[0]/100*255]},i.gray.hsl=function(e){return[0,0,e[0]]},i.gray.hsv=i.gray.hsl,i.gray.hwb=function(e){return[0,100,e[0]]},i.gray.cmyk=function(e){return[0,0,0,e[0]]},i.gray.lab=function(e){return[e[0],0,0]},i.gray.hex=function(e){let t=Math.round(e[0]/100*255)&255,n=((t<<16)+(t<<8)+t).toString(16).toUpperCase();return`000000`.substring(n.length)+n},i.rgb.gray=function(e){return[(e[0]+e[1]+e[2])/3/255*100]}}}),An=y({"../../node_modules/color-convert/route.js"(e,t){var n=kn();function r(){let e={},t=Object.keys(n);for(let n=t.length,r=0;r<n;r++)e[t[r]]={distance:-1,parent:null};return e}function i(e){let t=r(),i=[e];for(t[e].distance=0;i.length;){let e=i.pop(),r=Object.keys(n[e]);for(let n=r.length,a=0;a<n;a++){let n=r[a],o=t[n];o.distance===-1&&(o.distance=t[e].distance+1,o.parent=e,i.unshift(n))}}return t}function a(e,t){return function(n){return t(e(n))}}function o(e,t){let r=[t[e].parent,e],i=n[t[e].parent][e],o=t[e].parent;for(;t[o].parent;)r.unshift(t[o].parent),i=a(n[t[o].parent][o],i),o=t[o].parent;return i.conversion=r,i}t.exports=function(e){let t=i(e),n={},r=Object.keys(t);for(let e=r.length,i=0;i<e;i++){let e=r[i];t[e].parent!==null&&(n[e]=o(e,t))}return n}}}),jn=y({"../../node_modules/color-convert/index.js"(e,t){var n=kn(),r=An(),i={},a=Object.keys(n);function o(e){let t=function(...t){let n=t[0];return n==null?n:(n.length>1&&(t=n),e(t))};return`conversion`in e&&(t.conversion=e.conversion),t}function s(e){let t=function(...t){let n=t[0];if(n==null)return n;n.length>1&&(t=n);let r=e(t);if(typeof r==`object`)for(let e=r.length,t=0;t<e;t++)r[t]=Math.round(r[t]);return r};return`conversion`in e&&(t.conversion=e.conversion),t}a.forEach(e=>{i[e]={},Object.defineProperty(i[e],`channels`,{value:n[e].channels}),Object.defineProperty(i[e],`labels`,{value:n[e].labels});let t=r(e);Object.keys(t).forEach(n=>{let r=t[n];i[e][n]=s(r),i[e][n].raw=o(r)})}),t.exports=i}}),Mn=y({"../../node_modules/ansi-styles/index.js"(e,t){var n=(e,t)=>(...n)=>`\x1B[${e(...n)+t}m`,r=(e,t)=>(...n)=>{let r=e(...n);return`\x1B[${38+t};5;${r}m`},i=(e,t)=>(...n)=>{let r=e(...n);return`\x1B[${38+t};2;${r[0]};${r[1]};${r[2]}m`},a=e=>e,o=(e,t,n)=>[e,t,n],s=(e,t,n)=>{Object.defineProperty(e,t,{get:()=>{let r=n();return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0}),r},enumerable:!0,configurable:!0})},c,l=(e,t,n,r)=>{c===void 0&&(c=jn());let i=r?10:0,a={};for(let[r,o]of Object.entries(c)){let s=r===`ansi16`?`ansi`:r;r===t?a[s]=e(n,i):typeof o==`object`&&(a[s]=e(o[t],i))}return a};function u(){let e=new Map,t={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},color:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],blackBright:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39]},bgColor:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgBlackBright:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}};t.color.gray=t.color.blackBright,t.bgColor.bgGray=t.bgColor.bgBlackBright,t.color.grey=t.color.blackBright,t.bgColor.bgGrey=t.bgColor.bgBlackBright;for(let[n,r]of Object.entries(t)){for(let[n,i]of Object.entries(r))t[n]={open:`\x1B[${i[0]}m`,close:`\x1B[${i[1]}m`},r[n]=t[n],e.set(i[0],i[1]);Object.defineProperty(t,n,{value:r,enumerable:!1})}return Object.defineProperty(t,`codes`,{value:e,enumerable:!1}),t.color.close=`\x1B[39m`,t.bgColor.close=`\x1B[49m`,s(t.color,`ansi`,()=>l(n,`ansi16`,a,!1)),s(t.color,`ansi256`,()=>l(r,`ansi256`,a,!1)),s(t.color,`ansi16m`,()=>l(i,`rgb`,o,!1)),s(t.bgColor,`ansi`,()=>l(n,`ansi16`,a,!0)),s(t.bgColor,`ansi256`,()=>l(r,`ansi256`,a,!0)),s(t.bgColor,`ansi16m`,()=>l(i,`rgb`,o,!0)),t}Object.defineProperty(t,`exports`,{enumerable:!0,get:u})}}),Nn=y({"../../node_modules/supports-color/browser.js"(e,t){t.exports={stdout:!1,stderr:!1}}}),Pn=y({"../../node_modules/@testing-library/jest-dom/node_modules/chalk/source/util.js"(e,t){t.exports={stringReplaceAll:(e,t,n)=>{let r=e.indexOf(t);if(r===-1)return e;let i=t.length,a=0,o=``;do o+=e.substr(a,r-a)+t+n,a=r+i,r=e.indexOf(t,a);while(r!==-1);return o+=e.substr(a),o},stringEncaseCRLFWithFirstIndex:(e,t,n,r)=>{let i=0,a=``;do{let o=e[r-1]===`\r`;a+=e.substr(i,(o?r-1:r)-i)+t+(o?`\r
9
+ `:`
10
+ `)+n,i=r+1,r=e.indexOf(`
11
+ `,i)}while(r!==-1);return a+=e.substr(i),a}}}}),Fn=y({"../../node_modules/@testing-library/jest-dom/node_modules/chalk/source/templates.js"(e,t){var n=/(?:\\(u(?:[a-f\d]{4}|\{[a-f\d]{1,6}\})|x[a-f\d]{2}|.))|(?:\{(~)?(\w+(?:\([^)]*\))?(?:\.\w+(?:\([^)]*\))?)*)(?:[ \t]|(?=\r?\n)))|(\})|((?:.|[\r\n\f])+?)/gi,r=/(?:^|\.)(\w+)(?:\(([^)]*)\))?/g,i=/^(['"])((?:\\.|(?!\1)[^\\])*)\1$/,a=/\\(u(?:[a-f\d]{4}|\{[a-f\d]{1,6}\})|x[a-f\d]{2}|.)|([^\\])/gi,o=new Map([[`n`,`
12
+ `],[`r`,`\r`],[`t`,` `],[`b`,`\b`],[`f`,`\f`],[`v`,`\v`],[`0`,`\0`],[`\\`,`\\`],[`e`,`\x1B`],[`a`,`\x07`]]);function s(e){let t=e[0]===`u`,n=e[1]===`{`;return t&&!n&&e.length===5||e[0]===`x`&&e.length===3?String.fromCharCode(parseInt(e.slice(1),16)):t&&n?String.fromCodePoint(parseInt(e.slice(2,-1),16)):o.get(e)||e}function c(e,t){let n=[],r=t.trim().split(/\s*,\s*/g),o;for(let t of r){let r=Number(t);if(!Number.isNaN(r))n.push(r);else if(o=t.match(i))n.push(o[2].replace(a,(e,t,n)=>t?s(t):n));else throw Error(`Invalid Chalk template style argument: ${t} (in style '${e}')`)}return n}function l(e){r.lastIndex=0;let t=[],n;for(;(n=r.exec(e))!==null;){let e=n[1];if(n[2]){let r=c(e,n[2]);t.push([e].concat(r))}else t.push([e])}return t}function u(e,t){let n={};for(let e of t)for(let t of e.styles)n[t[0]]=e.inverse?null:t.slice(1);let r=e;for(let[e,t]of Object.entries(n))if(Array.isArray(t)){if(!(e in r))throw Error(`Unknown Chalk style: ${e}`);r=t.length>0?r[e](...t):r[e]}return r}t.exports=(e,t)=>{let r=[],i=[],a=[];if(t.replace(n,(t,n,o,c,d,f)=>{if(n)a.push(s(n));else if(c){let t=a.join(``);a=[],i.push(r.length===0?t:u(e,r)(t)),r.push({inverse:o,styles:l(c)})}else if(d){if(r.length===0)throw Error(`Found extraneous } in Chalk template literal`);i.push(u(e,r)(a.join(``))),a=[],r.pop()}else a.push(f)}),i.push(a.join(``)),r.length>0){let e=`Chalk template literal is missing ${r.length} closing bracket${r.length===1?``:`s`} (\`}\`)`;throw Error(e)}return i.join(``)}}}),In=y({"../../node_modules/@testing-library/jest-dom/node_modules/chalk/source/index.js"(e,t){var n=Mn(),{stdout:r,stderr:i}=Nn(),{stringReplaceAll:a,stringEncaseCRLFWithFirstIndex:o}=Pn(),s=[`ansi`,`ansi`,`ansi256`,`ansi16m`],c=Object.create(null),l=(e,t={})=>{if(t.level>3||t.level<0)throw Error("The `level` option should be an integer from 0 to 3");let n=r?r.level:0;e.level=t.level===void 0?n:t.level},u=class{constructor(e){return d(e)}},d=e=>{let t={};return l(t,e),t.template=(...e)=>y(t.template,...e),Object.setPrototypeOf(t,f.prototype),Object.setPrototypeOf(t.template,t),t.template.constructor=()=>{throw Error("`chalk.constructor()` is deprecated. Use `new chalk.Instance()` instead.")},t.template.Instance=u,t.template};function f(e){return d(e)}for(let[e,t]of Object.entries(n))c[e]={get(){let n=g(this,h(t.open,t.close,this._styler),this._isEmpty);return Object.defineProperty(this,e,{value:n}),n}};c.visible={get(){let e=g(this,this._styler,!0);return Object.defineProperty(this,`visible`,{value:e}),e}};var p=[`rgb`,`hex`,`keyword`,`hsl`,`hsv`,`hwb`,`ansi`,`ansi256`];for(let e of p)c[e]={get(){let{level:t}=this;return function(...r){let i=h(n.color[s[t]][e](...r),n.color.close,this._styler);return g(this,i,this._isEmpty)}}};for(let e of p){let t=`bg`+e[0].toUpperCase()+e.slice(1);c[t]={get(){let{level:t}=this;return function(...r){let i=h(n.bgColor[s[t]][e](...r),n.bgColor.close,this._styler);return g(this,i,this._isEmpty)}}}}var m=Object.defineProperties(()=>{},{...c,level:{enumerable:!0,get(){return this._generator.level},set(e){this._generator.level=e}}}),h=(e,t,n)=>{let r,i;return n===void 0?(r=e,i=t):(r=n.openAll+e,i=t+n.closeAll),{open:e,close:t,openAll:r,closeAll:i,parent:n}},g=(e,t,n)=>{let r=(...e)=>_(r,e.length===1?``+e[0]:e.join(` `));return r.__proto__=m,r._generator=e,r._styler=t,r._isEmpty=n,r},_=(e,t)=>{if(e.level<=0||!t)return e._isEmpty?``:t;let n=e._styler;if(n===void 0)return t;let{openAll:r,closeAll:i}=n;if(t.indexOf(`\x1B`)!==-1)for(;n!==void 0;)t=a(t,n.close,n.open),n=n.parent;let s=t.indexOf(`
13
+ `);return s!==-1&&(t=o(t,i,r,s)),r+t+i},v,y=(e,...t)=>{let[n]=t;if(!Array.isArray(n))return t.join(` `);let r=t.slice(1),i=[n.raw[0]];for(let e=1;e<n.length;e++)i.push(String(r[e-1]).replace(/[{}\\]/g,`\\$&`),String(n.raw[e]));return v===void 0&&(v=Fn()),v(e,i.join(``))};Object.defineProperties(f.prototype,c);var b=f();b.supportsColor=r,b.stderr=f({level:i?i.level:0}),b.stderr.supportsColor=i,b.Level={None:0,Basic:1,Ansi256:2,TrueColor:3,0:`None`,1:`Basic`,2:`Ansi256`,3:`TrueColor`},t.exports=b}}),Ln=y({"../../node_modules/lodash/_listCacheClear.js"(e,t){function n(){this.__data__=[],this.size=0}t.exports=n}}),Rn=y({"../../node_modules/lodash/eq.js"(e,t){function n(e,t){return e===t||e!==e&&t!==t}t.exports=n}}),zn=y({"../../node_modules/lodash/_assocIndexOf.js"(e,t){var n=Rn();function r(e,t){for(var r=e.length;r--;)if(n(e[r][0],t))return r;return-1}t.exports=r}}),Bn=y({"../../node_modules/lodash/_listCacheDelete.js"(e,t){var n=zn(),r=Array.prototype.splice;function i(e){var t=this.__data__,i=n(t,e);return i<0?!1:(i==t.length-1?t.pop():r.call(t,i,1),--this.size,!0)}t.exports=i}}),Vn=y({"../../node_modules/lodash/_listCacheGet.js"(e,t){var n=zn();function r(e){var t=this.__data__,r=n(t,e);return r<0?void 0:t[r][1]}t.exports=r}}),Hn=y({"../../node_modules/lodash/_listCacheHas.js"(e,t){var n=zn();function r(e){return n(this.__data__,e)>-1}t.exports=r}}),Un=y({"../../node_modules/lodash/_listCacheSet.js"(e,t){var n=zn();function r(e,t){var r=this.__data__,i=n(r,e);return i<0?(++this.size,r.push([e,t])):r[i][1]=t,this}t.exports=r}}),Wn=y({"../../node_modules/lodash/_ListCache.js"(e,t){var n=Ln(),r=Bn(),i=Vn(),a=Hn(),o=Un();function s(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}s.prototype.clear=n,s.prototype.delete=r,s.prototype.get=i,s.prototype.has=a,s.prototype.set=o,t.exports=s}}),Gn=y({"../../node_modules/lodash/_stackClear.js"(e,t){var n=Wn();function r(){this.__data__=new n,this.size=0}t.exports=r}}),Kn=y({"../../node_modules/lodash/_stackDelete.js"(e,t){function n(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}t.exports=n}}),qn=y({"../../node_modules/lodash/_stackGet.js"(e,t){function n(e){return this.__data__.get(e)}t.exports=n}}),Jn=y({"../../node_modules/lodash/_stackHas.js"(e,t){function n(e){return this.__data__.has(e)}t.exports=n}}),Yn=y({"../../node_modules/lodash/_freeGlobal.js"(e,t){t.exports=typeof global==`object`&&global&&global.Object===Object&&global}}),Xn=y({"../../node_modules/lodash/_root.js"(e,t){var n=Yn(),r=typeof self==`object`&&self&&self.Object===Object&&self;t.exports=n||r||Function(`return this`)()}}),Zn=y({"../../node_modules/lodash/_Symbol.js"(e,t){t.exports=Xn().Symbol}}),Qn=y({"../../node_modules/lodash/_getRawTag.js"(e,t){var n=Zn(),r=Object.prototype,i=r.hasOwnProperty,a=r.toString,o=n?n.toStringTag:void 0;function s(e){var t=i.call(e,o),n=e[o];try{e[o]=void 0;var r=!0}catch{}var s=a.call(e);return r&&(t?e[o]=n:delete e[o]),s}t.exports=s}}),$n=y({"../../node_modules/lodash/_objectToString.js"(e,t){var n=Object.prototype.toString;function r(e){return n.call(e)}t.exports=r}}),er=y({"../../node_modules/lodash/_baseGetTag.js"(e,t){var n=Zn(),r=Qn(),i=$n(),a=`[object Null]`,o=`[object Undefined]`,s=n?n.toStringTag:void 0;function c(e){return e==null?e===void 0?o:a:s&&s in Object(e)?r(e):i(e)}t.exports=c}}),tr=y({"../../node_modules/lodash/isObject.js"(e,t){function n(e){var t=typeof e;return e!=null&&(t==`object`||t==`function`)}t.exports=n}}),nr=y({"../../node_modules/lodash/isFunction.js"(e,t){var n=er(),r=tr(),i=`[object AsyncFunction]`,a=`[object Function]`,o=`[object GeneratorFunction]`,s=`[object Proxy]`;function c(e){if(!r(e))return!1;var t=n(e);return t==a||t==o||t==i||t==s}t.exports=c}}),rr=y({"../../node_modules/lodash/_coreJsData.js"(e,t){t.exports=Xn()[`__core-js_shared__`]}}),ir=y({"../../node_modules/lodash/_isMasked.js"(e,t){var n=rr(),r=(function(){var e=/[^.]+$/.exec(n&&n.keys&&n.keys.IE_PROTO||``);return e?`Symbol(src)_1.`+e:``})();function i(e){return!!r&&r in e}t.exports=i}}),ar=y({"../../node_modules/lodash/_toSource.js"(e,t){var n=Function.prototype.toString;function r(e){if(e!=null){try{return n.call(e)}catch{}try{return e+``}catch{}}return``}t.exports=r}}),or=y({"../../node_modules/lodash/_baseIsNative.js"(e,t){var n=nr(),r=ir(),i=tr(),a=ar(),o=/[\\^$.*+?()[\]{}|]/g,s=/^\[object .+?Constructor\]$/,c=Function.prototype,l=Object.prototype,u=c.toString,d=l.hasOwnProperty,f=RegExp(`^`+u.call(d).replace(o,`\\$&`).replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,`$1.*?`)+`$`);function p(e){return!i(e)||r(e)?!1:(n(e)?f:s).test(a(e))}t.exports=p}}),sr=y({"../../node_modules/lodash/_getValue.js"(e,t){function n(e,t){return e?.[t]}t.exports=n}}),cr=y({"../../node_modules/lodash/_getNative.js"(e,t){var n=or(),r=sr();function i(e,t){var i=r(e,t);return n(i)?i:void 0}t.exports=i}}),lr=y({"../../node_modules/lodash/_Map.js"(e,t){t.exports=cr()(Xn(),`Map`)}}),ur=y({"../../node_modules/lodash/_nativeCreate.js"(e,t){t.exports=cr()(Object,`create`)}}),dr=y({"../../node_modules/lodash/_hashClear.js"(e,t){var n=ur();function r(){this.__data__=n?n(null):{},this.size=0}t.exports=r}}),fr=y({"../../node_modules/lodash/_hashDelete.js"(e,t){function n(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}t.exports=n}}),pr=y({"../../node_modules/lodash/_hashGet.js"(e,t){var n=ur(),r=`__lodash_hash_undefined__`,i=Object.prototype.hasOwnProperty;function a(e){var t=this.__data__;if(n){var a=t[e];return a===r?void 0:a}return i.call(t,e)?t[e]:void 0}t.exports=a}}),mr=y({"../../node_modules/lodash/_hashHas.js"(e,t){var n=ur(),r=Object.prototype.hasOwnProperty;function i(e){var t=this.__data__;return n?t[e]!==void 0:r.call(t,e)}t.exports=i}}),hr=y({"../../node_modules/lodash/_hashSet.js"(e,t){var n=ur(),r=`__lodash_hash_undefined__`;function i(e,t){var i=this.__data__;return this.size+=this.has(e)?0:1,i[e]=n&&t===void 0?r:t,this}t.exports=i}}),gr=y({"../../node_modules/lodash/_Hash.js"(e,t){var n=dr(),r=fr(),i=pr(),a=mr(),o=hr();function s(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}s.prototype.clear=n,s.prototype.delete=r,s.prototype.get=i,s.prototype.has=a,s.prototype.set=o,t.exports=s}}),_r=y({"../../node_modules/lodash/_mapCacheClear.js"(e,t){var n=gr(),r=Wn(),i=lr();function a(){this.size=0,this.__data__={hash:new n,map:new(i||r),string:new n}}t.exports=a}}),vr=y({"../../node_modules/lodash/_isKeyable.js"(e,t){function n(e){var t=typeof e;return t==`string`||t==`number`||t==`symbol`||t==`boolean`?e!==`__proto__`:e===null}t.exports=n}}),yr=y({"../../node_modules/lodash/_getMapData.js"(e,t){var n=vr();function r(e,t){var r=e.__data__;return n(t)?r[typeof t==`string`?`string`:`hash`]:r.map}t.exports=r}}),br=y({"../../node_modules/lodash/_mapCacheDelete.js"(e,t){var n=yr();function r(e){var t=n(this,e).delete(e);return this.size-=t?1:0,t}t.exports=r}}),xr=y({"../../node_modules/lodash/_mapCacheGet.js"(e,t){var n=yr();function r(e){return n(this,e).get(e)}t.exports=r}}),Sr=y({"../../node_modules/lodash/_mapCacheHas.js"(e,t){var n=yr();function r(e){return n(this,e).has(e)}t.exports=r}}),Cr=y({"../../node_modules/lodash/_mapCacheSet.js"(e,t){var n=yr();function r(e,t){var r=n(this,e),i=r.size;return r.set(e,t),this.size+=r.size==i?0:1,this}t.exports=r}}),wr=y({"../../node_modules/lodash/_MapCache.js"(e,t){var n=_r(),r=br(),i=xr(),a=Sr(),o=Cr();function s(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}s.prototype.clear=n,s.prototype.delete=r,s.prototype.get=i,s.prototype.has=a,s.prototype.set=o,t.exports=s}}),Tr=y({"../../node_modules/lodash/_stackSet.js"(e,t){var n=Wn(),r=lr(),i=wr(),a=200;function o(e,t){var o=this.__data__;if(o instanceof n){var s=o.__data__;if(!r||s.length<a-1)return s.push([e,t]),this.size=++o.size,this;o=this.__data__=new i(s)}return o.set(e,t),this.size=o.size,this}t.exports=o}}),Er=y({"../../node_modules/lodash/_Stack.js"(e,t){var n=Wn(),r=Gn(),i=Kn(),a=qn(),o=Jn(),s=Tr();function c(e){this.size=(this.__data__=new n(e)).size}c.prototype.clear=r,c.prototype.delete=i,c.prototype.get=a,c.prototype.has=o,c.prototype.set=s,t.exports=c}}),Dr=y({"../../node_modules/lodash/_setCacheAdd.js"(e,t){var n=`__lodash_hash_undefined__`;function r(e){return this.__data__.set(e,n),this}t.exports=r}}),Or=y({"../../node_modules/lodash/_setCacheHas.js"(e,t){function n(e){return this.__data__.has(e)}t.exports=n}}),kr=y({"../../node_modules/lodash/_SetCache.js"(e,t){var n=wr(),r=Dr(),i=Or();function a(e){var t=-1,r=e==null?0:e.length;for(this.__data__=new n;++t<r;)this.add(e[t])}a.prototype.add=a.prototype.push=r,a.prototype.has=i,t.exports=a}}),Ar=y({"../../node_modules/lodash/_arraySome.js"(e,t){function n(e,t){for(var n=-1,r=e==null?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}t.exports=n}}),jr=y({"../../node_modules/lodash/_cacheHas.js"(e,t){function n(e,t){return e.has(t)}t.exports=n}}),Mr=y({"../../node_modules/lodash/_equalArrays.js"(e,t){var n=kr(),r=Ar(),i=jr(),a=1,o=2;function s(e,t,s,c,l,u){var d=s&a,f=e.length,p=t.length;if(f!=p&&!(d&&p>f))return!1;var m=u.get(e),h=u.get(t);if(m&&h)return m==t&&h==e;var g=-1,_=!0,v=s&o?new n:void 0;for(u.set(e,t),u.set(t,e);++g<f;){var y=e[g],b=t[g];if(c)var x=d?c(b,y,g,t,e,u):c(y,b,g,e,t,u);if(x!==void 0){if(x)continue;_=!1;break}if(v){if(!r(t,function(e,t){if(!i(v,t)&&(y===e||l(y,e,s,c,u)))return v.push(t)})){_=!1;break}}else if(!(y===b||l(y,b,s,c,u))){_=!1;break}}return u.delete(e),u.delete(t),_}t.exports=s}}),Nr=y({"../../node_modules/lodash/_Uint8Array.js"(e,t){t.exports=Xn().Uint8Array}}),Pr=y({"../../node_modules/lodash/_mapToArray.js"(e,t){function n(e){var t=-1,n=Array(e.size);return e.forEach(function(e,r){n[++t]=[r,e]}),n}t.exports=n}}),Fr=y({"../../node_modules/lodash/_setToArray.js"(e,t){function n(e){var t=-1,n=Array(e.size);return e.forEach(function(e){n[++t]=e}),n}t.exports=n}}),Ir=y({"../../node_modules/lodash/_equalByTag.js"(e,t){var n=Zn(),r=Nr(),i=Rn(),a=Mr(),o=Pr(),s=Fr(),c=1,l=2,u=`[object Boolean]`,d=`[object Date]`,f=`[object Error]`,p=`[object Map]`,m=`[object Number]`,h=`[object RegExp]`,g=`[object Set]`,_=`[object String]`,v=`[object Symbol]`,y=`[object ArrayBuffer]`,b=`[object DataView]`,x=n?n.prototype:void 0,S=x?x.valueOf:void 0;function C(e,t,n,x,C,w,T){switch(n){case b:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case y:return!(e.byteLength!=t.byteLength||!w(new r(e),new r(t)));case u:case d:case m:return i(+e,+t);case f:return e.name==t.name&&e.message==t.message;case h:case _:return e==t+``;case p:var E=o;case g:var D=x&c;if(E||=s,e.size!=t.size&&!D)return!1;var O=T.get(e);if(O)return O==t;x|=l,T.set(e,t);var k=a(E(e),E(t),x,C,w,T);return T.delete(e),k;case v:if(S)return S.call(e)==S.call(t)}return!1}t.exports=C}}),Lr=y({"../../node_modules/lodash/_arrayPush.js"(e,t){function n(e,t){for(var n=-1,r=t.length,i=e.length;++n<r;)e[i+n]=t[n];return e}t.exports=n}}),Rr=y({"../../node_modules/lodash/isArray.js"(e,t){t.exports=Array.isArray}}),zr=y({"../../node_modules/lodash/_baseGetAllKeys.js"(e,t){var n=Lr(),r=Rr();function i(e,t,i){var a=t(e);return r(e)?a:n(a,i(e))}t.exports=i}}),Br=y({"../../node_modules/lodash/_arrayFilter.js"(e,t){function n(e,t){for(var n=-1,r=e==null?0:e.length,i=0,a=[];++n<r;){var o=e[n];t(o,n,e)&&(a[i++]=o)}return a}t.exports=n}}),Vr=y({"../../node_modules/lodash/stubArray.js"(e,t){function n(){return[]}t.exports=n}}),Hr=y({"../../node_modules/lodash/_getSymbols.js"(e,t){var n=Br(),r=Vr(),i=Object.prototype.propertyIsEnumerable,a=Object.getOwnPropertySymbols;t.exports=a?function(e){return e==null?[]:(e=Object(e),n(a(e),function(t){return i.call(e,t)}))}:r}}),Ur=y({"../../node_modules/lodash/_baseTimes.js"(e,t){function n(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}t.exports=n}}),Wr=y({"../../node_modules/lodash/isObjectLike.js"(e,t){function n(e){return typeof e==`object`&&!!e}t.exports=n}}),Gr=y({"../../node_modules/lodash/_baseIsArguments.js"(e,t){var n=er(),r=Wr(),i=`[object Arguments]`;function a(e){return r(e)&&n(e)==i}t.exports=a}}),Kr=y({"../../node_modules/lodash/isArguments.js"(e,t){var n=Gr(),r=Wr(),i=Object.prototype,a=i.hasOwnProperty,o=i.propertyIsEnumerable;t.exports=n((function(){return arguments})())?n:function(e){return r(e)&&a.call(e,`callee`)&&!o.call(e,`callee`)}}}),qr=y({"../../node_modules/lodash/stubFalse.js"(e,t){function n(){return!1}t.exports=n}}),Jr=y({"../../node_modules/lodash/isBuffer.js"(e,t){var n=Xn(),r=qr(),i=typeof e==`object`&&e&&!e.nodeType&&e,a=i&&typeof t==`object`&&t&&!t.nodeType&&t,o=a&&a.exports===i?n.Buffer:void 0;t.exports=(o?o.isBuffer:void 0)||r}}),Yr=y({"../../node_modules/lodash/_isIndex.js"(e,t){var n=9007199254740991,r=/^(?:0|[1-9]\d*)$/;function i(e,t){var i=typeof e;return t??=n,!!t&&(i==`number`||i!=`symbol`&&r.test(e))&&e>-1&&e%1==0&&e<t}t.exports=i}}),Xr=y({"../../node_modules/lodash/isLength.js"(e,t){var n=9007199254740991;function r(e){return typeof e==`number`&&e>-1&&e%1==0&&e<=n}t.exports=r}}),Zr=y({"../../node_modules/lodash/_baseIsTypedArray.js"(e,t){var n=er(),r=Xr(),i=Wr(),a=`[object Arguments]`,o=`[object Array]`,s=`[object Boolean]`,c=`[object Date]`,l=`[object Error]`,u=`[object Function]`,d=`[object Map]`,f=`[object Number]`,p=`[object Object]`,m=`[object RegExp]`,h=`[object Set]`,g=`[object String]`,_=`[object WeakMap]`,v=`[object ArrayBuffer]`,y=`[object DataView]`,b=`[object Float32Array]`,x=`[object Float64Array]`,S=`[object Int8Array]`,C=`[object Int16Array]`,w=`[object Int32Array]`,T=`[object Uint8Array]`,E=`[object Uint8ClampedArray]`,D=`[object Uint16Array]`,O=`[object Uint32Array]`,k={};k[b]=k[x]=k[S]=k[C]=k[w]=k[T]=k[E]=k[D]=k[O]=!0,k[a]=k[o]=k[v]=k[s]=k[y]=k[c]=k[l]=k[u]=k[d]=k[f]=k[p]=k[m]=k[h]=k[g]=k[_]=!1;function A(e){return i(e)&&r(e.length)&&!!k[n(e)]}t.exports=A}}),Qr=y({"../../node_modules/lodash/_baseUnary.js"(e,t){function n(e){return function(t){return e(t)}}t.exports=n}}),$r=y({"../../node_modules/lodash/_nodeUtil.js"(e,t){var n=Yn(),r=typeof e==`object`&&e&&!e.nodeType&&e,i=r&&typeof t==`object`&&t&&!t.nodeType&&t,a=i&&i.exports===r&&n.process;t.exports=(function(){try{return i&&i.require&&i.require(`util`).types||a&&a.binding&&a.binding(`util`)}catch{}})()}}),ei=y({"../../node_modules/lodash/isTypedArray.js"(e,t){var n=Zr(),r=Qr(),i=$r(),a=i&&i.isTypedArray;t.exports=a?r(a):n}}),ti=y({"../../node_modules/lodash/_arrayLikeKeys.js"(e,t){var n=Ur(),r=Kr(),i=Rr(),a=Jr(),o=Yr(),s=ei(),c=Object.prototype.hasOwnProperty;function l(e,t){var l=i(e),u=!l&&r(e),d=!l&&!u&&a(e),f=!l&&!u&&!d&&s(e),p=l||u||d||f,m=p?n(e.length,String):[],h=m.length;for(var g in e)(t||c.call(e,g))&&!(p&&(g==`length`||d&&(g==`offset`||g==`parent`)||f&&(g==`buffer`||g==`byteLength`||g==`byteOffset`)||o(g,h)))&&m.push(g);return m}t.exports=l}}),ni=y({"../../node_modules/lodash/_isPrototype.js"(e,t){var n=Object.prototype;function r(e){var t=e&&e.constructor;return e===(typeof t==`function`&&t.prototype||n)}t.exports=r}}),ri=y({"../../node_modules/lodash/_overArg.js"(e,t){function n(e,t){return function(n){return e(t(n))}}t.exports=n}}),ii=y({"../../node_modules/lodash/_nativeKeys.js"(e,t){t.exports=ri()(Object.keys,Object)}}),ai=y({"../../node_modules/lodash/_baseKeys.js"(e,t){var n=ni(),r=ii(),i=Object.prototype.hasOwnProperty;function a(e){if(!n(e))return r(e);var t=[];for(var a in Object(e))i.call(e,a)&&a!=`constructor`&&t.push(a);return t}t.exports=a}}),oi=y({"../../node_modules/lodash/isArrayLike.js"(e,t){var n=nr(),r=Xr();function i(e){return e!=null&&r(e.length)&&!n(e)}t.exports=i}}),si=y({"../../node_modules/lodash/keys.js"(e,t){var n=ti(),r=ai(),i=oi();function a(e){return i(e)?n(e):r(e)}t.exports=a}}),ci=y({"../../node_modules/lodash/_getAllKeys.js"(e,t){var n=zr(),r=Hr(),i=si();function a(e){return n(e,i,r)}t.exports=a}}),li=y({"../../node_modules/lodash/_equalObjects.js"(e,t){var n=ci(),r=1,i=Object.prototype.hasOwnProperty;function a(e,t,a,o,s,c){var l=a&r,u=n(e),d=u.length;if(d!=n(t).length&&!l)return!1;for(var f=d;f--;){var p=u[f];if(!(l?p in t:i.call(t,p)))return!1}var m=c.get(e),h=c.get(t);if(m&&h)return m==t&&h==e;var g=!0;c.set(e,t),c.set(t,e);for(var _=l;++f<d;){p=u[f];var v=e[p],y=t[p];if(o)var b=l?o(y,v,p,t,e,c):o(v,y,p,e,t,c);if(!(b===void 0?v===y||s(v,y,a,o,c):b)){g=!1;break}_||=p==`constructor`}if(g&&!_){var x=e.constructor,S=t.constructor;x!=S&&`constructor`in e&&`constructor`in t&&!(typeof x==`function`&&x instanceof x&&typeof S==`function`&&S instanceof S)&&(g=!1)}return c.delete(e),c.delete(t),g}t.exports=a}}),ui=y({"../../node_modules/lodash/_DataView.js"(e,t){t.exports=cr()(Xn(),`DataView`)}}),di=y({"../../node_modules/lodash/_Promise.js"(e,t){t.exports=cr()(Xn(),`Promise`)}}),fi=y({"../../node_modules/lodash/_Set.js"(e,t){t.exports=cr()(Xn(),`Set`)}}),pi=y({"../../node_modules/lodash/_WeakMap.js"(e,t){t.exports=cr()(Xn(),`WeakMap`)}}),mi=y({"../../node_modules/lodash/_getTag.js"(e,t){var n=ui(),r=lr(),i=di(),a=fi(),o=pi(),s=er(),c=ar(),l=`[object Map]`,u=`[object Object]`,d=`[object Promise]`,f=`[object Set]`,p=`[object WeakMap]`,m=`[object DataView]`,h=c(n),g=c(r),_=c(i),v=c(a),y=c(o),b=s;(n&&b(new n(new ArrayBuffer(1)))!=m||r&&b(new r)!=l||i&&b(i.resolve())!=d||a&&b(new a)!=f||o&&b(new o)!=p)&&(b=function(e){var t=s(e),n=t==u?e.constructor:void 0,r=n?c(n):``;if(r)switch(r){case h:return m;case g:return l;case _:return d;case v:return f;case y:return p}return t}),t.exports=b}}),hi=y({"../../node_modules/lodash/_baseIsEqualDeep.js"(e,t){var n=Er(),r=Mr(),i=Ir(),a=li(),o=mi(),s=Rr(),c=Jr(),l=ei(),u=1,d=`[object Arguments]`,f=`[object Array]`,p=`[object Object]`,m=Object.prototype.hasOwnProperty;function h(e,t,h,g,_,v){var y=s(e),b=s(t),x=y?f:o(e),S=b?f:o(t);x=x==d?p:x,S=S==d?p:S;var C=x==p,w=S==p,T=x==S;if(T&&c(e)){if(!c(t))return!1;y=!0,C=!1}if(T&&!C)return v||=new n,y||l(e)?r(e,t,h,g,_,v):i(e,t,x,h,g,_,v);if(!(h&u)){var E=C&&m.call(e,`__wrapped__`),D=w&&m.call(t,`__wrapped__`);if(E||D){var O=E?e.value():e,k=D?t.value():t;return v||=new n,_(O,k,h,g,v)}}return T?(v||=new n,a(e,t,h,g,_,v)):!1}t.exports=h}}),gi=y({"../../node_modules/lodash/_baseIsEqual.js"(e,t){var n=hi(),r=Wr();function i(e,t,a,o,s){return e===t?!0:e==null||t==null||!r(e)&&!r(t)?e!==e&&t!==t:n(e,t,a,o,i,s)}t.exports=i}}),_i=y({"../../node_modules/lodash/isEqualWith.js"(e,t){var n=gi();function r(e,t,r){r=typeof r==`function`?r:void 0;var i=r?r(e,t):void 0;return i===void 0?n(e,t,void 0,r):!!i}t.exports=r}}),vi=y({"../../node_modules/css.escape/css.escape.js"(e,t){(function(n,r){typeof e==`object`?t.exports=r(n):typeof define==`function`&&define.amd?define([],r.bind(n,n)):r(n)})(typeof global<`u`?global:e,function(e){if(e.CSS&&e.CSS.escape)return e.CSS.escape;var t=function(e){if(arguments.length==0)throw TypeError("`CSS.escape` requires an argument.");for(var t=String(e),n=t.length,r=-1,i,a=``,o=t.charCodeAt(0);++r<n;){if(i=t.charCodeAt(r),i==0){a+=`�`;continue}if(i>=1&&i<=31||i==127||r==0&&i>=48&&i<=57||r==1&&i>=48&&i<=57&&o==45){a+=`\\`+i.toString(16)+` `;continue}if(r==0&&n==1&&i==45){a+=`\\`+t.charAt(r);continue}if(i>=128||i==45||i==95||i>=48&&i<=57||i>=65&&i<=90||i>=97&&i<=122){a+=t.charAt(r);continue}a+=`\\`+t.charAt(r)}return a};return e.CSS||={},e.CSS.escape=t,t})}}),yi=y({"../../node_modules/@testing-library/dom/node_modules/ansi-styles/index.js"(e,t){var n=(e=0)=>t=>`\x1B[${38+e};5;${t}m`,r=(e=0)=>(t,n,r)=>`\x1B[${38+e};2;${t};${n};${r}m`;function i(){let e=new Map,t={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],overline:[53,55],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},color:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],blackBright:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39]},bgColor:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgBlackBright:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}};t.color.gray=t.color.blackBright,t.bgColor.bgGray=t.bgColor.bgBlackBright,t.color.grey=t.color.blackBright,t.bgColor.bgGrey=t.bgColor.bgBlackBright;for(let[n,r]of Object.entries(t)){for(let[n,i]of Object.entries(r))t[n]={open:`\x1B[${i[0]}m`,close:`\x1B[${i[1]}m`},r[n]=t[n],e.set(i[0],i[1]);Object.defineProperty(t,n,{value:r,enumerable:!1})}return Object.defineProperty(t,`codes`,{value:e,enumerable:!1}),t.color.close=`\x1B[39m`,t.bgColor.close=`\x1B[49m`,t.color.ansi256=n(),t.color.ansi16m=r(),t.bgColor.ansi256=n(10),t.bgColor.ansi16m=r(10),Object.defineProperties(t,{rgbToAnsi256:{value:(e,t,n)=>e===t&&t===n?e<8?16:e>248?231:Math.round((e-8)/247*24)+232:16+36*Math.round(e/255*5)+6*Math.round(t/255*5)+Math.round(n/255*5),enumerable:!1},hexToRgb:{value:e=>{let t=/(?<colorString>[a-f\d]{6}|[a-f\d]{3})/i.exec(e.toString(16));if(!t)return[0,0,0];let{colorString:n}=t.groups;n.length===3&&(n=n.split(``).map(e=>e+e).join(``));let r=Number.parseInt(n,16);return[r>>16&255,r>>8&255,r&255]},enumerable:!1},hexToAnsi256:{value:e=>t.rgbToAnsi256(...t.hexToRgb(e)),enumerable:!1}}),t}Object.defineProperty(t,`exports`,{enumerable:!0,get:i})}}),bi=y({"../../node_modules/@testing-library/dom/node_modules/pretty-format/build/collections.js"(e){Object.defineProperty(e,`__esModule`,{value:!0}),e.printIteratorEntries=n,e.printIteratorValues=r,e.printListItems=i,e.printObjectProperties=a;var t=(e,t)=>{let n=Object.keys(e).sort(t);return Object.getOwnPropertySymbols&&Object.getOwnPropertySymbols(e).forEach(t=>{Object.getOwnPropertyDescriptor(e,t).enumerable&&n.push(t)}),n};function n(e,t,n,r,i,a,o=`: `){let s=``,c=e.next();if(!c.done){s+=t.spacingOuter;let l=n+t.indent;for(;!c.done;){let n=a(c.value[0],t,l,r,i),u=a(c.value[1],t,l,r,i);s+=l+n+o+u,c=e.next(),c.done?t.min||(s+=`,`):s+=`,`+t.spacingInner}s+=t.spacingOuter+n}return s}function r(e,t,n,r,i,a){let o=``,s=e.next();if(!s.done){o+=t.spacingOuter;let c=n+t.indent;for(;!s.done;)o+=c+a(s.value,t,c,r,i),s=e.next(),s.done?t.min||(o+=`,`):o+=`,`+t.spacingInner;o+=t.spacingOuter+n}return o}function i(e,t,n,r,i,a){let o=``;if(e.length){o+=t.spacingOuter;let s=n+t.indent;for(let n=0;n<e.length;n++)o+=s,n in e&&(o+=a(e[n],t,s,r,i)),n<e.length-1?o+=`,`+t.spacingInner:t.min||(o+=`,`);o+=t.spacingOuter+n}return o}function a(e,n,r,i,a,o){let s=``,c=t(e,n.compareKeys);if(c.length){s+=n.spacingOuter;let t=r+n.indent;for(let r=0;r<c.length;r++){let l=c[r],u=o(l,n,t,i,a),d=o(e[l],n,t,i,a);s+=t+u+`: `+d,r<c.length-1?s+=`,`+n.spacingInner:n.min||(s+=`,`)}s+=n.spacingOuter+r}return s}}}),xi=y({"../../node_modules/@testing-library/dom/node_modules/pretty-format/build/plugins/AsymmetricMatcher.js"(e){Object.defineProperty(e,`__esModule`,{value:!0}),e.test=e.serialize=e.default=void 0;var t=bi(),n=(function(){return typeof globalThis<`u`?globalThis:typeof n<`u`?n:typeof self<`u`?self:typeof window<`u`?window:Function(`return this`)()})(),r=n[`jest-symbol-do-not-touch`]||n.Symbol,i=typeof r==`function`&&r.for?r.for(`jest.asymmetricMatcher`):1267621,a=` `,o=(e,n,r,i,o,s)=>{let c=e.toString();return c===`ArrayContaining`||c===`ArrayNotContaining`?++i>n.maxDepth?`[`+c+`]`:c+a+`[`+(0,t.printListItems)(e.sample,n,r,i,o,s)+`]`:c===`ObjectContaining`||c===`ObjectNotContaining`?++i>n.maxDepth?`[`+c+`]`:c+a+`{`+(0,t.printObjectProperties)(e.sample,n,r,i,o,s)+`}`:c===`StringMatching`||c===`StringNotMatching`||c===`StringContaining`||c===`StringNotContaining`?c+a+s(e.sample,n,r,i,o):e.toAsymmetricMatcher()};e.serialize=o;var s=e=>e&&e.$$typeof===i;e.test=s,e.default={serialize:o,test:s}}}),Si=y({"../../node_modules/@testing-library/dom/node_modules/ansi-regex/index.js"(e,t){t.exports=({onlyFirst:e=!1}={})=>{let t=[`[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]+)*|[a-zA-Z\\d]+(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?\\u0007)`,`(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PR-TZcf-ntqry=><~]))`].join(`|`);return new RegExp(t,e?void 0:`g`)}}}),Ci=y({"../../node_modules/@testing-library/dom/node_modules/pretty-format/build/plugins/ConvertAnsi.js"(e){Object.defineProperty(e,`__esModule`,{value:!0}),e.test=e.serialize=e.default=void 0;var t=r(Si()),n=r(yi());function r(e){return e&&e.__esModule?e:{default:e}}var i=e=>e.replace((0,t.default)(),e=>{switch(e){case n.default.red.close:case n.default.green.close:case n.default.cyan.close:case n.default.gray.close:case n.default.white.close:case n.default.yellow.close:case n.default.bgRed.close:case n.default.bgGreen.close:case n.default.bgYellow.close:case n.default.inverse.close:case n.default.dim.close:case n.default.bold.close:case n.default.reset.open:case n.default.reset.close:return`</>`;case n.default.red.open:return`<red>`;case n.default.green.open:return`<green>`;case n.default.cyan.open:return`<cyan>`;case n.default.gray.open:return`<gray>`;case n.default.white.open:return`<white>`;case n.default.yellow.open:return`<yellow>`;case n.default.bgRed.open:return`<bgRed>`;case n.default.bgGreen.open:return`<bgGreen>`;case n.default.bgYellow.open:return`<bgYellow>`;case n.default.inverse.open:return`<inverse>`;case n.default.dim.open:return`<dim>`;case n.default.bold.open:return`<bold>`;default:return``}}),a=e=>typeof e==`string`&&!!e.match((0,t.default)());e.test=a;var o=(e,t,n,r,a,o)=>o(i(e),t,n,r,a);e.serialize=o,e.default={serialize:o,test:a}}}),wi=y({"../../node_modules/@testing-library/dom/node_modules/pretty-format/build/plugins/DOMCollection.js"(e){Object.defineProperty(e,`__esModule`,{value:!0}),e.test=e.serialize=e.default=void 0;var t=bi(),n=` `,r=[`DOMStringMap`,`NamedNodeMap`],i=/^(HTML\w*Collection|NodeList)$/,a=e=>r.indexOf(e)!==-1||i.test(e),o=e=>e&&e.constructor&&!!e.constructor.name&&a(e.constructor.name);e.test=o;var s=e=>e.constructor.name===`NamedNodeMap`,c=(e,i,a,o,c,l)=>{let u=e.constructor.name;return++o>i.maxDepth?`[`+u+`]`:(i.min?``:u+n)+(r.indexOf(u)===-1?`[`+(0,t.printListItems)(Array.from(e),i,a,o,c,l)+`]`:`{`+(0,t.printObjectProperties)(s(e)?Array.from(e).reduce((e,t)=>(e[t.name]=t.value,e),{}):{...e},i,a,o,c,l)+`}`)};e.serialize=c,e.default={serialize:c,test:o}}}),Ti=y({"../../node_modules/@testing-library/dom/node_modules/pretty-format/build/plugins/lib/escapeHTML.js"(e){Object.defineProperty(e,`__esModule`,{value:!0}),e.default=t;function t(e){return e.replace(/</g,`&lt;`).replace(/>/g,`&gt;`)}}}),Ei=y({"../../node_modules/@testing-library/dom/node_modules/pretty-format/build/plugins/lib/markup.js"(e){Object.defineProperty(e,`__esModule`,{value:!0}),e.printText=e.printProps=e.printElementAsLeaf=e.printElement=e.printComment=e.printChildren=void 0;var t=n(Ti());function n(e){return e&&e.__esModule?e:{default:e}}e.printProps=(e,t,n,r,i,a,o)=>{let s=r+n.indent,c=n.colors;return e.map(e=>{let l=t[e],u=o(l,n,s,i,a);return typeof l!=`string`&&(u.indexOf(`
14
+ `)!==-1&&(u=n.spacingOuter+s+u+n.spacingOuter+r),u=`{`+u+`}`),n.spacingInner+r+c.prop.open+e+c.prop.close+`=`+c.value.open+u+c.value.close}).join(``)},e.printChildren=(e,t,n,i,a,o)=>e.map(e=>t.spacingOuter+n+(typeof e==`string`?r(e,t):o(e,t,n,i,a))).join(``);var r=(e,n)=>{let r=n.colors.content;return r.open+(0,t.default)(e)+r.close};e.printText=r,e.printComment=(e,n)=>{let r=n.colors.comment;return r.open+`<!--`+(0,t.default)(e)+`-->`+r.close},e.printElement=(e,t,n,r,i)=>{let a=r.colors.tag;return a.open+`<`+e+(t&&a.close+t+r.spacingOuter+i+a.open)+(n?`>`+a.close+n+r.spacingOuter+i+a.open+`</`+e:(t&&!r.min?``:` `)+`/`)+`>`+a.close},e.printElementAsLeaf=(e,t)=>{let n=t.colors.tag;return n.open+`<`+e+n.close+` …`+n.open+` />`+n.close}}}),Di=y({"../../node_modules/@testing-library/dom/node_modules/pretty-format/build/plugins/DOMElement.js"(e){Object.defineProperty(e,`__esModule`,{value:!0}),e.test=e.serialize=e.default=void 0;var t=Ei(),n=1,r=3,i=8,a=11,o=/^((HTML|SVG)\w*)?Element$/,s=e=>{try{return typeof e.hasAttribute==`function`&&e.hasAttribute(`is`)}catch{return!1}},c=e=>{let t=e.constructor.name,{nodeType:c,tagName:l}=e,u=typeof l==`string`&&l.includes(`-`)||s(e);return c===n&&(o.test(t)||u)||c===r&&t===`Text`||c===i&&t===`Comment`||c===a&&t===`DocumentFragment`},l=e=>{var t;return(e==null||(t=e.constructor)==null?void 0:t.name)&&c(e)};e.test=l;function u(e){return e.nodeType===r}function d(e){return e.nodeType===i}function f(e){return e.nodeType===a}var p=(e,n,r,i,a,o)=>{if(u(e))return(0,t.printText)(e.data,n);if(d(e))return(0,t.printComment)(e.data,n);let s=f(e)?`DocumentFragment`:e.tagName.toLowerCase();return++i>n.maxDepth?(0,t.printElementAsLeaf)(s,n):(0,t.printElement)(s,(0,t.printProps)(f(e)?[]:Array.from(e.attributes).map(e=>e.name).sort(),f(e)?{}:Array.from(e.attributes).reduce((e,t)=>(e[t.name]=t.value,e),{}),n,r+n.indent,i,a,o),(0,t.printChildren)(Array.prototype.slice.call(e.childNodes||e.children),n,r+n.indent,i,a,o),n,r)};e.serialize=p,e.default={serialize:p,test:l}}}),Oi=y({"../../node_modules/@testing-library/dom/node_modules/pretty-format/build/plugins/Immutable.js"(e){Object.defineProperty(e,`__esModule`,{value:!0}),e.test=e.serialize=e.default=void 0;var t=bi(),n=`@@__IMMUTABLE_ITERABLE__@@`,r=`@@__IMMUTABLE_LIST__@@`,i=`@@__IMMUTABLE_KEYED__@@`,a=`@@__IMMUTABLE_MAP__@@`,o=`@@__IMMUTABLE_ORDERED__@@`,s=`@@__IMMUTABLE_RECORD__@@`,c=`@@__IMMUTABLE_SEQ__@@`,l=`@@__IMMUTABLE_SET__@@`,u=`@@__IMMUTABLE_STACK__@@`,d=e=>`Immutable.`+e,f=e=>`[`+e+`]`,p=` `,m=`…`,h=(e,n,r,i,a,o,s)=>++i>n.maxDepth?f(d(s)):d(s)+p+`{`+(0,t.printIteratorEntries)(e.entries(),n,r,i,a,o)+`}`;function g(e){let t=0;return{next(){if(t<e._keys.length){let n=e._keys[t++];return{done:!1,value:[n,e.get(n)]}}return{done:!0,value:void 0}}}}var _=(e,n,r,i,a,o)=>{let s=d(e._name||`Record`);return++i>n.maxDepth?f(s):s+p+`{`+(0,t.printIteratorEntries)(g(e),n,r,i,a,o)+`}`},v=(e,n,r,a,o,s)=>{let c=d(`Seq`);return++a>n.maxDepth?f(c):e[i]?c+p+`{`+(e._iter||e._object?(0,t.printIteratorEntries)(e.entries(),n,r,a,o,s):m)+`}`:c+p+`[`+(e._iter||e._array||e._collection||e._iterable?(0,t.printIteratorValues)(e.values(),n,r,a,o,s):m)+`]`},y=(e,n,r,i,a,o,s)=>++i>n.maxDepth?f(d(s)):d(s)+p+`[`+(0,t.printIteratorValues)(e.values(),n,r,i,a,o)+`]`,b=(e,t,n,i,s,d)=>e[a]?h(e,t,n,i,s,d,e[o]?`OrderedMap`:`Map`):e[r]?y(e,t,n,i,s,d,`List`):e[l]?y(e,t,n,i,s,d,e[o]?`OrderedSet`:`Set`):e[u]?y(e,t,n,i,s,d,`Stack`):e[c]?v(e,t,n,i,s,d):_(e,t,n,i,s,d);e.serialize=b;var x=e=>e&&(e[n]===!0||e[s]===!0);e.test=x,e.default={serialize:b,test:x}}}),ki=y({"../../node_modules/@testing-library/dom/node_modules/react-is/cjs/react-is.production.min.js"(e){var t=60103,n=60106,r=60107,i=60108,a=60114,o=60109,s=60110,c=60112,l=60113,u=60120,d=60115,f=60116,p=60121,m=60122,h=60117,g=60129,_=60131;typeof Symbol==`function`&&Symbol.for&&(v=Symbol.for,t=v(`react.element`),n=v(`react.portal`),r=v(`react.fragment`),i=v(`react.strict_mode`),a=v(`react.profiler`),o=v(`react.provider`),s=v(`react.context`),c=v(`react.forward_ref`),l=v(`react.suspense`),u=v(`react.suspense_list`),d=v(`react.memo`),f=v(`react.lazy`),p=v(`react.block`),m=v(`react.server.block`),h=v(`react.fundamental`),g=v(`react.debug_trace_mode`),_=v(`react.legacy_hidden`));var v;function y(e){if(typeof e==`object`&&e){var p=e.$$typeof;switch(p){case t:switch(e=e.type,e){case r:case a:case i:case l:case u:return e;default:switch(e&&=e.$$typeof,e){case s:case c:case f:case d:case o:return e;default:return p}}case n:return p}}}var b=o,x=t,S=c,C=r,w=f,T=d,E=n,D=a,O=i,k=l;e.ContextConsumer=s,e.ContextProvider=b,e.Element=x,e.ForwardRef=S,e.Fragment=C,e.Lazy=w,e.Memo=T,e.Portal=E,e.Profiler=D,e.StrictMode=O,e.Suspense=k,e.isAsyncMode=function(){return!1},e.isConcurrentMode=function(){return!1},e.isContextConsumer=function(e){return y(e)===s},e.isContextProvider=function(e){return y(e)===o},e.isElement=function(e){return typeof e==`object`&&!!e&&e.$$typeof===t},e.isForwardRef=function(e){return y(e)===c},e.isFragment=function(e){return y(e)===r},e.isLazy=function(e){return y(e)===f},e.isMemo=function(e){return y(e)===d},e.isPortal=function(e){return y(e)===n},e.isProfiler=function(e){return y(e)===a},e.isStrictMode=function(e){return y(e)===i},e.isSuspense=function(e){return y(e)===l},e.isValidElementType=function(e){return typeof e==`string`||typeof e==`function`||e===r||e===a||e===g||e===i||e===l||e===u||e===_||typeof e==`object`&&!!e&&(e.$$typeof===f||e.$$typeof===d||e.$$typeof===o||e.$$typeof===s||e.$$typeof===c||e.$$typeof===h||e.$$typeof===p||e[0]===m)},e.typeOf=y}}),Ai=y({"../../node_modules/@testing-library/dom/node_modules/react-is/index.js"(e,t){t.exports=ki()}}),ji=y({"../../node_modules/@testing-library/dom/node_modules/pretty-format/build/plugins/ReactElement.js"(e){Object.defineProperty(e,`__esModule`,{value:!0}),e.test=e.serialize=e.default=void 0;var t=i(Ai()),n=Ei();function r(e){if(typeof WeakMap!=`function`)return null;var t=new WeakMap,n=new WeakMap;return(r=function(e){return e?n:t})(e)}function i(e,t){if(!t&&e&&e.__esModule)return e;if(e===null||typeof e!=`object`&&typeof e!=`function`)return{default:e};var n=r(t);if(n&&n.has(e))return n.get(e);var i={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(o!==`default`&&Object.prototype.hasOwnProperty.call(e,o)){var s=a?Object.getOwnPropertyDescriptor(e,o):null;s&&(s.get||s.set)?Object.defineProperty(i,o,s):i[o]=e[o]}return i.default=e,n&&n.set(e,i),i}var a=(e,t=[])=>(Array.isArray(e)?e.forEach(e=>{a(e,t)}):e!=null&&e!==!1&&t.push(e),t),o=e=>{let n=e.type;if(typeof n==`string`)return n;if(typeof n==`function`)return n.displayName||n.name||`Unknown`;if(t.isFragment(e))return`React.Fragment`;if(t.isSuspense(e))return`React.Suspense`;if(typeof n==`object`&&n){if(t.isContextProvider(e))return`Context.Provider`;if(t.isContextConsumer(e))return`Context.Consumer`;if(t.isForwardRef(e)){if(n.displayName)return n.displayName;let e=n.render.displayName||n.render.name||``;return e===``?`ForwardRef`:`ForwardRef(`+e+`)`}if(t.isMemo(e)){let e=n.displayName||n.type.displayName||n.type.name||``;return e===``?`Memo`:`Memo(`+e+`)`}}return`UNDEFINED`},s=e=>{let{props:t}=e;return Object.keys(t).filter(e=>e!==`children`&&t[e]!==void 0).sort()},c=(e,t,r,i,c,l)=>++i>t.maxDepth?(0,n.printElementAsLeaf)(o(e),t):(0,n.printElement)(o(e),(0,n.printProps)(s(e),e.props,t,r+t.indent,i,c,l),(0,n.printChildren)(a(e.props.children),t,r+t.indent,i,c,l),t,r);e.serialize=c;var l=e=>e!=null&&t.isElement(e);e.test=l,e.default={serialize:c,test:l}}}),Mi=y({"../../node_modules/@testing-library/dom/node_modules/pretty-format/build/plugins/ReactTestComponent.js"(e){Object.defineProperty(e,`__esModule`,{value:!0}),e.test=e.serialize=e.default=void 0;var t=Ei(),n=(function(){return typeof globalThis<`u`?globalThis:typeof n<`u`?n:typeof self<`u`?self:typeof window<`u`?window:Function(`return this`)()})(),r=n[`jest-symbol-do-not-touch`]||n.Symbol,i=typeof r==`function`&&r.for?r.for(`react.test.json`):245830487,a=e=>{let{props:t}=e;return t?Object.keys(t).filter(e=>t[e]!==void 0).sort():[]},o=(e,n,r,i,o,s)=>++i>n.maxDepth?(0,t.printElementAsLeaf)(e.type,n):(0,t.printElement)(e.type,e.props?(0,t.printProps)(a(e),e.props,n,r+n.indent,i,o,s):``,e.children?(0,t.printChildren)(e.children,n,r+n.indent,i,o,s):``,n,r);e.serialize=o;var s=e=>e&&e.$$typeof===i;e.test=s,e.default={serialize:o,test:s}}}),Ni=y({"../../node_modules/@testing-library/dom/node_modules/pretty-format/build/index.js"(e){Object.defineProperty(e,`__esModule`,{value:!0}),e.default=e.DEFAULT_OPTIONS=void 0,e.format=oe,e.plugins=void 0;var t=u(yi()),n=bi(),r=u(xi()),i=u(Ci()),a=u(wi()),o=u(Di()),s=u(Oi()),c=u(ji()),l=u(Mi());function u(e){return e&&e.__esModule?e:{default:e}}var d=Object.prototype.toString,f=Date.prototype.toISOString,p=Error.prototype.toString,m=RegExp.prototype.toString,h=e=>typeof e.constructor==`function`&&e.constructor.name||`Object`,g=e=>typeof window<`u`&&e===window,_=/^Symbol\((.*)\)(.*)$/,v=/\n/gi,y=class extends Error{constructor(e,t){super(e),this.stack=t,this.name=this.constructor.name}};function b(e){return e===`[object Array]`||e===`[object ArrayBuffer]`||e===`[object DataView]`||e===`[object Float32Array]`||e===`[object Float64Array]`||e===`[object Int8Array]`||e===`[object Int16Array]`||e===`[object Int32Array]`||e===`[object Uint8Array]`||e===`[object Uint8ClampedArray]`||e===`[object Uint16Array]`||e===`[object Uint32Array]`}function x(e){return Object.is(e,-0)?`-0`:String(e)}function S(e){return`${e}n`}function C(e,t){return t?`[Function `+(e.name||`anonymous`)+`]`:`[Function]`}function w(e){return String(e).replace(_,`Symbol($1)`)}function T(e){return`[`+p.call(e)+`]`}function E(e,t,n,r){if(e===!0||e===!1)return``+e;if(e===void 0)return`undefined`;if(e===null)return`null`;let i=typeof e;if(i===`number`)return x(e);if(i===`bigint`)return S(e);if(i===`string`)return r?`"`+e.replace(/"|\\/g,`\\$&`)+`"`:`"`+e+`"`;if(i===`function`)return C(e,t);if(i===`symbol`)return w(e);let a=d.call(e);return a===`[object WeakMap]`?`WeakMap {}`:a===`[object WeakSet]`?`WeakSet {}`:a===`[object Function]`||a===`[object GeneratorFunction]`?C(e,t):a===`[object Symbol]`?w(e):a===`[object Date]`?isNaN(+e)?`Date { NaN }`:f.call(e):a===`[object Error]`?T(e):a===`[object RegExp]`?n?m.call(e).replace(/[\\^$*+?.()|[\]{}]/g,`\\$&`):m.call(e):e instanceof Error?T(e):null}function D(e,t,r,i,a,o){if(a.indexOf(e)!==-1)return`[Circular]`;a=a.slice(),a.push(e);let s=++i>t.maxDepth,c=t.min;if(t.callToJSON&&!s&&e.toJSON&&typeof e.toJSON==`function`&&!o)return j(e.toJSON(),t,r,i,a,!0);let l=d.call(e);return l===`[object Arguments]`?s?`[Arguments]`:(c?``:`Arguments `)+`[`+(0,n.printListItems)(e,t,r,i,a,j)+`]`:b(l)?s?`[`+e.constructor.name+`]`:(c||!t.printBasicPrototype&&e.constructor.name===`Array`?``:e.constructor.name+` `)+`[`+(0,n.printListItems)(e,t,r,i,a,j)+`]`:l===`[object Map]`?s?`[Map]`:`Map {`+(0,n.printIteratorEntries)(e.entries(),t,r,i,a,j,` => `)+`}`:l===`[object Set]`?s?`[Set]`:`Set {`+(0,n.printIteratorValues)(e.values(),t,r,i,a,j)+`}`:s||g(e)?`[`+h(e)+`]`:(c||!t.printBasicPrototype&&h(e)===`Object`?``:h(e)+` `)+`{`+(0,n.printObjectProperties)(e,t,r,i,a,j)+`}`}function O(e){return e.serialize!=null}function k(e,t,n,r,i,a){let o;try{o=O(e)?e.serialize(t,n,r,i,a,j):e.print(t,e=>j(e,n,r,i,a),e=>{let t=r+n.indent;return t+e.replace(v,`
15
+ `+t)},{edgeSpacing:n.spacingOuter,min:n.min,spacing:n.spacingInner},n.colors)}catch(e){throw new y(e.message,e.stack)}if(typeof o!=`string`)throw Error(`pretty-format: Plugin must return type "string" but instead returned "${typeof o}".`);return o}function A(e,t){for(let n=0;n<e.length;n++)try{if(e[n].test(t))return e[n]}catch(e){throw new y(e.message,e.stack)}return null}function j(e,t,n,r,i,a){let o=A(t.plugins,e);if(o!==null)return k(o,e,t,n,r,i);let s=E(e,t.printFunctionName,t.escapeRegex,t.escapeString);return s===null?D(e,t,n,r,i,a):s}var M={comment:`gray`,content:`reset`,prop:`yellow`,tag:`cyan`,value:`green`},N=Object.keys(M),P={callToJSON:!0,compareKeys:void 0,escapeRegex:!1,escapeString:!0,highlight:!1,indent:2,maxDepth:1/0,min:!1,plugins:[],printBasicPrototype:!0,printFunctionName:!0,theme:M};e.DEFAULT_OPTIONS=P;function ee(e){if(Object.keys(e).forEach(e=>{if(!P.hasOwnProperty(e))throw Error(`pretty-format: Unknown option "${e}".`)}),e.min&&e.indent!==void 0&&e.indent!==0)throw Error(`pretty-format: Options "min" and "indent" cannot be used together.`);if(e.theme!==void 0){if(e.theme===null)throw Error(`pretty-format: Option "theme" must not be null.`);if(typeof e.theme!=`object`)throw Error(`pretty-format: Option "theme" must be of type "object" but instead received "${typeof e.theme}".`)}}var te=e=>N.reduce((n,r)=>{let i=e.theme&&e.theme[r]!==void 0?e.theme[r]:M[r],a=i&&t.default[i];if(a&&typeof a.close==`string`&&typeof a.open==`string`)n[r]=a;else throw Error(`pretty-format: Option "theme" has a key "${r}" whose value "${i}" is undefined in ansi-styles.`);return n},Object.create(null)),ne=()=>N.reduce((e,t)=>(e[t]={close:``,open:``},e),Object.create(null)),F=e=>e&&e.printFunctionName!==void 0?e.printFunctionName:P.printFunctionName,re=e=>e&&e.escapeRegex!==void 0?e.escapeRegex:P.escapeRegex,ie=e=>e&&e.escapeString!==void 0?e.escapeString:P.escapeString,ae=e=>({callToJSON:e&&e.callToJSON!==void 0?e.callToJSON:P.callToJSON,colors:e&&e.highlight?te(e):ne(),compareKeys:e&&typeof e.compareKeys==`function`?e.compareKeys:P.compareKeys,escapeRegex:re(e),escapeString:ie(e),indent:e&&e.min?``:I(e&&e.indent!==void 0?e.indent:P.indent),maxDepth:e&&e.maxDepth!==void 0?e.maxDepth:P.maxDepth,min:e&&e.min!==void 0?e.min:P.min,plugins:e&&e.plugins!==void 0?e.plugins:P.plugins,printBasicPrototype:e?.printBasicPrototype??!0,printFunctionName:F(e),spacingInner:e&&e.min?` `:`
16
+ `,spacingOuter:e&&e.min?``:`
17
+ `});function I(e){return Array(e+1).join(` `)}function oe(e,t){if(t&&(ee(t),t.plugins)){let n=A(t.plugins,e);if(n!==null)return k(n,e,ae(t),``,0,[])}let n=E(e,F(t),re(t),ie(t));return n===null?D(e,ae(t),``,0,[]):n}e.plugins={AsymmetricMatcher:r.default,ConvertAnsi:i.default,DOMCollection:a.default,DOMElement:o.default,Immutable:s.default,ReactElement:c.default,ReactTestComponent:l.default},e.default=oe}}),Pi=y({"../../node_modules/lz-string/libs/lz-string.js"(e,t){var n=(function(){var e=String.fromCharCode,t=`ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=`,n=`ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+-$`,r={};function i(e,t){if(!r[e]){r[e]={};for(var n=0;n<e.length;n++)r[e][e.charAt(n)]=n}return r[e][t]}var a={compressToBase64:function(e){if(e==null)return``;var n=a._compress(e,6,function(e){return t.charAt(e)});switch(n.length%4){default:case 0:return n;case 1:return n+`===`;case 2:return n+`==`;case 3:return n+`=`}},decompressFromBase64:function(e){return e==null?``:e==``?null:a._decompress(e.length,32,function(n){return i(t,e.charAt(n))})},compressToUTF16:function(t){return t==null?``:a._compress(t,15,function(t){return e(t+32)})+` `},decompressFromUTF16:function(e){return e==null?``:e==``?null:a._decompress(e.length,16384,function(t){return e.charCodeAt(t)-32})},compressToUint8Array:function(e){for(var t=a.compress(e),n=new Uint8Array(t.length*2),r=0,i=t.length;r<i;r++){var o=t.charCodeAt(r);n[r*2]=o>>>8,n[r*2+1]=o%256}return n},decompressFromUint8Array:function(t){if(t==null)return a.decompress(t);for(var n=Array(t.length/2),r=0,i=n.length;r<i;r++)n[r]=t[r*2]*256+t[r*2+1];var o=[];return n.forEach(function(t){o.push(e(t))}),a.decompress(o.join(``))},compressToEncodedURIComponent:function(e){return e==null?``:a._compress(e,6,function(e){return n.charAt(e)})},decompressFromEncodedURIComponent:function(e){return e==null?``:e==``?null:(e=e.replace(/ /g,`+`),a._decompress(e.length,32,function(t){return i(n,e.charAt(t))}))},compress:function(t){return a._compress(t,16,function(t){return e(t)})},_compress:function(e,t,n){if(e==null)return``;var r,i,a={},o={},s=``,c=``,l=``,u=2,d=3,f=2,p=[],m=0,h=0,g;for(g=0;g<e.length;g+=1)if(s=e.charAt(g),Object.prototype.hasOwnProperty.call(a,s)||(a[s]=d++,o[s]=!0),c=l+s,Object.prototype.hasOwnProperty.call(a,c))l=c;else{if(Object.prototype.hasOwnProperty.call(o,l)){if(l.charCodeAt(0)<256){for(r=0;r<f;r++)m<<=1,h==t-1?(h=0,p.push(n(m)),m=0):h++;for(i=l.charCodeAt(0),r=0;r<8;r++)m=m<<1|i&1,h==t-1?(h=0,p.push(n(m)),m=0):h++,i>>=1}else{for(i=1,r=0;r<f;r++)m=m<<1|i,h==t-1?(h=0,p.push(n(m)),m=0):h++,i=0;for(i=l.charCodeAt(0),r=0;r<16;r++)m=m<<1|i&1,h==t-1?(h=0,p.push(n(m)),m=0):h++,i>>=1}u--,u==0&&(u=2**f,f++),delete o[l]}else for(i=a[l],r=0;r<f;r++)m=m<<1|i&1,h==t-1?(h=0,p.push(n(m)),m=0):h++,i>>=1;u--,u==0&&(u=2**f,f++),a[c]=d++,l=String(s)}if(l!==``){if(Object.prototype.hasOwnProperty.call(o,l)){if(l.charCodeAt(0)<256){for(r=0;r<f;r++)m<<=1,h==t-1?(h=0,p.push(n(m)),m=0):h++;for(i=l.charCodeAt(0),r=0;r<8;r++)m=m<<1|i&1,h==t-1?(h=0,p.push(n(m)),m=0):h++,i>>=1}else{for(i=1,r=0;r<f;r++)m=m<<1|i,h==t-1?(h=0,p.push(n(m)),m=0):h++,i=0;for(i=l.charCodeAt(0),r=0;r<16;r++)m=m<<1|i&1,h==t-1?(h=0,p.push(n(m)),m=0):h++,i>>=1}u--,u==0&&(u=2**f,f++),delete o[l]}else for(i=a[l],r=0;r<f;r++)m=m<<1|i&1,h==t-1?(h=0,p.push(n(m)),m=0):h++,i>>=1;u--,u==0&&(u=2**f,f++)}for(i=2,r=0;r<f;r++)m=m<<1|i&1,h==t-1?(h=0,p.push(n(m)),m=0):h++,i>>=1;for(;;)if(m<<=1,h==t-1){p.push(n(m));break}else h++;return p.join(``)},decompress:function(e){return e==null?``:e==``?null:a._decompress(e.length,32768,function(t){return e.charCodeAt(t)})},_decompress:function(t,n,r){var i=[],a=4,o=4,s=3,c=``,l=[],u,d,f,p,m,h,g,_={val:r(0),position:n,index:1};for(u=0;u<3;u+=1)i[u]=u;for(f=0,m=2**2,h=1;h!=m;)p=_.val&_.position,_.position>>=1,_.position==0&&(_.position=n,_.val=r(_.index++)),f|=(p>0?1:0)*h,h<<=1;switch(f){case 0:for(f=0,m=2**8,h=1;h!=m;)p=_.val&_.position,_.position>>=1,_.position==0&&(_.position=n,_.val=r(_.index++)),f|=(p>0?1:0)*h,h<<=1;g=e(f);break;case 1:for(f=0,m=2**16,h=1;h!=m;)p=_.val&_.position,_.position>>=1,_.position==0&&(_.position=n,_.val=r(_.index++)),f|=(p>0?1:0)*h,h<<=1;g=e(f);break;case 2:return``}for(i[3]=g,d=g,l.push(g);;){if(_.index>t)return``;for(f=0,m=2**s,h=1;h!=m;)p=_.val&_.position,_.position>>=1,_.position==0&&(_.position=n,_.val=r(_.index++)),f|=(p>0?1:0)*h,h<<=1;switch(g=f){case 0:for(f=0,m=2**8,h=1;h!=m;)p=_.val&_.position,_.position>>=1,_.position==0&&(_.position=n,_.val=r(_.index++)),f|=(p>0?1:0)*h,h<<=1;i[o++]=e(f),g=o-1,a--;break;case 1:for(f=0,m=2**16,h=1;h!=m;)p=_.val&_.position,_.position>>=1,_.position==0&&(_.position=n,_.val=r(_.index++)),f|=(p>0?1:0)*h,h<<=1;i[o++]=e(f),g=o-1,a--;break;case 2:return l.join(``)}if(a==0&&(a=2**s,s++),i[g])c=i[g];else if(g===o)c=d+d.charAt(0);else return null;l.push(c),i[o++]=d+c.charAt(0),a--,d=c,a==0&&(a=2**s,s++)}}};return a})();typeof define==`function`&&define.amd?define(function(){return n}):typeof t<`u`&&t!=null?t.exports=n:typeof angular<`u`&&angular!=null&&angular.module(`LZString`,[]).factory(`LZString`,function(){return n})}}),Fi=y({"../../node_modules/memoizerific/memoizerific.js"(e,t){(function(n){if(typeof e==`object`&&typeof t<`u`)t.exports=n();else if(typeof define==`function`&&define.amd)define([],n);else{var r=typeof window<`u`?window:typeof global<`u`?global:typeof self<`u`?self:this;r.memoizerific=n()}})(function(){return(function e(t,n,r){function i(o,s){if(!n[o]){if(!t[o]){var c=typeof v==`function`&&v;if(!s&&c)return c(o,!0);if(a)return a(o,!0);var l=Error(`Cannot find module '`+o+`'`);throw l.code=`MODULE_NOT_FOUND`,l}var u=n[o]={exports:{}};t[o][0].call(u.exports,function(e){var n=t[o][1][e];return i(n||e)},u,u.exports,e,t,n,r)}return n[o].exports}for(var a=typeof v==`function`&&v,o=0;o<r.length;o++)i(r[o]);return i})({1:[function(e,t,n){t.exports=function(t){return typeof Map!=`function`||t?new(e(`./similar`)):new Map}},{"./similar":2}],2:[function(e,t,n){function r(){return this.list=[],this.lastItem=void 0,this.size=0,this}r.prototype.get=function(e){var t;if(this.lastItem&&this.isEqual(this.lastItem.key,e))return this.lastItem.val;if(t=this.indexOf(e),t>=0)return this.lastItem=this.list[t],this.list[t].val},r.prototype.set=function(e,t){var n;return this.lastItem&&this.isEqual(this.lastItem.key,e)?(this.lastItem.val=t,this):(n=this.indexOf(e),n>=0?(this.lastItem=this.list[n],this.list[n].val=t,this):(this.lastItem={key:e,val:t},this.list.push(this.lastItem),this.size++,this))},r.prototype.delete=function(e){var t;if(this.lastItem&&this.isEqual(this.lastItem.key,e)&&(this.lastItem=void 0),t=this.indexOf(e),t>=0)return this.size--,this.list.splice(t,1)[0]},r.prototype.has=function(e){var t;return this.lastItem&&this.isEqual(this.lastItem.key,e)?!0:(t=this.indexOf(e),t>=0?(this.lastItem=this.list[t],!0):!1)},r.prototype.forEach=function(e,t){var n;for(n=0;n<this.size;n++)e.call(t||this,this.list[n].val,this.list[n].key,this)},r.prototype.indexOf=function(e){var t;for(t=0;t<this.size;t++)if(this.isEqual(this.list[t].key,e))return t;return-1},r.prototype.isEqual=function(e,t){return e===t||e!==e&&t!==t},t.exports=r},{}],3:[function(e,t,n){var r=e(`map-or-similar`);t.exports=function(e){var t=new r(!1),n=[];return function(o){var s=function(){var c=t,l,u,d=arguments.length-1,f=Array(d+1),p=!0,m;if((s.numArgs||s.numArgs===0)&&s.numArgs!==d+1)throw Error(`Memoizerific functions should always be called with the same number of arguments`);for(m=0;m<d;m++){if(f[m]={cacheItem:c,arg:arguments[m]},c.has(arguments[m])){c=c.get(arguments[m]);continue}p=!1,l=new r(!1),c.set(arguments[m],l),c=l}return p&&(c.has(arguments[d])?u=c.get(arguments[d]):p=!1),p||(u=o.apply(null,arguments),c.set(arguments[d],u)),e>0&&(f[d]={cacheItem:c,arg:arguments[d]},p?i(n,f):n.push(f),n.length>e&&a(n.shift())),s.wasMemoized=p,s.numArgs=d+1,u};return s.limit=e,s.wasMemoized=!1,s.cache=t,s.lru=n,s}};function i(e,t){var n=e.length,r=t.length,i,a,s;for(a=0;a<n;a++){for(i=!0,s=0;s<r;s++)if(!o(e[a][s].arg,t[s].arg)){i=!1;break}if(i)break}e.push(e.splice(a,1)[0])}function a(e){var t=e.length,n=e[t-1],r,i;for(n.cacheItem.delete(n.arg),i=t-2;i>=0&&(n=e[i],r=n.cacheItem.get(n.arg),!r||!r.size);i--)n.cacheItem.delete(n.arg)}function o(e,t){return e===t||e!==e&&t!==t}},{"map-or-similar":1}]},{},[3])(3)})}}),Ii=y({"../../node_modules/picoquery/lib/string-util.js"(e){Object.defineProperty(e,`__esModule`,{value:!0}),e.encodeString=r;var t=Array.from({length:256},(e,t)=>`%`+((t<16?`0`:``)+t.toString(16)).toUpperCase()),n=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 r(e){let r=e.length;if(r===0)return``;let i=``,a=0,o=0;outer:for(;o<r;o++){let s=e.charCodeAt(o);for(;s<128;){if(n[s]!==1&&(a<o&&(i+=e.slice(a,o)),a=o+1,i+=t[s]),++o===r)break outer;s=e.charCodeAt(o)}if(a<o&&(i+=e.slice(a,o)),s<2048){a=o+1,i+=t[192|s>>6]+t[128|s&63];continue}if(s<55296||s>=57344){a=o+1,i+=t[224|s>>12]+t[128|s>>6&63]+t[128|s&63];continue}if(++o,o>=r)throw Error(`URI malformed`);let c=e.charCodeAt(o)&1023;a=o+1,s=65536+((s&1023)<<10|c),i+=t[240|s>>18]+t[128|s>>12&63]+t[128|s>>6&63]+t[128|s&63]}return a===0?e:a<r?i+e.slice(a):i}}}),Li=y({"../../node_modules/picoquery/lib/shared.js"(e){Object.defineProperty(e,`__esModule`,{value:!0}),e.defaultOptions=e.defaultShouldSerializeObject=e.defaultValueSerializer=void 0;var t=Ii();e.defaultValueSerializer=e=>{switch(typeof e){case`string`:return(0,t.encodeString)(e);case`bigint`:case`boolean`:return``+e;case`number`:if(Number.isFinite(e))return e<1e21?``+e:(0,t.encodeString)(``+e);break}return e instanceof Date?(0,t.encodeString)(e.toISOString()):``},e.defaultShouldSerializeObject=e=>e instanceof Date;var n=e=>e;e.defaultOptions={nesting:!0,nestingSyntax:`dot`,arrayRepeat:!1,arrayRepeatSyntax:`repeat`,delimiter:38,valueDeserializer:n,valueSerializer:e.defaultValueSerializer,keyDeserializer:n,shouldSerializeObject:e.defaultShouldSerializeObject}}}),Ri=y({"../../node_modules/picoquery/lib/object-util.js"(e){Object.defineProperty(e,`__esModule`,{value:!0}),e.getDeepObject=i,e.stringifyObject=u;var t=Li(),n=Ii();function r(e){return e===`__proto__`||e===`constructor`||e===`prototype`}function i(e,t,n,i,a){if(r(t))return e;let o=e[t];return typeof o==`object`&&o?o:!i&&(a||typeof n==`number`||typeof n==`string`&&n*0==0&&n.indexOf(`.`)===-1)?e[t]=[]:e[t]={}}var a=20,o=`[]`,s=`[`,c=`]`,l=`.`;function u(e,r,i=0,d,f){let{nestingSyntax:p=t.defaultOptions.nestingSyntax,arrayRepeat:m=t.defaultOptions.arrayRepeat,arrayRepeatSyntax:h=t.defaultOptions.arrayRepeatSyntax,nesting:g=t.defaultOptions.nesting,delimiter:_=t.defaultOptions.delimiter,valueSerializer:v=t.defaultOptions.valueSerializer,shouldSerializeObject:y=t.defaultOptions.shouldSerializeObject}=r,b=typeof _==`number`?String.fromCharCode(_):_,x=f===!0&&m,S=p===`dot`||p===`js`&&!f;if(i>a)return``;let C=``,w=!0,T=!1;for(let t in e){let a=e[t];if(a===void 0)continue;let f;d?(f=d,x?h===`bracket`&&(f+=o):S?(f+=l,f+=t):(f+=s,f+=t,f+=c)):f=t,w||(C+=b),typeof a==`object`&&a&&!y(a)?(T=a.pop!==void 0,(g||m&&T)&&(C+=u(a,r,i+1,f,T))):(C+=(0,n.encodeString)(f),C+=`=`,C+=v(a,t)),w&&=!1}return C}}}),zi=y({"../../node_modules/picoquery/lib/decode-uri-component.js"(e){Object.defineProperty(e,`__esModule`,{value:!0}),e.decodeURIComponent=i;var t=12,n=0,r=[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 i(e){let i=e.indexOf(`%`);if(i===-1)return e;let a=e.length,s=``,c=0,l=0,u=i,d=t;for(;i>-1&&i<a;){let f=o(e[i+1],4)|o(e[i+2],0),p=r[f];if(d=r[256+d+p],l=l<<6|f&r[364+p],d===t)s+=e.slice(c,u),s+=l<=65535?String.fromCharCode(l):String.fromCharCode(55232+(l>>10),56320+(l&1023)),l=0,c=i+3,i=u=e.indexOf(`%`,c);else{if(d===n)return null;if(i+=3,i<a&&e.charCodeAt(i)===37)continue;return null}}return s+e.slice(c)}var a={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 o(e,t){let n=a[e];return n===void 0?255:n<<t}}}),Bi=y({"../../node_modules/picoquery/lib/parse.js"(e){Object.defineProperty(e,`__esModule`,{value:!0}),e.numberValueDeserializer=e.numberKeyDeserializer=void 0,e.parse=s;var t=Ri(),n=Li(),r=zi();e.numberKeyDeserializer=e=>{let t=Number(e);return Number.isNaN(t)?e:t},e.numberValueDeserializer=e=>{let t=Number(e);return Number.isNaN(t)?e:t};var i=/\+/g,a=function(){};a.prototype=Object.create(null);function o(e,t,n,a,o){let s=e.substring(t,n);return a&&(s=s.replace(i,` `)),o&&(s=(0,r.decodeURIComponent)(s)||s),s}function s(e,s){let{valueDeserializer:c=n.defaultOptions.valueDeserializer,keyDeserializer:l=n.defaultOptions.keyDeserializer,arrayRepeatSyntax:u=n.defaultOptions.arrayRepeatSyntax,nesting:d=n.defaultOptions.nesting,arrayRepeat:f=n.defaultOptions.arrayRepeat,nestingSyntax:p=n.defaultOptions.nestingSyntax,delimiter:m=n.defaultOptions.delimiter}=s??{},h=typeof m==`string`?m.charCodeAt(0):m,g=p===`js`,_=new a;if(typeof e!=`string`)return _;let v=e.length,y=``,b=-1,x=-1,S=-1,C=_,w,T=``,E=``,D=!1,O=!1,k=!1,A=!1,j=!1,M=!1,N=0,P=-1,ee=-1,te=-1;for(let n=0;n<v+1;n++){if(N=n===v?h:e.charCodeAt(n),N===h){if(M=x>b,M||(x=n),S!==x-1&&(E=o(e,S+1,P>-1?P:x,k,D),T=l(E),w!==void 0&&(C=(0,t.getDeepObject)(C,w,T,g&&j,void 0))),M||T!==``){M&&(y=e.slice(x+1,n),A&&(y=y.replace(i,` `)),O&&(y=(0,r.decodeURIComponent)(y)||y));let t=c(y,T);if(f){let e=C[T];e===void 0?P>-1?C[T]=[t]:C[T]=t:e.pop?e.push(t):C[T]=[e,t]}else C[T]=t}y=``,b=n,x=n,D=!1,O=!1,k=!1,A=!1,j=!1,P=-1,S=n,C=_,w=void 0,T=``}else N===93?(f&&u===`bracket`&&te===91&&(P=ee),d&&(p===`index`||g)&&x<=b&&(S!==ee&&(E=o(e,S+1,n,k,D),T=l(E),w!==void 0&&(C=(0,t.getDeepObject)(C,w,T,void 0,void 0)),w=T,k=!1,D=!1),S=n,j=!1)):N===46?d&&(p===`dot`||g)&&x<=b&&(S!==ee&&(E=o(e,S+1,n,k,D),T=l(E),w!==void 0&&(C=(0,t.getDeepObject)(C,w,T,g)),w=T,k=!1,D=!1),j=!0,S=n):N===91?d&&(p===`index`||g)&&x<=b&&(S!==ee&&(E=o(e,S+1,n,k,D),T=l(E),g&&w!==void 0&&(C=(0,t.getDeepObject)(C,w,T,g)),w=T,k=!1,D=!1,j=!1),S=n):N===61?x<=b?x=n:O=!0:N===43?x>b?A=!0:k=!0:N===37&&(x>b?O=!0:D=!0);ee=n,te=N}return _}}}),Vi=y({"../../node_modules/picoquery/lib/stringify.js"(e){Object.defineProperty(e,`__esModule`,{value:!0}),e.stringify=n;var t=Ri();function n(e,n){if(typeof e!=`object`||!e)return``;let r=n??{};return(0,t.stringifyObject)(e,r)}}}),Hi=y({"../../node_modules/picoquery/lib/main.js"(e){var t=e&&e.__createBinding||(Object.create?(function(e,t,n,r){r===void 0&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);(!i||(`get`in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}):(function(e,t,n,r){r===void 0&&(r=n),e[r]=t[n]})),n=e&&e.__exportStar||function(e,n){for(var r in e)r!==`default`&&!Object.prototype.hasOwnProperty.call(n,r)&&t(n,e,r)};Object.defineProperty(e,`__esModule`,{value:!0}),e.stringify=e.parse=void 0;var r=Bi();Object.defineProperty(e,`parse`,{enumerable:!0,get:function(){return r.parse}});var i=Vi();Object.defineProperty(e,`stringify`,{enumerable:!0,get:function(){return i.stringify}}),n(Li(),e)}}),Ui=y({"../../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:`\xA0`,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:`
18
+ `,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:`\xA0`,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:`‌`}}}),Wi=y({"../../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:`\xA0`,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:`ÿ`}}}),Gi=y({"../../node_modules/entities/lib/maps/xml.json"(e,t){t.exports={amp:`&`,apos:`'`,gt:`>`,lt:`<`,quot:`"`}}}),Ki=y({"../../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}}}),qi=y({"../../node_modules/entities/lib/decode_codepoint.js"(e){var t=e&&e.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(e,`__esModule`,{value:!0});var n=t(Ki()),r=String.fromCodePoint||function(e){var t=``;return e>65535&&(e-=65536,t+=String.fromCharCode(e>>>10&1023|55296),e=56320|e&1023),t+=String.fromCharCode(e),t};function i(e){return e>=55296&&e<=57343||e>1114111?`�`:(e in n.default&&(e=n.default[e]),r(e))}e.default=i}}),Ji=y({"../../node_modules/entities/lib/decode.js"(e){var t=e&&e.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(e,`__esModule`,{value:!0}),e.decodeHTML=e.decodeHTMLStrict=e.decodeXML=void 0;var n=t(Ui()),r=t(Wi()),i=t(Gi()),a=t(qi()),o=/&(?:[a-zA-Z0-9]+|#[xX][\da-fA-F]+|#\d+);/g;e.decodeXML=s(i.default),e.decodeHTMLStrict=s(n.default);function s(e){var t=l(e);return function(e){return String(e).replace(o,t)}}var c=function(e,t){return e<t?1:-1};e.decodeHTML=(function(){for(var e=Object.keys(r.default).sort(c),t=Object.keys(n.default).sort(c),i=0,a=0;i<t.length;i++)e[a]===t[i]?(t[i]+=`;?`,a++):t[i]+=`;`;var o=RegExp(`&(?:`+t.join(`|`)+`|#[xX][\\da-fA-F]+;?|#\\d+;?)`,`g`),s=l(n.default);function u(e){return e.substr(-1)!==`;`&&(e+=`;`),s(e)}return function(e){return String(e).replace(o,u)}})();function l(e){return function(t){if(t.charAt(1)===`#`){var n=t.charAt(2);return n===`X`||n===`x`?a.default(parseInt(t.substr(3),16)):a.default(parseInt(t.substr(2),10))}return e[t.slice(1,-1)]||t}}}}),Yi=y({"../../node_modules/entities/lib/encode.js"(e){var t=e&&e.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(e,`__esModule`,{value:!0}),e.escapeUTF8=e.escape=e.encodeNonAsciiHTML=e.encodeHTML=e.encodeXML=void 0;var n=a(t(Gi()).default),r=o(n);e.encodeXML=m(n);var i=a(t(Ui()).default);e.encodeHTML=u(i,o(i)),e.encodeNonAsciiHTML=m(i);function a(e){return Object.keys(e).sort().reduce(function(t,n){return t[e[n]]=`&`+n+`;`,t},{})}function o(e){for(var t=[],n=[],r=0,i=Object.keys(e);r<i.length;r++){var a=i[r];a.length===1?t.push(`\\`+a):n.push(a)}t.sort();for(var o=0;o<t.length-1;o++){for(var s=o;s<t.length-1&&t[s].charCodeAt(1)+1===t[s+1].charCodeAt(1);)s+=1;var c=1+s-o;c<3||t.splice(o,c,t[o]+`-`+t[s])}return n.unshift(`[`+t.join(``)+`]`),new RegExp(n.join(`|`),`g`)}var s=/(?:[\x80-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])/g,c=String.prototype.codePointAt==null?(function(e){return(e.charCodeAt(0)-55296)*1024+e.charCodeAt(1)-56320+65536}):(function(e){return e.codePointAt(0)});function l(e){return`&#x`+(e.length>1?c(e):e.charCodeAt(0)).toString(16).toUpperCase()+`;`}function u(e,t){return function(n){return n.replace(t,function(t){return e[t]}).replace(s,l)}}var d=RegExp(r.source+`|`+s.source,`g`);function f(e){return e.replace(d,l)}e.escape=f;function p(e){return e.replace(r,l)}e.escapeUTF8=p;function m(e){return function(t){return t.replace(d,function(t){return e[t]||l(t)})}}}}),Xi=y({"../../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=Ji(),n=Yi();function r(e,n){return(!n||n<=0?t.decodeXML:t.decodeHTML)(e)}e.decode=r;function i(e,n){return(!n||n<=0?t.decodeXML:t.decodeHTMLStrict)(e)}e.decodeStrict=i;function a(e,t){return(!t||t<=0?n.encodeXML:n.encodeHTML)(e)}e.encode=a;var o=Yi();Object.defineProperty(e,`encodeXML`,{enumerable:!0,get:function(){return o.encodeXML}}),Object.defineProperty(e,`encodeHTML`,{enumerable:!0,get:function(){return o.encodeHTML}}),Object.defineProperty(e,`encodeNonAsciiHTML`,{enumerable:!0,get:function(){return o.encodeNonAsciiHTML}}),Object.defineProperty(e,`escape`,{enumerable:!0,get:function(){return o.escape}}),Object.defineProperty(e,`escapeUTF8`,{enumerable:!0,get:function(){return o.escapeUTF8}}),Object.defineProperty(e,`encodeHTML4`,{enumerable:!0,get:function(){return o.encodeHTML}}),Object.defineProperty(e,`encodeHTML5`,{enumerable:!0,get:function(){return o.encodeHTML}});var s=Ji();Object.defineProperty(e,`decodeXML`,{enumerable:!0,get:function(){return s.decodeXML}}),Object.defineProperty(e,`decodeHTML`,{enumerable:!0,get:function(){return s.decodeHTML}}),Object.defineProperty(e,`decodeHTMLStrict`,{enumerable:!0,get:function(){return s.decodeHTMLStrict}}),Object.defineProperty(e,`decodeHTML4`,{enumerable:!0,get:function(){return s.decodeHTML}}),Object.defineProperty(e,`decodeHTML5`,{enumerable:!0,get:function(){return s.decodeHTML}}),Object.defineProperty(e,`decodeHTML4Strict`,{enumerable:!0,get:function(){return s.decodeHTMLStrict}}),Object.defineProperty(e,`decodeHTML5Strict`,{enumerable:!0,get:function(){return s.decodeHTMLStrict}}),Object.defineProperty(e,`decodeXMLStrict`,{enumerable:!0,get:function(){return s.decodeXML}})}}),Zi=y({"../../node_modules/ansi-to-html/lib/ansi_to_html.js"(e,t){function n(e,t){if(!(e instanceof t))throw TypeError(`Cannot call a class as a function`)}function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,`value`in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function i(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}function a(e,t){var n=typeof Symbol<`u`&&e[Symbol.iterator]||e[`@@iterator`];if(!n){if(Array.isArray(e)||(n=o(e))||t&&e&&typeof e.length==`number`){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw TypeError(`Invalid attempt to iterate non-iterable instance.
19
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var a=!0,s=!1,c;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,c=e},f:function(){try{!a&&n.return!=null&&n.return()}finally{if(s)throw c}}}}function o(e,t){if(e){if(typeof e==`string`)return s(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n===`Object`&&e.constructor&&(n=e.constructor.name),n===`Map`||n===`Set`)return Array.from(e);if(n===`Arguments`||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return s(e,t)}}function s(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var c=Xi(),l={fg:`#FFF`,bg:`#000`,newline:!1,escapeXML:!1,stream:!1,colors:u()};function u(){var e={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 v(0,5).forEach(function(t){v(0,5).forEach(function(n){v(0,5).forEach(function(r){return d(t,n,r,e)})})}),v(0,23).forEach(function(t){var n=t+232,r=f(t*10+8);e[n]=`#`+r+r+r}),e}function d(e,t,n,r){var i=16+e*36+t*6+n;r[i]=p([e>0?e*40+55:0,t>0?t*40+55:0,n>0?n*40+55:0])}function f(e){for(var t=e.toString(16);t.length<2;)t=`0`+t;return t}function p(e){var t=[],n=a(e),r;try{for(n.s();!(r=n.n()).done;){var i=r.value;t.push(f(i))}}catch(e){n.e(e)}finally{n.f()}return`#`+t.join(``)}function m(e,t,n,r){var i;return t===`text`?i=x(n,r):t===`display`?i=g(e,n,r):t===`xterm256Foreground`?i=w(e,r.colors[n]):t===`xterm256Background`?i=T(e,r.colors[n]):t===`rgb`&&(i=h(e,n)),i}function h(e,t){t=t.substring(2).slice(0,-1);var n=+t.substr(0,2),r=t.substring(5).split(`;`).map(function(e){return(`0`+Number(e).toString(16)).substr(-2)}).join(``);return C(e,(n===38?`color:#`:`background-color:#`)+r)}function g(e,t,n){t=parseInt(t,10);var r={"-1":function(){return`<br/>`},0:function(){return e.length&&_(e)},1:function(){return S(e,`b`)},3:function(){return S(e,`i`)},4:function(){return S(e,`u`)},8:function(){return C(e,`display:none`)},9:function(){return S(e,`strike`)},22:function(){return C(e,`font-weight:normal;text-decoration:none;font-style:normal`)},23:function(){return E(e,`i`)},24:function(){return E(e,`u`)},39:function(){return w(e,n.fg)},49:function(){return T(e,n.bg)},53:function(){return C(e,`text-decoration:overline`)}},i;return r[t]?i=r[t]():4<t&&t<7?i=S(e,`blink`):29<t&&t<38?i=w(e,n.colors[t-30]):39<t&&t<48?i=T(e,n.colors[t-40]):89<t&&t<98?i=w(e,n.colors[8+(t-90)]):99<t&&t<108&&(i=T(e,n.colors[8+(t-100)])),i}function _(e){var t=e.slice(0);return e.length=0,t.reverse().map(function(e){return`</`+e+`>`}).join(``)}function v(e,t){for(var n=[],r=e;r<=t;r++)n.push(r);return n}function y(e){return function(t){return(e===null||t.category!==e)&&e!==`all`}}function b(e){e=parseInt(e,10);var t=null;return e===0?t=`all`:e===1?t=`bold`:2<e&&e<5?t=`underline`:4<e&&e<7?t=`blink`:e===8?t=`hide`:e===9?t=`strike`:29<e&&e<38||e===39||89<e&&e<98?t=`foreground-color`:(39<e&&e<48||e===49||99<e&&e<108)&&(t=`background-color`),t}function x(e,t){return t.escapeXML?c.encodeXML(e):e}function S(e,t,n){return n||=``,e.push(t),`<${t}${n?` style="${n}"`:``}>`}function C(e,t){return S(e,`span`,t)}function w(e,t){return S(e,`span`,`color:`+t)}function T(e,t){return S(e,`span`,`background-color:`+t)}function E(e,t){var n;if(e.slice(-1)[0]===t&&(n=e.pop()),n)return`</`+t+`>`}function D(e,t,n){var r=!1,i=3;function o(){return``}function s(e,t){return n(`xterm256Foreground`,t),``}function c(e,t){return n(`xterm256Background`,t),``}function l(e){return t.newline?n(`display`,-1):n(`text`,e),``}function u(e,t){r=!0,t.trim().length===0&&(t=`0`),t=t.trimRight(`;`).split(`;`);var i=a(t),o;try{for(i.s();!(o=i.n()).done;){var s=o.value;n(`display`,s)}}catch(e){i.e(e)}finally{i.f()}return``}function d(e){return n(`text`,e),``}function f(e){return n(`rgb`,e),``}var p=[{pattern:/^\x08+/,sub:o},{pattern:/^\x1b\[[012]?K/,sub:o},{pattern:/^\x1b\[\(B/,sub:o},{pattern:/^\x1b\[[34]8;2;\d+;\d+;\d+m/,sub:f},{pattern:/^\x1b\[38;5;(\d+)m/,sub:s},{pattern:/^\x1b\[48;5;(\d+)m/,sub:c},{pattern:/^\n/,sub:l},{pattern:/^\r+\n/,sub:l},{pattern:/^\r/,sub:l},{pattern:/^\x1b\[((?:\d{1,3};?)+|)m/,sub:u},{pattern:/^\x1b\[\d?J/,sub:o},{pattern:/^\x1b\[\d{0,3};\d{0,3}f/,sub:o},{pattern:/^\x1b\[?[\d;]{0,3}/,sub:o},{pattern:/^(([^\x1b\x08\r\n])+)/,sub:d}];function m(t,n){n>i&&r||(r=!1,e=e.replace(t.pattern,t.sub))}var h=[],g=e.length;outer:for(;g>0;){for(var _=0,v=0,y=p.length;v<y;_=++v){var b=p[_];if(m(b,_),e.length!==g){g=e.length;continue outer}}if(e.length===g)break;h.push(0),g=e.length}return h}function O(e,t,n){return t!==`text`&&(e=e.filter(y(b(n))),e.push({token:t,data:n,category:b(n)})),e}t.exports=(function(){function e(t){n(this,e),t||={},t.colors&&=Object.assign({},l.colors,t.colors),this.options=Object.assign({},l,t),this.stack=[],this.stickyStack=[]}return i(e,[{key:`toHtml`,value:function(e){var t=this;e=typeof e==`string`?[e]:e;var n=this.stack,r=this.options,i=[];return this.stickyStack.forEach(function(e){var t=m(n,e.token,e.data,r);t&&i.push(t)}),D(e.join(``),r,function(e,a){var o=m(n,e,a,r);o&&i.push(o),r.stream&&(t.stickyStack=O(t.stickyStack,e,a))}),n.length&&i.push(_(n)),i.join(``)}}]),e})()}}),Qi=y({"../../node_modules/jsdoc-type-pratt-parser/dist/index.js"(e,t){(function(n,r){typeof e==`object`&&typeof t<`u`?r(e):typeof define==`function`&&define.amd?define([`exports`],r):(n=typeof globalThis<`u`?globalThis:n||self,r(n.jtpp={}))})(e,(function(e){function t(e){return e.text!==void 0&&e.text!==``?`'${e.type}' with value '${e.text}'`:`'${e.type}'`}class n extends Error{constructor(e){super(`No parslet found for token: ${t(e)}`),this.token=e,Object.setPrototypeOf(this,n.prototype)}getToken(){return this.token}}class r extends Error{constructor(e){super(`The parsing ended early. The next token was: ${t(e)}`),this.token=e,Object.setPrototypeOf(this,r.prototype)}getToken(){return this.token}}class i extends Error{constructor(e,t){let n=`Unexpected type: '${e.type}'.`;t!==void 0&&(n+=` Message: ${t}`),super(n),Object.setPrototypeOf(this,i.prototype)}}function a(e){return t=>t.startsWith(e)?{type:e,text:e}:null}function o(e){let t=0,n,r=e[0],i=!1;if(r!==`'`&&r!==`"`)return null;for(;t<e.length;){if(t++,n=e[t],!i&&n===r){t++;break}i=!i&&n===`\\`}if(n!==r)throw Error(`Unterminated String`);return e.slice(0,t)}let s=RegExp(`[$_\\p{ID_Start}]|\\\\u\\p{Hex_Digit}{4}|\\\\u\\{0*(?:\\p{Hex_Digit}{1,5}|10\\p{Hex_Digit}{4})\\}`,`u`),c=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 l(e){let t=e[0];if(!s.test(t))return null;let n=1;do{if(t=e[n],!c.test(t))break;n++}while(n<e.length);return e.slice(0,n)}let u=/^(NaN|-?((\d*\.\d+|\d+)([Ee][+-]?\d+)?|Infinity))/;function d(e){return u.exec(e)?.[0]??null}let f=e=>{let t=l(e);return t==null?null:{type:`Identifier`,text:t}};function p(e){return t=>{if(!t.startsWith(e))return null;let n=t[e.length];return n!==void 0&&c.test(n)?null:{type:e,text:e}}}let m=[e=>e.length>0?null:{type:`EOF`,text:``},a(`=>`),a(`(`),a(`)`),a(`{`),a(`}`),a(`[`),a(`]`),a(`|`),a(`&`),a(`<`),a(`>`),a(`,`),a(`;`),a(`*`),a(`?`),a(`!`),a(`=`),a(`:`),a(`...`),a(`.`),a(`#`),a(`~`),a(`/`),a(`@`),p(`undefined`),p(`null`),p(`function`),p(`this`),p(`new`),p(`module`),p(`event`),p(`extends`),p(`external`),p(`infer`),p(`typeof`),p(`keyof`),p(`readonly`),p(`import`),p(`is`),p(`in`),p(`asserts`),e=>{let t=d(e);return t===null?null:{type:`Number`,text:t}},f,e=>{let t=o(e);return t==null?null:{type:`StringValue`,text:t}}],h=/^\s*\n\s*/;class g{static create(e){let t=this.read(e);e=t.text;let n=this.read(e);return e=n.text,new g(e,void 0,t.token,n.token)}constructor(e,t,n,r){this.text=``,this.text=e,this.previous=t,this.current=n,this.next=r}static read(e,t=!1){t||=h.test(e),e=e.trim();for(let n of m){let r=n(e);if(r!==null){let n=Object.assign(Object.assign({},r),{startOfLine:t});return e=e.slice(n.text.length),{text:e,token:n}}}throw Error(`Unexpected Token `+e)}advance(){let e=g.read(this.text);return new g(e.text,this.current,this.next,e.token)}}function _(e){if(e===void 0)throw Error(`Unexpected undefined`);if(e.type===`JsdocTypeKeyValue`||e.type===`JsdocTypeParameterList`||e.type===`JsdocTypeProperty`||e.type===`JsdocTypeReadonlyProperty`||e.type===`JsdocTypeObjectField`||e.type===`JsdocTypeJsdocObjectField`||e.type===`JsdocTypeIndexSignature`||e.type===`JsdocTypeMappedType`||e.type===`JsdocTypeTypeParameter`)throw new i(e);return e}function v(e){return e.type===`JsdocTypeKeyValue`?b(e):_(e)}function y(e){return e.type===`JsdocTypeName`?e:b(e)}function b(e){if(e.type!==`JsdocTypeKeyValue`)throw new i(e);return e}function x(e){if(e.type===`JsdocTypeVariadic`){if(e.element?.type===`JsdocTypeName`)return e;throw new i(e)}if(e.type!==`JsdocTypeNumber`&&e.type!==`JsdocTypeName`)throw new i(e);return e}function S(e){if(e.type===`JsdocTypeTuple`||e.type===`JsdocTypeGeneric`&&e.meta.brackets===`square`)return e;throw new i(e)}function C(e){return e.type===`JsdocTypeIndexSignature`||e.type===`JsdocTypeMappedType`}var w;(function(e){e[e.ALL=0]=`ALL`,e[e.PARAMETER_LIST=1]=`PARAMETER_LIST`,e[e.OBJECT=2]=`OBJECT`,e[e.KEY_VALUE=3]=`KEY_VALUE`,e[e.INDEX_BRACKETS=4]=`INDEX_BRACKETS`,e[e.UNION=5]=`UNION`,e[e.INTERSECTION=6]=`INTERSECTION`,e[e.PREFIX=7]=`PREFIX`,e[e.INFIX=8]=`INFIX`,e[e.TUPLE=9]=`TUPLE`,e[e.SYMBOL=10]=`SYMBOL`,e[e.OPTIONAL=11]=`OPTIONAL`,e[e.NULLABLE=12]=`NULLABLE`,e[e.KEY_OF_TYPE_OF=13]=`KEY_OF_TYPE_OF`,e[e.FUNCTION=14]=`FUNCTION`,e[e.ARROW=15]=`ARROW`,e[e.ARRAY_BRACKETS=16]=`ARRAY_BRACKETS`,e[e.GENERIC=17]=`GENERIC`,e[e.NAME_PATH=18]=`NAME_PATH`,e[e.PARENTHESIS=19]=`PARENTHESIS`,e[e.SPECIAL_TYPES=20]=`SPECIAL_TYPES`})(w||={});class T{constructor(e,t,n){this.grammar=e,typeof t==`string`?this._lexer=g.create(t):this._lexer=t,this.baseParser=n}get lexer(){return this._lexer}parse(){let e=this.parseType(w.ALL);if(this.lexer.current.type!==`EOF`)throw new r(this.lexer.current);return e}parseType(e){return _(this.parseIntermediateType(e))}parseIntermediateType(e){let t=this.tryParslets(null,e);if(t===null)throw new n(this.lexer.current);return this.parseInfixIntermediateType(t,e)}parseInfixIntermediateType(e,t){let n=this.tryParslets(e,t);for(;n!==null;)e=n,n=this.tryParslets(e,t);return e}tryParslets(e,t){for(let n of this.grammar){let r=n(this,t,e);if(r!==null)return r}return null}consume(e){return Array.isArray(e)||(e=[e]),e.includes(this.lexer.current.type)?(this._lexer=this.lexer.advance(),!0):!1}acceptLexerState(e){this._lexer=e.lexer}}function E(e){return e===`}`||e===`EOF`||e===`|`||e===`,`||e===`)`||e===`>`}let D=(e,t,n)=>{let r=e.lexer.current.type,i=e.lexer.next.type;return n==null&&r===`?`&&!E(i)||n!=null&&r===`?`?(e.consume(`?`),n==null?{type:`JsdocTypeNullable`,element:e.parseType(w.NULLABLE),meta:{position:`prefix`}}:{type:`JsdocTypeNullable`,element:_(n),meta:{position:`suffix`}}):null};function O(e){let t=(t,n,r)=>{let i=t.lexer.current.type,a=t.lexer.next.type;if(r===null){if(`parsePrefix`in e&&e.accept(i,a))return e.parsePrefix(t)}else if(`parseInfix`in e&&e.precedence>n&&e.accept(i,a))return e.parseInfix(t,r);return null};return Object.defineProperty(t,`name`,{value:e.name}),t}let k=O({name:`optionalParslet`,accept:e=>e===`=`,precedence:w.OPTIONAL,parsePrefix:e=>(e.consume(`=`),{type:`JsdocTypeOptional`,element:e.parseType(w.OPTIONAL),meta:{position:`prefix`}}),parseInfix:(e,t)=>(e.consume(`=`),{type:`JsdocTypeOptional`,element:_(t),meta:{position:`suffix`}})}),A=O({name:`numberParslet`,accept:e=>e===`Number`,parsePrefix:e=>{let t=parseFloat(e.lexer.current.text);return e.consume(`Number`),{type:`JsdocTypeNumber`,value:t}}}),j=O({name:`parenthesisParslet`,accept:e=>e===`(`,parsePrefix:e=>{if(e.consume(`(`),e.consume(`)`))return{type:`JsdocTypeParameterList`,elements:[]};let t=e.parseIntermediateType(w.ALL);if(!e.consume(`)`))throw Error(`Unterminated parenthesis`);return t.type===`JsdocTypeParameterList`?t:t.type===`JsdocTypeKeyValue`?{type:`JsdocTypeParameterList`,elements:[t]}:{type:`JsdocTypeParenthesis`,element:_(t)}}}),M=O({name:`specialTypesParslet`,accept:(e,t)=>e===`?`&&E(t)||e===`null`||e===`undefined`||e===`*`,parsePrefix:e=>{if(e.consume(`null`))return{type:`JsdocTypeNull`};if(e.consume(`undefined`))return{type:`JsdocTypeUndefined`};if(e.consume(`*`))return{type:`JsdocTypeAny`};if(e.consume(`?`))return{type:`JsdocTypeUnknown`};throw Error(`Unacceptable token: `+e.lexer.current.text)}}),N=O({name:`notNullableParslet`,accept:e=>e===`!`,precedence:w.NULLABLE,parsePrefix:e=>(e.consume(`!`),{type:`JsdocTypeNotNullable`,element:e.parseType(w.NULLABLE),meta:{position:`prefix`}}),parseInfix:(e,t)=>(e.consume(`!`),{type:`JsdocTypeNotNullable`,element:_(t),meta:{position:`suffix`}})});function P({allowTrailingComma:e}){return O({name:`parameterListParslet`,accept:e=>e===`,`,precedence:w.PARAMETER_LIST,parseInfix:(e,t)=>{let r=[v(t)];e.consume(`,`);do try{let t=e.parseIntermediateType(w.PARAMETER_LIST);r.push(v(t))}catch(e){if(e instanceof n)break;throw e}while(e.consume(`,`));if(r.length>0&&r.slice(0,-1).some(e=>e.type===`JsdocTypeVariadic`))throw Error(`Only the last parameter may be a rest parameter`);return{type:`JsdocTypeParameterList`,elements:r}}})}let ee=O({name:`genericParslet`,accept:(e,t)=>e===`<`||e===`.`&&t===`<`,precedence:w.GENERIC,parseInfix:(e,t)=>{let n=e.consume(`.`);e.consume(`<`);let r=[],a=!1;if(e.consume(`infer`)){a=!0;let t=e.parseIntermediateType(w.SYMBOL);if(t.type!==`JsdocTypeName`)throw new i(t,`A typescript asserts always has to have a name on the left side.`);r.push(t)}else do r.push(e.parseType(w.PARAMETER_LIST));while(e.consume(`,`));if(!e.consume(`>`))throw Error(`Unterminated generic parameter list`);return Object.assign(Object.assign({type:`JsdocTypeGeneric`,left:_(t),elements:r},a?{infer:!0}:{}),{meta:{brackets:`angle`,dot:n}})}}),te=O({name:`unionParslet`,accept:e=>e===`|`,precedence:w.UNION,parseInfix:(e,t)=>{e.consume(`|`);let n=[];do n.push(e.parseType(w.UNION));while(e.consume(`|`));return{type:`JsdocTypeUnion`,elements:[_(t),...n]}}}),ne=[D,k,A,j,M,N,P({allowTrailingComma:!0}),ee,te,k];function F({allowSquareBracketsOnAnyType:e,allowJsdocNamePaths:t,pathGrammar:n}){return function(r,a,o){if(o==null||a>=w.NAME_PATH)return null;let s=r.lexer.current.type,c=r.lexer.next.type;if(!(s===`.`&&c!==`<`||s===`[`&&(e||o.type===`JsdocTypeName`)||t&&(s===`~`||s===`#`)))return null;let l,u=!1;r.consume(`.`)?l=`property`:r.consume(`[`)?(l=`property-brackets`,u=!0):r.consume(`~`)?l=`inner`:(r.consume(`#`),l=`instance`);let d=n===null?r:new T(n,r.lexer,r),f=d.parseIntermediateType(w.NAME_PATH);r.acceptLexerState(d);let p;switch(f.type){case`JsdocTypeName`:p={type:`JsdocTypeProperty`,value:f.value,meta:{quote:void 0}};break;case`JsdocTypeNumber`:p={type:`JsdocTypeProperty`,value:f.value.toString(10),meta:{quote:void 0}};break;case`JsdocTypeStringValue`:p={type:`JsdocTypeProperty`,value:f.value,meta:{quote:f.meta.quote}};break;case`JsdocTypeSpecialNamePath`:if(f.specialType===`event`)p=f;else throw new i(f,`Type 'JsdocTypeSpecialNamePath' is only allowed with specialType 'event'`);break;default:throw new i(f,`Expecting 'JsdocTypeName', 'JsdocTypeNumber', 'JsdocStringValue' or 'JsdocTypeSpecialNamePath'`)}if(u&&!r.consume(`]`)){let e=r.lexer.current;throw Error(`Unterminated square brackets. Next token is '${e.type}' with text '${e.text}'`)}return{type:`JsdocTypeNamePath`,left:_(o),right:p,pathType:l}}}function re({allowedAdditionalTokens:e}){return O({name:`nameParslet`,accept:t=>t===`Identifier`||t===`this`||t===`new`||e.includes(t),parsePrefix:e=>{let{type:t,text:n}=e.lexer.current;return e.consume(t),{type:`JsdocTypeName`,value:n}}})}let ie=O({name:`stringValueParslet`,accept:e=>e===`StringValue`,parsePrefix:e=>{let t=e.lexer.current.text;return e.consume(`StringValue`),{type:`JsdocTypeStringValue`,value:t.slice(1,-1),meta:{quote:t[0]===`'`?`single`:`double`}}}});function ae({pathGrammar:e,allowedTypes:t}){return O({name:`specialNamePathParslet`,accept:e=>t.includes(e),parsePrefix:t=>{let n=t.lexer.current.type;if(t.consume(n),!t.consume(`:`))return{type:`JsdocTypeName`,value:n};let r,i=t.lexer.current;if(t.consume(`StringValue`))r={type:`JsdocTypeSpecialNamePath`,value:i.text.slice(1,-1),specialType:n,meta:{quote:i.text[0]===`'`?`single`:`double`}};else{let e=``,a=[`Identifier`,`@`,`/`];for(;a.some(e=>t.consume(e));)e+=i.text,i=t.lexer.current;r={type:`JsdocTypeSpecialNamePath`,value:e,specialType:n,meta:{quote:void 0}}}let a=new T(e,t.lexer,t),o=a.parseInfixIntermediateType(r,w.ALL);return t.acceptLexerState(a),_(o)}})}let I=[re({allowedAdditionalTokens:[`external`,`module`]}),ie,A,F({allowSquareBracketsOnAnyType:!1,allowJsdocNamePaths:!0,pathGrammar:null})],oe=[...I,ae({allowedTypes:[`event`],pathGrammar:I})];function se(e){let t;if(e.type===`JsdocTypeParameterList`)t=e.elements;else if(e.type===`JsdocTypeParenthesis`)t=[e.element];else throw new i(e);return t.map(e=>v(e))}function ce(e){let t=se(e);if(t.some(e=>e.type===`JsdocTypeKeyValue`))throw Error(`No parameter should be named`);return t}function le({allowNamedParameters:e,allowNoReturnType:t,allowWithoutParenthesis:n,allowNewAsFunctionKeyword:r}){return O({name:`functionParslet`,accept:(e,t)=>e===`function`||r&&e===`new`&&t===`(`,parsePrefix:r=>{let i=r.consume(`new`);r.consume(`function`);let a=r.lexer.current.type===`(`;if(!a){if(!n)throw Error(`function is missing parameter list`);return{type:`JsdocTypeName`,value:`function`}}let o={type:`JsdocTypeFunction`,parameters:[],arrow:!1,constructor:i,parenthesis:a},s=r.parseIntermediateType(w.FUNCTION);if(e===void 0)o.parameters=ce(s);else{if(i&&s.type===`JsdocTypeFunction`&&s.arrow)return o=s,o.constructor=!0,o;o.parameters=se(s);for(let t of o.parameters)if(t.type===`JsdocTypeKeyValue`&&!e.includes(t.key))throw Error(`only allowed named parameters are ${e.join(`, `)} but got ${t.type}`)}if(r.consume(`:`))o.returnType=r.parseType(w.PREFIX);else if(!t)throw Error(`function is missing return type`);return o}})}function ue({allowPostfix:e,allowEnclosingBrackets:t}){return O({name:`variadicParslet`,accept:e=>e===`...`,precedence:w.PREFIX,parsePrefix:e=>{e.consume(`...`);let r=t&&e.consume(`[`);try{let t=e.parseType(w.PREFIX);if(r&&!e.consume(`]`))throw Error(`Unterminated variadic type. Missing ']'`);return{type:`JsdocTypeVariadic`,element:_(t),meta:{position:`prefix`,squareBrackets:r}}}catch(e){if(e instanceof n){if(r)throw Error(`Empty square brackets for variadic are not allowed.`);return{type:`JsdocTypeVariadic`,meta:{position:void 0,squareBrackets:!1}}}else throw e}},parseInfix:e?(e,t)=>(e.consume(`...`),{type:`JsdocTypeVariadic`,element:_(t),meta:{position:`suffix`,squareBrackets:!1}}):void 0})}let de=O({name:`symbolParslet`,accept:e=>e===`(`,precedence:w.SYMBOL,parseInfix:(e,t)=>{if(t.type!==`JsdocTypeName`)throw Error(`Symbol expects a name on the left side. (Reacting on '(')`);e.consume(`(`);let n={type:`JsdocTypeSymbol`,value:t.value};if(!e.consume(`)`)&&(n.element=x(e.parseIntermediateType(w.SYMBOL)),!e.consume(`)`)))throw Error(`Symbol does not end after value`);return n}}),fe=O({name:`arrayBracketsParslet`,precedence:w.ARRAY_BRACKETS,accept:(e,t)=>e===`[`&&t===`]`,parseInfix:(e,t)=>(e.consume(`[`),e.consume(`]`),{type:`JsdocTypeGeneric`,left:{type:`JsdocTypeName`,value:`Array`},elements:[_(t)],meta:{brackets:`square`,dot:!1}})});function pe({objectFieldGrammar:e,allowKeyTypes:t}){return O({name:`objectParslet`,accept:e=>e===`{`,parsePrefix:n=>{n.consume(`{`);let r={type:`JsdocTypeObject`,meta:{separator:`comma`},elements:[]};if(!n.consume(`}`)){let a,o=new T(e,n.lexer,n);for(;;){o.acceptLexerState(n);let e=o.parseIntermediateType(w.OBJECT);n.acceptLexerState(o),e===void 0&&t&&(e=n.parseIntermediateType(w.OBJECT));let s=!1;if(e.type===`JsdocTypeNullable`&&(s=!0,e=e.element),e.type===`JsdocTypeNumber`||e.type===`JsdocTypeName`||e.type===`JsdocTypeStringValue`){let t;e.type===`JsdocTypeStringValue`&&(t=e.meta.quote),r.elements.push({type:`JsdocTypeObjectField`,key:e.value.toString(),right:void 0,optional:s,readonly:!1,meta:{quote:t}})}else if(e.type===`JsdocTypeObjectField`||e.type===`JsdocTypeJsdocObjectField`)r.elements.push(e);else throw new i(e);if(n.lexer.current.startOfLine)a=`linebreak`,n.consume(`,`)||n.consume(`;`);else if(n.consume(`,`))a=`comma`;else if(n.consume(`;`))a=`semicolon`;else break;if(n.lexer.current.type===`}`)break}if(r.meta.separator=a??`comma`,a===`linebreak`&&(r.meta.propertyIndent=` `),!n.consume(`}`))throw Error(`Unterminated record type. Missing '}'`)}return r}})}function me({allowSquaredProperties:e,allowKeyTypes:t,allowReadonly:n,allowOptional:r}){return O({name:`objectFieldParslet`,precedence:w.KEY_VALUE,accept:e=>e===`:`,parseInfix:(a,o)=>{let s=!1,c=!1;r&&o.type===`JsdocTypeNullable`&&(s=!0,o=o.element),n&&o.type===`JsdocTypeReadonlyProperty`&&(c=!0,o=o.element);let l=a.baseParser??a;if(l.acceptLexerState(a),o.type===`JsdocTypeNumber`||o.type===`JsdocTypeName`||o.type===`JsdocTypeStringValue`||C(o)){if(C(o)&&!e)throw new i(o);l.consume(`:`);let t;o.type===`JsdocTypeStringValue`&&(t=o.meta.quote);let n=l.parseType(w.KEY_VALUE);return a.acceptLexerState(l),{type:`JsdocTypeObjectField`,key:C(o)?o:o.value.toString(),right:n,optional:s,readonly:c,meta:{quote:t}}}else{if(!t)throw new i(o);l.consume(`:`);let e=l.parseType(w.KEY_VALUE);return a.acceptLexerState(l),{type:`JsdocTypeJsdocObjectField`,left:_(o),right:e}}}})}function he({allowOptional:e,allowVariadic:t}){return O({name:`keyValueParslet`,precedence:w.KEY_VALUE,accept:e=>e===`:`,parseInfix:(n,r)=>{let a=!1,o=!1;if(e&&r.type===`JsdocTypeNullable`&&(a=!0,r=r.element),t&&r.type===`JsdocTypeVariadic`&&r.element!==void 0&&(o=!0,r=r.element),r.type!==`JsdocTypeName`)throw new i(r);n.consume(`:`);let s=n.parseType(w.KEY_VALUE);return{type:`JsdocTypeKeyValue`,key:r.value,right:s,optional:a,variadic:o}}})}let ge=[...ne,le({allowWithoutParenthesis:!0,allowNamedParameters:[`this`,`new`],allowNoReturnType:!0,allowNewAsFunctionKeyword:!1}),ie,ae({allowedTypes:[`module`,`external`,`event`],pathGrammar:oe}),ue({allowEnclosingBrackets:!0,allowPostfix:!0}),re({allowedAdditionalTokens:[`keyof`]}),de,fe,F({allowSquareBracketsOnAnyType:!1,allowJsdocNamePaths:!0,pathGrammar:oe})],_e=[...ge,pe({objectFieldGrammar:[re({allowedAdditionalTokens:[`typeof`,`module`,`in`]}),me({allowSquaredProperties:!1,allowKeyTypes:!0,allowOptional:!1,allowReadonly:!1}),...ge],allowKeyTypes:!0}),he({allowOptional:!0,allowVariadic:!0})],ve=O({name:`typeOfParslet`,accept:e=>e===`typeof`,parsePrefix:e=>(e.consume(`typeof`),{type:`JsdocTypeTypeof`,element:e.parseType(w.KEY_OF_TYPE_OF)})}),ye=[re({allowedAdditionalTokens:[`typeof`,`module`,`keyof`,`event`,`external`,`in`]}),D,k,ie,A,me({allowSquaredProperties:!1,allowKeyTypes:!1,allowOptional:!1,allowReadonly:!1})],be=[...ne,pe({allowKeyTypes:!1,objectFieldGrammar:ye}),re({allowedAdditionalTokens:[`event`,`external`,`in`]}),ve,le({allowWithoutParenthesis:!1,allowNamedParameters:[`this`,`new`],allowNoReturnType:!0,allowNewAsFunctionKeyword:!1}),ue({allowEnclosingBrackets:!1,allowPostfix:!1}),re({allowedAdditionalTokens:[`keyof`]}),ae({allowedTypes:[`module`],pathGrammar:oe}),F({allowSquareBracketsOnAnyType:!1,allowJsdocNamePaths:!0,pathGrammar:oe}),he({allowOptional:!1,allowVariadic:!1}),de],xe=O({name:`assertsParslet`,accept:e=>e===`asserts`,parsePrefix:e=>{e.consume(`asserts`);let t=e.parseIntermediateType(w.SYMBOL);if(t.type!==`JsdocTypeName`)throw new i(t,`A typescript asserts always has to have a name on the left side.`);return e.consume(`is`)?{type:`JsdocTypeAsserts`,left:t,right:_(e.parseIntermediateType(w.INFIX))}:{type:`JsdocTypeAssertsPlain`,element:t}}});function L({allowQuestionMark:e}){return O({name:`tupleParslet`,accept:e=>e===`[`,parsePrefix:e=>{e.consume(`[`);let t={type:`JsdocTypeTuple`,elements:[]};if(e.consume(`]`))return t;let n=e.parseIntermediateType(w.ALL);if(n.type===`JsdocTypeParameterList`?n.elements[0].type===`JsdocTypeKeyValue`?t.elements=n.elements.map(b):t.elements=n.elements.map(_):n.type===`JsdocTypeKeyValue`?t.elements=[b(n)]:t.elements=[_(n)],!e.consume(`]`))throw Error(`Unterminated '['`);if(t.elements.some(e=>e.type===`JsdocTypeUnknown`))throw Error(`Question mark in tuple not allowed`);return t}})}let Se=O({name:`keyOfParslet`,accept:e=>e===`keyof`,parsePrefix:e=>(e.consume(`keyof`),{type:`JsdocTypeKeyof`,element:_(e.parseType(w.KEY_OF_TYPE_OF))})}),Ce=O({name:`importParslet`,accept:e=>e===`import`,parsePrefix:e=>{if(e.consume(`import`),!e.consume(`(`))throw Error(`Missing parenthesis after import keyword`);let t=e.parseType(w.PREFIX);if(t.type!==`JsdocTypeStringValue`)throw Error(`Only string values are allowed as paths for imports`);if(!e.consume(`)`))throw Error(`Missing closing parenthesis after import keyword`);return{type:`JsdocTypeImport`,element:t}}}),we=O({name:`readonlyPropertyParslet`,accept:e=>e===`readonly`,parsePrefix:e=>(e.consume(`readonly`),{type:`JsdocTypeReadonlyProperty`,element:e.parseIntermediateType(w.KEY_VALUE)})}),R=O({name:`arrowFunctionParslet`,precedence:w.ARROW,accept:e=>e===`=>`,parseInfix:(e,t)=>(e.consume(`=>`),{type:`JsdocTypeFunction`,parameters:se(t).map(y),arrow:!0,constructor:!1,parenthesis:!0,returnType:e.parseType(w.OBJECT)})}),Te=O({name:`genericArrowFunctionParslet`,accept:e=>e===`<`,parsePrefix:e=>{let t=[];e.consume(`<`);do{let n,r=e.parseIntermediateType(w.SYMBOL);if(r.type===`JsdocTypeOptional`&&(r=r.element,n=e.parseType(w.SYMBOL)),r.type!==`JsdocTypeName`)throw new i(r);let a;e.consume(`extends`)&&(a=e.parseType(w.SYMBOL),a.type===`JsdocTypeOptional`&&(a=a.element,n=e.parseType(w.SYMBOL)));let o={type:`JsdocTypeTypeParameter`,name:r};if(a!==void 0&&(o.constraint=a),n!==void 0&&(o.defaultValue=n),t.push(o),e.consume(`>`))break}while(e.consume(`,`));let n=e.parseIntermediateType(w.SYMBOL);return n.typeParameters=t,n}}),Ee=O({name:`intersectionParslet`,accept:e=>e===`&`,precedence:w.INTERSECTION,parseInfix:(e,t)=>{e.consume(`&`);let n=[];do n.push(e.parseType(w.INTERSECTION));while(e.consume(`&`));return{type:`JsdocTypeIntersection`,elements:[_(t),...n]}}}),De=O({name:`predicateParslet`,precedence:w.INFIX,accept:e=>e===`is`,parseInfix:(e,t)=>{if(t.type!==`JsdocTypeName`)throw new i(t,`A typescript predicate always has to have a name on the left side.`);return e.consume(`is`),{type:`JsdocTypePredicate`,left:t,right:_(e.parseIntermediateType(w.INFIX))}}}),z=O({name:`objectSquareBracketPropertyParslet`,accept:e=>e===`[`,parsePrefix:e=>{if(e.baseParser===void 0)throw Error(`Only allowed inside object grammar`);e.consume(`[`);let t=e.lexer.current.text;e.consume(`Identifier`);let n;if(e.consume(`:`)){let r=e.baseParser;r.acceptLexerState(e),n={type:`JsdocTypeIndexSignature`,key:t,right:r.parseType(w.INDEX_BRACKETS)},e.acceptLexerState(r)}else if(e.consume(`in`)){let r=e.baseParser;r.acceptLexerState(e),n={type:`JsdocTypeMappedType`,key:t,right:r.parseType(w.ARRAY_BRACKETS)},e.acceptLexerState(r)}else throw Error(`Missing ':' or 'in' inside square bracketed property.`);if(!e.consume(`]`))throw Error(`Unterminated square brackets`);return n}}),Oe=O({name:`readonlyArrayParslet`,accept:e=>e===`readonly`,parsePrefix:e=>(e.consume(`readonly`),{type:`JsdocTypeReadonlyArray`,element:S(e.parseIntermediateType(w.ALL))})}),ke=O({name:`conditionalParslet`,precedence:w.INFIX,accept:e=>e===`extends`,parseInfix:(e,t)=>{e.consume(`extends`);let n=e.parseType(w.KEY_OF_TYPE_OF).element,r=e.parseType(w.INFIX);return e.consume(`:`),{type:`JsdocTypeConditional`,checksType:_(t),extendsType:n,trueType:r,falseType:e.parseType(w.INFIX)}}}),Ae=[we,re({allowedAdditionalTokens:[`typeof`,`module`,`keyof`,`event`,`external`,`in`]}),D,k,ie,A,me({allowSquaredProperties:!0,allowKeyTypes:!1,allowOptional:!0,allowReadonly:!0}),z],je=[...ne,pe({allowKeyTypes:!1,objectFieldGrammar:Ae}),Oe,ve,Se,Ce,ie,le({allowWithoutParenthesis:!0,allowNoReturnType:!1,allowNamedParameters:[`this`,`new`,`args`],allowNewAsFunctionKeyword:!0}),L({allowQuestionMark:!1}),ue({allowEnclosingBrackets:!1,allowPostfix:!1}),xe,ke,re({allowedAdditionalTokens:[`event`,`external`,`in`]}),ae({allowedTypes:[`module`],pathGrammar:oe}),fe,R,Te,F({allowSquareBracketsOnAnyType:!0,allowJsdocNamePaths:!1,pathGrammar:oe}),Ee,De,he({allowVariadic:!0,allowOptional:!0})];function Me(e,t){switch(t){case`closure`:return new T(be,e).parse();case`jsdoc`:return new T(_e,e).parse();case`typescript`:return new T(je,e).parse()}}function Ne(e,t=[`typescript`,`closure`,`jsdoc`]){let n;for(let r of t)try{return Me(e,r)}catch(e){n=e}throw n}function Pe(e,t){let n=e[t.type];if(n===void 0)throw Error(`In this set of transform rules exists no rule for type ${t.type}.`);return n(t,t=>Pe(e,t))}function B(e){throw Error(`This transform is not available. Are you trying the correct parsing mode?`)}function Fe(e){let t={params:[]};for(let n of e.parameters)n.type===`JsdocTypeKeyValue`?n.key===`this`?t.this=n.right:n.key===`new`?t.new=n.right:t.params.push(n):t.params.push(n);return t}function Ie(e,t,n){return e===`prefix`?n+t:t+n}function Le(e,t){switch(t){case`double`:return`"${e}"`;case`single`:return`'${e}'`;case void 0:return e}}function Re(){return{JsdocTypeParenthesis:(e,t)=>`(${e.element===void 0?``:t(e.element)})`,JsdocTypeKeyof:(e,t)=>`keyof ${t(e.element)}`,JsdocTypeFunction:(e,t)=>{if(e.arrow){if(e.returnType===void 0)throw Error(`Arrow function needs a return type.`);let n=`${e.typeParameters===void 0?``:`<${e.typeParameters.map(t).join(`, `)??``}>`}(${e.parameters.map(t).join(`, `)}) => ${t(e.returnType)}`;return e.constructor&&(n=`new `+n),n}else{let n=e.constructor?`new`:`function`;return e.parenthesis&&(n+=`(${e.parameters.map(t).join(`, `)})`,e.returnType!==void 0&&(n+=`: ${t(e.returnType)}`)),n}},JsdocTypeName:e=>e.value,JsdocTypeTuple:(e,t)=>`[${e.elements.map(t).join(`, `)}]`,JsdocTypeVariadic:(e,t)=>e.meta.position===void 0?`...`:Ie(e.meta.position,t(e.element),`...`),JsdocTypeNamePath:(e,t)=>{let n=t(e.left),r=t(e.right);switch(e.pathType){case`inner`:return`${n}~${r}`;case`instance`:return`${n}#${r}`;case`property`:return`${n}.${r}`;case`property-brackets`:return`${n}[${r}]`}},JsdocTypeStringValue:e=>Le(e.value,e.meta.quote),JsdocTypeAny:()=>`*`,JsdocTypeGeneric:(e,t)=>{if(e.meta.brackets===`square`){let n=e.elements[0],r=t(n);return n.type===`JsdocTypeUnion`||n.type===`JsdocTypeIntersection`?`(${r})[]`:`${r}[]`}else return`${t(e.left)}${e.meta.dot?`.`:``}<${e.infer===!0?`infer `:``}${e.elements.map(t).join(`, `)}>`},JsdocTypeImport:(e,t)=>`import(${t(e.element)})`,JsdocTypeObjectField:(e,t)=>{let n=``;return e.readonly&&(n+=`readonly `),typeof e.key==`string`?n+=Le(e.key,e.meta.quote):n+=t(e.key),e.optional&&(n+=`?`),e.right===void 0?n:n+`: ${t(e.right)}`},JsdocTypeJsdocObjectField:(e,t)=>`${t(e.left)}: ${t(e.right)}`,JsdocTypeKeyValue:(e,t)=>{let n=e.key;return e.optional&&(n+=`?`),e.variadic&&(n=`...`+n),e.right===void 0?n:n+`: ${t(e.right)}`},JsdocTypeSpecialNamePath:e=>`${e.specialType}:${Le(e.value,e.meta.quote)}`,JsdocTypeNotNullable:(e,t)=>Ie(e.meta.position,t(e.element),`!`),JsdocTypeNull:()=>`null`,JsdocTypeNullable:(e,t)=>Ie(e.meta.position,t(e.element),`?`),JsdocTypeNumber:e=>e.value.toString(),JsdocTypeObject:(e,t)=>`{${(e.meta.separator===`linebreak`&&e.elements.length>1?`
20
+ `+(e.meta.propertyIndent??``):``)+e.elements.map(t).join(e.meta.separator===`comma`?`, `:e.meta.separator===`linebreak`?`
21
+ `+(e.meta.propertyIndent??``):`; `)+(e.meta.separator===`linebreak`&&e.elements.length>1?`
22
+ `:``)}}`,JsdocTypeOptional:(e,t)=>Ie(e.meta.position,t(e.element),`=`),JsdocTypeSymbol:(e,t)=>`${e.value}(${e.element===void 0?``:t(e.element)})`,JsdocTypeTypeof:(e,t)=>`typeof ${t(e.element)}`,JsdocTypeUndefined:()=>`undefined`,JsdocTypeUnion:(e,t)=>e.elements.map(t).join(` | `),JsdocTypeUnknown:()=>`?`,JsdocTypeIntersection:(e,t)=>e.elements.map(t).join(` & `),JsdocTypeProperty:e=>Le(e.value,e.meta.quote),JsdocTypePredicate:(e,t)=>`${t(e.left)} is ${t(e.right)}`,JsdocTypeIndexSignature:(e,t)=>`[${e.key}: ${t(e.right)}]`,JsdocTypeMappedType:(e,t)=>`[${e.key} in ${t(e.right)}]`,JsdocTypeAsserts:(e,t)=>`asserts ${t(e.left)} is ${t(e.right)}`,JsdocTypeReadonlyArray:(e,t)=>`readonly ${t(e.element)}`,JsdocTypeAssertsPlain:(e,t)=>`asserts ${t(e.element)}`,JsdocTypeConditional:(e,t)=>`${t(e.checksType)} extends ${t(e.extendsType)} ? ${t(e.trueType)} : ${t(e.falseType)}`,JsdocTypeTypeParameter:(e,t)=>`${t(e.name)}${e.constraint===void 0?``:` extends ${t(e.constraint)}`}${e.defaultValue===void 0?``:` = ${t(e.defaultValue)}`}`}}let ze=Re();function Be(e){return Pe(ze,e)}let Ve=`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`.split(`.`);function He(e){let t={type:`NameExpression`,name:e};return Ve.includes(e)&&(t.reservedWord=!0),t}let Ue={JsdocTypeOptional:(e,t)=>{let n=t(e.element);return n.optional=!0,n},JsdocTypeNullable:(e,t)=>{let n=t(e.element);return n.nullable=!0,n},JsdocTypeNotNullable:(e,t)=>{let n=t(e.element);return n.nullable=!1,n},JsdocTypeVariadic:(e,t)=>{if(e.element===void 0)throw Error(`dots without value are not allowed in catharsis mode`);let n=t(e.element);return n.repeatable=!0,n},JsdocTypeAny:()=>({type:`AllLiteral`}),JsdocTypeNull:()=>({type:`NullLiteral`}),JsdocTypeStringValue:e=>He(Le(e.value,e.meta.quote)),JsdocTypeUndefined:()=>({type:`UndefinedLiteral`}),JsdocTypeUnknown:()=>({type:`UnknownLiteral`}),JsdocTypeFunction:(e,t)=>{let n=Fe(e),r={type:`FunctionType`,params:n.params.map(t)};return n.this!==void 0&&(r.this=t(n.this)),n.new!==void 0&&(r.new=t(n.new)),e.returnType!==void 0&&(r.result=t(e.returnType)),r},JsdocTypeGeneric:(e,t)=>({type:`TypeApplication`,applications:e.elements.map(e=>t(e)),expression:t(e.left)}),JsdocTypeSpecialNamePath:e=>He(e.specialType+`:`+Le(e.value,e.meta.quote)),JsdocTypeName:e=>e.value===`function`?{type:`FunctionType`,params:[]}:He(e.value),JsdocTypeNumber:e=>He(e.value.toString()),JsdocTypeObject:(e,t)=>{let n={type:`RecordType`,fields:[]};for(let r of e.elements)r.type!==`JsdocTypeObjectField`&&r.type!==`JsdocTypeJsdocObjectField`?n.fields.push({type:`FieldType`,key:t(r),value:void 0}):n.fields.push(t(r));return n},JsdocTypeObjectField:(e,t)=>{if(typeof e.key!=`string`)throw Error(`Index signatures and mapped types are not supported`);return{type:`FieldType`,key:He(Le(e.key,e.meta.quote)),value:e.right===void 0?void 0:t(e.right)}},JsdocTypeJsdocObjectField:(e,t)=>({type:`FieldType`,key:t(e.left),value:t(e.right)}),JsdocTypeUnion:(e,t)=>({type:`TypeUnion`,elements:e.elements.map(e=>t(e))}),JsdocTypeKeyValue:(e,t)=>({type:`FieldType`,key:He(e.key),value:e.right===void 0?void 0:t(e.right)}),JsdocTypeNamePath:(e,t)=>{let n=t(e.left),r;r=e.right.type===`JsdocTypeSpecialNamePath`?t(e.right).name:Le(e.right.value,e.right.meta.quote);let i=e.pathType===`inner`?`~`:e.pathType===`instance`?`#`:`.`;return He(`${n.name}${i}${r}`)},JsdocTypeSymbol:e=>{let t=``,n=e.element,r=!1;return n?.type===`JsdocTypeVariadic`&&(n.meta.position===`prefix`?t=`...`:r=!0,n=n.element),n?.type===`JsdocTypeName`?t+=n.value:n?.type===`JsdocTypeNumber`&&(t+=n.value.toString()),r&&(t+=`...`),He(`${e.value}(${t})`)},JsdocTypeParenthesis:(e,t)=>t(_(e.element)),JsdocTypeMappedType:B,JsdocTypeIndexSignature:B,JsdocTypeImport:B,JsdocTypeKeyof:B,JsdocTypeTuple:B,JsdocTypeTypeof:B,JsdocTypeIntersection:B,JsdocTypeProperty:B,JsdocTypePredicate:B,JsdocTypeAsserts:B,JsdocTypeReadonlyArray:B,JsdocTypeAssertsPlain:B,JsdocTypeConditional:B,JsdocTypeTypeParameter:B};function We(e){return Pe(Ue,e)}function Ge(e){switch(e){case void 0:return`none`;case`single`:return`single`;case`double`:return`double`}}function Ke(e){switch(e){case`inner`:return`INNER_MEMBER`;case`instance`:return`INSTANCE_MEMBER`;case`property`:return`MEMBER`;case`property-brackets`:return`MEMBER`}}function qe(e,t){return t.length===2?{type:e,left:t[0],right:t[1]}:{type:e,left:t[0],right:qe(e,t.slice(1))}}let V={JsdocTypeOptional:(e,t)=>({type:`OPTIONAL`,value:t(e.element),meta:{syntax:e.meta.position===`prefix`?`PREFIX_EQUAL_SIGN`:`SUFFIX_EQUALS_SIGN`}}),JsdocTypeNullable:(e,t)=>({type:`NULLABLE`,value:t(e.element),meta:{syntax:e.meta.position===`prefix`?`PREFIX_QUESTION_MARK`:`SUFFIX_QUESTION_MARK`}}),JsdocTypeNotNullable:(e,t)=>({type:`NOT_NULLABLE`,value:t(e.element),meta:{syntax:e.meta.position===`prefix`?`PREFIX_BANG`:`SUFFIX_BANG`}}),JsdocTypeVariadic:(e,t)=>{let n={type:`VARIADIC`,meta:{syntax:e.meta.position===`prefix`?`PREFIX_DOTS`:e.meta.position===`suffix`?`SUFFIX_DOTS`:`ONLY_DOTS`}};return e.element!==void 0&&(n.value=t(e.element)),n},JsdocTypeName:e=>({type:`NAME`,name:e.value}),JsdocTypeTypeof:(e,t)=>({type:`TYPE_QUERY`,name:t(e.element)}),JsdocTypeTuple:(e,t)=>({type:`TUPLE`,entries:e.elements.map(t)}),JsdocTypeKeyof:(e,t)=>({type:`KEY_QUERY`,value:t(e.element)}),JsdocTypeImport:e=>({type:`IMPORT`,path:{type:`STRING_VALUE`,quoteStyle:Ge(e.element.meta.quote),string:e.element.value}}),JsdocTypeUndefined:()=>({type:`NAME`,name:`undefined`}),JsdocTypeAny:()=>({type:`ANY`}),JsdocTypeFunction:(e,t)=>{let n=Fe(e),r={type:e.arrow?`ARROW`:`FUNCTION`,params:n.params.map(e=>{if(e.type===`JsdocTypeKeyValue`){if(e.right===void 0)throw Error(`Function parameter without ':' is not expected to be 'KEY_VALUE'`);return{type:`NAMED_PARAMETER`,name:e.key,typeName:t(e.right)}}else return t(e)}),new:null,returns:null};return n.this===void 0?e.arrow||(r.this=null):r.this=t(n.this),n.new!==void 0&&(r.new=t(n.new)),e.returnType!==void 0&&(r.returns=t(e.returnType)),r},JsdocTypeGeneric:(e,t)=>{let n={type:`GENERIC`,subject:t(e.left),objects:e.elements.map(t),meta:{syntax:e.meta.brackets===`square`?`SQUARE_BRACKET`:e.meta.dot?`ANGLE_BRACKET_WITH_DOT`:`ANGLE_BRACKET`}};return e.meta.brackets===`square`&&e.elements[0].type===`JsdocTypeFunction`&&!e.elements[0].parenthesis&&(n.objects[0]={type:`NAME`,name:`function`}),n},JsdocTypeObjectField:(e,t)=>{if(typeof e.key!=`string`)throw Error(`Index signatures and mapped types are not supported`);if(e.right===void 0)return{type:`RECORD_ENTRY`,key:e.key,quoteStyle:Ge(e.meta.quote),value:null,readonly:!1};let n=t(e.right);return e.optional&&(n={type:`OPTIONAL`,value:n,meta:{syntax:`SUFFIX_KEY_QUESTION_MARK`}}),{type:`RECORD_ENTRY`,key:e.key.toString(),quoteStyle:Ge(e.meta.quote),value:n,readonly:!1}},JsdocTypeJsdocObjectField:()=>{throw Error(`Keys may not be typed in jsdoctypeparser.`)},JsdocTypeKeyValue:(e,t)=>{if(e.right===void 0)return{type:`RECORD_ENTRY`,key:e.key,quoteStyle:`none`,value:null,readonly:!1};let n=t(e.right);return e.optional&&(n={type:`OPTIONAL`,value:n,meta:{syntax:`SUFFIX_KEY_QUESTION_MARK`}}),{type:`RECORD_ENTRY`,key:e.key,quoteStyle:`none`,value:n,readonly:!1}},JsdocTypeObject:(e,t)=>{let n=[];for(let r of e.elements)(r.type===`JsdocTypeObjectField`||r.type===`JsdocTypeJsdocObjectField`)&&n.push(t(r));return{type:`RECORD`,entries:n}},JsdocTypeSpecialNamePath:e=>{if(e.specialType!==`module`)throw Error(`jsdoctypeparser does not support type ${e.specialType} at this point.`);return{type:`MODULE`,value:{type:`FILE_PATH`,quoteStyle:Ge(e.meta.quote),path:e.value}}},JsdocTypeNamePath:(e,t)=>{let n=!1,r,i;e.right.type===`JsdocTypeSpecialNamePath`&&e.right.specialType===`event`?(n=!0,r=e.right.value,i=Ge(e.right.meta.quote)):(r=e.right.value,i=Ge(e.right.meta.quote));let a={type:Ke(e.pathType),owner:t(e.left),name:r,quoteStyle:i,hasEventPrefix:n};if(a.owner.type===`MODULE`){let e=a.owner;return a.owner=a.owner.value,e.value=a,e}else return a},JsdocTypeUnion:(e,t)=>qe(`UNION`,e.elements.map(t)),JsdocTypeParenthesis:(e,t)=>({type:`PARENTHESIS`,value:t(_(e.element))}),JsdocTypeNull:()=>({type:`NAME`,name:`null`}),JsdocTypeUnknown:()=>({type:`UNKNOWN`}),JsdocTypeStringValue:e=>({type:`STRING_VALUE`,quoteStyle:Ge(e.meta.quote),string:e.value}),JsdocTypeIntersection:(e,t)=>qe(`INTERSECTION`,e.elements.map(t)),JsdocTypeNumber:e=>({type:`NUMBER_VALUE`,number:e.value.toString()}),JsdocTypeSymbol:B,JsdocTypeProperty:B,JsdocTypePredicate:B,JsdocTypeMappedType:B,JsdocTypeIndexSignature:B,JsdocTypeAsserts:B,JsdocTypeReadonlyArray:B,JsdocTypeAssertsPlain:B,JsdocTypeConditional:B,JsdocTypeTypeParameter:B};function Je(e){return Pe(V,e)}function Ye(){return{JsdocTypeIntersection:(e,t)=>({type:`JsdocTypeIntersection`,elements:e.elements.map(t)}),JsdocTypeGeneric:(e,t)=>({type:`JsdocTypeGeneric`,left:t(e.left),elements:e.elements.map(t),meta:{dot:e.meta.dot,brackets:e.meta.brackets}}),JsdocTypeNullable:e=>e,JsdocTypeUnion:(e,t)=>({type:`JsdocTypeUnion`,elements:e.elements.map(t)}),JsdocTypeUnknown:e=>e,JsdocTypeUndefined:e=>e,JsdocTypeTypeof:(e,t)=>({type:`JsdocTypeTypeof`,element:t(e.element)}),JsdocTypeSymbol:(e,t)=>{let n={type:`JsdocTypeSymbol`,value:e.value};return e.element!==void 0&&(n.element=t(e.element)),n},JsdocTypeOptional:(e,t)=>({type:`JsdocTypeOptional`,element:t(e.element),meta:{position:e.meta.position}}),JsdocTypeObject:(e,t)=>({type:`JsdocTypeObject`,meta:{separator:`comma`},elements:e.elements.map(t)}),JsdocTypeNumber:e=>e,JsdocTypeNull:e=>e,JsdocTypeNotNullable:(e,t)=>({type:`JsdocTypeNotNullable`,element:t(e.element),meta:{position:e.meta.position}}),JsdocTypeSpecialNamePath:e=>e,JsdocTypeObjectField:(e,t)=>({type:`JsdocTypeObjectField`,key:e.key,right:e.right===void 0?void 0:t(e.right),optional:e.optional,readonly:e.readonly,meta:e.meta}),JsdocTypeJsdocObjectField:(e,t)=>({type:`JsdocTypeJsdocObjectField`,left:t(e.left),right:t(e.right)}),JsdocTypeKeyValue:(e,t)=>({type:`JsdocTypeKeyValue`,key:e.key,right:e.right===void 0?void 0:t(e.right),optional:e.optional,variadic:e.variadic}),JsdocTypeImport:(e,t)=>({type:`JsdocTypeImport`,element:t(e.element)}),JsdocTypeAny:e=>e,JsdocTypeStringValue:e=>e,JsdocTypeNamePath:e=>e,JsdocTypeVariadic:(e,t)=>{let n={type:`JsdocTypeVariadic`,meta:{position:e.meta.position,squareBrackets:e.meta.squareBrackets}};return e.element!==void 0&&(n.element=t(e.element)),n},JsdocTypeTuple:(e,t)=>({type:`JsdocTypeTuple`,elements:e.elements.map(t)}),JsdocTypeName:e=>e,JsdocTypeFunction:(e,t)=>{let n={type:`JsdocTypeFunction`,arrow:e.arrow,parameters:e.parameters.map(t),constructor:e.constructor,parenthesis:e.parenthesis};return e.returnType!==void 0&&(n.returnType=t(e.returnType)),n},JsdocTypeKeyof:(e,t)=>({type:`JsdocTypeKeyof`,element:t(e.element)}),JsdocTypeParenthesis:(e,t)=>({type:`JsdocTypeParenthesis`,element:t(e.element)}),JsdocTypeProperty:e=>e,JsdocTypePredicate:(e,t)=>({type:`JsdocTypePredicate`,left:t(e.left),right:t(e.right)}),JsdocTypeIndexSignature:(e,t)=>({type:`JsdocTypeIndexSignature`,key:e.key,right:t(e.right)}),JsdocTypeMappedType:(e,t)=>({type:`JsdocTypeMappedType`,key:e.key,right:t(e.right)}),JsdocTypeAsserts:(e,t)=>({type:`JsdocTypeAsserts`,left:t(e.left),right:t(e.right)}),JsdocTypeReadonlyArray:(e,t)=>({type:`JsdocTypeReadonlyArray`,element:t(e.element)}),JsdocTypeAssertsPlain:(e,t)=>({type:`JsdocTypeAssertsPlain`,element:t(e.element)}),JsdocTypeConditional:(e,t)=>({type:`JsdocTypeConditional`,checksType:t(e.checksType),extendsType:t(e.extendsType),trueType:t(e.trueType),falseType:t(e.falseType)}),JsdocTypeTypeParameter:(e,t)=>({type:`JsdocTypeTypeParameter`,name:t(e.name),constraint:e.constraint===void 0?void 0:t(e.constraint),defaultValue:e.defaultValue===void 0?void 0:t(e.defaultValue)})}}let Xe={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 Ze(e,t,n,r,i){r?.(e,t,n);let a=Xe[e.type];for(let t of a){let n=e[t];if(n!==void 0)if(Array.isArray(n))for(let a of n)Ze(a,e,t,r,i);else Ze(n,e,t,r,i)}i?.(e,t,n)}function Qe(e,t,n){Ze(e,void 0,void 0,t,n)}e.catharsisTransform=We,e.identityTransformRules=Ye,e.jtpTransform=Je,e.parse=Me,e.stringify=Be,e.stringifyRules=Re,e.transform=Pe,e.traverse=Qe,e.tryParse=Ne,e.visitorKeys=Xe}))}}),$i=y({"../../node_modules/browser-dtector/browser-dtector.umd.min.js"(e,t){(function(n,r){typeof e==`object`&&typeof t<`u`?t.exports=r():typeof define==`function`&&define.amd?define(r):(n=typeof globalThis<`u`?globalThis:n||self).BrowserDetector=r()})(e,(function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,`value`in r&&(r.writable=!0),Object.defineProperty(e,(i=r.key,a=void 0,typeof(a=(function(e,t){if(typeof e!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(typeof r!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)})(i,`string`))==`symbol`?a:String(a)),r)}var i,a}var t={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`},n={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`},r=function(e){var t=RegExp(`^-?\\d+(?:.\\d{0,${arguments.length>1&&arguments[1]!==void 0?arguments[1]:-1}})?`),n=Number(e).toString().match(t);return n?n[0]:null},i=function(){return typeof window<`u`?window.navigator:null};return(function(){function a(e){(function(e,t){if(!(e instanceof t))throw TypeError(`Cannot call a class as a function`)})(this,a),this.userAgent=e||i()?.userAgent||null}var o,s,c;return o=a,s=[{key:`parseUserAgent`,value:function(e){var a,o={},s=e||this.userAgent||``,c=s.toLowerCase().replace(/\s\s+/g,` `),l=/(edge)\/([\w.]+)/.exec(c)||/(edg)[/]([\w.]+)/.exec(c)||/(opr)[/]([\w.]+)/.exec(c)||/(opt)[/]([\w.]+)/.exec(c)||/(fxios)[/]([\w.]+)/.exec(c)||/(edgios)[/]([\w.]+)/.exec(c)||/(jsdom)[/]([\w.]+)/.exec(c)||/(samsungbrowser)[/]([\w.]+)/.exec(c)||/(electron)[/]([\w.]+)/.exec(c)||/(chrome)[/]([\w.]+)/.exec(c)||/(crios)[/]([\w.]+)/.exec(c)||/(opios)[/]([\w.]+)/.exec(c)||/(version)(applewebkit)[/]([\w.]+).*(safari)[/]([\w.]+)/.exec(c)||/(webkit)[/]([\w.]+).*(version)[/]([\w.]+).*(safari)[/]([\w.]+)/.exec(c)||/(applewebkit)[/]([\w.]+).*(safari)[/]([\w.]+)/.exec(c)||/(webkit)[/]([\w.]+)/.exec(c)||/(opera)(?:.*version|)[/]([\w.]+)/.exec(c)||/(msie) ([\w.]+)/.exec(c)||/(fennec)[/]([\w.]+)/.exec(c)||c.indexOf(`trident`)>=0&&/(rv)(?::| )([\w.]+)/.exec(c)||c.indexOf(`compatible`)<0&&/(mozilla)(?:.*? rv:([\w.]+)|)/.exec(c)||[],u=/(ipad)/.exec(c)||/(ipod)/.exec(c)||/(iphone)/.exec(c)||/(jsdom)/.exec(c)||/(windows phone)/.exec(c)||/(xbox)/.exec(c)||/(win)/.exec(c)||/(tablet)/.exec(c)||/(android)/.test(c)&&/(mobile)/.test(c)===!1&&[`androidTablet`]||/(android)/.exec(c)||/(mac)/.exec(c)||/(linux)/.exec(c)||/(cros)/.exec(c)||[],d=l[5]||l[3]||l[1]||null,f=u[0]||null,p=l[4]||l[2]||null,m=i();d===`chrome`&&typeof(m==null||(a=m.brave)==null?void 0:a.isBrave)==`function`&&(d=`brave`),d&&(o[d]=!0),f&&(o[f]=!0);var h=!!(o.tablet||o.android||o.androidTablet),g=!!(o.ipad||o.tablet||o.androidTablet),_=!!(o.android||o.androidTablet||o.tablet||o.ipad||o.ipod||o.iphone||o[`windows phone`]),v=!!(o.cros||o.mac||o.linux||o.win),y=!!(o.brave||o.chrome||o.crios||o.opr||o.safari||o.edg||o.electron),b=!!(o.msie||o.rv);return{name:t[d]??null,platform:n[f]??null,userAgent:s,version:p,shortVersion:p?r(parseFloat(p),2):null,isAndroid:h,isTablet:g,isMobile:_,isDesktop:v,isWebkit:y,isIE:b}}},{key:`getBrowserInfo`,value:function(){var e=this.parseUserAgent();return{name:e.name,platform:e.platform,userAgent:e.userAgent,version:e.version,shortVersion:e.shortVersion}}}],c=[{key:`VERSION`,get:function(){return`3.4.0`}}],s&&e(o.prototype,s),c&&e(o,c),Object.defineProperty(o,`prototype`,{writable:!1}),a})()}))}}),ea={};b(ea,{ARGTYPES_INFO_REQUEST:()=>ao,ARGTYPES_INFO_RESPONSE:()=>oo,CHANNEL_CREATED:()=>ia,CHANNEL_WS_DISCONNECT:()=>ra,CONFIG_ERROR:()=>aa,CREATE_NEW_STORYFILE_REQUEST:()=>oa,CREATE_NEW_STORYFILE_RESPONSE:()=>sa,CURRENT_STORY_WAS_SET:()=>ca,DOCS_PREPARED:()=>la,DOCS_RENDERED:()=>ua,FILE_COMPONENT_SEARCH_REQUEST:()=>da,FILE_COMPONENT_SEARCH_RESPONSE:()=>fa,FORCE_REMOUNT:()=>ma,FORCE_RE_RENDER:()=>pa,GHOST_STORIES_REQUEST:()=>so,GHOST_STORIES_RESPONSE:()=>co,GLOBALS_UPDATED:()=>ha,MANAGER_INERT_ATTRIBUTE_CHANGED:()=>fo,NAVIGATE_URL:()=>ga,OPEN_IN_EDITOR_REQUEST:()=>lo,OPEN_IN_EDITOR_RESPONSE:()=>uo,PLAY_FUNCTION_THREW_EXCEPTION:()=>_a,PRELOAD_ENTRIES:()=>ya,PREVIEW_BUILDER_PROGRESS:()=>xa,PREVIEW_INITIALIZED:()=>ba,PREVIEW_KEYDOWN:()=>Sa,REGISTER_SUBSCRIPTION:()=>Ca,REQUEST_WHATS_NEW_DATA:()=>Qa,RESET_STORY_ARGS:()=>wa,RESULT_WHATS_NEW_DATA:()=>$a,SAVE_STORY_REQUEST:()=>ro,SAVE_STORY_RESPONSE:()=>io,SELECT_STORY:()=>Ta,SET_CONFIG:()=>Ea,SET_CURRENT_STORY:()=>Da,SET_FILTER:()=>Oa,SET_GLOBALS:()=>ka,SET_INDEX:()=>Aa,SET_STORIES:()=>ja,SET_WHATS_NEW_CACHE:()=>eo,SHARED_STATE_CHANGED:()=>Ma,SHARED_STATE_SET:()=>Na,STORIES_COLLAPSE_ALL:()=>Pa,STORIES_EXPAND_ALL:()=>Fa,STORY_ARGS_UPDATED:()=>Ia,STORY_CHANGED:()=>La,STORY_ERRORED:()=>Ra,STORY_FINISHED:()=>Wa,STORY_HOT_UPDATED:()=>Ja,STORY_INDEX_INVALIDATED:()=>za,STORY_MISSING:()=>Ba,STORY_PREPARED:()=>Va,STORY_RENDERED:()=>Ua,STORY_RENDER_PHASE_CHANGED:()=>Ha,STORY_SPECIFIED:()=>Ga,STORY_THREW_EXCEPTION:()=>Ka,STORY_UNCHANGED:()=>qa,TELEMETRY_ERROR:()=>no,TOGGLE_WHATS_NEW_NOTIFICATIONS:()=>to,UNHANDLED_ERRORS_WHILE_PLAYING:()=>va,UPDATE_GLOBALS:()=>Ya,UPDATE_QUERY_PARAMS:()=>Xa,UPDATE_STORY_ARGS:()=>Za,default:()=>na});var ta=(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.GHOST_STORIES_REQUEST=`ghostStoriesRequest`,e.GHOST_STORIES_RESPONSE=`ghostStoriesResponse`,e.OPEN_IN_EDITOR_REQUEST=`openInEditorRequest`,e.OPEN_IN_EDITOR_RESPONSE=`openInEditorResponse`,e.MANAGER_INERT_ATTRIBUTE_CHANGED=`managerInertAttributeChanged`,e))(ta||{}),na=ta,{CHANNEL_WS_DISCONNECT:ra,CHANNEL_CREATED:ia,CONFIG_ERROR:aa,CREATE_NEW_STORYFILE_REQUEST:oa,CREATE_NEW_STORYFILE_RESPONSE:sa,CURRENT_STORY_WAS_SET:ca,DOCS_PREPARED:la,DOCS_RENDERED:ua,FILE_COMPONENT_SEARCH_REQUEST:da,FILE_COMPONENT_SEARCH_RESPONSE:fa,FORCE_RE_RENDER:pa,FORCE_REMOUNT:ma,GLOBALS_UPDATED:ha,NAVIGATE_URL:ga,PLAY_FUNCTION_THREW_EXCEPTION:_a,UNHANDLED_ERRORS_WHILE_PLAYING:va,PRELOAD_ENTRIES:ya,PREVIEW_INITIALIZED:ba,PREVIEW_BUILDER_PROGRESS:xa,PREVIEW_KEYDOWN:Sa,REGISTER_SUBSCRIPTION:Ca,RESET_STORY_ARGS:wa,SELECT_STORY:Ta,SET_CONFIG:Ea,SET_CURRENT_STORY:Da,SET_FILTER:Oa,SET_GLOBALS:ka,SET_INDEX:Aa,SET_STORIES:ja,SHARED_STATE_CHANGED:Ma,SHARED_STATE_SET:Na,STORIES_COLLAPSE_ALL:Pa,STORIES_EXPAND_ALL:Fa,STORY_ARGS_UPDATED:Ia,STORY_CHANGED:La,STORY_ERRORED:Ra,STORY_INDEX_INVALIDATED:za,STORY_MISSING:Ba,STORY_PREPARED:Va,STORY_RENDER_PHASE_CHANGED:Ha,STORY_RENDERED:Ua,STORY_FINISHED:Wa,STORY_SPECIFIED:Ga,STORY_THREW_EXCEPTION:Ka,STORY_UNCHANGED:qa,STORY_HOT_UPDATED:Ja,UPDATE_GLOBALS:Ya,UPDATE_QUERY_PARAMS:Xa,UPDATE_STORY_ARGS:Za,REQUEST_WHATS_NEW_DATA:Qa,RESULT_WHATS_NEW_DATA:$a,SET_WHATS_NEW_CACHE:eo,TOGGLE_WHATS_NEW_NOTIFICATIONS:to,TELEMETRY_ERROR:no,SAVE_STORY_REQUEST:ro,SAVE_STORY_RESPONSE:io,ARGTYPES_INFO_REQUEST:ao,ARGTYPES_INFO_RESPONSE:oo,GHOST_STORIES_REQUEST:so,GHOST_STORIES_RESPONSE:co,OPEN_IN_EDITOR_REQUEST:lo,OPEN_IN_EDITOR_RESPONSE:uo,MANAGER_INERT_ATTRIBUTE_CHANGED:fo}=ta,po={};b(po,{global:()=>W});var W=(()=>{let e;return e=typeof window<`u`?window:typeof globalThis<`u`?globalThis:typeof global<`u`?global:typeof self<`u`?self:{},e})(),mo={"@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__`},ho=Object.keys(mo),go={};b(go,{Channel:()=>To,HEARTBEAT_INTERVAL:()=>Ou,HEARTBEAT_MAX_LATENCY:()=>ku,PostMessageTransport:()=>Eu,WebsocketTransport:()=>Au,createBrowserChannel:()=>Nu,default:()=>Mu});function _o(e){var t=[...arguments].slice(1),n=Array.from(typeof e==`string`?[e]:e);n[n.length-1]=n[n.length-1].replace(/\r?\n([\t ]*)$/,``);var r=n.reduce(function(e,t){var n=t.match(/\n([\t ]+|(?!\s).)/g);return n?e.concat(n.map(function(e){return e.match(/[\t ]/g)?.length??0})):e},[]);if(r.length){var i=RegExp(`
23
+ [ ]{`+Math.min.apply(Math,r)+`}`,`g`);n=n.map(function(e){return e.replace(i,`
24
+ `)})}n[0]=n[0].replace(/^\r?\n/,``);var a=n[0];return t.forEach(function(e,t){var r=a.match(/(?:^|\n)( *)$/),i=r?r[1]:``,o=e;typeof e==`string`&&e.includes(`
25
+ `)&&(o=String(e).split(`
26
+ `).map(function(e,t){return t===0?e:``+i+e}).join(`
27
+ `)),a+=o+n[t+1]}),a}var vo=new Map,yo=`UNIVERSAL_STORE:`,bo={PENDING:`PENDING`,RESOLVED:`RESOLVED`,REJECTED:`REJECTED`},xo=class e{constructor(t,n){if(this.debugging=!1,this.listeners=new Map([[`*`,new Set]]),this.getState=()=>(this.debug(`getState`,{state:this.state}),this.state),this.subscribe=(e,t)=>{let n=typeof e==`function`,r=n?`*`:e,i=n?e:t;if(this.debug(`subscribe`,{eventType:r,listener:i}),!i)throw TypeError(`Missing first subscribe argument, or second if first is the event type, when subscribing to a UniversalStore with id '${this.id}'`);return this.listeners.has(r)||this.listeners.set(r,new Set),this.listeners.get(r).add(i),()=>{this.debug(`unsubscribe`,{eventType:r,listener:i}),this.listeners.has(r)&&(this.listeners.get(r).delete(i),this.listeners.get(r)?.size===0&&this.listeners.delete(r))}},this.send=t=>{if(this.debug(`send`,{event:t}),this.status!==e.Status.READY)throw TypeError(_o`Cannot send event before store is ready. You can get the current status with store.status,
28
+ or await store.readyPromise to wait for the store to be ready before sending events.
29
+ ${JSON.stringify({event:t,id:this.id,actor:this.actor,environment:this.environment},null,2)}`);this.emitToListeners(t,{actor:this.actor}),this.emitToChannel(t,{actor:this.actor})},this.debugging=t.debug??!1,!e.isInternalConstructing)throw TypeError(`UniversalStore is not constructable - use UniversalStore.create() instead`);if(e.isInternalConstructing=!1,this.id=t.id,this.actorId=Date.now().toString(36)+Math.random().toString(36).substring(2),this.actorType=t.leader?e.ActorType.LEADER:e.ActorType.FOLLOWER,this.state=t.initialState,this.channelEventName=`${yo}${this.id}`,this.debug(`constructor`,{options:t,environmentOverrides:n,channelEventName:this.channelEventName}),this.actor.type===e.ActorType.LEADER)this.syncing={state:bo.RESOLVED,promise:Promise.resolve()};else{let e,t,n=new Promise((n,r)=>{e=()=>{this.syncing.state===bo.PENDING&&(this.syncing.state=bo.RESOLVED,n())},t=e=>{this.syncing.state===bo.PENDING&&(this.syncing.state=bo.REJECTED,r(e))}});this.syncing={state:bo.PENDING,promise:n,resolve:e,reject:t}}this.getState=this.getState.bind(this),this.setState=this.setState.bind(this),this.subscribe=this.subscribe.bind(this),this.onStateChange=this.onStateChange.bind(this),this.send=this.send.bind(this),this.emitToChannel=this.emitToChannel.bind(this),this.prepareThis=this.prepareThis.bind(this),this.emitToListeners=this.emitToListeners.bind(this),this.handleChannelEvents=this.handleChannelEvents.bind(this),this.debug=this.debug.bind(this),this.channel=n?.channel??e.preparation.channel,this.environment=n?.environment??e.preparation.environment,this.channel&&this.environment?(e.preparation.resolve({channel:this.channel,environment:this.environment}),this.prepareThis({channel:this.channel,environment:this.environment})):e.preparation.promise.then(this.prepareThis)}static setupPreparationPromise(){let t,n,r=new Promise((e,r)=>{t=t=>{e(t)},n=(...e)=>{r(e)}});e.preparation={resolve:t,reject:n,promise:r}}get actor(){return Object.freeze({id:this.actorId,type:this.actorType,environment:this.environment??e.Environment.UNKNOWN})}get status(){if(!this.channel||!this.environment)return e.Status.UNPREPARED;switch(this.syncing?.state){case bo.PENDING:case void 0:return e.Status.SYNCING;case bo.REJECTED:return e.Status.ERROR;case bo.RESOLVED:default:return e.Status.READY}}untilReady(){return Promise.all([e.preparation.promise,this.syncing?.promise])}static create(t){if(!t||typeof t?.id!=`string`)throw TypeError(`id is required and must be a string, when creating a UniversalStore`);t.debug&&console.debug(_o`[UniversalStore]
30
+ create`,{options:t});let n=vo.get(t.id);if(n)return console.warn(_o`UniversalStore with id "${t.id}" already exists in this environment, re-using existing.
31
+ You should reuse the existing instance instead of trying to create a new one.`),n;e.isInternalConstructing=!0;let r=new e(t);return vo.set(t.id,r),r}static __prepare(t,n){e.preparation.channel=t,e.preparation.environment=n,e.preparation.resolve({channel:t,environment:n})}setState(t){let n=this.state,r=typeof t==`function`?t(n):t;if(this.debug(`setState`,{newState:r,previousState:n,updater:t}),this.status!==e.Status.READY)throw TypeError(_o`Cannot set state before store is ready. You can get the current status with store.status,
32
+ or await store.readyPromise to wait for the store to be ready before sending events.
33
+ ${JSON.stringify({newState:r,id:this.id,actor:this.actor,environment:this.environment},null,2)}`);this.state=r;let i={type:e.InternalEventType.SET_STATE,payload:{state:r,previousState:n}};this.emitToChannel(i,{actor:this.actor}),this.emitToListeners(i,{actor:this.actor})}onStateChange(t){return this.debug(`onStateChange`,{listener:t}),this.subscribe(e.InternalEventType.SET_STATE,({payload:e},n)=>{t(e.state,e.previousState,n)})}emitToChannel(e,t){this.debug(`emitToChannel`,{event:e,eventInfo:t,channel:!!this.channel}),this.channel?.emit(this.channelEventName,{event:e,eventInfo:t})}prepareThis({channel:t,environment:n}){this.channel=t,this.environment=n,this.debug(`prepared`,{channel:!!t,environment:n}),this.channel.on(this.channelEventName,this.handleChannelEvents),this.actor.type===e.ActorType.LEADER?this.emitToChannel({type:e.InternalEventType.LEADER_CREATED},{actor:this.actor}):(this.emitToChannel({type:e.InternalEventType.FOLLOWER_CREATED},{actor:this.actor}),this.emitToChannel({type:e.InternalEventType.EXISTING_STATE_REQUEST},{actor:this.actor}),setTimeout(()=>{this.syncing.reject(TypeError(`No existing state found for follower with id: '${this.id}'. Make sure a leader with the same id exists before creating a follower.`))},1e3))}emitToListeners(e,t){let n=this.listeners.get(e.type),r=this.listeners.get(`*`);this.debug(`emitToListeners`,{event:e,eventInfo:t,eventTypeListeners:n,everythingListeners:r}),[...n??[],...r??[]].forEach(n=>n(e,t))}handleChannelEvents(t){let{event:n,eventInfo:r}=t;if([r.actor.id,r.forwardingActor?.id].includes(this.actor.id)){this.debug(`handleChannelEvents: Ignoring event from self`,{channelEvent:t});return}else if(this.syncing?.state===bo.PENDING&&n.type!==e.InternalEventType.EXISTING_STATE_RESPONSE){this.debug(`handleChannelEvents: Ignoring event while syncing`,{channelEvent:t});return}if(this.debug(`handleChannelEvents`,{channelEvent:t}),this.actor.type===e.ActorType.LEADER){let i=!0;switch(n.type){case e.InternalEventType.EXISTING_STATE_REQUEST:i=!1;let t={type:e.InternalEventType.EXISTING_STATE_RESPONSE,payload:this.state};this.debug(`handleChannelEvents: responding to existing state request`,{responseEvent:t}),this.emitToChannel(t,{actor:this.actor}),this.emitToListeners(t,{actor:this.actor});break;case e.InternalEventType.LEADER_CREATED:i=!1,this.syncing.state=bo.REJECTED,this.debug(`handleChannelEvents: erroring due to second leader being created`,{event:n}),console.error(_o`Detected multiple UniversalStore leaders created with the same id "${this.id}".
34
+ Only one leader can exists at a time, your stores are now in an invalid state.
35
+ Leaders detected:
36
+ this: ${JSON.stringify(this.actor,null,2)}
37
+ other: ${JSON.stringify(r.actor,null,2)}`);break}i&&(this.debug(`handleChannelEvents: forwarding event`,{channelEvent:t}),this.emitToChannel(n,{actor:r.actor,forwardingActor:this.actor}))}if(this.actor.type===e.ActorType.FOLLOWER)switch(n.type){case e.InternalEventType.EXISTING_STATE_RESPONSE:if(this.debug(`handleChannelEvents: Setting state from leader's existing state response`,{event:n}),this.syncing?.state!==bo.PENDING)break;this.syncing.resolve?.();let t={type:e.InternalEventType.SET_STATE,payload:{state:n.payload,previousState:this.state}};this.state=n.payload,this.emitToListeners(t,r);break}switch(n.type){case e.InternalEventType.SET_STATE:this.debug(`handleChannelEvents: Setting state`,{event:n}),this.state=n.payload.state;break}this.emitToListeners(n,{actor:r.actor})}debug(t,n){this.debugging&&console.debug(_o`[UniversalStore::${this.id}::${this.environment??e.Environment.UNKNOWN}]
38
+ ${t}`,JSON.stringify({data:n,actor:this.actor,state:this.state,status:this.status},null,2))}static __reset(){e.preparation.reject(Error(`reset`)),e.setupPreparationPromise(),e.isInternalConstructing=!1}};xo.ActorType={LEADER:`LEADER`,FOLLOWER:`FOLLOWER`},xo.Environment={SERVER:`SERVER`,MANAGER:`MANAGER`,PREVIEW:`PREVIEW`,UNKNOWN:`UNKNOWN`,MOCK:`MOCK`},xo.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`},xo.Status={UNPREPARED:`UNPREPARED`,SYNCING:`SYNCING`,READY:`READY`,ERROR:`ERROR`},xo.isInternalConstructing=!1,xo.setupPreparationPromise();var So=xo,Co=e=>e.transports!==void 0,wo=()=>Math.random().toString(16).slice(2),To=class{constructor(e={}){this.sender=wo(),this.events={},this.data={},this.transports=[],this.isAsync=e.async||!1,Co(e)?(this.transports=e.transports||[],this.transports.forEach(e=>{e.setHandler(e=>this.handleEvent(e))})):this.transports=e.transport?[e.transport]:[],this.transports.forEach(e=>{e.setHandler(e=>this.handleEvent(e))})}get hasTransport(){return this.transports.length>0}addListener(e,t){this.events[e]=this.events[e]||[],this.events[e].push(t)}emit(e,...t){let n={type:e,args:t,from:this.sender},r={};t.length>=1&&t[0]&&t[0].options&&(r=t[0].options);let i=()=>{this.transports.forEach(e=>{e.send(n,r)}),this.handleEvent(n)};this.isAsync?setImmediate(i):i()}last(e){return this.data[e]}eventNames(){return Object.keys(this.events)}listenerCount(e){let t=this.listeners(e);return t?t.length:0}listeners(e){return this.events[e]||void 0}once(e,t){let n=this.onceListener(e,t);this.addListener(e,n)}removeAllListeners(e){e?this.events[e]&&delete this.events[e]:this.events={}}removeListener(e,t){let n=this.listeners(e);n&&(this.events[e]=n.filter(e=>e!==t))}on(e,t){this.addListener(e,t)}off(e,t){this.removeListener(e,t)}handleEvent(e){let t=this.listeners(e.type);t&&t.length&&t.forEach(t=>{t.apply(e,e.args)}),this.data[e.type]=e.args}onceListener(e,t){let n=(...r)=>(this.removeListener(e,n),t(...r));return n}},Eo={};b(Eo,{deprecate:()=>No,logger:()=>Ao,once:()=>Mo,pretty:()=>Po});var{LOGLEVEL:Do}=W,Oo={trace:1,debug:2,info:3,warn:4,error:5,silent:10},ko=Oo[Do]||Oo.info,Ao={trace:(e,...t)=>{ko<=Oo.trace&&console.trace(e,...t)},debug:(e,...t)=>{ko<=Oo.debug&&console.debug(e,...t)},info:(e,...t)=>{ko<=Oo.info&&console.info(e,...t)},warn:(e,...t)=>{ko<=Oo.warn&&console.warn(e,...t)},error:(e,...t)=>{ko<=Oo.error&&console.error(e,...t)},log:(e,...t)=>{ko<Oo.silent&&console.log(e,...t)}},jo=new Set,Mo=e=>(t,...n)=>{if(!jo.has(t))return jo.add(t),Ao[e](t,...n)};Mo.clear=()=>jo.clear(),Mo.trace=Mo(`trace`),Mo.debug=Mo(`debug`),Mo.info=Mo(`info`),Mo.warn=Mo(`warn`),Mo.error=Mo(`error`),Mo.log=Mo(`log`);var No=Mo(`warn`),Po=e=>(...t)=>{let n=[];if(t.length){let e=/<span\s+style=(['"])([^'"]*)\1\s*>/gi,r=/<\/span>/gi,i;for(n.push(t[0].replace(e,`%c`).replace(r,`%c`));i=e.exec(t[0]);)n.push(i[2]),n.push(``);for(let e=1;e<t.length;e++)n.push(t[e])}Ao[e].apply(Ao,n)};Po.trace=Po(`trace`),Po.debug=Po(`debug`),Po.info=Po(`info`),Po.warn=Po(`warn`),Po.error=Po(`error`);var Fo=Object.create,Io=Object.defineProperty,Lo=Object.getOwnPropertyDescriptor,Ro=Object.getOwnPropertyNames,zo=Object.getPrototypeOf,Bo=Object.prototype.hasOwnProperty,G=(e,t)=>function(){return t||(0,e[Ro(e)[0]])((t={exports:{}}).exports,t),t.exports},Vo=(e,t,n,r)=>{if(t&&typeof t==`object`||typeof t==`function`)for(let i of Ro(t))!Bo.call(e,i)&&i!==n&&Io(e,i,{get:()=>t[i],enumerable:!(r=Lo(t,i))||r.enumerable});return e},Ho=(e,t,n)=>(n=e==null?{}:Fo(zo(e)),Vo(t||!e||!e.__esModule?Io(n,`default`,{value:e,enumerable:!0}):n,e)),Uo=[`bubbles`,`cancelBubble`,`cancelable`,`composed`,`currentTarget`,`defaultPrevented`,`eventPhase`,`isTrusted`,`returnValue`,`srcElement`,`target`,`timeStamp`,`type`],Wo=[`detail`];function Go(e){let t=Uo.filter(t=>e[t]!==void 0).reduce((t,n)=>(t[n]=e[n],t),{});if(e instanceof CustomEvent)for(let n of Wo.filter(t=>e[t]!==void 0))t[n]=e[n];return t}var Ko=G({"node_modules/.pnpm/es-object-atoms@1.1.1/node_modules/es-object-atoms/index.js"(e,t){t.exports=Object}}),qo=G({"node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/index.js"(e,t){t.exports=Error}}),Jo=G({"node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/eval.js"(e,t){t.exports=EvalError}}),Yo=G({"node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/range.js"(e,t){t.exports=RangeError}}),Xo=G({"node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/ref.js"(e,t){t.exports=ReferenceError}}),Zo=G({"node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/syntax.js"(e,t){t.exports=SyntaxError}}),Qo=G({"node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/type.js"(e,t){t.exports=TypeError}}),$o=G({"node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/uri.js"(e,t){t.exports=URIError}}),es=G({"node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/abs.js"(e,t){t.exports=Math.abs}}),ts=G({"node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/floor.js"(e,t){t.exports=Math.floor}}),ns=G({"node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/max.js"(e,t){t.exports=Math.max}}),rs=G({"node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/min.js"(e,t){t.exports=Math.min}}),is=G({"node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/pow.js"(e,t){t.exports=Math.pow}}),as=G({"node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/round.js"(e,t){t.exports=Math.round}}),os=G({"node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/isNaN.js"(e,t){t.exports=Number.isNaN||function(e){return e!==e}}}),ss=G({"node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/sign.js"(e,t){var n=os();t.exports=function(e){return n(e)||e===0?e:e<0?-1:1}}}),cs=G({"node_modules/.pnpm/gopd@1.2.0/node_modules/gopd/gOPD.js"(e,t){t.exports=Object.getOwnPropertyDescriptor}}),ls=G({"node_modules/.pnpm/gopd@1.2.0/node_modules/gopd/index.js"(e,t){var n=cs();if(n)try{n([],`length`)}catch{n=null}t.exports=n}}),us=G({"node_modules/.pnpm/es-define-property@1.0.1/node_modules/es-define-property/index.js"(e,t){var n=Object.defineProperty||!1;if(n)try{n({},`a`,{value:1})}catch{n=!1}t.exports=n}}),ds=G({"node_modules/.pnpm/has-symbols@1.1.0/node_modules/has-symbols/shams.js"(e,t){t.exports=function(){if(typeof Symbol!=`function`||typeof Object.getOwnPropertySymbols!=`function`)return!1;if(typeof Symbol.iterator==`symbol`)return!0;var e={},t=Symbol(`test`),n=Object(t);if(typeof t==`string`||Object.prototype.toString.call(t)!==`[object Symbol]`||Object.prototype.toString.call(n)!==`[object Symbol]`)return!1;var r=42;for(var i in e[t]=r,e)return!1;if(typeof Object.keys==`function`&&Object.keys(e).length!==0||typeof Object.getOwnPropertyNames==`function`&&Object.getOwnPropertyNames(e).length!==0)return!1;var a=Object.getOwnPropertySymbols(e);if(a.length!==1||a[0]!==t||!Object.prototype.propertyIsEnumerable.call(e,t))return!1;if(typeof Object.getOwnPropertyDescriptor==`function`){var o=Object.getOwnPropertyDescriptor(e,t);if(o.value!==r||o.enumerable!==!0)return!1}return!0}}}),fs=G({"node_modules/.pnpm/has-symbols@1.1.0/node_modules/has-symbols/index.js"(e,t){var n=typeof Symbol<`u`&&Symbol,r=ds();t.exports=function(){return typeof n!=`function`||typeof Symbol!=`function`||typeof n(`foo`)!=`symbol`||typeof Symbol(`bar`)!=`symbol`?!1:r()}}}),ps=G({"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}}),ms=G({"node_modules/.pnpm/get-proto@1.0.1/node_modules/get-proto/Object.getPrototypeOf.js"(e,t){t.exports=Ko().getPrototypeOf||null}}),hs=G({"node_modules/.pnpm/function-bind@1.1.2/node_modules/function-bind/implementation.js"(e,t){var n=`Function.prototype.bind called on incompatible `,r=Object.prototype.toString,i=Math.max,a=`[object Function]`,o=function(e,t){for(var n=[],r=0;r<e.length;r+=1)n[r]=e[r];for(var i=0;i<t.length;i+=1)n[i+e.length]=t[i];return n},s=function(e,t){for(var n=[],r=t||0,i=0;r<e.length;r+=1,i+=1)n[i]=e[r];return n},c=function(e,t){for(var n=``,r=0;r<e.length;r+=1)n+=e[r],r+1<e.length&&(n+=t);return n};t.exports=function(e){var t=this;if(typeof t!=`function`||r.apply(t)!==a)throw TypeError(n+t);for(var l=s(arguments,1),u,d=function(){if(this instanceof u){var n=t.apply(this,o(l,arguments));return Object(n)===n?n:this}return t.apply(e,o(l,arguments))},f=i(0,t.length-l.length),p=[],m=0;m<f;m++)p[m]=`$`+m;if(u=Function(`binder`,`return function (`+c(p,`,`)+`){ return binder.apply(this,arguments); }`)(d),t.prototype){var h=function(){};h.prototype=t.prototype,u.prototype=new h,h.prototype=null}return u}}}),gs=G({"node_modules/.pnpm/function-bind@1.1.2/node_modules/function-bind/index.js"(e,t){var n=hs();t.exports=Function.prototype.bind||n}}),_s=G({"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}}),vs=G({"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}}),ys=G({"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}}),bs=G({"node_modules/.pnpm/call-bind-apply-helpers@1.0.2/node_modules/call-bind-apply-helpers/actualApply.js"(e,t){var n=gs(),r=vs(),i=_s();t.exports=ys()||n.call(i,r)}}),xs=G({"node_modules/.pnpm/call-bind-apply-helpers@1.0.2/node_modules/call-bind-apply-helpers/index.js"(e,t){var n=gs(),r=Qo(),i=_s(),a=bs();t.exports=function(e){if(e.length<1||typeof e[0]!=`function`)throw new r(`a function is required`);return a(n,i,e)}}}),Ss=G({"node_modules/.pnpm/dunder-proto@1.0.1/node_modules/dunder-proto/get.js"(e,t){var n=xs(),r=ls(),i;try{i=[].__proto__===Array.prototype}catch(e){if(!e||typeof e!=`object`||!(`code`in e)||e.code!==`ERR_PROTO_ACCESS`)throw e}var a=!!i&&r&&r(Object.prototype,`__proto__`),o=Object,s=o.getPrototypeOf;t.exports=a&&typeof a.get==`function`?n([a.get]):typeof s==`function`?(function(e){return s(e==null?e:o(e))}):!1}}),Cs=G({"node_modules/.pnpm/get-proto@1.0.1/node_modules/get-proto/index.js"(e,t){var n=ps(),r=ms(),i=Ss();t.exports=n?function(e){return n(e)}:r?function(e){if(!e||typeof e!=`object`&&typeof e!=`function`)throw TypeError(`getProto: not an object`);return r(e)}:i?function(e){return i(e)}:null}}),ws=G({"node_modules/.pnpm/hasown@2.0.2/node_modules/hasown/index.js"(e,t){var n=Function.prototype.call,r=Object.prototype.hasOwnProperty;t.exports=gs().call(n,r)}}),Ts=G({"node_modules/.pnpm/get-intrinsic@1.3.0/node_modules/get-intrinsic/index.js"(e,t){var n,r=Ko(),i=qo(),a=Jo(),o=Yo(),s=Xo(),c=Zo(),l=Qo(),u=$o(),d=es(),f=ts(),p=ns(),m=rs(),h=is(),g=as(),_=ss(),v=Function,y=function(e){try{return v(`"use strict"; return (`+e+`).constructor;`)()}catch{}},b=ls(),x=us(),S=function(){throw new l},C=b?(function(){try{return arguments.callee,S}catch{try{return b(arguments,`callee`).get}catch{return S}}})():S,w=fs()(),T=Cs(),E=ms(),D=ps(),O=vs(),k=_s(),A={},j=typeof Uint8Array>`u`||!T?n:T(Uint8Array),M={__proto__:null,"%AggregateError%":typeof AggregateError>`u`?n:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>`u`?n:ArrayBuffer,"%ArrayIteratorPrototype%":w&&T?T([][Symbol.iterator]()):n,"%AsyncFromSyncIteratorPrototype%":n,"%AsyncFunction%":A,"%AsyncGenerator%":A,"%AsyncGeneratorFunction%":A,"%AsyncIteratorPrototype%":A,"%Atomics%":typeof Atomics>`u`?n:Atomics,"%BigInt%":typeof BigInt>`u`?n:BigInt,"%BigInt64Array%":typeof BigInt64Array>`u`?n:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>`u`?n:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>`u`?n:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":i,"%eval%":eval,"%EvalError%":a,"%Float16Array%":typeof Float16Array>`u`?n:Float16Array,"%Float32Array%":typeof Float32Array>`u`?n:Float32Array,"%Float64Array%":typeof Float64Array>`u`?n:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>`u`?n:FinalizationRegistry,"%Function%":v,"%GeneratorFunction%":A,"%Int8Array%":typeof Int8Array>`u`?n:Int8Array,"%Int16Array%":typeof Int16Array>`u`?n:Int16Array,"%Int32Array%":typeof Int32Array>`u`?n:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":w&&T?T(T([][Symbol.iterator]())):n,"%JSON%":typeof JSON==`object`?JSON:n,"%Map%":typeof Map>`u`?n:Map,"%MapIteratorPrototype%":typeof Map>`u`||!w||!T?n:T(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":r,"%Object.getOwnPropertyDescriptor%":b,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>`u`?n:Promise,"%Proxy%":typeof Proxy>`u`?n:Proxy,"%RangeError%":o,"%ReferenceError%":s,"%Reflect%":typeof Reflect>`u`?n:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>`u`?n:Set,"%SetIteratorPrototype%":typeof Set>`u`||!w||!T?n:T(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>`u`?n:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":w&&T?T(``[Symbol.iterator]()):n,"%Symbol%":w?Symbol:n,"%SyntaxError%":c,"%ThrowTypeError%":C,"%TypedArray%":j,"%TypeError%":l,"%Uint8Array%":typeof Uint8Array>`u`?n:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>`u`?n:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>`u`?n:Uint16Array,"%Uint32Array%":typeof Uint32Array>`u`?n:Uint32Array,"%URIError%":u,"%WeakMap%":typeof WeakMap>`u`?n:WeakMap,"%WeakRef%":typeof WeakRef>`u`?n:WeakRef,"%WeakSet%":typeof WeakSet>`u`?n:WeakSet,"%Function.prototype.call%":k,"%Function.prototype.apply%":O,"%Object.defineProperty%":x,"%Object.getPrototypeOf%":E,"%Math.abs%":d,"%Math.floor%":f,"%Math.max%":p,"%Math.min%":m,"%Math.pow%":h,"%Math.round%":g,"%Math.sign%":_,"%Reflect.getPrototypeOf%":D};if(T)try{null.error}catch(e){N=T(T(e)),M[`%Error.prototype%`]=N}var N,P=function e(t){var n;if(t===`%AsyncFunction%`)n=y(`async function () {}`);else if(t===`%GeneratorFunction%`)n=y(`function* () {}`);else if(t===`%AsyncGeneratorFunction%`)n=y(`async function* () {}`);else if(t===`%AsyncGenerator%`){var r=e(`%AsyncGeneratorFunction%`);r&&(n=r.prototype)}else if(t===`%AsyncIteratorPrototype%`){var i=e(`%AsyncGenerator%`);i&&T&&(n=T(i.prototype))}return M[t]=n,n},ee={__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`]},te=gs(),ne=ws(),F=te.call(k,Array.prototype.concat),re=te.call(O,Array.prototype.splice),ie=te.call(k,String.prototype.replace),ae=te.call(k,String.prototype.slice),I=te.call(k,RegExp.prototype.exec),oe=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,se=/\\(\\)?/g,ce=function(e){var t=ae(e,0,1),n=ae(e,-1);if(t===`%`&&n!==`%`)throw new c("invalid intrinsic syntax, expected closing `%`");if(n===`%`&&t!==`%`)throw new c("invalid intrinsic syntax, expected opening `%`");var r=[];return ie(e,oe,function(e,t,n,i){r[r.length]=n?ie(i,se,`$1`):t||e}),r},le=function(e,t){var n=e,r;if(ne(ee,n)&&(r=ee[n],n=`%`+r[0]+`%`),ne(M,n)){var i=M[n];if(i===A&&(i=P(n)),typeof i>`u`&&!t)throw new l(`intrinsic `+e+` exists, but is not available. Please file an issue!`);return{alias:r,name:n,value:i}}throw new c(`intrinsic `+e+` does not exist!`)};t.exports=function(e,t){if(typeof e!=`string`||e.length===0)throw new l(`intrinsic name must be a non-empty string`);if(arguments.length>1&&typeof t!=`boolean`)throw new l(`"allowMissing" argument must be a boolean`);if(I(/^%?[^%]*%?$/,e)===null)throw new c("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var n=ce(e),r=n.length>0?n[0]:``,i=le(`%`+r+`%`,t),a=i.name,o=i.value,s=!1,u=i.alias;u&&(r=u[0],re(n,F([0,1],u)));for(var d=1,f=!0;d<n.length;d+=1){var p=n[d],m=ae(p,0,1),h=ae(p,-1);if((m===`"`||m===`'`||m==="`"||h===`"`||h===`'`||h==="`")&&m!==h)throw new c(`property names with quotes must have matching quotes`);if((p===`constructor`||!f)&&(s=!0),r+=`.`+p,a=`%`+r+`%`,ne(M,a))o=M[a];else if(o!=null){if(!(p in o)){if(!t)throw new l(`base intrinsic for `+e+` exists, but the property is not available.`);return}if(b&&d+1>=n.length){var g=b(o,p);f=!!g,o=f&&`get`in g&&!(`originalValue`in g.get)?g.get:o[p]}else f=ne(o,p),o=o[p];f&&!s&&(M[a]=o)}}return o}}}),Es=G({"node_modules/.pnpm/call-bound@1.0.4/node_modules/call-bound/index.js"(e,t){var n=Ts(),r=xs(),i=r([n(`%String.prototype.indexOf%`)]);t.exports=function(e,t){var a=n(e,!!t);return typeof a==`function`&&i(e,`.prototype.`)>-1?r([a]):a}}}),Ds=G({"node_modules/.pnpm/has-tostringtag@1.0.2/node_modules/has-tostringtag/shams.js"(e,t){var n=ds();t.exports=function(){return n()&&!!Symbol.toStringTag}}}),Os=G({"node_modules/.pnpm/is-regex@1.2.1/node_modules/is-regex/index.js"(e,t){var n=Es(),r=Ds()(),i=ws(),a=ls(),o;r?(s=n(`RegExp.prototype.exec`),c={},l=function(){throw c},u={toString:l,valueOf:l},typeof Symbol.toPrimitive==`symbol`&&(u[Symbol.toPrimitive]=l),o=function(e){if(!e||typeof e!=`object`)return!1;var t=a(e,`lastIndex`);if(!(t&&i(t,`value`)))return!1;try{s(e,u)}catch(e){return e===c}}):(d=n(`Object.prototype.toString`),f=`[object RegExp]`,o=function(e){return!e||typeof e!=`object`&&typeof e!=`function`?!1:d(e)===f});var s,c,l,u,d,f;t.exports=o}}),ks=G({"node_modules/.pnpm/is-function@1.0.2/node_modules/is-function/index.js"(e,t){t.exports=r;var n=Object.prototype.toString;function r(e){if(!e)return!1;var t=n.call(e);return t===`[object Function]`||typeof e==`function`&&t!==`[object RegExp]`||typeof window<`u`&&(e===window.setTimeout||e===window.alert||e===window.confirm||e===window.prompt)}}}),As=G({"node_modules/.pnpm/safe-regex-test@1.1.0/node_modules/safe-regex-test/index.js"(e,t){var n=Es(),r=Os(),i=n(`RegExp.prototype.exec`),a=Qo();t.exports=function(e){if(!r(e))throw new a("`regex` must be a RegExp");return function(t){return i(e,t)!==null}}}}),js=G({"node_modules/.pnpm/is-symbol@1.1.1/node_modules/is-symbol/index.js"(e,t){var n=Es(),r=n(`Object.prototype.toString`),i=fs()(),a=As();i?(o=n(`Symbol.prototype.toString`),s=a(/^Symbol\(.*\)$/),c=function(e){return typeof e.valueOf()==`symbol`?s(o(e)):!1},t.exports=function(e){if(typeof e==`symbol`)return!0;if(!e||typeof e!=`object`||r(e)!==`[object Symbol]`)return!1;try{return c(e)}catch{return!1}}):t.exports=function(e){return!1};var o,s,c}}),Ms=Ho(Os()),Ns=Ho(ks()),Ps=Ho(js());function Fs(e){return typeof e==`object`&&!!e&&Array.isArray(e)===!1}var Is=typeof global==`object`&&global&&global.Object===Object&&global,Ls=typeof self==`object`&&self&&self.Object===Object&&self,Rs=Is||Ls||Function(`return this`)(),zs=Rs.Symbol,Bs=Object.prototype,Vs=Bs.hasOwnProperty,Hs=Bs.toString,Us=zs?zs.toStringTag:void 0;function Ws(e){var t=Vs.call(e,Us),n=e[Us];try{e[Us]=void 0;var r=!0}catch{}var i=Hs.call(e);return r&&(t?e[Us]=n:delete e[Us]),i}var Gs=Ws,Ks=Object.prototype.toString;function qs(e){return Ks.call(e)}var Js=qs,Ys=`[object Null]`,Xs=`[object Undefined]`,Zs=zs?zs.toStringTag:void 0;function Qs(e){return e==null?e===void 0?Xs:Ys:Zs&&Zs in Object(e)?Gs(e):Js(e)}var $s=Qs;function ec(e){return typeof e==`object`&&!!e}var tc=ec,nc=`[object Symbol]`;function rc(e){return typeof e==`symbol`||tc(e)&&$s(e)==nc}var ic=rc;function ac(e,t){for(var n=-1,r=e==null?0:e.length,i=Array(r);++n<r;)i[n]=t(e[n],n,e);return i}var oc=ac,sc=Array.isArray,cc=1/0,lc=zs?zs.prototype:void 0,uc=lc?lc.toString:void 0;function dc(e){if(typeof e==`string`)return e;if(sc(e))return oc(e,dc)+``;if(ic(e))return uc?uc.call(e):``;var t=e+``;return t==`0`&&1/e==-cc?`-0`:t}var fc=dc;function pc(e){var t=typeof e;return e!=null&&(t==`object`||t==`function`)}var mc=pc,hc=`[object AsyncFunction]`,gc=`[object Function]`,_c=`[object GeneratorFunction]`,vc=`[object Proxy]`;function yc(e){if(!mc(e))return!1;var t=$s(e);return t==gc||t==_c||t==hc||t==vc}var bc=yc,xc=Rs[`__core-js_shared__`],Sc=(function(){var e=/[^.]+$/.exec(xc&&xc.keys&&xc.keys.IE_PROTO||``);return e?`Symbol(src)_1.`+e:``})();function Cc(e){return!!Sc&&Sc in e}var wc=Cc,Tc=Function.prototype.toString;function Ec(e){if(e!=null){try{return Tc.call(e)}catch{}try{return e+``}catch{}}return``}var Dc=Ec,Oc=/[\\^$.*+?()[\]{}|]/g,kc=/^\[object .+?Constructor\]$/,Ac=Function.prototype,jc=Object.prototype,Mc=Ac.toString,Nc=jc.hasOwnProperty,Pc=RegExp(`^`+Mc.call(Nc).replace(Oc,`\\$&`).replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,`$1.*?`)+`$`);function Fc(e){return!mc(e)||wc(e)?!1:(bc(e)?Pc:kc).test(Dc(e))}var Ic=Fc;function Lc(e,t){return e?.[t]}var Rc=Lc;function zc(e,t){var n=Rc(e,t);return Ic(n)?n:void 0}var Bc=zc;function Vc(e,t){return e===t||e!==e&&t!==t}var Hc=Vc,Uc=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Wc=/^\w*$/;function Gc(e,t){if(sc(e))return!1;var n=typeof e;return n==`number`||n==`symbol`||n==`boolean`||e==null||ic(e)?!0:Wc.test(e)||!Uc.test(e)||t!=null&&e in Object(t)}var Kc=Gc,qc=Bc(Object,`create`);function Jc(){this.__data__=qc?qc(null):{},this.size=0}var Yc=Jc;function Xc(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}var Zc=Xc,Qc=`__lodash_hash_undefined__`,$c=Object.prototype.hasOwnProperty;function el(e){var t=this.__data__;if(qc){var n=t[e];return n===Qc?void 0:n}return $c.call(t,e)?t[e]:void 0}var tl=el,nl=Object.prototype.hasOwnProperty;function rl(e){var t=this.__data__;return qc?t[e]!==void 0:nl.call(t,e)}var il=rl,al=`__lodash_hash_undefined__`;function ol(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=qc&&t===void 0?al:t,this}var sl=ol;function cl(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}cl.prototype.clear=Yc,cl.prototype.delete=Zc,cl.prototype.get=tl,cl.prototype.has=il,cl.prototype.set=sl;var ll=cl;function ul(){this.__data__=[],this.size=0}var dl=ul;function fl(e,t){for(var n=e.length;n--;)if(Hc(e[n][0],t))return n;return-1}var pl=fl,ml=Array.prototype.splice;function hl(e){var t=this.__data__,n=pl(t,e);return n<0?!1:(n==t.length-1?t.pop():ml.call(t,n,1),--this.size,!0)}var gl=hl;function _l(e){var t=this.__data__,n=pl(t,e);return n<0?void 0:t[n][1]}var vl=_l;function yl(e){return pl(this.__data__,e)>-1}var bl=yl;function xl(e,t){var n=this.__data__,r=pl(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this}var Sl=xl;function Cl(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}Cl.prototype.clear=dl,Cl.prototype.delete=gl,Cl.prototype.get=vl,Cl.prototype.has=bl,Cl.prototype.set=Sl;var wl=Cl,Tl=Bc(Rs,`Map`);function El(){this.size=0,this.__data__={hash:new ll,map:new(Tl||wl),string:new ll}}var Dl=El;function Ol(e){var t=typeof e;return t==`string`||t==`number`||t==`symbol`||t==`boolean`?e!==`__proto__`:e===null}var kl=Ol;function Al(e,t){var n=e.__data__;return kl(t)?n[typeof t==`string`?`string`:`hash`]:n.map}var jl=Al;function Ml(e){var t=jl(this,e).delete(e);return this.size-=t?1:0,t}var Nl=Ml;function Pl(e){return jl(this,e).get(e)}var Fl=Pl;function Il(e){return jl(this,e).has(e)}var Ll=Il;function Rl(e,t){var n=jl(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this}var zl=Rl;function Bl(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}Bl.prototype.clear=Dl,Bl.prototype.delete=Nl,Bl.prototype.get=Fl,Bl.prototype.has=Ll,Bl.prototype.set=zl;var Vl=Bl,Hl=`Expected a function`;function Ul(e,t){if(typeof e!=`function`||t!=null&&typeof t!=`function`)throw TypeError(Hl);var n=function(){var r=arguments,i=t?t.apply(this,r):r[0],a=n.cache;if(a.has(i))return a.get(i);var o=e.apply(this,r);return n.cache=a.set(i,o)||a,o};return n.cache=new(Ul.Cache||Vl),n}Ul.Cache=Vl;var Wl=Ul,Gl=500;function Kl(e){var t=Wl(e,function(e){return n.size===Gl&&n.clear(),e}),n=t.cache;return t}var ql=Kl,Jl=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Yl=/\\(\\)?/g,Xl=ql(function(e){var t=[];return e.charCodeAt(0)===46&&t.push(``),e.replace(Jl,function(e,n,r,i){t.push(r?i.replace(Yl,`$1`):n||e)}),t});function Zl(e){return e==null?``:fc(e)}var Ql=Zl;function $l(e,t){return sc(e)?e:Kc(e,t)?[e]:Xl(Ql(e))}var eu=$l,tu=1/0;function nu(e){if(typeof e==`string`||ic(e))return e;var t=e+``;return t==`0`&&1/e==-tu?`-0`:t}var ru=nu;function iu(e,t){t=eu(t,e);for(var n=0,r=t.length;e!=null&&n<r;)e=e[ru(t[n++])];return n&&n==r?e:void 0}var au=iu;function ou(e,t,n){var r=e==null?void 0:au(e,t);return r===void 0?n:r}var su=ou,cu=Fs,lu=/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(\.\d{3})?Z$/,uu=e=>e.match(/^[\[\{\"\}].*[\]\}\"]$/);function du(e){if(!cu(e))return e;let t=e,n=!1;return typeof Event<`u`&&e instanceof Event&&(t=Go(t),n=!0),t=Object.keys(t).reduce((e,r)=>{try{t[r]&&t[r].toJSON,e[r]=t[r]}catch{n=!0}return e},{}),n?t:e}var fu=function(e){let t,n,r,i;return function(a,o){try{if(a===``)return i=[],t=new Map([[o,`[]`]]),n=new Map,r=[],o;let s=n.get(this)||this;for(;r.length&&s!==r[0];)r.shift(),i.pop();if(typeof o==`boolean`)return o;if(o===void 0)return e.allowUndefined?`_undefined_`:void 0;if(o===null)return null;if(typeof o==`number`)return o===-1/0?`_-Infinity_`:o===1/0?`_Infinity_`:Number.isNaN(o)?`_NaN_`:o;if(typeof o==`bigint`)return`_bigint_${o.toString()}`;if(typeof o==`string`)return lu.test(o)?e.allowDate?`_date_${o}`:void 0:o;if((0,Ms.default)(o))return e.allowRegExp?`_regexp_${o.flags}|${o.source}`:void 0;if((0,Ns.default)(o))return;if((0,Ps.default)(o)){if(!e.allowSymbol)return;let t=Symbol.keyFor(o);return t===void 0?`_symbol_${o.toString().slice(7,-1)}`:`_gsymbol_${t}`}if(r.length>=e.maxDepth)return Array.isArray(o)?`[Array(${o.length})]`:`[Object]`;if(o===this)return`_duplicate_${JSON.stringify(i)}`;if(o instanceof Error&&e.allowError)return{__isConvertedError__:!0,errorProperties:{...o.cause?{cause:o.cause}:{},...o,name:o.name,message:o.message,stack:o.stack,"_constructor-name_":o.constructor.name}};if(o?.constructor?.name&&o.constructor.name!==`Object`&&!Array.isArray(o)){let e=t.get(o);if(!e){let e={__isClassInstance__:!0,__className__:o.constructor.name,...Object.getOwnPropertyNames(o).reduce((e,t)=>{try{e[t]=o[t]}catch{}return e},{})};return i.push(a),r.unshift(e),t.set(o,JSON.stringify(i)),o!==e&&n.set(o,e),e}return`_duplicate_${e}`}let c=t.get(o);if(!c){let e=Array.isArray(o)?o:du(o);return i.push(a),r.unshift(e),t.set(o,JSON.stringify(i)),o!==e&&n.set(o,e),e}return`_duplicate_${c}`}catch{return}}},pu=function(e){let t=[],n;return function(r,i){if(r===``&&(n=i,t.forEach(({target:e,container:t,replacement:r})=>{let i=uu(r)?JSON.parse(r):r.split(`.`);i.length===0?t[e]=n:t[e]=su(n,i)})),r===`_constructor-name_`)return i;if(cu(i)&&i.__isConvertedError__){let{message:e,...t}=i.errorProperties,n=Error(e);return Object.assign(n,t),n}if(typeof i==`string`&&i.startsWith(`_regexp_`)&&e.allowRegExp){let[,e,t]=i.match(/_regexp_([^|]*)\|(.*)/)||[];return new RegExp(t,e)}return typeof i==`string`&&i.startsWith(`_date_`)&&e.allowDate?new Date(i.replace(`_date_`,``)):typeof i==`string`&&i.startsWith(`_duplicate_`)?(t.push({target:r,container:this,replacement:i.replace(/^_duplicate_/,``)}),null):typeof i==`string`&&i.startsWith(`_symbol_`)&&e.allowSymbol?Symbol(i.replace(`_symbol_`,``)):typeof i==`string`&&i.startsWith(`_gsymbol_`)&&e.allowSymbol?Symbol.for(i.replace(`_gsymbol_`,``)):typeof i==`string`&&i===`_-Infinity_`?-1/0:typeof i==`string`&&i===`_Infinity_`?1/0:typeof i==`string`&&i===`_NaN_`?NaN:typeof i==`string`&&i.startsWith(`_bigint_`)&&typeof BigInt==`function`?BigInt(i.replace(`_bigint_`,``)):i}},mu={maxDepth:10,space:void 0,allowRegExp:!0,allowDate:!0,allowError:!0,allowUndefined:!0,allowSymbol:!0},hu=(e,t={})=>{let n={...mu,...t};return JSON.stringify(du(e),fu(n),t.space)},gu=()=>{let e=new Map;return function t(n){cu(n)&&Object.entries(n).forEach(([r,i])=>{i===`_undefined_`?n[r]=void 0:e.get(i)||(e.set(i,!0),t(i))}),Array.isArray(n)&&n.forEach((r,i)=>{r===`_undefined_`?(e.set(r,!0),n[i]=void 0):e.get(r)||(e.set(r,!0),t(r))})}},_u=(e,t={})=>{let n={...mu,...t},r=JSON.parse(e,pu(n));return gu()(r),r},vu=!0,yu=`Invariant failed`;function bu(e,t){if(!e){if(vu)throw Error(yu);var n=typeof t==`function`?t():t,r=n?`${yu}: ${n}`:yu;throw Error(r)}}var xu=e=>{let[t,...n]=Array.from(document.querySelectorAll(`iframe[data-is-storybook]`)).filter(t=>{try{return t.contentWindow?.location.origin===e.source.location.origin&&t.contentWindow?.location.pathname===e.source.location.pathname}catch{}try{return t.contentWindow===e.source}catch{}let n=t.getAttribute(`src`),r;try{if(!n)return!1;({origin:r}=new URL(n,document.location.toString()))}catch{return!1}return r===e.origin}),r=t?.getAttribute(`src`);if(r&&n.length===0){let{protocol:e,host:t,pathname:n}=new URL(r,document.location.toString());return`${e}//${t}${n}`}return n.length>0&&Ao.error(`found multiple candidates for event source`),null},{document:Su,location:Cu}=W,wu=`storybook-channel`,Tu={maxDepth:25},Eu=class{constructor(e){if(this.config=e,this.connected=!1,this.buffer=[],typeof W?.addEventListener==`function`&&W.addEventListener(`message`,this.handleEvent.bind(this),!1),e.page!==`manager`&&e.page!==`preview`)throw Error(`postmsg-channel: "config.page" cannot be "${e.page}"`)}setHandler(e){this.handler=(...t)=>{e.apply(this,t),!this.connected&&this.getLocalFrame().length&&(this.flush(),this.connected=!0)}}send(e,t){let{target:n,allowRegExp:r,allowSymbol:i,allowDate:a,allowError:o,allowUndefined:s,maxDepth:c,space:l}=t||{},u=Object.fromEntries(Object.entries({allowRegExp:r,allowSymbol:i,allowDate:a,allowError:o,allowUndefined:s,maxDepth:c,space:l}).filter(([e,t])=>typeof t<`u`)),d={...Tu,...W.CHANNEL_OPTIONS||{},...u},f=this.getFrames(n),p=hu({key:wu,event:e,refId:new URLSearchParams(Cu?.search||``).get(`refId`)},d);return f.length?(this.buffer.length&&this.flush(),f.forEach(e=>{try{e.postMessage(p,`*`)}catch{Ao.error(`sending over postmessage fail`)}}),Promise.resolve(null)):new Promise((t,n)=>{this.buffer.push({event:e,resolve:t,reject:n})})}flush(){let{buffer:e}=this;this.buffer=[],e.forEach(e=>{this.send(e.event).then(e.resolve).catch(e.reject)})}getFrames(e){if(this.config.page===`manager`){let t=Array.from(Su.querySelectorAll(`iframe[data-is-storybook][data-is-loaded]`)).flatMap(t=>{try{return t.contentWindow&&t.dataset.isStorybook!==void 0&&t.id===e?[t.contentWindow]:[]}catch{return[]}});return t?.length?t:this.getCurrentFrames()}return W&&W.parent&&W.parent!==W.self?[W.parent]:[]}getCurrentFrames(){return this.config.page===`manager`?Array.from(Su.querySelectorAll(`[data-is-storybook="true"]`)).flatMap(e=>e.contentWindow?[e.contentWindow]:[]):W&&W.parent?[W.parent]:[]}getLocalFrame(){return this.config.page===`manager`?Array.from(Su.querySelectorAll(`#storybook-preview-iframe`)).flatMap(e=>e.contentWindow?[e.contentWindow]:[]):W&&W.parent?[W.parent]:[]}handleEvent(e){try{let{data:t}=e,{key:n,event:r,refId:i}=typeof t==`string`&&uu(t)?_u(t,W.CHANNEL_OPTIONS||{}):t;if(n===wu){let n=this.config.page===`manager`?`<span style="color: #37D5D3; background: black"> manager </span>`:`<span style="color: #1EA7FD; background: black"> preview </span>`,a=Object.values(ea).includes(r.type)?`<span style="color: #FF4785">${r.type}</span>`:`<span style="color: #FFAE00">${r.type}</span>`;if(i&&(r.refId=i),r.source=this.config.page===`preview`?e.origin:xu(e),!r.source){Po.error(`${n} received ${a} but was unable to determine the source of the event`);return}let o=`${n} received ${a} (${t.length})`;Po.debug(Cu.origin===r.source?`${o} <span style="color: gray">(on ${Cu.origin} from ${r.source})</span>`:o,...r.args),bu(this.handler,`ChannelHandler should be set`),this.handler(r)}}catch(e){Ao.error(e)}}},{WebSocket:Du}=W,Ou=15e3,ku=5e3,Au=class{constructor({url:e,onError:t,page:n}){this.buffer=[],this.isReady=!1,this.isClosed=!1,this.pingTimeout=0,this.socket=new Du(e),this.socket.onopen=()=>{this.isReady=!0,this.heartbeat(),this.flush()},this.socket.onmessage=({data:e})=>{let t=typeof e==`string`&&uu(e)?_u(e):e;bu(this.handler,`WebsocketTransport handler should be set`),this.handler(t),t.type===`ping`&&(this.heartbeat(),this.send({type:`pong`}))},this.socket.onerror=e=>{t&&t(e)},this.socket.onclose=e=>{bu(this.handler,`WebsocketTransport handler should be set`),this.handler({type:ra,args:[{reason:e.reason,code:e.code}],from:n||`preview`}),this.isClosed=!0,clearTimeout(this.pingTimeout)}}heartbeat(){clearTimeout(this.pingTimeout),this.pingTimeout=setTimeout(()=>{this.socket.close(3008,`timeout`)},Ou+ku)}setHandler(e){this.handler=e}send(e){this.isClosed||(this.isReady?this.sendNow(e):this.sendLater(e))}sendLater(e){this.buffer.push(e)}sendNow(e){let t=hu(e,{maxDepth:15,...W.CHANNEL_OPTIONS});this.socket.send(t)}flush(){let{buffer:e}=this;this.buffer=[],e.forEach(e=>this.send(e))}},{CONFIG_TYPE:ju}=W,Mu=To;function Nu({page:e,extraTransports:t=[]}){let n=[new Eu({page:e}),...t];if(ju===`DEVELOPMENT`){let t=window.location.protocol===`http:`?`ws`:`wss`,{hostname:r,port:i}=window.location,a=`${t}://${r}:${i}/storybook-server-channel`;n.push(new Au({url:a,onError:()=>{},page:e}))}let r=new To({transports:n});return So.__prepare(r,e===`manager`?So.Environment.MANAGER:So.Environment.PREVIEW),r}var Pu={};b(Pu,{CalledExtractOnStoreError:()=>Vu,CalledPreviewMethodBeforeInitializationError:()=>Uu,Category:()=>Ru,ElementA11yParameterError:()=>id,EmptyIndexError:()=>Ku,ImplicitActionsDuringRendering:()=>Bu,MdxFileWithNoCsfReferencesError:()=>Gu,MissingRenderToCanvasError:()=>Hu,MissingStoryAfterHmrError:()=>zu,MissingStoryFromCsfFileError:()=>Ju,MountMustBeDestructuredError:()=>Xu,NextJsSharpError:()=>ed,NextjsRouterMocksNotAvailable:()=>td,NoRenderFunctionError:()=>Zu,NoStoryMatchError:()=>qu,NoStoryMountedError:()=>Qu,StatusTypeIdMismatchError:()=>$u,StoryIndexFetchError:()=>Wu,StoryStoreAccessedBeforeInitializationError:()=>Yu,UnknownArgTypesError:()=>nd,UnsupportedViewportDimensionError:()=>rd});function Fu({code:e,category:t}){return`SB_${t}_${String(e).padStart(4,`0`)}`}function Iu(e){if(/^(?!.*storybook\.js\.org)|[?&]ref=error\b/.test(e))return e;try{let t=new URL(e);return t.searchParams.set(`ref`,`error`),t.toString()}catch{return e}}var Lu=class e extends Error{constructor(t){super(e.getFullMessage(t)),this.data={},this.fromStorybook=!0,this.isHandledError=!1,this.subErrors=[],this.category=t.category,this.documentation=t.documentation??!1,this.code=t.code,this.isHandledError=t.isHandledError??!1,this.name=t.name,this.subErrors=t.subErrors??[]}get fullErrorCode(){return Fu({code:this.code,category:this.category})}get name(){let e=this._name||this.constructor.name;return`${this.fullErrorCode} (${e})`}set name(e){this._name=e}static getFullMessage({documentation:e,code:t,category:n,message:r}){let i;return e===!0?i=`https://storybook.js.org/error/${Fu({code:t,category:n})}?ref=error`:typeof e==`string`?i=Iu(e):Array.isArray(e)&&(i=`
39
+ ${e.map(e=>` - ${Iu(e)}`).join(`
40
+ `)}`),`${r}${i==null?``:`
41
+
42
+ More info: ${i}
43
+ `}`}},Ru=(e=>(e.BLOCKS=`BLOCKS`,e.DOCS_TOOLS=`DOCS-TOOLS`,e.PREVIEW_CLIENT_LOGGER=`PREVIEW_CLIENT-LOGGER`,e.PREVIEW_CHANNELS=`PREVIEW_CHANNELS`,e.PREVIEW_CORE_EVENTS=`PREVIEW_CORE-EVENTS`,e.PREVIEW_INSTRUMENTER=`PREVIEW_INSTRUMENTER`,e.PREVIEW_API=`PREVIEW_API`,e.PREVIEW_REACT_DOM_SHIM=`PREVIEW_REACT-DOM-SHIM`,e.PREVIEW_ROUTER=`PREVIEW_ROUTER`,e.PREVIEW_THEMING=`PREVIEW_THEMING`,e.RENDERER_HTML=`RENDERER_HTML`,e.RENDERER_PREACT=`RENDERER_PREACT`,e.RENDERER_REACT=`RENDERER_REACT`,e.RENDERER_SERVER=`RENDERER_SERVER`,e.RENDERER_SVELTE=`RENDERER_SVELTE`,e.RENDERER_VUE=`RENDERER_VUE`,e.RENDERER_VUE3=`RENDERER_VUE3`,e.RENDERER_WEB_COMPONENTS=`RENDERER_WEB-COMPONENTS`,e.FRAMEWORK_NEXTJS=`FRAMEWORK_NEXTJS`,e.ADDON_VITEST=`ADDON_VITEST`,e.ADDON_A11Y=`ADDON_A11Y`,e))(Ru||{}),zu=class extends Lu{constructor(e){super({name:`MissingStoryAfterHmrError`,category:`PREVIEW_API`,code:1,message:_o`
44
+ Couldn't find story matching id '${e.storyId}' after HMR.
45
+ - Did you just rename a story?
46
+ - Did you remove it from your CSF file?
47
+ - Are you sure a story with the id '${e.storyId}' exists?
48
+ - Please check the values in the stories field of your main.js config and see if they would match your CSF File.
49
+ - Also check the browser console and terminal for potential error messages.`}),this.data=e}},Bu=class extends Lu{constructor(e){super({name:`ImplicitActionsDuringRendering`,category:`PREVIEW_API`,code:2,documentation:`https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#using-implicit-actions-during-rendering-is-deprecated-for-example-in-the-play-function`,message:_o`
50
+ We detected that you use an implicit action arg while ${e.phase} of your story.
51
+ ${e.deprecated?`
52
+ This is deprecated and won't work in Storybook 8 anymore.
53
+ `:``}
54
+ Please provide an explicit spy to your args like this:
55
+ import { fn } from 'storybook/test';
56
+ ...
57
+ args: {
58
+ ${e.name}: fn()
59
+ }`}),this.data=e}},Vu=class extends Lu{constructor(){super({name:`CalledExtractOnStoreError`,category:`PREVIEW_API`,code:3,message:_o`
60
+ Cannot call \`storyStore.extract()\` without calling \`storyStore.cacheAllCsfFiles()\` first.
61
+
62
+ You probably meant to call \`await preview.extract()\` which does the above for you.`})}},Hu=class extends Lu{constructor(){super({name:`MissingRenderToCanvasError`,category:`PREVIEW_API`,code:4,message:_o`
63
+ Expected your framework's preset to export a \`renderToCanvas\` field.
64
+
65
+ Perhaps it needs to be upgraded for Storybook 7.0?`,documentation:`https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#mainjs-framework-field`})}},Uu=class extends Lu{constructor(e){super({name:`CalledPreviewMethodBeforeInitializationError`,category:`PREVIEW_API`,code:5,message:_o`
66
+ Called \`Preview.${e.methodName}()\` before initialization.
67
+
68
+ The preview needs to load the story index before most methods can be called. If you want
69
+ to call \`${e.methodName}\`, try \`await preview.initializationPromise;\` first.
70
+
71
+ If you didn't call the above code, then likely it was called by an addon that needs to
72
+ do the above.`}),this.data=e}},Wu=class extends Lu{constructor(e){super({name:`StoryIndexFetchError`,category:`PREVIEW_API`,code:6,message:_o`
73
+ Error fetching \`/index.json\`:
74
+
75
+ ${e.text}
76
+
77
+ If you are in development, this likely indicates a problem with your Storybook process,
78
+ check the terminal for errors.
79
+
80
+ If you are in a deployed Storybook, there may have been an issue deploying the full Storybook
81
+ build.`}),this.data=e}},Gu=class extends Lu{constructor(e){super({name:`MdxFileWithNoCsfReferencesError`,category:`PREVIEW_API`,code:7,message:_o`
82
+ Tried to render docs entry ${e.storyId} but it is a MDX file that has no CSF
83
+ references, or autodocs for a CSF file that some doesn't refer to itself.
84
+
85
+ This likely is an internal error in Storybook's indexing, or you've attached the
86
+ \`attached-mdx\` tag to an MDX file that is not attached.`}),this.data=e}},Ku=class extends Lu{constructor(){super({name:`EmptyIndexError`,category:`PREVIEW_API`,code:8,message:_o`
87
+ Couldn't find any stories in your Storybook.
88
+
89
+ - Please check your stories field of your main.js config: does it match correctly?
90
+ - Also check the browser console and terminal for error messages.`})}},qu=class extends Lu{constructor(e){super({name:`NoStoryMatchError`,category:`PREVIEW_API`,code:9,message:_o`
91
+ Couldn't find story matching '${e.storySpecifier}'.
92
+
93
+ - Are you sure a story with that id exists?
94
+ - Please check your stories field of your main.js config.
95
+ - Also check the browser console and terminal for error messages.`}),this.data=e}},Ju=class extends Lu{constructor(e){super({name:`MissingStoryFromCsfFileError`,category:`PREVIEW_API`,code:10,message:_o`
96
+ Couldn't find story matching id '${e.storyId}' after importing a CSF file.
97
+
98
+ The file was indexed as if the story was there, but then after importing the file in the browser
99
+ we didn't find the story. Possible reasons:
100
+ - You are using a custom story indexer that is misbehaving.
101
+ - You have a custom file loader that is removing or renaming exports.
102
+
103
+ Please check your browser console and terminal for errors that may explain the issue.`}),this.data=e}},Yu=class extends Lu{constructor(){super({name:`StoryStoreAccessedBeforeInitializationError`,category:`PREVIEW_API`,code:11,message:_o`
104
+ Cannot access the Story Store until the index is ready.
105
+
106
+ It is not recommended to use methods directly on the Story Store anyway, in Storybook 9 we will
107
+ remove access to the store entirely`})}},Xu=class extends Lu{constructor(e){super({name:`MountMustBeDestructuredError`,category:`PREVIEW_API`,code:12,message:_o`
108
+ Incorrect use of mount in the play function.
109
+
110
+ To use mount in the play function, you must satisfy the following two requirements:
111
+
112
+ 1. You *must* destructure the mount property from the \`context\` (the argument passed to your play function).
113
+ This makes sure that Storybook does not start rendering the story before the play function begins.
114
+
115
+ 2. Your Storybook framework or builder must be configured to transpile to ES2017 or newer.
116
+ This is because destructuring statements and async/await usages are otherwise transpiled away,
117
+ which prevents Storybook from recognizing your usage of \`mount\`.
118
+
119
+ Note that Angular is not supported. As async/await is transpiled to support the zone.js polyfill.
120
+
121
+ More info: https://storybook.js.org/docs/writing-tests/interaction-testing?ref=error#run-code-before-the-component-gets-rendered
122
+
123
+ Received the following play function:
124
+ ${e.playFunction}`}),this.data=e}},Zu=class extends Lu{constructor(e){super({name:`NoRenderFunctionError`,category:`PREVIEW_API`,code:14,message:_o`
125
+ No render function available for storyId '${e.id}'
126
+ `}),this.data=e}},Qu=class extends Lu{constructor(){super({name:`NoStoryMountedError`,category:`PREVIEW_API`,code:15,message:_o`
127
+ No component is mounted in your story.
128
+
129
+ This usually occurs when you destructure mount in the play function, but forget to call it.
130
+
131
+ For example:
132
+
133
+ async play({ mount, canvasElement }) {
134
+ // 👈 mount should be called: await mount();
135
+ const canvas = within(canvasElement);
136
+ const button = await canvas.findByRole('button');
137
+ await userEvent.click(button);
138
+ };
139
+
140
+ Make sure to either remove it or call mount in your play function.
141
+ `})}},$u=class extends Lu{constructor(e){super({name:`StatusTypeIdMismatchError`,category:`PREVIEW_API`,code:16,message:`Status has typeId "${e.status.typeId}" but was added to store with typeId "${e.typeId}". Full status: ${JSON.stringify(e.status,null,2)}`}),this.data=e}},ed=class extends Lu{constructor(){super({name:`NextJsSharpError`,category:`FRAMEWORK_NEXTJS`,code:1,documentation:`https://storybook.js.org/docs/get-started/frameworks/nextjs#error-you-are-importing-avif-images-but-you-dont-have-sharp-installed-you-have-to-install-sharp-in-order-to-use-image-optimization-features-in-nextjs`,message:_o`
142
+ You are importing avif images, but you don't have sharp installed.
143
+
144
+ You have to install sharp in order to use image optimization features in Next.js.
145
+ `})}},td=class extends Lu{constructor(e){super({name:`NextjsRouterMocksNotAvailable`,category:`FRAMEWORK_NEXTJS`,code:2,message:_o`
146
+ Tried to access router mocks from "${e.importType}" but they were not created yet. You might be running code in an unsupported environment.
147
+ `}),this.data=e}},nd=class extends Lu{constructor(e){super({name:`UnknownArgTypesError`,category:`DOCS-TOOLS`,code:1,documentation:`https://github.com/storybookjs/storybook/issues/26606`,message:_o`
148
+ There was a failure when generating detailed ArgTypes in ${e.language} for:
149
+ ${JSON.stringify(e.type,null,2)}
150
+
151
+ Storybook will fall back to use a generic type description instead.
152
+
153
+ This type is either not supported or it is a bug in the docgen generation in Storybook.
154
+ If you think this is a bug, please detail it as much as possible in the Github issue.
155
+ `}),this.data=e}},rd=class extends Lu{constructor(e){super({name:`UnsupportedViewportDimensionError`,category:`ADDON_VITEST`,code:1,message:_o`
156
+ Encountered an unsupported value "${e.value}" when setting the viewport ${e.dimension} dimension.
157
+
158
+ The Storybook plugin only supports values in the following units:
159
+ - px, vh, vw, em, rem and %.
160
+
161
+ You can either change the viewport for this story to use one of the supported units or skip the test by adding '!test' to the story's tags per https://storybook.js.org/docs/writing-stories/tags
162
+ `}),this.data=e}},id=class extends Lu{constructor(){super({name:`ElementA11yParameterError`,category:`ADDON_A11Y`,code:1,documentation:`https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#a11y-addon-replace-element-parameter-with-context-parameter`,message:`The "element" parameter in parameters.a11y has been removed. Use "context" instead.`})}},ad={};b(ad,{Addon_TypesEnum:()=>od,CoreWebpackCompiler:()=>ld,Feature:()=>dd,SupportedBuilder:()=>ud,SupportedFramework:()=>sd,SupportedLanguage:()=>fd,SupportedRenderer:()=>cd});var od=(e=>(e.TAB=`tab`,e.PANEL=`panel`,e.TOOL=`tool`,e.TOOLEXTRA=`toolextra`,e.PREVIEW=`preview`,e.experimental_PAGE=`page`,e.experimental_TEST_PROVIDER=`test-provider`,e))(od||{}),sd=(e=>(e.ANGULAR=`angular`,e.EMBER=`ember`,e.HTML_VITE=`html-vite`,e.NEXTJS=`nextjs`,e.NEXTJS_VITE=`nextjs-vite`,e.PREACT_VITE=`preact-vite`,e.REACT_NATIVE_WEB_VITE=`react-native-web-vite`,e.REACT_VITE=`react-vite`,e.REACT_WEBPACK5=`react-webpack5`,e.SERVER_WEBPACK5=`server-webpack5`,e.SVELTE_VITE=`svelte-vite`,e.SVELTEKIT=`sveltekit`,e.VUE3_VITE=`vue3-vite`,e.WEB_COMPONENTS_VITE=`web-components-vite`,e.HTML_RSBUILD=`html-rsbuild`,e.NUXT=`nuxt`,e.QWIK=`qwik`,e.REACT_RSBUILD=`react-rsbuild`,e.SOLID=`solid`,e.VUE3_RSBUILD=`vue3-rsbuild`,e.WEB_COMPONENTS_RSBUILD=`web-components-rsbuild`,e))(sd||{}),cd=(e=>(e.REACT=`react`,e.REACT_NATIVE=`react-native`,e.VUE3=`vue3`,e.ANGULAR=`angular`,e.EMBER=`ember`,e.PREACT=`preact`,e.SVELTE=`svelte`,e.QWIK=`qwik`,e.HTML=`html`,e.WEB_COMPONENTS=`web-components`,e.SERVER=`server`,e.SOLID=`solid`,e.NUXT=`nuxt`,e))(cd||{}),ld=(e=>(e.Babel=`babel`,e.SWC=`swc`,e))(ld||{}),ud=(e=>(e.WEBPACK5=`webpack5`,e.VITE=`vite`,e.RSBUILD=`rsbuild`,e))(ud||{}),dd=(e=>(e.DOCS=`docs`,e.TEST=`test`,e.ONBOARDING=`onboarding`,e.A11Y=`a11y`,e))(dd||{}),fd=(e=>(e.JAVASCRIPT=`javascript`,e.TYPESCRIPT=`typescript`,e))(fd||{}),pd={};b(pd,{ADDON_ID:()=>hd,CLEAR_ID:()=>vd,CYCLIC_KEY:()=>yd,EVENT_ID:()=>_d,PANEL_ID:()=>gd,PARAM_KEY:()=>md,action:()=>hU,actions:()=>gU,config:()=>uU,configureActions:()=>dU});var md=`actions`,hd=`storybook/actions`,gd=`${hd}/panel`,_d=`${hd}/action-event`,vd=`${hd}/action-clear`,yd=`$___storybook.isCyclic`,bd={};b(bd,{DocsContext:()=>fH,HooksContext:()=>Ed,Preview:()=>dH,PreviewWeb:()=>YH,PreviewWithSelection:()=>xH,ReporterAPI:()=>PV,StoryStore:()=>YV,Tag:()=>cf,UrlStore:()=>zH,WebView:()=>JH,addons:()=>Td,applyHooks:()=>Ad,combineArgs:()=>LB,combineParameters:()=>uV,composeConfigs:()=>OV,composeStepRunners:()=>CV,composeStories:()=>WV,composeStory:()=>HV,createPlaywrightTest:()=>GV,decorateStory:()=>sV,defaultDecorateStory:()=>lV,emitTransformCode:()=>lU,filterArgTypes:()=>vV,getCsfFactoryAnnotations:()=>FV,inferControls:()=>bV,makeDecorator:()=>Zd,mockChannel:()=>xd,normalizeArrays:()=>$B,normalizeProjectAnnotations:()=>xV,normalizeStory:()=>tV,pauseAnimations:()=>AV,prepareMeta:()=>fV,prepareStory:()=>dV,sanitizeStoryContextUpdate:()=>cV,setDefaultProjectAnnotations:()=>IV,setProjectAnnotations:()=>BV,simulateDOMContentLoaded:()=>eU,simulatePageLoad:()=>rU,sortStoriesV7:()=>iH,useArgs:()=>Yd,useCallback:()=>Rd,useChannel:()=>Kd,useEffect:()=>Gd,useGlobals:()=>Xd,useMemo:()=>Ld,useParameter:()=>Jd,useReducer:()=>Wd,useRef:()=>Bd,useState:()=>Ud,useStoryContext:()=>qd,userOrAutoTitle:()=>eH,userOrAutoTitleFromSpecifier:()=>$V,waitForAnimations:()=>jV});function xd(){return new To({transport:{setHandler:()=>{},send:()=>{}}})}var Sd=class{constructor(){this.getChannel=()=>{if(!this.channel){let e=xd();return this.setChannel(e),e}return this.channel},this.ready=()=>this.promise,this.hasChannel=()=>!!this.channel,this.setChannel=e=>{this.channel=e,this.resolve()},this.promise=new Promise(e=>{this.resolve=()=>e(this.getChannel())})}},Cd=`__STORYBOOK_ADDONS_PREVIEW`;function wd(){return W[Cd]||(W[Cd]=new Sd),W[Cd]}var Td=wd(),Ed=class{constructor(){this.hookListsMap=void 0,this.mountedDecorators=void 0,this.prevMountedDecorators=void 0,this.currentHooks=void 0,this.nextHookIndex=void 0,this.currentPhase=void 0,this.currentEffects=void 0,this.prevEffects=void 0,this.currentDecoratorName=void 0,this.hasUpdates=void 0,this.currentContext=void 0,this.renderListener=e=>{e===this.currentContext?.id&&(this.triggerEffects(),this.currentContext=null,this.removeRenderListeners())},this.init()}init(){this.hookListsMap=new WeakMap,this.mountedDecorators=new Set,this.prevMountedDecorators=new Set,this.currentHooks=[],this.nextHookIndex=0,this.currentPhase=`NONE`,this.currentEffects=[],this.prevEffects=[],this.currentDecoratorName=null,this.hasUpdates=!1,this.currentContext=null}clean(){this.prevEffects.forEach(e=>{e.destroy&&e.destroy()}),this.init(),this.removeRenderListeners()}getNextHook(){let e=this.currentHooks[this.nextHookIndex];return this.nextHookIndex+=1,e}triggerEffects(){this.prevEffects.forEach(e=>{!this.currentEffects.includes(e)&&e.destroy&&e.destroy()}),this.currentEffects.forEach(e=>{this.prevEffects.includes(e)||(e.destroy=e.create())}),this.prevEffects=this.currentEffects,this.currentEffects=[]}addRenderListeners(){this.removeRenderListeners(),Td.getChannel().on(Ua,this.renderListener)}removeRenderListeners(){Td.getChannel().removeListener(Ua,this.renderListener)}};function Dd(e){let t=(...t)=>{let{hooks:n}=typeof t[0]==`function`?t[1]:t[0],r=n.currentPhase,i=n.currentHooks,a=n.nextHookIndex,o=n.currentDecoratorName;n.currentDecoratorName=e.name,n.prevMountedDecorators.has(e)?(n.currentPhase=`UPDATE`,n.currentHooks=n.hookListsMap.get(e)||[]):(n.currentPhase=`MOUNT`,n.currentHooks=[],n.hookListsMap.set(e,n.currentHooks),n.prevMountedDecorators.add(e)),n.nextHookIndex=0;let s=W.STORYBOOK_HOOKS_CONTEXT;W.STORYBOOK_HOOKS_CONTEXT=n;let c=e(...t);if(W.STORYBOOK_HOOKS_CONTEXT=s,n.currentPhase===`UPDATE`&&n.getNextHook()!=null)throw Error(`Rendered fewer hooks than expected. This may be caused by an accidental early return statement.`);return n.currentPhase=r,n.currentHooks=i,n.nextHookIndex=a,n.currentDecoratorName=o,c};return t.originalFn=e,t}var Od=0,kd=25,Ad=e=>(t,n)=>{let r=e(Dd(t),n.map(e=>Dd(e)));return e=>{let{hooks:i}=e;i.prevMountedDecorators??=new Set,i.mountedDecorators=new Set([t,...n]),i.currentContext=e,i.hasUpdates=!1;let a=r(e);for(Od=1;i.hasUpdates;)if(i.hasUpdates=!1,i.currentEffects=[],a=r(e),Od+=1,Od>kd)throw Error(`Too many re-renders. Storybook limits the number of renders to prevent an infinite loop.`);return i.addRenderListeners(),a}},jd=(e,t)=>e.length===t.length&&e.every((e,n)=>e===t[n]),Md=()=>Error(`Storybook preview hooks can only be called inside decorators and story functions.`);function Nd(){return W.STORYBOOK_HOOKS_CONTEXT||null}function Pd(){let e=Nd();if(e==null)throw Md();return e}function Fd(e,t,n){let r=Pd();if(r.currentPhase===`MOUNT`){n!=null&&!Array.isArray(n)&&Ao.warn(`${e} received a final argument that is not an array (instead, received ${n}). When specified, the final argument must be an array.`);let i={name:e,deps:n};return r.currentHooks.push(i),t(i),i}if(r.currentPhase===`UPDATE`){let i=r.getNextHook();if(i==null)throw Error(`Rendered more hooks than during the previous render.`);return i.name!==e&&Ao.warn(`Storybook has detected a change in the order of Hooks${r.currentDecoratorName?` called by ${r.currentDecoratorName}`:``}. This will lead to bugs and errors if not fixed.`),n!=null&&i.deps==null&&Ao.warn(`${e} received a final argument during this render, but not during the previous render. Even though the final argument is optional, its type cannot change between renders.`),n!=null&&i.deps!=null&&n.length!==i.deps.length&&Ao.warn(`The final argument passed to ${e} changed size between renders. The order and size of this array must remain constant.
163
+ Previous: ${i.deps}
164
+ Incoming: ${n}`),(n==null||i.deps==null||!jd(n,i.deps))&&(t(i),i.deps=n),i}throw Md()}function Id(e,t,n){let{memoizedState:r}=Fd(e,e=>{e.memoizedState=t()},n);return r}function Ld(e,t){return Id(`useMemo`,e,t)}function Rd(e,t){return Id(`useCallback`,()=>e,t)}function zd(e,t){return Id(e,()=>({current:t}),[])}function Bd(e){return zd(`useRef`,e)}function Vd(){let e=Nd();if(e!=null&&e.currentPhase!==`NONE`)e.hasUpdates=!0;else try{Td.getChannel().emit(pa)}catch{Ao.warn(`State updates of Storybook preview hooks work only in browser`)}}function Hd(e,t){let n=zd(e,typeof t==`function`?t():t);return[n.current,e=>{n.current=typeof e==`function`?e(n.current):e,Vd()}]}function Ud(e){return Hd(`useState`,e)}function Wd(e,t,n){let[r,i]=Hd(`useReducer`,n==null?t:()=>n(t));return[r,t=>i(n=>e(n,t))]}function Gd(e,t){let n=Pd(),r=Id(`useEffect`,()=>({create:e}),t);n.currentEffects.includes(r)||n.currentEffects.push(r)}function Kd(e,t=[]){let n=Td.getChannel();return Gd(()=>(Object.entries(e).forEach(([e,t])=>n.on(e,t)),()=>{Object.entries(e).forEach(([e,t])=>n.removeListener(e,t))}),[...Object.keys(e),...t]),Rd(n.emit.bind(n),[n])}function qd(){let{currentContext:e}=Pd();if(e==null)throw Md();return e}function Jd(e,t){let{parameters:n}=qd();if(e)return n[e]??t}function Yd(){let e=Td.getChannel(),{id:t,args:n}=qd();return[n,Rd(n=>e.emit(Za,{storyId:t,updatedArgs:n}),[e,t]),Rd(n=>e.emit(wa,{storyId:t,argNames:n}),[e,t])]}function Xd(){let e=Td.getChannel(),{globals:t}=qd();return[t,Rd(t=>e.emit(Ya,{globals:t}),[e])]}var Zd=({name:e,parameterName:t,wrapper:n,skipIfNoParametersOrOptions:r=!1})=>{let i=e=>(i,a)=>{let o=a.parameters&&a.parameters[t];return o&&o.disable||r&&!e&&!o?i(a):n(i,a,{options:e,parameters:o})};return(...n)=>typeof n[0]==`function`?i()(...n):(...r)=>{if(r.length>1)return n.length>1?i(n)(...r):i(...n)(...r);throw Error(`Passing stories directly into ${e}() is not allowed,
165
+ instead use addDecorator(${e}) and pass options with the '${t}' parameter`)}};function Qd(e){return e.replace(/_/g,` `).replace(/-/g,` `).replace(/\./g,` `).replace(/([^\n])([A-Z])([a-z])/g,(e,t,n,r)=>`${t} ${n}${r}`).replace(/([a-z])([A-Z])/g,(e,t,n)=>`${t} ${n}`).replace(/([a-z])([0-9])/gi,(e,t,n)=>`${t} ${n}`).replace(/([0-9])([a-z])/gi,(e,t,n)=>`${t} ${n}`).replace(/(\s|^)(\w)/g,(e,t,n)=>`${t}${n.toUpperCase()}`).replace(/ +/g,` `).trim()}var $d=S(C(),1),ef=e=>e.map(e=>typeof e<`u`).filter(Boolean).length,tf=(e,t)=>{let{exists:n,eq:r,neq:i,truthy:a}=e;if(ef([n,r,i,a])>1)throw Error(`Invalid conditional test ${JSON.stringify({exists:n,eq:r,neq:i})}`);if(typeof r<`u`)return(0,$d.isEqual)(t,r);if(typeof i<`u`)return!(0,$d.isEqual)(t,i);if(typeof n<`u`){let e=typeof t<`u`;return n?e:!e}return typeof a>`u`||a?!!t:!t},nf=(e,t,n)=>{if(!e.if)return!0;let{arg:r,global:i}=e.if;if(ef([r,i])!==1)throw Error(`Invalid conditional value ${JSON.stringify({arg:r,global:i})}`);let a=r?t[r]:n[i];return tf(e.if,a)};function rf(e){return e!=null&&af(e).includes(`mount`)}function af(e){let[,t,n]=e.toString().match(/[^(]*\(([^)]+)\)(?:.*{([^]+)})?/)||[];if(!t)return[];let[r]=sf(t);if(!r)return[];let[,i]=r.match(/^{([^]+)}$/)||[];if(i)return sf(of(i)).map(e=>e.replace(/:.*|=.*/g,``).trim());if(!r.match(/^[a-z_$][0-9a-z_$]*$/i))return[];let a=r.replace(/[.*+?^${}()|[\]\\]/g,`\\$&`),[,o]=n?.trim()?.match(RegExp(`^(?:const|let|var)\\s*{([^}]+)}\\s*=\\s*${a};`))||[];return o?sf(of(o)).map(e=>e.replace(/:.*|=.*/g,``).trim()):[]}function of(e){return e=e.replace(/\/\/.*$/gm,``),e=e.replace(/\/\*[\s\S]*?\*\//g,``),e}function sf(e){let t=[],n=[],r=0;for(let i=0;i<e.length;i++)if(e[i]===`{`||e[i]===`[`)n.push(e[i]===`{`?`}`:`]`);else if(e[i]===n[n.length-1])n.pop();else if(!n.length&&e[i]===`,`){let n=e.substring(r,i).trim();n&&t.push(n),r=i+1}let i=e.substring(r).trim();return i&&t.push(i),t}var cf={AUTODOCS:`autodocs`,ATTACHED_MDX:`attached-mdx`,UNATTACHED_MDX:`unattached-mdx`,PLAY_FN:`play-fn`,TEST_FN:`test-fn`,DEV:`dev`,TEST:`test`,MANIFEST:`manifest`},lf={};b(lf,{argsEnhancers:()=>df});var uf=(e,t)=>typeof t[e]>`u`&&!(e in t),df=[e=>{let{initialArgs:t,argTypes:n,parameters:{actions:r}}=e;return r?.disable||!n?{}:Object.entries(n).filter(([e,t])=>!!t.action).reduce((e,[n,r])=>(uf(n,t)&&(e[n]=hU(typeof r.action==`string`?r.action:n)),e),{})},e=>{let{initialArgs:t,argTypes:n,id:r,parameters:{actions:i}}=e;if(!i||i.disable||!i.argTypesRegex||!n)return{};let a=new RegExp(i.argTypesRegex);return Object.entries(n).filter(([e])=>!!a.test(e)).reduce((e,[n,i])=>(uf(n,t)&&(e[n]=hU(n,{implicit:!0,id:r})),e),{})}],ff={};b(ff,{loaders:()=>AL});var pf={};b(pf,{buildQueries:()=>sI,clearAllMocks:()=>kE,configure:()=>cI,createEvent:()=>lI,expect:()=>DL,findAllByAltText:()=>dI,findAllByDisplayValue:()=>fI,findAllByLabelText:()=>pI,findAllByPlaceholderText:()=>mI,findAllByRole:()=>hI,findAllByTestId:()=>gI,findAllByText:()=>_I,findAllByTitle:()=>vI,findByAltText:()=>yI,findByDisplayValue:()=>bI,findByLabelText:()=>xI,findByPlaceholderText:()=>SI,findByRole:()=>CI,findByTestId:()=>wI,findByText:()=>TI,findByTitle:()=>EI,fireEvent:()=>uI,fn:()=>EE,getAllByAltText:()=>DI,getAllByDisplayValue:()=>OI,getAllByLabelText:()=>kI,getAllByPlaceholderText:()=>AI,getAllByRole:()=>jI,getAllByTestId:()=>MI,getAllByText:()=>NI,getAllByTitle:()=>PI,getByAltText:()=>FI,getByDisplayValue:()=>II,getByLabelText:()=>LI,getByPlaceholderText:()=>RI,getByRole:()=>zI,getByTestId:()=>BI,getByText:()=>VI,getByTitle:()=>HI,getConfig:()=>UI,getDefaultNormalizer:()=>WI,getElementError:()=>GI,getNodeText:()=>KI,getQueriesForElement:()=>qI,getRoles:()=>JI,getSuggestedQuery:()=>YI,isInaccessible:()=>XI,isMockFunction:()=>Hw,logDOM:()=>ZI,logRoles:()=>QI,mocked:()=>ME,mocks:()=>Vw,onMockCall:()=>wE,prettyDOM:()=>$I,prettyFormat:()=>wL,queries:()=>eL,queryAllByAltText:()=>tL,queryAllByAttribute:()=>nL,queryAllByDisplayValue:()=>rL,queryAllByLabelText:()=>iL,queryAllByPlaceholderText:()=>aL,queryAllByRole:()=>oL,queryAllByTestId:()=>sL,queryAllByText:()=>cL,queryAllByTitle:()=>lL,queryByAltText:()=>uL,queryByAttribute:()=>dL,queryByDisplayValue:()=>fL,queryByLabelText:()=>pL,queryByPlaceholderText:()=>mL,queryByRole:()=>hL,queryByTestId:()=>gL,queryByText:()=>_L,queryByTitle:()=>vL,queryHelpers:()=>yL,resetAllMocks:()=>AE,restoreAllMocks:()=>jE,sb:()=>OL,screen:()=>bL,spyOn:()=>TE,uninstrumentedUserEvent:()=>TL,userEvent:()=>EL,waitFor:()=>xL,waitForElementToBeRemoved:()=>SL,within:()=>CL});var mf=Object.entries({reset:[0,0],bold:[1,22,`\x1B[22m\x1B[1m`],dim:[2,22,`\x1B[22m\x1B[2m`],italic:[3,23],underline:[4,24],inverse:[7,27],hidden:[8,28],strikethrough:[9,29],black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],gray:[90,39],bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],blackBright:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39],bgBlackBright:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]});function hf(e){return String(e)}hf.open=``,hf.close=``,mf.reduce((e,[t])=>(e[t]=hf,e),{isColorSupported:!1});function gf(e=!1){let t=typeof process<`u`?process:void 0,n=t?.env||{},r=t?.argv||[];return!(`NO_COLOR`in n||r.includes(`--no-color`))&&(`FORCE_COLOR`in n||r.includes(`--color`)||t?.platform===`win32`||e&&n.TERM!==`dumb`||`CI`in n)||typeof window<`u`&&!!window.chrome}function _f(e=!1){let t=gf(e),n=(e,t,n,r)=>{let i=``,a=0;do i+=e.substring(a,r)+n,a=r+t.length,r=e.indexOf(t,a);while(~r);return i+e.substring(a)},r=(e,t,r=e)=>{let i=i=>{let a=String(i),o=a.indexOf(t,e.length);return~o?e+n(a,t,r,o)+t:e+a+t};return i.open=e,i.close=t,i},i={isColorSupported:t},a=e=>`\x1B[${e}m`;for(let[e,n]of mf)i[e]=t?r(a(n[0]),a(n[1]),n[2]):hf;return i}var vf=_f();function yf(e,t){return t.forEach(function(t){t&&typeof t!=`string`&&!Array.isArray(t)&&Object.keys(t).forEach(function(n){if(n!==`default`&&!(n in e)){var r=Object.getOwnPropertyDescriptor(t,n);Object.defineProperty(e,n,r.get?r:{enumerable:!0,get:function(){return t[n]}})}})}),Object.freeze(e)}function bf(e,t){let n=Object.keys(e),r=t===null?n:n.sort(t);if(Object.getOwnPropertySymbols)for(let t of Object.getOwnPropertySymbols(e))Object.getOwnPropertyDescriptor(e,t).enumerable&&r.push(t);return r}function xf(e,t,n,r,i,a,o=`: `){let s=``,c=0,l=e.next();if(!l.done){s+=t.spacingOuter;let u=n+t.indent;for(;!l.done;){if(s+=u,c++===t.maxWidth){s+=`…`;break}let n=a(l.value[0],t,u,r,i),d=a(l.value[1],t,u,r,i);s+=n+o+d,l=e.next(),l.done?t.min||(s+=`,`):s+=`,${t.spacingInner}`}s+=t.spacingOuter+n}return s}function Sf(e,t,n,r,i,a){let o=``,s=0,c=e.next();if(!c.done){o+=t.spacingOuter;let l=n+t.indent;for(;!c.done;){if(o+=l,s++===t.maxWidth){o+=`…`;break}o+=a(c.value,t,l,r,i),c=e.next(),c.done?t.min||(o+=`,`):o+=`,${t.spacingInner}`}o+=t.spacingOuter+n}return o}function Cf(e,t,n,r,i,a){let o=``;e=e instanceof ArrayBuffer?new DataView(e):e;let s=e=>e instanceof DataView,c=s(e)?e.byteLength:e.length;if(c>0){o+=t.spacingOuter;let l=n+t.indent;for(let n=0;n<c;n++){if(o+=l,n===t.maxWidth){o+=`…`;break}(s(e)||n in e)&&(o+=a(s(e)?e.getInt8(n):e[n],t,l,r,i)),n<c-1?o+=`,${t.spacingInner}`:t.min||(o+=`,`)}o+=t.spacingOuter+n}return o}function wf(e,t,n,r,i,a){let o=``,s=bf(e,t.compareKeys);if(s.length>0){o+=t.spacingOuter;let c=n+t.indent;for(let n=0;n<s.length;n++){let l=s[n],u=a(l,t,c,r,i),d=a(e[l],t,c,r,i);o+=`${c+u}: ${d}`,n<s.length-1?o+=`,${t.spacingInner}`:t.min||(o+=`,`)}o+=t.spacingOuter+n}return o}var Tf=typeof Symbol==`function`&&Symbol.for?Symbol.for(`jest.asymmetricMatcher`):1267621,Ef=` `,Df={serialize:(e,t,n,r,i,a)=>{let o=e.toString();if(o===`ArrayContaining`||o===`ArrayNotContaining`)return++r>t.maxDepth?`[${o}]`:`${o+Ef}[${Cf(e.sample,t,n,r,i,a)}]`;if(o===`ObjectContaining`||o===`ObjectNotContaining`)return++r>t.maxDepth?`[${o}]`:`${o+Ef}{${wf(e.sample,t,n,r,i,a)}}`;if(o===`StringMatching`||o===`StringNotMatching`||o===`StringContaining`||o===`StringNotContaining`)return o+Ef+a(e.sample,t,n,r,i);if(typeof e.toAsymmetricMatcher!=`function`)throw TypeError(`Asymmetric matcher ${e.constructor.name} does not implement toAsymmetricMatcher()`);return e.toAsymmetricMatcher()},test:e=>e&&e.$$typeof===Tf},Of=` `,kf=new Set([`DOMStringMap`,`NamedNodeMap`]),Af=/^(?:HTML\w*Collection|NodeList)$/;function jf(e){return kf.has(e)||Af.test(e)}var Mf=e=>e&&e.constructor&&!!e.constructor.name&&jf(e.constructor.name);function Nf(e){return e.constructor.name===`NamedNodeMap`}var Pf={serialize:(e,t,n,r,i,a)=>{let o=e.constructor.name;return++r>t.maxDepth?`[${o}]`:(t.min?``:o+Of)+(kf.has(o)?`{${wf(Nf(e)?[...e].reduce((e,t)=>(e[t.name]=t.value,e),{}):{...e},t,n,r,i,a)}}`:`[${Cf([...e],t,n,r,i,a)}]`)},test:Mf};function Ff(e){return e.replaceAll(`<`,`&lt;`).replaceAll(`>`,`&gt;`)}function If(e,t,n,r,i,a,o){let s=r+n.indent,c=n.colors;return e.map(e=>{let l=t[e],u=o(l,n,s,i,a);return typeof l!=`string`&&(u.includes(`
166
+ `)&&(u=n.spacingOuter+s+u+n.spacingOuter+r),u=`{${u}}`),`${n.spacingInner+r+c.prop.open+e+c.prop.close}=${c.value.open}${u}${c.value.close}`}).join(``)}function Lf(e,t,n,r,i,a){return e.map(e=>t.spacingOuter+n+(typeof e==`string`?Rf(e,t):a(e,t,n,r,i))).join(``)}function Rf(e,t){let n=t.colors.content;return n.open+Ff(e)+n.close}function zf(e,t){let n=t.colors.comment;return`${n.open}<!--${Ff(e)}-->${n.close}`}function Bf(e,t,n,r,i){let a=r.colors.tag;return`${a.open}<${e}${t&&a.close+t+r.spacingOuter+i+a.open}${n?`>${a.close}${n}${r.spacingOuter}${i}${a.open}</${e}`:`${t&&!r.min?``:` `}/`}>${a.close}`}function Vf(e,t){let n=t.colors.tag;return`${n.open}<${e}${n.close} \u2026${n.open} />${n.close}`}var Hf=1,Uf=3,Wf=8,Gf=11,Kf=/^(?:(?:HTML|SVG)\w*)?Element$/;function qf(e){try{return typeof e.hasAttribute==`function`&&e.hasAttribute(`is`)}catch{return!1}}function Jf(e){let t=e.constructor.name,{nodeType:n,tagName:r}=e,i=typeof r==`string`&&r.includes(`-`)||qf(e);return n===Hf&&(Kf.test(t)||i)||n===Uf&&t===`Text`||n===Wf&&t===`Comment`||n===Gf&&t===`DocumentFragment`}var Yf=e=>{var t;return(e==null||(t=e.constructor)==null?void 0:t.name)&&Jf(e)};function Xf(e){return e.nodeType===Uf}function Zf(e){return e.nodeType===Wf}function Qf(e){return e.nodeType===Gf}var $f={serialize:(e,t,n,r,i,a)=>{if(Xf(e))return Rf(e.data,t);if(Zf(e))return zf(e.data,t);let o=Qf(e)?`DocumentFragment`:e.tagName.toLowerCase();return++r>t.maxDepth?Vf(o,t):Bf(o,If(Qf(e)?[]:Array.from(e.attributes,e=>e.name).sort(),Qf(e)?{}:[...e.attributes].reduce((e,t)=>(e[t.name]=t.value,e),{}),t,n+t.indent,r,i,a),Lf(Array.prototype.slice.call(e.childNodes||e.children),t,n+t.indent,r,i,a),t,n)},test:Yf},ep=`@@__IMMUTABLE_ITERABLE__@@`,tp=`@@__IMMUTABLE_LIST__@@`,np=`@@__IMMUTABLE_KEYED__@@`,rp=`@@__IMMUTABLE_MAP__@@`,ip=`@@__IMMUTABLE_ORDERED__@@`,ap=`@@__IMMUTABLE_RECORD__@@`,op=`@@__IMMUTABLE_SEQ__@@`,sp=`@@__IMMUTABLE_SET__@@`,cp=`@@__IMMUTABLE_STACK__@@`,lp=e=>`Immutable.${e}`,up=e=>`[${e}]`,dp=` `,fp=`…`;function pp(e,t,n,r,i,a,o){return++r>t.maxDepth?up(lp(o)):`${lp(o)+dp}{${xf(e.entries(),t,n,r,i,a)}}`}function mp(e){let t=0;return{next(){if(t<e._keys.length){let n=e._keys[t++];return{done:!1,value:[n,e.get(n)]}}return{done:!0,value:void 0}}}}function hp(e,t,n,r,i,a){let o=lp(e._name||`Record`);return++r>t.maxDepth?up(o):`${o+dp}{${xf(mp(e),t,n,r,i,a)}}`}function gp(e,t,n,r,i,a){let o=lp(`Seq`);return++r>t.maxDepth?up(o):e[np]?`${o+dp}{${e._iter||e._object?xf(e.entries(),t,n,r,i,a):fp}}`:`${o+dp}[${e._iter||e._array||e._collection||e._iterable?Sf(e.values(),t,n,r,i,a):fp}]`}function _p(e,t,n,r,i,a,o){return++r>t.maxDepth?up(lp(o)):`${lp(o)+dp}[${Sf(e.values(),t,n,r,i,a)}]`}var vp={serialize:(e,t,n,r,i,a)=>e[rp]?pp(e,t,n,r,i,a,e[ip]?`OrderedMap`:`Map`):e[tp]?_p(e,t,n,r,i,a,`List`):e[sp]?_p(e,t,n,r,i,a,e[ip]?`OrderedSet`:`Set`):e[cp]?_p(e,t,n,r,i,a,`Stack`):e[op]?gp(e,t,n,r,i,a):hp(e,t,n,r,i,a),test:e=>e&&(e[ep]===!0||e[ap]===!0)};function yp(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,`default`)?e.default:e}var bp={exports:{}},xp={},Sp;function Cp(){if(Sp)return xp;Sp=1;var e=Symbol.for(`react.transitional.element`),t=Symbol.for(`react.portal`),n=Symbol.for(`react.fragment`),r=Symbol.for(`react.strict_mode`),i=Symbol.for(`react.profiler`),a=Symbol.for(`react.consumer`),o=Symbol.for(`react.context`),s=Symbol.for(`react.forward_ref`),c=Symbol.for(`react.suspense`),l=Symbol.for(`react.suspense_list`),u=Symbol.for(`react.memo`),d=Symbol.for(`react.lazy`),f=Symbol.for(`react.view_transition`),p=Symbol.for(`react.client.reference`);function m(p){if(typeof p==`object`&&p){var m=p.$$typeof;switch(m){case e:switch(p=p.type,p){case n:case i:case r:case c:case l:case f:return p;default:switch(p&&=p.$$typeof,p){case o:case s:case d:case u:return p;case a:return p;default:return m}}case t:return m}}}return xp.ContextConsumer=a,xp.ContextProvider=o,xp.Element=e,xp.ForwardRef=s,xp.Fragment=n,xp.Lazy=d,xp.Memo=u,xp.Portal=t,xp.Profiler=i,xp.StrictMode=r,xp.Suspense=c,xp.SuspenseList=l,xp.isContextConsumer=function(e){return m(e)===a},xp.isContextProvider=function(e){return m(e)===o},xp.isElement=function(t){return typeof t==`object`&&!!t&&t.$$typeof===e},xp.isForwardRef=function(e){return m(e)===s},xp.isFragment=function(e){return m(e)===n},xp.isLazy=function(e){return m(e)===d},xp.isMemo=function(e){return m(e)===u},xp.isPortal=function(e){return m(e)===t},xp.isProfiler=function(e){return m(e)===i},xp.isStrictMode=function(e){return m(e)===r},xp.isSuspense=function(e){return m(e)===c},xp.isSuspenseList=function(e){return m(e)===l},xp.isValidElementType=function(e){return typeof e==`string`||typeof e==`function`||e===n||e===i||e===r||e===c||e===l||typeof e==`object`&&!!e&&(e.$$typeof===d||e.$$typeof===u||e.$$typeof===o||e.$$typeof===a||e.$$typeof===s||e.$$typeof===p||e.getModuleId!==void 0)},xp.typeOf=m,xp}var wp;function Tp(){return wp||(wp=1,bp.exports=Cp()),bp.exports}var Ep=Tp(),Dp=yf({__proto__:null,default:yp(Ep)},[Ep]),Op={exports:{}},kp={},Ap;function jp(){if(Ap)return kp;Ap=1;var e=Symbol.for(`react.element`),t=Symbol.for(`react.portal`),n=Symbol.for(`react.fragment`),r=Symbol.for(`react.strict_mode`),i=Symbol.for(`react.profiler`),a=Symbol.for(`react.provider`),o=Symbol.for(`react.context`),s=Symbol.for(`react.server_context`),c=Symbol.for(`react.forward_ref`),l=Symbol.for(`react.suspense`),u=Symbol.for(`react.suspense_list`),d=Symbol.for(`react.memo`),f=Symbol.for(`react.lazy`),p=Symbol.for(`react.offscreen`),m=Symbol.for(`react.module.reference`);function h(p){if(typeof p==`object`&&p){var m=p.$$typeof;switch(m){case e:switch(p=p.type,p){case n:case i:case r:case l:case u:return p;default:switch(p&&=p.$$typeof,p){case s:case o:case c:case f:case d:case a:return p;default:return m}}case t:return m}}}return kp.ContextConsumer=o,kp.ContextProvider=a,kp.Element=e,kp.ForwardRef=c,kp.Fragment=n,kp.Lazy=f,kp.Memo=d,kp.Portal=t,kp.Profiler=i,kp.StrictMode=r,kp.Suspense=l,kp.SuspenseList=u,kp.isAsyncMode=function(){return!1},kp.isConcurrentMode=function(){return!1},kp.isContextConsumer=function(e){return h(e)===o},kp.isContextProvider=function(e){return h(e)===a},kp.isElement=function(t){return typeof t==`object`&&!!t&&t.$$typeof===e},kp.isForwardRef=function(e){return h(e)===c},kp.isFragment=function(e){return h(e)===n},kp.isLazy=function(e){return h(e)===f},kp.isMemo=function(e){return h(e)===d},kp.isPortal=function(e){return h(e)===t},kp.isProfiler=function(e){return h(e)===i},kp.isStrictMode=function(e){return h(e)===r},kp.isSuspense=function(e){return h(e)===l},kp.isSuspenseList=function(e){return h(e)===u},kp.isValidElementType=function(e){return typeof e==`string`||typeof e==`function`||e===n||e===i||e===r||e===l||e===u||e===p||typeof e==`object`&&!!e&&(e.$$typeof===f||e.$$typeof===d||e.$$typeof===a||e.$$typeof===o||e.$$typeof===c||e.$$typeof===m||e.getModuleId!==void 0)},kp.typeOf=h,kp}var Mp;function Np(){return Mp||(Mp=1,Op.exports=jp()),Op.exports}var Pp=Np(),Fp=yf({__proto__:null,default:yp(Pp)},[Pp]),Ip=Object.fromEntries([`isAsyncMode`,`isConcurrentMode`,`isContextConsumer`,`isContextProvider`,`isElement`,`isForwardRef`,`isFragment`,`isLazy`,`isMemo`,`isPortal`,`isProfiler`,`isStrictMode`,`isSuspense`,`isSuspenseList`,`isValidElementType`].map(e=>[e,t=>Fp[e](t)||Dp[e](t)]));function Lp(e,t=[]){if(Array.isArray(e))for(let n of e)Lp(n,t);else e!=null&&e!==!1&&e!==``&&t.push(e);return t}function Rp(e){let t=e.type;if(typeof t==`string`)return t;if(typeof t==`function`)return t.displayName||t.name||`Unknown`;if(Ip.isFragment(e))return`React.Fragment`;if(Ip.isSuspense(e))return`React.Suspense`;if(typeof t==`object`&&t){if(Ip.isContextProvider(e))return`Context.Provider`;if(Ip.isContextConsumer(e))return`Context.Consumer`;if(Ip.isForwardRef(e)){if(t.displayName)return t.displayName;let e=t.render.displayName||t.render.name||``;return e===``?`ForwardRef`:`ForwardRef(${e})`}if(Ip.isMemo(e)){let e=t.displayName||t.type.displayName||t.type.name||``;return e===``?`Memo`:`Memo(${e})`}}return`UNDEFINED`}function zp(e){let{props:t}=e;return Object.keys(t).filter(e=>e!==`children`&&t[e]!==void 0).sort()}var Bp={serialize:(e,t,n,r,i,a)=>++r>t.maxDepth?Vf(Rp(e),t):Bf(Rp(e),If(zp(e),e.props,t,n+t.indent,r,i,a),Lf(Lp(e.props.children),t,n+t.indent,r,i,a),t,n),test:e=>e!=null&&Ip.isElement(e)},Vp=typeof Symbol==`function`&&Symbol.for?Symbol.for(`react.test.json`):245830487;function Hp(e){let{props:t}=e;return t?Object.keys(t).filter(e=>t[e]!==void 0).sort():[]}var Up={serialize:(e,t,n,r,i,a)=>++r>t.maxDepth?Vf(e.type,t):Bf(e.type,e.props?If(Hp(e),e.props,t,n+t.indent,r,i,a):``,e.children?Lf(e.children,t,n+t.indent,r,i,a):``,t,n),test:e=>e&&e.$$typeof===Vp},Wp=Object.prototype.toString,Gp=Date.prototype.toISOString,Kp=Error.prototype.toString,qp=RegExp.prototype.toString;function Jp(e){return typeof e.constructor==`function`&&e.constructor.name||`Object`}function Yp(e){return typeof window<`u`&&e===window}var Xp=/^Symbol\((.*)\)(.*)$/,Zp=/\n/g,Qp=class extends Error{constructor(e,t){super(e),this.stack=t,this.name=this.constructor.name}};function $p(e){return e===`[object Array]`||e===`[object ArrayBuffer]`||e===`[object DataView]`||e===`[object Float32Array]`||e===`[object Float64Array]`||e===`[object Int8Array]`||e===`[object Int16Array]`||e===`[object Int32Array]`||e===`[object Uint8Array]`||e===`[object Uint8ClampedArray]`||e===`[object Uint16Array]`||e===`[object Uint32Array]`}function em(e){return Object.is(e,-0)?`-0`:String(e)}function tm(e){return`${e}n`}function nm(e,t){return t?`[Function ${e.name||`anonymous`}]`:`[Function]`}function rm(e){return String(e).replace(Xp,`Symbol($1)`)}function im(e){return`[${Kp.call(e)}]`}function am(e,t,n,r){if(e===!0||e===!1)return`${e}`;if(e===void 0)return`undefined`;if(e===null)return`null`;let i=typeof e;if(i===`number`)return em(e);if(i===`bigint`)return tm(e);if(i===`string`)return r?`"${e.replaceAll(/"|\\/g,`\\$&`)}"`:`"${e}"`;if(i===`function`)return nm(e,t);if(i===`symbol`)return rm(e);let a=Wp.call(e);return a===`[object WeakMap]`?`WeakMap {}`:a===`[object WeakSet]`?`WeakSet {}`:a===`[object Function]`||a===`[object GeneratorFunction]`?nm(e,t):a===`[object Symbol]`?rm(e):a===`[object Date]`?Number.isNaN(+e)?`Date { NaN }`:Gp.call(e):a===`[object Error]`?im(e):a===`[object RegExp]`?n?qp.call(e).replaceAll(/[$()*+.?[\\\]^{|}]/g,`\\$&`):qp.call(e):e instanceof Error?im(e):null}function om(e,t,n,r,i,a){if(i.includes(e))return`[Circular]`;i=[...i],i.push(e);let o=++r>t.maxDepth,s=t.min;if(t.callToJSON&&!o&&e.toJSON&&typeof e.toJSON==`function`&&!a)return dm(e.toJSON(),t,n,r,i,!0);let c=Wp.call(e);return c===`[object Arguments]`?o?`[Arguments]`:`${s?``:`Arguments `}[${Cf(e,t,n,r,i,dm)}]`:$p(c)?o?`[${e.constructor.name}]`:`${s||!t.printBasicPrototype&&e.constructor.name===`Array`?``:`${e.constructor.name} `}[${Cf(e,t,n,r,i,dm)}]`:c===`[object Map]`?o?`[Map]`:`Map {${xf(e.entries(),t,n,r,i,dm,` => `)}}`:c===`[object Set]`?o?`[Set]`:`Set {${Sf(e.values(),t,n,r,i,dm)}}`:o||Yp(e)?`[${Jp(e)}]`:`${s||!t.printBasicPrototype&&Jp(e)===`Object`?``:`${Jp(e)} `}{${wf(e,t,n,r,i,dm)}}`}var sm={test:e=>e&&e instanceof Error,serialize(e,t,n,r,i,a){if(i.includes(e))return`[Circular]`;i=[...i,e];let o=++r>t.maxDepth,{message:s,cause:c,...l}=e,u={message:s,...typeof c<`u`?{cause:c}:{},...e instanceof AggregateError?{errors:e.errors}:{},...l},d=e.name===`Error`?Jp(e):e.name;return o?`[${d}]`:`${d} {${xf(Object.entries(u).values(),t,n,r,i,a)}}`}};function cm(e){return e.serialize!=null}function lm(e,t,n,r,i,a){let o;try{o=cm(e)?e.serialize(t,n,r,i,a,dm):e.print(t,e=>dm(e,n,r,i,a),e=>{let t=r+n.indent;return t+e.replaceAll(Zp,`
167
+ ${t}`)},{edgeSpacing:n.spacingOuter,min:n.min,spacing:n.spacingInner},n.colors)}catch(e){throw new Qp(e.message,e.stack)}if(typeof o!=`string`)throw TypeError(`pretty-format: Plugin must return type "string" but instead returned "${typeof o}".`);return o}function um(e,t){for(let n of e)try{if(n.test(t))return n}catch(e){throw new Qp(e.message,e.stack)}return null}function dm(e,t,n,r,i,a){let o=um(t.plugins,e);if(o!==null)return lm(o,e,t,n,r,i);let s=am(e,t.printFunctionName,t.escapeRegex,t.escapeString);return s===null?om(e,t,n,r,i,a):s}var fm={comment:`gray`,content:`reset`,prop:`yellow`,tag:`cyan`,value:`green`},pm=Object.keys(fm),mm={callToJSON:!0,compareKeys:void 0,escapeRegex:!1,escapeString:!0,highlight:!1,indent:2,maxDepth:1/0,maxWidth:1/0,min:!1,plugins:[],printBasicPrototype:!0,printFunctionName:!0,theme:fm};function hm(e){for(let t of Object.keys(e))if(!Object.prototype.hasOwnProperty.call(mm,t))throw Error(`pretty-format: Unknown option "${t}".`);if(e.min&&e.indent!==void 0&&e.indent!==0)throw Error(`pretty-format: Options "min" and "indent" cannot be used together.`)}function gm(){return pm.reduce((e,t)=>{let n=fm[t],r=n&&vf[n];if(r&&typeof r.close==`string`&&typeof r.open==`string`)e[t]=r;else throw Error(`pretty-format: Option "theme" has a key "${t}" whose value "${n}" is undefined in ansi-styles.`);return e},Object.create(null))}function _m(){return pm.reduce((e,t)=>(e[t]={close:``,open:``},e),Object.create(null))}function vm(e){return e?.printFunctionName??mm.printFunctionName}function ym(e){return e?.escapeRegex??mm.escapeRegex}function bm(e){return e?.escapeString??mm.escapeString}function xm(e){return{callToJSON:e?.callToJSON??mm.callToJSON,colors:e?.highlight?gm():_m(),compareKeys:typeof e?.compareKeys==`function`||e?.compareKeys===null?e.compareKeys:mm.compareKeys,escapeRegex:ym(e),escapeString:bm(e),indent:e?.min?``:Sm(e?.indent??mm.indent),maxDepth:e?.maxDepth??mm.maxDepth,maxWidth:e?.maxWidth??mm.maxWidth,min:e?.min??mm.min,plugins:e?.plugins??mm.plugins,printBasicPrototype:e?.printBasicPrototype??!0,printFunctionName:vm(e),spacingInner:e?.min?` `:`
168
+ `,spacingOuter:e?.min?``:`
169
+ `}}function Sm(e){return Array.from({length:e+1}).join(` `)}function Cm(e,t){if(t&&(hm(t),t.plugins)){let n=um(t.plugins,e);if(n!==null)return lm(n,e,xm(t),``,0,[])}let n=am(e,vm(t),ym(t),bm(t));return n===null?om(e,xm(t),``,0,[]):n}var wm={AsymmetricMatcher:Df,DOMCollection:Pf,DOMElement:$f,Immutable:vp,ReactElement:Bp,ReactTestComponent:Up,Error:sm},Tm={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`]},Em={special:`cyan`,number:`yellow`,bigint:`yellow`,boolean:`yellow`,undefined:`grey`,null:`bold`,string:`green`,symbol:`green`,date:`magenta`,regexp:`red`},Dm=`…`;function Om(e,t){let n=Tm[Em[t]]||Tm[t]||``;return n?`\x1B[${n[0]}m${String(e)}\x1B[${n[1]}m`:String(e)}function km({showHidden:e=!1,depth:t=2,colors:n=!1,customInspect:r=!0,showProxy:i=!1,maxArrayLength:a=1/0,breakLength:o=1/0,seen:s=[],truncate:c=1/0,stylize:l=String}={},u){let d={showHidden:!!e,depth:Number(t),colors:!!n,customInspect:!!r,showProxy:!!i,maxArrayLength:Number(a),breakLength:Number(o),truncate:Number(c),seen:s,inspect:u,stylize:l};return d.colors&&(d.stylize=Om),d}function Am(e){return e>=`\ud800`&&e<=`\udbff`}function jm(e,t,n=Dm){e=String(e);let r=n.length,i=e.length;if(r>t&&i>r)return n;if(i>t&&i>r){let i=t-r;return i>0&&Am(e[i-1])&&--i,`${e.slice(0,i)}${n}`}return e}function Mm(e,t,n,r=`, `){n||=t.inspect;let i=e.length;if(i===0)return``;let a=t.truncate,o=``,s=``,c=``;for(let l=0;l<i;l+=1){let i=l+1===e.length,u=l+2===e.length;c=`${Dm}(${e.length-l})`;let d=e[l];t.truncate=a-o.length-(i?0:r.length);let f=s||n(d,t)+(i?``:r),p=o.length+f.length,m=p+c.length;if(i&&p>a&&o.length+c.length<=a||!i&&!u&&m>a||(s=i?``:n(e[l+1],t)+(u?``:r),!i&&u&&m>a&&p+s.length>a))break;if(o+=f,!i&&!u&&p+s.length>=a){c=`${Dm}(${e.length-l-1})`;break}c=``}return`${o}${c}`}function Nm(e){return e.match(/^[a-zA-Z_][a-zA-Z_0-9]*$/)?e:JSON.stringify(e).replace(/'/g,`\\'`).replace(/\\"/g,`"`).replace(/(^"|"$)/g,`'`)}function Pm([e,t],n){return n.truncate-=2,typeof e==`string`?e=Nm(e):typeof e!=`number`&&(e=`[${n.inspect(e,n)}]`),n.truncate-=e.length,t=n.inspect(t,n),`${e}: ${t}`}function Fm(e,t){let n=Object.keys(e).slice(e.length);if(!e.length&&!n.length)return`[]`;t.truncate-=4;let r=Mm(e,t);t.truncate-=r.length;let i=``;return n.length&&(i=Mm(n.map(t=>[t,e[t]]),t,Pm)),`[ ${r}${i?`, ${i}`:``} ]`}var Im=e=>typeof Buffer==`function`&&e instanceof Buffer?`Buffer`:e[Symbol.toStringTag]?e[Symbol.toStringTag]:e.constructor.name;function Lm(e,t){let n=Im(e);t.truncate-=n.length+4;let r=Object.keys(e).slice(e.length);if(!e.length&&!r.length)return`${n}[]`;let i=``;for(let n=0;n<e.length;n++){let r=`${t.stylize(jm(e[n],t.truncate),`number`)}${n===e.length-1?``:`, `}`;if(t.truncate-=r.length,e[n]!==e.length&&t.truncate<=3){i+=`${Dm}(${e.length-e[n]+1})`;break}i+=r}let a=``;return r.length&&(a=Mm(r.map(t=>[t,e[t]]),t,Pm)),`${n}[ ${i}${a?`, ${a}`:``} ]`}function Rm(e,t){let n=e.toJSON();if(n===null)return`Invalid Date`;let r=n.split(`T`),i=r[0];return t.stylize(`${i}T${jm(r[1],t.truncate-i.length-1)}`,`date`)}function zm(e,t){let n=e[Symbol.toStringTag]||`Function`,r=e.name;return r?t.stylize(`[${n} ${jm(r,t.truncate-11)}]`,`special`):t.stylize(`[${n}]`,`special`)}function Bm([e,t],n){return n.truncate-=4,e=n.inspect(e,n),n.truncate-=e.length,t=n.inspect(t,n),`${e} => ${t}`}function Vm(e){let t=[];return e.forEach((e,n)=>{t.push([n,e])}),t}function Hm(e,t){return e.size===0?`Map{}`:(t.truncate-=7,`Map{ ${Mm(Vm(e),t,Bm)} }`)}var Um=Number.isNaN||(e=>e!==e);function Wm(e,t){return Um(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(jm(String(e),t.truncate),`number`)}function Gm(e,t){let n=jm(e.toString(),t.truncate-1);return n!==Dm&&(n+=`n`),t.stylize(n,`bigint`)}function Km(e,t){let n=e.toString().split(`/`)[2],r=t.truncate-(2+n.length),i=e.source;return t.stylize(`/${jm(i,r)}/${n}`,`regexp`)}function qm(e){let t=[];return e.forEach(e=>{t.push(e)}),t}function Jm(e,t){return e.size===0?`Set{}`:(t.truncate-=7,`Set{ ${Mm(qm(e),t)} }`)}var Ym=RegExp(`['\\u0000-\\u001f\\u007f-\\u009f\\u00ad\\u0600-\\u0604\\u070f\\u17b4\\u17b5\\u200c-\\u200f\\u2028-\\u202f\\u2060-\\u206f\\ufeff\\ufff0-\\uffff]`,`g`),Xm={"\b":`\\b`," ":`\\t`,"\n":`\\n`,"\f":`\\f`,"\r":`\\r`,"'":`\\'`,"\\":`\\\\`},Zm=16,Qm=4;function $m(e){return Xm[e]||`\\u${`0000${e.charCodeAt(0).toString(Zm)}`.slice(-Qm)}`}function eh(e,t){return Ym.test(e)&&(e=e.replace(Ym,$m)),t.stylize(`'${jm(e,t.truncate-2)}'`,`string`)}function th(e){return`description`in Symbol.prototype?e.description?`Symbol(${e.description})`:`Symbol()`:e.toString()}var nh=()=>`Promise{…}`;try{let{getPromiseDetails:e,kPending:t,kRejected:n}=process.binding(`util`);Array.isArray(e(Promise.resolve()))&&(nh=(r,i)=>{let[a,o]=e(r);return a===t?`Promise{<pending>}`:`Promise${a===n?`!`:``}{${i.inspect(o,i)}}`})}catch{}var rh=nh;function ih(e,t){let n=Object.getOwnPropertyNames(e),r=Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e):[];if(n.length===0&&r.length===0)return`{}`;if(t.truncate-=4,t.seen=t.seen||[],t.seen.includes(e))return`[Circular]`;t.seen.push(e);let i=Mm(n.map(t=>[t,e[t]]),t,Pm),a=Mm(r.map(t=>[t,e[t]]),t,Pm);t.seen.pop();let o=``;return i&&a&&(o=`, `),`{ ${i}${o}${a} }`}var ah=typeof Symbol<`u`&&Symbol.toStringTag?Symbol.toStringTag:!1;function oh(e,t){let n=``;return ah&&ah in e&&(n=e[ah]),n||=e.constructor.name,(!n||n===`_class`)&&(n=`<Anonymous Class>`),t.truncate-=n.length,`${n}${ih(e,t)}`}function sh(e,t){return e.length===0?`Arguments[]`:(t.truncate-=13,`Arguments[ ${Mm(e,t)} ]`)}var ch=[`stack`,`line`,`column`,`name`,`message`,`fileName`,`lineNumber`,`columnNumber`,`number`,`description`,`cause`];function lh(e,t){let n=Object.getOwnPropertyNames(e).filter(e=>ch.indexOf(e)===-1),r=e.name;t.truncate-=r.length;let i=``;if(typeof e.message==`string`?i=jm(e.message,t.truncate):n.unshift(`message`),i=i?`: ${i}`:``,t.truncate-=i.length+5,t.seen=t.seen||[],t.seen.includes(e))return`[Circular]`;t.seen.push(e);let a=Mm(n.map(t=>[t,e[t]]),t,Pm);return`${r}${i}${a?` { ${a} }`:``}`}function uh([e,t],n){return n.truncate-=3,t?`${n.stylize(String(e),`yellow`)}=${n.stylize(`"${t}"`,`string`)}`:`${n.stylize(String(e),`yellow`)}`}function dh(e,t){return Mm(e,t,fh,`
170
+ `)}function fh(e,t){switch(e.nodeType){case 1:return ph(e,t);case 3:return t.inspect(e.data,t);default:return t.inspect(e,t)}}function ph(e,t){let n=e.getAttributeNames(),r=e.tagName.toLowerCase(),i=t.stylize(`<${r}`,`special`),a=t.stylize(`>`,`special`),o=t.stylize(`</${r}>`,`special`);t.truncate-=r.length*2+5;let s=``;n.length>0&&(s+=` `,s+=Mm(n.map(t=>[t,e.getAttribute(t)]),t,uh,` `)),t.truncate-=s.length;let c=t.truncate,l=dh(e.children,t);return l&&l.length>c&&(l=`${Dm}(${e.children.length})`),`${i}${s}${a}${l}${o}`}var mh=typeof Symbol==`function`&&typeof Symbol.for==`function`?Symbol.for(`chai/inspect`):`@@chai/inspect`,hh=Symbol.for(`nodejs.util.inspect.custom`),gh=new WeakMap,_h={},vh={undefined:(e,t)=>t.stylize(`undefined`,`undefined`),null:(e,t)=>t.stylize(`null`,`null`),boolean:(e,t)=>t.stylize(String(e),`boolean`),Boolean:(e,t)=>t.stylize(String(e),`boolean`),number:Wm,Number:Wm,bigint:Gm,BigInt:Gm,string:eh,String:eh,function:zm,Function:zm,symbol:th,Symbol:th,Array:Fm,Date:Rm,Map:Hm,Set:Jm,RegExp:Km,Promise:rh,WeakSet:(e,t)=>t.stylize(`WeakSet{…}`,`special`),WeakMap:(e,t)=>t.stylize(`WeakMap{…}`,`special`),Arguments:sh,Int8Array:Lm,Uint8Array:Lm,Uint8ClampedArray:Lm,Int16Array:Lm,Uint16Array:Lm,Int32Array:Lm,Uint32Array:Lm,Float32Array:Lm,Float64Array:Lm,Generator:()=>``,DataView:()=>``,ArrayBuffer:()=>``,Error:lh,HTMLCollection:dh,NodeList:dh},yh=(e,t,n)=>mh in e&&typeof e[mh]==`function`?e[mh](t):hh in e&&typeof e[hh]==`function`?e[hh](t.depth,t):`inspect`in e&&typeof e.inspect==`function`?e.inspect(t.depth,t):`constructor`in e&&gh.has(e.constructor)?gh.get(e.constructor)(e,t):_h[n]?_h[n](e,t):``,bh=Object.prototype.toString;function xh(e,t={}){let n=km(t,xh),{customInspect:r}=n,i=e===null?`null`:typeof e;if(i===`object`&&(i=bh.call(e).slice(8,-1)),i in vh)return vh[i](e,n);if(r&&e){let t=yh(e,n,i);if(t)return typeof t==`string`?t:xh(t,n)}let a=e?Object.getPrototypeOf(e):!1;return a===Object.prototype||a===null?ih(e,n):e&&typeof HTMLElement==`function`&&e instanceof HTMLElement?ph(e,n):`constructor`in e?e.constructor===Object?ih(e,n):oh(e,n):e===Object(e)?ih(e,n):n.stylize(String(e),i)}var{AsymmetricMatcher:Sh,DOMCollection:Ch,DOMElement:wh,Immutable:Th,ReactElement:Eh,ReactTestComponent:Dh}=wm,Oh=[Dh,Eh,wh,Ch,Th,Sh];function kh(e,t=10,{maxLength:n,...r}={}){let i=n??1e4,a;try{a=Cm(e,{maxDepth:t,escapeString:!1,plugins:Oh,...r})}catch{a=Cm(e,{callToJSON:!1,maxDepth:t,escapeString:!1,plugins:Oh,...r})}return a.length>=i&&t>1?kh(e,Math.floor(Math.min(t,2**53-1)/2),{maxLength:n,...r}):a}var Ah=/%[sdjifoOc%]/g;function jh(...e){if(typeof e[0]!=`string`){let t=[];for(let n=0;n<e.length;n++)t.push(Mh(e[n],{depth:0,colors:!1}));return t.join(` `)}let t=e.length,n=1,r=e[0],i=String(r).replace(Ah,r=>{if(r===`%%`)return`%`;if(n>=t)return r;switch(r){case`%s`:{let t=e[n++];return typeof t==`bigint`?`${t.toString()}n`:typeof t==`number`&&t===0&&1/t<0?`-0`:typeof t==`object`&&t?typeof t.toString==`function`&&t.toString!==Object.prototype.toString?t.toString():Mh(t,{depth:0,colors:!1}):String(t)}case`%d`:{let t=e[n++];return typeof t==`bigint`?`${t.toString()}n`:Number(t).toString()}case`%i`:{let t=e[n++];return typeof t==`bigint`?`${t.toString()}n`:Number.parseInt(String(t)).toString()}case`%f`:return Number.parseFloat(String(e[n++])).toString();case`%o`:return Mh(e[n++],{showHidden:!0,showProxy:!0});case`%O`:return Mh(e[n++]);case`%c`:return n++,``;case`%j`:try{return JSON.stringify(e[n++])}catch(e){let t=e.message;if(t.includes(`circular structure`)||t.includes(`cyclic structures`)||t.includes(`cyclic object`))return`[Circular]`;throw e}default:return r}});for(let r=e[n];n<t;r=e[++n])typeof r!=`object`||!r?i+=` ${r}`:i+=` ${Mh(r)}`;return i}function Mh(e,t={}){return t.truncate===0&&(t.truncate=1/0),xh(e,t)}function Nh(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,`default`)?e.default:e}function Ph(e,t,n){let r=typeof e;if(!n.includes(r))throw TypeError(`${t} value must be ${n.join(` or `)}, received "${r}"`)}function Fh(e){return typeof e==`object`&&!!e&&!Array.isArray(e)}function Ih(e){return e===Object.prototype||e===Function.prototype||e===RegExp.prototype}function Lh(e){return Object.prototype.toString.apply(e).slice(8,-1)}function Rh(e,t){let n=typeof t==`function`?t:e=>t.add(e);Object.getOwnPropertyNames(e).forEach(n),Object.getOwnPropertySymbols(e).forEach(n)}function zh(e){let t=new Set;return Ih(e)?[]:(Rh(e,t),Array.from(t))}var Bh={forceWritable:!1};function Vh(e,t=Bh){return Hh(e,new WeakMap,t)}function Hh(e,t,n=Bh){let r,i;if(t.has(e))return t.get(e);if(Array.isArray(e)){for(i=Array.from({length:r=e.length}),t.set(e,i);r--;)i[r]=Hh(e[r],t,n);return i}if(Object.prototype.toString.call(e)===`[object Object]`){i=Object.create(Object.getPrototypeOf(e)),t.set(e,i);let r=zh(e);for(let a of r){let r=Object.getOwnPropertyDescriptor(e,a);if(!r)continue;let o=Hh(e[a],t,n);n.forceWritable?Object.defineProperty(i,a,{enumerable:r.enumerable,configurable:!0,writable:!0,value:o}):`get`in r?Object.defineProperty(i,a,{...r,get(){return o}}):Object.defineProperty(i,a,{...r,value:o})}return i}return e}function Uh(){}var Wh=-1,Gh=1,Kh=0,qh=class{0;1;constructor(e,t){this[0]=e,this[1]=t}};function Jh(e,t){if(!e||!t||e.charAt(0)!==t.charAt(0))return 0;let n=0,r=Math.min(e.length,t.length),i=r,a=0;for(;n<i;)e.substring(a,i)===t.substring(a,i)?(n=i,a=n):r=i,i=Math.floor((r-n)/2+n);return i}function Yh(e,t){if(!e||!t||e.charAt(e.length-1)!==t.charAt(t.length-1))return 0;let n=0,r=Math.min(e.length,t.length),i=r,a=0;for(;n<i;)e.substring(e.length-i,e.length-a)===t.substring(t.length-i,t.length-a)?(n=i,a=n):r=i,i=Math.floor((r-n)/2+n);return i}function Xh(e,t){let n=e.length,r=t.length;if(n===0||r===0)return 0;n>r?e=e.substring(n-r):n<r&&(t=t.substring(0,n));let i=Math.min(n,r);if(e===t)return i;let a=0,o=1;for(;;){let n=e.substring(i-o),r=t.indexOf(n);if(r===-1)return a;o+=r,(r===0||e.substring(i-o)===t.substring(0,o))&&(a=o,o++)}}function Zh(e){let t=!1,n=[],r=0,i=null,a=0,o=0,s=0,c=0,l=0;for(;a<e.length;)e[a][0]===Kh?(n[r++]=a,o=c,s=l,c=0,l=0,i=e[a][1]):(e[a][0]===Gh?c+=e[a][1].length:l+=e[a][1].length,i&&i.length<=Math.max(o,s)&&i.length<=Math.max(c,l)&&(e.splice(n[r-1],0,new qh(Wh,i)),e[n[r-1]+1][0]=Gh,r--,r--,a=r>0?n[r-1]:-1,o=0,s=0,c=0,l=0,i=null,t=!0)),a++;for(t&&ig(e),rg(e),a=1;a<e.length;){if(e[a-1][0]===Wh&&e[a][0]===Gh){let t=e[a-1][1],n=e[a][1],r=Xh(t,n),i=Xh(n,t);r>=i?(r>=t.length/2||r>=n.length/2)&&(e.splice(a,0,new qh(Kh,n.substring(0,r))),e[a-1][1]=t.substring(0,t.length-r),e[a+1][1]=n.substring(r),a++):(i>=t.length/2||i>=n.length/2)&&(e.splice(a,0,new qh(Kh,t.substring(0,i))),e[a-1][0]=Gh,e[a-1][1]=n.substring(0,n.length-i),e[a+1][0]=Wh,e[a+1][1]=t.substring(i),a++),a++}a++}}var Qh=/[^a-z0-9]/i,$h=/\s/,eg=/[\r\n]/,tg=/\n\r?\n$/,ng=/^\r?\n\r?\n/;function rg(e){let t=1;for(;t<e.length-1;){if(e[t-1][0]===Kh&&e[t+1][0]===Kh){let n=e[t-1][1],r=e[t][1],i=e[t+1][1],a=Yh(n,r);if(a){let e=r.substring(r.length-a);n=n.substring(0,n.length-a),r=e+r.substring(0,r.length-a),i=e+i}let o=n,s=r,c=i,l=ag(n,r)+ag(r,i);for(;r.charAt(0)===i.charAt(0);){n+=r.charAt(0),r=r.substring(1)+i.charAt(0),i=i.substring(1);let e=ag(n,r)+ag(r,i);e>=l&&(l=e,o=n,s=r,c=i)}e[t-1][1]!==o&&(o?e[t-1][1]=o:(e.splice(t-1,1),t--),e[t][1]=s,c?e[t+1][1]=c:(e.splice(t+1,1),t--))}t++}}function ig(e){e.push(new qh(Kh,``));let t=0,n=0,r=0,i=``,a=``,o;for(;t<e.length;)switch(e[t][0]){case Gh:r++,a+=e[t][1],t++;break;case Wh:n++,i+=e[t][1],t++;break;case Kh:n+r>1?(n!==0&&r!==0&&(o=Jh(a,i),o!==0&&(t-n-r>0&&e[t-n-r-1][0]===Kh?e[t-n-r-1][1]+=a.substring(0,o):(e.splice(0,0,new qh(Kh,a.substring(0,o))),t++),a=a.substring(o),i=i.substring(o)),o=Yh(a,i),o!==0&&(e[t][1]=a.substring(a.length-o)+e[t][1],a=a.substring(0,a.length-o),i=i.substring(0,i.length-o))),t-=n+r,e.splice(t,n+r),i.length&&(e.splice(t,0,new qh(Wh,i)),t++),a.length&&(e.splice(t,0,new qh(Gh,a)),t++),t++):t!==0&&e[t-1][0]===Kh?(e[t-1][1]+=e[t][1],e.splice(t,1)):t++,r=0,n=0,i=``,a=``;break}e[e.length-1][1]===``&&e.pop();let s=!1;for(t=1;t<e.length-1;)e[t-1][0]===Kh&&e[t+1][0]===Kh&&(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),s=!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),s=!0)),t++;s&&ig(e)}function ag(e,t){if(!e||!t)return 6;let n=e.charAt(e.length-1),r=t.charAt(0),i=n.match(Qh),a=r.match(Qh),o=i&&n.match($h),s=a&&r.match($h),c=o&&n.match(eg),l=s&&r.match(eg),u=c&&e.match(tg),d=l&&t.match(ng);return u||d?5:c||l?4:i&&!o&&s?3:o||s?2:i||a?1:0}var og=`Compared values have no visual difference.`,sg="Compared values serialize to the same structure.\nPrinting internal object structure without calling `toJSON` instead.",cg={},lg;function ug(){if(lg)return cg;lg=1,Object.defineProperty(cg,`__esModule`,{value:!0}),cg.default=d;let e=`diff-sequences`,t=(e,t,n,r,i)=>{let a=0;for(;e<t&&n<r&&i(e,n);)e+=1,n+=1,a+=1;return a},n=(e,t,n,r,i)=>{let a=0;for(;e<=t&&n<=r&&i(t,r);)--t,--r,a+=1;return a},r=(e,n,r,i,a,o,s)=>{let c=0,l=-e,u=o[c],d=u;o[c]+=t(u+1,n,i+u-l+1,r,a);let f=e<s?e:s;for(c+=1,l+=2;c<=f;c+=1,l+=2){if(c!==e&&d<o[c])u=o[c];else if(u=d+1,n<=u)return c-1;d=o[c],o[c]=u+t(u+1,n,i+u-l+1,r,a)}return s},i=(e,t,r,i,a,o,s)=>{let c=0,l=e,u=o[c],d=u;o[c]-=n(t,u-1,r,i+u-l-1,a);let f=e<s?e:s;for(c+=1,l-=2;c<=f;c+=1,l-=2){if(c!==e&&o[c]<d)u=o[c];else if(u=d-1,u<t)return c-1;d=o[c],o[c]=u-n(t,u-1,r,i+u-l-1,a)}return s},a=(e,r,i,a,o,s,c,l,u,d,f)=>{let p=a-r,m=i-r,h=o-a-m,g=-h-(e-1),_=-h+(e-1),v=0,y=e<l?e:l;for(let l=0,m=-e;l<=y;l+=1,m+=2){let y=l===0||l!==e&&v<c[l],b=y?c[l]:v,x=y?b:b+1,S=p+x-m,C=t(x+1,i,S+1,o,s),w=x+C;if(v=c[l],c[l]=w,g<=m&&m<=_){let t=(e-1-(m+h))/2;if(t<=d&&u[t]-1<=w){let t=p+b-(y?m+1:m-1),c=n(r,b,a,t,s),l=b-c,u=t-c,d=l+1,h=u+1;f.nChangePreceding=e-1,e-1===d+h-r-a?(f.aEndPreceding=r,f.bEndPreceding=a):(f.aEndPreceding=d,f.bEndPreceding=h),f.nCommonPreceding=c,c!==0&&(f.aCommonPreceding=d,f.bCommonPreceding=h),f.nCommonFollowing=C,C!==0&&(f.aCommonFollowing=x+1,f.bCommonFollowing=S+1);let g=w+1,_=S+C+1;return f.nChangeFollowing=e-1,e-1===i+o-g-_?(f.aStartFollowing=i,f.bStartFollowing=o):(f.aStartFollowing=g,f.bStartFollowing=_),!0}}}return!1},o=(e,r,i,a,o,s,c,l,u,d,f)=>{let p=o-i,m=i-r,h=o-a-m,g=h-e,_=h+e,v=0,y=e<d?e:d;for(let d=0,m=e;d<=y;d+=1,m-=2){let y=d===0||d!==e&&u[d]<v,b=y?u[d]:v,x=y?b:b-1,S=p+x-m,C=n(r,x-1,a,S-1,s),w=x-C;if(v=u[d],u[d]=w,g<=m&&m<=_){let n=(e+(m-h))/2;if(n<=l&&w-1<=c[n]){let n=S-C;if(f.nChangePreceding=e,e===w+n-r-a?(f.aEndPreceding=r,f.bEndPreceding=a):(f.aEndPreceding=w,f.bEndPreceding=n),f.nCommonPreceding=C,C!==0&&(f.aCommonPreceding=w,f.bCommonPreceding=n),f.nChangeFollowing=e-1,e===1)f.nCommonFollowing=0,f.aStartFollowing=i,f.bStartFollowing=o;else{let n=p+b-(y?m-1:m+1),r=t(b,i,n,o,s);f.nCommonFollowing=r,r!==0&&(f.aCommonFollowing=b,f.bCommonFollowing=n);let a=b+r,c=n+r;e-1===i+o-a-c?(f.aStartFollowing=i,f.bStartFollowing=o):(f.aStartFollowing=a,f.bStartFollowing=c)}return!0}}}return!1},s=(t,n,s,c,l,u,d,f,p)=>{let m=c-n,h=l-s,g=s-n,_=l-c,v=_-g,y=g,b=g;if(d[0]=n-1,f[0]=s,v%2==0){let e=(t||v)/2,a=(g+_)/2;for(let t=1;t<=a;t+=1)if(y=r(t,s,l,m,u,d,y),t<e)b=i(t,n,c,h,u,f,b);else if(o(t,n,s,c,l,u,d,y,f,b,p))return}else{let e=((t||v)+1)/2,o=(g+_+1)/2,x=1;for(y=r(x,s,l,m,u,d,y),x+=1;x<=o;x+=1)if(b=i(x-1,n,c,h,u,f,b),x<e)y=r(x,s,l,m,u,d,y);else if(a(x,n,s,c,l,u,d,y,f,b,p))return}throw Error(`${e}: no overlap aStart=${n} aEnd=${s} bStart=${c} bEnd=${l}`)},c=(e,t,n,r,i,a,o,l,u,d)=>{if(i-r<n-t){if(a=!a,a&&o.length===1){let{foundSubsequence:e,isCommon:t}=o[0];o[1]={foundSubsequence:(t,n,r)=>{e(t,r,n)},isCommon:(e,n)=>t(n,e)}}let e=t,s=n;t=r,n=i,r=e,i=s}let{foundSubsequence:f,isCommon:p}=o[a?1:0];s(e,t,n,r,i,p,l,u,d);let{nChangePreceding:m,aEndPreceding:h,bEndPreceding:g,nCommonPreceding:_,aCommonPreceding:v,bCommonPreceding:y,nCommonFollowing:b,aCommonFollowing:x,bCommonFollowing:S,nChangeFollowing:C,aStartFollowing:w,bStartFollowing:T}=d;t<h&&r<g&&c(m,t,h,r,g,a,o,l,u,d),_!==0&&f(_,v,y),b!==0&&f(b,x,S),w<n&&T<i&&c(C,w,n,T,i,a,o,l,u,d)},l=(t,n)=>{if(typeof n!=`number`)throw TypeError(`${e}: ${t} typeof ${typeof n} is not a number`);if(!Number.isSafeInteger(n))throw RangeError(`${e}: ${t} value ${n} is not a safe integer`);if(n<0)throw RangeError(`${e}: ${t} value ${n} is a negative integer`)},u=(t,n)=>{let r=typeof n;if(r!==`function`)throw TypeError(`${e}: ${t} typeof ${r} is not a function`)};function d(e,r,i,a){l(`aLength`,e),l(`bLength`,r),u(`isCommon`,i),u(`foundSubsequence`,a);let o=t(0,e,0,r,i);if(o!==0&&a(o,0,0),e!==o||r!==o){let t=o,s=o,l=n(t,e-1,s,r-1,i),u=e-l,d=r-l,f=o+l;e!==f&&r!==f&&c(0,t,u,s,d,!1,[{foundSubsequence:a,isCommon:i}],[0],[0],{aCommonFollowing:0,aCommonPreceding:0,aEndPreceding:0,aStartFollowing:0,bCommonFollowing:0,bCommonPreceding:0,bEndPreceding:0,bStartFollowing:0,nChangeFollowing:0,nChangePreceding:0,nCommonFollowing:0,nCommonPreceding:0}),l!==0&&a(l,u,d)}}return cg}var dg=Nh(ug());function fg(e,t){return e.replace(/\s+$/,e=>t(e))}function pg(e,t,n,r,i,a){return e.length===0?r===` `?t&&a.length!==0?n(`${r} ${a}`):``:n(r):n(`${r} ${fg(e,i)}`)}function mg(e,t,{aColor:n,aIndicator:r,changeLineTrailingSpaceColor:i,emptyFirstOrLastLinePlaceholder:a}){return pg(e,t,n,r,i,a)}function hg(e,t,{bColor:n,bIndicator:r,changeLineTrailingSpaceColor:i,emptyFirstOrLastLinePlaceholder:a}){return pg(e,t,n,r,i,a)}function gg(e,t,{commonColor:n,commonIndicator:r,commonLineTrailingSpaceColor:i,emptyFirstOrLastLinePlaceholder:a}){return pg(e,t,n,r,i,a)}function _g(e,t,n,r,{patchColor:i}){return i(`@@ -${e+1},${t-e} +${n+1},${r-n} @@`)}function vg(e,t){let n=e.length,r=t.contextLines,i=r+r,a=n,o=!1,s=0,c=0;for(;c!==n;){let t=c;for(;c!==n&&e[c][0]===Kh;)c+=1;if(t!==c)if(t===0)c>r&&(a-=c-r,o=!0);else if(c===n){let e=c-t;e>r&&(a-=e-r,o=!0)}else{let e=c-t;e>i&&(a-=e-i,s+=1)}for(;c!==n&&e[c][0]!==Kh;)c+=1}let l=s!==0||o;s===0?o&&(a+=1):a+=s+1;let u=a-1,d=[],f=0;l&&d.push(``);let p=0,m=0,h=0,g=0,_=e=>{let n=d.length;d.push(gg(e,n===0||n===u,t)),h+=1,g+=1},v=e=>{let n=d.length;d.push(mg(e,n===0||n===u,t)),h+=1},y=e=>{let n=d.length;d.push(hg(e,n===0||n===u,t)),g+=1};for(c=0;c!==n;){let a=c;for(;c!==n&&e[c][0]===Kh;)c+=1;if(a!==c)if(a===0){c>r&&(a=c-r,p=a,m=a,h=p,g=m);for(let t=a;t!==c;t+=1)_(e[t][1])}else if(c===n){let t=c-a>r?a+r:c;for(let n=a;n!==t;n+=1)_(e[n][1])}else{let n=c-a;if(n>i){let o=a+r;for(let t=a;t!==o;t+=1)_(e[t][1]);d[f]=_g(p,h,m,g,t),f=d.length,d.push(``);let s=n-i;p=h+s,m=g+s,h=p,g=m;for(let t=c-r;t!==c;t+=1)_(e[t][1])}else for(let t=a;t!==c;t+=1)_(e[t][1])}for(;c!==n&&e[c][0]===Wh;)v(e[c][1]),c+=1;for(;c!==n&&e[c][0]===Gh;)y(e[c][1]),c+=1}return l&&(d[f]=_g(p,h,m,g,t)),d.join(`
171
+ `)}function yg(e,t){return e.map((e,n,r)=>{let i=e[1],a=n===0||n===r.length-1;switch(e[0]){case Wh:return mg(i,a,t);case Gh:return hg(i,a,t);default:return gg(i,a,t)}}).join(`
172
+ `)}var bg=e=>e,xg=5,Sg=0;function Cg(){return{aAnnotation:`Expected`,aColor:vf.green,aIndicator:`-`,bAnnotation:`Received`,bColor:vf.red,bIndicator:`+`,changeColor:vf.inverse,changeLineTrailingSpaceColor:bg,commonColor:vf.dim,commonIndicator:` `,commonLineTrailingSpaceColor:bg,compareKeys:void 0,contextLines:xg,emptyFirstOrLastLinePlaceholder:``,expand:!1,includeChangeCounts:!1,omitAnnotationLines:!1,patchColor:vf.yellow,printBasicPrototype:!1,truncateThreshold:Sg,truncateAnnotation:`... Diff result is truncated`,truncateAnnotationColor:bg}}function wg(e){return e&&typeof e==`function`?e:void 0}function Tg(e){return typeof e==`number`&&Number.isSafeInteger(e)&&e>=0?e:xg}function Eg(e={}){return{...Cg(),...e,compareKeys:wg(e.compareKeys),contextLines:Tg(e.contextLines)}}function Dg(e){return e.length===1&&e[0].length===0}function Og(e){let t=0,n=0;return e.forEach(e=>{switch(e[0]){case Wh:t+=1;break;case Gh:n+=1;break}}),{a:t,b:n}}function kg({aAnnotation:e,aColor:t,aIndicator:n,bAnnotation:r,bColor:i,bIndicator:a,includeChangeCounts:o,omitAnnotationLines:s},c){if(s)return``;let l=``,u=``;if(o){let t=String(c.a),i=String(c.b),o=r.length-e.length,s=` `.repeat(Math.max(0,o)),d=` `.repeat(Math.max(0,-o)),f=i.length-t.length,p=` `.repeat(Math.max(0,f)),m=` `.repeat(Math.max(0,-f));l=`${s} ${n} ${p}${t}`,u=`${d} ${a} ${m}${i}`}let d=`${n} ${e}${l}`,f=`${a} ${r}${u}`;return`${t(d)}
173
+ ${i(f)}
174
+
175
+ `}function Ag(e,t,n){return kg(n,Og(e))+(n.expand?yg(e,n):vg(e,n))+(t?n.truncateAnnotationColor(`
176
+ ${n.truncateAnnotation}`):``)}function jg(e,t,n){let r=Eg(n),[i,a]=Ng(Dg(e)?[]:e,Dg(t)?[]:t,r);return Ag(i,a,r)}function Mg(e,t,n,r,i){if(Dg(e)&&Dg(n)&&(e=[],n=[]),Dg(t)&&Dg(r)&&(t=[],r=[]),e.length!==n.length||t.length!==r.length)return jg(e,t,i);let[a,o]=Ng(n,r,i),s=0,c=0;return a.forEach(n=>{switch(n[0]){case Wh:n[1]=e[s],s+=1;break;case Gh:n[1]=t[c],c+=1;break;default:n[1]=t[c],s+=1,c+=1}}),Ag(a,o,Eg(i))}function Ng(e,t,n){let r=n?.truncateThreshold??!1,i=Math.max(Math.floor(n?.truncateThreshold??0),0),a=r?Math.min(e.length,i):e.length,o=r?Math.min(t.length,i):t.length,s=a!==e.length||o!==t.length,c=(n,r)=>e[n]===t[r],l=[],u=0,d=0;for(dg(a,o,c,(n,r,i)=>{for(;u!==r;u+=1)l.push(new qh(Wh,e[u]));for(;d!==i;d+=1)l.push(new qh(Gh,t[d]));for(;n!==0;--n,u+=1,d+=1)l.push(new qh(Kh,t[d]))});u!==a;u+=1)l.push(new qh(Wh,e[u]));for(;d!==o;d+=1)l.push(new qh(Gh,t[d]));return[l,s]}function Pg(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 Error(`value of unknown type: ${e}`)}function Fg(e){return e.includes(`\r
177
+ `)?`\r
178
+ `:`
179
+ `}function Ig(e,t,n){let r=n?.truncateThreshold??!1,i=Math.max(Math.floor(n?.truncateThreshold??0),0),a=e.length,o=t.length;if(r){let n=e.includes(`
180
+ `),r=t.includes(`
181
+ `),s=Fg(e),c=Fg(t),l=n?`${e.split(s,i).join(s)}
182
+ `:e,u=r?`${t.split(c,i).join(c)}
183
+ `:t;a=l.length,o=u.length}let s=a!==e.length||o!==t.length,c=(n,r)=>e[n]===t[r],l=0,u=0,d=[];return dg(a,o,c,(n,r,i)=>{l!==r&&d.push(new qh(Wh,e.slice(l,r))),u!==i&&d.push(new qh(Gh,t.slice(u,i))),l=r+n,u=i+n,d.push(new qh(Kh,t.slice(i,u)))}),l!==a&&d.push(new qh(Wh,e.slice(l))),u!==o&&d.push(new qh(Gh,t.slice(u))),[d,s]}function Lg(e,t,n){return t.reduce((t,r)=>t+(r[0]===Kh?r[1]:r[0]===e&&r[1].length!==0?n(r[1]):``),``)}var Rg=class{op;line;lines;changeColor;constructor(e,t){this.op=e,this.line=[],this.lines=[],this.changeColor=t}pushSubstring(e){this.pushDiff(new qh(this.op,e))}pushLine(){this.lines.push(this.line.length===1?this.line[0][0]===this.op?this.line[0]:new qh(this.op,this.line[0][1]):new qh(this.op,Lg(this.op,this.line,this.changeColor))),this.line.length=0}isLineEmpty(){return this.line.length===0}pushDiff(e){this.line.push(e)}align(e){let t=e[1];if(t.includes(`
184
+ `)){let e=t.split(`
185
+ `),n=e.length-1;e.forEach((e,t)=>{t<n?(this.pushSubstring(e),this.pushLine()):e.length!==0&&this.pushSubstring(e)})}else this.pushDiff(e)}moveLinesTo(e){this.isLineEmpty()||this.pushLine(),e.push(...this.lines),this.lines.length=0}},zg=class{deleteBuffer;insertBuffer;lines;constructor(e,t){this.deleteBuffer=e,this.insertBuffer=t,this.lines=[]}pushDiffCommonLine(e){this.lines.push(e)}pushDiffChangeLines(e){let t=e[1].length===0;(!t||this.deleteBuffer.isLineEmpty())&&this.deleteBuffer.pushDiff(e),(!t||this.insertBuffer.isLineEmpty())&&this.insertBuffer.pushDiff(e)}flushChangeLines(){this.deleteBuffer.moveLinesTo(this.lines),this.insertBuffer.moveLinesTo(this.lines)}align(e){let t=e[0],n=e[1];if(n.includes(`
186
+ `)){let e=n.split(`
187
+ `),r=e.length-1;e.forEach((e,n)=>{if(n===0){let n=new qh(t,e);this.deleteBuffer.isLineEmpty()&&this.insertBuffer.isLineEmpty()?(this.flushChangeLines(),this.pushDiffCommonLine(n)):(this.pushDiffChangeLines(n),this.flushChangeLines())}else n<r?this.pushDiffCommonLine(new qh(t,e)):e.length!==0&&this.pushDiffChangeLines(new qh(t,e))})}else this.pushDiffChangeLines(e)}getLines(){return this.flushChangeLines(),this.lines}};function Bg(e,t){let n=new Rg(Wh,t),r=new Rg(Gh,t),i=new zg(n,r);return e.forEach(e=>{switch(e[0]){case Wh:n.align(e);break;case Gh:r.align(e);break;default:i.align(e)}}),i.getLines()}function Vg(e,t){if(t){let t=e.length-1;return e.some((e,n)=>e[0]===Kh&&(n!==t||e[1]!==`
188
+ `))}return e.some(e=>e[0]===Kh)}function Hg(e,t,n){if(e!==t&&e.length!==0&&t.length!==0){let r=e.includes(`
189
+ `)||t.includes(`
190
+ `),[i,a]=Ug(r?`${e}
191
+ `:e,r?`${t}
192
+ `:t,!0,n);if(Vg(i,r)){let e=Eg(n);return Ag(Bg(i,e.changeColor),a,e)}}return jg(e.split(`
193
+ `),t.split(`
194
+ `),n)}function Ug(e,t,n,r){let[i,a]=Ig(e,t,r);return n&&Zh(i),[i,a]}function Wg(e,t){let{commonColor:n}=Eg(t);return n(e)}var{AsymmetricMatcher:Gg,DOMCollection:Kg,DOMElement:qg,Immutable:Jg,ReactElement:Yg,ReactTestComponent:Xg}=wm,Zg=[Xg,Yg,qg,Kg,Jg,Gg,wm.Error],Qg={maxDepth:20,plugins:Zg},$g={callToJSON:!1,maxDepth:8,plugins:Zg};function e_(e,t,n){if(Object.is(e,t))return``;let r=Pg(e),i=r,a=!1;if(r===`object`&&typeof e.asymmetricMatch==`function`){if(e.$$typeof!==Symbol.for(`jest.asymmetricMatcher`)||typeof e.getExpectedType!=`function`)return;i=e.getExpectedType(),a=i===`string`}if(i!==Pg(t)){let r=function(e){return e.length<=p?e:`${e.slice(0,p)}...`},{aAnnotation:i,aColor:a,aIndicator:o,bAnnotation:s,bColor:c,bIndicator:l}=Eg(n),u=a_($g,n),d=Cm(e,u),f=Cm(t,u),p=1e5;return d=r(d),f=r(f),`${`${a(`${o} ${i}:`)}
195
+ ${d}`}
196
+
197
+ ${`${c(`${l} ${s}:`)}
198
+ ${f}`}`}if(!a)switch(r){case`string`:return jg(e.split(`
199
+ `),t.split(`
200
+ `),n);case`boolean`:case`number`:return t_(e,t,n);case`map`:return i_(n_(e),n_(t),n);case`set`:return i_(r_(e),r_(t),n);default:return i_(e,t,n)}}function t_(e,t,n){let r=Cm(e,Qg),i=Cm(t,Qg);return r===i?``:jg(r.split(`
201
+ `),i.split(`
202
+ `),n)}function n_(e){return new Map(Array.from(e.entries()).sort())}function r_(e){return new Set(Array.from(e.values()).sort())}function i_(e,t,n){let r,i=!1;try{r=o_(e,t,a_(Qg,n),n)}catch{i=!0}let a=Wg(og,n);return(r===void 0||r===a)&&(r=o_(e,t,a_($g,n),n),r!==a&&!i&&(r=`${Wg(sg,n)}
203
+
204
+ ${r}`)),r}function a_(e,t){let{compareKeys:n,printBasicPrototype:r,maxDepth:i}=Eg(t);return{...e,compareKeys:n,printBasicPrototype:r,maxDepth:i??e.maxDepth}}function o_(e,t,n,r){let i={...n,indent:0},a=Cm(e,i),o=Cm(t,i);if(a===o)return Wg(og,r);{let i=Cm(e,n),s=Cm(t,n);return Mg(i.split(`
205
+ `),s.split(`
206
+ `),a.split(`
207
+ `),o.split(`
208
+ `),r)}}var s_=2e4;function c_(e){return Lh(e)===`Object`&&typeof e.asymmetricMatch==`function`}function l_(e,t){let n=Lh(e);return n===Lh(t)&&(n===`Object`||n===`Array`)}function u_(e,t,n){let{aAnnotation:r,bAnnotation:i}=Eg(n);if(typeof t==`string`&&typeof e==`string`&&t.length>0&&e.length>0&&t.length<=s_&&e.length<=s_&&t!==e){if(t.includes(`
209
+ `)||e.includes(`
210
+ `))return Hg(t,e,n);let[a]=Ug(t,e,!0),o=a.some(e=>e[0]===Kh),s=f_(r,i);return`${s(r)+g_(__(a,Wh,o))}
211
+ ${s(i)+h_(__(a,Gh,o))}`}let a=Vh(t,{forceWritable:!0}),{replacedExpected:o,replacedActual:s}=d_(Vh(e,{forceWritable:!0}),a);return e_(o,s,n)}function d_(e,t,n=new WeakSet,r=new WeakSet){return e instanceof Error&&t instanceof Error&&typeof e.cause<`u`&&typeof t.cause>`u`?(delete e.cause,{replacedActual:e,replacedExpected:t}):l_(e,t)?n.has(e)||r.has(t)?{replacedActual:e,replacedExpected:t}:(n.add(e),r.add(t),zh(t).forEach(i=>{let a=t[i],o=e[i];if(c_(a))a.asymmetricMatch(o)&&(e[i]=a);else if(c_(o))o.asymmetricMatch(a)&&(t[i]=o);else if(l_(o,a)){let s=d_(o,a,n,r);e[i]=s.replacedActual,t[i]=s.replacedExpected}}),{replacedActual:e,replacedExpected:t}):{replacedActual:e,replacedExpected:t}}function f_(...e){let t=e.reduce((e,t)=>t.length>e?t.length:e,0);return e=>`${e}: ${` `.repeat(t-e.length)}`}var p_=`·`;function m_(e){return e.replace(/\s+$/gm,e=>p_.repeat(e.length))}function h_(e){return vf.red(m_(kh(e)))}function g_(e){return vf.green(m_(kh(e)))}function __(e,t,n){return e.reduce((e,r)=>e+(r[0]===Kh?r[1]:r[0]===t?n?vf.inverse(r[1]):r[1]:``),``)}var v_=`@@__IMMUTABLE_RECORD__@@`,y_=`@@__IMMUTABLE_ITERABLE__@@`;function b_(e){return e&&(e[y_]||e[v_])}var x_=Object.getPrototypeOf({});function S_(e){return e instanceof Error?`<unserializable>: ${e.message}`:typeof e==`string`?`<unserializable>: ${e}`:`<unserializable>`}function C_(e,t=new WeakMap){if(!e||typeof e==`string`)return e;if(e instanceof Error&&`toJSON`in e&&typeof e.toJSON==`function`){let n=e.toJSON();return n&&n!==e&&typeof n==`object`&&(typeof e.message==`string`&&w_(()=>n.message??=e.message),typeof e.stack==`string`&&w_(()=>n.stack??=e.stack),typeof e.name==`string`&&w_(()=>n.name??=e.name),e.cause!=null&&w_(()=>n.cause??=C_(e.cause,t))),C_(n,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(b_(e))return C_(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()} ${jh(e.sample)}`;if(typeof e.toJSON==`function`)return C_(e.toJSON(),t);if(t.has(e))return t.get(e);if(Array.isArray(e)){let n=Array(e.length);return t.set(e,n),e.forEach((e,r)=>{try{n[r]=C_(e,t)}catch(e){n[r]=S_(e)}}),n}else{let n=Object.create(null);t.set(e,n);let r=e;for(;r&&r!==x_;)Object.getOwnPropertyNames(r).forEach(r=>{if(!(r in n))try{n[r]=C_(e[r],t)}catch(e){delete n[r],n[r]=S_(e)}}),r=Object.getPrototypeOf(r);return n}}function w_(e){try{return e()}catch{}}function T_(e){return e.replace(/__(vite_ssr_import|vi_import)_\d+__\./g,``)}function E_(e,t,n=new WeakSet){if(!e||typeof e!=`object`)return{message:String(e)};let r=e;(r.showDiff||r.showDiff===void 0&&r.expected!==void 0&&r.actual!==void 0)&&(r.diff=u_(r.actual,r.expected,{...t,...r.diffOptions})),`expected`in r&&typeof r.expected!=`string`&&(r.expected=kh(r.expected,10)),`actual`in r&&typeof r.actual!=`string`&&(r.actual=kh(r.actual,10));try{typeof r.message==`string`&&(r.message=T_(r.message))}catch{}try{!n.has(r)&&typeof r.cause==`object`&&(n.add(r),r.cause=E_(r.cause,t,n))}catch{}try{return C_(r)}catch(e){return C_(Error(`Failed to fully serialize error: ${e?.message}
212
+ Inner error message: ${r?.message}`))}}var D_={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`},O_=globalThis.__STORYBOOK_ADDONS_PREVIEW,k_=Error("This function ran after the play function completed. Did you forget to `await` it?"),A_=e=>Object.prototype.toString.call(e)===`[object Object]`,j_=e=>Object.prototype.toString.call(e)===`[object Module]`,M_=e=>{if(!A_(e)&&!j_(e))return!1;if(e.constructor===void 0)return!0;let t=e.constructor.prototype;return!!A_(t)},N_=e=>{try{return new e.constructor}catch{return{}}},P_=()=>({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}),F_=(e,t=!1)=>{let n=(t?e.shadowCalls:e.calls).filter(e=>e.retain);if(!n.length)return;let r=new Map(Array.from(e.callRefsByResult.entries()).filter(([,e])=>e.retain));return{cursor:n.length,calls:n,callRefsByResult:r}},I_=class{constructor(){this.detached=!1,this.initialized=!1,this.state={},this.loadParentWindowState=()=>{try{this.state=W.window?.parent?.__STORYBOOK_ADDON_INTERACTIONS_INSTRUMENTER_STATE__||{}}catch{this.detached=!0}},this.updateParentWindowState=()=>{try{W.window.parent.__STORYBOOK_ADDON_INTERACTIONS_INSTRUMENTER_STATE__=this.state}catch{this.detached=!0}},this.loadParentWindowState();let e=({storyId:e,renderPhase:t,isPlaying:n=!0,isDebugging:r=!1})=>{let i=this.getState(e);this.setState(e,{...P_(),...F_(i,r),renderPhase:t||i.renderPhase,shadowCalls:r?i.shadowCalls:[],chainedCallIds:r?i.chainedCallIds:new Set,playUntil:r?i.playUntil:void 0,isPlaying:n,isDebugging:r}),this.sync(e)},t=e=>({storyId:t,playUntil:n})=>{this.getState(t).isDebugging||this.setState(t,({calls:e})=>({calls:[],shadowCalls:e.map(e=>({...e,status:`waiting`})),isDebugging:!0}));let r=this.getLog(t);this.setState(t,({shadowCalls:e})=>{if(n||!r.length)return{playUntil:n};let t=e.findIndex(e=>e.id===r[0].callId);return{playUntil:e.slice(0,t).filter(e=>e.interceptable&&!e.ancestors?.length).slice(-1)[0]?.id}}),e.emit(ma,{storyId:t,isDebugging:!0})},n=e=>({storyId:n})=>{let r=this.getLog(n).filter(e=>!e.ancestors?.length),i=r.reduceRight((e,t,n)=>e>=0||t.status===`waiting`?e:n,-1);t(e)({storyId:n,playUntil:r[i-1]?.callId})},r=e=>({storyId:n,callId:r})=>{let{calls:i,shadowCalls:a,resolvers:o}=this.getState(n),s=i.find(({id:e})=>e===r),c=a.find(({id:e})=>e===r);if(!s&&c&&Object.values(o).length>0){let e=this.getLog(n).find(e=>e.status===`waiting`)?.callId;c.id!==e&&this.setState(n,{playUntil:c.id}),Object.values(o).forEach(e=>e())}else t(e)({storyId:n,playUntil:r})},i=e=>({storyId:n})=>{let{resolvers:r}=this.getState(n);if(Object.values(r).length>0)Object.values(r).forEach(e=>e());else{let r=this.getLog(n).find(e=>e.status===`waiting`)?.callId;r?t(e)({storyId:n,playUntil:r}):a({storyId:n})}},a=({storyId:e})=>{this.setState(e,{playUntil:void 0,isDebugging:!1}),Object.values(this.getState(e).resolvers).forEach(e=>e())},o=({storyId:t,newPhase:n})=>{let{isDebugging:r}=this.getState(t);if(n===`preparing`&&r||n===`playing`)return e({storyId:t,renderPhase:n,isDebugging:r});n===`played`?this.setState(t,{renderPhase:n,isLocked:!1,isPlaying:!1,isDebugging:!1}):n===`errored`?this.setState(t,{renderPhase:n,isLocked:!1,isPlaying:!1}):n===`aborted`?this.setState(t,{renderPhase:n,isLocked:!0,isPlaying:!1}):this.setState(t,{renderPhase:n}),this.sync(t)};O_&&O_.ready().then(()=>{this.channel=O_.getChannel(),this.channel.on(ma,e),this.channel.on(Ha,o),this.channel.on(Da,()=>{this.initialized?this.cleanup():this.initialized=!0}),this.channel.on(D_.START,t(this.channel)),this.channel.on(D_.BACK,n(this.channel)),this.channel.on(D_.GOTO,r(this.channel)),this.channel.on(D_.NEXT,i(this.channel)),this.channel.on(D_.END,a)})}getState(e){return this.state[e]||P_()}setState(e,t){if(e){let n=this.getState(e),r=typeof t==`function`?t(n):t;this.state={...this.state,[e]:{...n,...r}},this.updateParentWindowState()}}cleanup(){this.state=Object.entries(this.state).reduce((e,[t,n])=>{let r=F_(n);return r&&(e[t]=Object.assign(P_(),r)),e},{});let e={controlStates:{detached:this.detached,start:!1,back:!1,goto:!1,next:!1,end:!1},logItems:[]};this.channel?.emit(D_.SYNC,e),this.updateParentWindowState()}getLog(e){let{calls:t,shadowCalls:n}=this.getState(e),r=[...n];t.forEach((e,t)=>{r[t]=e});let i=new Set;return r.reduceRight((e,t)=>(t.args.forEach(e=>{e?.__callId__&&i.add(e.__callId__)}),t.path.forEach(e=>{e.__callId__&&i.add(e.__callId__)}),(t.interceptable||t.exception)&&!i.has(t.id)&&(e.unshift({callId:t.id,status:t.status,ancestors:t.ancestors}),i.add(t.id)),e),[])}instrument(e,t,n=0){if(!M_(e))return e;let{mutate:r=!1,path:i=[]}=t,a=t.getKeys?t.getKeys(e,n):Object.keys(e);return n+=1,a.reduce((r,a)=>{let o=R_(e,a);if(typeof o?.get==`function`){if(o.configurable){let s=()=>o?.get?.bind(e)?.();Object.defineProperty(r,a,{get:()=>this.instrument(s(),{...t,path:i.concat(a)},n)})}return r}let s=e[a];return typeof s==`function`?`__originalFn__`in s&&typeof s.__originalFn__==`function`?(r[a]=s,r):(r[a]=(...n)=>this.track(a,s,e,n,t),r[a].__originalFn__=s,Object.defineProperty(r[a],`name`,{value:a,writable:!1}),Object.keys(s).length>0&&Object.assign(r[a],this.instrument({...s},{...t,path:i.concat(a)},n)),r):(r[a]=this.instrument(s,{...t,path:i.concat(a)},n),r)},r?e:N_(e))}track(e,t,n,r,i){let a=r?.[0]?.__storyId__||W.__STORYBOOK_PREVIEW__?.selectionStore?.selection?.storyId,{cursor:o,ancestors:s}=this.getState(a);this.setState(a,{cursor:o+1});let c=`${s.slice(-1)[0]||a} [${o}] ${e}`,{path:l=[],intercept:u=!1,retain:d=!1}=i,f=typeof u==`function`?u(e,l):u,p={id:c,cursor:o,storyId:a,ancestors:s,path:l,method:e,args:r,interceptable:f,retain:d},m=(f&&!s.length?this.intercept:this.invoke).call(this,t,n,p,i);return this.instrument(m,{...i,mutate:!0,path:[{__callId__:p.id}]})}intercept(e,t,n,r){let{chainedCallIds:i,isDebugging:a,playUntil:o}=this.getState(n.storyId),s=i.has(n.id);return!a||s||o?(o===n.id&&this.setState(n.storyId,{playUntil:void 0}),this.invoke(e,t,n,r)):new Promise(e=>{this.setState(n.storyId,({resolvers:t})=>({isLocked:!1,resolvers:{...t,[n.id]:e}}))}).then(()=>(this.setState(n.storyId,e=>{let{[n.id]:t,...r}=e.resolvers;return{isLocked:!0,resolvers:r}}),this.invoke(e,t,n,r)))}invoke(e,t,n,r){let{callRefsByResult:i,renderPhase:a}=this.getState(n.storyId),o=(e,t,n)=>{if(n.includes(e))return`[Circular]`;if(n=[...n,e],t>25)return`...`;if(i.has(e))return i.get(e);if(e instanceof Array)return e.map(e=>o(e,++t,n));if(e instanceof Date)return{__date__:{value:e.toISOString()}};if(e instanceof Error){let{name:t,message:n,stack:r}=e;return{__error__:{name:t,message:n,stack:r}}}if(e instanceof RegExp){let{flags:t,source:n}=e;return{__regexp__:{flags:t,source:n}}}if(e instanceof W.window?.HTMLElement){let{prefix:t,localName:n,id:r,classList:i,innerText:a}=e;return{__element__:{prefix:t,localName:n,id:r,classNames:Array.from(i),innerText:a}}}return typeof e==`function`?{__function__:{name:`getMockName`in e?e.getMockName():e.name}}:typeof e==`symbol`?{__symbol__:{description:e.description}}:typeof e==`object`&&e?.constructor?.name&&e?.constructor?.name!==`Object`?{__class__:{name:e.constructor.name}}:Object.prototype.toString.call(e)===`[object Object]`?Object.fromEntries(Object.entries(e).map(([e,r])=>[e,o(r,++t,n)])):e},s={...n,args:n.args.map(e=>o(e,0,[]))};n.path.forEach(e=>{e?.__callId__&&this.setState(n.storyId,({chainedCallIds:t})=>({chainedCallIds:new Set(Array.from(t).concat(e.__callId__))}))});let c=e=>{if(e instanceof Error){let{name:t,message:r,stack:i,callId:a=n.id}=e,{showDiff:o=void 0,diff:c=void 0,actual:l=void 0,expected:u=void 0}=e.name===`AssertionError`?E_(e):e,d={name:t,message:r,stack:i,callId:a,showDiff:o,diff:c,actual:l,expected:u};if(this.update({...s,status:`error`,exception:d}),this.setState(n.storyId,t=>({callRefsByResult:new Map([...Array.from(t.callRefsByResult.entries()),[e,{__callId__:n.id,retain:n.retain}]])})),n.ancestors?.length)throw Object.prototype.hasOwnProperty.call(e,`callId`)||Object.defineProperty(e,`callId`,{value:n.id}),e}throw e};try{if(a===`played`&&!n.retain)throw k_;let i=(r.getArgs?r.getArgs(n,this.getState(n.storyId)):n.args).map(e=>typeof e!=`function`||z_(e)||Object.keys(e).length?e:(...t)=>{let{cursor:r,ancestors:i}=this.getState(n.storyId);this.setState(n.storyId,{cursor:0,ancestors:[...i,n.id]});let a=()=>this.setState(n.storyId,{cursor:r,ancestors:i}),o=!1;try{let n=e(...t);return n instanceof Promise?(o=!0,n.finally(a)):n}finally{o||a()}}),o=e.apply(t,i);return o&&[`object`,`function`,`symbol`].includes(typeof o)&&this.setState(n.storyId,e=>({callRefsByResult:new Map([...Array.from(e.callRefsByResult.entries()),[o,{__callId__:n.id,retain:n.retain}]])})),this.update({...s,status:o instanceof Promise?`active`:`done`}),o instanceof Promise?o.then(e=>(this.update({...s,status:`done`}),e),c):o}catch(e){return c(e)}}update(e){this.channel?.emit(D_.CALL,e),this.setState(e.storyId,({calls:t})=>{let n=t.concat(e).reduce((e,t)=>Object.assign(e,{[t.id]:t}),{});return{calls:Object.values(n).sort((e,t)=>e.id.localeCompare(t.id,void 0,{numeric:!0}))}}),this.sync(e.storyId)}sync(e){let t=()=>{let{isLocked:t,isPlaying:n}=this.getState(e),r=this.getLog(e),i=r.filter(({ancestors:e})=>!e.length).find(e=>e.status===`waiting`)?.callId,a=r.some(e=>e.status===`active`);if(this.detached||t||a||r.length===0){let e={controlStates:{detached:this.detached,start:!1,back:!1,goto:!1,next:!1,end:!1},logItems:r};this.channel?.emit(D_.SYNC,e);return}let o=r.some(e=>e.status===`done`||e.status===`error`),s={controlStates:{detached:this.detached,start:o,back:o,goto:!0,next:n,end:n},logItems:r,pausedAt:i};this.channel?.emit(D_.SYNC,s)};this.setState(e,({syncTimeout:e})=>(clearTimeout(e),{syncTimeout:setTimeout(t,0)}))}};function L_(e,t={}){try{let n=!1,r=!1;return W.window?.location?.search?.includes(`instrument=true`)?n=!0:W.window?.location?.search?.includes(`instrument=false`)&&(r=!0),W.window?.parent===W.window&&!n||r?e:(W.window&&!W.window.__STORYBOOK_ADDON_INTERACTIONS_INSTRUMENTER__&&(W.window.__STORYBOOK_ADDON_INTERACTIONS_INSTRUMENTER__=new I_),(W.window?.__STORYBOOK_ADDON_INTERACTIONS_INSTRUMENTER__).instrument(e,t))}catch(t){return Mo.warn(t),e}}function R_(e,t){let n=e;for(;n!=null;){let e=Object.getOwnPropertyDescriptor(n,t);if(e)return e;n=Object.getPrototypeOf(n)}}function z_(e){if(typeof e!=`function`)return!1;let t=Object.getOwnPropertyDescriptor(e,`prototype`);return t?!t.writable:!1}var B_=Object.defineProperty,K=(e,t)=>B_(e,`name`,{value:t,configurable:!0}),V_=(e,t)=>{for(var n in t)B_(e,n,{get:t[n],enumerable:!0})},H_={};V_(H_,{addChainableMethod:()=>Yy,addLengthGuard:()=>Iy,addMethod:()=>Vy,addProperty:()=>Py,checkError:()=>U_,compareByInspect:()=>Zy,eql:()=>uy,expectTypes:()=>nv,flag:()=>q,getActual:()=>rv,getMessage:()=>ry,getName:()=>rb,getOperator:()=>nb,getOwnEnumerableProperties:()=>$y,getOwnEnumerablePropertySymbols:()=>Qy,getPathInfo:()=>jy,hasProperty:()=>Oy,inspect:()=>ty,isNaN:()=>eb,isNumeric:()=>ab,isProxyEnabled:()=>Ny,isRegExp:()=>ib,objDisplay:()=>ny,overwriteChainableMethod:()=>Xy,overwriteMethod:()=>Uy,overwriteProperty:()=>Hy,proxify:()=>zy,test:()=>Z_,transferFlags:()=>iy,type:()=>Q_});var U_={};V_(U_,{compatibleConstructor:()=>q_,compatibleInstance:()=>K_,compatibleMessage:()=>J_,getConstructorName:()=>Y_,getMessage:()=>X_});function W_(e){return e instanceof Error||Object.prototype.toString.call(e)===`[object Error]`}K(W_,`isErrorInstance`);function G_(e){return Object.prototype.toString.call(e)===`[object RegExp]`}K(G_,`isRegExp`);function K_(e,t){return W_(t)&&e===t}K(K_,`compatibleInstance`);function q_(e,t){return W_(t)?e.constructor===t.constructor||e instanceof t.constructor:(typeof t==`object`||typeof t==`function`)&&t.prototype?e.constructor===t||e instanceof t:!1}K(q_,`compatibleConstructor`);function J_(e,t){let n=typeof e==`string`?e:e.message;return G_(t)?t.test(n):typeof t==`string`?n.indexOf(t)!==-1:!1}K(J_,`compatibleMessage`);function Y_(e){let t=e;return W_(e)?t=e.constructor.name:typeof e==`function`&&(t=e.name,t===``&&(t=new e().name||t)),t}K(Y_,`getConstructorName`);function X_(e){let t=``;return e&&e.message?t=e.message:typeof e==`string`&&(t=e),t}K(X_,`getMessage`);function q(e,t,n){let r=e.__flags||=Object.create(null);if(arguments.length===3)r[t]=n;else return r[t]}K(q,`flag`);function Z_(e,t){let n=q(e,`negate`),r=t[0];return n?!r:r}K(Z_,`test`);function Q_(e){if(typeof e>`u`)return`undefined`;if(e===null)return`null`;let t=e[Symbol.toStringTag];return typeof t==`string`?t:Object.prototype.toString.call(e).slice(8,-1)}K(Q_,`type`);var $_=`captureStackTrace`in Error,ev,tv=(ev=class extends Error{message;get name(){return`AssertionError`}get ok(){return!1}constructor(e=`Unspecified AssertionError`,t,n){for(let r in super(e),this.message=e,$_&&Error.captureStackTrace(this,n||ev),t)r in this||(this[r]=t[r])}toJSON(e){return{...this,name:this.name,message:this.message,ok:!1,stack:e===!1?void 0:this.stack}}},K(ev,`AssertionError`),ev);function nv(e,t){let n=q(e,`message`),r=q(e,`ssfi`);n=n?n+`: `:``,e=q(e,`object`),t=t.map(function(e){return e.toLowerCase()}),t.sort();let i=t.map(function(e,n){let r=~[`a`,`e`,`i`,`o`,`u`].indexOf(e.charAt(0))?`an`:`a`;return(t.length>1&&n===t.length-1?`or `:``)+r+` `+e}).join(`, `),a=Q_(e).toLowerCase();if(!t.some(function(e){return a===e}))throw new tv(n+`object tested must be `+i+`, but `+a+` given`,void 0,r)}K(nv,`expectTypes`);function rv(e,t){return t.length>4?t[4]:e._obj}K(rv,`getActual`);var iv={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`]},av={special:`cyan`,number:`yellow`,bigint:`yellow`,boolean:`yellow`,undefined:`grey`,null:`bold`,string:`green`,symbol:`green`,date:`magenta`,regexp:`red`},ov=`…`;function sv(e,t){let n=iv[av[t]]||iv[t]||``;return n?`\x1B[${n[0]}m${String(e)}\x1B[${n[1]}m`:String(e)}K(sv,`colorise`);function cv({showHidden:e=!1,depth:t=2,colors:n=!1,customInspect:r=!0,showProxy:i=!1,maxArrayLength:a=1/0,breakLength:o=1/0,seen:s=[],truncate:c=1/0,stylize:l=String}={},u){let d={showHidden:!!e,depth:Number(t),colors:!!n,customInspect:!!r,showProxy:!!i,maxArrayLength:Number(a),breakLength:Number(o),truncate:Number(c),seen:s,inspect:u,stylize:l};return d.colors&&(d.stylize=sv),d}K(cv,`normaliseOptions`);function lv(e){return e>=`\ud800`&&e<=`\udbff`}K(lv,`isHighSurrogate`);function uv(e,t,n=ov){e=String(e);let r=n.length,i=e.length;if(r>t&&i>r)return n;if(i>t&&i>r){let i=t-r;return i>0&&lv(e[i-1])&&--i,`${e.slice(0,i)}${n}`}return e}K(uv,`truncate`);function dv(e,t,n,r=`, `){n||=t.inspect;let i=e.length;if(i===0)return``;let a=t.truncate,o=``,s=``,c=``;for(let l=0;l<i;l+=1){let i=l+1===e.length,u=l+2===e.length;c=`${ov}(${e.length-l})`;let d=e[l];t.truncate=a-o.length-(i?0:r.length);let f=s||n(d,t)+(i?``:r),p=o.length+f.length,m=p+c.length;if(i&&p>a&&o.length+c.length<=a||!i&&!u&&m>a||(s=i?``:n(e[l+1],t)+(u?``:r),!i&&u&&m>a&&p+s.length>a))break;if(o+=f,!i&&!u&&p+s.length>=a){c=`${ov}(${e.length-l-1})`;break}c=``}return`${o}${c}`}K(dv,`inspectList`);function fv(e){return e.match(/^[a-zA-Z_][a-zA-Z_0-9]*$/)?e:JSON.stringify(e).replace(/'/g,`\\'`).replace(/\\"/g,`"`).replace(/(^"|"$)/g,`'`)}K(fv,`quoteComplexKey`);function pv([e,t],n){return n.truncate-=2,typeof e==`string`?e=fv(e):typeof e!=`number`&&(e=`[${n.inspect(e,n)}]`),n.truncate-=e.length,t=n.inspect(t,n),`${e}: ${t}`}K(pv,`inspectProperty`);function mv(e,t){let n=Object.keys(e).slice(e.length);if(!e.length&&!n.length)return`[]`;t.truncate-=4;let r=dv(e,t);t.truncate-=r.length;let i=``;return n.length&&(i=dv(n.map(t=>[t,e[t]]),t,pv)),`[ ${r}${i?`, ${i}`:``} ]`}K(mv,`inspectArray`);var hv=K(e=>typeof Buffer==`function`&&e instanceof Buffer?`Buffer`:e[Symbol.toStringTag]?e[Symbol.toStringTag]:e.constructor.name,`getArrayName`);function gv(e,t){let n=hv(e);t.truncate-=n.length+4;let r=Object.keys(e).slice(e.length);if(!e.length&&!r.length)return`${n}[]`;let i=``;for(let n=0;n<e.length;n++){let r=`${t.stylize(uv(e[n],t.truncate),`number`)}${n===e.length-1?``:`, `}`;if(t.truncate-=r.length,e[n]!==e.length&&t.truncate<=3){i+=`${ov}(${e.length-e[n]+1})`;break}i+=r}let a=``;return r.length&&(a=dv(r.map(t=>[t,e[t]]),t,pv)),`${n}[ ${i}${a?`, ${a}`:``} ]`}K(gv,`inspectTypedArray`);function _v(e,t){let n=e.toJSON();if(n===null)return`Invalid Date`;let r=n.split(`T`),i=r[0];return t.stylize(`${i}T${uv(r[1],t.truncate-i.length-1)}`,`date`)}K(_v,`inspectDate`);function vv(e,t){let n=e[Symbol.toStringTag]||`Function`,r=e.name;return r?t.stylize(`[${n} ${uv(r,t.truncate-11)}]`,`special`):t.stylize(`[${n}]`,`special`)}K(vv,`inspectFunction`);function yv([e,t],n){return n.truncate-=4,e=n.inspect(e,n),n.truncate-=e.length,t=n.inspect(t,n),`${e} => ${t}`}K(yv,`inspectMapEntry`);function bv(e){let t=[];return e.forEach((e,n)=>{t.push([n,e])}),t}K(bv,`mapToEntries`);function xv(e,t){return e.size===0?`Map{}`:(t.truncate-=7,`Map{ ${dv(bv(e),t,yv)} }`)}K(xv,`inspectMap`);var Sv=Number.isNaN||(e=>e!==e);function Cv(e,t){return Sv(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(uv(String(e),t.truncate),`number`)}K(Cv,`inspectNumber`);function wv(e,t){let n=uv(e.toString(),t.truncate-1);return n!==ov&&(n+=`n`),t.stylize(n,`bigint`)}K(wv,`inspectBigInt`);function Tv(e,t){let n=e.toString().split(`/`)[2],r=t.truncate-(2+n.length),i=e.source;return t.stylize(`/${uv(i,r)}/${n}`,`regexp`)}K(Tv,`inspectRegExp`);function Ev(e){let t=[];return e.forEach(e=>{t.push(e)}),t}K(Ev,`arrayFromSet`);function Dv(e,t){return e.size===0?`Set{}`:(t.truncate-=7,`Set{ ${dv(Ev(e),t)} }`)}K(Dv,`inspectSet`);var Ov=RegExp(`['\\u0000-\\u001f\\u007f-\\u009f\\u00ad\\u0600-\\u0604\\u070f\\u17b4\\u17b5\\u200c-\\u200f\\u2028-\\u202f\\u2060-\\u206f\\ufeff\\ufff0-\\uffff]`,`g`),kv={"\b":`\\b`," ":`\\t`,"\n":`\\n`,"\f":`\\f`,"\r":`\\r`,"'":`\\'`,"\\":`\\\\`},Av=16,jv=4;function Mv(e){return kv[e]||`\\u${`0000${e.charCodeAt(0).toString(Av)}`.slice(-jv)}`}K(Mv,`escape`);function Nv(e,t){return Ov.test(e)&&(e=e.replace(Ov,Mv)),t.stylize(`'${uv(e,t.truncate-2)}'`,`string`)}K(Nv,`inspectString`);function Pv(e){return`description`in Symbol.prototype?e.description?`Symbol(${e.description})`:`Symbol()`:e.toString()}K(Pv,`inspectSymbol`);var Fv=K(()=>`Promise{…}`,`getPromiseValue`);function Iv(e,t){let n=Object.getOwnPropertyNames(e),r=Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e):[];if(n.length===0&&r.length===0)return`{}`;if(t.truncate-=4,t.seen=t.seen||[],t.seen.includes(e))return`[Circular]`;t.seen.push(e);let i=dv(n.map(t=>[t,e[t]]),t,pv),a=dv(r.map(t=>[t,e[t]]),t,pv);t.seen.pop();let o=``;return i&&a&&(o=`, `),`{ ${i}${o}${a} }`}K(Iv,`inspectObject`);var Lv=typeof Symbol<`u`&&Symbol.toStringTag?Symbol.toStringTag:!1;function Rv(e,t){let n=``;return Lv&&Lv in e&&(n=e[Lv]),n||=e.constructor.name,(!n||n===`_class`)&&(n=`<Anonymous Class>`),t.truncate-=n.length,`${n}${Iv(e,t)}`}K(Rv,`inspectClass`);function zv(e,t){return e.length===0?`Arguments[]`:(t.truncate-=13,`Arguments[ ${dv(e,t)} ]`)}K(zv,`inspectArguments`);var Bv=[`stack`,`line`,`column`,`name`,`message`,`fileName`,`lineNumber`,`columnNumber`,`number`,`description`,`cause`];function Vv(e,t){let n=Object.getOwnPropertyNames(e).filter(e=>Bv.indexOf(e)===-1),r=e.name;t.truncate-=r.length;let i=``;if(typeof e.message==`string`?i=uv(e.message,t.truncate):n.unshift(`message`),i=i?`: ${i}`:``,t.truncate-=i.length+5,t.seen=t.seen||[],t.seen.includes(e))return`[Circular]`;t.seen.push(e);let a=dv(n.map(t=>[t,e[t]]),t,pv);return`${r}${i}${a?` { ${a} }`:``}`}K(Vv,`inspectObject`);function Hv([e,t],n){return n.truncate-=3,t?`${n.stylize(String(e),`yellow`)}=${n.stylize(`"${t}"`,`string`)}`:`${n.stylize(String(e),`yellow`)}`}K(Hv,`inspectAttribute`);function Uv(e,t){return dv(e,t,Wv,`
213
+ `)}K(Uv,`inspectNodeCollection`);function Wv(e,t){switch(e.nodeType){case 1:return Gv(e,t);case 3:return t.inspect(e.data,t);default:return t.inspect(e,t)}}K(Wv,`inspectNode`);function Gv(e,t){let n=e.getAttributeNames(),r=e.tagName.toLowerCase(),i=t.stylize(`<${r}`,`special`),a=t.stylize(`>`,`special`),o=t.stylize(`</${r}>`,`special`);t.truncate-=r.length*2+5;let s=``;n.length>0&&(s+=` `,s+=dv(n.map(t=>[t,e.getAttribute(t)]),t,Hv,` `)),t.truncate-=s.length;let c=t.truncate,l=Uv(e.children,t);return l&&l.length>c&&(l=`${ov}(${e.children.length})`),`${i}${s}${a}${l}${o}`}K(Gv,`inspectHTML`);var Kv=typeof Symbol==`function`&&typeof Symbol.for==`function`?Symbol.for(`chai/inspect`):`@@chai/inspect`,qv=Symbol.for(`nodejs.util.inspect.custom`),Jv=new WeakMap,Yv={},Xv={undefined:K((e,t)=>t.stylize(`undefined`,`undefined`),`undefined`),null:K((e,t)=>t.stylize(`null`,`null`),`null`),boolean:K((e,t)=>t.stylize(String(e),`boolean`),`boolean`),Boolean:K((e,t)=>t.stylize(String(e),`boolean`),`Boolean`),number:Cv,Number:Cv,bigint:wv,BigInt:wv,string:Nv,String:Nv,function:vv,Function:vv,symbol:Pv,Symbol:Pv,Array:mv,Date:_v,Map:xv,Set:Dv,RegExp:Tv,Promise:Fv,WeakSet:K((e,t)=>t.stylize(`WeakSet{…}`,`special`),`WeakSet`),WeakMap:K((e,t)=>t.stylize(`WeakMap{…}`,`special`),`WeakMap`),Arguments:zv,Int8Array:gv,Uint8Array:gv,Uint8ClampedArray:gv,Int16Array:gv,Uint16Array:gv,Int32Array:gv,Uint32Array:gv,Float32Array:gv,Float64Array:gv,Generator:K(()=>``,`Generator`),DataView:K(()=>``,`DataView`),ArrayBuffer:K(()=>``,`ArrayBuffer`),Error:Vv,HTMLCollection:Uv,NodeList:Uv},Zv=K((e,t,n)=>Kv in e&&typeof e[Kv]==`function`?e[Kv](t):qv in e&&typeof e[qv]==`function`?e[qv](t.depth,t):`inspect`in e&&typeof e.inspect==`function`?e.inspect(t.depth,t):`constructor`in e&&Jv.has(e.constructor)?Jv.get(e.constructor)(e,t):Yv[n]?Yv[n](e,t):``,`inspectCustom`),Qv=Object.prototype.toString;function $v(e,t={}){let n=cv(t,$v),{customInspect:r}=n,i=e===null?`null`:typeof e;if(i===`object`&&(i=Qv.call(e).slice(8,-1)),i in Xv)return Xv[i](e,n);if(r&&e){let t=Zv(e,n,i);if(t)return typeof t==`string`?t:$v(t,n)}let a=e?Object.getPrototypeOf(e):!1;return a===Object.prototype||a===null?Iv(e,n):e&&typeof HTMLElement==`function`&&e instanceof HTMLElement?Gv(e,n):`constructor`in e?e.constructor===Object?Iv(e,n):Rv(e,n):e===Object(e)?Iv(e,n):n.stylize(String(e),i)}K($v,`inspect`);var ey={includeStack:!1,showDiff:!0,truncateThreshold:40,useProxy:!0,proxyExcludedKeys:[`then`,`catch`,`inspect`,`toJSON`],deepEqual:null};function ty(e,t,n,r){return $v(e,{colors:r,depth:typeof n>`u`?2:n,showHidden:t,truncate:ey.truncateThreshold?ey.truncateThreshold:1/0})}K(ty,`inspect`);function ny(e){let t=ty(e),n=Object.prototype.toString.call(e);if(ey.truncateThreshold&&t.length>=ey.truncateThreshold){if(n===`[object Function]`)return!e.name||e.name===``?`[Function]`:`[Function: `+e.name+`]`;if(n===`[object Array]`)return`[ Array(`+e.length+`) ]`;if(n===`[object Object]`){let t=Object.keys(e);return`{ Object (`+(t.length>2?t.splice(0,2).join(`, `)+`, ...`:t.join(`, `))+`) }`}else return t}else return t}K(ny,`objDisplay`);function ry(e,t){let n=q(e,`negate`),r=q(e,`object`),i=t[3],a=rv(e,t),o=n?t[2]:t[1],s=q(e,`message`);return typeof o==`function`&&(o=o()),o||=``,o=o.replace(/#\{this\}/g,function(){return ny(r)}).replace(/#\{act\}/g,function(){return ny(a)}).replace(/#\{exp\}/g,function(){return ny(i)}),s?s+`: `+o:o}K(ry,`getMessage`);function iy(e,t,n){let r=e.__flags||=Object.create(null);for(let e in t.__flags||=Object.create(null),n=arguments.length===3?n:!0,r)(n||e!==`object`&&e!==`ssfi`&&e!==`lockSsfi`&&e!=`message`)&&(t.__flags[e]=r[e])}K(iy,`transferFlags`);function ay(e){if(typeof e>`u`)return`undefined`;if(e===null)return`null`;let t=e[Symbol.toStringTag];return typeof t==`string`?t:Object.prototype.toString.call(e).slice(8,-1)}K(ay,`type`);function oy(){this._key=`chai/deep-eql__`+Math.random()+Date.now()}K(oy,`FakeMap`),oy.prototype={get:K(function(e){return e[this._key]},`get`),set:K(function(e,t){Object.isExtensible(e)&&Object.defineProperty(e,this._key,{value:t,configurable:!0})},`set`)};var sy=typeof WeakMap==`function`?WeakMap:oy;function cy(e,t,n){if(!n||Ey(e)||Ey(t))return null;var r=n.get(e);if(r){var i=r.get(t);if(typeof i==`boolean`)return i}return null}K(cy,`memoizeCompare`);function ly(e,t,n,r){if(!(!n||Ey(e)||Ey(t))){var i=n.get(e);i?i.set(t,r):(i=new sy,i.set(t,r),n.set(e,i))}}K(ly,`memoizeSet`);var uy=dy;function dy(e,t,n){if(n&&n.comparator)return py(e,t,n);var r=fy(e,t);return r===null?py(e,t,n):r}K(dy,`deepEqual`);function fy(e,t){return e===t?e!==0||1/e==1/t:e!==e&&t!==t?!0:Ey(e)||Ey(t)?!1:null}K(fy,`simpleEqual`);function py(e,t,n){n||={},n.memoize=n.memoize===!1?!1:n.memoize||new sy;var r=n&&n.comparator,i=cy(e,t,n.memoize);if(i!==null)return i;var a=cy(t,e,n.memoize);if(a!==null)return a;if(r){var o=r(e,t);if(o===!1||o===!0)return ly(e,t,n.memoize,o),o;var s=fy(e,t);if(s!==null)return s}var c=ay(e);if(c!==ay(t))return ly(e,t,n.memoize,!1),!1;ly(e,t,n.memoize,!0);var l=my(e,t,c,n);return ly(e,t,n.memoize,l),l}K(py,`extensiveDeepEqual`);function my(e,t,n,r){switch(n){case`String`:case`Number`:case`Boolean`:case`Date`:return dy(e.valueOf(),t.valueOf());case`Promise`:case`Symbol`:case`function`:case`WeakMap`:case`WeakSet`:return e===t;case`Error`:return wy(e,t,[`name`,`message`,`code`],r);case`Arguments`:case`Int8Array`:case`Uint8Array`:case`Uint8ClampedArray`:case`Int16Array`:case`Uint16Array`:case`Int32Array`:case`Uint32Array`:case`Float32Array`:case`Float64Array`:case`Array`:return _y(e,t,r);case`RegExp`:return hy(e,t);case`Generator`:return vy(e,t,r);case`DataView`:return _y(new Uint8Array(e.buffer),new Uint8Array(t.buffer),r);case`ArrayBuffer`:return _y(new Uint8Array(e),new Uint8Array(t),r);case`Set`:return gy(e,t,r);case`Map`:return gy(e,t,r);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 Ty(e,t,r)}}K(my,`extensiveDeepEqualByType`);function hy(e,t){return e.toString()===t.toString()}K(hy,`regexpEqual`);function gy(e,t,n){try{if(e.size!==t.size)return!1;if(e.size===0)return!0}catch{return!1}var r=[],i=[];return e.forEach(K(function(e,t){r.push([e,t])},`gatherEntries`)),t.forEach(K(function(e,t){i.push([e,t])},`gatherEntries`)),_y(r.sort(),i.sort(),n)}K(gy,`entriesEqual`);function _y(e,t,n){var r=e.length;if(r!==t.length)return!1;if(r===0)return!0;for(var i=-1;++i<r;)if(dy(e[i],t[i],n)===!1)return!1;return!0}K(_y,`iterableEqual`);function vy(e,t,n){return _y(xy(e),xy(t),n)}K(vy,`generatorEqual`);function yy(e){return typeof Symbol<`u`&&typeof e==`object`&&typeof Symbol.iterator<`u`&&typeof e[Symbol.iterator]==`function`}K(yy,`hasIteratorFunction`);function by(e){if(yy(e))try{return xy(e[Symbol.iterator]())}catch{return[]}return[]}K(by,`getIteratorEntries`);function xy(e){for(var t=e.next(),n=[t.value];t.done===!1;)t=e.next(),n.push(t.value);return n}K(xy,`getGeneratorEntries`);function Sy(e){var t=[];for(var n in e)t.push(n);return t}K(Sy,`getEnumerableKeys`);function Cy(e){for(var t=[],n=Object.getOwnPropertySymbols(e),r=0;r<n.length;r+=1){var i=n[r];Object.getOwnPropertyDescriptor(e,i).enumerable&&t.push(i)}return t}K(Cy,`getEnumerableSymbols`);function wy(e,t,n,r){var i=n.length;if(i===0)return!0;for(var a=0;a<i;a+=1)if(dy(e[n[a]],t[n[a]],r)===!1)return!1;return!0}K(wy,`keysEqual`);function Ty(e,t,n){var r=Sy(e),i=Sy(t),a=Cy(e),o=Cy(t);if(r=r.concat(a),i=i.concat(o),r.length&&r.length===i.length)return _y(Dy(r).sort(),Dy(i).sort())===!1?!1:wy(e,t,r,n);var s=by(e),c=by(t);return s.length&&s.length===c.length?(s.sort(),c.sort(),_y(s,c,n)):r.length===0&&s.length===0&&i.length===0&&c.length===0}K(Ty,`objectEqual`);function Ey(e){return typeof e!=`object`||!e}K(Ey,`isPrimitive`);function Dy(e){return e.map(K(function(e){return typeof e==`symbol`?e.toString():e},`mapSymbol`))}K(Dy,`mapSymbols`);function Oy(e,t){return typeof e>`u`||e===null?!1:t in Object(e)}K(Oy,`hasProperty`);function ky(e){return e.replace(/([^\\])\[/g,`$1.[`).match(/(\\\.|[^.]+?)+/g).map(e=>{if(e===`constructor`||e===`__proto__`||e===`prototype`)return{};let t=/^\[(\d+)\]$/.exec(e),n=null;return n=t?{i:parseFloat(t[1])}:{p:e.replace(/\\([.[\]])/g,`$1`)},n})}K(ky,`parsePath`);function Ay(e,t,n){let r=e,i=null;n=typeof n>`u`?t.length:n;for(let e=0;e<n;e++){let a=t[e];r&&(r=typeof a.p>`u`?r[a.i]:r[a.p],e===n-1&&(i=r))}return i}K(Ay,`internalGetPathValue`);function jy(e,t){let n=ky(t),r=n[n.length-1],i={parent:n.length>1?Ay(e,n,n.length-1):e,name:r.p||r.i,value:Ay(e,n)};return i.exists=Oy(i.parent,i.name),i}K(jy,`getPathInfo`);var My,J=(My=class{__flags={};constructor(e,t,n,r){return q(this,`ssfi`,n||My),q(this,`lockSsfi`,r),q(this,`object`,e),q(this,`message`,t),q(this,`eql`,ey.deepEqual||uy),zy(this)}static get includeStack(){return console.warn(`Assertion.includeStack is deprecated, use chai.config.includeStack instead.`),ey.includeStack}static set includeStack(e){console.warn(`Assertion.includeStack is deprecated, use chai.config.includeStack instead.`),ey.includeStack=e}static get showDiff(){return console.warn(`Assertion.showDiff is deprecated, use chai.config.showDiff instead.`),ey.showDiff}static set showDiff(e){console.warn(`Assertion.showDiff is deprecated, use chai.config.showDiff instead.`),ey.showDiff=e}static addProperty(e,t){Py(this.prototype,e,t)}static addMethod(e,t){Vy(this.prototype,e,t)}static addChainableMethod(e,t,n){Yy(this.prototype,e,t,n)}static overwriteProperty(e,t){Hy(this.prototype,e,t)}static overwriteMethod(e,t){Uy(this.prototype,e,t)}static overwriteChainableMethod(e,t,n){Xy(this.prototype,e,t,n)}assert(e,t,n,r,i,a){let o=Z_(this,arguments);if(a!==!1&&(a=!0),r===void 0&&i===void 0&&(a=!1),ey.showDiff!==!0&&(a=!1),!o){t=ry(this,arguments);let e={actual:rv(this,arguments),expected:r,showDiff:a},n=nb(this,arguments);throw n&&(e.operator=n),new tv(t,e,ey.includeStack?this.assert:q(this,`ssfi`))}}get _obj(){return q(this,`object`)}set _obj(e){q(this,`object`,e)}},K(My,`Assertion`),My);function Ny(){return ey.useProxy&&typeof Proxy<`u`&&typeof Reflect<`u`}K(Ny,`isProxyEnabled`);function Py(e,t,n){n=n===void 0?function(){}:n,Object.defineProperty(e,t,{get:K(function e(){!Ny()&&!q(this,`lockSsfi`)&&q(this,`ssfi`,e);let t=n.call(this);if(t!==void 0)return t;let r=new J;return iy(this,r),r},`propertyGetter`),configurable:!0})}K(Py,`addProperty`);var Fy=Object.getOwnPropertyDescriptor(function(){},`length`);function Iy(e,t,n){return Fy.configurable&&Object.defineProperty(e,`length`,{get:K(function(){throw Error(n?`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}K(Iy,`addLengthGuard`);function Ly(e){let t=Object.getOwnPropertyNames(e);function n(e){t.indexOf(e)===-1&&t.push(e)}K(n,`addProperty`);let r=Object.getPrototypeOf(e);for(;r!==null;)Object.getOwnPropertyNames(r).forEach(n),r=Object.getPrototypeOf(r);return t}K(Ly,`getProperties`);var Ry=[`__flags`,`__methods`,`_obj`,`assert`];function zy(e,t){return Ny()?new Proxy(e,{get:K(function e(n,r){if(typeof r==`string`&&ey.proxyExcludedKeys.indexOf(r)===-1&&!Reflect.has(n,r)){if(t)throw Error(`Invalid Chai property: `+t+`.`+r+`. See docs for proper usage of "`+t+`".`);let e=null,i=4;throw Ly(n).forEach(function(t){if(!Object.prototype.hasOwnProperty(t)&&Ry.indexOf(t)===-1){let n=By(r,t,i);n<i&&(e=t,i=n)}}),Error(e===null?`Invalid Chai property: `+r:`Invalid Chai property: `+r+`. Did you mean "`+e+`"?`)}return Ry.indexOf(r)===-1&&!q(n,`lockSsfi`)&&q(n,`ssfi`,e),Reflect.get(n,r)},`proxyGetter`)}):e}K(zy,`proxify`);function By(e,t,n){if(Math.abs(e.length-t.length)>=n)return n;let r=[];for(let n=0;n<=e.length;n++)r[n]=Array(t.length+1).fill(0),r[n][0]=n;for(let e=0;e<t.length;e++)r[0][e]=e;for(let i=1;i<=e.length;i++){let a=e.charCodeAt(i-1);for(let e=1;e<=t.length;e++){if(Math.abs(i-e)>=n){r[i][e]=n;continue}r[i][e]=Math.min(r[i-1][e]+1,r[i][e-1]+1,r[i-1][e-1]+(a===t.charCodeAt(e-1)?0:1))}}return r[e.length][t.length]}K(By,`stringDistanceCapped`);function Vy(e,t,n){let r=K(function(){q(this,`lockSsfi`)||q(this,`ssfi`,r);let e=n.apply(this,arguments);if(e!==void 0)return e;let t=new J;return iy(this,t),t},`methodWrapper`);Iy(r,t,!1),e[t]=zy(r,t)}K(Vy,`addMethod`);function Hy(e,t,n){let r=Object.getOwnPropertyDescriptor(e,t),i=K(function(){},`_super`);r&&typeof r.get==`function`&&(i=r.get),Object.defineProperty(e,t,{get:K(function e(){!Ny()&&!q(this,`lockSsfi`)&&q(this,`ssfi`,e);let t=q(this,`lockSsfi`);q(this,`lockSsfi`,!0);let r=n(i).call(this);if(q(this,`lockSsfi`,t),r!==void 0)return r;let a=new J;return iy(this,a),a},`overwritingPropertyGetter`),configurable:!0})}K(Hy,`overwriteProperty`);function Uy(e,t,n){let r=e[t],i=K(function(){throw Error(t+` is not a function`)},`_super`);r&&typeof r==`function`&&(i=r);let a=K(function(){q(this,`lockSsfi`)||q(this,`ssfi`,a);let e=q(this,`lockSsfi`);q(this,`lockSsfi`,!0);let t=n(i).apply(this,arguments);if(q(this,`lockSsfi`,e),t!==void 0)return t;let r=new J;return iy(this,r),r},`overwritingMethodWrapper`);Iy(a,t,!1),e[t]=zy(a,t)}K(Uy,`overwriteMethod`);var Wy=typeof Object.setPrototypeOf==`function`,Gy=K(function(){},`testFn`),Ky=Object.getOwnPropertyNames(Gy).filter(function(e){let t=Object.getOwnPropertyDescriptor(Gy,e);return typeof t==`object`?!t.configurable:!0}),qy=Function.prototype.call,Jy=Function.prototype.apply;function Yy(e,t,n,r){typeof r!=`function`&&(r=K(function(){},`chainingBehavior`));let i={method:n,chainingBehavior:r};e.__methods||={},e.__methods[t]=i,Object.defineProperty(e,t,{get:K(function(){i.chainingBehavior.call(this);let n=K(function(){q(this,`lockSsfi`)||q(this,`ssfi`,n);let e=i.method.apply(this,arguments);if(e!==void 0)return e;let t=new J;return iy(this,t),t},`chainableMethodWrapper`);if(Iy(n,t,!0),Wy){let e=Object.create(this);e.call=qy,e.apply=Jy,Object.setPrototypeOf(n,e)}else Object.getOwnPropertyNames(e).forEach(function(t){if(Ky.indexOf(t)!==-1)return;let r=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(n,t,r)});return iy(this,n),zy(n)},`chainableMethodGetter`),configurable:!0})}K(Yy,`addChainableMethod`);function Xy(e,t,n,r){let i=e.__methods[t],a=i.chainingBehavior;i.chainingBehavior=K(function(){let e=r(a).call(this);if(e!==void 0)return e;let t=new J;return iy(this,t),t},`overwritingChainableMethodGetter`);let o=i.method;i.method=K(function(){let e=n(o).apply(this,arguments);if(e!==void 0)return e;let t=new J;return iy(this,t),t},`overwritingChainableMethodWrapper`)}K(Xy,`overwriteChainableMethod`);function Zy(e,t){return ty(e)<ty(t)?-1:1}K(Zy,`compareByInspect`);function Qy(e){return typeof Object.getOwnPropertySymbols==`function`?Object.getOwnPropertySymbols(e).filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}):[]}K(Qy,`getOwnEnumerablePropertySymbols`);function $y(e){return Object.keys(e).concat(Qy(e))}K($y,`getOwnEnumerableProperties`);var eb=Number.isNaN;function tb(e){let t=Q_(e);return[`Array`,`Object`,`Function`].indexOf(t)!==-1}K(tb,`isObjectType`);function nb(e,t){let n=q(e,`operator`),r=q(e,`negate`),i=t[3],a=r?t[2]:t[1];if(n)return n;if(typeof a==`function`&&(a=a()),a||=``,!a||/\shave\s/.test(a))return;let o=tb(i);return/\snot\s/.test(a)?o?`notDeepStrictEqual`:`notStrictEqual`:o?`deepStrictEqual`:`strictEqual`}K(nb,`getOperator`);function rb(e){return e.name}K(rb,`getName`);function ib(e){return Object.prototype.toString.call(e)===`[object RegExp]`}K(ib,`isRegExp`);function ab(e){return[`Number`,`BigInt`].includes(Q_(e))}K(ab,`isNumeric`);var{flag:Y}=H_;[`to`,`be`,`been`,`is`,`and`,`has`,`have`,`with`,`that`,`which`,`at`,`of`,`same`,`but`,`does`,`still`,`also`].forEach(function(e){J.addProperty(e)}),J.addProperty(`not`,function(){Y(this,`negate`,!0)}),J.addProperty(`deep`,function(){Y(this,`deep`,!0)}),J.addProperty(`nested`,function(){Y(this,`nested`,!0)}),J.addProperty(`own`,function(){Y(this,`own`,!0)}),J.addProperty(`ordered`,function(){Y(this,`ordered`,!0)}),J.addProperty(`any`,function(){Y(this,`any`,!0),Y(this,`all`,!1)}),J.addProperty(`all`,function(){Y(this,`all`,!0),Y(this,`any`,!1)});var ob={function:[`function`,`asyncfunction`,`generatorfunction`,`asyncgeneratorfunction`],asyncfunction:[`asyncfunction`,`asyncgeneratorfunction`],generatorfunction:[`generatorfunction`,`asyncgeneratorfunction`],asyncgeneratorfunction:[`asyncgeneratorfunction`]};function sb(e,t){t&&Y(this,`message`,t),e=e.toLowerCase();let n=Y(this,`object`),r=~[`a`,`e`,`i`,`o`,`u`].indexOf(e.charAt(0))?`an `:`a `,i=Q_(n).toLowerCase();ob.function.includes(e)?this.assert(ob[e].includes(i),`expected #{this} to be `+r+e,`expected #{this} not to be `+r+e):this.assert(e===i,`expected #{this} to be `+r+e,`expected #{this} not to be `+r+e)}K(sb,`an`),J.addChainableMethod(`an`,sb),J.addChainableMethod(`a`,sb);function cb(e,t){return eb(e)&&eb(t)||e===t}K(cb,`SameValueZero`);function lb(){Y(this,`contains`,!0)}K(lb,`includeChainingBehavior`);function ub(e,t){t&&Y(this,`message`,t);let n=Y(this,`object`),r=Q_(n).toLowerCase(),i=Y(this,`message`),a=Y(this,`negate`),o=Y(this,`ssfi`),s=Y(this,`deep`),c=s?`deep `:``,l=s?Y(this,`eql`):cb;i=i?i+`: `:``;let u=!1;switch(r){case`string`:u=n.indexOf(e)!==-1;break;case`weakset`:if(s)throw new tv(i+`unable to use .deep.include with WeakSet`,void 0,o);u=n.has(e);break;case`map`:n.forEach(function(t){u||=l(t,e)});break;case`set`:s?n.forEach(function(t){u||=l(t,e)}):u=n.has(e);break;case`array`:u=s?n.some(function(t){return l(t,e)}):n.indexOf(e)!==-1;break;default:{if(e!==Object(e))throw new tv(i+`the given combination of arguments (`+r+` and `+Q_(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 `+Q_(e).toLowerCase(),void 0,o);let t=Object.keys(e),s=null,c=0;if(t.forEach(function(r){let i=new J(n);if(iy(this,i,!0),Y(i,`lockSsfi`,!0),!a||t.length===1){i.property(r,e[r]);return}try{i.property(r,e[r])}catch(e){if(!U_.compatibleConstructor(e,tv))throw e;s===null&&(s=e),c++}},this),a&&t.length>1&&c===t.length)throw s;return}}this.assert(u,`expected #{this} to `+c+`include `+ty(e),`expected #{this} to not `+c+`include `+ty(e))}K(ub,`include`),J.addChainableMethod(`include`,ub,lb),J.addChainableMethod(`contain`,ub,lb),J.addChainableMethod(`contains`,ub,lb),J.addChainableMethod(`includes`,ub,lb),J.addProperty(`ok`,function(){this.assert(Y(this,`object`),`expected #{this} to be truthy`,`expected #{this} to be falsy`)}),J.addProperty(`true`,function(){this.assert(Y(this,`object`)===!0,`expected #{this} to be true`,`expected #{this} to be false`,!Y(this,`negate`))}),J.addProperty(`numeric`,function(){let e=Y(this,`object`);this.assert([`Number`,`BigInt`].includes(Q_(e)),`expected #{this} to be numeric`,`expected #{this} to not be numeric`,!Y(this,`negate`))}),J.addProperty(`callable`,function(){let e=Y(this,`object`),t=Y(this,`ssfi`),n=Y(this,`message`),r=n?`${n}: `:``,i=Y(this,`negate`),a=i?`${r}expected ${ty(e)} not to be a callable function`:`${r}expected ${ty(e)} to be a callable function`,o=[`Function`,`AsyncFunction`,`GeneratorFunction`,`AsyncGeneratorFunction`].includes(Q_(e));if(o&&i||!o&&!i)throw new tv(a,void 0,t)}),J.addProperty(`false`,function(){this.assert(Y(this,`object`)===!1,`expected #{this} to be false`,`expected #{this} to be true`,!!Y(this,`negate`))}),J.addProperty(`null`,function(){this.assert(Y(this,`object`)===null,`expected #{this} to be null`,`expected #{this} not to be null`)}),J.addProperty(`undefined`,function(){this.assert(Y(this,`object`)===void 0,`expected #{this} to be undefined`,`expected #{this} not to be undefined`)}),J.addProperty(`NaN`,function(){this.assert(eb(Y(this,`object`)),`expected #{this} to be NaN`,`expected #{this} not to be NaN`)});function db(){let e=Y(this,`object`);this.assert(e!=null,`expected #{this} to exist`,`expected #{this} to not exist`)}K(db,`assertExist`),J.addProperty(`exist`,db),J.addProperty(`exists`,db),J.addProperty(`empty`,function(){let e=Y(this,`object`),t=Y(this,`ssfi`),n=Y(this,`message`),r;switch(n=n?n+`: `:``,Q_(e).toLowerCase()){case`array`:case`string`:r=e.length;break;case`map`:case`set`:r=e.size;break;case`weakmap`:case`weakset`:throw new tv(n+`.empty was passed a weak collection`,void 0,t);case`function`:throw new tv((n+`.empty was passed a function `+rb(e)).trim(),void 0,t);default:if(e!==Object(e))throw new tv(n+`.empty was passed non-string primitive `+ty(e),void 0,t);r=Object.keys(e).length}this.assert(r===0,`expected #{this} to be empty`,`expected #{this} not to be empty`)});function fb(){let e=Q_(Y(this,`object`));this.assert(e===`Arguments`,`expected #{this} to be arguments but got `+e,`expected #{this} to not be arguments`)}K(fb,`checkArguments`),J.addProperty(`arguments`,fb),J.addProperty(`Arguments`,fb);function pb(e,t){t&&Y(this,`message`,t);let n=Y(this,`object`);if(Y(this,`deep`)){let t=Y(this,`lockSsfi`);Y(this,`lockSsfi`,!0),this.eql(e),Y(this,`lockSsfi`,t)}else this.assert(e===n,`expected #{this} to equal #{exp}`,`expected #{this} to not equal #{exp}`,e,this._obj,!0)}K(pb,`assertEqual`),J.addMethod(`equal`,pb),J.addMethod(`equals`,pb),J.addMethod(`eq`,pb);function mb(e,t){t&&Y(this,`message`,t);let n=Y(this,`eql`);this.assert(n(e,Y(this,`object`)),`expected #{this} to deeply equal #{exp}`,`expected #{this} to not deeply equal #{exp}`,e,this._obj,!0)}K(mb,`assertEql`),J.addMethod(`eql`,mb),J.addMethod(`eqls`,mb);function hb(e,t){t&&Y(this,`message`,t);let n=Y(this,`object`),r=Y(this,`doLength`),i=Y(this,`message`),a=i?i+`: `:``,o=Y(this,`ssfi`),s=Q_(n).toLowerCase(),c=Q_(e).toLowerCase();if(r&&s!==`map`&&s!==`set`&&new J(n,i,o,!0).to.have.property(`length`),!r&&s===`date`&&c!==`date`)throw new tv(a+`the argument to above must be a date`,void 0,o);if(!ab(e)&&(r||ab(n)))throw new tv(a+`the argument to above must be a number`,void 0,o);if(!r&&s!==`date`&&!ab(n)){let e=s===`string`?`'`+n+`'`:n;throw new tv(a+`expected `+e+` to be a number or a date`,void 0,o)}if(r){let t=`length`,r;s===`map`||s===`set`?(t=`size`,r=n.size):r=n.length,this.assert(r>e,`expected #{this} to have a `+t+` above #{exp} but got #{act}`,`expected #{this} to not have a `+t+` above #{exp}`,e,r)}else this.assert(n>e,`expected #{this} to be above #{exp}`,`expected #{this} to be at most #{exp}`,e)}K(hb,`assertAbove`),J.addMethod(`above`,hb),J.addMethod(`gt`,hb),J.addMethod(`greaterThan`,hb);function gb(e,t){t&&Y(this,`message`,t);let n=Y(this,`object`),r=Y(this,`doLength`),i=Y(this,`message`),a=i?i+`: `:``,o=Y(this,`ssfi`),s=Q_(n).toLowerCase(),c=Q_(e).toLowerCase(),l,u=!0;if(r&&s!==`map`&&s!==`set`&&new J(n,i,o,!0).to.have.property(`length`),!r&&s===`date`&&c!==`date`)l=a+`the argument to least must be a date`;else if(!ab(e)&&(r||ab(n)))l=a+`the argument to least must be a number`;else if(!r&&s!==`date`&&!ab(n)){let e=s===`string`?`'`+n+`'`:n;l=a+`expected `+e+` to be a number or a date`}else u=!1;if(u)throw new tv(l,void 0,o);if(r){let t=`length`,r;s===`map`||s===`set`?(t=`size`,r=n.size):r=n.length,this.assert(r>=e,`expected #{this} to have a `+t+` at least #{exp} but got #{act}`,`expected #{this} to have a `+t+` below #{exp}`,e,r)}else this.assert(n>=e,`expected #{this} to be at least #{exp}`,`expected #{this} to be below #{exp}`,e)}K(gb,`assertLeast`),J.addMethod(`least`,gb),J.addMethod(`gte`,gb),J.addMethod(`greaterThanOrEqual`,gb);function _b(e,t){t&&Y(this,`message`,t);let n=Y(this,`object`),r=Y(this,`doLength`),i=Y(this,`message`),a=i?i+`: `:``,o=Y(this,`ssfi`),s=Q_(n).toLowerCase(),c=Q_(e).toLowerCase(),l,u=!0;if(r&&s!==`map`&&s!==`set`&&new J(n,i,o,!0).to.have.property(`length`),!r&&s===`date`&&c!==`date`)l=a+`the argument to below must be a date`;else if(!ab(e)&&(r||ab(n)))l=a+`the argument to below must be a number`;else if(!r&&s!==`date`&&!ab(n)){let e=s===`string`?`'`+n+`'`:n;l=a+`expected `+e+` to be a number or a date`}else u=!1;if(u)throw new tv(l,void 0,o);if(r){let t=`length`,r;s===`map`||s===`set`?(t=`size`,r=n.size):r=n.length,this.assert(r<e,`expected #{this} to have a `+t+` below #{exp} but got #{act}`,`expected #{this} to not have a `+t+` below #{exp}`,e,r)}else this.assert(n<e,`expected #{this} to be below #{exp}`,`expected #{this} to be at least #{exp}`,e)}K(_b,`assertBelow`),J.addMethod(`below`,_b),J.addMethod(`lt`,_b),J.addMethod(`lessThan`,_b);function vb(e,t){t&&Y(this,`message`,t);let n=Y(this,`object`),r=Y(this,`doLength`),i=Y(this,`message`),a=i?i+`: `:``,o=Y(this,`ssfi`),s=Q_(n).toLowerCase(),c=Q_(e).toLowerCase(),l,u=!0;if(r&&s!==`map`&&s!==`set`&&new J(n,i,o,!0).to.have.property(`length`),!r&&s===`date`&&c!==`date`)l=a+`the argument to most must be a date`;else if(!ab(e)&&(r||ab(n)))l=a+`the argument to most must be a number`;else if(!r&&s!==`date`&&!ab(n)){let e=s===`string`?`'`+n+`'`:n;l=a+`expected `+e+` to be a number or a date`}else u=!1;if(u)throw new tv(l,void 0,o);if(r){let t=`length`,r;s===`map`||s===`set`?(t=`size`,r=n.size):r=n.length,this.assert(r<=e,`expected #{this} to have a `+t+` at most #{exp} but got #{act}`,`expected #{this} to have a `+t+` above #{exp}`,e,r)}else this.assert(n<=e,`expected #{this} to be at most #{exp}`,`expected #{this} to be above #{exp}`,e)}K(vb,`assertMost`),J.addMethod(`most`,vb),J.addMethod(`lte`,vb),J.addMethod(`lessThanOrEqual`,vb),J.addMethod(`within`,function(e,t,n){n&&Y(this,`message`,n);let r=Y(this,`object`),i=Y(this,`doLength`),a=Y(this,`message`),o=a?a+`: `:``,s=Y(this,`ssfi`),c=Q_(r).toLowerCase(),l=Q_(e).toLowerCase(),u=Q_(t).toLowerCase(),d,f=!0,p=l===`date`&&u===`date`?e.toISOString()+`..`+t.toISOString():e+`..`+t;if(i&&c!==`map`&&c!==`set`&&new J(r,a,s,!0).to.have.property(`length`),!i&&c===`date`&&(l!==`date`||u!==`date`))d=o+`the arguments to within must be dates`;else if((!ab(e)||!ab(t))&&(i||ab(r)))d=o+`the arguments to within must be numbers`;else if(!i&&c!==`date`&&!ab(r)){let e=c===`string`?`'`+r+`'`:r;d=o+`expected `+e+` to be a number or a date`}else f=!1;if(f)throw new tv(d,void 0,s);if(i){let n=`length`,i;c===`map`||c===`set`?(n=`size`,i=r.size):i=r.length,this.assert(i>=e&&i<=t,`expected #{this} to have a `+n+` within `+p,`expected #{this} to not have a `+n+` within `+p)}else this.assert(r>=e&&r<=t,`expected #{this} to be within `+p,`expected #{this} to not be within `+p)});function yb(e,t){t&&Y(this,`message`,t);let n=Y(this,`object`),r=Y(this,`ssfi`),i=Y(this,`message`),a;try{a=n instanceof e}catch(t){throw t instanceof TypeError?(i=i?i+`: `:``,new tv(i+`The instanceof assertion needs a constructor but `+Q_(e)+` was given.`,void 0,r)):t}let o=rb(e);o??=`an unnamed constructor`,this.assert(a,`expected #{this} to be an instance of `+o,`expected #{this} to not be an instance of `+o)}K(yb,`assertInstanceOf`),J.addMethod(`instanceof`,yb),J.addMethod(`instanceOf`,yb);function bb(e,t,n){n&&Y(this,`message`,n);let r=Y(this,`nested`),i=Y(this,`own`),a=Y(this,`message`),o=Y(this,`object`),s=Y(this,`ssfi`),c=typeof e;if(a=a?a+`: `:``,r){if(c!==`string`)throw new tv(a+`the argument to property must be a string when using nested syntax`,void 0,s)}else if(c!==`string`&&c!==`number`&&c!==`symbol`)throw new tv(a+`the argument to property must be a string, number, or symbol`,void 0,s);if(r&&i)throw new tv(a+`The "nested" and "own" flags cannot be combined.`,void 0,s);if(o==null)throw new tv(a+`Target cannot be null or undefined.`,void 0,s);let l=Y(this,`deep`),u=Y(this,`negate`),d=r?jy(o,e):null,f=r?d.value:o[e],p=l?Y(this,`eql`):(e,t)=>e===t,m=``;l&&(m+=`deep `),i&&(m+=`own `),r&&(m+=`nested `),m+=`property `;let h;h=i?Object.prototype.hasOwnProperty.call(o,e):r?d.exists:Oy(o,e),(!u||arguments.length===1)&&this.assert(h,`expected #{this} to have `+m+ty(e),`expected #{this} to not have `+m+ty(e)),arguments.length>1&&this.assert(h&&p(t,f),`expected #{this} to have `+m+ty(e)+` of #{exp}, but got #{act}`,`expected #{this} to not have `+m+ty(e)+` of #{act}`,t,f),Y(this,`object`,f)}K(bb,`assertProperty`),J.addMethod(`property`,bb);function xb(e,t,n){Y(this,`own`,!0),bb.apply(this,arguments)}K(xb,`assertOwnProperty`),J.addMethod(`ownProperty`,xb),J.addMethod(`haveOwnProperty`,xb);function Sb(e,t,n){typeof t==`string`&&(n=t,t=null),n&&Y(this,`message`,n);let r=Y(this,`object`),i=Object.getOwnPropertyDescriptor(Object(r),e),a=Y(this,`eql`);i&&t?this.assert(a(t,i),`expected the own property descriptor for `+ty(e)+` on #{this} to match `+ty(t)+`, got `+ty(i),`expected the own property descriptor for `+ty(e)+` on #{this} to not match `+ty(t),t,i,!0):this.assert(i,`expected #{this} to have an own property descriptor for `+ty(e),`expected #{this} to not have an own property descriptor for `+ty(e)),Y(this,`object`,i)}K(Sb,`assertOwnPropertyDescriptor`),J.addMethod(`ownPropertyDescriptor`,Sb),J.addMethod(`haveOwnPropertyDescriptor`,Sb);function Cb(){Y(this,`doLength`,!0)}K(Cb,`assertLengthChain`);function wb(e,t){t&&Y(this,`message`,t);let n=Y(this,`object`),r=Q_(n).toLowerCase(),i=Y(this,`message`),a=Y(this,`ssfi`),o=`length`,s;switch(r){case`map`:case`set`:o=`size`,s=n.size;break;default:new J(n,i,a,!0).to.have.property(`length`),s=n.length}this.assert(s==e,`expected #{this} to have a `+o+` of #{exp} but got #{act}`,`expected #{this} to not have a `+o+` of #{act}`,e,s)}K(wb,`assertLength`),J.addChainableMethod(`length`,wb,Cb),J.addChainableMethod(`lengthOf`,wb,Cb);function Tb(e,t){t&&Y(this,`message`,t);let n=Y(this,`object`);this.assert(e.exec(n),`expected #{this} to match `+e,`expected #{this} not to match `+e)}K(Tb,`assertMatch`),J.addMethod(`match`,Tb),J.addMethod(`matches`,Tb),J.addMethod(`string`,function(e,t){t&&Y(this,`message`,t);let n=Y(this,`object`);new J(n,Y(this,`message`),Y(this,`ssfi`),!0).is.a(`string`),this.assert(~n.indexOf(e),`expected #{this} to contain `+ty(e),`expected #{this} to not contain `+ty(e))});function Eb(e){let t=Y(this,`object`),n=Q_(t),r=Q_(e),i=Y(this,`ssfi`),a=Y(this,`deep`),o,s=``,c,l=!0,u=Y(this,`message`);u=u?u+`: `:``;let d=u+`when testing keys against an object or an array you must give a single Array|Object|String argument or multiple String arguments`;if(n===`Map`||n===`Set`)s=a?`deeply `:``,c=[],t.forEach(function(e,t){c.push(t)}),r!==`Array`&&(e=Array.prototype.slice.call(arguments));else{switch(c=$y(t),r){case`Array`:if(arguments.length>1)throw new tv(d,void 0,i);break;case`Object`:if(arguments.length>1)throw new tv(d,void 0,i);e=Object.keys(e);break;default:e=Array.prototype.slice.call(arguments)}e=e.map(function(e){return typeof e==`symbol`?e:String(e)})}if(!e.length)throw new tv(u+`keys required`,void 0,i);let f=e.length,p=Y(this,`any`),m=Y(this,`all`),h=e,g=a?Y(this,`eql`):(e,t)=>e===t;if(!p&&!m&&(m=!0),p&&(l=h.some(function(e){return c.some(function(t){return g(e,t)})})),m&&(l=h.every(function(e){return c.some(function(t){return g(e,t)})}),Y(this,`contains`)||(l&&=e.length==c.length)),f>1){e=e.map(function(e){return ty(e)});let t=e.pop();m&&(o=e.join(`, `)+`, and `+t),p&&(o=e.join(`, `)+`, or `+t)}else o=ty(e[0]);o=(f>1?`keys `:`key `)+o,o=(Y(this,`contains`)?`contain `:`have `)+o,this.assert(l,`expected #{this} to `+s+o,`expected #{this} to not `+s+o,h.slice(0).sort(Zy),c.sort(Zy),!0)}K(Eb,`assertKeys`),J.addMethod(`keys`,Eb),J.addMethod(`key`,Eb);function Db(e,t,n){n&&Y(this,`message`,n);let r=Y(this,`object`),i=Y(this,`ssfi`),a=Y(this,`message`),o=Y(this,`negate`)||!1;new J(r,a,i,!0).is.a(`function`),(ib(e)||typeof e==`string`)&&(t=e,e=null);let s,c=!1;try{r()}catch(e){c=!0,s=e}let l=e===void 0&&t===void 0,u=!!(e&&t),d=!1,f=!1;if(l||!l&&!o){let t=`an error`;e instanceof Error?t=`#{exp}`:e&&(t=U_.getConstructorName(e));let n=s;if(s instanceof Error)n=s.toString();else if(typeof s==`string`)n=s;else if(s&&(typeof s==`object`||typeof s==`function`))try{n=U_.getConstructorName(s)}catch{}this.assert(c,`expected #{this} to throw `+t,`expected #{this} to not throw an error but #{act} was thrown`,e&&e.toString(),n)}if(e&&s&&(e instanceof Error&&U_.compatibleInstance(s,e)===o&&(u&&o?d=!0:this.assert(o,`expected #{this} to throw #{exp} but #{act} was thrown`,`expected #{this} to not throw #{exp}`+(s&&!o?` but #{act} was thrown`:``),e.toString(),s.toString())),U_.compatibleConstructor(s,e)===o&&(u&&o?d=!0:this.assert(o,`expected #{this} to throw #{exp} but #{act} was thrown`,`expected #{this} to not throw #{exp}`+(s?` but #{act} was thrown`:``),e instanceof Error?e.toString():e&&U_.getConstructorName(e),s instanceof Error?s.toString():s&&U_.getConstructorName(s)))),s&&t!=null){let e=`including`;ib(t)&&(e=`matching`),U_.compatibleMessage(s,t)===o&&(u&&o?f=!0:this.assert(o,`expected #{this} to throw error `+e+` #{exp} but got #{act}`,`expected #{this} to throw error not `+e+` #{exp}`,t,U_.getMessage(s)))}d&&f&&this.assert(o,`expected #{this} to throw #{exp} but #{act} was thrown`,`expected #{this} to not throw #{exp}`+(s?` but #{act} was thrown`:``),e instanceof Error?e.toString():e&&U_.getConstructorName(e),s instanceof Error?s.toString():s&&U_.getConstructorName(s)),Y(this,`object`,s)}K(Db,`assertThrows`),J.addMethod(`throw`,Db),J.addMethod(`throws`,Db),J.addMethod(`Throw`,Db);function Ob(e,t){t&&Y(this,`message`,t);let n=Y(this,`object`),r=Y(this,`itself`),i=typeof n==`function`&&!r?n.prototype[e]:n[e];this.assert(typeof i==`function`,`expected #{this} to respond to `+ty(e),`expected #{this} to not respond to `+ty(e))}K(Ob,`respondTo`),J.addMethod(`respondTo`,Ob),J.addMethod(`respondsTo`,Ob),J.addProperty(`itself`,function(){Y(this,`itself`,!0)});function kb(e,t){t&&Y(this,`message`,t);let n=e(Y(this,`object`));this.assert(n,`expected #{this} to satisfy `+ny(e),`expected #{this} to not satisfy`+ny(e),!Y(this,`negate`),n)}K(kb,`satisfy`),J.addMethod(`satisfy`,kb),J.addMethod(`satisfies`,kb);function Ab(e,t,n){n&&Y(this,`message`,n);let r=Y(this,`object`),i=Y(this,`message`),a=Y(this,`ssfi`);new J(r,i,a,!0).is.numeric;let o="A `delta` value is required for `closeTo`";if(t==null||(new J(t,i,a,!0).is.numeric,o="A `expected` value is required for `closeTo`",e==null))throw new tv(i?`${i}: ${o}`:o,void 0,a);new J(e,i,a,!0).is.numeric;let s=K(e=>e<0n?-e:e,`abs`),c=K(e=>parseFloat(parseFloat(e).toPrecision(12)),`strip`);this.assert(c(s(r-e))<=t,`expected #{this} to be close to `+e+` +/- `+t,`expected #{this} not to be close to `+e+` +/- `+t)}K(Ab,`closeTo`),J.addMethod(`closeTo`,Ab),J.addMethod(`approximately`,Ab);function jb(e,t,n,r,i){let a=Array.from(t),o=Array.from(e);if(!r){if(o.length!==a.length)return!1;a=a.slice()}return o.every(function(e,t){if(i)return n?n(e,a[t]):e===a[t];if(!n){let t=a.indexOf(e);return t===-1?!1:(r||a.splice(t,1),!0)}return a.some(function(t,i){return n(e,t)?(r||a.splice(i,1),!0):!1})})}K(jb,`isSubsetOf`),J.addMethod(`members`,function(e,t){t&&Y(this,`message`,t);let n=Y(this,`object`),r=Y(this,`message`),i=Y(this,`ssfi`);new J(n,r,i,!0).to.be.iterable,new J(e,r,i,!0).to.be.iterable;let a=Y(this,`contains`),o=Y(this,`ordered`),s,c,l;a?(s=o?`an ordered superset`:`a superset`,c=`expected #{this} to be `+s+` of #{exp}`,l=`expected #{this} to not be `+s+` of #{exp}`):(s=o?`ordered members`:`members`,c=`expected #{this} to have the same `+s+` as #{exp}`,l=`expected #{this} to not have the same `+s+` as #{exp}`);let u=Y(this,`deep`)?Y(this,`eql`):void 0;this.assert(jb(e,n,u,a,o),c,l,e,n,!0)}),J.addProperty(`iterable`,function(e){e&&Y(this,`message`,e);let t=Y(this,`object`);this.assert(t!=null&&t[Symbol.iterator],`expected #{this} to be an iterable`,`expected #{this} to not be an iterable`,t)});function Mb(e,t){t&&Y(this,`message`,t);let n=Y(this,`object`),r=Y(this,`message`),i=Y(this,`ssfi`),a=Y(this,`contains`),o=Y(this,`deep`),s=Y(this,`eql`);new J(e,r,i,!0).to.be.an(`array`),a?this.assert(e.some(function(e){return n.indexOf(e)>-1}),`expected #{this} to contain one of #{exp}`,`expected #{this} to not contain one of #{exp}`,e,n):o?this.assert(e.some(function(e){return s(n,e)}),`expected #{this} to deeply equal one of #{exp}`,`expected #{this} to deeply equal one of #{exp}`,e,n):this.assert(e.indexOf(n)>-1,`expected #{this} to be one of #{exp}`,`expected #{this} to not be one of #{exp}`,e,n)}K(Mb,`oneOf`),J.addMethod(`oneOf`,Mb);function Nb(e,t,n){n&&Y(this,`message`,n);let r=Y(this,`object`),i=Y(this,`message`),a=Y(this,`ssfi`);new J(r,i,a,!0).is.a(`function`);let o;t?(new J(e,i,a,!0).to.have.property(t),o=e[t]):(new J(e,i,a,!0).is.a(`function`),o=e()),r();let s=t==null?e():e[t],c=t==null?o:`.`+t;Y(this,`deltaMsgObj`,c),Y(this,`initialDeltaValue`,o),Y(this,`finalDeltaValue`,s),Y(this,`deltaBehavior`,`change`),Y(this,`realDelta`,s!==o),this.assert(o!==s,`expected `+c+` to change`,`expected `+c+` to not change`)}K(Nb,`assertChanges`),J.addMethod(`change`,Nb),J.addMethod(`changes`,Nb);function Pb(e,t,n){n&&Y(this,`message`,n);let r=Y(this,`object`),i=Y(this,`message`),a=Y(this,`ssfi`);new J(r,i,a,!0).is.a(`function`);let o;t?(new J(e,i,a,!0).to.have.property(t),o=e[t]):(new J(e,i,a,!0).is.a(`function`),o=e()),new J(o,i,a,!0).is.a(`number`),r();let s=t==null?e():e[t],c=t==null?o:`.`+t;Y(this,`deltaMsgObj`,c),Y(this,`initialDeltaValue`,o),Y(this,`finalDeltaValue`,s),Y(this,`deltaBehavior`,`increase`),Y(this,`realDelta`,s-o),this.assert(s-o>0,`expected `+c+` to increase`,`expected `+c+` to not increase`)}K(Pb,`assertIncreases`),J.addMethod(`increase`,Pb),J.addMethod(`increases`,Pb);function Fb(e,t,n){n&&Y(this,`message`,n);let r=Y(this,`object`),i=Y(this,`message`),a=Y(this,`ssfi`);new J(r,i,a,!0).is.a(`function`);let o;t?(new J(e,i,a,!0).to.have.property(t),o=e[t]):(new J(e,i,a,!0).is.a(`function`),o=e()),new J(o,i,a,!0).is.a(`number`),r();let s=t==null?e():e[t],c=t==null?o:`.`+t;Y(this,`deltaMsgObj`,c),Y(this,`initialDeltaValue`,o),Y(this,`finalDeltaValue`,s),Y(this,`deltaBehavior`,`decrease`),Y(this,`realDelta`,o-s),this.assert(s-o<0,`expected `+c+` to decrease`,`expected `+c+` to not decrease`)}K(Fb,`assertDecreases`),J.addMethod(`decrease`,Fb),J.addMethod(`decreases`,Fb);function Ib(e,t){t&&Y(this,`message`,t);let n=Y(this,`deltaMsgObj`),r=Y(this,`initialDeltaValue`),i=Y(this,`finalDeltaValue`),a=Y(this,`deltaBehavior`),o=Y(this,`realDelta`),s;s=a===`change`?Math.abs(i-r)===Math.abs(e):o===Math.abs(e),this.assert(s,`expected `+n+` to `+a+` by `+e,`expected `+n+` to not `+a+` by `+e)}K(Ib,`assertDelta`),J.addMethod(`by`,Ib),J.addProperty(`extensible`,function(){let e=Y(this,`object`),t=e===Object(e)&&Object.isExtensible(e);this.assert(t,`expected #{this} to be extensible`,`expected #{this} to not be extensible`)}),J.addProperty(`sealed`,function(){let e=Y(this,`object`),t=e===Object(e)?Object.isSealed(e):!0;this.assert(t,`expected #{this} to be sealed`,`expected #{this} to not be sealed`)}),J.addProperty(`frozen`,function(){let e=Y(this,`object`),t=e===Object(e)?Object.isFrozen(e):!0;this.assert(t,`expected #{this} to be frozen`,`expected #{this} to not be frozen`)}),J.addProperty(`finite`,function(e){let t=Y(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 Lb(e,t){return e===t?!0:typeof t==typeof e?typeof e!=`object`||!e?e===t:t?Array.isArray(e)?Array.isArray(t)?e.every(function(e){return t.some(function(t){return Lb(e,t)})}):!1:e instanceof Date?t instanceof Date?e.getTime()===t.getTime():!1:Object.keys(e).every(function(n){let r=e[n],i=t[n];return typeof r==`object`&&r&&i!==null?Lb(r,i):typeof r==`function`?r(i):i===r}):!1:!1}K(Lb,`compareSubset`),J.addMethod(`containSubset`,function(e){let t=q(this,`object`),n=ey.showDiff;this.assert(Lb(e,t),`expected #{act} to contain subset #{exp}`,`expected #{act} to not contain subset #{exp}`,e,t,n)});function Rb(e,t){return new J(e,t)}K(Rb,`expect`),Rb.fail=function(e,t,n,r){throw arguments.length<2&&(n=e,e=void 0),n||=`expect.fail()`,new tv(n,{actual:e,expected:t,operator:r},Rb.fail)};var zb={};V_(zb,{Should:()=>Hb,should:()=>Vb});function Bb(){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 J(this.valueOf(),null,e):new J(this,null,e)}K(e,`shouldGetter`);function t(e){Object.defineProperty(this,`should`,{value:e,enumerable:!0,configurable:!0,writable:!0})}K(t,`shouldSetter`),Object.defineProperty(Object.prototype,`should`,{set:t,get:e,configurable:!0});let n={};return n.fail=function(e,t,r,i){throw arguments.length<2&&(r=e,e=void 0),r||=`should.fail()`,new tv(r,{actual:e,expected:t,operator:i},n.fail)},n.equal=function(e,t,n){new J(e,n).to.equal(t)},n.Throw=function(e,t,n,r){new J(e,r).to.Throw(t,n)},n.exist=function(e,t){new J(e,t).to.exist},n.not={},n.not.equal=function(e,t,n){new J(e,n).to.not.equal(t)},n.not.Throw=function(e,t,n,r){new J(e,r).to.not.Throw(t,n)},n.not.exist=function(e,t){new J(e,t).to.not.exist},n.throw=n.Throw,n.not.throw=n.not.Throw,n}K(Bb,`loadShould`);var Vb=Bb,Hb=Bb;function X(e,t){new J(null,null,X,!0).assert(e,t,`[ negation message unavailable ]`)}K(X,`assert`),X.fail=function(e,t,n,r){throw arguments.length<2&&(n=e,e=void 0),n||=`assert.fail()`,new tv(n,{actual:e,expected:t,operator:r},X.fail)},X.isOk=function(e,t){new J(e,t,X.isOk,!0).is.ok},X.isNotOk=function(e,t){new J(e,t,X.isNotOk,!0).is.not.ok},X.equal=function(e,t,n){let r=new J(e,n,X.equal,!0);r.assert(t==q(r,`object`),`expected #{this} to equal #{exp}`,`expected #{this} to not equal #{act}`,t,e,!0)},X.notEqual=function(e,t,n){let r=new J(e,n,X.notEqual,!0);r.assert(t!=q(r,`object`),`expected #{this} to not equal #{exp}`,`expected #{this} to equal #{act}`,t,e,!0)},X.strictEqual=function(e,t,n){new J(e,n,X.strictEqual,!0).to.equal(t)},X.notStrictEqual=function(e,t,n){new J(e,n,X.notStrictEqual,!0).to.not.equal(t)},X.deepEqual=X.deepStrictEqual=function(e,t,n){new J(e,n,X.deepEqual,!0).to.eql(t)},X.notDeepEqual=function(e,t,n){new J(e,n,X.notDeepEqual,!0).to.not.eql(t)},X.isAbove=function(e,t,n){new J(e,n,X.isAbove,!0).to.be.above(t)},X.isAtLeast=function(e,t,n){new J(e,n,X.isAtLeast,!0).to.be.least(t)},X.isBelow=function(e,t,n){new J(e,n,X.isBelow,!0).to.be.below(t)},X.isAtMost=function(e,t,n){new J(e,n,X.isAtMost,!0).to.be.most(t)},X.isTrue=function(e,t){new J(e,t,X.isTrue,!0).is.true},X.isNotTrue=function(e,t){new J(e,t,X.isNotTrue,!0).to.not.equal(!0)},X.isFalse=function(e,t){new J(e,t,X.isFalse,!0).is.false},X.isNotFalse=function(e,t){new J(e,t,X.isNotFalse,!0).to.not.equal(!1)},X.isNull=function(e,t){new J(e,t,X.isNull,!0).to.equal(null)},X.isNotNull=function(e,t){new J(e,t,X.isNotNull,!0).to.not.equal(null)},X.isNaN=function(e,t){new J(e,t,X.isNaN,!0).to.be.NaN},X.isNotNaN=function(e,t){new J(e,t,X.isNotNaN,!0).not.to.be.NaN},X.exists=function(e,t){new J(e,t,X.exists,!0).to.exist},X.notExists=function(e,t){new J(e,t,X.notExists,!0).to.not.exist},X.isUndefined=function(e,t){new J(e,t,X.isUndefined,!0).to.equal(void 0)},X.isDefined=function(e,t){new J(e,t,X.isDefined,!0).to.not.equal(void 0)},X.isCallable=function(e,t){new J(e,t,X.isCallable,!0).is.callable},X.isNotCallable=function(e,t){new J(e,t,X.isNotCallable,!0).is.not.callable},X.isObject=function(e,t){new J(e,t,X.isObject,!0).to.be.a(`object`)},X.isNotObject=function(e,t){new J(e,t,X.isNotObject,!0).to.not.be.a(`object`)},X.isArray=function(e,t){new J(e,t,X.isArray,!0).to.be.an(`array`)},X.isNotArray=function(e,t){new J(e,t,X.isNotArray,!0).to.not.be.an(`array`)},X.isString=function(e,t){new J(e,t,X.isString,!0).to.be.a(`string`)},X.isNotString=function(e,t){new J(e,t,X.isNotString,!0).to.not.be.a(`string`)},X.isNumber=function(e,t){new J(e,t,X.isNumber,!0).to.be.a(`number`)},X.isNotNumber=function(e,t){new J(e,t,X.isNotNumber,!0).to.not.be.a(`number`)},X.isNumeric=function(e,t){new J(e,t,X.isNumeric,!0).is.numeric},X.isNotNumeric=function(e,t){new J(e,t,X.isNotNumeric,!0).is.not.numeric},X.isFinite=function(e,t){new J(e,t,X.isFinite,!0).to.be.finite},X.isBoolean=function(e,t){new J(e,t,X.isBoolean,!0).to.be.a(`boolean`)},X.isNotBoolean=function(e,t){new J(e,t,X.isNotBoolean,!0).to.not.be.a(`boolean`)},X.typeOf=function(e,t,n){new J(e,n,X.typeOf,!0).to.be.a(t)},X.notTypeOf=function(e,t,n){new J(e,n,X.notTypeOf,!0).to.not.be.a(t)},X.instanceOf=function(e,t,n){new J(e,n,X.instanceOf,!0).to.be.instanceOf(t)},X.notInstanceOf=function(e,t,n){new J(e,n,X.notInstanceOf,!0).to.not.be.instanceOf(t)},X.include=function(e,t,n){new J(e,n,X.include,!0).include(t)},X.notInclude=function(e,t,n){new J(e,n,X.notInclude,!0).not.include(t)},X.deepInclude=function(e,t,n){new J(e,n,X.deepInclude,!0).deep.include(t)},X.notDeepInclude=function(e,t,n){new J(e,n,X.notDeepInclude,!0).not.deep.include(t)},X.nestedInclude=function(e,t,n){new J(e,n,X.nestedInclude,!0).nested.include(t)},X.notNestedInclude=function(e,t,n){new J(e,n,X.notNestedInclude,!0).not.nested.include(t)},X.deepNestedInclude=function(e,t,n){new J(e,n,X.deepNestedInclude,!0).deep.nested.include(t)},X.notDeepNestedInclude=function(e,t,n){new J(e,n,X.notDeepNestedInclude,!0).not.deep.nested.include(t)},X.ownInclude=function(e,t,n){new J(e,n,X.ownInclude,!0).own.include(t)},X.notOwnInclude=function(e,t,n){new J(e,n,X.notOwnInclude,!0).not.own.include(t)},X.deepOwnInclude=function(e,t,n){new J(e,n,X.deepOwnInclude,!0).deep.own.include(t)},X.notDeepOwnInclude=function(e,t,n){new J(e,n,X.notDeepOwnInclude,!0).not.deep.own.include(t)},X.match=function(e,t,n){new J(e,n,X.match,!0).to.match(t)},X.notMatch=function(e,t,n){new J(e,n,X.notMatch,!0).to.not.match(t)},X.property=function(e,t,n){new J(e,n,X.property,!0).to.have.property(t)},X.notProperty=function(e,t,n){new J(e,n,X.notProperty,!0).to.not.have.property(t)},X.propertyVal=function(e,t,n,r){new J(e,r,X.propertyVal,!0).to.have.property(t,n)},X.notPropertyVal=function(e,t,n,r){new J(e,r,X.notPropertyVal,!0).to.not.have.property(t,n)},X.deepPropertyVal=function(e,t,n,r){new J(e,r,X.deepPropertyVal,!0).to.have.deep.property(t,n)},X.notDeepPropertyVal=function(e,t,n,r){new J(e,r,X.notDeepPropertyVal,!0).to.not.have.deep.property(t,n)},X.ownProperty=function(e,t,n){new J(e,n,X.ownProperty,!0).to.have.own.property(t)},X.notOwnProperty=function(e,t,n){new J(e,n,X.notOwnProperty,!0).to.not.have.own.property(t)},X.ownPropertyVal=function(e,t,n,r){new J(e,r,X.ownPropertyVal,!0).to.have.own.property(t,n)},X.notOwnPropertyVal=function(e,t,n,r){new J(e,r,X.notOwnPropertyVal,!0).to.not.have.own.property(t,n)},X.deepOwnPropertyVal=function(e,t,n,r){new J(e,r,X.deepOwnPropertyVal,!0).to.have.deep.own.property(t,n)},X.notDeepOwnPropertyVal=function(e,t,n,r){new J(e,r,X.notDeepOwnPropertyVal,!0).to.not.have.deep.own.property(t,n)},X.nestedProperty=function(e,t,n){new J(e,n,X.nestedProperty,!0).to.have.nested.property(t)},X.notNestedProperty=function(e,t,n){new J(e,n,X.notNestedProperty,!0).to.not.have.nested.property(t)},X.nestedPropertyVal=function(e,t,n,r){new J(e,r,X.nestedPropertyVal,!0).to.have.nested.property(t,n)},X.notNestedPropertyVal=function(e,t,n,r){new J(e,r,X.notNestedPropertyVal,!0).to.not.have.nested.property(t,n)},X.deepNestedPropertyVal=function(e,t,n,r){new J(e,r,X.deepNestedPropertyVal,!0).to.have.deep.nested.property(t,n)},X.notDeepNestedPropertyVal=function(e,t,n,r){new J(e,r,X.notDeepNestedPropertyVal,!0).to.not.have.deep.nested.property(t,n)},X.lengthOf=function(e,t,n){new J(e,n,X.lengthOf,!0).to.have.lengthOf(t)},X.hasAnyKeys=function(e,t,n){new J(e,n,X.hasAnyKeys,!0).to.have.any.keys(t)},X.hasAllKeys=function(e,t,n){new J(e,n,X.hasAllKeys,!0).to.have.all.keys(t)},X.containsAllKeys=function(e,t,n){new J(e,n,X.containsAllKeys,!0).to.contain.all.keys(t)},X.doesNotHaveAnyKeys=function(e,t,n){new J(e,n,X.doesNotHaveAnyKeys,!0).to.not.have.any.keys(t)},X.doesNotHaveAllKeys=function(e,t,n){new J(e,n,X.doesNotHaveAllKeys,!0).to.not.have.all.keys(t)},X.hasAnyDeepKeys=function(e,t,n){new J(e,n,X.hasAnyDeepKeys,!0).to.have.any.deep.keys(t)},X.hasAllDeepKeys=function(e,t,n){new J(e,n,X.hasAllDeepKeys,!0).to.have.all.deep.keys(t)},X.containsAllDeepKeys=function(e,t,n){new J(e,n,X.containsAllDeepKeys,!0).to.contain.all.deep.keys(t)},X.doesNotHaveAnyDeepKeys=function(e,t,n){new J(e,n,X.doesNotHaveAnyDeepKeys,!0).to.not.have.any.deep.keys(t)},X.doesNotHaveAllDeepKeys=function(e,t,n){new J(e,n,X.doesNotHaveAllDeepKeys,!0).to.not.have.all.deep.keys(t)},X.throws=function(e,t,n,r){return(typeof t==`string`||t instanceof RegExp)&&(n=t,t=null),q(new J(e,r,X.throws,!0).to.throw(t,n),`object`)},X.doesNotThrow=function(e,t,n,r){(typeof t==`string`||t instanceof RegExp)&&(n=t,t=null),new J(e,r,X.doesNotThrow,!0).to.not.throw(t,n)},X.operator=function(e,t,n,r){let i;switch(t){case`==`:i=e==n;break;case`===`:i=e===n;break;case`>`:i=e>n;break;case`>=`:i=e>=n;break;case`<`:i=e<n;break;case`<=`:i=e<=n;break;case`!=`:i=e!=n;break;case`!==`:i=e!==n;break;default:throw r&&=r+`: `,new tv(r+`Invalid operator "`+t+`"`,void 0,X.operator)}let a=new J(i,r,X.operator,!0);a.assert(q(a,`object`)===!0,`expected `+ty(e)+` to be `+t+` `+ty(n),`expected `+ty(e)+` to not be `+t+` `+ty(n))},X.closeTo=function(e,t,n,r){new J(e,r,X.closeTo,!0).to.be.closeTo(t,n)},X.approximately=function(e,t,n,r){new J(e,r,X.approximately,!0).to.be.approximately(t,n)},X.sameMembers=function(e,t,n){new J(e,n,X.sameMembers,!0).to.have.same.members(t)},X.notSameMembers=function(e,t,n){new J(e,n,X.notSameMembers,!0).to.not.have.same.members(t)},X.sameDeepMembers=function(e,t,n){new J(e,n,X.sameDeepMembers,!0).to.have.same.deep.members(t)},X.notSameDeepMembers=function(e,t,n){new J(e,n,X.notSameDeepMembers,!0).to.not.have.same.deep.members(t)},X.sameOrderedMembers=function(e,t,n){new J(e,n,X.sameOrderedMembers,!0).to.have.same.ordered.members(t)},X.notSameOrderedMembers=function(e,t,n){new J(e,n,X.notSameOrderedMembers,!0).to.not.have.same.ordered.members(t)},X.sameDeepOrderedMembers=function(e,t,n){new J(e,n,X.sameDeepOrderedMembers,!0).to.have.same.deep.ordered.members(t)},X.notSameDeepOrderedMembers=function(e,t,n){new J(e,n,X.notSameDeepOrderedMembers,!0).to.not.have.same.deep.ordered.members(t)},X.includeMembers=function(e,t,n){new J(e,n,X.includeMembers,!0).to.include.members(t)},X.notIncludeMembers=function(e,t,n){new J(e,n,X.notIncludeMembers,!0).to.not.include.members(t)},X.includeDeepMembers=function(e,t,n){new J(e,n,X.includeDeepMembers,!0).to.include.deep.members(t)},X.notIncludeDeepMembers=function(e,t,n){new J(e,n,X.notIncludeDeepMembers,!0).to.not.include.deep.members(t)},X.includeOrderedMembers=function(e,t,n){new J(e,n,X.includeOrderedMembers,!0).to.include.ordered.members(t)},X.notIncludeOrderedMembers=function(e,t,n){new J(e,n,X.notIncludeOrderedMembers,!0).to.not.include.ordered.members(t)},X.includeDeepOrderedMembers=function(e,t,n){new J(e,n,X.includeDeepOrderedMembers,!0).to.include.deep.ordered.members(t)},X.notIncludeDeepOrderedMembers=function(e,t,n){new J(e,n,X.notIncludeDeepOrderedMembers,!0).to.not.include.deep.ordered.members(t)},X.oneOf=function(e,t,n){new J(e,n,X.oneOf,!0).to.be.oneOf(t)},X.isIterable=function(e,t){if(e==null||!e[Symbol.iterator])throw t=t?`${t} expected ${ty(e)} to be an iterable`:`expected ${ty(e)} to be an iterable`,new tv(t,void 0,X.isIterable)},X.changes=function(e,t,n,r){arguments.length===3&&typeof t==`function`&&(r=n,n=null),new J(e,r,X.changes,!0).to.change(t,n)},X.changesBy=function(e,t,n,r,i){if(arguments.length===4&&typeof t==`function`){let e=r;r=n,i=e}else arguments.length===3&&(r=n,n=null);new J(e,i,X.changesBy,!0).to.change(t,n).by(r)},X.doesNotChange=function(e,t,n,r){return arguments.length===3&&typeof t==`function`&&(r=n,n=null),new J(e,r,X.doesNotChange,!0).to.not.change(t,n)},X.changesButNotBy=function(e,t,n,r,i){if(arguments.length===4&&typeof t==`function`){let e=r;r=n,i=e}else arguments.length===3&&(r=n,n=null);new J(e,i,X.changesButNotBy,!0).to.change(t,n).but.not.by(r)},X.increases=function(e,t,n,r){return arguments.length===3&&typeof t==`function`&&(r=n,n=null),new J(e,r,X.increases,!0).to.increase(t,n)},X.increasesBy=function(e,t,n,r,i){if(arguments.length===4&&typeof t==`function`){let e=r;r=n,i=e}else arguments.length===3&&(r=n,n=null);new J(e,i,X.increasesBy,!0).to.increase(t,n).by(r)},X.doesNotIncrease=function(e,t,n,r){return arguments.length===3&&typeof t==`function`&&(r=n,n=null),new J(e,r,X.doesNotIncrease,!0).to.not.increase(t,n)},X.increasesButNotBy=function(e,t,n,r,i){if(arguments.length===4&&typeof t==`function`){let e=r;r=n,i=e}else arguments.length===3&&(r=n,n=null);new J(e,i,X.increasesButNotBy,!0).to.increase(t,n).but.not.by(r)},X.decreases=function(e,t,n,r){return arguments.length===3&&typeof t==`function`&&(r=n,n=null),new J(e,r,X.decreases,!0).to.decrease(t,n)},X.decreasesBy=function(e,t,n,r,i){if(arguments.length===4&&typeof t==`function`){let e=r;r=n,i=e}else arguments.length===3&&(r=n,n=null);new J(e,i,X.decreasesBy,!0).to.decrease(t,n).by(r)},X.doesNotDecrease=function(e,t,n,r){return arguments.length===3&&typeof t==`function`&&(r=n,n=null),new J(e,r,X.doesNotDecrease,!0).to.not.decrease(t,n)},X.doesNotDecreaseBy=function(e,t,n,r,i){if(arguments.length===4&&typeof t==`function`){let e=r;r=n,i=e}else arguments.length===3&&(r=n,n=null);return new J(e,i,X.doesNotDecreaseBy,!0).to.not.decrease(t,n).by(r)},X.decreasesButNotBy=function(e,t,n,r,i){if(arguments.length===4&&typeof t==`function`){let e=r;r=n,i=e}else arguments.length===3&&(r=n,n=null);new J(e,i,X.decreasesButNotBy,!0).to.decrease(t,n).but.not.by(r)},X.ifError=function(e){if(e)throw e},X.isExtensible=function(e,t){new J(e,t,X.isExtensible,!0).to.be.extensible},X.isNotExtensible=function(e,t){new J(e,t,X.isNotExtensible,!0).to.not.be.extensible},X.isSealed=function(e,t){new J(e,t,X.isSealed,!0).to.be.sealed},X.isNotSealed=function(e,t){new J(e,t,X.isNotSealed,!0).to.not.be.sealed},X.isFrozen=function(e,t){new J(e,t,X.isFrozen,!0).to.be.frozen},X.isNotFrozen=function(e,t){new J(e,t,X.isNotFrozen,!0).to.not.be.frozen},X.isEmpty=function(e,t){new J(e,t,X.isEmpty,!0).to.be.empty},X.isNotEmpty=function(e,t){new J(e,t,X.isNotEmpty,!0).to.not.be.empty},X.containsSubset=function(e,t,n){new J(e,n).to.containSubset(t)},X.doesNotContainSubset=function(e,t,n){new J(e,n).to.not.containSubset(t)};for(let[e,t]of[[`isOk`,`ok`],[`isNotOk`,`notOk`],[`throws`,`throw`],[`throws`,`Throw`],[`isExtensible`,`extensible`],[`isNotExtensible`,`notExtensible`],[`isSealed`,`sealed`],[`isNotSealed`,`notSealed`],[`isFrozen`,`frozen`],[`isNotFrozen`,`notFrozen`],[`isEmpty`,`empty`],[`isNotEmpty`,`notEmpty`],[`isCallable`,`isFunction`],[`isNotCallable`,`isNotFunction`],[`containsSubset`,`containSubset`]])X[t]=X[e];var Ub=[];function Wb(e){let t={use:Wb,AssertionError:tv,util:H_,config:ey,expect:Rb,assert:X,Assertion:J,...zb};return~Ub.indexOf(e)||(e(t,H_),Ub.push(e)),t}K(Wb,`use`);var Gb={};b(Gb,{toBeChecked:()=>iw,toBeDisabled:()=>RC,toBeEmpty:()=>GS,toBeEmptyDOMElement:()=>KS,toBeEnabled:()=>zC,toBeInTheDOM:()=>US,toBeInTheDocument:()=>WS,toBeInvalid:()=>QC,toBePartiallyChecked:()=>cw,toBeRequired:()=>qC,toBeValid:()=>$C,toBeVisible:()=>kC,toContainElement:()=>JS,toContainHTML:()=>XS,toHaveAccessibleDescription:()=>QS,toHaveAccessibleErrorMessage:()=>tC,toHaveAccessibleName:()=>sC,toHaveAttribute:()=>uC,toHaveClass:()=>mC,toHaveDescription:()=>lw,toHaveDisplayValue:()=>tw,toHaveErrorMessage:()=>uw,toHaveFocus:()=>bC,toHaveFormValues:()=>TC,toHaveRole:()=>rC,toHaveSelection:()=>fw,toHaveStyle:()=>yC,toHaveTextContent:()=>ZS,toHaveValue:()=>ew});var Kb=S(D(),1);function qb(e){Object.defineProperty(e,`__esModule`,{value:!0,configurable:!0})}function Jb(e,t,n,r){Object.defineProperty(e,t,{get:n,set:r,enumerable:!0,configurable:!0})}var Yb={};qb(Yb),Jb(Yb,`default`,()=>Xb);var Xb=class extends Error{constructor(e,t,n,r,i){super(e+`:`+n+`:`+r+`: `+t),this.reason=t,this.filename=e,this.line=n,this.column=r,this.source=i}},Zb={};qb(Zb),Jb(Zb,`default`,()=>Qb);var Qb=class{constructor(e,t,n){this.start=e,this.end=t,this.source=n}};Jb({},`CssTypes`,()=>$b);var $b;(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`})($b||={});var ex=/\/\*[^]*?(?:\*\/|$)/g,tx=(e,t)=>{t||={};let n=1,r=1;function i(e){let t=e.match(/\n/g);t&&(n+=t.length);let i=e.lastIndexOf(`
214
+ `);r=~i?e.length-i:r+e.length}function a(){let e={line:n,column:r};return function(i){return i.position=new Qb(e,{line:n,column:r},t?.source||``),p(),i}}let o=[];function s(i){let a=new Xb(t?.source||``,i,n,r,e);if(t?.silent)o.push(a);else throw a}function c(){let e=d();return{type:$b.stylesheet,stylesheet:{source:t?.source,rules:e,parsingErrors:o}}}function l(){return f(/^{\s*/)}function u(){return f(/^}/)}function d(){let t,n=[];for(p(),m(n);e.length&&e.charAt(0)!==`}`&&(t=te()||ne());)t&&(n.push(t),m(n));return n}function f(t){let n=t.exec(e);if(!n)return;let r=n[0];return i(r),e=e.slice(r.length),n}function p(){f(/^\s*/)}function m(e){let t;for(e||=[];t=h();)t&&e.push(t);return e}function h(){let t=a();if(e.charAt(0)!==`/`||e.charAt(1)!==`*`)return;let n=f(/^\/\*[^]*?\*\//);return n?t({type:$b.comment,comment:n[0].slice(2,-2)}):s(`End of comment missing`)}function g(e,t,n){let r=t+1,i=!1,a=e.indexOf(`)`,r);for(;!i&&a!==-1;){let t=e.indexOf(`(`,r);t!==-1&&t<a?(r=g(e,t+1,n+1)+1,a=e.indexOf(`)`,r)):i=!0}return i&&a!==-1?a:-1}function _(){let e=f(/^([^{]+)/);if(!e)return;let t=nx(e[0]).replace(ex,``);if(t.indexOf(`,`)===-1)return[t];let n=0,r=t.indexOf(`(`,n);for(;r!==-1;){let e=g(t,r,0);if(e===-1)break;n=e+1,t=t.substring(0,r)+t.substring(r,e).replace(/,/g,`‌`)+t.substring(e),r=t.indexOf(`(`,n)}return t=t.replace(/("|')(?:\\\1|.)*?\1/g,e=>e.replace(/,/g,`‌`)),t.split(`,`).map(e=>nx(e.replace(/\u200C/g,`,`)))}function v(){let e=a(),t=f(/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/);if(!t)return;let n=nx(t[0]);if(!f(/^:\s*/))return s(`property missing ':'`);let r=f(/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/),i=e({type:$b.declaration,property:n.replace(ex,``),value:r?nx(r[0]).replace(ex,``):``});return f(/^[;\s]*/),i}function y(){let e=[];if(!l())return s(`missing '{'`);m(e);let t;for(;t=v();)t&&(e.push(t),m(e));return u()?e:s(`missing '}'`)}function b(){let e,t=[],n=a();for(;e=f(/^((\d+\.\d+|\.\d+|\d+)%?|[a-z]+)\s*/);)t.push(e[1]),f(/^,\s*/);if(t.length)return n({type:$b.keyframe,values:t,declarations:y()||[]})}function x(){let e=a(),t=f(/^@([-\w]+)?keyframes\s*/);if(!t)return;let n=t[1],r=f(/^([-\w]+)\s*/);if(!r)return s(`@keyframes missing name`);let i=r[1];if(!l())return s(`@keyframes missing '{'`);let o,c=m();for(;o=b();)c.push(o),c=c.concat(m());return u()?e({type:$b.keyframes,name:i,vendor:n,keyframes:c}):s(`@keyframes missing '}'`)}function S(){let e=a(),t=f(/^@supports *([^{]+)/);if(!t)return;let n=nx(t[1]);if(!l())return s(`@supports missing '{'`);let r=m().concat(d());return u()?e({type:$b.supports,supports:n,rules:r}):s(`@supports missing '}'`)}function C(){let e=a();if(!f(/^@host\s*/))return;if(!l())return s(`@host missing '{'`);let t=m().concat(d());return u()?e({type:$b.host,rules:t}):s(`@host missing '}'`)}function w(){let e=a(),t=f(/^@container *([^{]+)/);if(!t)return;let n=nx(t[1]);if(!l())return s(`@container missing '{'`);let r=m().concat(d());return u()?e({type:$b.container,container:n,rules:r}):s(`@container missing '}'`)}function T(){let e=a(),t=f(/^@layer *([^{;@]+)/);if(!t)return;let n=nx(t[1]);if(!l())return f(/^[;\s]*/),e({type:$b.layer,layer:n});let r=m().concat(d());return u()?e({type:$b.layer,layer:n,rules:r}):s(`@layer missing '}'`)}function E(){let e=a(),t=f(/^@media *([^{]+)/);if(!t)return;let n=nx(t[1]);if(!l())return s(`@media missing '{'`);let r=m().concat(d());return u()?e({type:$b.media,media:n,rules:r}):s(`@media missing '}'`)}function D(){let e=a(),t=f(/^@custom-media\s+(--\S+)\s*([^{;\s][^{;]*);/);if(t)return e({type:$b.customMedia,name:nx(t[1]),media:nx(t[2])})}function O(){let e=a();if(!f(/^@page */))return;let t=_()||[];if(!l())return s(`@page missing '{'`);let n=m(),r;for(;r=v();)n.push(r),n=n.concat(m());return u()?e({type:$b.page,selectors:t,declarations:n}):s(`@page missing '}'`)}function k(){let e=a(),t=f(/^@([-\w]+)?document *([^{]+)/);if(!t)return;let n=nx(t[1]),r=nx(t[2]);if(!l())return s(`@document missing '{'`);let i=m().concat(d());return u()?e({type:$b.document,document:r,vendor:n,rules:i}):s(`@document missing '}'`)}function A(){let e=a();if(!f(/^@font-face\s*/))return;if(!l())return s(`@font-face missing '{'`);let t=m(),n;for(;n=v();)t.push(n),t=t.concat(m());return u()?e({type:$b.fontFace,declarations:t}):s(`@font-face missing '}'`)}function j(){let e=a();if(!f(/^@starting-style\s*/))return;if(!l())return s(`@starting-style missing '{'`);let t=m().concat(d());return u()?e({type:$b.startingStyle,rules:t}):s(`@starting-style missing '}'`)}let M=ee(`import`),N=ee(`charset`),P=ee(`namespace`);function ee(e){let t=RegExp(`^@`+e+`\\s*((?::?[^;'"]|"(?:\\\\"|[^"])*?"|'(?:\\\\'|[^'])*?')+)(?:;|$)`);return function(){let n=a(),r=f(t);if(!r)return;let i={type:e};return i[e]=r[1].trim(),n(i)}}function te(){if(e[0]===`@`)return x()||E()||D()||S()||M()||N()||P()||k()||O()||C()||A()||w()||j()||T()}function ne(){let e=a(),t=_();return t?(m(),e({type:$b.rule,selectors:t,declarations:y()||[]})):s(`selector missing`)}return rx(c())};function nx(e){return e?e.trim():``}function rx(e,t){let n=e&&typeof e.type==`string`,r=n?e:t;for(let t in e){let n=e[t];Array.isArray(n)?n.forEach(e=>{rx(e,r)}):n&&typeof n==`object`&&rx(n,r)}return n&&Object.defineProperty(e,`parent`,{configurable:!0,writable:!0,enumerable:!1,value:t||null}),e}var ix=tx,ax=Object.prototype.toString;function ox(e){return typeof e==`function`||ax.call(e)===`[object Function]`}function sx(e){var t=Number(e);return isNaN(t)?0:t===0||!isFinite(t)?t:(t>0?1:-1)*Math.floor(Math.abs(t))}var cx=2**53-1;function lx(e){var t=sx(e);return Math.min(Math.max(t,0),cx)}function ux(e,t){var n=Array,r=Object(e);if(e==null)throw TypeError(`Array.from requires an array-like object - not null or undefined`);if(typeof t<`u`&&!ox(t))throw TypeError(`Array.from: when provided, the second argument must be a function`);for(var i=lx(r.length),a=ox(n)?Object(new n(i)):Array(i),o=0,s;o<i;)s=r[o],t?a[o]=t(s,o):a[o]=s,o+=1;return a.length=i,a}function dx(e){"@babel/helpers - typeof";return dx=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},dx(e)}function fx(e,t){if(!(e instanceof t))throw TypeError(`Cannot call a class as a function`)}function px(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,`value`in r&&(r.writable=!0),Object.defineProperty(e,gx(r.key),r)}}function mx(e,t,n){return t&&px(e.prototype,t),n&&px(e,n),Object.defineProperty(e,`prototype`,{writable:!1}),e}function hx(e,t,n){return t=gx(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function gx(e){var t=_x(e,`string`);return dx(t)===`symbol`?t:String(t)}function _x(e,t){if(dx(e)!==`object`||e===null)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(dx(r)!==`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}var vx=(function(){function e(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];fx(this,e),hx(this,`items`,void 0),this.items=t}return mx(e,[{key:`add`,value:function(e){return this.has(e)===!1&&this.items.push(e),this}},{key:`clear`,value:function(){this.items=[]}},{key:`delete`,value:function(e){var t=this.items.length;return this.items=this.items.filter(function(t){return t!==e}),t!==this.items.length}},{key:`forEach`,value:function(e){var t=this;this.items.forEach(function(n){e(n,n,t)})}},{key:`has`,value:function(e){return this.items.indexOf(e)!==-1}},{key:`size`,get:function(){return this.items.length}}]),e})(),yx=typeof Set>`u`?Set:vx;function bx(e){return e.localName??e.tagName.toLowerCase()}var xx={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`},Sx={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 Cx(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(n){var r;return e.hasAttribute(n)&&!((r=Sx[t])!=null&&r.has(n))})}function wx(e,t){return Cx(e,t)}function Tx(e){var t=Dx(e);if(t===null||Ox.indexOf(t)!==-1){var n=Ex(e);if(Ox.indexOf(t||``)===-1||wx(e,n||``))return n}return t}function Ex(e){var t=xx[bx(e)];if(t!==void 0)return t;switch(bx(e)){case`a`:case`area`:case`link`:if(e.hasAttribute(`href`))return`link`;break;case`img`:return e.getAttribute(`alt`)===``&&!wx(e,`img`)?`presentation`:`img`;case`input`:var n=e.type;switch(n){case`button`:case`image`:case`reset`:case`submit`:return`button`;case`checkbox`:case`radio`:return n;case`range`:return`slider`;case`email`:case`tel`:case`text`:case`url`:return e.hasAttribute(`list`)?`combobox`:`textbox`;case`search`:return e.hasAttribute(`list`)?`combobox`:`searchbox`;case`number`:return`spinbutton`;default:return null}case`select`:return e.hasAttribute(`multiple`)||e.size>1?`listbox`:`combobox`}return null}function Dx(e){var t=e.getAttribute(`role`);if(t!==null){var n=t.trim().split(` `)[0];if(n.length>0)return n}return null}var Ox=[`presentation`,`none`];function kx(e){return e!==null&&e.nodeType===e.ELEMENT_NODE}function Ax(e){return kx(e)&&bx(e)===`caption`}function jx(e){return kx(e)&&bx(e)===`input`}function Mx(e){return kx(e)&&bx(e)===`optgroup`}function Nx(e){return kx(e)&&bx(e)===`select`}function Px(e){return kx(e)&&bx(e)===`table`}function Fx(e){return kx(e)&&bx(e)===`textarea`}function Ix(e){var t=(e.ownerDocument===null?e:e.ownerDocument).defaultView;if(t===null)throw TypeError(`no window available`);return t}function Lx(e){return kx(e)&&bx(e)===`fieldset`}function Rx(e){return kx(e)&&bx(e)===`legend`}function zx(e){return kx(e)&&bx(e)===`slot`}function Bx(e){return kx(e)&&e.ownerSVGElement!==void 0}function Vx(e){return kx(e)&&bx(e)===`svg`}function Hx(e){return Bx(e)&&bx(e)===`title`}function Ux(e,t){if(kx(e)&&e.hasAttribute(t)){var n=e.getAttribute(t).split(` `),r=e.getRootNode?e.getRootNode():e.ownerDocument;return n.map(function(e){return r.getElementById(e)}).filter(function(e){return e!==null})}return[]}function Wx(e,t){return kx(e)?t.indexOf(Tx(e))!==-1:!1}function Gx(e){return e.trim().replace(/\s\s+/g,` `)}function Kx(e,t){if(!kx(e))return!1;if(e.hasAttribute(`hidden`)||e.getAttribute(`aria-hidden`)===`true`)return!0;var n=t(e);return n.getPropertyValue(`display`)===`none`||n.getPropertyValue(`visibility`)===`hidden`}function qx(e){return Wx(e,[`button`,`combobox`,`listbox`,`textbox`])||Jx(e,`range`)}function Jx(e,t){if(!kx(e))return!1;switch(t){case`range`:return Wx(e,[`meter`,`progressbar`,`scrollbar`,`slider`,`spinbutton`]);default:throw TypeError(`No knowledge about abstract role '${t}'. This is likely a bug :(`)}}function Yx(e,t){var n=ux(e.querySelectorAll(t));return Ux(e,`aria-owns`).forEach(function(e){n.push.apply(n,ux(e.querySelectorAll(t)))}),n}function Xx(e){return Nx(e)?e.selectedOptions||Yx(e,`[selected]`):Yx(e,`[aria-selected="true"]`)}function Zx(e){return Wx(e,Ox)}function Qx(e){return Ax(e)}function $x(e){return Wx(e,[`button`,`cell`,`checkbox`,`columnheader`,`gridcell`,`heading`,`label`,`legend`,`link`,`menuitem`,`menuitemcheckbox`,`menuitemradio`,`option`,`radio`,`row`,`rowheader`,`switch`,`tab`,`tooltip`,`treeitem`])}function eS(e){return!1}function tS(e){return jx(e)||Fx(e)?e.value:e.textContent||``}function nS(e){var t=e.getPropertyValue(`content`);return/^["'].*["']$/.test(t)?t.slice(1,-1):``}function rS(e){var t=bx(e);return t===`button`||t===`input`&&e.getAttribute(`type`)!==`hidden`||t===`meter`||t===`output`||t===`progress`||t===`select`||t===`textarea`}function iS(e){if(rS(e))return e;var t=null;return e.childNodes.forEach(function(e){if(t===null&&kx(e)){var n=iS(e);n!==null&&(t=n)}}),t}function aS(e){if(e.control!==void 0)return e.control;var t=e.getAttribute(`for`);return t===null?iS(e):e.ownerDocument.getElementById(t)}function oS(e){var t=e.labels;if(t===null)return t;if(t!==void 0)return ux(t);if(!rS(e))return null;var n=e.ownerDocument;return ux(n.querySelectorAll(`label`)).filter(function(t){return aS(t)===e})}function sS(e){var t=e.assignedNodes();return t.length===0?ux(e.childNodes):t}function cS(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=new yx,r=Ix(e),i=t.compute,a=i===void 0?`name`:i,o=t.computedStyleSupportsPseudoElements,s=o===void 0?t.getComputedStyle!==void 0:o,c=t.getComputedStyle,l=c===void 0?r.getComputedStyle.bind(r):c,u=t.hidden,d=u===void 0?!1:u;function f(e,t){var n=``;if(kx(e)&&s&&(n=`${nS(l(e,`::before`))} ${n}`),(zx(e)?sS(e):ux(e.childNodes).concat(Ux(e,`aria-owns`))).forEach(function(e){var r=g(e,{isEmbeddedInLabel:t.isEmbeddedInLabel,isReferenced:!1,recursion:!0}),i=(kx(e)?l(e).getPropertyValue(`display`):`inline`)===`inline`?``:` `;n+=`${i}${r}${i}`}),kx(e)&&s){var r=nS(l(e,`::after`));n=`${n} ${r}`}return n.trim()}function p(e,t){var r=e.getAttributeNode(t);return r!==null&&!n.has(r)&&r.value.trim()!==``?(n.add(r),r.value):null}function m(e){return kx(e)?p(e,`title`):null}function h(e){if(!kx(e))return null;if(Lx(e)){n.add(e);for(var t=ux(e.childNodes),r=0;r<t.length;r+=1){var i=t[r];if(Rx(i))return g(i,{isEmbeddedInLabel:!1,isReferenced:!1,recursion:!1})}}else if(Px(e)){n.add(e);for(var a=ux(e.childNodes),o=0;o<a.length;o+=1){var s=a[o];if(Ax(s))return g(s,{isEmbeddedInLabel:!1,isReferenced:!1,recursion:!1})}}else if(Vx(e)){n.add(e);for(var c=ux(e.childNodes),l=0;l<c.length;l+=1){var u=c[l];if(Hx(u))return u.textContent}return null}else if(bx(e)===`img`||bx(e)===`area`){var d=p(e,`alt`);if(d!==null)return d}else if(Mx(e)){var m=p(e,`label`);if(m!==null)return m}if(jx(e)&&(e.type===`button`||e.type===`submit`||e.type===`reset`)){var h=p(e,`value`);if(h!==null)return h;if(e.type===`submit`)return`Submit`;if(e.type===`reset`)return`Reset`}var _=oS(e);if(_!==null&&_.length!==0)return n.add(e),ux(_).map(function(e){return g(e,{isEmbeddedInLabel:!0,isReferenced:!1,recursion:!0})}).filter(function(e){return e.length>0}).join(` `);if(jx(e)&&e.type===`image`){var v=p(e,`alt`);if(v!==null)return v;var y=p(e,`title`);return y===null?`Submit Query`:y}if(Wx(e,[`button`])){var b=f(e,{isEmbeddedInLabel:!1,isReferenced:!1});if(b!==``)return b}return null}function g(e,t){if(n.has(e))return``;if(!d&&Kx(e,l)&&!t.isReferenced)return n.add(e),``;var r=kx(e)?e.getAttributeNode(`aria-labelledby`):null,i=r!==null&&!n.has(r)?Ux(e,`aria-labelledby`):[];if(a===`name`&&!t.isReferenced&&i.length>0)return n.add(r),i.map(function(e){return g(e,{isEmbeddedInLabel:t.isEmbeddedInLabel,isReferenced:!0,recursion:!1})}).join(` `);var o=t.recursion&&qx(e)&&a===`name`;if(!o){var s=(kx(e)&&e.getAttribute(`aria-label`)||``).trim();if(s!==``&&a===`name`)return n.add(e),s;if(!Zx(e)){var c=h(e);if(c!==null)return n.add(e),c}}if(Wx(e,[`menu`]))return n.add(e),``;if(o||t.isEmbeddedInLabel||t.isReferenced){if(Wx(e,[`combobox`,`listbox`])){n.add(e);var u=Xx(e);return u.length===0?jx(e)?e.value:``:ux(u).map(function(e){return g(e,{isEmbeddedInLabel:t.isEmbeddedInLabel,isReferenced:!1,recursion:!0})}).join(` `)}if(Jx(e,`range`))return n.add(e),e.hasAttribute(`aria-valuetext`)?e.getAttribute(`aria-valuetext`):e.hasAttribute(`aria-valuenow`)?e.getAttribute(`aria-valuenow`):e.getAttribute(`value`)||``;if(Wx(e,[`textbox`]))return n.add(e),tS(e)}if($x(e)||kx(e)&&t.isReferenced||Qx(e)||eS(e)){var p=f(e,{isEmbeddedInLabel:t.isEmbeddedInLabel,isReferenced:!1});if(p!==``)return n.add(e),p}if(e.nodeType===e.TEXT_NODE)return n.add(e),e.textContent||``;if(t.recursion)return n.add(e),f(e,{isEmbeddedInLabel:t.isEmbeddedInLabel,isReferenced:!1});var _=m(e);return _===null?(n.add(e),``):(n.add(e),_)}return Gx(g(e,{isEmbeddedInLabel:!1,isReferenced:a===`description`,recursion:!1}))}function lS(e){"@babel/helpers - typeof";return lS=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},lS(e)}function uS(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function dS(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?uS(Object(n),!0).forEach(function(t){fS(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):uS(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function fS(e,t,n){return t=pS(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function pS(e){var t=mS(e,`string`);return lS(t)===`symbol`?t:String(t)}function mS(e,t){if(lS(e)!==`object`||e===null)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(lS(r)!==`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}function hS(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=Ux(e,`aria-describedby`).map(function(e){return cS(e,dS(dS({},t),{},{compute:`description`}))}).join(` `);if(n===``){var r=e.getAttribute(`aria-description`);n=r===null?``:r}if(n===``){var i=e.getAttribute(`title`);n=i===null?``:i}return n}function gS(e){return Wx(e,[`caption`,`code`,`deletion`,`emphasis`,`generic`,`insertion`,`none`,`paragraph`,`presentation`,`strong`,`subscript`,`superscript`])}function _S(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return gS(e)?``:cS(e,t)}var vS=S(Dn(),1),yS=S(In(),1),bS=S(_i(),1),xS=S(vi(),1),SS=class extends Error{constructor(e,t,n,r){super(),Error.captureStackTrace&&Error.captureStackTrace(this,n);let i=``;try{i=r.utils.printWithType(`Received`,t,r.utils.printReceived)}catch{}this.message=[r.utils.matcherHint(`${r.isNot?`.not`:``}.${n.name}`,`received`,``),``,`${r.utils.RECEIVED_COLOR(`received`)} value must ${e}.`,i].join(`
215
+ `)}},CS=class extends SS{constructor(...e){super(`be an HTMLElement or an SVGElement`,...e)}},wS=class extends SS{constructor(...e){super(`be a Node`,...e)}};function TS(e,t,...n){if(!e||!e.ownerDocument||!e.ownerDocument.defaultView)throw new t(e,...n)}function ES(e,...t){if(TS(e,wS,...t),!(e instanceof e.ownerDocument.defaultView.Node))throw new wS(e,...t)}function DS(e,...t){TS(e,CS,...t);let n=e.ownerDocument.defaultView;if(!(e instanceof n.HTMLElement)&&!(e instanceof n.SVGElement))throw new CS(e,...t)}var OS=class extends Error{constructor(e,t,n){super(),Error.captureStackTrace&&Error.captureStackTrace(this,t),this.message=[e.message,``,n.utils.RECEIVED_COLOR(`Failing css:`),n.utils.RECEIVED_COLOR(`${e.css}`)].join(`
216
+ `)}};function kS(e,...t){let n=ix(`selector { ${e} }`,{silent:!0}).stylesheet;if(n.parsingErrors&&n.parsingErrors.length>0){let{reason:r,line:i}=n.parsingErrors[0];throw new OS({css:e,message:`Syntax error parsing expected css: ${r} on line: ${i}`},...t)}return n.rules[0].declarations.filter(e=>e.type===`declaration`).reduce((e,{property:t,value:n})=>Object.assign(e,{[t]:n}),{})}function AS(e,t){return typeof t==`string`?t:e.utils.stringify(t)}function jS(e,t,n,r,i,a){return[`${t}
217
+ `,`${n}:
218
+ ${e.utils.EXPECTED_COLOR((0,Kb.default)(AS(e,r),2))}`,`${i}:
219
+ ${e.utils.RECEIVED_COLOR((0,Kb.default)(AS(e,a),2))}`].join(`
220
+ `)}function MS(e,t){return t instanceof RegExp?t.test(e):e.includes(String(t))}function NS(e,t){console.warn(`Warning: ${e} has been deprecated and will be removed in future updates.`,t)}function PS(e){return e.replace(/\s+/g,` `).trim()}function FS(e){return e.tagName&&e.tagName.toLowerCase()}function IS({multiple:e,options:t}){let n=[...t].filter(e=>e.selected);if(e)return[...n].map(e=>e.value);if(n.length!==0)return n[0].value}function LS(e){switch(e.type){case`number`:return e.value===``?null:Number(e.value);case`checkbox`:return e.checked;default:return e.value}}var RS=[`meter`,`progressbar`,`slider`,`spinbutton`];function zS(e){if(RS.includes(e.getAttribute(`role`)))return Number(e.getAttribute(`aria-valuenow`))}function BS(e){if(e)switch(e.tagName.toLowerCase()){case`input`:return LS(e);case`select`:return IS(e);default:return e.value??zS(e)}}function VS(e,{wordConnector:t=`, `,lastWordConnector:n=` and `}={}){return[e.slice(0,-1).join(t),e[e.length-1]].join(e.length>1?n:``)}function HS(e,t){if(Array.isArray(e)&&Array.isArray(t))return[...new Set(e)].every(e=>new Set(t).has(e))}function US(e,t){return NS(`toBeInTheDOM`,`Please use toBeInTheDocument for searching the entire document and toContainElement for searching a specific container.`),e&&DS(e,US,this),t&&DS(t,US,this),{pass:t?t.contains(e):!!e,message:()=>[this.utils.matcherHint(`${this.isNot?`.not`:``}.toBeInTheDOM`,`element`,``),``,`Received:`,` ${this.utils.printReceived(e&&e.cloneNode(!1))}`].join(`
221
+ `)}}function WS(e){(e!==null||!this.isNot)&&DS(e,WS,this);let t=e===null?!1:e.ownerDocument===e.getRootNode({composed:!0}),n=()=>`expected document not to contain element, found ${this.utils.stringify(e.cloneNode(!0))} instead`,r=()=>`element could not be found in the document`;return{pass:t,message:()=>[this.utils.matcherHint(`${this.isNot?`.not`:``}.toBeInTheDocument`,`element`,``),``,this.utils.RECEIVED_COLOR(this.isNot?n():r())].join(`
222
+ `)}}function GS(e){return NS(`toBeEmpty`,`Please use instead toBeEmptyDOMElement for finding empty nodes in the DOM.`),DS(e,GS,this),{pass:e.innerHTML===``,message:()=>[this.utils.matcherHint(`${this.isNot?`.not`:``}.toBeEmpty`,`element`,``),``,`Received:`,` ${this.utils.printReceived(e.innerHTML)}`].join(`
223
+ `)}}function KS(e){return DS(e,KS,this),{pass:qS(e),message:()=>[this.utils.matcherHint(`${this.isNot?`.not`:``}.toBeEmptyDOMElement`,`element`,``),``,`Received:`,` ${this.utils.printReceived(e.innerHTML)}`].join(`
224
+ `)}}function qS(e){return[...e.childNodes].filter(e=>e.nodeType!==8).length===0}function JS(e,t){return DS(e,JS,this),t!==null&&DS(t,JS,this),{pass:e.contains(t),message:()=>[this.utils.matcherHint(`${this.isNot?`.not`:``}.toContainElement`,`element`,`element`),``,this.utils.RECEIVED_COLOR(`${this.utils.stringify(e.cloneNode(!1))} ${this.isNot?`contains:`:`does not contain:`} ${this.utils.stringify(t&&t.cloneNode(!1))}
225
+ `)].join(`
226
+ `)}}function YS(e,t){let n=e.ownerDocument.createElement(`div`);return n.innerHTML=t,n.innerHTML}function XS(e,t){if(DS(e,XS,this),typeof t!=`string`)throw Error(`.toContainHTML() expects a string value, got ${t}`);return{pass:e.outerHTML.includes(YS(e,t)),message:()=>[this.utils.matcherHint(`${this.isNot?`.not`:``}.toContainHTML`,`element`,``),`Expected:`,` ${this.utils.EXPECTED_COLOR(t)}`,`Received:`,` ${this.utils.printReceived(e.cloneNode(!0))}`].join(`
227
+ `)}}function ZS(e,t,n={normalizeWhitespace:!0}){ES(e,ZS,this);let r=n.normalizeWhitespace?PS(e.textContent):e.textContent.replace(/\u00a0/g,` `),i=r!==``&&t===``;return{pass:!i&&MS(r,t),message:()=>{let e=this.isNot?`not to`:`to`;return jS(this,this.utils.matcherHint(`${this.isNot?`.not`:``}.toHaveTextContent`,`element`,``),i?`Checking with empty string will always match, use .toBeEmptyDOMElement() instead`:`Expected element ${e} have text content`,t,`Received`,r)}}}function QS(e,t){DS(e,QS,this);let n=hS(e),r=arguments.length===1,i=!1;return i=r?n!==``:t instanceof RegExp?t.test(n):this.equals(n,t),{pass:i,message:()=>{let e=this.isNot?`not to`:`to`;return jS(this,this.utils.matcherHint(`${this.isNot?`.not`:``}.${QS.name}`,`element`,``),`Expected element ${e} have accessible description`,t,`Received`,n)}}}var $S=`aria-invalid`,eC=[`false`];function tC(e,t){DS(e,tC,this);let n=this.isNot?`not to`:`to`,r=this.isNot?`.not.toHaveAccessibleErrorMessage`:`.toHaveAccessibleErrorMessage`,i=e.getAttribute(`aria-errormessage`);if(i&&/\s+/.test(i))return{pass:!1,message:()=>jS(this,this.utils.matcherHint(r,`element`),"Expected element's `aria-errormessage` attribute to be empty or a single, valid ID",``,`Received`,`aria-errormessage="${i}"`)};let a=e.getAttribute($S);if(!e.hasAttribute($S)||eC.includes(a))return{pass:!1,message:()=>jS(this,this.utils.matcherHint(r,`element`),`Expected element to be marked as invalid with attribute`,`${$S}="true"`,`Received`,e.hasAttribute(`aria-invalid`)?`${$S}="${e.getAttribute($S)}`:null)};let o=PS(e.ownerDocument.getElementById(i)?.textContent??``);return{pass:t===void 0?!!o:t instanceof RegExp?t.test(o):this.equals(o,t),message:()=>jS(this,this.utils.matcherHint(r,`element`),`Expected element ${n} have accessible error message`,t??``,`Received`,o)}}var nC=oC(vS.elementRoles);function rC(e,t){DS(e,rC,this);let n=iC(e);return{pass:n.some(e=>e===t),message:()=>{let e=this.isNot?`not to`:`to`;return jS(this,this.utils.matcherHint(`${this.isNot?`.not`:``}.${rC.name}`,`element`,``),`Expected element ${e} have role`,t,`Received`,n.join(`, `))}}}function iC(e){return e.hasAttribute(`role`)?e.getAttribute(`role`).split(` `).filter(Boolean):aC(e)}function aC(e){for(let{match:t,roles:n}of nC)if(t(e))return[...n];return[]}function oC(e){function t({name:e,attributes:t}){return`${e}${t.map(({name:e,value:t,constraints:n=[]})=>n.indexOf(`undefined`)===-1?t?`[${e}="${t}"]`:`[${e}]`:`:not([${e}])`).join(``)}`}function n({attributes:e=[]}){return e.length}function r({specificity:e},{specificity:t}){return t-e}function i(e){let{attributes:n=[]}=e,r=n.findIndex(e=>e.value&&e.name===`type`&&e.value===`text`);r>=0&&(n=[...n.slice(0,r),...n.slice(r+1)]);let i=t({...e,attributes:n});return e=>r>=0&&e.type!==`text`?!1:e.matches(i)}let a=[];for(let[t,r]of e.entries())a=[...a,{match:i(t),roles:Array.from(r),specificity:n(t)}];return a.sort(r)}function sC(e,t){DS(e,sC,this);let n=_S(e),r=arguments.length===1,i=!1;return i=r?n!==``:t instanceof RegExp?t.test(n):this.equals(n,t),{pass:i,message:()=>{let e=this.isNot?`not to`:`to`;return jS(this,this.utils.matcherHint(`${this.isNot?`.not`:``}.${sC.name}`,`element`,``),`Expected element ${e} have accessible name`,t,`Received`,n)}}}function cC(e,t,n){return n===void 0?t:`${t}=${e(n)}`}function lC(e,t,n){return n===void 0?`element.hasAttribute(${e(t)})`:`element.getAttribute(${e(t)}) === ${e(n)}`}function uC(e,t,n){DS(e,uC,this);let r=n!==void 0,i=e.hasAttribute(t),a=e.getAttribute(t);return{pass:r?i&&this.equals(a,n):i,message:()=>{let e=this.isNot?`not to`:`to`,o=i?cC(this.utils.stringify,t,a):null,s=this.utils.matcherHint(`${this.isNot?`.not`:``}.toHaveAttribute`,`element`,this.utils.printExpected(t),{secondArgument:r?this.utils.printExpected(n):void 0,comment:lC(this.utils.stringify,t,n)});return jS(this,s,`Expected the element ${e} have attribute`,cC(this.utils.stringify,t,n),`Received`,o)}}}function dC(e){let t=e.pop(),n,r;return typeof t==`object`&&!(t instanceof RegExp)?(n=e,r=t):(n=e.concat(t),r={exact:!1}),{expectedClassNames:n,options:r}}function fC(e){return e?e.split(/\s+/).filter(e=>e.length>0):[]}function pC(e,t){return e.every(e=>typeof e==`string`?t.includes(e):t.some(t=>e.test(t)))}function mC(e,...t){DS(e,mC,this);let{expectedClassNames:n,options:r}=dC(t),i=fC(e.getAttribute(`class`)),a=n.reduce((e,t)=>e.concat(typeof t==`string`||!t?fC(t):t),[]),o=a.some(e=>e instanceof RegExp);if(r.exact&&o)throw Error(`Exact option does not support RegExp expected class names`);return r.exact?{pass:pC(a,i)&&a.length===i.length,message:()=>{let e=this.isNot?`not to`:`to`;return jS(this,this.utils.matcherHint(`${this.isNot?`.not`:``}.toHaveClass`,`element`,this.utils.printExpected(a.join(` `))),`Expected the element ${e} have EXACTLY defined classes`,a.join(` `),`Received`,i.join(` `))}}:a.length>0?{pass:pC(a,i),message:()=>{let e=this.isNot?`not to`:`to`;return jS(this,this.utils.matcherHint(`${this.isNot?`.not`:``}.toHaveClass`,`element`,this.utils.printExpected(a.join(` `))),`Expected the element ${e} have class`,a.join(` `),`Received`,i.join(` `))}}:{pass:this.isNot?i.length>0:!1,message:()=>this.isNot?jS(this,this.utils.matcherHint(`.not.toHaveClass`,`element`,``),`Expected the element to have classes`,`(none)`,`Received`,i.join(` `)):[this.utils.matcherHint(`.toHaveClass`,`element`),`At least one expected class must be provided.`].join(`
228
+ `)}}function hC(e,t){let n={},r=e.createElement(`div`);return Object.keys(t).forEach(e=>{r.style[e]=t[e],n[e]=r.style[e]}),n}function gC(e,t){return!!Object.keys(e).length&&Object.entries(e).every(([e,n])=>{let r=e.startsWith(`--`),i=[e];return r||i.push(e.toLowerCase()),i.some(e=>t[e]===n||t.getPropertyValue(e)===n)})}function _C(e){return Object.keys(e).sort().map(t=>`${t}: ${e[t]};`).join(`
229
+ `)}function vC(e,t,n){let r=Array.from(n).filter(e=>t[e]!==void 0).reduce((e,t)=>Object.assign(e,{[t]:n.getPropertyValue(t)}),{});return e(_C(t),_C(r)).replace(`${yS.default.red(`+ Received`)}
230
+ `,``)}function yC(e,t){DS(e,yC,this);let n=typeof t==`object`?t:kS(t,yC,this),{getComputedStyle:r}=e.ownerDocument.defaultView,i=hC(e.ownerDocument,n),a=r(e);return{pass:gC(i,a),message:()=>{let e=`${this.isNot?`.not`:``}.toHaveStyle`;return[this.utils.matcherHint(e,`element`,``),vC(this.utils.diff,i,a)].join(`
231
+
232
+ `)}}}function bC(e){return DS(e,bC,this),{pass:e.ownerDocument.activeElement===e,message:()=>[this.utils.matcherHint(`${this.isNot?`.not`:``}.toHaveFocus`,`element`,``),``,...this.isNot?[`Received element is focused:`,` ${this.utils.printReceived(e)}`]:[`Expected element with focus:`,` ${this.utils.printExpected(e)}`,`Received element with focus:`,` ${this.utils.printReceived(e.ownerDocument.activeElement)}`]].join(`
233
+ `)}}function xC(e){let t=[...new Set(e.map(e=>e.type))];if(t.length!==1)throw Error(`Multiple form elements with the same name must be of the same type`);switch(t[0]){case`radio`:{let t=e.find(e=>e.checked);return t?t.value:void 0}case`checkbox`:return e.filter(e=>e.checked).map(e=>e.value);default:return e.map(e=>e.value)}}function SC(e,t){let n=[...e.querySelectorAll(`[name="${(0,xS.default)(t)}"]`)];if(n.length!==0)switch(n.length){case 1:return BS(n[0]);default:return xC(n)}}function CC(e){return/\[\]$/.test(e)?e.slice(0,-2):e}function wC(e){return Array.from(e.elements).map(e=>e.name).reduce((t,n)=>({...t,[CC(n)]:SC(e,n)}),{})}function TC(e,t){if(DS(e,TC,this),!e.elements)throw Error(`toHaveFormValues must be called on a form or a fieldset`);let n=wC(e);return{pass:Object.entries(t).every(([e,t])=>(0,bS.default)(n[e],t,HS)),message:()=>{let e=this.isNot?`not to`:`to`,r=`${this.isNot?`.not`:``}.toHaveFormValues`,i=Object.keys(n).filter(e=>t.hasOwnProperty(e)).reduce((e,t)=>({...e,[t]:n[t]}),{});return[this.utils.matcherHint(r,`element`,``),`Expected the element ${e} have form values`,this.utils.diff(t,i)].join(`
234
+
235
+ `)}}}function EC(e){let{getComputedStyle:t}=e.ownerDocument.defaultView,{display:n,visibility:r,opacity:i}=t(e);return n!==`none`&&r!==`hidden`&&r!==`collapse`&&i!==`0`&&i!==0}function DC(e,t){let n;return n=t?e.nodeName===`DETAILS`&&t.nodeName!==`SUMMARY`?e.hasAttribute(`open`):!0:e.nodeName===`DETAILS`?e.hasAttribute(`open`):!0,!e.hasAttribute(`hidden`)&&n}function OC(e,t){return EC(e)&&DC(e,t)&&(!e.parentElement||OC(e.parentElement,e))}function kC(e){DS(e,kC,this);let t=e.ownerDocument===e.getRootNode({composed:!0}),n=t&&OC(e);return{pass:n,message:()=>{let r=n?`is`:`is not`;return[this.utils.matcherHint(`${this.isNot?`.not`:``}.toBeVisible`,`element`,``),``,`Received element ${r} visible${t?``:` (element is not in the document)`}:`,` ${this.utils.printReceived(e.cloneNode(!1))}`].join(`
236
+ `)}}}var AC=[`fieldset`,`input`,`select`,`optgroup`,`option`,`button`,`textarea`];function jC(e,t){return FS(e)===`legend`&&FS(t)===`fieldset`&&e.isSameNode(Array.from(t.children).find(e=>FS(e)===`legend`))}function MC(e,t){return FC(t)&&!jC(e,t)}function NC(e){return e.includes(`-`)}function PC(e){let t=FS(e);return AC.includes(t)||NC(t)}function FC(e){return PC(e)&&e.hasAttribute(`disabled`)}function IC(e){let t=e.parentElement;return!!t&&(MC(e,t)||IC(t))}function LC(e){return PC(e)&&(FC(e)||IC(e))}function RC(e){DS(e,RC,this);let t=LC(e);return{pass:t,message:()=>{let n=t?`is`:`is not`;return[this.utils.matcherHint(`${this.isNot?`.not`:``}.toBeDisabled`,`element`,``),``,`Received element ${n} disabled:`,` ${this.utils.printReceived(e.cloneNode(!1))}`].join(`
237
+ `)}}}function zC(e){DS(e,zC,this);let t=!LC(e);return{pass:t,message:()=>{let n=t?`is`:`is not`;return[this.utils.matcherHint(`${this.isNot?`.not`:``}.toBeEnabled`,`element`,``),``,`Received element ${n} enabled:`,` ${this.utils.printReceived(e.cloneNode(!1))}`].join(`
238
+ `)}}}var BC=[`select`,`textarea`],VC=[`input`,`select`,`textarea`],HC=[`color`,`hidden`,`range`,`submit`,`image`,`reset`],UC=[`checkbox`,`combobox`,`gridcell`,`listbox`,`radiogroup`,`spinbutton`,`textbox`,`tree`];function WC(e){return BC.includes(FS(e))&&e.hasAttribute(`required`)}function GC(e){return FS(e)===`input`&&e.hasAttribute(`required`)&&(e.hasAttribute(`type`)&&!HC.includes(e.getAttribute(`type`))||!e.hasAttribute(`type`))}function KC(e){return e.hasAttribute(`aria-required`)&&e.getAttribute(`aria-required`)===`true`&&(VC.includes(FS(e))||e.hasAttribute(`role`)&&UC.includes(e.getAttribute(`role`)))}function qC(e){DS(e,qC,this);let t=WC(e)||GC(e)||KC(e);return{pass:t,message:()=>{let n=t?`is`:`is not`;return[this.utils.matcherHint(`${this.isNot?`.not`:``}.toBeRequired`,`element`,``),``,`Received element ${n} required:`,` ${this.utils.printReceived(e.cloneNode(!1))}`].join(`
239
+ `)}}}var JC=[`form`,`input`,`select`,`textarea`];function YC(e){return e.hasAttribute(`aria-invalid`)&&e.getAttribute(`aria-invalid`)!==`false`}function XC(e){return JC.includes(FS(e))}function ZC(e){let t=YC(e);return XC(e)?t||!e.checkValidity():t}function QC(e){DS(e,QC,this);let t=ZC(e);return{pass:t,message:()=>{let n=t?`is`:`is not`;return[this.utils.matcherHint(`${this.isNot?`.not`:``}.toBeInvalid`,`element`,``),``,`Received element ${n} currently invalid:`,` ${this.utils.printReceived(e.cloneNode(!1))}`].join(`
240
+ `)}}}function $C(e){DS(e,$C,this);let t=!ZC(e);return{pass:t,message:()=>{let n=t?`is`:`is not`;return[this.utils.matcherHint(`${this.isNot?`.not`:``}.toBeValid`,`element`,``),``,`Received element ${n} currently valid:`,` ${this.utils.printReceived(e.cloneNode(!1))}`].join(`
241
+ `)}}}function ew(e,t){if(DS(e,ew,this),e.tagName.toLowerCase()===`input`&&[`checkbox`,`radio`].includes(e.type))throw Error(`input with type=checkbox or type=radio cannot be used with .toHaveValue(). Use .toBeChecked() for type=checkbox or .toHaveFormValues() instead`);let n=BS(e),r=t!==void 0,i=t,a=n;return t==n&&t!==n&&(i=`${t} (${typeof t})`,a=`${n} (${typeof n})`),{pass:r?(0,bS.default)(n,t,HS):!!n,message:()=>{let e=this.isNot?`not to`:`to`,n=this.utils.matcherHint(`${this.isNot?`.not`:``}.toHaveValue`,`element`,t);return jS(this,n,`Expected the element ${e} have value`,r?i:`(any)`,`Received`,a)}}}function tw(e,t){DS(e,tw,this);let n=e.tagName.toLowerCase();if(![`select`,`input`,`textarea`].includes(n))throw Error(`.toHaveDisplayValue() currently supports only input, textarea or select elements, try with another matcher instead.`);if(n===`input`&&[`radio`,`checkbox`].includes(e.type))throw Error(`.toHaveDisplayValue() currently does not support input[type="${e.type}"], try with another matcher instead.`);let r=nw(n,e),i=rw(t),a=i.filter(e=>r.some(t=>e instanceof RegExp?e.test(t):this.equals(t,String(e)))).length,o=a===r.length,s=a===i.length;return{pass:o&&s,message:()=>jS(this,this.utils.matcherHint(`${this.isNot?`.not`:``}.toHaveDisplayValue`,`element`,``),`Expected element ${this.isNot?`not `:``}to have display value`,t,`Received`,r)}}function nw(e,t){return e===`select`?Array.from(t).filter(e=>e.selected).map(e=>e.textContent):[t.value]}function rw(e){return e instanceof Array?e:[e]}function iw(e){DS(e,iw,this);let t=()=>e.tagName.toLowerCase()===`input`&&[`checkbox`,`radio`].includes(e.type);if(!t()&&!(sw(e.getAttribute(`role`))&&[`true`,`false`].includes(e.getAttribute(`aria-checked`))))return{pass:!1,message:()=>`only inputs with type="checkbox" or type="radio" or elements with ${aw()} and a valid aria-checked attribute can be used with .toBeChecked(). Use .toHaveValue() instead`};let n=()=>t()?e.checked:e.getAttribute(`aria-checked`)===`true`;return{pass:n(),message:()=>{let t=n()?`is`:`is not`;return[this.utils.matcherHint(`${this.isNot?`.not`:``}.toBeChecked`,`element`,``),``,`Received element ${t} checked:`,` ${this.utils.printReceived(e.cloneNode(!1))}`].join(`
242
+ `)}}}function aw(){return VS(ow().map(e=>`role="${e}"`),{lastWordConnector:` or `})}function ow(){return vS.roles.keys().filter(sw)}function sw(e){return vS.roles.get(e)?.props[`aria-checked`]!==void 0}function cw(e){DS(e,cw,this);let t=()=>e.tagName.toLowerCase()===`input`&&e.type===`checkbox`;if(!t()&&e.getAttribute(`role`)!==`checkbox`)return{pass:!1,message:()=>`only inputs with type="checkbox" or elements with role="checkbox" and a valid aria-checked attribute can be used with .toBePartiallyChecked(). Use .toHaveValue() instead`};let n=()=>{let n=e.getAttribute(`aria-checked`)===`mixed`;return t()&&e.indeterminate||n};return{pass:n(),message:()=>{let t=n()?`is`:`is not`;return[this.utils.matcherHint(`${this.isNot?`.not`:``}.toBePartiallyChecked`,`element`,``),``,`Received element ${t} partially checked:`,` ${this.utils.printReceived(e.cloneNode(!1))}`].join(`
243
+ `)}}}function lw(e,t){NS(`toHaveDescription`,`Please use toHaveAccessibleDescription.`),DS(e,lw,this);let n=t!==void 0,r=(e.getAttribute(`aria-describedby`)||``).split(/\s+/).filter(Boolean),i=``;if(r.length>0){let t=e.ownerDocument;i=PS(r.map(e=>t.getElementById(e)).filter(Boolean).map(e=>e.textContent).join(` `))}return{pass:n?t instanceof RegExp?t.test(i):this.equals(i,t):!!i,message:()=>{let e=this.isNot?`not to`:`to`;return jS(this,this.utils.matcherHint(`${this.isNot?`.not`:``}.toHaveDescription`,`element`,``),`Expected the element ${e} have description`,this.utils.printExpected(t),`Received`,this.utils.printReceived(i))}}}function uw(e,t){if(NS(`toHaveErrorMessage`,`Please use toHaveAccessibleErrorMessage.`),DS(e,uw,this),!e.hasAttribute(`aria-invalid`)||e.getAttribute(`aria-invalid`)===`false`){let t=this.isNot?`.not`:``;return{pass:!1,message:()=>jS(this,this.utils.matcherHint(`${t}.toHaveErrorMessage`,`element`,``),`Expected the element to have invalid state indicated by`,`aria-invalid="true"`,`Received`,e.hasAttribute(`aria-invalid`)?`aria-invalid="${e.getAttribute(`aria-invalid`)}"`:this.utils.printReceived(``))}}let n=t!==void 0,r=(e.getAttribute(`aria-errormessage`)||``).split(/\s+/).filter(Boolean),i=``;if(r.length>0){let t=e.ownerDocument;i=PS(r.map(e=>t.getElementById(e)).filter(Boolean).map(e=>e.textContent).join(` `))}return{pass:n?t instanceof RegExp?t.test(i):this.equals(i,t):!!i,message:()=>{let e=this.isNot?`not to`:`to`;return jS(this,this.utils.matcherHint(`${this.isNot?`.not`:``}.toHaveErrorMessage`,`element`,``),`Expected the element ${e} have error message`,this.utils.printExpected(t),`Received`,this.utils.printReceived(i))}}}function dw(e){let t=e.ownerDocument.getSelection();if([`input`,`textarea`].includes(e.tagName.toLowerCase()))return[`radio`,`checkbox`].includes(e.type)?``:e.value.toString().substring(e.selectionStart,e.selectionEnd);if(t.anchorNode===null||t.focusNode===null)return``;let n=t.getRangeAt(0),r=e.ownerDocument.createRange();if(t.containsNode(e,!1))r.selectNodeContents(e),t.removeAllRanges(),t.addRange(r);else if(!(e.contains(t.anchorNode)&&e.contains(t.focusNode))){let i=e===n.startContainer||e.contains(n.startContainer),a=e===n.endContainer||e.contains(n.endContainer);t.removeAllRanges(),(i||a)&&(r.selectNodeContents(e),i&&r.setStart(n.startContainer,n.startOffset),a&&r.setEnd(n.endContainer,n.endOffset),t.addRange(r))}let i=t.toString();return t.removeAllRanges(),t.addRange(n),i}function fw(e,t){DS(e,fw,this);let n=t!==void 0;if(n&&typeof t!=`string`)throw Error(`expected selection must be a string or undefined`);let r=dw(e);return{pass:n?(0,bS.default)(r,t,HS):!!r,message:()=>{let e=this.isNot?`not to`:`to`,i=this.utils.matcherHint(`${this.isNot?`.not`:``}.toHaveSelection`,`element`,t);return jS(this,i,`Expected the element ${e} have selection`,n?t:`(any)`,`Received`,r)}}}Object.freeze({__proto__:null,toBeChecked:iw,toBeDisabled:RC,toBeEmpty:GS,toBeEmptyDOMElement:KS,toBeEnabled:zC,toBeInTheDOM:US,toBeInTheDocument:WS,toBeInvalid:QC,toBePartiallyChecked:cw,toBeRequired:qC,toBeValid:$C,toBeVisible:kC,toContainElement:JS,toContainHTML:XS,toHaveAccessibleDescription:QS,toHaveAccessibleErrorMessage:tC,toHaveAccessibleName:sC,toHaveAttribute:uC,toHaveClass:mC,toHaveDescription:lw,toHaveDisplayValue:tw,toHaveErrorMessage:uw,toHaveFocus:bC,toHaveFormValues:TC,toHaveRole:rC,toHaveSelection:fw,toHaveStyle:yC,toHaveTextContent:ZS,toHaveValue:ew}),S(D(),1),S(Dn(),1),S(In(),1),S(_i(),1),S(vi(),1);var pw,mw;function hw(){if(mw)return pw;mw=1;var e,t,n,r,i,a,o,s,c,l,u,d,f,p,m,h,g,_,v;return f=/\/(?![*\/])(?:\[(?:(?![\]\\]).|\\.)*\]|(?![\/\\]).|\\.)*(\/[$_\u200C\u200D\p{ID_Continue}]*|\\)?/uy,d=/--|\+\+|=>|\.{3}|\??\.(?!\d)|(?:&&|\|\||\?\?|[+\-%&|^]|\*{1,2}|<{1,2}|>{1,3}|!=?|={1,2}|\/(?![\/*]))=?|[?~,:;[\](){}]/y,e=/(\x23?)(?=[$_\p{ID_Start}\\])(?:[$_\u200C\u200D\p{ID_Continue}]|\\u[\da-fA-F]{4}|\\u\{[\da-fA-F]+\})+/uy,m=/(['"])(?:(?!\1)[^\\\n\r]|\\(?:\r\n|[^]))*(\1)?/y,u=/(?:0[xX][\da-fA-F](?:_?[\da-fA-F])*|0[oO][0-7](?:_?[0-7])*|0[bB][01](?:_?[01])*)n?|0n|[1-9](?:_?\d)*n|(?:(?:0(?!\d)|0\d*[89]\d*|[1-9](?:_?\d)*)(?:\.(?:\d(?:_?\d)*)?)?|\.\d(?:_?\d)*)(?:[eE][+-]?\d(?:_?\d)*)?|0[0-7]+/y,h=/[`}](?:[^`\\$]|\\[^]|\$(?!\{))*(`|\$\{)?/y,v=/[\t\v\f\ufeff\p{Zs}]+/uy,s=/\r?\n|[\r\u2028\u2029]/y,c=/\/\*(?:[^*]|\*(?!\/))*(\*\/)?/y,p=/\/\/.*/y,n=/[<>.:={}]|\/(?![\/*])/y,t=/[$_\p{ID_Start}][$_\u200C\u200D\p{ID_Continue}-]*/uy,r=/(['"])(?:(?!\1)[^])*(\1)?/y,i=/[^<>{}]+/y,_=/^(?:[\/+-]|\.{3}|\?(?:InterpolationIn(?:JSX|Template)|NoLineTerminatorHere|NonExpressionParenEnd|UnaryIncDec))?$|[{}([,;<>=*%&|^!~?:]$/,g=/^(?:=>|[;\]){}]|else|\?(?:NoLineTerminatorHere|NonExpressionParenEnd))?$/,a=/^(?:await|case|default|delete|do|else|instanceof|new|return|throw|typeof|void|yield)$/,o=/^(?:return|throw|yield)$/,l=RegExp(s.source),pw=function*(y,{jsx:b=!1}={}){var x,S,C,w,T,E,D,O,k,A,j,M,N,P;for({length:E}=y,w=0,T=``,P=[{tag:`JS`}],x=[],j=0,M=!1;w<E;){switch(O=P[P.length-1],O.tag){case`JS`:case`JSNonExpressionParen`:case`InterpolationInTemplate`:case`InterpolationInJSX`:if(y[w]===`/`&&(_.test(T)||a.test(T))&&(f.lastIndex=w,D=f.exec(y))){w=f.lastIndex,T=D[0],M=!0,yield{type:`RegularExpressionLiteral`,value:D[0],closed:D[1]!==void 0&&D[1]!==`\\`};continue}if(d.lastIndex=w,D=d.exec(y)){switch(N=D[0],k=d.lastIndex,A=N,N){case`(`:T===`?NonExpressionParenKeyword`&&P.push({tag:`JSNonExpressionParen`,nesting:j}),j++,M=!1;break;case`)`:j--,M=!0,O.tag===`JSNonExpressionParen`&&j===O.nesting&&(P.pop(),A=`?NonExpressionParenEnd`,M=!1);break;case`{`:d.lastIndex=0,C=!g.test(T)&&(_.test(T)||a.test(T)),x.push(C),M=!1;break;case`}`:switch(O.tag){case`InterpolationInTemplate`:if(x.length===O.nesting){h.lastIndex=w,D=h.exec(y),w=h.lastIndex,T=D[0],D[1]==="${"?(T=`?InterpolationInTemplate`,M=!1,yield{type:`TemplateMiddle`,value:D[0]}):(P.pop(),M=!0,yield{type:`TemplateTail`,value:D[0],closed:D[1]==="`"});continue}break;case`InterpolationInJSX`:if(x.length===O.nesting){P.pop(),w+=1,T=`}`,yield{type:`JSXPunctuator`,value:`}`};continue}}M=x.pop(),A=M?`?ExpressionBraceEnd`:`}`;break;case`]`:M=!0;break;case`++`:case`--`:A=M?`?PostfixIncDec`:`?UnaryIncDec`;break;case`<`:if(b&&(_.test(T)||a.test(T))){P.push({tag:`JSXTag`}),w+=1,T=`<`,yield{type:`JSXPunctuator`,value:N};continue}M=!1;break;default:M=!1}w=k,T=A,yield{type:`Punctuator`,value:N};continue}if(e.lastIndex=w,D=e.exec(y)){switch(w=e.lastIndex,A=D[0],D[0]){case`for`:case`if`:case`while`:case`with`:T!==`.`&&T!==`?.`&&(A=`?NonExpressionParenKeyword`)}T=A,M=!a.test(D[0]),yield{type:D[1]===`#`?`PrivateIdentifier`:`IdentifierName`,value:D[0]};continue}if(m.lastIndex=w,D=m.exec(y)){w=m.lastIndex,T=D[0],M=!0,yield{type:`StringLiteral`,value:D[0],closed:D[2]!==void 0};continue}if(u.lastIndex=w,D=u.exec(y)){w=u.lastIndex,T=D[0],M=!0,yield{type:`NumericLiteral`,value:D[0]};continue}if(h.lastIndex=w,D=h.exec(y)){w=h.lastIndex,T=D[0],D[1]==="${"?(T=`?InterpolationInTemplate`,P.push({tag:`InterpolationInTemplate`,nesting:x.length}),M=!1,yield{type:`TemplateHead`,value:D[0]}):(M=!0,yield{type:`NoSubstitutionTemplate`,value:D[0],closed:D[1]==="`"});continue}break;case`JSXTag`:case`JSXTagEnd`:if(n.lastIndex=w,D=n.exec(y)){switch(w=n.lastIndex,A=D[0],D[0]){case`<`:P.push({tag:`JSXTag`});break;case`>`:P.pop(),T===`/`||O.tag===`JSXTagEnd`?(A=`?JSX`,M=!0):P.push({tag:`JSXChildren`});break;case`{`:P.push({tag:`InterpolationInJSX`,nesting:x.length}),A=`?InterpolationInJSX`,M=!1;break;case`/`:T===`<`&&(P.pop(),P[P.length-1].tag===`JSXChildren`&&P.pop(),P.push({tag:`JSXTagEnd`}))}T=A,yield{type:`JSXPunctuator`,value:D[0]};continue}if(t.lastIndex=w,D=t.exec(y)){w=t.lastIndex,T=D[0],yield{type:`JSXIdentifier`,value:D[0]};continue}if(r.lastIndex=w,D=r.exec(y)){w=r.lastIndex,T=D[0],yield{type:`JSXString`,value:D[0],closed:D[2]!==void 0};continue}break;case`JSXChildren`:if(i.lastIndex=w,D=i.exec(y)){w=i.lastIndex,T=D[0],yield{type:`JSXText`,value:D[0]};continue}switch(y[w]){case`<`:P.push({tag:`JSXTag`}),w++,T=`<`,yield{type:`JSXPunctuator`,value:`<`};continue;case`{`:P.push({tag:`InterpolationInJSX`,nesting:x.length}),w++,T=`?InterpolationInJSX`,M=!1,yield{type:`JSXPunctuator`,value:`{`};continue}}if(v.lastIndex=w,D=v.exec(y)){w=v.lastIndex,yield{type:`WhiteSpace`,value:D[0]};continue}if(s.lastIndex=w,D=s.exec(y)){w=s.lastIndex,M=!1,o.test(T)&&(T=`?NoLineTerminatorHere`),yield{type:`LineTerminatorSequence`,value:D[0]};continue}if(c.lastIndex=w,D=c.exec(y)){w=c.lastIndex,l.test(D[0])&&(M=!1,o.test(T)&&(T=`?NoLineTerminatorHere`)),yield{type:`MultiLineComment`,value:D[0],closed:D[1]!==void 0};continue}if(p.lastIndex=w,D=p.exec(y)){w=p.lastIndex,M=!1,yield{type:`SingleLineComment`,value:D[0]};continue}S=String.fromCodePoint(y.codePointAt(w)),w+=S.length,T=S,M=!1,yield{type:O.tag.startsWith(`JSX`)?`JSXInvalid`:`Invalid`,value:S}}},pw}Nh(hw());var gw={keyword:`break.case.catch.continue.debugger.default.do.else.finally.for.function.if.return.switch.throw.try.var.const.while.with.new.this.super.class.extends.export.import.null.true.false.in.instanceof.typeof.void.delete`.split(`.`),strict:[`implements`,`interface`,`let`,`package`,`private`,`protected`,`public`,`static`,`yield`]};new Set(gw.keyword),new Set(gw.strict);var _w=Object.entries({reset:[0,0],bold:[1,22,`\x1B[22m\x1B[1m`],dim:[2,22,`\x1B[22m\x1B[2m`],italic:[3,23],underline:[4,24],inverse:[7,27],hidden:[8,28],strikethrough:[9,29],black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],gray:[90,39],bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],blackBright:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39],bgBlackBright:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]});function vw(e){return String(e)}vw.open=``,vw.close=``,_w.reduce((e,[t])=>(e[t]=vw,e),{isColorSupported:!1});function yw(e=!1){let t=typeof process<`u`?process:void 0,n=t?.env||{},r=t?.argv||[];return!(`NO_COLOR`in n||r.includes(`--no-color`))&&(`FORCE_COLOR`in n||r.includes(`--color`)||t?.platform===`win32`||e&&n.TERM!==`dumb`||`CI`in n)||typeof window<`u`&&!!window.chrome}function bw(e=!1){let t=yw(e),n=(e,t,n,r)=>{let i=``,a=0;do i+=e.substring(a,r)+n,a=r+t.length,r=e.indexOf(t,a);while(~r);return i+e.substring(a)},r=(e,t,r=e)=>{let i=i=>{let a=String(i),o=a.indexOf(t,e.length);return~o?e+n(a,t,r,o)+t:e+a+t};return i.open=e,i.close=t,i},i={isColorSupported:t},a=e=>`\x1B[${e}m`;for(let[e,n]of _w)i[e]=t?r(a(n[0]),a(n[1]),n[2]):vw;return i}var xw=bw();function Sw(e,t){if(!e)throw Error(t)}function Cw(e,t){return typeof t===e}function ww(e){return e instanceof Promise}function Tw(e,t,n){Object.defineProperty(e,t,n)}function Ew(e,t,n){Tw(e,t,{value:n,configurable:!0,writable:!0})}var Dw=Symbol.for(`tinyspy:spy`),Ow=new Set,kw=e=>{e.called=!1,e.callCount=0,e.calls=[],e.results=[],e.resolves=[],e.next=[]},Aw=e=>(Tw(e,Dw,{value:{reset:()=>kw(e[Dw])}}),e[Dw]),jw=e=>e[Dw]||Aw(e);function Mw(e){Sw(Cw(`function`,e)||Cw(`undefined`,e),`cannot spy on a non-function value`);let t=function(...e){let n=jw(t);n.called=!0,n.callCount++,n.calls.push(e);let r=n.next.shift();if(r){n.results.push(r);let[e,t]=r;if(e===`ok`)return t;throw t}let i,a=`ok`,o=n.results.length;if(n.impl)try{i=new.target?Reflect.construct(n.impl,e,new.target):n.impl.apply(this,e),a=`ok`}catch(e){throw i=e,a=`error`,n.results.push([a,e]),e}let s=[a,i];return ww(i)&&i.then(e=>n.resolves[o]=[`ok`,e],e=>n.resolves[o]=[`error`,e]),n.results.push(s),i};Ew(t,`_isMockFunction`,!0),Ew(t,`length`,e?e.length:0),Ew(t,`name`,e&&e.name||`spy`);let n=jw(t);return n.reset(),n.impl=e,t}function Nw(e){return!!e&&e._isMockFunction===!0}var Pw=(e,t)=>{let n=Object.getOwnPropertyDescriptor(e,t);if(n)return[e,n];let r=Object.getPrototypeOf(e);for(;r!==null;){let e=Object.getOwnPropertyDescriptor(r,t);if(e)return[r,e];r=Object.getPrototypeOf(r)}},Fw=(e,t)=>{t!=null&&typeof t==`function`&&t.prototype!=null&&Object.setPrototypeOf(e.prototype,t.prototype)};function Iw(e,t,n){Sw(!Cw(`undefined`,e),`spyOn could not find an object to spy upon`),Sw(Cw(`object`,e)||Cw(`function`,e),`cannot spyOn on a primitive value`);let[r,i]=(()=>{if(!Cw(`object`,t))return[t,`value`];if(`getter`in t&&`setter`in t)throw Error(`cannot spy on both getter and setter`);if(`getter`in t)return[t.getter,`get`];if(`setter`in t)return[t.setter,`set`];throw Error(`specify getter or setter to spy on`)})(),[a,o]=Pw(e,r)||[];Sw(o||r in e,`${String(r)} does not exist`);let s=!1;i===`value`&&o&&!o.value&&o.get&&(i=`get`,s=!0,n=o.get());let c;c=o?o[i]:i===`value`?e[r]:()=>e[r],c&&Bw(c)&&(c=c[Dw].getOriginal());let l=t=>{let{value:n,...a}=o||{configurable:!0,writable:!0};i!==`value`&&delete a.writable,a[i]=t,Tw(e,r,a)},u=()=>{a===e?o&&!c?Tw(e,r,o):l(c):Reflect.deleteProperty(e,r)};n||=c;let d=zw(Mw(n),n);i===`value`&&Fw(d,c);let f=d[Dw];return Ew(f,`restore`,u),Ew(f,`getOriginal`,()=>s?c():c),Ew(f,`willCall`,e=>(f.impl=e,d)),l(s?()=>(Fw(d,n),d):d),Ow.add(d),d}var Lw=new Set([`length`,`name`,`prototype`]);function Rw(e){let t=new Set,n={};for(;e&&e!==Object.prototype&&e!==Function.prototype;){let r=[...Object.getOwnPropertyNames(e),...Object.getOwnPropertySymbols(e)];for(let i of r)n[i]||Lw.has(i)||(t.add(i),n[i]=Object.getOwnPropertyDescriptor(e,i));e=Object.getPrototypeOf(e)}return{properties:t,descriptors:n}}function zw(e,t){if(!t||Dw in t)return e;let{properties:n,descriptors:r}=Rw(t);for(let t of n){let n=r[t];Pw(e,t)||Tw(e,t,n)}return e}function Bw(e){return Nw(e)&&`getOriginal`in e[Dw]}var Vw=new Set;function Hw(e){return typeof e==`function`&&`_isMockFunction`in e&&e._isMockFunction}function Uw(e,t,n){let r=n?{[{get:`getter`,set:`setter`}[n]]:t}:t,i,a=qw(e,t),o=a&&a[n||`value`];Hw(o)&&(i=o.mock._state());try{let t=Gw(Iw(e,r));return i&&t.mock._state(i),t}catch(t){throw t instanceof TypeError&&Symbol.toStringTag&&e[Symbol.toStringTag]===`Module`&&(t.message.includes(`Cannot redefine property`)||t.message.includes(`Cannot replace module namespace`)||t.message.includes(`can't redefine non-configurable property`))?TypeError(`Cannot spy on export "${String(r)}". Module namespace is not configurable in ESM. See: https://vitest.dev/guide/browser/#limitations`,{cause:t}):t}}var Ww=0;function Gw(e){let t=e,n,r=[],i=!1,a=[],o=[],s=[],c=jw(e),l={get calls(){return c.calls},get contexts(){return o},get instances(){return a},get invocationCallOrder(){return s},get results(){return c.results.map(([e,t])=>({type:e===`error`?`throw`:`return`,value:t}))},get settledResults(){return c.resolves.map(([e,t])=>({type:e===`error`?`rejected`:`fulfilled`,value:t}))},get lastCall(){return c.calls[c.calls.length-1]},_state(e){return e&&(n=e.implementation,r=e.onceImplementations,i=e.implementationChangedTemporarily),{implementation:n,onceImplementations:r,implementationChangedTemporarily:i}}};function u(...e){return a.push(this),o.push(this),s.push(++Ww),(i?n:r.shift()||n||c.getOriginal()||(()=>{})).apply(this,e)}let d=t.name;t.getMockName=()=>d||`vi.fn()`,t.mockName=e=>(d=e,t),t.mockClear=()=>(c.reset(),a=[],o=[],s=[],t),t.mockReset=()=>(t.mockClear(),n=void 0,r=[],t),t.mockRestore=()=>(t.mockReset(),c.restore(),t),Symbol.dispose&&(t[Symbol.dispose]=()=>t.mockRestore()),t.getMockImplementation=()=>i?n:r.at(0)||n,t.mockImplementation=e=>(n=e,c.willCall(u),t),t.mockImplementationOnce=e=>(r.push(e),t);function f(e,r){let a=n;n=e,c.willCall(u),i=!0;let o=()=>{n=a,i=!1},s=r();return typeof s==`object`&&s&&typeof s.then==`function`?s.then(()=>(o(),t)):(o(),t)}return t.withImplementation=f,t.mockReturnThis=()=>t.mockImplementation(function(){return this}),t.mockReturnValue=e=>t.mockImplementation(()=>e),t.mockReturnValueOnce=e=>t.mockImplementationOnce(()=>e),t.mockResolvedValue=e=>t.mockImplementation(()=>Promise.resolve(e)),t.mockResolvedValueOnce=e=>t.mockImplementationOnce(()=>Promise.resolve(e)),t.mockRejectedValue=e=>t.mockImplementation(()=>Promise.reject(e)),t.mockRejectedValueOnce=e=>t.mockImplementationOnce(()=>Promise.reject(e)),Object.defineProperty(t,`mock`,{get:()=>l}),c.willCall(u),Vw.add(t),t}function Kw(e){let t=Gw(Iw({spy:e||function(){}},`spy`));return e&&t.mockImplementation(e),t}function qw(e,t){let n=Object.getOwnPropertyDescriptor(e,t);if(n)return n;let r=Object.getPrototypeOf(e);for(;r!==null;){let e=Object.getOwnPropertyDescriptor(r,t);if(e)return e;r=Object.getPrototypeOf(r)}}var Jw=Symbol.for(`matchers-object`),Yw=Symbol.for(`$$jest-matchers-object-storybook`),Xw=Symbol.for(`expect-global`),Zw=Symbol.for(`asymmetric-matchers-object`),Qw={toSatisfy(e,t,n){let{printReceived:r,printExpected:i,matcherHint:a}=this.utils,o=t(e);return{pass:o,message:()=>o?`${a(`.not.toSatisfy`,`received`,``)}
244
+
245
+ Expected value to not satisfy:
246
+ ${n||i(t)}
247
+ Received:
248
+ ${r(e)}`:`${a(`.toSatisfy`,`received`,``)}
249
+
250
+ Expected value to satisfy:
251
+ ${n||i(t)}
252
+
253
+ Received:
254
+ ${r(e)}`}},toBeOneOf(e,t){let{equals:n,customTesters:r}=this,{printReceived:i,printExpected:a,matcherHint:o}=this.utils;if(!Array.isArray(t))throw TypeError(`You must provide an array to ${o(`.toBeOneOf`)}, not '${typeof t}'.`);let s=t.length===0||t.some(t=>n(t,e,r));return{pass:s,message:()=>s?`${o(`.not.toBeOneOf`,`received`,``)}
255
+
256
+ Expected value to not be one of:
257
+ ${a(t)}
258
+ Received:
259
+ ${i(e)}`:`${o(`.toBeOneOf`,`received`,``)}
260
+
261
+ Expected value to be one of:
262
+ ${a(t)}
263
+
264
+ Received:
265
+ ${i(e)}`}}},$w=xw.green,eT=xw.red,tT=xw.inverse,nT=xw.bold,rT=xw.dim;function iT(e,t=`received`,n=`expected`,r={}){let{comment:i=``,isDirectExpectCall:a=!1,isNot:o=!1,promise:s=``,secondArgument:c=``,expectedColor:l=$w,receivedColor:u=eT,secondArgumentColor:d=$w}=r,f=``,p=`expect`;return!a&&t!==``&&(f+=rT(`${p}(`)+u(t),p=`)`),s!==``&&(f+=rT(`${p}.`)+s,p=``),o&&(f+=`${rT(`${p}.`)}not`,p=``),e.includes(`.`)?p+=e:(f+=rT(`${p}.`)+e,p=``),n===``?p+=`()`:(f+=rT(`${p}(`)+l(n),c&&(f+=rT(`, `)+d(c)),p=`)`),i!==``&&(p+=` // ${i}`),p!==``&&(f+=rT(p)),f}var aT=`·`;function oT(e){return e.replace(/\s+$/gm,e=>aT.repeat(e.length))}function sT(e){return eT(oT(kh(e)))}function cT(e){return $w(oT(kh(e)))}function lT(){return{EXPECTED_COLOR:$w,RECEIVED_COLOR:eT,INVERTED_COLOR:tT,BOLD_WEIGHT:nT,DIM_COLOR:rT,diff:e_,matcherHint:iT,printReceived:sT,printExpected:cT,printDiffOrStringify:u_,printWithType:uT}}function uT(e,t,n){let r=Lh(t);return(r!==`null`&&r!==`undefined`?`${e} has type: ${r}
266
+ `:``)+`${e} has value: ${n(t)}`}function dT(){return globalThis[Yw].customEqualityTesters}function fT(e,t,n,r){return n||=[],hT(e,t,[],[],n,r?yT:vT)}Function.prototype.toString;function pT(e){return!!e&&typeof e==`object`&&`asymmetricMatch`in e&&bT(`Function`,e.asymmetricMatch)}function mT(e,t){let n=pT(e),r=pT(t);if(!(n&&r)){if(n)return e.asymmetricMatch(t);if(r)return t.asymmetricMatch(e)}}function hT(e,t,n,r,i,a){let o=!0,s=mT(e,t);if(s!==void 0)return s;let c={equals:fT};for(let n=0;n<i.length;n++){let r=i[n].call(c,e,t,i);if(r!==void 0)return r}if(typeof URL==`function`&&e instanceof URL&&t instanceof URL)return e.href===t.href;if(Object.is(e,t))return!0;if(e===null||t===null)return e===t;let l=Object.prototype.toString.call(e);if(l!==Object.prototype.toString.call(t))return!1;switch(l){case`[object Boolean]`:case`[object String]`:case`[object Number]`:return typeof e==typeof t?typeof e!=`object`&&typeof t!=`object`?Object.is(e,t):Object.is(e.valueOf(),t.valueOf()):!1;case`[object Date]`:{let n=+e,r=+t;return n===r||Number.isNaN(n)&&Number.isNaN(r)}case`[object RegExp]`:return e.source===t.source&&e.flags===t.flags;case`[object Temporal.Instant]`:case`[object Temporal.ZonedDateTime]`:case`[object Temporal.PlainDateTime]`:case`[object Temporal.PlainDate]`:case`[object Temporal.PlainTime]`:case`[object Temporal.PlainYearMonth]`:case`[object Temporal.PlainMonthDay]`:return e.equals(t);case`[object Temporal.Duration]`:return e.toString()===t.toString()}if(typeof e!=`object`||typeof t!=`object`)return!1;if(xT(e)&&xT(t))return e.isEqualNode(t);let u=n.length;for(;u--;){if(n[u]===e)return r[u]===t;if(r[u]===t)return!1}if(n.push(e),r.push(t),l===`[object Array]`&&e.length!==t.length)return!1;if(e instanceof Error&&t instanceof Error)try{return gT(e,t,n,r,i,a)}finally{n.pop(),r.pop()}let d=_T(e,a),f,p=d.length;if(_T(t,a).length!==p)return!1;for(;p--;)if(f=d[p],o=a(t,f)&&hT(e[f],t[f],n,r,i,a),!o)return!1;return n.pop(),r.pop(),o}function gT(e,t,n,r,i,a){let o=Object.getPrototypeOf(e)===Object.getPrototypeOf(t)&&e.name===t.name&&e.message===t.message;return typeof t.cause<`u`&&o&&(o=hT(e.cause,t.cause,n,r,i,a)),e instanceof AggregateError&&t instanceof AggregateError&&o&&(o=hT(e.errors,t.errors,n,r,i,a)),o&&=hT({...e},{...t},n,r,i,a),o}function _T(e,t){let n=[];for(let r in e)t(e,r)&&n.push(r);return n.concat(Object.getOwnPropertySymbols(e).filter(t=>Object.getOwnPropertyDescriptor(e,t).enumerable))}function vT(e,t){return yT(e,t)&&e[t]!==void 0}function yT(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function bT(e,t){return Object.prototype.toString.apply(t)===`[object ${e}]`}function xT(e){return typeof e==`object`&&!!e&&`nodeType`in e&&typeof e.nodeType==`number`&&`nodeName`in e&&typeof e.nodeName==`string`&&`isEqualNode`in e&&typeof e.isEqualNode==`function`}var ST=`@@__IMMUTABLE_KEYED__@@`,CT=`@@__IMMUTABLE_SET__@@`,wT=`@@__IMMUTABLE_LIST__@@`,TT=`@@__IMMUTABLE_ORDERED__@@`,ET=`@@__IMMUTABLE_RECORD__@@`;function DT(e){return!!(e&&e[ST]&&!e[TT])}function OT(e){return!!(e&&e[CT]&&!e[TT])}function kT(e){return typeof e==`object`&&!!e&&!Array.isArray(e)}function AT(e){return!!(e&&kT(e)&&e[wT])}function jT(e){return!!(e&&kT(e)&&e[ST]&&e[TT])}function MT(e){return!!(e&&kT(e)&&e[CT]&&e[TT])}function NT(e){return!!(e&&kT(e)&&e[ET])}var PT=Symbol.iterator;function FT(e){return!!(e!=null&&e[PT])}function IT(e,t,n=[],r=[],i=[]){if(typeof e!=`object`||typeof t!=`object`||Array.isArray(e)||Array.isArray(t)||!FT(e)||!FT(t))return;if(e.constructor!==t.constructor)return!1;let a=r.length;for(;a--;)if(r[a]===e)return i[a]===t;r.push(e),i.push(t);let o=[...n.filter(e=>e!==IT),s];function s(e,t){return IT(e,t,[...n],[...r],[...i])}if(e.size!==void 0){if(e.size!==t.size)return!1;if(bT(`Set`,e)||OT(e)){let n=!0;for(let r of e)if(!t.has(r)){let e=!1;for(let n of t)fT(r,n,o)===!0&&(e=!0);if(e===!1){n=!1;break}}return r.pop(),i.pop(),n}else if(bT(`Map`,e)||DT(e)){let n=!0;for(let r of e)if(!t.has(r[0])||!fT(r[1],t.get(r[0]),o)){let e=!1;for(let n of t){let t=fT(r[0],n[0],o),i=!1;t===!0&&(i=fT(r[1],n[1],o)),i===!0&&(e=!0)}if(e===!1){n=!1;break}}return r.pop(),i.pop(),n}}let c=t[PT]();for(let t of e){let e=c.next();if(e.done||!fT(t,e.value,o))return!1}return!c.next().done||!AT(e)&&!jT(e)&&!MT(e)&&!NT(e)&&!fT(Object.entries(e),Object.entries(t),o)?!1:(r.pop(),i.pop(),!0)}function LT(e,t){return!e||typeof e!=`object`||e===Object.prototype?!1:Object.prototype.hasOwnProperty.call(e,t)||LT(Object.getPrototypeOf(e),t)}function RT(e){return Fh(e)&&!(e instanceof Error)&&!Array.isArray(e)&&!(e instanceof Date)}function zT(e,t,n=[]){let r=n.filter(e=>e!==zT),i=(e=new WeakMap)=>(t,n)=>{if(RT(n))return Object.keys(n).every(a=>{if(n[a]!=null&&typeof n[a]==`object`){if(e.has(n[a]))return fT(t[a],n[a],r);e.set(n[a],!0)}let o=t!=null&&LT(t,a)&&fT(t[a],n[a],[...r,i(e)]);return e.delete(n[a]),o})};return i()(e,t)}function BT(e,t){if(!(e==null||t==null||e.constructor===t.constructor))return!1}function VT(e,t){let n=e,r=t;if(!(e instanceof DataView&&t instanceof DataView)){if(!(e instanceof ArrayBuffer)||!(t instanceof ArrayBuffer))return;try{n=new DataView(e),r=new DataView(t)}catch{return}}if(n.byteLength!==r.byteLength)return!1;for(let e=0;e<n.byteLength;e++)if(n.getUint8(e)!==r.getUint8(e))return!1;return!0}function HT(e,t,n=[]){if(!Array.isArray(e)||!Array.isArray(t))return;let r=Object.keys(e),i=Object.keys(t);return fT(e,t,n.filter(e=>e!==HT),!0)&&fT(r,i)}function UT(e,t=`#{this}`,n=`#{exp}`){let r=`expected ${t} to be ${n} // Object.is equality`;return[`toStrictEqual`,`toEqual`].includes(e)?`${r}
267
+
268
+ If it should pass with deep equality, replace "toBe" with "${e}"
269
+
270
+ Expected: ${t}
271
+ Received: serializes to the same string
272
+ `:r}function WT(e,t){return`${t} ${e}${t===1?``:`s`}`}function GT(e){return[...Object.keys(e),...Object.getOwnPropertySymbols(e).filter(t=>Object.getOwnPropertyDescriptor(e,t)?.enumerable)]}function KT(e,t,n){let r=0,i=(e=new WeakMap)=>(t,a)=>{if(Array.isArray(t)){if(Array.isArray(a)&&a.length===t.length)return a.map((n,r)=>i(e)(t[r],n))}else{if(t instanceof Date)return t;if(Fh(t)&&Fh(a)){if(fT(t,a,[...n,IT,zT]))return a;let o={};e.set(t,o),typeof t.constructor==`function`&&typeof t.constructor.name==`string`&&Object.defineProperty(o,`constructor`,{enumerable:!1,value:t.constructor});for(let n of GT(t))LT(a,n)?o[n]=e.has(t[n])?e.get(t[n]):i(e)(t[n],a[n]):e.has(t[n])||(r+=1,Fh(t[n])&&(r+=GT(t[n]).length),i(e)(t[n],a[n]));if(GT(o).length>0)return o}}return t};return{subset:i()(e,t),stripped:r}}if(!Object.prototype.hasOwnProperty.call(globalThis,Jw)){let e=new WeakMap;Object.defineProperty(globalThis,Jw,{get:()=>e})}if(!Object.prototype.hasOwnProperty.call(globalThis,Yw)){let e=Object.create(null),t=[];Object.defineProperty(globalThis,Yw,{configurable:!0,get:()=>({state:globalThis[Jw].get(globalThis[Xw]),matchers:e,customEqualityTesters:t})})}if(!Object.prototype.hasOwnProperty.call(globalThis,Zw)){let e=Object.create(null);Object.defineProperty(globalThis,Zw,{get:()=>e})}function qT(e){return globalThis[Jw].get(e)}function JT(e,t){let n=globalThis[Jw],r=n.get(t)||{},i=Object.defineProperties(r,{...Object.getOwnPropertyDescriptors(r),...Object.getOwnPropertyDescriptors(e)});n.set(t,i)}var YT=class{$$typeof=Symbol.for(`jest.asymmetricMatcher`);constructor(e,t=!1){this.sample=e,this.inverse=t}getMatcherContext(e){return{...qT(e||globalThis[Xw]),equals:fT,isNot:this.inverse,customTesters:dT(),utils:{...lT(),diff:e_,stringify:kh,iterableEquality:IT,subsetEquality:zT}}}};YT.prototype[Symbol.for(`chai/inspect`)]=function(e){let t=kh(this,e.depth,{min:!0});return t.length<=e.truncate?t:`${this.toString()}{\u2026}`};var XT=class extends YT{constructor(e,t=!1){if(!bT(`String`,e))throw Error(`Expected is not a string`);super(e,t)}asymmetricMatch(e){let t=bT(`String`,e)&&e.includes(this.sample);return this.inverse?!t:t}toString(){return`String${this.inverse?`Not`:``}Containing`}getExpectedType(){return`string`}},ZT=class extends YT{asymmetricMatch(e){return e!=null}toString(){return`Anything`}toAsymmetricMatcher(){return`Anything`}},QT=class extends YT{constructor(e,t=!1){super(e,t)}getPrototype(e){return Object.getPrototypeOf?Object.getPrototypeOf(e):e.constructor.prototype===e?null:e.constructor.prototype}hasProperty(e,t){return e?Object.prototype.hasOwnProperty.call(e,t)?!0:this.hasProperty(this.getPrototype(e),t):!1}asymmetricMatch(e){if(typeof this.sample!=`object`)throw TypeError(`You must provide an object to ${this.toString()}, not '${typeof this.sample}'.`);let t=!0,n=this.getMatcherContext();for(let r in this.sample)if(!this.hasProperty(e,r)||!fT(this.sample[r],e[r],n.customTesters)){t=!1;break}return this.inverse?!t:t}toString(){return`Object${this.inverse?`Not`:``}Containing`}getExpectedType(){return`object`}},$T=class extends YT{constructor(e,t=!1){super(e,t)}asymmetricMatch(e){if(!Array.isArray(this.sample))throw TypeError(`You must provide an array to ${this.toString()}, not '${typeof this.sample}'.`);let t=this.getMatcherContext(),n=this.sample.length===0||Array.isArray(e)&&this.sample.every(n=>e.some(e=>fT(n,e,t.customTesters)));return this.inverse?!n:n}toString(){return`Array${this.inverse?`Not`:``}Containing`}getExpectedType(){return`array`}},eE=class extends YT{constructor(e){if(typeof e>`u`)throw TypeError(`any() expects to be passed a constructor function. Please pass one or use anything() to match any object.`);super(e)}fnNameFor(e){if(e.name)return e.name;let t=Function.prototype.toString.call(e).match(/^(?:async)?\s*function\s*(?:\*\s*)?([\w$]+)\s*\(/);return t?t[1]:`<anonymous>`}asymmetricMatch(e){return this.sample===String?typeof e==`string`||e instanceof String:this.sample===Number?typeof e==`number`||e instanceof Number:this.sample===Function?typeof e==`function`||typeof e==`function`:this.sample===Boolean?typeof e==`boolean`||e instanceof Boolean:this.sample===BigInt?typeof e==`bigint`||e instanceof BigInt:this.sample===Symbol?typeof e==`symbol`||e instanceof Symbol:this.sample===Object?typeof e==`object`:e instanceof this.sample}toString(){return`Any`}getExpectedType(){return this.sample===String?`string`:this.sample===Number?`number`:this.sample===Function?`function`:this.sample===Object?`object`:this.sample===Boolean?`boolean`:this.fnNameFor(this.sample)}toAsymmetricMatcher(){return`Any<${this.fnNameFor(this.sample)}>`}},tE=class extends YT{constructor(e,t=!1){if(!bT(`String`,e)&&!bT(`RegExp`,e))throw Error(`Expected is not a String or a RegExp`);super(new RegExp(e),t)}asymmetricMatch(e){let t=bT(`String`,e)&&this.sample.test(e);return this.inverse?!t:t}toString(){return`String${this.inverse?`Not`:``}Matching`}getExpectedType(){return`string`}},nE=class extends YT{precision;constructor(e,t=2,n=!1){if(!bT(`Number`,e))throw Error(`Expected is not a Number`);if(!bT(`Number`,t))throw Error(`Precision is not a Number`);super(e),this.inverse=n,this.precision=t}asymmetricMatch(e){if(!bT(`Number`,e))return!1;let t=!1;return t=e===1/0&&this.sample===1/0||e===-1/0&&this.sample===-1/0?!0:Math.abs(this.sample-e)<10**-this.precision/2,this.inverse?!t:t}toString(){return`Number${this.inverse?`Not`:``}CloseTo`}getExpectedType(){return`number`}toAsymmetricMatcher(){return[this.toString(),this.sample,`(${WT(`digit`,this.precision)})`].join(` `)}},rE=(e,t)=>{t.addMethod(e.expect,`anything`,()=>new ZT),t.addMethod(e.expect,`any`,e=>new eE(e)),t.addMethod(e.expect,`stringContaining`,e=>new XT(e)),t.addMethod(e.expect,`objectContaining`,e=>new QT(e)),t.addMethod(e.expect,`arrayContaining`,e=>new $T(e)),t.addMethod(e.expect,`stringMatching`,e=>new tE(e)),t.addMethod(e.expect,`closeTo`,(e,t)=>new nE(e,t)),e.expect.not={stringContaining:e=>new XT(e,!0),objectContaining:e=>new QT(e,!0),arrayContaining:e=>new $T(e,!0),stringMatching:e=>new tE(e,!0),closeTo:(e,t)=>new nE(e,t,!0)}};function iE(e,t,n){let r=e.flag(t,`negate`)?`not.`:``,i=`${e.flag(t,`_name`)}(${n?`expected`:``})`,a=e.flag(t,`promise`);return`expect(actual)${a?`.${a}`:``}.${r}${i}`}function aE(e,t,n,r){let i=e;if(i&&t instanceof Promise){t=t.finally(()=>{if(!i.promises)return;let e=i.promises.indexOf(t);e!==-1&&i.promises.splice(e,1)}),i.promises||=[],i.promises.push(t);let e=!1;return i.onFinished??=[],i.onFinished.push(()=>{if(!e){let e=(globalThis.__vitest_worker__?.onFilterStackTrace||(e=>e||``))(r.stack);console.warn([`Promise returned by \`${n}\` was not awaited. `,`Vitest currently auto-awaits hanging assertions at the end of the test, but this will cause the test to fail in Vitest 3. `,`Please remember to await the assertion.
273
+ `,e].join(``))}}),{then(n,r){return e=!0,t.then(n,r)},catch(e){return t.catch(e)},finally(e){return t.finally(e)},[Symbol.toStringTag]:`Promise`}}return t}function oE(e,t){var n;e.result||={state:`fail`},e.result.state=`fail`,(n=e.result).errors||(n.errors=[]),e.result.errors.push(E_(t))}function sE(e,t,n){return function(...r){if(t!==`withTest`&&e.flag(this,`_name`,t),!e.flag(this,`soft`))return n.apply(this,r);let i=e.flag(this,`vitest-test`);if(!i)throw Error(`expect.soft() can only be used inside a test`);try{let e=n.apply(this,r);return e&&typeof e==`object`&&typeof e.then==`function`?e.then(Uh,e=>{oE(i,e)}):e}catch(e){oE(i,e)}}}var cE=(e,t)=>{let{AssertionError:n}=e,r=dT();function i(n,r){let i=n=>{let i=sE(t,n,r);t.addMethod(e.Assertion.prototype,n,i),t.addMethod(globalThis[Yw].matchers,n,i)};Array.isArray(n)?n.forEach(e=>i(e)):i(n)}[`throw`,`throws`,`Throw`].forEach(r=>{t.overwriteMethod(e.Assertion.prototype,r,e=>function(...r){let i=t.flag(this,`promise`),a=t.flag(this,`object`),o=t.flag(this,`negate`);if(i===`rejects`)t.flag(this,`object`,()=>{throw a});else if(i===`resolves`&&typeof a!=`function`){if(o)return;throw new n(t.flag(this,`message`)||`expected promise to throw an error, but it didn't`,{showDiff:!1},t.flag(this,`ssfi`))}e.apply(this,r)})}),i(`withTest`,function(e){return t.flag(this,`vitest-test`,e),this}),i(`toEqual`,function(e){let n=t.flag(this,`object`),i=fT(n,e,[...r,IT]);return this.assert(i,`expected #{this} to deeply equal #{exp}`,`expected #{this} to not deeply equal #{exp}`,e,n)}),i(`toStrictEqual`,function(e){let n=t.flag(this,`object`),i=fT(n,e,[...r,IT,BT,HT,VT],!0);return this.assert(i,`expected #{this} to strictly equal #{exp}`,`expected #{this} to not strictly equal #{exp}`,e,n)}),i(`toBe`,function(e){let t=this._obj,n=Object.is(t,e),i=``;return n||(fT(t,e,[...r,IT,BT,HT,VT],!0)?i=`toStrictEqual`:fT(t,e,[...r,IT])&&(i=`toEqual`)),this.assert(n,UT(i),`expected #{this} not to be #{exp} // Object.is equality`,e,t)}),i(`toMatchObject`,function(e){let i=this._obj,a=fT(i,e,[...r,IT,zT]),o=t.flag(this,`negate`),{subset:s,stripped:c}=KT(i,e,r);if(a&&o||!a&&!o){let r=t.getMessage(this,[a,`expected #{this} to match object #{exp}`,`expected #{this} to not match object #{exp}`,e,s,!1]);throw new n(c===0?r:`${r}
274
+ (${c} matching ${c===1?`property`:`properties`} omitted from actual)`,{showDiff:!0,expected:e,actual:s})}}),i(`toMatch`,function(e){let t=this._obj;if(typeof t!=`string`)throw TypeError(`.toMatch() expects to receive a string, but got ${typeof t}`);return this.assert(typeof e==`string`?t.includes(e):t.match(e),`expected #{this} to match #{exp}`,`expected #{this} not to match #{exp}`,e,t)}),i(`toContain`,function(e){let n=this._obj;if(typeof Node<`u`&&n instanceof Node){if(!(e instanceof Node))throw TypeError(`toContain() expected a DOM node as the argument, but got ${typeof e}`);return this.assert(n.contains(e),`expected #{this} to contain element #{exp}`,`expected #{this} not to contain element #{exp}`,e,n)}if(typeof DOMTokenList<`u`&&n instanceof DOMTokenList){Ph(e,`class name`,[`string`]);let r=t.flag(this,`negate`)?n.value.replace(e,``).trim():`${n.value} ${e}`;return this.assert(n.contains(e),`expected "${n.value}" to contain "${e}"`,`expected "${n.value}" not to contain "${e}"`,r,n.value)}return typeof n==`string`&&typeof e==`string`?this.assert(n.includes(e),`expected #{this} to contain #{exp}`,`expected #{this} not to contain #{exp}`,e,n):(n!=null&&typeof n!=`string`&&t.flag(this,`object`,Array.from(n)),this.contain(e))}),i(`toContainEqual`,function(e){let n=t.flag(this,`object`),i=Array.from(n).findIndex(t=>fT(t,e,r));this.assert(i!==-1,`expected #{this} to deep equally contain #{exp}`,`expected #{this} to not deep equally contain #{exp}`,e)}),i(`toBeTruthy`,function(){let e=t.flag(this,`object`);this.assert(!!e,`expected #{this} to be truthy`,`expected #{this} to not be truthy`,!0,e)}),i(`toBeFalsy`,function(){let e=t.flag(this,`object`);this.assert(!e,`expected #{this} to be falsy`,`expected #{this} to not be falsy`,!1,e)}),i(`toBeGreaterThan`,function(e){let t=this._obj;return Ph(t,`actual`,[`number`,`bigint`]),Ph(e,`expected`,[`number`,`bigint`]),this.assert(t>e,`expected ${t} to be greater than ${e}`,`expected ${t} to be not greater than ${e}`,e,t,!1)}),i(`toBeGreaterThanOrEqual`,function(e){let t=this._obj;return Ph(t,`actual`,[`number`,`bigint`]),Ph(e,`expected`,[`number`,`bigint`]),this.assert(t>=e,`expected ${t} to be greater than or equal to ${e}`,`expected ${t} to be not greater than or equal to ${e}`,e,t,!1)}),i(`toBeLessThan`,function(e){let t=this._obj;return Ph(t,`actual`,[`number`,`bigint`]),Ph(e,`expected`,[`number`,`bigint`]),this.assert(t<e,`expected ${t} to be less than ${e}`,`expected ${t} to be not less than ${e}`,e,t,!1)}),i(`toBeLessThanOrEqual`,function(e){let t=this._obj;return Ph(t,`actual`,[`number`,`bigint`]),Ph(e,`expected`,[`number`,`bigint`]),this.assert(t<=e,`expected ${t} to be less than or equal to ${e}`,`expected ${t} to be not less than or equal to ${e}`,e,t,!1)}),i(`toBeNaN`,function(){let e=t.flag(this,`object`);this.assert(Number.isNaN(e),`expected #{this} to be NaN`,`expected #{this} not to be NaN`,NaN,e)}),i(`toBeUndefined`,function(){let e=t.flag(this,`object`);this.assert(e===void 0,`expected #{this} to be undefined`,`expected #{this} not to be undefined`,void 0,e)}),i(`toBeNull`,function(){let e=t.flag(this,`object`);this.assert(e===null,`expected #{this} to be null`,`expected #{this} not to be null`,null,e)}),i(`toBeDefined`,function(){let e=t.flag(this,`object`);this.assert(typeof e<`u`,`expected #{this} to be defined`,`expected #{this} to be undefined`,e)}),i(`toBeTypeOf`,function(e){let t=typeof this._obj,n=e===t;return this.assert(n,`expected #{this} to be type of #{exp}`,`expected #{this} not to be type of #{exp}`,e,t)}),i(`toBeInstanceOf`,function(e){return this.instanceOf(e)}),i(`toHaveLength`,function(e){return this.have.length(e)}),i(`toHaveProperty`,function(...e){Array.isArray(e[0])&&(e[0]=e[0].map(e=>String(e).replace(/([.[\]])/g,`\\$1`)).join(`.`));let n=this._obj,[i,a]=e,{value:o,exists:s}=Object.prototype.hasOwnProperty.call(n,i)?{value:n[i],exists:!0}:t.getPathInfo(n,i),c=s&&(e.length===1||fT(a,o,r)),l=e.length===1?``:` with value ${t.objDisplay(a)}`;return this.assert(c,`expected #{this} to have property "${i}"${l}`,`expected #{this} to not have property "${i}"${l}`,a,s?o:void 0)}),i(`toBeCloseTo`,function(e,t=2){let n=this._obj,r=!1,i=0,a=0;return e===1/0&&n===1/0||e===-1/0&&n===-1/0?r=!0:(i=10**-t/2,a=Math.abs(n-e),r=a<i),this.assert(r,`expected #{this} to be close to #{exp}, received difference is ${a}, but expected ${i}`,`expected #{this} to not be close to #{exp}, received difference is ${a}, but expected ${i}`,e,n,!1)});function a(e){if(!Hw(e._obj))throw TypeError(`${t.inspect(e._obj)} is not a spy or a call to a spy!`)}function o(e){return a(e),e._obj}i([`toHaveBeenCalledTimes`,`toBeCalledTimes`],function(e){let t=o(this),n=t.getMockName(),r=t.mock.calls.length;return this.assert(r===e,`expected "${n}" to be called #{exp} times, but got ${r} times`,`expected "${n}" to not be called #{exp} times`,e,r,!1)}),i(`toHaveBeenCalledOnce`,function(){let e=o(this),t=e.getMockName(),n=e.mock.calls.length;return this.assert(n===1,`expected "${t}" to be called once, but got ${n} times`,`expected "${t}" to not be called once`,1,n,!1)}),i([`toHaveBeenCalled`,`toBeCalled`],function(){let e=o(this),r=e.getMockName(),i=e.mock.calls.length,a=i>0,s=t.flag(this,`negate`),c=t.getMessage(this,[a,`expected "${r}" to be called at least once`,`expected "${r}" to not be called at all, but actually been called ${i} times`,!0,a]);if(a&&s&&(c=uE(e,c)),a&&s||!a&&!s)throw new n(c)});function s(e,t){return e.length===t.length&&e.every((e,n)=>fT(e,t[n],[...r,IT]))}i([`toHaveBeenCalledWith`,`toBeCalledWith`],function(...e){let r=o(this),i=r.getMockName(),a=r.mock.calls.some(t=>s(t,e)),c=t.flag(this,`negate`),l=t.getMessage(this,[a,`expected "${i}" to be called with arguments: #{exp}`,`expected "${i}" to not be called with arguments: #{exp}`,e]);if(a&&c||!a&&!c)throw new n(uE(r,l,e))}),i(`toHaveBeenCalledExactlyOnceWith`,function(...e){let r=o(this),i=r.getMockName(),a=r.mock.calls.length,c=r.mock.calls.some(t=>s(t,e))&&a===1,l=t.flag(this,`negate`),u=t.getMessage(this,[c,`expected "${i}" to be called once with arguments: #{exp}`,`expected "${i}" to not be called once with arguments: #{exp}`,e]);if(c&&l||!c&&!l)throw new n(uE(r,u,e))}),i([`toHaveBeenNthCalledWith`,`nthCalledWith`],function(e,...t){let n=o(this),r=n.getMockName(),i=n.mock.calls[e-1],a=n.mock.calls.length,c=e<=a;this.assert(i&&s(i,t),`expected ${lE(e)} "${r}" call to have been called with #{exp}${c?``:`, but called only ${a} times`}`,`expected ${lE(e)} "${r}" call to not have been called with #{exp}`,t,i,c)}),i([`toHaveBeenLastCalledWith`,`lastCalledWith`],function(...e){let t=o(this),n=t.getMockName(),r=t.mock.calls[t.mock.calls.length-1];this.assert(r&&s(r,e),`expected last "${n}" call to have been called with #{exp}`,`expected last "${n}" call to not have been called with #{exp}`,e,r)});function c(e,t,n){let r=e.mock.invocationCallOrder,i=t.mock.invocationCallOrder;return r.length===0?!n:i.length===0?!1:r[0]<i[0]}i([`toHaveBeenCalledBefore`],function(e,n=!0){let r=o(this);if(!Hw(e))throw TypeError(`${t.inspect(e)} is not a spy or a call to a spy`);this.assert(c(r,e,n),`expected "${r.getMockName()}" to have been called before "${e.getMockName()}"`,`expected "${r.getMockName()}" to not have been called before "${e.getMockName()}"`,e,r)}),i([`toHaveBeenCalledAfter`],function(e,n=!0){let r=o(this);if(!Hw(e))throw TypeError(`${t.inspect(e)} is not a spy or a call to a spy`);this.assert(c(e,r,n),`expected "${r.getMockName()}" to have been called after "${e.getMockName()}"`,`expected "${r.getMockName()}" to not have been called after "${e.getMockName()}"`,e,r)}),i([`toThrow`,`toThrowError`],function(e){if(typeof e==`string`||typeof e>`u`||e instanceof RegExp)return this.throws(e===``?/^$/:e);let i=this._obj,a=t.flag(this,`promise`),o=t.flag(this,`negate`),s=null;if(a===`rejects`)s=i;else if(a===`resolves`&&typeof i!=`function`){if(o)return;throw new n(t.flag(this,`message`)||`expected promise to throw an error, but it didn't`,{showDiff:!1},t.flag(this,`ssfi`))}else{let e=!1;try{i()}catch(t){e=!0,s=t}if(!e&&!o)throw new n(t.flag(this,`message`)||`expected function to throw an error, but it didn't`,{showDiff:!1},t.flag(this,`ssfi`))}if(typeof e==`function`){let t=e.name||e.prototype.constructor.name;return this.assert(s&&s instanceof e,`expected error to be instance of ${t}`,`expected error not to be instance of ${t}`,e,s)}if(e instanceof Error){let t=fT(s,e,[...r,IT]);return this.assert(t,`expected a thrown error to be #{exp}`,`expected a thrown error not to be #{exp}`,e,s)}if(typeof e==`object`&&`asymmetricMatch`in e&&typeof e.asymmetricMatch==`function`){let t=e;return this.assert(s&&t.asymmetricMatch(s),`expected error to match asymmetric matcher`,`expected error not to match asymmetric matcher`,t,s)}throw Error(`"toThrow" expects string, RegExp, function, Error instance or asymmetric matcher, got "${typeof e}"`)}),[{name:`toHaveResolved`,condition:e=>e.mock.settledResults.length>0&&e.mock.settledResults.some(({type:e})=>e===`fulfilled`),action:`resolved`},{name:[`toHaveReturned`,`toReturn`],condition:e=>e.mock.calls.length>0&&e.mock.results.some(({type:e})=>e!==`throw`),action:`called`}].forEach(({name:e,condition:t,action:n})=>{i(e,function(){let e=o(this),r=e.getMockName(),i=t(e);this.assert(i,`expected "${r}" to be successfully ${n} at least once`,`expected "${r}" to not be successfully ${n}`,i,!i,!1)})}),[{name:`toHaveResolvedTimes`,condition:(e,t)=>e.mock.settledResults.reduce((e,{type:t})=>t===`fulfilled`?++e:e,0)===t,action:`resolved`},{name:[`toHaveReturnedTimes`,`toReturnTimes`],condition:(e,t)=>e.mock.results.reduce((e,{type:t})=>t===`throw`?e:++e,0)===t,action:`called`}].forEach(({name:e,condition:t,action:n})=>{i(e,function(e){let r=o(this),i=r.getMockName(),a=t(r,e);this.assert(a,`expected "${i}" to be successfully ${n} ${e} times`,`expected "${i}" to not be successfully ${n} ${e} times`,`expected resolved times: ${e}`,`received resolved times: ${a}`,!1)})}),[{name:`toHaveResolvedWith`,condition:(e,t)=>e.mock.settledResults.some(({type:e,value:n})=>e===`fulfilled`&&fT(t,n)),action:`resolve`},{name:[`toHaveReturnedWith`,`toReturnWith`],condition:(e,t)=>e.mock.results.some(({type:e,value:n})=>e===`return`&&fT(t,n)),action:`return`}].forEach(({name:e,condition:r,action:a})=>{i(e,function(e){let i=o(this),s=r(i,e),c=t.flag(this,`negate`);if(s&&c||!s&&!c){let r=i.getMockName(),o=t.getMessage(this,[s,`expected "${r}" to ${a} with: #{exp} at least once`,`expected "${r}" to not ${a} with: #{exp}`,e]);throw new n(dE(i,a===`return`?i.mock.results:i.mock.settledResults,o,e))}})}),[{name:`toHaveLastResolvedWith`,condition:(e,t)=>{let n=e.mock.settledResults[e.mock.settledResults.length-1];return n&&n.type===`fulfilled`&&fT(n.value,t)},action:`resolve`},{name:[`toHaveLastReturnedWith`,`lastReturnedWith`],condition:(e,t)=>{let n=e.mock.results[e.mock.results.length-1];return n&&n.type===`return`&&fT(n.value,t)},action:`return`}].forEach(({name:e,condition:t,action:n})=>{i(e,function(e){let r=o(this),i=n===`return`?r.mock.results:r.mock.settledResults,a=i[i.length-1],s=r.getMockName();this.assert(t(r,e),`expected last "${s}" call to ${n} #{exp}`,`expected last "${s}" call to not ${n} #{exp}`,e,a?.value)})}),[{name:`toHaveNthResolvedWith`,condition:(e,t,n)=>{let r=e.mock.settledResults[t-1];return r&&r.type===`fulfilled`&&fT(r.value,n)},action:`resolve`},{name:[`toHaveNthReturnedWith`,`nthReturnedWith`],condition:(e,t,n)=>{let r=e.mock.results[t-1];return r&&r.type===`return`&&fT(r.value,n)},action:`return`}].forEach(({name:e,condition:t,action:n})=>{i(e,function(e,r){let i=o(this),a=i.getMockName(),s=(n===`return`?i.mock.results:i.mock.settledResults)[e-1],c=`${lE(e)} call`;this.assert(t(i,e,r),`expected ${c} "${a}" call to ${n} #{exp}`,`expected ${c} "${a}" call to not ${n} #{exp}`,r,s?.value)})}),i(`withContext`,function(e){for(let n in e)t.flag(this,n,e[n]);return this}),t.addProperty(e.Assertion.prototype,`resolves`,function(){let r=Error(`resolves`);t.flag(this,`promise`,`resolves`),t.flag(this,`error`,r);let i=t.flag(this,`vitest-test`),a=t.flag(this,`object`);if(t.flag(this,`poll`))throw SyntaxError(`expect.poll() is not supported in combination with .resolves`);if(typeof a?.then!=`function`)throw TypeError(`You must provide a Promise to expect() when using .resolves, not '${typeof a}'.`);let o=new Proxy(this,{get:(s,c,l)=>{let u=Reflect.get(s,c,l);return typeof u==`function`?(...e)=>(t.flag(this,`_name`,c),aE(i,a.then(n=>(t.flag(this,`object`,n),u.call(this,...e)),e=>{let i=new n(`promise rejected "${t.inspect(e)}" instead of resolving`,{showDiff:!1});throw i.cause=e,i.stack=r.stack.replace(r.message,i.message),i}),iE(t,this,!!e.length),r)):u instanceof e.Assertion?o:u}});return o}),t.addProperty(e.Assertion.prototype,`rejects`,function(){let r=Error(`rejects`);t.flag(this,`promise`,`rejects`),t.flag(this,`error`,r);let i=t.flag(this,`vitest-test`),a=t.flag(this,`object`),o=typeof a==`function`?a():a;if(t.flag(this,`poll`))throw SyntaxError(`expect.poll() is not supported in combination with .rejects`);if(typeof o?.then!=`function`)throw TypeError(`You must provide a Promise to expect() when using .rejects, not '${typeof o}'.`);let s=new Proxy(this,{get:(a,c,l)=>{let u=Reflect.get(a,c,l);return typeof u==`function`?(...e)=>(t.flag(this,`_name`,c),aE(i,o.then(e=>{let i=new n(`promise resolved "${t.inspect(e)}" instead of rejecting`,{showDiff:!0,expected:Error(`rejected promise`),actual:e});throw i.stack=r.stack.replace(r.message,i.message),i},n=>(t.flag(this,`object`,n),u.call(this,...e))),iE(t,this,!!e.length),r)):u instanceof e.Assertion?s:u}});return s})};function lE(e){let t=e%10,n=e%100;return t===1&&n!==11?`${e}st`:t===2&&n!==12?`${e}nd`:t===3&&n!==13?`${e}rd`:`${e}th`}function uE(e,t,n){return e.mock.calls.length&&(t+=xw.gray(`
275
+
276
+ Received:
277
+
278
+ ${e.mock.calls.map((t,r)=>{let i=xw.bold(` ${lE(r+1)} ${e.getMockName()} call:
279
+
280
+ `);return n?i+=e_(n,t,{omitAnnotationLines:!0}):i+=kh(t).split(`
281
+ `).map(e=>` ${e}`).join(`
282
+ `),i+=`
283
+ `,i}).join(`
284
+ `)}`)),t+=xw.gray(`
285
+
286
+ Number of calls: ${xw.bold(e.mock.calls.length)}
287
+ `),t}function dE(e,t,n,r){return t.length&&(n+=xw.gray(`
288
+
289
+ Received:
290
+
291
+ ${t.map((t,n)=>{let i=xw.bold(` ${lE(n+1)} ${e.getMockName()} call return:
292
+
293
+ `);return r?i+=e_(r,t.value,{omitAnnotationLines:!0}):i+=kh(t).split(`
294
+ `).map(e=>` ${e}`).join(`
295
+ `),i+=`
296
+ `,i}).join(`
297
+ `)}`)),n+=xw.gray(`
298
+
299
+ Number of calls: ${xw.bold(e.mock.calls.length)}
300
+ `),n}function fE(e,t){let n=e._obj,r=H_.flag(e,`negate`),i=H_.flag(e,`promise`)||``,a={...lT(),diff:e_,stringify:kh,iterableEquality:IT,subsetEquality:zT};return{state:{...qT(t),customTesters:dT(),isNot:r,utils:a,promise:i,equals:fT,suppressedErrors:[],soft:H_.flag(e,`soft`),poll:H_.flag(e,`poll`)},isNot:r,obj:n}}var pE=class extends Error{constructor(e,t,n){super(e),this.actual=t,this.expected=n}};function mE(e,t,n){return(r,i)=>{Object.entries(n).forEach(([n,r])=>{function a(...e){let{state:n,isNot:i,obj:a}=fE(this,t),o=r.call(n,a,...e);if(o&&typeof o==`object`&&typeof o.then==`function`)return o.then(({pass:e,message:t,actual:n,expected:r})=>{if(e&&i||!e&&!i)throw new pE(t(),n,r)});let{pass:s,message:c,actual:l,expected:u}=o;if(s&&i||!s&&!i)throw new pE(c(),l,u)}let o=sE(i,n,a);i.addMethod(globalThis[Yw].matchers,n,o),i.addMethod(e.Assertion.prototype,n,o);class s extends YT{constructor(e=!1,...t){super(t,e)}asymmetricMatch(e){let{pass:n}=r.call(this.getMatcherContext(t),e,...this.sample);return this.inverse?!n:n}toString(){return`${this.inverse?`not.`:``}${n}`}getExpectedType(){return`any`}toAsymmetricMatcher(){return`${this.toString()}<${this.sample.map(e=>kh(e)).join(`, `)}>`}}let c=(...e)=>new s(!1,...e);Object.defineProperty(t,n,{configurable:!0,enumerable:!0,value:c,writable:!0}),Object.defineProperty(t.not,n,{configurable:!0,enumerable:!0,value:(...e)=>new s(!0,...e),writable:!0}),Object.defineProperty(globalThis[Zw],n,{configurable:!0,enumerable:!0,value:c,writable:!0})})}}var hE=(e,t)=>{t.addMethod(e.expect,`extend`,(t,n)=>{Wb(mE(e,t,n))})};function gE(){Wb(hE),Wb(cE),Wb(rE);let e=((t,n)=>{let{assertionCalls:r}=qT(e);return JT({assertionCalls:r+1,soft:!1},e),Rb(t,n)});Object.assign(e,Rb),e.getState=()=>qT(e),e.setState=t=>JT(t,e),e.extend=t=>Rb.extend(e,t),e.soft=(...t)=>{let n=e(...t);return e.setState({soft:!0}),n},e.extend(Qw),e.unreachable=e=>{X.fail(`expected${e?` "${e}" `:` `}not to be reached`)};function t(n){let r=()=>Error(`expected number of assertions to be ${n}, but got ${e.getState().assertionCalls}`);`captureStackTrace`in Error&&typeof Error.captureStackTrace==`function`&&Error.captureStackTrace(r(),t),e.setState({expectedAssertionsNumber:n,expectedAssertionsNumberErrorGen:r})}function n(){let t=Error(`expected any number of assertion, but got none`);`captureStackTrace`in Error&&typeof Error.captureStackTrace==`function`&&Error.captureStackTrace(t,n),e.setState({isExpectingAssertions:!0,isExpectingAssertionsError:t})}return JT({assertionCalls:0,isExpectingAssertions:!1,isExpectingAssertionsError:null,expectedAssertionsNumber:null,expectedAssertionsNumberErrorGen:null},e),H_.addMethod(e,`assertions`,t),H_.addMethod(e,`hasAssertions`,n),e.extend(Gb),e}var _E=gE();Object.defineProperty(globalThis,Xw,{value:_E,writable:!0,configurable:!0});function vE(e,t,n){Object.defineProperty(e,t,n)}var yE=Symbol.for(`tinyspy:spy`),bE=e=>{e.called=!1,e.callCount=0,e.calls=[],e.results=[],e.resolves=[],e.next=[]},xE=e=>(vE(e,yE,{value:{reset:()=>bE(e[yE])}}),e[yE]),SE=e=>e[yE]||xE(e),CE=new Set;function wE(e){return CE.add(e),()=>void CE.delete(e)}var TE=(...e)=>DE(Uw(...e));function EE(e){return DE(e?Kw(e):Kw())}function DE(e){let t=OE(e),n=t.mockImplementation.bind(null);return t.mockImplementation=e=>OE(n(e)),t}function OE(e){let t=SE(e),n=t.impl;return t.willCall(function(...t){return CE.forEach(n=>n(e,t)),n?.apply(this,t)}),e}function kE(){Vw.forEach(e=>e.mockClear())}function AE(){Vw.forEach(e=>e.mockReset())}function jE(){Vw.forEach(e=>e.mockRestore())}function ME(e,t={}){return e}var NE={};b(NE,{buildQueries:()=>Nk,configure:()=>NO,createEvent:()=>gj,findAllByAltText:()=>kA,findAllByDisplayValue:()=>yA,findAllByLabelText:()=>Uk,findAllByPlaceholderText:()=>tA,findAllByRole:()=>XA,findAllByTestId:()=>oj,findAllByText:()=>uA,findAllByTitle:()=>zA,findByAltText:()=>AA,findByDisplayValue:()=>bA,findByLabelText:()=>Wk,findByPlaceholderText:()=>nA,findByRole:()=>ZA,findByTestId:()=>sj,findByText:()=>dA,findByTitle:()=>BA,fireEvent:()=>hj,getAllByAltText:()=>DA,getAllByDisplayValue:()=>_A,getAllByLabelText:()=>Gk,getAllByPlaceholderText:()=>$k,getAllByRole:()=>JA,getAllByTestId:()=>ij,getAllByText:()=>cA,getAllByTitle:()=>LA,getByAltText:()=>OA,getByDisplayValue:()=>vA,getByLabelText:()=>Kk,getByPlaceholderText:()=>eA,getByRole:()=>YA,getByTestId:()=>aj,getByText:()=>lA,getByTitle:()=>RA,getConfig:()=>PO,getDefaultNormalizer:()=>WO,getElementError:()=>Ck,getMultipleElementsFoundError:()=>wk,getNodeText:()=>qO,getQueriesForElement:()=>lj,getRoles:()=>$O,getSuggestedQuery:()=>yk,isInaccessible:()=>XO,logDOM:()=>AO,logRoles:()=>tk,makeFindQuery:()=>Ak,makeGetAllQuery:()=>kk,makeSingleQuery:()=>Dk,prettyDOM:()=>kO,prettyFormat:()=>PE,queries:()=>cj,queryAllByAltText:()=>TA,queryAllByAttribute:()=>Tk,queryAllByDisplayValue:()=>hA,queryAllByLabelText:()=>qk,queryAllByPlaceholderText:()=>Zk,queryAllByRole:()=>KA,queryAllByTestId:()=>nj,queryAllByText:()=>oA,queryAllByTitle:()=>FA,queryByAltText:()=>EA,queryByAttribute:()=>Ek,queryByDisplayValue:()=>gA,queryByLabelText:()=>Vk,queryByPlaceholderText:()=>Qk,queryByRole:()=>qA,queryByTestId:()=>rj,queryByText:()=>sA,queryByTitle:()=>IA,queryHelpers:()=>Pk,screen:()=>Sj,waitFor:()=>Sk,waitForElementToBeRemoved:()=>fj,within:()=>lj,wrapAllByQueryWithSuggestion:()=>Mk,wrapSingleQueryWithSuggestion:()=>jk});var PE=S(Ni()),FE=Object.prototype.toString;function IE(e){return typeof e==`function`||FE.call(e)===`[object Function]`}function LE(e){var t=Number(e);return isNaN(t)?0:t===0||!isFinite(t)?t:(t>0?1:-1)*Math.floor(Math.abs(t))}var RE=2**53-1;function zE(e){var t=LE(e);return Math.min(Math.max(t,0),RE)}function BE(e,t){var n=Array,r=Object(e);if(e==null)throw TypeError(`Array.from requires an array-like object - not null or undefined`);if(typeof t<`u`&&!IE(t))throw TypeError(`Array.from: when provided, the second argument must be a function`);for(var i=zE(r.length),a=IE(n)?Object(new n(i)):Array(i),o=0,s;o<i;)s=r[o],t?a[o]=t(s,o):a[o]=s,o+=1;return a.length=i,a}function VE(e){"@babel/helpers - typeof";return VE=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},VE(e)}function HE(e,t){if(!(e instanceof t))throw TypeError(`Cannot call a class as a function`)}function UE(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,`value`in r&&(r.writable=!0),Object.defineProperty(e,KE(r.key),r)}}function WE(e,t,n){return t&&UE(e.prototype,t),n&&UE(e,n),Object.defineProperty(e,`prototype`,{writable:!1}),e}function GE(e,t,n){return t=KE(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function KE(e){var t=qE(e,`string`);return VE(t)===`symbol`?t:String(t)}function qE(e,t){if(VE(e)!==`object`||e===null)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(VE(r)!==`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}var JE=(function(){function e(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];HE(this,e),GE(this,`items`,void 0),this.items=t}return WE(e,[{key:`add`,value:function(e){return this.has(e)===!1&&this.items.push(e),this}},{key:`clear`,value:function(){this.items=[]}},{key:`delete`,value:function(e){var t=this.items.length;return this.items=this.items.filter(function(t){return t!==e}),t!==this.items.length}},{key:`forEach`,value:function(e){var t=this;this.items.forEach(function(n){e(n,n,t)})}},{key:`has`,value:function(e){return this.items.indexOf(e)!==-1}},{key:`size`,get:function(){return this.items.length}}]),e})(),YE=typeof Set>`u`?Set:JE;function XE(e){return e.localName??e.tagName.toLowerCase()}var ZE={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`},QE={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 $E(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(n){var r;return e.hasAttribute(n)&&!((r=QE[t])!=null&&r.has(n))})}function eD(e,t){return $E(e,t)}function tD(e){var t=rD(e);if(t===null||t===`presentation`){var n=nD(e);if(t!==`presentation`||eD(e,n||``))return n}return t}function nD(e){var t=ZE[XE(e)];if(t!==void 0)return t;switch(XE(e)){case`a`:case`area`:case`link`:if(e.hasAttribute(`href`))return`link`;break;case`img`:return e.getAttribute(`alt`)===``&&!eD(e,`img`)?`presentation`:`img`;case`input`:var n=e.type;switch(n){case`button`:case`image`:case`reset`:case`submit`:return`button`;case`checkbox`:case`radio`:return n;case`range`:return`slider`;case`email`:case`tel`:case`text`:case`url`:return e.hasAttribute(`list`)?`combobox`:`textbox`;case`search`:return e.hasAttribute(`list`)?`combobox`:`searchbox`;case`number`:return`spinbutton`;default:return null}case`select`:return e.hasAttribute(`multiple`)||e.size>1?`listbox`:`combobox`}return null}function rD(e){var t=e.getAttribute(`role`);if(t!==null){var n=t.trim().split(` `)[0];if(n.length>0)return n}return null}function iD(e){return e!==null&&e.nodeType===e.ELEMENT_NODE}function aD(e){return iD(e)&&XE(e)===`caption`}function oD(e){return iD(e)&&XE(e)===`input`}function sD(e){return iD(e)&&XE(e)===`optgroup`}function cD(e){return iD(e)&&XE(e)===`select`}function lD(e){return iD(e)&&XE(e)===`table`}function uD(e){return iD(e)&&XE(e)===`textarea`}function dD(e){var t=(e.ownerDocument===null?e:e.ownerDocument).defaultView;if(t===null)throw TypeError(`no window available`);return t}function fD(e){return iD(e)&&XE(e)===`fieldset`}function pD(e){return iD(e)&&XE(e)===`legend`}function mD(e){return iD(e)&&XE(e)===`slot`}function hD(e){return iD(e)&&e.ownerSVGElement!==void 0}function gD(e){return iD(e)&&XE(e)===`svg`}function _D(e){return hD(e)&&XE(e)===`title`}function vD(e,t){if(iD(e)&&e.hasAttribute(t)){var n=e.getAttribute(t).split(` `),r=e.getRootNode?e.getRootNode():e.ownerDocument;return n.map(function(e){return r.getElementById(e)}).filter(function(e){return e!==null})}return[]}function yD(e,t){return iD(e)?t.indexOf(tD(e))!==-1:!1}function bD(e){return e.trim().replace(/\s\s+/g,` `)}function xD(e,t){if(!iD(e))return!1;if(e.hasAttribute(`hidden`)||e.getAttribute(`aria-hidden`)===`true`)return!0;var n=t(e);return n.getPropertyValue(`display`)===`none`||n.getPropertyValue(`visibility`)===`hidden`}function SD(e){return yD(e,[`button`,`combobox`,`listbox`,`textbox`])||CD(e,`range`)}function CD(e,t){if(!iD(e))return!1;switch(t){case`range`:return yD(e,[`meter`,`progressbar`,`scrollbar`,`slider`,`spinbutton`]);default:throw TypeError(`No knowledge about abstract role '${t}'. This is likely a bug :(`)}}function wD(e,t){var n=BE(e.querySelectorAll(t));return vD(e,`aria-owns`).forEach(function(e){n.push.apply(n,BE(e.querySelectorAll(t)))}),n}function TD(e){return cD(e)?e.selectedOptions||wD(e,`[selected]`):wD(e,`[aria-selected="true"]`)}function ED(e){return yD(e,[`none`,`presentation`])}function DD(e){return aD(e)}function OD(e){return yD(e,[`button`,`cell`,`checkbox`,`columnheader`,`gridcell`,`heading`,`label`,`legend`,`link`,`menuitem`,`menuitemcheckbox`,`menuitemradio`,`option`,`radio`,`row`,`rowheader`,`switch`,`tab`,`tooltip`,`treeitem`])}function kD(e){return!1}function AD(e){return oD(e)||uD(e)?e.value:e.textContent||``}function jD(e){var t=e.getPropertyValue(`content`);return/^["'].*["']$/.test(t)?t.slice(1,-1):``}function MD(e){var t=XE(e);return t===`button`||t===`input`&&e.getAttribute(`type`)!==`hidden`||t===`meter`||t===`output`||t===`progress`||t===`select`||t===`textarea`}function ND(e){if(MD(e))return e;var t=null;return e.childNodes.forEach(function(e){if(t===null&&iD(e)){var n=ND(e);n!==null&&(t=n)}}),t}function PD(e){if(e.control!==void 0)return e.control;var t=e.getAttribute(`for`);return t===null?ND(e):e.ownerDocument.getElementById(t)}function FD(e){var t=e.labels;if(t===null)return t;if(t!==void 0)return BE(t);if(!MD(e))return null;var n=e.ownerDocument;return BE(n.querySelectorAll(`label`)).filter(function(t){return PD(t)===e})}function ID(e){var t=e.assignedNodes();return t.length===0?BE(e.childNodes):t}function LD(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=new YE,r=dD(e),i=t.compute,a=i===void 0?`name`:i,o=t.computedStyleSupportsPseudoElements,s=o===void 0?t.getComputedStyle!==void 0:o,c=t.getComputedStyle,l=c===void 0?r.getComputedStyle.bind(r):c,u=t.hidden,d=u===void 0?!1:u;function f(e,t){var n=``;if(iD(e)&&s&&(n=`${jD(l(e,`::before`))} ${n}`),(mD(e)?ID(e):BE(e.childNodes).concat(vD(e,`aria-owns`))).forEach(function(e){var r=g(e,{isEmbeddedInLabel:t.isEmbeddedInLabel,isReferenced:!1,recursion:!0}),i=(iD(e)?l(e).getPropertyValue(`display`):`inline`)===`inline`?``:` `;n+=`${i}${r}${i}`}),iD(e)&&s){var r=jD(l(e,`::after`));n=`${n} ${r}`}return n.trim()}function p(e,t){var r=e.getAttributeNode(t);return r!==null&&!n.has(r)&&r.value.trim()!==``?(n.add(r),r.value):null}function m(e){return iD(e)?p(e,`title`):null}function h(e){if(!iD(e))return null;if(fD(e)){n.add(e);for(var t=BE(e.childNodes),r=0;r<t.length;r+=1){var i=t[r];if(pD(i))return g(i,{isEmbeddedInLabel:!1,isReferenced:!1,recursion:!1})}}else if(lD(e)){n.add(e);for(var a=BE(e.childNodes),o=0;o<a.length;o+=1){var s=a[o];if(aD(s))return g(s,{isEmbeddedInLabel:!1,isReferenced:!1,recursion:!1})}}else if(gD(e)){n.add(e);for(var c=BE(e.childNodes),l=0;l<c.length;l+=1){var u=c[l];if(_D(u))return u.textContent}return null}else if(XE(e)===`img`||XE(e)===`area`){var d=p(e,`alt`);if(d!==null)return d}else if(sD(e)){var m=p(e,`label`);if(m!==null)return m}if(oD(e)&&(e.type===`button`||e.type===`submit`||e.type===`reset`)){var h=p(e,`value`);if(h!==null)return h;if(e.type===`submit`)return`Submit`;if(e.type===`reset`)return`Reset`}var _=FD(e);if(_!==null&&_.length!==0)return n.add(e),BE(_).map(function(e){return g(e,{isEmbeddedInLabel:!0,isReferenced:!1,recursion:!0})}).filter(function(e){return e.length>0}).join(` `);if(oD(e)&&e.type===`image`){var v=p(e,`alt`);if(v!==null)return v;var y=p(e,`title`);return y===null?`Submit Query`:y}if(yD(e,[`button`])){var b=f(e,{isEmbeddedInLabel:!1,isReferenced:!1});if(b!==``)return b}return null}function g(e,t){if(n.has(e))return``;if(!d&&xD(e,l)&&!t.isReferenced)return n.add(e),``;var r=iD(e)?e.getAttributeNode(`aria-labelledby`):null,i=r!==null&&!n.has(r)?vD(e,`aria-labelledby`):[];if(a===`name`&&!t.isReferenced&&i.length>0)return n.add(r),i.map(function(e){return g(e,{isEmbeddedInLabel:t.isEmbeddedInLabel,isReferenced:!0,recursion:!1})}).join(` `);var o=t.recursion&&SD(e)&&a===`name`;if(!o){var s=(iD(e)&&e.getAttribute(`aria-label`)||``).trim();if(s!==``&&a===`name`)return n.add(e),s;if(!ED(e)){var c=h(e);if(c!==null)return n.add(e),c}}if(yD(e,[`menu`]))return n.add(e),``;if(o||t.isEmbeddedInLabel||t.isReferenced){if(yD(e,[`combobox`,`listbox`])){n.add(e);var u=TD(e);return u.length===0?oD(e)?e.value:``:BE(u).map(function(e){return g(e,{isEmbeddedInLabel:t.isEmbeddedInLabel,isReferenced:!1,recursion:!0})}).join(` `)}if(CD(e,`range`))return n.add(e),e.hasAttribute(`aria-valuetext`)?e.getAttribute(`aria-valuetext`):e.hasAttribute(`aria-valuenow`)?e.getAttribute(`aria-valuenow`):e.getAttribute(`value`)||``;if(yD(e,[`textbox`]))return n.add(e),AD(e)}if(OD(e)||iD(e)&&t.isReferenced||DD(e)||kD(e)){var p=f(e,{isEmbeddedInLabel:t.isEmbeddedInLabel,isReferenced:!1});if(p!==``)return n.add(e),p}if(e.nodeType===e.TEXT_NODE)return n.add(e),e.textContent||``;if(t.recursion)return n.add(e),f(e,{isEmbeddedInLabel:t.isEmbeddedInLabel,isReferenced:!1});var _=m(e);return _===null?(n.add(e),``):(n.add(e),_)}return bD(g(e,{isEmbeddedInLabel:!1,isReferenced:a===`description`,recursion:!1}))}function RD(e){"@babel/helpers - typeof";return RD=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},RD(e)}function zD(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function BD(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?zD(Object(n),!0).forEach(function(t){VD(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):zD(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function VD(e,t,n){return t=HD(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function HD(e){var t=UD(e,`string`);return RD(t)===`symbol`?t:String(t)}function UD(e,t){if(RD(e)!==`object`||e===null)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(RD(r)!==`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}function WD(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=vD(e,`aria-describedby`).map(function(e){return LD(e,BD(BD({},t),{},{compute:`description`}))}).join(` `);if(n===``){var r=e.getAttribute(`title`);n=r===null?``:r}return n}function GD(e){return yD(e,[`caption`,`code`,`deletion`,`emphasis`,`generic`,`insertion`,`paragraph`,`presentation`,`strong`,`subscript`,`superscript`])}function KD(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return GD(e)?``:LD(e,t)}var qD=S(Dn()),JD=S(Pi());function YD(e){return e.replace(/</g,`&lt;`).replace(/>/g,`&gt;`)}var XD=(e,t,n,r,i,a,o)=>{let s=r+n.indent,c=n.colors;return e.map(e=>{let l=t[e],u=o(l,n,s,i,a);return typeof l!=`string`&&(u.indexOf(`
301
+ `)!==-1&&(u=n.spacingOuter+s+u+n.spacingOuter+r),u=`{`+u+`}`),n.spacingInner+r+c.prop.open+e+c.prop.close+`=`+c.value.open+u+c.value.close}).join(``)},ZD=3,QD=(e,t,n,r,i,a)=>e.map(e=>{let o=typeof e==`string`?$D(e,t):a(e,t,n,r,i);return o===``&&typeof e==`object`&&e&&e.nodeType!==ZD?``:t.spacingOuter+n+o}).join(``),$D=(e,t)=>{let n=t.colors.content;return n.open+YD(e)+n.close},eO=(e,t)=>{let n=t.colors.comment;return n.open+`<!--`+YD(e)+`-->`+n.close},tO=(e,t,n,r,i)=>{let a=r.colors.tag;return a.open+`<`+e+(t&&a.close+t+r.spacingOuter+i+a.open)+(n?`>`+a.close+n+r.spacingOuter+i+a.open+`</`+e:(t&&!r.min?``:` `)+`/`)+`>`+a.close},nO=(e,t)=>{let n=t.colors.tag;return n.open+`<`+e+n.close+` …`+n.open+` />`+n.close},rO=1,iO=3,aO=8,oO=11,sO=/^((HTML|SVG)\w*)?Element$/,cO=e=>{let{tagName:t}=e;return!!(typeof t==`string`&&t.includes(`-`)||typeof e.hasAttribute==`function`&&e.hasAttribute(`is`))},lO=e=>{let t=e.constructor.name,{nodeType:n}=e;return n===rO&&(sO.test(t)||cO(e))||n===iO&&t===`Text`||n===aO&&t===`Comment`||n===oO&&t===`DocumentFragment`};function uO(e){return e.nodeType===iO}function dO(e){return e.nodeType===aO}function fO(e){return e.nodeType===oO}function pO(e){return{test:e=>{var t;return((e==null||(t=e.constructor)==null?void 0:t.name)||cO(e))&&lO(e)},serialize:(t,n,r,i,a,o)=>{if(uO(t))return $D(t.data,n);if(dO(t))return eO(t.data,n);let s=fO(t)?`DocumentFragment`:t.tagName.toLowerCase();return++i>n.maxDepth?nO(s,n):tO(s,XD(fO(t)?[]:Array.from(t.attributes).map(e=>e.name).sort(),fO(t)?{}:Array.from(t.attributes).reduce((e,t)=>(e[t.name]=t.value,e),{}),n,r+n.indent,i,a,o),QD(Array.prototype.slice.call(t.childNodes||t.children).filter(e),n,r+n.indent,i,a,o),n,r)}}}var mO=null,hO=null,gO=null;try{let e=module&&module.require;hO=e.call(module,`fs`).readFileSync,gO=e.call(module,`@babel/code-frame`).codeFrameColumns,mO=e.call(module,`picocolors`)}catch{}function _O(e){let t=e.indexOf(`(`)+1,n=e.indexOf(`)`),r=e.slice(t,n),i=r.split(`:`),[a,o,s]=[i[0],parseInt(i[1],10),parseInt(i[2],10)],c=``;try{c=hO(a,`utf-8`)}catch{return``}let l=gO(c,{start:{line:o,column:s}},{highlightCode:!0,linesBelow:0});return mO.dim(r)+`
302
+ `+l+`
303
+ `}function vO(){return!hO||!gO?``:_O(Error().stack.split(`
304
+ `).slice(1).find(e=>!e.includes(`node_modules/`)))}var yO=3;function bO(){return typeof jest<`u`&&jest!==null?setTimeout._isMockFunction===!0||Object.prototype.hasOwnProperty.call(setTimeout,`clock`):!1}function xO(){if(typeof window>`u`)throw Error(`Could not find default container`);return window.document}function SO(e){if(e.defaultView)return e.defaultView;if(e.ownerDocument&&e.ownerDocument.defaultView)return e.ownerDocument.defaultView;if(e.window)return e.window;throw e.ownerDocument&&e.ownerDocument.defaultView===null?Error(`It looks like the window object is not available for the provided node.`):e.then instanceof Function?Error("It looks like you passed a Promise object instead of a DOM node. Did you do something like `fireEvent.click(screen.findBy...` when you meant to use a `getBy` query `fireEvent.click(screen.getBy...`, or await the findBy query `fireEvent.click(await screen.findBy...`?"):Array.isArray(e)?Error("It looks like you passed an Array instead of a DOM node. Did you do something like `fireEvent.click(screen.getAllBy...` when you meant to use a `getBy` query `fireEvent.click(screen.getBy...`?"):typeof e.debug==`function`&&typeof e.logTestingPlaygroundURL==`function`?Error("It looks like you passed a `screen` object. Did you do something like `fireEvent.click(screen, ...` when you meant to use a query, e.g. `fireEvent.click(screen.getBy..., `?"):Error(`The given node is not an Element, the node type is: `+typeof e+`.`)}function CO(e){if(!e||typeof e.querySelector!=`function`||typeof e.querySelectorAll!=`function`)throw TypeError(`Expected container to be an Element, a Document or a DocumentFragment but got `+t(e)+`.`);function t(e){return typeof e==`object`?e===null?`null`:e.constructor.name:typeof e}}var wO=()=>{if(typeof process>`u`)return!1;let e;try{let t={}?.COLORS;t&&(e=JSON.parse(t))}catch{}return typeof e==`boolean`?e:process.versions!==void 0&&process.versions.node!==void 0},{DOMCollection:TO}=PE.plugins,EO=1,DO=8;function OO(e){return e.nodeType!==DO&&(e.nodeType!==EO||!e.matches(PO().defaultIgnore))}function kO(e,t,n){if(n===void 0&&(n={}),e||=xO().body,typeof t!=`number`&&(t=typeof process<`u`&&{}.DEBUG_PRINT_LIMIT||7e3),t===0)return``;e.documentElement&&(e=e.documentElement);let r=typeof e;if(r===`object`?r=e.constructor.name:e={},!(`outerHTML`in e))throw TypeError(`Expected an element or document but got `+r);let{filterNode:i=OO,...a}=n,o=PE.format(e,{plugins:[pO(i),TO],printFunctionName:!1,highlight:wO(),...a});return t!==void 0&&e.outerHTML.length>t?o.slice(0,t)+`...`:o}var AO=function(){let e=vO();console.log(e?kO(...arguments)+`
305
+
306
+ `+e:kO(...arguments))},jO={testIdAttribute:`data-testid`,asyncUtilTimeout:1e3,asyncWrapper:e=>e(),unstable_advanceTimersWrapper:e=>e(),eventWrapper:e=>e(),defaultHidden:!1,defaultIgnore:`script, style`,showOriginalStackTrace:!1,throwSuggestions:!1,getElementError(e,t){let n=kO(t),r=Error([e,`Ignored nodes: comments, `+jO.defaultIgnore+`
307
+ `+n].filter(Boolean).join(`
308
+
309
+ `));return r.name=`TestingLibraryElementError`,r},_disableExpensiveErrorDiagnostics:!1,computedStyleSupportsPseudoElements:!1};function MO(e){try{return jO._disableExpensiveErrorDiagnostics=!0,e()}finally{jO._disableExpensiveErrorDiagnostics=!1}}function NO(e){typeof e==`function`&&(e=e(jO)),jO={...jO,...e}}function PO(){return jO}var FO=[`button`,`meter`,`output`,`progress`,`select`,`textarea`,`input`];function IO(e){return FO.includes(e.nodeName.toLowerCase())?``:e.nodeType===yO?e.textContent:Array.from(e.childNodes).map(e=>IO(e)).join(``)}function LO(e){let t;return t=e.tagName.toLowerCase()===`label`?IO(e):e.value||e.textContent,t}function RO(e){if(e.labels!==void 0)return e.labels??[];if(!zO(e))return[];let t=e.ownerDocument.querySelectorAll(`label`);return Array.from(t).filter(t=>t.control===e)}function zO(e){return/BUTTON|METER|OUTPUT|PROGRESS|SELECT|TEXTAREA/.test(e.tagName)||e.tagName===`INPUT`&&e.getAttribute(`type`)!==`hidden`}function BO(e,t,n){let{selector:r=`*`}=n===void 0?{}:n,i=t.getAttribute(`aria-labelledby`),a=i?i.split(` `):[];return a.length?a.map(t=>{let n=e.querySelector(`[id="`+t+`"]`);return n?{content:LO(n),formControl:null}:{content:``,formControl:null}}):Array.from(RO(t)).map(e=>({content:LO(e),formControl:Array.from(e.querySelectorAll(`button, input, meter, output, progress, select, textarea`)).filter(e=>e.matches(r))[0]}))}function VO(e){if(e==null)throw Error(`It looks like `+e+` was passed instead of a matcher. Did you do something like getByText(`+e+`)?`)}function HO(e,t,n,r){if(typeof e!=`string`)return!1;VO(n);let i=r(e);return typeof n==`string`||typeof n==`number`?i.toLowerCase().includes(n.toString().toLowerCase()):typeof n==`function`?n(i,t):KO(n,i)}function UO(e,t,n,r){if(typeof e!=`string`)return!1;VO(n);let i=r(e);return n instanceof Function?n(i,t):n instanceof RegExp?KO(n,i):i===String(n)}function WO(e){let{trim:t=!0,collapseWhitespace:n=!0}=e===void 0?{}:e;return e=>{let r=e;return r=t?r.trim():r,r=n?r.replace(/\s+/g,` `):r,r}}function GO(e){let{trim:t,collapseWhitespace:n,normalizer:r}=e;if(!r)return WO({trim:t,collapseWhitespace:n});if(typeof t<`u`||typeof n<`u`)throw Error(`trim and collapseWhitespace are not supported with a normalizer. If you want to use the default trim and collapseWhitespace logic in your normalizer, use "getDefaultNormalizer({trim, collapseWhitespace})" and compose that into your normalizer`);return r}function KO(e,t){let n=e.test(t);return e.global&&e.lastIndex!==0&&(console.warn(`To match all elements we had to reset the lastIndex of the RegExp because the global flag is enabled. We encourage to remove the global flag from the RegExp.`),e.lastIndex=0),n}function qO(e){return e.matches(`input[type=submit], input[type=button], input[type=reset]`)?e.value:Array.from(e.childNodes).filter(e=>e.nodeType===yO&&!!e.textContent).map(e=>e.textContent).join(``)}var JO=QO(qD.elementRoles);function YO(e){return e.hidden===!0||e.getAttribute(`aria-hidden`)===`true`||e.ownerDocument.defaultView.getComputedStyle(e).display===`none`}function XO(e,t){t===void 0&&(t={});let{isSubtreeInaccessible:n=YO}=t;if(e.ownerDocument.defaultView.getComputedStyle(e).visibility===`hidden`)return!0;let r=e;for(;r;){if(n(r))return!0;r=r.parentElement}return!1}function ZO(e){for(let{match:t,roles:n}of JO)if(t(e))return[...n];return[]}function QO(e){function t(e){let{name:t,attributes:n}=e;return``+t+n.map(e=>{let{name:t,value:n,constraints:r=[]}=e,i=r.indexOf(`undefined`)!==-1,a=r.indexOf(`set`)!==-1;return typeof n<`u`?`[`+t+`="`+n+`"]`:i?`:not([`+t+`])`:a?`[`+t+`]:not([`+t+`=""])`:`[`+t+`]`}).join(``)}function n(e){let{attributes:t=[]}=e;return t.length}function r(e,t){let{specificity:n}=e,{specificity:r}=t;return r-n}function i(e){let{attributes:n=[]}=e,r=n.findIndex(e=>e.value&&e.name===`type`&&e.value===`text`);r>=0&&(n=[...n.slice(0,r),...n.slice(r+1)]);let i=t({...e,attributes:n});return e=>r>=0&&e.type!==`text`?!1:e.matches(i)}let a=[];for(let[t,r]of e.entries())a=[...a,{match:i(t),roles:Array.from(r),specificity:n(t)}];return a.sort(r)}function $O(e,t){let{hidden:n=!1}=t===void 0?{}:t;function r(e){return[e,...Array.from(e.children).reduce((e,t)=>[...e,...r(t)],[])]}return r(e).filter(e=>n===!1?XO(e)===!1:!0).reduce((e,t)=>{let n=[];return n=t.hasAttribute(`role`)?t.getAttribute(`role`).split(` `).slice(0,1):ZO(t),n.reduce((e,n)=>Array.isArray(e[n])?{...e,[n]:[...e[n],t]}:{...e,[n]:[t]},e)},{})}function ek(e,t){let{hidden:n,includeDescription:r}=t,i=$O(e,{hidden:n});return Object.entries(i).filter(e=>{let[t]=e;return t!==`generic`}).map(e=>{let[t,n]=e,i=`-`.repeat(50),a=n.map(e=>{let t=`Name "`+KD(e,{computedStyleSupportsPseudoElements:PO().computedStyleSupportsPseudoElements})+`":
310
+ `,n=kO(e.cloneNode(!1));if(r){let r=`Description "`+WD(e,{computedStyleSupportsPseudoElements:PO().computedStyleSupportsPseudoElements})+`":
311
+ `;return``+t+r+n}return``+t+n}).join(`
312
+
313
+ `);return t+`:
314
+
315
+ `+a+`
316
+
317
+ `+i}).join(`
318
+ `)}var tk=function(e,t){let{hidden:n=!1}=t===void 0?{}:t;return console.log(ek(e,{hidden:n}))};function nk(e){return e.tagName===`OPTION`?e.selected:ck(e,`aria-selected`)}function rk(e){return e.getAttribute(`aria-busy`)===`true`}function ik(e){if(!(`indeterminate`in e&&e.indeterminate))return`checked`in e?e.checked:ck(e,`aria-checked`)}function ak(e){return ck(e,`aria-pressed`)}function ok(e){return ck(e,`aria-current`)??e.getAttribute(`aria-current`)??!1}function sk(e){return ck(e,`aria-expanded`)}function ck(e,t){let n=e.getAttribute(t);if(n===`true`)return!0;if(n===`false`)return!1}function lk(e){return e.getAttribute(`aria-level`)&&Number(e.getAttribute(`aria-level`))||{H1:1,H2:2,H3:3,H4:4,H5:5,H6:6}[e.tagName]}function uk(e){let t=e.getAttribute(`aria-valuenow`);return t===null?void 0:+t}function dk(e){let t=e.getAttribute(`aria-valuemax`);return t===null?void 0:+t}function fk(e){let t=e.getAttribute(`aria-valuemin`);return t===null?void 0:+t}function pk(e){let t=e.getAttribute(`aria-valuetext`);return t===null?void 0:t}var mk=WO();function hk(e){return e.replace(/[.*+\-?^${}()|[\]\\]/g,`\\$&`)}function gk(e){return new RegExp(hk(e.toLowerCase()),`i`)}function _k(e,t,n,r){let{variant:i,name:a}=r,o=``,s={},c=[[`Role`,`TestId`].includes(e)?n:gk(n)];a&&(s.name=gk(a)),e===`Role`&&XO(t)&&(s.hidden=!0,o=`Element is inaccessible. This means that the element and all its children are invisible to screen readers.
319
+ If you are using the aria-hidden prop, make sure this is the right choice for your case.
320
+ `),Object.keys(s).length>0&&c.push(s);let l=i+`By`+e;return{queryName:e,queryMethod:l,queryArgs:c,variant:i,warning:o,toString(){o&&console.warn(o);let[e,t]=c;return e=typeof e==`string`?`'`+e+`'`:e,t=t?`, { `+Object.entries(t).map(e=>{let[t,n]=e;return t+`: `+n}).join(`, `)+` }`:``,l+`(`+e+t+`)`}}}function vk(e,t,n){return n&&(!t||t.toLowerCase()===e.toLowerCase())}function yk(e,t,n){if(t===void 0&&(t=`get`),e.matches(PO().defaultIgnore))return;let r=e.getAttribute(`role`)??ZO(e)?.[0];if(r!==`generic`&&vk(`Role`,n,r))return _k(`Role`,e,r,{variant:t,name:KD(e,{computedStyleSupportsPseudoElements:PO().computedStyleSupportsPseudoElements})});let i=BO(document,e).map(e=>e.content).join(` `);if(vk(`LabelText`,n,i))return _k(`LabelText`,e,i,{variant:t});let a=e.getAttribute(`placeholder`);if(vk(`PlaceholderText`,n,a))return _k(`PlaceholderText`,e,a,{variant:t});let o=mk(qO(e));if(vk(`Text`,n,o))return _k(`Text`,e,o,{variant:t});if(vk(`DisplayValue`,n,e.value))return _k(`DisplayValue`,e,mk(e.value),{variant:t});let s=e.getAttribute(`alt`);if(vk(`AltText`,n,s))return _k(`AltText`,e,s,{variant:t});let c=e.getAttribute(`title`);if(vk(`Title`,n,c))return _k(`Title`,e,c,{variant:t});let l=e.getAttribute(PO().testIdAttribute);if(vk(`TestId`,n,l))return _k(`TestId`,e,l,{variant:t})}function bk(e,t){e.stack=t.stack.replace(t.message,e.message)}function xk(e,t){let{container:n=xO(),timeout:r=PO().asyncUtilTimeout,showOriginalStackTrace:i=PO().showOriginalStackTrace,stackTraceError:a,interval:o=50,onTimeout:s=e=>(Object.defineProperty(e,`message`,{value:PO().getElementError(e.message,n).message}),e),mutationObserverOptions:c={subtree:!0,childList:!0,attributes:!0,characterData:!0}}=t;if(typeof e!=`function`)throw TypeError("Received `callback` arg must be a function");return new Promise(async(t,l)=>{let u,d,f,p=!1,m=`idle`,h=setTimeout(b,r),g=bO();if(g){let{unstable_advanceTimersWrapper:e}=PO();for(y();!p;){if(!bO()){let e=Error(`Changed from using fake timers to real timers while using waitFor. This is not allowed and will result in very strange behavior. Please ensure you're awaiting all async things your test is doing before changing to real timers. For more info, please go to https://github.com/testing-library/dom-testing-library/issues/830`);i||bk(e,a),l(e);return}if(await e(async()=>{jest.advanceTimersByTime(o)}),p)break;y()}}else{try{CO(n)}catch(e){l(e);return}d=setInterval(v,o);let{MutationObserver:e}=SO(n);f=new e(v),f.observe(n,c),y()}function _(e,n){p=!0,clearTimeout(h),g||(clearInterval(d),f.disconnect()),e?l(e):t(n)}function v(){if(bO()){let e=Error(`Changed from using real timers to fake timers while using waitFor. This is not allowed and will result in very strange behavior. Please ensure you're awaiting all async things your test is doing before changing to fake timers. For more info, please go to https://github.com/testing-library/dom-testing-library/issues/830`);return i||bk(e,a),l(e)}else return y()}function y(){if(m!==`pending`)try{let t=MO(e);typeof t?.then==`function`?(m=`pending`,t.then(e=>{m=`resolved`,_(null,e)},e=>{m=`rejected`,u=e})):_(null,t)}catch(e){u=e}}function b(){let e;u?(e=u,!i&&e.name===`TestingLibraryElementError`&&bk(e,a)):(e=Error(`Timed out in waitFor.`),i||bk(e,a)),_(s(e),null)}})}function Sk(e,t){let n=Error(`STACK_TRACE_MESSAGE`);return PO().asyncWrapper(()=>xk(e,{stackTraceError:n,...t}))}function Ck(e,t){return PO().getElementError(e,t)}function wk(e,t){return Ck(e+"\n\n(If this is intentional, then use the `*AllBy*` variant of the query (like `queryAllByText`, `getAllByText`, or `findAllByText`)).",t)}function Tk(e,t,n,r){let{exact:i=!0,collapseWhitespace:a,trim:o,normalizer:s}=r===void 0?{}:r,c=i?UO:HO,l=GO({collapseWhitespace:a,trim:o,normalizer:s});return Array.from(t.querySelectorAll(`[`+e+`]`)).filter(t=>c(t.getAttribute(e),t,n,l))}function Ek(e,t,n,r){let i=Tk(e,t,n,r);if(i.length>1)throw wk(`Found multiple elements by [`+e+`=`+n+`]`,t);return i[0]||null}function Dk(e,t){return function(n){var r=[...arguments].slice(1);let i=e(n,...r);if(i.length>1){let e=i.map(e=>Ck(null,e).message).join(`
321
+
322
+ `);throw wk(t(n,...r)+`
323
+
324
+ Here are the matching elements:
325
+
326
+ `+e,n)}return i[0]||null}}function Ok(e,t){return PO().getElementError(`A better query is available, try this:
327
+ `+e.toString()+`
328
+ `,t)}function kk(e,t){return function(n){var r=[...arguments].slice(1);let i=e(n,...r);if(!i.length)throw PO().getElementError(t(n,...r),n);return i}}function Ak(e){return(t,n,r,i)=>Sk(()=>e(t,n,r),{container:t,...i})}var jk=(e,t,n)=>function(r){var i=[...arguments].slice(1);let a=e(r,...i),[{suggest:o=PO().throwSuggestions}={}]=i.slice(-1);if(a&&o){let e=yk(a,n);if(e&&!t.endsWith(e.queryName))throw Ok(e.toString(),r)}return a},Mk=(e,t,n)=>function(r){var i=[...arguments].slice(1);let a=e(r,...i),[{suggest:o=PO().throwSuggestions}={}]=i.slice(-1);if(a.length&&o){let e=[...new Set(a.map(e=>yk(e,n)?.toString()))];if(e.length===1&&!t.endsWith(yk(a[0],n).queryName))throw Ok(e[0],r)}return a};function Nk(e,t,n){let r=jk(Dk(e,t),e.name,`query`),i=kk(e,n),a=Dk(i,t),o=jk(a,e.name,`get`);return[r,Mk(i,e.name.replace(`query`,`get`),`getAll`),o,Ak(Mk(i,e.name,`findAll`)),Ak(jk(a,e.name,`find`))]}var Pk=Object.freeze({__proto__:null,getElementError:Ck,wrapAllByQueryWithSuggestion:Mk,wrapSingleQueryWithSuggestion:jk,getMultipleElementsFoundError:wk,queryAllByAttribute:Tk,queryByAttribute:Ek,makeSingleQuery:Dk,makeGetAllQuery:kk,makeFindQuery:Ak,buildQueries:Nk});function Fk(e){return Array.from(e.querySelectorAll(`label,input`)).map(e=>({node:e,textToMatch:LO(e)})).filter(e=>{let{textToMatch:t}=e;return t!==null})}var Ik=function(e,t,n){let{exact:r=!0,trim:i,collapseWhitespace:a,normalizer:o}=n===void 0?{}:n,s=r?UO:HO,c=GO({collapseWhitespace:a,trim:i,normalizer:o});return Fk(e).filter(e=>{let{node:n,textToMatch:r}=e;return s(r,n,t,c)}).map(e=>{let{node:t}=e;return t})},Lk=function(e,t,n){let{selector:r=`*`,exact:i=!0,collapseWhitespace:a,trim:o,normalizer:s}=n===void 0?{}:n;CO(e);let c=i?UO:HO,l=GO({collapseWhitespace:a,trim:o,normalizer:s}),u=Array.from(e.querySelectorAll(`*`)).filter(e=>RO(e).length||e.hasAttribute(`aria-labelledby`)).reduce((n,i)=>{let a=BO(e,i,{selector:r});a.filter(e=>!!e.formControl).forEach(e=>{c(e.content,e.formControl,t,l)&&e.formControl&&n.push(e.formControl)});let o=a.filter(e=>!!e.content).map(e=>e.content);return c(o.join(` `),i,t,l)&&n.push(i),o.length>1&&o.forEach((e,r)=>{c(e,i,t,l)&&n.push(i);let a=[...o];a.splice(r,1),a.length>1&&c(a.join(` `),i,t,l)&&n.push(i)}),n},[]).concat(Tk(`aria-label`,e,t,{exact:i,normalizer:l}));return Array.from(new Set(u)).filter(e=>e.matches(r))},Rk=function(e,t){var n=[...arguments].slice(2);let r=Lk(e,t,...n);if(!r.length){let r=Ik(e,t,...n);if(r.length){let n=r.map(t=>zk(e,t)).filter(e=>!!e);throw n.length?PO().getElementError(n.map(e=>`Found a label with the text of: `+t+`, however the element associated with this label (<`+e+` />) is non-labellable [https://html.spec.whatwg.org/multipage/forms.html#category-label]. If you really need to label a <`+e+` />, you can use aria-label or aria-labelledby instead.`).join(`
329
+
330
+ `),e):PO().getElementError(`Found a label with the text of: `+t+`, however no form control was found associated to that label. Make sure you're using the "for" attribute or "aria-labelledby" attribute correctly.`,e)}else throw PO().getElementError(`Unable to find a label with the text of: `+t,e)}return r};function zk(e,t){let n=t.getAttribute(`for`);if(!n)return null;let r=e.querySelector(`[id="`+n+`"]`);return r?r.tagName.toLowerCase():null}var Bk=(e,t)=>`Found multiple elements with the text of: `+t,Vk=jk(Dk(Lk,Bk),Lk.name,`query`),Hk=Dk(Rk,Bk),Uk=Ak(Mk(Rk,Rk.name,`findAll`)),Wk=Ak(jk(Hk,Rk.name,`find`)),Gk=Mk(Rk,Rk.name,`getAll`),Kk=jk(Hk,Rk.name,`get`),qk=Mk(Lk,Lk.name,`queryAll`),Jk=function(){var e=[...arguments];return CO(e[0]),Tk(`placeholder`,...e)},Yk=(e,t)=>`Found multiple elements with the placeholder text of: `+t,Xk=(e,t)=>`Unable to find an element with the placeholder text of: `+t,Zk=Mk(Jk,Jk.name,`queryAll`),[Qk,$k,eA,tA,nA]=Nk(Jk,Yk,Xk),rA=function(e,t,n){let{selector:r=`*`,exact:i=!0,collapseWhitespace:a,trim:o,ignore:s=PO().defaultIgnore,normalizer:c}=n===void 0?{}:n;CO(e);let l=i?UO:HO,u=GO({collapseWhitespace:a,trim:o,normalizer:c}),d=[];return typeof e.matches==`function`&&e.matches(r)&&(d=[e]),[...d,...Array.from(e.querySelectorAll(r))].filter(e=>!s||!e.matches(s)).filter(e=>l(qO(e),e,t,u))},iA=(e,t)=>`Found multiple elements with the text: `+t,aA=function(e,t,n){n===void 0&&(n={});let{collapseWhitespace:r,trim:i,normalizer:a,selector:o}=n,s=GO({collapseWhitespace:r,trim:i,normalizer:a})(t.toString()),c=s!==t.toString(),l=(o??`*`)!==`*`;return`Unable to find an element with the text: `+(c?s+` (normalized from '`+t+`')`:t)+(l?`, which matches selector '`+o+`'`:``)+`. This could be because the text is broken up by multiple elements. In this case, you can provide a function for your text matcher to make your matcher more flexible.`},oA=Mk(rA,rA.name,`queryAll`),[sA,cA,lA,uA,dA]=Nk(rA,iA,aA),fA=function(e,t,n){let{exact:r=!0,collapseWhitespace:i,trim:a,normalizer:o}=n===void 0?{}:n;CO(e);let s=r?UO:HO,c=GO({collapseWhitespace:i,trim:a,normalizer:o});return Array.from(e.querySelectorAll(`input,textarea,select`)).filter(e=>e.tagName===`SELECT`?Array.from(e.options).filter(e=>e.selected).some(e=>s(qO(e),e,t,c)):s(e.value,e,t,c))},pA=(e,t)=>`Found multiple elements with the display value: `+t+`.`,mA=(e,t)=>`Unable to find an element with the display value: `+t+`.`,hA=Mk(fA,fA.name,`queryAll`),[gA,_A,vA,yA,bA]=Nk(fA,pA,mA),xA=/^(img|input|area|.+-.+)$/i,SA=function(e,t,n){return n===void 0&&(n={}),CO(e),Tk(`alt`,e,t,n).filter(e=>xA.test(e.tagName))},CA=(e,t)=>`Found multiple elements with the alt text: `+t,wA=(e,t)=>`Unable to find an element with the alt text: `+t,TA=Mk(SA,SA.name,`queryAll`),[EA,DA,OA,kA,AA]=Nk(SA,CA,wA),jA=e=>e.tagName.toLowerCase()===`title`&&e.parentElement?.tagName.toLowerCase()===`svg`,MA=function(e,t,n){let{exact:r=!0,collapseWhitespace:i,trim:a,normalizer:o}=n===void 0?{}:n;CO(e);let s=r?UO:HO,c=GO({collapseWhitespace:i,trim:a,normalizer:o});return Array.from(e.querySelectorAll(`[title], svg > title`)).filter(e=>s(e.getAttribute(`title`),e,t,c)||jA(e)&&s(qO(e),e,t,c))},NA=(e,t)=>`Found multiple elements with the title: `+t+`.`,PA=(e,t)=>`Unable to find an element with the title: `+t+`.`,FA=Mk(MA,MA.name,`queryAll`),[IA,LA,RA,zA,BA]=Nk(MA,NA,PA),VA=function(e,t,n){let{hidden:r=PO().defaultHidden,name:i,description:a,queryFallbacks:o=!1,selected:s,busy:c,checked:l,pressed:u,current:d,level:f,expanded:p,value:{now:m,min:h,max:g,text:_}={}}=n===void 0?{}:n;if(CO(e),s!==void 0&&qD.roles.get(t)?.props[`aria-selected`]===void 0)throw Error(`"aria-selected" is not supported on role "`+t+`".`);if(c!==void 0&&qD.roles.get(t)?.props[`aria-busy`]===void 0)throw Error(`"aria-busy" is not supported on role "`+t+`".`);if(l!==void 0&&qD.roles.get(t)?.props[`aria-checked`]===void 0)throw Error(`"aria-checked" is not supported on role "`+t+`".`);if(u!==void 0&&qD.roles.get(t)?.props[`aria-pressed`]===void 0)throw Error(`"aria-pressed" is not supported on role "`+t+`".`);if(d!==void 0&&qD.roles.get(t)?.props[`aria-current`]===void 0)throw Error(`"aria-current" is not supported on role "`+t+`".`);if(f!==void 0&&t!==`heading`)throw Error(`Role "`+t+`" cannot have "level" property.`);if(m!==void 0&&qD.roles.get(t)?.props[`aria-valuenow`]===void 0)throw Error(`"aria-valuenow" is not supported on role "`+t+`".`);if(g!==void 0&&qD.roles.get(t)?.props[`aria-valuemax`]===void 0)throw Error(`"aria-valuemax" is not supported on role "`+t+`".`);if(h!==void 0&&qD.roles.get(t)?.props[`aria-valuemin`]===void 0)throw Error(`"aria-valuemin" is not supported on role "`+t+`".`);if(_!==void 0&&qD.roles.get(t)?.props[`aria-valuetext`]===void 0)throw Error(`"aria-valuetext" is not supported on role "`+t+`".`);if(p!==void 0&&qD.roles.get(t)?.props[`aria-expanded`]===void 0)throw Error(`"aria-expanded" is not supported on role "`+t+`".`);let v=new WeakMap;function y(e){return v.has(e)||v.set(e,YO(e)),v.get(e)}return Array.from(e.querySelectorAll(HA(t))).filter(e=>{if(e.hasAttribute(`role`)){let n=e.getAttribute(`role`);if(o)return n.split(` `).filter(Boolean).some(e=>e===t);let[r]=n.split(` `);return r===t}return ZO(e).some(e=>e===t)}).filter(e=>{if(s!==void 0)return s===nk(e);if(c!==void 0)return c===rk(e);if(l!==void 0)return l===ik(e);if(u!==void 0)return u===ak(e);if(d!==void 0)return d===ok(e);if(p!==void 0)return p===sk(e);if(f!==void 0)return f===lk(e);if(m!==void 0||g!==void 0||h!==void 0||_!==void 0){let t=!0;return m!==void 0&&t&&(t=m===uk(e)),g!==void 0&&t&&(t=g===dk(e)),h!==void 0&&t&&(t=h===fk(e)),_!==void 0&&(t&&=UO(pk(e)??null,e,_,e=>e)),t}return!0}).filter(e=>i===void 0?!0:UO(KD(e,{computedStyleSupportsPseudoElements:PO().computedStyleSupportsPseudoElements}),e,i,e=>e)).filter(e=>a===void 0?!0:UO(WD(e,{computedStyleSupportsPseudoElements:PO().computedStyleSupportsPseudoElements}),e,a,e=>e)).filter(e=>r===!1?XO(e,{isSubtreeInaccessible:y})===!1:!0)};function HA(e){let t=`*[role~="`+e+`"]`,n=qD.roleElements.get(e)??new Set,r=new Set(Array.from(n).map(e=>{let{name:t}=e;return t}));return[t].concat(Array.from(r)).join(`,`)}var UA=e=>{let t=``;return t=e===void 0?``:typeof e==`string`?` and name "`+e+`"`:" and name `"+e+"`",t},WA=function(e,t,n){let{name:r}=n===void 0?{}:n;return`Found multiple elements with the role "`+t+`"`+UA(r)},GA=function(e,t,n){let{hidden:r=PO().defaultHidden,name:i,description:a}=n===void 0?{}:n;if(PO()._disableExpensiveErrorDiagnostics)return`Unable to find role="`+t+`"`+UA(i);let o=``;Array.from(e.children).forEach(e=>{o+=ek(e,{hidden:r,includeDescription:a!==void 0})});let s;s=o.length===0?r===!1?"There are no accessible roles. But there might be some inaccessible roles. If you wish to access them, then set the `hidden` option to `true`. Learn more about this here: https://testing-library.com/docs/dom-testing-library/api-queries#byrole":`There are no available roles.`:(`
331
+ Here are the `+(r===!1?`accessible`:`available`)+` roles:
332
+
333
+ `+o.replace(/\n/g,`
334
+ `).replace(/\n\s\s\n/g,`
335
+
336
+ `)+`
337
+ `).trim();let c=``;c=i===void 0?``:typeof i==`string`?` and name "`+i+`"`:" and name `"+i+"`";let l=``;return l=a===void 0?``:typeof a==`string`?` and description "`+a+`"`:" and description `"+a+"`",(`
338
+ Unable to find an `+(r===!1?`accessible `:``)+`element with the role "`+t+`"`+c+l+`
339
+
340
+ `+s).trim()},KA=Mk(VA,VA.name,`queryAll`),[qA,JA,YA,XA,ZA]=Nk(VA,WA,GA),QA=()=>PO().testIdAttribute,$A=function(){var e=[...arguments];return CO(e[0]),Tk(QA(),...e)},ej=(e,t)=>`Found multiple elements by: [`+QA()+`="`+t+`"]`,tj=(e,t)=>`Unable to find an element by: [`+QA()+`="`+t+`"]`,nj=Mk($A,$A.name,`queryAll`),[rj,ij,aj,oj,sj]=Nk($A,ej,tj),cj=Object.freeze({__proto__:null,queryAllByLabelText:qk,queryByLabelText:Vk,getAllByLabelText:Gk,getByLabelText:Kk,findAllByLabelText:Uk,findByLabelText:Wk,queryByPlaceholderText:Qk,queryAllByPlaceholderText:Zk,getByPlaceholderText:eA,getAllByPlaceholderText:$k,findAllByPlaceholderText:tA,findByPlaceholderText:nA,queryByText:sA,queryAllByText:oA,getByText:lA,getAllByText:cA,findAllByText:uA,findByText:dA,queryByDisplayValue:gA,queryAllByDisplayValue:hA,getByDisplayValue:vA,getAllByDisplayValue:_A,findAllByDisplayValue:yA,findByDisplayValue:bA,queryByAltText:EA,queryAllByAltText:TA,getByAltText:OA,getAllByAltText:DA,findAllByAltText:kA,findByAltText:AA,queryByTitle:IA,queryAllByTitle:FA,getByTitle:RA,getAllByTitle:LA,findAllByTitle:zA,findByTitle:BA,queryByRole:qA,queryAllByRole:KA,getAllByRole:JA,getByRole:YA,findAllByRole:XA,findByRole:ZA,queryByTestId:rj,queryAllByTestId:nj,getByTestId:aj,getAllByTestId:ij,findAllByTestId:oj,findByTestId:sj});function lj(e,t,n){return t===void 0&&(t=cj),n===void 0&&(n={}),Object.keys(t).reduce((n,r)=>(n[r]=t[r].bind(null,e),n),n)}var uj=e=>!e||Array.isArray(e)&&!e.length;function dj(e){if(uj(e))throw Error(`The element(s) given to waitForElementToBeRemoved are already removed. waitForElementToBeRemoved requires that the element(s) exist(s) before waiting for removal.`)}async function fj(e,t){let n=Error(`Timed out in waitForElementToBeRemoved.`);if(typeof e!=`function`){dj(e);let t=(Array.isArray(e)?e:[e]).map(e=>{let t=e.parentElement;if(t===null)return()=>null;for(;t.parentElement;)t=t.parentElement;return()=>t.contains(e)?e:null});e=()=>t.map(e=>e()).filter(Boolean)}return dj(e()),Sk(()=>{let t;try{t=e()}catch(e){if(e.name===`TestingLibraryElementError`)return;throw e}if(!uj(t))throw n},t)}var pj={copy:{EventType:`ClipboardEvent`,defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},cut:{EventType:`ClipboardEvent`,defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},paste:{EventType:`ClipboardEvent`,defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},compositionEnd:{EventType:`CompositionEvent`,defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},compositionStart:{EventType:`CompositionEvent`,defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},compositionUpdate:{EventType:`CompositionEvent`,defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},keyDown:{EventType:`KeyboardEvent`,defaultInit:{bubbles:!0,cancelable:!0,charCode:0,composed:!0}},keyPress:{EventType:`KeyboardEvent`,defaultInit:{bubbles:!0,cancelable:!0,charCode:0,composed:!0}},keyUp:{EventType:`KeyboardEvent`,defaultInit:{bubbles:!0,cancelable:!0,charCode:0,composed:!0}},focus:{EventType:`FocusEvent`,defaultInit:{bubbles:!1,cancelable:!1,composed:!0}},blur:{EventType:`FocusEvent`,defaultInit:{bubbles:!1,cancelable:!1,composed:!0}},focusIn:{EventType:`FocusEvent`,defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},focusOut:{EventType:`FocusEvent`,defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},change:{EventType:`Event`,defaultInit:{bubbles:!0,cancelable:!1}},input:{EventType:`InputEvent`,defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},invalid:{EventType:`Event`,defaultInit:{bubbles:!1,cancelable:!0}},submit:{EventType:`Event`,defaultInit:{bubbles:!0,cancelable:!0}},reset:{EventType:`Event`,defaultInit:{bubbles:!0,cancelable:!0}},click:{EventType:`MouseEvent`,defaultInit:{bubbles:!0,cancelable:!0,button:0,composed:!0}},contextMenu:{EventType:`MouseEvent`,defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},dblClick:{EventType:`MouseEvent`,defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},drag:{EventType:`DragEvent`,defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},dragEnd:{EventType:`DragEvent`,defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},dragEnter:{EventType:`DragEvent`,defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},dragExit:{EventType:`DragEvent`,defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},dragLeave:{EventType:`DragEvent`,defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},dragOver:{EventType:`DragEvent`,defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},dragStart:{EventType:`DragEvent`,defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},drop:{EventType:`DragEvent`,defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},mouseDown:{EventType:`MouseEvent`,defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},mouseEnter:{EventType:`MouseEvent`,defaultInit:{bubbles:!1,cancelable:!1,composed:!0}},mouseLeave:{EventType:`MouseEvent`,defaultInit:{bubbles:!1,cancelable:!1,composed:!0}},mouseMove:{EventType:`MouseEvent`,defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},mouseOut:{EventType:`MouseEvent`,defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},mouseOver:{EventType:`MouseEvent`,defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},mouseUp:{EventType:`MouseEvent`,defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},select:{EventType:`Event`,defaultInit:{bubbles:!0,cancelable:!1}},touchCancel:{EventType:`TouchEvent`,defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},touchEnd:{EventType:`TouchEvent`,defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},touchMove:{EventType:`TouchEvent`,defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},touchStart:{EventType:`TouchEvent`,defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},resize:{EventType:`UIEvent`,defaultInit:{bubbles:!1,cancelable:!1}},scroll:{EventType:`UIEvent`,defaultInit:{bubbles:!1,cancelable:!1}},wheel:{EventType:`WheelEvent`,defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},abort:{EventType:`Event`,defaultInit:{bubbles:!1,cancelable:!1}},canPlay:{EventType:`Event`,defaultInit:{bubbles:!1,cancelable:!1}},canPlayThrough:{EventType:`Event`,defaultInit:{bubbles:!1,cancelable:!1}},durationChange:{EventType:`Event`,defaultInit:{bubbles:!1,cancelable:!1}},emptied:{EventType:`Event`,defaultInit:{bubbles:!1,cancelable:!1}},encrypted:{EventType:`Event`,defaultInit:{bubbles:!1,cancelable:!1}},ended:{EventType:`Event`,defaultInit:{bubbles:!1,cancelable:!1}},loadedData:{EventType:`Event`,defaultInit:{bubbles:!1,cancelable:!1}},loadedMetadata:{EventType:`Event`,defaultInit:{bubbles:!1,cancelable:!1}},loadStart:{EventType:`ProgressEvent`,defaultInit:{bubbles:!1,cancelable:!1}},pause:{EventType:`Event`,defaultInit:{bubbles:!1,cancelable:!1}},play:{EventType:`Event`,defaultInit:{bubbles:!1,cancelable:!1}},playing:{EventType:`Event`,defaultInit:{bubbles:!1,cancelable:!1}},progress:{EventType:`ProgressEvent`,defaultInit:{bubbles:!1,cancelable:!1}},rateChange:{EventType:`Event`,defaultInit:{bubbles:!1,cancelable:!1}},seeked:{EventType:`Event`,defaultInit:{bubbles:!1,cancelable:!1}},seeking:{EventType:`Event`,defaultInit:{bubbles:!1,cancelable:!1}},stalled:{EventType:`Event`,defaultInit:{bubbles:!1,cancelable:!1}},suspend:{EventType:`Event`,defaultInit:{bubbles:!1,cancelable:!1}},timeUpdate:{EventType:`Event`,defaultInit:{bubbles:!1,cancelable:!1}},volumeChange:{EventType:`Event`,defaultInit:{bubbles:!1,cancelable:!1}},waiting:{EventType:`Event`,defaultInit:{bubbles:!1,cancelable:!1}},load:{EventType:`Event`,defaultInit:{bubbles:!1,cancelable:!1}},error:{EventType:`Event`,defaultInit:{bubbles:!1,cancelable:!1}},animationStart:{EventType:`AnimationEvent`,defaultInit:{bubbles:!0,cancelable:!1}},animationEnd:{EventType:`AnimationEvent`,defaultInit:{bubbles:!0,cancelable:!1}},animationIteration:{EventType:`AnimationEvent`,defaultInit:{bubbles:!0,cancelable:!1}},transitionCancel:{EventType:`TransitionEvent`,defaultInit:{bubbles:!0,cancelable:!1}},transitionEnd:{EventType:`TransitionEvent`,defaultInit:{bubbles:!0,cancelable:!0}},transitionRun:{EventType:`TransitionEvent`,defaultInit:{bubbles:!0,cancelable:!1}},transitionStart:{EventType:`TransitionEvent`,defaultInit:{bubbles:!0,cancelable:!1}},pointerOver:{EventType:`PointerEvent`,defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointerEnter:{EventType:`PointerEvent`,defaultInit:{bubbles:!1,cancelable:!1}},pointerDown:{EventType:`PointerEvent`,defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointerMove:{EventType:`PointerEvent`,defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointerUp:{EventType:`PointerEvent`,defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointerCancel:{EventType:`PointerEvent`,defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},pointerOut:{EventType:`PointerEvent`,defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointerLeave:{EventType:`PointerEvent`,defaultInit:{bubbles:!1,cancelable:!1}},gotPointerCapture:{EventType:`PointerEvent`,defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},lostPointerCapture:{EventType:`PointerEvent`,defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},popState:{EventType:`PopStateEvent`,defaultInit:{bubbles:!0,cancelable:!1}},offline:{EventType:`Event`,defaultInit:{bubbles:!1,cancelable:!1}},online:{EventType:`Event`,defaultInit:{bubbles:!1,cancelable:!1}},pageHide:{EventType:`PageTransitionEvent`,defaultInit:{bubbles:!0,cancelable:!0}},pageShow:{EventType:`PageTransitionEvent`,defaultInit:{bubbles:!0,cancelable:!0}}},mj={doubleClick:`dblClick`};function hj(e,t){return PO().eventWrapper(()=>{if(!t)throw Error(`Unable to fire an event - please provide an event object.`);if(!e)throw Error(`Unable to fire a "`+t.type+`" event - please provide a DOM element.`);return e.dispatchEvent(t)})}function gj(e,t,n,r){let{EventType:i=`Event`,defaultInit:a={}}=r===void 0?{}:r;if(!t)throw Error(`Unable to fire a "`+e+`" event - please provide a DOM element.`);let o={...a,...n},{target:{value:s,files:c,...l}={}}=o;s!==void 0&&_j(t,s),c!==void 0&&Object.defineProperty(t,`files`,{configurable:!0,enumerable:!0,writable:!0,value:c}),Object.assign(t,l);let u=SO(t),d=u[i]||u.Event,f;if(typeof d==`function`)f=new d(e,o);else{f=u.document.createEvent(i);let{bubbles:t,cancelable:n,detail:r,...a}=o;f.initEvent(e,t,n,r),Object.keys(a).forEach(e=>{f[e]=a[e]})}return[`dataTransfer`,`clipboardData`].forEach(e=>{let t=o[e];typeof t==`object`&&(typeof u.DataTransfer==`function`?Object.defineProperty(f,e,{value:Object.getOwnPropertyNames(t).reduce((e,n)=>(Object.defineProperty(e,n,{value:t[n]}),e),new u.DataTransfer)}):Object.defineProperty(f,e,{value:t}))}),f}Object.keys(pj).forEach(e=>{let{EventType:t,defaultInit:n}=pj[e],r=e.toLowerCase();gj[e]=(e,i)=>gj(r,e,i,{EventType:t,defaultInit:n}),hj[e]=(t,n)=>hj(t,gj[e](t,n))});function _j(e,t){let{set:n}=Object.getOwnPropertyDescriptor(e,`value`)||{},r=Object.getPrototypeOf(e),{set:i}=Object.getOwnPropertyDescriptor(r,`value`)||{};if(i&&n!==i)i.call(e,t);else if(n)n.call(e,t);else throw Error(`The given element does not have a value setter`)}Object.keys(mj).forEach(e=>{let t=mj[e];hj[e]=function(){return hj[t](...arguments)}});function vj(e){return e.replace(/[ \t]*[\n][ \t]*/g,`
341
+ `)}function yj(e){return JD.default.compressToEncodedURIComponent(vj(e))}function bj(e){return`https://testing-playground.com/#markup=`+yj(e)}var xj={debug:(e,t,n)=>Array.isArray(e)?e.forEach(e=>AO(e,t,n)):AO(e,t,n),logTestingPlaygroundURL:function(e){if(e===void 0&&(e=xO().body),!e||!(`innerHTML`in e)){console.log(`The element you're providing isn't a valid DOM element.`);return}if(!e.innerHTML){console.log(`The provided element doesn't have any children.`);return}let t=bj(e.innerHTML);return console.log(`Open this URL in your browser
342
+
343
+ `+t),t}},Sj=typeof document<`u`&&document.body?lj(document.body,cj,xj):Object.keys(cj).reduce((e,t)=>(e[t]=()=>{throw TypeError(`For queries bound to document.body a global document has to be available... Learn more: https://testing-library.com/s/screen-global-error`)},e),xj);function Z(e,t,n){return e.namespaceURI&&e.namespaceURI!==`http://www.w3.org/1999/xhtml`||(t=Array.isArray(t)?t:[t],!t.includes(e.tagName.toLowerCase()))?!1:n?Object.entries(n).every(([t,n])=>e[t]===n):!0}function Cj(e){var t;if(wj(e)&&e.defaultView)return e.defaultView;if((t=e.ownerDocument)!=null&&t.defaultView)return e.ownerDocument.defaultView;throw Error(`Could not determine window of node. Node was ${Tj(e)}`)}function wj(e){return e.nodeType===9}function Tj(e){return typeof e==`function`?`function ${e.name}`:e===null?`null`:String(e)}function Ej(e,t){return new Promise((n,r)=>{let i=new t;i.onerror=r,i.onabort=r,i.onload=()=>{n(String(i.result))},i.readAsText(e)})}function Dj(e,t){let n={...t,length:t.length,item:e=>n[e],[Symbol.iterator]:function*(){for(let e=0;e<n.length;e++)yield n[e]}};return n.constructor=e.FileList,e.FileList&&Object.setPrototypeOf(n,e.FileList.prototype),Object.freeze(n),n}function Oj(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var kj=class{getAsFile(){return this.file}getAsString(e){typeof this.data==`string`&&e(this.data)}webkitGetAsEntry(){throw Error(`not implemented`)}constructor(e,t){Oj(this,`kind`,void 0),Oj(this,`type`,void 0),Oj(this,`file`,null),Oj(this,`data`,void 0),typeof e==`string`?(this.kind=`string`,this.type=String(t),this.data=e):(this.kind=`file`,this.type=e.type,this.file=e)}},Aj=class extends Array{add(...e){let t=new kj(e[0],e[1]);return this.push(t),t}clear(){this.splice(0,this.length)}remove(e){this.splice(e,1)}};function jj(e,t){let[n,r]=e.split(`/`),i=!r||r===`*`;return r=>t?r.type===(i?n:e):i?r.type.startsWith(`${n}/`):r.type===n}function Mj(e){return new class{getData(e){let t=this.items.find(jj(e,!0))??this.items.find(jj(e,!1)),n=``;return t?.getAsString(e=>{n=e}),n}setData(e,t){let n=this.items.findIndex(jj(e,!0)),r=new kj(t,e);n>=0?this.items.splice(n,1,r):this.items.push(r)}clearData(e){if(e){let t=this.items.findIndex(jj(e,!0));t>=0&&this.items.remove(t)}else this.items.clear()}get types(){let e=[];return this.files.length&&e.push(`Files`),this.items.forEach(t=>e.push(t.type)),Object.freeze(e),e}setDragImage(){}constructor(){Oj(this,`dropEffect`,`none`),Oj(this,`effectAllowed`,`uninitialized`),Oj(this,`items`,new Aj),Oj(this,`files`,Dj(e,[]))}}}function Nj(e,t=[]){let n=typeof e.DataTransfer>`u`?Mj(e):new e.DataTransfer;return Object.defineProperty(n,`files`,{get:()=>Dj(e,t)}),n}async function Pj(e,t){return t.kind===`file`?t.getAsFile():new e.Blob([await new Promise(e=>t.getAsString(e))],{type:t.type})}function Fj(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ij(e,...t){let n=Object.fromEntries(t.map(e=>[typeof e==`string`?`text/plain`:e.type,Promise.resolve(e)]));return typeof e.ClipboardItem<`u`?new e.ClipboardItem(n):new class{get types(){return Array.from(Object.keys(this.data))}async getType(t){let n=await this.data[t];if(!n)throw Error(`${t} is not one of the available MIME types on this item.`);return n instanceof e.Blob?n:new e.Blob([n],{type:t})}constructor(e){Fj(this,`data`,void 0),this.data=e}}(n)}var Lj=Symbol(`Manage ClipboardSub`);function Rj(e,t){return Object.assign(new class extends e.EventTarget{async read(){return Array.from(this.items)}async readText(){let t=``;for(let n of this.items){let r=n.types.includes(`text/plain`)?`text/plain`:n.types.find(e=>e.startsWith(`text/`));r&&(t+=await n.getType(r).then(t=>Ej(t,e.FileReader)))}return t}async write(e){this.items=e}async writeText(t){this.items=[Ij(e,t)]}constructor(...e){super(...e),Fj(this,`items`,[])}},{[Lj]:t})}function zj(e){return!!e?.[Lj]}function Bj(e){if(zj(e.navigator.clipboard))return e.navigator.clipboard[Lj];let t=Object.getOwnPropertyDescriptor(e.navigator,`clipboard`),n,r={resetClipboardStub:()=>{n=Rj(e,r)},detachClipboardStub:()=>{t?Object.defineProperty(e.navigator,`clipboard`,t):Object.defineProperty(e.navigator,`clipboard`,{value:void 0,configurable:!0})}};return n=Rj(e,r),Object.defineProperty(e.navigator,`clipboard`,{get:()=>n,configurable:!0}),n[Lj]}function Vj(e){zj(e.navigator.clipboard)&&e.navigator.clipboard[Lj].resetClipboardStub()}function Hj(e){zj(e.navigator.clipboard)&&e.navigator.clipboard[Lj].detachClipboardStub()}async function Uj(e){let t=e.defaultView,n=t?.navigator.clipboard,r=n&&await n.read();if(!r)throw Error(`The Clipboard API is unavailable.`);let i=Nj(t);for(let e of r)for(let n of e.types)i.setData(n,await e.getType(n).then(e=>Ej(e,t.FileReader)));return i}async function Wj(e,t){let n=Cj(e),r=n.navigator.clipboard,i=[];for(let e=0;e<t.items.length;e++){let r=t.items[e],a=await Pj(n,r);i.push(Ij(n,a))}if(!(r&&await r.write(i).then(()=>!0,()=>!1)))throw Error(`The Clipboard API is unavailable.`)}var Gj=globalThis;typeof Gj.afterEach==`function`&&Gj.afterEach(()=>{typeof globalThis.window<`u`&&Vj(globalThis.window)}),typeof Gj.afterAll==`function`&&Gj.afterAll(()=>{typeof globalThis.window<`u`&&Hj(globalThis.window)});var Kj=[`input:not([type=hidden]):not([disabled])`,`button:not([disabled])`,`select:not([disabled])`,`textarea:not([disabled])`,`[contenteditable=""]`,`[contenteditable="true"]`,`a[href]`,`[tabindex]:not([disabled])`].join(`, `);function qj(e){return e.matches(Kj)}function Jj(e){return new e.constructor(e.type,e)}function Yj(e){for(let n=e;n;n=n.parentElement)if(Z(n,[`button`,`input`,`select`,`textarea`,`optgroup`,`option`])){if(n.hasAttribute(`disabled`))return!0}else if(Z(n,`fieldset`)){var t;if(n.hasAttribute(`disabled`)&&!((t=n.querySelector(`:scope > legend`))!=null&&t.contains(e)))return!0}else if(n.tagName.includes(`-`)&&n.constructor.formAssociated&&n.hasAttribute(`disabled`))return!0;return!1}function Xj(e){let t=e.activeElement;return t?.shadowRoot?Xj(t.shadowRoot):Yj(t)?e.ownerDocument?e.ownerDocument.body:e.body:t}function Zj(e){return Xj(e)??e.body}function Qj(e,t){let n=e;do{if(t(n))return n;n=n.parentElement}while(n&&n!==e.ownerDocument.body)}function $j(e){return e.hasAttribute(`contenteditable`)&&(e.getAttribute(`contenteditable`)==`true`||e.getAttribute(`contenteditable`)==``)}function eM(e){let t=tM(e);return t&&(t.closest(`[contenteditable=""]`)||t.closest(`[contenteditable="true"]`))}function tM(e){return e.nodeType===1?e:e.parentElement}var nM=(function(e){return e.button=`button`,e.color=`color`,e.file=`file`,e.image=`image`,e.reset=`reset`,e.submit=`submit`,e.checkbox=`checkbox`,e.radio=`radio`,e})(nM||{});function rM(e){return Z(e,`button`)||Z(e,`input`)&&e.type in nM}function iM(e){return oM(e)&&!e.readOnly||$j(e)}var aM=(function(e){return e.text=`text`,e.date=`date`,e[`datetime-local`]=`datetime-local`,e.email=`email`,e.month=`month`,e.number=`number`,e.password=`password`,e.search=`search`,e.tel=`tel`,e.time=`time`,e.url=`url`,e.week=`week`,e})(aM||{});function oM(e){return Z(e,`textarea`)||Z(e,`input`)&&e.type in aM}function sM(e){return lM(e)&&oM(e)}function cM(e){return lM(e)&&rM(e)}function lM(e){return e.nodeType===1}function uM(e){let t=e.ownerDocument.getSelection();if(t?.focusNode&&sM(e)){let n=eM(t.focusNode);if(n){if(!t.isCollapsed){let e=n.firstChild?.nodeType===3?n.firstChild:n;t.setBaseAndExtent(e,0,e,0)}}else t.setBaseAndExtent(e,0,e,0)}}function dM(e,t){return PO().eventWrapper(e)}function fM(e){let t=Qj(e,qj),n=Xj(e.ownerDocument);(t??e.ownerDocument.body)!==n&&(dM(t?()=>t.focus():()=>n?.blur()),uM(t??e.ownerDocument.body))}function pM(e){!qj(e)||Xj(e.ownerDocument)!==e||dM(()=>e.blur())}var mM={};mM.click=(e,t,n)=>{let r=t.closest(`button,input,label,select,textarea`),i=r&&Z(r,`label`)&&r.control;if(i&&i!==t)return()=>{qj(i)&&(fM(i),n.dispatchEvent(i,Jj(e)))};if(Z(t,`input`,{type:`file`}))return()=>{pM(t),t.dispatchEvent(new(Cj(t)).Event(`fileDialog`)),fM(t)}};var hM=Symbol(`Displayed value in UI`),gM=Symbol(`Displayed selection in UI`),_M=Symbol(`Initial value to compare on blur`);function vM(e){return typeof e==`object`&&hM in e}function yM(e){return!!e&&typeof e==`object`&&gM in e}function bM(e,t){e[_M]===void 0&&(e[_M]=e.value),e[hM]=t,e.value=Object.assign(new String(t),{[hM]:!0})}function xM(e){return e[hM]===void 0?e.value:String(e[hM])}function SM(e){e[hM]=void 0}function CM(e){e[_M]=void 0}function wM(e){return e[_M]}function TM(e,t){e[gM]=t}function EM(e,{focusOffset:t,anchorOffset:n=t},r=`replace`){let i=xM(e).length,a=e=>Math.max(0,Math.min(i,e)),o=r===`replace`||e[gM]===void 0?a(n):e[gM].anchorOffset,s=a(t),c=Math.min(o,s),l=Math.max(o,s);if(e[gM]={anchorOffset:o,focusOffset:s},e.selectionStart===c&&e.selectionEnd===l)return;let u=Object.assign(new Number(c),{[gM]:!0});try{e.setSelectionRange(u,l)}catch{}}function DM(e){let t=e[gM]??{anchorOffset:e.selectionStart??0,focusOffset:e.selectionEnd??0};return{...t,startOffset:Math.min(t.anchorOffset,t.focusOffset),endOffset:Math.max(t.anchorOffset,t.focusOffset)}}function OM(e){return!!e[gM]}function kM(e){e[gM]=void 0}var AM=globalThis.parseInt;function jM(e){let t=e.replace(/\D/g,``);if(t.length<2)return e;let n=AM(t[0],10),r=AM(t[1],10);if(n>=3||n===2&&r>=4){let e;return e=n>=3?1:2,MM(t,e)}return e.length===2?e:MM(t,2)}function MM(e,t){let n=e.slice(0,t),r=Math.min(AM(n,10),23),i=AM(e.slice(t),10),a=Math.min(i,59);return`${r.toString().padStart(2,`0`)}:${a.toString().padStart(2,`0`)}`}function NM(e,t){let n=e.cloneNode();return n.value=t,n.value===t}var PM=(function(e){return e.email=`email`,e.password=`password`,e.search=`search`,e.telephone=`telephone`,e.text=`text`,e.url=`url`,e})(PM||{});function FM(e){let t=e.getAttribute(`maxlength`)??``;return/^\d+$/.test(t)&&Number(t)>=0?Number(t):void 0}function IM(e){return Z(e,`textarea`)||Z(e,`input`)&&e.type in PM}function LM(e,t,n,r){if(HM(e)&&t+n>=0&&t+n<=e.nodeValue.length)return{node:e,offset:t+n};let i=RM(e,t,n);if(i){if(HM(i))return{node:i,offset:n>0?Math.min(1,i.nodeValue.length):Math.max(i.nodeValue.length-1,0)};if(Z(i,`br`)){let e=RM(i,void 0,n);return e?HM(e)?{node:e,offset:n>0?0:e.nodeValue.length}:n<0&&Z(e,`br`)?{node:i.parentNode,offset:BM(i)}:{node:e.parentNode,offset:BM(e)+(n>0?0:1)}:n<0&&r===`deleteContentBackward`?{node:i.parentNode,offset:BM(i)}:void 0}else return{node:i.parentNode,offset:BM(i)+(n>0?1:0)}}}function RM(e,t,n){let r=Number(t)+(n<0?-1:0);return t!==void 0&&VM(e)&&r>=0&&r<e.children.length&&(e=e.children[r]),UM(e,n===1?`next`:`previous`,zM)}function zM(e){if(HM(e))return!0;if(VM(e)){if(Z(e,[`input`,`textarea`]))return e.type!==`hidden`;if(Z(e,`br`))return!0}return!1}function BM(e){let t=0;for(;e.previousSibling;)t++,e=e.previousSibling;return t}function VM(e){return e.nodeType===1}function HM(e){return e.nodeType===3}function UM(e,t,n){for(;;){let r=e[`${t}Sibling`];if(r){if(e=WM(r,t===`next`?`first`:`last`),n(e))return e}else if(e.parentNode&&(!VM(e.parentNode)||!$j(e.parentNode)&&e.parentNode!==e.ownerDocument?.body))e=e.parentNode;else break}}function WM(e,t){for(;e.hasChildNodes();)e=e[`${t}Child`];return e}var GM=Symbol(`Track programmatic changes for React workaround`);function KM(e){return Object.getOwnPropertyNames(e).some(e=>e.startsWith(`__react`))&&Cj(e).REACT_VERSION===17}function qM(e){KM(e)&&(e[GM]={previousValue:String(e.value),tracked:[]})}function JM(e,t){var n,r;(r=e[GM])==null||(n=r.tracked)==null||n.push(t),e[GM]||(SM(e),EM(e,{focusOffset:t.length}))}function YM(e,t){var n;let r=e[GM];if(e[GM]=void 0,!(!(r==null||(n=r.tracked)==null)&&n.length))return;let i=r.tracked.length===2&&r.tracked[0]===r.previousValue&&r.tracked[1]===e.value;i||SM(e),OM(e)&&EM(e,{focusOffset:i?t:e.value.length})}function XM(e){let t=ZM(e);if(t&&sM(t))return{type:`input`,selection:DM(t)};let n=t?.ownerDocument.getSelection();return{type:eM(e)&&n?.anchorNode&&eM(n.anchorNode)?`contenteditable`:`default`,selection:n}}function ZM(e){return e.nodeType===1?e:e.parentElement}function QM(e){let t=XM(e);if(t.type===`input`)return t.selection;if(t.type===`contenteditable`)return t.selection?.getRangeAt(0)}function $M({focusNode:e,focusOffset:t,anchorNode:n=e,anchorOffset:r=t}){var i,a;if(XM(e).type===`input`)return EM(e,{anchorOffset:r,focusOffset:t});(a=n.ownerDocument)==null||(i=a.getSelection())==null||i.setBaseAndExtent(n,r,e,t)}function eN(e){return Z(e,`input`)&&[`date`,`time`].includes(e.type)}function tN(e,t,n,r=`insertText`){let i=QM(t);i&&(!eN(t)&&!e.dispatchUIEvent(t,`beforeinput`,{inputType:r,data:n})||(`startContainer`in i?nN(e,t,i,n,r):rN(e,t,i,n,r)))}function nN(e,t,n,r,i){let a=!1;if(!n.collapsed)a=!0,n.deleteContents();else if([`deleteContentBackward`,`deleteContentForward`].includes(i)){let e=LM(n.startContainer,n.startOffset,i===`deleteContentBackward`?-1:1,i);if(e){a=!0;let t=n.cloneRange();t.comparePoint(e.node,e.offset)<0?t.setStart(e.node,e.offset):t.setEnd(e.node,e.offset),t.deleteContents()}}if(r)if(n.endContainer.nodeType===3){let e=n.endOffset;n.endContainer.insertData(e,r),n.setStart(n.endContainer,e+r.length),n.setEnd(n.endContainer,e+r.length)}else{let e=t.ownerDocument.createTextNode(r);n.insertNode(e),n.setStart(e,r.length),n.setEnd(e,r.length)}(a||r)&&e.dispatchUIEvent(t,`input`,{inputType:i})}function rN(e,t,n,r,i){let a=r;if(IM(t)){let e=FM(t);if(e!==void 0&&r.length>0){let n=e-t.value.length;if(n>0)a=r.substring(0,n);else return}}let{newValue:o,newOffset:s,oldValue:c}=iN(a,t,n,i);o===c&&s===n.startOffset&&s===n.endOffset||Z(t,`input`,{type:`number`})&&!oN(o)||(bM(t,o),$M({focusNode:t,anchorOffset:s,focusOffset:s}),eN(t)?NM(t,o)&&(aN(e,t,s,{}),e.dispatchUIEvent(t,`change`),CM(t)):aN(e,t,s,{data:r,inputType:i}))}function iN(e,t,{startOffset:n,endOffset:r},i){let a=xM(t),o=Math.max(0,n===r&&i===`deleteContentBackward`?n-1:n),s=a.substring(0,o),c=Math.min(a.length,n===r&&i===`deleteContentForward`?n+1:r),l=`${s}${e}${a.substring(c,a.length)}`,u=o+e.length;if(Z(t,`input`,{type:`time`})){let e=jM(l);e!==``&&NM(t,e)&&(l=e,u=e.length)}return{oldValue:a,newValue:l,newOffset:u}}function aN(e,t,n,r){e.dispatchUIEvent(t,`input`,r),YM(t,n)}function oN(e){let t=e.split(`e`,2);return!(/[^\d.\-e]/.test(e)||Number(e.match(/-/g)?.length)>2||Number(e.match(/\./g)?.length)>1||t[1]&&!/^-?\d*$/.test(t[1]))}mM.cut=(e,t,n)=>()=>{iM(t)&&tN(n,t,``,`deleteByCut`)};function sN(e){return e?$j(e)?e.textContent:xM(e):null}function cN(e){let t=Cj(e);for(let n=e;n?.ownerDocument;n=n.parentElement){let{display:e,visibility:r}=t.getComputedStyle(n);if(e===`none`||r===`hidden`)return!1}return!0}function lN(e,t){let n=e.ownerDocument,r=n.querySelectorAll(Kj),i=Array.from(r).filter(t=>t===e||!(Number(t.getAttribute(`tabindex`))<0||Yj(t)));Number(e.getAttribute(`tabindex`))>=0&&i.sort((e,t)=>{let n=Number(e.getAttribute(`tabindex`)),r=Number(t.getAttribute(`tabindex`));return n===r?0:n===0?1:r===0?-1:n-r});let a={},o=[n.body],s=Z(e,`input`,{type:`radio`})?e.name:void 0;i.forEach(t=>{let n=t;if(Z(n,`input`,{type:`radio`})&&n.name){if(n===e){o.push(n);return}else if(n.name===s)return;if(n.checked){o=o.filter(e=>!Z(e,`input`,{type:`radio`,name:n.name})),o.push(n),a[n.name]=n;return}if(typeof a[n.name]<`u`)return}o.push(n)});for(let r=o.findIndex(t=>t===e);;)if(r+=t?-1:1,r===o.length?r=0:r===-1&&(r=o.length-1),o[r]===e||o[r]===n.body||cN(o[r]))return o[r]}function uN(e,t){if(sM(e)){let n=DM(e);$M({focusNode:e,focusOffset:n.startOffset===n.endOffset?n.focusOffset+t:t<0?n.startOffset:n.endOffset})}else{let n=e.ownerDocument.getSelection();if(!n?.focusNode)return;if(n.isCollapsed){let e=LM(n.focusNode,n.focusOffset,t);e&&$M({focusNode:e.node,focusOffset:e.offset})}else n[t<0?`collapseToStart`:`collapseToEnd`]()}}function dN(e){if(sM(e))return $M({focusNode:e,anchorOffset:0,focusOffset:xM(e).length});let t=eM(e)??e.ownerDocument.body;$M({focusNode:t,anchorOffset:0,focusOffset:t.childNodes.length})}function fN(e){if(sM(e))return DM(e).startOffset===0&&DM(e).endOffset===xM(e).length;let t=eM(e)??e.ownerDocument.body,n=e.ownerDocument.getSelection();return n?.anchorNode===t&&n.focusNode===t&&n.anchorOffset===0&&n.focusOffset===t.childNodes.length}function pN(e,t,n){if(sM(e))return $M({focusNode:e,anchorOffset:t,focusOffset:n});if($j(e)&&e.firstChild?.nodeType===3)return $M({focusNode:e.firstChild,anchorOffset:t,focusOffset:n});throw Error(`Not implemented. The result of this interaction is unreliable.`)}function mN(e,t,n){let r=Cj(t),i=Array.from(t.ownerDocument.querySelectorAll(t.name?`input[type="radio"][name="${r.CSS.escape(t.name)}"]`:`input[type="radio"][name=""], input[type="radio"]:not([name])`));for(let r=i.findIndex(e=>e===t)+n;;r+=n){if(i[r]||(r=n>0?0:i.length-1),i[r]===t)return;if(!Yj(i[r])){fM(i[r]),e.dispatchUIEvent(i[r],`click`);return}}}mM.keydown=(e,t,n)=>hN[e.key]?.call(hN,e,t,n)??gN(e,t,n);var hN={ArrowDown:(e,t,n)=>{if(Z(t,`input`,{type:`radio`}))return()=>mN(n,t,1)},ArrowLeft:(e,t,n)=>Z(t,`input`,{type:`radio`})?()=>mN(n,t,-1):()=>uN(t,-1),ArrowRight:(e,t,n)=>Z(t,`input`,{type:`radio`})?()=>mN(n,t,1):()=>uN(t,1),ArrowUp:(e,t,n)=>{if(Z(t,`input`,{type:`radio`}))return()=>mN(n,t,-1)},Backspace:(e,t,n)=>{if(iM(t))return()=>{tN(n,t,``,`deleteContentBackward`)}},Delete:(e,t,n)=>{if(iM(t))return()=>{tN(n,t,``,`deleteContentForward`)}},End:(e,t)=>{if(Z(t,[`input`,`textarea`])||$j(t))return()=>{let e=sN(t)?.length??0;pN(t,e,e)}},Home:(e,t)=>{if(Z(t,[`input`,`textarea`])||$j(t))return()=>{pN(t,0,0)}},PageDown:(e,t)=>{if(Z(t,[`input`]))return()=>{let e=xM(t).length;pN(t,e,e)}},PageUp:(e,t)=>{if(Z(t,[`input`]))return()=>{pN(t,0,0)}},Tab:(e,t,n)=>()=>{let e=lN(t,n.system.keyboard.modifiers.Shift);fM(e),sM(e)&&EM(e,{anchorOffset:0,focusOffset:e.value.length})}},gN=(e,t,n)=>{if(e.code===`KeyA`&&n.system.keyboard.modifiers.Control)return()=>dN(t)};mM.keypress=(e,t,n)=>{if(e.key===`Enter`){if(Z(t,`button`)||Z(t,`input`)&&_N.includes(t.type)||Z(t,`a`)&&t.href)return()=>{n.dispatchUIEvent(t,`click`)};if(Z(t,`input`)){let e=t.form,r=e?.querySelector(`input[type="submit"], button:not([type]), button[type="submit"]`);return r?()=>n.dispatchUIEvent(r,`click`):e&&vN.includes(t.type)&&e.querySelectorAll(`input`).length===1?()=>n.dispatchUIEvent(e,`submit`):void 0}}if(iM(t)){let r=e.key===`Enter`?$j(t)&&!n.system.keyboard.modifiers.Shift?`insertParagraph`:`insertLineBreak`:`insertText`,i=e.key===`Enter`?`
344
+ `:e.key;return()=>tN(n,t,i,r)}};var _N=[`button`,`color`,`file`,`image`,`reset`,`submit`],vN=[`email`,`month`,`password`,`search`,`tel`,`text`,`url`,`week`];mM.keyup=(e,t,n)=>yN[e.key]?.call(yN,e,t,n);var yN={" ":(e,t,n)=>{if(rM(t))return()=>n.dispatchUIEvent(t,`click`)}};mM.paste=(e,t,n)=>{if(iM(t))return()=>{let r=e.clipboardData?.getData(`text`);r&&tN(n,t,r,`insertFromPaste`)}};var bN={auxclick:{EventType:`PointerEvent`,defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},beforeinput:{EventType:`InputEvent`,defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},blur:{EventType:`FocusEvent`,defaultInit:{bubbles:!1,cancelable:!1,composed:!0}},click:{EventType:`PointerEvent`,defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},contextmenu:{EventType:`PointerEvent`,defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},copy:{EventType:`ClipboardEvent`,defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},change:{EventType:`Event`,defaultInit:{bubbles:!0,cancelable:!1}},cut:{EventType:`ClipboardEvent`,defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},dblclick:{EventType:`MouseEvent`,defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},focus:{EventType:`FocusEvent`,defaultInit:{bubbles:!1,cancelable:!1,composed:!0}},focusin:{EventType:`FocusEvent`,defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},focusout:{EventType:`FocusEvent`,defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},keydown:{EventType:`KeyboardEvent`,defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},keypress:{EventType:`KeyboardEvent`,defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},keyup:{EventType:`KeyboardEvent`,defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},paste:{EventType:`ClipboardEvent`,defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},input:{EventType:`InputEvent`,defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},mousedown:{EventType:`MouseEvent`,defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},mouseenter:{EventType:`MouseEvent`,defaultInit:{bubbles:!1,cancelable:!1,composed:!0}},mouseleave:{EventType:`MouseEvent`,defaultInit:{bubbles:!1,cancelable:!1,composed:!0}},mousemove:{EventType:`MouseEvent`,defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},mouseout:{EventType:`MouseEvent`,defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},mouseover:{EventType:`MouseEvent`,defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},mouseup:{EventType:`MouseEvent`,defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointerover:{EventType:`PointerEvent`,defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointerenter:{EventType:`PointerEvent`,defaultInit:{bubbles:!1,cancelable:!1}},pointerdown:{EventType:`PointerEvent`,defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointermove:{EventType:`PointerEvent`,defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointerup:{EventType:`PointerEvent`,defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointercancel:{EventType:`PointerEvent`,defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},pointerout:{EventType:`PointerEvent`,defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointerleave:{EventType:`PointerEvent`,defaultInit:{bubbles:!1,cancelable:!1}},submit:{EventType:`Event`,defaultInit:{bubbles:!0,cancelable:!0}}};function xN(e){return bN[e].EventType}var SN=[`MouseEvent`,`PointerEvent`];function CN(e){return SN.includes(xN(e))}function wN(e){return xN(e)===`KeyboardEvent`}var TN={ClipboardEvent:[AN],Event:[],FocusEvent:[NN,jN],InputEvent:[NN,MN],MouseEvent:[NN,PN,IN],PointerEvent:[NN,PN,IN,LN],KeyboardEvent:[NN,PN,FN]};function EN(e,t,n){let r=Cj(t),{EventType:i,defaultInit:a}=bN[e],o=new(DN(r))[i](e,a);return TN[i].forEach(e=>e(o,n??{})),o}function DN(e){let t=e.Event??class{},n=e.AnimationEvent??class extends t{},r=e.ClipboardEvent??class extends t{},i=e.PopStateEvent??class extends t{},a=e.ProgressEvent??class extends t{},o=e.TransitionEvent??class extends t{},s=e.UIEvent??class extends t{},c=e.CompositionEvent??class extends s{},l=e.FocusEvent??class extends s{},u=e.InputEvent??class extends s{},d=e.KeyboardEvent??class extends s{},f=e.MouseEvent??class extends s{};return{Event:t,AnimationEvent:n,ClipboardEvent:r,PopStateEvent:i,ProgressEvent:a,TransitionEvent:o,UIEvent:s,CompositionEvent:c,FocusEvent:l,InputEvent:u,KeyboardEvent:d,MouseEvent:f,DragEvent:e.DragEvent??class extends f{},PointerEvent:e.PointerEvent??class extends f{},TouchEvent:e.TouchEvent??class extends s{}}}function ON(e,t){for(let[n,r]of Object.entries(t))Object.defineProperty(e,n,{get:()=>r??null})}function kN(e){return Number(e??0)}function AN(e,{clipboardData:t}){ON(e,{clipboardData:t})}function jN(e,{relatedTarget:t}){ON(e,{relatedTarget:t})}function MN(e,{data:t,inputType:n,isComposing:r}){ON(e,{data:t,isComposing:!!r,inputType:String(n)})}function NN(e,{view:t,detail:n}){ON(e,{view:t,detail:kN(n??0)})}function PN(e,{altKey:t,ctrlKey:n,metaKey:r,shiftKey:i,modifierAltGraph:a,modifierCapsLock:o,modifierFn:s,modifierFnLock:c,modifierNumLock:l,modifierScrollLock:u,modifierSymbol:d,modifierSymbolLock:f}){ON(e,{altKey:!!t,ctrlKey:!!n,metaKey:!!r,shiftKey:!!i,getModifierState(e){return!!{Alt:t,AltGraph:a,CapsLock:o,Control:n,Fn:s,FnLock:c,Meta:r,NumLock:l,ScrollLock:u,Shift:i,Symbol:d,SymbolLock:f}[e]}})}function FN(e,{key:t,code:n,location:r,repeat:i,isComposing:a,charCode:o}){ON(e,{key:String(t),code:String(n),location:kN(r),repeat:!!i,isComposing:!!a,charCode:o})}function IN(e,{x:t,y:n,screenX:r,screenY:i,clientX:a=t,clientY:o=n,button:s,buttons:c,relatedTarget:l,offsetX:u,offsetY:d,pageX:f,pageY:p}){ON(e,{screenX:kN(r),screenY:kN(i),clientX:kN(a),x:kN(a),clientY:kN(o),y:kN(o),button:kN(s),buttons:kN(c),relatedTarget:l,offsetX:kN(u),offsetY:kN(d),pageX:kN(f),pageY:kN(p)})}function LN(e,{pointerId:t,width:n,height:r,pressure:i,tangentialPressure:a,tiltX:o,tiltY:s,twist:c,pointerType:l,isPrimary:u}){ON(e,{pointerId:kN(t),width:kN(n??1),height:kN(r??1),pressure:kN(i),tangentialPressure:kN(a),tiltX:kN(o),tiltY:kN(s),twist:kN(c),pointerType:String(l),isPrimary:!!u})}function RN(e,t,n,r=!1){(CN(t)||wN(t))&&(n={...n,...this.system.getUIEventModifiers()});let i=EN(t,e,n);return zN.call(this,e,i,r)}function zN(e,t,n=!1){let r=t.type,i=n?()=>{}:mM[r]?.call(mM,t,e,this);if(i){t.preventDefault();let n=!1;return Object.defineProperty(t,`defaultPrevented`,{get:()=>n}),Object.defineProperty(t,`preventDefault`,{value:()=>{n=t.cancelable}}),dM(()=>e.dispatchEvent(t)),n||i(),!n}return dM(()=>e.dispatchEvent(t))}function BN(e,t,n){let r=EN(t,e,n);dM(()=>e.dispatchEvent(r))}var VN=Symbol(`patched focus/blur methods`);function HN(e){if(e.prototype[VN])return;let{focus:t,blur:n}=e.prototype;Object.defineProperties(e.prototype,{focus:{configurable:!0,get:()=>i},blur:{configurable:!0,get:()=>a},[VN]:{configurable:!0,get:()=>({focus:t,blur:n})}});let r;function i(e){if(this.ownerDocument.visibilityState!==`hidden`)return t.call(this,e);let i=UN(this.ownerDocument);if(i===this)return;let a=Symbol(`focus call`);r=a,i&&(n.call(i),BN(i,`blur`,{relatedTarget:this}),BN(i,`focusout`,{relatedTarget:r===a?this:null})),r===a&&(t.call(this,e),BN(this,`focus`,{relatedTarget:i})),r===a&&BN(this,`focusin`,{relatedTarget:i})}function a(){if(this.ownerDocument.visibilityState!==`hidden`)return n.call(this);let e=UN(this.ownerDocument);e===this&&(r=Symbol(`blur call`),n.call(this),BN(e,`blur`,{relatedTarget:null}),BN(e,`focusout`,{relatedTarget:null}))}}function UN(e){let t=Xj(e);return t?.tagName===`BODY`?null:t}var WN=Symbol(`Interceptor for programmatical calls`);function GN(e,t,n){let r=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),i=Object.getOwnPropertyDescriptor(e,t),a=r?.set?`set`:`value`;if(typeof r?.[a]!=`function`||r[a][WN])throw Error(`Element ${e.tagName} does not implement "${String(t)}".`);function o(...e){let{applyNative:t=!1,realArgs:o,then:s}=n.call(this,...e),c=(!t&&i||r)[a];a===`set`?c.call(this,o):c.call(this,...o),s?.()}o[WN]=WN,Object.defineProperty(e,t,{...i??r,[a]:o})}function KN(e){GN(e,`value`,function(e){let t=vM(e);return t&&qM(this),{applyNative:!!t,realArgs:qN(this,e),then:t?void 0:()=>JM(this,String(e))}})}function qN(e,t){return Z(e,`input`,{type:`number`})&&String(t)!==``&&!Number.isNaN(Number(t))?String(Number(t)):String(t)}function JN(e){GN(e,`setSelectionRange`,function(t,...n){let r=yM(t);return{applyNative:!!r,realArgs:[Number(t),...n],then:()=>r?void 0:kM(e)}}),GN(e,`selectionStart`,function(t){return{realArgs:t,then:()=>kM(e)}}),GN(e,`selectionEnd`,function(t){return{realArgs:t,then:()=>kM(e)}}),GN(e,`select`,function(){return{realArgs:[],then:()=>TM(e,{anchorOffset:0,focusOffset:xM(e).length})}})}function YN(e){GN(e,`setRangeText`,function(...t){return{realArgs:t,then:()=>{SM(e),kM(e)}}})}var XN=Symbol(`Node prepared with document state workarounds`);function ZN(e){e[XN]||(e.addEventListener(`focus`,e=>{let t=e.target;QN(t)},{capture:!0,passive:!0}),e.activeElement&&QN(e.activeElement),e.addEventListener(`blur`,e=>{let t=e.target,n=wM(t);n!==void 0&&(t.value!==n&&BN(t,`change`),CM(t))},{capture:!0,passive:!0}),e[XN]=XN)}function QN(e){e[XN]||(Z(e,[`input`,`textarea`])&&(KN(e),JN(e),YN(e)),e[XN]=XN)}function $N(e){return eP(e)?e:e.ownerDocument}function eP(e){return e.nodeType===9}var tP=(function(e){return e[e.Trigger=2]=`Trigger`,e[e.Call=1]=`Call`,e})({});function nP(e,t){e.levelRefs[t]={}}function rP(e,t){return e.levelRefs[t]}function iP(e){let t=e.delay;if(typeof t==`number`)return Promise.all([new Promise(e=>globalThis.setTimeout(()=>e(),t)),e.advanceTimers(t)])}var aP=(function(e){return e[e.EachTrigger=4]=`EachTrigger`,e[e.EachApiCall=2]=`EachApiCall`,e[e.EachTarget=1]=`EachTarget`,e[e.Never=0]=`Never`,e})({});function oP(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var sP=(function(e){return e[e.STANDARD=0]=`STANDARD`,e[e.LEFT=1]=`LEFT`,e[e.RIGHT=2]=`RIGHT`,e[e.NUMPAD=3]=`NUMPAD`,e})({}),cP=[`Alt`,`AltGraph`,`Control`,`Fn`,`Meta`,`Shift`,`Symbol`];function lP(e){return cP.includes(e)}var uP=[`CapsLock`,`FnLock`,`NumLock`,`ScrollLock`,`SymbolLock`];function dP(e){return uP.includes(e)}var fP=class{isKeyPressed(e){return this.pressed.has(String(e.code))}getPressedKeys(){return this.pressed.values().map(e=>e.keyDef)}async keydown(e,t){let n=String(t.key),r=String(t.code),i=Zj(e.config.document);this.setKeydownTarget(i),this.pressed.add(r,t),lP(n)&&(this.modifiers[n]=!0);let a=e.dispatchUIEvent(i,`keydown`,{key:n,code:r});dP(n)&&!this.modifiers[n]&&(this.modifiers[n]=!0,this.modifierLockStart[n]=!0),a&&this.pressed.setUnprevented(r),a&&this.hasKeyPress(n)&&e.dispatchUIEvent(Zj(e.config.document),`keypress`,{key:n,code:r,charCode:t.key===`Enter`?13:String(t.key).charCodeAt(0)})}async keyup(e,t){let n=String(t.key),r=String(t.code),i=this.pressed.isUnprevented(r);this.pressed.delete(r),lP(n)&&!this.pressed.values().find(e=>e.keyDef.key===n)&&(this.modifiers[n]=!1),e.dispatchUIEvent(Zj(e.config.document),`keyup`,{key:n,code:r},!i),dP(n)&&this.modifiers[n]&&(this.modifierLockStart[n]?this.modifierLockStart[n]=!1:this.modifiers[n]=!1)}setKeydownTarget(e){e!==this.lastKeydownTarget&&(this.carryChar=``),this.lastKeydownTarget=e}hasKeyPress(e){return(e.length===1||e===`Enter`)&&!this.modifiers.Control&&!this.modifiers.Alt}constructor(e){oP(this,`system`,void 0),oP(this,`modifiers`,{Alt:!1,AltGraph:!1,CapsLock:!1,Control:!1,Fn:!1,FnLock:!1,Meta:!1,NumLock:!1,ScrollLock:!1,Shift:!1,Symbol:!1,SymbolLock:!1}),oP(this,`pressed`,new class{add(e,t){var n,r;(n=this.registry)[r=e]??(n[r]={keyDef:t,unpreventedDefault:!1})}has(e){return!!this.registry[e]}setUnprevented(e){let t=this.registry[e];t&&(t.unpreventedDefault=!0)}isUnprevented(e){var t;return!!((t=this.registry[e])!=null&&t.unpreventedDefault)}delete(e){delete this.registry[e]}values(){return Object.values(this.registry)}constructor(){oP(this,`registry`,{})}}),oP(this,`carryChar`,``),oP(this,`lastKeydownTarget`,void 0),oP(this,`modifierLockStart`,{}),this.system=e}},pP=[...`0123456789`.split(``).map(e=>({code:`Digit${e}`,key:e})),...`)!@#$%^&*(`.split(``).map((e,t)=>({code:`Digit${t}`,key:e,shiftKey:!0})),...`abcdefghijklmnopqrstuvwxyz`.split(``).map(e=>({code:`Key${e.toUpperCase()}`,key:e})),...`ABCDEFGHIJKLMNOPQRSTUVWXYZ`.split(``).map(e=>({code:`Key${e}`,key:e,shiftKey:!0})),{code:`BracketLeft`,key:`[`},{code:`BracketLeft`,key:`{`,shiftKey:!0},{code:`BracketRight`,key:`]`},{code:`BracketRight`,key:`}`,shiftKey:!0},{code:`Space`,key:` `},{code:`AltLeft`,key:`Alt`,location:sP.LEFT},{code:`AltRight`,key:`Alt`,location:sP.RIGHT},{code:`ShiftLeft`,key:`Shift`,location:sP.LEFT},{code:`ShiftRight`,key:`Shift`,location:sP.RIGHT},{code:`ControlLeft`,key:`Control`,location:sP.LEFT},{code:`ControlRight`,key:`Control`,location:sP.RIGHT},{code:`MetaLeft`,key:`Meta`,location:sP.LEFT},{code:`MetaRight`,key:`Meta`,location:sP.RIGHT},{code:`OSLeft`,key:`OS`,location:sP.LEFT},{code:`OSRight`,key:`OS`,location:sP.RIGHT},{code:`ContextMenu`,key:`ContextMenu`},{code:`Tab`,key:`Tab`},{code:`CapsLock`,key:`CapsLock`},{code:`Backspace`,key:`Backspace`},{code:`Enter`,key:`Enter`},{code:`Escape`,key:`Escape`},{code:`ArrowUp`,key:`ArrowUp`},{code:`ArrowDown`,key:`ArrowDown`},{code:`ArrowLeft`,key:`ArrowLeft`},{code:`ArrowRight`,key:`ArrowRight`},{code:`Home`,key:`Home`},{code:`End`,key:`End`},{code:`Delete`,key:`Delete`},{code:`PageUp`,key:`PageUp`},{code:`PageDown`,key:`PageDown`},{code:`Fn`,key:`Fn`},{code:`Symbol`,key:`Symbol`},{code:`AltRight`,key:`AltGraph`}],mP=[{name:`MouseLeft`,pointerType:`mouse`,button:`primary`},{name:`MouseRight`,pointerType:`mouse`,button:`secondary`},{name:`MouseMiddle`,pointerType:`mouse`,button:`auxiliary`},{name:`TouchA`,pointerType:`touch`},{name:`TouchB`,pointerType:`touch`},{name:`TouchC`,pointerType:`touch`}];function hP(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var gP=class{getButtons(){let e=0;for(let t of Object.keys(this.pressed))e|=2**Number(t);return e}down(e){let t=vP(e.button);if(t in this.pressed){this.pressed[t].push(e);return}return this.pressed[t]=[e],t}up(e){let t=vP(e.button);if(t in this.pressed&&(this.pressed[t]=this.pressed[t].filter(t=>t.name!==e.name),this.pressed[t].length===0))return delete this.pressed[t],t}constructor(){hP(this,`pressed`,{})}},_P={primary:0,secondary:1,auxiliary:2,back:3,X1:3,forward:4,X2:4};function vP(e=0){return e in _P?_P[e]:Number(e)}var yP={1:2,2:1};function bP(e){return e=vP(e),e in yP?yP[e]:e}function xP(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var SP=class{get countPressed(){return this.pressedKeys.size}isPressed(e){return this.pressedKeys.has(e.name)}addPressed(e){return this.pressedKeys.add(e.name)}removePressed(e){return this.pressedKeys.delete(e.name)}constructor(){xP(this,`pressedKeys`,new Set)}};function CP(e,t){let n=[];for(let t=e;t;t=t.parentElement)n.push(t);let r=[];for(let e=t;e;e=e.parentElement)r.push(e);let i=0;for(;!(i>=n.length||i>=r.length||n[n.length-1-i]!==r[r.length-1-i]);i++);return[n.slice(0,n.length-i),r.slice(0,r.length-i),r.slice(r.length-i)]}function wP({target:e,node:t,offset:n}){return sM(e)?{node:e,offset:n??xM(e).length}:t?{node:t,offset:n??(t.nodeType===3?t.nodeValue.length:t.childNodes.length)}:TP(e,n)}function TP(e,t,n=!0){let r=t===void 0?e.childNodes.length-1:0,i=t===void 0?-1:1;for(;t===void 0?r>=(n?Math.max(e.childNodes.length-1,0):0):r<=e.childNodes.length;){if(t&&r===e.childNodes.length)throw Error(`The given offset is out of bounds.`);let n=e.childNodes.item(r),a=String(n.textContent);if(a.length)if(t!==void 0&&a.length<t)t-=a.length;else{if(n.nodeType===1)return TP(n,t,!1);if(n.nodeType===3)return{node:n,offset:t??n.nodeValue.length}}r+=i}return{node:e,offset:e.childNodes.length}}function EP({document:e,target:t,clickCount:n,node:r,offset:i}){if(cM(t))return;let a=sM(t),o=String(a?xM(t):t.textContent),[s,c]=r?[i,i]:DP(o,i,n);if(a)return EM(t,{anchorOffset:s??o.length,focusOffset:c??o.length}),{node:t,start:s??0,end:c??o.length};{let{node:n,offset:i}=wP({target:t,node:r,offset:s}),{node:a,offset:o}=wP({target:t,node:r,offset:c}),l=t.ownerDocument.createRange();try{l.setStart(n,i),l.setEnd(a,o)}catch{throw Error(`The given offset is out of bounds.`)}let u=e.getSelection();return u?.removeAllRanges(),u?.addRange(l.cloneRange()),l}}function DP(e,t,n){if(n%3==1||e.length===0)return[t,t];let r=t??e.length;return n%3==2?[r-e.substr(0,t).match(/(\w+|\s+|\W)?$/)[0].length,t===void 0?t:t+e.substr(t).match(/^(\w+|\s+|\W)?/)[0].length]:[r-e.substr(0,t).match(/[^\r\n]*$/)[0].length,t===void 0?t:t+e.substr(t).match(/^[^\r\n]*/)[0].length]}function OP(e,{document:t,target:n,node:r,offset:i}){let a=wP({target:n,node:r,offset:i});if(`node`in e){if(a.node===e.node){let t=a.offset<e.start?e.end:e.start,n=a.offset>e.end||a.offset<e.start?a.offset:e.end;EM(e.node,{anchorOffset:t,focusOffset:n})}}else{let n=e.cloneRange(),r=n.comparePoint(a.node,a.offset);r<0?n.setStart(a.node,a.offset):r>0&&n.setEnd(a.node,a.offset);let i=t.getSelection();i?.removeAllRanges(),i?.addRange(n.cloneRange())}}function kP(e,t){return e.target!==t.target||e.coords?.x!==t.coords?.x||e.coords?.y!==t.coords?.y||e.coords?.clientX!==t.coords?.clientX||e.coords?.clientY!==t.coords?.clientY||e.coords?.offsetX!==t.coords?.offsetX||e.coords?.offsetY!==t.coords?.offsetY||e.coords?.pageX!==t.coords?.pageX||e.coords?.pageY!==t.coords?.pageY||e.coords?.screenX!==t.coords?.screenX||e.coords?.screenY!==t.coords?.screenY||e.caret?.node!==t.caret?.node||e.caret?.offset!==t.caret?.offset}function AP(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var jP=class{move(e,t,n){let r=this.position,i=this.getTarget(e);if(this.position=t,!kP(r,t))return;let a=this.getTarget(e),o=this.getEventInit(`mousemove`),[s,c]=CP(i,a);return{leave:()=>{i!==a&&(e.dispatchUIEvent(i,`mouseout`,o),s.forEach(t=>e.dispatchUIEvent(t,`mouseleave`,o)))},enter:()=>{i!==a&&(e.dispatchUIEvent(a,`mouseover`,o),c.forEach(t=>e.dispatchUIEvent(t,`mouseenter`,o)))},move:()=>{n||(e.dispatchUIEvent(a,`mousemove`,o),this.modifySelecting(e))}}}down(e,t,n){let r=this.buttons.down(t);if(r===void 0)return;let i=this.getTarget(e);this.buttonDownTarget[r]=i;let a=this.getEventInit(`mousedown`,t.button),o=Yj(i);!n&&(o||e.dispatchUIEvent(i,`mousedown`,a))&&(this.startSelecting(e,a.detail),fM(i)),!o&&bP(t.button)===2&&e.dispatchUIEvent(i,`contextmenu`,this.getEventInit(`contextmenu`,t.button))}up(e,t,n){let r=this.buttons.up(t);if(r===void 0)return;let i=this.getTarget(e);if(!Yj(i)){if(!n){let n=this.getEventInit(`mouseup`,t.button);e.dispatchUIEvent(i,`mouseup`,n),this.endSelecting()}let a=CP(this.buttonDownTarget[r],i)[2][0];if(a){let n=this.getEventInit(`click`,t.button);n.detail&&(e.dispatchUIEvent(a,n.button===0?`click`:`auxclick`,n),n.button===0&&n.detail===2&&e.dispatchUIEvent(a,`dblclick`,{...this.getEventInit(`dblclick`,t.button),detail:n.detail}))}}}resetClickCount(){this.clickCount.reset()}getEventInit(e,t){let n={...this.position.coords};return n.button=bP(t),n.buttons=this.buttons.getButtons(),e===`mousedown`?n.detail=this.clickCount.getOnDown(n.button):e===`mouseup`?n.detail=this.clickCount.getOnUp(n.button):(e===`click`||e===`auxclick`)&&(n.detail=this.clickCount.incOnClick(n.button)),n}getTarget(e){return this.position.target??e.config.document.body}startSelecting(e,t){this.selecting=EP({document:e.config.document,target:this.getTarget(e),node:this.position.caret?.node,offset:this.position.caret?.offset,clickCount:t})}modifySelecting(e){this.selecting&&OP(this.selecting,{document:e.config.document,target:this.getTarget(e),node:this.position.caret?.node,offset:this.position.caret?.offset})}endSelecting(){this.selecting=void 0}constructor(){AP(this,`position`,{}),AP(this,`buttons`,new gP),AP(this,`selecting`,void 0),AP(this,`buttonDownTarget`,{}),AP(this,`clickCount`,new class{incOnClick(e){let t=this.down[e]===void 0?void 0:Number(this.down[e])+1;return this.count=this.count[e]===void 0?{}:{[e]:Number(this.count[e])+1},t}getOnDown(e){return this.down={[e]:this.count[e]??0},this.count={[e]:this.count[e]??0},Number(this.count[e])+1}getOnUp(e){return this.down[e]===void 0?void 0:Number(this.down[e])+1}reset(){this.count={}}constructor(){AP(this,`down`,{}),AP(this,`count`,{})}})}};function MP(e,t){return FP(e,t)?.pointerEvents!==`none`}function NP(e){let t=Cj(e);for(let n=e,r=[];n?.ownerDocument;n=n.parentElement){r.push(n);let e=t.getComputedStyle(n).pointerEvents;if(e&&![`inherit`,`unset`].includes(e))return{pointerEvents:e,tree:r}}}var PP=Symbol(`Last check for pointer-events`);function FP(e,t){let n=t[PP];if(!(e.config.pointerEventsCheck!==aP.Never&&(!n||zP(e.config.pointerEventsCheck,aP.EachApiCall)&&n[tP.Call]!==rP(e,tP.Call)||zP(e.config.pointerEventsCheck,aP.EachTrigger)&&n[tP.Trigger]!==rP(e,tP.Trigger))))return n?.result;let r=NP(t);return t[PP]={[tP.Call]:rP(e,tP.Call),[tP.Trigger]:rP(e,tP.Trigger),result:r},r}function IP(e,t){let n=FP(e,t);if(n?.pointerEvents===`none`)throw Error([`Unable to perform pointer interaction as the element ${n.tree.length>1?`inherits`:`has`} \`pointer-events: none\`:`,``,LP(n.tree)].join(`
345
+ `))}function LP(e){return e.reverse().map((t,n)=>[``.padEnd(n),t.tagName,t.id&&`#${t.id}`,t.hasAttribute(`data-testid`)&&`(testId=${t.getAttribute(`data-testid`)})`,RP(t),e.length>1&&n===0&&" <-- This element declared `pointer-events: none`",e.length>1&&n===e.length-1&&` <-- Asserted pointer events here`].filter(Boolean).join(``)).join(`
346
+ `)}function RP(e){var t;let n;if(e.hasAttribute(`aria-label`))n=e.getAttribute(`aria-label`);else if(e.hasAttribute(`aria-labelledby`)){var r,i;n=(i=e.ownerDocument.getElementById(e.getAttribute(`aria-labelledby`)))==null||(r=i.textContent)==null?void 0:r.trim()}else Z(e,[`button`,`input`,`meter`,`output`,`progress`,`select`,`textarea`])&&(t=e.labels)!=null&&t.length?n=Array.from(e.labels).map(e=>e.textContent?.trim()).join(`|`):Z(e,`button`)&&(n=e.textContent?.trim());return n=n?.replace(/\n/g,` `),Number(n?.length)>30&&(n=`${n?.substring(0,29)}\u2026`),n?`(label=${n})`:``}function zP(e,t){return(e&t)>0}function BP(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var VP=class{init(e){let t=this.getTarget(e),[,n]=CP(null,t),r=this.getEventInit();return IP(e,t),e.dispatchUIEvent(t,`pointerover`,r),n.forEach(t=>e.dispatchUIEvent(t,`pointerenter`,r)),this}move(e,t){let n=this.position,r=this.getTarget(e);if(this.position=t,!kP(n,t))return;let i=this.getTarget(e),a=this.getEventInit(-1),[o,s]=CP(r,i);return{leave:()=>{MP(e,r)&&r!==i&&(e.dispatchUIEvent(r,`pointerout`,a),o.forEach(t=>e.dispatchUIEvent(t,`pointerleave`,a)))},enter:()=>{IP(e,i),r!==i&&(e.dispatchUIEvent(i,`pointerover`,a),s.forEach(t=>e.dispatchUIEvent(t,`pointerenter`,a)))},move:()=>{e.dispatchUIEvent(i,`pointermove`,a)}}}down(e,t=0){if(this.isDown)return;let n=this.getTarget(e);IP(e,n),this.isDown=!0,this.isPrevented=!e.dispatchUIEvent(n,`pointerdown`,this.getEventInit(t))}up(e,t=0){if(!this.isDown)return;let n=this.getTarget(e);IP(e,n),this.isPrevented=!1,this.isDown=!1,e.dispatchUIEvent(n,`pointerup`,this.getEventInit(t))}release(e){let t=this.getTarget(e),[n]=CP(t,null),r=this.getEventInit();MP(e,t)&&(e.dispatchUIEvent(t,`pointerout`,r),n.forEach(t=>e.dispatchUIEvent(t,`pointerleave`,r))),this.isCancelled=!0}getTarget(e){return this.position.target??e.config.document.body}getEventInit(e){return{...this.position.coords,pointerId:this.pointerId,pointerType:this.pointerType,isPrimary:this.isPrimary,button:bP(e),buttons:this.buttons.getButtons()}}constructor({pointerId:e,pointerType:t,isPrimary:n},r){BP(this,`pointerId`,void 0),BP(this,`pointerType`,void 0),BP(this,`isPrimary`,void 0),BP(this,`buttons`,void 0),BP(this,`isMultitouch`,!1),BP(this,`isCancelled`,!1),BP(this,`isDown`,!1),BP(this,`isPrevented`,!1),BP(this,`position`,{}),this.pointerId=e,this.pointerType=t,this.isPrimary=n,this.isMultitouch=!n,this.buttons=r}};function HP(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var UP=class{isKeyPressed(e){return this.devices.get(e.pointerType).isPressed(e)}async press(e,t,n){this.devices.get(t.pointerType).addPressed(t),this.buttons.down(t);let r=this.getPointerName(t),i=t.pointerType===`touch`?this.pointers.new(r,t.pointerType,this.buttons):this.pointers.get(r);i.position=n,i.pointerType!==`touch`&&(this.mouse.position=n),i.pointerType===`touch`&&i.init(e),i.down(e,t.button),i.pointerType!==`touch`&&this.mouse.down(e,t,i.isPrevented)}async move(e,t,n){let r=this.pointers.get(t),i=r.move(e,n),a=r.pointerType===`touch`?void 0:this.mouse.move(e,n,r.isPrevented);i?.leave(),a?.leave(),i?.enter(),a?.enter(),i?.move(),a?.move()}async release(e,t,n){let r=this.devices.get(t.pointerType);r.removePressed(t),this.buttons.up(t);let i=this.pointers.get(this.getPointerName(t)),a=i.isPrevented;if(i.position=n,i.pointerType!==`touch`&&(this.mouse.position=n),r.countPressed===0&&i.up(e,t.button),i.pointerType===`touch`&&i.release(e),i.pointerType===`touch`&&!i.isMultitouch){let r=this.mouse.move(e,n,a);r?.leave(),r?.enter(),r?.move(),this.mouse.down(e,t,a)}if(!i.isMultitouch){let r=this.mouse.move(e,n,a);r?.leave(),r?.enter(),r?.move(),this.mouse.up(e,t,a)}}getPointerName(e){return e.pointerType===`touch`?e.name:e.pointerType}getPreviousPosition(e){return this.pointers.has(e)?this.pointers.get(e).position:void 0}resetClickCount(){this.mouse.resetClickCount()}getMouseTarget(e){return this.mouse.position.target??e.config.document.body}setMousePosition(e){this.mouse.position=e,this.pointers.get(`mouse`).position=e}constructor(e){HP(this,`system`,void 0),HP(this,`mouse`,void 0),HP(this,`buttons`,void 0),HP(this,`devices`,new class{get(e){var t,n;return(t=this.registry)[n=e]??(t[n]=new SP)}constructor(){HP(this,`registry`,{})}}),HP(this,`pointers`,new class{new(e,t,n){let r=t!==`touch`||!Object.values(this.registry).some(e=>e.pointerType===`touch`&&!e.isCancelled);return r||Object.values(this.registry).forEach(e=>{e.pointerType===t&&!e.isCancelled&&(e.isMultitouch=!0)}),this.registry[e]=new VP({pointerId:this.nextId++,pointerType:t,isPrimary:r},n),this.registry[e]}get(e){if(!this.has(e))throw Error(`Trying to access pointer "${e}" which does not exist.`);return this.registry[e]}has(e){return e in this.registry}constructor(){HP(this,`registry`,{}),HP(this,`nextId`,1)}}),this.system=e,this.buttons=new gP,this.mouse=new jP,this.pointers.new(`mouse`,`mouse`,this.buttons)}};function WP(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var GP=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(){WP(this,`keyboard`,new fP(this)),WP(this,`pointer`,new UP(this))}};async function KP(e){let t=[];return this.config.skipHover||t.push({target:e}),t.push({keys:`[MouseLeft]`,target:e}),this.pointer(t)}async function qP(e){return this.pointer([{target:e},`[MouseLeft][MouseLeft]`])}async function JP(e){return this.pointer([{target:e},`[MouseLeft][MouseLeft][MouseLeft]`])}async function YP(e){return this.pointer({target:e})}async function XP(e){return IP(this,this.system.pointer.getMouseTarget(this)),this.pointer({target:e.ownerDocument.body})}async function ZP({shift:e}={}){return this.keyboard(e===!0?`{Shift>}{Tab}{/Shift}`:e===!1?`[/ShiftLeft][/ShiftRight]{Tab}`:`{Tab}`)}var QP=(function(e){return e[`{`]=`}`,e[`[`]=`]`,e})(QP||{});function $P(e,t){let n=0,r=e[n]in QP?e[n]:``;n+=r.length;let i=RegExp(`^\\${r}{2}`).test(e)?``:r;return{type:i,...i===``?eF(e,n,t):tF(e,n,i,t)}}function eF(e,t,n){let r=e[t];return nF(r,e,t,n),t+=r.length,{consumedLength:t,descriptor:r,releasePrevious:!1,releaseSelf:!0,repeat:1}}function tF(e,t,n,r){let i=e[t]===`/`?`/`:``;t+=i.length;let a=n===`{`&&e[t]===`\\`;t+=Number(a);let o=a?e[t]:e.slice(t).match(n===`{`?/^\w+|^[^}>/]/:/^\w+/)?.[0];nF(o,e,t,r),t+=o.length;let s=e.slice(t).match(/^>\d+/)?.[0]??``;t+=s.length;let c=e[t]===`/`||!s&&e[t]===`>`?e[t]:``;t+=c.length;let l=QP[n],u=e[t]===l?l:``;if(!u)throw Error(iF([!s&&`repeat modifier`,!c&&`release modifier`,`"${l}"`].filter(Boolean).join(` or `),e[t],e,r));return t+=u.length,{consumedLength:t,descriptor:o,releasePrevious:!!i,repeat:s?Math.max(Number(s.substr(1)),1):1,releaseSelf:rF(c,s)}}function nF(e,t,n,r){if(!e)throw Error(iF(`key descriptor`,t[n],t,r))}function rF(e,t){if(e)return e===`/`;if(t)return!1}function iF(e,t,n,r){return`Expected ${e} but found "${t??``}" in "${n}"
347
+ See ${r===`pointer`?`https://testing-library.com/docs/user-event/pointer#pressing-a-button-or-touching-the-screen`:`https://testing-library.com/docs/user-event/keyboard`}
348
+ for more information about how userEvent parses your input.`}function aF(e,t){let n=[];do{let{type:r,descriptor:i,consumedLength:a,releasePrevious:o,releaseSelf:s=!0,repeat:c}=$P(t,`keyboard`),l=e.find(e=>r===`[`?e.code?.toLowerCase()===i.toLowerCase():r===`{`?e.key?.toLowerCase()===i.toLowerCase():e.key===i)??{key:`Unknown`,code:`Unknown`,[r===`[`?`code`:`key`]:i};n.push({keyDef:l,releasePrevious:o,releaseSelf:s,repeat:c}),t=t.slice(a)}while(t);return n}async function oF(e){let t=aF(this.config.keyboardMap,e);for(let e=0;e<t.length;e++)await iP(this.config),await sF(this,t[e])}async function sF(e,{keyDef:t,releasePrevious:n,releaseSelf:r,repeat:i}){let{system:a}=e;if(a.keyboard.isKeyPressed(t)&&await a.keyboard.keyup(e,t),!n){for(let n=1;n<=i;n++)await a.keyboard.keydown(e,t),n<i&&await iP(e.config);r&&await a.keyboard.keyup(e,t)}}async function cF(e){for(let t of e.system.keyboard.getPressedKeys())await e.system.keyboard.keyup(e,t)}function lF(e){let t=sM(e)?{"text/plain":uF(e)}:{"text/plain":String(e.ownerDocument.getSelection())},n=Nj(Cj(e));for(let e in t)t[e]&&n.setData(e,t[e]);return n}function uF(e){let t=DM(e);return xM(e).substring(t.startOffset,t.endOffset)}async function dF(){let e=this.config.document,t=e.activeElement??e.body,n=lF(t);if(n.items.length!==0)return this.dispatchUIEvent(t,`copy`,{clipboardData:n})&&this.config.writeToClipboard&&await Wj(e,n),n}async function fF(){let e=this.config.document,t=e.activeElement??e.body,n=lF(t);if(n.items.length!==0)return this.dispatchUIEvent(t,`cut`,{clipboardData:n})&&this.config.writeToClipboard&&await Wj(t.ownerDocument,n),n}async function pF(e){let t=this.config.document,n=t.activeElement??t.body,r=(typeof e==`string`?mF(t,e):e)??await Uj(t).catch(()=>{throw Error("`userEvent.paste()` without `clipboardData` requires the `ClipboardAPI` to be available.")});this.dispatchUIEvent(n,`paste`,{clipboardData:r})}function mF(e,t){let n=Nj(Cj(e));return n.setData(`text`,t),n}function hF(e,t){let n=[];do{let{descriptor:r,consumedLength:i,releasePrevious:a,releaseSelf:o=!0}=$P(t,`pointer`),s=e.find(e=>e.name===r);s&&n.push({keyDef:s,releasePrevious:a,releaseSelf:o}),t=t.slice(i)}while(t);return n}async function gF(e){let{pointerMap:t}=this.config,n=[];(Array.isArray(e)?e:[e]).forEach(e=>{typeof e==`string`?n.push(...hF(t,e)):`keys`in e?n.push(...hF(t,e.keys).map(t=>({...e,...t}))):n.push(e)});for(let e=0;e<n.length;e++)await iP(this.config),await _F(this,n[e]);this.system.pointer.resetClickCount()}async function _F(e,t){var n,r;let i=`pointerName`in t&&t.pointerName?t.pointerName:`keyDef`in t?e.system.pointer.getPointerName(t.keyDef):`mouse`,a=e.system.pointer.getPreviousPosition(i),o={target:t.target??yF(e,a),coords:t.coords??a?.coords,caret:{node:t.node??(vF(t)||a==null||(n=a.caret)==null?void 0:n.node),offset:t.offset??(vF(t)||a==null||(r=a.caret)==null?void 0:r.offset)}};`keyDef`in t?(e.system.pointer.isKeyPressed(t.keyDef)&&(nP(e,tP.Trigger),await e.system.pointer.release(e,t.keyDef,o)),t.releasePrevious||(nP(e,tP.Trigger),await e.system.pointer.press(e,t.keyDef,o),t.releaseSelf&&(nP(e,tP.Trigger),await e.system.pointer.release(e,t.keyDef,o)))):(nP(e,tP.Trigger),await e.system.pointer.move(e,i,o))}function vF(e){return!!(e.target??e.node??e.offset!==void 0)}function yF(e,t){if(!t)throw Error(`This pointer has no previous position. Provide a target property!`);return t.target??e.config.document.body}async function bF(e){if(!iM(e)||Yj(e))throw Error("clear()` is only supported on editable elements.");if(fM(e),e.ownerDocument.activeElement!==e)throw Error(`The element to be cleared could not be focused.`);if(dN(e),!fN(e))throw Error(`The element content to be cleared could not be selected.`);tN(this,e,``,`deleteContentBackward`)}async function xF(e,t){return CF.call(this,!0,e,t)}async function SF(e,t){return CF.call(this,!1,e,t)}async function CF(e,t,n){if(!e&&!t.multiple)throw PO().getElementError(`Unable to deselect an option in a non-multiple select. Use selectOptions to change the selection instead.`,t);let r=Array.isArray(n)?n:[n],i=Array.from(t.querySelectorAll(`option, [role="option"]`)),a=r.map(e=>{if(typeof e!=`string`&&i.includes(e))return e;{let n=i.find(t=>t.value===e||t.innerHTML===e);if(n)return n;throw PO().getElementError(`Value "${String(e)}" not found in options`,t)}}).filter(e=>!Yj(e));if(Yj(t)||!a.length)return;let o=n=>{n.selected=e,this.dispatchUIEvent(t,`input`,{bubbles:!0,cancelable:!1,composed:!0}),this.dispatchUIEvent(t,`change`)};if(Z(t,`select`))if(t.multiple)for(let e of a){let n=this.config.pointerEventsCheck===0?!0:MP(this,e);n&&(this.dispatchUIEvent(e,`pointerover`),this.dispatchUIEvent(t,`pointerenter`),this.dispatchUIEvent(e,`mouseover`),this.dispatchUIEvent(t,`mouseenter`),this.dispatchUIEvent(e,`pointermove`),this.dispatchUIEvent(e,`mousemove`),this.dispatchUIEvent(e,`pointerdown`),this.dispatchUIEvent(e,`mousedown`)),fM(t),n&&(this.dispatchUIEvent(e,`pointerup`),this.dispatchUIEvent(e,`mouseup`)),o(e),n&&this.dispatchUIEvent(e,`click`),await iP(this.config)}else if(a.length===1){let e=this.config.pointerEventsCheck===0?!0:MP(this,t);e?await this.click(t):fM(t),o(a[0]),e&&(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 iP(this.config)}else throw PO().getElementError(`Cannot select multiple options on a non-multiple select`,t);else if(t.getAttribute(`role`)===`listbox`)for(let e of a)await this.click(e),await this.unhover(e);else throw PO().getElementError(`Cannot select options on elements that are neither select nor listbox elements`,t)}async function wF(e,t,{skipClick:n=this.config.skipClick,skipAutoClose:r=this.config.skipAutoClose,initialSelectionStart:i,initialSelectionEnd:a}={}){e.disabled||(n||await this.click(e),i!==void 0&&pN(e,i,a??i),await this.keyboard(t),r||await cF(this))}var TF=Symbol(`files and value properties are mocked`);function EF(e,t,n){n?Object.defineProperty(e,t,n):delete e[t]}function DF(e,t){var n;(n=e[TF])==null||n.restore();let r=Object.getOwnPropertyDescriptor(e,`type`),i=Object.getOwnPropertyDescriptor(e,`value`),a=Object.getOwnPropertyDescriptor(e,`files`);function o(){EF(e,`type`,r),EF(e,`value`,i),EF(e,`files`,a)}e[TF]={restore:o},Object.defineProperties(e,{files:{configurable:!0,get:()=>t},value:{configurable:!0,get:()=>t.length?`C:\\fakepath\\${t[0].name}`:``,set(t){if(t===``)o();else{var n;i==null||(n=i.set)==null||n.call(e,t)}}},type:{configurable:!0,get:()=>`file`,set(t){t!==`file`&&(o(),e.type=t)}}})}async function OF(e,t){let n=Z(e,`label`)?e.control:e;if(!n||!Z(n,`input`,{type:`file`}))throw TypeError(`The ${n===e?`given`:`associated`} ${n?.tagName} element does not accept file uploads`);if(Yj(e))return;let r=(Array.isArray(t)?t:[t]).filter(e=>!this.config.applyAccept||AF(e,n.accept)).slice(0,n.multiple?void 0:1),i=()=>{r.length===n.files?.length&&r.every((e,t)=>e===n.files?.item(t))||(DF(n,Dj(Cj(e),r)),this.dispatchUIEvent(n,`input`),this.dispatchUIEvent(n,`change`))};n.addEventListener(`fileDialog`,i),await this.click(e),n.removeEventListener(`fileDialog`,i)}function kF(e){return e.toLowerCase().replace(/(\.|\/)jpg\b/g,`$1jpeg`)}function AF(e,t){if(!t)return!0;let n=[`audio/*`,`image/*`,`video/*`];return kF(t).trim().split(/\s*,\s*/).some(t=>t.startsWith(`.`)?kF(e.name).endsWith(t):n.includes(t)?kF(e.type).startsWith(t.replace(`*`,``)):kF(e.type)===t)}var jF={click:KP,dblClick:qP,tripleClick:JP,hover:YP,unhover:XP,tab:ZP,keyboard:oF,copy:dF,cut:fF,paste:pF,pointer:gF,clear:bF,deselectOptions:SF,selectOptions:xF,type:wF,upload:OF};function MF(e){return PO().asyncWrapper(e)}var NF={applyAccept:!0,autoModify:!0,delay:0,document:globalThis.document,keyboardMap:pP,pointerMap:mP,pointerEventsCheck:aP.EachApiCall,skipAutoClose:!1,skipClick:!1,skipHover:!1,writeToClipboard:!1,advanceTimers:()=>Promise.resolve()},PF={...NF,writeToClipboard:!0};function FF(e={},t=PF,n){let r=VF(e,n,t);return{...t,...e,document:r}}function IF(e={}){let t=FF(e);return ZN(t.document),HN(Cj(t.document).HTMLElement),Bj(t.document.defaultView??globalThis.window),BF(t).api}function LF({keyboardState:e,pointerState:t,...n}={},r){let i=FF(n,NF,r);ZN(i.document),HN(Cj(i.document).HTMLElement);let a=t??e??new GP;return{api:BF(i,a).api,system:a}}function RF(e){return BF({...this.config,...e},this.system).api}function zF(e,t){function n(...n){return nP(e,tP.Call),MF(()=>t.apply(e,n).then(async t=>(await iP(e.config),t)))}return Object.defineProperty(n,`name`,{get:()=>t.name}),n}function BF(e,t=new GP){let n={};return Object.assign(n,{config:e,dispatchEvent:zN.bind(n),dispatchUIEvent:RN.bind(n),system:t,levelRefs:{},...jF}),{instance:n,api:{...Object.fromEntries(Object.entries(jF).map(([e,t])=>[e,zF(n,t)])),setup:RF.bind(n)}}}function VF(e,t,n){return e.document??(t&&$N(t))??n.document}var HF={};b(HF,{clear:()=>UF,click:()=>WF,copy:()=>GF,cut:()=>KF,dblClick:()=>qF,deselectOptions:()=>JF,hover:()=>YF,keyboard:()=>XF,paste:()=>QF,pointer:()=>ZF,selectOptions:()=>$F,tab:()=>iI,tripleClick:()=>eI,type:()=>tI,unhover:()=>nI,upload:()=>rI});function UF(e){return LF().api.clear(e)}function WF(e,t={}){return LF(t,e).api.click(e)}function GF(e={}){return LF(e).api.copy()}function KF(e={}){return LF(e).api.cut()}function qF(e,t={}){return LF(t).api.dblClick(e)}function JF(e,t,n={}){return LF(n).api.deselectOptions(e,t)}function YF(e,t={}){return LF(t).api.hover(e)}async function XF(e,t={}){let{api:n,system:r}=LF(t);return n.keyboard(e).then(()=>r)}async function ZF(e,t={}){let{api:n,system:r}=LF(t);return n.pointer(e).then(()=>r)}function QF(e,t){return LF(t).api.paste(e)}function $F(e,t,n={}){return LF(n).api.selectOptions(e,t)}function eI(e,t={}){return LF(t).api.tripleClick(e)}function tI(e,t,n={}){return LF(n,e).api.type(e,t,n)}function nI(e,t={}){let{api:n,system:r}=LF(t);return r.pointer.setMousePosition({target:e}),n.unhover(e)}function rI(e,t,n={}){return LF(n).api.upload(e,t)}function iI(e={}){return LF().api.tab(e)}var aI={...HF,setup:IF},oI=L_({...NE},{getKeys:e=>Object.keys(e).filter(e=>e!==`eventWrapper`),intercept:(e,t)=>t[0]===`fireEvent`||e.startsWith(`find`)||e.startsWith(`waitFor`)});oI.screen=new Proxy(oI.screen,{get(e,t,n){return typeof window<`u`&&globalThis.location?.href?.includes(`viewMode=docs`)&&Mo.warn(_o`
349
+ 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.
350
+
351
+ More info: https://storybook.js.org/docs/writing-tests/interaction-testing?ref=error#querying-the-canvas
352
+ `),Reflect.get(e,t,n)}});var{buildQueries:sI,configure:cI,createEvent:lI,fireEvent:uI,findAllByAltText:dI,findAllByDisplayValue:fI,findAllByLabelText:pI,findAllByPlaceholderText:mI,findAllByRole:hI,findAllByTestId:gI,findAllByText:_I,findAllByTitle:vI,findByAltText:yI,findByDisplayValue:bI,findByLabelText:xI,findByPlaceholderText:SI,findByRole:CI,findByTestId:wI,findByText:TI,findByTitle:EI,getAllByAltText:DI,getAllByDisplayValue:OI,getAllByLabelText:kI,getAllByPlaceholderText:AI,getAllByRole:jI,getAllByTestId:MI,getAllByText:NI,getAllByTitle:PI,getByAltText:FI,getByDisplayValue:II,getByLabelText:LI,getByPlaceholderText:RI,getByRole:zI,getByTestId:BI,getByText:VI,getByTitle:HI,getConfig:UI,getDefaultNormalizer:WI,getElementError:GI,getNodeText:KI,getQueriesForElement:qI,getRoles:JI,getSuggestedQuery:YI,isInaccessible:XI,logDOM:ZI,logRoles:QI,prettyDOM:$I,queries:eL,queryAllByAltText:tL,queryAllByAttribute:nL,queryAllByDisplayValue:rL,queryAllByLabelText:iL,queryAllByPlaceholderText:aL,queryAllByRole:oL,queryAllByTestId:sL,queryAllByText:cL,queryAllByTitle:lL,queryByAltText:uL,queryByAttribute:dL,queryByDisplayValue:fL,queryByLabelText:pL,queryByPlaceholderText:mL,queryByRole:hL,queryByTestId:gL,queryByText:_L,queryByTitle:vL,queryHelpers:yL,screen:bL,waitFor:xL,waitForElementToBeRemoved:SL,within:CL,prettyFormat:wL}=oI,TL=aI,{userEvent:EL}=L_({userEvent:aI},{intercept:!0,getKeys:e=>Object.keys(e).filter(e=>e!==`eventWrapper`)}),{expect:DL}=L_({expect:_E},{getKeys:(e,t)=>{if(`constructor`in e&&e.constructor===J){let n=[`assert`,`__methods`,`__flags`,`_obj`],r=Object.keys(Object.getPrototypeOf(e)).filter(e=>!n.includes(e));return t>2?r:[...r,`not`]}return`any`in e?Object.keys(e).filter(e=>e!==`any`):Object.keys(e)},mutate:!0,intercept:e=>e!==`expect`}),OL={mock:()=>{}},kL=!1,AL=[e=>{let{parameters:t}=e;t?.actions?.disable||kL||(wE((e,t)=>{let n=e.getMockName();n!==`spy`&&n!==`vi.fn()`&&(!/^next\/.*::/.test(n)||[`next/router::useRouter()`,`next/navigation::useRouter()`,`next/navigation::redirect`,`next/cache::`,`next/headers::cookies().set`,`next/headers::cookies().delete`,`next/headers::headers().set`,`next/headers::headers().delete`].some(e=>n.startsWith(e)))&&hU(n)(t)}),kL=!0)}],jL=()=>({...lf,...ff}),ML=`storybook/background`,NL=`backgrounds`;`${ML}`;var PL={light:{name:`light`,value:`#F8F8F8`},dark:{name:`dark`,value:`#333`}},{document:FL}=globalThis,IL=()=>globalThis?.matchMedia?!!globalThis.matchMedia(`(prefers-reduced-motion: reduce)`)?.matches:!1,LL=e=>{(Array.isArray(e)?e:[e]).forEach(RL)},RL=e=>{if(!FL)return;let t=FL.getElementById(e);t&&t.parentElement&&t.parentElement.removeChild(t)},zL=(e,t)=>{if(!FL)return;let n=FL.getElementById(e);if(n)n.innerHTML!==t&&(n.innerHTML=t);else{let n=FL.createElement(`style`);n.setAttribute(`id`,e),n.innerHTML=t,FL.head.appendChild(n)}},BL=(e,t,n)=>{if(!FL)return;let r=FL.getElementById(e);if(r)r.innerHTML!==t&&(r.innerHTML=t);else{let r=FL.createElement(`style`);r.setAttribute(`id`,e),r.innerHTML=t;let i=`addon-backgrounds-grid${n?`-docs-${n}`:``}`,a=FL.getElementById(i);a?a.parentElement?.insertBefore(r,a):FL.head.appendChild(r)}},VL={cellSize:100,cellAmount:10,opacity:.8},HL=`addon-backgrounds`,UL=`addon-backgrounds-grid`,WL=IL()?``:`transition: background-color 0.3s;`,GL=globalThis.FEATURES?.backgrounds?[(e,t)=>{let{globals:n={},parameters:r={},viewMode:i,id:a}=t,{options:o=PL,disable:s,grid:c=VL}=r[NL]||{},l=n[NL]||{},u=typeof l==`string`?l:l?.value,d=u?o[u]:void 0,f=typeof d==`string`?d:d?.value||`transparent`,p=typeof l==`string`?!1:l.grid||!1,m=!!d&&!s,h=i===`docs`?`#anchor--${a} .docs-story`:`.sb-show-main`,g=i===`docs`?`#anchor--${a} .docs-story`:`.sb-show-main`,_=r.layout===void 0||r.layout===`padded`,v=i===`docs`?20:_?16:0,{cellAmount:y,cellSize:b,opacity:x,offsetX:S=v,offsetY:C=v}=c,w=i===`docs`?`${HL}-docs-${a}`:`${HL}-color`,T=i===`docs`?a:null;Gd(()=>{let e=`
353
+ ${h} {
354
+ background: ${f} !important;
355
+ ${WL}
356
+ }`;if(!m){LL(w);return}BL(w,e,T)},[h,w,T,m,f]);let E=i===`docs`?`${UL}-docs-${a}`:`${UL}`;return Gd(()=>{if(!p){LL(E);return}zL(E,`
357
+ ${g} {
358
+ background-size: ${[`${b*y}px ${b*y}px`,`${b*y}px ${b*y}px`,`${b}px ${b}px`,`${b}px ${b}px`].join(`, `)} !important;
359
+ background-position: ${S}px ${C}px, ${S}px ${C}px, ${S}px ${C}px, ${S}px ${C}px !important;
360
+ background-blend-mode: difference !important;
361
+ background-image: linear-gradient(rgba(130, 130, 130, ${x}) 1px, transparent 1px),
362
+ linear-gradient(90deg, rgba(130, 130, 130, ${x}) 1px, transparent 1px),
363
+ linear-gradient(rgba(130, 130, 130, ${x/2}) 1px, transparent 1px),
364
+ linear-gradient(90deg, rgba(130, 130, 130, ${x/2}) 1px, transparent 1px) !important;
365
+ }
366
+ `)},[y,b,g,E,p,S,C,x]),e()}]:[],KL={[NL]:{grid:{cellSize:20,opacity:.5,cellAmount:5},disable:!1}},qL={[NL]:{value:void 0,grid:!1}},JL=()=>({decorators:GL,parameters:KL,initialGlobals:qL}),{step:YL}=L_({step:async(e,t,n)=>t(n)},{intercept:!0}),XL=()=>({parameters:{throwPlayFunctionExceptions:!1},runStep:YL}),ZL=e=>{let t=getComputedStyle(e),n=e.getBoundingClientRect();return!(n.width>0&&n.height>0&&t.visibility!==`hidden`&&Number(t.opacity)>0&&t.display!==`none`)},QL=async({reporting:e,canvasElement:t,globals:n})=>{try{if(!n.ghostStories)return;let r=ZL(t.firstElementChild??t);r&&e.addReport({type:`render-analysis`,version:1,result:{emptyRender:r},status:`warning`})}catch{}},$L=()=>({afterEach:QL}),eR=`storybook/highlight`,tR=`${eR}/add`,nR=`${eR}/remove`,rR=`${eR}/reset`,iR=`${eR}/scroll-into-view`,aR=2147483647,oR=28,sR={chevronLeft:[`M9.10355 10.1464C9.29882 10.3417 9.29882 10.6583 9.10355 10.8536C8.90829 11.0488 8.59171 11.0488 8.39645 10.8536L4.89645 7.35355C4.70118 7.15829 4.70118 6.84171 4.89645 6.64645L8.39645 3.14645C8.59171 2.95118 8.90829 2.95118 9.10355 3.14645C9.29882 3.34171 9.29882 3.65829 9.10355 3.85355L5.95711 7L9.10355 10.1464Z`],chevronRight:[`M4.89645 10.1464C4.70118 10.3417 4.70118 10.6583 4.89645 10.8536C5.09171 11.0488 5.40829 11.0488 5.60355 10.8536L9.10355 7.35355C9.29882 7.15829 9.29882 6.84171 9.10355 6.64645L5.60355 3.14645C5.40829 2.95118 5.09171 2.95118 4.89645 3.14645C4.70118 3.34171 4.70118 3.65829 4.89645 3.85355L8.04289 7L4.89645 10.1464Z`],info:[`M7 5.5a.5.5 0 01.5.5v4a.5.5 0 01-1 0V6a.5.5 0 01.5-.5zM7 4.5A.75.75 0 107 3a.75.75 0 000 1.5z`,`M7 14A7 7 0 107 0a7 7 0 000 14zm0-1A6 6 0 107 1a6 6 0 000 12z`],shareAlt:[`M2 1.004a1 1 0 00-1 1v10a1 1 0 001 1h10a1 1 0 001-1v-4.5a.5.5 0 00-1 0v4.5H2v-10h4.5a.5.5 0 000-1H2z`,`M7.354 7.357L12 2.711v1.793a.5.5 0 001 0v-3a.5.5 0 00-.5-.5h-3a.5.5 0 100 1h1.793L6.646 6.65a.5.5 0 10.708.707z`]},cR=`svg,path,rect,circle,line,polyline,polygon,ellipse,text`.split(`,`),lR=(e,t={},n)=>{let r=cR.includes(e)?document.createElementNS(`http://www.w3.org/2000/svg`,e):document.createElement(e);return Object.entries(t).forEach(([e,t])=>{/[A-Z]/.test(e)?(e===`onClick`&&(r.addEventListener(`click`,t),r.addEventListener(`keydown`,e=>{(e.key===`Enter`||e.key===` `)&&(e.preventDefault(),t())})),e===`onMouseEnter`&&r.addEventListener(`mouseenter`,t),e===`onMouseLeave`&&r.addEventListener(`mouseleave`,t)):r.setAttribute(e,t)}),n?.forEach(e=>{if(!(e==null||e===!1))try{r.appendChild(e)}catch{r.appendChild(document.createTextNode(String(e)))}}),r},uR=e=>sR[e]&&lR(`svg`,{width:`14`,height:`14`,viewBox:`0 0 14 14`,xmlns:`http://www.w3.org/2000/svg`},sR[e].map(e=>lR(`path`,{fill:`currentColor`,"fill-rule":`evenodd`,"clip-rule":`evenodd`,d:e}))),dR=e=>{if(`elements`in e){let{elements:t,color:n,style:r}=e;return{id:void 0,priority:0,selectors:t,styles:{outline:`2px ${r} ${n}`,outlineOffset:`2px`,boxShadow:`0 0 0 6px rgba(255,255,255,0.6)`},menu:void 0}}let{menu:t,...n}=e;return{id:void 0,priority:0,styles:{outline:`2px dashed #029cfd`},...n,menu:Array.isArray(t)?t.every(Array.isArray)?t:[t]:void 0}},fR=e=>e instanceof Function,pR=new Map,mR=new Map,hR=new Map,gR=e=>{let t=Symbol();return mR.set(t,[]),pR.set(t,e),{get:()=>pR.get(t),set:e=>{let n=pR.get(t),r=fR(e)?e(n):e;r!==n&&(pR.set(t,r),mR.get(t)?.forEach(e=>{hR.get(e)?.(),hR.set(e,e(r))}))},subscribe:e=>(mR.get(t)?.push(e),()=>{let n=mR.get(t);n&&mR.set(t,n.filter(t=>t!==e))}),teardown:()=>{mR.get(t)?.forEach(e=>{hR.get(e)?.(),hR.delete(e)}),mR.delete(t),pR.delete(t)}}},_R=e=>{let t=document.getElementById(`storybook-root`),n=new Map;for(let r of e){let{priority:e=0}=r;for(let i of r.selectors){let a=[...document.querySelectorAll(`:is(${i}):not([id^="storybook-"], [id^="storybook-"] *, [class^="sb-"], [class^="sb-"] *)`),...t?.querySelectorAll(i)||[]];for(let t of a){let a=n.get(t);(!a||a.priority<=e)&&n.set(t,{...r,priority:e,selectors:Array.from(new Set((a?.selectors||[]).concat(i)))})}}}return n},vR=e=>Array.from(e.entries()).map(([e,{selectors:t,styles:n,hoverStyles:r,focusStyles:i,menu:a}])=>{let{top:o,left:s,width:c,height:l}=e.getBoundingClientRect(),{position:u}=getComputedStyle(e);return{element:e,selectors:t,styles:n,hoverStyles:r,focusStyles:i,menu:a,top:u===`fixed`?o:o+window.scrollY,left:u===`fixed`?s:s+window.scrollX,width:c,height:l}}).sort((e,t)=>t.width*t.height-e.width*e.height),yR=(e,t)=>{let n=e.getBoundingClientRect(),{x:r,y:i}=t;return n?.top&&n?.left&&r>=n.left&&r<=n.left+n.width&&i>=n.top&&i<=n.top+n.height},bR=(e,t,n)=>{if(!t||!n)return!1;let{left:r,top:i,width:a,height:o}=e;o<oR&&(i-=Math.round((oR-o)/2),o=oR),a<oR&&(r-=Math.round((oR-a)/2),a=oR),t.style.position===`fixed`&&(r+=window.scrollX,i+=window.scrollY);let{x:s,y:c}=n;return s>=r&&s<=r+a&&c>=i&&c<=i+o},xR=(e,t,n={})=>{let{x:r,y:i}=t,{margin:a=5,topOffset:o=0,centered:s=!1}=n,{scrollX:c,scrollY:l,innerHeight:u,innerWidth:d}=window,f=Math.min(e.style.position===`fixed`?i-l:i,u-e.clientHeight-a-o+l),p=s?e.clientWidth/2:0,m=e.style.position===`fixed`?Math.max(Math.min(r-c,d-p-a),p+a):Math.max(Math.min(r,d-p-a+c),p+a+c);Object.assign(e.style,{...m!==r&&{left:`${m}px`},...f!==i&&{top:`${f}px`}})},SR=e=>{window.HTMLElement.prototype.hasOwnProperty(`showPopover`)&&e.showPopover()},CR=e=>{window.HTMLElement.prototype.hasOwnProperty(`showPopover`)&&e.hidePopover()},wR=e=>({top:e.top,left:e.left,width:e.width,height:e.height,selectors:e.selectors,element:{attributes:Object.fromEntries(Array.from(e.element.attributes).map(e=>[e.name,e.value])),localName:e.element.localName,tagName:e.element.tagName,outerHTML:e.element.outerHTML}}),TR=`storybook-highlights-menu`,ER=`storybook-highlights-root`,DR=`storybook-root`;globalThis?.FEATURES?.highlight&&Td?.ready&&Td.ready().then(e=>{if(globalThis.__STORYBOOK_HIGHLIGHT_INITIALIZED)return;globalThis.__STORYBOOK_HIGHLIGHT_INITIALIZED=!0;let{document:t}=globalThis,n=gR([]),r=gR(new Map),i=gR([]),a=gR(),o=gR(),s=gR([]),c=gR([]),l=gR(),u=gR(),d=t.getElementById(ER);n.subscribe(()=>{d||(d=lR(`div`,{id:ER}),t.body.appendChild(d))}),n.subscribe(e=>{let n=t.getElementById(DR);if(!n)return;r.set(_R(e));let i=new MutationObserver(()=>r.set(_R(e)));return i.observe(n,{subtree:!0,childList:!0}),()=>{i.disconnect()}}),r.subscribe(e=>{let n=()=>requestAnimationFrame(()=>i.set(vR(e))),r=new ResizeObserver(n);r.observe(t.body),Array.from(e.keys()).forEach(e=>r.observe(e));let a=Array.from(t.body.querySelectorAll(`*`)).filter(e=>{let{overflow:t,overflowX:n,overflowY:r}=window.getComputedStyle(e);return[`auto`,`scroll`].some(e=>[t,n,r].includes(e))});return a.forEach(e=>e.addEventListener(`scroll`,n)),()=>{r.disconnect(),a.forEach(e=>e.removeEventListener(`scroll`,n))}}),r.subscribe(e=>{let n=Array.from(e.keys()).filter(({style:e})=>e.position===`sticky`),r=()=>requestAnimationFrame(()=>{i.set(e=>e.map(e=>{if(n.includes(e.element)){let{top:t,left:n}=e.element.getBoundingClientRect();return{...e,top:t+window.scrollY,left:n+window.scrollX}}return e}))});return t.addEventListener(`scroll`,r),()=>t.removeEventListener(`scroll`,r)}),r.subscribe(e=>{s.set(t=>t.filter(({element:t})=>e.has(t)))}),s.subscribe(e=>{e.length?(u.set(t=>e.some(e=>e.element===t?.element)?t:void 0),l.set(t=>e.some(e=>e.element===t?.element)?t:void 0)):(u.set(void 0),l.set(void 0),a.set(void 0))});let f=new Map(new Map);n.subscribe(e=>{e.forEach(({keyframes:e})=>{if(e){let n=f.get(e);n||(n=t.createElement(`style`),n.setAttribute(`data-highlight`,`keyframes`),f.set(e,n),t.head.appendChild(n)),n.innerHTML=e}}),f.forEach((t,n)=>{e.some(e=>e.keyframes===n)||(t.remove(),f.delete(n))})});let p=new Map(new Map);i.subscribe(e=>{e.forEach(e=>{let t=p.get(e.element);if(d&&!t){let n={popover:`manual`,"data-highlight-dimensions":`w${e.width.toFixed(0)}h${e.height.toFixed(0)}`,"data-highlight-coordinates":`x${e.left.toFixed(0)}y${e.top.toFixed(0)}`};t=d.appendChild(lR(`div`,n,[lR(`div`)])),p.set(e.element,t)}}),p.forEach((t,n)=>{e.some(({element:e})=>e===n)||(t.remove(),p.delete(n))})}),i.subscribe(e=>{let n=e.filter(e=>e.menu);if(!n.length)return;let r=e=>{requestAnimationFrame(()=>{let r=t.getElementById(TR),i={x:e.pageX,y:e.pageY};if(r&&!yR(r,i)){let e=n.filter(e=>bR(e,p.get(e.element),i));a.set(e.length?i:void 0),s.set(e)}})};return t.addEventListener(`click`,r),()=>t.removeEventListener(`click`,r)});let m=()=>{let e=t.getElementById(TR),n=o.get();!n||e&&yR(e,n)||c.set(e=>{let t=i.get().filter(e=>bR(e,p.get(e.element),n)),r=e.filter(e=>t.includes(e)),a=t.filter(t=>!e.includes(t)),o=e.length-r.length;return a.length||o?[...r,...a]:e})};o.subscribe(m),i.subscribe(m);let h=()=>{let e=u.get(),t=e?[e]:s.get(),n=t.length===1?t[0]:l.get(),r=a.get()!==void 0;i.get().forEach(e=>{let i=p.get(e.element);if(i){let a=n===e,o=r?n?a:t.includes(e):c.get()?.includes(e);Object.assign(i.style,{animation:`none`,background:`transparent`,border:`none`,boxSizing:`border-box`,outline:`none`,outlineOffset:`0px`,...e.styles,...o?e.hoverStyles:{},...a?e.focusStyles:{},position:getComputedStyle(e.element).position===`fixed`?`fixed`:`absolute`,zIndex:aR-10,top:`${e.top}px`,left:`${e.left}px`,width:`${e.width}px`,height:`${e.height}px`,margin:0,padding:0,cursor:e.menu&&o?`pointer`:`default`,pointerEvents:e.menu?`auto`:`none`,display:`flex`,alignItems:`center`,justifyContent:`center`,overflow:`visible`}),Object.assign(i.children[0].style,{width:`100%`,height:`100%`,minHeight:`${oR}px`,minWidth:`${oR}px`,boxSizing:`content-box`,padding:i.style.outlineWidth||`0px`}),SR(i)}})};i.subscribe(h),s.subscribe(h),c.subscribe(h),l.subscribe(h),u.subscribe(h);let g=()=>{if(!d)return;let n=t.getElementById(TR);if(n)n.innerHTML=``;else{let e={id:TR,popover:`manual`};n=d.appendChild(lR(`div`,e)),d.appendChild(lR(`style`,{},[`
367
+ #${TR} {
368
+ position: absolute;
369
+ z-index: ${aR};
370
+ width: 300px;
371
+ padding: 0px;
372
+ margin: 15px 0 0 0;
373
+ transform: translateX(-50%);
374
+ font-family: "Nunito Sans", -apple-system, ".SFNSText-Regular", "San Francisco", BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
375
+ font-size: 12px;
376
+ background: white;
377
+ border: none;
378
+ border-radius: 6px;
379
+ box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.05), 0 5px 15px 0 rgba(0, 0, 0, 0.1);
380
+ color: #2E3438;
381
+ }
382
+ #${TR} ul {
383
+ list-style: none;
384
+ margin: 0;
385
+ padding: 0;
386
+ }
387
+ #${TR} > ul {
388
+ max-height: 300px;
389
+ overflow-y: auto;
390
+ padding: 4px 0;
391
+ }
392
+ #${TR} li {
393
+ padding: 0 4px;
394
+ margin: 0;
395
+ }
396
+ #${TR} li > :not(ul) {
397
+ display: flex;
398
+ padding: 8px;
399
+ margin: 0;
400
+ align-items: center;
401
+ gap: 8px;
402
+ border-radius: 4px;
403
+ }
404
+ #${TR} button {
405
+ width: 100%;
406
+ border: 0;
407
+ background: transparent;
408
+ color: inherit;
409
+ text-align: left;
410
+ font-family: inherit;
411
+ font-size: inherit;
412
+ }
413
+ #${TR} button:focus-visible {
414
+ outline-color: #029CFD;
415
+ }
416
+ #${TR} button:hover {
417
+ background: rgba(2, 156, 253, 0.07);
418
+ color: #029CFD;
419
+ cursor: pointer;
420
+ }
421
+ #${TR} li code {
422
+ white-space: nowrap;
423
+ overflow: hidden;
424
+ text-overflow: ellipsis;
425
+ line-height: 16px;
426
+ font-size: 11px;
427
+ }
428
+ #${TR} li svg {
429
+ flex-shrink: 0;
430
+ margin: 1px;
431
+ color: #73828C;
432
+ }
433
+ #${TR} li > button:hover svg, #${TR} li > button:focus-visible svg {
434
+ color: #029CFD;
435
+ }
436
+ #${TR} .element-list li svg {
437
+ display: none;
438
+ }
439
+ #${TR} li.selectable svg, #${TR} li.selected svg {
440
+ display: block;
441
+ }
442
+ #${TR} .menu-list {
443
+ border-top: 1px solid rgba(38, 85, 115, 0.15);
444
+ }
445
+ #${TR} .menu-list > li:not(:last-child) {
446
+ padding-bottom: 4px;
447
+ margin-bottom: 4px;
448
+ border-bottom: 1px solid rgba(38, 85, 115, 0.15);
449
+ }
450
+ #${TR} .menu-items, #${TR} .menu-items li {
451
+ padding: 0;
452
+ }
453
+ #${TR} .menu-item {
454
+ display: flex;
455
+ }
456
+ #${TR} .menu-item-content {
457
+ display: flex;
458
+ flex-direction: column;
459
+ flex-grow: 1;
460
+ }
461
+ `]))}let r=u.get(),i=r?[r]:s.get();if(i.length&&(n.style.position=getComputedStyle(i[0].element).position===`fixed`?`fixed`:`absolute`,n.appendChild(lR(`ul`,{class:`element-list`},i.map(e=>{let t=i.length>1&&!!e.menu?.some(t=>t.some(t=>!t.selectors||t.selectors.some(t=>e.selectors.includes(t)))),n=t?{class:`selectable`,onClick:()=>u.set(e),onMouseEnter:()=>l.set(e),onMouseLeave:()=>l.set(void 0)}:r?{class:`selected`,onClick:()=>u.set(void 0)}:{},a=t||r;return lR(`li`,n,[lR(a?`button`:`div`,a?{type:`button`}:{},[r?uR(`chevronLeft`):null,lR(`code`,{},[e.element.outerHTML]),t?uR(`chevronRight`):null])])})))),u.get()||s.get().length===1){let t=u.get()||s.get()[0],r=t.menu?.filter(e=>e.some(e=>!e.selectors||e.selectors.some(e=>t.selectors.includes(e))));r?.length&&n.appendChild(lR(`ul`,{class:`menu-list`},r.map(n=>lR(`li`,{},[lR(`ul`,{class:`menu-items`},n.map(({id:n,title:r,description:i,iconLeft:a,iconRight:o,clickEvent:s})=>{let c=s&&(()=>e.emit(s,n,wR(t)));return lR(`li`,{},[lR(c?`button`:`div`,c?{class:`menu-item`,type:`button`,onClick:c}:{class:`menu-item`},[a?uR(a):null,lR(`div`,{class:`menu-item-content`},[lR(i?`strong`:`span`,{},[r]),i&&lR(`span`,{},[i])]),o?uR(o):null])])}))]))))}let o=a.get();o?(Object.assign(n.style,{display:`block`,left:`${n.style.position===`fixed`?o.x-window.scrollX:o.x}px`,top:`${n.style.position===`fixed`?o.y-window.scrollY:o.y}px`}),SR(n),requestAnimationFrame(()=>xR(n,o,{topOffset:15,centered:!0}))):(CR(n),Object.assign(n.style,{display:`none`}))};s.subscribe(g),u.subscribe(g);let _=e=>{let t=dR(e);n.set(e=>{let n=t.id?e.filter(e=>e.id!==t.id):e;return t.selectors?.length?[...n,t]:n})},v=e=>{e&&n.set(t=>t.filter(t=>t.id!==e))},y=()=>{n.set([]),r.set(new Map),i.set([]),a.set(void 0),o.set(void 0),s.set([]),c.set([]),l.set(void 0),u.set(void 0)},b;t.body.addEventListener(`mousemove`,e=>{requestAnimationFrame(()=>o.set({x:e.pageX,y:e.pageY}))}),e.on(tR,_),e.on(nR,v),e.on(rR,y),e.on(iR,(e,r)=>{let i=`scrollIntoView-highlight`;clearTimeout(b),v(i);let a=t.querySelector(e);if(!a){console.warn(`Cannot scroll into view: ${e} not found`);return}a.scrollIntoView({behavior:`smooth`,block:`center`,...r});let o=`kf-${Math.random().toString(36).substring(2,15)}`;n.set(t=>[...t,{id:i,priority:1e3,selectors:[e],styles:{outline:`2px solid #1EA7FD`,outlineOffset:`-1px`,animation:`${o} 3s linear forwards`},keyframes:`@keyframes ${o} {
462
+ 0% { outline: 2px solid #1EA7FD; }
463
+ 20% { outline: 2px solid #1EA7FD00; }
464
+ 40% { outline: 2px solid #1EA7FD; }
465
+ 60% { outline: 2px solid #1EA7FD00; }
466
+ 80% { outline: 2px solid #1EA7FD; }
467
+ 100% { outline: 2px solid #1EA7FD00; }
468
+ }`}]),b=setTimeout(()=>v(i),3500)}),e.on(Ha,({newPhase:e})=>{e===`loading`&&y()})});var OR=()=>({}),kR=`storybook/measure-addon`;`${kR}`;var AR=`measureEnabled`;`${kR}`,`${kR}`,`${kR}`;function jR(){let e=W.document.documentElement,t=Math.max(e.scrollHeight,e.offsetHeight);return{width:Math.max(e.scrollWidth,e.offsetWidth),height:t}}function MR(){let e=W.document.createElement(`canvas`);e.id=`storybook-addon-measure`;let t=e.getContext(`2d`);bu(t!=null);let{width:n,height:r}=jR();return NR(e,t,{width:n,height:r}),e.style.position=`absolute`,e.style.left=`0`,e.style.top=`0`,e.style.zIndex=`2147483647`,e.style.pointerEvents=`none`,W.document.body.appendChild(e),{canvas:e,context:t,width:n,height:r}}function NR(e,t,{width:n,height:r}){e.style.width=`${n}px`,e.style.height=`${r}px`;let i=W.window.devicePixelRatio;e.width=Math.floor(n*i),e.height=Math.floor(r*i),t.scale(i,i)}var PR={};function FR(){PR.canvas||(PR=MR())}function IR(){PR.context&&PR.context.clearRect(0,0,PR.width??0,PR.height??0)}function LR(e){IR(),e(PR.context)}function RR(){bu(PR.canvas,`Canvas should exist in the state.`),bu(PR.context,`Context should exist in the state.`),NR(PR.canvas,PR.context,{width:0,height:0});let{width:e,height:t}=jR();NR(PR.canvas,PR.context,{width:e,height:t}),PR.width=e,PR.height=t}function zR(){PR.canvas&&(IR(),PR.canvas.parentNode?.removeChild(PR.canvas),PR={})}var BR={margin:`#f6b26b`,border:`#ffe599`,padding:`#93c47d`,content:`#6fa8dc`,text:`#232020`},VR=6;function HR(e,{x:t,y:n,w:r,h:i,r:a}){t-=r/2,n-=i/2,r<2*a&&(a=r/2),i<2*a&&(a=i/2),e.beginPath(),e.moveTo(t+a,n),e.arcTo(t+r,n,t+r,n+i,a),e.arcTo(t+r,n+i,t,n+i,a),e.arcTo(t,n+i,t,n,a),e.arcTo(t,n,t+r,n,a),e.closePath()}function UR(e,{padding:t,border:n,width:r,height:i,top:a,left:o}){let s=r-n.left-n.right-t.left-t.right,c=i-t.top-t.bottom-n.top-n.bottom,l=o+n.left+t.left,u=a+n.top+t.top;return e===`top`?l+=s/2:e===`right`?(l+=s,u+=c/2):e===`bottom`?(l+=s/2,u+=c):e===`left`?u+=c/2:e===`center`&&(l+=s/2,u+=c/2),{x:l,y:u}}function WR(e,t,{margin:n,border:r,padding:i},a,o){let s=e=>0,c=0,l=0,u=o?1:.5,d=o?a*2:0;return e===`padding`?s=e=>i[e]*u+d:e===`border`?s=e=>i[e]+r[e]*u+d:e===`margin`&&(s=e=>i[e]+r[e]+n[e]*u+d),t===`top`?l=-s(`top`):t===`right`?c=s(`right`):t===`bottom`?l=s(`bottom`):t===`left`&&(c=-s(`left`)),{offsetX:c,offsetY:l}}function GR(e,t){return Math.abs(e.x-t.x)<Math.abs(e.w+t.w)/2&&Math.abs(e.y-t.y)<Math.abs(e.h+t.h)/2}function KR(e,t,n){return e===`top`?t.y=n.y-n.h-VR:e===`right`?t.x=n.x+n.w/2+VR+t.w/2:e===`bottom`?t.y=n.y+n.h+VR:e===`left`&&(t.x=n.x-n.w/2-VR-t.w/2),{x:t.x,y:t.y}}function qR(e,t,{x:n,y:r,w:i,h:a},o){return HR(e,{x:n,y:r,w:i,h:a,r:3}),e.fillStyle=`${BR[t]}dd`,e.fill(),e.strokeStyle=BR[t],e.stroke(),e.fillStyle=BR.text,e.fillText(o,n,r),HR(e,{x:n,y:r,w:i,h:a,r:3}),e.fillStyle=`${BR[t]}dd`,e.fill(),e.strokeStyle=BR[t],e.stroke(),e.fillStyle=BR.text,e.fillText(o,n,r),{x:n,y:r,w:i,h:a}}function JR(e,t){e.font=`600 12px monospace`,e.textBaseline=`middle`,e.textAlign=`center`;let n=e.measureText(t),r=n.actualBoundingBoxAscent+n.actualBoundingBoxDescent;return{w:n.width+VR*2,h:r+VR*2}}function YR(e,t,{type:n,position:r=`center`,text:i},a,o=!1){let{x:s,y:c}=UR(r,t),{offsetX:l,offsetY:u}=WR(n,r,t,VR+1,o);s+=l,c+=u;let{w:d,h:f}=JR(e,i);if(a&&GR({x:s,y:c,w:d,h:f},a)){let e=KR(r,{x:s,y:c,w:d,h:f},a);s=e.x,c=e.y}return qR(e,n,{x:s,y:c,w:d,h:f},i)}function XR(e,{w:t,h:n}){let r=t*.5+VR,i=n*.5+VR;return{offsetX:(e.x===`left`?-1:1)*r,offsetY:(e.y===`top`?-1:1)*i}}function ZR(e,t,{type:n,text:r}){let{floatingAlignment:i,extremities:a}=t,o=a[i.x],s=a[i.y],{w:c,h:l}=JR(e,r),{offsetX:u,offsetY:d}=XR(i,{w:c,h:l});return o+=u,s+=d,qR(e,n,{x:o,y:s,w:c,h:l},r)}function QR(e,t,n,r){let i=[];n.forEach((n,a)=>{i[a]=r&&n.position===`center`?ZR(e,t,n):YR(e,t,n,i[a-1],r)})}function $R(e,t,n,r){let i=n.reduce((e,t)=>(Object.prototype.hasOwnProperty.call(e,t.position)||(e[t.position]=[]),e[t.position]?.push(t),e),{});i.top&&QR(e,t,i.top,r),i.right&&QR(e,t,i.right,r),i.bottom&&QR(e,t,i.bottom,r),i.left&&QR(e,t,i.left,r),i.center&&QR(e,t,i.center,r)}var ez={margin:`#f6b26ba8`,border:`#ffe599a8`,padding:`#93c47d8c`,content:`#6fa8dca8`},tz=30;function nz(e){return parseInt(e.replace(`px`,``),10)}function rz(e){return Number.isInteger(e)?e:e.toFixed(2)}function iz(e){return e.filter(e=>e.text!==0&&e.text!==`0`)}function az(e){let t={top:W.window.scrollY,bottom:W.window.scrollY+W.window.innerHeight,left:W.window.scrollX,right:W.window.scrollX+W.window.innerWidth},n={top:Math.abs(t.top-e.top),bottom:Math.abs(t.bottom-e.bottom),left:Math.abs(t.left-e.left),right:Math.abs(t.right-e.right)};return{x:n.left>n.right?`left`:`right`,y:n.top>n.bottom?`top`:`bottom`}}function oz(e){let t=W.getComputedStyle(e),{top:n,left:r,right:i,bottom:a,width:o,height:s}=e.getBoundingClientRect(),{marginTop:c,marginBottom:l,marginLeft:u,marginRight:d,paddingTop:f,paddingBottom:p,paddingLeft:m,paddingRight:h,borderBottomWidth:g,borderTopWidth:_,borderLeftWidth:v,borderRightWidth:y}=t;n+=W.window.scrollY,r+=W.window.scrollX,a+=W.window.scrollY,i+=W.window.scrollX;let b={top:nz(c),bottom:nz(l),left:nz(u),right:nz(d)},x={top:nz(f),bottom:nz(p),left:nz(m),right:nz(h)},S={top:nz(_),bottom:nz(g),left:nz(v),right:nz(y)},C={top:n-b.top,bottom:a+b.bottom,left:r-b.left,right:i+b.right};return{margin:b,padding:x,border:S,top:n,left:r,bottom:a,right:i,width:o,height:s,extremities:C,floatingAlignment:az(C)}}function sz(e,{margin:t,width:n,height:r,top:i,left:a,bottom:o,right:s}){let c=r+t.bottom+t.top;return e.fillStyle=ez.margin,e.fillRect(a,i-t.top,n,t.top),e.fillRect(s,i-t.top,t.right,c),e.fillRect(a,o,n,t.bottom),e.fillRect(a-t.left,i-t.top,t.left,c),iz([{type:`margin`,text:rz(t.top),position:`top`},{type:`margin`,text:rz(t.right),position:`right`},{type:`margin`,text:rz(t.bottom),position:`bottom`},{type:`margin`,text:rz(t.left),position:`left`}])}function cz(e,{padding:t,border:n,width:r,height:i,top:a,left:o,bottom:s,right:c}){let l=r-n.left-n.right,u=i-t.top-t.bottom-n.top-n.bottom;return e.fillStyle=ez.padding,e.fillRect(o+n.left,a+n.top,l,t.top),e.fillRect(c-t.right-n.right,a+t.top+n.top,t.right,u),e.fillRect(o+n.left,s-t.bottom-n.bottom,l,t.bottom),e.fillRect(o+n.left,a+t.top+n.top,t.left,u),iz([{type:`padding`,text:t.top,position:`top`},{type:`padding`,text:t.right,position:`right`},{type:`padding`,text:t.bottom,position:`bottom`},{type:`padding`,text:t.left,position:`left`}])}function lz(e,{border:t,width:n,height:r,top:i,left:a,bottom:o,right:s}){let c=r-t.top-t.bottom;return e.fillStyle=ez.border,e.fillRect(a,i,n,t.top),e.fillRect(a,o-t.bottom,n,t.bottom),e.fillRect(a,i+t.top,t.left,c),e.fillRect(s-t.right,i+t.top,t.right,c),iz([{type:`border`,text:t.top,position:`top`},{type:`border`,text:t.right,position:`right`},{type:`border`,text:t.bottom,position:`bottom`},{type:`border`,text:t.left,position:`left`}])}function uz(e,{padding:t,border:n,width:r,height:i,top:a,left:o}){let s=r-n.left-n.right-t.left-t.right,c=i-t.top-t.bottom-n.top-n.bottom;return e.fillStyle=ez.content,e.fillRect(o+n.left+t.left,a+n.top+t.top,s,c),[{type:`content`,position:`center`,text:`${rz(s)} x ${rz(c)}`}]}function dz(e){return t=>{if(e&&t){let n=oz(e),r=sz(t,n),i=cz(t,n),a=lz(t,n),o=uz(t,n),s=n.width<=tz*3||n.height<=tz;$R(t,n,[...o,...i,...a,...r],s)}}}function fz(e){LR(dz(e))}var pz=(e,t)=>{let n=W.document.elementFromPoint(e,t),r=n=>{if(n&&n.shadowRoot){let i=n.shadowRoot.elementFromPoint(e,t);return n.isEqualNode(i)?n:i.shadowRoot?r(i):i}return n};return r(n)||n},mz,hz={x:0,y:0};function gz(e,t){mz=pz(e,t),fz(mz)}var _z=globalThis.FEATURES?.measure?[(e,t)=>{let{measureEnabled:n}=t.globals||{};return Gd(()=>{if(typeof globalThis.document>`u`)return;let e=e=>{window.requestAnimationFrame(()=>{e.stopPropagation(),hz.x=e.clientX,hz.y=e.clientY})};return globalThis.document.addEventListener(`pointermove`,e),()=>{globalThis.document.removeEventListener(`pointermove`,e)}},[]),Gd(()=>{let e=e=>{window.requestAnimationFrame(()=>{e.stopPropagation(),gz(e.clientX,e.clientY)})},r=()=>{window.requestAnimationFrame(()=>{RR()})};return t.viewMode===`story`&&n&&(globalThis.document.addEventListener(`pointerover`,e),FR(),globalThis.window.addEventListener(`resize`,r),gz(hz.x,hz.y)),()=>{globalThis.window.removeEventListener(`resize`,r),zR()}},[n,t.viewMode]),e()}]:[],vz={[AR]:!1},yz=()=>({decorators:_z,initialGlobals:vz}),bz=`outline`,xz=e=>{(Array.isArray(e)?e:[e]).forEach(Sz)},Sz=e=>{let t=typeof e==`string`?e:e.join(``),n=W.document.getElementById(t);n&&n.parentElement&&n.parentElement.removeChild(n)},Cz=(e,t)=>{let n=W.document.getElementById(e);if(n)n.innerHTML!==t&&(n.innerHTML=t);else{let n=W.document.createElement(`style`);n.setAttribute(`id`,e),n.innerHTML=t,W.document.head.appendChild(n)}};function wz(e){return _o`
469
+ ${e} body {
470
+ outline: 1px solid #2980b9 !important;
471
+ }
472
+
473
+ ${e} article {
474
+ outline: 1px solid #3498db !important;
475
+ }
476
+
477
+ ${e} nav {
478
+ outline: 1px solid #0088c3 !important;
479
+ }
480
+
481
+ ${e} aside {
482
+ outline: 1px solid #33a0ce !important;
483
+ }
484
+
485
+ ${e} section {
486
+ outline: 1px solid #66b8da !important;
487
+ }
488
+
489
+ ${e} header {
490
+ outline: 1px solid #99cfe7 !important;
491
+ }
492
+
493
+ ${e} footer {
494
+ outline: 1px solid #cce7f3 !important;
495
+ }
496
+
497
+ ${e} h1 {
498
+ outline: 1px solid #162544 !important;
499
+ }
500
+
501
+ ${e} h2 {
502
+ outline: 1px solid #314e6e !important;
503
+ }
504
+
505
+ ${e} h3 {
506
+ outline: 1px solid #3e5e85 !important;
507
+ }
508
+
509
+ ${e} h4 {
510
+ outline: 1px solid #449baf !important;
511
+ }
512
+
513
+ ${e} h5 {
514
+ outline: 1px solid #c7d1cb !important;
515
+ }
516
+
517
+ ${e} h6 {
518
+ outline: 1px solid #4371d0 !important;
519
+ }
520
+
521
+ ${e} main {
522
+ outline: 1px solid #2f4f90 !important;
523
+ }
524
+
525
+ ${e} address {
526
+ outline: 1px solid #1a2c51 !important;
527
+ }
528
+
529
+ ${e} div {
530
+ outline: 1px solid #036cdb !important;
531
+ }
532
+
533
+ ${e} p {
534
+ outline: 1px solid #ac050b !important;
535
+ }
536
+
537
+ ${e} hr {
538
+ outline: 1px solid #ff063f !important;
539
+ }
540
+
541
+ ${e} pre {
542
+ outline: 1px solid #850440 !important;
543
+ }
544
+
545
+ ${e} blockquote {
546
+ outline: 1px solid #f1b8e7 !important;
547
+ }
548
+
549
+ ${e} ol {
550
+ outline: 1px solid #ff050c !important;
551
+ }
552
+
553
+ ${e} ul {
554
+ outline: 1px solid #d90416 !important;
555
+ }
556
+
557
+ ${e} li {
558
+ outline: 1px solid #d90416 !important;
559
+ }
560
+
561
+ ${e} dl {
562
+ outline: 1px solid #fd3427 !important;
563
+ }
564
+
565
+ ${e} dt {
566
+ outline: 1px solid #ff0043 !important;
567
+ }
568
+
569
+ ${e} dd {
570
+ outline: 1px solid #e80174 !important;
571
+ }
572
+
573
+ ${e} figure {
574
+ outline: 1px solid #ff00bb !important;
575
+ }
576
+
577
+ ${e} figcaption {
578
+ outline: 1px solid #bf0032 !important;
579
+ }
580
+
581
+ ${e} table {
582
+ outline: 1px solid #00cc99 !important;
583
+ }
584
+
585
+ ${e} caption {
586
+ outline: 1px solid #37ffc4 !important;
587
+ }
588
+
589
+ ${e} thead {
590
+ outline: 1px solid #98daca !important;
591
+ }
592
+
593
+ ${e} tbody {
594
+ outline: 1px solid #64a7a0 !important;
595
+ }
596
+
597
+ ${e} tfoot {
598
+ outline: 1px solid #22746b !important;
599
+ }
600
+
601
+ ${e} tr {
602
+ outline: 1px solid #86c0b2 !important;
603
+ }
604
+
605
+ ${e} th {
606
+ outline: 1px solid #a1e7d6 !important;
607
+ }
608
+
609
+ ${e} td {
610
+ outline: 1px solid #3f5a54 !important;
611
+ }
612
+
613
+ ${e} col {
614
+ outline: 1px solid #6c9a8f !important;
615
+ }
616
+
617
+ ${e} colgroup {
618
+ outline: 1px solid #6c9a9d !important;
619
+ }
620
+
621
+ ${e} button {
622
+ outline: 1px solid #da8301 !important;
623
+ }
624
+
625
+ ${e} datalist {
626
+ outline: 1px solid #c06000 !important;
627
+ }
628
+
629
+ ${e} fieldset {
630
+ outline: 1px solid #d95100 !important;
631
+ }
632
+
633
+ ${e} form {
634
+ outline: 1px solid #d23600 !important;
635
+ }
636
+
637
+ ${e} input {
638
+ outline: 1px solid #fca600 !important;
639
+ }
640
+
641
+ ${e} keygen {
642
+ outline: 1px solid #b31e00 !important;
643
+ }
644
+
645
+ ${e} label {
646
+ outline: 1px solid #ee8900 !important;
647
+ }
648
+
649
+ ${e} legend {
650
+ outline: 1px solid #de6d00 !important;
651
+ }
652
+
653
+ ${e} meter {
654
+ outline: 1px solid #e8630c !important;
655
+ }
656
+
657
+ ${e} optgroup {
658
+ outline: 1px solid #b33600 !important;
659
+ }
660
+
661
+ ${e} option {
662
+ outline: 1px solid #ff8a00 !important;
663
+ }
664
+
665
+ ${e} output {
666
+ outline: 1px solid #ff9619 !important;
667
+ }
668
+
669
+ ${e} progress {
670
+ outline: 1px solid #e57c00 !important;
671
+ }
672
+
673
+ ${e} select {
674
+ outline: 1px solid #e26e0f !important;
675
+ }
676
+
677
+ ${e} textarea {
678
+ outline: 1px solid #cc5400 !important;
679
+ }
680
+
681
+ ${e} details {
682
+ outline: 1px solid #33848f !important;
683
+ }
684
+
685
+ ${e} summary {
686
+ outline: 1px solid #60a1a6 !important;
687
+ }
688
+
689
+ ${e} command {
690
+ outline: 1px solid #438da1 !important;
691
+ }
692
+
693
+ ${e} menu {
694
+ outline: 1px solid #449da6 !important;
695
+ }
696
+
697
+ ${e} del {
698
+ outline: 1px solid #bf0000 !important;
699
+ }
700
+
701
+ ${e} ins {
702
+ outline: 1px solid #400000 !important;
703
+ }
704
+
705
+ ${e} img {
706
+ outline: 1px solid #22746b !important;
707
+ }
708
+
709
+ ${e} iframe {
710
+ outline: 1px solid #64a7a0 !important;
711
+ }
712
+
713
+ ${e} embed {
714
+ outline: 1px solid #98daca !important;
715
+ }
716
+
717
+ ${e} object {
718
+ outline: 1px solid #00cc99 !important;
719
+ }
720
+
721
+ ${e} param {
722
+ outline: 1px solid #37ffc4 !important;
723
+ }
724
+
725
+ ${e} video {
726
+ outline: 1px solid #6ee866 !important;
727
+ }
728
+
729
+ ${e} audio {
730
+ outline: 1px solid #027353 !important;
731
+ }
732
+
733
+ ${e} source {
734
+ outline: 1px solid #012426 !important;
735
+ }
736
+
737
+ ${e} canvas {
738
+ outline: 1px solid #a2f570 !important;
739
+ }
740
+
741
+ ${e} track {
742
+ outline: 1px solid #59a600 !important;
743
+ }
744
+
745
+ ${e} map {
746
+ outline: 1px solid #7be500 !important;
747
+ }
748
+
749
+ ${e} area {
750
+ outline: 1px solid #305900 !important;
751
+ }
752
+
753
+ ${e} a {
754
+ outline: 1px solid #ff62ab !important;
755
+ }
756
+
757
+ ${e} em {
758
+ outline: 1px solid #800b41 !important;
759
+ }
760
+
761
+ ${e} strong {
762
+ outline: 1px solid #ff1583 !important;
763
+ }
764
+
765
+ ${e} i {
766
+ outline: 1px solid #803156 !important;
767
+ }
768
+
769
+ ${e} b {
770
+ outline: 1px solid #cc1169 !important;
771
+ }
772
+
773
+ ${e} u {
774
+ outline: 1px solid #ff0430 !important;
775
+ }
776
+
777
+ ${e} s {
778
+ outline: 1px solid #f805e3 !important;
779
+ }
780
+
781
+ ${e} small {
782
+ outline: 1px solid #d107b2 !important;
783
+ }
784
+
785
+ ${e} abbr {
786
+ outline: 1px solid #4a0263 !important;
787
+ }
788
+
789
+ ${e} q {
790
+ outline: 1px solid #240018 !important;
791
+ }
792
+
793
+ ${e} cite {
794
+ outline: 1px solid #64003c !important;
795
+ }
796
+
797
+ ${e} dfn {
798
+ outline: 1px solid #b4005a !important;
799
+ }
800
+
801
+ ${e} sub {
802
+ outline: 1px solid #dba0c8 !important;
803
+ }
804
+
805
+ ${e} sup {
806
+ outline: 1px solid #cc0256 !important;
807
+ }
808
+
809
+ ${e} time {
810
+ outline: 1px solid #d6606d !important;
811
+ }
812
+
813
+ ${e} code {
814
+ outline: 1px solid #e04251 !important;
815
+ }
816
+
817
+ ${e} kbd {
818
+ outline: 1px solid #5e001f !important;
819
+ }
820
+
821
+ ${e} samp {
822
+ outline: 1px solid #9c0033 !important;
823
+ }
824
+
825
+ ${e} var {
826
+ outline: 1px solid #d90047 !important;
827
+ }
828
+
829
+ ${e} mark {
830
+ outline: 1px solid #ff0053 !important;
831
+ }
832
+
833
+ ${e} bdi {
834
+ outline: 1px solid #bf3668 !important;
835
+ }
836
+
837
+ ${e} bdo {
838
+ outline: 1px solid #6f1400 !important;
839
+ }
840
+
841
+ ${e} ruby {
842
+ outline: 1px solid #ff7b93 !important;
843
+ }
844
+
845
+ ${e} rt {
846
+ outline: 1px solid #ff2f54 !important;
847
+ }
848
+
849
+ ${e} rp {
850
+ outline: 1px solid #803e49 !important;
851
+ }
852
+
853
+ ${e} span {
854
+ outline: 1px solid #cc2643 !important;
855
+ }
856
+
857
+ ${e} br {
858
+ outline: 1px solid #db687d !important;
859
+ }
860
+
861
+ ${e} wbr {
862
+ outline: 1px solid #db175b !important;
863
+ }`}var Tz=globalThis.FEATURES?.outline?[(e,t)=>{let n=t.globals||{},r=[!0,`true`].includes(n[bz]),i=t.viewMode===`docs`,a=Ld(()=>wz(i?`[data-story-block="true"]`:`.sb-show-main`),[t]);return Gd(()=>{let e=i?`addon-outline-docs-${t.id}`:`addon-outline`;return r?Cz(e,a):xz(e),()=>{xz(e)}},[r,a,t]),e()}]:[],Ez={[bz]:!1},Dz=()=>({decorators:Tz,initialGlobals:Ez}),Oz=({parameters:e})=>{e?.test?.mockReset===!0?AE():e?.test?.clearMocks===!0?kE():e?.test?.restoreMocks!==!1&&jE()},kz=(e,t=0,n)=>{if(t>5||e==null)return e;if(Hw(e))return n&&e.mockName(n),e;if(typeof e==`function`&&`isAction`in e&&e.isAction&&!(`implicit`in e&&e.implicit)){let t=EE(e);return n&&t.mockName(n),t}if(Array.isArray(e)){t++;for(let n=0;n<e.length;n++)Object.getOwnPropertyDescriptor(e,n)?.writable&&(e[n]=kz(e[n],t));return e}if(typeof e==`object`&&e.constructor===Object){t++;for(let[n,r]of Object.entries(e))Object.getOwnPropertyDescriptor(e,n)?.writable&&(e[n]=kz(r,t,n));return e}return e},Az=({initialArgs:e})=>{kz(e)},jz=!1,Mz=async e=>{globalThis.HTMLElement&&e.canvasElement instanceof globalThis.HTMLElement&&(e.canvas=CL(e.canvasElement));try{let t=globalThis.window?.navigator?.clipboard;if(t&&(e.userEvent=L_({userEvent:TL.setup()},{intercept:!0,getKeys:e=>Object.keys(e).filter(e=>e!==`eventWrapper`)}).userEvent,Object.defineProperty(globalThis.window.navigator,`clipboard`,{get:()=>t,configurable:!0}),!jz)){let e=HTMLElement.prototype.focus,t=HTMLElement.prototype.focus,n=new Set;Object.defineProperties(HTMLElement.prototype,{focus:{configurable:!0,set:e=>{t=e},get(){return n.has(this)?e:(n.add(this),setTimeout(()=>n.delete(this),0),t)}}}),jz=!0}}catch{}},Nz=()=>({loaders:[Oz,Az,Mz]}),Pz=`storybook/viewport`,Fz=`viewport`;`${Pz}`,`${Pz}`;var Iz={[Fz]:{value:void 0,isRotated:!1}},Lz=()=>({initialGlobals:Iz});function Rz(){return[(yz.default??yz)(),(JL.default??JL)(),(OR.default??OR)(),(Dz.default??Dz)(),(Lz.default??Lz)(),(jL.default??jL)(),(XL.default??XL)(),(Nz.default??Nz)(),($L.default??$L)()]}function zz(e){return typeof e==`object`&&!!e&&`_tag`in e&&e?._tag===`Meta`}function Bz(e){return typeof e==`object`&&!!e&&`_tag`in e&&e?._tag===`Story`}function Vz(e){return`__children`in e?e.__children:[]}var Hz=e=>e.toLowerCase().replace(/[ ’–—―′¿'`~!@#$%^&*()_|+\-=?;:'",.<>\{\}\[\]\\\/]/gi,`-`).replace(/-+/g,`-`).replace(/^-+/,``).replace(/-+$/,``),Uz=(e,t)=>{let n=Hz(e);if(n===``)throw Error(`Invalid ${t} '${e}', must include alphanumeric characters`);return n},Wz=(e,t)=>`${Uz(e,`kind`)}${t?`--${Uz(t,`name`)}`:``}`,Gz=(e,t)=>`${e}:${Uz(t,`test`)}`,Kz=e=>Qd(e);function qz(e,t){return Array.isArray(t)?t.includes(e):e.match(t)}function Jz(e,{includeStories:t,excludeStories:n}){return e!==`__esModule`&&(!t||qz(e,t))&&(!n||!qz(e,n))}var Yz=(...e)=>{let t=e.reduce((e,t)=>(t.startsWith(`!`)?e.delete(t.slice(1)):e.add(t),e),new Set);return Array.from(t)};function Xz(e){return Object.getOwnPropertySymbols(e).filter(t=>Object.prototype.propertyIsEnumerable.call(e,t))}function Zz(e){return e==null?e===void 0?`[object Undefined]`:`[object Null]`:Object.prototype.toString.call(e)}var Qz=`[object RegExp]`,$z=`[object String]`,eB=`[object Number]`,tB=`[object Boolean]`,nB=`[object Arguments]`,rB=`[object Symbol]`,iB=`[object Date]`,aB=`[object Map]`,oB=`[object Set]`,sB=`[object Array]`,cB=`[object Function]`,lB=`[object ArrayBuffer]`,uB=`[object Object]`,dB=`[object Error]`,fB=`[object DataView]`,pB=`[object Uint8Array]`,mB=`[object Uint8ClampedArray]`,hB=`[object Uint16Array]`,gB=`[object Uint32Array]`,_B=`[object BigUint64Array]`,vB=`[object Int8Array]`,yB=`[object Int16Array]`,bB=`[object Int32Array]`,xB=`[object BigInt64Array]`,SB=`[object Float32Array]`,CB=`[object Float64Array]`;function wB(e){if(!e||typeof e!=`object`)return!1;let t=Object.getPrototypeOf(e);return t===null||t===Object.prototype||Object.getPrototypeOf(t)===null?Object.prototype.toString.call(e)===`[object Object]`:!1}function TB(e,t){let n={},r=Object.keys(e);for(let i=0;i<r.length;i++){let a=r[i],o=e[a];n[a]=t(o,a,e)}return n}function EB(e,t){let n={},r=Object.keys(e);for(let i=0;i<r.length;i++){let a=r[i],o=e[a];t(o,a)&&(n[a]=o)}return n}var DB=S(Fi(),1);function OB(e,t){return e===t||Number.isNaN(e)&&Number.isNaN(t)}function kB(e,t,n){return AB(e,t,void 0,void 0,void 0,void 0,n)}function AB(e,t,n,r,i,a,o){let s=o(e,t,n,r,i,a);if(s!==void 0)return s;if(typeof e==typeof t)switch(typeof e){case`bigint`:case`string`:case`boolean`:case`symbol`:case`undefined`:return e===t;case`number`:return e===t||Object.is(e,t);case`function`:return e===t;case`object`:return jB(e,t,a,o)}return jB(e,t,a,o)}function jB(e,t,n,r){if(Object.is(e,t))return!0;let i=Zz(e),a=Zz(t);if(i===nB&&(i=uB),a===nB&&(a=uB),i!==a)return!1;switch(i){case $z:return e.toString()===t.toString();case eB:return OB(e.valueOf(),t.valueOf());case tB:case iB:case rB:return Object.is(e.valueOf(),t.valueOf());case Qz:return e.source===t.source&&e.flags===t.flags;case cB:return e===t}n??=new Map;let o=n.get(e),s=n.get(t);if(o!=null&&s!=null)return o===t;n.set(e,t),n.set(t,e);try{switch(i){case aB:if(e.size!==t.size)return!1;for(let[i,a]of e.entries())if(!t.has(i)||!AB(a,t.get(i),i,e,t,n,r))return!1;return!0;case oB:{if(e.size!==t.size)return!1;let i=Array.from(e.values()),a=Array.from(t.values());for(let o=0;o<i.length;o++){let s=i[o],c=a.findIndex(i=>AB(s,i,void 0,e,t,n,r));if(c===-1)return!1;a.splice(c,1)}return!0}case sB:case pB:case mB:case hB:case gB:case _B:case vB:case yB:case bB:case xB:case SB:case CB:if(typeof Buffer<`u`&&Buffer.isBuffer(e)!==Buffer.isBuffer(t)||e.length!==t.length)return!1;for(let i=0;i<e.length;i++)if(!AB(e[i],t[i],i,e,t,n,r))return!1;return!0;case lB:return e.byteLength===t.byteLength?jB(new Uint8Array(e),new Uint8Array(t),n,r):!1;case fB:return e.byteLength!==t.byteLength||e.byteOffset!==t.byteOffset?!1:jB(new Uint8Array(e),new Uint8Array(t),n,r);case dB:return e.name===t.name&&e.message===t.message;case uB:{if(!(jB(e.constructor,t.constructor,n,r)||wB(e)&&wB(t)))return!1;let i=[...Object.keys(e),...Xz(e)],a=[...Object.keys(t),...Xz(t)];if(i.length!==a.length)return!1;for(let a=0;a<i.length;a++){let o=i[a],s=e[o];if(!Object.hasOwn(t,o))return!1;let c=t[o];if(!AB(s,c,o,e,t,n,r))return!1}return!0}default:return!1}}finally{n.delete(e),n.delete(t)}}function MB(){}function NB(e,t){return kB(e,t,MB)}var PB=Symbol(`incompatible`),FB=(e,t)=>{let n=t.type;if(e==null||!n||t.mapping)return e;switch(n.name){case`string`:return String(e);case`enum`:return e;case`number`:return Number(e);case`boolean`:return String(e)===`true`;case`array`:return!n.value||!Array.isArray(e)?PB:e.reduce((e,t,r)=>{let i=FB(t,{type:n.value});return i!==PB&&(e[r]=i),e},Array(e.length));case`object`:return typeof e==`string`||typeof e==`number`?e:!n.value||typeof e!=`object`?PB:Object.entries(e).reduce((e,[t,r])=>{let i=FB(r,{type:n.value[t]});return i===PB?e:Object.assign(e,{[t]:i})},{});case`other`:{let t=typeof e==`string`||typeof e==`number`||typeof e==`boolean`;return n.value===`ReactNode`&&t?e:PB}default:return PB}},IB=(e,t)=>Object.entries(e).reduce((e,[n,r])=>{if(!t[n])return e;let i=FB(r,t[n]);return i===PB?e:Object.assign(e,{[n]:i})},{}),LB=(e,t)=>Array.isArray(e)&&Array.isArray(t)?t.reduce((n,r,i)=>(n[i]=LB(e[i],t[i]),n),[...e]).filter(e=>e!==void 0):!wB(e)||!wB(t)?t:Object.keys({...e,...t}).reduce((n,r)=>{if(r in t){let i=LB(e[r],t[r]);i!==void 0&&(n[r]=i)}else n[r]=e[r];return n},{}),RB=(e,t)=>Object.entries(t).reduce((t,[n,{options:r}])=>{function i(){return n in e&&(t[n]=e[n]),t}if(!r)return i();if(!Array.isArray(r))return Mo.error(_o`
864
+ Invalid argType: '${n}.options' should be an array.
865
+
866
+ More info: https://storybook.js.org/docs/api/arg-types?ref=error
867
+ `),i();if(r.some(e=>e&&[`object`,`function`].includes(typeof e)))return Mo.error(_o`
868
+ Invalid argType: '${n}.options' should only contain primitives. Use a 'mapping' for complex values.
869
+
870
+ More info: https://storybook.js.org/docs/writing-stories/args?ref=error#mapping-to-complex-arg-values
871
+ `),i();let a=Array.isArray(e[n]),o=a&&e[n].findIndex(e=>!r.includes(e)),s=a&&o===-1;if(e[n]===void 0||r.includes(e[n])||s)return i();let c=a?`${n}[${o}]`:n,l=r.map(e=>typeof e==`string`?`'${e}'`:String(e)).join(`, `);return Mo.warn(`Received illegal value for '${c}'. Supported options: ${l}`),t},{}),zB=Symbol(`Deeply equal`),BB=(e,t)=>{if(typeof e!=typeof t)return t;if(NB(e,t))return zB;if(Array.isArray(e)&&Array.isArray(t)){let n=t.reduce((t,n,r)=>{let i=BB(e[r],n);return i!==zB&&(t[r]=i),t},Array(t.length));return t.length>=e.length?n:n.concat(Array(e.length-t.length).fill(void 0))}return wB(e)&&wB(t)?Object.keys({...e,...t}).reduce((n,r)=>{let i=BB(e?.[r],t?.[r]);return i===zB?n:Object.assign(n,{[r]:i})},{}):t},VB=`UNTARGETED`;function HB({args:e,argTypes:t}){let n={};return Object.entries(e).forEach(([e,r])=>{let{target:i=VB}=t[e]||{};n[i]=n[i]||{},n[i][e]=r}),n}function UB(e){return Object.keys(e).forEach(t=>e[t]===void 0&&delete e[t]),e}var WB=class{constructor(){this.initialArgsByStoryId={},this.argsByStoryId={}}get(e){if(!(e in this.argsByStoryId))throw Error(`No args known for ${e} -- has it been rendered yet?`);return this.argsByStoryId[e]}setInitial(e){if(!this.initialArgsByStoryId[e.id])this.initialArgsByStoryId[e.id]=e.initialArgs,this.argsByStoryId[e.id]=e.initialArgs;else if(this.initialArgsByStoryId[e.id]!==e.initialArgs){let t=BB(this.initialArgsByStoryId[e.id],this.argsByStoryId[e.id]);this.initialArgsByStoryId[e.id]=e.initialArgs,this.argsByStoryId[e.id]=e.initialArgs,t!==zB&&this.updateFromDelta(e,t)}}updateFromDelta(e,t){let n=RB(t,e.argTypes);this.argsByStoryId[e.id]=LB(this.argsByStoryId[e.id],n)}updateFromPersisted(e,t){let n=IB(t,e.argTypes);return this.updateFromDelta(e,n)}update(e,t){if(!(e in this.argsByStoryId))throw Error(`No args known for ${e} -- has it been rendered yet?`);this.argsByStoryId[e]=UB({...this.argsByStoryId[e],...t})}},GB=(e={})=>Object.entries(e).reduce((e,[t,{defaultValue:n}])=>(typeof n<`u`&&(e[t]=n),e),{}),KB=class{constructor({globals:e={},globalTypes:t={}}){this.set({globals:e,globalTypes:t})}set({globals:e={},globalTypes:t={}}){let n=this.initialGlobals&&BB(this.initialGlobals,this.globals);this.allowedGlobalNames=new Set([...Object.keys(e),...Object.keys(t)]),this.initialGlobals={...GB(t),...e},this.globals=this.initialGlobals,n&&n!==zB&&this.updateFromPersisted(n)}filterAllowedGlobals(e){return Object.entries(e).reduce((e,[t,n])=>(this.allowedGlobalNames.has(t)?e[t]=n:Ao.warn(`Attempted to set a global (${t}) that is not defined in initial globals or globalTypes`),e),{})}updateFromPersisted(e){let t=this.filterAllowedGlobals(e);this.globals={...this.globals,...t}}get(){return this.globals}update(e){for(let t in this.globals={...this.globals,...this.filterAllowedGlobals(e)},e)e[t]===void 0&&(this.globals[t]=this.initialGlobals[t])}},qB=(0,S(Fi(),1).default)(1)(e=>Object.values(e).reduce((e,t)=>(e[t.importPath]=e[t.importPath]||t,e),{})),JB=class{constructor({entries:e}={v:5,entries:{}}){this.entries=e}entryFromSpecifier(e){let t=Object.values(this.entries);if(e===`*`)return t[0];if(typeof e==`string`)return this.entries[e]?this.entries[e]:t.find(t=>t.id.startsWith(e));let{name:n,title:r}=e;return t.find(e=>e.name===n&&e.title===r)}storyIdToEntry(e){let t=this.entries[e];if(!t)throw new zu({storyId:e});return t}importPathToEntry(e){return qB(this.entries)[e]}},YB=e=>typeof e==`string`?{name:e}:e,XB=e=>typeof e==`string`?{type:e}:e,ZB=(e,t)=>{let{type:n,control:r,...i}=e,a={name:t,...i};return n&&(a.type=YB(n)),r?a.control=XB(r):r===!1&&(a.control={disable:!0}),a},QB=e=>TB(e,ZB),$B=e=>Array.isArray(e)?e:e?[e]:[],eV=_o`
872
+ CSF .story annotations deprecated; annotate story functions directly:
873
+ - StoryFn.story.name => StoryFn.storyName
874
+ - StoryFn.story.(parameters|decorators) => StoryFn.(parameters|decorators)
875
+ See https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#hoisted-csf-annotations for details and codemod.
876
+ `;function tV(e,t,n){let r=t,i=typeof t==`function`?t:null,{story:a}=r;a&&(Ao.debug(`deprecated story`,a),No(eV));let o=Kz(e),s=typeof r!=`function`&&r.name||r.storyName||a?.name||o,c=[...$B(r.decorators),...$B(a?.decorators)],l={...a?.parameters,...r.parameters},u={...a?.args,...r.args},d={...a?.argTypes,...r.argTypes},f=[...$B(r.loaders),...$B(a?.loaders)],p=[...$B(r.beforeEach),...$B(a?.beforeEach)],m=[...$B(r.afterEach),...$B(a?.afterEach)],{render:h,play:g,tags:_=[],globals:v={}}=r;return{moduleExport:t,id:l.__id||Wz(n.id,o),name:s,tags:_,decorators:c,parameters:l,args:u,argTypes:QB(d),loaders:f,beforeEach:p,afterEach:m,globals:v,...h&&{render:h},...i&&{userStoryFn:i},...g&&{play:g}}}function nV(e,t=e.title,n){let{id:r,argTypes:i}=e;return{id:Hz(r||t),...e,title:t,...i&&{argTypes:QB(i)},parameters:{fileName:n,...e.parameters}}}var rV=e=>{let{globals:t,globalTypes:n}=e;(t||n)&&Ao.error(`Global args/argTypes can only be set globally`,JSON.stringify({globals:t,globalTypes:n}))},iV=e=>{let{options:t}=e;t?.storySort&&Ao.error(`The storySort option parameter can only be set globally`)},aV=e=>{e&&(rV(e),iV(e))};function oV(e,t,n){let{default:r,__namedExportsOrder:i,...a}=e,o=Object.values(a).find(e=>Bz(e));if(o){let r=nV(o.meta.input,n,t);aV(r.parameters);let i={meta:r,stories:{},moduleExports:e};return Object.keys(a).forEach(e=>{if(Jz(e,r)&&Bz(a[e])){let t=a[e],n=tV(e,t.input,r);aV(n.parameters),i.stories[n.id]=n,Vz(t).forEach(e=>{let t=e.input.name,a=Gz(n.id,t);e.input.parameters??={},e.input.parameters.__id=a,i.stories[a]=tV(t,e.input,r)})}}),i.projectAnnotations=o.meta.preview.composed,i}let s=nV(r,n,t);aV(s.parameters);let c={meta:s,stories:{},moduleExports:e};return Object.keys(a).forEach(e=>{if(Jz(e,s)){let t=tV(e,a[e],s);aV(t.parameters),c.stories[t.id]=t}}),c}function sV(e,t,n){let r=n(e);return e=>t(r,e)}function cV({componentId:e,title:t,kind:n,id:r,name:i,story:a,parameters:o,initialArgs:s,argTypes:c,...l}={}){return l}function lV(e,t){let n={},r=e=>t=>{if(!n.value)throw Error(`Decorated function called without init`);return n.value={...n.value,...cV(t)},e(n.value)},i=t.reduce((e,t)=>sV(e,t,r),e);return e=>(n.value=e,i(e))}var uV=(...e)=>{let t={},n=e.filter(Boolean),r=n.reduce((e,n)=>(Object.entries(n).forEach(([n,r])=>{let i=e[n];Array.isArray(r)||typeof i>`u`?e[n]=r:wB(r)&&wB(i)?t[n]=!0:typeof r<`u`&&(e[n]=r)}),e),{});return Object.keys(t).forEach(e=>{let t=n.filter(Boolean).map(t=>t[e]).filter(e=>typeof e<`u`);t.every(e=>wB(e))?r[e]=uV(...t):r[e]=t[t.length-1]}),r};function dV(e,t,n){let{moduleExport:r,id:i,name:a}=e||{},o=pV(e,t,n),s=async r=>{let i={};for(let a of[$B(n.loaders),$B(t.loaders),$B(e.loaders)]){if(r.abortSignal.aborted)return i;let e=await Promise.all(a.map(e=>e(r)));Object.assign(i,...e)}return i},c=async r=>{let i=[];for(let a of[...$B(n.beforeEach),...$B(t.beforeEach),...$B(e.beforeEach)]){if(r.abortSignal.aborted)return i;let e=await a(r);e&&i.push(e)}return i},l=async r=>{let i=[...$B(n.afterEach),...$B(t.afterEach),...$B(e.afterEach)].reverse();for(let e of i){if(r.abortSignal.aborted)return;await e(r)}},u=e=>e.originalStoryFn(e.args,e),{applyDecorators:d=lV,runStep:f}=n,p=[...$B(e?.decorators),...$B(t?.decorators),...$B(n?.decorators)],m=e?.userStoryFn||e?.render||t.render||n.render,h=Ad(d)(u,p),g=e=>h(e),_=e?.play??t?.play,v=rf(_);if(!m&&!v)throw new Zu({id:i});let y=e.mount??t.mount??n.mount??(e=>async()=>(await e.renderToCanvas(),e.canvas)),b=n.testingLibraryRender;return{storyGlobals:{},...o,moduleExport:r,id:i,name:a,story:a,originalStoryFn:m,undecoratedStoryFn:u,unboundStoryFn:g,applyLoaders:s,applyBeforeEach:c,applyAfterEach:l,playFunction:_,runStep:f,mount:y,testingLibraryRender:b,renderToCanvas:n.renderToCanvas,usesMount:v}}function fV(e,t,n){return{...pV(void 0,e,t),moduleExport:n}}function pV(e,t,n){let r=[cf.DEV,cf.TEST],i=W.DOCS_OPTIONS?.autodocs===!0?[cf.AUTODOCS]:[],a=e?.tags?.includes(cf.TEST_FN)?[`!${cf.AUTODOCS}`]:[],o=Yz(...r,...i,...n.tags??[],...t.tags??[],...a,...e?.tags??[]),s=uV(n.parameters,t.parameters,e?.parameters),{argTypesEnhancers:c=[],argsEnhancers:l=[]}=n,u=uV(n.argTypes,t.argTypes,e?.argTypes);if(e){let r=e?.userStoryFn||e?.render||t.render||n.render;s.__isArgsStory=r&&r.length>0}let d={...n.args,...t.args,...e?.args},f={...t.globals,...e?.globals},p={componentId:t.id,title:t.title,kind:t.title,id:e?.id||t.id,name:e?.name||`__meta`,story:e?.name||`__meta`,component:t.component,subcomponents:t.subcomponents,tags:o,parameters:s,initialArgs:d,argTypes:u,storyGlobals:f};p.argTypes=c.reduce((e,t)=>t({...p,argTypes:e}),p.argTypes);let m={...d};p.initialArgs=[...l].reduce((e,t)=>({...e,...t({...p,initialArgs:e})}),m);let{name:h,story:g,..._}=p;return _}function mV(e){let{args:t}=e,n={...e,allArgs:void 0,argsByTarget:void 0};if(W.FEATURES?.argTypeTargetsV7){let t=HB(e);n={...e,allArgs:e.args,argsByTarget:t,args:t[VB]||{}}}let r=Object.entries(n.args).reduce((e,[t,r])=>{if(!n.argTypes[t]?.mapping)return e[t]=r,e;let i=e=>{let r=n.argTypes[t].mapping;return r&&e in r?r[e]:e};return e[t]=Array.isArray(r)?r.map(i):i(r),e},{}),i=Object.entries(r).reduce((e,[t,i])=>(nf(n.argTypes[t]||{},r,n.globals)&&(e[t]=i),e),{});return{...n,unmappedArgs:t,args:i}}var hV=(e,t,n)=>{let r=typeof e;switch(r){case`boolean`:case`string`:case`number`:case`function`:case`symbol`:return{name:r};default:break}return e?n.has(e)?(Ao.warn(_o`
877
+ We've detected a cycle in arg '${t}'. Args should be JSON-serializable.
878
+
879
+ Consider using the mapping feature or fully custom args:
880
+ - Mapping: https://storybook.js.org/docs/writing-stories/args#mapping-to-complex-arg-values
881
+ - Custom args: https://storybook.js.org/docs/essentials/controls#fully-custom-args
882
+ `),{name:`other`,value:`cyclic object`}):(n.add(e),Array.isArray(e)?{name:`array`,value:e.length>0?hV(e[0],t,new Set(n)):{name:`other`,value:`unknown`}}:{name:`object`,value:TB(e,e=>hV(e,t,new Set(n)))}):{name:`object`,value:{}}},gV=e=>{let{id:t,argTypes:n={},initialArgs:r={}}=e;return uV(TB(r,(e,n)=>({name:n,type:hV(e,`${t}.${n}`,new Set)})),TB(n,(e,t)=>({name:t})),n)};gV.secondPass=!0;var _V=(e,t)=>Array.isArray(t)?t.includes(e):e.match(t),vV=(e,t,n)=>!t&&!n?e:e&&EB(e,(e,r)=>{let i=e.name||r.toString();return!!(!t||_V(i,t))&&(!n||!_V(i,n))}),yV=(e,t,n)=>{let{type:r,options:i}=e;if(r){if(n.color&&n.color.test(t)){let e=r.name;if(e===`string`)return{control:{type:`color`}};e!==`enum`&&Ao.warn(`Addon controls: Control of type color only supports string, received "${e}" instead`)}if(n.date&&n.date.test(t))return{control:{type:`date`}};switch(r.name){case`array`:return{control:{type:`object`}};case`boolean`:return{control:{type:`boolean`}};case`string`:return{control:{type:`text`}};case`number`:return{control:{type:`number`}};case`enum`:{let{value:e}=r;return{control:{type:e?.length<=5?`radio`:`select`},options:e}}case`function`:case`symbol`:return null;default:return{control:{type:i?`select`:`object`}}}}},bV=e=>{let{argTypes:t,parameters:{__isArgsStory:n,controls:{include:r=null,exclude:i=null,matchers:a={}}={}}}=e;if(!n)return t;let o=vV(t,r,i);return uV(TB(o,(e,t)=>e?.type&&yV(e,t.toString(),a)),o)};bV.secondPass=!0;function xV({argTypes:e,argTypesEnhancers:t,decorators:n,loaders:r,beforeEach:i,afterEach:a,initialGlobals:o,...s}){return{...e&&{argTypes:QB(e)},decorators:$B(n),loaders:$B(r),beforeEach:$B(i),afterEach:$B(a),argTypesEnhancers:[...t||[],gV,bV],initialGlobals:o,...s}}var SV=e=>async()=>{let t=[];for(let n of e){let e=await n();e&&t.unshift(e)}return async()=>{for(let e of t)await e()}};function CV(e){return async(t,n,r)=>{await e.reduceRight((e,n)=>async()=>n(t,e,r),async()=>n(r))()}}function wV(e,t){return e.map(e=>e.default?.[t]??e[t]).filter(Boolean)}function TV(e,t,n={}){return wV(e,t).reduce((e,t)=>{let r=$B(t);return n.reverseFileOrder?[...r,...e]:[...e,...r]},[])}function EV(e,t){return Object.assign({},...wV(e,t))}function DV(e,t){return wV(e,t).pop()}function OV(e){let t=TV(e,`argTypesEnhancers`),n=wV(e,`runStep`),r=TV(e,`beforeAll`);return{parameters:uV(...wV(e,`parameters`)),decorators:TV(e,`decorators`,{reverseFileOrder:!(W.FEATURES?.legacyDecoratorFileOrder??!1)}),args:EV(e,`args`),argsEnhancers:TV(e,`argsEnhancers`),argTypes:EV(e,`argTypes`),argTypesEnhancers:[...t.filter(e=>!e.secondPass),...t.filter(e=>e.secondPass)],initialGlobals:EV(e,`initialGlobals`),globalTypes:EV(e,`globalTypes`),loaders:TV(e,`loaders`),beforeAll:SV(r),beforeEach:TV(e,`beforeEach`),afterEach:TV(e,`afterEach`),render:DV(e,`render`),renderToCanvas:DV(e,`renderToCanvas`),applyDecorators:DV(e,`applyDecorators`),runStep:CV(n),tags:TV(e,`tags`),mount:DV(e,`mount`),testingLibraryRender:DV(e,`testingLibraryRender`)}}function kV(){try{return!!globalThis.__vitest_browser__||!!globalThis.window?.navigator?.userAgent?.match(/StorybookTestRunner/)}catch{return!1}}function AV(e=!0){if(!(`document`in globalThis&&`createElement`in globalThis.document))return()=>{};let t=document.createElement(`style`);t.textContent=`*, *:before, *:after {
883
+ animation: none !important;
884
+ }`,document.head.appendChild(t);let n=document.createElement(`style`);return n.textContent=`*, *:before, *:after {
885
+ animation-delay: 0s !important;
886
+ animation-direction: ${e?`reverse`:`normal`} !important;
887
+ animation-play-state: paused !important;
888
+ transition: none !important;
889
+ }`,document.head.appendChild(n),document.body.clientHeight,document.head.removeChild(t),()=>{n.parentNode?.removeChild(n)}}async function jV(e){if(!(`document`in globalThis&&`getAnimations`in globalThis.document&&`querySelectorAll`in globalThis.document))return;let t=!1;await Promise.race([new Promise(n=>{setTimeout(()=>{let r=[globalThis.document,...MV(globalThis.document)],i=async()=>{if(t||e?.aborted)return;let n=r.flatMap(e=>e?.getAnimations?.()||[]).filter(e=>e.playState===`running`&&!NV(e));n.length>0&&(await Promise.allSettled(n.map(async e=>e.finished)),await i())};i().then(n)},100)}),new Promise(e=>setTimeout(()=>{t=!0,e(void 0)},5e3))])}function MV(e){return[e,...e.querySelectorAll(`*`)].reduce((e,t)=>(`shadowRoot`in t&&t.shadowRoot&&e.push(t.shadowRoot,...MV(t.shadowRoot)),e),[])}function NV(e){if(e instanceof CSSAnimation&&e.effect instanceof KeyframeEffect&&e.effect.target){let t=getComputedStyle(e.effect.target,e.effect.pseudoElement),n=t.animationName?.split(`, `).indexOf(e.animationName);return t.animationIterationCount.split(`, `)[n]===`infinite`}return!1}var PV=class{constructor(){this.reports=[]}async addReport(e){this.reports.push(e)}};function FV(e,t,n){return Bz(e)?{story:e.input,meta:e.meta.input,preview:e.meta.preview.composed}:{story:e,meta:zz(t)?t.input:t,preview:n}}function IV(e){globalThis.defaultProjectAnnotations=e}var LV=`ComposedStory`,RV=`Unnamed Story`;function zV(e){return e?OV([e]):{}}function BV(e){let t=Array.isArray(e)?e:[e];return globalThis.globalProjectAnnotations=OV([...Rz(),globalThis.defaultProjectAnnotations??{},OV(t.map(zV))]),globalThis.globalProjectAnnotations??{}}var VV=[];function HV(e,t,n,r,i){if(e===void 0)throw Error(`Expected a story but received undefined.`);t.title=t.title??LV;let a=nV(t),o=i||e.storyName||e.story?.name||e.name||RV,s=tV(o,e,a),c=xV(OV([r??globalThis.globalProjectAnnotations??{},n??{}])),l=dV(s,a,c),u={...GB(c.globalTypes),...c.initialGlobals,...l.storyGlobals},d=new PV,f=()=>{let e=mV({hooks:new Ed,globals:u,args:{...l.initialArgs},viewMode:`story`,reporting:d,loaded:{},abortSignal:new AbortController().signal,step:(t,n)=>l.runStep(t,n,e),canvasElement:null,canvas:{},userEvent:{},globalTypes:c.globalTypes,...l,context:null,mount:null});return e.parameters.__isPortableStory=!0,e.context=e,l.renderToCanvas&&(e.renderToCanvas=async()=>{let t=await l.renderToCanvas?.({componentId:l.componentId,title:l.title,id:l.id,name:l.name,tags:l.tags,showMain:()=>{},showError:e=>{throw Error(`${e.title}
890
+ ${e.description}`)},showException:e=>{throw e},forceRemount:!0,storyContext:e,storyFn:()=>l.unboundStoryFn(e),unboundStoryFn:l.unboundStoryFn},e.canvasElement);t&&VV.push(t)}),e.mount=l.mount(e),e},p,m=async e=>{let t=f();return t.canvasElement??=globalThis?.document?.body,p&&(t.loaded=p.loaded),Object.assign(t,e),l.playFunction(t)},h=e=>{let t=f();return Object.assign(t,e),KV(l,t)},g=l.playFunction?m:void 0;return Object.assign(function(e){let t=f();return p&&(t.loaded=p.loaded),t.args={...t.initialArgs,...e},l.unboundStoryFn(t)},{id:l.id,storyName:o,load:async()=>{for(let e of[...VV].reverse())await e();VV.length=0;let e=f();e.loaded=await l.applyLoaders(e),VV.push(...(await l.applyBeforeEach(e)).filter(Boolean)),p=e},globals:u,args:l.initialArgs,parameters:l.parameters,argTypes:l.argTypes,play:g,run:h,reporting:d,tags:l.tags})}var UV=(e,t,n,r)=>HV(e,t,n,{},r);function WV(e,t,n=UV){let{default:r,__esModule:i,__namedExportsOrder:a,...o}=e,s=r;return Object.entries(o).reduce((e,[r,i])=>{let{story:a,meta:o}=FV(i);return!s&&o&&(s=o),Jz(r,s)?Object.assign(e,{[r]:n(a,s,t,r)}):e},{})}function GV(e){return e.extend({mount:async({mount:e,page:t},n)=>{await n(async(n,...r)=>{if(!(`__pw_type`in n)||`__pw_type`in n&&n.__pw_type!==`jsx`)throw Error(_o`
891
+ Portable stories in Playwright CT only work when referencing JSX elements.
892
+ Please use JSX format for your components such as:
893
+
894
+ instead of:
895
+ await mount(MyComponent, { props: { foo: 'bar' } })
896
+
897
+ do:
898
+ await mount(<MyComponent foo="bar"/>)
899
+
900
+ More info: https://storybook.js.org/docs/api/portable-stories/portable-stories-playwright?ref=error
901
+ `);let{props:i,...a}=n;await t.evaluate(async e=>{let t=await globalThis.__pwUnwrapObject?.(e);return(`__pw_type`in t?t.type:t)?.load?.()},a);let o=await e(n,...r);return await t.evaluate(async e=>{let t=await globalThis.__pwUnwrapObject?.(e),n=`__pw_type`in t?t.type:t,r=document.querySelector(`#root`);return n?.play?.({canvasElement:r})},a),o})}})}async function KV(e,t){for(let e of[...VV].reverse())await e();if(VV.length=0,!t.canvasElement){let e=document.createElement(`div`);globalThis?.document?.body?.appendChild(e),t.canvasElement=e,VV.push(()=>{globalThis?.document?.body?.contains(e)&&globalThis?.document?.body?.removeChild(e)})}if(t.loaded=await e.applyLoaders(t),t.abortSignal.aborted)return;VV.push(...(await e.applyBeforeEach(t)).filter(Boolean));let n=e.playFunction,r=e.usesMount;if(r||await t.mount(),t.abortSignal.aborted)return;n&&(r||(t.mount=async()=>{throw new Xu({playFunction:n.toString()})}),await n(t));let i;kV()?i=AV():await jV(t.abortSignal),await e.applyAfterEach(t),await i?.()}var qV=1e3,JV=1e4,YV=class{constructor(e,t,n){this.importFn=t,this.storyIndex=new JB(e),this.projectAnnotations=xV(OV([...Rz(),n]));let{initialGlobals:r,globalTypes:i}=this.projectAnnotations;this.args=new WB,this.userGlobals=new KB({globals:r,globalTypes:i}),this.hooks={},this.cleanupCallbacks={},this.processCSFFileWithCache=(0,DB.default)(qV)(oV),this.prepareMetaWithCache=(0,DB.default)(qV)(fV),this.prepareStoryWithCache=(0,DB.default)(JV)(dV)}setProjectAnnotations(e){this.projectAnnotations=xV(e);let{initialGlobals:t,globalTypes:n}=e;this.userGlobals.set({globals:t,globalTypes:n})}async onStoriesChanged({importFn:e,storyIndex:t}){e&&(this.importFn=e),t&&(this.storyIndex.entries=t.entries),this.cachedCSFFiles&&await this.cacheAllCSFFiles()}async storyIdToEntry(e){return this.storyIndex.storyIdToEntry(e)}async loadCSFFileByStoryId(e){let{importPath:t,title:n}=this.storyIndex.storyIdToEntry(e),r=await this.importFn(t);return this.processCSFFileWithCache(r,t,n)}async loadAllCSFFiles(){let e={};return Object.entries(this.storyIndex.entries).forEach(([t,{importPath:n}])=>{e[n]=t}),(await Promise.all(Object.entries(e).map(async([e,t])=>({importPath:e,csfFile:await this.loadCSFFileByStoryId(t)})))).reduce((e,{importPath:t,csfFile:n})=>(e[t]=n,e),{})}async cacheAllCSFFiles(){this.cachedCSFFiles=await this.loadAllCSFFiles()}preparedMetaFromCSFFile({csfFile:e}){let t=e.meta;return this.prepareMetaWithCache(t,this.projectAnnotations,e.moduleExports.default)}async loadStory({storyId:e}){let t=await this.loadCSFFileByStoryId(e);return this.storyFromCSFFile({storyId:e,csfFile:t})}storyFromCSFFile({storyId:e,csfFile:t}){let n=t.stories[e];if(!n)throw new Ju({storyId:e});let r=t.meta,i=this.prepareStoryWithCache(n,r,t.projectAnnotations??this.projectAnnotations);return this.args.setInitial(i),this.hooks[i.id]=this.hooks[i.id]||new Ed,i}componentStoriesFromCSFFile({csfFile:e}){return Object.keys(this.storyIndex.entries).filter(t=>!!e.stories[t]).map(t=>this.storyFromCSFFile({storyId:t,csfFile:e}))}async loadEntry(e){let t=await this.storyIdToEntry(e),n=t.type===`docs`?t.storiesImports:[],[r,...i]=await Promise.all([this.importFn(t.importPath),...n.map(e=>{let t=this.storyIndex.importPathToEntry(e);return this.loadCSFFileByStoryId(t.id)})]);return{entryExports:r,csfFiles:i}}getStoryContext(e,{forceInitialArgs:t=!1}={}){let n=this.userGlobals.get(),{initialGlobals:r}=this.userGlobals,i=new PV;return mV({...e,args:t?e.initialArgs:this.args.get(e.id),initialGlobals:r,globalTypes:this.projectAnnotations.globalTypes,userGlobals:n,reporting:i,globals:{...n,...e.storyGlobals},hooks:this.hooks[e.id]})}addCleanupCallbacks(e,...t){this.cleanupCallbacks[e.id]=(this.cleanupCallbacks[e.id]||[]).concat(t)}async cleanupStory(e){this.hooks[e.id].clean();let t=this.cleanupCallbacks[e.id];if(t)for(let e of[...t].reverse())await e();delete this.cleanupCallbacks[e.id]}extract(e={includeDocsOnly:!1}){let{cachedCSFFiles:t}=this;if(console.log(`extract: extracting stories`,t),!t)throw new Vu;let n=Object.entries(this.storyIndex.entries).reduce((n,[r,i])=>{if(i.type===`docs`)return n;let a=t[i.importPath],o=this.storyFromCSFFile({storyId:r,csfFile:a});return!e.includeDocsOnly&&o.parameters.docsOnly||(n[r]=Object.entries(o).reduce((e,[t,n])=>t===`story`&&i.subtype===`test`?{...e,story:i.parentName}:t===`moduleExport`||typeof n==`function`?e:Array.isArray(n)?Object.assign(e,{[t]:n.slice().sort()}):Object.assign(e,{[t]:n}),{args:o.initialArgs,globals:{...this.userGlobals.initialGlobals,...this.userGlobals.globals,...o.storyGlobals},storyId:i.parent?i.parent:r})),n},{});return console.log(`extract: stories`,n),n}};function XV(e){return e.startsWith(`\\\\?\\`)?e:e.replace(/\\/g,`/`)}var ZV=e=>{if(e.length===0)return e;let t=e[e.length-1],n=t?.replace(/(?:[.](?:story|stories))?([.][^.]+)$/i,``);if(e.length===1)return[n];let r=e[e.length-2];return n&&r&&n.toLowerCase()===r.toLowerCase()?[...e.slice(0,-2),n]:n&&(/^(story|stories)([.][^.]+)$/i.test(t)||/^index$/i.test(n))?e.slice(0,-1):[...e.slice(0,-1),n]};function QV(e){return e.flatMap(e=>e.split(`/`)).filter(Boolean).join(`/`)}var $V=(e,t,n)=>{let{directory:r,importPathMatcher:i,titlePrefix:a=``}=t||{};typeof e==`number`&&Mo.warn(_o`
902
+ CSF Auto-title received a numeric fileName. This typically happens when
903
+ webpack is mis-configured in production mode. To force webpack to produce
904
+ filenames, set optimization.moduleIds = "named" in your webpack config.
905
+ `);let o=XV(String(e));if(i.exec(o)){if(!n){let e=QV([a,o.replace(r,``)]).split(`/`);return e=ZV(e),e.join(`/`)}return a?QV([a,n]):n}},eH=(e,t,n)=>{for(let r=0;r<t.length;r+=1){let i=$V(e,t[r],n);if(i)return i}return n||void 0},tH=/\s*\/\s*/,nH=(e={})=>(t,n)=>{if(t.title===n.title&&!e.includeNames)return 0;let r=e.method||`configure`,i=e.order||[],a=t.title.trim().split(tH),o=n.title.trim().split(tH);e.includeNames&&(a.push(t.name),o.push(n.name));let s=0;for(;a[s]||o[s];){if(!a[s])return-1;if(!o[s])return 1;let t=a[s],n=o[s];if(t!==n){let a=i.indexOf(t),o=i.indexOf(n),s=i.indexOf(`*`);return a!==-1||o!==-1?(a===-1&&(a=s===-1?i.length:s),o===-1&&(o=s===-1?i.length:s),a-o):r===`configure`?0:t.localeCompare(n,e.locales?e.locales:void 0,{numeric:!0,sensitivity:`accent`})}let c=i.indexOf(t);c===-1&&(c=i.indexOf(`*`)),i=c!==-1&&Array.isArray(i[c+1])?i[c+1]:[],s+=1}return 0},rH=(e,t,n)=>{if(t){let n;n=typeof t==`function`?t:nH(t),e.sort(n)}else e.sort((e,t)=>n.indexOf(e.importPath)-n.indexOf(t.importPath));return e},iH=(e,t,n)=>{try{return rH(e,t,n)}catch(e){throw Error(_o`
906
+ Error sorting stories with sort parameter ${t}:
907
+
908
+ > ${e.message}
909
+
910
+ Are you using a V6-style sort function in V7 mode?
911
+
912
+ More info: https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#v7-style-story-sort
913
+ `)}},aH=Error(`prepareAborted`),{AbortController:oH}=globalThis;function sH(e){try{let{name:t=`Error`,message:n=String(e),stack:r}=e;return{name:t,message:n,stack:r}}catch{return{name:`Error`,message:String(e)}}}var cH=class{constructor(e,t,n,r,i,a,o={autoplay:!0,forceInitialArgs:!1},s){this.channel=e,this.store=t,this.renderToScreen=n,this.callbacks=r,this.id=i,this.viewMode=a,this.renderOptions=o,this.type=`story`,this.notYetRendered=!0,this.rerenderEnqueued=!1,this.disableKeyListeners=!1,this.teardownRender=()=>{},this.torndown=!1,this.abortController=new oH,this.renderId=Date.now(),s&&(this.story=s,this.phase=`preparing`)}async runPhase(e,t,n){this.phase=t,this.channel.emit(Ha,{newPhase:this.phase,renderId:this.renderId,storyId:this.id}),n&&(await n(),this.checkIfAborted(e))}checkIfAborted(e){return e.aborted&&![`finished`,`aborted`,`errored`].includes(this.phase)&&(this.phase=`aborted`,this.channel.emit(Ha,{newPhase:this.phase,renderId:this.renderId,storyId:this.id})),e.aborted}async prepare(){if(await this.runPhase(this.abortController.signal,`preparing`,async()=>{this.story=await this.store.loadStory({storyId:this.id})}),this.abortController.signal.aborted)throw await this.store.cleanupStory(this.story),aH}isEqual(e){return!!(this.id===e.id&&this.story&&this.story===e.story)}isPreparing(){return[`preparing`].includes(this.phase)}isPending(){return[`loading`,`beforeEach`,`rendering`,`playing`,`afterEach`].includes(this.phase)}async renderToElement(e){return this.canvasElement=e,this.render({initial:!0,forceRemount:!0})}storyContext(){if(!this.story)throw Error(`Cannot call storyContext before preparing`);let{forceInitialArgs:e}=this.renderOptions;return this.store.getStoryContext(this.story,{forceInitialArgs:e})}async render({initial:e=!1,forceRemount:t=!1}={}){let{canvasElement:n}=this;if(!this.story)throw Error(`cannot render when not prepared`);let r=this.story;if(!n)throw Error(`cannot render when canvasElement is unset`);let{id:i,componentId:a,title:o,name:s,tags:c,applyLoaders:l,applyBeforeEach:u,applyAfterEach:d,unboundStoryFn:f,playFunction:p,runStep:m}=r;t&&!e&&(this.cancelRender(),this.abortController=new oH);let h=this.abortController.signal,g=!1,_=r.usesMount;try{let e={...this.storyContext(),viewMode:this.viewMode,abortSignal:h,canvasElement:n,loaded:{},step:(t,n)=>m(t,n,e),context:null,canvas:{},userEvent:{},renderToCanvas:async()=>{this.teardownRender=await this.renderToScreen(v,n)||(()=>{}),g=!0},mount:async(...t)=>{this.callbacks.showStoryDuringRender?.();let n=null;return await this.runPhase(h,`rendering`,async()=>{n=await r.mount(e)(...t)}),_&&await this.runPhase(h,`playing`),n}};e.context=e;let v={componentId:a,title:o,kind:o,id:i,name:s,story:s,tags:c,...this.callbacks,showError:e=>(this.phase=`errored`,this.callbacks.showError(e)),showException:e=>(this.phase=`errored`,this.callbacks.showException(e)),forceRemount:t||this.notYetRendered,storyContext:e,storyFn:()=>f(e),unboundStoryFn:f};if(await this.runPhase(h,`loading`,async()=>{e.loaded=await l(e)}),h.aborted)return;let y=await u(e);if(this.store.addCleanupCallbacks(r,...y),this.checkIfAborted(h)||(!g&&!_&&await e.mount(),this.notYetRendered=!1,h.aborted))return;let b=this.story.parameters?.test?.dangerouslyIgnoreUnhandledErrors===!0,x=new Set,S=e=>{e.error&&x.add(e.error)},C=e=>{e.reason&&x.add(e.reason)};if(this.renderOptions.autoplay&&t&&p&&this.phase!==`errored`){window?.addEventListener?.(`error`,S),window?.addEventListener?.(`unhandledrejection`,C),this.disableKeyListeners=!0;try{if(_?await p(e):(e.mount=async()=>{throw new Xu({playFunction:p.toString()})},await this.runPhase(h,`playing`,async()=>p(e))),!g)throw new Qu;this.checkIfAborted(h),!b&&x.size>0?await this.runPhase(h,`errored`):await this.runPhase(h,`played`)}catch(e){if(this.callbacks.showStoryDuringRender?.(),await this.runPhase(h,`errored`,async()=>{this.channel.emit(_a,sH(e))}),this.story.parameters.throwPlayFunctionExceptions!==!1)throw e;console.error(e)}if(!b&&x.size>0&&this.channel.emit(va,Array.from(x).map(sH)),this.disableKeyListeners=!1,window?.removeEventListener?.(`unhandledrejection`,C),window?.removeEventListener?.(`error`,S),h.aborted)return}await this.runPhase(h,`completing`,async()=>{kV()?this.store.addCleanupCallbacks(r,AV()):await jV(h)}),await this.runPhase(h,`completed`,async()=>{this.channel.emit(Ua,i)}),this.phase!==`errored`&&await this.runPhase(h,`afterEach`,async()=>{await d(e)});let w=!b&&x.size>0,T=e.reporting.reports.some(e=>e.status===`failed`),E=w||T;await this.runPhase(h,`finished`,async()=>this.channel.emit(Wa,{storyId:i,status:E?`error`:`success`,reporters:e.reporting.reports}))}catch(e){this.phase=`errored`,this.callbacks.showException(e),await this.runPhase(h,`finished`,async()=>this.channel.emit(Wa,{storyId:i,status:`error`,reporters:[]}))}this.rerenderEnqueued&&(this.rerenderEnqueued=!1,this.render())}async rerender(){if(this.isPending()&&this.phase!==`playing`)this.rerenderEnqueued=!0;else return this.render()}async remount(){return await this.teardown(),this.render({forceRemount:!0})}cancelRender(){this.abortController.abort()}cancelPlayFunction(){this.phase===`playing`&&(this.abortController.abort(),this.runPhase(this.abortController.signal,`aborted`))}async teardown(){this.torndown=!0,this.cancelRender(),this.story&&await this.store.cleanupStory(this.story);for(let e=0;e<3;e+=1){if(!this.isPending()){await this.teardownRender();return}await new Promise(e=>setTimeout(e,0))}window?.location?.reload?.(),await new Promise(()=>{})}},{fetch:lH}=W,uH=`./index.json`,dH=class{constructor(e,t,n=Td.getChannel(),r=!0){this.importFn=e,this.getProjectAnnotations=t,this.channel=n,this.storyRenders=[],this.storeInitializationPromise=new Promise((e,t)=>{this.resolveStoreInitializationPromise=e,this.rejectStoreInitializationPromise=t}),r&&this.initialize()}get storyStore(){return new Proxy({},{get:(e,t)=>{if(this.storyStoreValue)return No(`Accessing the Story Store is deprecated and will be removed in 9.0`),this.storyStoreValue[t];throw new Yu}})}async initialize(){this.setupListeners();try{let e=await this.getProjectAnnotationsOrRenderError();await this.runBeforeAllHook(e),await this.initializeWithProjectAnnotations(e);let t=globalThis?.navigator?.userAgent;await this.channel.emit(ba,{userAgent:t})}catch(e){this.rejectStoreInitializationPromise(e)}}ready(){return this.storeInitializationPromise}setupListeners(){this.channel.on(za,this.onStoryIndexChanged.bind(this)),this.channel.on(Ya,this.onUpdateGlobals.bind(this)),this.channel.on(Za,this.onUpdateArgs.bind(this)),this.channel.on(ao,this.onRequestArgTypesInfo.bind(this)),this.channel.on(wa,this.onResetArgs.bind(this)),this.channel.on(pa,this.onForceReRender.bind(this)),this.channel.on(ma,this.onForceRemount.bind(this)),this.channel.on(Ja,this.onStoryHotUpdated.bind(this))}async getProjectAnnotationsOrRenderError(){try{let e=await this.getProjectAnnotations();if(this.renderToCanvas=e.renderToCanvas,!this.renderToCanvas)throw new Hu;return e}catch(e){throw this.renderPreviewEntryError(`Error reading preview.js:`,e),e}}async initializeWithProjectAnnotations(e){this.projectAnnotationsBeforeInitialization=e;try{let e=await this.getStoryIndexFromServer();return this.initializeWithStoryIndex(e)}catch(e){throw this.renderPreviewEntryError(`Error loading story index:`,e),e}}async runBeforeAllHook(e){try{await this.beforeAllCleanup?.(),this.beforeAllCleanup=await e.beforeAll?.()}catch(e){throw this.renderPreviewEntryError(`Error in beforeAll hook:`,e),e}}async getStoryIndexFromServer(){let e=await lH(uH);if(e.status===200)return e.json();throw new Wu({text:await e.text()})}initializeWithStoryIndex(e){if(!this.projectAnnotationsBeforeInitialization)throw Error(`Cannot call initializeWithStoryIndex until project annotations resolve`);this.storyStoreValue=new YV(e,this.importFn,this.projectAnnotationsBeforeInitialization),delete this.projectAnnotationsBeforeInitialization,this.setInitialGlobals(),this.resolveStoreInitializationPromise()}async setInitialGlobals(){this.emitGlobals()}emitGlobals(){if(!this.storyStoreValue)throw new Uu({methodName:`emitGlobals`});let e={globals:this.storyStoreValue.userGlobals.get()||{},globalTypes:this.storyStoreValue.projectAnnotations.globalTypes||{}};this.channel.emit(ka,e)}async onGetProjectAnnotationsChanged({getProjectAnnotations:e}){delete this.previewEntryError,this.getProjectAnnotations=e;let t=await this.getProjectAnnotationsOrRenderError();if(await this.runBeforeAllHook(t),!this.storyStoreValue){await this.initializeWithProjectAnnotations(t);return}this.storyStoreValue.setProjectAnnotations(t),this.emitGlobals()}async onStoryIndexChanged(){if(delete this.previewEntryError,!(!this.storyStoreValue&&!this.projectAnnotationsBeforeInitialization))try{let e=await this.getStoryIndexFromServer();if(this.projectAnnotationsBeforeInitialization){this.initializeWithStoryIndex(e);return}await this.onStoriesChanged({storyIndex:e})}catch(e){throw this.renderPreviewEntryError(`Error loading story index:`,e),e}}async onStoriesChanged({importFn:e,storyIndex:t}){if(!this.storyStoreValue)throw new Uu({methodName:`onStoriesChanged`});await this.storyStoreValue.onStoriesChanged({importFn:e,storyIndex:t})}async onUpdateGlobals({globals:e,currentStory:t}){if(this.storyStoreValue||await this.storeInitializationPromise,!this.storyStoreValue)throw new Uu({methodName:`onUpdateGlobals`});if(this.storyStoreValue.userGlobals.update(e),t){let{initialGlobals:e,storyGlobals:n,userGlobals:r,globals:i}=this.storyStoreValue.getStoryContext(t);this.channel.emit(ha,{initialGlobals:e,userGlobals:r,storyGlobals:n,globals:i})}else{let{initialGlobals:e,globals:t}=this.storyStoreValue.userGlobals;this.channel.emit(ha,{initialGlobals:e,userGlobals:t,storyGlobals:{},globals:t})}await Promise.all(this.storyRenders.map(e=>e.rerender()))}async onUpdateArgs({storyId:e,updatedArgs:t}){if(!this.storyStoreValue)throw new Uu({methodName:`onUpdateArgs`});this.storyStoreValue.args.update(e,t),await Promise.all(this.storyRenders.filter(t=>t.id===e&&!t.renderOptions.forceInitialArgs).map(e=>e.story&&e.story.usesMount?e.remount():e.rerender())),this.channel.emit(Ia,{storyId:e,args:this.storyStoreValue.args.get(e)})}async onRequestArgTypesInfo({id:e,payload:t}){try{await this.storeInitializationPromise;let n=await this.storyStoreValue?.loadStory(t);this.channel.emit(oo,{id:e,success:!0,payload:{argTypes:n?.argTypes||{}},error:null})}catch(t){this.channel.emit(oo,{id:e,success:!1,error:t?.message})}}async onResetArgs({storyId:e,argNames:t}){if(!this.storyStoreValue)throw new Uu({methodName:`onResetArgs`});let n=this.storyRenders.find(t=>t.id===e)?.story||await this.storyStoreValue.loadStory({storyId:e}),r=(t||[...new Set([...Object.keys(n.initialArgs),...Object.keys(this.storyStoreValue.args.get(e))])]).reduce((e,t)=>(e[t]=n.initialArgs[t],e),{});await this.onUpdateArgs({storyId:e,updatedArgs:r})}async onForceReRender(){await Promise.all(this.storyRenders.map(e=>e.rerender()))}async onForceRemount({storyId:e}){await Promise.all(this.storyRenders.filter(t=>t.id===e).map(e=>e.remount()))}async onStoryHotUpdated(){await Promise.all(this.storyRenders.map(e=>e.cancelPlayFunction()))}renderStoryToElement(e,t,n,r){if(!this.renderToCanvas||!this.storyStoreValue)throw new Uu({methodName:`renderStoryToElement`});let i=new cH(this.channel,this.storyStoreValue,this.renderToCanvas,n,e.id,`docs`,r,e);return i.renderToElement(t),this.storyRenders.push(i),async()=>{await this.teardownRender(i)}}async teardownRender(e,{viewModeChanged:t}={}){this.storyRenders=this.storyRenders.filter(t=>t!==e),await e?.teardown?.({viewModeChanged:t})}async loadStory({storyId:e}){if(!this.storyStoreValue)throw new Uu({methodName:`loadStory`});return this.storyStoreValue.loadStory({storyId:e})}getStoryContext(e,{forceInitialArgs:t=!1}={}){if(!this.storyStoreValue)throw new Uu({methodName:`getStoryContext`});return this.storyStoreValue.getStoryContext(e,{forceInitialArgs:t})}async extract(e){if(!this.storyStoreValue)throw new Uu({methodName:`extract`});if(this.previewEntryError)throw this.previewEntryError;return await this.storyStoreValue.cacheAllCSFFiles(),this.storyStoreValue.extract(e)}renderPreviewEntryError(e,t){this.previewEntryError=t,Ao.error(e),Ao.error(t),this.channel.emit(aa,t)}},fH=class{constructor(e,t,n,r){this.channel=e,this.store=t,this.renderStoryToElement=n,this.storyIdByName=e=>{let t=this.nameToStoryId.get(e);if(t)return t;throw Error(`No story found with that name: ${e}`)},this.componentStories=()=>this.componentStoriesValue,this.componentStoriesFromCSFFile=e=>this.store.componentStoriesFromCSFFile({csfFile:e}),this.storyById=e=>{if(!e){if(!this.primaryStory)throw Error("No primary story defined for docs entry. Did you forget to use `<Meta>`?");return this.primaryStory}let t=this.storyIdToCSFFile.get(e);if(!t)throw Error(`Called \`storyById\` for story that was never loaded: ${e}`);return this.store.storyFromCSFFile({storyId:e,csfFile:t})},this.getStoryContext=e=>({...this.store.getStoryContext(e),loaded:{},viewMode:`docs`}),this.loadStory=e=>this.store.loadStory({storyId:e}),this.componentStoriesValue=[],this.storyIdToCSFFile=new Map,this.exportToStory=new Map,this.exportsToCSFFile=new Map,this.nameToStoryId=new Map,this.attachedCSFFiles=new Set,r.forEach((e,t)=>{this.referenceCSFFile(e)})}referenceCSFFile(e){this.exportsToCSFFile.set(e.moduleExports,e),this.exportsToCSFFile.set(e.moduleExports.default,e),this.store.componentStoriesFromCSFFile({csfFile:e}).forEach(t=>{let n=e.stories[t.id];this.storyIdToCSFFile.set(n.id,e),this.exportToStory.set(n.moduleExport,t)})}attachCSFFile(e){if(!this.exportsToCSFFile.has(e.moduleExports))throw Error(`Cannot attach a CSF file that has not been referenced`);this.attachedCSFFiles.has(e)||(this.attachedCSFFiles.add(e),this.store.componentStoriesFromCSFFile({csfFile:e}).forEach(e=>{this.nameToStoryId.set(e.name,e.id),this.componentStoriesValue.push(e),this.primaryStory||=e}))}referenceMeta(e,t){let n=this.resolveModuleExport(e);if(n.type!==`meta`)throw Error(`<Meta of={} /> must reference a CSF file module export or meta export. Did you mistakenly reference your component instead of your CSF file?`);t&&this.attachCSFFile(n.csfFile)}get projectAnnotations(){let{projectAnnotations:e}=this.store;if(!e)throw Error(`Can't get projectAnnotations from DocsContext before they are initialized`);return e}resolveAttachedModuleExportType(e){if(e===`story`){if(!this.primaryStory)throw Error(`No primary story attached to this docs file, did you forget to use <Meta of={} />?`);return{type:`story`,story:this.primaryStory}}if(this.attachedCSFFiles.size===0)throw Error(`No CSF file attached to this docs file, did you forget to use <Meta of={} />?`);let t=Array.from(this.attachedCSFFiles)[0];if(e===`meta`)return{type:`meta`,csfFile:t};let{component:n}=t.meta;if(!n)throw Error(`Attached CSF file does not defined a component, did you forget to export one?`);return{type:`component`,component:n}}resolveModuleExport(e){let t=this.exportsToCSFFile.get(e);if(!t&&e&&typeof e==`object`&&`default`in e&&(t=this.exportsToCSFFile.get(e.default)),t)return{type:`meta`,csfFile:t};let n=this.exportToStory.get(Bz(e)?e.input:e);return n?{type:`story`,story:n}:{type:`component`,component:e}}resolveOf(e,t=[]){let n;if([`component`,`meta`,`story`].includes(e)){let t=e;n=this.resolveAttachedModuleExportType(t)}else n=this.resolveModuleExport(e);if(t.length&&!t.includes(n.type)){let e=n.type===`component`?`component or unknown`:n.type;throw Error(_o`Invalid value passed to the 'of' prop. The value was resolved to a '${e}' type but the only types for this block are: ${t.join(`, `)}.
914
+ - Did you pass a component to the 'of' prop when the block only supports a story or a meta?
915
+ - ... or vice versa?
916
+ - Did you pass a story, CSF file or meta to the 'of' prop that is not indexed, ie. is not targeted by the 'stories' globs in the main configuration?`)}switch(n.type){case`component`:return{...n,projectAnnotations:this.projectAnnotations};case`meta`:return{...n,preparedMeta:this.store.preparedMetaFromCSFFile({csfFile:n.csfFile})};default:return n}}},pH=class{constructor(e,t,n,r){this.channel=e,this.store=t,this.entry=n,this.callbacks=r,this.type=`docs`,this.subtype=`csf`,this.torndown=!1,this.disableKeyListeners=!1,this.preparing=!1,this.id=n.id,this.renderId=Date.now()}isPreparing(){return this.preparing}async prepare(){this.preparing=!0;let{entryExports:e,csfFiles:t=[]}=await this.store.loadEntry(this.id);if(this.torndown)throw aH;let{importPath:n,title:r}=this.entry,i=this.store.processCSFFileWithCache(e,n,r),a=Object.keys(i.stories)[0];this.story=this.store.storyFromCSFFile({storyId:a,csfFile:i}),this.csfFiles=[i,...t],this.preparing=!1}isEqual(e){return!!(this.id===e.id&&this.story&&this.story===e.story)}docsContext(e){if(!this.csfFiles)throw Error(`Cannot render docs before preparing`);let t=new fH(this.channel,this.store,e,this.csfFiles);return this.csfFiles.forEach(e=>t.attachCSFFile(e)),t}async renderToElement(e,t){if(!this.story||!this.csfFiles)throw Error(`Cannot render docs before preparing`);let n=this.docsContext(t),{docs:r}=this.story.parameters||{};if(!r)throw Error("Cannot render a story in viewMode=docs if `@storybook/addon-docs` is not installed");let i=await r.renderer(),{render:a}=i,o=async()=>{try{await a(n,r,e),this.channel.emit(ua,this.id)}catch(e){this.callbacks.showException(e)}};return this.rerender=async()=>o(),this.teardownRender=async({viewModeChanged:t})=>{!t||!e||i.unmount(e)},o()}async teardown({viewModeChanged:e}={}){this.teardownRender?.({viewModeChanged:e}),this.torndown=!0}},mH=class{constructor(e,t,n,r){this.channel=e,this.store=t,this.entry=n,this.callbacks=r,this.type=`docs`,this.subtype=`mdx`,this.torndown=!1,this.disableKeyListeners=!1,this.preparing=!1,this.id=n.id,this.renderId=Date.now()}isPreparing(){return this.preparing}async prepare(){this.preparing=!0;let{entryExports:e,csfFiles:t=[]}=await this.store.loadEntry(this.id);if(this.torndown)throw aH;this.csfFiles=t,this.exports=e,this.preparing=!1}isEqual(e){return!!(this.id===e.id&&this.exports&&this.exports===e.exports)}docsContext(e){if(!this.csfFiles)throw Error(`Cannot render docs before preparing`);return new fH(this.channel,this.store,e,this.csfFiles)}async renderToElement(e,t){if(!this.exports||!this.csfFiles||!this.store.projectAnnotations)throw Error(`Cannot render docs before preparing`);let n=this.docsContext(t),{docs:r}=this.store.projectAnnotations.parameters??{};if(!r)throw Error("Cannot render a story in viewMode=docs if `@storybook/addon-docs` is not installed");let i={...r,page:this.exports.default},a=await r.renderer(),{render:o}=a,s=async()=>{try{await o(n,i,e),this.channel.emit(ua,this.id)}catch(e){this.callbacks.showException(e)}};return this.rerender=async()=>s(),this.teardownRender=async({viewModeChanged:t}={})=>{!t||!e||(a.unmount(e),this.torndown=!0)},s()}async teardown({viewModeChanged:e}={}){this.teardownRender?.({viewModeChanged:e}),this.torndown=!0}},hH=globalThis;function gH(e){let t=e.composedPath&&e.composedPath()[0]||e.target;return/input|textarea/i.test(t.tagName)||t.getAttribute(`contenteditable`)!==null}function _H({tags:e}){return e?.includes(cf.UNATTACHED_MDX)||e?.includes(cf.ATTACHED_MDX)}function vH(e){return e.type===`story`}function yH(e){return e.type===`docs`}function bH(e){return yH(e)&&e.subtype===`csf`}var xH=class extends dH{constructor(e,t,n,r){super(e,t,void 0,!1),this.importFn=e,this.getProjectAnnotations=t,this.selectionStore=n,this.view=r,this.initialize()}setupListeners(){super.setupListeners(),hH.onkeydown=this.onKeydown.bind(this),this.channel.on(Da,this.onSetCurrentStory.bind(this)),this.channel.on(Xa,this.onUpdateQueryParams.bind(this)),this.channel.on(ya,this.onPreloadStories.bind(this))}async setInitialGlobals(){if(!this.storyStoreValue)throw new Uu({methodName:`setInitialGlobals`});let{globals:e}=this.selectionStore.selectionSpecifier||{};e&&this.storyStoreValue.userGlobals.updateFromPersisted(e),this.emitGlobals()}async initializeWithStoryIndex(e){return await super.initializeWithStoryIndex(e),this.selectSpecifiedStory()}async selectSpecifiedStory(){if(!this.storyStoreValue)throw new Uu({methodName:`selectSpecifiedStory`});if(this.selectionStore.selection){await this.renderSelection();return}if(!this.selectionStore.selectionSpecifier){this.renderMissingStory();return}let{storySpecifier:e,args:t}=this.selectionStore.selectionSpecifier,n=this.storyStoreValue.storyIndex.entryFromSpecifier(e);if(!n){e===`*`?this.renderStoryLoadingException(e,new Ku):this.renderStoryLoadingException(e,new qu({storySpecifier:e.toString()}));return}let{id:r,type:i}=n;this.selectionStore.setSelection({storyId:r,viewMode:i}),this.channel.emit(Ga,this.selectionStore.selection),this.channel.emit(ca,this.selectionStore.selection),await this.renderSelection({persistedArgs:t})}async onGetProjectAnnotationsChanged({getProjectAnnotations:e}){await super.onGetProjectAnnotationsChanged({getProjectAnnotations:e}),this.selectionStore.selection&&this.renderSelection()}async onStoriesChanged({importFn:e,storyIndex:t}){await super.onStoriesChanged({importFn:e,storyIndex:t}),this.selectionStore.selection?await this.renderSelection():await this.selectSpecifiedStory()}onKeydown(e){if(!this.storyRenders.find(e=>e.disableKeyListeners)&&!gH(e)){let{altKey:t,ctrlKey:n,metaKey:r,shiftKey:i,key:a,code:o,keyCode:s}=e;this.channel.emit(Sa,{event:{altKey:t,ctrlKey:n,metaKey:r,shiftKey:i,key:a,code:o,keyCode:s}})}}async onSetCurrentStory(e){this.selectionStore.setSelection({viewMode:`story`,...e}),await this.storeInitializationPromise,this.channel.emit(ca,this.selectionStore.selection),this.renderSelection()}onUpdateQueryParams(e){this.selectionStore.setQueryParams(e)}async onUpdateGlobals({globals:e}){let t=this.currentRender instanceof cH&&this.currentRender.story||void 0;super.onUpdateGlobals({globals:e,currentStory:t}),(this.currentRender instanceof mH||this.currentRender instanceof pH)&&await this.currentRender.rerender?.()}async onUpdateArgs({storyId:e,updatedArgs:t}){super.onUpdateArgs({storyId:e,updatedArgs:t})}async onPreloadStories({ids:e}){await this.storeInitializationPromise,this.storyStoreValue&&await Promise.allSettled(e.map(e=>this.storyStoreValue?.loadEntry(e)))}async renderSelection({persistedArgs:e}={}){let{renderToCanvas:t}=this;if(!this.storyStoreValue||!t)throw new Uu({methodName:`renderSelection`});let{selection:n}=this.selectionStore;if(!n)throw Error(`Cannot call renderSelection as no selection was made`);let{storyId:r}=n,i;try{i=await this.storyStoreValue.storyIdToEntry(r)}catch(e){this.currentRender&&await this.teardownRender(this.currentRender),this.renderStoryLoadingException(r,e);return}let a=this.currentSelection?.storyId!==r,o=this.currentRender?.type!==i.type;i.type===`story`?this.view.showPreparingStory({immediate:o}):this.view.showPreparingDocs({immediate:o}),this.currentRender?.isPreparing()&&await this.teardownRender(this.currentRender);let s;s=i.type===`story`?new cH(this.channel,this.storyStoreValue,t,this.mainStoryCallbacks(r),r,`story`):_H(i)?new mH(this.channel,this.storyStoreValue,i,this.mainStoryCallbacks(r)):new pH(this.channel,this.storyStoreValue,i,this.mainStoryCallbacks(r));let c=this.currentSelection;this.currentSelection=n;let l=this.currentRender;this.currentRender=s;try{await s.prepare()}catch(e){l&&await this.teardownRender(l),e!==aH&&this.renderStoryLoadingException(r,e);return}let u=!a&&l&&!s.isEqual(l);if(e&&vH(s)&&(bu(!!s.story),this.storyStoreValue.args.updateFromPersisted(s.story,e)),l&&!l.torndown&&!a&&!u&&!o){this.currentRender=l,this.channel.emit(qa,r),this.view.showMain();return}if(l&&await this.teardownRender(l,{viewModeChanged:o}),c&&(a||o)&&this.channel.emit(La,r),vH(s)){bu(!!s.story);let{parameters:e,initialArgs:t,argTypes:n,unmappedArgs:i,initialGlobals:a,userGlobals:o,storyGlobals:c,globals:l}=this.storyStoreValue.getStoryContext(s.story);this.channel.emit(Va,{id:r,parameters:e,initialArgs:t,argTypes:n,args:i}),this.channel.emit(ha,{userGlobals:o,storyGlobals:c,globals:l,initialGlobals:a})}else{let{parameters:e}=this.storyStoreValue.projectAnnotations,{initialGlobals:t,globals:n}=this.storyStoreValue.userGlobals;if(this.channel.emit(ha,{globals:n,initialGlobals:t,storyGlobals:{},userGlobals:n}),bH(s)||s.entry.tags?.includes(cf.ATTACHED_MDX)){if(!s.csfFiles)throw new Gu({storyId:r});({parameters:e}=this.storyStoreValue.preparedMetaFromCSFFile({csfFile:s.csfFiles[0]}))}this.channel.emit(la,{id:r,parameters:e})}vH(s)?(bu(!!s.story),this.storyRenders.push(s),this.currentRender.renderToElement(this.view.prepareForStory(s.story))):this.currentRender.renderToElement(this.view.prepareForDocs(),this.renderStoryToElement.bind(this))}async teardownRender(e,{viewModeChanged:t=!1}={}){this.storyRenders=this.storyRenders.filter(t=>t!==e),await e?.teardown?.({viewModeChanged:t})}mainStoryCallbacks(e){return{showStoryDuringRender:()=>this.view.showStoryDuringRender(),showMain:()=>this.view.showMain(),showError:t=>this.renderError(e,t),showException:t=>this.renderException(e,t)}}renderPreviewEntryError(e,t){super.renderPreviewEntryError(e,t),this.view.showErrorDisplay(t)}renderMissingStory(){this.view.showNoPreview(),this.channel.emit(Ba)}renderStoryLoadingException(e,t){Ao.error(t),this.view.showErrorDisplay(t),this.channel.emit(Ba,e)}renderException(e,t){let{name:n=`Error`,message:r=String(t),stack:i}=t,a=this.currentRender?.renderId;this.channel.emit(Ka,{name:n,message:r,stack:i}),this.channel.emit(Ha,{newPhase:`errored`,renderId:a,storyId:e}),this.view.showErrorDisplay(t),Ao.error(`Error rendering story '${e}':`),Ao.error(t)}renderError(e,{title:t,description:n}){let r=this.currentRender?.renderId;this.channel.emit(Ra,{title:t,description:n}),this.channel.emit(Ha,{newPhase:`errored`,renderId:r,storyId:e}),this.view.showErrorDisplay({message:t,stack:n}),Ao.error(`Error rendering story ${t}: ${n}`)}},SH=S(Hi(),1),CH=S(Hi(),1),wH=/^[a-zA-Z0-9 _-]*$/,TH=/^-?[0-9]+(\.[0-9]+)?$/,EH=/^#([a-f0-9]{3,4}|[a-f0-9]{6}|[a-f0-9]{8})$/i,DH=/^(rgba?|hsla?)\(([0-9]{1,3}),\s?([0-9]{1,3})%?,\s?([0-9]{1,3})%?,?\s?([0-9](\.[0-9]{1,2})?)?\)$/i,OH=(e=``,t)=>e===null||e===``||!wH.test(e)?!1:t==null||t instanceof Date||typeof t==`number`||typeof t==`boolean`?!0:typeof t==`string`?wH.test(t)||TH.test(t)||EH.test(t)||DH.test(t):Array.isArray(t)?t.every(t=>OH(e,t)):wB(t)?Object.entries(t).every(([e,t])=>OH(e,t)):!1,kH={delimiter:`;`,nesting:!0,arrayRepeat:!0,arrayRepeatSyntax:`bracket`,nestingSyntax:`js`,valueDeserializer(e){if(e.startsWith(`!`)){if(e===`!undefined`)return;if(e===`!null`)return null;if(e===`!true`)return!0;if(e===`!false`)return!1;if(e.startsWith(`!date(`)&&e.endsWith(`)`))return new Date(e.replaceAll(` `,`+`).slice(6,-1));if(e.startsWith(`!hex(`)&&e.endsWith(`)`))return`#${e.slice(5,-1)}`;let t=e.slice(1).match(DH);if(t)return e.startsWith(`!rgba`)||e.startsWith(`!RGBA`)?`${t[1]}(${t[2]}, ${t[3]}, ${t[4]}, ${t[5]})`:e.startsWith(`!hsla`)||e.startsWith(`!HSLA`)?`${t[1]}(${t[2]}, ${t[3]}%, ${t[4]}%, ${t[5]})`:e.startsWith(`!rgb`)||e.startsWith(`!RGB`)?`${t[1]}(${t[2]}, ${t[3]}, ${t[4]})`:`${t[1]}(${t[2]}, ${t[3]}%, ${t[4]}%)`}return TH.test(e)?Number(e):e}},AH=e=>{let t=e.split(`;`).map(e=>e.replace(`=`,`~`).replace(`:`,`=`));return Object.entries((0,CH.parse)(t.join(`;`),kH)).reduce((e,[t,n])=>OH(t,n)?Object.assign(e,{[t]:n}):(Mo.warn(_o`
917
+ Omitted potentially unsafe URL args.
918
+
919
+ More info: https://storybook.js.org/docs/writing-stories/args?ref=error#setting-args-through-the-url
920
+ `),e),{})},{history:jH,document:MH}=W;function NH(e){let t=(e||``).match(/^\/story\/(.+)/);if(!t)throw Error(`Invalid path '${e}', must start with '/story/'`);return t[1]}var PH=({selection:e,extraParams:t})=>{let n=MH?.location.search.slice(1),{path:r,selectedKind:i,selectedStory:a,...o}=(0,SH.parse)(n);return`?${(0,SH.stringify)({...o,...t,...e&&{id:e.storyId,viewMode:e.viewMode}})}`},FH=e=>{if(!e)return;let t=PH({selection:e}),{hash:n=``}=MH.location;MH.title=e.storyId,jH.replaceState({},``,`${MH.location.pathname}${t}${n}`)},IH=e=>typeof e==`object`&&!!e&&Array.isArray(e)===!1,LH=e=>{if(e!==void 0){if(typeof e==`string`)return e;if(Array.isArray(e))return LH(e[0]);if(IH(e))return LH(Object.values(e).filter(Boolean))}},RH=()=>{if(typeof MH<`u`){let e=MH.location.search.slice(1),t=(0,SH.parse)(e),n=typeof t.args==`string`?AH(t.args):void 0,r=typeof t.globals==`string`?AH(t.globals):void 0,i=LH(t.viewMode);if(typeof i!=`string`||!i)i=`story`;else if(!i.match(/docs|story/))return null;let a=LH(t.path),o=a?NH(a):LH(t.id);if(o)return{storySpecifier:o,args:n,globals:r,viewMode:i}}return null},zH=class{constructor(){this.selectionSpecifier=RH()}setSelection(e){this.selection=e,FH(this.selection)}setQueryParams(e){let t=PH({extraParams:e}),{hash:n=``}=MH.location;jH.replaceState({},``,`${MH.location.pathname}${t}${n}`)}},BH=S(Zi(),1),VH=S(Hi(),1),{document:HH}=W,UH=100,WH=(e=>(e.MAIN=`MAIN`,e.NOPREVIEW=`NOPREVIEW`,e.PREPARING_STORY=`PREPARING_STORY`,e.PREPARING_DOCS=`PREPARING_DOCS`,e.ERROR=`ERROR`,e))(WH||{}),GH={PREPARING_STORY:`sb-show-preparing-story`,PREPARING_DOCS:`sb-show-preparing-docs`,MAIN:`sb-show-main`,NOPREVIEW:`sb-show-nopreview`,ERROR:`sb-show-errordisplay`},KH={centered:`sb-main-centered`,fullscreen:`sb-main-fullscreen`,padded:`sb-main-padded`},qH=new BH.default({escapeXML:!0}),JH=class{constructor(){if(this.testing=!1,typeof HH<`u`){let{__SPECIAL_TEST_PARAMETER__:e}=(0,VH.parse)(HH.location.search.slice(1));switch(e){case`preparing-story`:this.showPreparingStory(),this.testing=!0;break;case`preparing-docs`:this.showPreparingDocs(),this.testing=!0;break;default:}}}prepareForStory(e){return this.showStory(),this.applyLayout(e.parameters.layout),HH.documentElement.scrollTop=0,HH.documentElement.scrollLeft=0,this.storyRoot()}storyRoot(){return HH.getElementById(`storybook-root`)}prepareForDocs(){return this.showMain(),this.showDocs(),this.applyLayout(`fullscreen`),HH.documentElement.scrollTop=0,HH.documentElement.scrollLeft=0,this.docsRoot()}docsRoot(){return HH.getElementById(`storybook-docs`)}applyLayout(e=`padded`){if(e===`none`){HH.body.classList.remove(this.currentLayoutClass),this.currentLayoutClass=null;return}this.checkIfLayoutExists(e);let t=KH[e];HH.body.classList.remove(this.currentLayoutClass),HH.body.classList.add(t),this.currentLayoutClass=t}checkIfLayoutExists(e){KH[e]||Ao.warn(_o`
921
+ The desired layout: ${e} is not a valid option.
922
+ The possible options are: ${Object.keys(KH).join(`, `)}, none.
923
+ `)}showMode(e){clearTimeout(this.preparingTimeout),Object.keys(WH).forEach(t=>{t===e?HH.body.classList.add(GH[t]):HH.body.classList.remove(GH[t])})}showErrorDisplay({message:e=``,stack:t=``}){let n=e,r=t,i=e.split(`
924
+ `);i.length>1&&([n]=i,r=i.slice(1).join(`
925
+ `).replace(/^\n/,``)),HH.getElementById(`error-message`).innerHTML=qH.toHtml(n),HH.getElementById(`error-stack`).innerHTML=qH.toHtml(r),this.showMode(`ERROR`)}showNoPreview(){this.testing||(this.showMode(`NOPREVIEW`),this.storyRoot()?.setAttribute(`hidden`,`true`),this.docsRoot()?.setAttribute(`hidden`,`true`))}showPreparingStory({immediate:e=!1}={}){clearTimeout(this.preparingTimeout),e?this.showMode(`PREPARING_STORY`):this.preparingTimeout=setTimeout(()=>this.showMode(`PREPARING_STORY`),UH)}showPreparingDocs({immediate:e=!1}={}){clearTimeout(this.preparingTimeout),e?this.showMode(`PREPARING_DOCS`):this.preparingTimeout=setTimeout(()=>this.showMode(`PREPARING_DOCS`),UH)}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(){HH.body.classList.add(GH.MAIN)}},YH=class extends xH{constructor(e,t){super(e,t,new zH,new JH),this.importFn=e,this.getProjectAnnotations=t,W.__STORYBOOK_PREVIEW__=this}},{document:XH}=W,ZH=[`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`],QH=`script`,$H=`scripts-root`;function eU(){let e=XH.createEvent(`Event`);e.initEvent(`DOMContentLoaded`,!0,!0),XH.dispatchEvent(e)}function tU(e,t,n){let r=XH.createElement(`script`);r.type=e.type===`module`?`module`:`text/javascript`,e.src?(r.onload=t,r.onerror=t,r.src=e.src):r.textContent=e.innerText,n?n.appendChild(r):XH.head.appendChild(r),e.parentNode.removeChild(e),e.src||t()}function nU(e,t,n=0){e[n](()=>{n++,n===e.length?t():nU(e,t,n)})}function rU(e){let t=XH.getElementById($H);t?t.innerHTML=``:(t=XH.createElement(`div`),t.id=$H,XH.body.appendChild(t));let n=Array.from(e.querySelectorAll(QH));if(n.length){let e=[];n.forEach(n=>{let r=n.getAttribute(`type`);(!r||ZH.includes(r))&&e.push(e=>tU(n,e,t))}),e.length&&nU(e,eU,void 0)}else eU()}var iU;(function(e){e.start=`/**`,e.nostart=`/***`,e.delim=`*`,e.end=`*/`})(iU=iU||={});var aU=(0,S(Qi(),1).stringifyRules)(),oU=aU.JsdocTypeObject;aU.JsdocTypeAny=()=>`any`,aU.JsdocTypeObject=(e,t)=>`(${oU(e,t)})`,aU.JsdocTypeOptional=(e,t)=>t(e.element),aU.JsdocTypeNullable=(e,t)=>t(e.element),aU.JsdocTypeNotNullable=(e,t)=>t(e.element),aU.JsdocTypeUnion=(e,t)=>e.elements.map(t).join(`|`);var sU=`storybook/docs`;`${sU}`;var cU=`${sU}/snippet-rendered`;async function lU(e,t){let n=t.parameters?.docs?.source?.transform,{id:r,unmappedArgs:i}=t,a=n&&e?n?.(e,t):e,o=a?await a:void 0;Td.getChannel().emit(cU,{id:r,source:o,args:i})}var uU={depth:10,clearOnStoryChange:!0,limit:50},dU=(e={})=>{Object.assign(uU,e)},fU=(e,t)=>{let n=Object.getPrototypeOf(e);return!n||t(n)?n:fU(n,t)},pU=e=>!!(typeof e==`object`&&e&&fU(e,e=>/^Synthetic(?:Base)?Event$/.test(e.constructor.name))&&typeof e.persist==`function`),mU=e=>{if(pU(e)){let t=Object.create(e.constructor.prototype,Object.getOwnPropertyDescriptors(e));t.persist();let n=Object.getOwnPropertyDescriptor(t,`view`),r=n?.value;return typeof r==`object`&&r?.constructor.name===`Window`&&Object.defineProperty(t,`view`,{...n,value:Object.create(r.constructor.prototype)}),t}return e};function hU(e,t={}){let n={...uU,...t},r=function(...r){if(t.implicit){let t=(`__STORYBOOK_PREVIEW__`in W?W.__STORYBOOK_PREVIEW__:void 0)?.storyRenders.find(e=>e.phase===`playing`||e.phase===`rendering`);if(t){let n=!globalThis?.FEATURES?.disallowImplicitActionsInRenderV8,r=new Bu({phase:t.phase,name:e,deprecated:n});if(n)console.warn(r);else throw r}}let i=Td.getChannel(),a=Date.now().toString(36)+Math.random().toString(36).substring(2),o=r.map(mU),s={id:a,count:0,data:{name:e,args:r.length>1?o:o[0]},options:{...n,maxDepth:5+(n.depth||3)}};i.emit(_d,s)};return r.isAction=!0,r.implicit=t.implicit,r}var gU=(...e)=>{let t=uU,n=e;n.length===1&&Array.isArray(n[0])&&([n]=n),n.length!==1&&typeof n[n.length-1]!=`string`&&(t={...uU,...n.pop()});let r=n[0];(n.length!==1||typeof r==`string`)&&(r={},n.forEach(e=>{r[e]=e}));let i={};return Object.keys(r).forEach(e=>{i[e]=hU(r[e],t)}),i},_U={"@storybook/global":po,"storybook/test":pf,"storybook/actions":pd,"storybook/preview-api":bd,"storybook/internal/channels":go,"storybook/internal/client-logger":Eo,"storybook/internal/core-events":ea,"storybook/internal/types":ad,"storybook/internal/preview-errors":Pu,"storybook/internal/preview-api":bd};async function vU(){let e=new URL(window.location.href);if(e.searchParams.get(`navigator`)!==`true`||globalThis.__STORYBOOK_PREVIEW_NAVIGATOR__)return;globalThis.__STORYBOOK_PREVIEW_NAVIGATOR__=!0;let t=await(await fetch(`/index.json`)).json(),n=e.searchParams.get(`id`);if(!n){let 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}yU(t,n)}var yU=async(e,t)=>{let n={title:``,entries:{},isActive:!0};for(let r of Object.values(e.entries)){let e=r.title.split(`/`),i=n;for(let n of e)i.entries||={},i.entries[n]?t===r.id&&(i.entries[n].isActive=!0):i.entries[n]={title:n,isActive:t===r.id,entries:{}},i=i.entries[n];i.entries||={},i.entries[r.name]={id:r.id,name:r.name,href:`?id=${r.id}&viewMode=${r.type}&navigator=true`,isActive:t===r.id}}let r=e=>{if(`entries`in e&&`title`in e){let t=e;return`
926
+ <li class="sb-navigator-branch">
927
+ <details${t.isActive?` open`:``}>
928
+ <summary class="sb-navigator-title">
929
+ ${t.title}
930
+ </summary>
931
+ <ul class="sb-navigator-entries" aria-label="${t.title}">
932
+ ${Object.values(t.entries).map(r).join(``)}
933
+ </ul>
934
+ </details>
935
+ </li>
936
+ `}let t=e;return`
937
+ <li class="sb-navigator-story-item">
938
+ <a href="${t.href}"
939
+ class="sb-navigator-story-link${t.isActive?` active`:``}"
940
+ aria-current="${t.isActive?`location`:`false`}">${t.name}</a>
941
+ </li>
942
+ `},i=Object.values(n.entries).map(r).join(``),a=document.createElement(`nav`);a.id=`sb-navigator-container`,a.setAttribute(`role`,`navigation`),a.setAttribute(`aria-label`,`Story navigation`),a.innerHTML=`
943
+ <ul class="sb-navigator-list">${i}</ul>
944
+ `,document.body.insertBefore(a,document.body.firstChild);let o=document.createElement(`style`);o.id=`sb-navigator-style`,o.textContent=`
945
+ body {
946
+ display: grid !important;
947
+ grid-template-columns: 300px 1fr;
948
+ font-family: 'Nunito', sans-serif;
949
+ height: 100vh;
950
+ margin: 0;
951
+
952
+ --text-color: rgb(46, 52, 56);
953
+ --bg-color: rgb(246, 249, 252);
954
+
955
+ @media (prefers-color-scheme: dark) {
956
+ --text-color: rgb(201, 205, 207);
957
+ --bg-color: rgb(34, 36, 37);
958
+ }
959
+ }
960
+ #storybook-root, #storybook-docs {
961
+ overflow-y: auto;
962
+ max-height: 100vh;
963
+ max-width: 100%;
964
+ }
965
+ #sb-navigator-container, #sb-navigator-container * {
966
+ box-sizing: border-box;
967
+ }
968
+ #sb-navigator-container {
969
+ height: 100vh;
970
+ overflow-y: auto;
971
+ border-right: 1px solid #eee;
972
+ padding: 1rem;
973
+ font-size: 14px;
974
+ color: var(--text-color);
975
+ background-color: var(--bg-color);
976
+ align-self: start;
977
+ z-index: 1000;
978
+ }
979
+ .sb-main-padded #sb-navigator-container {
980
+ margin: -1rem 1rem -1rem -1rem;
981
+ }
982
+ .sb-navigator-list {
983
+ list-style-type: none;
984
+ padding: 0;
985
+ margin: 0;
986
+ }
987
+ .sb-navigator-branch {
988
+ list-style-type: none;
989
+ }
990
+ .sb-navigator-item {
991
+ margin-bottom: 15px;
992
+ }
993
+ .sb-navigator-title {
994
+ color: var(--text-color);
995
+ text-decoration: none;
996
+ padding-block: 5px;
997
+ cursor: pointer;
998
+ }
999
+ .sb-navigator-entries {
1000
+ padding-left: 15px;
1001
+ }
1002
+ .sb-navigator-story-item {
1003
+ margin-bottom: 8px;
1004
+ margin-left: 8px;
1005
+ }
1006
+ .sb-navigator-story-link {
1007
+ color: var(--text-color);
1008
+ }
1009
+ .sb-navigator-story-link.active {
1010
+ font-weight: bold;
1011
+ color: hsl(212 100 46);
1012
+ }
1013
+ `,document.head.appendChild(o),a.querySelector(`.sb-navigator-story-link.active`)?.closest(`details`)?.scrollIntoView({block:`center`})},bU=S($i(),1),xU;function SU(){return xU||=new bU.default(W.navigator?.userAgent).getBrowserInfo(),xU}function CU(e){return e.browserInfo=SU(),e}function wU(e){let t=e.error||e;t.fromStorybook&&W.sendTelemetryError(t)}function TU({reason:e}){e.fromStorybook&&W.sendTelemetryError(e)}function EU(){ho.forEach(e=>{W[mo[e]]=_U[e]}),W.sendTelemetryError=e=>{W.__STORYBOOK_ADDONS_CHANNEL__.emit(no,CU(e))},document.addEventListener(`DOMContentLoaded`,()=>{W.__STORYBOOK_ADDONS_CHANNEL__.on(fo,e=>{e?document.body.setAttribute(`inert`,`true`):document.body.removeAttribute(`inert`)})}),W.addEventListener(`error`,wU),W.addEventListener(`unhandledrejection`,TU),vU()}EU();var{createBrowserChannel:DU}=__STORYBOOK_MODULE_CHANNELS__,{addons:OU}=__STORYBOOK_MODULE_PREVIEW_API__,kU=DU({page:`preview`});OU.setChannel(kU),window.__STORYBOOK_ADDONS_CHANNEL__=kU,window.CONFIG_TYPE===`DEVELOPMENT`&&(window.__STORYBOOK_SERVER_CHANNEL__=kU);var AU=`storybook/measure-addon`;`${AU}`,`${AU}`,`${AU}`,`${AU}`;function jU(){try{return!!globalThis.__vitest_browser__||!!globalThis.window?.navigator?.userAgent?.match(/StorybookTestRunner/)}catch{return!1}}var MU={AUTODOCS:`autodocs`,ATTACHED_MDX:`attached-mdx`,UNATTACHED_MDX:`unattached-mdx`,PLAY_FN:`play-fn`,TEST_FN:`test-fn`,DEV:`dev`,TEST:`test`,MANIFEST:`manifest`},NU=Object.create,PU=Object.defineProperty,FU=Object.getOwnPropertyDescriptor,IU=Object.getOwnPropertyNames,LU=Object.getPrototypeOf,RU=Object.prototype.hasOwnProperty,zU=(e=>typeof d<`u`?d:typeof Proxy<`u`?new Proxy(e,{get:(e,t)=>(typeof d<`u`?d:e)[t]}):e)(function(e){if(typeof d<`u`)return d.apply(this,arguments);throw Error(`Dynamic require of "`+e+`" is not supported`)}),BU=(e,t)=>function(){return t||(0,e[IU(e)[0]])((t={exports:{}}).exports,t),t.exports},VU=(e,t)=>{for(var n in t)PU(e,n,{get:t[n],enumerable:!0})},HU=(e,t,n,r)=>{if(t&&typeof t==`object`||typeof t==`function`)for(let i of IU(t))!RU.call(e,i)&&i!==n&&PU(e,i,{get:()=>t[i],enumerable:!(r=FU(t,i))||r.enumerable});return e},UU=(e,t,n)=>(n=e==null?{}:NU(LU(e)),HU(t||!e||!e.__esModule?PU(n,`default`,{value:e,enumerable:!0}):n,e)),WU=BU({"../../node_modules/picoquery/lib/string-util.js"(e){Object.defineProperty(e,`__esModule`,{value:!0}),e.encodeString=r;var t=Array.from({length:256},(e,t)=>`%`+((t<16?`0`:``)+t.toString(16)).toUpperCase()),n=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 r(e){let r=e.length;if(r===0)return``;let i=``,a=0,o=0;outer:for(;o<r;o++){let s=e.charCodeAt(o);for(;s<128;){if(n[s]!==1&&(a<o&&(i+=e.slice(a,o)),a=o+1,i+=t[s]),++o===r)break outer;s=e.charCodeAt(o)}if(a<o&&(i+=e.slice(a,o)),s<2048){a=o+1,i+=t[192|s>>6]+t[128|s&63];continue}if(s<55296||s>=57344){a=o+1,i+=t[224|s>>12]+t[128|s>>6&63]+t[128|s&63];continue}if(++o,o>=r)throw Error(`URI malformed`);let c=e.charCodeAt(o)&1023;a=o+1,s=65536+((s&1023)<<10|c),i+=t[240|s>>18]+t[128|s>>12&63]+t[128|s>>6&63]+t[128|s&63]}return a===0?e:a<r?i+e.slice(a):i}}}),GU=BU({"../../node_modules/picoquery/lib/shared.js"(e){Object.defineProperty(e,`__esModule`,{value:!0}),e.defaultOptions=e.defaultShouldSerializeObject=e.defaultValueSerializer=void 0;var t=WU();e.defaultValueSerializer=e=>{switch(typeof e){case`string`:return(0,t.encodeString)(e);case`bigint`:case`boolean`:return``+e;case`number`:if(Number.isFinite(e))return e<1e21?``+e:(0,t.encodeString)(``+e);break}return e instanceof Date?(0,t.encodeString)(e.toISOString()):``},e.defaultShouldSerializeObject=e=>e instanceof Date;var n=e=>e;e.defaultOptions={nesting:!0,nestingSyntax:`dot`,arrayRepeat:!1,arrayRepeatSyntax:`repeat`,delimiter:38,valueDeserializer:n,valueSerializer:e.defaultValueSerializer,keyDeserializer:n,shouldSerializeObject:e.defaultShouldSerializeObject}}}),KU=BU({"../../node_modules/picoquery/lib/object-util.js"(e){Object.defineProperty(e,`__esModule`,{value:!0}),e.getDeepObject=i,e.stringifyObject=u;var t=GU(),n=WU();function r(e){return e===`__proto__`||e===`constructor`||e===`prototype`}function i(e,t,n,i,a){if(r(t))return e;let o=e[t];return typeof o==`object`&&o?o:!i&&(a||typeof n==`number`||typeof n==`string`&&n*0==0&&n.indexOf(`.`)===-1)?e[t]=[]:e[t]={}}var a=20,o=`[]`,s=`[`,c=`]`,l=`.`;function u(e,r,i=0,d,f){let{nestingSyntax:p=t.defaultOptions.nestingSyntax,arrayRepeat:m=t.defaultOptions.arrayRepeat,arrayRepeatSyntax:h=t.defaultOptions.arrayRepeatSyntax,nesting:g=t.defaultOptions.nesting,delimiter:_=t.defaultOptions.delimiter,valueSerializer:v=t.defaultOptions.valueSerializer,shouldSerializeObject:y=t.defaultOptions.shouldSerializeObject}=r,b=typeof _==`number`?String.fromCharCode(_):_,x=f===!0&&m,S=p===`dot`||p===`js`&&!f;if(i>a)return``;let C=``,w=!0,T=!1;for(let t in e){let a=e[t];if(a===void 0)continue;let f;d?(f=d,x?h===`bracket`&&(f+=o):S?(f+=l,f+=t):(f+=s,f+=t,f+=c)):f=t,w||(C+=b),typeof a==`object`&&a&&!y(a)?(T=a.pop!==void 0,(g||m&&T)&&(C+=u(a,r,i+1,f,T))):(C+=(0,n.encodeString)(f),C+=`=`,C+=v(a,t)),w&&=!1}return C}}}),qU=BU({"../../node_modules/picoquery/lib/decode-uri-component.js"(e){Object.defineProperty(e,`__esModule`,{value:!0}),e.decodeURIComponent=i;var t=12,n=0,r=[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 i(e){let i=e.indexOf(`%`);if(i===-1)return e;let a=e.length,s=``,c=0,l=0,u=i,d=t;for(;i>-1&&i<a;){let f=o(e[i+1],4)|o(e[i+2],0),p=r[f];if(d=r[256+d+p],l=l<<6|f&r[364+p],d===t)s+=e.slice(c,u),s+=l<=65535?String.fromCharCode(l):String.fromCharCode(55232+(l>>10),56320+(l&1023)),l=0,c=i+3,i=u=e.indexOf(`%`,c);else{if(d===n)return null;if(i+=3,i<a&&e.charCodeAt(i)===37)continue;return null}}return s+e.slice(c)}var a={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 o(e,t){let n=a[e];return n===void 0?255:n<<t}}}),JU=BU({"../../node_modules/picoquery/lib/parse.js"(e){Object.defineProperty(e,`__esModule`,{value:!0}),e.numberValueDeserializer=e.numberKeyDeserializer=void 0,e.parse=s;var t=KU(),n=GU(),r=qU();e.numberKeyDeserializer=e=>{let t=Number(e);return Number.isNaN(t)?e:t},e.numberValueDeserializer=e=>{let t=Number(e);return Number.isNaN(t)?e:t};var i=/\+/g,a=function(){};a.prototype=Object.create(null);function o(e,t,n,a,o){let s=e.substring(t,n);return a&&(s=s.replace(i,` `)),o&&(s=(0,r.decodeURIComponent)(s)||s),s}function s(e,s){let{valueDeserializer:c=n.defaultOptions.valueDeserializer,keyDeserializer:l=n.defaultOptions.keyDeserializer,arrayRepeatSyntax:u=n.defaultOptions.arrayRepeatSyntax,nesting:d=n.defaultOptions.nesting,arrayRepeat:f=n.defaultOptions.arrayRepeat,nestingSyntax:p=n.defaultOptions.nestingSyntax,delimiter:m=n.defaultOptions.delimiter}=s??{},h=typeof m==`string`?m.charCodeAt(0):m,g=p===`js`,_=new a;if(typeof e!=`string`)return _;let v=e.length,y=``,b=-1,x=-1,S=-1,C=_,w,T=``,E=``,D=!1,O=!1,k=!1,A=!1,j=!1,M=!1,N=0,P=-1,ee=-1,te=-1;for(let n=0;n<v+1;n++){if(N=n===v?h:e.charCodeAt(n),N===h){if(M=x>b,M||(x=n),S!==x-1&&(E=o(e,S+1,P>-1?P:x,k,D),T=l(E),w!==void 0&&(C=(0,t.getDeepObject)(C,w,T,g&&j,void 0))),M||T!==``){M&&(y=e.slice(x+1,n),A&&(y=y.replace(i,` `)),O&&(y=(0,r.decodeURIComponent)(y)||y));let t=c(y,T);if(f){let e=C[T];e===void 0?P>-1?C[T]=[t]:C[T]=t:e.pop?e.push(t):C[T]=[e,t]}else C[T]=t}y=``,b=n,x=n,D=!1,O=!1,k=!1,A=!1,j=!1,P=-1,S=n,C=_,w=void 0,T=``}else N===93?(f&&u===`bracket`&&te===91&&(P=ee),d&&(p===`index`||g)&&x<=b&&(S!==ee&&(E=o(e,S+1,n,k,D),T=l(E),w!==void 0&&(C=(0,t.getDeepObject)(C,w,T,void 0,void 0)),w=T,k=!1,D=!1),S=n,j=!1)):N===46?d&&(p===`dot`||g)&&x<=b&&(S!==ee&&(E=o(e,S+1,n,k,D),T=l(E),w!==void 0&&(C=(0,t.getDeepObject)(C,w,T,g)),w=T,k=!1,D=!1),j=!0,S=n):N===91?d&&(p===`index`||g)&&x<=b&&(S!==ee&&(E=o(e,S+1,n,k,D),T=l(E),g&&w!==void 0&&(C=(0,t.getDeepObject)(C,w,T,g)),w=T,k=!1,D=!1,j=!1),S=n):N===61?x<=b?x=n:O=!0:N===43?x>b?A=!0:k=!0:N===37&&(x>b?O=!0:D=!0);ee=n,te=N}return _}}}),YU=BU({"../../node_modules/picoquery/lib/stringify.js"(e){Object.defineProperty(e,`__esModule`,{value:!0}),e.stringify=n;var t=KU();function n(e,n){if(typeof e!=`object`||!e)return``;let r=n??{};return(0,t.stringifyObject)(e,r)}}}),XU=BU({"../../node_modules/picoquery/lib/main.js"(e){var t=e&&e.__createBinding||(Object.create?(function(e,t,n,r){r===void 0&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);(!i||(`get`in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}):(function(e,t,n,r){r===void 0&&(r=n),e[r]=t[n]})),n=e&&e.__exportStar||function(e,n){for(var r in e)r!==`default`&&!Object.prototype.hasOwnProperty.call(n,r)&&t(n,e,r)};Object.defineProperty(e,`__esModule`,{value:!0}),e.stringify=e.parse=void 0;var r=JU();Object.defineProperty(e,`parse`,{enumerable:!0,get:function(){return r.parse}});var i=YU();Object.defineProperty(e,`stringify`,{enumerable:!0,get:function(){return i.stringify}}),n(GU(),e)}});function ZU(e){if(!e||typeof e!=`object`)return!1;let t=Object.getPrototypeOf(e);return t===null||t===Object.prototype||Object.getPrototypeOf(t)===null?Object.prototype.toString.call(e)===`[object Object]`:!1}function QU(e){return e==null||typeof e!=`object`&&typeof e!=`function`}function $U(e){return ArrayBuffer.isView(e)&&!(e instanceof DataView)}function eW(e){return Object.getOwnPropertySymbols(e).filter(t=>Object.prototype.propertyIsEnumerable.call(e,t))}function tW(e){return e==null?e===void 0?`[object Undefined]`:`[object Null]`:Object.prototype.toString.call(e)}var nW=`[object RegExp]`,rW=`[object String]`,iW=`[object Number]`,aW=`[object Boolean]`,oW=`[object Symbol]`,sW=`[object Date]`,cW=`[object Map]`,lW=`[object Set]`,uW=`[object Array]`,dW=`[object Function]`,fW=`[object ArrayBuffer]`,pW=`[object Object]`,mW=`[object Error]`,hW=`[object DataView]`,gW=`[object Uint8Array]`,_W=`[object Uint8ClampedArray]`,vW=`[object Uint16Array]`,yW=`[object Uint32Array]`,bW=`[object BigUint64Array]`,xW=`[object Int8Array]`,SW=`[object Int16Array]`,CW=`[object Int32Array]`,wW=`[object BigInt64Array]`,TW=`[object Float32Array]`,EW=`[object Float64Array]`;function DW(e,t){let n={},r=Object.keys(e);for(let i=0;i<r.length;i++){let a=r[i],o=e[a];n[a]=t(o,a,e)}return n}function OW(e){return e===`__proto__`}function kW(e,t,n){let r=Object.keys(t);for(let i=0;i<r.length;i++){let a=r[i];if(OW(a))continue;let o=t[a],s=e[a],c=n(s,o,a,e,t);c===void 0?Array.isArray(o)?Array.isArray(s)?e[a]=kW(s,o,n):e[a]=kW([],o,n):ZU(o)?ZU(s)?e[a]=kW(s,o,n):e[a]=kW({},o,n):(s===void 0||o!==void 0)&&(e[a]=o):e[a]=c}return e}function AW(e,t){let n={};for(let r=0;r<t.length;r++){let i=t[r];Object.hasOwn(e,i)&&(n[i]=e[i])}return n}function jW(e){if(QU(e))return e;if(Array.isArray(e)||$U(e)||e instanceof ArrayBuffer||typeof SharedArrayBuffer<`u`&&e instanceof SharedArrayBuffer)return e.slice(0);let t=Object.getPrototypeOf(e),n=t.constructor;if(e instanceof Date||e instanceof Map||e instanceof Set)return new n(e);if(e instanceof RegExp){let t=new n(e);return t.lastIndex=e.lastIndex,t}if(e instanceof DataView)return new n(e.buffer.slice(0));if(e instanceof Error){let t=new n(e.message);return t.stack=e.stack,t.name=e.name,t.cause=e.cause,t}if(typeof File<`u`&&e instanceof File)return new n([e],e.name,{type:e.type,lastModified:e.lastModified});if(typeof e==`object`){let n=Object.create(t);return Object.assign(n,e)}return e}function MW(e,t){let n={...e};for(let e=0;e<t.length;e++){let r=t[e];delete n[r]}return n}function NW(e,t){return kW(jW(e),t,function e(t,n){if(Array.isArray(n))return kW(Array.isArray(t)?jW(t):[],n,e);if(ZU(n))return ZU(t)?kW(jW(t),n,e):kW({},n,e)})}var PW=BU({"../../node_modules/jsdoc-type-pratt-parser/dist/index.js"(e,t){(function(n,r){typeof e==`object`&&typeof t<`u`?r(e):typeof define==`function`&&define.amd?define([`exports`],r):(n=typeof globalThis<`u`?globalThis:n||self,r(n.jtpp={}))})(e,(function(e){function t(e){return e.text!==void 0&&e.text!==``?`'${e.type}' with value '${e.text}'`:`'${e.type}'`}class n extends Error{constructor(e){super(`No parslet found for token: ${t(e)}`),this.token=e,Object.setPrototypeOf(this,n.prototype)}getToken(){return this.token}}class r extends Error{constructor(e){super(`The parsing ended early. The next token was: ${t(e)}`),this.token=e,Object.setPrototypeOf(this,r.prototype)}getToken(){return this.token}}class i extends Error{constructor(e,t){let n=`Unexpected type: '${e.type}'.`;t!==void 0&&(n+=` Message: ${t}`),super(n),Object.setPrototypeOf(this,i.prototype)}}function a(e){return t=>t.startsWith(e)?{type:e,text:e}:null}function o(e){let t=0,n,r=e[0],i=!1;if(r!==`'`&&r!==`"`)return null;for(;t<e.length;){if(t++,n=e[t],!i&&n===r){t++;break}i=!i&&n===`\\`}if(n!==r)throw Error(`Unterminated String`);return e.slice(0,t)}let s=RegExp(`[$_\\p{ID_Start}]|\\\\u\\p{Hex_Digit}{4}|\\\\u\\{0*(?:\\p{Hex_Digit}{1,5}|10\\p{Hex_Digit}{4})\\}`,`u`),c=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 l(e){let t=e[0];if(!s.test(t))return null;let n=1;do{if(t=e[n],!c.test(t))break;n++}while(n<e.length);return e.slice(0,n)}let u=/^(NaN|-?((\d*\.\d+|\d+)([Ee][+-]?\d+)?|Infinity))/;function d(e){return u.exec(e)?.[0]??null}let f=e=>{let t=l(e);return t==null?null:{type:`Identifier`,text:t}};function p(e){return t=>{if(!t.startsWith(e))return null;let n=t[e.length];return n!==void 0&&c.test(n)?null:{type:e,text:e}}}let m=[e=>e.length>0?null:{type:`EOF`,text:``},a(`=>`),a(`(`),a(`)`),a(`{`),a(`}`),a(`[`),a(`]`),a(`|`),a(`&`),a(`<`),a(`>`),a(`,`),a(`;`),a(`*`),a(`?`),a(`!`),a(`=`),a(`:`),a(`...`),a(`.`),a(`#`),a(`~`),a(`/`),a(`@`),p(`undefined`),p(`null`),p(`function`),p(`this`),p(`new`),p(`module`),p(`event`),p(`extends`),p(`external`),p(`infer`),p(`typeof`),p(`keyof`),p(`readonly`),p(`import`),p(`is`),p(`in`),p(`asserts`),e=>{let t=d(e);return t===null?null:{type:`Number`,text:t}},f,e=>{let t=o(e);return t==null?null:{type:`StringValue`,text:t}}],h=/^\s*\n\s*/;class g{static create(e){let t=this.read(e);e=t.text;let n=this.read(e);return e=n.text,new g(e,void 0,t.token,n.token)}constructor(e,t,n,r){this.text=``,this.text=e,this.previous=t,this.current=n,this.next=r}static read(e,t=!1){t||=h.test(e),e=e.trim();for(let n of m){let r=n(e);if(r!==null){let n=Object.assign(Object.assign({},r),{startOfLine:t});return e=e.slice(n.text.length),{text:e,token:n}}}throw Error(`Unexpected Token `+e)}advance(){let e=g.read(this.text);return new g(e.text,this.current,this.next,e.token)}}function _(e){if(e===void 0)throw Error(`Unexpected undefined`);if(e.type===`JsdocTypeKeyValue`||e.type===`JsdocTypeParameterList`||e.type===`JsdocTypeProperty`||e.type===`JsdocTypeReadonlyProperty`||e.type===`JsdocTypeObjectField`||e.type===`JsdocTypeJsdocObjectField`||e.type===`JsdocTypeIndexSignature`||e.type===`JsdocTypeMappedType`||e.type===`JsdocTypeTypeParameter`)throw new i(e);return e}function v(e){return e.type===`JsdocTypeKeyValue`?b(e):_(e)}function y(e){return e.type===`JsdocTypeName`?e:b(e)}function b(e){if(e.type!==`JsdocTypeKeyValue`)throw new i(e);return e}function x(e){if(e.type===`JsdocTypeVariadic`){if(e.element?.type===`JsdocTypeName`)return e;throw new i(e)}if(e.type!==`JsdocTypeNumber`&&e.type!==`JsdocTypeName`)throw new i(e);return e}function S(e){if(e.type===`JsdocTypeTuple`||e.type===`JsdocTypeGeneric`&&e.meta.brackets===`square`)return e;throw new i(e)}function C(e){return e.type===`JsdocTypeIndexSignature`||e.type===`JsdocTypeMappedType`}var w;(function(e){e[e.ALL=0]=`ALL`,e[e.PARAMETER_LIST=1]=`PARAMETER_LIST`,e[e.OBJECT=2]=`OBJECT`,e[e.KEY_VALUE=3]=`KEY_VALUE`,e[e.INDEX_BRACKETS=4]=`INDEX_BRACKETS`,e[e.UNION=5]=`UNION`,e[e.INTERSECTION=6]=`INTERSECTION`,e[e.PREFIX=7]=`PREFIX`,e[e.INFIX=8]=`INFIX`,e[e.TUPLE=9]=`TUPLE`,e[e.SYMBOL=10]=`SYMBOL`,e[e.OPTIONAL=11]=`OPTIONAL`,e[e.NULLABLE=12]=`NULLABLE`,e[e.KEY_OF_TYPE_OF=13]=`KEY_OF_TYPE_OF`,e[e.FUNCTION=14]=`FUNCTION`,e[e.ARROW=15]=`ARROW`,e[e.ARRAY_BRACKETS=16]=`ARRAY_BRACKETS`,e[e.GENERIC=17]=`GENERIC`,e[e.NAME_PATH=18]=`NAME_PATH`,e[e.PARENTHESIS=19]=`PARENTHESIS`,e[e.SPECIAL_TYPES=20]=`SPECIAL_TYPES`})(w||={});class T{constructor(e,t,n){this.grammar=e,typeof t==`string`?this._lexer=g.create(t):this._lexer=t,this.baseParser=n}get lexer(){return this._lexer}parse(){let e=this.parseType(w.ALL);if(this.lexer.current.type!==`EOF`)throw new r(this.lexer.current);return e}parseType(e){return _(this.parseIntermediateType(e))}parseIntermediateType(e){let t=this.tryParslets(null,e);if(t===null)throw new n(this.lexer.current);return this.parseInfixIntermediateType(t,e)}parseInfixIntermediateType(e,t){let n=this.tryParslets(e,t);for(;n!==null;)e=n,n=this.tryParslets(e,t);return e}tryParslets(e,t){for(let n of this.grammar){let r=n(this,t,e);if(r!==null)return r}return null}consume(e){return Array.isArray(e)||(e=[e]),e.includes(this.lexer.current.type)?(this._lexer=this.lexer.advance(),!0):!1}acceptLexerState(e){this._lexer=e.lexer}}function E(e){return e===`}`||e===`EOF`||e===`|`||e===`,`||e===`)`||e===`>`}let D=(e,t,n)=>{let r=e.lexer.current.type,i=e.lexer.next.type;return n==null&&r===`?`&&!E(i)||n!=null&&r===`?`?(e.consume(`?`),n==null?{type:`JsdocTypeNullable`,element:e.parseType(w.NULLABLE),meta:{position:`prefix`}}:{type:`JsdocTypeNullable`,element:_(n),meta:{position:`suffix`}}):null};function O(e){let t=(t,n,r)=>{let i=t.lexer.current.type,a=t.lexer.next.type;if(r===null){if(`parsePrefix`in e&&e.accept(i,a))return e.parsePrefix(t)}else if(`parseInfix`in e&&e.precedence>n&&e.accept(i,a))return e.parseInfix(t,r);return null};return Object.defineProperty(t,`name`,{value:e.name}),t}let k=O({name:`optionalParslet`,accept:e=>e===`=`,precedence:w.OPTIONAL,parsePrefix:e=>(e.consume(`=`),{type:`JsdocTypeOptional`,element:e.parseType(w.OPTIONAL),meta:{position:`prefix`}}),parseInfix:(e,t)=>(e.consume(`=`),{type:`JsdocTypeOptional`,element:_(t),meta:{position:`suffix`}})}),A=O({name:`numberParslet`,accept:e=>e===`Number`,parsePrefix:e=>{let t=parseFloat(e.lexer.current.text);return e.consume(`Number`),{type:`JsdocTypeNumber`,value:t}}}),j=O({name:`parenthesisParslet`,accept:e=>e===`(`,parsePrefix:e=>{if(e.consume(`(`),e.consume(`)`))return{type:`JsdocTypeParameterList`,elements:[]};let t=e.parseIntermediateType(w.ALL);if(!e.consume(`)`))throw Error(`Unterminated parenthesis`);return t.type===`JsdocTypeParameterList`?t:t.type===`JsdocTypeKeyValue`?{type:`JsdocTypeParameterList`,elements:[t]}:{type:`JsdocTypeParenthesis`,element:_(t)}}}),M=O({name:`specialTypesParslet`,accept:(e,t)=>e===`?`&&E(t)||e===`null`||e===`undefined`||e===`*`,parsePrefix:e=>{if(e.consume(`null`))return{type:`JsdocTypeNull`};if(e.consume(`undefined`))return{type:`JsdocTypeUndefined`};if(e.consume(`*`))return{type:`JsdocTypeAny`};if(e.consume(`?`))return{type:`JsdocTypeUnknown`};throw Error(`Unacceptable token: `+e.lexer.current.text)}}),N=O({name:`notNullableParslet`,accept:e=>e===`!`,precedence:w.NULLABLE,parsePrefix:e=>(e.consume(`!`),{type:`JsdocTypeNotNullable`,element:e.parseType(w.NULLABLE),meta:{position:`prefix`}}),parseInfix:(e,t)=>(e.consume(`!`),{type:`JsdocTypeNotNullable`,element:_(t),meta:{position:`suffix`}})});function P({allowTrailingComma:e}){return O({name:`parameterListParslet`,accept:e=>e===`,`,precedence:w.PARAMETER_LIST,parseInfix:(e,t)=>{let r=[v(t)];e.consume(`,`);do try{let t=e.parseIntermediateType(w.PARAMETER_LIST);r.push(v(t))}catch(e){if(e instanceof n)break;throw e}while(e.consume(`,`));if(r.length>0&&r.slice(0,-1).some(e=>e.type===`JsdocTypeVariadic`))throw Error(`Only the last parameter may be a rest parameter`);return{type:`JsdocTypeParameterList`,elements:r}}})}let ee=O({name:`genericParslet`,accept:(e,t)=>e===`<`||e===`.`&&t===`<`,precedence:w.GENERIC,parseInfix:(e,t)=>{let n=e.consume(`.`);e.consume(`<`);let r=[],a=!1;if(e.consume(`infer`)){a=!0;let t=e.parseIntermediateType(w.SYMBOL);if(t.type!==`JsdocTypeName`)throw new i(t,`A typescript asserts always has to have a name on the left side.`);r.push(t)}else do r.push(e.parseType(w.PARAMETER_LIST));while(e.consume(`,`));if(!e.consume(`>`))throw Error(`Unterminated generic parameter list`);return Object.assign(Object.assign({type:`JsdocTypeGeneric`,left:_(t),elements:r},a?{infer:!0}:{}),{meta:{brackets:`angle`,dot:n}})}}),te=O({name:`unionParslet`,accept:e=>e===`|`,precedence:w.UNION,parseInfix:(e,t)=>{e.consume(`|`);let n=[];do n.push(e.parseType(w.UNION));while(e.consume(`|`));return{type:`JsdocTypeUnion`,elements:[_(t),...n]}}}),ne=[D,k,A,j,M,N,P({allowTrailingComma:!0}),ee,te,k];function F({allowSquareBracketsOnAnyType:e,allowJsdocNamePaths:t,pathGrammar:n}){return function(r,a,o){if(o==null||a>=w.NAME_PATH)return null;let s=r.lexer.current.type,c=r.lexer.next.type;if(!(s===`.`&&c!==`<`||s===`[`&&(e||o.type===`JsdocTypeName`)||t&&(s===`~`||s===`#`)))return null;let l,u=!1;r.consume(`.`)?l=`property`:r.consume(`[`)?(l=`property-brackets`,u=!0):r.consume(`~`)?l=`inner`:(r.consume(`#`),l=`instance`);let d=n===null?r:new T(n,r.lexer,r),f=d.parseIntermediateType(w.NAME_PATH);r.acceptLexerState(d);let p;switch(f.type){case`JsdocTypeName`:p={type:`JsdocTypeProperty`,value:f.value,meta:{quote:void 0}};break;case`JsdocTypeNumber`:p={type:`JsdocTypeProperty`,value:f.value.toString(10),meta:{quote:void 0}};break;case`JsdocTypeStringValue`:p={type:`JsdocTypeProperty`,value:f.value,meta:{quote:f.meta.quote}};break;case`JsdocTypeSpecialNamePath`:if(f.specialType===`event`)p=f;else throw new i(f,`Type 'JsdocTypeSpecialNamePath' is only allowed with specialType 'event'`);break;default:throw new i(f,`Expecting 'JsdocTypeName', 'JsdocTypeNumber', 'JsdocStringValue' or 'JsdocTypeSpecialNamePath'`)}if(u&&!r.consume(`]`)){let e=r.lexer.current;throw Error(`Unterminated square brackets. Next token is '${e.type}' with text '${e.text}'`)}return{type:`JsdocTypeNamePath`,left:_(o),right:p,pathType:l}}}function re({allowedAdditionalTokens:e}){return O({name:`nameParslet`,accept:t=>t===`Identifier`||t===`this`||t===`new`||e.includes(t),parsePrefix:e=>{let{type:t,text:n}=e.lexer.current;return e.consume(t),{type:`JsdocTypeName`,value:n}}})}let ie=O({name:`stringValueParslet`,accept:e=>e===`StringValue`,parsePrefix:e=>{let t=e.lexer.current.text;return e.consume(`StringValue`),{type:`JsdocTypeStringValue`,value:t.slice(1,-1),meta:{quote:t[0]===`'`?`single`:`double`}}}});function ae({pathGrammar:e,allowedTypes:t}){return O({name:`specialNamePathParslet`,accept:e=>t.includes(e),parsePrefix:t=>{let n=t.lexer.current.type;if(t.consume(n),!t.consume(`:`))return{type:`JsdocTypeName`,value:n};let r,i=t.lexer.current;if(t.consume(`StringValue`))r={type:`JsdocTypeSpecialNamePath`,value:i.text.slice(1,-1),specialType:n,meta:{quote:i.text[0]===`'`?`single`:`double`}};else{let e=``,a=[`Identifier`,`@`,`/`];for(;a.some(e=>t.consume(e));)e+=i.text,i=t.lexer.current;r={type:`JsdocTypeSpecialNamePath`,value:e,specialType:n,meta:{quote:void 0}}}let a=new T(e,t.lexer,t),o=a.parseInfixIntermediateType(r,w.ALL);return t.acceptLexerState(a),_(o)}})}let I=[re({allowedAdditionalTokens:[`external`,`module`]}),ie,A,F({allowSquareBracketsOnAnyType:!1,allowJsdocNamePaths:!0,pathGrammar:null})],oe=[...I,ae({allowedTypes:[`event`],pathGrammar:I})];function se(e){let t;if(e.type===`JsdocTypeParameterList`)t=e.elements;else if(e.type===`JsdocTypeParenthesis`)t=[e.element];else throw new i(e);return t.map(e=>v(e))}function ce(e){let t=se(e);if(t.some(e=>e.type===`JsdocTypeKeyValue`))throw Error(`No parameter should be named`);return t}function le({allowNamedParameters:e,allowNoReturnType:t,allowWithoutParenthesis:n,allowNewAsFunctionKeyword:r}){return O({name:`functionParslet`,accept:(e,t)=>e===`function`||r&&e===`new`&&t===`(`,parsePrefix:r=>{let i=r.consume(`new`);r.consume(`function`);let a=r.lexer.current.type===`(`;if(!a){if(!n)throw Error(`function is missing parameter list`);return{type:`JsdocTypeName`,value:`function`}}let o={type:`JsdocTypeFunction`,parameters:[],arrow:!1,constructor:i,parenthesis:a},s=r.parseIntermediateType(w.FUNCTION);if(e===void 0)o.parameters=ce(s);else{if(i&&s.type===`JsdocTypeFunction`&&s.arrow)return o=s,o.constructor=!0,o;o.parameters=se(s);for(let t of o.parameters)if(t.type===`JsdocTypeKeyValue`&&!e.includes(t.key))throw Error(`only allowed named parameters are ${e.join(`, `)} but got ${t.type}`)}if(r.consume(`:`))o.returnType=r.parseType(w.PREFIX);else if(!t)throw Error(`function is missing return type`);return o}})}function ue({allowPostfix:e,allowEnclosingBrackets:t}){return O({name:`variadicParslet`,accept:e=>e===`...`,precedence:w.PREFIX,parsePrefix:e=>{e.consume(`...`);let r=t&&e.consume(`[`);try{let t=e.parseType(w.PREFIX);if(r&&!e.consume(`]`))throw Error(`Unterminated variadic type. Missing ']'`);return{type:`JsdocTypeVariadic`,element:_(t),meta:{position:`prefix`,squareBrackets:r}}}catch(e){if(e instanceof n){if(r)throw Error(`Empty square brackets for variadic are not allowed.`);return{type:`JsdocTypeVariadic`,meta:{position:void 0,squareBrackets:!1}}}else throw e}},parseInfix:e?(e,t)=>(e.consume(`...`),{type:`JsdocTypeVariadic`,element:_(t),meta:{position:`suffix`,squareBrackets:!1}}):void 0})}let de=O({name:`symbolParslet`,accept:e=>e===`(`,precedence:w.SYMBOL,parseInfix:(e,t)=>{if(t.type!==`JsdocTypeName`)throw Error(`Symbol expects a name on the left side. (Reacting on '(')`);e.consume(`(`);let n={type:`JsdocTypeSymbol`,value:t.value};if(!e.consume(`)`)&&(n.element=x(e.parseIntermediateType(w.SYMBOL)),!e.consume(`)`)))throw Error(`Symbol does not end after value`);return n}}),fe=O({name:`arrayBracketsParslet`,precedence:w.ARRAY_BRACKETS,accept:(e,t)=>e===`[`&&t===`]`,parseInfix:(e,t)=>(e.consume(`[`),e.consume(`]`),{type:`JsdocTypeGeneric`,left:{type:`JsdocTypeName`,value:`Array`},elements:[_(t)],meta:{brackets:`square`,dot:!1}})});function pe({objectFieldGrammar:e,allowKeyTypes:t}){return O({name:`objectParslet`,accept:e=>e===`{`,parsePrefix:n=>{n.consume(`{`);let r={type:`JsdocTypeObject`,meta:{separator:`comma`},elements:[]};if(!n.consume(`}`)){let a,o=new T(e,n.lexer,n);for(;;){o.acceptLexerState(n);let e=o.parseIntermediateType(w.OBJECT);n.acceptLexerState(o),e===void 0&&t&&(e=n.parseIntermediateType(w.OBJECT));let s=!1;if(e.type===`JsdocTypeNullable`&&(s=!0,e=e.element),e.type===`JsdocTypeNumber`||e.type===`JsdocTypeName`||e.type===`JsdocTypeStringValue`){let t;e.type===`JsdocTypeStringValue`&&(t=e.meta.quote),r.elements.push({type:`JsdocTypeObjectField`,key:e.value.toString(),right:void 0,optional:s,readonly:!1,meta:{quote:t}})}else if(e.type===`JsdocTypeObjectField`||e.type===`JsdocTypeJsdocObjectField`)r.elements.push(e);else throw new i(e);if(n.lexer.current.startOfLine)a=`linebreak`,n.consume(`,`)||n.consume(`;`);else if(n.consume(`,`))a=`comma`;else if(n.consume(`;`))a=`semicolon`;else break;if(n.lexer.current.type===`}`)break}if(r.meta.separator=a??`comma`,a===`linebreak`&&(r.meta.propertyIndent=` `),!n.consume(`}`))throw Error(`Unterminated record type. Missing '}'`)}return r}})}function me({allowSquaredProperties:e,allowKeyTypes:t,allowReadonly:n,allowOptional:r}){return O({name:`objectFieldParslet`,precedence:w.KEY_VALUE,accept:e=>e===`:`,parseInfix:(a,o)=>{let s=!1,c=!1;r&&o.type===`JsdocTypeNullable`&&(s=!0,o=o.element),n&&o.type===`JsdocTypeReadonlyProperty`&&(c=!0,o=o.element);let l=a.baseParser??a;if(l.acceptLexerState(a),o.type===`JsdocTypeNumber`||o.type===`JsdocTypeName`||o.type===`JsdocTypeStringValue`||C(o)){if(C(o)&&!e)throw new i(o);l.consume(`:`);let t;o.type===`JsdocTypeStringValue`&&(t=o.meta.quote);let n=l.parseType(w.KEY_VALUE);return a.acceptLexerState(l),{type:`JsdocTypeObjectField`,key:C(o)?o:o.value.toString(),right:n,optional:s,readonly:c,meta:{quote:t}}}else{if(!t)throw new i(o);l.consume(`:`);let e=l.parseType(w.KEY_VALUE);return a.acceptLexerState(l),{type:`JsdocTypeJsdocObjectField`,left:_(o),right:e}}}})}function he({allowOptional:e,allowVariadic:t}){return O({name:`keyValueParslet`,precedence:w.KEY_VALUE,accept:e=>e===`:`,parseInfix:(n,r)=>{let a=!1,o=!1;if(e&&r.type===`JsdocTypeNullable`&&(a=!0,r=r.element),t&&r.type===`JsdocTypeVariadic`&&r.element!==void 0&&(o=!0,r=r.element),r.type!==`JsdocTypeName`)throw new i(r);n.consume(`:`);let s=n.parseType(w.KEY_VALUE);return{type:`JsdocTypeKeyValue`,key:r.value,right:s,optional:a,variadic:o}}})}let ge=[...ne,le({allowWithoutParenthesis:!0,allowNamedParameters:[`this`,`new`],allowNoReturnType:!0,allowNewAsFunctionKeyword:!1}),ie,ae({allowedTypes:[`module`,`external`,`event`],pathGrammar:oe}),ue({allowEnclosingBrackets:!0,allowPostfix:!0}),re({allowedAdditionalTokens:[`keyof`]}),de,fe,F({allowSquareBracketsOnAnyType:!1,allowJsdocNamePaths:!0,pathGrammar:oe})],_e=[...ge,pe({objectFieldGrammar:[re({allowedAdditionalTokens:[`typeof`,`module`,`in`]}),me({allowSquaredProperties:!1,allowKeyTypes:!0,allowOptional:!1,allowReadonly:!1}),...ge],allowKeyTypes:!0}),he({allowOptional:!0,allowVariadic:!0})],ve=O({name:`typeOfParslet`,accept:e=>e===`typeof`,parsePrefix:e=>(e.consume(`typeof`),{type:`JsdocTypeTypeof`,element:e.parseType(w.KEY_OF_TYPE_OF)})}),ye=[re({allowedAdditionalTokens:[`typeof`,`module`,`keyof`,`event`,`external`,`in`]}),D,k,ie,A,me({allowSquaredProperties:!1,allowKeyTypes:!1,allowOptional:!1,allowReadonly:!1})],be=[...ne,pe({allowKeyTypes:!1,objectFieldGrammar:ye}),re({allowedAdditionalTokens:[`event`,`external`,`in`]}),ve,le({allowWithoutParenthesis:!1,allowNamedParameters:[`this`,`new`],allowNoReturnType:!0,allowNewAsFunctionKeyword:!1}),ue({allowEnclosingBrackets:!1,allowPostfix:!1}),re({allowedAdditionalTokens:[`keyof`]}),ae({allowedTypes:[`module`],pathGrammar:oe}),F({allowSquareBracketsOnAnyType:!1,allowJsdocNamePaths:!0,pathGrammar:oe}),he({allowOptional:!1,allowVariadic:!1}),de],xe=O({name:`assertsParslet`,accept:e=>e===`asserts`,parsePrefix:e=>{e.consume(`asserts`);let t=e.parseIntermediateType(w.SYMBOL);if(t.type!==`JsdocTypeName`)throw new i(t,`A typescript asserts always has to have a name on the left side.`);return e.consume(`is`)?{type:`JsdocTypeAsserts`,left:t,right:_(e.parseIntermediateType(w.INFIX))}:{type:`JsdocTypeAssertsPlain`,element:t}}});function L({allowQuestionMark:e}){return O({name:`tupleParslet`,accept:e=>e===`[`,parsePrefix:e=>{e.consume(`[`);let t={type:`JsdocTypeTuple`,elements:[]};if(e.consume(`]`))return t;let n=e.parseIntermediateType(w.ALL);if(n.type===`JsdocTypeParameterList`?n.elements[0].type===`JsdocTypeKeyValue`?t.elements=n.elements.map(b):t.elements=n.elements.map(_):n.type===`JsdocTypeKeyValue`?t.elements=[b(n)]:t.elements=[_(n)],!e.consume(`]`))throw Error(`Unterminated '['`);if(t.elements.some(e=>e.type===`JsdocTypeUnknown`))throw Error(`Question mark in tuple not allowed`);return t}})}let Se=O({name:`keyOfParslet`,accept:e=>e===`keyof`,parsePrefix:e=>(e.consume(`keyof`),{type:`JsdocTypeKeyof`,element:_(e.parseType(w.KEY_OF_TYPE_OF))})}),Ce=O({name:`importParslet`,accept:e=>e===`import`,parsePrefix:e=>{if(e.consume(`import`),!e.consume(`(`))throw Error(`Missing parenthesis after import keyword`);let t=e.parseType(w.PREFIX);if(t.type!==`JsdocTypeStringValue`)throw Error(`Only string values are allowed as paths for imports`);if(!e.consume(`)`))throw Error(`Missing closing parenthesis after import keyword`);return{type:`JsdocTypeImport`,element:t}}}),we=O({name:`readonlyPropertyParslet`,accept:e=>e===`readonly`,parsePrefix:e=>(e.consume(`readonly`),{type:`JsdocTypeReadonlyProperty`,element:e.parseIntermediateType(w.KEY_VALUE)})}),R=O({name:`arrowFunctionParslet`,precedence:w.ARROW,accept:e=>e===`=>`,parseInfix:(e,t)=>(e.consume(`=>`),{type:`JsdocTypeFunction`,parameters:se(t).map(y),arrow:!0,constructor:!1,parenthesis:!0,returnType:e.parseType(w.OBJECT)})}),Te=O({name:`genericArrowFunctionParslet`,accept:e=>e===`<`,parsePrefix:e=>{let t=[];e.consume(`<`);do{let n,r=e.parseIntermediateType(w.SYMBOL);if(r.type===`JsdocTypeOptional`&&(r=r.element,n=e.parseType(w.SYMBOL)),r.type!==`JsdocTypeName`)throw new i(r);let a;e.consume(`extends`)&&(a=e.parseType(w.SYMBOL),a.type===`JsdocTypeOptional`&&(a=a.element,n=e.parseType(w.SYMBOL)));let o={type:`JsdocTypeTypeParameter`,name:r};if(a!==void 0&&(o.constraint=a),n!==void 0&&(o.defaultValue=n),t.push(o),e.consume(`>`))break}while(e.consume(`,`));let n=e.parseIntermediateType(w.SYMBOL);return n.typeParameters=t,n}}),Ee=O({name:`intersectionParslet`,accept:e=>e===`&`,precedence:w.INTERSECTION,parseInfix:(e,t)=>{e.consume(`&`);let n=[];do n.push(e.parseType(w.INTERSECTION));while(e.consume(`&`));return{type:`JsdocTypeIntersection`,elements:[_(t),...n]}}}),De=O({name:`predicateParslet`,precedence:w.INFIX,accept:e=>e===`is`,parseInfix:(e,t)=>{if(t.type!==`JsdocTypeName`)throw new i(t,`A typescript predicate always has to have a name on the left side.`);return e.consume(`is`),{type:`JsdocTypePredicate`,left:t,right:_(e.parseIntermediateType(w.INFIX))}}}),z=O({name:`objectSquareBracketPropertyParslet`,accept:e=>e===`[`,parsePrefix:e=>{if(e.baseParser===void 0)throw Error(`Only allowed inside object grammar`);e.consume(`[`);let t=e.lexer.current.text;e.consume(`Identifier`);let n;if(e.consume(`:`)){let r=e.baseParser;r.acceptLexerState(e),n={type:`JsdocTypeIndexSignature`,key:t,right:r.parseType(w.INDEX_BRACKETS)},e.acceptLexerState(r)}else if(e.consume(`in`)){let r=e.baseParser;r.acceptLexerState(e),n={type:`JsdocTypeMappedType`,key:t,right:r.parseType(w.ARRAY_BRACKETS)},e.acceptLexerState(r)}else throw Error(`Missing ':' or 'in' inside square bracketed property.`);if(!e.consume(`]`))throw Error(`Unterminated square brackets`);return n}}),Oe=O({name:`readonlyArrayParslet`,accept:e=>e===`readonly`,parsePrefix:e=>(e.consume(`readonly`),{type:`JsdocTypeReadonlyArray`,element:S(e.parseIntermediateType(w.ALL))})}),ke=O({name:`conditionalParslet`,precedence:w.INFIX,accept:e=>e===`extends`,parseInfix:(e,t)=>{e.consume(`extends`);let n=e.parseType(w.KEY_OF_TYPE_OF).element,r=e.parseType(w.INFIX);return e.consume(`:`),{type:`JsdocTypeConditional`,checksType:_(t),extendsType:n,trueType:r,falseType:e.parseType(w.INFIX)}}}),Ae=[we,re({allowedAdditionalTokens:[`typeof`,`module`,`keyof`,`event`,`external`,`in`]}),D,k,ie,A,me({allowSquaredProperties:!0,allowKeyTypes:!1,allowOptional:!0,allowReadonly:!0}),z],je=[...ne,pe({allowKeyTypes:!1,objectFieldGrammar:Ae}),Oe,ve,Se,Ce,ie,le({allowWithoutParenthesis:!0,allowNoReturnType:!1,allowNamedParameters:[`this`,`new`,`args`],allowNewAsFunctionKeyword:!0}),L({allowQuestionMark:!1}),ue({allowEnclosingBrackets:!1,allowPostfix:!1}),xe,ke,re({allowedAdditionalTokens:[`event`,`external`,`in`]}),ae({allowedTypes:[`module`],pathGrammar:oe}),fe,R,Te,F({allowSquareBracketsOnAnyType:!0,allowJsdocNamePaths:!1,pathGrammar:oe}),Ee,De,he({allowVariadic:!0,allowOptional:!0})];function Me(e,t){switch(t){case`closure`:return new T(be,e).parse();case`jsdoc`:return new T(_e,e).parse();case`typescript`:return new T(je,e).parse()}}function Ne(e,t=[`typescript`,`closure`,`jsdoc`]){let n;for(let r of t)try{return Me(e,r)}catch(e){n=e}throw n}function Pe(e,t){let n=e[t.type];if(n===void 0)throw Error(`In this set of transform rules exists no rule for type ${t.type}.`);return n(t,t=>Pe(e,t))}function B(e){throw Error(`This transform is not available. Are you trying the correct parsing mode?`)}function Fe(e){let t={params:[]};for(let n of e.parameters)n.type===`JsdocTypeKeyValue`?n.key===`this`?t.this=n.right:n.key===`new`?t.new=n.right:t.params.push(n):t.params.push(n);return t}function Ie(e,t,n){return e===`prefix`?n+t:t+n}function Le(e,t){switch(t){case`double`:return`"${e}"`;case`single`:return`'${e}'`;case void 0:return e}}function Re(){return{JsdocTypeParenthesis:(e,t)=>`(${e.element===void 0?``:t(e.element)})`,JsdocTypeKeyof:(e,t)=>`keyof ${t(e.element)}`,JsdocTypeFunction:(e,t)=>{if(e.arrow){if(e.returnType===void 0)throw Error(`Arrow function needs a return type.`);let n=`${e.typeParameters===void 0?``:`<${e.typeParameters.map(t).join(`, `)??``}>`}(${e.parameters.map(t).join(`, `)}) => ${t(e.returnType)}`;return e.constructor&&(n=`new `+n),n}else{let n=e.constructor?`new`:`function`;return e.parenthesis&&(n+=`(${e.parameters.map(t).join(`, `)})`,e.returnType!==void 0&&(n+=`: ${t(e.returnType)}`)),n}},JsdocTypeName:e=>e.value,JsdocTypeTuple:(e,t)=>`[${e.elements.map(t).join(`, `)}]`,JsdocTypeVariadic:(e,t)=>e.meta.position===void 0?`...`:Ie(e.meta.position,t(e.element),`...`),JsdocTypeNamePath:(e,t)=>{let n=t(e.left),r=t(e.right);switch(e.pathType){case`inner`:return`${n}~${r}`;case`instance`:return`${n}#${r}`;case`property`:return`${n}.${r}`;case`property-brackets`:return`${n}[${r}]`}},JsdocTypeStringValue:e=>Le(e.value,e.meta.quote),JsdocTypeAny:()=>`*`,JsdocTypeGeneric:(e,t)=>{if(e.meta.brackets===`square`){let n=e.elements[0],r=t(n);return n.type===`JsdocTypeUnion`||n.type===`JsdocTypeIntersection`?`(${r})[]`:`${r}[]`}else return`${t(e.left)}${e.meta.dot?`.`:``}<${e.infer===!0?`infer `:``}${e.elements.map(t).join(`, `)}>`},JsdocTypeImport:(e,t)=>`import(${t(e.element)})`,JsdocTypeObjectField:(e,t)=>{let n=``;return e.readonly&&(n+=`readonly `),typeof e.key==`string`?n+=Le(e.key,e.meta.quote):n+=t(e.key),e.optional&&(n+=`?`),e.right===void 0?n:n+`: ${t(e.right)}`},JsdocTypeJsdocObjectField:(e,t)=>`${t(e.left)}: ${t(e.right)}`,JsdocTypeKeyValue:(e,t)=>{let n=e.key;return e.optional&&(n+=`?`),e.variadic&&(n=`...`+n),e.right===void 0?n:n+`: ${t(e.right)}`},JsdocTypeSpecialNamePath:e=>`${e.specialType}:${Le(e.value,e.meta.quote)}`,JsdocTypeNotNullable:(e,t)=>Ie(e.meta.position,t(e.element),`!`),JsdocTypeNull:()=>`null`,JsdocTypeNullable:(e,t)=>Ie(e.meta.position,t(e.element),`?`),JsdocTypeNumber:e=>e.value.toString(),JsdocTypeObject:(e,t)=>`{${(e.meta.separator===`linebreak`&&e.elements.length>1?`
1014
+ `+(e.meta.propertyIndent??``):``)+e.elements.map(t).join(e.meta.separator===`comma`?`, `:e.meta.separator===`linebreak`?`
1015
+ `+(e.meta.propertyIndent??``):`; `)+(e.meta.separator===`linebreak`&&e.elements.length>1?`
1016
+ `:``)}}`,JsdocTypeOptional:(e,t)=>Ie(e.meta.position,t(e.element),`=`),JsdocTypeSymbol:(e,t)=>`${e.value}(${e.element===void 0?``:t(e.element)})`,JsdocTypeTypeof:(e,t)=>`typeof ${t(e.element)}`,JsdocTypeUndefined:()=>`undefined`,JsdocTypeUnion:(e,t)=>e.elements.map(t).join(` | `),JsdocTypeUnknown:()=>`?`,JsdocTypeIntersection:(e,t)=>e.elements.map(t).join(` & `),JsdocTypeProperty:e=>Le(e.value,e.meta.quote),JsdocTypePredicate:(e,t)=>`${t(e.left)} is ${t(e.right)}`,JsdocTypeIndexSignature:(e,t)=>`[${e.key}: ${t(e.right)}]`,JsdocTypeMappedType:(e,t)=>`[${e.key} in ${t(e.right)}]`,JsdocTypeAsserts:(e,t)=>`asserts ${t(e.left)} is ${t(e.right)}`,JsdocTypeReadonlyArray:(e,t)=>`readonly ${t(e.element)}`,JsdocTypeAssertsPlain:(e,t)=>`asserts ${t(e.element)}`,JsdocTypeConditional:(e,t)=>`${t(e.checksType)} extends ${t(e.extendsType)} ? ${t(e.trueType)} : ${t(e.falseType)}`,JsdocTypeTypeParameter:(e,t)=>`${t(e.name)}${e.constraint===void 0?``:` extends ${t(e.constraint)}`}${e.defaultValue===void 0?``:` = ${t(e.defaultValue)}`}`}}let ze=Re();function Be(e){return Pe(ze,e)}let Ve=`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`.split(`.`);function He(e){let t={type:`NameExpression`,name:e};return Ve.includes(e)&&(t.reservedWord=!0),t}let Ue={JsdocTypeOptional:(e,t)=>{let n=t(e.element);return n.optional=!0,n},JsdocTypeNullable:(e,t)=>{let n=t(e.element);return n.nullable=!0,n},JsdocTypeNotNullable:(e,t)=>{let n=t(e.element);return n.nullable=!1,n},JsdocTypeVariadic:(e,t)=>{if(e.element===void 0)throw Error(`dots without value are not allowed in catharsis mode`);let n=t(e.element);return n.repeatable=!0,n},JsdocTypeAny:()=>({type:`AllLiteral`}),JsdocTypeNull:()=>({type:`NullLiteral`}),JsdocTypeStringValue:e=>He(Le(e.value,e.meta.quote)),JsdocTypeUndefined:()=>({type:`UndefinedLiteral`}),JsdocTypeUnknown:()=>({type:`UnknownLiteral`}),JsdocTypeFunction:(e,t)=>{let n=Fe(e),r={type:`FunctionType`,params:n.params.map(t)};return n.this!==void 0&&(r.this=t(n.this)),n.new!==void 0&&(r.new=t(n.new)),e.returnType!==void 0&&(r.result=t(e.returnType)),r},JsdocTypeGeneric:(e,t)=>({type:`TypeApplication`,applications:e.elements.map(e=>t(e)),expression:t(e.left)}),JsdocTypeSpecialNamePath:e=>He(e.specialType+`:`+Le(e.value,e.meta.quote)),JsdocTypeName:e=>e.value===`function`?{type:`FunctionType`,params:[]}:He(e.value),JsdocTypeNumber:e=>He(e.value.toString()),JsdocTypeObject:(e,t)=>{let n={type:`RecordType`,fields:[]};for(let r of e.elements)r.type!==`JsdocTypeObjectField`&&r.type!==`JsdocTypeJsdocObjectField`?n.fields.push({type:`FieldType`,key:t(r),value:void 0}):n.fields.push(t(r));return n},JsdocTypeObjectField:(e,t)=>{if(typeof e.key!=`string`)throw Error(`Index signatures and mapped types are not supported`);return{type:`FieldType`,key:He(Le(e.key,e.meta.quote)),value:e.right===void 0?void 0:t(e.right)}},JsdocTypeJsdocObjectField:(e,t)=>({type:`FieldType`,key:t(e.left),value:t(e.right)}),JsdocTypeUnion:(e,t)=>({type:`TypeUnion`,elements:e.elements.map(e=>t(e))}),JsdocTypeKeyValue:(e,t)=>({type:`FieldType`,key:He(e.key),value:e.right===void 0?void 0:t(e.right)}),JsdocTypeNamePath:(e,t)=>{let n=t(e.left),r;r=e.right.type===`JsdocTypeSpecialNamePath`?t(e.right).name:Le(e.right.value,e.right.meta.quote);let i=e.pathType===`inner`?`~`:e.pathType===`instance`?`#`:`.`;return He(`${n.name}${i}${r}`)},JsdocTypeSymbol:e=>{let t=``,n=e.element,r=!1;return n?.type===`JsdocTypeVariadic`&&(n.meta.position===`prefix`?t=`...`:r=!0,n=n.element),n?.type===`JsdocTypeName`?t+=n.value:n?.type===`JsdocTypeNumber`&&(t+=n.value.toString()),r&&(t+=`...`),He(`${e.value}(${t})`)},JsdocTypeParenthesis:(e,t)=>t(_(e.element)),JsdocTypeMappedType:B,JsdocTypeIndexSignature:B,JsdocTypeImport:B,JsdocTypeKeyof:B,JsdocTypeTuple:B,JsdocTypeTypeof:B,JsdocTypeIntersection:B,JsdocTypeProperty:B,JsdocTypePredicate:B,JsdocTypeAsserts:B,JsdocTypeReadonlyArray:B,JsdocTypeAssertsPlain:B,JsdocTypeConditional:B,JsdocTypeTypeParameter:B};function We(e){return Pe(Ue,e)}function Ge(e){switch(e){case void 0:return`none`;case`single`:return`single`;case`double`:return`double`}}function Ke(e){switch(e){case`inner`:return`INNER_MEMBER`;case`instance`:return`INSTANCE_MEMBER`;case`property`:return`MEMBER`;case`property-brackets`:return`MEMBER`}}function qe(e,t){return t.length===2?{type:e,left:t[0],right:t[1]}:{type:e,left:t[0],right:qe(e,t.slice(1))}}let V={JsdocTypeOptional:(e,t)=>({type:`OPTIONAL`,value:t(e.element),meta:{syntax:e.meta.position===`prefix`?`PREFIX_EQUAL_SIGN`:`SUFFIX_EQUALS_SIGN`}}),JsdocTypeNullable:(e,t)=>({type:`NULLABLE`,value:t(e.element),meta:{syntax:e.meta.position===`prefix`?`PREFIX_QUESTION_MARK`:`SUFFIX_QUESTION_MARK`}}),JsdocTypeNotNullable:(e,t)=>({type:`NOT_NULLABLE`,value:t(e.element),meta:{syntax:e.meta.position===`prefix`?`PREFIX_BANG`:`SUFFIX_BANG`}}),JsdocTypeVariadic:(e,t)=>{let n={type:`VARIADIC`,meta:{syntax:e.meta.position===`prefix`?`PREFIX_DOTS`:e.meta.position===`suffix`?`SUFFIX_DOTS`:`ONLY_DOTS`}};return e.element!==void 0&&(n.value=t(e.element)),n},JsdocTypeName:e=>({type:`NAME`,name:e.value}),JsdocTypeTypeof:(e,t)=>({type:`TYPE_QUERY`,name:t(e.element)}),JsdocTypeTuple:(e,t)=>({type:`TUPLE`,entries:e.elements.map(t)}),JsdocTypeKeyof:(e,t)=>({type:`KEY_QUERY`,value:t(e.element)}),JsdocTypeImport:e=>({type:`IMPORT`,path:{type:`STRING_VALUE`,quoteStyle:Ge(e.element.meta.quote),string:e.element.value}}),JsdocTypeUndefined:()=>({type:`NAME`,name:`undefined`}),JsdocTypeAny:()=>({type:`ANY`}),JsdocTypeFunction:(e,t)=>{let n=Fe(e),r={type:e.arrow?`ARROW`:`FUNCTION`,params:n.params.map(e=>{if(e.type===`JsdocTypeKeyValue`){if(e.right===void 0)throw Error(`Function parameter without ':' is not expected to be 'KEY_VALUE'`);return{type:`NAMED_PARAMETER`,name:e.key,typeName:t(e.right)}}else return t(e)}),new:null,returns:null};return n.this===void 0?e.arrow||(r.this=null):r.this=t(n.this),n.new!==void 0&&(r.new=t(n.new)),e.returnType!==void 0&&(r.returns=t(e.returnType)),r},JsdocTypeGeneric:(e,t)=>{let n={type:`GENERIC`,subject:t(e.left),objects:e.elements.map(t),meta:{syntax:e.meta.brackets===`square`?`SQUARE_BRACKET`:e.meta.dot?`ANGLE_BRACKET_WITH_DOT`:`ANGLE_BRACKET`}};return e.meta.brackets===`square`&&e.elements[0].type===`JsdocTypeFunction`&&!e.elements[0].parenthesis&&(n.objects[0]={type:`NAME`,name:`function`}),n},JsdocTypeObjectField:(e,t)=>{if(typeof e.key!=`string`)throw Error(`Index signatures and mapped types are not supported`);if(e.right===void 0)return{type:`RECORD_ENTRY`,key:e.key,quoteStyle:Ge(e.meta.quote),value:null,readonly:!1};let n=t(e.right);return e.optional&&(n={type:`OPTIONAL`,value:n,meta:{syntax:`SUFFIX_KEY_QUESTION_MARK`}}),{type:`RECORD_ENTRY`,key:e.key.toString(),quoteStyle:Ge(e.meta.quote),value:n,readonly:!1}},JsdocTypeJsdocObjectField:()=>{throw Error(`Keys may not be typed in jsdoctypeparser.`)},JsdocTypeKeyValue:(e,t)=>{if(e.right===void 0)return{type:`RECORD_ENTRY`,key:e.key,quoteStyle:`none`,value:null,readonly:!1};let n=t(e.right);return e.optional&&(n={type:`OPTIONAL`,value:n,meta:{syntax:`SUFFIX_KEY_QUESTION_MARK`}}),{type:`RECORD_ENTRY`,key:e.key,quoteStyle:`none`,value:n,readonly:!1}},JsdocTypeObject:(e,t)=>{let n=[];for(let r of e.elements)(r.type===`JsdocTypeObjectField`||r.type===`JsdocTypeJsdocObjectField`)&&n.push(t(r));return{type:`RECORD`,entries:n}},JsdocTypeSpecialNamePath:e=>{if(e.specialType!==`module`)throw Error(`jsdoctypeparser does not support type ${e.specialType} at this point.`);return{type:`MODULE`,value:{type:`FILE_PATH`,quoteStyle:Ge(e.meta.quote),path:e.value}}},JsdocTypeNamePath:(e,t)=>{let n=!1,r,i;e.right.type===`JsdocTypeSpecialNamePath`&&e.right.specialType===`event`?(n=!0,r=e.right.value,i=Ge(e.right.meta.quote)):(r=e.right.value,i=Ge(e.right.meta.quote));let a={type:Ke(e.pathType),owner:t(e.left),name:r,quoteStyle:i,hasEventPrefix:n};if(a.owner.type===`MODULE`){let e=a.owner;return a.owner=a.owner.value,e.value=a,e}else return a},JsdocTypeUnion:(e,t)=>qe(`UNION`,e.elements.map(t)),JsdocTypeParenthesis:(e,t)=>({type:`PARENTHESIS`,value:t(_(e.element))}),JsdocTypeNull:()=>({type:`NAME`,name:`null`}),JsdocTypeUnknown:()=>({type:`UNKNOWN`}),JsdocTypeStringValue:e=>({type:`STRING_VALUE`,quoteStyle:Ge(e.meta.quote),string:e.value}),JsdocTypeIntersection:(e,t)=>qe(`INTERSECTION`,e.elements.map(t)),JsdocTypeNumber:e=>({type:`NUMBER_VALUE`,number:e.value.toString()}),JsdocTypeSymbol:B,JsdocTypeProperty:B,JsdocTypePredicate:B,JsdocTypeMappedType:B,JsdocTypeIndexSignature:B,JsdocTypeAsserts:B,JsdocTypeReadonlyArray:B,JsdocTypeAssertsPlain:B,JsdocTypeConditional:B,JsdocTypeTypeParameter:B};function Je(e){return Pe(V,e)}function Ye(){return{JsdocTypeIntersection:(e,t)=>({type:`JsdocTypeIntersection`,elements:e.elements.map(t)}),JsdocTypeGeneric:(e,t)=>({type:`JsdocTypeGeneric`,left:t(e.left),elements:e.elements.map(t),meta:{dot:e.meta.dot,brackets:e.meta.brackets}}),JsdocTypeNullable:e=>e,JsdocTypeUnion:(e,t)=>({type:`JsdocTypeUnion`,elements:e.elements.map(t)}),JsdocTypeUnknown:e=>e,JsdocTypeUndefined:e=>e,JsdocTypeTypeof:(e,t)=>({type:`JsdocTypeTypeof`,element:t(e.element)}),JsdocTypeSymbol:(e,t)=>{let n={type:`JsdocTypeSymbol`,value:e.value};return e.element!==void 0&&(n.element=t(e.element)),n},JsdocTypeOptional:(e,t)=>({type:`JsdocTypeOptional`,element:t(e.element),meta:{position:e.meta.position}}),JsdocTypeObject:(e,t)=>({type:`JsdocTypeObject`,meta:{separator:`comma`},elements:e.elements.map(t)}),JsdocTypeNumber:e=>e,JsdocTypeNull:e=>e,JsdocTypeNotNullable:(e,t)=>({type:`JsdocTypeNotNullable`,element:t(e.element),meta:{position:e.meta.position}}),JsdocTypeSpecialNamePath:e=>e,JsdocTypeObjectField:(e,t)=>({type:`JsdocTypeObjectField`,key:e.key,right:e.right===void 0?void 0:t(e.right),optional:e.optional,readonly:e.readonly,meta:e.meta}),JsdocTypeJsdocObjectField:(e,t)=>({type:`JsdocTypeJsdocObjectField`,left:t(e.left),right:t(e.right)}),JsdocTypeKeyValue:(e,t)=>({type:`JsdocTypeKeyValue`,key:e.key,right:e.right===void 0?void 0:t(e.right),optional:e.optional,variadic:e.variadic}),JsdocTypeImport:(e,t)=>({type:`JsdocTypeImport`,element:t(e.element)}),JsdocTypeAny:e=>e,JsdocTypeStringValue:e=>e,JsdocTypeNamePath:e=>e,JsdocTypeVariadic:(e,t)=>{let n={type:`JsdocTypeVariadic`,meta:{position:e.meta.position,squareBrackets:e.meta.squareBrackets}};return e.element!==void 0&&(n.element=t(e.element)),n},JsdocTypeTuple:(e,t)=>({type:`JsdocTypeTuple`,elements:e.elements.map(t)}),JsdocTypeName:e=>e,JsdocTypeFunction:(e,t)=>{let n={type:`JsdocTypeFunction`,arrow:e.arrow,parameters:e.parameters.map(t),constructor:e.constructor,parenthesis:e.parenthesis};return e.returnType!==void 0&&(n.returnType=t(e.returnType)),n},JsdocTypeKeyof:(e,t)=>({type:`JsdocTypeKeyof`,element:t(e.element)}),JsdocTypeParenthesis:(e,t)=>({type:`JsdocTypeParenthesis`,element:t(e.element)}),JsdocTypeProperty:e=>e,JsdocTypePredicate:(e,t)=>({type:`JsdocTypePredicate`,left:t(e.left),right:t(e.right)}),JsdocTypeIndexSignature:(e,t)=>({type:`JsdocTypeIndexSignature`,key:e.key,right:t(e.right)}),JsdocTypeMappedType:(e,t)=>({type:`JsdocTypeMappedType`,key:e.key,right:t(e.right)}),JsdocTypeAsserts:(e,t)=>({type:`JsdocTypeAsserts`,left:t(e.left),right:t(e.right)}),JsdocTypeReadonlyArray:(e,t)=>({type:`JsdocTypeReadonlyArray`,element:t(e.element)}),JsdocTypeAssertsPlain:(e,t)=>({type:`JsdocTypeAssertsPlain`,element:t(e.element)}),JsdocTypeConditional:(e,t)=>({type:`JsdocTypeConditional`,checksType:t(e.checksType),extendsType:t(e.extendsType),trueType:t(e.trueType),falseType:t(e.falseType)}),JsdocTypeTypeParameter:(e,t)=>({type:`JsdocTypeTypeParameter`,name:t(e.name),constraint:e.constraint===void 0?void 0:t(e.constraint),defaultValue:e.defaultValue===void 0?void 0:t(e.defaultValue)})}}let Xe={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 Ze(e,t,n,r,i){r?.(e,t,n);let a=Xe[e.type];for(let t of a){let n=e[t];if(n!==void 0)if(Array.isArray(n))for(let a of n)Ze(a,e,t,r,i);else Ze(n,e,t,r,i)}i?.(e,t,n)}function Qe(e,t,n){Ze(e,void 0,void 0,t,n)}e.catharsisTransform=We,e.identityTransformRules=Ye,e.jtpTransform=Je,e.parse=Me,e.stringify=Be,e.stringifyRules=Re,e.transform=Pe,e.traverse=Qe,e.tryParse=Ne,e.visitorKeys=Xe}))}}),{UnknownArgTypesError:FW}=__STORYBOOK_MODULE_CORE_EVENTS_PREVIEW_ERRORS__,IW=e=>e.name===`literal`,LW=e=>e.value.replace(/['|"]/g,``),RW=e=>{switch(e.type){case`function`:return{name:`function`};case`object`:let t={};return e.signature.properties.forEach(e=>{t[e.key]=zW(e.value)}),{name:`object`,value:t};default:throw new FW({type:e,language:`Flow`})}},zW=e=>{let{name:t,raw:n}=e,r={};switch(typeof n<`u`&&(r.raw=n),e.name){case`literal`:return{...r,name:`other`,value:e.value};case`string`:case`number`:case`symbol`:case`boolean`:return{...r,name:t};case`Array`:return{...r,name:`array`,value:e.elements.map(zW)};case`signature`:return{...r,...RW(e)};case`union`:return e.elements?.every(IW)?{...r,name:`enum`,value:e.elements?.map(LW)}:{...r,name:t,value:e.elements?.map(zW)};case`intersection`:return{...r,name:t,value:e.elements?.map(zW)};default:return{...r,name:`other`,value:t}}},BW=/^['"]|['"]$/g,VW=e=>e.replace(BW,``),HW=e=>BW.test(e),UW=e=>{let t=VW(e);return HW(e)||Number.isNaN(Number(t))?t:Number(t)},WW=/^\(.*\) => /,GW=e=>{let{name:t,raw:n,computed:r,value:i}=e,a={};switch(typeof n<`u`&&(a.raw=n),t){case`enum`:{let e=r?i:i.map(e=>UW(e.value));return{...a,name:t,value:e}}case`string`:case`number`:case`symbol`:return{...a,name:t};case`func`:return{...a,name:`function`};case`bool`:case`boolean`:return{...a,name:`boolean`};case`arrayOf`:case`array`:return{...a,name:`array`,value:i&&GW(i)};case`object`:return{...a,name:t};case`objectOf`:return{...a,name:t,value:GW(i)};case`shape`:case`exact`:let e=DW(i,e=>GW(e));return{...a,name:`object`,value:e};case`union`:return{...a,name:`union`,value:i.map(e=>GW(e))};default:{if(t?.indexOf(`|`)>0)try{let e=t.split(`|`).map(e=>JSON.parse(e));return{...a,name:`enum`,value:e}}catch{}let e=i?`${t}(${i})`:t,n=WW.test(t)?`function`:`other`;return{...a,name:n,value:e}}}},{UnknownArgTypesError:KW}=__STORYBOOK_MODULE_CORE_EVENTS_PREVIEW_ERRORS__,qW=e=>e.name===`literal`,JW=e=>e.name===`undefined`,YW=e=>{switch(e.type){case`function`:return{name:`function`};case`object`:let t={};return e.signature.properties.forEach(e=>{t[e.key]=XW(e.value)}),{name:`object`,value:t};default:throw new KW({type:e,language:`Typescript`})}},XW=e=>{let{name:t,raw:n}=e,r={};switch(typeof n<`u`&&(r.raw=n),e.name){case`string`:case`number`:case`symbol`:case`boolean`:return{...r,name:t};case`Array`:return{...r,name:`array`,value:e.elements.map(XW)};case`signature`:return{...r,...YW(e)};case`union`:{let n=e.elements.filter(e=>!JW(e));if(n.length>0&&n.every(qW)){let e=n.filter(qW);return{...r,name:`enum`,value:e.map(e=>UW(e.value))}}return{...r,name:t,value:e.elements.map(XW)}}case`intersection`:return{...r,name:t,value:e.elements.map(XW)};default:return{...r,name:`other`,value:t}}},ZW=e=>{let{type:t,tsType:n,flowType:r}=e;try{if(t!=null)return GW(t);if(n!=null)return XW(n);if(r!=null)return zW(r)}catch(e){console.error(e)}return null},QW=(e=>(e.JAVASCRIPT=`JavaScript`,e.FLOW=`Flow`,e.TYPESCRIPT=`TypeScript`,e.UNKNOWN=`Unknown`,e))(QW||{}),$W=[`null`,`undefined`];function eG(e){return $W.some(t=>t===e)}var tG=e=>{if(!e)return``;if(typeof e==`string`)return e;throw Error(`Description: expected string, got: ${JSON.stringify(e)}`)};function nG(e){return!!e.__docgenInfo}function rG(e){return e!=null&&Object.keys(e).length>0}function iG(e,t){return nG(e)?e.__docgenInfo[t]:null}function aG(e){return nG(e)?tG(e.__docgenInfo.description):``}var oG;(function(e){e.start=`/**`,e.nostart=`/***`,e.delim=`*`,e.end=`*/`})(oG=oG||={});function sG(e){return/^\s+$/.test(e)}function cG(e){let t=e.match(/\r+$/);return t==null?[``,e]:[e.slice(-t[0].length),e.slice(0,-t[0].length)]}function lG(e){let t=e.match(/^\s+/);return t==null?[``,e]:[e.slice(0,t[0].length),e.slice(t[0].length)]}function uG(e){return e.split(/\n/)}function dG(e={}){return Object.assign({tag:``,name:``,type:``,optional:!1,description:``,problems:[],source:[]},e)}function fG(e={}){return Object.assign({start:``,delimiter:``,postDelimiter:``,tag:``,postTag:``,name:``,postName:``,type:``,postType:``,description:``,end:``,lineEnd:``},e)}var pG=/^@\S+/;function mG({fence:e="```"}={}){let t=hG(e),n=(e,n)=>t(e)?!n:n;return function(e){let t=[[]],r=!1;for(let i of e)pG.test(i.tokens.description)&&!r?t.push([i]):t[t.length-1].push(i),r=n(i.tokens.description,r);return t}}function hG(e){return typeof e==`string`?t=>t.split(e).length%2==0:e}function gG({startLine:e=0,markers:t=oG}={}){let n=null,r=e;return function(e){let i=e,a=fG();if([a.lineEnd,i]=cG(i),[a.start,i]=lG(i),n===null&&i.startsWith(t.start)&&!i.startsWith(t.nostart)&&(n=[],a.delimiter=i.slice(0,t.start.length),i=i.slice(t.start.length),[a.postDelimiter,i]=lG(i)),n===null)return r++,null;let o=i.trimRight().endsWith(t.end);if(a.delimiter===``&&i.startsWith(t.delim)&&!i.startsWith(t.end)&&(a.delimiter=t.delim,i=i.slice(t.delim.length),[a.postDelimiter,i]=lG(i)),o){let e=i.trimRight();a.end=i.slice(e.length-t.end.length),i=e.slice(0,-t.end.length)}if(a.description=i,n.push({number:r,source:e,tokens:a}),r++,o){let e=n.slice();return n=null,e}return null}}function _G({tokenizers:e}){return function(t){var n;let r=dG({source:t});for(let t of e)if(r=t(r),(n=r.problems[r.problems.length-1])!=null&&n.critical)break;return r}}function vG(){return e=>{let{tokens:t}=e.source[0],n=t.description.match(/\s*(@(\S+))(\s*)/);return n===null?(e.problems.push({code:`spec:tag:prefix`,message:`tag should start with "@" symbol`,line:e.source[0].number,critical:!0}),e):(t.tag=n[1],t.postTag=n[3],t.description=t.description.slice(n[0].length),e.tag=n[2],e)}}function yG(e=`compact`){let t=xG(e);return e=>{let n=0,r=[];for(let[t,{tokens:i}]of e.source.entries()){let a=``;if(t===0&&i.description[0]!==`{`)return e;for(let e of i.description)if(e===`{`&&n++,e===`}`&&n--,a+=e,n===0)break;if(r.push([i,a]),n===0)break}if(n!==0)return e.problems.push({code:`spec:type:unpaired-curlies`,message:`unpaired curlies`,line:e.source[0].number,critical:!0}),e;let i=[],a=r[0][0].postDelimiter.length;for(let[e,[t,n]]of r.entries())t.type=n,e>0&&(t.type=t.postDelimiter.slice(a)+n,t.postDelimiter=t.postDelimiter.slice(0,a)),[t.postType,t.description]=lG(t.description.slice(n.length)),i.push(t.type);return i[0]=i[0].slice(1),i[i.length-1]=i[i.length-1].slice(0,-1),e.type=t(i),e}}var bG=e=>e.trim();function xG(e){return e===`compact`?e=>e.map(bG).join(``):e===`preserve`?e=>e.join(`
1017
+ `):e}var SG=e=>e&&e.startsWith(`"`)&&e.endsWith(`"`);function CG(){let e=(e,{tokens:t},n)=>t.type===``?e:n;return t=>{let{tokens:n}=t.source[t.source.reduce(e,0)],r=n.description.trimLeft(),i=r.split(`"`);if(i.length>1&&i[0]===``&&i.length%2==1)return t.name=i[1],n.name=`"${i[1]}"`,[n.postName,n.description]=lG(r.slice(n.name.length)),t;let a=0,o=``,s=!1,c;for(let e of r){if(a===0&&sG(e))break;e===`[`&&a++,e===`]`&&a--,o+=e}if(a!==0)return t.problems.push({code:`spec:name:unpaired-brackets`,message:`unpaired brackets`,line:t.source[0].number,critical:!0}),t;let l=o;if(o[0]===`[`&&o[o.length-1]===`]`){s=!0,o=o.slice(1,-1);let e=o.split(`=`);if(o=e[0].trim(),e[1]!==void 0&&(c=e.slice(1).join(`=`).trim()),o===``)return t.problems.push({code:`spec:name:empty-name`,message:`empty name`,line:t.source[0].number,critical:!0}),t;if(c===``)return t.problems.push({code:`spec:name:empty-default`,message:`empty default value`,line:t.source[0].number,critical:!0}),t;if(!SG(c)&&/=(?!>)/.test(c))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=s,t.name=o,n.name=l,c!==void 0&&(t.default=c),[n.postName,n.description]=lG(r.slice(n.name.length)),t}}function wG(e=`compact`,t=oG){let n=TG(e);return e=>(e.description=n(e.source,t),e)}function TG(e){return e===`compact`?EG:e===`preserve`?kG:e}function EG(e,t=oG){return e.map(({tokens:{description:e}})=>e.trim()).filter(e=>e!==``).join(` `)}var DG=(e,{tokens:t},n)=>t.type===``?e:n,OG=({tokens:e})=>(e.delimiter===``?e.start:e.postDelimiter.slice(1))+e.description;function kG(e,t=oG){if(e.length===0)return``;e[0].tokens.description===``&&e[0].tokens.delimiter===t.start&&(e=e.slice(1));let n=e[e.length-1];return n!==void 0&&n.tokens.description===``&&n.tokens.end.endsWith(t.end)&&(e=e.slice(0,-1)),e=e.slice(e.reduce(DG,0)),e.map(OG).join(`
1018
+ `)}function AG({startLine:e=0,fence:t="```",spacing:n=`compact`,markers:r=oG,tokenizers:i=[vG(),yG(n),CG(),wG(n)]}={}){if(e<0||e%1>0)throw Error(`Invalid startLine`);let a=gG({startLine:e,markers:r}),o=mG({fence:t}),s=_G({tokenizers:i}),c=TG(n);return function(e){let t=[];for(let n of uG(e)){let e=a(n);if(e===null)continue;let i=o(e),l=i.slice(1).map(s);t.push({description:c(i[0],r),tags:l,source:e,problems:l.reduce((e,t)=>e.concat(t.problems),[])})}return t}}function jG(e,t={}){return AG(t)(e)}var MG=UU(PW(),1);function NG(e){return e!=null&&e.includes(`@`)}function PG(e){let t=jG(`/**
1019
+ `+(e??``).split(`
1020
+ `).map(e=>` * ${e}`).join(`
1021
+ `)+`
1022
+ */`,{spacing:`preserve`});if(!t||t.length===0)throw Error(`Cannot parse JSDoc tags.`);return t[0]}var FG={tags:[`param`,`arg`,`argument`,`returns`,`ignore`,`deprecated`]},IG=(e,t=FG)=>{if(!NG(e))return{includesJsDoc:!1,ignore:!1};let n=PG(e),r=LG(n,t.tags);return r.ignore?{includesJsDoc:!0,ignore:!0}:{includesJsDoc:!0,ignore:!1,description:n.description.trim(),extractedTags:r}};function LG(e,t){let n={params:null,deprecated:null,returns:null,ignore:!1};for(let r of e.tags)if(!(t!==void 0&&!t.includes(r.tag)))if(r.tag===`ignore`){n.ignore=!0;break}else switch(r.tag){case`param`:case`arg`:case`argument`:{let e=zG(r);e!=null&&(n.params??=[],n.params.push(e));break}case`deprecated`:{let e=BG(r);e!=null&&(n.deprecated=e);break}case`returns`:{let e=UG(r);e!=null&&(n.returns=e);break}default:break}return n}function RG(e){return e.replace(/[\.-]$/,``)}function zG(e){if(!e.name||e.name===`-`)return null;let t=KG(e.type);return{name:e.name,type:t,description:HG(e.description),getPrettyName:()=>RG(e.name),getTypeName:()=>t?qG(t):null}}function BG(e){return e.name?VG(e.name,e.description):null}function VG(e,t){return HG(e===``?t:`${e} ${t}`)}function HG(e){let t=e.replace(/^- /g,``).trim();return t===``?null:t}function UG(e){let t=KG(e.type);return t?{type:t,description:VG(e.name,e.description),getTypeName:()=>qG(t)}:null}var WG=(0,MG.stringifyRules)(),GG=WG.JsdocTypeObject;WG.JsdocTypeAny=()=>`any`,WG.JsdocTypeObject=(e,t)=>`(${GG(e,t)})`,WG.JsdocTypeOptional=(e,t)=>t(e.element),WG.JsdocTypeNullable=(e,t)=>t(e.element),WG.JsdocTypeNotNullable=(e,t)=>t(e.element),WG.JsdocTypeUnion=(e,t)=>e.elements.map(t).join(`|`);function KG(e){try{return(0,MG.parse)(e,`typescript`)}catch{return null}}function qG(e){return(0,MG.transform)(WG,e)}function JG(e){return e.length>90}function YG(e){return e.length>50}function Q(e,t){return e===t?{summary:e}:{summary:e,detail:t}}function XG(e,t){if(e!=null){let{value:n}=e;if(!eG(n))return YG(n)?Q(t?.name,n):Q(n)}return null}function ZG({name:e,value:t,elements:n,raw:r}){return t??(n==null?r??e:n.map(ZG).join(` | `))}function QG({name:e,raw:t,elements:n}){return Q(n==null?t==null?e:t.replace(/^\|\s*/,``):n.map(ZG).join(` | `))}function $G({type:e,raw:t}){return Q(t??e)}function eK({type:e,raw:t}){return t==null?Q(e):JG(t)?Q(e,t):Q(t)}function tK(e){let{type:t}=e;return t===`object`?eK(e):$G(e)}function nK({name:e,raw:t}){return t==null?Q(e):JG(t)?Q(e,t):Q(t)}function rK(e){if(e==null)return null;switch(e.name){case`union`:return QG(e);case`signature`:return tK(e);default:return nK(e)}}var iK=(e,t)=>{let{flowType:n,description:r,required:i,defaultValue:a}=t;return{name:e,type:rK(n),required:i,description:r,defaultValue:XG(a??null,n??null)}};function aK({defaultValue:e}){if(e!=null){let{value:t}=e;if(!eG(t))return Q(t)}return null}function oK({tsType:e,required:t}){if(e==null)return null;let n=e.name;return t||(n=n.replace(` | undefined`,``)),Q([`Array`,`Record`,`signature`].includes(e.name)?e.raw:n)}var sK=(e,t)=>{let{description:n,required:r}=t;return{name:e,type:oK(t),required:r,description:n,defaultValue:aK(t)}};function cK(e){return e==null?null:Q(e.name)}function lK(e){let{computed:t,func:n}=e;return typeof t>`u`&&typeof n>`u`}function uK(e){return e?e.name===`string`?!0:e.name===`enum`?Array.isArray(e.value)&&e.value.every(({value:e})=>typeof e==`string`&&e[0]===`"`&&e[e.length-1]===`"`):!1:!1}function dK(e,t){if(e!=null){let{value:n}=e;if(!eG(n))return lK(e)&&uK(t)?Q(JSON.stringify(n)):Q(n)}return null}function fK(e,t,n){let{description:r,required:i,defaultValue:a}=n;return{name:e,type:cK(t),required:i,description:r,defaultValue:dK(a,t)}}function pK(e,t){if(t?.includesJsDoc){let{description:n,extractedTags:r}=t;n!=null&&(e.description=t.description);let i={...r,params:r?.params?.map(e=>({name:e.getPrettyName(),description:e.description}))};Object.values(i).filter(Boolean).length>0&&(e.jsDocTags=i)}return e}var mK=(e,t,n)=>{let r=fK(e,t.type,t);return r.sbType=ZW(t),pK(r,n)},hK=(e,t,n)=>{let r=sK(e,t);return r.sbType=ZW(t),pK(r,n)},gK=(e,t,n)=>{let r=iK(e,t);return r.sbType=ZW(t),pK(r,n)},_K=(e,t,n)=>pK(fK(e,{name:`unknown`},t),n),vK=e=>{switch(e){case`JavaScript`:return mK;case`TypeScript`:return hK;case`Flow`:return gK;default:return _K}},yK=e=>e.type==null?e.flowType==null?e.tsType==null?`Unknown`:`TypeScript`:`Flow`:`JavaScript`,bK=e=>{let t=yK(e[0]),n=vK(t);return e.map(e=>{let r=e;return e.type?.elements&&(r={...e,type:{...e.type,value:e.type.elements}}),CK(r.name,r,t,n)})},xK=e=>{let t=Object.keys(e),n=yK(e[t[0]]),r=vK(n);return t.map(t=>{let i=e[t];return i==null?null:CK(t,i,n,r)}).filter(Boolean)},SK=(e,t)=>{let n=iG(e,t);return rG(n)?Array.isArray(n)?bK(n):xK(n):[]};function CK(e,t,n,r){let i=IG(t.description);return i.includesJsDoc&&i.ignore?null:{propDef:r(e,t,i),jsDocTags:i.extractedTags,docgenInfo:t,typeSystem:n}}function wK(e){return e==null?``:aG(e)}var TK=(...e)=>{let t={},n=e.filter(Boolean),r=n.reduce((e,n)=>(Object.entries(n).forEach(([n,r])=>{let i=e[n];Array.isArray(r)||typeof i>`u`?e[n]=r:ZU(r)&&ZU(i)?t[n]=!0:typeof r<`u`&&(e[n]=r)}),e),{});return Object.keys(t).forEach(e=>{let t=n.filter(Boolean).map(t=>t[e]).filter(e=>typeof e<`u`);t.every(e=>ZU(e))?r[e]=TK(...t):r[e]=t[t.length-1]}),r},EK=e=>{let{component:t,argTypes:n,parameters:{docs:r={}}}=e,{extractArgTypes:i}=r;if(!i||!t)return n;let a=i(t);return a?TK(a,n):n},DK=`storybook/docs`;`${DK}`;var OK=`${DK}/snippet-rendered`,kK=(e=>(e.AUTO=`auto`,e.CODE=`code`,e.DYNAMIC=`dynamic`,e))(kK||{});function AK(){}function jK(e,t){return e===t||Number.isNaN(e)&&Number.isNaN(t)}function MK(e,t,n){return NK(e,t,void 0,void 0,void 0,void 0,n)}function NK(e,t,n,r,i,a,o){let s=o(e,t,n,r,i,a);if(s!==void 0)return s;if(typeof e==typeof t)switch(typeof e){case`bigint`:case`string`:case`boolean`:case`symbol`:case`undefined`:return e===t;case`number`:return e===t||Object.is(e,t);case`function`:return e===t;case`object`:return PK(e,t,a,o)}return PK(e,t,a,o)}function PK(e,t,n,r){if(Object.is(e,t))return!0;let i=tW(e),a=tW(t);if(i===`[object Arguments]`&&(i=`[object Object]`),a===`[object Arguments]`&&(a=`[object Object]`),i!==a)return!1;switch(i){case rW:return e.toString()===t.toString();case iW:return jK(e.valueOf(),t.valueOf());case aW:case sW:case oW:return Object.is(e.valueOf(),t.valueOf());case nW:return e.source===t.source&&e.flags===t.flags;case dW:return e===t}n??=new Map;let o=n.get(e),s=n.get(t);if(o!=null&&s!=null)return o===t;n.set(e,t),n.set(t,e);try{switch(i){case cW:if(e.size!==t.size)return!1;for(let[i,a]of e.entries())if(!t.has(i)||!NK(a,t.get(i),i,e,t,n,r))return!1;return!0;case lW:{if(e.size!==t.size)return!1;let i=Array.from(e.values()),a=Array.from(t.values());for(let o=0;o<i.length;o++){let s=i[o],c=a.findIndex(i=>NK(s,i,void 0,e,t,n,r));if(c===-1)return!1;a.splice(c,1)}return!0}case uW:case gW:case _W:case vW:case yW:case bW:case xW:case SW:case CW:case wW:case TW:case EW:if(typeof Buffer<`u`&&Buffer.isBuffer(e)!==Buffer.isBuffer(t)||e.length!==t.length)return!1;for(let i=0;i<e.length;i++)if(!NK(e[i],t[i],i,e,t,n,r))return!1;return!0;case fW:return e.byteLength===t.byteLength?PK(new Uint8Array(e),new Uint8Array(t),n,r):!1;case hW:return e.byteLength!==t.byteLength||e.byteOffset!==t.byteOffset?!1:PK(new Uint8Array(e),new Uint8Array(t),n,r);case mW:return e.name===t.name&&e.message===t.message;case pW:{if(!(PK(e.constructor,t.constructor,n,r)||ZU(e)&&ZU(t)))return!1;let i=[...Object.keys(e),...eW(e)],a=[...Object.keys(t),...eW(t)];if(i.length!==a.length)return!1;for(let a=0;a<i.length;a++){let o=i[a],s=e[o];if(!Object.hasOwn(t,o))return!1;let c=t[o];if(!NK(s,c,o,e,t,n,r))return!1}return!0}default:return!1}}finally{n.delete(e),n.delete(t)}}function FK(e,t){return MK(e,t,AK)}var IK=BU({"../../node_modules/memoizerific/memoizerific.js"(e,t){(function(n){if(typeof e==`object`&&typeof t<`u`)t.exports=n();else if(typeof define==`function`&&define.amd)define([],n);else{var r=typeof window<`u`?window:typeof global<`u`?global:typeof self<`u`?self:this;r.memoizerific=n()}})(function(){return(function e(t,n,r){function i(o,s){if(!n[o]){if(!t[o]){var c=typeof zU==`function`&&zU;if(!s&&c)return c(o,!0);if(a)return a(o,!0);var l=Error(`Cannot find module '`+o+`'`);throw l.code=`MODULE_NOT_FOUND`,l}var u=n[o]={exports:{}};t[o][0].call(u.exports,function(e){var n=t[o][1][e];return i(n||e)},u,u.exports,e,t,n,r)}return n[o].exports}for(var a=typeof zU==`function`&&zU,o=0;o<r.length;o++)i(r[o]);return i})({1:[function(e,t,n){t.exports=function(t){return typeof Map!=`function`||t?new(e(`./similar`)):new Map}},{"./similar":2}],2:[function(e,t,n){function r(){return this.list=[],this.lastItem=void 0,this.size=0,this}r.prototype.get=function(e){var t;if(this.lastItem&&this.isEqual(this.lastItem.key,e))return this.lastItem.val;if(t=this.indexOf(e),t>=0)return this.lastItem=this.list[t],this.list[t].val},r.prototype.set=function(e,t){var n;return this.lastItem&&this.isEqual(this.lastItem.key,e)?(this.lastItem.val=t,this):(n=this.indexOf(e),n>=0?(this.lastItem=this.list[n],this.list[n].val=t,this):(this.lastItem={key:e,val:t},this.list.push(this.lastItem),this.size++,this))},r.prototype.delete=function(e){var t;if(this.lastItem&&this.isEqual(this.lastItem.key,e)&&(this.lastItem=void 0),t=this.indexOf(e),t>=0)return this.size--,this.list.splice(t,1)[0]},r.prototype.has=function(e){var t;return this.lastItem&&this.isEqual(this.lastItem.key,e)?!0:(t=this.indexOf(e),t>=0?(this.lastItem=this.list[t],!0):!1)},r.prototype.forEach=function(e,t){var n;for(n=0;n<this.size;n++)e.call(t||this,this.list[n].val,this.list[n].key,this)},r.prototype.indexOf=function(e){var t;for(t=0;t<this.size;t++)if(this.isEqual(this.list[t].key,e))return t;return-1},r.prototype.isEqual=function(e,t){return e===t||e!==e&&t!==t},t.exports=r},{}],3:[function(e,t,n){var r=e(`map-or-similar`);t.exports=function(e){var t=new r(!1),n=[];return function(o){var s=function(){var c=t,l,u,d=arguments.length-1,f=Array(d+1),p=!0,m;if((s.numArgs||s.numArgs===0)&&s.numArgs!==d+1)throw Error(`Memoizerific functions should always be called with the same number of arguments`);for(m=0;m<d;m++){if(f[m]={cacheItem:c,arg:arguments[m]},c.has(arguments[m])){c=c.get(arguments[m]);continue}p=!1,l=new r(!1),c.set(arguments[m],l),c=l}return p&&(c.has(arguments[d])?u=c.get(arguments[d]):p=!1),p||(u=o.apply(null,arguments),c.set(arguments[d],u)),e>0&&(f[d]={cacheItem:c,arg:arguments[d]},p?i(n,f):n.push(f),n.length>e&&a(n.shift())),s.wasMemoized=p,s.numArgs=d+1,u};return s.limit=e,s.wasMemoized=!1,s.cache=t,s.lru=n,s}};function i(e,t){var n=e.length,r=t.length,i,a,s;for(a=0;a<n;a++){for(i=!0,s=0;s<r;s++)if(!o(e[a][s].arg,t[s].arg)){i=!1;break}if(i)break}e.push(e.splice(a,1)[0])}function a(e){var t=e.length,n=e[t-1],r,i;for(n.cacheItem.delete(n.arg),i=t-2;i>=0&&(n=e[i],r=n.cacheItem.get(n.arg),!r||!r.size);i--)n.cacheItem.delete(n.arg)}function o(e,t){return e===t||e!==e&&t!==t}},{"map-or-similar":1}]},{},[3])(3)})}});function LK(e){var t=[...arguments].slice(1),n=Array.from(typeof e==`string`?[e]:e);n[n.length-1]=n[n.length-1].replace(/\r?\n([\t ]*)$/,``);var r=n.reduce(function(e,t){var n=t.match(/\n([\t ]+|(?!\s).)/g);return n?e.concat(n.map(function(e){return e.match(/[\t ]/g)?.length??0})):e},[]);if(r.length){var i=RegExp(`
1023
+ [ ]{`+Math.min.apply(Math,r)+`}`,`g`);n=n.map(function(e){return e.replace(i,`
1024
+ `)})}n[0]=n[0].replace(/^\r?\n/,``);var a=n[0];return t.forEach(function(e,t){var r=a.match(/(?:^|\n)( *)$/),i=r?r[1]:``,o=e;typeof e==`string`&&e.includes(`
1025
+ `)&&(o=String(e).split(`
1026
+ `).map(function(e,t){return t===0?e:``+i+e}).join(`
1027
+ `)),a+=o+n[t+1]}),a}var RK=`storybook/highlight`,zK=`${RK}/add`,BK=`${RK}/remove`,VK=`${RK}/reset`,HK=`${RK}/scroll-into-view`,UK=2147483647,WK=`storybook/actions`;`${WK}`;var GK=`${WK}/action-event`;`${WK}`;var KK={depth:10,clearOnStoryChange:!0,limit:50},{ImplicitActionsDuringRendering:qK}=__STORYBOOK_MODULE_CORE_EVENTS_PREVIEW_ERRORS__,{global:JK}=__STORYBOOK_MODULE_GLOBAL__,{addons:YK}=__STORYBOOK_MODULE_PREVIEW_API__,XK=(e,t)=>{let n=Object.getPrototypeOf(e);return!n||t(n)?n:XK(n,t)},ZK=e=>!!(typeof e==`object`&&e&&XK(e,e=>/^Synthetic(?:Base)?Event$/.test(e.constructor.name))&&typeof e.persist==`function`),QK=e=>{if(ZK(e)){let t=Object.create(e.constructor.prototype,Object.getOwnPropertyDescriptors(e));t.persist();let n=Object.getOwnPropertyDescriptor(t,`view`),r=n?.value;return typeof r==`object`&&r?.constructor.name===`Window`&&Object.defineProperty(t,`view`,{...n,value:Object.create(r.constructor.prototype)}),t}return e};function $K(e,t={}){let n={...KK,...t},r=function(...r){if(t.implicit){let t=(`__STORYBOOK_PREVIEW__`in JK?JK.__STORYBOOK_PREVIEW__:void 0)?.storyRenders.find(e=>e.phase===`playing`||e.phase===`rendering`);if(t){let n=!globalThis?.FEATURES?.disallowImplicitActionsInRenderV8,r=new qK({phase:t.phase,name:e,deprecated:n});if(n)console.warn(r);else throw r}}let i=YK.getChannel(),a=Date.now().toString(36)+Math.random().toString(36).substring(2),o=r.map(QK),s={id:a,count:0,data:{name:e,args:r.length>1?o:o[0]},options:{...n,maxDepth:5+(n.depth||3)}};i.emit(GK,s)};return r.isAction=!0,r.implicit=t.implicit,r}var eq=`storybook/viewport`;`${eq}`,`${eq}`;var tq={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`},nq=Object.entries({reset:[0,0],bold:[1,22,`\x1B[22m\x1B[1m`],dim:[2,22,`\x1B[22m\x1B[2m`],italic:[3,23],underline:[4,24],inverse:[7,27],hidden:[8,28],strikethrough:[9,29],black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],gray:[90,39],bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],blackBright:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39],bgBlackBright:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]});function rq(e){return String(e)}rq.open=``,rq.close=``,nq.reduce((e,[t])=>(e[t]=rq,e),{isColorSupported:!1});function iq(e=!1){let t=typeof process<`u`?process:void 0,n=t?.env||{},r=t?.argv||[];return!(`NO_COLOR`in n||r.includes(`--no-color`))&&(`FORCE_COLOR`in n||r.includes(`--color`)||t?.platform===`win32`||e&&n.TERM!==`dumb`||`CI`in n)||typeof window<`u`&&!!window.chrome}function aq(e=!1){let t=iq(e),n=(e,t,n,r)=>{let i=``,a=0;do i+=e.substring(a,r)+n,a=r+t.length,r=e.indexOf(t,a);while(~r);return i+e.substring(a)},r=(e,t,r=e)=>{let i=i=>{let a=String(i),o=a.indexOf(t,e.length);return~o?e+n(a,t,r,o)+t:e+a+t};return i.open=e,i.close=t,i},i={isColorSupported:t},a=e=>`\x1B[${e}m`;for(let[e,n]of nq)i[e]=t?r(a(n[0]),a(n[1]),n[2]):rq;return i}var oq=aq();function sq(e,t){return t.forEach(function(t){t&&typeof t!=`string`&&!Array.isArray(t)&&Object.keys(t).forEach(function(n){if(n!==`default`&&!(n in e)){var r=Object.getOwnPropertyDescriptor(t,n);Object.defineProperty(e,n,r.get?r:{enumerable:!0,get:function(){return t[n]}})}})}),Object.freeze(e)}function cq(e,t){let n=Object.keys(e),r=t===null?n:n.sort(t);if(Object.getOwnPropertySymbols)for(let t of Object.getOwnPropertySymbols(e))Object.getOwnPropertyDescriptor(e,t).enumerable&&r.push(t);return r}function lq(e,t,n,r,i,a,o=`: `){let s=``,c=0,l=e.next();if(!l.done){s+=t.spacingOuter;let u=n+t.indent;for(;!l.done;){if(s+=u,c++===t.maxWidth){s+=`…`;break}let n=a(l.value[0],t,u,r,i),d=a(l.value[1],t,u,r,i);s+=n+o+d,l=e.next(),l.done?t.min||(s+=`,`):s+=`,${t.spacingInner}`}s+=t.spacingOuter+n}return s}function uq(e,t,n,r,i,a){let o=``,s=0,c=e.next();if(!c.done){o+=t.spacingOuter;let l=n+t.indent;for(;!c.done;){if(o+=l,s++===t.maxWidth){o+=`…`;break}o+=a(c.value,t,l,r,i),c=e.next(),c.done?t.min||(o+=`,`):o+=`,${t.spacingInner}`}o+=t.spacingOuter+n}return o}function dq(e,t,n,r,i,a){let o=``;e=e instanceof ArrayBuffer?new DataView(e):e;let s=e=>e instanceof DataView,c=s(e)?e.byteLength:e.length;if(c>0){o+=t.spacingOuter;let l=n+t.indent;for(let n=0;n<c;n++){if(o+=l,n===t.maxWidth){o+=`…`;break}(s(e)||n in e)&&(o+=a(s(e)?e.getInt8(n):e[n],t,l,r,i)),n<c-1?o+=`,${t.spacingInner}`:t.min||(o+=`,`)}o+=t.spacingOuter+n}return o}function fq(e,t,n,r,i,a){let o=``,s=cq(e,t.compareKeys);if(s.length>0){o+=t.spacingOuter;let c=n+t.indent;for(let n=0;n<s.length;n++){let l=s[n],u=a(l,t,c,r,i),d=a(e[l],t,c,r,i);o+=`${c+u}: ${d}`,n<s.length-1?o+=`,${t.spacingInner}`:t.min||(o+=`,`)}o+=t.spacingOuter+n}return o}var pq=typeof Symbol==`function`&&Symbol.for?Symbol.for(`jest.asymmetricMatcher`):1267621,mq=` `,hq={serialize:(e,t,n,r,i,a)=>{let o=e.toString();if(o===`ArrayContaining`||o===`ArrayNotContaining`)return++r>t.maxDepth?`[${o}]`:`${o+mq}[${dq(e.sample,t,n,r,i,a)}]`;if(o===`ObjectContaining`||o===`ObjectNotContaining`)return++r>t.maxDepth?`[${o}]`:`${o+mq}{${fq(e.sample,t,n,r,i,a)}}`;if(o===`StringMatching`||o===`StringNotMatching`||o===`StringContaining`||o===`StringNotContaining`)return o+mq+a(e.sample,t,n,r,i);if(typeof e.toAsymmetricMatcher!=`function`)throw TypeError(`Asymmetric matcher ${e.constructor.name} does not implement toAsymmetricMatcher()`);return e.toAsymmetricMatcher()},test:e=>e&&e.$$typeof===pq},gq=` `,_q=new Set([`DOMStringMap`,`NamedNodeMap`]),vq=/^(?:HTML\w*Collection|NodeList)$/;function yq(e){return _q.has(e)||vq.test(e)}var bq=e=>e&&e.constructor&&!!e.constructor.name&&yq(e.constructor.name);function xq(e){return e.constructor.name===`NamedNodeMap`}var Sq={serialize:(e,t,n,r,i,a)=>{let o=e.constructor.name;return++r>t.maxDepth?`[${o}]`:(t.min?``:o+gq)+(_q.has(o)?`{${fq(xq(e)?[...e].reduce((e,t)=>(e[t.name]=t.value,e),{}):{...e},t,n,r,i,a)}}`:`[${dq([...e],t,n,r,i,a)}]`)},test:bq};function Cq(e){return e.replaceAll(`<`,`&lt;`).replaceAll(`>`,`&gt;`)}function wq(e,t,n,r,i,a,o){let s=r+n.indent,c=n.colors;return e.map(e=>{let l=t[e],u=o(l,n,s,i,a);return typeof l!=`string`&&(u.includes(`
1028
+ `)&&(u=n.spacingOuter+s+u+n.spacingOuter+r),u=`{${u}}`),`${n.spacingInner+r+c.prop.open+e+c.prop.close}=${c.value.open}${u}${c.value.close}`}).join(``)}function Tq(e,t,n,r,i,a){return e.map(e=>t.spacingOuter+n+(typeof e==`string`?Eq(e,t):a(e,t,n,r,i))).join(``)}function Eq(e,t){let n=t.colors.content;return n.open+Cq(e)+n.close}function Dq(e,t){let n=t.colors.comment;return`${n.open}<!--${Cq(e)}-->${n.close}`}function Oq(e,t,n,r,i){let a=r.colors.tag;return`${a.open}<${e}${t&&a.close+t+r.spacingOuter+i+a.open}${n?`>${a.close}${n}${r.spacingOuter}${i}${a.open}</${e}`:`${t&&!r.min?``:` `}/`}>${a.close}`}function kq(e,t){let n=t.colors.tag;return`${n.open}<${e}${n.close} \u2026${n.open} />${n.close}`}var Aq=1,jq=3,Mq=8,Nq=11,Pq=/^(?:(?:HTML|SVG)\w*)?Element$/;function Fq(e){try{return typeof e.hasAttribute==`function`&&e.hasAttribute(`is`)}catch{return!1}}function Iq(e){let t=e.constructor.name,{nodeType:n,tagName:r}=e,i=typeof r==`string`&&r.includes(`-`)||Fq(e);return n===Aq&&(Pq.test(t)||i)||n===jq&&t===`Text`||n===Mq&&t===`Comment`||n===Nq&&t===`DocumentFragment`}var Lq=e=>{var t;return(e==null||(t=e.constructor)==null?void 0:t.name)&&Iq(e)};function Rq(e){return e.nodeType===jq}function zq(e){return e.nodeType===Mq}function Bq(e){return e.nodeType===Nq}var Vq={serialize:(e,t,n,r,i,a)=>{if(Rq(e))return Eq(e.data,t);if(zq(e))return Dq(e.data,t);let o=Bq(e)?`DocumentFragment`:e.tagName.toLowerCase();return++r>t.maxDepth?kq(o,t):Oq(o,wq(Bq(e)?[]:Array.from(e.attributes,e=>e.name).sort(),Bq(e)?{}:[...e.attributes].reduce((e,t)=>(e[t.name]=t.value,e),{}),t,n+t.indent,r,i,a),Tq(Array.prototype.slice.call(e.childNodes||e.children),t,n+t.indent,r,i,a),t,n)},test:Lq},Hq=`@@__IMMUTABLE_ITERABLE__@@`,Uq=`@@__IMMUTABLE_LIST__@@`,Wq=`@@__IMMUTABLE_KEYED__@@`,Gq=`@@__IMMUTABLE_MAP__@@`,Kq=`@@__IMMUTABLE_ORDERED__@@`,qq=`@@__IMMUTABLE_RECORD__@@`,Jq=`@@__IMMUTABLE_SEQ__@@`,Yq=`@@__IMMUTABLE_SET__@@`,Xq=`@@__IMMUTABLE_STACK__@@`,Zq=e=>`Immutable.${e}`,Qq=e=>`[${e}]`,$q=` `,eJ=`…`;function tJ(e,t,n,r,i,a,o){return++r>t.maxDepth?Qq(Zq(o)):`${Zq(o)+$q}{${lq(e.entries(),t,n,r,i,a)}}`}function nJ(e){let t=0;return{next(){if(t<e._keys.length){let n=e._keys[t++];return{done:!1,value:[n,e.get(n)]}}return{done:!0,value:void 0}}}}function rJ(e,t,n,r,i,a){let o=Zq(e._name||`Record`);return++r>t.maxDepth?Qq(o):`${o+$q}{${lq(nJ(e),t,n,r,i,a)}}`}function iJ(e,t,n,r,i,a){let o=Zq(`Seq`);return++r>t.maxDepth?Qq(o):e[Wq]?`${o+$q}{${e._iter||e._object?lq(e.entries(),t,n,r,i,a):eJ}}`:`${o+$q}[${e._iter||e._array||e._collection||e._iterable?uq(e.values(),t,n,r,i,a):eJ}]`}function aJ(e,t,n,r,i,a,o){return++r>t.maxDepth?Qq(Zq(o)):`${Zq(o)+$q}[${uq(e.values(),t,n,r,i,a)}]`}var oJ={serialize:(e,t,n,r,i,a)=>e[Gq]?tJ(e,t,n,r,i,a,e[Kq]?`OrderedMap`:`Map`):e[Uq]?aJ(e,t,n,r,i,a,`List`):e[Yq]?aJ(e,t,n,r,i,a,e[Kq]?`OrderedSet`:`Set`):e[Xq]?aJ(e,t,n,r,i,a,`Stack`):e[Jq]?iJ(e,t,n,r,i,a):rJ(e,t,n,r,i,a),test:e=>e&&(e[Hq]===!0||e[qq]===!0)};function sJ(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,`default`)?e.default:e}var cJ={exports:{}},lJ={},uJ;function dJ(){if(uJ)return lJ;uJ=1;var e=Symbol.for(`react.transitional.element`),t=Symbol.for(`react.portal`),n=Symbol.for(`react.fragment`),r=Symbol.for(`react.strict_mode`),i=Symbol.for(`react.profiler`),a=Symbol.for(`react.consumer`),o=Symbol.for(`react.context`),s=Symbol.for(`react.forward_ref`),c=Symbol.for(`react.suspense`),l=Symbol.for(`react.suspense_list`),u=Symbol.for(`react.memo`),d=Symbol.for(`react.lazy`),f=Symbol.for(`react.view_transition`),p=Symbol.for(`react.client.reference`);function m(p){if(typeof p==`object`&&p){var m=p.$$typeof;switch(m){case e:switch(p=p.type,p){case n:case i:case r:case c:case l:case f:return p;default:switch(p&&=p.$$typeof,p){case o:case s:case d:case u:return p;case a:return p;default:return m}}case t:return m}}}return lJ.ContextConsumer=a,lJ.ContextProvider=o,lJ.Element=e,lJ.ForwardRef=s,lJ.Fragment=n,lJ.Lazy=d,lJ.Memo=u,lJ.Portal=t,lJ.Profiler=i,lJ.StrictMode=r,lJ.Suspense=c,lJ.SuspenseList=l,lJ.isContextConsumer=function(e){return m(e)===a},lJ.isContextProvider=function(e){return m(e)===o},lJ.isElement=function(t){return typeof t==`object`&&!!t&&t.$$typeof===e},lJ.isForwardRef=function(e){return m(e)===s},lJ.isFragment=function(e){return m(e)===n},lJ.isLazy=function(e){return m(e)===d},lJ.isMemo=function(e){return m(e)===u},lJ.isPortal=function(e){return m(e)===t},lJ.isProfiler=function(e){return m(e)===i},lJ.isStrictMode=function(e){return m(e)===r},lJ.isSuspense=function(e){return m(e)===c},lJ.isSuspenseList=function(e){return m(e)===l},lJ.isValidElementType=function(e){return typeof e==`string`||typeof e==`function`||e===n||e===i||e===r||e===c||e===l||typeof e==`object`&&!!e&&(e.$$typeof===d||e.$$typeof===u||e.$$typeof===o||e.$$typeof===a||e.$$typeof===s||e.$$typeof===p||e.getModuleId!==void 0)},lJ.typeOf=m,lJ}var fJ;function pJ(){return fJ||(fJ=1,cJ.exports=dJ()),cJ.exports}var mJ=pJ(),hJ=sq({__proto__:null,default:sJ(mJ)},[mJ]),gJ={exports:{}},_J={},vJ;function yJ(){if(vJ)return _J;vJ=1;var e=Symbol.for(`react.element`),t=Symbol.for(`react.portal`),n=Symbol.for(`react.fragment`),r=Symbol.for(`react.strict_mode`),i=Symbol.for(`react.profiler`),a=Symbol.for(`react.provider`),o=Symbol.for(`react.context`),s=Symbol.for(`react.server_context`),c=Symbol.for(`react.forward_ref`),l=Symbol.for(`react.suspense`),u=Symbol.for(`react.suspense_list`),d=Symbol.for(`react.memo`),f=Symbol.for(`react.lazy`),p=Symbol.for(`react.offscreen`),m=Symbol.for(`react.module.reference`);function h(p){if(typeof p==`object`&&p){var m=p.$$typeof;switch(m){case e:switch(p=p.type,p){case n:case i:case r:case l:case u:return p;default:switch(p&&=p.$$typeof,p){case s:case o:case c:case f:case d:case a:return p;default:return m}}case t:return m}}}return _J.ContextConsumer=o,_J.ContextProvider=a,_J.Element=e,_J.ForwardRef=c,_J.Fragment=n,_J.Lazy=f,_J.Memo=d,_J.Portal=t,_J.Profiler=i,_J.StrictMode=r,_J.Suspense=l,_J.SuspenseList=u,_J.isAsyncMode=function(){return!1},_J.isConcurrentMode=function(){return!1},_J.isContextConsumer=function(e){return h(e)===o},_J.isContextProvider=function(e){return h(e)===a},_J.isElement=function(t){return typeof t==`object`&&!!t&&t.$$typeof===e},_J.isForwardRef=function(e){return h(e)===c},_J.isFragment=function(e){return h(e)===n},_J.isLazy=function(e){return h(e)===f},_J.isMemo=function(e){return h(e)===d},_J.isPortal=function(e){return h(e)===t},_J.isProfiler=function(e){return h(e)===i},_J.isStrictMode=function(e){return h(e)===r},_J.isSuspense=function(e){return h(e)===l},_J.isSuspenseList=function(e){return h(e)===u},_J.isValidElementType=function(e){return typeof e==`string`||typeof e==`function`||e===n||e===i||e===r||e===l||e===u||e===p||typeof e==`object`&&!!e&&(e.$$typeof===f||e.$$typeof===d||e.$$typeof===a||e.$$typeof===o||e.$$typeof===c||e.$$typeof===m||e.getModuleId!==void 0)},_J.typeOf=h,_J}var bJ;function xJ(){return bJ||(bJ=1,gJ.exports=yJ()),gJ.exports}var SJ=xJ(),CJ=sq({__proto__:null,default:sJ(SJ)},[SJ]),wJ=Object.fromEntries([`isAsyncMode`,`isConcurrentMode`,`isContextConsumer`,`isContextProvider`,`isElement`,`isForwardRef`,`isFragment`,`isLazy`,`isMemo`,`isPortal`,`isProfiler`,`isStrictMode`,`isSuspense`,`isSuspenseList`,`isValidElementType`].map(e=>[e,t=>CJ[e](t)||hJ[e](t)]));function TJ(e,t=[]){if(Array.isArray(e))for(let n of e)TJ(n,t);else e!=null&&e!==!1&&e!==``&&t.push(e);return t}function EJ(e){let t=e.type;if(typeof t==`string`)return t;if(typeof t==`function`)return t.displayName||t.name||`Unknown`;if(wJ.isFragment(e))return`React.Fragment`;if(wJ.isSuspense(e))return`React.Suspense`;if(typeof t==`object`&&t){if(wJ.isContextProvider(e))return`Context.Provider`;if(wJ.isContextConsumer(e))return`Context.Consumer`;if(wJ.isForwardRef(e)){if(t.displayName)return t.displayName;let e=t.render.displayName||t.render.name||``;return e===``?`ForwardRef`:`ForwardRef(${e})`}if(wJ.isMemo(e)){let e=t.displayName||t.type.displayName||t.type.name||``;return e===``?`Memo`:`Memo(${e})`}}return`UNDEFINED`}function DJ(e){let{props:t}=e;return Object.keys(t).filter(e=>e!==`children`&&t[e]!==void 0).sort()}var OJ={serialize:(e,t,n,r,i,a)=>++r>t.maxDepth?kq(EJ(e),t):Oq(EJ(e),wq(DJ(e),e.props,t,n+t.indent,r,i,a),Tq(TJ(e.props.children),t,n+t.indent,r,i,a),t,n),test:e=>e!=null&&wJ.isElement(e)},kJ=typeof Symbol==`function`&&Symbol.for?Symbol.for(`react.test.json`):245830487;function AJ(e){let{props:t}=e;return t?Object.keys(t).filter(e=>t[e]!==void 0).sort():[]}var jJ={serialize:(e,t,n,r,i,a)=>++r>t.maxDepth?kq(e.type,t):Oq(e.type,e.props?wq(AJ(e),e.props,t,n+t.indent,r,i,a):``,e.children?Tq(e.children,t,n+t.indent,r,i,a):``,t,n),test:e=>e&&e.$$typeof===kJ},MJ=Object.prototype.toString,NJ=Date.prototype.toISOString,PJ=Error.prototype.toString,FJ=RegExp.prototype.toString;function IJ(e){return typeof e.constructor==`function`&&e.constructor.name||`Object`}function LJ(e){return typeof window<`u`&&e===window}var RJ=/^Symbol\((.*)\)(.*)$/,zJ=/\n/g,BJ=class extends Error{constructor(e,t){super(e),this.stack=t,this.name=this.constructor.name}};function VJ(e){return e===`[object Array]`||e===`[object ArrayBuffer]`||e===`[object DataView]`||e===`[object Float32Array]`||e===`[object Float64Array]`||e===`[object Int8Array]`||e===`[object Int16Array]`||e===`[object Int32Array]`||e===`[object Uint8Array]`||e===`[object Uint8ClampedArray]`||e===`[object Uint16Array]`||e===`[object Uint32Array]`}function HJ(e){return Object.is(e,-0)?`-0`:String(e)}function UJ(e){return`${e}n`}function WJ(e,t){return t?`[Function ${e.name||`anonymous`}]`:`[Function]`}function GJ(e){return String(e).replace(RJ,`Symbol($1)`)}function KJ(e){return`[${PJ.call(e)}]`}function qJ(e,t,n,r){if(e===!0||e===!1)return`${e}`;if(e===void 0)return`undefined`;if(e===null)return`null`;let i=typeof e;if(i===`number`)return HJ(e);if(i===`bigint`)return UJ(e);if(i===`string`)return r?`"${e.replaceAll(/"|\\/g,`\\$&`)}"`:`"${e}"`;if(i===`function`)return WJ(e,t);if(i===`symbol`)return GJ(e);let a=MJ.call(e);return a===`[object WeakMap]`?`WeakMap {}`:a===`[object WeakSet]`?`WeakSet {}`:a===`[object Function]`||a===`[object GeneratorFunction]`?WJ(e,t):a===`[object Symbol]`?GJ(e):a===`[object Date]`?Number.isNaN(+e)?`Date { NaN }`:NJ.call(e):a===`[object Error]`?KJ(e):a===`[object RegExp]`?n?FJ.call(e).replaceAll(/[$()*+.?[\\\]^{|}]/g,`\\$&`):FJ.call(e):e instanceof Error?KJ(e):null}function JJ(e,t,n,r,i,a){if(i.includes(e))return`[Circular]`;i=[...i],i.push(e);let o=++r>t.maxDepth,s=t.min;if(t.callToJSON&&!o&&e.toJSON&&typeof e.toJSON==`function`&&!a)return $J(e.toJSON(),t,n,r,i,!0);let c=MJ.call(e);return c===`[object Arguments]`?o?`[Arguments]`:`${s?``:`Arguments `}[${dq(e,t,n,r,i,$J)}]`:VJ(c)?o?`[${e.constructor.name}]`:`${s||!t.printBasicPrototype&&e.constructor.name===`Array`?``:`${e.constructor.name} `}[${dq(e,t,n,r,i,$J)}]`:c===`[object Map]`?o?`[Map]`:`Map {${lq(e.entries(),t,n,r,i,$J,` => `)}}`:c===`[object Set]`?o?`[Set]`:`Set {${uq(e.values(),t,n,r,i,$J)}}`:o||LJ(e)?`[${IJ(e)}]`:`${s||!t.printBasicPrototype&&IJ(e)===`Object`?``:`${IJ(e)} `}{${fq(e,t,n,r,i,$J)}}`}var YJ={test:e=>e&&e instanceof Error,serialize(e,t,n,r,i,a){if(i.includes(e))return`[Circular]`;i=[...i,e];let o=++r>t.maxDepth,{message:s,cause:c,...l}=e,u={message:s,...typeof c<`u`?{cause:c}:{},...e instanceof AggregateError?{errors:e.errors}:{},...l},d=e.name===`Error`?IJ(e):e.name;return o?`[${d}]`:`${d} {${lq(Object.entries(u).values(),t,n,r,i,a)}}`}};function XJ(e){return e.serialize!=null}function ZJ(e,t,n,r,i,a){let o;try{o=XJ(e)?e.serialize(t,n,r,i,a,$J):e.print(t,e=>$J(e,n,r,i,a),e=>{let t=r+n.indent;return t+e.replaceAll(zJ,`
1029
+ ${t}`)},{edgeSpacing:n.spacingOuter,min:n.min,spacing:n.spacingInner},n.colors)}catch(e){throw new BJ(e.message,e.stack)}if(typeof o!=`string`)throw TypeError(`pretty-format: Plugin must return type "string" but instead returned "${typeof o}".`);return o}function QJ(e,t){for(let n of e)try{if(n.test(t))return n}catch(e){throw new BJ(e.message,e.stack)}return null}function $J(e,t,n,r,i,a){let o=QJ(t.plugins,e);if(o!==null)return ZJ(o,e,t,n,r,i);let s=qJ(e,t.printFunctionName,t.escapeRegex,t.escapeString);return s===null?JJ(e,t,n,r,i,a):s}var eY={comment:`gray`,content:`reset`,prop:`yellow`,tag:`cyan`,value:`green`},tY=Object.keys(eY),nY={callToJSON:!0,compareKeys:void 0,escapeRegex:!1,escapeString:!0,highlight:!1,indent:2,maxDepth:1/0,maxWidth:1/0,min:!1,plugins:[],printBasicPrototype:!0,printFunctionName:!0,theme:eY};function rY(e){for(let t of Object.keys(e))if(!Object.prototype.hasOwnProperty.call(nY,t))throw Error(`pretty-format: Unknown option "${t}".`);if(e.min&&e.indent!==void 0&&e.indent!==0)throw Error(`pretty-format: Options "min" and "indent" cannot be used together.`)}function iY(){return tY.reduce((e,t)=>{let n=eY[t],r=n&&oq[n];if(r&&typeof r.close==`string`&&typeof r.open==`string`)e[t]=r;else throw Error(`pretty-format: Option "theme" has a key "${t}" whose value "${n}" is undefined in ansi-styles.`);return e},Object.create(null))}function aY(){return tY.reduce((e,t)=>(e[t]={close:``,open:``},e),Object.create(null))}function oY(e){return e?.printFunctionName??nY.printFunctionName}function sY(e){return e?.escapeRegex??nY.escapeRegex}function cY(e){return e?.escapeString??nY.escapeString}function lY(e){return{callToJSON:e?.callToJSON??nY.callToJSON,colors:e?.highlight?iY():aY(),compareKeys:typeof e?.compareKeys==`function`||e?.compareKeys===null?e.compareKeys:nY.compareKeys,escapeRegex:sY(e),escapeString:cY(e),indent:e?.min?``:uY(e?.indent??nY.indent),maxDepth:e?.maxDepth??nY.maxDepth,maxWidth:e?.maxWidth??nY.maxWidth,min:e?.min??nY.min,plugins:e?.plugins??nY.plugins,printBasicPrototype:e?.printBasicPrototype??!0,printFunctionName:oY(e),spacingInner:e?.min?` `:`
1030
+ `,spacingOuter:e?.min?``:`
1031
+ `}}function uY(e){return Array.from({length:e+1}).join(` `)}function dY(e,t){if(t&&(rY(t),t.plugins)){let n=QJ(t.plugins,e);if(n!==null)return ZJ(n,e,lY(t),``,0,[])}let n=qJ(e,oY(t),sY(t),cY(t));return n===null?JJ(e,lY(t),``,0,[]):n}var fY={AsymmetricMatcher:hq,DOMCollection:Sq,DOMElement:Vq,Immutable:oJ,ReactElement:OJ,ReactTestComponent:jJ,Error:YJ},pY={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`]},mY={special:`cyan`,number:`yellow`,bigint:`yellow`,boolean:`yellow`,undefined:`grey`,null:`bold`,string:`green`,symbol:`green`,date:`magenta`,regexp:`red`},hY=`…`;function gY(e,t){let n=pY[mY[t]]||pY[t]||``;return n?`\x1B[${n[0]}m${String(e)}\x1B[${n[1]}m`:String(e)}function _Y({showHidden:e=!1,depth:t=2,colors:n=!1,customInspect:r=!0,showProxy:i=!1,maxArrayLength:a=1/0,breakLength:o=1/0,seen:s=[],truncate:c=1/0,stylize:l=String}={},u){let d={showHidden:!!e,depth:Number(t),colors:!!n,customInspect:!!r,showProxy:!!i,maxArrayLength:Number(a),breakLength:Number(o),truncate:Number(c),seen:s,inspect:u,stylize:l};return d.colors&&(d.stylize=gY),d}function vY(e){return e>=`\ud800`&&e<=`\udbff`}function yY(e,t,n=hY){e=String(e);let r=n.length,i=e.length;if(r>t&&i>r)return n;if(i>t&&i>r){let i=t-r;return i>0&&vY(e[i-1])&&--i,`${e.slice(0,i)}${n}`}return e}function bY(e,t,n,r=`, `){n||=t.inspect;let i=e.length;if(i===0)return``;let a=t.truncate,o=``,s=``,c=``;for(let l=0;l<i;l+=1){let i=l+1===e.length,u=l+2===e.length;c=`${hY}(${e.length-l})`;let d=e[l];t.truncate=a-o.length-(i?0:r.length);let f=s||n(d,t)+(i?``:r),p=o.length+f.length,m=p+c.length;if(i&&p>a&&o.length+c.length<=a||!i&&!u&&m>a||(s=i?``:n(e[l+1],t)+(u?``:r),!i&&u&&m>a&&p+s.length>a))break;if(o+=f,!i&&!u&&p+s.length>=a){c=`${hY}(${e.length-l-1})`;break}c=``}return`${o}${c}`}function xY(e){return e.match(/^[a-zA-Z_][a-zA-Z_0-9]*$/)?e:JSON.stringify(e).replace(/'/g,`\\'`).replace(/\\"/g,`"`).replace(/(^"|"$)/g,`'`)}function SY([e,t],n){return n.truncate-=2,typeof e==`string`?e=xY(e):typeof e!=`number`&&(e=`[${n.inspect(e,n)}]`),n.truncate-=e.length,t=n.inspect(t,n),`${e}: ${t}`}function CY(e,t){let n=Object.keys(e).slice(e.length);if(!e.length&&!n.length)return`[]`;t.truncate-=4;let r=bY(e,t);t.truncate-=r.length;let i=``;return n.length&&(i=bY(n.map(t=>[t,e[t]]),t,SY)),`[ ${r}${i?`, ${i}`:``} ]`}var wY=e=>typeof Buffer==`function`&&e instanceof Buffer?`Buffer`:e[Symbol.toStringTag]?e[Symbol.toStringTag]:e.constructor.name;function TY(e,t){let n=wY(e);t.truncate-=n.length+4;let r=Object.keys(e).slice(e.length);if(!e.length&&!r.length)return`${n}[]`;let i=``;for(let n=0;n<e.length;n++){let r=`${t.stylize(yY(e[n],t.truncate),`number`)}${n===e.length-1?``:`, `}`;if(t.truncate-=r.length,e[n]!==e.length&&t.truncate<=3){i+=`${hY}(${e.length-e[n]+1})`;break}i+=r}let a=``;return r.length&&(a=bY(r.map(t=>[t,e[t]]),t,SY)),`${n}[ ${i}${a?`, ${a}`:``} ]`}function EY(e,t){let n=e.toJSON();if(n===null)return`Invalid Date`;let r=n.split(`T`),i=r[0];return t.stylize(`${i}T${yY(r[1],t.truncate-i.length-1)}`,`date`)}function DY(e,t){let n=e[Symbol.toStringTag]||`Function`,r=e.name;return r?t.stylize(`[${n} ${yY(r,t.truncate-11)}]`,`special`):t.stylize(`[${n}]`,`special`)}function OY([e,t],n){return n.truncate-=4,e=n.inspect(e,n),n.truncate-=e.length,t=n.inspect(t,n),`${e} => ${t}`}function kY(e){let t=[];return e.forEach((e,n)=>{t.push([n,e])}),t}function AY(e,t){return e.size===0?`Map{}`:(t.truncate-=7,`Map{ ${bY(kY(e),t,OY)} }`)}var jY=Number.isNaN||(e=>e!==e);function MY(e,t){return jY(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(yY(String(e),t.truncate),`number`)}function NY(e,t){let n=yY(e.toString(),t.truncate-1);return n!==hY&&(n+=`n`),t.stylize(n,`bigint`)}function PY(e,t){let n=e.toString().split(`/`)[2],r=t.truncate-(2+n.length),i=e.source;return t.stylize(`/${yY(i,r)}/${n}`,`regexp`)}function FY(e){let t=[];return e.forEach(e=>{t.push(e)}),t}function IY(e,t){return e.size===0?`Set{}`:(t.truncate-=7,`Set{ ${bY(FY(e),t)} }`)}var LY=RegExp(`['\\u0000-\\u001f\\u007f-\\u009f\\u00ad\\u0600-\\u0604\\u070f\\u17b4\\u17b5\\u200c-\\u200f\\u2028-\\u202f\\u2060-\\u206f\\ufeff\\ufff0-\\uffff]`,`g`),RY={"\b":`\\b`," ":`\\t`,"\n":`\\n`,"\f":`\\f`,"\r":`\\r`,"'":`\\'`,"\\":`\\\\`},zY=16,BY=4;function VY(e){return RY[e]||`\\u${`0000${e.charCodeAt(0).toString(zY)}`.slice(-BY)}`}function HY(e,t){return LY.test(e)&&(e=e.replace(LY,VY)),t.stylize(`'${yY(e,t.truncate-2)}'`,`string`)}function UY(e){return`description`in Symbol.prototype?e.description?`Symbol(${e.description})`:`Symbol()`:e.toString()}var WY=()=>`Promise{…}`;try{let{getPromiseDetails:e,kPending:t,kRejected:n}=process.binding(`util`);Array.isArray(e(Promise.resolve()))&&(WY=(r,i)=>{let[a,o]=e(r);return a===t?`Promise{<pending>}`:`Promise${a===n?`!`:``}{${i.inspect(o,i)}}`})}catch{}var GY=WY;function KY(e,t){let n=Object.getOwnPropertyNames(e),r=Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e):[];if(n.length===0&&r.length===0)return`{}`;if(t.truncate-=4,t.seen=t.seen||[],t.seen.includes(e))return`[Circular]`;t.seen.push(e);let i=bY(n.map(t=>[t,e[t]]),t,SY),a=bY(r.map(t=>[t,e[t]]),t,SY);t.seen.pop();let o=``;return i&&a&&(o=`, `),`{ ${i}${o}${a} }`}var qY=typeof Symbol<`u`&&Symbol.toStringTag?Symbol.toStringTag:!1;function JY(e,t){let n=``;return qY&&qY in e&&(n=e[qY]),n||=e.constructor.name,(!n||n===`_class`)&&(n=`<Anonymous Class>`),t.truncate-=n.length,`${n}${KY(e,t)}`}function YY(e,t){return e.length===0?`Arguments[]`:(t.truncate-=13,`Arguments[ ${bY(e,t)} ]`)}var XY=[`stack`,`line`,`column`,`name`,`message`,`fileName`,`lineNumber`,`columnNumber`,`number`,`description`,`cause`];function ZY(e,t){let n=Object.getOwnPropertyNames(e).filter(e=>XY.indexOf(e)===-1),r=e.name;t.truncate-=r.length;let i=``;if(typeof e.message==`string`?i=yY(e.message,t.truncate):n.unshift(`message`),i=i?`: ${i}`:``,t.truncate-=i.length+5,t.seen=t.seen||[],t.seen.includes(e))return`[Circular]`;t.seen.push(e);let a=bY(n.map(t=>[t,e[t]]),t,SY);return`${r}${i}${a?` { ${a} }`:``}`}function QY([e,t],n){return n.truncate-=3,t?`${n.stylize(String(e),`yellow`)}=${n.stylize(`"${t}"`,`string`)}`:`${n.stylize(String(e),`yellow`)}`}function $Y(e,t){return bY(e,t,eX,`
1032
+ `)}function eX(e,t){switch(e.nodeType){case 1:return tX(e,t);case 3:return t.inspect(e.data,t);default:return t.inspect(e,t)}}function tX(e,t){let n=e.getAttributeNames(),r=e.tagName.toLowerCase(),i=t.stylize(`<${r}`,`special`),a=t.stylize(`>`,`special`),o=t.stylize(`</${r}>`,`special`);t.truncate-=r.length*2+5;let s=``;n.length>0&&(s+=` `,s+=bY(n.map(t=>[t,e.getAttribute(t)]),t,QY,` `)),t.truncate-=s.length;let c=t.truncate,l=$Y(e.children,t);return l&&l.length>c&&(l=`${hY}(${e.children.length})`),`${i}${s}${a}${l}${o}`}var nX=typeof Symbol==`function`&&typeof Symbol.for==`function`?Symbol.for(`chai/inspect`):`@@chai/inspect`,rX=Symbol.for(`nodejs.util.inspect.custom`),iX=new WeakMap,aX={},oX={undefined:(e,t)=>t.stylize(`undefined`,`undefined`),null:(e,t)=>t.stylize(`null`,`null`),boolean:(e,t)=>t.stylize(String(e),`boolean`),Boolean:(e,t)=>t.stylize(String(e),`boolean`),number:MY,Number:MY,bigint:NY,BigInt:NY,string:HY,String:HY,function:DY,Function:DY,symbol:UY,Symbol:UY,Array:CY,Date:EY,Map:AY,Set:IY,RegExp:PY,Promise:GY,WeakSet:(e,t)=>t.stylize(`WeakSet{…}`,`special`),WeakMap:(e,t)=>t.stylize(`WeakMap{…}`,`special`),Arguments:YY,Int8Array:TY,Uint8Array:TY,Uint8ClampedArray:TY,Int16Array:TY,Uint16Array:TY,Int32Array:TY,Uint32Array:TY,Float32Array:TY,Float64Array:TY,Generator:()=>``,DataView:()=>``,ArrayBuffer:()=>``,Error:ZY,HTMLCollection:$Y,NodeList:$Y},sX=(e,t,n)=>nX in e&&typeof e[nX]==`function`?e[nX](t):rX in e&&typeof e[rX]==`function`?e[rX](t.depth,t):`inspect`in e&&typeof e.inspect==`function`?e.inspect(t.depth,t):`constructor`in e&&iX.has(e.constructor)?iX.get(e.constructor)(e,t):aX[n]?aX[n](e,t):``,cX=Object.prototype.toString;function lX(e,t={}){let n=_Y(t,lX),{customInspect:r}=n,i=e===null?`null`:typeof e;if(i===`object`&&(i=cX.call(e).slice(8,-1)),i in oX)return oX[i](e,n);if(r&&e){let t=sX(e,n,i);if(t)return typeof t==`string`?t:lX(t,n)}let a=e?Object.getPrototypeOf(e):!1;return a===Object.prototype||a===null?KY(e,n):e&&typeof HTMLElement==`function`&&e instanceof HTMLElement?tX(e,n):`constructor`in e?e.constructor===Object?KY(e,n):JY(e,n):e===Object(e)?KY(e,n):n.stylize(String(e),i)}var{AsymmetricMatcher:uX,DOMCollection:dX,DOMElement:fX,Immutable:pX,ReactElement:mX,ReactTestComponent:hX}=fY,gX=[hX,mX,fX,dX,pX,uX];function _X(e,t=10,{maxLength:n,...r}={}){let i=n??1e4,a;try{a=dY(e,{maxDepth:t,escapeString:!1,plugins:gX,...r})}catch{a=dY(e,{callToJSON:!1,maxDepth:t,escapeString:!1,plugins:gX,...r})}return a.length>=i&&t>1?_X(e,Math.floor(Math.min(t,2**53-1)/2),{maxLength:n,...r}):a}var vX=/%[sdjifoOc%]/g;function yX(...e){if(typeof e[0]!=`string`){let t=[];for(let n=0;n<e.length;n++)t.push(bX(e[n],{depth:0,colors:!1}));return t.join(` `)}let t=e.length,n=1,r=e[0],i=String(r).replace(vX,r=>{if(r===`%%`)return`%`;if(n>=t)return r;switch(r){case`%s`:{let t=e[n++];return typeof t==`bigint`?`${t.toString()}n`:typeof t==`number`&&t===0&&1/t<0?`-0`:typeof t==`object`&&t?typeof t.toString==`function`&&t.toString!==Object.prototype.toString?t.toString():bX(t,{depth:0,colors:!1}):String(t)}case`%d`:{let t=e[n++];return typeof t==`bigint`?`${t.toString()}n`:Number(t).toString()}case`%i`:{let t=e[n++];return typeof t==`bigint`?`${t.toString()}n`:Number.parseInt(String(t)).toString()}case`%f`:return Number.parseFloat(String(e[n++])).toString();case`%o`:return bX(e[n++],{showHidden:!0,showProxy:!0});case`%O`:return bX(e[n++]);case`%c`:return n++,``;case`%j`:try{return JSON.stringify(e[n++])}catch(e){let t=e.message;if(t.includes(`circular structure`)||t.includes(`cyclic structures`)||t.includes(`cyclic object`))return`[Circular]`;throw e}default:return r}});for(let r=e[n];n<t;r=e[++n])typeof r!=`object`||!r?i+=` ${r}`:i+=` ${bX(r)}`;return i}function bX(e,t={}){return t.truncate===0&&(t.truncate=1/0),lX(e,t)}function xX(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,`default`)?e.default:e}function SX(e){return e===Object.prototype||e===Function.prototype||e===RegExp.prototype}function CX(e){return Object.prototype.toString.apply(e).slice(8,-1)}function wX(e,t){let n=typeof t==`function`?t:e=>t.add(e);Object.getOwnPropertyNames(e).forEach(n),Object.getOwnPropertySymbols(e).forEach(n)}function TX(e){let t=new Set;return SX(e)?[]:(wX(e,t),Array.from(t))}var EX={forceWritable:!1};function DX(e,t=EX){return OX(e,new WeakMap,t)}function OX(e,t,n=EX){let r,i;if(t.has(e))return t.get(e);if(Array.isArray(e)){for(i=Array.from({length:r=e.length}),t.set(e,i);r--;)i[r]=OX(e[r],t,n);return i}if(Object.prototype.toString.call(e)===`[object Object]`){i=Object.create(Object.getPrototypeOf(e)),t.set(e,i);let r=TX(e);for(let a of r){let r=Object.getOwnPropertyDescriptor(e,a);if(!r)continue;let o=OX(e[a],t,n);n.forceWritable?Object.defineProperty(i,a,{enumerable:r.enumerable,configurable:!0,writable:!0,value:o}):`get`in r?Object.defineProperty(i,a,{...r,get(){return o}}):Object.defineProperty(i,a,{...r,value:o})}return i}return e}var kX=-1,AX=1,jX=0,MX=class{0;1;constructor(e,t){this[0]=e,this[1]=t}};function NX(e,t){if(!e||!t||e.charAt(0)!==t.charAt(0))return 0;let n=0,r=Math.min(e.length,t.length),i=r,a=0;for(;n<i;)e.substring(a,i)===t.substring(a,i)?(n=i,a=n):r=i,i=Math.floor((r-n)/2+n);return i}function PX(e,t){if(!e||!t||e.charAt(e.length-1)!==t.charAt(t.length-1))return 0;let n=0,r=Math.min(e.length,t.length),i=r,a=0;for(;n<i;)e.substring(e.length-i,e.length-a)===t.substring(t.length-i,t.length-a)?(n=i,a=n):r=i,i=Math.floor((r-n)/2+n);return i}function FX(e,t){let n=e.length,r=t.length;if(n===0||r===0)return 0;n>r?e=e.substring(n-r):n<r&&(t=t.substring(0,n));let i=Math.min(n,r);if(e===t)return i;let a=0,o=1;for(;;){let n=e.substring(i-o),r=t.indexOf(n);if(r===-1)return a;o+=r,(r===0||e.substring(i-o)===t.substring(0,o))&&(a=o,o++)}}function IX(e){let t=!1,n=[],r=0,i=null,a=0,o=0,s=0,c=0,l=0;for(;a<e.length;)e[a][0]===jX?(n[r++]=a,o=c,s=l,c=0,l=0,i=e[a][1]):(e[a][0]===AX?c+=e[a][1].length:l+=e[a][1].length,i&&i.length<=Math.max(o,s)&&i.length<=Math.max(c,l)&&(e.splice(n[r-1],0,new MX(kX,i)),e[n[r-1]+1][0]=AX,r--,r--,a=r>0?n[r-1]:-1,o=0,s=0,c=0,l=0,i=null,t=!0)),a++;for(t&&UX(e),HX(e),a=1;a<e.length;){if(e[a-1][0]===kX&&e[a][0]===AX){let t=e[a-1][1],n=e[a][1],r=FX(t,n),i=FX(n,t);r>=i?(r>=t.length/2||r>=n.length/2)&&(e.splice(a,0,new MX(jX,n.substring(0,r))),e[a-1][1]=t.substring(0,t.length-r),e[a+1][1]=n.substring(r),a++):(i>=t.length/2||i>=n.length/2)&&(e.splice(a,0,new MX(jX,t.substring(0,i))),e[a-1][0]=AX,e[a-1][1]=n.substring(0,n.length-i),e[a+1][0]=kX,e[a+1][1]=t.substring(i),a++),a++}a++}}var LX=/[^a-z0-9]/i,RX=/\s/,zX=/[\r\n]/,BX=/\n\r?\n$/,VX=/^\r?\n\r?\n/;function HX(e){let t=1;for(;t<e.length-1;){if(e[t-1][0]===jX&&e[t+1][0]===jX){let n=e[t-1][1],r=e[t][1],i=e[t+1][1],a=PX(n,r);if(a){let e=r.substring(r.length-a);n=n.substring(0,n.length-a),r=e+r.substring(0,r.length-a),i=e+i}let o=n,s=r,c=i,l=WX(n,r)+WX(r,i);for(;r.charAt(0)===i.charAt(0);){n+=r.charAt(0),r=r.substring(1)+i.charAt(0),i=i.substring(1);let e=WX(n,r)+WX(r,i);e>=l&&(l=e,o=n,s=r,c=i)}e[t-1][1]!==o&&(o?e[t-1][1]=o:(e.splice(t-1,1),t--),e[t][1]=s,c?e[t+1][1]=c:(e.splice(t+1,1),t--))}t++}}function UX(e){e.push(new MX(jX,``));let t=0,n=0,r=0,i=``,a=``,o;for(;t<e.length;)switch(e[t][0]){case AX:r++,a+=e[t][1],t++;break;case kX:n++,i+=e[t][1],t++;break;case jX:n+r>1?(n!==0&&r!==0&&(o=NX(a,i),o!==0&&(t-n-r>0&&e[t-n-r-1][0]===jX?e[t-n-r-1][1]+=a.substring(0,o):(e.splice(0,0,new MX(jX,a.substring(0,o))),t++),a=a.substring(o),i=i.substring(o)),o=PX(a,i),o!==0&&(e[t][1]=a.substring(a.length-o)+e[t][1],a=a.substring(0,a.length-o),i=i.substring(0,i.length-o))),t-=n+r,e.splice(t,n+r),i.length&&(e.splice(t,0,new MX(kX,i)),t++),a.length&&(e.splice(t,0,new MX(AX,a)),t++),t++):t!==0&&e[t-1][0]===jX?(e[t-1][1]+=e[t][1],e.splice(t,1)):t++,r=0,n=0,i=``,a=``;break}e[e.length-1][1]===``&&e.pop();let s=!1;for(t=1;t<e.length-1;)e[t-1][0]===jX&&e[t+1][0]===jX&&(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),s=!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),s=!0)),t++;s&&UX(e)}function WX(e,t){if(!e||!t)return 6;let n=e.charAt(e.length-1),r=t.charAt(0),i=n.match(LX),a=r.match(LX),o=i&&n.match(RX),s=a&&r.match(RX),c=o&&n.match(zX),l=s&&r.match(zX),u=c&&e.match(BX),d=l&&t.match(VX);return u||d?5:c||l?4:i&&!o&&s?3:o||s?2:i||a?1:0}var GX=`Compared values have no visual difference.`,KX="Compared values serialize to the same structure.\nPrinting internal object structure without calling `toJSON` instead.",qX={},JX;function YX(){if(JX)return qX;JX=1,Object.defineProperty(qX,`__esModule`,{value:!0}),qX.default=d;let e=`diff-sequences`,t=(e,t,n,r,i)=>{let a=0;for(;e<t&&n<r&&i(e,n);)e+=1,n+=1,a+=1;return a},n=(e,t,n,r,i)=>{let a=0;for(;e<=t&&n<=r&&i(t,r);)--t,--r,a+=1;return a},r=(e,n,r,i,a,o,s)=>{let c=0,l=-e,u=o[c],d=u;o[c]+=t(u+1,n,i+u-l+1,r,a);let f=e<s?e:s;for(c+=1,l+=2;c<=f;c+=1,l+=2){if(c!==e&&d<o[c])u=o[c];else if(u=d+1,n<=u)return c-1;d=o[c],o[c]=u+t(u+1,n,i+u-l+1,r,a)}return s},i=(e,t,r,i,a,o,s)=>{let c=0,l=e,u=o[c],d=u;o[c]-=n(t,u-1,r,i+u-l-1,a);let f=e<s?e:s;for(c+=1,l-=2;c<=f;c+=1,l-=2){if(c!==e&&o[c]<d)u=o[c];else if(u=d-1,u<t)return c-1;d=o[c],o[c]=u-n(t,u-1,r,i+u-l-1,a)}return s},a=(e,r,i,a,o,s,c,l,u,d,f)=>{let p=a-r,m=i-r,h=o-a-m,g=-h-(e-1),_=-h+(e-1),v=0,y=e<l?e:l;for(let l=0,m=-e;l<=y;l+=1,m+=2){let y=l===0||l!==e&&v<c[l],b=y?c[l]:v,x=y?b:b+1,S=p+x-m,C=t(x+1,i,S+1,o,s),w=x+C;if(v=c[l],c[l]=w,g<=m&&m<=_){let t=(e-1-(m+h))/2;if(t<=d&&u[t]-1<=w){let t=p+b-(y?m+1:m-1),c=n(r,b,a,t,s),l=b-c,u=t-c,d=l+1,h=u+1;f.nChangePreceding=e-1,e-1===d+h-r-a?(f.aEndPreceding=r,f.bEndPreceding=a):(f.aEndPreceding=d,f.bEndPreceding=h),f.nCommonPreceding=c,c!==0&&(f.aCommonPreceding=d,f.bCommonPreceding=h),f.nCommonFollowing=C,C!==0&&(f.aCommonFollowing=x+1,f.bCommonFollowing=S+1);let g=w+1,_=S+C+1;return f.nChangeFollowing=e-1,e-1===i+o-g-_?(f.aStartFollowing=i,f.bStartFollowing=o):(f.aStartFollowing=g,f.bStartFollowing=_),!0}}}return!1},o=(e,r,i,a,o,s,c,l,u,d,f)=>{let p=o-i,m=i-r,h=o-a-m,g=h-e,_=h+e,v=0,y=e<d?e:d;for(let d=0,m=e;d<=y;d+=1,m-=2){let y=d===0||d!==e&&u[d]<v,b=y?u[d]:v,x=y?b:b-1,S=p+x-m,C=n(r,x-1,a,S-1,s),w=x-C;if(v=u[d],u[d]=w,g<=m&&m<=_){let n=(e+(m-h))/2;if(n<=l&&w-1<=c[n]){let n=S-C;if(f.nChangePreceding=e,e===w+n-r-a?(f.aEndPreceding=r,f.bEndPreceding=a):(f.aEndPreceding=w,f.bEndPreceding=n),f.nCommonPreceding=C,C!==0&&(f.aCommonPreceding=w,f.bCommonPreceding=n),f.nChangeFollowing=e-1,e===1)f.nCommonFollowing=0,f.aStartFollowing=i,f.bStartFollowing=o;else{let n=p+b-(y?m-1:m+1),r=t(b,i,n,o,s);f.nCommonFollowing=r,r!==0&&(f.aCommonFollowing=b,f.bCommonFollowing=n);let a=b+r,c=n+r;e-1===i+o-a-c?(f.aStartFollowing=i,f.bStartFollowing=o):(f.aStartFollowing=a,f.bStartFollowing=c)}return!0}}}return!1},s=(t,n,s,c,l,u,d,f,p)=>{let m=c-n,h=l-s,g=s-n,_=l-c,v=_-g,y=g,b=g;if(d[0]=n-1,f[0]=s,v%2==0){let e=(t||v)/2,a=(g+_)/2;for(let t=1;t<=a;t+=1)if(y=r(t,s,l,m,u,d,y),t<e)b=i(t,n,c,h,u,f,b);else if(o(t,n,s,c,l,u,d,y,f,b,p))return}else{let e=((t||v)+1)/2,o=(g+_+1)/2,x=1;for(y=r(x,s,l,m,u,d,y),x+=1;x<=o;x+=1)if(b=i(x-1,n,c,h,u,f,b),x<e)y=r(x,s,l,m,u,d,y);else if(a(x,n,s,c,l,u,d,y,f,b,p))return}throw Error(`${e}: no overlap aStart=${n} aEnd=${s} bStart=${c} bEnd=${l}`)},c=(e,t,n,r,i,a,o,l,u,d)=>{if(i-r<n-t){if(a=!a,a&&o.length===1){let{foundSubsequence:e,isCommon:t}=o[0];o[1]={foundSubsequence:(t,n,r)=>{e(t,r,n)},isCommon:(e,n)=>t(n,e)}}let e=t,s=n;t=r,n=i,r=e,i=s}let{foundSubsequence:f,isCommon:p}=o[a?1:0];s(e,t,n,r,i,p,l,u,d);let{nChangePreceding:m,aEndPreceding:h,bEndPreceding:g,nCommonPreceding:_,aCommonPreceding:v,bCommonPreceding:y,nCommonFollowing:b,aCommonFollowing:x,bCommonFollowing:S,nChangeFollowing:C,aStartFollowing:w,bStartFollowing:T}=d;t<h&&r<g&&c(m,t,h,r,g,a,o,l,u,d),_!==0&&f(_,v,y),b!==0&&f(b,x,S),w<n&&T<i&&c(C,w,n,T,i,a,o,l,u,d)},l=(t,n)=>{if(typeof n!=`number`)throw TypeError(`${e}: ${t} typeof ${typeof n} is not a number`);if(!Number.isSafeInteger(n))throw RangeError(`${e}: ${t} value ${n} is not a safe integer`);if(n<0)throw RangeError(`${e}: ${t} value ${n} is a negative integer`)},u=(t,n)=>{let r=typeof n;if(r!==`function`)throw TypeError(`${e}: ${t} typeof ${r} is not a function`)};function d(e,r,i,a){l(`aLength`,e),l(`bLength`,r),u(`isCommon`,i),u(`foundSubsequence`,a);let o=t(0,e,0,r,i);if(o!==0&&a(o,0,0),e!==o||r!==o){let t=o,s=o,l=n(t,e-1,s,r-1,i),u=e-l,d=r-l,f=o+l;e!==f&&r!==f&&c(0,t,u,s,d,!1,[{foundSubsequence:a,isCommon:i}],[0],[0],{aCommonFollowing:0,aCommonPreceding:0,aEndPreceding:0,aStartFollowing:0,bCommonFollowing:0,bCommonPreceding:0,bEndPreceding:0,bStartFollowing:0,nChangeFollowing:0,nChangePreceding:0,nCommonFollowing:0,nCommonPreceding:0}),l!==0&&a(l,u,d)}}return qX}var XX=xX(YX());function ZX(e,t){return e.replace(/\s+$/,e=>t(e))}function QX(e,t,n,r,i,a){return e.length===0?r===` `?t&&a.length!==0?n(`${r} ${a}`):``:n(r):n(`${r} ${ZX(e,i)}`)}function $X(e,t,{aColor:n,aIndicator:r,changeLineTrailingSpaceColor:i,emptyFirstOrLastLinePlaceholder:a}){return QX(e,t,n,r,i,a)}function eZ(e,t,{bColor:n,bIndicator:r,changeLineTrailingSpaceColor:i,emptyFirstOrLastLinePlaceholder:a}){return QX(e,t,n,r,i,a)}function tZ(e,t,{commonColor:n,commonIndicator:r,commonLineTrailingSpaceColor:i,emptyFirstOrLastLinePlaceholder:a}){return QX(e,t,n,r,i,a)}function nZ(e,t,n,r,{patchColor:i}){return i(`@@ -${e+1},${t-e} +${n+1},${r-n} @@`)}function rZ(e,t){let n=e.length,r=t.contextLines,i=r+r,a=n,o=!1,s=0,c=0;for(;c!==n;){let t=c;for(;c!==n&&e[c][0]===jX;)c+=1;if(t!==c)if(t===0)c>r&&(a-=c-r,o=!0);else if(c===n){let e=c-t;e>r&&(a-=e-r,o=!0)}else{let e=c-t;e>i&&(a-=e-i,s+=1)}for(;c!==n&&e[c][0]!==jX;)c+=1}let l=s!==0||o;s===0?o&&(a+=1):a+=s+1;let u=a-1,d=[],f=0;l&&d.push(``);let p=0,m=0,h=0,g=0,_=e=>{let n=d.length;d.push(tZ(e,n===0||n===u,t)),h+=1,g+=1},v=e=>{let n=d.length;d.push($X(e,n===0||n===u,t)),h+=1},y=e=>{let n=d.length;d.push(eZ(e,n===0||n===u,t)),g+=1};for(c=0;c!==n;){let a=c;for(;c!==n&&e[c][0]===jX;)c+=1;if(a!==c)if(a===0){c>r&&(a=c-r,p=a,m=a,h=p,g=m);for(let t=a;t!==c;t+=1)_(e[t][1])}else if(c===n){let t=c-a>r?a+r:c;for(let n=a;n!==t;n+=1)_(e[n][1])}else{let n=c-a;if(n>i){let o=a+r;for(let t=a;t!==o;t+=1)_(e[t][1]);d[f]=nZ(p,h,m,g,t),f=d.length,d.push(``);let s=n-i;p=h+s,m=g+s,h=p,g=m;for(let t=c-r;t!==c;t+=1)_(e[t][1])}else for(let t=a;t!==c;t+=1)_(e[t][1])}for(;c!==n&&e[c][0]===kX;)v(e[c][1]),c+=1;for(;c!==n&&e[c][0]===AX;)y(e[c][1]),c+=1}return l&&(d[f]=nZ(p,h,m,g,t)),d.join(`
1033
+ `)}function iZ(e,t){return e.map((e,n,r)=>{let i=e[1],a=n===0||n===r.length-1;switch(e[0]){case kX:return $X(i,a,t);case AX:return eZ(i,a,t);default:return tZ(i,a,t)}}).join(`
1034
+ `)}var aZ=e=>e,oZ=5,sZ=0;function cZ(){return{aAnnotation:`Expected`,aColor:oq.green,aIndicator:`-`,bAnnotation:`Received`,bColor:oq.red,bIndicator:`+`,changeColor:oq.inverse,changeLineTrailingSpaceColor:aZ,commonColor:oq.dim,commonIndicator:` `,commonLineTrailingSpaceColor:aZ,compareKeys:void 0,contextLines:oZ,emptyFirstOrLastLinePlaceholder:``,expand:!1,includeChangeCounts:!1,omitAnnotationLines:!1,patchColor:oq.yellow,printBasicPrototype:!1,truncateThreshold:sZ,truncateAnnotation:`... Diff result is truncated`,truncateAnnotationColor:aZ}}function lZ(e){return e&&typeof e==`function`?e:void 0}function uZ(e){return typeof e==`number`&&Number.isSafeInteger(e)&&e>=0?e:oZ}function dZ(e={}){return{...cZ(),...e,compareKeys:lZ(e.compareKeys),contextLines:uZ(e.contextLines)}}function fZ(e){return e.length===1&&e[0].length===0}function pZ(e){let t=0,n=0;return e.forEach(e=>{switch(e[0]){case kX:t+=1;break;case AX:n+=1;break}}),{a:t,b:n}}function mZ({aAnnotation:e,aColor:t,aIndicator:n,bAnnotation:r,bColor:i,bIndicator:a,includeChangeCounts:o,omitAnnotationLines:s},c){if(s)return``;let l=``,u=``;if(o){let t=String(c.a),i=String(c.b),o=r.length-e.length,s=` `.repeat(Math.max(0,o)),d=` `.repeat(Math.max(0,-o)),f=i.length-t.length,p=` `.repeat(Math.max(0,f)),m=` `.repeat(Math.max(0,-f));l=`${s} ${n} ${p}${t}`,u=`${d} ${a} ${m}${i}`}let d=`${n} ${e}${l}`,f=`${a} ${r}${u}`;return`${t(d)}
1035
+ ${i(f)}
1036
+
1037
+ `}function hZ(e,t,n){return mZ(n,pZ(e))+(n.expand?iZ(e,n):rZ(e,n))+(t?n.truncateAnnotationColor(`
1038
+ ${n.truncateAnnotation}`):``)}function gZ(e,t,n){let r=dZ(n),[i,a]=vZ(fZ(e)?[]:e,fZ(t)?[]:t,r);return hZ(i,a,r)}function _Z(e,t,n,r,i){if(fZ(e)&&fZ(n)&&(e=[],n=[]),fZ(t)&&fZ(r)&&(t=[],r=[]),e.length!==n.length||t.length!==r.length)return gZ(e,t,i);let[a,o]=vZ(n,r,i),s=0,c=0;return a.forEach(n=>{switch(n[0]){case kX:n[1]=e[s],s+=1;break;case AX:n[1]=t[c],c+=1;break;default:n[1]=t[c],s+=1,c+=1}}),hZ(a,o,dZ(i))}function vZ(e,t,n){let r=n?.truncateThreshold??!1,i=Math.max(Math.floor(n?.truncateThreshold??0),0),a=r?Math.min(e.length,i):e.length,o=r?Math.min(t.length,i):t.length,s=a!==e.length||o!==t.length,c=(n,r)=>e[n]===t[r],l=[],u=0,d=0;for(XX(a,o,c,(n,r,i)=>{for(;u!==r;u+=1)l.push(new MX(kX,e[u]));for(;d!==i;d+=1)l.push(new MX(AX,t[d]));for(;n!==0;--n,u+=1,d+=1)l.push(new MX(jX,t[d]))});u!==a;u+=1)l.push(new MX(kX,e[u]));for(;d!==o;d+=1)l.push(new MX(AX,t[d]));return[l,s]}function yZ(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 Error(`value of unknown type: ${e}`)}function bZ(e){return e.includes(`\r
1039
+ `)?`\r
1040
+ `:`
1041
+ `}function xZ(e,t,n){let r=n?.truncateThreshold??!1,i=Math.max(Math.floor(n?.truncateThreshold??0),0),a=e.length,o=t.length;if(r){let n=e.includes(`
1042
+ `),r=t.includes(`
1043
+ `),s=bZ(e),c=bZ(t),l=n?`${e.split(s,i).join(s)}
1044
+ `:e,u=r?`${t.split(c,i).join(c)}
1045
+ `:t;a=l.length,o=u.length}let s=a!==e.length||o!==t.length,c=(n,r)=>e[n]===t[r],l=0,u=0,d=[];return XX(a,o,c,(n,r,i)=>{l!==r&&d.push(new MX(kX,e.slice(l,r))),u!==i&&d.push(new MX(AX,t.slice(u,i))),l=r+n,u=i+n,d.push(new MX(jX,t.slice(i,u)))}),l!==a&&d.push(new MX(kX,e.slice(l))),u!==o&&d.push(new MX(AX,t.slice(u))),[d,s]}function SZ(e,t,n){return t.reduce((t,r)=>t+(r[0]===jX?r[1]:r[0]===e&&r[1].length!==0?n(r[1]):``),``)}var CZ=class{op;line;lines;changeColor;constructor(e,t){this.op=e,this.line=[],this.lines=[],this.changeColor=t}pushSubstring(e){this.pushDiff(new MX(this.op,e))}pushLine(){this.lines.push(this.line.length===1?this.line[0][0]===this.op?this.line[0]:new MX(this.op,this.line[0][1]):new MX(this.op,SZ(this.op,this.line,this.changeColor))),this.line.length=0}isLineEmpty(){return this.line.length===0}pushDiff(e){this.line.push(e)}align(e){let t=e[1];if(t.includes(`
1046
+ `)){let e=t.split(`
1047
+ `),n=e.length-1;e.forEach((e,t)=>{t<n?(this.pushSubstring(e),this.pushLine()):e.length!==0&&this.pushSubstring(e)})}else this.pushDiff(e)}moveLinesTo(e){this.isLineEmpty()||this.pushLine(),e.push(...this.lines),this.lines.length=0}},wZ=class{deleteBuffer;insertBuffer;lines;constructor(e,t){this.deleteBuffer=e,this.insertBuffer=t,this.lines=[]}pushDiffCommonLine(e){this.lines.push(e)}pushDiffChangeLines(e){let t=e[1].length===0;(!t||this.deleteBuffer.isLineEmpty())&&this.deleteBuffer.pushDiff(e),(!t||this.insertBuffer.isLineEmpty())&&this.insertBuffer.pushDiff(e)}flushChangeLines(){this.deleteBuffer.moveLinesTo(this.lines),this.insertBuffer.moveLinesTo(this.lines)}align(e){let t=e[0],n=e[1];if(n.includes(`
1048
+ `)){let e=n.split(`
1049
+ `),r=e.length-1;e.forEach((e,n)=>{if(n===0){let n=new MX(t,e);this.deleteBuffer.isLineEmpty()&&this.insertBuffer.isLineEmpty()?(this.flushChangeLines(),this.pushDiffCommonLine(n)):(this.pushDiffChangeLines(n),this.flushChangeLines())}else n<r?this.pushDiffCommonLine(new MX(t,e)):e.length!==0&&this.pushDiffChangeLines(new MX(t,e))})}else this.pushDiffChangeLines(e)}getLines(){return this.flushChangeLines(),this.lines}};function TZ(e,t){let n=new CZ(kX,t),r=new CZ(AX,t),i=new wZ(n,r);return e.forEach(e=>{switch(e[0]){case kX:n.align(e);break;case AX:r.align(e);break;default:i.align(e)}}),i.getLines()}function EZ(e,t){if(t){let t=e.length-1;return e.some((e,n)=>e[0]===jX&&(n!==t||e[1]!==`
1050
+ `))}return e.some(e=>e[0]===jX)}function DZ(e,t,n){if(e!==t&&e.length!==0&&t.length!==0){let r=e.includes(`
1051
+ `)||t.includes(`
1052
+ `),[i,a]=OZ(r?`${e}
1053
+ `:e,r?`${t}
1054
+ `:t,!0,n);if(EZ(i,r)){let e=dZ(n);return hZ(TZ(i,e.changeColor),a,e)}}return gZ(e.split(`
1055
+ `),t.split(`
1056
+ `),n)}function OZ(e,t,n,r){let[i,a]=xZ(e,t,r);return n&&IX(i),[i,a]}function kZ(e,t){let{commonColor:n}=dZ(t);return n(e)}var{AsymmetricMatcher:AZ,DOMCollection:jZ,DOMElement:MZ,Immutable:NZ,ReactElement:PZ,ReactTestComponent:FZ}=fY,IZ=[FZ,PZ,MZ,jZ,NZ,AZ,fY.Error],LZ={maxDepth:20,plugins:IZ},RZ={callToJSON:!1,maxDepth:8,plugins:IZ};function zZ(e,t,n){if(Object.is(e,t))return``;let r=yZ(e),i=r,a=!1;if(r===`object`&&typeof e.asymmetricMatch==`function`){if(e.$$typeof!==Symbol.for(`jest.asymmetricMatcher`)||typeof e.getExpectedType!=`function`)return;i=e.getExpectedType(),a=i===`string`}if(i!==yZ(t)){let r=function(e){return e.length<=p?e:`${e.slice(0,p)}...`},{aAnnotation:i,aColor:a,aIndicator:o,bAnnotation:s,bColor:c,bIndicator:l}=dZ(n),u=WZ(RZ,n),d=dY(e,u),f=dY(t,u),p=1e5;return d=r(d),f=r(f),`${`${a(`${o} ${i}:`)}
1057
+ ${d}`}
1058
+
1059
+ ${`${c(`${l} ${s}:`)}
1060
+ ${f}`}`}if(!a)switch(r){case`string`:return gZ(e.split(`
1061
+ `),t.split(`
1062
+ `),n);case`boolean`:case`number`:return BZ(e,t,n);case`map`:return UZ(VZ(e),VZ(t),n);case`set`:return UZ(HZ(e),HZ(t),n);default:return UZ(e,t,n)}}function BZ(e,t,n){let r=dY(e,LZ),i=dY(t,LZ);return r===i?``:gZ(r.split(`
1063
+ `),i.split(`
1064
+ `),n)}function VZ(e){return new Map(Array.from(e.entries()).sort())}function HZ(e){return new Set(Array.from(e.values()).sort())}function UZ(e,t,n){let r,i=!1;try{r=GZ(e,t,WZ(LZ,n),n)}catch{i=!0}let a=kZ(GX,n);return(r===void 0||r===a)&&(r=GZ(e,t,WZ(RZ,n),n),r!==a&&!i&&(r=`${kZ(KX,n)}
1065
+
1066
+ ${r}`)),r}function WZ(e,t){let{compareKeys:n,printBasicPrototype:r,maxDepth:i}=dZ(t);return{...e,compareKeys:n,printBasicPrototype:r,maxDepth:i??e.maxDepth}}function GZ(e,t,n,r){let i={...n,indent:0},a=dY(e,i),o=dY(t,i);if(a===o)return kZ(GX,r);{let i=dY(e,n),s=dY(t,n);return _Z(i.split(`
1067
+ `),s.split(`
1068
+ `),a.split(`
1069
+ `),o.split(`
1070
+ `),r)}}var KZ=2e4;function qZ(e){return CX(e)===`Object`&&typeof e.asymmetricMatch==`function`}function JZ(e,t){let n=CX(e);return n===CX(t)&&(n===`Object`||n===`Array`)}function YZ(e,t,n){let{aAnnotation:r,bAnnotation:i}=dZ(n);if(typeof t==`string`&&typeof e==`string`&&t.length>0&&e.length>0&&t.length<=KZ&&e.length<=KZ&&t!==e){if(t.includes(`
1071
+ `)||e.includes(`
1072
+ `))return DZ(t,e,n);let[a]=OZ(t,e,!0),o=a.some(e=>e[0]===jX),s=ZZ(r,i);return`${s(r)+tQ(nQ(a,kX,o))}
1073
+ ${s(i)+eQ(nQ(a,AX,o))}`}let a=DX(t,{forceWritable:!0}),{replacedExpected:o,replacedActual:s}=XZ(DX(e,{forceWritable:!0}),a);return zZ(o,s,n)}function XZ(e,t,n=new WeakSet,r=new WeakSet){return e instanceof Error&&t instanceof Error&&typeof e.cause<`u`&&typeof t.cause>`u`?(delete e.cause,{replacedActual:e,replacedExpected:t}):JZ(e,t)?n.has(e)||r.has(t)?{replacedActual:e,replacedExpected:t}:(n.add(e),r.add(t),TX(t).forEach(i=>{let a=t[i],o=e[i];if(qZ(a))a.asymmetricMatch(o)&&(e[i]=a);else if(qZ(o))o.asymmetricMatch(a)&&(t[i]=o);else if(JZ(o,a)){let s=XZ(o,a,n,r);e[i]=s.replacedActual,t[i]=s.replacedExpected}}),{replacedActual:e,replacedExpected:t}):{replacedActual:e,replacedExpected:t}}function ZZ(...e){let t=e.reduce((e,t)=>t.length>e?t.length:e,0);return e=>`${e}: ${` `.repeat(t-e.length)}`}var QZ=`·`;function $Z(e){return e.replace(/\s+$/gm,e=>QZ.repeat(e.length))}function eQ(e){return oq.red($Z(_X(e)))}function tQ(e){return oq.green($Z(_X(e)))}function nQ(e,t,n){return e.reduce((e,r)=>e+(r[0]===jX?r[1]:r[0]===t?n?oq.inverse(r[1]):r[1]:``),``)}var rQ=`@@__IMMUTABLE_RECORD__@@`,iQ=`@@__IMMUTABLE_ITERABLE__@@`;function aQ(e){return e&&(e[iQ]||e[rQ])}var oQ=Object.getPrototypeOf({});function sQ(e){return e instanceof Error?`<unserializable>: ${e.message}`:typeof e==`string`?`<unserializable>: ${e}`:`<unserializable>`}function cQ(e,t=new WeakMap){if(!e||typeof e==`string`)return e;if(e instanceof Error&&`toJSON`in e&&typeof e.toJSON==`function`){let n=e.toJSON();return n&&n!==e&&typeof n==`object`&&(typeof e.message==`string`&&lQ(()=>n.message??=e.message),typeof e.stack==`string`&&lQ(()=>n.stack??=e.stack),typeof e.name==`string`&&lQ(()=>n.name??=e.name),e.cause!=null&&lQ(()=>n.cause??=cQ(e.cause,t))),cQ(n,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(aQ(e))return cQ(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()} ${yX(e.sample)}`;if(typeof e.toJSON==`function`)return cQ(e.toJSON(),t);if(t.has(e))return t.get(e);if(Array.isArray(e)){let n=Array(e.length);return t.set(e,n),e.forEach((e,r)=>{try{n[r]=cQ(e,t)}catch(e){n[r]=sQ(e)}}),n}else{let n=Object.create(null);t.set(e,n);let r=e;for(;r&&r!==oQ;)Object.getOwnPropertyNames(r).forEach(r=>{if(!(r in n))try{n[r]=cQ(e[r],t)}catch(e){delete n[r],n[r]=sQ(e)}}),r=Object.getPrototypeOf(r);return n}}function lQ(e){try{return e()}catch{}}function uQ(e){return e.replace(/__(vite_ssr_import|vi_import)_\d+__\./g,``)}function dQ(e,t,n=new WeakSet){if(!e||typeof e!=`object`)return{message:String(e)};let r=e;(r.showDiff||r.showDiff===void 0&&r.expected!==void 0&&r.actual!==void 0)&&(r.diff=YZ(r.actual,r.expected,{...t,...r.diffOptions})),`expected`in r&&typeof r.expected!=`string`&&(r.expected=_X(r.expected,10)),`actual`in r&&typeof r.actual!=`string`&&(r.actual=_X(r.actual,10));try{typeof r.message==`string`&&(r.message=uQ(r.message))}catch{}try{!n.has(r)&&typeof r.cause==`object`&&(n.add(r),r.cause=dQ(r.cause,t,n))}catch{}try{return cQ(r)}catch(e){return cQ(Error(`Failed to fully serialize error: ${e?.message}
1074
+ Inner error message: ${r?.message}`))}}var{once:fQ}=__STORYBOOK_MODULE_CLIENT_LOGGER__,{FORCE_REMOUNT:pQ,SET_CURRENT_STORY:mQ,STORY_RENDER_PHASE_CHANGED:hQ}=__STORYBOOK_MODULE_CORE_EVENTS__,{global:gQ}=__STORYBOOK_MODULE_GLOBAL__,_Q=globalThis.__STORYBOOK_ADDONS_PREVIEW,vQ=Error("This function ran after the play function completed. Did you forget to `await` it?"),yQ=e=>Object.prototype.toString.call(e)===`[object Object]`,bQ=e=>Object.prototype.toString.call(e)===`[object Module]`,xQ=e=>{if(!yQ(e)&&!bQ(e))return!1;if(e.constructor===void 0)return!0;let t=e.constructor.prototype;return!!yQ(t)},SQ=e=>{try{return new e.constructor}catch{return{}}},CQ=()=>({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}),wQ=(e,t=!1)=>{let n=(t?e.shadowCalls:e.calls).filter(e=>e.retain);if(!n.length)return;let r=new Map(Array.from(e.callRefsByResult.entries()).filter(([,e])=>e.retain));return{cursor:n.length,calls:n,callRefsByResult:r}},TQ=class{constructor(){this.detached=!1,this.initialized=!1,this.state={},this.loadParentWindowState=()=>{try{this.state=gQ.window?.parent?.__STORYBOOK_ADDON_INTERACTIONS_INSTRUMENTER_STATE__||{}}catch{this.detached=!0}},this.updateParentWindowState=()=>{try{gQ.window.parent.__STORYBOOK_ADDON_INTERACTIONS_INSTRUMENTER_STATE__=this.state}catch{this.detached=!0}},this.loadParentWindowState();let e=({storyId:e,renderPhase:t,isPlaying:n=!0,isDebugging:r=!1})=>{let i=this.getState(e);this.setState(e,{...CQ(),...wQ(i,r),renderPhase:t||i.renderPhase,shadowCalls:r?i.shadowCalls:[],chainedCallIds:r?i.chainedCallIds:new Set,playUntil:r?i.playUntil:void 0,isPlaying:n,isDebugging:r}),this.sync(e)},t=e=>({storyId:t,playUntil:n})=>{this.getState(t).isDebugging||this.setState(t,({calls:e})=>({calls:[],shadowCalls:e.map(e=>({...e,status:`waiting`})),isDebugging:!0}));let r=this.getLog(t);this.setState(t,({shadowCalls:e})=>{if(n||!r.length)return{playUntil:n};let t=e.findIndex(e=>e.id===r[0].callId);return{playUntil:e.slice(0,t).filter(e=>e.interceptable&&!e.ancestors?.length).slice(-1)[0]?.id}}),e.emit(pQ,{storyId:t,isDebugging:!0})},n=e=>({storyId:n})=>{let r=this.getLog(n).filter(e=>!e.ancestors?.length),i=r.reduceRight((e,t,n)=>e>=0||t.status===`waiting`?e:n,-1);t(e)({storyId:n,playUntil:r[i-1]?.callId})},r=e=>({storyId:n,callId:r})=>{let{calls:i,shadowCalls:a,resolvers:o}=this.getState(n),s=i.find(({id:e})=>e===r),c=a.find(({id:e})=>e===r);if(!s&&c&&Object.values(o).length>0){let e=this.getLog(n).find(e=>e.status===`waiting`)?.callId;c.id!==e&&this.setState(n,{playUntil:c.id}),Object.values(o).forEach(e=>e())}else t(e)({storyId:n,playUntil:r})},i=e=>({storyId:n})=>{let{resolvers:r}=this.getState(n);if(Object.values(r).length>0)Object.values(r).forEach(e=>e());else{let r=this.getLog(n).find(e=>e.status===`waiting`)?.callId;r?t(e)({storyId:n,playUntil:r}):a({storyId:n})}},a=({storyId:e})=>{this.setState(e,{playUntil:void 0,isDebugging:!1}),Object.values(this.getState(e).resolvers).forEach(e=>e())},o=({storyId:t,newPhase:n})=>{let{isDebugging:r}=this.getState(t);if(n===`preparing`&&r||n===`playing`)return e({storyId:t,renderPhase:n,isDebugging:r});n===`played`?this.setState(t,{renderPhase:n,isLocked:!1,isPlaying:!1,isDebugging:!1}):n===`errored`?this.setState(t,{renderPhase:n,isLocked:!1,isPlaying:!1}):n===`aborted`?this.setState(t,{renderPhase:n,isLocked:!0,isPlaying:!1}):this.setState(t,{renderPhase:n}),this.sync(t)};_Q&&_Q.ready().then(()=>{this.channel=_Q.getChannel(),this.channel.on(pQ,e),this.channel.on(hQ,o),this.channel.on(mQ,()=>{this.initialized?this.cleanup():this.initialized=!0}),this.channel.on(tq.START,t(this.channel)),this.channel.on(tq.BACK,n(this.channel)),this.channel.on(tq.GOTO,r(this.channel)),this.channel.on(tq.NEXT,i(this.channel)),this.channel.on(tq.END,a)})}getState(e){return this.state[e]||CQ()}setState(e,t){if(e){let n=this.getState(e),r=typeof t==`function`?t(n):t;this.state={...this.state,[e]:{...n,...r}},this.updateParentWindowState()}}cleanup(){this.state=Object.entries(this.state).reduce((e,[t,n])=>{let r=wQ(n);return r&&(e[t]=Object.assign(CQ(),r)),e},{});let e={controlStates:{detached:this.detached,start:!1,back:!1,goto:!1,next:!1,end:!1},logItems:[]};this.channel?.emit(tq.SYNC,e),this.updateParentWindowState()}getLog(e){let{calls:t,shadowCalls:n}=this.getState(e),r=[...n];t.forEach((e,t)=>{r[t]=e});let i=new Set;return r.reduceRight((e,t)=>(t.args.forEach(e=>{e?.__callId__&&i.add(e.__callId__)}),t.path.forEach(e=>{e.__callId__&&i.add(e.__callId__)}),(t.interceptable||t.exception)&&!i.has(t.id)&&(e.unshift({callId:t.id,status:t.status,ancestors:t.ancestors}),i.add(t.id)),e),[])}instrument(e,t,n=0){if(!xQ(e))return e;let{mutate:r=!1,path:i=[]}=t,a=t.getKeys?t.getKeys(e,n):Object.keys(e);return n+=1,a.reduce((r,a)=>{let o=DQ(e,a);if(typeof o?.get==`function`){if(o.configurable){let s=()=>o?.get?.bind(e)?.();Object.defineProperty(r,a,{get:()=>this.instrument(s(),{...t,path:i.concat(a)},n)})}return r}let s=e[a];return typeof s==`function`?`__originalFn__`in s&&typeof s.__originalFn__==`function`?(r[a]=s,r):(r[a]=(...n)=>this.track(a,s,e,n,t),r[a].__originalFn__=s,Object.defineProperty(r[a],`name`,{value:a,writable:!1}),Object.keys(s).length>0&&Object.assign(r[a],this.instrument({...s},{...t,path:i.concat(a)},n)),r):(r[a]=this.instrument(s,{...t,path:i.concat(a)},n),r)},r?e:SQ(e))}track(e,t,n,r,i){let a=r?.[0]?.__storyId__||gQ.__STORYBOOK_PREVIEW__?.selectionStore?.selection?.storyId,{cursor:o,ancestors:s}=this.getState(a);this.setState(a,{cursor:o+1});let c=`${s.slice(-1)[0]||a} [${o}] ${e}`,{path:l=[],intercept:u=!1,retain:d=!1}=i,f=typeof u==`function`?u(e,l):u,p={id:c,cursor:o,storyId:a,ancestors:s,path:l,method:e,args:r,interceptable:f,retain:d},m=(f&&!s.length?this.intercept:this.invoke).call(this,t,n,p,i);return this.instrument(m,{...i,mutate:!0,path:[{__callId__:p.id}]})}intercept(e,t,n,r){let{chainedCallIds:i,isDebugging:a,playUntil:o}=this.getState(n.storyId),s=i.has(n.id);return!a||s||o?(o===n.id&&this.setState(n.storyId,{playUntil:void 0}),this.invoke(e,t,n,r)):new Promise(e=>{this.setState(n.storyId,({resolvers:t})=>({isLocked:!1,resolvers:{...t,[n.id]:e}}))}).then(()=>(this.setState(n.storyId,e=>{let{[n.id]:t,...r}=e.resolvers;return{isLocked:!0,resolvers:r}}),this.invoke(e,t,n,r)))}invoke(e,t,n,r){let{callRefsByResult:i,renderPhase:a}=this.getState(n.storyId),o=(e,t,n)=>{if(n.includes(e))return`[Circular]`;if(n=[...n,e],t>25)return`...`;if(i.has(e))return i.get(e);if(e instanceof Array)return e.map(e=>o(e,++t,n));if(e instanceof Date)return{__date__:{value:e.toISOString()}};if(e instanceof Error){let{name:t,message:n,stack:r}=e;return{__error__:{name:t,message:n,stack:r}}}if(e instanceof RegExp){let{flags:t,source:n}=e;return{__regexp__:{flags:t,source:n}}}if(e instanceof gQ.window?.HTMLElement){let{prefix:t,localName:n,id:r,classList:i,innerText:a}=e;return{__element__:{prefix:t,localName:n,id:r,classNames:Array.from(i),innerText:a}}}return typeof e==`function`?{__function__:{name:`getMockName`in e?e.getMockName():e.name}}:typeof e==`symbol`?{__symbol__:{description:e.description}}:typeof e==`object`&&e?.constructor?.name&&e?.constructor?.name!==`Object`?{__class__:{name:e.constructor.name}}:Object.prototype.toString.call(e)===`[object Object]`?Object.fromEntries(Object.entries(e).map(([e,r])=>[e,o(r,++t,n)])):e},s={...n,args:n.args.map(e=>o(e,0,[]))};n.path.forEach(e=>{e?.__callId__&&this.setState(n.storyId,({chainedCallIds:t})=>({chainedCallIds:new Set(Array.from(t).concat(e.__callId__))}))});let c=e=>{if(e instanceof Error){let{name:t,message:r,stack:i,callId:a=n.id}=e,{showDiff:o=void 0,diff:c=void 0,actual:l=void 0,expected:u=void 0}=e.name===`AssertionError`?dQ(e):e,d={name:t,message:r,stack:i,callId:a,showDiff:o,diff:c,actual:l,expected:u};if(this.update({...s,status:`error`,exception:d}),this.setState(n.storyId,t=>({callRefsByResult:new Map([...Array.from(t.callRefsByResult.entries()),[e,{__callId__:n.id,retain:n.retain}]])})),n.ancestors?.length)throw Object.prototype.hasOwnProperty.call(e,`callId`)||Object.defineProperty(e,`callId`,{value:n.id}),e}throw e};try{if(a===`played`&&!n.retain)throw vQ;let i=(r.getArgs?r.getArgs(n,this.getState(n.storyId)):n.args).map(e=>typeof e!=`function`||OQ(e)||Object.keys(e).length?e:(...t)=>{let{cursor:r,ancestors:i}=this.getState(n.storyId);this.setState(n.storyId,{cursor:0,ancestors:[...i,n.id]});let a=()=>this.setState(n.storyId,{cursor:r,ancestors:i}),o=!1;try{let n=e(...t);return n instanceof Promise?(o=!0,n.finally(a)):n}finally{o||a()}}),o=e.apply(t,i);return o&&[`object`,`function`,`symbol`].includes(typeof o)&&this.setState(n.storyId,e=>({callRefsByResult:new Map([...Array.from(e.callRefsByResult.entries()),[o,{__callId__:n.id,retain:n.retain}]])})),this.update({...s,status:o instanceof Promise?`active`:`done`}),o instanceof Promise?o.then(e=>(this.update({...s,status:`done`}),e),c):o}catch(e){return c(e)}}update(e){this.channel?.emit(tq.CALL,e),this.setState(e.storyId,({calls:t})=>{let n=t.concat(e).reduce((e,t)=>Object.assign(e,{[t.id]:t}),{});return{calls:Object.values(n).sort((e,t)=>e.id.localeCompare(t.id,void 0,{numeric:!0}))}}),this.sync(e.storyId)}sync(e){let t=()=>{let{isLocked:t,isPlaying:n}=this.getState(e),r=this.getLog(e),i=r.filter(({ancestors:e})=>!e.length).find(e=>e.status===`waiting`)?.callId,a=r.some(e=>e.status===`active`);if(this.detached||t||a||r.length===0){let e={controlStates:{detached:this.detached,start:!1,back:!1,goto:!1,next:!1,end:!1},logItems:r};this.channel?.emit(tq.SYNC,e);return}let o=r.some(e=>e.status===`done`||e.status===`error`),s={controlStates:{detached:this.detached,start:o,back:o,goto:!0,next:n,end:n},logItems:r,pausedAt:i};this.channel?.emit(tq.SYNC,s)};this.setState(e,({syncTimeout:e})=>(clearTimeout(e),{syncTimeout:setTimeout(t,0)}))}};function EQ(e,t={}){try{let n=!1,r=!1;return gQ.window?.location?.search?.includes(`instrument=true`)?n=!0:gQ.window?.location?.search?.includes(`instrument=false`)&&(r=!0),gQ.window?.parent===gQ.window&&!n||r?e:(gQ.window&&!gQ.window.__STORYBOOK_ADDON_INTERACTIONS_INSTRUMENTER__&&(gQ.window.__STORYBOOK_ADDON_INTERACTIONS_INSTRUMENTER__=new TQ),(gQ.window?.__STORYBOOK_ADDON_INTERACTIONS_INSTRUMENTER__).instrument(e,t))}catch(t){return fQ.warn(t),e}}function DQ(e,t){let n=e;for(;n!=null;){let e=Object.getOwnPropertyDescriptor(n,t);if(e)return e;n=Object.getPrototypeOf(n)}}function OQ(e){if(typeof e!=`function`)return!1;let t=Object.getOwnPropertyDescriptor(e,`prototype`);return t?!t.writable:!1}var kQ=UU(BU({"../../node_modules/@ngard/tiny-isequal/index.js"(e){Object.defineProperty(e,`__esModule`,{value:!0}),e.isEqual=(function(){var e=Object.prototype.toString,t=Object.getPrototypeOf,n=Object.getOwnPropertySymbols?function(e){return Object.keys(e).concat(Object.getOwnPropertySymbols(e))}:Object.keys;return function(r,i){return(function r(i,a,o){var s,c,l,u=e.call(i),d=e.call(a);if(i===a)return!0;if(i==null||a==null)return!1;if(o.indexOf(i)>-1&&o.indexOf(a)>-1)return!0;if(o.push(i,a),u!=d||(s=n(i),c=n(a),s.length!=c.length||s.some(function(e){return!r(i[e],a[e],o)})))return!1;switch(u.slice(8,-1)){case`Symbol`:return i.valueOf()==a.valueOf();case`Date`:case`Number`:return+i==+a||+i!=+i&&+a!=+a;case`RegExp`:case`Function`:case`String`:case`Boolean`:return``+i==``+a;case`Set`:case`Map`:s=i.entries(),c=a.entries();do if(!r((l=s.next()).value,c.next().value,o))return!1;while(!l.done);return!0;case`ArrayBuffer`:i=new Uint8Array(i),a=new Uint8Array(a);case`DataView`:i=new Uint8Array(i.buffer),a=new Uint8Array(a.buffer);case`Float32Array`:case`Float64Array`:case`Int8Array`:case`Int16Array`:case`Int32Array`:case`Uint8Array`:case`Uint16Array`:case`Uint32Array`:case`Uint8ClampedArray`:case`Arguments`:case`Array`:if(i.length!=a.length)return!1;for(l=0;l<i.length;l++)if((l in i||l in a)&&(l in i!=l in a||!r(i[l],a[l],o)))return!1;return!0;case`Object`:return r(t(i),t(a),o);default:return!1}})(r,i,[])}})()}})(),1),AQ=e=>e.map(e=>typeof e<`u`).filter(Boolean).length,jQ=(e,t)=>{let{exists:n,eq:r,neq:i,truthy:a}=e;if(AQ([n,r,i,a])>1)throw Error(`Invalid conditional test ${JSON.stringify({exists:n,eq:r,neq:i})}`);if(typeof r<`u`)return(0,kQ.isEqual)(t,r);if(typeof i<`u`)return!(0,kQ.isEqual)(t,i);if(typeof n<`u`){let e=typeof t<`u`;return n?e:!e}return typeof a>`u`||a?!!t:!t},MQ=(e,t,n)=>{if(!e.if)return!0;let{arg:r,global:i}=e.if;if(AQ([r,i])!==1)throw Error(`Invalid conditional value ${JSON.stringify({arg:r,global:i})}`);let a=r?t[r]:n[i];return jQ(e.if,a)};VU({},{argsEnhancers:()=>PQ});var NQ=(e,t)=>typeof t[e]>`u`&&!(e in t),PQ=[e=>{let{initialArgs:t,argTypes:n,parameters:{actions:r}}=e;return r?.disable||!n?{}:Object.entries(n).filter(([e,t])=>!!t.action).reduce((e,[n,r])=>(NQ(n,t)&&(e[n]=$K(typeof r.action==`string`?r.action:n)),e),{})},e=>{let{initialArgs:t,argTypes:n,id:r,parameters:{actions:i}}=e;if(!i||i.disable||!i.argTypesRegex||!n)return{};let a=new RegExp(i.argTypesRegex);return Object.entries(n).filter(([e])=>!!a.test(e)).reduce((e,[n,i])=>(NQ(n,t)&&(e[n]=$K(n,{implicit:!0,id:r})),e),{})}];VU({},{loaders:()=>LQ});var{onMockCall:FQ}=__STORYBOOK_MODULE_TEST__,IQ=!1,LQ=[e=>{let{parameters:t}=e;t?.actions?.disable||IQ||(FQ((e,t)=>{let n=e.getMockName();n!==`spy`&&n!==`vi.fn()`&&(!/^next\/.*::/.test(n)||[`next/router::useRouter()`,`next/navigation::useRouter()`,`next/navigation::redirect`,`next/cache::`,`next/headers::cookies().set`,`next/headers::cookies().delete`,`next/headers::headers().set`,`next/headers::headers().delete`].some(e=>n.startsWith(e)))&&$K(n)(t)}),IQ=!0)}],{useEffect:RQ}=__STORYBOOK_MODULE_PREVIEW_API__,{document:zQ}=globalThis;globalThis?.matchMedia&&globalThis.matchMedia(`(prefers-reduced-motion: reduce)`)?.matches,globalThis.FEATURES?.backgrounds;var{step:BQ}=EQ({step:async(e,t,n)=>t(n)},{intercept:!0}),{addons:VQ}=__STORYBOOK_MODULE_PREVIEW_API__,{STORY_RENDER_PHASE_CHANGED:HQ}=__STORYBOOK_MODULE_CORE_EVENTS__,UQ={chevronLeft:[`M9.10355 10.1464C9.29882 10.3417 9.29882 10.6583 9.10355 10.8536C8.90829 11.0488 8.59171 11.0488 8.39645 10.8536L4.89645 7.35355C4.70118 7.15829 4.70118 6.84171 4.89645 6.64645L8.39645 3.14645C8.59171 2.95118 8.90829 2.95118 9.10355 3.14645C9.29882 3.34171 9.29882 3.65829 9.10355 3.85355L5.95711 7L9.10355 10.1464Z`],chevronRight:[`M4.89645 10.1464C4.70118 10.3417 4.70118 10.6583 4.89645 10.8536C5.09171 11.0488 5.40829 11.0488 5.60355 10.8536L9.10355 7.35355C9.29882 7.15829 9.29882 6.84171 9.10355 6.64645L5.60355 3.14645C5.40829 2.95118 5.09171 2.95118 4.89645 3.14645C4.70118 3.34171 4.70118 3.65829 4.89645 3.85355L8.04289 7L4.89645 10.1464Z`],info:[`M7 5.5a.5.5 0 01.5.5v4a.5.5 0 01-1 0V6a.5.5 0 01.5-.5zM7 4.5A.75.75 0 107 3a.75.75 0 000 1.5z`,`M7 14A7 7 0 107 0a7 7 0 000 14zm0-1A6 6 0 107 1a6 6 0 000 12z`],shareAlt:[`M2 1.004a1 1 0 00-1 1v10a1 1 0 001 1h10a1 1 0 001-1v-4.5a.5.5 0 00-1 0v4.5H2v-10h4.5a.5.5 0 000-1H2z`,`M7.354 7.357L12 2.711v1.793a.5.5 0 001 0v-3a.5.5 0 00-.5-.5h-3a.5.5 0 100 1h1.793L6.646 6.65a.5.5 0 10.708.707z`]},WQ=`svg,path,rect,circle,line,polyline,polygon,ellipse,text`.split(`,`),GQ=(e,t={},n)=>{let r=WQ.includes(e)?document.createElementNS(`http://www.w3.org/2000/svg`,e):document.createElement(e);return Object.entries(t).forEach(([e,t])=>{/[A-Z]/.test(e)?(e===`onClick`&&(r.addEventListener(`click`,t),r.addEventListener(`keydown`,e=>{(e.key===`Enter`||e.key===` `)&&(e.preventDefault(),t())})),e===`onMouseEnter`&&r.addEventListener(`mouseenter`,t),e===`onMouseLeave`&&r.addEventListener(`mouseleave`,t)):r.setAttribute(e,t)}),n?.forEach(e=>{if(!(e==null||e===!1))try{r.appendChild(e)}catch{r.appendChild(document.createTextNode(String(e)))}}),r},KQ=e=>UQ[e]&&GQ(`svg`,{width:`14`,height:`14`,viewBox:`0 0 14 14`,xmlns:`http://www.w3.org/2000/svg`},UQ[e].map(e=>GQ(`path`,{fill:`currentColor`,"fill-rule":`evenodd`,"clip-rule":`evenodd`,d:e}))),qQ=e=>{if(`elements`in e){let{elements:t,color:n,style:r}=e;return{id:void 0,priority:0,selectors:t,styles:{outline:`2px ${r} ${n}`,outlineOffset:`2px`,boxShadow:`0 0 0 6px rgba(255,255,255,0.6)`},menu:void 0}}let{menu:t,...n}=e;return{id:void 0,priority:0,styles:{outline:`2px dashed #029cfd`},...n,menu:Array.isArray(t)?t.every(Array.isArray)?t:[t]:void 0}},JQ=e=>e instanceof Function,YQ=new Map,XQ=new Map,ZQ=new Map,QQ=e=>{let t=Symbol();return XQ.set(t,[]),YQ.set(t,e),{get:()=>YQ.get(t),set:e=>{let n=YQ.get(t),r=JQ(e)?e(n):e;r!==n&&(YQ.set(t,r),XQ.get(t)?.forEach(e=>{ZQ.get(e)?.(),ZQ.set(e,e(r))}))},subscribe:e=>(XQ.get(t)?.push(e),()=>{let n=XQ.get(t);n&&XQ.set(t,n.filter(t=>t!==e))}),teardown:()=>{XQ.get(t)?.forEach(e=>{ZQ.get(e)?.(),ZQ.delete(e)}),XQ.delete(t),YQ.delete(t)}}},$Q=e=>{let t=document.getElementById(`storybook-root`),n=new Map;for(let r of e){let{priority:e=0}=r;for(let i of r.selectors){let a=[...document.querySelectorAll(`:is(${i}):not([id^="storybook-"], [id^="storybook-"] *, [class^="sb-"], [class^="sb-"] *)`),...t?.querySelectorAll(i)||[]];for(let t of a){let a=n.get(t);(!a||a.priority<=e)&&n.set(t,{...r,priority:e,selectors:Array.from(new Set((a?.selectors||[]).concat(i)))})}}}return n},e$=e=>Array.from(e.entries()).map(([e,{selectors:t,styles:n,hoverStyles:r,focusStyles:i,menu:a}])=>{let{top:o,left:s,width:c,height:l}=e.getBoundingClientRect(),{position:u}=getComputedStyle(e);return{element:e,selectors:t,styles:n,hoverStyles:r,focusStyles:i,menu:a,top:u===`fixed`?o:o+window.scrollY,left:u===`fixed`?s:s+window.scrollX,width:c,height:l}}).sort((e,t)=>t.width*t.height-e.width*e.height),t$=(e,t)=>{let n=e.getBoundingClientRect(),{x:r,y:i}=t;return n?.top&&n?.left&&r>=n.left&&r<=n.left+n.width&&i>=n.top&&i<=n.top+n.height},n$=(e,t,n)=>{if(!t||!n)return!1;let{left:r,top:i,width:a,height:o}=e;o<28&&(i-=Math.round((28-o)/2),o=28),a<28&&(r-=Math.round((28-a)/2),a=28),t.style.position===`fixed`&&(r+=window.scrollX,i+=window.scrollY);let{x:s,y:c}=n;return s>=r&&s<=r+a&&c>=i&&c<=i+o},r$=(e,t,n={})=>{let{x:r,y:i}=t,{margin:a=5,topOffset:o=0,centered:s=!1}=n,{scrollX:c,scrollY:l,innerHeight:u,innerWidth:d}=window,f=Math.min(e.style.position===`fixed`?i-l:i,u-e.clientHeight-a-o+l),p=s?e.clientWidth/2:0,m=e.style.position===`fixed`?Math.max(Math.min(r-c,d-p-a),p+a):Math.max(Math.min(r,d-p-a+c),p+a+c);Object.assign(e.style,{...m!==r&&{left:`${m}px`},...f!==i&&{top:`${f}px`}})},i$=e=>{window.HTMLElement.prototype.hasOwnProperty(`showPopover`)&&e.showPopover()},a$=e=>{window.HTMLElement.prototype.hasOwnProperty(`showPopover`)&&e.hidePopover()},o$=e=>({top:e.top,left:e.left,width:e.width,height:e.height,selectors:e.selectors,element:{attributes:Object.fromEntries(Array.from(e.element.attributes).map(e=>[e.name,e.value])),localName:e.element.localName,tagName:e.element.tagName,outerHTML:e.element.outerHTML}}),s$=`storybook-highlights-menu`,c$=`storybook-highlights-root`,l$=`storybook-root`;globalThis?.FEATURES?.highlight&&VQ?.ready&&VQ.ready().then(e=>{if(globalThis.__STORYBOOK_HIGHLIGHT_INITIALIZED)return;globalThis.__STORYBOOK_HIGHLIGHT_INITIALIZED=!0;let{document:t}=globalThis,n=QQ([]),r=QQ(new Map),i=QQ([]),a=QQ(),o=QQ(),s=QQ([]),c=QQ([]),l=QQ(),u=QQ(),d=t.getElementById(c$);n.subscribe(()=>{d||(d=GQ(`div`,{id:c$}),t.body.appendChild(d))}),n.subscribe(e=>{let n=t.getElementById(l$);if(!n)return;r.set($Q(e));let i=new MutationObserver(()=>r.set($Q(e)));return i.observe(n,{subtree:!0,childList:!0}),()=>{i.disconnect()}}),r.subscribe(e=>{let n=()=>requestAnimationFrame(()=>i.set(e$(e))),r=new ResizeObserver(n);r.observe(t.body),Array.from(e.keys()).forEach(e=>r.observe(e));let a=Array.from(t.body.querySelectorAll(`*`)).filter(e=>{let{overflow:t,overflowX:n,overflowY:r}=window.getComputedStyle(e);return[`auto`,`scroll`].some(e=>[t,n,r].includes(e))});return a.forEach(e=>e.addEventListener(`scroll`,n)),()=>{r.disconnect(),a.forEach(e=>e.removeEventListener(`scroll`,n))}}),r.subscribe(e=>{let n=Array.from(e.keys()).filter(({style:e})=>e.position===`sticky`),r=()=>requestAnimationFrame(()=>{i.set(e=>e.map(e=>{if(n.includes(e.element)){let{top:t,left:n}=e.element.getBoundingClientRect();return{...e,top:t+window.scrollY,left:n+window.scrollX}}return e}))});return t.addEventListener(`scroll`,r),()=>t.removeEventListener(`scroll`,r)}),r.subscribe(e=>{s.set(t=>t.filter(({element:t})=>e.has(t)))}),s.subscribe(e=>{e.length?(u.set(t=>e.some(e=>e.element===t?.element)?t:void 0),l.set(t=>e.some(e=>e.element===t?.element)?t:void 0)):(u.set(void 0),l.set(void 0),a.set(void 0))});let f=new Map(new Map);n.subscribe(e=>{e.forEach(({keyframes:e})=>{if(e){let n=f.get(e);n||(n=t.createElement(`style`),n.setAttribute(`data-highlight`,`keyframes`),f.set(e,n),t.head.appendChild(n)),n.innerHTML=e}}),f.forEach((t,n)=>{e.some(e=>e.keyframes===n)||(t.remove(),f.delete(n))})});let p=new Map(new Map);i.subscribe(e=>{e.forEach(e=>{let t=p.get(e.element);if(d&&!t){let n={popover:`manual`,"data-highlight-dimensions":`w${e.width.toFixed(0)}h${e.height.toFixed(0)}`,"data-highlight-coordinates":`x${e.left.toFixed(0)}y${e.top.toFixed(0)}`};t=d.appendChild(GQ(`div`,n,[GQ(`div`)])),p.set(e.element,t)}}),p.forEach((t,n)=>{e.some(({element:e})=>e===n)||(t.remove(),p.delete(n))})}),i.subscribe(e=>{let n=e.filter(e=>e.menu);if(!n.length)return;let r=e=>{requestAnimationFrame(()=>{let r=t.getElementById(s$),i={x:e.pageX,y:e.pageY};if(r&&!t$(r,i)){let e=n.filter(e=>n$(e,p.get(e.element),i));a.set(e.length?i:void 0),s.set(e)}})};return t.addEventListener(`click`,r),()=>t.removeEventListener(`click`,r)});let m=()=>{let e=t.getElementById(s$),n=o.get();!n||e&&t$(e,n)||c.set(e=>{let t=i.get().filter(e=>n$(e,p.get(e.element),n)),r=e.filter(e=>t.includes(e)),a=t.filter(t=>!e.includes(t)),o=e.length-r.length;return a.length||o?[...r,...a]:e})};o.subscribe(m),i.subscribe(m);let h=()=>{let e=u.get(),t=e?[e]:s.get(),n=t.length===1?t[0]:l.get(),r=a.get()!==void 0;i.get().forEach(e=>{let i=p.get(e.element);if(i){let a=n===e,o=r?n?a:t.includes(e):c.get()?.includes(e);Object.assign(i.style,{animation:`none`,background:`transparent`,border:`none`,boxSizing:`border-box`,outline:`none`,outlineOffset:`0px`,...e.styles,...o?e.hoverStyles:{},...a?e.focusStyles:{},position:getComputedStyle(e.element).position===`fixed`?`fixed`:`absolute`,zIndex:UK-10,top:`${e.top}px`,left:`${e.left}px`,width:`${e.width}px`,height:`${e.height}px`,margin:0,padding:0,cursor:e.menu&&o?`pointer`:`default`,pointerEvents:e.menu?`auto`:`none`,display:`flex`,alignItems:`center`,justifyContent:`center`,overflow:`visible`}),Object.assign(i.children[0].style,{width:`100%`,height:`100%`,minHeight:`28px`,minWidth:`28px`,boxSizing:`content-box`,padding:i.style.outlineWidth||`0px`}),i$(i)}})};i.subscribe(h),s.subscribe(h),c.subscribe(h),l.subscribe(h),u.subscribe(h);let g=()=>{if(!d)return;let n=t.getElementById(s$);if(n)n.innerHTML=``;else{let e={id:s$,popover:`manual`};n=d.appendChild(GQ(`div`,e)),d.appendChild(GQ(`style`,{},[`
1075
+ #${s$} {
1076
+ position: absolute;
1077
+ z-index: ${UK};
1078
+ width: 300px;
1079
+ padding: 0px;
1080
+ margin: 15px 0 0 0;
1081
+ transform: translateX(-50%);
1082
+ font-family: "Nunito Sans", -apple-system, ".SFNSText-Regular", "San Francisco", BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
1083
+ font-size: 12px;
1084
+ background: white;
1085
+ border: none;
1086
+ border-radius: 6px;
1087
+ box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.05), 0 5px 15px 0 rgba(0, 0, 0, 0.1);
1088
+ color: #2E3438;
1089
+ }
1090
+ #${s$} ul {
1091
+ list-style: none;
1092
+ margin: 0;
1093
+ padding: 0;
1094
+ }
1095
+ #${s$} > ul {
1096
+ max-height: 300px;
1097
+ overflow-y: auto;
1098
+ padding: 4px 0;
1099
+ }
1100
+ #${s$} li {
1101
+ padding: 0 4px;
1102
+ margin: 0;
1103
+ }
1104
+ #${s$} li > :not(ul) {
1105
+ display: flex;
1106
+ padding: 8px;
1107
+ margin: 0;
1108
+ align-items: center;
1109
+ gap: 8px;
1110
+ border-radius: 4px;
1111
+ }
1112
+ #${s$} button {
1113
+ width: 100%;
1114
+ border: 0;
1115
+ background: transparent;
1116
+ color: inherit;
1117
+ text-align: left;
1118
+ font-family: inherit;
1119
+ font-size: inherit;
1120
+ }
1121
+ #${s$} button:focus-visible {
1122
+ outline-color: #029CFD;
1123
+ }
1124
+ #${s$} button:hover {
1125
+ background: rgba(2, 156, 253, 0.07);
1126
+ color: #029CFD;
1127
+ cursor: pointer;
1128
+ }
1129
+ #${s$} li code {
1130
+ white-space: nowrap;
1131
+ overflow: hidden;
1132
+ text-overflow: ellipsis;
1133
+ line-height: 16px;
1134
+ font-size: 11px;
1135
+ }
1136
+ #${s$} li svg {
1137
+ flex-shrink: 0;
1138
+ margin: 1px;
1139
+ color: #73828C;
1140
+ }
1141
+ #${s$} li > button:hover svg, #${s$} li > button:focus-visible svg {
1142
+ color: #029CFD;
1143
+ }
1144
+ #${s$} .element-list li svg {
1145
+ display: none;
1146
+ }
1147
+ #${s$} li.selectable svg, #${s$} li.selected svg {
1148
+ display: block;
1149
+ }
1150
+ #${s$} .menu-list {
1151
+ border-top: 1px solid rgba(38, 85, 115, 0.15);
1152
+ }
1153
+ #${s$} .menu-list > li:not(:last-child) {
1154
+ padding-bottom: 4px;
1155
+ margin-bottom: 4px;
1156
+ border-bottom: 1px solid rgba(38, 85, 115, 0.15);
1157
+ }
1158
+ #${s$} .menu-items, #${s$} .menu-items li {
1159
+ padding: 0;
1160
+ }
1161
+ #${s$} .menu-item {
1162
+ display: flex;
1163
+ }
1164
+ #${s$} .menu-item-content {
1165
+ display: flex;
1166
+ flex-direction: column;
1167
+ flex-grow: 1;
1168
+ }
1169
+ `]))}let r=u.get(),i=r?[r]:s.get();if(i.length&&(n.style.position=getComputedStyle(i[0].element).position===`fixed`?`fixed`:`absolute`,n.appendChild(GQ(`ul`,{class:`element-list`},i.map(e=>{let t=i.length>1&&!!e.menu?.some(t=>t.some(t=>!t.selectors||t.selectors.some(t=>e.selectors.includes(t)))),n=t?{class:`selectable`,onClick:()=>u.set(e),onMouseEnter:()=>l.set(e),onMouseLeave:()=>l.set(void 0)}:r?{class:`selected`,onClick:()=>u.set(void 0)}:{},a=t||r;return GQ(`li`,n,[GQ(a?`button`:`div`,a?{type:`button`}:{},[r?KQ(`chevronLeft`):null,GQ(`code`,{},[e.element.outerHTML]),t?KQ(`chevronRight`):null])])})))),u.get()||s.get().length===1){let t=u.get()||s.get()[0],r=t.menu?.filter(e=>e.some(e=>!e.selectors||e.selectors.some(e=>t.selectors.includes(e))));r?.length&&n.appendChild(GQ(`ul`,{class:`menu-list`},r.map(n=>GQ(`li`,{},[GQ(`ul`,{class:`menu-items`},n.map(({id:n,title:r,description:i,iconLeft:a,iconRight:o,clickEvent:s})=>{let c=s&&(()=>e.emit(s,n,o$(t)));return GQ(`li`,{},[GQ(c?`button`:`div`,c?{class:`menu-item`,type:`button`,onClick:c}:{class:`menu-item`},[a?KQ(a):null,GQ(`div`,{class:`menu-item-content`},[GQ(i?`strong`:`span`,{},[r]),i&&GQ(`span`,{},[i])]),o?KQ(o):null])])}))]))))}let o=a.get();o?(Object.assign(n.style,{display:`block`,left:`${n.style.position===`fixed`?o.x-window.scrollX:o.x}px`,top:`${n.style.position===`fixed`?o.y-window.scrollY:o.y}px`}),i$(n),requestAnimationFrame(()=>r$(n,o,{topOffset:15,centered:!0}))):(a$(n),Object.assign(n.style,{display:`none`}))};s.subscribe(g),u.subscribe(g);let _=e=>{let t=qQ(e);n.set(e=>{let n=t.id?e.filter(e=>e.id!==t.id):e;return t.selectors?.length?[...n,t]:n})},v=e=>{e&&n.set(t=>t.filter(t=>t.id!==e))},y=()=>{n.set([]),r.set(new Map),i.set([]),a.set(void 0),o.set(void 0),s.set([]),c.set([]),l.set(void 0),u.set(void 0)},b;t.body.addEventListener(`mousemove`,e=>{requestAnimationFrame(()=>o.set({x:e.pageX,y:e.pageY}))}),e.on(zK,_),e.on(BK,v),e.on(VK,y),e.on(HK,(e,r)=>{let i=`scrollIntoView-highlight`;clearTimeout(b),v(i);let a=t.querySelector(e);if(!a){console.warn(`Cannot scroll into view: ${e} not found`);return}a.scrollIntoView({behavior:`smooth`,block:`center`,...r});let o=`kf-${Math.random().toString(36).substring(2,15)}`;n.set(t=>[...t,{id:i,priority:1e3,selectors:[e],styles:{outline:`2px solid #1EA7FD`,outlineOffset:`-1px`,animation:`${o} 3s linear forwards`},keyframes:`@keyframes ${o} {
1170
+ 0% { outline: 2px solid #1EA7FD; }
1171
+ 20% { outline: 2px solid #1EA7FD00; }
1172
+ 40% { outline: 2px solid #1EA7FD; }
1173
+ 60% { outline: 2px solid #1EA7FD00; }
1174
+ 80% { outline: 2px solid #1EA7FD; }
1175
+ 100% { outline: 2px solid #1EA7FD00; }
1176
+ }`}]),b=setTimeout(()=>v(i),3500)}),e.on(HQ,({newPhase:e})=>{e===`loading`&&y()})});var{useEffect:u$}=__STORYBOOK_MODULE_PREVIEW_API__,{global:d$}=__STORYBOOK_MODULE_GLOBAL__,{global:f$}=__STORYBOOK_MODULE_GLOBAL__,{global:p$}=__STORYBOOK_MODULE_GLOBAL__;globalThis.FEATURES?.measure;var{useEffect:m$,useMemo:h$}=__STORYBOOK_MODULE_PREVIEW_API__,{global:g$}=__STORYBOOK_MODULE_GLOBAL__;globalThis.FEATURES?.outline;var{clearAllMocks:_$,fn:v$,isMockFunction:y$,resetAllMocks:b$,restoreAllMocks:x$,uninstrumentedUserEvent:S$,within:C$}=__STORYBOOK_MODULE_TEST__,w$=e=>e.toLowerCase().replace(/[ ’–—―′¿'`~!@#$%^&*()_|+\-=?;:'",.<>\{\}\[\]\\\/]/gi,`-`).replace(/-+/g,`-`).replace(/^-+/,``).replace(/-+$/,``),T$=(e,t)=>{let n=w$(e);if(n===``)throw Error(`Invalid ${t} '${e}', must include alphanumeric characters`);return n},E$=(e,t)=>`${T$(e,`kind`)}${t?`--${T$(t,`name`)}`:``}`,D$={"./stories/Introduction.mdx":()=>e(()=>import(`./Introduction-orXeKug7.js`),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10]),import.meta.url),"./stories/CSSValueInput.stories.tsx":()=>e(()=>import(`./CSSValueInput.stories-vCftVQHX.js`),__vite__mapDeps([11,12,13,14,10,15,16]),import.meta.url),"./stories/DatePicker.stories.tsx":()=>e(()=>import(`./DatePicker.stories-X2JO2cn6.js`),__vite__mapDeps([17,18,14,10,13,19]),import.meta.url),"./stories/Dropdown.stories.tsx":()=>e(()=>import(`./Dropdown.stories-msGED41R.js`),__vite__mapDeps([20,12,13,14,10,15,21,18,22,16]),import.meta.url),"./stories/InputText.stories.tsx":()=>e(()=>import(`./InputText.stories-CG1EnzrQ.js`),__vite__mapDeps([23,14,10,16]),import.meta.url),"./stories/MonthCalendar.stories.ts":()=>e(()=>import(`./MonthCalendar.stories-CJT-JiqF.js`),__vite__mapDeps([24,18,14,10,13,19]),import.meta.url),"./stories/useIsOutOfBounds.stories.tsx":()=>e(()=>import(`./useIsOutOfBounds.stories-CI4DMSUD.js`),__vite__mapDeps([25,21,18,14,10,13,22,26]),import.meta.url),"./stories/useKeyboardEvents.stories.tsx":()=>e(()=>import(`./useKeyboardEvents.stories-CNX299tr.js`),__vite__mapDeps([27,14,10,28]),import.meta.url)};async function O$(e){return await D$[e]()}var k$=s((e=>{var t=Symbol.for(`react.transitional.element`),n=Symbol.for(`react.portal`),r=Symbol.for(`react.fragment`),i=Symbol.for(`react.strict_mode`),a=Symbol.for(`react.profiler`),o=Symbol.for(`react.consumer`),s=Symbol.for(`react.context`),c=Symbol.for(`react.forward_ref`),l=Symbol.for(`react.suspense`),u=Symbol.for(`react.memo`),d=Symbol.for(`react.lazy`),f=Symbol.for(`react.activity`),p=Symbol.iterator;function m(e){return typeof e!=`object`||!e?null:(e=p&&e[p]||e[`@@iterator`],typeof e==`function`?e:null)}var h={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},g=Object.assign,_={};function v(e,t,n){this.props=e,this.context=t,this.refs=_,this.updater=n||h}v.prototype.isReactComponent={},v.prototype.setState=function(e,t){if(typeof e!=`object`&&typeof e!=`function`&&e!=null)throw Error(`takes an object of state variables to update or a function which returns an object of state variables.`);this.updater.enqueueSetState(this,e,t,`setState`)},v.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,`forceUpdate`)};function y(){}y.prototype=v.prototype;function b(e,t,n){this.props=e,this.context=t,this.refs=_,this.updater=n||h}var x=b.prototype=new y;x.constructor=b,g(x,v.prototype),x.isPureReactComponent=!0;var S=Array.isArray;function C(){}var w={H:null,A:null,T:null,S:null},T=Object.prototype.hasOwnProperty;function E(e,n,r){var i=r.ref;return{$$typeof:t,type:e,key:n,ref:i===void 0?null:i,props:r}}function D(e,t){return E(e.type,t,e.props)}function O(e){return typeof e==`object`&&!!e&&e.$$typeof===t}function k(e){var t={"=":`=0`,":":`=2`};return`$`+e.replace(/[=:]/g,function(e){return t[e]})}var A=/\/+/g;function j(e,t){return typeof e==`object`&&e&&e.key!=null?k(``+e.key):t.toString(36)}function M(e){switch(e.status){case`fulfilled`:return e.value;case`rejected`:throw e.reason;default:switch(typeof e.status==`string`?e.then(C,C):(e.status=`pending`,e.then(function(t){e.status===`pending`&&(e.status=`fulfilled`,e.value=t)},function(t){e.status===`pending`&&(e.status=`rejected`,e.reason=t)})),e.status){case`fulfilled`:return e.value;case`rejected`:throw e.reason}}throw e}function N(e,r,i,a,o){var s=typeof e;(s===`undefined`||s===`boolean`)&&(e=null);var c=!1;if(e===null)c=!0;else switch(s){case`bigint`:case`string`:case`number`:c=!0;break;case`object`:switch(e.$$typeof){case t:case n:c=!0;break;case d:return c=e._init,N(c(e._payload),r,i,a,o)}}if(c)return o=o(e),c=a===``?`.`+j(e,0):a,S(o)?(i=``,c!=null&&(i=c.replace(A,`$&/`)+`/`),N(o,r,i,``,function(e){return e})):o!=null&&(O(o)&&(o=D(o,i+(o.key==null||e&&e.key===o.key?``:(``+o.key).replace(A,`$&/`)+`/`)+c)),r.push(o)),1;c=0;var l=a===``?`.`:a+`:`;if(S(e))for(var u=0;u<e.length;u++)a=e[u],s=l+j(a,u),c+=N(a,r,i,s,o);else if(u=m(e),typeof u==`function`)for(e=u.call(e),u=0;!(a=e.next()).done;)a=a.value,s=l+j(a,u++),c+=N(a,r,i,s,o);else if(s===`object`){if(typeof e.then==`function`)return N(M(e),r,i,a,o);throw r=String(e),Error(`Objects are not valid as a React child (found: `+(r===`[object Object]`?`object with keys {`+Object.keys(e).join(`, `)+`}`:r)+`). If you meant to render a collection of children, use an array instead.`)}return c}function P(e,t,n){if(e==null)return e;var r=[],i=0;return N(e,r,``,``,function(e){return t.call(n,e,i++)}),r}function ee(e){if(e._status===-1){var t=e._result;t=t(),t.then(function(t){(e._status===0||e._status===-1)&&(e._status=1,e._result=t)},function(t){(e._status===0||e._status===-1)&&(e._status=2,e._result=t)}),e._status===-1&&(e._status=0,e._result=t)}if(e._status===1)return e._result.default;throw e._result}var te=typeof reportError==`function`?reportError:function(e){if(typeof window==`object`&&typeof window.ErrorEvent==`function`){var t=new window.ErrorEvent(`error`,{bubbles:!0,cancelable:!0,message:typeof e==`object`&&e&&typeof e.message==`string`?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if(typeof process==`object`&&typeof process.emit==`function`){process.emit(`uncaughtException`,e);return}console.error(e)},ne={map:P,forEach:function(e,t,n){P(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return P(e,function(){t++}),t},toArray:function(e){return P(e,function(e){return e})||[]},only:function(e){if(!O(e))throw Error(`React.Children.only expected to receive a single React element child.`);return e}};e.Activity=f,e.Children=ne,e.Component=v,e.Fragment=r,e.Profiler=a,e.PureComponent=b,e.StrictMode=i,e.Suspense=l,e.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=w,e.__COMPILER_RUNTIME={__proto__:null,c:function(e){return w.H.useMemoCache(e)}},e.cache=function(e){return function(){return e.apply(null,arguments)}},e.cacheSignal=function(){return null},e.cloneElement=function(e,t,n){if(e==null)throw Error(`The argument must be a React element, but you passed `+e+`.`);var r=g({},e.props),i=e.key;if(t!=null)for(a in t.key!==void 0&&(i=``+t.key),t)!T.call(t,a)||a===`key`||a===`__self`||a===`__source`||a===`ref`&&t.ref===void 0||(r[a]=t[a]);var a=arguments.length-2;if(a===1)r.children=n;else if(1<a){for(var o=Array(a),s=0;s<a;s++)o[s]=arguments[s+2];r.children=o}return E(e.type,i,r)},e.createContext=function(e){return e={$$typeof:s,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null},e.Provider=e,e.Consumer={$$typeof:o,_context:e},e},e.createElement=function(e,t,n){var r,i={},a=null;if(t!=null)for(r in t.key!==void 0&&(a=``+t.key),t)T.call(t,r)&&r!==`key`&&r!==`__self`&&r!==`__source`&&(i[r]=t[r]);var o=arguments.length-2;if(o===1)i.children=n;else if(1<o){for(var s=Array(o),c=0;c<o;c++)s[c]=arguments[c+2];i.children=s}if(e&&e.defaultProps)for(r in o=e.defaultProps,o)i[r]===void 0&&(i[r]=o[r]);return E(e,a,i)},e.createRef=function(){return{current:null}},e.forwardRef=function(e){return{$$typeof:c,render:e}},e.isValidElement=O,e.lazy=function(e){return{$$typeof:d,_payload:{_status:-1,_result:e},_init:ee}},e.memo=function(e,t){return{$$typeof:u,type:e,compare:t===void 0?null:t}},e.startTransition=function(e){var t=w.T,n={};w.T=n;try{var r=e(),i=w.S;i!==null&&i(n,r),typeof r==`object`&&r&&typeof r.then==`function`&&r.then(C,te)}catch(e){te(e)}finally{t!==null&&n.types!==null&&(t.types=n.types),w.T=t}},e.unstable_useCacheRefresh=function(){return w.H.useCacheRefresh()},e.use=function(e){return w.H.use(e)},e.useActionState=function(e,t,n){return w.H.useActionState(e,t,n)},e.useCallback=function(e,t){return w.H.useCallback(e,t)},e.useContext=function(e){return w.H.useContext(e)},e.useDebugValue=function(){},e.useDeferredValue=function(e,t){return w.H.useDeferredValue(e,t)},e.useEffect=function(e,t){return w.H.useEffect(e,t)},e.useEffectEvent=function(e){return w.H.useEffectEvent(e)},e.useId=function(){return w.H.useId()},e.useImperativeHandle=function(e,t,n){return w.H.useImperativeHandle(e,t,n)},e.useInsertionEffect=function(e,t){return w.H.useInsertionEffect(e,t)},e.useLayoutEffect=function(e,t){return w.H.useLayoutEffect(e,t)},e.useMemo=function(e,t){return w.H.useMemo(e,t)},e.useOptimistic=function(e,t){return w.H.useOptimistic(e,t)},e.useReducer=function(e,t,n){return w.H.useReducer(e,t,n)},e.useRef=function(e){return w.H.useRef(e)},e.useState=function(e){return w.H.useState(e)},e.useSyncExternalStore=function(e,t,n){return w.H.useSyncExternalStore(e,t,n)},e.useTransition=function(){return w.H.useTransition()},e.version=`19.2.4`})),A$=s(((e,t)=>{t.exports=k$()})),j$=u(A$(),1),{defaultDecorateStory:M$}=__STORYBOOK_MODULE_PREVIEW_API__,N$=(e,t)=>M$(t=>j$.createElement(e,t),t),P$=Object.create,F$=Object.defineProperty,I$=Object.getOwnPropertyDescriptor,L$=Object.getOwnPropertyNames,R$=Object.getPrototypeOf,z$=Object.prototype.hasOwnProperty,B$=(e,t)=>function(){return t||(0,e[L$(e)[0]])((t={exports:{}}).exports,t),t.exports},V$=(e,t)=>{for(var n in t)F$(e,n,{get:t[n],enumerable:!0})},H$=(e,t,n,r)=>{if(t&&typeof t==`object`||typeof t==`function`)for(let i of L$(t))!z$.call(e,i)&&i!==n&&F$(e,i,{get:()=>t[i],enumerable:!(r=I$(t,i))||r.enumerable});return e},U$=(e,t,n)=>(n=e==null?{}:P$(R$(e)),H$(t||!e||!e.__esModule?F$(n,`default`,{value:e,enumerable:!0}):n,e));V$({},{applyDecorators:()=>N$,beforeAll:()=>c1,decorators:()=>o1,mount:()=>a1,parameters:()=>s1,render:()=>X$,renderToCanvas:()=>i1});var{Tag:W$}=__STORYBOOK_MODULE_PREVIEW_API__,{global:G$}=__STORYBOOK_MODULE_GLOBAL__,{configure:K$}=__STORYBOOK_MODULE_TEST__;({...j$});function q$(e){globalThis.IS_REACT_ACT_ENVIRONMENT=e}function J$(){return globalThis.IS_REACT_ACT_ENVIRONMENT}var Y$=async({disableAct:e=!1}={})=>e=>e(),X$=(e,t)=>{let{id:n,component:r}=t;if(!r)throw Error(`Unable to render story ${n} as the component annotation is missing from the default export`);return j$.createElement(r,{...e})},{global:Z$}=__STORYBOOK_MODULE_GLOBAL__,{FRAMEWORK_OPTIONS:Q$}=Z$,$$=class extends j$.Component{constructor(){super(...arguments),this.state={hasError:!1}}static getDerivedStateFromError(){return{hasError:!0}}componentDidMount(){let{hasError:e}=this.state,{showMain:t}=this.props;e||t()}componentDidCatch(e){let{showException:t}=this.props;t(e)}render(){let{hasError:e}=this.state,{children:t}=this.props;return e?null:t}},e1=Q$?.strictMode?j$.StrictMode:j$.Fragment,t1=[],n1=!1,r1=async()=>{if(n1||t1.length===0)return;n1=!0;let e=t1.shift();e&&await e(),n1=!1,r1()};async function i1({storyContext:t,unboundStoryFn:n,showMain:r,showException:i,forceRemount:a},o){let{renderElement:s,unmountElement:c}=await e(async()=>{let{renderElement:e,unmountElement:t}=await import(`./react-18-6aLPZbD-.js`);return{renderElement:e,unmountElement:t}},__vite__mapDeps([29,30,6]),import.meta.url),l=n,u=t.parameters.__isPortableStory?j$.createElement(l,{...t}):j$.createElement($$,{key:t.id,showMain:r,showException:i},j$.createElement(l,{...t})),d=e1?j$.createElement(e1,null,u):u;a&&c(o);let f=await Y$({disableAct:t.viewMode===`docs`});return await new Promise(async(e,n)=>{t1.push(async()=>{try{await f(async()=>{await s(d,o,t?.parameters?.react?.rootOptions)}),e()}catch(e){n(e)}}),r1()}),async()=>{await f(()=>{c(o)})}}var a1=e=>async t=>(t!=null&&(e.originalStoryFn=()=>t),await e.renderToCanvas(),e.canvas),o1=[(e,t)=>{if(!t.parameters?.react?.rsc)return e();let[n,r]=`19.2.4`.split(`.`).map(e=>parseInt(e,10));if(!Number.isInteger(n)||!Number.isInteger(r))throw Error(`Unable to parse React version`);if(n<18||n===18&&r<3)throw Error(`React Server Components require React >= 18.3`);return j$.createElement(j$.Suspense,null,e())},(e,t)=>{if(t.tags?.includes(W$.TEST_FN)&&!G$.FEATURES?.experimentalTestSyntax)throw Error(`To use the experimental test function, you must enable the experimentalTestSyntax feature flag. See https://storybook.js.org/docs/api/main-config/main-config-features#experimentaltestsyntax`);return e()}],s1={renderer:`react`},c1=async()=>{try{let e=await Y$();K$({unstable_advanceTimersWrapper:t=>e(t),asyncWrapper:async e=>{let t=J$();q$(!1);try{let t=await e();return await new Promise(e=>{setTimeout(()=>{e()},0),l1()&&jest.advanceTimersByTime(0)}),t}finally{q$(t)}},eventWrapper:t=>{let n;return e(()=>(n=t(),n)),n}})}catch{}};function l1(){return typeof jest<`u`&&jest!==null?setTimeout._isMockFunction===!0||Object.prototype.hasOwnProperty.call(setTimeout,`clock`):!1}var u1=c({applyDecorators:()=>N$,beforeAll:()=>c1,decorators:()=>o1,mount:()=>a1,parameters:()=>s1,render:()=>X$,renderToCanvas:()=>i1}),d1=B$({"../../../node_modules/@base2/pretty-print-object/dist/index.js"(e){var t=e&&e.__assign||function(){return t=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n],t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},t.apply(this,arguments)},n=e&&e.__spreadArrays||function(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;for(var r=Array(e),i=0,t=0;t<n;t++)for(var a=arguments[t],o=0,s=a.length;o<s;o++,i++)r[i]=a[o];return r};Object.defineProperty(e,`__esModule`,{value:!0});var r=[];function i(e){var t=typeof e;return e!==null&&(t===`object`||t===`function`)}function a(e){return Object.prototype.toString.call(e)===`[object RegExp]`}function o(e){return Object.getOwnPropertySymbols(e).filter(function(t){return Object.prototype.propertyIsEnumerable.call(e,t)})}function s(e,c,l){l===void 0&&(l=``);var u=t(t({},{indent:` `,singleQuotes:!0}),c),d=u.inlineCharacterLimit===void 0?{newLine:`
1177
+ `,newLineOrSpace:`
1178
+ `,pad:l,indent:l+u.indent}:{newLine:`@@__PRETTY_PRINT_NEW_LINE__@@`,newLineOrSpace:`@@__PRETTY_PRINT_NEW_LINE_OR_SPACE__@@`,pad:`@@__PRETTY_PRINT_PAD__@@`,indent:`@@__PRETTY_PRINT_INDENT__@@`},f=function(e){if(u.inlineCharacterLimit===void 0)return e;var t=e.replace(new RegExp(d.newLine,`g`),``).replace(new RegExp(d.newLineOrSpace,`g`),` `).replace(RegExp(d.pad+`|`+d.indent,`g`),``);return t.length<=u.inlineCharacterLimit?t:e.replace(RegExp(d.newLine+`|`+d.newLineOrSpace,`g`),`
1179
+ `).replace(new RegExp(d.pad,`g`),l).replace(new RegExp(d.indent,`g`),l+u.indent)};if(r.indexOf(e)!==-1)return`"[Circular]"`;if(e==null||typeof e==`number`||typeof e==`boolean`||typeof e==`function`||typeof e==`symbol`||a(e))return String(e);if(e instanceof Date)return`new Date('`+e.toISOString()+`')`;if(Array.isArray(e)){if(e.length===0)return`[]`;r.push(e);var p=`[`+d.newLine+e.map(function(t,n){var r=e.length-1===n?d.newLine:`,`+d.newLineOrSpace,i=s(t,u,l+u.indent);return u.transform&&(i=u.transform(e,n,i)),d.indent+i+r}).join(``)+d.pad+`]`;return r.pop(),f(p)}if(i(e)){var m=n(Object.keys(e),o(e));if(u.filter&&(m=m.filter(function(t){return u.filter&&u.filter(e,t)})),m.length===0)return`{}`;r.push(e);var p=`{`+d.newLine+m.map(function(t,n){var r=m.length-1===n?d.newLine:`,`+d.newLineOrSpace,i=typeof t==`symbol`,a=!i&&/^[a-z$_][a-z$_0-9]*$/i.test(t.toString()),o=i||a?t:s(t,u),c=s(e[t],u,l+u.indent);return u.transform&&(c=u.transform(e,t,c)),d.indent+String(o)+`: `+c+r}).join(``)+d.pad+`}`;return r.pop(),f(p)}return e=String(e).replace(/[\r\n]/g,function(e){return e===`
1180
+ `?`\\n`:`\\r`}),u.singleQuotes?(e=e.replace(/\\?'/g,`\\'`),`'`+e+`'`):(e=e.replace(/"/g,`\\"`),`"`+e+`"`)}e.prettyPrint=s}}),f1=B$({"../../../node_modules/react-element-to-jsx-string/node_modules/react-is/cjs/react-is.production.min.js"(e){var t=Symbol.for(`react.element`),n=Symbol.for(`react.portal`),r=Symbol.for(`react.fragment`),i=Symbol.for(`react.strict_mode`),a=Symbol.for(`react.profiler`),o=Symbol.for(`react.provider`),s=Symbol.for(`react.context`),c=Symbol.for(`react.server_context`),l=Symbol.for(`react.forward_ref`),u=Symbol.for(`react.suspense`),d=Symbol.for(`react.suspense_list`),f=Symbol.for(`react.memo`),p=Symbol.for(`react.lazy`),m=Symbol.for(`react.offscreen`),h=Symbol.for(`react.module.reference`);function g(e){if(typeof e==`object`&&e){var m=e.$$typeof;switch(m){case t:switch(e=e.type,e){case r:case a:case i:case u:case d:return e;default:switch(e&&=e.$$typeof,e){case c:case s:case l:case p:case f:case o:return e;default:return m}}case n:return m}}}e.ContextConsumer=s,e.ContextProvider=o,e.Element=t,e.ForwardRef=l,e.Fragment=r,e.Lazy=p,e.Memo=f,e.Portal=n,e.Profiler=a,e.StrictMode=i,e.Suspense=u,e.SuspenseList=d,e.isAsyncMode=function(){return!1},e.isConcurrentMode=function(){return!1},e.isContextConsumer=function(e){return g(e)===s},e.isContextProvider=function(e){return g(e)===o},e.isElement=function(e){return typeof e==`object`&&!!e&&e.$$typeof===t},e.isForwardRef=function(e){return g(e)===l},e.isFragment=function(e){return g(e)===r},e.isLazy=function(e){return g(e)===p},e.isMemo=function(e){return g(e)===f},e.isPortal=function(e){return g(e)===n},e.isProfiler=function(e){return g(e)===a},e.isStrictMode=function(e){return g(e)===i},e.isSuspense=function(e){return g(e)===u},e.isSuspenseList=function(e){return g(e)===d},e.isValidElementType=function(e){return typeof e==`string`||typeof e==`function`||e===r||e===a||e===i||e===u||e===d||e===m||typeof e==`object`&&!!e&&(e.$$typeof===p||e.$$typeof===f||e.$$typeof===o||e.$$typeof===s||e.$$typeof===l||e.$$typeof===h||e.getModuleId!==void 0)},e.typeOf=g}}),p1=B$({"../../../node_modules/react-element-to-jsx-string/node_modules/react-is/index.js"(e,t){t.exports=f1()}}),m1=e=>e.$$typeof===Symbol.for(`react.memo`),h1=e=>e.$$typeof===Symbol.for(`react.forward_ref`);function g1(e){return Object.prototype.toString.call(e)===`[object Object]`}function _1(e){var t,n;return g1(e)===!1?!1:(t=e.constructor,t===void 0?!0:(n=t.prototype,!(g1(n)===!1||n.hasOwnProperty(`isPrototypeOf`)===!1)))}var v1=U$(d1()),y1=U$(p1()),b1=(function(e,t){return e===0?``:Array(e*t).fill(` `).join(``)});function x1(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function S1(e){if(Array.isArray(e))return x1(e)}function C1(e,t,n){return(t=A1(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function w1(e){if(typeof Symbol<`u`&&e[Symbol.iterator]!=null||e[`@@iterator`]!=null)return Array.from(e)}function T1(){throw TypeError(`Invalid attempt to spread non-iterable instance.
1181
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function E1(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function D1(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?E1(Object(n),!0).forEach(function(t){C1(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):E1(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function O1(e){return S1(e)||w1(e)||M1(e)||T1()}function k1(e,t){if(typeof e!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(typeof r!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}function A1(e){var t=k1(e,`string`);return typeof t==`symbol`?t:t+``}function j1(e){"@babel/helpers - typeof";return j1=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},j1(e)}function M1(e,t){if(e){if(typeof e==`string`)return x1(e,t);var n={}.toString.call(e).slice(8,-1);return n===`Object`&&e.constructor&&(n=e.constructor.name),n===`Map`||n===`Set`?Array.from(e):n===`Arguments`||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?x1(e,t):void 0}}function N1(e,t){if(e===null||j1(e)!==`object`||e instanceof Date||e instanceof RegExp)return e;if(j$.isValidElement(e)){var n=D1({},e);return delete n._owner,n}return t.add(e),Array.isArray(e)?e.map(function(e){return N1(e,t)}):Object.keys(e).sort().reduce(function(n,r){return r===`current`||t.has(e[r])?n[r]=`[Circular]`:n[r]=N1(e[r],t),n},{})}function P1(e){return N1(e,new WeakSet)}var F1=function(e){return{type:`string`,value:e}},I1=function(e){return{type:`number`,value:e}},L1=function(e,t,n,r){return{type:`ReactElement`,displayName:e,props:t,defaultProps:n,childrens:r}},R1=function(e,t){return{type:`ReactFragment`,key:e,childrens:t}},z1=!!j$.Fragment,B1=function(e){return!e.name||e.name===`_default`?`No Display Name`:e.name},V1=function(e){switch(!0){case!!e.displayName:return e.displayName;case e.$$typeof===y1.Memo:return V1(e.type);case e.$$typeof===y1.ForwardRef:return V1(e.render);default:return B1(e)}},H1=function(e){switch(!0){case typeof e.type==`string`:return e.type;case typeof e.type==`function`:return e.type.displayName?e.type.displayName:B1(e.type);case(0,y1.isForwardRef)(e):case(0,y1.isMemo)(e):return V1(e.type);case(0,y1.isContextConsumer)(e):return`${e.type._context.displayName||`Context`}.Consumer`;case(0,y1.isContextProvider)(e):return`${e.type._context.displayName||`Context`}.Provider`;case(0,y1.isLazy)(e):return`Lazy`;case(0,y1.isProfiler)(e):return`Profiler`;case(0,y1.isStrictMode)(e):return`StrictMode`;case(0,y1.isSuspense)(e):return`Suspense`;default:return`UnknownElementType`}},U1=function(e,t){return t!==`children`},W1=function(e){return e!==!0&&e!==!1&&e!==null&&e!==``},G1=function(e,t){var n={};return Object.keys(e).filter(function(n){return t(e[n],n)}).forEach(function(t){return n[t]=e[t]}),n},K1=function(e,t){var n=t.displayName,r=n===void 0?H1:n;if(typeof e==`string`)return F1(e);if(typeof e==`number`)return I1(e);if(!j$.isValidElement(e))throw Error(`react-element-to-jsx-string: Expected a React.Element, got \`${j1(e)}\``);var i=r(e),a=G1(e.props,U1);e.ref!==null&&(a.ref=e.ref);var o=e.key;typeof o==`string`&&o.search(/^\./)&&(a.key=o);var s=G1(e.type.defaultProps||{},U1),c=j$.Children.toArray(e.props.children).filter(W1).map(function(e){return K1(e,t)});return z1&&e.type===j$.Fragment?R1(o,c):L1(i,a,s,c)};function q1(){}var J1=function(e){return e.toString().split(`
1182
+ `).map(function(e){return e.trim()}).join(``)},Y1=(function(e,t){var n=t.functionValue,r=n===void 0?J1:n,i=t.showFunctions;return r(!i&&r===J1?q1:e)}),X1=(function(e,t,n,r){var i=P1(e),a=(0,v1.prettyPrint)(i,{transform:function(e,t,i){var a=e[t];return a&&(0,j$.isValidElement)(a)?b0(K1(a,r),!0,n,r):typeof a==`function`?Y1(a,r):i}});return t?a.replace(/\s+/g,` `).replace(/{ /g,`{`).replace(/ }/g,`}`).replace(/\[ /g,`[`).replace(/ ]/g,`]`):a.replace(/\t/g,b1(1,r.tabStop)).replace(/\n([^$])/g,`
1183
+ ${b1(n+1,r.tabStop)}\$1`)}),Z1=function(e){return e.replace(/"/g,`&quot;`)},Q1=function(e,t,n,r){if(typeof e==`number`)return`{${String(e)}}`;if(typeof e==`string`)return`"${Z1(e)}"`;if(j1(e)===`symbol`){var i=e.valueOf().toString().replace(/Symbol\((.*)\)/,`$1`);return i?`{Symbol('${i}')}`:`{Symbol()}`}return typeof e==`function`?`{${Y1(e,r)}}`:(0,j$.isValidElement)(e)?`{${b0(K1(e,r),!0,n,r)}}`:e instanceof Date?isNaN(e.valueOf())?`{new Date(NaN)}`:`{new Date("${e.toISOString()}")}`:_1(e)||Array.isArray(e)?`{${X1(e,t,n,r)}}`:`{${String(e)}}`},$1=(function(e,t,n,r,i,a,o,s){if(!t&&!r)throw Error(`The prop "${e}" has no value and no default: could not be formatted`);var c=t?n:i,l=s.useBooleanShorthandSyntax,u=s.tabStop,d=Q1(c,a,o,s),f=` `,p=`
1184
+ ${b1(o+1,u)}`,m=d.includes(`
1185
+ `);return l&&d===`{false}`&&!r?(f=``,p=``):l&&d===`{true}`?(f+=`${e}`,p+=`${e}`):(f+=`${e}=${d}`,p+=`${e}=${d}`),{attributeFormattedInline:f,attributeFormattedMultiline:p,isMultilineAttribute:m}}),e0=(function(e,t){var n=e.slice(0,e.length>0?e.length-1:0),r=e[e.length-1];return r&&(t.type===`string`||t.type===`number`)&&(r.type===`string`||r.type===`number`)?n.push(F1(String(r.value)+String(t.value))):(r&&n.push(r),n.push(t)),n}),t0=function(e){return[`key`,`ref`].includes(e)},n0=(function(e){return function(t){var n=t.includes(`key`),r=t.includes(`ref`),i=t.filter(function(e){return!t0(e)}),a=O1(e?i.sort():i);return r&&a.unshift(`ref`),n&&a.unshift(`key`),a}});function r0(e,t){return Array.isArray(t)?function(e){return t.indexOf(e)===-1}:function(n){return t(e[n],n)}}var i0=function(e,t,n,r,i){var a=i.tabStop;return e.type===`string`?t.split(`
1186
+ `).map(function(e,t){return t===0?e:`${b1(r,a)}${e}`}).join(`
1187
+ `):t},a0=function(e,t,n){return function(r){return i0(r,b0(r,e,t,n),e,t,n)}},o0=function(e,t){return function(n){var r=Object.keys(e).includes(n);return!r||r&&e[n]!==t[n]}},s0=function(e,t,n,r,i){return i?b1(n,r).length+t.length>i:e.length>1},c0=function(e,t,n,r,i,a,o){return(s0(e,t,i,a,o)||n)&&!r},l0=(function(e,t,n,r){var i=e.type,a=e.displayName,o=a===void 0?``:a,s=e.childrens,c=e.props,l=c===void 0?{}:c,u=e.defaultProps,d=u===void 0?{}:u;if(i!==`ReactElement`)throw Error(`The "formatReactElementNode" function could only format node of type "ReactElement". Given: ${i}`);var f=r.filterProps,p=r.maxInlineAttributesLineLength,m=r.showDefaultProps,h=r.sortProps,g=r.tabStop,_=`<${o}`,v=_,y=_,b=!1,x=[],S=r0(l,f);Object.keys(l).filter(S).filter(o0(d,l)).forEach(function(e){return x.push(e)}),Object.keys(d).filter(S).filter(function(){return m}).filter(function(e){return!x.includes(e)}).forEach(function(e){return x.push(e)});var C=n0(h)(x);if(C.forEach(function(e){var i=$1(e,Object.keys(l).includes(e),l[e],Object.keys(d).includes(e),d[e],t,n,r),a=i.attributeFormattedInline,o=i.attributeFormattedMultiline;i.isMultilineAttribute&&(b=!0),v+=a,y+=o}),y+=`
1188
+ ${b1(n,g)}`,_=c0(C,v,b,t,n,g,p)?y:v,s&&s.length>0){var w=n+1;_+=`>`,t||(_+=`
1189
+ `,_+=b1(w,g)),_+=s.reduce(e0,[]).map(a0(t,w,r)).join(t?``:`
1190
+ ${b1(w,g)}`),t||(_+=`
1191
+ `,_+=b1(w-1,g)),_+=`</${o}>`}else s0(C,v,n,g,p)||(_+=` `),_+=`/>`;return _}),u0=``,d0=`React.Fragment`,f0=function(e,t,n){var r={};return t&&(r={key:t}),{type:`ReactElement`,displayName:e,props:r,defaultProps:{},childrens:n}},p0=function(e){return!!e.key},m0=function(e){return e.childrens.length===0},h0=(function(e,t,n,r){var i=e.type,a=e.key,o=e.childrens;if(i!==`ReactFragment`)throw Error(`The "formatReactFragmentNode" function could only format node of type "ReactFragment". Given: ${i}`);var s=r.useFragmentShortSyntax,c;return c=s?m0(e)||p0(e)?d0:u0:d0,l0(f0(c,a,o),t,n,r)}),g0=[`<`,`>`,`{`,`}`],_0=function(e){return g0.some(function(t){return e.includes(t)})},v0=function(e){return _0(e)?`{\`${e}\`}`:e},y0=function(e){var t=e;return t.endsWith(` `)&&(t=t.replace(/^(.*?)(\s+)$/,`$1{'$2'}`)),t.startsWith(` `)&&(t=t.replace(/^(\s+)(.*)$/,`{'$1'}$2`)),t},b0=(function(e,t,n,r){if(e.type===`number`)return String(e.value);if(e.type===`string`)return e.value?`${y0(v0(String(e.value)))}`:``;if(e.type===`ReactElement`)return l0(e,t,n,r);if(e.type===`ReactFragment`)return h0(e,t,n,r);throw TypeError(`Unknow format type "${e.type}"`)}),x0=(function(e,t){return b0(e,!1,0,t)}),S0=function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=t.filterProps,r=n===void 0?[]:n,i=t.showDefaultProps,a=i===void 0?!0:i,o=t.showFunctions,s=o===void 0?!1:o,c=t.functionValue,l=t.tabStop,u=l===void 0?2:l,d=t.useBooleanShorthandSyntax,f=d===void 0?!0:d,p=t.useFragmentShortSyntax,m=p===void 0?!0:p,h=t.sortProps,g=h===void 0?!0:h,_=t.maxInlineAttributesLineLength,v=t.displayName;if(!e)throw Error(`react-element-to-jsx-string: Expected a ReactElement`);var y={filterProps:r,showDefaultProps:a,showFunctions:s,functionValue:c,tabStop:u,useBooleanShorthandSyntax:f,useFragmentShortSyntax:m,sortProps:g,maxInlineAttributesLineLength:_,displayName:v};return x0(K1(e,y),y)},C0=B$({"../../../node_modules/estraverse/estraverse.js"(e){(function e(t){var n,r,i,a,o,s;function c(e){var t={},n,r;for(n in e)e.hasOwnProperty(n)&&(r=e[n],typeof r==`object`&&r?t[n]=c(r):t[n]=r);return t}function l(e,t){var n,r,i,a;for(r=e.length,i=0;r;)n=r>>>1,a=i+n,t(e[a])?r=n:(i=a+1,r-=n+1);return i}n={AssignmentExpression:`AssignmentExpression`,AssignmentPattern:`AssignmentPattern`,ArrayExpression:`ArrayExpression`,ArrayPattern:`ArrayPattern`,ArrowFunctionExpression:`ArrowFunctionExpression`,AwaitExpression:`AwaitExpression`,BlockStatement:`BlockStatement`,BinaryExpression:`BinaryExpression`,BreakStatement:`BreakStatement`,CallExpression:`CallExpression`,CatchClause:`CatchClause`,ChainExpression:`ChainExpression`,ClassBody:`ClassBody`,ClassDeclaration:`ClassDeclaration`,ClassExpression:`ClassExpression`,ComprehensionBlock:`ComprehensionBlock`,ComprehensionExpression:`ComprehensionExpression`,ConditionalExpression:`ConditionalExpression`,ContinueStatement:`ContinueStatement`,DebuggerStatement:`DebuggerStatement`,DirectiveStatement:`DirectiveStatement`,DoWhileStatement:`DoWhileStatement`,EmptyStatement:`EmptyStatement`,ExportAllDeclaration:`ExportAllDeclaration`,ExportDefaultDeclaration:`ExportDefaultDeclaration`,ExportNamedDeclaration:`ExportNamedDeclaration`,ExportSpecifier:`ExportSpecifier`,ExpressionStatement:`ExpressionStatement`,ForStatement:`ForStatement`,ForInStatement:`ForInStatement`,ForOfStatement:`ForOfStatement`,FunctionDeclaration:`FunctionDeclaration`,FunctionExpression:`FunctionExpression`,GeneratorExpression:`GeneratorExpression`,Identifier:`Identifier`,IfStatement:`IfStatement`,ImportExpression:`ImportExpression`,ImportDeclaration:`ImportDeclaration`,ImportDefaultSpecifier:`ImportDefaultSpecifier`,ImportNamespaceSpecifier:`ImportNamespaceSpecifier`,ImportSpecifier:`ImportSpecifier`,Literal:`Literal`,LabeledStatement:`LabeledStatement`,LogicalExpression:`LogicalExpression`,MemberExpression:`MemberExpression`,MetaProperty:`MetaProperty`,MethodDefinition:`MethodDefinition`,ModuleSpecifier:`ModuleSpecifier`,NewExpression:`NewExpression`,ObjectExpression:`ObjectExpression`,ObjectPattern:`ObjectPattern`,PrivateIdentifier:`PrivateIdentifier`,Program:`Program`,Property:`Property`,PropertyDefinition:`PropertyDefinition`,RestElement:`RestElement`,ReturnStatement:`ReturnStatement`,SequenceExpression:`SequenceExpression`,SpreadElement:`SpreadElement`,Super:`Super`,SwitchStatement:`SwitchStatement`,SwitchCase:`SwitchCase`,TaggedTemplateExpression:`TaggedTemplateExpression`,TemplateElement:`TemplateElement`,TemplateLiteral:`TemplateLiteral`,ThisExpression:`ThisExpression`,ThrowStatement:`ThrowStatement`,TryStatement:`TryStatement`,UnaryExpression:`UnaryExpression`,UpdateExpression:`UpdateExpression`,VariableDeclaration:`VariableDeclaration`,VariableDeclarator:`VariableDeclarator`,WhileStatement:`WhileStatement`,WithStatement:`WithStatement`,YieldExpression:`YieldExpression`},i={AssignmentExpression:[`left`,`right`],AssignmentPattern:[`left`,`right`],ArrayExpression:[`elements`],ArrayPattern:[`elements`],ArrowFunctionExpression:[`params`,`body`],AwaitExpression:[`argument`],BlockStatement:[`body`],BinaryExpression:[`left`,`right`],BreakStatement:[`label`],CallExpression:[`callee`,`arguments`],CatchClause:[`param`,`body`],ChainExpression:[`expression`],ClassBody:[`body`],ClassDeclaration:[`id`,`superClass`,`body`],ClassExpression:[`id`,`superClass`,`body`],ComprehensionBlock:[`left`,`right`],ComprehensionExpression:[`blocks`,`filter`,`body`],ConditionalExpression:[`test`,`consequent`,`alternate`],ContinueStatement:[`label`],DebuggerStatement:[],DirectiveStatement:[],DoWhileStatement:[`body`,`test`],EmptyStatement:[],ExportAllDeclaration:[`source`],ExportDefaultDeclaration:[`declaration`],ExportNamedDeclaration:[`declaration`,`specifiers`,`source`],ExportSpecifier:[`exported`,`local`],ExpressionStatement:[`expression`],ForStatement:[`init`,`test`,`update`,`body`],ForInStatement:[`left`,`right`,`body`],ForOfStatement:[`left`,`right`,`body`],FunctionDeclaration:[`id`,`params`,`body`],FunctionExpression:[`id`,`params`,`body`],GeneratorExpression:[`blocks`,`filter`,`body`],Identifier:[],IfStatement:[`test`,`consequent`,`alternate`],ImportExpression:[`source`],ImportDeclaration:[`specifiers`,`source`],ImportDefaultSpecifier:[`local`],ImportNamespaceSpecifier:[`local`],ImportSpecifier:[`imported`,`local`],Literal:[],LabeledStatement:[`label`,`body`],LogicalExpression:[`left`,`right`],MemberExpression:[`object`,`property`],MetaProperty:[`meta`,`property`],MethodDefinition:[`key`,`value`],ModuleSpecifier:[],NewExpression:[`callee`,`arguments`],ObjectExpression:[`properties`],ObjectPattern:[`properties`],PrivateIdentifier:[],Program:[`body`],Property:[`key`,`value`],PropertyDefinition:[`key`,`value`],RestElement:[`argument`],ReturnStatement:[`argument`],SequenceExpression:[`expressions`],SpreadElement:[`argument`],Super:[],SwitchStatement:[`discriminant`,`cases`],SwitchCase:[`test`,`consequent`],TaggedTemplateExpression:[`tag`,`quasi`],TemplateElement:[],TemplateLiteral:[`quasis`,`expressions`],ThisExpression:[],ThrowStatement:[`argument`],TryStatement:[`block`,`handler`,`finalizer`],UnaryExpression:[`argument`],UpdateExpression:[`argument`],VariableDeclaration:[`declarations`],VariableDeclarator:[`id`,`init`],WhileStatement:[`test`,`body`],WithStatement:[`object`,`body`],YieldExpression:[`argument`]},a={},o={},s={},r={Break:a,Skip:o,Remove:s};function u(e,t){this.parent=e,this.key=t}u.prototype.replace=function(e){this.parent[this.key]=e},u.prototype.remove=function(){return Array.isArray(this.parent)?(this.parent.splice(this.key,1),!0):(this.replace(null),!1)};function d(e,t,n,r){this.node=e,this.path=t,this.wrap=n,this.ref=r}function f(){}f.prototype.path=function(){var e,t,n,r,i,a;function o(e,t){if(Array.isArray(t))for(n=0,r=t.length;n<r;++n)e.push(t[n]);else e.push(t)}if(!this.__current.path)return null;for(i=[],e=2,t=this.__leavelist.length;e<t;++e)a=this.__leavelist[e],o(i,a.path);return o(i,this.__current.path),i},f.prototype.type=function(){return this.current().type||this.__current.wrap},f.prototype.parents=function(){var e,t,n;for(n=[],e=1,t=this.__leavelist.length;e<t;++e)n.push(this.__leavelist[e].node);return n},f.prototype.current=function(){return this.__current.node},f.prototype.__execute=function(e,t){var n,r;return r=void 0,n=this.__current,this.__current=t,this.__state=null,e&&(r=e.call(this,t.node,this.__leavelist[this.__leavelist.length-1].node)),this.__current=n,r},f.prototype.notify=function(e){this.__state=e},f.prototype.skip=function(){this.notify(o)},f.prototype.break=function(){this.notify(a)},f.prototype.remove=function(){this.notify(s)},f.prototype.__initialize=function(e,t){this.visitor=t,this.root=e,this.__worklist=[],this.__leavelist=[],this.__current=null,this.__state=null,this.__fallback=null,t.fallback===`iteration`?this.__fallback=Object.keys:typeof t.fallback==`function`&&(this.__fallback=t.fallback),this.__keys=i,t.keys&&(this.__keys=Object.assign(Object.create(this.__keys),t.keys))};function p(e){return e==null?!1:typeof e==`object`&&typeof e.type==`string`}function m(e,t){return(e===n.ObjectExpression||e===n.ObjectPattern)&&t===`properties`}function h(e,t){for(var n=e.length-1;n>=0;--n)if(e[n].node===t)return!0;return!1}f.prototype.traverse=function(e,t){var n,r,i,s,c,l,u,f,g,_,v,y;for(this.__initialize(e,t),y={},n=this.__worklist,r=this.__leavelist,n.push(new d(e,null,null,null)),r.push(new d(null,null,null,null));n.length;){if(i=n.pop(),i===y){if(i=r.pop(),l=this.__execute(t.leave,i),this.__state===a||l===a)return;continue}if(i.node){if(l=this.__execute(t.enter,i),this.__state===a||l===a)return;if(n.push(y),r.push(i),this.__state===o||l===o)continue;if(s=i.node,c=s.type||i.wrap,_=this.__keys[c],!_)if(this.__fallback)_=this.__fallback(s);else throw Error(`Unknown node type `+c+`.`);for(f=_.length;--f>=0;)if(u=_[f],v=s[u],v){if(Array.isArray(v)){for(g=v.length;--g>=0;)if(v[g]&&!h(r,v[g])){if(m(c,_[f]))i=new d(v[g],[u,g],`Property`,null);else if(p(v[g]))i=new d(v[g],[u,g],null,null);else continue;n.push(i)}}else if(p(v)){if(h(r,v))continue;n.push(new d(v,u,null,null))}}}}},f.prototype.replace=function(e,t){var n,r,i,c,l,f,h,g,_,v,y,b,x;function S(e){var t,r,i,a;if(e.ref.remove()){for(r=e.ref.key,a=e.ref.parent,t=n.length;t--;)if(i=n[t],i.ref&&i.ref.parent===a){if(i.ref.key<r)break;--i.ref.key}}}for(this.__initialize(e,t),y={},n=this.__worklist,r=this.__leavelist,b={root:e},f=new d(e,null,null,new u(b,`root`)),n.push(f),r.push(f);n.length;){if(f=n.pop(),f===y){if(f=r.pop(),l=this.__execute(t.leave,f),l!==void 0&&l!==a&&l!==o&&l!==s&&f.ref.replace(l),(this.__state===s||l===s)&&S(f),this.__state===a||l===a)return b.root;continue}if(l=this.__execute(t.enter,f),l!==void 0&&l!==a&&l!==o&&l!==s&&(f.ref.replace(l),f.node=l),(this.__state===s||l===s)&&(S(f),f.node=null),this.__state===a||l===a)return b.root;if(i=f.node,i&&(n.push(y),r.push(f),!(this.__state===o||l===o))){if(c=i.type||f.wrap,_=this.__keys[c],!_)if(this.__fallback)_=this.__fallback(i);else throw Error(`Unknown node type `+c+`.`);for(h=_.length;--h>=0;)if(x=_[h],v=i[x],v)if(Array.isArray(v)){for(g=v.length;--g>=0;)if(v[g]){if(m(c,_[h]))f=new d(v[g],[x,g],`Property`,new u(v,g));else if(p(v[g]))f=new d(v[g],[x,g],null,new u(v,g));else continue;n.push(f)}}else p(v)&&n.push(new d(v,x,null,new u(i,x)))}}return b.root};function g(e,t){return new f().traverse(e,t)}function _(e,t){return new f().replace(e,t)}function v(e,t){var n;return n=l(t,function(t){return t.range[0]>e.range[0]}),e.extendedRange=[e.range[0],e.range[1]],n!==t.length&&(e.extendedRange[1]=t[n].range[0]),--n,n>=0&&(e.extendedRange[0]=t[n].range[1]),e}function y(e,t,n){var i=[],a,o,s,l;if(!e.range)throw Error(`attachComments needs range information`);if(!n.length){if(t.length){for(s=0,o=t.length;s<o;s+=1)a=c(t[s]),a.extendedRange=[0,e.range[0]],i.push(a);e.leadingComments=i}return e}for(s=0,o=t.length;s<o;s+=1)i.push(v(c(t[s]),n));return l=0,g(e,{enter:function(e){for(var t;l<i.length&&(t=i[l],!(t.extendedRange[1]>e.range[0]));)t.extendedRange[1]===e.range[0]?(e.leadingComments||=[],e.leadingComments.push(t),i.splice(l,1)):l+=1;if(l===i.length)return r.Break;if(i[l].extendedRange[0]>e.range[1])return r.Skip}}),l=0,g(e,{leave:function(e){for(var t;l<i.length&&(t=i[l],!(e.range[1]<t.extendedRange[0]));)e.range[1]===t.extendedRange[0]?(e.trailingComments||=[],e.trailingComments.push(t),i.splice(l,1)):l+=1;if(l===i.length)return r.Break;if(i[l].extendedRange[0]>e.range[1])return r.Skip}}),e}return t.Syntax=n,t.traverse=g,t.replace=_,t.attachComments=y,t.VisitorKeys=i,t.VisitorOption=r,t.Controller=f,t.cloneEnvironment=function(){return e({})},t})(e)}}),w0=B$({"../../../node_modules/esutils/lib/ast.js"(e,t){(function(){function e(e){if(e==null)return!1;switch(e.type){case`ArrayExpression`:case`AssignmentExpression`:case`BinaryExpression`:case`CallExpression`:case`ConditionalExpression`:case`FunctionExpression`:case`Identifier`:case`Literal`:case`LogicalExpression`:case`MemberExpression`:case`NewExpression`:case`ObjectExpression`:case`SequenceExpression`:case`ThisExpression`:case`UnaryExpression`:case`UpdateExpression`:return!0}return!1}function n(e){if(e==null)return!1;switch(e.type){case`DoWhileStatement`:case`ForInStatement`:case`ForStatement`:case`WhileStatement`:return!0}return!1}function r(e){if(e==null)return!1;switch(e.type){case`BlockStatement`:case`BreakStatement`:case`ContinueStatement`:case`DebuggerStatement`:case`DoWhileStatement`:case`EmptyStatement`:case`ExpressionStatement`:case`ForInStatement`:case`ForStatement`:case`IfStatement`:case`LabeledStatement`:case`ReturnStatement`:case`SwitchStatement`:case`ThrowStatement`:case`TryStatement`:case`VariableDeclaration`:case`WhileStatement`:case`WithStatement`:return!0}return!1}function i(e){return r(e)||e!=null&&e.type===`FunctionDeclaration`}function a(e){switch(e.type){case`IfStatement`:return e.alternate==null?e.consequent:e.alternate;case`LabeledStatement`:case`ForStatement`:case`ForInStatement`:case`WhileStatement`:case`WithStatement`:return e.body}return null}function o(e){var t;if(e.type!==`IfStatement`||e.alternate==null)return!1;t=e.consequent;do{if(t.type===`IfStatement`&&t.alternate==null)return!0;t=a(t)}while(t);return!1}t.exports={isExpression:e,isStatement:r,isIterationStatement:n,isSourceElement:i,isProblematicIfStatement:o,trailingStatement:a}})()}}),T0=B$({"../../../node_modules/esutils/lib/code.js"(e,t){(function(){var e,n={NonAsciiIdentifierStart:/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0-\u08B4\u08B6-\u08BD\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]/,NonAsciiIdentifierPart:/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u08A0-\u08B4\u08B6-\u08BD\u08D4-\u08E1\u08E3-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0AF9\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B6F\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BEF\u0C00-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58-\u0C5A\u0C60-\u0C63\u0C66-\u0C6F\u0C80-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1\u0CF2\u0D01-\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D54-\u0D57\u0D5F-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB9\u0EBB-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1820-\u1877\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19D9\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ABD\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1CD0-\u1CD2\u1CD4-\u1CF6\u1CF8\u1CF9\u1D00-\u1DF5\u1DFB-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u200C\u200D\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u2E2F\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099\u309A\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA827\uA840-\uA873\uA880-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA8FD\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uA9E0-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF3F\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]/},r,i,a,o;e={NonAsciiIdentifierStart:/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0-\u08B4\u08B6-\u08BD\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309B-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF30-\uDF4A\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC03-\uDC37\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDF00-\uDF19]|\uD806[\uDCA0-\uDCDF\uDCFF\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50\uDF93-\uDF9F\uDFE0]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00\uDC01]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1]|\uD87E[\uDC00-\uDE1D]/,NonAsciiIdentifierPart:/[\xAA\xB5\xB7\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u08A0-\u08B4\u08B6-\u08BD\u08D4-\u08E1\u08E3-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0AF9\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B6F\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BEF\u0C00-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58-\u0C5A\u0C60-\u0C63\u0C66-\u0C6F\u0C80-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1\u0CF2\u0D01-\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D54-\u0D57\u0D5F-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB9\u0EBB-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\u1369-\u1371\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1820-\u1877\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19DA\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ABD\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1CD0-\u1CD2\u1CD4-\u1CF6\u1CF8\u1CF9\u1D00-\u1DF5\u1DFB-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u200C\u200D\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA827\uA840-\uA873\uA880-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA8FD\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uA9E0-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF3F\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDDFD\uDE80-\uDE9C\uDEA0-\uDED0\uDEE0\uDF00-\uDF1F\uDF30-\uDF4A\uDF50-\uDF7A\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCA0-\uDCA9\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00-\uDE03\uDE05\uDE06\uDE0C-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE38-\uDE3A\uDE3F\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE6\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC00-\uDC46\uDC66-\uDC6F\uDC7F-\uDCBA\uDCD0-\uDCE8\uDCF0-\uDCF9\uDD00-\uDD34\uDD36-\uDD3F\uDD50-\uDD73\uDD76\uDD80-\uDDC4\uDDCA-\uDDCC\uDDD0-\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE37\uDE3E\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEEA\uDEF0-\uDEF9\uDF00-\uDF03\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3C-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF50\uDF57\uDF5D-\uDF63\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDC00-\uDC4A\uDC50-\uDC59\uDC80-\uDCC5\uDCC7\uDCD0-\uDCD9\uDD80-\uDDB5\uDDB8-\uDDC0\uDDD8-\uDDDD\uDE00-\uDE40\uDE44\uDE50-\uDE59\uDE80-\uDEB7\uDEC0-\uDEC9\uDF00-\uDF19\uDF1D-\uDF2B\uDF30-\uDF39]|\uD806[\uDCA0-\uDCE9\uDCFF\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC36\uDC38-\uDC40\uDC50-\uDC59\uDC72-\uDC8F\uDC92-\uDCA7\uDCA9-\uDCB6]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE60-\uDE69\uDED0-\uDEED\uDEF0-\uDEF4\uDF00-\uDF36\uDF40-\uDF43\uDF50-\uDF59\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50-\uDF7E\uDF8F-\uDF9F\uDFE0]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00\uDC01]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99\uDC9D\uDC9E]|\uD834[\uDD65-\uDD69\uDD6D-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB\uDFCE-\uDFFF]|\uD836[\uDE00-\uDE36\uDE3B-\uDE6C\uDE75\uDE84\uDE9B-\uDE9F\uDEA1-\uDEAF]|\uD838[\uDC00-\uDC06\uDC08-\uDC18\uDC1B-\uDC21\uDC23\uDC24\uDC26-\uDC2A]|\uD83A[\uDC00-\uDCC4\uDCD0-\uDCD6\uDD00-\uDD4A\uDD50-\uDD59]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1]|\uD87E[\uDC00-\uDE1D]|\uDB40[\uDD00-\uDDEF]/};function s(e){return 48<=e&&e<=57}function c(e){return 48<=e&&e<=57||97<=e&&e<=102||65<=e&&e<=70}function l(e){return e>=48&&e<=55}r=[5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8239,8287,12288,65279];function u(e){return e===32||e===9||e===11||e===12||e===160||e>=5760&&r.indexOf(e)>=0}function d(e){return e===10||e===13||e===8232||e===8233}function f(e){return e<=65535?String.fromCharCode(e):String.fromCharCode(Math.floor((e-65536)/1024)+55296)+String.fromCharCode((e-65536)%1024+56320)}for(i=Array(128),o=0;o<128;++o)i[o]=o>=97&&o<=122||o>=65&&o<=90||o===36||o===95;for(a=Array(128),o=0;o<128;++o)a[o]=o>=97&&o<=122||o>=65&&o<=90||o>=48&&o<=57||o===36||o===95;function p(e){return e<128?i[e]:n.NonAsciiIdentifierStart.test(f(e))}function m(e){return e<128?a[e]:n.NonAsciiIdentifierPart.test(f(e))}function h(t){return t<128?i[t]:e.NonAsciiIdentifierStart.test(f(t))}function g(t){return t<128?a[t]:e.NonAsciiIdentifierPart.test(f(t))}t.exports={isDecimalDigit:s,isHexDigit:c,isOctalDigit:l,isWhiteSpace:u,isLineTerminator:d,isIdentifierStartES5:p,isIdentifierPartES5:m,isIdentifierStartES6:h,isIdentifierPartES6:g}})()}}),E0=B$({"../../../node_modules/esutils/lib/keyword.js"(e,t){(function(){var e=T0();function n(e){switch(e){case`implements`:case`interface`:case`package`:case`private`:case`protected`:case`public`:case`static`:case`let`:return!0;default:return!1}}function r(e,t){return!t&&e===`yield`?!1:i(e,t)}function i(e,t){if(t&&n(e))return!0;switch(e.length){case 2:return e===`if`||e===`in`||e===`do`;case 3:return e===`var`||e===`for`||e===`new`||e===`try`;case 4:return e===`this`||e===`else`||e===`case`||e===`void`||e===`with`||e===`enum`;case 5:return e===`while`||e===`break`||e===`catch`||e===`throw`||e===`const`||e===`yield`||e===`class`||e===`super`;case 6:return e===`return`||e===`typeof`||e===`delete`||e===`switch`||e===`export`||e===`import`;case 7:return e===`default`||e===`finally`||e===`extends`;case 8:return e===`function`||e===`continue`||e===`debugger`;case 10:return e===`instanceof`;default:return!1}}function a(e,t){return e===`null`||e===`true`||e===`false`||r(e,t)}function o(e,t){return e===`null`||e===`true`||e===`false`||i(e,t)}function s(e){return e===`eval`||e===`arguments`}function c(t){var n,r,i;if(t.length===0||(i=t.charCodeAt(0),!e.isIdentifierStartES5(i)))return!1;for(n=1,r=t.length;n<r;++n)if(i=t.charCodeAt(n),!e.isIdentifierPartES5(i))return!1;return!0}function l(e,t){return(e-55296)*1024+(t-56320)+65536}function u(t){var n,r,i,a,o;if(t.length===0)return!1;for(o=e.isIdentifierStartES6,n=0,r=t.length;n<r;++n){if(i=t.charCodeAt(n),55296<=i&&i<=56319){if(++n,n>=r||(a=t.charCodeAt(n),!(56320<=a&&a<=57343)))return!1;i=l(i,a)}if(!o(i))return!1;o=e.isIdentifierPartES6}return!0}function d(e,t){return c(e)&&!a(e,t)}function f(e,t){return u(e)&&!o(e,t)}t.exports={isKeywordES5:r,isKeywordES6:i,isReservedWordES5:a,isReservedWordES6:o,isRestrictedWord:s,isIdentifierNameES5:c,isIdentifierNameES6:u,isIdentifierES5:d,isIdentifierES6:f}})()}}),D0=B$({"../../../node_modules/esutils/lib/utils.js"(e){(function(){e.ast=w0(),e.code=T0(),e.keyword=E0()})()}}),O0=B$({"../../../node_modules/escodegen/node_modules/source-map/lib/base64.js"(e){var t=`ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/`.split(``);e.encode=function(e){if(0<=e&&e<t.length)return t[e];throw TypeError(`Must be between 0 and 63: `+e)},e.decode=function(e){var t=65,n=90,r=97,i=122,a=48;return t<=e&&e<=n?e-t:r<=e&&e<=i?e-r+26:a<=e&&e<=57?e-a+52:e==43?62:e==47?63:-1}}}),k0=B$({"../../../node_modules/escodegen/node_modules/source-map/lib/base64-vlq.js"(e){var t=O0(),n=5,r=1<<n,i=r-1,a=r;function o(e){return e<0?(-e<<1)+1:(e<<1)+0}function s(e){var t=(e&1)==1,n=e>>1;return t?-n:n}e.encode=function(e){var r=``,s,c=o(e);do s=c&i,c>>>=n,c>0&&(s|=a),r+=t.encode(s);while(c>0);return r},e.decode=function(e,r,o){var c=e.length,l=0,u=0,d,f;do{if(r>=c)throw Error(`Expected more digits in base 64 VLQ value.`);if(f=t.decode(e.charCodeAt(r++)),f===-1)throw Error(`Invalid base64 digit: `+e.charAt(r-1));d=!!(f&a),f&=i,l+=f<<u,u+=n}while(d);o.value=s(l),o.rest=r}}}),A0=B$({"../../../node_modules/escodegen/node_modules/source-map/lib/util.js"(e){function t(e,t,n){if(t in e)return e[t];if(arguments.length===3)return n;throw Error(`"`+t+`" is a required argument.`)}e.getArg=t;var n=/^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.-]*)(?::(\d+))?(.*)$/,r=/^data:.+\,.+$/;function i(e){var t=e.match(n);return t?{scheme:t[1],auth:t[2],host:t[3],port:t[4],path:t[5]}:null}e.urlParse=i;function a(e){var t=``;return e.scheme&&(t+=e.scheme+`:`),t+=`//`,e.auth&&(t+=e.auth+`@`),e.host&&(t+=e.host),e.port&&(t+=`:`+e.port),e.path&&(t+=e.path),t}e.urlGenerate=a;function o(t){var n=t,r=i(t);if(r){if(!r.path)return t;n=r.path}for(var o=e.isAbsolute(n),s=n.split(/\/+/),c,l=0,u=s.length-1;u>=0;u--)c=s[u],c===`.`?s.splice(u,1):c===`..`?l++:l>0&&(c===``?(s.splice(u+1,l),l=0):(s.splice(u,2),l--));return n=s.join(`/`),n===``&&(n=o?`/`:`.`),r?(r.path=n,a(r)):n}e.normalize=o;function s(e,t){e===``&&(e=`.`),t===``&&(t=`.`);var n=i(t),s=i(e);if(s&&(e=s.path||`/`),n&&!n.scheme)return s&&(n.scheme=s.scheme),a(n);if(n||t.match(r))return t;if(s&&!s.host&&!s.path)return s.host=t,a(s);var c=t.charAt(0)===`/`?t:o(e.replace(/\/+$/,``)+`/`+t);return s?(s.path=c,a(s)):c}e.join=s,e.isAbsolute=function(e){return e.charAt(0)===`/`||n.test(e)};function c(e,t){e===``&&(e=`.`),e=e.replace(/\/$/,``);for(var n=0;t.indexOf(e+`/`)!==0;){var r=e.lastIndexOf(`/`);if(r<0||(e=e.slice(0,r),e.match(/^([^\/]+:\/)?\/*$/)))return t;++n}return Array(n+1).join(`../`)+t.substr(e.length+1)}e.relative=c;var l=(function(){return!(`__proto__`in Object.create(null))})();function u(e){return e}function d(e){return p(e)?`$`+e:e}e.toSetString=l?u:d;function f(e){return p(e)?e.slice(1):e}e.fromSetString=l?u:f;function p(e){if(!e)return!1;var t=e.length;if(t<9||e.charCodeAt(t-1)!==95||e.charCodeAt(t-2)!==95||e.charCodeAt(t-3)!==111||e.charCodeAt(t-4)!==116||e.charCodeAt(t-5)!==111||e.charCodeAt(t-6)!==114||e.charCodeAt(t-7)!==112||e.charCodeAt(t-8)!==95||e.charCodeAt(t-9)!==95)return!1;for(var n=t-10;n>=0;n--)if(e.charCodeAt(n)!==36)return!1;return!0}function m(e,t,n){var r=g(e.source,t.source);return r!==0||(r=e.originalLine-t.originalLine,r!==0)||(r=e.originalColumn-t.originalColumn,r!==0||n)||(r=e.generatedColumn-t.generatedColumn,r!==0)||(r=e.generatedLine-t.generatedLine,r!==0)?r:g(e.name,t.name)}e.compareByOriginalPositions=m;function h(e,t,n){var r=e.generatedLine-t.generatedLine;return r!==0||(r=e.generatedColumn-t.generatedColumn,r!==0||n)||(r=g(e.source,t.source),r!==0)||(r=e.originalLine-t.originalLine,r!==0)||(r=e.originalColumn-t.originalColumn,r!==0)?r:g(e.name,t.name)}e.compareByGeneratedPositionsDeflated=h;function g(e,t){return e===t?0:e===null?1:t===null?-1:e>t?1:-1}function _(e,t){var n=e.generatedLine-t.generatedLine;return n!==0||(n=e.generatedColumn-t.generatedColumn,n!==0)||(n=g(e.source,t.source),n!==0)||(n=e.originalLine-t.originalLine,n!==0)||(n=e.originalColumn-t.originalColumn,n!==0)?n:g(e.name,t.name)}e.compareByGeneratedPositionsInflated=_;function v(e){return JSON.parse(e.replace(/^\)]}'[^\n]*\n/,``))}e.parseSourceMapInput=v;function y(e,t,n){if(t||=``,e&&(e[e.length-1]!==`/`&&t[0]!==`/`&&(e+=`/`),t=e+t),n){var r=i(n);if(!r)throw Error(`sourceMapURL could not be parsed`);if(r.path){var c=r.path.lastIndexOf(`/`);c>=0&&(r.path=r.path.substring(0,c+1))}t=s(a(r),t)}return o(t)}e.computeSourceURL=y}}),j0=B$({"../../../node_modules/escodegen/node_modules/source-map/lib/array-set.js"(e){var t=A0(),n=Object.prototype.hasOwnProperty,r=typeof Map<`u`;function i(){this._array=[],this._set=r?new Map:Object.create(null)}i.fromArray=function(e,t){for(var n=new i,r=0,a=e.length;r<a;r++)n.add(e[r],t);return n},i.prototype.size=function(){return r?this._set.size:Object.getOwnPropertyNames(this._set).length},i.prototype.add=function(e,i){var a=r?e:t.toSetString(e),o=r?this.has(e):n.call(this._set,a),s=this._array.length;(!o||i)&&this._array.push(e),o||(r?this._set.set(e,s):this._set[a]=s)},i.prototype.has=function(e){if(r)return this._set.has(e);var i=t.toSetString(e);return n.call(this._set,i)},i.prototype.indexOf=function(e){if(r){var i=this._set.get(e);if(i>=0)return i}else{var a=t.toSetString(e);if(n.call(this._set,a))return this._set[a]}throw Error(`"`+e+`" is not in the set.`)},i.prototype.at=function(e){if(e>=0&&e<this._array.length)return this._array[e];throw Error(`No element indexed by `+e)},i.prototype.toArray=function(){return this._array.slice()},e.ArraySet=i}}),M0=B$({"../../../node_modules/escodegen/node_modules/source-map/lib/mapping-list.js"(e){var t=A0();function n(e,n){var r=e.generatedLine,i=n.generatedLine,a=e.generatedColumn,o=n.generatedColumn;return i>r||i==r&&o>=a||t.compareByGeneratedPositionsInflated(e,n)<=0}function r(){this._array=[],this._sorted=!0,this._last={generatedLine:-1,generatedColumn:0}}r.prototype.unsortedForEach=function(e,t){this._array.forEach(e,t)},r.prototype.add=function(e){n(this._last,e)?(this._last=e,this._array.push(e)):(this._sorted=!1,this._array.push(e))},r.prototype.toArray=function(){return this._sorted||=(this._array.sort(t.compareByGeneratedPositionsInflated),!0),this._array},e.MappingList=r}}),N0=B$({"../../../node_modules/escodegen/node_modules/source-map/lib/source-map-generator.js"(e){var t=k0(),n=A0(),r=j0().ArraySet,i=M0().MappingList;function a(e){e||={},this._file=n.getArg(e,`file`,null),this._sourceRoot=n.getArg(e,`sourceRoot`,null),this._skipValidation=n.getArg(e,`skipValidation`,!1),this._sources=new r,this._names=new r,this._mappings=new i,this._sourcesContents=null}a.prototype._version=3,a.fromSourceMap=function(e){var t=e.sourceRoot,r=new a({file:e.file,sourceRoot:t});return e.eachMapping(function(e){var i={generated:{line:e.generatedLine,column:e.generatedColumn}};e.source!=null&&(i.source=e.source,t!=null&&(i.source=n.relative(t,i.source)),i.original={line:e.originalLine,column:e.originalColumn},e.name!=null&&(i.name=e.name)),r.addMapping(i)}),e.sources.forEach(function(i){var a=i;t!==null&&(a=n.relative(t,i)),r._sources.has(a)||r._sources.add(a);var o=e.sourceContentFor(i);o!=null&&r.setSourceContent(i,o)}),r},a.prototype.addMapping=function(e){var t=n.getArg(e,`generated`),r=n.getArg(e,`original`,null),i=n.getArg(e,`source`,null),a=n.getArg(e,`name`,null);this._skipValidation||this._validateMapping(t,r,i,a),i!=null&&(i=String(i),this._sources.has(i)||this._sources.add(i)),a!=null&&(a=String(a),this._names.has(a)||this._names.add(a)),this._mappings.add({generatedLine:t.line,generatedColumn:t.column,originalLine:r!=null&&r.line,originalColumn:r!=null&&r.column,source:i,name:a})},a.prototype.setSourceContent=function(e,t){var r=e;this._sourceRoot!=null&&(r=n.relative(this._sourceRoot,r)),t==null?this._sourcesContents&&(delete this._sourcesContents[n.toSetString(r)],Object.keys(this._sourcesContents).length===0&&(this._sourcesContents=null)):(this._sourcesContents||=Object.create(null),this._sourcesContents[n.toSetString(r)]=t)},a.prototype.applySourceMap=function(e,t,i){var a=t;if(t==null){if(e.file==null)throw Error(`SourceMapGenerator.prototype.applySourceMap requires either an explicit source file, or the source map's "file" property. Both were omitted.`);a=e.file}var o=this._sourceRoot;o!=null&&(a=n.relative(o,a));var s=new r,c=new r;this._mappings.unsortedForEach(function(t){if(t.source===a&&t.originalLine!=null){var r=e.originalPositionFor({line:t.originalLine,column:t.originalColumn});r.source!=null&&(t.source=r.source,i!=null&&(t.source=n.join(i,t.source)),o!=null&&(t.source=n.relative(o,t.source)),t.originalLine=r.line,t.originalColumn=r.column,r.name!=null&&(t.name=r.name))}var l=t.source;l!=null&&!s.has(l)&&s.add(l);var u=t.name;u!=null&&!c.has(u)&&c.add(u)},this),this._sources=s,this._names=c,e.sources.forEach(function(t){var r=e.sourceContentFor(t);r!=null&&(i!=null&&(t=n.join(i,t)),o!=null&&(t=n.relative(o,t)),this.setSourceContent(t,r))},this)},a.prototype._validateMapping=function(e,t,n,r){if(t&&typeof t.line!=`number`&&typeof t.column!=`number`)throw Error(`original.line and original.column are not numbers -- you probably meant to omit the original mapping entirely and only map the generated position. If so, pass null for the original mapping instead of an object with empty or null values.`);if(!(e&&`line`in e&&`column`in e&&e.line>0&&e.column>=0&&!t&&!n&&!r)){if(e&&`line`in e&&`column`in e&&t&&`line`in t&&`column`in t&&e.line>0&&e.column>=0&&t.line>0&&t.column>=0&&n)return;throw Error(`Invalid mapping: `+JSON.stringify({generated:e,source:n,original:t,name:r}))}},a.prototype._serializeMappings=function(){for(var e=0,r=1,i=0,a=0,o=0,s=0,c=``,l,u,d,f,p=this._mappings.toArray(),m=0,h=p.length;m<h;m++){if(u=p[m],l=``,u.generatedLine!==r)for(e=0;u.generatedLine!==r;)l+=`;`,r++;else if(m>0){if(!n.compareByGeneratedPositionsInflated(u,p[m-1]))continue;l+=`,`}l+=t.encode(u.generatedColumn-e),e=u.generatedColumn,u.source!=null&&(f=this._sources.indexOf(u.source),l+=t.encode(f-s),s=f,l+=t.encode(u.originalLine-1-a),a=u.originalLine-1,l+=t.encode(u.originalColumn-i),i=u.originalColumn,u.name!=null&&(d=this._names.indexOf(u.name),l+=t.encode(d-o),o=d)),c+=l}return c},a.prototype._generateSourcesContent=function(e,t){return e.map(function(e){if(!this._sourcesContents)return null;t!=null&&(e=n.relative(t,e));var r=n.toSetString(e);return Object.prototype.hasOwnProperty.call(this._sourcesContents,r)?this._sourcesContents[r]:null},this)},a.prototype.toJSON=function(){var e={version:this._version,sources:this._sources.toArray(),names:this._names.toArray(),mappings:this._serializeMappings()};return this._file!=null&&(e.file=this._file),this._sourceRoot!=null&&(e.sourceRoot=this._sourceRoot),this._sourcesContents&&(e.sourcesContent=this._generateSourcesContent(e.sources,e.sourceRoot)),e},a.prototype.toString=function(){return JSON.stringify(this.toJSON())},e.SourceMapGenerator=a}}),P0=B$({"../../../node_modules/escodegen/node_modules/source-map/lib/binary-search.js"(e){e.GREATEST_LOWER_BOUND=1,e.LEAST_UPPER_BOUND=2;function t(n,r,i,a,o,s){var c=Math.floor((r-n)/2)+n,l=o(i,a[c],!0);return l===0?c:l>0?r-c>1?t(c,r,i,a,o,s):s==e.LEAST_UPPER_BOUND?r<a.length?r:-1:c:c-n>1?t(n,c,i,a,o,s):s==e.LEAST_UPPER_BOUND?c:n<0?-1:n}e.search=function(n,r,i,a){if(r.length===0)return-1;var o=t(-1,r.length,n,r,i,a||e.GREATEST_LOWER_BOUND);if(o<0)return-1;for(;o-1>=0&&i(r[o],r[o-1],!0)===0;)--o;return o}}}),F0=B$({"../../../node_modules/escodegen/node_modules/source-map/lib/quick-sort.js"(e){function t(e,t,n){var r=e[t];e[t]=e[n],e[n]=r}function n(e,t){return Math.round(e+Math.random()*(t-e))}function r(e,i,a,o){if(a<o){var s=n(a,o),c=a-1;t(e,s,o);for(var l=e[o],u=a;u<o;u++)i(e[u],l)<=0&&(c+=1,t(e,c,u));t(e,c+1,u);var d=c+1;r(e,i,a,d-1),r(e,i,d+1,o)}}e.quickSort=function(e,t){r(e,t,0,e.length-1)}}}),I0=B$({"../../../node_modules/escodegen/node_modules/source-map/lib/source-map-consumer.js"(e){var t=A0(),n=P0(),r=j0().ArraySet,i=k0(),a=F0().quickSort;function o(e,n){var r=e;return typeof e==`string`&&(r=t.parseSourceMapInput(e)),r.sections==null?new s(r,n):new l(r,n)}o.fromSourceMap=function(e,t){return s.fromSourceMap(e,t)},o.prototype._version=3,o.prototype.__generatedMappings=null,Object.defineProperty(o.prototype,`_generatedMappings`,{configurable:!0,enumerable:!0,get:function(){return this.__generatedMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__generatedMappings}}),o.prototype.__originalMappings=null,Object.defineProperty(o.prototype,`_originalMappings`,{configurable:!0,enumerable:!0,get:function(){return this.__originalMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__originalMappings}}),o.prototype._charIsMappingSeparator=function(e,t){var n=e.charAt(t);return n===`;`||n===`,`},o.prototype._parseMappings=function(e,t){throw Error(`Subclasses must implement _parseMappings`)},o.GENERATED_ORDER=1,o.ORIGINAL_ORDER=2,o.GREATEST_LOWER_BOUND=1,o.LEAST_UPPER_BOUND=2,o.prototype.eachMapping=function(e,n,r){var i=n||null,a=r||o.GENERATED_ORDER,s;switch(a){case o.GENERATED_ORDER:s=this._generatedMappings;break;case o.ORIGINAL_ORDER:s=this._originalMappings;break;default:throw Error(`Unknown order of iteration.`)}var c=this.sourceRoot;s.map(function(e){var n=e.source===null?null:this._sources.at(e.source);return n=t.computeSourceURL(c,n,this._sourceMapURL),{source:n,generatedLine:e.generatedLine,generatedColumn:e.generatedColumn,originalLine:e.originalLine,originalColumn:e.originalColumn,name:e.name===null?null:this._names.at(e.name)}},this).forEach(e,i)},o.prototype.allGeneratedPositionsFor=function(e){var r=t.getArg(e,`line`),i={source:t.getArg(e,`source`),originalLine:r,originalColumn:t.getArg(e,`column`,0)};if(i.source=this._findSourceIndex(i.source),i.source<0)return[];var a=[],o=this._findMapping(i,this._originalMappings,`originalLine`,`originalColumn`,t.compareByOriginalPositions,n.LEAST_UPPER_BOUND);if(o>=0){var s=this._originalMappings[o];if(e.column===void 0)for(var c=s.originalLine;s&&s.originalLine===c;)a.push({line:t.getArg(s,`generatedLine`,null),column:t.getArg(s,`generatedColumn`,null),lastColumn:t.getArg(s,`lastGeneratedColumn`,null)}),s=this._originalMappings[++o];else for(var l=s.originalColumn;s&&s.originalLine===r&&s.originalColumn==l;)a.push({line:t.getArg(s,`generatedLine`,null),column:t.getArg(s,`generatedColumn`,null),lastColumn:t.getArg(s,`lastGeneratedColumn`,null)}),s=this._originalMappings[++o]}return a},e.SourceMapConsumer=o;function s(e,n){var i=e;typeof e==`string`&&(i=t.parseSourceMapInput(e));var a=t.getArg(i,`version`),o=t.getArg(i,`sources`),s=t.getArg(i,`names`,[]),c=t.getArg(i,`sourceRoot`,null),l=t.getArg(i,`sourcesContent`,null),u=t.getArg(i,`mappings`),d=t.getArg(i,`file`,null);if(a!=this._version)throw Error(`Unsupported version: `+a);c&&=t.normalize(c),o=o.map(String).map(t.normalize).map(function(e){return c&&t.isAbsolute(c)&&t.isAbsolute(e)?t.relative(c,e):e}),this._names=r.fromArray(s.map(String),!0),this._sources=r.fromArray(o,!0),this._absoluteSources=this._sources.toArray().map(function(e){return t.computeSourceURL(c,e,n)}),this.sourceRoot=c,this.sourcesContent=l,this._mappings=u,this._sourceMapURL=n,this.file=d}s.prototype=Object.create(o.prototype),s.prototype.consumer=o,s.prototype._findSourceIndex=function(e){var n=e;if(this.sourceRoot!=null&&(n=t.relative(this.sourceRoot,n)),this._sources.has(n))return this._sources.indexOf(n);var r;for(r=0;r<this._absoluteSources.length;++r)if(this._absoluteSources[r]==e)return r;return-1},s.fromSourceMap=function(e,n){var i=Object.create(s.prototype),o=i._names=r.fromArray(e._names.toArray(),!0),l=i._sources=r.fromArray(e._sources.toArray(),!0);i.sourceRoot=e._sourceRoot,i.sourcesContent=e._generateSourcesContent(i._sources.toArray(),i.sourceRoot),i.file=e._file,i._sourceMapURL=n,i._absoluteSources=i._sources.toArray().map(function(e){return t.computeSourceURL(i.sourceRoot,e,n)});for(var u=e._mappings.toArray().slice(),d=i.__generatedMappings=[],f=i.__originalMappings=[],p=0,m=u.length;p<m;p++){var h=u[p],g=new c;g.generatedLine=h.generatedLine,g.generatedColumn=h.generatedColumn,h.source&&(g.source=l.indexOf(h.source),g.originalLine=h.originalLine,g.originalColumn=h.originalColumn,h.name&&(g.name=o.indexOf(h.name)),f.push(g)),d.push(g)}return a(i.__originalMappings,t.compareByOriginalPositions),i},s.prototype._version=3,Object.defineProperty(s.prototype,`sources`,{get:function(){return this._absoluteSources.slice()}});function c(){this.generatedLine=0,this.generatedColumn=0,this.source=null,this.originalLine=null,this.originalColumn=null,this.name=null}s.prototype._parseMappings=function(e,n){for(var r=1,o=0,s=0,l=0,u=0,d=0,f=e.length,p=0,m={},h={},g=[],_=[],v,y,b,x,S;p<f;)if(e.charAt(p)===`;`)r++,p++,o=0;else if(e.charAt(p)===`,`)p++;else{for(v=new c,v.generatedLine=r,x=p;x<f&&!this._charIsMappingSeparator(e,x);x++);if(y=e.slice(p,x),b=m[y],b)p+=y.length;else{for(b=[];p<x;)i.decode(e,p,h),S=h.value,p=h.rest,b.push(S);if(b.length===2)throw Error(`Found a source, but no line and column`);if(b.length===3)throw Error(`Found a source and line, but no column`);m[y]=b}v.generatedColumn=o+b[0],o=v.generatedColumn,b.length>1&&(v.source=u+b[1],u+=b[1],v.originalLine=s+b[2],s=v.originalLine,v.originalLine+=1,v.originalColumn=l+b[3],l=v.originalColumn,b.length>4&&(v.name=d+b[4],d+=b[4])),_.push(v),typeof v.originalLine==`number`&&g.push(v)}a(_,t.compareByGeneratedPositionsDeflated),this.__generatedMappings=_,a(g,t.compareByOriginalPositions),this.__originalMappings=g},s.prototype._findMapping=function(e,t,r,i,a,o){if(e[r]<=0)throw TypeError(`Line must be greater than or equal to 1, got `+e[r]);if(e[i]<0)throw TypeError(`Column must be greater than or equal to 0, got `+e[i]);return n.search(e,t,a,o)},s.prototype.computeColumnSpans=function(){for(var e=0;e<this._generatedMappings.length;++e){var t=this._generatedMappings[e];if(e+1<this._generatedMappings.length){var n=this._generatedMappings[e+1];if(t.generatedLine===n.generatedLine){t.lastGeneratedColumn=n.generatedColumn-1;continue}}t.lastGeneratedColumn=1/0}},s.prototype.originalPositionFor=function(e){var n={generatedLine:t.getArg(e,`line`),generatedColumn:t.getArg(e,`column`)},r=this._findMapping(n,this._generatedMappings,`generatedLine`,`generatedColumn`,t.compareByGeneratedPositionsDeflated,t.getArg(e,`bias`,o.GREATEST_LOWER_BOUND));if(r>=0){var i=this._generatedMappings[r];if(i.generatedLine===n.generatedLine){var a=t.getArg(i,`source`,null);a!==null&&(a=this._sources.at(a),a=t.computeSourceURL(this.sourceRoot,a,this._sourceMapURL));var s=t.getArg(i,`name`,null);return s!==null&&(s=this._names.at(s)),{source:a,line:t.getArg(i,`originalLine`,null),column:t.getArg(i,`originalColumn`,null),name:s}}}return{source:null,line:null,column:null,name:null}},s.prototype.hasContentsOfAllSources=function(){return this.sourcesContent?this.sourcesContent.length>=this._sources.size()&&!this.sourcesContent.some(function(e){return e==null}):!1},s.prototype.sourceContentFor=function(e,n){if(!this.sourcesContent)return null;var r=this._findSourceIndex(e);if(r>=0)return this.sourcesContent[r];var i=e;this.sourceRoot!=null&&(i=t.relative(this.sourceRoot,i));var a;if(this.sourceRoot!=null&&(a=t.urlParse(this.sourceRoot))){var o=i.replace(/^file:\/\//,``);if(a.scheme==`file`&&this._sources.has(o))return this.sourcesContent[this._sources.indexOf(o)];if((!a.path||a.path==`/`)&&this._sources.has(`/`+i))return this.sourcesContent[this._sources.indexOf(`/`+i)]}if(n)return null;throw Error(`"`+i+`" is not in the SourceMap.`)},s.prototype.generatedPositionFor=function(e){var n=t.getArg(e,`source`);if(n=this._findSourceIndex(n),n<0)return{line:null,column:null,lastColumn:null};var r={source:n,originalLine:t.getArg(e,`line`),originalColumn:t.getArg(e,`column`)},i=this._findMapping(r,this._originalMappings,`originalLine`,`originalColumn`,t.compareByOriginalPositions,t.getArg(e,`bias`,o.GREATEST_LOWER_BOUND));if(i>=0){var a=this._originalMappings[i];if(a.source===r.source)return{line:t.getArg(a,`generatedLine`,null),column:t.getArg(a,`generatedColumn`,null),lastColumn:t.getArg(a,`lastGeneratedColumn`,null)}}return{line:null,column:null,lastColumn:null}},e.BasicSourceMapConsumer=s;function l(e,n){var i=e;typeof e==`string`&&(i=t.parseSourceMapInput(e));var a=t.getArg(i,`version`),s=t.getArg(i,`sections`);if(a!=this._version)throw Error(`Unsupported version: `+a);this._sources=new r,this._names=new r;var c={line:-1,column:0};this._sections=s.map(function(e){if(e.url)throw Error(`Support for url field in sections not implemented.`);var r=t.getArg(e,`offset`),i=t.getArg(r,`line`),a=t.getArg(r,`column`);if(i<c.line||i===c.line&&a<c.column)throw Error(`Section offsets must be ordered and non-overlapping.`);return c=r,{generatedOffset:{generatedLine:i+1,generatedColumn:a+1},consumer:new o(t.getArg(e,`map`),n)}})}l.prototype=Object.create(o.prototype),l.prototype.constructor=o,l.prototype._version=3,Object.defineProperty(l.prototype,`sources`,{get:function(){for(var e=[],t=0;t<this._sections.length;t++)for(var n=0;n<this._sections[t].consumer.sources.length;n++)e.push(this._sections[t].consumer.sources[n]);return e}}),l.prototype.originalPositionFor=function(e){var r={generatedLine:t.getArg(e,`line`),generatedColumn:t.getArg(e,`column`)},i=n.search(r,this._sections,function(e,t){return e.generatedLine-t.generatedOffset.generatedLine||e.generatedColumn-t.generatedOffset.generatedColumn}),a=this._sections[i];return a?a.consumer.originalPositionFor({line:r.generatedLine-(a.generatedOffset.generatedLine-1),column:r.generatedColumn-(a.generatedOffset.generatedLine===r.generatedLine?a.generatedOffset.generatedColumn-1:0),bias:e.bias}):{source:null,line:null,column:null,name:null}},l.prototype.hasContentsOfAllSources=function(){return this._sections.every(function(e){return e.consumer.hasContentsOfAllSources()})},l.prototype.sourceContentFor=function(e,t){for(var n=0;n<this._sections.length;n++){var r=this._sections[n].consumer.sourceContentFor(e,!0);if(r)return r}if(t)return null;throw Error(`"`+e+`" is not in the SourceMap.`)},l.prototype.generatedPositionFor=function(e){for(var n=0;n<this._sections.length;n++){var r=this._sections[n];if(r.consumer._findSourceIndex(t.getArg(e,`source`))!==-1){var i=r.consumer.generatedPositionFor(e);if(i)return{line:i.line+(r.generatedOffset.generatedLine-1),column:i.column+(r.generatedOffset.generatedLine===i.line?r.generatedOffset.generatedColumn-1:0)}}}return{line:null,column:null}},l.prototype._parseMappings=function(e,n){this.__generatedMappings=[],this.__originalMappings=[];for(var r=0;r<this._sections.length;r++)for(var i=this._sections[r],o=i.consumer._generatedMappings,s=0;s<o.length;s++){var c=o[s],l=i.consumer._sources.at(c.source);l=t.computeSourceURL(i.consumer.sourceRoot,l,this._sourceMapURL),this._sources.add(l),l=this._sources.indexOf(l);var u=null;c.name&&(u=i.consumer._names.at(c.name),this._names.add(u),u=this._names.indexOf(u));var d={source:l,generatedLine:c.generatedLine+(i.generatedOffset.generatedLine-1),generatedColumn:c.generatedColumn+(i.generatedOffset.generatedLine===c.generatedLine?i.generatedOffset.generatedColumn-1:0),originalLine:c.originalLine,originalColumn:c.originalColumn,name:u};this.__generatedMappings.push(d),typeof d.originalLine==`number`&&this.__originalMappings.push(d)}a(this.__generatedMappings,t.compareByGeneratedPositionsDeflated),a(this.__originalMappings,t.compareByOriginalPositions)},e.IndexedSourceMapConsumer=l}}),L0=B$({"../../../node_modules/escodegen/node_modules/source-map/lib/source-node.js"(e){var t=N0().SourceMapGenerator,n=A0(),r=/(\r?\n)/,i=10,a=`$$$isSourceNode$$$`;function o(e,t,n,r,i){this.children=[],this.sourceContents={},this.line=e??null,this.column=t??null,this.source=n??null,this.name=i??null,this[a]=!0,r!=null&&this.add(r)}o.fromStringWithSourceMap=function(e,t,i){var a=new o,s=e.split(r),c=0,l=function(){return e()+(e()||``);function e(){return c<s.length?s[c++]:void 0}},u=1,d=0,f=null;return t.eachMapping(function(e){if(f!==null)if(u<e.generatedLine)p(f,l()),u++,d=0;else{var t=s[c]||``,n=t.substr(0,e.generatedColumn-d);s[c]=t.substr(e.generatedColumn-d),d=e.generatedColumn,p(f,n),f=e;return}for(;u<e.generatedLine;)a.add(l()),u++;if(d<e.generatedColumn){var t=s[c]||``;a.add(t.substr(0,e.generatedColumn)),s[c]=t.substr(e.generatedColumn),d=e.generatedColumn}f=e},this),c<s.length&&(f&&p(f,l()),a.add(s.splice(c).join(``))),t.sources.forEach(function(e){var r=t.sourceContentFor(e);r!=null&&(i!=null&&(e=n.join(i,e)),a.setSourceContent(e,r))}),a;function p(e,t){if(e===null||e.source===void 0)a.add(t);else{var r=i?n.join(i,e.source):e.source;a.add(new o(e.originalLine,e.originalColumn,r,t,e.name))}}},o.prototype.add=function(e){if(Array.isArray(e))e.forEach(function(e){this.add(e)},this);else if(e[a]||typeof e==`string`)e&&this.children.push(e);else throw TypeError(`Expected a SourceNode, string, or an array of SourceNodes and strings. Got `+e);return this},o.prototype.prepend=function(e){if(Array.isArray(e))for(var t=e.length-1;t>=0;t--)this.prepend(e[t]);else if(e[a]||typeof e==`string`)this.children.unshift(e);else throw TypeError(`Expected a SourceNode, string, or an array of SourceNodes and strings. Got `+e);return this},o.prototype.walk=function(e){for(var t,n=0,r=this.children.length;n<r;n++)t=this.children[n],t[a]?t.walk(e):t!==``&&e(t,{source:this.source,line:this.line,column:this.column,name:this.name})},o.prototype.join=function(e){var t,n,r=this.children.length;if(r>0){for(t=[],n=0;n<r-1;n++)t.push(this.children[n]),t.push(e);t.push(this.children[n]),this.children=t}return this},o.prototype.replaceRight=function(e,t){var n=this.children[this.children.length-1];return n[a]?n.replaceRight(e,t):typeof n==`string`?this.children[this.children.length-1]=n.replace(e,t):this.children.push(``.replace(e,t)),this},o.prototype.setSourceContent=function(e,t){this.sourceContents[n.toSetString(e)]=t},o.prototype.walkSourceContents=function(e){for(var t=0,r=this.children.length;t<r;t++)this.children[t][a]&&this.children[t].walkSourceContents(e);for(var i=Object.keys(this.sourceContents),t=0,r=i.length;t<r;t++)e(n.fromSetString(i[t]),this.sourceContents[i[t]])},o.prototype.toString=function(){var e=``;return this.walk(function(t){e+=t}),e},o.prototype.toStringWithSourceMap=function(e){var n={code:``,line:1,column:0},r=new t(e),a=!1,o=null,s=null,c=null,l=null;return this.walk(function(e,t){n.code+=e,t.source!==null&&t.line!==null&&t.column!==null?((o!==t.source||s!==t.line||c!==t.column||l!==t.name)&&r.addMapping({source:t.source,original:{line:t.line,column:t.column},generated:{line:n.line,column:n.column},name:t.name}),o=t.source,s=t.line,c=t.column,l=t.name,a=!0):a&&=(r.addMapping({generated:{line:n.line,column:n.column}}),o=null,!1);for(var u=0,d=e.length;u<d;u++)e.charCodeAt(u)===i?(n.line++,n.column=0,u+1===d?(o=null,a=!1):a&&r.addMapping({source:t.source,original:{line:t.line,column:t.column},generated:{line:n.line,column:n.column},name:t.name})):n.column++}),this.walkSourceContents(function(e,t){r.setSourceContent(e,t)}),{code:n.code,map:r}},e.SourceNode=o}}),R0=B$({"../../../node_modules/escodegen/node_modules/source-map/source-map.js"(e){e.SourceMapGenerator=N0().SourceMapGenerator,e.SourceMapConsumer=I0().SourceMapConsumer,e.SourceNode=L0().SourceNode}}),z0=B$({"../../../node_modules/escodegen/package.json"(e,t){t.exports={name:`escodegen`,description:`ECMAScript code generator`,homepage:`http://github.com/estools/escodegen`,main:`escodegen.js`,bin:{esgenerate:`./bin/esgenerate.js`,escodegen:`./bin/escodegen.js`},files:[`LICENSE.BSD`,`README.md`,`bin`,`escodegen.js`,`package.json`],version:`2.1.0`,engines:{node:`>=6.0`},maintainers:[{name:`Yusuke Suzuki`,email:`utatane.tea@gmail.com`,web:`http://github.com/Constellation`}],repository:{type:`git`,url:`http://github.com/estools/escodegen.git`},dependencies:{estraverse:`^5.2.0`,esutils:`^2.0.2`,esprima:`^4.0.1`},optionalDependencies:{"source-map":`~0.6.1`},devDependencies:{acorn:`^8.0.4`,bluebird:`^3.4.7`,"bower-registry-client":`^1.0.0`,chai:`^4.2.0`,"chai-exclude":`^2.0.2`,"commonjs-everywhere":`^0.9.7`,gulp:`^4.0.2`,"gulp-eslint":`^6.0.0`,"gulp-mocha":`^7.0.2`,minimist:`^1.2.5`,optionator:`^0.9.1`,semver:`^7.3.4`},license:`BSD-2-Clause`,scripts:{test:`gulp travis`,"unit-test":`gulp test`,lint:`gulp lint`,release:`node tools/release.js`,"build-min":`./node_modules/.bin/cjsify -ma path: tools/entry-point.js > escodegen.browser.min.js`,build:`./node_modules/.bin/cjsify -a path: tools/entry-point.js > escodegen.browser.js`}}}}),B0=B$({"../../../node_modules/escodegen/escodegen.js"(e){(function(){var t,n,r,i,a=C0(),o=D0(),s,c,l,u,d,f,p,m,h,g,_,v,y,b,x,S,C,w,T,E;t=a.Syntax;function D(e){return Pe.Expression.hasOwnProperty(e.type)}function O(e){return Pe.Statement.hasOwnProperty(e.type)}n={Sequence:0,Yield:1,Assignment:1,Conditional:2,ArrowFunction:2,Coalesce:3,LogicalOR:4,LogicalAND:5,BitwiseOR:6,BitwiseXOR:7,BitwiseAND:8,Equality:9,Relational:10,BitwiseSHIFT:11,Additive:12,Multiplicative:13,Exponentiation:14,Await:15,Unary:15,Postfix:16,OptionalChaining:17,Call:18,New:19,TaggedTemplate:20,Member:21,Primary:22},r={"??":n.Coalesce,"||":n.LogicalOR,"&&":n.LogicalAND,"|":n.BitwiseOR,"^":n.BitwiseXOR,"&":n.BitwiseAND,"==":n.Equality,"!=":n.Equality,"===":n.Equality,"!==":n.Equality,is:n.Equality,isnt:n.Equality,"<":n.Relational,">":n.Relational,"<=":n.Relational,">=":n.Relational,in:n.Relational,instanceof:n.Relational,"<<":n.BitwiseSHIFT,">>":n.BitwiseSHIFT,">>>":n.BitwiseSHIFT,"+":n.Additive,"-":n.Additive,"*":n.Multiplicative,"%":n.Multiplicative,"/":n.Multiplicative,"**":n.Exponentiation};var k=1,A=2,j=4,M=8,N=16,P=32,ee=64,te=A|j,ne=k|A,F=k|A|j,re=k,ie=j,ae=k|j,I=k,oe=k|P,se=0,ce=k|N,le=k|M;function ue(){return{indent:null,base:null,parse:null,comment:!1,format:{indent:{style:` `,base:0,adjustMultilineComment:!1},newline:`
1192
+ `,space:` `,json:!1,renumber:!1,hexadecimal:!1,quotes:`single`,escapeless:!1,compact:!1,parentheses:!0,semicolons:!0,safeConcatenation:!1,preserveBlankLines:!1},moz:{comprehensionExpressionStartsWithAssignment:!1,starlessGenerator:!1},sourceMap:null,sourceMapRoot:null,sourceMapWithCode:!1,directive:!1,raw:!0,verbatim:null,sourceCode:null}}function de(e,t){var n=``;for(t|=0;t>0;t>>>=1,e+=e)t&1&&(n+=e);return n}function fe(e){return/[\r\n]/g.test(e)}function pe(e){var t=e.length;return t&&o.code.isLineTerminator(e.charCodeAt(t-1))}function me(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);return e}function he(e,t){var n,r;function i(e){return typeof e==`object`&&e instanceof Object&&!(e instanceof RegExp)}for(n in t)t.hasOwnProperty(n)&&(r=t[n],i(r)?i(e[n])?he(e[n],r):e[n]=he({},r):e[n]=r);return e}function ge(e){var t,n,r,i,a;if(e!==e)throw Error(`Numeric literal whose value is NaN`);if(e<0||e===0&&1/e<0)throw Error(`Numeric literal whose value is negative`);if(e===1/0)return l?`null`:u?`1e400`:`1e+400`;if(t=``+e,!u||t.length<3)return t;for(n=t.indexOf(`.`),!l&&t.charCodeAt(0)===48&&n===1&&(n=0,t=t.slice(1)),r=t,t=t.replace(`e+`,`e`),i=0,(a=r.indexOf(`e`))>0&&(i=+r.slice(a+1),r=r.slice(0,a)),n>=0&&(i-=r.length-n-1,r=+(r.slice(0,n)+r.slice(n+1))+``),a=0;r.charCodeAt(r.length+a-1)===48;)--a;return a!==0&&(i-=a,r=r.slice(0,a)),i!==0&&(r+=`e`+i),(r.length<t.length||d&&e>0xe8d4a51000&&Math.floor(e)===e&&(r=`0x`+e.toString(16)).length<t.length)&&+r===e&&(t=r),t}function _e(e,t){return(e&-2)==8232?(t?`u`:`\\u`)+(e===8232?`2028`:`2029`):e===10||e===13?(t?``:`\\`)+(e===10?`n`:`r`):String.fromCharCode(e)}function ve(e){var t,n,r,i,a,o,s,c;if(n=e.toString(),e.source){if(t=n.match(/\/([^/]*)$/),!t)return n;for(r=t[1],n=``,s=!1,c=!1,i=0,a=e.source.length;i<a;++i)o=e.source.charCodeAt(i),c?(n+=_e(o,c),c=!1):(s?o===93&&(s=!1):o===47?n+=`\\`:o===91&&(s=!0),n+=_e(o,c),c=o===92);return`/`+n+`/`+r}return n}function ye(e,t){var n;return e===8?`\\b`:e===12?`\\f`:e===9?`\\t`:(n=e.toString(16).toUpperCase(),l||e>255?`\\u`+`0000`.slice(n.length)+n:e===0&&!o.code.isDecimalDigit(t)?`\\0`:e===11?`\\x0B`:`\\x`+`00`.slice(n.length)+n)}function be(e){if(e===92)return`\\\\`;if(e===10)return`\\n`;if(e===13)return`\\r`;if(e===8232)return`\\u2028`;if(e===8233)return`\\u2029`;throw Error(`Incorrectly classified character`)}function xe(e){var t,n,r,i;for(i=f===`double`?`"`:`'`,t=0,n=e.length;t<n;++t)if(r=e.charCodeAt(t),r===39){i=`"`;break}else if(r===34){i=`'`;break}else r===92&&++t;return i+e+i}function L(e){var t=``,n,r,i,a=0,s=0,c,u;for(n=0,r=e.length;n<r;++n){if(i=e.charCodeAt(n),i===39)++a;else if(i===34)++s;else if(i===47&&l)t+=`\\`;else if(o.code.isLineTerminator(i)||i===92){t+=be(i);continue}else if(!o.code.isIdentifierPartES5(i)&&(l&&i<32||!l&&!p&&(i<32||i>126))){t+=ye(i,e.charCodeAt(n+1));continue}t+=String.fromCharCode(i)}if(c=!(f===`double`||f===`auto`&&s<a),u=c?`'`:`"`,!(c?a:s))return u+t+u;for(e=t,t=u,n=0,r=e.length;n<r;++n)i=e.charCodeAt(n),(i===39&&c||i===34&&!c)&&(t+=`\\`),t+=String.fromCharCode(i);return t+u}function Se(e){var t,n,r,i=``;for(t=0,n=e.length;t<n;++t)r=e[t],i+=Array.isArray(r)?Se(r):r;return i}function Ce(e,t){if(!S)return Array.isArray(e)?Se(e):e;if(t==null){if(e instanceof i)return e;t={}}return t.loc==null?new i(null,null,S,e,t.name||null):new i(t.loc.start.line,t.loc.start.column,S===!0?t.loc.source||null:S,e,t.name||null)}function we(){return h||` `}function R(e,t){var n,r,i,a;return n=Ce(e).toString(),n.length===0?[t]:(r=Ce(t).toString(),r.length===0?[e]:(i=n.charCodeAt(n.length-1),a=r.charCodeAt(0),(i===43||i===45)&&i===a||o.code.isIdentifierPartES5(i)&&o.code.isIdentifierPartES5(a)||i===47&&a===105?[e,we(),t]:o.code.isWhiteSpace(i)||o.code.isLineTerminator(i)||o.code.isWhiteSpace(a)||o.code.isLineTerminator(a)?[e,t]:[e,h,t]))}function Te(e){return[s,e]}function Ee(e){var t=s;s+=c,e(s),s=t}function De(e){var t;for(t=e.length-1;t>=0&&!o.code.isLineTerminator(e.charCodeAt(t));--t);return e.length-1-t}function z(e,t){var n,r,i,a,c,l,u,d;for(n=e.split(/\r\n|[\r\n]/),l=Number.MAX_VALUE,r=1,i=n.length;r<i;++r){for(a=n[r],c=0;c<a.length&&o.code.isWhiteSpace(a.charCodeAt(c));)++c;l>c&&(l=c)}for(typeof t<`u`?(u=s,n[1][l]===`*`&&(t+=` `),s=t):(l&1&&--l,u=s),r=1,i=n.length;r<i;++r)d=Ce(Te(n[r].slice(l))),n[r]=S?d.join(``):d;return s=u,n.join(`
1193
+ `)}function Oe(e,t){if(e.type===`Line`){if(pe(e.value))return`//`+e.value;var n=`//`+e.value;return w||(n+=`
1194
+ `),n}return b.format.indent.adjustMultilineComment&&/[\n\r]/.test(e.value)?z(`/*`+e.value+`*/`,t):`/*`+e.value+`*/`}function ke(e,n){var r,i,a,o,l,u,d,f,p,m,h,g,_,y;if(e.leadingComments&&e.leadingComments.length>0){if(o=n,w){for(a=e.leadingComments[0],n=[],f=a.extendedRange,p=a.range,h=C.substring(f[0],p[0]),y=(h.match(/\n/g)||[]).length,y>0?(n.push(de(`
1195
+ `,y)),n.push(Te(Oe(a)))):(n.push(h),n.push(Oe(a))),m=p,r=1,i=e.leadingComments.length;r<i;r++)a=e.leadingComments[r],p=a.range,g=C.substring(m[1],p[0]),y=(g.match(/\n/g)||[]).length,n.push(de(`
1196
+ `,y)),n.push(Te(Oe(a))),m=p;_=C.substring(p[1],f[1]),y=(_.match(/\n/g)||[]).length,n.push(de(`
1197
+ `,y))}else for(a=e.leadingComments[0],n=[],v&&e.type===t.Program&&e.body.length===0&&n.push(`
1198
+ `),n.push(Oe(a)),pe(Ce(n).toString())||n.push(`
1199
+ `),r=1,i=e.leadingComments.length;r<i;++r)a=e.leadingComments[r],d=[Oe(a)],pe(Ce(d).toString())||d.push(`
1200
+ `),n.push(Te(d));n.push(Te(o))}if(e.trailingComments)if(w)a=e.trailingComments[0],f=a.extendedRange,p=a.range,h=C.substring(f[0],p[0]),y=(h.match(/\n/g)||[]).length,y>0?(n.push(de(`
1201
+ `,y)),n.push(Te(Oe(a)))):(n.push(h),n.push(Oe(a)));else for(l=!pe(Ce(n).toString()),u=de(` `,De(Ce([s,n,c]).toString())),r=0,i=e.trailingComments.length;r<i;++r)a=e.trailingComments[r],l?(n=r===0?[n,c]:[n,u],n.push(Oe(a,u))):n=[n,Te(Oe(a))],r!==i-1&&!pe(Ce(n).toString())&&(n=[n,`
1202
+ `]);return n}function Ae(e,t,n){var r,i=0;for(r=e;r<t;r++)C[r]===`
1203
+ `&&i++;for(r=1;r<i;r++)n.push(m)}function je(e,t,n){return t<n?[`(`,e,`)`]:e}function Me(e){var t,n,r;for(r=e.split(/\r\n|\n/),t=1,n=r.length;t<n;t++)r[t]=m+s+r[t];return r}function Ne(e,t){var r,i,a;return r=e[b.verbatim],typeof r==`string`?i=je(Me(r),n.Sequence,t):(i=Me(r.content),a=r.precedence==null?n.Sequence:r.precedence,i=je(i,a,t)),Ce(i,e)}function Pe(){}Pe.prototype.maybeBlock=function(e,n){var r,i,a=this;return i=!b.comment||!e.leadingComments,e.type===t.BlockStatement&&i?[h,this.generateStatement(e,n)]:e.type===t.EmptyStatement&&i?`;`:(Ee(function(){r=[m,Te(a.generateStatement(e,n))]}),r)},Pe.prototype.maybeBlockSuffix=function(e,n){var r=pe(Ce(n).toString());return e.type===t.BlockStatement&&(!b.comment||!e.leadingComments)&&!r?[n,h]:r?[n,s]:[n,m,s]};function B(e){return Ce(e.name,e)}function Fe(e,t){return e.async?`async`+(t?we():h):``}function Ie(e){return e.generator&&!b.moz.starlessGenerator?`*`+h:``}function Le(e){var t=e.value,n=``;return t.async&&(n+=Fe(t,!e.computed)),t.generator&&(n+=Ie(t)?`*`:``),n}Pe.prototype.generatePattern=function(e,n,r){return e.type===t.Identifier?B(e):this.generateExpression(e,n,r)},Pe.prototype.generateFunctionParams=function(e){var r,i,a,o;if(o=!1,e.type===t.ArrowFunctionExpression&&!e.rest&&(!e.defaults||e.defaults.length===0)&&e.params.length===1&&e.params[0].type===t.Identifier)a=[Fe(e,!0),B(e.params[0])];else{for(a=e.type===t.ArrowFunctionExpression?[Fe(e,!1)]:[],a.push(`(`),e.defaults&&(o=!0),r=0,i=e.params.length;r<i;++r)o&&e.defaults[r]?a.push(this.generateAssignment(e.params[r],e.defaults[r],`=`,n.Assignment,F)):a.push(this.generatePattern(e.params[r],n.Assignment,F)),r+1<i&&a.push(`,`+h);e.rest&&(e.params.length&&a.push(`,`+h),a.push(`...`),a.push(B(e.rest))),a.push(`)`)}return a},Pe.prototype.generateFunctionBody=function(e){var r,i;return r=this.generateFunctionParams(e),e.type===t.ArrowFunctionExpression&&(r.push(h),r.push(`=>`)),e.expression?(r.push(h),i=this.generateExpression(e.body,n.Assignment,F),i.toString().charAt(0)===`{`&&(i=[`(`,i,`)`]),r.push(i)):r.push(this.maybeBlock(e.body,le)),r},Pe.prototype.generateIterationForStatement=function(e,r,i){var a=[`for`+(r.await?we()+`await`:``)+h+`(`],o=this;return Ee(function(){r.left.type===t.VariableDeclaration?Ee(function(){a.push(r.left.kind+we()),a.push(o.generateStatement(r.left.declarations[0],se))}):a.push(o.generateExpression(r.left,n.Call,F)),a=R(a,e),a=[R(a,o.generateExpression(r.right,n.Assignment,F)),`)`]}),a.push(this.maybeBlock(r.body,i)),a},Pe.prototype.generatePropertyKey=function(e,t){var r=[];return t&&r.push(`[`),r.push(this.generateExpression(e,n.Assignment,F)),t&&r.push(`]`),r},Pe.prototype.generateAssignment=function(e,t,r,i,a){return n.Assignment<i&&(a|=k),je([this.generateExpression(e,n.Call,a),h+r+h,this.generateExpression(t,n.Assignment,a)],n.Assignment,i)},Pe.prototype.semicolon=function(e){return!_&&e&P?``:`;`},Pe.Statement={BlockStatement:function(e,t){var n,r,i=[`{`,m],a=this;return Ee(function(){e.body.length===0&&w&&(n=e.range,n[1]-n[0]>2&&(r=C.substring(n[0]+1,n[1]-1),r[0]===`
1204
+ `&&(i=[`{`]),i.push(r)));var o,s,c,l;for(l=I,t&M&&(l|=N),o=0,s=e.body.length;o<s;++o)w&&(o===0&&(e.body[0].leadingComments&&(n=e.body[0].leadingComments[0].extendedRange,r=C.substring(n[0],n[1]),r[0]===`
1205
+ `&&(i=[`{`])),e.body[0].leadingComments||Ae(e.range[0],e.body[0].range[0],i)),o>0&&!e.body[o-1].trailingComments&&!e.body[o].leadingComments&&Ae(e.body[o-1].range[1],e.body[o].range[0],i)),o===s-1&&(l|=P),c=e.body[o].leadingComments&&w?a.generateStatement(e.body[o],l):Te(a.generateStatement(e.body[o],l)),i.push(c),pe(Ce(c).toString())||w&&o<s-1&&e.body[o+1].leadingComments||i.push(m),w&&o===s-1&&(e.body[o].trailingComments||Ae(e.body[o].range[1],e.range[1],i))}),i.push(Te(`}`)),i},BreakStatement:function(e,t){return e.label?`break `+e.label.name+this.semicolon(t):`break`+this.semicolon(t)},ContinueStatement:function(e,t){return e.label?`continue `+e.label.name+this.semicolon(t):`continue`+this.semicolon(t)},ClassBody:function(e,t){var r=[`{`,m],i=this;return Ee(function(t){var a,o;for(a=0,o=e.body.length;a<o;++a)r.push(t),r.push(i.generateExpression(e.body[a],n.Sequence,F)),a+1<o&&r.push(m)}),pe(Ce(r).toString())||r.push(m),r.push(s),r.push(`}`),r},ClassDeclaration:function(e,t){var r,i;return r=[`class`],e.id&&(r=R(r,this.generateExpression(e.id,n.Sequence,F))),e.superClass&&(i=R(`extends`,this.generateExpression(e.superClass,n.Unary,F)),r=R(r,i)),r.push(h),r.push(this.generateStatement(e.body,oe)),r},DirectiveStatement:function(e,t){return b.raw&&e.raw?e.raw+this.semicolon(t):xe(e.directive)+this.semicolon(t)},DoWhileStatement:function(e,t){var r=R(`do`,this.maybeBlock(e.body,I));return r=this.maybeBlockSuffix(e.body,r),R(r,[`while`+h+`(`,this.generateExpression(e.test,n.Sequence,F),`)`+this.semicolon(t)])},CatchClause:function(e,t){var r,i=this;return Ee(function(){var t;e.param?(r=[`catch`+h+`(`,i.generateExpression(e.param,n.Sequence,F),`)`],e.guard&&(t=i.generateExpression(e.guard,n.Sequence,F),r.splice(2,0,` if `,t))):r=[`catch`]}),r.push(this.maybeBlock(e.body,I)),r},DebuggerStatement:function(e,t){return`debugger`+this.semicolon(t)},EmptyStatement:function(e,t){return`;`},ExportDefaultDeclaration:function(e,t){var r=[`export`],i;return i=t&P?oe:I,r=R(r,`default`),r=O(e.declaration)?R(r,this.generateStatement(e.declaration,i)):R(r,this.generateExpression(e.declaration,n.Assignment,F)+this.semicolon(t)),r},ExportNamedDeclaration:function(e,r){var i=[`export`],a,o=this;return a=r&P?oe:I,e.declaration?R(i,this.generateStatement(e.declaration,a)):(e.specifiers&&(e.specifiers.length===0?i=R(i,`{`+h+`}`):e.specifiers[0].type===t.ExportBatchSpecifier?i=R(i,this.generateExpression(e.specifiers[0],n.Sequence,F)):(i=R(i,`{`),Ee(function(t){var r,a;for(i.push(m),r=0,a=e.specifiers.length;r<a;++r)i.push(t),i.push(o.generateExpression(e.specifiers[r],n.Sequence,F)),r+1<a&&i.push(`,`+m)}),pe(Ce(i).toString())||i.push(m),i.push(s+`}`)),e.source?i=R(i,[`from`+h,this.generateExpression(e.source,n.Sequence,F),this.semicolon(r)]):i.push(this.semicolon(r))),i)},ExportAllDeclaration:function(e,t){return[`export`+h,`*`+h,`from`+h,this.generateExpression(e.source,n.Sequence,F),this.semicolon(t)]},ExpressionStatement:function(e,r){var i,a;function s(e){var t;return e.slice(0,5)===`class`?(t=e.charCodeAt(5),t===123||o.code.isWhiteSpace(t)||o.code.isLineTerminator(t)):!1}function c(e){var t;return e.slice(0,8)===`function`?(t=e.charCodeAt(8),t===40||o.code.isWhiteSpace(t)||t===42||o.code.isLineTerminator(t)):!1}function l(e){var t,n,r;if(e.slice(0,5)!==`async`||!o.code.isWhiteSpace(e.charCodeAt(5)))return!1;for(n=6,r=e.length;n<r&&o.code.isWhiteSpace(e.charCodeAt(n));++n);return n===r||e.slice(n,n+8)!==`function`?!1:(t=e.charCodeAt(n+8),t===40||o.code.isWhiteSpace(t)||t===42||o.code.isLineTerminator(t))}return i=[this.generateExpression(e.expression,n.Sequence,F)],a=Ce(i).toString(),a.charCodeAt(0)===123||s(a)||c(a)||l(a)||y&&r&N&&e.expression.type===t.Literal&&typeof e.expression.value==`string`?i=[`(`,i,`)`+this.semicolon(r)]:i.push(this.semicolon(r)),i},ImportDeclaration:function(e,r){var i,a,o=this;return e.specifiers.length===0?[`import`,h,this.generateExpression(e.source,n.Sequence,F),this.semicolon(r)]:(i=[`import`],a=0,e.specifiers[a].type===t.ImportDefaultSpecifier&&(i=R(i,[this.generateExpression(e.specifiers[a],n.Sequence,F)]),++a),e.specifiers[a]&&(a!==0&&i.push(`,`),e.specifiers[a].type===t.ImportNamespaceSpecifier?i=R(i,[h,this.generateExpression(e.specifiers[a],n.Sequence,F)]):(i.push(h+`{`),e.specifiers.length-a===1?(i.push(h),i.push(this.generateExpression(e.specifiers[a],n.Sequence,F)),i.push(h+`}`+h)):(Ee(function(t){var r,s;for(i.push(m),r=a,s=e.specifiers.length;r<s;++r)i.push(t),i.push(o.generateExpression(e.specifiers[r],n.Sequence,F)),r+1<s&&i.push(`,`+m)}),pe(Ce(i).toString())||i.push(m),i.push(s+`}`+h)))),i=R(i,[`from`+h,this.generateExpression(e.source,n.Sequence,F),this.semicolon(r)]),i)},VariableDeclarator:function(e,t){var r=t&k?F:te;return e.init?[this.generateExpression(e.id,n.Assignment,r),h,`=`,h,this.generateExpression(e.init,n.Assignment,r)]:this.generatePattern(e.id,n.Assignment,r)},VariableDeclaration:function(e,t){var n,r,i,a,o,s=this;n=[e.kind],o=t&k?I:se;function c(){for(a=e.declarations[0],b.comment&&a.leadingComments?(n.push(`
1206
+ `),n.push(Te(s.generateStatement(a,o)))):(n.push(we()),n.push(s.generateStatement(a,o))),r=1,i=e.declarations.length;r<i;++r)a=e.declarations[r],b.comment&&a.leadingComments?(n.push(`,`+m),n.push(Te(s.generateStatement(a,o)))):(n.push(`,`+h),n.push(s.generateStatement(a,o)))}return e.declarations.length>1?Ee(c):c(),n.push(this.semicolon(t)),n},ThrowStatement:function(e,t){return[R(`throw`,this.generateExpression(e.argument,n.Sequence,F)),this.semicolon(t)]},TryStatement:function(e,t){var n,r,i,a;if(n=[`try`,this.maybeBlock(e.block,I)],n=this.maybeBlockSuffix(e.block,n),e.handlers)for(r=0,i=e.handlers.length;r<i;++r)n=R(n,this.generateStatement(e.handlers[r],I)),(e.finalizer||r+1!==i)&&(n=this.maybeBlockSuffix(e.handlers[r].body,n));else{for(a=e.guardedHandlers||[],r=0,i=a.length;r<i;++r)n=R(n,this.generateStatement(a[r],I)),(e.finalizer||r+1!==i)&&(n=this.maybeBlockSuffix(a[r].body,n));if(e.handler)if(Array.isArray(e.handler))for(r=0,i=e.handler.length;r<i;++r)n=R(n,this.generateStatement(e.handler[r],I)),(e.finalizer||r+1!==i)&&(n=this.maybeBlockSuffix(e.handler[r].body,n));else n=R(n,this.generateStatement(e.handler,I)),e.finalizer&&(n=this.maybeBlockSuffix(e.handler.body,n))}return e.finalizer&&(n=R(n,[`finally`,this.maybeBlock(e.finalizer,I)])),n},SwitchStatement:function(e,t){var r,i,a,o,s,c=this;if(Ee(function(){r=[`switch`+h+`(`,c.generateExpression(e.discriminant,n.Sequence,F),`)`+h+`{`+m]}),e.cases)for(s=I,a=0,o=e.cases.length;a<o;++a)a===o-1&&(s|=P),i=Te(this.generateStatement(e.cases[a],s)),r.push(i),pe(Ce(i).toString())||r.push(m);return r.push(Te(`}`)),r},SwitchCase:function(e,r){var i,a,o,s,c,l=this;return Ee(function(){for(i=e.test?[R(`case`,l.generateExpression(e.test,n.Sequence,F)),`:`]:[`default:`],o=0,s=e.consequent.length,s&&e.consequent[0].type===t.BlockStatement&&(a=l.maybeBlock(e.consequent[0],I),i.push(a),o=1),o!==s&&!pe(Ce(i).toString())&&i.push(m),c=I;o<s;++o)o===s-1&&r&P&&(c|=P),a=Te(l.generateStatement(e.consequent[o],c)),i.push(a),o+1!==s&&!pe(Ce(a).toString())&&i.push(m)}),i},IfStatement:function(e,r){var i,a,o,s=this;return Ee(function(){i=[`if`+h+`(`,s.generateExpression(e.test,n.Sequence,F),`)`]}),o=r&P,a=I,o&&(a|=P),e.alternate?(i.push(this.maybeBlock(e.consequent,I)),i=this.maybeBlockSuffix(e.consequent,i),i=e.alternate.type===t.IfStatement?R(i,[`else `,this.generateStatement(e.alternate,a)]):R(i,R(`else`,this.maybeBlock(e.alternate,a)))):i.push(this.maybeBlock(e.consequent,a)),i},ForStatement:function(e,r){var i,a=this;return Ee(function(){i=[`for`+h+`(`],e.init?e.init.type===t.VariableDeclaration?i.push(a.generateStatement(e.init,se)):(i.push(a.generateExpression(e.init,n.Sequence,te)),i.push(`;`)):i.push(`;`),e.test&&(i.push(h),i.push(a.generateExpression(e.test,n.Sequence,F))),i.push(`;`),e.update&&(i.push(h),i.push(a.generateExpression(e.update,n.Sequence,F))),i.push(`)`)}),i.push(this.maybeBlock(e.body,r&P?oe:I)),i},ForInStatement:function(e,t){return this.generateIterationForStatement(`in`,e,t&P?oe:I)},ForOfStatement:function(e,t){return this.generateIterationForStatement(`of`,e,t&P?oe:I)},LabeledStatement:function(e,t){return[e.label.name+`:`,this.maybeBlock(e.body,t&P?oe:I)]},Program:function(e,t){var n,r,i,a,o;for(a=e.body.length,n=[v&&a>0?`
1207
+ `:``],o=ce,i=0;i<a;++i)!v&&i===a-1&&(o|=P),w&&(i===0&&(e.body[0].leadingComments||Ae(e.range[0],e.body[i].range[0],n)),i>0&&!e.body[i-1].trailingComments&&!e.body[i].leadingComments&&Ae(e.body[i-1].range[1],e.body[i].range[0],n)),r=Te(this.generateStatement(e.body[i],o)),n.push(r),i+1<a&&!pe(Ce(r).toString())&&(w&&e.body[i+1].leadingComments||n.push(m)),w&&i===a-1&&(e.body[i].trailingComments||Ae(e.body[i].range[1],e.range[1],n));return n},FunctionDeclaration:function(e,t){return[Fe(e,!0),`function`,Ie(e)||we(),e.id?B(e.id):``,this.generateFunctionBody(e)]},ReturnStatement:function(e,t){return e.argument?[R(`return`,this.generateExpression(e.argument,n.Sequence,F)),this.semicolon(t)]:[`return`+this.semicolon(t)]},WhileStatement:function(e,t){var r,i=this;return Ee(function(){r=[`while`+h+`(`,i.generateExpression(e.test,n.Sequence,F),`)`]}),r.push(this.maybeBlock(e.body,t&P?oe:I)),r},WithStatement:function(e,t){var r,i=this;return Ee(function(){r=[`with`+h+`(`,i.generateExpression(e.object,n.Sequence,F),`)`]}),r.push(this.maybeBlock(e.body,t&P?oe:I)),r}},me(Pe.prototype,Pe.Statement),Pe.Expression={SequenceExpression:function(e,t,r){var i,a,o;for(n.Sequence<t&&(r|=k),i=[],a=0,o=e.expressions.length;a<o;++a)i.push(this.generateExpression(e.expressions[a],n.Assignment,r)),a+1<o&&i.push(`,`+h);return je(i,n.Sequence,t)},AssignmentExpression:function(e,t,n){return this.generateAssignment(e.left,e.right,e.operator,t,n)},ArrowFunctionExpression:function(e,t,r){return je(this.generateFunctionBody(e),n.ArrowFunction,t)},ConditionalExpression:function(e,t,r){return n.Conditional<t&&(r|=k),je([this.generateExpression(e.test,n.Coalesce,r),h+`?`+h,this.generateExpression(e.consequent,n.Assignment,r),h+`:`+h,this.generateExpression(e.alternate,n.Assignment,r)],n.Conditional,t)},LogicalExpression:function(e,t,n){return e.operator===`??`&&(n|=ee),this.BinaryExpression(e,t,n)},BinaryExpression:function(e,t,i){var a,s,c,l,u,d;return l=r[e.operator],s=e.operator===`**`?n.Postfix:l,c=e.operator===`**`?l:l+1,l<t&&(i|=k),u=this.generateExpression(e.left,s,i),d=u.toString(),a=d.charCodeAt(d.length-1)===47&&o.code.isIdentifierPartES5(e.operator.charCodeAt(0))?[u,we(),e.operator]:R(u,e.operator),u=this.generateExpression(e.right,c,i),e.operator===`/`&&u.toString().charAt(0)===`/`||e.operator.slice(-1)===`<`&&u.toString().slice(0,3)===`!--`?(a.push(we()),a.push(u)):a=R(a,u),e.operator===`in`&&!(i&k)||(e.operator===`||`||e.operator===`&&`)&&i&ee?[`(`,a,`)`]:je(a,l,t)},CallExpression:function(e,t,r){var i,a,o;for(i=[this.generateExpression(e.callee,n.Call,ne)],e.optional&&i.push(`?.`),i.push(`(`),a=0,o=e.arguments.length;a<o;++a)i.push(this.generateExpression(e.arguments[a],n.Assignment,F)),a+1<o&&i.push(`,`+h);return i.push(`)`),r&A?je(i,n.Call,t):[`(`,i,`)`]},ChainExpression:function(e,t,r){return n.OptionalChaining<t&&(r|=A),je(this.generateExpression(e.expression,n.OptionalChaining,r),n.OptionalChaining,t)},NewExpression:function(e,t,r){var i,a,o,s,c;if(a=e.arguments.length,c=r&j&&!g&&a===0?ae:re,i=R(`new`,this.generateExpression(e.callee,n.New,c)),!(r&j)||g||a>0){for(i.push(`(`),o=0,s=a;o<s;++o)i.push(this.generateExpression(e.arguments[o],n.Assignment,F)),o+1<s&&i.push(`,`+h);i.push(`)`)}return je(i,n.New,t)},MemberExpression:function(e,r,i){var a,s;return a=[this.generateExpression(e.object,n.Call,i&A?ne:re)],e.computed?(e.optional&&a.push(`?.`),a.push(`[`),a.push(this.generateExpression(e.property,n.Sequence,i&A?F:ae)),a.push(`]`)):(!e.optional&&e.object.type===t.Literal&&typeof e.object.value==`number`&&(s=Ce(a).toString(),s.indexOf(`.`)<0&&!/[eExX]/.test(s)&&o.code.isDecimalDigit(s.charCodeAt(s.length-1))&&!(s.length>=2&&s.charCodeAt(0)===48)&&a.push(` `)),a.push(e.optional?`?.`:`.`),a.push(B(e.property))),je(a,n.Member,r)},MetaProperty:function(e,t,r){var i;return i=[],i.push(typeof e.meta==`string`?e.meta:B(e.meta)),i.push(`.`),i.push(typeof e.property==`string`?e.property:B(e.property)),je(i,n.Member,t)},UnaryExpression:function(e,t,r){var i,a,s,c,l;return a=this.generateExpression(e.argument,n.Unary,F),h===``?i=R(e.operator,a):(i=[e.operator],e.operator.length>2?i=R(i,a):(c=Ce(i).toString(),l=c.charCodeAt(c.length-1),s=a.toString().charCodeAt(0),((l===43||l===45)&&l===s||o.code.isIdentifierPartES5(l)&&o.code.isIdentifierPartES5(s))&&i.push(we()),i.push(a))),je(i,n.Unary,t)},YieldExpression:function(e,t,r){var i;return i=e.delegate?`yield*`:`yield`,e.argument&&(i=R(i,this.generateExpression(e.argument,n.Yield,F))),je(i,n.Yield,t)},AwaitExpression:function(e,t,r){return je(R(e.all?`await*`:`await`,this.generateExpression(e.argument,n.Await,F)),n.Await,t)},UpdateExpression:function(e,t,r){return e.prefix?je([e.operator,this.generateExpression(e.argument,n.Unary,F)],n.Unary,t):je([this.generateExpression(e.argument,n.Postfix,F),e.operator],n.Postfix,t)},FunctionExpression:function(e,t,n){var r=[Fe(e,!0),`function`];return e.id?(r.push(Ie(e)||we()),r.push(B(e.id))):r.push(Ie(e)||h),r.push(this.generateFunctionBody(e)),r},ArrayPattern:function(e,t,n){return this.ArrayExpression(e,t,n,!0)},ArrayExpression:function(e,t,r,i){var a,o,c=this;return e.elements.length?(o=i?!1:e.elements.length>1,a=[`[`,o?m:``],Ee(function(t){var r,i;for(r=0,i=e.elements.length;r<i;++r)e.elements[r]?(a.push(o?t:``),a.push(c.generateExpression(e.elements[r],n.Assignment,F))):(o&&a.push(t),r+1===i&&a.push(`,`)),r+1<i&&a.push(`,`+(o?m:h))}),o&&!pe(Ce(a).toString())&&a.push(m),a.push(o?s:``),a.push(`]`),a):`[]`},RestElement:function(e,t,n){return`...`+this.generatePattern(e.argument)},ClassExpression:function(e,t,r){var i,a;return i=[`class`],e.id&&(i=R(i,this.generateExpression(e.id,n.Sequence,F))),e.superClass&&(a=R(`extends`,this.generateExpression(e.superClass,n.Unary,F)),i=R(i,a)),i.push(h),i.push(this.generateStatement(e.body,oe)),i},MethodDefinition:function(e,t,n){var r,i;return r=e.static?[`static`+h]:[],i=e.kind===`get`||e.kind===`set`?[R(e.kind,this.generatePropertyKey(e.key,e.computed)),this.generateFunctionBody(e.value)]:[Le(e),this.generatePropertyKey(e.key,e.computed),this.generateFunctionBody(e.value)],R(r,i)},Property:function(e,t,r){return e.kind===`get`||e.kind===`set`?[e.kind,we(),this.generatePropertyKey(e.key,e.computed),this.generateFunctionBody(e.value)]:e.shorthand?e.value.type===`AssignmentPattern`?this.AssignmentPattern(e.value,n.Sequence,F):this.generatePropertyKey(e.key,e.computed):e.method?[Le(e),this.generatePropertyKey(e.key,e.computed),this.generateFunctionBody(e.value)]:[this.generatePropertyKey(e.key,e.computed),`:`+h,this.generateExpression(e.value,n.Assignment,F)]},ObjectExpression:function(e,t,r){var i,a,o,c=this;return e.properties.length?(i=e.properties.length>1,Ee(function(){o=c.generateExpression(e.properties[0],n.Sequence,F)}),!i&&!fe(Ce(o).toString())?[`{`,h,o,h,`}`]:(Ee(function(t){var r,s;if(a=[`{`,m,t,o],i)for(a.push(`,`+m),r=1,s=e.properties.length;r<s;++r)a.push(t),a.push(c.generateExpression(e.properties[r],n.Sequence,F)),r+1<s&&a.push(`,`+m)}),pe(Ce(a).toString())||a.push(m),a.push(s),a.push(`}`),a)):`{}`},AssignmentPattern:function(e,t,n){return this.generateAssignment(e.left,e.right,`=`,t,n)},ObjectPattern:function(e,r,i){var a,o,c,l,u,d=this;if(!e.properties.length)return`{}`;if(l=!1,e.properties.length===1)u=e.properties[0],u.type===t.Property&&u.value.type!==t.Identifier&&(l=!0);else for(o=0,c=e.properties.length;o<c;++o)if(u=e.properties[o],u.type===t.Property&&!u.shorthand){l=!0;break}return a=[`{`,l?m:``],Ee(function(t){var r,i;for(r=0,i=e.properties.length;r<i;++r)a.push(l?t:``),a.push(d.generateExpression(e.properties[r],n.Sequence,F)),r+1<i&&a.push(`,`+(l?m:h))}),l&&!pe(Ce(a).toString())&&a.push(m),a.push(l?s:``),a.push(`}`),a},ThisExpression:function(e,t,n){return`this`},Super:function(e,t,n){return`super`},Identifier:function(e,t,n){return B(e)},ImportDefaultSpecifier:function(e,t,n){return B(e.id||e.local)},ImportNamespaceSpecifier:function(e,t,n){var r=[`*`],i=e.id||e.local;return i&&r.push(h+`as`+we()+B(i)),r},ImportSpecifier:function(e,t,n){var r=e.imported,i=[r.name],a=e.local;return a&&a.name!==r.name&&i.push(we()+`as`+we()+B(a)),i},ExportSpecifier:function(e,t,n){var r=e.local,i=[r.name],a=e.exported;return a&&a.name!==r.name&&i.push(we()+`as`+we()+B(a)),i},Literal:function(e,n,r){var i;if(e.hasOwnProperty(`raw`)&&x&&b.raw)try{if(i=x(e.raw).body[0].expression,i.type===t.Literal&&i.value===e.value)return e.raw}catch{}return e.regex?`/`+e.regex.pattern+`/`+e.regex.flags:typeof e.value==`bigint`?e.value.toString()+`n`:e.bigint?e.bigint+`n`:e.value===null?`null`:typeof e.value==`string`?L(e.value):typeof e.value==`number`?ge(e.value):typeof e.value==`boolean`?e.value?`true`:`false`:ve(e.value)},GeneratorExpression:function(e,t,n){return this.ComprehensionExpression(e,t,n)},ComprehensionExpression:function(e,r,i){var a,o,s,c,l=this;return a=e.type===t.GeneratorExpression?[`(`]:[`[`],b.moz.comprehensionExpressionStartsWithAssignment&&(c=this.generateExpression(e.body,n.Assignment,F),a.push(c)),e.blocks&&Ee(function(){for(o=0,s=e.blocks.length;o<s;++o)c=l.generateExpression(e.blocks[o],n.Sequence,F),o>0||b.moz.comprehensionExpressionStartsWithAssignment?a=R(a,c):a.push(c)}),e.filter&&(a=R(a,`if`+h),c=this.generateExpression(e.filter,n.Sequence,F),a=R(a,[`(`,c,`)`])),b.moz.comprehensionExpressionStartsWithAssignment||(c=this.generateExpression(e.body,n.Assignment,F),a=R(a,c)),a.push(e.type===t.GeneratorExpression?`)`:`]`),a},ComprehensionBlock:function(e,r,i){var a;return a=e.left.type===t.VariableDeclaration?[e.left.kind,we(),this.generateStatement(e.left.declarations[0],se)]:this.generateExpression(e.left,n.Call,F),a=R(a,e.of?`of`:`in`),a=R(a,this.generateExpression(e.right,n.Sequence,F)),[`for`+h+`(`,a,`)`]},SpreadElement:function(e,t,r){return[`...`,this.generateExpression(e.argument,n.Assignment,F)]},TaggedTemplateExpression:function(e,t,r){var i=ne;return r&A||(i=re),je([this.generateExpression(e.tag,n.Call,i),this.generateExpression(e.quasi,n.Primary,ie)],n.TaggedTemplate,t)},TemplateElement:function(e,t,n){return e.value.raw},TemplateLiteral:function(e,t,r){var i,a,o;for(i=["`"],a=0,o=e.quasis.length;a<o;++a)i.push(this.generateExpression(e.quasis[a],n.Primary,F)),a+1<o&&(i.push("${"+h),i.push(this.generateExpression(e.expressions[a],n.Sequence,F)),i.push(h+`}`));return i.push("`"),i},ModuleSpecifier:function(e,t,n){return this.Literal(e,t,n)},ImportExpression:function(e,t,r){return je([`import(`,this.generateExpression(e.source,n.Assignment,F),`)`],n.Call,t)}},me(Pe.prototype,Pe.Expression),Pe.prototype.generateExpression=function(e,n,r){var i,a;return a=e.type||t.Property,b.verbatim&&e.hasOwnProperty(b.verbatim)?Ne(e,n):(i=this[a](e,n,r),b.comment&&(i=ke(e,i)),Ce(i,e))},Pe.prototype.generateStatement=function(e,n){var r,i;return r=this[e.type](e,n),b.comment&&(r=ke(e,r)),i=Ce(r).toString(),e.type===t.Program&&!v&&m===``&&i.charAt(i.length-1)===`
1208
+ `&&(r=S?Ce(r).replaceRight(/\s+$/,``):i.replace(/\s+$/,``)),Ce(r,e)};function Re(e){var t;if(t=new Pe,O(e))return t.generateStatement(e,I);if(D(e))return t.generateExpression(e,n.Sequence,F);throw Error(`Unknown node type: `+e.type)}function ze(t,n){var r=ue(),a,o;return n==null?(n=r,c=n.format.indent.style,s=de(c,n.format.indent.base)):(typeof n.indent==`string`&&(r.format.indent.style=n.indent),typeof n.base==`number`&&(r.format.indent.base=n.base),n=he(r,n),c=n.format.indent.style,s=typeof n.base==`string`?n.base:de(c,n.format.indent.base)),l=n.format.json,u=n.format.renumber,d=l?!1:n.format.hexadecimal,f=l?`double`:n.format.quotes,p=n.format.escapeless,m=n.format.newline,h=n.format.space,n.format.compact&&(m=h=c=s=``),g=n.format.parentheses,_=n.format.semicolons,v=n.format.safeConcatenation,y=n.directive,x=l?null:n.parse,S=n.sourceMap,C=n.sourceCode,w=n.format.preserveBlankLines&&C!==null,b=n,S&&(i=e.browser?global.sourceMap.SourceNode:R0().SourceNode),a=Re(t),S?(o=a.toStringWithSourceMap({file:n.file,sourceRoot:n.sourceMapRoot}),n.sourceContent&&o.map.setSourceContent(n.sourceMap,n.sourceContent),n.sourceMapWithCode?o:o.map.toString()):(o={code:a.toString(),map:null},n.sourceMapWithCode?o:o.code)}T={indent:{style:``,base:0},renumber:!0,hexadecimal:!0,quotes:`auto`,escapeless:!0,compact:!0,parentheses:!1,semicolons:!1},E=ue().format,e.version=z0().version,e.generate=ze,e.attachComments=a.attachComments,e.Precedence=he({},n),e.browser=!1,e.FORMAT_MINIFY=T,e.FORMAT_DEFAULTS=E})()}}),V0=B$({"../../../node_modules/acorn/dist/acorn.js"(e,t){(function(n,r){typeof e==`object`&&typeof t<`u`?r(e):typeof define==`function`&&define.amd?define([`exports`],r):(n||=self,r(n.acorn={}))})(e,(function(e){var t={3:`abstract boolean byte char class double enum export extends final float goto implements import int interface long native package private protected public short static super synchronized throws transient volatile`,5:`class enum extends super const export import`,6:`enum`,strict:`implements interface let package private protected public static yield`,strictBind:`eval arguments`},n=`break case catch continue debugger default do else finally for function if return switch throw try var while with null true false instanceof typeof void delete new in this`,r={5:n,"5module":n+` export import`,6:n+` const class extends export import super`},i=/^in(stanceof)?$/,a=`ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࢠ-ࢴࢶ-ࣇऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲈᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-鿼ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞿꟂ-ꟊꟵ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ`,o=`‌‍·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛࣓-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-ໍ໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜔ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠐-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿᫀᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷹᷻-᷿‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_`,s=RegExp(`[`+a+`]`),c=RegExp(`[`+a+o+`]`);a=o=null;var l=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,157,310,10,21,11,7,153,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,71,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,349,41,7,1,79,28,11,0,9,21,107,20,28,22,13,52,76,44,33,24,27,35,30,0,3,0,9,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,85,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,159,52,19,3,21,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,230,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,35,56,264,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,328,18,190,0,80,921,103,110,18,195,2749,1070,4050,582,8634,568,8,30,114,29,19,47,17,3,32,20,6,18,689,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,43,8,8952,286,50,2,18,3,9,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,2357,44,11,6,17,0,370,43,1301,196,60,67,8,0,1205,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42717,35,4148,12,221,3,5761,15,7472,3104,541,1507,4938],u=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,370,1,154,10,176,2,54,14,32,9,16,3,46,10,54,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,161,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,193,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,84,14,5,9,243,14,166,9,71,5,2,1,3,3,2,0,2,1,13,9,120,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,406,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,330,3,19306,9,135,4,60,6,26,9,1014,0,2,54,8,3,82,0,12,1,19628,1,5319,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,262,6,10,9,419,13,1495,6,110,6,6,9,4759,9,787719,239];function d(e,t){for(var n=65536,r=0;r<t.length;r+=2){if(n+=t[r],n>e)return!1;if(n+=t[r+1],n>=e)return!0}}function f(e,t){return e<65?e===36:e<91?!0:e<97?e===95:e<123?!0:e<=65535?e>=170&&s.test(String.fromCharCode(e)):t===!1?!1:d(e,l)}function p(e,t){return e<48?e===36:e<58?!0:e<65?!1:e<91?!0:e<97?e===95:e<123?!0:e<=65535?e>=170&&c.test(String.fromCharCode(e)):t===!1?!1:d(e,l)||d(e,u)}var m=function(e,t){t===void 0&&(t={}),this.label=e,this.keyword=t.keyword,this.beforeExpr=!!t.beforeExpr,this.startsExpr=!!t.startsExpr,this.isLoop=!!t.isLoop,this.isAssign=!!t.isAssign,this.prefix=!!t.prefix,this.postfix=!!t.postfix,this.binop=t.binop||null,this.updateContext=null};function h(e,t){return new m(e,{beforeExpr:!0,binop:t})}var g={beforeExpr:!0},_={startsExpr:!0},v={};function y(e,t){return t===void 0&&(t={}),t.keyword=e,v[e]=new m(e,t)}var b={num:new m(`num`,_),regexp:new m(`regexp`,_),string:new m(`string`,_),name:new m(`name`,_),eof:new m(`eof`),bracketL:new m(`[`,{beforeExpr:!0,startsExpr:!0}),bracketR:new m(`]`),braceL:new m(`{`,{beforeExpr:!0,startsExpr:!0}),braceR:new m(`}`),parenL:new m(`(`,{beforeExpr:!0,startsExpr:!0}),parenR:new m(`)`),comma:new m(`,`,g),semi:new m(`;`,g),colon:new m(`:`,g),dot:new m(`.`),question:new m(`?`,g),questionDot:new m(`?.`),arrow:new m(`=>`,g),template:new m(`template`),invalidTemplate:new m(`invalidTemplate`),ellipsis:new m(`...`,g),backQuote:new m("`",_),dollarBraceL:new m("${",{beforeExpr:!0,startsExpr:!0}),eq:new m(`=`,{beforeExpr:!0,isAssign:!0}),assign:new m(`_=`,{beforeExpr:!0,isAssign:!0}),incDec:new m(`++/--`,{prefix:!0,postfix:!0,startsExpr:!0}),prefix:new m(`!/~`,{beforeExpr:!0,prefix:!0,startsExpr:!0}),logicalOR:h(`||`,1),logicalAND:h(`&&`,2),bitwiseOR:h(`|`,3),bitwiseXOR:h(`^`,4),bitwiseAND:h(`&`,5),equality:h(`==/!=/===/!==`,6),relational:h(`</>/<=/>=`,7),bitShift:h(`<</>>/>>>`,8),plusMin:new m(`+/-`,{beforeExpr:!0,binop:9,prefix:!0,startsExpr:!0}),modulo:h(`%`,10),star:h(`*`,10),slash:h(`/`,10),starstar:new m(`**`,{beforeExpr:!0}),coalesce:h(`??`,1),_break:y(`break`),_case:y(`case`,g),_catch:y(`catch`),_continue:y(`continue`),_debugger:y(`debugger`),_default:y(`default`,g),_do:y(`do`,{isLoop:!0,beforeExpr:!0}),_else:y(`else`,g),_finally:y(`finally`),_for:y(`for`,{isLoop:!0}),_function:y(`function`,_),_if:y(`if`),_return:y(`return`,g),_switch:y(`switch`),_throw:y(`throw`,g),_try:y(`try`),_var:y(`var`),_const:y(`const`),_while:y(`while`,{isLoop:!0}),_with:y(`with`),_new:y(`new`,{beforeExpr:!0,startsExpr:!0}),_this:y(`this`,_),_super:y(`super`,_),_class:y(`class`,_),_extends:y(`extends`,g),_export:y(`export`),_import:y(`import`,_),_null:y(`null`,_),_true:y(`true`,_),_false:y(`false`,_),_in:y(`in`,{beforeExpr:!0,binop:7}),_instanceof:y(`instanceof`,{beforeExpr:!0,binop:7}),_typeof:y(`typeof`,{beforeExpr:!0,prefix:!0,startsExpr:!0}),_void:y(`void`,{beforeExpr:!0,prefix:!0,startsExpr:!0}),_delete:y(`delete`,{beforeExpr:!0,prefix:!0,startsExpr:!0})},x=/\r\n?|\n|\u2028|\u2029/,S=new RegExp(x.source,`g`);function C(e,t){return e===10||e===13||!t&&(e===8232||e===8233)}var w=/[\u1680\u2000-\u200a\u202f\u205f\u3000\ufeff]/,T=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g,E=Object.prototype,D=E.hasOwnProperty,O=E.toString;function k(e,t){return D.call(e,t)}var A=Array.isArray||(function(e){return O.call(e)===`[object Array]`});function j(e){return RegExp(`^(?:`+e.replace(/ /g,`|`)+`)$`)}var M=function(e,t){this.line=e,this.column=t};M.prototype.offset=function(e){return new M(this.line,this.column+e)};var N=function(e,t,n){this.start=t,this.end=n,e.sourceFile!==null&&(this.source=e.sourceFile)};function P(e,t){for(var n=1,r=0;;){S.lastIndex=r;var i=S.exec(e);if(i&&i.index<t)++n,r=i.index+i[0].length;else return new M(n,t-r)}}var ee={ecmaVersion:10,sourceType:`script`,onInsertedSemicolon:null,onTrailingComma:null,allowReserved:null,allowReturnOutsideFunction:!1,allowImportExportEverywhere:!1,allowAwaitOutsideFunction:!1,allowHashBang:!1,locations:!1,onToken:null,onComment:null,ranges:!1,program:null,sourceFile:null,directSourceFile:null,preserveParens:!1};function te(e){var t={};for(var n in ee)t[n]=e&&k(e,n)?e[n]:ee[n];if(t.ecmaVersion>=2015&&(t.ecmaVersion-=2009),t.allowReserved??=t.ecmaVersion<5,A(t.onToken)){var r=t.onToken;t.onToken=function(e){return r.push(e)}}return A(t.onComment)&&(t.onComment=ne(t,t.onComment)),t}function ne(e,t){return function(n,r,i,a,o,s){var c={type:n?`Block`:`Line`,value:r,start:i,end:a};e.locations&&(c.loc=new N(this,o,s)),e.ranges&&(c.range=[i,a]),t.push(c)}}var F=1,re=2,ie=F|re,ae=4,I=8,oe=16,se=32,ce=64,le=128;function ue(e,t){return re|(e?ae:0)|(t?I:0)}var de=0,fe=1,pe=2,me=3,he=4,ge=5,_e=function(e,n,i){this.options=e=te(e),this.sourceFile=e.sourceFile,this.keywords=j(r[e.ecmaVersion>=6?6:e.sourceType===`module`?`5module`:5]);var a=``;if(e.allowReserved!==!0){for(var o=e.ecmaVersion;!(a=t[o]);o--);e.sourceType===`module`&&(a+=` await`)}this.reservedWords=j(a);var s=(a?a+` `:``)+t.strict;this.reservedWordsStrict=j(s),this.reservedWordsStrictBind=j(s+` `+t.strictBind),this.input=String(n),this.containsEsc=!1,i?(this.pos=i,this.lineStart=this.input.lastIndexOf(`
1209
+ `,i-1)+1,this.curLine=this.input.slice(0,this.lineStart).split(x).length):(this.pos=this.lineStart=0,this.curLine=1),this.type=b.eof,this.value=null,this.start=this.end=this.pos,this.startLoc=this.endLoc=this.curPosition(),this.lastTokEndLoc=this.lastTokStartLoc=null,this.lastTokStart=this.lastTokEnd=this.pos,this.context=this.initialContext(),this.exprAllowed=!0,this.inModule=e.sourceType===`module`,this.strict=this.inModule||this.strictDirective(this.pos),this.potentialArrowAt=-1,this.yieldPos=this.awaitPos=this.awaitIdentPos=0,this.labels=[],this.undefinedExports={},this.pos===0&&e.allowHashBang&&this.input.slice(0,2)===`#!`&&this.skipLineComment(2),this.scopeStack=[],this.enterScope(F),this.regexpState=null},ve={inFunction:{configurable:!0},inGenerator:{configurable:!0},inAsync:{configurable:!0},allowSuper:{configurable:!0},allowDirectSuper:{configurable:!0},treatFunctionsAsVar:{configurable:!0}};_e.prototype.parse=function(){var e=this.options.program||this.startNode();return this.nextToken(),this.parseTopLevel(e)},ve.inFunction.get=function(){return(this.currentVarScope().flags&re)>0},ve.inGenerator.get=function(){return(this.currentVarScope().flags&I)>0},ve.inAsync.get=function(){return(this.currentVarScope().flags&ae)>0},ve.allowSuper.get=function(){return(this.currentThisScope().flags&ce)>0},ve.allowDirectSuper.get=function(){return(this.currentThisScope().flags&le)>0},ve.treatFunctionsAsVar.get=function(){return this.treatFunctionsAsVarInScope(this.currentScope())},_e.prototype.inNonArrowFunction=function(){return(this.currentThisScope().flags&re)>0},_e.extend=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];for(var n=this,r=0;r<e.length;r++)n=e[r](n);return n},_e.parse=function(e,t){return new this(t,e).parse()},_e.parseExpressionAt=function(e,t,n){var r=new this(n,e,t);return r.nextToken(),r.parseExpression()},_e.tokenizer=function(e,t){return new this(t,e)},Object.defineProperties(_e.prototype,ve);var ye=_e.prototype,be=/^(?:'((?:\\.|[^'\\])*?)'|"((?:\\.|[^"\\])*?)")/;ye.strictDirective=function(e){for(;;){T.lastIndex=e,e+=T.exec(this.input)[0].length;var t=be.exec(this.input.slice(e));if(!t)return!1;if((t[1]||t[2])===`use strict`){T.lastIndex=e+t[0].length;var n=T.exec(this.input),r=n.index+n[0].length,i=this.input.charAt(r);return i===`;`||i===`}`||x.test(n[0])&&!(/[(`.[+\-/*%<>=,?^&]/.test(i)||i===`!`&&this.input.charAt(r+1)===`=`)}e+=t[0].length,T.lastIndex=e,e+=T.exec(this.input)[0].length,this.input[e]===`;`&&e++}},ye.eat=function(e){return this.type===e?(this.next(),!0):!1},ye.isContextual=function(e){return this.type===b.name&&this.value===e&&!this.containsEsc},ye.eatContextual=function(e){return this.isContextual(e)?(this.next(),!0):!1},ye.expectContextual=function(e){this.eatContextual(e)||this.unexpected()},ye.canInsertSemicolon=function(){return this.type===b.eof||this.type===b.braceR||x.test(this.input.slice(this.lastTokEnd,this.start))},ye.insertSemicolon=function(){if(this.canInsertSemicolon())return this.options.onInsertedSemicolon&&this.options.onInsertedSemicolon(this.lastTokEnd,this.lastTokEndLoc),!0},ye.semicolon=function(){!this.eat(b.semi)&&!this.insertSemicolon()&&this.unexpected()},ye.afterTrailingComma=function(e,t){if(this.type===e)return this.options.onTrailingComma&&this.options.onTrailingComma(this.lastTokStart,this.lastTokStartLoc),t||this.next(),!0},ye.expect=function(e){this.eat(e)||this.unexpected()},ye.unexpected=function(e){this.raise(e??this.start,`Unexpected token`)};function xe(){this.shorthandAssign=this.trailingComma=this.parenthesizedAssign=this.parenthesizedBind=this.doubleProto=-1}ye.checkPatternErrors=function(e,t){if(e){e.trailingComma>-1&&this.raiseRecoverable(e.trailingComma,`Comma is not permitted after the rest element`);var n=t?e.parenthesizedAssign:e.parenthesizedBind;n>-1&&this.raiseRecoverable(n,`Parenthesized pattern`)}},ye.checkExpressionErrors=function(e,t){if(!e)return!1;var n=e.shorthandAssign,r=e.doubleProto;if(!t)return n>=0||r>=0;n>=0&&this.raise(n,`Shorthand property assignments are valid only in destructuring patterns`),r>=0&&this.raiseRecoverable(r,`Redefinition of __proto__ property`)},ye.checkYieldAwaitInDefaultParams=function(){this.yieldPos&&(!this.awaitPos||this.yieldPos<this.awaitPos)&&this.raise(this.yieldPos,`Yield expression cannot be a default value`),this.awaitPos&&this.raise(this.awaitPos,`Await expression cannot be a default value`)},ye.isSimpleAssignTarget=function(e){return e.type===`ParenthesizedExpression`?this.isSimpleAssignTarget(e.expression):e.type===`Identifier`||e.type===`MemberExpression`};var L=_e.prototype;L.parseTopLevel=function(e){var t={};for(e.body||=[];this.type!==b.eof;){var n=this.parseStatement(null,!0,t);e.body.push(n)}if(this.inModule)for(var r=0,i=Object.keys(this.undefinedExports);r<i.length;r+=1){var a=i[r];this.raiseRecoverable(this.undefinedExports[a].start,`Export '`+a+`' is not defined`)}return this.adaptDirectivePrologue(e.body),this.next(),e.sourceType=this.options.sourceType,this.finishNode(e,`Program`)};var Se={kind:`loop`},Ce={kind:`switch`};L.isLet=function(e){if(this.options.ecmaVersion<6||!this.isContextual(`let`))return!1;T.lastIndex=this.pos;var t=T.exec(this.input),n=this.pos+t[0].length,r=this.input.charCodeAt(n);if(r===91)return!0;if(e)return!1;if(r===123)return!0;if(f(r,!0)){for(var a=n+1;p(this.input.charCodeAt(a),!0);)++a;var o=this.input.slice(n,a);if(!i.test(o))return!0}return!1},L.isAsyncFunction=function(){if(this.options.ecmaVersion<8||!this.isContextual(`async`))return!1;T.lastIndex=this.pos;var e=T.exec(this.input),t=this.pos+e[0].length;return!x.test(this.input.slice(this.pos,t))&&this.input.slice(t,t+8)===`function`&&(t+8===this.input.length||!p(this.input.charAt(t+8)))},L.parseStatement=function(e,t,n){var r=this.type,i=this.startNode(),a;switch(this.isLet(e)&&(r=b._var,a=`let`),r){case b._break:case b._continue:return this.parseBreakContinueStatement(i,r.keyword);case b._debugger:return this.parseDebuggerStatement(i);case b._do:return this.parseDoStatement(i);case b._for:return this.parseForStatement(i);case b._function:return e&&(this.strict||e!==`if`&&e!==`label`)&&this.options.ecmaVersion>=6&&this.unexpected(),this.parseFunctionStatement(i,!1,!e);case b._class:return e&&this.unexpected(),this.parseClass(i,!0);case b._if:return this.parseIfStatement(i);case b._return:return this.parseReturnStatement(i);case b._switch:return this.parseSwitchStatement(i);case b._throw:return this.parseThrowStatement(i);case b._try:return this.parseTryStatement(i);case b._const:case b._var:return a||=this.value,e&&a!==`var`&&this.unexpected(),this.parseVarStatement(i,a);case b._while:return this.parseWhileStatement(i);case b._with:return this.parseWithStatement(i);case b.braceL:return this.parseBlock(!0,i);case b.semi:return this.parseEmptyStatement(i);case b._export:case b._import:if(this.options.ecmaVersion>10&&r===b._import){T.lastIndex=this.pos;var o=T.exec(this.input),s=this.pos+o[0].length,c=this.input.charCodeAt(s);if(c===40||c===46)return this.parseExpressionStatement(i,this.parseExpression())}return this.options.allowImportExportEverywhere||(t||this.raise(this.start,`'import' and 'export' may only appear at the top level`),this.inModule||this.raise(this.start,`'import' and 'export' may appear only with 'sourceType: module'`)),r===b._import?this.parseImport(i):this.parseExport(i,n);default:if(this.isAsyncFunction())return e&&this.unexpected(),this.next(),this.parseFunctionStatement(i,!0,!e);var l=this.value,u=this.parseExpression();return r===b.name&&u.type===`Identifier`&&this.eat(b.colon)?this.parseLabeledStatement(i,l,u,e):this.parseExpressionStatement(i,u)}},L.parseBreakContinueStatement=function(e,t){var n=t===`break`;this.next(),this.eat(b.semi)||this.insertSemicolon()?e.label=null:this.type===b.name?(e.label=this.parseIdent(),this.semicolon()):this.unexpected();for(var r=0;r<this.labels.length;++r){var i=this.labels[r];if((e.label==null||i.name===e.label.name)&&(i.kind!=null&&(n||i.kind===`loop`)||e.label&&n))break}return r===this.labels.length&&this.raise(e.start,`Unsyntactic `+t),this.finishNode(e,n?`BreakStatement`:`ContinueStatement`)},L.parseDebuggerStatement=function(e){return this.next(),this.semicolon(),this.finishNode(e,`DebuggerStatement`)},L.parseDoStatement=function(e){return this.next(),this.labels.push(Se),e.body=this.parseStatement(`do`),this.labels.pop(),this.expect(b._while),e.test=this.parseParenExpression(),this.options.ecmaVersion>=6?this.eat(b.semi):this.semicolon(),this.finishNode(e,`DoWhileStatement`)},L.parseForStatement=function(e){this.next();var t=this.options.ecmaVersion>=9&&(this.inAsync||!this.inFunction&&this.options.allowAwaitOutsideFunction)&&this.eatContextual(`await`)?this.lastTokStart:-1;if(this.labels.push(Se),this.enterScope(0),this.expect(b.parenL),this.type===b.semi)return t>-1&&this.unexpected(t),this.parseFor(e,null);var n=this.isLet();if(this.type===b._var||this.type===b._const||n){var r=this.startNode(),i=n?`let`:this.value;return this.next(),this.parseVar(r,!0,i),this.finishNode(r,`VariableDeclaration`),(this.type===b._in||this.options.ecmaVersion>=6&&this.isContextual(`of`))&&r.declarations.length===1?(this.options.ecmaVersion>=9&&(this.type===b._in?t>-1&&this.unexpected(t):e.await=t>-1),this.parseForIn(e,r)):(t>-1&&this.unexpected(t),this.parseFor(e,r))}var a=new xe,o=this.parseExpression(!0,a);return this.type===b._in||this.options.ecmaVersion>=6&&this.isContextual(`of`)?(this.options.ecmaVersion>=9&&(this.type===b._in?t>-1&&this.unexpected(t):e.await=t>-1),this.toAssignable(o,!1,a),this.checkLVal(o),this.parseForIn(e,o)):(this.checkExpressionErrors(a,!0),t>-1&&this.unexpected(t),this.parseFor(e,o))},L.parseFunctionStatement=function(e,t,n){return this.next(),this.parseFunction(e,R|(n?0:Te),!1,t)},L.parseIfStatement=function(e){return this.next(),e.test=this.parseParenExpression(),e.consequent=this.parseStatement(`if`),e.alternate=this.eat(b._else)?this.parseStatement(`if`):null,this.finishNode(e,`IfStatement`)},L.parseReturnStatement=function(e){return!this.inFunction&&!this.options.allowReturnOutsideFunction&&this.raise(this.start,`'return' outside of function`),this.next(),this.eat(b.semi)||this.insertSemicolon()?e.argument=null:(e.argument=this.parseExpression(),this.semicolon()),this.finishNode(e,`ReturnStatement`)},L.parseSwitchStatement=function(e){this.next(),e.discriminant=this.parseParenExpression(),e.cases=[],this.expect(b.braceL),this.labels.push(Ce),this.enterScope(0);for(var t,n=!1;this.type!==b.braceR;)if(this.type===b._case||this.type===b._default){var r=this.type===b._case;t&&this.finishNode(t,`SwitchCase`),e.cases.push(t=this.startNode()),t.consequent=[],this.next(),r?t.test=this.parseExpression():(n&&this.raiseRecoverable(this.lastTokStart,`Multiple default clauses`),n=!0,t.test=null),this.expect(b.colon)}else t||this.unexpected(),t.consequent.push(this.parseStatement(null));return this.exitScope(),t&&this.finishNode(t,`SwitchCase`),this.next(),this.labels.pop(),this.finishNode(e,`SwitchStatement`)},L.parseThrowStatement=function(e){return this.next(),x.test(this.input.slice(this.lastTokEnd,this.start))&&this.raise(this.lastTokEnd,`Illegal newline after throw`),e.argument=this.parseExpression(),this.semicolon(),this.finishNode(e,`ThrowStatement`)};var we=[];L.parseTryStatement=function(e){if(this.next(),e.block=this.parseBlock(),e.handler=null,this.type===b._catch){var t=this.startNode();if(this.next(),this.eat(b.parenL)){t.param=this.parseBindingAtom();var n=t.param.type===`Identifier`;this.enterScope(n?se:0),this.checkLVal(t.param,n?he:pe),this.expect(b.parenR)}else this.options.ecmaVersion<10&&this.unexpected(),t.param=null,this.enterScope(0);t.body=this.parseBlock(!1),this.exitScope(),e.handler=this.finishNode(t,`CatchClause`)}return e.finalizer=this.eat(b._finally)?this.parseBlock():null,!e.handler&&!e.finalizer&&this.raise(e.start,`Missing catch or finally clause`),this.finishNode(e,`TryStatement`)},L.parseVarStatement=function(e,t){return this.next(),this.parseVar(e,!1,t),this.semicolon(),this.finishNode(e,`VariableDeclaration`)},L.parseWhileStatement=function(e){return this.next(),e.test=this.parseParenExpression(),this.labels.push(Se),e.body=this.parseStatement(`while`),this.labels.pop(),this.finishNode(e,`WhileStatement`)},L.parseWithStatement=function(e){return this.strict&&this.raise(this.start,`'with' in strict mode`),this.next(),e.object=this.parseParenExpression(),e.body=this.parseStatement(`with`),this.finishNode(e,`WithStatement`)},L.parseEmptyStatement=function(e){return this.next(),this.finishNode(e,`EmptyStatement`)},L.parseLabeledStatement=function(e,t,n,r){for(var i=0,a=this.labels;i<a.length;i+=1)a[i].name===t&&this.raise(n.start,`Label '`+t+`' is already declared`);for(var o=this.type.isLoop?`loop`:this.type===b._switch?`switch`:null,s=this.labels.length-1;s>=0;s--){var c=this.labels[s];if(c.statementStart===e.start)c.statementStart=this.start,c.kind=o;else break}return this.labels.push({name:t,kind:o,statementStart:this.start}),e.body=this.parseStatement(r?r.indexOf(`label`)===-1?r+`label`:r:`label`),this.labels.pop(),e.label=n,this.finishNode(e,`LabeledStatement`)},L.parseExpressionStatement=function(e,t){return e.expression=t,this.semicolon(),this.finishNode(e,`ExpressionStatement`)},L.parseBlock=function(e,t,n){for(e===void 0&&(e=!0),t===void 0&&(t=this.startNode()),t.body=[],this.expect(b.braceL),e&&this.enterScope(0);this.type!==b.braceR;){var r=this.parseStatement(null);t.body.push(r)}return n&&(this.strict=!1),this.next(),e&&this.exitScope(),this.finishNode(t,`BlockStatement`)},L.parseFor=function(e,t){return e.init=t,this.expect(b.semi),e.test=this.type===b.semi?null:this.parseExpression(),this.expect(b.semi),e.update=this.type===b.parenR?null:this.parseExpression(),this.expect(b.parenR),e.body=this.parseStatement(`for`),this.exitScope(),this.labels.pop(),this.finishNode(e,`ForStatement`)},L.parseForIn=function(e,t){var n=this.type===b._in;return this.next(),t.type===`VariableDeclaration`&&t.declarations[0].init!=null&&(!n||this.options.ecmaVersion<8||this.strict||t.kind!==`var`||t.declarations[0].id.type!==`Identifier`)?this.raise(t.start,(n?`for-in`:`for-of`)+` loop variable declaration may not have an initializer`):t.type===`AssignmentPattern`&&this.raise(t.start,`Invalid left-hand side in for-loop`),e.left=t,e.right=n?this.parseExpression():this.parseMaybeAssign(),this.expect(b.parenR),e.body=this.parseStatement(`for`),this.exitScope(),this.labels.pop(),this.finishNode(e,n?`ForInStatement`:`ForOfStatement`)},L.parseVar=function(e,t,n){for(e.declarations=[],e.kind=n;;){var r=this.startNode();if(this.parseVarId(r,n),this.eat(b.eq)?r.init=this.parseMaybeAssign(t):n===`const`&&!(this.type===b._in||this.options.ecmaVersion>=6&&this.isContextual(`of`))?this.unexpected():r.id.type!==`Identifier`&&!(t&&(this.type===b._in||this.isContextual(`of`)))?this.raise(this.lastTokEnd,`Complex binding patterns require an initialization value`):r.init=null,e.declarations.push(this.finishNode(r,`VariableDeclarator`)),!this.eat(b.comma))break}return e},L.parseVarId=function(e,t){e.id=this.parseBindingAtom(),this.checkLVal(e.id,t===`var`?fe:pe,!1)};var R=1,Te=2,Ee=4;L.parseFunction=function(e,t,n,r){this.initFunction(e),(this.options.ecmaVersion>=9||this.options.ecmaVersion>=6&&!r)&&(this.type===b.star&&t&Te&&this.unexpected(),e.generator=this.eat(b.star)),this.options.ecmaVersion>=8&&(e.async=!!r),t&R&&(e.id=t&Ee&&this.type!==b.name?null:this.parseIdent(),e.id&&!(t&Te)&&this.checkLVal(e.id,this.strict||e.generator||e.async?this.treatFunctionsAsVar?fe:pe:me));var i=this.yieldPos,a=this.awaitPos,o=this.awaitIdentPos;return this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,this.enterScope(ue(e.async,e.generator)),t&R||(e.id=this.type===b.name?this.parseIdent():null),this.parseFunctionParams(e),this.parseFunctionBody(e,n,!1),this.yieldPos=i,this.awaitPos=a,this.awaitIdentPos=o,this.finishNode(e,t&R?`FunctionDeclaration`:`FunctionExpression`)},L.parseFunctionParams=function(e){this.expect(b.parenL),e.params=this.parseBindingList(b.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams()},L.parseClass=function(e,t){this.next();var n=this.strict;this.strict=!0,this.parseClassId(e,t),this.parseClassSuper(e);var r=this.startNode(),i=!1;for(r.body=[],this.expect(b.braceL);this.type!==b.braceR;){var a=this.parseClassElement(e.superClass!==null);a&&(r.body.push(a),a.type===`MethodDefinition`&&a.kind===`constructor`&&(i&&this.raise(a.start,`Duplicate constructor in the same class`),i=!0))}return this.strict=n,this.next(),e.body=this.finishNode(r,`ClassBody`),this.finishNode(e,t?`ClassDeclaration`:`ClassExpression`)},L.parseClassElement=function(e){var t=this;if(this.eat(b.semi))return null;var n=this.startNode(),r=function(e,r){r===void 0&&(r=!1);var i=t.start,a=t.startLoc;return t.eatContextual(e)?t.type!==b.parenL&&(!r||!t.canInsertSemicolon())?!0:(n.key&&t.unexpected(),n.computed=!1,n.key=t.startNodeAt(i,a),n.key.name=e,t.finishNode(n.key,`Identifier`),!1):!1};n.kind=`method`,n.static=r(`static`);var i=this.eat(b.star),a=!1;i||(this.options.ecmaVersion>=8&&r(`async`,!0)?(a=!0,i=this.options.ecmaVersion>=9&&this.eat(b.star)):r(`get`)?n.kind=`get`:r(`set`)&&(n.kind=`set`)),n.key||this.parsePropertyName(n);var o=n.key,s=!1;return!n.computed&&!n.static&&(o.type===`Identifier`&&o.name===`constructor`||o.type===`Literal`&&o.value===`constructor`)?(n.kind!==`method`&&this.raise(o.start,`Constructor can't have get/set modifier`),i&&this.raise(o.start,`Constructor can't be a generator`),a&&this.raise(o.start,`Constructor can't be an async method`),n.kind=`constructor`,s=e):n.static&&o.type===`Identifier`&&o.name===`prototype`&&this.raise(o.start,`Classes may not have a static property named prototype`),this.parseClassMethod(n,i,a,s),n.kind===`get`&&n.value.params.length!==0&&this.raiseRecoverable(n.value.start,`getter should have no params`),n.kind===`set`&&n.value.params.length!==1&&this.raiseRecoverable(n.value.start,`setter should have exactly one param`),n.kind===`set`&&n.value.params[0].type===`RestElement`&&this.raiseRecoverable(n.value.params[0].start,`Setter cannot use rest params`),n},L.parseClassMethod=function(e,t,n,r){return e.value=this.parseMethod(t,n,r),this.finishNode(e,`MethodDefinition`)},L.parseClassId=function(e,t){this.type===b.name?(e.id=this.parseIdent(),t&&this.checkLVal(e.id,pe,!1)):(t===!0&&this.unexpected(),e.id=null)},L.parseClassSuper=function(e){e.superClass=this.eat(b._extends)?this.parseExprSubscripts():null},L.parseExport=function(e,t){if(this.next(),this.eat(b.star))return this.options.ecmaVersion>=11&&(this.eatContextual(`as`)?(e.exported=this.parseIdent(!0),this.checkExport(t,e.exported.name,this.lastTokStart)):e.exported=null),this.expectContextual(`from`),this.type!==b.string&&this.unexpected(),e.source=this.parseExprAtom(),this.semicolon(),this.finishNode(e,`ExportAllDeclaration`);if(this.eat(b._default)){this.checkExport(t,`default`,this.lastTokStart);var n;if(this.type===b._function||(n=this.isAsyncFunction())){var r=this.startNode();this.next(),n&&this.next(),e.declaration=this.parseFunction(r,R|Ee,!1,n)}else if(this.type===b._class){var i=this.startNode();e.declaration=this.parseClass(i,`nullableID`)}else e.declaration=this.parseMaybeAssign(),this.semicolon();return this.finishNode(e,`ExportDefaultDeclaration`)}if(this.shouldParseExportStatement())e.declaration=this.parseStatement(null),e.declaration.type===`VariableDeclaration`?this.checkVariableExport(t,e.declaration.declarations):this.checkExport(t,e.declaration.id.name,e.declaration.id.start),e.specifiers=[],e.source=null;else{if(e.declaration=null,e.specifiers=this.parseExportSpecifiers(t),this.eatContextual(`from`))this.type!==b.string&&this.unexpected(),e.source=this.parseExprAtom();else{for(var a=0,o=e.specifiers;a<o.length;a+=1){var s=o[a];this.checkUnreserved(s.local),this.checkLocalExport(s.local)}e.source=null}this.semicolon()}return this.finishNode(e,`ExportNamedDeclaration`)},L.checkExport=function(e,t,n){e&&(k(e,t)&&this.raiseRecoverable(n,`Duplicate export '`+t+`'`),e[t]=!0)},L.checkPatternExport=function(e,t){var n=t.type;if(n===`Identifier`)this.checkExport(e,t.name,t.start);else if(n===`ObjectPattern`)for(var r=0,i=t.properties;r<i.length;r+=1){var a=i[r];this.checkPatternExport(e,a)}else if(n===`ArrayPattern`)for(var o=0,s=t.elements;o<s.length;o+=1){var c=s[o];c&&this.checkPatternExport(e,c)}else n===`Property`?this.checkPatternExport(e,t.value):n===`AssignmentPattern`?this.checkPatternExport(e,t.left):n===`RestElement`?this.checkPatternExport(e,t.argument):n===`ParenthesizedExpression`&&this.checkPatternExport(e,t.expression)},L.checkVariableExport=function(e,t){if(e)for(var n=0,r=t;n<r.length;n+=1){var i=r[n];this.checkPatternExport(e,i.id)}},L.shouldParseExportStatement=function(){return this.type.keyword===`var`||this.type.keyword===`const`||this.type.keyword===`class`||this.type.keyword===`function`||this.isLet()||this.isAsyncFunction()},L.parseExportSpecifiers=function(e){var t=[],n=!0;for(this.expect(b.braceL);!this.eat(b.braceR);){if(n)n=!1;else if(this.expect(b.comma),this.afterTrailingComma(b.braceR))break;var r=this.startNode();r.local=this.parseIdent(!0),r.exported=this.eatContextual(`as`)?this.parseIdent(!0):r.local,this.checkExport(e,r.exported.name,r.exported.start),t.push(this.finishNode(r,`ExportSpecifier`))}return t},L.parseImport=function(e){return this.next(),this.type===b.string?(e.specifiers=we,e.source=this.parseExprAtom()):(e.specifiers=this.parseImportSpecifiers(),this.expectContextual(`from`),e.source=this.type===b.string?this.parseExprAtom():this.unexpected()),this.semicolon(),this.finishNode(e,`ImportDeclaration`)},L.parseImportSpecifiers=function(){var e=[],t=!0;if(this.type===b.name){var n=this.startNode();if(n.local=this.parseIdent(),this.checkLVal(n.local,pe),e.push(this.finishNode(n,`ImportDefaultSpecifier`)),!this.eat(b.comma))return e}if(this.type===b.star){var r=this.startNode();return this.next(),this.expectContextual(`as`),r.local=this.parseIdent(),this.checkLVal(r.local,pe),e.push(this.finishNode(r,`ImportNamespaceSpecifier`)),e}for(this.expect(b.braceL);!this.eat(b.braceR);){if(t)t=!1;else if(this.expect(b.comma),this.afterTrailingComma(b.braceR))break;var i=this.startNode();i.imported=this.parseIdent(!0),this.eatContextual(`as`)?i.local=this.parseIdent():(this.checkUnreserved(i.imported),i.local=i.imported),this.checkLVal(i.local,pe),e.push(this.finishNode(i,`ImportSpecifier`))}return e},L.adaptDirectivePrologue=function(e){for(var t=0;t<e.length&&this.isDirectiveCandidate(e[t]);++t)e[t].directive=e[t].expression.raw.slice(1,-1)},L.isDirectiveCandidate=function(e){return e.type===`ExpressionStatement`&&e.expression.type===`Literal`&&typeof e.expression.value==`string`&&(this.input[e.start]===`"`||this.input[e.start]===`'`)};var De=_e.prototype;De.toAssignable=function(e,t,n){if(this.options.ecmaVersion>=6&&e)switch(e.type){case`Identifier`:this.inAsync&&e.name===`await`&&this.raise(e.start,`Cannot use 'await' as identifier inside an async function`);break;case`ObjectPattern`:case`ArrayPattern`:case`RestElement`:break;case`ObjectExpression`:e.type=`ObjectPattern`,n&&this.checkPatternErrors(n,!0);for(var r=0,i=e.properties;r<i.length;r+=1){var a=i[r];this.toAssignable(a,t),a.type===`RestElement`&&(a.argument.type===`ArrayPattern`||a.argument.type===`ObjectPattern`)&&this.raise(a.argument.start,`Unexpected token`)}break;case`Property`:e.kind!==`init`&&this.raise(e.key.start,`Object pattern can't contain getter or setter`),this.toAssignable(e.value,t);break;case`ArrayExpression`:e.type=`ArrayPattern`,n&&this.checkPatternErrors(n,!0),this.toAssignableList(e.elements,t);break;case`SpreadElement`:e.type=`RestElement`,this.toAssignable(e.argument,t),e.argument.type===`AssignmentPattern`&&this.raise(e.argument.start,`Rest elements cannot have a default value`);break;case`AssignmentExpression`:e.operator!==`=`&&this.raise(e.left.end,`Only '=' operator can be used for specifying default value.`),e.type=`AssignmentPattern`,delete e.operator,this.toAssignable(e.left,t);case`AssignmentPattern`:break;case`ParenthesizedExpression`:this.toAssignable(e.expression,t,n);break;case`ChainExpression`:this.raiseRecoverable(e.start,`Optional chaining cannot appear in left-hand side`);break;case`MemberExpression`:if(!t)break;default:this.raise(e.start,`Assigning to rvalue`)}else n&&this.checkPatternErrors(n,!0);return e},De.toAssignableList=function(e,t){for(var n=e.length,r=0;r<n;r++){var i=e[r];i&&this.toAssignable(i,t)}if(n){var a=e[n-1];this.options.ecmaVersion===6&&t&&a&&a.type===`RestElement`&&a.argument.type!==`Identifier`&&this.unexpected(a.argument.start)}return e},De.parseSpread=function(e){var t=this.startNode();return this.next(),t.argument=this.parseMaybeAssign(!1,e),this.finishNode(t,`SpreadElement`)},De.parseRestBinding=function(){var e=this.startNode();return this.next(),this.options.ecmaVersion===6&&this.type!==b.name&&this.unexpected(),e.argument=this.parseBindingAtom(),this.finishNode(e,`RestElement`)},De.parseBindingAtom=function(){if(this.options.ecmaVersion>=6)switch(this.type){case b.bracketL:var e=this.startNode();return this.next(),e.elements=this.parseBindingList(b.bracketR,!0,!0),this.finishNode(e,`ArrayPattern`);case b.braceL:return this.parseObj(!0)}return this.parseIdent()},De.parseBindingList=function(e,t,n){for(var r=[],i=!0;!this.eat(e);)if(i?i=!1:this.expect(b.comma),t&&this.type===b.comma)r.push(null);else{if(n&&this.afterTrailingComma(e))break;if(this.type===b.ellipsis){var a=this.parseRestBinding();this.parseBindingListItem(a),r.push(a),this.type===b.comma&&this.raise(this.start,`Comma is not permitted after the rest element`),this.expect(e);break}else{var o=this.parseMaybeDefault(this.start,this.startLoc);this.parseBindingListItem(o),r.push(o)}}return r},De.parseBindingListItem=function(e){return e},De.parseMaybeDefault=function(e,t,n){if(n||=this.parseBindingAtom(),this.options.ecmaVersion<6||!this.eat(b.eq))return n;var r=this.startNodeAt(e,t);return r.left=n,r.right=this.parseMaybeAssign(),this.finishNode(r,`AssignmentPattern`)},De.checkLVal=function(e,t,n){switch(t===void 0&&(t=de),e.type){case`Identifier`:t===pe&&e.name===`let`&&this.raiseRecoverable(e.start,`let is disallowed as a lexically bound name`),this.strict&&this.reservedWordsStrictBind.test(e.name)&&this.raiseRecoverable(e.start,(t?`Binding `:`Assigning to `)+e.name+` in strict mode`),n&&(k(n,e.name)&&this.raiseRecoverable(e.start,`Argument name clash`),n[e.name]=!0),t!==de&&t!==ge&&this.declareName(e.name,t,e.start);break;case`ChainExpression`:this.raiseRecoverable(e.start,`Optional chaining cannot appear in left-hand side`);break;case`MemberExpression`:t&&this.raiseRecoverable(e.start,`Binding member expression`);break;case`ObjectPattern`:for(var r=0,i=e.properties;r<i.length;r+=1){var a=i[r];this.checkLVal(a,t,n)}break;case`Property`:this.checkLVal(e.value,t,n);break;case`ArrayPattern`:for(var o=0,s=e.elements;o<s.length;o+=1){var c=s[o];c&&this.checkLVal(c,t,n)}break;case`AssignmentPattern`:this.checkLVal(e.left,t,n);break;case`RestElement`:this.checkLVal(e.argument,t,n);break;case`ParenthesizedExpression`:this.checkLVal(e.expression,t,n);break;default:this.raise(e.start,(t?`Binding`:`Assigning to`)+` rvalue`)}};var z=_e.prototype;z.checkPropClash=function(e,t,n){if(!(this.options.ecmaVersion>=9&&e.type===`SpreadElement`)&&!(this.options.ecmaVersion>=6&&(e.computed||e.method||e.shorthand))){var r=e.key,i;switch(r.type){case`Identifier`:i=r.name;break;case`Literal`:i=String(r.value);break;default:return}var a=e.kind;if(this.options.ecmaVersion>=6){i===`__proto__`&&a===`init`&&(t.proto&&(n?n.doubleProto<0&&(n.doubleProto=r.start):this.raiseRecoverable(r.start,`Redefinition of __proto__ property`)),t.proto=!0);return}i=`$`+i;var o=t[i];o?(a===`init`?this.strict&&o.init||o.get||o.set:o.init||o[a])&&this.raiseRecoverable(r.start,`Redefinition of property`):o=t[i]={init:!1,get:!1,set:!1},o[a]=!0}},z.parseExpression=function(e,t){var n=this.start,r=this.startLoc,i=this.parseMaybeAssign(e,t);if(this.type===b.comma){var a=this.startNodeAt(n,r);for(a.expressions=[i];this.eat(b.comma);)a.expressions.push(this.parseMaybeAssign(e,t));return this.finishNode(a,`SequenceExpression`)}return i},z.parseMaybeAssign=function(e,t,n){if(this.isContextual(`yield`)){if(this.inGenerator)return this.parseYield(e);this.exprAllowed=!1}var r=!1,i=-1,a=-1;t?(i=t.parenthesizedAssign,a=t.trailingComma,t.parenthesizedAssign=t.trailingComma=-1):(t=new xe,r=!0);var o=this.start,s=this.startLoc;(this.type===b.parenL||this.type===b.name)&&(this.potentialArrowAt=this.start);var c=this.parseMaybeConditional(e,t);if(n&&(c=n.call(this,c,o,s)),this.type.isAssign){var l=this.startNodeAt(o,s);return l.operator=this.value,l.left=this.type===b.eq?this.toAssignable(c,!1,t):c,r||(t.parenthesizedAssign=t.trailingComma=t.doubleProto=-1),t.shorthandAssign>=l.left.start&&(t.shorthandAssign=-1),this.checkLVal(c),this.next(),l.right=this.parseMaybeAssign(e),this.finishNode(l,`AssignmentExpression`)}else r&&this.checkExpressionErrors(t,!0);return i>-1&&(t.parenthesizedAssign=i),a>-1&&(t.trailingComma=a),c},z.parseMaybeConditional=function(e,t){var n=this.start,r=this.startLoc,i=this.parseExprOps(e,t);if(this.checkExpressionErrors(t))return i;if(this.eat(b.question)){var a=this.startNodeAt(n,r);return a.test=i,a.consequent=this.parseMaybeAssign(),this.expect(b.colon),a.alternate=this.parseMaybeAssign(e),this.finishNode(a,`ConditionalExpression`)}return i},z.parseExprOps=function(e,t){var n=this.start,r=this.startLoc,i=this.parseMaybeUnary(t,!1);return this.checkExpressionErrors(t)||i.start===n&&i.type===`ArrowFunctionExpression`?i:this.parseExprOp(i,n,r,-1,e)},z.parseExprOp=function(e,t,n,r,i){var a=this.type.binop;if(a!=null&&(!i||this.type!==b._in)&&a>r){var o=this.type===b.logicalOR||this.type===b.logicalAND,s=this.type===b.coalesce;s&&(a=b.logicalAND.binop);var c=this.value;this.next();var l=this.start,u=this.startLoc,d=this.parseExprOp(this.parseMaybeUnary(null,!1),l,u,a,i),f=this.buildBinary(t,n,e,d,c,o||s);return(o&&this.type===b.coalesce||s&&(this.type===b.logicalOR||this.type===b.logicalAND))&&this.raiseRecoverable(this.start,`Logical expressions and coalesce expressions cannot be mixed. Wrap either by parentheses`),this.parseExprOp(f,t,n,r,i)}return e},z.buildBinary=function(e,t,n,r,i,a){var o=this.startNodeAt(e,t);return o.left=n,o.operator=i,o.right=r,this.finishNode(o,a?`LogicalExpression`:`BinaryExpression`)},z.parseMaybeUnary=function(e,t){var n=this.start,r=this.startLoc,i;if(this.isContextual(`await`)&&(this.inAsync||!this.inFunction&&this.options.allowAwaitOutsideFunction))i=this.parseAwait(),t=!0;else if(this.type.prefix){var a=this.startNode(),o=this.type===b.incDec;a.operator=this.value,a.prefix=!0,this.next(),a.argument=this.parseMaybeUnary(null,!0),this.checkExpressionErrors(e,!0),o?this.checkLVal(a.argument):this.strict&&a.operator===`delete`&&a.argument.type===`Identifier`?this.raiseRecoverable(a.start,`Deleting local variable in strict mode`):t=!0,i=this.finishNode(a,o?`UpdateExpression`:`UnaryExpression`)}else{if(i=this.parseExprSubscripts(e),this.checkExpressionErrors(e))return i;for(;this.type.postfix&&!this.canInsertSemicolon();){var s=this.startNodeAt(n,r);s.operator=this.value,s.prefix=!1,s.argument=i,this.checkLVal(i),this.next(),i=this.finishNode(s,`UpdateExpression`)}}return!t&&this.eat(b.starstar)?this.buildBinary(n,r,i,this.parseMaybeUnary(null,!1),`**`,!1):i},z.parseExprSubscripts=function(e){var t=this.start,n=this.startLoc,r=this.parseExprAtom(e);if(r.type===`ArrowFunctionExpression`&&this.input.slice(this.lastTokStart,this.lastTokEnd)!==`)`)return r;var i=this.parseSubscripts(r,t,n);return e&&i.type===`MemberExpression`&&(e.parenthesizedAssign>=i.start&&(e.parenthesizedAssign=-1),e.parenthesizedBind>=i.start&&(e.parenthesizedBind=-1)),i},z.parseSubscripts=function(e,t,n,r){for(var i=this.options.ecmaVersion>=8&&e.type===`Identifier`&&e.name===`async`&&this.lastTokEnd===e.end&&!this.canInsertSemicolon()&&e.end-e.start===5&&this.potentialArrowAt===e.start,a=!1;;){var o=this.parseSubscript(e,t,n,r,i,a);if(o.optional&&(a=!0),o===e||o.type===`ArrowFunctionExpression`){if(a){var s=this.startNodeAt(t,n);s.expression=o,o=this.finishNode(s,`ChainExpression`)}return o}e=o}},z.parseSubscript=function(e,t,n,r,i,a){var o=this.options.ecmaVersion>=11,s=o&&this.eat(b.questionDot);r&&s&&this.raise(this.lastTokStart,`Optional chaining cannot appear in the callee of new expressions`);var c=this.eat(b.bracketL);if(c||s&&this.type!==b.parenL&&this.type!==b.backQuote||this.eat(b.dot)){var l=this.startNodeAt(t,n);l.object=e,l.property=c?this.parseExpression():this.parseIdent(this.options.allowReserved!==`never`),l.computed=!!c,c&&this.expect(b.bracketR),o&&(l.optional=s),e=this.finishNode(l,`MemberExpression`)}else if(!r&&this.eat(b.parenL)){var u=new xe,d=this.yieldPos,f=this.awaitPos,p=this.awaitIdentPos;this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0;var m=this.parseExprList(b.parenR,this.options.ecmaVersion>=8,!1,u);if(i&&!s&&!this.canInsertSemicolon()&&this.eat(b.arrow))return this.checkPatternErrors(u,!1),this.checkYieldAwaitInDefaultParams(),this.awaitIdentPos>0&&this.raise(this.awaitIdentPos,`Cannot use 'await' as identifier inside an async function`),this.yieldPos=d,this.awaitPos=f,this.awaitIdentPos=p,this.parseArrowExpression(this.startNodeAt(t,n),m,!0);this.checkExpressionErrors(u,!0),this.yieldPos=d||this.yieldPos,this.awaitPos=f||this.awaitPos,this.awaitIdentPos=p||this.awaitIdentPos;var h=this.startNodeAt(t,n);h.callee=e,h.arguments=m,o&&(h.optional=s),e=this.finishNode(h,`CallExpression`)}else if(this.type===b.backQuote){(s||a)&&this.raise(this.start,`Optional chaining cannot appear in the tag of tagged template expressions`);var g=this.startNodeAt(t,n);g.tag=e,g.quasi=this.parseTemplate({isTagged:!0}),e=this.finishNode(g,`TaggedTemplateExpression`)}return e},z.parseExprAtom=function(e){this.type===b.slash&&this.readRegexp();var t,n=this.potentialArrowAt===this.start;switch(this.type){case b._super:return this.allowSuper||this.raise(this.start,`'super' keyword outside a method`),t=this.startNode(),this.next(),this.type===b.parenL&&!this.allowDirectSuper&&this.raise(t.start,`super() call outside constructor of a subclass`),this.type!==b.dot&&this.type!==b.bracketL&&this.type!==b.parenL&&this.unexpected(),this.finishNode(t,`Super`);case b._this:return t=this.startNode(),this.next(),this.finishNode(t,`ThisExpression`);case b.name:var r=this.start,i=this.startLoc,a=this.containsEsc,o=this.parseIdent(!1);if(this.options.ecmaVersion>=8&&!a&&o.name===`async`&&!this.canInsertSemicolon()&&this.eat(b._function))return this.parseFunction(this.startNodeAt(r,i),0,!1,!0);if(n&&!this.canInsertSemicolon()){if(this.eat(b.arrow))return this.parseArrowExpression(this.startNodeAt(r,i),[o],!1);if(this.options.ecmaVersion>=8&&o.name===`async`&&this.type===b.name&&!a)return o=this.parseIdent(!1),(this.canInsertSemicolon()||!this.eat(b.arrow))&&this.unexpected(),this.parseArrowExpression(this.startNodeAt(r,i),[o],!0)}return o;case b.regexp:var s=this.value;return t=this.parseLiteral(s.value),t.regex={pattern:s.pattern,flags:s.flags},t;case b.num:case b.string:return this.parseLiteral(this.value);case b._null:case b._true:case b._false:return t=this.startNode(),t.value=this.type===b._null?null:this.type===b._true,t.raw=this.type.keyword,this.next(),this.finishNode(t,`Literal`);case b.parenL:var c=this.start,l=this.parseParenAndDistinguishExpression(n);return e&&(e.parenthesizedAssign<0&&!this.isSimpleAssignTarget(l)&&(e.parenthesizedAssign=c),e.parenthesizedBind<0&&(e.parenthesizedBind=c)),l;case b.bracketL:return t=this.startNode(),this.next(),t.elements=this.parseExprList(b.bracketR,!0,!0,e),this.finishNode(t,`ArrayExpression`);case b.braceL:return this.parseObj(!1,e);case b._function:return t=this.startNode(),this.next(),this.parseFunction(t,0);case b._class:return this.parseClass(this.startNode(),!1);case b._new:return this.parseNew();case b.backQuote:return this.parseTemplate();case b._import:return this.options.ecmaVersion>=11?this.parseExprImport():this.unexpected();default:this.unexpected()}},z.parseExprImport=function(){var e=this.startNode();this.containsEsc&&this.raiseRecoverable(this.start,`Escape sequence in keyword import`);var t=this.parseIdent(!0);switch(this.type){case b.parenL:return this.parseDynamicImport(e);case b.dot:return e.meta=t,this.parseImportMeta(e);default:this.unexpected()}},z.parseDynamicImport=function(e){if(this.next(),e.source=this.parseMaybeAssign(),!this.eat(b.parenR)){var t=this.start;this.eat(b.comma)&&this.eat(b.parenR)?this.raiseRecoverable(t,`Trailing comma is not allowed in import()`):this.unexpected(t)}return this.finishNode(e,`ImportExpression`)},z.parseImportMeta=function(e){this.next();var t=this.containsEsc;return e.property=this.parseIdent(!0),e.property.name!==`meta`&&this.raiseRecoverable(e.property.start,`The only valid meta property for import is 'import.meta'`),t&&this.raiseRecoverable(e.start,`'import.meta' must not contain escaped characters`),this.options.sourceType!==`module`&&this.raiseRecoverable(e.start,`Cannot use 'import.meta' outside a module`),this.finishNode(e,`MetaProperty`)},z.parseLiteral=function(e){var t=this.startNode();return t.value=e,t.raw=this.input.slice(this.start,this.end),t.raw.charCodeAt(t.raw.length-1)===110&&(t.bigint=t.raw.slice(0,-1).replace(/_/g,``)),this.next(),this.finishNode(t,`Literal`)},z.parseParenExpression=function(){this.expect(b.parenL);var e=this.parseExpression();return this.expect(b.parenR),e},z.parseParenAndDistinguishExpression=function(e){var t=this.start,n=this.startLoc,r,i=this.options.ecmaVersion>=8;if(this.options.ecmaVersion>=6){this.next();var a=this.start,o=this.startLoc,s=[],c=!0,l=!1,u=new xe,d=this.yieldPos,f=this.awaitPos,p;for(this.yieldPos=0,this.awaitPos=0;this.type!==b.parenR;)if(c?c=!1:this.expect(b.comma),i&&this.afterTrailingComma(b.parenR,!0)){l=!0;break}else if(this.type===b.ellipsis){p=this.start,s.push(this.parseParenItem(this.parseRestBinding())),this.type===b.comma&&this.raise(this.start,`Comma is not permitted after the rest element`);break}else s.push(this.parseMaybeAssign(!1,u,this.parseParenItem));var m=this.start,h=this.startLoc;if(this.expect(b.parenR),e&&!this.canInsertSemicolon()&&this.eat(b.arrow))return this.checkPatternErrors(u,!1),this.checkYieldAwaitInDefaultParams(),this.yieldPos=d,this.awaitPos=f,this.parseParenArrowList(t,n,s);(!s.length||l)&&this.unexpected(this.lastTokStart),p&&this.unexpected(p),this.checkExpressionErrors(u,!0),this.yieldPos=d||this.yieldPos,this.awaitPos=f||this.awaitPos,s.length>1?(r=this.startNodeAt(a,o),r.expressions=s,this.finishNodeAt(r,`SequenceExpression`,m,h)):r=s[0]}else r=this.parseParenExpression();if(this.options.preserveParens){var g=this.startNodeAt(t,n);return g.expression=r,this.finishNode(g,`ParenthesizedExpression`)}else return r},z.parseParenItem=function(e){return e},z.parseParenArrowList=function(e,t,n){return this.parseArrowExpression(this.startNodeAt(e,t),n)};var Oe=[];z.parseNew=function(){this.containsEsc&&this.raiseRecoverable(this.start,`Escape sequence in keyword new`);var e=this.startNode(),t=this.parseIdent(!0);if(this.options.ecmaVersion>=6&&this.eat(b.dot)){e.meta=t;var n=this.containsEsc;return e.property=this.parseIdent(!0),e.property.name!==`target`&&this.raiseRecoverable(e.property.start,`The only valid meta property for new is 'new.target'`),n&&this.raiseRecoverable(e.start,`'new.target' must not contain escaped characters`),this.inNonArrowFunction()||this.raiseRecoverable(e.start,`'new.target' can only be used in functions`),this.finishNode(e,`MetaProperty`)}var r=this.start,i=this.startLoc,a=this.type===b._import;return e.callee=this.parseSubscripts(this.parseExprAtom(),r,i,!0),a&&e.callee.type===`ImportExpression`&&this.raise(r,`Cannot use new with import()`),this.eat(b.parenL)?e.arguments=this.parseExprList(b.parenR,this.options.ecmaVersion>=8,!1):e.arguments=Oe,this.finishNode(e,`NewExpression`)},z.parseTemplateElement=function(e){var t=e.isTagged,n=this.startNode();return this.type===b.invalidTemplate?(t||this.raiseRecoverable(this.start,`Bad escape sequence in untagged template literal`),n.value={raw:this.value,cooked:null}):n.value={raw:this.input.slice(this.start,this.end).replace(/\r\n?/g,`
1210
+ `),cooked:this.value},this.next(),n.tail=this.type===b.backQuote,this.finishNode(n,`TemplateElement`)},z.parseTemplate=function(e){e===void 0&&(e={});var t=e.isTagged;t===void 0&&(t=!1);var n=this.startNode();this.next(),n.expressions=[];var r=this.parseTemplateElement({isTagged:t});for(n.quasis=[r];!r.tail;)this.type===b.eof&&this.raise(this.pos,`Unterminated template literal`),this.expect(b.dollarBraceL),n.expressions.push(this.parseExpression()),this.expect(b.braceR),n.quasis.push(r=this.parseTemplateElement({isTagged:t}));return this.next(),this.finishNode(n,`TemplateLiteral`)},z.isAsyncProp=function(e){return!e.computed&&e.key.type===`Identifier`&&e.key.name===`async`&&(this.type===b.name||this.type===b.num||this.type===b.string||this.type===b.bracketL||this.type.keyword||this.options.ecmaVersion>=9&&this.type===b.star)&&!x.test(this.input.slice(this.lastTokEnd,this.start))},z.parseObj=function(e,t){var n=this.startNode(),r=!0,i={};for(n.properties=[],this.next();!this.eat(b.braceR);){if(r)r=!1;else if(this.expect(b.comma),this.options.ecmaVersion>=5&&this.afterTrailingComma(b.braceR))break;var a=this.parseProperty(e,t);e||this.checkPropClash(a,i,t),n.properties.push(a)}return this.finishNode(n,e?`ObjectPattern`:`ObjectExpression`)},z.parseProperty=function(e,t){var n=this.startNode(),r,i,a,o;if(this.options.ecmaVersion>=9&&this.eat(b.ellipsis))return e?(n.argument=this.parseIdent(!1),this.type===b.comma&&this.raise(this.start,`Comma is not permitted after the rest element`),this.finishNode(n,`RestElement`)):(this.type===b.parenL&&t&&(t.parenthesizedAssign<0&&(t.parenthesizedAssign=this.start),t.parenthesizedBind<0&&(t.parenthesizedBind=this.start)),n.argument=this.parseMaybeAssign(!1,t),this.type===b.comma&&t&&t.trailingComma<0&&(t.trailingComma=this.start),this.finishNode(n,`SpreadElement`));this.options.ecmaVersion>=6&&(n.method=!1,n.shorthand=!1,(e||t)&&(a=this.start,o=this.startLoc),e||(r=this.eat(b.star)));var s=this.containsEsc;return this.parsePropertyName(n),!e&&!s&&this.options.ecmaVersion>=8&&!r&&this.isAsyncProp(n)?(i=!0,r=this.options.ecmaVersion>=9&&this.eat(b.star),this.parsePropertyName(n,t)):i=!1,this.parsePropertyValue(n,e,r,i,a,o,t,s),this.finishNode(n,`Property`)},z.parsePropertyValue=function(e,t,n,r,i,a,o,s){if((n||r)&&this.type===b.colon&&this.unexpected(),this.eat(b.colon))e.value=t?this.parseMaybeDefault(this.start,this.startLoc):this.parseMaybeAssign(!1,o),e.kind=`init`;else if(this.options.ecmaVersion>=6&&this.type===b.parenL)t&&this.unexpected(),e.kind=`init`,e.method=!0,e.value=this.parseMethod(n,r);else if(!t&&!s&&this.options.ecmaVersion>=5&&!e.computed&&e.key.type===`Identifier`&&(e.key.name===`get`||e.key.name===`set`)&&this.type!==b.comma&&this.type!==b.braceR&&this.type!==b.eq){(n||r)&&this.unexpected(),e.kind=e.key.name,this.parsePropertyName(e),e.value=this.parseMethod(!1);var c=e.kind===`get`?0:1;if(e.value.params.length!==c){var l=e.value.start;e.kind===`get`?this.raiseRecoverable(l,`getter should have no params`):this.raiseRecoverable(l,`setter should have exactly one param`)}else e.kind===`set`&&e.value.params[0].type===`RestElement`&&this.raiseRecoverable(e.value.params[0].start,`Setter cannot use rest params`)}else this.options.ecmaVersion>=6&&!e.computed&&e.key.type===`Identifier`?((n||r)&&this.unexpected(),this.checkUnreserved(e.key),e.key.name===`await`&&!this.awaitIdentPos&&(this.awaitIdentPos=i),e.kind=`init`,t?e.value=this.parseMaybeDefault(i,a,e.key):this.type===b.eq&&o?(o.shorthandAssign<0&&(o.shorthandAssign=this.start),e.value=this.parseMaybeDefault(i,a,e.key)):e.value=e.key,e.shorthand=!0):this.unexpected()},z.parsePropertyName=function(e){if(this.options.ecmaVersion>=6){if(this.eat(b.bracketL))return e.computed=!0,e.key=this.parseMaybeAssign(),this.expect(b.bracketR),e.key;e.computed=!1}return e.key=this.type===b.num||this.type===b.string?this.parseExprAtom():this.parseIdent(this.options.allowReserved!==`never`)},z.initFunction=function(e){e.id=null,this.options.ecmaVersion>=6&&(e.generator=e.expression=!1),this.options.ecmaVersion>=8&&(e.async=!1)},z.parseMethod=function(e,t,n){var r=this.startNode(),i=this.yieldPos,a=this.awaitPos,o=this.awaitIdentPos;return this.initFunction(r),this.options.ecmaVersion>=6&&(r.generator=e),this.options.ecmaVersion>=8&&(r.async=!!t),this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,this.enterScope(ue(t,r.generator)|ce|(n?le:0)),this.expect(b.parenL),r.params=this.parseBindingList(b.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams(),this.parseFunctionBody(r,!1,!0),this.yieldPos=i,this.awaitPos=a,this.awaitIdentPos=o,this.finishNode(r,`FunctionExpression`)},z.parseArrowExpression=function(e,t,n){var r=this.yieldPos,i=this.awaitPos,a=this.awaitIdentPos;return this.enterScope(ue(n,!1)|oe),this.initFunction(e),this.options.ecmaVersion>=8&&(e.async=!!n),this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,e.params=this.toAssignableList(t,!0),this.parseFunctionBody(e,!0,!1),this.yieldPos=r,this.awaitPos=i,this.awaitIdentPos=a,this.finishNode(e,`ArrowFunctionExpression`)},z.parseFunctionBody=function(e,t,n){var r=t&&this.type!==b.braceL,i=this.strict,a=!1;if(r)e.body=this.parseMaybeAssign(),e.expression=!0,this.checkParams(e,!1);else{var o=this.options.ecmaVersion>=7&&!this.isSimpleParamList(e.params);(!i||o)&&(a=this.strictDirective(this.end),a&&o&&this.raiseRecoverable(e.start,`Illegal 'use strict' directive in function with non-simple parameter list`));var s=this.labels;this.labels=[],a&&(this.strict=!0),this.checkParams(e,!i&&!a&&!t&&!n&&this.isSimpleParamList(e.params)),this.strict&&e.id&&this.checkLVal(e.id,ge),e.body=this.parseBlock(!1,void 0,a&&!i),e.expression=!1,this.adaptDirectivePrologue(e.body.body),this.labels=s}this.exitScope()},z.isSimpleParamList=function(e){for(var t=0,n=e;t<n.length;t+=1)if(n[t].type!==`Identifier`)return!1;return!0},z.checkParams=function(e,t){for(var n={},r=0,i=e.params;r<i.length;r+=1){var a=i[r];this.checkLVal(a,fe,t?null:n)}},z.parseExprList=function(e,t,n,r){for(var i=[],a=!0;!this.eat(e);){if(a)a=!1;else if(this.expect(b.comma),t&&this.afterTrailingComma(e))break;var o=void 0;n&&this.type===b.comma?o=null:this.type===b.ellipsis?(o=this.parseSpread(r),r&&this.type===b.comma&&r.trailingComma<0&&(r.trailingComma=this.start)):o=this.parseMaybeAssign(!1,r),i.push(o)}return i},z.checkUnreserved=function(e){var t=e.start,n=e.end,r=e.name;this.inGenerator&&r===`yield`&&this.raiseRecoverable(t,`Cannot use 'yield' as identifier inside a generator`),this.inAsync&&r===`await`&&this.raiseRecoverable(t,`Cannot use 'await' as identifier inside an async function`),this.keywords.test(r)&&this.raise(t,`Unexpected keyword '`+r+`'`),!(this.options.ecmaVersion<6&&this.input.slice(t,n).indexOf(`\\`)!==-1)&&(this.strict?this.reservedWordsStrict:this.reservedWords).test(r)&&(!this.inAsync&&r===`await`&&this.raiseRecoverable(t,`Cannot use keyword 'await' outside an async function`),this.raiseRecoverable(t,`The keyword '`+r+`' is reserved`))},z.parseIdent=function(e,t){var n=this.startNode();return this.type===b.name?n.name=this.value:this.type.keyword?(n.name=this.type.keyword,(n.name===`class`||n.name===`function`)&&(this.lastTokEnd!==this.lastTokStart+1||this.input.charCodeAt(this.lastTokStart)!==46)&&this.context.pop()):this.unexpected(),this.next(!!e),this.finishNode(n,`Identifier`),e||(this.checkUnreserved(n),n.name===`await`&&!this.awaitIdentPos&&(this.awaitIdentPos=n.start)),n},z.parseYield=function(e){this.yieldPos||=this.start;var t=this.startNode();return this.next(),this.type===b.semi||this.canInsertSemicolon()||this.type!==b.star&&!this.type.startsExpr?(t.delegate=!1,t.argument=null):(t.delegate=this.eat(b.star),t.argument=this.parseMaybeAssign(e)),this.finishNode(t,`YieldExpression`)},z.parseAwait=function(){this.awaitPos||=this.start;var e=this.startNode();return this.next(),e.argument=this.parseMaybeUnary(null,!1),this.finishNode(e,`AwaitExpression`)};var ke=_e.prototype;ke.raise=function(e,t){var n=P(this.input,e);t+=` (`+n.line+`:`+n.column+`)`;var r=SyntaxError(t);throw r.pos=e,r.loc=n,r.raisedAt=this.pos,r},ke.raiseRecoverable=ke.raise,ke.curPosition=function(){if(this.options.locations)return new M(this.curLine,this.pos-this.lineStart)};var Ae=_e.prototype,je=function(e){this.flags=e,this.var=[],this.lexical=[],this.functions=[]};Ae.enterScope=function(e){this.scopeStack.push(new je(e))},Ae.exitScope=function(){this.scopeStack.pop()},Ae.treatFunctionsAsVarInScope=function(e){return e.flags&re||!this.inModule&&e.flags&F},Ae.declareName=function(e,t,n){var r=!1;if(t===pe){var i=this.currentScope();r=i.lexical.indexOf(e)>-1||i.functions.indexOf(e)>-1||i.var.indexOf(e)>-1,i.lexical.push(e),this.inModule&&i.flags&F&&delete this.undefinedExports[e]}else if(t===he)this.currentScope().lexical.push(e);else if(t===me){var a=this.currentScope();r=this.treatFunctionsAsVar?a.lexical.indexOf(e)>-1:a.lexical.indexOf(e)>-1||a.var.indexOf(e)>-1,a.functions.push(e)}else for(var o=this.scopeStack.length-1;o>=0;--o){var s=this.scopeStack[o];if(s.lexical.indexOf(e)>-1&&!(s.flags&se&&s.lexical[0]===e)||!this.treatFunctionsAsVarInScope(s)&&s.functions.indexOf(e)>-1){r=!0;break}if(s.var.push(e),this.inModule&&s.flags&F&&delete this.undefinedExports[e],s.flags&ie)break}r&&this.raiseRecoverable(n,`Identifier '`+e+`' has already been declared`)},Ae.checkLocalExport=function(e){this.scopeStack[0].lexical.indexOf(e.name)===-1&&this.scopeStack[0].var.indexOf(e.name)===-1&&(this.undefinedExports[e.name]=e)},Ae.currentScope=function(){return this.scopeStack[this.scopeStack.length-1]},Ae.currentVarScope=function(){for(var e=this.scopeStack.length-1;;e--){var t=this.scopeStack[e];if(t.flags&ie)return t}},Ae.currentThisScope=function(){for(var e=this.scopeStack.length-1;;e--){var t=this.scopeStack[e];if(t.flags&ie&&!(t.flags&oe))return t}};var Me=function(e,t,n){this.type=``,this.start=t,this.end=0,e.options.locations&&(this.loc=new N(e,n)),e.options.directSourceFile&&(this.sourceFile=e.options.directSourceFile),e.options.ranges&&(this.range=[t,0])},Ne=_e.prototype;Ne.startNode=function(){return new Me(this,this.start,this.startLoc)},Ne.startNodeAt=function(e,t){return new Me(this,e,t)};function Pe(e,t,n,r){return e.type=t,e.end=n,this.options.locations&&(e.loc.end=r),this.options.ranges&&(e.range[1]=n),e}Ne.finishNode=function(e,t){return Pe.call(this,e,t,this.lastTokEnd,this.lastTokEndLoc)},Ne.finishNodeAt=function(e,t,n,r){return Pe.call(this,e,t,n,r)};var B=function(e,t,n,r,i){this.token=e,this.isExpr=!!t,this.preserveSpace=!!n,this.override=r,this.generator=!!i},Fe={b_stat:new B(`{`,!1),b_expr:new B(`{`,!0),b_tmpl:new B("${",!1),p_stat:new B(`(`,!1),p_expr:new B(`(`,!0),q_tmpl:new B("`",!0,!0,function(e){return e.tryReadTemplateToken()}),f_stat:new B(`function`,!1),f_expr:new B(`function`,!0),f_expr_gen:new B(`function`,!0,!1,null,!0),f_gen:new B(`function`,!1,!1,null,!0)},Ie=_e.prototype;Ie.initialContext=function(){return[Fe.b_stat]},Ie.braceIsBlock=function(e){var t=this.curContext();return t===Fe.f_expr||t===Fe.f_stat?!0:e===b.colon&&(t===Fe.b_stat||t===Fe.b_expr)?!t.isExpr:e===b._return||e===b.name&&this.exprAllowed?x.test(this.input.slice(this.lastTokEnd,this.start)):e===b._else||e===b.semi||e===b.eof||e===b.parenR||e===b.arrow?!0:e===b.braceL?t===Fe.b_stat:e===b._var||e===b._const||e===b.name?!1:!this.exprAllowed},Ie.inGeneratorContext=function(){for(var e=this.context.length-1;e>=1;e--){var t=this.context[e];if(t.token===`function`)return t.generator}return!1},Ie.updateContext=function(e){var t,n=this.type;n.keyword&&e===b.dot?this.exprAllowed=!1:(t=n.updateContext)?t.call(this,e):this.exprAllowed=n.beforeExpr},b.parenR.updateContext=b.braceR.updateContext=function(){if(this.context.length===1){this.exprAllowed=!0;return}var e=this.context.pop();e===Fe.b_stat&&this.curContext().token===`function`&&(e=this.context.pop()),this.exprAllowed=!e.isExpr},b.braceL.updateContext=function(e){this.context.push(this.braceIsBlock(e)?Fe.b_stat:Fe.b_expr),this.exprAllowed=!0},b.dollarBraceL.updateContext=function(){this.context.push(Fe.b_tmpl),this.exprAllowed=!0},b.parenL.updateContext=function(e){var t=e===b._if||e===b._for||e===b._with||e===b._while;this.context.push(t?Fe.p_stat:Fe.p_expr),this.exprAllowed=!0},b.incDec.updateContext=function(){},b._function.updateContext=b._class.updateContext=function(e){e.beforeExpr&&e!==b.semi&&e!==b._else&&!(e===b._return&&x.test(this.input.slice(this.lastTokEnd,this.start)))&&!((e===b.colon||e===b.braceL)&&this.curContext()===Fe.b_stat)?this.context.push(Fe.f_expr):this.context.push(Fe.f_stat),this.exprAllowed=!1},b.backQuote.updateContext=function(){this.curContext()===Fe.q_tmpl?this.context.pop():this.context.push(Fe.q_tmpl),this.exprAllowed=!1},b.star.updateContext=function(e){if(e===b._function){var t=this.context.length-1;this.context[t]===Fe.f_expr?this.context[t]=Fe.f_expr_gen:this.context[t]=Fe.f_gen}this.exprAllowed=!0},b.name.updateContext=function(e){var t=!1;this.options.ecmaVersion>=6&&e!==b.dot&&(this.value===`of`&&!this.exprAllowed||this.value===`yield`&&this.inGeneratorContext())&&(t=!0),this.exprAllowed=t};var Le=`ASCII ASCII_Hex_Digit AHex Alphabetic Alpha Any Assigned Bidi_Control Bidi_C Bidi_Mirrored Bidi_M Case_Ignorable CI Cased Changes_When_Casefolded CWCF Changes_When_Casemapped CWCM Changes_When_Lowercased CWL Changes_When_NFKC_Casefolded CWKCF Changes_When_Titlecased CWT Changes_When_Uppercased CWU Dash Default_Ignorable_Code_Point DI Deprecated Dep Diacritic Dia Emoji Emoji_Component Emoji_Modifier Emoji_Modifier_Base Emoji_Presentation Extender Ext Grapheme_Base Gr_Base Grapheme_Extend Gr_Ext Hex_Digit Hex IDS_Binary_Operator IDSB IDS_Trinary_Operator IDST ID_Continue IDC ID_Start IDS Ideographic Ideo Join_Control Join_C Logical_Order_Exception LOE Lowercase Lower Math Noncharacter_Code_Point NChar Pattern_Syntax Pat_Syn Pattern_White_Space Pat_WS Quotation_Mark QMark Radical Regional_Indicator RI Sentence_Terminal STerm Soft_Dotted SD Terminal_Punctuation Term Unified_Ideograph UIdeo Uppercase Upper Variation_Selector VS White_Space space XID_Continue XIDC XID_Start XIDS`,Re=Le+` Extended_Pictographic`,ze=Re,Be={9:Le,10:Re,11:ze},Ve=`Cased_Letter LC Close_Punctuation Pe Connector_Punctuation Pc Control Cc cntrl Currency_Symbol Sc Dash_Punctuation Pd Decimal_Number Nd digit Enclosing_Mark Me Final_Punctuation Pf Format Cf Initial_Punctuation Pi Letter L Letter_Number Nl Line_Separator Zl Lowercase_Letter Ll Mark M Combining_Mark Math_Symbol Sm Modifier_Letter Lm Modifier_Symbol Sk Nonspacing_Mark Mn Number N Open_Punctuation Ps Other C Other_Letter Lo Other_Number No Other_Punctuation Po Other_Symbol So Paragraph_Separator Zp Private_Use Co Punctuation P punct Separator Z Space_Separator Zs Spacing_Mark Mc Surrogate Cs Symbol S Titlecase_Letter Lt Unassigned Cn Uppercase_Letter Lu`,He=`Adlam Adlm Ahom Ahom Anatolian_Hieroglyphs Hluw Arabic Arab Armenian Armn Avestan Avst Balinese Bali Bamum Bamu Bassa_Vah Bass Batak Batk Bengali Beng Bhaiksuki Bhks Bopomofo Bopo Brahmi Brah Braille Brai Buginese Bugi Buhid Buhd Canadian_Aboriginal Cans Carian Cari Caucasian_Albanian Aghb Chakma Cakm Cham Cham Cherokee Cher Common Zyyy Coptic Copt Qaac Cuneiform Xsux Cypriot Cprt Cyrillic Cyrl Deseret Dsrt Devanagari Deva Duployan Dupl Egyptian_Hieroglyphs Egyp Elbasan Elba Ethiopic Ethi Georgian Geor Glagolitic Glag Gothic Goth Grantha Gran Greek Grek Gujarati Gujr Gurmukhi Guru Han Hani Hangul Hang Hanunoo Hano Hatran Hatr Hebrew Hebr Hiragana Hira Imperial_Aramaic Armi Inherited Zinh Qaai Inscriptional_Pahlavi Phli Inscriptional_Parthian Prti Javanese Java Kaithi Kthi Kannada Knda Katakana Kana Kayah_Li Kali Kharoshthi Khar Khmer Khmr Khojki Khoj Khudawadi Sind Lao Laoo Latin Latn Lepcha Lepc Limbu Limb Linear_A Lina Linear_B Linb Lisu Lisu Lycian Lyci Lydian Lydi Mahajani Mahj Malayalam Mlym Mandaic Mand Manichaean Mani Marchen Marc Masaram_Gondi Gonm Meetei_Mayek Mtei Mende_Kikakui Mend Meroitic_Cursive Merc Meroitic_Hieroglyphs Mero Miao Plrd Modi Modi Mongolian Mong Mro Mroo Multani Mult Myanmar Mymr Nabataean Nbat New_Tai_Lue Talu Newa Newa Nko Nkoo Nushu Nshu Ogham Ogam Ol_Chiki Olck Old_Hungarian Hung Old_Italic Ital Old_North_Arabian Narb Old_Permic Perm Old_Persian Xpeo Old_South_Arabian Sarb Old_Turkic Orkh Oriya Orya Osage Osge Osmanya Osma Pahawh_Hmong Hmng Palmyrene Palm Pau_Cin_Hau Pauc Phags_Pa Phag Phoenician Phnx Psalter_Pahlavi Phlp Rejang Rjng Runic Runr Samaritan Samr Saurashtra Saur Sharada Shrd Shavian Shaw Siddham Sidd SignWriting Sgnw Sinhala Sinh Sora_Sompeng Sora Soyombo Soyo Sundanese Sund Syloti_Nagri Sylo Syriac Syrc Tagalog Tglg Tagbanwa Tagb Tai_Le Tale Tai_Tham Lana Tai_Viet Tavt Takri Takr Tamil Taml Tangut Tang Telugu Telu Thaana Thaa Thai Thai Tibetan Tibt Tifinagh Tfng Tirhuta Tirh Ugaritic Ugar Vai Vaii Warang_Citi Wara Yi Yiii Zanabazar_Square Zanb`,Ue=He+` Dogra Dogr Gunjala_Gondi Gong Hanifi_Rohingya Rohg Makasar Maka Medefaidrin Medf Old_Sogdian Sogo Sogdian Sogd`,We=Ue+` Elymaic Elym Nandinagari Nand Nyiakeng_Puachue_Hmong Hmnp Wancho Wcho`,Ge={9:He,10:Ue,11:We},Ke={};function qe(e){var t=Ke[e]={binary:j(Be[e]+` `+Ve),nonBinary:{General_Category:j(Ve),Script:j(Ge[e])}};t.nonBinary.Script_Extensions=t.nonBinary.Script,t.nonBinary.gc=t.nonBinary.General_Category,t.nonBinary.sc=t.nonBinary.Script,t.nonBinary.scx=t.nonBinary.Script_Extensions}qe(9),qe(10),qe(11);var V=_e.prototype,Je=function(e){this.parser=e,this.validFlags=`gim`+(e.options.ecmaVersion>=6?`uy`:``)+(e.options.ecmaVersion>=9?`s`:``),this.unicodeProperties=Ke[e.options.ecmaVersion>=11?11:e.options.ecmaVersion],this.source=``,this.flags=``,this.start=0,this.switchU=!1,this.switchN=!1,this.pos=0,this.lastIntValue=0,this.lastStringValue=``,this.lastAssertionIsQuantifiable=!1,this.numCapturingParens=0,this.maxBackReference=0,this.groupNames=[],this.backReferenceNames=[]};Je.prototype.reset=function(e,t,n){var r=n.indexOf(`u`)!==-1;this.start=e|0,this.source=t+``,this.flags=n,this.switchU=r&&this.parser.options.ecmaVersion>=6,this.switchN=r&&this.parser.options.ecmaVersion>=9},Je.prototype.raise=function(e){this.parser.raiseRecoverable(this.start,`Invalid regular expression: /`+this.source+`/: `+e)},Je.prototype.at=function(e,t){t===void 0&&(t=!1);var n=this.source,r=n.length;if(e>=r)return-1;var i=n.charCodeAt(e);if(!(t||this.switchU)||i<=55295||i>=57344||e+1>=r)return i;var a=n.charCodeAt(e+1);return a>=56320&&a<=57343?(i<<10)+a-56613888:i},Je.prototype.nextIndex=function(e,t){t===void 0&&(t=!1);var n=this.source,r=n.length;if(e>=r)return r;var i=n.charCodeAt(e),a;return!(t||this.switchU)||i<=55295||i>=57344||e+1>=r||(a=n.charCodeAt(e+1))<56320||a>57343?e+1:e+2},Je.prototype.current=function(e){return e===void 0&&(e=!1),this.at(this.pos,e)},Je.prototype.lookahead=function(e){return e===void 0&&(e=!1),this.at(this.nextIndex(this.pos,e),e)},Je.prototype.advance=function(e){e===void 0&&(e=!1),this.pos=this.nextIndex(this.pos,e)},Je.prototype.eat=function(e,t){return t===void 0&&(t=!1),this.current(t)===e?(this.advance(t),!0):!1};function Ye(e){return e<=65535?String.fromCharCode(e):(e-=65536,String.fromCharCode((e>>10)+55296,(e&1023)+56320))}V.validateRegExpFlags=function(e){for(var t=e.validFlags,n=e.flags,r=0;r<n.length;r++){var i=n.charAt(r);t.indexOf(i)===-1&&this.raise(e.start,`Invalid regular expression flag`),n.indexOf(i,r+1)>-1&&this.raise(e.start,`Duplicate regular expression flag`)}},V.validateRegExpPattern=function(e){this.regexp_pattern(e),!e.switchN&&this.options.ecmaVersion>=9&&e.groupNames.length>0&&(e.switchN=!0,this.regexp_pattern(e))},V.regexp_pattern=function(e){e.pos=0,e.lastIntValue=0,e.lastStringValue=``,e.lastAssertionIsQuantifiable=!1,e.numCapturingParens=0,e.maxBackReference=0,e.groupNames.length=0,e.backReferenceNames.length=0,this.regexp_disjunction(e),e.pos!==e.source.length&&(e.eat(41)&&e.raise(`Unmatched ')'`),(e.eat(93)||e.eat(125))&&e.raise(`Lone quantifier brackets`)),e.maxBackReference>e.numCapturingParens&&e.raise(`Invalid escape`);for(var t=0,n=e.backReferenceNames;t<n.length;t+=1){var r=n[t];e.groupNames.indexOf(r)===-1&&e.raise(`Invalid named capture referenced`)}},V.regexp_disjunction=function(e){for(this.regexp_alternative(e);e.eat(124);)this.regexp_alternative(e);this.regexp_eatQuantifier(e,!0)&&e.raise(`Nothing to repeat`),e.eat(123)&&e.raise(`Lone quantifier brackets`)},V.regexp_alternative=function(e){for(;e.pos<e.source.length&&this.regexp_eatTerm(e););},V.regexp_eatTerm=function(e){return this.regexp_eatAssertion(e)?(e.lastAssertionIsQuantifiable&&this.regexp_eatQuantifier(e)&&e.switchU&&e.raise(`Invalid quantifier`),!0):(e.switchU?this.regexp_eatAtom(e):this.regexp_eatExtendedAtom(e))?(this.regexp_eatQuantifier(e),!0):!1},V.regexp_eatAssertion=function(e){var t=e.pos;if(e.lastAssertionIsQuantifiable=!1,e.eat(94)||e.eat(36))return!0;if(e.eat(92)){if(e.eat(66)||e.eat(98))return!0;e.pos=t}if(e.eat(40)&&e.eat(63)){var n=!1;if(this.options.ecmaVersion>=9&&(n=e.eat(60)),e.eat(61)||e.eat(33))return this.regexp_disjunction(e),e.eat(41)||e.raise(`Unterminated group`),e.lastAssertionIsQuantifiable=!n,!0}return e.pos=t,!1},V.regexp_eatQuantifier=function(e,t){return t===void 0&&(t=!1),this.regexp_eatQuantifierPrefix(e,t)?(e.eat(63),!0):!1},V.regexp_eatQuantifierPrefix=function(e,t){return e.eat(42)||e.eat(43)||e.eat(63)||this.regexp_eatBracedQuantifier(e,t)},V.regexp_eatBracedQuantifier=function(e,t){var n=e.pos;if(e.eat(123)){var r=0,i=-1;if(this.regexp_eatDecimalDigits(e)&&(r=e.lastIntValue,e.eat(44)&&this.regexp_eatDecimalDigits(e)&&(i=e.lastIntValue),e.eat(125)))return i!==-1&&i<r&&!t&&e.raise(`numbers out of order in {} quantifier`),!0;e.switchU&&!t&&e.raise(`Incomplete quantifier`),e.pos=n}return!1},V.regexp_eatAtom=function(e){return this.regexp_eatPatternCharacters(e)||e.eat(46)||this.regexp_eatReverseSolidusAtomEscape(e)||this.regexp_eatCharacterClass(e)||this.regexp_eatUncapturingGroup(e)||this.regexp_eatCapturingGroup(e)},V.regexp_eatReverseSolidusAtomEscape=function(e){var t=e.pos;if(e.eat(92)){if(this.regexp_eatAtomEscape(e))return!0;e.pos=t}return!1},V.regexp_eatUncapturingGroup=function(e){var t=e.pos;if(e.eat(40)){if(e.eat(63)&&e.eat(58)){if(this.regexp_disjunction(e),e.eat(41))return!0;e.raise(`Unterminated group`)}e.pos=t}return!1},V.regexp_eatCapturingGroup=function(e){if(e.eat(40)){if(this.options.ecmaVersion>=9?this.regexp_groupSpecifier(e):e.current()===63&&e.raise(`Invalid group`),this.regexp_disjunction(e),e.eat(41))return e.numCapturingParens+=1,!0;e.raise(`Unterminated group`)}return!1},V.regexp_eatExtendedAtom=function(e){return e.eat(46)||this.regexp_eatReverseSolidusAtomEscape(e)||this.regexp_eatCharacterClass(e)||this.regexp_eatUncapturingGroup(e)||this.regexp_eatCapturingGroup(e)||this.regexp_eatInvalidBracedQuantifier(e)||this.regexp_eatExtendedPatternCharacter(e)},V.regexp_eatInvalidBracedQuantifier=function(e){return this.regexp_eatBracedQuantifier(e,!0)&&e.raise(`Nothing to repeat`),!1},V.regexp_eatSyntaxCharacter=function(e){var t=e.current();return Xe(t)?(e.lastIntValue=t,e.advance(),!0):!1};function Xe(e){return e===36||e>=40&&e<=43||e===46||e===63||e>=91&&e<=94||e>=123&&e<=125}V.regexp_eatPatternCharacters=function(e){for(var t=e.pos,n=0;(n=e.current())!==-1&&!Xe(n);)e.advance();return e.pos!==t},V.regexp_eatExtendedPatternCharacter=function(e){var t=e.current();return t!==-1&&t!==36&&!(t>=40&&t<=43)&&t!==46&&t!==63&&t!==91&&t!==94&&t!==124?(e.advance(),!0):!1},V.regexp_groupSpecifier=function(e){if(e.eat(63)){if(this.regexp_eatGroupName(e)){e.groupNames.indexOf(e.lastStringValue)!==-1&&e.raise(`Duplicate capture group name`),e.groupNames.push(e.lastStringValue);return}e.raise(`Invalid group`)}},V.regexp_eatGroupName=function(e){if(e.lastStringValue=``,e.eat(60)){if(this.regexp_eatRegExpIdentifierName(e)&&e.eat(62))return!0;e.raise(`Invalid capture group name`)}return!1},V.regexp_eatRegExpIdentifierName=function(e){if(e.lastStringValue=``,this.regexp_eatRegExpIdentifierStart(e)){for(e.lastStringValue+=Ye(e.lastIntValue);this.regexp_eatRegExpIdentifierPart(e);)e.lastStringValue+=Ye(e.lastIntValue);return!0}return!1},V.regexp_eatRegExpIdentifierStart=function(e){var t=e.pos,n=this.options.ecmaVersion>=11,r=e.current(n);return e.advance(n),r===92&&this.regexp_eatRegExpUnicodeEscapeSequence(e,n)&&(r=e.lastIntValue),Ze(r)?(e.lastIntValue=r,!0):(e.pos=t,!1)};function Ze(e){return f(e,!0)||e===36||e===95}V.regexp_eatRegExpIdentifierPart=function(e){var t=e.pos,n=this.options.ecmaVersion>=11,r=e.current(n);return e.advance(n),r===92&&this.regexp_eatRegExpUnicodeEscapeSequence(e,n)&&(r=e.lastIntValue),Qe(r)?(e.lastIntValue=r,!0):(e.pos=t,!1)};function Qe(e){return p(e,!0)||e===36||e===95||e===8204||e===8205}V.regexp_eatAtomEscape=function(e){return this.regexp_eatBackReference(e)||this.regexp_eatCharacterClassEscape(e)||this.regexp_eatCharacterEscape(e)||e.switchN&&this.regexp_eatKGroupName(e)?!0:(e.switchU&&(e.current()===99&&e.raise(`Invalid unicode escape`),e.raise(`Invalid escape`)),!1)},V.regexp_eatBackReference=function(e){var t=e.pos;if(this.regexp_eatDecimalEscape(e)){var n=e.lastIntValue;if(e.switchU)return n>e.maxBackReference&&(e.maxBackReference=n),!0;if(n<=e.numCapturingParens)return!0;e.pos=t}return!1},V.regexp_eatKGroupName=function(e){if(e.eat(107)){if(this.regexp_eatGroupName(e))return e.backReferenceNames.push(e.lastStringValue),!0;e.raise(`Invalid named reference`)}return!1},V.regexp_eatCharacterEscape=function(e){return this.regexp_eatControlEscape(e)||this.regexp_eatCControlLetter(e)||this.regexp_eatZero(e)||this.regexp_eatHexEscapeSequence(e)||this.regexp_eatRegExpUnicodeEscapeSequence(e,!1)||!e.switchU&&this.regexp_eatLegacyOctalEscapeSequence(e)||this.regexp_eatIdentityEscape(e)},V.regexp_eatCControlLetter=function(e){var t=e.pos;if(e.eat(99)){if(this.regexp_eatControlLetter(e))return!0;e.pos=t}return!1},V.regexp_eatZero=function(e){return e.current()===48&&!it(e.lookahead())?(e.lastIntValue=0,e.advance(),!0):!1},V.regexp_eatControlEscape=function(e){var t=e.current();return t===116?(e.lastIntValue=9,e.advance(),!0):t===110?(e.lastIntValue=10,e.advance(),!0):t===118?(e.lastIntValue=11,e.advance(),!0):t===102?(e.lastIntValue=12,e.advance(),!0):t===114?(e.lastIntValue=13,e.advance(),!0):!1},V.regexp_eatControlLetter=function(e){var t=e.current();return $e(t)?(e.lastIntValue=t%32,e.advance(),!0):!1};function $e(e){return e>=65&&e<=90||e>=97&&e<=122}V.regexp_eatRegExpUnicodeEscapeSequence=function(e,t){t===void 0&&(t=!1);var n=e.pos,r=t||e.switchU;if(e.eat(117)){if(this.regexp_eatFixedHexDigits(e,4)){var i=e.lastIntValue;if(r&&i>=55296&&i<=56319){var a=e.pos;if(e.eat(92)&&e.eat(117)&&this.regexp_eatFixedHexDigits(e,4)){var o=e.lastIntValue;if(o>=56320&&o<=57343)return e.lastIntValue=(i-55296)*1024+(o-56320)+65536,!0}e.pos=a,e.lastIntValue=i}return!0}if(r&&e.eat(123)&&this.regexp_eatHexDigits(e)&&e.eat(125)&&et(e.lastIntValue))return!0;r&&e.raise(`Invalid unicode escape`),e.pos=n}return!1};function et(e){return e>=0&&e<=1114111}V.regexp_eatIdentityEscape=function(e){if(e.switchU)return this.regexp_eatSyntaxCharacter(e)?!0:e.eat(47)?(e.lastIntValue=47,!0):!1;var t=e.current();return t!==99&&(!e.switchN||t!==107)?(e.lastIntValue=t,e.advance(),!0):!1},V.regexp_eatDecimalEscape=function(e){e.lastIntValue=0;var t=e.current();if(t>=49&&t<=57){do e.lastIntValue=10*e.lastIntValue+(t-48),e.advance();while((t=e.current())>=48&&t<=57);return!0}return!1},V.regexp_eatCharacterClassEscape=function(e){var t=e.current();if(tt(t))return e.lastIntValue=-1,e.advance(),!0;if(e.switchU&&this.options.ecmaVersion>=9&&(t===80||t===112)){if(e.lastIntValue=-1,e.advance(),e.eat(123)&&this.regexp_eatUnicodePropertyValueExpression(e)&&e.eat(125))return!0;e.raise(`Invalid property name`)}return!1};function tt(e){return e===100||e===68||e===115||e===83||e===119||e===87}V.regexp_eatUnicodePropertyValueExpression=function(e){var t=e.pos;if(this.regexp_eatUnicodePropertyName(e)&&e.eat(61)){var n=e.lastStringValue;if(this.regexp_eatUnicodePropertyValue(e)){var r=e.lastStringValue;return this.regexp_validateUnicodePropertyNameAndValue(e,n,r),!0}}if(e.pos=t,this.regexp_eatLoneUnicodePropertyNameOrValue(e)){var i=e.lastStringValue;return this.regexp_validateUnicodePropertyNameOrValue(e,i),!0}return!1},V.regexp_validateUnicodePropertyNameAndValue=function(e,t,n){k(e.unicodeProperties.nonBinary,t)||e.raise(`Invalid property name`),e.unicodeProperties.nonBinary[t].test(n)||e.raise(`Invalid property value`)},V.regexp_validateUnicodePropertyNameOrValue=function(e,t){e.unicodeProperties.binary.test(t)||e.raise(`Invalid property name`)},V.regexp_eatUnicodePropertyName=function(e){var t=0;for(e.lastStringValue=``;nt(t=e.current());)e.lastStringValue+=Ye(t),e.advance();return e.lastStringValue!==``};function nt(e){return $e(e)||e===95}V.regexp_eatUnicodePropertyValue=function(e){var t=0;for(e.lastStringValue=``;rt(t=e.current());)e.lastStringValue+=Ye(t),e.advance();return e.lastStringValue!==``};function rt(e){return nt(e)||it(e)}V.regexp_eatLoneUnicodePropertyNameOrValue=function(e){return this.regexp_eatUnicodePropertyValue(e)},V.regexp_eatCharacterClass=function(e){if(e.eat(91)){if(e.eat(94),this.regexp_classRanges(e),e.eat(93))return!0;e.raise(`Unterminated character class`)}return!1},V.regexp_classRanges=function(e){for(;this.regexp_eatClassAtom(e);){var t=e.lastIntValue;if(e.eat(45)&&this.regexp_eatClassAtom(e)){var n=e.lastIntValue;e.switchU&&(t===-1||n===-1)&&e.raise(`Invalid character class`),t!==-1&&n!==-1&&t>n&&e.raise(`Range out of order in character class`)}}},V.regexp_eatClassAtom=function(e){var t=e.pos;if(e.eat(92)){if(this.regexp_eatClassEscape(e))return!0;if(e.switchU){var n=e.current();(n===99||st(n))&&e.raise(`Invalid class escape`),e.raise(`Invalid escape`)}e.pos=t}var r=e.current();return r===93?!1:(e.lastIntValue=r,e.advance(),!0)},V.regexp_eatClassEscape=function(e){var t=e.pos;if(e.eat(98))return e.lastIntValue=8,!0;if(e.switchU&&e.eat(45))return e.lastIntValue=45,!0;if(!e.switchU&&e.eat(99)){if(this.regexp_eatClassControlLetter(e))return!0;e.pos=t}return this.regexp_eatCharacterClassEscape(e)||this.regexp_eatCharacterEscape(e)},V.regexp_eatClassControlLetter=function(e){var t=e.current();return it(t)||t===95?(e.lastIntValue=t%32,e.advance(),!0):!1},V.regexp_eatHexEscapeSequence=function(e){var t=e.pos;if(e.eat(120)){if(this.regexp_eatFixedHexDigits(e,2))return!0;e.switchU&&e.raise(`Invalid escape`),e.pos=t}return!1},V.regexp_eatDecimalDigits=function(e){var t=e.pos,n=0;for(e.lastIntValue=0;it(n=e.current());)e.lastIntValue=10*e.lastIntValue+(n-48),e.advance();return e.pos!==t};function it(e){return e>=48&&e<=57}V.regexp_eatHexDigits=function(e){var t=e.pos,n=0;for(e.lastIntValue=0;at(n=e.current());)e.lastIntValue=16*e.lastIntValue+ot(n),e.advance();return e.pos!==t};function at(e){return e>=48&&e<=57||e>=65&&e<=70||e>=97&&e<=102}function ot(e){return e>=65&&e<=70?10+(e-65):e>=97&&e<=102?10+(e-97):e-48}V.regexp_eatLegacyOctalEscapeSequence=function(e){if(this.regexp_eatOctalDigit(e)){var t=e.lastIntValue;if(this.regexp_eatOctalDigit(e)){var n=e.lastIntValue;t<=3&&this.regexp_eatOctalDigit(e)?e.lastIntValue=t*64+n*8+e.lastIntValue:e.lastIntValue=t*8+n}else e.lastIntValue=t;return!0}return!1},V.regexp_eatOctalDigit=function(e){var t=e.current();return st(t)?(e.lastIntValue=t-48,e.advance(),!0):(e.lastIntValue=0,!1)};function st(e){return e>=48&&e<=55}V.regexp_eatFixedHexDigits=function(e,t){var n=e.pos;e.lastIntValue=0;for(var r=0;r<t;++r){var i=e.current();if(!at(i))return e.pos=n,!1;e.lastIntValue=16*e.lastIntValue+ot(i),e.advance()}return!0};var ct=function(e){this.type=e.type,this.value=e.value,this.start=e.start,this.end=e.end,e.options.locations&&(this.loc=new N(e,e.startLoc,e.endLoc)),e.options.ranges&&(this.range=[e.start,e.end])},H=_e.prototype;H.next=function(e){!e&&this.type.keyword&&this.containsEsc&&this.raiseRecoverable(this.start,`Escape sequence in keyword `+this.type.keyword),this.options.onToken&&this.options.onToken(new ct(this)),this.lastTokEnd=this.end,this.lastTokStart=this.start,this.lastTokEndLoc=this.endLoc,this.lastTokStartLoc=this.startLoc,this.nextToken()},H.getToken=function(){return this.next(),new ct(this)},typeof Symbol<`u`&&(H[Symbol.iterator]=function(){var e=this;return{next:function(){var t=e.getToken();return{done:t.type===b.eof,value:t}}}}),H.curContext=function(){return this.context[this.context.length-1]},H.nextToken=function(){var e=this.curContext();if((!e||!e.preserveSpace)&&this.skipSpace(),this.start=this.pos,this.options.locations&&(this.startLoc=this.curPosition()),this.pos>=this.input.length)return this.finishToken(b.eof);if(e.override)return e.override(this);this.readToken(this.fullCharCodeAtPos())},H.readToken=function(e){return f(e,this.options.ecmaVersion>=6)||e===92?this.readWord():this.getTokenFromCode(e)},H.fullCharCodeAtPos=function(){var e=this.input.charCodeAt(this.pos);if(e<=55295||e>=57344)return e;var t=this.input.charCodeAt(this.pos+1);return(e<<10)+t-56613888},H.skipBlockComment=function(){var e=this.options.onComment&&this.curPosition(),t=this.pos,n=this.input.indexOf(`*/`,this.pos+=2);if(n===-1&&this.raise(this.pos-2,`Unterminated comment`),this.pos=n+2,this.options.locations){S.lastIndex=t;for(var r;(r=S.exec(this.input))&&r.index<this.pos;)++this.curLine,this.lineStart=r.index+r[0].length}this.options.onComment&&this.options.onComment(!0,this.input.slice(t+2,n),t,this.pos,e,this.curPosition())},H.skipLineComment=function(e){for(var t=this.pos,n=this.options.onComment&&this.curPosition(),r=this.input.charCodeAt(this.pos+=e);this.pos<this.input.length&&!C(r);)r=this.input.charCodeAt(++this.pos);this.options.onComment&&this.options.onComment(!1,this.input.slice(t+e,this.pos),t,this.pos,n,this.curPosition())},H.skipSpace=function(){loop:for(;this.pos<this.input.length;){var e=this.input.charCodeAt(this.pos);switch(e){case 32:case 160:++this.pos;break;case 13:this.input.charCodeAt(this.pos+1)===10&&++this.pos;case 10:case 8232:case 8233:++this.pos,this.options.locations&&(++this.curLine,this.lineStart=this.pos);break;case 47:switch(this.input.charCodeAt(this.pos+1)){case 42:this.skipBlockComment();break;case 47:this.skipLineComment(2);break;default:break loop}break;default:if(e>8&&e<14||e>=5760&&w.test(String.fromCharCode(e)))++this.pos;else break loop}}},H.finishToken=function(e,t){this.end=this.pos,this.options.locations&&(this.endLoc=this.curPosition());var n=this.type;this.type=e,this.value=t,this.updateContext(n)},H.readToken_dot=function(){var e=this.input.charCodeAt(this.pos+1);if(e>=48&&e<=57)return this.readNumber(!0);var t=this.input.charCodeAt(this.pos+2);return this.options.ecmaVersion>=6&&e===46&&t===46?(this.pos+=3,this.finishToken(b.ellipsis)):(++this.pos,this.finishToken(b.dot))},H.readToken_slash=function(){var e=this.input.charCodeAt(this.pos+1);return this.exprAllowed?(++this.pos,this.readRegexp()):e===61?this.finishOp(b.assign,2):this.finishOp(b.slash,1)},H.readToken_mult_modulo_exp=function(e){var t=this.input.charCodeAt(this.pos+1),n=1,r=e===42?b.star:b.modulo;return this.options.ecmaVersion>=7&&e===42&&t===42&&(++n,r=b.starstar,t=this.input.charCodeAt(this.pos+2)),t===61?this.finishOp(b.assign,n+1):this.finishOp(r,n)},H.readToken_pipe_amp=function(e){var t=this.input.charCodeAt(this.pos+1);return t===e?this.options.ecmaVersion>=12&&this.input.charCodeAt(this.pos+2)===61?this.finishOp(b.assign,3):this.finishOp(e===124?b.logicalOR:b.logicalAND,2):t===61?this.finishOp(b.assign,2):this.finishOp(e===124?b.bitwiseOR:b.bitwiseAND,1)},H.readToken_caret=function(){return this.input.charCodeAt(this.pos+1)===61?this.finishOp(b.assign,2):this.finishOp(b.bitwiseXOR,1)},H.readToken_plus_min=function(e){var t=this.input.charCodeAt(this.pos+1);return t===e?t===45&&!this.inModule&&this.input.charCodeAt(this.pos+2)===62&&(this.lastTokEnd===0||x.test(this.input.slice(this.lastTokEnd,this.pos)))?(this.skipLineComment(3),this.skipSpace(),this.nextToken()):this.finishOp(b.incDec,2):t===61?this.finishOp(b.assign,2):this.finishOp(b.plusMin,1)},H.readToken_lt_gt=function(e){var t=this.input.charCodeAt(this.pos+1),n=1;return t===e?(n=e===62&&this.input.charCodeAt(this.pos+2)===62?3:2,this.input.charCodeAt(this.pos+n)===61?this.finishOp(b.assign,n+1):this.finishOp(b.bitShift,n)):t===33&&e===60&&!this.inModule&&this.input.charCodeAt(this.pos+2)===45&&this.input.charCodeAt(this.pos+3)===45?(this.skipLineComment(4),this.skipSpace(),this.nextToken()):(t===61&&(n=2),this.finishOp(b.relational,n))},H.readToken_eq_excl=function(e){var t=this.input.charCodeAt(this.pos+1);return t===61?this.finishOp(b.equality,this.input.charCodeAt(this.pos+2)===61?3:2):e===61&&t===62&&this.options.ecmaVersion>=6?(this.pos+=2,this.finishToken(b.arrow)):this.finishOp(e===61?b.eq:b.prefix,1)},H.readToken_question=function(){var e=this.options.ecmaVersion;if(e>=11){var t=this.input.charCodeAt(this.pos+1);if(t===46){var n=this.input.charCodeAt(this.pos+2);if(n<48||n>57)return this.finishOp(b.questionDot,2)}if(t===63)return e>=12&&this.input.charCodeAt(this.pos+2)===61?this.finishOp(b.assign,3):this.finishOp(b.coalesce,2)}return this.finishOp(b.question,1)},H.getTokenFromCode=function(e){switch(e){case 46:return this.readToken_dot();case 40:return++this.pos,this.finishToken(b.parenL);case 41:return++this.pos,this.finishToken(b.parenR);case 59:return++this.pos,this.finishToken(b.semi);case 44:return++this.pos,this.finishToken(b.comma);case 91:return++this.pos,this.finishToken(b.bracketL);case 93:return++this.pos,this.finishToken(b.bracketR);case 123:return++this.pos,this.finishToken(b.braceL);case 125:return++this.pos,this.finishToken(b.braceR);case 58:return++this.pos,this.finishToken(b.colon);case 96:if(this.options.ecmaVersion<6)break;return++this.pos,this.finishToken(b.backQuote);case 48:var t=this.input.charCodeAt(this.pos+1);if(t===120||t===88)return this.readRadixNumber(16);if(this.options.ecmaVersion>=6){if(t===111||t===79)return this.readRadixNumber(8);if(t===98||t===66)return this.readRadixNumber(2)}case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return this.readNumber(!1);case 34:case 39:return this.readString(e);case 47:return this.readToken_slash();case 37:case 42:return this.readToken_mult_modulo_exp(e);case 124:case 38:return this.readToken_pipe_amp(e);case 94:return this.readToken_caret();case 43:case 45:return this.readToken_plus_min(e);case 60:case 62:return this.readToken_lt_gt(e);case 61:case 33:return this.readToken_eq_excl(e);case 63:return this.readToken_question();case 126:return this.finishOp(b.prefix,1)}this.raise(this.pos,`Unexpected character '`+dt(e)+`'`)},H.finishOp=function(e,t){var n=this.input.slice(this.pos,this.pos+t);return this.pos+=t,this.finishToken(e,n)},H.readRegexp=function(){for(var e,t,n=this.pos;;){this.pos>=this.input.length&&this.raise(n,`Unterminated regular expression`);var r=this.input.charAt(this.pos);if(x.test(r)&&this.raise(n,`Unterminated regular expression`),e)e=!1;else{if(r===`[`)t=!0;else if(r===`]`&&t)t=!1;else if(r===`/`&&!t)break;e=r===`\\`}++this.pos}var i=this.input.slice(n,this.pos);++this.pos;var a=this.pos,o=this.readWord1();this.containsEsc&&this.unexpected(a);var s=this.regexpState||=new Je(this);s.reset(n,i,o),this.validateRegExpFlags(s),this.validateRegExpPattern(s);var c=null;try{c=new RegExp(i,o)}catch{}return this.finishToken(b.regexp,{pattern:i,flags:o,value:c})},H.readInt=function(e,t,n){for(var r=this.options.ecmaVersion>=12&&t===void 0,i=n&&this.input.charCodeAt(this.pos)===48,a=this.pos,o=0,s=0,c=0,l=t??1/0;c<l;++c,++this.pos){var u=this.input.charCodeAt(this.pos),d=void 0;if(r&&u===95){i&&this.raiseRecoverable(this.pos,`Numeric separator is not allowed in legacy octal numeric literals`),s===95&&this.raiseRecoverable(this.pos,`Numeric separator must be exactly one underscore`),c===0&&this.raiseRecoverable(this.pos,`Numeric separator is not allowed at the first of digits`),s=u;continue}if(d=u>=97?u-97+10:u>=65?u-65+10:u>=48&&u<=57?u-48:1/0,d>=e)break;s=u,o=o*e+d}return r&&s===95&&this.raiseRecoverable(this.pos-1,`Numeric separator is not allowed at the last of digits`),this.pos===a||t!=null&&this.pos-a!==t?null:o};function lt(e,t){return t?parseInt(e,8):parseFloat(e.replace(/_/g,``))}function ut(e){return typeof BigInt==`function`?BigInt(e.replace(/_/g,``)):null}H.readRadixNumber=function(e){var t=this.pos;this.pos+=2;var n=this.readInt(e);return n??this.raise(this.start+2,`Expected number in radix `+e),this.options.ecmaVersion>=11&&this.input.charCodeAt(this.pos)===110?(n=ut(this.input.slice(t,this.pos)),++this.pos):f(this.fullCharCodeAtPos())&&this.raise(this.pos,`Identifier directly after number`),this.finishToken(b.num,n)},H.readNumber=function(e){var t=this.pos;!e&&this.readInt(10,void 0,!0)===null&&this.raise(t,`Invalid number`);var n=this.pos-t>=2&&this.input.charCodeAt(t)===48;n&&this.strict&&this.raise(t,`Invalid number`);var r=this.input.charCodeAt(this.pos);if(!n&&!e&&this.options.ecmaVersion>=11&&r===110){var i=ut(this.input.slice(t,this.pos));return++this.pos,f(this.fullCharCodeAtPos())&&this.raise(this.pos,`Identifier directly after number`),this.finishToken(b.num,i)}n&&/[89]/.test(this.input.slice(t,this.pos))&&(n=!1),r===46&&!n&&(++this.pos,this.readInt(10),r=this.input.charCodeAt(this.pos)),(r===69||r===101)&&!n&&(r=this.input.charCodeAt(++this.pos),(r===43||r===45)&&++this.pos,this.readInt(10)===null&&this.raise(t,`Invalid number`)),f(this.fullCharCodeAtPos())&&this.raise(this.pos,`Identifier directly after number`);var a=lt(this.input.slice(t,this.pos),n);return this.finishToken(b.num,a)},H.readCodePoint=function(){var e=this.input.charCodeAt(this.pos),t;if(e===123){this.options.ecmaVersion<6&&this.unexpected();var n=++this.pos;t=this.readHexChar(this.input.indexOf(`}`,this.pos)-this.pos),++this.pos,t>1114111&&this.invalidStringToken(n,`Code point out of bounds`)}else t=this.readHexChar(4);return t};function dt(e){return e<=65535?String.fromCharCode(e):(e-=65536,String.fromCharCode((e>>10)+55296,(e&1023)+56320))}H.readString=function(e){for(var t=``,n=++this.pos;;){this.pos>=this.input.length&&this.raise(this.start,`Unterminated string constant`);var r=this.input.charCodeAt(this.pos);if(r===e)break;r===92?(t+=this.input.slice(n,this.pos),t+=this.readEscapedChar(!1),n=this.pos):(C(r,this.options.ecmaVersion>=10)&&this.raise(this.start,`Unterminated string constant`),++this.pos)}return t+=this.input.slice(n,this.pos++),this.finishToken(b.string,t)};var ft={};H.tryReadTemplateToken=function(){this.inTemplateElement=!0;try{this.readTmplToken()}catch(e){if(e===ft)this.readInvalidTemplateToken();else throw e}this.inTemplateElement=!1},H.invalidStringToken=function(e,t){if(this.inTemplateElement&&this.options.ecmaVersion>=9)throw ft;this.raise(e,t)},H.readTmplToken=function(){for(var e=``,t=this.pos;;){this.pos>=this.input.length&&this.raise(this.start,`Unterminated template`);var n=this.input.charCodeAt(this.pos);if(n===96||n===36&&this.input.charCodeAt(this.pos+1)===123)return this.pos===this.start&&(this.type===b.template||this.type===b.invalidTemplate)?n===36?(this.pos+=2,this.finishToken(b.dollarBraceL)):(++this.pos,this.finishToken(b.backQuote)):(e+=this.input.slice(t,this.pos),this.finishToken(b.template,e));if(n===92)e+=this.input.slice(t,this.pos),e+=this.readEscapedChar(!0),t=this.pos;else if(C(n)){switch(e+=this.input.slice(t,this.pos),++this.pos,n){case 13:this.input.charCodeAt(this.pos)===10&&++this.pos;case 10:e+=`
1211
+ `;break;default:e+=String.fromCharCode(n);break}this.options.locations&&(++this.curLine,this.lineStart=this.pos),t=this.pos}else ++this.pos}},H.readInvalidTemplateToken=function(){for(;this.pos<this.input.length;this.pos++)switch(this.input[this.pos]){case`\\`:++this.pos;break;case`$`:if(this.input[this.pos+1]!==`{`)break;case"`":return this.finishToken(b.invalidTemplate,this.input.slice(this.start,this.pos))}this.raise(this.start,`Unterminated template`)},H.readEscapedChar=function(e){var t=this.input.charCodeAt(++this.pos);switch(++this.pos,t){case 110:return`
1212
+ `;case 114:return`\r`;case 120:return String.fromCharCode(this.readHexChar(2));case 117:return dt(this.readCodePoint());case 116:return` `;case 98:return`\b`;case 118:return`\v`;case 102:return`\f`;case 13:this.input.charCodeAt(this.pos)===10&&++this.pos;case 10:return this.options.locations&&(this.lineStart=this.pos,++this.curLine),``;case 56:case 57:if(e){var n=this.pos-1;return this.invalidStringToken(n,`Invalid escape sequence in template string`),null}default:if(t>=48&&t<=55){var r=this.input.substr(this.pos-1,3).match(/^[0-7]+/)[0],i=parseInt(r,8);return i>255&&(r=r.slice(0,-1),i=parseInt(r,8)),this.pos+=r.length-1,t=this.input.charCodeAt(this.pos),(r!==`0`||t===56||t===57)&&(this.strict||e)&&this.invalidStringToken(this.pos-1-r.length,e?`Octal literal in template string`:`Octal literal in strict mode`),String.fromCharCode(i)}return C(t)?``:String.fromCharCode(t)}},H.readHexChar=function(e){var t=this.pos,n=this.readInt(16,e);return n===null&&this.invalidStringToken(t,`Bad character escape sequence`),n},H.readWord1=function(){this.containsEsc=!1;for(var e=``,t=!0,n=this.pos,r=this.options.ecmaVersion>=6;this.pos<this.input.length;){var i=this.fullCharCodeAtPos();if(p(i,r))this.pos+=i<=65535?1:2;else if(i===92){this.containsEsc=!0,e+=this.input.slice(n,this.pos);var a=this.pos;this.input.charCodeAt(++this.pos)!==117&&this.invalidStringToken(this.pos,`Expecting Unicode escape sequence \\uXXXX`),++this.pos;var o=this.readCodePoint();(t?f:p)(o,r)||this.invalidStringToken(a,`Invalid Unicode escape`),e+=dt(o),n=this.pos}else break;t=!1}return e+this.input.slice(n,this.pos)},H.readWord=function(){var e=this.readWord1(),t=b.name;return this.keywords.test(e)&&(t=v[e]),this.finishToken(t,e)};var pt=`7.4.1`;_e.acorn={Parser:_e,version:pt,defaultOptions:ee,Position:M,SourceLocation:N,getLineInfo:P,Node:Me,TokenType:m,tokTypes:b,keywordTypes:v,TokContext:B,tokContexts:Fe,isIdentifierChar:p,isIdentifierStart:f,Token:ct,isNewLine:C,lineBreak:x,lineBreakG:S,nonASCIIwhitespace:w};function mt(e,t){return _e.parse(e,t)}function ht(e,t,n){return _e.parseExpressionAt(e,t,n)}function gt(e,t){return _e.tokenizer(e,t)}e.Node=Me,e.Parser=_e,e.Position=M,e.SourceLocation=N,e.TokContext=B,e.Token=ct,e.TokenType=m,e.defaultOptions=ee,e.getLineInfo=P,e.isIdentifierChar=p,e.isIdentifierStart=f,e.isNewLine=C,e.keywordTypes=v,e.lineBreak=x,e.lineBreakG=S,e.nonASCIIwhitespace=w,e.parse=mt,e.parseExpressionAt=ht,e.tokContexts=Fe,e.tokTypes=b,e.tokenizer=gt,e.version=pt,Object.defineProperty(e,`__esModule`,{value:!0})}))}}),H0=B$({"../../../node_modules/acorn-jsx/xhtml.js"(e,t){t.exports={quot:`"`,amp:`&`,apos:`'`,lt:`<`,gt:`>`,nbsp:`\xA0`,iexcl:`¡`,cent:`¢`,pound:`£`,curren:`¤`,yen:`¥`,brvbar:`¦`,sect:`§`,uml:`¨`,copy:`©`,ordf:`ª`,laquo:`«`,not:`¬`,shy:`­`,reg:`®`,macr:`¯`,deg:`°`,plusmn:`±`,sup2:`²`,sup3:`³`,acute:`´`,micro:`µ`,para:`¶`,middot:`·`,cedil:`¸`,sup1:`¹`,ordm:`º`,raquo:`»`,frac14:`¼`,frac12:`½`,frac34:`¾`,iquest:`¿`,Agrave:`À`,Aacute:`Á`,Acirc:`Â`,Atilde:`Ã`,Auml:`Ä`,Aring:`Å`,AElig:`Æ`,Ccedil:`Ç`,Egrave:`È`,Eacute:`É`,Ecirc:`Ê`,Euml:`Ë`,Igrave:`Ì`,Iacute:`Í`,Icirc:`Î`,Iuml:`Ï`,ETH:`Ð`,Ntilde:`Ñ`,Ograve:`Ò`,Oacute:`Ó`,Ocirc:`Ô`,Otilde:`Õ`,Ouml:`Ö`,times:`×`,Oslash:`Ø`,Ugrave:`Ù`,Uacute:`Ú`,Ucirc:`Û`,Uuml:`Ü`,Yacute:`Ý`,THORN:`Þ`,szlig:`ß`,agrave:`à`,aacute:`á`,acirc:`â`,atilde:`ã`,auml:`ä`,aring:`å`,aelig:`æ`,ccedil:`ç`,egrave:`è`,eacute:`é`,ecirc:`ê`,euml:`ë`,igrave:`ì`,iacute:`í`,icirc:`î`,iuml:`ï`,eth:`ð`,ntilde:`ñ`,ograve:`ò`,oacute:`ó`,ocirc:`ô`,otilde:`õ`,ouml:`ö`,divide:`÷`,oslash:`ø`,ugrave:`ù`,uacute:`ú`,ucirc:`û`,uuml:`ü`,yacute:`ý`,thorn:`þ`,yuml:`ÿ`,OElig:`Œ`,oelig:`œ`,Scaron:`Š`,scaron:`š`,Yuml:`Ÿ`,fnof:`ƒ`,circ:`ˆ`,tilde:`˜`,Alpha:`Α`,Beta:`Β`,Gamma:`Γ`,Delta:`Δ`,Epsilon:`Ε`,Zeta:`Ζ`,Eta:`Η`,Theta:`Θ`,Iota:`Ι`,Kappa:`Κ`,Lambda:`Λ`,Mu:`Μ`,Nu:`Ν`,Xi:`Ξ`,Omicron:`Ο`,Pi:`Π`,Rho:`Ρ`,Sigma:`Σ`,Tau:`Τ`,Upsilon:`Υ`,Phi:`Φ`,Chi:`Χ`,Psi:`Ψ`,Omega:`Ω`,alpha:`α`,beta:`β`,gamma:`γ`,delta:`δ`,epsilon:`ε`,zeta:`ζ`,eta:`η`,theta:`θ`,iota:`ι`,kappa:`κ`,lambda:`λ`,mu:`μ`,nu:`ν`,xi:`ξ`,omicron:`ο`,pi:`π`,rho:`ρ`,sigmaf:`ς`,sigma:`σ`,tau:`τ`,upsilon:`υ`,phi:`φ`,chi:`χ`,psi:`ψ`,omega:`ω`,thetasym:`ϑ`,upsih:`ϒ`,piv:`ϖ`,ensp:` `,emsp:` `,thinsp:` `,zwnj:`‌`,zwj:`‍`,lrm:`‎`,rlm:`‏`,ndash:`–`,mdash:`—`,lsquo:`‘`,rsquo:`’`,sbquo:`‚`,ldquo:`“`,rdquo:`”`,bdquo:`„`,dagger:`†`,Dagger:`‡`,bull:`•`,hellip:`…`,permil:`‰`,prime:`′`,Prime:`″`,lsaquo:`‹`,rsaquo:`›`,oline:`‾`,frasl:`⁄`,euro:`€`,image:`ℑ`,weierp:`℘`,real:`ℜ`,trade:`™`,alefsym:`ℵ`,larr:`←`,uarr:`↑`,rarr:`→`,darr:`↓`,harr:`↔`,crarr:`↵`,lArr:`⇐`,uArr:`⇑`,rArr:`⇒`,dArr:`⇓`,hArr:`⇔`,forall:`∀`,part:`∂`,exist:`∃`,empty:`∅`,nabla:`∇`,isin:`∈`,notin:`∉`,ni:`∋`,prod:`∏`,sum:`∑`,minus:`−`,lowast:`∗`,radic:`√`,prop:`∝`,infin:`∞`,ang:`∠`,and:`∧`,or:`∨`,cap:`∩`,cup:`∪`,int:`∫`,there4:`∴`,sim:`∼`,cong:`≅`,asymp:`≈`,ne:`≠`,equiv:`≡`,le:`≤`,ge:`≥`,sub:`⊂`,sup:`⊃`,nsub:`⊄`,sube:`⊆`,supe:`⊇`,oplus:`⊕`,otimes:`⊗`,perp:`⊥`,sdot:`⋅`,lceil:`⌈`,rceil:`⌉`,lfloor:`⌊`,rfloor:`⌋`,lang:`〈`,rang:`〉`,loz:`◊`,spades:`♠`,clubs:`♣`,hearts:`♥`,diams:`♦`}}}),U0=B$({"../../../node_modules/acorn-jsx/index.js"(e,t){var n=H0(),r=/^[\da-fA-F]+$/,i=/^\d+$/,a=new WeakMap;function o(e){e=e.Parser.acorn||e;let t=a.get(e);if(!t){let n=e.tokTypes,r=e.TokContext,i=e.TokenType,o=new r(`<tag`,!1),s=new r(`</tag`,!1),c=new r(`<tag>...</tag>`,!0,!0),l={tc_oTag:o,tc_cTag:s,tc_expr:c},u={jsxName:new i(`jsxName`),jsxText:new i(`jsxText`,{beforeExpr:!0}),jsxTagStart:new i(`jsxTagStart`,{startsExpr:!0}),jsxTagEnd:new i(`jsxTagEnd`)};u.jsxTagStart.updateContext=function(){this.context.push(c),this.context.push(o),this.exprAllowed=!1},u.jsxTagEnd.updateContext=function(e){let t=this.context.pop();t===o&&e===n.slash||t===s?(this.context.pop(),this.exprAllowed=this.curContext()===c):this.exprAllowed=!0},t={tokContexts:l,tokTypes:u},a.set(e,t)}return t}function s(e){if(!e)return e;if(e.type===`JSXIdentifier`)return e.name;if(e.type===`JSXNamespacedName`)return e.namespace.name+`:`+e.name.name;if(e.type===`JSXMemberExpression`)return s(e.object)+`.`+s(e.property)}t.exports=function(e){return e||={},function(t){return c({allowNamespaces:e.allowNamespaces!==!1,allowNamespacedObjects:!!e.allowNamespacedObjects},t)}},Object.defineProperty(t.exports,`tokTypes`,{get:function(){return o(V0()).tokTypes},configurable:!0,enumerable:!0});function c(e,t){let a=t.acorn||V0(),c=o(a),l=a.tokTypes,u=c.tokTypes,d=a.tokContexts,f=c.tokContexts.tc_oTag,p=c.tokContexts.tc_cTag,m=c.tokContexts.tc_expr,h=a.isNewLine,g=a.isIdentifierStart,_=a.isIdentifierChar;return class extends t{static get acornJsx(){return c}jsx_readToken(){let e=``,t=this.pos;for(;;){this.pos>=this.input.length&&this.raise(this.start,`Unterminated JSX contents`);let n=this.input.charCodeAt(this.pos);switch(n){case 60:case 123:return this.pos===this.start?n===60&&this.exprAllowed?(++this.pos,this.finishToken(u.jsxTagStart)):this.getTokenFromCode(n):(e+=this.input.slice(t,this.pos),this.finishToken(u.jsxText,e));case 38:e+=this.input.slice(t,this.pos),e+=this.jsx_readEntity(),t=this.pos;break;case 62:case 125:this.raise(this.pos,"Unexpected token `"+this.input[this.pos]+"`. Did you mean `"+(n===62?`&gt;`:`&rbrace;`)+'` or `{"'+this.input[this.pos]+'"}`?');default:h(n)?(e+=this.input.slice(t,this.pos),e+=this.jsx_readNewLine(!0),t=this.pos):++this.pos}}}jsx_readNewLine(e){let t=this.input.charCodeAt(this.pos),n;return++this.pos,t===13&&this.input.charCodeAt(this.pos)===10?(++this.pos,n=e?`
1213
+ `:`\r
1214
+ `):n=String.fromCharCode(t),this.options.locations&&(++this.curLine,this.lineStart=this.pos),n}jsx_readString(e){let t=``,n=++this.pos;for(;;){this.pos>=this.input.length&&this.raise(this.start,`Unterminated string constant`);let r=this.input.charCodeAt(this.pos);if(r===e)break;r===38?(t+=this.input.slice(n,this.pos),t+=this.jsx_readEntity(),n=this.pos):h(r)?(t+=this.input.slice(n,this.pos),t+=this.jsx_readNewLine(!1),n=this.pos):++this.pos}return t+=this.input.slice(n,this.pos++),this.finishToken(l.string,t)}jsx_readEntity(){let e=``,t=0,a,o=this.input[this.pos];o!==`&`&&this.raise(this.pos,`Entity must start with an ampersand`);let s=++this.pos;for(;this.pos<this.input.length&&t++<10;){if(o=this.input[this.pos++],o===`;`){e[0]===`#`?e[1]===`x`?(e=e.substr(2),r.test(e)&&(a=String.fromCharCode(parseInt(e,16)))):(e=e.substr(1),i.test(e)&&(a=String.fromCharCode(parseInt(e,10)))):a=n[e];break}e+=o}return a||(this.pos=s,`&`)}jsx_readWord(){let e,t=this.pos;do e=this.input.charCodeAt(++this.pos);while(_(e)||e===45);return this.finishToken(u.jsxName,this.input.slice(t,this.pos))}jsx_parseIdentifier(){let e=this.startNode();return this.type===u.jsxName?e.name=this.value:this.type.keyword?e.name=this.type.keyword:this.unexpected(),this.next(),this.finishNode(e,`JSXIdentifier`)}jsx_parseNamespacedName(){let t=this.start,n=this.startLoc,r=this.jsx_parseIdentifier();if(!e.allowNamespaces||!this.eat(l.colon))return r;var i=this.startNodeAt(t,n);return i.namespace=r,i.name=this.jsx_parseIdentifier(),this.finishNode(i,`JSXNamespacedName`)}jsx_parseElementName(){if(this.type===u.jsxTagEnd)return``;let t=this.start,n=this.startLoc,r=this.jsx_parseNamespacedName();for(this.type===l.dot&&r.type===`JSXNamespacedName`&&!e.allowNamespacedObjects&&this.unexpected();this.eat(l.dot);){let e=this.startNodeAt(t,n);e.object=r,e.property=this.jsx_parseIdentifier(),r=this.finishNode(e,`JSXMemberExpression`)}return r}jsx_parseAttributeValue(){switch(this.type){case l.braceL:let e=this.jsx_parseExpressionContainer();return e.expression.type===`JSXEmptyExpression`&&this.raise(e.start,`JSX attributes must only be assigned a non-empty expression`),e;case u.jsxTagStart:case l.string:return this.parseExprAtom();default:this.raise(this.start,`JSX value should be either an expression or a quoted JSX text`)}}jsx_parseEmptyExpression(){let e=this.startNodeAt(this.lastTokEnd,this.lastTokEndLoc);return this.finishNodeAt(e,`JSXEmptyExpression`,this.start,this.startLoc)}jsx_parseExpressionContainer(){let e=this.startNode();return this.next(),e.expression=this.type===l.braceR?this.jsx_parseEmptyExpression():this.parseExpression(),this.expect(l.braceR),this.finishNode(e,`JSXExpressionContainer`)}jsx_parseAttribute(){let e=this.startNode();return this.eat(l.braceL)?(this.expect(l.ellipsis),e.argument=this.parseMaybeAssign(),this.expect(l.braceR),this.finishNode(e,`JSXSpreadAttribute`)):(e.name=this.jsx_parseNamespacedName(),e.value=this.eat(l.eq)?this.jsx_parseAttributeValue():null,this.finishNode(e,`JSXAttribute`))}jsx_parseOpeningElementAt(e,t){let n=this.startNodeAt(e,t);n.attributes=[];let r=this.jsx_parseElementName();for(r&&(n.name=r);this.type!==l.slash&&this.type!==u.jsxTagEnd;)n.attributes.push(this.jsx_parseAttribute());return n.selfClosing=this.eat(l.slash),this.expect(u.jsxTagEnd),this.finishNode(n,r?`JSXOpeningElement`:`JSXOpeningFragment`)}jsx_parseClosingElementAt(e,t){let n=this.startNodeAt(e,t),r=this.jsx_parseElementName();return r&&(n.name=r),this.expect(u.jsxTagEnd),this.finishNode(n,r?`JSXClosingElement`:`JSXClosingFragment`)}jsx_parseElementAt(e,t){let n=this.startNodeAt(e,t),r=[],i=this.jsx_parseOpeningElementAt(e,t),a=null;if(!i.selfClosing){contents:for(;;)switch(this.type){case u.jsxTagStart:if(e=this.start,t=this.startLoc,this.next(),this.eat(l.slash)){a=this.jsx_parseClosingElementAt(e,t);break contents}r.push(this.jsx_parseElementAt(e,t));break;case u.jsxText:r.push(this.parseExprAtom());break;case l.braceL:r.push(this.jsx_parseExpressionContainer());break;default:this.unexpected()}s(a.name)!==s(i.name)&&this.raise(a.start,`Expected corresponding JSX closing tag for <`+s(i.name)+`>`)}let o=i.name?`Element`:`Fragment`;return n[`opening`+o]=i,n[`closing`+o]=a,n.children=r,this.type===l.relational&&this.value===`<`&&this.raise(this.start,`Adjacent JSX elements must be wrapped in an enclosing tag`),this.finishNode(n,`JSX`+o)}jsx_parseText(){let e=this.parseLiteral(this.value);return e.type=`JSXText`,e}jsx_parseElement(){let e=this.start,t=this.startLoc;return this.next(),this.jsx_parseElementAt(e,t)}parseExprAtom(e){return this.type===u.jsxText?this.jsx_parseText():this.type===u.jsxTagStart?this.jsx_parseElement():super.parseExprAtom(e)}readToken(e){let t=this.curContext();if(t===m)return this.jsx_readToken();if(t===f||t===p){if(g(e))return this.jsx_readWord();if(e==62)return++this.pos,this.finishToken(u.jsxTagEnd);if((e===34||e===39)&&t==f)return this.jsx_readString(e)}return e===60&&this.exprAllowed&&this.input.charCodeAt(this.pos+1)!==33?(++this.pos,this.finishToken(u.jsxTagStart)):super.readToken(e)}updateContext(e){if(this.type==l.braceL){var t=this.curContext();t==f?this.context.push(d.b_expr):t==m?this.context.push(d.b_tmpl):super.updateContext(e),this.exprAllowed=!0}else if(this.type===l.slash&&e===u.jsxTagStart)this.context.length-=2,this.context.push(p),this.exprAllowed=!1;else return super.updateContext(e)}}}}}),W0=B$({"../../../node_modules/html-tags/html-tags.json"(e,t){t.exports=`a.abbr.address.area.article.aside.audio.b.base.bdi.bdo.blockquote.body.br.button.canvas.caption.cite.code.col.colgroup.data.datalist.dd.del.details.dfn.dialog.div.dl.dt.em.embed.fieldset.figcaption.figure.footer.form.h1.h2.h3.h4.h5.h6.head.header.hgroup.hr.html.i.iframe.img.input.ins.kbd.label.legend.li.link.main.map.mark.math.menu.menuitem.meta.meter.nav.noscript.object.ol.optgroup.option.output.p.param.picture.pre.progress.q.rb.rp.rt.rtc.ruby.s.samp.script.search.section.select.slot.small.source.span.strong.style.sub.summary.sup.svg.table.tbody.td.template.textarea.tfoot.th.thead.time.title.tr.track.u.ul.var.video.wbr`.split(`.`)}}),G0=B$({"../../../node_modules/html-tags/index.js"(e,t){t.exports=W0()}});V$({},{argTypesEnhancers:()=>M4,parameters:()=>j4});var K0=`custom`,q0=`object`,J0=`array`,Y0=`class`,X0=`func`,Z0=`element`,Q0=U$(B0(),1);function $0(e){var t=[...arguments].slice(1),n=Array.from(typeof e==`string`?[e]:e);n[n.length-1]=n[n.length-1].replace(/\r?\n([\t ]*)$/,``);var r=n.reduce(function(e,t){var n=t.match(/\n([\t ]+|(?!\s).)/g);return n?e.concat(n.map(function(e){return e.match(/[\t ]/g)?.length??0})):e},[]);if(r.length){var i=RegExp(`
1215
+ [ ]{`+Math.min.apply(Math,r)+`}`,`g`);n=n.map(function(e){return e.replace(i,`
1216
+ `)})}n[0]=n[0].replace(/^\r?\n/,``);var a=n[0];return t.forEach(function(e,t){var r=a.match(/(?:^|\n)( *)$/),i=r?r[1]:``,o=e;typeof e==`string`&&e.includes(`
1217
+ `)&&(o=String(e).split(`
1218
+ `).map(function(e,t){return t===0?e:``+i+e}).join(`
1219
+ `)),a+=o+n[t+1]}),a}var e2={format:{indent:{style:` `},semicolons:!1}},t2={...e2,format:{newline:``}},n2={...e2};function r2(e,t=!1){return(0,Q0.generate)(e,t?t2:n2)}function i2(e,t=!1){return t?a2(e):r2(e)}function a2(e){let t=r2(e,!0);return t.endsWith(` }`)||(t=`${t.slice(0,-1)} }`),t}function o2(e,t=!1){return t?c2(e):s2(e)}function s2(e){let t=r2(e);return t.endsWith(` }]`)&&(t=$0(t)),t}function c2(e){let t=r2(e,!0);return t.startsWith(`[ `)&&(t=t.replace(`[ `,`[`)),t}var l2=U$(V0(),1),u2=U$(U0(),1);function d2(e,t,n,r,i){n||=$,(function e(r,i,a){var o=a||r.type,s=t[o];n[o](r,i,e),s&&s(r,i)})(e,r,i)}function f2(e,t,n,r,i){var a=[];n||=$,(function e(r,i,o){var s=o||r.type,c=t[s],l=r!==a[a.length-1];l&&a.push(r),n[s](r,i,e),c&&c(r,i||a,a),l&&a.pop()})(e,r,i)}function p2(e,t,n){n(e,t)}function m2(e,t,n){}var $={};$.Program=$.BlockStatement=function(e,t,n){for(var r=0,i=e.body;r<i.length;r+=1){var a=i[r];n(a,t,`Statement`)}},$.Statement=p2,$.EmptyStatement=m2,$.ExpressionStatement=$.ParenthesizedExpression=$.ChainExpression=function(e,t,n){return n(e.expression,t,`Expression`)},$.IfStatement=function(e,t,n){n(e.test,t,`Expression`),n(e.consequent,t,`Statement`),e.alternate&&n(e.alternate,t,`Statement`)},$.LabeledStatement=function(e,t,n){return n(e.body,t,`Statement`)},$.BreakStatement=$.ContinueStatement=m2,$.WithStatement=function(e,t,n){n(e.object,t,`Expression`),n(e.body,t,`Statement`)},$.SwitchStatement=function(e,t,n){n(e.discriminant,t,`Expression`);for(var r=0,i=e.cases;r<i.length;r+=1){var a=i[r];a.test&&n(a.test,t,`Expression`);for(var o=0,s=a.consequent;o<s.length;o+=1){var c=s[o];n(c,t,`Statement`)}}},$.SwitchCase=function(e,t,n){e.test&&n(e.test,t,`Expression`);for(var r=0,i=e.consequent;r<i.length;r+=1){var a=i[r];n(a,t,`Statement`)}},$.ReturnStatement=$.YieldExpression=$.AwaitExpression=function(e,t,n){e.argument&&n(e.argument,t,`Expression`)},$.ThrowStatement=$.SpreadElement=function(e,t,n){return n(e.argument,t,`Expression`)},$.TryStatement=function(e,t,n){n(e.block,t,`Statement`),e.handler&&n(e.handler,t),e.finalizer&&n(e.finalizer,t,`Statement`)},$.CatchClause=function(e,t,n){e.param&&n(e.param,t,`Pattern`),n(e.body,t,`Statement`)},$.WhileStatement=$.DoWhileStatement=function(e,t,n){n(e.test,t,`Expression`),n(e.body,t,`Statement`)},$.ForStatement=function(e,t,n){e.init&&n(e.init,t,`ForInit`),e.test&&n(e.test,t,`Expression`),e.update&&n(e.update,t,`Expression`),n(e.body,t,`Statement`)},$.ForInStatement=$.ForOfStatement=function(e,t,n){n(e.left,t,`ForInit`),n(e.right,t,`Expression`),n(e.body,t,`Statement`)},$.ForInit=function(e,t,n){e.type===`VariableDeclaration`?n(e,t):n(e,t,`Expression`)},$.DebuggerStatement=m2,$.FunctionDeclaration=function(e,t,n){return n(e,t,`Function`)},$.VariableDeclaration=function(e,t,n){for(var r=0,i=e.declarations;r<i.length;r+=1){var a=i[r];n(a,t)}},$.VariableDeclarator=function(e,t,n){n(e.id,t,`Pattern`),e.init&&n(e.init,t,`Expression`)},$.Function=function(e,t,n){e.id&&n(e.id,t,`Pattern`);for(var r=0,i=e.params;r<i.length;r+=1){var a=i[r];n(a,t,`Pattern`)}n(e.body,t,e.expression?`Expression`:`Statement`)},$.Pattern=function(e,t,n){e.type===`Identifier`?n(e,t,`VariablePattern`):e.type===`MemberExpression`?n(e,t,`MemberPattern`):n(e,t)},$.VariablePattern=m2,$.MemberPattern=p2,$.RestElement=function(e,t,n){return n(e.argument,t,`Pattern`)},$.ArrayPattern=function(e,t,n){for(var r=0,i=e.elements;r<i.length;r+=1){var a=i[r];a&&n(a,t,`Pattern`)}},$.ObjectPattern=function(e,t,n){for(var r=0,i=e.properties;r<i.length;r+=1){var a=i[r];a.type===`Property`?(a.computed&&n(a.key,t,`Expression`),n(a.value,t,`Pattern`)):a.type===`RestElement`&&n(a.argument,t,`Pattern`)}},$.Expression=p2,$.ThisExpression=$.Super=$.MetaProperty=m2,$.ArrayExpression=function(e,t,n){for(var r=0,i=e.elements;r<i.length;r+=1){var a=i[r];a&&n(a,t,`Expression`)}},$.ObjectExpression=function(e,t,n){for(var r=0,i=e.properties;r<i.length;r+=1){var a=i[r];n(a,t)}},$.FunctionExpression=$.ArrowFunctionExpression=$.FunctionDeclaration,$.SequenceExpression=function(e,t,n){for(var r=0,i=e.expressions;r<i.length;r+=1){var a=i[r];n(a,t,`Expression`)}},$.TemplateLiteral=function(e,t,n){for(var r=0,i=e.quasis;r<i.length;r+=1){var a=i[r];n(a,t)}for(var o=0,s=e.expressions;o<s.length;o+=1){var c=s[o];n(c,t,`Expression`)}},$.TemplateElement=m2,$.UnaryExpression=$.UpdateExpression=function(e,t,n){n(e.argument,t,`Expression`)},$.BinaryExpression=$.LogicalExpression=function(e,t,n){n(e.left,t,`Expression`),n(e.right,t,`Expression`)},$.AssignmentExpression=$.AssignmentPattern=function(e,t,n){n(e.left,t,`Pattern`),n(e.right,t,`Expression`)},$.ConditionalExpression=function(e,t,n){n(e.test,t,`Expression`),n(e.consequent,t,`Expression`),n(e.alternate,t,`Expression`)},$.NewExpression=$.CallExpression=function(e,t,n){if(n(e.callee,t,`Expression`),e.arguments)for(var r=0,i=e.arguments;r<i.length;r+=1){var a=i[r];n(a,t,`Expression`)}},$.MemberExpression=function(e,t,n){n(e.object,t,`Expression`),e.computed&&n(e.property,t,`Expression`)},$.ExportNamedDeclaration=$.ExportDefaultDeclaration=function(e,t,n){e.declaration&&n(e.declaration,t,e.type===`ExportNamedDeclaration`||e.declaration.id?`Statement`:`Expression`),e.source&&n(e.source,t,`Expression`)},$.ExportAllDeclaration=function(e,t,n){e.exported&&n(e.exported,t),n(e.source,t,`Expression`)},$.ImportDeclaration=function(e,t,n){for(var r=0,i=e.specifiers;r<i.length;r+=1){var a=i[r];n(a,t)}n(e.source,t,`Expression`)},$.ImportExpression=function(e,t,n){n(e.source,t,`Expression`)},$.ImportSpecifier=$.ImportDefaultSpecifier=$.ImportNamespaceSpecifier=$.Identifier=$.Literal=m2,$.TaggedTemplateExpression=function(e,t,n){n(e.tag,t,`Expression`),n(e.quasi,t,`Expression`)},$.ClassDeclaration=$.ClassExpression=function(e,t,n){return n(e,t,`Class`)},$.Class=function(e,t,n){e.id&&n(e.id,t,`Pattern`),e.superClass&&n(e.superClass,t,`Expression`),n(e.body,t)},$.ClassBody=function(e,t,n){for(var r=0,i=e.body;r<i.length;r+=1){var a=i[r];n(a,t)}},$.MethodDefinition=$.Property=function(e,t,n){e.computed&&n(e.key,t,`Expression`),n(e.value,t,`Expression`)};var h2={...$,JSXElement:()=>{}},g2=l2.Parser.extend((0,u2.default)());function _2(e){return e==null?null:e.name}function v2(e){return e.filter(e=>e.type===`ObjectExpression`||e.type===`ArrayExpression`)}function y2(e){let t=[];return f2(e,{ObjectExpression(e,n){t.push(v2(n).length)},ArrayExpression(e,n){t.push(v2(n).length)}},h2),Math.max(...t)}function b2(e){return{inferredType:{type:`Identifier`,identifier:_2(e)},ast:e}}function x2(e){return{inferredType:{type:`Literal`},ast:e}}function S2(e){let t;d2(e.body,{JSXElement(e){t=e}},h2);let n={type:t==null?`Function`:`Element`,params:e.params,hasParams:e.params.length!==0},r=_2(e.id);return r!=null&&(n.identifier=r),{inferredType:n,ast:e}}function C2(e){let t;return d2(e.body,{JSXElement(e){t=e}},h2),{inferredType:{type:t==null?`Class`:`Element`,identifier:_2(e.id)},ast:e}}function w2(e){let t={type:`Element`},n=_2(e.openingElement.name);return n!=null&&(t.identifier=n),{inferredType:t,ast:e}}function T2(e){return _2(e.callee.type===`MemberExpression`?e.callee.property:e.callee)===`shape`?E2(e.arguments[0]):null}function E2(e){return{inferredType:{type:`Object`,depth:y2(e)},ast:e}}function D2(e){return{inferredType:{type:`Array`,depth:y2(e)},ast:e}}function O2(e){switch(e.type){case`Identifier`:return b2(e);case`Literal`:return x2(e);case`FunctionExpression`:case`ArrowFunctionExpression`:return S2(e);case`ClassExpression`:return C2(e);case`JSXElement`:return w2(e);case`CallExpression`:return T2(e);case`ObjectExpression`:return E2(e);case`ArrayExpression`:return D2(e);default:return null}}function k2(e){let t=g2.parse(`(${e})`,{ecmaVersion:2020}),n={inferredType:{type:`Unknown`},ast:t};if(t.body[0]!=null){let e=t.body[0];switch(e.type){case`ExpressionStatement`:{let t=O2(e.expression);t!=null&&(n=t);break}default:break}}return n}function A2(e){try{return{...k2(e)}}catch{}return{inferredType:{type:`Unknown`}}}var j2=U$(G0(),1);function M2(e){return j2.default.includes(e.toLowerCase())}function N2({inferredType:e,ast:t}){let{depth:n}=e;if(n<=2){let e=o2(t,!0);if(!YG(e))return Q(e)}return Q(J0,o2(t))}function P2({inferredType:e,ast:t}){let{depth:n}=e;if(n===1){let e=i2(t,!0);if(!YG(e))return Q(e)}return Q(q0,i2(t))}function F2(e,t){return t?`${e}( ... )`:`${e}()`}function I2(e){return`<${e} />`}function L2(e){let{type:t,identifier:n}=e;switch(t){case`Function`:return F2(n,e.hasParams);case`Element`:return I2(n);default:return n}}function R2({inferredType:e,ast:t}){let{identifier:n}=e;if(n!=null)return Q(L2(e),r2(t));let r=r2(t,!0);return YG(r)?Q(X0,r2(t)):Q(r)}function z2(e,t){let{inferredType:n}=t,{identifier:r}=n;return r!=null&&!M2(r)?Q(L2(n),e):YG(e)?Q(Z0,e):Q(e)}function B2(e){try{let t=A2(e);switch(t.inferredType.type){case`Object`:return P2(t);case`Function`:return R2(t);case`Element`:return z2(e,t);case`Array`:return N2(t);default:return null}}catch(e){console.error(e)}return null}function V2(e){if(!e||typeof e!=`object`)return!1;let t=Object.getPrototypeOf(e);return t===null||t===Object.prototype||Object.getPrototypeOf(t)===null?Object.prototype.toString.call(e)===`[object Object]`:!1}function H2(e){return typeof e==`function`}function U2(e){return typeof e==`string`}var W2=S0;function G2(e){return e.$$typeof!=null}function K2(e,t){let{name:n}=e;return n!==``&&n!==`anonymous`&&n!==t?n:null}var q2=e=>Q(JSON.stringify(e));function J2(e){let{type:t}=e,{displayName:n}=t,r=W2(e,{});if(n!=null)return Q(I2(n),r);if(U2(t)&&M2(t)){let t=W2(e,{tabStop:0}).replace(/\r?\n|\r/g,``);if(!YG(t))return Q(t)}return Q(Z0,r)}var Y2={string:q2,object:e=>G2(e)&&e.type!=null?J2(e):V2(e)?P2(A2(JSON.stringify(e))):Array.isArray(e)?N2(A2(JSON.stringify(e))):Q(q0),function:(e,t)=>{let n=!1,r;if(H2(e.render))n=!0;else if(e.prototype!=null&&H2(e.prototype.render))n=!0;else{let t;try{r=A2(e.toString());let{hasParams:i,params:a}=r.inferredType;i?a.length===1&&a[0].type===`ObjectPattern`&&(t=e({})):t=e(),t!=null&&G2(t)&&(n=!0)}catch{}}let i=K2(e,t.name);if(i!=null){if(n)return Q(I2(i));r!=null&&(r=A2(e.toString()));let{hasParams:t}=r.inferredType;return Q(F2(i,t))}return Q(n?Z0:X0)},default:e=>Q(e.toString())};function X2(e={}){return{...Y2,...e}}function Z2(e,t,n=Y2){try{switch(typeof e){case`string`:return n.string(e,t);case`object`:return n.object(e,t);case`function`:return n.function(e,t);default:return n.default(e,t)}}catch(e){console.error(e)}return null}function Q2(e,t){let n=e!=null,r=t!=null;if(!n&&!r)return``;let i=[];if(n){let t=e.map(e=>{let t=e.getPrettyName(),n=e.getTypeName();return n==null?t:`${t}: ${n}`});i.push(`(${t.join(`, `)})`)}else i.push(`()`);return r&&i.push(`=> ${t.getTypeName()}`),i.join(` `)}function $2(e,t){let n=e!=null,r=t!=null;if(!n&&!r)return``;let i=[];return n?i.push(`( ... )`):i.push(`()`),r&&i.push(`=> ${t.getTypeName()}`),i.join(` `)}function e4(e){return e.replace(/,/g,`,\r
1220
+ `)}var t4=150;function n4({name:e,short:t,compact:n,full:r,inferredType:i}){return{name:e,short:t,compact:n,full:r??t,inferredType:i}}function r4(e){return e.replace(/PropTypes./g,``).replace(/.isRequired/g,``)}function i4(e){return e.split(/\r?\n/)}function a4(e,t=!1){return r4(i2(e,t))}function o4(e,t=!1){return r4(r2(e,t))}function s4(e){switch(e){case`Object`:return q0;case`Array`:return J0;case`Class`:return Y0;case`Function`:return X0;case`Element`:return Z0;default:return K0}}function c4(e,t){let{inferredType:n,ast:r}=A2(e),{type:i}=n,a,o,s;switch(i){case`Identifier`:case`Literal`:a=e,o=e;break;case`Object`:{let{depth:e}=n;a=q0,o=e===1?a4(r,!0):null,s=a4(r);break}case`Element`:{let{identifier:t}=n;a=t!=null&&!M2(t)?t:Z0,o=i4(e).length===1?e:null,s=e;break}case`Array`:{let{depth:e}=n;a=J0,o=e<=2?o4(r,!0):null,s=o4(r);break}default:a=s4(i),o=i4(e).length===1?e:null,s=e;break}return n4({name:t,short:a,compact:o,full:s,inferredType:i})}function l4({raw:e}){return e==null?n4({name:`custom`,short:K0,compact:K0}):c4(e,`custom`)}function u4(e){let{jsDocTags:t}=e;return t!=null&&(t.params!=null||t.returns!=null)?n4({name:`func`,short:$2(t.params,t.returns),compact:null,full:Q2(t.params,t.returns)}):n4({name:`func`,short:X0,compact:X0})}function d4(e,t){let{inferredType:n,ast:r}=A2(`{ ${Object.keys(e.value).map(n=>`${n}: ${x4(e.value[n],t).full}`).join(`, `)} }`),{depth:i}=n;return n4({name:`shape`,short:q0,compact:i===1&&r?a4(r,!0):null,full:r?a4(r):null})}function f4(e){return`objectOf(${e})`}function p4(e,t){let{short:n,compact:r,full:i}=x4(e.value,t);return n4({name:`objectOf`,short:f4(n),compact:r==null?null:f4(r),full:i&&f4(i)})}function m4(e,t){if(Array.isArray(e.value)){let n=e.value.reduce((e,n)=>{let{short:r,compact:i,full:a}=x4(n,t);return e.short.push(r),e.compact.push(i),e.full.push(a),e},{short:[],compact:[],full:[]});return n4({name:`union`,short:n.short.join(` | `),compact:n.compact.every(e=>e!=null)?n.compact.join(` | `):null,full:n.full.join(` | `)})}return n4({name:`union`,short:e.value,compact:null})}function h4({value:e,computed:t}){return t?c4(e,`enumvalue`):n4({name:`enumvalue`,short:e,compact:e})}function g4(e){if(Array.isArray(e.value)){let t=e.value.reduce((e,t)=>{let{short:n,compact:r,full:i}=h4(t);return e.short.push(n),e.compact.push(r),e.full.push(i),e},{short:[],compact:[],full:[]});return n4({name:`enum`,short:t.short.join(` | `),compact:t.compact.every(e=>e!=null)?t.compact.join(` | `):null,full:t.full.join(` | `)})}return n4({name:`enum`,short:e.value,compact:e.value})}function _4(e){return`${e}[]`}function v4(e){return`[${e}]`}function y4(e,t,n){return n4({name:`arrayOf`,short:_4(e),compact:t==null?null:v4(t),full:n&&v4(n)})}function b4(e,t){let{name:n,short:r,compact:i,full:a,inferredType:o}=x4(e.value,t);if(n===`custom`){if(o===`Object`)return y4(r,i,a)}else if(n===`shape`)return y4(r,i,a);return n4({name:`arrayOf`,short:_4(r),compact:_4(r)})}function x4(e,t){try{switch(e.name){case`custom`:return l4(e);case`func`:return u4(t);case`shape`:return d4(e,t);case`instanceOf`:return n4({name:`instanceOf`,short:e.value,compact:e.value});case`objectOf`:return p4(e,t);case`union`:return m4(e,t);case`enum`:return g4(e);case`arrayOf`:return b4(e,t);default:return n4({name:e.name,short:e.name,compact:e.name})}}catch(e){console.error(e)}return n4({name:`unknown`,short:`unknown`,compact:`unknown`})}function S4(e){let{type:t}=e.docgenInfo;if(t==null)return null;try{switch(t.name){case`custom`:case`shape`:case`instanceOf`:case`objectOf`:case`union`:case`enum`:case`arrayOf`:{let{short:n,compact:r,full:i}=x4(t,e);return r!=null&&!JG(r)?Q(r):i?Q(n,i):Q(n)}case`func`:{let{short:n,full:r}=x4(t,e),i=n,a;return r&&r.length<t4?i=r:r&&(a=e4(r)),Q(i,a)}default:return null}}catch(e){console.error(e)}return null}var C4=X2({function:(e,{name:t,type:n})=>{let r=n?.summary===`element`||n?.summary===`elementType`,i=K2(e,t);if(i!=null){if(r)return Q(I2(i));let{hasParams:t}=A2(e.toString()).inferredType;return Q(F2(i,t))}return Q(r?Z0:X0)}});function w4(e,t){let{propTypes:n}=t;return n==null?e:Object.keys(n).map(t=>e.find(e=>e.name===t)).filter(Boolean)}function T4(e,t){let{propDef:n}=e,r=S4(e);r!=null&&(n.type=r);let{defaultValue:i}=e.docgenInfo;if(i!=null&&i.value!=null){let e=B2(i.value);e!=null&&(n.defaultValue=e)}else if(t!=null){let e=Z2(t,n,C4);e!=null&&(n.defaultValue=e)}return n}function E4(e,t){let n=t.defaultProps==null?{}:t.defaultProps;return w4(e.map(e=>T4(e,n[e.propDef.name])),t)}function D4(e,t){let{propDef:n}=e,{defaultValue:r}=e.docgenInfo;if(r!=null&&r.value!=null){let e=B2(r.value);e!=null&&(n.defaultValue=e)}else if(t!=null){let e=Z2(t,n);e!=null&&(n.defaultValue=e)}return n}function O4(e){return e.map(e=>D4(e))}function k4(e,t){let n=e;!nG(e)&&!e.propTypes&&m1(e)&&(n=e.type);let r=SK(n,t);if(r.length===0)return[];switch(r[0].typeSystem){case QW.JAVASCRIPT:return E4(r,e);case QW.TYPESCRIPT:return O4(r);default:return r.map(e=>e.propDef)}}var A4=e=>({rows:k4(e,`props`)}),j4={docs:{extractArgTypes:e=>{if(e){let{rows:t}=A4(e);if(t)return t.reduce((e,t)=>{let{name:n,description:r,type:i,sbType:a,defaultValue:o,jsDocTags:s,required:c}=t;return e[n]={name:n,description:r,type:{required:c,...a},table:{type:i??void 0,jsDocTags:s,defaultValue:o??void 0}},e},{})}return null},extractComponentDescription:wK}},M4=[EK],N4=c({argTypesEnhancers:()=>M4,parameters:()=>j4});V$({},{applyDecorators:()=>J4,decorators:()=>Y4,parameters:()=>X4});var{logger:P4}=__STORYBOOK_MODULE_CLIENT_LOGGER__,{emitTransformCode:F4,useEffect:I4,useRef:L4}=__STORYBOOK_MODULE_PREVIEW_API__,R4=S0,z4=e=>e.charAt(0).toUpperCase()+e.slice(1),B4=e=>(e.$$typeof||e).toString().replace(/^Symbol\((.*)\)$/,`$1`).split(`.`).map(e=>e.split(`_`).map(z4).join(``)).join(`.`);function V4(e){if((0,j$.isValidElement)(e)){let t=Object.keys(e.props).reduce((t,n)=>(t[n]=V4(e.props[n]),t),{});return{...e,props:t,_owner:null}}return Array.isArray(e)?e.map(V4):e}var H4=(e,t)=>{if(typeof e>`u`)return P4.warn(`Too many skip or undefined component`),null;let n=e,r=n.type;for(let e=0;e<t?.skip;e+=1){if(typeof n>`u`)return P4.warn(`Cannot skip undefined element`),null;if(j$.Children.count(n)>1)return P4.warn(`Trying to skip an array of elements`),null;typeof n.props.children>`u`?(P4.warn(`Not enough children to skip elements.`),typeof n.type==`function`&&n.type.name===``&&(n=j$.createElement(r,{...n.props}))):n=typeof n.props.children==`function`?n.props.children():n.props.children}let i;i=typeof t?.displayName==`string`?{showFunctions:!0,displayName:()=>t.displayName}:{displayName:e=>e.type.displayName?e.type.displayName:iG(e.type,`displayName`)?iG(e.type,`displayName`):e.type.render?.displayName?e.type.render.displayName:typeof e.type==`symbol`||e.type.$$typeof&&typeof e.type.$$typeof==`symbol`?B4(e.type):e.type.name&&e.type.name!==`_default`?e.type.name:typeof e.type==`function`?`No Display Name`:h1(e.type)?e.type.render.name:m1(e.type)?e.type.type.name:e.type};let a={...i,filterProps:(e,t)=>e!==void 0,...t};return j$.Children.map(e,e=>{let t=typeof e==`number`?e.toString():e,n=(typeof R4==`function`?R4:R4.default)(V4(t),a);if(n.indexOf(`&quot;`)>-1){let e=n.match(/\S+=\\"([^"]*)\\"/g);e&&e.forEach(e=>{n=n.replace(e,e.replace(/&quot;/g,`'`))})}return n}).join(`
1221
+ `).replace(/function\s+noRefCheck\(\)\s*\{\}/g,`() => {}`)},U4={skip:0,showFunctions:!1,enableBeautify:!0,showDefaultProps:!1},W4=e=>{let t=e?.parameters.docs?.source,n=e?.parameters.__isArgsStory;return t?.type===kK.DYNAMIC?!1:!n||t?.code||t?.type===kK.CODE},G4=e=>e.type?.displayName===`MDXCreateElement`&&!!e.props?.mdxType,K4=e=>{if(!G4(e))return e;let{mdxType:t,originalType:n,children:r,...i}=e.props,a=[];return r&&(a=(Array.isArray(r)?r:[r]).map(K4)),(0,j$.createElement)(n,i,...a)},q4=(e,t)=>{let n=L4(void 0),r=e(),i=W4(t),a={...U4,...t?.parameters.jsx||{}},o=t.originalStoryFn(t.args,t);return I4(()=>{if(i)return;let e=H4(K4(o),a);e&&n.current!==e&&(F4(e,t),n.current=e)}),r},J4=(e,t)=>{let n=t.findIndex(e=>e.originalFn===q4);return N$(e,n===-1?t:[...t.splice(n,1),...t])},Y4=`FEATURES`in globalThis&&globalThis?.FEATURES?.experimentalCodeExamples?[]:[q4],X4={docs:{story:{inline:!0}}},Z4=c({applyDecorators:()=>J4,decorators:()=>Y4,parameters:()=>X4}),Q4=Object.create,$4=Object.defineProperty,e3=Object.getOwnPropertyDescriptor,t3=Object.getOwnPropertyNames,n3=Object.getPrototypeOf,r3=Object.prototype.hasOwnProperty,i3=(e,t)=>function(){return t||(0,e[t3(e)[0]])((t={exports:{}}).exports,t),t.exports},a3=(e,t)=>{for(var n in t)$4(e,n,{get:t[n],enumerable:!0})},o3=(e,t,n,r)=>{if(t&&typeof t==`object`||typeof t==`function`)for(let i of t3(t))!r3.call(e,i)&&i!==n&&$4(e,i,{get:()=>t[i],enumerable:!(r=e3(t,i))||r.enumerable});return e},s3=(e,t,n)=>(n=e==null?{}:Q4(n3(e)),o3(t||!e||!e.__esModule?$4(n,`default`,{value:e,enumerable:!0}):n,e));a3({},{parameters:()=>l3});var c3=Object.entries(globalThis.TAGS_OPTIONS??{}).reduce((e,t)=>{let[n,r]=t;return r.excludeFromDocsStories&&(e[n]=!0),e},{}),l3={docs:{renderer:async()=>{let{DocsRenderer:t}=await e(async()=>{let{DocsRenderer:e}=await import(`./DocsRenderer-LL677BLK-i2bqAbNY.js`);return{DocsRenderer:e}},__vite__mapDeps([31,3,2,4,5,6,7,8,9,10,30]),import.meta.url);return new t},stories:{filter:e=>(e.tags||[]).filter(e=>c3[e]).length===0&&!e.parameters.docs?.disable}}},u3=c({parameters:()=>l3}),d3=c({default:()=>f3}),f3={parameters:{actions:{argTypesRegex:`^on[A-Z].*`},controls:{matchers:{color:/(background|color)$/i,date:/Date$/}},previewTabs:{"storybook/docs/panel":{index:-1}},viewMode:`docs`}};EU();var{composeConfigs:p3,PreviewWeb:m3}=__STORYBOOK_MODULE_PREVIEW_API__,h3=(e=[])=>p3([e[0]??u1,e[1]??N4,e[2]??Z4,e[3]??u3,e[4]??d3]);window.__STORYBOOK_PREVIEW__=window.__STORYBOOK_PREVIEW__||new m3(O$,h3),window.__STORYBOOK_STORY_STORE__=window.__STORYBOOK_STORY_STORE__||window.__STORYBOOK_PREVIEW__.storyStore;export{jU as C,u as E,MU as S,c as T,ZU as _,w$ as a,VU as b,IK as c,kK as d,DW as f,NW as g,AW as h,MQ as i,FK as l,MW as m,s3 as n,E$ as o,kW as p,A$ as r,LK as s,i3 as t,OK as u,XU as v,s as w,UU as x,BU as y};