tuix-webcomponents 0.64.0 → 0.65.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (168) hide show
  1. package/README.md +2 -2
  2. package/package-build/src/index.d.ts +36 -0
  3. package/package-build/src/index.js +42 -0
  4. package/package-build/src/tuix-button/TuixBaseButton.d.ts +17 -0
  5. package/package-build/src/tuix-button/TuixBaseButton.js +60 -0
  6. package/package-build/src/tuix-button/TuixButton.d.ts +11 -0
  7. package/package-build/src/tuix-button/TuixButton.js +84 -0
  8. package/package-build/src/tuix-button/TuixButton.styles.d.ts +3 -0
  9. package/package-build/src/tuix-button/TuixButton.styles.js +107 -0
  10. package/package-build/src/tuix-button/enums/tuix-button.enums.d.ts +2 -0
  11. package/package-build/src/tuix-button/enums/tuix-button.enums.js +6 -0
  12. package/package-build/src/tuix-button/interfaces/tuix-button.interface.d.ts +1 -0
  13. package/package-build/src/tuix-button/interfaces/tuix-button.interface.js +1 -0
  14. package/package-build/src/tuix-checkbox/TuixCheckbox.d.ts +15 -0
  15. package/package-build/src/tuix-checkbox/TuixCheckbox.js +106 -0
  16. package/package-build/src/tuix-checkbox/TuixCheckbox.styles.d.ts +4 -0
  17. package/package-build/src/tuix-checkbox/TuixCheckbox.styles.js +132 -0
  18. package/package-build/src/tuix-checkbox/enums/tuix-checkbox.enums.d.ts +21 -0
  19. package/package-build/src/tuix-checkbox/enums/tuix-checkbox.enums.js +23 -0
  20. package/package-build/src/tuix-checkbox/interfaces/tuix-checkbox.interface.d.ts +5 -0
  21. package/package-build/src/tuix-checkbox/interfaces/tuix-checkbox.interface.js +1 -0
  22. package/package-build/src/tuix-dropdown/TuixDropdown.d.ts +55 -0
  23. package/package-build/src/tuix-dropdown/TuixDropdown.js +360 -0
  24. package/package-build/src/tuix-dropdown/TuixDropdown.styles.d.ts +3 -0
  25. package/package-build/src/tuix-dropdown/TuixDropdown.styles.js +125 -0
  26. package/package-build/src/tuix-dropdown/enums/tuix-dropdown.enums.d.ts +4 -0
  27. package/package-build/src/tuix-dropdown/enums/tuix-dropdown.enums.js +5 -0
  28. package/package-build/src/tuix-dropdown/interfaces/tuix-dropdown.interface.d.ts +15 -0
  29. package/package-build/src/tuix-dropdown/interfaces/tuix-dropdown.interface.js +1 -0
  30. package/package-build/src/tuix-icon/TuixIcon.d.ts +15 -0
  31. package/package-build/src/tuix-icon/TuixIcon.icons.d.ts +6 -0
  32. package/{dist/assets/TuixIconButton-eQtxZNXh.js → package-build/src/tuix-icon/TuixIcon.icons.js} +125 -203
  33. package/package-build/src/tuix-icon/TuixIcon.js +79 -0
  34. package/package-build/src/tuix-icon/enums/tuix-icon.enums.d.ts +62 -0
  35. package/package-build/src/tuix-icon/enums/tuix-icon.enums.js +69 -0
  36. package/package-build/src/tuix-icon-button/TuixIconButton.d.ts +9 -0
  37. package/package-build/src/tuix-icon-button/TuixIconButton.js +51 -0
  38. package/package-build/src/tuix-input/TuixInput.d.ts +52 -0
  39. package/package-build/src/tuix-input/TuixInput.js +370 -0
  40. package/package-build/src/tuix-input/TuixInput.styles.d.ts +8 -0
  41. package/package-build/src/tuix-input/TuixInput.styles.js +295 -0
  42. package/package-build/src/tuix-input/enums/tuix-input.enums.d.ts +38 -0
  43. package/package-build/src/tuix-input/enums/tuix-input.enums.js +41 -0
  44. package/package-build/src/tuix-input/interfaces/tuix-input.interface.d.ts +18 -0
  45. package/package-build/src/tuix-input/interfaces/tuix-input.interface.js +5 -0
  46. package/package-build/src/tuix-link/TuixLink.d.ts +15 -0
  47. package/package-build/src/tuix-link/TuixLink.js +71 -0
  48. package/package-build/src/tuix-link/TuixLink.styles.d.ts +2 -0
  49. package/package-build/src/tuix-link/TuixLink.styles.js +55 -0
  50. package/package-build/src/tuix-link/enums/linkTarget.enum.d.ts +6 -0
  51. package/package-build/src/tuix-link/enums/linkTarget.enum.js +7 -0
  52. package/package-build/src/tuix-modal/TuixModal.d.ts +9 -0
  53. package/package-build/src/tuix-modal/TuixModal.js +63 -0
  54. package/package-build/src/tuix-modal/TuixModal.styles.d.ts +2 -0
  55. package/package-build/src/tuix-modal/TuixModal.styles.js +55 -0
  56. package/package-build/src/tuix-paper/TuixPaper.d.ts +10 -0
  57. package/package-build/src/tuix-paper/TuixPaper.js +46 -0
  58. package/package-build/src/tuix-paper/TuixPaper.styles.d.ts +1 -0
  59. package/package-build/src/tuix-paper/TuixPaper.styles.js +30 -0
  60. package/package-build/src/tuix-paper/enums/tuix-paper.enum.d.ts +13 -0
  61. package/package-build/src/tuix-paper/enums/tuix-paper.enum.js +15 -0
  62. package/package-build/src/tuix-radio-button/TuixRadioButton.d.ts +16 -0
  63. package/package-build/src/tuix-radio-button/TuixRadioButton.js +95 -0
  64. package/package-build/src/tuix-radio-button/TuixRadioButton.styles.d.ts +5 -0
  65. package/package-build/src/tuix-radio-button/TuixRadioButton.styles.js +135 -0
  66. package/package-build/src/tuix-radio-button/interfaces/tuix-radio-button.interface.d.ts +3 -0
  67. package/package-build/src/tuix-radio-button/interfaces/tuix-radio-button.interface.js +1 -0
  68. package/package-build/src/tuix-table/TuixTable.d.ts +46 -0
  69. package/package-build/src/tuix-table/TuixTable.js +367 -0
  70. package/package-build/src/tuix-table/TuixTable.styles.d.ts +2 -0
  71. package/package-build/src/tuix-table/TuixTable.styles.js +197 -0
  72. package/package-build/src/tuix-table/interfaces/tuix-table.interface.d.ts +45 -0
  73. package/package-build/src/tuix-table/interfaces/tuix-table.interface.js +1 -0
  74. package/package-build/src/tuix-text/TuixText.d.ts +12 -0
  75. package/package-build/src/tuix-text/TuixText.js +66 -0
  76. package/package-build/src/tuix-text/TuixText.styles.d.ts +2 -0
  77. package/package-build/src/tuix-text/TuixText.styles.js +158 -0
  78. package/package-build/src/tuix-text/enums/tuix-text.enums.d.ts +31 -0
  79. package/package-build/src/tuix-text/enums/tuix-text.enums.js +63 -0
  80. package/package-build/src/tuix-toast/TuixToast.d.ts +15 -0
  81. package/package-build/src/tuix-toast/TuixToast.js +100 -0
  82. package/package-build/src/tuix-toast/TuixToast.styles.d.ts +3 -0
  83. package/package-build/src/tuix-toast/TuixToast.styles.js +43 -0
  84. package/package-build/src/tuix-toast/enums/tuix-toast.enums.d.ts +20 -0
  85. package/package-build/src/tuix-toast/enums/tuix-toast.enums.js +59 -0
  86. package/package-build/src/tuix-toggle-button/TuixToggleButton.d.ts +13 -0
  87. package/package-build/src/tuix-toggle-button/TuixToggleButton.js +85 -0
  88. package/package-build/src/tuix-toggle-button/TuixToggleButton.styles.d.ts +5 -0
  89. package/package-build/src/tuix-toggle-button/TuixToggleButton.styles.js +134 -0
  90. package/package-build/src/tuix-toggle-button/interfaces/tuix-toggle.interface.d.ts +2 -0
  91. package/package-build/src/tuix-toggle-button/interfaces/tuix-toggle.interface.js +1 -0
  92. package/package-build/src/utils/colors.d.ts +29 -0
  93. package/package-build/src/utils/colors.js +30 -0
  94. package/package-build/src/utils/darkColors.d.ts +31 -0
  95. package/package-build/src/utils/darkColors.js +32 -0
  96. package/package-build/src/utils/hex-rgb.d.ts +5 -0
  97. package/package-build/src/utils/hex-rgb.js +15 -0
  98. package/package-build/src/utils/interfaces/detail-value.interface.d.ts +3 -0
  99. package/package-build/src/utils/interfaces/detail-value.interface.js +1 -0
  100. package/package-build/src/utils/mainVariant.enum.d.ts +4 -0
  101. package/package-build/src/utils/mainVariant.enum.js +5 -0
  102. package/package-build/src/utils/screenSizes.enum.d.ts +4 -0
  103. package/package-build/src/utils/screenSizes.enum.js +5 -0
  104. package/package-build/src/utils/slottedClassName.d.ts +2 -0
  105. package/package-build/src/utils/slottedClassName.js +1 -0
  106. package/package-build/tsconfig.publish.tsbuildinfo +1 -0
  107. package/package.json +9 -9
  108. package/dist/addon-visual-tests-assets/visual-test-illustration.mp4 +0 -0
  109. package/dist/assets/Color-AVL7NMMY-IH_JbDEF.js +0 -1
  110. package/dist/assets/DocsRenderer-PQXLIZUC-C0ZKNA9m.js +0 -1286
  111. package/dist/assets/TuixModal-BZFIHTi_.js +0 -78
  112. package/dist/assets/TuixToast-BhxwZIGo.js +0 -62
  113. package/dist/assets/_commonjsHelpers-CqkleIqs.js +0 -1
  114. package/dist/assets/axe-C59a3kt3.js +0 -30
  115. package/dist/assets/iframe-ClsPaEIM.js +0 -1057
  116. package/dist/assets/index-DBzYXxxs.js +0 -1554
  117. package/dist/assets/index-TjhCmV-u.js +0 -1
  118. package/dist/assets/matchers-7Z3WT2CE-CcSi9QFY.js +0 -14
  119. package/dist/assets/screenSizes.enum-C1IhC_dy.js +0 -13
  120. package/dist/assets/state-CLjydI9z.js +0 -13
  121. package/dist/assets/tuix-button.stories-Dm_yifox.js +0 -30
  122. package/dist/assets/tuix-checkbox.stories-DmzoygjC.js +0 -44
  123. package/dist/assets/tuix-dropdown-object-list.stories-Neeajtj-.js +0 -56
  124. package/dist/assets/tuix-dropdown.stories-B7ea8QAz.js +0 -28
  125. package/dist/assets/tuix-icon-button.stories-CgbOSRO4.js +0 -21
  126. package/dist/assets/tuix-icon.enums-DYTtwLZl.js +0 -1
  127. package/dist/assets/tuix-icon.stories-CjN2XsKx.js +0 -19
  128. package/dist/assets/tuix-input.stories-CD7onvw2.js +0 -33
  129. package/dist/assets/tuix-link.stories-CT7pzGlx.js +0 -35
  130. package/dist/assets/tuix-modal.stories-B6v3cOPq.js +0 -39
  131. package/dist/assets/tuix-paper.enum-DhmlUJB7.js +0 -1
  132. package/dist/assets/tuix-paper.stories-CLnRPHNK.js +0 -31
  133. package/dist/assets/tuix-radio-button.stories-BwkKC3a9.js +0 -35
  134. package/dist/assets/tuix-table.stories-Bn-aZa0J.js +0 -65
  135. package/dist/assets/tuix-text.enums-Ck8cVqZZ.js +0 -1
  136. package/dist/assets/tuix-text.stories-BNIqPsGD.js +0 -29
  137. package/dist/assets/tuix-toast.stories-CRYiLiHK.js +0 -21
  138. package/dist/assets/tuix-toggle-button.stories-CY6wlDnA.js +0 -40
  139. package/dist/favicon-wrapper.svg +0 -46
  140. package/dist/favicon.svg +0 -1
  141. package/dist/iframe.html +0 -685
  142. package/dist/index.html +0 -160
  143. package/dist/index.json +0 -1
  144. package/dist/nunito-sans-bold-italic.woff2 +0 -0
  145. package/dist/nunito-sans-bold.woff2 +0 -0
  146. package/dist/nunito-sans-italic.woff2 +0 -0
  147. package/dist/nunito-sans-regular.woff2 +0 -0
  148. package/dist/project.json +0 -1
  149. package/dist/sb-addons/a11y-3/manager-bundle.js +0 -5
  150. package/dist/sb-addons/a11y-3/manager-bundle.js.LEGAL.txt +0 -0
  151. package/dist/sb-addons/chromatic-com-storybook-1/manager-bundle.js +0 -356
  152. package/dist/sb-addons/chromatic-com-storybook-1/manager-bundle.js.LEGAL.txt +0 -40
  153. package/dist/sb-addons/docs-2/manager-bundle.js +0 -151
  154. package/dist/sb-addons/docs-2/manager-bundle.js.LEGAL.txt +0 -0
  155. package/dist/sb-addons/storybook-core-server-presets-0/common-manager-bundle.js +0 -971
  156. package/dist/sb-addons/storybook-core-server-presets-0/common-manager-bundle.js.LEGAL.txt +0 -0
  157. package/dist/sb-addons/vitest-4/manager-bundle.js +0 -3
  158. package/dist/sb-addons/vitest-4/manager-bundle.js.LEGAL.txt +0 -0
  159. package/dist/sb-common-assets/favicon-wrapper.svg +0 -46
  160. package/dist/sb-common-assets/favicon.svg +0 -1
  161. package/dist/sb-common-assets/nunito-sans-bold-italic.woff2 +0 -0
  162. package/dist/sb-common-assets/nunito-sans-bold.woff2 +0 -0
  163. package/dist/sb-common-assets/nunito-sans-italic.woff2 +0 -0
  164. package/dist/sb-common-assets/nunito-sans-regular.woff2 +0 -0
  165. package/dist/sb-manager/globals-module-info.js +0 -797
  166. package/dist/sb-manager/globals-runtime.js +0 -69679
  167. package/dist/sb-manager/globals.js +0 -34
  168. package/dist/sb-manager/runtime.js +0 -13195
@@ -1,1057 +0,0 @@
1
- const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./tuix-button.stories-Dm_yifox.js","./index-DBzYXxxs.js","./state-CLjydI9z.js","./screenSizes.enum-C1IhC_dy.js","./tuix-text.enums-Ck8cVqZZ.js","./tuix-icon.enums-DYTtwLZl.js","./TuixIconButton-eQtxZNXh.js","./tuix-paper.enum-DhmlUJB7.js","./TuixToast-BhxwZIGo.js","./TuixModal-BZFIHTi_.js","./tuix-checkbox.stories-DmzoygjC.js","./tuix-dropdown-object-list.stories-Neeajtj-.js","./tuix-dropdown.stories-B7ea8QAz.js","./tuix-icon-button.stories-CgbOSRO4.js","./tuix-icon.stories-CjN2XsKx.js","./tuix-input.stories-CD7onvw2.js","./tuix-link.stories-CT7pzGlx.js","./tuix-modal.stories-B6v3cOPq.js","./tuix-paper.stories-CLnRPHNK.js","./tuix-radio-button.stories-BwkKC3a9.js","./tuix-table.stories-Bn-aZa0J.js","./tuix-text.stories-BNIqPsGD.js","./tuix-toast.stories-CRYiLiHK.js","./tuix-toggle-button.stories-CY6wlDnA.js","./DocsRenderer-PQXLIZUC-C0ZKNA9m.js","./_commonjsHelpers-CqkleIqs.js","./axe-C59a3kt3.js"])))=>i.map(i=>d[i]);
2
- (function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))n(o);new MutationObserver(o=>{for(const i of o)if(i.type==="childList")for(const s of i.addedNodes)s.tagName==="LINK"&&s.rel==="modulepreload"&&n(s)}).observe(document,{childList:!0,subtree:!0});function r(o){const i={};return o.integrity&&(i.integrity=o.integrity),o.referrerPolicy&&(i.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?i.credentials="include":o.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function n(o){if(o.ep)return;o.ep=!0;const i=r(o);fetch(o.href,i)}})();var ac={},hI=Object.create,Za=Object.defineProperty,mI=Object.getOwnPropertyDescriptor,yI=Object.getOwnPropertyNames,bI=Object.getPrototypeOf,gI=Object.prototype.hasOwnProperty,a=(e,t)=>Za(e,"name",{value:t,configurable:!0}),Si=(e=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(e,{get:(t,r)=>(typeof require<"u"?require:t)[r]}):e)(function(e){if(typeof require<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+e+'" is not supported')}),vI=(e,t)=>()=>(e&&(t=e(e=0)),t),S=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),ct=(e,t)=>{for(var r in t)Za(e,r,{get:t[r],enumerable:!0})},ev=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of yI(t))!gI.call(e,o)&&o!==r&&Za(e,o,{get:()=>t[o],enumerable:!(n=mI(t,o))||n.enumerable});return e},He=(e,t,r)=>(r=e!=null?hI(bI(e)):{},ev(t||!e||!e.__esModule?Za(r,"default",{value:e,enumerable:!0}):r,e)),wI=e=>ev(Za({},"__esModule",{value:!0}),e),EI=S(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.isEqual=(function(){var t=Object.prototype.toString,r=Object.getPrototypeOf,n=Object.getOwnPropertySymbols?function(o){return Object.keys(o).concat(Object.getOwnPropertySymbols(o))}:Object.keys;return function(o,i){return a(function s(l,c,u){var d,p,h,f=t.call(l),m=t.call(c);if(l===c)return!0;if(l==null||c==null)return!1;if(u.indexOf(l)>-1&&u.indexOf(c)>-1)return!0;if(u.push(l,c),f!=m||(d=n(l),p=n(c),d.length!=p.length||d.some(function(b){return!s(l[b],c[b],u)})))return!1;switch(f.slice(8,-1)){case"Symbol":return l.valueOf()==c.valueOf();case"Date":case"Number":return+l==+c||+l!=+l&&+c!=+c;case"RegExp":case"Function":case"String":case"Boolean":return""+l==""+c;case"Set":case"Map":d=l.entries(),p=c.entries();do if(!s((h=d.next()).value,p.next().value,u))return!1;while(!h.done);return!0;case"ArrayBuffer":l=new Uint8Array(l),c=new Uint8Array(c);case"DataView":l=new Uint8Array(l.buffer),c=new Uint8Array(c.buffer);case"Float32Array":case"Float64Array":case"Int8Array":case"Int16Array":case"Int32Array":case"Uint8Array":case"Uint16Array":case"Uint32Array":case"Uint8ClampedArray":case"Arguments":case"Array":if(l.length!=c.length)return!1;for(h=0;h<l.length;h++)if((h in l||h in c)&&(h in l!=h in c||!s(l[h],c[h],u)))return!1;return!0;case"Object":return s(r(l),r(c),u);default:return!1}},"n")(o,i,[])}})()}),xI=S((e,t)=>{t.exports=r=>{let n=r.match(/^[ \t]*(?=\S)/gm);return n?n.reduce((o,i)=>Math.min(o,i.length),1/0):0}}),TI=S((e,t)=>{var r=xI();t.exports=n=>{let o=r(n);if(o===0)return n;let i=new RegExp(`^[ \\t]{${o}}`,"gm");return n.replace(i,"")}}),SI=S((e,t)=>{t.exports=(r,n=1,o)=>{if(o={indent:" ",includeEmptyLines:!1,...o},typeof r!="string")throw new TypeError(`Expected \`input\` to be a \`string\`, got \`${typeof r}\``);if(typeof n!="number")throw new TypeError(`Expected \`count\` to be a \`number\`, got \`${typeof n}\``);if(typeof o.indent!="string")throw new TypeError(`Expected \`options.indent\` to be a \`string\`, got \`${typeof o.indent}\``);if(n===0)return r;let i=o.includeEmptyLines?/^/gm:/^(?!\s*$)/gm;return r.replace(i,o.indent.repeat(n))}}),tv=S((e,t)=>{var r=TI(),n=SI();t.exports=(o,i=0,s)=>n(r(o),i,s)}),CI=S(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;function t(){var r=this,n=0,o={"@@iterator":a(function(){return o},"iterator"),next:a(function(){if(n<r.length){var i=r[n];return n=n+1,{done:!1,value:i}}else return{done:!0}},"next")};return o}a(t,"iteratorProxy"),e.default=t}),ei=S(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=o;var t=r(CI());function r(i){return i&&i.__esModule?i:{default:i}}a(r,"_interopRequireDefault");function n(i){"@babel/helpers - typeof";return n=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(s){return typeof s}:function(s){return s&&typeof Symbol=="function"&&s.constructor===Symbol&&s!==Symbol.prototype?"symbol":typeof s},n(i)}a(n,"_typeof");function o(i,s){return typeof Symbol=="function"&&n(Symbol.iterator)==="symbol"&&Object.defineProperty(i,Symbol.iterator,{value:t.default.bind(s)}),i}a(o,"iterationDecorator")}),PI=S(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=r(ei());function r(p){return p&&p.__esModule?p:{default:p}}a(r,"_interopRequireDefault");function n(p,h){return c(p)||l(p,h)||i(p,h)||o()}a(n,"_slicedToArray");function o(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
3
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}a(o,"_nonIterableRest");function i(p,h){if(p){if(typeof p=="string")return s(p,h);var f={}.toString.call(p).slice(8,-1);return f==="Object"&&p.constructor&&(f=p.constructor.name),f==="Map"||f==="Set"?Array.from(p):f==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(f)?s(p,h):void 0}}a(i,"_unsupportedIterableToArray");function s(p,h){(h==null||h>p.length)&&(h=p.length);for(var f=0,m=Array(h);f<h;f++)m[f]=p[f];return m}a(s,"_arrayLikeToArray");function l(p,h){var f=p==null?null:typeof Symbol<"u"&&p[Symbol.iterator]||p["@@iterator"];if(f!=null){var m,b,g,v,w=[],P=!0,A=!1;try{if(g=(f=f.call(p)).next,h===0){if(Object(f)!==f)return;P=!1}else for(;!(P=(m=g.call(f)).done)&&(w.push(m.value),w.length!==h);P=!0);}catch(R){A=!0,b=R}finally{try{if(!P&&f.return!=null&&(v=f.return(),Object(v)!==v))return}finally{if(A)throw b}}return w}}a(l,"_iterableToArrayLimit");function c(p){if(Array.isArray(p))return p}a(c,"_arrayWithHoles");var u=[["aria-activedescendant",{type:"id"}],["aria-atomic",{type:"boolean"}],["aria-autocomplete",{type:"token",values:["inline","list","both","none"]}],["aria-braillelabel",{type:"string"}],["aria-brailleroledescription",{type:"string"}],["aria-busy",{type:"boolean"}],["aria-checked",{type:"tristate"}],["aria-colcount",{type:"integer"}],["aria-colindex",{type:"integer"}],["aria-colspan",{type:"integer"}],["aria-controls",{type:"idlist"}],["aria-current",{type:"token",values:["page","step","location","date","time",!0,!1]}],["aria-describedby",{type:"idlist"}],["aria-description",{type:"string"}],["aria-details",{type:"id"}],["aria-disabled",{type:"boolean"}],["aria-dropeffect",{type:"tokenlist",values:["copy","execute","link","move","none","popup"]}],["aria-errormessage",{type:"id"}],["aria-expanded",{type:"boolean",allowundefined:!0}],["aria-flowto",{type:"idlist"}],["aria-grabbed",{type:"boolean",allowundefined:!0}],["aria-haspopup",{type:"token",values:[!1,!0,"menu","listbox","tree","grid","dialog"]}],["aria-hidden",{type:"boolean",allowundefined:!0}],["aria-invalid",{type:"token",values:["grammar",!1,"spelling",!0]}],["aria-keyshortcuts",{type:"string"}],["aria-label",{type:"string"}],["aria-labelledby",{type:"idlist"}],["aria-level",{type:"integer"}],["aria-live",{type:"token",values:["assertive","off","polite"]}],["aria-modal",{type:"boolean"}],["aria-multiline",{type:"boolean"}],["aria-multiselectable",{type:"boolean"}],["aria-orientation",{type:"token",values:["vertical","undefined","horizontal"]}],["aria-owns",{type:"idlist"}],["aria-placeholder",{type:"string"}],["aria-posinset",{type:"integer"}],["aria-pressed",{type:"tristate"}],["aria-readonly",{type:"boolean"}],["aria-relevant",{type:"tokenlist",values:["additions","all","removals","text"]}],["aria-required",{type:"boolean"}],["aria-roledescription",{type:"string"}],["aria-rowcount",{type:"integer"}],["aria-rowindex",{type:"integer"}],["aria-rowspan",{type:"integer"}],["aria-selected",{type:"boolean",allowundefined:!0}],["aria-setsize",{type:"integer"}],["aria-sort",{type:"token",values:["ascending","descending","none","other"]}],["aria-valuemax",{type:"number"}],["aria-valuemin",{type:"number"}],["aria-valuenow",{type:"number"}],["aria-valuetext",{type:"string"}]],d={entries:a(function(){return u},"entries"),forEach:a(function(p){for(var h=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,f=0,m=u;f<m.length;f++){var b=n(m[f],2),g=b[0],v=b[1];p.call(h,v,g,u)}},"forEach"),get:a(function(p){var h=u.filter(function(f){return f[0]===p})[0];return h&&h[1]},"get"),has:a(function(p){return!!d.get(p)},"has"),keys:a(function(){return u.map(function(p){var h=n(p,1),f=h[0];return f})},"keys"),values:a(function(){return u.map(function(p){var h=n(p,2),f=h[1];return f})},"values")};e.default=(0,t.default)(d,d.entries())}),OI=S(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=r(ei());function r(p){return p&&p.__esModule?p:{default:p}}a(r,"_interopRequireDefault");function n(p,h){return c(p)||l(p,h)||i(p,h)||o()}a(n,"_slicedToArray");function o(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
4
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}a(o,"_nonIterableRest");function i(p,h){if(p){if(typeof p=="string")return s(p,h);var f={}.toString.call(p).slice(8,-1);return f==="Object"&&p.constructor&&(f=p.constructor.name),f==="Map"||f==="Set"?Array.from(p):f==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(f)?s(p,h):void 0}}a(i,"_unsupportedIterableToArray");function s(p,h){(h==null||h>p.length)&&(h=p.length);for(var f=0,m=Array(h);f<h;f++)m[f]=p[f];return m}a(s,"_arrayLikeToArray");function l(p,h){var f=p==null?null:typeof Symbol<"u"&&p[Symbol.iterator]||p["@@iterator"];if(f!=null){var m,b,g,v,w=[],P=!0,A=!1;try{if(g=(f=f.call(p)).next,h===0){if(Object(f)!==f)return;P=!1}else for(;!(P=(m=g.call(f)).done)&&(w.push(m.value),w.length!==h);P=!0);}catch(R){A=!0,b=R}finally{try{if(!P&&f.return!=null&&(v=f.return(),Object(v)!==v))return}finally{if(A)throw b}}return w}}a(l,"_iterableToArrayLimit");function c(p){if(Array.isArray(p))return p}a(c,"_arrayWithHoles");var u=[["a",{reserved:!1}],["abbr",{reserved:!1}],["acronym",{reserved:!1}],["address",{reserved:!1}],["applet",{reserved:!1}],["area",{reserved:!1}],["article",{reserved:!1}],["aside",{reserved:!1}],["audio",{reserved:!1}],["b",{reserved:!1}],["base",{reserved:!0}],["bdi",{reserved:!1}],["bdo",{reserved:!1}],["big",{reserved:!1}],["blink",{reserved:!1}],["blockquote",{reserved:!1}],["body",{reserved:!1}],["br",{reserved:!1}],["button",{reserved:!1}],["canvas",{reserved:!1}],["caption",{reserved:!1}],["center",{reserved:!1}],["cite",{reserved:!1}],["code",{reserved:!1}],["col",{reserved:!0}],["colgroup",{reserved:!0}],["content",{reserved:!1}],["data",{reserved:!1}],["datalist",{reserved:!1}],["dd",{reserved:!1}],["del",{reserved:!1}],["details",{reserved:!1}],["dfn",{reserved:!1}],["dialog",{reserved:!1}],["dir",{reserved:!1}],["div",{reserved:!1}],["dl",{reserved:!1}],["dt",{reserved:!1}],["em",{reserved:!1}],["embed",{reserved:!1}],["fieldset",{reserved:!1}],["figcaption",{reserved:!1}],["figure",{reserved:!1}],["font",{reserved:!1}],["footer",{reserved:!1}],["form",{reserved:!1}],["frame",{reserved:!1}],["frameset",{reserved:!1}],["h1",{reserved:!1}],["h2",{reserved:!1}],["h3",{reserved:!1}],["h4",{reserved:!1}],["h5",{reserved:!1}],["h6",{reserved:!1}],["head",{reserved:!0}],["header",{reserved:!1}],["hgroup",{reserved:!1}],["hr",{reserved:!1}],["html",{reserved:!0}],["i",{reserved:!1}],["iframe",{reserved:!1}],["img",{reserved:!1}],["input",{reserved:!1}],["ins",{reserved:!1}],["kbd",{reserved:!1}],["keygen",{reserved:!1}],["label",{reserved:!1}],["legend",{reserved:!1}],["li",{reserved:!1}],["link",{reserved:!0}],["main",{reserved:!1}],["map",{reserved:!1}],["mark",{reserved:!1}],["marquee",{reserved:!1}],["menu",{reserved:!1}],["menuitem",{reserved:!1}],["meta",{reserved:!0}],["meter",{reserved:!1}],["nav",{reserved:!1}],["noembed",{reserved:!0}],["noscript",{reserved:!0}],["object",{reserved:!1}],["ol",{reserved:!1}],["optgroup",{reserved:!1}],["option",{reserved:!1}],["output",{reserved:!1}],["p",{reserved:!1}],["param",{reserved:!0}],["picture",{reserved:!0}],["pre",{reserved:!1}],["progress",{reserved:!1}],["q",{reserved:!1}],["rp",{reserved:!1}],["rt",{reserved:!1}],["rtc",{reserved:!1}],["ruby",{reserved:!1}],["s",{reserved:!1}],["samp",{reserved:!1}],["script",{reserved:!0}],["section",{reserved:!1}],["select",{reserved:!1}],["small",{reserved:!1}],["source",{reserved:!0}],["spacer",{reserved:!1}],["span",{reserved:!1}],["strike",{reserved:!1}],["strong",{reserved:!1}],["style",{reserved:!0}],["sub",{reserved:!1}],["summary",{reserved:!1}],["sup",{reserved:!1}],["table",{reserved:!1}],["tbody",{reserved:!1}],["td",{reserved:!1}],["textarea",{reserved:!1}],["tfoot",{reserved:!1}],["th",{reserved:!1}],["thead",{reserved:!1}],["time",{reserved:!1}],["title",{reserved:!0}],["tr",{reserved:!1}],["track",{reserved:!0}],["tt",{reserved:!1}],["u",{reserved:!1}],["ul",{reserved:!1}],["var",{reserved:!1}],["video",{reserved:!1}],["wbr",{reserved:!1}],["xmp",{reserved:!1}]],d={entries:a(function(){return u},"entries"),forEach:a(function(p){for(var h=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,f=0,m=u;f<m.length;f++){var b=n(m[f],2),g=b[0],v=b[1];p.call(h,v,g,u)}},"forEach"),get:a(function(p){var h=u.filter(function(f){return f[0]===p})[0];return h&&h[1]},"get"),has:a(function(p){return!!d.get(p)},"has"),keys:a(function(){return u.map(function(p){var h=n(p,1),f=h[0];return f})},"keys"),values:a(function(){return u.map(function(p){var h=n(p,2),f=h[1];return f})},"values")};e.default=(0,t.default)(d,d.entries())}),_I=S(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget"]]};e.default=t}),AI=S(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-disabled":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget"]]};e.default=t}),RI=S(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null},relatedConcepts:[{concept:{name:"input"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget"]]};e.default=t}),qI=S(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}),II=S(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-valuemax":null,"aria-valuemin":null,"aria-valuenow":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]};e.default=t}),NI=S(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{"aria-atomic":null,"aria-busy":null,"aria-controls":null,"aria-current":null,"aria-describedby":null,"aria-details":null,"aria-dropeffect":null,"aria-flowto":null,"aria-grabbed":null,"aria-hidden":null,"aria-keyshortcuts":null,"aria-label":null,"aria-labelledby":null,"aria-live":null,"aria-owns":null,"aria-relevant":null,"aria-roledescription":null},relatedConcepts:[{concept:{name:"role"},module:"XHTML"},{concept:{name:"type"},module:"Dublin Core"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[]};e.default=t}),jI=S(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"frontmatter"},module:"DTB"},{concept:{name:"level"},module:"DTB"},{concept:{name:"level"},module:"SMIL"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]};e.default=t}),kI=S(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]};e.default=t}),MI=S(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-orientation":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","composite"],["roletype","structure","section","group"]]};e.default=t}),$I=S(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype"]]};e.default=t}),LI=S(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype"]]};e.default=t}),DI=S(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-modal":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype"]]};e.default=t}),FI=S(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=f(_I()),r=f(AI()),n=f(RI()),o=f(qI()),i=f(II()),s=f(NI()),l=f(jI()),c=f(kI()),u=f(MI()),d=f($I()),p=f(LI()),h=f(DI());function f(b){return b&&b.__esModule?b:{default:b}}a(f,"_interopRequireDefault");var m=[["command",t.default],["composite",r.default],["input",n.default],["landmark",o.default],["range",i.default],["roletype",s.default],["section",l.default],["sectionhead",c.default],["select",u.default],["structure",d.default],["widget",p.default],["window",h.default]];e.default=m}),BI=S(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-atomic":"true","aria-live":"assertive"},relatedConcepts:[{concept:{name:"alert"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}),UI=S(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"alert"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","alert"],["roletype","window","dialog"]]};e.default=t}),HI=S(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"Device Independence Delivery Unit"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]};e.default=t}),VI=S(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-posinset":null,"aria-setsize":null},relatedConcepts:[{concept:{name:"article"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","document"]]};e.default=t}),JI=S(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{constraints:["scoped to the body element"],name:"header"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}),zI=S(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"blockquote"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}),WI=S(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-expanded":null,"aria-haspopup":null,"aria-pressed":null},relatedConcepts:[{concept:{attributes:[{name:"type",value:"button"}],name:"input"},module:"HTML"},{concept:{attributes:[{name:"type",value:"image"}],name:"input"},module:"HTML"},{concept:{attributes:[{name:"type",value:"reset"}],name:"input"},module:"HTML"},{concept:{attributes:[{name:"type",value:"submit"}],name:"input"},module:"HTML"},{concept:{name:"button"},module:"HTML"},{concept:{name:"trigger"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command"]]};e.default=t}),GI=S(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"caption"},module:"HTML"}],requireContextRole:["figure","grid","table"],requiredContextRole:["figure","grid","table"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}),KI=S(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-colindex":null,"aria-colspan":null,"aria-rowindex":null,"aria-rowspan":null},relatedConcepts:[{concept:{constraints:["ancestor table element has table role"],name:"td"},module:"HTML"}],requireContextRole:["row"],requiredContextRole:["row"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}),YI=S(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-checked":null,"aria-errormessage":null,"aria-expanded":null,"aria-invalid":null,"aria-readonly":null,"aria-required":null},relatedConcepts:[{concept:{attributes:[{name:"type",value:"checkbox"}],name:"input"},module:"HTML"},{concept:{name:"option"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input"]]};e.default=t}),XI=S(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"code"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}),QI=S(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-sort":null},relatedConcepts:[{concept:{name:"th"},module:"HTML"},{concept:{attributes:[{name:"scope",value:"col"}],name:"th"},module:"HTML"},{concept:{attributes:[{name:"scope",value:"colgroup"}],name:"th"},module:"HTML"}],requireContextRole:["row"],requiredContextRole:["row"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","cell"],["roletype","structure","section","cell","gridcell"],["roletype","widget","gridcell"],["roletype","structure","sectionhead"]]};e.default=t}),ZI=S(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-autocomplete":null,"aria-errormessage":null,"aria-invalid":null,"aria-readonly":null,"aria-required":null,"aria-expanded":"false","aria-haspopup":"listbox"},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"email"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"search"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"tel"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"text"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"url"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"url"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"multiple"},{constraints:["undefined"],name:"size"}],constraints:["the multiple attribute is not set and the size attribute does not have a value greater than 1"],name:"select"},module:"HTML"},{concept:{name:"select"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-controls":null,"aria-expanded":"false"},superClass:[["roletype","widget","input"]]};e.default=t}),eN=S(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{constraints:["scoped to the body element","scoped to the main element"],name:"aside"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"aria-label"}],constraints:["scoped to a sectioning content element","scoped to a sectioning root element other than body"],name:"aside"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"aria-labelledby"}],constraints:["scoped to a sectioning content element","scoped to a sectioning root element other than body"],name:"aside"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}),tN=S(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{constraints:["scoped to the body element"],name:"footer"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}),rN=S(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"dd"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}),nN=S(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"del"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}),oN=S(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"dialog"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","window"]]};e.default=t}),aN=S(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{module:"DAISY Guide"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","list"]]};e.default=t}),iN=S(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"Device Independence Delivery Unit"}},{concept:{name:"html"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]};e.default=t}),sN=S(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"em"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}),lN=S(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["article"]],requiredProps:{},superClass:[["roletype","structure","section","list"]]};e.default=t}),uN=S(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"figure"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}),cN=S(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"aria-label"}],name:"form"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"aria-labelledby"}],name:"form"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"name"}],name:"form"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}),dN=S(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"a"},module:"HTML"},{concept:{name:"area"},module:"HTML"},{concept:{name:"aside"},module:"HTML"},{concept:{name:"b"},module:"HTML"},{concept:{name:"bdo"},module:"HTML"},{concept:{name:"body"},module:"HTML"},{concept:{name:"data"},module:"HTML"},{concept:{name:"div"},module:"HTML"},{concept:{constraints:["scoped to the main element","scoped to a sectioning content element","scoped to a sectioning root element other than body"],name:"footer"},module:"HTML"},{concept:{constraints:["scoped to the main element","scoped to a sectioning content element","scoped to a sectioning root element other than body"],name:"header"},module:"HTML"},{concept:{name:"hgroup"},module:"HTML"},{concept:{name:"i"},module:"HTML"},{concept:{name:"pre"},module:"HTML"},{concept:{name:"q"},module:"HTML"},{concept:{name:"samp"},module:"HTML"},{concept:{name:"section"},module:"HTML"},{concept:{name:"small"},module:"HTML"},{concept:{name:"span"},module:"HTML"},{concept:{name:"u"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]};e.default=t}),pN=S(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-multiselectable":null,"aria-readonly":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["row"],["row","rowgroup"]],requiredProps:{},superClass:[["roletype","widget","composite"],["roletype","structure","section","table"]]};e.default=t}),fN=S(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null,"aria-readonly":null,"aria-required":null,"aria-selected":null},relatedConcepts:[{concept:{constraints:["ancestor table element has grid role","ancestor table element has treegrid role"],name:"td"},module:"HTML"}],requireContextRole:["row"],requiredContextRole:["row"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","cell"],["roletype","widget"]]};e.default=t}),hN=S(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-disabled":null},relatedConcepts:[{concept:{name:"details"},module:"HTML"},{concept:{name:"fieldset"},module:"HTML"},{concept:{name:"optgroup"},module:"HTML"},{concept:{name:"address"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}),mN=S(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-level":"2"},relatedConcepts:[{concept:{name:"h1"},module:"HTML"},{concept:{name:"h2"},module:"HTML"},{concept:{name:"h3"},module:"HTML"},{concept:{name:"h4"},module:"HTML"},{concept:{name:"h5"},module:"HTML"},{concept:{name:"h6"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-level":"2"},superClass:[["roletype","structure","sectionhead"]]};e.default=t}),yN=S(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"alt"}],name:"img"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"alt"}],name:"img"},module:"HTML"},{concept:{name:"imggroup"},module:"DTB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}),bN=S(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"ins"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}),gN=S(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-expanded":null,"aria-haspopup":null},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"href"}],name:"a"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"href"}],name:"area"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command"]]};e.default=t}),vN=S(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"menu"},module:"HTML"},{concept:{name:"ol"},module:"HTML"},{concept:{name:"ul"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["listitem"]],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}),wN=S(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-expanded":null,"aria-invalid":null,"aria-multiselectable":null,"aria-readonly":null,"aria-required":null,"aria-orientation":"vertical"},relatedConcepts:[{concept:{attributes:[{constraints:[">1"],name:"size"}],constraints:["the size attribute value is greater than 1"],name:"select"},module:"HTML"},{concept:{attributes:[{name:"multiple"}],name:"select"},module:"HTML"},{concept:{name:"datalist"},module:"HTML"},{concept:{name:"list"},module:"ARIA"},{concept:{name:"select"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["option","group"],["option"]],requiredProps:{},superClass:[["roletype","widget","composite","select"],["roletype","structure","section","group","select"]]};e.default=t}),EN=S(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-level":null,"aria-posinset":null,"aria-setsize":null},relatedConcepts:[{concept:{constraints:["direct descendant of ol","direct descendant of ul","direct descendant of menu"],name:"li"},module:"HTML"},{concept:{name:"item"},module:"XForms"}],requireContextRole:["directory","list"],requiredContextRole:["directory","list"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}),xN=S(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-live":"polite"},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}),TN=S(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"main"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}),SN=S(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:[],props:{"aria-braillelabel":null,"aria-brailleroledescription":null,"aria-description":null},relatedConcepts:[{concept:{name:"mark"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}),CN=S(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}),PN=S(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"math"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}),ON=S(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-orientation":"vertical"},relatedConcepts:[{concept:{name:"MENU"},module:"JAPI"},{concept:{name:"list"},module:"ARIA"},{concept:{name:"select"},module:"XForms"},{concept:{name:"sidebar"},module:"DTB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["menuitem","group"],["menuitemradio","group"],["menuitemcheckbox","group"],["menuitem"],["menuitemcheckbox"],["menuitemradio"]],requiredProps:{},superClass:[["roletype","widget","composite","select"],["roletype","structure","section","group","select"]]};e.default=t}),_N=S(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-orientation":"horizontal"},relatedConcepts:[{concept:{name:"toolbar"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["menuitem","group"],["menuitemradio","group"],["menuitemcheckbox","group"],["menuitem"],["menuitemcheckbox"],["menuitemradio"]],requiredProps:{},superClass:[["roletype","widget","composite","select","menu"],["roletype","structure","section","group","select","menu"]]};e.default=t}),AN=S(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-expanded":null,"aria-haspopup":null,"aria-posinset":null,"aria-setsize":null},relatedConcepts:[{concept:{name:"MENU_ITEM"},module:"JAPI"},{concept:{name:"listitem"},module:"ARIA"},{concept:{name:"option"},module:"ARIA"}],requireContextRole:["group","menu","menubar"],requiredContextRole:["group","menu","menubar"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command"]]};e.default=t}),RN=S(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"menuitem"},module:"ARIA"}],requireContextRole:["group","menu","menubar"],requiredContextRole:["group","menu","menubar"],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input","checkbox"],["roletype","widget","command","menuitem"]]};e.default=t}),qN=S(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"menuitem"},module:"ARIA"}],requireContextRole:["group","menu","menubar"],requiredContextRole:["group","menu","menubar"],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input","checkbox","menuitemcheckbox"],["roletype","widget","command","menuitem","menuitemcheckbox"],["roletype","widget","input","radio"]]};e.default=t}),IN=S(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-valuetext":null,"aria-valuemax":"100","aria-valuemin":"0"},relatedConcepts:[{concept:{name:"meter"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-valuenow":null},superClass:[["roletype","structure","range"]]};e.default=t}),NN=S(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"nav"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}),jN=S(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[]};e.default=t}),kN=S(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}),MN=S(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-checked":null,"aria-posinset":null,"aria-setsize":null,"aria-selected":"false"},relatedConcepts:[{concept:{name:"item"},module:"XForms"},{concept:{name:"listitem"},module:"ARIA"},{concept:{name:"option"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-selected":"false"},superClass:[["roletype","widget","input"]]};e.default=t}),$N=S(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"p"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}),LN=S(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{attributes:[{name:"alt",value:""}],name:"img"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]};e.default=t}),DN=S(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-valuetext":null},relatedConcepts:[{concept:{name:"progress"},module:"HTML"},{concept:{name:"status"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","range"],["roletype","widget"]]};e.default=t}),FN=S(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-checked":null,"aria-posinset":null,"aria-setsize":null},relatedConcepts:[{concept:{attributes:[{name:"type",value:"radio"}],name:"input"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input"]]};e.default=t}),BN=S(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null,"aria-readonly":null,"aria-required":null},relatedConcepts:[{concept:{name:"list"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["radio"]],requiredProps:{},superClass:[["roletype","widget","composite","select"],["roletype","structure","section","group","select"]]};e.default=t}),UN=S(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"aria-label"}],name:"section"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"aria-labelledby"}],name:"section"},module:"HTML"},{concept:{name:"Device Independence Glossart perceivable unit"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}),HN=S(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-colindex":null,"aria-expanded":null,"aria-level":null,"aria-posinset":null,"aria-rowindex":null,"aria-selected":null,"aria-setsize":null},relatedConcepts:[{concept:{name:"tr"},module:"HTML"}],requireContextRole:["grid","rowgroup","table","treegrid"],requiredContextRole:["grid","rowgroup","table","treegrid"],requiredOwnedElements:[["cell"],["columnheader"],["gridcell"],["rowheader"]],requiredProps:{},superClass:[["roletype","structure","section","group"],["roletype","widget"]]};e.default=t}),VN=S(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"tbody"},module:"HTML"},{concept:{name:"tfoot"},module:"HTML"},{concept:{name:"thead"},module:"HTML"}],requireContextRole:["grid","table","treegrid"],requiredContextRole:["grid","table","treegrid"],requiredOwnedElements:[["row"]],requiredProps:{},superClass:[["roletype","structure"]]};e.default=t}),JN=S(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-sort":null},relatedConcepts:[{concept:{attributes:[{name:"scope",value:"row"}],name:"th"},module:"HTML"},{concept:{attributes:[{name:"scope",value:"rowgroup"}],name:"th"},module:"HTML"}],requireContextRole:["row","rowgroup"],requiredContextRole:["row","rowgroup"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","cell"],["roletype","structure","section","cell","gridcell"],["roletype","widget","gridcell"],["roletype","structure","sectionhead"]]};e.default=t}),zN=S(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-valuetext":null,"aria-orientation":"vertical","aria-valuemax":"100","aria-valuemin":"0"},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-controls":null,"aria-valuenow":null},superClass:[["roletype","structure","range"],["roletype","widget"]]};e.default=t}),WN=S(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}),GN=S(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"search"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","input","textbox"]]};e.default=t}),KN=S(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-orientation":"horizontal","aria-valuemax":"100","aria-valuemin":"0","aria-valuenow":null,"aria-valuetext":null},relatedConcepts:[{concept:{name:"hr"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]};e.default=t}),YN=S(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-haspopup":null,"aria-invalid":null,"aria-readonly":null,"aria-valuetext":null,"aria-orientation":"horizontal","aria-valuemax":"100","aria-valuemin":"0"},relatedConcepts:[{concept:{attributes:[{name:"type",value:"range"}],name:"input"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-valuenow":null},superClass:[["roletype","widget","input"],["roletype","structure","range"]]};e.default=t}),XN=S(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null,"aria-readonly":null,"aria-required":null,"aria-valuetext":null,"aria-valuenow":"0"},relatedConcepts:[{concept:{attributes:[{name:"type",value:"number"}],name:"input"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","composite"],["roletype","widget","input"],["roletype","structure","range"]]};e.default=t}),QN=S(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-atomic":"true","aria-live":"polite"},relatedConcepts:[{concept:{name:"output"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}),ZN=S(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"strong"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}),ej=S(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"sub"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}),tj=S(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"sup"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}),rj=S(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"button"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input","checkbox"]]};e.default=t}),nj=S(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-expanded":null,"aria-haspopup":null,"aria-posinset":null,"aria-setsize":null,"aria-selected":"false"},relatedConcepts:[],requireContextRole:["tablist"],requiredContextRole:["tablist"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","sectionhead"],["roletype","widget"]]};e.default=t}),oj=S(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-colcount":null,"aria-rowcount":null},relatedConcepts:[{concept:{name:"table"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["row"],["row","rowgroup"]],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}),aj=S(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-level":null,"aria-multiselectable":null,"aria-orientation":"horizontal"},relatedConcepts:[{module:"DAISY",concept:{name:"guide"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["tab"]],requiredProps:{},superClass:[["roletype","widget","composite"]]};e.default=t}),ij=S(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}),sj=S(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"dfn"},module:"HTML"},{concept:{name:"dt"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}),lj=S(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-autocomplete":null,"aria-errormessage":null,"aria-haspopup":null,"aria-invalid":null,"aria-multiline":null,"aria-placeholder":null,"aria-readonly":null,"aria-required":null},relatedConcepts:[{concept:{attributes:[{constraints:["undefined"],name:"type"},{constraints:["undefined"],name:"list"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"email"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"tel"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"text"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"url"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"},{concept:{name:"input"},module:"XForms"},{concept:{name:"textarea"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","input"]]};e.default=t}),uj=S(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"time"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}),cj=S(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","status"]]};e.default=t}),dj=S(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-orientation":"horizontal"},relatedConcepts:[{concept:{name:"menubar"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","group"]]};e.default=t}),pj=S(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}),fj=S(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null,"aria-multiselectable":null,"aria-required":null,"aria-orientation":"vertical"},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["treeitem","group"],["treeitem"]],requiredProps:{},superClass:[["roletype","widget","composite","select"],["roletype","structure","section","group","select"]]};e.default=t}),hj=S(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["row"],["row","rowgroup"]],requiredProps:{},superClass:[["roletype","widget","composite","grid"],["roletype","structure","section","table","grid"],["roletype","widget","composite","select","tree"],["roletype","structure","section","group","select","tree"]]};e.default=t}),mj=S(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-expanded":null,"aria-haspopup":null},relatedConcepts:[],requireContextRole:["group","tree"],requiredContextRole:["group","tree"],requiredOwnedElements:[],requiredProps:{"aria-selected":null},superClass:[["roletype","structure","section","listitem"],["roletype","widget","input","option"]]};e.default=t}),yj=S(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=H(BI()),r=H(UI()),n=H(HI()),o=H(VI()),i=H(JI()),s=H(zI()),l=H(WI()),c=H(GI()),u=H(KI()),d=H(YI()),p=H(XI()),h=H(QI()),f=H(ZI()),m=H(eN()),b=H(tN()),g=H(rN()),v=H(nN()),w=H(oN()),P=H(aN()),A=H(iN()),R=H(sN()),T=H(lN()),E=H(uN()),x=H(cN()),C=H(dN()),k=H(pN()),I=H(fN()),U=H(hN()),D=H(mN()),O=H(yN()),M=H(bN()),$=H(gN()),K=H(vN()),G=H(wN()),re=H(EN()),ae=H(xN()),Z=H(TN()),W=H(SN()),z=H(CN()),Y=H(PN()),ne=H(ON()),X=H(_N()),se=H(AN()),ce=H(RN()),Me=H(qN()),Ve=H(IN()),F=H(NN()),Q=H(jN()),oe=H(kN()),ue=H(MN()),ie=H($N()),de=H(LN()),pe=H(DN()),Pe=H(FN()),$e=H(BN()),lt=H(UN()),Ct=H(HN()),ot=H(VN()),ft=H(JN()),ht=H(zN()),mt=H(WN()),kn=H(GN()),Uo=H(KN()),Mn=H(YN()),Ho=H(XN()),Vo=H(QN()),Jo=H(ZN()),$n=H(ej()),zo=H(tj()),Wo=H(rj()),Go=H(nj()),Ko=H(oj()),Yo=H(aj()),Xo=H(ij()),Qo=H(sj()),Zo=H(lj()),ea=H(uj()),Kr=H(cj()),Ln=H(dj()),Ut=H(pj()),Ue=H(fj()),Yr=H(hj()),rr=H(mj());function H(Tr){return Tr&&Tr.__esModule?Tr:{default:Tr}}a(H,"_interopRequireDefault");var Xr=[["alert",t.default],["alertdialog",r.default],["application",n.default],["article",o.default],["banner",i.default],["blockquote",s.default],["button",l.default],["caption",c.default],["cell",u.default],["checkbox",d.default],["code",p.default],["columnheader",h.default],["combobox",f.default],["complementary",m.default],["contentinfo",b.default],["definition",g.default],["deletion",v.default],["dialog",w.default],["directory",P.default],["document",A.default],["emphasis",R.default],["feed",T.default],["figure",E.default],["form",x.default],["generic",C.default],["grid",k.default],["gridcell",I.default],["group",U.default],["heading",D.default],["img",O.default],["insertion",M.default],["link",$.default],["list",K.default],["listbox",G.default],["listitem",re.default],["log",ae.default],["main",Z.default],["mark",W.default],["marquee",z.default],["math",Y.default],["menu",ne.default],["menubar",X.default],["menuitem",se.default],["menuitemcheckbox",ce.default],["menuitemradio",Me.default],["meter",Ve.default],["navigation",F.default],["none",Q.default],["note",oe.default],["option",ue.default],["paragraph",ie.default],["presentation",de.default],["progressbar",pe.default],["radio",Pe.default],["radiogroup",$e.default],["region",lt.default],["row",Ct.default],["rowgroup",ot.default],["rowheader",ft.default],["scrollbar",ht.default],["search",mt.default],["searchbox",kn.default],["separator",Uo.default],["slider",Mn.default],["spinbutton",Ho.default],["status",Vo.default],["strong",Jo.default],["subscript",$n.default],["superscript",zo.default],["switch",Wo.default],["tab",Go.default],["table",Ko.default],["tablist",Yo.default],["tabpanel",Xo.default],["term",Qo.default],["textbox",Zo.default],["time",ea.default],["timer",Kr.default],["toolbar",Ln.default],["tooltip",Ut.default],["tree",Ue.default],["treegrid",Yr.default],["treeitem",rr.default]];e.default=Xr}),bj=S(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"abstract [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}),gj=S(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"acknowledgments [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}),vj=S(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"afterword [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}),wj=S(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"appendix [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}),Ej=S(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"referrer [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command","link"]]};e.default=t}),xj=S(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"EPUB biblioentry [EPUB-SSV]"},module:"EPUB"}],requireContextRole:["doc-bibliography"],requiredContextRole:["doc-bibliography"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","listitem"]]};e.default=t}),Tj=S(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"bibliography [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["doc-biblioentry"]],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}),Sj=S(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"biblioref [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command","link"]]};e.default=t}),Cj=S(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"chapter [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}),Pj=S(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"colophon [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}),Oj=S(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"conclusion [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}),_j=S(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"cover [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","img"]]};e.default=t}),Aj=S(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"credit [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}),Rj=S(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"credits [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}),qj=S(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"dedication [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}),Ij=S(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"rearnote [EPUB-SSV]"},module:"EPUB"}],requireContextRole:["doc-endnotes"],requiredContextRole:["doc-endnotes"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","listitem"]]};e.default=t}),Nj=S(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"rearnotes [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["doc-endnote"]],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}),jj=S(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"epigraph [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}),kj=S(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"epilogue [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}),Mj=S(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"errata [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}),$j=S(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}),Lj=S(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"footnote [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}),Dj=S(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"foreword [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}),Fj=S(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"glossary [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["definition"],["term"]],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}),Bj=S(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"glossref [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command","link"]]};e.default=t}),Uj=S(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"index [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark","navigation"]]};e.default=t}),Hj=S(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"introduction [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}),Vj=S(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"noteref [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command","link"]]};e.default=t}),Jj=S(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"notice [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","note"]]};e.default=t}),zj=S(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"pagebreak [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","separator"]]};e.default=t}),Wj=S(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:[],props:{"aria-braillelabel":null,"aria-brailleroledescription":null,"aria-description":null,"aria-disabled":null,"aria-errormessage":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}),Gj=S(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:[],props:{"aria-braillelabel":null,"aria-brailleroledescription":null,"aria-description":null,"aria-disabled":null,"aria-errormessage":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}),Kj=S(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"page-list [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark","navigation"]]};e.default=t}),Yj=S(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"part [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}),Xj=S(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"preface [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}),Qj=S(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"prologue [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}),Zj=S(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"pullquote [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["none"]]};e.default=t}),ek=S(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"qna [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}),tk=S(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"subtitle [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","sectionhead"]]};e.default=t}),rk=S(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"help [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","note"]]};e.default=t}),nk=S(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"toc [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark","navigation"]]};e.default=t}),ok=S(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=X(bj()),r=X(gj()),n=X(vj()),o=X(wj()),i=X(Ej()),s=X(xj()),l=X(Tj()),c=X(Sj()),u=X(Cj()),d=X(Pj()),p=X(Oj()),h=X(_j()),f=X(Aj()),m=X(Rj()),b=X(qj()),g=X(Ij()),v=X(Nj()),w=X(jj()),P=X(kj()),A=X(Mj()),R=X($j()),T=X(Lj()),E=X(Dj()),x=X(Fj()),C=X(Bj()),k=X(Uj()),I=X(Hj()),U=X(Vj()),D=X(Jj()),O=X(zj()),M=X(Wj()),$=X(Gj()),K=X(Kj()),G=X(Yj()),re=X(Xj()),ae=X(Qj()),Z=X(Zj()),W=X(ek()),z=X(tk()),Y=X(rk()),ne=X(nk());function X(ce){return ce&&ce.__esModule?ce:{default:ce}}a(X,"_interopRequireDefault");var se=[["doc-abstract",t.default],["doc-acknowledgments",r.default],["doc-afterword",n.default],["doc-appendix",o.default],["doc-backlink",i.default],["doc-biblioentry",s.default],["doc-bibliography",l.default],["doc-biblioref",c.default],["doc-chapter",u.default],["doc-colophon",d.default],["doc-conclusion",p.default],["doc-cover",h.default],["doc-credit",f.default],["doc-credits",m.default],["doc-dedication",b.default],["doc-endnote",g.default],["doc-endnotes",v.default],["doc-epigraph",w.default],["doc-epilogue",P.default],["doc-errata",A.default],["doc-example",R.default],["doc-footnote",T.default],["doc-foreword",E.default],["doc-glossary",x.default],["doc-glossref",C.default],["doc-index",k.default],["doc-introduction",I.default],["doc-noteref",U.default],["doc-notice",D.default],["doc-pagebreak",O.default],["doc-pagefooter",M.default],["doc-pageheader",$.default],["doc-pagelist",K.default],["doc-part",G.default],["doc-preface",re.default],["doc-prologue",ae.default],["doc-pullquote",Z.default],["doc-qna",W.default],["doc-subtitle",z.default],["doc-tip",Y.default],["doc-toc",ne.default]];e.default=se}),ak=S(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{module:"GRAPHICS",concept:{name:"graphics-object"}},{module:"ARIA",concept:{name:"img"}},{module:"ARIA",concept:{name:"article"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","document"]]};e.default=t}),ik=S(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{module:"GRAPHICS",concept:{name:"graphics-document"}},{module:"ARIA",concept:{name:"group"}},{module:"ARIA",concept:{name:"img"}},{module:"GRAPHICS",concept:{name:"graphics-symbol"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","group"]]};e.default=t}),sk=S(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","img"]]};e.default=t}),lk=S(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=o(ak()),r=o(ik()),n=o(sk());function o(s){return s&&s.__esModule?s:{default:s}}a(o,"_interopRequireDefault");var i=[["graphics-document",t.default],["graphics-object",r.default],["graphics-symbol",n.default]];e.default=i}),sp=S(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=s(FI()),r=s(yj()),n=s(ok()),o=s(lk()),i=s(ei());function s(g){return g&&g.__esModule?g:{default:g}}a(s,"_interopRequireDefault");function l(g,v){var w=typeof Symbol<"u"&&g[Symbol.iterator]||g["@@iterator"];if(!w){if(Array.isArray(g)||(w=d(g))||v&&g&&typeof g.length=="number"){w&&(g=w);var P=0,A=a(function(){},"F");return{s:A,n:a(function(){return P>=g.length?{done:!0}:{done:!1,value:g[P++]}},"n"),e:a(function(x){throw x},"e"),f:A}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
5
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var R,T=!0,E=!1;return{s:a(function(){w=w.call(g)},"s"),n:a(function(){var x=w.next();return T=x.done,x},"n"),e:a(function(x){E=!0,R=x},"e"),f:a(function(){try{T||w.return==null||w.return()}finally{if(E)throw R}},"f")}}a(l,"_createForOfIteratorHelper");function c(g,v){return f(g)||h(g,v)||d(g,v)||u()}a(c,"_slicedToArray");function u(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
6
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}a(u,"_nonIterableRest");function d(g,v){if(g){if(typeof g=="string")return p(g,v);var w={}.toString.call(g).slice(8,-1);return w==="Object"&&g.constructor&&(w=g.constructor.name),w==="Map"||w==="Set"?Array.from(g):w==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(w)?p(g,v):void 0}}a(d,"_unsupportedIterableToArray");function p(g,v){(v==null||v>g.length)&&(v=g.length);for(var w=0,P=Array(v);w<v;w++)P[w]=g[w];return P}a(p,"_arrayLikeToArray");function h(g,v){var w=g==null?null:typeof Symbol<"u"&&g[Symbol.iterator]||g["@@iterator"];if(w!=null){var P,A,R,T,E=[],x=!0,C=!1;try{if(R=(w=w.call(g)).next,v===0){if(Object(w)!==w)return;x=!1}else for(;!(x=(P=R.call(w)).done)&&(E.push(P.value),E.length!==v);x=!0);}catch(k){C=!0,A=k}finally{try{if(!x&&w.return!=null&&(T=w.return(),Object(T)!==T))return}finally{if(C)throw A}}return E}}a(h,"_iterableToArrayLimit");function f(g){if(Array.isArray(g))return g}a(f,"_arrayWithHoles");var m=[].concat(t.default,r.default,n.default,o.default);m.forEach(function(g){var v=c(g,2),w=v[1],P=l(w.superClass),A;try{for(P.s();!(A=P.n()).done;){var R=A.value,T=l(R),E;try{var x=a(function(){var C=E.value,k=m.filter(function(M){var $=c(M,1),K=$[0];return K===C})[0];if(k)for(var I=k[1],U=0,D=Object.keys(I.props);U<D.length;U++){var O=D[U];Object.prototype.hasOwnProperty.call(w.props,O)||(w.props[O]=I.props[O])}},"_loop");for(T.s();!(E=T.n()).done;)x()}catch(C){T.e(C)}finally{T.f()}}}catch(C){P.e(C)}finally{P.f()}});var b={entries:a(function(){return m},"entries"),forEach:a(function(g){var v=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,w=l(m),P;try{for(w.s();!(P=w.n()).done;){var A=c(P.value,2),R=A[0],T=A[1];g.call(v,T,R,m)}}catch(E){w.e(E)}finally{w.f()}},"forEach"),get:a(function(g){var v=m.filter(function(w){return w[0]===g})[0];return v&&v[1]},"get"),has:a(function(g){return!!b.get(g)},"has"),keys:a(function(){return m.map(function(g){var v=c(g,1),w=v[0];return w})},"keys"),values:a(function(){return m.map(function(g){var v=c(g,2),w=v[1];return w})},"values")};e.default=(0,i.default)(b,b.entries())}),uk=S(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=n(ei()),r=n(sp());function n(T){return T&&T.__esModule?T:{default:T}}a(n,"_interopRequireDefault");function o(T,E){return u(T)||c(T,E)||s(T,E)||i()}a(o,"_slicedToArray");function i(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
7
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}a(i,"_nonIterableRest");function s(T,E){if(T){if(typeof T=="string")return l(T,E);var x={}.toString.call(T).slice(8,-1);return x==="Object"&&T.constructor&&(x=T.constructor.name),x==="Map"||x==="Set"?Array.from(T):x==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(x)?l(T,E):void 0}}a(s,"_unsupportedIterableToArray");function l(T,E){(E==null||E>T.length)&&(E=T.length);for(var x=0,C=Array(E);x<E;x++)C[x]=T[x];return C}a(l,"_arrayLikeToArray");function c(T,E){var x=T==null?null:typeof Symbol<"u"&&T[Symbol.iterator]||T["@@iterator"];if(x!=null){var C,k,I,U,D=[],O=!0,M=!1;try{if(I=(x=x.call(T)).next,E===0){if(Object(x)!==x)return;O=!1}else for(;!(O=(C=I.call(x)).done)&&(D.push(C.value),D.length!==E);O=!0);}catch($){M=!0,k=$}finally{try{if(!O&&x.return!=null&&(U=x.return(),Object(U)!==U))return}finally{if(M)throw k}}return D}}a(c,"_iterableToArrayLimit");function u(T){if(Array.isArray(T))return T}a(u,"_arrayWithHoles");var d=[],p=r.default.keys();for(v=0;v<p.length;v++)if(h=p[v],f=r.default.get(h),f)for(m=[].concat(f.baseConcepts,f.relatedConcepts),b=a(function(){var T=m[g];if(T.module==="HTML"){var E=T.concept;if(E){var x=d.filter(function(U){return P(U[0],E)})[0],C;x?C=x[1]:C=[];for(var k=!0,I=0;I<C.length;I++)if(C[I]===h){k=!1;break}k&&C.push(h),x||d.push([E,C])}}},"_loop"),g=0;g<m.length;g++)b();var h,f,m,b,g,v,w={entries:a(function(){return d},"entries"),forEach:a(function(T){for(var E=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,x=0,C=d;x<C.length;x++){var k=o(C[x],2),I=k[0],U=k[1];T.call(E,U,I,d)}},"forEach"),get:a(function(T){var E=d.filter(function(x){return T.name===x[0].name&&R(T.attributes,x[0].attributes)})[0];return E&&E[1]},"get"),has:a(function(T){return!!w.get(T)},"has"),keys:a(function(){return d.map(function(T){var E=o(T,1),x=E[0];return x})},"keys"),values:a(function(){return d.map(function(T){var E=o(T,2),x=E[1];return x})},"values")};function P(T,E){return T.name===E.name&&A(T.constraints,E.constraints)&&R(T.attributes,E.attributes)}a(P,"ariaRoleRelationConceptEquals");function A(T,E){if(T===void 0&&E!==void 0||T!==void 0&&E===void 0)return!1;if(T!==void 0&&E!==void 0){if(T.length!==E.length)return!1;for(var x=0;x<T.length;x++)if(T[x]!==E[x])return!1}return!0}a(A,"ariaRoleRelationConstraintsEquals");function R(T,E){if(T===void 0&&E!==void 0||T!==void 0&&E===void 0)return!1;if(T!==void 0&&E!==void 0){if(T.length!==E.length)return!1;for(var x=0;x<T.length;x++){if(T[x].name!==E[x].name||T[x].value!==E[x].value||T[x].constraints===void 0&&E[x].constraints!==void 0||T[x].constraints!==void 0&&E[x].constraints===void 0)return!1;if(T[x].constraints!==void 0&&E[x].constraints!==void 0){if(T[x].constraints.length!==E[x].constraints.length)return!1;for(var C=0;C<T[x].constraints.length;C++)if(T[x].constraints[C]!==E[x].constraints[C])return!1}}}return!0}a(R,"ariaRoleRelationConceptAttributeEquals"),e.default=(0,t.default)(w,w.entries())}),ck=S(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=n(ei()),r=n(sp());function n(R){return R&&R.__esModule?R:{default:R}}a(n,"_interopRequireDefault");function o(R,T){return u(R)||c(R,T)||s(R,T)||i()}a(o,"_slicedToArray");function i(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
8
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}a(i,"_nonIterableRest");function s(R,T){if(R){if(typeof R=="string")return l(R,T);var E={}.toString.call(R).slice(8,-1);return E==="Object"&&R.constructor&&(E=R.constructor.name),E==="Map"||E==="Set"?Array.from(R):E==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(E)?l(R,T):void 0}}a(s,"_unsupportedIterableToArray");function l(R,T){(T==null||T>R.length)&&(T=R.length);for(var E=0,x=Array(T);E<T;E++)x[E]=R[E];return x}a(l,"_arrayLikeToArray");function c(R,T){var E=R==null?null:typeof Symbol<"u"&&R[Symbol.iterator]||R["@@iterator"];if(E!=null){var x,C,k,I,U=[],D=!0,O=!1;try{if(k=(E=E.call(R)).next,T===0){if(Object(E)!==E)return;D=!1}else for(;!(D=(x=k.call(E)).done)&&(U.push(x.value),U.length!==T);D=!0);}catch(M){O=!0,C=M}finally{try{if(!D&&E.return!=null&&(I=E.return(),Object(I)!==I))return}finally{if(O)throw C}}return U}}a(c,"_iterableToArrayLimit");function u(R){if(Array.isArray(R))return R}a(u,"_arrayWithHoles");var d=[],p=r.default.keys();for(P=0;P<p.length;P++)if(h=p[P],f=r.default.get(h),m=[],f){for(b=[].concat(f.baseConcepts,f.relatedConcepts),w=0;w<b.length;w++)g=b[w],g.module==="HTML"&&(v=g.concept,v!=null&&m.push(v));m.length>0&&d.push([h,m])}var h,f,m,b,g,v,w,P,A={entries:a(function(){return d},"entries"),forEach:a(function(R){for(var T=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,E=0,x=d;E<x.length;E++){var C=o(x[E],2),k=C[0],I=C[1];R.call(T,I,k,d)}},"forEach"),get:a(function(R){var T=d.filter(function(E){return E[0]===R})[0];return T&&T[1]},"get"),has:a(function(R){return!!A.get(R)},"has"),keys:a(function(){return d.map(function(R){var T=o(R,1),E=T[0];return E})},"keys"),values:a(function(){return d.map(function(R){var T=o(R,2),E=T[1];return E})},"values")};e.default=(0,t.default)(A,A.entries())}),rv=S(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.roles=e.roleElements=e.elementRoles=e.dom=e.aria=void 0;var t=s(PI()),r=s(OI()),n=s(sp()),o=s(uk()),i=s(ck());function s(l){return l&&l.__esModule?l:{default:l}}a(s,"_interopRequireDefault"),e.aria=t.default,e.dom=r.default,e.roles=n.default,e.elementRoles=o.default,e.roleElements=i.default}),dk=S((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]}}),nv=S((e,t)=>{var r=dk(),n={};for(let s of Object.keys(r))n[r[s]]=s;var o={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};t.exports=o;for(let s of Object.keys(o)){if(!("channels"in o[s]))throw new Error("missing channels property: "+s);if(!("labels"in o[s]))throw new Error("missing channel labels property: "+s);if(o[s].labels.length!==o[s].channels)throw new Error("channel and label counts mismatch: "+s);let{channels:l,labels:c}=o[s];delete o[s].channels,delete o[s].labels,Object.defineProperty(o[s],"channels",{value:l}),Object.defineProperty(o[s],"labels",{value:c})}o.rgb.hsl=function(s){let l=s[0]/255,c=s[1]/255,u=s[2]/255,d=Math.min(l,c,u),p=Math.max(l,c,u),h=p-d,f,m;p===d?f=0:l===p?f=(c-u)/h:c===p?f=2+(u-l)/h:u===p&&(f=4+(l-c)/h),f=Math.min(f*60,360),f<0&&(f+=360);let b=(d+p)/2;return p===d?m=0:b<=.5?m=h/(p+d):m=h/(2-p-d),[f,m*100,b*100]},o.rgb.hsv=function(s){let l,c,u,d,p,h=s[0]/255,f=s[1]/255,m=s[2]/255,b=Math.max(h,f,m),g=b-Math.min(h,f,m),v=a(function(w){return(b-w)/6/g+1/2},"diffc");return g===0?(d=0,p=0):(p=g/b,l=v(h),c=v(f),u=v(m),h===b?d=u-c:f===b?d=1/3+l-u:m===b&&(d=2/3+c-l),d<0?d+=1:d>1&&(d-=1)),[d*360,p*100,b*100]},o.rgb.hwb=function(s){let l=s[0],c=s[1],u=s[2],d=o.rgb.hsl(s)[0],p=1/255*Math.min(l,Math.min(c,u));return u=1-1/255*Math.max(l,Math.max(c,u)),[d,p*100,u*100]},o.rgb.cmyk=function(s){let l=s[0]/255,c=s[1]/255,u=s[2]/255,d=Math.min(1-l,1-c,1-u),p=(1-l-d)/(1-d)||0,h=(1-c-d)/(1-d)||0,f=(1-u-d)/(1-d)||0;return[p*100,h*100,f*100,d*100]};function i(s,l){return(s[0]-l[0])**2+(s[1]-l[1])**2+(s[2]-l[2])**2}a(i,"comparativeDistance"),o.rgb.keyword=function(s){let l=n[s];if(l)return l;let c=1/0,u;for(let d of Object.keys(r)){let p=r[d],h=i(s,p);h<c&&(c=h,u=d)}return u},o.keyword.rgb=function(s){return r[s]},o.rgb.xyz=function(s){let l=s[0]/255,c=s[1]/255,u=s[2]/255;l=l>.04045?((l+.055)/1.055)**2.4:l/12.92,c=c>.04045?((c+.055)/1.055)**2.4:c/12.92,u=u>.04045?((u+.055)/1.055)**2.4:u/12.92;let d=l*.4124+c*.3576+u*.1805,p=l*.2126+c*.7152+u*.0722,h=l*.0193+c*.1192+u*.9505;return[d*100,p*100,h*100]},o.rgb.lab=function(s){let l=o.rgb.xyz(s),c=l[0],u=l[1],d=l[2];c/=95.047,u/=100,d/=108.883,c=c>.008856?c**(1/3):7.787*c+16/116,u=u>.008856?u**(1/3):7.787*u+16/116,d=d>.008856?d**(1/3):7.787*d+16/116;let p=116*u-16,h=500*(c-u),f=200*(u-d);return[p,h,f]},o.hsl.rgb=function(s){let l=s[0]/360,c=s[1]/100,u=s[2]/100,d,p,h;if(c===0)return h=u*255,[h,h,h];u<.5?d=u*(1+c):d=u+c-u*c;let f=2*u-d,m=[0,0,0];for(let b=0;b<3;b++)p=l+1/3*-(b-1),p<0&&p++,p>1&&p--,6*p<1?h=f+(d-f)*6*p:2*p<1?h=d:3*p<2?h=f+(d-f)*(2/3-p)*6:h=f,m[b]=h*255;return m},o.hsl.hsv=function(s){let l=s[0],c=s[1]/100,u=s[2]/100,d=c,p=Math.max(u,.01);u*=2,c*=u<=1?u:2-u,d*=p<=1?p:2-p;let h=(u+c)/2,f=u===0?2*d/(p+d):2*c/(u+c);return[l,f*100,h*100]},o.hsv.rgb=function(s){let l=s[0]/60,c=s[1]/100,u=s[2]/100,d=Math.floor(l)%6,p=l-Math.floor(l),h=255*u*(1-c),f=255*u*(1-c*p),m=255*u*(1-c*(1-p));switch(u*=255,d){case 0:return[u,m,h];case 1:return[f,u,h];case 2:return[h,u,m];case 3:return[h,f,u];case 4:return[m,h,u];case 5:return[u,h,f]}},o.hsv.hsl=function(s){let l=s[0],c=s[1]/100,u=s[2]/100,d=Math.max(u,.01),p,h;h=(2-c)*u;let f=(2-c)*d;return p=c*d,p/=f<=1?f:2-f,p=p||0,h/=2,[l,p*100,h*100]},o.hwb.rgb=function(s){let l=s[0]/360,c=s[1]/100,u=s[2]/100,d=c+u,p;d>1&&(c/=d,u/=d);let h=Math.floor(6*l),f=1-u;p=6*l-h,(h&1)!==0&&(p=1-p);let m=c+p*(f-c),b,g,v;switch(h){default:case 6:case 0:b=f,g=m,v=c;break;case 1:b=m,g=f,v=c;break;case 2:b=c,g=f,v=m;break;case 3:b=c,g=m,v=f;break;case 4:b=m,g=c,v=f;break;case 5:b=f,g=c,v=m;break}return[b*255,g*255,v*255]},o.cmyk.rgb=function(s){let l=s[0]/100,c=s[1]/100,u=s[2]/100,d=s[3]/100,p=1-Math.min(1,l*(1-d)+d),h=1-Math.min(1,c*(1-d)+d),f=1-Math.min(1,u*(1-d)+d);return[p*255,h*255,f*255]},o.xyz.rgb=function(s){let l=s[0]/100,c=s[1]/100,u=s[2]/100,d,p,h;return d=l*3.2406+c*-1.5372+u*-.4986,p=l*-.9689+c*1.8758+u*.0415,h=l*.0557+c*-.204+u*1.057,d=d>.0031308?1.055*d**(1/2.4)-.055:d*12.92,p=p>.0031308?1.055*p**(1/2.4)-.055:p*12.92,h=h>.0031308?1.055*h**(1/2.4)-.055:h*12.92,d=Math.min(Math.max(0,d),1),p=Math.min(Math.max(0,p),1),h=Math.min(Math.max(0,h),1),[d*255,p*255,h*255]},o.xyz.lab=function(s){let l=s[0],c=s[1],u=s[2];l/=95.047,c/=100,u/=108.883,l=l>.008856?l**(1/3):7.787*l+16/116,c=c>.008856?c**(1/3):7.787*c+16/116,u=u>.008856?u**(1/3):7.787*u+16/116;let d=116*c-16,p=500*(l-c),h=200*(c-u);return[d,p,h]},o.lab.xyz=function(s){let l=s[0],c=s[1],u=s[2],d,p,h;p=(l+16)/116,d=c/500+p,h=p-u/200;let f=p**3,m=d**3,b=h**3;return p=f>.008856?f:(p-16/116)/7.787,d=m>.008856?m:(d-16/116)/7.787,h=b>.008856?b:(h-16/116)/7.787,d*=95.047,p*=100,h*=108.883,[d,p,h]},o.lab.lch=function(s){let l=s[0],c=s[1],u=s[2],d;d=Math.atan2(u,c)*360/2/Math.PI,d<0&&(d+=360);let p=Math.sqrt(c*c+u*u);return[l,p,d]},o.lch.lab=function(s){let l=s[0],c=s[1],u=s[2]/360*2*Math.PI,d=c*Math.cos(u),p=c*Math.sin(u);return[l,d,p]},o.rgb.ansi16=function(s,l=null){let[c,u,d]=s,p=l===null?o.rgb.hsv(s)[2]:l;if(p=Math.round(p/50),p===0)return 30;let h=30+(Math.round(d/255)<<2|Math.round(u/255)<<1|Math.round(c/255));return p===2&&(h+=60),h},o.hsv.ansi16=function(s){return o.rgb.ansi16(o.hsv.rgb(s),s[2])},o.rgb.ansi256=function(s){let l=s[0],c=s[1],u=s[2];return l===c&&c===u?l<8?16:l>248?231:Math.round((l-8)/247*24)+232:16+36*Math.round(l/255*5)+6*Math.round(c/255*5)+Math.round(u/255*5)},o.ansi16.rgb=function(s){let l=s%10;if(l===0||l===7)return s>50&&(l+=3.5),l=l/10.5*255,[l,l,l];let c=(~~(s>50)+1)*.5,u=(l&1)*c*255,d=(l>>1&1)*c*255,p=(l>>2&1)*c*255;return[u,d,p]},o.ansi256.rgb=function(s){if(s>=232){let p=(s-232)*10+8;return[p,p,p]}s-=16;let l,c=Math.floor(s/36)/5*255,u=Math.floor((l=s%36)/6)/5*255,d=l%6/5*255;return[c,u,d]},o.rgb.hex=function(s){let l=(((Math.round(s[0])&255)<<16)+((Math.round(s[1])&255)<<8)+(Math.round(s[2])&255)).toString(16).toUpperCase();return"000000".substring(l.length)+l},o.hex.rgb=function(s){let l=s.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!l)return[0,0,0];let c=l[0];l[0].length===3&&(c=c.split("").map(f=>f+f).join(""));let u=parseInt(c,16),d=u>>16&255,p=u>>8&255,h=u&255;return[d,p,h]},o.rgb.hcg=function(s){let l=s[0]/255,c=s[1]/255,u=s[2]/255,d=Math.max(Math.max(l,c),u),p=Math.min(Math.min(l,c),u),h=d-p,f,m;return h<1?f=p/(1-h):f=0,h<=0?m=0:d===l?m=(c-u)/h%6:d===c?m=2+(u-l)/h:m=4+(l-c)/h,m/=6,m%=1,[m*360,h*100,f*100]},o.hsl.hcg=function(s){let l=s[1]/100,c=s[2]/100,u=c<.5?2*l*c:2*l*(1-c),d=0;return u<1&&(d=(c-.5*u)/(1-u)),[s[0],u*100,d*100]},o.hsv.hcg=function(s){let l=s[1]/100,c=s[2]/100,u=l*c,d=0;return u<1&&(d=(c-u)/(1-u)),[s[0],u*100,d*100]},o.hcg.rgb=function(s){let l=s[0]/360,c=s[1]/100,u=s[2]/100;if(c===0)return[u*255,u*255,u*255];let d=[0,0,0],p=l%1*6,h=p%1,f=1-h,m=0;switch(Math.floor(p)){case 0:d[0]=1,d[1]=h,d[2]=0;break;case 1:d[0]=f,d[1]=1,d[2]=0;break;case 2:d[0]=0,d[1]=1,d[2]=h;break;case 3:d[0]=0,d[1]=f,d[2]=1;break;case 4:d[0]=h,d[1]=0,d[2]=1;break;default:d[0]=1,d[1]=0,d[2]=f}return m=(1-c)*u,[(c*d[0]+m)*255,(c*d[1]+m)*255,(c*d[2]+m)*255]},o.hcg.hsv=function(s){let l=s[1]/100,c=s[2]/100,u=l+c*(1-l),d=0;return u>0&&(d=l/u),[s[0],d*100,u*100]},o.hcg.hsl=function(s){let l=s[1]/100,c=s[2]/100*(1-l)+.5*l,u=0;return c>0&&c<.5?u=l/(2*c):c>=.5&&c<1&&(u=l/(2*(1-c))),[s[0],u*100,c*100]},o.hcg.hwb=function(s){let l=s[1]/100,c=s[2]/100,u=l+c*(1-l);return[s[0],(u-l)*100,(1-u)*100]},o.hwb.hcg=function(s){let l=s[1]/100,c=1-s[2]/100,u=c-l,d=0;return u<1&&(d=(c-u)/(1-u)),[s[0],u*100,d*100]},o.apple.rgb=function(s){return[s[0]/65535*255,s[1]/65535*255,s[2]/65535*255]},o.rgb.apple=function(s){return[s[0]/255*65535,s[1]/255*65535,s[2]/255*65535]},o.gray.rgb=function(s){return[s[0]/100*255,s[0]/100*255,s[0]/100*255]},o.gray.hsl=function(s){return[0,0,s[0]]},o.gray.hsv=o.gray.hsl,o.gray.hwb=function(s){return[0,100,s[0]]},o.gray.cmyk=function(s){return[0,0,0,s[0]]},o.gray.lab=function(s){return[s[0],0,0]},o.gray.hex=function(s){let l=Math.round(s[0]/100*255)&255,c=((l<<16)+(l<<8)+l).toString(16).toUpperCase();return"000000".substring(c.length)+c},o.rgb.gray=function(s){return[(s[0]+s[1]+s[2])/3/255*100]}}),pk=S((e,t)=>{var r=nv();function n(){let l={},c=Object.keys(r);for(let u=c.length,d=0;d<u;d++)l[c[d]]={distance:-1,parent:null};return l}a(n,"buildGraph");function o(l){let c=n(),u=[l];for(c[l].distance=0;u.length;){let d=u.pop(),p=Object.keys(r[d]);for(let h=p.length,f=0;f<h;f++){let m=p[f],b=c[m];b.distance===-1&&(b.distance=c[d].distance+1,b.parent=d,u.unshift(m))}}return c}a(o,"deriveBFS");function i(l,c){return function(u){return c(l(u))}}a(i,"link");function s(l,c){let u=[c[l].parent,l],d=r[c[l].parent][l],p=c[l].parent;for(;c[p].parent;)u.unshift(c[p].parent),d=i(r[c[p].parent][p],d),p=c[p].parent;return d.conversion=u,d}a(s,"wrapConversion"),t.exports=function(l){let c=o(l),u={},d=Object.keys(c);for(let p=d.length,h=0;h<p;h++){let f=d[h];c[f].parent!==null&&(u[f]=s(f,c))}return u}}),fk=S((e,t)=>{var r=nv(),n=pk(),o={},i=Object.keys(r);function s(c){let u=a(function(...d){let p=d[0];return p==null?p:(p.length>1&&(d=p),c(d))},"wrappedFn");return"conversion"in c&&(u.conversion=c.conversion),u}a(s,"wrapRaw");function l(c){let u=a(function(...d){let p=d[0];if(p==null)return p;p.length>1&&(d=p);let h=c(d);if(typeof h=="object")for(let f=h.length,m=0;m<f;m++)h[m]=Math.round(h[m]);return h},"wrappedFn");return"conversion"in c&&(u.conversion=c.conversion),u}a(l,"wrapRounded"),i.forEach(c=>{o[c]={},Object.defineProperty(o[c],"channels",{value:r[c].channels}),Object.defineProperty(o[c],"labels",{value:r[c].labels});let u=n(c);Object.keys(u).forEach(d=>{let p=u[d];o[c][d]=l(p),o[c][d].raw=s(p)})}),t.exports=o}),hk=S((e,t)=>{var r=a((p,h)=>(...f)=>`\x1B[${p(...f)+h}m`,"wrapAnsi16"),n=a((p,h)=>(...f)=>{let m=p(...f);return`\x1B[${38+h};5;${m}m`},"wrapAnsi256"),o=a((p,h)=>(...f)=>{let m=p(...f);return`\x1B[${38+h};2;${m[0]};${m[1]};${m[2]}m`},"wrapAnsi16m"),i=a(p=>p,"ansi2ansi"),s=a((p,h,f)=>[p,h,f],"rgb2rgb"),l=a((p,h,f)=>{Object.defineProperty(p,h,{get:a(()=>{let m=f();return Object.defineProperty(p,h,{value:m,enumerable:!0,configurable:!0}),m},"get"),enumerable:!0,configurable:!0})},"setLazyProperty"),c,u=a((p,h,f,m)=>{c===void 0&&(c=fk());let b=m?10:0,g={};for(let[v,w]of Object.entries(c)){let P=v==="ansi16"?"ansi":v;v===h?g[P]=p(f,b):typeof w=="object"&&(g[P]=p(w[h],b))}return g},"makeDynamicStyles");function d(){let p=new Map,h={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]}};h.color.gray=h.color.blackBright,h.bgColor.bgGray=h.bgColor.bgBlackBright,h.color.grey=h.color.blackBright,h.bgColor.bgGrey=h.bgColor.bgBlackBright;for(let[f,m]of Object.entries(h)){for(let[b,g]of Object.entries(m))h[b]={open:`\x1B[${g[0]}m`,close:`\x1B[${g[1]}m`},m[b]=h[b],p.set(g[0],g[1]);Object.defineProperty(h,f,{value:m,enumerable:!1})}return Object.defineProperty(h,"codes",{value:p,enumerable:!1}),h.color.close="\x1B[39m",h.bgColor.close="\x1B[49m",l(h.color,"ansi",()=>u(r,"ansi16",i,!1)),l(h.color,"ansi256",()=>u(n,"ansi256",i,!1)),l(h.color,"ansi16m",()=>u(o,"rgb",s,!1)),l(h.bgColor,"ansi",()=>u(r,"ansi16",i,!0)),l(h.bgColor,"ansi256",()=>u(n,"ansi256",i,!0)),l(h.bgColor,"ansi16m",()=>u(o,"rgb",s,!0)),h}a(d,"assembleStyles"),Object.defineProperty(t,"exports",{enumerable:!0,get:d})}),mk=S((e,t)=>{t.exports={stdout:!1,stderr:!1}}),yk=S((e,t)=>{var r=a((o,i,s)=>{let l=o.indexOf(i);if(l===-1)return o;let c=i.length,u=0,d="";do d+=o.substr(u,l-u)+i+s,u=l+c,l=o.indexOf(i,u);while(l!==-1);return d+=o.substr(u),d},"stringReplaceAll"),n=a((o,i,s,l)=>{let c=0,u="";do{let d=o[l-1]==="\r";u+=o.substr(c,(d?l-1:l)-c)+i+(d?`\r
9
- `:`
10
- `)+s,c=l+1,l=o.indexOf(`
11
- `,c)}while(l!==-1);return u+=o.substr(c),u},"stringEncaseCRLFWithFirstIndex");t.exports={stringReplaceAll:r,stringEncaseCRLFWithFirstIndex:n}}),bk=S((e,t)=>{var r=/(?:\\(u(?:[a-f\d]{4}|\{[a-f\d]{1,6}\})|x[a-f\d]{2}|.))|(?:\{(~)?(\w+(?:\([^)]*\))?(?:\.\w+(?:\([^)]*\))?)*)(?:[ \t]|(?=\r?\n)))|(\})|((?:.|[\r\n\f])+?)/gi,n=/(?:^|\.)(\w+)(?:\(([^)]*)\))?/g,o=/^(['"])((?:\\.|(?!\1)[^\\])*)\1$/,i=/\\(u(?:[a-f\d]{4}|\{[a-f\d]{1,6}\})|x[a-f\d]{2}|.)|([^\\])/gi,s=new Map([["n",`
12
- `],["r","\r"],["t"," "],["b","\b"],["f","\f"],["v","\v"],["0","\0"],["\\","\\"],["e","\x1B"],["a","\x07"]]);function l(p){let h=p[0]==="u",f=p[1]==="{";return h&&!f&&p.length===5||p[0]==="x"&&p.length===3?String.fromCharCode(parseInt(p.slice(1),16)):h&&f?String.fromCodePoint(parseInt(p.slice(2,-1),16)):s.get(p)||p}a(l,"unescape");function c(p,h){let f=[],m=h.trim().split(/\s*,\s*/g),b;for(let g of m){let v=Number(g);if(!Number.isNaN(v))f.push(v);else if(b=g.match(o))f.push(b[2].replace(i,(w,P,A)=>P?l(P):A));else throw new Error(`Invalid Chalk template style argument: ${g} (in style '${p}')`)}return f}a(c,"parseArguments");function u(p){n.lastIndex=0;let h=[],f;for(;(f=n.exec(p))!==null;){let m=f[1];if(f[2]){let b=c(m,f[2]);h.push([m].concat(b))}else h.push([m])}return h}a(u,"parseStyle");function d(p,h){let f={};for(let b of h)for(let g of b.styles)f[g[0]]=b.inverse?null:g.slice(1);let m=p;for(let[b,g]of Object.entries(f))if(Array.isArray(g)){if(!(b in m))throw new Error(`Unknown Chalk style: ${b}`);m=g.length>0?m[b](...g):m[b]}return m}a(d,"buildStyle"),t.exports=(p,h)=>{let f=[],m=[],b=[];if(h.replace(r,(g,v,w,P,A,R)=>{if(v)b.push(l(v));else if(P){let T=b.join("");b=[],m.push(f.length===0?T:d(p,f)(T)),f.push({inverse:w,styles:u(P)})}else if(A){if(f.length===0)throw new Error("Found extraneous } in Chalk template literal");m.push(d(p,f)(b.join(""))),b=[],f.pop()}else b.push(R)}),m.push(b.join("")),f.length>0){let g=`Chalk template literal is missing ${f.length} closing bracket${f.length===1?"":"s"} (\`}\`)`;throw new Error(g)}return m.join("")}}),ov=S((e,t)=>{var r=hk(),{stdout:n,stderr:o}=mk(),{stringReplaceAll:i,stringEncaseCRLFWithFirstIndex:s}=yk(),l=["ansi","ansi","ansi256","ansi16m"],c=Object.create(null),u=a((T,E={})=>{if(E.level>3||E.level<0)throw new Error("The `level` option should be an integer from 0 to 3");let x=n?n.level:0;T.level=E.level===void 0?x:E.level},"applyOptions"),d=class{constructor(E){return h(E)}};a(d,"ChalkClass");var p=d,h=a(T=>{let E={};return u(E,T),E.template=(...x)=>A(E.template,...x),Object.setPrototypeOf(E,f.prototype),Object.setPrototypeOf(E.template,E),E.template.constructor=()=>{throw new Error("`chalk.constructor()` is deprecated. Use `new chalk.Instance()` instead.")},E.template.Instance=p,E.template},"chalkFactory");function f(T){return h(T)}a(f,"Chalk");for(let[T,E]of Object.entries(r))c[T]={get(){let x=v(this,g(E.open,E.close,this._styler),this._isEmpty);return Object.defineProperty(this,T,{value:x}),x}};c.visible={get(){let T=v(this,this._styler,!0);return Object.defineProperty(this,"visible",{value:T}),T}};var m=["rgb","hex","keyword","hsl","hsv","hwb","ansi","ansi256"];for(let T of m)c[T]={get(){let{level:E}=this;return function(...x){let C=g(r.color[l[E]][T](...x),r.color.close,this._styler);return v(this,C,this._isEmpty)}}};for(let T of m){let E="bg"+T[0].toUpperCase()+T.slice(1);c[E]={get(){let{level:x}=this;return function(...C){let k=g(r.bgColor[l[x]][T](...C),r.bgColor.close,this._styler);return v(this,k,this._isEmpty)}}}}var b=Object.defineProperties(()=>{},{...c,level:{enumerable:!0,get(){return this._generator.level},set(T){this._generator.level=T}}}),g=a((T,E,x)=>{let C,k;return x===void 0?(C=T,k=E):(C=x.openAll+T,k=E+x.closeAll),{open:T,close:E,openAll:C,closeAll:k,parent:x}},"createStyler"),v=a((T,E,x)=>{let C=a((...k)=>w(C,k.length===1?""+k[0]:k.join(" ")),"builder");return C.__proto__=b,C._generator=T,C._styler=E,C._isEmpty=x,C},"createBuilder"),w=a((T,E)=>{if(T.level<=0||!E)return T._isEmpty?"":E;let x=T._styler;if(x===void 0)return E;let{openAll:C,closeAll:k}=x;if(E.indexOf("\x1B")!==-1)for(;x!==void 0;)E=i(E,x.close,x.open),x=x.parent;let I=E.indexOf(`
13
- `);return I!==-1&&(E=s(E,k,C,I)),C+E+k},"applyStyle"),P,A=a((T,...E)=>{let[x]=E;if(!Array.isArray(x))return E.join(" ");let C=E.slice(1),k=[x.raw[0]];for(let I=1;I<x.length;I++)k.push(String(C[I-1]).replace(/[{}\\]/g,"\\$&"),String(x.raw[I]));return P===void 0&&(P=bk()),P(T,k.join(""))},"chalkTag");Object.defineProperties(f.prototype,c);var R=f();R.supportsColor=n,R.stderr=f({level:o?o.level:0}),R.stderr.supportsColor=o,R.Level={None:0,Basic:1,Ansi256:2,TrueColor:3,0:"None",1:"Basic",2:"Ansi256",3:"TrueColor"},t.exports=R}),gk=S((e,t)=>{function r(){this.__data__=[],this.size=0}a(r,"listCacheClear"),t.exports=r}),av=S((e,t)=>{function r(n,o){return n===o||n!==n&&o!==o}a(r,"eq"),t.exports=r}),Gs=S((e,t)=>{var r=av();function n(o,i){for(var s=o.length;s--;)if(r(o[s][0],i))return s;return-1}a(n,"assocIndexOf"),t.exports=n}),vk=S((e,t)=>{var r=Gs(),n=Array.prototype,o=n.splice;function i(s){var l=this.__data__,c=r(l,s);if(c<0)return!1;var u=l.length-1;return c==u?l.pop():o.call(l,c,1),--this.size,!0}a(i,"listCacheDelete"),t.exports=i}),wk=S((e,t)=>{var r=Gs();function n(o){var i=this.__data__,s=r(i,o);return s<0?void 0:i[s][1]}a(n,"listCacheGet"),t.exports=n}),Ek=S((e,t)=>{var r=Gs();function n(o){return r(this.__data__,o)>-1}a(n,"listCacheHas"),t.exports=n}),xk=S((e,t)=>{var r=Gs();function n(o,i){var s=this.__data__,l=r(s,o);return l<0?(++this.size,s.push([o,i])):s[l][1]=i,this}a(n,"listCacheSet"),t.exports=n}),Ks=S((e,t)=>{var r=gk(),n=vk(),o=wk(),i=Ek(),s=xk();function l(c){var u=-1,d=c==null?0:c.length;for(this.clear();++u<d;){var p=c[u];this.set(p[0],p[1])}}a(l,"ListCache"),l.prototype.clear=r,l.prototype.delete=n,l.prototype.get=o,l.prototype.has=i,l.prototype.set=s,t.exports=l}),Tk=S((e,t)=>{var r=Ks();function n(){this.__data__=new r,this.size=0}a(n,"stackClear"),t.exports=n}),Sk=S((e,t)=>{function r(n){var o=this.__data__,i=o.delete(n);return this.size=o.size,i}a(r,"stackDelete"),t.exports=r}),Ck=S((e,t)=>{function r(n){return this.__data__.get(n)}a(r,"stackGet"),t.exports=r}),Pk=S((e,t)=>{function r(n){return this.__data__.has(n)}a(r,"stackHas"),t.exports=r}),iv=S((e,t)=>{var r=typeof global=="object"&&global&&global.Object===Object&&global;t.exports=r}),vr=S((e,t)=>{var r=iv(),n=typeof self=="object"&&self&&self.Object===Object&&self,o=r||n||Function("return this")();t.exports=o}),lp=S((e,t)=>{var r=vr(),n=r.Symbol;t.exports=n}),Ok=S((e,t)=>{var r=lp(),n=Object.prototype,o=n.hasOwnProperty,i=n.toString,s=r?r.toStringTag:void 0;function l(c){var u=o.call(c,s),d=c[s];try{c[s]=void 0;var p=!0}catch{}var h=i.call(c);return p&&(u?c[s]=d:delete c[s]),h}a(l,"getRawTag"),t.exports=l}),_k=S((e,t)=>{var r=Object.prototype,n=r.toString;function o(i){return n.call(i)}a(o,"objectToString"),t.exports=o}),Ys=S((e,t)=>{var r=lp(),n=Ok(),o=_k(),i="[object Null]",s="[object Undefined]",l=r?r.toStringTag:void 0;function c(u){return u==null?u===void 0?s:i:l&&l in Object(u)?n(u):o(u)}a(c,"baseGetTag"),t.exports=c}),sv=S((e,t)=>{function r(n){var o=typeof n;return n!=null&&(o=="object"||o=="function")}a(r,"isObject"),t.exports=r}),lv=S((e,t)=>{var r=Ys(),n=sv(),o="[object AsyncFunction]",i="[object Function]",s="[object GeneratorFunction]",l="[object Proxy]";function c(u){if(!n(u))return!1;var d=r(u);return d==i||d==s||d==o||d==l}a(c,"isFunction"),t.exports=c}),Ak=S((e,t)=>{var r=vr(),n=r["__core-js_shared__"];t.exports=n}),Rk=S((e,t)=>{var r=Ak(),n=(function(){var i=/[^.]+$/.exec(r&&r.keys&&r.keys.IE_PROTO||"");return i?"Symbol(src)_1."+i:""})();function o(i){return!!n&&n in i}a(o,"isMasked"),t.exports=o}),uv=S((e,t)=>{var r=Function.prototype,n=r.toString;function o(i){if(i!=null){try{return n.call(i)}catch{}try{return i+""}catch{}}return""}a(o,"toSource"),t.exports=o}),qk=S((e,t)=>{var r=lv(),n=Rk(),o=sv(),i=uv(),s=/[\\^$.*+?()[\]{}|]/g,l=/^\[object .+?Constructor\]$/,c=Function.prototype,u=Object.prototype,d=c.toString,p=u.hasOwnProperty,h=RegExp("^"+d.call(p).replace(s,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function f(m){if(!o(m)||n(m))return!1;var b=r(m)?h:l;return b.test(i(m))}a(f,"baseIsNative"),t.exports=f}),Ik=S((e,t)=>{function r(n,o){return n?.[o]}a(r,"getValue"),t.exports=r}),_o=S((e,t)=>{var r=qk(),n=Ik();function o(i,s){var l=n(i,s);return r(l)?l:void 0}a(o,"getNative"),t.exports=o}),up=S((e,t)=>{var r=_o(),n=vr(),o=r(n,"Map");t.exports=o}),Xs=S((e,t)=>{var r=_o(),n=r(Object,"create");t.exports=n}),Nk=S((e,t)=>{var r=Xs();function n(){this.__data__=r?r(null):{},this.size=0}a(n,"hashClear"),t.exports=n}),jk=S((e,t)=>{function r(n){var o=this.has(n)&&delete this.__data__[n];return this.size-=o?1:0,o}a(r,"hashDelete"),t.exports=r}),kk=S((e,t)=>{var r=Xs(),n="__lodash_hash_undefined__",o=Object.prototype,i=o.hasOwnProperty;function s(l){var c=this.__data__;if(r){var u=c[l];return u===n?void 0:u}return i.call(c,l)?c[l]:void 0}a(s,"hashGet"),t.exports=s}),Mk=S((e,t)=>{var r=Xs(),n=Object.prototype,o=n.hasOwnProperty;function i(s){var l=this.__data__;return r?l[s]!==void 0:o.call(l,s)}a(i,"hashHas"),t.exports=i}),$k=S((e,t)=>{var r=Xs(),n="__lodash_hash_undefined__";function o(i,s){var l=this.__data__;return this.size+=this.has(i)?0:1,l[i]=r&&s===void 0?n:s,this}a(o,"hashSet"),t.exports=o}),Lk=S((e,t)=>{var r=Nk(),n=jk(),o=kk(),i=Mk(),s=$k();function l(c){var u=-1,d=c==null?0:c.length;for(this.clear();++u<d;){var p=c[u];this.set(p[0],p[1])}}a(l,"Hash"),l.prototype.clear=r,l.prototype.delete=n,l.prototype.get=o,l.prototype.has=i,l.prototype.set=s,t.exports=l}),Dk=S((e,t)=>{var r=Lk(),n=Ks(),o=up();function i(){this.size=0,this.__data__={hash:new r,map:new(o||n),string:new r}}a(i,"mapCacheClear"),t.exports=i}),Fk=S((e,t)=>{function r(n){var o=typeof n;return o=="string"||o=="number"||o=="symbol"||o=="boolean"?n!=="__proto__":n===null}a(r,"isKeyable"),t.exports=r}),Qs=S((e,t)=>{var r=Fk();function n(o,i){var s=o.__data__;return r(i)?s[typeof i=="string"?"string":"hash"]:s.map}a(n,"getMapData"),t.exports=n}),Bk=S((e,t)=>{var r=Qs();function n(o){var i=r(this,o).delete(o);return this.size-=i?1:0,i}a(n,"mapCacheDelete"),t.exports=n}),Uk=S((e,t)=>{var r=Qs();function n(o){return r(this,o).get(o)}a(n,"mapCacheGet"),t.exports=n}),Hk=S((e,t)=>{var r=Qs();function n(o){return r(this,o).has(o)}a(n,"mapCacheHas"),t.exports=n}),Vk=S((e,t)=>{var r=Qs();function n(o,i){var s=r(this,o),l=s.size;return s.set(o,i),this.size+=s.size==l?0:1,this}a(n,"mapCacheSet"),t.exports=n}),cv=S((e,t)=>{var r=Dk(),n=Bk(),o=Uk(),i=Hk(),s=Vk();function l(c){var u=-1,d=c==null?0:c.length;for(this.clear();++u<d;){var p=c[u];this.set(p[0],p[1])}}a(l,"MapCache"),l.prototype.clear=r,l.prototype.delete=n,l.prototype.get=o,l.prototype.has=i,l.prototype.set=s,t.exports=l}),Jk=S((e,t)=>{var r=Ks(),n=up(),o=cv(),i=200;function s(l,c){var u=this.__data__;if(u instanceof r){var d=u.__data__;if(!n||d.length<i-1)return d.push([l,c]),this.size=++u.size,this;u=this.__data__=new o(d)}return u.set(l,c),this.size=u.size,this}a(s,"stackSet"),t.exports=s}),zk=S((e,t)=>{var r=Ks(),n=Tk(),o=Sk(),i=Ck(),s=Pk(),l=Jk();function c(u){var d=this.__data__=new r(u);this.size=d.size}a(c,"Stack"),c.prototype.clear=n,c.prototype.delete=o,c.prototype.get=i,c.prototype.has=s,c.prototype.set=l,t.exports=c}),Wk=S((e,t)=>{var r="__lodash_hash_undefined__";function n(o){return this.__data__.set(o,r),this}a(n,"setCacheAdd"),t.exports=n}),Gk=S((e,t)=>{function r(n){return this.__data__.has(n)}a(r,"setCacheHas"),t.exports=r}),Kk=S((e,t)=>{var r=cv(),n=Wk(),o=Gk();function i(s){var l=-1,c=s==null?0:s.length;for(this.__data__=new r;++l<c;)this.add(s[l])}a(i,"SetCache"),i.prototype.add=i.prototype.push=n,i.prototype.has=o,t.exports=i}),Yk=S((e,t)=>{function r(n,o){for(var i=-1,s=n==null?0:n.length;++i<s;)if(o(n[i],i,n))return!0;return!1}a(r,"arraySome"),t.exports=r}),Xk=S((e,t)=>{function r(n,o){return n.has(o)}a(r,"cacheHas"),t.exports=r}),dv=S((e,t)=>{var r=Kk(),n=Yk(),o=Xk(),i=1,s=2;function l(c,u,d,p,h,f){var m=d&i,b=c.length,g=u.length;if(b!=g&&!(m&&g>b))return!1;var v=f.get(c),w=f.get(u);if(v&&w)return v==u&&w==c;var P=-1,A=!0,R=d&s?new r:void 0;for(f.set(c,u),f.set(u,c);++P<b;){var T=c[P],E=u[P];if(p)var x=m?p(E,T,P,u,c,f):p(T,E,P,c,u,f);if(x!==void 0){if(x)continue;A=!1;break}if(R){if(!n(u,function(C,k){if(!o(R,k)&&(T===C||h(T,C,d,p,f)))return R.push(k)})){A=!1;break}}else if(!(T===E||h(T,E,d,p,f))){A=!1;break}}return f.delete(c),f.delete(u),A}a(l,"equalArrays"),t.exports=l}),Qk=S((e,t)=>{var r=vr(),n=r.Uint8Array;t.exports=n}),Zk=S((e,t)=>{function r(n){var o=-1,i=Array(n.size);return n.forEach(function(s,l){i[++o]=[l,s]}),i}a(r,"mapToArray"),t.exports=r}),eM=S((e,t)=>{function r(n){var o=-1,i=Array(n.size);return n.forEach(function(s){i[++o]=s}),i}a(r,"setToArray"),t.exports=r}),tM=S((e,t)=>{var r=lp(),n=Qk(),o=av(),i=dv(),s=Zk(),l=eM(),c=1,u=2,d="[object Boolean]",p="[object Date]",h="[object Error]",f="[object Map]",m="[object Number]",b="[object RegExp]",g="[object Set]",v="[object String]",w="[object Symbol]",P="[object ArrayBuffer]",A="[object DataView]",R=r?r.prototype:void 0,T=R?R.valueOf:void 0;function E(x,C,k,I,U,D,O){switch(k){case A:if(x.byteLength!=C.byteLength||x.byteOffset!=C.byteOffset)return!1;x=x.buffer,C=C.buffer;case P:return!(x.byteLength!=C.byteLength||!D(new n(x),new n(C)));case d:case p:case m:return o(+x,+C);case h:return x.name==C.name&&x.message==C.message;case b:case v:return x==C+"";case f:var M=s;case g:var $=I&c;if(M||(M=l),x.size!=C.size&&!$)return!1;var K=O.get(x);if(K)return K==C;I|=u,O.set(x,C);var G=i(M(x),M(C),I,U,D,O);return O.delete(x),G;case w:if(T)return T.call(x)==T.call(C)}return!1}a(E,"equalByTag"),t.exports=E}),rM=S((e,t)=>{function r(n,o){for(var i=-1,s=o.length,l=n.length;++i<s;)n[l+i]=o[i];return n}a(r,"arrayPush"),t.exports=r}),cp=S((e,t)=>{var r=Array.isArray;t.exports=r}),nM=S((e,t)=>{var r=rM(),n=cp();function o(i,s,l){var c=s(i);return n(i)?c:r(c,l(i))}a(o,"baseGetAllKeys"),t.exports=o}),oM=S((e,t)=>{function r(n,o){for(var i=-1,s=n==null?0:n.length,l=0,c=[];++i<s;){var u=n[i];o(u,i,n)&&(c[l++]=u)}return c}a(r,"arrayFilter"),t.exports=r}),aM=S((e,t)=>{function r(){return[]}a(r,"stubArray"),t.exports=r}),iM=S((e,t)=>{var r=oM(),n=aM(),o=Object.prototype,i=o.propertyIsEnumerable,s=Object.getOwnPropertySymbols,l=s?function(c){return c==null?[]:(c=Object(c),r(s(c),function(u){return i.call(c,u)}))}:n;t.exports=l}),sM=S((e,t)=>{function r(n,o){for(var i=-1,s=Array(n);++i<n;)s[i]=o(i);return s}a(r,"baseTimes"),t.exports=r}),Zs=S((e,t)=>{function r(n){return n!=null&&typeof n=="object"}a(r,"isObjectLike"),t.exports=r}),lM=S((e,t)=>{var r=Ys(),n=Zs(),o="[object Arguments]";function i(s){return n(s)&&r(s)==o}a(i,"baseIsArguments"),t.exports=i}),uM=S((e,t)=>{var r=lM(),n=Zs(),o=Object.prototype,i=o.hasOwnProperty,s=o.propertyIsEnumerable,l=r((function(){return arguments})())?r:function(c){return n(c)&&i.call(c,"callee")&&!s.call(c,"callee")};t.exports=l}),cM=S((e,t)=>{function r(){return!1}a(r,"stubFalse"),t.exports=r}),pv=S((e,t)=>{var r=vr(),n=cM(),o=typeof e=="object"&&e&&!e.nodeType&&e,i=o&&typeof t=="object"&&t&&!t.nodeType&&t,s=i&&i.exports===o,l=s?r.Buffer:void 0,c=l?l.isBuffer:void 0,u=c||n;t.exports=u}),dM=S((e,t)=>{var r=9007199254740991,n=/^(?:0|[1-9]\d*)$/;function o(i,s){var l=typeof i;return s=s??r,!!s&&(l=="number"||l!="symbol"&&n.test(i))&&i>-1&&i%1==0&&i<s}a(o,"isIndex"),t.exports=o}),fv=S((e,t)=>{var r=9007199254740991;function n(o){return typeof o=="number"&&o>-1&&o%1==0&&o<=r}a(n,"isLength"),t.exports=n}),pM=S((e,t)=>{var r=Ys(),n=fv(),o=Zs(),i="[object Arguments]",s="[object Array]",l="[object Boolean]",c="[object Date]",u="[object Error]",d="[object Function]",p="[object Map]",h="[object Number]",f="[object Object]",m="[object RegExp]",b="[object Set]",g="[object String]",v="[object WeakMap]",w="[object ArrayBuffer]",P="[object DataView]",A="[object Float32Array]",R="[object Float64Array]",T="[object Int8Array]",E="[object Int16Array]",x="[object Int32Array]",C="[object Uint8Array]",k="[object Uint8ClampedArray]",I="[object Uint16Array]",U="[object Uint32Array]",D={};D[A]=D[R]=D[T]=D[E]=D[x]=D[C]=D[k]=D[I]=D[U]=!0,D[i]=D[s]=D[w]=D[l]=D[P]=D[c]=D[u]=D[d]=D[p]=D[h]=D[f]=D[m]=D[b]=D[g]=D[v]=!1;function O(M){return o(M)&&n(M.length)&&!!D[r(M)]}a(O,"baseIsTypedArray"),t.exports=O}),fM=S((e,t)=>{function r(n){return function(o){return n(o)}}a(r,"baseUnary"),t.exports=r}),hM=S((e,t)=>{var r=iv(),n=typeof e=="object"&&e&&!e.nodeType&&e,o=n&&typeof t=="object"&&t&&!t.nodeType&&t,i=o&&o.exports===n,s=i&&r.process,l=(function(){try{var c=o&&o.require&&o.require("util").types;return c||s&&s.binding&&s.binding("util")}catch{}})();t.exports=l}),hv=S((e,t)=>{var r=pM(),n=fM(),o=hM(),i=o&&o.isTypedArray,s=i?n(i):r;t.exports=s}),mM=S((e,t)=>{var r=sM(),n=uM(),o=cp(),i=pv(),s=dM(),l=hv(),c=Object.prototype,u=c.hasOwnProperty;function d(p,h){var f=o(p),m=!f&&n(p),b=!f&&!m&&i(p),g=!f&&!m&&!b&&l(p),v=f||m||b||g,w=v?r(p.length,String):[],P=w.length;for(var A in p)(h||u.call(p,A))&&!(v&&(A=="length"||b&&(A=="offset"||A=="parent")||g&&(A=="buffer"||A=="byteLength"||A=="byteOffset")||s(A,P)))&&w.push(A);return w}a(d,"arrayLikeKeys"),t.exports=d}),yM=S((e,t)=>{var r=Object.prototype;function n(o){var i=o&&o.constructor,s=typeof i=="function"&&i.prototype||r;return o===s}a(n,"isPrototype"),t.exports=n}),bM=S((e,t)=>{function r(n,o){return function(i){return n(o(i))}}a(r,"overArg"),t.exports=r}),gM=S((e,t)=>{var r=bM(),n=r(Object.keys,Object);t.exports=n}),vM=S((e,t)=>{var r=yM(),n=gM(),o=Object.prototype,i=o.hasOwnProperty;function s(l){if(!r(l))return n(l);var c=[];for(var u in Object(l))i.call(l,u)&&u!="constructor"&&c.push(u);return c}a(s,"baseKeys"),t.exports=s}),wM=S((e,t)=>{var r=lv(),n=fv();function o(i){return i!=null&&n(i.length)&&!r(i)}a(o,"isArrayLike"),t.exports=o}),EM=S((e,t)=>{var r=mM(),n=vM(),o=wM();function i(s){return o(s)?r(s):n(s)}a(i,"keys"),t.exports=i}),xM=S((e,t)=>{var r=nM(),n=iM(),o=EM();function i(s){return r(s,o,n)}a(i,"getAllKeys"),t.exports=i}),TM=S((e,t)=>{var r=xM(),n=1,o=Object.prototype,i=o.hasOwnProperty;function s(l,c,u,d,p,h){var f=u&n,m=r(l),b=m.length,g=r(c),v=g.length;if(b!=v&&!f)return!1;for(var w=b;w--;){var P=m[w];if(!(f?P in c:i.call(c,P)))return!1}var A=h.get(l),R=h.get(c);if(A&&R)return A==c&&R==l;var T=!0;h.set(l,c),h.set(c,l);for(var E=f;++w<b;){P=m[w];var x=l[P],C=c[P];if(d)var k=f?d(C,x,P,c,l,h):d(x,C,P,l,c,h);if(!(k===void 0?x===C||p(x,C,u,d,h):k)){T=!1;break}E||(E=P=="constructor")}if(T&&!E){var I=l.constructor,U=c.constructor;I!=U&&"constructor"in l&&"constructor"in c&&!(typeof I=="function"&&I instanceof I&&typeof U=="function"&&U instanceof U)&&(T=!1)}return h.delete(l),h.delete(c),T}a(s,"equalObjects"),t.exports=s}),SM=S((e,t)=>{var r=_o(),n=vr(),o=r(n,"DataView");t.exports=o}),CM=S((e,t)=>{var r=_o(),n=vr(),o=r(n,"Promise");t.exports=o}),PM=S((e,t)=>{var r=_o(),n=vr(),o=r(n,"Set");t.exports=o}),OM=S((e,t)=>{var r=_o(),n=vr(),o=r(n,"WeakMap");t.exports=o}),_M=S((e,t)=>{var r=SM(),n=up(),o=CM(),i=PM(),s=OM(),l=Ys(),c=uv(),u="[object Map]",d="[object Object]",p="[object Promise]",h="[object Set]",f="[object WeakMap]",m="[object DataView]",b=c(r),g=c(n),v=c(o),w=c(i),P=c(s),A=l;(r&&A(new r(new ArrayBuffer(1)))!=m||n&&A(new n)!=u||o&&A(o.resolve())!=p||i&&A(new i)!=h||s&&A(new s)!=f)&&(A=a(function(R){var T=l(R),E=T==d?R.constructor:void 0,x=E?c(E):"";if(x)switch(x){case b:return m;case g:return u;case v:return p;case w:return h;case P:return f}return T},"getTag")),t.exports=A}),AM=S((e,t)=>{var r=zk(),n=dv(),o=tM(),i=TM(),s=_M(),l=cp(),c=pv(),u=hv(),d=1,p="[object Arguments]",h="[object Array]",f="[object Object]",m=Object.prototype,b=m.hasOwnProperty;function g(v,w,P,A,R,T){var E=l(v),x=l(w),C=E?h:s(v),k=x?h:s(w);C=C==p?f:C,k=k==p?f:k;var I=C==f,U=k==f,D=C==k;if(D&&c(v)){if(!c(w))return!1;E=!0,I=!1}if(D&&!I)return T||(T=new r),E||u(v)?n(v,w,P,A,R,T):o(v,w,C,P,A,R,T);if(!(P&d)){var O=I&&b.call(v,"__wrapped__"),M=U&&b.call(w,"__wrapped__");if(O||M){var $=O?v.value():v,K=M?w.value():w;return T||(T=new r),R($,K,P,A,T)}}return D?(T||(T=new r),i(v,w,P,A,R,T)):!1}a(g,"baseIsEqualDeep"),t.exports=g}),RM=S((e,t)=>{var r=AM(),n=Zs();function o(i,s,l,c,u){return i===s?!0:i==null||s==null||!n(i)&&!n(s)?i!==i&&s!==s:r(i,s,l,c,o,u)}a(o,"baseIsEqual"),t.exports=o}),mv=S((e,t)=>{var r=RM();function n(o,i,s){s=typeof s=="function"?s:void 0;var l=s?s(o,i):void 0;return l===void 0?r(o,i,void 0,s):!!l}a(n,"isEqualWith"),t.exports=n}),yv=S((e,t)=>{(function(r,n){typeof e=="object"?t.exports=n(r):typeof define=="function"&&define.amd?define([],n.bind(r,r)):n(r)})(typeof global<"u"?global:e,function(r){if(r.CSS&&r.CSS.escape)return r.CSS.escape;var n=a(function(o){if(arguments.length==0)throw new TypeError("`CSS.escape` requires an argument.");for(var i=String(o),s=i.length,l=-1,c,u="",d=i.charCodeAt(0);++l<s;){if(c=i.charCodeAt(l),c==0){u+="�";continue}if(c>=1&&c<=31||c==127||l==0&&c>=48&&c<=57||l==1&&c>=48&&c<=57&&d==45){u+="\\"+c.toString(16)+" ";continue}if(l==0&&s==1&&c==45){u+="\\"+i.charAt(l);continue}if(c>=128||c==45||c==95||c>=48&&c<=57||c>=65&&c<=90||c>=97&&c<=122){u+=i.charAt(l);continue}u+="\\"+i.charAt(l)}return u},"cssEscape");return r.CSS||(r.CSS={}),r.CSS.escape=n,n})}),bv=S((e,t)=>{var r=a((i=0)=>s=>`\x1B[${38+i};5;${s}m`,"wrapAnsi256"),n=a((i=0)=>(s,l,c)=>`\x1B[${38+i};2;${s};${l};${c}m`,"wrapAnsi16m");function o(){let i=new Map,s={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],overline:[53,55],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},color:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],blackBright:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39]},bgColor:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgBlackBright:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}};s.color.gray=s.color.blackBright,s.bgColor.bgGray=s.bgColor.bgBlackBright,s.color.grey=s.color.blackBright,s.bgColor.bgGrey=s.bgColor.bgBlackBright;for(let[l,c]of Object.entries(s)){for(let[u,d]of Object.entries(c))s[u]={open:`\x1B[${d[0]}m`,close:`\x1B[${d[1]}m`},c[u]=s[u],i.set(d[0],d[1]);Object.defineProperty(s,l,{value:c,enumerable:!1})}return Object.defineProperty(s,"codes",{value:i,enumerable:!1}),s.color.close="\x1B[39m",s.bgColor.close="\x1B[49m",s.color.ansi256=r(),s.color.ansi16m=n(),s.bgColor.ansi256=r(10),s.bgColor.ansi16m=n(10),Object.defineProperties(s,{rgbToAnsi256:{value:a((l,c,u)=>l===c&&c===u?l<8?16:l>248?231:Math.round((l-8)/247*24)+232:16+36*Math.round(l/255*5)+6*Math.round(c/255*5)+Math.round(u/255*5),"value"),enumerable:!1},hexToRgb:{value:a(l=>{let c=/(?<colorString>[a-f\d]{6}|[a-f\d]{3})/i.exec(l.toString(16));if(!c)return[0,0,0];let{colorString:u}=c.groups;u.length===3&&(u=u.split("").map(p=>p+p).join(""));let d=Number.parseInt(u,16);return[d>>16&255,d>>8&255,d&255]},"value"),enumerable:!1},hexToAnsi256:{value:a(l=>s.rgbToAnsi256(...s.hexToRgb(l)),"value"),enumerable:!1}}),s}a(o,"assembleStyles"),Object.defineProperty(t,"exports",{enumerable:!0,get:o})}),el=S(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.printIteratorEntries=r,e.printIteratorValues=n,e.printListItems=o,e.printObjectProperties=i;var t=a((s,l)=>{let c=Object.keys(s).sort(l);return Object.getOwnPropertySymbols&&Object.getOwnPropertySymbols(s).forEach(u=>{Object.getOwnPropertyDescriptor(s,u).enumerable&&c.push(u)}),c},"getKeysOfEnumerableProperties");function r(s,l,c,u,d,p,h=": "){let f="",m=s.next();if(!m.done){f+=l.spacingOuter;let b=c+l.indent;for(;!m.done;){let g=p(m.value[0],l,b,u,d),v=p(m.value[1],l,b,u,d);f+=b+g+h+v,m=s.next(),m.done?l.min||(f+=","):f+=","+l.spacingInner}f+=l.spacingOuter+c}return f}a(r,"printIteratorEntries");function n(s,l,c,u,d,p){let h="",f=s.next();if(!f.done){h+=l.spacingOuter;let m=c+l.indent;for(;!f.done;)h+=m+p(f.value,l,m,u,d),f=s.next(),f.done?l.min||(h+=","):h+=","+l.spacingInner;h+=l.spacingOuter+c}return h}a(n,"printIteratorValues");function o(s,l,c,u,d,p){let h="";if(s.length){h+=l.spacingOuter;let f=c+l.indent;for(let m=0;m<s.length;m++)h+=f,m in s&&(h+=p(s[m],l,f,u,d)),m<s.length-1?h+=","+l.spacingInner:l.min||(h+=",");h+=l.spacingOuter+c}return h}a(o,"printListItems");function i(s,l,c,u,d,p){let h="",f=t(s,l.compareKeys);if(f.length){h+=l.spacingOuter;let m=c+l.indent;for(let b=0;b<f.length;b++){let g=f[b],v=p(g,l,m,u,d),w=p(s[g],l,m,u,d);h+=m+v+": "+w,b<f.length-1?h+=","+l.spacingInner:l.min||(h+=",")}h+=l.spacingOuter+c}return h}a(i,"printObjectProperties")}),qM=S(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.test=e.serialize=e.default=void 0;var t=el(),r=(function(){return typeof globalThis<"u"?globalThis:typeof r<"u"?r:typeof self<"u"?self:typeof window<"u"?window:Function("return this")()})(),n=r["jest-symbol-do-not-touch"]||r.Symbol,o=typeof n=="function"&&n.for?n.for("jest.asymmetricMatcher"):1267621,i=" ",s=a((d,p,h,f,m,b)=>{let g=d.toString();return g==="ArrayContaining"||g==="ArrayNotContaining"?++f>p.maxDepth?"["+g+"]":g+i+"["+(0,t.printListItems)(d.sample,p,h,f,m,b)+"]":g==="ObjectContaining"||g==="ObjectNotContaining"?++f>p.maxDepth?"["+g+"]":g+i+"{"+(0,t.printObjectProperties)(d.sample,p,h,f,m,b)+"}":g==="StringMatching"||g==="StringNotMatching"||g==="StringContaining"||g==="StringNotContaining"?g+i+b(d.sample,p,h,f,m):d.toAsymmetricMatcher()},"serialize");e.serialize=s;var l=a(d=>d&&d.$$typeof===o,"test");e.test=l;var c={serialize:s,test:l},u=c;e.default=u}),IM=S((e,t)=>{t.exports=({onlyFirst:r=!1}={})=>{let n=["[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]+)*|[a-zA-Z\\d]+(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?\\u0007)","(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PR-TZcf-ntqry=><~]))"].join("|");return new RegExp(n,r?void 0:"g")}}),NM=S(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.test=e.serialize=e.default=void 0;var t=n(IM()),r=n(bv());function n(u){return u&&u.__esModule?u:{default:u}}a(n,"_interopRequireDefault");var o=a(u=>u.replace((0,t.default)(),d=>{switch(d){case r.default.red.close:case r.default.green.close:case r.default.cyan.close:case r.default.gray.close:case r.default.white.close:case r.default.yellow.close:case r.default.bgRed.close:case r.default.bgGreen.close:case r.default.bgYellow.close:case r.default.inverse.close:case r.default.dim.close:case r.default.bold.close:case r.default.reset.open:case r.default.reset.close:return"</>";case r.default.red.open:return"<red>";case r.default.green.open:return"<green>";case r.default.cyan.open:return"<cyan>";case r.default.gray.open:return"<gray>";case r.default.white.open:return"<white>";case r.default.yellow.open:return"<yellow>";case r.default.bgRed.open:return"<bgRed>";case r.default.bgGreen.open:return"<bgGreen>";case r.default.bgYellow.open:return"<bgYellow>";case r.default.inverse.open:return"<inverse>";case r.default.dim.open:return"<dim>";case r.default.bold.open:return"<bold>";default:return""}}),"toHumanReadableAnsi"),i=a(u=>typeof u=="string"&&!!u.match((0,t.default)()),"test");e.test=i;var s=a((u,d,p,h,f,m)=>m(o(u),d,p,h,f),"serialize");e.serialize=s;var l={serialize:s,test:i},c=l;e.default=c}),jM=S(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.test=e.serialize=e.default=void 0;var t=el(),r=" ",n=["DOMStringMap","NamedNodeMap"],o=/^(HTML\w*Collection|NodeList)$/,i=a(p=>n.indexOf(p)!==-1||o.test(p),"testName"),s=a(p=>p&&p.constructor&&!!p.constructor.name&&i(p.constructor.name),"test");e.test=s;var l=a(p=>p.constructor.name==="NamedNodeMap","isNamedNodeMap"),c=a((p,h,f,m,b,g)=>{let v=p.constructor.name;return++m>h.maxDepth?"["+v+"]":(h.min?"":v+r)+(n.indexOf(v)!==-1?"{"+(0,t.printObjectProperties)(l(p)?Array.from(p).reduce((w,P)=>(w[P.name]=P.value,w),{}):{...p},h,f,m,b,g)+"}":"["+(0,t.printListItems)(Array.from(p),h,f,m,b,g)+"]")},"serialize");e.serialize=c;var u={serialize:c,test:s},d=u;e.default=d}),kM=S(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=t;function t(r){return r.replace(/</g,"&lt;").replace(/>/g,"&gt;")}a(t,"escapeHTML")}),dp=S(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.printText=e.printProps=e.printElementAsLeaf=e.printElement=e.printComment=e.printChildren=void 0;var t=r(kM());function r(u){return u&&u.__esModule?u:{default:u}}a(r,"_interopRequireDefault");var n=a((u,d,p,h,f,m,b)=>{let g=h+p.indent,v=p.colors;return u.map(w=>{let P=d[w],A=b(P,p,g,f,m);return typeof P!="string"&&(A.indexOf(`
14
- `)!==-1&&(A=p.spacingOuter+g+A+p.spacingOuter+h),A="{"+A+"}"),p.spacingInner+h+v.prop.open+w+v.prop.close+"="+v.value.open+A+v.value.close}).join("")},"printProps");e.printProps=n;var o=a((u,d,p,h,f,m)=>u.map(b=>d.spacingOuter+p+(typeof b=="string"?i(b,d):m(b,d,p,h,f))).join(""),"printChildren");e.printChildren=o;var i=a((u,d)=>{let p=d.colors.content;return p.open+(0,t.default)(u)+p.close},"printText");e.printText=i;var s=a((u,d)=>{let p=d.colors.comment;return p.open+"<!--"+(0,t.default)(u)+"-->"+p.close},"printComment");e.printComment=s;var l=a((u,d,p,h,f)=>{let m=h.colors.tag;return m.open+"<"+u+(d&&m.close+d+h.spacingOuter+f+m.open)+(p?">"+m.close+p+h.spacingOuter+f+m.open+"</"+u:(d&&!h.min?"":" ")+"/")+">"+m.close},"printElement");e.printElement=l;var c=a((u,d)=>{let p=d.colors.tag;return p.open+"<"+u+p.close+" …"+p.open+" />"+p.close},"printElementAsLeaf");e.printElementAsLeaf=c}),MM=S(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.test=e.serialize=e.default=void 0;var t=dp(),r=1,n=3,o=8,i=11,s=/^((HTML|SVG)\w*)?Element$/,l=a(g=>{try{return typeof g.hasAttribute=="function"&&g.hasAttribute("is")}catch{return!1}},"testHasAttribute"),c=a(g=>{let v=g.constructor.name,{nodeType:w,tagName:P}=g,A=typeof P=="string"&&P.includes("-")||l(g);return w===r&&(s.test(v)||A)||w===n&&v==="Text"||w===o&&v==="Comment"||w===i&&v==="DocumentFragment"},"testNode"),u=a(g=>{var v;return(g==null||(v=g.constructor)===null||v===void 0?void 0:v.name)&&c(g)},"test");e.test=u;function d(g){return g.nodeType===n}a(d,"nodeIsText");function p(g){return g.nodeType===o}a(p,"nodeIsComment");function h(g){return g.nodeType===i}a(h,"nodeIsFragment");var f=a((g,v,w,P,A,R)=>{if(d(g))return(0,t.printText)(g.data,v);if(p(g))return(0,t.printComment)(g.data,v);let T=h(g)?"DocumentFragment":g.tagName.toLowerCase();return++P>v.maxDepth?(0,t.printElementAsLeaf)(T,v):(0,t.printElement)(T,(0,t.printProps)(h(g)?[]:Array.from(g.attributes).map(E=>E.name).sort(),h(g)?{}:Array.from(g.attributes).reduce((E,x)=>(E[x.name]=x.value,E),{}),v,w+v.indent,P,A,R),(0,t.printChildren)(Array.prototype.slice.call(g.childNodes||g.children),v,w+v.indent,P,A,R),v,w)},"serialize");e.serialize=f;var m={serialize:f,test:u},b=m;e.default=b}),$M=S(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.test=e.serialize=e.default=void 0;var t=el(),r="@@__IMMUTABLE_ITERABLE__@@",n="@@__IMMUTABLE_LIST__@@",o="@@__IMMUTABLE_KEYED__@@",i="@@__IMMUTABLE_MAP__@@",s="@@__IMMUTABLE_ORDERED__@@",l="@@__IMMUTABLE_RECORD__@@",c="@@__IMMUTABLE_SEQ__@@",u="@@__IMMUTABLE_SET__@@",d="@@__IMMUTABLE_STACK__@@",p=a(x=>"Immutable."+x,"getImmutableName"),h=a(x=>"["+x+"]","printAsLeaf"),f=" ",m="…",b=a((x,C,k,I,U,D,O)=>++I>C.maxDepth?h(p(O)):p(O)+f+"{"+(0,t.printIteratorEntries)(x.entries(),C,k,I,U,D)+"}","printImmutableEntries");function g(x){let C=0;return{next(){if(C<x._keys.length){let k=x._keys[C++];return{done:!1,value:[k,x.get(k)]}}return{done:!0,value:void 0}}}}a(g,"getRecordEntries");var v=a((x,C,k,I,U,D)=>{let O=p(x._name||"Record");return++I>C.maxDepth?h(O):O+f+"{"+(0,t.printIteratorEntries)(g(x),C,k,I,U,D)+"}"},"printImmutableRecord"),w=a((x,C,k,I,U,D)=>{let O=p("Seq");return++I>C.maxDepth?h(O):x[o]?O+f+"{"+(x._iter||x._object?(0,t.printIteratorEntries)(x.entries(),C,k,I,U,D):m)+"}":O+f+"["+(x._iter||x._array||x._collection||x._iterable?(0,t.printIteratorValues)(x.values(),C,k,I,U,D):m)+"]"},"printImmutableSeq"),P=a((x,C,k,I,U,D,O)=>++I>C.maxDepth?h(p(O)):p(O)+f+"["+(0,t.printIteratorValues)(x.values(),C,k,I,U,D)+"]","printImmutableValues"),A=a((x,C,k,I,U,D)=>x[i]?b(x,C,k,I,U,D,x[s]?"OrderedMap":"Map"):x[n]?P(x,C,k,I,U,D,"List"):x[u]?P(x,C,k,I,U,D,x[s]?"OrderedSet":"Set"):x[d]?P(x,C,k,I,U,D,"Stack"):x[c]?w(x,C,k,I,U,D):v(x,C,k,I,U,D),"serialize");e.serialize=A;var R=a(x=>x&&(x[r]===!0||x[l]===!0),"test");e.test=R;var T={serialize:A,test:R},E=T;e.default=E}),LM=S(e=>{var t=60103,r=60106,n=60107,o=60108,i=60114,s=60109,l=60110,c=60112,u=60113,d=60120,p=60115,h=60116,f=60121,m=60122,b=60117,g=60129,v=60131;typeof Symbol=="function"&&Symbol.for&&(w=Symbol.for,t=w("react.element"),r=w("react.portal"),n=w("react.fragment"),o=w("react.strict_mode"),i=w("react.profiler"),s=w("react.provider"),l=w("react.context"),c=w("react.forward_ref"),u=w("react.suspense"),d=w("react.suspense_list"),p=w("react.memo"),h=w("react.lazy"),f=w("react.block"),m=w("react.server.block"),b=w("react.fundamental"),g=w("react.debug_trace_mode"),v=w("react.legacy_hidden"));var w;function P(O){if(typeof O=="object"&&O!==null){var M=O.$$typeof;switch(M){case t:switch(O=O.type,O){case n:case i:case o:case u:case d:return O;default:switch(O=O&&O.$$typeof,O){case l:case c:case h:case p:case s:return O;default:return M}}case r:return M}}}a(P,"y");var A=s,R=t,T=c,E=n,x=h,C=p,k=r,I=i,U=o,D=u;e.ContextConsumer=l,e.ContextProvider=A,e.Element=R,e.ForwardRef=T,e.Fragment=E,e.Lazy=x,e.Memo=C,e.Portal=k,e.Profiler=I,e.StrictMode=U,e.Suspense=D,e.isAsyncMode=function(){return!1},e.isConcurrentMode=function(){return!1},e.isContextConsumer=function(O){return P(O)===l},e.isContextProvider=function(O){return P(O)===s},e.isElement=function(O){return typeof O=="object"&&O!==null&&O.$$typeof===t},e.isForwardRef=function(O){return P(O)===c},e.isFragment=function(O){return P(O)===n},e.isLazy=function(O){return P(O)===h},e.isMemo=function(O){return P(O)===p},e.isPortal=function(O){return P(O)===r},e.isProfiler=function(O){return P(O)===i},e.isStrictMode=function(O){return P(O)===o},e.isSuspense=function(O){return P(O)===u},e.isValidElementType=function(O){return typeof O=="string"||typeof O=="function"||O===n||O===i||O===g||O===o||O===u||O===d||O===v||typeof O=="object"&&O!==null&&(O.$$typeof===h||O.$$typeof===p||O.$$typeof===s||O.$$typeof===l||O.$$typeof===c||O.$$typeof===b||O.$$typeof===f||O[0]===m)},e.typeOf=P}),DM=S((e,t)=>{t.exports=LM()}),FM=S(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.test=e.serialize=e.default=void 0;var t=o(DM()),r=dp();function n(h){if(typeof WeakMap!="function")return null;var f=new WeakMap,m=new WeakMap;return(n=a(function(b){return b?m:f},"_getRequireWildcardCache"))(h)}a(n,"_getRequireWildcardCache");function o(h,f){if(!f&&h&&h.__esModule)return h;if(h===null||typeof h!="object"&&typeof h!="function")return{default:h};var m=n(f);if(m&&m.has(h))return m.get(h);var b={},g=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var v in h)if(v!=="default"&&Object.prototype.hasOwnProperty.call(h,v)){var w=g?Object.getOwnPropertyDescriptor(h,v):null;w&&(w.get||w.set)?Object.defineProperty(b,v,w):b[v]=h[v]}return b.default=h,m&&m.set(h,b),b}a(o,"_interopRequireWildcard");var i=a((h,f=[])=>(Array.isArray(h)?h.forEach(m=>{i(m,f)}):h!=null&&h!==!1&&f.push(h),f),"getChildren"),s=a(h=>{let f=h.type;if(typeof f=="string")return f;if(typeof f=="function")return f.displayName||f.name||"Unknown";if(t.isFragment(h))return"React.Fragment";if(t.isSuspense(h))return"React.Suspense";if(typeof f=="object"&&f!==null){if(t.isContextProvider(h))return"Context.Provider";if(t.isContextConsumer(h))return"Context.Consumer";if(t.isForwardRef(h)){if(f.displayName)return f.displayName;let m=f.render.displayName||f.render.name||"";return m!==""?"ForwardRef("+m+")":"ForwardRef"}if(t.isMemo(h)){let m=f.displayName||f.type.displayName||f.type.name||"";return m!==""?"Memo("+m+")":"Memo"}}return"UNDEFINED"},"getType"),l=a(h=>{let{props:f}=h;return Object.keys(f).filter(m=>m!=="children"&&f[m]!==void 0).sort()},"getPropKeys"),c=a((h,f,m,b,g,v)=>++b>f.maxDepth?(0,r.printElementAsLeaf)(s(h),f):(0,r.printElement)(s(h),(0,r.printProps)(l(h),h.props,f,m+f.indent,b,g,v),(0,r.printChildren)(i(h.props.children),f,m+f.indent,b,g,v),f,m),"serialize");e.serialize=c;var u=a(h=>h!=null&&t.isElement(h),"test");e.test=u;var d={serialize:c,test:u},p=d;e.default=p}),BM=S(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.test=e.serialize=e.default=void 0;var t=dp(),r=(function(){return typeof globalThis<"u"?globalThis:typeof r<"u"?r:typeof self<"u"?self:typeof window<"u"?window:Function("return this")()})(),n=r["jest-symbol-do-not-touch"]||r.Symbol,o=typeof n=="function"&&n.for?n.for("react.test.json"):245830487,i=a(d=>{let{props:p}=d;return p?Object.keys(p).filter(h=>p[h]!==void 0).sort():[]},"getPropKeys"),s=a((d,p,h,f,m,b)=>++f>p.maxDepth?(0,t.printElementAsLeaf)(d.type,p):(0,t.printElement)(d.type,d.props?(0,t.printProps)(i(d),d.props,p,h+p.indent,f,m,b):"",d.children?(0,t.printChildren)(d.children,p,h+p.indent,f,m,b):"",p,h),"serialize");e.serialize=s;var l=a(d=>d&&d.$$typeof===o,"test");e.test=l;var c={serialize:s,test:l},u=c;e.default=u}),UM=S(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.DEFAULT_OPTIONS=void 0,e.format=ce,e.plugins=void 0;var t=d(bv()),r=el(),n=d(qM()),o=d(NM()),i=d(jM()),s=d(MM()),l=d($M()),c=d(FM()),u=d(BM());function d(F){return F&&F.__esModule?F:{default:F}}a(d,"_interopRequireDefault");var p=Object.prototype.toString,h=Date.prototype.toISOString,f=Error.prototype.toString,m=RegExp.prototype.toString,b=a(F=>typeof F.constructor=="function"&&F.constructor.name||"Object","getConstructorName"),g=a(F=>typeof window<"u"&&F===window,"isWindow"),v=/^Symbol\((.*)\)(.*)$/,w=/\n/gi,P=class extends Error{constructor(Q,oe){super(Q),this.stack=oe,this.name=this.constructor.name}};a(P,"PrettyFormatPluginError");var A=P;function R(F){return F==="[object Array]"||F==="[object ArrayBuffer]"||F==="[object DataView]"||F==="[object Float32Array]"||F==="[object Float64Array]"||F==="[object Int8Array]"||F==="[object Int16Array]"||F==="[object Int32Array]"||F==="[object Uint8Array]"||F==="[object Uint8ClampedArray]"||F==="[object Uint16Array]"||F==="[object Uint32Array]"}a(R,"isToStringedArrayType");function T(F){return Object.is(F,-0)?"-0":String(F)}a(T,"printNumber");function E(F){return`${F}n`}a(E,"printBigInt");function x(F,Q){return Q?"[Function "+(F.name||"anonymous")+"]":"[Function]"}a(x,"printFunction");function C(F){return String(F).replace(v,"Symbol($1)")}a(C,"printSymbol");function k(F){return"["+f.call(F)+"]"}a(k,"printError");function I(F,Q,oe,ue){if(F===!0||F===!1)return""+F;if(F===void 0)return"undefined";if(F===null)return"null";let ie=typeof F;if(ie==="number")return T(F);if(ie==="bigint")return E(F);if(ie==="string")return ue?'"'+F.replace(/"|\\/g,"\\$&")+'"':'"'+F+'"';if(ie==="function")return x(F,Q);if(ie==="symbol")return C(F);let de=p.call(F);return de==="[object WeakMap]"?"WeakMap {}":de==="[object WeakSet]"?"WeakSet {}":de==="[object Function]"||de==="[object GeneratorFunction]"?x(F,Q):de==="[object Symbol]"?C(F):de==="[object Date]"?isNaN(+F)?"Date { NaN }":h.call(F):de==="[object Error]"?k(F):de==="[object RegExp]"?oe?m.call(F).replace(/[\\^$*+?.()|[\]{}]/g,"\\$&"):m.call(F):F instanceof Error?k(F):null}a(I,"printBasicValue");function U(F,Q,oe,ue,ie,de){if(ie.indexOf(F)!==-1)return"[Circular]";ie=ie.slice(),ie.push(F);let pe=++ue>Q.maxDepth,Pe=Q.min;if(Q.callToJSON&&!pe&&F.toJSON&&typeof F.toJSON=="function"&&!de)return $(F.toJSON(),Q,oe,ue,ie,!0);let $e=p.call(F);return $e==="[object Arguments]"?pe?"[Arguments]":(Pe?"":"Arguments ")+"["+(0,r.printListItems)(F,Q,oe,ue,ie,$)+"]":R($e)?pe?"["+F.constructor.name+"]":(Pe||!Q.printBasicPrototype&&F.constructor.name==="Array"?"":F.constructor.name+" ")+"["+(0,r.printListItems)(F,Q,oe,ue,ie,$)+"]":$e==="[object Map]"?pe?"[Map]":"Map {"+(0,r.printIteratorEntries)(F.entries(),Q,oe,ue,ie,$," => ")+"}":$e==="[object Set]"?pe?"[Set]":"Set {"+(0,r.printIteratorValues)(F.values(),Q,oe,ue,ie,$)+"}":pe||g(F)?"["+b(F)+"]":(Pe||!Q.printBasicPrototype&&b(F)==="Object"?"":b(F)+" ")+"{"+(0,r.printObjectProperties)(F,Q,oe,ue,ie,$)+"}"}a(U,"printComplexValue");function D(F){return F.serialize!=null}a(D,"isNewPlugin");function O(F,Q,oe,ue,ie,de){let pe;try{pe=D(F)?F.serialize(Q,oe,ue,ie,de,$):F.print(Q,Pe=>$(Pe,oe,ue,ie,de),Pe=>{let $e=ue+oe.indent;return $e+Pe.replace(w,`
15
- `+$e)},{edgeSpacing:oe.spacingOuter,min:oe.min,spacing:oe.spacingInner},oe.colors)}catch(Pe){throw new A(Pe.message,Pe.stack)}if(typeof pe!="string")throw new Error(`pretty-format: Plugin must return type "string" but instead returned "${typeof pe}".`);return pe}a(O,"printPlugin");function M(F,Q){for(let oe=0;oe<F.length;oe++)try{if(F[oe].test(Q))return F[oe]}catch(ue){throw new A(ue.message,ue.stack)}return null}a(M,"findPlugin");function $(F,Q,oe,ue,ie,de){let pe=M(Q.plugins,F);if(pe!==null)return O(pe,F,Q,oe,ue,ie);let Pe=I(F,Q.printFunctionName,Q.escapeRegex,Q.escapeString);return Pe!==null?Pe:U(F,Q,oe,ue,ie,de)}a($,"printer");var K={comment:"gray",content:"reset",prop:"yellow",tag:"cyan",value:"green"},G=Object.keys(K),re={callToJSON:!0,compareKeys:void 0,escapeRegex:!1,escapeString:!0,highlight:!1,indent:2,maxDepth:1/0,min:!1,plugins:[],printBasicPrototype:!0,printFunctionName:!0,theme:K};e.DEFAULT_OPTIONS=re;function ae(F){if(Object.keys(F).forEach(Q=>{if(!re.hasOwnProperty(Q))throw new Error(`pretty-format: Unknown option "${Q}".`)}),F.min&&F.indent!==void 0&&F.indent!==0)throw new Error('pretty-format: Options "min" and "indent" cannot be used together.');if(F.theme!==void 0){if(F.theme===null)throw new Error('pretty-format: Option "theme" must not be null.');if(typeof F.theme!="object")throw new Error(`pretty-format: Option "theme" must be of type "object" but instead received "${typeof F.theme}".`)}}a(ae,"validateOptions");var Z=a(F=>G.reduce((Q,oe)=>{let ue=F.theme&&F.theme[oe]!==void 0?F.theme[oe]:K[oe],ie=ue&&t.default[ue];if(ie&&typeof ie.close=="string"&&typeof ie.open=="string")Q[oe]=ie;else throw new Error(`pretty-format: Option "theme" has a key "${oe}" whose value "${ue}" is undefined in ansi-styles.`);return Q},Object.create(null)),"getColorsHighlight"),W=a(()=>G.reduce((F,Q)=>(F[Q]={close:"",open:""},F),Object.create(null)),"getColorsEmpty"),z=a(F=>F&&F.printFunctionName!==void 0?F.printFunctionName:re.printFunctionName,"getPrintFunctionName"),Y=a(F=>F&&F.escapeRegex!==void 0?F.escapeRegex:re.escapeRegex,"getEscapeRegex"),ne=a(F=>F&&F.escapeString!==void 0?F.escapeString:re.escapeString,"getEscapeString"),X=a(F=>{var Q;return{callToJSON:F&&F.callToJSON!==void 0?F.callToJSON:re.callToJSON,colors:F&&F.highlight?Z(F):W(),compareKeys:F&&typeof F.compareKeys=="function"?F.compareKeys:re.compareKeys,escapeRegex:Y(F),escapeString:ne(F),indent:F&&F.min?"":se(F&&F.indent!==void 0?F.indent:re.indent),maxDepth:F&&F.maxDepth!==void 0?F.maxDepth:re.maxDepth,min:F&&F.min!==void 0?F.min:re.min,plugins:F&&F.plugins!==void 0?F.plugins:re.plugins,printBasicPrototype:(Q=F?.printBasicPrototype)!==null&&Q!==void 0?Q:!0,printFunctionName:z(F),spacingInner:F&&F.min?" ":`
16
- `,spacingOuter:F&&F.min?"":`
17
- `}},"getConfig");function se(F){return new Array(F+1).join(" ")}a(se,"createIndent");function ce(F,Q){if(Q&&(ae(Q),Q.plugins)){let ue=M(Q.plugins,F);if(ue!==null)return O(ue,F,X(Q),"",0,[])}let oe=I(F,z(Q),Y(Q),ne(Q));return oe!==null?oe:U(F,X(Q),"",0,[])}a(ce,"format");var Me={AsymmetricMatcher:n.default,ConvertAnsi:o.default,DOMCollection:i.default,DOMElement:s.default,Immutable:l.default,ReactElement:c.default,ReactTestComponent:u.default};e.plugins=Me;var Ve=ce;e.default=Ve}),HM=S(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;function t(){var n=this,o=0,i={"@@iterator":a(function(){return i},"iterator"),next:a(function(){if(o<n.length){var s=n[o];return o=o+1,{done:!1,value:s}}else return{done:!0}},"next")};return i}a(t,"iteratorProxy");var r=t;e.default=r}),ti=S(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=o;var t=r(HM());function r(i){return i&&i.__esModule?i:{default:i}}a(r,"_interopRequireDefault");function n(i){"@babel/helpers - typeof";return n=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(s){return typeof s}:function(s){return s&&typeof Symbol=="function"&&s.constructor===Symbol&&s!==Symbol.prototype?"symbol":typeof s},n(i)}a(n,"_typeof");function o(i,s){return typeof Symbol=="function"&&n(Symbol.iterator)==="symbol"&&Object.defineProperty(i,Symbol.iterator,{value:t.default.bind(s)}),i}a(o,"iterationDecorator")}),VM=S(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=r(ti());function r(f){return f&&f.__esModule?f:{default:f}}a(r,"_interopRequireDefault");function n(f,m){return s(f)||i(f,m)||c(f,m)||o()}a(n,"_slicedToArray");function o(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
18
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}a(o,"_nonIterableRest");function i(f,m){var b=f==null?null:typeof Symbol<"u"&&f[Symbol.iterator]||f["@@iterator"];if(b!=null){var g=[],v=!0,w=!1,P,A;try{for(b=b.call(f);!(v=(P=b.next()).done)&&(g.push(P.value),!(m&&g.length===m));v=!0);}catch(R){w=!0,A=R}finally{try{!v&&b.return!=null&&b.return()}finally{if(w)throw A}}return g}}a(i,"_iterableToArrayLimit");function s(f){if(Array.isArray(f))return f}a(s,"_arrayWithHoles");function l(f,m){var b=typeof Symbol<"u"&&f[Symbol.iterator]||f["@@iterator"];if(!b){if(Array.isArray(f)||(b=c(f))||m&&f&&typeof f.length=="number"){b&&(f=b);var g=0,v=a(function(){},"F");return{s:v,n:a(function(){return g>=f.length?{done:!0}:{done:!1,value:f[g++]}},"n"),e:a(function(R){throw R},"e"),f:v}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
19
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var w=!0,P=!1,A;return{s:a(function(){b=b.call(f)},"s"),n:a(function(){var R=b.next();return w=R.done,R},"n"),e:a(function(R){P=!0,A=R},"e"),f:a(function(){try{!w&&b.return!=null&&b.return()}finally{if(P)throw A}},"f")}}a(l,"_createForOfIteratorHelper");function c(f,m){if(f){if(typeof f=="string")return u(f,m);var b=Object.prototype.toString.call(f).slice(8,-1);if(b==="Object"&&f.constructor&&(b=f.constructor.name),b==="Map"||b==="Set")return Array.from(f);if(b==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(b))return u(f,m)}}a(c,"_unsupportedIterableToArray");function u(f,m){(m==null||m>f.length)&&(m=f.length);for(var b=0,g=new Array(m);b<m;b++)g[b]=f[b];return g}a(u,"_arrayLikeToArray");var d=[["aria-activedescendant",{type:"id"}],["aria-atomic",{type:"boolean"}],["aria-autocomplete",{type:"token",values:["inline","list","both","none"]}],["aria-braillelabel",{type:"string"}],["aria-brailleroledescription",{type:"string"}],["aria-busy",{type:"boolean"}],["aria-checked",{type:"tristate"}],["aria-colcount",{type:"integer"}],["aria-colindex",{type:"integer"}],["aria-colspan",{type:"integer"}],["aria-controls",{type:"idlist"}],["aria-current",{type:"token",values:["page","step","location","date","time",!0,!1]}],["aria-describedby",{type:"idlist"}],["aria-description",{type:"string"}],["aria-details",{type:"id"}],["aria-disabled",{type:"boolean"}],["aria-dropeffect",{type:"tokenlist",values:["copy","execute","link","move","none","popup"]}],["aria-errormessage",{type:"id"}],["aria-expanded",{type:"boolean",allowundefined:!0}],["aria-flowto",{type:"idlist"}],["aria-grabbed",{type:"boolean",allowundefined:!0}],["aria-haspopup",{type:"token",values:[!1,!0,"menu","listbox","tree","grid","dialog"]}],["aria-hidden",{type:"boolean",allowundefined:!0}],["aria-invalid",{type:"token",values:["grammar",!1,"spelling",!0]}],["aria-keyshortcuts",{type:"string"}],["aria-label",{type:"string"}],["aria-labelledby",{type:"idlist"}],["aria-level",{type:"integer"}],["aria-live",{type:"token",values:["assertive","off","polite"]}],["aria-modal",{type:"boolean"}],["aria-multiline",{type:"boolean"}],["aria-multiselectable",{type:"boolean"}],["aria-orientation",{type:"token",values:["vertical","undefined","horizontal"]}],["aria-owns",{type:"idlist"}],["aria-placeholder",{type:"string"}],["aria-posinset",{type:"integer"}],["aria-pressed",{type:"tristate"}],["aria-readonly",{type:"boolean"}],["aria-relevant",{type:"tokenlist",values:["additions","all","removals","text"]}],["aria-required",{type:"boolean"}],["aria-roledescription",{type:"string"}],["aria-rowcount",{type:"integer"}],["aria-rowindex",{type:"integer"}],["aria-rowspan",{type:"integer"}],["aria-selected",{type:"boolean",allowundefined:!0}],["aria-setsize",{type:"integer"}],["aria-sort",{type:"token",values:["ascending","descending","none","other"]}],["aria-valuemax",{type:"number"}],["aria-valuemin",{type:"number"}],["aria-valuenow",{type:"number"}],["aria-valuetext",{type:"string"}]],p={entries:a(function(){return d},"entries"),forEach:a(function(f){var m=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,b=l(d),g;try{for(b.s();!(g=b.n()).done;){var v=n(g.value,2),w=v[0],P=v[1];f.call(m,P,w,d)}}catch(A){b.e(A)}finally{b.f()}},"forEach"),get:a(function(f){var m=d.find(function(b){return b[0]===f});return m&&m[1]},"get"),has:a(function(f){return!!p.get(f)},"has"),keys:a(function(){return d.map(function(f){var m=n(f,1),b=m[0];return b})},"keys"),values:a(function(){return d.map(function(f){var m=n(f,2),b=m[1];return b})},"values")},h=(0,t.default)(p,p.entries());e.default=h}),JM=S(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=r(ti());function r(f){return f&&f.__esModule?f:{default:f}}a(r,"_interopRequireDefault");function n(f,m){return s(f)||i(f,m)||c(f,m)||o()}a(n,"_slicedToArray");function o(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
20
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}a(o,"_nonIterableRest");function i(f,m){var b=f==null?null:typeof Symbol<"u"&&f[Symbol.iterator]||f["@@iterator"];if(b!=null){var g=[],v=!0,w=!1,P,A;try{for(b=b.call(f);!(v=(P=b.next()).done)&&(g.push(P.value),!(m&&g.length===m));v=!0);}catch(R){w=!0,A=R}finally{try{!v&&b.return!=null&&b.return()}finally{if(w)throw A}}return g}}a(i,"_iterableToArrayLimit");function s(f){if(Array.isArray(f))return f}a(s,"_arrayWithHoles");function l(f,m){var b=typeof Symbol<"u"&&f[Symbol.iterator]||f["@@iterator"];if(!b){if(Array.isArray(f)||(b=c(f))||m&&f&&typeof f.length=="number"){b&&(f=b);var g=0,v=a(function(){},"F");return{s:v,n:a(function(){return g>=f.length?{done:!0}:{done:!1,value:f[g++]}},"n"),e:a(function(R){throw R},"e"),f:v}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
21
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var w=!0,P=!1,A;return{s:a(function(){b=b.call(f)},"s"),n:a(function(){var R=b.next();return w=R.done,R},"n"),e:a(function(R){P=!0,A=R},"e"),f:a(function(){try{!w&&b.return!=null&&b.return()}finally{if(P)throw A}},"f")}}a(l,"_createForOfIteratorHelper");function c(f,m){if(f){if(typeof f=="string")return u(f,m);var b=Object.prototype.toString.call(f).slice(8,-1);if(b==="Object"&&f.constructor&&(b=f.constructor.name),b==="Map"||b==="Set")return Array.from(f);if(b==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(b))return u(f,m)}}a(c,"_unsupportedIterableToArray");function u(f,m){(m==null||m>f.length)&&(m=f.length);for(var b=0,g=new Array(m);b<m;b++)g[b]=f[b];return g}a(u,"_arrayLikeToArray");var d=[["a",{reserved:!1}],["abbr",{reserved:!1}],["acronym",{reserved:!1}],["address",{reserved:!1}],["applet",{reserved:!1}],["area",{reserved:!1}],["article",{reserved:!1}],["aside",{reserved:!1}],["audio",{reserved:!1}],["b",{reserved:!1}],["base",{reserved:!0}],["bdi",{reserved:!1}],["bdo",{reserved:!1}],["big",{reserved:!1}],["blink",{reserved:!1}],["blockquote",{reserved:!1}],["body",{reserved:!1}],["br",{reserved:!1}],["button",{reserved:!1}],["canvas",{reserved:!1}],["caption",{reserved:!1}],["center",{reserved:!1}],["cite",{reserved:!1}],["code",{reserved:!1}],["col",{reserved:!0}],["colgroup",{reserved:!0}],["content",{reserved:!1}],["data",{reserved:!1}],["datalist",{reserved:!1}],["dd",{reserved:!1}],["del",{reserved:!1}],["details",{reserved:!1}],["dfn",{reserved:!1}],["dialog",{reserved:!1}],["dir",{reserved:!1}],["div",{reserved:!1}],["dl",{reserved:!1}],["dt",{reserved:!1}],["em",{reserved:!1}],["embed",{reserved:!1}],["fieldset",{reserved:!1}],["figcaption",{reserved:!1}],["figure",{reserved:!1}],["font",{reserved:!1}],["footer",{reserved:!1}],["form",{reserved:!1}],["frame",{reserved:!1}],["frameset",{reserved:!1}],["h1",{reserved:!1}],["h2",{reserved:!1}],["h3",{reserved:!1}],["h4",{reserved:!1}],["h5",{reserved:!1}],["h6",{reserved:!1}],["head",{reserved:!0}],["header",{reserved:!1}],["hgroup",{reserved:!1}],["hr",{reserved:!1}],["html",{reserved:!0}],["i",{reserved:!1}],["iframe",{reserved:!1}],["img",{reserved:!1}],["input",{reserved:!1}],["ins",{reserved:!1}],["kbd",{reserved:!1}],["keygen",{reserved:!1}],["label",{reserved:!1}],["legend",{reserved:!1}],["li",{reserved:!1}],["link",{reserved:!0}],["main",{reserved:!1}],["map",{reserved:!1}],["mark",{reserved:!1}],["marquee",{reserved:!1}],["menu",{reserved:!1}],["menuitem",{reserved:!1}],["meta",{reserved:!0}],["meter",{reserved:!1}],["nav",{reserved:!1}],["noembed",{reserved:!0}],["noscript",{reserved:!0}],["object",{reserved:!1}],["ol",{reserved:!1}],["optgroup",{reserved:!1}],["option",{reserved:!1}],["output",{reserved:!1}],["p",{reserved:!1}],["param",{reserved:!0}],["picture",{reserved:!0}],["pre",{reserved:!1}],["progress",{reserved:!1}],["q",{reserved:!1}],["rp",{reserved:!1}],["rt",{reserved:!1}],["rtc",{reserved:!1}],["ruby",{reserved:!1}],["s",{reserved:!1}],["samp",{reserved:!1}],["script",{reserved:!0}],["section",{reserved:!1}],["select",{reserved:!1}],["small",{reserved:!1}],["source",{reserved:!0}],["spacer",{reserved:!1}],["span",{reserved:!1}],["strike",{reserved:!1}],["strong",{reserved:!1}],["style",{reserved:!0}],["sub",{reserved:!1}],["summary",{reserved:!1}],["sup",{reserved:!1}],["table",{reserved:!1}],["tbody",{reserved:!1}],["td",{reserved:!1}],["textarea",{reserved:!1}],["tfoot",{reserved:!1}],["th",{reserved:!1}],["thead",{reserved:!1}],["time",{reserved:!1}],["title",{reserved:!0}],["tr",{reserved:!1}],["track",{reserved:!0}],["tt",{reserved:!1}],["u",{reserved:!1}],["ul",{reserved:!1}],["var",{reserved:!1}],["video",{reserved:!1}],["wbr",{reserved:!1}],["xmp",{reserved:!1}]],p={entries:a(function(){return d},"entries"),forEach:a(function(f){var m=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,b=l(d),g;try{for(b.s();!(g=b.n()).done;){var v=n(g.value,2),w=v[0],P=v[1];f.call(m,P,w,d)}}catch(A){b.e(A)}finally{b.f()}},"forEach"),get:a(function(f){var m=d.find(function(b){return b[0]===f});return m&&m[1]},"get"),has:a(function(f){return!!p.get(f)},"has"),keys:a(function(){return d.map(function(f){var m=n(f,1),b=m[0];return b})},"keys"),values:a(function(){return d.map(function(f){var m=n(f,2),b=m[1];return b})},"values")},h=(0,t.default)(p,p.entries());e.default=h}),zM=S(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget"]]},r=t;e.default=r}),WM=S(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-disabled":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget"]]},r=t;e.default=r}),GM=S(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null},relatedConcepts:[{concept:{name:"input"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget"]]},r=t;e.default=r}),KM=S(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}),YM=S(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-valuemax":null,"aria-valuemin":null,"aria-valuenow":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]},r=t;e.default=r}),XM=S(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{"aria-atomic":null,"aria-busy":null,"aria-controls":null,"aria-current":null,"aria-describedby":null,"aria-details":null,"aria-dropeffect":null,"aria-flowto":null,"aria-grabbed":null,"aria-hidden":null,"aria-keyshortcuts":null,"aria-label":null,"aria-labelledby":null,"aria-live":null,"aria-owns":null,"aria-relevant":null,"aria-roledescription":null},relatedConcepts:[{concept:{name:"role"},module:"XHTML"},{concept:{name:"type"},module:"Dublin Core"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[]},r=t;e.default=r}),QM=S(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"frontmatter"},module:"DTB"},{concept:{name:"level"},module:"DTB"},{concept:{name:"level"},module:"SMIL"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]},r=t;e.default=r}),ZM=S(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]},r=t;e.default=r}),e$=S(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-orientation":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","composite"],["roletype","structure","section","group"]]},r=t;e.default=r}),t$=S(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype"]]},r=t;e.default=r}),r$=S(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype"]]},r=t;e.default=r}),n$=S(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-modal":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype"]]},r=t;e.default=r}),o$=S(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=f(zM()),r=f(WM()),n=f(GM()),o=f(KM()),i=f(YM()),s=f(XM()),l=f(QM()),c=f(ZM()),u=f(e$()),d=f(t$()),p=f(r$()),h=f(n$());function f(g){return g&&g.__esModule?g:{default:g}}a(f,"_interopRequireDefault");var m=[["command",t.default],["composite",r.default],["input",n.default],["landmark",o.default],["range",i.default],["roletype",s.default],["section",l.default],["sectionhead",c.default],["select",u.default],["structure",d.default],["widget",p.default],["window",h.default]],b=m;e.default=b}),a$=S(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-atomic":"true","aria-live":"assertive"},relatedConcepts:[{concept:{name:"alert"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}),i$=S(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"alert"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","alert"],["roletype","window","dialog"]]},r=t;e.default=r}),s$=S(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"Device Independence Delivery Unit"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]},r=t;e.default=r}),l$=S(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-posinset":null,"aria-setsize":null},relatedConcepts:[{concept:{name:"article"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","document"]]},r=t;e.default=r}),u$=S(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{constraints:["scoped to the body element"],name:"header"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}),c$=S(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"blockquote"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}),d$=S(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-expanded":null,"aria-haspopup":null,"aria-pressed":null},relatedConcepts:[{concept:{attributes:[{name:"type",value:"button"}],name:"input"},module:"HTML"},{concept:{attributes:[{name:"type",value:"image"}],name:"input"},module:"HTML"},{concept:{attributes:[{name:"type",value:"reset"}],name:"input"},module:"HTML"},{concept:{attributes:[{name:"type",value:"submit"}],name:"input"},module:"HTML"},{concept:{name:"button"},module:"HTML"},{concept:{name:"trigger"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command"]]},r=t;e.default=r}),p$=S(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"caption"},module:"HTML"}],requireContextRole:["figure","grid","table"],requiredContextRole:["figure","grid","table"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}),f$=S(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-colindex":null,"aria-colspan":null,"aria-rowindex":null,"aria-rowspan":null},relatedConcepts:[{concept:{constraints:["ancestor table element has table role"],name:"td"},module:"HTML"}],requireContextRole:["row"],requiredContextRole:["row"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}),h$=S(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-checked":null,"aria-errormessage":null,"aria-expanded":null,"aria-invalid":null,"aria-readonly":null,"aria-required":null},relatedConcepts:[{concept:{attributes:[{name:"type",value:"checkbox"}],name:"input"},module:"HTML"},{concept:{name:"option"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input"]]},r=t;e.default=r}),m$=S(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"code"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}),y$=S(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-sort":null},relatedConcepts:[{concept:{name:"th"},module:"HTML"},{concept:{attributes:[{name:"scope",value:"col"}],name:"th"},module:"HTML"},{concept:{attributes:[{name:"scope",value:"colgroup"}],name:"th"},module:"HTML"}],requireContextRole:["row"],requiredContextRole:["row"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","cell"],["roletype","structure","section","cell","gridcell"],["roletype","widget","gridcell"],["roletype","structure","sectionhead"]]},r=t;e.default=r}),b$=S(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-autocomplete":null,"aria-errormessage":null,"aria-invalid":null,"aria-readonly":null,"aria-required":null,"aria-expanded":"false","aria-haspopup":"listbox"},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"email"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"search"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"tel"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"text"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"url"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"url"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"multiple"},{constraints:["undefined"],name:"size"}],constraints:["the multiple attribute is not set and the size attribute does not have a value greater than 1"],name:"select"},module:"HTML"},{concept:{name:"select"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-controls":null,"aria-expanded":"false"},superClass:[["roletype","widget","input"]]},r=t;e.default=r}),g$=S(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"aside"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"aria-label"}],constraints:["scoped to a sectioning content element","scoped to a sectioning root element other than body"],name:"aside"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"aria-labelledby"}],constraints:["scoped to a sectioning content element","scoped to a sectioning root element other than body"],name:"aside"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}),v$=S(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{constraints:["scoped to the body element"],name:"footer"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}),w$=S(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"dd"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}),E$=S(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"del"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}),x$=S(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"dialog"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","window"]]},r=t;e.default=r}),T$=S(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{module:"DAISY Guide"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","list"]]},r=t;e.default=r}),S$=S(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"Device Independence Delivery Unit"}},{concept:{name:"html"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]},r=t;e.default=r}),C$=S(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"em"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}),P$=S(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["article"]],requiredProps:{},superClass:[["roletype","structure","section","list"]]},r=t;e.default=r}),O$=S(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"figure"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}),_$=S(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"aria-label"}],name:"form"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"aria-labelledby"}],name:"form"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"name"}],name:"form"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}),A$=S(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"a"},module:"HTML"},{concept:{name:"area"},module:"HTML"},{concept:{name:"aside"},module:"HTML"},{concept:{name:"b"},module:"HTML"},{concept:{name:"bdo"},module:"HTML"},{concept:{name:"body"},module:"HTML"},{concept:{name:"data"},module:"HTML"},{concept:{name:"div"},module:"HTML"},{concept:{constraints:["scoped to the main element","scoped to a sectioning content element","scoped to a sectioning root element other than body"],name:"footer"},module:"HTML"},{concept:{constraints:["scoped to the main element","scoped to a sectioning content element","scoped to a sectioning root element other than body"],name:"header"},module:"HTML"},{concept:{name:"hgroup"},module:"HTML"},{concept:{name:"i"},module:"HTML"},{concept:{name:"pre"},module:"HTML"},{concept:{name:"q"},module:"HTML"},{concept:{name:"samp"},module:"HTML"},{concept:{name:"section"},module:"HTML"},{concept:{name:"small"},module:"HTML"},{concept:{name:"span"},module:"HTML"},{concept:{name:"u"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]},r=t;e.default=r}),R$=S(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-multiselectable":null,"aria-readonly":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["row"],["row","rowgroup"]],requiredProps:{},superClass:[["roletype","widget","composite"],["roletype","structure","section","table"]]},r=t;e.default=r}),q$=S(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null,"aria-readonly":null,"aria-required":null,"aria-selected":null},relatedConcepts:[{concept:{constraints:["ancestor table element has grid role","ancestor table element has treegrid role"],name:"td"},module:"HTML"}],requireContextRole:["row"],requiredContextRole:["row"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","cell"],["roletype","widget"]]},r=t;e.default=r}),I$=S(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-disabled":null},relatedConcepts:[{concept:{name:"details"},module:"HTML"},{concept:{name:"fieldset"},module:"HTML"},{concept:{name:"optgroup"},module:"HTML"},{concept:{name:"address"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}),N$=S(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-level":"2"},relatedConcepts:[{concept:{name:"h1"},module:"HTML"},{concept:{name:"h2"},module:"HTML"},{concept:{name:"h3"},module:"HTML"},{concept:{name:"h4"},module:"HTML"},{concept:{name:"h5"},module:"HTML"},{concept:{name:"h6"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-level":"2"},superClass:[["roletype","structure","sectionhead"]]},r=t;e.default=r}),j$=S(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"alt"}],name:"img"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"alt"}],name:"img"},module:"HTML"},{concept:{name:"imggroup"},module:"DTB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}),k$=S(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"ins"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}),M$=S(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-expanded":null,"aria-haspopup":null},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"href"}],name:"a"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"href"}],name:"area"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command"]]},r=t;e.default=r}),$$=S(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"menu"},module:"HTML"},{concept:{name:"ol"},module:"HTML"},{concept:{name:"ul"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["listitem"]],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}),L$=S(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-expanded":null,"aria-invalid":null,"aria-multiselectable":null,"aria-readonly":null,"aria-required":null,"aria-orientation":"vertical"},relatedConcepts:[{concept:{attributes:[{constraints:[">1"],name:"size"}],constraints:["the size attribute value is greater than 1"],name:"select"},module:"HTML"},{concept:{attributes:[{name:"multiple"}],name:"select"},module:"HTML"},{concept:{name:"datalist"},module:"HTML"},{concept:{name:"list"},module:"ARIA"},{concept:{name:"select"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["option","group"],["option"]],requiredProps:{},superClass:[["roletype","widget","composite","select"],["roletype","structure","section","group","select"]]},r=t;e.default=r}),D$=S(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-level":null,"aria-posinset":null,"aria-setsize":null},relatedConcepts:[{concept:{constraints:["direct descendant of ol","direct descendant of ul","direct descendant of menu"],name:"li"},module:"HTML"},{concept:{name:"item"},module:"XForms"}],requireContextRole:["directory","list"],requiredContextRole:["directory","list"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}),F$=S(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-live":"polite"},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}),B$=S(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"main"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}),U$=S(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:[],props:{"aria-braillelabel":null,"aria-brailleroledescription":null,"aria-description":null},relatedConcepts:[{concept:{name:"mark"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}),H$=S(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}),V$=S(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"math"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}),J$=S(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-orientation":"vertical"},relatedConcepts:[{concept:{name:"MENU"},module:"JAPI"},{concept:{name:"list"},module:"ARIA"},{concept:{name:"select"},module:"XForms"},{concept:{name:"sidebar"},module:"DTB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["menuitem","group"],["menuitemradio","group"],["menuitemcheckbox","group"],["menuitem"],["menuitemcheckbox"],["menuitemradio"]],requiredProps:{},superClass:[["roletype","widget","composite","select"],["roletype","structure","section","group","select"]]},r=t;e.default=r}),z$=S(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-orientation":"horizontal"},relatedConcepts:[{concept:{name:"toolbar"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["menuitem","group"],["menuitemradio","group"],["menuitemcheckbox","group"],["menuitem"],["menuitemcheckbox"],["menuitemradio"]],requiredProps:{},superClass:[["roletype","widget","composite","select","menu"],["roletype","structure","section","group","select","menu"]]},r=t;e.default=r}),W$=S(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-expanded":null,"aria-haspopup":null,"aria-posinset":null,"aria-setsize":null},relatedConcepts:[{concept:{name:"MENU_ITEM"},module:"JAPI"},{concept:{name:"listitem"},module:"ARIA"},{concept:{name:"option"},module:"ARIA"}],requireContextRole:["group","menu","menubar"],requiredContextRole:["group","menu","menubar"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command"]]},r=t;e.default=r}),G$=S(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"menuitem"},module:"ARIA"}],requireContextRole:["group","menu","menubar"],requiredContextRole:["group","menu","menubar"],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input","checkbox"],["roletype","widget","command","menuitem"]]},r=t;e.default=r}),K$=S(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"menuitem"},module:"ARIA"}],requireContextRole:["group","menu","menubar"],requiredContextRole:["group","menu","menubar"],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input","checkbox","menuitemcheckbox"],["roletype","widget","command","menuitem","menuitemcheckbox"],["roletype","widget","input","radio"]]},r=t;e.default=r}),Y$=S(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-valuetext":null,"aria-valuemax":"100","aria-valuemin":"0"},relatedConcepts:[{concept:{name:"meter"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-valuenow":null},superClass:[["roletype","structure","range"]]},r=t;e.default=r}),X$=S(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"nav"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}),Q$=S(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[]},r=t;e.default=r}),Z$=S(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}),eL=S(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-checked":null,"aria-posinset":null,"aria-setsize":null,"aria-selected":"false"},relatedConcepts:[{concept:{name:"item"},module:"XForms"},{concept:{name:"listitem"},module:"ARIA"},{concept:{name:"option"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-selected":"false"},superClass:[["roletype","widget","input"]]},r=t;e.default=r}),tL=S(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"p"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}),rL=S(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{attributes:[{name:"alt",value:""}],name:"img"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]},r=t;e.default=r}),nL=S(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-valuetext":null},relatedConcepts:[{concept:{name:"progress"},module:"HTML"},{concept:{name:"status"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","range"],["roletype","widget"]]},r=t;e.default=r}),oL=S(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-checked":null,"aria-posinset":null,"aria-setsize":null},relatedConcepts:[{concept:{attributes:[{name:"type",value:"radio"}],name:"input"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input"]]},r=t;e.default=r}),aL=S(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null,"aria-readonly":null,"aria-required":null},relatedConcepts:[{concept:{name:"list"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["radio"]],requiredProps:{},superClass:[["roletype","widget","composite","select"],["roletype","structure","section","group","select"]]},r=t;e.default=r}),iL=S(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"aria-label"}],name:"section"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"aria-labelledby"}],name:"section"},module:"HTML"},{concept:{name:"Device Independence Glossart perceivable unit"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}),sL=S(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-colindex":null,"aria-expanded":null,"aria-level":null,"aria-posinset":null,"aria-rowindex":null,"aria-selected":null,"aria-setsize":null},relatedConcepts:[{concept:{name:"tr"},module:"HTML"}],requireContextRole:["grid","rowgroup","table","treegrid"],requiredContextRole:["grid","rowgroup","table","treegrid"],requiredOwnedElements:[["cell"],["columnheader"],["gridcell"],["rowheader"]],requiredProps:{},superClass:[["roletype","structure","section","group"],["roletype","widget"]]},r=t;e.default=r}),lL=S(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"tbody"},module:"HTML"},{concept:{name:"tfoot"},module:"HTML"},{concept:{name:"thead"},module:"HTML"}],requireContextRole:["grid","table","treegrid"],requiredContextRole:["grid","table","treegrid"],requiredOwnedElements:[["row"]],requiredProps:{},superClass:[["roletype","structure"]]},r=t;e.default=r}),uL=S(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-sort":null},relatedConcepts:[{concept:{attributes:[{name:"scope",value:"row"}],name:"th"},module:"HTML"},{concept:{attributes:[{name:"scope",value:"rowgroup"}],name:"th"},module:"HTML"}],requireContextRole:["row","rowgroup"],requiredContextRole:["row","rowgroup"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","cell"],["roletype","structure","section","cell","gridcell"],["roletype","widget","gridcell"],["roletype","structure","sectionhead"]]},r=t;e.default=r}),cL=S(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-valuetext":null,"aria-orientation":"vertical","aria-valuemax":"100","aria-valuemin":"0"},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-controls":null,"aria-valuenow":null},superClass:[["roletype","structure","range"],["roletype","widget"]]},r=t;e.default=r}),dL=S(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}),pL=S(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"search"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","input","textbox"]]},r=t;e.default=r}),fL=S(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-orientation":"horizontal","aria-valuemax":"100","aria-valuemin":"0","aria-valuenow":null,"aria-valuetext":null},relatedConcepts:[{concept:{name:"hr"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]},r=t;e.default=r}),hL=S(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-haspopup":null,"aria-invalid":null,"aria-readonly":null,"aria-valuetext":null,"aria-orientation":"horizontal","aria-valuemax":"100","aria-valuemin":"0"},relatedConcepts:[{concept:{attributes:[{name:"type",value:"range"}],name:"input"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-valuenow":null},superClass:[["roletype","widget","input"],["roletype","structure","range"]]},r=t;e.default=r}),mL=S(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null,"aria-readonly":null,"aria-required":null,"aria-valuetext":null,"aria-valuenow":"0"},relatedConcepts:[{concept:{attributes:[{name:"type",value:"number"}],name:"input"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","composite"],["roletype","widget","input"],["roletype","structure","range"]]},r=t;e.default=r}),yL=S(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-atomic":"true","aria-live":"polite"},relatedConcepts:[{concept:{name:"output"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}),bL=S(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"strong"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}),gL=S(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"sub"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}),vL=S(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"sup"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}),wL=S(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"button"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input","checkbox"]]},r=t;e.default=r}),EL=S(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-expanded":null,"aria-haspopup":null,"aria-posinset":null,"aria-setsize":null,"aria-selected":"false"},relatedConcepts:[],requireContextRole:["tablist"],requiredContextRole:["tablist"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","sectionhead"],["roletype","widget"]]},r=t;e.default=r}),xL=S(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-colcount":null,"aria-rowcount":null},relatedConcepts:[{concept:{name:"table"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["row"],["row","rowgroup"]],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}),TL=S(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-level":null,"aria-multiselectable":null,"aria-orientation":"horizontal"},relatedConcepts:[{module:"DAISY",concept:{name:"guide"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["tab"]],requiredProps:{},superClass:[["roletype","widget","composite"]]},r=t;e.default=r}),SL=S(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}),CL=S(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"dfn"},module:"HTML"},{concept:{name:"dt"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}),PL=S(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-autocomplete":null,"aria-errormessage":null,"aria-haspopup":null,"aria-invalid":null,"aria-multiline":null,"aria-placeholder":null,"aria-readonly":null,"aria-required":null},relatedConcepts:[{concept:{attributes:[{constraints:["undefined"],name:"type"},{constraints:["undefined"],name:"list"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"email"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"tel"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"text"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"url"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"},{concept:{name:"input"},module:"XForms"},{concept:{name:"textarea"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","input"]]},r=t;e.default=r}),OL=S(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"time"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}),_L=S(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","status"]]},r=t;e.default=r}),AL=S(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-orientation":"horizontal"},relatedConcepts:[{concept:{name:"menubar"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","group"]]},r=t;e.default=r}),RL=S(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}),qL=S(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null,"aria-multiselectable":null,"aria-required":null,"aria-orientation":"vertical"},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["treeitem","group"],["treeitem"]],requiredProps:{},superClass:[["roletype","widget","composite","select"],["roletype","structure","section","group","select"]]},r=t;e.default=r}),IL=S(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["row"],["row","rowgroup"]],requiredProps:{},superClass:[["roletype","widget","composite","grid"],["roletype","structure","section","table","grid"],["roletype","widget","composite","select","tree"],["roletype","structure","section","group","select","tree"]]},r=t;e.default=r}),NL=S(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-expanded":null,"aria-haspopup":null},relatedConcepts:[],requireContextRole:["group","tree"],requiredContextRole:["group","tree"],requiredOwnedElements:[],requiredProps:{"aria-selected":null},superClass:[["roletype","structure","section","listitem"],["roletype","widget","input","option"]]},r=t;e.default=r}),jL=S(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=H(a$()),r=H(i$()),n=H(s$()),o=H(l$()),i=H(u$()),s=H(c$()),l=H(d$()),c=H(p$()),u=H(f$()),d=H(h$()),p=H(m$()),h=H(y$()),f=H(b$()),m=H(g$()),b=H(v$()),g=H(w$()),v=H(E$()),w=H(x$()),P=H(T$()),A=H(S$()),R=H(C$()),T=H(P$()),E=H(O$()),x=H(_$()),C=H(A$()),k=H(R$()),I=H(q$()),U=H(I$()),D=H(N$()),O=H(j$()),M=H(k$()),$=H(M$()),K=H($$()),G=H(L$()),re=H(D$()),ae=H(F$()),Z=H(B$()),W=H(U$()),z=H(H$()),Y=H(V$()),ne=H(J$()),X=H(z$()),se=H(W$()),ce=H(G$()),Me=H(K$()),Ve=H(Y$()),F=H(X$()),Q=H(Q$()),oe=H(Z$()),ue=H(eL()),ie=H(tL()),de=H(rL()),pe=H(nL()),Pe=H(oL()),$e=H(aL()),lt=H(iL()),Ct=H(sL()),ot=H(lL()),ft=H(uL()),ht=H(cL()),mt=H(dL()),kn=H(pL()),Uo=H(fL()),Mn=H(hL()),Ho=H(mL()),Vo=H(yL()),Jo=H(bL()),$n=H(gL()),zo=H(vL()),Wo=H(wL()),Go=H(EL()),Ko=H(xL()),Yo=H(TL()),Xo=H(SL()),Qo=H(CL()),Zo=H(PL()),ea=H(OL()),Kr=H(_L()),Ln=H(AL()),Ut=H(RL()),Ue=H(qL()),Yr=H(IL()),rr=H(NL());function H(Qr){return Qr&&Qr.__esModule?Qr:{default:Qr}}a(H,"_interopRequireDefault");var Xr=[["alert",t.default],["alertdialog",r.default],["application",n.default],["article",o.default],["banner",i.default],["blockquote",s.default],["button",l.default],["caption",c.default],["cell",u.default],["checkbox",d.default],["code",p.default],["columnheader",h.default],["combobox",f.default],["complementary",m.default],["contentinfo",b.default],["definition",g.default],["deletion",v.default],["dialog",w.default],["directory",P.default],["document",A.default],["emphasis",R.default],["feed",T.default],["figure",E.default],["form",x.default],["generic",C.default],["grid",k.default],["gridcell",I.default],["group",U.default],["heading",D.default],["img",O.default],["insertion",M.default],["link",$.default],["list",K.default],["listbox",G.default],["listitem",re.default],["log",ae.default],["main",Z.default],["mark",W.default],["marquee",z.default],["math",Y.default],["menu",ne.default],["menubar",X.default],["menuitem",se.default],["menuitemcheckbox",ce.default],["menuitemradio",Me.default],["meter",Ve.default],["navigation",F.default],["none",Q.default],["note",oe.default],["option",ue.default],["paragraph",ie.default],["presentation",de.default],["progressbar",pe.default],["radio",Pe.default],["radiogroup",$e.default],["region",lt.default],["row",Ct.default],["rowgroup",ot.default],["rowheader",ft.default],["scrollbar",ht.default],["search",mt.default],["searchbox",kn.default],["separator",Uo.default],["slider",Mn.default],["spinbutton",Ho.default],["status",Vo.default],["strong",Jo.default],["subscript",$n.default],["superscript",zo.default],["switch",Wo.default],["tab",Go.default],["table",Ko.default],["tablist",Yo.default],["tabpanel",Xo.default],["term",Qo.default],["textbox",Zo.default],["time",ea.default],["timer",Kr.default],["toolbar",Ln.default],["tooltip",Ut.default],["tree",Ue.default],["treegrid",Yr.default],["treeitem",rr.default]],Tr=Xr;e.default=Tr}),kL=S(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"abstract [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}),ML=S(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"acknowledgments [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}),$L=S(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"afterword [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}),LL=S(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"appendix [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}),DL=S(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"referrer [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command","link"]]},r=t;e.default=r}),FL=S(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"EPUB biblioentry [EPUB-SSV]"},module:"EPUB"}],requireContextRole:["doc-bibliography"],requiredContextRole:["doc-bibliography"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","listitem"]]},r=t;e.default=r}),BL=S(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"bibliography [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["doc-biblioentry"]],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}),UL=S(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"biblioref [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command","link"]]},r=t;e.default=r}),HL=S(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"chapter [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}),VL=S(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"colophon [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}),JL=S(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"conclusion [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}),zL=S(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"cover [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","img"]]},r=t;e.default=r}),WL=S(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"credit [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}),GL=S(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"credits [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}),KL=S(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"dedication [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}),YL=S(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"rearnote [EPUB-SSV]"},module:"EPUB"}],requireContextRole:["doc-endnotes"],requiredContextRole:["doc-endnotes"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","listitem"]]},r=t;e.default=r}),XL=S(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"rearnotes [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["doc-endnote"]],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}),QL=S(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"epigraph [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}),ZL=S(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"epilogue [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}),eD=S(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"errata [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}),tD=S(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}),rD=S(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"footnote [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}),nD=S(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"foreword [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}),oD=S(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"glossary [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["definition"],["term"]],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}),aD=S(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"glossref [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command","link"]]},r=t;e.default=r}),iD=S(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"index [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark","navigation"]]},r=t;e.default=r}),sD=S(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"introduction [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}),lD=S(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"noteref [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command","link"]]},r=t;e.default=r}),uD=S(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"notice [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","note"]]},r=t;e.default=r}),cD=S(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"pagebreak [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","separator"]]},r=t;e.default=r}),dD=S(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"page-list [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark","navigation"]]},r=t;e.default=r}),pD=S(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"part [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}),fD=S(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"preface [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}),hD=S(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"prologue [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}),mD=S(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"pullquote [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["none"]]},r=t;e.default=r}),yD=S(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"qna [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}),bD=S(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"subtitle [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","sectionhead"]]},r=t;e.default=r}),gD=S(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"help [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","note"]]},r=t;e.default=r}),vD=S(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"toc [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark","navigation"]]},r=t;e.default=r}),wD=S(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=Y(kL()),r=Y(ML()),n=Y($L()),o=Y(LL()),i=Y(DL()),s=Y(FL()),l=Y(BL()),c=Y(UL()),u=Y(HL()),d=Y(VL()),p=Y(JL()),h=Y(zL()),f=Y(WL()),m=Y(GL()),b=Y(KL()),g=Y(YL()),v=Y(XL()),w=Y(QL()),P=Y(ZL()),A=Y(eD()),R=Y(tD()),T=Y(rD()),E=Y(nD()),x=Y(oD()),C=Y(aD()),k=Y(iD()),I=Y(sD()),U=Y(lD()),D=Y(uD()),O=Y(cD()),M=Y(dD()),$=Y(pD()),K=Y(fD()),G=Y(hD()),re=Y(mD()),ae=Y(yD()),Z=Y(bD()),W=Y(gD()),z=Y(vD());function Y(se){return se&&se.__esModule?se:{default:se}}a(Y,"_interopRequireDefault");var ne=[["doc-abstract",t.default],["doc-acknowledgments",r.default],["doc-afterword",n.default],["doc-appendix",o.default],["doc-backlink",i.default],["doc-biblioentry",s.default],["doc-bibliography",l.default],["doc-biblioref",c.default],["doc-chapter",u.default],["doc-colophon",d.default],["doc-conclusion",p.default],["doc-cover",h.default],["doc-credit",f.default],["doc-credits",m.default],["doc-dedication",b.default],["doc-endnote",g.default],["doc-endnotes",v.default],["doc-epigraph",w.default],["doc-epilogue",P.default],["doc-errata",A.default],["doc-example",R.default],["doc-footnote",T.default],["doc-foreword",E.default],["doc-glossary",x.default],["doc-glossref",C.default],["doc-index",k.default],["doc-introduction",I.default],["doc-noteref",U.default],["doc-notice",D.default],["doc-pagebreak",O.default],["doc-pagelist",M.default],["doc-part",$.default],["doc-preface",K.default],["doc-prologue",G.default],["doc-pullquote",re.default],["doc-qna",ae.default],["doc-subtitle",Z.default],["doc-tip",W.default],["doc-toc",z.default]],X=ne;e.default=X}),ED=S(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{module:"GRAPHICS",concept:{name:"graphics-object"}},{module:"ARIA",concept:{name:"img"}},{module:"ARIA",concept:{name:"article"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","document"]]},r=t;e.default=r}),xD=S(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{module:"GRAPHICS",concept:{name:"graphics-document"}},{module:"ARIA",concept:{name:"group"}},{module:"ARIA",concept:{name:"img"}},{module:"GRAPHICS",concept:{name:"graphics-symbol"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","group"]]},r=t;e.default=r}),TD=S(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","img"]]},r=t;e.default=r}),SD=S(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=o(ED()),r=o(xD()),n=o(TD());function o(l){return l&&l.__esModule?l:{default:l}}a(o,"_interopRequireDefault");var i=[["graphics-document",t.default],["graphics-object",r.default],["graphics-symbol",n.default]],s=i;e.default=s}),pp=S(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=s(o$()),r=s(jL()),n=s(wD()),o=s(SD()),i=s(ti());function s(w){return w&&w.__esModule?w:{default:w}}a(s,"_interopRequireDefault");function l(w,P,A){return P in w?Object.defineProperty(w,P,{value:A,enumerable:!0,configurable:!0,writable:!0}):w[P]=A,w}a(l,"_defineProperty");function c(w,P){var A=typeof Symbol<"u"&&w[Symbol.iterator]||w["@@iterator"];if(!A){if(Array.isArray(w)||(A=p(w))||P&&w&&typeof w.length=="number"){A&&(w=A);var R=0,T=a(function(){},"F");return{s:T,n:a(function(){return R>=w.length?{done:!0}:{done:!1,value:w[R++]}},"n"),e:a(function(k){throw k},"e"),f:T}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
22
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var E=!0,x=!1,C;return{s:a(function(){A=A.call(w)},"s"),n:a(function(){var k=A.next();return E=k.done,k},"n"),e:a(function(k){x=!0,C=k},"e"),f:a(function(){try{!E&&A.return!=null&&A.return()}finally{if(x)throw C}},"f")}}a(c,"_createForOfIteratorHelper");function u(w,P){return m(w)||f(w,P)||p(w,P)||d()}a(u,"_slicedToArray");function d(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
23
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}a(d,"_nonIterableRest");function p(w,P){if(w){if(typeof w=="string")return h(w,P);var A=Object.prototype.toString.call(w).slice(8,-1);if(A==="Object"&&w.constructor&&(A=w.constructor.name),A==="Map"||A==="Set")return Array.from(w);if(A==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(A))return h(w,P)}}a(p,"_unsupportedIterableToArray");function h(w,P){(P==null||P>w.length)&&(P=w.length);for(var A=0,R=new Array(P);A<P;A++)R[A]=w[A];return R}a(h,"_arrayLikeToArray");function f(w,P){var A=w==null?null:typeof Symbol<"u"&&w[Symbol.iterator]||w["@@iterator"];if(A!=null){var R=[],T=!0,E=!1,x,C;try{for(A=A.call(w);!(T=(x=A.next()).done)&&(R.push(x.value),!(P&&R.length===P));T=!0);}catch(k){E=!0,C=k}finally{try{!T&&A.return!=null&&A.return()}finally{if(E)throw C}}return R}}a(f,"_iterableToArrayLimit");function m(w){if(Array.isArray(w))return w}a(m,"_arrayWithHoles");var b=[].concat(t.default,r.default,n.default,o.default);b.forEach(function(w){var P=u(w,2),A=P[1],R=c(A.superClass),T;try{for(R.s();!(T=R.n()).done;){var E=T.value,x=c(E),C;try{var k=a(function(){var I=C.value,U=b.find(function(K){var G=u(K,1),re=G[0];return re===I});if(U)for(var D=U[1],O=0,M=Object.keys(D.props);O<M.length;O++){var $=M[O];Object.prototype.hasOwnProperty.call(A.props,$)||Object.assign(A.props,l({},$,D.props[$]))}},"_loop");for(x.s();!(C=x.n()).done;)k()}catch(I){x.e(I)}finally{x.f()}}}catch(I){R.e(I)}finally{R.f()}});var g={entries:a(function(){return b},"entries"),forEach:a(function(w){var P=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,A=c(b),R;try{for(A.s();!(R=A.n()).done;){var T=u(R.value,2),E=T[0],x=T[1];w.call(P,x,E,b)}}catch(C){A.e(C)}finally{A.f()}},"forEach"),get:a(function(w){var P=b.find(function(A){return A[0]===w});return P&&P[1]},"get"),has:a(function(w){return!!g.get(w)},"has"),keys:a(function(){return b.map(function(w){var P=u(w,1),A=P[0];return A})},"keys"),values:a(function(){return b.map(function(w){var P=u(w,2),A=P[1];return A})},"values")},v=(0,i.default)(g,g.entries());e.default=v}),gv={};ct(gv,{dequal:()=>Gi});function Gi(e,t){var r,n;if(e===t)return!0;if(e&&t&&(r=e.constructor)===t.constructor){if(r===Date)return e.getTime()===t.getTime();if(r===RegExp)return e.toString()===t.toString();if(r===Array){if((n=e.length)===t.length)for(;n--&&Gi(e[n],t[n]););return n===-1}if(!r||typeof e=="object"){n=0;for(r in e)if(ic.call(e,r)&&++n&&!ic.call(t,r)||!(r in t)||!Gi(e[r],t[r]))return!1;return Object.keys(t).length===n}}return e!==e&&t!==t}var ic,CD=vI(()=>{ic=Object.prototype.hasOwnProperty,a(Gi,"dequal")}),PD=S(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=(CD(),wI(gv)),r=o(ti()),n=o(pp());function o(T){return T&&T.__esModule?T:{default:T}}a(o,"_interopRequireDefault");function i(T,E){return c(T)||l(T,E)||d(T,E)||s()}a(i,"_slicedToArray");function s(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
24
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}a(s,"_nonIterableRest");function l(T,E){var x=T==null?null:typeof Symbol<"u"&&T[Symbol.iterator]||T["@@iterator"];if(x!=null){var C=[],k=!0,I=!1,U,D;try{for(x=x.call(T);!(k=(U=x.next()).done)&&(C.push(U.value),!(E&&C.length===E));k=!0);}catch(O){I=!0,D=O}finally{try{!k&&x.return!=null&&x.return()}finally{if(I)throw D}}return C}}a(l,"_iterableToArrayLimit");function c(T){if(Array.isArray(T))return T}a(c,"_arrayWithHoles");function u(T,E){var x=typeof Symbol<"u"&&T[Symbol.iterator]||T["@@iterator"];if(!x){if(Array.isArray(T)||(x=d(T))||E&&T&&typeof T.length=="number"){x&&(T=x);var C=0,k=a(function(){},"F");return{s:k,n:a(function(){return C>=T.length?{done:!0}:{done:!1,value:T[C++]}},"n"),e:a(function(O){throw O},"e"),f:k}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
25
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var I=!0,U=!1,D;return{s:a(function(){x=x.call(T)},"s"),n:a(function(){var O=x.next();return I=O.done,O},"n"),e:a(function(O){U=!0,D=O},"e"),f:a(function(){try{!I&&x.return!=null&&x.return()}finally{if(U)throw D}},"f")}}a(u,"_createForOfIteratorHelper");function d(T,E){if(T){if(typeof T=="string")return p(T,E);var x=Object.prototype.toString.call(T).slice(8,-1);if(x==="Object"&&T.constructor&&(x=T.constructor.name),x==="Map"||x==="Set")return Array.from(T);if(x==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(x))return p(T,E)}}a(d,"_unsupportedIterableToArray");function p(T,E){(E==null||E>T.length)&&(E=T.length);for(var x=0,C=new Array(E);x<E;x++)C[x]=T[x];return C}a(p,"_arrayLikeToArray");var h=[],f=n.default.keys();for(P=0;P<f.length;P++)if(m=f[P],b=n.default.get(m),b)for(g=[].concat(b.baseConcepts,b.relatedConcepts),w=0;w<g.length;w++)v=g[w],v.module==="HTML"&&(function(){var T=v.concept;if(T){var E=h.find(function(I){return(0,t.dequal)(I,T)}),x;E?x=E[1]:x=[];for(var C=!0,k=0;k<x.length;k++)if(x[k]===m){C=!1;break}C&&x.push(m),h.push([T,x])}})();var m,b,g,v,w,P,A={entries:a(function(){return h},"entries"),forEach:a(function(T){var E=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,x=u(h),C;try{for(x.s();!(C=x.n()).done;){var k=i(C.value,2),I=k[0],U=k[1];T.call(E,U,I,h)}}catch(D){x.e(D)}finally{x.f()}},"forEach"),get:a(function(T){var E=h.find(function(x){return T.name===x[0].name&&(0,t.dequal)(T.attributes,x[0].attributes)});return E&&E[1]},"get"),has:a(function(T){return!!A.get(T)},"has"),keys:a(function(){return h.map(function(T){var E=i(T,1),x=E[0];return x})},"keys"),values:a(function(){return h.map(function(T){var E=i(T,2),x=E[1];return x})},"values")},R=(0,r.default)(A,A.entries());e.default=R}),OD=S(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=n(ti()),r=n(pp());function n(E){return E&&E.__esModule?E:{default:E}}a(n,"_interopRequireDefault");function o(E,x){return l(E)||s(E,x)||u(E,x)||i()}a(o,"_slicedToArray");function i(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
26
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}a(i,"_nonIterableRest");function s(E,x){var C=E==null?null:typeof Symbol<"u"&&E[Symbol.iterator]||E["@@iterator"];if(C!=null){var k=[],I=!0,U=!1,D,O;try{for(C=C.call(E);!(I=(D=C.next()).done)&&(k.push(D.value),!(x&&k.length===x));I=!0);}catch(M){U=!0,O=M}finally{try{!I&&C.return!=null&&C.return()}finally{if(U)throw O}}return k}}a(s,"_iterableToArrayLimit");function l(E){if(Array.isArray(E))return E}a(l,"_arrayWithHoles");function c(E,x){var C=typeof Symbol<"u"&&E[Symbol.iterator]||E["@@iterator"];if(!C){if(Array.isArray(E)||(C=u(E))||x&&E&&typeof E.length=="number"){C&&(E=C);var k=0,I=a(function(){},"F");return{s:I,n:a(function(){return k>=E.length?{done:!0}:{done:!1,value:E[k++]}},"n"),e:a(function(M){throw M},"e"),f:I}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
27
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var U=!0,D=!1,O;return{s:a(function(){C=C.call(E)},"s"),n:a(function(){var M=C.next();return U=M.done,M},"n"),e:a(function(M){D=!0,O=M},"e"),f:a(function(){try{!U&&C.return!=null&&C.return()}finally{if(D)throw O}},"f")}}a(c,"_createForOfIteratorHelper");function u(E,x){if(E){if(typeof E=="string")return d(E,x);var C=Object.prototype.toString.call(E).slice(8,-1);if(C==="Object"&&E.constructor&&(C=E.constructor.name),C==="Map"||C==="Set")return Array.from(E);if(C==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(C))return d(E,x)}}a(u,"_unsupportedIterableToArray");function d(E,x){(x==null||x>E.length)&&(x=E.length);for(var C=0,k=new Array(x);C<x;C++)k[C]=E[C];return k}a(d,"_arrayLikeToArray");var p=[],h=r.default.keys();for(A=0;A<h.length;A++)if(f=h[A],m=r.default.get(f),b=[],m){for(g=[].concat(m.baseConcepts,m.relatedConcepts),P=0;P<g.length;P++)v=g[P],v.module==="HTML"&&(w=v.concept,w!=null&&b.push(w));b.length>0&&p.push([f,b])}var f,m,b,g,v,w,P,A,R={entries:a(function(){return p},"entries"),forEach:a(function(E){var x=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,C=c(p),k;try{for(C.s();!(k=C.n()).done;){var I=o(k.value,2),U=I[0],D=I[1];E.call(x,D,U,p)}}catch(O){C.e(O)}finally{C.f()}},"forEach"),get:a(function(E){var x=p.find(function(C){return C[0]===E});return x&&x[1]},"get"),has:a(function(E){return!!R.get(E)},"has"),keys:a(function(){return p.map(function(E){var x=o(E,1),C=x[0];return C})},"keys"),values:a(function(){return p.map(function(E){var x=o(E,2),C=x[1];return C})},"values")},T=(0,t.default)(R,R.entries());e.default=T}),_D=S(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.roles=e.roleElements=e.elementRoles=e.dom=e.aria=void 0;var t=s(VM()),r=s(JM()),n=s(pp()),o=s(PD()),i=s(OD());function s(h){return h&&h.__esModule?h:{default:h}}a(s,"_interopRequireDefault");var l=t.default;e.aria=l;var c=r.default;e.dom=c;var u=n.default;e.roles=u;var d=o.default;e.elementRoles=d;var p=i.default;e.roleElements=p}),AD=S((e,t)=>{var r=(function(){var n=String.fromCharCode,o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+-$",s={};function l(u,d){if(!s[u]){s[u]={};for(var p=0;p<u.length;p++)s[u][u.charAt(p)]=p}return s[u][d]}a(l,"getBaseValue");var c={compressToBase64:a(function(u){if(u==null)return"";var d=c._compress(u,6,function(p){return o.charAt(p)});switch(d.length%4){default:case 0:return d;case 1:return d+"===";case 2:return d+"==";case 3:return d+"="}},"compressToBase64"),decompressFromBase64:a(function(u){return u==null?"":u==""?null:c._decompress(u.length,32,function(d){return l(o,u.charAt(d))})},"decompressFromBase64"),compressToUTF16:a(function(u){return u==null?"":c._compress(u,15,function(d){return n(d+32)})+" "},"compressToUTF16"),decompressFromUTF16:a(function(u){return u==null?"":u==""?null:c._decompress(u.length,16384,function(d){return u.charCodeAt(d)-32})},"decompressFromUTF16"),compressToUint8Array:a(function(u){for(var d=c.compress(u),p=new Uint8Array(d.length*2),h=0,f=d.length;h<f;h++){var m=d.charCodeAt(h);p[h*2]=m>>>8,p[h*2+1]=m%256}return p},"compressToUint8Array"),decompressFromUint8Array:a(function(u){if(u==null)return c.decompress(u);for(var d=new Array(u.length/2),p=0,h=d.length;p<h;p++)d[p]=u[p*2]*256+u[p*2+1];var f=[];return d.forEach(function(m){f.push(n(m))}),c.decompress(f.join(""))},"decompressFromUint8Array"),compressToEncodedURIComponent:a(function(u){return u==null?"":c._compress(u,6,function(d){return i.charAt(d)})},"compressToEncodedURIComponent"),decompressFromEncodedURIComponent:a(function(u){return u==null?"":u==""?null:(u=u.replace(/ /g,"+"),c._decompress(u.length,32,function(d){return l(i,u.charAt(d))}))},"decompressFromEncodedURIComponent"),compress:a(function(u){return c._compress(u,16,function(d){return n(d)})},"compress"),_compress:a(function(u,d,p){if(u==null)return"";var h,f,m={},b={},g="",v="",w="",P=2,A=3,R=2,T=[],E=0,x=0,C;for(C=0;C<u.length;C+=1)if(g=u.charAt(C),Object.prototype.hasOwnProperty.call(m,g)||(m[g]=A++,b[g]=!0),v=w+g,Object.prototype.hasOwnProperty.call(m,v))w=v;else{if(Object.prototype.hasOwnProperty.call(b,w)){if(w.charCodeAt(0)<256){for(h=0;h<R;h++)E=E<<1,x==d-1?(x=0,T.push(p(E)),E=0):x++;for(f=w.charCodeAt(0),h=0;h<8;h++)E=E<<1|f&1,x==d-1?(x=0,T.push(p(E)),E=0):x++,f=f>>1}else{for(f=1,h=0;h<R;h++)E=E<<1|f,x==d-1?(x=0,T.push(p(E)),E=0):x++,f=0;for(f=w.charCodeAt(0),h=0;h<16;h++)E=E<<1|f&1,x==d-1?(x=0,T.push(p(E)),E=0):x++,f=f>>1}P--,P==0&&(P=Math.pow(2,R),R++),delete b[w]}else for(f=m[w],h=0;h<R;h++)E=E<<1|f&1,x==d-1?(x=0,T.push(p(E)),E=0):x++,f=f>>1;P--,P==0&&(P=Math.pow(2,R),R++),m[v]=A++,w=String(g)}if(w!==""){if(Object.prototype.hasOwnProperty.call(b,w)){if(w.charCodeAt(0)<256){for(h=0;h<R;h++)E=E<<1,x==d-1?(x=0,T.push(p(E)),E=0):x++;for(f=w.charCodeAt(0),h=0;h<8;h++)E=E<<1|f&1,x==d-1?(x=0,T.push(p(E)),E=0):x++,f=f>>1}else{for(f=1,h=0;h<R;h++)E=E<<1|f,x==d-1?(x=0,T.push(p(E)),E=0):x++,f=0;for(f=w.charCodeAt(0),h=0;h<16;h++)E=E<<1|f&1,x==d-1?(x=0,T.push(p(E)),E=0):x++,f=f>>1}P--,P==0&&(P=Math.pow(2,R),R++),delete b[w]}else for(f=m[w],h=0;h<R;h++)E=E<<1|f&1,x==d-1?(x=0,T.push(p(E)),E=0):x++,f=f>>1;P--,P==0&&(P=Math.pow(2,R),R++)}for(f=2,h=0;h<R;h++)E=E<<1|f&1,x==d-1?(x=0,T.push(p(E)),E=0):x++,f=f>>1;for(;;)if(E=E<<1,x==d-1){T.push(p(E));break}else x++;return T.join("")},"_compress"),decompress:a(function(u){return u==null?"":u==""?null:c._decompress(u.length,32768,function(d){return u.charCodeAt(d)})},"decompress"),_decompress:a(function(u,d,p){var h=[],f=4,m=4,b=3,g="",v=[],w,P,A,R,T,E,x,C={val:p(0),position:d,index:1};for(w=0;w<3;w+=1)h[w]=w;for(A=0,T=Math.pow(2,2),E=1;E!=T;)R=C.val&C.position,C.position>>=1,C.position==0&&(C.position=d,C.val=p(C.index++)),A|=(R>0?1:0)*E,E<<=1;switch(A){case 0:for(A=0,T=Math.pow(2,8),E=1;E!=T;)R=C.val&C.position,C.position>>=1,C.position==0&&(C.position=d,C.val=p(C.index++)),A|=(R>0?1:0)*E,E<<=1;x=n(A);break;case 1:for(A=0,T=Math.pow(2,16),E=1;E!=T;)R=C.val&C.position,C.position>>=1,C.position==0&&(C.position=d,C.val=p(C.index++)),A|=(R>0?1:0)*E,E<<=1;x=n(A);break;case 2:return""}for(h[3]=x,P=x,v.push(x);;){if(C.index>u)return"";for(A=0,T=Math.pow(2,b),E=1;E!=T;)R=C.val&C.position,C.position>>=1,C.position==0&&(C.position=d,C.val=p(C.index++)),A|=(R>0?1:0)*E,E<<=1;switch(x=A){case 0:for(A=0,T=Math.pow(2,8),E=1;E!=T;)R=C.val&C.position,C.position>>=1,C.position==0&&(C.position=d,C.val=p(C.index++)),A|=(R>0?1:0)*E,E<<=1;h[m++]=n(A),x=m-1,f--;break;case 1:for(A=0,T=Math.pow(2,16),E=1;E!=T;)R=C.val&C.position,C.position>>=1,C.position==0&&(C.position=d,C.val=p(C.index++)),A|=(R>0?1:0)*E,E<<=1;h[m++]=n(A),x=m-1,f--;break;case 2:return v.join("")}if(f==0&&(f=Math.pow(2,b),b++),h[x])g=h[x];else if(x===m)g=P+P.charAt(0);else return null;v.push(g),h[m++]=P+g.charAt(0),f--,P=g,f==0&&(f=Math.pow(2,b),b++)}},"_decompress")};return c})();typeof define=="function"&&define.amd?define(function(){return r}):typeof t<"u"&&t!=null?t.exports=r:typeof angular<"u"&&angular!=null&&angular.module("LZString",[]).factory("LZString",function(){return r})}),vv=S((e,t)=>{(function(r){if(typeof e=="object"&&typeof t<"u")t.exports=r();else if(typeof define=="function"&&define.amd)define([],r);else{var n;typeof window<"u"?n=window:typeof global<"u"?n=global:typeof self<"u"?n=self:n=this,n.memoizerific=r()}})(function(){return a(function r(n,o,i){function s(u,d){if(!o[u]){if(!n[u]){var p=typeof Si=="function"&&Si;if(!d&&p)return p(u,!0);if(l)return l(u,!0);var h=new Error("Cannot find module '"+u+"'");throw h.code="MODULE_NOT_FOUND",h}var f=o[u]={exports:{}};n[u][0].call(f.exports,function(m){var b=n[u][1][m];return s(b||m)},f,f.exports,r,n,o,i)}return o[u].exports}a(s,"s");for(var l=typeof Si=="function"&&Si,c=0;c<i.length;c++)s(i[c]);return s},"e")({1:[function(r,n,o){n.exports=function(i){if(typeof Map!="function"||i){var s=r("./similar");return new s}else return new Map}},{"./similar":2}],2:[function(r,n,o){function i(){return this.list=[],this.lastItem=void 0,this.size=0,this}a(i,"Similar"),i.prototype.get=function(s){var l;if(this.lastItem&&this.isEqual(this.lastItem.key,s))return this.lastItem.val;if(l=this.indexOf(s),l>=0)return this.lastItem=this.list[l],this.list[l].val},i.prototype.set=function(s,l){var c;return this.lastItem&&this.isEqual(this.lastItem.key,s)?(this.lastItem.val=l,this):(c=this.indexOf(s),c>=0?(this.lastItem=this.list[c],this.list[c].val=l,this):(this.lastItem={key:s,val:l},this.list.push(this.lastItem),this.size++,this))},i.prototype.delete=function(s){var l;if(this.lastItem&&this.isEqual(this.lastItem.key,s)&&(this.lastItem=void 0),l=this.indexOf(s),l>=0)return this.size--,this.list.splice(l,1)[0]},i.prototype.has=function(s){var l;return this.lastItem&&this.isEqual(this.lastItem.key,s)?!0:(l=this.indexOf(s),l>=0?(this.lastItem=this.list[l],!0):!1)},i.prototype.forEach=function(s,l){var c;for(c=0;c<this.size;c++)s.call(l||this,this.list[c].val,this.list[c].key,this)},i.prototype.indexOf=function(s){var l;for(l=0;l<this.size;l++)if(this.isEqual(this.list[l].key,s))return l;return-1},i.prototype.isEqual=function(s,l){return s===l||s!==s&&l!==l},n.exports=i},{}],3:[function(r,n,o){var i=r("map-or-similar");n.exports=function(u){var d=new i(!1),p=[];return function(h){var f=a(function(){var m=d,b,g,v=arguments.length-1,w=Array(v+1),P=!0,A;if((f.numArgs||f.numArgs===0)&&f.numArgs!==v+1)throw new Error("Memoizerific functions should always be called with the same number of arguments");for(A=0;A<v;A++){if(w[A]={cacheItem:m,arg:arguments[A]},m.has(arguments[A])){m=m.get(arguments[A]);continue}P=!1,b=new i(!1),m.set(arguments[A],b),m=b}return P&&(m.has(arguments[v])?g=m.get(arguments[v]):P=!1),P||(g=h.apply(null,arguments),m.set(arguments[v],g)),u>0&&(w[v]={cacheItem:m,arg:arguments[v]},P?s(p,w):p.push(w),p.length>u&&l(p.shift())),f.wasMemoized=P,f.numArgs=v+1,g},"memoizerific");return f.limit=u,f.wasMemoized=!1,f.cache=d,f.lru=p,f}};function s(u,d){var p=u.length,h=d.length,f,m,b;for(m=0;m<p;m++){for(f=!0,b=0;b<h;b++)if(!c(u[m][b].arg,d[b].arg)){f=!1;break}if(f)break}u.push(u.splice(m,1)[0])}a(s,"moveToMostRecentLru");function l(u){var d=u.length,p=u[d-1],h,f;for(p.cacheItem.delete(p.arg),f=d-2;f>=0&&(p=u[f],h=p.cacheItem.get(p.arg),!h||!h.size);f--)p.cacheItem.delete(p.arg)}a(l,"removeCachedResult");function c(u,d){return u===d||u!==u&&d!==d}a(c,"isEqual")},{"map-or-similar":1}]},{},[3])(3)})}),wv=S(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.encodeString=n;var t=Array.from({length:256},(o,i)=>"%"+((i<16?"0":"")+i.toString(16)).toUpperCase()),r=new Int8Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,1,1,1,1,0,0,1,1,0,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,1,0]);function n(o){let i=o.length;if(i===0)return"";let s="",l=0,c=0;e:for(;c<i;c++){let u=o.charCodeAt(c);for(;u<128;){if(r[u]!==1&&(l<c&&(s+=o.slice(l,c)),l=c+1,s+=t[u]),++c===i)break e;u=o.charCodeAt(c)}if(l<c&&(s+=o.slice(l,c)),u<2048){l=c+1,s+=t[192|u>>6]+t[128|u&63];continue}if(u<55296||u>=57344){l=c+1,s+=t[224|u>>12]+t[128|u>>6&63]+t[128|u&63];continue}if(++c,c>=i)throw new Error("URI malformed");let d=o.charCodeAt(c)&1023;l=c+1,u=65536+((u&1023)<<10|d),s+=t[240|u>>18]+t[128|u>>12&63]+t[128|u>>6&63]+t[128|u&63]}return l===0?o:l<i?s+o.slice(l):s}a(n,"encodeString")}),fp=S(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.defaultOptions=e.defaultShouldSerializeObject=e.defaultValueSerializer=void 0;var t=wv(),r=a(i=>{switch(typeof i){case"string":return(0,t.encodeString)(i);case"bigint":case"boolean":return""+i;case"number":if(Number.isFinite(i))return i<1e21?""+i:(0,t.encodeString)(""+i);break}return i instanceof Date?(0,t.encodeString)(i.toISOString()):""},"defaultValueSerializer");e.defaultValueSerializer=r;var n=a(i=>i instanceof Date,"defaultShouldSerializeObject");e.defaultShouldSerializeObject=n;var o=a(i=>i,"identityFunc");e.defaultOptions={nesting:!0,nestingSyntax:"dot",arrayRepeat:!1,arrayRepeatSyntax:"repeat",delimiter:38,valueDeserializer:o,valueSerializer:e.defaultValueSerializer,keyDeserializer:o,shouldSerializeObject:e.defaultShouldSerializeObject}}),Ev=S(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.getDeepObject=o,e.stringifyObject=d;var t=fp(),r=wv();function n(p){return p==="__proto__"||p==="constructor"||p==="prototype"}a(n,"isPrototypeKey");function o(p,h,f,m,b){if(n(h))return p;let g=p[h];return typeof g=="object"&&g!==null?g:!m&&(b||typeof f=="number"||typeof f=="string"&&f*0===0&&f.indexOf(".")===-1)?p[h]=[]:p[h]={}}a(o,"getDeepObject");var i=20,s="[]",l="[",c="]",u=".";function d(p,h,f=0,m,b){let{nestingSyntax:g=t.defaultOptions.nestingSyntax,arrayRepeat:v=t.defaultOptions.arrayRepeat,arrayRepeatSyntax:w=t.defaultOptions.arrayRepeatSyntax,nesting:P=t.defaultOptions.nesting,delimiter:A=t.defaultOptions.delimiter,valueSerializer:R=t.defaultOptions.valueSerializer,shouldSerializeObject:T=t.defaultOptions.shouldSerializeObject}=h,E=typeof A=="number"?String.fromCharCode(A):A,x=b===!0&&v,C=g==="dot"||g==="js"&&!b;if(f>i)return"";let k="",I=!0,U=!1;for(let D in p){let O=p[D],M;m?(M=m,x?w==="bracket"&&(M+=s):C?(M+=u,M+=D):(M+=l,M+=D,M+=c)):M=D,I||(k+=E),typeof O=="object"&&O!==null&&!T(O)?(U=O.pop!==void 0,(P||v&&U)&&(k+=d(O,h,f+1,M,U))):(k+=(0,r.encodeString)(M),k+="=",k+=R(O,D)),I&&(I=!1)}return k}a(d,"stringifyObject")}),RD=S((e,t)=>{var r=12,n=0,o=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,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(c){var u=c.indexOf("%");if(u===-1)return c;for(var d=c.length,p="",h=0,f=0,m=u,b=r;u>-1&&u<d;){var g=l(c[u+1],4),v=l(c[u+2],0),w=g|v,P=o[w];if(b=o[256+b+P],f=f<<6|w&o[364+P],b===r)p+=c.slice(h,m),p+=f<=65535?String.fromCharCode(f):String.fromCharCode(55232+(f>>10),56320+(f&1023)),f=0,h=u+3,u=m=c.indexOf("%",h);else{if(b===n)return null;if(u+=3,u<d&&c.charCodeAt(u)===37)continue;return null}}return p+c.slice(h)}a(i,"decodeURIComponent");var s={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,a:10,A:10,b:11,B:11,c:12,C:12,d:13,D:13,e:14,E:14,f:15,F:15};function l(c,u){var d=s[c];return d===void 0?255:d<<u}a(l,"hexCodeToInt"),t.exports=i}),qD=S(e=>{var t=e&&e.__importDefault||function(p){return p&&p.__esModule?p:{default:p}};Object.defineProperty(e,"__esModule",{value:!0}),e.numberValueDeserializer=e.numberKeyDeserializer=void 0,e.parse=d;var r=Ev(),n=fp(),o=t(RD()),i=a(p=>{let h=Number(p);return Number.isNaN(h)?p:h},"numberKeyDeserializer");e.numberKeyDeserializer=i;var s=a(p=>{let h=Number(p);return Number.isNaN(h)?p:h},"numberValueDeserializer");e.numberValueDeserializer=s;var l=/\+/g,c=a(function(){},"Empty");c.prototype=Object.create(null);function u(p,h,f,m,b){let g=p.substring(h,f);return m&&(g=g.replace(l," ")),b&&(g=(0,o.default)(g)||g),g}a(u,"computeKeySlice");function d(p,h){let{valueDeserializer:f=n.defaultOptions.valueDeserializer,keyDeserializer:m=n.defaultOptions.keyDeserializer,arrayRepeatSyntax:b=n.defaultOptions.arrayRepeatSyntax,nesting:g=n.defaultOptions.nesting,arrayRepeat:v=n.defaultOptions.arrayRepeat,nestingSyntax:w=n.defaultOptions.nestingSyntax,delimiter:P=n.defaultOptions.delimiter}=h??{},A=typeof P=="string"?P.charCodeAt(0):P,R=w==="js",T=new c;if(typeof p!="string")return T;let E=p.length,x="",C=-1,k=-1,I=-1,U=T,D,O="",M="",$=!1,K=!1,G=!1,re=!1,ae=!1,Z=!1,W=!1,z=0,Y=-1,ne=-1,X=-1;for(let se=0;se<E+1;se++){if(z=se!==E?p.charCodeAt(se):A,z===A){if(W=k>C,W||(k=se),I!==k-1&&(M=u(p,I+1,Y>-1?Y:k,G,$),O=m(M),D!==void 0&&(U=(0,r.getDeepObject)(U,D,O,R&&ae,R&&Z))),W||O!==""){W&&(x=p.slice(k+1,se),re&&(x=x.replace(l," ")),K&&(x=(0,o.default)(x)||x));let ce=f(x,O);if(v){let Me=U[O];Me===void 0?Y>-1?U[O]=[ce]:U[O]=ce:Me.pop?Me.push(ce):U[O]=[Me,ce]}else U[O]=ce}x="",C=se,k=se,$=!1,K=!1,G=!1,re=!1,ae=!1,Z=!1,Y=-1,I=se,U=T,D=void 0,O=""}else z===93?(v&&b==="bracket"&&X===91&&(Y=ne),g&&(w==="index"||R)&&k<=C&&(I!==ne&&(M=u(p,I+1,se,G,$),O=m(M),D!==void 0&&(U=(0,r.getDeepObject)(U,D,O,void 0,R)),D=O,G=!1,$=!1),I=se,Z=!0,ae=!1)):z===46?g&&(w==="dot"||R)&&k<=C&&(I!==ne&&(M=u(p,I+1,se,G,$),O=m(M),D!==void 0&&(U=(0,r.getDeepObject)(U,D,O,R)),D=O,G=!1,$=!1),ae=!0,Z=!1,I=se):z===91?g&&(w==="index"||R)&&k<=C&&(I!==ne&&(M=u(p,I+1,se,G,$),O=m(M),R&&D!==void 0&&(U=(0,r.getDeepObject)(U,D,O,R)),D=O,G=!1,$=!1,ae=!1,Z=!0),I=se):z===61?k<=C?k=se:K=!0:z===43?k>C?re=!0:G=!0:z===37&&(k>C?K=!0:$=!0);ne=se,X=z}return T}a(d,"parse")}),ID=S(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.stringify=r;var t=Ev();function r(n,o){if(n===null||typeof n!="object")return"";let i=o??{};return(0,t.stringifyObject)(n,i)}a(r,"stringify")}),hp=S(e=>{var t=e&&e.__createBinding||(Object.create?function(i,s,l,c){c===void 0&&(c=l);var u=Object.getOwnPropertyDescriptor(s,l);(!u||("get"in u?!s.__esModule:u.writable||u.configurable))&&(u={enumerable:!0,get:a(function(){return s[l]},"get")}),Object.defineProperty(i,c,u)}:function(i,s,l,c){c===void 0&&(c=l),i[c]=s[l]}),r=e&&e.__exportStar||function(i,s){for(var l in i)l!=="default"&&!Object.prototype.hasOwnProperty.call(s,l)&&t(s,i,l)};Object.defineProperty(e,"__esModule",{value:!0}),e.stringify=e.parse=void 0;var n=qD();Object.defineProperty(e,"parse",{enumerable:!0,get:a(function(){return n.parse},"get")});var o=ID();Object.defineProperty(e,"stringify",{enumerable:!0,get:a(function(){return o.stringify},"get")}),r(fp(),e)}),xv=S((e,t)=>{t.exports={Aacute:"Á",aacute:"á",Abreve:"Ă",abreve:"ă",ac:"∾",acd:"∿",acE:"∾̳",Acirc:"Â",acirc:"â",acute:"´",Acy:"А",acy:"а",AElig:"Æ",aelig:"æ",af:"⁡",Afr:"𝔄",afr:"𝔞",Agrave:"À",agrave:"à",alefsym:"ℵ",aleph:"ℵ",Alpha:"Α",alpha:"α",Amacr:"Ā",amacr:"ā",amalg:"⨿",amp:"&",AMP:"&",andand:"⩕",And:"⩓",and:"∧",andd:"⩜",andslope:"⩘",andv:"⩚",ang:"∠",ange:"⦤",angle:"∠",angmsdaa:"⦨",angmsdab:"⦩",angmsdac:"⦪",angmsdad:"⦫",angmsdae:"⦬",angmsdaf:"⦭",angmsdag:"⦮",angmsdah:"⦯",angmsd:"∡",angrt:"∟",angrtvb:"⊾",angrtvbd:"⦝",angsph:"∢",angst:"Å",angzarr:"⍼",Aogon:"Ą",aogon:"ą",Aopf:"𝔸",aopf:"𝕒",apacir:"⩯",ap:"≈",apE:"⩰",ape:"≊",apid:"≋",apos:"'",ApplyFunction:"⁡",approx:"≈",approxeq:"≊",Aring:"Å",aring:"å",Ascr:"𝒜",ascr:"𝒶",Assign:"≔",ast:"*",asymp:"≈",asympeq:"≍",Atilde:"Ã",atilde:"ã",Auml:"Ä",auml:"ä",awconint:"∳",awint:"⨑",backcong:"≌",backepsilon:"϶",backprime:"‵",backsim:"∽",backsimeq:"⋍",Backslash:"∖",Barv:"⫧",barvee:"⊽",barwed:"⌅",Barwed:"⌆",barwedge:"⌅",bbrk:"⎵",bbrktbrk:"⎶",bcong:"≌",Bcy:"Б",bcy:"б",bdquo:"„",becaus:"∵",because:"∵",Because:"∵",bemptyv:"⦰",bepsi:"϶",bernou:"ℬ",Bernoullis:"ℬ",Beta:"Β",beta:"β",beth:"ℶ",between:"≬",Bfr:"𝔅",bfr:"𝔟",bigcap:"⋂",bigcirc:"◯",bigcup:"⋃",bigodot:"⨀",bigoplus:"⨁",bigotimes:"⨂",bigsqcup:"⨆",bigstar:"★",bigtriangledown:"▽",bigtriangleup:"△",biguplus:"⨄",bigvee:"⋁",bigwedge:"⋀",bkarow:"⤍",blacklozenge:"⧫",blacksquare:"▪",blacktriangle:"▴",blacktriangledown:"▾",blacktriangleleft:"◂",blacktriangleright:"▸",blank:"␣",blk12:"▒",blk14:"░",blk34:"▓",block:"█",bne:"=⃥",bnequiv:"≡⃥",bNot:"⫭",bnot:"⌐",Bopf:"𝔹",bopf:"𝕓",bot:"⊥",bottom:"⊥",bowtie:"⋈",boxbox:"⧉",boxdl:"┐",boxdL:"╕",boxDl:"╖",boxDL:"╗",boxdr:"┌",boxdR:"╒",boxDr:"╓",boxDR:"╔",boxh:"─",boxH:"═",boxhd:"┬",boxHd:"╤",boxhD:"╥",boxHD:"╦",boxhu:"┴",boxHu:"╧",boxhU:"╨",boxHU:"╩",boxminus:"⊟",boxplus:"⊞",boxtimes:"⊠",boxul:"┘",boxuL:"╛",boxUl:"╜",boxUL:"╝",boxur:"└",boxuR:"╘",boxUr:"╙",boxUR:"╚",boxv:"│",boxV:"║",boxvh:"┼",boxvH:"╪",boxVh:"╫",boxVH:"╬",boxvl:"┤",boxvL:"╡",boxVl:"╢",boxVL:"╣",boxvr:"├",boxvR:"╞",boxVr:"╟",boxVR:"╠",bprime:"‵",breve:"˘",Breve:"˘",brvbar:"¦",bscr:"𝒷",Bscr:"ℬ",bsemi:"⁏",bsim:"∽",bsime:"⋍",bsolb:"⧅",bsol:"\\",bsolhsub:"⟈",bull:"•",bullet:"•",bump:"≎",bumpE:"⪮",bumpe:"≏",Bumpeq:"≎",bumpeq:"≏",Cacute:"Ć",cacute:"ć",capand:"⩄",capbrcup:"⩉",capcap:"⩋",cap:"∩",Cap:"⋒",capcup:"⩇",capdot:"⩀",CapitalDifferentialD:"ⅅ",caps:"∩︀",caret:"⁁",caron:"ˇ",Cayleys:"ℭ",ccaps:"⩍",Ccaron:"Č",ccaron:"č",Ccedil:"Ç",ccedil:"ç",Ccirc:"Ĉ",ccirc:"ĉ",Cconint:"∰",ccups:"⩌",ccupssm:"⩐",Cdot:"Ċ",cdot:"ċ",cedil:"¸",Cedilla:"¸",cemptyv:"⦲",cent:"¢",centerdot:"·",CenterDot:"·",cfr:"𝔠",Cfr:"ℭ",CHcy:"Ч",chcy:"ч",check:"✓",checkmark:"✓",Chi:"Χ",chi:"χ",circ:"ˆ",circeq:"≗",circlearrowleft:"↺",circlearrowright:"↻",circledast:"⊛",circledcirc:"⊚",circleddash:"⊝",CircleDot:"⊙",circledR:"®",circledS:"Ⓢ",CircleMinus:"⊖",CirclePlus:"⊕",CircleTimes:"⊗",cir:"○",cirE:"⧃",cire:"≗",cirfnint:"⨐",cirmid:"⫯",cirscir:"⧂",ClockwiseContourIntegral:"∲",CloseCurlyDoubleQuote:"”",CloseCurlyQuote:"’",clubs:"♣",clubsuit:"♣",colon:":",Colon:"∷",Colone:"⩴",colone:"≔",coloneq:"≔",comma:",",commat:"@",comp:"∁",compfn:"∘",complement:"∁",complexes:"ℂ",cong:"≅",congdot:"⩭",Congruent:"≡",conint:"∮",Conint:"∯",ContourIntegral:"∮",copf:"𝕔",Copf:"ℂ",coprod:"∐",Coproduct:"∐",copy:"©",COPY:"©",copysr:"℗",CounterClockwiseContourIntegral:"∳",crarr:"↵",cross:"✗",Cross:"⨯",Cscr:"𝒞",cscr:"𝒸",csub:"⫏",csube:"⫑",csup:"⫐",csupe:"⫒",ctdot:"⋯",cudarrl:"⤸",cudarrr:"⤵",cuepr:"⋞",cuesc:"⋟",cularr:"↶",cularrp:"⤽",cupbrcap:"⩈",cupcap:"⩆",CupCap:"≍",cup:"∪",Cup:"⋓",cupcup:"⩊",cupdot:"⊍",cupor:"⩅",cups:"∪︀",curarr:"↷",curarrm:"⤼",curlyeqprec:"⋞",curlyeqsucc:"⋟",curlyvee:"⋎",curlywedge:"⋏",curren:"¤",curvearrowleft:"↶",curvearrowright:"↷",cuvee:"⋎",cuwed:"⋏",cwconint:"∲",cwint:"∱",cylcty:"⌭",dagger:"†",Dagger:"‡",daleth:"ℸ",darr:"↓",Darr:"↡",dArr:"⇓",dash:"‐",Dashv:"⫤",dashv:"⊣",dbkarow:"⤏",dblac:"˝",Dcaron:"Ď",dcaron:"ď",Dcy:"Д",dcy:"д",ddagger:"‡",ddarr:"⇊",DD:"ⅅ",dd:"ⅆ",DDotrahd:"⤑",ddotseq:"⩷",deg:"°",Del:"∇",Delta:"Δ",delta:"δ",demptyv:"⦱",dfisht:"⥿",Dfr:"𝔇",dfr:"𝔡",dHar:"⥥",dharl:"⇃",dharr:"⇂",DiacriticalAcute:"´",DiacriticalDot:"˙",DiacriticalDoubleAcute:"˝",DiacriticalGrave:"`",DiacriticalTilde:"˜",diam:"⋄",diamond:"⋄",Diamond:"⋄",diamondsuit:"♦",diams:"♦",die:"¨",DifferentialD:"ⅆ",digamma:"ϝ",disin:"⋲",div:"÷",divide:"÷",divideontimes:"⋇",divonx:"⋇",DJcy:"Ђ",djcy:"ђ",dlcorn:"⌞",dlcrop:"⌍",dollar:"$",Dopf:"𝔻",dopf:"𝕕",Dot:"¨",dot:"˙",DotDot:"⃜",doteq:"≐",doteqdot:"≑",DotEqual:"≐",dotminus:"∸",dotplus:"∔",dotsquare:"⊡",doublebarwedge:"⌆",DoubleContourIntegral:"∯",DoubleDot:"¨",DoubleDownArrow:"⇓",DoubleLeftArrow:"⇐",DoubleLeftRightArrow:"⇔",DoubleLeftTee:"⫤",DoubleLongLeftArrow:"⟸",DoubleLongLeftRightArrow:"⟺",DoubleLongRightArrow:"⟹",DoubleRightArrow:"⇒",DoubleRightTee:"⊨",DoubleUpArrow:"⇑",DoubleUpDownArrow:"⇕",DoubleVerticalBar:"∥",DownArrowBar:"⤓",downarrow:"↓",DownArrow:"↓",Downarrow:"⇓",DownArrowUpArrow:"⇵",DownBreve:"̑",downdownarrows:"⇊",downharpoonleft:"⇃",downharpoonright:"⇂",DownLeftRightVector:"⥐",DownLeftTeeVector:"⥞",DownLeftVectorBar:"⥖",DownLeftVector:"↽",DownRightTeeVector:"⥟",DownRightVectorBar:"⥗",DownRightVector:"⇁",DownTeeArrow:"↧",DownTee:"⊤",drbkarow:"⤐",drcorn:"⌟",drcrop:"⌌",Dscr:"𝒟",dscr:"𝒹",DScy:"Ѕ",dscy:"ѕ",dsol:"⧶",Dstrok:"Đ",dstrok:"đ",dtdot:"⋱",dtri:"▿",dtrif:"▾",duarr:"⇵",duhar:"⥯",dwangle:"⦦",DZcy:"Џ",dzcy:"џ",dzigrarr:"⟿",Eacute:"É",eacute:"é",easter:"⩮",Ecaron:"Ě",ecaron:"ě",Ecirc:"Ê",ecirc:"ê",ecir:"≖",ecolon:"≕",Ecy:"Э",ecy:"э",eDDot:"⩷",Edot:"Ė",edot:"ė",eDot:"≑",ee:"ⅇ",efDot:"≒",Efr:"𝔈",efr:"𝔢",eg:"⪚",Egrave:"È",egrave:"è",egs:"⪖",egsdot:"⪘",el:"⪙",Element:"∈",elinters:"⏧",ell:"ℓ",els:"⪕",elsdot:"⪗",Emacr:"Ē",emacr:"ē",empty:"∅",emptyset:"∅",EmptySmallSquare:"◻",emptyv:"∅",EmptyVerySmallSquare:"▫",emsp13:" ",emsp14:" ",emsp:" ",ENG:"Ŋ",eng:"ŋ",ensp:" ",Eogon:"Ę",eogon:"ę",Eopf:"𝔼",eopf:"𝕖",epar:"⋕",eparsl:"⧣",eplus:"⩱",epsi:"ε",Epsilon:"Ε",epsilon:"ε",epsiv:"ϵ",eqcirc:"≖",eqcolon:"≕",eqsim:"≂",eqslantgtr:"⪖",eqslantless:"⪕",Equal:"⩵",equals:"=",EqualTilde:"≂",equest:"≟",Equilibrium:"⇌",equiv:"≡",equivDD:"⩸",eqvparsl:"⧥",erarr:"⥱",erDot:"≓",escr:"ℯ",Escr:"ℰ",esdot:"≐",Esim:"⩳",esim:"≂",Eta:"Η",eta:"η",ETH:"Ð",eth:"ð",Euml:"Ë",euml:"ë",euro:"€",excl:"!",exist:"∃",Exists:"∃",expectation:"ℰ",exponentiale:"ⅇ",ExponentialE:"ⅇ",fallingdotseq:"≒",Fcy:"Ф",fcy:"ф",female:"♀",ffilig:"ffi",fflig:"ff",ffllig:"ffl",Ffr:"𝔉",ffr:"𝔣",filig:"fi",FilledSmallSquare:"◼",FilledVerySmallSquare:"▪",fjlig:"fj",flat:"♭",fllig:"fl",fltns:"▱",fnof:"ƒ",Fopf:"𝔽",fopf:"𝕗",forall:"∀",ForAll:"∀",fork:"⋔",forkv:"⫙",Fouriertrf:"ℱ",fpartint:"⨍",frac12:"½",frac13:"⅓",frac14:"¼",frac15:"⅕",frac16:"⅙",frac18:"⅛",frac23:"⅔",frac25:"⅖",frac34:"¾",frac35:"⅗",frac38:"⅜",frac45:"⅘",frac56:"⅚",frac58:"⅝",frac78:"⅞",frasl:"⁄",frown:"⌢",fscr:"𝒻",Fscr:"ℱ",gacute:"ǵ",Gamma:"Γ",gamma:"γ",Gammad:"Ϝ",gammad:"ϝ",gap:"⪆",Gbreve:"Ğ",gbreve:"ğ",Gcedil:"Ģ",Gcirc:"Ĝ",gcirc:"ĝ",Gcy:"Г",gcy:"г",Gdot:"Ġ",gdot:"ġ",ge:"≥",gE:"≧",gEl:"⪌",gel:"⋛",geq:"≥",geqq:"≧",geqslant:"⩾",gescc:"⪩",ges:"⩾",gesdot:"⪀",gesdoto:"⪂",gesdotol:"⪄",gesl:"⋛︀",gesles:"⪔",Gfr:"𝔊",gfr:"𝔤",gg:"≫",Gg:"⋙",ggg:"⋙",gimel:"ℷ",GJcy:"Ѓ",gjcy:"ѓ",gla:"⪥",gl:"≷",glE:"⪒",glj:"⪤",gnap:"⪊",gnapprox:"⪊",gne:"⪈",gnE:"≩",gneq:"⪈",gneqq:"≩",gnsim:"⋧",Gopf:"𝔾",gopf:"𝕘",grave:"`",GreaterEqual:"≥",GreaterEqualLess:"⋛",GreaterFullEqual:"≧",GreaterGreater:"⪢",GreaterLess:"≷",GreaterSlantEqual:"⩾",GreaterTilde:"≳",Gscr:"𝒢",gscr:"ℊ",gsim:"≳",gsime:"⪎",gsiml:"⪐",gtcc:"⪧",gtcir:"⩺",gt:">",GT:">",Gt:"≫",gtdot:"⋗",gtlPar:"⦕",gtquest:"⩼",gtrapprox:"⪆",gtrarr:"⥸",gtrdot:"⋗",gtreqless:"⋛",gtreqqless:"⪌",gtrless:"≷",gtrsim:"≳",gvertneqq:"≩︀",gvnE:"≩︀",Hacek:"ˇ",hairsp:" ",half:"½",hamilt:"ℋ",HARDcy:"Ъ",hardcy:"ъ",harrcir:"⥈",harr:"↔",hArr:"⇔",harrw:"↭",Hat:"^",hbar:"ℏ",Hcirc:"Ĥ",hcirc:"ĥ",hearts:"♥",heartsuit:"♥",hellip:"…",hercon:"⊹",hfr:"𝔥",Hfr:"ℌ",HilbertSpace:"ℋ",hksearow:"⤥",hkswarow:"⤦",hoarr:"⇿",homtht:"∻",hookleftarrow:"↩",hookrightarrow:"↪",hopf:"𝕙",Hopf:"ℍ",horbar:"―",HorizontalLine:"─",hscr:"𝒽",Hscr:"ℋ",hslash:"ℏ",Hstrok:"Ħ",hstrok:"ħ",HumpDownHump:"≎",HumpEqual:"≏",hybull:"⁃",hyphen:"‐",Iacute:"Í",iacute:"í",ic:"⁣",Icirc:"Î",icirc:"î",Icy:"И",icy:"и",Idot:"İ",IEcy:"Е",iecy:"е",iexcl:"¡",iff:"⇔",ifr:"𝔦",Ifr:"ℑ",Igrave:"Ì",igrave:"ì",ii:"ⅈ",iiiint:"⨌",iiint:"∭",iinfin:"⧜",iiota:"℩",IJlig:"IJ",ijlig:"ij",Imacr:"Ī",imacr:"ī",image:"ℑ",ImaginaryI:"ⅈ",imagline:"ℐ",imagpart:"ℑ",imath:"ı",Im:"ℑ",imof:"⊷",imped:"Ƶ",Implies:"⇒",incare:"℅",in:"∈",infin:"∞",infintie:"⧝",inodot:"ı",intcal:"⊺",int:"∫",Int:"∬",integers:"ℤ",Integral:"∫",intercal:"⊺",Intersection:"⋂",intlarhk:"⨗",intprod:"⨼",InvisibleComma:"⁣",InvisibleTimes:"⁢",IOcy:"Ё",iocy:"ё",Iogon:"Į",iogon:"į",Iopf:"𝕀",iopf:"𝕚",Iota:"Ι",iota:"ι",iprod:"⨼",iquest:"¿",iscr:"𝒾",Iscr:"ℐ",isin:"∈",isindot:"⋵",isinE:"⋹",isins:"⋴",isinsv:"⋳",isinv:"∈",it:"⁢",Itilde:"Ĩ",itilde:"ĩ",Iukcy:"І",iukcy:"і",Iuml:"Ï",iuml:"ï",Jcirc:"Ĵ",jcirc:"ĵ",Jcy:"Й",jcy:"й",Jfr:"𝔍",jfr:"𝔧",jmath:"ȷ",Jopf:"𝕁",jopf:"𝕛",Jscr:"𝒥",jscr:"𝒿",Jsercy:"Ј",jsercy:"ј",Jukcy:"Є",jukcy:"є",Kappa:"Κ",kappa:"κ",kappav:"ϰ",Kcedil:"Ķ",kcedil:"ķ",Kcy:"К",kcy:"к",Kfr:"𝔎",kfr:"𝔨",kgreen:"ĸ",KHcy:"Х",khcy:"х",KJcy:"Ќ",kjcy:"ќ",Kopf:"𝕂",kopf:"𝕜",Kscr:"𝒦",kscr:"𝓀",lAarr:"⇚",Lacute:"Ĺ",lacute:"ĺ",laemptyv:"⦴",lagran:"ℒ",Lambda:"Λ",lambda:"λ",lang:"⟨",Lang:"⟪",langd:"⦑",langle:"⟨",lap:"⪅",Laplacetrf:"ℒ",laquo:"«",larrb:"⇤",larrbfs:"⤟",larr:"←",Larr:"↞",lArr:"⇐",larrfs:"⤝",larrhk:"↩",larrlp:"↫",larrpl:"⤹",larrsim:"⥳",larrtl:"↢",latail:"⤙",lAtail:"⤛",lat:"⪫",late:"⪭",lates:"⪭︀",lbarr:"⤌",lBarr:"⤎",lbbrk:"❲",lbrace:"{",lbrack:"[",lbrke:"⦋",lbrksld:"⦏",lbrkslu:"⦍",Lcaron:"Ľ",lcaron:"ľ",Lcedil:"Ļ",lcedil:"ļ",lceil:"⌈",lcub:"{",Lcy:"Л",lcy:"л",ldca:"⤶",ldquo:"“",ldquor:"„",ldrdhar:"⥧",ldrushar:"⥋",ldsh:"↲",le:"≤",lE:"≦",LeftAngleBracket:"⟨",LeftArrowBar:"⇤",leftarrow:"←",LeftArrow:"←",Leftarrow:"⇐",LeftArrowRightArrow:"⇆",leftarrowtail:"↢",LeftCeiling:"⌈",LeftDoubleBracket:"⟦",LeftDownTeeVector:"⥡",LeftDownVectorBar:"⥙",LeftDownVector:"⇃",LeftFloor:"⌊",leftharpoondown:"↽",leftharpoonup:"↼",leftleftarrows:"⇇",leftrightarrow:"↔",LeftRightArrow:"↔",Leftrightarrow:"⇔",leftrightarrows:"⇆",leftrightharpoons:"⇋",leftrightsquigarrow:"↭",LeftRightVector:"⥎",LeftTeeArrow:"↤",LeftTee:"⊣",LeftTeeVector:"⥚",leftthreetimes:"⋋",LeftTriangleBar:"⧏",LeftTriangle:"⊲",LeftTriangleEqual:"⊴",LeftUpDownVector:"⥑",LeftUpTeeVector:"⥠",LeftUpVectorBar:"⥘",LeftUpVector:"↿",LeftVectorBar:"⥒",LeftVector:"↼",lEg:"⪋",leg:"⋚",leq:"≤",leqq:"≦",leqslant:"⩽",lescc:"⪨",les:"⩽",lesdot:"⩿",lesdoto:"⪁",lesdotor:"⪃",lesg:"⋚︀",lesges:"⪓",lessapprox:"⪅",lessdot:"⋖",lesseqgtr:"⋚",lesseqqgtr:"⪋",LessEqualGreater:"⋚",LessFullEqual:"≦",LessGreater:"≶",lessgtr:"≶",LessLess:"⪡",lesssim:"≲",LessSlantEqual:"⩽",LessTilde:"≲",lfisht:"⥼",lfloor:"⌊",Lfr:"𝔏",lfr:"𝔩",lg:"≶",lgE:"⪑",lHar:"⥢",lhard:"↽",lharu:"↼",lharul:"⥪",lhblk:"▄",LJcy:"Љ",ljcy:"љ",llarr:"⇇",ll:"≪",Ll:"⋘",llcorner:"⌞",Lleftarrow:"⇚",llhard:"⥫",lltri:"◺",Lmidot:"Ŀ",lmidot:"ŀ",lmoustache:"⎰",lmoust:"⎰",lnap:"⪉",lnapprox:"⪉",lne:"⪇",lnE:"≨",lneq:"⪇",lneqq:"≨",lnsim:"⋦",loang:"⟬",loarr:"⇽",lobrk:"⟦",longleftarrow:"⟵",LongLeftArrow:"⟵",Longleftarrow:"⟸",longleftrightarrow:"⟷",LongLeftRightArrow:"⟷",Longleftrightarrow:"⟺",longmapsto:"⟼",longrightarrow:"⟶",LongRightArrow:"⟶",Longrightarrow:"⟹",looparrowleft:"↫",looparrowright:"↬",lopar:"⦅",Lopf:"𝕃",lopf:"𝕝",loplus:"⨭",lotimes:"⨴",lowast:"∗",lowbar:"_",LowerLeftArrow:"↙",LowerRightArrow:"↘",loz:"◊",lozenge:"◊",lozf:"⧫",lpar:"(",lparlt:"⦓",lrarr:"⇆",lrcorner:"⌟",lrhar:"⇋",lrhard:"⥭",lrm:"‎",lrtri:"⊿",lsaquo:"‹",lscr:"𝓁",Lscr:"ℒ",lsh:"↰",Lsh:"↰",lsim:"≲",lsime:"⪍",lsimg:"⪏",lsqb:"[",lsquo:"‘",lsquor:"‚",Lstrok:"Ł",lstrok:"ł",ltcc:"⪦",ltcir:"⩹",lt:"<",LT:"<",Lt:"≪",ltdot:"⋖",lthree:"⋋",ltimes:"⋉",ltlarr:"⥶",ltquest:"⩻",ltri:"◃",ltrie:"⊴",ltrif:"◂",ltrPar:"⦖",lurdshar:"⥊",luruhar:"⥦",lvertneqq:"≨︀",lvnE:"≨︀",macr:"¯",male:"♂",malt:"✠",maltese:"✠",Map:"⤅",map:"↦",mapsto:"↦",mapstodown:"↧",mapstoleft:"↤",mapstoup:"↥",marker:"▮",mcomma:"⨩",Mcy:"М",mcy:"м",mdash:"—",mDDot:"∺",measuredangle:"∡",MediumSpace:" ",Mellintrf:"ℳ",Mfr:"𝔐",mfr:"𝔪",mho:"℧",micro:"µ",midast:"*",midcir:"⫰",mid:"∣",middot:"·",minusb:"⊟",minus:"−",minusd:"∸",minusdu:"⨪",MinusPlus:"∓",mlcp:"⫛",mldr:"…",mnplus:"∓",models:"⊧",Mopf:"𝕄",mopf:"𝕞",mp:"∓",mscr:"𝓂",Mscr:"ℳ",mstpos:"∾",Mu:"Μ",mu:"μ",multimap:"⊸",mumap:"⊸",nabla:"∇",Nacute:"Ń",nacute:"ń",nang:"∠⃒",nap:"≉",napE:"⩰̸",napid:"≋̸",napos:"ʼn",napprox:"≉",natural:"♮",naturals:"ℕ",natur:"♮",nbsp:" ",nbump:"≎̸",nbumpe:"≏̸",ncap:"⩃",Ncaron:"Ň",ncaron:"ň",Ncedil:"Ņ",ncedil:"ņ",ncong:"≇",ncongdot:"⩭̸",ncup:"⩂",Ncy:"Н",ncy:"н",ndash:"–",nearhk:"⤤",nearr:"↗",neArr:"⇗",nearrow:"↗",ne:"≠",nedot:"≐̸",NegativeMediumSpace:"​",NegativeThickSpace:"​",NegativeThinSpace:"​",NegativeVeryThinSpace:"​",nequiv:"≢",nesear:"⤨",nesim:"≂̸",NestedGreaterGreater:"≫",NestedLessLess:"≪",NewLine:`
28
- `,nexist:"∄",nexists:"∄",Nfr:"𝔑",nfr:"𝔫",ngE:"≧̸",nge:"≱",ngeq:"≱",ngeqq:"≧̸",ngeqslant:"⩾̸",nges:"⩾̸",nGg:"⋙̸",ngsim:"≵",nGt:"≫⃒",ngt:"≯",ngtr:"≯",nGtv:"≫̸",nharr:"↮",nhArr:"⇎",nhpar:"⫲",ni:"∋",nis:"⋼",nisd:"⋺",niv:"∋",NJcy:"Њ",njcy:"њ",nlarr:"↚",nlArr:"⇍",nldr:"‥",nlE:"≦̸",nle:"≰",nleftarrow:"↚",nLeftarrow:"⇍",nleftrightarrow:"↮",nLeftrightarrow:"⇎",nleq:"≰",nleqq:"≦̸",nleqslant:"⩽̸",nles:"⩽̸",nless:"≮",nLl:"⋘̸",nlsim:"≴",nLt:"≪⃒",nlt:"≮",nltri:"⋪",nltrie:"⋬",nLtv:"≪̸",nmid:"∤",NoBreak:"⁠",NonBreakingSpace:" ",nopf:"𝕟",Nopf:"ℕ",Not:"⫬",not:"¬",NotCongruent:"≢",NotCupCap:"≭",NotDoubleVerticalBar:"∦",NotElement:"∉",NotEqual:"≠",NotEqualTilde:"≂̸",NotExists:"∄",NotGreater:"≯",NotGreaterEqual:"≱",NotGreaterFullEqual:"≧̸",NotGreaterGreater:"≫̸",NotGreaterLess:"≹",NotGreaterSlantEqual:"⩾̸",NotGreaterTilde:"≵",NotHumpDownHump:"≎̸",NotHumpEqual:"≏̸",notin:"∉",notindot:"⋵̸",notinE:"⋹̸",notinva:"∉",notinvb:"⋷",notinvc:"⋶",NotLeftTriangleBar:"⧏̸",NotLeftTriangle:"⋪",NotLeftTriangleEqual:"⋬",NotLess:"≮",NotLessEqual:"≰",NotLessGreater:"≸",NotLessLess:"≪̸",NotLessSlantEqual:"⩽̸",NotLessTilde:"≴",NotNestedGreaterGreater:"⪢̸",NotNestedLessLess:"⪡̸",notni:"∌",notniva:"∌",notnivb:"⋾",notnivc:"⋽",NotPrecedes:"⊀",NotPrecedesEqual:"⪯̸",NotPrecedesSlantEqual:"⋠",NotReverseElement:"∌",NotRightTriangleBar:"⧐̸",NotRightTriangle:"⋫",NotRightTriangleEqual:"⋭",NotSquareSubset:"⊏̸",NotSquareSubsetEqual:"⋢",NotSquareSuperset:"⊐̸",NotSquareSupersetEqual:"⋣",NotSubset:"⊂⃒",NotSubsetEqual:"⊈",NotSucceeds:"⊁",NotSucceedsEqual:"⪰̸",NotSucceedsSlantEqual:"⋡",NotSucceedsTilde:"≿̸",NotSuperset:"⊃⃒",NotSupersetEqual:"⊉",NotTilde:"≁",NotTildeEqual:"≄",NotTildeFullEqual:"≇",NotTildeTilde:"≉",NotVerticalBar:"∤",nparallel:"∦",npar:"∦",nparsl:"⫽⃥",npart:"∂̸",npolint:"⨔",npr:"⊀",nprcue:"⋠",nprec:"⊀",npreceq:"⪯̸",npre:"⪯̸",nrarrc:"⤳̸",nrarr:"↛",nrArr:"⇏",nrarrw:"↝̸",nrightarrow:"↛",nRightarrow:"⇏",nrtri:"⋫",nrtrie:"⋭",nsc:"⊁",nsccue:"⋡",nsce:"⪰̸",Nscr:"𝒩",nscr:"𝓃",nshortmid:"∤",nshortparallel:"∦",nsim:"≁",nsime:"≄",nsimeq:"≄",nsmid:"∤",nspar:"∦",nsqsube:"⋢",nsqsupe:"⋣",nsub:"⊄",nsubE:"⫅̸",nsube:"⊈",nsubset:"⊂⃒",nsubseteq:"⊈",nsubseteqq:"⫅̸",nsucc:"⊁",nsucceq:"⪰̸",nsup:"⊅",nsupE:"⫆̸",nsupe:"⊉",nsupset:"⊃⃒",nsupseteq:"⊉",nsupseteqq:"⫆̸",ntgl:"≹",Ntilde:"Ñ",ntilde:"ñ",ntlg:"≸",ntriangleleft:"⋪",ntrianglelefteq:"⋬",ntriangleright:"⋫",ntrianglerighteq:"⋭",Nu:"Ν",nu:"ν",num:"#",numero:"№",numsp:" ",nvap:"≍⃒",nvdash:"⊬",nvDash:"⊭",nVdash:"⊮",nVDash:"⊯",nvge:"≥⃒",nvgt:">⃒",nvHarr:"⤄",nvinfin:"⧞",nvlArr:"⤂",nvle:"≤⃒",nvlt:"<⃒",nvltrie:"⊴⃒",nvrArr:"⤃",nvrtrie:"⊵⃒",nvsim:"∼⃒",nwarhk:"⤣",nwarr:"↖",nwArr:"⇖",nwarrow:"↖",nwnear:"⤧",Oacute:"Ó",oacute:"ó",oast:"⊛",Ocirc:"Ô",ocirc:"ô",ocir:"⊚",Ocy:"О",ocy:"о",odash:"⊝",Odblac:"Ő",odblac:"ő",odiv:"⨸",odot:"⊙",odsold:"⦼",OElig:"Œ",oelig:"œ",ofcir:"⦿",Ofr:"𝔒",ofr:"𝔬",ogon:"˛",Ograve:"Ò",ograve:"ò",ogt:"⧁",ohbar:"⦵",ohm:"Ω",oint:"∮",olarr:"↺",olcir:"⦾",olcross:"⦻",oline:"‾",olt:"⧀",Omacr:"Ō",omacr:"ō",Omega:"Ω",omega:"ω",Omicron:"Ο",omicron:"ο",omid:"⦶",ominus:"⊖",Oopf:"𝕆",oopf:"𝕠",opar:"⦷",OpenCurlyDoubleQuote:"“",OpenCurlyQuote:"‘",operp:"⦹",oplus:"⊕",orarr:"↻",Or:"⩔",or:"∨",ord:"⩝",order:"ℴ",orderof:"ℴ",ordf:"ª",ordm:"º",origof:"⊶",oror:"⩖",orslope:"⩗",orv:"⩛",oS:"Ⓢ",Oscr:"𝒪",oscr:"ℴ",Oslash:"Ø",oslash:"ø",osol:"⊘",Otilde:"Õ",otilde:"õ",otimesas:"⨶",Otimes:"⨷",otimes:"⊗",Ouml:"Ö",ouml:"ö",ovbar:"⌽",OverBar:"‾",OverBrace:"⏞",OverBracket:"⎴",OverParenthesis:"⏜",para:"¶",parallel:"∥",par:"∥",parsim:"⫳",parsl:"⫽",part:"∂",PartialD:"∂",Pcy:"П",pcy:"п",percnt:"%",period:".",permil:"‰",perp:"⊥",pertenk:"‱",Pfr:"𝔓",pfr:"𝔭",Phi:"Φ",phi:"φ",phiv:"ϕ",phmmat:"ℳ",phone:"☎",Pi:"Π",pi:"π",pitchfork:"⋔",piv:"ϖ",planck:"ℏ",planckh:"ℎ",plankv:"ℏ",plusacir:"⨣",plusb:"⊞",pluscir:"⨢",plus:"+",plusdo:"∔",plusdu:"⨥",pluse:"⩲",PlusMinus:"±",plusmn:"±",plussim:"⨦",plustwo:"⨧",pm:"±",Poincareplane:"ℌ",pointint:"⨕",popf:"𝕡",Popf:"ℙ",pound:"£",prap:"⪷",Pr:"⪻",pr:"≺",prcue:"≼",precapprox:"⪷",prec:"≺",preccurlyeq:"≼",Precedes:"≺",PrecedesEqual:"⪯",PrecedesSlantEqual:"≼",PrecedesTilde:"≾",preceq:"⪯",precnapprox:"⪹",precneqq:"⪵",precnsim:"⋨",pre:"⪯",prE:"⪳",precsim:"≾",prime:"′",Prime:"″",primes:"ℙ",prnap:"⪹",prnE:"⪵",prnsim:"⋨",prod:"∏",Product:"∏",profalar:"⌮",profline:"⌒",profsurf:"⌓",prop:"∝",Proportional:"∝",Proportion:"∷",propto:"∝",prsim:"≾",prurel:"⊰",Pscr:"𝒫",pscr:"𝓅",Psi:"Ψ",psi:"ψ",puncsp:" ",Qfr:"𝔔",qfr:"𝔮",qint:"⨌",qopf:"𝕢",Qopf:"ℚ",qprime:"⁗",Qscr:"𝒬",qscr:"𝓆",quaternions:"ℍ",quatint:"⨖",quest:"?",questeq:"≟",quot:'"',QUOT:'"',rAarr:"⇛",race:"∽̱",Racute:"Ŕ",racute:"ŕ",radic:"√",raemptyv:"⦳",rang:"⟩",Rang:"⟫",rangd:"⦒",range:"⦥",rangle:"⟩",raquo:"»",rarrap:"⥵",rarrb:"⇥",rarrbfs:"⤠",rarrc:"⤳",rarr:"→",Rarr:"↠",rArr:"⇒",rarrfs:"⤞",rarrhk:"↪",rarrlp:"↬",rarrpl:"⥅",rarrsim:"⥴",Rarrtl:"⤖",rarrtl:"↣",rarrw:"↝",ratail:"⤚",rAtail:"⤜",ratio:"∶",rationals:"ℚ",rbarr:"⤍",rBarr:"⤏",RBarr:"⤐",rbbrk:"❳",rbrace:"}",rbrack:"]",rbrke:"⦌",rbrksld:"⦎",rbrkslu:"⦐",Rcaron:"Ř",rcaron:"ř",Rcedil:"Ŗ",rcedil:"ŗ",rceil:"⌉",rcub:"}",Rcy:"Р",rcy:"р",rdca:"⤷",rdldhar:"⥩",rdquo:"”",rdquor:"”",rdsh:"↳",real:"ℜ",realine:"ℛ",realpart:"ℜ",reals:"ℝ",Re:"ℜ",rect:"▭",reg:"®",REG:"®",ReverseElement:"∋",ReverseEquilibrium:"⇋",ReverseUpEquilibrium:"⥯",rfisht:"⥽",rfloor:"⌋",rfr:"𝔯",Rfr:"ℜ",rHar:"⥤",rhard:"⇁",rharu:"⇀",rharul:"⥬",Rho:"Ρ",rho:"ρ",rhov:"ϱ",RightAngleBracket:"⟩",RightArrowBar:"⇥",rightarrow:"→",RightArrow:"→",Rightarrow:"⇒",RightArrowLeftArrow:"⇄",rightarrowtail:"↣",RightCeiling:"⌉",RightDoubleBracket:"⟧",RightDownTeeVector:"⥝",RightDownVectorBar:"⥕",RightDownVector:"⇂",RightFloor:"⌋",rightharpoondown:"⇁",rightharpoonup:"⇀",rightleftarrows:"⇄",rightleftharpoons:"⇌",rightrightarrows:"⇉",rightsquigarrow:"↝",RightTeeArrow:"↦",RightTee:"⊢",RightTeeVector:"⥛",rightthreetimes:"⋌",RightTriangleBar:"⧐",RightTriangle:"⊳",RightTriangleEqual:"⊵",RightUpDownVector:"⥏",RightUpTeeVector:"⥜",RightUpVectorBar:"⥔",RightUpVector:"↾",RightVectorBar:"⥓",RightVector:"⇀",ring:"˚",risingdotseq:"≓",rlarr:"⇄",rlhar:"⇌",rlm:"‏",rmoustache:"⎱",rmoust:"⎱",rnmid:"⫮",roang:"⟭",roarr:"⇾",robrk:"⟧",ropar:"⦆",ropf:"𝕣",Ropf:"ℝ",roplus:"⨮",rotimes:"⨵",RoundImplies:"⥰",rpar:")",rpargt:"⦔",rppolint:"⨒",rrarr:"⇉",Rrightarrow:"⇛",rsaquo:"›",rscr:"𝓇",Rscr:"ℛ",rsh:"↱",Rsh:"↱",rsqb:"]",rsquo:"’",rsquor:"’",rthree:"⋌",rtimes:"⋊",rtri:"▹",rtrie:"⊵",rtrif:"▸",rtriltri:"⧎",RuleDelayed:"⧴",ruluhar:"⥨",rx:"℞",Sacute:"Ś",sacute:"ś",sbquo:"‚",scap:"⪸",Scaron:"Š",scaron:"š",Sc:"⪼",sc:"≻",sccue:"≽",sce:"⪰",scE:"⪴",Scedil:"Ş",scedil:"ş",Scirc:"Ŝ",scirc:"ŝ",scnap:"⪺",scnE:"⪶",scnsim:"⋩",scpolint:"⨓",scsim:"≿",Scy:"С",scy:"с",sdotb:"⊡",sdot:"⋅",sdote:"⩦",searhk:"⤥",searr:"↘",seArr:"⇘",searrow:"↘",sect:"§",semi:";",seswar:"⤩",setminus:"∖",setmn:"∖",sext:"✶",Sfr:"𝔖",sfr:"𝔰",sfrown:"⌢",sharp:"♯",SHCHcy:"Щ",shchcy:"щ",SHcy:"Ш",shcy:"ш",ShortDownArrow:"↓",ShortLeftArrow:"←",shortmid:"∣",shortparallel:"∥",ShortRightArrow:"→",ShortUpArrow:"↑",shy:"­",Sigma:"Σ",sigma:"σ",sigmaf:"ς",sigmav:"ς",sim:"∼",simdot:"⩪",sime:"≃",simeq:"≃",simg:"⪞",simgE:"⪠",siml:"⪝",simlE:"⪟",simne:"≆",simplus:"⨤",simrarr:"⥲",slarr:"←",SmallCircle:"∘",smallsetminus:"∖",smashp:"⨳",smeparsl:"⧤",smid:"∣",smile:"⌣",smt:"⪪",smte:"⪬",smtes:"⪬︀",SOFTcy:"Ь",softcy:"ь",solbar:"⌿",solb:"⧄",sol:"/",Sopf:"𝕊",sopf:"𝕤",spades:"♠",spadesuit:"♠",spar:"∥",sqcap:"⊓",sqcaps:"⊓︀",sqcup:"⊔",sqcups:"⊔︀",Sqrt:"√",sqsub:"⊏",sqsube:"⊑",sqsubset:"⊏",sqsubseteq:"⊑",sqsup:"⊐",sqsupe:"⊒",sqsupset:"⊐",sqsupseteq:"⊒",square:"□",Square:"□",SquareIntersection:"⊓",SquareSubset:"⊏",SquareSubsetEqual:"⊑",SquareSuperset:"⊐",SquareSupersetEqual:"⊒",SquareUnion:"⊔",squarf:"▪",squ:"□",squf:"▪",srarr:"→",Sscr:"𝒮",sscr:"𝓈",ssetmn:"∖",ssmile:"⌣",sstarf:"⋆",Star:"⋆",star:"☆",starf:"★",straightepsilon:"ϵ",straightphi:"ϕ",strns:"¯",sub:"⊂",Sub:"⋐",subdot:"⪽",subE:"⫅",sube:"⊆",subedot:"⫃",submult:"⫁",subnE:"⫋",subne:"⊊",subplus:"⪿",subrarr:"⥹",subset:"⊂",Subset:"⋐",subseteq:"⊆",subseteqq:"⫅",SubsetEqual:"⊆",subsetneq:"⊊",subsetneqq:"⫋",subsim:"⫇",subsub:"⫕",subsup:"⫓",succapprox:"⪸",succ:"≻",succcurlyeq:"≽",Succeeds:"≻",SucceedsEqual:"⪰",SucceedsSlantEqual:"≽",SucceedsTilde:"≿",succeq:"⪰",succnapprox:"⪺",succneqq:"⪶",succnsim:"⋩",succsim:"≿",SuchThat:"∋",sum:"∑",Sum:"∑",sung:"♪",sup1:"¹",sup2:"²",sup3:"³",sup:"⊃",Sup:"⋑",supdot:"⪾",supdsub:"⫘",supE:"⫆",supe:"⊇",supedot:"⫄",Superset:"⊃",SupersetEqual:"⊇",suphsol:"⟉",suphsub:"⫗",suplarr:"⥻",supmult:"⫂",supnE:"⫌",supne:"⊋",supplus:"⫀",supset:"⊃",Supset:"⋑",supseteq:"⊇",supseteqq:"⫆",supsetneq:"⊋",supsetneqq:"⫌",supsim:"⫈",supsub:"⫔",supsup:"⫖",swarhk:"⤦",swarr:"↙",swArr:"⇙",swarrow:"↙",swnwar:"⤪",szlig:"ß",Tab:" ",target:"⌖",Tau:"Τ",tau:"τ",tbrk:"⎴",Tcaron:"Ť",tcaron:"ť",Tcedil:"Ţ",tcedil:"ţ",Tcy:"Т",tcy:"т",tdot:"⃛",telrec:"⌕",Tfr:"𝔗",tfr:"𝔱",there4:"∴",therefore:"∴",Therefore:"∴",Theta:"Θ",theta:"θ",thetasym:"ϑ",thetav:"ϑ",thickapprox:"≈",thicksim:"∼",ThickSpace:"  ",ThinSpace:" ",thinsp:" ",thkap:"≈",thksim:"∼",THORN:"Þ",thorn:"þ",tilde:"˜",Tilde:"∼",TildeEqual:"≃",TildeFullEqual:"≅",TildeTilde:"≈",timesbar:"⨱",timesb:"⊠",times:"×",timesd:"⨰",tint:"∭",toea:"⤨",topbot:"⌶",topcir:"⫱",top:"⊤",Topf:"𝕋",topf:"𝕥",topfork:"⫚",tosa:"⤩",tprime:"‴",trade:"™",TRADE:"™",triangle:"▵",triangledown:"▿",triangleleft:"◃",trianglelefteq:"⊴",triangleq:"≜",triangleright:"▹",trianglerighteq:"⊵",tridot:"◬",trie:"≜",triminus:"⨺",TripleDot:"⃛",triplus:"⨹",trisb:"⧍",tritime:"⨻",trpezium:"⏢",Tscr:"𝒯",tscr:"𝓉",TScy:"Ц",tscy:"ц",TSHcy:"Ћ",tshcy:"ћ",Tstrok:"Ŧ",tstrok:"ŧ",twixt:"≬",twoheadleftarrow:"↞",twoheadrightarrow:"↠",Uacute:"Ú",uacute:"ú",uarr:"↑",Uarr:"↟",uArr:"⇑",Uarrocir:"⥉",Ubrcy:"Ў",ubrcy:"ў",Ubreve:"Ŭ",ubreve:"ŭ",Ucirc:"Û",ucirc:"û",Ucy:"У",ucy:"у",udarr:"⇅",Udblac:"Ű",udblac:"ű",udhar:"⥮",ufisht:"⥾",Ufr:"𝔘",ufr:"𝔲",Ugrave:"Ù",ugrave:"ù",uHar:"⥣",uharl:"↿",uharr:"↾",uhblk:"▀",ulcorn:"⌜",ulcorner:"⌜",ulcrop:"⌏",ultri:"◸",Umacr:"Ū",umacr:"ū",uml:"¨",UnderBar:"_",UnderBrace:"⏟",UnderBracket:"⎵",UnderParenthesis:"⏝",Union:"⋃",UnionPlus:"⊎",Uogon:"Ų",uogon:"ų",Uopf:"𝕌",uopf:"𝕦",UpArrowBar:"⤒",uparrow:"↑",UpArrow:"↑",Uparrow:"⇑",UpArrowDownArrow:"⇅",updownarrow:"↕",UpDownArrow:"↕",Updownarrow:"⇕",UpEquilibrium:"⥮",upharpoonleft:"↿",upharpoonright:"↾",uplus:"⊎",UpperLeftArrow:"↖",UpperRightArrow:"↗",upsi:"υ",Upsi:"ϒ",upsih:"ϒ",Upsilon:"Υ",upsilon:"υ",UpTeeArrow:"↥",UpTee:"⊥",upuparrows:"⇈",urcorn:"⌝",urcorner:"⌝",urcrop:"⌎",Uring:"Ů",uring:"ů",urtri:"◹",Uscr:"𝒰",uscr:"𝓊",utdot:"⋰",Utilde:"Ũ",utilde:"ũ",utri:"▵",utrif:"▴",uuarr:"⇈",Uuml:"Ü",uuml:"ü",uwangle:"⦧",vangrt:"⦜",varepsilon:"ϵ",varkappa:"ϰ",varnothing:"∅",varphi:"ϕ",varpi:"ϖ",varpropto:"∝",varr:"↕",vArr:"⇕",varrho:"ϱ",varsigma:"ς",varsubsetneq:"⊊︀",varsubsetneqq:"⫋︀",varsupsetneq:"⊋︀",varsupsetneqq:"⫌︀",vartheta:"ϑ",vartriangleleft:"⊲",vartriangleright:"⊳",vBar:"⫨",Vbar:"⫫",vBarv:"⫩",Vcy:"В",vcy:"в",vdash:"⊢",vDash:"⊨",Vdash:"⊩",VDash:"⊫",Vdashl:"⫦",veebar:"⊻",vee:"∨",Vee:"⋁",veeeq:"≚",vellip:"⋮",verbar:"|",Verbar:"‖",vert:"|",Vert:"‖",VerticalBar:"∣",VerticalLine:"|",VerticalSeparator:"❘",VerticalTilde:"≀",VeryThinSpace:" ",Vfr:"𝔙",vfr:"𝔳",vltri:"⊲",vnsub:"⊂⃒",vnsup:"⊃⃒",Vopf:"𝕍",vopf:"𝕧",vprop:"∝",vrtri:"⊳",Vscr:"𝒱",vscr:"𝓋",vsubnE:"⫋︀",vsubne:"⊊︀",vsupnE:"⫌︀",vsupne:"⊋︀",Vvdash:"⊪",vzigzag:"⦚",Wcirc:"Ŵ",wcirc:"ŵ",wedbar:"⩟",wedge:"∧",Wedge:"⋀",wedgeq:"≙",weierp:"℘",Wfr:"𝔚",wfr:"𝔴",Wopf:"𝕎",wopf:"𝕨",wp:"℘",wr:"≀",wreath:"≀",Wscr:"𝒲",wscr:"𝓌",xcap:"⋂",xcirc:"◯",xcup:"⋃",xdtri:"▽",Xfr:"𝔛",xfr:"𝔵",xharr:"⟷",xhArr:"⟺",Xi:"Ξ",xi:"ξ",xlarr:"⟵",xlArr:"⟸",xmap:"⟼",xnis:"⋻",xodot:"⨀",Xopf:"𝕏",xopf:"𝕩",xoplus:"⨁",xotime:"⨂",xrarr:"⟶",xrArr:"⟹",Xscr:"𝒳",xscr:"𝓍",xsqcup:"⨆",xuplus:"⨄",xutri:"△",xvee:"⋁",xwedge:"⋀",Yacute:"Ý",yacute:"ý",YAcy:"Я",yacy:"я",Ycirc:"Ŷ",ycirc:"ŷ",Ycy:"Ы",ycy:"ы",yen:"¥",Yfr:"𝔜",yfr:"𝔶",YIcy:"Ї",yicy:"ї",Yopf:"𝕐",yopf:"𝕪",Yscr:"𝒴",yscr:"𝓎",YUcy:"Ю",yucy:"ю",yuml:"ÿ",Yuml:"Ÿ",Zacute:"Ź",zacute:"ź",Zcaron:"Ž",zcaron:"ž",Zcy:"З",zcy:"з",Zdot:"Ż",zdot:"ż",zeetrf:"ℨ",ZeroWidthSpace:"​",Zeta:"Ζ",zeta:"ζ",zfr:"𝔷",Zfr:"ℨ",ZHcy:"Ж",zhcy:"ж",zigrarr:"⇝",zopf:"𝕫",Zopf:"ℤ",Zscr:"𝒵",zscr:"𝓏",zwj:"‍",zwnj:"‌"}}),ND=S((e,t)=>{t.exports={Aacute:"Á",aacute:"á",Acirc:"Â",acirc:"â",acute:"´",AElig:"Æ",aelig:"æ",Agrave:"À",agrave:"à",amp:"&",AMP:"&",Aring:"Å",aring:"å",Atilde:"Ã",atilde:"ã",Auml:"Ä",auml:"ä",brvbar:"¦",Ccedil:"Ç",ccedil:"ç",cedil:"¸",cent:"¢",copy:"©",COPY:"©",curren:"¤",deg:"°",divide:"÷",Eacute:"É",eacute:"é",Ecirc:"Ê",ecirc:"ê",Egrave:"È",egrave:"è",ETH:"Ð",eth:"ð",Euml:"Ë",euml:"ë",frac12:"½",frac14:"¼",frac34:"¾",gt:">",GT:">",Iacute:"Í",iacute:"í",Icirc:"Î",icirc:"î",iexcl:"¡",Igrave:"Ì",igrave:"ì",iquest:"¿",Iuml:"Ï",iuml:"ï",laquo:"«",lt:"<",LT:"<",macr:"¯",micro:"µ",middot:"·",nbsp:" ",not:"¬",Ntilde:"Ñ",ntilde:"ñ",Oacute:"Ó",oacute:"ó",Ocirc:"Ô",ocirc:"ô",Ograve:"Ò",ograve:"ò",ordf:"ª",ordm:"º",Oslash:"Ø",oslash:"ø",Otilde:"Õ",otilde:"õ",Ouml:"Ö",ouml:"ö",para:"¶",plusmn:"±",pound:"£",quot:'"',QUOT:'"',raquo:"»",reg:"®",REG:"®",sect:"§",shy:"­",sup1:"¹",sup2:"²",sup3:"³",szlig:"ß",THORN:"Þ",thorn:"þ",times:"×",Uacute:"Ú",uacute:"ú",Ucirc:"Û",ucirc:"û",Ugrave:"Ù",ugrave:"ù",uml:"¨",Uuml:"Ü",uuml:"ü",Yacute:"Ý",yacute:"ý",yen:"¥",yuml:"ÿ"}}),Tv=S((e,t)=>{t.exports={amp:"&",apos:"'",gt:">",lt:"<",quot:'"'}}),jD=S((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}}),kD=S(e=>{var t=e&&e.__importDefault||function(i){return i&&i.__esModule?i:{default:i}};Object.defineProperty(e,"__esModule",{value:!0});var r=t(jD()),n=String.fromCodePoint||function(i){var s="";return i>65535&&(i-=65536,s+=String.fromCharCode(i>>>10&1023|55296),i=56320|i&1023),s+=String.fromCharCode(i),s};function o(i){return i>=55296&&i<=57343||i>1114111?"�":(i in r.default&&(i=r.default[i]),n(i))}a(o,"decodeCodePoint"),e.default=o}),Uy=S(e=>{var t=e&&e.__importDefault||function(d){return d&&d.__esModule?d:{default:d}};Object.defineProperty(e,"__esModule",{value:!0}),e.decodeHTML=e.decodeHTMLStrict=e.decodeXML=void 0;var r=t(xv()),n=t(ND()),o=t(Tv()),i=t(kD()),s=/&(?:[a-zA-Z0-9]+|#[xX][\da-fA-F]+|#\d+);/g;e.decodeXML=l(o.default),e.decodeHTMLStrict=l(r.default);function l(d){var p=u(d);return function(h){return String(h).replace(s,p)}}a(l,"getStrictDecoder");var c=a(function(d,p){return d<p?1:-1},"sorter");e.decodeHTML=(function(){for(var d=Object.keys(n.default).sort(c),p=Object.keys(r.default).sort(c),h=0,f=0;h<p.length;h++)d[f]===p[h]?(p[h]+=";?",f++):p[h]+=";";var m=new RegExp("&(?:"+p.join("|")+"|#[xX][\\da-fA-F]+;?|#\\d+;?)","g"),b=u(r.default);function g(v){return v.substr(-1)!==";"&&(v+=";"),b(v)}return a(g,"replacer"),function(v){return String(v).replace(m,g)}})();function u(d){return a(function(p){if(p.charAt(1)==="#"){var h=p.charAt(2);return h==="X"||h==="x"?i.default(parseInt(p.substr(3),16)):i.default(parseInt(p.substr(2),10))}return d[p.slice(1,-1)]||p},"replace")}a(u,"getReplacer")}),Hy=S(e=>{var t=e&&e.__importDefault||function(w){return w&&w.__esModule?w:{default:w}};Object.defineProperty(e,"__esModule",{value:!0}),e.escapeUTF8=e.escape=e.encodeNonAsciiHTML=e.encodeHTML=e.encodeXML=void 0;var r=t(Tv()),n=c(r.default),o=u(n);e.encodeXML=v(n);var i=t(xv()),s=c(i.default),l=u(s);e.encodeHTML=f(s,l),e.encodeNonAsciiHTML=v(s);function c(w){return Object.keys(w).sort().reduce(function(P,A){return P[w[A]]="&"+A+";",P},{})}a(c,"getInverseObj");function u(w){for(var P=[],A=[],R=0,T=Object.keys(w);R<T.length;R++){var E=T[R];E.length===1?P.push("\\"+E):A.push(E)}P.sort();for(var x=0;x<P.length-1;x++){for(var C=x;C<P.length-1&&P[C].charCodeAt(1)+1===P[C+1].charCodeAt(1);)C+=1;var k=1+C-x;k<3||P.splice(x,k,P[x]+"-"+P[C])}return A.unshift("["+P.join("")+"]"),new RegExp(A.join("|"),"g")}a(u,"getInverseReplacer");var d=/(?:[\x80-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])/g,p=String.prototype.codePointAt!=null?(function(w){return w.codePointAt(0)}):(function(w){return(w.charCodeAt(0)-55296)*1024+w.charCodeAt(1)-56320+65536});function h(w){return"&#x"+(w.length>1?p(w):w.charCodeAt(0)).toString(16).toUpperCase()+";"}a(h,"singleCharReplacer");function f(w,P){return function(A){return A.replace(P,function(R){return w[R]}).replace(d,h)}}a(f,"getInverse");var m=new RegExp(o.source+"|"+d.source,"g");function b(w){return w.replace(m,h)}a(b,"escape"),e.escape=b;function g(w){return w.replace(o,h)}a(g,"escapeUTF8"),e.escapeUTF8=g;function v(w){return function(P){return P.replace(m,function(A){return w[A]||h(A)})}}a(v,"getASCIIEncoder")}),MD=S(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=Uy(),r=Hy();function n(c,u){return(!u||u<=0?t.decodeXML:t.decodeHTML)(c)}a(n,"decode"),e.decode=n;function o(c,u){return(!u||u<=0?t.decodeXML:t.decodeHTMLStrict)(c)}a(o,"decodeStrict"),e.decodeStrict=o;function i(c,u){return(!u||u<=0?r.encodeXML:r.encodeHTML)(c)}a(i,"encode"),e.encode=i;var s=Hy();Object.defineProperty(e,"encodeXML",{enumerable:!0,get:a(function(){return s.encodeXML},"get")}),Object.defineProperty(e,"encodeHTML",{enumerable:!0,get:a(function(){return s.encodeHTML},"get")}),Object.defineProperty(e,"encodeNonAsciiHTML",{enumerable:!0,get:a(function(){return s.encodeNonAsciiHTML},"get")}),Object.defineProperty(e,"escape",{enumerable:!0,get:a(function(){return s.escape},"get")}),Object.defineProperty(e,"escapeUTF8",{enumerable:!0,get:a(function(){return s.escapeUTF8},"get")}),Object.defineProperty(e,"encodeHTML4",{enumerable:!0,get:a(function(){return s.encodeHTML},"get")}),Object.defineProperty(e,"encodeHTML5",{enumerable:!0,get:a(function(){return s.encodeHTML},"get")});var l=Uy();Object.defineProperty(e,"decodeXML",{enumerable:!0,get:a(function(){return l.decodeXML},"get")}),Object.defineProperty(e,"decodeHTML",{enumerable:!0,get:a(function(){return l.decodeHTML},"get")}),Object.defineProperty(e,"decodeHTMLStrict",{enumerable:!0,get:a(function(){return l.decodeHTMLStrict},"get")}),Object.defineProperty(e,"decodeHTML4",{enumerable:!0,get:a(function(){return l.decodeHTML},"get")}),Object.defineProperty(e,"decodeHTML5",{enumerable:!0,get:a(function(){return l.decodeHTML},"get")}),Object.defineProperty(e,"decodeHTML4Strict",{enumerable:!0,get:a(function(){return l.decodeHTMLStrict},"get")}),Object.defineProperty(e,"decodeHTML5Strict",{enumerable:!0,get:a(function(){return l.decodeHTMLStrict},"get")}),Object.defineProperty(e,"decodeXMLStrict",{enumerable:!0,get:a(function(){return l.decodeXML},"get")})}),$D=S((e,t)=>{function r(O,M){if(!(O instanceof M))throw new TypeError("Cannot call a class as a function")}a(r,"_classCallCheck");function n(O,M){for(var $=0;$<M.length;$++){var K=M[$];K.enumerable=K.enumerable||!1,K.configurable=!0,"value"in K&&(K.writable=!0),Object.defineProperty(O,K.key,K)}}a(n,"_defineProperties");function o(O,M,$){return M&&n(O.prototype,M),$&&n(O,$),O}a(o,"_createClass");function i(O,M){var $=typeof Symbol<"u"&&O[Symbol.iterator]||O["@@iterator"];if(!$){if(Array.isArray(O)||($=s(O))||M&&O&&typeof O.length=="number"){$&&(O=$);var K=0,G=a(function(){},"F");return{s:G,n:a(function(){return K>=O.length?{done:!0}:{done:!1,value:O[K++]}},"n"),e:a(function(W){throw W},"e"),f:G}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
29
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var re=!0,ae=!1,Z;return{s:a(function(){$=$.call(O)},"s"),n:a(function(){var W=$.next();return re=W.done,W},"n"),e:a(function(W){ae=!0,Z=W},"e"),f:a(function(){try{!re&&$.return!=null&&$.return()}finally{if(ae)throw Z}},"f")}}a(i,"_createForOfIteratorHelper");function s(O,M){if(O){if(typeof O=="string")return l(O,M);var $=Object.prototype.toString.call(O).slice(8,-1);if($==="Object"&&O.constructor&&($=O.constructor.name),$==="Map"||$==="Set")return Array.from(O);if($==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test($))return l(O,M)}}a(s,"_unsupportedIterableToArray");function l(O,M){(M==null||M>O.length)&&(M=O.length);for(var $=0,K=new Array(M);$<M;$++)K[$]=O[$];return K}a(l,"_arrayLikeToArray");var c=MD(),u={fg:"#FFF",bg:"#000",newline:!1,escapeXML:!1,stream:!1,colors:d()};function d(){var O={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 w(0,5).forEach(function(M){w(0,5).forEach(function($){w(0,5).forEach(function(K){return p(M,$,K,O)})})}),w(0,23).forEach(function(M){var $=M+232,K=h(M*10+8);O[$]="#"+K+K+K}),O}a(d,"getDefaultColors");function p(O,M,$,K){var G=16+O*36+M*6+$,re=O>0?O*40+55:0,ae=M>0?M*40+55:0,Z=$>0?$*40+55:0;K[G]=f([re,ae,Z])}a(p,"setStyleColor");function h(O){for(var M=O.toString(16);M.length<2;)M="0"+M;return M}a(h,"toHexString");function f(O){var M=[],$=i(O),K;try{for($.s();!(K=$.n()).done;){var G=K.value;M.push(h(G))}}catch(re){$.e(re)}finally{$.f()}return"#"+M.join("")}a(f,"toColorHexString");function m(O,M,$,K){var G;return M==="text"?G=R($,K):M==="display"?G=g(O,$,K):M==="xterm256Foreground"?G=x(O,K.colors[$]):M==="xterm256Background"?G=C(O,K.colors[$]):M==="rgb"&&(G=b(O,$)),G}a(m,"generateOutput");function b(O,M){M=M.substring(2).slice(0,-1);var $=+M.substr(0,2),K=M.substring(5).split(";"),G=K.map(function(re){return("0"+Number(re).toString(16)).substr(-2)}).join("");return E(O,($===38?"color:#":"background-color:#")+G)}a(b,"handleRgb");function g(O,M,$){M=parseInt(M,10);var K={"-1":a(function(){return"<br/>"},"_"),0:a(function(){return O.length&&v(O)},"_"),1:a(function(){return T(O,"b")},"_"),3:a(function(){return T(O,"i")},"_"),4:a(function(){return T(O,"u")},"_"),8:a(function(){return E(O,"display:none")},"_"),9:a(function(){return T(O,"strike")},"_"),22:a(function(){return E(O,"font-weight:normal;text-decoration:none;font-style:normal")},"_"),23:a(function(){return k(O,"i")},"_"),24:a(function(){return k(O,"u")},"_"),39:a(function(){return x(O,$.fg)},"_"),49:a(function(){return C(O,$.bg)},"_"),53:a(function(){return E(O,"text-decoration:overline")},"_")},G;return K[M]?G=K[M]():4<M&&M<7?G=T(O,"blink"):29<M&&M<38?G=x(O,$.colors[M-30]):39<M&&M<48?G=C(O,$.colors[M-40]):89<M&&M<98?G=x(O,$.colors[8+(M-90)]):99<M&&M<108&&(G=C(O,$.colors[8+(M-100)])),G}a(g,"handleDisplay");function v(O){var M=O.slice(0);return O.length=0,M.reverse().map(function($){return"</"+$+">"}).join("")}a(v,"resetStyles");function w(O,M){for(var $=[],K=O;K<=M;K++)$.push(K);return $}a(w,"range");function P(O){return function(M){return(O===null||M.category!==O)&&O!=="all"}}a(P,"notCategory");function A(O){O=parseInt(O,10);var M=null;return O===0?M="all":O===1?M="bold":2<O&&O<5?M="underline":4<O&&O<7?M="blink":O===8?M="hide":O===9?M="strike":29<O&&O<38||O===39||89<O&&O<98?M="foreground-color":(39<O&&O<48||O===49||99<O&&O<108)&&(M="background-color"),M}a(A,"categoryForCode");function R(O,M){return M.escapeXML?c.encodeXML(O):O}a(R,"pushText");function T(O,M,$){return $||($=""),O.push(M),"<".concat(M).concat($?' style="'.concat($,'"'):"",">")}a(T,"pushTag");function E(O,M){return T(O,"span",M)}a(E,"pushStyle");function x(O,M){return T(O,"span","color:"+M)}a(x,"pushForegroundColor");function C(O,M){return T(O,"span","background-color:"+M)}a(C,"pushBackgroundColor");function k(O,M){var $;if(O.slice(-1)[0]===M&&($=O.pop()),$)return"</"+M+">"}a(k,"closeTag");function I(O,M,$){var K=!1,G=3;function re(){return""}a(re,"remove");function ae(ie,de){return $("xterm256Foreground",de),""}a(ae,"removeXterm256Foreground");function Z(ie,de){return $("xterm256Background",de),""}a(Z,"removeXterm256Background");function W(ie){return M.newline?$("display",-1):$("text",ie),""}a(W,"newline");function z(ie,de){K=!0,de.trim().length===0&&(de="0"),de=de.trimRight(";").split(";");var pe=i(de),Pe;try{for(pe.s();!(Pe=pe.n()).done;){var $e=Pe.value;$("display",$e)}}catch(lt){pe.e(lt)}finally{pe.f()}return""}a(z,"ansiMess");function Y(ie){return $("text",ie),""}a(Y,"realText");function ne(ie){return $("rgb",ie),""}a(ne,"rgb");var X=[{pattern:/^\x08+/,sub:re},{pattern:/^\x1b\[[012]?K/,sub:re},{pattern:/^\x1b\[\(B/,sub:re},{pattern:/^\x1b\[[34]8;2;\d+;\d+;\d+m/,sub:ne},{pattern:/^\x1b\[38;5;(\d+)m/,sub:ae},{pattern:/^\x1b\[48;5;(\d+)m/,sub:Z},{pattern:/^\n/,sub:W},{pattern:/^\r+\n/,sub:W},{pattern:/^\r/,sub:W},{pattern:/^\x1b\[((?:\d{1,3};?)+|)m/,sub:z},{pattern:/^\x1b\[\d?J/,sub:re},{pattern:/^\x1b\[\d{0,3};\d{0,3}f/,sub:re},{pattern:/^\x1b\[?[\d;]{0,3}/,sub:re},{pattern:/^(([^\x1b\x08\r\n])+)/,sub:Y}];function se(ie,de){de>G&&K||(K=!1,O=O.replace(ie.pattern,ie.sub))}a(se,"process");var ce=[],Me=O,Ve=Me.length;e:for(;Ve>0;){for(var F=0,Q=0,oe=X.length;Q<oe;F=++Q){var ue=X[F];if(se(ue,F),O.length!==Ve){Ve=O.length;continue e}}if(O.length===Ve)break;ce.push(0),Ve=O.length}return ce}a(I,"tokenize");function U(O,M,$){return M!=="text"&&(O=O.filter(P(A($))),O.push({token:M,data:$,category:A($)})),O}a(U,"updateStickyStack");var D=(function(){function O(M){r(this,O),M=M||{},M.colors&&(M.colors=Object.assign({},u.colors,M.colors)),this.options=Object.assign({},u,M),this.stack=[],this.stickyStack=[]}return a(O,"Filter"),o(O,[{key:"toHtml",value:a(function(M){var $=this;M=typeof M=="string"?[M]:M;var K=this.stack,G=this.options,re=[];return this.stickyStack.forEach(function(ae){var Z=m(K,ae.token,ae.data,G);Z&&re.push(Z)}),I(M.join(""),G,function(ae,Z){var W=m(K,ae,Z,G);W&&re.push(W),G.stream&&($.stickyStack=U($.stickyStack,ae,Z))}),K.length&&re.push(v(K)),re.join("")},"toHtml")}]),O})();t.exports=D}),LD=S((e,t)=>{(function(r,n){typeof e=="object"&&typeof t<"u"?t.exports=n():typeof define=="function"&&define.amd?define(n):(r=typeof globalThis<"u"?globalThis:r||self).BrowserDetector=n()})(e,function(){function r(c,u){for(var d=0;d<u.length;d++){var p=u[d];p.enumerable=p.enumerable||!1,p.configurable=!0,"value"in p&&(p.writable=!0),Object.defineProperty(c,(h=p.key,f=void 0,typeof(f=(function(m,b){if(typeof m!="object"||m===null)return m;var g=m[Symbol.toPrimitive];if(g!==void 0){var v=g.call(m,b);if(typeof v!="object")return v;throw new TypeError("@@toPrimitive must return a primitive value.")}return(b==="string"?String:Number)(m)})(h,"string"))=="symbol"?f:String(f)),p)}var h,f}a(r,"e");var n={chrome:"Google Chrome",brave:"Brave",crios:"Google Chrome",edge:"Microsoft Edge",edg:"Microsoft Edge",edgios:"Microsoft Edge",fennec:"Mozilla Firefox",jsdom:"JsDOM",mozilla:"Mozilla Firefox",fxios:"Mozilla Firefox",msie:"Microsoft Internet Explorer",opera:"Opera",opios:"Opera",opr:"Opera",opt:"Opera",rv:"Microsoft Internet Explorer",safari:"Safari",samsungbrowser:"Samsung Browser",electron:"Electron"},o={android:"Android",androidTablet:"Android Tablet",cros:"Chrome OS",fennec:"Android Tablet",ipad:"IPad",iphone:"IPhone",jsdom:"JsDOM",linux:"Linux",mac:"Macintosh",tablet:"Android Tablet",win:"Windows","windows phone":"Windows Phone",xbox:"Microsoft Xbox"},i=a(function(c){var u=new RegExp("^-?\\d+(?:.\\d{0,".concat(arguments.length>1&&arguments[1]!==void 0?arguments[1]:-1,"})?")),d=Number(c).toString().match(u);return d?d[0]:null},"n"),s=a(function(){return typeof window<"u"?window.navigator:null},"i"),l=(function(){function c(h){var f;(function(m,b){if(!(m instanceof b))throw new TypeError("Cannot call a class as a function")})(this,c),this.userAgent=h||((f=s())===null||f===void 0?void 0:f.userAgent)||null}a(c,"t");var u,d,p;return u=c,d=[{key:"parseUserAgent",value:a(function(h){var f,m,b,g={},v=h||this.userAgent||"",w=v.toLowerCase().replace(/\s\s+/g," "),P=/(edge)\/([\w.]+)/.exec(w)||/(edg)[/]([\w.]+)/.exec(w)||/(opr)[/]([\w.]+)/.exec(w)||/(opt)[/]([\w.]+)/.exec(w)||/(fxios)[/]([\w.]+)/.exec(w)||/(edgios)[/]([\w.]+)/.exec(w)||/(jsdom)[/]([\w.]+)/.exec(w)||/(samsungbrowser)[/]([\w.]+)/.exec(w)||/(electron)[/]([\w.]+)/.exec(w)||/(chrome)[/]([\w.]+)/.exec(w)||/(crios)[/]([\w.]+)/.exec(w)||/(opios)[/]([\w.]+)/.exec(w)||/(version)(applewebkit)[/]([\w.]+).*(safari)[/]([\w.]+)/.exec(w)||/(webkit)[/]([\w.]+).*(version)[/]([\w.]+).*(safari)[/]([\w.]+)/.exec(w)||/(applewebkit)[/]([\w.]+).*(safari)[/]([\w.]+)/.exec(w)||/(webkit)[/]([\w.]+)/.exec(w)||/(opera)(?:.*version|)[/]([\w.]+)/.exec(w)||/(msie) ([\w.]+)/.exec(w)||/(fennec)[/]([\w.]+)/.exec(w)||w.indexOf("trident")>=0&&/(rv)(?::| )([\w.]+)/.exec(w)||w.indexOf("compatible")<0&&/(mozilla)(?:.*? rv:([\w.]+)|)/.exec(w)||[],A=/(ipad)/.exec(w)||/(ipod)/.exec(w)||/(iphone)/.exec(w)||/(jsdom)/.exec(w)||/(windows phone)/.exec(w)||/(xbox)/.exec(w)||/(win)/.exec(w)||/(tablet)/.exec(w)||/(android)/.test(w)&&/(mobile)/.test(w)===!1&&["androidTablet"]||/(android)/.exec(w)||/(mac)/.exec(w)||/(linux)/.exec(w)||/(cros)/.exec(w)||[],R=P[5]||P[3]||P[1]||null,T=A[0]||null,E=P[4]||P[2]||null,x=s();R==="chrome"&&typeof(x==null||(f=x.brave)===null||f===void 0?void 0:f.isBrave)=="function"&&(R="brave"),R&&(g[R]=!0),T&&(g[T]=!0);var C=!!(g.tablet||g.android||g.androidTablet),k=!!(g.ipad||g.tablet||g.androidTablet),I=!!(g.android||g.androidTablet||g.tablet||g.ipad||g.ipod||g.iphone||g["windows phone"]),U=!!(g.cros||g.mac||g.linux||g.win),D=!!(g.brave||g.chrome||g.crios||g.opr||g.safari||g.edg||g.electron),O=!!(g.msie||g.rv);return{name:(m=n[R])!==null&&m!==void 0?m:null,platform:(b=o[T])!==null&&b!==void 0?b:null,userAgent:v,version:E,shortVersion:E?i(parseFloat(E),2):null,isAndroid:C,isTablet:k,isMobile:I,isDesktop:U,isWebkit:D,isIE:O}},"value")},{key:"getBrowserInfo",value:a(function(){var h=this.parseUserAgent();return{name:h.name,platform:h.platform,userAgent:h.userAgent,version:h.version,shortVersion:h.shortVersion}},"value")}],p=[{key:"VERSION",get:a(function(){return"3.4.0"},"get")}],d&&r(u.prototype,d),p&&r(u,p),Object.defineProperty(u,"prototype",{writable:!1}),c})();return l})}),mp={};ct(mp,{ARGTYPES_INFO_REQUEST:()=>Hv,ARGTYPES_INFO_RESPONSE:()=>cc,CHANNEL_CREATED:()=>FD,CHANNEL_WS_DISCONNECT:()=>Sv,CONFIG_ERROR:()=>Cv,CREATE_NEW_STORYFILE_REQUEST:()=>BD,CREATE_NEW_STORYFILE_RESPONSE:()=>UD,CURRENT_STORY_WAS_SET:()=>sc,DOCS_PREPARED:()=>Pv,DOCS_RENDERED:()=>bp,FILE_COMPONENT_SEARCH_REQUEST:()=>HD,FILE_COMPONENT_SEARCH_RESPONSE:()=>VD,FORCE_REMOUNT:()=>Ki,FORCE_RE_RENDER:()=>gp,GLOBALS_UPDATED:()=>Oa,NAVIGATE_URL:()=>JD,PLAY_FUNCTION_THREW_EXCEPTION:()=>Ov,PRELOAD_ENTRIES:()=>Av,PREVIEW_BUILDER_PROGRESS:()=>zD,PREVIEW_KEYDOWN:()=>Rv,REGISTER_SUBSCRIPTION:()=>WD,REQUEST_WHATS_NEW_DATA:()=>nF,RESET_STORY_ARGS:()=>vp,RESULT_WHATS_NEW_DATA:()=>oF,SAVE_STORY_REQUEST:()=>sF,SAVE_STORY_RESPONSE:()=>lF,SELECT_STORY:()=>GD,SET_CONFIG:()=>KD,SET_CURRENT_STORY:()=>wp,SET_FILTER:()=>YD,SET_GLOBALS:()=>qv,SET_INDEX:()=>XD,SET_STORIES:()=>QD,SET_WHATS_NEW_CACHE:()=>aF,SHARED_STATE_CHANGED:()=>ZD,SHARED_STATE_SET:()=>eF,STORIES_COLLAPSE_ALL:()=>tF,STORIES_EXPAND_ALL:()=>rF,STORY_ARGS_UPDATED:()=>Iv,STORY_CHANGED:()=>Nv,STORY_ERRORED:()=>jv,STORY_FINISHED:()=>uc,STORY_HOT_UPDATED:()=>Fv,STORY_INDEX_INVALIDATED:()=>kv,STORY_MISSING:()=>lc,STORY_PREPARED:()=>Mv,STORY_RENDERED:()=>Yi,STORY_RENDER_PHASE_CHANGED:()=>mn,STORY_SPECIFIED:()=>$v,STORY_THREW_EXCEPTION:()=>Lv,STORY_UNCHANGED:()=>Dv,TELEMETRY_ERROR:()=>Uv,TOGGLE_WHATS_NEW_NOTIFICATIONS:()=>iF,UNHANDLED_ERRORS_WHILE_PLAYING:()=>_v,UPDATE_GLOBALS:()=>Ep,UPDATE_QUERY_PARAMS:()=>Bv,UPDATE_STORY_ARGS:()=>xp,default:()=>DD});var yp=(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_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))(yp||{}),DD=yp,{CHANNEL_WS_DISCONNECT:Sv,CHANNEL_CREATED:FD,CONFIG_ERROR:Cv,CREATE_NEW_STORYFILE_REQUEST:BD,CREATE_NEW_STORYFILE_RESPONSE:UD,CURRENT_STORY_WAS_SET:sc,DOCS_PREPARED:Pv,DOCS_RENDERED:bp,FILE_COMPONENT_SEARCH_REQUEST:HD,FILE_COMPONENT_SEARCH_RESPONSE:VD,FORCE_RE_RENDER:gp,FORCE_REMOUNT:Ki,GLOBALS_UPDATED:Oa,NAVIGATE_URL:JD,PLAY_FUNCTION_THREW_EXCEPTION:Ov,UNHANDLED_ERRORS_WHILE_PLAYING:_v,PRELOAD_ENTRIES:Av,PREVIEW_BUILDER_PROGRESS:zD,PREVIEW_KEYDOWN:Rv,REGISTER_SUBSCRIPTION:WD,RESET_STORY_ARGS:vp,SELECT_STORY:GD,SET_CONFIG:KD,SET_CURRENT_STORY:wp,SET_FILTER:YD,SET_GLOBALS:qv,SET_INDEX:XD,SET_STORIES:QD,SHARED_STATE_CHANGED:ZD,SHARED_STATE_SET:eF,STORIES_COLLAPSE_ALL:tF,STORIES_EXPAND_ALL:rF,STORY_ARGS_UPDATED:Iv,STORY_CHANGED:Nv,STORY_ERRORED:jv,STORY_INDEX_INVALIDATED:kv,STORY_MISSING:lc,STORY_PREPARED:Mv,STORY_RENDER_PHASE_CHANGED:mn,STORY_RENDERED:Yi,STORY_FINISHED:uc,STORY_SPECIFIED:$v,STORY_THREW_EXCEPTION:Lv,STORY_UNCHANGED:Dv,STORY_HOT_UPDATED:Fv,UPDATE_GLOBALS:Ep,UPDATE_QUERY_PARAMS:Bv,UPDATE_STORY_ARGS:xp,REQUEST_WHATS_NEW_DATA:nF,RESULT_WHATS_NEW_DATA:oF,SET_WHATS_NEW_CACHE:aF,TOGGLE_WHATS_NEW_NOTIFICATIONS:iF,TELEMETRY_ERROR:Uv,SAVE_STORY_REQUEST:sF,SAVE_STORY_RESPONSE:lF,ARGTYPES_INFO_REQUEST:Hv,ARGTYPES_INFO_RESPONSE:cc}=yp,Vv={};ct(Vv,{global:()=>te});var te=(()=>{let e;return typeof window<"u"?e=window:typeof globalThis<"u"?e=globalThis:typeof global<"u"?e=global:typeof self<"u"?e=self:e={},e})(),Jv={"@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__"},uF=Object.keys(Jv),zv={};ct(zv,{Channel:()=>tl,HEARTBEAT_INTERVAL:()=>nE,HEARTBEAT_MAX_LATENCY:()=>oE,PostMessageTransport:()=>rE,WebsocketTransport:()=>iE,createBrowserChannel:()=>sE,default:()=>kB});function ge(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];var n=Array.from(typeof e=="string"?[e]:e);n[n.length-1]=n[n.length-1].replace(/\r?\n([\t ]*)$/,"");var o=n.reduce(function(l,c){var u=c.match(/\n([\t ]+|(?!\s).)/g);return u?l.concat(u.map(function(d){var p,h;return(h=(p=d.match(/[\t ]/g))===null||p===void 0?void 0:p.length)!==null&&h!==void 0?h:0})):l},[]);if(o.length){var i=new RegExp(`
30
- [ ]{`+Math.min.apply(Math,o)+"}","g");n=n.map(function(l){return l.replace(i,`
31
- `)})}n[0]=n[0].replace(/^\r?\n/,"");var s=n[0];return t.forEach(function(l,c){var u=s.match(/(?:^|\n)( *)$/),d=u?u[1]:"",p=l;typeof l=="string"&&l.includes(`
32
- `)&&(p=String(l).split(`
33
- `).map(function(h,f){return f===0?h:""+d+h}).join(`
34
- `)),s+=p+n[c+1]}),s}a(ge,"dedent");var cF=ge,Vy=new Map,dF="UNIVERSAL_STORE:",Pt={PENDING:"PENDING",RESOLVED:"RESOLVED",REJECTED:"REJECTED"},Cr=class fe{constructor(t,r){if(this.debugging=!1,this.listeners=new Map([["*",new Set]]),this.getState=a(()=>(this.debug("getState",{state:this.state}),this.state),"getState"),this.subscribe=a((n,o)=>{let i=typeof n=="function",s=i?"*":n,l=i?n:o;if(this.debug("subscribe",{eventType:s,listener:l}),!l)throw new 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(s)||this.listeners.set(s,new Set),this.listeners.get(s).add(l),()=>{this.debug("unsubscribe",{eventType:s,listener:l}),this.listeners.has(s)&&(this.listeners.get(s).delete(l),this.listeners.get(s)?.size===0&&this.listeners.delete(s))}},"subscribe"),this.send=a(n=>{if(this.debug("send",{event:n}),this.status!==fe.Status.READY)throw new TypeError(ge`Cannot send event before store is ready. You can get the current status with store.status,
35
- or await store.readyPromise to wait for the store to be ready before sending events.
36
- ${JSON.stringify({event:n,id:this.id,actor:this.actor,environment:this.environment},null,2)}`);this.emitToListeners(n,{actor:this.actor}),this.emitToChannel(n,{actor:this.actor})},"send"),this.debugging=t.debug??!1,!fe.isInternalConstructing)throw new TypeError("UniversalStore is not constructable - use UniversalStore.create() instead");if(fe.isInternalConstructing=!1,this.id=t.id,this.actorId=Date.now().toString(36)+Math.random().toString(36).substring(2),this.actorType=t.leader?fe.ActorType.LEADER:fe.ActorType.FOLLOWER,this.state=t.initialState,this.channelEventName=`${dF}${this.id}`,this.debug("constructor",{options:t,environmentOverrides:r,channelEventName:this.channelEventName}),this.actor.type===fe.ActorType.LEADER)this.syncing={state:Pt.RESOLVED,promise:Promise.resolve()};else{let n,o,i=new Promise((s,l)=>{n=a(()=>{this.syncing.state===Pt.PENDING&&(this.syncing.state=Pt.RESOLVED,s())},"syncingResolve"),o=a(c=>{this.syncing.state===Pt.PENDING&&(this.syncing.state=Pt.REJECTED,l(c))},"syncingReject")});this.syncing={state:Pt.PENDING,promise:i,resolve:n,reject:o}}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=r?.channel??fe.preparation.channel,this.environment=r?.environment??fe.preparation.environment,this.channel&&this.environment?(fe.preparation.resolve({channel:this.channel,environment:this.environment}),this.prepareThis({channel:this.channel,environment:this.environment})):fe.preparation.promise.then(this.prepareThis)}static setupPreparationPromise(){let t,r,n=new Promise((o,i)=>{t=a(s=>{o(s)},"resolveRef"),r=a((...s)=>{i(s)},"rejectRef")});fe.preparation={resolve:t,reject:r,promise:n}}get actor(){return Object.freeze({id:this.actorId,type:this.actorType,environment:this.environment??fe.Environment.UNKNOWN})}get status(){if(!this.channel||!this.environment)return fe.Status.UNPREPARED;switch(this.syncing?.state){case Pt.PENDING:case void 0:return fe.Status.SYNCING;case Pt.REJECTED:return fe.Status.ERROR;case Pt.RESOLVED:default:return fe.Status.READY}}untilReady(){return Promise.all([fe.preparation.promise,this.syncing?.promise])}static create(t){if(!t||typeof t?.id!="string")throw new TypeError("id is required and must be a string, when creating a UniversalStore");t.debug&&console.debug(ge`[UniversalStore]
37
- create`,{options:t});let r=Vy.get(t.id);if(r)return console.warn(ge`UniversalStore with id "${t.id}" already exists in this environment, re-using existing.
38
- You should reuse the existing instance instead of trying to create a new one.`),r;fe.isInternalConstructing=!0;let n=new fe(t);return Vy.set(t.id,n),n}static __prepare(t,r){fe.preparation.channel=t,fe.preparation.environment=r,fe.preparation.resolve({channel:t,environment:r})}setState(t){let r=this.state,n=typeof t=="function"?t(r):t;if(this.debug("setState",{newState:n,previousState:r,updater:t}),this.status!==fe.Status.READY)throw new TypeError(ge`Cannot set state before store is ready. You can get the current status with store.status,
39
- or await store.readyPromise to wait for the store to be ready before sending events.
40
- ${JSON.stringify({newState:n,id:this.id,actor:this.actor,environment:this.environment},null,2)}`);this.state=n;let o={type:fe.InternalEventType.SET_STATE,payload:{state:n,previousState:r}};this.emitToChannel(o,{actor:this.actor}),this.emitToListeners(o,{actor:this.actor})}onStateChange(t){return this.debug("onStateChange",{listener:t}),this.subscribe(fe.InternalEventType.SET_STATE,({payload:r},n)=>{t(r.state,r.previousState,n)})}emitToChannel(t,r){this.debug("emitToChannel",{event:t,eventInfo:r,channel:!!this.channel}),this.channel?.emit(this.channelEventName,{event:t,eventInfo:r})}prepareThis({channel:t,environment:r}){this.channel=t,this.environment=r,this.debug("prepared",{channel:!!t,environment:r}),this.channel.on(this.channelEventName,this.handleChannelEvents),this.actor.type===fe.ActorType.LEADER?this.emitToChannel({type:fe.InternalEventType.LEADER_CREATED},{actor:this.actor}):(this.emitToChannel({type:fe.InternalEventType.FOLLOWER_CREATED},{actor:this.actor}),this.emitToChannel({type:fe.InternalEventType.EXISTING_STATE_REQUEST},{actor:this.actor}),setTimeout(()=>{this.syncing.reject(new 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(t,r){let n=this.listeners.get(t.type),o=this.listeners.get("*");this.debug("emitToListeners",{event:t,eventInfo:r,eventTypeListeners:n,everythingListeners:o}),[...n??[],...o??[]].forEach(i=>i(t,r))}handleChannelEvents(t){let{event:r,eventInfo:n}=t;if([n.actor.id,n.forwardingActor?.id].includes(this.actor.id)){this.debug("handleChannelEvents: Ignoring event from self",{channelEvent:t});return}else if(this.syncing?.state===Pt.PENDING&&r.type!==fe.InternalEventType.EXISTING_STATE_RESPONSE){this.debug("handleChannelEvents: Ignoring event while syncing",{channelEvent:t});return}if(this.debug("handleChannelEvents",{channelEvent:t}),this.actor.type===fe.ActorType.LEADER){let o=!0;switch(r.type){case fe.InternalEventType.EXISTING_STATE_REQUEST:o=!1;let i={type:fe.InternalEventType.EXISTING_STATE_RESPONSE,payload:this.state};this.debug("handleChannelEvents: responding to existing state request",{responseEvent:i}),this.emitToChannel(i,{actor:this.actor}),this.emitToListeners(i,{actor:this.actor});break;case fe.InternalEventType.LEADER_CREATED:o=!1,this.syncing.state=Pt.REJECTED,this.debug("handleChannelEvents: erroring due to second leader being created",{event:r}),console.error(ge`Detected multiple UniversalStore leaders created with the same id "${this.id}".
41
- Only one leader can exists at a time, your stores are now in an invalid state.
42
- Leaders detected:
43
- this: ${JSON.stringify(this.actor,null,2)}
44
- other: ${JSON.stringify(n.actor,null,2)}`);break}o&&(this.debug("handleChannelEvents: forwarding event",{channelEvent:t}),this.emitToChannel(r,{actor:n.actor,forwardingActor:this.actor}))}if(this.actor.type===fe.ActorType.FOLLOWER)switch(r.type){case fe.InternalEventType.EXISTING_STATE_RESPONSE:if(this.debug("handleChannelEvents: Setting state from leader's existing state response",{event:r}),this.syncing?.state!==Pt.PENDING)break;this.syncing.resolve?.();let o={type:fe.InternalEventType.SET_STATE,payload:{state:r.payload,previousState:this.state}};this.state=r.payload,this.emitToListeners(o,n);break}switch(r.type){case fe.InternalEventType.SET_STATE:this.debug("handleChannelEvents: Setting state",{event:r}),this.state=r.payload.state;break}this.emitToListeners(r,{actor:n.actor})}debug(t,r){this.debugging&&console.debug(ge`[UniversalStore::${this.id}::${this.environment??fe.Environment.UNKNOWN}]
45
- ${t}`,JSON.stringify({data:r,actor:this.actor,state:this.state,status:this.status},null,2))}static __reset(){fe.preparation.reject(new Error("reset")),fe.setupPreparationPromise(),fe.isInternalConstructing=!1}};a(Cr,"UniversalStore"),Cr.ActorType={LEADER:"LEADER",FOLLOWER:"FOLLOWER"},Cr.Environment={SERVER:"SERVER",MANAGER:"MANAGER",PREVIEW:"PREVIEW",UNKNOWN:"UNKNOWN",MOCK:"MOCK"},Cr.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"},Cr.Status={UNPREPARED:"UNPREPARED",SYNCING:"SYNCING",READY:"READY",ERROR:"ERROR"},Cr.isInternalConstructing=!1,Cr.setupPreparationPromise();var _u=Cr,pF=a(e=>e.transports!==void 0,"isMulti"),fF=a(()=>Math.random().toString(16).slice(2),"generateRandomId"),Wv=class{constructor(t={}){this.sender=fF(),this.events={},this.data={},this.transports=[],this.isAsync=t.async||!1,pF(t)?(this.transports=t.transports||[],this.transports.forEach(r=>{r.setHandler(n=>this.handleEvent(n))})):this.transports=t.transport?[t.transport]:[],this.transports.forEach(r=>{r.setHandler(n=>this.handleEvent(n))})}get hasTransport(){return this.transports.length>0}addListener(t,r){this.events[t]=this.events[t]||[],this.events[t].push(r)}emit(t,...r){let n={type:t,args:r,from:this.sender},o={};r.length>=1&&r[0]&&r[0].options&&(o=r[0].options);let i=a(()=>{this.transports.forEach(s=>{s.send(n,o)}),this.handleEvent(n)},"handler");this.isAsync?setImmediate(i):i()}last(t){return this.data[t]}eventNames(){return Object.keys(this.events)}listenerCount(t){let r=this.listeners(t);return r?r.length:0}listeners(t){return this.events[t]||void 0}once(t,r){let n=this.onceListener(t,r);this.addListener(t,n)}removeAllListeners(t){t?this.events[t]&&delete this.events[t]:this.events={}}removeListener(t,r){let n=this.listeners(t);n&&(this.events[t]=n.filter(o=>o!==r))}on(t,r){this.addListener(t,r)}off(t,r){this.removeListener(t,r)}handleEvent(t){let r=this.listeners(t.type);r&&r.length&&r.forEach(n=>{n.apply(t,t.args)}),this.data[t.type]=t.args}onceListener(t,r){let n=a((...o)=>(this.removeListener(t,n),r(...o)),"onceListener");return n}};a(Wv,"Channel");var tl=Wv,Gv={};ct(Gv,{deprecate:()=>Tp,logger:()=>Ie,once:()=>Be,pretty:()=>xt});var{LOGLEVEL:hF}=te,Ar={trace:1,debug:2,info:3,warn:4,error:5,silent:10},mF=hF,Dn=Ar[mF]||Ar.info,Ie={trace:a((e,...t)=>{Dn<=Ar.trace&&console.trace(e,...t)},"trace"),debug:a((e,...t)=>{Dn<=Ar.debug&&console.debug(e,...t)},"debug"),info:a((e,...t)=>{Dn<=Ar.info&&console.info(e,...t)},"info"),warn:a((e,...t)=>{Dn<=Ar.warn&&console.warn(e,...t)},"warn"),error:a((e,...t)=>{Dn<=Ar.error&&console.error(e,...t)},"error"),log:a((e,...t)=>{Dn<Ar.silent&&console.log(e,...t)},"log")},dc=new Set,Be=a(e=>(t,...r)=>{if(!dc.has(t))return dc.add(t),Ie[e](t,...r)},"once");Be.clear=()=>dc.clear();Be.trace=Be("trace");Be.debug=Be("debug");Be.info=Be("info");Be.warn=Be("warn");Be.error=Be("error");Be.log=Be("log");var Tp=Be("warn"),xt=a(e=>(...t)=>{let r=[];if(t.length){let n=/<span\s+style=(['"])([^'"]*)\1\s*>/gi,o=/<\/span>/gi,i;for(r.push(t[0].replace(n,"%c").replace(o,"%c"));i=n.exec(t[0]);)r.push(i[2]),r.push("");for(let s=1;s<t.length;s++)r.push(t[s])}Ie[e].apply(Ie,r)},"pretty");xt.trace=xt("trace");xt.debug=xt("debug");xt.info=xt("info");xt.warn=xt("warn");xt.error=xt("error");var yF=Object.create,Kv=Object.defineProperty,bF=Object.getOwnPropertyDescriptor,Yv=Object.getOwnPropertyNames,gF=Object.getPrototypeOf,vF=Object.prototype.hasOwnProperty,be=a((e,t)=>a(function(){return t||(0,e[Yv(e)[0]])((t={exports:{}}).exports,t),t.exports},"__require"),"__commonJS"),wF=a((e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of Yv(t))!vF.call(e,o)&&o!==r&&Kv(e,o,{get:a(()=>t[o],"get"),enumerable:!(n=bF(t,o))||n.enumerable});return e},"__copyProps"),Sp=a((e,t,r)=>(r=e!=null?yF(gF(e)):{},wF(t||!e||!e.__esModule?Kv(r,"default",{value:e,enumerable:!0}):r,e)),"__toESM"),EF=["bubbles","cancelBubble","cancelable","composed","currentTarget","defaultPrevented","eventPhase","isTrusted","returnValue","srcElement","target","timeStamp","type"],xF=["detail"];function Xv(e){let t=EF.filter(r=>e[r]!==void 0).reduce((r,n)=>(r[n]=e[n],r),{});if(e instanceof CustomEvent)for(let r of xF.filter(n=>e[n]!==void 0))t[r]=e[r];return t}a(Xv,"extractEventHiddenProperties");var Qv=be({"node_modules/.pnpm/es-object-atoms@1.1.1/node_modules/es-object-atoms/index.js"(e,t){t.exports=Object}}),TF=be({"node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/index.js"(e,t){t.exports=Error}}),SF=be({"node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/eval.js"(e,t){t.exports=EvalError}}),CF=be({"node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/range.js"(e,t){t.exports=RangeError}}),PF=be({"node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/ref.js"(e,t){t.exports=ReferenceError}}),OF=be({"node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/syntax.js"(e,t){t.exports=SyntaxError}}),Cp=be({"node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/type.js"(e,t){t.exports=TypeError}}),_F=be({"node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/uri.js"(e,t){t.exports=URIError}}),AF=be({"node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/abs.js"(e,t){t.exports=Math.abs}}),RF=be({"node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/floor.js"(e,t){t.exports=Math.floor}}),qF=be({"node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/max.js"(e,t){t.exports=Math.max}}),IF=be({"node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/min.js"(e,t){t.exports=Math.min}}),NF=be({"node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/pow.js"(e,t){t.exports=Math.pow}}),jF=be({"node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/round.js"(e,t){t.exports=Math.round}}),kF=be({"node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/isNaN.js"(e,t){t.exports=Number.isNaN||a(function(r){return r!==r},"isNaN2")}}),MF=be({"node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/sign.js"(e,t){var r=kF();t.exports=a(function(n){return r(n)||n===0?n:n<0?-1:1},"sign")}}),$F=be({"node_modules/.pnpm/gopd@1.2.0/node_modules/gopd/gOPD.js"(e,t){t.exports=Object.getOwnPropertyDescriptor}}),Pp=be({"node_modules/.pnpm/gopd@1.2.0/node_modules/gopd/index.js"(e,t){var r=$F();if(r)try{r([],"length")}catch{r=null}t.exports=r}}),LF=be({"node_modules/.pnpm/es-define-property@1.0.1/node_modules/es-define-property/index.js"(e,t){var r=Object.defineProperty||!1;if(r)try{r({},"a",{value:1})}catch{r=!1}t.exports=r}}),Zv=be({"node_modules/.pnpm/has-symbols@1.1.0/node_modules/has-symbols/shams.js"(e,t){t.exports=a(function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var r={},n=Symbol("test"),o=Object(n);if(typeof n=="string"||Object.prototype.toString.call(n)!=="[object Symbol]"||Object.prototype.toString.call(o)!=="[object Symbol]")return!1;var i=42;r[n]=i;for(var s in r)return!1;if(typeof Object.keys=="function"&&Object.keys(r).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(r).length!==0)return!1;var l=Object.getOwnPropertySymbols(r);if(l.length!==1||l[0]!==n||!Object.prototype.propertyIsEnumerable.call(r,n))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var c=Object.getOwnPropertyDescriptor(r,n);if(c.value!==i||c.enumerable!==!0)return!1}return!0},"hasSymbols")}}),ew=be({"node_modules/.pnpm/has-symbols@1.1.0/node_modules/has-symbols/index.js"(e,t){var r=typeof Symbol<"u"&&Symbol,n=Zv();t.exports=a(function(){return typeof r!="function"||typeof Symbol!="function"||typeof r("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:n()},"hasNativeSymbols")}}),tw=be({"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}}),rw=be({"node_modules/.pnpm/get-proto@1.0.1/node_modules/get-proto/Object.getPrototypeOf.js"(e,t){var r=Qv();t.exports=r.getPrototypeOf||null}}),DF=be({"node_modules/.pnpm/function-bind@1.1.2/node_modules/function-bind/implementation.js"(e,t){var r="Function.prototype.bind called on incompatible ",n=Object.prototype.toString,o=Math.max,i="[object Function]",s=a(function(u,d){for(var p=[],h=0;h<u.length;h+=1)p[h]=u[h];for(var f=0;f<d.length;f+=1)p[f+u.length]=d[f];return p},"concatty2"),l=a(function(u,d){for(var p=[],h=d||0,f=0;h<u.length;h+=1,f+=1)p[f]=u[h];return p},"slicy2"),c=a(function(u,d){for(var p="",h=0;h<u.length;h+=1)p+=u[h],h+1<u.length&&(p+=d);return p},"joiny");t.exports=a(function(u){var d=this;if(typeof d!="function"||n.apply(d)!==i)throw new TypeError(r+d);for(var p=l(arguments,1),h,f=a(function(){if(this instanceof h){var w=d.apply(this,s(p,arguments));return Object(w)===w?w:this}return d.apply(u,s(p,arguments))},"binder"),m=o(0,d.length-p.length),b=[],g=0;g<m;g++)b[g]="$"+g;if(h=Function("binder","return function ("+c(b,",")+"){ return binder.apply(this,arguments); }")(f),d.prototype){var v=a(function(){},"Empty2");v.prototype=d.prototype,h.prototype=new v,v.prototype=null}return h},"bind")}}),rl=be({"node_modules/.pnpm/function-bind@1.1.2/node_modules/function-bind/index.js"(e,t){var r=DF();t.exports=Function.prototype.bind||r}}),Op=be({"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}}),nw=be({"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}}),FF=be({"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}}),BF=be({"node_modules/.pnpm/call-bind-apply-helpers@1.0.2/node_modules/call-bind-apply-helpers/actualApply.js"(e,t){var r=rl(),n=nw(),o=Op(),i=FF();t.exports=i||r.call(o,n)}}),ow=be({"node_modules/.pnpm/call-bind-apply-helpers@1.0.2/node_modules/call-bind-apply-helpers/index.js"(e,t){var r=rl(),n=Cp(),o=Op(),i=BF();t.exports=a(function(s){if(s.length<1||typeof s[0]!="function")throw new n("a function is required");return i(r,o,s)},"callBindBasic")}}),UF=be({"node_modules/.pnpm/dunder-proto@1.0.1/node_modules/dunder-proto/get.js"(e,t){var r=ow(),n=Pp(),o;try{o=[].__proto__===Array.prototype}catch(c){if(!c||typeof c!="object"||!("code"in c)||c.code!=="ERR_PROTO_ACCESS")throw c}var i=!!o&&n&&n(Object.prototype,"__proto__"),s=Object,l=s.getPrototypeOf;t.exports=i&&typeof i.get=="function"?r([i.get]):typeof l=="function"?a(function(c){return l(c==null?c:s(c))},"getDunder"):!1}}),HF=be({"node_modules/.pnpm/get-proto@1.0.1/node_modules/get-proto/index.js"(e,t){var r=tw(),n=rw(),o=UF();t.exports=r?a(function(i){return r(i)},"getProto"):n?a(function(i){if(!i||typeof i!="object"&&typeof i!="function")throw new TypeError("getProto: not an object");return n(i)},"getProto"):o?a(function(i){return o(i)},"getProto"):null}}),aw=be({"node_modules/.pnpm/hasown@2.0.2/node_modules/hasown/index.js"(e,t){var r=Function.prototype.call,n=Object.prototype.hasOwnProperty,o=rl();t.exports=o.call(r,n)}}),VF=be({"node_modules/.pnpm/get-intrinsic@1.3.0/node_modules/get-intrinsic/index.js"(e,t){var r,n=Qv(),o=TF(),i=SF(),s=CF(),l=PF(),c=OF(),u=Cp(),d=_F(),p=AF(),h=RF(),f=qF(),m=IF(),b=NF(),g=jF(),v=MF(),w=Function,P=a(function(F){try{return w('"use strict"; return ('+F+").constructor;")()}catch{}},"getEvalledConstructor"),A=Pp(),R=LF(),T=a(function(){throw new u},"throwTypeError"),E=A?(function(){try{return arguments.callee,T}catch{try{return A(arguments,"callee").get}catch{return T}}})():T,x=ew()(),C=HF(),k=rw(),I=tw(),U=nw(),D=Op(),O={},M=typeof Uint8Array>"u"||!C?r:C(Uint8Array),$={__proto__:null,"%AggregateError%":typeof AggregateError>"u"?r:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?r:ArrayBuffer,"%ArrayIteratorPrototype%":x&&C?C([][Symbol.iterator]()):r,"%AsyncFromSyncIteratorPrototype%":r,"%AsyncFunction%":O,"%AsyncGenerator%":O,"%AsyncGeneratorFunction%":O,"%AsyncIteratorPrototype%":O,"%Atomics%":typeof Atomics>"u"?r:Atomics,"%BigInt%":typeof BigInt>"u"?r:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?r:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?r:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?r:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":o,"%eval%":eval,"%EvalError%":i,"%Float16Array%":typeof Float16Array>"u"?r:Float16Array,"%Float32Array%":typeof Float32Array>"u"?r:Float32Array,"%Float64Array%":typeof Float64Array>"u"?r:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?r:FinalizationRegistry,"%Function%":w,"%GeneratorFunction%":O,"%Int8Array%":typeof Int8Array>"u"?r:Int8Array,"%Int16Array%":typeof Int16Array>"u"?r:Int16Array,"%Int32Array%":typeof Int32Array>"u"?r:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":x&&C?C(C([][Symbol.iterator]())):r,"%JSON%":typeof JSON=="object"?JSON:r,"%Map%":typeof Map>"u"?r:Map,"%MapIteratorPrototype%":typeof Map>"u"||!x||!C?r:C(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":n,"%Object.getOwnPropertyDescriptor%":A,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?r:Promise,"%Proxy%":typeof Proxy>"u"?r:Proxy,"%RangeError%":s,"%ReferenceError%":l,"%Reflect%":typeof Reflect>"u"?r:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?r:Set,"%SetIteratorPrototype%":typeof Set>"u"||!x||!C?r:C(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?r:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":x&&C?C(""[Symbol.iterator]()):r,"%Symbol%":x?Symbol:r,"%SyntaxError%":c,"%ThrowTypeError%":E,"%TypedArray%":M,"%TypeError%":u,"%Uint8Array%":typeof Uint8Array>"u"?r:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?r:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?r:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?r:Uint32Array,"%URIError%":d,"%WeakMap%":typeof WeakMap>"u"?r:WeakMap,"%WeakRef%":typeof WeakRef>"u"?r:WeakRef,"%WeakSet%":typeof WeakSet>"u"?r:WeakSet,"%Function.prototype.call%":D,"%Function.prototype.apply%":U,"%Object.defineProperty%":R,"%Object.getPrototypeOf%":k,"%Math.abs%":p,"%Math.floor%":h,"%Math.max%":f,"%Math.min%":m,"%Math.pow%":b,"%Math.round%":g,"%Math.sign%":v,"%Reflect.getPrototypeOf%":I};if(C)try{null.error}catch(F){K=C(C(F)),$["%Error.prototype%"]=K}var K,G=a(function F(Q){var oe;if(Q==="%AsyncFunction%")oe=P("async function () {}");else if(Q==="%GeneratorFunction%")oe=P("function* () {}");else if(Q==="%AsyncGeneratorFunction%")oe=P("async function* () {}");else if(Q==="%AsyncGenerator%"){var ue=F("%AsyncGeneratorFunction%");ue&&(oe=ue.prototype)}else if(Q==="%AsyncIteratorPrototype%"){var ie=F("%AsyncGenerator%");ie&&C&&(oe=C(ie.prototype))}return $[Q]=oe,oe},"doEval2"),re={__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"]},ae=rl(),Z=aw(),W=ae.call(D,Array.prototype.concat),z=ae.call(U,Array.prototype.splice),Y=ae.call(D,String.prototype.replace),ne=ae.call(D,String.prototype.slice),X=ae.call(D,RegExp.prototype.exec),se=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,ce=/\\(\\)?/g,Me=a(function(F){var Q=ne(F,0,1),oe=ne(F,-1);if(Q==="%"&&oe!=="%")throw new c("invalid intrinsic syntax, expected closing `%`");if(oe==="%"&&Q!=="%")throw new c("invalid intrinsic syntax, expected opening `%`");var ue=[];return Y(F,se,function(ie,de,pe,Pe){ue[ue.length]=pe?Y(Pe,ce,"$1"):de||ie}),ue},"stringToPath3"),Ve=a(function(F,Q){var oe=F,ue;if(Z(re,oe)&&(ue=re[oe],oe="%"+ue[0]+"%"),Z($,oe)){var ie=$[oe];if(ie===O&&(ie=G(oe)),typeof ie>"u"&&!Q)throw new u("intrinsic "+F+" exists, but is not available. Please file an issue!");return{alias:ue,name:oe,value:ie}}throw new c("intrinsic "+F+" does not exist!")},"getBaseIntrinsic2");t.exports=a(function(F,Q){if(typeof F!="string"||F.length===0)throw new u("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof Q!="boolean")throw new u('"allowMissing" argument must be a boolean');if(X(/^%?[^%]*%?$/,F)===null)throw new c("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var oe=Me(F),ue=oe.length>0?oe[0]:"",ie=Ve("%"+ue+"%",Q),de=ie.name,pe=ie.value,Pe=!1,$e=ie.alias;$e&&(ue=$e[0],z(oe,W([0,1],$e)));for(var lt=1,Ct=!0;lt<oe.length;lt+=1){var ot=oe[lt],ft=ne(ot,0,1),ht=ne(ot,-1);if((ft==='"'||ft==="'"||ft==="`"||ht==='"'||ht==="'"||ht==="`")&&ft!==ht)throw new c("property names with quotes must have matching quotes");if((ot==="constructor"||!Ct)&&(Pe=!0),ue+="."+ot,de="%"+ue+"%",Z($,de))pe=$[de];else if(pe!=null){if(!(ot in pe)){if(!Q)throw new u("base intrinsic for "+F+" exists, but the property is not available.");return}if(A&&lt+1>=oe.length){var mt=A(pe,ot);Ct=!!mt,Ct&&"get"in mt&&!("originalValue"in mt.get)?pe=mt.get:pe=pe[ot]}else Ct=Z(pe,ot),pe=pe[ot];Ct&&!Pe&&($[de]=pe)}}return pe},"GetIntrinsic")}}),_p=be({"node_modules/.pnpm/call-bound@1.0.4/node_modules/call-bound/index.js"(e,t){var r=VF(),n=ow(),o=n([r("%String.prototype.indexOf%")]);t.exports=a(function(i,s){var l=r(i,!!s);return typeof l=="function"&&o(i,".prototype.")>-1?n([l]):l},"callBoundIntrinsic")}}),JF=be({"node_modules/.pnpm/has-tostringtag@1.0.2/node_modules/has-tostringtag/shams.js"(e,t){var r=Zv();t.exports=a(function(){return r()&&!!Symbol.toStringTag},"hasToStringTagShams")}}),iw=be({"node_modules/.pnpm/is-regex@1.2.1/node_modules/is-regex/index.js"(e,t){var r=_p(),n=JF()(),o=aw(),i=Pp(),s;n?(l=r("RegExp.prototype.exec"),c={},u=a(function(){throw c},"throwRegexMarker"),d={toString:u,valueOf:u},typeof Symbol.toPrimitive=="symbol"&&(d[Symbol.toPrimitive]=u),s=a(function(f){if(!f||typeof f!="object")return!1;var m=i(f,"lastIndex"),b=m&&o(m,"value");if(!b)return!1;try{l(f,d)}catch(g){return g===c}},"isRegex")):(p=r("Object.prototype.toString"),h="[object RegExp]",s=a(function(f){return!f||typeof f!="object"&&typeof f!="function"?!1:p(f)===h},"isRegex"));var l,c,u,d,p,h;t.exports=s}}),zF=be({"node_modules/.pnpm/is-function@1.0.2/node_modules/is-function/index.js"(e,t){t.exports=n;var r=Object.prototype.toString;function n(o){if(!o)return!1;var i=r.call(o);return i==="[object Function]"||typeof o=="function"&&i!=="[object RegExp]"||typeof window<"u"&&(o===window.setTimeout||o===window.alert||o===window.confirm||o===window.prompt)}a(n,"isFunction3")}}),WF=be({"node_modules/.pnpm/safe-regex-test@1.1.0/node_modules/safe-regex-test/index.js"(e,t){var r=_p(),n=iw(),o=r("RegExp.prototype.exec"),i=Cp();t.exports=a(function(s){if(!n(s))throw new i("`regex` must be a RegExp");return a(function(l){return o(s,l)!==null},"test")},"regexTester")}}),GF=be({"node_modules/.pnpm/is-symbol@1.1.1/node_modules/is-symbol/index.js"(e,t){var r=_p(),n=r("Object.prototype.toString"),o=ew()(),i=WF();o?(s=r("Symbol.prototype.toString"),l=i(/^Symbol\(.*\)$/),c=a(function(u){return typeof u.valueOf()!="symbol"?!1:l(s(u))},"isRealSymbolObject"),t.exports=a(function(u){if(typeof u=="symbol")return!0;if(!u||typeof u!="object"||n(u)!=="[object Symbol]")return!1;try{return c(u)}catch{return!1}},"isSymbol3")):t.exports=a(function(u){return!1},"isSymbol3");var s,l,c}}),KF=Sp(iw()),YF=Sp(zF()),XF=Sp(GF());function sw(e){return e!=null&&typeof e=="object"&&Array.isArray(e)===!1}a(sw,"isObject");var QF=typeof global=="object"&&global&&global.Object===Object&&global,ZF=QF,e2=typeof self=="object"&&self&&self.Object===Object&&self,t2=ZF||e2||Function("return this")(),Ap=t2,r2=Ap.Symbol,ao=r2,lw=Object.prototype,n2=lw.hasOwnProperty,o2=lw.toString,ra=ao?ao.toStringTag:void 0;function uw(e){var t=n2.call(e,ra),r=e[ra];try{e[ra]=void 0;var n=!0}catch{}var o=o2.call(e);return n&&(t?e[ra]=r:delete e[ra]),o}a(uw,"getRawTag");var a2=uw,i2=Object.prototype,s2=i2.toString;function cw(e){return s2.call(e)}a(cw,"objectToString");var l2=cw,u2="[object Null]",c2="[object Undefined]",Jy=ao?ao.toStringTag:void 0;function dw(e){return e==null?e===void 0?c2:u2:Jy&&Jy in Object(e)?a2(e):l2(e)}a(dw,"baseGetTag");var pw=dw;function fw(e){return e!=null&&typeof e=="object"}a(fw,"isObjectLike");var d2=fw,p2="[object Symbol]";function hw(e){return typeof e=="symbol"||d2(e)&&pw(e)==p2}a(hw,"isSymbol");var Rp=hw;function mw(e,t){for(var r=-1,n=e==null?0:e.length,o=Array(n);++r<n;)o[r]=t(e[r],r,e);return o}a(mw,"arrayMap");var f2=mw,h2=Array.isArray,qp=h2,zy=ao?ao.prototype:void 0,Wy=zy?zy.toString:void 0;function Ip(e){if(typeof e=="string")return e;if(qp(e))return f2(e,Ip)+"";if(Rp(e))return Wy?Wy.call(e):"";var t=e+"";return t=="0"&&1/e==-1/0?"-0":t}a(Ip,"baseToString");var m2=Ip;function yw(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}a(yw,"isObject2");var bw=yw,y2="[object AsyncFunction]",b2="[object Function]",g2="[object GeneratorFunction]",v2="[object Proxy]";function gw(e){if(!bw(e))return!1;var t=pw(e);return t==b2||t==g2||t==y2||t==v2}a(gw,"isFunction");var w2=gw,E2=Ap["__core-js_shared__"],Au=E2,Gy=(function(){var e=/[^.]+$/.exec(Au&&Au.keys&&Au.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""})();function vw(e){return!!Gy&&Gy in e}a(vw,"isMasked");var x2=vw,T2=Function.prototype,S2=T2.toString;function ww(e){if(e!=null){try{return S2.call(e)}catch{}try{return e+""}catch{}}return""}a(ww,"toSource");var C2=ww,P2=/[\\^$.*+?()[\]{}|]/g,O2=/^\[object .+?Constructor\]$/,_2=Function.prototype,A2=Object.prototype,R2=_2.toString,q2=A2.hasOwnProperty,I2=RegExp("^"+R2.call(q2).replace(P2,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function Ew(e){if(!bw(e)||x2(e))return!1;var t=w2(e)?I2:O2;return t.test(C2(e))}a(Ew,"baseIsNative");var N2=Ew;function xw(e,t){return e?.[t]}a(xw,"getValue");var j2=xw;function Tw(e,t){var r=j2(e,t);return N2(r)?r:void 0}a(Tw,"getNative");var Sw=Tw;function Cw(e,t){return e===t||e!==e&&t!==t}a(Cw,"eq");var k2=Cw,M2=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,$2=/^\w*$/;function Pw(e,t){if(qp(e))return!1;var r=typeof e;return r=="number"||r=="symbol"||r=="boolean"||e==null||Rp(e)?!0:$2.test(e)||!M2.test(e)||t!=null&&e in Object(t)}a(Pw,"isKey");var L2=Pw,D2=Sw(Object,"create"),_a=D2;function Ow(){this.__data__=_a?_a(null):{},this.size=0}a(Ow,"hashClear");var F2=Ow;function _w(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}a(_w,"hashDelete");var B2=_w,U2="__lodash_hash_undefined__",H2=Object.prototype,V2=H2.hasOwnProperty;function Aw(e){var t=this.__data__;if(_a){var r=t[e];return r===U2?void 0:r}return V2.call(t,e)?t[e]:void 0}a(Aw,"hashGet");var J2=Aw,z2=Object.prototype,W2=z2.hasOwnProperty;function Rw(e){var t=this.__data__;return _a?t[e]!==void 0:W2.call(t,e)}a(Rw,"hashHas");var G2=Rw,K2="__lodash_hash_undefined__";function qw(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=_a&&t===void 0?K2:t,this}a(qw,"hashSet");var Y2=qw;function On(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}a(On,"Hash");On.prototype.clear=F2;On.prototype.delete=B2;On.prototype.get=J2;On.prototype.has=G2;On.prototype.set=Y2;var Ky=On;function Iw(){this.__data__=[],this.size=0}a(Iw,"listCacheClear");var X2=Iw;function Nw(e,t){for(var r=e.length;r--;)if(k2(e[r][0],t))return r;return-1}a(Nw,"assocIndexOf");var nl=Nw,Q2=Array.prototype,Z2=Q2.splice;function jw(e){var t=this.__data__,r=nl(t,e);if(r<0)return!1;var n=t.length-1;return r==n?t.pop():Z2.call(t,r,1),--this.size,!0}a(jw,"listCacheDelete");var eB=jw;function kw(e){var t=this.__data__,r=nl(t,e);return r<0?void 0:t[r][1]}a(kw,"listCacheGet");var tB=kw;function Mw(e){return nl(this.__data__,e)>-1}a(Mw,"listCacheHas");var rB=Mw;function $w(e,t){var r=this.__data__,n=nl(r,e);return n<0?(++this.size,r.push([e,t])):r[n][1]=t,this}a($w,"listCacheSet");var nB=$w;function _n(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}a(_n,"ListCache");_n.prototype.clear=X2;_n.prototype.delete=eB;_n.prototype.get=tB;_n.prototype.has=rB;_n.prototype.set=nB;var oB=_n,aB=Sw(Ap,"Map"),iB=aB;function Lw(){this.size=0,this.__data__={hash:new Ky,map:new(iB||oB),string:new Ky}}a(Lw,"mapCacheClear");var sB=Lw;function Dw(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}a(Dw,"isKeyable");var lB=Dw;function Fw(e,t){var r=e.__data__;return lB(t)?r[typeof t=="string"?"string":"hash"]:r.map}a(Fw,"getMapData");var ol=Fw;function Bw(e){var t=ol(this,e).delete(e);return this.size-=t?1:0,t}a(Bw,"mapCacheDelete");var uB=Bw;function Uw(e){return ol(this,e).get(e)}a(Uw,"mapCacheGet");var cB=Uw;function Hw(e){return ol(this,e).has(e)}a(Hw,"mapCacheHas");var dB=Hw;function Vw(e,t){var r=ol(this,e),n=r.size;return r.set(e,t),this.size+=r.size==n?0:1,this}a(Vw,"mapCacheSet");var pB=Vw;function An(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}a(An,"MapCache");An.prototype.clear=sB;An.prototype.delete=uB;An.prototype.get=cB;An.prototype.has=dB;An.prototype.set=pB;var Jw=An,fB="Expected a function";function al(e,t){if(typeof e!="function"||t!=null&&typeof t!="function")throw new TypeError(fB);var r=a(function(){var n=arguments,o=t?t.apply(this,n):n[0],i=r.cache;if(i.has(o))return i.get(o);var s=e.apply(this,n);return r.cache=i.set(o,s)||i,s},"memoized");return r.cache=new(al.Cache||Jw),r}a(al,"memoize");al.Cache=Jw;var hB=al,mB=500;function zw(e){var t=hB(e,function(n){return r.size===mB&&r.clear(),n}),r=t.cache;return t}a(zw,"memoizeCapped");var yB=zw,bB=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,gB=/\\(\\)?/g,vB=yB(function(e){var t=[];return e.charCodeAt(0)===46&&t.push(""),e.replace(bB,function(r,n,o,i){t.push(o?i.replace(gB,"$1"):n||r)}),t}),wB=vB;function Ww(e){return e==null?"":m2(e)}a(Ww,"toString");var EB=Ww;function Gw(e,t){return qp(e)?e:L2(e,t)?[e]:wB(EB(e))}a(Gw,"castPath");var xB=Gw;function Kw(e){if(typeof e=="string"||Rp(e))return e;var t=e+"";return t=="0"&&1/e==-1/0?"-0":t}a(Kw,"toKey");var TB=Kw;function Yw(e,t){t=xB(t,e);for(var r=0,n=t.length;e!=null&&r<n;)e=e[TB(t[r++])];return r&&r==n?e:void 0}a(Yw,"baseGet");var SB=Yw;function Xw(e,t,r){var n=e==null?void 0:SB(e,t);return n===void 0?r:n}a(Xw,"get");var CB=Xw,Np=sw,PB=/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(\.\d{3})?Z$/,jp=a(e=>e.match(/^[\[\{\"\}].*[\]\}\"]$/),"isJSON");function kp(e){if(!Np(e))return e;let t=e,r=!1;return typeof Event<"u"&&e instanceof Event&&(t=Xv(t),r=!0),t=Object.keys(t).reduce((n,o)=>{try{t[o]&&t[o].toJSON,n[o]=t[o]}catch{r=!0}return n},{}),r?t:e}a(kp,"convertUnconventionalData");var OB=a(function(e){let t,r,n,o;return a(function(i,s){try{if(i==="")return o=[],t=new Map([[s,"[]"]]),r=new Map,n=[],s;let l=r.get(this)||this;for(;n.length&&l!==n[0];)n.shift(),o.pop();if(typeof s=="boolean")return s;if(s===void 0)return e.allowUndefined?"_undefined_":void 0;if(s===null)return null;if(typeof s=="number")return s===Number.NEGATIVE_INFINITY?"_-Infinity_":s===Number.POSITIVE_INFINITY?"_Infinity_":Number.isNaN(s)?"_NaN_":s;if(typeof s=="bigint")return`_bigint_${s.toString()}`;if(typeof s=="string")return PB.test(s)?e.allowDate?`_date_${s}`:void 0:s;if((0,KF.default)(s))return e.allowRegExp?`_regexp_${s.flags}|${s.source}`:void 0;if((0,YF.default)(s))return;if((0,XF.default)(s)){if(!e.allowSymbol)return;let u=Symbol.keyFor(s);return u!==void 0?`_gsymbol_${u}`:`_symbol_${s.toString().slice(7,-1)}`}if(n.length>=e.maxDepth)return Array.isArray(s)?`[Array(${s.length})]`:"[Object]";if(s===this)return`_duplicate_${JSON.stringify(o)}`;if(s instanceof Error&&e.allowError)return{__isConvertedError__:!0,errorProperties:{...s.cause?{cause:s.cause}:{},...s,name:s.name,message:s.message,stack:s.stack,"_constructor-name_":s.constructor.name}};if(s?.constructor?.name&&s.constructor.name!=="Object"&&!Array.isArray(s)){let u=t.get(s);if(!u){let d={__isClassInstance__:!0,__className__:s.constructor.name,...Object.getOwnPropertyNames(s).reduce((p,h)=>{try{p[h]=s[h]}catch{}return p},{})};return o.push(i),n.unshift(d),t.set(s,JSON.stringify(o)),s!==d&&r.set(s,d),d}return`_duplicate_${u}`}let c=t.get(s);if(!c){let u=Array.isArray(s)?s:kp(s);return o.push(i),n.unshift(u),t.set(s,JSON.stringify(o)),s!==u&&r.set(s,u),u}return`_duplicate_${c}`}catch{return}},"replace")},"replacer2"),_B=a(function(e){let t=[],r;return a(function(n,o){if(n===""&&(r=o,t.forEach(({target:i,container:s,replacement:l})=>{let c=jp(l)?JSON.parse(l):l.split(".");c.length===0?s[i]=r:s[i]=CB(r,c)})),n==="_constructor-name_")return o;if(Np(o)&&o.__isConvertedError__){let{message:i,...s}=o.errorProperties,l=new Error(i);return Object.assign(l,s),l}if(typeof o=="string"&&o.startsWith("_regexp_")&&e.allowRegExp){let[,i,s]=o.match(/_regexp_([^|]*)\|(.*)/)||[];return new RegExp(s,i)}return typeof o=="string"&&o.startsWith("_date_")&&e.allowDate?new Date(o.replace("_date_","")):typeof o=="string"&&o.startsWith("_duplicate_")?(t.push({target:n,container:this,replacement:o.replace(/^_duplicate_/,"")}),null):typeof o=="string"&&o.startsWith("_symbol_")&&e.allowSymbol?Symbol(o.replace("_symbol_","")):typeof o=="string"&&o.startsWith("_gsymbol_")&&e.allowSymbol?Symbol.for(o.replace("_gsymbol_","")):typeof o=="string"&&o==="_-Infinity_"?Number.NEGATIVE_INFINITY:typeof o=="string"&&o==="_Infinity_"?Number.POSITIVE_INFINITY:typeof o=="string"&&o==="_NaN_"?Number.NaN:typeof o=="string"&&o.startsWith("_bigint_")&&typeof BigInt=="function"?BigInt(o.replace("_bigint_","")):o},"revive")},"reviver2"),Qw={maxDepth:10,space:void 0,allowRegExp:!0,allowDate:!0,allowError:!0,allowUndefined:!0,allowSymbol:!0},Zw=a((e,t={})=>{let r={...Qw,...t};return JSON.stringify(kp(e),OB(r),t.space)},"stringify"),AB=a(()=>{let e=new Map;return a(function t(r){Np(r)&&Object.entries(r).forEach(([n,o])=>{o==="_undefined_"?r[n]=void 0:e.get(o)||(e.set(o,!0),t(o))}),Array.isArray(r)&&r.forEach((n,o)=>{n==="_undefined_"?(e.set(n,!0),r[o]=void 0):e.get(n)||(e.set(n,!0),t(n))})},"mutateUndefined")},"mutator"),eE=a((e,t={})=>{let r={...Qw,...t},n=JSON.parse(e,_B(r));return AB()(n),n},"parse"),RB="Invariant failed";function Yt(e,t){if(!e)throw new Error(RB)}a(Yt,"invariant");var qB=a(e=>{let t=Array.from(document.querySelectorAll("iframe[data-is-storybook]")),[r,...n]=t.filter(i=>{try{return i.contentWindow?.location.origin===e.source.location.origin&&i.contentWindow?.location.pathname===e.source.location.pathname}catch{}try{return i.contentWindow===e.source}catch{}let s=i.getAttribute("src"),l;try{if(!s)return!1;({origin:l}=new URL(s,document.location.toString()))}catch{return!1}return l===e.origin}),o=r?.getAttribute("src");if(o&&n.length===0){let{protocol:i,host:s,pathname:l}=new URL(o,document.location.toString());return`${i}//${s}${l}`}return n.length>0&&Ie.error("found multiple candidates for event source"),null},"getEventSourceUrl"),{document:Ru,location:qu}=te,Yy="storybook-channel",IB={maxDepth:25},tE=class{constructor(t){if(this.config=t,this.connected=!1,this.buffer=[],typeof te?.addEventListener=="function"&&te.addEventListener("message",this.handleEvent.bind(this),!1),t.page!=="manager"&&t.page!=="preview")throw new Error(`postmsg-channel: "config.page" cannot be "${t.page}"`)}setHandler(t){this.handler=(...r)=>{t.apply(this,r),!this.connected&&this.getLocalFrame().length&&(this.flush(),this.connected=!0)}}send(t,r){let{target:n,allowRegExp:o,allowSymbol:i,allowDate:s,allowError:l,allowUndefined:c,maxDepth:u,space:d}=r||{},p=Object.fromEntries(Object.entries({allowRegExp:o,allowSymbol:i,allowDate:s,allowError:l,allowUndefined:c,maxDepth:u,space:d}).filter(([g,v])=>typeof v<"u")),h={...IB,...te.CHANNEL_OPTIONS||{},...p},f=this.getFrames(n),m=new URLSearchParams(qu?.search||""),b=Zw({key:Yy,event:t,refId:m.get("refId")},h);return f.length?(this.buffer.length&&this.flush(),f.forEach(g=>{try{g.postMessage(b,"*")}catch{Ie.error("sending over postmessage fail")}}),Promise.resolve(null)):new Promise((g,v)=>{this.buffer.push({event:t,resolve:g,reject:v})})}flush(){let{buffer:t}=this;this.buffer=[],t.forEach(r=>{this.send(r.event).then(r.resolve).catch(r.reject)})}getFrames(t){if(this.config.page==="manager"){let r=Array.from(Ru.querySelectorAll("iframe[data-is-storybook][data-is-loaded]")).flatMap(n=>{try{return n.contentWindow&&n.dataset.isStorybook!==void 0&&n.id===t?[n.contentWindow]:[]}catch{return[]}});return r?.length?r:this.getCurrentFrames()}return te&&te.parent&&te.parent!==te.self?[te.parent]:[]}getCurrentFrames(){return this.config.page==="manager"?Array.from(Ru.querySelectorAll('[data-is-storybook="true"]')).flatMap(t=>t.contentWindow?[t.contentWindow]:[]):te&&te.parent?[te.parent]:[]}getLocalFrame(){return this.config.page==="manager"?Array.from(Ru.querySelectorAll("#storybook-preview-iframe")).flatMap(t=>t.contentWindow?[t.contentWindow]:[]):te&&te.parent?[te.parent]:[]}handleEvent(t){try{let{data:r}=t,{key:n,event:o,refId:i}=typeof r=="string"&&jp(r)?eE(r,te.CHANNEL_OPTIONS||{}):r;if(n===Yy){let s=this.config.page==="manager"?'<span style="color: #37D5D3; background: black"> manager </span>':'<span style="color: #1EA7FD; background: black"> preview </span>',l=Object.values(mp).includes(o.type)?`<span style="color: #FF4785">${o.type}</span>`:`<span style="color: #FFAE00">${o.type}</span>`;if(i&&(o.refId=i),o.source=this.config.page==="preview"?t.origin:qB(t),!o.source){xt.error(`${s} received ${l} but was unable to determine the source of the event`);return}let c=`${s} received ${l} (${r.length})`;xt.debug(qu.origin!==o.source?c:`${c} <span style="color: gray">(on ${qu.origin} from ${o.source})</span>`,...o.args),Yt(this.handler,"ChannelHandler should be set"),this.handler(o)}}catch(r){Ie.error(r)}}};a(tE,"PostMessageTransport");var rE=tE,{WebSocket:NB}=te,nE=15e3,oE=5e3,aE=class{constructor({url:t,onError:r,page:n}){this.buffer=[],this.isReady=!1,this.isClosed=!1,this.pingTimeout=0,this.socket=new NB(t),this.socket.onopen=()=>{this.isReady=!0,this.heartbeat(),this.flush()},this.socket.onmessage=({data:o})=>{let i=typeof o=="string"&&jp(o)?eE(o):o;Yt(this.handler),this.handler(i),i.type==="ping"&&(this.heartbeat(),this.send({type:"pong"}))},this.socket.onerror=o=>{r&&r(o)},this.socket.onclose=o=>{Yt(this.handler),this.handler({type:Sv,args:[{reason:o.reason,code:o.code}],from:n||"preview"}),this.isClosed=!0,clearTimeout(this.pingTimeout)}}heartbeat(){clearTimeout(this.pingTimeout),this.pingTimeout=setTimeout(()=>{this.socket.close(3008,"timeout")},nE+oE)}setHandler(t){this.handler=t}send(t){this.isClosed||(this.isReady?this.sendNow(t):this.sendLater(t))}sendLater(t){this.buffer.push(t)}sendNow(t){let r=Zw(t,{maxDepth:15,...te.CHANNEL_OPTIONS});this.socket.send(r)}flush(){let{buffer:t}=this;this.buffer=[],t.forEach(r=>this.send(r))}};a(aE,"WebsocketTransport");var iE=aE,{CONFIG_TYPE:jB}=te,kB=tl;function sE({page:e,extraTransports:t=[]}){let r=[new rE({page:e}),...t];if(jB==="DEVELOPMENT"){let o=window.location.protocol==="http:"?"ws":"wss",{hostname:i,port:s}=window.location,l=`${o}://${i}:${s}/storybook-server-channel`;r.push(new iE({url:l,onError:a(()=>{},"onError"),page:e}))}let n=new tl({transports:r});return _u.__prepare(n,e==="manager"?_u.Environment.MANAGER:_u.Environment.PREVIEW),n}a(sE,"createBrowserChannel");var lE={};ct(lE,{CalledExtractOnStoreError:()=>bE,CalledPreviewMethodBeforeInitializationError:()=>vt,Category:()=>dE,ElementA11yParameterError:()=>BB,EmptyIndexError:()=>PE,ImplicitActionsDuringRendering:()=>mE,MdxFileWithNoCsfReferencesError:()=>SE,MissingRenderToCanvasError:()=>vE,MissingStoryAfterHmrError:()=>fE,MissingStoryFromCsfFileError:()=>RE,MountMustBeDestructuredError:()=>Mp,NextJsSharpError:()=>$B,NextjsRouterMocksNotAvailable:()=>LB,NoRenderFunctionError:()=>kE,NoStoryMatchError:()=>_E,NoStoryMountedError:()=>$E,StatusTypeIdMismatchError:()=>MB,StoryIndexFetchError:()=>xE,StoryStoreAccessedBeforeInitializationError:()=>IE,UnknownArgTypesError:()=>DB,UnsupportedViewportDimensionError:()=>FB});function pc({code:e,category:t}){let r=String(e).padStart(4,"0");return`SB_${t}_${r}`}a(pc,"parseErrorCode");function fc(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}}a(fc,"appendErrorRef");var uE=class cE extends Error{constructor(t){super(cE.getFullMessage(t)),this.data={},this.fromStorybook=!0,this.category=t.category,this.documentation=t.documentation??!1,this.code=t.code}get fullErrorCode(){return pc({code:this.code,category:this.category})}get name(){let t=this.constructor.name;return`${this.fullErrorCode} (${t})`}static getFullMessage({documentation:t,code:r,category:n,message:o}){let i;return t===!0?i=`https://storybook.js.org/error/${pc({code:r,category:n})}?ref=error`:typeof t=="string"?i=fc(t):Array.isArray(t)&&(i=`
46
- ${t.map(s=>` - ${fc(s)}`).join(`
47
- `)}`),`${o}${i!=null?`
48
-
49
- More info: ${i}
50
- `:""}`}};a(uE,"StorybookError");var Je=uE,dE=(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))(dE||{}),pE=class extends Je{constructor(t){super({category:"PREVIEW_API",code:1,message:ge`
51
- Couldn't find story matching id '${t.storyId}' after HMR.
52
- - Did you just rename a story?
53
- - Did you remove it from your CSF file?
54
- - Are you sure a story with the id '${t.storyId}' exists?
55
- - Please check the values in the stories field of your main.js config and see if they would match your CSF File.
56
- - Also check the browser console and terminal for potential error messages.`}),this.data=t}};a(pE,"MissingStoryAfterHmrError");var fE=pE,hE=class extends Je{constructor(t){super({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:ge`
57
- We detected that you use an implicit action arg while ${t.phase} of your story.
58
- ${t.deprecated?`
59
- This is deprecated and won't work in Storybook 8 anymore.
60
- `:""}
61
- Please provide an explicit spy to your args like this:
62
- import { fn } from 'storybook/test';
63
- ...
64
- args: {
65
- ${t.name}: fn()
66
- }`}),this.data=t}};a(hE,"ImplicitActionsDuringRendering");var mE=hE,yE=class extends Je{constructor(){super({category:"PREVIEW_API",code:3,message:ge`
67
- Cannot call \`storyStore.extract()\` without calling \`storyStore.cacheAllCsfFiles()\` first.
68
-
69
- You probably meant to call \`await preview.extract()\` which does the above for you.`})}};a(yE,"CalledExtractOnStoreError");var bE=yE,gE=class extends Je{constructor(){super({category:"PREVIEW_API",code:4,message:ge`
70
- Expected your framework's preset to export a \`renderToCanvas\` field.
71
-
72
- Perhaps it needs to be upgraded for Storybook 7.0?`,documentation:"https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#mainjs-framework-field"})}};a(gE,"MissingRenderToCanvasError");var vE=gE,wE=class extends Je{constructor(t){super({category:"PREVIEW_API",code:5,message:ge`
73
- Called \`Preview.${t.methodName}()\` before initialization.
74
-
75
- The preview needs to load the story index before most methods can be called. If you want
76
- to call \`${t.methodName}\`, try \`await preview.initializationPromise;\` first.
77
-
78
- If you didn't call the above code, then likely it was called by an addon that needs to
79
- do the above.`}),this.data=t}};a(wE,"CalledPreviewMethodBeforeInitializationError");var vt=wE,EE=class extends Je{constructor(t){super({category:"PREVIEW_API",code:6,message:ge`
80
- Error fetching \`/index.json\`:
81
-
82
- ${t.text}
83
-
84
- If you are in development, this likely indicates a problem with your Storybook process,
85
- check the terminal for errors.
86
-
87
- If you are in a deployed Storybook, there may have been an issue deploying the full Storybook
88
- build.`}),this.data=t}};a(EE,"StoryIndexFetchError");var xE=EE,TE=class extends Je{constructor(t){super({category:"PREVIEW_API",code:7,message:ge`
89
- Tried to render docs entry ${t.storyId} but it is a MDX file that has no CSF
90
- references, or autodocs for a CSF file that some doesn't refer to itself.
91
-
92
- This likely is an internal error in Storybook's indexing, or you've attached the
93
- \`attached-mdx\` tag to an MDX file that is not attached.`}),this.data=t}};a(TE,"MdxFileWithNoCsfReferencesError");var SE=TE,CE=class extends Je{constructor(){super({category:"PREVIEW_API",code:8,message:ge`
94
- Couldn't find any stories in your Storybook.
95
-
96
- - Please check your stories field of your main.js config: does it match correctly?
97
- - Also check the browser console and terminal for error messages.`})}};a(CE,"EmptyIndexError");var PE=CE,OE=class extends Je{constructor(t){super({category:"PREVIEW_API",code:9,message:ge`
98
- Couldn't find story matching '${t.storySpecifier}'.
99
-
100
- - Are you sure a story with that id exists?
101
- - Please check your stories field of your main.js config.
102
- - Also check the browser console and terminal for error messages.`}),this.data=t}};a(OE,"NoStoryMatchError");var _E=OE,AE=class extends Je{constructor(t){super({category:"PREVIEW_API",code:10,message:ge`
103
- Couldn't find story matching id '${t.storyId}' after importing a CSF file.
104
-
105
- The file was indexed as if the story was there, but then after importing the file in the browser
106
- we didn't find the story. Possible reasons:
107
- - You are using a custom story indexer that is misbehaving.
108
- - You have a custom file loader that is removing or renaming exports.
109
-
110
- Please check your browser console and terminal for errors that may explain the issue.`}),this.data=t}};a(AE,"MissingStoryFromCsfFileError");var RE=AE,qE=class extends Je{constructor(){super({category:"PREVIEW_API",code:11,message:ge`
111
- Cannot access the Story Store until the index is ready.
112
-
113
- It is not recommended to use methods directly on the Story Store anyway, in Storybook 9 we will
114
- remove access to the store entirely`})}};a(qE,"StoryStoreAccessedBeforeInitializationError");var IE=qE,NE=class extends Je{constructor(t){super({category:"PREVIEW_API",code:12,message:ge`
115
- Incorrect use of mount in the play function.
116
-
117
- To use mount in the play function, you must satisfy the following two requirements:
118
-
119
- 1. You *must* destructure the mount property from the \`context\` (the argument passed to your play function).
120
- This makes sure that Storybook does not start rendering the story before the play function begins.
121
-
122
- 2. Your Storybook framework or builder must be configured to transpile to ES2017 or newer.
123
- This is because destructuring statements and async/await usages are otherwise transpiled away,
124
- which prevents Storybook from recognizing your usage of \`mount\`.
125
-
126
- Note that Angular is not supported. As async/await is transpiled to support the zone.js polyfill.
127
-
128
- More info: https://storybook.js.org/docs/writing-tests/interaction-testing?ref=error#run-code-before-the-component-gets-rendered
129
-
130
- Received the following play function:
131
- ${t.playFunction}`}),this.data=t}};a(NE,"MountMustBeDestructuredError");var Mp=NE,jE=class extends Je{constructor(t){super({category:"PREVIEW_API",code:14,message:ge`
132
- No render function available for storyId '${t.id}'
133
- `}),this.data=t}};a(jE,"NoRenderFunctionError");var kE=jE,ME=class extends Je{constructor(){super({category:"PREVIEW_API",code:15,message:ge`
134
- No component is mounted in your story.
135
-
136
- This usually occurs when you destructure mount in the play function, but forget to call it.
137
-
138
- For example:
139
-
140
- async play({ mount, canvasElement }) {
141
- // 👈 mount should be called: await mount();
142
- const canvas = within(canvasElement);
143
- const button = await canvas.findByRole('button');
144
- await userEvent.click(button);
145
- };
146
-
147
- Make sure to either remove it or call mount in your play function.
148
- `})}};a(ME,"NoStoryMountedError");var $E=ME,LE=class extends Je{constructor(t){super({category:"PREVIEW_API",code:16,message:`Status has typeId "${t.status.typeId}" but was added to store with typeId "${t.typeId}". Full status: ${JSON.stringify(t.status,null,2)}`}),this.data=t}};a(LE,"StatusTypeIdMismatchError");var MB=LE,DE=class extends Je{constructor(){super({category:"FRAMEWORK_NEXTJS",code:1,documentation:"https://storybook.js.org/docs/get-started/nextjs#faq",message:ge`
149
- You are importing avif images, but you don't have sharp installed.
150
-
151
- You have to install sharp in order to use image optimization features in Next.js.
152
- `})}};a(DE,"NextJsSharpError");var $B=DE,FE=class extends Je{constructor(t){super({category:"FRAMEWORK_NEXTJS",code:2,message:ge`
153
- Tried to access router mocks from "${t.importType}" but they were not created yet. You might be running code in an unsupported environment.
154
- `}),this.data=t}};a(FE,"NextjsRouterMocksNotAvailable");var LB=FE,BE=class extends Je{constructor(t){super({category:"DOCS-TOOLS",code:1,documentation:"https://github.com/storybookjs/storybook/issues/26606",message:ge`
155
- There was a failure when generating detailed ArgTypes in ${t.language} for:
156
- ${JSON.stringify(t.type,null,2)}
157
-
158
- Storybook will fall back to use a generic type description instead.
159
-
160
- This type is either not supported or it is a bug in the docgen generation in Storybook.
161
- If you think this is a bug, please detail it as much as possible in the Github issue.
162
- `}),this.data=t}};a(BE,"UnknownArgTypesError");var DB=BE,UE=class extends Je{constructor(t){super({category:"ADDON_VITEST",code:1,message:ge`
163
- Encountered an unsupported value "${t.value}" when setting the viewport ${t.dimension} dimension.
164
-
165
- The Storybook plugin only supports values in the following units:
166
- - px, vh, vw, em, rem and %.
167
-
168
- 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
169
- `}),this.data=t}};a(UE,"UnsupportedViewportDimensionError");var FB=UE,HE=class extends Je{constructor(){super({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.'})}};a(HE,"ElementA11yParameterError");var BB=HE,VE={};ct(VE,{Addon_TypesEnum:()=>JE});var JE=(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))(JE||{}),zE={};ct(zE,{ADDON_ID:()=>il,CLEAR_ID:()=>VB,CYCLIC_KEY:()=>JB,EVENT_ID:()=>WE,PANEL_ID:()=>HB,PARAM_KEY:()=>UB,action:()=>Fo,actions:()=>y4,config:()=>Ka,configureActions:()=>f4});var UB="actions",il="storybook/actions",HB=`${il}/panel`,WE=`${il}/action-event`,VB=`${il}/action-clear`,JB="$___storybook.isCyclic",hc={};ct(hc,{DocsContext:()=>vy,HooksContext:()=>Lp,Preview:()=>_1,PreviewWeb:()=>l4,PreviewWithSelection:()=>L1,ReporterAPI:()=>yy,StoryStore:()=>T1,UrlStore:()=>J1,WebView:()=>G1,addons:()=>qt,applyHooks:()=>XE,combineArgs:()=>Ls,combineParameters:()=>Sn,composeConfigs:()=>Cn,composeStepRunners:()=>fy,composeStories:()=>v1,composeStory:()=>gy,createPlaywrightTest:()=>w1,decorateStory:()=>iy,defaultDecorateStory:()=>ly,emitTransformCode:()=>Q1,filterArgTypes:()=>f1,getCsfFactoryAnnotations:()=>by,inferControls:()=>py,makeDecorator:()=>KB,mockChannel:()=>$p,normalizeArrays:()=>_e,normalizeProjectAnnotations:()=>Ga,normalizeStory:()=>Wa,pauseAnimations:()=>Tu,prepareMeta:()=>uy,prepareStory:()=>xu,sanitizeStoryContextUpdate:()=>sy,setDefaultProjectAnnotations:()=>y1,setProjectAnnotations:()=>g1,simulateDOMContentLoaded:()=>Us,simulatePageLoad:()=>X1,sortStoriesV7:()=>Kz,useArgs:()=>a0,useCallback:()=>io,useChannel:()=>n0,useEffect:()=>Fr,useGlobals:()=>i0,useMemo:()=>Bp,useParameter:()=>o0,useReducer:()=>r0,useRef:()=>ZE,useState:()=>t0,useStoryContext:()=>ni,userOrAutoTitle:()=>zz,userOrAutoTitleFromSpecifier:()=>C1,waitForAnimations:()=>Su});function $p(){let e={setHandler:a(()=>{},"setHandler"),send:a(()=>{},"send")};return new tl({transport:e})}a($p,"mockChannel");var GE=class{constructor(){this.getChannel=a(()=>{if(!this.channel){let t=$p();return this.setChannel(t),t}return this.channel},"getChannel"),this.ready=a(()=>this.promise,"ready"),this.hasChannel=a(()=>!!this.channel,"hasChannel"),this.setChannel=a(t=>{this.channel=t,this.resolve()},"setChannel"),this.promise=new Promise(t=>{this.resolve=()=>t(this.getChannel())})}};a(GE,"AddonStore");var zB=GE,Iu="__STORYBOOK_ADDONS_PREVIEW";function KE(){return te[Iu]||(te[Iu]=new zB),te[Iu]}a(KE,"getAddonsStore");var qt=KE(),YE=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=a(t=>{t===this.currentContext?.id&&(this.triggerEffects(),this.currentContext=null,this.removeRenderListeners())},"renderListener"),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(t=>{t.destroy&&t.destroy()}),this.init(),this.removeRenderListeners()}getNextHook(){let t=this.currentHooks[this.nextHookIndex];return this.nextHookIndex+=1,t}triggerEffects(){this.prevEffects.forEach(t=>{!this.currentEffects.includes(t)&&t.destroy&&t.destroy()}),this.currentEffects.forEach(t=>{this.prevEffects.includes(t)||(t.destroy=t.create())}),this.prevEffects=this.currentEffects,this.currentEffects=[]}addRenderListeners(){this.removeRenderListeners(),qt.getChannel().on(Yi,this.renderListener)}removeRenderListeners(){qt.getChannel().removeListener(Yi,this.renderListener)}};a(YE,"HooksContext");var Lp=YE;function mc(e){let t=a((...r)=>{let{hooks:n}=typeof r[0]=="function"?r[1]:r[0],o=n.currentPhase,i=n.currentHooks,s=n.nextHookIndex,l=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 c=te.STORYBOOK_HOOKS_CONTEXT;te.STORYBOOK_HOOKS_CONTEXT=n;let u=e(...r);if(te.STORYBOOK_HOOKS_CONTEXT=c,n.currentPhase==="UPDATE"&&n.getNextHook()!=null)throw new Error("Rendered fewer hooks than expected. This may be caused by an accidental early return statement.");return n.currentPhase=o,n.currentHooks=i,n.nextHookIndex=s,n.currentDecoratorName=l,u},"hookified");return t.originalFn=e,t}a(mc,"hookify");var Nu=0,WB=25,XE=a(e=>(t,r)=>{let n=e(mc(t),r.map(o=>mc(o)));return o=>{let{hooks:i}=o;i.prevMountedDecorators??=new Set,i.mountedDecorators=new Set([t,...r]),i.currentContext=o,i.hasUpdates=!1;let s=n(o);for(Nu=1;i.hasUpdates;)if(i.hasUpdates=!1,i.currentEffects=[],s=n(o),Nu+=1,Nu>WB)throw new Error("Too many re-renders. Storybook limits the number of renders to prevent an infinite loop.");return i.addRenderListeners(),s}},"applyHooks"),GB=a((e,t)=>e.length===t.length&&e.every((r,n)=>r===t[n]),"areDepsEqual"),Dp=a(()=>new Error("Storybook preview hooks can only be called inside decorators and story functions."),"invalidHooksError");function Fp(){return te.STORYBOOK_HOOKS_CONTEXT||null}a(Fp,"getHooksContextOrNull");function sl(){let e=Fp();if(e==null)throw Dp();return e}a(sl,"getHooksContextOrThrow");function QE(e,t,r){let n=sl();if(n.currentPhase==="MOUNT"){r!=null&&!Array.isArray(r)&&Ie.warn(`${e} received a final argument that is not an array (instead, received ${r}). When specified, the final argument must be an array.`);let o={name:e,deps:r};return n.currentHooks.push(o),t(o),o}if(n.currentPhase==="UPDATE"){let o=n.getNextHook();if(o==null)throw new Error("Rendered more hooks than during the previous render.");return o.name!==e&&Ie.warn(`Storybook has detected a change in the order of Hooks${n.currentDecoratorName?` called by ${n.currentDecoratorName}`:""}. This will lead to bugs and errors if not fixed.`),r!=null&&o.deps==null&&Ie.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.`),r!=null&&o.deps!=null&&r.length!==o.deps.length&&Ie.warn(`The final argument passed to ${e} changed size between renders. The order and size of this array must remain constant.
170
- Previous: ${o.deps}
171
- Incoming: ${r}`),(r==null||o.deps==null||!GB(r,o.deps))&&(t(o),o.deps=r),o}throw Dp()}a(QE,"useHook");function ri(e,t,r){let{memoizedState:n}=QE(e,o=>{o.memoizedState=t()},r);return n}a(ri,"useMemoLike");function Bp(e,t){return ri("useMemo",e,t)}a(Bp,"useMemo");function io(e,t){return ri("useCallback",()=>e,t)}a(io,"useCallback");function Up(e,t){return ri(e,()=>({current:t}),[])}a(Up,"useRefLike");function ZE(e){return Up("useRef",e)}a(ZE,"useRef");function e0(){let e=Fp();if(e!=null&&e.currentPhase!=="NONE")e.hasUpdates=!0;else try{qt.getChannel().emit(gp)}catch{Ie.warn("State updates of Storybook preview hooks work only in browser")}}a(e0,"triggerUpdate");function Hp(e,t){let r=Up(e,typeof t=="function"?t():t),n=a(o=>{r.current=typeof o=="function"?o(r.current):o,e0()},"setState");return[r.current,n]}a(Hp,"useStateLike");function t0(e){return Hp("useState",e)}a(t0,"useState");function r0(e,t,r){let n=r!=null?()=>r(t):t,[o,i]=Hp("useReducer",n);return[o,a(s=>i(l=>e(l,s)),"dispatch")]}a(r0,"useReducer");function Fr(e,t){let r=sl(),n=ri("useEffect",()=>({create:e}),t);r.currentEffects.includes(n)||r.currentEffects.push(n)}a(Fr,"useEffect");function n0(e,t=[]){let r=qt.getChannel();return Fr(()=>(Object.entries(e).forEach(([n,o])=>r.on(n,o)),()=>{Object.entries(e).forEach(([n,o])=>r.removeListener(n,o))}),[...Object.keys(e),...t]),io(r.emit.bind(r),[r])}a(n0,"useChannel");function ni(){let{currentContext:e}=sl();if(e==null)throw Dp();return e}a(ni,"useStoryContext");function o0(e,t){let{parameters:r}=ni();if(e)return r[e]??t}a(o0,"useParameter");function a0(){let e=qt.getChannel(),{id:t,args:r}=ni(),n=io(i=>e.emit(xp,{storyId:t,updatedArgs:i}),[e,t]),o=io(i=>e.emit(vp,{storyId:t,argNames:i}),[e,t]);return[r,n,o]}a(a0,"useArgs");function i0(){let e=qt.getChannel(),{globals:t}=ni(),r=io(n=>e.emit(Ep,{globals:n}),[e]);return[t,r]}a(i0,"useGlobals");var KB=a(({name:e,parameterName:t,wrapper:r,skipIfNoParametersOrOptions:n=!1})=>{let o=a(i=>(s,l)=>{let c=l.parameters&&l.parameters[t];return c&&c.disable||n&&!i&&!c?s(l):r(s,l,{options:i,parameters:c})},"decorator");return(...i)=>typeof i[0]=="function"?o()(...i):(...s)=>{if(s.length>1)return i.length>1?o(i)(...s):o(...i)(...s);throw new Error(`Passing stories directly into ${e}() is not allowed,
172
- instead use addDecorator(${e}) and pass options with the '${t}' parameter`)}},"makeDecorator");function s0(e){return e.replace(/_/g," ").replace(/-/g," ").replace(/\./g," ").replace(/([^\n])([A-Z])([a-z])/g,(t,r,n,o)=>`${r} ${n}${o}`).replace(/([a-z])([A-Z])/g,(t,r,n)=>`${r} ${n}`).replace(/([a-z])([0-9])/gi,(t,r,n)=>`${r} ${n}`).replace(/([0-9])([a-z])/gi,(t,r,n)=>`${r} ${n}`).replace(/(\s|^)(\w)/g,(t,r,n)=>`${r}${n.toUpperCase()}`).replace(/ +/g," ").trim()}a(s0,"toStartCaseStr");var Xy=He(EI(),1),l0=a(e=>e.map(t=>typeof t<"u").filter(Boolean).length,"count"),YB=a((e,t)=>{let{exists:r,eq:n,neq:o,truthy:i}=e;if(l0([r,n,o,i])>1)throw new Error(`Invalid conditional test ${JSON.stringify({exists:r,eq:n,neq:o})}`);if(typeof n<"u")return(0,Xy.isEqual)(t,n);if(typeof o<"u")return!(0,Xy.isEqual)(t,o);if(typeof r<"u"){let s=typeof t<"u";return r?s:!s}return typeof i>"u"||i?!!t:!t},"testValue"),XB=a((e,t,r)=>{if(!e.if)return!0;let{arg:n,global:o}=e.if;if(l0([n,o])!==1)throw new Error(`Invalid conditional value ${JSON.stringify({arg:n,global:o})}`);let i=n?t[n]:r[o];return YB(e.if,i)},"includeConditionalArg"),u0={};ct(u0,{argsEnhancers:()=>eU});var c0=a((e,t)=>typeof t[e]>"u"&&!(e in t),"isInInitialArgs"),QB=a(e=>{let{initialArgs:t,argTypes:r,id:n,parameters:{actions:o}}=e;if(!o||o.disable||!o.argTypesRegex||!r)return{};let i=new RegExp(o.argTypesRegex);return Object.entries(r).filter(([s])=>!!i.test(s)).reduce((s,[l,c])=>(c0(l,t)&&(s[l]=Fo(l,{implicit:!0,id:n})),s),{})},"inferActionsFromArgTypesRegex"),ZB=a(e=>{let{initialArgs:t,argTypes:r,parameters:{actions:n}}=e;return n?.disable||!r?{}:Object.entries(r).filter(([o,i])=>!!i.action).reduce((o,[i,s])=>(c0(i,t)&&(o[i]=Fo(typeof s.action=="string"?s.action:i)),o),{})},"addActionsFromArgTypes"),eU=[ZB,QB],d0={};ct(d0,{loaders:()=>pJ});var p0={};ct(p0,{buildQueries:()=>J3,clearAllMocks:()=>em,configure:()=>z3,createEvent:()=>W3,expect:()=>uJ,findAllByAltText:()=>K3,findAllByDisplayValue:()=>Y3,findAllByLabelText:()=>X3,findAllByPlaceholderText:()=>Q3,findAllByRole:()=>Z3,findAllByTestId:()=>eV,findAllByText:()=>tV,findAllByTitle:()=>rV,findByAltText:()=>nV,findByDisplayValue:()=>oV,findByLabelText:()=>aV,findByPlaceholderText:()=>iV,findByRole:()=>sV,findByTestId:()=>lV,findByText:()=>uV,findByTitle:()=>cV,fireEvent:()=>G3,fn:()=>Qh,getAllByAltText:()=>dV,getAllByDisplayValue:()=>pV,getAllByLabelText:()=>fV,getAllByPlaceholderText:()=>hV,getAllByRole:()=>mV,getAllByTestId:()=>yV,getAllByText:()=>bV,getAllByTitle:()=>gV,getByAltText:()=>vV,getByDisplayValue:()=>wV,getByLabelText:()=>EV,getByPlaceholderText:()=>xV,getByRole:()=>TV,getByTestId:()=>SV,getByText:()=>CV,getByTitle:()=>PV,getConfig:()=>OV,getDefaultNormalizer:()=>_V,getElementError:()=>AV,getNodeText:()=>RV,getQueriesForElement:()=>qV,getRoles:()=>IV,getSuggestedQuery:()=>NV,isInaccessible:()=>jV,isMockFunction:()=>dn,logDOM:()=>kV,logRoles:()=>MV,mocked:()=>jC,mocks:()=>bi,onMockCall:()=>Xh,prettyDOM:()=>$V,prettyFormat:()=>sJ,queries:()=>LV,queryAllByAltText:()=>DV,queryAllByAttribute:()=>FV,queryAllByDisplayValue:()=>BV,queryAllByLabelText:()=>UV,queryAllByPlaceholderText:()=>HV,queryAllByRole:()=>VV,queryAllByTestId:()=>JV,queryAllByText:()=>zV,queryAllByTitle:()=>WV,queryByAltText:()=>GV,queryByAttribute:()=>KV,queryByDisplayValue:()=>YV,queryByLabelText:()=>XV,queryByPlaceholderText:()=>QV,queryByRole:()=>ZV,queryByTestId:()=>eJ,queryByText:()=>tJ,queryByTitle:()=>rJ,queryHelpers:()=>nJ,resetAllMocks:()=>tm,restoreAllMocks:()=>rm,sb:()=>cJ,screen:()=>oJ,spyOn:()=>L5,uninstrumentedUserEvent:()=>PR,userEvent:()=>lJ,waitFor:()=>aJ,waitForElementToBeRemoved:()=>iJ,within:()=>CR});var tU={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]},rU=Object.entries(tU);function ll(e){return String(e)}a(ll,"a");ll.open="";ll.close="";function f0(e=!1){let t=typeof process<"u"?process:void 0,r=t?.env||{},n=t?.argv||[];return!("NO_COLOR"in r||n.includes("--no-color"))&&("FORCE_COLOR"in r||n.includes("--color")||t?.platform==="win32"||e&&r.TERM!=="dumb"||"CI"in r)||typeof window<"u"&&!!window.chrome}a(f0,"C");function h0(e=!1){let t=f0(e),r=a((s,l,c,u)=>{let d="",p=0;do d+=s.substring(p,u)+c,p=u+l.length,u=s.indexOf(l,p);while(~u);return d+s.substring(p)},"i"),n=a((s,l,c=s)=>{let u=a(d=>{let p=String(d),h=p.indexOf(l,s.length);return~h?s+r(p,l,c,h)+l:s+p+l},"o");return u.open=s,u.close=l,u},"g"),o={isColorSupported:t},i=a(s=>`\x1B[${s}m`,"d");for(let[s,l]of rU)o[s]=t?n(i(l[0]),i(l[1]),l[2]):ll;return o}a(h0,"p");var Fe=h0();function Vp(e,t){return t.forEach(function(r){r&&typeof r!="string"&&!Array.isArray(r)&&Object.keys(r).forEach(function(n){if(n!=="default"&&!(n in e)){var o=Object.getOwnPropertyDescriptor(r,n);Object.defineProperty(e,n,o.get?o:{enumerable:!0,get:a(function(){return r[n]},"get")})}})}),Object.freeze(e)}a(Vp,"_mergeNamespaces");function m0(e,t){let r=Object.keys(e),n=t===null?r:r.sort(t);if(Object.getOwnPropertySymbols)for(let o of Object.getOwnPropertySymbols(e))Object.getOwnPropertyDescriptor(e,o).enumerable&&n.push(o);return n}a(m0,"getKeysOfEnumerableProperties");function Ao(e,t,r,n,o,i,s=": "){let l="",c=0,u=e.next();if(!u.done){l+=t.spacingOuter;let d=r+t.indent;for(;!u.done;){if(l+=d,c++===t.maxWidth){l+="…";break}let p=i(u.value[0],t,d,n,o),h=i(u.value[1],t,d,n,o);l+=p+s+h,u=e.next(),u.done?t.min||(l+=","):l+=`,${t.spacingInner}`}l+=t.spacingOuter+r}return l}a(Ao,"printIteratorEntries");function ul(e,t,r,n,o,i){let s="",l=0,c=e.next();if(!c.done){s+=t.spacingOuter;let u=r+t.indent;for(;!c.done;){if(s+=u,l++===t.maxWidth){s+="…";break}s+=i(c.value,t,u,n,o),c=e.next(),c.done?t.min||(s+=","):s+=`,${t.spacingInner}`}s+=t.spacingOuter+r}return s}a(ul,"printIteratorValues");function Aa(e,t,r,n,o,i){let s="";e=e instanceof ArrayBuffer?new DataView(e):e;let l=a(u=>u instanceof DataView,"isDataView"),c=l(e)?e.byteLength:e.length;if(c>0){s+=t.spacingOuter;let u=r+t.indent;for(let d=0;d<c;d++){if(s+=u,d===t.maxWidth){s+="…";break}(l(e)||d in e)&&(s+=i(l(e)?e.getInt8(d):e[d],t,u,n,o)),d<c-1?s+=`,${t.spacingInner}`:t.min||(s+=",")}s+=t.spacingOuter+r}return s}a(Aa,"printListItems");function cl(e,t,r,n,o,i){let s="",l=m0(e,t.compareKeys);if(l.length>0){s+=t.spacingOuter;let c=r+t.indent;for(let u=0;u<l.length;u++){let d=l[u],p=i(d,t,c,n,o),h=i(e[d],t,c,n,o);s+=`${c+p}: ${h}`,u<l.length-1?s+=`,${t.spacingInner}`:t.min||(s+=",")}s+=t.spacingOuter+r}return s}a(cl,"printObjectProperties");var nU=typeof Symbol=="function"&&Symbol.for?Symbol.for("jest.asymmetricMatcher"):1267621,ju=" ",oU=a((e,t,r,n,o,i)=>{let s=e.toString();if(s==="ArrayContaining"||s==="ArrayNotContaining")return++n>t.maxDepth?`[${s}]`:`${s+ju}[${Aa(e.sample,t,r,n,o,i)}]`;if(s==="ObjectContaining"||s==="ObjectNotContaining")return++n>t.maxDepth?`[${s}]`:`${s+ju}{${cl(e.sample,t,r,n,o,i)}}`;if(s==="StringMatching"||s==="StringNotMatching"||s==="StringContaining"||s==="StringNotContaining")return s+ju+i(e.sample,t,r,n,o);if(typeof e.toAsymmetricMatcher!="function")throw new TypeError(`Asymmetric matcher ${e.constructor.name} does not implement toAsymmetricMatcher()`);return e.toAsymmetricMatcher()},"serialize$5"),aU=a(e=>e&&e.$$typeof===nU,"test$5"),iU={serialize:oU,test:aU},sU=" ",y0=new Set(["DOMStringMap","NamedNodeMap"]),lU=/^(?:HTML\w*Collection|NodeList)$/;function b0(e){return y0.has(e)||lU.test(e)}a(b0,"testName");var uU=a(e=>e&&e.constructor&&!!e.constructor.name&&b0(e.constructor.name),"test$4");function g0(e){return e.constructor.name==="NamedNodeMap"}a(g0,"isNamedNodeMap");var cU=a((e,t,r,n,o,i)=>{let s=e.constructor.name;return++n>t.maxDepth?`[${s}]`:(t.min?"":s+sU)+(y0.has(s)?`{${cl(g0(e)?[...e].reduce((l,c)=>(l[c.name]=c.value,l),{}):{...e},t,r,n,o,i)}}`:`[${Aa([...e],t,r,n,o,i)}]`)},"serialize$4"),dU={serialize:cU,test:uU};function Jp(e){return e.replaceAll("<","&lt;").replaceAll(">","&gt;")}a(Jp,"escapeHTML");function dl(e,t,r,n,o,i,s){let l=n+r.indent,c=r.colors;return e.map(u=>{let d=t[u],p=s(d,r,l,o,i);return typeof d!="string"&&(p.includes(`
173
- `)&&(p=r.spacingOuter+l+p+r.spacingOuter+n),p=`{${p}}`),`${r.spacingInner+n+c.prop.open+u+c.prop.close}=${c.value.open}${p}${c.value.close}`}).join("")}a(dl,"printProps");function pl(e,t,r,n,o,i){return e.map(s=>t.spacingOuter+r+(typeof s=="string"?zp(s,t):i(s,t,r,n,o))).join("")}a(pl,"printChildren");function zp(e,t){let r=t.colors.content;return r.open+Jp(e)+r.close}a(zp,"printText");function v0(e,t){let r=t.colors.comment;return`${r.open}<!--${Jp(e)}-->${r.close}`}a(v0,"printComment");function fl(e,t,r,n,o){let i=n.colors.tag;return`${i.open}<${e}${t&&i.close+t+n.spacingOuter+o+i.open}${r?`>${i.close}${r}${n.spacingOuter}${o}${i.open}</${e}`:`${t&&!n.min?"":" "}/`}>${i.close}`}a(fl,"printElement");function hl(e,t){let r=t.colors.tag;return`${r.open}<${e}${r.close} …${r.open} />${r.close}`}a(hl,"printElementAsLeaf");var pU=1,w0=3,E0=8,x0=11,fU=/^(?:(?:HTML|SVG)\w*)?Element$/;function T0(e){try{return typeof e.hasAttribute=="function"&&e.hasAttribute("is")}catch{return!1}}a(T0,"testHasAttribute");function S0(e){let t=e.constructor.name,{nodeType:r,tagName:n}=e,o=typeof n=="string"&&n.includes("-")||T0(e);return r===pU&&(fU.test(t)||o)||r===w0&&t==="Text"||r===E0&&t==="Comment"||r===x0&&t==="DocumentFragment"}a(S0,"testNode");var hU=a(e=>{var t;return(e==null||(t=e.constructor)===null||t===void 0?void 0:t.name)&&S0(e)},"test$3");function C0(e){return e.nodeType===w0}a(C0,"nodeIsText");function P0(e){return e.nodeType===E0}a(P0,"nodeIsComment");function Ri(e){return e.nodeType===x0}a(Ri,"nodeIsFragment");var mU=a((e,t,r,n,o,i)=>{if(C0(e))return zp(e.data,t);if(P0(e))return v0(e.data,t);let s=Ri(e)?"DocumentFragment":e.tagName.toLowerCase();return++n>t.maxDepth?hl(s,t):fl(s,dl(Ri(e)?[]:Array.from(e.attributes,l=>l.name).sort(),Ri(e)?{}:[...e.attributes].reduce((l,c)=>(l[c.name]=c.value,l),{}),t,r+t.indent,n,o,i),pl(Array.prototype.slice.call(e.childNodes||e.children),t,r+t.indent,n,o,i),t,r)},"serialize$3"),yU={serialize:mU,test:hU},bU="@@__IMMUTABLE_ITERABLE__@@",gU="@@__IMMUTABLE_LIST__@@",vU="@@__IMMUTABLE_KEYED__@@",wU="@@__IMMUTABLE_MAP__@@",Qy="@@__IMMUTABLE_ORDERED__@@",EU="@@__IMMUTABLE_RECORD__@@",xU="@@__IMMUTABLE_SEQ__@@",TU="@@__IMMUTABLE_SET__@@",SU="@@__IMMUTABLE_STACK__@@",so=a(e=>`Immutable.${e}`,"getImmutableName"),ml=a(e=>`[${e}]`,"printAsLeaf"),Ra=" ",Zy="…";function O0(e,t,r,n,o,i,s){return++n>t.maxDepth?ml(so(s)):`${so(s)+Ra}{${Ao(e.entries(),t,r,n,o,i)}}`}a(O0,"printImmutableEntries");function _0(e){let t=0;return{next(){if(t<e._keys.length){let r=e._keys[t++];return{done:!1,value:[r,e.get(r)]}}return{done:!0,value:void 0}}}}a(_0,"getRecordEntries");function A0(e,t,r,n,o,i){let s=so(e._name||"Record");return++n>t.maxDepth?ml(s):`${s+Ra}{${Ao(_0(e),t,r,n,o,i)}}`}a(A0,"printImmutableRecord");function R0(e,t,r,n,o,i){let s=so("Seq");return++n>t.maxDepth?ml(s):e[vU]?`${s+Ra}{${e._iter||e._object?Ao(e.entries(),t,r,n,o,i):Zy}}`:`${s+Ra}[${e._iter||e._array||e._collection||e._iterable?ul(e.values(),t,r,n,o,i):Zy}]`}a(R0,"printImmutableSeq");function qi(e,t,r,n,o,i,s){return++n>t.maxDepth?ml(so(s)):`${so(s)+Ra}[${ul(e.values(),t,r,n,o,i)}]`}a(qi,"printImmutableValues");var CU=a((e,t,r,n,o,i)=>e[wU]?O0(e,t,r,n,o,i,e[Qy]?"OrderedMap":"Map"):e[gU]?qi(e,t,r,n,o,i,"List"):e[TU]?qi(e,t,r,n,o,i,e[Qy]?"OrderedSet":"Set"):e[SU]?qi(e,t,r,n,o,i,"Stack"):e[xU]?R0(e,t,r,n,o,i):A0(e,t,r,n,o,i),"serialize$2"),PU=a(e=>e&&(e[bU]===!0||e[EU]===!0),"test$2"),OU={serialize:CU,test:PU};function Wp(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}a(Wp,"getDefaultExportFromCjs");var eb={exports:{}},Oe={},tb;function q0(){if(tb)return Oe;tb=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),n=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),i=Symbol.for("react.consumer"),s=Symbol.for("react.context"),l=Symbol.for("react.forward_ref"),c=Symbol.for("react.suspense"),u=Symbol.for("react.suspense_list"),d=Symbol.for("react.memo"),p=Symbol.for("react.lazy"),h=Symbol.for("react.view_transition"),f=Symbol.for("react.client.reference");function m(b){if(typeof b=="object"&&b!==null){var g=b.$$typeof;switch(g){case e:switch(b=b.type,b){case r:case o:case n:case c:case u:case h:return b;default:switch(b=b&&b.$$typeof,b){case s:case l:case p:case d:return b;case i:return b;default:return g}}case t:return g}}}return a(m,"typeOf"),Oe.ContextConsumer=i,Oe.ContextProvider=s,Oe.Element=e,Oe.ForwardRef=l,Oe.Fragment=r,Oe.Lazy=p,Oe.Memo=d,Oe.Portal=t,Oe.Profiler=o,Oe.StrictMode=n,Oe.Suspense=c,Oe.SuspenseList=u,Oe.isContextConsumer=function(b){return m(b)===i},Oe.isContextProvider=function(b){return m(b)===s},Oe.isElement=function(b){return typeof b=="object"&&b!==null&&b.$$typeof===e},Oe.isForwardRef=function(b){return m(b)===l},Oe.isFragment=function(b){return m(b)===r},Oe.isLazy=function(b){return m(b)===p},Oe.isMemo=function(b){return m(b)===d},Oe.isPortal=function(b){return m(b)===t},Oe.isProfiler=function(b){return m(b)===o},Oe.isStrictMode=function(b){return m(b)===n},Oe.isSuspense=function(b){return m(b)===c},Oe.isSuspenseList=function(b){return m(b)===u},Oe.isValidElementType=function(b){return typeof b=="string"||typeof b=="function"||b===r||b===o||b===n||b===c||b===u||typeof b=="object"&&b!==null&&(b.$$typeof===p||b.$$typeof===d||b.$$typeof===s||b.$$typeof===i||b.$$typeof===l||b.$$typeof===f||b.getModuleId!==void 0)},Oe.typeOf=m,Oe}a(q0,"requireReactIs_production");var rb;function I0(){return rb||(rb=1,eb.exports=q0()),eb.exports}a(I0,"requireReactIs$1");var N0=I0(),_U=Wp(N0),AU=Vp({__proto__:null,default:_U},[N0]),nb={exports:{}},Se={},ob;function j0(){if(ob)return Se;ob=1;var e=Symbol.for("react.element"),t=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),n=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),i=Symbol.for("react.provider"),s=Symbol.for("react.context"),l=Symbol.for("react.server_context"),c=Symbol.for("react.forward_ref"),u=Symbol.for("react.suspense"),d=Symbol.for("react.suspense_list"),p=Symbol.for("react.memo"),h=Symbol.for("react.lazy"),f=Symbol.for("react.offscreen"),m;m=Symbol.for("react.module.reference");function b(g){if(typeof g=="object"&&g!==null){var v=g.$$typeof;switch(v){case e:switch(g=g.type,g){case r:case o:case n:case u:case d:return g;default:switch(g=g&&g.$$typeof,g){case l:case s:case c:case h:case p:case i:return g;default:return v}}case t:return v}}}return a(b,"v"),Se.ContextConsumer=s,Se.ContextProvider=i,Se.Element=e,Se.ForwardRef=c,Se.Fragment=r,Se.Lazy=h,Se.Memo=p,Se.Portal=t,Se.Profiler=o,Se.StrictMode=n,Se.Suspense=u,Se.SuspenseList=d,Se.isAsyncMode=function(){return!1},Se.isConcurrentMode=function(){return!1},Se.isContextConsumer=function(g){return b(g)===s},Se.isContextProvider=function(g){return b(g)===i},Se.isElement=function(g){return typeof g=="object"&&g!==null&&g.$$typeof===e},Se.isForwardRef=function(g){return b(g)===c},Se.isFragment=function(g){return b(g)===r},Se.isLazy=function(g){return b(g)===h},Se.isMemo=function(g){return b(g)===p},Se.isPortal=function(g){return b(g)===t},Se.isProfiler=function(g){return b(g)===o},Se.isStrictMode=function(g){return b(g)===n},Se.isSuspense=function(g){return b(g)===u},Se.isSuspenseList=function(g){return b(g)===d},Se.isValidElementType=function(g){return typeof g=="string"||typeof g=="function"||g===r||g===o||g===n||g===u||g===d||g===f||typeof g=="object"&&g!==null&&(g.$$typeof===h||g.$$typeof===p||g.$$typeof===i||g.$$typeof===s||g.$$typeof===c||g.$$typeof===m||g.getModuleId!==void 0)},Se.typeOf=b,Se}a(j0,"requireReactIs_production_min");var ab;function k0(){return ab||(ab=1,nb.exports=j0()),nb.exports}a(k0,"requireReactIs");var M0=k0(),RU=Wp(M0),qU=Vp({__proto__:null,default:RU},[M0]),IU=["isAsyncMode","isConcurrentMode","isContextConsumer","isContextProvider","isElement","isForwardRef","isFragment","isLazy","isMemo","isPortal","isProfiler","isStrictMode","isSuspense","isSuspenseList","isValidElementType"],rn=Object.fromEntries(IU.map(e=>[e,t=>qU[e](t)||AU[e](t)]));function Gp(e,t=[]){if(Array.isArray(e))for(let r of e)Gp(r,t);else e!=null&&e!==!1&&e!==""&&t.push(e);return t}a(Gp,"getChildren");function yc(e){let t=e.type;if(typeof t=="string")return t;if(typeof t=="function")return t.displayName||t.name||"Unknown";if(rn.isFragment(e))return"React.Fragment";if(rn.isSuspense(e))return"React.Suspense";if(typeof t=="object"&&t!==null){if(rn.isContextProvider(e))return"Context.Provider";if(rn.isContextConsumer(e))return"Context.Consumer";if(rn.isForwardRef(e)){if(t.displayName)return t.displayName;let r=t.render.displayName||t.render.name||"";return r===""?"ForwardRef":`ForwardRef(${r})`}if(rn.isMemo(e)){let r=t.displayName||t.type.displayName||t.type.name||"";return r===""?"Memo":`Memo(${r})`}}return"UNDEFINED"}a(yc,"getType");function $0(e){let{props:t}=e;return Object.keys(t).filter(r=>r!=="children"&&t[r]!==void 0).sort()}a($0,"getPropKeys$1");var NU=a((e,t,r,n,o,i)=>++n>t.maxDepth?hl(yc(e),t):fl(yc(e),dl($0(e),e.props,t,r+t.indent,n,o,i),pl(Gp(e.props.children),t,r+t.indent,n,o,i),t,r),"serialize$1"),jU=a(e=>e!=null&&rn.isElement(e),"test$1"),kU={serialize:NU,test:jU},MU=typeof Symbol=="function"&&Symbol.for?Symbol.for("react.test.json"):245830487;function L0(e){let{props:t}=e;return t?Object.keys(t).filter(r=>t[r]!==void 0).sort():[]}a(L0,"getPropKeys");var $U=a((e,t,r,n,o,i)=>++n>t.maxDepth?hl(e.type,t):fl(e.type,e.props?dl(L0(e),e.props,t,r+t.indent,n,o,i):"",e.children?pl(e.children,t,r+t.indent,n,o,i):"",t,r),"serialize"),LU=a(e=>e&&e.$$typeof===MU,"test"),DU={serialize:$U,test:LU},D0=Object.prototype.toString,FU=Date.prototype.toISOString,BU=Error.prototype.toString,ib=RegExp.prototype.toString;function ya(e){return typeof e.constructor=="function"&&e.constructor.name||"Object"}a(ya,"getConstructorName");function F0(e){return typeof window<"u"&&e===window}a(F0,"isWindow");var UU=/^Symbol\((.*)\)(.*)$/,HU=/\n/g,B0=class extends Error{constructor(t,r){super(t),this.stack=r,this.name=this.constructor.name}};a(B0,"PrettyFormatPluginError");var U0=B0;function H0(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]"}a(H0,"isToStringedArrayType");function V0(e){return Object.is(e,-0)?"-0":String(e)}a(V0,"printNumber");function J0(e){return`${e}n`}a(J0,"printBigInt");function bc(e,t){return t?`[Function ${e.name||"anonymous"}]`:"[Function]"}a(bc,"printFunction");function gc(e){return String(e).replace(UU,"Symbol($1)")}a(gc,"printSymbol");function vc(e){return`[${BU.call(e)}]`}a(vc,"printError");function Kp(e,t,r,n){if(e===!0||e===!1)return`${e}`;if(e===void 0)return"undefined";if(e===null)return"null";let o=typeof e;if(o==="number")return V0(e);if(o==="bigint")return J0(e);if(o==="string")return n?`"${e.replaceAll(/"|\\/g,"\\$&")}"`:`"${e}"`;if(o==="function")return bc(e,t);if(o==="symbol")return gc(e);let i=D0.call(e);return i==="[object WeakMap]"?"WeakMap {}":i==="[object WeakSet]"?"WeakSet {}":i==="[object Function]"||i==="[object GeneratorFunction]"?bc(e,t):i==="[object Symbol]"?gc(e):i==="[object Date]"?Number.isNaN(+e)?"Date { NaN }":FU.call(e):i==="[object Error]"?vc(e):i==="[object RegExp]"?r?ib.call(e).replaceAll(/[$()*+.?[\\\]^{|}]/g,"\\$&"):ib.call(e):e instanceof Error?vc(e):null}a(Kp,"printBasicValue");function Yp(e,t,r,n,o,i){if(o.includes(e))return"[Circular]";o=[...o],o.push(e);let s=++n>t.maxDepth,l=t.min;if(t.callToJSON&&!s&&e.toJSON&&typeof e.toJSON=="function"&&!i)return dr(e.toJSON(),t,r,n,o,!0);let c=D0.call(e);return c==="[object Arguments]"?s?"[Arguments]":`${l?"":"Arguments "}[${Aa(e,t,r,n,o,dr)}]`:H0(c)?s?`[${e.constructor.name}]`:`${l||!t.printBasicPrototype&&e.constructor.name==="Array"?"":`${e.constructor.name} `}[${Aa(e,t,r,n,o,dr)}]`:c==="[object Map]"?s?"[Map]":`Map {${Ao(e.entries(),t,r,n,o,dr," => ")}}`:c==="[object Set]"?s?"[Set]":`Set {${ul(e.values(),t,r,n,o,dr)}}`:s||F0(e)?`[${ya(e)}]`:`${l||!t.printBasicPrototype&&ya(e)==="Object"?"":`${ya(e)} `}{${cl(e,t,r,n,o,dr)}}`}a(Yp,"printComplexValue");var VU={test:a(e=>e&&e instanceof Error,"test"),serialize(e,t,r,n,o,i){if(o.includes(e))return"[Circular]";o=[...o,e];let s=++n>t.maxDepth,{message:l,cause:c,...u}=e,d={message:l,...typeof c<"u"?{cause:c}:{},...e instanceof AggregateError?{errors:e.errors}:{},...u},p=e.name!=="Error"?e.name:ya(e);return s?`[${p}]`:`${p} {${Ao(Object.entries(d).values(),t,r,n,o,i)}}`}};function z0(e){return e.serialize!=null}a(z0,"isNewPlugin");function Xp(e,t,r,n,o,i){let s;try{s=z0(e)?e.serialize(t,r,n,o,i,dr):e.print(t,l=>dr(l,r,n,o,i),l=>{let c=n+r.indent;return c+l.replaceAll(HU,`
174
- ${c}`)},{edgeSpacing:r.spacingOuter,min:r.min,spacing:r.spacingInner},r.colors)}catch(l){throw new U0(l.message,l.stack)}if(typeof s!="string")throw new TypeError(`pretty-format: Plugin must return type "string" but instead returned "${typeof s}".`);return s}a(Xp,"printPlugin");function Qp(e,t){for(let r of e)try{if(r.test(t))return r}catch(n){throw new U0(n.message,n.stack)}return null}a(Qp,"findPlugin");function dr(e,t,r,n,o,i){let s=Qp(t.plugins,e);if(s!==null)return Xp(s,e,t,r,n,o);let l=Kp(e,t.printFunctionName,t.escapeRegex,t.escapeString);return l!==null?l:Yp(e,t,r,n,o,i)}a(dr,"printer");var Zp={comment:"gray",content:"reset",prop:"yellow",tag:"cyan",value:"green"},W0=Object.keys(Zp),Mt={callToJSON:!0,compareKeys:void 0,escapeRegex:!1,escapeString:!0,highlight:!1,indent:2,maxDepth:Number.POSITIVE_INFINITY,maxWidth:Number.POSITIVE_INFINITY,min:!1,plugins:[],printBasicPrototype:!0,printFunctionName:!0,theme:Zp};function G0(e){for(let t of Object.keys(e))if(!Object.prototype.hasOwnProperty.call(Mt,t))throw new Error(`pretty-format: Unknown option "${t}".`);if(e.min&&e.indent!==void 0&&e.indent!==0)throw new Error('pretty-format: Options "min" and "indent" cannot be used together.')}a(G0,"validateOptions");function K0(){return W0.reduce((e,t)=>{let r=Zp[t],n=r&&Fe[r];if(n&&typeof n.close=="string"&&typeof n.open=="string")e[t]=n;else throw new Error(`pretty-format: Option "theme" has a key "${t}" whose value "${r}" is undefined in ansi-styles.`);return e},Object.create(null))}a(K0,"getColorsHighlight");function Y0(){return W0.reduce((e,t)=>(e[t]={close:"",open:""},e),Object.create(null))}a(Y0,"getColorsEmpty");function ef(e){return e?.printFunctionName??Mt.printFunctionName}a(ef,"getPrintFunctionName");function tf(e){return e?.escapeRegex??Mt.escapeRegex}a(tf,"getEscapeRegex");function rf(e){return e?.escapeString??Mt.escapeString}a(rf,"getEscapeString");function wc(e){return{callToJSON:e?.callToJSON??Mt.callToJSON,colors:e?.highlight?K0():Y0(),compareKeys:typeof e?.compareKeys=="function"||e?.compareKeys===null?e.compareKeys:Mt.compareKeys,escapeRegex:tf(e),escapeString:rf(e),indent:e?.min?"":X0(e?.indent??Mt.indent),maxDepth:e?.maxDepth??Mt.maxDepth,maxWidth:e?.maxWidth??Mt.maxWidth,min:e?.min??Mt.min,plugins:e?.plugins??Mt.plugins,printBasicPrototype:e?.printBasicPrototype??!0,printFunctionName:ef(e),spacingInner:e?.min?" ":`
175
- `,spacingOuter:e?.min?"":`
176
- `}}a(wc,"getConfig");function X0(e){return Array.from({length:e+1}).join(" ")}a(X0,"createIndent");function Lt(e,t){if(t&&(G0(t),t.plugins)){let n=Qp(t.plugins,e);if(n!==null)return Xp(n,e,wc(t),"",0,[])}let r=Kp(e,ef(t),tf(t),rf(t));return r!==null?r:Yp(e,wc(t),"",0,[])}a(Lt,"format");var nf={AsymmetricMatcher:iU,DOMCollection:dU,DOMElement:yU,Immutable:OU,ReactElement:kU,ReactTestComponent:DU,Error:VU},sb={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"]},JU={special:"cyan",number:"yellow",bigint:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",symbol:"green",date:"magenta",regexp:"red"},lo="…";function Q0(e,t){let r=sb[JU[t]]||sb[t]||"";return r?`\x1B[${r[0]}m${String(e)}\x1B[${r[1]}m`:String(e)}a(Q0,"colorise");function Z0({showHidden:e=!1,depth:t=2,colors:r=!1,customInspect:n=!0,showProxy:o=!1,maxArrayLength:i=1/0,breakLength:s=1/0,seen:l=[],truncate:c=1/0,stylize:u=String}={},d){let p={showHidden:!!e,depth:Number(t),colors:!!r,customInspect:!!n,showProxy:!!o,maxArrayLength:Number(i),breakLength:Number(s),truncate:Number(c),seen:l,inspect:d,stylize:u};return p.colors&&(p.stylize=Q0),p}a(Z0,"normaliseOptions");function ex(e){return e>="\uD800"&&e<="\uDBFF"}a(ex,"isHighSurrogate");function wr(e,t,r=lo){e=String(e);let n=r.length,o=e.length;if(n>t&&o>n)return r;if(o>t&&o>n){let i=t-n;return i>0&&ex(e[i-1])&&(i=i-1),`${e.slice(0,i)}${r}`}return e}a(wr,"truncate");function It(e,t,r,n=", "){r=r||t.inspect;let o=e.length;if(o===0)return"";let i=t.truncate,s="",l="",c="";for(let u=0;u<o;u+=1){let d=u+1===e.length,p=u+2===e.length;c=`${lo}(${e.length-u})`;let h=e[u];t.truncate=i-s.length-(d?0:n.length);let f=l||r(h,t)+(d?"":n),m=s.length+f.length,b=m+c.length;if(d&&m>i&&s.length+c.length<=i||!d&&!p&&b>i||(l=d?"":r(e[u+1],t)+(p?"":n),!d&&p&&b>i&&m+l.length>i))break;if(s+=f,!d&&!p&&m+l.length>=i){c=`${lo}(${e.length-u-1})`;break}c=""}return`${s}${c}`}a(It,"inspectList");function tx(e){return e.match(/^[a-zA-Z_][a-zA-Z_0-9]*$/)?e:JSON.stringify(e).replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'")}a(tx,"quoteComplexKey");function uo([e,t],r){return r.truncate-=2,typeof e=="string"?e=tx(e):typeof e!="number"&&(e=`[${r.inspect(e,r)}]`),r.truncate-=e.length,t=r.inspect(t,r),`${e}: ${t}`}a(uo,"inspectProperty");function rx(e,t){let r=Object.keys(e).slice(e.length);if(!e.length&&!r.length)return"[]";t.truncate-=4;let n=It(e,t);t.truncate-=n.length;let o="";return r.length&&(o=It(r.map(i=>[i,e[i]]),t,uo)),`[ ${n}${o?`, ${o}`:""} ]`}a(rx,"inspectArray");var zU=a(e=>typeof Buffer=="function"&&e instanceof Buffer?"Buffer":e[Symbol.toStringTag]?e[Symbol.toStringTag]:e.constructor.name,"getArrayName");function Vt(e,t){let r=zU(e);t.truncate-=r.length+4;let n=Object.keys(e).slice(e.length);if(!e.length&&!n.length)return`${r}[]`;let o="";for(let s=0;s<e.length;s++){let l=`${t.stylize(wr(e[s],t.truncate),"number")}${s===e.length-1?"":", "}`;if(t.truncate-=l.length,e[s]!==e.length&&t.truncate<=3){o+=`${lo}(${e.length-e[s]+1})`;break}o+=l}let i="";return n.length&&(i=It(n.map(s=>[s,e[s]]),t,uo)),`${r}[ ${o}${i?`, ${i}`:""} ]`}a(Vt,"inspectTypedArray");function nx(e,t){let r=e.toJSON();if(r===null)return"Invalid Date";let n=r.split("T"),o=n[0];return t.stylize(`${o}T${wr(n[1],t.truncate-o.length-1)}`,"date")}a(nx,"inspectDate");function Ec(e,t){let r=e[Symbol.toStringTag]||"Function",n=e.name;return n?t.stylize(`[${r} ${wr(n,t.truncate-11)}]`,"special"):t.stylize(`[${r}]`,"special")}a(Ec,"inspectFunction");function ox([e,t],r){return r.truncate-=4,e=r.inspect(e,r),r.truncate-=e.length,t=r.inspect(t,r),`${e} => ${t}`}a(ox,"inspectMapEntry");function ax(e){let t=[];return e.forEach((r,n)=>{t.push([n,r])}),t}a(ax,"mapToEntries");function ix(e,t){return e.size===0?"Map{}":(t.truncate-=7,`Map{ ${It(ax(e),t,ox)} }`)}a(ix,"inspectMap");var WU=Number.isNaN||(e=>e!==e);function xc(e,t){return WU(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(wr(String(e),t.truncate),"number")}a(xc,"inspectNumber");function Tc(e,t){let r=wr(e.toString(),t.truncate-1);return r!==lo&&(r+="n"),t.stylize(r,"bigint")}a(Tc,"inspectBigInt");function sx(e,t){let r=e.toString().split("/")[2],n=t.truncate-(2+r.length),o=e.source;return t.stylize(`/${wr(o,n)}/${r}`,"regexp")}a(sx,"inspectRegExp");function lx(e){let t=[];return e.forEach(r=>{t.push(r)}),t}a(lx,"arrayFromSet");function ux(e,t){return e.size===0?"Set{}":(t.truncate-=7,`Set{ ${It(lx(e),t)} }`)}a(ux,"inspectSet");var lb=new RegExp("['\\u0000-\\u001f\\u007f-\\u009f\\u00ad\\u0600-\\u0604\\u070f\\u17b4\\u17b5\\u200c-\\u200f\\u2028-\\u202f\\u2060-\\u206f\\ufeff\\ufff0-\\uffff]","g"),GU={"\b":"\\b"," ":"\\t","\n":"\\n","\f":"\\f","\r":"\\r","'":"\\'","\\":"\\\\"},KU=16;function cx(e){return GU[e]||`\\u${`0000${e.charCodeAt(0).toString(KU)}`.slice(-4)}`}a(cx,"escape");function Sc(e,t){return lb.test(e)&&(e=e.replace(lb,cx)),t.stylize(`'${wr(e,t.truncate-2)}'`,"string")}a(Sc,"inspectString");function Cc(e){return"description"in Symbol.prototype?e.description?`Symbol(${e.description})`:"Symbol()":e.toString()}a(Cc,"inspectSymbol");var dx=a(()=>"Promise{…}","getPromiseValue");try{let{getPromiseDetails:e,kPending:t,kRejected:r}=process.binding("util");Array.isArray(e(Promise.resolve()))&&(dx=a((n,o)=>{let[i,s]=e(n);return i===t?"Promise{<pending>}":`Promise${i===r?"!":""}{${o.inspect(s,o)}}`},"getPromiseValue"))}catch{}var YU=dx;function ba(e,t){let r=Object.getOwnPropertyNames(e),n=Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e):[];if(r.length===0&&n.length===0)return"{}";if(t.truncate-=4,t.seen=t.seen||[],t.seen.includes(e))return"[Circular]";t.seen.push(e);let o=It(r.map(l=>[l,e[l]]),t,uo),i=It(n.map(l=>[l,e[l]]),t,uo);t.seen.pop();let s="";return o&&i&&(s=", "),`{ ${o}${s}${i} }`}a(ba,"inspectObject");var ku=typeof Symbol<"u"&&Symbol.toStringTag?Symbol.toStringTag:!1;function px(e,t){let r="";return ku&&ku in e&&(r=e[ku]),r=r||e.constructor.name,(!r||r==="_class")&&(r="<Anonymous Class>"),t.truncate-=r.length,`${r}${ba(e,t)}`}a(px,"inspectClass");function fx(e,t){return e.length===0?"Arguments[]":(t.truncate-=13,`Arguments[ ${It(e,t)} ]`)}a(fx,"inspectArguments");var XU=["stack","line","column","name","message","fileName","lineNumber","columnNumber","number","description","cause"];function hx(e,t){let r=Object.getOwnPropertyNames(e).filter(s=>XU.indexOf(s)===-1),n=e.name;t.truncate-=n.length;let o="";if(typeof e.message=="string"?o=wr(e.message,t.truncate):r.unshift("message"),o=o?`: ${o}`:"",t.truncate-=o.length+5,t.seen=t.seen||[],t.seen.includes(e))return"[Circular]";t.seen.push(e);let i=It(r.map(s=>[s,e[s]]),t,uo);return`${n}${o}${i?` { ${i} }`:""}`}a(hx,"inspectObject");function mx([e,t],r){return r.truncate-=3,t?`${r.stylize(String(e),"yellow")}=${r.stylize(`"${t}"`,"string")}`:`${r.stylize(String(e),"yellow")}`}a(mx,"inspectAttribute");function Xi(e,t){return It(e,t,yx,`
177
- `)}a(Xi,"inspectNodeCollection");function yx(e,t){switch(e.nodeType){case 1:return of(e,t);case 3:return t.inspect(e.data,t);default:return t.inspect(e,t)}}a(yx,"inspectNode");function of(e,t){let r=e.getAttributeNames(),n=e.tagName.toLowerCase(),o=t.stylize(`<${n}`,"special"),i=t.stylize(">","special"),s=t.stylize(`</${n}>`,"special");t.truncate-=n.length*2+5;let l="";r.length>0&&(l+=" ",l+=It(r.map(d=>[d,e.getAttribute(d)]),t,mx," ")),t.truncate-=l.length;let c=t.truncate,u=Xi(e.children,t);return u&&u.length>c&&(u=`${lo}(${e.children.length})`),`${o}${l}${i}${u}${s}`}a(of,"inspectHTML");var QU=typeof Symbol=="function"&&typeof Symbol.for=="function",Mu=QU?Symbol.for("chai/inspect"):"@@chai/inspect",$u=Symbol.for("nodejs.util.inspect.custom"),ub=new WeakMap,cb={},db={undefined:a((e,t)=>t.stylize("undefined","undefined"),"undefined"),null:a((e,t)=>t.stylize("null","null"),"null"),boolean:a((e,t)=>t.stylize(String(e),"boolean"),"boolean"),Boolean:a((e,t)=>t.stylize(String(e),"boolean"),"Boolean"),number:xc,Number:xc,bigint:Tc,BigInt:Tc,string:Sc,String:Sc,function:Ec,Function:Ec,symbol:Cc,Symbol:Cc,Array:rx,Date:nx,Map:ix,Set:ux,RegExp:sx,Promise:YU,WeakSet:a((e,t)=>t.stylize("WeakSet{…}","special"),"WeakSet"),WeakMap:a((e,t)=>t.stylize("WeakMap{…}","special"),"WeakMap"),Arguments:fx,Int8Array:Vt,Uint8Array:Vt,Uint8ClampedArray:Vt,Int16Array:Vt,Uint16Array:Vt,Int32Array:Vt,Uint32Array:Vt,Float32Array:Vt,Float64Array:Vt,Generator:a(()=>"","Generator"),DataView:a(()=>"","DataView"),ArrayBuffer:a(()=>"","ArrayBuffer"),Error:hx,HTMLCollection:Xi,NodeList:Xi},ZU=a((e,t,r)=>Mu in e&&typeof e[Mu]=="function"?e[Mu](t):$u in e&&typeof e[$u]=="function"?e[$u](t.depth,t):"inspect"in e&&typeof e.inspect=="function"?e.inspect(t.depth,t):"constructor"in e&&ub.has(e.constructor)?ub.get(e.constructor)(e,t):cb[r]?cb[r](e,t):"","inspectCustom"),eH=Object.prototype.toString;function Qi(e,t={}){let r=Z0(t,Qi),{customInspect:n}=r,o=e===null?"null":typeof e;if(o==="object"&&(o=eH.call(e).slice(8,-1)),o in db)return db[o](e,r);if(n&&e){let s=ZU(e,r,o);if(s)return typeof s=="string"?s:Qi(s,r)}let i=e?Object.getPrototypeOf(e):!1;return i===Object.prototype||i===null?ba(e,r):e&&typeof HTMLElement=="function"&&e instanceof HTMLElement?of(e,r):"constructor"in e?e.constructor!==Object?px(e,r):ba(e,r):e===Object(e)?ba(e,r):r.stylize(String(e),o)}a(Qi,"inspect");var{AsymmetricMatcher:tH,DOMCollection:rH,DOMElement:nH,Immutable:oH,ReactElement:aH,ReactTestComponent:iH}=nf,pb=[iH,aH,nH,rH,oH,tH];function dt(e,t=10,{maxLength:r,...n}={}){let o=r??1e4,i;try{i=Lt(e,{maxDepth:t,escapeString:!1,plugins:pb,...n})}catch{i=Lt(e,{callToJSON:!1,maxDepth:t,escapeString:!1,plugins:pb,...n})}return i.length>=o&&t>1?dt(e,Math.floor(Math.min(t,Number.MAX_SAFE_INTEGER)/2),{maxLength:r,...n}):i}a(dt,"stringify");var sH=/%[sdjifoOc%]/g;function bx(...e){if(typeof e[0]!="string"){let i=[];for(let s=0;s<e.length;s++)i.push(Bn(e[s],{depth:0,colors:!1}));return i.join(" ")}let t=e.length,r=1,n=e[0],o=String(n).replace(sH,i=>{if(i==="%%")return"%";if(r>=t)return i;switch(i){case"%s":{let s=e[r++];return typeof s=="bigint"?`${s.toString()}n`:typeof s=="number"&&s===0&&1/s<0?"-0":typeof s=="object"&&s!==null?typeof s.toString=="function"&&s.toString!==Object.prototype.toString?s.toString():Bn(s,{depth:0,colors:!1}):String(s)}case"%d":{let s=e[r++];return typeof s=="bigint"?`${s.toString()}n`:Number(s).toString()}case"%i":{let s=e[r++];return typeof s=="bigint"?`${s.toString()}n`:Number.parseInt(String(s)).toString()}case"%f":return Number.parseFloat(String(e[r++])).toString();case"%o":return Bn(e[r++],{showHidden:!0,showProxy:!0});case"%O":return Bn(e[r++]);case"%c":return r++,"";case"%j":try{return JSON.stringify(e[r++])}catch(s){let l=s.message;if(l.includes("circular structure")||l.includes("cyclic structures")||l.includes("cyclic object"))return"[Circular]";throw s}default:return i}});for(let i=e[r];r<t;i=e[++r])i===null||typeof i!="object"?o+=` ${i}`:o+=` ${Bn(i)}`;return o}a(bx,"format");function Bn(e,t={}){return t.truncate===0&&(t.truncate=Number.POSITIVE_INFINITY),Qi(e,t)}a(Bn,"inspect");function gx(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}a(gx,"getDefaultExportFromCjs");function Jt(e,t,r){let n=typeof e;if(!r.includes(n))throw new TypeError(`${t} value must be ${r.join(" or ")}, received "${n}"`)}a(Jt,"assertTypes");function ga(e){return e!=null&&typeof e=="object"&&!Array.isArray(e)}a(ga,"isObject");function vx(e){return e===Object.prototype||e===Function.prototype||e===RegExp.prototype}a(vx,"isFinalObj");function qa(e){return Object.prototype.toString.apply(e).slice(8,-1)}a(qa,"getType");function wx(e,t){let r=typeof t=="function"?t:n=>t.add(n);Object.getOwnPropertyNames(e).forEach(r),Object.getOwnPropertySymbols(e).forEach(r)}a(wx,"collectOwnProperties");function af(e){let t=new Set;return vx(e)?[]:(wx(e,t),Array.from(t))}a(af,"getOwnProperties");var Ex={forceWritable:!1};function Pc(e,t=Ex){return Zi(e,new WeakMap,t)}a(Pc,"deepClone");function Zi(e,t,r=Ex){let n,o;if(t.has(e))return t.get(e);if(Array.isArray(e)){for(o=Array.from({length:n=e.length}),t.set(e,o);n--;)o[n]=Zi(e[n],t,r);return o}if(Object.prototype.toString.call(e)==="[object Object]"){o=Object.create(Object.getPrototypeOf(e)),t.set(e,o);let i=af(e);for(let s of i){let l=Object.getOwnPropertyDescriptor(e,s);if(!l)continue;let c=Zi(e[s],t,r);r.forceWritable?Object.defineProperty(o,s,{enumerable:l.enumerable,configurable:!0,writable:!0,value:c}):"get"in l?Object.defineProperty(o,s,{...l,get(){return c}}):Object.defineProperty(o,s,{...l,value:c})}return o}return e}a(Zi,"clone");function xx(){}a(xx,"noop");var st=-1,et=1,De=0,Tx=class{0;1;constructor(t,r){this[0]=t,this[1]=r}};a(Tx,"Diff");var ke=Tx;function Sx(e,t){if(!e||!t||e.charAt(0)!==t.charAt(0))return 0;let r=0,n=Math.min(e.length,t.length),o=n,i=0;for(;r<o;)e.substring(i,o)===t.substring(i,o)?(r=o,i=r):n=o,o=Math.floor((n-r)/2+r);return o}a(Sx,"diff_commonPrefix");function sf(e,t){if(!e||!t||e.charAt(e.length-1)!==t.charAt(t.length-1))return 0;let r=0,n=Math.min(e.length,t.length),o=n,i=0;for(;r<o;)e.substring(e.length-o,e.length-i)===t.substring(t.length-o,t.length-i)?(r=o,i=r):n=o,o=Math.floor((n-r)/2+r);return o}a(sf,"diff_commonSuffix");function Oc(e,t){let r=e.length,n=t.length;if(r===0||n===0)return 0;r>n?e=e.substring(r-n):r<n&&(t=t.substring(0,r));let o=Math.min(r,n);if(e===t)return o;let i=0,s=1;for(;;){let l=e.substring(o-s),c=t.indexOf(l);if(c===-1)return i;s+=c,(c===0||e.substring(o-s)===t.substring(0,s))&&(i=s,s++)}}a(Oc,"diff_commonOverlap_");function Cx(e){let t=!1,r=[],n=0,o=null,i=0,s=0,l=0,c=0,u=0;for(;i<e.length;)e[i][0]===De?(r[n++]=i,s=c,l=u,c=0,u=0,o=e[i][1]):(e[i][0]===et?c+=e[i][1].length:u+=e[i][1].length,o&&o.length<=Math.max(s,l)&&o.length<=Math.max(c,u)&&(e.splice(r[n-1],0,new ke(st,o)),e[r[n-1]+1][0]=et,n--,n--,i=n>0?r[n-1]:-1,s=0,l=0,c=0,u=0,o=null,t=!0)),i++;for(t&&lf(e),Px(e),i=1;i<e.length;){if(e[i-1][0]===st&&e[i][0]===et){let d=e[i-1][1],p=e[i][1],h=Oc(d,p),f=Oc(p,d);h>=f?(h>=d.length/2||h>=p.length/2)&&(e.splice(i,0,new ke(De,p.substring(0,h))),e[i-1][1]=d.substring(0,d.length-h),e[i+1][1]=p.substring(h),i++):(f>=d.length/2||f>=p.length/2)&&(e.splice(i,0,new ke(De,d.substring(0,f))),e[i-1][0]=et,e[i-1][1]=p.substring(0,p.length-f),e[i+1][0]=st,e[i+1][1]=d.substring(f),i++),i++}i++}}a(Cx,"diff_cleanupSemantic");var fb=/[^a-z0-9]/i,hb=/\s/,mb=/[\r\n]/,lH=/\n\r?\n$/,uH=/^\r?\n\r?\n/;function Px(e){let t=1;for(;t<e.length-1;){if(e[t-1][0]===De&&e[t+1][0]===De){let r=e[t-1][1],n=e[t][1],o=e[t+1][1],i=sf(r,n);if(i){let d=n.substring(n.length-i);r=r.substring(0,r.length-i),n=d+n.substring(0,n.length-i),o=d+o}let s=r,l=n,c=o,u=sa(r,n)+sa(n,o);for(;n.charAt(0)===o.charAt(0);){r+=n.charAt(0),n=n.substring(1)+o.charAt(0),o=o.substring(1);let d=sa(r,n)+sa(n,o);d>=u&&(u=d,s=r,l=n,c=o)}e[t-1][1]!==s&&(s?e[t-1][1]=s:(e.splice(t-1,1),t--),e[t][1]=l,c?e[t+1][1]=c:(e.splice(t+1,1),t--))}t++}}a(Px,"diff_cleanupSemanticLossless");function lf(e){e.push(new ke(De,""));let t=0,r=0,n=0,o="",i="",s;for(;t<e.length;)switch(e[t][0]){case et:n++,i+=e[t][1],t++;break;case st:r++,o+=e[t][1],t++;break;case De:r+n>1?(r!==0&&n!==0&&(s=Sx(i,o),s!==0&&(t-r-n>0&&e[t-r-n-1][0]===De?e[t-r-n-1][1]+=i.substring(0,s):(e.splice(0,0,new ke(De,i.substring(0,s))),t++),i=i.substring(s),o=o.substring(s)),s=sf(i,o),s!==0&&(e[t][1]=i.substring(i.length-s)+e[t][1],i=i.substring(0,i.length-s),o=o.substring(0,o.length-s))),t-=r+n,e.splice(t,r+n),o.length&&(e.splice(t,0,new ke(st,o)),t++),i.length&&(e.splice(t,0,new ke(et,i)),t++),t++):t!==0&&e[t-1][0]===De?(e[t-1][1]+=e[t][1],e.splice(t,1)):t++,n=0,r=0,o="",i="";break}e[e.length-1][1]===""&&e.pop();let l=!1;for(t=1;t<e.length-1;)e[t-1][0]===De&&e[t+1][0]===De&&(e[t][1].substring(e[t][1].length-e[t-1][1].length)===e[t-1][1]?(e[t][1]=e[t-1][1]+e[t][1].substring(0,e[t][1].length-e[t-1][1].length),e[t+1][1]=e[t-1][1]+e[t+1][1],e.splice(t-1,1),l=!0):e[t][1].substring(0,e[t+1][1].length)===e[t+1][1]&&(e[t-1][1]+=e[t+1][1],e[t][1]=e[t][1].substring(e[t+1][1].length)+e[t+1][1],e.splice(t+1,1),l=!0)),t++;l&&lf(e)}a(lf,"diff_cleanupMerge");function sa(e,t){if(!e||!t)return 6;let r=e.charAt(e.length-1),n=t.charAt(0),o=r.match(fb),i=n.match(fb),s=o&&r.match(hb),l=i&&n.match(hb),c=s&&r.match(mb),u=l&&n.match(mb),d=c&&e.match(lH),p=u&&t.match(uH);return d||p?5:c||u?4:o&&!s&&l?3:s||l?2:o||i?1:0}a(sa,"diff_cleanupSemanticScore_");var Ox="Compared values have no visual difference.",cH="Compared values serialize to the same structure.\nPrinting internal object structure without calling `toJSON` instead.",Ci={},yb;function _x(){if(yb)return Ci;yb=1,Object.defineProperty(Ci,"__esModule",{value:!0}),Ci.default=h;let e="diff-sequences",t=0,r=a((f,m,b,g,v)=>{let w=0;for(;f<m&&b<g&&v(f,b);)f+=1,b+=1,w+=1;return w},"countCommonItemsF"),n=a((f,m,b,g,v)=>{let w=0;for(;f<=m&&b<=g&&v(m,g);)m-=1,g-=1,w+=1;return w},"countCommonItemsR"),o=a((f,m,b,g,v,w,P)=>{let A=0,R=-f,T=w[A],E=T;w[A]+=r(T+1,m,g+T-R+1,b,v);let x=f<P?f:P;for(A+=1,R+=2;A<=x;A+=1,R+=2){if(A!==f&&E<w[A])T=w[A];else if(T=E+1,m<=T)return A-1;E=w[A],w[A]=T+r(T+1,m,g+T-R+1,b,v)}return P},"extendPathsF"),i=a((f,m,b,g,v,w,P)=>{let A=0,R=f,T=w[A],E=T;w[A]-=n(m,T-1,b,g+T-R-1,v);let x=f<P?f:P;for(A+=1,R-=2;A<=x;A+=1,R-=2){if(A!==f&&w[A]<E)T=w[A];else if(T=E-1,T<m)return A-1;E=w[A],w[A]=T-n(m,T-1,b,g+T-R-1,v)}return P},"extendPathsR"),s=a((f,m,b,g,v,w,P,A,R,T,E)=>{let x=g-m,C=b-m,k=v-g-C,I=-k-(f-1),U=-k+(f-1),D=t,O=f<A?f:A;for(let M=0,$=-f;M<=O;M+=1,$+=2){let K=M===0||M!==f&&D<P[M],G=K?P[M]:D,re=K?G:G+1,ae=x+re-$,Z=r(re+1,b,ae+1,v,w),W=re+Z;if(D=P[M],P[M]=W,I<=$&&$<=U){let z=(f-1-($+k))/2;if(z<=T&&R[z]-1<=W){let Y=x+G-(K?$+1:$-1),ne=n(m,G,g,Y,w),X=G-ne,se=Y-ne,ce=X+1,Me=se+1;E.nChangePreceding=f-1,f-1===ce+Me-m-g?(E.aEndPreceding=m,E.bEndPreceding=g):(E.aEndPreceding=ce,E.bEndPreceding=Me),E.nCommonPreceding=ne,ne!==0&&(E.aCommonPreceding=ce,E.bCommonPreceding=Me),E.nCommonFollowing=Z,Z!==0&&(E.aCommonFollowing=re+1,E.bCommonFollowing=ae+1);let Ve=W+1,F=ae+Z+1;return E.nChangeFollowing=f-1,f-1===b+v-Ve-F?(E.aStartFollowing=b,E.bStartFollowing=v):(E.aStartFollowing=Ve,E.bStartFollowing=F),!0}}}return!1},"extendOverlappablePathsF"),l=a((f,m,b,g,v,w,P,A,R,T,E)=>{let x=v-b,C=b-m,k=v-g-C,I=k-f,U=k+f,D=t,O=f<T?f:T;for(let M=0,$=f;M<=O;M+=1,$-=2){let K=M===0||M!==f&&R[M]<D,G=K?R[M]:D,re=K?G:G-1,ae=x+re-$,Z=n(m,re-1,g,ae-1,w),W=re-Z;if(D=R[M],R[M]=W,I<=$&&$<=U){let z=(f+($-k))/2;if(z<=A&&W-1<=P[z]){let Y=ae-Z;if(E.nChangePreceding=f,f===W+Y-m-g?(E.aEndPreceding=m,E.bEndPreceding=g):(E.aEndPreceding=W,E.bEndPreceding=Y),E.nCommonPreceding=Z,Z!==0&&(E.aCommonPreceding=W,E.bCommonPreceding=Y),E.nChangeFollowing=f-1,f===1)E.nCommonFollowing=0,E.aStartFollowing=b,E.bStartFollowing=v;else{let ne=x+G-(K?$-1:$+1),X=r(G,b,ne,v,w);E.nCommonFollowing=X,X!==0&&(E.aCommonFollowing=G,E.bCommonFollowing=ne);let se=G+X,ce=ne+X;f-1===b+v-se-ce?(E.aStartFollowing=b,E.bStartFollowing=v):(E.aStartFollowing=se,E.bStartFollowing=ce)}return!0}}}return!1},"extendOverlappablePathsR"),c=a((f,m,b,g,v,w,P,A,R)=>{let T=g-m,E=v-b,x=b-m,C=v-g,k=C-x,I=x,U=x;if(P[0]=m-1,A[0]=b,k%2===0){let D=(f||k)/2,O=(x+C)/2;for(let M=1;M<=O;M+=1)if(I=o(M,b,v,T,w,P,I),M<D)U=i(M,m,g,E,w,A,U);else if(l(M,m,b,g,v,w,P,I,A,U,R))return}else{let D=((f||k)+1)/2,O=(x+C+1)/2,M=1;for(I=o(M,b,v,T,w,P,I),M+=1;M<=O;M+=1)if(U=i(M-1,m,g,E,w,A,U),M<D)I=o(M,b,v,T,w,P,I);else if(s(M,m,b,g,v,w,P,I,A,U,R))return}throw new Error(`${e}: no overlap aStart=${m} aEnd=${b} bStart=${g} bEnd=${v}`)},"divide"),u=a((f,m,b,g,v,w,P,A,R,T)=>{if(v-g<b-m){if(w=!w,w&&P.length===1){let{foundSubsequence:z,isCommon:Y}=P[0];P[1]={foundSubsequence:a((ne,X,se)=>{z(ne,se,X)},"foundSubsequence"),isCommon:a((ne,X)=>Y(X,ne),"isCommon")}}let Z=m,W=b;m=g,b=v,g=Z,v=W}let{foundSubsequence:E,isCommon:x}=P[w?1:0];c(f,m,b,g,v,x,A,R,T);let{nChangePreceding:C,aEndPreceding:k,bEndPreceding:I,nCommonPreceding:U,aCommonPreceding:D,bCommonPreceding:O,nCommonFollowing:M,aCommonFollowing:$,bCommonFollowing:K,nChangeFollowing:G,aStartFollowing:re,bStartFollowing:ae}=T;m<k&&g<I&&u(C,m,k,g,I,w,P,A,R,T),U!==0&&E(U,D,O),M!==0&&E(M,$,K),re<b&&ae<v&&u(G,re,b,ae,v,w,P,A,R,T)},"findSubsequences"),d=a((f,m)=>{if(typeof m!="number")throw new TypeError(`${e}: ${f} typeof ${typeof m} is not a number`);if(!Number.isSafeInteger(m))throw new RangeError(`${e}: ${f} value ${m} is not a safe integer`);if(m<0)throw new RangeError(`${e}: ${f} value ${m} is a negative integer`)},"validateLength"),p=a((f,m)=>{let b=typeof m;if(b!=="function")throw new TypeError(`${e}: ${f} typeof ${b} is not a function`)},"validateCallback");function h(f,m,b,g){d("aLength",f),d("bLength",m),p("isCommon",b),p("foundSubsequence",g);let v=r(0,f,0,m,b);if(v!==0&&g(v,0,0),f!==v||m!==v){let w=v,P=v,A=n(w,f-1,P,m-1,b),R=f-A,T=m-A,E=v+A;f!==E&&m!==E&&u(0,w,R,P,T,!1,[{foundSubsequence:g,isCommon:b}],[t],[t],{aCommonFollowing:t,aCommonPreceding:t,aEndPreceding:t,aStartFollowing:t,bCommonFollowing:t,bCommonPreceding:t,bEndPreceding:t,bStartFollowing:t,nChangeFollowing:t,nChangePreceding:t,nCommonFollowing:t,nCommonPreceding:t}),A!==0&&g(A,R,T)}}return a(h,"diffSequence"),Ci}a(_x,"requireBuild");var dH=_x(),Ax=gx(dH);function Rx(e,t){return e.replace(/\s+$/,r=>t(r))}a(Rx,"formatTrailingSpaces");function yl(e,t,r,n,o,i){return e.length!==0?r(`${n} ${Rx(e,o)}`):n!==" "?r(n):t&&i.length!==0?r(`${n} ${i}`):""}a(yl,"printDiffLine");function uf(e,t,{aColor:r,aIndicator:n,changeLineTrailingSpaceColor:o,emptyFirstOrLastLinePlaceholder:i}){return yl(e,t,r,n,o,i)}a(uf,"printDeleteLine");function cf(e,t,{bColor:r,bIndicator:n,changeLineTrailingSpaceColor:o,emptyFirstOrLastLinePlaceholder:i}){return yl(e,t,r,n,o,i)}a(cf,"printInsertLine");function df(e,t,{commonColor:r,commonIndicator:n,commonLineTrailingSpaceColor:o,emptyFirstOrLastLinePlaceholder:i}){return yl(e,t,r,n,o,i)}a(df,"printCommonLine");function _c(e,t,r,n,{patchColor:o}){return o(`@@ -${e+1},${t-e} +${r+1},${n-r} @@`)}a(_c,"createPatchMark");function qx(e,t){let r=e.length,n=t.contextLines,o=n+n,i=r,s=!1,l=0,c=0;for(;c!==r;){let A=c;for(;c!==r&&e[c][0]===De;)c+=1;if(A!==c)if(A===0)c>n&&(i-=c-n,s=!0);else if(c===r){let R=c-A;R>n&&(i-=R-n,s=!0)}else{let R=c-A;R>o&&(i-=R-o,l+=1)}for(;c!==r&&e[c][0]!==De;)c+=1}let u=l!==0||s;l!==0?i+=l+1:s&&(i+=1);let d=i-1,p=[],h=0;u&&p.push("");let f=0,m=0,b=0,g=0,v=a(A=>{let R=p.length;p.push(df(A,R===0||R===d,t)),b+=1,g+=1},"pushCommonLine"),w=a(A=>{let R=p.length;p.push(uf(A,R===0||R===d,t)),b+=1},"pushDeleteLine"),P=a(A=>{let R=p.length;p.push(cf(A,R===0||R===d,t)),g+=1},"pushInsertLine");for(c=0;c!==r;){let A=c;for(;c!==r&&e[c][0]===De;)c+=1;if(A!==c)if(A===0){c>n&&(A=c-n,f=A,m=A,b=f,g=m);for(let R=A;R!==c;R+=1)v(e[R][1])}else if(c===r){let R=c-A>n?A+n:c;for(let T=A;T!==R;T+=1)v(e[T][1])}else{let R=c-A;if(R>o){let T=A+n;for(let x=A;x!==T;x+=1)v(e[x][1]);p[h]=_c(f,b,m,g,t),h=p.length,p.push("");let E=R-o;f=b+E,m=g+E,b=f,g=m;for(let x=c-n;x!==c;x+=1)v(e[x][1])}else for(let T=A;T!==c;T+=1)v(e[T][1])}for(;c!==r&&e[c][0]===st;)w(e[c][1]),c+=1;for(;c!==r&&e[c][0]===et;)P(e[c][1]),c+=1}return u&&(p[h]=_c(f,b,m,g,t)),p.join(`
178
- `)}a(qx,"joinAlignedDiffsNoExpand");function Ix(e,t){return e.map((r,n,o)=>{let i=r[1],s=n===0||n===o.length-1;switch(r[0]){case st:return uf(i,s,t);case et:return cf(i,s,t);default:return df(i,s,t)}}).join(`
179
- `)}a(Ix,"joinAlignedDiffsExpand");var Lu=a(e=>e,"noColor"),Nx=5,pH=0;function jx(){return{aAnnotation:"Expected",aColor:Fe.green,aIndicator:"-",bAnnotation:"Received",bColor:Fe.red,bIndicator:"+",changeColor:Fe.inverse,changeLineTrailingSpaceColor:Lu,commonColor:Fe.dim,commonIndicator:" ",commonLineTrailingSpaceColor:Lu,compareKeys:void 0,contextLines:Nx,emptyFirstOrLastLinePlaceholder:"",expand:!1,includeChangeCounts:!1,omitAnnotationLines:!1,patchColor:Fe.yellow,printBasicPrototype:!1,truncateThreshold:pH,truncateAnnotation:"... Diff result is truncated",truncateAnnotationColor:Lu}}a(jx,"getDefaultOptions");function kx(e){return e&&typeof e=="function"?e:void 0}a(kx,"getCompareKeys");function Mx(e){return typeof e=="number"&&Number.isSafeInteger(e)&&e>=0?e:Nx}a(Mx,"getContextLines");function Jr(e={}){return{...jx(),...e,compareKeys:kx(e.compareKeys),contextLines:Mx(e.contextLines)}}a(Jr,"normalizeDiffOptions");function nn(e){return e.length===1&&e[0].length===0}a(nn,"isEmptyString");function $x(e){let t=0,r=0;return e.forEach(n=>{switch(n[0]){case st:t+=1;break;case et:r+=1;break}}),{a:t,b:r}}a($x,"countChanges");function Lx({aAnnotation:e,aColor:t,aIndicator:r,bAnnotation:n,bColor:o,bIndicator:i,includeChangeCounts:s,omitAnnotationLines:l},c){if(l)return"";let u="",d="";if(s){let f=String(c.a),m=String(c.b),b=n.length-e.length,g=" ".repeat(Math.max(0,b)),v=" ".repeat(Math.max(0,-b)),w=m.length-f.length,P=" ".repeat(Math.max(0,w)),A=" ".repeat(Math.max(0,-w));u=`${g} ${r} ${P}${f}`,d=`${v} ${i} ${A}${m}`}let p=`${r} ${e}${u}`,h=`${i} ${n}${d}`;return`${t(p)}
180
- ${o(h)}
181
-
182
- `}a(Lx,"printAnnotation");function bl(e,t,r){return Lx(r,$x(e))+(r.expand?Ix(e,r):qx(e,r))+(t?r.truncateAnnotationColor(`
183
- ${r.truncateAnnotation}`):"")}a(bl,"printDiffLines");function oi(e,t,r){let n=Jr(r),[o,i]=pf(nn(e)?[]:e,nn(t)?[]:t,n);return bl(o,i,n)}a(oi,"diffLinesUnified");function Dx(e,t,r,n,o){if(nn(e)&&nn(r)&&(e=[],r=[]),nn(t)&&nn(n)&&(t=[],n=[]),e.length!==r.length||t.length!==n.length)return oi(e,t,o);let[i,s]=pf(r,n,o),l=0,c=0;return i.forEach(u=>{switch(u[0]){case st:u[1]=e[l],l+=1;break;case et:u[1]=t[c],c+=1;break;default:u[1]=t[c],l+=1,c+=1}}),bl(i,s,Jr(o))}a(Dx,"diffLinesUnified2");function pf(e,t,r){let n=r?.truncateThreshold??!1,o=Math.max(Math.floor(r?.truncateThreshold??0),0),i=n?Math.min(e.length,o):e.length,s=n?Math.min(t.length,o):t.length,l=i!==e.length||s!==t.length,c=a((h,f)=>e[h]===t[f],"isCommon"),u=[],d=0,p=0;for(Ax(i,s,c,a((h,f,m)=>{for(;d!==f;d+=1)u.push(new ke(st,e[d]));for(;p!==m;p+=1)u.push(new ke(et,t[p]));for(;h!==0;h-=1,d+=1,p+=1)u.push(new ke(De,t[p]))},"foundSubsequence"));d!==i;d+=1)u.push(new ke(st,e[d]));for(;p!==s;p+=1)u.push(new ke(et,t[p]));return[u,l]}a(pf,"diffLinesRaw");function Ac(e){if(e===void 0)return"undefined";if(e===null)return"null";if(Array.isArray(e))return"array";if(typeof e=="boolean")return"boolean";if(typeof e=="function")return"function";if(typeof e=="number")return"number";if(typeof e=="string")return"string";if(typeof e=="bigint")return"bigint";if(typeof e=="object"){if(e!=null){if(e.constructor===RegExp)return"regexp";if(e.constructor===Map)return"map";if(e.constructor===Set)return"set";if(e.constructor===Date)return"date"}return"object"}else if(typeof e=="symbol")return"symbol";throw new Error(`value of unknown type: ${e}`)}a(Ac,"getType");function Rc(e){return e.includes(`\r
184
- `)?`\r
185
- `:`
186
- `}a(Rc,"getNewLineSymbol");function Fx(e,t,r){let n=r?.truncateThreshold??!1,o=Math.max(Math.floor(r?.truncateThreshold??0),0),i=e.length,s=t.length;if(n){let h=e.includes(`
187
- `),f=t.includes(`
188
- `),m=Rc(e),b=Rc(t),g=h?`${e.split(m,o).join(m)}
189
- `:e,v=f?`${t.split(b,o).join(b)}
190
- `:t;i=g.length,s=v.length}let l=i!==e.length||s!==t.length,c=a((h,f)=>e[h]===t[f],"isCommon"),u=0,d=0,p=[];return Ax(i,s,c,a((h,f,m)=>{u!==f&&p.push(new ke(st,e.slice(u,f))),d!==m&&p.push(new ke(et,t.slice(d,m))),u=f+h,d=m+h,p.push(new ke(De,t.slice(m,d)))},"foundSubsequence")),u!==i&&p.push(new ke(st,e.slice(u))),d!==s&&p.push(new ke(et,t.slice(d))),[p,l]}a(Fx,"diffStrings");function Bx(e,t,r){return t.reduce((n,o)=>n+(o[0]===De?o[1]:o[0]===e&&o[1].length!==0?r(o[1]):""),"")}a(Bx,"concatenateRelevantDiffs");var Ux=class{op;line;lines;changeColor;constructor(t,r){this.op=t,this.line=[],this.lines=[],this.changeColor=r}pushSubstring(t){this.pushDiff(new ke(this.op,t))}pushLine(){this.lines.push(this.line.length!==1?new ke(this.op,Bx(this.op,this.line,this.changeColor)):this.line[0][0]===this.op?this.line[0]:new ke(this.op,this.line[0][1])),this.line.length=0}isLineEmpty(){return this.line.length===0}pushDiff(t){this.line.push(t)}align(t){let r=t[1];if(r.includes(`
191
- `)){let n=r.split(`
192
- `),o=n.length-1;n.forEach((i,s)=>{s<o?(this.pushSubstring(i),this.pushLine()):i.length!==0&&this.pushSubstring(i)})}else this.pushDiff(t)}moveLinesTo(t){this.isLineEmpty()||this.pushLine(),t.push(...this.lines),this.lines.length=0}};a(Ux,"ChangeBuffer");var bb=Ux,Hx=class{deleteBuffer;insertBuffer;lines;constructor(t,r){this.deleteBuffer=t,this.insertBuffer=r,this.lines=[]}pushDiffCommonLine(t){this.lines.push(t)}pushDiffChangeLines(t){let r=t[1].length===0;(!r||this.deleteBuffer.isLineEmpty())&&this.deleteBuffer.pushDiff(t),(!r||this.insertBuffer.isLineEmpty())&&this.insertBuffer.pushDiff(t)}flushChangeLines(){this.deleteBuffer.moveLinesTo(this.lines),this.insertBuffer.moveLinesTo(this.lines)}align(t){let r=t[0],n=t[1];if(n.includes(`
193
- `)){let o=n.split(`
194
- `),i=o.length-1;o.forEach((s,l)=>{if(l===0){let c=new ke(r,s);this.deleteBuffer.isLineEmpty()&&this.insertBuffer.isLineEmpty()?(this.flushChangeLines(),this.pushDiffCommonLine(c)):(this.pushDiffChangeLines(c),this.flushChangeLines())}else l<i?this.pushDiffCommonLine(new ke(r,s)):s.length!==0&&this.pushDiffChangeLines(new ke(r,s))})}else this.pushDiffChangeLines(t)}getLines(){return this.flushChangeLines(),this.lines}};a(Hx,"CommonBuffer");var fH=Hx;function Vx(e,t){let r=new bb(st,t),n=new bb(et,t),o=new fH(r,n);return e.forEach(i=>{switch(i[0]){case st:r.align(i);break;case et:n.align(i);break;default:o.align(i)}}),o.getLines()}a(Vx,"getAlignedDiffs");function Jx(e,t){if(t){let r=e.length-1;return e.some((n,o)=>n[0]===De&&(o!==r||n[1]!==`
195
- `))}return e.some(r=>r[0]===De)}a(Jx,"hasCommonDiff");function zx(e,t,r){if(e!==t&&e.length!==0&&t.length!==0){let n=e.includes(`
196
- `)||t.includes(`
197
- `),[o,i]=ff(n?`${e}
198
- `:e,n?`${t}
199
- `:t,!0,r);if(Jx(o,n)){let s=Jr(r),l=Vx(o,s.changeColor);return bl(l,i,s)}}return oi(e.split(`
200
- `),t.split(`
201
- `),r)}a(zx,"diffStringsUnified");function ff(e,t,r,n){let[o,i]=Fx(e,t,n);return r&&Cx(o),[o,i]}a(ff,"diffStringsRaw");function es(e,t){let{commonColor:r}=Jr(t);return r(e)}a(es,"getCommonMessage");var{AsymmetricMatcher:hH,DOMCollection:mH,DOMElement:yH,Immutable:bH,ReactElement:gH,ReactTestComponent:vH}=nf,Wx=[vH,gH,yH,mH,bH,hH,nf.Error],qc={maxDepth:20,plugins:Wx},Gx={callToJSON:!1,maxDepth:8,plugins:Wx};function Rn(e,t,r){if(Object.is(e,t))return"";let n=Ac(e),o=n,i=!1;if(n==="object"&&typeof e.asymmetricMatch=="function"){if(e.$$typeof!==Symbol.for("jest.asymmetricMatcher")||typeof e.getExpectedType!="function")return;o=e.getExpectedType(),i=o==="string"}if(o!==Ac(t)){let s=function(P){return P.length<=g?P:`${P.slice(0,g)}...`};a(s,"truncate");let{aAnnotation:l,aColor:c,aIndicator:u,bAnnotation:d,bColor:p,bIndicator:h}=Jr(r),f=ts(Gx,r),m=Lt(e,f),b=Lt(t,f),g=1e5;m=s(m),b=s(b);let v=`${c(`${u} ${l}:`)}
202
- ${m}`,w=`${p(`${h} ${d}:`)}
203
- ${b}`;return`${v}
204
-
205
- ${w}`}if(!i)switch(n){case"string":return oi(e.split(`
206
- `),t.split(`
207
- `),r);case"boolean":case"number":return Kx(e,t,r);case"map":return Ii(Ic(e),Ic(t),r);case"set":return Ii(Nc(e),Nc(t),r);default:return Ii(e,t,r)}}a(Rn,"diff");function Kx(e,t,r){let n=Lt(e,qc),o=Lt(t,qc);return n===o?"":oi(n.split(`
208
- `),o.split(`
209
- `),r)}a(Kx,"comparePrimitive");function Ic(e){return new Map(Array.from(e.entries()).sort())}a(Ic,"sortMap");function Nc(e){return new Set(Array.from(e.values()).sort())}a(Nc,"sortSet");function Ii(e,t,r){let n,o=!1;try{let s=ts(qc,r);n=jc(e,t,s,r)}catch{o=!0}let i=es(Ox,r);if(n===void 0||n===i){let s=ts(Gx,r);n=jc(e,t,s,r),n!==i&&!o&&(n=`${es(cH,r)}
210
-
211
- ${n}`)}return n}a(Ii,"compareObjects");function ts(e,t){let{compareKeys:r,printBasicPrototype:n,maxDepth:o}=Jr(t);return{...e,compareKeys:r,printBasicPrototype:n,maxDepth:o??e.maxDepth}}a(ts,"getFormatOptions");function jc(e,t,r,n){let o={...r,indent:0},i=Lt(e,o),s=Lt(t,o);if(i===s)return es(Ox,n);{let l=Lt(e,r),c=Lt(t,r);return Dx(l.split(`
212
- `),c.split(`
213
- `),i.split(`
214
- `),s.split(`
215
- `),n)}}a(jc,"getObjectsDifference");var gb=2e4;function kc(e){return qa(e)==="Object"&&typeof e.asymmetricMatch=="function"}a(kc,"isAsymmetricMatcher");function Mc(e,t){let r=qa(e),n=qa(t);return r===n&&(r==="Object"||r==="Array")}a(Mc,"isReplaceable");function hf(e,t,r){let{aAnnotation:n,bAnnotation:o}=Jr(r);if(typeof t=="string"&&typeof e=="string"&&t.length>0&&e.length>0&&t.length<=gb&&e.length<=gb&&t!==e){if(t.includes(`
216
- `)||e.includes(`
217
- `))return zx(t,e,r);let[u]=ff(t,e,!0),d=u.some(m=>m[0]===De),p=Yx(n,o),h=p(n)+Qx($c(u,st,d)),f=p(o)+Xx($c(u,et,d));return`${h}
218
- ${f}`}let i=Pc(t,{forceWritable:!0}),s=Pc(e,{forceWritable:!0}),{replacedExpected:l,replacedActual:c}=mf(s,i);return Rn(l,c,r)}a(hf,"printDiffOrStringify");function mf(e,t,r=new WeakSet,n=new WeakSet){return e instanceof Error&&t instanceof Error&&typeof e.cause<"u"&&typeof t.cause>"u"?(delete e.cause,{replacedActual:e,replacedExpected:t}):Mc(e,t)?r.has(e)||n.has(t)?{replacedActual:e,replacedExpected:t}:(r.add(e),n.add(t),af(t).forEach(o=>{let i=t[o],s=e[o];if(kc(i))i.asymmetricMatch(s)&&(e[o]=i);else if(kc(s))s.asymmetricMatch(i)&&(t[o]=s);else if(Mc(s,i)){let l=mf(s,i,r,n);e[o]=l.replacedActual,t[o]=l.replacedExpected}}),{replacedActual:e,replacedExpected:t}):{replacedActual:e,replacedExpected:t}}a(mf,"replaceAsymmetricMatcher");function Yx(...e){let t=e.reduce((r,n)=>n.length>r?n.length:r,0);return r=>`${r}: ${" ".repeat(t-r.length)}`}a(Yx,"getLabelPrinter");var wH="·";function yf(e){return e.replace(/\s+$/gm,t=>wH.repeat(t.length))}a(yf,"replaceTrailingSpaces");function Xx(e){return Fe.red(yf(dt(e)))}a(Xx,"printReceived");function Qx(e){return Fe.green(yf(dt(e)))}a(Qx,"printExpected");function $c(e,t,r){return e.reduce((n,o)=>n+(o[0]===De?o[1]:o[0]===t?r?Fe.inverse(o[1]):o[1]:""),"")}a($c,"getCommonAndChangedSubstrings");var EH="@@__IMMUTABLE_RECORD__@@",xH="@@__IMMUTABLE_ITERABLE__@@";function Zx(e){return e&&(e[xH]||e[EH])}a(Zx,"isImmutable");var TH=Object.getPrototypeOf({});function Lc(e){return e instanceof Error?`<unserializable>: ${e.message}`:typeof e=="string"?`<unserializable>: ${e}`:"<unserializable>"}a(Lc,"getUnserializableMessage");function pr(e,t=new WeakMap){if(!e||typeof e=="string")return e;if(e instanceof Error&&"toJSON"in e&&typeof e.toJSON=="function"){let r=e.toJSON();return r&&r!==e&&typeof r=="object"&&(typeof e.message=="string"&&la(()=>r.message??(r.message=e.message)),typeof e.stack=="string"&&la(()=>r.stack??(r.stack=e.stack)),typeof e.name=="string"&&la(()=>r.name??(r.name=e.name)),e.cause!=null&&la(()=>r.cause??(r.cause=pr(e.cause,t)))),pr(r,t)}if(typeof e=="function")return`Function<${e.name||"anonymous"}>`;if(typeof e=="symbol")return e.toString();if(typeof e!="object")return e;if(typeof Buffer<"u"&&e instanceof Buffer)return`<Buffer(${e.length}) ...>`;if(typeof Uint8Array<"u"&&e instanceof Uint8Array)return`<Uint8Array(${e.length}) ...>`;if(Zx(e))return pr(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()} ${bx(e.sample)}`;if(typeof e.toJSON=="function")return pr(e.toJSON(),t);if(t.has(e))return t.get(e);if(Array.isArray(e)){let r=new Array(e.length);return t.set(e,r),e.forEach((n,o)=>{try{r[o]=pr(n,t)}catch(i){r[o]=Lc(i)}}),r}else{let r=Object.create(null);t.set(e,r);let n=e;for(;n&&n!==TH;)Object.getOwnPropertyNames(n).forEach(o=>{if(!(o in r))try{r[o]=pr(e[o],t)}catch(i){delete r[o],r[o]=Lc(i)}}),n=Object.getPrototypeOf(n);return r}}a(pr,"serializeValue");function la(e){try{return e()}catch{}}a(la,"safe");function eT(e){return e.replace(/__(vite_ssr_import|vi_import)_\d+__\./g,"")}a(eT,"normalizeErrorMessage");function gl(e,t,r=new WeakSet){if(!e||typeof e!="object")return{message:String(e)};let n=e;(n.showDiff||n.showDiff===void 0&&n.expected!==void 0&&n.actual!==void 0)&&(n.diff=hf(n.actual,n.expected,{...t,...n.diffOptions})),"expected"in n&&typeof n.expected!="string"&&(n.expected=dt(n.expected,10)),"actual"in n&&typeof n.actual!="string"&&(n.actual=dt(n.actual,10));try{typeof n.message=="string"&&(n.message=eT(n.message))}catch{}try{!r.has(n)&&typeof n.cause=="object"&&(r.add(n),n.cause=gl(n.cause,t,r))}catch{}try{return pr(n)}catch(o){return pr(new Error(`Failed to fully serialize error: ${o?.message}
219
- Inner error message: ${n?.message}`))}}a(gl,"processError");var ar={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"},Du=globalThis.__STORYBOOK_ADDONS_PREVIEW,SH=new Error("This function ran after the play function completed. Did you forget to `await` it?"),vb=a(e=>Object.prototype.toString.call(e)==="[object Object]","isObject"),CH=a(e=>Object.prototype.toString.call(e)==="[object Module]","isModule"),PH=a(e=>{if(!vb(e)&&!CH(e))return!1;if(e.constructor===void 0)return!0;let t=e.constructor.prototype;return!!vb(t)},"isInstrumentable"),OH=a(e=>{try{return new e.constructor}catch{return{}}},"construct"),Fu=a(()=>({renderPhase:"preparing",isDebugging:!1,isPlaying:!1,isLocked:!1,cursor:0,calls:[],shadowCalls:[],callRefsByResult:new Map,chainedCallIds:new Set,ancestors:[],playUntil:void 0,resolvers:{},syncTimeout:void 0}),"getInitialState"),wb=a((e,t=!1)=>{let r=(t?e.shadowCalls:e.calls).filter(o=>o.retain);if(!r.length)return;let n=new Map(Array.from(e.callRefsByResult.entries()).filter(([,o])=>o.retain));return{cursor:r.length,calls:r,callRefsByResult:n}},"getRetainedState"),tT=class{constructor(){this.detached=!1,this.initialized=!1,this.state={},this.loadParentWindowState=a(()=>{try{this.state=te.window?.parent?.__STORYBOOK_ADDON_INTERACTIONS_INSTRUMENTER_STATE__||{}}catch{this.detached=!0}},"loadParentWindowState"),this.updateParentWindowState=a(()=>{try{te.window.parent.__STORYBOOK_ADDON_INTERACTIONS_INSTRUMENTER_STATE__=this.state}catch{this.detached=!0}},"updateParentWindowState"),this.loadParentWindowState();let t=a(({storyId:c,renderPhase:u,isPlaying:d=!0,isDebugging:p=!1})=>{let h=this.getState(c);this.setState(c,{...Fu(),...wb(h,p),renderPhase:u||h.renderPhase,shadowCalls:p?h.shadowCalls:[],chainedCallIds:p?h.chainedCallIds:new Set,playUntil:p?h.playUntil:void 0,isPlaying:d,isDebugging:p}),this.sync(c)},"resetState"),r=a(c=>({storyId:u,playUntil:d})=>{this.getState(u).isDebugging||this.setState(u,({calls:h})=>({calls:[],shadowCalls:h.map(f=>({...f,status:"waiting"})),isDebugging:!0}));let p=this.getLog(u);this.setState(u,({shadowCalls:h})=>{if(d||!p.length)return{playUntil:d};let f=h.findIndex(m=>m.id===p[0].callId);return{playUntil:h.slice(0,f).filter(m=>m.interceptable&&!m.ancestors?.length).slice(-1)[0]?.id}}),c.emit(Ki,{storyId:u,isDebugging:!0})},"start"),n=a(c=>({storyId:u})=>{let d=this.getLog(u).filter(h=>!h.ancestors?.length),p=d.reduceRight((h,f,m)=>h>=0||f.status==="waiting"?h:m,-1);r(c)({storyId:u,playUntil:d[p-1]?.callId})},"back"),o=a(c=>({storyId:u,callId:d})=>{let{calls:p,shadowCalls:h,resolvers:f}=this.getState(u),m=p.find(({id:g})=>g===d),b=h.find(({id:g})=>g===d);if(!m&&b&&Object.values(f).length>0){let g=this.getLog(u).find(v=>v.status==="waiting")?.callId;b.id!==g&&this.setState(u,{playUntil:b.id}),Object.values(f).forEach(v=>v())}else r(c)({storyId:u,playUntil:d})},"goto"),i=a(c=>({storyId:u})=>{let{resolvers:d}=this.getState(u);if(Object.values(d).length>0)Object.values(d).forEach(p=>p());else{let p=this.getLog(u).find(h=>h.status==="waiting")?.callId;p?r(c)({storyId:u,playUntil:p}):s({storyId:u})}},"next"),s=a(({storyId:c})=>{this.setState(c,{playUntil:void 0,isDebugging:!1}),Object.values(this.getState(c).resolvers).forEach(u=>u())},"end"),l=a(({storyId:c,newPhase:u})=>{let{isDebugging:d}=this.getState(c);if(u==="preparing"&&d)return t({storyId:c,renderPhase:u});if(u==="playing")return t({storyId:c,renderPhase:u,isDebugging:d});u==="played"?this.setState(c,{renderPhase:u,isLocked:!1,isPlaying:!1,isDebugging:!1}):u==="errored"?this.setState(c,{renderPhase:u,isLocked:!1,isPlaying:!1}):u==="aborted"?this.setState(c,{renderPhase:u,isLocked:!0,isPlaying:!1}):this.setState(c,{renderPhase:u}),this.sync(c)},"renderPhaseChanged");Du&&Du.ready().then(()=>{this.channel=Du.getChannel(),this.channel.on(Ki,t),this.channel.on(mn,l),this.channel.on(wp,()=>{this.initialized?this.cleanup():this.initialized=!0}),this.channel.on(ar.START,r(this.channel)),this.channel.on(ar.BACK,n(this.channel)),this.channel.on(ar.GOTO,o(this.channel)),this.channel.on(ar.NEXT,i(this.channel)),this.channel.on(ar.END,s)})}getState(t){return this.state[t]||Fu()}setState(t,r){if(t){let n=this.getState(t),o=typeof r=="function"?r(n):r;this.state={...this.state,[t]:{...n,...o}},this.updateParentWindowState()}}cleanup(){this.state=Object.entries(this.state).reduce((r,[n,o])=>{let i=wb(o);return i&&(r[n]=Object.assign(Fu(),i)),r},{});let t={controlStates:{detached:this.detached,start:!1,back:!1,goto:!1,next:!1,end:!1},logItems:[]};this.channel?.emit(ar.SYNC,t),this.updateParentWindowState()}getLog(t){let{calls:r,shadowCalls:n}=this.getState(t),o=[...n];r.forEach((s,l)=>{o[l]=s});let i=new Set;return o.reduceRight((s,l)=>(l.args.forEach(c=>{c?.__callId__&&i.add(c.__callId__)}),l.path.forEach(c=>{c.__callId__&&i.add(c.__callId__)}),(l.interceptable||l.exception)&&!i.has(l.id)&&(s.unshift({callId:l.id,status:l.status,ancestors:l.ancestors}),i.add(l.id)),s),[])}instrument(t,r,n=0){if(!PH(t))return t;let{mutate:o=!1,path:i=[]}=r,s=r.getKeys?r.getKeys(t,n):Object.keys(t);return n+=1,s.reduce((l,c)=>{let u=rT(t,c);if(typeof u?.get=="function"){if(u.configurable){let p=a(()=>u?.get?.bind(t)?.(),"getter");Object.defineProperty(l,c,{get:a(()=>this.instrument(p(),{...r,path:i.concat(c)},n),"get")})}return l}let d=t[c];return typeof d!="function"?(l[c]=this.instrument(d,{...r,path:i.concat(c)},n),l):"__originalFn__"in d&&typeof d.__originalFn__=="function"?(l[c]=d,l):(l[c]=(...p)=>this.track(c,d,t,p,r),l[c].__originalFn__=d,Object.defineProperty(l[c],"name",{value:c,writable:!1}),Object.keys(d).length>0&&Object.assign(l[c],this.instrument({...d},{...r,path:i.concat(c)},n)),l)},o?t:OH(t))}track(t,r,n,o,i){let s=o?.[0]?.__storyId__||te.__STORYBOOK_PREVIEW__?.selectionStore?.selection?.storyId,{cursor:l,ancestors:c}=this.getState(s);this.setState(s,{cursor:l+1});let u=`${c.slice(-1)[0]||s} [${l}] ${t}`,{path:d=[],intercept:p=!1,retain:h=!1}=i,f=typeof p=="function"?p(t,d):p,m={id:u,cursor:l,storyId:s,ancestors:c,path:d,method:t,args:o,interceptable:f,retain:h},b=(f&&!c.length?this.intercept:this.invoke).call(this,r,n,m,i);return this.instrument(b,{...i,mutate:!0,path:[{__callId__:m.id}]})}intercept(t,r,n,o){let{chainedCallIds:i,isDebugging:s,playUntil:l}=this.getState(n.storyId),c=i.has(n.id);return!s||c||l?(l===n.id&&this.setState(n.storyId,{playUntil:void 0}),this.invoke(t,r,n,o)):new Promise(u=>{this.setState(n.storyId,({resolvers:d})=>({isLocked:!1,resolvers:{...d,[n.id]:u}}))}).then(()=>(this.setState(n.storyId,u=>{let{[n.id]:d,...p}=u.resolvers;return{isLocked:!0,resolvers:p}}),this.invoke(t,r,n,o)))}invoke(t,r,n,o){let{callRefsByResult:i,renderPhase:s}=this.getState(n.storyId),l=25,c=a((p,h,f)=>{if(f.includes(p))return"[Circular]";if(f=[...f,p],h>l)return"...";if(i.has(p))return i.get(p);if(p instanceof Array)return p.map(m=>c(m,++h,f));if(p instanceof Date)return{__date__:{value:p.toISOString()}};if(p instanceof Error){let{name:m,message:b,stack:g}=p;return{__error__:{name:m,message:b,stack:g}}}if(p instanceof RegExp){let{flags:m,source:b}=p;return{__regexp__:{flags:m,source:b}}}if(p instanceof te.window?.HTMLElement){let{prefix:m,localName:b,id:g,classList:v,innerText:w}=p,P=Array.from(v);return{__element__:{prefix:m,localName:b,id:g,classNames:P,innerText:w}}}return typeof p=="function"?{__function__:{name:"getMockName"in p?p.getMockName():p.name}}:typeof p=="symbol"?{__symbol__:{description:p.description}}:typeof p=="object"&&p?.constructor?.name&&p?.constructor?.name!=="Object"?{__class__:{name:p.constructor.name}}:Object.prototype.toString.call(p)==="[object Object]"?Object.fromEntries(Object.entries(p).map(([m,b])=>[m,c(b,++h,f)])):p},"serializeValues"),u={...n,args:n.args.map(p=>c(p,0,[]))};n.path.forEach(p=>{p?.__callId__&&this.setState(n.storyId,({chainedCallIds:h})=>({chainedCallIds:new Set(Array.from(h).concat(p.__callId__))}))});let d=a(p=>{if(p instanceof Error){let{name:h,message:f,stack:m,callId:b=n.id}=p,{showDiff:g=void 0,diff:v=void 0,actual:w=void 0,expected:P=void 0}=p.name==="AssertionError"?gl(p):p,A={name:h,message:f,stack:m,callId:b,showDiff:g,diff:v,actual:w,expected:P};if(this.update({...u,status:"error",exception:A}),this.setState(n.storyId,R=>({callRefsByResult:new Map([...Array.from(R.callRefsByResult.entries()),[p,{__callId__:n.id,retain:n.retain}]])})),n.ancestors?.length)throw Object.prototype.hasOwnProperty.call(p,"callId")||Object.defineProperty(p,"callId",{value:n.id}),p}throw p},"handleException");try{if(s==="played"&&!n.retain)throw SH;let p=(o.getArgs?o.getArgs(n,this.getState(n.storyId)):n.args).map(f=>typeof f!="function"||nT(f)||Object.keys(f).length?f:(...m)=>{let{cursor:b,ancestors:g}=this.getState(n.storyId);this.setState(n.storyId,{cursor:0,ancestors:[...g,n.id]});let v=a(()=>this.setState(n.storyId,{cursor:b,ancestors:g}),"restore"),w=!1;try{let P=f(...m);return P instanceof Promise?(w=!0,P.finally(v)):P}finally{w||v()}}),h=t.apply(r,p);return h&&["object","function","symbol"].includes(typeof h)&&this.setState(n.storyId,f=>({callRefsByResult:new Map([...Array.from(f.callRefsByResult.entries()),[h,{__callId__:n.id,retain:n.retain}]])})),this.update({...u,status:h instanceof Promise?"active":"done"}),h instanceof Promise?h.then(f=>(this.update({...u,status:"done"}),f),d):h}catch(p){return d(p)}}update(t){this.channel?.emit(ar.CALL,t),this.setState(t.storyId,({calls:r})=>{let n=r.concat(t).reduce((o,i)=>Object.assign(o,{[i.id]:i}),{});return{calls:Object.values(n).sort((o,i)=>o.id.localeCompare(i.id,void 0,{numeric:!0}))}}),this.sync(t.storyId)}sync(t){let r=a(()=>{let{isLocked:n,isPlaying:o}=this.getState(t),i=this.getLog(t),s=i.filter(({ancestors:d})=>!d.length).find(d=>d.status==="waiting")?.callId,l=i.some(d=>d.status==="active");if(this.detached||n||l||i.length===0){let d={controlStates:{detached:this.detached,start:!1,back:!1,goto:!1,next:!1,end:!1},logItems:i};this.channel?.emit(ar.SYNC,d);return}let c=i.some(d=>d.status==="done"||d.status==="error"),u={controlStates:{detached:this.detached,start:c,back:c,goto:!0,next:o,end:o},logItems:i,pausedAt:s};this.channel?.emit(ar.SYNC,u)},"synchronize");this.setState(t,({syncTimeout:n})=>(clearTimeout(n),{syncTimeout:setTimeout(r,0)}))}};a(tT,"Instrumenter");var _H=tT;function Ro(e,t={}){try{let r=!1,n=!1;return te.window?.location?.search?.includes("instrument=true")?r=!0:te.window?.location?.search?.includes("instrument=false")&&(n=!0),te.window?.parent===te.window&&!r||n?e:(te.window&&!te.window.__STORYBOOK_ADDON_INTERACTIONS_INSTRUMENTER__&&(te.window.__STORYBOOK_ADDON_INTERACTIONS_INSTRUMENTER__=new _H),(te.window?.__STORYBOOK_ADDON_INTERACTIONS_INSTRUMENTER__).instrument(e,t))}catch(r){return Be.warn(r),e}}a(Ro,"instrument");function rT(e,t){let r=e;for(;r!=null;){let n=Object.getOwnPropertyDescriptor(r,t);if(n)return n;r=Object.getPrototypeOf(r)}}a(rT,"getPropertyDescriptor");function nT(e){if(typeof e!="function")return!1;let t=Object.getOwnPropertyDescriptor(e,"prototype");return t?!t.writable:!1}a(nT,"isClass");var oT=Object.defineProperty,AH=Object.getOwnPropertyNames,V=a((e,t)=>oT(e,"name",{value:t,configurable:!0}),"__name"),RH=a((e,t)=>a(function(){return t||(0,e[AH(e)[0]])((t={exports:{}}).exports,t),t.exports},"__require"),"__commonJS"),bf=a((e,t)=>{for(var r in t)oT(e,r,{get:t[r],enumerable:!0})},"__export"),qH=RH({"(disabled):util"(){}}),Wt={};bf(Wt,{addChainableMethod:a(()=>Rl,"addChainableMethod"),addLengthGuard:a(()=>No,"addLengthGuard"),addMethod:a(()=>Ol,"addMethod"),addProperty:a(()=>Pl,"addProperty"),checkError:a(()=>gt,"checkError"),compareByInspect:a(()=>ka,"compareByInspect"),eql:a(()=>sT,"eql"),expectTypes:a(()=>Sf,"expectTypes"),flag:a(()=>he,"flag"),getActual:a(()=>ii,"getActual"),getMessage:a(()=>El,"getMessage"),getName:a(()=>li,"getName"),getOperator:a(()=>jl,"getOperator"),getOwnEnumerableProperties:a(()=>Nl,"getOwnEnumerableProperties"),getOwnEnumerablePropertySymbols:a(()=>Il,"getOwnEnumerablePropertySymbols"),getPathInfo:a(()=>Cl,"getPathInfo"),hasProperty:a(()=>si,"hasProperty"),inspect:a(()=>we,"inspect"),isNaN:a(()=>ys,"isNaN"),isNumeric:a(()=>Ge,"isNumeric"),isProxyEnabled:a(()=>Io,"isProxyEnabled"),isRegExp:a(()=>Ma,"isRegExp"),objDisplay:a(()=>jr,"objDisplay"),overwriteChainableMethod:a(()=>ql,"overwriteChainableMethod"),overwriteMethod:a(()=>Al,"overwriteMethod"),overwriteProperty:a(()=>_l,"overwriteProperty"),proxify:a(()=>qn,"proxify"),test:a(()=>vl,"test"),transferFlags:a(()=>Nt,"transferFlags"),type:a(()=>Ce,"type")});var gt={};bf(gt,{compatibleConstructor:a(()=>wf,"compatibleConstructor"),compatibleInstance:a(()=>vf,"compatibleInstance"),compatibleMessage:a(()=>Ef,"compatibleMessage"),getConstructorName:a(()=>xf,"getConstructorName"),getMessage:a(()=>Tf,"getMessage")});function ai(e){return e instanceof Error||Object.prototype.toString.call(e)==="[object Error]"}a(ai,"isErrorInstance");V(ai,"isErrorInstance");function gf(e){return Object.prototype.toString.call(e)==="[object RegExp]"}a(gf,"isRegExp");V(gf,"isRegExp");function vf(e,t){return ai(t)&&e===t}a(vf,"compatibleInstance");V(vf,"compatibleInstance");function wf(e,t){return ai(t)?e.constructor===t.constructor||e instanceof t.constructor:(typeof t=="object"||typeof t=="function")&&t.prototype?e.constructor===t||e instanceof t:!1}a(wf,"compatibleConstructor");V(wf,"compatibleConstructor");function Ef(e,t){let r=typeof e=="string"?e:e.message;return gf(t)?t.test(r):typeof t=="string"?r.indexOf(t)!==-1:!1}a(Ef,"compatibleMessage");V(Ef,"compatibleMessage");function xf(e){let t=e;return ai(e)?t=e.constructor.name:typeof e=="function"&&(t=e.name,t===""&&(t=new e().name||t)),t}a(xf,"getConstructorName");V(xf,"getConstructorName");function Tf(e){let t="";return e&&e.message?t=e.message:typeof e=="string"&&(t=e),t}a(Tf,"getMessage");V(Tf,"getMessage");function he(e,t,r){var n=e.__flags||(e.__flags=Object.create(null));if(arguments.length===3)n[t]=r;else return n[t]}a(he,"flag");V(he,"flag");function vl(e,t){var r=he(e,"negate"),n=t[0];return r?!n:n}a(vl,"test");V(vl,"test");function Ce(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)}a(Ce,"type");V(Ce,"type");var IH="captureStackTrace"in Error,na,xe=(na=class extends Error{message;get name(){return"AssertionError"}get ok(){return!1}constructor(e="Unspecified AssertionError",t,r){super(e),this.message=e,IH&&Error.captureStackTrace(this,r||na);for(let n in t)n in this||(this[n]=t[n])}toJSON(e){return{...this,name:this.name,message:this.message,ok:!1,stack:e!==!1?this.stack:void 0}}},a(na,"_AssertionError"),V(na,"AssertionError"),na);function Sf(e,t){var r=he(e,"message"),n=he(e,"ssfi");r=r?r+": ":"",e=he(e,"object"),t=t.map(function(s){return s.toLowerCase()}),t.sort();var o=t.map(function(s,l){var c=~["a","e","i","o","u"].indexOf(s.charAt(0))?"an":"a",u=t.length>1&&l===t.length-1?"or ":"";return u+c+" "+s}).join(", "),i=Ce(e).toLowerCase();if(!t.some(function(s){return i===s}))throw new xe(r+"object tested must be "+o+", but "+i+" given",void 0,n)}a(Sf,"expectTypes");V(Sf,"expectTypes");function ii(e,t){return t.length>4?t[4]:e._obj}a(ii,"getActual");V(ii,"getActual");var Eb={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"]},NH={special:"cyan",number:"yellow",bigint:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",symbol:"green",date:"magenta",regexp:"red"},co="…";function Cf(e,t){let r=Eb[NH[t]]||Eb[t]||"";return r?`\x1B[${r[0]}m${String(e)}\x1B[${r[1]}m`:String(e)}a(Cf,"colorise");V(Cf,"colorise");function Pf({showHidden:e=!1,depth:t=2,colors:r=!1,customInspect:n=!0,showProxy:o=!1,maxArrayLength:i=1/0,breakLength:s=1/0,seen:l=[],truncate:c=1/0,stylize:u=String}={},d){let p={showHidden:!!e,depth:Number(t),colors:!!r,customInspect:!!n,showProxy:!!o,maxArrayLength:Number(i),breakLength:Number(s),truncate:Number(c),seen:l,inspect:d,stylize:u};return p.colors&&(p.stylize=Cf),p}a(Pf,"normaliseOptions");V(Pf,"normaliseOptions");function Of(e){return e>="\uD800"&&e<="\uDBFF"}a(Of,"isHighSurrogate");V(Of,"isHighSurrogate");function Zt(e,t,r=co){e=String(e);let n=r.length,o=e.length;if(n>t&&o>n)return r;if(o>t&&o>n){let i=t-n;return i>0&&Of(e[i-1])&&(i=i-1),`${e.slice(0,i)}${r}`}return e}a(Zt,"truncate");V(Zt,"truncate");function Tt(e,t,r,n=", "){r=r||t.inspect;let o=e.length;if(o===0)return"";let i=t.truncate,s="",l="",c="";for(let u=0;u<o;u+=1){let d=u+1===e.length,p=u+2===e.length;c=`${co}(${e.length-u})`;let h=e[u];t.truncate=i-s.length-(d?0:n.length);let f=l||r(h,t)+(d?"":n),m=s.length+f.length,b=m+c.length;if(d&&m>i&&s.length+c.length<=i||!d&&!p&&b>i||(l=d?"":r(e[u+1],t)+(p?"":n),!d&&p&&b>i&&m+l.length>i))break;if(s+=f,!d&&!p&&m+l.length>=i){c=`${co}(${e.length-u-1})`;break}c=""}return`${s}${c}`}a(Tt,"inspectList");V(Tt,"inspectList");function _f(e){return e.match(/^[a-zA-Z_][a-zA-Z_0-9]*$/)?e:JSON.stringify(e).replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'")}a(_f,"quoteComplexKey");V(_f,"quoteComplexKey");function yn([e,t],r){return r.truncate-=2,typeof e=="string"?e=_f(e):typeof e!="number"&&(e=`[${r.inspect(e,r)}]`),r.truncate-=e.length,t=r.inspect(t,r),`${e}: ${t}`}a(yn,"inspectProperty");V(yn,"inspectProperty");function Af(e,t){let r=Object.keys(e).slice(e.length);if(!e.length&&!r.length)return"[]";t.truncate-=4;let n=Tt(e,t);t.truncate-=n.length;let o="";return r.length&&(o=Tt(r.map(i=>[i,e[i]]),t,yn)),`[ ${n}${o?`, ${o}`:""} ]`}a(Af,"inspectArray");V(Af,"inspectArray");var jH=V(e=>typeof Buffer=="function"&&e instanceof Buffer?"Buffer":e[Symbol.toStringTag]?e[Symbol.toStringTag]:e.constructor.name,"getArrayName");function kt(e,t){let r=jH(e);t.truncate-=r.length+4;let n=Object.keys(e).slice(e.length);if(!e.length&&!n.length)return`${r}[]`;let o="";for(let s=0;s<e.length;s++){let l=`${t.stylize(Zt(e[s],t.truncate),"number")}${s===e.length-1?"":", "}`;if(t.truncate-=l.length,e[s]!==e.length&&t.truncate<=3){o+=`${co}(${e.length-e[s]+1})`;break}o+=l}let i="";return n.length&&(i=Tt(n.map(s=>[s,e[s]]),t,yn)),`${r}[ ${o}${i?`, ${i}`:""} ]`}a(kt,"inspectTypedArray");V(kt,"inspectTypedArray");function Rf(e,t){let r=e.toJSON();if(r===null)return"Invalid Date";let n=r.split("T"),o=n[0];return t.stylize(`${o}T${Zt(n[1],t.truncate-o.length-1)}`,"date")}a(Rf,"inspectDate");V(Rf,"inspectDate");function rs(e,t){let r=e[Symbol.toStringTag]||"Function",n=e.name;return n?t.stylize(`[${r} ${Zt(n,t.truncate-11)}]`,"special"):t.stylize(`[${r}]`,"special")}a(rs,"inspectFunction");V(rs,"inspectFunction");function qf([e,t],r){return r.truncate-=4,e=r.inspect(e,r),r.truncate-=e.length,t=r.inspect(t,r),`${e} => ${t}`}a(qf,"inspectMapEntry");V(qf,"inspectMapEntry");function If(e){let t=[];return e.forEach((r,n)=>{t.push([n,r])}),t}a(If,"mapToEntries");V(If,"mapToEntries");function Nf(e,t){return e.size-1<=0?"Map{}":(t.truncate-=7,`Map{ ${Tt(If(e),t,qf)} }`)}a(Nf,"inspectMap");V(Nf,"inspectMap");var kH=Number.isNaN||(e=>e!==e);function ns(e,t){return kH(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(Zt(String(e),t.truncate),"number")}a(ns,"inspectNumber");V(ns,"inspectNumber");function os(e,t){let r=Zt(e.toString(),t.truncate-1);return r!==co&&(r+="n"),t.stylize(r,"bigint")}a(os,"inspectBigInt");V(os,"inspectBigInt");function jf(e,t){let r=e.toString().split("/")[2],n=t.truncate-(2+r.length),o=e.source;return t.stylize(`/${Zt(o,n)}/${r}`,"regexp")}a(jf,"inspectRegExp");V(jf,"inspectRegExp");function kf(e){let t=[];return e.forEach(r=>{t.push(r)}),t}a(kf,"arrayFromSet");V(kf,"arrayFromSet");function Mf(e,t){return e.size===0?"Set{}":(t.truncate-=7,`Set{ ${Tt(kf(e),t)} }`)}a(Mf,"inspectSet");V(Mf,"inspectSet");var xb=new RegExp("['\\u0000-\\u001f\\u007f-\\u009f\\u00ad\\u0600-\\u0604\\u070f\\u17b4\\u17b5\\u200c-\\u200f\\u2028-\\u202f\\u2060-\\u206f\\ufeff\\ufff0-\\uffff]","g"),MH={"\b":"\\b"," ":"\\t","\n":"\\n","\f":"\\f","\r":"\\r","'":"\\'","\\":"\\\\"},$H=16;function $f(e){return MH[e]||`\\u${`0000${e.charCodeAt(0).toString($H)}`.slice(-4)}`}a($f,"escape");V($f,"escape");function as(e,t){return xb.test(e)&&(e=e.replace(xb,$f)),t.stylize(`'${Zt(e,t.truncate-2)}'`,"string")}a(as,"inspectString");V(as,"inspectString");function is(e){return"description"in Symbol.prototype?e.description?`Symbol(${e.description})`:"Symbol()":e.toString()}a(is,"inspectSymbol");V(is,"inspectSymbol");var aT=V(()=>"Promise{…}","getPromiseValue");try{let{getPromiseDetails:e,kPending:t,kRejected:r}=process.binding("util");Array.isArray(e(Promise.resolve()))&&(aT=V((n,o)=>{let[i,s]=e(n);return i===t?"Promise{<pending>}":`Promise${i===r?"!":""}{${o.inspect(s,o)}}`},"getPromiseValue"))}catch{}var LH=aT;function Zn(e,t){let r=Object.getOwnPropertyNames(e),n=Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e):[];if(r.length===0&&n.length===0)return"{}";if(t.truncate-=4,t.seen=t.seen||[],t.seen.includes(e))return"[Circular]";t.seen.push(e);let o=Tt(r.map(l=>[l,e[l]]),t,yn),i=Tt(n.map(l=>[l,e[l]]),t,yn);t.seen.pop();let s="";return o&&i&&(s=", "),`{ ${o}${s}${i} }`}a(Zn,"inspectObject");V(Zn,"inspectObject");var Bu=typeof Symbol<"u"&&Symbol.toStringTag?Symbol.toStringTag:!1;function Lf(e,t){let r="";return Bu&&Bu in e&&(r=e[Bu]),r=r||e.constructor.name,(!r||r==="_class")&&(r="<Anonymous Class>"),t.truncate-=r.length,`${r}${Zn(e,t)}`}a(Lf,"inspectClass");V(Lf,"inspectClass");function Df(e,t){return e.length===0?"Arguments[]":(t.truncate-=13,`Arguments[ ${Tt(e,t)} ]`)}a(Df,"inspectArguments");V(Df,"inspectArguments");var DH=["stack","line","column","name","message","fileName","lineNumber","columnNumber","number","description","cause"];function Ff(e,t){let r=Object.getOwnPropertyNames(e).filter(s=>DH.indexOf(s)===-1),n=e.name;t.truncate-=n.length;let o="";if(typeof e.message=="string"?o=Zt(e.message,t.truncate):r.unshift("message"),o=o?`: ${o}`:"",t.truncate-=o.length+5,t.seen=t.seen||[],t.seen.includes(e))return"[Circular]";t.seen.push(e);let i=Tt(r.map(s=>[s,e[s]]),t,yn);return`${n}${o}${i?` { ${i} }`:""}`}a(Ff,"inspectObject2");V(Ff,"inspectObject");function Bf([e,t],r){return r.truncate-=3,t?`${r.stylize(String(e),"yellow")}=${r.stylize(`"${t}"`,"string")}`:`${r.stylize(String(e),"yellow")}`}a(Bf,"inspectAttribute");V(Bf,"inspectAttribute");function Ia(e,t){return Tt(e,t,wl,`
220
- `)}a(Ia,"inspectHTMLCollection");V(Ia,"inspectHTMLCollection");function wl(e,t){let r=e.getAttributeNames(),n=e.tagName.toLowerCase(),o=t.stylize(`<${n}`,"special"),i=t.stylize(">","special"),s=t.stylize(`</${n}>`,"special");t.truncate-=n.length*2+5;let l="";r.length>0&&(l+=" ",l+=Tt(r.map(d=>[d,e.getAttribute(d)]),t,Bf," ")),t.truncate-=l.length;let c=t.truncate,u=Ia(e.children,t);return u&&u.length>c&&(u=`${co}(${e.children.length})`),`${o}${l}${i}${u}${s}`}a(wl,"inspectHTML");V(wl,"inspectHTML");var FH=typeof Symbol=="function"&&typeof Symbol.for=="function",Uu=FH?Symbol.for("chai/inspect"):"@@chai/inspect",Wn=!1;try{let e=qH();Wn=e.inspect?e.inspect.custom:!1}catch{Wn=!1}var Tb=new WeakMap,Sb={},Cb={undefined:a((e,t)=>t.stylize("undefined","undefined"),"undefined"),null:a((e,t)=>t.stylize("null","null"),"null"),boolean:a((e,t)=>t.stylize(String(e),"boolean"),"boolean"),Boolean:a((e,t)=>t.stylize(String(e),"boolean"),"Boolean"),number:ns,Number:ns,bigint:os,BigInt:os,string:as,String:as,function:rs,Function:rs,symbol:is,Symbol:is,Array:Af,Date:Rf,Map:Nf,Set:Mf,RegExp:jf,Promise:LH,WeakSet:a((e,t)=>t.stylize("WeakSet{…}","special"),"WeakSet"),WeakMap:a((e,t)=>t.stylize("WeakMap{…}","special"),"WeakMap"),Arguments:Df,Int8Array:kt,Uint8Array:kt,Uint8ClampedArray:kt,Int16Array:kt,Uint16Array:kt,Int32Array:kt,Uint32Array:kt,Float32Array:kt,Float64Array:kt,Generator:a(()=>"","Generator"),DataView:a(()=>"","DataView"),ArrayBuffer:a(()=>"","ArrayBuffer"),Error:Ff,HTMLCollection:Ia,NodeList:Ia},BH=V((e,t,r)=>Uu in e&&typeof e[Uu]=="function"?e[Uu](t):Wn&&Wn in e&&typeof e[Wn]=="function"?e[Wn](t.depth,t):"inspect"in e&&typeof e.inspect=="function"?e.inspect(t.depth,t):"constructor"in e&&Tb.has(e.constructor)?Tb.get(e.constructor)(e,t):Sb[r]?Sb[r](e,t):"","inspectCustom"),UH=Object.prototype.toString;function Na(e,t={}){let r=Pf(t,Na),{customInspect:n}=r,o=e===null?"null":typeof e;if(o==="object"&&(o=UH.call(e).slice(8,-1)),o in Cb)return Cb[o](e,r);if(n&&e){let s=BH(e,r,o);if(s)return typeof s=="string"?s:Na(s,r)}let i=e?Object.getPrototypeOf(e):!1;return i===Object.prototype||i===null?Zn(e,r):e&&typeof HTMLElement=="function"&&e instanceof HTMLElement?wl(e,r):"constructor"in e?e.constructor!==Object?Lf(e,r):Zn(e,r):e===Object(e)?Zn(e,r):r.stylize(String(e),o)}a(Na,"inspect");V(Na,"inspect");var ut={includeStack:!1,showDiff:!0,truncateThreshold:40,useProxy:!0,proxyExcludedKeys:["then","catch","inspect","toJSON"],deepEqual:null};function we(e,t,r,n){var o={colors:n,depth:typeof r>"u"?2:r,showHidden:t,truncate:ut.truncateThreshold?ut.truncateThreshold:1/0};return Na(e,o)}a(we,"inspect2");V(we,"inspect");function jr(e){var t=we(e),r=Object.prototype.toString.call(e);if(ut.truncateThreshold&&t.length>=ut.truncateThreshold){if(r==="[object Function]")return!e.name||e.name===""?"[Function]":"[Function: "+e.name+"]";if(r==="[object Array]")return"[ Array("+e.length+") ]";if(r==="[object Object]"){var n=Object.keys(e),o=n.length>2?n.splice(0,2).join(", ")+", ...":n.join(", ");return"{ Object ("+o+") }"}else return t}else return t}a(jr,"objDisplay");V(jr,"objDisplay");function El(e,t){var r=he(e,"negate"),n=he(e,"object"),o=t[3],i=ii(e,t),s=r?t[2]:t[1],l=he(e,"message");return typeof s=="function"&&(s=s()),s=s||"",s=s.replace(/#\{this\}/g,function(){return jr(n)}).replace(/#\{act\}/g,function(){return jr(i)}).replace(/#\{exp\}/g,function(){return jr(o)}),l?l+": "+s:s}a(El,"getMessage2");V(El,"getMessage");function Nt(e,t,r){var n=e.__flags||(e.__flags=Object.create(null));t.__flags||(t.__flags=Object.create(null)),r=arguments.length===3?r:!0;for(var o in n)(r||o!=="object"&&o!=="ssfi"&&o!=="lockSsfi"&&o!="message")&&(t.__flags[o]=n[o])}a(Nt,"transferFlags");V(Nt,"transferFlags");function ss(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)}a(ss,"type2");V(ss,"type");function xl(){this._key="chai/deep-eql__"+Math.random()+Date.now()}a(xl,"FakeMap");V(xl,"FakeMap");xl.prototype={get:V(a(function(e){return e[this._key]},"get"),"get"),set:V(a(function(e,t){Object.isExtensible(e)&&Object.defineProperty(e,this._key,{value:t,configurable:!0})},"set"),"set")};var iT=typeof WeakMap=="function"?WeakMap:xl;function ls(e,t,r){if(!r||Br(e)||Br(t))return null;var n=r.get(e);if(n){var o=n.get(t);if(typeof o=="boolean")return o}return null}a(ls,"memoizeCompare");V(ls,"memoizeCompare");function Gn(e,t,r,n){if(!(!r||Br(e)||Br(t))){var o=r.get(e);o?o.set(t,n):(o=new iT,o.set(t,n),r.set(e,o))}}a(Gn,"memoizeSet");V(Gn,"memoizeSet");var sT=qo;function qo(e,t,r){if(r&&r.comparator)return us(e,t,r);var n=Tl(e,t);return n!==null?n:us(e,t,r)}a(qo,"deepEqual");V(qo,"deepEqual");function Tl(e,t){return e===t?e!==0||1/e===1/t:e!==e&&t!==t?!0:Br(e)||Br(t)?!1:null}a(Tl,"simpleEqual");V(Tl,"simpleEqual");function us(e,t,r){r=r||{},r.memoize=r.memoize===!1?!1:r.memoize||new iT;var n=r&&r.comparator,o=ls(e,t,r.memoize);if(o!==null)return o;var i=ls(t,e,r.memoize);if(i!==null)return i;if(n){var s=n(e,t);if(s===!1||s===!0)return Gn(e,t,r.memoize,s),s;var l=Tl(e,t);if(l!==null)return l}var c=ss(e);if(c!==ss(t))return Gn(e,t,r.memoize,!1),!1;Gn(e,t,r.memoize,!0);var u=Uf(e,t,c,r);return Gn(e,t,r.memoize,u),u}a(us,"extensiveDeepEqual");V(us,"extensiveDeepEqual");function Uf(e,t,r,n){switch(r){case"String":case"Number":case"Boolean":case"Date":return qo(e.valueOf(),t.valueOf());case"Promise":case"Symbol":case"function":case"WeakMap":case"WeakSet":return e===t;case"Error":return Sl(e,t,["name","message","code"],n);case"Arguments":case"Int8Array":case"Uint8Array":case"Uint8ClampedArray":case"Int16Array":case"Uint16Array":case"Int32Array":case"Uint32Array":case"Float32Array":case"Float64Array":case"Array":return yr(e,t,n);case"RegExp":return Hf(e,t);case"Generator":return Vf(e,t,n);case"DataView":return yr(new Uint8Array(e.buffer),new Uint8Array(t.buffer),n);case"ArrayBuffer":return yr(new Uint8Array(e),new Uint8Array(t),n);case"Set":return cs(e,t,n);case"Map":return cs(e,t,n);case"Temporal.PlainDate":case"Temporal.PlainTime":case"Temporal.PlainDateTime":case"Temporal.Instant":case"Temporal.ZonedDateTime":case"Temporal.PlainYearMonth":case"Temporal.PlainMonthDay":return e.equals(t);case"Temporal.Duration":return e.total("nanoseconds")===t.total("nanoseconds");case"Temporal.TimeZone":case"Temporal.Calendar":return e.toString()===t.toString();default:return zf(e,t,n)}}a(Uf,"extensiveDeepEqualByType");V(Uf,"extensiveDeepEqualByType");function Hf(e,t){return e.toString()===t.toString()}a(Hf,"regexpEqual");V(Hf,"regexpEqual");function cs(e,t,r){try{if(e.size!==t.size)return!1;if(e.size===0)return!0}catch{return!1}var n=[],o=[];return e.forEach(V(a(function(i,s){n.push([i,s])},"gatherEntries"),"gatherEntries")),t.forEach(V(a(function(i,s){o.push([i,s])},"gatherEntries"),"gatherEntries")),yr(n.sort(),o.sort(),r)}a(cs,"entriesEqual");V(cs,"entriesEqual");function yr(e,t,r){var n=e.length;if(n!==t.length)return!1;if(n===0)return!0;for(var o=-1;++o<n;)if(qo(e[o],t[o],r)===!1)return!1;return!0}a(yr,"iterableEqual");V(yr,"iterableEqual");function Vf(e,t,r){return yr(ja(e),ja(t),r)}a(Vf,"generatorEqual");V(Vf,"generatorEqual");function Jf(e){return typeof Symbol<"u"&&typeof e=="object"&&typeof Symbol.iterator<"u"&&typeof e[Symbol.iterator]=="function"}a(Jf,"hasIteratorFunction");V(Jf,"hasIteratorFunction");function ds(e){if(Jf(e))try{return ja(e[Symbol.iterator]())}catch{return[]}return[]}a(ds,"getIteratorEntries");V(ds,"getIteratorEntries");function ja(e){for(var t=e.next(),r=[t.value];t.done===!1;)t=e.next(),r.push(t.value);return r}a(ja,"getGeneratorEntries");V(ja,"getGeneratorEntries");function ps(e){var t=[];for(var r in e)t.push(r);return t}a(ps,"getEnumerableKeys");V(ps,"getEnumerableKeys");function fs(e){for(var t=[],r=Object.getOwnPropertySymbols(e),n=0;n<r.length;n+=1){var o=r[n];Object.getOwnPropertyDescriptor(e,o).enumerable&&t.push(o)}return t}a(fs,"getEnumerableSymbols");V(fs,"getEnumerableSymbols");function Sl(e,t,r,n){var o=r.length;if(o===0)return!0;for(var i=0;i<o;i+=1)if(qo(e[r[i]],t[r[i]],n)===!1)return!1;return!0}a(Sl,"keysEqual");V(Sl,"keysEqual");function zf(e,t,r){var n=ps(e),o=ps(t),i=fs(e),s=fs(t);if(n=n.concat(i),o=o.concat(s),n.length&&n.length===o.length)return yr(hs(n).sort(),hs(o).sort())===!1?!1:Sl(e,t,n,r);var l=ds(e),c=ds(t);return l.length&&l.length===c.length?(l.sort(),c.sort(),yr(l,c,r)):n.length===0&&l.length===0&&o.length===0&&c.length===0}a(zf,"objectEqual");V(zf,"objectEqual");function Br(e){return e===null||typeof e!="object"}a(Br,"isPrimitive");V(Br,"isPrimitive");function hs(e){return e.map(V(a(function(t){return typeof t=="symbol"?t.toString():t},"mapSymbol"),"mapSymbol"))}a(hs,"mapSymbols");V(hs,"mapSymbols");function si(e,t){return typeof e>"u"||e===null?!1:t in Object(e)}a(si,"hasProperty");V(si,"hasProperty");function Wf(e){return e.replace(/([^\\])\[/g,"$1.[").match(/(\\\.|[^.]+?)+/g).map(t=>{if(t==="constructor"||t==="__proto__"||t==="prototype")return{};let r=/^\[(\d+)\]$/.exec(t),n=null;return r?n={i:parseFloat(r[1])}:n={p:t.replace(/\\([.[\]])/g,"$1")},n})}a(Wf,"parsePath");V(Wf,"parsePath");function ms(e,t,r){let n=e,o=null;r=typeof r>"u"?t.length:r;for(let i=0;i<r;i++){let s=t[i];n&&(typeof s.p>"u"?n=n[s.i]:n=n[s.p],i===r-1&&(o=n))}return o}a(ms,"internalGetPathValue");V(ms,"internalGetPathValue");function Cl(e,t){let r=Wf(t),n=r[r.length-1],o={parent:r.length>1?ms(e,r,r.length-1):e,name:n.p||n.i,value:ms(e,r)};return o.exists=si(o.parent,o.name),o}a(Cl,"getPathInfo");V(Cl,"getPathInfo");function j(e,t,r,n){return he(this,"ssfi",r||j),he(this,"lockSsfi",n),he(this,"object",e),he(this,"message",t),he(this,"eql",ut.deepEqual||sT),qn(this)}a(j,"Assertion");V(j,"Assertion");Object.defineProperty(j,"includeStack",{get:a(function(){return console.warn("Assertion.includeStack is deprecated, use chai.config.includeStack instead."),ut.includeStack},"get"),set:a(function(e){console.warn("Assertion.includeStack is deprecated, use chai.config.includeStack instead."),ut.includeStack=e},"set")});Object.defineProperty(j,"showDiff",{get:a(function(){return console.warn("Assertion.showDiff is deprecated, use chai.config.showDiff instead."),ut.showDiff},"get"),set:a(function(e){console.warn("Assertion.showDiff is deprecated, use chai.config.showDiff instead."),ut.showDiff=e},"set")});j.addProperty=function(e,t){Pl(this.prototype,e,t)};j.addMethod=function(e,t){Ol(this.prototype,e,t)};j.addChainableMethod=function(e,t,r){Rl(this.prototype,e,t,r)};j.overwriteProperty=function(e,t){_l(this.prototype,e,t)};j.overwriteMethod=function(e,t){Al(this.prototype,e,t)};j.overwriteChainableMethod=function(e,t,r){ql(this.prototype,e,t,r)};j.prototype.assert=function(e,t,r,n,o,i){var s=vl(this,arguments);if(i!==!1&&(i=!0),n===void 0&&o===void 0&&(i=!1),ut.showDiff!==!0&&(i=!1),!s){t=El(this,arguments);var l=ii(this,arguments),c={actual:l,expected:n,showDiff:i},u=jl(this,arguments);throw u&&(c.operator=u),new xe(t,c,ut.includeStack?this.assert:he(this,"ssfi"))}};Object.defineProperty(j.prototype,"_obj",{get:a(function(){return he(this,"object")},"get"),set:a(function(e){he(this,"object",e)},"set")});function Io(){return ut.useProxy&&typeof Proxy<"u"&&typeof Reflect<"u"}a(Io,"isProxyEnabled");V(Io,"isProxyEnabled");function Pl(e,t,r){r=r===void 0?function(){}:r,Object.defineProperty(e,t,{get:V(a(function n(){!Io()&&!he(this,"lockSsfi")&&he(this,"ssfi",n);var o=r.call(this);if(o!==void 0)return o;var i=new j;return Nt(this,i),i},"propertyGetter"),"propertyGetter"),configurable:!0})}a(Pl,"addProperty");V(Pl,"addProperty");var HH=Object.getOwnPropertyDescriptor(function(){},"length");function No(e,t,r){return HH.configurable&&Object.defineProperty(e,"length",{get:a(function(){throw Error(r?"Invalid Chai property: "+t+'.length. Due to a compatibility issue, "length" cannot directly follow "'+t+'". Use "'+t+'.lengthOf" instead.':"Invalid Chai property: "+t+'.length. See docs for proper usage of "'+t+'".')},"get")}),e}a(No,"addLengthGuard");V(No,"addLengthGuard");function Gf(e){var t=Object.getOwnPropertyNames(e);function r(o){t.indexOf(o)===-1&&t.push(o)}a(r,"addProperty2"),V(r,"addProperty");for(var n=Object.getPrototypeOf(e);n!==null;)Object.getOwnPropertyNames(n).forEach(r),n=Object.getPrototypeOf(n);return t}a(Gf,"getProperties");V(Gf,"getProperties");var Pb=["__flags","__methods","_obj","assert"];function qn(e,t){return Io()?new Proxy(e,{get:V(a(function r(n,o){if(typeof o=="string"&&ut.proxyExcludedKeys.indexOf(o)===-1&&!Reflect.has(n,o)){if(t)throw Error("Invalid Chai property: "+t+"."+o+'. See docs for proper usage of "'+t+'".');var i=null,s=4;throw Gf(n).forEach(function(l){if(!Object.prototype.hasOwnProperty(l)&&Pb.indexOf(l)===-1){var c=Kf(o,l,s);c<s&&(i=l,s=c)}}),Error(i!==null?"Invalid Chai property: "+o+'. Did you mean "'+i+'"?':"Invalid Chai property: "+o)}return Pb.indexOf(o)===-1&&!he(n,"lockSsfi")&&he(n,"ssfi",r),Reflect.get(n,o)},"proxyGetter"),"proxyGetter")}):e}a(qn,"proxify");V(qn,"proxify");function Kf(e,t,r){if(Math.abs(e.length-t.length)>=r)return r;var n=[];for(let i=0;i<=e.length;i++)n[i]=Array(t.length+1).fill(0),n[i][0]=i;for(let i=0;i<t.length;i++)n[0][i]=i;for(let i=1;i<=e.length;i++){var o=e.charCodeAt(i-1);for(let s=1;s<=t.length;s++){if(Math.abs(i-s)>=r){n[i][s]=r;continue}n[i][s]=Math.min(n[i-1][s]+1,n[i][s-1]+1,n[i-1][s-1]+(o===t.charCodeAt(s-1)?0:1))}}return n[e.length][t.length]}a(Kf,"stringDistanceCapped");V(Kf,"stringDistanceCapped");function Ol(e,t,r){var n=V(function(){he(this,"lockSsfi")||he(this,"ssfi",n);var o=r.apply(this,arguments);if(o!==void 0)return o;var i=new j;return Nt(this,i),i},"methodWrapper");No(n,t,!1),e[t]=qn(n,t)}a(Ol,"addMethod");V(Ol,"addMethod");function _l(e,t,r){var n=Object.getOwnPropertyDescriptor(e,t),o=V(function(){},"_super");n&&typeof n.get=="function"&&(o=n.get),Object.defineProperty(e,t,{get:V(a(function i(){!Io()&&!he(this,"lockSsfi")&&he(this,"ssfi",i);var s=he(this,"lockSsfi");he(this,"lockSsfi",!0);var l=r(o).call(this);if(he(this,"lockSsfi",s),l!==void 0)return l;var c=new j;return Nt(this,c),c},"overwritingPropertyGetter"),"overwritingPropertyGetter"),configurable:!0})}a(_l,"overwriteProperty");V(_l,"overwriteProperty");function Al(e,t,r){var n=e[t],o=V(function(){throw new Error(t+" is not a function")},"_super");n&&typeof n=="function"&&(o=n);var i=V(function(){he(this,"lockSsfi")||he(this,"ssfi",i);var s=he(this,"lockSsfi");he(this,"lockSsfi",!0);var l=r(o).apply(this,arguments);if(he(this,"lockSsfi",s),l!==void 0)return l;var c=new j;return Nt(this,c),c},"overwritingMethodWrapper");No(i,t,!1),e[t]=qn(i,t)}a(Al,"overwriteMethod");V(Al,"overwriteMethod");var VH=typeof Object.setPrototypeOf=="function",Ob=V(function(){},"testFn"),JH=Object.getOwnPropertyNames(Ob).filter(function(e){var t=Object.getOwnPropertyDescriptor(Ob,e);return typeof t!="object"?!0:!t.configurable}),zH=Function.prototype.call,WH=Function.prototype.apply;function Rl(e,t,r,n){typeof n!="function"&&(n=V(function(){},"chainingBehavior"));var o={method:r,chainingBehavior:n};e.__methods||(e.__methods={}),e.__methods[t]=o,Object.defineProperty(e,t,{get:V(a(function(){o.chainingBehavior.call(this);var i=V(function(){he(this,"lockSsfi")||he(this,"ssfi",i);var c=o.method.apply(this,arguments);if(c!==void 0)return c;var u=new j;return Nt(this,u),u},"chainableMethodWrapper");if(No(i,t,!0),VH){var s=Object.create(this);s.call=zH,s.apply=WH,Object.setPrototypeOf(i,s)}else{var l=Object.getOwnPropertyNames(e);l.forEach(function(c){if(JH.indexOf(c)===-1){var u=Object.getOwnPropertyDescriptor(e,c);Object.defineProperty(i,c,u)}})}return Nt(this,i),qn(i)},"chainableMethodGetter"),"chainableMethodGetter"),configurable:!0})}a(Rl,"addChainableMethod");V(Rl,"addChainableMethod");function ql(e,t,r,n){var o=e.__methods[t],i=o.chainingBehavior;o.chainingBehavior=V(a(function(){var l=n(i).call(this);if(l!==void 0)return l;var c=new j;return Nt(this,c),c},"overwritingChainableMethodGetter"),"overwritingChainableMethodGetter");var s=o.method;o.method=V(a(function(){var l=r(s).apply(this,arguments);if(l!==void 0)return l;var c=new j;return Nt(this,c),c},"overwritingChainableMethodWrapper"),"overwritingChainableMethodWrapper")}a(ql,"overwriteChainableMethod");V(ql,"overwriteChainableMethod");function ka(e,t){return we(e)<we(t)?-1:1}a(ka,"compareByInspect");V(ka,"compareByInspect");function Il(e){return typeof Object.getOwnPropertySymbols!="function"?[]:Object.getOwnPropertySymbols(e).filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})}a(Il,"getOwnEnumerablePropertySymbols");V(Il,"getOwnEnumerablePropertySymbols");function Nl(e){return Object.keys(e).concat(Il(e))}a(Nl,"getOwnEnumerableProperties");V(Nl,"getOwnEnumerableProperties");var ys=Number.isNaN;function Yf(e){var t=Ce(e),r=["Array","Object","Function"];return r.indexOf(t)!==-1}a(Yf,"isObjectType");V(Yf,"isObjectType");function jl(e,t){var r=he(e,"operator"),n=he(e,"negate"),o=t[3],i=n?t[2]:t[1];if(r)return r;if(typeof i=="function"&&(i=i()),i=i||"",!!i&&!/\shave\s/.test(i)){var s=Yf(o);return/\snot\s/.test(i)?s?"notDeepStrictEqual":"notStrictEqual":s?"deepStrictEqual":"strictEqual"}}a(jl,"getOperator");V(jl,"getOperator");function li(e){return e.name}a(li,"getName");V(li,"getName");function Ma(e){return Object.prototype.toString.call(e)==="[object RegExp]"}a(Ma,"isRegExp2");V(Ma,"isRegExp");function Ge(e){return["Number","BigInt"].includes(Ce(e))}a(Ge,"isNumeric");V(Ge,"isNumeric");var{flag:B}=Wt;["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(){B(this,"negate",!0)});j.addProperty("deep",function(){B(this,"deep",!0)});j.addProperty("nested",function(){B(this,"nested",!0)});j.addProperty("own",function(){B(this,"own",!0)});j.addProperty("ordered",function(){B(this,"ordered",!0)});j.addProperty("any",function(){B(this,"any",!0),B(this,"all",!1)});j.addProperty("all",function(){B(this,"all",!0),B(this,"any",!1)});var _b={function:["function","asyncfunction","generatorfunction","asyncgeneratorfunction"],asyncfunction:["asyncfunction","asyncgeneratorfunction"],generatorfunction:["generatorfunction","asyncgeneratorfunction"],asyncgeneratorfunction:["asyncgeneratorfunction"]};function kl(e,t){t&&B(this,"message",t),e=e.toLowerCase();var r=B(this,"object"),n=~["a","e","i","o","u"].indexOf(e.charAt(0))?"an ":"a ";let o=Ce(r).toLowerCase();_b.function.includes(e)?this.assert(_b[e].includes(o),"expected #{this} to be "+n+e,"expected #{this} not to be "+n+e):this.assert(e===o,"expected #{this} to be "+n+e,"expected #{this} not to be "+n+e)}a(kl,"an");V(kl,"an");j.addChainableMethod("an",kl);j.addChainableMethod("a",kl);function Xf(e,t){return ys(e)&&ys(t)||e===t}a(Xf,"SameValueZero");V(Xf,"SameValueZero");function jo(){B(this,"contains",!0)}a(jo,"includeChainingBehavior");V(jo,"includeChainingBehavior");function ko(e,t){t&&B(this,"message",t);var r=B(this,"object"),n=Ce(r).toLowerCase(),o=B(this,"message"),i=B(this,"negate"),s=B(this,"ssfi"),l=B(this,"deep"),c=l?"deep ":"",u=l?B(this,"eql"):Xf;o=o?o+": ":"";var d=!1;switch(n){case"string":d=r.indexOf(e)!==-1;break;case"weakset":if(l)throw new xe(o+"unable to use .deep.include with WeakSet",void 0,s);d=r.has(e);break;case"map":r.forEach(function(m){d=d||u(m,e)});break;case"set":l?r.forEach(function(m){d=d||u(m,e)}):d=r.has(e);break;case"array":l?d=r.some(function(m){return u(m,e)}):d=r.indexOf(e)!==-1;break;default:if(e!==Object(e))throw new xe(o+"the given combination of arguments ("+n+" and "+Ce(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 "+Ce(e).toLowerCase(),void 0,s);var p=Object.keys(e),h=null,f=0;if(p.forEach(function(m){var b=new j(r);if(Nt(this,b,!0),B(b,"lockSsfi",!0),!i||p.length===1){b.property(m,e[m]);return}try{b.property(m,e[m])}catch(g){if(!gt.compatibleConstructor(g,xe))throw g;h===null&&(h=g),f++}},this),i&&p.length>1&&f===p.length)throw h;return}this.assert(d,"expected #{this} to "+c+"include "+we(e),"expected #{this} to not "+c+"include "+we(e))}a(ko,"include");V(ko,"include");j.addChainableMethod("include",ko,jo);j.addChainableMethod("contain",ko,jo);j.addChainableMethod("contains",ko,jo);j.addChainableMethod("includes",ko,jo);j.addProperty("ok",function(){this.assert(B(this,"object"),"expected #{this} to be truthy","expected #{this} to be falsy")});j.addProperty("true",function(){this.assert(B(this,"object")===!0,"expected #{this} to be true","expected #{this} to be false",!B(this,"negate"))});j.addProperty("numeric",function(){let e=B(this,"object");this.assert(["Number","BigInt"].includes(Ce(e)),"expected #{this} to be numeric","expected #{this} to not be numeric",!B(this,"negate"))});j.addProperty("callable",function(){let e=B(this,"object"),t=B(this,"ssfi"),r=B(this,"message"),n=r?`${r}: `:"",o=B(this,"negate"),i=o?`${n}expected ${we(e)} not to be a callable function`:`${n}expected ${we(e)} to be a callable function`,s=["Function","AsyncFunction","GeneratorFunction","AsyncGeneratorFunction"].includes(Ce(e));if(s&&o||!s&&!o)throw new xe(i,void 0,t)});j.addProperty("false",function(){this.assert(B(this,"object")===!1,"expected #{this} to be false","expected #{this} to be true",!!B(this,"negate"))});j.addProperty("null",function(){this.assert(B(this,"object")===null,"expected #{this} to be null","expected #{this} not to be null")});j.addProperty("undefined",function(){this.assert(B(this,"object")===void 0,"expected #{this} to be undefined","expected #{this} not to be undefined")});j.addProperty("NaN",function(){this.assert(ys(B(this,"object")),"expected #{this} to be NaN","expected #{this} not to be NaN")});function Ml(){var e=B(this,"object");this.assert(e!=null,"expected #{this} to exist","expected #{this} to not exist")}a(Ml,"assertExist");V(Ml,"assertExist");j.addProperty("exist",Ml);j.addProperty("exists",Ml);j.addProperty("empty",function(){var e=B(this,"object"),t=B(this,"ssfi"),r=B(this,"message"),n;switch(r=r?r+": ":"",Ce(e).toLowerCase()){case"array":case"string":n=e.length;break;case"map":case"set":n=e.size;break;case"weakmap":case"weakset":throw new xe(r+".empty was passed a weak collection",void 0,t);case"function":var o=r+".empty was passed a function "+li(e);throw new xe(o.trim(),void 0,t);default:if(e!==Object(e))throw new xe(r+".empty was passed non-string primitive "+we(e),void 0,t);n=Object.keys(e).length}this.assert(n===0,"expected #{this} to be empty","expected #{this} not to be empty")});function $l(){var e=B(this,"object"),t=Ce(e);this.assert(t==="Arguments","expected #{this} to be arguments but got "+t,"expected #{this} to not be arguments")}a($l,"checkArguments");V($l,"checkArguments");j.addProperty("arguments",$l);j.addProperty("Arguments",$l);function ui(e,t){t&&B(this,"message",t);var r=B(this,"object");if(B(this,"deep")){var n=B(this,"lockSsfi");B(this,"lockSsfi",!0),this.eql(e),B(this,"lockSsfi",n)}else this.assert(e===r,"expected #{this} to equal #{exp}","expected #{this} to not equal #{exp}",e,this._obj,!0)}a(ui,"assertEqual");V(ui,"assertEqual");j.addMethod("equal",ui);j.addMethod("equals",ui);j.addMethod("eq",ui);function Ll(e,t){t&&B(this,"message",t);var r=B(this,"eql");this.assert(r(e,B(this,"object")),"expected #{this} to deeply equal #{exp}","expected #{this} to not deeply equal #{exp}",e,this._obj,!0)}a(Ll,"assertEql");V(Ll,"assertEql");j.addMethod("eql",Ll);j.addMethod("eqls",Ll);function ci(e,t){t&&B(this,"message",t);var r=B(this,"object"),n=B(this,"doLength"),o=B(this,"message"),i=o?o+": ":"",s=B(this,"ssfi"),l=Ce(r).toLowerCase(),c=Ce(e).toLowerCase();if(n&&l!=="map"&&l!=="set"&&new j(r,o,s,!0).to.have.property("length"),!n&&l==="date"&&c!=="date")throw new xe(i+"the argument to above must be a date",void 0,s);if(!Ge(e)&&(n||Ge(r)))throw new xe(i+"the argument to above must be a number",void 0,s);if(!n&&l!=="date"&&!Ge(r)){var u=l==="string"?"'"+r+"'":r;throw new xe(i+"expected "+u+" to be a number or a date",void 0,s)}if(n){var d="length",p;l==="map"||l==="set"?(d="size",p=r.size):p=r.length,this.assert(p>e,"expected #{this} to have a "+d+" above #{exp} but got #{act}","expected #{this} to not have a "+d+" above #{exp}",e,p)}else this.assert(r>e,"expected #{this} to be above #{exp}","expected #{this} to be at most #{exp}",e)}a(ci,"assertAbove");V(ci,"assertAbove");j.addMethod("above",ci);j.addMethod("gt",ci);j.addMethod("greaterThan",ci);function di(e,t){t&&B(this,"message",t);var r=B(this,"object"),n=B(this,"doLength"),o=B(this,"message"),i=o?o+": ":"",s=B(this,"ssfi"),l=Ce(r).toLowerCase(),c=Ce(e).toLowerCase(),u,d=!0;if(n&&l!=="map"&&l!=="set"&&new j(r,o,s,!0).to.have.property("length"),!n&&l==="date"&&c!=="date")u=i+"the argument to least must be a date";else if(!Ge(e)&&(n||Ge(r)))u=i+"the argument to least must be a number";else if(!n&&l!=="date"&&!Ge(r)){var p=l==="string"?"'"+r+"'":r;u=i+"expected "+p+" to be a number or a date"}else d=!1;if(d)throw new xe(u,void 0,s);if(n){var h="length",f;l==="map"||l==="set"?(h="size",f=r.size):f=r.length,this.assert(f>=e,"expected #{this} to have a "+h+" at least #{exp} but got #{act}","expected #{this} to have a "+h+" below #{exp}",e,f)}else this.assert(r>=e,"expected #{this} to be at least #{exp}","expected #{this} to be below #{exp}",e)}a(di,"assertLeast");V(di,"assertLeast");j.addMethod("least",di);j.addMethod("gte",di);j.addMethod("greaterThanOrEqual",di);function pi(e,t){t&&B(this,"message",t);var r=B(this,"object"),n=B(this,"doLength"),o=B(this,"message"),i=o?o+": ":"",s=B(this,"ssfi"),l=Ce(r).toLowerCase(),c=Ce(e).toLowerCase(),u,d=!0;if(n&&l!=="map"&&l!=="set"&&new j(r,o,s,!0).to.have.property("length"),!n&&l==="date"&&c!=="date")u=i+"the argument to below must be a date";else if(!Ge(e)&&(n||Ge(r)))u=i+"the argument to below must be a number";else if(!n&&l!=="date"&&!Ge(r)){var p=l==="string"?"'"+r+"'":r;u=i+"expected "+p+" to be a number or a date"}else d=!1;if(d)throw new xe(u,void 0,s);if(n){var h="length",f;l==="map"||l==="set"?(h="size",f=r.size):f=r.length,this.assert(f<e,"expected #{this} to have a "+h+" below #{exp} but got #{act}","expected #{this} to not have a "+h+" below #{exp}",e,f)}else this.assert(r<e,"expected #{this} to be below #{exp}","expected #{this} to be at least #{exp}",e)}a(pi,"assertBelow");V(pi,"assertBelow");j.addMethod("below",pi);j.addMethod("lt",pi);j.addMethod("lessThan",pi);function fi(e,t){t&&B(this,"message",t);var r=B(this,"object"),n=B(this,"doLength"),o=B(this,"message"),i=o?o+": ":"",s=B(this,"ssfi"),l=Ce(r).toLowerCase(),c=Ce(e).toLowerCase(),u,d=!0;if(n&&l!=="map"&&l!=="set"&&new j(r,o,s,!0).to.have.property("length"),!n&&l==="date"&&c!=="date")u=i+"the argument to most must be a date";else if(!Ge(e)&&(n||Ge(r)))u=i+"the argument to most must be a number";else if(!n&&l!=="date"&&!Ge(r)){var p=l==="string"?"'"+r+"'":r;u=i+"expected "+p+" to be a number or a date"}else d=!1;if(d)throw new xe(u,void 0,s);if(n){var h="length",f;l==="map"||l==="set"?(h="size",f=r.size):f=r.length,this.assert(f<=e,"expected #{this} to have a "+h+" at most #{exp} but got #{act}","expected #{this} to have a "+h+" above #{exp}",e,f)}else this.assert(r<=e,"expected #{this} to be at most #{exp}","expected #{this} to be above #{exp}",e)}a(fi,"assertMost");V(fi,"assertMost");j.addMethod("most",fi);j.addMethod("lte",fi);j.addMethod("lessThanOrEqual",fi);j.addMethod("within",function(e,t,r){r&&B(this,"message",r);var n=B(this,"object"),o=B(this,"doLength"),i=B(this,"message"),s=i?i+": ":"",l=B(this,"ssfi"),c=Ce(n).toLowerCase(),u=Ce(e).toLowerCase(),d=Ce(t).toLowerCase(),p,h=!0,f=u==="date"&&d==="date"?e.toISOString()+".."+t.toISOString():e+".."+t;if(o&&c!=="map"&&c!=="set"&&new j(n,i,l,!0).to.have.property("length"),!o&&c==="date"&&(u!=="date"||d!=="date"))p=s+"the arguments to within must be dates";else if((!Ge(e)||!Ge(t))&&(o||Ge(n)))p=s+"the arguments to within must be numbers";else if(!o&&c!=="date"&&!Ge(n)){var m=c==="string"?"'"+n+"'":n;p=s+"expected "+m+" to be a number or a date"}else h=!1;if(h)throw new xe(p,void 0,l);if(o){var b="length",g;c==="map"||c==="set"?(b="size",g=n.size):g=n.length,this.assert(g>=e&&g<=t,"expected #{this} to have a "+b+" within "+f,"expected #{this} to not have a "+b+" within "+f)}else this.assert(n>=e&&n<=t,"expected #{this} to be within "+f,"expected #{this} to not be within "+f)});function Dl(e,t){t&&B(this,"message",t);var r=B(this,"object"),n=B(this,"ssfi"),o=B(this,"message");try{var i=r instanceof e}catch(l){throw l instanceof TypeError?(o=o?o+": ":"",new xe(o+"The instanceof assertion needs a constructor but "+Ce(e)+" was given.",void 0,n)):l}var s=li(e);s==null&&(s="an unnamed constructor"),this.assert(i,"expected #{this} to be an instance of "+s,"expected #{this} to not be an instance of "+s)}a(Dl,"assertInstanceOf");V(Dl,"assertInstanceOf");j.addMethod("instanceof",Dl);j.addMethod("instanceOf",Dl);function Fl(e,t,r){r&&B(this,"message",r);var n=B(this,"nested"),o=B(this,"own"),i=B(this,"message"),s=B(this,"object"),l=B(this,"ssfi"),c=typeof e;if(i=i?i+": ":"",n){if(c!=="string")throw new xe(i+"the argument to property must be a string when using nested syntax",void 0,l)}else if(c!=="string"&&c!=="number"&&c!=="symbol")throw new xe(i+"the argument to property must be a string, number, or symbol",void 0,l);if(n&&o)throw new xe(i+'The "nested" and "own" flags cannot be combined.',void 0,l);if(s==null)throw new xe(i+"Target cannot be null or undefined.",void 0,l);var u=B(this,"deep"),d=B(this,"negate"),p=n?Cl(s,e):null,h=n?p.value:s[e],f=u?B(this,"eql"):(g,v)=>g===v,m="";u&&(m+="deep "),o&&(m+="own "),n&&(m+="nested "),m+="property ";var b;o?b=Object.prototype.hasOwnProperty.call(s,e):n?b=p.exists:b=si(s,e),(!d||arguments.length===1)&&this.assert(b,"expected #{this} to have "+m+we(e),"expected #{this} to not have "+m+we(e)),arguments.length>1&&this.assert(b&&f(t,h),"expected #{this} to have "+m+we(e)+" of #{exp}, but got #{act}","expected #{this} to not have "+m+we(e)+" of #{act}",t,h),B(this,"object",h)}a(Fl,"assertProperty");V(Fl,"assertProperty");j.addMethod("property",Fl);function Bl(e,t,r){B(this,"own",!0),Fl.apply(this,arguments)}a(Bl,"assertOwnProperty");V(Bl,"assertOwnProperty");j.addMethod("ownProperty",Bl);j.addMethod("haveOwnProperty",Bl);function Ul(e,t,r){typeof t=="string"&&(r=t,t=null),r&&B(this,"message",r);var n=B(this,"object"),o=Object.getOwnPropertyDescriptor(Object(n),e),i=B(this,"eql");o&&t?this.assert(i(t,o),"expected the own property descriptor for "+we(e)+" on #{this} to match "+we(t)+", got "+we(o),"expected the own property descriptor for "+we(e)+" on #{this} to not match "+we(t),t,o,!0):this.assert(o,"expected #{this} to have an own property descriptor for "+we(e),"expected #{this} to not have an own property descriptor for "+we(e)),B(this,"object",o)}a(Ul,"assertOwnPropertyDescriptor");V(Ul,"assertOwnPropertyDescriptor");j.addMethod("ownPropertyDescriptor",Ul);j.addMethod("haveOwnPropertyDescriptor",Ul);function Hl(){B(this,"doLength",!0)}a(Hl,"assertLengthChain");V(Hl,"assertLengthChain");function Vl(e,t){t&&B(this,"message",t);var r=B(this,"object"),n=Ce(r).toLowerCase(),o=B(this,"message"),i=B(this,"ssfi"),s="length",l;switch(n){case"map":case"set":s="size",l=r.size;break;default:new j(r,o,i,!0).to.have.property("length"),l=r.length}this.assert(l==e,"expected #{this} to have a "+s+" of #{exp} but got #{act}","expected #{this} to not have a "+s+" of #{act}",e,l)}a(Vl,"assertLength");V(Vl,"assertLength");j.addChainableMethod("length",Vl,Hl);j.addChainableMethod("lengthOf",Vl,Hl);function Jl(e,t){t&&B(this,"message",t);var r=B(this,"object");this.assert(e.exec(r),"expected #{this} to match "+e,"expected #{this} not to match "+e)}a(Jl,"assertMatch");V(Jl,"assertMatch");j.addMethod("match",Jl);j.addMethod("matches",Jl);j.addMethod("string",function(e,t){t&&B(this,"message",t);var r=B(this,"object"),n=B(this,"message"),o=B(this,"ssfi");new j(r,n,o,!0).is.a("string"),this.assert(~r.indexOf(e),"expected #{this} to contain "+we(e),"expected #{this} to not contain "+we(e))});function zl(e){var t=B(this,"object"),r=Ce(t),n=Ce(e),o=B(this,"ssfi"),i=B(this,"deep"),s,l="",c,u=!0,d=B(this,"message");d=d?d+": ":"";var p=d+"when testing keys against an object or an array you must give a single Array|Object|String argument or multiple String arguments";if(r==="Map"||r==="Set")l=i?"deeply ":"",c=[],t.forEach(function(w,P){c.push(P)}),n!=="Array"&&(e=Array.prototype.slice.call(arguments));else{switch(c=Nl(t),n){case"Array":if(arguments.length>1)throw new xe(p,void 0,o);break;case"Object":if(arguments.length>1)throw new xe(p,void 0,o);e=Object.keys(e);break;default:e=Array.prototype.slice.call(arguments)}e=e.map(function(w){return typeof w=="symbol"?w:String(w)})}if(!e.length)throw new xe(d+"keys required",void 0,o);var h=e.length,f=B(this,"any"),m=B(this,"all"),b=e,g=i?B(this,"eql"):(w,P)=>w===P;if(!f&&!m&&(m=!0),f&&(u=b.some(function(w){return c.some(function(P){return g(w,P)})})),m&&(u=b.every(function(w){return c.some(function(P){return g(w,P)})}),B(this,"contains")||(u=u&&e.length==c.length)),h>1){e=e.map(function(w){return we(w)});var v=e.pop();m&&(s=e.join(", ")+", and "+v),f&&(s=e.join(", ")+", or "+v)}else s=we(e[0]);s=(h>1?"keys ":"key ")+s,s=(B(this,"contains")?"contain ":"have ")+s,this.assert(u,"expected #{this} to "+l+s,"expected #{this} to not "+l+s,b.slice(0).sort(ka),c.sort(ka),!0)}a(zl,"assertKeys");V(zl,"assertKeys");j.addMethod("keys",zl);j.addMethod("key",zl);function hi(e,t,r){r&&B(this,"message",r);var n=B(this,"object"),o=B(this,"ssfi"),i=B(this,"message"),s=B(this,"negate")||!1;new j(n,i,o,!0).is.a("function"),(Ma(e)||typeof e=="string")&&(t=e,e=null);let l,c=!1;try{n()}catch(w){c=!0,l=w}var u=e===void 0&&t===void 0,d=!!(e&&t),p=!1,h=!1;if(u||!u&&!s){var f="an error";e instanceof Error?f="#{exp}":e&&(f=gt.getConstructorName(e));let w=l;if(l instanceof Error)w=l.toString();else if(typeof l=="string")w=l;else if(l&&(typeof l=="object"||typeof l=="function"))try{w=gt.getConstructorName(l)}catch{}this.assert(c,"expected #{this} to throw "+f,"expected #{this} to not throw an error but #{act} was thrown",e&&e.toString(),w)}if(e&&l){if(e instanceof Error){var m=gt.compatibleInstance(l,e);m===s&&(d&&s?p=!0:this.assert(s,"expected #{this} to throw #{exp} but #{act} was thrown","expected #{this} to not throw #{exp}"+(l&&!s?" but #{act} was thrown":""),e.toString(),l.toString()))}var b=gt.compatibleConstructor(l,e);b===s&&(d&&s?p=!0:this.assert(s,"expected #{this} to throw #{exp} but #{act} was thrown","expected #{this} to not throw #{exp}"+(l?" but #{act} was thrown":""),e instanceof Error?e.toString():e&&gt.getConstructorName(e),l instanceof Error?l.toString():l&&gt.getConstructorName(l)))}if(l&&t!==void 0&&t!==null){var g="including";Ma(t)&&(g="matching");var v=gt.compatibleMessage(l,t);v===s&&(d&&s?h=!0:this.assert(s,"expected #{this} to throw error "+g+" #{exp} but got #{act}","expected #{this} to throw error not "+g+" #{exp}",t,gt.getMessage(l)))}p&&h&&this.assert(s,"expected #{this} to throw #{exp} but #{act} was thrown","expected #{this} to not throw #{exp}"+(l?" but #{act} was thrown":""),e instanceof Error?e.toString():e&&gt.getConstructorName(e),l instanceof Error?l.toString():l&&gt.getConstructorName(l)),B(this,"object",l)}a(hi,"assertThrows");V(hi,"assertThrows");j.addMethod("throw",hi);j.addMethod("throws",hi);j.addMethod("Throw",hi);function Wl(e,t){t&&B(this,"message",t);var r=B(this,"object"),n=B(this,"itself"),o=typeof r=="function"&&!n?r.prototype[e]:r[e];this.assert(typeof o=="function","expected #{this} to respond to "+we(e),"expected #{this} to not respond to "+we(e))}a(Wl,"respondTo");V(Wl,"respondTo");j.addMethod("respondTo",Wl);j.addMethod("respondsTo",Wl);j.addProperty("itself",function(){B(this,"itself",!0)});function Gl(e,t){t&&B(this,"message",t);var r=B(this,"object"),n=e(r);this.assert(n,"expected #{this} to satisfy "+jr(e),"expected #{this} to not satisfy"+jr(e),!B(this,"negate"),n)}a(Gl,"satisfy");V(Gl,"satisfy");j.addMethod("satisfy",Gl);j.addMethod("satisfies",Gl);function Kl(e,t,r){r&&B(this,"message",r);var n=B(this,"object"),o=B(this,"message"),i=B(this,"ssfi");new j(n,o,i,!0).is.numeric;let s="A `delta` value is required for `closeTo`";if(t==null)throw new xe(o?`${o}: ${s}`:s,void 0,i);if(new j(t,o,i,!0).is.numeric,s="A `expected` value is required for `closeTo`",e==null)throw new xe(o?`${o}: ${s}`:s,void 0,i);new j(e,o,i,!0).is.numeric;let l=V(u=>u<0n?-u:u,"abs"),c=V(u=>parseFloat(parseFloat(u).toPrecision(12)),"strip");this.assert(c(l(n-e))<=t,"expected #{this} to be close to "+e+" +/- "+t,"expected #{this} not to be close to "+e+" +/- "+t)}a(Kl,"closeTo");V(Kl,"closeTo");j.addMethod("closeTo",Kl);j.addMethod("approximately",Kl);function Qf(e,t,r,n,o){let i=Array.from(t),s=Array.from(e);if(!n){if(s.length!==i.length)return!1;i=i.slice()}return s.every(function(l,c){if(o)return r?r(l,i[c]):l===i[c];if(!r){var u=i.indexOf(l);return u===-1?!1:(n||i.splice(u,1),!0)}return i.some(function(d,p){return r(l,d)?(n||i.splice(p,1),!0):!1})})}a(Qf,"isSubsetOf");V(Qf,"isSubsetOf");j.addMethod("members",function(e,t){t&&B(this,"message",t);var r=B(this,"object"),n=B(this,"message"),o=B(this,"ssfi");new j(r,n,o,!0).to.be.iterable,new j(e,n,o,!0).to.be.iterable;var i=B(this,"contains"),s=B(this,"ordered"),l,c,u;i?(l=s?"an ordered superset":"a superset",c="expected #{this} to be "+l+" of #{exp}",u="expected #{this} to not be "+l+" of #{exp}"):(l=s?"ordered members":"members",c="expected #{this} to have the same "+l+" as #{exp}",u="expected #{this} to not have the same "+l+" as #{exp}");var d=B(this,"deep")?B(this,"eql"):void 0;this.assert(Qf(e,r,d,i,s),c,u,e,r,!0)});j.addProperty("iterable",function(e){e&&B(this,"message",e);var t=B(this,"object");this.assert(t!=null&&t[Symbol.iterator],"expected #{this} to be an iterable","expected #{this} to not be an iterable",t)});function Zf(e,t){t&&B(this,"message",t);var r=B(this,"object"),n=B(this,"message"),o=B(this,"ssfi"),i=B(this,"contains"),s=B(this,"deep"),l=B(this,"eql");new j(e,n,o,!0).to.be.an("array"),i?this.assert(e.some(function(c){return r.indexOf(c)>-1}),"expected #{this} to contain one of #{exp}","expected #{this} to not contain one of #{exp}",e,r):s?this.assert(e.some(function(c){return l(r,c)}),"expected #{this} to deeply equal one of #{exp}","expected #{this} to deeply equal one of #{exp}",e,r):this.assert(e.indexOf(r)>-1,"expected #{this} to be one of #{exp}","expected #{this} to not be one of #{exp}",e,r)}a(Zf,"oneOf");V(Zf,"oneOf");j.addMethod("oneOf",Zf);function Yl(e,t,r){r&&B(this,"message",r);var n=B(this,"object"),o=B(this,"message"),i=B(this,"ssfi");new j(n,o,i,!0).is.a("function");var s;t?(new j(e,o,i,!0).to.have.property(t),s=e[t]):(new j(e,o,i,!0).is.a("function"),s=e()),n();var l=t==null?e():e[t],c=t==null?s:"."+t;B(this,"deltaMsgObj",c),B(this,"initialDeltaValue",s),B(this,"finalDeltaValue",l),B(this,"deltaBehavior","change"),B(this,"realDelta",l!==s),this.assert(s!==l,"expected "+c+" to change","expected "+c+" to not change")}a(Yl,"assertChanges");V(Yl,"assertChanges");j.addMethod("change",Yl);j.addMethod("changes",Yl);function Xl(e,t,r){r&&B(this,"message",r);var n=B(this,"object"),o=B(this,"message"),i=B(this,"ssfi");new j(n,o,i,!0).is.a("function");var s;t?(new j(e,o,i,!0).to.have.property(t),s=e[t]):(new j(e,o,i,!0).is.a("function"),s=e()),new j(s,o,i,!0).is.a("number"),n();var l=t==null?e():e[t],c=t==null?s:"."+t;B(this,"deltaMsgObj",c),B(this,"initialDeltaValue",s),B(this,"finalDeltaValue",l),B(this,"deltaBehavior","increase"),B(this,"realDelta",l-s),this.assert(l-s>0,"expected "+c+" to increase","expected "+c+" to not increase")}a(Xl,"assertIncreases");V(Xl,"assertIncreases");j.addMethod("increase",Xl);j.addMethod("increases",Xl);function Ql(e,t,r){r&&B(this,"message",r);var n=B(this,"object"),o=B(this,"message"),i=B(this,"ssfi");new j(n,o,i,!0).is.a("function");var s;t?(new j(e,o,i,!0).to.have.property(t),s=e[t]):(new j(e,o,i,!0).is.a("function"),s=e()),new j(s,o,i,!0).is.a("number"),n();var l=t==null?e():e[t],c=t==null?s:"."+t;B(this,"deltaMsgObj",c),B(this,"initialDeltaValue",s),B(this,"finalDeltaValue",l),B(this,"deltaBehavior","decrease"),B(this,"realDelta",s-l),this.assert(l-s<0,"expected "+c+" to decrease","expected "+c+" to not decrease")}a(Ql,"assertDecreases");V(Ql,"assertDecreases");j.addMethod("decrease",Ql);j.addMethod("decreases",Ql);function eh(e,t){t&&B(this,"message",t);var r=B(this,"deltaMsgObj"),n=B(this,"initialDeltaValue"),o=B(this,"finalDeltaValue"),i=B(this,"deltaBehavior"),s=B(this,"realDelta"),l;i==="change"?l=Math.abs(o-n)===Math.abs(e):l=s===Math.abs(e),this.assert(l,"expected "+r+" to "+i+" by "+e,"expected "+r+" to not "+i+" by "+e)}a(eh,"assertDelta");V(eh,"assertDelta");j.addMethod("by",eh);j.addProperty("extensible",function(){var e=B(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(){var e=B(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(){var e=B(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){var t=B(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 $a(e,t){return e===t?!0:typeof t!=typeof e?!1:typeof e!="object"||e===null?e===t:t?Array.isArray(e)?Array.isArray(t)?e.every(function(r){return t.some(function(n){return $a(r,n)})}):!1:e instanceof Date?t instanceof Date?e.getTime()===t.getTime():!1:Object.keys(e).every(function(r){var n=e[r],o=t[r];return typeof n=="object"&&n!==null&&o!==null?$a(n,o):typeof n=="function"?n(o):o===n}):!1}a($a,"compareSubset");V($a,"compareSubset");j.addMethod("containSubset",function(e){let t=he(this,"object"),r=ut.showDiff;this.assert($a(e,t),"expected #{act} to contain subset #{exp}","expected #{act} to not contain subset #{exp}",e,t,r)});function kr(e,t){return new j(e,t)}a(kr,"expect");V(kr,"expect");kr.fail=function(e,t,r,n){throw arguments.length<2&&(r=e,e=void 0),r=r||"expect.fail()",new xe(r,{actual:e,expected:t,operator:n},kr.fail)};var lT={};bf(lT,{Should:a(()=>KH,"Should"),should:a(()=>GH,"should")});function Zl(){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)}a(e,"shouldGetter"),V(e,"shouldGetter");function t(n){Object.defineProperty(this,"should",{value:n,enumerable:!0,configurable:!0,writable:!0})}a(t,"shouldSetter"),V(t,"shouldSetter"),Object.defineProperty(Object.prototype,"should",{set:t,get:e,configurable:!0});var r={};return r.fail=function(n,o,i,s){throw arguments.length<2&&(i=n,n=void 0),i=i||"should.fail()",new xe(i,{actual:n,expected:o,operator:s},r.fail)},r.equal=function(n,o,i){new j(n,i).to.equal(o)},r.Throw=function(n,o,i,s){new j(n,s).to.Throw(o,i)},r.exist=function(n,o){new j(n,o).to.exist},r.not={},r.not.equal=function(n,o,i){new j(n,i).to.not.equal(o)},r.not.Throw=function(n,o,i,s){new j(n,s).to.not.Throw(o,i)},r.not.exist=function(n,o){new j(n,o).to.not.exist},r.throw=r.Throw,r.not.throw=r.not.Throw,r}a(Zl,"loadShould");V(Zl,"loadShould");var GH=Zl,KH=Zl;function N(e,t){var r=new j(null,null,N,!0);r.assert(e,t,"[ negation message unavailable ]")}a(N,"assert");V(N,"assert");N.fail=function(e,t,r,n){throw arguments.length<2&&(r=e,e=void 0),r=r||"assert.fail()",new xe(r,{actual:e,expected:t,operator:n},N.fail)};N.isOk=function(e,t){new j(e,t,N.isOk,!0).is.ok};N.isNotOk=function(e,t){new j(e,t,N.isNotOk,!0).is.not.ok};N.equal=function(e,t,r){var n=new j(e,r,N.equal,!0);n.assert(t==he(n,"object"),"expected #{this} to equal #{exp}","expected #{this} to not equal #{act}",t,e,!0)};N.notEqual=function(e,t,r){var n=new j(e,r,N.notEqual,!0);n.assert(t!=he(n,"object"),"expected #{this} to not equal #{exp}","expected #{this} to equal #{act}",t,e,!0)};N.strictEqual=function(e,t,r){new j(e,r,N.strictEqual,!0).to.equal(t)};N.notStrictEqual=function(e,t,r){new j(e,r,N.notStrictEqual,!0).to.not.equal(t)};N.deepEqual=N.deepStrictEqual=function(e,t,r){new j(e,r,N.deepEqual,!0).to.eql(t)};N.notDeepEqual=function(e,t,r){new j(e,r,N.notDeepEqual,!0).to.not.eql(t)};N.isAbove=function(e,t,r){new j(e,r,N.isAbove,!0).to.be.above(t)};N.isAtLeast=function(e,t,r){new j(e,r,N.isAtLeast,!0).to.be.least(t)};N.isBelow=function(e,t,r){new j(e,r,N.isBelow,!0).to.be.below(t)};N.isAtMost=function(e,t,r){new j(e,r,N.isAtMost,!0).to.be.most(t)};N.isTrue=function(e,t){new j(e,t,N.isTrue,!0).is.true};N.isNotTrue=function(e,t){new j(e,t,N.isNotTrue,!0).to.not.equal(!0)};N.isFalse=function(e,t){new j(e,t,N.isFalse,!0).is.false};N.isNotFalse=function(e,t){new j(e,t,N.isNotFalse,!0).to.not.equal(!1)};N.isNull=function(e,t){new j(e,t,N.isNull,!0).to.equal(null)};N.isNotNull=function(e,t){new j(e,t,N.isNotNull,!0).to.not.equal(null)};N.isNaN=function(e,t){new j(e,t,N.isNaN,!0).to.be.NaN};N.isNotNaN=function(e,t){new j(e,t,N.isNotNaN,!0).not.to.be.NaN};N.exists=function(e,t){new j(e,t,N.exists,!0).to.exist};N.notExists=function(e,t){new j(e,t,N.notExists,!0).to.not.exist};N.isUndefined=function(e,t){new j(e,t,N.isUndefined,!0).to.equal(void 0)};N.isDefined=function(e,t){new j(e,t,N.isDefined,!0).to.not.equal(void 0)};N.isCallable=function(e,t){new j(e,t,N.isCallable,!0).is.callable};N.isNotCallable=function(e,t){new j(e,t,N.isNotCallable,!0).is.not.callable};N.isObject=function(e,t){new j(e,t,N.isObject,!0).to.be.a("object")};N.isNotObject=function(e,t){new j(e,t,N.isNotObject,!0).to.not.be.a("object")};N.isArray=function(e,t){new j(e,t,N.isArray,!0).to.be.an("array")};N.isNotArray=function(e,t){new j(e,t,N.isNotArray,!0).to.not.be.an("array")};N.isString=function(e,t){new j(e,t,N.isString,!0).to.be.a("string")};N.isNotString=function(e,t){new j(e,t,N.isNotString,!0).to.not.be.a("string")};N.isNumber=function(e,t){new j(e,t,N.isNumber,!0).to.be.a("number")};N.isNotNumber=function(e,t){new j(e,t,N.isNotNumber,!0).to.not.be.a("number")};N.isNumeric=function(e,t){new j(e,t,N.isNumeric,!0).is.numeric};N.isNotNumeric=function(e,t){new j(e,t,N.isNotNumeric,!0).is.not.numeric};N.isFinite=function(e,t){new j(e,t,N.isFinite,!0).to.be.finite};N.isBoolean=function(e,t){new j(e,t,N.isBoolean,!0).to.be.a("boolean")};N.isNotBoolean=function(e,t){new j(e,t,N.isNotBoolean,!0).to.not.be.a("boolean")};N.typeOf=function(e,t,r){new j(e,r,N.typeOf,!0).to.be.a(t)};N.notTypeOf=function(e,t,r){new j(e,r,N.notTypeOf,!0).to.not.be.a(t)};N.instanceOf=function(e,t,r){new j(e,r,N.instanceOf,!0).to.be.instanceOf(t)};N.notInstanceOf=function(e,t,r){new j(e,r,N.notInstanceOf,!0).to.not.be.instanceOf(t)};N.include=function(e,t,r){new j(e,r,N.include,!0).include(t)};N.notInclude=function(e,t,r){new j(e,r,N.notInclude,!0).not.include(t)};N.deepInclude=function(e,t,r){new j(e,r,N.deepInclude,!0).deep.include(t)};N.notDeepInclude=function(e,t,r){new j(e,r,N.notDeepInclude,!0).not.deep.include(t)};N.nestedInclude=function(e,t,r){new j(e,r,N.nestedInclude,!0).nested.include(t)};N.notNestedInclude=function(e,t,r){new j(e,r,N.notNestedInclude,!0).not.nested.include(t)};N.deepNestedInclude=function(e,t,r){new j(e,r,N.deepNestedInclude,!0).deep.nested.include(t)};N.notDeepNestedInclude=function(e,t,r){new j(e,r,N.notDeepNestedInclude,!0).not.deep.nested.include(t)};N.ownInclude=function(e,t,r){new j(e,r,N.ownInclude,!0).own.include(t)};N.notOwnInclude=function(e,t,r){new j(e,r,N.notOwnInclude,!0).not.own.include(t)};N.deepOwnInclude=function(e,t,r){new j(e,r,N.deepOwnInclude,!0).deep.own.include(t)};N.notDeepOwnInclude=function(e,t,r){new j(e,r,N.notDeepOwnInclude,!0).not.deep.own.include(t)};N.match=function(e,t,r){new j(e,r,N.match,!0).to.match(t)};N.notMatch=function(e,t,r){new j(e,r,N.notMatch,!0).to.not.match(t)};N.property=function(e,t,r){new j(e,r,N.property,!0).to.have.property(t)};N.notProperty=function(e,t,r){new j(e,r,N.notProperty,!0).to.not.have.property(t)};N.propertyVal=function(e,t,r,n){new j(e,n,N.propertyVal,!0).to.have.property(t,r)};N.notPropertyVal=function(e,t,r,n){new j(e,n,N.notPropertyVal,!0).to.not.have.property(t,r)};N.deepPropertyVal=function(e,t,r,n){new j(e,n,N.deepPropertyVal,!0).to.have.deep.property(t,r)};N.notDeepPropertyVal=function(e,t,r,n){new j(e,n,N.notDeepPropertyVal,!0).to.not.have.deep.property(t,r)};N.ownProperty=function(e,t,r){new j(e,r,N.ownProperty,!0).to.have.own.property(t)};N.notOwnProperty=function(e,t,r){new j(e,r,N.notOwnProperty,!0).to.not.have.own.property(t)};N.ownPropertyVal=function(e,t,r,n){new j(e,n,N.ownPropertyVal,!0).to.have.own.property(t,r)};N.notOwnPropertyVal=function(e,t,r,n){new j(e,n,N.notOwnPropertyVal,!0).to.not.have.own.property(t,r)};N.deepOwnPropertyVal=function(e,t,r,n){new j(e,n,N.deepOwnPropertyVal,!0).to.have.deep.own.property(t,r)};N.notDeepOwnPropertyVal=function(e,t,r,n){new j(e,n,N.notDeepOwnPropertyVal,!0).to.not.have.deep.own.property(t,r)};N.nestedProperty=function(e,t,r){new j(e,r,N.nestedProperty,!0).to.have.nested.property(t)};N.notNestedProperty=function(e,t,r){new j(e,r,N.notNestedProperty,!0).to.not.have.nested.property(t)};N.nestedPropertyVal=function(e,t,r,n){new j(e,n,N.nestedPropertyVal,!0).to.have.nested.property(t,r)};N.notNestedPropertyVal=function(e,t,r,n){new j(e,n,N.notNestedPropertyVal,!0).to.not.have.nested.property(t,r)};N.deepNestedPropertyVal=function(e,t,r,n){new j(e,n,N.deepNestedPropertyVal,!0).to.have.deep.nested.property(t,r)};N.notDeepNestedPropertyVal=function(e,t,r,n){new j(e,n,N.notDeepNestedPropertyVal,!0).to.not.have.deep.nested.property(t,r)};N.lengthOf=function(e,t,r){new j(e,r,N.lengthOf,!0).to.have.lengthOf(t)};N.hasAnyKeys=function(e,t,r){new j(e,r,N.hasAnyKeys,!0).to.have.any.keys(t)};N.hasAllKeys=function(e,t,r){new j(e,r,N.hasAllKeys,!0).to.have.all.keys(t)};N.containsAllKeys=function(e,t,r){new j(e,r,N.containsAllKeys,!0).to.contain.all.keys(t)};N.doesNotHaveAnyKeys=function(e,t,r){new j(e,r,N.doesNotHaveAnyKeys,!0).to.not.have.any.keys(t)};N.doesNotHaveAllKeys=function(e,t,r){new j(e,r,N.doesNotHaveAllKeys,!0).to.not.have.all.keys(t)};N.hasAnyDeepKeys=function(e,t,r){new j(e,r,N.hasAnyDeepKeys,!0).to.have.any.deep.keys(t)};N.hasAllDeepKeys=function(e,t,r){new j(e,r,N.hasAllDeepKeys,!0).to.have.all.deep.keys(t)};N.containsAllDeepKeys=function(e,t,r){new j(e,r,N.containsAllDeepKeys,!0).to.contain.all.deep.keys(t)};N.doesNotHaveAnyDeepKeys=function(e,t,r){new j(e,r,N.doesNotHaveAnyDeepKeys,!0).to.not.have.any.deep.keys(t)};N.doesNotHaveAllDeepKeys=function(e,t,r){new j(e,r,N.doesNotHaveAllDeepKeys,!0).to.not.have.all.deep.keys(t)};N.throws=function(e,t,r,n){(typeof t=="string"||t instanceof RegExp)&&(r=t,t=null);var o=new j(e,n,N.throws,!0).to.throw(t,r);return he(o,"object")};N.doesNotThrow=function(e,t,r,n){(typeof t=="string"||t instanceof RegExp)&&(r=t,t=null),new j(e,n,N.doesNotThrow,!0).to.not.throw(t,r)};N.operator=function(e,t,r,n){var o;switch(t){case"==":o=e==r;break;case"===":o=e===r;break;case">":o=e>r;break;case">=":o=e>=r;break;case"<":o=e<r;break;case"<=":o=e<=r;break;case"!=":o=e!=r;break;case"!==":o=e!==r;break;default:throw n=n&&n+": ",new xe(n+'Invalid operator "'+t+'"',void 0,N.operator)}var i=new j(o,n,N.operator,!0);i.assert(he(i,"object")===!0,"expected "+we(e)+" to be "+t+" "+we(r),"expected "+we(e)+" to not be "+t+" "+we(r))};N.closeTo=function(e,t,r,n){new j(e,n,N.closeTo,!0).to.be.closeTo(t,r)};N.approximately=function(e,t,r,n){new j(e,n,N.approximately,!0).to.be.approximately(t,r)};N.sameMembers=function(e,t,r){new j(e,r,N.sameMembers,!0).to.have.same.members(t)};N.notSameMembers=function(e,t,r){new j(e,r,N.notSameMembers,!0).to.not.have.same.members(t)};N.sameDeepMembers=function(e,t,r){new j(e,r,N.sameDeepMembers,!0).to.have.same.deep.members(t)};N.notSameDeepMembers=function(e,t,r){new j(e,r,N.notSameDeepMembers,!0).to.not.have.same.deep.members(t)};N.sameOrderedMembers=function(e,t,r){new j(e,r,N.sameOrderedMembers,!0).to.have.same.ordered.members(t)};N.notSameOrderedMembers=function(e,t,r){new j(e,r,N.notSameOrderedMembers,!0).to.not.have.same.ordered.members(t)};N.sameDeepOrderedMembers=function(e,t,r){new j(e,r,N.sameDeepOrderedMembers,!0).to.have.same.deep.ordered.members(t)};N.notSameDeepOrderedMembers=function(e,t,r){new j(e,r,N.notSameDeepOrderedMembers,!0).to.not.have.same.deep.ordered.members(t)};N.includeMembers=function(e,t,r){new j(e,r,N.includeMembers,!0).to.include.members(t)};N.notIncludeMembers=function(e,t,r){new j(e,r,N.notIncludeMembers,!0).to.not.include.members(t)};N.includeDeepMembers=function(e,t,r){new j(e,r,N.includeDeepMembers,!0).to.include.deep.members(t)};N.notIncludeDeepMembers=function(e,t,r){new j(e,r,N.notIncludeDeepMembers,!0).to.not.include.deep.members(t)};N.includeOrderedMembers=function(e,t,r){new j(e,r,N.includeOrderedMembers,!0).to.include.ordered.members(t)};N.notIncludeOrderedMembers=function(e,t,r){new j(e,r,N.notIncludeOrderedMembers,!0).to.not.include.ordered.members(t)};N.includeDeepOrderedMembers=function(e,t,r){new j(e,r,N.includeDeepOrderedMembers,!0).to.include.deep.ordered.members(t)};N.notIncludeDeepOrderedMembers=function(e,t,r){new j(e,r,N.notIncludeDeepOrderedMembers,!0).to.not.include.deep.ordered.members(t)};N.oneOf=function(e,t,r){new j(e,r,N.oneOf,!0).to.be.oneOf(t)};N.isIterable=function(e,t){if(e==null||!e[Symbol.iterator])throw t=t?`${t} expected ${we(e)} to be an iterable`:`expected ${we(e)} to be an iterable`,new xe(t,void 0,N.isIterable)};N.changes=function(e,t,r,n){arguments.length===3&&typeof t=="function"&&(n=r,r=null),new j(e,n,N.changes,!0).to.change(t,r)};N.changesBy=function(e,t,r,n,o){if(arguments.length===4&&typeof t=="function"){var i=n;n=r,o=i}else arguments.length===3&&(n=r,r=null);new j(e,o,N.changesBy,!0).to.change(t,r).by(n)};N.doesNotChange=function(e,t,r,n){return arguments.length===3&&typeof t=="function"&&(n=r,r=null),new j(e,n,N.doesNotChange,!0).to.not.change(t,r)};N.changesButNotBy=function(e,t,r,n,o){if(arguments.length===4&&typeof t=="function"){var i=n;n=r,o=i}else arguments.length===3&&(n=r,r=null);new j(e,o,N.changesButNotBy,!0).to.change(t,r).but.not.by(n)};N.increases=function(e,t,r,n){return arguments.length===3&&typeof t=="function"&&(n=r,r=null),new j(e,n,N.increases,!0).to.increase(t,r)};N.increasesBy=function(e,t,r,n,o){if(arguments.length===4&&typeof t=="function"){var i=n;n=r,o=i}else arguments.length===3&&(n=r,r=null);new j(e,o,N.increasesBy,!0).to.increase(t,r).by(n)};N.doesNotIncrease=function(e,t,r,n){return arguments.length===3&&typeof t=="function"&&(n=r,r=null),new j(e,n,N.doesNotIncrease,!0).to.not.increase(t,r)};N.increasesButNotBy=function(e,t,r,n,o){if(arguments.length===4&&typeof t=="function"){var i=n;n=r,o=i}else arguments.length===3&&(n=r,r=null);new j(e,o,N.increasesButNotBy,!0).to.increase(t,r).but.not.by(n)};N.decreases=function(e,t,r,n){return arguments.length===3&&typeof t=="function"&&(n=r,r=null),new j(e,n,N.decreases,!0).to.decrease(t,r)};N.decreasesBy=function(e,t,r,n,o){if(arguments.length===4&&typeof t=="function"){var i=n;n=r,o=i}else arguments.length===3&&(n=r,r=null);new j(e,o,N.decreasesBy,!0).to.decrease(t,r).by(n)};N.doesNotDecrease=function(e,t,r,n){return arguments.length===3&&typeof t=="function"&&(n=r,r=null),new j(e,n,N.doesNotDecrease,!0).to.not.decrease(t,r)};N.doesNotDecreaseBy=function(e,t,r,n,o){if(arguments.length===4&&typeof t=="function"){var i=n;n=r,o=i}else arguments.length===3&&(n=r,r=null);return new j(e,o,N.doesNotDecreaseBy,!0).to.not.decrease(t,r).by(n)};N.decreasesButNotBy=function(e,t,r,n,o){if(arguments.length===4&&typeof t=="function"){var i=n;n=r,o=i}else arguments.length===3&&(n=r,r=null);new j(e,o,N.decreasesButNotBy,!0).to.decrease(t,r).but.not.by(n)};N.ifError=function(e){if(e)throw e};N.isExtensible=function(e,t){new j(e,t,N.isExtensible,!0).to.be.extensible};N.isNotExtensible=function(e,t){new j(e,t,N.isNotExtensible,!0).to.not.be.extensible};N.isSealed=function(e,t){new j(e,t,N.isSealed,!0).to.be.sealed};N.isNotSealed=function(e,t){new j(e,t,N.isNotSealed,!0).to.not.be.sealed};N.isFrozen=function(e,t){new j(e,t,N.isFrozen,!0).to.be.frozen};N.isNotFrozen=function(e,t){new j(e,t,N.isNotFrozen,!0).to.not.be.frozen};N.isEmpty=function(e,t){new j(e,t,N.isEmpty,!0).to.be.empty};N.isNotEmpty=function(e,t){new j(e,t,N.isNotEmpty,!0).to.not.be.empty};N.containsSubset=function(e,t,r){new j(e,r).to.containSubset(t)};N.doesNotContainSubset=function(e,t,r){new j(e,r).to.not.containSubset(t)};var YH=[["isOk","ok"],["isNotOk","notOk"],["throws","throw"],["throws","Throw"],["isExtensible","extensible"],["isNotExtensible","notExtensible"],["isSealed","sealed"],["isNotSealed","notSealed"],["isFrozen","frozen"],["isNotFrozen","notFrozen"],["isEmpty","empty"],["isNotEmpty","notEmpty"],["isCallable","isFunction"],["isNotCallable","isNotFunction"],["containsSubset","containSubset"]];for(let[e,t]of YH)N[t]=N[e];var Ab=[];function un(e){let t={use:un,AssertionError:xe,util:Wt,config:ut,expect:kr,assert:N,Assertion:j,...lT};return~Ab.indexOf(e)||(e(t,Wt),Ab.push(e)),t}a(un,"use");V(un,"use");var uT={};ct(uT,{toBeChecked:()=>$h,toBeDisabled:()=>Ah,toBeEmpty:()=>hh,toBeEmptyDOMElement:()=>mh,toBeEnabled:()=>Rh,toBeInTheDOM:()=>gs,toBeInTheDocument:()=>fh,toBeInvalid:()=>Nh,toBePartiallyChecked:()=>Dh,toBeRequired:()=>qh,toBeValid:()=>jh,toBeVisible:()=>Sh,toContainElement:()=>vs,toContainHTML:()=>yh,toHaveAccessibleDescription:()=>ws,toHaveAccessibleErrorMessage:()=>gh,toHaveAccessibleName:()=>xs,toHaveAttribute:()=>vh,toHaveClass:()=>wh,toHaveDescription:()=>Fh,toHaveDisplayValue:()=>Mh,toHaveErrorMessage:()=>Bh,toHaveFocus:()=>Eh,toHaveFormValues:()=>xh,toHaveRole:()=>Es,toHaveSelection:()=>Uh,toHaveStyle:()=>Ts,toHaveTextContent:()=>bh,toHaveValue:()=>kh});var Rb=He(tv(),1);function th(e){Object.defineProperty(e,"__esModule",{value:!0,configurable:!0})}a(th,"$parcel$defineInteropFlag");function eu(e,t,r,n){Object.defineProperty(e,t,{get:r,set:n,enumerable:!0,configurable:!0})}a(eu,"$parcel$export");var cT={};th(cT);eu(cT,"default",()=>pT);var dT=class extends Error{constructor(t,r,n,o,i){super(t+":"+n+":"+o+": "+r),this.reason=r,this.filename=t,this.line=n,this.column=o,this.source=i}};a(dT,"$009ddb00d3ec72b8$export$2e2bcd8739ae039");var pT=dT,fT={};th(fT);eu(fT,"default",()=>mT);var hT=class{constructor(t,r,n){this.start=t,this.end=r,this.source=n}};a(hT,"$0865a9fb4cc365fe$export$2e2bcd8739ae039");var mT=hT,XH={};eu(XH,"CssTypes",()=>Ye);var Ye=(function(e){return 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",e})({}),Hu=/\/\*[^]*?(?:\*\/|$)/g,QH=a((e,t)=>{t=t||{};let r=1,n=1;function o(W){let z=W.match(/\n/g);z&&(r+=z.length);let Y=W.lastIndexOf(`
221
- `);n=~Y?W.length-Y:n+W.length}a(o,"updatePosition");function i(){let W={line:r,column:n};return function(z){return z.position=new mT(W,{line:r,column:n},t?.source||""),f(),z}}a(i,"position");let s=[];function l(W){let z=new pT(t?.source||"",W,r,n,e);if(t?.silent)s.push(z);else throw z}a(l,"error");function c(){let W=p();return{type:Ye.stylesheet,stylesheet:{source:t?.source,rules:W,parsingErrors:s}}}a(c,"stylesheet");function u(){return h(/^{\s*/)}a(u,"open");function d(){return h(/^}/)}a(d,"close");function p(){let W,z=[];for(f(),m(z);e.length&&e.charAt(0)!=="}"&&(W=ae()||Z());)W&&(z.push(W),m(z));return z}a(p,"rules");function h(W){let z=W.exec(e);if(!z)return;let Y=z[0];return o(Y),e=e.slice(Y.length),z}a(h,"match");function f(){h(/^\s*/)}a(f,"whitespace");function m(W){let z;for(W=W||[];z=b();)z&&W.push(z);return W}a(m,"comments");function b(){let W=i();if(e.charAt(0)!=="/"||e.charAt(1)!=="*")return;let z=h(/^\/\*[^]*?\*\//);return z?W({type:Ye.comment,comment:z[0].slice(2,-2)}):l("End of comment missing")}a(b,"comment");function g(W,z,Y){let ne=z+1,X=!1,se=W.indexOf(")",ne);for(;!X&&se!==-1;){let ce=W.indexOf("(",ne);ce!==-1&&ce<se?(ne=g(W,ce+1)+1,se=W.indexOf(")",ne)):X=!0}return X&&se!==-1?se:-1}a(g,"findClosingParenthese");function v(){let W=h(/^([^{]+)/);if(!W)return;let z=yt(W[0]).replace(Hu,"");if(z.indexOf(",")===-1)return[z];let Y=0,ne=z.indexOf("(",Y);for(;ne!==-1;){let X=g(z,ne);if(X===-1)break;Y=X+1,z=z.substring(0,ne)+z.substring(ne,X).replace(/,/g,"‌")+z.substring(X),ne=z.indexOf("(",Y)}return z=z.replace(/("|')(?:\\\1|.)*?\1/g,X=>X.replace(/,/g,"‌")),z.split(",").map(X=>yt(X.replace(/\u200C/g,",")))}a(v,"selector");function w(){let W=i(),z=h(/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/);if(!z)return;let Y=yt(z[0]);if(!h(/^:\s*/))return l("property missing ':'");let ne=h(/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|[^)])*?\)|[^};])+)/),X=W({type:Ye.declaration,property:Y.replace(Hu,""),value:ne?yt(ne[0]).replace(Hu,""):""});return h(/^[;\s]*/),X}a(w,"declaration");function P(){let W=[];if(!u())return l("missing '{'");m(W);let z;for(;z=w();)z&&(W.push(z),m(W));return d()?W:l("missing '}'")}a(P,"declarations");function A(){let W,z=[],Y=i();for(;W=h(/^((\d+\.\d+|\.\d+|\d+)%?|[a-z]+)\s*/);)z.push(W[1]),h(/^,\s*/);if(z.length)return Y({type:Ye.keyframe,values:z,declarations:P()||[]})}a(A,"keyframe");function R(){let W=i(),z=h(/^@([-\w]+)?keyframes\s*/);if(!z)return;let Y=z[1],ne=h(/^([-\w]+)\s*/);if(!ne)return l("@keyframes missing name");let X=ne[1];if(!u())return l("@keyframes missing '{'");let se,ce=m();for(;se=A();)ce.push(se),ce=ce.concat(m());return d()?W({type:Ye.keyframes,name:X,vendor:Y,keyframes:ce}):l("@keyframes missing '}'")}a(R,"atkeyframes");function T(){let W=i(),z=h(/^@supports *([^{]+)/);if(!z)return;let Y=yt(z[1]);if(!u())return l("@supports missing '{'");let ne=m().concat(p());return d()?W({type:Ye.supports,supports:Y,rules:ne}):l("@supports missing '}'")}a(T,"atsupports");function E(){let W=i();if(!h(/^@host\s*/))return;if(!u())return l("@host missing '{'");let z=m().concat(p());return d()?W({type:Ye.host,rules:z}):l("@host missing '}'")}a(E,"athost");function x(){let W=i(),z=h(/^@container *([^{]+)/);if(!z)return;let Y=yt(z[1]);if(!u())return l("@container missing '{'");let ne=m().concat(p());return d()?W({type:Ye.container,container:Y,rules:ne}):l("@container missing '}'")}a(x,"atcontainer");function C(){let W=i(),z=h(/^@layer *([^{;@]+)/);if(!z)return;let Y=yt(z[1]);if(!u())return h(/^[;\s]*/),W({type:Ye.layer,layer:Y});let ne=m().concat(p());return d()?W({type:Ye.layer,layer:Y,rules:ne}):l("@layer missing '}'")}a(C,"atlayer");function k(){let W=i(),z=h(/^@media *([^{]+)/);if(!z)return;let Y=yt(z[1]);if(!u())return l("@media missing '{'");let ne=m().concat(p());return d()?W({type:Ye.media,media:Y,rules:ne}):l("@media missing '}'")}a(k,"atmedia");function I(){let W=i(),z=h(/^@custom-media\s+(--\S+)\s*([^{;\s][^{;]*);/);if(z)return W({type:Ye.customMedia,name:yt(z[1]),media:yt(z[2])})}a(I,"atcustommedia");function U(){let W=i();if(!h(/^@page */))return;let z=v()||[];if(!u())return l("@page missing '{'");let Y=m(),ne;for(;ne=w();)Y.push(ne),Y=Y.concat(m());return d()?W({type:Ye.page,selectors:z,declarations:Y}):l("@page missing '}'")}a(U,"atpage");function D(){let W=i(),z=h(/^@([-\w]+)?document *([^{]+)/);if(!z)return;let Y=yt(z[1]),ne=yt(z[2]);if(!u())return l("@document missing '{'");let X=m().concat(p());return d()?W({type:Ye.document,document:ne,vendor:Y,rules:X}):l("@document missing '}'")}a(D,"atdocument");function O(){let W=i();if(!h(/^@font-face\s*/))return;if(!u())return l("@font-face missing '{'");let z=m(),Y;for(;Y=w();)z.push(Y),z=z.concat(m());return d()?W({type:Ye.fontFace,declarations:z}):l("@font-face missing '}'")}a(O,"atfontface");function M(){let W=i();if(!h(/^@starting-style\s*/))return;if(!u())return l("@starting-style missing '{'");let z=m().concat(p());return d()?W({type:Ye.startingStyle,rules:z}):l("@starting-style missing '}'")}a(M,"atstartingstyle");let $=re("import"),K=re("charset"),G=re("namespace");function re(W){let z=new RegExp("^@"+W+`\\s*((?::?[^;'"]|"(?:\\\\"|[^"])*?"|'(?:\\\\'|[^'])*?')+)(?:;|$)`);return function(){let Y=i(),ne=h(z);if(!ne)return;let X={type:W};return X[W]=ne[1].trim(),Y(X)}}a(re,"_compileAtrule");function ae(){if(e[0]==="@")return R()||k()||I()||T()||$()||K()||G()||D()||U()||E()||O()||x()||M()||C()}a(ae,"atrule");function Z(){let W=i(),z=v();return z?(m(),W({type:Ye.rule,selectors:z,declarations:P()||[]})):l("selector missing")}return a(Z,"rule"),bs(c())},"$d708735ed1303b43$export$98e6a39c04603d36");function yt(e){return e?e.trim():""}a(yt,"$d708735ed1303b43$var$trim");function bs(e,t){let r=e&&typeof e.type=="string",n=r?e:t;for(let o in e){let i=e[o];Array.isArray(i)?i.forEach(s=>{bs(s,n)}):i&&typeof i=="object"&&bs(i,n)}return r&&Object.defineProperty(e,"parent",{configurable:!0,writable:!0,enumerable:!1,value:t||null}),e}a(bs,"$d708735ed1303b43$var$addParent");var ZH=QH,e5=ZH,t5=Object.prototype.toString;function Dc(e){return typeof e=="function"||t5.call(e)==="[object Function]"}a(Dc,"isCallable");function yT(e){var t=Number(e);return isNaN(t)?0:t===0||!isFinite(t)?t:(t>0?1:-1)*Math.floor(Math.abs(t))}a(yT,"toInteger");var r5=Math.pow(2,53)-1;function bT(e){var t=yT(e);return Math.min(Math.max(t,0),r5)}a(bT,"toLength");function _t(e,t){var r=Array,n=Object(e);if(e==null)throw new TypeError("Array.from requires an array-like object - not null or undefined");if(typeof t<"u"&&!Dc(t))throw new TypeError("Array.from: when provided, the second argument must be a function");for(var o=bT(n.length),i=Dc(r)?Object(new r(o)):new Array(o),s=0,l;s<o;)l=n[s],t?i[s]=t(l,s):i[s]=l,s+=1;return i.length=o,i}a(_t,"arrayFrom");function po(e){"@babel/helpers - typeof";return po=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},po(e)}a(po,"_typeof");function gT(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}a(gT,"_classCallCheck");function Fc(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,rh(n.key),n)}}a(Fc,"_defineProperties");function vT(e,t,r){return t&&Fc(e.prototype,t),r&&Fc(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}a(vT,"_createClass");function wT(e,t,r){return t=rh(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}a(wT,"_defineProperty");function rh(e){var t=ET(e,"string");return po(t)==="symbol"?t:String(t)}a(rh,"_toPropertyKey");function ET(e,t){if(po(e)!=="object"||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t||"default");if(po(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}a(ET,"_toPrimitive");var n5=(function(){function e(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];gT(this,e),wT(this,"items",void 0),this.items=t}return a(e,"SetLike"),vT(e,[{key:"add",value:a(function(t){return this.has(t)===!1&&this.items.push(t),this},"add")},{key:"clear",value:a(function(){this.items=[]},"clear")},{key:"delete",value:a(function(t){var r=this.items.length;return this.items=this.items.filter(function(n){return n!==t}),r!==this.items.length},"_delete")},{key:"forEach",value:a(function(t){var r=this;this.items.forEach(function(n){t(n,n,r)})},"forEach")},{key:"has",value:a(function(t){return this.items.indexOf(t)!==-1},"has")},{key:"size",get:a(function(){return this.items.length},"get")}]),e})(),o5=typeof Set>"u"?Set:n5;function tt(e){var t;return(t=e.localName)!==null&&t!==void 0?t:e.tagName.toLowerCase()}a(tt,"getLocalName");var a5={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"},i5={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 xT(e,t){return["aria-atomic","aria-busy","aria-controls","aria-current","aria-description","aria-describedby","aria-details","aria-dropeffect","aria-flowto","aria-grabbed","aria-hidden","aria-keyshortcuts","aria-label","aria-labelledby","aria-live","aria-owns","aria-relevant","aria-roledescription"].some(function(r){var n;return e.hasAttribute(r)&&!((n=i5[t])!==null&&n!==void 0&&n.has(r))})}a(xT,"hasGlobalAriaAttributes");function nh(e,t){return xT(e,t)}a(nh,"ignorePresentationalRole");function TT(e){var t=CT(e);if(t===null||Bc.indexOf(t)!==-1){var r=ST(e);if(Bc.indexOf(t||"")===-1||nh(e,r||""))return r}return t}a(TT,"getRole");function ST(e){var t=a5[tt(e)];if(t!==void 0)return t;switch(tt(e)){case"a":case"area":case"link":if(e.hasAttribute("href"))return"link";break;case"img":return e.getAttribute("alt")===""&&!nh(e,"img")?"presentation":"img";case"input":{var r=e,n=r.type;switch(n){case"button":case"image":case"reset":case"submit":return"button";case"checkbox":case"radio":return n;case"range":return"slider";case"email":case"tel":case"text":case"url":return e.hasAttribute("list")?"combobox":"textbox";case"search":return e.hasAttribute("list")?"combobox":"searchbox";case"number":return"spinbutton";default:return null}}case"select":return e.hasAttribute("multiple")||e.size>1?"listbox":"combobox"}return null}a(ST,"getImplicitRole");function CT(e){var t=e.getAttribute("role");if(t!==null){var r=t.trim().split(" ")[0];if(r.length>0)return r}return null}a(CT,"getExplicitRole");var Bc=["presentation","none"];function Re(e){return e!==null&&e.nodeType===e.ELEMENT_NODE}a(Re,"isElement");function oh(e){return Re(e)&&tt(e)==="caption"}a(oh,"isHTMLTableCaptionElement");function va(e){return Re(e)&&tt(e)==="input"}a(va,"isHTMLInputElement");function PT(e){return Re(e)&&tt(e)==="optgroup"}a(PT,"isHTMLOptGroupElement");function OT(e){return Re(e)&&tt(e)==="select"}a(OT,"isHTMLSelectElement");function _T(e){return Re(e)&&tt(e)==="table"}a(_T,"isHTMLTableElement");function AT(e){return Re(e)&&tt(e)==="textarea"}a(AT,"isHTMLTextAreaElement");function RT(e){var t=e.ownerDocument===null?e:e.ownerDocument,r=t.defaultView;if(r===null)throw new TypeError("no window available");return r}a(RT,"safeWindow");function qT(e){return Re(e)&&tt(e)==="fieldset"}a(qT,"isHTMLFieldSetElement");function IT(e){return Re(e)&&tt(e)==="legend"}a(IT,"isHTMLLegendElement");function NT(e){return Re(e)&&tt(e)==="slot"}a(NT,"isHTMLSlotElement");function jT(e){return Re(e)&&e.ownerSVGElement!==void 0}a(jT,"isSVGElement");function kT(e){return Re(e)&&tt(e)==="svg"}a(kT,"isSVGSVGElement");function MT(e){return jT(e)&&tt(e)==="title"}a(MT,"isSVGTitleElement");function La(e,t){if(Re(e)&&e.hasAttribute(t)){var r=e.getAttribute(t).split(" "),n=e.getRootNode?e.getRootNode():e.ownerDocument;return r.map(function(o){return n.getElementById(o)}).filter(function(o){return o!==null})}return[]}a(La,"queryIdRefs");function Gt(e,t){return Re(e)?t.indexOf(TT(e))!==-1:!1}a(Gt,"hasAnyConcreteRoles");function $T(e){return e.trim().replace(/\s\s+/g," ")}a($T,"asFlatString");function LT(e,t){if(!Re(e))return!1;if(e.hasAttribute("hidden")||e.getAttribute("aria-hidden")==="true")return!0;var r=t(e);return r.getPropertyValue("display")==="none"||r.getPropertyValue("visibility")==="hidden"}a(LT,"isHidden");function DT(e){return Gt(e,["button","combobox","listbox","textbox"])||ah(e,"range")}a(DT,"isControl");function ah(e,t){if(!Re(e))return!1;switch(t){case"range":return Gt(e,["meter","progressbar","scrollbar","slider","spinbutton"]);default:throw new TypeError("No knowledge about abstract role '".concat(t,"'. This is likely a bug :("))}}a(ah,"hasAbstractRole");function Uc(e,t){var r=_t(e.querySelectorAll(t));return La(e,"aria-owns").forEach(function(n){r.push.apply(r,_t(n.querySelectorAll(t)))}),r}a(Uc,"querySelectorAllSubtree");function FT(e){return OT(e)?e.selectedOptions||Uc(e,"[selected]"):Uc(e,'[aria-selected="true"]')}a(FT,"querySelectedOptions");function BT(e){return Gt(e,Bc)}a(BT,"isMarkedPresentational");function UT(e){return oh(e)}a(UT,"isNativeHostLanguageTextAlternativeElement");function HT(e){return Gt(e,["button","cell","checkbox","columnheader","gridcell","heading","label","legend","link","menuitem","menuitemcheckbox","menuitemradio","option","radio","row","rowheader","switch","tab","tooltip","treeitem"])}a(HT,"allowsNameFromContent");function VT(e){return!1}a(VT,"isDescendantOfNativeHostLanguageTextAlternativeElement");function JT(e){return va(e)||AT(e)?e.value:e.textContent||""}a(JT,"getValueOfTextbox");function Hc(e){var t=e.getPropertyValue("content");return/^["'].*["']$/.test(t)?t.slice(1,-1):""}a(Hc,"getTextualContent");function ih(e){var t=tt(e);return t==="button"||t==="input"&&e.getAttribute("type")!=="hidden"||t==="meter"||t==="output"||t==="progress"||t==="select"||t==="textarea"}a(ih,"isLabelableElement");function sh(e){if(ih(e))return e;var t=null;return e.childNodes.forEach(function(r){if(t===null&&Re(r)){var n=sh(r);n!==null&&(t=n)}}),t}a(sh,"findLabelableElement");function zT(e){if(e.control!==void 0)return e.control;var t=e.getAttribute("for");return t!==null?e.ownerDocument.getElementById(t):sh(e)}a(zT,"getControlOfLabel");function WT(e){var t=e.labels;if(t===null)return t;if(t!==void 0)return _t(t);if(!ih(e))return null;var r=e.ownerDocument;return _t(r.querySelectorAll("label")).filter(function(n){return zT(n)===e})}a(WT,"getLabels");function GT(e){var t=e.assignedNodes();return t.length===0?_t(e.childNodes):t}a(GT,"getSlotContents");function lh(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=new o5,n=RT(e),o=t.compute,i=o===void 0?"name":o,s=t.computedStyleSupportsPseudoElements,l=s===void 0?t.getComputedStyle!==void 0:s,c=t.getComputedStyle,u=c===void 0?n.getComputedStyle.bind(n):c,d=t.hidden,p=d===void 0?!1:d;function h(v,w){var P="";if(Re(v)&&l){var A=u(v,"::before"),R=Hc(A);P="".concat(R," ").concat(P)}var T=NT(v)?GT(v):_t(v.childNodes).concat(La(v,"aria-owns"));if(T.forEach(function(C){var k=g(C,{isEmbeddedInLabel:w.isEmbeddedInLabel,isReferenced:!1,recursion:!0}),I=Re(C)?u(C).getPropertyValue("display"):"inline",U=I!=="inline"?" ":"";P+="".concat(U).concat(k).concat(U)}),Re(v)&&l){var E=u(v,"::after"),x=Hc(E);P="".concat(P," ").concat(x)}return P.trim()}a(h,"computeMiscTextAlternative");function f(v,w){var P=v.getAttributeNode(w);return P!==null&&!r.has(P)&&P.value.trim()!==""?(r.add(P),P.value):null}a(f,"useAttribute");function m(v){return Re(v)?f(v,"title"):null}a(m,"computeTooltipAttributeValue");function b(v){if(!Re(v))return null;if(qT(v)){r.add(v);for(var w=_t(v.childNodes),P=0;P<w.length;P+=1){var A=w[P];if(IT(A))return g(A,{isEmbeddedInLabel:!1,isReferenced:!1,recursion:!1})}}else if(_T(v)){r.add(v);for(var R=_t(v.childNodes),T=0;T<R.length;T+=1){var E=R[T];if(oh(E))return g(E,{isEmbeddedInLabel:!1,isReferenced:!1,recursion:!1})}}else if(kT(v)){r.add(v);for(var x=_t(v.childNodes),C=0;C<x.length;C+=1){var k=x[C];if(MT(k))return k.textContent}return null}else if(tt(v)==="img"||tt(v)==="area"){var I=f(v,"alt");if(I!==null)return I}else if(PT(v)){var U=f(v,"label");if(U!==null)return U}if(va(v)&&(v.type==="button"||v.type==="submit"||v.type==="reset")){var D=f(v,"value");if(D!==null)return D;if(v.type==="submit")return"Submit";if(v.type==="reset")return"Reset"}var O=WT(v);if(O!==null&&O.length!==0)return r.add(v),_t(O).map(function(G){return g(G,{isEmbeddedInLabel:!0,isReferenced:!1,recursion:!0})}).filter(function(G){return G.length>0}).join(" ");if(va(v)&&v.type==="image"){var M=f(v,"alt");if(M!==null)return M;var $=f(v,"title");return $!==null?$:"Submit Query"}if(Gt(v,["button"])){var K=h(v,{isEmbeddedInLabel:!1});if(K!=="")return K}return null}a(b,"computeElementTextAlternative");function g(v,w){if(r.has(v))return"";if(!p&&LT(v,u)&&!w.isReferenced)return r.add(v),"";var P=Re(v)?v.getAttributeNode("aria-labelledby"):null,A=P!==null&&!r.has(P)?La(v,"aria-labelledby"):[];if(i==="name"&&!w.isReferenced&&A.length>0)return r.add(P),A.map(function(I){return g(I,{isEmbeddedInLabel:w.isEmbeddedInLabel,isReferenced:!0,recursion:!1})}).join(" ");var R=w.recursion&&DT(v)&&i==="name";if(!R){var T=(Re(v)&&v.getAttribute("aria-label")||"").trim();if(T!==""&&i==="name")return r.add(v),T;if(!BT(v)){var E=b(v);if(E!==null)return r.add(v),E}}if(Gt(v,["menu"]))return r.add(v),"";if(R||w.isEmbeddedInLabel||w.isReferenced){if(Gt(v,["combobox","listbox"])){r.add(v);var x=FT(v);return x.length===0?va(v)?v.value:"":_t(x).map(function(I){return g(I,{isEmbeddedInLabel:w.isEmbeddedInLabel,isReferenced:!1,recursion:!0})}).join(" ")}if(ah(v,"range"))return r.add(v),v.hasAttribute("aria-valuetext")?v.getAttribute("aria-valuetext"):v.hasAttribute("aria-valuenow")?v.getAttribute("aria-valuenow"):v.getAttribute("value")||"";if(Gt(v,["textbox"]))return r.add(v),JT(v)}if(HT(v)||Re(v)&&w.isReferenced||UT(v)||VT()){var C=h(v,{isEmbeddedInLabel:w.isEmbeddedInLabel});if(C!=="")return r.add(v),C}if(v.nodeType===v.TEXT_NODE)return r.add(v),v.textContent||"";if(w.recursion)return r.add(v),h(v,{isEmbeddedInLabel:w.isEmbeddedInLabel});var k=m(v);return k!==null?(r.add(v),k):(r.add(v),"")}return a(g,"computeTextAlternative"),$T(g(e,{isEmbeddedInLabel:!1,isReferenced:i==="description",recursion:!1}))}a(lh,"computeTextAlternative");function fo(e){"@babel/helpers - typeof";return fo=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},fo(e)}a(fo,"_typeof");function Vc(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}a(Vc,"ownKeys");function Jc(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?Vc(Object(r),!0).forEach(function(n){KT(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Vc(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}a(Jc,"_objectSpread");function KT(e,t,r){return t=YT(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}a(KT,"_defineProperty");function YT(e){var t=XT(e,"string");return fo(t)==="symbol"?t:String(t)}a(YT,"_toPropertyKey");function XT(e,t){if(fo(e)!=="object"||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t||"default");if(fo(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}a(XT,"_toPrimitive");function QT(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=La(e,"aria-describedby").map(function(i){return lh(i,Jc(Jc({},t),{},{compute:"description"}))}).join(" ");if(r===""){var n=e.getAttribute("aria-description");r=n===null?"":n}if(r===""){var o=e.getAttribute("title");r=o===null?"":o}return r}a(QT,"computeAccessibleDescription");function ZT(e){return Gt(e,["caption","code","deletion","emphasis","generic","insertion","none","paragraph","presentation","strong","subscript","superscript"])}a(ZT,"prohibitsNaming");function eS(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return ZT(e)?"":lh(e,t)}a(eS,"computeAccessibleName");var uh=He(rv(),1),s5=He(ov(),1),ch=He(mv(),1),l5=He(yv(),1),tS=class extends Error{constructor(t,r,n,o){super(),Error.captureStackTrace&&Error.captureStackTrace(this,n);let i="";try{i=o.utils.printWithType("Received",r,o.utils.printReceived)}catch{}this.message=[o.utils.matcherHint(`${o.isNot?".not":""}.${n.name}`,"received",""),"",`${o.utils.RECEIVED_COLOR("received")} value must ${t}.`,i].join(`
222
- `)}};a(tS,"GenericTypeError");var rS=tS,nS=class extends rS{constructor(...t){super("be an HTMLElement or an SVGElement",...t)}};a(nS,"HtmlElementTypeError");var qb=nS,oS=class extends rS{constructor(...t){super("be a Node",...t)}};a(oS,"NodeTypeError");var Ib=oS;function dh(e,t,...r){if(!e||!e.ownerDocument||!e.ownerDocument.defaultView)throw new t(e,...r)}a(dh,"checkHasWindow");function aS(e,...t){dh(e,Ib,...t);let r=e.ownerDocument.defaultView;if(!(e instanceof r.Node))throw new Ib(e,...t)}a(aS,"checkNode");function Te(e,...t){dh(e,qb,...t);let r=e.ownerDocument.defaultView;if(!(e instanceof r.HTMLElement)&&!(e instanceof r.SVGElement))throw new qb(e,...t)}a(Te,"checkHtmlElement");var iS=class extends Error{constructor(t,r,n){super(),Error.captureStackTrace&&Error.captureStackTrace(this,r),this.message=[t.message,"",n.utils.RECEIVED_COLOR("Failing css:"),n.utils.RECEIVED_COLOR(`${t.css}`)].join(`
223
- `)}};a(iS,"InvalidCSSError");var u5=iS;function sS(e,...t){let r=e5(`selector { ${e} }`,{silent:!0}).stylesheet;if(r.parsingErrors&&r.parsingErrors.length>0){let{reason:n,line:o}=r.parsingErrors[0];throw new u5({css:e,message:`Syntax error parsing expected css: ${n} on line: ${o}`},...t)}return r.rules[0].declarations.filter(n=>n.type==="declaration").reduce((n,{property:o,value:i})=>Object.assign(n,{[o]:i}),{})}a(sS,"parseCSS");function zc(e,t){return typeof t=="string"?t:e.utils.stringify(t)}a(zc,"display");function Ze(e,t,r,n,o,i){return[`${t}
224
- `,`${r}:
225
- ${e.utils.EXPECTED_COLOR((0,Rb.default)(zc(e,n),2))}`,`${o}:
226
- ${e.utils.RECEIVED_COLOR((0,Rb.default)(zc(e,i),2))}`].join(`
227
- `)}a(Ze,"getMessage");function lS(e,t){return t instanceof RegExp?t.test(e):e.includes(String(t))}a(lS,"matches");function mi(e,t){console.warn(`Warning: ${e} has been deprecated and will be removed in future updates.`,t)}a(mi,"deprecate");function yi(e){return e.replace(/\s+/g," ").trim()}a(yi,"normalize");function br(e){return e.tagName&&e.tagName.toLowerCase()}a(br,"getTag");function uS({multiple:e,options:t}){let r=[...t].filter(n=>n.selected);if(e)return[...r].map(n=>n.value);if(r.length!==0)return r[0].value}a(uS,"getSelectValue");function cS(e){switch(e.type){case"number":return e.value===""?null:Number(e.value);case"checkbox":return e.checked;default:return e.value}}a(cS,"getInputValue");var c5=["meter","progressbar","slider","spinbutton"];function dS(e){if(c5.includes(e.getAttribute("role")))return Number(e.getAttribute("aria-valuenow"))}a(dS,"getAccessibleValue");function ph(e){if(e)switch(e.tagName.toLowerCase()){case"input":return cS(e);case"select":return uS(e);default:return e.value??dS(e)}}a(ph,"getSingleElementValue");function pS(e,{wordConnector:t=", ",lastWordConnector:r=" and "}={}){return[e.slice(0,-1).join(t),e[e.length-1]].join(e.length>1?r:"")}a(pS,"toSentence");function tu(e,t){if(Array.isArray(e)&&Array.isArray(t))return[...new Set(e)].every(r=>new Set(t).has(r))}a(tu,"compareArraysAsSet");function gs(e,t){return mi("toBeInTheDOM","Please use toBeInTheDocument for searching the entire document and toContainElement for searching a specific container."),e&&Te(e,gs,this),t&&Te(t,gs,this),{pass:t?t.contains(e):!!e,message:a(()=>[this.utils.matcherHint(`${this.isNot?".not":""}.toBeInTheDOM`,"element",""),"","Received:",` ${this.utils.printReceived(e&&e.cloneNode(!1))}`].join(`
228
- `),"message")}}a(gs,"toBeInTheDOM");function fh(e){(e!==null||!this.isNot)&&Te(e,fh,this);let t=e===null?!1:e.ownerDocument===e.getRootNode({composed:!0}),r=a(()=>`expected document not to contain element, found ${this.utils.stringify(e.cloneNode(!0))} instead`,"errorFound"),n=a(()=>"element could not be found in the document","errorNotFound");return{pass:t,message:a(()=>[this.utils.matcherHint(`${this.isNot?".not":""}.toBeInTheDocument`,"element",""),"",this.utils.RECEIVED_COLOR(this.isNot?r():n())].join(`
229
- `),"message")}}a(fh,"toBeInTheDocument");function hh(e){return mi("toBeEmpty","Please use instead toBeEmptyDOMElement for finding empty nodes in the DOM."),Te(e,hh,this),{pass:e.innerHTML==="",message:a(()=>[this.utils.matcherHint(`${this.isNot?".not":""}.toBeEmpty`,"element",""),"","Received:",` ${this.utils.printReceived(e.innerHTML)}`].join(`
230
- `),"message")}}a(hh,"toBeEmpty");function mh(e){return Te(e,mh,this),{pass:fS(e),message:a(()=>[this.utils.matcherHint(`${this.isNot?".not":""}.toBeEmptyDOMElement`,"element",""),"","Received:",` ${this.utils.printReceived(e.innerHTML)}`].join(`
231
- `),"message")}}a(mh,"toBeEmptyDOMElement");function fS(e){return[...e.childNodes].filter(t=>t.nodeType!==8).length===0}a(fS,"isEmptyElement");function vs(e,t){return Te(e,vs,this),t!==null&&Te(t,vs,this),{pass:e.contains(t),message:a(()=>[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))}
232
- `)].join(`
233
- `),"message")}}a(vs,"toContainElement");function hS(e,t){let r=e.ownerDocument.createElement("div");return r.innerHTML=t,r.innerHTML}a(hS,"getNormalizedHtml");function yh(e,t){if(Te(e,yh,this),typeof t!="string")throw new Error(`.toContainHTML() expects a string value, got ${t}`);return{pass:e.outerHTML.includes(hS(e,t)),message:a(()=>[this.utils.matcherHint(`${this.isNot?".not":""}.toContainHTML`,"element",""),"Expected:",` ${this.utils.EXPECTED_COLOR(t)}`,"Received:",` ${this.utils.printReceived(e.cloneNode(!0))}`].join(`
234
- `),"message")}}a(yh,"toContainHTML");function bh(e,t,r={normalizeWhitespace:!0}){aS(e,bh,this);let n=r.normalizeWhitespace?yi(e.textContent):e.textContent.replace(/\u00a0/g," "),o=n!==""&&t==="";return{pass:!o&&lS(n,t),message:a(()=>{let i=this.isNot?"not to":"to";return Ze(this,this.utils.matcherHint(`${this.isNot?".not":""}.toHaveTextContent`,"element",""),o?"Checking with empty string will always match, use .toBeEmptyDOMElement() instead":`Expected element ${i} have text content`,t,"Received",n)},"message")}}a(bh,"toHaveTextContent");function ws(e,t){Te(e,ws,this);let r=QT(e),n=arguments.length===1,o=!1;return n?o=r!=="":o=t instanceof RegExp?t.test(r):this.equals(r,t),{pass:o,message:a(()=>{let i=this.isNot?"not to":"to";return Ze(this,this.utils.matcherHint(`${this.isNot?".not":""}.${ws.name}`,"element",""),`Expected element ${i} have accessible description`,t,"Received",r)},"message")}}a(ws,"toHaveAccessibleDescription");var oa="aria-invalid",d5=["false"];function gh(e,t){Te(e,gh,this);let r=this.isNot?"not to":"to",n=this.isNot?".not.toHaveAccessibleErrorMessage":".toHaveAccessibleErrorMessage",o=e.getAttribute("aria-errormessage");if(o&&/\s+/.test(o))return{pass:!1,message:a(()=>Ze(this,this.utils.matcherHint(n,"element"),"Expected element's `aria-errormessage` attribute to be empty or a single, valid ID","","Received",`aria-errormessage="${o}"`),"message")};let i=e.getAttribute(oa);if(!e.hasAttribute(oa)||d5.includes(i))return{pass:!1,message:a(()=>Ze(this,this.utils.matcherHint(n,"element"),"Expected element to be marked as invalid with attribute",`${oa}="${String(!0)}"`,"Received",e.hasAttribute("aria-invalid")?`${oa}="${e.getAttribute(oa)}`:null),"message")};let s=yi(e.ownerDocument.getElementById(o)?.textContent??"");return{pass:t===void 0?!!s:t instanceof RegExp?t.test(s):this.equals(s,t),message:a(()=>Ze(this,this.utils.matcherHint(n,"element"),`Expected element ${r} have accessible error message`,t??"","Received",s),"message")}}a(gh,"toHaveAccessibleErrorMessage");var p5=bS(uh.elementRoles);function Es(e,t){Te(e,Es,this);let r=mS(e);return{pass:r.some(n=>n===t),message:a(()=>{let n=this.isNot?"not to":"to";return Ze(this,this.utils.matcherHint(`${this.isNot?".not":""}.${Es.name}`,"element",""),`Expected element ${n} have role`,t,"Received",r.join(", "))},"message")}}a(Es,"toHaveRole");function mS(e){return e.hasAttribute("role")?e.getAttribute("role").split(" ").filter(Boolean):yS(e)}a(mS,"getExplicitOrImplicitRoles");function yS(e){for(let{match:t,roles:r}of p5)if(t(e))return[...r];return[]}a(yS,"getImplicitAriaRoles");function bS(e){function t({name:s,attributes:l}){return`${s}${l.map(({name:c,value:u,constraints:d=[]})=>d.indexOf("undefined")!==-1?`:not([${c}])`:u?`[${c}="${u}"]`:`[${c}]`).join("")}`}a(t,"makeElementSelector");function r({attributes:s=[]}){return s.length}a(r,"getSelectorSpecificity");function n({specificity:s},{specificity:l}){return l-s}a(n,"bySelectorSpecificity");function o(s){let{attributes:l=[]}=s,c=l.findIndex(d=>d.value&&d.name==="type"&&d.value==="text");c>=0&&(l=[...l.slice(0,c),...l.slice(c+1)]);let u=t({...s,attributes:l});return d=>c>=0&&d.type!=="text"?!1:d.matches(u)}a(o,"match");let i=[];for(let[s,l]of e.entries())i=[...i,{match:o(s),roles:Array.from(l),specificity:r(s)}];return i.sort(n)}a(bS,"buildElementRoleList");function xs(e,t){Te(e,xs,this);let r=eS(e),n=arguments.length===1,o=!1;return n?o=r!=="":o=t instanceof RegExp?t.test(r):this.equals(r,t),{pass:o,message:a(()=>{let i=this.isNot?"not to":"to";return Ze(this,this.utils.matcherHint(`${this.isNot?".not":""}.${xs.name}`,"element",""),`Expected element ${i} have accessible name`,t,"Received",r)},"message")}}a(xs,"toHaveAccessibleName");function Wc(e,t,r){return r===void 0?t:`${t}=${e(r)}`}a(Wc,"printAttribute");function gS(e,t,r){return r===void 0?`element.hasAttribute(${e(t)})`:`element.getAttribute(${e(t)}) === ${e(r)}`}a(gS,"getAttributeComment");function vh(e,t,r){Te(e,vh,this);let n=r!==void 0,o=e.hasAttribute(t),i=e.getAttribute(t);return{pass:n?o&&this.equals(i,r):o,message:a(()=>{let s=this.isNot?"not to":"to",l=o?Wc(this.utils.stringify,t,i):null,c=this.utils.matcherHint(`${this.isNot?".not":""}.toHaveAttribute`,"element",this.utils.printExpected(t),{secondArgument:n?this.utils.printExpected(r):void 0,comment:gS(this.utils.stringify,t,r)});return Ze(this,c,`Expected the element ${s} have attribute`,Wc(this.utils.stringify,t,r),"Received",l)},"message")}}a(vh,"toHaveAttribute");function vS(e){let t=e.pop(),r,n;return typeof t=="object"&&!(t instanceof RegExp)?(r=e,n=t):(r=e.concat(t),n={exact:!1}),{expectedClassNames:r,options:n}}a(vS,"getExpectedClassNamesAndOptions");function Gc(e){return e?e.split(/\s+/).filter(t=>t.length>0):[]}a(Gc,"splitClassNames");function Kc(e,t){return e.every(r=>typeof r=="string"?t.includes(r):t.some(n=>r.test(n)))}a(Kc,"isSubset$1");function wh(e,...t){Te(e,wh,this);let{expectedClassNames:r,options:n}=vS(t),o=Gc(e.getAttribute("class")),i=r.reduce((l,c)=>l.concat(typeof c=="string"||!c?Gc(c):c),[]),s=i.some(l=>l instanceof RegExp);if(n.exact&&s)throw new Error("Exact option does not support RegExp expected class names");return n.exact?{pass:Kc(i,o)&&i.length===o.length,message:a(()=>{let l=this.isNot?"not to":"to";return Ze(this,this.utils.matcherHint(`${this.isNot?".not":""}.toHaveClass`,"element",this.utils.printExpected(i.join(" "))),`Expected the element ${l} have EXACTLY defined classes`,i.join(" "),"Received",o.join(" "))},"message")}:i.length>0?{pass:Kc(i,o),message:a(()=>{let l=this.isNot?"not to":"to";return Ze(this,this.utils.matcherHint(`${this.isNot?".not":""}.toHaveClass`,"element",this.utils.printExpected(i.join(" "))),`Expected the element ${l} have class`,i.join(" "),"Received",o.join(" "))},"message")}:{pass:this.isNot?o.length>0:!1,message:a(()=>this.isNot?Ze(this,this.utils.matcherHint(".not.toHaveClass","element",""),"Expected the element to have classes","(none)","Received",o.join(" ")):[this.utils.matcherHint(".toHaveClass","element"),"At least one expected class must be provided."].join(`
235
- `),"message")}}a(wh,"toHaveClass");function wS(e,t){let r={},n=e.createElement("div");return Object.keys(t).forEach(o=>{n.style[o]=t[o],r[o]=n.style[o]}),r}a(wS,"getStyleDeclaration");function ES(e,t){return!!Object.keys(e).length&&Object.entries(e).every(([r,n])=>{let o=r.startsWith("--"),i=[r];return o||i.push(r.toLowerCase()),i.some(s=>t[s]===n||t.getPropertyValue(s)===n)})}a(ES,"isSubset");function Yc(e){return Object.keys(e).sort().map(t=>`${t}: ${e[t]};`).join(`
236
- `)}a(Yc,"printoutStyles");function xS(e,t,r){let n=Array.from(r).filter(o=>t[o]!==void 0).reduce((o,i)=>Object.assign(o,{[i]:r.getPropertyValue(i)}),{});return e(Yc(t),Yc(n)).replace(`${s5.default.red("+ Received")}
237
- `,"")}a(xS,"expectedDiff");function Ts(e,t){Te(e,Ts,this);let r=typeof t=="object"?t:sS(t,Ts,this),{getComputedStyle:n}=e.ownerDocument.defaultView,o=wS(e.ownerDocument,r),i=n(e);return{pass:ES(o,i),message:a(()=>{let s=`${this.isNot?".not":""}.toHaveStyle`;return[this.utils.matcherHint(s,"element",""),xS(this.utils.diff,o,i)].join(`
238
-
239
- `)},"message")}}a(Ts,"toHaveStyle");function Eh(e){return Te(e,Eh,this),{pass:e.ownerDocument.activeElement===e,message:a(()=>[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(`
240
- `),"message")}}a(Eh,"toHaveFocus");function TS(e){let t=[...new Set(e.map(r=>r.type))];if(t.length!==1)throw new Error("Multiple form elements with the same name must be of the same type");switch(t[0]){case"radio":{let r=e.find(n=>n.checked);return r?r.value:void 0}case"checkbox":return e.filter(r=>r.checked).map(r=>r.value);default:return e.map(r=>r.value)}}a(TS,"getMultiElementValue");function SS(e,t){let r=[...e.querySelectorAll(`[name="${(0,l5.default)(t)}"]`)];if(r.length!==0)switch(r.length){case 1:return ph(r[0]);default:return TS(r)}}a(SS,"getFormValue");function CS(e){return/\[\]$/.test(e)?e.slice(0,-2):e}a(CS,"getPureName");function PS(e){return Array.from(e.elements).map(t=>t.name).reduce((t,r)=>({...t,[CS(r)]:SS(e,r)}),{})}a(PS,"getAllFormValues");function xh(e,t){if(Te(e,xh,this),!e.elements)throw new Error("toHaveFormValues must be called on a form or a fieldset");let r=PS(e);return{pass:Object.entries(t).every(([n,o])=>(0,ch.default)(r[n],o,tu)),message:a(()=>{let n=this.isNot?"not to":"to",o=`${this.isNot?".not":""}.toHaveFormValues`,i=Object.keys(r).filter(s=>t.hasOwnProperty(s)).reduce((s,l)=>({...s,[l]:r[l]}),{});return[this.utils.matcherHint(o,"element",""),`Expected the element ${n} have form values`,this.utils.diff(t,i)].join(`
241
-
242
- `)},"message")}}a(xh,"toHaveFormValues");function OS(e){let{getComputedStyle:t}=e.ownerDocument.defaultView,{display:r,visibility:n,opacity:o}=t(e);return r!=="none"&&n!=="hidden"&&n!=="collapse"&&o!=="0"&&o!==0}a(OS,"isStyleVisible");function _S(e,t){let r;return t?r=e.nodeName==="DETAILS"&&t.nodeName!=="SUMMARY"?e.hasAttribute("open"):!0:r=e.nodeName==="DETAILS"?e.hasAttribute("open"):!0,!e.hasAttribute("hidden")&&r}a(_S,"isAttributeVisible");function Th(e,t){return OS(e)&&_S(e,t)&&(!e.parentElement||Th(e.parentElement,e))}a(Th,"isElementVisible");function Sh(e){Te(e,Sh,this);let t=e.ownerDocument===e.getRootNode({composed:!0}),r=t&&Th(e);return{pass:r,message:a(()=>{let n=r?"is":"is not";return[this.utils.matcherHint(`${this.isNot?".not":""}.toBeVisible`,"element",""),"",`Received element ${n} visible${t?"":" (element is not in the document)"}:`,` ${this.utils.printReceived(e.cloneNode(!1))}`].join(`
243
- `)},"message")}}a(Sh,"toBeVisible");var f5=["fieldset","input","select","optgroup","option","button","textarea"];function AS(e,t){return br(e)==="legend"&&br(t)==="fieldset"&&e.isSameNode(Array.from(t.children).find(r=>br(r)==="legend"))}a(AS,"isFirstLegendChildOfFieldset");function RS(e,t){return Ph(t)&&!AS(e,t)}a(RS,"isElementDisabledByParent");function qS(e){return e.includes("-")}a(qS,"isCustomElement");function Ch(e){let t=br(e);return f5.includes(t)||qS(t)}a(Ch,"canElementBeDisabled");function Ph(e){return Ch(e)&&e.hasAttribute("disabled")}a(Ph,"isElementDisabled");function Oh(e){let t=e.parentElement;return!!t&&(RS(e,t)||Oh(t))}a(Oh,"isAncestorDisabled");function _h(e){return Ch(e)&&(Ph(e)||Oh(e))}a(_h,"isElementOrAncestorDisabled");function Ah(e){Te(e,Ah,this);let t=_h(e);return{pass:t,message:a(()=>{let r=t?"is":"is not";return[this.utils.matcherHint(`${this.isNot?".not":""}.toBeDisabled`,"element",""),"",`Received element ${r} disabled:`,` ${this.utils.printReceived(e.cloneNode(!1))}`].join(`
244
- `)},"message")}}a(Ah,"toBeDisabled");function Rh(e){Te(e,Rh,this);let t=!_h(e);return{pass:t,message:a(()=>{let r=t?"is":"is not";return[this.utils.matcherHint(`${this.isNot?".not":""}.toBeEnabled`,"element",""),"",`Received element ${r} enabled:`,` ${this.utils.printReceived(e.cloneNode(!1))}`].join(`
245
- `)},"message")}}a(Rh,"toBeEnabled");var h5=["select","textarea"],m5=["input","select","textarea"],y5=["color","hidden","range","submit","image","reset"],b5=["checkbox","combobox","gridcell","listbox","radiogroup","spinbutton","textbox","tree"];function IS(e){return h5.includes(br(e))&&e.hasAttribute("required")}a(IS,"isRequiredOnFormTagsExceptInput");function NS(e){return br(e)==="input"&&e.hasAttribute("required")&&(e.hasAttribute("type")&&!y5.includes(e.getAttribute("type"))||!e.hasAttribute("type"))}a(NS,"isRequiredOnSupportedInput");function jS(e){return e.hasAttribute("aria-required")&&e.getAttribute("aria-required")==="true"&&(m5.includes(br(e))||e.hasAttribute("role")&&b5.includes(e.getAttribute("role")))}a(jS,"isElementRequiredByARIA");function qh(e){Te(e,qh,this);let t=IS(e)||NS(e)||jS(e);return{pass:t,message:a(()=>{let r=t?"is":"is not";return[this.utils.matcherHint(`${this.isNot?".not":""}.toBeRequired`,"element",""),"",`Received element ${r} required:`,` ${this.utils.printReceived(e.cloneNode(!1))}`].join(`
246
- `)},"message")}}a(qh,"toBeRequired");var g5=["form","input","select","textarea"];function kS(e){return e.hasAttribute("aria-invalid")&&e.getAttribute("aria-invalid")!=="false"}a(kS,"isElementHavingAriaInvalid");function MS(e){return g5.includes(br(e))}a(MS,"isSupportsValidityMethod");function Ih(e){let t=kS(e);return MS(e)?t||!e.checkValidity():t}a(Ih,"isElementInvalid");function Nh(e){Te(e,Nh,this);let t=Ih(e);return{pass:t,message:a(()=>{let r=t?"is":"is not";return[this.utils.matcherHint(`${this.isNot?".not":""}.toBeInvalid`,"element",""),"",`Received element ${r} currently invalid:`,` ${this.utils.printReceived(e.cloneNode(!1))}`].join(`
247
- `)},"message")}}a(Nh,"toBeInvalid");function jh(e){Te(e,jh,this);let t=!Ih(e);return{pass:t,message:a(()=>{let r=t?"is":"is not";return[this.utils.matcherHint(`${this.isNot?".not":""}.toBeValid`,"element",""),"",`Received element ${r} currently valid:`,` ${this.utils.printReceived(e.cloneNode(!1))}`].join(`
248
- `)},"message")}}a(jh,"toBeValid");function kh(e,t){if(Te(e,kh,this),e.tagName.toLowerCase()==="input"&&["checkbox","radio"].includes(e.type))throw new Error("input with type=checkbox or type=radio cannot be used with .toHaveValue(). Use .toBeChecked() for type=checkbox or .toHaveFormValues() instead");let r=ph(e),n=t!==void 0,o=t,i=r;return t==r&&t!==r&&(o=`${t} (${typeof t})`,i=`${r} (${typeof r})`),{pass:n?(0,ch.default)(r,t,tu):!!r,message:a(()=>{let s=this.isNot?"not to":"to",l=this.utils.matcherHint(`${this.isNot?".not":""}.toHaveValue`,"element",t);return Ze(this,l,`Expected the element ${s} have value`,n?o:"(any)","Received",i)},"message")}}a(kh,"toHaveValue");function Mh(e,t){Te(e,Mh,this);let r=e.tagName.toLowerCase();if(!["select","input","textarea"].includes(r))throw new Error(".toHaveDisplayValue() currently supports only input, textarea or select elements, try with another matcher instead.");if(r==="input"&&["radio","checkbox"].includes(e.type))throw new Error(`.toHaveDisplayValue() currently does not support input[type="${e.type}"], try with another matcher instead.`);let n=$S(r,e),o=LS(t),i=o.filter(c=>n.some(u=>c instanceof RegExp?c.test(u):this.equals(u,String(c)))).length,s=i===n.length,l=i===o.length;return{pass:s&&l,message:a(()=>Ze(this,this.utils.matcherHint(`${this.isNot?".not":""}.toHaveDisplayValue`,"element",""),`Expected element ${this.isNot?"not ":""}to have display value`,t,"Received",n),"message")}}a(Mh,"toHaveDisplayValue");function $S(e,t){return e==="select"?Array.from(t).filter(r=>r.selected).map(r=>r.textContent):[t.value]}a($S,"getValues");function LS(e){return e instanceof Array?e:[e]}a(LS,"getExpectedValues");function $h(e){Te(e,$h,this);let t=a(()=>e.tagName.toLowerCase()==="input"&&["checkbox","radio"].includes(e.type),"isValidInput"),r=a(()=>Lh(e.getAttribute("role"))&&["true","false"].includes(e.getAttribute("aria-checked")),"isValidAriaElement");if(!t()&&!r())return{pass:!1,message:a(()=>`only inputs with type="checkbox" or type="radio" or elements with ${DS()} and a valid aria-checked attribute can be used with .toBeChecked(). Use .toHaveValue() instead`,"message")};let n=a(()=>t()?e.checked:e.getAttribute("aria-checked")==="true","isChecked");return{pass:n(),message:a(()=>{let o=n()?"is":"is not";return[this.utils.matcherHint(`${this.isNot?".not":""}.toBeChecked`,"element",""),"",`Received element ${o} checked:`,` ${this.utils.printReceived(e.cloneNode(!1))}`].join(`
249
- `)},"message")}}a($h,"toBeChecked");function DS(){return pS(FS().map(e=>`role="${e}"`),{lastWordConnector:" or "})}a(DS,"supportedRolesSentence");function FS(){return uh.roles.keys().filter(Lh)}a(FS,"supportedRoles");function Lh(e){return uh.roles.get(e)?.props["aria-checked"]!==void 0}a(Lh,"roleSupportsChecked");function Dh(e){Te(e,Dh,this);let t=a(()=>e.tagName.toLowerCase()==="input"&&e.type==="checkbox","isValidInput"),r=a(()=>e.getAttribute("role")==="checkbox","isValidAriaElement");if(!t()&&!r())return{pass:!1,message:a(()=>'only inputs with type="checkbox" or elements with role="checkbox" and a valid aria-checked attribute can be used with .toBePartiallyChecked(). Use .toHaveValue() instead',"message")};let n=a(()=>{let o=e.getAttribute("aria-checked")==="mixed";return t()&&e.indeterminate||o},"isPartiallyChecked");return{pass:n(),message:a(()=>{let o=n()?"is":"is not";return[this.utils.matcherHint(`${this.isNot?".not":""}.toBePartiallyChecked`,"element",""),"",`Received element ${o} partially checked:`,` ${this.utils.printReceived(e.cloneNode(!1))}`].join(`
250
- `)},"message")}}a(Dh,"toBePartiallyChecked");function Fh(e,t){mi("toHaveDescription","Please use toHaveAccessibleDescription."),Te(e,Fh,this);let r=t!==void 0,n=(e.getAttribute("aria-describedby")||"").split(/\s+/).filter(Boolean),o="";if(n.length>0){let i=e.ownerDocument,s=n.map(l=>i.getElementById(l)).filter(Boolean);o=yi(s.map(l=>l.textContent).join(" "))}return{pass:r?t instanceof RegExp?t.test(o):this.equals(o,t):!!o,message:a(()=>{let i=this.isNot?"not to":"to";return Ze(this,this.utils.matcherHint(`${this.isNot?".not":""}.toHaveDescription`,"element",""),`Expected the element ${i} have description`,this.utils.printExpected(t),"Received",this.utils.printReceived(o))},"message")}}a(Fh,"toHaveDescription");function Bh(e,t){if(mi("toHaveErrorMessage","Please use toHaveAccessibleErrorMessage."),Te(e,Bh,this),!e.hasAttribute("aria-invalid")||e.getAttribute("aria-invalid")==="false"){let i=this.isNot?".not":"";return{pass:!1,message:a(()=>Ze(this,this.utils.matcherHint(`${i}.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("")),"message")}}let r=t!==void 0,n=(e.getAttribute("aria-errormessage")||"").split(/\s+/).filter(Boolean),o="";if(n.length>0){let i=e.ownerDocument,s=n.map(l=>i.getElementById(l)).filter(Boolean);o=yi(s.map(l=>l.textContent).join(" "))}return{pass:r?t instanceof RegExp?t.test(o):this.equals(o,t):!!o,message:a(()=>{let i=this.isNot?"not to":"to";return Ze(this,this.utils.matcherHint(`${this.isNot?".not":""}.toHaveErrorMessage`,"element",""),`Expected the element ${i} have error message`,this.utils.printExpected(t),"Received",this.utils.printReceived(o))},"message")}}a(Bh,"toHaveErrorMessage");function BS(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 r=t.getRangeAt(0),n=e.ownerDocument.createRange();if(t.containsNode(e,!1))n.selectNodeContents(e),t.removeAllRanges(),t.addRange(n);else if(!(e.contains(t.anchorNode)&&e.contains(t.focusNode))){let i=e===r.startContainer||e.contains(r.startContainer),s=e===r.endContainer||e.contains(r.endContainer);t.removeAllRanges(),(i||s)&&(n.selectNodeContents(e),i&&n.setStart(r.startContainer,r.startOffset),s&&n.setEnd(r.endContainer,r.endOffset),t.addRange(n))}let o=t.toString();return t.removeAllRanges(),t.addRange(r),o}a(BS,"getSelection");function Uh(e,t){Te(e,Uh,this);let r=t!==void 0;if(r&&typeof t!="string")throw new Error("expected selection must be a string or undefined");let n=BS(e);return{pass:r?(0,ch.default)(n,t,tu):!!n,message:a(()=>{let o=this.isNot?"not to":"to",i=this.utils.matcherHint(`${this.isNot?".not":""}.toHaveSelection`,"element",t);return Ze(this,i,`Expected the element ${o} have selection`,r?t:"(any)","Received",n)},"message")}}a(Uh,"toHaveSelection");He(tv(),1);He(rv(),1);He(ov(),1);He(mv(),1);He(yv(),1);var Vu,Nb;function US(){if(Nb)return Vu;Nb=1;var e,t,r,n,o,i,s,l,c,u,d,p,h,f,m,b,g,v,w;return h=/\/(?![*\/])(?:\[(?:(?![\]\\]).|\\.)*\]|(?![\/\\]).|\\.)*(\/[$_\u200C\u200D\p{ID_Continue}]*|\\)?/yu,p=/--|\+\+|=>|\.{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]+\})+/yu,m=/(['"])(?:(?!\1)[^\\\n\r]|\\(?:\r\n|[^]))*(\1)?/y,d=/(?: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,b=/[`}](?:[^`\\$]|\\[^]|\$(?!\{))*(`|\$\{)?/y,w=/[\t\v\f\ufeff\p{Zs}]+/yu,l=/\r?\n|[\r\u2028\u2029]/y,c=/\/\*(?:[^*]|\*(?!\/))*(\*\/)?/y,f=/\/\/.*/y,r=/[<>.:={}]|\/(?![\/*])/y,t=/[$_\p{ID_Start}][$_\u200C\u200D\p{ID_Continue}-]*/yu,n=/(['"])(?:(?!\1)[^])*(\1)?/y,o=/[^<>{}]+/y,v=/^(?:[\/+-]|\.{3}|\?(?:InterpolationIn(?:JSX|Template)|NoLineTerminatorHere|NonExpressionParenEnd|UnaryIncDec))?$|[{}([,;<>=*%&|^!~?:]$/,g=/^(?:=>|[;\]){}]|else|\?(?:NoLineTerminatorHere|NonExpressionParenEnd))?$/,i=/^(?:await|case|default|delete|do|else|instanceof|new|return|throw|typeof|void|yield)$/,s=/^(?:return|throw|yield)$/,u=RegExp(l.source),Vu=a(function*(P,{jsx:A=!1}={}){var R,T,E,x,C,k,I,U,D,O,M,$,K,G;for({length:k}=P,x=0,C="",G=[{tag:"JS"}],R=[],M=0,$=!1;x<k;){switch(U=G[G.length-1],U.tag){case"JS":case"JSNonExpressionParen":case"InterpolationInTemplate":case"InterpolationInJSX":if(P[x]==="/"&&(v.test(C)||i.test(C))&&(h.lastIndex=x,I=h.exec(P))){x=h.lastIndex,C=I[0],$=!0,yield{type:"RegularExpressionLiteral",value:I[0],closed:I[1]!==void 0&&I[1]!=="\\"};continue}if(p.lastIndex=x,I=p.exec(P)){switch(K=I[0],D=p.lastIndex,O=K,K){case"(":C==="?NonExpressionParenKeyword"&&G.push({tag:"JSNonExpressionParen",nesting:M}),M++,$=!1;break;case")":M--,$=!0,U.tag==="JSNonExpressionParen"&&M===U.nesting&&(G.pop(),O="?NonExpressionParenEnd",$=!1);break;case"{":p.lastIndex=0,E=!g.test(C)&&(v.test(C)||i.test(C)),R.push(E),$=!1;break;case"}":switch(U.tag){case"InterpolationInTemplate":if(R.length===U.nesting){b.lastIndex=x,I=b.exec(P),x=b.lastIndex,C=I[0],I[1]==="${"?(C="?InterpolationInTemplate",$=!1,yield{type:"TemplateMiddle",value:I[0]}):(G.pop(),$=!0,yield{type:"TemplateTail",value:I[0],closed:I[1]==="`"});continue}break;case"InterpolationInJSX":if(R.length===U.nesting){G.pop(),x+=1,C="}",yield{type:"JSXPunctuator",value:"}"};continue}}$=R.pop(),O=$?"?ExpressionBraceEnd":"}";break;case"]":$=!0;break;case"++":case"--":O=$?"?PostfixIncDec":"?UnaryIncDec";break;case"<":if(A&&(v.test(C)||i.test(C))){G.push({tag:"JSXTag"}),x+=1,C="<",yield{type:"JSXPunctuator",value:K};continue}$=!1;break;default:$=!1}x=D,C=O,yield{type:"Punctuator",value:K};continue}if(e.lastIndex=x,I=e.exec(P)){switch(x=e.lastIndex,O=I[0],I[0]){case"for":case"if":case"while":case"with":C!=="."&&C!=="?."&&(O="?NonExpressionParenKeyword")}C=O,$=!i.test(I[0]),yield{type:I[1]==="#"?"PrivateIdentifier":"IdentifierName",value:I[0]};continue}if(m.lastIndex=x,I=m.exec(P)){x=m.lastIndex,C=I[0],$=!0,yield{type:"StringLiteral",value:I[0],closed:I[2]!==void 0};continue}if(d.lastIndex=x,I=d.exec(P)){x=d.lastIndex,C=I[0],$=!0,yield{type:"NumericLiteral",value:I[0]};continue}if(b.lastIndex=x,I=b.exec(P)){x=b.lastIndex,C=I[0],I[1]==="${"?(C="?InterpolationInTemplate",G.push({tag:"InterpolationInTemplate",nesting:R.length}),$=!1,yield{type:"TemplateHead",value:I[0]}):($=!0,yield{type:"NoSubstitutionTemplate",value:I[0],closed:I[1]==="`"});continue}break;case"JSXTag":case"JSXTagEnd":if(r.lastIndex=x,I=r.exec(P)){switch(x=r.lastIndex,O=I[0],I[0]){case"<":G.push({tag:"JSXTag"});break;case">":G.pop(),C==="/"||U.tag==="JSXTagEnd"?(O="?JSX",$=!0):G.push({tag:"JSXChildren"});break;case"{":G.push({tag:"InterpolationInJSX",nesting:R.length}),O="?InterpolationInJSX",$=!1;break;case"/":C==="<"&&(G.pop(),G[G.length-1].tag==="JSXChildren"&&G.pop(),G.push({tag:"JSXTagEnd"}))}C=O,yield{type:"JSXPunctuator",value:I[0]};continue}if(t.lastIndex=x,I=t.exec(P)){x=t.lastIndex,C=I[0],yield{type:"JSXIdentifier",value:I[0]};continue}if(n.lastIndex=x,I=n.exec(P)){x=n.lastIndex,C=I[0],yield{type:"JSXString",value:I[0],closed:I[2]!==void 0};continue}break;case"JSXChildren":if(o.lastIndex=x,I=o.exec(P)){x=o.lastIndex,C=I[0],yield{type:"JSXText",value:I[0]};continue}switch(P[x]){case"<":G.push({tag:"JSXTag"}),x++,C="<",yield{type:"JSXPunctuator",value:"<"};continue;case"{":G.push({tag:"InterpolationInJSX",nesting:R.length}),x++,C="?InterpolationInJSX",$=!1,yield{type:"JSXPunctuator",value:"{"};continue}}if(w.lastIndex=x,I=w.exec(P)){x=w.lastIndex,yield{type:"WhiteSpace",value:I[0]};continue}if(l.lastIndex=x,I=l.exec(P)){x=l.lastIndex,$=!1,s.test(C)&&(C="?NoLineTerminatorHere"),yield{type:"LineTerminatorSequence",value:I[0]};continue}if(c.lastIndex=x,I=c.exec(P)){x=c.lastIndex,u.test(I[0])&&($=!1,s.test(C)&&(C="?NoLineTerminatorHere")),yield{type:"MultiLineComment",value:I[0],closed:I[1]!==void 0};continue}if(f.lastIndex=x,I=f.exec(P)){x=f.lastIndex,$=!1,yield{type:"SingleLineComment",value:I[0]};continue}T=String.fromCodePoint(P.codePointAt(x)),x+=T.length,C=T,$=!1,yield{type:U.tag.startsWith("JSX")?"JSXInvalid":"Invalid",value:T}}},"jsTokens_1"),Vu}a(US,"requireJsTokens");US();var HS={keyword:["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete"],strict:["implements","interface","let","package","private","protected","public","static","yield"]};new Set(HS.keyword);new Set(HS.strict);function wa(e,t){if(!e)throw new Error(t)}a(wa,"assert");function on(e,t){return typeof t===e}a(on,"isType");function VS(e){return e instanceof Promise}a(VS,"isPromise");function ho(e,t,r){Object.defineProperty(e,t,r)}a(ho,"define");function cn(e,t,r){ho(e,t,{value:r,configurable:!0,writable:!0})}a(cn,"defineValue");var Mr=Symbol.for("tinyspy:spy"),v5=new Set,w5=a(e=>{e.called=!1,e.callCount=0,e.calls=[],e.results=[],e.resolves=[],e.next=[]},"reset"),E5=a(e=>(ho(e,Mr,{value:{reset:a(()=>w5(e[Mr]),"reset")}}),e[Mr]),"defineState"),Xc=a(e=>e[Mr]||E5(e),"getInternalState");function JS(e){wa(on("function",e)||on("undefined",e),"cannot spy on a non-function value");let t=a(function(...n){let o=Xc(t);o.called=!0,o.callCount++,o.calls.push(n);let i=o.next.shift();if(i){o.results.push(i);let[d,p]=i;if(d==="ok")return p;throw p}let s,l="ok",c=o.results.length;if(o.impl)try{new.target?s=Reflect.construct(o.impl,n,new.target):s=o.impl.apply(this,n),l="ok"}catch(d){throw s=d,l="error",o.results.push([l,d]),d}let u=[l,s];return VS(s)&&s.then(d=>o.resolves[c]=["ok",d],d=>o.resolves[c]=["error",d]),o.results.push(u),s},"fn");cn(t,"_isMockFunction",!0),cn(t,"length",e?e.length:0),cn(t,"name",e&&e.name||"spy");let r=Xc(t);return r.reset(),r.impl=e,t}a(JS,"createInternalSpy");function zS(e){return!!e&&e._isMockFunction===!0}a(zS,"isMockFunction");var WS=a((e,t)=>{let r=Object.getOwnPropertyDescriptor(e,t);if(r)return[e,r];let n=Object.getPrototypeOf(e);for(;n!==null;){let o=Object.getOwnPropertyDescriptor(n,t);if(o)return[n,o];n=Object.getPrototypeOf(n)}},"getDescriptor"),jb=a((e,t)=>{t!=null&&typeof t=="function"&&t.prototype!=null&&Object.setPrototypeOf(e.prototype,t.prototype)},"setPototype");function Hh(e,t,r){wa(!on("undefined",e),"spyOn could not find an object to spy upon"),wa(on("object",e)||on("function",e),"cannot spyOn on a primitive value");let[n,o]=(()=>{if(!on("object",t))return[t,"value"];if("getter"in t&&"setter"in t)throw new Error("cannot spy on both getter and setter");if("getter"in t)return[t.getter,"get"];if("setter"in t)return[t.setter,"set"];throw new Error("specify getter or setter to spy on")})(),[i,s]=WS(e,n)||[];wa(s||n in e,`${String(n)} does not exist`);let l=!1;o==="value"&&s&&!s.value&&s.get&&(o="get",l=!0,r=s.get());let c;s?c=s[o]:o!=="value"?c=a(()=>e[n],"original"):c=e[n],c&&YS(c)&&(c=c[Mr].getOriginal());let u=a(f=>{let{value:m,...b}=s||{configurable:!0,writable:!0};o!=="value"&&delete b.writable,b[o]=f,ho(e,n,b)},"reassign"),d=a(()=>{i!==e?Reflect.deleteProperty(e,n):s&&!c?ho(e,n,s):u(c)},"restore");r||(r=c);let p=KS(JS(r),r);o==="value"&&jb(p,c);let h=p[Mr];return cn(h,"restore",d),cn(h,"getOriginal",()=>l?c():c),cn(h,"willCall",f=>(h.impl=f,p)),u(l?()=>(jb(p,r),p):p),v5.add(p),p}a(Hh,"internalSpyOn");var x5=new Set(["length","name","prototype"]);function GS(e){let t=new Set,r={};for(;e&&e!==Object.prototype&&e!==Function.prototype;){let n=[...Object.getOwnPropertyNames(e),...Object.getOwnPropertySymbols(e)];for(let o of n)r[o]||x5.has(o)||(t.add(o),r[o]=Object.getOwnPropertyDescriptor(e,o));e=Object.getPrototypeOf(e)}return{properties:t,descriptors:r}}a(GS,"getAllProperties");function KS(e,t){if(!t||Mr in t)return e;let{properties:r,descriptors:n}=GS(t);for(let o of r){let i=n[o];WS(e,o)||ho(e,o,i)}return e}a(KS,"wrap");function YS(e){return zS(e)&&"getOriginal"in e[Mr]}a(YS,"isSpyFunction");var bi=new Set;function dn(e){return typeof e=="function"&&"_isMockFunction"in e&&e._isMockFunction}a(dn,"isMockFunction");function XS(e,t,r){let n=r?{[{get:"getter",set:"setter"}[r]]:t}:t,o,i=QS(e,t),s=i&&i[r||"value"];dn(s)&&(o=s.mock._state());try{let l=Hh(e,n),c=Vh(l);return o&&c.mock._state(o),c}catch(l){throw l instanceof TypeError&&Symbol.toStringTag&&e[Symbol.toStringTag]==="Module"&&(l.message.includes("Cannot redefine property")||l.message.includes("Cannot replace module namespace")||l.message.includes("can't redefine non-configurable property"))?new TypeError(`Cannot spy on export "${String(n)}". Module namespace is not configurable in ESM. See: https://vitest.dev/guide/browser/#limitations`,{cause:l}):l}}a(XS,"spyOn");var T5=0;function Vh(e){let t=e,r,n=[],o=!1,i=[],s=[],l=[],c=Xc(e),u={get calls(){return c.calls},get contexts(){return s},get instances(){return i},get invocationCallOrder(){return l},get results(){return c.results.map(([f,m])=>({type:f==="error"?"throw":"return",value:m}))},get settledResults(){return c.resolves.map(([f,m])=>({type:f==="error"?"rejected":"fulfilled",value:m}))},get lastCall(){return c.calls[c.calls.length-1]},_state(f){return f&&(r=f.implementation,n=f.onceImplementations,o=f.implementationChangedTemporarily),{implementation:r,onceImplementations:n,implementationChangedTemporarily:o}}};function d(...f){return i.push(this),s.push(this),l.push(++T5),(o?r:n.shift()||r||c.getOriginal()||(()=>{})).apply(this,f)}a(d,"mockCall");let p=t.name;t.getMockName=()=>p||"vi.fn()",t.mockName=f=>(p=f,t),t.mockClear=()=>(c.reset(),i=[],s=[],l=[],t),t.mockReset=()=>(t.mockClear(),r=void 0,n=[],t),t.mockRestore=()=>(t.mockReset(),c.restore(),t),Symbol.dispose&&(t[Symbol.dispose]=()=>t.mockRestore()),t.getMockImplementation=()=>o?r:n.at(0)||r,t.mockImplementation=f=>(r=f,c.willCall(d),t),t.mockImplementationOnce=f=>(n.push(f),t);function h(f,m){let b=r;r=f,c.willCall(d),o=!0;let g=a(()=>{r=b,o=!1},"reset"),v=m();return typeof v=="object"&&v&&typeof v.then=="function"?v.then(()=>(g(),t)):(g(),t)}return a(h,"withImplementation"),t.withImplementation=h,t.mockReturnThis=()=>t.mockImplementation(function(){return this}),t.mockReturnValue=f=>t.mockImplementation(()=>f),t.mockReturnValueOnce=f=>t.mockImplementationOnce(()=>f),t.mockResolvedValue=f=>t.mockImplementation(()=>Promise.resolve(f)),t.mockResolvedValueOnce=f=>t.mockImplementationOnce(()=>Promise.resolve(f)),t.mockRejectedValue=f=>t.mockImplementation(()=>Promise.reject(f)),t.mockRejectedValueOnce=f=>t.mockImplementationOnce(()=>Promise.reject(f)),Object.defineProperty(t,"mock",{get:a(()=>u,"get")}),c.willCall(d),bi.add(t),t}a(Vh,"enhanceSpy");function Qc(e){let t=Vh(Hh({spy:e||function(){}},"spy"));return e&&t.mockImplementation(e),t}a(Qc,"fn");function QS(e,t){let r=Object.getOwnPropertyDescriptor(e,t);if(r)return r;let n=Object.getPrototypeOf(e);for(;n!==null;){let o=Object.getOwnPropertyDescriptor(n,t);if(o)return o;n=Object.getPrototypeOf(n)}}a(QS,"getDescriptor");var Da=Symbol.for("matchers-object"),Fa=Symbol.for("$$jest-matchers-object-storybook"),Jh=Symbol.for("expect-global"),Zc=Symbol.for("asymmetric-matchers-object"),S5={toSatisfy(e,t,r){let{printReceived:n,printExpected:o,matcherHint:i}=this.utils,s=t(e);return{pass:s,message:a(()=>s?`${i(".not.toSatisfy","received","")}
251
-
252
- Expected value to not satisfy:
253
- ${r||o(t)}
254
- Received:
255
- ${n(e)}`:`${i(".toSatisfy","received","")}
256
-
257
- Expected value to satisfy:
258
- ${r||o(t)}
259
-
260
- Received:
261
- ${n(e)}`,"message")}},toBeOneOf(e,t){let{equals:r,customTesters:n}=this,{printReceived:o,printExpected:i,matcherHint:s}=this.utils;if(!Array.isArray(t))throw new TypeError(`You must provide an array to ${s(".toBeOneOf")}, not '${typeof t}'.`);let l=t.length===0||t.some(c=>r(c,e,n));return{pass:l,message:a(()=>l?`${s(".not.toBeOneOf","received","")}
262
-
263
- Expected value to not be one of:
264
- ${i(t)}
265
- Received:
266
- ${o(e)}`:`${s(".toBeOneOf","received","")}
267
-
268
- Expected value to be one of:
269
- ${i(t)}
270
-
271
- Received:
272
- ${o(e)}`,"message")}}},Ss=Fe.green,zh=Fe.red,C5=Fe.inverse,P5=Fe.bold,Pr=Fe.dim;function ZS(e,t="received",r="expected",n={}){let{comment:o="",isDirectExpectCall:i=!1,isNot:s=!1,promise:l="",secondArgument:c="",expectedColor:u=Ss,receivedColor:d=zh,secondArgumentColor:p=Ss}=n,h="",f="expect";return!i&&t!==""&&(h+=Pr(`${f}(`)+d(t),f=")"),l!==""&&(h+=Pr(`${f}.`)+l,f=""),s&&(h+=`${Pr(`${f}.`)}not`,f=""),e.includes(".")?f+=e:(h+=Pr(`${f}.`)+e,f=""),r===""?f+="()":(h+=Pr(`${f}(`)+u(r),c&&(h+=Pr(", ")+p(c)),f=")"),o!==""&&(f+=` // ${o}`),f!==""&&(h+=Pr(f)),h}a(ZS,"matcherHint");var O5="·";function Wh(e){return e.replace(/\s+$/gm,t=>O5.repeat(t.length))}a(Wh,"replaceTrailingSpaces");function eC(e){return zh(Wh(dt(e)))}a(eC,"printReceived");function tC(e){return Ss(Wh(dt(e)))}a(tC,"printExpected");function Gh(){return{EXPECTED_COLOR:Ss,RECEIVED_COLOR:zh,INVERTED_COLOR:C5,BOLD_WEIGHT:P5,DIM_COLOR:Pr,diff:Rn,matcherHint:ZS,printReceived:eC,printExpected:tC,printDiffOrStringify:hf,printWithType:rC}}a(Gh,"getMatcherUtils");function rC(e,t,r){let n=qa(t),o=n!=="null"&&n!=="undefined"?`${e} has type: ${n}
273
- `:"",i=`${e} has value: ${r(t)}`;return o+i}a(rC,"printWithType");function ru(){return globalThis[Fa].customEqualityTesters}a(ru,"getCustomEqualityTesters");function Ee(e,t,r,n){return r=r||[],eo(e,t,[],[],r,n?Kh:aC)}a(Ee,"equals");function ed(e){return!!e&&typeof e=="object"&&"asymmetricMatch"in e&&Rt("Function",e.asymmetricMatch)}a(ed,"isAsymmetric");function nC(e,t){let r=ed(e),n=ed(t);if(!(r&&n)){if(r)return e.asymmetricMatch(t);if(n)return t.asymmetricMatch(e)}}a(nC,"asymmetricMatch");function eo(e,t,r,n,o,i){let s=!0,l=nC(e,t);if(l!==void 0)return l;let c={equals:Ee};for(let m=0;m<o.length;m++){let b=o[m].call(c,e,t,o);if(b!==void 0)return b}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 u=Object.prototype.toString.call(e);if(u!==Object.prototype.toString.call(t))return!1;switch(u){case"[object Boolean]":case"[object String]":case"[object Number]":return typeof e!=typeof t?!1:typeof e!="object"&&typeof t!="object"?Object.is(e,t):Object.is(e.valueOf(),t.valueOf());case"[object Date]":{let m=+e,b=+t;return m===b||Number.isNaN(m)&&Number.isNaN(b)}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(rd(e)&&rd(t))return e.isEqualNode(t);let d=r.length;for(;d--;){if(r[d]===e)return n[d]===t;if(n[d]===t)return!1}if(r.push(e),n.push(t),u==="[object Array]"&&e.length!==t.length)return!1;if(e instanceof Error&&t instanceof Error)try{return oC(e,t,r,n,o,i)}finally{r.pop(),n.pop()}let p=td(e,i),h,f=p.length;if(td(t,i).length!==f)return!1;for(;f--;)if(h=p[f],s=i(t,h)&&eo(e[h],t[h],r,n,o,i),!s)return!1;return r.pop(),n.pop(),s}a(eo,"eq");function oC(e,t,r,n,o,i){let s=Object.getPrototypeOf(e)===Object.getPrototypeOf(t)&&e.name===t.name&&e.message===t.message;return typeof t.cause<"u"&&s&&(s=eo(e.cause,t.cause,r,n,o,i)),e instanceof AggregateError&&t instanceof AggregateError&&s&&(s=eo(e.errors,t.errors,r,n,o,i)),s&&(s=eo({...e},{...t},r,n,o,i)),s}a(oC,"isErrorEqual");function td(e,t){let r=[];for(let n in e)t(e,n)&&r.push(n);return r.concat(Object.getOwnPropertySymbols(e).filter(n=>Object.getOwnPropertyDescriptor(e,n).enumerable))}a(td,"keys");function aC(e,t){return Kh(e,t)&&e[t]!==void 0}a(aC,"hasDefinedKey");function Kh(e,t){return Object.prototype.hasOwnProperty.call(e,t)}a(Kh,"hasKey");function Rt(e,t){return Object.prototype.toString.apply(t)===`[object ${e}]`}a(Rt,"isA");function rd(e){return e!==null&&typeof e=="object"&&"nodeType"in e&&typeof e.nodeType=="number"&&"nodeName"in e&&typeof e.nodeName=="string"&&"isEqualNode"in e&&typeof e.isEqualNode=="function"}a(rd,"isDomNode");var iC="@@__IMMUTABLE_KEYED__@@",sC="@@__IMMUTABLE_SET__@@",_5="@@__IMMUTABLE_LIST__@@",nu="@@__IMMUTABLE_ORDERED__@@",A5="@@__IMMUTABLE_RECORD__@@";function lC(e){return!!(e&&e[iC]&&!e[nu])}a(lC,"isImmutableUnorderedKeyed");function uC(e){return!!(e&&e[sC]&&!e[nu])}a(uC,"isImmutableUnorderedSet");function gi(e){return e!=null&&typeof e=="object"&&!Array.isArray(e)}a(gi,"isObjectLiteral");function cC(e){return!!(e&&gi(e)&&e[_5])}a(cC,"isImmutableList");function dC(e){return!!(e&&gi(e)&&e[iC]&&e[nu])}a(dC,"isImmutableOrderedKeyed");function pC(e){return!!(e&&gi(e)&&e[sC]&&e[nu])}a(pC,"isImmutableOrderedSet");function fC(e){return!!(e&&gi(e)&&e[A5])}a(fC,"isImmutableRecord");var hC=Symbol.iterator;function nd(e){return!!(e!=null&&e[hC])}a(nd,"hasIterator");function Et(e,t,r=[],n=[],o=[]){if(typeof e!="object"||typeof t!="object"||Array.isArray(e)||Array.isArray(t)||!nd(e)||!nd(t))return;if(e.constructor!==t.constructor)return!1;let i=n.length;for(;i--;)if(n[i]===e)return o[i]===t;n.push(e),o.push(t);let s=[...r.filter(u=>u!==Et),l];function l(u,d){return Et(u,d,[...r],[...n],[...o])}if(a(l,"iterableEqualityWithStack"),e.size!==void 0){if(e.size!==t.size)return!1;if(Rt("Set",e)||uC(e)){let u=!0;for(let d of e)if(!t.has(d)){let p=!1;for(let h of t)Ee(d,h,s)===!0&&(p=!0);if(p===!1){u=!1;break}}return n.pop(),o.pop(),u}else if(Rt("Map",e)||lC(e)){let u=!0;for(let d of e)if(!t.has(d[0])||!Ee(d[1],t.get(d[0]),s)){let p=!1;for(let h of t){let f=Ee(d[0],h[0],s),m=!1;f===!0&&(m=Ee(d[1],h[1],s)),m===!0&&(p=!0)}if(p===!1){u=!1;break}}return n.pop(),o.pop(),u}}let c=t[hC]();for(let u of e){let d=c.next();if(d.done||!Ee(u,d.value,s))return!1}if(!c.next().done)return!1;if(!cC(e)&&!dC(e)&&!pC(e)&&!fC(e)){let u=Object.entries(e),d=Object.entries(t);if(!Ee(u,d,s))return!1}return n.pop(),o.pop(),!0}a(Et,"iterableEquality");function ou(e,t){return!e||typeof e!="object"||e===Object.prototype?!1:Object.prototype.hasOwnProperty.call(e,t)||ou(Object.getPrototypeOf(e),t)}a(ou,"hasPropertyInObject");function mC(e){return ga(e)&&!(e instanceof Error)&&!Array.isArray(e)&&!(e instanceof Date)}a(mC,"isObjectWithKeys");function Mo(e,t,r=[]){let n=r.filter(i=>i!==Mo),o=a((i=new WeakMap)=>(s,l)=>{if(mC(l))return Object.keys(l).every(c=>{if(l[c]!=null&&typeof l[c]=="object"){if(i.has(l[c]))return Ee(s[c],l[c],n);i.set(l[c],!0)}let u=s!=null&&ou(s,c)&&Ee(s[c],l[c],[...n,o(i)]);return i.delete(l[c]),u})},"subsetEqualityWithContext");return o()(e,t)}a(Mo,"subsetEquality");function od(e,t){if(!(e==null||t==null||e.constructor===t.constructor))return!1}a(od,"typeEquality");function ad(e,t){let r=e,n=t;if(!(e instanceof DataView&&t instanceof DataView)){if(!(e instanceof ArrayBuffer)||!(t instanceof ArrayBuffer))return;try{r=new DataView(e),n=new DataView(t)}catch{return}}if(r.byteLength!==n.byteLength)return!1;for(let o=0;o<r.byteLength;o++)if(r.getUint8(o)!==n.getUint8(o))return!1;return!0}a(ad,"arrayBufferEquality");function Cs(e,t,r=[]){if(!Array.isArray(e)||!Array.isArray(t))return;let n=Object.keys(e),o=Object.keys(t),i=r.filter(s=>s!==Cs);return Ee(e,t,i,!0)&&Ee(n,o)}a(Cs,"sparseArrayEquality");function yC(e,t="#{this}",r="#{exp}"){let n=`expected ${t} to be ${r} // Object.is equality`;return["toStrictEqual","toEqual"].includes(e)?`${n}
274
-
275
- If it should pass with deep equality, replace "toBe" with "${e}"
276
-
277
- Expected: ${t}
278
- Received: serializes to the same string
279
- `:n}a(yC,"generateToBeMessage");function bC(e,t){return`${t} ${e}${t===1?"":"s"}`}a(bC,"pluralize");function Ni(e){return[...Object.keys(e),...Object.getOwnPropertySymbols(e).filter(t=>{var r;return(r=Object.getOwnPropertyDescriptor(e,t))===null||r===void 0?void 0:r.enumerable})]}a(Ni,"getObjectKeys");function gC(e,t,r){let n=0,o=a((i=new WeakMap)=>(s,l)=>{if(Array.isArray(s)){if(Array.isArray(l)&&l.length===s.length)return l.map((c,u)=>o(i)(s[u],c))}else{if(s instanceof Date)return s;if(ga(s)&&ga(l)){if(Ee(s,l,[...r,Et,Mo]))return l;let c={};i.set(s,c),typeof s.constructor=="function"&&typeof s.constructor.name=="string"&&Object.defineProperty(c,"constructor",{enumerable:!1,value:s.constructor});for(let u of Ni(s))ou(l,u)?c[u]=i.has(s[u])?i.get(s[u]):o(i)(s[u],l[u]):i.has(s[u])||(n+=1,ga(s[u])&&(n+=Ni(s[u]).length),o(i)(s[u],l[u]));if(Ni(c).length>0)return c}}return s},"getObjectSubsetWithContext");return{subset:o()(e,t),stripped:n}}a(gC,"getObjectSubset");if(!Object.prototype.hasOwnProperty.call(globalThis,Da)){let e=new WeakMap;Object.defineProperty(globalThis,Da,{get:a(()=>e,"get")})}if(!Object.prototype.hasOwnProperty.call(globalThis,Fa)){let e=Object.create(null),t=[];Object.defineProperty(globalThis,Fa,{configurable:!0,get:a(()=>({state:globalThis[Da].get(globalThis[Jh]),matchers:e,customEqualityTesters:t}),"get")})}if(!Object.prototype.hasOwnProperty.call(globalThis,Zc)){let e=Object.create(null);Object.defineProperty(globalThis,Zc,{get:a(()=>e,"get")})}function Ba(e){return globalThis[Da].get(e)}a(Ba,"getState");function ji(e,t){let r=globalThis[Da],n=r.get(t)||{},o=Object.defineProperties(n,{...Object.getOwnPropertyDescriptors(n),...Object.getOwnPropertyDescriptors(e)});r.set(t,o)}a(ji,"setState");var vC=class{$$typeof=Symbol.for("jest.asymmetricMatcher");constructor(t,r=!1){this.sample=t,this.inverse=r}getMatcherContext(t){return{...Ba(t||globalThis[Jh]),equals:Ee,isNot:this.inverse,customTesters:ru(),utils:{...Gh(),diff:Rn,stringify:dt,iterableEquality:Et,subsetEquality:Mo}}}};a(vC,"AsymmetricMatcher");var Er=vC;Er.prototype[Symbol.for("chai/inspect")]=function(e){let t=dt(this,e.depth,{min:!0});return t.length<=e.truncate?t:`${this.toString()}{…}`};var wC=class extends Er{constructor(t,r=!1){if(!Rt("String",t))throw new Error("Expected is not a string");super(t,r)}asymmetricMatch(t){let r=Rt("String",t)&&t.includes(this.sample);return this.inverse?!r:r}toString(){return`String${this.inverse?"Not":""}Containing`}getExpectedType(){return"string"}};a(wC,"StringContaining");var kb=wC,EC=class extends Er{asymmetricMatch(t){return t!=null}toString(){return"Anything"}toAsymmetricMatcher(){return"Anything"}};a(EC,"Anything");var R5=EC,xC=class extends Er{constructor(t,r=!1){super(t,r)}getPrototype(t){return Object.getPrototypeOf?Object.getPrototypeOf(t):t.constructor.prototype===t?null:t.constructor.prototype}hasProperty(t,r){return t?Object.prototype.hasOwnProperty.call(t,r)?!0:this.hasProperty(this.getPrototype(t),r):!1}asymmetricMatch(t){if(typeof this.sample!="object")throw new TypeError(`You must provide an object to ${this.toString()}, not '${typeof this.sample}'.`);let r=!0,n=this.getMatcherContext();for(let o in this.sample)if(!this.hasProperty(t,o)||!Ee(this.sample[o],t[o],n.customTesters)){r=!1;break}return this.inverse?!r:r}toString(){return`Object${this.inverse?"Not":""}Containing`}getExpectedType(){return"object"}};a(xC,"ObjectContaining");var Mb=xC,TC=class extends Er{constructor(t,r=!1){super(t,r)}asymmetricMatch(t){if(!Array.isArray(this.sample))throw new TypeError(`You must provide an array to ${this.toString()}, not '${typeof this.sample}'.`);let r=this.getMatcherContext(),n=this.sample.length===0||Array.isArray(t)&&this.sample.every(o=>t.some(i=>Ee(o,i,r.customTesters)));return this.inverse?!n:n}toString(){return`Array${this.inverse?"Not":""}Containing`}getExpectedType(){return"array"}};a(TC,"ArrayContaining");var $b=TC,SC=class extends Er{constructor(t){if(typeof t>"u")throw new TypeError("any() expects to be passed a constructor function. Please pass one or use anything() to match any object.");super(t)}fnNameFor(t){if(t.name)return t.name;let r=Function.prototype.toString.call(t).match(/^(?:async)?\s*function\s*(?:\*\s*)?([\w$]+)\s*\(/);return r?r[1]:"<anonymous>"}asymmetricMatch(t){return this.sample===String?typeof t=="string"||t instanceof String:this.sample===Number?typeof t=="number"||t instanceof Number:this.sample===Function?typeof t=="function"||typeof t=="function":this.sample===Boolean?typeof t=="boolean"||t instanceof Boolean:this.sample===BigInt?typeof t=="bigint"||t instanceof BigInt:this.sample===Symbol?typeof t=="symbol"||t instanceof Symbol:this.sample===Object?typeof t=="object":t instanceof this.sample}toString(){return"Any"}getExpectedType(){return this.sample===String?"string":this.sample===Number?"number":this.sample===Function?"function":this.sample===Object?"object":this.sample===Boolean?"boolean":this.fnNameFor(this.sample)}toAsymmetricMatcher(){return`Any<${this.fnNameFor(this.sample)}>`}};a(SC,"Any");var q5=SC,CC=class extends Er{constructor(t,r=!1){if(!Rt("String",t)&&!Rt("RegExp",t))throw new Error("Expected is not a String or a RegExp");super(new RegExp(t),r)}asymmetricMatch(t){let r=Rt("String",t)&&this.sample.test(t);return this.inverse?!r:r}toString(){return`String${this.inverse?"Not":""}Matching`}getExpectedType(){return"string"}};a(CC,"StringMatching");var Lb=CC,PC=class extends Er{precision;constructor(t,r=2,n=!1){if(!Rt("Number",t))throw new Error("Expected is not a Number");if(!Rt("Number",r))throw new Error("Precision is not a Number");super(t),this.inverse=n,this.precision=r}asymmetricMatch(t){if(!Rt("Number",t))return!1;let r=!1;return t===Number.POSITIVE_INFINITY&&this.sample===Number.POSITIVE_INFINITY||t===Number.NEGATIVE_INFINITY&&this.sample===Number.NEGATIVE_INFINITY?r=!0:r=Math.abs(this.sample-t)<10**-this.precision/2,this.inverse?!r:r}toString(){return`Number${this.inverse?"Not":""}CloseTo`}getExpectedType(){return"number"}toAsymmetricMatcher(){return[this.toString(),this.sample,`(${bC("digit",this.precision)})`].join(" ")}};a(PC,"CloseTo");var Db=PC,I5=a((e,t)=>{t.addMethod(e.expect,"anything",()=>new R5),t.addMethod(e.expect,"any",r=>new q5(r)),t.addMethod(e.expect,"stringContaining",r=>new kb(r)),t.addMethod(e.expect,"objectContaining",r=>new Mb(r)),t.addMethod(e.expect,"arrayContaining",r=>new $b(r)),t.addMethod(e.expect,"stringMatching",r=>new Lb(r)),t.addMethod(e.expect,"closeTo",(r,n)=>new Db(r,n)),e.expect.not={stringContaining:a(r=>new kb(r,!0),"stringContaining"),objectContaining:a(r=>new Mb(r,!0),"objectContaining"),arrayContaining:a(r=>new $b(r,!0),"arrayContaining"),stringMatching:a(r=>new Lb(r,!0),"stringMatching"),closeTo:a((r,n)=>new Db(r,n,!0),"closeTo")}},"JestAsymmetricMatchers");function id(e,t,r){let n=e.flag(t,"negate")?"not.":"",o=`${e.flag(t,"_name")}(${r?"expected":""})`,i=e.flag(t,"promise");return`expect(actual)${i?`.${i}`:""}.${n}${o}`}a(id,"createAssertionMessage");function sd(e,t,r,n){let o=e;if(o&&t instanceof Promise){t=t.finally(()=>{if(!o.promises)return;let s=o.promises.indexOf(t);s!==-1&&o.promises.splice(s,1)}),o.promises||(o.promises=[]),o.promises.push(t);let i=!1;return o.onFinished??(o.onFinished=[]),o.onFinished.push(()=>{if(!i){var s;let l=(((s=globalThis.__vitest_worker__)===null||s===void 0?void 0:s.onFilterStackTrace)||(c=>c||""))(n.stack);console.warn([`Promise returned by \`${r}\` was not awaited. `,"Vitest currently auto-awaits hanging assertions at the end of the test, but this will cause the test to fail in Vitest 3. ",`Please remember to await the assertion.
280
- `,l].join(""))}}),{then(s,l){return i=!0,t.then(s,l)},catch(s){return t.catch(s)},finally(s){return t.finally(s)},[Symbol.toStringTag]:"Promise"}}return t}a(sd,"recordAsyncExpect");function ld(e,t){var r;e.result||(e.result={state:"fail"}),e.result.state="fail",(r=e.result).errors||(r.errors=[]),e.result.errors.push(gl(t))}a(ld,"handleTestError");function Yh(e,t,r){return function(...n){if(t!=="withTest"&&e.flag(this,"_name",t),!e.flag(this,"soft"))return r.apply(this,n);let o=e.flag(this,"vitest-test");if(!o)throw new Error("expect.soft() can only be used inside a test");try{let i=r.apply(this,n);return i&&typeof i=="object"&&typeof i.then=="function"?i.then(xx,s=>{ld(o,s)}):i}catch(i){ld(o,i)}}}a(Yh,"wrapAssertion");var N5=a((e,t)=>{let{AssertionError:r}=e,n=ru();function o(u,d){let p=a(h=>{let f=Yh(t,h,d);t.addMethod(e.Assertion.prototype,h,f),t.addMethod(globalThis[Fa].matchers,h,f)},"addMethod");Array.isArray(u)?u.forEach(h=>p(h)):p(u)}a(o,"def"),["throw","throws","Throw"].forEach(u=>{t.overwriteMethod(e.Assertion.prototype,u,d=>function(...p){let h=t.flag(this,"promise"),f=t.flag(this,"object"),m=t.flag(this,"negate");if(h==="rejects")t.flag(this,"object",()=>{throw f});else if(h==="resolves"&&typeof f!="function"){if(m)return;{let b=t.flag(this,"message")||"expected promise to throw an error, but it didn't",g={showDiff:!1};throw new r(b,g,t.flag(this,"ssfi"))}}d.apply(this,p)})}),o("withTest",function(u){return t.flag(this,"vitest-test",u),this}),o("toEqual",function(u){let d=t.flag(this,"object"),p=Ee(d,u,[...n,Et]);return this.assert(p,"expected #{this} to deeply equal #{exp}","expected #{this} to not deeply equal #{exp}",u,d)}),o("toStrictEqual",function(u){let d=t.flag(this,"object"),p=Ee(d,u,[...n,Et,od,Cs,ad],!0);return this.assert(p,"expected #{this} to strictly equal #{exp}","expected #{this} to not strictly equal #{exp}",u,d)}),o("toBe",function(u){let d=this._obj,p=Object.is(d,u),h="";return p||(Ee(d,u,[...n,Et,od,Cs,ad],!0)?h="toStrictEqual":Ee(d,u,[...n,Et])&&(h="toEqual")),this.assert(p,yC(h),"expected #{this} not to be #{exp} // Object.is equality",u,d)}),o("toMatchObject",function(u){let d=this._obj,p=Ee(d,u,[...n,Et,Mo]),h=t.flag(this,"negate"),{subset:f,stripped:m}=gC(d,u,n);if(p&&h||!p&&!h){let b=t.getMessage(this,[p,"expected #{this} to match object #{exp}","expected #{this} to not match object #{exp}",u,f,!1]),g=m===0?b:`${b}
281
- (${m} matching ${m===1?"property":"properties"} omitted from actual)`;throw new r(g,{showDiff:!0,expected:u,actual:f})}}),o("toMatch",function(u){let d=this._obj;if(typeof d!="string")throw new TypeError(`.toMatch() expects to receive a string, but got ${typeof d}`);return this.assert(typeof u=="string"?d.includes(u):d.match(u),"expected #{this} to match #{exp}","expected #{this} not to match #{exp}",u,d)}),o("toContain",function(u){let d=this._obj;if(typeof Node<"u"&&d instanceof Node){if(!(u instanceof Node))throw new TypeError(`toContain() expected a DOM node as the argument, but got ${typeof u}`);return this.assert(d.contains(u),"expected #{this} to contain element #{exp}","expected #{this} not to contain element #{exp}",u,d)}if(typeof DOMTokenList<"u"&&d instanceof DOMTokenList){Jt(u,"class name",["string"]);let p=t.flag(this,"negate")?d.value.replace(u,"").trim():`${d.value} ${u}`;return this.assert(d.contains(u),`expected "${d.value}" to contain "${u}"`,`expected "${d.value}" not to contain "${u}"`,p,d.value)}return typeof d=="string"&&typeof u=="string"?this.assert(d.includes(u),"expected #{this} to contain #{exp}","expected #{this} not to contain #{exp}",u,d):(d!=null&&typeof d!="string"&&t.flag(this,"object",Array.from(d)),this.contain(u))}),o("toContainEqual",function(u){let d=t.flag(this,"object"),p=Array.from(d).findIndex(h=>Ee(h,u,n));this.assert(p!==-1,"expected #{this} to deep equally contain #{exp}","expected #{this} to not deep equally contain #{exp}",u)}),o("toBeTruthy",function(){let u=t.flag(this,"object");this.assert(!!u,"expected #{this} to be truthy","expected #{this} to not be truthy",!0,u)}),o("toBeFalsy",function(){let u=t.flag(this,"object");this.assert(!u,"expected #{this} to be falsy","expected #{this} to not be falsy",!1,u)}),o("toBeGreaterThan",function(u){let d=this._obj;return Jt(d,"actual",["number","bigint"]),Jt(u,"expected",["number","bigint"]),this.assert(d>u,`expected ${d} to be greater than ${u}`,`expected ${d} to be not greater than ${u}`,u,d,!1)}),o("toBeGreaterThanOrEqual",function(u){let d=this._obj;return Jt(d,"actual",["number","bigint"]),Jt(u,"expected",["number","bigint"]),this.assert(d>=u,`expected ${d} to be greater than or equal to ${u}`,`expected ${d} to be not greater than or equal to ${u}`,u,d,!1)}),o("toBeLessThan",function(u){let d=this._obj;return Jt(d,"actual",["number","bigint"]),Jt(u,"expected",["number","bigint"]),this.assert(d<u,`expected ${d} to be less than ${u}`,`expected ${d} to be not less than ${u}`,u,d,!1)}),o("toBeLessThanOrEqual",function(u){let d=this._obj;return Jt(d,"actual",["number","bigint"]),Jt(u,"expected",["number","bigint"]),this.assert(d<=u,`expected ${d} to be less than or equal to ${u}`,`expected ${d} to be not less than or equal to ${u}`,u,d,!1)}),o("toBeNaN",function(){let u=t.flag(this,"object");this.assert(Number.isNaN(u),"expected #{this} to be NaN","expected #{this} not to be NaN",Number.NaN,u)}),o("toBeUndefined",function(){let u=t.flag(this,"object");this.assert(u===void 0,"expected #{this} to be undefined","expected #{this} not to be undefined",void 0,u)}),o("toBeNull",function(){let u=t.flag(this,"object");this.assert(u===null,"expected #{this} to be null","expected #{this} not to be null",null,u)}),o("toBeDefined",function(){let u=t.flag(this,"object");this.assert(typeof u<"u","expected #{this} to be defined","expected #{this} to be undefined",u)}),o("toBeTypeOf",function(u){let d=typeof this._obj,p=u===d;return this.assert(p,"expected #{this} to be type of #{exp}","expected #{this} not to be type of #{exp}",u,d)}),o("toBeInstanceOf",function(u){return this.instanceOf(u)}),o("toHaveLength",function(u){return this.have.length(u)}),o("toHaveProperty",function(...u){Array.isArray(u[0])&&(u[0]=u[0].map(w=>String(w).replace(/([.[\]])/g,"\\$1")).join("."));let d=this._obj,[p,h]=u,f=a(()=>Object.prototype.hasOwnProperty.call(d,p)?{value:d[p],exists:!0}:t.getPathInfo(d,p),"getValue"),{value:m,exists:b}=f(),g=b&&(u.length===1||Ee(h,m,n)),v=u.length===1?"":` with value ${t.objDisplay(h)}`;return this.assert(g,`expected #{this} to have property "${p}"${v}`,`expected #{this} to not have property "${p}"${v}`,h,b?m:void 0)}),o("toBeCloseTo",function(u,d=2){let p=this._obj,h=!1,f=0,m=0;return u===Number.POSITIVE_INFINITY&&p===Number.POSITIVE_INFINITY||u===Number.NEGATIVE_INFINITY&&p===Number.NEGATIVE_INFINITY?h=!0:(f=10**-d/2,m=Math.abs(p-u),h=m<f),this.assert(h,`expected #{this} to be close to #{exp}, received difference is ${m}, but expected ${f}`,`expected #{this} to not be close to #{exp}, received difference is ${m}, but expected ${f}`,u,p,!1)});function i(u){if(!dn(u._obj))throw new TypeError(`${t.inspect(u._obj)} is not a spy or a call to a spy!`)}a(i,"assertIsMock");function s(u){return i(u),u._obj}a(s,"getSpy"),o(["toHaveBeenCalledTimes","toBeCalledTimes"],function(u){let d=s(this),p=d.getMockName(),h=d.mock.calls.length;return this.assert(h===u,`expected "${p}" to be called #{exp} times, but got ${h} times`,`expected "${p}" to not be called #{exp} times`,u,h,!1)}),o("toHaveBeenCalledOnce",function(){let u=s(this),d=u.getMockName(),p=u.mock.calls.length;return this.assert(p===1,`expected "${d}" to be called once, but got ${p} times`,`expected "${d}" to not be called once`,1,p,!1)}),o(["toHaveBeenCalled","toBeCalled"],function(){let u=s(this),d=u.getMockName(),p=u.mock.calls.length,h=p>0,f=t.flag(this,"negate"),m=t.getMessage(this,[h,`expected "${d}" to be called at least once`,`expected "${d}" to not be called at all, but actually been called ${p} times`,!0,h]);if(h&&f&&(m=ki(u,m)),h&&f||!h&&!f)throw new r(m)});function l(u,d){return u.length===d.length&&u.every((p,h)=>Ee(p,d[h],[...n,Et]))}a(l,"equalsArgumentArray"),o(["toHaveBeenCalledWith","toBeCalledWith"],function(...u){let d=s(this),p=d.getMockName(),h=d.mock.calls.some(b=>l(b,u)),f=t.flag(this,"negate"),m=t.getMessage(this,[h,`expected "${p}" to be called with arguments: #{exp}`,`expected "${p}" to not be called with arguments: #{exp}`,u]);if(h&&f||!h&&!f)throw new r(ki(d,m,u))}),o("toHaveBeenCalledExactlyOnceWith",function(...u){let d=s(this),p=d.getMockName(),h=d.mock.calls.length,f=d.mock.calls.some(g=>l(g,u))&&h===1,m=t.flag(this,"negate"),b=t.getMessage(this,[f,`expected "${p}" to be called once with arguments: #{exp}`,`expected "${p}" to not be called once with arguments: #{exp}`,u]);if(f&&m||!f&&!m)throw new r(ki(d,b,u))}),o(["toHaveBeenNthCalledWith","nthCalledWith"],function(u,...d){let p=s(this),h=p.getMockName(),f=p.mock.calls[u-1],m=p.mock.calls.length,b=u<=m;this.assert(f&&l(f,d),`expected ${to(u)} "${h}" call to have been called with #{exp}${b?"":`, but called only ${m} times`}`,`expected ${to(u)} "${h}" call to not have been called with #{exp}`,d,f,b)}),o(["toHaveBeenLastCalledWith","lastCalledWith"],function(...u){let d=s(this),p=d.getMockName(),h=d.mock.calls[d.mock.calls.length-1];this.assert(h&&l(h,u),`expected last "${p}" call to have been called with #{exp}`,`expected last "${p}" call to not have been called with #{exp}`,u,h)});function c(u,d,p){let h=u.mock.invocationCallOrder,f=d.mock.invocationCallOrder;return h.length===0?!p:f.length===0?!1:h[0]<f[0]}a(c,"isSpyCalledBeforeAnotherSpy"),o(["toHaveBeenCalledBefore"],function(u,d=!0){let p=s(this);if(!dn(u))throw new TypeError(`${t.inspect(u)} is not a spy or a call to a spy`);this.assert(c(p,u,d),`expected "${p.getMockName()}" to have been called before "${u.getMockName()}"`,`expected "${p.getMockName()}" to not have been called before "${u.getMockName()}"`,u,p)}),o(["toHaveBeenCalledAfter"],function(u,d=!0){let p=s(this);if(!dn(u))throw new TypeError(`${t.inspect(u)} is not a spy or a call to a spy`);this.assert(c(u,p,d),`expected "${p.getMockName()}" to have been called after "${u.getMockName()}"`,`expected "${p.getMockName()}" to not have been called after "${u.getMockName()}"`,u,p)}),o(["toThrow","toThrowError"],function(u){if(typeof u=="string"||typeof u>"u"||u instanceof RegExp)return this.throws(u===""?/^$/:u);let d=this._obj,p=t.flag(this,"promise"),h=t.flag(this,"negate"),f=null;if(p==="rejects")f=d;else if(p==="resolves"&&typeof d!="function"){if(h)return;{let m=t.flag(this,"message")||"expected promise to throw an error, but it didn't",b={showDiff:!1};throw new r(m,b,t.flag(this,"ssfi"))}}else{let m=!1;try{d()}catch(b){m=!0,f=b}if(!m&&!h){let b=t.flag(this,"message")||"expected function to throw an error, but it didn't",g={showDiff:!1};throw new r(b,g,t.flag(this,"ssfi"))}}if(typeof u=="function"){let m=u.name||u.prototype.constructor.name;return this.assert(f&&f instanceof u,`expected error to be instance of ${m}`,`expected error not to be instance of ${m}`,u,f)}if(u instanceof Error){let m=Ee(f,u,[...n,Et]);return this.assert(m,"expected a thrown error to be #{exp}","expected a thrown error not to be #{exp}",u,f)}if(typeof u=="object"&&"asymmetricMatch"in u&&typeof u.asymmetricMatch=="function"){let m=u;return this.assert(f&&m.asymmetricMatch(f),"expected error to match asymmetric matcher","expected error not to match asymmetric matcher",m,f)}throw new Error(`"toThrow" expects string, RegExp, function, Error instance or asymmetric matcher, got "${typeof u}"`)}),[{name:"toHaveResolved",condition:a(u=>u.mock.settledResults.length>0&&u.mock.settledResults.some(({type:d})=>d==="fulfilled"),"condition"),action:"resolved"},{name:["toHaveReturned","toReturn"],condition:a(u=>u.mock.calls.length>0&&u.mock.results.some(({type:d})=>d!=="throw"),"condition"),action:"called"}].forEach(({name:u,condition:d,action:p})=>{o(u,function(){let h=s(this),f=h.getMockName(),m=d(h);this.assert(m,`expected "${f}" to be successfully ${p} at least once`,`expected "${f}" to not be successfully ${p}`,m,!m,!1)})}),[{name:"toHaveResolvedTimes",condition:a((u,d)=>u.mock.settledResults.reduce((p,{type:h})=>h==="fulfilled"?++p:p,0)===d,"condition"),action:"resolved"},{name:["toHaveReturnedTimes","toReturnTimes"],condition:a((u,d)=>u.mock.results.reduce((p,{type:h})=>h==="throw"?p:++p,0)===d,"condition"),action:"called"}].forEach(({name:u,condition:d,action:p})=>{o(u,function(h){let f=s(this),m=f.getMockName(),b=d(f,h);this.assert(b,`expected "${m}" to be successfully ${p} ${h} times`,`expected "${m}" to not be successfully ${p} ${h} times`,`expected resolved times: ${h}`,`received resolved times: ${b}`,!1)})}),[{name:"toHaveResolvedWith",condition:a((u,d)=>u.mock.settledResults.some(({type:p,value:h})=>p==="fulfilled"&&Ee(d,h)),"condition"),action:"resolve"},{name:["toHaveReturnedWith","toReturnWith"],condition:a((u,d)=>u.mock.results.some(({type:p,value:h})=>p==="return"&&Ee(d,h)),"condition"),action:"return"}].forEach(({name:u,condition:d,action:p})=>{o(u,function(h){let f=s(this),m=d(f,h),b=t.flag(this,"negate");if(m&&b||!m&&!b){let g=f.getMockName(),v=t.getMessage(this,[m,`expected "${g}" to ${p} with: #{exp} at least once`,`expected "${g}" to not ${p} with: #{exp}`,h]),w=p==="return"?f.mock.results:f.mock.settledResults;throw new r(OC(f,w,v,h))}})}),[{name:"toHaveLastResolvedWith",condition:a((u,d)=>{let p=u.mock.settledResults[u.mock.settledResults.length-1];return p&&p.type==="fulfilled"&&Ee(p.value,d)},"condition"),action:"resolve"},{name:["toHaveLastReturnedWith","lastReturnedWith"],condition:a((u,d)=>{let p=u.mock.results[u.mock.results.length-1];return p&&p.type==="return"&&Ee(p.value,d)},"condition"),action:"return"}].forEach(({name:u,condition:d,action:p})=>{o(u,function(h){let f=s(this),m=p==="return"?f.mock.results:f.mock.settledResults,b=m[m.length-1],g=f.getMockName();this.assert(d(f,h),`expected last "${g}" call to ${p} #{exp}`,`expected last "${g}" call to not ${p} #{exp}`,h,b?.value)})}),[{name:"toHaveNthResolvedWith",condition:a((u,d,p)=>{let h=u.mock.settledResults[d-1];return h&&h.type==="fulfilled"&&Ee(h.value,p)},"condition"),action:"resolve"},{name:["toHaveNthReturnedWith","nthReturnedWith"],condition:a((u,d,p)=>{let h=u.mock.results[d-1];return h&&h.type==="return"&&Ee(h.value,p)},"condition"),action:"return"}].forEach(({name:u,condition:d,action:p})=>{o(u,function(h,f){let m=s(this),b=m.getMockName(),g=(p==="return"?m.mock.results:m.mock.settledResults)[h-1],v=`${to(h)} call`;this.assert(d(m,h,f),`expected ${v} "${b}" call to ${p} #{exp}`,`expected ${v} "${b}" call to not ${p} #{exp}`,f,g?.value)})}),o("withContext",function(u){for(let d in u)t.flag(this,d,u[d]);return this}),t.addProperty(e.Assertion.prototype,"resolves",a(function(){let u=new Error("resolves");t.flag(this,"promise","resolves"),t.flag(this,"error",u);let d=t.flag(this,"vitest-test"),p=t.flag(this,"object");if(t.flag(this,"poll"))throw new SyntaxError("expect.poll() is not supported in combination with .resolves");if(typeof p?.then!="function")throw new TypeError(`You must provide a Promise to expect() when using .resolves, not '${typeof p}'.`);let h=new Proxy(this,{get:a((f,m,b)=>{let g=Reflect.get(f,m,b);return typeof g!="function"?g instanceof e.Assertion?h:g:(...v)=>{t.flag(this,"_name",m);let w=p.then(P=>(t.flag(this,"object",P),g.call(this,...v)),P=>{let A=new r(`promise rejected "${t.inspect(P)}" instead of resolving`,{showDiff:!1});throw A.cause=P,A.stack=u.stack.replace(u.message,A.message),A});return sd(d,w,id(t,this,!!v.length),u)}},"get")});return h},"__VITEST_RESOLVES__")),t.addProperty(e.Assertion.prototype,"rejects",a(function(){let u=new Error("rejects");t.flag(this,"promise","rejects"),t.flag(this,"error",u);let d=t.flag(this,"vitest-test"),p=t.flag(this,"object"),h=typeof p=="function"?p():p;if(t.flag(this,"poll"))throw new SyntaxError("expect.poll() is not supported in combination with .rejects");if(typeof h?.then!="function")throw new TypeError(`You must provide a Promise to expect() when using .rejects, not '${typeof h}'.`);let f=new Proxy(this,{get:a((m,b,g)=>{let v=Reflect.get(m,b,g);return typeof v!="function"?v instanceof e.Assertion?f:v:(...w)=>{t.flag(this,"_name",b);let P=h.then(A=>{let R=new r(`promise resolved "${t.inspect(A)}" instead of rejecting`,{showDiff:!0,expected:new Error("rejected promise"),actual:A});throw R.stack=u.stack.replace(u.message,R.message),R},A=>(t.flag(this,"object",A),v.call(this,...w)));return sd(d,P,id(t,this,!!w.length),u)}},"get")});return f},"__VITEST_REJECTS__"))},"JestChaiExpect");function to(e){let t=e%10,r=e%100;return t===1&&r!==11?`${e}st`:t===2&&r!==12?`${e}nd`:t===3&&r!==13?`${e}rd`:`${e}th`}a(to,"ordinalOf");function ki(e,t,r){return e.mock.calls.length&&(t+=Fe.gray(`
282
-
283
- Received:
284
-
285
- ${e.mock.calls.map((n,o)=>{let i=Fe.bold(` ${to(o+1)} ${e.getMockName()} call:
286
-
287
- `);return r?i+=Rn(r,n,{omitAnnotationLines:!0}):i+=dt(n).split(`
288
- `).map(s=>` ${s}`).join(`
289
- `),i+=`
290
- `,i}).join(`
291
- `)}`)),t+=Fe.gray(`
292
-
293
- Number of calls: ${Fe.bold(e.mock.calls.length)}
294
- `),t}a(ki,"formatCalls");function OC(e,t,r,n){return t.length&&(r+=Fe.gray(`
295
-
296
- Received:
297
-
298
- ${t.map((o,i)=>{let s=Fe.bold(` ${to(i+1)} ${e.getMockName()} call return:
299
-
300
- `);return n?s+=Rn(n,o.value,{omitAnnotationLines:!0}):s+=dt(o).split(`
301
- `).map(l=>` ${l}`).join(`
302
- `),s+=`
303
- `,s}).join(`
304
- `)}`)),r+=Fe.gray(`
305
-
306
- Number of calls: ${Fe.bold(e.mock.calls.length)}
307
- `),r}a(OC,"formatReturns");function _C(e,t){let r=e._obj,n=Wt.flag(e,"negate"),o=Wt.flag(e,"promise")||"",i={...Gh(),diff:Rn,stringify:dt,iterableEquality:Et,subsetEquality:Mo};return{state:{...Ba(t),customTesters:ru(),isNot:n,utils:i,promise:o,equals:Ee,suppressedErrors:[],soft:Wt.flag(e,"soft"),poll:Wt.flag(e,"poll")},isNot:n,obj:r}}a(_C,"getMatcherState");var AC=class extends Error{constructor(t,r,n){super(t),this.actual=r,this.expected=n}};a(AC,"JestExtendError");var Fb=AC;function RC(e,t,r){return(n,o)=>{Object.entries(r).forEach(([i,s])=>{function l(...h){let{state:f,isNot:m,obj:b}=_C(this,t),g=s.call(f,b,...h);if(g&&typeof g=="object"&&typeof g.then=="function")return g.then(({pass:R,message:T,actual:E,expected:x})=>{if(R&&m||!R&&!m)throw new Fb(T(),E,x)});let{pass:v,message:w,actual:P,expected:A}=g;if(v&&m||!v&&!m)throw new Fb(w(),P,A)}a(l,"expectWrapper");let c=Yh(o,i,l);o.addMethod(globalThis[Fa].matchers,i,c),o.addMethod(e.Assertion.prototype,i,c);let u=class extends Er{constructor(f=!1,...m){super(m,f)}asymmetricMatch(f){let{pass:m}=s.call(this.getMatcherContext(t),f,...this.sample);return this.inverse?!m:m}toString(){return`${this.inverse?"not.":""}${i}`}getExpectedType(){return"any"}toAsymmetricMatcher(){return`${this.toString()}<${this.sample.map(f=>dt(f)).join(", ")}>`}};a(u,"CustomMatcher");let d=u,p=a((...h)=>new d(!1,...h),"customMatcher");Object.defineProperty(t,i,{configurable:!0,enumerable:!0,value:p,writable:!0}),Object.defineProperty(t.not,i,{configurable:!0,enumerable:!0,value:a((...h)=>new d(!0,...h),"value"),writable:!0}),Object.defineProperty(globalThis[Zc],i,{configurable:!0,enumerable:!0,value:p,writable:!0})})}}a(RC,"JestExtendPlugin");var j5=a((e,t)=>{t.addMethod(e.expect,"extend",(r,n)=>{un(RC(e,r,n))})},"JestExtend");function qC(){un(j5),un(N5),un(I5);let e=a((n,o)=>{let{assertionCalls:i}=Ba(e);return ji({assertionCalls:i+1,soft:!1},e),kr(n,o)},"expect");Object.assign(e,kr),e.getState=()=>Ba(e),e.setState=n=>ji(n,e),e.extend=n=>kr.extend(e,n),e.soft=(...n)=>{let o=e(...n);return e.setState({soft:!0}),o},e.extend(S5),e.unreachable=n=>{N.fail(`expected${n?` "${n}" `:" "}not to be reached`)};function t(n){let o=a(()=>new Error(`expected number of assertions to be ${n}, but got ${e.getState().assertionCalls}`),"errorGen");"captureStackTrace"in Error&&typeof Error.captureStackTrace=="function"&&Error.captureStackTrace(o(),t),e.setState({expectedAssertionsNumber:n,expectedAssertionsNumberErrorGen:o})}a(t,"assertions");function r(){let n=new Error("expected any number of assertion, but got none");"captureStackTrace"in Error&&typeof Error.captureStackTrace=="function"&&Error.captureStackTrace(n,r),e.setState({isExpectingAssertions:!0,isExpectingAssertionsError:n})}return a(r,"hasAssertions"),ji({assertionCalls:0,isExpectingAssertions:!1,isExpectingAssertionsError:null,expectedAssertionsNumber:null,expectedAssertionsNumberErrorGen:null},e),Wt.addMethod(e,"assertions",t),Wt.addMethod(e,"hasAssertions",r),e.extend(uT),e}a(qC,"createExpect");var IC=qC();Object.defineProperty(globalThis,Jh,{value:IC,writable:!0,configurable:!0});function NC(e,t,r){Object.defineProperty(e,t,r)}a(NC,"f");var Mi=Symbol.for("tinyspy:spy"),k5=a(e=>{e.called=!1,e.callCount=0,e.calls=[],e.results=[],e.resolves=[],e.next=[]},"P"),M5=a(e=>(NC(e,Mi,{value:{reset:a(()=>k5(e[Mi]),"reset")}}),e[Mi]),"K"),$5=a(e=>e[Mi]||M5(e),"T"),ud=new Set;function Xh(e){return ud.add(e),()=>void ud.delete(e)}a(Xh,"onMockCall");var L5=a((...e)=>{let t=XS(...e);return Zh(t)},"spyOn");function Qh(e){let t=e?Qc(e):Qc();return Zh(t)}a(Qh,"fn");function Zh(e){let t=cd(e),r=t.mockImplementation.bind(null);return t.mockImplementation=n=>cd(r(n)),t}a(Zh,"reactiveMock");function cd(e){let t=$5(e),r=t.impl;return t.willCall(function(...n){return ud.forEach(o=>o(e,n)),r?.apply(this,n)}),e}a(cd,"listenWhenCalled");function em(){bi.forEach(e=>e.mockClear())}a(em,"clearAllMocks");function tm(){bi.forEach(e=>e.mockReset())}a(tm,"resetAllMocks");function rm(){bi.forEach(e=>e.mockRestore())}a(rm,"restoreAllMocks");function jC(e,t={}){return e}a(jC,"mocked");var kC={};ct(kC,{buildQueries:()=>tr,configure:()=>NP,createEvent:()=>xa,findAllByAltText:()=>OO,findAllByDisplayValue:()=>EO,findAllByLabelText:()=>eO,findAllByPlaceholderText:()=>uO,findAllByRole:()=>BO,findAllByTestId:()=>WO,findAllByText:()=>mO,findAllByTitle:()=>NO,findByAltText:()=>_O,findByDisplayValue:()=>xO,findByLabelText:()=>tO,findByPlaceholderText:()=>cO,findByRole:()=>UO,findByTestId:()=>GO,findByText:()=>yO,findByTitle:()=>jO,fireEvent:()=>go,getAllByAltText:()=>CO,getAllByDisplayValue:()=>vO,getAllByLabelText:()=>rO,getAllByPlaceholderText:()=>sO,getAllByRole:()=>DO,getAllByTestId:()=>JO,getAllByText:()=>fO,getAllByTitle:()=>qO,getByAltText:()=>PO,getByDisplayValue:()=>wO,getByLabelText:()=>nO,getByPlaceholderText:()=>lO,getByRole:()=>FO,getByTestId:()=>zO,getByText:()=>hO,getByTitle:()=>IO,getConfig:()=>ve,getDefaultNormalizer:()=>su,getElementError:()=>wi,getMultipleElementsFoundError:()=>Ei,getNodeText:()=>$o,getQueriesForElement:()=>_s,getRoles:()=>xm,getSuggestedQuery:()=>Ha,isInaccessible:()=>vi,logDOM:()=>bd,logRoles:()=>s3,makeFindQuery:()=>gn,makeGetAllQuery:()=>cu,makeSingleQuery:()=>bn,prettyDOM:()=>bo,prettyFormat:()=>nm,queries:()=>Os,queryAllByAltText:()=>TO,queryAllByAttribute:()=>Wr,queryAllByDisplayValue:()=>bO,queryAllByLabelText:()=>oO,queryAllByPlaceholderText:()=>aO,queryAllByRole:()=>$O,queryAllByTestId:()=>HO,queryAllByText:()=>dO,queryAllByTitle:()=>AO,queryByAltText:()=>SO,queryByAttribute:()=>Sm,queryByDisplayValue:()=>gO,queryByLabelText:()=>QP,queryByPlaceholderText:()=>iO,queryByRole:()=>LO,queryByTestId:()=>VO,queryByText:()=>pO,queryByTitle:()=>RO,queryHelpers:()=>l3,screen:()=>_3,waitFor:()=>uu,waitForElementToBeRemoved:()=>YO,within:()=>_s,wrapAllByQueryWithSuggestion:()=>pt,wrapSingleQueryWithSuggestion:()=>$r});var nm=He(UM()),D5=Object.prototype.toString;function dd(e){return typeof e=="function"||D5.call(e)==="[object Function]"}a(dd,"isCallable");function MC(e){var t=Number(e);return isNaN(t)?0:t===0||!isFinite(t)?t:(t>0?1:-1)*Math.floor(Math.abs(t))}a(MC,"toInteger");var F5=Math.pow(2,53)-1;function $C(e){var t=MC(e);return Math.min(Math.max(t,0),F5)}a($C,"toLength");function At(e,t){var r=Array,n=Object(e);if(e==null)throw new TypeError("Array.from requires an array-like object - not null or undefined");if(typeof t<"u"&&!dd(t))throw new TypeError("Array.from: when provided, the second argument must be a function");for(var o=$C(n.length),i=dd(r)?Object(new r(o)):new Array(o),s=0,l;s<o;)l=n[s],t?i[s]=t(l,s):i[s]=l,s+=1;return i.length=o,i}a(At,"arrayFrom");function mo(e){"@babel/helpers - typeof";return mo=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},mo(e)}a(mo,"_typeof");function LC(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}a(LC,"_classCallCheck");function pd(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,om(n.key),n)}}a(pd,"_defineProperties");function DC(e,t,r){return t&&pd(e.prototype,t),r&&pd(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}a(DC,"_createClass");function FC(e,t,r){return t=om(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}a(FC,"_defineProperty");function om(e){var t=BC(e,"string");return mo(t)==="symbol"?t:String(t)}a(om,"_toPropertyKey");function BC(e,t){if(mo(e)!=="object"||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t||"default");if(mo(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}a(BC,"_toPrimitive");var B5=(function(){function e(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];LC(this,e),FC(this,"items",void 0),this.items=t}return a(e,"SetLike"),DC(e,[{key:"add",value:a(function(t){return this.has(t)===!1&&this.items.push(t),this},"add")},{key:"clear",value:a(function(){this.items=[]},"clear")},{key:"delete",value:a(function(t){var r=this.items.length;return this.items=this.items.filter(function(n){return n!==t}),r!==this.items.length},"_delete")},{key:"forEach",value:a(function(t){var r=this;this.items.forEach(function(n){t(n,n,r)})},"forEach")},{key:"has",value:a(function(t){return this.items.indexOf(t)!==-1},"has")},{key:"size",get:a(function(){return this.items.length},"get")}]),e})(),U5=typeof Set>"u"?Set:B5;function rt(e){var t;return(t=e.localName)!==null&&t!==void 0?t:e.tagName.toLowerCase()}a(rt,"getLocalName");var H5={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"},V5={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 UC(e,t){return["aria-atomic","aria-busy","aria-controls","aria-current","aria-describedby","aria-details","aria-dropeffect","aria-flowto","aria-grabbed","aria-hidden","aria-keyshortcuts","aria-label","aria-labelledby","aria-live","aria-owns","aria-relevant","aria-roledescription"].some(function(r){var n;return e.hasAttribute(r)&&!((n=V5[t])!==null&&n!==void 0&&n.has(r))})}a(UC,"hasGlobalAriaAttributes");function am(e,t){return UC(e,t)}a(am,"ignorePresentationalRole");function HC(e){var t=JC(e);if(t===null||t==="presentation"){var r=VC(e);if(t!=="presentation"||am(e,r||""))return r}return t}a(HC,"getRole");function VC(e){var t=H5[rt(e)];if(t!==void 0)return t;switch(rt(e)){case"a":case"area":case"link":if(e.hasAttribute("href"))return"link";break;case"img":return e.getAttribute("alt")===""&&!am(e,"img")?"presentation":"img";case"input":{var r=e,n=r.type;switch(n){case"button":case"image":case"reset":case"submit":return"button";case"checkbox":case"radio":return n;case"range":return"slider";case"email":case"tel":case"text":case"url":return e.hasAttribute("list")?"combobox":"textbox";case"search":return e.hasAttribute("list")?"combobox":"searchbox";case"number":return"spinbutton";default:return null}}case"select":return e.hasAttribute("multiple")||e.size>1?"listbox":"combobox"}return null}a(VC,"getImplicitRole");function JC(e){var t=e.getAttribute("role");if(t!==null){var r=t.trim().split(" ")[0];if(r.length>0)return r}return null}a(JC,"getExplicitRole");function qe(e){return e!==null&&e.nodeType===e.ELEMENT_NODE}a(qe,"isElement");function im(e){return qe(e)&&rt(e)==="caption"}a(im,"isHTMLTableCaptionElement");function Ea(e){return qe(e)&&rt(e)==="input"}a(Ea,"isHTMLInputElement");function zC(e){return qe(e)&&rt(e)==="optgroup"}a(zC,"isHTMLOptGroupElement");function WC(e){return qe(e)&&rt(e)==="select"}a(WC,"isHTMLSelectElement");function GC(e){return qe(e)&&rt(e)==="table"}a(GC,"isHTMLTableElement");function KC(e){return qe(e)&&rt(e)==="textarea"}a(KC,"isHTMLTextAreaElement");function YC(e){var t=e.ownerDocument===null?e:e.ownerDocument,r=t.defaultView;if(r===null)throw new TypeError("no window available");return r}a(YC,"safeWindow");function XC(e){return qe(e)&&rt(e)==="fieldset"}a(XC,"isHTMLFieldSetElement");function QC(e){return qe(e)&&rt(e)==="legend"}a(QC,"isHTMLLegendElement");function ZC(e){return qe(e)&&rt(e)==="slot"}a(ZC,"isHTMLSlotElement");function eP(e){return qe(e)&&e.ownerSVGElement!==void 0}a(eP,"isSVGElement");function tP(e){return qe(e)&&rt(e)==="svg"}a(tP,"isSVGSVGElement");function rP(e){return eP(e)&&rt(e)==="title"}a(rP,"isSVGTitleElement");function Ua(e,t){if(qe(e)&&e.hasAttribute(t)){var r=e.getAttribute(t).split(" "),n=e.getRootNode?e.getRootNode():e.ownerDocument;return r.map(function(o){return n.getElementById(o)}).filter(function(o){return o!==null})}return[]}a(Ua,"queryIdRefs");function Kt(e,t){return qe(e)?t.indexOf(HC(e))!==-1:!1}a(Kt,"hasAnyConcreteRoles");function nP(e){return e.trim().replace(/\s\s+/g," ")}a(nP,"asFlatString");function oP(e,t){if(!qe(e))return!1;if(e.hasAttribute("hidden")||e.getAttribute("aria-hidden")==="true")return!0;var r=t(e);return r.getPropertyValue("display")==="none"||r.getPropertyValue("visibility")==="hidden"}a(oP,"isHidden");function aP(e){return Kt(e,["button","combobox","listbox","textbox"])||sm(e,"range")}a(aP,"isControl");function sm(e,t){if(!qe(e))return!1;switch(t){case"range":return Kt(e,["meter","progressbar","scrollbar","slider","spinbutton"]);default:throw new TypeError("No knowledge about abstract role '".concat(t,"'. This is likely a bug :("))}}a(sm,"hasAbstractRole");function fd(e,t){var r=At(e.querySelectorAll(t));return Ua(e,"aria-owns").forEach(function(n){r.push.apply(r,At(n.querySelectorAll(t)))}),r}a(fd,"querySelectorAllSubtree");function iP(e){return WC(e)?e.selectedOptions||fd(e,"[selected]"):fd(e,'[aria-selected="true"]')}a(iP,"querySelectedOptions");function sP(e){return Kt(e,["none","presentation"])}a(sP,"isMarkedPresentational");function lP(e){return im(e)}a(lP,"isNativeHostLanguageTextAlternativeElement");function uP(e){return Kt(e,["button","cell","checkbox","columnheader","gridcell","heading","label","legend","link","menuitem","menuitemcheckbox","menuitemradio","option","radio","row","rowheader","switch","tab","tooltip","treeitem"])}a(uP,"allowsNameFromContent");function cP(e){return!1}a(cP,"isDescendantOfNativeHostLanguageTextAlternativeElement");function dP(e){return Ea(e)||KC(e)?e.value:e.textContent||""}a(dP,"getValueOfTextbox");function hd(e){var t=e.getPropertyValue("content");return/^["'].*["']$/.test(t)?t.slice(1,-1):""}a(hd,"getTextualContent");function lm(e){var t=rt(e);return t==="button"||t==="input"&&e.getAttribute("type")!=="hidden"||t==="meter"||t==="output"||t==="progress"||t==="select"||t==="textarea"}a(lm,"isLabelableElement");function um(e){if(lm(e))return e;var t=null;return e.childNodes.forEach(function(r){if(t===null&&qe(r)){var n=um(r);n!==null&&(t=n)}}),t}a(um,"findLabelableElement");function pP(e){if(e.control!==void 0)return e.control;var t=e.getAttribute("for");return t!==null?e.ownerDocument.getElementById(t):um(e)}a(pP,"getControlOfLabel");function fP(e){var t=e.labels;if(t===null)return t;if(t!==void 0)return At(t);if(!lm(e))return null;var r=e.ownerDocument;return At(r.querySelectorAll("label")).filter(function(n){return pP(n)===e})}a(fP,"getLabels");function hP(e){var t=e.assignedNodes();return t.length===0?At(e.childNodes):t}a(hP,"getSlotContents");function cm(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=new U5,n=YC(e),o=t.compute,i=o===void 0?"name":o,s=t.computedStyleSupportsPseudoElements,l=s===void 0?t.getComputedStyle!==void 0:s,c=t.getComputedStyle,u=c===void 0?n.getComputedStyle.bind(n):c,d=t.hidden,p=d===void 0?!1:d;function h(v,w){var P="";if(qe(v)&&l){var A=u(v,"::before"),R=hd(A);P="".concat(R," ").concat(P)}var T=ZC(v)?hP(v):At(v.childNodes).concat(Ua(v,"aria-owns"));if(T.forEach(function(C){var k=g(C,{isEmbeddedInLabel:w.isEmbeddedInLabel,isReferenced:!1,recursion:!0}),I=qe(C)?u(C).getPropertyValue("display"):"inline",U=I!=="inline"?" ":"";P+="".concat(U).concat(k).concat(U)}),qe(v)&&l){var E=u(v,"::after"),x=hd(E);P="".concat(P," ").concat(x)}return P.trim()}a(h,"computeMiscTextAlternative");function f(v,w){var P=v.getAttributeNode(w);return P!==null&&!r.has(P)&&P.value.trim()!==""?(r.add(P),P.value):null}a(f,"useAttribute");function m(v){return qe(v)?f(v,"title"):null}a(m,"computeTooltipAttributeValue");function b(v){if(!qe(v))return null;if(XC(v)){r.add(v);for(var w=At(v.childNodes),P=0;P<w.length;P+=1){var A=w[P];if(QC(A))return g(A,{isEmbeddedInLabel:!1,isReferenced:!1,recursion:!1})}}else if(GC(v)){r.add(v);for(var R=At(v.childNodes),T=0;T<R.length;T+=1){var E=R[T];if(im(E))return g(E,{isEmbeddedInLabel:!1,isReferenced:!1,recursion:!1})}}else if(tP(v)){r.add(v);for(var x=At(v.childNodes),C=0;C<x.length;C+=1){var k=x[C];if(rP(k))return k.textContent}return null}else if(rt(v)==="img"||rt(v)==="area"){var I=f(v,"alt");if(I!==null)return I}else if(zC(v)){var U=f(v,"label");if(U!==null)return U}if(Ea(v)&&(v.type==="button"||v.type==="submit"||v.type==="reset")){var D=f(v,"value");if(D!==null)return D;if(v.type==="submit")return"Submit";if(v.type==="reset")return"Reset"}var O=fP(v);if(O!==null&&O.length!==0)return r.add(v),At(O).map(function(G){return g(G,{isEmbeddedInLabel:!0,isReferenced:!1,recursion:!0})}).filter(function(G){return G.length>0}).join(" ");if(Ea(v)&&v.type==="image"){var M=f(v,"alt");if(M!==null)return M;var $=f(v,"title");return $!==null?$:"Submit Query"}if(Kt(v,["button"])){var K=h(v,{isEmbeddedInLabel:!1});if(K!=="")return K}return null}a(b,"computeElementTextAlternative");function g(v,w){if(r.has(v))return"";if(!p&&oP(v,u)&&!w.isReferenced)return r.add(v),"";var P=qe(v)?v.getAttributeNode("aria-labelledby"):null,A=P!==null&&!r.has(P)?Ua(v,"aria-labelledby"):[];if(i==="name"&&!w.isReferenced&&A.length>0)return r.add(P),A.map(function(I){return g(I,{isEmbeddedInLabel:w.isEmbeddedInLabel,isReferenced:!0,recursion:!1})}).join(" ");var R=w.recursion&&aP(v)&&i==="name";if(!R){var T=(qe(v)&&v.getAttribute("aria-label")||"").trim();if(T!==""&&i==="name")return r.add(v),T;if(!sP(v)){var E=b(v);if(E!==null)return r.add(v),E}}if(Kt(v,["menu"]))return r.add(v),"";if(R||w.isEmbeddedInLabel||w.isReferenced){if(Kt(v,["combobox","listbox"])){r.add(v);var x=iP(v);return x.length===0?Ea(v)?v.value:"":At(x).map(function(I){return g(I,{isEmbeddedInLabel:w.isEmbeddedInLabel,isReferenced:!1,recursion:!0})}).join(" ")}if(sm(v,"range"))return r.add(v),v.hasAttribute("aria-valuetext")?v.getAttribute("aria-valuetext"):v.hasAttribute("aria-valuenow")?v.getAttribute("aria-valuenow"):v.getAttribute("value")||"";if(Kt(v,["textbox"]))return r.add(v),dP(v)}if(uP(v)||qe(v)&&w.isReferenced||lP(v)||cP()){var C=h(v,{isEmbeddedInLabel:w.isEmbeddedInLabel});if(C!=="")return r.add(v),C}if(v.nodeType===v.TEXT_NODE)return r.add(v),v.textContent||"";if(w.recursion)return r.add(v),h(v,{isEmbeddedInLabel:w.isEmbeddedInLabel});var k=m(v);return k!==null?(r.add(v),k):(r.add(v),"")}return a(g,"computeTextAlternative"),nP(g(e,{isEmbeddedInLabel:!1,isReferenced:i==="description",recursion:!1}))}a(cm,"computeTextAlternative");function yo(e){"@babel/helpers - typeof";return yo=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},yo(e)}a(yo,"_typeof");function md(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}a(md,"ownKeys");function yd(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?md(Object(r),!0).forEach(function(n){mP(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):md(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}a(yd,"_objectSpread");function mP(e,t,r){return t=yP(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}a(mP,"_defineProperty");function yP(e){var t=bP(e,"string");return yo(t)==="symbol"?t:String(t)}a(yP,"_toPropertyKey");function bP(e,t){if(yo(e)!=="object"||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t||"default");if(yo(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}a(bP,"_toPrimitive");function dm(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=Ua(e,"aria-describedby").map(function(o){return cm(o,yd(yd({},t),{},{compute:"description"}))}).join(" ");if(r===""){var n=e.getAttribute("title");r=n===null?"":n}return r}a(dm,"computeAccessibleDescription");function gP(e){return Kt(e,["caption","code","deletion","emphasis","generic","insertion","paragraph","presentation","strong","subscript","superscript"])}a(gP,"prohibitsNaming");function au(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return gP(e)?"":cm(e,t)}a(au,"computeAccessibleName");var Ot=He(_D()),J5=He(AD());function pm(e){return e.replace(/</g,"&lt;").replace(/>/g,"&gt;")}a(pm,"escapeHTML");var z5=a((e,t,r,n,o,i,s)=>{let l=n+r.indent,c=r.colors;return e.map(u=>{let d=t[u],p=s(d,r,l,o,i);return typeof d!="string"&&(p.indexOf(`
308
- `)!==-1&&(p=r.spacingOuter+l+p+r.spacingOuter+n),p="{"+p+"}"),r.spacingInner+n+c.prop.open+u+c.prop.close+"="+c.value.open+p+c.value.close}).join("")},"printProps"),W5=3,G5=a((e,t,r,n,o,i)=>e.map(s=>{let l=typeof s=="string"?vP(s,t):i(s,t,r,n,o);return l===""&&typeof s=="object"&&s!==null&&s.nodeType!==W5?"":t.spacingOuter+r+l}).join(""),"printChildren"),vP=a((e,t)=>{let r=t.colors.content;return r.open+pm(e)+r.close},"printText"),K5=a((e,t)=>{let r=t.colors.comment;return r.open+"<!--"+pm(e)+"-->"+r.close},"printComment"),Y5=a((e,t,r,n,o)=>{let i=n.colors.tag;return i.open+"<"+e+(t&&i.close+t+n.spacingOuter+o+i.open)+(r?">"+i.close+r+n.spacingOuter+o+i.open+"</"+e:(t&&!n.min?"":" ")+"/")+">"+i.close},"printElement"),X5=a((e,t)=>{let r=t.colors.tag;return r.open+"<"+e+r.close+" …"+r.open+" />"+r.close},"printElementAsLeaf"),Q5=1,wP=3,EP=8,xP=11,Z5=/^((HTML|SVG)\w*)?Element$/,TP=a(e=>{let{tagName:t}=e;return!!(typeof t=="string"&&t.includes("-")||typeof e.hasAttribute=="function"&&e.hasAttribute("is"))},"isCustomElement"),e3=a(e=>{let t=e.constructor.name,{nodeType:r}=e;return r===Q5&&(Z5.test(t)||TP(e))||r===wP&&t==="Text"||r===EP&&t==="Comment"||r===xP&&t==="DocumentFragment"},"testNode");function SP(e){return e.nodeType===wP}a(SP,"nodeIsText");function CP(e){return e.nodeType===EP}a(CP,"nodeIsComment");function $i(e){return e.nodeType===xP}a($i,"nodeIsFragment");function PP(e){return{test:a(t=>{var r;return((t==null||(r=t.constructor)==null?void 0:r.name)||TP(t))&&e3(t)},"test"),serialize:a((t,r,n,o,i,s)=>{if(SP(t))return vP(t.data,r);if(CP(t))return K5(t.data,r);let l=$i(t)?"DocumentFragment":t.tagName.toLowerCase();return++o>r.maxDepth?X5(l,r):Y5(l,z5($i(t)?[]:Array.from(t.attributes).map(c=>c.name).sort(),$i(t)?{}:Array.from(t.attributes).reduce((c,u)=>(c[u.name]=u.value,c),{}),r,n+r.indent,o,i,s),G5(Array.prototype.slice.call(t.childNodes||t.children).filter(e),r,n+r.indent,o,i,s),r,n)},"serialize")}}a(PP,"createDOMElementFilter");var OP=null,fm=null,hm=null;try{let e=module&&module.require;fm=e.call(module,"fs").readFileSync,hm=e.call(module,"@babel/code-frame").codeFrameColumns,OP=e.call(module,"chalk")}catch{}function _P(e){let t=e.indexOf("(")+1,r=e.indexOf(")"),n=e.slice(t,r),o=n.split(":"),[i,s,l]=[o[0],parseInt(o[1],10),parseInt(o[2],10)],c="";try{c=fm(i,"utf-8")}catch{return""}let u=hm(c,{start:{line:s,column:l}},{highlightCode:!0,linesBelow:0});return OP.dim(n)+`
309
- `+u+`
310
- `}a(_P,"getCodeFrame");function AP(){if(!fm||!hm)return"";let e=new Error().stack.split(`
311
- `).slice(1).find(t=>!t.includes("node_modules/"));return _P(e)}a(AP,"getUserCodeFrame");var RP=3;function Li(){return typeof jest<"u"&&jest!==null?setTimeout._isMockFunction===!0||Object.prototype.hasOwnProperty.call(setTimeout,"clock"):!1}a(Li,"jestFakeTimersAreEnabled");function iu(){if(typeof window>"u")throw new Error("Could not find default container");return window.document}a(iu,"getDocument");function mm(e){if(e.defaultView)return e.defaultView;if(e.ownerDocument&&e.ownerDocument.defaultView)return e.ownerDocument.defaultView;if(e.window)return e.window;throw e.ownerDocument&&e.ownerDocument.defaultView===null?new Error("It looks like the window object is not available for the provided node."):e.then instanceof Function?new Error("It looks like you passed a Promise object instead of a DOM node. Did you do something like `fireEvent.click(screen.findBy...` when you meant to use a `getBy` query `fireEvent.click(screen.getBy...`, or await the findBy query `fireEvent.click(await screen.findBy...`?"):Array.isArray(e)?new Error("It looks like you passed an Array instead of a DOM node. Did you do something like `fireEvent.click(screen.getAllBy...` when you meant to use a `getBy` query `fireEvent.click(screen.getBy...`?"):typeof e.debug=="function"&&typeof e.logTestingPlaygroundURL=="function"?new Error("It looks like you passed a `screen` object. Did you do something like `fireEvent.click(screen, ...` when you meant to use a query, e.g. `fireEvent.click(screen.getBy..., `?"):new Error("The given node is not an Element, the node type is: "+typeof e+".")}a(mm,"getWindowFromNode");function er(e){if(!e||typeof e.querySelector!="function"||typeof e.querySelectorAll!="function")throw new TypeError("Expected container to be an Element, a Document or a DocumentFragment but got "+t(e)+".");function t(r){return typeof r=="object"?r===null?"null":r.constructor.name:typeof r}a(t,"getTypeName")}a(er,"checkContainerType");var t3=a(()=>{if(typeof process>"u")return!1;let e;try{var t;let r=(t=ac)==null?void 0:t.COLORS;r&&(e=JSON.parse(r))}catch{}return typeof e=="boolean"?e:process.versions!==void 0&&process.versions.node!==void 0},"shouldHighlight"),{DOMCollection:r3}=nm.plugins,n3=1,o3=8;function qP(e){return e.nodeType!==o3&&(e.nodeType!==n3||!e.matches(ve().defaultIgnore))}a(qP,"filterCommentsAndDefaultIgnoreTagsTags");function bo(e,t,r){if(r===void 0&&(r={}),e||(e=iu().body),typeof t!="number"&&(t=typeof process<"u"&&typeof ac<"u"&&ac.DEBUG_PRINT_LIMIT||7e3),t===0)return"";e.documentElement&&(e=e.documentElement);let n=typeof e;if(n==="object"?n=e.constructor.name:e={},!("outerHTML"in e))throw new TypeError("Expected an element or document but got "+n);let{filterNode:o=qP,...i}=r,s=nm.format(e,{plugins:[PP(o),r3],printFunctionName:!1,highlight:t3(),...i});return t!==void 0&&e.outerHTML.length>t?s.slice(0,t)+"...":s}a(bo,"prettyDOM");var bd=a(function(){let e=AP();console.log(e?bo(...arguments)+`
312
-
313
- `+e:bo(...arguments))},"logDOM"),pn={testIdAttribute:"data-testid",asyncUtilTimeout:1e3,asyncWrapper:a(e=>e(),"asyncWrapper"),unstable_advanceTimersWrapper:a(e=>e(),"unstable_advanceTimersWrapper"),eventWrapper:a(e=>e(),"eventWrapper"),defaultHidden:!1,defaultIgnore:"script, style",showOriginalStackTrace:!1,throwSuggestions:!1,getElementError(e,t){let r=bo(t),n=new Error([e,"Ignored nodes: comments, "+pn.defaultIgnore+`
314
- `+r].filter(Boolean).join(`
315
-
316
- `));return n.name="TestingLibraryElementError",n},_disableExpensiveErrorDiagnostics:!1,computedStyleSupportsPseudoElements:!1};function IP(e){try{return pn._disableExpensiveErrorDiagnostics=!0,e()}finally{pn._disableExpensiveErrorDiagnostics=!1}}a(IP,"runWithExpensiveErrorDiagnosticsDisabled");function NP(e){typeof e=="function"&&(e=e(pn)),pn={...pn,...e}}a(NP,"configure");function ve(){return pn}a(ve,"getConfig");var a3=["button","meter","output","progress","select","textarea","input"];function ym(e){return a3.includes(e.nodeName.toLowerCase())?"":e.nodeType===RP?e.textContent:Array.from(e.childNodes).map(t=>ym(t)).join("")}a(ym,"getTextContent");function Ps(e){let t;return e.tagName.toLowerCase()==="label"?t=ym(e):t=e.value||e.textContent,t}a(Ps,"getLabelContent");function bm(e){if(e.labels!==void 0){var t;return(t=e.labels)!=null?t:[]}if(!jP(e))return[];let r=e.ownerDocument.querySelectorAll("label");return Array.from(r).filter(n=>n.control===e)}a(bm,"getRealLabels");function jP(e){return/BUTTON|METER|OUTPUT|PROGRESS|SELECT|TEXTAREA/.test(e.tagName)||e.tagName==="INPUT"&&e.getAttribute("type")!=="hidden"}a(jP,"isLabelable");function gm(e,t,r){let{selector:n="*"}=r===void 0?{}:r,o=t.getAttribute("aria-labelledby"),i=o?o.split(" "):[];return i.length?i.map(s=>{let l=e.querySelector('[id="'+s+'"]');return l?{content:Ps(l),formControl:null}:{content:"",formControl:null}}):Array.from(bm(t)).map(s=>{let l=Ps(s),c=Array.from(s.querySelectorAll("button, input, meter, output, progress, select, textarea")).filter(u=>u.matches(n))[0];return{content:l,formControl:c}})}a(gm,"getLabels");function vm(e){if(e==null)throw new Error("It looks like "+e+" was passed instead of a matcher. Did you do something like getByText("+e+")?")}a(vm,"assertNotNullOrUndefined");function In(e,t,r,n){if(typeof e!="string")return!1;vm(r);let o=n(e);return typeof r=="string"||typeof r=="number"?o.toLowerCase().includes(r.toString().toLowerCase()):typeof r=="function"?r(o,t):wm(r,o)}a(In,"fuzzyMatches");function Xt(e,t,r,n){if(typeof e!="string")return!1;vm(r);let o=n(e);return r instanceof Function?r(o,t):r instanceof RegExp?wm(r,o):o===String(r)}a(Xt,"matches");function su(e){let{trim:t=!0,collapseWhitespace:r=!0}=e===void 0?{}:e;return n=>{let o=n;return o=t?o.trim():o,o=r?o.replace(/\s+/g," "):o,o}}a(su,"getDefaultNormalizer");function zr(e){let{trim:t,collapseWhitespace:r,normalizer:n}=e;if(!n)return su({trim:t,collapseWhitespace:r});if(typeof t<"u"||typeof r<"u")throw new Error('trim and collapseWhitespace are not supported with a normalizer. If you want to use the default trim and collapseWhitespace logic in your normalizer, use "getDefaultNormalizer({trim, collapseWhitespace})" and compose that into your normalizer');return n}a(zr,"makeNormalizer");function wm(e,t){let r=e.test(t);return e.global&&e.lastIndex!==0&&(console.warn("To match all elements we had to reset the lastIndex of the RegExp because the global flag is enabled. We encourage to remove the global flag from the RegExp."),e.lastIndex=0),r}a(wm,"matchRegExp");function $o(e){return e.matches("input[type=submit], input[type=button], input[type=reset]")?e.value:Array.from(e.childNodes).filter(t=>t.nodeType===RP&&!!t.textContent).map(t=>t.textContent).join("")}a($o,"getNodeText");var i3=kP(Ot.elementRoles);function Em(e){return e.hidden===!0||e.getAttribute("aria-hidden")==="true"||e.ownerDocument.defaultView.getComputedStyle(e).display==="none"}a(Em,"isSubtreeInaccessible");function vi(e,t){t===void 0&&(t={});let{isSubtreeInaccessible:r=Em}=t;if(e.ownerDocument.defaultView.getComputedStyle(e).visibility==="hidden")return!0;let n=e;for(;n;){if(r(n))return!0;n=n.parentElement}return!1}a(vi,"isInaccessible");function lu(e){for(let{match:t,roles:r}of i3)if(t(e))return[...r];return[]}a(lu,"getImplicitAriaRoles");function kP(e){function t(s){let{name:l,attributes:c}=s;return""+l+c.map(u=>{let{name:d,value:p,constraints:h=[]}=u,f=h.indexOf("undefined")!==-1,m=h.indexOf("set")!==-1;return typeof p<"u"?"["+d+'="'+p+'"]':f?":not(["+d+"])":m?"["+d+"]:not(["+d+'=""])':"["+d+"]"}).join("")}a(t,"makeElementSelector");function r(s){let{attributes:l=[]}=s;return l.length}a(r,"getSelectorSpecificity");function n(s,l){let{specificity:c}=s,{specificity:u}=l;return u-c}a(n,"bySelectorSpecificity");function o(s){let{attributes:l=[]}=s,c=l.findIndex(d=>d.value&&d.name==="type"&&d.value==="text");c>=0&&(l=[...l.slice(0,c),...l.slice(c+1)]);let u=t({...s,attributes:l});return d=>c>=0&&d.type!=="text"?!1:d.matches(u)}a(o,"match");let i=[];for(let[s,l]of e.entries())i=[...i,{match:o(s),roles:Array.from(l),specificity:r(s)}];return i.sort(n)}a(kP,"buildElementRoleList");function xm(e,t){let{hidden:r=!1}=t===void 0?{}:t;function n(o){return[o,...Array.from(o.children).reduce((i,s)=>[...i,...n(s)],[])]}return a(n,"flattenDOM"),n(e).filter(o=>r===!1?vi(o)===!1:!0).reduce((o,i)=>{let s=[];return i.hasAttribute("role")?s=i.getAttribute("role").split(" ").slice(0,1):s=lu(i),s.reduce((l,c)=>Array.isArray(l[c])?{...l,[c]:[...l[c],i]}:{...l,[c]:[i]},o)},{})}a(xm,"getRoles");function Tm(e,t){let{hidden:r,includeDescription:n}=t,o=xm(e,{hidden:r});return Object.entries(o).filter(i=>{let[s]=i;return s!=="generic"}).map(i=>{let[s,l]=i,c="-".repeat(50),u=l.map(d=>{let p='Name "'+au(d,{computedStyleSupportsPseudoElements:ve().computedStyleSupportsPseudoElements})+`":
317
- `,h=bo(d.cloneNode(!1));if(n){let f='Description "'+dm(d,{computedStyleSupportsPseudoElements:ve().computedStyleSupportsPseudoElements})+`":
318
- `;return""+p+f+h}return""+p+h}).join(`
319
-
320
- `);return s+`:
321
-
322
- `+u+`
323
-
324
- `+c}).join(`
325
- `)}a(Tm,"prettyRoles");var s3=a(function(e,t){let{hidden:r=!1}=t===void 0?{}:t;return console.log(Tm(e,{hidden:r}))},"logRoles");function MP(e){return e.tagName==="OPTION"?e.selected:Lo(e,"aria-selected")}a(MP,"computeAriaSelected");function $P(e){return e.getAttribute("aria-busy")==="true"}a($P,"computeAriaBusy");function LP(e){if(!("indeterminate"in e&&e.indeterminate))return"checked"in e?e.checked:Lo(e,"aria-checked")}a(LP,"computeAriaChecked");function DP(e){return Lo(e,"aria-pressed")}a(DP,"computeAriaPressed");function FP(e){var t,r;return(t=(r=Lo(e,"aria-current"))!=null?r:e.getAttribute("aria-current"))!=null?t:!1}a(FP,"computeAriaCurrent");function BP(e){return Lo(e,"aria-expanded")}a(BP,"computeAriaExpanded");function Lo(e,t){let r=e.getAttribute(t);if(r==="true")return!0;if(r==="false")return!1}a(Lo,"checkBooleanAttribute");function UP(e){let t={H1:1,H2:2,H3:3,H4:4,H5:5,H6:6};return e.getAttribute("aria-level")&&Number(e.getAttribute("aria-level"))||t[e.tagName]}a(UP,"computeHeadingLevel");function HP(e){let t=e.getAttribute("aria-valuenow");return t===null?void 0:+t}a(HP,"computeAriaValueNow");function VP(e){let t=e.getAttribute("aria-valuemax");return t===null?void 0:+t}a(VP,"computeAriaValueMax");function JP(e){let t=e.getAttribute("aria-valuemin");return t===null?void 0:+t}a(JP,"computeAriaValueMin");function zP(e){let t=e.getAttribute("aria-valuetext");return t===null?void 0:t}a(zP,"computeAriaValueText");var Bb=su();function WP(e){return e.replace(/[.*+\-?^${}()|[\]\\]/g,"\\$&")}a(WP,"escapeRegExp");function gd(e){return new RegExp(WP(e.toLowerCase()),"i")}a(gd,"getRegExpMatcher");function sr(e,t,r,n){let{variant:o,name:i}=n,s="",l={},c=[["Role","TestId"].includes(e)?r:gd(r)];i&&(l.name=gd(i)),e==="Role"&&vi(t)&&(l.hidden=!0,s=`Element is inaccessible. This means that the element and all its children are invisible to screen readers.
326
- If you are using the aria-hidden prop, make sure this is the right choice for your case.
327
- `),Object.keys(l).length>0&&c.push(l);let u=o+"By"+e;return{queryName:e,queryMethod:u,queryArgs:c,variant:o,warning:s,toString(){s&&console.warn(s);let[d,p]=c;return d=typeof d=="string"?"'"+d+"'":d,p=p?", { "+Object.entries(p).map(h=>{let[f,m]=h;return f+": "+m}).join(", ")+" }":"",u+"("+d+p+")"}}}a(sr,"makeSuggestion");function lr(e,t,r){return r&&(!t||t.toLowerCase()===e.toLowerCase())}a(lr,"canSuggest");function Ha(e,t,r){var n,o;if(t===void 0&&(t="get"),e.matches(ve().defaultIgnore))return;let i=(n=e.getAttribute("role"))!=null?n:(o=lu(e))==null?void 0:o[0];if(i!=="generic"&&lr("Role",r,i))return sr("Role",e,i,{variant:t,name:au(e,{computedStyleSupportsPseudoElements:ve().computedStyleSupportsPseudoElements})});let s=gm(document,e).map(h=>h.content).join(" ");if(lr("LabelText",r,s))return sr("LabelText",e,s,{variant:t});let l=e.getAttribute("placeholder");if(lr("PlaceholderText",r,l))return sr("PlaceholderText",e,l,{variant:t});let c=Bb($o(e));if(lr("Text",r,c))return sr("Text",e,c,{variant:t});if(lr("DisplayValue",r,e.value))return sr("DisplayValue",e,Bb(e.value),{variant:t});let u=e.getAttribute("alt");if(lr("AltText",r,u))return sr("AltText",e,u,{variant:t});let d=e.getAttribute("title");if(lr("Title",r,d))return sr("Title",e,d,{variant:t});let p=e.getAttribute(ve().testIdAttribute);if(lr("TestId",r,p))return sr("TestId",e,p,{variant:t})}a(Ha,"getSuggestedQuery");function ua(e,t){e.stack=t.stack.replace(t.message,e.message)}a(ua,"copyStackTrace");function GP(e,t){let{container:r=iu(),timeout:n=ve().asyncUtilTimeout,showOriginalStackTrace:o=ve().showOriginalStackTrace,stackTraceError:i,interval:s=50,onTimeout:l=a(u=>(Object.defineProperty(u,"message",{value:ve().getElementError(u.message,r).message}),u),"onTimeout"),mutationObserverOptions:c={subtree:!0,childList:!0,attributes:!0,characterData:!0}}=t;if(typeof e!="function")throw new TypeError("Received `callback` arg must be a function");return new Promise(async(u,d)=>{let p,h,f,m=!1,b="idle",g=setTimeout(R,n),v=Li();if(v){let{unstable_advanceTimersWrapper:T}=ve();for(A();!m;){if(!Li()){let E=new Error("Changed from using fake timers to real timers while using waitFor. This is not allowed and will result in very strange behavior. Please ensure you're awaiting all async things your test is doing before changing to real timers. For more info, please go to https://github.com/testing-library/dom-testing-library/issues/830");o||ua(E,i),d(E);return}if(await T(async()=>{jest.advanceTimersByTime(s)}),m)break;A()}}else{try{er(r)}catch(E){d(E);return}h=setInterval(P,s);let{MutationObserver:T}=mm(r);f=new T(P),f.observe(r,c),A()}function w(T,E){m=!0,clearTimeout(g),v||(clearInterval(h),f.disconnect()),T?d(T):u(E)}a(w,"onDone");function P(){if(Li()){let T=new Error("Changed from using real timers to fake timers while using waitFor. This is not allowed and will result in very strange behavior. Please ensure you're awaiting all async things your test is doing before changing to fake timers. For more info, please go to https://github.com/testing-library/dom-testing-library/issues/830");return o||ua(T,i),d(T)}else return A()}a(P,"checkRealTimersCallback");function A(){if(b!=="pending")try{let T=IP(e);typeof T?.then=="function"?(b="pending",T.then(E=>{b="resolved",w(null,E)},E=>{b="rejected",p=E})):w(null,T)}catch(T){p=T}}a(A,"checkCallback");function R(){let T;p?(T=p,!o&&T.name==="TestingLibraryElementError"&&ua(T,i)):(T=new Error("Timed out in waitFor."),o||ua(T,i)),w(l(T),null)}a(R,"handleTimeout")})}a(GP,"waitFor");function uu(e,t){let r=new Error("STACK_TRACE_MESSAGE");return ve().asyncWrapper(()=>GP(e,{stackTraceError:r,...t}))}a(uu,"waitForWrapper");function wi(e,t){return ve().getElementError(e,t)}a(wi,"getElementError");function Ei(e,t){return wi(e+"\n\n(If this is intentional, then use the `*AllBy*` variant of the query (like `queryAllByText`, `getAllByText`, or `findAllByText`)).",t)}a(Ei,"getMultipleElementsFoundError");function Wr(e,t,r,n){let{exact:o=!0,collapseWhitespace:i,trim:s,normalizer:l}=n===void 0?{}:n,c=o?Xt:In,u=zr({collapseWhitespace:i,trim:s,normalizer:l});return Array.from(t.querySelectorAll("["+e+"]")).filter(d=>c(d.getAttribute(e),d,r,u))}a(Wr,"queryAllByAttribute");function Sm(e,t,r,n){let o=Wr(e,t,r,n);if(o.length>1)throw Ei("Found multiple elements by ["+e+"="+r+"]",t);return o[0]||null}a(Sm,"queryByAttribute");function bn(e,t){return function(r){for(var n=arguments.length,o=new Array(n>1?n-1:0),i=1;i<n;i++)o[i-1]=arguments[i];let s=e(r,...o);if(s.length>1){let l=s.map(c=>wi(null,c).message).join(`
328
-
329
- `);throw Ei(t(r,...o)+`
330
-
331
- Here are the matching elements:
332
-
333
- `+l,r)}return s[0]||null}}a(bn,"makeSingleQuery");function Cm(e,t){return ve().getElementError(`A better query is available, try this:
334
- `+e.toString()+`
335
- `,t)}a(Cm,"getSuggestionError");function cu(e,t){return function(r){for(var n=arguments.length,o=new Array(n>1?n-1:0),i=1;i<n;i++)o[i-1]=arguments[i];let s=e(r,...o);if(!s.length)throw ve().getElementError(t(r,...o),r);return s}}a(cu,"makeGetAllQuery");function gn(e){return(t,r,n,o)=>uu(()=>e(t,r,n),{container:t,...o})}a(gn,"makeFindQuery");var $r=a((e,t,r)=>function(n){for(var o=arguments.length,i=new Array(o>1?o-1:0),s=1;s<o;s++)i[s-1]=arguments[s];let l=e(n,...i),[{suggest:c=ve().throwSuggestions}={}]=i.slice(-1);if(l&&c){let u=Ha(l,r);if(u&&!t.endsWith(u.queryName))throw Cm(u.toString(),n)}return l},"wrapSingleQueryWithSuggestion"),pt=a((e,t,r)=>function(n){for(var o=arguments.length,i=new Array(o>1?o-1:0),s=1;s<o;s++)i[s-1]=arguments[s];let l=e(n,...i),[{suggest:c=ve().throwSuggestions}={}]=i.slice(-1);if(l.length&&c){let u=[...new Set(l.map(d=>{var p;return(p=Ha(d,r))==null?void 0:p.toString()}))];if(u.length===1&&!t.endsWith(Ha(l[0],r).queryName))throw Cm(u[0],n)}return l},"wrapAllByQueryWithSuggestion");function tr(e,t,r){let n=$r(bn(e,t),e.name,"query"),o=cu(e,r),i=bn(o,t),s=$r(i,e.name,"get"),l=pt(o,e.name.replace("query","get"),"getAll"),c=gn(pt(o,e.name,"findAll")),u=gn($r(i,e.name,"find"));return[n,l,s,c,u]}a(tr,"buildQueries");var l3=Object.freeze({__proto__:null,getElementError:wi,wrapAllByQueryWithSuggestion:pt,wrapSingleQueryWithSuggestion:$r,getMultipleElementsFoundError:Ei,queryAllByAttribute:Wr,queryByAttribute:Sm,makeSingleQuery:bn,makeGetAllQuery:cu,makeFindQuery:gn,buildQueries:tr});function KP(e){return Array.from(e.querySelectorAll("label,input")).map(t=>({node:t,textToMatch:Ps(t)})).filter(t=>{let{textToMatch:r}=t;return r!==null})}a(KP,"queryAllLabels");var u3=a(function(e,t,r){let{exact:n=!0,trim:o,collapseWhitespace:i,normalizer:s}=r===void 0?{}:r,l=n?Xt:In,c=zr({collapseWhitespace:i,trim:o,normalizer:s});return KP(e).filter(u=>{let{node:d,textToMatch:p}=u;return l(p,d,t,c)}).map(u=>{let{node:d}=u;return d})},"queryAllLabelsByText"),Va=a(function(e,t,r){let{selector:n="*",exact:o=!0,collapseWhitespace:i,trim:s,normalizer:l}=r===void 0?{}:r;er(e);let c=o?Xt:In,u=zr({collapseWhitespace:i,trim:s,normalizer:l}),d=Array.from(e.querySelectorAll("*")).filter(p=>bm(p).length||p.hasAttribute("aria-labelledby")).reduce((p,h)=>{let f=gm(e,h,{selector:n});f.filter(b=>!!b.formControl).forEach(b=>{c(b.content,b.formControl,t,u)&&b.formControl&&p.push(b.formControl)});let m=f.filter(b=>!!b.content).map(b=>b.content);return c(m.join(" "),h,t,u)&&p.push(h),m.length>1&&m.forEach((b,g)=>{c(b,h,t,u)&&p.push(h);let v=[...m];v.splice(g,1),v.length>1&&c(v.join(" "),h,t,u)&&p.push(h)}),p},[]).concat(Wr("aria-label",e,t,{exact:o,normalizer:u}));return Array.from(new Set(d)).filter(p=>p.matches(n))},"queryAllByLabelText"),vn=a(function(e,t){for(var r=arguments.length,n=new Array(r>2?r-2:0),o=2;o<r;o++)n[o-2]=arguments[o];let i=Va(e,t,...n);if(!i.length){let s=u3(e,t,...n);if(s.length){let l=s.map(c=>YP(e,c)).filter(c=>!!c);throw l.length?ve().getElementError(l.map(c=>"Found a label with the text of: "+t+", however the element associated with this label (<"+c+" />) is non-labellable [https://html.spec.whatwg.org/multipage/forms.html#category-label]. If you really need to label a <"+c+" />, you can use aria-label or aria-labelledby instead.").join(`
336
-
337
- `),e):ve().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 ve().getElementError("Unable to find a label with the text of: "+t,e)}return i},"getAllByLabelText");function YP(e,t){let r=t.getAttribute("for");if(!r)return null;let n=e.querySelector('[id="'+r+'"]');return n?n.tagName.toLowerCase():null}a(YP,"getTagNameOfElementAssociatedWithLabelViaFor");var XP=a((e,t)=>"Found multiple elements with the text of: "+t,"getMultipleError$7"),QP=$r(bn(Va,XP),Va.name,"query"),ZP=bn(vn,XP),eO=gn(pt(vn,vn.name,"findAll")),tO=gn($r(ZP,vn.name,"find")),rO=pt(vn,vn.name,"getAll"),nO=$r(ZP,vn.name,"get"),oO=pt(Va,Va.name,"queryAll"),vd=a(function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return er(t[0]),Wr("placeholder",...t)},"queryAllByPlaceholderText"),c3=a((e,t)=>"Found multiple elements with the placeholder text of: "+t,"getMultipleError$6"),d3=a((e,t)=>"Unable to find an element with the placeholder text of: "+t,"getMissingError$6"),aO=pt(vd,vd.name,"queryAll"),[iO,sO,lO,uO,cO]=tr(vd,c3,d3),wd=a(function(e,t,r){let{selector:n="*",exact:o=!0,collapseWhitespace:i,trim:s,ignore:l=ve().defaultIgnore,normalizer:c}=r===void 0?{}:r;er(e);let u=o?Xt:In,d=zr({collapseWhitespace:i,trim:s,normalizer:c}),p=[];return typeof e.matches=="function"&&e.matches(n)&&(p=[e]),[...p,...Array.from(e.querySelectorAll(n))].filter(h=>!l||!h.matches(l)).filter(h=>u($o(h),h,t,d))},"queryAllByText"),p3=a((e,t)=>"Found multiple elements with the text: "+t,"getMultipleError$5"),f3=a(function(e,t,r){r===void 0&&(r={});let{collapseWhitespace:n,trim:o,normalizer:i,selector:s}=r,l=zr({collapseWhitespace:n,trim:o,normalizer:i})(t.toString()),c=l!==t.toString(),u=(s??"*")!=="*";return"Unable to find an element with the text: "+(c?l+" (normalized from '"+t+"')":t)+(u?", which matches selector '"+s+"'":"")+". 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."},"getMissingError$5"),dO=pt(wd,wd.name,"queryAll"),[pO,fO,hO,mO,yO]=tr(wd,p3,f3),Ed=a(function(e,t,r){let{exact:n=!0,collapseWhitespace:o,trim:i,normalizer:s}=r===void 0?{}:r;er(e);let l=n?Xt:In,c=zr({collapseWhitespace:o,trim:i,normalizer:s});return Array.from(e.querySelectorAll("input,textarea,select")).filter(u=>u.tagName==="SELECT"?Array.from(u.options).filter(d=>d.selected).some(d=>l($o(d),d,t,c)):l(u.value,u,t,c))},"queryAllByDisplayValue"),h3=a((e,t)=>"Found multiple elements with the display value: "+t+".","getMultipleError$4"),m3=a((e,t)=>"Unable to find an element with the display value: "+t+".","getMissingError$4"),bO=pt(Ed,Ed.name,"queryAll"),[gO,vO,wO,EO,xO]=tr(Ed,h3,m3),y3=/^(img|input|area|.+-.+)$/i,xd=a(function(e,t,r){return r===void 0&&(r={}),er(e),Wr("alt",e,t,r).filter(n=>y3.test(n.tagName))},"queryAllByAltText"),b3=a((e,t)=>"Found multiple elements with the alt text: "+t,"getMultipleError$3"),g3=a((e,t)=>"Unable to find an element with the alt text: "+t,"getMissingError$3"),TO=pt(xd,xd.name,"queryAll"),[SO,CO,PO,OO,_O]=tr(xd,b3,g3),v3=a(e=>{var t;return e.tagName.toLowerCase()==="title"&&((t=e.parentElement)==null?void 0:t.tagName.toLowerCase())==="svg"},"isSvgTitle"),Td=a(function(e,t,r){let{exact:n=!0,collapseWhitespace:o,trim:i,normalizer:s}=r===void 0?{}:r;er(e);let l=n?Xt:In,c=zr({collapseWhitespace:o,trim:i,normalizer:s});return Array.from(e.querySelectorAll("[title], svg > title")).filter(u=>l(u.getAttribute("title"),u,t,c)||v3(u)&&l($o(u),u,t,c))},"queryAllByTitle"),w3=a((e,t)=>"Found multiple elements with the title: "+t+".","getMultipleError$2"),E3=a((e,t)=>"Unable to find an element with the title: "+t+".","getMissingError$2"),AO=pt(Td,Td.name,"queryAll"),[RO,qO,IO,NO,jO]=tr(Td,w3,E3),Sd=a(function(e,t,r){let{hidden:n=ve().defaultHidden,name:o,description:i,queryFallbacks:s=!1,selected:l,busy:c,checked:u,pressed:d,current:p,level:h,expanded:f,value:{now:m,min:b,max:g,text:v}={}}=r===void 0?{}:r;if(er(e),l!==void 0){var w;if(((w=Ot.roles.get(t))==null?void 0:w.props["aria-selected"])===void 0)throw new Error('"aria-selected" is not supported on role "'+t+'".')}if(c!==void 0){var P;if(((P=Ot.roles.get(t))==null?void 0:P.props["aria-busy"])===void 0)throw new Error('"aria-busy" is not supported on role "'+t+'".')}if(u!==void 0){var A;if(((A=Ot.roles.get(t))==null?void 0:A.props["aria-checked"])===void 0)throw new Error('"aria-checked" is not supported on role "'+t+'".')}if(d!==void 0){var R;if(((R=Ot.roles.get(t))==null?void 0:R.props["aria-pressed"])===void 0)throw new Error('"aria-pressed" is not supported on role "'+t+'".')}if(p!==void 0){var T;if(((T=Ot.roles.get(t))==null?void 0:T.props["aria-current"])===void 0)throw new Error('"aria-current" is not supported on role "'+t+'".')}if(h!==void 0&&t!=="heading")throw new Error('Role "'+t+'" cannot have "level" property.');if(m!==void 0){var E;if(((E=Ot.roles.get(t))==null?void 0:E.props["aria-valuenow"])===void 0)throw new Error('"aria-valuenow" is not supported on role "'+t+'".')}if(g!==void 0){var x;if(((x=Ot.roles.get(t))==null?void 0:x.props["aria-valuemax"])===void 0)throw new Error('"aria-valuemax" is not supported on role "'+t+'".')}if(b!==void 0){var C;if(((C=Ot.roles.get(t))==null?void 0:C.props["aria-valuemin"])===void 0)throw new Error('"aria-valuemin" is not supported on role "'+t+'".')}if(v!==void 0){var k;if(((k=Ot.roles.get(t))==null?void 0:k.props["aria-valuetext"])===void 0)throw new Error('"aria-valuetext" is not supported on role "'+t+'".')}if(f!==void 0){var I;if(((I=Ot.roles.get(t))==null?void 0:I.props["aria-expanded"])===void 0)throw new Error('"aria-expanded" is not supported on role "'+t+'".')}let U=new WeakMap;function D(O){return U.has(O)||U.set(O,Em(O)),U.get(O)}return a(D,"cachedIsSubtreeInaccessible"),Array.from(e.querySelectorAll(kO(t))).filter(O=>{if(O.hasAttribute("role")){let M=O.getAttribute("role");if(s)return M.split(" ").filter(Boolean).some(K=>K===t);let[$]=M.split(" ");return $===t}return lu(O).some(M=>M===t)}).filter(O=>{if(l!==void 0)return l===MP(O);if(c!==void 0)return c===$P(O);if(u!==void 0)return u===LP(O);if(d!==void 0)return d===DP(O);if(p!==void 0)return p===FP(O);if(f!==void 0)return f===BP(O);if(h!==void 0)return h===UP(O);if(m!==void 0||g!==void 0||b!==void 0||v!==void 0){let $=!0;if(m!==void 0&&$&&($=m===HP(O)),g!==void 0&&$&&($=g===VP(O)),b!==void 0&&$&&($=b===JP(O)),v!==void 0){var M;$&&($=Xt((M=zP(O))!=null?M:null,O,v,K=>K))}return $}return!0}).filter(O=>o===void 0?!0:Xt(au(O,{computedStyleSupportsPseudoElements:ve().computedStyleSupportsPseudoElements}),O,o,M=>M)).filter(O=>i===void 0?!0:Xt(dm(O,{computedStyleSupportsPseudoElements:ve().computedStyleSupportsPseudoElements}),O,i,M=>M)).filter(O=>n===!1?vi(O,{isSubtreeInaccessible:D})===!1:!0)},"queryAllByRole");function kO(e){var t;let r='*[role~="'+e+'"]',n=(t=Ot.roleElements.get(e))!=null?t:new Set,o=new Set(Array.from(n).map(i=>{let{name:s}=i;return s}));return[r].concat(Array.from(o)).join(",")}a(kO,"makeRoleSelector");var MO=a(e=>{let t="";return e===void 0?t="":typeof e=="string"?t=' and name "'+e+'"':t=" and name `"+e+"`",t},"getNameHint"),x3=a(function(e,t,r){let{name:n}=r===void 0?{}:r;return'Found multiple elements with the role "'+t+'"'+MO(n)},"getMultipleError$1"),T3=a(function(e,t,r){let{hidden:n=ve().defaultHidden,name:o,description:i}=r===void 0?{}:r;if(ve()._disableExpensiveErrorDiagnostics)return'Unable to find role="'+t+'"'+MO(o);let s="";Array.from(e.children).forEach(d=>{s+=Tm(d,{hidden:n,includeDescription:i!==void 0})});let l;s.length===0?n===!1?l="There are no accessible roles. But there might be some inaccessible roles. If you wish to access them, then set the `hidden` option to `true`. Learn more about this here: https://testing-library.com/docs/dom-testing-library/api-queries#byrole":l="There are no available roles.":l=(`
338
- Here are the `+(n===!1?"accessible":"available")+` roles:
339
-
340
- `+s.replace(/\n/g,`
341
- `).replace(/\n\s\s\n/g,`
342
-
343
- `)+`
344
- `).trim();let c="";o===void 0?c="":typeof o=="string"?c=' and name "'+o+'"':c=" and name `"+o+"`";let u="";return i===void 0?u="":typeof i=="string"?u=' and description "'+i+'"':u=" and description `"+i+"`",(`
345
- Unable to find an `+(n===!1?"accessible ":"")+'element with the role "'+t+'"'+c+u+`
346
-
347
- `+l).trim()},"getMissingError$1"),$O=pt(Sd,Sd.name,"queryAll"),[LO,DO,FO,BO,UO]=tr(Sd,x3,T3),Pm=a(()=>ve().testIdAttribute,"getTestIdAttribute"),Cd=a(function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return er(t[0]),Wr(Pm(),...t)},"queryAllByTestId"),S3=a((e,t)=>"Found multiple elements by: ["+Pm()+'="'+t+'"]',"getMultipleError"),C3=a((e,t)=>"Unable to find an element by: ["+Pm()+'="'+t+'"]',"getMissingError"),HO=pt(Cd,Cd.name,"queryAll"),[VO,JO,zO,WO,GO]=tr(Cd,S3,C3),Os=Object.freeze({__proto__:null,queryAllByLabelText:oO,queryByLabelText:QP,getAllByLabelText:rO,getByLabelText:nO,findAllByLabelText:eO,findByLabelText:tO,queryByPlaceholderText:iO,queryAllByPlaceholderText:aO,getByPlaceholderText:lO,getAllByPlaceholderText:sO,findAllByPlaceholderText:uO,findByPlaceholderText:cO,queryByText:pO,queryAllByText:dO,getByText:hO,getAllByText:fO,findAllByText:mO,findByText:yO,queryByDisplayValue:gO,queryAllByDisplayValue:bO,getByDisplayValue:wO,getAllByDisplayValue:vO,findAllByDisplayValue:EO,findByDisplayValue:xO,queryByAltText:SO,queryAllByAltText:TO,getByAltText:PO,getAllByAltText:CO,findAllByAltText:OO,findByAltText:_O,queryByTitle:RO,queryAllByTitle:AO,getByTitle:IO,getAllByTitle:qO,findAllByTitle:NO,findByTitle:jO,queryByRole:LO,queryAllByRole:$O,getAllByRole:DO,getByRole:FO,findAllByRole:BO,findByRole:UO,queryByTestId:VO,queryAllByTestId:HO,getByTestId:zO,getAllByTestId:JO,findAllByTestId:WO,findByTestId:GO});function _s(e,t,r){return t===void 0&&(t=Os),r===void 0&&(r={}),Object.keys(t).reduce((n,o)=>{let i=t[o];return n[o]=i.bind(null,e),n},r)}a(_s,"getQueriesForElement");var KO=a(e=>!e||Array.isArray(e)&&!e.length,"isRemoved");function Pd(e){if(KO(e))throw new Error("The element(s) given to waitForElementToBeRemoved are already removed. waitForElementToBeRemoved requires that the element(s) exist(s) before waiting for removal.")}a(Pd,"initialCheck");async function YO(e,t){let r=new Error("Timed out in waitForElementToBeRemoved.");if(typeof e!="function"){Pd(e);let n=(Array.isArray(e)?e:[e]).map(o=>{let i=o.parentElement;if(i===null)return()=>null;for(;i.parentElement;)i=i.parentElement;return()=>i.contains(o)?o:null});e=a(()=>n.map(o=>o()).filter(Boolean),"callback")}return Pd(e()),uu(()=>{let n;try{n=e()}catch(o){if(o.name==="TestingLibraryElementError")return;throw o}if(!KO(n))throw r},t)}a(YO,"waitForElementToBeRemoved");var Ub={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}}},Hb={doubleClick:"dblClick"};function go(e,t){return ve().eventWrapper(()=>{if(!t)throw new Error("Unable to fire an event - please provide an event object.");if(!e)throw new Error('Unable to fire a "'+t.type+'" event - please provide a DOM element.');return e.dispatchEvent(t)})}a(go,"fireEvent");function xa(e,t,r,n){let{EventType:o="Event",defaultInit:i={}}=n===void 0?{}:n;if(!t)throw new Error('Unable to fire a "'+e+'" event - please provide a DOM element.');let s={...i,...r},{target:{value:l,files:c,...u}={}}=s;l!==void 0&&XO(t,l),c!==void 0&&Object.defineProperty(t,"files",{configurable:!0,enumerable:!0,writable:!0,value:c}),Object.assign(t,u);let d=mm(t),p=d[o]||d.Event,h;if(typeof p=="function")h=new p(e,s);else{h=d.document.createEvent(o);let{bubbles:f,cancelable:m,detail:b,...g}=s;h.initEvent(e,f,m,b),Object.keys(g).forEach(v=>{h[v]=g[v]})}return["dataTransfer","clipboardData"].forEach(f=>{let m=s[f];typeof m=="object"&&(typeof d.DataTransfer=="function"?Object.defineProperty(h,f,{value:Object.getOwnPropertyNames(m).reduce((b,g)=>(Object.defineProperty(b,g,{value:m[g]}),b),new d.DataTransfer)}):Object.defineProperty(h,f,{value:m}))}),h}a(xa,"createEvent");Object.keys(Ub).forEach(e=>{let{EventType:t,defaultInit:r}=Ub[e],n=e.toLowerCase();xa[e]=(o,i)=>xa(n,o,i,{EventType:t,defaultInit:r}),go[e]=(o,i)=>go(o,xa[e](o,i))});function XO(e,t){let{set:r}=Object.getOwnPropertyDescriptor(e,"value")||{},n=Object.getPrototypeOf(e),{set:o}=Object.getOwnPropertyDescriptor(n,"value")||{};if(o&&r!==o)o.call(e,t);else if(r)r.call(e,t);else throw new Error("The given element does not have a value setter")}a(XO,"setNativeValue");Object.keys(Hb).forEach(e=>{let t=Hb[e];go[e]=function(){return go[t](...arguments)}});function QO(e){return e.replace(/[ \t]*[\n][ \t]*/g,`
348
- `)}a(QO,"unindent");function ZO(e){return J5.default.compressToEncodedURIComponent(QO(e))}a(ZO,"encode");function e_(e){return"https://testing-playground.com/#markup="+ZO(e)}a(e_,"getPlaygroundUrl");var P3=a((e,t,r)=>Array.isArray(e)?e.forEach(n=>bd(n,t,r)):bd(e,t,r),"debug"),O3=a(function(e){if(e===void 0&&(e=iu().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=e_(e.innerHTML);return console.log(`Open this URL in your browser
349
-
350
- `+t),t},"logTestingPlaygroundURL"),Vb={debug:P3,logTestingPlaygroundURL:O3},_3=typeof document<"u"&&document.body?_s(document.body,Os,Vb):Object.keys(Os).reduce((e,t)=>(e[t]=()=>{throw new TypeError("For queries bound to document.body a global document has to be available... Learn more: https://testing-library.com/s/screen-global-error")},e),Vb);function ye(e,t,r){return e.namespaceURI&&e.namespaceURI!=="http://www.w3.org/1999/xhtml"||(t=Array.isArray(t)?t:[t],!t.includes(e.tagName.toLowerCase()))?!1:r?Object.entries(r).every(([n,o])=>e[n]===o):!0}a(ye,"isElementType");function St(e){var t;if(t_(e)&&e.defaultView)return e.defaultView;if(!((t=e.ownerDocument)===null||t===void 0)&&t.defaultView)return e.ownerDocument.defaultView;throw new Error(`Could not determine window of node. Node was ${r_(e)}`)}a(St,"getWindow");function t_(e){return e.nodeType===9}a(t_,"isDocument");function r_(e){return typeof e=="function"?`function ${e.name}`:e===null?"null":String(e)}a(r_,"describe");function Om(e,t){return new Promise((r,n)=>{let o=new t;o.onerror=n,o.onabort=n,o.onload=()=>{r(String(o.result))},o.readAsText(e)})}a(Om,"readBlobText");function du(e,t){let r={...t,length:t.length,item:a(n=>r[n],"item"),[Symbol.iterator]:a(function*(){for(let n=0;n<r.length;n++)yield r[n]},"nextFile")};return r.constructor=e.FileList,e.FileList&&Object.setPrototypeOf(r,e.FileList.prototype),Object.freeze(r),r}a(du,"createFileList");function fr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}a(fr,"_define_property");var n_=class{getAsFile(){return this.file}getAsString(t){typeof this.data=="string"&&t(this.data)}webkitGetAsEntry(){throw new Error("not implemented")}constructor(t,r){fr(this,"kind",void 0),fr(this,"type",void 0),fr(this,"file",null),fr(this,"data",void 0),typeof t=="string"?(this.kind="string",this.type=String(r),this.data=t):(this.kind="file",this.type=t.type,this.file=t)}};a(n_,"DataTransferItemStub");var o_=n_,a_=class extends Array{add(...t){let r=new o_(t[0],t[1]);return this.push(r),r}clear(){this.splice(0,this.length)}remove(t){this.splice(t,1)}};a(a_,"DataTransferItemListStub");var A3=a_;function ca(e,t){let[r,n]=e.split("/"),o=!n||n==="*";return i=>t?i.type===(o?r:e):o?i.type.startsWith(`${r}/`):i.type===r}a(ca,"getTypeMatcher");function i_(e){var t;return new(t=class{getData(r){var n;let o=(n=this.items.find(ca(r,!0)))!==null&&n!==void 0?n:this.items.find(ca(r,!1)),i="";return o?.getAsString(s=>{i=s}),i}setData(r,n){let o=this.items.findIndex(ca(r,!0)),i=new o_(n,r);o>=0?this.items.splice(o,1,i):this.items.push(i)}clearData(r){if(r){let n=this.items.findIndex(ca(r,!0));n>=0&&this.items.remove(n)}else this.items.clear()}get types(){let r=[];return this.files.length&&r.push("Files"),this.items.forEach(n=>r.push(n.type)),Object.freeze(r),r}setDragImage(){}constructor(){fr(this,"dropEffect","none"),fr(this,"effectAllowed","uninitialized"),fr(this,"items",new A3),fr(this,"files",du(e,[]))}},a(t,"DataTransferStub"),t)}a(i_,"createDataTransferStub");function pu(e,t=[]){let r=typeof e.DataTransfer>"u"?i_(e):new e.DataTransfer;return Object.defineProperty(r,"files",{get:a(()=>du(e,t),"get")}),r}a(pu,"createDataTransfer");async function s_(e,t){return t.kind==="file"?t.getAsFile():new e.Blob([await new Promise(r=>t.getAsString(r))],{type:t.type})}a(s_,"getBlobFromDataTransferItem");function _m(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}a(_m,"_define_property");function Am(e,...t){var r;let n=Object.fromEntries(t.map(o=>[typeof o=="string"?"text/plain":o.type,Promise.resolve(o)]));return typeof e.ClipboardItem<"u"?new e.ClipboardItem(n):new(r=class{get types(){return Array.from(Object.keys(this.data))}async getType(o){let i=await this.data[o];if(!i)throw new Error(`${o} is not one of the available MIME types on this item.`);return i instanceof e.Blob?i:new e.Blob([i],{type:o})}constructor(o){_m(this,"data",void 0),this.data=o}},a(r,"ClipboardItem"),r)(n)}a(Am,"createClipboardItem");var vo=Symbol("Manage ClipboardSub");function Od(e,t){var r;return Object.assign(new(r=class extends e.EventTarget{async read(){return Array.from(this.items)}async readText(){let n="";for(let o of this.items){let i=o.types.includes("text/plain")?"text/plain":o.types.find(s=>s.startsWith("text/"));i&&(n+=await o.getType(i).then(s=>Om(s,e.FileReader)))}return n}async write(n){this.items=n}async writeText(n){this.items=[Am(e,n)]}constructor(...n){super(...n),_m(this,"items",[])}},a(r,"Clipboard"),r),{[vo]:t})}a(Od,"createClipboardStub");function fu(e){return!!e?.[vo]}a(fu,"isClipboardStub");function l_(e){if(fu(e.navigator.clipboard))return e.navigator.clipboard[vo];let t=Object.getOwnPropertyDescriptor(e.navigator,"clipboard"),r,n={resetClipboardStub:a(()=>{r=Od(e,n)},"resetClipboardStub"),detachClipboardStub:a(()=>{t?Object.defineProperty(e.navigator,"clipboard",t):Object.defineProperty(e.navigator,"clipboard",{value:void 0,configurable:!0})},"detachClipboardStub")};return r=Od(e,n),Object.defineProperty(e.navigator,"clipboard",{get:a(()=>r,"get"),configurable:!0}),r[vo]}a(l_,"attachClipboardStubToView");function u_(e){fu(e.navigator.clipboard)&&e.navigator.clipboard[vo].resetClipboardStub()}a(u_,"resetClipboardStubOnView");function c_(e){fu(e.navigator.clipboard)&&e.navigator.clipboard[vo].detachClipboardStub()}a(c_,"detachClipboardStubFromView");async function d_(e){let t=e.defaultView,r=t?.navigator.clipboard,n=r&&await r.read();if(!n)throw new Error("The Clipboard API is unavailable.");let o=pu(t);for(let i of n)for(let s of i.types)o.setData(s,await i.getType(s).then(l=>Om(l,t.FileReader)));return o}a(d_,"readDataTransferFromClipboard");async function Rm(e,t){let r=St(e),n=r.navigator.clipboard,o=[];for(let i=0;i<t.items.length;i++){let s=t.items[i],l=await s_(r,s);o.push(Am(r,l))}if(!(n&&await n.write(o).then(()=>!0,()=>!1)))throw new Error("The Clipboard API is unavailable.")}a(Rm,"writeDataTransferToClipboard");var As=globalThis;typeof As.afterEach=="function"&&As.afterEach(()=>{typeof globalThis.window<"u"&&u_(globalThis.window)});typeof As.afterAll=="function"&&As.afterAll(()=>{typeof globalThis.window<"u"&&c_(globalThis.window)});var p_=["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 hu(e){return e.matches(p_)}a(hu,"isFocusable");function f_(e){return new e.constructor(e.type,e)}a(f_,"cloneEvent");function Qt(e){for(let r=e;r;r=r.parentElement)if(ye(r,["button","input","select","textarea","optgroup","option"])){if(r.hasAttribute("disabled"))return!0}else if(ye(r,"fieldset")){var t;if(r.hasAttribute("disabled")&&!(!((t=r.querySelector(":scope > legend"))===null||t===void 0)&&t.contains(e)))return!0}else if(r.tagName.includes("-")&&r.constructor.formAssociated&&r.hasAttribute("disabled"))return!0;return!1}a(Qt,"isDisabled");function Do(e){let t=e.activeElement;return t?.shadowRoot?Do(t.shadowRoot):Qt(t)?e.ownerDocument?e.ownerDocument.body:e.body:t}a(Do,"getActiveElement");function Di(e){var t;return(t=Do(e))!==null&&t!==void 0?t:e.body}a(Di,"getActiveElementOrBody");function h_(e,t){let r=e;do{if(t(r))return r;r=r.parentElement}while(r&&r!==e.ownerDocument.body)}a(h_,"findClosest");function Ur(e){return e.hasAttribute("contenteditable")&&(e.getAttribute("contenteditable")=="true"||e.getAttribute("contenteditable")=="")}a(Ur,"isContentEditable");function wo(e){let t=m_(e);return t&&(t.closest('[contenteditable=""]')||t.closest('[contenteditable="true"]'))}a(wo,"getContentEditable");function m_(e){return e.nodeType===1?e:e.parentElement}a(m_,"getElement");var y_=(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})(y_||{});function qm(e){return ye(e,"button")||ye(e,"input")&&e.type in y_}a(qm,"isClickableInput");function wn(e){return Im(e)&&!e.readOnly||Ur(e)}a(wn,"isEditable");var b_=(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})(b_||{});function Im(e){return ye(e,"textarea")||ye(e,"input")&&e.type in b_}a(Im,"isEditableInputOrTextArea");function Ft(e){return Nm(e)&&Im(e)}a(Ft,"hasOwnSelection");function g_(e){return Nm(e)&&qm(e)}a(g_,"hasNoSelection");function Nm(e){return e.nodeType===1}a(Nm,"isElement");function v_(e){let t=e.ownerDocument.getSelection();if(t?.focusNode&&Ft(e)){let n=wo(t.focusNode);if(n){if(!t.isCollapsed){var r;let o=((r=n.firstChild)===null||r===void 0?void 0:r.nodeType)===3?n.firstChild:n;t.setBaseAndExtent(o,0,o,0)}}else t.setBaseAndExtent(e,0,e,0)}}a(v_,"updateSelectionOnFocus");function En(e,t){return ve().eventWrapper(e)}a(En,"wrapEvent");function gr(e){let t=h_(e,hu),r=Do(e.ownerDocument);(t??e.ownerDocument.body)!==r&&(En(t?()=>t.focus():()=>r?.blur()),v_(t??e.ownerDocument.body))}a(gr,"focusElement");function w_(e){!hu(e)||Do(e.ownerDocument)!==e||En(()=>e.blur())}a(w_,"blurElement");var Hr={};Hr.click=(e,t,r)=>{let n=t.closest("button,input,label,select,textarea"),o=n&&ye(n,"label")&&n.control;if(o&&o!==t)return()=>{hu(o)&&(gr(o),r.dispatchEvent(o,f_(e)))};if(ye(t,"input",{type:"file"}))return()=>{w_(t),t.dispatchEvent(new(St(t)).Event("fileDialog")),gr(t)}};var Eo=Symbol("Displayed value in UI"),hr=Symbol("Displayed selection in UI"),Rs=Symbol("Initial value to compare on blur");function E_(e){return typeof e=="object"&&Eo in e}a(E_,"isUIValue");function x_(e){return!!e&&typeof e=="object"&&hr in e}a(x_,"isUISelectionStart");function T_(e,t){e[Rs]===void 0&&(e[Rs]=e.value),e[Eo]=t,e.value=Object.assign(new String(t),{[Eo]:!0})}a(T_,"setUIValue");function Bt(e){return e[Eo]===void 0?e.value:String(e[Eo])}a(Bt,"getUIValue");function mu(e){e[Eo]=void 0}a(mu,"setUIValueClean");function jm(e){e[Rs]=void 0}a(jm,"clearInitialValue");function S_(e){return e[Rs]}a(S_,"getInitialValue");function C_(e,t){e[hr]=t}a(C_,"setUISelectionRaw");function Nn(e,{focusOffset:t,anchorOffset:r=t},n="replace"){let o=Bt(e).length,i=a(p=>Math.max(0,Math.min(o,p)),"sanitizeOffset"),s=n==="replace"||e[hr]===void 0?i(r):e[hr].anchorOffset,l=i(t),c=Math.min(s,l),u=Math.max(s,l);if(e[hr]={anchorOffset:s,focusOffset:l},e.selectionStart===c&&e.selectionEnd===u)return;let d=Object.assign(new Number(c),{[hr]:!0});try{e.setSelectionRange(d,u)}catch{}}a(Nn,"setUISelection");function xo(e){var t,r,n;let o=(n=e[hr])!==null&&n!==void 0?n:{anchorOffset:(t=e.selectionStart)!==null&&t!==void 0?t:0,focusOffset:(r=e.selectionEnd)!==null&&r!==void 0?r:0};return{...o,startOffset:Math.min(o.anchorOffset,o.focusOffset),endOffset:Math.max(o.anchorOffset,o.focusOffset)}}a(xo,"getUISelection");function P_(e){return!!e[hr]}a(P_,"hasUISelection");function Ta(e){e[hr]=void 0}a(Ta,"setUISelectionClean");var qs=globalThis.parseInt;function O_(e){let t=e.replace(/\D/g,"");if(t.length<2)return e;let r=qs(t[0],10),n=qs(t[1],10);if(r>=3||r===2&&n>=4){let o;return r>=3?o=1:o=2,_d(t,o)}return e.length===2?e:_d(t,2)}a(O_,"buildTimeValue");function _d(e,t){let r=e.slice(0,t),n=Math.min(qs(r,10),23),o=e.slice(t),i=qs(o,10),s=Math.min(i,59);return`${n.toString().padStart(2,"0")}:${s.toString().padStart(2,"0")}`}a(_d,"build");function km(e,t){let r=e.cloneNode();return r.value=t,r.value===t}a(km,"isValidDateOrTimeValue");var __=(function(e){return e.email="email",e.password="password",e.search="search",e.telephone="telephone",e.text="text",e.url="url",e})(__||{});function A_(e){var t;let r=(t=e.getAttribute("maxlength"))!==null&&t!==void 0?t:"";return/^\d+$/.test(r)&&Number(r)>=0?Number(r):void 0}a(A_,"getMaxLength");function R_(e){return ye(e,"textarea")||ye(e,"input")&&e.type in __}a(R_,"supportsMaxLength");function Mm(e,t,r,n){if(Sa(e)&&t+r>=0&&t+r<=e.nodeValue.length)return{node:e,offset:t+r};let o=Ad(e,t,r);if(o){if(Sa(o))return{node:o,offset:r>0?Math.min(1,o.nodeValue.length):Math.max(o.nodeValue.length-1,0)};if(ye(o,"br")){let i=Ad(o,void 0,r);return i?Sa(i)?{node:i,offset:r>0?0:i.nodeValue.length}:r<0&&ye(i,"br")?{node:o.parentNode,offset:da(o)}:{node:i.parentNode,offset:da(i)+(r>0?0:1)}:r<0&&n==="deleteContentBackward"?{node:o.parentNode,offset:da(o)}:void 0}else return{node:o.parentNode,offset:da(o)+(r>0?1:0)}}}a(Mm,"getNextCursorPosition");function Ad(e,t,r){let n=Number(t)+(r<0?-1:0);return t!==void 0&&yu(e)&&n>=0&&n<e.children.length&&(e=e.children[n]),I_(e,r===1?"next":"previous",q_)}a(Ad,"getNextCharacterContentNode");function q_(e){if(Sa(e))return!0;if(yu(e)){if(ye(e,["input","textarea"]))return e.type!=="hidden";if(ye(e,"br"))return!0}return!1}a(q_,"isTreatedAsCharacterContent");function da(e){let t=0;for(;e.previousSibling;)t++,e=e.previousSibling;return t}a(da,"getOffset");function yu(e){return e.nodeType===1}a(yu,"isElement");function Sa(e){return e.nodeType===3}a(Sa,"isTextNode");function I_(e,t,r){for(;;){var n;let o=e[`${t}Sibling`];if(o){if(e=N_(o,t==="next"?"first":"last"),r(e))return e}else if(e.parentNode&&(!yu(e.parentNode)||!Ur(e.parentNode)&&e.parentNode!==((n=e.ownerDocument)===null||n===void 0?void 0:n.body)))e=e.parentNode;else break}}a(I_,"walkNodes");function N_(e,t){for(;e.hasChildNodes();)e=e[`${t}Child`];return e}a(N_,"getDescendant");var Ja=Symbol("Track programmatic changes for React workaround");function j_(e){return Object.getOwnPropertyNames(e).some(t=>t.startsWith("__react"))&&St(e).REACT_VERSION===17}a(j_,"isReact17Element");function k_(e){j_(e)&&(e[Ja]={previousValue:String(e.value),tracked:[]})}a(k_,"startTrackValue");function M_(e,t){var r,n;(n=e[Ja])===null||n===void 0||(r=n.tracked)===null||r===void 0||r.push(t),e[Ja]||(mu(e),Nn(e,{focusOffset:t.length}))}a(M_,"trackOrSetValue");function $_(e,t){var r;let n=e[Ja];if(e[Ja]=void 0,!(!(n==null||(r=n.tracked)===null||r===void 0)&&r.length))return;let o=n.tracked.length===2&&n.tracked[0]===n.previousValue&&n.tracked[1]===e.value;o||mu(e),P_(e)&&Nn(e,{focusOffset:o?t:e.value.length})}a($_,"commitValueAfterInput");function $m(e){let t=L_(e);if(t&&Ft(t))return{type:"input",selection:xo(t)};let r=t?.ownerDocument.getSelection();return{type:wo(e)&&r?.anchorNode&&wo(r.anchorNode)?"contenteditable":"default",selection:r}}a($m,"getTargetTypeAndSelection");function L_(e){return e.nodeType===1?e:e.parentElement}a(L_,"getElement");function D_(e){let t=$m(e);if(t.type==="input")return t.selection;if(t.type==="contenteditable"){var r;return(r=t.selection)===null||r===void 0?void 0:r.getRangeAt(0)}}a(D_,"getInputRange");function Vr({focusNode:e,focusOffset:t,anchorNode:r=e,anchorOffset:n=t}){var o,i;if($m(e).type==="input")return Nn(e,{anchorOffset:n,focusOffset:t});(i=r.ownerDocument)===null||i===void 0||(o=i.getSelection())===null||o===void 0||o.setBaseAndExtent(r,n,e,t)}a(Vr,"setSelection");function Lm(e){return ye(e,"input")&&["date","time"].includes(e.type)}a(Lm,"isDateOrTime");function xn(e,t,r,n="insertText"){let o=D_(t);o&&(!Lm(t)&&!e.dispatchUIEvent(t,"beforeinput",{inputType:n,data:r})||("startContainer"in o?F_(e,t,o,r,n):B_(e,t,o,r,n)))}a(xn,"input");function F_(e,t,r,n,o){let i=!1;if(!r.collapsed)i=!0,r.deleteContents();else if(["deleteContentBackward","deleteContentForward"].includes(o)){let s=Mm(r.startContainer,r.startOffset,o==="deleteContentBackward"?-1:1,o);if(s){i=!0;let l=r.cloneRange();l.comparePoint(s.node,s.offset)<0?l.setStart(s.node,s.offset):l.setEnd(s.node,s.offset),l.deleteContents()}}if(n)if(r.endContainer.nodeType===3){let s=r.endOffset;r.endContainer.insertData(s,n),r.setStart(r.endContainer,s+n.length),r.setEnd(r.endContainer,s+n.length)}else{let s=t.ownerDocument.createTextNode(n);r.insertNode(s),r.setStart(s,n.length),r.setEnd(s,n.length)}(i||n)&&e.dispatchUIEvent(t,"input",{inputType:o})}a(F_,"editContenteditable");function B_(e,t,r,n,o){let i=n;if(R_(t)){let u=A_(t);if(u!==void 0&&n.length>0){let d=u-t.value.length;if(d>0)i=n.substring(0,d);else return}}let{newValue:s,newOffset:l,oldValue:c}=U_(i,t,r,o);s===c&&l===r.startOffset&&l===r.endOffset||ye(t,"input",{type:"number"})&&!H_(s)||(T_(t,s),Vr({focusNode:t,anchorOffset:l,focusOffset:l}),Lm(t)?km(t,s)&&(Rd(e,t,l,{}),e.dispatchUIEvent(t,"change"),jm(t)):Rd(e,t,l,{data:n,inputType:o}))}a(B_,"editInputElement");function U_(e,t,{startOffset:r,endOffset:n},o){let i=Bt(t),s=Math.max(0,r===n&&o==="deleteContentBackward"?r-1:r),l=i.substring(0,s),c=Math.min(i.length,r===n&&o==="deleteContentForward"?r+1:n),u=i.substring(c,i.length),d=`${l}${e}${u}`,p=s+e.length;if(ye(t,"input",{type:"time"})){let h=O_(d);h!==""&&km(t,h)&&(d=h,p=h.length)}return{oldValue:i,newValue:d,newOffset:p}}a(U_,"calculateNewValue");function Rd(e,t,r,n){e.dispatchUIEvent(t,"input",n),$_(t,r)}a(Rd,"commitInput");function H_(e){var t,r;let n=e.split("e",2);return!(/[^\d.\-e]/.test(e)||Number((t=e.match(/-/g))===null||t===void 0?void 0:t.length)>2||Number((r=e.match(/\./g))===null||r===void 0?void 0:r.length)>1||n[1]&&!/^-?\d*$/.test(n[1]))}a(H_,"isValidNumberInput");Hr.cut=(e,t,r)=>()=>{wn(t)&&xn(r,t,"","deleteByCut")};function V_(e){return e?Ur(e)?e.textContent:Bt(e):null}a(V_,"getValueOrTextContent");function J_(e){let t=St(e);for(let r=e;r?.ownerDocument;r=r.parentElement){let{display:n,visibility:o}=t.getComputedStyle(r);if(n==="none"||o==="hidden")return!1}return!0}a(J_,"isVisible");function z_(e,t){let r=e.ownerDocument,n=r.querySelectorAll(p_),o=Array.from(n).filter(c=>c===e||!(Number(c.getAttribute("tabindex"))<0||Qt(c)));Number(e.getAttribute("tabindex"))>=0&&o.sort((c,u)=>{let d=Number(c.getAttribute("tabindex")),p=Number(u.getAttribute("tabindex"));return d===p?0:d===0?1:p===0?-1:d-p});let i={},s=[r.body],l=ye(e,"input",{type:"radio"})?e.name:void 0;o.forEach(c=>{let u=c;if(ye(u,"input",{type:"radio"})&&u.name){if(u===e){s.push(u);return}else if(u.name===l)return;if(u.checked){s=s.filter(d=>!ye(d,"input",{type:"radio",name:u.name})),s.push(u),i[u.name]=u;return}if(typeof i[u.name]<"u")return}s.push(u)});for(let c=s.findIndex(u=>u===e);;)if(c+=t?-1:1,c===s.length?c=0:c===-1&&(c=s.length-1),s[c]===e||s[c]===r.body||J_(s[c]))return s[c]}a(z_,"getTabDestination");function qd(e,t){if(Ft(e)){let r=xo(e);Vr({focusNode:e,focusOffset:r.startOffset===r.endOffset?r.focusOffset+t:t<0?r.startOffset:r.endOffset})}else{let r=e.ownerDocument.getSelection();if(!r?.focusNode)return;if(r.isCollapsed){let n=Mm(r.focusNode,r.focusOffset,t);n&&Vr({focusNode:n.node,focusOffset:n.offset})}else r[t<0?"collapseToStart":"collapseToEnd"]()}}a(qd,"moveSelection");function Dm(e){if(Ft(e))return Vr({focusNode:e,anchorOffset:0,focusOffset:Bt(e).length});var t;let r=(t=wo(e))!==null&&t!==void 0?t:e.ownerDocument.body;Vr({focusNode:r,anchorOffset:0,focusOffset:r.childNodes.length})}a(Dm,"selectAll");function W_(e){if(Ft(e))return xo(e).startOffset===0&&xo(e).endOffset===Bt(e).length;var t;let r=(t=wo(e))!==null&&t!==void 0?t:e.ownerDocument.body,n=e.ownerDocument.getSelection();return n?.anchorNode===r&&n.focusNode===r&&n.anchorOffset===0&&n.focusOffset===r.childNodes.length}a(W_,"isAllSelected");function Kn(e,t,r){var n;if(Ft(e))return Vr({focusNode:e,anchorOffset:t,focusOffset:r});if(Ur(e)&&((n=e.firstChild)===null||n===void 0?void 0:n.nodeType)===3)return Vr({focusNode:e.firstChild,anchorOffset:t,focusOffset:r});throw new Error("Not implemented. The result of this interaction is unreliable.")}a(Kn,"setSelectionRange");function pa(e,t,r){let n=St(t),o=Array.from(t.ownerDocument.querySelectorAll(t.name?`input[type="radio"][name="${n.CSS.escape(t.name)}"]`:'input[type="radio"][name=""], input[type="radio"]:not([name])'));for(let i=o.findIndex(s=>s===t)+r;;i+=r){if(o[i]||(i=r>0?0:o.length-1),o[i]===t)return;if(!Qt(o[i])){gr(o[i]),e.dispatchUIEvent(o[i],"click");return}}}a(pa,"walkRadio");Hr.keydown=(e,t,r)=>{var n,o;return(o=(n=Jb[e.key])===null||n===void 0?void 0:n.call(Jb,e,t,r))!==null&&o!==void 0?o:R3(e,t,r)};var Jb={ArrowDown:a((e,t,r)=>{if(ye(t,"input",{type:"radio"}))return()=>pa(r,t,1)},"ArrowDown"),ArrowLeft:a((e,t,r)=>ye(t,"input",{type:"radio"})?()=>pa(r,t,-1):()=>qd(t,-1),"ArrowLeft"),ArrowRight:a((e,t,r)=>ye(t,"input",{type:"radio"})?()=>pa(r,t,1):()=>qd(t,1),"ArrowRight"),ArrowUp:a((e,t,r)=>{if(ye(t,"input",{type:"radio"}))return()=>pa(r,t,-1)},"ArrowUp"),Backspace:a((e,t,r)=>{if(wn(t))return()=>{xn(r,t,"","deleteContentBackward")}},"Backspace"),Delete:a((e,t,r)=>{if(wn(t))return()=>{xn(r,t,"","deleteContentForward")}},"Delete"),End:a((e,t)=>{if(ye(t,["input","textarea"])||Ur(t))return()=>{var r,n;let o=(n=(r=V_(t))===null||r===void 0?void 0:r.length)!==null&&n!==void 0?n:0;Kn(t,o,o)}},"End"),Home:a((e,t)=>{if(ye(t,["input","textarea"])||Ur(t))return()=>{Kn(t,0,0)}},"Home"),PageDown:a((e,t)=>{if(ye(t,["input"]))return()=>{let r=Bt(t).length;Kn(t,r,r)}},"PageDown"),PageUp:a((e,t)=>{if(ye(t,["input"]))return()=>{Kn(t,0,0)}},"PageUp"),Tab:a((e,t,r)=>()=>{let n=z_(t,r.system.keyboard.modifiers.Shift);gr(n),Ft(n)&&Nn(n,{anchorOffset:0,focusOffset:n.value.length})},"Tab")},R3=a((e,t,r)=>{if(e.code==="KeyA"&&r.system.keyboard.modifiers.Control)return()=>Dm(t)},"combinationBehavior");Hr.keypress=(e,t,r)=>{if(e.key==="Enter"){if(ye(t,"button")||ye(t,"input")&&q3.includes(t.type)||ye(t,"a")&&t.href)return()=>{r.dispatchUIEvent(t,"click")};if(ye(t,"input")){let n=t.form,o=n?.querySelector('input[type="submit"], button:not([type]), button[type="submit"]');return o?()=>r.dispatchUIEvent(o,"click"):n&&I3.includes(t.type)&&n.querySelectorAll("input").length===1?()=>r.dispatchUIEvent(n,"submit"):void 0}}if(wn(t)){let n=e.key==="Enter"?Ur(t)&&!r.system.keyboard.modifiers.Shift?"insertParagraph":"insertLineBreak":"insertText",o=e.key==="Enter"?`
351
- `:e.key;return()=>xn(r,t,o,n)}};var q3=["button","color","file","image","reset","submit"],I3=["email","month","password","search","tel","text","url","week"];Hr.keyup=(e,t,r)=>{var n;return(n=zb[e.key])===null||n===void 0?void 0:n.call(zb,e,t,r)};var zb={" ":a((e,t,r)=>{if(qm(t))return()=>r.dispatchUIEvent(t,"click")}," ")};Hr.paste=(e,t,r)=>{if(wn(t))return()=>{var n;let o=(n=e.clipboardData)===null||n===void 0?void 0:n.getData("text");o&&xn(r,t,o,"insertFromPaste")}};var G_={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 Fm(e){return G_[e].EventType}a(Fm,"getEventClass");var N3=["MouseEvent","PointerEvent"];function K_(e){return N3.includes(Fm(e))}a(K_,"isMouseEvent");function Y_(e){return Fm(e)==="KeyboardEvent"}a(Y_,"isKeyboardEvent");var j3={ClipboardEvent:[Q_],Event:[],FocusEvent:[Un,Z_],InputEvent:[Un,eA],MouseEvent:[Un,Fi,Id],PointerEvent:[Un,Fi,Id,rA],KeyboardEvent:[Un,Fi,tA]};function Bm(e,t,r){let n=St(t),{EventType:o,defaultInit:i}=G_[e],s=new(X_(n))[o](e,i);return j3[o].forEach(l=>l(s,r??{})),s}a(Bm,"createEvent");function X_(e){var t,r,n,o,i,s,l,c,u,d,p,h,f,m,b,g;let v=(g=e.Event)!==null&&g!==void 0?g:(t=class{},a(t,"Event"),t);var w;let P=(w=e.AnimationEvent)!==null&&w!==void 0?w:(r=class extends v{},a(r,"AnimationEvent"),r);var A;let R=(A=e.ClipboardEvent)!==null&&A!==void 0?A:(n=class extends v{},a(n,"ClipboardEvent"),n);var T;let E=(T=e.PopStateEvent)!==null&&T!==void 0?T:(o=class extends v{},a(o,"PopStateEvent"),o);var x;let C=(x=e.ProgressEvent)!==null&&x!==void 0?x:(i=class extends v{},a(i,"ProgressEvent"),i);var k;let I=(k=e.TransitionEvent)!==null&&k!==void 0?k:(s=class extends v{},a(s,"TransitionEvent"),s);var U;let D=(U=e.UIEvent)!==null&&U!==void 0?U:(l=class extends v{},a(l,"UIEvent"),l);var O;let M=(O=e.CompositionEvent)!==null&&O!==void 0?O:(c=class extends D{},a(c,"CompositionEvent"),c);var $;let K=($=e.FocusEvent)!==null&&$!==void 0?$:(u=class extends D{},a(u,"FocusEvent"),u);var G;let re=(G=e.InputEvent)!==null&&G!==void 0?G:(d=class extends D{},a(d,"InputEvent"),d);var ae;let Z=(ae=e.KeyboardEvent)!==null&&ae!==void 0?ae:(p=class extends D{},a(p,"KeyboardEvent"),p);var W;let z=(W=e.MouseEvent)!==null&&W!==void 0?W:(h=class extends D{},a(h,"MouseEvent"),h);var Y;let ne=(Y=e.DragEvent)!==null&&Y!==void 0?Y:(f=class extends z{},a(f,"DragEvent"),f);var X;let se=(X=e.PointerEvent)!==null&&X!==void 0?X:(m=class extends z{},a(m,"PointerEvent"),m);var ce;let Me=(ce=e.TouchEvent)!==null&&ce!==void 0?ce:(b=class extends D{},a(b,"TouchEvent"),b);return{Event:v,AnimationEvent:P,ClipboardEvent:R,PopStateEvent:E,ProgressEvent:C,TransitionEvent:I,UIEvent:D,CompositionEvent:M,FocusEvent:K,InputEvent:re,KeyboardEvent:Z,MouseEvent:z,DragEvent:ne,PointerEvent:se,TouchEvent:Me}}a(X_,"getEventConstructors");function xr(e,t){for(let[r,n]of Object.entries(t))Object.defineProperty(e,r,{get:a(()=>n??null,"get")})}a(xr,"assignProps");function je(e){return Number(e??0)}a(je,"sanitizeNumber");function Q_(e,{clipboardData:t}){xr(e,{clipboardData:t})}a(Q_,"initClipboardEvent");function Z_(e,{relatedTarget:t}){xr(e,{relatedTarget:t})}a(Z_,"initFocusEvent");function eA(e,{data:t,inputType:r,isComposing:n}){xr(e,{data:t,isComposing:!!n,inputType:String(r)})}a(eA,"initInputEvent");function Un(e,{view:t,detail:r}){xr(e,{view:t,detail:je(r??0)})}a(Un,"initUIEvent");function Fi(e,{altKey:t,ctrlKey:r,metaKey:n,shiftKey:o,modifierAltGraph:i,modifierCapsLock:s,modifierFn:l,modifierFnLock:c,modifierNumLock:u,modifierScrollLock:d,modifierSymbol:p,modifierSymbolLock:h}){xr(e,{altKey:!!t,ctrlKey:!!r,metaKey:!!n,shiftKey:!!o,getModifierState(f){return!!{Alt:t,AltGraph:i,CapsLock:s,Control:r,Fn:l,FnLock:c,Meta:n,NumLock:u,ScrollLock:d,Shift:o,Symbol:p,SymbolLock:h}[f]}})}a(Fi,"initUIEventModifiers");function tA(e,{key:t,code:r,location:n,repeat:o,isComposing:i,charCode:s}){xr(e,{key:String(t),code:String(r),location:je(n),repeat:!!o,isComposing:!!i,charCode:s})}a(tA,"initKeyboardEvent");function Id(e,{x:t,y:r,screenX:n,screenY:o,clientX:i=t,clientY:s=r,button:l,buttons:c,relatedTarget:u,offsetX:d,offsetY:p,pageX:h,pageY:f}){xr(e,{screenX:je(n),screenY:je(o),clientX:je(i),x:je(i),clientY:je(s),y:je(s),button:je(l),buttons:je(c),relatedTarget:u,offsetX:je(d),offsetY:je(p),pageX:je(h),pageY:je(f)})}a(Id,"initMouseEvent");function rA(e,{pointerId:t,width:r,height:n,pressure:o,tangentialPressure:i,tiltX:s,tiltY:l,twist:c,pointerType:u,isPrimary:d}){xr(e,{pointerId:je(t),width:je(r??1),height:je(n??1),pressure:je(o),tangentialPressure:je(i),tiltX:je(s),tiltY:je(l),twist:je(c),pointerType:String(u),isPrimary:!!d})}a(rA,"initPointerEvent");function nA(e,t,r,n=!1){(K_(t)||Y_(t))&&(r={...r,...this.system.getUIEventModifiers()});let o=Bm(t,e,r);return Um.call(this,e,o,n)}a(nA,"dispatchUIEvent");function Um(e,t,r=!1){var n;let o=t.type,i=r?()=>{}:(n=Hr[o])===null||n===void 0?void 0:n.call(Hr,t,e,this);if(i){t.preventDefault();let s=!1;return Object.defineProperty(t,"defaultPrevented",{get:a(()=>s,"get")}),Object.defineProperty(t,"preventDefault",{value:a(()=>{s=t.cancelable},"value")}),En(()=>e.dispatchEvent(t)),s||i(),!s}return En(()=>e.dispatchEvent(t))}a(Um,"dispatchEvent");function Rr(e,t,r){let n=Bm(t,e,r);En(()=>e.dispatchEvent(n))}a(Rr,"dispatchDOMEvent");var Wb=Symbol("patched focus/blur methods");function Hm(e){if(e.prototype[Wb])return;let{focus:t,blur:r}=e.prototype;Object.defineProperties(e.prototype,{focus:{configurable:!0,get:a(()=>o,"get")},blur:{configurable:!0,get:a(()=>i,"get")},[Wb]:{configurable:!0,get:a(()=>({focus:t,blur:r}),"get")}});let n;function o(s){if(this.ownerDocument.visibilityState!=="hidden")return t.call(this,s);let l=Nd(this.ownerDocument);if(l===this)return;let c=Symbol("focus call");n=c,l&&(r.call(l),Rr(l,"blur",{relatedTarget:this}),Rr(l,"focusout",{relatedTarget:n===c?this:null})),n===c&&(t.call(this,s),Rr(this,"focus",{relatedTarget:l})),n===c&&Rr(this,"focusin",{relatedTarget:l})}a(o,"patchedFocus");function i(){if(this.ownerDocument.visibilityState!=="hidden")return r.call(this);let s=Nd(this.ownerDocument);s===this&&(n=Symbol("blur call"),r.call(this),Rr(s,"blur",{relatedTarget:null}),Rr(s,"focusout",{relatedTarget:null}))}a(i,"patchedBlur")}a(Hm,"patchFocus");function Nd(e){let t=Do(e);return t?.tagName==="BODY"?null:t}a(Nd,"getActiveTarget");var Ju=Symbol("Interceptor for programmatical calls");function an(e,t,r){let n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),o=Object.getOwnPropertyDescriptor(e,t),i=n?.set?"set":"value";if(typeof n?.[i]!="function"||n[i][Ju])throw new Error(`Element ${e.tagName} does not implement "${String(t)}".`);function s(...l){let{applyNative:c=!1,realArgs:u,then:d}=r.call(this,...l),p=(!c&&o||n)[i];i==="set"?p.call(this,u):p.call(this,...u),d?.()}a(s,"intercept"),s[Ju]=Ju,Object.defineProperty(e,t,{...o??n,[i]:s})}a(an,"prepareInterceptor");function oA(e){an(e,"value",a(function(t){let r=E_(t);return r&&k_(this),{applyNative:!!r,realArgs:aA(this,t),then:r?void 0:()=>M_(this,String(t))}},"interceptorImpl"))}a(oA,"prepareValueInterceptor");function aA(e,t){return ye(e,"input",{type:"number"})&&String(t)!==""&&!Number.isNaN(Number(t))?String(Number(t)):String(t)}a(aA,"sanitizeValue");function iA(e){an(e,"setSelectionRange",a(function(t,...r){let n=x_(t);return{applyNative:!!n,realArgs:[Number(t),...r],then:a(()=>n?void 0:Ta(e),"then")}},"interceptorImpl")),an(e,"selectionStart",a(function(t){return{realArgs:t,then:a(()=>Ta(e),"then")}},"interceptorImpl")),an(e,"selectionEnd",a(function(t){return{realArgs:t,then:a(()=>Ta(e),"then")}},"interceptorImpl")),an(e,"select",a(function(){return{realArgs:[],then:a(()=>C_(e,{anchorOffset:0,focusOffset:Bt(e).length}),"then")}},"interceptorImpl"))}a(iA,"prepareSelectionInterceptor");function sA(e){an(e,"setRangeText",a(function(...t){return{realArgs:t,then:a(()=>{mu(e),Ta(e)},"then")}},"interceptorImpl"))}a(sA,"prepareRangeTextInterceptor");var ro=Symbol("Node prepared with document state workarounds");function Vm(e){e[ro]||(e.addEventListener("focus",t=>{let r=t.target;jd(r)},{capture:!0,passive:!0}),e.activeElement&&jd(e.activeElement),e.addEventListener("blur",t=>{let r=t.target,n=S_(r);n!==void 0&&(r.value!==n&&Rr(r,"change"),jm(r))},{capture:!0,passive:!0}),e[ro]=ro)}a(Vm,"prepareDocument");function jd(e){e[ro]||(ye(e,["input","textarea"])&&(oA(e),iA(e),sA(e)),e[ro]=ro)}a(jd,"prepareElement");function lA(e){return uA(e)?e:e.ownerDocument}a(lA,"getDocumentFromNode");function uA(e){return e.nodeType===9}a(uA,"isDocument");var wt=(function(e){return e[e.Trigger=2]="Trigger",e[e.Call=1]="Call",e})({});function Yn(e,t){e.levelRefs[t]={}}a(Yn,"setLevelRef");function fa(e,t){return e.levelRefs[t]}a(fa,"getLevelRef");function Tn(e){let t=e.delay;if(typeof t=="number")return Promise.all([new Promise(r=>globalThis.setTimeout(()=>r(),t)),e.advanceTimers(t)])}a(Tn,"wait");var Bi=(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 Or(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}a(Or,"_define_property");var Ht=(function(e){return e[e.STANDARD=0]="STANDARD",e[e.LEFT=1]="LEFT",e[e.RIGHT=2]="RIGHT",e[e.NUMPAD=3]="NUMPAD",e})({}),k3=["Alt","AltGraph","Control","Fn","Meta","Shift","Symbol"];function kd(e){return k3.includes(e)}a(kd,"isModifierKey");var M3=["CapsLock","FnLock","NumLock","ScrollLock","SymbolLock"];function Md(e){return M3.includes(e)}a(Md,"isModifierLock");var cA=class{isKeyPressed(t){return this.pressed.has(String(t.code))}getPressedKeys(){return this.pressed.values().map(t=>t.keyDef)}async keydown(t,r){let n=String(r.key),o=String(r.code),i=Di(t.config.document);this.setKeydownTarget(i),this.pressed.add(o,r),kd(n)&&(this.modifiers[n]=!0);let s=t.dispatchUIEvent(i,"keydown",{key:n,code:o});Md(n)&&!this.modifiers[n]&&(this.modifiers[n]=!0,this.modifierLockStart[n]=!0),s&&this.pressed.setUnprevented(o),s&&this.hasKeyPress(n)&&t.dispatchUIEvent(Di(t.config.document),"keypress",{key:n,code:o,charCode:r.key==="Enter"?13:String(r.key).charCodeAt(0)})}async keyup(t,r){let n=String(r.key),o=String(r.code),i=this.pressed.isUnprevented(o);this.pressed.delete(o),kd(n)&&!this.pressed.values().find(s=>s.keyDef.key===n)&&(this.modifiers[n]=!1),t.dispatchUIEvent(Di(t.config.document),"keyup",{key:n,code:o},!i),Md(n)&&this.modifiers[n]&&(this.modifierLockStart[n]?this.modifierLockStart[n]=!1:this.modifiers[n]=!1)}setKeydownTarget(t){t!==this.lastKeydownTarget&&(this.carryChar=""),this.lastKeydownTarget=t}hasKeyPress(t){return(t.length===1||t==="Enter")&&!this.modifiers.Control&&!this.modifiers.Alt}constructor(t){Or(this,"system",void 0),Or(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}),Or(this,"pressed",new class{add(r,n){var o,i,s;(s=(o=this.registry)[i=r])!==null&&s!==void 0||(o[i]={keyDef:n,unpreventedDefault:!1})}has(r){return!!this.registry[r]}setUnprevented(r){let n=this.registry[r];n&&(n.unpreventedDefault=!0)}isUnprevented(r){var n;return!!(!((n=this.registry[r])===null||n===void 0)&&n.unpreventedDefault)}delete(r){delete this.registry[r]}values(){return Object.values(this.registry)}constructor(){Or(this,"registry",{})}}),Or(this,"carryChar",""),Or(this,"lastKeydownTarget",void 0),Or(this,"modifierLockStart",{}),this.system=t}};a(cA,"KeyboardHost");var $3=cA,L3=[..."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:Ht.LEFT},{code:"AltRight",key:"Alt",location:Ht.RIGHT},{code:"ShiftLeft",key:"Shift",location:Ht.LEFT},{code:"ShiftRight",key:"Shift",location:Ht.RIGHT},{code:"ControlLeft",key:"Control",location:Ht.LEFT},{code:"ControlRight",key:"Control",location:Ht.RIGHT},{code:"MetaLeft",key:"Meta",location:Ht.LEFT},{code:"MetaRight",key:"Meta",location:Ht.RIGHT},{code:"OSLeft",key:"OS",location:Ht.LEFT},{code:"OSRight",key:"OS",location:Ht.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"}],D3=[{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 dA(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}a(dA,"_define_property");var pA=class{getButtons(){let t=0;for(let r of Object.keys(this.pressed))t|=2**Number(r);return t}down(t){let r=Is(t.button);if(r in this.pressed){this.pressed[r].push(t);return}return this.pressed[r]=[t],r}up(t){let r=Is(t.button);if(r in this.pressed&&(this.pressed[r]=this.pressed[r].filter(n=>n.name!==t.name),this.pressed[r].length===0))return delete this.pressed[r],r}constructor(){dA(this,"pressed",{})}};a(pA,"Buttons");var fA=pA,Gb={primary:0,secondary:1,auxiliary:2,back:3,X1:3,forward:4,X2:4};function Is(e=0){return e in Gb?Gb[e]:Number(e)}a(Is,"getMouseButtonId");var Kb={1:2,2:1};function Ns(e){return e=Is(e),e in Kb?Kb[e]:e}a(Ns,"getMouseEventButton");function hA(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}a(hA,"_define_property");var mA=class{get countPressed(){return this.pressedKeys.size}isPressed(t){return this.pressedKeys.has(t.name)}addPressed(t){return this.pressedKeys.add(t.name)}removePressed(t){return this.pressedKeys.delete(t.name)}constructor(){hA(this,"pressedKeys",new Set)}};a(mA,"Device");var F3=mA;function no(e,t){let r=[];for(let i=e;i;i=i.parentElement)r.push(i);let n=[];for(let i=t;i;i=i.parentElement)n.push(i);let o=0;for(;!(o>=r.length||o>=n.length||r[r.length-1-o]!==n[n.length-1-o]);o++);return[r.slice(0,r.length-o),n.slice(0,n.length-o),n.slice(n.length-o)]}a(no,"getTreeDiff");function js({target:e,node:t,offset:r}){return Ft(e)?{node:e,offset:r??Bt(e).length}:t?{node:t,offset:r??(t.nodeType===3?t.nodeValue.length:t.childNodes.length)}:Jm(e,r)}a(js,"resolveCaretPosition");function Jm(e,t,r=!0){let n=t===void 0?e.childNodes.length-1:0,o=t===void 0?-1:1;for(;t===void 0?n>=(r?Math.max(e.childNodes.length-1,0):0):n<=e.childNodes.length;){if(t&&n===e.childNodes.length)throw new Error("The given offset is out of bounds.");let i=e.childNodes.item(n),s=String(i.textContent);if(s.length)if(t!==void 0&&s.length<t)t-=s.length;else{if(i.nodeType===1)return Jm(i,t,!1);if(i.nodeType===3)return{node:i,offset:t??i.nodeValue.length}}n+=o}return{node:e,offset:e.childNodes.length}}a(Jm,"findNodeAtTextOffset");function yA({document:e,target:t,clickCount:r,node:n,offset:o}){if(g_(t))return;let i=Ft(t),s=String(i?Bt(t):t.textContent),[l,c]=n?[o,o]:bA(s,o,r);if(i)return Nn(t,{anchorOffset:l??s.length,focusOffset:c??s.length}),{node:t,start:l??0,end:c??s.length};{let{node:u,offset:d}=js({target:t,node:n,offset:l}),{node:p,offset:h}=js({target:t,node:n,offset:c}),f=t.ownerDocument.createRange();try{f.setStart(u,d),f.setEnd(p,h)}catch{throw new Error("The given offset is out of bounds.")}let m=e.getSelection();return m?.removeAllRanges(),m?.addRange(f.cloneRange()),f}}a(yA,"setSelectionPerMouseDown");function bA(e,t,r){if(r%3===1||e.length===0)return[t,t];let n=t??e.length;return r%3===2?[n-e.substr(0,t).match(/(\w+|\s+|\W)?$/)[0].length,t===void 0?t:t+e.substr(t).match(/^(\w+|\s+|\W)?/)[0].length]:[n-e.substr(0,t).match(/[^\r\n]*$/)[0].length,t===void 0?t:t+e.substr(t).match(/^[^\r\n]*/)[0].length]}a(bA,"getTextRange");function gA(e,{document:t,target:r,node:n,offset:o}){let i=js({target:r,node:n,offset:o});if("node"in e){if(i.node===e.node){let s=i.offset<e.start?e.end:e.start,l=i.offset>e.end||i.offset<e.start?i.offset:e.end;Nn(e.node,{anchorOffset:s,focusOffset:l})}}else{let s=e.cloneRange(),l=s.comparePoint(i.node,i.offset);l<0?s.setStart(i.node,i.offset):l>0&&s.setEnd(i.node,i.offset);let c=t.getSelection();c?.removeAllRanges(),c?.addRange(s.cloneRange())}}a(gA,"modifySelectionPerMouseMove");function zm(e,t){var r,n,o,i,s,l,c,u,d,p,h,f,m,b,g,v,w,P,A,R,T,E,x,C;return e.target!==t.target||((r=e.coords)===null||r===void 0?void 0:r.x)!==((n=t.coords)===null||n===void 0?void 0:n.x)||((o=e.coords)===null||o===void 0?void 0:o.y)!==((i=t.coords)===null||i===void 0?void 0:i.y)||((s=e.coords)===null||s===void 0?void 0:s.clientX)!==((l=t.coords)===null||l===void 0?void 0:l.clientX)||((c=e.coords)===null||c===void 0?void 0:c.clientY)!==((u=t.coords)===null||u===void 0?void 0:u.clientY)||((d=e.coords)===null||d===void 0?void 0:d.offsetX)!==((p=t.coords)===null||p===void 0?void 0:p.offsetX)||((h=e.coords)===null||h===void 0?void 0:h.offsetY)!==((f=t.coords)===null||f===void 0?void 0:f.offsetY)||((m=e.coords)===null||m===void 0?void 0:m.pageX)!==((b=t.coords)===null||b===void 0?void 0:b.pageX)||((g=e.coords)===null||g===void 0?void 0:g.pageY)!==((v=t.coords)===null||v===void 0?void 0:v.pageY)||((w=e.coords)===null||w===void 0?void 0:w.screenX)!==((P=t.coords)===null||P===void 0?void 0:P.screenX)||((A=e.coords)===null||A===void 0?void 0:A.screenY)!==((R=t.coords)===null||R===void 0?void 0:R.screenY)||((T=e.caret)===null||T===void 0?void 0:T.node)!==((E=t.caret)===null||E===void 0?void 0:E.node)||((x=e.caret)===null||x===void 0?void 0:x.offset)!==((C=t.caret)===null||C===void 0?void 0:C.offset)}a(zm,"isDifferentPointerPosition");function _r(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}a(_r,"_define_property");var vA=class{move(t,r,n){let o=this.position,i=this.getTarget(t);if(this.position=r,!zm(o,r))return;let s=this.getTarget(t),l=this.getEventInit("mousemove"),[c,u]=no(i,s);return{leave:a(()=>{i!==s&&(t.dispatchUIEvent(i,"mouseout",l),c.forEach(d=>t.dispatchUIEvent(d,"mouseleave",l)))},"leave"),enter:a(()=>{i!==s&&(t.dispatchUIEvent(s,"mouseover",l),u.forEach(d=>t.dispatchUIEvent(d,"mouseenter",l)))},"enter"),move:a(()=>{n||(t.dispatchUIEvent(s,"mousemove",l),this.modifySelecting(t))},"move")}}down(t,r,n){let o=this.buttons.down(r);if(o===void 0)return;let i=this.getTarget(t);this.buttonDownTarget[o]=i;let s=this.getEventInit("mousedown",r.button),l=Qt(i);!n&&(l||t.dispatchUIEvent(i,"mousedown",s))&&(this.startSelecting(t,s.detail),gr(i)),!l&&Ns(r.button)===2&&t.dispatchUIEvent(i,"contextmenu",this.getEventInit("contextmenu",r.button))}up(t,r,n){let o=this.buttons.up(r);if(o===void 0)return;let i=this.getTarget(t);if(!Qt(i)){if(!n){let l=this.getEventInit("mouseup",r.button);t.dispatchUIEvent(i,"mouseup",l),this.endSelecting()}let s=no(this.buttonDownTarget[o],i)[2][0];if(s){let l=this.getEventInit("click",r.button);l.detail&&(t.dispatchUIEvent(s,l.button===0?"click":"auxclick",l),l.button===0&&l.detail===2&&t.dispatchUIEvent(s,"dblclick",{...this.getEventInit("dblclick",r.button),detail:l.detail}))}}}resetClickCount(){this.clickCount.reset()}getEventInit(t,r){let n={...this.position.coords};return n.button=Ns(r),n.buttons=this.buttons.getButtons(),t==="mousedown"?n.detail=this.clickCount.getOnDown(n.button):t==="mouseup"?n.detail=this.clickCount.getOnUp(n.button):(t==="click"||t==="auxclick")&&(n.detail=this.clickCount.incOnClick(n.button)),n}getTarget(t){var r;return(r=this.position.target)!==null&&r!==void 0?r:t.config.document.body}startSelecting(t,r){var n,o;this.selecting=yA({document:t.config.document,target:this.getTarget(t),node:(n=this.position.caret)===null||n===void 0?void 0:n.node,offset:(o=this.position.caret)===null||o===void 0?void 0:o.offset,clickCount:r})}modifySelecting(t){var r,n;this.selecting&&gA(this.selecting,{document:t.config.document,target:this.getTarget(t),node:(r=this.position.caret)===null||r===void 0?void 0:r.node,offset:(n=this.position.caret)===null||n===void 0?void 0:n.offset})}endSelecting(){this.selecting=void 0}constructor(){_r(this,"position",{}),_r(this,"buttons",new fA),_r(this,"selecting",void 0),_r(this,"buttonDownTarget",{}),_r(this,"clickCount",new class{incOnClick(t){let r=this.down[t]===void 0?void 0:Number(this.down[t])+1;return this.count=this.count[t]===void 0?{}:{[t]:Number(this.count[t])+1},r}getOnDown(t){var r;this.down={[t]:(r=this.count[t])!==null&&r!==void 0?r:0};var n;return this.count={[t]:(n=this.count[t])!==null&&n!==void 0?n:0},Number(this.count[t])+1}getOnUp(t){return this.down[t]===void 0?void 0:Number(this.down[t])+1}reset(){this.count={}}constructor(){_r(this,"down",{}),_r(this,"count",{})}})}};a(vA,"Mouse");var B3=vA;function za(e,t){var r;return((r=Wm(e,t))===null||r===void 0?void 0:r.pointerEvents)!=="none"}a(za,"hasPointerEvents");function wA(e){let t=St(e);for(let r=e,n=[];r?.ownerDocument;r=r.parentElement){n.push(r);let o=t.getComputedStyle(r).pointerEvents;if(o&&!["inherit","unset"].includes(o))return{pointerEvents:o,tree:n}}}a(wA,"closestPointerEventsDeclaration");var Yb=Symbol("Last check for pointer-events");function Wm(e,t){let r=t[Yb];if(!(e.config.pointerEventsCheck!==Bi.Never&&(!r||$d(e.config.pointerEventsCheck,Bi.EachApiCall)&&r[wt.Call]!==fa(e,wt.Call)||$d(e.config.pointerEventsCheck,Bi.EachTrigger)&&r[wt.Trigger]!==fa(e,wt.Trigger))))return r?.result;let n=wA(t);return t[Yb]={[wt.Call]:fa(e,wt.Call),[wt.Trigger]:fa(e,wt.Trigger),result:n},n}a(Wm,"checkPointerEvents");function Xn(e,t){let r=Wm(e,t);if(r?.pointerEvents==="none")throw new Error([`Unable to perform pointer interaction as the element ${r.tree.length>1?"inherits":"has"} \`pointer-events: none\`:`,"",EA(r.tree)].join(`
352
- `))}a(Xn,"assertPointerEvents");function EA(e){return e.reverse().map((t,r)=>["".padEnd(r),t.tagName,t.id&&`#${t.id}`,t.hasAttribute("data-testid")&&`(testId=${t.getAttribute("data-testid")})`,xA(t),e.length>1&&r===0&&" <-- This element declared `pointer-events: none`",e.length>1&&r===e.length-1&&" <-- Asserted pointer events here"].filter(Boolean).join("")).join(`
353
- `)}a(EA,"printTree");function xA(e){var t;let r;if(e.hasAttribute("aria-label"))r=e.getAttribute("aria-label");else if(e.hasAttribute("aria-labelledby")){var n,o;r=(o=e.ownerDocument.getElementById(e.getAttribute("aria-labelledby")))===null||o===void 0||(n=o.textContent)===null||n===void 0?void 0:n.trim()}else if(ye(e,["button","input","meter","output","progress","select","textarea"])&&!((t=e.labels)===null||t===void 0)&&t.length)r=Array.from(e.labels).map(s=>{var l;return(l=s.textContent)===null||l===void 0?void 0:l.trim()}).join("|");else if(ye(e,"button")){var i;r=(i=e.textContent)===null||i===void 0?void 0:i.trim()}return r=r?.replace(/\n/g," "),Number(r?.length)>30&&(r=`${r?.substring(0,29)}…`),r?`(label=${r})`:""}a(xA,"getLabelDescr");function $d(e,t){return(e&t)>0}a($d,"hasBitFlag");function zt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}a(zt,"_define_property");var TA=class{init(t){let r=this.getTarget(t),[,n]=no(null,r),o=this.getEventInit();return Xn(t,r),t.dispatchUIEvent(r,"pointerover",o),n.forEach(i=>t.dispatchUIEvent(i,"pointerenter",o)),this}move(t,r){let n=this.position,o=this.getTarget(t);if(this.position=r,!zm(n,r))return;let i=this.getTarget(t),s=this.getEventInit(-1),[l,c]=no(o,i);return{leave:a(()=>{za(t,o)&&o!==i&&(t.dispatchUIEvent(o,"pointerout",s),l.forEach(u=>t.dispatchUIEvent(u,"pointerleave",s)))},"leave"),enter:a(()=>{Xn(t,i),o!==i&&(t.dispatchUIEvent(i,"pointerover",s),c.forEach(u=>t.dispatchUIEvent(u,"pointerenter",s)))},"enter"),move:a(()=>{t.dispatchUIEvent(i,"pointermove",s)},"move")}}down(t,r=0){if(this.isDown)return;let n=this.getTarget(t);Xn(t,n),this.isDown=!0,this.isPrevented=!t.dispatchUIEvent(n,"pointerdown",this.getEventInit(r))}up(t,r=0){if(!this.isDown)return;let n=this.getTarget(t);Xn(t,n),this.isPrevented=!1,this.isDown=!1,t.dispatchUIEvent(n,"pointerup",this.getEventInit(r))}release(t){let r=this.getTarget(t),[n]=no(r,null),o=this.getEventInit();za(t,r)&&(t.dispatchUIEvent(r,"pointerout",o),n.forEach(i=>t.dispatchUIEvent(i,"pointerleave",o))),this.isCancelled=!0}getTarget(t){var r;return(r=this.position.target)!==null&&r!==void 0?r:t.config.document.body}getEventInit(t){return{...this.position.coords,pointerId:this.pointerId,pointerType:this.pointerType,isPrimary:this.isPrimary,button:Ns(t),buttons:this.buttons.getButtons()}}constructor({pointerId:t,pointerType:r,isPrimary:n},o){zt(this,"pointerId",void 0),zt(this,"pointerType",void 0),zt(this,"isPrimary",void 0),zt(this,"buttons",void 0),zt(this,"isMultitouch",!1),zt(this,"isCancelled",!1),zt(this,"isDown",!1),zt(this,"isPrevented",!1),zt(this,"position",{}),this.pointerId=t,this.pointerType=r,this.isPrimary=n,this.isMultitouch=!n,this.buttons=o}};a(TA,"Pointer");var U3=TA;function ur(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}a(ur,"_define_property");var SA=class{isKeyPressed(t){return this.devices.get(t.pointerType).isPressed(t)}async press(t,r,n){this.devices.get(r.pointerType).addPressed(r),this.buttons.down(r);let o=this.getPointerName(r),i=r.pointerType==="touch"?this.pointers.new(o,r.pointerType,this.buttons):this.pointers.get(o);i.position=n,i.pointerType!=="touch"&&(this.mouse.position=n),i.pointerType==="touch"&&i.init(t),i.down(t,r.button),i.pointerType!=="touch"&&this.mouse.down(t,r,i.isPrevented)}async move(t,r,n){let o=this.pointers.get(r),i=o.move(t,n),s=o.pointerType==="touch"?void 0:this.mouse.move(t,n,o.isPrevented);i?.leave(),s?.leave(),i?.enter(),s?.enter(),i?.move(),s?.move()}async release(t,r,n){let o=this.devices.get(r.pointerType);o.removePressed(r),this.buttons.up(r);let i=this.pointers.get(this.getPointerName(r)),s=i.isPrevented;if(i.position=n,i.pointerType!=="touch"&&(this.mouse.position=n),o.countPressed===0&&i.up(t,r.button),i.pointerType==="touch"&&i.release(t),i.pointerType==="touch"&&!i.isMultitouch){let l=this.mouse.move(t,n,s);l?.leave(),l?.enter(),l?.move(),this.mouse.down(t,r,s)}if(!i.isMultitouch){let l=this.mouse.move(t,n,s);l?.leave(),l?.enter(),l?.move(),this.mouse.up(t,r,s)}}getPointerName(t){return t.pointerType==="touch"?t.name:t.pointerType}getPreviousPosition(t){return this.pointers.has(t)?this.pointers.get(t).position:void 0}resetClickCount(){this.mouse.resetClickCount()}getMouseTarget(t){var r;return(r=this.mouse.position.target)!==null&&r!==void 0?r:t.config.document.body}setMousePosition(t){this.mouse.position=t,this.pointers.get("mouse").position=t}constructor(t){ur(this,"system",void 0),ur(this,"mouse",void 0),ur(this,"buttons",void 0),ur(this,"devices",new class{get(r){var n,o,i;return(i=(n=this.registry)[o=r])!==null&&i!==void 0?i:n[o]=new F3}constructor(){ur(this,"registry",{})}}),ur(this,"pointers",new class{new(r,n,o){let i=n!=="touch"||!Object.values(this.registry).some(s=>s.pointerType==="touch"&&!s.isCancelled);return i||Object.values(this.registry).forEach(s=>{s.pointerType===n&&!s.isCancelled&&(s.isMultitouch=!0)}),this.registry[r]=new U3({pointerId:this.nextId++,pointerType:n,isPrimary:i},o),this.registry[r]}get(r){if(!this.has(r))throw new Error(`Trying to access pointer "${r}" which does not exist.`);return this.registry[r]}has(r){return r in this.registry}constructor(){ur(this,"registry",{}),ur(this,"nextId",1)}}),this.system=t,this.buttons=new fA,this.mouse=new B3,this.pointers.new("mouse","mouse",this.buttons)}};a(SA,"PointerHost");var H3=SA;function Ld(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}a(Ld,"_define_property");var CA=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(){Ld(this,"keyboard",new $3(this)),Ld(this,"pointer",new H3(this))}};a(CA,"System");var PA=CA;async function OA(e){let t=[];return this.config.skipHover||t.push({target:e}),t.push({keys:"[MouseLeft]",target:e}),this.pointer(t)}a(OA,"click");async function _A(e){return this.pointer([{target:e},"[MouseLeft][MouseLeft]"])}a(_A,"dblClick");async function AA(e){return this.pointer([{target:e},"[MouseLeft][MouseLeft][MouseLeft]"])}a(AA,"tripleClick");async function RA(e){return this.pointer({target:e})}a(RA,"hover");async function qA(e){return Xn(this,this.system.pointer.getMouseTarget(this)),this.pointer({target:e.ownerDocument.body})}a(qA,"unhover");async function IA({shift:e}={}){return this.keyboard(e===!0?"{Shift>}{Tab}{/Shift}":e===!1?"[/ShiftLeft][/ShiftRight]{Tab}":"{Tab}")}a(IA,"tab");var Gm=(function(e){return e["{"]="}",e["["]="]",e})(Gm||{});function Km(e,t){let r=0,n=e[r]in Gm?e[r]:"";r+=n.length;let o=new RegExp(`^\\${n}{2}`).test(e)?"":n;return{type:o,...o===""?NA(e,r,t):jA(e,r,o,t)}}a(Km,"readNextDescriptor");function NA(e,t,r){let n=e[t];return Ym(n,e,t,r),t+=n.length,{consumedLength:t,descriptor:n,releasePrevious:!1,releaseSelf:!0,repeat:1}}a(NA,"readPrintableChar");function jA(e,t,r,n){var o,i;let s=e[t]==="/"?"/":"";t+=s.length;let l=r==="{"&&e[t]==="\\";t+=Number(l);let c=l?e[t]:(o=e.slice(t).match(r==="{"?/^\w+|^[^}>/]/:/^\w+/))===null||o===void 0?void 0:o[0];Ym(c,e,t,n),t+=c.length;var u;let d=(u=(i=e.slice(t).match(/^>\d+/))===null||i===void 0?void 0:i[0])!==null&&u!==void 0?u:"";t+=d.length;let p=e[t]==="/"||!d&&e[t]===">"?e[t]:"";t+=p.length;let h=Gm[r],f=e[t]===h?h:"";if(!f)throw new Error(Xm([!d&&"repeat modifier",!p&&"release modifier",`"${h}"`].filter(Boolean).join(" or "),e[t],e,n));return t+=f.length,{consumedLength:t,descriptor:c,releasePrevious:!!s,repeat:d?Math.max(Number(d.substr(1)),1):1,releaseSelf:kA(p,d)}}a(jA,"readTag");function Ym(e,t,r,n){if(!e)throw new Error(Xm("key descriptor",t[r],t,n))}a(Ym,"assertDescriptor");function kA(e,t){if(e)return e==="/";if(t)return!1}a(kA,"hasReleaseSelf");function Xm(e,t,r,n){return`Expected ${e} but found "${t??""}" in "${r}"
354
- See ${n==="pointer"?"https://testing-library.com/docs/user-event/pointer#pressing-a-button-or-touching-the-screen":"https://testing-library.com/docs/user-event/keyboard"}
355
- for more information about how userEvent parses your input.`}a(Xm,"getErrorMessage");function MA(e,t){let r=[];do{let{type:o,descriptor:i,consumedLength:s,releasePrevious:l,releaseSelf:c=!0,repeat:u}=Km(t,"keyboard");var n;let d=(n=e.find(p=>{if(o==="["){var h;return((h=p.code)===null||h===void 0?void 0:h.toLowerCase())===i.toLowerCase()}else if(o==="{"){var f;return((f=p.key)===null||f===void 0?void 0:f.toLowerCase())===i.toLowerCase()}return p.key===i}))!==null&&n!==void 0?n:{key:"Unknown",code:"Unknown",[o==="["?"code":"key"]:i};r.push({keyDef:d,releasePrevious:l,releaseSelf:c,repeat:u}),t=t.slice(s)}while(t);return r}a(MA,"parseKeyDef");async function $A(e){let t=MA(this.config.keyboardMap,e);for(let r=0;r<t.length;r++)await Tn(this.config),await LA(this,t[r])}a($A,"keyboard");async function LA(e,{keyDef:t,releasePrevious:r,releaseSelf:n,repeat:o}){let{system:i}=e;if(i.keyboard.isKeyPressed(t)&&await i.keyboard.keyup(e,t),!r){for(let s=1;s<=o;s++)await i.keyboard.keydown(e,t),s<o&&await Tn(e.config);n&&await i.keyboard.keyup(e,t)}}a(LA,"keyboardAction");async function DA(e){for(let t of e.system.keyboard.getPressedKeys())await e.system.keyboard.keyup(e,t)}a(DA,"releaseAllKeys");function Qm(e){let t=Ft(e)?{"text/plain":FA(e)}:{"text/plain":String(e.ownerDocument.getSelection())},r=pu(St(e));for(let n in t)t[n]&&r.setData(n,t[n]);return r}a(Qm,"copySelection");function FA(e){let t=xo(e);return Bt(e).substring(t.startOffset,t.endOffset)}a(FA,"readSelectedValueFromInput");async function BA(){let e=this.config.document;var t;let r=(t=e.activeElement)!==null&&t!==void 0?t:e.body,n=Qm(r);if(n.items.length!==0)return this.dispatchUIEvent(r,"copy",{clipboardData:n})&&this.config.writeToClipboard&&await Rm(e,n),n}a(BA,"copy");async function UA(){let e=this.config.document;var t;let r=(t=e.activeElement)!==null&&t!==void 0?t:e.body,n=Qm(r);if(n.items.length!==0)return this.dispatchUIEvent(r,"cut",{clipboardData:n})&&this.config.writeToClipboard&&await Rm(r.ownerDocument,n),n}a(UA,"cut");async function HA(e){let t=this.config.document;var r;let n=(r=t.activeElement)!==null&&r!==void 0?r:t.body;var o;let i=(o=typeof e=="string"?VA(t,e):e)!==null&&o!==void 0?o:await d_(t).catch(()=>{throw new Error("`userEvent.paste()` without `clipboardData` requires the `ClipboardAPI` to be available.")});this.dispatchUIEvent(n,"paste",{clipboardData:i})}a(HA,"paste");function VA(e,t){let r=pu(St(e));return r.setData("text",t),r}a(VA,"getClipboardDataFromString");function Dd(e,t){let r=[];do{let{descriptor:n,consumedLength:o,releasePrevious:i,releaseSelf:s=!0}=Km(t,"pointer"),l=e.find(c=>c.name===n);l&&r.push({keyDef:l,releasePrevious:i,releaseSelf:s}),t=t.slice(o)}while(t);return r}a(Dd,"parseKeyDef");async function JA(e){let{pointerMap:t}=this.config,r=[];(Array.isArray(e)?e:[e]).forEach(n=>{typeof n=="string"?r.push(...Dd(t,n)):"keys"in n?r.push(...Dd(t,n.keys).map(o=>({...n,...o}))):r.push(n)});for(let n=0;n<r.length;n++)await Tn(this.config),await zA(this,r[n]);this.system.pointer.resetClickCount()}a(JA,"pointer");async function zA(e,t){var r,n;let o="pointerName"in t&&t.pointerName?t.pointerName:"keyDef"in t?e.system.pointer.getPointerName(t.keyDef):"mouse",i=e.system.pointer.getPreviousPosition(o);var s,l,c,u;let d={target:(s=t.target)!==null&&s!==void 0?s:WA(e,i),coords:(l=t.coords)!==null&&l!==void 0?l:i?.coords,caret:{node:(c=t.node)!==null&&c!==void 0?c:Fd(t)||i==null||(r=i.caret)===null||r===void 0?void 0:r.node,offset:(u=t.offset)!==null&&u!==void 0?u:Fd(t)||i==null||(n=i.caret)===null||n===void 0?void 0:n.offset}};"keyDef"in t?(e.system.pointer.isKeyPressed(t.keyDef)&&(Yn(e,wt.Trigger),await e.system.pointer.release(e,t.keyDef,d)),t.releasePrevious||(Yn(e,wt.Trigger),await e.system.pointer.press(e,t.keyDef,d),t.releaseSelf&&(Yn(e,wt.Trigger),await e.system.pointer.release(e,t.keyDef,d)))):(Yn(e,wt.Trigger),await e.system.pointer.move(e,o,d))}a(zA,"pointerAction");function Fd(e){var t,r;return!!((r=(t=e.target)!==null&&t!==void 0?t:e.node)!==null&&r!==void 0?r:e.offset!==void 0)}a(Fd,"hasCaretPosition");function WA(e,t){if(!t)throw new Error("This pointer has no previous position. Provide a target property!");var r;return(r=t.target)!==null&&r!==void 0?r:e.config.document.body}a(WA,"getPrevTarget");async function GA(e){if(!wn(e)||Qt(e))throw new Error("clear()` is only supported on editable elements.");if(gr(e),e.ownerDocument.activeElement!==e)throw new Error("The element to be cleared could not be focused.");if(Dm(e),!W_(e))throw new Error("The element content to be cleared could not be selected.");xn(this,e,"","deleteContentBackward")}a(GA,"clear");async function KA(e,t){return Zm.call(this,!0,e,t)}a(KA,"selectOptions");async function YA(e,t){return Zm.call(this,!1,e,t)}a(YA,"deselectOptions");async function Zm(e,t,r){if(!e&&!t.multiple)throw ve().getElementError("Unable to deselect an option in a non-multiple select. Use selectOptions to change the selection instead.",t);let n=Array.isArray(r)?r:[r],o=Array.from(t.querySelectorAll('option, [role="option"]')),i=n.map(l=>{if(typeof l!="string"&&o.includes(l))return l;{let c=o.find(u=>u.value===l||u.innerHTML===l);if(c)return c;throw ve().getElementError(`Value "${String(l)}" not found in options`,t)}}).filter(l=>!Qt(l));if(Qt(t)||!i.length)return;let s=a(l=>{l.selected=e,this.dispatchUIEvent(t,"input",{bubbles:!0,cancelable:!1,composed:!0}),this.dispatchUIEvent(t,"change")},"selectOption");if(ye(t,"select"))if(t.multiple)for(let l of i){let c=this.config.pointerEventsCheck===0?!0:za(this,l);c&&(this.dispatchUIEvent(l,"pointerover"),this.dispatchUIEvent(t,"pointerenter"),this.dispatchUIEvent(l,"mouseover"),this.dispatchUIEvent(t,"mouseenter"),this.dispatchUIEvent(l,"pointermove"),this.dispatchUIEvent(l,"mousemove"),this.dispatchUIEvent(l,"pointerdown"),this.dispatchUIEvent(l,"mousedown")),gr(t),c&&(this.dispatchUIEvent(l,"pointerup"),this.dispatchUIEvent(l,"mouseup")),s(l),c&&this.dispatchUIEvent(l,"click"),await Tn(this.config)}else if(i.length===1){let l=this.config.pointerEventsCheck===0?!0:za(this,t);l?await this.click(t):gr(t),s(i[0]),l&&(this.dispatchUIEvent(t,"pointerover"),this.dispatchUIEvent(t,"pointerenter"),this.dispatchUIEvent(t,"mouseover"),this.dispatchUIEvent(t,"mouseenter"),this.dispatchUIEvent(t,"pointerup"),this.dispatchUIEvent(t,"mouseup"),this.dispatchUIEvent(t,"click")),await Tn(this.config)}else throw ve().getElementError("Cannot select multiple options on a non-multiple select",t);else if(t.getAttribute("role")==="listbox")for(let l of i)await this.click(l),await this.unhover(l);else throw ve().getElementError("Cannot select options on elements that are neither select nor listbox elements",t)}a(Zm,"selectOptionsBase");async function XA(e,t,{skipClick:r=this.config.skipClick,skipAutoClose:n=this.config.skipAutoClose,initialSelectionStart:o,initialSelectionEnd:i}={}){e.disabled||(r||await this.click(e),o!==void 0&&Kn(e,o,i??o),await this.keyboard(t),n||await DA(this))}a(XA,"type");var Xb=Symbol("files and value properties are mocked");function Ui(e,t,r){r?Object.defineProperty(e,t,r):delete e[t]}a(Ui,"restoreProperty");function QA(e,t){var r;(r=e[Xb])===null||r===void 0||r.restore();let n=Object.getOwnPropertyDescriptor(e,"type"),o=Object.getOwnPropertyDescriptor(e,"value"),i=Object.getOwnPropertyDescriptor(e,"files");function s(){Ui(e,"type",n),Ui(e,"value",o),Ui(e,"files",i)}a(s,"restore"),e[Xb]={restore:s},Object.defineProperties(e,{files:{configurable:!0,get:a(()=>t,"get")},value:{configurable:!0,get:a(()=>t.length?`C:\\fakepath\\${t[0].name}`:"","get"),set(l){if(l==="")s();else{var c;o==null||(c=o.set)===null||c===void 0||c.call(e,l)}}},type:{configurable:!0,get:a(()=>"file","get"),set(l){l!=="file"&&(s(),e.type=l)}}})}a(QA,"setFiles");async function ZA(e,t){let r=ye(e,"label")?e.control:e;if(!r||!ye(r,"input",{type:"file"}))throw new TypeError(`The ${r===e?"given":"associated"} ${r?.tagName} element does not accept file uploads`);if(Qt(e))return;let n=(Array.isArray(t)?t:[t]).filter(i=>!this.config.applyAccept||eR(i,r.accept)).slice(0,r.multiple?void 0:1),o=a(()=>{var i;n.length===((i=r.files)===null||i===void 0?void 0:i.length)&&n.every((s,l)=>{var c;return s===((c=r.files)===null||c===void 0?void 0:c.item(l))})||(QA(r,du(St(e),n)),this.dispatchUIEvent(r,"input"),this.dispatchUIEvent(r,"change"))},"fileDialog");r.addEventListener("fileDialog",o),await this.click(e),r.removeEventListener("fileDialog",o)}a(ZA,"upload");function ha(e){return e.toLowerCase().replace(/(\.|\/)jpg\b/g,"$1jpeg")}a(ha,"normalize");function eR(e,t){if(!t)return!0;let r=["audio/*","image/*","video/*"];return ha(t).trim().split(/\s*,\s*/).some(n=>n.startsWith(".")?ha(e.name).endsWith(n):r.includes(n)?ha(e.type).startsWith(n.replace("*","")):ha(e.type)===n)}a(eR,"isAcceptableFile");var Qb={click:OA,dblClick:_A,tripleClick:AA,hover:RA,unhover:qA,tab:IA,keyboard:$A,copy:BA,cut:UA,paste:HA,pointer:JA,clear:GA,deselectOptions:YA,selectOptions:KA,type:XA,upload:ZA};function tR(e){return ve().asyncWrapper(e)}a(tR,"wrapAsync");var rR={applyAccept:!0,autoModify:!0,delay:0,document:globalThis.document,keyboardMap:L3,pointerMap:D3,pointerEventsCheck:Bi.EachApiCall,skipAutoClose:!1,skipClick:!1,skipHover:!1,writeToClipboard:!1,advanceTimers:a(()=>Promise.resolve(),"advanceTimers")},V3={...rR,writeToClipboard:!0};function ey(e={},t=V3,r){let n=iR(e,r,t);return{...t,...e,document:n}}a(ey,"createConfig");function nR(e={}){let t=ey(e);Vm(t.document),Hm(St(t.document).HTMLElement);var r;let n=(r=t.document.defaultView)!==null&&r!==void 0?r:globalThis.window;return l_(n),bu(t).api}a(nR,"setupMain");function nt({keyboardState:e,pointerState:t,...r}={},n){let o=ey(r,rR,n);Vm(o.document),Hm(St(o.document).HTMLElement);var i;let s=(i=t??e)!==null&&i!==void 0?i:new PA;return{api:bu(o,s).api,system:s}}a(nt,"setupDirect");function oR(e){return bu({...this.config,...e},this.system).api}a(oR,"setupSub");function aR(e,t){function r(...n){return Yn(e,wt.Call),tR(()=>t.apply(e,n).then(async o=>(await Tn(e.config),o)))}return a(r,"method"),Object.defineProperty(r,"name",{get:a(()=>t.name,"get")}),r}a(aR,"wrapAndBindImpl");function bu(e,t=new PA){let r={};return Object.assign(r,{config:e,dispatchEvent:Um.bind(r),dispatchUIEvent:nA.bind(r),system:t,levelRefs:{},...Qb}),{instance:r,api:{...Object.fromEntries(Object.entries(Qb).map(([n,o])=>[n,aR(r,o)])),setup:oR.bind(r)}}}a(bu,"createInstance");function iR(e,t,r){var n,o;return(o=(n=e.document)!==null&&n!==void 0?n:t&&lA(t))!==null&&o!==void 0?o:r.document}a(iR,"getDocument");var sR={};ct(sR,{clear:()=>lR,click:()=>uR,copy:()=>cR,cut:()=>dR,dblClick:()=>pR,deselectOptions:()=>fR,hover:()=>hR,keyboard:()=>mR,paste:()=>bR,pointer:()=>yR,selectOptions:()=>gR,tab:()=>TR,tripleClick:()=>vR,type:()=>wR,unhover:()=>ER,upload:()=>xR});function lR(e){return nt().api.clear(e)}a(lR,"clear");function uR(e,t={}){return nt(t,e).api.click(e)}a(uR,"click");function cR(e={}){return nt(e).api.copy()}a(cR,"copy");function dR(e={}){return nt(e).api.cut()}a(dR,"cut");function pR(e,t={}){return nt(t).api.dblClick(e)}a(pR,"dblClick");function fR(e,t,r={}){return nt(r).api.deselectOptions(e,t)}a(fR,"deselectOptions");function hR(e,t={}){return nt(t).api.hover(e)}a(hR,"hover");async function mR(e,t={}){let{api:r,system:n}=nt(t);return r.keyboard(e).then(()=>n)}a(mR,"keyboard");async function yR(e,t={}){let{api:r,system:n}=nt(t);return r.pointer(e).then(()=>n)}a(yR,"pointer");function bR(e,t){return nt(t).api.paste(e)}a(bR,"paste");function gR(e,t,r={}){return nt(r).api.selectOptions(e,t)}a(gR,"selectOptions");function vR(e,t={}){return nt(t).api.tripleClick(e)}a(vR,"tripleClick");function wR(e,t,r={}){return nt(r,e).api.type(e,t,r)}a(wR,"type");function ER(e,t={}){let{api:r,system:n}=nt(t);return n.pointer.setMousePosition({target:e}),r.unhover(e)}a(ER,"unhover");function xR(e,t,r={}){return nt(r).api.upload(e,t)}a(xR,"upload");function TR(e={}){return nt().api.tab(e)}a(TR,"tab");var SR={...sR,setup:nR},Bd=Ro({...kC},{getKeys:a(e=>Object.keys(e).filter(t=>t!=="eventWrapper"),"getKeys"),intercept:a((e,t)=>t[0]==="fireEvent"||e.startsWith("find")||e.startsWith("waitFor"),"intercept")});Bd.screen=new Proxy(Bd.screen,{get(e,t,r){return Be.warn(cF`
356
- You are using Testing Library's \`screen\` object. Use \`within(canvasElement)\` instead.
357
- More info: https://storybook.js.org/docs/writing-tests/interaction-testing?ref=error
358
- `),Reflect.get(e,t,r)}});var{buildQueries:J3,configure:z3,createEvent:W3,fireEvent:G3,findAllByAltText:K3,findAllByDisplayValue:Y3,findAllByLabelText:X3,findAllByPlaceholderText:Q3,findAllByRole:Z3,findAllByTestId:eV,findAllByText:tV,findAllByTitle:rV,findByAltText:nV,findByDisplayValue:oV,findByLabelText:aV,findByPlaceholderText:iV,findByRole:sV,findByTestId:lV,findByText:uV,findByTitle:cV,getAllByAltText:dV,getAllByDisplayValue:pV,getAllByLabelText:fV,getAllByPlaceholderText:hV,getAllByRole:mV,getAllByTestId:yV,getAllByText:bV,getAllByTitle:gV,getByAltText:vV,getByDisplayValue:wV,getByLabelText:EV,getByPlaceholderText:xV,getByRole:TV,getByTestId:SV,getByText:CV,getByTitle:PV,getConfig:OV,getDefaultNormalizer:_V,getElementError:AV,getNodeText:RV,getQueriesForElement:qV,getRoles:IV,getSuggestedQuery:NV,isInaccessible:jV,logDOM:kV,logRoles:MV,prettyDOM:$V,queries:LV,queryAllByAltText:DV,queryAllByAttribute:FV,queryAllByDisplayValue:BV,queryAllByLabelText:UV,queryAllByPlaceholderText:HV,queryAllByRole:VV,queryAllByTestId:JV,queryAllByText:zV,queryAllByTitle:WV,queryByAltText:GV,queryByAttribute:KV,queryByDisplayValue:YV,queryByLabelText:XV,queryByPlaceholderText:QV,queryByRole:ZV,queryByTestId:eJ,queryByText:tJ,queryByTitle:rJ,queryHelpers:nJ,screen:oJ,waitFor:aJ,waitForElementToBeRemoved:iJ,within:CR,prettyFormat:sJ}=Bd,PR=SR,{userEvent:lJ}=Ro({userEvent:SR},{intercept:!0,getKeys:a(e=>Object.keys(e).filter(t=>t!=="eventWrapper"),"getKeys")}),{expect:uJ}=Ro({expect:IC},{getKeys:a((e,t)=>{if("constructor"in e&&e.constructor===j){let r=["assert","__methods","__flags","_obj"],n=Object.keys(Object.getPrototypeOf(e)).filter(o=>!r.includes(o));return t>2?n:[...n,"not"]}return"any"in e?Object.keys(e).filter(r=>r!=="any"):Object.keys(e)},"getKeys"),mutate:!0,intercept:a(e=>e!=="expect","intercept")}),cJ={mock:a(()=>{},"mock")},Zb=!1,dJ=a(e=>{let{parameters:t}=e;t?.actions?.disable||Zb||(Xh((r,n)=>{let o=r.getMockName();o!=="spy"&&(!/^next\/.*::/.test(o)||["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(i=>o.startsWith(i)))&&Fo(o)(n)}),Zb=!0)},"logActionsWhenMockCalled"),pJ=[dJ],eg=a(()=>({...u0,...d0}),"default"),ks="backgrounds",fJ={light:{name:"light",value:"#F8F8F8"},dark:{name:"dark",value:"#333"}},{document:$t}=globalThis,hJ=a(()=>globalThis?.matchMedia?!!globalThis.matchMedia("(prefers-reduced-motion: reduce)")?.matches:!1,"isReduceMotionEnabled"),tg=a(e=>{(Array.isArray(e)?e:[e]).forEach(mJ)},"clearStyles"),mJ=a(e=>{if(!$t)return;let t=$t.getElementById(e);t&&t.parentElement&&t.parentElement.removeChild(t)},"clearStyle"),yJ=a((e,t)=>{if(!$t)return;let r=$t.getElementById(e);if(r)r.innerHTML!==t&&(r.innerHTML=t);else{let n=$t.createElement("style");n.setAttribute("id",e),n.innerHTML=t,$t.head.appendChild(n)}},"addGridStyle"),bJ=a((e,t,r)=>{if(!$t)return;let n=$t.getElementById(e);if(n)n.innerHTML!==t&&(n.innerHTML=t);else{let o=$t.createElement("style");o.setAttribute("id",e),o.innerHTML=t;let i=`addon-backgrounds-grid${r?`-docs-${r}`:""}`,s=$t.getElementById(i);s?s.parentElement?.insertBefore(o,s):$t.head.appendChild(o)}},"addBackgroundStyle"),gJ={cellSize:100,cellAmount:10,opacity:.8},rg="addon-backgrounds",ng="addon-backgrounds-grid",vJ=hJ()?"":"transition: background-color 0.3s;",wJ=a((e,t)=>{let{globals:r={},parameters:n={},viewMode:o,id:i}=t,{options:s=fJ,disable:l,grid:c=gJ}=n[ks]||{},u=r[ks]||{},d=typeof u=="string"?u:u?.value,p=d?s[d]:void 0,h=typeof p=="string"?p:p?.value||"transparent",f=typeof u=="string"?!1:u.grid||!1,m=!!p&&!l,b=o==="docs"?`#anchor--${i} .docs-story`:".sb-show-main",g=o==="docs"?`#anchor--${i} .docs-story`:".sb-show-main",v=n.layout===void 0||n.layout==="padded",w=o==="docs"?20:v?16:0,{cellAmount:P,cellSize:A,opacity:R,offsetX:T=w,offsetY:E=w}=c,x=o==="docs"?`${rg}-docs-${i}`:`${rg}-color`,C=o==="docs"?i:null;Fr(()=>{let I=`
359
- ${b} {
360
- background: ${h} !important;
361
- ${vJ}
362
- }`;if(!m){tg(x);return}bJ(x,I,C)},[b,x,C,m,h]);let k=o==="docs"?`${ng}-docs-${i}`:`${ng}`;return Fr(()=>{if(!f){tg(k);return}let I=[`${A*P}px ${A*P}px`,`${A*P}px ${A*P}px`,`${A}px ${A}px`,`${A}px ${A}px`].join(", "),U=`
363
- ${g} {
364
- background-size: ${I} !important;
365
- background-position: ${T}px ${E}px, ${T}px ${E}px, ${T}px ${E}px, ${T}px ${E}px !important;
366
- background-blend-mode: difference !important;
367
- background-image: linear-gradient(rgba(130, 130, 130, ${R}) 1px, transparent 1px),
368
- linear-gradient(90deg, rgba(130, 130, 130, ${R}) 1px, transparent 1px),
369
- linear-gradient(rgba(130, 130, 130, ${R/2}) 1px, transparent 1px),
370
- linear-gradient(90deg, rgba(130, 130, 130, ${R/2}) 1px, transparent 1px) !important;
371
- }
372
- `;yJ(k,U)},[P,A,g,k,f,T,E,R]),e()},"withBackgroundAndGrid"),EJ=globalThis.FEATURES?.backgrounds?[wJ]:[],xJ={[ks]:{grid:{cellSize:20,opacity:.5,cellAmount:5},disable:!1}},TJ={[ks]:{value:void 0,grid:!1}},og=a(()=>({decorators:EJ,parameters:xJ,initialGlobals:TJ}),"default"),{step:SJ}=Ro({step:a(async(e,t,r)=>t(r),"step")},{intercept:!0}),ag=a(()=>({parameters:{throwPlayFunctionExceptions:!1},runStep:SJ}),"default"),gu="storybook/highlight",CJ=`${gu}/add`,PJ=`${gu}/remove`,OJ=`${gu}/reset`,_J=`${gu}/scroll-into-view`,ig=2147483647,qr=28,sg={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"]},AJ="svg,path,rect,circle,line,polyline,polygon,ellipse,text".split(","),ze=a((e,t={},r)=>{let n=AJ.includes(e)?document.createElementNS("http://www.w3.org/2000/svg",e):document.createElement(e);return Object.entries(t).forEach(([o,i])=>{/[A-Z]/.test(o)?(o==="onClick"&&(n.addEventListener("click",i),n.addEventListener("keydown",s=>{(s.key==="Enter"||s.key===" ")&&(s.preventDefault(),i())})),o==="onMouseEnter"&&n.addEventListener("mouseenter",i),o==="onMouseLeave"&&n.addEventListener("mouseleave",i)):n.setAttribute(o,i)}),r?.forEach(o=>{if(!(o==null||o===!1))try{n.appendChild(o)}catch{n.appendChild(document.createTextNode(String(o)))}}),n},"createElement"),Pi=a(e=>sg[e]&&ze("svg",{width:"14",height:"14",viewBox:"0 0 14 14",xmlns:"http://www.w3.org/2000/svg"},sg[e].map(t=>ze("path",{fill:"currentColor","fill-rule":"evenodd","clip-rule":"evenodd",d:t}))),"createIcon"),RJ=a(e=>{if("elements"in e){let{elements:n,color:o,style:i}=e;return{id:void 0,priority:0,selectors:n,styles:{outline:`2px ${i} ${o}`,outlineOffset:"2px",boxShadow:"0 0 0 6px rgba(255,255,255,0.6)"},menu:void 0}}let{menu:t,...r}=e;return{id:void 0,priority:0,styles:{outline:"2px dashed #029cfd"},...r,menu:Array.isArray(t)?t.every(Array.isArray)?t:[t]:void 0}},"normalizeOptions"),qJ=a(e=>e instanceof Function,"isFunction"),aa=new Map,Zr=new Map,Oi=new Map,ir=a(e=>{let t=Symbol();return Zr.set(t,[]),aa.set(t,e),{get:a(()=>aa.get(t),"get"),set:a(r=>{let n=aa.get(t),o=qJ(r)?r(n):r;o!==n&&(aa.set(t,o),Zr.get(t)?.forEach(i=>{Oi.get(i)?.(),Oi.set(i,i(o))}))},"set"),subscribe:a(r=>(Zr.get(t)?.push(r),()=>{let n=Zr.get(t);n&&Zr.set(t,n.filter(o=>o!==r))}),"subscribe"),teardown:a(()=>{Zr.get(t)?.forEach(r=>{Oi.get(r)?.(),Oi.delete(r)}),Zr.delete(t),aa.delete(t)},"teardown")}},"useStore"),lg=a(e=>{let t=document.getElementById("storybook-root"),r=new Map;for(let n of e){let{priority:o=0}=n;for(let i of n.selectors){let s=[...document.querySelectorAll(`:is(${i}):not([id^="storybook-"], [id^="storybook-"] *, [class^="sb-"], [class^="sb-"] *)`),...t?.querySelectorAll(i)||[]];for(let l of s){let c=r.get(l);(!c||c.priority<=o)&&r.set(l,{...n,priority:o,selectors:Array.from(new Set((c?.selectors||[]).concat(i)))})}}}return r},"mapElements"),IJ=a(e=>Array.from(e.entries()).map(([t,{selectors:r,styles:n,hoverStyles:o,focusStyles:i,menu:s}])=>{let{top:l,left:c,width:u,height:d}=t.getBoundingClientRect(),{position:p}=getComputedStyle(t);return{element:t,selectors:r,styles:n,hoverStyles:o,focusStyles:i,menu:s,top:p==="fixed"?l:l+window.scrollY,left:p==="fixed"?c:c+window.scrollX,width:u,height:d}}).sort((t,r)=>r.width*r.height-t.width*t.height),"mapBoxes"),ug=a((e,t)=>{let r=e.getBoundingClientRect(),{x:n,y:o}=t;return r?.top&&r?.left&&n>=r.left&&n<=r.left+r.width&&o>=r.top&&o<=r.top+r.height},"isOverMenu"),cg=a((e,t,r)=>{if(!t||!r)return!1;let{left:n,top:o,width:i,height:s}=e;s<qr&&(o=o-Math.round((qr-s)/2),s=qr),i<qr&&(n=n-Math.round((qr-i)/2),i=qr),t.style.position==="fixed"&&(n+=window.scrollX,o+=window.scrollY);let{x:l,y:c}=r;return l>=n&&l<=n+i&&c>=o&&c<=o+s},"isTargeted"),NJ=a((e,t,r={})=>{let{x:n,y:o}=t,{margin:i=5,topOffset:s=0,centered:l=!1}=r,{scrollX:c,scrollY:u,innerHeight:d,innerWidth:p}=window,h=Math.min(e.style.position==="fixed"?o-u:o,d-e.clientHeight-i-s+u),f=l?e.clientWidth/2:0,m=e.style.position==="fixed"?Math.max(Math.min(n-c,p-f-i),f+i):Math.max(Math.min(n,p-f-i+c),f+i+c);Object.assign(e.style,{...m!==n&&{left:`${m}px`},...h!==o&&{top:`${h}px`}})},"keepInViewport"),dg=a(e=>{window.HTMLElement.prototype.hasOwnProperty("showPopover")&&e.showPopover()},"showPopover"),jJ=a(e=>{window.HTMLElement.prototype.hasOwnProperty("showPopover")&&e.hidePopover()},"hidePopover"),kJ=a(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(t=>[t.name,t.value])),localName:e.element.localName,tagName:e.element.tagName,outerHTML:e.element.outerHTML}}),"getEventDetails"),Ae="storybook-highlights-menu",pg="storybook-highlights-root",MJ="storybook-root",$J=a(e=>{if(globalThis.__STORYBOOK_HIGHLIGHT_INITIALIZED)return;globalThis.__STORYBOOK_HIGHLIGHT_INITIALIZED=!0;let{document:t}=globalThis,r=ir([]),n=ir(new Map),o=ir([]),i=ir(),s=ir(),l=ir([]),c=ir([]),u=ir(),d=ir(),p=t.getElementById(pg);r.subscribe(()=>{p||(p=ze("div",{id:pg}),t.body.appendChild(p))}),r.subscribe(E=>{let x=t.getElementById(MJ);if(!x)return;n.set(lg(E));let C=new MutationObserver(()=>n.set(lg(E)));return C.observe(x,{subtree:!0,childList:!0}),()=>{C.disconnect()}}),n.subscribe(E=>{let x=a(()=>requestAnimationFrame(()=>o.set(IJ(E))),"updateBoxes"),C=new ResizeObserver(x);C.observe(t.body),Array.from(E.keys()).forEach(I=>C.observe(I));let k=Array.from(t.body.querySelectorAll("*")).filter(I=>{let{overflow:U,overflowX:D,overflowY:O}=window.getComputedStyle(I);return["auto","scroll"].some(M=>[U,D,O].includes(M))});return k.forEach(I=>I.addEventListener("scroll",x)),()=>{C.disconnect(),k.forEach(I=>I.removeEventListener("scroll",x))}}),n.subscribe(E=>{let x=Array.from(E.keys()).filter(({style:k})=>k.position==="sticky"),C=a(()=>requestAnimationFrame(()=>{o.set(k=>k.map(I=>{if(x.includes(I.element)){let{top:U,left:D}=I.element.getBoundingClientRect();return{...I,top:U+window.scrollY,left:D+window.scrollX}}return I}))}),"updateBoxes");return t.addEventListener("scroll",C),()=>t.removeEventListener("scroll",C)}),n.subscribe(E=>{l.set(x=>x.filter(({element:C})=>E.has(C)))}),l.subscribe(E=>{E.length?(d.set(x=>E.some(C=>C.element===x?.element)?x:void 0),u.set(x=>E.some(C=>C.element===x?.element)?x:void 0)):(d.set(void 0),u.set(void 0),i.set(void 0))});let h=new Map(new Map);r.subscribe(E=>{E.forEach(({keyframes:x})=>{if(x){let C=h.get(x);C||(C=t.createElement("style"),C.setAttribute("data-highlight","keyframes"),h.set(x,C),t.head.appendChild(C)),C.innerHTML=x}}),h.forEach((x,C)=>{E.some(k=>k.keyframes===C)||(x.remove(),h.delete(C))})});let f=new Map(new Map);o.subscribe(E=>{E.forEach(x=>{let C=f.get(x.element);if(p&&!C){let k={popover:"manual","data-highlight-dimensions":`w${x.width.toFixed(0)}h${x.height.toFixed(0)}`,"data-highlight-coordinates":`x${x.left.toFixed(0)}y${x.top.toFixed(0)}`};C=p.appendChild(ze("div",k,[ze("div")])),f.set(x.element,C)}}),f.forEach((x,C)=>{E.some(({element:k})=>k===C)||(x.remove(),f.delete(C))})}),o.subscribe(E=>{let x=E.filter(k=>k.menu);if(!x.length)return;let C=a(k=>{requestAnimationFrame(()=>{let I=t.getElementById(Ae),U={x:k.pageX,y:k.pageY};if(I&&!ug(I,U)){let D=x.filter(O=>{let M=f.get(O.element);return cg(O,M,U)});i.set(D.length?U:void 0),l.set(D)}})},"onClick");return t.addEventListener("click",C),()=>t.removeEventListener("click",C)});let m=a(()=>{let E=t.getElementById(Ae),x=s.get();!x||E&&ug(E,x)||c.set(C=>{let k=o.get().filter(O=>{let M=f.get(O.element);return cg(O,M,x)}),I=C.filter(O=>k.includes(O)),U=k.filter(O=>!C.includes(O)),D=C.length-I.length;return U.length||D?[...I,...U]:C})},"updateHovered");s.subscribe(m),o.subscribe(m);let b=a(()=>{let E=d.get(),x=E?[E]:l.get(),C=x.length===1?x[0]:u.get(),k=i.get()!==void 0;o.get().forEach(I=>{let U=f.get(I.element);if(U){let D=C===I,O=k?C?D:x.includes(I):c.get()?.includes(I);Object.assign(U.style,{animation:"none",background:"transparent",border:"none",boxSizing:"border-box",outline:"none",outlineOffset:"0px",...I.styles,...O?I.hoverStyles:{},...D?I.focusStyles:{},position:getComputedStyle(I.element).position==="fixed"?"fixed":"absolute",zIndex:ig-10,top:`${I.top}px`,left:`${I.left}px`,width:`${I.width}px`,height:`${I.height}px`,margin:0,padding:0,cursor:I.menu&&O?"pointer":"default",pointerEvents:I.menu?"auto":"none",display:"flex",alignItems:"center",justifyContent:"center",overflow:"visible"}),Object.assign(U.children[0].style,{width:"100%",height:"100%",minHeight:`${qr}px`,minWidth:`${qr}px`,boxSizing:"content-box",padding:U.style.outlineWidth||"0px"}),dg(U)}})},"updateBoxStyles");o.subscribe(b),l.subscribe(b),c.subscribe(b),u.subscribe(b),d.subscribe(b);let g=a(()=>{if(!p)return;let E=t.getElementById(Ae);if(E)E.innerHTML="";else{let I={id:Ae,popover:"manual"};E=p.appendChild(ze("div",I)),p.appendChild(ze("style",{},[`
373
- #${Ae} {
374
- position: absolute;
375
- z-index: ${ig};
376
- width: 300px;
377
- padding: 0px;
378
- margin: 15px 0 0 0;
379
- transform: translateX(-50%);
380
- font-family: "Nunito Sans", -apple-system, ".SFNSText-Regular", "San Francisco", BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
381
- font-size: 12px;
382
- background: white;
383
- border: none;
384
- border-radius: 6px;
385
- box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.05), 0 5px 15px 0 rgba(0, 0, 0, 0.1);
386
- color: #2E3438;
387
- }
388
- #${Ae} ul {
389
- list-style: none;
390
- margin: 0;
391
- padding: 0;
392
- }
393
- #${Ae} > ul {
394
- max-height: 300px;
395
- overflow-y: auto;
396
- padding: 4px 0;
397
- }
398
- #${Ae} li {
399
- padding: 0 4px;
400
- margin: 0;
401
- }
402
- #${Ae} li > :not(ul) {
403
- display: flex;
404
- padding: 8px;
405
- margin: 0;
406
- align-items: center;
407
- gap: 8px;
408
- border-radius: 4px;
409
- }
410
- #${Ae} button {
411
- width: 100%;
412
- border: 0;
413
- background: transparent;
414
- color: inherit;
415
- text-align: left;
416
- font-family: inherit;
417
- font-size: inherit;
418
- }
419
- #${Ae} button:focus-visible {
420
- outline-color: #029CFD;
421
- }
422
- #${Ae} button:hover {
423
- background: rgba(2, 156, 253, 0.07);
424
- color: #029CFD;
425
- cursor: pointer;
426
- }
427
- #${Ae} li code {
428
- white-space: nowrap;
429
- overflow: hidden;
430
- text-overflow: ellipsis;
431
- line-height: 16px;
432
- font-size: 11px;
433
- }
434
- #${Ae} li svg {
435
- flex-shrink: 0;
436
- margin: 1px;
437
- color: #73828C;
438
- }
439
- #${Ae} li > button:hover svg, #${Ae} li > button:focus-visible svg {
440
- color: #029CFD;
441
- }
442
- #${Ae} .element-list li svg {
443
- display: none;
444
- }
445
- #${Ae} li.selectable svg, #${Ae} li.selected svg {
446
- display: block;
447
- }
448
- #${Ae} .menu-list {
449
- border-top: 1px solid rgba(38, 85, 115, 0.15);
450
- }
451
- #${Ae} .menu-list > li:not(:last-child) {
452
- padding-bottom: 4px;
453
- margin-bottom: 4px;
454
- border-bottom: 1px solid rgba(38, 85, 115, 0.15);
455
- }
456
- #${Ae} .menu-items, #${Ae} .menu-items li {
457
- padding: 0;
458
- }
459
- #${Ae} .menu-item {
460
- display: flex;
461
- }
462
- #${Ae} .menu-item-content {
463
- display: flex;
464
- flex-direction: column;
465
- flex-grow: 1;
466
- }
467
- `]))}let x=d.get(),C=x?[x]:l.get();if(C.length&&(E.style.position=getComputedStyle(C[0].element).position==="fixed"?"fixed":"absolute",E.appendChild(ze("ul",{class:"element-list"},C.map(I=>{let U=C.length>1&&!!I.menu?.some(M=>M.some($=>!$.selectors||$.selectors.some(K=>I.selectors.includes(K)))),D=U?{class:"selectable",onClick:a(()=>d.set(I),"onClick"),onMouseEnter:a(()=>u.set(I),"onMouseEnter"),onMouseLeave:a(()=>u.set(void 0),"onMouseLeave")}:x?{class:"selected",onClick:a(()=>d.set(void 0),"onClick")}:{},O=U||x;return ze("li",D,[ze(O?"button":"div",O?{type:"button"}:{},[x?Pi("chevronLeft"):null,ze("code",{},[I.element.outerHTML]),U?Pi("chevronRight"):null])])})))),d.get()||l.get().length===1){let I=d.get()||l.get()[0],U=I.menu?.filter(D=>D.some(O=>!O.selectors||O.selectors.some(M=>I.selectors.includes(M))));U?.length&&E.appendChild(ze("ul",{class:"menu-list"},U.map(D=>ze("li",{},[ze("ul",{class:"menu-items"},D.map(({id:O,title:M,description:$,iconLeft:K,iconRight:G,clickEvent:re})=>{let ae=re&&(()=>e.emit(re,O,kJ(I)));return ze("li",{},[ze(ae?"button":"div",ae?{class:"menu-item",type:"button",onClick:ae}:{class:"menu-item"},[K?Pi(K):null,ze("div",{class:"menu-item-content"},[ze($?"strong":"span",{},[M]),$&&ze("span",{},[$])]),G?Pi(G):null])])}))]))))}let k=i.get();k?(Object.assign(E.style,{display:"block",left:`${E.style.position==="fixed"?k.x-window.scrollX:k.x}px`,top:`${E.style.position==="fixed"?k.y-window.scrollY:k.y}px`}),dg(E),requestAnimationFrame(()=>NJ(E,k,{topOffset:15,centered:!0}))):(jJ(E),Object.assign(E.style,{display:"none"}))},"renderMenu");l.subscribe(g),d.subscribe(g);let v=a(E=>{let x=RJ(E);r.set(C=>{let k=x.id?C.filter(I=>I.id!==x.id):C;return x.selectors?.length?[...k,x]:k})},"addHighlight"),w=a(E=>{E&&r.set(x=>x.filter(C=>C.id!==E))},"removeHighlight"),P=a(()=>{r.set([]),n.set(new Map),o.set([]),i.set(void 0),s.set(void 0),l.set([]),c.set([]),u.set(void 0),d.set(void 0)},"resetState"),A,R=a((E,x)=>{let C="scrollIntoView-highlight";clearTimeout(A),w(C);let k=t.querySelector(E);if(!k){console.warn(`Cannot scroll into view: ${E} not found`);return}k.scrollIntoView({behavior:"smooth",block:"center",...x});let I=`kf-${Math.random().toString(36).substring(2,15)}`;r.set(U=>[...U,{id:C,priority:1e3,selectors:[E],styles:{outline:"2px solid #1EA7FD",outlineOffset:"-1px",animation:`${I} 3s linear forwards`},keyframes:`@keyframes ${I} {
468
- 0% { outline: 2px solid #1EA7FD; }
469
- 20% { outline: 2px solid #1EA7FD00; }
470
- 40% { outline: 2px solid #1EA7FD; }
471
- 60% { outline: 2px solid #1EA7FD00; }
472
- 80% { outline: 2px solid #1EA7FD; }
473
- 100% { outline: 2px solid #1EA7FD00; }
474
- }`}]),A=setTimeout(()=>w(C),3500)},"scrollIntoView"),T=a(E=>{requestAnimationFrame(()=>s.set({x:E.pageX,y:E.pageY}))},"onMouseMove");t.body.addEventListener("mousemove",T),e.on(CJ,v),e.on(PJ,w),e.on(OJ,P),e.on(_J,R),e.on(mn,({newPhase:E})=>{E==="loading"&&P()})},"useHighlights");globalThis?.FEATURES?.highlight&&qt?.ready&&qt.ready().then($J);var fg=a(()=>({}),"default"),LJ="measureEnabled";function ty(){let e=te.document.documentElement,t=Math.max(e.scrollHeight,e.offsetHeight);return{width:Math.max(e.scrollWidth,e.offsetWidth),height:t}}a(ty,"getDocumentWidthAndHeight");function OR(){let e=te.document.createElement("canvas");e.id="storybook-addon-measure";let t=e.getContext("2d");Yt(t!=null);let{width:r,height:n}=ty();return Ms(e,t,{width:r,height:n}),e.style.position="absolute",e.style.left="0",e.style.top="0",e.style.zIndex="2147483647",e.style.pointerEvents="none",te.document.body.appendChild(e),{canvas:e,context:t,width:r,height:n}}a(OR,"createCanvas");function Ms(e,t,{width:r,height:n}){e.style.width=`${r}px`,e.style.height=`${n}px`;let o=te.window.devicePixelRatio;e.width=Math.floor(r*o),e.height=Math.floor(n*o),t.scale(o,o)}a(Ms,"setCanvasWidthAndHeight");var We={};function _R(){We.canvas||(We=OR())}a(_R,"init");function ry(){We.context&&We.context.clearRect(0,0,We.width??0,We.height??0)}a(ry,"clear");function AR(e){ry(),e(We.context)}a(AR,"draw");function RR(){Yt(We.canvas),Yt(We.context),Ms(We.canvas,We.context,{width:0,height:0});let{width:e,height:t}=ty();Ms(We.canvas,We.context,{width:e,height:t}),We.width=e,We.height=t}a(RR,"rescale");function qR(){We.canvas&&(ry(),We.canvas.parentNode?.removeChild(We.canvas),We={})}a(qR,"destroy");var Fn={margin:"#f6b26b",border:"#ffe599",padding:"#93c47d",content:"#6fa8dc",text:"#232020"},mr=6;function Ud(e,{x:t,y:r,w:n,h:o,r:i}){t=t-n/2,r=r-o/2,n<2*i&&(i=n/2),o<2*i&&(i=o/2),e.beginPath(),e.moveTo(t+i,r),e.arcTo(t+n,r,t+n,r+o,i),e.arcTo(t+n,r+o,t,r+o,i),e.arcTo(t,r+o,t,r,i),e.arcTo(t,r,t+n,r,i),e.closePath()}a(Ud,"roundedRect");function IR(e,{padding:t,border:r,width:n,height:o,top:i,left:s}){let l=n-r.left-r.right-t.left-t.right,c=o-t.top-t.bottom-r.top-r.bottom,u=s+r.left+t.left,d=i+r.top+t.top;return e==="top"?u+=l/2:e==="right"?(u+=l,d+=c/2):e==="bottom"?(u+=l/2,d+=c):e==="left"?d+=c/2:e==="center"&&(u+=l/2,d+=c/2),{x:u,y:d}}a(IR,"positionCoordinate");function NR(e,t,{margin:r,border:n,padding:o},i,s){let l=a(h=>0,"shift"),c=0,u=0,d=s?1:.5,p=s?i*2:0;return e==="padding"?l=a(h=>o[h]*d+p,"shift"):e==="border"?l=a(h=>o[h]+n[h]*d+p,"shift"):e==="margin"&&(l=a(h=>o[h]+n[h]+r[h]*d+p,"shift")),t==="top"?u=-l("top"):t==="right"?c=l("right"):t==="bottom"?u=l("bottom"):t==="left"&&(c=-l("left")),{offsetX:c,offsetY:u}}a(NR,"offset");function jR(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}a(jR,"collide");function kR(e,t,r){return e==="top"?t.y=r.y-r.h-mr:e==="right"?t.x=r.x+r.w/2+mr+t.w/2:e==="bottom"?t.y=r.y+r.h+mr:e==="left"&&(t.x=r.x-r.w/2-mr-t.w/2),{x:t.x,y:t.y}}a(kR,"overlapAdjustment");function ny(e,t,{x:r,y:n,w:o,h:i},s){return Ud(e,{x:r,y:n,w:o,h:i,r:3}),e.fillStyle=`${Fn[t]}dd`,e.fill(),e.strokeStyle=Fn[t],e.stroke(),e.fillStyle=Fn.text,e.fillText(s,r,n),Ud(e,{x:r,y:n,w:o,h:i,r:3}),e.fillStyle=`${Fn[t]}dd`,e.fill(),e.strokeStyle=Fn[t],e.stroke(),e.fillStyle=Fn.text,e.fillText(s,r,n),{x:r,y:n,w:o,h:i}}a(ny,"textWithRect");function oy(e,t){e.font="600 12px monospace",e.textBaseline="middle",e.textAlign="center";let r=e.measureText(t),n=r.actualBoundingBoxAscent+r.actualBoundingBoxDescent,o=r.width+mr*2,i=n+mr*2;return{w:o,h:i}}a(oy,"configureText");function MR(e,t,{type:r,position:n="center",text:o},i,s=!1){let{x:l,y:c}=IR(n,t),{offsetX:u,offsetY:d}=NR(r,n,t,mr+1,s);l+=u,c+=d;let{w:p,h}=oy(e,o);if(i&&jR({x:l,y:c,w:p,h},i)){let f=kR(n,{x:l,y:c,w:p},i);l=f.x,c=f.y}return ny(e,r,{x:l,y:c,w:p,h},o)}a(MR,"drawLabel");function $R(e,{w:t,h:r}){let n=t*.5+mr,o=r*.5+mr;return{offsetX:(e.x==="left"?-1:1)*n,offsetY:(e.y==="top"?-1:1)*o}}a($R,"floatingOffset");function LR(e,t,{type:r,text:n}){let{floatingAlignment:o,extremities:i}=t,s=i[o.x],l=i[o.y],{w:c,h:u}=oy(e,n),{offsetX:d,offsetY:p}=$R(o,{w:c,h:u});return s+=d,l+=p,ny(e,r,{x:s,y:l,w:c,h:u},n)}a(LR,"drawFloatingLabel");function Hn(e,t,r,n){let o=[];r.forEach((i,s)=>{let l=n&&i.position==="center"?LR(e,t,i):MR(e,t,i,o[s-1],n);o[s]=l})}a(Hn,"drawStack");function DR(e,t,r,n){let o=r.reduce((i,s)=>(Object.prototype.hasOwnProperty.call(i,s.position)||(i[s.position]=[]),i[s.position]?.push(s),i),{});o.top&&Hn(e,t,o.top,n),o.right&&Hn(e,t,o.right,n),o.bottom&&Hn(e,t,o.bottom,n),o.left&&Hn(e,t,o.left,n),o.center&&Hn(e,t,o.center,n)}a(DR,"labelStacks");var vu={margin:"#f6b26ba8",border:"#ffe599a8",padding:"#93c47d8c",content:"#6fa8dca8"},hg=30;function bt(e){return parseInt(e.replace("px",""),10)}a(bt,"pxToNumber");function sn(e){return Number.isInteger(e)?e:e.toFixed(2)}a(sn,"round");function wu(e){return e.filter(t=>t.text!==0&&t.text!=="0")}a(wu,"filterZeroValues");function FR(e){let t={top:te.window.scrollY,bottom:te.window.scrollY+te.window.innerHeight,left:te.window.scrollX,right:te.window.scrollX+te.window.innerWidth},r={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:r.left>r.right?"left":"right",y:r.top>r.bottom?"top":"bottom"}}a(FR,"floatingAlignment");function BR(e){let t=te.getComputedStyle(e),{top:r,left:n,right:o,bottom:i,width:s,height:l}=e.getBoundingClientRect(),{marginTop:c,marginBottom:u,marginLeft:d,marginRight:p,paddingTop:h,paddingBottom:f,paddingLeft:m,paddingRight:b,borderBottomWidth:g,borderTopWidth:v,borderLeftWidth:w,borderRightWidth:P}=t;r=r+te.window.scrollY,n=n+te.window.scrollX,i=i+te.window.scrollY,o=o+te.window.scrollX;let A={top:bt(c),bottom:bt(u),left:bt(d),right:bt(p)},R={top:bt(h),bottom:bt(f),left:bt(m),right:bt(b)},T={top:bt(v),bottom:bt(g),left:bt(w),right:bt(P)},E={top:r-A.top,bottom:i+A.bottom,left:n-A.left,right:o+A.right};return{margin:A,padding:R,border:T,top:r,left:n,bottom:i,right:o,width:s,height:l,extremities:E,floatingAlignment:FR(E)}}a(BR,"measureElement");function UR(e,{margin:t,width:r,height:n,top:o,left:i,bottom:s,right:l}){let c=n+t.bottom+t.top;e.fillStyle=vu.margin,e.fillRect(i,o-t.top,r,t.top),e.fillRect(l,o-t.top,t.right,c),e.fillRect(i,s,r,t.bottom),e.fillRect(i-t.left,o-t.top,t.left,c);let u=[{type:"margin",text:sn(t.top),position:"top"},{type:"margin",text:sn(t.right),position:"right"},{type:"margin",text:sn(t.bottom),position:"bottom"},{type:"margin",text:sn(t.left),position:"left"}];return wu(u)}a(UR,"drawMargin");function HR(e,{padding:t,border:r,width:n,height:o,top:i,left:s,bottom:l,right:c}){let u=n-r.left-r.right,d=o-t.top-t.bottom-r.top-r.bottom;e.fillStyle=vu.padding,e.fillRect(s+r.left,i+r.top,u,t.top),e.fillRect(c-t.right-r.right,i+t.top+r.top,t.right,d),e.fillRect(s+r.left,l-t.bottom-r.bottom,u,t.bottom),e.fillRect(s+r.left,i+t.top+r.top,t.left,d);let p=[{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"}];return wu(p)}a(HR,"drawPadding");function VR(e,{border:t,width:r,height:n,top:o,left:i,bottom:s,right:l}){let c=n-t.top-t.bottom;e.fillStyle=vu.border,e.fillRect(i,o,r,t.top),e.fillRect(i,s-t.bottom,r,t.bottom),e.fillRect(i,o+t.top,t.left,c),e.fillRect(l-t.right,o+t.top,t.right,c);let u=[{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"}];return wu(u)}a(VR,"drawBorder");function JR(e,{padding:t,border:r,width:n,height:o,top:i,left:s}){let l=n-r.left-r.right-t.left-t.right,c=o-t.top-t.bottom-r.top-r.bottom;return e.fillStyle=vu.content,e.fillRect(s+r.left+t.left,i+r.top+t.top,l,c),[{type:"content",position:"center",text:`${sn(l)} x ${sn(c)}`}]}a(JR,"drawContent");function zR(e){return t=>{if(e&&t){let r=BR(e),n=UR(t,r),o=HR(t,r),i=VR(t,r),s=JR(t,r),l=r.width<=hg*3||r.height<=hg;DR(t,r,[...s,...o,...i,...n],l)}}}a(zR,"drawBoxModel");function WR(e){AR(zR(e))}a(WR,"drawSelectedElement");var DJ=a((e,t)=>{let r=te.document.elementFromPoint(e,t),n=a(o=>{if(o&&o.shadowRoot){let i=o.shadowRoot.elementFromPoint(e,t);return o.isEqualNode(i)?o:i.shadowRoot?n(i):i}return o},"crawlShadows");return n(r)||r},"deepElementFromPoint"),mg,_i={x:0,y:0};function Hd(e,t){mg=DJ(e,t),WR(mg)}a(Hd,"findAndDrawElement");var FJ=a((e,t)=>{let{measureEnabled:r}=t.globals||{};return Fr(()=>{if(typeof globalThis.document>"u")return;let n=a(o=>{window.requestAnimationFrame(()=>{o.stopPropagation(),_i.x=o.clientX,_i.y=o.clientY})},"onPointerMove");return globalThis.document.addEventListener("pointermove",n),()=>{globalThis.document.removeEventListener("pointermove",n)}},[]),Fr(()=>{let n=a(i=>{window.requestAnimationFrame(()=>{i.stopPropagation(),Hd(i.clientX,i.clientY)})},"onPointerOver"),o=a(()=>{window.requestAnimationFrame(()=>{RR()})},"onResize");return t.viewMode==="story"&&r&&(globalThis.document.addEventListener("pointerover",n),_R(),globalThis.window.addEventListener("resize",o),Hd(_i.x,_i.y)),()=>{globalThis.window.removeEventListener("resize",o),qR()}},[r,t.viewMode]),e()},"withMeasure"),BJ=globalThis.FEATURES?.measure?[FJ]:[],UJ={[LJ]:!1},yg=a(()=>({decorators:BJ,initialGlobals:UJ}),"default"),GR="outline",bg=a(e=>{(Array.isArray(e)?e:[e]).forEach(HJ)},"clearStyles"),HJ=a(e=>{let t=typeof e=="string"?e:e.join(""),r=te.document.getElementById(t);r&&r.parentElement&&r.parentElement.removeChild(r)},"clearStyle"),VJ=a((e,t)=>{let r=te.document.getElementById(e);if(r)r.innerHTML!==t&&(r.innerHTML=t);else{let n=te.document.createElement("style");n.setAttribute("id",e),n.innerHTML=t,te.document.head.appendChild(n)}},"addOutlineStyles");function KR(e){return ge`
475
- ${e} body {
476
- outline: 1px solid #2980b9 !important;
477
- }
478
-
479
- ${e} article {
480
- outline: 1px solid #3498db !important;
481
- }
482
-
483
- ${e} nav {
484
- outline: 1px solid #0088c3 !important;
485
- }
486
-
487
- ${e} aside {
488
- outline: 1px solid #33a0ce !important;
489
- }
490
-
491
- ${e} section {
492
- outline: 1px solid #66b8da !important;
493
- }
494
-
495
- ${e} header {
496
- outline: 1px solid #99cfe7 !important;
497
- }
498
-
499
- ${e} footer {
500
- outline: 1px solid #cce7f3 !important;
501
- }
502
-
503
- ${e} h1 {
504
- outline: 1px solid #162544 !important;
505
- }
506
-
507
- ${e} h2 {
508
- outline: 1px solid #314e6e !important;
509
- }
510
-
511
- ${e} h3 {
512
- outline: 1px solid #3e5e85 !important;
513
- }
514
-
515
- ${e} h4 {
516
- outline: 1px solid #449baf !important;
517
- }
518
-
519
- ${e} h5 {
520
- outline: 1px solid #c7d1cb !important;
521
- }
522
-
523
- ${e} h6 {
524
- outline: 1px solid #4371d0 !important;
525
- }
526
-
527
- ${e} main {
528
- outline: 1px solid #2f4f90 !important;
529
- }
530
-
531
- ${e} address {
532
- outline: 1px solid #1a2c51 !important;
533
- }
534
-
535
- ${e} div {
536
- outline: 1px solid #036cdb !important;
537
- }
538
-
539
- ${e} p {
540
- outline: 1px solid #ac050b !important;
541
- }
542
-
543
- ${e} hr {
544
- outline: 1px solid #ff063f !important;
545
- }
546
-
547
- ${e} pre {
548
- outline: 1px solid #850440 !important;
549
- }
550
-
551
- ${e} blockquote {
552
- outline: 1px solid #f1b8e7 !important;
553
- }
554
-
555
- ${e} ol {
556
- outline: 1px solid #ff050c !important;
557
- }
558
-
559
- ${e} ul {
560
- outline: 1px solid #d90416 !important;
561
- }
562
-
563
- ${e} li {
564
- outline: 1px solid #d90416 !important;
565
- }
566
-
567
- ${e} dl {
568
- outline: 1px solid #fd3427 !important;
569
- }
570
-
571
- ${e} dt {
572
- outline: 1px solid #ff0043 !important;
573
- }
574
-
575
- ${e} dd {
576
- outline: 1px solid #e80174 !important;
577
- }
578
-
579
- ${e} figure {
580
- outline: 1px solid #ff00bb !important;
581
- }
582
-
583
- ${e} figcaption {
584
- outline: 1px solid #bf0032 !important;
585
- }
586
-
587
- ${e} table {
588
- outline: 1px solid #00cc99 !important;
589
- }
590
-
591
- ${e} caption {
592
- outline: 1px solid #37ffc4 !important;
593
- }
594
-
595
- ${e} thead {
596
- outline: 1px solid #98daca !important;
597
- }
598
-
599
- ${e} tbody {
600
- outline: 1px solid #64a7a0 !important;
601
- }
602
-
603
- ${e} tfoot {
604
- outline: 1px solid #22746b !important;
605
- }
606
-
607
- ${e} tr {
608
- outline: 1px solid #86c0b2 !important;
609
- }
610
-
611
- ${e} th {
612
- outline: 1px solid #a1e7d6 !important;
613
- }
614
-
615
- ${e} td {
616
- outline: 1px solid #3f5a54 !important;
617
- }
618
-
619
- ${e} col {
620
- outline: 1px solid #6c9a8f !important;
621
- }
622
-
623
- ${e} colgroup {
624
- outline: 1px solid #6c9a9d !important;
625
- }
626
-
627
- ${e} button {
628
- outline: 1px solid #da8301 !important;
629
- }
630
-
631
- ${e} datalist {
632
- outline: 1px solid #c06000 !important;
633
- }
634
-
635
- ${e} fieldset {
636
- outline: 1px solid #d95100 !important;
637
- }
638
-
639
- ${e} form {
640
- outline: 1px solid #d23600 !important;
641
- }
642
-
643
- ${e} input {
644
- outline: 1px solid #fca600 !important;
645
- }
646
-
647
- ${e} keygen {
648
- outline: 1px solid #b31e00 !important;
649
- }
650
-
651
- ${e} label {
652
- outline: 1px solid #ee8900 !important;
653
- }
654
-
655
- ${e} legend {
656
- outline: 1px solid #de6d00 !important;
657
- }
658
-
659
- ${e} meter {
660
- outline: 1px solid #e8630c !important;
661
- }
662
-
663
- ${e} optgroup {
664
- outline: 1px solid #b33600 !important;
665
- }
666
-
667
- ${e} option {
668
- outline: 1px solid #ff8a00 !important;
669
- }
670
-
671
- ${e} output {
672
- outline: 1px solid #ff9619 !important;
673
- }
674
-
675
- ${e} progress {
676
- outline: 1px solid #e57c00 !important;
677
- }
678
-
679
- ${e} select {
680
- outline: 1px solid #e26e0f !important;
681
- }
682
-
683
- ${e} textarea {
684
- outline: 1px solid #cc5400 !important;
685
- }
686
-
687
- ${e} details {
688
- outline: 1px solid #33848f !important;
689
- }
690
-
691
- ${e} summary {
692
- outline: 1px solid #60a1a6 !important;
693
- }
694
-
695
- ${e} command {
696
- outline: 1px solid #438da1 !important;
697
- }
698
-
699
- ${e} menu {
700
- outline: 1px solid #449da6 !important;
701
- }
702
-
703
- ${e} del {
704
- outline: 1px solid #bf0000 !important;
705
- }
706
-
707
- ${e} ins {
708
- outline: 1px solid #400000 !important;
709
- }
710
-
711
- ${e} img {
712
- outline: 1px solid #22746b !important;
713
- }
714
-
715
- ${e} iframe {
716
- outline: 1px solid #64a7a0 !important;
717
- }
718
-
719
- ${e} embed {
720
- outline: 1px solid #98daca !important;
721
- }
722
-
723
- ${e} object {
724
- outline: 1px solid #00cc99 !important;
725
- }
726
-
727
- ${e} param {
728
- outline: 1px solid #37ffc4 !important;
729
- }
730
-
731
- ${e} video {
732
- outline: 1px solid #6ee866 !important;
733
- }
734
-
735
- ${e} audio {
736
- outline: 1px solid #027353 !important;
737
- }
738
-
739
- ${e} source {
740
- outline: 1px solid #012426 !important;
741
- }
742
-
743
- ${e} canvas {
744
- outline: 1px solid #a2f570 !important;
745
- }
746
-
747
- ${e} track {
748
- outline: 1px solid #59a600 !important;
749
- }
750
-
751
- ${e} map {
752
- outline: 1px solid #7be500 !important;
753
- }
754
-
755
- ${e} area {
756
- outline: 1px solid #305900 !important;
757
- }
758
-
759
- ${e} a {
760
- outline: 1px solid #ff62ab !important;
761
- }
762
-
763
- ${e} em {
764
- outline: 1px solid #800b41 !important;
765
- }
766
-
767
- ${e} strong {
768
- outline: 1px solid #ff1583 !important;
769
- }
770
-
771
- ${e} i {
772
- outline: 1px solid #803156 !important;
773
- }
774
-
775
- ${e} b {
776
- outline: 1px solid #cc1169 !important;
777
- }
778
-
779
- ${e} u {
780
- outline: 1px solid #ff0430 !important;
781
- }
782
-
783
- ${e} s {
784
- outline: 1px solid #f805e3 !important;
785
- }
786
-
787
- ${e} small {
788
- outline: 1px solid #d107b2 !important;
789
- }
790
-
791
- ${e} abbr {
792
- outline: 1px solid #4a0263 !important;
793
- }
794
-
795
- ${e} q {
796
- outline: 1px solid #240018 !important;
797
- }
798
-
799
- ${e} cite {
800
- outline: 1px solid #64003c !important;
801
- }
802
-
803
- ${e} dfn {
804
- outline: 1px solid #b4005a !important;
805
- }
806
-
807
- ${e} sub {
808
- outline: 1px solid #dba0c8 !important;
809
- }
810
-
811
- ${e} sup {
812
- outline: 1px solid #cc0256 !important;
813
- }
814
-
815
- ${e} time {
816
- outline: 1px solid #d6606d !important;
817
- }
818
-
819
- ${e} code {
820
- outline: 1px solid #e04251 !important;
821
- }
822
-
823
- ${e} kbd {
824
- outline: 1px solid #5e001f !important;
825
- }
826
-
827
- ${e} samp {
828
- outline: 1px solid #9c0033 !important;
829
- }
830
-
831
- ${e} var {
832
- outline: 1px solid #d90047 !important;
833
- }
834
-
835
- ${e} mark {
836
- outline: 1px solid #ff0053 !important;
837
- }
838
-
839
- ${e} bdi {
840
- outline: 1px solid #bf3668 !important;
841
- }
842
-
843
- ${e} bdo {
844
- outline: 1px solid #6f1400 !important;
845
- }
846
-
847
- ${e} ruby {
848
- outline: 1px solid #ff7b93 !important;
849
- }
850
-
851
- ${e} rt {
852
- outline: 1px solid #ff2f54 !important;
853
- }
854
-
855
- ${e} rp {
856
- outline: 1px solid #803e49 !important;
857
- }
858
-
859
- ${e} span {
860
- outline: 1px solid #cc2643 !important;
861
- }
862
-
863
- ${e} br {
864
- outline: 1px solid #db687d !important;
865
- }
866
-
867
- ${e} wbr {
868
- outline: 1px solid #db175b !important;
869
- }`}a(KR,"outlineCSS");var JJ=a((e,t)=>{let r=t.globals||{},n=[!0,"true"].includes(r[GR]),o=t.viewMode==="docs",i=Bp(()=>KR(o?'[data-story-block="true"]':".sb-show-main"),[t]);return Fr(()=>{let s=o?`addon-outline-docs-${t.id}`:"addon-outline";return n?VJ(s,i):bg(s),()=>{bg(s)}},[n,i,t]),e()},"withOutline"),zJ=globalThis.FEATURES?.outline?[JJ]:[],WJ={[GR]:!1},gg=a(()=>({decorators:zJ,initialGlobals:WJ}),"default"),GJ=a(({parameters:e})=>{e?.test?.mockReset===!0?tm():e?.test?.clearMocks===!0?em():e?.test?.restoreMocks!==!1&&rm()},"resetAllMocksLoader"),Vd=a((e,t=0,r)=>{if(t>5||e==null)return e;if(dn(e))return r&&e.mockName(r),e;if(typeof e=="function"&&"isAction"in e&&e.isAction&&!("implicit"in e&&e.implicit)){let n=Qh(e);return r&&n.mockName(r),n}if(Array.isArray(e)){t++;for(let n=0;n<e.length;n++)Object.getOwnPropertyDescriptor(e,n)?.writable&&(e[n]=Vd(e[n],t));return e}if(typeof e=="object"&&e.constructor===Object){t++;for(let[n,o]of Object.entries(e))Object.getOwnPropertyDescriptor(e,n)?.writable&&(e[n]=Vd(o,t,n));return e}return e},"traverseArgs"),KJ=a(({initialArgs:e})=>{Vd(e)},"nameSpiesAndWrapActionsInSpies"),vg=!1,YJ=a(async e=>{globalThis.HTMLElement&&e.canvasElement instanceof globalThis.HTMLElement&&(e.canvas=CR(e.canvasElement));let t=globalThis.window?.navigator?.clipboard;if(t){e.userEvent=Ro({userEvent:PR.setup()},{intercept:!0,getKeys:a(n=>Object.keys(n).filter(o=>o!=="eventWrapper"),"getKeys")}).userEvent,Object.defineProperty(globalThis.window.navigator,"clipboard",{get:a(()=>t,"get"),configurable:!0});let r=HTMLElement.prototype.focus;vg||Object.defineProperties(HTMLElement.prototype,{focus:{configurable:!0,set:a(n=>{r=n,vg=!0},"set"),get:a(()=>r,"get")}})}},"enhanceContext"),wg=a(()=>({loaders:[GJ,KJ,YJ]}),"default"),XJ="viewport",QJ={[XJ]:{value:void 0,isRotated:!1}},Eg=a(()=>({initialGlobals:QJ}),"default");function ay(){return[(yg.default??yg)(),(og.default??og)(),(fg.default??fg)(),(gg.default??gg)(),(Eg.default??Eg)(),(eg.default??eg)(),(ag.default??ag)(),(wg.default??wg)()]}a(ay,"getCoreAnnotations");function Eu(e){return e!=null&&typeof e=="object"&&"_tag"in e&&e?._tag==="Story"}a(Eu,"isStory");var YR=a(e=>e.toLowerCase().replace(/[ ’–—―′¿'`~!@#$%^&*()_|+\-=?;:'",.<>\{\}\[\]\\\/]/gi,"-").replace(/-+/g,"-").replace(/^-+/,"").replace(/-+$/,""),"sanitize"),xg=a((e,t)=>{let r=YR(e);if(r==="")throw new Error(`Invalid ${t} '${e}', must include alphanumeric characters`);return r},"sanitizeSafe"),ZJ=a((e,t)=>`${xg(e,"kind")}${t?`--${xg(t,"name")}`:""}`,"toId"),ez=a(e=>s0(e),"storyNameFromExport");function Jd(e,t){return Array.isArray(t)?t.includes(e):e.match(t)}a(Jd,"matches");function $s(e,{includeStories:t,excludeStories:r}){return e!=="__esModule"&&(!t||Jd(e,t))&&(!r||!Jd(e,r))}a($s,"isExportStory");var tz=a((...e)=>{let t=e.reduce((r,n)=>(n.startsWith("!")?r.delete(n.slice(1)):r.add(n),r),new Set);return Array.from(t)},"combineTags");function XR(){}a(XR,"noop");function zd(e){return Object.getOwnPropertySymbols(e).filter(t=>Object.prototype.propertyIsEnumerable.call(e,t))}a(zd,"getSymbols");function Wd(e){return e==null?e===void 0?"[object Undefined]":"[object Null]":Object.prototype.toString.call(e)}a(Wd,"getTag");var rz="[object RegExp]",nz="[object String]",oz="[object Number]",az="[object Boolean]",Tg="[object Arguments]",iz="[object Symbol]",sz="[object Date]",lz="[object Map]",uz="[object Set]",cz="[object Array]",dz="[object Function]",pz="[object ArrayBuffer]",zu="[object Object]",fz="[object Error]",hz="[object DataView]",mz="[object Uint8Array]",yz="[object Uint8ClampedArray]",bz="[object Uint16Array]",gz="[object Uint32Array]",vz="[object BigUint64Array]",wz="[object Int8Array]",Ez="[object Int16Array]",xz="[object Int32Array]",Tz="[object BigInt64Array]",Sz="[object Float32Array]",Cz="[object Float64Array]";function Dt(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}a(Dt,"isPlainObject");function To(e,t){let r={},n=Object.keys(e);for(let o=0;o<n.length;o++){let i=n[o],s=e[i];r[i]=t(s,i,e)}return r}a(To,"mapValues");function QR(e,t){let r={},n=Object.keys(e);for(let o=0;o<n.length;o++){let i=n[o],s=e[i];t(s,i)&&(r[i]=s)}return r}a(QR,"pickBy");function ZR(e,t){return e===t||Number.isNaN(e)&&Number.isNaN(t)}a(ZR,"eq");function e1(e,t,r){return Qn(e,t,void 0,void 0,void 0,void 0,r)}a(e1,"isEqualWith");function Qn(e,t,r,n,o,i,s){let l=s(e,t,r,n,o,i);if(l!==void 0)return l;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 oo(e,t,i,s)}return oo(e,t,i,s)}a(Qn,"isEqualWithImpl");function oo(e,t,r,n){if(Object.is(e,t))return!0;let o=Wd(e),i=Wd(t);if(o===Tg&&(o=zu),i===Tg&&(i=zu),o!==i)return!1;switch(o){case nz:return e.toString()===t.toString();case oz:{let c=e.valueOf(),u=t.valueOf();return ZR(c,u)}case az:case sz:case iz:return Object.is(e.valueOf(),t.valueOf());case rz:return e.source===t.source&&e.flags===t.flags;case dz:return e===t}r=r??new Map;let s=r.get(e),l=r.get(t);if(s!=null&&l!=null)return s===t;r.set(e,t),r.set(t,e);try{switch(o){case lz:{if(e.size!==t.size)return!1;for(let[c,u]of e.entries())if(!t.has(c)||!Qn(u,t.get(c),c,e,t,r,n))return!1;return!0}case uz:{if(e.size!==t.size)return!1;let c=Array.from(e.values()),u=Array.from(t.values());for(let d=0;d<c.length;d++){let p=c[d],h=u.findIndex(f=>Qn(p,f,void 0,e,t,r,n));if(h===-1)return!1;u.splice(h,1)}return!0}case cz:case mz:case yz:case bz:case gz:case vz:case wz:case Ez:case xz:case Tz:case Sz:case Cz:{if(typeof Buffer<"u"&&Buffer.isBuffer(e)!==Buffer.isBuffer(t)||e.length!==t.length)return!1;for(let c=0;c<e.length;c++)if(!Qn(e[c],t[c],c,e,t,r,n))return!1;return!0}case pz:return e.byteLength!==t.byteLength?!1:oo(new Uint8Array(e),new Uint8Array(t),r,n);case hz:return e.byteLength!==t.byteLength||e.byteOffset!==t.byteOffset?!1:oo(new Uint8Array(e),new Uint8Array(t),r,n);case fz:return e.name===t.name&&e.message===t.message;case zu:{if(!(oo(e.constructor,t.constructor,r,n)||Dt(e)&&Dt(t)))return!1;let c=[...Object.keys(e),...zd(e)],u=[...Object.keys(t),...zd(t)];if(c.length!==u.length)return!1;for(let d=0;d<c.length;d++){let p=c[d],h=e[p];if(!Object.hasOwn(t,p))return!1;let f=t[p];if(!Qn(h,f,p,e,t,r,n))return!1}return!0}default:return!1}}finally{r.delete(e),r.delete(t)}}a(oo,"areObjectsEqual");function t1(e,t){return e1(e,t,XR)}a(t1,"isEqual");var Wu=He(vv(),1),Vn=Symbol("incompatible"),Gd=a((e,t)=>{let r=t.type;if(e==null||!r||t.mapping)return e;switch(r.name){case"string":return String(e);case"enum":return e;case"number":return Number(e);case"boolean":return String(e)==="true";case"array":return!r.value||!Array.isArray(e)?Vn:e.reduce((n,o,i)=>{let s=Gd(o,{type:r.value});return s!==Vn&&(n[i]=s),n},new Array(e.length));case"object":return typeof e=="string"||typeof e=="number"?e:!r.value||typeof e!="object"?Vn:Object.entries(e).reduce((n,[o,i])=>{let s=Gd(i,{type:r.value[o]});return s===Vn?n:Object.assign(n,{[o]:s})},{});default:return Vn}},"map"),Pz=a((e,t)=>Object.entries(e).reduce((r,[n,o])=>{if(!t[n])return r;let i=Gd(o,t[n]);return i===Vn?r:Object.assign(r,{[n]:i})},{}),"mapArgsToTypes"),Ls=a((e,t)=>Array.isArray(e)&&Array.isArray(t)?t.reduce((r,n,o)=>(r[o]=Ls(e[o],t[o]),r),[...e]).filter(r=>r!==void 0):!Dt(e)||!Dt(t)?t:Object.keys({...e,...t}).reduce((r,n)=>{if(n in t){let o=Ls(e[n],t[n]);o!==void 0&&(r[n]=o)}else r[n]=e[n];return r},{}),"combineArgs"),Oz=a((e,t)=>Object.entries(t).reduce((r,[n,{options:o}])=>{function i(){return n in e&&(r[n]=e[n]),r}if(a(i,"allowArg"),!o)return i();if(!Array.isArray(o))return Be.error(ge`
870
- Invalid argType: '${n}.options' should be an array.
871
-
872
- More info: https://storybook.js.org/docs/api/arg-types?ref=error
873
- `),i();if(o.some(p=>p&&["object","function"].includes(typeof p)))return Be.error(ge`
874
- Invalid argType: '${n}.options' should only contain primitives. Use a 'mapping' for complex values.
875
-
876
- More info: https://storybook.js.org/docs/writing-stories/args?ref=error#mapping-to-complex-arg-values
877
- `),i();let s=Array.isArray(e[n]),l=s&&e[n].findIndex(p=>!o.includes(p)),c=s&&l===-1;if(e[n]===void 0||o.includes(e[n])||c)return i();let u=s?`${n}[${l}]`:n,d=o.map(p=>typeof p=="string"?`'${p}'`:String(p)).join(", ");return Be.warn(`Received illegal value for '${u}'. Supported options: ${d}`),r},{}),"validateOptions"),Ca=Symbol("Deeply equal"),Ds=a((e,t)=>{if(typeof e!=typeof t)return t;if(t1(e,t))return Ca;if(Array.isArray(e)&&Array.isArray(t)){let r=t.reduce((n,o,i)=>{let s=Ds(e[i],o);return s!==Ca&&(n[i]=s),n},new Array(t.length));return t.length>=e.length?r:r.concat(new Array(e.length-t.length).fill(void 0))}return Dt(e)&&Dt(t)?Object.keys({...e,...t}).reduce((r,n)=>{let o=Ds(e?.[n],t?.[n]);return o===Ca?r:Object.assign(r,{[n]:o})},{}):t},"deepDiff"),r1="UNTARGETED";function n1({args:e,argTypes:t}){let r={};return Object.entries(e).forEach(([n,o])=>{let{target:i=r1}=t[n]||{};r[i]=r[i]||{},r[i][n]=o}),r}a(n1,"groupArgsByTarget");function o1(e){return Object.keys(e).forEach(t=>e[t]===void 0&&delete e[t]),e}a(o1,"deleteUndefined");var a1=class{constructor(){this.initialArgsByStoryId={},this.argsByStoryId={}}get(t){if(!(t in this.argsByStoryId))throw new Error(`No args known for ${t} -- has it been rendered yet?`);return this.argsByStoryId[t]}setInitial(t){if(!this.initialArgsByStoryId[t.id])this.initialArgsByStoryId[t.id]=t.initialArgs,this.argsByStoryId[t.id]=t.initialArgs;else if(this.initialArgsByStoryId[t.id]!==t.initialArgs){let r=Ds(this.initialArgsByStoryId[t.id],this.argsByStoryId[t.id]);this.initialArgsByStoryId[t.id]=t.initialArgs,this.argsByStoryId[t.id]=t.initialArgs,r!==Ca&&this.updateFromDelta(t,r)}}updateFromDelta(t,r){let n=Oz(r,t.argTypes);this.argsByStoryId[t.id]=Ls(this.argsByStoryId[t.id],n)}updateFromPersisted(t,r){let n=Pz(r,t.argTypes);return this.updateFromDelta(t,n)}update(t,r){if(!(t in this.argsByStoryId))throw new Error(`No args known for ${t} -- has it been rendered yet?`);this.argsByStoryId[t]=o1({...this.argsByStoryId[t],...r})}};a(a1,"ArgsStore");var _z=a1,i1=a((e={})=>Object.entries(e).reduce((t,[r,{defaultValue:n}])=>(typeof n<"u"&&(t[r]=n),t),{}),"getValuesFromArgTypes"),s1=class{constructor({globals:t={},globalTypes:r={}}){this.set({globals:t,globalTypes:r})}set({globals:t={},globalTypes:r={}}){let n=this.initialGlobals&&Ds(this.initialGlobals,this.globals);this.allowedGlobalNames=new Set([...Object.keys(t),...Object.keys(r)]);let o=i1(r);this.initialGlobals={...o,...t},this.globals=this.initialGlobals,n&&n!==Ca&&this.updateFromPersisted(n)}filterAllowedGlobals(t){return Object.entries(t).reduce((r,[n,o])=>(this.allowedGlobalNames.has(n)?r[n]=o:Ie.warn(`Attempted to set a global (${n}) that is not defined in initial globals or globalTypes`),r),{})}updateFromPersisted(t){let r=this.filterAllowedGlobals(t);this.globals={...this.globals,...r}}get(){return this.globals}update(t){this.globals={...this.globals,...this.filterAllowedGlobals(t)};for(let r in t)t[r]===void 0&&(this.globals[r]=this.initialGlobals[r])}};a(s1,"GlobalsStore");var Az=s1,Rz=He(vv(),1),qz=(0,Rz.default)(1)(e=>Object.values(e).reduce((t,r)=>(t[r.importPath]=t[r.importPath]||r,t),{})),l1=class{constructor({entries:t}={v:5,entries:{}}){this.entries=t}entryFromSpecifier(t){let r=Object.values(this.entries);if(t==="*")return r[0];if(typeof t=="string")return this.entries[t]?this.entries[t]:r.find(i=>i.id.startsWith(t));let{name:n,title:o}=t;return r.find(i=>i.name===n&&i.title===o)}storyIdToEntry(t){let r=this.entries[t];if(!r)throw new fE({storyId:t});return r}importPathToEntry(t){return qz(this.entries)[t]}};a(l1,"StoryIndexStore");var Iz=l1,Nz=a(e=>typeof e=="string"?{name:e}:e,"normalizeType"),jz=a(e=>typeof e=="string"?{type:e}:e,"normalizeControl"),kz=a((e,t)=>{let{type:r,control:n,...o}=e,i={name:t,...o};return r&&(i.type=Nz(r)),n?i.control=jz(n):n===!1&&(i.control={disable:!0}),i},"normalizeInputType"),Fs=a(e=>To(e,kz),"normalizeInputTypes"),_e=a(e=>Array.isArray(e)?e:e?[e]:[],"normalizeArrays"),Mz=ge`
878
- CSF .story annotations deprecated; annotate story functions directly:
879
- - StoryFn.story.name => StoryFn.storyName
880
- - StoryFn.story.(parameters|decorators) => StoryFn.(parameters|decorators)
881
- See https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#hoisted-csf-annotations for details and codemod.
882
- `;function Wa(e,t,r){let n=t,o=typeof t=="function"?t:null,{story:i}=n;i&&(Ie.debug("deprecated story",i),Tp(Mz));let s=ez(e),l=typeof n!="function"&&n.name||n.storyName||i?.name||s,c=[..._e(n.decorators),..._e(i?.decorators)],u={...i?.parameters,...n.parameters},d={...i?.args,...n.args},p={...i?.argTypes,...n.argTypes},h=[..._e(n.loaders),..._e(i?.loaders)],f=[..._e(n.beforeEach),..._e(i?.beforeEach)],m=[..._e(n.afterEach),..._e(i?.afterEach)],{render:b,play:g,tags:v=[],globals:w={}}=n,P=u.__id||ZJ(r.id,s);return{moduleExport:t,id:P,name:l,tags:v,decorators:c,parameters:u,args:d,argTypes:Fs(p),loaders:h,beforeEach:f,afterEach:m,globals:w,...b&&{render:b},...o&&{userStoryFn:o},...g&&{play:g}}}a(Wa,"normalizeStory");function Bs(e,t=e.title,r){let{id:n,argTypes:o}=e;return{id:YR(n||t),...e,title:t,...o&&{argTypes:Fs(o)},parameters:{fileName:r,...e.parameters}}}a(Bs,"normalizeComponentAnnotations");var $z=a(e=>{let{globals:t,globalTypes:r}=e;(t||r)&&Ie.error("Global args/argTypes can only be set globally",JSON.stringify({globals:t,globalTypes:r}))},"checkGlobals"),Lz=a(e=>{let{options:t}=e;t?.storySort&&Ie.error("The storySort option parameter can only be set globally")},"checkStorySort"),Ai=a(e=>{e&&($z(e),Lz(e))},"checkDisallowedParameters");function u1(e,t,r){let{default:n,__namedExportsOrder:o,...i}=e,s=Object.values(i)[0];if(Eu(s)){let u=Bs(s.meta.input,r,t);Ai(u.parameters);let d={meta:u,stories:{},moduleExports:e};return Object.keys(i).forEach(p=>{if($s(p,u)){let h=Wa(p,i[p].input,u);Ai(h.parameters),d.stories[h.id]=h}}),d.projectAnnotations=s.meta.preview.composed,d}let l=Bs(n,r,t);Ai(l.parameters);let c={meta:l,stories:{},moduleExports:e};return Object.keys(i).forEach(u=>{if($s(u,l)){let d=Wa(u,i[u],l);Ai(d.parameters),c.stories[d.id]=d}}),c}a(u1,"processCSFFile");function c1(e){return e!=null&&d1(e).includes("mount")}a(c1,"mountDestructured");function d1(e){let t=e.toString().match(/[^(]*\(([^)]*)/);if(!t)return[];let r=Kd(t[1]);if(!r.length)return[];let n=r[0];return n.startsWith("{")&&n.endsWith("}")?Kd(n.slice(1,-1).replace(/\s/g,"")).map(o=>o.replace(/:.*|=.*/g,"")):[]}a(d1,"getUsedProps");function Kd(e){let t=[],r=[],n=0;for(let i=0;i<e.length;i++)if(e[i]==="{"||e[i]==="[")r.push(e[i]==="{"?"}":"]");else if(e[i]===r[r.length-1])r.pop();else if(!r.length&&e[i]===","){let s=e.substring(n,i).trim();s&&t.push(s),n=i+1}let o=e.substring(n).trim();return o&&t.push(o),t}a(Kd,"splitByComma");function iy(e,t,r){let n=r(e);return o=>t(n,o)}a(iy,"decorateStory");function sy({componentId:e,title:t,kind:r,id:n,name:o,story:i,parameters:s,initialArgs:l,argTypes:c,...u}={}){return u}a(sy,"sanitizeStoryContextUpdate");function ly(e,t){let r={},n=a(i=>s=>{if(!r.value)throw new Error("Decorated function called without init");return r.value={...r.value,...sy(s)},i(r.value)},"bindWithContext"),o=t.reduce((i,s)=>iy(i,s,n),e);return i=>(r.value=i,o(i))}a(ly,"defaultDecorateStory");var Sn=a((...e)=>{let t={},r=e.filter(Boolean),n=r.reduce((o,i)=>(Object.entries(i).forEach(([s,l])=>{let c=o[s];Array.isArray(l)||typeof c>"u"?o[s]=l:Dt(l)&&Dt(c)?t[s]=!0:typeof l<"u"&&(o[s]=l)}),o),{});return Object.keys(t).forEach(o=>{let i=r.filter(Boolean).map(s=>s[o]).filter(s=>typeof s<"u");i.every(s=>Dt(s))?n[o]=Sn(...i):n[o]=i[i.length-1]}),n},"combineParameters");function xu(e,t,r){let{moduleExport:n,id:o,name:i}=e||{},s=cy(e,t,r),l=a(async T=>{let E={};for(let x of[_e(r.loaders),_e(t.loaders),_e(e.loaders)]){if(T.abortSignal.aborted)return E;let C=await Promise.all(x.map(k=>k(T)));Object.assign(E,...C)}return E},"applyLoaders"),c=a(async T=>{let E=new Array;for(let x of[..._e(r.beforeEach),..._e(t.beforeEach),..._e(e.beforeEach)]){if(T.abortSignal.aborted)return E;let C=await x(T);C&&E.push(C)}return E},"applyBeforeEach"),u=a(async T=>{let E=[..._e(r.afterEach),..._e(t.afterEach),..._e(e.afterEach)].reverse();for(let x of E){if(T.abortSignal.aborted)return;await x(T)}},"applyAfterEach"),d=a(T=>T.originalStoryFn(T.args,T),"undecoratedStoryFn"),{applyDecorators:p=ly,runStep:h}=r,f=[..._e(e?.decorators),..._e(t?.decorators),..._e(r?.decorators)],m=e?.userStoryFn||e?.render||t.render||r.render,b=XE(p)(d,f),g=a(T=>b(T),"unboundStoryFn"),v=e?.play??t?.play,w=c1(v);if(!m&&!w)throw new kE({id:o});let P=a(T=>async()=>(await T.renderToCanvas(),T.canvas),"defaultMount"),A=e.mount??t.mount??r.mount??P,R=r.testingLibraryRender;return{storyGlobals:{},...s,moduleExport:n,id:o,name:i,story:i,originalStoryFn:m,undecoratedStoryFn:d,unboundStoryFn:g,applyLoaders:l,applyBeforeEach:c,applyAfterEach:u,playFunction:v,runStep:h,mount:A,testingLibraryRender:R,renderToCanvas:r.renderToCanvas,usesMount:w}}a(xu,"prepareStory");function uy(e,t,r){return{...cy(void 0,e,t),moduleExport:r}}a(uy,"prepareMeta");function cy(e,t,r){let n=["dev","test"],o=te.DOCS_OPTIONS?.autodocs===!0?["autodocs"]:[],i=tz(...n,...o,...r.tags??[],...t.tags??[],...e?.tags??[]),s=Sn(r.parameters,t.parameters,e?.parameters),{argTypesEnhancers:l=[],argsEnhancers:c=[]}=r,u=Sn(r.argTypes,t.argTypes,e?.argTypes);if(e){let v=e?.userStoryFn||e?.render||t.render||r.render;s.__isArgsStory=v&&v.length>0}let d={...r.args,...t.args,...e?.args},p={...t.globals,...e?.globals},h={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:i,parameters:s,initialArgs:d,argTypes:u,storyGlobals:p};h.argTypes=l.reduce((v,w)=>w({...h,argTypes:v}),h.argTypes);let f={...d};h.initialArgs=[...c].reduce((v,w)=>({...v,...w({...h,initialArgs:v})}),f);let{name:m,story:b,...g}=h;return g}a(cy,"preparePartialAnnotations");function dy(e){let{args:t}=e,r={...e,allArgs:void 0,argsByTarget:void 0};if(te.FEATURES?.argTypeTargetsV7){let i=n1(e);r={...e,allArgs:e.args,argsByTarget:i,args:i[r1]||{}}}let n=Object.entries(r.args).reduce((i,[s,l])=>{if(!r.argTypes[s]?.mapping)return i[s]=l,i;let c=a(u=>{let d=r.argTypes[s].mapping;return d&&u in d?d[u]:u},"mappingFn");return i[s]=Array.isArray(l)?l.map(c):c(l),i},{}),o=Object.entries(n).reduce((i,[s,l])=>{let c=r.argTypes[s]||{};return XB(c,n,r.globals)&&(i[s]=l),i},{});return{...r,unmappedArgs:t,args:o}}a(dy,"prepareContext");var Yd=a((e,t,r)=>{let n=typeof e;switch(n){case"boolean":case"string":case"number":case"function":case"symbol":return{name:n}}return e?r.has(e)?(Ie.warn(ge`
883
- We've detected a cycle in arg '${t}'. Args should be JSON-serializable.
884
-
885
- Consider using the mapping feature or fully custom args:
886
- - Mapping: https://storybook.js.org/docs/writing-stories/args#mapping-to-complex-arg-values
887
- - Custom args: https://storybook.js.org/docs/essentials/controls#fully-custom-args
888
- `),{name:"other",value:"cyclic object"}):(r.add(e),Array.isArray(e)?{name:"array",value:e.length>0?Yd(e[0],t,new Set(r)):{name:"other",value:"unknown"}}:{name:"object",value:To(e,o=>Yd(o,t,new Set(r)))}):{name:"object",value:{}}},"inferType"),p1=a(e=>{let{id:t,argTypes:r={},initialArgs:n={}}=e,o=To(n,(s,l)=>({name:l,type:Yd(s,`${t}.${l}`,new Set)})),i=To(r,(s,l)=>({name:l}));return Sn(o,i,r)},"inferArgTypes");p1.secondPass=!0;var Sg=a((e,t)=>Array.isArray(t)?t.includes(e):e.match(t),"matches"),f1=a((e,t,r)=>!t&&!r?e:e&&QR(e,(n,o)=>{let i=n.name||o.toString();return!!(!t||Sg(i,t))&&(!r||!Sg(i,r))}),"filterArgTypes"),Dz=a((e,t,r)=>{let{type:n,options:o}=e;if(n){if(r.color&&r.color.test(t)){let i=n.name;if(i==="string")return{control:{type:"color"}};i!=="enum"&&Ie.warn(`Addon controls: Control of type color only supports string, received "${i}" instead`)}if(r.date&&r.date.test(t))return{control:{type:"date"}};switch(n.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:i}=n;return{control:{type:i?.length<=5?"radio":"select"},options:i}}case"function":case"symbol":return null;default:return{control:{type:o?"select":"object"}}}}},"inferControl"),py=a(e=>{let{argTypes:t,parameters:{__isArgsStory:r,controls:{include:n=null,exclude:o=null,matchers:i={}}={}}}=e;if(!r)return t;let s=f1(t,n,o),l=To(s,(c,u)=>c?.type&&Dz(c,u.toString(),i));return Sn(l,s)},"inferControls");py.secondPass=!0;function Ga({argTypes:e,globalTypes:t,argTypesEnhancers:r,decorators:n,loaders:o,beforeEach:i,afterEach:s,initialGlobals:l,...c}){return{...e&&{argTypes:Fs(e)},...t&&{globalTypes:Fs(t)},decorators:_e(n),loaders:_e(o),beforeEach:_e(i),afterEach:_e(s),argTypesEnhancers:[...r||[],p1,py],initialGlobals:l,...c}}a(Ga,"normalizeProjectAnnotations");var Fz=a(e=>async()=>{let t=[];for(let r of e){let n=await r();n&&t.unshift(n)}return async()=>{for(let r of t)await r()}},"composeBeforeAllHooks");function fy(e){return async(t,r,n)=>{await e.reduceRight((o,i)=>async()=>i(t,o,n),async()=>r(n))()}}a(fy,"composeStepRunners");function So(e,t){return e.map(r=>r.default?.[t]??r[t]).filter(Boolean)}a(So,"getField");function cr(e,t,r={}){return So(e,t).reduce((n,o)=>{let i=_e(o);return r.reverseFileOrder?[...i,...n]:[...n,...i]},[])}a(cr,"getArrayField");function ma(e,t){return Object.assign({},...So(e,t))}a(ma,"getObjectField");function Jn(e,t){return So(e,t).pop()}a(Jn,"getSingletonField");function Cn(e){let t=cr(e,"argTypesEnhancers"),r=So(e,"runStep"),n=cr(e,"beforeAll");return{parameters:Sn(...So(e,"parameters")),decorators:cr(e,"decorators",{reverseFileOrder:!(te.FEATURES?.legacyDecoratorFileOrder??!1)}),args:ma(e,"args"),argsEnhancers:cr(e,"argsEnhancers"),argTypes:ma(e,"argTypes"),argTypesEnhancers:[...t.filter(o=>!o.secondPass),...t.filter(o=>o.secondPass)],initialGlobals:ma(e,"initialGlobals"),globalTypes:ma(e,"globalTypes"),loaders:cr(e,"loaders"),beforeAll:Fz(n),beforeEach:cr(e,"beforeEach"),afterEach:cr(e,"afterEach"),render:Jn(e,"render"),renderToCanvas:Jn(e,"renderToCanvas"),applyDecorators:Jn(e,"applyDecorators"),runStep:fy(r),tags:cr(e,"tags"),mount:Jn(e,"mount"),testingLibraryRender:Jn(e,"testingLibraryRender")}}a(Cn,"composeConfigs");function hy(){try{return!!globalThis.__vitest_browser__||!!globalThis.window?.navigator?.userAgent?.match(/StorybookTestRunner/)}catch{return!1}}a(hy,"isTestEnvironment");function Tu(e=!0){if(!("document"in globalThis&&"createElement"in globalThis.document))return()=>{};let t=document.createElement("style");t.textContent=`*, *:before, *:after {
889
- animation: none !important;
890
- }`,document.head.appendChild(t);let r=document.createElement("style");return r.textContent=`*, *:before, *:after {
891
- animation-delay: 0s !important;
892
- animation-direction: ${e?"reverse":"normal"} !important;
893
- animation-play-state: paused !important;
894
- transition: none !important;
895
- }`,document.head.appendChild(r),document.body.clientHeight,document.head.removeChild(t),()=>{r.parentNode?.removeChild(r)}}a(Tu,"pauseAnimations");async function Su(e){if(!("document"in globalThis&&"getAnimations"in globalThis.document&&"querySelectorAll"in globalThis.document))return;let t=!1;await Promise.race([new Promise(r=>{setTimeout(()=>{let n=[globalThis.document,...my(globalThis.document)],o=a(async()=>{if(t||e?.aborted)return;let i=n.flatMap(s=>s?.getAnimations?.()||[]).filter(s=>s.playState==="running"&&!h1(s));i.length>0&&(await Promise.all(i.map(s=>s.finished)),await o())},"checkAnimationsFinished");o().then(r)},100)}),new Promise(r=>setTimeout(()=>{t=!0,r(void 0)},5e3))])}a(Su,"waitForAnimations");function my(e){return[e,...e.querySelectorAll("*")].reduce((t,r)=>("shadowRoot"in r&&r.shadowRoot&&t.push(r.shadowRoot,...my(r.shadowRoot)),t),[])}a(my,"getShadowRoots");function h1(e){if(e instanceof CSSAnimation&&e.effect instanceof KeyframeEffect&&e.effect.target){let t=getComputedStyle(e.effect.target,e.effect.pseudoElement),r=t.animationName?.split(", ").indexOf(e.animationName);return t.animationIterationCount.split(", ")[r]==="infinite"}return!1}a(h1,"isInfiniteAnimation");var m1=class{constructor(){this.reports=[]}async addReport(t){this.reports.push(t)}};a(m1,"ReporterAPI");var yy=m1;function by(e,t,r){return Eu(e)?{story:e.input,meta:e.meta.input,preview:e.meta.preview.composed}:{story:e,meta:t,preview:r}}a(by,"getCsfFactoryAnnotations");function y1(e){globalThis.defaultProjectAnnotations=e}a(y1,"setDefaultProjectAnnotations");var Bz="ComposedStory",Uz="Unnamed Story";function b1(e){return e?Cn([e]):{}}a(b1,"extractAnnotation");function g1(e){let t=Array.isArray(e)?e:[e];return globalThis.globalProjectAnnotations=Cn([...ay(),globalThis.defaultProjectAnnotations??{},Cn(t.map(b1))]),globalThis.globalProjectAnnotations??{}}a(g1,"setProjectAnnotations");var Nr=[];function gy(e,t,r,n,o){if(e===void 0)throw new Error("Expected a story but received undefined.");t.title=t.title??Bz;let i=Bs(t),s=o||e.storyName||e.story?.name||e.name||Uz,l=Wa(s,e,i),c=Ga(Cn([n??globalThis.globalProjectAnnotations??{},r??{}])),u=xu(l,i,c),d={...i1(c.globalTypes),...c.initialGlobals,...u.storyGlobals},p=new yy,h=a(()=>{let v=dy({hooks:new Lp,globals:d,args:{...u.initialArgs},viewMode:"story",reporting:p,loaded:{},abortSignal:new AbortController().signal,step:a((w,P)=>u.runStep(w,P,v),"step"),canvasElement:null,canvas:{},userEvent:{},globalTypes:c.globalTypes,...u,context:null,mount:null});return v.parameters.__isPortableStory=!0,v.context=v,u.renderToCanvas&&(v.renderToCanvas=async()=>{let w=await u.renderToCanvas?.({componentId:u.componentId,title:u.title,id:u.id,name:u.name,tags:u.tags,showMain:a(()=>{},"showMain"),showError:a(P=>{throw new Error(`${P.title}
896
- ${P.description}`)},"showError"),showException:a(P=>{throw P},"showException"),forceRemount:!0,storyContext:v,storyFn:a(()=>u.unboundStoryFn(v),"storyFn"),unboundStoryFn:u.unboundStoryFn},v.canvasElement);w&&Nr.push(w)}),v.mount=u.mount(v),v},"initializeContext"),f,m=a(async v=>{let w=h();return w.canvasElement??=globalThis?.document?.body,f&&(w.loaded=f.loaded),Object.assign(w,v),u.playFunction(w)},"play"),b=a(v=>{let w=h();return Object.assign(w,v),E1(u,w)},"run"),g=u.playFunction?m:void 0;return Object.assign(a(function(v){let w=h();return f&&(w.loaded=f.loaded),w.args={...w.initialArgs,...v},u.unboundStoryFn(w)},"storyFn"),{id:u.id,storyName:s,load:a(async()=>{for(let w of[...Nr].reverse())await w();Nr.length=0;let v=h();v.loaded=await u.applyLoaders(v),Nr.push(...(await u.applyBeforeEach(v)).filter(Boolean)),f=v},"load"),globals:d,args:u.initialArgs,parameters:u.parameters,argTypes:u.argTypes,play:g,run:b,reporting:p,tags:u.tags})}a(gy,"composeStory");var Hz=a((e,t,r,n)=>gy(e,t,r,{},n),"defaultComposeStory");function v1(e,t,r=Hz){let{default:n,__esModule:o,__namedExportsOrder:i,...s}=e,l=n;return Object.entries(s).reduce((c,[u,d])=>{let{story:p,meta:h}=by(d);return!l&&h&&(l=h),$s(u,l)?Object.assign(c,{[u]:r(p,l,t,u)}):c},{})}a(v1,"composeStories");function w1(e){return e.extend({mount:a(async({mount:t,page:r},n)=>{await n(async(o,...i)=>{if(!("__pw_type"in o)||"__pw_type"in o&&o.__pw_type!=="jsx")throw new Error(ge`
897
- Portable stories in Playwright CT only work when referencing JSX elements.
898
- Please use JSX format for your components such as:
899
-
900
- instead of:
901
- await mount(MyComponent, { props: { foo: 'bar' } })
902
-
903
- do:
904
- await mount(<MyComponent foo="bar"/>)
905
-
906
- More info: https://storybook.js.org/docs/api/portable-stories/portable-stories-playwright?ref=error
907
- `);let{props:s,...l}=o;await r.evaluate(async u=>{let d=await globalThis.__pwUnwrapObject?.(u);return("__pw_type"in d?d.type:d)?.load?.()},l);let c=await t(o,...i);return await r.evaluate(async u=>{let d=await globalThis.__pwUnwrapObject?.(u),p="__pw_type"in d?d.type:d,h=document.querySelector("#root");return p?.play?.({canvasElement:h})},l),c})},"mount")})}a(w1,"createPlaywrightTest");async function E1(e,t){for(let i of[...Nr].reverse())await i();if(Nr.length=0,!t.canvasElement){let i=document.createElement("div");globalThis?.document?.body?.appendChild(i),t.canvasElement=i,Nr.push(()=>{globalThis?.document?.body?.contains(i)&&globalThis?.document?.body?.removeChild(i)})}if(t.loaded=await e.applyLoaders(t),t.abortSignal.aborted)return;Nr.push(...(await e.applyBeforeEach(t)).filter(Boolean));let r=e.playFunction,n=e.usesMount;if(n||await t.mount(),t.abortSignal.aborted)return;r&&(n||(t.mount=async()=>{throw new Mp({playFunction:r.toString()})}),await r(t));let o;hy()?o=Tu():await Su(t.abortSignal),await e.applyAfterEach(t),await o?.()}a(E1,"runStory");var Cg=1e3,Vz=1e4,x1=class{constructor(t,r,n){this.importFn=r,this.storyIndex=new Iz(t),this.projectAnnotations=Ga(Cn([...ay(),n]));let{initialGlobals:o,globalTypes:i}=this.projectAnnotations;this.args=new _z,this.userGlobals=new Az({globals:o,globalTypes:i}),this.hooks={},this.cleanupCallbacks={},this.processCSFFileWithCache=(0,Wu.default)(Cg)(u1),this.prepareMetaWithCache=(0,Wu.default)(Cg)(uy),this.prepareStoryWithCache=(0,Wu.default)(Vz)(xu)}setProjectAnnotations(t){this.projectAnnotations=Ga(t);let{initialGlobals:r,globalTypes:n}=t;this.userGlobals.set({globals:r,globalTypes:n})}async onStoriesChanged({importFn:t,storyIndex:r}){t&&(this.importFn=t),r&&(this.storyIndex.entries=r.entries),this.cachedCSFFiles&&await this.cacheAllCSFFiles()}async storyIdToEntry(t){return this.storyIndex.storyIdToEntry(t)}async loadCSFFileByStoryId(t){let{importPath:r,title:n}=this.storyIndex.storyIdToEntry(t),o=await this.importFn(r);return this.processCSFFileWithCache(o,r,n)}async loadAllCSFFiles(){let t={};return Object.entries(this.storyIndex.entries).forEach(([r,{importPath:n}])=>{t[n]=r}),(await Promise.all(Object.entries(t).map(async([r,n])=>({importPath:r,csfFile:await this.loadCSFFileByStoryId(n)})))).reduce((r,{importPath:n,csfFile:o})=>(r[n]=o,r),{})}async cacheAllCSFFiles(){this.cachedCSFFiles=await this.loadAllCSFFiles()}preparedMetaFromCSFFile({csfFile:t}){let r=t.meta;return this.prepareMetaWithCache(r,this.projectAnnotations,t.moduleExports.default)}async loadStory({storyId:t}){let r=await this.loadCSFFileByStoryId(t);return this.storyFromCSFFile({storyId:t,csfFile:r})}storyFromCSFFile({storyId:t,csfFile:r}){let n=r.stories[t];if(!n)throw new RE({storyId:t});let o=r.meta,i=this.prepareStoryWithCache(n,o,r.projectAnnotations??this.projectAnnotations);return this.args.setInitial(i),this.hooks[i.id]=this.hooks[i.id]||new Lp,i}componentStoriesFromCSFFile({csfFile:t}){return Object.keys(this.storyIndex.entries).filter(r=>!!t.stories[r]).map(r=>this.storyFromCSFFile({storyId:r,csfFile:t}))}async loadEntry(t){let r=await this.storyIdToEntry(t),n=r.type==="docs"?r.storiesImports:[],[o,...i]=await Promise.all([this.importFn(r.importPath),...n.map(s=>{let l=this.storyIndex.importPathToEntry(s);return this.loadCSFFileByStoryId(l.id)})]);return{entryExports:o,csfFiles:i}}getStoryContext(t,{forceInitialArgs:r=!1}={}){let n=this.userGlobals.get(),{initialGlobals:o}=this.userGlobals,i=new yy;return dy({...t,args:r?t.initialArgs:this.args.get(t.id),initialGlobals:o,globalTypes:this.projectAnnotations.globalTypes,userGlobals:n,reporting:i,globals:{...n,...t.storyGlobals},hooks:this.hooks[t.id]})}addCleanupCallbacks(t,...r){this.cleanupCallbacks[t.id]=(this.cleanupCallbacks[t.id]||[]).concat(r)}async cleanupStory(t){this.hooks[t.id].clean();let r=this.cleanupCallbacks[t.id];if(r)for(let n of[...r].reverse())await n();delete this.cleanupCallbacks[t.id]}extract(t={includeDocsOnly:!1}){let{cachedCSFFiles:r}=this;if(!r)throw new bE;return Object.entries(this.storyIndex.entries).reduce((n,[o,{type:i,importPath:s}])=>{if(i==="docs")return n;let l=r[s],c=this.storyFromCSFFile({storyId:o,csfFile:l});return!t.includeDocsOnly&&c.parameters.docsOnly||(n[o]=Object.entries(c).reduce((u,[d,p])=>d==="moduleExport"||typeof p=="function"?u:Array.isArray(p)?Object.assign(u,{[d]:p.slice().sort()}):Object.assign(u,{[d]:p}),{args:c.initialArgs,globals:{...this.userGlobals.initialGlobals,...this.userGlobals.globals,...c.storyGlobals}})),n},{})}};a(x1,"StoryStore");var T1=x1;function S1(e){return e.startsWith("\\\\?\\")?e:e.replace(/\\/g,"/")}a(S1,"slash");var Jz=a(e=>{if(e.length===0)return e;let t=e[e.length-1],r=t?.replace(/(?:[.](?:story|stories))?([.][^.]+)$/i,"");if(e.length===1)return[r];let n=e[e.length-2];return r&&n&&r.toLowerCase()===n.toLowerCase()?[...e.slice(0,-2),r]:r&&(/^(story|stories)([.][^.]+)$/i.test(t)||/^index$/i.test(r))?e.slice(0,-1):[...e.slice(0,-1),r]},"sanitize");function Xd(e){return e.flatMap(t=>t.split("/")).filter(Boolean).join("/")}a(Xd,"pathJoin");var C1=a((e,t,r)=>{let{directory:n,importPathMatcher:o,titlePrefix:i=""}=t||{};typeof e=="number"&&Be.warn(ge`
908
- CSF Auto-title received a numeric fileName. This typically happens when
909
- webpack is mis-configured in production mode. To force webpack to produce
910
- filenames, set optimization.moduleIds = "named" in your webpack config.
911
- `);let s=S1(String(e));if(o.exec(s)){if(!r){let l=s.replace(n,""),c=Xd([i,l]).split("/");return c=Jz(c),c.join("/")}return i?Xd([i,r]):r}},"userOrAutoTitleFromSpecifier"),zz=a((e,t,r)=>{for(let n=0;n<t.length;n+=1){let o=C1(e,t[n],r);if(o)return o}return r||void 0},"userOrAutoTitle"),Pg=/\s*\/\s*/,Wz=a((e={})=>(t,r)=>{if(t.title===r.title&&!e.includeNames)return 0;let n=e.method||"configure",o=e.order||[],i=t.title.trim().split(Pg),s=r.title.trim().split(Pg);e.includeNames&&(i.push(t.name),s.push(r.name));let l=0;for(;i[l]||s[l];){if(!i[l])return-1;if(!s[l])return 1;let c=i[l],u=s[l];if(c!==u){let p=o.indexOf(c),h=o.indexOf(u),f=o.indexOf("*");return p!==-1||h!==-1?(p===-1&&(f!==-1?p=f:p=o.length),h===-1&&(f!==-1?h=f:h=o.length),p-h):n==="configure"?0:c.localeCompare(u,e.locales?e.locales:void 0,{numeric:!0,sensitivity:"accent"})}let d=o.indexOf(c);d===-1&&(d=o.indexOf("*")),o=d!==-1&&Array.isArray(o[d+1])?o[d+1]:[],l+=1}return 0},"storySort"),Gz=a((e,t,r)=>{if(t){let n;typeof t=="function"?n=t:n=Wz(t),e.sort(n)}else e.sort((n,o)=>r.indexOf(n.importPath)-r.indexOf(o.importPath));return e},"sortStoriesCommon"),Kz=a((e,t,r)=>{try{return Gz(e,t,r)}catch(n){throw new Error(ge`
912
- Error sorting stories with sort parameter ${t}:
913
-
914
- > ${n.message}
915
-
916
- Are you using a V6-style sort function in V7 mode?
917
-
918
- More info: https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#v7-style-story-sort
919
- `)}},"sortStoriesV7"),Cu=new Error("prepareAborted"),{AbortController:Og}=globalThis;function Qd(e){try{let{name:t="Error",message:r=String(e),stack:n}=e;return{name:t,message:r,stack:n}}catch{return{name:"Error",message:String(e)}}}a(Qd,"serializeError");var P1=class{constructor(t,r,n,o,i,s,l={autoplay:!0,forceInitialArgs:!1},c){this.channel=t,this.store=r,this.renderToScreen=n,this.callbacks=o,this.id=i,this.viewMode=s,this.renderOptions=l,this.type="story",this.notYetRendered=!0,this.rerenderEnqueued=!1,this.disableKeyListeners=!1,this.teardownRender=a(()=>{},"teardownRender"),this.torndown=!1,this.abortController=new Og,this.renderId=Date.now(),c&&(this.story=c,this.phase="preparing")}async runPhase(t,r,n){this.phase=r,this.channel.emit(mn,{newPhase:this.phase,renderId:this.renderId,storyId:this.id}),n&&(await n(),this.checkIfAborted(t))}checkIfAborted(t){return t.aborted?(this.phase="aborted",this.channel.emit(mn,{newPhase:this.phase,renderId:this.renderId,storyId:this.id}),!0):!1}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),Cu}isEqual(t){return!!(this.id===t.id&&this.story&&this.story===t.story)}isPreparing(){return["preparing"].includes(this.phase)}isPending(){return["loading","beforeEach","rendering","playing","afterEach"].includes(this.phase)}async renderToElement(t){return this.canvasElement=t,this.render({initial:!0,forceRemount:!0})}storyContext(){if(!this.story)throw new Error("Cannot call storyContext before preparing");let{forceInitialArgs:t}=this.renderOptions;return this.store.getStoryContext(this.story,{forceInitialArgs:t})}async render({initial:t=!1,forceRemount:r=!1}={}){let{canvasElement:n}=this;if(!this.story)throw new Error("cannot render when not prepared");let o=this.story;if(!n)throw new Error("cannot render when canvasElement is unset");let{id:i,componentId:s,title:l,name:c,tags:u,applyLoaders:d,applyBeforeEach:p,applyAfterEach:h,unboundStoryFn:f,playFunction:m,runStep:b}=o;r&&!t&&(this.cancelRender(),this.abortController=new Og);let g=this.abortController.signal,v=!1,w=o.usesMount;try{let P={...this.storyContext(),viewMode:this.viewMode,abortSignal:g,canvasElement:n,loaded:{},step:a((D,O)=>b(D,O,P),"step"),context:null,canvas:{},userEvent:{},renderToCanvas:a(async()=>{let D=await this.renderToScreen(A,n);this.teardownRender=D||(()=>{}),v=!0},"renderToCanvas"),mount:a(async(...D)=>{this.callbacks.showStoryDuringRender?.();let O=null;return await this.runPhase(g,"rendering",async()=>{O=await o.mount(P)(...D)}),w&&await this.runPhase(g,"playing"),O},"mount")};P.context=P;let A={componentId:s,title:l,kind:l,id:i,name:c,story:c,tags:u,...this.callbacks,showError:a(D=>(this.phase="errored",this.callbacks.showError(D)),"showError"),showException:a(D=>(this.phase="errored",this.callbacks.showException(D)),"showException"),forceRemount:r||this.notYetRendered,storyContext:P,storyFn:a(()=>f(P),"storyFn"),unboundStoryFn:f};if(await this.runPhase(g,"loading",async()=>{P.loaded=await d(P)}),g.aborted)return;let R=await p(P);if(this.store.addCleanupCallbacks(o,...R),this.checkIfAborted(g)||(!v&&!w&&await P.mount(),this.notYetRendered=!1,g.aborted))return;let T=this.story.parameters?.test?.dangerouslyIgnoreUnhandledErrors===!0,E=new Set,x=a(D=>{D.error&&E.add(D.error)},"onError"),C=a(D=>{D.reason&&E.add(D.reason)},"onUnhandledRejection");if(this.renderOptions.autoplay&&r&&m&&this.phase!=="errored"){window?.addEventListener?.("error",x),window?.addEventListener?.("unhandledrejection",C),this.disableKeyListeners=!0;try{if(w?await m(P):(P.mount=async()=>{throw new Mp({playFunction:m.toString()})},await this.runPhase(g,"playing",async()=>m(P))),!v)throw new $E;this.checkIfAborted(g),!T&&E.size>0?await this.runPhase(g,"errored"):await this.runPhase(g,"played")}catch(D){if(this.callbacks.showStoryDuringRender?.(),await this.runPhase(g,"errored",async()=>{this.channel.emit(Ov,Qd(D))}),this.story.parameters.throwPlayFunctionExceptions!==!1)throw D;console.error(D)}if(!T&&E.size>0&&this.channel.emit(_v,Array.from(E).map(Qd)),this.disableKeyListeners=!1,window?.removeEventListener?.("unhandledrejection",C),window?.removeEventListener?.("error",x),g.aborted)return}await this.runPhase(g,"completing",async()=>{hy()?this.store.addCleanupCallbacks(o,Tu()):await Su(g)}),await this.runPhase(g,"completed",async()=>{this.channel.emit(Yi,i)}),this.phase!=="errored"&&await this.runPhase(g,"afterEach",async()=>{await h(P)});let k=!T&&E.size>0,I=P.reporting.reports.some(D=>D.status==="failed"),U=k||I;await this.runPhase(g,"finished",async()=>this.channel.emit(uc,{storyId:i,status:U?"error":"success",reporters:P.reporting.reports}))}catch(P){this.phase="errored",this.callbacks.showException(P),await this.runPhase(g,"finished",async()=>this.channel.emit(uc,{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 t=0;t<3;t+=1){if(!this.isPending()){await this.teardownRender();return}await new Promise(r=>setTimeout(r,0))}window?.location?.reload?.(),await new Promise(()=>{})}};a(P1,"StoryRender");var Zd=P1,{fetch:Yz}=te,Xz="./index.json",O1=class{constructor(t,r,n=qt.getChannel(),o=!0){this.importFn=t,this.getProjectAnnotations=r,this.channel=n,this.storyRenders=[],this.storeInitializationPromise=new Promise((i,s)=>{this.resolveStoreInitializationPromise=i,this.rejectStoreInitializationPromise=s}),o&&this.initialize()}get storyStore(){return new Proxy({},{get:a((t,r)=>{if(this.storyStoreValue)return Tp("Accessing the Story Store is deprecated and will be removed in 9.0"),this.storyStoreValue[r];throw new IE},"get")})}async initialize(){this.setupListeners();try{let t=await this.getProjectAnnotationsOrRenderError();await this.runBeforeAllHook(t),await this.initializeWithProjectAnnotations(t)}catch(t){this.rejectStoreInitializationPromise(t)}}ready(){return this.storeInitializationPromise}setupListeners(){this.channel.on(kv,this.onStoryIndexChanged.bind(this)),this.channel.on(Ep,this.onUpdateGlobals.bind(this)),this.channel.on(xp,this.onUpdateArgs.bind(this)),this.channel.on(Hv,this.onRequestArgTypesInfo.bind(this)),this.channel.on(vp,this.onResetArgs.bind(this)),this.channel.on(gp,this.onForceReRender.bind(this)),this.channel.on(Ki,this.onForceRemount.bind(this)),this.channel.on(Fv,this.onStoryHotUpdated.bind(this))}async getProjectAnnotationsOrRenderError(){try{let t=await this.getProjectAnnotations();if(this.renderToCanvas=t.renderToCanvas,!this.renderToCanvas)throw new vE;return t}catch(t){throw this.renderPreviewEntryError("Error reading preview.js:",t),t}}async initializeWithProjectAnnotations(t){this.projectAnnotationsBeforeInitialization=t;try{let r=await this.getStoryIndexFromServer();return this.initializeWithStoryIndex(r)}catch(r){throw this.renderPreviewEntryError("Error loading story index:",r),r}}async runBeforeAllHook(t){try{await this.beforeAllCleanup?.(),this.beforeAllCleanup=await t.beforeAll?.()}catch(r){throw this.renderPreviewEntryError("Error in beforeAll hook:",r),r}}async getStoryIndexFromServer(){let t=await Yz(Xz);if(t.status===200)return t.json();throw new xE({text:await t.text()})}initializeWithStoryIndex(t){if(!this.projectAnnotationsBeforeInitialization)throw new Error("Cannot call initializeWithStoryIndex until project annotations resolve");this.storyStoreValue=new T1(t,this.importFn,this.projectAnnotationsBeforeInitialization),delete this.projectAnnotationsBeforeInitialization,this.setInitialGlobals(),this.resolveStoreInitializationPromise()}async setInitialGlobals(){this.emitGlobals()}emitGlobals(){if(!this.storyStoreValue)throw new vt({methodName:"emitGlobals"});let t={globals:this.storyStoreValue.userGlobals.get()||{},globalTypes:this.storyStoreValue.projectAnnotations.globalTypes||{}};this.channel.emit(qv,t)}async onGetProjectAnnotationsChanged({getProjectAnnotations:t}){delete this.previewEntryError,this.getProjectAnnotations=t;let r=await this.getProjectAnnotationsOrRenderError();if(await this.runBeforeAllHook(r),!this.storyStoreValue){await this.initializeWithProjectAnnotations(r);return}this.storyStoreValue.setProjectAnnotations(r),this.emitGlobals()}async onStoryIndexChanged(){if(delete this.previewEntryError,!(!this.storyStoreValue&&!this.projectAnnotationsBeforeInitialization))try{let t=await this.getStoryIndexFromServer();if(this.projectAnnotationsBeforeInitialization){this.initializeWithStoryIndex(t);return}await this.onStoriesChanged({storyIndex:t})}catch(t){throw this.renderPreviewEntryError("Error loading story index:",t),t}}async onStoriesChanged({importFn:t,storyIndex:r}){if(!this.storyStoreValue)throw new vt({methodName:"onStoriesChanged"});await this.storyStoreValue.onStoriesChanged({importFn:t,storyIndex:r})}async onUpdateGlobals({globals:t,currentStory:r}){if(this.storyStoreValue||await this.storeInitializationPromise,!this.storyStoreValue)throw new vt({methodName:"onUpdateGlobals"});if(this.storyStoreValue.userGlobals.update(t),r){let{initialGlobals:n,storyGlobals:o,userGlobals:i,globals:s}=this.storyStoreValue.getStoryContext(r);this.channel.emit(Oa,{initialGlobals:n,userGlobals:i,storyGlobals:o,globals:s})}else{let{initialGlobals:n,globals:o}=this.storyStoreValue.userGlobals;this.channel.emit(Oa,{initialGlobals:n,userGlobals:o,storyGlobals:{},globals:o})}await Promise.all(this.storyRenders.map(n=>n.rerender()))}async onUpdateArgs({storyId:t,updatedArgs:r}){if(!this.storyStoreValue)throw new vt({methodName:"onUpdateArgs"});this.storyStoreValue.args.update(t,r),await Promise.all(this.storyRenders.filter(n=>n.id===t&&!n.renderOptions.forceInitialArgs).map(n=>n.story&&n.story.usesMount?n.remount():n.rerender())),this.channel.emit(Iv,{storyId:t,args:this.storyStoreValue.args.get(t)})}async onRequestArgTypesInfo({id:t,payload:r}){try{await this.storeInitializationPromise;let n=await this.storyStoreValue?.loadStory(r);this.channel.emit(cc,{id:t,success:!0,payload:{argTypes:n?.argTypes||{}},error:null})}catch(n){this.channel.emit(cc,{id:t,success:!1,error:n?.message})}}async onResetArgs({storyId:t,argNames:r}){if(!this.storyStoreValue)throw new vt({methodName:"onResetArgs"});let n=this.storyRenders.find(i=>i.id===t)?.story||await this.storyStoreValue.loadStory({storyId:t}),o=(r||[...new Set([...Object.keys(n.initialArgs),...Object.keys(this.storyStoreValue.args.get(t))])]).reduce((i,s)=>(i[s]=n.initialArgs[s],i),{});await this.onUpdateArgs({storyId:t,updatedArgs:o})}async onForceReRender(){await Promise.all(this.storyRenders.map(t=>t.rerender()))}async onForceRemount({storyId:t}){await Promise.all(this.storyRenders.filter(r=>r.id===t).map(r=>r.remount()))}async onStoryHotUpdated(){await Promise.all(this.storyRenders.map(t=>t.cancelPlayFunction()))}renderStoryToElement(t,r,n,o){if(!this.renderToCanvas||!this.storyStoreValue)throw new vt({methodName:"renderStoryToElement"});let i=new Zd(this.channel,this.storyStoreValue,this.renderToCanvas,n,t.id,"docs",o,t);return i.renderToElement(r),this.storyRenders.push(i),async()=>{await this.teardownRender(i)}}async teardownRender(t,{viewModeChanged:r}={}){this.storyRenders=this.storyRenders.filter(n=>n!==t),await t?.teardown?.({viewModeChanged:r})}async loadStory({storyId:t}){if(!this.storyStoreValue)throw new vt({methodName:"loadStory"});return this.storyStoreValue.loadStory({storyId:t})}getStoryContext(t,{forceInitialArgs:r=!1}={}){if(!this.storyStoreValue)throw new vt({methodName:"getStoryContext"});return this.storyStoreValue.getStoryContext(t,{forceInitialArgs:r})}async extract(t){if(!this.storyStoreValue)throw new vt({methodName:"extract"});if(this.previewEntryError)throw this.previewEntryError;return await this.storyStoreValue.cacheAllCSFFiles(),this.storyStoreValue.extract(t)}renderPreviewEntryError(t,r){this.previewEntryError=r,Ie.error(t),Ie.error(r),this.channel.emit(Cv,r)}};a(O1,"Preview");var _1=O1,A1=class{constructor(t,r,n,o){this.channel=t,this.store=r,this.renderStoryToElement=n,this.storyIdByName=a(i=>{let s=this.nameToStoryId.get(i);if(s)return s;throw new Error(`No story found with that name: ${i}`)},"storyIdByName"),this.componentStories=a(()=>this.componentStoriesValue,"componentStories"),this.componentStoriesFromCSFFile=a(i=>this.store.componentStoriesFromCSFFile({csfFile:i}),"componentStoriesFromCSFFile"),this.storyById=a(i=>{if(!i){if(!this.primaryStory)throw new Error("No primary story defined for docs entry. Did you forget to use `<Meta>`?");return this.primaryStory}let s=this.storyIdToCSFFile.get(i);if(!s)throw new Error(`Called \`storyById\` for story that was never loaded: ${i}`);return this.store.storyFromCSFFile({storyId:i,csfFile:s})},"storyById"),this.getStoryContext=a(i=>({...this.store.getStoryContext(i),loaded:{},viewMode:"docs"}),"getStoryContext"),this.loadStory=a(i=>this.store.loadStory({storyId:i}),"loadStory"),this.componentStoriesValue=[],this.storyIdToCSFFile=new Map,this.exportToStory=new Map,this.exportsToCSFFile=new Map,this.nameToStoryId=new Map,this.attachedCSFFiles=new Set,o.forEach((i,s)=>{this.referenceCSFFile(i)})}referenceCSFFile(t){this.exportsToCSFFile.set(t.moduleExports,t),this.exportsToCSFFile.set(t.moduleExports.default,t),this.store.componentStoriesFromCSFFile({csfFile:t}).forEach(r=>{let n=t.stories[r.id];this.storyIdToCSFFile.set(n.id,t),this.exportToStory.set(n.moduleExport,r)})}attachCSFFile(t){if(!this.exportsToCSFFile.has(t.moduleExports))throw new Error("Cannot attach a CSF file that has not been referenced");this.attachedCSFFiles.has(t)||(this.attachedCSFFiles.add(t),this.store.componentStoriesFromCSFFile({csfFile:t}).forEach(r=>{this.nameToStoryId.set(r.name,r.id),this.componentStoriesValue.push(r),this.primaryStory||(this.primaryStory=r)}))}referenceMeta(t,r){let n=this.resolveModuleExport(t);if(n.type!=="meta")throw new Error("<Meta of={} /> must reference a CSF file module export or meta export. Did you mistakenly reference your component instead of your CSF file?");r&&this.attachCSFFile(n.csfFile)}get projectAnnotations(){let{projectAnnotations:t}=this.store;if(!t)throw new Error("Can't get projectAnnotations from DocsContext before they are initialized");return t}resolveAttachedModuleExportType(t){if(t==="story"){if(!this.primaryStory)throw new 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 new Error("No CSF file attached to this docs file, did you forget to use <Meta of={} />?");let r=Array.from(this.attachedCSFFiles)[0];if(t==="meta")return{type:"meta",csfFile:r};let{component:n}=r.meta;if(!n)throw new Error("Attached CSF file does not defined a component, did you forget to export one?");return{type:"component",component:n}}resolveModuleExport(t){let r=this.exportsToCSFFile.get(t);if(r)return{type:"meta",csfFile:r};let n=this.exportToStory.get(Eu(t)?t.input:t);return n?{type:"story",story:n}:{type:"component",component:t}}resolveOf(t,r=[]){let n;if(["component","meta","story"].includes(t)){let o=t;n=this.resolveAttachedModuleExportType(o)}else n=this.resolveModuleExport(t);if(r.length&&!r.includes(n.type)){let o=n.type==="component"?"component or unknown":n.type;throw new Error(ge`Invalid value passed to the 'of' prop. The value was resolved to a '${o}' type but the only types for this block are: ${r.join(", ")}.
920
- - Did you pass a component to the 'of' prop when the block only supports a story or a meta?
921
- - ... or vice versa?
922
- - 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})};case"story":default:return n}}};a(A1,"DocsContext");var vy=A1,R1=class{constructor(t,r,n,o){this.channel=t,this.store=r,this.entry=n,this.callbacks=o,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:t,csfFiles:r=[]}=await this.store.loadEntry(this.id);if(this.torndown)throw Cu;let{importPath:n,title:o}=this.entry,i=this.store.processCSFFileWithCache(t,n,o),s=Object.keys(i.stories)[0];this.story=this.store.storyFromCSFFile({storyId:s,csfFile:i}),this.csfFiles=[i,...r],this.preparing=!1}isEqual(t){return!!(this.id===t.id&&this.story&&this.story===t.story)}docsContext(t){if(!this.csfFiles)throw new Error("Cannot render docs before preparing");let r=new vy(this.channel,this.store,t,this.csfFiles);return this.csfFiles.forEach(n=>r.attachCSFFile(n)),r}async renderToElement(t,r){if(!this.story||!this.csfFiles)throw new Error("Cannot render docs before preparing");let n=this.docsContext(r),{docs:o}=this.story.parameters||{};if(!o)throw new Error("Cannot render a story in viewMode=docs if `@storybook/addon-docs` is not installed");let i=await o.renderer(),{render:s}=i,l=a(async()=>{try{await s(n,o,t),this.channel.emit(bp,this.id)}catch(c){this.callbacks.showException(c)}},"renderDocs");return this.rerender=async()=>l(),this.teardownRender=async({viewModeChanged:c})=>{!c||!t||i.unmount(t)},l()}async teardown({viewModeChanged:t}={}){this.teardownRender?.({viewModeChanged:t}),this.torndown=!0}};a(R1,"CsfDocsRender");var _g=R1,q1=class{constructor(t,r,n,o){this.channel=t,this.store=r,this.entry=n,this.callbacks=o,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:t,csfFiles:r=[]}=await this.store.loadEntry(this.id);if(this.torndown)throw Cu;this.csfFiles=r,this.exports=t,this.preparing=!1}isEqual(t){return!!(this.id===t.id&&this.exports&&this.exports===t.exports)}docsContext(t){if(!this.csfFiles)throw new Error("Cannot render docs before preparing");return new vy(this.channel,this.store,t,this.csfFiles)}async renderToElement(t,r){if(!this.exports||!this.csfFiles||!this.store.projectAnnotations)throw new Error("Cannot render docs before preparing");let n=this.docsContext(r),{docs:o}=this.store.projectAnnotations.parameters??{};if(!o)throw new Error("Cannot render a story in viewMode=docs if `@storybook/addon-docs` is not installed");let i={...o,page:this.exports.default},s=await o.renderer(),{render:l}=s,c=a(async()=>{try{await l(n,i,t),this.channel.emit(bp,this.id)}catch(u){this.callbacks.showException(u)}},"renderDocs");return this.rerender=async()=>c(),this.teardownRender=async({viewModeChanged:u}={})=>{!u||!t||(s.unmount(t),this.torndown=!0)},c()}async teardown({viewModeChanged:t}={}){this.teardownRender?.({viewModeChanged:t}),this.torndown=!0}};a(q1,"MdxDocsRender");var Ag=q1,Qz=globalThis;function I1(e){let t=e.composedPath&&e.composedPath()[0]||e.target;return/input|textarea/i.test(t.tagName)||t.getAttribute("contenteditable")!==null}a(I1,"focusInInput");var N1="attached-mdx",Zz="unattached-mdx";function j1({tags:e}){return e?.includes(Zz)||e?.includes(N1)}a(j1,"isMdxEntry");function Hi(e){return e.type==="story"}a(Hi,"isStoryRender");function k1(e){return e.type==="docs"}a(k1,"isDocsRender");function M1(e){return k1(e)&&e.subtype==="csf"}a(M1,"isCsfDocsRender");var $1=class extends _1{constructor(t,r,n,o){super(t,r,void 0,!1),this.importFn=t,this.getProjectAnnotations=r,this.selectionStore=n,this.view=o,this.initialize()}setupListeners(){super.setupListeners(),Qz.onkeydown=this.onKeydown.bind(this),this.channel.on(wp,this.onSetCurrentStory.bind(this)),this.channel.on(Bv,this.onUpdateQueryParams.bind(this)),this.channel.on(Av,this.onPreloadStories.bind(this))}async setInitialGlobals(){if(!this.storyStoreValue)throw new vt({methodName:"setInitialGlobals"});let{globals:t}=this.selectionStore.selectionSpecifier||{};t&&this.storyStoreValue.userGlobals.updateFromPersisted(t),this.emitGlobals()}async initializeWithStoryIndex(t){return await super.initializeWithStoryIndex(t),this.selectSpecifiedStory()}async selectSpecifiedStory(){if(!this.storyStoreValue)throw new vt({methodName:"selectSpecifiedStory"});if(this.selectionStore.selection){await this.renderSelection();return}if(!this.selectionStore.selectionSpecifier){this.renderMissingStory();return}let{storySpecifier:t,args:r}=this.selectionStore.selectionSpecifier,n=this.storyStoreValue.storyIndex.entryFromSpecifier(t);if(!n){t==="*"?this.renderStoryLoadingException(t,new PE):this.renderStoryLoadingException(t,new _E({storySpecifier:t.toString()}));return}let{id:o,type:i}=n;this.selectionStore.setSelection({storyId:o,viewMode:i}),this.channel.emit($v,this.selectionStore.selection),this.channel.emit(sc,this.selectionStore.selection),await this.renderSelection({persistedArgs:r})}async onGetProjectAnnotationsChanged({getProjectAnnotations:t}){await super.onGetProjectAnnotationsChanged({getProjectAnnotations:t}),this.selectionStore.selection&&this.renderSelection()}async onStoriesChanged({importFn:t,storyIndex:r}){await super.onStoriesChanged({importFn:t,storyIndex:r}),this.selectionStore.selection?await this.renderSelection():await this.selectSpecifiedStory()}onKeydown(t){if(!this.storyRenders.find(r=>r.disableKeyListeners)&&!I1(t)){let{altKey:r,ctrlKey:n,metaKey:o,shiftKey:i,key:s,code:l,keyCode:c}=t;this.channel.emit(Rv,{event:{altKey:r,ctrlKey:n,metaKey:o,shiftKey:i,key:s,code:l,keyCode:c}})}}async onSetCurrentStory(t){this.selectionStore.setSelection({viewMode:"story",...t}),await this.storeInitializationPromise,this.channel.emit(sc,this.selectionStore.selection),this.renderSelection()}onUpdateQueryParams(t){this.selectionStore.setQueryParams(t)}async onUpdateGlobals({globals:t}){let r=this.currentRender instanceof Zd&&this.currentRender.story||void 0;super.onUpdateGlobals({globals:t,currentStory:r}),(this.currentRender instanceof Ag||this.currentRender instanceof _g)&&await this.currentRender.rerender?.()}async onUpdateArgs({storyId:t,updatedArgs:r}){super.onUpdateArgs({storyId:t,updatedArgs:r})}async onPreloadStories({ids:t}){await this.storeInitializationPromise,this.storyStoreValue&&await Promise.allSettled(t.map(r=>this.storyStoreValue?.loadEntry(r)))}async renderSelection({persistedArgs:t}={}){let{renderToCanvas:r}=this;if(!this.storyStoreValue||!r)throw new vt({methodName:"renderSelection"});let{selection:n}=this.selectionStore;if(!n)throw new Error("Cannot call renderSelection as no selection was made");let{storyId:o}=n,i;try{i=await this.storyStoreValue.storyIdToEntry(o)}catch(h){this.currentRender&&await this.teardownRender(this.currentRender),this.renderStoryLoadingException(o,h);return}let s=this.currentSelection?.storyId!==o,l=this.currentRender?.type!==i.type;i.type==="story"?this.view.showPreparingStory({immediate:l}):this.view.showPreparingDocs({immediate:l}),this.currentRender?.isPreparing()&&await this.teardownRender(this.currentRender);let c;i.type==="story"?c=new Zd(this.channel,this.storyStoreValue,r,this.mainStoryCallbacks(o),o,"story"):j1(i)?c=new Ag(this.channel,this.storyStoreValue,i,this.mainStoryCallbacks(o)):c=new _g(this.channel,this.storyStoreValue,i,this.mainStoryCallbacks(o));let u=this.currentSelection;this.currentSelection=n;let d=this.currentRender;this.currentRender=c;try{await c.prepare()}catch(h){d&&await this.teardownRender(d),h!==Cu&&this.renderStoryLoadingException(o,h);return}let p=!s&&d&&!c.isEqual(d);if(t&&Hi(c)&&(Yt(!!c.story),this.storyStoreValue.args.updateFromPersisted(c.story,t)),d&&!d.torndown&&!s&&!p&&!l){this.currentRender=d,this.channel.emit(Dv,o),this.view.showMain();return}if(d&&await this.teardownRender(d,{viewModeChanged:l}),u&&(s||l)&&this.channel.emit(Nv,o),Hi(c)){Yt(!!c.story);let{parameters:h,initialArgs:f,argTypes:m,unmappedArgs:b,initialGlobals:g,userGlobals:v,storyGlobals:w,globals:P}=this.storyStoreValue.getStoryContext(c.story);this.channel.emit(Mv,{id:o,parameters:h,initialArgs:f,argTypes:m,args:b}),this.channel.emit(Oa,{userGlobals:v,storyGlobals:w,globals:P,initialGlobals:g})}else{let{parameters:h}=this.storyStoreValue.projectAnnotations,{initialGlobals:f,globals:m}=this.storyStoreValue.userGlobals;if(this.channel.emit(Oa,{globals:m,initialGlobals:f,storyGlobals:{},userGlobals:m}),M1(c)||c.entry.tags?.includes(N1)){if(!c.csfFiles)throw new SE({storyId:o});({parameters:h}=this.storyStoreValue.preparedMetaFromCSFFile({csfFile:c.csfFiles[0]}))}this.channel.emit(Pv,{id:o,parameters:h})}Hi(c)?(Yt(!!c.story),this.storyRenders.push(c),this.currentRender.renderToElement(this.view.prepareForStory(c.story))):this.currentRender.renderToElement(this.view.prepareForDocs(),this.renderStoryToElement.bind(this))}async teardownRender(t,{viewModeChanged:r=!1}={}){this.storyRenders=this.storyRenders.filter(n=>n!==t),await t?.teardown?.({viewModeChanged:r})}mainStoryCallbacks(t){return{showStoryDuringRender:a(()=>this.view.showStoryDuringRender(),"showStoryDuringRender"),showMain:a(()=>this.view.showMain(),"showMain"),showError:a(r=>this.renderError(t,r),"showError"),showException:a(r=>this.renderException(t,r),"showException")}}renderPreviewEntryError(t,r){super.renderPreviewEntryError(t,r),this.view.showErrorDisplay(r)}renderMissingStory(){this.view.showNoPreview(),this.channel.emit(lc)}renderStoryLoadingException(t,r){Ie.error(r),this.view.showErrorDisplay(r),this.channel.emit(lc,t)}renderException(t,r){let{name:n="Error",message:o=String(r),stack:i}=r,s=this.currentRender?.renderId;this.channel.emit(Lv,{name:n,message:o,stack:i}),this.channel.emit(mn,{newPhase:"errored",renderId:s,storyId:t}),this.view.showErrorDisplay(r),Ie.error(`Error rendering story '${t}':`),Ie.error(r)}renderError(t,{title:r,description:n}){let o=this.currentRender?.renderId;this.channel.emit(jv,{title:r,description:n}),this.channel.emit(mn,{newPhase:"errored",renderId:o,storyId:t}),this.view.showErrorDisplay({message:r,stack:n}),Ie.error(`Error rendering story ${r}: ${n}`)}};a($1,"PreviewWithSelection");var L1=$1,ep=He(hp(),1),e4=He(hp(),1),Rg=/^[a-zA-Z0-9 _-]*$/,D1=/^-?[0-9]+(\.[0-9]+)?$/,t4=/^#([a-f0-9]{3,4}|[a-f0-9]{6}|[a-f0-9]{8})$/i,F1=/^(rgba?|hsla?)\(([0-9]{1,3}),\s?([0-9]{1,3})%?,\s?([0-9]{1,3})%?,?\s?([0-9](\.[0-9]{1,2})?)?\)$/i,tp=a((e="",t)=>e===null||e===""||!Rg.test(e)?!1:t==null||t instanceof Date||typeof t=="number"||typeof t=="boolean"?!0:typeof t=="string"?Rg.test(t)||D1.test(t)||t4.test(t)||F1.test(t):Array.isArray(t)?t.every(r=>tp(e,r)):Dt(t)?Object.entries(t).every(([r,n])=>tp(r,n)):!1,"validateArgs"),r4={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(F1);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 D1.test(e)?Number(e):e}},qg=a(e=>{let t=e.split(";").map(r=>r.replace("=","~").replace(":","="));return Object.entries((0,e4.parse)(t.join(";"),r4)).reduce((r,[n,o])=>tp(n,o)?Object.assign(r,{[n]:o}):(Be.warn(ge`
923
- Omitted potentially unsafe URL args.
924
-
925
- More info: https://storybook.js.org/docs/writing-stories/args#setting-args-through-the-url?ref=error
926
- `),r),{})},"parseArgsParam"),{history:B1,document:Lr}=te;function U1(e){let t=(e||"").match(/^\/story\/(.+)/);if(!t)throw new Error(`Invalid path '${e}', must start with '/story/'`);return t[1]}a(U1,"pathToId");var H1=a(({selection:e,extraParams:t})=>{let r=Lr?.location.search.slice(1),{path:n,selectedKind:o,selectedStory:i,...s}=(0,ep.parse)(r);return`?${(0,ep.stringify)({...s,...t,...e&&{id:e.storyId,viewMode:e.viewMode}})}`},"getQueryString"),n4=a(e=>{if(!e)return;let t=H1({selection:e}),{hash:r=""}=Lr.location;Lr.title=e.storyId,B1.replaceState({},"",`${Lr.location.pathname}${t}${r}`)},"setPath"),o4=a(e=>e!=null&&typeof e=="object"&&Array.isArray(e)===!1,"isObject"),Pa=a(e=>{if(e!==void 0){if(typeof e=="string")return e;if(Array.isArray(e))return Pa(e[0]);if(o4(e))return Pa(Object.values(e).filter(Boolean))}},"getFirstString"),a4=a(()=>{if(typeof Lr<"u"){let e=Lr.location.search.slice(1),t=(0,ep.parse)(e),r=typeof t.args=="string"?qg(t.args):void 0,n=typeof t.globals=="string"?qg(t.globals):void 0,o=Pa(t.viewMode);(typeof o!="string"||!o.match(/docs|story/))&&(o="story");let i=Pa(t.path),s=i?U1(i):Pa(t.id);if(s)return{storySpecifier:s,args:r,globals:n,viewMode:o}}return null},"getSelectionSpecifierFromPath"),V1=class{constructor(){this.selectionSpecifier=a4()}setSelection(t){this.selection=t,n4(this.selection)}setQueryParams(t){let r=H1({extraParams:t}),{hash:n=""}=Lr.location;B1.replaceState({},"",`${Lr.location.pathname}${r}${n}`)}};a(V1,"UrlStore");var J1=V1,i4=He($D(),1),s4=He(hp(),1),{document:it}=te,Ig=100,z1=(e=>(e.MAIN="MAIN",e.NOPREVIEW="NOPREVIEW",e.PREPARING_STORY="PREPARING_STORY",e.PREPARING_DOCS="PREPARING_DOCS",e.ERROR="ERROR",e))(z1||{}),Gu={PREPARING_STORY:"sb-show-preparing-story",PREPARING_DOCS:"sb-show-preparing-docs",MAIN:"sb-show-main",NOPREVIEW:"sb-show-nopreview",ERROR:"sb-show-errordisplay"},Ku={centered:"sb-main-centered",fullscreen:"sb-main-fullscreen",padded:"sb-main-padded"},Ng=new i4.default({escapeXML:!0}),W1=class{constructor(){if(this.testing=!1,typeof it<"u"){let{__SPECIAL_TEST_PARAMETER__:t}=(0,s4.parse)(it.location.search.slice(1));switch(t){case"preparing-story":{this.showPreparingStory(),this.testing=!0;break}case"preparing-docs":{this.showPreparingDocs(),this.testing=!0;break}}}}prepareForStory(t){return this.showStory(),this.applyLayout(t.parameters.layout),it.documentElement.scrollTop=0,it.documentElement.scrollLeft=0,this.storyRoot()}storyRoot(){return it.getElementById("storybook-root")}prepareForDocs(){return this.showMain(),this.showDocs(),this.applyLayout("fullscreen"),it.documentElement.scrollTop=0,it.documentElement.scrollLeft=0,this.docsRoot()}docsRoot(){return it.getElementById("storybook-docs")}applyLayout(t="padded"){if(t==="none"){it.body.classList.remove(this.currentLayoutClass),this.currentLayoutClass=null;return}this.checkIfLayoutExists(t);let r=Ku[t];it.body.classList.remove(this.currentLayoutClass),it.body.classList.add(r),this.currentLayoutClass=r}checkIfLayoutExists(t){Ku[t]||Ie.warn(ge`
927
- The desired layout: ${t} is not a valid option.
928
- The possible options are: ${Object.keys(Ku).join(", ")}, none.
929
- `)}showMode(t){clearTimeout(this.preparingTimeout),Object.keys(z1).forEach(r=>{r===t?it.body.classList.add(Gu[r]):it.body.classList.remove(Gu[r])})}showErrorDisplay({message:t="",stack:r=""}){let n=t,o=r,i=t.split(`
930
- `);i.length>1&&([n]=i,o=i.slice(1).join(`
931
- `).replace(/^\n/,"")),it.getElementById("error-message").innerHTML=Ng.toHtml(n),it.getElementById("error-stack").innerHTML=Ng.toHtml(o),this.showMode("ERROR")}showNoPreview(){this.testing||(this.showMode("NOPREVIEW"),this.storyRoot()?.setAttribute("hidden","true"),this.docsRoot()?.setAttribute("hidden","true"))}showPreparingStory({immediate:t=!1}={}){clearTimeout(this.preparingTimeout),t?this.showMode("PREPARING_STORY"):this.preparingTimeout=setTimeout(()=>this.showMode("PREPARING_STORY"),Ig)}showPreparingDocs({immediate:t=!1}={}){clearTimeout(this.preparingTimeout),t?this.showMode("PREPARING_DOCS"):this.preparingTimeout=setTimeout(()=>this.showMode("PREPARING_DOCS"),Ig)}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(){it.body.classList.add(Gu.MAIN)}};a(W1,"WebView");var G1=W1,K1=class extends L1{constructor(t,r){super(t,r,new J1,new G1),this.importFn=t,this.getProjectAnnotations=r,te.__STORYBOOK_PREVIEW__=this}};a(K1,"PreviewWeb");var l4=K1,{document:fn}=te,u4=["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"],c4="script",jg="scripts-root";function Us(){let e=fn.createEvent("Event");e.initEvent("DOMContentLoaded",!0,!0),fn.dispatchEvent(e)}a(Us,"simulateDOMContentLoaded");function Y1(e,t,r){let n=fn.createElement("script");n.type=e.type==="module"?"module":"text/javascript",e.src?(n.onload=t,n.onerror=t,n.src=e.src):n.textContent=e.innerText,r?r.appendChild(n):fn.head.appendChild(n),e.parentNode.removeChild(e),e.src||t()}a(Y1,"insertScript");function wy(e,t,r=0){e[r](()=>{r++,r===e.length?t():wy(e,t,r)})}a(wy,"insertScriptsSequentially");function X1(e){let t=fn.getElementById(jg);t?t.innerHTML="":(t=fn.createElement("div"),t.id=jg,fn.body.appendChild(t));let r=Array.from(e.querySelectorAll(c4));if(r.length){let n=[];r.forEach(o=>{let i=o.getAttribute("type");(!i||u4.includes(i))&&n.push(s=>Y1(o,s,t))}),n.length&&wy(n,Us,void 0)}else Us()}a(X1,"simulatePageLoad");var d4="storybook/docs",p4=`${d4}/snippet-rendered`;async function Q1(e,t){let r=t.parameters?.docs?.source?.transform,{id:n,unmappedArgs:o}=t,i=r&&e?r?.(e,t):e,s=i?await i:void 0;qt.getChannel().emit(p4,{id:n,source:s,args:o})}a(Q1,"emitTransformCode");var Ka={depth:10,clearOnStoryChange:!0,limit:50},f4=a((e={})=>{Object.assign(Ka,e)},"configureActions"),Z1=a((e,t)=>{let r=Object.getPrototypeOf(e);return!r||t(r)?r:Z1(r,t)},"findProto"),h4=a(e=>!!(typeof e=="object"&&e&&Z1(e,t=>/^Synthetic(?:Base)?Event$/.test(t.constructor.name))&&typeof e.persist=="function"),"isReactSyntheticEvent"),m4=a(e=>{if(h4(e)){let t=Object.create(e.constructor.prototype,Object.getOwnPropertyDescriptors(e));t.persist();let r=Object.getOwnPropertyDescriptor(t,"view"),n=r?.value;return typeof n=="object"&&n?.constructor.name==="Window"&&Object.defineProperty(t,"view",{...r,value:Object.create(n.constructor.prototype)}),t}return e},"serializeArg");function Fo(e,t={}){let r={...Ka,...t},n=a(function(...o){if(t.implicit){let p=("__STORYBOOK_PREVIEW__"in te?te.__STORYBOOK_PREVIEW__:void 0)?.storyRenders.find(h=>h.phase==="playing"||h.phase==="rendering");if(p){let h=!globalThis?.FEATURES?.disallowImplicitActionsInRenderV8,f=new mE({phase:p.phase,name:e,deprecated:h});if(h)console.warn(f);else throw f}}let i=qt.getChannel(),s=Date.now().toString(36)+Math.random().toString(36).substring(2),l=5,c=o.map(m4),u=o.length>1?c:c[0],d={id:s,count:0,data:{name:e,args:u},options:{...r,maxDepth:l+(r.depth||3)}};i.emit(WE,d)},"actionHandler");return n.isAction=!0,n.implicit=t.implicit,n}a(Fo,"action");var y4=a((...e)=>{let t=Ka,r=e;r.length===1&&Array.isArray(r[0])&&([r]=r),r.length!==1&&typeof r[r.length-1]!="string"&&(t={...Ka,...r.pop()});let n=r[0];(r.length!==1||typeof n=="string")&&(n={},r.forEach(i=>{n[i]=i}));let o={};return Object.keys(n).forEach(i=>{o[i]=Fo(n[i],t)}),o},"actions"),b4={"@storybook/global":Vv,"storybook/test":p0,"storybook/actions":zE,"storybook/preview-api":hc,"storybook/internal/channels":zv,"storybook/internal/client-logger":Gv,"storybook/internal/core-events":mp,"storybook/internal/types":VE,"storybook/internal/preview-errors":lE,"storybook/internal/preview-api":hc};async function eq(){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(),r=e.searchParams.get("id");if(!r){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}g4(t,r)}a(eq,"maybeSetupPreviewNavigator");var g4=a(async(e,t)=>{let r={entries:{}};for(let l of Object.values(e.entries)){let c=l.title.split("/"),u=r;for(let d of c)u.entries||(u.entries={}),u.entries[d]?t===l.id&&(u.entries[d].isActive=!0):u.entries[d]={title:d,isActive:t===l.id,entries:{}},u=u.entries[d];u.entries||(u.entries={}),u.entries[l.name]={id:l.id,name:l.name,href:`?id=${l.id}&viewMode=${l.type}&navigator=true`,isActive:t===l.id}}let n=a(l=>{if("entries"in l&&"title"in l){let u=l;return`
932
- <li class="sb-navigator-branch">
933
- <details${u.isActive?" open":""}>
934
- <summary class="sb-navigator-title">
935
- ${u.title}
936
- </summary>
937
- <ul class="sb-navigator-entries" aria-label="${u.title}">
938
- ${Object.values(u.entries).map(n).join("")}
939
- </ul>
940
- </details>
941
- </li>
942
- `}let c=l;return`
943
- <li class="sb-navigator-story-item">
944
- <a href="${c.href}"
945
- class="sb-navigator-story-link${c.isActive?" active":""}"
946
- aria-current="${c.isActive?"location":"false"}">${c.name}</a>
947
- </li>
948
- `},"createHtmlForNode"),o=Object.values(r.entries).map(n).join(""),i=document.createElement("nav");i.id="sb-navigator-container",i.setAttribute("role","navigation"),i.setAttribute("aria-label","Story navigation"),i.innerHTML=`
949
- <ul class="sb-navigator-list">${o}</ul>
950
- `,document.body.insertBefore(i,document.body.firstChild);let s=document.createElement("style");s.id="sb-navigator-style",s.textContent=`
951
- body {
952
- display: grid !important;
953
- grid-template-columns: 300px 1fr;
954
- font-family: 'Nunito', sans-serif;
955
- height: 100vh;
956
- margin: 0;
957
-
958
- --text-color: rgb(46, 52, 56);
959
- --bg-color: rgb(246, 249, 252);
960
-
961
- @media (prefers-color-scheme: dark) {
962
- --text-color: rgb(201, 205, 207);
963
- --bg-color: rgb(34, 36, 37);
964
- }
965
- }
966
- #storybook-root, #storybook-docs {
967
- overflow-y: auto;
968
- max-height: 100vh;
969
- max-width: 100%;
970
- }
971
- #sb-navigator-container, #sb-navigator-container * {
972
- box-sizing: border-box;
973
- }
974
- #sb-navigator-container {
975
- height: 100vh;
976
- overflow-y: auto;
977
- border-right: 1px solid #eee;
978
- padding: 1rem;
979
- font-size: 14px;
980
- color: var(--text-color);
981
- background-color: var(--bg-color);
982
- align-self: start;
983
- z-index: 1000;
984
- }
985
- .sb-main-padded #sb-navigator-container {
986
- margin: -1rem 1rem -1rem -1rem;
987
- }
988
- .sb-navigator-list {
989
- list-style-type: none;
990
- padding: 0;
991
- margin: 0;
992
- }
993
- .sb-navigator-branch {
994
- list-style-type: none;
995
- }
996
- .sb-navigator-item {
997
- margin-bottom: 15px;
998
- }
999
- .sb-navigator-title {
1000
- color: var(--text-color);
1001
- text-decoration: none;
1002
- padding-block: 5px;
1003
- cursor: pointer;
1004
- }
1005
- .sb-navigator-entries {
1006
- padding-left: 15px;
1007
- }
1008
- .sb-navigator-story-item {
1009
- margin-bottom: 8px;
1010
- margin-left: 8px;
1011
- }
1012
- .sb-navigator-story-link {
1013
- color: var(--text-color);
1014
- }
1015
- .sb-navigator-story-link.active {
1016
- font-weight: bold;
1017
- color: rgb(2, 156, 253);
1018
- }
1019
- `,document.head.appendChild(s),i.querySelector(".sb-navigator-story-link.active")?.closest("details")?.scrollIntoView({block:"center"})},"setupPreviewNavigator"),v4=He(LD(),1),Yu;function tq(){return Yu||(Yu=new v4.default(te.navigator?.userAgent).getBrowserInfo()),Yu}a(tq,"getBrowserInfo");function rq(e){return e.browserInfo=tq(),e}a(rq,"prepareForTelemetry");function nq(e){let t=e.error||e;t.fromStorybook&&te.sendTelemetryError(t)}a(nq,"errorListener");function oq({reason:e}){e.fromStorybook&&te.sendTelemetryError(e)}a(oq,"unhandledRejectionListener");function Ey(){uF.forEach(e=>{te[Jv[e]]=b4[e]}),te.sendTelemetryError=e=>{te.__STORYBOOK_ADDONS_CHANNEL__.emit(Uv,rq(e))},te.addEventListener("error",nq),te.addEventListener("unhandledrejection",oq),eq()}a(Ey,"setup");Ey();const{createBrowserChannel:w4}=__STORYBOOK_MODULE_CHANNELS__,{addons:E4}=__STORYBOOK_MODULE_PREVIEW_API__,xy=w4({page:"preview"});E4.setChannel(xy);window.__STORYBOOK_ADDONS_CHANNEL__=xy;window.CONFIG_TYPE==="DEVELOPMENT"&&(window.__STORYBOOK_SERVER_CHANNEL__=xy);const x4="modulepreload",T4=function(e,t){return new URL(e,t).href},kg={},Xe=function(t,r,n){let o=Promise.resolve();if(r&&r.length>0){let u=function(d){return Promise.all(d.map(p=>Promise.resolve(p).then(h=>({status:"fulfilled",value:h}),h=>({status:"rejected",reason:h}))))};const s=document.getElementsByTagName("link"),l=document.querySelector("meta[property=csp-nonce]"),c=l?.nonce||l?.getAttribute("nonce");o=u(r.map(d=>{if(d=T4(d,n),d in kg)return;kg[d]=!0;const p=d.endsWith(".css"),h=p?'[rel="stylesheet"]':"";if(n)for(let m=s.length-1;m>=0;m--){const b=s[m];if(b.href===d&&(!p||b.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${d}"]${h}`))return;const f=document.createElement("link");if(f.rel=p?"stylesheet":x4,p||(f.as="script"),f.crossOrigin="",f.href=d,c&&f.setAttribute("nonce",c),document.head.appendChild(f),p)return new Promise((m,b)=>{f.addEventListener("load",m),f.addEventListener("error",()=>b(new Error(`Unable to preload CSS for ${d}`)))})}))}function i(s){const l=new Event("vite:preloadError",{cancelable:!0});if(l.payload=s,window.dispatchEvent(l),!l.defaultPrevented)throw s}return o.then(s=>{for(const l of s||[])l.status==="rejected"&&i(l.reason);return t().catch(i)})},S4={"./src/tuix-button/stories/tuix-button.stories.ts":()=>Xe(()=>import("./tuix-button.stories-Dm_yifox.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9]),import.meta.url),"./src/tuix-checkbox/stories/tuix-checkbox.stories.ts":()=>Xe(()=>import("./tuix-checkbox.stories-DmzoygjC.js"),__vite__mapDeps([10,1,2,3,4,5,6,7,8,9]),import.meta.url),"./src/tuix-dropdown/stories/tuix-dropdown-object-list.stories.ts":()=>Xe(()=>import("./tuix-dropdown-object-list.stories-Neeajtj-.js"),__vite__mapDeps([11,1,2,3,4,5,6,7,8,9]),import.meta.url),"./src/tuix-dropdown/stories/tuix-dropdown.stories.ts":()=>Xe(()=>import("./tuix-dropdown.stories-B7ea8QAz.js"),__vite__mapDeps([12,1,2,3,4,5,6,7,8,9]),import.meta.url),"./src/tuix-icon-button/stories/tuix-icon-button.stories.ts":()=>Xe(()=>import("./tuix-icon-button.stories-CgbOSRO4.js"),__vite__mapDeps([13,6,5,3,4,2]),import.meta.url),"./src/tuix-icon/stories/tuix-icon.stories.ts":()=>Xe(()=>import("./tuix-icon.stories-CjN2XsKx.js"),__vite__mapDeps([14,5,4]),import.meta.url),"./src/tuix-input/stories/tuix-input.stories.ts":()=>Xe(()=>import("./tuix-input.stories-CD7onvw2.js"),__vite__mapDeps([15,1,2,3,4,5,6,7,8,9]),import.meta.url),"./src/tuix-link/stories/tuix-link.stories.ts":()=>Xe(()=>import("./tuix-link.stories-CT7pzGlx.js"),__vite__mapDeps([16,1,2,3,4,5,6,7,8,9]),import.meta.url),"./src/tuix-modal/stories/tuix-modal.stories.ts":()=>Xe(()=>import("./tuix-modal.stories-B6v3cOPq.js"),__vite__mapDeps([17,9,3,7,5,4]),import.meta.url),"./src/tuix-paper/stories/tuix-paper.stories.ts":()=>Xe(()=>import("./tuix-paper.stories-CLnRPHNK.js"),__vite__mapDeps([18,1,2,3,4,5,6,7,8,9]),import.meta.url),"./src/tuix-radio-button/stories/tuix-radio-button.stories.ts":()=>Xe(()=>import("./tuix-radio-button.stories-BwkKC3a9.js"),__vite__mapDeps([19,1,2,3,4,5,6,7,8,9]),import.meta.url),"./src/tuix-table/stories/tuix-table.stories.ts":()=>Xe(()=>import("./tuix-table.stories-Bn-aZa0J.js"),__vite__mapDeps([20,5,4]),import.meta.url),"./src/tuix-text/stories/tuix-text.stories.ts":()=>Xe(()=>import("./tuix-text.stories-BNIqPsGD.js"),__vite__mapDeps([21,1,2,3,4,5,6,7,8,9]),import.meta.url),"./src/tuix-toast/stories/tuix-toast.stories.ts":()=>Xe(()=>import("./tuix-toast.stories-CRYiLiHK.js"),__vite__mapDeps([22,8,3,2,5,7]),import.meta.url),"./src/tuix-toggle-button/stories/tuix-toggle-button.stories.ts":()=>Xe(()=>import("./tuix-toggle-button.stories-CY6wlDnA.js"),__vite__mapDeps([23,1,2,3,4,5,6,7,8,9]),import.meta.url)};async function C4(e){return await S4[e]()}var P4=Object.defineProperty,O4=(e,t)=>{for(var r in t)P4(e,r,{get:t[r],enumerable:!0})};/**
1020
- * @license
1021
- * Copyright 2019 Google LLC
1022
- * SPDX-License-Identifier: BSD-3-Clause
1023
- */const Vi=window,Ty=Vi.ShadowRoot&&(Vi.ShadyCSS===void 0||Vi.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,Sy=Symbol(),Mg=new WeakMap;let aq=class{constructor(t,r,n){if(this._$cssResult$=!0,n!==Sy)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=r}get styleSheet(){let t=this.o;const r=this.t;if(Ty&&t===void 0){const n=r!==void 0&&r.length===1;n&&(t=Mg.get(r)),t===void 0&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),n&&Mg.set(r,t))}return t}toString(){return this.cssText}};const _4=e=>new aq(typeof e=="string"?e:e+"",void 0,Sy),DG=(e,...t)=>{const r=e.length===1?e[0]:t.reduce(((n,o,i)=>n+(s=>{if(s._$cssResult$===!0)return s.cssText;if(typeof s=="number")return s;throw Error("Value passed to 'css' function must be a 'css' function result: "+s+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(o)+e[i+1]),e[0]);return new aq(r,e,Sy)},A4=(e,t)=>{Ty?e.adoptedStyleSheets=t.map((r=>r instanceof CSSStyleSheet?r:r.styleSheet)):t.forEach((r=>{const n=document.createElement("style"),o=Vi.litNonce;o!==void 0&&n.setAttribute("nonce",o),n.textContent=r.cssText,e.appendChild(n)}))},$g=Ty?e=>e:e=>e instanceof CSSStyleSheet?(t=>{let r="";for(const n of t.cssRules)r+=n.cssText;return _4(r)})(e):e;/**
1024
- * @license
1025
- * Copyright 2017 Google LLC
1026
- * SPDX-License-Identifier: BSD-3-Clause
1027
- */var Xu;const Hs=window,Lg=Hs.trustedTypes,R4=Lg?Lg.emptyScript:"",Dg=Hs.reactiveElementPolyfillSupport,rp={toAttribute(e,t){switch(t){case Boolean:e=e?R4:null;break;case Object:case Array:e=e==null?e:JSON.stringify(e)}return e},fromAttribute(e,t){let r=e;switch(t){case Boolean:r=e!==null;break;case Number:r=e===null?null:Number(e);break;case Object:case Array:try{r=JSON.parse(e)}catch{r=null}}return r}},iq=(e,t)=>t!==e&&(t==t||e==e),Qu={attribute:!0,type:String,converter:rp,reflect:!1,hasChanged:iq},np="finalized";let zn=class extends HTMLElement{constructor(){super(),this._$Ei=new Map,this.isUpdatePending=!1,this.hasUpdated=!1,this._$El=null,this._$Eu()}static addInitializer(t){var r;this.finalize(),((r=this.h)!==null&&r!==void 0?r:this.h=[]).push(t)}static get observedAttributes(){this.finalize();const t=[];return this.elementProperties.forEach(((r,n)=>{const o=this._$Ep(n,r);o!==void 0&&(this._$Ev.set(o,n),t.push(o))})),t}static createProperty(t,r=Qu){if(r.state&&(r.attribute=!1),this.finalize(),this.elementProperties.set(t,r),!r.noAccessor&&!this.prototype.hasOwnProperty(t)){const n=typeof t=="symbol"?Symbol():"__"+t,o=this.getPropertyDescriptor(t,n,r);o!==void 0&&Object.defineProperty(this.prototype,t,o)}}static getPropertyDescriptor(t,r,n){return{get(){return this[r]},set(o){const i=this[t];this[r]=o,this.requestUpdate(t,i,n)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)||Qu}static finalize(){if(this.hasOwnProperty(np))return!1;this[np]=!0;const t=Object.getPrototypeOf(this);if(t.finalize(),t.h!==void 0&&(this.h=[...t.h]),this.elementProperties=new Map(t.elementProperties),this._$Ev=new Map,this.hasOwnProperty("properties")){const r=this.properties,n=[...Object.getOwnPropertyNames(r),...Object.getOwnPropertySymbols(r)];for(const o of n)this.createProperty(o,r[o])}return this.elementStyles=this.finalizeStyles(this.styles),!0}static finalizeStyles(t){const r=[];if(Array.isArray(t)){const n=new Set(t.flat(1/0).reverse());for(const o of n)r.unshift($g(o))}else t!==void 0&&r.push($g(t));return r}static _$Ep(t,r){const n=r.attribute;return n===!1?void 0:typeof n=="string"?n:typeof t=="string"?t.toLowerCase():void 0}_$Eu(){var t;this._$E_=new Promise((r=>this.enableUpdating=r)),this._$AL=new Map,this._$Eg(),this.requestUpdate(),(t=this.constructor.h)===null||t===void 0||t.forEach((r=>r(this)))}addController(t){var r,n;((r=this._$ES)!==null&&r!==void 0?r:this._$ES=[]).push(t),this.renderRoot!==void 0&&this.isConnected&&((n=t.hostConnected)===null||n===void 0||n.call(t))}removeController(t){var r;(r=this._$ES)===null||r===void 0||r.splice(this._$ES.indexOf(t)>>>0,1)}_$Eg(){this.constructor.elementProperties.forEach(((t,r)=>{this.hasOwnProperty(r)&&(this._$Ei.set(r,this[r]),delete this[r])}))}createRenderRoot(){var t;const r=(t=this.shadowRoot)!==null&&t!==void 0?t:this.attachShadow(this.constructor.shadowRootOptions);return A4(r,this.constructor.elementStyles),r}connectedCallback(){var t;this.renderRoot===void 0&&(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),(t=this._$ES)===null||t===void 0||t.forEach((r=>{var n;return(n=r.hostConnected)===null||n===void 0?void 0:n.call(r)}))}enableUpdating(t){}disconnectedCallback(){var t;(t=this._$ES)===null||t===void 0||t.forEach((r=>{var n;return(n=r.hostDisconnected)===null||n===void 0?void 0:n.call(r)}))}attributeChangedCallback(t,r,n){this._$AK(t,n)}_$EO(t,r,n=Qu){var o;const i=this.constructor._$Ep(t,n);if(i!==void 0&&n.reflect===!0){const s=(((o=n.converter)===null||o===void 0?void 0:o.toAttribute)!==void 0?n.converter:rp).toAttribute(r,n.type);this._$El=t,s==null?this.removeAttribute(i):this.setAttribute(i,s),this._$El=null}}_$AK(t,r){var n;const o=this.constructor,i=o._$Ev.get(t);if(i!==void 0&&this._$El!==i){const s=o.getPropertyOptions(i),l=typeof s.converter=="function"?{fromAttribute:s.converter}:((n=s.converter)===null||n===void 0?void 0:n.fromAttribute)!==void 0?s.converter:rp;this._$El=i,this[i]=l.fromAttribute(r,s.type),this._$El=null}}requestUpdate(t,r,n){let o=!0;t!==void 0&&(((n=n||this.constructor.getPropertyOptions(t)).hasChanged||iq)(this[t],r)?(this._$AL.has(t)||this._$AL.set(t,r),n.reflect===!0&&this._$El!==t&&(this._$EC===void 0&&(this._$EC=new Map),this._$EC.set(t,n))):o=!1),!this.isUpdatePending&&o&&(this._$E_=this._$Ej())}async _$Ej(){this.isUpdatePending=!0;try{await this._$E_}catch(r){Promise.reject(r)}const t=this.scheduleUpdate();return t!=null&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){var t;if(!this.isUpdatePending)return;this.hasUpdated,this._$Ei&&(this._$Ei.forEach(((o,i)=>this[i]=o)),this._$Ei=void 0);let r=!1;const n=this._$AL;try{r=this.shouldUpdate(n),r?(this.willUpdate(n),(t=this._$ES)===null||t===void 0||t.forEach((o=>{var i;return(i=o.hostUpdate)===null||i===void 0?void 0:i.call(o)})),this.update(n)):this._$Ek()}catch(o){throw r=!1,this._$Ek(),o}r&&this._$AE(n)}willUpdate(t){}_$AE(t){var r;(r=this._$ES)===null||r===void 0||r.forEach((n=>{var o;return(o=n.hostUpdated)===null||o===void 0?void 0:o.call(n)})),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$Ek(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$E_}shouldUpdate(t){return!0}update(t){this._$EC!==void 0&&(this._$EC.forEach(((r,n)=>this._$EO(n,this[n],r))),this._$EC=void 0),this._$Ek()}updated(t){}firstUpdated(t){}};zn[np]=!0,zn.elementProperties=new Map,zn.elementStyles=[],zn.shadowRootOptions={mode:"open"},Dg?.({ReactiveElement:zn}),((Xu=Hs.reactiveElementVersions)!==null&&Xu!==void 0?Xu:Hs.reactiveElementVersions=[]).push("1.6.3");/**
1028
- * @license
1029
- * Copyright 2017 Google LLC
1030
- * SPDX-License-Identifier: BSD-3-Clause
1031
- */var Zu;const Vs=window,Co=Vs.trustedTypes,Fg=Co?Co.createPolicy("lit-html",{createHTML:e=>e}):void 0,op="$lit$",Ir=`lit$${(Math.random()+"").slice(9)}$`,sq="?"+Ir,q4=`<${sq}>`,Pn=document,Ya=()=>Pn.createComment(""),Xa=e=>e===null||typeof e!="object"&&typeof e!="function",lq=Array.isArray,I4=e=>lq(e)||typeof e?.[Symbol.iterator]=="function",ec=`[
1032
- \f\r]`,ia=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Bg=/-->/g,Ug=/>/g,en=RegExp(`>|${ec}(?:([^\\s"'>=/]+)(${ec}*=${ec}*(?:[^
1033
- \f\r"'\`<>=]|("|')|))|$)`,"g"),Hg=/'/g,Vg=/"/g,uq=/^(?:script|style|textarea|title)$/i,N4=e=>(t,...r)=>({_$litType$:e,strings:t,values:r}),BG=N4(1),Po=Symbol.for("lit-noChange"),Qe=Symbol.for("lit-nothing"),Jg=new WeakMap,ln=Pn.createTreeWalker(Pn,129,null,!1);function cq(e,t){if(!Array.isArray(e)||!e.hasOwnProperty("raw"))throw Error("invalid template strings array");return Fg!==void 0?Fg.createHTML(t):t}const j4=(e,t)=>{const r=e.length-1,n=[];let o,i=t===2?"<svg>":"",s=ia;for(let l=0;l<r;l++){const c=e[l];let u,d,p=-1,h=0;for(;h<c.length&&(s.lastIndex=h,d=s.exec(c),d!==null);)h=s.lastIndex,s===ia?d[1]==="!--"?s=Bg:d[1]!==void 0?s=Ug:d[2]!==void 0?(uq.test(d[2])&&(o=RegExp("</"+d[2],"g")),s=en):d[3]!==void 0&&(s=en):s===en?d[0]===">"?(s=o??ia,p=-1):d[1]===void 0?p=-2:(p=s.lastIndex-d[2].length,u=d[1],s=d[3]===void 0?en:d[3]==='"'?Vg:Hg):s===Vg||s===Hg?s=en:s===Bg||s===Ug?s=ia:(s=en,o=void 0);const f=s===en&&e[l+1].startsWith("/>")?" ":"";i+=s===ia?c+q4:p>=0?(n.push(u),c.slice(0,p)+op+c.slice(p)+Ir+f):c+Ir+(p===-2?(n.push(void 0),l):f)}return[cq(e,i+(e[r]||"<?>")+(t===2?"</svg>":"")),n]};class Qa{constructor({strings:t,_$litType$:r},n){let o;this.parts=[];let i=0,s=0;const l=t.length-1,c=this.parts,[u,d]=j4(t,r);if(this.el=Qa.createElement(u,n),ln.currentNode=this.el.content,r===2){const p=this.el.content,h=p.firstChild;h.remove(),p.append(...h.childNodes)}for(;(o=ln.nextNode())!==null&&c.length<l;){if(o.nodeType===1){if(o.hasAttributes()){const p=[];for(const h of o.getAttributeNames())if(h.endsWith(op)||h.startsWith(Ir)){const f=d[s++];if(p.push(h),f!==void 0){const m=o.getAttribute(f.toLowerCase()+op).split(Ir),b=/([.?@])?(.*)/.exec(f);c.push({type:1,index:i,name:b[2],strings:m,ctor:b[1]==="."?M4:b[1]==="?"?L4:b[1]==="@"?D4:Pu})}else c.push({type:6,index:i})}for(const h of p)o.removeAttribute(h)}if(uq.test(o.tagName)){const p=o.textContent.split(Ir),h=p.length-1;if(h>0){o.textContent=Co?Co.emptyScript:"";for(let f=0;f<h;f++)o.append(p[f],Ya()),ln.nextNode(),c.push({type:2,index:++i});o.append(p[h],Ya())}}}else if(o.nodeType===8)if(o.data===sq)c.push({type:2,index:i});else{let p=-1;for(;(p=o.data.indexOf(Ir,p+1))!==-1;)c.push({type:7,index:i}),p+=Ir.length-1}i++}}static createElement(t,r){const n=Pn.createElement("template");return n.innerHTML=t,n}}function Oo(e,t,r=e,n){var o,i,s,l;if(t===Po)return t;let c=n!==void 0?(o=r._$Co)===null||o===void 0?void 0:o[n]:r._$Cl;const u=Xa(t)?void 0:t._$litDirective$;return c?.constructor!==u&&((i=c?._$AO)===null||i===void 0||i.call(c,!1),u===void 0?c=void 0:(c=new u(e),c._$AT(e,r,n)),n!==void 0?((s=(l=r)._$Co)!==null&&s!==void 0?s:l._$Co=[])[n]=c:r._$Cl=c),c!==void 0&&(t=Oo(e,c._$AS(e,t.values),c,n)),t}class k4{constructor(t,r){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=r}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){var r;const{el:{content:n},parts:o}=this._$AD,i=((r=t?.creationScope)!==null&&r!==void 0?r:Pn).importNode(n,!0);ln.currentNode=i;let s=ln.nextNode(),l=0,c=0,u=o[0];for(;u!==void 0;){if(l===u.index){let d;u.type===2?d=new Bo(s,s.nextSibling,this,t):u.type===1?d=new u.ctor(s,u.name,u.strings,this,t):u.type===6&&(d=new F4(s,this,t)),this._$AV.push(d),u=o[++c]}l!==u?.index&&(s=ln.nextNode(),l++)}return ln.currentNode=Pn,i}v(t){let r=0;for(const n of this._$AV)n!==void 0&&(n.strings!==void 0?(n._$AI(t,n,r),r+=n.strings.length-2):n._$AI(t[r])),r++}}class Bo{constructor(t,r,n,o){var i;this.type=2,this._$AH=Qe,this._$AN=void 0,this._$AA=t,this._$AB=r,this._$AM=n,this.options=o,this._$Cp=(i=o?.isConnected)===null||i===void 0||i}get _$AU(){var t,r;return(r=(t=this._$AM)===null||t===void 0?void 0:t._$AU)!==null&&r!==void 0?r:this._$Cp}get parentNode(){let t=this._$AA.parentNode;const r=this._$AM;return r!==void 0&&t?.nodeType===11&&(t=r.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,r=this){t=Oo(this,t,r),Xa(t)?t===Qe||t==null||t===""?(this._$AH!==Qe&&this._$AR(),this._$AH=Qe):t!==this._$AH&&t!==Po&&this._(t):t._$litType$!==void 0?this.g(t):t.nodeType!==void 0?this.$(t):I4(t)?this.T(t):this._(t)}k(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}$(t){this._$AH!==t&&(this._$AR(),this._$AH=this.k(t))}_(t){this._$AH!==Qe&&Xa(this._$AH)?this._$AA.nextSibling.data=t:this.$(Pn.createTextNode(t)),this._$AH=t}g(t){var r;const{values:n,_$litType$:o}=t,i=typeof o=="number"?this._$AC(t):(o.el===void 0&&(o.el=Qa.createElement(cq(o.h,o.h[0]),this.options)),o);if(((r=this._$AH)===null||r===void 0?void 0:r._$AD)===i)this._$AH.v(n);else{const s=new k4(i,this),l=s.u(this.options);s.v(n),this.$(l),this._$AH=s}}_$AC(t){let r=Jg.get(t.strings);return r===void 0&&Jg.set(t.strings,r=new Qa(t)),r}T(t){lq(this._$AH)||(this._$AH=[],this._$AR());const r=this._$AH;let n,o=0;for(const i of t)o===r.length?r.push(n=new Bo(this.k(Ya()),this.k(Ya()),this,this.options)):n=r[o],n._$AI(i),o++;o<r.length&&(this._$AR(n&&n._$AB.nextSibling,o),r.length=o)}_$AR(t=this._$AA.nextSibling,r){var n;for((n=this._$AP)===null||n===void 0||n.call(this,!1,!0,r);t&&t!==this._$AB;){const o=t.nextSibling;t.remove(),t=o}}setConnected(t){var r;this._$AM===void 0&&(this._$Cp=t,(r=this._$AP)===null||r===void 0||r.call(this,t))}}class Pu{constructor(t,r,n,o,i){this.type=1,this._$AH=Qe,this._$AN=void 0,this.element=t,this.name=r,this._$AM=o,this.options=i,n.length>2||n[0]!==""||n[1]!==""?(this._$AH=Array(n.length-1).fill(new String),this.strings=n):this._$AH=Qe}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,r=this,n,o){const i=this.strings;let s=!1;if(i===void 0)t=Oo(this,t,r,0),s=!Xa(t)||t!==this._$AH&&t!==Po,s&&(this._$AH=t);else{const l=t;let c,u;for(t=i[0],c=0;c<i.length-1;c++)u=Oo(this,l[n+c],r,c),u===Po&&(u=this._$AH[c]),s||(s=!Xa(u)||u!==this._$AH[c]),u===Qe?t=Qe:t!==Qe&&(t+=(u??"")+i[c+1]),this._$AH[c]=u}s&&!o&&this.j(t)}j(t){t===Qe?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}}class M4 extends Pu{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===Qe?void 0:t}}const $4=Co?Co.emptyScript:"";class L4 extends Pu{constructor(){super(...arguments),this.type=4}j(t){t&&t!==Qe?this.element.setAttribute(this.name,$4):this.element.removeAttribute(this.name)}}class D4 extends Pu{constructor(t,r,n,o,i){super(t,r,n,o,i),this.type=5}_$AI(t,r=this){var n;if((t=(n=Oo(this,t,r,0))!==null&&n!==void 0?n:Qe)===Po)return;const o=this._$AH,i=t===Qe&&o!==Qe||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,s=t!==Qe&&(o===Qe||i);i&&this.element.removeEventListener(this.name,this,o),s&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){var r,n;typeof this._$AH=="function"?this._$AH.call((n=(r=this.options)===null||r===void 0?void 0:r.host)!==null&&n!==void 0?n:this.element,t):this._$AH.handleEvent(t)}}class F4{constructor(t,r,n){this.element=t,this.type=6,this._$AN=void 0,this._$AM=r,this.options=n}get _$AU(){return this._$AM._$AU}_$AI(t){Oo(this,t)}}const B4={I:Bo},zg=Vs.litHtmlPolyfillSupport;zg?.(Qa,Bo),((Zu=Vs.litHtmlVersions)!==null&&Zu!==void 0?Zu:Vs.litHtmlVersions=[]).push("2.8.0");const Js=(e,t,r)=>{var n,o;const i=(n=r?.renderBefore)!==null&&n!==void 0?n:t;let s=i._$litPart$;if(s===void 0){const l=(o=r?.renderBefore)!==null&&o!==void 0?o:null;i._$litPart$=s=new Bo(t.insertBefore(Ya(),l),l,void 0,r??{})}return s._$AI(e),s};/**
1034
- * @license
1035
- * Copyright 2017 Google LLC
1036
- * SPDX-License-Identifier: BSD-3-Clause
1037
- */var tc,rc;let Ji=class extends zn{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){var t,r;const n=super.createRenderRoot();return(t=(r=this.renderOptions).renderBefore)!==null&&t!==void 0||(r.renderBefore=n.firstChild),n}update(t){const r=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=Js(r,this.renderRoot,this.renderOptions)}connectedCallback(){var t;super.connectedCallback(),(t=this._$Do)===null||t===void 0||t.setConnected(!0)}disconnectedCallback(){var t;super.disconnectedCallback(),(t=this._$Do)===null||t===void 0||t.setConnected(!1)}render(){return Po}};Ji.finalized=!0,Ji._$litElement$=!0,(tc=globalThis.litElementHydrateSupport)===null||tc===void 0||tc.call(globalThis,{LitElement:Ji});const Wg=globalThis.litElementPolyfillSupport;Wg?.({LitElement:Ji});((rc=globalThis.litElementVersions)!==null&&rc!==void 0?rc:globalThis.litElementVersions=[]).push("3.3.3");/**
1038
- * @license
1039
- * Copyright 2020 Google LLC
1040
- * SPDX-License-Identifier: BSD-3-Clause
1041
- */const{I:U4}=B4,H4=(e,t)=>t===void 0?e?._$litType$!==void 0:e?._$litType$===t,Gg=()=>document.createComment(""),HG=(e,t,r)=>{var n;const o=e._$AA.parentNode,i=t===void 0?e._$AB:t._$AA;if(r===void 0){const s=o.insertBefore(Gg(),i),l=o.insertBefore(Gg(),i);r=new U4(s,l,e,e.options)}else{const s=r._$AB.nextSibling,l=r._$AM,c=l!==e;if(c){let u;(n=r._$AQ)===null||n===void 0||n.call(r,e),r._$AM=e,r._$AP!==void 0&&(u=e._$AU)!==l._$AU&&r._$AP(u)}if(s!==i||c){let u=r._$AA;for(;u!==s;){const d=u.nextSibling;o.insertBefore(u,i),u=d}}}return r},VG=(e,t,r=e)=>(e._$AI(t,r),e),V4={},JG=(e,t=V4)=>e._$AH=t,zG=e=>e._$AH,WG=e=>{var t;(t=e._$AP)===null||t===void 0||t.call(e,!1,!0);let r=e._$AA;const n=e._$AB.nextSibling;for(;r!==n;){const o=r.nextSibling;r.remove(),r=o}};function J4(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];var n=Array.from(typeof e=="string"?[e]:e);n[n.length-1]=n[n.length-1].replace(/\r?\n([\t ]*)$/,"");var o=n.reduce(function(l,c){var u=c.match(/\n([\t ]+|(?!\s).)/g);return u?l.concat(u.map(function(d){var p,h;return(h=(p=d.match(/[\t ]/g))===null||p===void 0?void 0:p.length)!==null&&h!==void 0?h:0})):l},[]);if(o.length){var i=new RegExp(`
1042
- [ ]{`+Math.min.apply(Math,o)+"}","g");n=n.map(function(l){return l.replace(i,`
1043
- `)})}n[0]=n[0].replace(/^\r?\n/,"");var s=n[0];return t.forEach(function(l,c){var u=s.match(/(?:^|\n)( *)$/),d=u?u[1]:"",p=l;typeof l=="string"&&l.includes(`
1044
- `)&&(p=String(l).split(`
1045
- `).map(function(h,f){return f===0?h:""+d+h}).join(`
1046
- `)),s+=p+n[c+1]}),s}const{global:z4}=__STORYBOOK_MODULE_GLOBAL__,{simulatePageLoad:Kg,simulateDOMContentLoaded:W4}=__STORYBOOK_MODULE_PREVIEW_API__;var G4={};O4(G4,{parameters:()=>fq,render:()=>dq,renderToCanvas:()=>pq});var{Node:K4}=z4,dq=(e,t)=>{let{id:r,component:n}=t;if(!n)throw new Error(`Unable to render story ${r} as the component annotation is missing from the default export`);let o=document.createElement(n);return Object.entries(e).forEach(([i,s])=>{o[i]=s}),o};function pq({storyFn:e,kind:t,name:r,showMain:n,showError:o,forceRemount:i},s){let l=e();if(n(),H4(l)){(i||!s.querySelector('[id="root-inner"]'))&&(s.innerHTML='<div id="root-inner"></div>');let c=s.querySelector('[id="root-inner"]');Js(l,c),Kg(s)}else if(typeof l=="string")s.innerHTML=l,Kg(s);else if(l instanceof K4){if(s.firstChild===l&&!i)return;s.innerHTML="",s.appendChild(l),W4()}else o({title:`Expecting an HTML snippet or DOM node from the story: "${r}" of "${t}".`,description:J4`
1047
- Did you forget to return the HTML snippet from the story?
1048
- Use "() => <your snippet or node>" or when defining the story.
1049
- `})}var fq={renderer:"web-components"};const Y4=Object.freeze(Object.defineProperty({__proto__:null,parameters:fq,render:dq,renderToCanvas:pq},Symbol.toStringTag,{value:"Module"})),{global:zs}=__STORYBOOK_MODULE_GLOBAL__,{setDefaultProjectAnnotations:GG,setProjectAnnotations:KG}=__STORYBOOK_MODULE_PREVIEW_API__;var{window:X4}=zs;X4.STORYBOOK_ENV="web-components";function hq(e){if(!e)return!1;if(typeof e=="string")return!0;throw new Error('Provided component needs to be a string. e.g. component: "my-element"')}function mq(e){if(!e)return!1;if(e.tags&&Array.isArray(e.tags)||e.modules&&Array.isArray(e.modules))return!0;throw new Error(`You need to setup valid meta data in your config.js via setCustomElements().
1050
- See the readme of addon-docs for web components for more details.`)}function yq(){return zs.__STORYBOOK_CUSTOM_ELEMENTS__||zs.__STORYBOOK_CUSTOM_ELEMENTS_MANIFEST__}var{window:Q4,EventSource:Z4}=zs;typeof module<"u"&&module?.hot?.decline&&(module.hot.decline(),new Z4("__webpack_hmr").addEventListener("message",function(e){try{let{action:t}=JSON.parse(e.data);t==="built"&&Q4.location.reload()}catch{}}));var e6=Object.create,Cy=Object.defineProperty,t6=Object.getOwnPropertyDescriptor,r6=Object.getOwnPropertyNames,n6=Object.getPrototypeOf,o6=Object.prototype.hasOwnProperty,q=(e,t)=>Cy(e,"name",{value:t,configurable:!0}),a6=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),i6=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of r6(t))!o6.call(e,o)&&o!==r&&Cy(e,o,{get:()=>t[o],enumerable:!(n=t6(t,o))||n.enumerable});return e},s6=(e,t,r)=>(r=e!=null?e6(n6(e)):{},i6(Cy(r,"default",{value:e,enumerable:!0}),e)),l6=a6((e,t)=>{(function(r,n){typeof e=="object"&&typeof t<"u"?n(e):typeof define=="function"&&define.amd?define(["exports"],n):(r=typeof globalThis<"u"?globalThis:r||self,n(r.jtpp={}))})(e,function(r){function n(y){return y.text!==void 0&&y.text!==""?`'${y.type}' with value '${y.text}'`:`'${y.type}'`}q(n,"tokenToString");let o=class bq extends Error{constructor(_){super(`No parslet found for token: ${n(_)}`),this.token=_,Object.setPrototypeOf(this,bq.prototype)}getToken(){return this.token}};q(o,"NoParsletFoundError");let i=o,s=class gq extends Error{constructor(_){super(`The parsing ended early. The next token was: ${n(_)}`),this.token=_,Object.setPrototypeOf(this,gq.prototype)}getToken(){return this.token}};q(s,"EarlyEndOfParseError");let l=s,c=class vq extends Error{constructor(_,L){let J=`Unexpected type: '${_.type}'.`;L!==void 0&&(J+=` Message: ${L}`),super(J),Object.setPrototypeOf(this,vq.prototype)}};q(c,"UnexpectedTypeError");let u=c;function d(y){return _=>_.startsWith(y)?{type:y,text:y}:null}q(d,"makePunctuationRule");function p(y){let _=0,L,J=y[0],ee=!1;if(J!=="'"&&J!=='"')return null;for(;_<y.length;){if(_++,L=y[_],!ee&&L===J){_++;break}ee=!ee&&L==="\\"}if(L!==J)throw new Error("Unterminated String");return y.slice(0,_)}q(p,"getQuoted");let h=new RegExp("[$_\\p{ID_Start}]|\\\\u\\p{Hex_Digit}{4}|\\\\u\\{0*(?:\\p{Hex_Digit}{1,5}|10\\p{Hex_Digit}{4})\\}","u"),f=new RegExp("[$\\-\\p{ID_Continue}\\u200C\\u200D]|\\\\u\\p{Hex_Digit}{4}|\\\\u\\{0*(?:\\p{Hex_Digit}{1,5}|10\\p{Hex_Digit}{4})\\}","u");function m(y){let _=y[0];if(!h.test(_))return null;let L=1;do{if(_=y[L],!f.test(_))break;L++}while(L<y.length);return y.slice(0,L)}q(m,"getIdentifier");let b=/^(NaN|-?((\d*\.\d+|\d+)([Ee][+-]?\d+)?|Infinity))/;function g(y){var _,L;return(L=(_=b.exec(y))===null||_===void 0?void 0:_[0])!==null&&L!==void 0?L:null}q(g,"getNumber");let v=q(y=>{let _=m(y);return _==null?null:{type:"Identifier",text:_}},"identifierRule");function w(y){return _=>{if(!_.startsWith(y))return null;let L=_[y.length];return L!==void 0&&f.test(L)?null:{type:y,text:y}}}q(w,"makeKeyWordRule");let P=q(y=>{let _=p(y);return _==null?null:{type:"StringValue",text:_}},"stringValueRule"),A=q(y=>y.length>0?null:{type:"EOF",text:""},"eofRule"),R=q(y=>{let _=g(y);return _===null?null:{type:"Number",text:_}},"numberRule"),T=[A,d("=>"),d("("),d(")"),d("{"),d("}"),d("["),d("]"),d("|"),d("&"),d("<"),d(">"),d(","),d(";"),d("*"),d("?"),d("!"),d("="),d(":"),d("..."),d("."),d("#"),d("~"),d("/"),d("@"),w("undefined"),w("null"),w("function"),w("this"),w("new"),w("module"),w("event"),w("external"),w("typeof"),w("keyof"),w("readonly"),w("import"),w("is"),w("in"),w("asserts"),R,v,P],E=/^\s*\n\s*/,x=class zi{static create(_){let L=this.read(_);_=L.text;let J=this.read(_);return _=J.text,new zi(_,void 0,L.token,J.token)}constructor(_,L,J,ee){this.text="",this.text=_,this.previous=L,this.current=J,this.next=ee}static read(_,L=!1){L=L||E.test(_),_=_.trim();for(let J of T){let ee=J(_);if(ee!==null){let le=Object.assign(Object.assign({},ee),{startOfLine:L});return _=_.slice(le.text.length),{text:_,token:le}}}throw new Error("Unexpected Token "+_)}advance(){let _=zi.read(this.text);return new zi(_.text,this.current,this.next,_.token)}};q(x,"Lexer");let C=x;function k(y){if(y===void 0)throw new Error("Unexpected undefined");if(y.type==="JsdocTypeKeyValue"||y.type==="JsdocTypeParameterList"||y.type==="JsdocTypeProperty"||y.type==="JsdocTypeReadonlyProperty"||y.type==="JsdocTypeObjectField"||y.type==="JsdocTypeJsdocObjectField"||y.type==="JsdocTypeIndexSignature"||y.type==="JsdocTypeMappedType")throw new u(y);return y}q(k,"assertRootResult");function I(y){return y.type==="JsdocTypeKeyValue"?D(y):k(y)}q(I,"assertPlainKeyValueOrRootResult");function U(y){return y.type==="JsdocTypeName"?y:D(y)}q(U,"assertPlainKeyValueOrNameResult");function D(y){if(y.type!=="JsdocTypeKeyValue")throw new u(y);return y}q(D,"assertPlainKeyValueResult");function O(y){var _;if(y.type==="JsdocTypeVariadic"){if(((_=y.element)===null||_===void 0?void 0:_.type)==="JsdocTypeName")return y;throw new u(y)}if(y.type!=="JsdocTypeNumber"&&y.type!=="JsdocTypeName")throw new u(y);return y}q(O,"assertNumberOrVariadicNameResult");function M(y){return y.type==="JsdocTypeIndexSignature"||y.type==="JsdocTypeMappedType"}q(M,"isSquaredProperty");var $;(function(y){y[y.ALL=0]="ALL",y[y.PARAMETER_LIST=1]="PARAMETER_LIST",y[y.OBJECT=2]="OBJECT",y[y.KEY_VALUE=3]="KEY_VALUE",y[y.INDEX_BRACKETS=4]="INDEX_BRACKETS",y[y.UNION=5]="UNION",y[y.INTERSECTION=6]="INTERSECTION",y[y.PREFIX=7]="PREFIX",y[y.INFIX=8]="INFIX",y[y.TUPLE=9]="TUPLE",y[y.SYMBOL=10]="SYMBOL",y[y.OPTIONAL=11]="OPTIONAL",y[y.NULLABLE=12]="NULLABLE",y[y.KEY_OF_TYPE_OF=13]="KEY_OF_TYPE_OF",y[y.FUNCTION=14]="FUNCTION",y[y.ARROW=15]="ARROW",y[y.ARRAY_BRACKETS=16]="ARRAY_BRACKETS",y[y.GENERIC=17]="GENERIC",y[y.NAME_PATH=18]="NAME_PATH",y[y.PARENTHESIS=19]="PARENTHESIS",y[y.SPECIAL_TYPES=20]="SPECIAL_TYPES"})($||($={}));let K=class{constructor(_,L,J){this.grammar=_,typeof L=="string"?this._lexer=C.create(L):this._lexer=L,this.baseParser=J}get lexer(){return this._lexer}parse(){let _=this.parseType($.ALL);if(this.lexer.current.type!=="EOF")throw new l(this.lexer.current);return _}parseType(_){return k(this.parseIntermediateType(_))}parseIntermediateType(_){let L=this.tryParslets(null,_);if(L===null)throw new i(this.lexer.current);return this.parseInfixIntermediateType(L,_)}parseInfixIntermediateType(_,L){let J=this.tryParslets(_,L);for(;J!==null;)_=J,J=this.tryParslets(_,L);return _}tryParslets(_,L){for(let J of this.grammar){let ee=J(this,L,_);if(ee!==null)return ee}return null}consume(_){return Array.isArray(_)||(_=[_]),_.includes(this.lexer.current.type)?(this._lexer=this.lexer.advance(),!0):!1}acceptLexerState(_){this._lexer=_.lexer}};q(K,"Parser");let G=K;function re(y){return y==="EOF"||y==="|"||y===","||y===")"||y===">"}q(re,"isQuestionMarkUnknownType");let ae=q((y,_,L)=>{let J=y.lexer.current.type,ee=y.lexer.next.type;return L==null&&J==="?"&&!re(ee)||L!=null&&J==="?"?(y.consume("?"),L==null?{type:"JsdocTypeNullable",element:y.parseType($.NULLABLE),meta:{position:"prefix"}}:{type:"JsdocTypeNullable",element:k(L),meta:{position:"suffix"}}):null},"nullableParslet");function Z(y){let _=q((L,J,ee)=>{let le=L.lexer.current.type,me=L.lexer.next.type;if(ee===null){if("parsePrefix"in y&&y.accept(le,me))return y.parsePrefix(L)}else if("parseInfix"in y&&y.precedence>J&&y.accept(le,me))return y.parseInfix(L,ee);return null},"parslet");return Object.defineProperty(_,"name",{value:y.name}),_}q(Z,"composeParslet");let W=Z({name:"optionalParslet",accept:q(y=>y==="=","accept"),precedence:$.OPTIONAL,parsePrefix:q(y=>(y.consume("="),{type:"JsdocTypeOptional",element:y.parseType($.OPTIONAL),meta:{position:"prefix"}}),"parsePrefix"),parseInfix:q((y,_)=>(y.consume("="),{type:"JsdocTypeOptional",element:k(_),meta:{position:"suffix"}}),"parseInfix")}),z=Z({name:"numberParslet",accept:q(y=>y==="Number","accept"),parsePrefix:q(y=>{let _=parseFloat(y.lexer.current.text);return y.consume("Number"),{type:"JsdocTypeNumber",value:_}},"parsePrefix")}),Y=Z({name:"parenthesisParslet",accept:q(y=>y==="(","accept"),parsePrefix:q(y=>{if(y.consume("("),y.consume(")"))return{type:"JsdocTypeParameterList",elements:[]};let _=y.parseIntermediateType($.ALL);if(!y.consume(")"))throw new Error("Unterminated parenthesis");return _.type==="JsdocTypeParameterList"?_:_.type==="JsdocTypeKeyValue"?{type:"JsdocTypeParameterList",elements:[_]}:{type:"JsdocTypeParenthesis",element:k(_)}},"parsePrefix")}),ne=Z({name:"specialTypesParslet",accept:q((y,_)=>y==="?"&&re(_)||y==="null"||y==="undefined"||y==="*","accept"),parsePrefix:q(y=>{if(y.consume("null"))return{type:"JsdocTypeNull"};if(y.consume("undefined"))return{type:"JsdocTypeUndefined"};if(y.consume("*"))return{type:"JsdocTypeAny"};if(y.consume("?"))return{type:"JsdocTypeUnknown"};throw new Error("Unacceptable token: "+y.lexer.current.text)},"parsePrefix")}),X=Z({name:"notNullableParslet",accept:q(y=>y==="!","accept"),precedence:$.NULLABLE,parsePrefix:q(y=>(y.consume("!"),{type:"JsdocTypeNotNullable",element:y.parseType($.NULLABLE),meta:{position:"prefix"}}),"parsePrefix"),parseInfix:q((y,_)=>(y.consume("!"),{type:"JsdocTypeNotNullable",element:k(_),meta:{position:"suffix"}}),"parseInfix")});function se({allowTrailingComma:y}){return Z({name:"parameterListParslet",accept:q(_=>_===",","accept"),precedence:$.PARAMETER_LIST,parseInfix:q((_,L)=>{let J=[I(L)];_.consume(",");do try{let ee=_.parseIntermediateType($.PARAMETER_LIST);J.push(I(ee))}catch(ee){if(y&&ee instanceof i)break;throw ee}while(_.consume(","));if(J.length>0&&J.slice(0,-1).some(ee=>ee.type==="JsdocTypeVariadic"))throw new Error("Only the last parameter may be a rest parameter");return{type:"JsdocTypeParameterList",elements:J}},"parseInfix")})}q(se,"createParameterListParslet");let ce=Z({name:"genericParslet",accept:q((y,_)=>y==="<"||y==="."&&_==="<","accept"),precedence:$.GENERIC,parseInfix:q((y,_)=>{let L=y.consume(".");y.consume("<");let J=[];do J.push(y.parseType($.PARAMETER_LIST));while(y.consume(","));if(!y.consume(">"))throw new Error("Unterminated generic parameter list");return{type:"JsdocTypeGeneric",left:k(_),elements:J,meta:{brackets:"angle",dot:L}}},"parseInfix")}),Me=Z({name:"unionParslet",accept:q(y=>y==="|","accept"),precedence:$.UNION,parseInfix:q((y,_)=>{y.consume("|");let L=[];do L.push(y.parseType($.UNION));while(y.consume("|"));return{type:"JsdocTypeUnion",elements:[k(_),...L]}},"parseInfix")}),Ve=[ae,W,z,Y,ne,X,se({allowTrailingComma:!0}),ce,Me,W];function F({allowSquareBracketsOnAnyType:y,allowJsdocNamePaths:_,pathGrammar:L}){return q(function(J,ee,le){if(le==null||ee>=$.NAME_PATH)return null;let me=J.lexer.current.type,Ne=J.lexer.next.type;if(!(me==="."&&Ne!=="<"||me==="["&&(y||le.type==="JsdocTypeName")||_&&(me==="~"||me==="#")))return null;let Le,at=!1;J.consume(".")?Le="property":J.consume("[")?(Le="property-brackets",at=!0):J.consume("~")?Le="inner":(J.consume("#"),Le="instance");let or=L!==null?new G(L,J.lexer,J):J,jt=or.parseIntermediateType($.NAME_PATH);J.acceptLexerState(or);let ta;switch(jt.type){case"JsdocTypeName":ta={type:"JsdocTypeProperty",value:jt.value,meta:{quote:void 0}};break;case"JsdocTypeNumber":ta={type:"JsdocTypeProperty",value:jt.value.toString(10),meta:{quote:void 0}};break;case"JsdocTypeStringValue":ta={type:"JsdocTypeProperty",value:jt.value,meta:{quote:jt.meta.quote}};break;case"JsdocTypeSpecialNamePath":if(jt.specialType==="event")ta=jt;else throw new u(jt,"Type 'JsdocTypeSpecialNamePath' is only allowed with specialType 'event'");break;default:throw new u(jt,"Expecting 'JsdocTypeName', 'JsdocTypeNumber', 'JsdocStringValue' or 'JsdocTypeSpecialNamePath'")}if(at&&!J.consume("]")){let By=J.lexer.current;throw new Error(`Unterminated square brackets. Next token is '${By.type}' with text '${By.text}'`)}return{type:"JsdocTypeNamePath",left:k(le),right:ta,pathType:Le}},"namePathParslet")}q(F,"createNamePathParslet");function Q({allowedAdditionalTokens:y}){return Z({name:"nameParslet",accept:q(_=>_==="Identifier"||_==="this"||_==="new"||y.includes(_),"accept"),parsePrefix:q(_=>{let{type:L,text:J}=_.lexer.current;return _.consume(L),{type:"JsdocTypeName",value:J}},"parsePrefix")})}q(Q,"createNameParslet");let oe=Z({name:"stringValueParslet",accept:q(y=>y==="StringValue","accept"),parsePrefix:q(y=>{let _=y.lexer.current.text;return y.consume("StringValue"),{type:"JsdocTypeStringValue",value:_.slice(1,-1),meta:{quote:_[0]==="'"?"single":"double"}}},"parsePrefix")});function ue({pathGrammar:y,allowedTypes:_}){return Z({name:"specialNamePathParslet",accept:q(L=>_.includes(L),"accept"),parsePrefix:q(L=>{let J=L.lexer.current.type;if(L.consume(J),!L.consume(":"))return{type:"JsdocTypeName",value:J};let ee,le=L.lexer.current;if(L.consume("StringValue"))ee={type:"JsdocTypeSpecialNamePath",value:le.text.slice(1,-1),specialType:J,meta:{quote:le.text[0]==="'"?"single":"double"}};else{let Le="",at=["Identifier","@","/"];for(;at.some(or=>L.consume(or));)Le+=le.text,le=L.lexer.current;ee={type:"JsdocTypeSpecialNamePath",value:Le,specialType:J,meta:{quote:void 0}}}let me=new G(y,L.lexer,L),Ne=me.parseInfixIntermediateType(ee,$.ALL);return L.acceptLexerState(me),k(Ne)},"parsePrefix")})}q(ue,"createSpecialNamePathParslet");let ie=[Q({allowedAdditionalTokens:["external","module"]}),oe,z,F({allowSquareBracketsOnAnyType:!1,allowJsdocNamePaths:!0,pathGrammar:null})],de=[...ie,ue({allowedTypes:["event"],pathGrammar:ie})];function pe(y){let _;if(y.type==="JsdocTypeParameterList")_=y.elements;else if(y.type==="JsdocTypeParenthesis")_=[y.element];else throw new u(y);return _.map(L=>I(L))}q(pe,"getParameters");function Pe(y){let _=pe(y);if(_.some(L=>L.type==="JsdocTypeKeyValue"))throw new Error("No parameter should be named");return _}q(Pe,"getUnnamedParameters");function $e({allowNamedParameters:y,allowNoReturnType:_,allowWithoutParenthesis:L,allowNewAsFunctionKeyword:J}){return Z({name:"functionParslet",accept:q((ee,le)=>ee==="function"||J&&ee==="new"&&le==="(","accept"),parsePrefix:q(ee=>{let le=ee.consume("new");ee.consume("function");let me=ee.lexer.current.type==="(";if(!me){if(!L)throw new Error("function is missing parameter list");return{type:"JsdocTypeName",value:"function"}}let Ne={type:"JsdocTypeFunction",parameters:[],arrow:!1,constructor:le,parenthesis:me},Le=ee.parseIntermediateType($.FUNCTION);if(y===void 0)Ne.parameters=Pe(Le);else{if(le&&Le.type==="JsdocTypeFunction"&&Le.arrow)return Ne=Le,Ne.constructor=!0,Ne;Ne.parameters=pe(Le);for(let at of Ne.parameters)if(at.type==="JsdocTypeKeyValue"&&!y.includes(at.key))throw new Error(`only allowed named parameters are ${y.join(", ")} but got ${at.type}`)}if(ee.consume(":"))Ne.returnType=ee.parseType($.PREFIX);else if(!_)throw new Error("function is missing return type");return Ne},"parsePrefix")})}q($e,"createFunctionParslet");function lt({allowPostfix:y,allowEnclosingBrackets:_}){return Z({name:"variadicParslet",accept:q(L=>L==="...","accept"),precedence:$.PREFIX,parsePrefix:q(L=>{L.consume("...");let J=_&&L.consume("[");try{let ee=L.parseType($.PREFIX);if(J&&!L.consume("]"))throw new Error("Unterminated variadic type. Missing ']'");return{type:"JsdocTypeVariadic",element:k(ee),meta:{position:"prefix",squareBrackets:J}}}catch(ee){if(ee instanceof i){if(J)throw new Error("Empty square brackets for variadic are not allowed.");return{type:"JsdocTypeVariadic",meta:{position:void 0,squareBrackets:!1}}}else throw ee}},"parsePrefix"),parseInfix:y?(L,J)=>(L.consume("..."),{type:"JsdocTypeVariadic",element:k(J),meta:{position:"suffix",squareBrackets:!1}}):void 0})}q(lt,"createVariadicParslet");let Ct=Z({name:"symbolParslet",accept:q(y=>y==="(","accept"),precedence:$.SYMBOL,parseInfix:q((y,_)=>{if(_.type!=="JsdocTypeName")throw new Error("Symbol expects a name on the left side. (Reacting on '(')");y.consume("(");let L={type:"JsdocTypeSymbol",value:_.value};if(!y.consume(")")){let J=y.parseIntermediateType($.SYMBOL);if(L.element=O(J),!y.consume(")"))throw new Error("Symbol does not end after value")}return L},"parseInfix")}),ot=Z({name:"arrayBracketsParslet",precedence:$.ARRAY_BRACKETS,accept:q((y,_)=>y==="["&&_==="]","accept"),parseInfix:q((y,_)=>(y.consume("["),y.consume("]"),{type:"JsdocTypeGeneric",left:{type:"JsdocTypeName",value:"Array"},elements:[k(_)],meta:{brackets:"square",dot:!1}}),"parseInfix")});function ft({objectFieldGrammar:y,allowKeyTypes:_}){return Z({name:"objectParslet",accept:q(L=>L==="{","accept"),parsePrefix:q(L=>{L.consume("{");let J={type:"JsdocTypeObject",meta:{separator:"comma"},elements:[]};if(!L.consume("}")){let ee,le=new G(y,L.lexer,L);for(;;){le.acceptLexerState(L);let me=le.parseIntermediateType($.OBJECT);L.acceptLexerState(le),me===void 0&&_&&(me=L.parseIntermediateType($.OBJECT));let Ne=!1;if(me.type==="JsdocTypeNullable"&&(Ne=!0,me=me.element),me.type==="JsdocTypeNumber"||me.type==="JsdocTypeName"||me.type==="JsdocTypeStringValue"){let Le;me.type==="JsdocTypeStringValue"&&(Le=me.meta.quote),J.elements.push({type:"JsdocTypeObjectField",key:me.value.toString(),right:void 0,optional:Ne,readonly:!1,meta:{quote:Le}})}else if(me.type==="JsdocTypeObjectField"||me.type==="JsdocTypeJsdocObjectField")J.elements.push(me);else throw new u(me);if(L.lexer.current.startOfLine)ee="linebreak";else if(L.consume(","))ee="comma";else if(L.consume(";"))ee="semicolon";else break;if(L.lexer.current.type==="}")break}if(J.meta.separator=ee??"comma",!L.consume("}"))throw new Error("Unterminated record type. Missing '}'")}return J},"parsePrefix")})}q(ft,"createObjectParslet");function ht({allowSquaredProperties:y,allowKeyTypes:_,allowReadonly:L,allowOptional:J}){return Z({name:"objectFieldParslet",precedence:$.KEY_VALUE,accept:q(ee=>ee===":","accept"),parseInfix:q((ee,le)=>{var me;let Ne=!1,Le=!1;J&&le.type==="JsdocTypeNullable"&&(Ne=!0,le=le.element),L&&le.type==="JsdocTypeReadonlyProperty"&&(Le=!0,le=le.element);let at=(me=ee.baseParser)!==null&&me!==void 0?me:ee;if(at.acceptLexerState(ee),le.type==="JsdocTypeNumber"||le.type==="JsdocTypeName"||le.type==="JsdocTypeStringValue"||M(le)){if(M(le)&&!y)throw new u(le);at.consume(":");let or;le.type==="JsdocTypeStringValue"&&(or=le.meta.quote);let jt=at.parseType($.KEY_VALUE);return ee.acceptLexerState(at),{type:"JsdocTypeObjectField",key:M(le)?le:le.value.toString(),right:jt,optional:Ne,readonly:Le,meta:{quote:or}}}else{if(!_)throw new u(le);at.consume(":");let or=at.parseType($.KEY_VALUE);return ee.acceptLexerState(at),{type:"JsdocTypeJsdocObjectField",left:k(le),right:or}}},"parseInfix")})}q(ht,"createObjectFieldParslet");function mt({allowOptional:y,allowVariadic:_}){return Z({name:"keyValueParslet",precedence:$.KEY_VALUE,accept:q(L=>L===":","accept"),parseInfix:q((L,J)=>{let ee=!1,le=!1;if(y&&J.type==="JsdocTypeNullable"&&(ee=!0,J=J.element),_&&J.type==="JsdocTypeVariadic"&&J.element!==void 0&&(le=!0,J=J.element),J.type!=="JsdocTypeName")throw new u(J);L.consume(":");let me=L.parseType($.KEY_VALUE);return{type:"JsdocTypeKeyValue",key:J.value,right:me,optional:ee,variadic:le}},"parseInfix")})}q(mt,"createKeyValueParslet");let kn=[...Ve,$e({allowWithoutParenthesis:!0,allowNamedParameters:["this","new"],allowNoReturnType:!0,allowNewAsFunctionKeyword:!1}),oe,ue({allowedTypes:["module","external","event"],pathGrammar:de}),lt({allowEnclosingBrackets:!0,allowPostfix:!0}),Q({allowedAdditionalTokens:["keyof"]}),Ct,ot,F({allowSquareBracketsOnAnyType:!1,allowJsdocNamePaths:!0,pathGrammar:de})],Uo=[...kn,ft({objectFieldGrammar:[Q({allowedAdditionalTokens:["module","in"]}),ht({allowSquaredProperties:!1,allowKeyTypes:!0,allowOptional:!1,allowReadonly:!1}),...kn],allowKeyTypes:!0}),mt({allowOptional:!0,allowVariadic:!0})],Mn=Z({name:"typeOfParslet",accept:q(y=>y==="typeof","accept"),parsePrefix:q(y=>(y.consume("typeof"),{type:"JsdocTypeTypeof",element:k(y.parseType($.KEY_OF_TYPE_OF))}),"parsePrefix")}),Ho=[Q({allowedAdditionalTokens:["module","keyof","event","external","in"]}),ae,W,oe,z,ht({allowSquaredProperties:!1,allowKeyTypes:!1,allowOptional:!1,allowReadonly:!1})],Vo=[...Ve,ft({allowKeyTypes:!1,objectFieldGrammar:Ho}),Q({allowedAdditionalTokens:["event","external","in"]}),Mn,$e({allowWithoutParenthesis:!1,allowNamedParameters:["this","new"],allowNoReturnType:!0,allowNewAsFunctionKeyword:!1}),lt({allowEnclosingBrackets:!1,allowPostfix:!1}),Q({allowedAdditionalTokens:["keyof"]}),ue({allowedTypes:["module"],pathGrammar:de}),F({allowSquareBracketsOnAnyType:!1,allowJsdocNamePaths:!0,pathGrammar:de}),mt({allowOptional:!1,allowVariadic:!1}),Ct],Jo=Z({name:"assertsParslet",accept:q(y=>y==="asserts","accept"),parsePrefix:q(y=>{y.consume("asserts");let _=y.parseIntermediateType($.SYMBOL);if(_.type!=="JsdocTypeName")throw new u(_,"A typescript asserts always has to have a name on the left side.");return y.consume("is"),{type:"JsdocTypeAsserts",left:_,right:k(y.parseIntermediateType($.INFIX))}},"parsePrefix")});function $n({allowQuestionMark:y}){return Z({name:"tupleParslet",accept:q(_=>_==="[","accept"),parsePrefix:q(_=>{_.consume("[");let L={type:"JsdocTypeTuple",elements:[]};if(_.consume("]"))return L;let J=_.parseIntermediateType($.ALL);if(J.type==="JsdocTypeParameterList"?J.elements[0].type==="JsdocTypeKeyValue"?L.elements=J.elements.map(D):L.elements=J.elements.map(k):J.type==="JsdocTypeKeyValue"?L.elements=[D(J)]:L.elements=[k(J)],!_.consume("]"))throw new Error("Unterminated '['");if(!y&&L.elements.some(ee=>ee.type==="JsdocTypeUnknown"))throw new Error("Question mark in tuple not allowed");return L},"parsePrefix")})}q($n,"createTupleParslet");let zo=Z({name:"keyOfParslet",accept:q(y=>y==="keyof","accept"),parsePrefix:q(y=>(y.consume("keyof"),{type:"JsdocTypeKeyof",element:k(y.parseType($.KEY_OF_TYPE_OF))}),"parsePrefix")}),Wo=Z({name:"importParslet",accept:q(y=>y==="import","accept"),parsePrefix:q(y=>{if(y.consume("import"),!y.consume("("))throw new Error("Missing parenthesis after import keyword");let _=y.parseType($.PREFIX);if(_.type!=="JsdocTypeStringValue")throw new Error("Only string values are allowed as paths for imports");if(!y.consume(")"))throw new Error("Missing closing parenthesis after import keyword");return{type:"JsdocTypeImport",element:_}},"parsePrefix")}),Go=Z({name:"readonlyPropertyParslet",accept:q(y=>y==="readonly","accept"),parsePrefix:q(y=>(y.consume("readonly"),{type:"JsdocTypeReadonlyProperty",element:y.parseType($.KEY_VALUE)}),"parsePrefix")}),Ko=Z({name:"arrowFunctionParslet",precedence:$.ARROW,accept:q(y=>y==="=>","accept"),parseInfix:q((y,_)=>(y.consume("=>"),{type:"JsdocTypeFunction",parameters:pe(_).map(U),arrow:!0,constructor:!1,parenthesis:!0,returnType:y.parseType($.OBJECT)}),"parseInfix")}),Yo=Z({name:"intersectionParslet",accept:q(y=>y==="&","accept"),precedence:$.INTERSECTION,parseInfix:q((y,_)=>{y.consume("&");let L=[];do L.push(y.parseType($.INTERSECTION));while(y.consume("&"));return{type:"JsdocTypeIntersection",elements:[k(_),...L]}},"parseInfix")}),Xo=Z({name:"predicateParslet",precedence:$.INFIX,accept:q(y=>y==="is","accept"),parseInfix:q((y,_)=>{if(_.type!=="JsdocTypeName")throw new u(_,"A typescript predicate always has to have a name on the left side.");return y.consume("is"),{type:"JsdocTypePredicate",left:_,right:k(y.parseIntermediateType($.INFIX))}},"parseInfix")}),Qo=Z({name:"objectSquareBracketPropertyParslet",accept:q(y=>y==="[","accept"),parsePrefix:q(y=>{if(y.baseParser===void 0)throw new Error("Only allowed inside object grammar");y.consume("[");let _=y.lexer.current.text;y.consume("Identifier");let L;if(y.consume(":")){let J=y.baseParser;J.acceptLexerState(y),L={type:"JsdocTypeIndexSignature",key:_,right:J.parseType($.INDEX_BRACKETS)},y.acceptLexerState(J)}else if(y.consume("in")){let J=y.baseParser;J.acceptLexerState(y),L={type:"JsdocTypeMappedType",key:_,right:J.parseType($.ARRAY_BRACKETS)},y.acceptLexerState(J)}else throw new Error("Missing ':' or 'in' inside square bracketed property.");if(!y.consume("]"))throw new Error("Unterminated square brackets");return L},"parsePrefix")}),Zo=[Go,Q({allowedAdditionalTokens:["module","event","keyof","event","external","in"]}),ae,W,oe,z,ht({allowSquaredProperties:!0,allowKeyTypes:!1,allowOptional:!0,allowReadonly:!0}),Qo],ea=[...Ve,ft({allowKeyTypes:!1,objectFieldGrammar:Zo}),Mn,zo,Wo,oe,$e({allowWithoutParenthesis:!0,allowNoReturnType:!1,allowNamedParameters:["this","new","args"],allowNewAsFunctionKeyword:!0}),$n({allowQuestionMark:!1}),lt({allowEnclosingBrackets:!1,allowPostfix:!1}),Jo,Q({allowedAdditionalTokens:["event","external","in"]}),ue({allowedTypes:["module"],pathGrammar:de}),ot,Ko,F({allowSquareBracketsOnAnyType:!0,allowJsdocNamePaths:!1,pathGrammar:de}),Yo,Xo,mt({allowVariadic:!0,allowOptional:!0})];function Kr(y,_){switch(_){case"closure":return new G(Vo,y).parse();case"jsdoc":return new G(Uo,y).parse();case"typescript":return new G(ea,y).parse()}}q(Kr,"parse");function Ln(y,_=["typescript","closure","jsdoc"]){let L;for(let J of _)try{return Kr(y,J)}catch(ee){L=ee}throw L}q(Ln,"tryParse");function Ut(y,_){let L=y[_.type];if(L===void 0)throw new Error(`In this set of transform rules exists no rule for type ${_.type}.`);return L(_,J=>Ut(y,J))}q(Ut,"transform");function Ue(y){throw new Error("This transform is not available. Are you trying the correct parsing mode?")}q(Ue,"notAvailableTransform");function Yr(y){let _={params:[]};for(let L of y.parameters)L.type==="JsdocTypeKeyValue"?L.key==="this"?_.this=L.right:L.key==="new"?_.new=L.right:_.params.push(L):_.params.push(L);return _}q(Yr,"extractSpecialParams");function rr(y,_,L){return y==="prefix"?L+_:_+L}q(rr,"applyPosition");function H(y,_){switch(_){case"double":return`"${y}"`;case"single":return`'${y}'`;case void 0:return y}}q(H,"quote");function Xr(){return{JsdocTypeParenthesis:q((y,_)=>`(${y.element!==void 0?_(y.element):""})`,"JsdocTypeParenthesis"),JsdocTypeKeyof:q((y,_)=>`keyof ${_(y.element)}`,"JsdocTypeKeyof"),JsdocTypeFunction:q((y,_)=>{if(y.arrow){if(y.returnType===void 0)throw new Error("Arrow function needs a return type.");let L=`(${y.parameters.map(_).join(", ")}) => ${_(y.returnType)}`;return y.constructor&&(L="new "+L),L}else{let L=y.constructor?"new":"function";return y.parenthesis&&(L+=`(${y.parameters.map(_).join(", ")})`,y.returnType!==void 0&&(L+=`: ${_(y.returnType)}`)),L}},"JsdocTypeFunction"),JsdocTypeName:q(y=>y.value,"JsdocTypeName"),JsdocTypeTuple:q((y,_)=>`[${y.elements.map(_).join(", ")}]`,"JsdocTypeTuple"),JsdocTypeVariadic:q((y,_)=>y.meta.position===void 0?"...":rr(y.meta.position,_(y.element),"..."),"JsdocTypeVariadic"),JsdocTypeNamePath:q((y,_)=>{let L=_(y.left),J=_(y.right);switch(y.pathType){case"inner":return`${L}~${J}`;case"instance":return`${L}#${J}`;case"property":return`${L}.${J}`;case"property-brackets":return`${L}[${J}]`}},"JsdocTypeNamePath"),JsdocTypeStringValue:q(y=>H(y.value,y.meta.quote),"JsdocTypeStringValue"),JsdocTypeAny:q(()=>"*","JsdocTypeAny"),JsdocTypeGeneric:q((y,_)=>{if(y.meta.brackets==="square"){let L=y.elements[0],J=_(L);return L.type==="JsdocTypeUnion"||L.type==="JsdocTypeIntersection"?`(${J})[]`:`${J}[]`}else return`${_(y.left)}${y.meta.dot?".":""}<${y.elements.map(_).join(", ")}>`},"JsdocTypeGeneric"),JsdocTypeImport:q((y,_)=>`import(${_(y.element)})`,"JsdocTypeImport"),JsdocTypeObjectField:q((y,_)=>{let L="";return y.readonly&&(L+="readonly "),typeof y.key=="string"?L+=H(y.key,y.meta.quote):L+=_(y.key),y.optional&&(L+="?"),y.right===void 0?L:L+`: ${_(y.right)}`},"JsdocTypeObjectField"),JsdocTypeJsdocObjectField:q((y,_)=>`${_(y.left)}: ${_(y.right)}`,"JsdocTypeJsdocObjectField"),JsdocTypeKeyValue:q((y,_)=>{let L=y.key;return y.optional&&(L+="?"),y.variadic&&(L="..."+L),y.right===void 0?L:L+`: ${_(y.right)}`},"JsdocTypeKeyValue"),JsdocTypeSpecialNamePath:q(y=>`${y.specialType}:${H(y.value,y.meta.quote)}`,"JsdocTypeSpecialNamePath"),JsdocTypeNotNullable:q((y,_)=>rr(y.meta.position,_(y.element),"!"),"JsdocTypeNotNullable"),JsdocTypeNull:q(()=>"null","JsdocTypeNull"),JsdocTypeNullable:q((y,_)=>rr(y.meta.position,_(y.element),"?"),"JsdocTypeNullable"),JsdocTypeNumber:q(y=>y.value.toString(),"JsdocTypeNumber"),JsdocTypeObject:q((y,_)=>`{${y.elements.map(_).join((y.meta.separator==="comma"?",":";")+" ")}}`,"JsdocTypeObject"),JsdocTypeOptional:q((y,_)=>rr(y.meta.position,_(y.element),"="),"JsdocTypeOptional"),JsdocTypeSymbol:q((y,_)=>`${y.value}(${y.element!==void 0?_(y.element):""})`,"JsdocTypeSymbol"),JsdocTypeTypeof:q((y,_)=>`typeof ${_(y.element)}`,"JsdocTypeTypeof"),JsdocTypeUndefined:q(()=>"undefined","JsdocTypeUndefined"),JsdocTypeUnion:q((y,_)=>y.elements.map(_).join(" | "),"JsdocTypeUnion"),JsdocTypeUnknown:q(()=>"?","JsdocTypeUnknown"),JsdocTypeIntersection:q((y,_)=>y.elements.map(_).join(" & "),"JsdocTypeIntersection"),JsdocTypeProperty:q(y=>H(y.value,y.meta.quote),"JsdocTypeProperty"),JsdocTypePredicate:q((y,_)=>`${_(y.left)} is ${_(y.right)}`,"JsdocTypePredicate"),JsdocTypeIndexSignature:q((y,_)=>`[${y.key}: ${_(y.right)}]`,"JsdocTypeIndexSignature"),JsdocTypeMappedType:q((y,_)=>`[${y.key} in ${_(y.right)}]`,"JsdocTypeMappedType"),JsdocTypeAsserts:q((y,_)=>`asserts ${_(y.left)} is ${_(y.right)}`,"JsdocTypeAsserts")}}q(Xr,"stringifyRules");let Tr=Xr();function Qr(y){return Ut(Tr,y)}q(Qr,"stringify");let dI=["null","true","false","break","case","catch","class","const","continue","debugger","default","delete","do","else","export","extends","finally","for","function","if","import","in","instanceof","new","return","super","switch","this","throw","try","typeof","var","void","while","with","yield"];function nr(y){let _={type:"NameExpression",name:y};return dI.includes(y)&&(_.reservedWord=!0),_}q(nr,"makeName");let pI={JsdocTypeOptional:q((y,_)=>{let L=_(y.element);return L.optional=!0,L},"JsdocTypeOptional"),JsdocTypeNullable:q((y,_)=>{let L=_(y.element);return L.nullable=!0,L},"JsdocTypeNullable"),JsdocTypeNotNullable:q((y,_)=>{let L=_(y.element);return L.nullable=!1,L},"JsdocTypeNotNullable"),JsdocTypeVariadic:q((y,_)=>{if(y.element===void 0)throw new Error("dots without value are not allowed in catharsis mode");let L=_(y.element);return L.repeatable=!0,L},"JsdocTypeVariadic"),JsdocTypeAny:q(()=>({type:"AllLiteral"}),"JsdocTypeAny"),JsdocTypeNull:q(()=>({type:"NullLiteral"}),"JsdocTypeNull"),JsdocTypeStringValue:q(y=>nr(H(y.value,y.meta.quote)),"JsdocTypeStringValue"),JsdocTypeUndefined:q(()=>({type:"UndefinedLiteral"}),"JsdocTypeUndefined"),JsdocTypeUnknown:q(()=>({type:"UnknownLiteral"}),"JsdocTypeUnknown"),JsdocTypeFunction:q((y,_)=>{let L=Yr(y),J={type:"FunctionType",params:L.params.map(_)};return L.this!==void 0&&(J.this=_(L.this)),L.new!==void 0&&(J.new=_(L.new)),y.returnType!==void 0&&(J.result=_(y.returnType)),J},"JsdocTypeFunction"),JsdocTypeGeneric:q((y,_)=>({type:"TypeApplication",applications:y.elements.map(L=>_(L)),expression:_(y.left)}),"JsdocTypeGeneric"),JsdocTypeSpecialNamePath:q(y=>nr(y.specialType+":"+H(y.value,y.meta.quote)),"JsdocTypeSpecialNamePath"),JsdocTypeName:q(y=>y.value!=="function"?nr(y.value):{type:"FunctionType",params:[]},"JsdocTypeName"),JsdocTypeNumber:q(y=>nr(y.value.toString()),"JsdocTypeNumber"),JsdocTypeObject:q((y,_)=>{let L={type:"RecordType",fields:[]};for(let J of y.elements)J.type!=="JsdocTypeObjectField"&&J.type!=="JsdocTypeJsdocObjectField"?L.fields.push({type:"FieldType",key:_(J),value:void 0}):L.fields.push(_(J));return L},"JsdocTypeObject"),JsdocTypeObjectField:q((y,_)=>{if(typeof y.key!="string")throw new Error("Index signatures and mapped types are not supported");return{type:"FieldType",key:nr(H(y.key,y.meta.quote)),value:y.right===void 0?void 0:_(y.right)}},"JsdocTypeObjectField"),JsdocTypeJsdocObjectField:q((y,_)=>({type:"FieldType",key:_(y.left),value:_(y.right)}),"JsdocTypeJsdocObjectField"),JsdocTypeUnion:q((y,_)=>({type:"TypeUnion",elements:y.elements.map(L=>_(L))}),"JsdocTypeUnion"),JsdocTypeKeyValue:q((y,_)=>({type:"FieldType",key:nr(y.key),value:y.right===void 0?void 0:_(y.right)}),"JsdocTypeKeyValue"),JsdocTypeNamePath:q((y,_)=>{let L=_(y.left),J;y.right.type==="JsdocTypeSpecialNamePath"?J=_(y.right).name:J=H(y.right.value,y.right.meta.quote);let ee=y.pathType==="inner"?"~":y.pathType==="instance"?"#":".";return nr(`${L.name}${ee}${J}`)},"JsdocTypeNamePath"),JsdocTypeSymbol:q(y=>{let _="",L=y.element,J=!1;return L?.type==="JsdocTypeVariadic"&&(L.meta.position==="prefix"?_="...":J=!0,L=L.element),L?.type==="JsdocTypeName"?_+=L.value:L?.type==="JsdocTypeNumber"&&(_+=L.value.toString()),J&&(_+="..."),nr(`${y.value}(${_})`)},"JsdocTypeSymbol"),JsdocTypeParenthesis:q((y,_)=>_(k(y.element)),"JsdocTypeParenthesis"),JsdocTypeMappedType:Ue,JsdocTypeIndexSignature:Ue,JsdocTypeImport:Ue,JsdocTypeKeyof:Ue,JsdocTypeTuple:Ue,JsdocTypeTypeof:Ue,JsdocTypeIntersection:Ue,JsdocTypeProperty:Ue,JsdocTypePredicate:Ue,JsdocTypeAsserts:Ue};function ky(y){return Ut(pI,y)}q(ky,"catharsisTransform");function Sr(y){switch(y){case void 0:return"none";case"single":return"single";case"double":return"double"}}q(Sr,"getQuoteStyle");function My(y){switch(y){case"inner":return"INNER_MEMBER";case"instance":return"INSTANCE_MEMBER";case"property":return"MEMBER";case"property-brackets":return"MEMBER"}}q(My,"getMemberType");function xi(y,_){return _.length===2?{type:y,left:_[0],right:_[1]}:{type:y,left:_[0],right:xi(y,_.slice(1))}}q(xi,"nestResults");let fI={JsdocTypeOptional:q((y,_)=>({type:"OPTIONAL",value:_(y.element),meta:{syntax:y.meta.position==="prefix"?"PREFIX_EQUAL_SIGN":"SUFFIX_EQUALS_SIGN"}}),"JsdocTypeOptional"),JsdocTypeNullable:q((y,_)=>({type:"NULLABLE",value:_(y.element),meta:{syntax:y.meta.position==="prefix"?"PREFIX_QUESTION_MARK":"SUFFIX_QUESTION_MARK"}}),"JsdocTypeNullable"),JsdocTypeNotNullable:q((y,_)=>({type:"NOT_NULLABLE",value:_(y.element),meta:{syntax:y.meta.position==="prefix"?"PREFIX_BANG":"SUFFIX_BANG"}}),"JsdocTypeNotNullable"),JsdocTypeVariadic:q((y,_)=>{let L={type:"VARIADIC",meta:{syntax:y.meta.position==="prefix"?"PREFIX_DOTS":y.meta.position==="suffix"?"SUFFIX_DOTS":"ONLY_DOTS"}};return y.element!==void 0&&(L.value=_(y.element)),L},"JsdocTypeVariadic"),JsdocTypeName:q(y=>({type:"NAME",name:y.value}),"JsdocTypeName"),JsdocTypeTypeof:q((y,_)=>({type:"TYPE_QUERY",name:_(y.element)}),"JsdocTypeTypeof"),JsdocTypeTuple:q((y,_)=>({type:"TUPLE",entries:y.elements.map(_)}),"JsdocTypeTuple"),JsdocTypeKeyof:q((y,_)=>({type:"KEY_QUERY",value:_(y.element)}),"JsdocTypeKeyof"),JsdocTypeImport:q(y=>({type:"IMPORT",path:{type:"STRING_VALUE",quoteStyle:Sr(y.element.meta.quote),string:y.element.value}}),"JsdocTypeImport"),JsdocTypeUndefined:q(()=>({type:"NAME",name:"undefined"}),"JsdocTypeUndefined"),JsdocTypeAny:q(()=>({type:"ANY"}),"JsdocTypeAny"),JsdocTypeFunction:q((y,_)=>{let L=Yr(y),J={type:y.arrow?"ARROW":"FUNCTION",params:L.params.map(ee=>{if(ee.type==="JsdocTypeKeyValue"){if(ee.right===void 0)throw new Error("Function parameter without ':' is not expected to be 'KEY_VALUE'");return{type:"NAMED_PARAMETER",name:ee.key,typeName:_(ee.right)}}else return _(ee)}),new:null,returns:null};return L.this!==void 0?J.this=_(L.this):y.arrow||(J.this=null),L.new!==void 0&&(J.new=_(L.new)),y.returnType!==void 0&&(J.returns=_(y.returnType)),J},"JsdocTypeFunction"),JsdocTypeGeneric:q((y,_)=>{let L={type:"GENERIC",subject:_(y.left),objects:y.elements.map(_),meta:{syntax:y.meta.brackets==="square"?"SQUARE_BRACKET":y.meta.dot?"ANGLE_BRACKET_WITH_DOT":"ANGLE_BRACKET"}};return y.meta.brackets==="square"&&y.elements[0].type==="JsdocTypeFunction"&&!y.elements[0].parenthesis&&(L.objects[0]={type:"NAME",name:"function"}),L},"JsdocTypeGeneric"),JsdocTypeObjectField:q((y,_)=>{if(typeof y.key!="string")throw new Error("Index signatures and mapped types are not supported");if(y.right===void 0)return{type:"RECORD_ENTRY",key:y.key,quoteStyle:Sr(y.meta.quote),value:null,readonly:!1};let L=_(y.right);return y.optional&&(L={type:"OPTIONAL",value:L,meta:{syntax:"SUFFIX_KEY_QUESTION_MARK"}}),{type:"RECORD_ENTRY",key:y.key.toString(),quoteStyle:Sr(y.meta.quote),value:L,readonly:!1}},"JsdocTypeObjectField"),JsdocTypeJsdocObjectField:q(()=>{throw new Error("Keys may not be typed in jsdoctypeparser.")},"JsdocTypeJsdocObjectField"),JsdocTypeKeyValue:q((y,_)=>{if(y.right===void 0)return{type:"RECORD_ENTRY",key:y.key,quoteStyle:"none",value:null,readonly:!1};let L=_(y.right);return y.optional&&(L={type:"OPTIONAL",value:L,meta:{syntax:"SUFFIX_KEY_QUESTION_MARK"}}),{type:"RECORD_ENTRY",key:y.key,quoteStyle:"none",value:L,readonly:!1}},"JsdocTypeKeyValue"),JsdocTypeObject:q((y,_)=>{let L=[];for(let J of y.elements)(J.type==="JsdocTypeObjectField"||J.type==="JsdocTypeJsdocObjectField")&&L.push(_(J));return{type:"RECORD",entries:L}},"JsdocTypeObject"),JsdocTypeSpecialNamePath:q(y=>{if(y.specialType!=="module")throw new Error(`jsdoctypeparser does not support type ${y.specialType} at this point.`);return{type:"MODULE",value:{type:"FILE_PATH",quoteStyle:Sr(y.meta.quote),path:y.value}}},"JsdocTypeSpecialNamePath"),JsdocTypeNamePath:q((y,_)=>{let L=!1,J,ee;y.right.type==="JsdocTypeSpecialNamePath"&&y.right.specialType==="event"?(L=!0,J=y.right.value,ee=Sr(y.right.meta.quote)):(J=y.right.value,ee=Sr(y.right.meta.quote));let le={type:My(y.pathType),owner:_(y.left),name:J,quoteStyle:ee,hasEventPrefix:L};if(le.owner.type==="MODULE"){let me=le.owner;return le.owner=le.owner.value,me.value=le,me}else return le},"JsdocTypeNamePath"),JsdocTypeUnion:q((y,_)=>xi("UNION",y.elements.map(_)),"JsdocTypeUnion"),JsdocTypeParenthesis:q((y,_)=>({type:"PARENTHESIS",value:_(k(y.element))}),"JsdocTypeParenthesis"),JsdocTypeNull:q(()=>({type:"NAME",name:"null"}),"JsdocTypeNull"),JsdocTypeUnknown:q(()=>({type:"UNKNOWN"}),"JsdocTypeUnknown"),JsdocTypeStringValue:q(y=>({type:"STRING_VALUE",quoteStyle:Sr(y.meta.quote),string:y.value}),"JsdocTypeStringValue"),JsdocTypeIntersection:q((y,_)=>xi("INTERSECTION",y.elements.map(_)),"JsdocTypeIntersection"),JsdocTypeNumber:q(y=>({type:"NUMBER_VALUE",number:y.value.toString()}),"JsdocTypeNumber"),JsdocTypeSymbol:Ue,JsdocTypeProperty:Ue,JsdocTypePredicate:Ue,JsdocTypeMappedType:Ue,JsdocTypeIndexSignature:Ue,JsdocTypeAsserts:Ue};function $y(y){return Ut(fI,y)}q($y,"jtpTransform");function Ly(){return{JsdocTypeIntersection:q((y,_)=>({type:"JsdocTypeIntersection",elements:y.elements.map(_)}),"JsdocTypeIntersection"),JsdocTypeGeneric:q((y,_)=>({type:"JsdocTypeGeneric",left:_(y.left),elements:y.elements.map(_),meta:{dot:y.meta.dot,brackets:y.meta.brackets}}),"JsdocTypeGeneric"),JsdocTypeNullable:q(y=>y,"JsdocTypeNullable"),JsdocTypeUnion:q((y,_)=>({type:"JsdocTypeUnion",elements:y.elements.map(_)}),"JsdocTypeUnion"),JsdocTypeUnknown:q(y=>y,"JsdocTypeUnknown"),JsdocTypeUndefined:q(y=>y,"JsdocTypeUndefined"),JsdocTypeTypeof:q((y,_)=>({type:"JsdocTypeTypeof",element:_(y.element)}),"JsdocTypeTypeof"),JsdocTypeSymbol:q((y,_)=>{let L={type:"JsdocTypeSymbol",value:y.value};return y.element!==void 0&&(L.element=_(y.element)),L},"JsdocTypeSymbol"),JsdocTypeOptional:q((y,_)=>({type:"JsdocTypeOptional",element:_(y.element),meta:{position:y.meta.position}}),"JsdocTypeOptional"),JsdocTypeObject:q((y,_)=>({type:"JsdocTypeObject",meta:{separator:"comma"},elements:y.elements.map(_)}),"JsdocTypeObject"),JsdocTypeNumber:q(y=>y,"JsdocTypeNumber"),JsdocTypeNull:q(y=>y,"JsdocTypeNull"),JsdocTypeNotNullable:q((y,_)=>({type:"JsdocTypeNotNullable",element:_(y.element),meta:{position:y.meta.position}}),"JsdocTypeNotNullable"),JsdocTypeSpecialNamePath:q(y=>y,"JsdocTypeSpecialNamePath"),JsdocTypeObjectField:q((y,_)=>({type:"JsdocTypeObjectField",key:y.key,right:y.right===void 0?void 0:_(y.right),optional:y.optional,readonly:y.readonly,meta:y.meta}),"JsdocTypeObjectField"),JsdocTypeJsdocObjectField:q((y,_)=>({type:"JsdocTypeJsdocObjectField",left:_(y.left),right:_(y.right)}),"JsdocTypeJsdocObjectField"),JsdocTypeKeyValue:q((y,_)=>({type:"JsdocTypeKeyValue",key:y.key,right:y.right===void 0?void 0:_(y.right),optional:y.optional,variadic:y.variadic}),"JsdocTypeKeyValue"),JsdocTypeImport:q((y,_)=>({type:"JsdocTypeImport",element:_(y.element)}),"JsdocTypeImport"),JsdocTypeAny:q(y=>y,"JsdocTypeAny"),JsdocTypeStringValue:q(y=>y,"JsdocTypeStringValue"),JsdocTypeNamePath:q(y=>y,"JsdocTypeNamePath"),JsdocTypeVariadic:q((y,_)=>{let L={type:"JsdocTypeVariadic",meta:{position:y.meta.position,squareBrackets:y.meta.squareBrackets}};return y.element!==void 0&&(L.element=_(y.element)),L},"JsdocTypeVariadic"),JsdocTypeTuple:q((y,_)=>({type:"JsdocTypeTuple",elements:y.elements.map(_)}),"JsdocTypeTuple"),JsdocTypeName:q(y=>y,"JsdocTypeName"),JsdocTypeFunction:q((y,_)=>{let L={type:"JsdocTypeFunction",arrow:y.arrow,parameters:y.parameters.map(_),constructor:y.constructor,parenthesis:y.parenthesis};return y.returnType!==void 0&&(L.returnType=_(y.returnType)),L},"JsdocTypeFunction"),JsdocTypeKeyof:q((y,_)=>({type:"JsdocTypeKeyof",element:_(y.element)}),"JsdocTypeKeyof"),JsdocTypeParenthesis:q((y,_)=>({type:"JsdocTypeParenthesis",element:_(y.element)}),"JsdocTypeParenthesis"),JsdocTypeProperty:q(y=>y,"JsdocTypeProperty"),JsdocTypePredicate:q((y,_)=>({type:"JsdocTypePredicate",left:_(y.left),right:_(y.right)}),"JsdocTypePredicate"),JsdocTypeIndexSignature:q((y,_)=>({type:"JsdocTypeIndexSignature",key:y.key,right:_(y.right)}),"JsdocTypeIndexSignature"),JsdocTypeMappedType:q((y,_)=>({type:"JsdocTypeMappedType",key:y.key,right:_(y.right)}),"JsdocTypeMappedType"),JsdocTypeAsserts:q((y,_)=>({type:"JsdocTypeAsserts",left:_(y.left),right:_(y.right)}),"JsdocTypeAsserts")}}q(Ly,"identityTransformRules");let Dy={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"]};function Ti(y,_,L,J,ee){J?.(y,_,L);let le=Dy[y.type];for(let me of le){let Ne=y[me];if(Ne!==void 0)if(Array.isArray(Ne))for(let Le of Ne)Ti(Le,y,me,J,ee);else Ti(Ne,y,me,J,ee)}ee?.(y,_,L)}q(Ti,"_traverse");function Fy(y,_,L){Ti(y,void 0,void 0,_,L)}q(Fy,"traverse"),r.catharsisTransform=ky,r.identityTransformRules=Ly,r.jtpTransform=$y,r.parse=Kr,r.stringify=Qr,r.stringifyRules=Xr,r.transform=Ut,r.traverse=Fy,r.tryParse=Ln,r.visitorKeys=Dy})});const{UnknownArgTypesError:XG}=__STORYBOOK_MODULE_CORE_EVENTS_PREVIEW_ERRORS__;function Wi(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}q(Wi,"isPlainObject");function u6(e,t){let r={},n=Object.keys(e);for(let o=0;o<n.length;o++){let i=n[o],s=e[i];r[i]=t(s,i,e)}return r}q(u6,"mapValues");const{UnknownArgTypesError:QG}=__STORYBOOK_MODULE_CORE_EVENTS_PREVIEW_ERRORS__;var c6=["null","undefined"];function Ou(e){return c6.some(t=>t===e)}q(Ou,"isDefaultValueBlacklisted");var d6=q(e=>{if(!e)return"";if(typeof e=="string")return e;throw new Error(`Description: expected string, got: ${JSON.stringify(e)}`)},"str");function Py(e){return!!e.__docgenInfo}q(Py,"hasDocgen");function p6(e){return e!=null&&Object.keys(e).length>0}q(p6,"isValidDocgenSection");function f6(e,t){return Py(e)?e.__docgenInfo[t]:null}q(f6,"getDocgenSection");function wq(e){return Py(e)?d6(e.__docgenInfo.description):""}q(wq,"getDocgenDescription");var Dr;(function(e){e.start="/**",e.nostart="/***",e.delim="*",e.end="*/"})(Dr=Dr||(Dr={}));function Eq(e){return/^\s+$/.test(e)}q(Eq,"isSpace");function xq(e){let t=e.match(/\r+$/);return t==null?["",e]:[e.slice(-t[0].length),e.slice(0,-t[0].length)]}q(xq,"splitCR");function hn(e){let t=e.match(/^\s+/);return t==null?["",e]:[e.slice(0,t[0].length),e.slice(t[0].length)]}q(hn,"splitSpace");function Tq(e){return e.split(/\n/)}q(Tq,"splitLines");function Sq(e={}){return Object.assign({tag:"",name:"",type:"",optional:!1,description:"",problems:[],source:[]},e)}q(Sq,"seedSpec");function Cq(e={}){return Object.assign({start:"",delimiter:"",postDelimiter:"",tag:"",postTag:"",name:"",postName:"",type:"",postType:"",description:"",end:"",lineEnd:""},e)}q(Cq,"seedTokens");var h6=/^@\S+/;function Pq({fence:e="```"}={}){let t=Oq(e),r=q((n,o)=>t(n)?!o:o,"toggleFence");return q(function(n){let o=[[]],i=!1;for(let s of n)h6.test(s.tokens.description)&&!i?o.push([s]):o[o.length-1].push(s),i=r(s.tokens.description,i);return o},"parseBlock")}q(Pq,"getParser");function Oq(e){return typeof e=="string"?t=>t.split(e).length%2===0:e}q(Oq,"getFencer");function _q({startLine:e=0,markers:t=Dr}={}){let r=null,n=e;return q(function(o){let i=o,s=Cq();if([s.lineEnd,i]=xq(i),[s.start,i]=hn(i),r===null&&i.startsWith(t.start)&&!i.startsWith(t.nostart)&&(r=[],s.delimiter=i.slice(0,t.start.length),i=i.slice(t.start.length),[s.postDelimiter,i]=hn(i)),r===null)return n++,null;let l=i.trimRight().endsWith(t.end);if(s.delimiter===""&&i.startsWith(t.delim)&&!i.startsWith(t.end)&&(s.delimiter=t.delim,i=i.slice(t.delim.length),[s.postDelimiter,i]=hn(i)),l){let c=i.trimRight();s.end=i.slice(c.length-t.end.length),i=c.slice(0,-t.end.length)}if(s.description=i,r.push({number:n,source:o,tokens:s}),n++,l){let c=r.slice();return r=null,c}return null},"parseSource")}q(_q,"getParser");function Aq({tokenizers:e}){return q(function(t){var r;let n=Sq({source:t});for(let o of e)if(n=o(n),!((r=n.problems[n.problems.length-1])===null||r===void 0)&&r.critical)break;return n},"parseSpec")}q(Aq,"getParser");function Rq(){return e=>{let{tokens:t}=e.source[0],r=t.description.match(/\s*(@(\S+))(\s*)/);return r===null?(e.problems.push({code:"spec:tag:prefix",message:'tag should start with "@" symbol',line:e.source[0].number,critical:!0}),e):(t.tag=r[1],t.postTag=r[3],t.description=t.description.slice(r[0].length),e.tag=r[2],e)}}q(Rq,"tagTokenizer");function qq(e="compact"){let t=Iq(e);return r=>{let n=0,o=[];for(let[l,{tokens:c}]of r.source.entries()){let u="";if(l===0&&c.description[0]!=="{")return r;for(let d of c.description)if(d==="{"&&n++,d==="}"&&n--,u+=d,n===0)break;if(o.push([c,u]),n===0)break}if(n!==0)return r.problems.push({code:"spec:type:unpaired-curlies",message:"unpaired curlies",line:r.source[0].number,critical:!0}),r;let i=[],s=o[0][0].postDelimiter.length;for(let[l,[c,u]]of o.entries())c.type=u,l>0&&(c.type=c.postDelimiter.slice(s)+u,c.postDelimiter=c.postDelimiter.slice(0,s)),[c.postType,c.description]=hn(c.description.slice(u.length)),i.push(c.type);return i[0]=i[0].slice(1),i[i.length-1]=i[i.length-1].slice(0,-1),r.type=t(i),r}}q(qq,"typeTokenizer");var m6=q(e=>e.trim(),"trim");function Iq(e){return e==="compact"?t=>t.map(m6).join(""):e==="preserve"?t=>t.join(`
1051
- `):e}q(Iq,"getJoiner");var y6=q(e=>e&&e.startsWith('"')&&e.endsWith('"'),"isQuoted");function Nq(){let e=q((t,{tokens:r},n)=>r.type===""?t:n,"typeEnd");return t=>{let{tokens:r}=t.source[t.source.reduce(e,0)],n=r.description.trimLeft(),o=n.split('"');if(o.length>1&&o[0]===""&&o.length%2===1)return t.name=o[1],r.name=`"${o[1]}"`,[r.postName,r.description]=hn(n.slice(r.name.length)),t;let i=0,s="",l=!1,c;for(let d of n){if(i===0&&Eq(d))break;d==="["&&i++,d==="]"&&i--,s+=d}if(i!==0)return t.problems.push({code:"spec:name:unpaired-brackets",message:"unpaired brackets",line:t.source[0].number,critical:!0}),t;let u=s;if(s[0]==="["&&s[s.length-1]==="]"){l=!0,s=s.slice(1,-1);let d=s.split("=");if(s=d[0].trim(),d[1]!==void 0&&(c=d.slice(1).join("=").trim()),s==="")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(!y6(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=l,t.name=s,r.name=u,c!==void 0&&(t.default=c),[r.postName,r.description]=hn(n.slice(r.name.length)),t}}q(Nq,"nameTokenizer");function jq(e="compact",t=Dr){let r=Oy(e);return n=>(n.description=r(n.source,t),n)}q(jq,"descriptionTokenizer");function Oy(e){return e==="compact"?kq:e==="preserve"?Mq:e}q(Oy,"getJoiner");function kq(e,t=Dr){return e.map(({tokens:{description:r}})=>r.trim()).filter(r=>r!=="").join(" ")}q(kq,"compactJoiner");var b6=q((e,{tokens:t},r)=>t.type===""?e:r,"lineNo"),g6=q(({tokens:e})=>(e.delimiter===""?e.start:e.postDelimiter.slice(1))+e.description,"getDescription");function Mq(e,t=Dr){if(e.length===0)return"";e[0].tokens.description===""&&e[0].tokens.delimiter===t.start&&(e=e.slice(1));let r=e[e.length-1];return r!==void 0&&r.tokens.description===""&&r.tokens.end.endsWith(t.end)&&(e=e.slice(0,-1)),e=e.slice(e.reduce(b6,0)),e.map(g6).join(`
1052
- `)}q(Mq,"preserveJoiner");function $q({startLine:e=0,fence:t="```",spacing:r="compact",markers:n=Dr,tokenizers:o=[Rq(),qq(r),Nq(),jq(r)]}={}){if(e<0||e%1>0)throw new Error("Invalid startLine");let i=_q({startLine:e,markers:n}),s=Pq({fence:t}),l=Aq({tokenizers:o}),c=Oy(r);return function(u){let d=[];for(let p of Tq(u)){let h=i(p);if(h===null)continue;let f=s(h),m=f.slice(1).map(l);d.push({description:c(f[0],n),tags:m,source:h,problems:m.reduce((b,g)=>b.concat(g.problems),[])})}return d}}q($q,"getParser");function Lq(e){return e.start+e.delimiter+e.postDelimiter+e.tag+e.postTag+e.type+e.postType+e.name+e.postName+e.description+e.end+e.lineEnd}q(Lq,"join");function v6(){return e=>e.source.map(({tokens:t})=>Lq(t)).join(`
1053
- `)}q(v6,"getStringifier");function Dq(e,t={}){return $q(t)(e)}q(Dq,"parse");var _y=s6(l6());function Fq(e){return e!=null&&e.includes("@")}q(Fq,"containsJsDoc");function Bq(e){let t=`/**
1054
- `+(e??"").split(`
1055
- `).map(n=>` * ${n}`).join(`
1056
- `)+`
1057
- */`,r=Dq(t,{spacing:"preserve"});if(!r||r.length===0)throw new Error("Cannot parse JSDoc tags.");return r[0]}q(Bq,"parse");var w6={tags:["param","arg","argument","returns","ignore","deprecated"]},E6=q((e,t=w6)=>{if(!Fq(e))return{includesJsDoc:!1,ignore:!1};let r=Bq(e),n=Uq(r,t.tags);return n.ignore?{includesJsDoc:!0,ignore:!0}:{includesJsDoc:!0,ignore:!1,description:r.description.trim(),extractedTags:n}},"parseJsDoc");function Uq(e,t){let r={params:null,deprecated:null,returns:null,ignore:!1};for(let n of e.tags)if(!(t!==void 0&&!t.includes(n.tag)))if(n.tag==="ignore"){r.ignore=!0;break}else switch(n.tag){case"param":case"arg":case"argument":{let o=Vq(n);o!=null&&(r.params==null&&(r.params=[]),r.params.push(o));break}case"deprecated":{let o=Jq(n);o!=null&&(r.deprecated=o);break}case"returns":{let o=zq(n);o!=null&&(r.returns=o);break}}return r}q(Uq,"extractJsDocTags");function Hq(e){return e.replace(/[\.-]$/,"")}q(Hq,"normaliseParamName");function Vq(e){if(!e.name||e.name==="-")return null;let t=qy(e.type);return{name:e.name,type:t,description:Ry(e.description),getPrettyName:q(()=>Hq(e.name),"getPrettyName"),getTypeName:q(()=>t?Iy(t):null,"getTypeName")}}q(Vq,"extractParam");function Jq(e){return e.name?Ay(e.name,e.description):null}q(Jq,"extractDeprecated");function Ay(e,t){let r=e===""?t:`${e} ${t}`;return Ry(r)}q(Ay,"joinNameAndDescription");function Ry(e){let t=e.replace(/^- /g,"").trim();return t===""?null:t}q(Ry,"normaliseDescription");function zq(e){let t=qy(e.type);return t?{type:t,description:Ay(e.name,e.description),getTypeName:q(()=>Iy(t),"getTypeName")}:null}q(zq,"extractReturns");var Gr=(0,_y.stringifyRules)(),x6=Gr.JsdocTypeObject;Gr.JsdocTypeAny=()=>"any";Gr.JsdocTypeObject=(e,t)=>`(${x6(e,t)})`;Gr.JsdocTypeOptional=(e,t)=>t(e.element);Gr.JsdocTypeNullable=(e,t)=>t(e.element);Gr.JsdocTypeNotNullable=(e,t)=>t(e.element);Gr.JsdocTypeUnion=(e,t)=>e.elements.map(t).join("|");function qy(e){try{return(0,_y.parse)(e,"typescript")}catch{return null}}q(qy,"extractType");function Iy(e){return(0,_y.transform)(Gr,e)}q(Iy,"extractTypeName");function Ny(e){return e.length>90}q(Ny,"isTooLongForTypeSummary");function Wq(e){return e.length>50}q(Wq,"isTooLongForDefaultValueSummary");function Ke(e,t){return e===t?{summary:e}:{summary:e,detail:t}}q(Ke,"createSummaryValue");function T6(e,t){if(e!=null){let{value:r}=e;if(!Ou(r))return Wq(r)?Ke(t?.name,r):Ke(r)}return null}q(T6,"createDefaultValue");function jy({name:e,value:t,elements:r,raw:n}){return t??(r!=null?r.map(jy).join(" | "):n??e)}q(jy,"generateUnionElement");function Gq({name:e,raw:t,elements:r}){return r!=null?Ke(r.map(jy).join(" | ")):t!=null?Ke(t.replace(/^\|\s*/,"")):Ke(e)}q(Gq,"generateUnion");function Kq({type:e,raw:t}){return t!=null?Ke(t):Ke(e)}q(Kq,"generateFuncSignature");function Yq({type:e,raw:t}){return t!=null?Ny(t)?Ke(e,t):Ke(t):Ke(e)}q(Yq,"generateObjectSignature");function Xq(e){let{type:t}=e;return t==="object"?Yq(e):Kq(e)}q(Xq,"generateSignature");function Qq({name:e,raw:t}){return t!=null?Ny(t)?Ke(e,t):Ke(t):Ke(e)}q(Qq,"generateDefault");function S6(e){if(e==null)return null;switch(e.name){case"union":return Gq(e);case"signature":return Xq(e);default:return Qq(e)}}q(S6,"createType");function C6({defaultValue:e}){if(e!=null){let{value:t}=e;if(!Ou(t))return Ke(t)}return null}q(C6,"createDefaultValue");function P6({tsType:e,required:t}){if(e==null)return null;let r=e.name;return t||(r=r.replace(" | undefined","")),Ke(["Array","Record","signature"].includes(e.name)?e.raw:r)}q(P6,"createType");function Zq(e){return e!=null?Ke(e.name):null}q(Zq,"createType");function eI(e){let{computed:t,func:r}=e;return typeof t>"u"&&typeof r>"u"}q(eI,"isReactDocgenTypescript");function tI(e){return e?e.name==="string"?!0:e.name==="enum"?Array.isArray(e.value)&&e.value.every(({value:t})=>typeof t=="string"&&t[0]==='"'&&t[t.length-1]==='"'):!1:!1}q(tI,"isStringValued");function rI(e,t){if(e!=null){let{value:r}=e;if(!Ou(r))return eI(e)&&tI(t)?Ke(JSON.stringify(r)):Ke(r)}return null}q(rI,"createDefaultValue");function O6(e,t,r){let{description:n,required:o,defaultValue:i}=r;return{name:e,type:Zq(t),required:o,description:n,defaultValue:rI(i,t)}}q(O6,"createBasicPropDef");function _6(e,t){if(t?.includesJsDoc){let{description:r,extractedTags:n}=t;r!=null&&(e.description=t.description);let o={...n,params:n?.params?.map(i=>({name:i.getPrettyName(),description:i.description}))};Object.values(o).filter(Boolean).length>0&&(e.jsDocTags=o)}return e}q(_6,"applyJsDocResult");function A6(e,t,r,n){let o=E6(t.description);return o.includesJsDoc&&o.ignore?null:{propDef:n(e,t,o),jsDocTags:o.extractedTags,docgenInfo:t,typeSystem:r}}q(A6,"extractProp");function R6(e){return e!=null?wq(e):""}q(R6,"extractComponentDescription");var nI=q((...e)=>{let t={},r=e.filter(Boolean),n=r.reduce((o,i)=>(Object.entries(i).forEach(([s,l])=>{let c=o[s];Array.isArray(l)||typeof c>"u"?o[s]=l:Wi(l)&&Wi(c)?t[s]=!0:typeof l<"u"&&(o[s]=l)}),o),{});return Object.keys(t).forEach(o=>{let i=r.filter(Boolean).map(s=>s[o]).filter(s=>typeof s<"u");i.every(s=>Wi(s))?n[o]=nI(...i):n[o]=i[i.length-1]}),n},"combineParameters"),q6=q(e=>{let{component:t,argTypes:r,parameters:{docs:n={}}}=e,{extractArgTypes:o}=n;if(!o||!t)return r;let i=o(t);return i?nI(i,r):r},"enhanceArgTypes"),I6="storybook/docs",ZG=`${I6}/snippet-rendered`,Ws=(e=>(e.AUTO="auto",e.CODE="code",e.DYNAMIC="dynamic",e))(Ws||{}),N6="Invariant failed";function j6(e,t){if(!e)throw new Error(N6)}const{logger:oI}=__STORYBOOK_MODULE_CLIENT_LOGGER__;function aI(e,t){let r;switch(t){case"attributes":case"properties":r={name:e.type?.text||e.type};break;case"slots":r={name:"string"};break;default:r={name:"void"};break}return{name:e.name,required:!1,description:e.description,type:r,table:{category:t,type:{summary:e.type?.text||e.type},defaultValue:{summary:e.default!==void 0?e.default:e.defaultValue}}}}function k6(e){let t=e.name.replace(/(-|_|:|\.|\s)+(.)?/g,(r,n,o)=>o?o.toUpperCase():"").replace(/^([A-Z])/,r=>r.toLowerCase());return t=`on${t.charAt(0).toUpperCase()+t.substr(1)}`,[{name:t,action:{name:e.name},table:{disable:!0}},aI(e,"events")]}function tn(e,t){return e&&e.filter(r=>r&&r.name).reduce((r,n)=>{if(n.kind==="method")return r;switch(t){case"events":k6(n).forEach(o=>{j6(o.name),r[o.name]=o});break;default:r[n.name]=aI(n,t);break}return r},{})}var M6=(e,t)=>{if(!hq(e)||!mq(t))return null;let r=t.tags.find(n=>n.name.toUpperCase()===e.toUpperCase());return r||oI.warn(`Component not found in custom-elements.json: ${e}`),r},$6=(e,t)=>{if(!hq(e)||!mq(t))return null;let r;return t?.modules?.forEach(n=>{n?.declarations?.forEach(o=>{o.tagName===e&&(r=o)})}),r||oI.warn(`Component not found in custom-elements.json: ${e}`),r},iI=(e,t)=>t?.version==="experimental"?M6(e,t):$6(e,t),L6=(e,t)=>{let r=iI(e,t);return r&&{...tn(r.members??[],"properties"),...tn(r.properties??[],"properties"),...tn(r.attributes??[],"attributes"),...tn(r.events??[],"events"),...tn(r.slots??[],"slots"),...tn(r.cssProperties??[],"css custom properties"),...tn(r.cssParts??[],"css shadow parts")}},D6=e=>{let t=yq();return L6(e,t)},F6=e=>{let t=iI(e,yq());return t&&t.description},B6={docs:{extractArgTypes:D6,extractComponentDescription:F6}},U6=[q6];const H6=Object.freeze(Object.defineProperty({__proto__:null,argTypesEnhancers:U6,parameters:B6},Symbol.toStringTag,{value:"Module"})),{useEffect:V6,emitTransformCode:J6}=__STORYBOOK_MODULE_PREVIEW_API__;var z6=/<!--\?lit\$[0-9]+\$-->|<!--\??-->/g;function W6(e){let t=e?.parameters.docs?.source,r=e?.parameters.__isArgsStory;return t?.type===Ws.DYNAMIC?!1:!r||t?.code||t?.type===Ws.CODE}function G6(e,t){let r=e(),n=t?.parameters.docs?.source?.excludeDecorators?t.originalStoryFn(t.args,t):r,o;if(V6(()=>{o&&J6(o,t)}),!W6(t)){let i=window.document.createElement("div");n instanceof DocumentFragment?Js(n.cloneNode(!0),i):Js(n,i),o=i.innerHTML.replace(z6,"")}return r}var K6=[G6],Y6={docs:{source:{type:Ws.DYNAMIC,language:"html"},story:{inline:!0}}};const X6=Object.freeze(Object.defineProperty({__proto__:null,decorators:K6,parameters:Y6},Symbol.toStringTag,{value:"Module"}));var Q6=Object.entries(globalThis.TAGS_OPTIONS??{}).reduce((e,t)=>{let[r,n]=t;return n.excludeFromDocsStories&&(e[r]=!0),e},{}),Z6={docs:{renderer:async()=>{let{DocsRenderer:e}=await Xe(()=>import("./DocsRenderer-PQXLIZUC-C0ZKNA9m.js").then(t=>t.D),__vite__mapDeps([24,25]),import.meta.url);return new e},stories:{filter:e=>(e.tags||[]).filter(t=>Q6[t]).length===0&&!e.parameters.docs?.disable}}};const eW=Object.freeze(Object.defineProperty({__proto__:null,parameters:Z6},Symbol.toStringTag,{value:"Module"})),{expect:Yg}=__STORYBOOK_MODULE_TEST__,{ElementA11yParameterError:tW}=__STORYBOOK_MODULE_CORE_EVENTS_PREVIEW_ERRORS__,{global:sI}=__STORYBOOK_MODULE_GLOBAL__,{addons:rW,waitForAnimations:nW}=__STORYBOOK_MODULE_PREVIEW_API__;var jn="storybook/a11y",oW=`${jn}/panel`,aW=`${jn}/result`,iW=`${jn}/request`,sW=`${jn}/running`,lW=`${jn}/error`,uW=`${jn}/manual`,cW=`${jn}/select`,nc={RESULT:aW,REQUEST:iW,RUNNING:sW,ERROR:lW,MANUAL:uW,SELECT:cW},{document:dW}=sI,pW=(e,t)=>{let r=dW.location.pathname.replace(/iframe\.html$/,""),n={...e};return["incomplete","passes","violations"].forEach(o=>{Array.isArray(e[o])&&(n[o]=e[o].map(i=>({...i,nodes:i.nodes.map((s,l)=>{let c=`${o}.${i.id}.${l+1}`,u=`${r}?path=/story/${t}&addonPanel=${oW}&a11ySelection=${c}`;return{id:c,...s,linkPath:u}})})))}),n},{document:Xg}=sI,oc=rW.getChannel(),lI={config:{},options:{}},fW=["region"],ap=[],ip=!1,uI=async()=>{if(ap.length===0){ip=!1;return}ip=!0;let e=ap.shift();e&&await e(),uI()},cI=async(e=lI,t)=>{let r=(await Xe(async()=>{const{default:l}=await import("./axe-C59a3kt3.js").then(c=>c.a);return{default:l}},__vite__mapDeps([26,25]),import.meta.url))?.default||globalThis.axe,{config:n={},options:o={}}=e;if(e.element)throw new tW;let i={include:Xg?.body,exclude:[".sb-wrapper","#storybook-docs","#storybook-highlights-root"]};if(e.context){let l=typeof e.context=="object"&&"include"in e.context&&e.context.include!==void 0,c=typeof e.context=="object"&&"exclude"in e.context&&e.context.exclude!==void 0;l?i.include=e.context.include:!l&&!c&&(i.include=e.context),c&&(i.exclude=i.exclude.concat(e.context.exclude))}r.reset();let s={...n,rules:[...fW.map(l=>({id:l,enabled:!1})),...n?.rules??[]]};return r.configure(s),new Promise((l,c)=>{let u=Xg?.getElementById("storybook-highlights-root");u&&(u.style.display="none");let d=async()=>{try{let p=await r.run(i,o),h=pW(p,t);l(h)}catch(p){c(p)}};ap.push(d),ip||uI(),u&&(u.style.display="")})};oc.on(nc.MANUAL,async(e,t=lI)=>{try{await nW();let r=await cI(t,e),n=JSON.parse(JSON.stringify(r));oc.emit(nc.RESULT,n,e)}catch(r){oc.emit(nc.ERROR,r)}});function Qg(){try{return!1}catch{return!1}}var Zg=!1,hW=async({id:e,reporting:t,parameters:r,globals:n,viewMode:o})=>{let i=r.a11y,s=n.a11y,l=i?.disable!==!0&&i?.test!=="off"&&s?.manual!==!0,c=()=>{switch(i?.test){case"todo":return"warning";case"error":default:return"failed"}};if(l&&o==="story")try{let u=await cI(i,e);if(u){let d=(u?.violations.length??0)>0;if(t.addReport({type:"a11y",version:1,result:u,status:d?c():"passed"}),Qg()&&d&&c()==="failed"){if(!Zg){let{toHaveNoViolations:p}=await Xe(async()=>{const{toHaveNoViolations:h}=await import("./matchers-7Z3WT2CE-CcSi9QFY.js");return{toHaveNoViolations:h}},[],import.meta.url);Yg.extend({toHaveNoViolations:p}),Zg=!0}Yg(u).toHaveNoViolations()}}}catch(u){if(t.addReport({type:"a11y",version:1,result:{error:u},status:"failed"}),Qg())throw u}},mW={a11y:{manual:!1}},yW={a11y:{test:"todo"}};const bW=Object.freeze(Object.defineProperty({__proto__:null,afterEach:hW,initialGlobals:mW,parameters:yW},Symbol.toStringTag,{value:"Module"}));Ey();const{composeConfigs:gW,PreviewWeb:vW}=__STORYBOOK_MODULE_PREVIEW_API__,wW=(e=[])=>{const t=[e[0]??Y4,e[1]??H6,e[2]??X6,e[3]??eW,e[4]??bW];return gW(t)};window.__STORYBOOK_PREVIEW__=window.__STORYBOOK_PREVIEW__||new vW(C4,wW);window.__STORYBOOK_STORY_STORE__=window.__STORYBOOK_STORY_STORE__||window.__STORYBOOK_PREVIEW__.storyStore;export{Qe as A,Po as T,Xe as _,JG as a,Ws as b,HG as c,J4 as d,VG as f,ZG as h,DG as i,zG as m,WG as p,_4 as r,Ji as s,BG as x};