@designcrowd/fe-shared-lib 1.5.22 → 1.5.24-upgradepkg

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 (171) hide show
  1. package/.claude/settings.local.json +53 -0
  2. package/.storybook/main.ts +5 -2
  3. package/.storybook-static/assets/Auth-DT64t5h-.css +1 -0
  4. package/.storybook-static/assets/Auth.stories-C6eXcTSu.js +490 -0
  5. package/.storybook-static/assets/AuthCrazyDomains.stories-DGvEoWCa.js +73 -0
  6. package/.storybook-static/assets/Button-5UzSGUF6.css +1 -0
  7. package/.storybook-static/assets/Button-DKdQT6Fq.js +1 -0
  8. package/.storybook-static/assets/ButtonGroup-DDPXuhxR.css +1 -0
  9. package/.storybook-static/assets/ButtonGroup.stories-DlrYMRSk.js +504 -0
  10. package/.storybook-static/assets/ButtonPrimary-Bu6bXb_c.css +1 -0
  11. package/.storybook-static/assets/ButtonPrimary-BvWW6Duz.js +1 -0
  12. package/.storybook-static/assets/Buttons.stories-CKmd6hkZ.js +761 -0
  13. package/.storybook-static/assets/ButtonsCrazyDomains.stories-DdEuOUrn.js +199 -0
  14. package/.storybook-static/assets/Checkbox.mixin-DkHpdvGa.js +1 -0
  15. package/.storybook-static/assets/Checkbox.stories-DPBUC2Mx.js +246 -0
  16. package/.storybook-static/assets/Checktile.stories-ByaFwplD.js +88 -0
  17. package/.storybook-static/assets/CollapsiblePanel.stories-Y6q3gP9j.js +56 -0
  18. package/.storybook-static/assets/ColorPicker.stories-DdxPUB_R.js +73 -0
  19. package/.storybook-static/assets/CopyToClipboardText.stories-J9qndWxd.js +32 -0
  20. package/.storybook-static/assets/Dropdown.stories-1zKPATii.js +159 -0
  21. package/.storybook-static/assets/DropdownItem-BV-BdThU.css +1 -0
  22. package/.storybook-static/assets/DropdownItem-DA6TdpDb.js +1 -0
  23. package/.storybook-static/assets/FormControl.mixin-DcEBwrV3.js +1 -0
  24. package/.storybook-static/assets/HashRouteModal.stories-BGxvqE22.js +60 -0
  25. package/.storybook-static/assets/HelloBar-CYEZR2kQ.js +1 -0
  26. package/.storybook-static/assets/HelloBar.stories-597Kxj0W.js +342 -0
  27. package/.storybook-static/assets/Icon-C17LFvsP.js +145 -0
  28. package/.storybook-static/assets/Icon.stories-B9iAmcTU.js +151 -0
  29. package/.storybook-static/assets/Icon.stories-CR5vT9H7.js +791 -0
  30. package/.storybook-static/assets/Loader-BWGoT_xC.js +1 -0
  31. package/.storybook-static/assets/LogoBusinessBrandColours-CExzox1Z.js +1 -0
  32. package/.storybook-static/assets/LogoBusinessBrandColours-CeAaMKke.css +1 -0
  33. package/.storybook-static/assets/LogoBusinessBrandColours.stories-kuxAH8B8.js +36 -0
  34. package/.storybook-static/assets/Masonry-C2MNiGg0.css +1 -0
  35. package/.storybook-static/assets/Masonry.stories-CTXJLQ_i.js +71 -0
  36. package/.storybook-static/assets/Modal-CGwEIF5R.css +1 -0
  37. package/.storybook-static/assets/Modal-CydTNprT.js +1 -0
  38. package/.storybook-static/assets/Modal.stories-DZiG5NGM.js +345 -0
  39. package/.storybook-static/assets/Notice.stories-ChOj8CWm.js +222 -0
  40. package/.storybook-static/assets/NumberStepper-Blffv09R.css +1 -0
  41. package/.storybook-static/assets/NumberStepper.stories-CVbKJ_oJ.js +64 -0
  42. package/.storybook-static/assets/PaymentConfigList-BpUMV6cp.css +1 -0
  43. package/.storybook-static/assets/PaymentConfigList.stories-DUD7OZBS.js +130 -0
  44. package/.storybook-static/assets/Picture-B8m1I9xN.js +1 -0
  45. package/.storybook-static/assets/Picture.stories-MMzybhJ6.js +119 -0
  46. package/.storybook-static/assets/Pill-DLXZ_TL8.js +1 -0
  47. package/.storybook-static/assets/Pill.stories-DCP7szJm.js +18 -0
  48. package/.storybook-static/assets/PillBar-os4mJV3M.css +1 -0
  49. package/.storybook-static/assets/PillBar.stories-Bry-zQ6f.js +41 -0
  50. package/.storybook-static/assets/Price-C4GZbDSa.js +1 -0
  51. package/.storybook-static/assets/Price.stories-CMHly9V0.js +337 -0
  52. package/.storybook-static/assets/PromoCard.stories-xsbFtADE.js +299 -0
  53. package/.storybook-static/assets/PublishBrandPageModal-Q9-mNG1q.css +1 -0
  54. package/.storybook-static/assets/PublishBrandPageModal.stories-C9XzW_1m.js +324 -0
  55. package/.storybook-static/assets/SearchBar.stories-DaIneOSz.js +12 -0
  56. package/.storybook-static/assets/Select-DnioWQmi.css +1 -0
  57. package/.storybook-static/assets/Select.stories-BmGYB4pw.js +108 -0
  58. package/.storybook-static/assets/SellDomainNameList.fixtures-LC6fjr_b.js +1 -0
  59. package/.storybook-static/assets/SellDomainNameListModal-DH6khE10.css +1 -0
  60. package/.storybook-static/assets/SellDomainNameListModal-ymtVclFP.js +1 -0
  61. package/.storybook-static/assets/SellDomainNameListModal.stories-DvGvylgx.js +71 -0
  62. package/.storybook-static/assets/SellDomainNameListSearchResult-Cpxq0jDA.css +1 -0
  63. package/.storybook-static/assets/SellDomainNameListSearchResult-D-1CrQyf.js +1 -0
  64. package/.storybook-static/assets/SellDomainNameSearchWithResults-bX--zu97.js +1 -0
  65. package/.storybook-static/assets/SellDomainNameSearchWithResults.stories-DRUJjSdH.js +37 -0
  66. package/.storybook-static/assets/SellDomainNameWidget.stories-CC3LX10s.js +36 -0
  67. package/.storybook-static/assets/SignIn-CPjf8_2O.css +1 -0
  68. package/.storybook-static/assets/SignIn-DI0DSDFe.js +1 -0
  69. package/.storybook-static/assets/Slider-Cog2FFdj.css +1 -0
  70. package/.storybook-static/assets/Slider.stories-B2KGwnJy.js +141 -0
  71. package/.storybook-static/assets/SparkleIcon.stories-Dk904hVE.js +547 -0
  72. package/.storybook-static/assets/StarRating-BtKh7pzm.css +1 -0
  73. package/.storybook-static/assets/StarRating.stories-d2mgOuo2.js +45 -0
  74. package/.storybook-static/assets/TabMenu.stories-Cg2yenqj.js +47 -0
  75. package/.storybook-static/assets/TextCopyField-B66NKTk_.js +1 -0
  76. package/.storybook-static/assets/TextCopyField.stories-B4_ZlfLU.js +47 -0
  77. package/.storybook-static/assets/TextInput-CMoUjT_5.js +1 -0
  78. package/.storybook-static/assets/TextInput.stories-oyyxxf3j.js +233 -0
  79. package/.storybook-static/assets/Textarea.stories-BvhZR6K2.js +207 -0
  80. package/.storybook-static/assets/Toggle.stories-yT5-rL2k.js +161 -0
  81. package/.storybook-static/assets/Tooltip-DyXIgFQH.css +1 -0
  82. package/.storybook-static/assets/Tooltip-ZukyujG5.js +1 -0
  83. package/.storybook-static/assets/Tooltip.stories-sJFylRS_.js +953 -0
  84. package/.storybook-static/assets/UploadYourLogoApplication-Dmw8QcH3.css +1 -0
  85. package/.storybook-static/assets/UploadYourLogoApplication.stories-C9AvzHO_.js +186 -0
  86. package/.storybook-static/assets/UploadYourLogoDropzone-B1ffcicv.js +24 -0
  87. package/.storybook-static/assets/UploadYourLogoDropzone-DQqACf-e.css +1 -0
  88. package/.storybook-static/assets/UploadYourLogoDropzone.stories-D1Dt2ord.js +55 -0
  89. package/.storybook-static/assets/UploadedLogoSearchResultCard.stories-D8oF1Yrx.js +79 -0
  90. package/.storybook-static/assets/WebsiteContextualUpgradeModal-8u1zOZrW.css +1 -0
  91. package/.storybook-static/assets/WebsiteContextualUpgradeModal.stories-mtcvWOAg.js +211 -0
  92. package/.storybook-static/assets/_commonjsHelpers-CE1G-McA.js +1 -0
  93. package/.storybook-static/assets/_plugin-vue_export-helper-DlAUqK2U.js +1 -0
  94. package/.storybook-static/assets/api-lSJGRrF2.js +1 -0
  95. package/.storybook-static/assets/axe-DrS73Vi2.js +20 -0
  96. package/.storybook-static/assets/brand-crowd-api.client-D45NKshX.js +1 -0
  97. package/.storybook-static/assets/bundled-translations-BoWhEDU_.js +1 -0
  98. package/.storybook-static/assets/bundled-translations.de-DE-C4lqla4O.js +1 -0
  99. package/.storybook-static/assets/bundled-translations.es-ES-BxMIllUH.js +1 -0
  100. package/.storybook-static/assets/bundled-translations.fr-CA-MxZpyz0w.js +1 -0
  101. package/.storybook-static/assets/bundled-translations.fr-FR-N7UPCZVr.js +1 -0
  102. package/.storybook-static/assets/bundled-translations.pt-BR-C8tscYuG.js +1 -0
  103. package/.storybook-static/assets/bundled-translations.pt-PT-Dszj5Xfa.js +1 -0
  104. package/.storybook-static/assets/carousel-BelyIYOK.css +1 -0
  105. package/.storybook-static/assets/carousel.stories-CJw3-Iy6.js +668 -0
  106. package/.storybook-static/assets/event-constants-CMO9VQVu.js +1 -0
  107. package/.storybook-static/assets/iframe-B3A6OXQU.js +1104 -0
  108. package/.storybook-static/assets/index-B-eiLVzF.js +7 -0
  109. package/.storybook-static/assets/index-QquxUozE.js +6 -0
  110. package/.storybook-static/assets/matchers-5TDFFDYO-HJu_DfWo.js +14 -0
  111. package/.storybook-static/assets/mediaQueryMixin-CISNqd93.js +1 -0
  112. package/.storybook-static/assets/preload-helper-PPVm8Dsz.js +1 -0
  113. package/.storybook-static/assets/tracking-ATsLLehC.js +1 -0
  114. package/.storybook-static/css/tailwind-brandCrowd.css +2508 -0
  115. package/.storybook-static/css/tailwind-brandPage.css +2188 -0
  116. package/.storybook-static/css/tailwind-crazyDomains.css +2508 -0
  117. package/.storybook-static/css/tailwind-designCom.css +2508 -0
  118. package/.storybook-static/css/tailwind-designCrowd.css +2508 -0
  119. package/.storybook-static/favicon-wrapper.svg +46 -0
  120. package/.storybook-static/favicon.svg +1 -0
  121. package/.storybook-static/iframe.html +713 -0
  122. package/.storybook-static/index.html +148 -0
  123. package/.storybook-static/index.json +1 -0
  124. package/.storybook-static/nunito-sans-bold-italic.woff2 +0 -0
  125. package/.storybook-static/nunito-sans-bold.woff2 +0 -0
  126. package/.storybook-static/nunito-sans-italic.woff2 +0 -0
  127. package/.storybook-static/nunito-sans-regular.woff2 +0 -0
  128. package/.storybook-static/project.json +1 -0
  129. package/.storybook-static/sb-addons/a11y-1/manager-bundle.js +57 -0
  130. package/.storybook-static/sb-addons/links-2/manager-bundle.js +3 -0
  131. package/.storybook-static/sb-addons/storybook-core-server-presets-0/common-manager-bundle.js +628 -0
  132. package/.storybook-static/sb-addons/themes-3/manager-bundle.js +3 -0
  133. package/.storybook-static/sb-common-assets/favicon-wrapper.svg +46 -0
  134. package/.storybook-static/sb-common-assets/favicon.svg +1 -0
  135. package/.storybook-static/sb-common-assets/nunito-sans-bold-italic.woff2 +0 -0
  136. package/.storybook-static/sb-common-assets/nunito-sans-bold.woff2 +0 -0
  137. package/.storybook-static/sb-common-assets/nunito-sans-italic.woff2 +0 -0
  138. package/.storybook-static/sb-common-assets/nunito-sans-regular.woff2 +0 -0
  139. package/.storybook-static/sb-manager/globals-runtime.js +77935 -0
  140. package/.storybook-static/sb-manager/globals.js +24 -0
  141. package/.storybook-static/sb-manager/manager-stores.js +23 -0
  142. package/.storybook-static/sb-manager/runtime.js +20404 -0
  143. package/.storybook-static/vite-inject-mocker-entry.js +2 -0
  144. package/dist/css/tailwind-brandCrowd.css +109 -6
  145. package/dist/css/tailwind-brandPage.css +105 -6
  146. package/dist/css/tailwind-crazyDomains.css +109 -6
  147. package/dist/css/tailwind-designCom.css +109 -6
  148. package/dist/css/tailwind-designCrowd.css +109 -6
  149. package/docs/plans/2026-01-30-upgrade-vite7-storybook10-design.md +177 -0
  150. package/docs/plans/2026-01-30-upgrade-vite7-storybook10.md +388 -0
  151. package/package.json +32 -36
  152. package/src/atoms/components/Icon/Icon.vue +38 -0
  153. package/src/atoms/components/Icon/icons/annotate-heart.vue +7 -0
  154. package/src/atoms/components/Icon/icons/award.vue +7 -0
  155. package/src/atoms/components/Icon/icons/bezier-curve-outline.vue +7 -0
  156. package/src/atoms/components/Icon/icons/bezier-curve.vue +7 -0
  157. package/src/atoms/components/Icon/icons/browser.vue +7 -0
  158. package/src/atoms/components/Icon/icons/card-vertical.vue +7 -0
  159. package/src/atoms/components/Icon/icons/file-empty.vue +7 -0
  160. package/src/atoms/components/Icon/icons/font.vue +7 -0
  161. package/src/atoms/components/Icon/icons/headphones.vue +7 -0
  162. package/src/atoms/components/Icon/icons/image.vue +7 -0
  163. package/src/atoms/components/Icon/icons/lightning.vue +7 -0
  164. package/src/atoms/components/Icon/icons/logo.vue +7 -0
  165. package/src/atoms/components/Icon/icons/palette-outline.vue +7 -0
  166. package/src/atoms/components/Icon/icons/pen-outline.vue +7 -0
  167. package/src/atoms/components/Icon/icons/pen-sparkle.vue +17 -0
  168. package/src/atoms/components/Icon/icons/pen.vue +7 -0
  169. package/src/atoms/components/Icon/icons/sparkle-square.vue +22 -0
  170. package/src/experiences/components/WebsitesContextualUpgradeModal/WebsiteContextualUpgradeModal.vue +2 -2
  171. package/vite.config.ts +0 -4
@@ -0,0 +1,1104 @@
1
+ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./Buttons.stories-CKmd6hkZ.js","./Button-DKdQT6Fq.js","./ButtonPrimary-BvWW6Duz.js","./_plugin-vue_export-helper-DlAUqK2U.js","./ButtonPrimary-Bu6bXb_c.css","./Icon-C17LFvsP.js","./Button-5UzSGUF6.css","./preload-helper-PPVm8Dsz.js","./ButtonsCrazyDomains.stories-DdEuOUrn.js","./ButtonGroup.stories-DlrYMRSk.js","./ButtonGroup-DDPXuhxR.css","./carousel.stories-CJw3-Iy6.js","./carousel-BelyIYOK.css","./Checkbox.stories-DPBUC2Mx.js","./Checkbox.mixin-DkHpdvGa.js","./Checktile.stories-ByaFwplD.js","./CollapsiblePanel.stories-Y6q3gP9j.js","./ColorPicker.stories-DdxPUB_R.js","./FormControl.mixin-DcEBwrV3.js","./CopyToClipboardText.stories-J9qndWxd.js","./Tooltip-ZukyujG5.js","./Tooltip-DyXIgFQH.css","./Dropdown.stories-1zKPATii.js","./DropdownItem-DA6TdpDb.js","./DropdownItem-BV-BdThU.css","./Pill-DLXZ_TL8.js","./HelloBar.stories-597Kxj0W.js","./HelloBar-CYEZR2kQ.js","./Icon.stories-CR5vT9H7.js","./Masonry.stories-CTXJLQ_i.js","./Masonry-C2MNiGg0.css","./HashRouteModal.stories-BGxvqE22.js","./Modal-CydTNprT.js","./Modal-CGwEIF5R.css","./Modal.stories-DZiG5NGM.js","./Notice.stories-ChOj8CWm.js","./NumberStepper.stories-CVbKJ_oJ.js","./NumberStepper-Blffv09R.css","./Picture.stories-MMzybhJ6.js","./Picture-B8m1I9xN.js","./Pill.stories-DCP7szJm.js","./PillBar.stories-Bry-zQ6f.js","./PillBar-os4mJV3M.css","./Price.stories-CMHly9V0.js","./Price-C4GZbDSa.js","./PromoCard.stories-xsbFtADE.js","./mediaQueryMixin-CISNqd93.js","./SearchBar.stories-DaIneOSz.js","./Select.stories-BmGYB4pw.js","./Select-DnioWQmi.css","./Slider.stories-B2KGwnJy.js","./Slider-Cog2FFdj.css","./SparkleIcon.stories-Dk904hVE.js","./StarRating.stories-d2mgOuo2.js","./StarRating-BtKh7pzm.css","./TabMenu.stories-Cg2yenqj.js","./TextCopyField.stories-B4_ZlfLU.js","./TextCopyField-B66NKTk_.js","./TextInput-CMoUjT_5.js","./TextInput.stories-oyyxxf3j.js","./Textarea.stories-BvhZR6K2.js","./Toggle.stories-yT5-rL2k.js","./Tooltip.stories-sJFylRS_.js","./Icon.stories-B9iAmcTU.js","./Auth.stories-C6eXcTSu.js","./SignIn-DI0DSDFe.js","./SignIn-CPjf8_2O.css","./Auth-DT64t5h-.css","./AuthCrazyDomains.stories-DGvEoWCa.js","./PaymentConfigList.stories-DUD7OZBS.js","./index-QquxUozE.js","./index-B-eiLVzF.js","./_commonjsHelpers-CE1G-McA.js","./Loader-BWGoT_xC.js","./PaymentConfigList-BpUMV6cp.css","./PublishBrandPageModal.stories-C9XzW_1m.js","./SellDomainNameListModal-ymtVclFP.js","./SellDomainNameListSearchResult-D-1CrQyf.js","./event-constants-CMO9VQVu.js","./SellDomainNameListSearchResult-Cpxq0jDA.css","./SellDomainNameListModal-DH6khE10.css","./brand-crowd-api.client-D45NKshX.js","./api-lSJGRrF2.js","./SellDomainNameSearchWithResults-bX--zu97.js","./PublishBrandPageModal-Q9-mNG1q.css","./SellDomainNameListModal.stories-DvGvylgx.js","./SellDomainNameList.fixtures-LC6fjr_b.js","./SellDomainNameSearchWithResults.stories-DRUJjSdH.js","./SellDomainNameWidget.stories-CC3LX10s.js","./UploadYourLogoApplication.stories-C9AvzHO_.js","./tracking-ATsLLehC.js","./UploadYourLogoDropzone-B1ffcicv.js","./UploadYourLogoDropzone-DQqACf-e.css","./LogoBusinessBrandColours-CExzox1Z.js","./LogoBusinessBrandColours-CeAaMKke.css","./UploadYourLogoApplication-Dmw8QcH3.css","./UploadYourLogoDropzone.stories-D1Dt2ord.js","./LogoBusinessBrandColours.stories-kuxAH8B8.js","./UploadedLogoSearchResultCard.stories-D8oF1Yrx.js","./WebsiteContextualUpgradeModal.stories-mtcvWOAg.js","./WebsiteContextualUpgradeModal-8u1zOZrW.css","./axe-DrS73Vi2.js"])))=>i.map(i=>d[i]);
2
+ import{_ as Te}from"./preload-helper-PPVm8Dsz.js";(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))n(o);new MutationObserver(o=>{for(const 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 Vn={client:!0},Rf={},zM=Object.create,pm=Object.defineProperty,YM=Object.getOwnPropertyDescriptor,Mw=Object.getOwnPropertyNames,XM=Object.getPrototypeOf,QM=Object.prototype.hasOwnProperty,Ql=(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')}),D=(e,t)=>function(){return t||(0,e[Mw(e)[0]])((t={exports:{}}).exports,t),t.exports},Er=(e,t)=>{for(var r in t)pm(e,r,{get:t[r],enumerable:!0})},ZM=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of Mw(t))!QM.call(e,o)&&o!==r&&pm(e,o,{get:()=>t[o],enumerable:!(n=YM(t,o))||n.enumerable});return e},_t=(e,t,r)=>(r=e!=null?zM(XM(e)):{},ZM(t||!e||!e.__esModule?pm(r,"default",{value:e,enumerable:!0}):r,e)),ej=D({"../../node_modules/@ngard/tiny-isequal/index.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.isEqual=(function(){var t=Object.prototype.toString,r=Object.getPrototypeOf,n=Object.getOwnPropertySymbols?function(o){return Object.keys(o).concat(Object.getOwnPropertySymbols(o))}:Object.keys;return function(o,i){return(function s(a,l,u){var c,d,f,h=t.call(a),m=t.call(l);if(a===l)return!0;if(a==null||l==null)return!1;if(u.indexOf(a)>-1&&u.indexOf(l)>-1)return!0;if(u.push(a,l),h!=m||(c=n(a),d=n(l),c.length!=d.length||c.some(function(g){return!s(a[g],l[g],u)})))return!1;switch(h.slice(8,-1)){case"Symbol":return a.valueOf()==l.valueOf();case"Date":case"Number":return+a==+l||+a!=+a&&+l!=+l;case"RegExp":case"Function":case"String":case"Boolean":return""+a==""+l;case"Set":case"Map":c=a.entries(),d=l.entries();do if(!s((f=c.next()).value,d.next().value,u))return!1;while(!f.done);return!0;case"ArrayBuffer":a=new Uint8Array(a),l=new Uint8Array(l);case"DataView":a=new Uint8Array(a.buffer),l=new Uint8Array(l.buffer);case"Float32Array":case"Float64Array":case"Int8Array":case"Int16Array":case"Int32Array":case"Uint8Array":case"Uint16Array":case"Uint32Array":case"Uint8ClampedArray":case"Arguments":case"Array":if(a.length!=l.length)return!1;for(f=0;f<a.length;f++)if((f in a||f in l)&&(f in a!=f in l||!s(a[f],l[f],u)))return!1;return!0;case"Object":return s(r(a),r(l),u);default:return!1}})(o,i,[])}})()}}),tj=D({"../../node_modules/min-indent/index.js"(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}}}),rj=D({"../../node_modules/strip-indent/index.js"(e,t){var r=tj();t.exports=n=>{let o=r(n);if(o===0)return n;let i=new RegExp(`^[ \\t]{${o}}`,"gm");return n.replace(i,"")}}}),nj=D({"../../node_modules/indent-string/index.js"(e,t){t.exports=(r,n=1,o)=>{if(o={indent:" ",includeEmptyLines:!1,...o},typeof r!="string")throw new TypeError(`Expected \`input\` to be a \`string\`, got \`${typeof r}\``);if(typeof n!="number")throw new TypeError(`Expected \`count\` to be a \`number\`, got \`${typeof n}\``);if(typeof o.indent!="string")throw new TypeError(`Expected \`options.indent\` to be a \`string\`, got \`${typeof o.indent}\``);if(n===0)return r;let i=o.includeEmptyLines?/^/gm:/^(?!\s*$)/gm;return r.replace(i,o.indent.repeat(n))}}}),jw=D({"../../node_modules/redent/index.js"(e,t){var r=rj(),n=nj();t.exports=(o,i=0,s)=>n(r(o),i,s)}}),oj=D({"../../node_modules/aria-query/lib/util/iteratorProxy.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;function t(){var r=this,n=0,o={"@@iterator":function(){return o},next:function(){if(n<r.length){var i=r[n];return n=n+1,{done:!1,value:i}}else return{done:!0}}};return o}e.default=t}}),Ol=D({"../../node_modules/aria-query/lib/util/iterationDecorator.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=o;var t=r(oj());function r(i){return i&&i.__esModule?i:{default:i}}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)}function o(i,s){return typeof Symbol=="function"&&n(Symbol.iterator)==="symbol"&&Object.defineProperty(i,Symbol.iterator,{value:t.default.bind(s)}),i}}}),ij=D({"../../node_modules/aria-query/lib/ariaPropsMap.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=r(Ol());function r(d){return d&&d.__esModule?d:{default:d}}function n(d,f){return l(d)||a(d,f)||i(d,f)||o()}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.`)}function i(d,f){if(d){if(typeof d=="string")return s(d,f);var h={}.toString.call(d).slice(8,-1);return h==="Object"&&d.constructor&&(h=d.constructor.name),h==="Map"||h==="Set"?Array.from(d):h==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(h)?s(d,f):void 0}}function s(d,f){(f==null||f>d.length)&&(f=d.length);for(var h=0,m=Array(f);h<f;h++)m[h]=d[h];return m}function a(d,f){var h=d==null?null:typeof Symbol<"u"&&d[Symbol.iterator]||d["@@iterator"];if(h!=null){var m,g,v,b,E=[],S=!0,A=!1;try{if(v=(h=h.call(d)).next,f===0){if(Object(h)!==h)return;S=!1}else for(;!(S=(m=v.call(h)).done)&&(E.push(m.value),E.length!==f);S=!0);}catch(C){A=!0,g=C}finally{try{if(!S&&h.return!=null&&(b=h.return(),Object(b)!==b))return}finally{if(A)throw g}}return E}}function l(d){if(Array.isArray(d))return d}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"}]],c={entries:function(){return u},forEach:function(d){for(var f=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,h=0,m=u;h<m.length;h++){var g=n(m[h],2),v=g[0],b=g[1];d.call(f,b,v,u)}},get:function(d){var f=u.filter(function(h){return h[0]===d})[0];return f&&f[1]},has:function(d){return!!c.get(d)},keys:function(){return u.map(function(d){var f=n(d,1),h=f[0];return h})},values:function(){return u.map(function(d){var f=n(d,2),h=f[1];return h})}};e.default=(0,t.default)(c,c.entries())}}),sj=D({"../../node_modules/aria-query/lib/domMap.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=r(Ol());function r(d){return d&&d.__esModule?d:{default:d}}function n(d,f){return l(d)||a(d,f)||i(d,f)||o()}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.`)}function i(d,f){if(d){if(typeof d=="string")return s(d,f);var h={}.toString.call(d).slice(8,-1);return h==="Object"&&d.constructor&&(h=d.constructor.name),h==="Map"||h==="Set"?Array.from(d):h==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(h)?s(d,f):void 0}}function s(d,f){(f==null||f>d.length)&&(f=d.length);for(var h=0,m=Array(f);h<f;h++)m[h]=d[h];return m}function a(d,f){var h=d==null?null:typeof Symbol<"u"&&d[Symbol.iterator]||d["@@iterator"];if(h!=null){var m,g,v,b,E=[],S=!0,A=!1;try{if(v=(h=h.call(d)).next,f===0){if(Object(h)!==h)return;S=!1}else for(;!(S=(m=v.call(h)).done)&&(E.push(m.value),E.length!==f);S=!0);}catch(C){A=!0,g=C}finally{try{if(!S&&h.return!=null&&(b=h.return(),Object(b)!==b))return}finally{if(A)throw g}}return E}}function l(d){if(Array.isArray(d))return d}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}]],c={entries:function(){return u},forEach:function(d){for(var f=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,h=0,m=u;h<m.length;h++){var g=n(m[h],2),v=g[0],b=g[1];d.call(f,b,v,u)}},get:function(d){var f=u.filter(function(h){return h[0]===d})[0];return f&&f[1]},has:function(d){return!!c.get(d)},keys:function(){return u.map(function(d){var f=n(d,1),h=f[0];return h})},values:function(){return u.map(function(d){var f=n(d,2),h=f[1];return h})}};e.default=(0,t.default)(c,c.entries())}}),aj=D({"../../node_modules/aria-query/lib/etc/roles/abstract/commandRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget"]]};e.default=t}}),lj=D({"../../node_modules/aria-query/lib/etc/roles/abstract/compositeRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-disabled":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget"]]};e.default=t}}),uj=D({"../../node_modules/aria-query/lib/etc/roles/abstract/inputRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null},relatedConcepts:[{concept:{name:"input"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget"]]};e.default=t}}),cj=D({"../../node_modules/aria-query/lib/etc/roles/abstract/landmarkRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),dj=D({"../../node_modules/aria-query/lib/etc/roles/abstract/rangeRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-valuemax":null,"aria-valuemin":null,"aria-valuenow":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]};e.default=t}}),pj=D({"../../node_modules/aria-query/lib/etc/roles/abstract/roletypeRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{"aria-atomic":null,"aria-busy":null,"aria-controls":null,"aria-current":null,"aria-describedby":null,"aria-details":null,"aria-dropeffect":null,"aria-flowto":null,"aria-grabbed":null,"aria-hidden":null,"aria-keyshortcuts":null,"aria-label":null,"aria-labelledby":null,"aria-live":null,"aria-owns":null,"aria-relevant":null,"aria-roledescription":null},relatedConcepts:[{concept:{name:"role"},module:"XHTML"},{concept:{name:"type"},module:"Dublin Core"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[]};e.default=t}}),fj=D({"../../node_modules/aria-query/lib/etc/roles/abstract/sectionRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"frontmatter"},module:"DTB"},{concept:{name:"level"},module:"DTB"},{concept:{name:"level"},module:"SMIL"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]};e.default=t}}),hj=D({"../../node_modules/aria-query/lib/etc/roles/abstract/sectionheadRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]};e.default=t}}),mj=D({"../../node_modules/aria-query/lib/etc/roles/abstract/selectRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-orientation":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","composite"],["roletype","structure","section","group"]]};e.default=t}}),yj=D({"../../node_modules/aria-query/lib/etc/roles/abstract/structureRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype"]]};e.default=t}}),gj=D({"../../node_modules/aria-query/lib/etc/roles/abstract/widgetRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype"]]};e.default=t}}),bj=D({"../../node_modules/aria-query/lib/etc/roles/abstract/windowRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-modal":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype"]]};e.default=t}}),vj=D({"../../node_modules/aria-query/lib/etc/roles/ariaAbstractRoles.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=h(aj()),r=h(lj()),n=h(uj()),o=h(cj()),i=h(dj()),s=h(pj()),a=h(fj()),l=h(hj()),u=h(mj()),c=h(yj()),d=h(gj()),f=h(bj());function h(g){return g&&g.__esModule?g:{default:g}}var m=[["command",t.default],["composite",r.default],["input",n.default],["landmark",o.default],["range",i.default],["roletype",s.default],["section",a.default],["sectionhead",l.default],["select",u.default],["structure",c.default],["widget",d.default],["window",f.default]];e.default=m}}),Ej=D({"../../node_modules/aria-query/lib/etc/roles/literal/alertRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-atomic":"true","aria-live":"assertive"},relatedConcepts:[{concept:{name:"alert"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),_j=D({"../../node_modules/aria-query/lib/etc/roles/literal/alertdialogRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"alert"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","alert"],["roletype","window","dialog"]]};e.default=t}}),Tj=D({"../../node_modules/aria-query/lib/etc/roles/literal/applicationRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"Device Independence Delivery Unit"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]};e.default=t}}),wj=D({"../../node_modules/aria-query/lib/etc/roles/literal/articleRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-posinset":null,"aria-setsize":null},relatedConcepts:[{concept:{name:"article"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","document"]]};e.default=t}}),Sj=D({"../../node_modules/aria-query/lib/etc/roles/literal/bannerRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{constraints:["scoped to the body element"],name:"header"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}}),Rj=D({"../../node_modules/aria-query/lib/etc/roles/literal/blockquoteRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"blockquote"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),Oj=D({"../../node_modules/aria-query/lib/etc/roles/literal/buttonRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-expanded":null,"aria-haspopup":null,"aria-pressed":null},relatedConcepts:[{concept:{attributes:[{name:"type",value:"button"}],name:"input"},module:"HTML"},{concept:{attributes:[{name:"type",value:"image"}],name:"input"},module:"HTML"},{concept:{attributes:[{name:"type",value:"reset"}],name:"input"},module:"HTML"},{concept:{attributes:[{name:"type",value:"submit"}],name:"input"},module:"HTML"},{concept:{name:"button"},module:"HTML"},{concept:{name:"trigger"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command"]]};e.default=t}}),Aj=D({"../../node_modules/aria-query/lib/etc/roles/literal/captionRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"caption"},module:"HTML"}],requireContextRole:["figure","grid","table"],requiredContextRole:["figure","grid","table"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),Cj=D({"../../node_modules/aria-query/lib/etc/roles/literal/cellRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-colindex":null,"aria-colspan":null,"aria-rowindex":null,"aria-rowspan":null},relatedConcepts:[{concept:{constraints:["ancestor table element has table role"],name:"td"},module:"HTML"}],requireContextRole:["row"],requiredContextRole:["row"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),Pj=D({"../../node_modules/aria-query/lib/etc/roles/literal/checkboxRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-checked":null,"aria-errormessage":null,"aria-expanded":null,"aria-invalid":null,"aria-readonly":null,"aria-required":null},relatedConcepts:[{concept:{attributes:[{name:"type",value:"checkbox"}],name:"input"},module:"HTML"},{concept:{name:"option"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input"]]};e.default=t}}),xj=D({"../../node_modules/aria-query/lib/etc/roles/literal/codeRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"code"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),Nj=D({"../../node_modules/aria-query/lib/etc/roles/literal/columnheaderRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-sort":null},relatedConcepts:[{concept:{name:"th"},module:"HTML"},{concept:{attributes:[{name:"scope",value:"col"}],name:"th"},module:"HTML"},{concept:{attributes:[{name:"scope",value:"colgroup"}],name:"th"},module:"HTML"}],requireContextRole:["row"],requiredContextRole:["row"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","cell"],["roletype","structure","section","cell","gridcell"],["roletype","widget","gridcell"],["roletype","structure","sectionhead"]]};e.default=t}}),Ij=D({"../../node_modules/aria-query/lib/etc/roles/literal/comboboxRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-autocomplete":null,"aria-errormessage":null,"aria-invalid":null,"aria-readonly":null,"aria-required":null,"aria-expanded":"false","aria-haspopup":"listbox"},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"email"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"search"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"tel"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"text"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"url"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"url"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"multiple"},{constraints:["undefined"],name:"size"}],constraints:["the multiple attribute is not set and the size attribute does not have a value greater than 1"],name:"select"},module:"HTML"},{concept:{name:"select"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-controls":null,"aria-expanded":"false"},superClass:[["roletype","widget","input"]]};e.default=t}}),Mj=D({"../../node_modules/aria-query/lib/etc/roles/literal/complementaryRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{constraints:["scoped to the body element","scoped to the main element"],name:"aside"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"aria-label"}],constraints:["scoped to a sectioning content element","scoped to a sectioning root element other than body"],name:"aside"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"aria-labelledby"}],constraints:["scoped to a sectioning content element","scoped to a sectioning root element other than body"],name:"aside"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}}),jj=D({"../../node_modules/aria-query/lib/etc/roles/literal/contentinfoRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{constraints:["scoped to the body element"],name:"footer"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}}),qj=D({"../../node_modules/aria-query/lib/etc/roles/literal/definitionRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"dd"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),Lj=D({"../../node_modules/aria-query/lib/etc/roles/literal/deletionRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"del"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),kj=D({"../../node_modules/aria-query/lib/etc/roles/literal/dialogRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"dialog"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","window"]]};e.default=t}}),Dj=D({"../../node_modules/aria-query/lib/etc/roles/literal/directoryRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{module:"DAISY Guide"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","list"]]};e.default=t}}),Fj=D({"../../node_modules/aria-query/lib/etc/roles/literal/documentRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"Device Independence Delivery Unit"}},{concept:{name:"html"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]};e.default=t}}),$j=D({"../../node_modules/aria-query/lib/etc/roles/literal/emphasisRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"em"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),Bj=D({"../../node_modules/aria-query/lib/etc/roles/literal/feedRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["article"]],requiredProps:{},superClass:[["roletype","structure","section","list"]]};e.default=t}}),Vj=D({"../../node_modules/aria-query/lib/etc/roles/literal/figureRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"figure"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),Uj=D({"../../node_modules/aria-query/lib/etc/roles/literal/formRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"aria-label"}],name:"form"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"aria-labelledby"}],name:"form"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"name"}],name:"form"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}}),Hj=D({"../../node_modules/aria-query/lib/etc/roles/literal/genericRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"a"},module:"HTML"},{concept:{name:"area"},module:"HTML"},{concept:{name:"aside"},module:"HTML"},{concept:{name:"b"},module:"HTML"},{concept:{name:"bdo"},module:"HTML"},{concept:{name:"body"},module:"HTML"},{concept:{name:"data"},module:"HTML"},{concept:{name:"div"},module:"HTML"},{concept:{constraints:["scoped to the main element","scoped to a sectioning content element","scoped to a sectioning root element other than body"],name:"footer"},module:"HTML"},{concept:{constraints:["scoped to the main element","scoped to a sectioning content element","scoped to a sectioning root element other than body"],name:"header"},module:"HTML"},{concept:{name:"hgroup"},module:"HTML"},{concept:{name:"i"},module:"HTML"},{concept:{name:"pre"},module:"HTML"},{concept:{name:"q"},module:"HTML"},{concept:{name:"samp"},module:"HTML"},{concept:{name:"section"},module:"HTML"},{concept:{name:"small"},module:"HTML"},{concept:{name:"span"},module:"HTML"},{concept:{name:"u"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]};e.default=t}}),Jj=D({"../../node_modules/aria-query/lib/etc/roles/literal/gridRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-multiselectable":null,"aria-readonly":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["row"],["row","rowgroup"]],requiredProps:{},superClass:[["roletype","widget","composite"],["roletype","structure","section","table"]]};e.default=t}}),Gj=D({"../../node_modules/aria-query/lib/etc/roles/literal/gridcellRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null,"aria-readonly":null,"aria-required":null,"aria-selected":null},relatedConcepts:[{concept:{constraints:["ancestor table element has grid role","ancestor table element has treegrid role"],name:"td"},module:"HTML"}],requireContextRole:["row"],requiredContextRole:["row"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","cell"],["roletype","widget"]]};e.default=t}}),Wj=D({"../../node_modules/aria-query/lib/etc/roles/literal/groupRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-disabled":null},relatedConcepts:[{concept:{name:"details"},module:"HTML"},{concept:{name:"fieldset"},module:"HTML"},{concept:{name:"optgroup"},module:"HTML"},{concept:{name:"address"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),Kj=D({"../../node_modules/aria-query/lib/etc/roles/literal/headingRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-level":"2"},relatedConcepts:[{concept:{name:"h1"},module:"HTML"},{concept:{name:"h2"},module:"HTML"},{concept:{name:"h3"},module:"HTML"},{concept:{name:"h4"},module:"HTML"},{concept:{name:"h5"},module:"HTML"},{concept:{name:"h6"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-level":"2"},superClass:[["roletype","structure","sectionhead"]]};e.default=t}}),zj=D({"../../node_modules/aria-query/lib/etc/roles/literal/imgRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"alt"}],name:"img"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"alt"}],name:"img"},module:"HTML"},{concept:{name:"imggroup"},module:"DTB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),Yj=D({"../../node_modules/aria-query/lib/etc/roles/literal/insertionRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"ins"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),Xj=D({"../../node_modules/aria-query/lib/etc/roles/literal/linkRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-expanded":null,"aria-haspopup":null},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"href"}],name:"a"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"href"}],name:"area"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command"]]};e.default=t}}),Qj=D({"../../node_modules/aria-query/lib/etc/roles/literal/listRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"menu"},module:"HTML"},{concept:{name:"ol"},module:"HTML"},{concept:{name:"ul"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["listitem"]],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),Zj=D({"../../node_modules/aria-query/lib/etc/roles/literal/listboxRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-expanded":null,"aria-invalid":null,"aria-multiselectable":null,"aria-readonly":null,"aria-required":null,"aria-orientation":"vertical"},relatedConcepts:[{concept:{attributes:[{constraints:[">1"],name:"size"}],constraints:["the size attribute value is greater than 1"],name:"select"},module:"HTML"},{concept:{attributes:[{name:"multiple"}],name:"select"},module:"HTML"},{concept:{name:"datalist"},module:"HTML"},{concept:{name:"list"},module:"ARIA"},{concept:{name:"select"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["option","group"],["option"]],requiredProps:{},superClass:[["roletype","widget","composite","select"],["roletype","structure","section","group","select"]]};e.default=t}}),eq=D({"../../node_modules/aria-query/lib/etc/roles/literal/listitemRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-level":null,"aria-posinset":null,"aria-setsize":null},relatedConcepts:[{concept:{constraints:["direct descendant of ol","direct descendant of ul","direct descendant of menu"],name:"li"},module:"HTML"},{concept:{name:"item"},module:"XForms"}],requireContextRole:["directory","list"],requiredContextRole:["directory","list"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),tq=D({"../../node_modules/aria-query/lib/etc/roles/literal/logRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-live":"polite"},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),rq=D({"../../node_modules/aria-query/lib/etc/roles/literal/mainRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"main"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}}),nq=D({"../../node_modules/aria-query/lib/etc/roles/literal/markRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:[],props:{"aria-braillelabel":null,"aria-brailleroledescription":null,"aria-description":null},relatedConcepts:[{concept:{name:"mark"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),oq=D({"../../node_modules/aria-query/lib/etc/roles/literal/marqueeRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),iq=D({"../../node_modules/aria-query/lib/etc/roles/literal/mathRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"math"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),sq=D({"../../node_modules/aria-query/lib/etc/roles/literal/menuRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-orientation":"vertical"},relatedConcepts:[{concept:{name:"MENU"},module:"JAPI"},{concept:{name:"list"},module:"ARIA"},{concept:{name:"select"},module:"XForms"},{concept:{name:"sidebar"},module:"DTB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["menuitem","group"],["menuitemradio","group"],["menuitemcheckbox","group"],["menuitem"],["menuitemcheckbox"],["menuitemradio"]],requiredProps:{},superClass:[["roletype","widget","composite","select"],["roletype","structure","section","group","select"]]};e.default=t}}),aq=D({"../../node_modules/aria-query/lib/etc/roles/literal/menubarRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-orientation":"horizontal"},relatedConcepts:[{concept:{name:"toolbar"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["menuitem","group"],["menuitemradio","group"],["menuitemcheckbox","group"],["menuitem"],["menuitemcheckbox"],["menuitemradio"]],requiredProps:{},superClass:[["roletype","widget","composite","select","menu"],["roletype","structure","section","group","select","menu"]]};e.default=t}}),lq=D({"../../node_modules/aria-query/lib/etc/roles/literal/menuitemRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-expanded":null,"aria-haspopup":null,"aria-posinset":null,"aria-setsize":null},relatedConcepts:[{concept:{name:"MENU_ITEM"},module:"JAPI"},{concept:{name:"listitem"},module:"ARIA"},{concept:{name:"option"},module:"ARIA"}],requireContextRole:["group","menu","menubar"],requiredContextRole:["group","menu","menubar"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command"]]};e.default=t}}),uq=D({"../../node_modules/aria-query/lib/etc/roles/literal/menuitemcheckboxRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"menuitem"},module:"ARIA"}],requireContextRole:["group","menu","menubar"],requiredContextRole:["group","menu","menubar"],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input","checkbox"],["roletype","widget","command","menuitem"]]};e.default=t}}),cq=D({"../../node_modules/aria-query/lib/etc/roles/literal/menuitemradioRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"menuitem"},module:"ARIA"}],requireContextRole:["group","menu","menubar"],requiredContextRole:["group","menu","menubar"],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input","checkbox","menuitemcheckbox"],["roletype","widget","command","menuitem","menuitemcheckbox"],["roletype","widget","input","radio"]]};e.default=t}}),dq=D({"../../node_modules/aria-query/lib/etc/roles/literal/meterRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-valuetext":null,"aria-valuemax":"100","aria-valuemin":"0"},relatedConcepts:[{concept:{name:"meter"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-valuenow":null},superClass:[["roletype","structure","range"]]};e.default=t}}),pq=D({"../../node_modules/aria-query/lib/etc/roles/literal/navigationRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"nav"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}}),fq=D({"../../node_modules/aria-query/lib/etc/roles/literal/noneRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[]};e.default=t}}),hq=D({"../../node_modules/aria-query/lib/etc/roles/literal/noteRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),mq=D({"../../node_modules/aria-query/lib/etc/roles/literal/optionRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-checked":null,"aria-posinset":null,"aria-setsize":null,"aria-selected":"false"},relatedConcepts:[{concept:{name:"item"},module:"XForms"},{concept:{name:"listitem"},module:"ARIA"},{concept:{name:"option"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-selected":"false"},superClass:[["roletype","widget","input"]]};e.default=t}}),yq=D({"../../node_modules/aria-query/lib/etc/roles/literal/paragraphRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"p"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),gq=D({"../../node_modules/aria-query/lib/etc/roles/literal/presentationRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{attributes:[{name:"alt",value:""}],name:"img"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]};e.default=t}}),bq=D({"../../node_modules/aria-query/lib/etc/roles/literal/progressbarRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-valuetext":null},relatedConcepts:[{concept:{name:"progress"},module:"HTML"},{concept:{name:"status"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","range"],["roletype","widget"]]};e.default=t}}),vq=D({"../../node_modules/aria-query/lib/etc/roles/literal/radioRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-checked":null,"aria-posinset":null,"aria-setsize":null},relatedConcepts:[{concept:{attributes:[{name:"type",value:"radio"}],name:"input"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input"]]};e.default=t}}),Eq=D({"../../node_modules/aria-query/lib/etc/roles/literal/radiogroupRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null,"aria-readonly":null,"aria-required":null},relatedConcepts:[{concept:{name:"list"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["radio"]],requiredProps:{},superClass:[["roletype","widget","composite","select"],["roletype","structure","section","group","select"]]};e.default=t}}),_q=D({"../../node_modules/aria-query/lib/etc/roles/literal/regionRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"aria-label"}],name:"section"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"aria-labelledby"}],name:"section"},module:"HTML"},{concept:{name:"Device Independence Glossart perceivable unit"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}}),Tq=D({"../../node_modules/aria-query/lib/etc/roles/literal/rowRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-colindex":null,"aria-expanded":null,"aria-level":null,"aria-posinset":null,"aria-rowindex":null,"aria-selected":null,"aria-setsize":null},relatedConcepts:[{concept:{name:"tr"},module:"HTML"}],requireContextRole:["grid","rowgroup","table","treegrid"],requiredContextRole:["grid","rowgroup","table","treegrid"],requiredOwnedElements:[["cell"],["columnheader"],["gridcell"],["rowheader"]],requiredProps:{},superClass:[["roletype","structure","section","group"],["roletype","widget"]]};e.default=t}}),wq=D({"../../node_modules/aria-query/lib/etc/roles/literal/rowgroupRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"tbody"},module:"HTML"},{concept:{name:"tfoot"},module:"HTML"},{concept:{name:"thead"},module:"HTML"}],requireContextRole:["grid","table","treegrid"],requiredContextRole:["grid","table","treegrid"],requiredOwnedElements:[["row"]],requiredProps:{},superClass:[["roletype","structure"]]};e.default=t}}),Sq=D({"../../node_modules/aria-query/lib/etc/roles/literal/rowheaderRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-sort":null},relatedConcepts:[{concept:{attributes:[{name:"scope",value:"row"}],name:"th"},module:"HTML"},{concept:{attributes:[{name:"scope",value:"rowgroup"}],name:"th"},module:"HTML"}],requireContextRole:["row","rowgroup"],requiredContextRole:["row","rowgroup"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","cell"],["roletype","structure","section","cell","gridcell"],["roletype","widget","gridcell"],["roletype","structure","sectionhead"]]};e.default=t}}),Rq=D({"../../node_modules/aria-query/lib/etc/roles/literal/scrollbarRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-valuetext":null,"aria-orientation":"vertical","aria-valuemax":"100","aria-valuemin":"0"},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-controls":null,"aria-valuenow":null},superClass:[["roletype","structure","range"],["roletype","widget"]]};e.default=t}}),Oq=D({"../../node_modules/aria-query/lib/etc/roles/literal/searchRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}}),Aq=D({"../../node_modules/aria-query/lib/etc/roles/literal/searchboxRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"search"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","input","textbox"]]};e.default=t}}),Cq=D({"../../node_modules/aria-query/lib/etc/roles/literal/separatorRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-orientation":"horizontal","aria-valuemax":"100","aria-valuemin":"0","aria-valuenow":null,"aria-valuetext":null},relatedConcepts:[{concept:{name:"hr"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]};e.default=t}}),Pq=D({"../../node_modules/aria-query/lib/etc/roles/literal/sliderRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-haspopup":null,"aria-invalid":null,"aria-readonly":null,"aria-valuetext":null,"aria-orientation":"horizontal","aria-valuemax":"100","aria-valuemin":"0"},relatedConcepts:[{concept:{attributes:[{name:"type",value:"range"}],name:"input"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-valuenow":null},superClass:[["roletype","widget","input"],["roletype","structure","range"]]};e.default=t}}),xq=D({"../../node_modules/aria-query/lib/etc/roles/literal/spinbuttonRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null,"aria-readonly":null,"aria-required":null,"aria-valuetext":null,"aria-valuenow":"0"},relatedConcepts:[{concept:{attributes:[{name:"type",value:"number"}],name:"input"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","composite"],["roletype","widget","input"],["roletype","structure","range"]]};e.default=t}}),Nq=D({"../../node_modules/aria-query/lib/etc/roles/literal/statusRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-atomic":"true","aria-live":"polite"},relatedConcepts:[{concept:{name:"output"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),Iq=D({"../../node_modules/aria-query/lib/etc/roles/literal/strongRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"strong"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),Mq=D({"../../node_modules/aria-query/lib/etc/roles/literal/subscriptRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"sub"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),jq=D({"../../node_modules/aria-query/lib/etc/roles/literal/superscriptRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"sup"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),qq=D({"../../node_modules/aria-query/lib/etc/roles/literal/switchRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"button"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input","checkbox"]]};e.default=t}}),Lq=D({"../../node_modules/aria-query/lib/etc/roles/literal/tabRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-expanded":null,"aria-haspopup":null,"aria-posinset":null,"aria-setsize":null,"aria-selected":"false"},relatedConcepts:[],requireContextRole:["tablist"],requiredContextRole:["tablist"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","sectionhead"],["roletype","widget"]]};e.default=t}}),kq=D({"../../node_modules/aria-query/lib/etc/roles/literal/tableRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-colcount":null,"aria-rowcount":null},relatedConcepts:[{concept:{name:"table"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["row"],["row","rowgroup"]],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),Dq=D({"../../node_modules/aria-query/lib/etc/roles/literal/tablistRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-level":null,"aria-multiselectable":null,"aria-orientation":"horizontal"},relatedConcepts:[{module:"DAISY",concept:{name:"guide"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["tab"]],requiredProps:{},superClass:[["roletype","widget","composite"]]};e.default=t}}),Fq=D({"../../node_modules/aria-query/lib/etc/roles/literal/tabpanelRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),$q=D({"../../node_modules/aria-query/lib/etc/roles/literal/termRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"dfn"},module:"HTML"},{concept:{name:"dt"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),Bq=D({"../../node_modules/aria-query/lib/etc/roles/literal/textboxRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-autocomplete":null,"aria-errormessage":null,"aria-haspopup":null,"aria-invalid":null,"aria-multiline":null,"aria-placeholder":null,"aria-readonly":null,"aria-required":null},relatedConcepts:[{concept:{attributes:[{constraints:["undefined"],name:"type"},{constraints:["undefined"],name:"list"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"email"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"tel"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"text"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"url"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"},{concept:{name:"input"},module:"XForms"},{concept:{name:"textarea"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","input"]]};e.default=t}}),Vq=D({"../../node_modules/aria-query/lib/etc/roles/literal/timeRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"time"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),Uq=D({"../../node_modules/aria-query/lib/etc/roles/literal/timerRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","status"]]};e.default=t}}),Hq=D({"../../node_modules/aria-query/lib/etc/roles/literal/toolbarRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-orientation":"horizontal"},relatedConcepts:[{concept:{name:"menubar"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","group"]]};e.default=t}}),Jq=D({"../../node_modules/aria-query/lib/etc/roles/literal/tooltipRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),Gq=D({"../../node_modules/aria-query/lib/etc/roles/literal/treeRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null,"aria-multiselectable":null,"aria-required":null,"aria-orientation":"vertical"},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["treeitem","group"],["treeitem"]],requiredProps:{},superClass:[["roletype","widget","composite","select"],["roletype","structure","section","group","select"]]};e.default=t}}),Wq=D({"../../node_modules/aria-query/lib/etc/roles/literal/treegridRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["row"],["row","rowgroup"]],requiredProps:{},superClass:[["roletype","widget","composite","grid"],["roletype","structure","section","table","grid"],["roletype","widget","composite","select","tree"],["roletype","structure","section","group","select","tree"]]};e.default=t}}),Kq=D({"../../node_modules/aria-query/lib/etc/roles/literal/treeitemRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-expanded":null,"aria-haspopup":null},relatedConcepts:[],requireContextRole:["group","tree"],requiredContextRole:["group","tree"],requiredOwnedElements:[],requiredProps:{"aria-selected":null},superClass:[["roletype","structure","section","listitem"],["roletype","widget","input","option"]]};e.default=t}}),zq=D({"../../node_modules/aria-query/lib/etc/roles/ariaLiteralRoles.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=de(Ej()),r=de(_j()),n=de(Tj()),o=de(wj()),i=de(Sj()),s=de(Rj()),a=de(Oj()),l=de(Aj()),u=de(Cj()),c=de(Pj()),d=de(xj()),f=de(Nj()),h=de(Ij()),m=de(Mj()),g=de(jj()),v=de(qj()),b=de(Lj()),E=de(kj()),S=de(Dj()),A=de(Fj()),C=de($j()),T=de(Bj()),w=de(Vj()),_=de(Uj()),R=de(Hj()),M=de(Jj()),N=de(Gj()),q=de(Wj()),x=de(Kj()),P=de(zj()),L=de(Yj()),$=de(Xj()),V=de(Qj()),G=de(Zj()),ie=de(eq()),Ee=de(tq()),fe=de(rq()),j=de(nq()),H=de(oq()),oe=de(iq()),te=de(sq()),Z=de(aq()),ye=de(lq()),me=de(uq()),De=de(cq()),J=de(dq()),le=de(pq()),ge=de(fq()),k=de(hq()),U=de(mq()),z=de(yq()),Q=de(gq()),X=de(bq()),re=de(vq()),ce=de(Eq()),ae=de(_q()),se=de(Tq()),ne=de(wq()),_e=de(Sq()),pe=de(Rq()),ve=de(Oq()),we=de(Aq()),je=de(Cq()),We=de(Pq()),Ve=de(xq()),Rt=de(Nq()),mt=de(Iq()),$t=de(Mq()),Nt=de(jq()),Gr=de(qq()),oo=de(Lq()),It=de(kq()),Kt=de(Dq()),io=de(Fq()),so=de($q()),Xs=de(Bq()),Wo=de(Vq()),Qs=de(Uq()),_r=de(Hq()),Se=de(Jq()),Ko=de(Gq()),Wr=de(Wq()),Mt=de(Kq());function de(ao){return ao&&ao.__esModule?ao:{default:ao}}var Zs=[["alert",t.default],["alertdialog",r.default],["application",n.default],["article",o.default],["banner",i.default],["blockquote",s.default],["button",a.default],["caption",l.default],["cell",u.default],["checkbox",c.default],["code",d.default],["columnheader",f.default],["combobox",h.default],["complementary",m.default],["contentinfo",g.default],["definition",v.default],["deletion",b.default],["dialog",E.default],["directory",S.default],["document",A.default],["emphasis",C.default],["feed",T.default],["figure",w.default],["form",_.default],["generic",R.default],["grid",M.default],["gridcell",N.default],["group",q.default],["heading",x.default],["img",P.default],["insertion",L.default],["link",$.default],["list",V.default],["listbox",G.default],["listitem",ie.default],["log",Ee.default],["main",fe.default],["mark",j.default],["marquee",H.default],["math",oe.default],["menu",te.default],["menubar",Z.default],["menuitem",ye.default],["menuitemcheckbox",me.default],["menuitemradio",De.default],["meter",J.default],["navigation",le.default],["none",ge.default],["note",k.default],["option",U.default],["paragraph",z.default],["presentation",Q.default],["progressbar",X.default],["radio",re.default],["radiogroup",ce.default],["region",ae.default],["row",se.default],["rowgroup",ne.default],["rowheader",_e.default],["scrollbar",pe.default],["search",ve.default],["searchbox",we.default],["separator",je.default],["slider",We.default],["spinbutton",Ve.default],["status",Rt.default],["strong",mt.default],["subscript",$t.default],["superscript",Nt.default],["switch",Gr.default],["tab",oo.default],["table",It.default],["tablist",Kt.default],["tabpanel",io.default],["term",so.default],["textbox",Xs.default],["time",Wo.default],["timer",Qs.default],["toolbar",_r.default],["tooltip",Se.default],["tree",Ko.default],["treegrid",Wr.default],["treeitem",Mt.default]];e.default=Zs}}),Yq=D({"../../node_modules/aria-query/lib/etc/roles/dpub/docAbstractRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"abstract [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),Xq=D({"../../node_modules/aria-query/lib/etc/roles/dpub/docAcknowledgmentsRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"acknowledgments [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}}),Qq=D({"../../node_modules/aria-query/lib/etc/roles/dpub/docAfterwordRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"afterword [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}}),Zq=D({"../../node_modules/aria-query/lib/etc/roles/dpub/docAppendixRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"appendix [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}}),eL=D({"../../node_modules/aria-query/lib/etc/roles/dpub/docBacklinkRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"referrer [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command","link"]]};e.default=t}}),tL=D({"../../node_modules/aria-query/lib/etc/roles/dpub/docBiblioentryRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"EPUB biblioentry [EPUB-SSV]"},module:"EPUB"}],requireContextRole:["doc-bibliography"],requiredContextRole:["doc-bibliography"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","listitem"]]};e.default=t}}),rL=D({"../../node_modules/aria-query/lib/etc/roles/dpub/docBibliographyRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"bibliography [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["doc-biblioentry"]],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}}),nL=D({"../../node_modules/aria-query/lib/etc/roles/dpub/docBibliorefRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"biblioref [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command","link"]]};e.default=t}}),oL=D({"../../node_modules/aria-query/lib/etc/roles/dpub/docChapterRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"chapter [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}}),iL=D({"../../node_modules/aria-query/lib/etc/roles/dpub/docColophonRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"colophon [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),sL=D({"../../node_modules/aria-query/lib/etc/roles/dpub/docConclusionRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"conclusion [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}}),aL=D({"../../node_modules/aria-query/lib/etc/roles/dpub/docCoverRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"cover [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","img"]]};e.default=t}}),lL=D({"../../node_modules/aria-query/lib/etc/roles/dpub/docCreditRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"credit [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),uL=D({"../../node_modules/aria-query/lib/etc/roles/dpub/docCreditsRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"credits [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}}),cL=D({"../../node_modules/aria-query/lib/etc/roles/dpub/docDedicationRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"dedication [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),dL=D({"../../node_modules/aria-query/lib/etc/roles/dpub/docEndnoteRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"rearnote [EPUB-SSV]"},module:"EPUB"}],requireContextRole:["doc-endnotes"],requiredContextRole:["doc-endnotes"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","listitem"]]};e.default=t}}),pL=D({"../../node_modules/aria-query/lib/etc/roles/dpub/docEndnotesRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"rearnotes [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["doc-endnote"]],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}}),fL=D({"../../node_modules/aria-query/lib/etc/roles/dpub/docEpigraphRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"epigraph [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),hL=D({"../../node_modules/aria-query/lib/etc/roles/dpub/docEpilogueRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"epilogue [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}}),mL=D({"../../node_modules/aria-query/lib/etc/roles/dpub/docErrataRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"errata [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}}),yL=D({"../../node_modules/aria-query/lib/etc/roles/dpub/docExampleRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),gL=D({"../../node_modules/aria-query/lib/etc/roles/dpub/docFootnoteRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"footnote [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),bL=D({"../../node_modules/aria-query/lib/etc/roles/dpub/docForewordRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"foreword [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}}),vL=D({"../../node_modules/aria-query/lib/etc/roles/dpub/docGlossaryRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"glossary [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["definition"],["term"]],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}}),EL=D({"../../node_modules/aria-query/lib/etc/roles/dpub/docGlossrefRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"glossref [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command","link"]]};e.default=t}}),_L=D({"../../node_modules/aria-query/lib/etc/roles/dpub/docIndexRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"index [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark","navigation"]]};e.default=t}}),TL=D({"../../node_modules/aria-query/lib/etc/roles/dpub/docIntroductionRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"introduction [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}}),wL=D({"../../node_modules/aria-query/lib/etc/roles/dpub/docNoterefRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"noteref [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command","link"]]};e.default=t}}),SL=D({"../../node_modules/aria-query/lib/etc/roles/dpub/docNoticeRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"notice [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","note"]]};e.default=t}}),RL=D({"../../node_modules/aria-query/lib/etc/roles/dpub/docPagebreakRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"pagebreak [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","separator"]]};e.default=t}}),OL=D({"../../node_modules/aria-query/lib/etc/roles/dpub/docPagefooterRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:[],props:{"aria-braillelabel":null,"aria-brailleroledescription":null,"aria-description":null,"aria-disabled":null,"aria-errormessage":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),AL=D({"../../node_modules/aria-query/lib/etc/roles/dpub/docPageheaderRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:[],props:{"aria-braillelabel":null,"aria-brailleroledescription":null,"aria-description":null,"aria-disabled":null,"aria-errormessage":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),CL=D({"../../node_modules/aria-query/lib/etc/roles/dpub/docPagelistRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"page-list [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark","navigation"]]};e.default=t}}),PL=D({"../../node_modules/aria-query/lib/etc/roles/dpub/docPartRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"part [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}}),xL=D({"../../node_modules/aria-query/lib/etc/roles/dpub/docPrefaceRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"preface [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}}),NL=D({"../../node_modules/aria-query/lib/etc/roles/dpub/docPrologueRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"prologue [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}}),IL=D({"../../node_modules/aria-query/lib/etc/roles/dpub/docPullquoteRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"pullquote [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["none"]]};e.default=t}}),ML=D({"../../node_modules/aria-query/lib/etc/roles/dpub/docQnaRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"qna [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),jL=D({"../../node_modules/aria-query/lib/etc/roles/dpub/docSubtitleRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"subtitle [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","sectionhead"]]};e.default=t}}),qL=D({"../../node_modules/aria-query/lib/etc/roles/dpub/docTipRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"help [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","note"]]};e.default=t}}),LL=D({"../../node_modules/aria-query/lib/etc/roles/dpub/docTocRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"toc [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark","navigation"]]};e.default=t}}),kL=D({"../../node_modules/aria-query/lib/etc/roles/ariaDpubRoles.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=Z(Yq()),r=Z(Xq()),n=Z(Qq()),o=Z(Zq()),i=Z(eL()),s=Z(tL()),a=Z(rL()),l=Z(nL()),u=Z(oL()),c=Z(iL()),d=Z(sL()),f=Z(aL()),h=Z(lL()),m=Z(uL()),g=Z(cL()),v=Z(dL()),b=Z(pL()),E=Z(fL()),S=Z(hL()),A=Z(mL()),C=Z(yL()),T=Z(gL()),w=Z(bL()),_=Z(vL()),R=Z(EL()),M=Z(_L()),N=Z(TL()),q=Z(wL()),x=Z(SL()),P=Z(RL()),L=Z(OL()),$=Z(AL()),V=Z(CL()),G=Z(PL()),ie=Z(xL()),Ee=Z(NL()),fe=Z(IL()),j=Z(ML()),H=Z(jL()),oe=Z(qL()),te=Z(LL());function Z(me){return me&&me.__esModule?me:{default:me}}var ye=[["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",a.default],["doc-biblioref",l.default],["doc-chapter",u.default],["doc-colophon",c.default],["doc-conclusion",d.default],["doc-cover",f.default],["doc-credit",h.default],["doc-credits",m.default],["doc-dedication",g.default],["doc-endnote",v.default],["doc-endnotes",b.default],["doc-epigraph",E.default],["doc-epilogue",S.default],["doc-errata",A.default],["doc-example",C.default],["doc-footnote",T.default],["doc-foreword",w.default],["doc-glossary",_.default],["doc-glossref",R.default],["doc-index",M.default],["doc-introduction",N.default],["doc-noteref",q.default],["doc-notice",x.default],["doc-pagebreak",P.default],["doc-pagefooter",L.default],["doc-pageheader",$.default],["doc-pagelist",V.default],["doc-part",G.default],["doc-preface",ie.default],["doc-prologue",Ee.default],["doc-pullquote",fe.default],["doc-qna",j.default],["doc-subtitle",H.default],["doc-tip",oe.default],["doc-toc",te.default]];e.default=ye}}),DL=D({"../../node_modules/aria-query/lib/etc/roles/graphics/graphicsDocumentRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{module:"GRAPHICS",concept:{name:"graphics-object"}},{module:"ARIA",concept:{name:"img"}},{module:"ARIA",concept:{name:"article"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","document"]]};e.default=t}}),FL=D({"../../node_modules/aria-query/lib/etc/roles/graphics/graphicsObjectRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{module:"GRAPHICS",concept:{name:"graphics-document"}},{module:"ARIA",concept:{name:"group"}},{module:"ARIA",concept:{name:"img"}},{module:"GRAPHICS",concept:{name:"graphics-symbol"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","group"]]};e.default=t}}),$L=D({"../../node_modules/aria-query/lib/etc/roles/graphics/graphicsSymbolRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","img"]]};e.default=t}}),BL=D({"../../node_modules/aria-query/lib/etc/roles/ariaGraphicsRoles.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=o(DL()),r=o(FL()),n=o($L());function o(s){return s&&s.__esModule?s:{default:s}}var i=[["graphics-document",t.default],["graphics-object",r.default],["graphics-symbol",n.default]];e.default=i}}),fm=D({"../../node_modules/aria-query/lib/rolesMap.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=s(vj()),r=s(zq()),n=s(kL()),o=s(BL()),i=s(Ol());function s(v){return v&&v.__esModule?v:{default:v}}function a(v,b){var E=typeof Symbol<"u"&&v[Symbol.iterator]||v["@@iterator"];if(!E){if(Array.isArray(v)||(E=c(v))||b){E&&(v=E);var S=0,A=function(){};return{s:A,n:function(){return S>=v.length?{done:!0}:{done:!1,value:v[S++]}},e:function(_){throw _},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 C,T=!0,w=!1;return{s:function(){E=E.call(v)},n:function(){var _=E.next();return T=_.done,_},e:function(_){w=!0,C=_},f:function(){try{T||E.return==null||E.return()}finally{if(w)throw C}}}}function l(v,b){return h(v)||f(v,b)||c(v,b)||u()}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.`)}function c(v,b){if(v){if(typeof v=="string")return d(v,b);var E={}.toString.call(v).slice(8,-1);return E==="Object"&&v.constructor&&(E=v.constructor.name),E==="Map"||E==="Set"?Array.from(v):E==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(E)?d(v,b):void 0}}function d(v,b){(b==null||b>v.length)&&(b=v.length);for(var E=0,S=Array(b);E<b;E++)S[E]=v[E];return S}function f(v,b){var E=v==null?null:typeof Symbol<"u"&&v[Symbol.iterator]||v["@@iterator"];if(E!=null){var S,A,C,T,w=[],_=!0,R=!1;try{if(C=(E=E.call(v)).next,b===0){if(Object(E)!==E)return;_=!1}else for(;!(_=(S=C.call(E)).done)&&(w.push(S.value),w.length!==b);_=!0);}catch(M){R=!0,A=M}finally{try{if(!_&&E.return!=null&&(T=E.return(),Object(T)!==T))return}finally{if(R)throw A}}return w}}function h(v){if(Array.isArray(v))return v}var m=[].concat(t.default,r.default,n.default,o.default);m.forEach(function(v){var b=l(v,2),E=b[1],S=a(E.superClass),A;try{for(S.s();!(A=S.n()).done;){var C=A.value,T=a(C),w;try{var _=function(){var R=w.value,M=m.filter(function(L){var $=l(L,1),V=$[0];return V===R})[0];if(M)for(var N=M[1],q=0,x=Object.keys(N.props);q<x.length;q++){var P=x[q];Object.prototype.hasOwnProperty.call(E.props,P)||(E.props[P]=N.props[P])}};for(T.s();!(w=T.n()).done;)_()}catch(R){T.e(R)}finally{T.f()}}}catch(R){S.e(R)}finally{S.f()}});var g={entries:function(){return m},forEach:function(v){var b=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,E=a(m),S;try{for(E.s();!(S=E.n()).done;){var A=l(S.value,2),C=A[0],T=A[1];v.call(b,T,C,m)}}catch(w){E.e(w)}finally{E.f()}},get:function(v){var b=m.filter(function(E){return E[0]===v})[0];return b&&b[1]},has:function(v){return!!g.get(v)},keys:function(){return m.map(function(v){var b=l(v,1),E=b[0];return E})},values:function(){return m.map(function(v){var b=l(v,2),E=b[1];return E})}};e.default=(0,i.default)(g,g.entries())}}),VL=D({"../../node_modules/aria-query/lib/elementRoleMap.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=n(Ol()),r=n(fm());function n(T){return T&&T.__esModule?T:{default:T}}function o(T,w){return u(T)||l(T,w)||s(T,w)||i()}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.`)}function s(T,w){if(T){if(typeof T=="string")return a(T,w);var _={}.toString.call(T).slice(8,-1);return _==="Object"&&T.constructor&&(_=T.constructor.name),_==="Map"||_==="Set"?Array.from(T):_==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(_)?a(T,w):void 0}}function a(T,w){(w==null||w>T.length)&&(w=T.length);for(var _=0,R=Array(w);_<w;_++)R[_]=T[_];return R}function l(T,w){var _=T==null?null:typeof Symbol<"u"&&T[Symbol.iterator]||T["@@iterator"];if(_!=null){var R,M,N,q,x=[],P=!0,L=!1;try{if(N=(_=_.call(T)).next,w===0){if(Object(_)!==_)return;P=!1}else for(;!(P=(R=N.call(_)).done)&&(x.push(R.value),x.length!==w);P=!0);}catch($){L=!0,M=$}finally{try{if(!P&&_.return!=null&&(q=_.return(),Object(q)!==q))return}finally{if(L)throw M}}return x}}function u(T){if(Array.isArray(T))return T}var c=[],d=r.default.keys();for(b=0;b<d.length;b++)if(f=d[b],h=r.default.get(f),h)for(m=[].concat(h.baseConcepts,h.relatedConcepts),g=function(){var T=m[v];if(T.module==="HTML"){var w=T.concept;if(w){var _=c.filter(function(q){return S(q[0],w)})[0],R;_?R=_[1]:R=[];for(var M=!0,N=0;N<R.length;N++)if(R[N]===f){M=!1;break}M&&R.push(f),_||c.push([w,R])}}},v=0;v<m.length;v++)g();var f,h,m,g,v,b,E={entries:function(){return c},forEach:function(T){for(var w=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,_=0,R=c;_<R.length;_++){var M=o(R[_],2),N=M[0],q=M[1];T.call(w,q,N,c)}},get:function(T){var w=c.filter(function(_){return T.name===_[0].name&&C(T.attributes,_[0].attributes)})[0];return w&&w[1]},has:function(T){return!!E.get(T)},keys:function(){return c.map(function(T){var w=o(T,1),_=w[0];return _})},values:function(){return c.map(function(T){var w=o(T,2),_=w[1];return _})}};function S(T,w){return T.name===w.name&&A(T.constraints,w.constraints)&&C(T.attributes,w.attributes)}function A(T,w){if(T===void 0&&w!==void 0||T!==void 0&&w===void 0)return!1;if(T!==void 0&&w!==void 0){if(T.length!==w.length)return!1;for(var _=0;_<T.length;_++)if(T[_]!==w[_])return!1}return!0}function C(T,w){if(T===void 0&&w!==void 0||T!==void 0&&w===void 0)return!1;if(T!==void 0&&w!==void 0){if(T.length!==w.length)return!1;for(var _=0;_<T.length;_++){if(T[_].name!==w[_].name||T[_].value!==w[_].value||T[_].constraints===void 0&&w[_].constraints!==void 0||T[_].constraints!==void 0&&w[_].constraints===void 0)return!1;if(T[_].constraints!==void 0&&w[_].constraints!==void 0){if(T[_].constraints.length!==w[_].constraints.length)return!1;for(var R=0;R<T[_].constraints.length;R++)if(T[_].constraints[R]!==w[_].constraints[R])return!1}}}return!0}e.default=(0,t.default)(E,E.entries())}}),UL=D({"../../node_modules/aria-query/lib/roleElementMap.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=n(Ol()),r=n(fm());function n(C){return C&&C.__esModule?C:{default:C}}function o(C,T){return u(C)||l(C,T)||s(C,T)||i()}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.`)}function s(C,T){if(C){if(typeof C=="string")return a(C,T);var w={}.toString.call(C).slice(8,-1);return w==="Object"&&C.constructor&&(w=C.constructor.name),w==="Map"||w==="Set"?Array.from(C):w==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(w)?a(C,T):void 0}}function a(C,T){(T==null||T>C.length)&&(T=C.length);for(var w=0,_=Array(T);w<T;w++)_[w]=C[w];return _}function l(C,T){var w=C==null?null:typeof Symbol<"u"&&C[Symbol.iterator]||C["@@iterator"];if(w!=null){var _,R,M,N,q=[],x=!0,P=!1;try{if(M=(w=w.call(C)).next,T===0){if(Object(w)!==w)return;x=!1}else for(;!(x=(_=M.call(w)).done)&&(q.push(_.value),q.length!==T);x=!0);}catch(L){P=!0,R=L}finally{try{if(!x&&w.return!=null&&(N=w.return(),Object(N)!==N))return}finally{if(P)throw R}}return q}}function u(C){if(Array.isArray(C))return C}var c=[],d=r.default.keys();for(S=0;S<d.length;S++)if(f=d[S],h=r.default.get(f),m=[],h){for(g=[].concat(h.baseConcepts,h.relatedConcepts),E=0;E<g.length;E++)v=g[E],v.module==="HTML"&&(b=v.concept,b!=null&&m.push(b));m.length>0&&c.push([f,m])}var f,h,m,g,v,b,E,S,A={entries:function(){return c},forEach:function(C){for(var T=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,w=0,_=c;w<_.length;w++){var R=o(_[w],2),M=R[0],N=R[1];C.call(T,N,M,c)}},get:function(C){var T=c.filter(function(w){return w[0]===C})[0];return T&&T[1]},has:function(C){return!!A.get(C)},keys:function(){return c.map(function(C){var T=o(C,1),w=T[0];return w})},values:function(){return c.map(function(C){var T=o(C,2),w=T[1];return w})}};e.default=(0,t.default)(A,A.entries())}}),hm=D({"../../node_modules/aria-query/lib/index.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.roles=e.roleElements=e.elementRoles=e.dom=e.aria=void 0;var t=s(ij()),r=s(sj()),n=s(fm()),o=s(VL()),i=s(UL());function s(a){return a&&a.__esModule?a:{default:a}}e.aria=t.default,e.dom=r.default,e.roles=n.default,e.elementRoles=o.default,e.roleElements=i.default}}),HL=D({"../../node_modules/color-name/index.js"(e,t){t.exports={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}}}),qw=D({"../../node_modules/color-convert/conversions.js"(e,t){var r=HL(),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:a,labels:l}=o[s];delete o[s].channels,delete o[s].labels,Object.defineProperty(o[s],"channels",{value:a}),Object.defineProperty(o[s],"labels",{value:l})}o.rgb.hsl=function(s){let a=s[0]/255,l=s[1]/255,u=s[2]/255,c=Math.min(a,l,u),d=Math.max(a,l,u),f=d-c,h,m;d===c?h=0:a===d?h=(l-u)/f:l===d?h=2+(u-a)/f:u===d&&(h=4+(a-l)/f),h=Math.min(h*60,360),h<0&&(h+=360);let g=(c+d)/2;return d===c?m=0:g<=.5?m=f/(d+c):m=f/(2-d-c),[h,m*100,g*100]},o.rgb.hsv=function(s){let a,l,u,c,d,f=s[0]/255,h=s[1]/255,m=s[2]/255,g=Math.max(f,h,m),v=g-Math.min(f,h,m),b=function(E){return(g-E)/6/v+1/2};return v===0?(c=0,d=0):(d=v/g,a=b(f),l=b(h),u=b(m),f===g?c=u-l:h===g?c=1/3+a-u:m===g&&(c=2/3+l-a),c<0?c+=1:c>1&&(c-=1)),[c*360,d*100,g*100]},o.rgb.hwb=function(s){let a=s[0],l=s[1],u=s[2],c=o.rgb.hsl(s)[0],d=1/255*Math.min(a,Math.min(l,u));return u=1-1/255*Math.max(a,Math.max(l,u)),[c,d*100,u*100]},o.rgb.cmyk=function(s){let a=s[0]/255,l=s[1]/255,u=s[2]/255,c=Math.min(1-a,1-l,1-u),d=(1-a-c)/(1-c)||0,f=(1-l-c)/(1-c)||0,h=(1-u-c)/(1-c)||0;return[d*100,f*100,h*100,c*100]};function i(s,a){return(s[0]-a[0])**2+(s[1]-a[1])**2+(s[2]-a[2])**2}o.rgb.keyword=function(s){let a=n[s];if(a)return a;let l=1/0,u;for(let c of Object.keys(r)){let d=r[c],f=i(s,d);f<l&&(l=f,u=c)}return u},o.keyword.rgb=function(s){return r[s]},o.rgb.xyz=function(s){let a=s[0]/255,l=s[1]/255,u=s[2]/255;a=a>.04045?((a+.055)/1.055)**2.4:a/12.92,l=l>.04045?((l+.055)/1.055)**2.4:l/12.92,u=u>.04045?((u+.055)/1.055)**2.4:u/12.92;let c=a*.4124+l*.3576+u*.1805,d=a*.2126+l*.7152+u*.0722,f=a*.0193+l*.1192+u*.9505;return[c*100,d*100,f*100]},o.rgb.lab=function(s){let a=o.rgb.xyz(s),l=a[0],u=a[1],c=a[2];l/=95.047,u/=100,c/=108.883,l=l>.008856?l**(1/3):7.787*l+16/116,u=u>.008856?u**(1/3):7.787*u+16/116,c=c>.008856?c**(1/3):7.787*c+16/116;let d=116*u-16,f=500*(l-u),h=200*(u-c);return[d,f,h]},o.hsl.rgb=function(s){let a=s[0]/360,l=s[1]/100,u=s[2]/100,c,d,f;if(l===0)return f=u*255,[f,f,f];u<.5?c=u*(1+l):c=u+l-u*l;let h=2*u-c,m=[0,0,0];for(let g=0;g<3;g++)d=a+1/3*-(g-1),d<0&&d++,d>1&&d--,6*d<1?f=h+(c-h)*6*d:2*d<1?f=c:3*d<2?f=h+(c-h)*(2/3-d)*6:f=h,m[g]=f*255;return m},o.hsl.hsv=function(s){let a=s[0],l=s[1]/100,u=s[2]/100,c=l,d=Math.max(u,.01);u*=2,l*=u<=1?u:2-u,c*=d<=1?d:2-d;let f=(u+l)/2,h=u===0?2*c/(d+c):2*l/(u+l);return[a,h*100,f*100]},o.hsv.rgb=function(s){let a=s[0]/60,l=s[1]/100,u=s[2]/100,c=Math.floor(a)%6,d=a-Math.floor(a),f=255*u*(1-l),h=255*u*(1-l*d),m=255*u*(1-l*(1-d));switch(u*=255,c){case 0:return[u,m,f];case 1:return[h,u,f];case 2:return[f,u,m];case 3:return[f,h,u];case 4:return[m,f,u];case 5:return[u,f,h]}},o.hsv.hsl=function(s){let a=s[0],l=s[1]/100,u=s[2]/100,c=Math.max(u,.01),d,f;f=(2-l)*u;let h=(2-l)*c;return d=l*c,d/=h<=1?h:2-h,d=d||0,f/=2,[a,d*100,f*100]},o.hwb.rgb=function(s){let a=s[0]/360,l=s[1]/100,u=s[2]/100,c=l+u,d;c>1&&(l/=c,u/=c);let f=Math.floor(6*a),h=1-u;d=6*a-f,(f&1)!==0&&(d=1-d);let m=l+d*(h-l),g,v,b;switch(f){default:case 6:case 0:g=h,v=m,b=l;break;case 1:g=m,v=h,b=l;break;case 2:g=l,v=h,b=m;break;case 3:g=l,v=m,b=h;break;case 4:g=m,v=l,b=h;break;case 5:g=h,v=l,b=m;break}return[g*255,v*255,b*255]},o.cmyk.rgb=function(s){let a=s[0]/100,l=s[1]/100,u=s[2]/100,c=s[3]/100,d=1-Math.min(1,a*(1-c)+c),f=1-Math.min(1,l*(1-c)+c),h=1-Math.min(1,u*(1-c)+c);return[d*255,f*255,h*255]},o.xyz.rgb=function(s){let a=s[0]/100,l=s[1]/100,u=s[2]/100,c,d,f;return c=a*3.2406+l*-1.5372+u*-.4986,d=a*-.9689+l*1.8758+u*.0415,f=a*.0557+l*-.204+u*1.057,c=c>.0031308?1.055*c**(1/2.4)-.055:c*12.92,d=d>.0031308?1.055*d**(1/2.4)-.055:d*12.92,f=f>.0031308?1.055*f**(1/2.4)-.055:f*12.92,c=Math.min(Math.max(0,c),1),d=Math.min(Math.max(0,d),1),f=Math.min(Math.max(0,f),1),[c*255,d*255,f*255]},o.xyz.lab=function(s){let a=s[0],l=s[1],u=s[2];a/=95.047,l/=100,u/=108.883,a=a>.008856?a**(1/3):7.787*a+16/116,l=l>.008856?l**(1/3):7.787*l+16/116,u=u>.008856?u**(1/3):7.787*u+16/116;let c=116*l-16,d=500*(a-l),f=200*(l-u);return[c,d,f]},o.lab.xyz=function(s){let a=s[0],l=s[1],u=s[2],c,d,f;d=(a+16)/116,c=l/500+d,f=d-u/200;let h=d**3,m=c**3,g=f**3;return d=h>.008856?h:(d-16/116)/7.787,c=m>.008856?m:(c-16/116)/7.787,f=g>.008856?g:(f-16/116)/7.787,c*=95.047,d*=100,f*=108.883,[c,d,f]},o.lab.lch=function(s){let a=s[0],l=s[1],u=s[2],c;c=Math.atan2(u,l)*360/2/Math.PI,c<0&&(c+=360);let d=Math.sqrt(l*l+u*u);return[a,d,c]},o.lch.lab=function(s){let a=s[0],l=s[1],u=s[2]/360*2*Math.PI,c=l*Math.cos(u),d=l*Math.sin(u);return[a,c,d]},o.rgb.ansi16=function(s,a=null){let[l,u,c]=s,d=a===null?o.rgb.hsv(s)[2]:a;if(d=Math.round(d/50),d===0)return 30;let f=30+(Math.round(c/255)<<2|Math.round(u/255)<<1|Math.round(l/255));return d===2&&(f+=60),f},o.hsv.ansi16=function(s){return o.rgb.ansi16(o.hsv.rgb(s),s[2])},o.rgb.ansi256=function(s){let a=s[0],l=s[1],u=s[2];return a===l&&l===u?a<8?16:a>248?231:Math.round((a-8)/247*24)+232:16+36*Math.round(a/255*5)+6*Math.round(l/255*5)+Math.round(u/255*5)},o.ansi16.rgb=function(s){let a=s%10;if(a===0||a===7)return s>50&&(a+=3.5),a=a/10.5*255,[a,a,a];let l=(~~(s>50)+1)*.5,u=(a&1)*l*255,c=(a>>1&1)*l*255,d=(a>>2&1)*l*255;return[u,c,d]},o.ansi256.rgb=function(s){if(s>=232){let d=(s-232)*10+8;return[d,d,d]}s-=16;let a,l=Math.floor(s/36)/5*255,u=Math.floor((a=s%36)/6)/5*255,c=a%6/5*255;return[l,u,c]},o.rgb.hex=function(s){let a=(((Math.round(s[0])&255)<<16)+((Math.round(s[1])&255)<<8)+(Math.round(s[2])&255)).toString(16).toUpperCase();return"000000".substring(a.length)+a},o.hex.rgb=function(s){let a=s.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!a)return[0,0,0];let l=a[0];a[0].length===3&&(l=l.split("").map(h=>h+h).join(""));let u=parseInt(l,16),c=u>>16&255,d=u>>8&255,f=u&255;return[c,d,f]},o.rgb.hcg=function(s){let a=s[0]/255,l=s[1]/255,u=s[2]/255,c=Math.max(Math.max(a,l),u),d=Math.min(Math.min(a,l),u),f=c-d,h,m;return f<1?h=d/(1-f):h=0,f<=0?m=0:c===a?m=(l-u)/f%6:c===l?m=2+(u-a)/f:m=4+(a-l)/f,m/=6,m%=1,[m*360,f*100,h*100]},o.hsl.hcg=function(s){let a=s[1]/100,l=s[2]/100,u=l<.5?2*a*l:2*a*(1-l),c=0;return u<1&&(c=(l-.5*u)/(1-u)),[s[0],u*100,c*100]},o.hsv.hcg=function(s){let a=s[1]/100,l=s[2]/100,u=a*l,c=0;return u<1&&(c=(l-u)/(1-u)),[s[0],u*100,c*100]},o.hcg.rgb=function(s){let a=s[0]/360,l=s[1]/100,u=s[2]/100;if(l===0)return[u*255,u*255,u*255];let c=[0,0,0],d=a%1*6,f=d%1,h=1-f,m=0;switch(Math.floor(d)){case 0:c[0]=1,c[1]=f,c[2]=0;break;case 1:c[0]=h,c[1]=1,c[2]=0;break;case 2:c[0]=0,c[1]=1,c[2]=f;break;case 3:c[0]=0,c[1]=h,c[2]=1;break;case 4:c[0]=f,c[1]=0,c[2]=1;break;default:c[0]=1,c[1]=0,c[2]=h}return m=(1-l)*u,[(l*c[0]+m)*255,(l*c[1]+m)*255,(l*c[2]+m)*255]},o.hcg.hsv=function(s){let a=s[1]/100,l=s[2]/100,u=a+l*(1-a),c=0;return u>0&&(c=a/u),[s[0],c*100,u*100]},o.hcg.hsl=function(s){let a=s[1]/100,l=s[2]/100*(1-a)+.5*a,u=0;return l>0&&l<.5?u=a/(2*l):l>=.5&&l<1&&(u=a/(2*(1-l))),[s[0],u*100,l*100]},o.hcg.hwb=function(s){let a=s[1]/100,l=s[2]/100,u=a+l*(1-a);return[s[0],(u-a)*100,(1-u)*100]},o.hwb.hcg=function(s){let a=s[1]/100,l=1-s[2]/100,u=l-a,c=0;return u<1&&(c=(l-u)/(1-u)),[s[0],u*100,c*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 a=Math.round(s[0]/100*255)&255,l=((a<<16)+(a<<8)+a).toString(16).toUpperCase();return"000000".substring(l.length)+l},o.rgb.gray=function(s){return[(s[0]+s[1]+s[2])/3/255*100]}}}),JL=D({"../../node_modules/color-convert/route.js"(e,t){var r=qw();function n(){let a={},l=Object.keys(r);for(let u=l.length,c=0;c<u;c++)a[l[c]]={distance:-1,parent:null};return a}function o(a){let l=n(),u=[a];for(l[a].distance=0;u.length;){let c=u.pop(),d=Object.keys(r[c]);for(let f=d.length,h=0;h<f;h++){let m=d[h],g=l[m];g.distance===-1&&(g.distance=l[c].distance+1,g.parent=c,u.unshift(m))}}return l}function i(a,l){return function(u){return l(a(u))}}function s(a,l){let u=[l[a].parent,a],c=r[l[a].parent][a],d=l[a].parent;for(;l[d].parent;)u.unshift(l[d].parent),c=i(r[l[d].parent][d],c),d=l[d].parent;return c.conversion=u,c}t.exports=function(a){let l=o(a),u={},c=Object.keys(l);for(let d=c.length,f=0;f<d;f++){let h=c[f];l[h].parent!==null&&(u[h]=s(h,l))}return u}}}),GL=D({"../../node_modules/color-convert/index.js"(e,t){var r=qw(),n=JL(),o={},i=Object.keys(r);function s(l){let u=function(...c){let d=c[0];return d==null?d:(d.length>1&&(c=d),l(c))};return"conversion"in l&&(u.conversion=l.conversion),u}function a(l){let u=function(...c){let d=c[0];if(d==null)return d;d.length>1&&(c=d);let f=l(c);if(typeof f=="object")for(let h=f.length,m=0;m<h;m++)f[m]=Math.round(f[m]);return f};return"conversion"in l&&(u.conversion=l.conversion),u}i.forEach(l=>{o[l]={},Object.defineProperty(o[l],"channels",{value:r[l].channels}),Object.defineProperty(o[l],"labels",{value:r[l].labels});let u=n(l);Object.keys(u).forEach(c=>{let d=u[c];o[l][c]=a(d),o[l][c].raw=s(d)})}),t.exports=o}}),WL=D({"../../node_modules/ansi-styles/index.js"(e,t){var r=(d,f)=>(...h)=>`\x1B[${d(...h)+f}m`,n=(d,f)=>(...h)=>{let m=d(...h);return`\x1B[${38+f};5;${m}m`},o=(d,f)=>(...h)=>{let m=d(...h);return`\x1B[${38+f};2;${m[0]};${m[1]};${m[2]}m`},i=d=>d,s=(d,f,h)=>[d,f,h],a=(d,f,h)=>{Object.defineProperty(d,f,{get:()=>{let m=h();return Object.defineProperty(d,f,{value:m,enumerable:!0,configurable:!0}),m},enumerable:!0,configurable:!0})},l,u=(d,f,h,m)=>{l===void 0&&(l=GL());let g=m?10:0,v={};for(let[b,E]of Object.entries(l)){let S=b==="ansi16"?"ansi":b;b===f?v[S]=d(h,g):typeof E=="object"&&(v[S]=d(E[f],g))}return v};function c(){let d=new Map,f={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]}};f.color.gray=f.color.blackBright,f.bgColor.bgGray=f.bgColor.bgBlackBright,f.color.grey=f.color.blackBright,f.bgColor.bgGrey=f.bgColor.bgBlackBright;for(let[h,m]of Object.entries(f)){for(let[g,v]of Object.entries(m))f[g]={open:`\x1B[${v[0]}m`,close:`\x1B[${v[1]}m`},m[g]=f[g],d.set(v[0],v[1]);Object.defineProperty(f,h,{value:m,enumerable:!1})}return Object.defineProperty(f,"codes",{value:d,enumerable:!1}),f.color.close="\x1B[39m",f.bgColor.close="\x1B[49m",a(f.color,"ansi",()=>u(r,"ansi16",i,!1)),a(f.color,"ansi256",()=>u(n,"ansi256",i,!1)),a(f.color,"ansi16m",()=>u(o,"rgb",s,!1)),a(f.bgColor,"ansi",()=>u(r,"ansi16",i,!0)),a(f.bgColor,"ansi256",()=>u(n,"ansi256",i,!0)),a(f.bgColor,"ansi16m",()=>u(o,"rgb",s,!0)),f}Object.defineProperty(t,"exports",{enumerable:!0,get:c})}}),KL=D({"../../node_modules/supports-color/browser.js"(e,t){t.exports={stdout:!1,stderr:!1}}}),zL=D({"../../node_modules/@testing-library/jest-dom/node_modules/chalk/source/util.js"(e,t){var r=(o,i,s)=>{let a=o.indexOf(i);if(a===-1)return o;let l=i.length,u=0,c="";do c+=o.substr(u,a-u)+i+s,u=a+l,a=o.indexOf(i,u);while(a!==-1);return c+=o.substr(u),c},n=(o,i,s,a)=>{let l=0,u="";do{let c=o[a-1]==="\r";u+=o.substr(l,(c?a-1:a)-l)+i+(c?`\r
9
+ `:`
10
+ `)+s,l=a+1,a=o.indexOf(`
11
+ `,l)}while(a!==-1);return u+=o.substr(l),u};t.exports={stringReplaceAll:r,stringEncaseCRLFWithFirstIndex:n}}}),YL=D({"../../node_modules/@testing-library/jest-dom/node_modules/chalk/source/templates.js"(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 a(d){let f=d[0]==="u",h=d[1]==="{";return f&&!h&&d.length===5||d[0]==="x"&&d.length===3?String.fromCharCode(parseInt(d.slice(1),16)):f&&h?String.fromCodePoint(parseInt(d.slice(2,-1),16)):s.get(d)||d}function l(d,f){let h=[],m=f.trim().split(/\s*,\s*/g),g;for(let v of m){let b=Number(v);if(!Number.isNaN(b))h.push(b);else if(g=v.match(o))h.push(g[2].replace(i,(E,S,A)=>S?a(S):A));else throw new Error(`Invalid Chalk template style argument: ${v} (in style '${d}')`)}return h}function u(d){n.lastIndex=0;let f=[],h;for(;(h=n.exec(d))!==null;){let m=h[1];if(h[2]){let g=l(m,h[2]);f.push([m].concat(g))}else f.push([m])}return f}function c(d,f){let h={};for(let g of f)for(let v of g.styles)h[v[0]]=g.inverse?null:v.slice(1);let m=d;for(let[g,v]of Object.entries(h))if(Array.isArray(v)){if(!(g in m))throw new Error(`Unknown Chalk style: ${g}`);m=v.length>0?m[g](...v):m[g]}return m}t.exports=(d,f)=>{let h=[],m=[],g=[];if(f.replace(r,(v,b,E,S,A,C)=>{if(b)g.push(a(b));else if(S){let T=g.join("");g=[],m.push(h.length===0?T:c(d,h)(T)),h.push({inverse:E,styles:u(S)})}else if(A){if(h.length===0)throw new Error("Found extraneous } in Chalk template literal");m.push(c(d,h)(g.join(""))),g=[],h.pop()}else g.push(C)}),m.push(g.join("")),h.length>0){let v=`Chalk template literal is missing ${h.length} closing bracket${h.length===1?"":"s"} (\`}\`)`;throw new Error(v)}return m.join("")}}}),Lw=D({"../../node_modules/@testing-library/jest-dom/node_modules/chalk/source/index.js"(e,t){var r=WL(),{stdout:n,stderr:o}=KL(),{stringReplaceAll:i,stringEncaseCRLFWithFirstIndex:s}=zL(),a=["ansi","ansi","ansi256","ansi16m"],l=Object.create(null),u=(C,T={})=>{if(T.level>3||T.level<0)throw new Error("The `level` option should be an integer from 0 to 3");let w=n?n.level:0;C.level=T.level===void 0?w:T.level},c=class{constructor(C){return d(C)}},d=C=>{let T={};return u(T,C),T.template=(...w)=>S(T.template,...w),Object.setPrototypeOf(T,f.prototype),Object.setPrototypeOf(T.template,T),T.template.constructor=()=>{throw new Error("`chalk.constructor()` is deprecated. Use `new chalk.Instance()` instead.")},T.template.Instance=c,T.template};function f(C){return d(C)}for(let[C,T]of Object.entries(r))l[C]={get(){let w=v(this,g(T.open,T.close,this._styler),this._isEmpty);return Object.defineProperty(this,C,{value:w}),w}};l.visible={get(){let C=v(this,this._styler,!0);return Object.defineProperty(this,"visible",{value:C}),C}};var h=["rgb","hex","keyword","hsl","hsv","hwb","ansi","ansi256"];for(let C of h)l[C]={get(){let{level:T}=this;return function(...w){let _=g(r.color[a[T]][C](...w),r.color.close,this._styler);return v(this,_,this._isEmpty)}}};for(let C of h){let T="bg"+C[0].toUpperCase()+C.slice(1);l[T]={get(){let{level:w}=this;return function(..._){let R=g(r.bgColor[a[w]][C](..._),r.bgColor.close,this._styler);return v(this,R,this._isEmpty)}}}}var m=Object.defineProperties(()=>{},{...l,level:{enumerable:!0,get(){return this._generator.level},set(C){this._generator.level=C}}}),g=(C,T,w)=>{let _,R;return w===void 0?(_=C,R=T):(_=w.openAll+C,R=T+w.closeAll),{open:C,close:T,openAll:_,closeAll:R,parent:w}},v=(C,T,w)=>{let _=(...R)=>b(_,R.length===1?""+R[0]:R.join(" "));return _.__proto__=m,_._generator=C,_._styler=T,_._isEmpty=w,_},b=(C,T)=>{if(C.level<=0||!T)return C._isEmpty?"":T;let w=C._styler;if(w===void 0)return T;let{openAll:_,closeAll:R}=w;if(T.indexOf("\x1B")!==-1)for(;w!==void 0;)T=i(T,w.close,w.open),w=w.parent;let M=T.indexOf(`
13
+ `);return M!==-1&&(T=s(T,R,_,M)),_+T+R},E,S=(C,...T)=>{let[w]=T;if(!Array.isArray(w))return T.join(" ");let _=T.slice(1),R=[w.raw[0]];for(let M=1;M<w.length;M++)R.push(String(_[M-1]).replace(/[{}\\]/g,"\\$&"),String(w.raw[M]));return E===void 0&&(E=YL()),E(C,R.join(""))};Object.defineProperties(f.prototype,l);var A=f();A.supportsColor=n,A.stderr=f({level:o?o.level:0}),A.stderr.supportsColor=o,A.Level={None:0,Basic:1,Ansi256:2,TrueColor:3,0:"None",1:"Basic",2:"Ansi256",3:"TrueColor"},t.exports=A}}),XL=D({"../../node_modules/lodash/_listCacheClear.js"(e,t){function r(){this.__data__=[],this.size=0}t.exports=r}}),kw=D({"../../node_modules/lodash/eq.js"(e,t){function r(n,o){return n===o||n!==n&&o!==o}t.exports=r}}),zc=D({"../../node_modules/lodash/_assocIndexOf.js"(e,t){var r=kw();function n(o,i){for(var s=o.length;s--;)if(r(o[s][0],i))return s;return-1}t.exports=n}}),QL=D({"../../node_modules/lodash/_listCacheDelete.js"(e,t){var r=zc(),n=Array.prototype,o=n.splice;function i(s){var a=this.__data__,l=r(a,s);if(l<0)return!1;var u=a.length-1;return l==u?a.pop():o.call(a,l,1),--this.size,!0}t.exports=i}}),ZL=D({"../../node_modules/lodash/_listCacheGet.js"(e,t){var r=zc();function n(o){var i=this.__data__,s=r(i,o);return s<0?void 0:i[s][1]}t.exports=n}}),ek=D({"../../node_modules/lodash/_listCacheHas.js"(e,t){var r=zc();function n(o){return r(this.__data__,o)>-1}t.exports=n}}),tk=D({"../../node_modules/lodash/_listCacheSet.js"(e,t){var r=zc();function n(o,i){var s=this.__data__,a=r(s,o);return a<0?(++this.size,s.push([o,i])):s[a][1]=i,this}t.exports=n}}),Yc=D({"../../node_modules/lodash/_ListCache.js"(e,t){var r=XL(),n=QL(),o=ZL(),i=ek(),s=tk();function a(l){var u=-1,c=l==null?0:l.length;for(this.clear();++u<c;){var d=l[u];this.set(d[0],d[1])}}a.prototype.clear=r,a.prototype.delete=n,a.prototype.get=o,a.prototype.has=i,a.prototype.set=s,t.exports=a}}),rk=D({"../../node_modules/lodash/_stackClear.js"(e,t){var r=Yc();function n(){this.__data__=new r,this.size=0}t.exports=n}}),nk=D({"../../node_modules/lodash/_stackDelete.js"(e,t){function r(n){var o=this.__data__,i=o.delete(n);return this.size=o.size,i}t.exports=r}}),ok=D({"../../node_modules/lodash/_stackGet.js"(e,t){function r(n){return this.__data__.get(n)}t.exports=r}}),ik=D({"../../node_modules/lodash/_stackHas.js"(e,t){function r(n){return this.__data__.has(n)}t.exports=r}}),Dw=D({"../../node_modules/lodash/_freeGlobal.js"(e,t){var r=typeof global=="object"&&global&&global.Object===Object&&global;t.exports=r}}),Qn=D({"../../node_modules/lodash/_root.js"(e,t){var r=Dw(),n=typeof self=="object"&&self&&self.Object===Object&&self,o=r||n||Function("return this")();t.exports=o}}),mm=D({"../../node_modules/lodash/_Symbol.js"(e,t){var r=Qn(),n=r.Symbol;t.exports=n}}),sk=D({"../../node_modules/lodash/_getRawTag.js"(e,t){var r=mm(),n=Object.prototype,o=n.hasOwnProperty,i=n.toString,s=r?r.toStringTag:void 0;function a(l){var u=o.call(l,s),c=l[s];try{l[s]=void 0;var d=!0}catch{}var f=i.call(l);return d&&(u?l[s]=c:delete l[s]),f}t.exports=a}}),ak=D({"../../node_modules/lodash/_objectToString.js"(e,t){var r=Object.prototype,n=r.toString;function o(i){return n.call(i)}t.exports=o}}),Xc=D({"../../node_modules/lodash/_baseGetTag.js"(e,t){var r=mm(),n=sk(),o=ak(),i="[object Null]",s="[object Undefined]",a=r?r.toStringTag:void 0;function l(u){return u==null?u===void 0?s:i:a&&a in Object(u)?n(u):o(u)}t.exports=l}}),Fw=D({"../../node_modules/lodash/isObject.js"(e,t){function r(n){var o=typeof n;return n!=null&&(o=="object"||o=="function")}t.exports=r}}),$w=D({"../../node_modules/lodash/isFunction.js"(e,t){var r=Xc(),n=Fw(),o="[object AsyncFunction]",i="[object Function]",s="[object GeneratorFunction]",a="[object Proxy]";function l(u){if(!n(u))return!1;var c=r(u);return c==i||c==s||c==o||c==a}t.exports=l}}),lk=D({"../../node_modules/lodash/_coreJsData.js"(e,t){var r=Qn(),n=r["__core-js_shared__"];t.exports=n}}),uk=D({"../../node_modules/lodash/_isMasked.js"(e,t){var r=lk(),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}t.exports=o}}),Bw=D({"../../node_modules/lodash/_toSource.js"(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""}t.exports=o}}),ck=D({"../../node_modules/lodash/_baseIsNative.js"(e,t){var r=$w(),n=uk(),o=Fw(),i=Bw(),s=/[\\^$.*+?()[\]{}|]/g,a=/^\[object .+?Constructor\]$/,l=Function.prototype,u=Object.prototype,c=l.toString,d=u.hasOwnProperty,f=RegExp("^"+c.call(d).replace(s,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function h(m){if(!o(m)||n(m))return!1;var g=r(m)?f:a;return g.test(i(m))}t.exports=h}}),dk=D({"../../node_modules/lodash/_getValue.js"(e,t){function r(n,o){return n?.[o]}t.exports=r}}),ks=D({"../../node_modules/lodash/_getNative.js"(e,t){var r=ck(),n=dk();function o(i,s){var a=n(i,s);return r(a)?a:void 0}t.exports=o}}),ym=D({"../../node_modules/lodash/_Map.js"(e,t){var r=ks(),n=Qn(),o=r(n,"Map");t.exports=o}}),Qc=D({"../../node_modules/lodash/_nativeCreate.js"(e,t){var r=ks(),n=r(Object,"create");t.exports=n}}),pk=D({"../../node_modules/lodash/_hashClear.js"(e,t){var r=Qc();function n(){this.__data__=r?r(null):{},this.size=0}t.exports=n}}),fk=D({"../../node_modules/lodash/_hashDelete.js"(e,t){function r(n){var o=this.has(n)&&delete this.__data__[n];return this.size-=o?1:0,o}t.exports=r}}),hk=D({"../../node_modules/lodash/_hashGet.js"(e,t){var r=Qc(),n="__lodash_hash_undefined__",o=Object.prototype,i=o.hasOwnProperty;function s(a){var l=this.__data__;if(r){var u=l[a];return u===n?void 0:u}return i.call(l,a)?l[a]:void 0}t.exports=s}}),mk=D({"../../node_modules/lodash/_hashHas.js"(e,t){var r=Qc(),n=Object.prototype,o=n.hasOwnProperty;function i(s){var a=this.__data__;return r?a[s]!==void 0:o.call(a,s)}t.exports=i}}),yk=D({"../../node_modules/lodash/_hashSet.js"(e,t){var r=Qc(),n="__lodash_hash_undefined__";function o(i,s){var a=this.__data__;return this.size+=this.has(i)?0:1,a[i]=r&&s===void 0?n:s,this}t.exports=o}}),gk=D({"../../node_modules/lodash/_Hash.js"(e,t){var r=pk(),n=fk(),o=hk(),i=mk(),s=yk();function a(l){var u=-1,c=l==null?0:l.length;for(this.clear();++u<c;){var d=l[u];this.set(d[0],d[1])}}a.prototype.clear=r,a.prototype.delete=n,a.prototype.get=o,a.prototype.has=i,a.prototype.set=s,t.exports=a}}),bk=D({"../../node_modules/lodash/_mapCacheClear.js"(e,t){var r=gk(),n=Yc(),o=ym();function i(){this.size=0,this.__data__={hash:new r,map:new(o||n),string:new r}}t.exports=i}}),vk=D({"../../node_modules/lodash/_isKeyable.js"(e,t){function r(n){var o=typeof n;return o=="string"||o=="number"||o=="symbol"||o=="boolean"?n!=="__proto__":n===null}t.exports=r}}),Zc=D({"../../node_modules/lodash/_getMapData.js"(e,t){var r=vk();function n(o,i){var s=o.__data__;return r(i)?s[typeof i=="string"?"string":"hash"]:s.map}t.exports=n}}),Ek=D({"../../node_modules/lodash/_mapCacheDelete.js"(e,t){var r=Zc();function n(o){var i=r(this,o).delete(o);return this.size-=i?1:0,i}t.exports=n}}),_k=D({"../../node_modules/lodash/_mapCacheGet.js"(e,t){var r=Zc();function n(o){return r(this,o).get(o)}t.exports=n}}),Tk=D({"../../node_modules/lodash/_mapCacheHas.js"(e,t){var r=Zc();function n(o){return r(this,o).has(o)}t.exports=n}}),wk=D({"../../node_modules/lodash/_mapCacheSet.js"(e,t){var r=Zc();function n(o,i){var s=r(this,o),a=s.size;return s.set(o,i),this.size+=s.size==a?0:1,this}t.exports=n}}),Vw=D({"../../node_modules/lodash/_MapCache.js"(e,t){var r=bk(),n=Ek(),o=_k(),i=Tk(),s=wk();function a(l){var u=-1,c=l==null?0:l.length;for(this.clear();++u<c;){var d=l[u];this.set(d[0],d[1])}}a.prototype.clear=r,a.prototype.delete=n,a.prototype.get=o,a.prototype.has=i,a.prototype.set=s,t.exports=a}}),Sk=D({"../../node_modules/lodash/_stackSet.js"(e,t){var r=Yc(),n=ym(),o=Vw(),i=200;function s(a,l){var u=this.__data__;if(u instanceof r){var c=u.__data__;if(!n||c.length<i-1)return c.push([a,l]),this.size=++u.size,this;u=this.__data__=new o(c)}return u.set(a,l),this.size=u.size,this}t.exports=s}}),Rk=D({"../../node_modules/lodash/_Stack.js"(e,t){var r=Yc(),n=rk(),o=nk(),i=ok(),s=ik(),a=Sk();function l(u){var c=this.__data__=new r(u);this.size=c.size}l.prototype.clear=n,l.prototype.delete=o,l.prototype.get=i,l.prototype.has=s,l.prototype.set=a,t.exports=l}}),Ok=D({"../../node_modules/lodash/_setCacheAdd.js"(e,t){var r="__lodash_hash_undefined__";function n(o){return this.__data__.set(o,r),this}t.exports=n}}),Ak=D({"../../node_modules/lodash/_setCacheHas.js"(e,t){function r(n){return this.__data__.has(n)}t.exports=r}}),Ck=D({"../../node_modules/lodash/_SetCache.js"(e,t){var r=Vw(),n=Ok(),o=Ak();function i(s){var a=-1,l=s==null?0:s.length;for(this.__data__=new r;++a<l;)this.add(s[a])}i.prototype.add=i.prototype.push=n,i.prototype.has=o,t.exports=i}}),Pk=D({"../../node_modules/lodash/_arraySome.js"(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}t.exports=r}}),xk=D({"../../node_modules/lodash/_cacheHas.js"(e,t){function r(n,o){return n.has(o)}t.exports=r}}),Uw=D({"../../node_modules/lodash/_equalArrays.js"(e,t){var r=Ck(),n=Pk(),o=xk(),i=1,s=2;function a(l,u,c,d,f,h){var m=c&i,g=l.length,v=u.length;if(g!=v&&!(m&&v>g))return!1;var b=h.get(l),E=h.get(u);if(b&&E)return b==u&&E==l;var S=-1,A=!0,C=c&s?new r:void 0;for(h.set(l,u),h.set(u,l);++S<g;){var T=l[S],w=u[S];if(d)var _=m?d(w,T,S,u,l,h):d(T,w,S,l,u,h);if(_!==void 0){if(_)continue;A=!1;break}if(C){if(!n(u,function(R,M){if(!o(C,M)&&(T===R||f(T,R,c,d,h)))return C.push(M)})){A=!1;break}}else if(!(T===w||f(T,w,c,d,h))){A=!1;break}}return h.delete(l),h.delete(u),A}t.exports=a}}),Nk=D({"../../node_modules/lodash/_Uint8Array.js"(e,t){var r=Qn(),n=r.Uint8Array;t.exports=n}}),Ik=D({"../../node_modules/lodash/_mapToArray.js"(e,t){function r(n){var o=-1,i=Array(n.size);return n.forEach(function(s,a){i[++o]=[a,s]}),i}t.exports=r}}),Mk=D({"../../node_modules/lodash/_setToArray.js"(e,t){function r(n){var o=-1,i=Array(n.size);return n.forEach(function(s){i[++o]=s}),i}t.exports=r}}),jk=D({"../../node_modules/lodash/_equalByTag.js"(e,t){var r=mm(),n=Nk(),o=kw(),i=Uw(),s=Ik(),a=Mk(),l=1,u=2,c="[object Boolean]",d="[object Date]",f="[object Error]",h="[object Map]",m="[object Number]",g="[object RegExp]",v="[object Set]",b="[object String]",E="[object Symbol]",S="[object ArrayBuffer]",A="[object DataView]",C=r?r.prototype:void 0,T=C?C.valueOf:void 0;function w(_,R,M,N,q,x,P){switch(M){case A:if(_.byteLength!=R.byteLength||_.byteOffset!=R.byteOffset)return!1;_=_.buffer,R=R.buffer;case S:return!(_.byteLength!=R.byteLength||!x(new n(_),new n(R)));case c:case d:case m:return o(+_,+R);case f:return _.name==R.name&&_.message==R.message;case g:case b:return _==R+"";case h:var L=s;case v:var $=N&l;if(L||(L=a),_.size!=R.size&&!$)return!1;var V=P.get(_);if(V)return V==R;N|=u,P.set(_,R);var G=i(L(_),L(R),N,q,x,P);return P.delete(_),G;case E:if(T)return T.call(_)==T.call(R)}return!1}t.exports=w}}),qk=D({"../../node_modules/lodash/_arrayPush.js"(e,t){function r(n,o){for(var i=-1,s=o.length,a=n.length;++i<s;)n[a+i]=o[i];return n}t.exports=r}}),gm=D({"../../node_modules/lodash/isArray.js"(e,t){var r=Array.isArray;t.exports=r}}),Lk=D({"../../node_modules/lodash/_baseGetAllKeys.js"(e,t){var r=qk(),n=gm();function o(i,s,a){var l=s(i);return n(i)?l:r(l,a(i))}t.exports=o}}),kk=D({"../../node_modules/lodash/_arrayFilter.js"(e,t){function r(n,o){for(var i=-1,s=n==null?0:n.length,a=0,l=[];++i<s;){var u=n[i];o(u,i,n)&&(l[a++]=u)}return l}t.exports=r}}),Dk=D({"../../node_modules/lodash/stubArray.js"(e,t){function r(){return[]}t.exports=r}}),Fk=D({"../../node_modules/lodash/_getSymbols.js"(e,t){var r=kk(),n=Dk(),o=Object.prototype,i=o.propertyIsEnumerable,s=Object.getOwnPropertySymbols,a=s?function(l){return l==null?[]:(l=Object(l),r(s(l),function(u){return i.call(l,u)}))}:n;t.exports=a}}),$k=D({"../../node_modules/lodash/_baseTimes.js"(e,t){function r(n,o){for(var i=-1,s=Array(n);++i<n;)s[i]=o(i);return s}t.exports=r}}),ed=D({"../../node_modules/lodash/isObjectLike.js"(e,t){function r(n){return n!=null&&typeof n=="object"}t.exports=r}}),Bk=D({"../../node_modules/lodash/_baseIsArguments.js"(e,t){var r=Xc(),n=ed(),o="[object Arguments]";function i(s){return n(s)&&r(s)==o}t.exports=i}}),Vk=D({"../../node_modules/lodash/isArguments.js"(e,t){var r=Bk(),n=ed(),o=Object.prototype,i=o.hasOwnProperty,s=o.propertyIsEnumerable,a=r((function(){return arguments})())?r:function(l){return n(l)&&i.call(l,"callee")&&!s.call(l,"callee")};t.exports=a}}),Uk=D({"../../node_modules/lodash/stubFalse.js"(e,t){function r(){return!1}t.exports=r}}),Hw=D({"../../node_modules/lodash/isBuffer.js"(e,t){var r=Qn(),n=Uk(),o=typeof e=="object"&&e&&!e.nodeType&&e,i=o&&typeof t=="object"&&t&&!t.nodeType&&t,s=i&&i.exports===o,a=s?r.Buffer:void 0,l=a?a.isBuffer:void 0,u=l||n;t.exports=u}}),Hk=D({"../../node_modules/lodash/_isIndex.js"(e,t){var r=9007199254740991,n=/^(?:0|[1-9]\d*)$/;function o(i,s){var a=typeof i;return s=s??r,!!s&&(a=="number"||a!="symbol"&&n.test(i))&&i>-1&&i%1==0&&i<s}t.exports=o}}),Jw=D({"../../node_modules/lodash/isLength.js"(e,t){var r=9007199254740991;function n(o){return typeof o=="number"&&o>-1&&o%1==0&&o<=r}t.exports=n}}),Jk=D({"../../node_modules/lodash/_baseIsTypedArray.js"(e,t){var r=Xc(),n=Jw(),o=ed(),i="[object Arguments]",s="[object Array]",a="[object Boolean]",l="[object Date]",u="[object Error]",c="[object Function]",d="[object Map]",f="[object Number]",h="[object Object]",m="[object RegExp]",g="[object Set]",v="[object String]",b="[object WeakMap]",E="[object ArrayBuffer]",S="[object DataView]",A="[object Float32Array]",C="[object Float64Array]",T="[object Int8Array]",w="[object Int16Array]",_="[object Int32Array]",R="[object Uint8Array]",M="[object Uint8ClampedArray]",N="[object Uint16Array]",q="[object Uint32Array]",x={};x[A]=x[C]=x[T]=x[w]=x[_]=x[R]=x[M]=x[N]=x[q]=!0,x[i]=x[s]=x[E]=x[a]=x[S]=x[l]=x[u]=x[c]=x[d]=x[f]=x[h]=x[m]=x[g]=x[v]=x[b]=!1;function P(L){return o(L)&&n(L.length)&&!!x[r(L)]}t.exports=P}}),Gk=D({"../../node_modules/lodash/_baseUnary.js"(e,t){function r(n){return function(o){return n(o)}}t.exports=r}}),Wk=D({"../../node_modules/lodash/_nodeUtil.js"(e,t){var r=Dw(),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,a=(function(){try{var l=o&&o.require&&o.require("util").types;return l||s&&s.binding&&s.binding("util")}catch{}})();t.exports=a}}),Gw=D({"../../node_modules/lodash/isTypedArray.js"(e,t){var r=Jk(),n=Gk(),o=Wk(),i=o&&o.isTypedArray,s=i?n(i):r;t.exports=s}}),Kk=D({"../../node_modules/lodash/_arrayLikeKeys.js"(e,t){var r=$k(),n=Vk(),o=gm(),i=Hw(),s=Hk(),a=Gw(),l=Object.prototype,u=l.hasOwnProperty;function c(d,f){var h=o(d),m=!h&&n(d),g=!h&&!m&&i(d),v=!h&&!m&&!g&&a(d),b=h||m||g||v,E=b?r(d.length,String):[],S=E.length;for(var A in d)(f||u.call(d,A))&&!(b&&(A=="length"||g&&(A=="offset"||A=="parent")||v&&(A=="buffer"||A=="byteLength"||A=="byteOffset")||s(A,S)))&&E.push(A);return E}t.exports=c}}),zk=D({"../../node_modules/lodash/_isPrototype.js"(e,t){var r=Object.prototype;function n(o){var i=o&&o.constructor,s=typeof i=="function"&&i.prototype||r;return o===s}t.exports=n}}),Yk=D({"../../node_modules/lodash/_overArg.js"(e,t){function r(n,o){return function(i){return n(o(i))}}t.exports=r}}),Xk=D({"../../node_modules/lodash/_nativeKeys.js"(e,t){var r=Yk(),n=r(Object.keys,Object);t.exports=n}}),Qk=D({"../../node_modules/lodash/_baseKeys.js"(e,t){var r=zk(),n=Xk(),o=Object.prototype,i=o.hasOwnProperty;function s(a){if(!r(a))return n(a);var l=[];for(var u in Object(a))i.call(a,u)&&u!="constructor"&&l.push(u);return l}t.exports=s}}),Zk=D({"../../node_modules/lodash/isArrayLike.js"(e,t){var r=$w(),n=Jw();function o(i){return i!=null&&n(i.length)&&!r(i)}t.exports=o}}),eD=D({"../../node_modules/lodash/keys.js"(e,t){var r=Kk(),n=Qk(),o=Zk();function i(s){return o(s)?r(s):n(s)}t.exports=i}}),tD=D({"../../node_modules/lodash/_getAllKeys.js"(e,t){var r=Lk(),n=Fk(),o=eD();function i(s){return r(s,o,n)}t.exports=i}}),rD=D({"../../node_modules/lodash/_equalObjects.js"(e,t){var r=tD(),n=1,o=Object.prototype,i=o.hasOwnProperty;function s(a,l,u,c,d,f){var h=u&n,m=r(a),g=m.length,v=r(l),b=v.length;if(g!=b&&!h)return!1;for(var E=g;E--;){var S=m[E];if(!(h?S in l:i.call(l,S)))return!1}var A=f.get(a),C=f.get(l);if(A&&C)return A==l&&C==a;var T=!0;f.set(a,l),f.set(l,a);for(var w=h;++E<g;){S=m[E];var _=a[S],R=l[S];if(c)var M=h?c(R,_,S,l,a,f):c(_,R,S,a,l,f);if(!(M===void 0?_===R||d(_,R,u,c,f):M)){T=!1;break}w||(w=S=="constructor")}if(T&&!w){var N=a.constructor,q=l.constructor;N!=q&&"constructor"in a&&"constructor"in l&&!(typeof N=="function"&&N instanceof N&&typeof q=="function"&&q instanceof q)&&(T=!1)}return f.delete(a),f.delete(l),T}t.exports=s}}),nD=D({"../../node_modules/lodash/_DataView.js"(e,t){var r=ks(),n=Qn(),o=r(n,"DataView");t.exports=o}}),oD=D({"../../node_modules/lodash/_Promise.js"(e,t){var r=ks(),n=Qn(),o=r(n,"Promise");t.exports=o}}),iD=D({"../../node_modules/lodash/_Set.js"(e,t){var r=ks(),n=Qn(),o=r(n,"Set");t.exports=o}}),sD=D({"../../node_modules/lodash/_WeakMap.js"(e,t){var r=ks(),n=Qn(),o=r(n,"WeakMap");t.exports=o}}),aD=D({"../../node_modules/lodash/_getTag.js"(e,t){var r=nD(),n=ym(),o=oD(),i=iD(),s=sD(),a=Xc(),l=Bw(),u="[object Map]",c="[object Object]",d="[object Promise]",f="[object Set]",h="[object WeakMap]",m="[object DataView]",g=l(r),v=l(n),b=l(o),E=l(i),S=l(s),A=a;(r&&A(new r(new ArrayBuffer(1)))!=m||n&&A(new n)!=u||o&&A(o.resolve())!=d||i&&A(new i)!=f||s&&A(new s)!=h)&&(A=function(C){var T=a(C),w=T==c?C.constructor:void 0,_=w?l(w):"";if(_)switch(_){case g:return m;case v:return u;case b:return d;case E:return f;case S:return h}return T}),t.exports=A}}),lD=D({"../../node_modules/lodash/_baseIsEqualDeep.js"(e,t){var r=Rk(),n=Uw(),o=jk(),i=rD(),s=aD(),a=gm(),l=Hw(),u=Gw(),c=1,d="[object Arguments]",f="[object Array]",h="[object Object]",m=Object.prototype,g=m.hasOwnProperty;function v(b,E,S,A,C,T){var w=a(b),_=a(E),R=w?f:s(b),M=_?f:s(E);R=R==d?h:R,M=M==d?h:M;var N=R==h,q=M==h,x=R==M;if(x&&l(b)){if(!l(E))return!1;w=!0,N=!1}if(x&&!N)return T||(T=new r),w||u(b)?n(b,E,S,A,C,T):o(b,E,R,S,A,C,T);if(!(S&c)){var P=N&&g.call(b,"__wrapped__"),L=q&&g.call(E,"__wrapped__");if(P||L){var $=P?b.value():b,V=L?E.value():E;return T||(T=new r),C($,V,S,A,T)}}return x?(T||(T=new r),i(b,E,S,A,C,T)):!1}t.exports=v}}),uD=D({"../../node_modules/lodash/_baseIsEqual.js"(e,t){var r=lD(),n=ed();function o(i,s,a,l,u){return i===s?!0:i==null||s==null||!n(i)&&!n(s)?i!==i&&s!==s:r(i,s,a,l,o,u)}t.exports=o}}),Ww=D({"../../node_modules/lodash/isEqualWith.js"(e,t){var r=uD();function n(o,i,s){s=typeof s=="function"?s:void 0;var a=s?s(o,i):void 0;return a===void 0?r(o,i,void 0,s):!!a}t.exports=n}}),Kw=D({"../../node_modules/css.escape/css.escape.js"(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=function(o){if(arguments.length==0)throw new TypeError("`CSS.escape` requires an argument.");for(var i=String(o),s=i.length,a=-1,l,u="",c=i.charCodeAt(0);++a<s;){if(l=i.charCodeAt(a),l==0){u+="�";continue}if(l>=1&&l<=31||l==127||a==0&&l>=48&&l<=57||a==1&&l>=48&&l<=57&&c==45){u+="\\"+l.toString(16)+" ";continue}if(a==0&&s==1&&l==45){u+="\\"+i.charAt(a);continue}if(l>=128||l==45||l==95||l>=48&&l<=57||l>=65&&l<=90||l>=97&&l<=122){u+=i.charAt(a);continue}u+="\\"+i.charAt(a)}return u};return r.CSS||(r.CSS={}),r.CSS.escape=n,n})}}),zw=D({"../../node_modules/@testing-library/dom/node_modules/ansi-styles/index.js"(e,t){var r=(i=0)=>s=>`\x1B[${38+i};5;${s}m`,n=(i=0)=>(s,a,l)=>`\x1B[${38+i};2;${s};${a};${l}m`;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[a,l]of Object.entries(s)){for(let[u,c]of Object.entries(l))s[u]={open:`\x1B[${c[0]}m`,close:`\x1B[${c[1]}m`},l[u]=s[u],i.set(c[0],c[1]);Object.defineProperty(s,a,{value:l,enumerable:!1})}return Object.defineProperty(s,"codes",{value:i,enumerable:!1}),s.color.close="\x1B[39m",s.bgColor.close="\x1B[49m",s.color.ansi256=r(),s.color.ansi16m=n(),s.bgColor.ansi256=r(10),s.bgColor.ansi16m=n(10),Object.defineProperties(s,{rgbToAnsi256:{value:(a,l,u)=>a===l&&l===u?a<8?16:a>248?231:Math.round((a-8)/247*24)+232:16+36*Math.round(a/255*5)+6*Math.round(l/255*5)+Math.round(u/255*5),enumerable:!1},hexToRgb:{value:a=>{let l=/(?<colorString>[a-f\d]{6}|[a-f\d]{3})/i.exec(a.toString(16));if(!l)return[0,0,0];let{colorString:u}=l.groups;u.length===3&&(u=u.split("").map(d=>d+d).join(""));let c=Number.parseInt(u,16);return[c>>16&255,c>>8&255,c&255]},enumerable:!1},hexToAnsi256:{value:a=>s.rgbToAnsi256(...s.hexToRgb(a)),enumerable:!1}}),s}Object.defineProperty(t,"exports",{enumerable:!0,get:o})}}),td=D({"../../node_modules/@testing-library/dom/node_modules/pretty-format/build/collections.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.printIteratorEntries=r,e.printIteratorValues=n,e.printListItems=o,e.printObjectProperties=i;var t=(s,a)=>{let l=Object.keys(s).sort(a);return Object.getOwnPropertySymbols&&Object.getOwnPropertySymbols(s).forEach(u=>{Object.getOwnPropertyDescriptor(s,u).enumerable&&l.push(u)}),l};function r(s,a,l,u,c,d,f=": "){let h="",m=s.next();if(!m.done){h+=a.spacingOuter;let g=l+a.indent;for(;!m.done;){let v=d(m.value[0],a,g,u,c),b=d(m.value[1],a,g,u,c);h+=g+v+f+b,m=s.next(),m.done?a.min||(h+=","):h+=","+a.spacingInner}h+=a.spacingOuter+l}return h}function n(s,a,l,u,c,d){let f="",h=s.next();if(!h.done){f+=a.spacingOuter;let m=l+a.indent;for(;!h.done;)f+=m+d(h.value,a,m,u,c),h=s.next(),h.done?a.min||(f+=","):f+=","+a.spacingInner;f+=a.spacingOuter+l}return f}function o(s,a,l,u,c,d){let f="";if(s.length){f+=a.spacingOuter;let h=l+a.indent;for(let m=0;m<s.length;m++)f+=h,m in s&&(f+=d(s[m],a,h,u,c)),m<s.length-1?f+=","+a.spacingInner:a.min||(f+=",");f+=a.spacingOuter+l}return f}function i(s,a,l,u,c,d){let f="",h=t(s,a.compareKeys);if(h.length){f+=a.spacingOuter;let m=l+a.indent;for(let g=0;g<h.length;g++){let v=h[g],b=d(v,a,m,u,c),E=d(s[v],a,m,u,c);f+=m+b+": "+E,g<h.length-1?f+=","+a.spacingInner:a.min||(f+=",")}f+=a.spacingOuter+l}return f}}}),cD=D({"../../node_modules/@testing-library/dom/node_modules/pretty-format/build/plugins/AsymmetricMatcher.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.test=e.serialize=e.default=void 0;var t=td(),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=(c,d,f,h,m,g)=>{let v=c.toString();return v==="ArrayContaining"||v==="ArrayNotContaining"?++h>d.maxDepth?"["+v+"]":v+i+"["+(0,t.printListItems)(c.sample,d,f,h,m,g)+"]":v==="ObjectContaining"||v==="ObjectNotContaining"?++h>d.maxDepth?"["+v+"]":v+i+"{"+(0,t.printObjectProperties)(c.sample,d,f,h,m,g)+"}":v==="StringMatching"||v==="StringNotMatching"||v==="StringContaining"||v==="StringNotContaining"?v+i+g(c.sample,d,f,h,m):c.toAsymmetricMatcher()};e.serialize=s;var a=c=>c&&c.$$typeof===o;e.test=a;var l={serialize:s,test:a},u=l;e.default=u}}),dD=D({"../../node_modules/@testing-library/dom/node_modules/ansi-regex/index.js"(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")}}}),pD=D({"../../node_modules/@testing-library/dom/node_modules/pretty-format/build/plugins/ConvertAnsi.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.test=e.serialize=e.default=void 0;var t=n(dD()),r=n(zw());function n(u){return u&&u.__esModule?u:{default:u}}var o=u=>u.replace((0,t.default)(),c=>{switch(c){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""}}),i=u=>typeof u=="string"&&!!u.match((0,t.default)());e.test=i;var s=(u,c,d,f,h,m)=>m(o(u),c,d,f,h);e.serialize=s;var a={serialize:s,test:i},l=a;e.default=l}}),fD=D({"../../node_modules/@testing-library/dom/node_modules/pretty-format/build/plugins/DOMCollection.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.test=e.serialize=e.default=void 0;var t=td(),r=" ",n=["DOMStringMap","NamedNodeMap"],o=/^(HTML\w*Collection|NodeList)$/,i=d=>n.indexOf(d)!==-1||o.test(d),s=d=>d&&d.constructor&&!!d.constructor.name&&i(d.constructor.name);e.test=s;var a=d=>d.constructor.name==="NamedNodeMap",l=(d,f,h,m,g,v)=>{let b=d.constructor.name;return++m>f.maxDepth?"["+b+"]":(f.min?"":b+r)+(n.indexOf(b)!==-1?"{"+(0,t.printObjectProperties)(a(d)?Array.from(d).reduce((E,S)=>(E[S.name]=S.value,E),{}):{...d},f,h,m,g,v)+"}":"["+(0,t.printListItems)(Array.from(d),f,h,m,g,v)+"]")};e.serialize=l;var u={serialize:l,test:s},c=u;e.default=c}}),hD=D({"../../node_modules/@testing-library/dom/node_modules/pretty-format/build/plugins/lib/escapeHTML.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=t;function t(r){return r.replace(/</g,"&lt;").replace(/>/g,"&gt;")}}}),bm=D({"../../node_modules/@testing-library/dom/node_modules/pretty-format/build/plugins/lib/markup.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.printText=e.printProps=e.printElementAsLeaf=e.printElement=e.printComment=e.printChildren=void 0;var t=r(hD());function r(u){return u&&u.__esModule?u:{default:u}}var n=(u,c,d,f,h,m,g)=>{let v=f+d.indent,b=d.colors;return u.map(E=>{let S=c[E],A=g(S,d,v,h,m);return typeof S!="string"&&(A.indexOf(`
14
+ `)!==-1&&(A=d.spacingOuter+v+A+d.spacingOuter+f),A="{"+A+"}"),d.spacingInner+f+b.prop.open+E+b.prop.close+"="+b.value.open+A+b.value.close}).join("")};e.printProps=n;var o=(u,c,d,f,h,m)=>u.map(g=>c.spacingOuter+d+(typeof g=="string"?i(g,c):m(g,c,d,f,h))).join("");e.printChildren=o;var i=(u,c)=>{let d=c.colors.content;return d.open+(0,t.default)(u)+d.close};e.printText=i;var s=(u,c)=>{let d=c.colors.comment;return d.open+"<!--"+(0,t.default)(u)+"-->"+d.close};e.printComment=s;var a=(u,c,d,f,h)=>{let m=f.colors.tag;return m.open+"<"+u+(c&&m.close+c+f.spacingOuter+h+m.open)+(d?">"+m.close+d+f.spacingOuter+h+m.open+"</"+u:(c&&!f.min?"":" ")+"/")+">"+m.close};e.printElement=a;var l=(u,c)=>{let d=c.colors.tag;return d.open+"<"+u+d.close+" …"+d.open+" />"+d.close};e.printElementAsLeaf=l}}),mD=D({"../../node_modules/@testing-library/dom/node_modules/pretty-format/build/plugins/DOMElement.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.test=e.serialize=e.default=void 0;var t=bm(),r=1,n=3,o=8,i=11,s=/^((HTML|SVG)\w*)?Element$/,a=v=>{try{return typeof v.hasAttribute=="function"&&v.hasAttribute("is")}catch{return!1}},l=v=>{let b=v.constructor.name,{nodeType:E,tagName:S}=v,A=typeof S=="string"&&S.includes("-")||a(v);return E===r&&(s.test(b)||A)||E===n&&b==="Text"||E===o&&b==="Comment"||E===i&&b==="DocumentFragment"},u=v=>{var b;return(v==null||(b=v.constructor)===null||b===void 0?void 0:b.name)&&l(v)};e.test=u;function c(v){return v.nodeType===n}function d(v){return v.nodeType===o}function f(v){return v.nodeType===i}var h=(v,b,E,S,A,C)=>{if(c(v))return(0,t.printText)(v.data,b);if(d(v))return(0,t.printComment)(v.data,b);let T=f(v)?"DocumentFragment":v.tagName.toLowerCase();return++S>b.maxDepth?(0,t.printElementAsLeaf)(T,b):(0,t.printElement)(T,(0,t.printProps)(f(v)?[]:Array.from(v.attributes).map(w=>w.name).sort(),f(v)?{}:Array.from(v.attributes).reduce((w,_)=>(w[_.name]=_.value,w),{}),b,E+b.indent,S,A,C),(0,t.printChildren)(Array.prototype.slice.call(v.childNodes||v.children),b,E+b.indent,S,A,C),b,E)};e.serialize=h;var m={serialize:h,test:u},g=m;e.default=g}}),yD=D({"../../node_modules/@testing-library/dom/node_modules/pretty-format/build/plugins/Immutable.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.test=e.serialize=e.default=void 0;var t=td(),r="@@__IMMUTABLE_ITERABLE__@@",n="@@__IMMUTABLE_LIST__@@",o="@@__IMMUTABLE_KEYED__@@",i="@@__IMMUTABLE_MAP__@@",s="@@__IMMUTABLE_ORDERED__@@",a="@@__IMMUTABLE_RECORD__@@",l="@@__IMMUTABLE_SEQ__@@",u="@@__IMMUTABLE_SET__@@",c="@@__IMMUTABLE_STACK__@@",d=_=>"Immutable."+_,f=_=>"["+_+"]",h=" ",m="…",g=(_,R,M,N,q,x,P)=>++N>R.maxDepth?f(d(P)):d(P)+h+"{"+(0,t.printIteratorEntries)(_.entries(),R,M,N,q,x)+"}";function v(_){let R=0;return{next(){if(R<_._keys.length){let M=_._keys[R++];return{done:!1,value:[M,_.get(M)]}}return{done:!0,value:void 0}}}}var b=(_,R,M,N,q,x)=>{let P=d(_._name||"Record");return++N>R.maxDepth?f(P):P+h+"{"+(0,t.printIteratorEntries)(v(_),R,M,N,q,x)+"}"},E=(_,R,M,N,q,x)=>{let P=d("Seq");return++N>R.maxDepth?f(P):_[o]?P+h+"{"+(_._iter||_._object?(0,t.printIteratorEntries)(_.entries(),R,M,N,q,x):m)+"}":P+h+"["+(_._iter||_._array||_._collection||_._iterable?(0,t.printIteratorValues)(_.values(),R,M,N,q,x):m)+"]"},S=(_,R,M,N,q,x,P)=>++N>R.maxDepth?f(d(P)):d(P)+h+"["+(0,t.printIteratorValues)(_.values(),R,M,N,q,x)+"]",A=(_,R,M,N,q,x)=>_[i]?g(_,R,M,N,q,x,_[s]?"OrderedMap":"Map"):_[n]?S(_,R,M,N,q,x,"List"):_[u]?S(_,R,M,N,q,x,_[s]?"OrderedSet":"Set"):_[c]?S(_,R,M,N,q,x,"Stack"):_[l]?E(_,R,M,N,q,x):b(_,R,M,N,q,x);e.serialize=A;var C=_=>_&&(_[r]===!0||_[a]===!0);e.test=C;var T={serialize:A,test:C},w=T;e.default=w}}),gD=D({"../../node_modules/@testing-library/dom/node_modules/react-is/cjs/react-is.production.min.js"(e){var t=60103,r=60106,n=60107,o=60108,i=60114,s=60109,a=60110,l=60112,u=60113,c=60120,d=60115,f=60116,h=60121,m=60122,g=60117,v=60129,b=60131;typeof Symbol=="function"&&Symbol.for&&(E=Symbol.for,t=E("react.element"),r=E("react.portal"),n=E("react.fragment"),o=E("react.strict_mode"),i=E("react.profiler"),s=E("react.provider"),a=E("react.context"),l=E("react.forward_ref"),u=E("react.suspense"),c=E("react.suspense_list"),d=E("react.memo"),f=E("react.lazy"),h=E("react.block"),m=E("react.server.block"),g=E("react.fundamental"),v=E("react.debug_trace_mode"),b=E("react.legacy_hidden"));var E;function S(P){if(typeof P=="object"&&P!==null){var L=P.$$typeof;switch(L){case t:switch(P=P.type,P){case n:case i:case o:case u:case c:return P;default:switch(P=P&&P.$$typeof,P){case a:case l:case f:case d:case s:return P;default:return L}}case r:return L}}}var A=s,C=t,T=l,w=n,_=f,R=d,M=r,N=i,q=o,x=u;e.ContextConsumer=a,e.ContextProvider=A,e.Element=C,e.ForwardRef=T,e.Fragment=w,e.Lazy=_,e.Memo=R,e.Portal=M,e.Profiler=N,e.StrictMode=q,e.Suspense=x,e.isAsyncMode=function(){return!1},e.isConcurrentMode=function(){return!1},e.isContextConsumer=function(P){return S(P)===a},e.isContextProvider=function(P){return S(P)===s},e.isElement=function(P){return typeof P=="object"&&P!==null&&P.$$typeof===t},e.isForwardRef=function(P){return S(P)===l},e.isFragment=function(P){return S(P)===n},e.isLazy=function(P){return S(P)===f},e.isMemo=function(P){return S(P)===d},e.isPortal=function(P){return S(P)===r},e.isProfiler=function(P){return S(P)===i},e.isStrictMode=function(P){return S(P)===o},e.isSuspense=function(P){return S(P)===u},e.isValidElementType=function(P){return typeof P=="string"||typeof P=="function"||P===n||P===i||P===v||P===o||P===u||P===c||P===b||typeof P=="object"&&P!==null&&(P.$$typeof===f||P.$$typeof===d||P.$$typeof===s||P.$$typeof===a||P.$$typeof===l||P.$$typeof===g||P.$$typeof===h||P[0]===m)},e.typeOf=S}}),bD=D({"../../node_modules/@testing-library/dom/node_modules/react-is/index.js"(e,t){t.exports=gD()}}),vD=D({"../../node_modules/@testing-library/dom/node_modules/pretty-format/build/plugins/ReactElement.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.test=e.serialize=e.default=void 0;var t=o(bD()),r=bm();function n(f){if(typeof WeakMap!="function")return null;var h=new WeakMap,m=new WeakMap;return(n=function(g){return g?m:h})(f)}function o(f,h){if(f&&f.__esModule)return f;if(f===null||typeof f!="object"&&typeof f!="function")return{default:f};var m=n(h);if(m&&m.has(f))return m.get(f);var g={},v=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var b in f)if(b!=="default"&&Object.prototype.hasOwnProperty.call(f,b)){var E=v?Object.getOwnPropertyDescriptor(f,b):null;E&&(E.get||E.set)?Object.defineProperty(g,b,E):g[b]=f[b]}return g.default=f,m&&m.set(f,g),g}var i=(f,h=[])=>(Array.isArray(f)?f.forEach(m=>{i(m,h)}):f!=null&&f!==!1&&h.push(f),h),s=f=>{let h=f.type;if(typeof h=="string")return h;if(typeof h=="function")return h.displayName||h.name||"Unknown";if(t.isFragment(f))return"React.Fragment";if(t.isSuspense(f))return"React.Suspense";if(typeof h=="object"&&h!==null){if(t.isContextProvider(f))return"Context.Provider";if(t.isContextConsumer(f))return"Context.Consumer";if(t.isForwardRef(f)){if(h.displayName)return h.displayName;let m=h.render.displayName||h.render.name||"";return m!==""?"ForwardRef("+m+")":"ForwardRef"}if(t.isMemo(f)){let m=h.displayName||h.type.displayName||h.type.name||"";return m!==""?"Memo("+m+")":"Memo"}}return"UNDEFINED"},a=f=>{let{props:h}=f;return Object.keys(h).filter(m=>m!=="children"&&h[m]!==void 0).sort()},l=(f,h,m,g,v,b)=>++g>h.maxDepth?(0,r.printElementAsLeaf)(s(f),h):(0,r.printElement)(s(f),(0,r.printProps)(a(f),f.props,h,m+h.indent,g,v,b),(0,r.printChildren)(i(f.props.children),h,m+h.indent,g,v,b),h,m);e.serialize=l;var u=f=>f!=null&&t.isElement(f);e.test=u;var c={serialize:l,test:u},d=c;e.default=d}}),ED=D({"../../node_modules/@testing-library/dom/node_modules/pretty-format/build/plugins/ReactTestComponent.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.test=e.serialize=e.default=void 0;var t=bm(),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=c=>{let{props:d}=c;return d?Object.keys(d).filter(f=>d[f]!==void 0).sort():[]},s=(c,d,f,h,m,g)=>++h>d.maxDepth?(0,t.printElementAsLeaf)(c.type,d):(0,t.printElement)(c.type,c.props?(0,t.printProps)(i(c),c.props,d,f+d.indent,h,m,g):"",c.children?(0,t.printChildren)(c.children,d,f+d.indent,h,m,g):"",d,f);e.serialize=s;var a=c=>c&&c.$$typeof===o;e.test=a;var l={serialize:s,test:a},u=l;e.default=u}}),_D=D({"../../node_modules/@testing-library/dom/node_modules/pretty-format/build/index.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.DEFAULT_OPTIONS=void 0,e.format=ye,e.plugins=void 0;var t=c(zw()),r=td(),n=c(cD()),o=c(pD()),i=c(fD()),s=c(mD()),a=c(yD()),l=c(vD()),u=c(ED());function c(J){return J&&J.__esModule?J:{default:J}}var d=Object.prototype.toString,f=Date.prototype.toISOString,h=Error.prototype.toString,m=RegExp.prototype.toString,g=J=>typeof J.constructor=="function"&&J.constructor.name||"Object",v=J=>typeof window<"u"&&J===window,b=/^Symbol\((.*)\)(.*)$/,E=/\n/gi,S=class extends Error{constructor(J,le){super(J),this.stack=le,this.name=this.constructor.name}};function A(J){return J==="[object Array]"||J==="[object ArrayBuffer]"||J==="[object DataView]"||J==="[object Float32Array]"||J==="[object Float64Array]"||J==="[object Int8Array]"||J==="[object Int16Array]"||J==="[object Int32Array]"||J==="[object Uint8Array]"||J==="[object Uint8ClampedArray]"||J==="[object Uint16Array]"||J==="[object Uint32Array]"}function C(J){return Object.is(J,-0)?"-0":String(J)}function T(J){return`${J}n`}function w(J,le){return le?"[Function "+(J.name||"anonymous")+"]":"[Function]"}function _(J){return String(J).replace(b,"Symbol($1)")}function R(J){return"["+h.call(J)+"]"}function M(J,le,ge,k){if(J===!0||J===!1)return""+J;if(J===void 0)return"undefined";if(J===null)return"null";let U=typeof J;if(U==="number")return C(J);if(U==="bigint")return T(J);if(U==="string")return k?'"'+J.replace(/"|\\/g,"\\$&")+'"':'"'+J+'"';if(U==="function")return w(J,le);if(U==="symbol")return _(J);let z=d.call(J);return z==="[object WeakMap]"?"WeakMap {}":z==="[object WeakSet]"?"WeakSet {}":z==="[object Function]"||z==="[object GeneratorFunction]"?w(J,le):z==="[object Symbol]"?_(J):z==="[object Date]"?isNaN(+J)?"Date { NaN }":f.call(J):z==="[object Error]"?R(J):z==="[object RegExp]"?ge?m.call(J).replace(/[\\^$*+?.()|[\]{}]/g,"\\$&"):m.call(J):J instanceof Error?R(J):null}function N(J,le,ge,k,U,z){if(U.indexOf(J)!==-1)return"[Circular]";U=U.slice(),U.push(J);let Q=++k>le.maxDepth,X=le.min;if(le.callToJSON&&!Q&&J.toJSON&&typeof J.toJSON=="function"&&!z)return L(J.toJSON(),le,ge,k,U,!0);let re=d.call(J);return re==="[object Arguments]"?Q?"[Arguments]":(X?"":"Arguments ")+"["+(0,r.printListItems)(J,le,ge,k,U,L)+"]":A(re)?Q?"["+J.constructor.name+"]":(X||!le.printBasicPrototype&&J.constructor.name==="Array"?"":J.constructor.name+" ")+"["+(0,r.printListItems)(J,le,ge,k,U,L)+"]":re==="[object Map]"?Q?"[Map]":"Map {"+(0,r.printIteratorEntries)(J.entries(),le,ge,k,U,L," => ")+"}":re==="[object Set]"?Q?"[Set]":"Set {"+(0,r.printIteratorValues)(J.values(),le,ge,k,U,L)+"}":Q||v(J)?"["+g(J)+"]":(X||!le.printBasicPrototype&&g(J)==="Object"?"":g(J)+" ")+"{"+(0,r.printObjectProperties)(J,le,ge,k,U,L)+"}"}function q(J){return J.serialize!=null}function x(J,le,ge,k,U,z){let Q;try{Q=q(J)?J.serialize(le,ge,k,U,z,L):J.print(le,X=>L(X,ge,k,U,z),X=>{let re=k+ge.indent;return re+X.replace(E,`
15
+ `+re)},{edgeSpacing:ge.spacingOuter,min:ge.min,spacing:ge.spacingInner},ge.colors)}catch(X){throw new S(X.message,X.stack)}if(typeof Q!="string")throw new Error(`pretty-format: Plugin must return type "string" but instead returned "${typeof Q}".`);return Q}function P(J,le){for(let ge=0;ge<J.length;ge++)try{if(J[ge].test(le))return J[ge]}catch(k){throw new S(k.message,k.stack)}return null}function L(J,le,ge,k,U,z){let Q=P(le.plugins,J);if(Q!==null)return x(Q,J,le,ge,k,U);let X=M(J,le.printFunctionName,le.escapeRegex,le.escapeString);return X!==null?X:N(J,le,ge,k,U,z)}var $={comment:"gray",content:"reset",prop:"yellow",tag:"cyan",value:"green"},V=Object.keys($),G={callToJSON:!0,compareKeys:void 0,escapeRegex:!1,escapeString:!0,highlight:!1,indent:2,maxDepth:1/0,min:!1,plugins:[],printBasicPrototype:!0,printFunctionName:!0,theme:$};e.DEFAULT_OPTIONS=G;function ie(J){if(Object.keys(J).forEach(le=>{if(!G.hasOwnProperty(le))throw new Error(`pretty-format: Unknown option "${le}".`)}),J.min&&J.indent!==void 0&&J.indent!==0)throw new Error('pretty-format: Options "min" and "indent" cannot be used together.');if(J.theme!==void 0){if(J.theme===null)throw new Error('pretty-format: Option "theme" must not be null.');if(typeof J.theme!="object")throw new Error(`pretty-format: Option "theme" must be of type "object" but instead received "${typeof J.theme}".`)}}var Ee=J=>V.reduce((le,ge)=>{let k=J.theme&&J.theme[ge]!==void 0?J.theme[ge]:$[ge],U=k&&t.default[k];if(U&&typeof U.close=="string"&&typeof U.open=="string")le[ge]=U;else throw new Error(`pretty-format: Option "theme" has a key "${ge}" whose value "${k}" is undefined in ansi-styles.`);return le},Object.create(null)),fe=()=>V.reduce((J,le)=>(J[le]={close:"",open:""},J),Object.create(null)),j=J=>J&&J.printFunctionName!==void 0?J.printFunctionName:G.printFunctionName,H=J=>J&&J.escapeRegex!==void 0?J.escapeRegex:G.escapeRegex,oe=J=>J&&J.escapeString!==void 0?J.escapeString:G.escapeString,te=J=>{var le;return{callToJSON:J&&J.callToJSON!==void 0?J.callToJSON:G.callToJSON,colors:J&&J.highlight?Ee(J):fe(),compareKeys:J&&typeof J.compareKeys=="function"?J.compareKeys:G.compareKeys,escapeRegex:H(J),escapeString:oe(J),indent:J&&J.min?"":Z(J&&J.indent!==void 0?J.indent:G.indent),maxDepth:J&&J.maxDepth!==void 0?J.maxDepth:G.maxDepth,min:J&&J.min!==void 0?J.min:G.min,plugins:J&&J.plugins!==void 0?J.plugins:G.plugins,printBasicPrototype:(le=J?.printBasicPrototype)!==null&&le!==void 0?le:!0,printFunctionName:j(J),spacingInner:J&&J.min?" ":`
16
+ `,spacingOuter:J&&J.min?"":`
17
+ `}};function Z(J){return new Array(J+1).join(" ")}function ye(J,le){if(le&&(ie(le),le.plugins)){let k=P(le.plugins,J);if(k!==null)return x(k,J,te(le),"",0,[])}let ge=M(J,j(le),H(le),oe(le));return ge!==null?ge:N(J,te(le),"",0,[])}var me={AsymmetricMatcher:n.default,ConvertAnsi:o.default,DOMCollection:i.default,DOMElement:s.default,Immutable:a.default,ReactElement:l.default,ReactTestComponent:u.default};e.plugins=me;var De=ye;e.default=De}}),TD=D({"../../node_modules/lz-string/libs/lz-string.js"(e,t){var r=(function(){var n=String.fromCharCode,o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+-$",s={};function a(u,c){if(!s[u]){s[u]={};for(var d=0;d<u.length;d++)s[u][u.charAt(d)]=d}return s[u][c]}var l={compressToBase64:function(u){if(u==null)return"";var c=l._compress(u,6,function(d){return o.charAt(d)});switch(c.length%4){default:case 0:return c;case 1:return c+"===";case 2:return c+"==";case 3:return c+"="}},decompressFromBase64:function(u){return u==null?"":u==""?null:l._decompress(u.length,32,function(c){return a(o,u.charAt(c))})},compressToUTF16:function(u){return u==null?"":l._compress(u,15,function(c){return n(c+32)})+" "},decompressFromUTF16:function(u){return u==null?"":u==""?null:l._decompress(u.length,16384,function(c){return u.charCodeAt(c)-32})},compressToUint8Array:function(u){for(var c=l.compress(u),d=new Uint8Array(c.length*2),f=0,h=c.length;f<h;f++){var m=c.charCodeAt(f);d[f*2]=m>>>8,d[f*2+1]=m%256}return d},decompressFromUint8Array:function(u){if(u==null)return l.decompress(u);for(var c=new Array(u.length/2),d=0,f=c.length;d<f;d++)c[d]=u[d*2]*256+u[d*2+1];var h=[];return c.forEach(function(m){h.push(n(m))}),l.decompress(h.join(""))},compressToEncodedURIComponent:function(u){return u==null?"":l._compress(u,6,function(c){return i.charAt(c)})},decompressFromEncodedURIComponent:function(u){return u==null?"":u==""?null:(u=u.replace(/ /g,"+"),l._decompress(u.length,32,function(c){return a(i,u.charAt(c))}))},compress:function(u){return l._compress(u,16,function(c){return n(c)})},_compress:function(u,c,d){if(u==null)return"";var f,h,m={},g={},v="",b="",E="",S=2,A=3,C=2,T=[],w=0,_=0,R;for(R=0;R<u.length;R+=1)if(v=u.charAt(R),Object.prototype.hasOwnProperty.call(m,v)||(m[v]=A++,g[v]=!0),b=E+v,Object.prototype.hasOwnProperty.call(m,b))E=b;else{if(Object.prototype.hasOwnProperty.call(g,E)){if(E.charCodeAt(0)<256){for(f=0;f<C;f++)w=w<<1,_==c-1?(_=0,T.push(d(w)),w=0):_++;for(h=E.charCodeAt(0),f=0;f<8;f++)w=w<<1|h&1,_==c-1?(_=0,T.push(d(w)),w=0):_++,h=h>>1}else{for(h=1,f=0;f<C;f++)w=w<<1|h,_==c-1?(_=0,T.push(d(w)),w=0):_++,h=0;for(h=E.charCodeAt(0),f=0;f<16;f++)w=w<<1|h&1,_==c-1?(_=0,T.push(d(w)),w=0):_++,h=h>>1}S--,S==0&&(S=Math.pow(2,C),C++),delete g[E]}else for(h=m[E],f=0;f<C;f++)w=w<<1|h&1,_==c-1?(_=0,T.push(d(w)),w=0):_++,h=h>>1;S--,S==0&&(S=Math.pow(2,C),C++),m[b]=A++,E=String(v)}if(E!==""){if(Object.prototype.hasOwnProperty.call(g,E)){if(E.charCodeAt(0)<256){for(f=0;f<C;f++)w=w<<1,_==c-1?(_=0,T.push(d(w)),w=0):_++;for(h=E.charCodeAt(0),f=0;f<8;f++)w=w<<1|h&1,_==c-1?(_=0,T.push(d(w)),w=0):_++,h=h>>1}else{for(h=1,f=0;f<C;f++)w=w<<1|h,_==c-1?(_=0,T.push(d(w)),w=0):_++,h=0;for(h=E.charCodeAt(0),f=0;f<16;f++)w=w<<1|h&1,_==c-1?(_=0,T.push(d(w)),w=0):_++,h=h>>1}S--,S==0&&(S=Math.pow(2,C),C++),delete g[E]}else for(h=m[E],f=0;f<C;f++)w=w<<1|h&1,_==c-1?(_=0,T.push(d(w)),w=0):_++,h=h>>1;S--,S==0&&(S=Math.pow(2,C),C++)}for(h=2,f=0;f<C;f++)w=w<<1|h&1,_==c-1?(_=0,T.push(d(w)),w=0):_++,h=h>>1;for(;;)if(w=w<<1,_==c-1){T.push(d(w));break}else _++;return T.join("")},decompress:function(u){return u==null?"":u==""?null:l._decompress(u.length,32768,function(c){return u.charCodeAt(c)})},_decompress:function(u,c,d){var f=[],h=4,m=4,g=3,v="",b=[],E,S,A,C,T,w,_,R={val:d(0),position:c,index:1};for(E=0;E<3;E+=1)f[E]=E;for(A=0,T=Math.pow(2,2),w=1;w!=T;)C=R.val&R.position,R.position>>=1,R.position==0&&(R.position=c,R.val=d(R.index++)),A|=(C>0?1:0)*w,w<<=1;switch(A){case 0:for(A=0,T=Math.pow(2,8),w=1;w!=T;)C=R.val&R.position,R.position>>=1,R.position==0&&(R.position=c,R.val=d(R.index++)),A|=(C>0?1:0)*w,w<<=1;_=n(A);break;case 1:for(A=0,T=Math.pow(2,16),w=1;w!=T;)C=R.val&R.position,R.position>>=1,R.position==0&&(R.position=c,R.val=d(R.index++)),A|=(C>0?1:0)*w,w<<=1;_=n(A);break;case 2:return""}for(f[3]=_,S=_,b.push(_);;){if(R.index>u)return"";for(A=0,T=Math.pow(2,g),w=1;w!=T;)C=R.val&R.position,R.position>>=1,R.position==0&&(R.position=c,R.val=d(R.index++)),A|=(C>0?1:0)*w,w<<=1;switch(_=A){case 0:for(A=0,T=Math.pow(2,8),w=1;w!=T;)C=R.val&R.position,R.position>>=1,R.position==0&&(R.position=c,R.val=d(R.index++)),A|=(C>0?1:0)*w,w<<=1;f[m++]=n(A),_=m-1,h--;break;case 1:for(A=0,T=Math.pow(2,16),w=1;w!=T;)C=R.val&R.position,R.position>>=1,R.position==0&&(R.position=c,R.val=d(R.index++)),A|=(C>0?1:0)*w,w<<=1;f[m++]=n(A),_=m-1,h--;break;case 2:return b.join("")}if(h==0&&(h=Math.pow(2,g),g++),f[_])v=f[_];else if(_===m)v=S+S.charAt(0);else return null;b.push(v),f[m++]=S+v.charAt(0),h--,S=v,h==0&&(h=Math.pow(2,g),g++)}}};return l})();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})}}),Yw=D({"../../node_modules/memoizerific/memoizerific.js"(e,t){(function(r){if(typeof e=="object"&&typeof t<"u")t.exports=r();else if(typeof define=="function"&&define.amd)define([],r);else{var n;typeof window<"u"?n=window:typeof global<"u"?n=global:typeof self<"u"?n=self:n=this,n.memoizerific=r()}})(function(){return(function r(n,o,i){function s(u,c){if(!o[u]){if(!n[u]){var d=typeof Ql=="function"&&Ql;if(!c&&d)return d(u,!0);if(a)return a(u,!0);var f=new Error("Cannot find module '"+u+"'");throw f.code="MODULE_NOT_FOUND",f}var h=o[u]={exports:{}};n[u][0].call(h.exports,function(m){var g=n[u][1][m];return s(g||m)},h,h.exports,r,n,o,i)}return o[u].exports}for(var a=typeof Ql=="function"&&Ql,l=0;l<i.length;l++)s(i[l]);return s})({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}i.prototype.get=function(s){var a;if(this.lastItem&&this.isEqual(this.lastItem.key,s))return this.lastItem.val;if(a=this.indexOf(s),a>=0)return this.lastItem=this.list[a],this.list[a].val},i.prototype.set=function(s,a){var l;return this.lastItem&&this.isEqual(this.lastItem.key,s)?(this.lastItem.val=a,this):(l=this.indexOf(s),l>=0?(this.lastItem=this.list[l],this.list[l].val=a,this):(this.lastItem={key:s,val:a},this.list.push(this.lastItem),this.size++,this))},i.prototype.delete=function(s){var a;if(this.lastItem&&this.isEqual(this.lastItem.key,s)&&(this.lastItem=void 0),a=this.indexOf(s),a>=0)return this.size--,this.list.splice(a,1)[0]},i.prototype.has=function(s){var a;return this.lastItem&&this.isEqual(this.lastItem.key,s)?!0:(a=this.indexOf(s),a>=0?(this.lastItem=this.list[a],!0):!1)},i.prototype.forEach=function(s,a){var l;for(l=0;l<this.size;l++)s.call(a||this,this.list[l].val,this.list[l].key,this)},i.prototype.indexOf=function(s){var a;for(a=0;a<this.size;a++)if(this.isEqual(this.list[a].key,s))return a;return-1},i.prototype.isEqual=function(s,a){return s===a||s!==s&&a!==a},n.exports=i},{}],3:[function(r,n,o){var i=r("map-or-similar");n.exports=function(u){var c=new i(!1),d=[];return function(f){var h=function(){var m=c,g,v,b=arguments.length-1,E=Array(b+1),S=!0,A;if((h.numArgs||h.numArgs===0)&&h.numArgs!==b+1)throw new Error("Memoizerific functions should always be called with the same number of arguments");for(A=0;A<b;A++){if(E[A]={cacheItem:m,arg:arguments[A]},m.has(arguments[A])){m=m.get(arguments[A]);continue}S=!1,g=new i(!1),m.set(arguments[A],g),m=g}return S&&(m.has(arguments[b])?v=m.get(arguments[b]):S=!1),S||(v=f.apply(null,arguments),m.set(arguments[b],v)),u>0&&(E[b]={cacheItem:m,arg:arguments[b]},S?s(d,E):d.push(E),d.length>u&&a(d.shift())),h.wasMemoized=S,h.numArgs=b+1,v};return h.limit=u,h.wasMemoized=!1,h.cache=c,h.lru=d,h}};function s(u,c){var d=u.length,f=c.length,h,m,g;for(m=0;m<d;m++){for(h=!0,g=0;g<f;g++)if(!l(u[m][g].arg,c[g].arg)){h=!1;break}if(h)break}u.push(u.splice(m,1)[0])}function a(u){var c=u.length,d=u[c-1],f,h;for(d.cacheItem.delete(d.arg),h=c-2;h>=0&&(d=u[h],f=d.cacheItem.get(d.arg),!f||!f.size);h--)d.cacheItem.delete(d.arg)}function l(u,c){return u===c||u!==u&&c!==c}},{"map-or-similar":1}]},{},[3])(3)})}}),Xw=D({"../../node_modules/picoquery/lib/string-util.js"(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="",a=0,l=0;e:for(;l<i;l++){let u=o.charCodeAt(l);for(;u<128;){if(r[u]!==1&&(a<l&&(s+=o.slice(a,l)),a=l+1,s+=t[u]),++l===i)break e;u=o.charCodeAt(l)}if(a<l&&(s+=o.slice(a,l)),u<2048){a=l+1,s+=t[192|u>>6]+t[128|u&63];continue}if(u<55296||u>=57344){a=l+1,s+=t[224|u>>12]+t[128|u>>6&63]+t[128|u&63];continue}if(++l,l>=i)throw new Error("URI malformed");let c=o.charCodeAt(l)&1023;a=l+1,u=65536+((u&1023)<<10|c),s+=t[240|u>>18]+t[128|u>>12&63]+t[128|u>>6&63]+t[128|u&63]}return a===0?o:a<i?s+o.slice(a):s}}}),vm=D({"../../node_modules/picoquery/lib/shared.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.defaultOptions=e.defaultShouldSerializeObject=e.defaultValueSerializer=void 0;var t=Xw(),r=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()):""};e.defaultValueSerializer=r;var n=i=>i instanceof Date;e.defaultShouldSerializeObject=n;var o=i=>i;e.defaultOptions={nesting:!0,nestingSyntax:"dot",arrayRepeat:!1,arrayRepeatSyntax:"repeat",delimiter:38,valueDeserializer:o,valueSerializer:e.defaultValueSerializer,keyDeserializer:o,shouldSerializeObject:e.defaultShouldSerializeObject}}}),Qw=D({"../../node_modules/picoquery/lib/object-util.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.getDeepObject=o,e.stringifyObject=c;var t=vm(),r=Xw();function n(d){return d==="__proto__"||d==="constructor"||d==="prototype"}function o(d,f,h,m,g){if(n(f))return d;let v=d[f];return typeof v=="object"&&v!==null?v:!m&&(g||typeof h=="number"||typeof h=="string"&&h*0===0&&h.indexOf(".")===-1)?d[f]=[]:d[f]={}}var i=20,s="[]",a="[",l="]",u=".";function c(d,f,h=0,m,g){let{nestingSyntax:v=t.defaultOptions.nestingSyntax,arrayRepeat:b=t.defaultOptions.arrayRepeat,arrayRepeatSyntax:E=t.defaultOptions.arrayRepeatSyntax,nesting:S=t.defaultOptions.nesting,delimiter:A=t.defaultOptions.delimiter,valueSerializer:C=t.defaultOptions.valueSerializer,shouldSerializeObject:T=t.defaultOptions.shouldSerializeObject}=f,w=typeof A=="number"?String.fromCharCode(A):A,_=g===!0&&b,R=v==="dot"||v==="js"&&!g;if(h>i)return"";let M="",N=!0,q=!1;for(let x in d){let P=d[x];if(P===void 0)continue;let L;m?(L=m,_?E==="bracket"&&(L+=s):R?(L+=u,L+=x):(L+=a,L+=x,L+=l)):L=x,N||(M+=w),typeof P=="object"&&P!==null&&!T(P)?(q=P.pop!==void 0,(S||b&&q)&&(M+=c(P,f,h+1,L,q))):(M+=(0,r.encodeString)(L),M+="=",M+=C(P,x)),N&&(N=!1)}return M}}}),wD=D({"../../node_modules/picoquery/lib/decode-uri-component.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.decodeURIComponent=o;var t=12,r=0,n=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,4,4,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,6,7,7,7,7,7,7,7,7,7,7,7,7,8,7,7,10,9,9,9,11,4,4,4,4,4,4,4,4,4,4,4,0,0,0,0,0,0,0,0,0,0,0,0,12,0,0,0,0,24,36,48,60,72,84,96,0,12,12,12,0,0,0,0,0,0,0,0,0,0,0,24,0,0,0,0,0,0,0,0,0,24,24,24,0,0,0,0,0,0,0,0,0,24,24,0,0,0,0,0,0,0,0,0,0,48,48,48,0,0,0,0,0,0,0,0,0,0,48,48,0,0,0,0,0,0,0,0,0,48,0,0,0,0,0,0,0,0,0,0,127,63,63,63,0,31,15,15,15,7,7,7];function o(a){let l=a.indexOf("%");if(l===-1)return a;let u=a.length,c="",d=0,f=0,h=l,m=t;for(;l>-1&&l<u;){let g=s(a[l+1],4),v=s(a[l+2],0),b=g|v,E=n[b];if(m=n[256+m+E],f=f<<6|b&n[364+E],m===t)c+=a.slice(d,h),c+=f<=65535?String.fromCharCode(f):String.fromCharCode(55232+(f>>10),56320+(f&1023)),f=0,d=l+3,l=h=a.indexOf("%",d);else{if(m===r)return null;if(l+=3,l<u&&a.charCodeAt(l)===37)continue;return null}}return c+a.slice(d)}var i={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 s(a,l){let u=i[a];return u===void 0?255:u<<l}}}),SD=D({"../../node_modules/picoquery/lib/parse.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.numberValueDeserializer=e.numberKeyDeserializer=void 0,e.parse=u;var t=Qw(),r=vm(),n=wD(),o=c=>{let d=Number(c);return Number.isNaN(d)?c:d};e.numberKeyDeserializer=o;var i=c=>{let d=Number(c);return Number.isNaN(d)?c:d};e.numberValueDeserializer=i;var s=/\+/g,a=function(){};a.prototype=Object.create(null);function l(c,d,f,h,m){let g=c.substring(d,f);return h&&(g=g.replace(s," ")),m&&(g=(0,n.decodeURIComponent)(g)||g),g}function u(c,d){let{valueDeserializer:f=r.defaultOptions.valueDeserializer,keyDeserializer:h=r.defaultOptions.keyDeserializer,arrayRepeatSyntax:m=r.defaultOptions.arrayRepeatSyntax,nesting:g=r.defaultOptions.nesting,arrayRepeat:v=r.defaultOptions.arrayRepeat,nestingSyntax:b=r.defaultOptions.nestingSyntax,delimiter:E=r.defaultOptions.delimiter}=d??{},S=typeof E=="string"?E.charCodeAt(0):E,A=b==="js",C=new a;if(typeof c!="string")return C;let T=c.length,w="",_=-1,R=-1,M=-1,N=C,q,x="",P="",L=!1,$=!1,V=!1,G=!1,ie=!1,Ee=!1,fe=0,j=-1,H=-1,oe=-1;for(let te=0;te<T+1;te++){if(fe=te!==T?c.charCodeAt(te):S,fe===S){if(Ee=R>_,Ee||(R=te),M!==R-1&&(P=l(c,M+1,j>-1?j:R,V,L),x=h(P),q!==void 0&&(N=(0,t.getDeepObject)(N,q,x,A&&ie,void 0))),Ee||x!==""){Ee&&(w=c.slice(R+1,te),G&&(w=w.replace(s," ")),$&&(w=(0,n.decodeURIComponent)(w)||w));let Z=f(w,x);if(v){let ye=N[x];ye===void 0?j>-1?N[x]=[Z]:N[x]=Z:ye.pop?ye.push(Z):N[x]=[ye,Z]}else N[x]=Z}w="",_=te,R=te,L=!1,$=!1,V=!1,G=!1,ie=!1,j=-1,M=te,N=C,q=void 0,x=""}else fe===93?(v&&m==="bracket"&&oe===91&&(j=H),g&&(b==="index"||A)&&R<=_&&(M!==H&&(P=l(c,M+1,te,V,L),x=h(P),q!==void 0&&(N=(0,t.getDeepObject)(N,q,x,void 0,void 0)),q=x,V=!1,L=!1),M=te,ie=!1)):fe===46?g&&(b==="dot"||A)&&R<=_&&(M!==H&&(P=l(c,M+1,te,V,L),x=h(P),q!==void 0&&(N=(0,t.getDeepObject)(N,q,x,A)),q=x,V=!1,L=!1),ie=!0,M=te):fe===91?g&&(b==="index"||A)&&R<=_&&(M!==H&&(P=l(c,M+1,te,V,L),x=h(P),A&&q!==void 0&&(N=(0,t.getDeepObject)(N,q,x,A)),q=x,V=!1,L=!1,ie=!1),M=te):fe===61?R<=_?R=te:$=!0:fe===43?R>_?G=!0:V=!0:fe===37&&(R>_?$=!0:L=!0);H=te,oe=fe}return C}}}),RD=D({"../../node_modules/picoquery/lib/stringify.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.stringify=r;var t=Qw();function r(n,o){if(n===null||typeof n!="object")return"";let i=o??{};return(0,t.stringifyObject)(n,i)}}}),Em=D({"../../node_modules/picoquery/lib/main.js"(e){var t=e&&e.__createBinding||(Object.create?(function(i,s,a,l){l===void 0&&(l=a);var u=Object.getOwnPropertyDescriptor(s,a);(!u||("get"in u?!s.__esModule:u.writable||u.configurable))&&(u={enumerable:!0,get:function(){return s[a]}}),Object.defineProperty(i,l,u)}):(function(i,s,a,l){l===void 0&&(l=a),i[l]=s[a]})),r=e&&e.__exportStar||function(i,s){for(var a in i)a!=="default"&&!Object.prototype.hasOwnProperty.call(s,a)&&t(s,i,a)};Object.defineProperty(e,"__esModule",{value:!0}),e.stringify=e.parse=void 0;var n=SD();Object.defineProperty(e,"parse",{enumerable:!0,get:function(){return n.parse}});var o=RD();Object.defineProperty(e,"stringify",{enumerable:!0,get:function(){return o.stringify}}),r(vm(),e)}}),Zw=D({"../../node_modules/entities/lib/maps/entities.json"(e,t){t.exports={Aacute:"Á",aacute:"á",Abreve:"Ă",abreve:"ă",ac:"∾",acd:"∿",acE:"∾̳",Acirc:"Â",acirc:"â",acute:"´",Acy:"А",acy:"а",AElig:"Æ",aelig:"æ",af:"⁡",Afr:"𝔄",afr:"𝔞",Agrave:"À",agrave:"à",alefsym:"ℵ",aleph:"ℵ",Alpha:"Α",alpha:"α",Amacr:"Ā",amacr:"ā",amalg:"⨿",amp:"&",AMP:"&",andand:"⩕",And:"⩓",and:"∧",andd:"⩜",andslope:"⩘",andv:"⩚",ang:"∠",ange:"⦤",angle:"∠",angmsdaa:"⦨",angmsdab:"⦩",angmsdac:"⦪",angmsdad:"⦫",angmsdae:"⦬",angmsdaf:"⦭",angmsdag:"⦮",angmsdah:"⦯",angmsd:"∡",angrt:"∟",angrtvb:"⊾",angrtvbd:"⦝",angsph:"∢",angst:"Å",angzarr:"⍼",Aogon:"Ą",aogon:"ą",Aopf:"𝔸",aopf:"𝕒",apacir:"⩯",ap:"≈",apE:"⩰",ape:"≊",apid:"≋",apos:"'",ApplyFunction:"⁡",approx:"≈",approxeq:"≊",Aring:"Å",aring:"å",Ascr:"𝒜",ascr:"𝒶",Assign:"≔",ast:"*",asymp:"≈",asympeq:"≍",Atilde:"Ã",atilde:"ã",Auml:"Ä",auml:"ä",awconint:"∳",awint:"⨑",backcong:"≌",backepsilon:"϶",backprime:"‵",backsim:"∽",backsimeq:"⋍",Backslash:"∖",Barv:"⫧",barvee:"⊽",barwed:"⌅",Barwed:"⌆",barwedge:"⌅",bbrk:"⎵",bbrktbrk:"⎶",bcong:"≌",Bcy:"Б",bcy:"б",bdquo:"„",becaus:"∵",because:"∵",Because:"∵",bemptyv:"⦰",bepsi:"϶",bernou:"ℬ",Bernoullis:"ℬ",Beta:"Β",beta:"β",beth:"ℶ",between:"≬",Bfr:"𝔅",bfr:"𝔟",bigcap:"⋂",bigcirc:"◯",bigcup:"⋃",bigodot:"⨀",bigoplus:"⨁",bigotimes:"⨂",bigsqcup:"⨆",bigstar:"★",bigtriangledown:"▽",bigtriangleup:"△",biguplus:"⨄",bigvee:"⋁",bigwedge:"⋀",bkarow:"⤍",blacklozenge:"⧫",blacksquare:"▪",blacktriangle:"▴",blacktriangledown:"▾",blacktriangleleft:"◂",blacktriangleright:"▸",blank:"␣",blk12:"▒",blk14:"░",blk34:"▓",block:"█",bne:"=⃥",bnequiv:"≡⃥",bNot:"⫭",bnot:"⌐",Bopf:"𝔹",bopf:"𝕓",bot:"⊥",bottom:"⊥",bowtie:"⋈",boxbox:"⧉",boxdl:"┐",boxdL:"╕",boxDl:"╖",boxDL:"╗",boxdr:"┌",boxdR:"╒",boxDr:"╓",boxDR:"╔",boxh:"─",boxH:"═",boxhd:"┬",boxHd:"╤",boxhD:"╥",boxHD:"╦",boxhu:"┴",boxHu:"╧",boxhU:"╨",boxHU:"╩",boxminus:"⊟",boxplus:"⊞",boxtimes:"⊠",boxul:"┘",boxuL:"╛",boxUl:"╜",boxUL:"╝",boxur:"└",boxuR:"╘",boxUr:"╙",boxUR:"╚",boxv:"│",boxV:"║",boxvh:"┼",boxvH:"╪",boxVh:"╫",boxVH:"╬",boxvl:"┤",boxvL:"╡",boxVl:"╢",boxVL:"╣",boxvr:"├",boxvR:"╞",boxVr:"╟",boxVR:"╠",bprime:"‵",breve:"˘",Breve:"˘",brvbar:"¦",bscr:"𝒷",Bscr:"ℬ",bsemi:"⁏",bsim:"∽",bsime:"⋍",bsolb:"⧅",bsol:"\\",bsolhsub:"⟈",bull:"•",bullet:"•",bump:"≎",bumpE:"⪮",bumpe:"≏",Bumpeq:"≎",bumpeq:"≏",Cacute:"Ć",cacute:"ć",capand:"⩄",capbrcup:"⩉",capcap:"⩋",cap:"∩",Cap:"⋒",capcup:"⩇",capdot:"⩀",CapitalDifferentialD:"ⅅ",caps:"∩︀",caret:"⁁",caron:"ˇ",Cayleys:"ℭ",ccaps:"⩍",Ccaron:"Č",ccaron:"č",Ccedil:"Ç",ccedil:"ç",Ccirc:"Ĉ",ccirc:"ĉ",Cconint:"∰",ccups:"⩌",ccupssm:"⩐",Cdot:"Ċ",cdot:"ċ",cedil:"¸",Cedilla:"¸",cemptyv:"⦲",cent:"¢",centerdot:"·",CenterDot:"·",cfr:"𝔠",Cfr:"ℭ",CHcy:"Ч",chcy:"ч",check:"✓",checkmark:"✓",Chi:"Χ",chi:"χ",circ:"ˆ",circeq:"≗",circlearrowleft:"↺",circlearrowright:"↻",circledast:"⊛",circledcirc:"⊚",circleddash:"⊝",CircleDot:"⊙",circledR:"®",circledS:"Ⓢ",CircleMinus:"⊖",CirclePlus:"⊕",CircleTimes:"⊗",cir:"○",cirE:"⧃",cire:"≗",cirfnint:"⨐",cirmid:"⫯",cirscir:"⧂",ClockwiseContourIntegral:"∲",CloseCurlyDoubleQuote:"”",CloseCurlyQuote:"’",clubs:"♣",clubsuit:"♣",colon:":",Colon:"∷",Colone:"⩴",colone:"≔",coloneq:"≔",comma:",",commat:"@",comp:"∁",compfn:"∘",complement:"∁",complexes:"ℂ",cong:"≅",congdot:"⩭",Congruent:"≡",conint:"∮",Conint:"∯",ContourIntegral:"∮",copf:"𝕔",Copf:"ℂ",coprod:"∐",Coproduct:"∐",copy:"©",COPY:"©",copysr:"℗",CounterClockwiseContourIntegral:"∳",crarr:"↵",cross:"✗",Cross:"⨯",Cscr:"𝒞",cscr:"𝒸",csub:"⫏",csube:"⫑",csup:"⫐",csupe:"⫒",ctdot:"⋯",cudarrl:"⤸",cudarrr:"⤵",cuepr:"⋞",cuesc:"⋟",cularr:"↶",cularrp:"⤽",cupbrcap:"⩈",cupcap:"⩆",CupCap:"≍",cup:"∪",Cup:"⋓",cupcup:"⩊",cupdot:"⊍",cupor:"⩅",cups:"∪︀",curarr:"↷",curarrm:"⤼",curlyeqprec:"⋞",curlyeqsucc:"⋟",curlyvee:"⋎",curlywedge:"⋏",curren:"¤",curvearrowleft:"↶",curvearrowright:"↷",cuvee:"⋎",cuwed:"⋏",cwconint:"∲",cwint:"∱",cylcty:"⌭",dagger:"†",Dagger:"‡",daleth:"ℸ",darr:"↓",Darr:"↡",dArr:"⇓",dash:"‐",Dashv:"⫤",dashv:"⊣",dbkarow:"⤏",dblac:"˝",Dcaron:"Ď",dcaron:"ď",Dcy:"Д",dcy:"д",ddagger:"‡",ddarr:"⇊",DD:"ⅅ",dd:"ⅆ",DDotrahd:"⤑",ddotseq:"⩷",deg:"°",Del:"∇",Delta:"Δ",delta:"δ",demptyv:"⦱",dfisht:"⥿",Dfr:"𝔇",dfr:"𝔡",dHar:"⥥",dharl:"⇃",dharr:"⇂",DiacriticalAcute:"´",DiacriticalDot:"˙",DiacriticalDoubleAcute:"˝",DiacriticalGrave:"`",DiacriticalTilde:"˜",diam:"⋄",diamond:"⋄",Diamond:"⋄",diamondsuit:"♦",diams:"♦",die:"¨",DifferentialD:"ⅆ",digamma:"ϝ",disin:"⋲",div:"÷",divide:"÷",divideontimes:"⋇",divonx:"⋇",DJcy:"Ђ",djcy:"ђ",dlcorn:"⌞",dlcrop:"⌍",dollar:"$",Dopf:"𝔻",dopf:"𝕕",Dot:"¨",dot:"˙",DotDot:"⃜",doteq:"≐",doteqdot:"≑",DotEqual:"≐",dotminus:"∸",dotplus:"∔",dotsquare:"⊡",doublebarwedge:"⌆",DoubleContourIntegral:"∯",DoubleDot:"¨",DoubleDownArrow:"⇓",DoubleLeftArrow:"⇐",DoubleLeftRightArrow:"⇔",DoubleLeftTee:"⫤",DoubleLongLeftArrow:"⟸",DoubleLongLeftRightArrow:"⟺",DoubleLongRightArrow:"⟹",DoubleRightArrow:"⇒",DoubleRightTee:"⊨",DoubleUpArrow:"⇑",DoubleUpDownArrow:"⇕",DoubleVerticalBar:"∥",DownArrowBar:"⤓",downarrow:"↓",DownArrow:"↓",Downarrow:"⇓",DownArrowUpArrow:"⇵",DownBreve:"̑",downdownarrows:"⇊",downharpoonleft:"⇃",downharpoonright:"⇂",DownLeftRightVector:"⥐",DownLeftTeeVector:"⥞",DownLeftVectorBar:"⥖",DownLeftVector:"↽",DownRightTeeVector:"⥟",DownRightVectorBar:"⥗",DownRightVector:"⇁",DownTeeArrow:"↧",DownTee:"⊤",drbkarow:"⤐",drcorn:"⌟",drcrop:"⌌",Dscr:"𝒟",dscr:"𝒹",DScy:"Ѕ",dscy:"ѕ",dsol:"⧶",Dstrok:"Đ",dstrok:"đ",dtdot:"⋱",dtri:"▿",dtrif:"▾",duarr:"⇵",duhar:"⥯",dwangle:"⦦",DZcy:"Џ",dzcy:"џ",dzigrarr:"⟿",Eacute:"É",eacute:"é",easter:"⩮",Ecaron:"Ě",ecaron:"ě",Ecirc:"Ê",ecirc:"ê",ecir:"≖",ecolon:"≕",Ecy:"Э",ecy:"э",eDDot:"⩷",Edot:"Ė",edot:"ė",eDot:"≑",ee:"ⅇ",efDot:"≒",Efr:"𝔈",efr:"𝔢",eg:"⪚",Egrave:"È",egrave:"è",egs:"⪖",egsdot:"⪘",el:"⪙",Element:"∈",elinters:"⏧",ell:"ℓ",els:"⪕",elsdot:"⪗",Emacr:"Ē",emacr:"ē",empty:"∅",emptyset:"∅",EmptySmallSquare:"◻",emptyv:"∅",EmptyVerySmallSquare:"▫",emsp13:" ",emsp14:" ",emsp:" ",ENG:"Ŋ",eng:"ŋ",ensp:" ",Eogon:"Ę",eogon:"ę",Eopf:"𝔼",eopf:"𝕖",epar:"⋕",eparsl:"⧣",eplus:"⩱",epsi:"ε",Epsilon:"Ε",epsilon:"ε",epsiv:"ϵ",eqcirc:"≖",eqcolon:"≕",eqsim:"≂",eqslantgtr:"⪖",eqslantless:"⪕",Equal:"⩵",equals:"=",EqualTilde:"≂",equest:"≟",Equilibrium:"⇌",equiv:"≡",equivDD:"⩸",eqvparsl:"⧥",erarr:"⥱",erDot:"≓",escr:"ℯ",Escr:"ℰ",esdot:"≐",Esim:"⩳",esim:"≂",Eta:"Η",eta:"η",ETH:"Ð",eth:"ð",Euml:"Ë",euml:"ë",euro:"€",excl:"!",exist:"∃",Exists:"∃",expectation:"ℰ",exponentiale:"ⅇ",ExponentialE:"ⅇ",fallingdotseq:"≒",Fcy:"Ф",fcy:"ф",female:"♀",ffilig:"ffi",fflig:"ff",ffllig:"ffl",Ffr:"𝔉",ffr:"𝔣",filig:"fi",FilledSmallSquare:"◼",FilledVerySmallSquare:"▪",fjlig:"fj",flat:"♭",fllig:"fl",fltns:"▱",fnof:"ƒ",Fopf:"𝔽",fopf:"𝕗",forall:"∀",ForAll:"∀",fork:"⋔",forkv:"⫙",Fouriertrf:"ℱ",fpartint:"⨍",frac12:"½",frac13:"⅓",frac14:"¼",frac15:"⅕",frac16:"⅙",frac18:"⅛",frac23:"⅔",frac25:"⅖",frac34:"¾",frac35:"⅗",frac38:"⅜",frac45:"⅘",frac56:"⅚",frac58:"⅝",frac78:"⅞",frasl:"⁄",frown:"⌢",fscr:"𝒻",Fscr:"ℱ",gacute:"ǵ",Gamma:"Γ",gamma:"γ",Gammad:"Ϝ",gammad:"ϝ",gap:"⪆",Gbreve:"Ğ",gbreve:"ğ",Gcedil:"Ģ",Gcirc:"Ĝ",gcirc:"ĝ",Gcy:"Г",gcy:"г",Gdot:"Ġ",gdot:"ġ",ge:"≥",gE:"≧",gEl:"⪌",gel:"⋛",geq:"≥",geqq:"≧",geqslant:"⩾",gescc:"⪩",ges:"⩾",gesdot:"⪀",gesdoto:"⪂",gesdotol:"⪄",gesl:"⋛︀",gesles:"⪔",Gfr:"𝔊",gfr:"𝔤",gg:"≫",Gg:"⋙",ggg:"⋙",gimel:"ℷ",GJcy:"Ѓ",gjcy:"ѓ",gla:"⪥",gl:"≷",glE:"⪒",glj:"⪤",gnap:"⪊",gnapprox:"⪊",gne:"⪈",gnE:"≩",gneq:"⪈",gneqq:"≩",gnsim:"⋧",Gopf:"𝔾",gopf:"𝕘",grave:"`",GreaterEqual:"≥",GreaterEqualLess:"⋛",GreaterFullEqual:"≧",GreaterGreater:"⪢",GreaterLess:"≷",GreaterSlantEqual:"⩾",GreaterTilde:"≳",Gscr:"𝒢",gscr:"ℊ",gsim:"≳",gsime:"⪎",gsiml:"⪐",gtcc:"⪧",gtcir:"⩺",gt:">",GT:">",Gt:"≫",gtdot:"⋗",gtlPar:"⦕",gtquest:"⩼",gtrapprox:"⪆",gtrarr:"⥸",gtrdot:"⋗",gtreqless:"⋛",gtreqqless:"⪌",gtrless:"≷",gtrsim:"≳",gvertneqq:"≩︀",gvnE:"≩︀",Hacek:"ˇ",hairsp:" ",half:"½",hamilt:"ℋ",HARDcy:"Ъ",hardcy:"ъ",harrcir:"⥈",harr:"↔",hArr:"⇔",harrw:"↭",Hat:"^",hbar:"ℏ",Hcirc:"Ĥ",hcirc:"ĥ",hearts:"♥",heartsuit:"♥",hellip:"…",hercon:"⊹",hfr:"𝔥",Hfr:"ℌ",HilbertSpace:"ℋ",hksearow:"⤥",hkswarow:"⤦",hoarr:"⇿",homtht:"∻",hookleftarrow:"↩",hookrightarrow:"↪",hopf:"𝕙",Hopf:"ℍ",horbar:"―",HorizontalLine:"─",hscr:"𝒽",Hscr:"ℋ",hslash:"ℏ",Hstrok:"Ħ",hstrok:"ħ",HumpDownHump:"≎",HumpEqual:"≏",hybull:"⁃",hyphen:"‐",Iacute:"Í",iacute:"í",ic:"⁣",Icirc:"Î",icirc:"î",Icy:"И",icy:"и",Idot:"İ",IEcy:"Е",iecy:"е",iexcl:"¡",iff:"⇔",ifr:"𝔦",Ifr:"ℑ",Igrave:"Ì",igrave:"ì",ii:"ⅈ",iiiint:"⨌",iiint:"∭",iinfin:"⧜",iiota:"℩",IJlig:"IJ",ijlig:"ij",Imacr:"Ī",imacr:"ī",image:"ℑ",ImaginaryI:"ⅈ",imagline:"ℐ",imagpart:"ℑ",imath:"ı",Im:"ℑ",imof:"⊷",imped:"Ƶ",Implies:"⇒",incare:"℅",in:"∈",infin:"∞",infintie:"⧝",inodot:"ı",intcal:"⊺",int:"∫",Int:"∬",integers:"ℤ",Integral:"∫",intercal:"⊺",Intersection:"⋂",intlarhk:"⨗",intprod:"⨼",InvisibleComma:"⁣",InvisibleTimes:"⁢",IOcy:"Ё",iocy:"ё",Iogon:"Į",iogon:"į",Iopf:"𝕀",iopf:"𝕚",Iota:"Ι",iota:"ι",iprod:"⨼",iquest:"¿",iscr:"𝒾",Iscr:"ℐ",isin:"∈",isindot:"⋵",isinE:"⋹",isins:"⋴",isinsv:"⋳",isinv:"∈",it:"⁢",Itilde:"Ĩ",itilde:"ĩ",Iukcy:"І",iukcy:"і",Iuml:"Ï",iuml:"ï",Jcirc:"Ĵ",jcirc:"ĵ",Jcy:"Й",jcy:"й",Jfr:"𝔍",jfr:"𝔧",jmath:"ȷ",Jopf:"𝕁",jopf:"𝕛",Jscr:"𝒥",jscr:"𝒿",Jsercy:"Ј",jsercy:"ј",Jukcy:"Є",jukcy:"є",Kappa:"Κ",kappa:"κ",kappav:"ϰ",Kcedil:"Ķ",kcedil:"ķ",Kcy:"К",kcy:"к",Kfr:"𝔎",kfr:"𝔨",kgreen:"ĸ",KHcy:"Х",khcy:"х",KJcy:"Ќ",kjcy:"ќ",Kopf:"𝕂",kopf:"𝕜",Kscr:"𝒦",kscr:"𝓀",lAarr:"⇚",Lacute:"Ĺ",lacute:"ĺ",laemptyv:"⦴",lagran:"ℒ",Lambda:"Λ",lambda:"λ",lang:"⟨",Lang:"⟪",langd:"⦑",langle:"⟨",lap:"⪅",Laplacetrf:"ℒ",laquo:"«",larrb:"⇤",larrbfs:"⤟",larr:"←",Larr:"↞",lArr:"⇐",larrfs:"⤝",larrhk:"↩",larrlp:"↫",larrpl:"⤹",larrsim:"⥳",larrtl:"↢",latail:"⤙",lAtail:"⤛",lat:"⪫",late:"⪭",lates:"⪭︀",lbarr:"⤌",lBarr:"⤎",lbbrk:"❲",lbrace:"{",lbrack:"[",lbrke:"⦋",lbrksld:"⦏",lbrkslu:"⦍",Lcaron:"Ľ",lcaron:"ľ",Lcedil:"Ļ",lcedil:"ļ",lceil:"⌈",lcub:"{",Lcy:"Л",lcy:"л",ldca:"⤶",ldquo:"“",ldquor:"„",ldrdhar:"⥧",ldrushar:"⥋",ldsh:"↲",le:"≤",lE:"≦",LeftAngleBracket:"⟨",LeftArrowBar:"⇤",leftarrow:"←",LeftArrow:"←",Leftarrow:"⇐",LeftArrowRightArrow:"⇆",leftarrowtail:"↢",LeftCeiling:"⌈",LeftDoubleBracket:"⟦",LeftDownTeeVector:"⥡",LeftDownVectorBar:"⥙",LeftDownVector:"⇃",LeftFloor:"⌊",leftharpoondown:"↽",leftharpoonup:"↼",leftleftarrows:"⇇",leftrightarrow:"↔",LeftRightArrow:"↔",Leftrightarrow:"⇔",leftrightarrows:"⇆",leftrightharpoons:"⇋",leftrightsquigarrow:"↭",LeftRightVector:"⥎",LeftTeeArrow:"↤",LeftTee:"⊣",LeftTeeVector:"⥚",leftthreetimes:"⋋",LeftTriangleBar:"⧏",LeftTriangle:"⊲",LeftTriangleEqual:"⊴",LeftUpDownVector:"⥑",LeftUpTeeVector:"⥠",LeftUpVectorBar:"⥘",LeftUpVector:"↿",LeftVectorBar:"⥒",LeftVector:"↼",lEg:"⪋",leg:"⋚",leq:"≤",leqq:"≦",leqslant:"⩽",lescc:"⪨",les:"⩽",lesdot:"⩿",lesdoto:"⪁",lesdotor:"⪃",lesg:"⋚︀",lesges:"⪓",lessapprox:"⪅",lessdot:"⋖",lesseqgtr:"⋚",lesseqqgtr:"⪋",LessEqualGreater:"⋚",LessFullEqual:"≦",LessGreater:"≶",lessgtr:"≶",LessLess:"⪡",lesssim:"≲",LessSlantEqual:"⩽",LessTilde:"≲",lfisht:"⥼",lfloor:"⌊",Lfr:"𝔏",lfr:"𝔩",lg:"≶",lgE:"⪑",lHar:"⥢",lhard:"↽",lharu:"↼",lharul:"⥪",lhblk:"▄",LJcy:"Љ",ljcy:"љ",llarr:"⇇",ll:"≪",Ll:"⋘",llcorner:"⌞",Lleftarrow:"⇚",llhard:"⥫",lltri:"◺",Lmidot:"Ŀ",lmidot:"ŀ",lmoustache:"⎰",lmoust:"⎰",lnap:"⪉",lnapprox:"⪉",lne:"⪇",lnE:"≨",lneq:"⪇",lneqq:"≨",lnsim:"⋦",loang:"⟬",loarr:"⇽",lobrk:"⟦",longleftarrow:"⟵",LongLeftArrow:"⟵",Longleftarrow:"⟸",longleftrightarrow:"⟷",LongLeftRightArrow:"⟷",Longleftrightarrow:"⟺",longmapsto:"⟼",longrightarrow:"⟶",LongRightArrow:"⟶",Longrightarrow:"⟹",looparrowleft:"↫",looparrowright:"↬",lopar:"⦅",Lopf:"𝕃",lopf:"𝕝",loplus:"⨭",lotimes:"⨴",lowast:"∗",lowbar:"_",LowerLeftArrow:"↙",LowerRightArrow:"↘",loz:"◊",lozenge:"◊",lozf:"⧫",lpar:"(",lparlt:"⦓",lrarr:"⇆",lrcorner:"⌟",lrhar:"⇋",lrhard:"⥭",lrm:"‎",lrtri:"⊿",lsaquo:"‹",lscr:"𝓁",Lscr:"ℒ",lsh:"↰",Lsh:"↰",lsim:"≲",lsime:"⪍",lsimg:"⪏",lsqb:"[",lsquo:"‘",lsquor:"‚",Lstrok:"Ł",lstrok:"ł",ltcc:"⪦",ltcir:"⩹",lt:"<",LT:"<",Lt:"≪",ltdot:"⋖",lthree:"⋋",ltimes:"⋉",ltlarr:"⥶",ltquest:"⩻",ltri:"◃",ltrie:"⊴",ltrif:"◂",ltrPar:"⦖",lurdshar:"⥊",luruhar:"⥦",lvertneqq:"≨︀",lvnE:"≨︀",macr:"¯",male:"♂",malt:"✠",maltese:"✠",Map:"⤅",map:"↦",mapsto:"↦",mapstodown:"↧",mapstoleft:"↤",mapstoup:"↥",marker:"▮",mcomma:"⨩",Mcy:"М",mcy:"м",mdash:"—",mDDot:"∺",measuredangle:"∡",MediumSpace:" ",Mellintrf:"ℳ",Mfr:"𝔐",mfr:"𝔪",mho:"℧",micro:"µ",midast:"*",midcir:"⫰",mid:"∣",middot:"·",minusb:"⊟",minus:"−",minusd:"∸",minusdu:"⨪",MinusPlus:"∓",mlcp:"⫛",mldr:"…",mnplus:"∓",models:"⊧",Mopf:"𝕄",mopf:"𝕞",mp:"∓",mscr:"𝓂",Mscr:"ℳ",mstpos:"∾",Mu:"Μ",mu:"μ",multimap:"⊸",mumap:"⊸",nabla:"∇",Nacute:"Ń",nacute:"ń",nang:"∠⃒",nap:"≉",napE:"⩰̸",napid:"≋̸",napos:"ʼn",napprox:"≉",natural:"♮",naturals:"ℕ",natur:"♮",nbsp:" ",nbump:"≎̸",nbumpe:"≏̸",ncap:"⩃",Ncaron:"Ň",ncaron:"ň",Ncedil:"Ņ",ncedil:"ņ",ncong:"≇",ncongdot:"⩭̸",ncup:"⩂",Ncy:"Н",ncy:"н",ndash:"–",nearhk:"⤤",nearr:"↗",neArr:"⇗",nearrow:"↗",ne:"≠",nedot:"≐̸",NegativeMediumSpace:"​",NegativeThickSpace:"​",NegativeThinSpace:"​",NegativeVeryThinSpace:"​",nequiv:"≢",nesear:"⤨",nesim:"≂̸",NestedGreaterGreater:"≫",NestedLessLess:"≪",NewLine:`
18
+ `,nexist:"∄",nexists:"∄",Nfr:"𝔑",nfr:"𝔫",ngE:"≧̸",nge:"≱",ngeq:"≱",ngeqq:"≧̸",ngeqslant:"⩾̸",nges:"⩾̸",nGg:"⋙̸",ngsim:"≵",nGt:"≫⃒",ngt:"≯",ngtr:"≯",nGtv:"≫̸",nharr:"↮",nhArr:"⇎",nhpar:"⫲",ni:"∋",nis:"⋼",nisd:"⋺",niv:"∋",NJcy:"Њ",njcy:"њ",nlarr:"↚",nlArr:"⇍",nldr:"‥",nlE:"≦̸",nle:"≰",nleftarrow:"↚",nLeftarrow:"⇍",nleftrightarrow:"↮",nLeftrightarrow:"⇎",nleq:"≰",nleqq:"≦̸",nleqslant:"⩽̸",nles:"⩽̸",nless:"≮",nLl:"⋘̸",nlsim:"≴",nLt:"≪⃒",nlt:"≮",nltri:"⋪",nltrie:"⋬",nLtv:"≪̸",nmid:"∤",NoBreak:"⁠",NonBreakingSpace:" ",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:"‌"}}}),OD=D({"../../node_modules/entities/lib/maps/legacy.json"(e,t){t.exports={Aacute:"Á",aacute:"á",Acirc:"Â",acirc:"â",acute:"´",AElig:"Æ",aelig:"æ",Agrave:"À",agrave:"à",amp:"&",AMP:"&",Aring:"Å",aring:"å",Atilde:"Ã",atilde:"ã",Auml:"Ä",auml:"ä",brvbar:"¦",Ccedil:"Ç",ccedil:"ç",cedil:"¸",cent:"¢",copy:"©",COPY:"©",curren:"¤",deg:"°",divide:"÷",Eacute:"É",eacute:"é",Ecirc:"Ê",ecirc:"ê",Egrave:"È",egrave:"è",ETH:"Ð",eth:"ð",Euml:"Ë",euml:"ë",frac12:"½",frac14:"¼",frac34:"¾",gt:">",GT:">",Iacute:"Í",iacute:"í",Icirc:"Î",icirc:"î",iexcl:"¡",Igrave:"Ì",igrave:"ì",iquest:"¿",Iuml:"Ï",iuml:"ï",laquo:"«",lt:"<",LT:"<",macr:"¯",micro:"µ",middot:"·",nbsp:" ",not:"¬",Ntilde:"Ñ",ntilde:"ñ",Oacute:"Ó",oacute:"ó",Ocirc:"Ô",ocirc:"ô",Ograve:"Ò",ograve:"ò",ordf:"ª",ordm:"º",Oslash:"Ø",oslash:"ø",Otilde:"Õ",otilde:"õ",Ouml:"Ö",ouml:"ö",para:"¶",plusmn:"±",pound:"£",quot:'"',QUOT:'"',raquo:"»",reg:"®",REG:"®",sect:"§",shy:"­",sup1:"¹",sup2:"²",sup3:"³",szlig:"ß",THORN:"Þ",thorn:"þ",times:"×",Uacute:"Ú",uacute:"ú",Ucirc:"Û",ucirc:"û",Ugrave:"Ù",ugrave:"ù",uml:"¨",Uuml:"Ü",uuml:"ü",Yacute:"Ý",yacute:"ý",yen:"¥",yuml:"ÿ"}}}),e0=D({"../../node_modules/entities/lib/maps/xml.json"(e,t){t.exports={amp:"&",apos:"'",gt:">",lt:"<",quot:'"'}}}),AD=D({"../../node_modules/entities/lib/maps/decode.json"(e,t){t.exports={0:65533,128:8364,130:8218,131:402,132:8222,133:8230,134:8224,135:8225,136:710,137:8240,138:352,139:8249,140:338,142:381,145:8216,146:8217,147:8220,148:8221,149:8226,150:8211,151:8212,152:732,153:8482,154:353,155:8250,156:339,158:382,159:376}}}),CD=D({"../../node_modules/entities/lib/decode_codepoint.js"(e){var t=e&&e.__importDefault||function(i){return i&&i.__esModule?i:{default:i}};Object.defineProperty(e,"__esModule",{value:!0});var r=t(AD()),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))}e.default=o}}),Vb=D({"../../node_modules/entities/lib/decode.js"(e){var t=e&&e.__importDefault||function(c){return c&&c.__esModule?c:{default:c}};Object.defineProperty(e,"__esModule",{value:!0}),e.decodeHTML=e.decodeHTMLStrict=e.decodeXML=void 0;var r=t(Zw()),n=t(OD()),o=t(e0()),i=t(CD()),s=/&(?:[a-zA-Z0-9]+|#[xX][\da-fA-F]+|#\d+);/g;e.decodeXML=a(o.default),e.decodeHTMLStrict=a(r.default);function a(c){var d=u(c);return function(f){return String(f).replace(s,d)}}var l=function(c,d){return c<d?1:-1};e.decodeHTML=(function(){for(var c=Object.keys(n.default).sort(l),d=Object.keys(r.default).sort(l),f=0,h=0;f<d.length;f++)c[h]===d[f]?(d[f]+=";?",h++):d[f]+=";";var m=new RegExp("&(?:"+d.join("|")+"|#[xX][\\da-fA-F]+;?|#\\d+;?)","g"),g=u(r.default);function v(b){return b.substr(-1)!==";"&&(b+=";"),g(b)}return function(b){return String(b).replace(m,v)}})();function u(c){return function(d){if(d.charAt(1)==="#"){var f=d.charAt(2);return f==="X"||f==="x"?i.default(parseInt(d.substr(3),16)):i.default(parseInt(d.substr(2),10))}return c[d.slice(1,-1)]||d}}}}),Ub=D({"../../node_modules/entities/lib/encode.js"(e){var t=e&&e.__importDefault||function(E){return E&&E.__esModule?E:{default:E}};Object.defineProperty(e,"__esModule",{value:!0}),e.escapeUTF8=e.escape=e.encodeNonAsciiHTML=e.encodeHTML=e.encodeXML=void 0;var r=t(e0()),n=l(r.default),o=u(n);e.encodeXML=b(n);var i=t(Zw()),s=l(i.default),a=u(s);e.encodeHTML=h(s,a),e.encodeNonAsciiHTML=b(s);function l(E){return Object.keys(E).sort().reduce(function(S,A){return S[E[A]]="&"+A+";",S},{})}function u(E){for(var S=[],A=[],C=0,T=Object.keys(E);C<T.length;C++){var w=T[C];w.length===1?S.push("\\"+w):A.push(w)}S.sort();for(var _=0;_<S.length-1;_++){for(var R=_;R<S.length-1&&S[R].charCodeAt(1)+1===S[R+1].charCodeAt(1);)R+=1;var M=1+R-_;M<3||S.splice(_,M,S[_]+"-"+S[R])}return A.unshift("["+S.join("")+"]"),new RegExp(A.join("|"),"g")}var c=/(?:[\x80-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])/g,d=String.prototype.codePointAt!=null?(function(E){return E.codePointAt(0)}):(function(E){return(E.charCodeAt(0)-55296)*1024+E.charCodeAt(1)-56320+65536});function f(E){return"&#x"+(E.length>1?d(E):E.charCodeAt(0)).toString(16).toUpperCase()+";"}function h(E,S){return function(A){return A.replace(S,function(C){return E[C]}).replace(c,f)}}var m=new RegExp(o.source+"|"+c.source,"g");function g(E){return E.replace(m,f)}e.escape=g;function v(E){return E.replace(o,f)}e.escapeUTF8=v;function b(E){return function(S){return S.replace(m,function(A){return E[A]||f(A)})}}}}),PD=D({"../../node_modules/entities/lib/index.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.decodeXMLStrict=e.decodeHTML5Strict=e.decodeHTML4Strict=e.decodeHTML5=e.decodeHTML4=e.decodeHTMLStrict=e.decodeHTML=e.decodeXML=e.encodeHTML5=e.encodeHTML4=e.escapeUTF8=e.escape=e.encodeNonAsciiHTML=e.encodeHTML=e.encodeXML=e.encode=e.decodeStrict=e.decode=void 0;var t=Vb(),r=Ub();function n(l,u){return(!u||u<=0?t.decodeXML:t.decodeHTML)(l)}e.decode=n;function o(l,u){return(!u||u<=0?t.decodeXML:t.decodeHTMLStrict)(l)}e.decodeStrict=o;function i(l,u){return(!u||u<=0?r.encodeXML:r.encodeHTML)(l)}e.encode=i;var s=Ub();Object.defineProperty(e,"encodeXML",{enumerable:!0,get:function(){return s.encodeXML}}),Object.defineProperty(e,"encodeHTML",{enumerable:!0,get:function(){return s.encodeHTML}}),Object.defineProperty(e,"encodeNonAsciiHTML",{enumerable:!0,get:function(){return s.encodeNonAsciiHTML}}),Object.defineProperty(e,"escape",{enumerable:!0,get:function(){return s.escape}}),Object.defineProperty(e,"escapeUTF8",{enumerable:!0,get:function(){return s.escapeUTF8}}),Object.defineProperty(e,"encodeHTML4",{enumerable:!0,get:function(){return s.encodeHTML}}),Object.defineProperty(e,"encodeHTML5",{enumerable:!0,get:function(){return s.encodeHTML}});var a=Vb();Object.defineProperty(e,"decodeXML",{enumerable:!0,get:function(){return a.decodeXML}}),Object.defineProperty(e,"decodeHTML",{enumerable:!0,get:function(){return a.decodeHTML}}),Object.defineProperty(e,"decodeHTMLStrict",{enumerable:!0,get:function(){return a.decodeHTMLStrict}}),Object.defineProperty(e,"decodeHTML4",{enumerable:!0,get:function(){return a.decodeHTML}}),Object.defineProperty(e,"decodeHTML5",{enumerable:!0,get:function(){return a.decodeHTML}}),Object.defineProperty(e,"decodeHTML4Strict",{enumerable:!0,get:function(){return a.decodeHTMLStrict}}),Object.defineProperty(e,"decodeHTML5Strict",{enumerable:!0,get:function(){return a.decodeHTMLStrict}}),Object.defineProperty(e,"decodeXMLStrict",{enumerable:!0,get:function(){return a.decodeXML}})}}),xD=D({"../../node_modules/ansi-to-html/lib/ansi_to_html.js"(e,t){function r(P,L){if(!(P instanceof L))throw new TypeError("Cannot call a class as a function")}function n(P,L){for(var $=0;$<L.length;$++){var V=L[$];V.enumerable=V.enumerable||!1,V.configurable=!0,"value"in V&&(V.writable=!0),Object.defineProperty(P,V.key,V)}}function o(P,L,$){return L&&n(P.prototype,L),P}function i(P,L){var $=typeof Symbol<"u"&&P[Symbol.iterator]||P["@@iterator"];if(!$){if(Array.isArray(P)||($=s(P))||L){$&&(P=$);var V=0,G=function(){};return{s:G,n:function(){return V>=P.length?{done:!0}:{done:!1,value:P[V++]}},e:function(j){throw j},f:G}}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 ie=!0,Ee=!1,fe;return{s:function(){$=$.call(P)},n:function(){var j=$.next();return ie=j.done,j},e:function(j){Ee=!0,fe=j},f:function(){try{!ie&&$.return!=null&&$.return()}finally{if(Ee)throw fe}}}}function s(P,L){if(P){if(typeof P=="string")return a(P,L);var $=Object.prototype.toString.call(P).slice(8,-1);if($==="Object"&&P.constructor&&($=P.constructor.name),$==="Map"||$==="Set")return Array.from(P);if($==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test($))return a(P,L)}}function a(P,L){(L==null||L>P.length)&&(L=P.length);for(var $=0,V=new Array(L);$<L;$++)V[$]=P[$];return V}var l=PD(),u={fg:"#FFF",bg:"#000",newline:!1,escapeXML:!1,stream:!1,colors:c()};function c(){var P={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 E(0,5).forEach(function(L){E(0,5).forEach(function($){E(0,5).forEach(function(V){return d(L,$,V,P)})})}),E(0,23).forEach(function(L){var $=L+232,V=f(L*10+8);P[$]="#"+V+V+V}),P}function d(P,L,$,V){var G=16+P*36+L*6+$,ie=P>0?P*40+55:0,Ee=L>0?L*40+55:0,fe=$>0?$*40+55:0;V[G]=h([ie,Ee,fe])}function f(P){for(var L=P.toString(16);L.length<2;)L="0"+L;return L}function h(P){var L=[],$=i(P),V;try{for($.s();!(V=$.n()).done;){var G=V.value;L.push(f(G))}}catch(ie){$.e(ie)}finally{$.f()}return"#"+L.join("")}function m(P,L,$,V){var G;return L==="text"?G=C($,V):L==="display"?G=v(P,$,V):L==="xterm256Foreground"?G=_(P,V.colors[$]):L==="xterm256Background"?G=R(P,V.colors[$]):L==="rgb"&&(G=g(P,$)),G}function g(P,L){L=L.substring(2).slice(0,-1);var $=+L.substr(0,2),V=L.substring(5).split(";"),G=V.map(function(ie){return("0"+Number(ie).toString(16)).substr(-2)}).join("");return w(P,($===38?"color:#":"background-color:#")+G)}function v(P,L,$){L=parseInt(L,10);var V={"-1":function(){return"<br/>"},0:function(){return P.length&&b(P)},1:function(){return T(P,"b")},3:function(){return T(P,"i")},4:function(){return T(P,"u")},8:function(){return w(P,"display:none")},9:function(){return T(P,"strike")},22:function(){return w(P,"font-weight:normal;text-decoration:none;font-style:normal")},23:function(){return M(P,"i")},24:function(){return M(P,"u")},39:function(){return _(P,$.fg)},49:function(){return R(P,$.bg)},53:function(){return w(P,"text-decoration:overline")}},G;return V[L]?G=V[L]():4<L&&L<7?G=T(P,"blink"):29<L&&L<38?G=_(P,$.colors[L-30]):39<L&&L<48?G=R(P,$.colors[L-40]):89<L&&L<98?G=_(P,$.colors[8+(L-90)]):99<L&&L<108&&(G=R(P,$.colors[8+(L-100)])),G}function b(P){var L=P.slice(0);return P.length=0,L.reverse().map(function($){return"</"+$+">"}).join("")}function E(P,L){for(var $=[],V=P;V<=L;V++)$.push(V);return $}function S(P){return function(L){return(P===null||L.category!==P)&&P!=="all"}}function A(P){P=parseInt(P,10);var L=null;return P===0?L="all":P===1?L="bold":2<P&&P<5?L="underline":4<P&&P<7?L="blink":P===8?L="hide":P===9?L="strike":29<P&&P<38||P===39||89<P&&P<98?L="foreground-color":(39<P&&P<48||P===49||99<P&&P<108)&&(L="background-color"),L}function C(P,L){return L.escapeXML?l.encodeXML(P):P}function T(P,L,$){return $||($=""),P.push(L),"<".concat(L).concat($?' style="'.concat($,'"'):"",">")}function w(P,L){return T(P,"span",L)}function _(P,L){return T(P,"span","color:"+L)}function R(P,L){return T(P,"span","background-color:"+L)}function M(P,L){var $;if(P.slice(-1)[0]===L&&($=P.pop()),$)return"</"+L+">"}function N(P,L,$){var V=!1,G=3;function ie(){return""}function Ee(z,Q){return $("xterm256Foreground",Q),""}function fe(z,Q){return $("xterm256Background",Q),""}function j(z){return L.newline?$("display",-1):$("text",z),""}function H(z,Q){V=!0,Q.trim().length===0&&(Q="0"),Q=Q.trimRight(";").split(";");var X=i(Q),re;try{for(X.s();!(re=X.n()).done;){var ce=re.value;$("display",ce)}}catch(ae){X.e(ae)}finally{X.f()}return""}function oe(z){return $("text",z),""}function te(z){return $("rgb",z),""}var Z=[{pattern:/^\x08+/,sub:ie},{pattern:/^\x1b\[[012]?K/,sub:ie},{pattern:/^\x1b\[\(B/,sub:ie},{pattern:/^\x1b\[[34]8;2;\d+;\d+;\d+m/,sub:te},{pattern:/^\x1b\[38;5;(\d+)m/,sub:Ee},{pattern:/^\x1b\[48;5;(\d+)m/,sub:fe},{pattern:/^\n/,sub:j},{pattern:/^\r+\n/,sub:j},{pattern:/^\r/,sub:j},{pattern:/^\x1b\[((?:\d{1,3};?)+|)m/,sub:H},{pattern:/^\x1b\[\d?J/,sub:ie},{pattern:/^\x1b\[\d{0,3};\d{0,3}f/,sub:ie},{pattern:/^\x1b\[?[\d;]{0,3}/,sub:ie},{pattern:/^(([^\x1b\x08\r\n])+)/,sub:oe}];function ye(z,Q){Q>G&&V||(V=!1,P=P.replace(z.pattern,z.sub))}var me=[],De=P,J=De.length;e:for(;J>0;){for(var le=0,ge=0,k=Z.length;ge<k;le=++ge){var U=Z[le];if(ye(U,le),P.length!==J){J=P.length;continue e}}if(P.length===J)break;me.push(0),J=P.length}return me}function q(P,L,$){return L!=="text"&&(P=P.filter(S(A($))),P.push({token:L,data:$,category:A($)})),P}var x=(function(){function P(L){r(this,P),L=L||{},L.colors&&(L.colors=Object.assign({},u.colors,L.colors)),this.options=Object.assign({},u,L),this.stack=[],this.stickyStack=[]}return o(P,[{key:"toHtml",value:function(L){var $=this;L=typeof L=="string"?[L]:L;var V=this.stack,G=this.options,ie=[];return this.stickyStack.forEach(function(Ee){var fe=m(V,Ee.token,Ee.data,G);fe&&ie.push(fe)}),N(L.join(""),G,function(Ee,fe){var j=m(V,Ee,fe,G);j&&ie.push(j),G.stream&&($.stickyStack=q($.stickyStack,Ee,fe))}),V.length&&ie.push(b(V)),ie.join("")}}]),P})();t.exports=x}}),ND=D({"../../node_modules/jsdoc-type-pratt-parser/dist/index.js"(e,t){(function(r,n){typeof e=="object"&&typeof t<"u"?n(e):typeof define=="function"&&define.amd?define(["exports"],n):(r=typeof globalThis<"u"?globalThis:r||self,n(r.jtpp={}))})(e,(function(r){function n(p){return p.text!==void 0&&p.text!==""?`'${p.type}' with value '${p.text}'`:`'${p.type}'`}class o extends Error{constructor(y){super(`No parslet found for token: ${n(y)}`),this.token=y,Object.setPrototypeOf(this,o.prototype)}getToken(){return this.token}}class i extends Error{constructor(y){super(`The parsing ended early. The next token was: ${n(y)}`),this.token=y,Object.setPrototypeOf(this,i.prototype)}getToken(){return this.token}}class s extends Error{constructor(y,O){let I=`Unexpected type: '${y.type}'.`;O!==void 0&&(I+=` Message: ${O}`),super(I),Object.setPrototypeOf(this,s.prototype)}}function a(p){return y=>y.startsWith(p)?{type:p,text:p}:null}function l(p){let y=0,O,I=p[0],W=!1;if(I!=="'"&&I!=='"')return null;for(;y<p.length;){if(y++,O=p[y],!W&&O===I){y++;break}W=!W&&O==="\\"}if(O!==I)throw new Error("Unterminated String");return p.slice(0,y)}let u=new RegExp("[$_\\p{ID_Start}]|\\\\u\\p{Hex_Digit}{4}|\\\\u\\{0*(?:\\p{Hex_Digit}{1,5}|10\\p{Hex_Digit}{4})\\}","u"),c=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 d(p){let y=p[0];if(!u.test(y))return null;let O=1;do{if(y=p[O],!c.test(y))break;O++}while(O<p.length);return p.slice(0,O)}let f=/^(NaN|-?((\d*\.\d+|\d+)([Ee][+-]?\d+)?|Infinity))/;function h(p){var y,O;return(O=(y=f.exec(p))===null||y===void 0?void 0:y[0])!==null&&O!==void 0?O:null}let m=p=>{let y=d(p);return y==null?null:{type:"Identifier",text:y}};function g(p){return y=>{if(!y.startsWith(p))return null;let O=y[p.length];return O!==void 0&&c.test(O)?null:{type:p,text:p}}}let v=p=>{let y=l(p);return y==null?null:{type:"StringValue",text:y}},b=p=>p.length>0?null:{type:"EOF",text:""},E=p=>{let y=h(p);return y===null?null:{type:"Number",text:y}},S=[b,a("=>"),a("("),a(")"),a("{"),a("}"),a("["),a("]"),a("|"),a("&"),a("<"),a(">"),a(","),a(";"),a("*"),a("?"),a("!"),a("="),a(":"),a("..."),a("."),a("#"),a("~"),a("/"),a("@"),g("undefined"),g("null"),g("function"),g("this"),g("new"),g("module"),g("event"),g("extends"),g("external"),g("infer"),g("typeof"),g("keyof"),g("readonly"),g("import"),g("is"),g("in"),g("asserts"),E,m,v],A=/^\s*\n\s*/;class C{static create(y){let O=this.read(y);y=O.text;let I=this.read(y);return y=I.text,new C(y,void 0,O.token,I.token)}constructor(y,O,I,W){this.text="",this.text=y,this.previous=O,this.current=I,this.next=W}static read(y,O=!1){O=O||A.test(y),y=y.trim();for(let I of S){let W=I(y);if(W!==null){let ee=Object.assign(Object.assign({},W),{startOfLine:O});return y=y.slice(ee.text.length),{text:y,token:ee}}}throw new Error("Unexpected Token "+y)}advance(){let y=C.read(this.text);return new C(y.text,this.current,this.next,y.token)}}function T(p){if(p===void 0)throw new Error("Unexpected undefined");if(p.type==="JsdocTypeKeyValue"||p.type==="JsdocTypeParameterList"||p.type==="JsdocTypeProperty"||p.type==="JsdocTypeReadonlyProperty"||p.type==="JsdocTypeObjectField"||p.type==="JsdocTypeJsdocObjectField"||p.type==="JsdocTypeIndexSignature"||p.type==="JsdocTypeMappedType"||p.type==="JsdocTypeTypeParameter")throw new s(p);return p}function w(p){return p.type==="JsdocTypeKeyValue"?R(p):T(p)}function _(p){return p.type==="JsdocTypeName"?p:R(p)}function R(p){if(p.type!=="JsdocTypeKeyValue")throw new s(p);return p}function M(p){var y;if(p.type==="JsdocTypeVariadic"){if(((y=p.element)===null||y===void 0?void 0:y.type)==="JsdocTypeName")return p;throw new s(p)}if(p.type!=="JsdocTypeNumber"&&p.type!=="JsdocTypeName")throw new s(p);return p}function N(p){if(p.type==="JsdocTypeTuple"||p.type==="JsdocTypeGeneric"&&p.meta.brackets==="square")return p;throw new s(p)}function q(p){return p.type==="JsdocTypeIndexSignature"||p.type==="JsdocTypeMappedType"}var x;(function(p){p[p.ALL=0]="ALL",p[p.PARAMETER_LIST=1]="PARAMETER_LIST",p[p.OBJECT=2]="OBJECT",p[p.KEY_VALUE=3]="KEY_VALUE",p[p.INDEX_BRACKETS=4]="INDEX_BRACKETS",p[p.UNION=5]="UNION",p[p.INTERSECTION=6]="INTERSECTION",p[p.PREFIX=7]="PREFIX",p[p.INFIX=8]="INFIX",p[p.TUPLE=9]="TUPLE",p[p.SYMBOL=10]="SYMBOL",p[p.OPTIONAL=11]="OPTIONAL",p[p.NULLABLE=12]="NULLABLE",p[p.KEY_OF_TYPE_OF=13]="KEY_OF_TYPE_OF",p[p.FUNCTION=14]="FUNCTION",p[p.ARROW=15]="ARROW",p[p.ARRAY_BRACKETS=16]="ARRAY_BRACKETS",p[p.GENERIC=17]="GENERIC",p[p.NAME_PATH=18]="NAME_PATH",p[p.PARENTHESIS=19]="PARENTHESIS",p[p.SPECIAL_TYPES=20]="SPECIAL_TYPES"})(x||(x={}));class P{constructor(y,O,I){this.grammar=y,typeof O=="string"?this._lexer=C.create(O):this._lexer=O,this.baseParser=I}get lexer(){return this._lexer}parse(){let y=this.parseType(x.ALL);if(this.lexer.current.type!=="EOF")throw new i(this.lexer.current);return y}parseType(y){return T(this.parseIntermediateType(y))}parseIntermediateType(y){let O=this.tryParslets(null,y);if(O===null)throw new o(this.lexer.current);return this.parseInfixIntermediateType(O,y)}parseInfixIntermediateType(y,O){let I=this.tryParslets(y,O);for(;I!==null;)y=I,I=this.tryParslets(y,O);return y}tryParslets(y,O){for(let I of this.grammar){let W=I(this,O,y);if(W!==null)return W}return null}consume(y){return Array.isArray(y)||(y=[y]),y.includes(this.lexer.current.type)?(this._lexer=this.lexer.advance(),!0):!1}acceptLexerState(y){this._lexer=y.lexer}}function L(p){return p==="}"||p==="EOF"||p==="|"||p===","||p===")"||p===">"}let $=(p,y,O)=>{let I=p.lexer.current.type,W=p.lexer.next.type;return O==null&&I==="?"&&!L(W)||O!=null&&I==="?"?(p.consume("?"),O==null?{type:"JsdocTypeNullable",element:p.parseType(x.NULLABLE),meta:{position:"prefix"}}:{type:"JsdocTypeNullable",element:T(O),meta:{position:"suffix"}}):null};function V(p){let y=(O,I,W)=>{let ee=O.lexer.current.type,ue=O.lexer.next.type;if(W===null){if("parsePrefix"in p&&p.accept(ee,ue))return p.parsePrefix(O)}else if("parseInfix"in p&&p.precedence>I&&p.accept(ee,ue))return p.parseInfix(O,W);return null};return Object.defineProperty(y,"name",{value:p.name}),y}let G=V({name:"optionalParslet",accept:p=>p==="=",precedence:x.OPTIONAL,parsePrefix:p=>(p.consume("="),{type:"JsdocTypeOptional",element:p.parseType(x.OPTIONAL),meta:{position:"prefix"}}),parseInfix:(p,y)=>(p.consume("="),{type:"JsdocTypeOptional",element:T(y),meta:{position:"suffix"}})}),ie=V({name:"numberParslet",accept:p=>p==="Number",parsePrefix:p=>{let y=parseFloat(p.lexer.current.text);return p.consume("Number"),{type:"JsdocTypeNumber",value:y}}}),Ee=V({name:"parenthesisParslet",accept:p=>p==="(",parsePrefix:p=>{if(p.consume("("),p.consume(")"))return{type:"JsdocTypeParameterList",elements:[]};let y=p.parseIntermediateType(x.ALL);if(!p.consume(")"))throw new Error("Unterminated parenthesis");return y.type==="JsdocTypeParameterList"?y:y.type==="JsdocTypeKeyValue"?{type:"JsdocTypeParameterList",elements:[y]}:{type:"JsdocTypeParenthesis",element:T(y)}}}),fe=V({name:"specialTypesParslet",accept:(p,y)=>p==="?"&&L(y)||p==="null"||p==="undefined"||p==="*",parsePrefix:p=>{if(p.consume("null"))return{type:"JsdocTypeNull"};if(p.consume("undefined"))return{type:"JsdocTypeUndefined"};if(p.consume("*"))return{type:"JsdocTypeAny"};if(p.consume("?"))return{type:"JsdocTypeUnknown"};throw new Error("Unacceptable token: "+p.lexer.current.text)}}),j=V({name:"notNullableParslet",accept:p=>p==="!",precedence:x.NULLABLE,parsePrefix:p=>(p.consume("!"),{type:"JsdocTypeNotNullable",element:p.parseType(x.NULLABLE),meta:{position:"prefix"}}),parseInfix:(p,y)=>(p.consume("!"),{type:"JsdocTypeNotNullable",element:T(y),meta:{position:"suffix"}})});function H({allowTrailingComma:p}){return V({name:"parameterListParslet",accept:y=>y===",",precedence:x.PARAMETER_LIST,parseInfix:(y,O)=>{let I=[w(O)];y.consume(",");do try{let W=y.parseIntermediateType(x.PARAMETER_LIST);I.push(w(W))}catch(W){if(W instanceof o)break;throw W}while(y.consume(","));if(I.length>0&&I.slice(0,-1).some(W=>W.type==="JsdocTypeVariadic"))throw new Error("Only the last parameter may be a rest parameter");return{type:"JsdocTypeParameterList",elements:I}}})}let oe=V({name:"genericParslet",accept:(p,y)=>p==="<"||p==="."&&y==="<",precedence:x.GENERIC,parseInfix:(p,y)=>{let O=p.consume(".");p.consume("<");let I=[],W=!1;if(p.consume("infer")){W=!0;let ee=p.parseIntermediateType(x.SYMBOL);if(ee.type!=="JsdocTypeName")throw new s(ee,"A typescript asserts always has to have a name on the left side.");I.push(ee)}else do I.push(p.parseType(x.PARAMETER_LIST));while(p.consume(","));if(!p.consume(">"))throw new Error("Unterminated generic parameter list");return Object.assign(Object.assign({type:"JsdocTypeGeneric",left:T(y),elements:I},W?{infer:!0}:{}),{meta:{brackets:"angle",dot:O}})}}),te=V({name:"unionParslet",accept:p=>p==="|",precedence:x.UNION,parseInfix:(p,y)=>{p.consume("|");let O=[];do O.push(p.parseType(x.UNION));while(p.consume("|"));return{type:"JsdocTypeUnion",elements:[T(y),...O]}}}),Z=[$,G,ie,Ee,fe,j,H({allowTrailingComma:!0}),oe,te,G];function ye({allowSquareBracketsOnAnyType:p,allowJsdocNamePaths:y,pathGrammar:O}){return function(I,W,ee){if(ee==null||W>=x.NAME_PATH)return null;let ue=I.lexer.current.type,Oe=I.lexer.next.type;if(!(ue==="."&&Oe!=="<"||ue==="["&&(p||ee.type==="JsdocTypeName")||y&&(ue==="~"||ue==="#")))return null;let Ce,Je=!1;I.consume(".")?Ce="property":I.consume("[")?(Ce="property-brackets",Je=!0):I.consume("~")?Ce="inner":(I.consume("#"),Ce="instance");let jt=O!==null?new P(O,I.lexer,I):I,ft=jt.parseIntermediateType(x.NAME_PATH);I.acceptLexerState(jt);let Kr;switch(ft.type){case"JsdocTypeName":Kr={type:"JsdocTypeProperty",value:ft.value,meta:{quote:void 0}};break;case"JsdocTypeNumber":Kr={type:"JsdocTypeProperty",value:ft.value.toString(10),meta:{quote:void 0}};break;case"JsdocTypeStringValue":Kr={type:"JsdocTypeProperty",value:ft.value,meta:{quote:ft.meta.quote}};break;case"JsdocTypeSpecialNamePath":if(ft.specialType==="event")Kr=ft;else throw new s(ft,"Type 'JsdocTypeSpecialNamePath' is only allowed with specialType 'event'");break;default:throw new s(ft,"Expecting 'JsdocTypeName', 'JsdocTypeNumber', 'JsdocStringValue' or 'JsdocTypeSpecialNamePath'")}if(Je&&!I.consume("]")){let ta=I.lexer.current;throw new Error(`Unterminated square brackets. Next token is '${ta.type}' with text '${ta.text}'`)}return{type:"JsdocTypeNamePath",left:T(ee),right:Kr,pathType:Ce}}}function me({allowedAdditionalTokens:p}){return V({name:"nameParslet",accept:y=>y==="Identifier"||y==="this"||y==="new"||p.includes(y),parsePrefix:y=>{let{type:O,text:I}=y.lexer.current;return y.consume(O),{type:"JsdocTypeName",value:I}}})}let De=V({name:"stringValueParslet",accept:p=>p==="StringValue",parsePrefix:p=>{let y=p.lexer.current.text;return p.consume("StringValue"),{type:"JsdocTypeStringValue",value:y.slice(1,-1),meta:{quote:y[0]==="'"?"single":"double"}}}});function J({pathGrammar:p,allowedTypes:y}){return V({name:"specialNamePathParslet",accept:O=>y.includes(O),parsePrefix:O=>{let I=O.lexer.current.type;if(O.consume(I),!O.consume(":"))return{type:"JsdocTypeName",value:I};let W,ee=O.lexer.current;if(O.consume("StringValue"))W={type:"JsdocTypeSpecialNamePath",value:ee.text.slice(1,-1),specialType:I,meta:{quote:ee.text[0]==="'"?"single":"double"}};else{let Ce="",Je=["Identifier","@","/"];for(;Je.some(jt=>O.consume(jt));)Ce+=ee.text,ee=O.lexer.current;W={type:"JsdocTypeSpecialNamePath",value:Ce,specialType:I,meta:{quote:void 0}}}let ue=new P(p,O.lexer,O),Oe=ue.parseInfixIntermediateType(W,x.ALL);return O.acceptLexerState(ue),T(Oe)}})}let le=[me({allowedAdditionalTokens:["external","module"]}),De,ie,ye({allowSquareBracketsOnAnyType:!1,allowJsdocNamePaths:!0,pathGrammar:null})],ge=[...le,J({allowedTypes:["event"],pathGrammar:le})];function k(p){let y;if(p.type==="JsdocTypeParameterList")y=p.elements;else if(p.type==="JsdocTypeParenthesis")y=[p.element];else throw new s(p);return y.map(O=>w(O))}function U(p){let y=k(p);if(y.some(O=>O.type==="JsdocTypeKeyValue"))throw new Error("No parameter should be named");return y}function z({allowNamedParameters:p,allowNoReturnType:y,allowWithoutParenthesis:O,allowNewAsFunctionKeyword:I}){return V({name:"functionParslet",accept:(W,ee)=>W==="function"||I&&W==="new"&&ee==="(",parsePrefix:W=>{let ee=W.consume("new");W.consume("function");let ue=W.lexer.current.type==="(";if(!ue){if(!O)throw new Error("function is missing parameter list");return{type:"JsdocTypeName",value:"function"}}let Oe={type:"JsdocTypeFunction",parameters:[],arrow:!1,constructor:ee,parenthesis:ue},Ce=W.parseIntermediateType(x.FUNCTION);if(p===void 0)Oe.parameters=U(Ce);else{if(ee&&Ce.type==="JsdocTypeFunction"&&Ce.arrow)return Oe=Ce,Oe.constructor=!0,Oe;Oe.parameters=k(Ce);for(let Je of Oe.parameters)if(Je.type==="JsdocTypeKeyValue"&&!p.includes(Je.key))throw new Error(`only allowed named parameters are ${p.join(", ")} but got ${Je.type}`)}if(W.consume(":"))Oe.returnType=W.parseType(x.PREFIX);else if(!y)throw new Error("function is missing return type");return Oe}})}function Q({allowPostfix:p,allowEnclosingBrackets:y}){return V({name:"variadicParslet",accept:O=>O==="...",precedence:x.PREFIX,parsePrefix:O=>{O.consume("...");let I=y&&O.consume("[");try{let W=O.parseType(x.PREFIX);if(I&&!O.consume("]"))throw new Error("Unterminated variadic type. Missing ']'");return{type:"JsdocTypeVariadic",element:T(W),meta:{position:"prefix",squareBrackets:I}}}catch(W){if(W instanceof o){if(I)throw new Error("Empty square brackets for variadic are not allowed.");return{type:"JsdocTypeVariadic",meta:{position:void 0,squareBrackets:!1}}}else throw W}},parseInfix:p?(O,I)=>(O.consume("..."),{type:"JsdocTypeVariadic",element:T(I),meta:{position:"suffix",squareBrackets:!1}}):void 0})}let X=V({name:"symbolParslet",accept:p=>p==="(",precedence:x.SYMBOL,parseInfix:(p,y)=>{if(y.type!=="JsdocTypeName")throw new Error("Symbol expects a name on the left side. (Reacting on '(')");p.consume("(");let O={type:"JsdocTypeSymbol",value:y.value};if(!p.consume(")")){let I=p.parseIntermediateType(x.SYMBOL);if(O.element=M(I),!p.consume(")"))throw new Error("Symbol does not end after value")}return O}}),re=V({name:"arrayBracketsParslet",precedence:x.ARRAY_BRACKETS,accept:(p,y)=>p==="["&&y==="]",parseInfix:(p,y)=>(p.consume("["),p.consume("]"),{type:"JsdocTypeGeneric",left:{type:"JsdocTypeName",value:"Array"},elements:[T(y)],meta:{brackets:"square",dot:!1}})});function ce({objectFieldGrammar:p,allowKeyTypes:y}){return V({name:"objectParslet",accept:O=>O==="{",parsePrefix:O=>{O.consume("{");let I={type:"JsdocTypeObject",meta:{separator:"comma"},elements:[]};if(!O.consume("}")){let W,ee=new P(p,O.lexer,O);for(;;){ee.acceptLexerState(O);let ue=ee.parseIntermediateType(x.OBJECT);O.acceptLexerState(ee),ue===void 0&&y&&(ue=O.parseIntermediateType(x.OBJECT));let Oe=!1;if(ue.type==="JsdocTypeNullable"&&(Oe=!0,ue=ue.element),ue.type==="JsdocTypeNumber"||ue.type==="JsdocTypeName"||ue.type==="JsdocTypeStringValue"){let Ce;ue.type==="JsdocTypeStringValue"&&(Ce=ue.meta.quote),I.elements.push({type:"JsdocTypeObjectField",key:ue.value.toString(),right:void 0,optional:Oe,readonly:!1,meta:{quote:Ce}})}else if(ue.type==="JsdocTypeObjectField"||ue.type==="JsdocTypeJsdocObjectField")I.elements.push(ue);else throw new s(ue);if(O.lexer.current.startOfLine)W="linebreak",O.consume(",")||O.consume(";");else if(O.consume(","))W="comma";else if(O.consume(";"))W="semicolon";else break;if(O.lexer.current.type==="}")break}if(I.meta.separator=W??"comma",W==="linebreak"&&(I.meta.propertyIndent=" "),!O.consume("}"))throw new Error("Unterminated record type. Missing '}'")}return I}})}function ae({allowSquaredProperties:p,allowKeyTypes:y,allowReadonly:O,allowOptional:I}){return V({name:"objectFieldParslet",precedence:x.KEY_VALUE,accept:W=>W===":",parseInfix:(W,ee)=>{var ue;let Oe=!1,Ce=!1;I&&ee.type==="JsdocTypeNullable"&&(Oe=!0,ee=ee.element),O&&ee.type==="JsdocTypeReadonlyProperty"&&(Ce=!0,ee=ee.element);let Je=(ue=W.baseParser)!==null&&ue!==void 0?ue:W;if(Je.acceptLexerState(W),ee.type==="JsdocTypeNumber"||ee.type==="JsdocTypeName"||ee.type==="JsdocTypeStringValue"||q(ee)){if(q(ee)&&!p)throw new s(ee);Je.consume(":");let jt;ee.type==="JsdocTypeStringValue"&&(jt=ee.meta.quote);let ft=Je.parseType(x.KEY_VALUE);return W.acceptLexerState(Je),{type:"JsdocTypeObjectField",key:q(ee)?ee:ee.value.toString(),right:ft,optional:Oe,readonly:Ce,meta:{quote:jt}}}else{if(!y)throw new s(ee);Je.consume(":");let jt=Je.parseType(x.KEY_VALUE);return W.acceptLexerState(Je),{type:"JsdocTypeJsdocObjectField",left:T(ee),right:jt}}}})}function se({allowOptional:p,allowVariadic:y}){return V({name:"keyValueParslet",precedence:x.KEY_VALUE,accept:O=>O===":",parseInfix:(O,I)=>{let W=!1,ee=!1;if(p&&I.type==="JsdocTypeNullable"&&(W=!0,I=I.element),y&&I.type==="JsdocTypeVariadic"&&I.element!==void 0&&(ee=!0,I=I.element),I.type!=="JsdocTypeName")throw new s(I);O.consume(":");let ue=O.parseType(x.KEY_VALUE);return{type:"JsdocTypeKeyValue",key:I.value,right:ue,optional:W,variadic:ee}}})}let ne=[...Z,z({allowWithoutParenthesis:!0,allowNamedParameters:["this","new"],allowNoReturnType:!0,allowNewAsFunctionKeyword:!1}),De,J({allowedTypes:["module","external","event"],pathGrammar:ge}),Q({allowEnclosingBrackets:!0,allowPostfix:!0}),me({allowedAdditionalTokens:["keyof"]}),X,re,ye({allowSquareBracketsOnAnyType:!1,allowJsdocNamePaths:!0,pathGrammar:ge})],_e=[...ne,ce({objectFieldGrammar:[me({allowedAdditionalTokens:["typeof","module","in"]}),ae({allowSquaredProperties:!1,allowKeyTypes:!0,allowOptional:!1,allowReadonly:!1}),...ne],allowKeyTypes:!0}),se({allowOptional:!0,allowVariadic:!0})],pe=V({name:"typeOfParslet",accept:p=>p==="typeof",parsePrefix:p=>(p.consume("typeof"),{type:"JsdocTypeTypeof",element:p.parseType(x.KEY_OF_TYPE_OF)})}),ve=[me({allowedAdditionalTokens:["typeof","module","keyof","event","external","in"]}),$,G,De,ie,ae({allowSquaredProperties:!1,allowKeyTypes:!1,allowOptional:!1,allowReadonly:!1})],we=[...Z,ce({allowKeyTypes:!1,objectFieldGrammar:ve}),me({allowedAdditionalTokens:["event","external","in"]}),pe,z({allowWithoutParenthesis:!1,allowNamedParameters:["this","new"],allowNoReturnType:!0,allowNewAsFunctionKeyword:!1}),Q({allowEnclosingBrackets:!1,allowPostfix:!1}),me({allowedAdditionalTokens:["keyof"]}),J({allowedTypes:["module"],pathGrammar:ge}),ye({allowSquareBracketsOnAnyType:!1,allowJsdocNamePaths:!0,pathGrammar:ge}),se({allowOptional:!1,allowVariadic:!1}),X],je=V({name:"assertsParslet",accept:p=>p==="asserts",parsePrefix:p=>{p.consume("asserts");let y=p.parseIntermediateType(x.SYMBOL);if(y.type!=="JsdocTypeName")throw new s(y,"A typescript asserts always has to have a name on the left side.");return p.consume("is")?{type:"JsdocTypeAsserts",left:y,right:T(p.parseIntermediateType(x.INFIX))}:{type:"JsdocTypeAssertsPlain",element:y}}});function We({allowQuestionMark:p}){return V({name:"tupleParslet",accept:y=>y==="[",parsePrefix:y=>{y.consume("[");let O={type:"JsdocTypeTuple",elements:[]};if(y.consume("]"))return O;let I=y.parseIntermediateType(x.ALL);if(I.type==="JsdocTypeParameterList"?I.elements[0].type==="JsdocTypeKeyValue"?O.elements=I.elements.map(R):O.elements=I.elements.map(T):I.type==="JsdocTypeKeyValue"?O.elements=[R(I)]:O.elements=[T(I)],!y.consume("]"))throw new Error("Unterminated '['");if(O.elements.some(W=>W.type==="JsdocTypeUnknown"))throw new Error("Question mark in tuple not allowed");return O}})}let Ve=V({name:"keyOfParslet",accept:p=>p==="keyof",parsePrefix:p=>(p.consume("keyof"),{type:"JsdocTypeKeyof",element:T(p.parseType(x.KEY_OF_TYPE_OF))})}),Rt=V({name:"importParslet",accept:p=>p==="import",parsePrefix:p=>{if(p.consume("import"),!p.consume("("))throw new Error("Missing parenthesis after import keyword");let y=p.parseType(x.PREFIX);if(y.type!=="JsdocTypeStringValue")throw new Error("Only string values are allowed as paths for imports");if(!p.consume(")"))throw new Error("Missing closing parenthesis after import keyword");return{type:"JsdocTypeImport",element:y}}}),mt=V({name:"readonlyPropertyParslet",accept:p=>p==="readonly",parsePrefix:p=>(p.consume("readonly"),{type:"JsdocTypeReadonlyProperty",element:p.parseIntermediateType(x.KEY_VALUE)})}),$t=V({name:"arrowFunctionParslet",precedence:x.ARROW,accept:p=>p==="=>",parseInfix:(p,y)=>(p.consume("=>"),{type:"JsdocTypeFunction",parameters:k(y).map(_),arrow:!0,constructor:!1,parenthesis:!0,returnType:p.parseType(x.OBJECT)})}),Nt=V({name:"genericArrowFunctionParslet",accept:p=>p==="<",parsePrefix:p=>{let y=[];p.consume("<");do{let I,W=p.parseIntermediateType(x.SYMBOL);if(W.type==="JsdocTypeOptional"&&(W=W.element,I=p.parseType(x.SYMBOL)),W.type!=="JsdocTypeName")throw new s(W);let ee;p.consume("extends")&&(ee=p.parseType(x.SYMBOL),ee.type==="JsdocTypeOptional"&&(ee=ee.element,I=p.parseType(x.SYMBOL)));let ue={type:"JsdocTypeTypeParameter",name:W};if(ee!==void 0&&(ue.constraint=ee),I!==void 0&&(ue.defaultValue=I),y.push(ue),p.consume(">"))break}while(p.consume(","));let O=p.parseIntermediateType(x.SYMBOL);return O.typeParameters=y,O}}),Gr=V({name:"intersectionParslet",accept:p=>p==="&",precedence:x.INTERSECTION,parseInfix:(p,y)=>{p.consume("&");let O=[];do O.push(p.parseType(x.INTERSECTION));while(p.consume("&"));return{type:"JsdocTypeIntersection",elements:[T(y),...O]}}}),oo=V({name:"predicateParslet",precedence:x.INFIX,accept:p=>p==="is",parseInfix:(p,y)=>{if(y.type!=="JsdocTypeName")throw new s(y,"A typescript predicate always has to have a name on the left side.");return p.consume("is"),{type:"JsdocTypePredicate",left:y,right:T(p.parseIntermediateType(x.INFIX))}}}),It=V({name:"objectSquareBracketPropertyParslet",accept:p=>p==="[",parsePrefix:p=>{if(p.baseParser===void 0)throw new Error("Only allowed inside object grammar");p.consume("[");let y=p.lexer.current.text;p.consume("Identifier");let O;if(p.consume(":")){let I=p.baseParser;I.acceptLexerState(p),O={type:"JsdocTypeIndexSignature",key:y,right:I.parseType(x.INDEX_BRACKETS)},p.acceptLexerState(I)}else if(p.consume("in")){let I=p.baseParser;I.acceptLexerState(p),O={type:"JsdocTypeMappedType",key:y,right:I.parseType(x.ARRAY_BRACKETS)},p.acceptLexerState(I)}else throw new Error("Missing ':' or 'in' inside square bracketed property.");if(!p.consume("]"))throw new Error("Unterminated square brackets");return O}}),Kt=V({name:"readonlyArrayParslet",accept:p=>p==="readonly",parsePrefix:p=>(p.consume("readonly"),{type:"JsdocTypeReadonlyArray",element:N(p.parseIntermediateType(x.ALL))})}),io=V({name:"conditionalParslet",precedence:x.INFIX,accept:p=>p==="extends",parseInfix:(p,y)=>{p.consume("extends");let O=p.parseType(x.KEY_OF_TYPE_OF).element,I=p.parseType(x.INFIX);return p.consume(":"),{type:"JsdocTypeConditional",checksType:T(y),extendsType:O,trueType:I,falseType:p.parseType(x.INFIX)}}}),so=[mt,me({allowedAdditionalTokens:["typeof","module","keyof","event","external","in"]}),$,G,De,ie,ae({allowSquaredProperties:!0,allowKeyTypes:!1,allowOptional:!0,allowReadonly:!0}),It],Xs=[...Z,ce({allowKeyTypes:!1,objectFieldGrammar:so}),Kt,pe,Ve,Rt,De,z({allowWithoutParenthesis:!0,allowNoReturnType:!1,allowNamedParameters:["this","new","args"],allowNewAsFunctionKeyword:!0}),We({allowQuestionMark:!1}),Q({allowEnclosingBrackets:!1,allowPostfix:!1}),je,io,me({allowedAdditionalTokens:["event","external","in"]}),J({allowedTypes:["module"],pathGrammar:ge}),re,$t,Nt,ye({allowSquareBracketsOnAnyType:!0,allowJsdocNamePaths:!1,pathGrammar:ge}),Gr,oo,se({allowVariadic:!0,allowOptional:!0})];function Wo(p,y){switch(y){case"closure":return new P(we,p).parse();case"jsdoc":return new P(_e,p).parse();case"typescript":return new P(Xs,p).parse()}}function Qs(p,y=["typescript","closure","jsdoc"]){let O;for(let I of y)try{return Wo(p,I)}catch(W){O=W}throw O}function _r(p,y){let O=p[y.type];if(O===void 0)throw new Error(`In this set of transform rules exists no rule for type ${y.type}.`);return O(y,I=>_r(p,I))}function Se(p){throw new Error("This transform is not available. Are you trying the correct parsing mode?")}function Ko(p){let y={params:[]};for(let O of p.parameters)O.type==="JsdocTypeKeyValue"?O.key==="this"?y.this=O.right:O.key==="new"?y.new=O.right:y.params.push(O):y.params.push(O);return y}function Wr(p,y,O){return p==="prefix"?O+y:y+O}function Mt(p,y){switch(y){case"double":return`"${p}"`;case"single":return`'${p}'`;case void 0:return p}}function de(){return{JsdocTypeParenthesis:(p,y)=>`(${p.element!==void 0?y(p.element):""})`,JsdocTypeKeyof:(p,y)=>`keyof ${y(p.element)}`,JsdocTypeFunction:(p,y)=>{var O;if(p.arrow){if(p.returnType===void 0)throw new Error("Arrow function needs a return type.");let I=`${p.typeParameters!==void 0?`<${(O=p.typeParameters.map(y).join(", "))!==null&&O!==void 0?O:""}>`:""}(${p.parameters.map(y).join(", ")}) => ${y(p.returnType)}`;return p.constructor&&(I="new "+I),I}else{let I=p.constructor?"new":"function";return p.parenthesis&&(I+=`(${p.parameters.map(y).join(", ")})`,p.returnType!==void 0&&(I+=`: ${y(p.returnType)}`)),I}},JsdocTypeName:p=>p.value,JsdocTypeTuple:(p,y)=>`[${p.elements.map(y).join(", ")}]`,JsdocTypeVariadic:(p,y)=>p.meta.position===void 0?"...":Wr(p.meta.position,y(p.element),"..."),JsdocTypeNamePath:(p,y)=>{let O=y(p.left),I=y(p.right);switch(p.pathType){case"inner":return`${O}~${I}`;case"instance":return`${O}#${I}`;case"property":return`${O}.${I}`;case"property-brackets":return`${O}[${I}]`}},JsdocTypeStringValue:p=>Mt(p.value,p.meta.quote),JsdocTypeAny:()=>"*",JsdocTypeGeneric:(p,y)=>{if(p.meta.brackets==="square"){let O=p.elements[0],I=y(O);return O.type==="JsdocTypeUnion"||O.type==="JsdocTypeIntersection"?`(${I})[]`:`${I}[]`}else return`${y(p.left)}${p.meta.dot?".":""}<${p.infer===!0?"infer ":""}${p.elements.map(y).join(", ")}>`},JsdocTypeImport:(p,y)=>`import(${y(p.element)})`,JsdocTypeObjectField:(p,y)=>{let O="";return p.readonly&&(O+="readonly "),typeof p.key=="string"?O+=Mt(p.key,p.meta.quote):O+=y(p.key),p.optional&&(O+="?"),p.right===void 0?O:O+`: ${y(p.right)}`},JsdocTypeJsdocObjectField:(p,y)=>`${y(p.left)}: ${y(p.right)}`,JsdocTypeKeyValue:(p,y)=>{let O=p.key;return p.optional&&(O+="?"),p.variadic&&(O="..."+O),p.right===void 0?O:O+`: ${y(p.right)}`},JsdocTypeSpecialNamePath:p=>`${p.specialType}:${Mt(p.value,p.meta.quote)}`,JsdocTypeNotNullable:(p,y)=>Wr(p.meta.position,y(p.element),"!"),JsdocTypeNull:()=>"null",JsdocTypeNullable:(p,y)=>Wr(p.meta.position,y(p.element),"?"),JsdocTypeNumber:p=>p.value.toString(),JsdocTypeObject:(p,y)=>{var O,I;return`{${(p.meta.separator==="linebreak"&&p.elements.length>1?`
20
+ `+((O=p.meta.propertyIndent)!==null&&O!==void 0?O:""):"")+p.elements.map(y).join(p.meta.separator==="comma"?", ":p.meta.separator==="linebreak"?`
21
+ `+((I=p.meta.propertyIndent)!==null&&I!==void 0?I:""):"; ")+(p.meta.separator==="linebreak"&&p.elements.length>1?`
22
+ `:"")}}`},JsdocTypeOptional:(p,y)=>Wr(p.meta.position,y(p.element),"="),JsdocTypeSymbol:(p,y)=>`${p.value}(${p.element!==void 0?y(p.element):""})`,JsdocTypeTypeof:(p,y)=>`typeof ${y(p.element)}`,JsdocTypeUndefined:()=>"undefined",JsdocTypeUnion:(p,y)=>p.elements.map(y).join(" | "),JsdocTypeUnknown:()=>"?",JsdocTypeIntersection:(p,y)=>p.elements.map(y).join(" & "),JsdocTypeProperty:p=>Mt(p.value,p.meta.quote),JsdocTypePredicate:(p,y)=>`${y(p.left)} is ${y(p.right)}`,JsdocTypeIndexSignature:(p,y)=>`[${p.key}: ${y(p.right)}]`,JsdocTypeMappedType:(p,y)=>`[${p.key} in ${y(p.right)}]`,JsdocTypeAsserts:(p,y)=>`asserts ${y(p.left)} is ${y(p.right)}`,JsdocTypeReadonlyArray:(p,y)=>`readonly ${y(p.element)}`,JsdocTypeAssertsPlain:(p,y)=>`asserts ${y(p.element)}`,JsdocTypeConditional:(p,y)=>`${y(p.checksType)} extends ${y(p.extendsType)} ? ${y(p.trueType)} : ${y(p.falseType)}`,JsdocTypeTypeParameter:(p,y)=>`${y(p.name)}${p.constraint!==void 0?` extends ${y(p.constraint)}`:""}${p.defaultValue!==void 0?` = ${y(p.defaultValue)}`:""}`}}let Zs=de();function ao(p){return _r(Zs,p)}let dp=["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 Bt(p){let y={type:"NameExpression",name:p};return dp.includes(p)&&(y.reservedWord=!0),y}let pp={JsdocTypeOptional:(p,y)=>{let O=y(p.element);return O.optional=!0,O},JsdocTypeNullable:(p,y)=>{let O=y(p.element);return O.nullable=!0,O},JsdocTypeNotNullable:(p,y)=>{let O=y(p.element);return O.nullable=!1,O},JsdocTypeVariadic:(p,y)=>{if(p.element===void 0)throw new Error("dots without value are not allowed in catharsis mode");let O=y(p.element);return O.repeatable=!0,O},JsdocTypeAny:()=>({type:"AllLiteral"}),JsdocTypeNull:()=>({type:"NullLiteral"}),JsdocTypeStringValue:p=>Bt(Mt(p.value,p.meta.quote)),JsdocTypeUndefined:()=>({type:"UndefinedLiteral"}),JsdocTypeUnknown:()=>({type:"UnknownLiteral"}),JsdocTypeFunction:(p,y)=>{let O=Ko(p),I={type:"FunctionType",params:O.params.map(y)};return O.this!==void 0&&(I.this=y(O.this)),O.new!==void 0&&(I.new=y(O.new)),p.returnType!==void 0&&(I.result=y(p.returnType)),I},JsdocTypeGeneric:(p,y)=>({type:"TypeApplication",applications:p.elements.map(O=>y(O)),expression:y(p.left)}),JsdocTypeSpecialNamePath:p=>Bt(p.specialType+":"+Mt(p.value,p.meta.quote)),JsdocTypeName:p=>p.value!=="function"?Bt(p.value):{type:"FunctionType",params:[]},JsdocTypeNumber:p=>Bt(p.value.toString()),JsdocTypeObject:(p,y)=>{let O={type:"RecordType",fields:[]};for(let I of p.elements)I.type!=="JsdocTypeObjectField"&&I.type!=="JsdocTypeJsdocObjectField"?O.fields.push({type:"FieldType",key:y(I),value:void 0}):O.fields.push(y(I));return O},JsdocTypeObjectField:(p,y)=>{if(typeof p.key!="string")throw new Error("Index signatures and mapped types are not supported");return{type:"FieldType",key:Bt(Mt(p.key,p.meta.quote)),value:p.right===void 0?void 0:y(p.right)}},JsdocTypeJsdocObjectField:(p,y)=>({type:"FieldType",key:y(p.left),value:y(p.right)}),JsdocTypeUnion:(p,y)=>({type:"TypeUnion",elements:p.elements.map(O=>y(O))}),JsdocTypeKeyValue:(p,y)=>({type:"FieldType",key:Bt(p.key),value:p.right===void 0?void 0:y(p.right)}),JsdocTypeNamePath:(p,y)=>{let O=y(p.left),I;p.right.type==="JsdocTypeSpecialNamePath"?I=y(p.right).name:I=Mt(p.right.value,p.right.meta.quote);let W=p.pathType==="inner"?"~":p.pathType==="instance"?"#":".";return Bt(`${O.name}${W}${I}`)},JsdocTypeSymbol:p=>{let y="",O=p.element,I=!1;return O?.type==="JsdocTypeVariadic"&&(O.meta.position==="prefix"?y="...":I=!0,O=O.element),O?.type==="JsdocTypeName"?y+=O.value:O?.type==="JsdocTypeNumber"&&(y+=O.value.toString()),I&&(y+="..."),Bt(`${p.value}(${y})`)},JsdocTypeParenthesis:(p,y)=>y(T(p.element)),JsdocTypeMappedType:Se,JsdocTypeIndexSignature:Se,JsdocTypeImport:Se,JsdocTypeKeyof:Se,JsdocTypeTuple:Se,JsdocTypeTypeof:Se,JsdocTypeIntersection:Se,JsdocTypeProperty:Se,JsdocTypePredicate:Se,JsdocTypeAsserts:Se,JsdocTypeReadonlyArray:Se,JsdocTypeAssertsPlain:Se,JsdocTypeConditional:Se,JsdocTypeTypeParameter:Se};function fp(p){return _r(pp,p)}function sr(p){switch(p){case void 0:return"none";case"single":return"single";case"double":return"double"}}function hp(p){switch(p){case"inner":return"INNER_MEMBER";case"instance":return"INSTANCE_MEMBER";case"property":return"MEMBER";case"property-brackets":return"MEMBER"}}function zo(p,y){return y.length===2?{type:p,left:y[0],right:y[1]}:{type:p,left:y[0],right:zo(p,y.slice(1))}}let mp={JsdocTypeOptional:(p,y)=>({type:"OPTIONAL",value:y(p.element),meta:{syntax:p.meta.position==="prefix"?"PREFIX_EQUAL_SIGN":"SUFFIX_EQUALS_SIGN"}}),JsdocTypeNullable:(p,y)=>({type:"NULLABLE",value:y(p.element),meta:{syntax:p.meta.position==="prefix"?"PREFIX_QUESTION_MARK":"SUFFIX_QUESTION_MARK"}}),JsdocTypeNotNullable:(p,y)=>({type:"NOT_NULLABLE",value:y(p.element),meta:{syntax:p.meta.position==="prefix"?"PREFIX_BANG":"SUFFIX_BANG"}}),JsdocTypeVariadic:(p,y)=>{let O={type:"VARIADIC",meta:{syntax:p.meta.position==="prefix"?"PREFIX_DOTS":p.meta.position==="suffix"?"SUFFIX_DOTS":"ONLY_DOTS"}};return p.element!==void 0&&(O.value=y(p.element)),O},JsdocTypeName:p=>({type:"NAME",name:p.value}),JsdocTypeTypeof:(p,y)=>({type:"TYPE_QUERY",name:y(p.element)}),JsdocTypeTuple:(p,y)=>({type:"TUPLE",entries:p.elements.map(y)}),JsdocTypeKeyof:(p,y)=>({type:"KEY_QUERY",value:y(p.element)}),JsdocTypeImport:p=>({type:"IMPORT",path:{type:"STRING_VALUE",quoteStyle:sr(p.element.meta.quote),string:p.element.value}}),JsdocTypeUndefined:()=>({type:"NAME",name:"undefined"}),JsdocTypeAny:()=>({type:"ANY"}),JsdocTypeFunction:(p,y)=>{let O=Ko(p),I={type:p.arrow?"ARROW":"FUNCTION",params:O.params.map(W=>{if(W.type==="JsdocTypeKeyValue"){if(W.right===void 0)throw new Error("Function parameter without ':' is not expected to be 'KEY_VALUE'");return{type:"NAMED_PARAMETER",name:W.key,typeName:y(W.right)}}else return y(W)}),new:null,returns:null};return O.this!==void 0?I.this=y(O.this):p.arrow||(I.this=null),O.new!==void 0&&(I.new=y(O.new)),p.returnType!==void 0&&(I.returns=y(p.returnType)),I},JsdocTypeGeneric:(p,y)=>{let O={type:"GENERIC",subject:y(p.left),objects:p.elements.map(y),meta:{syntax:p.meta.brackets==="square"?"SQUARE_BRACKET":p.meta.dot?"ANGLE_BRACKET_WITH_DOT":"ANGLE_BRACKET"}};return p.meta.brackets==="square"&&p.elements[0].type==="JsdocTypeFunction"&&!p.elements[0].parenthesis&&(O.objects[0]={type:"NAME",name:"function"}),O},JsdocTypeObjectField:(p,y)=>{if(typeof p.key!="string")throw new Error("Index signatures and mapped types are not supported");if(p.right===void 0)return{type:"RECORD_ENTRY",key:p.key,quoteStyle:sr(p.meta.quote),value:null,readonly:!1};let O=y(p.right);return p.optional&&(O={type:"OPTIONAL",value:O,meta:{syntax:"SUFFIX_KEY_QUESTION_MARK"}}),{type:"RECORD_ENTRY",key:p.key.toString(),quoteStyle:sr(p.meta.quote),value:O,readonly:!1}},JsdocTypeJsdocObjectField:()=>{throw new Error("Keys may not be typed in jsdoctypeparser.")},JsdocTypeKeyValue:(p,y)=>{if(p.right===void 0)return{type:"RECORD_ENTRY",key:p.key,quoteStyle:"none",value:null,readonly:!1};let O=y(p.right);return p.optional&&(O={type:"OPTIONAL",value:O,meta:{syntax:"SUFFIX_KEY_QUESTION_MARK"}}),{type:"RECORD_ENTRY",key:p.key,quoteStyle:"none",value:O,readonly:!1}},JsdocTypeObject:(p,y)=>{let O=[];for(let I of p.elements)(I.type==="JsdocTypeObjectField"||I.type==="JsdocTypeJsdocObjectField")&&O.push(y(I));return{type:"RECORD",entries:O}},JsdocTypeSpecialNamePath:p=>{if(p.specialType!=="module")throw new Error(`jsdoctypeparser does not support type ${p.specialType} at this point.`);return{type:"MODULE",value:{type:"FILE_PATH",quoteStyle:sr(p.meta.quote),path:p.value}}},JsdocTypeNamePath:(p,y)=>{let O=!1,I,W;p.right.type==="JsdocTypeSpecialNamePath"&&p.right.specialType==="event"?(O=!0,I=p.right.value,W=sr(p.right.meta.quote)):(I=p.right.value,W=sr(p.right.meta.quote));let ee={type:hp(p.pathType),owner:y(p.left),name:I,quoteStyle:W,hasEventPrefix:O};if(ee.owner.type==="MODULE"){let ue=ee.owner;return ee.owner=ee.owner.value,ue.value=ee,ue}else return ee},JsdocTypeUnion:(p,y)=>zo("UNION",p.elements.map(y)),JsdocTypeParenthesis:(p,y)=>({type:"PARENTHESIS",value:y(T(p.element))}),JsdocTypeNull:()=>({type:"NAME",name:"null"}),JsdocTypeUnknown:()=>({type:"UNKNOWN"}),JsdocTypeStringValue:p=>({type:"STRING_VALUE",quoteStyle:sr(p.meta.quote),string:p.value}),JsdocTypeIntersection:(p,y)=>zo("INTERSECTION",p.elements.map(y)),JsdocTypeNumber:p=>({type:"NUMBER_VALUE",number:p.value.toString()}),JsdocTypeSymbol:Se,JsdocTypeProperty:Se,JsdocTypePredicate:Se,JsdocTypeMappedType:Se,JsdocTypeIndexSignature:Se,JsdocTypeAsserts:Se,JsdocTypeReadonlyArray:Se,JsdocTypeAssertsPlain:Se,JsdocTypeConditional:Se,JsdocTypeTypeParameter:Se};function yp(p){return _r(mp,p)}function gp(){return{JsdocTypeIntersection:(p,y)=>({type:"JsdocTypeIntersection",elements:p.elements.map(y)}),JsdocTypeGeneric:(p,y)=>({type:"JsdocTypeGeneric",left:y(p.left),elements:p.elements.map(y),meta:{dot:p.meta.dot,brackets:p.meta.brackets}}),JsdocTypeNullable:p=>p,JsdocTypeUnion:(p,y)=>({type:"JsdocTypeUnion",elements:p.elements.map(y)}),JsdocTypeUnknown:p=>p,JsdocTypeUndefined:p=>p,JsdocTypeTypeof:(p,y)=>({type:"JsdocTypeTypeof",element:y(p.element)}),JsdocTypeSymbol:(p,y)=>{let O={type:"JsdocTypeSymbol",value:p.value};return p.element!==void 0&&(O.element=y(p.element)),O},JsdocTypeOptional:(p,y)=>({type:"JsdocTypeOptional",element:y(p.element),meta:{position:p.meta.position}}),JsdocTypeObject:(p,y)=>({type:"JsdocTypeObject",meta:{separator:"comma"},elements:p.elements.map(y)}),JsdocTypeNumber:p=>p,JsdocTypeNull:p=>p,JsdocTypeNotNullable:(p,y)=>({type:"JsdocTypeNotNullable",element:y(p.element),meta:{position:p.meta.position}}),JsdocTypeSpecialNamePath:p=>p,JsdocTypeObjectField:(p,y)=>({type:"JsdocTypeObjectField",key:p.key,right:p.right===void 0?void 0:y(p.right),optional:p.optional,readonly:p.readonly,meta:p.meta}),JsdocTypeJsdocObjectField:(p,y)=>({type:"JsdocTypeJsdocObjectField",left:y(p.left),right:y(p.right)}),JsdocTypeKeyValue:(p,y)=>({type:"JsdocTypeKeyValue",key:p.key,right:p.right===void 0?void 0:y(p.right),optional:p.optional,variadic:p.variadic}),JsdocTypeImport:(p,y)=>({type:"JsdocTypeImport",element:y(p.element)}),JsdocTypeAny:p=>p,JsdocTypeStringValue:p=>p,JsdocTypeNamePath:p=>p,JsdocTypeVariadic:(p,y)=>{let O={type:"JsdocTypeVariadic",meta:{position:p.meta.position,squareBrackets:p.meta.squareBrackets}};return p.element!==void 0&&(O.element=y(p.element)),O},JsdocTypeTuple:(p,y)=>({type:"JsdocTypeTuple",elements:p.elements.map(y)}),JsdocTypeName:p=>p,JsdocTypeFunction:(p,y)=>{let O={type:"JsdocTypeFunction",arrow:p.arrow,parameters:p.parameters.map(y),constructor:p.constructor,parenthesis:p.parenthesis};return p.returnType!==void 0&&(O.returnType=y(p.returnType)),O},JsdocTypeKeyof:(p,y)=>({type:"JsdocTypeKeyof",element:y(p.element)}),JsdocTypeParenthesis:(p,y)=>({type:"JsdocTypeParenthesis",element:y(p.element)}),JsdocTypeProperty:p=>p,JsdocTypePredicate:(p,y)=>({type:"JsdocTypePredicate",left:y(p.left),right:y(p.right)}),JsdocTypeIndexSignature:(p,y)=>({type:"JsdocTypeIndexSignature",key:p.key,right:y(p.right)}),JsdocTypeMappedType:(p,y)=>({type:"JsdocTypeMappedType",key:p.key,right:y(p.right)}),JsdocTypeAsserts:(p,y)=>({type:"JsdocTypeAsserts",left:y(p.left),right:y(p.right)}),JsdocTypeReadonlyArray:(p,y)=>({type:"JsdocTypeReadonlyArray",element:y(p.element)}),JsdocTypeAssertsPlain:(p,y)=>({type:"JsdocTypeAssertsPlain",element:y(p.element)}),JsdocTypeConditional:(p,y)=>({type:"JsdocTypeConditional",checksType:y(p.checksType),extendsType:y(p.extendsType),trueType:y(p.trueType),falseType:y(p.falseType)}),JsdocTypeTypeParameter:(p,y)=>({type:"JsdocTypeTypeParameter",name:y(p.name),constraint:p.constraint!==void 0?y(p.constraint):void 0,defaultValue:p.defaultValue!==void 0?y(p.defaultValue):void 0})}}let ea={JsdocTypeAny:[],JsdocTypeFunction:["parameters","returnType"],JsdocTypeGeneric:["left","elements"],JsdocTypeImport:[],JsdocTypeIndexSignature:["right"],JsdocTypeIntersection:["elements"],JsdocTypeKeyof:["element"],JsdocTypeKeyValue:["right"],JsdocTypeMappedType:["right"],JsdocTypeName:[],JsdocTypeNamePath:["left","right"],JsdocTypeNotNullable:["element"],JsdocTypeNull:[],JsdocTypeNullable:["element"],JsdocTypeNumber:[],JsdocTypeObject:["elements"],JsdocTypeObjectField:["right"],JsdocTypeJsdocObjectField:["left","right"],JsdocTypeOptional:["element"],JsdocTypeParenthesis:["element"],JsdocTypeSpecialNamePath:[],JsdocTypeStringValue:[],JsdocTypeSymbol:["element"],JsdocTypeTuple:["elements"],JsdocTypeTypeof:["element"],JsdocTypeUndefined:[],JsdocTypeUnion:["elements"],JsdocTypeUnknown:[],JsdocTypeVariadic:["element"],JsdocTypeProperty:[],JsdocTypePredicate:["left","right"],JsdocTypeAsserts:["left","right"],JsdocTypeReadonlyArray:["element"],JsdocTypeAssertsPlain:["element"],JsdocTypeConditional:["checksType","extendsType","trueType","falseType"],JsdocTypeTypeParameter:["name","constraint","defaultValue"]};function Yo(p,y,O,I,W){I?.(p,y,O);let ee=ea[p.type];for(let ue of ee){let Oe=p[ue];if(Oe!==void 0)if(Array.isArray(Oe))for(let Ce of Oe)Yo(Ce,p,ue,I,W);else Yo(Oe,p,ue,I,W)}W?.(p,y,O)}function bp(p,y,O){Yo(p,void 0,void 0,y,O)}r.catharsisTransform=fp,r.identityTransformRules=gp,r.jtpTransform=yp,r.parse=Wo,r.stringify=ao,r.stringifyRules=de,r.transform=_r,r.traverse=bp,r.tryParse=Qs,r.visitorKeys=ea}))}}),ID=D({"../../node_modules/browser-dtector/browser-dtector.umd.min.js"(e,t){(function(r,n){typeof e=="object"&&typeof t<"u"?t.exports=n():typeof define=="function"&&define.amd?define(n):(r=typeof globalThis<"u"?globalThis:r||self).BrowserDetector=n()})(e,(function(){function r(l,u){for(var c=0;c<u.length;c++){var d=u[c];d.enumerable=d.enumerable||!1,d.configurable=!0,"value"in d&&(d.writable=!0),Object.defineProperty(l,(f=d.key,h=void 0,typeof(h=(function(m,g){if(typeof m!="object"||m===null)return m;var v=m[Symbol.toPrimitive];if(v!==void 0){var b=v.call(m,g);if(typeof b!="object")return b;throw new TypeError("@@toPrimitive must return a primitive value.")}return(g==="string"?String:Number)(m)})(f,"string"))=="symbol"?h:String(h)),d)}var f,h}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=function(l){var u=new RegExp("^-?\\d+(?:.\\d{0,".concat(arguments.length>1&&arguments[1]!==void 0?arguments[1]:-1,"})?")),c=Number(l).toString().match(u);return c?c[0]:null},s=function(){return typeof window<"u"?window.navigator:null},a=(function(){function l(f){var h;(function(m,g){if(!(m instanceof g))throw new TypeError("Cannot call a class as a function")})(this,l),this.userAgent=f||((h=s())===null||h===void 0?void 0:h.userAgent)||null}var u,c,d;return u=l,c=[{key:"parseUserAgent",value:function(f){var h,m,g,v={},b=f||this.userAgent||"",E=b.toLowerCase().replace(/\s\s+/g," "),S=/(edge)\/([\w.]+)/.exec(E)||/(edg)[/]([\w.]+)/.exec(E)||/(opr)[/]([\w.]+)/.exec(E)||/(opt)[/]([\w.]+)/.exec(E)||/(fxios)[/]([\w.]+)/.exec(E)||/(edgios)[/]([\w.]+)/.exec(E)||/(jsdom)[/]([\w.]+)/.exec(E)||/(samsungbrowser)[/]([\w.]+)/.exec(E)||/(electron)[/]([\w.]+)/.exec(E)||/(chrome)[/]([\w.]+)/.exec(E)||/(crios)[/]([\w.]+)/.exec(E)||/(opios)[/]([\w.]+)/.exec(E)||/(version)(applewebkit)[/]([\w.]+).*(safari)[/]([\w.]+)/.exec(E)||/(webkit)[/]([\w.]+).*(version)[/]([\w.]+).*(safari)[/]([\w.]+)/.exec(E)||/(applewebkit)[/]([\w.]+).*(safari)[/]([\w.]+)/.exec(E)||/(webkit)[/]([\w.]+)/.exec(E)||/(opera)(?:.*version|)[/]([\w.]+)/.exec(E)||/(msie) ([\w.]+)/.exec(E)||/(fennec)[/]([\w.]+)/.exec(E)||E.indexOf("trident")>=0&&/(rv)(?::| )([\w.]+)/.exec(E)||E.indexOf("compatible")<0&&/(mozilla)(?:.*? rv:([\w.]+)|)/.exec(E)||[],A=/(ipad)/.exec(E)||/(ipod)/.exec(E)||/(iphone)/.exec(E)||/(jsdom)/.exec(E)||/(windows phone)/.exec(E)||/(xbox)/.exec(E)||/(win)/.exec(E)||/(tablet)/.exec(E)||/(android)/.test(E)&&/(mobile)/.test(E)===!1&&["androidTablet"]||/(android)/.exec(E)||/(mac)/.exec(E)||/(linux)/.exec(E)||/(cros)/.exec(E)||[],C=S[5]||S[3]||S[1]||null,T=A[0]||null,w=S[4]||S[2]||null,_=s();C==="chrome"&&typeof(_==null||(h=_.brave)===null||h===void 0?void 0:h.isBrave)=="function"&&(C="brave"),C&&(v[C]=!0),T&&(v[T]=!0);var R=!!(v.tablet||v.android||v.androidTablet),M=!!(v.ipad||v.tablet||v.androidTablet),N=!!(v.android||v.androidTablet||v.tablet||v.ipad||v.ipod||v.iphone||v["windows phone"]),q=!!(v.cros||v.mac||v.linux||v.win),x=!!(v.brave||v.chrome||v.crios||v.opr||v.safari||v.edg||v.electron),P=!!(v.msie||v.rv);return{name:(m=n[C])!==null&&m!==void 0?m:null,platform:(g=o[T])!==null&&g!==void 0?g:null,userAgent:b,version:w,shortVersion:w?i(parseFloat(w),2):null,isAndroid:R,isTablet:M,isMobile:N,isDesktop:q,isWebkit:x,isIE:P}}},{key:"getBrowserInfo",value:function(){var f=this.parseUserAgent();return{name:f.name,platform:f.platform,userAgent:f.userAgent,version:f.version,shortVersion:f.shortVersion}}}],d=[{key:"VERSION",get:function(){return"3.4.0"}}],c&&r(u.prototype,c),d&&r(u,d),Object.defineProperty(u,"prototype",{writable:!1}),l})();return a}))}}),_m={};Er(_m,{ARGTYPES_INFO_REQUEST:()=>_0,ARGTYPES_INFO_RESPONSE:()=>Pf,CHANNEL_CREATED:()=>jD,CHANNEL_WS_DISCONNECT:()=>t0,CONFIG_ERROR:()=>r0,CREATE_NEW_STORYFILE_REQUEST:()=>qD,CREATE_NEW_STORYFILE_RESPONSE:()=>LD,CURRENT_STORY_WAS_SET:()=>Of,DOCS_PREPARED:()=>n0,DOCS_RENDERED:()=>wm,FILE_COMPONENT_SEARCH_REQUEST:()=>kD,FILE_COMPONENT_SEARCH_RESPONSE:()=>DD,FORCE_REMOUNT:()=>zu,FORCE_RE_RENDER:()=>Sm,GHOST_STORIES_REQUEST:()=>nF,GHOST_STORIES_RESPONSE:()=>oF,GLOBALS_UPDATED:()=>Va,MANAGER_INERT_ATTRIBUTE_CHANGED:()=>T0,NAVIGATE_URL:()=>FD,OPEN_IN_EDITOR_REQUEST:()=>iF,OPEN_IN_EDITOR_RESPONSE:()=>sF,PLAY_FUNCTION_THREW_EXCEPTION:()=>o0,PRELOAD_ENTRIES:()=>s0,PREVIEW_BUILDER_PROGRESS:()=>$D,PREVIEW_INITIALIZED:()=>a0,PREVIEW_KEYDOWN:()=>l0,REGISTER_SUBSCRIPTION:()=>BD,REQUEST_WHATS_NEW_DATA:()=>XD,RESET_STORY_ARGS:()=>Rm,RESULT_WHATS_NEW_DATA:()=>QD,SAVE_STORY_REQUEST:()=>tF,SAVE_STORY_RESPONSE:()=>rF,SELECT_STORY:()=>VD,SET_CONFIG:()=>UD,SET_CURRENT_STORY:()=>Om,SET_FILTER:()=>HD,SET_GLOBALS:()=>u0,SET_INDEX:()=>JD,SET_STORIES:()=>GD,SET_WHATS_NEW_CACHE:()=>ZD,SHARED_STATE_CHANGED:()=>WD,SHARED_STATE_SET:()=>KD,STORIES_COLLAPSE_ALL:()=>zD,STORIES_EXPAND_ALL:()=>YD,STORY_ARGS_UPDATED:()=>c0,STORY_CHANGED:()=>d0,STORY_ERRORED:()=>p0,STORY_FINISHED:()=>Cf,STORY_HOT_UPDATED:()=>b0,STORY_INDEX_INVALIDATED:()=>f0,STORY_MISSING:()=>Af,STORY_PREPARED:()=>h0,STORY_RENDERED:()=>Yu,STORY_RENDER_PHASE_CHANGED:()=>vi,STORY_SPECIFIED:()=>m0,STORY_THREW_EXCEPTION:()=>y0,STORY_UNCHANGED:()=>g0,TELEMETRY_ERROR:()=>E0,TOGGLE_WHATS_NEW_NOTIFICATIONS:()=>eF,UNHANDLED_ERRORS_WHILE_PLAYING:()=>i0,UPDATE_GLOBALS:()=>Am,UPDATE_QUERY_PARAMS:()=>v0,UPDATE_STORY_ARGS:()=>Cm,default:()=>MD});var Tm=(e=>(e.CHANNEL_WS_DISCONNECT="channelWSDisconnect",e.CHANNEL_CREATED="channelCreated",e.CONFIG_ERROR="configError",e.STORY_INDEX_INVALIDATED="storyIndexInvalidated",e.STORY_SPECIFIED="storySpecified",e.SET_CONFIG="setConfig",e.SET_STORIES="setStories",e.SET_INDEX="setIndex",e.SET_CURRENT_STORY="setCurrentStory",e.CURRENT_STORY_WAS_SET="currentStoryWasSet",e.FORCE_RE_RENDER="forceReRender",e.FORCE_REMOUNT="forceRemount",e.PRELOAD_ENTRIES="preloadStories",e.STORY_PREPARED="storyPrepared",e.DOCS_PREPARED="docsPrepared",e.STORY_CHANGED="storyChanged",e.STORY_UNCHANGED="storyUnchanged",e.STORY_RENDERED="storyRendered",e.STORY_FINISHED="storyFinished",e.STORY_MISSING="storyMissing",e.STORY_ERRORED="storyErrored",e.STORY_THREW_EXCEPTION="storyThrewException",e.STORY_RENDER_PHASE_CHANGED="storyRenderPhaseChanged",e.STORY_HOT_UPDATED="storyHotUpdated",e.PLAY_FUNCTION_THREW_EXCEPTION="playFunctionThrewException",e.UNHANDLED_ERRORS_WHILE_PLAYING="unhandledErrorsWhilePlaying",e.UPDATE_STORY_ARGS="updateStoryArgs",e.STORY_ARGS_UPDATED="storyArgsUpdated",e.RESET_STORY_ARGS="resetStoryArgs",e.SET_FILTER="setFilter",e.SET_GLOBALS="setGlobals",e.UPDATE_GLOBALS="updateGlobals",e.GLOBALS_UPDATED="globalsUpdated",e.REGISTER_SUBSCRIPTION="registerSubscription",e.PREVIEW_INITIALIZED="previewInitialized",e.PREVIEW_KEYDOWN="previewKeydown",e.PREVIEW_BUILDER_PROGRESS="preview_builder_progress",e.SELECT_STORY="selectStory",e.STORIES_COLLAPSE_ALL="storiesCollapseAll",e.STORIES_EXPAND_ALL="storiesExpandAll",e.DOCS_RENDERED="docsRendered",e.SHARED_STATE_CHANGED="sharedStateChanged",e.SHARED_STATE_SET="sharedStateSet",e.NAVIGATE_URL="navigateUrl",e.UPDATE_QUERY_PARAMS="updateQueryParams",e.REQUEST_WHATS_NEW_DATA="requestWhatsNewData",e.RESULT_WHATS_NEW_DATA="resultWhatsNewData",e.SET_WHATS_NEW_CACHE="setWhatsNewCache",e.TOGGLE_WHATS_NEW_NOTIFICATIONS="toggleWhatsNewNotifications",e.TELEMETRY_ERROR="telemetryError",e.FILE_COMPONENT_SEARCH_REQUEST="fileComponentSearchRequest",e.FILE_COMPONENT_SEARCH_RESPONSE="fileComponentSearchResponse",e.SAVE_STORY_REQUEST="saveStoryRequest",e.SAVE_STORY_RESPONSE="saveStoryResponse",e.ARGTYPES_INFO_REQUEST="argtypesInfoRequest",e.ARGTYPES_INFO_RESPONSE="argtypesInfoResponse",e.CREATE_NEW_STORYFILE_REQUEST="createNewStoryfileRequest",e.CREATE_NEW_STORYFILE_RESPONSE="createNewStoryfileResponse",e.GHOST_STORIES_REQUEST="ghostStoriesRequest",e.GHOST_STORIES_RESPONSE="ghostStoriesResponse",e.OPEN_IN_EDITOR_REQUEST="openInEditorRequest",e.OPEN_IN_EDITOR_RESPONSE="openInEditorResponse",e.MANAGER_INERT_ATTRIBUTE_CHANGED="managerInertAttributeChanged",e))(Tm||{}),MD=Tm,{CHANNEL_WS_DISCONNECT:t0,CHANNEL_CREATED:jD,CONFIG_ERROR:r0,CREATE_NEW_STORYFILE_REQUEST:qD,CREATE_NEW_STORYFILE_RESPONSE:LD,CURRENT_STORY_WAS_SET:Of,DOCS_PREPARED:n0,DOCS_RENDERED:wm,FILE_COMPONENT_SEARCH_REQUEST:kD,FILE_COMPONENT_SEARCH_RESPONSE:DD,FORCE_RE_RENDER:Sm,FORCE_REMOUNT:zu,GLOBALS_UPDATED:Va,NAVIGATE_URL:FD,PLAY_FUNCTION_THREW_EXCEPTION:o0,UNHANDLED_ERRORS_WHILE_PLAYING:i0,PRELOAD_ENTRIES:s0,PREVIEW_INITIALIZED:a0,PREVIEW_BUILDER_PROGRESS:$D,PREVIEW_KEYDOWN:l0,REGISTER_SUBSCRIPTION:BD,RESET_STORY_ARGS:Rm,SELECT_STORY:VD,SET_CONFIG:UD,SET_CURRENT_STORY:Om,SET_FILTER:HD,SET_GLOBALS:u0,SET_INDEX:JD,SET_STORIES:GD,SHARED_STATE_CHANGED:WD,SHARED_STATE_SET:KD,STORIES_COLLAPSE_ALL:zD,STORIES_EXPAND_ALL:YD,STORY_ARGS_UPDATED:c0,STORY_CHANGED:d0,STORY_ERRORED:p0,STORY_INDEX_INVALIDATED:f0,STORY_MISSING:Af,STORY_PREPARED:h0,STORY_RENDER_PHASE_CHANGED:vi,STORY_RENDERED:Yu,STORY_FINISHED:Cf,STORY_SPECIFIED:m0,STORY_THREW_EXCEPTION:y0,STORY_UNCHANGED:g0,STORY_HOT_UPDATED:b0,UPDATE_GLOBALS:Am,UPDATE_QUERY_PARAMS:v0,UPDATE_STORY_ARGS:Cm,REQUEST_WHATS_NEW_DATA:XD,RESULT_WHATS_NEW_DATA:QD,SET_WHATS_NEW_CACHE:ZD,TOGGLE_WHATS_NEW_NOTIFICATIONS:eF,TELEMETRY_ERROR:E0,SAVE_STORY_REQUEST:tF,SAVE_STORY_RESPONSE:rF,ARGTYPES_INFO_REQUEST:_0,ARGTYPES_INFO_RESPONSE:Pf,GHOST_STORIES_REQUEST:nF,GHOST_STORIES_RESPONSE:oF,OPEN_IN_EDITOR_REQUEST:iF,OPEN_IN_EDITOR_RESPONSE:sF,MANAGER_INERT_ATTRIBUTE_CHANGED:T0}=Tm,w0={};Er(w0,{global:()=>he});var he=(()=>{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})(),S0={"@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__"},aF=Object.keys(S0),R0={};Er(R0,{Channel:()=>rd,HEARTBEAT_INTERVAL:()=>z0,HEARTBEAT_MAX_LATENCY:()=>Y0,PostMessageTransport:()=>K0,WebsocketTransport:()=>X0,createBrowserChannel:()=>E2,default:()=>v2});function Be(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(a,l){var u=l.match(/\n([\t ]+|(?!\s).)/g);return u?a.concat(u.map(function(c){var d,f;return(f=(d=c.match(/[\t ]/g))===null||d===void 0?void 0:d.length)!==null&&f!==void 0?f:0})):a},[]);if(o.length){var i=new RegExp(`
23
+ [ ]{`+Math.min.apply(Math,o)+"}","g");n=n.map(function(a){return a.replace(i,`
24
+ `)})}n[0]=n[0].replace(/^\r?\n/,"");var s=n[0];return t.forEach(function(a,l){var u=s.match(/(?:^|\n)( *)$/),c=u?u[1]:"",d=a;typeof a=="string"&&a.includes(`
25
+ `)&&(d=String(a).split(`
26
+ `).map(function(f,h){return h===0?f:""+c+f}).join(`
27
+ `)),s+=d+n[l+1]}),s}var Hb=new Map,lF="UNIVERSAL_STORE:",Mr={PENDING:"PENDING",RESOLVED:"RESOLVED",REJECTED:"REJECTED"},ri=class Ne{constructor(t,r){if(this.debugging=!1,this.listeners=new Map([["*",new Set]]),this.getState=()=>(this.debug("getState",{state:this.state}),this.state),this.subscribe=(n,o)=>{let i=typeof n=="function",s=i?"*":n,a=i?n:o;if(this.debug("subscribe",{eventType:s,listener:a}),!a)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(a),()=>{this.debug("unsubscribe",{eventType:s,listener:a}),this.listeners.has(s)&&(this.listeners.get(s).delete(a),this.listeners.get(s)?.size===0&&this.listeners.delete(s))}},this.send=n=>{if(this.debug("send",{event:n}),this.status!==Ne.Status.READY)throw new TypeError(Be`Cannot send event before store is ready. You can get the current status with store.status,
28
+ or await store.readyPromise to wait for the store to be ready before sending events.
29
+ ${JSON.stringify({event:n,id:this.id,actor:this.actor,environment:this.environment},null,2)}`);this.emitToListeners(n,{actor:this.actor}),this.emitToChannel(n,{actor:this.actor})},this.debugging=t.debug??!1,!Ne.isInternalConstructing)throw new TypeError("UniversalStore is not constructable - use UniversalStore.create() instead");if(Ne.isInternalConstructing=!1,this.id=t.id,this.actorId=Date.now().toString(36)+Math.random().toString(36).substring(2),this.actorType=t.leader?Ne.ActorType.LEADER:Ne.ActorType.FOLLOWER,this.state=t.initialState,this.channelEventName=`${lF}${this.id}`,this.debug("constructor",{options:t,environmentOverrides:r,channelEventName:this.channelEventName}),this.actor.type===Ne.ActorType.LEADER)this.syncing={state:Mr.RESOLVED,promise:Promise.resolve()};else{let n,o,i=new Promise((s,a)=>{n=()=>{this.syncing.state===Mr.PENDING&&(this.syncing.state=Mr.RESOLVED,s())},o=l=>{this.syncing.state===Mr.PENDING&&(this.syncing.state=Mr.REJECTED,a(l))}});this.syncing={state:Mr.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??Ne.preparation.channel,this.environment=r?.environment??Ne.preparation.environment,this.channel&&this.environment?(Ne.preparation.resolve({channel:this.channel,environment:this.environment}),this.prepareThis({channel:this.channel,environment:this.environment})):Ne.preparation.promise.then(this.prepareThis)}static setupPreparationPromise(){let t,r,n=new Promise((o,i)=>{t=s=>{o(s)},r=(...s)=>{i(s)}});Ne.preparation={resolve:t,reject:r,promise:n}}get actor(){return Object.freeze({id:this.actorId,type:this.actorType,environment:this.environment??Ne.Environment.UNKNOWN})}get status(){if(!this.channel||!this.environment)return Ne.Status.UNPREPARED;switch(this.syncing?.state){case Mr.PENDING:case void 0:return Ne.Status.SYNCING;case Mr.REJECTED:return Ne.Status.ERROR;case Mr.RESOLVED:default:return Ne.Status.READY}}untilReady(){return Promise.all([Ne.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(Be`[UniversalStore]
30
+ create`,{options:t});let r=Hb.get(t.id);if(r)return console.warn(Be`UniversalStore with id "${t.id}" already exists in this environment, re-using existing.
31
+ You should reuse the existing instance instead of trying to create a new one.`),r;Ne.isInternalConstructing=!0;let n=new Ne(t);return Hb.set(t.id,n),n}static __prepare(t,r){Ne.preparation.channel=t,Ne.preparation.environment=r,Ne.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!==Ne.Status.READY)throw new TypeError(Be`Cannot set state before store is ready. You can get the current status with store.status,
32
+ or await store.readyPromise to wait for the store to be ready before sending events.
33
+ ${JSON.stringify({newState:n,id:this.id,actor:this.actor,environment:this.environment},null,2)}`);this.state=n;let o={type:Ne.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(Ne.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===Ne.ActorType.LEADER?this.emitToChannel({type:Ne.InternalEventType.LEADER_CREATED},{actor:this.actor}):(this.emitToChannel({type:Ne.InternalEventType.FOLLOWER_CREATED},{actor:this.actor}),this.emitToChannel({type:Ne.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===Mr.PENDING&&r.type!==Ne.InternalEventType.EXISTING_STATE_RESPONSE){this.debug("handleChannelEvents: Ignoring event while syncing",{channelEvent:t});return}if(this.debug("handleChannelEvents",{channelEvent:t}),this.actor.type===Ne.ActorType.LEADER){let o=!0;switch(r.type){case Ne.InternalEventType.EXISTING_STATE_REQUEST:o=!1;let i={type:Ne.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 Ne.InternalEventType.LEADER_CREATED:o=!1,this.syncing.state=Mr.REJECTED,this.debug("handleChannelEvents: erroring due to second leader being created",{event:r}),console.error(Be`Detected multiple UniversalStore leaders created with the same id "${this.id}".
34
+ Only one leader can exists at a time, your stores are now in an invalid state.
35
+ Leaders detected:
36
+ this: ${JSON.stringify(this.actor,null,2)}
37
+ other: ${JSON.stringify(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===Ne.ActorType.FOLLOWER)switch(r.type){case Ne.InternalEventType.EXISTING_STATE_RESPONSE:if(this.debug("handleChannelEvents: Setting state from leader's existing state response",{event:r}),this.syncing?.state!==Mr.PENDING)break;this.syncing.resolve?.();let o={type:Ne.InternalEventType.SET_STATE,payload:{state:r.payload,previousState:this.state}};this.state=r.payload,this.emitToListeners(o,n);break}r.type===Ne.InternalEventType.SET_STATE&&(this.debug("handleChannelEvents: Setting state",{event:r}),this.state=r.payload.state),this.emitToListeners(r,{actor:n.actor})}debug(t,r){this.debugging&&console.debug(Be`[UniversalStore::${this.id}::${this.environment??Ne.Environment.UNKNOWN}]
38
+ ${t}`,JSON.stringify({data:r,actor:this.actor,state:this.state,status:this.status},null,2))}static __reset(){Ne.preparation.reject(new Error("reset")),Ne.setupPreparationPromise(),Ne.isInternalConstructing=!1}};ri.ActorType={LEADER:"LEADER",FOLLOWER:"FOLLOWER"},ri.Environment={SERVER:"SERVER",MANAGER:"MANAGER",PREVIEW:"PREVIEW",UNKNOWN:"UNKNOWN",MOCK:"MOCK"},ri.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"},ri.Status={UNPREPARED:"UNPREPARED",SYNCING:"SYNCING",READY:"READY",ERROR:"ERROR"},ri.isInternalConstructing=!1,ri.setupPreparationPromise();var vp=ri,uF=e=>e.transports!==void 0,cF=()=>Math.random().toString(16).slice(2),rd=class{constructor(e={}){this.sender=cF(),this.events={},this.data={},this.transports=[],this.isAsync=e.async||!1,uF(e)?(this.transports=e.transports||[],this.transports.forEach(t=>{t.setHandler(r=>this.handleEvent(r))})):this.transports=e.transport?[e.transport]:[],this.transports.forEach(t=>{t.setHandler(r=>this.handleEvent(r))})}get hasTransport(){return this.transports.length>0}addListener(e,t){this.events[e]=this.events[e]||[],this.events[e].push(t)}emit(e,...t){let r={type:e,args:t,from:this.sender},n={};t.length>=1&&t[0]&&t[0].options&&(n=t[0].options);let o=()=>{this.transports.forEach(i=>{i.send(r,n)}),this.handleEvent(r)};this.isAsync?setImmediate(o):o()}last(e){return this.data[e]}eventNames(){return Object.keys(this.events)}listenerCount(e){let t=this.listeners(e);return t?t.length:0}listeners(e){return this.events[e]||void 0}once(e,t){let r=this.onceListener(e,t);this.addListener(e,r)}removeAllListeners(e){e?this.events[e]&&delete this.events[e]:this.events={}}removeListener(e,t){let r=this.listeners(e);r&&(this.events[e]=r.filter(n=>n!==t))}on(e,t){this.addListener(e,t)}off(e,t){this.removeListener(e,t)}handleEvent(e){let t=this.listeners(e.type);t&&t.length&&t.forEach(r=>{r.apply(e,e.args)}),this.data[e.type]=e.args}onceListener(e,t){let r=(...n)=>(this.removeListener(e,r),t(...n));return r}},O0={};Er(O0,{deprecate:()=>Pm,logger:()=>lt,once:()=>Et,pretty:()=>Cr});var{LOGLEVEL:dF}=he,go={trace:1,debug:2,info:3,warn:4,error:5,silent:10},pF=dF,Di=go[pF]||go.info,lt={trace:(e,...t)=>{Di<=go.trace&&console.trace(e,...t)},debug:(e,...t)=>{Di<=go.debug&&console.debug(e,...t)},info:(e,...t)=>{Di<=go.info&&console.info(e,...t)},warn:(e,...t)=>{Di<=go.warn&&console.warn(e,...t)},error:(e,...t)=>{Di<=go.error&&console.error(e,...t)},log:(e,...t)=>{Di<go.silent&&console.log(e,...t)}},xf=new Set,Et=e=>(t,...r)=>{if(!xf.has(t))return xf.add(t),lt[e](t,...r)};Et.clear=()=>xf.clear();Et.trace=Et("trace");Et.debug=Et("debug");Et.info=Et("info");Et.warn=Et("warn");Et.error=Et("error");Et.log=Et("log");var Pm=Et("warn"),Cr=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])}lt[e].apply(lt,r)};Cr.trace=Cr("trace");Cr.debug=Cr("debug");Cr.info=Cr("info");Cr.warn=Cr("warn");Cr.error=Cr("error");var fF=Object.create,A0=Object.defineProperty,hF=Object.getOwnPropertyDescriptor,C0=Object.getOwnPropertyNames,mF=Object.getPrototypeOf,yF=Object.prototype.hasOwnProperty,qe=(e,t)=>function(){return t||(0,e[C0(e)[0]])((t={exports:{}}).exports,t),t.exports},gF=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of C0(t))!yF.call(e,o)&&o!==r&&A0(e,o,{get:()=>t[o],enumerable:!(n=hF(t,o))||n.enumerable});return e},xm=(e,t,r)=>(r=e!=null?fF(mF(e)):{},gF(!e||!e.__esModule?A0(r,"default",{value:e,enumerable:!0}):r,e)),bF=["bubbles","cancelBubble","cancelable","composed","currentTarget","defaultPrevented","eventPhase","isTrusted","returnValue","srcElement","target","timeStamp","type"],vF=["detail"];function EF(e){let t=bF.filter(r=>e[r]!==void 0).reduce((r,n)=>(r[n]=e[n],r),{});if(e instanceof CustomEvent)for(let r of vF.filter(n=>e[n]!==void 0))t[r]=e[r];return t}var P0=qe({"node_modules/.pnpm/es-object-atoms@1.1.1/node_modules/es-object-atoms/index.js"(e,t){t.exports=Object}}),_F=qe({"node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/index.js"(e,t){t.exports=Error}}),TF=qe({"node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/eval.js"(e,t){t.exports=EvalError}}),wF=qe({"node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/range.js"(e,t){t.exports=RangeError}}),SF=qe({"node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/ref.js"(e,t){t.exports=ReferenceError}}),RF=qe({"node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/syntax.js"(e,t){t.exports=SyntaxError}}),Nm=qe({"node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/type.js"(e,t){t.exports=TypeError}}),OF=qe({"node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/uri.js"(e,t){t.exports=URIError}}),AF=qe({"node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/abs.js"(e,t){t.exports=Math.abs}}),CF=qe({"node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/floor.js"(e,t){t.exports=Math.floor}}),PF=qe({"node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/max.js"(e,t){t.exports=Math.max}}),xF=qe({"node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/min.js"(e,t){t.exports=Math.min}}),NF=qe({"node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/pow.js"(e,t){t.exports=Math.pow}}),IF=qe({"node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/round.js"(e,t){t.exports=Math.round}}),MF=qe({"node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/isNaN.js"(e,t){t.exports=Number.isNaN||function(r){return r!==r}}}),jF=qe({"node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/sign.js"(e,t){var r=MF();t.exports=function(n){return r(n)||n===0?n:n<0?-1:1}}}),qF=qe({"node_modules/.pnpm/gopd@1.2.0/node_modules/gopd/gOPD.js"(e,t){t.exports=Object.getOwnPropertyDescriptor}}),Im=qe({"node_modules/.pnpm/gopd@1.2.0/node_modules/gopd/index.js"(e,t){var r=qF();if(r)try{r([],"length")}catch{r=null}t.exports=r}}),LF=qe({"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}}),x0=qe({"node_modules/.pnpm/has-symbols@1.1.0/node_modules/has-symbols/shams.js"(e,t){t.exports=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var 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 a=Object.getOwnPropertySymbols(r);if(a.length!==1||a[0]!==n||!Object.prototype.propertyIsEnumerable.call(r,n))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var l=Object.getOwnPropertyDescriptor(r,n);if(l.value!==i||l.enumerable!==!0)return!1}return!0}}}),N0=qe({"node_modules/.pnpm/has-symbols@1.1.0/node_modules/has-symbols/index.js"(e,t){var r=typeof Symbol<"u"&&Symbol,n=x0();t.exports=function(){return typeof r!="function"||typeof Symbol!="function"||typeof r("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:n()}}}),I0=qe({"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}}),M0=qe({"node_modules/.pnpm/get-proto@1.0.1/node_modules/get-proto/Object.getPrototypeOf.js"(e,t){var r=P0();t.exports=r.getPrototypeOf||null}}),kF=qe({"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=function(u,c){for(var d=[],f=0;f<u.length;f+=1)d[f]=u[f];for(var h=0;h<c.length;h+=1)d[h+u.length]=c[h];return d},a=function(u,c){for(var d=[],f=c,h=0;f<u.length;f+=1,h+=1)d[h]=u[f];return d},l=function(u,c){for(var d="",f=0;f<u.length;f+=1)d+=u[f],f+1<u.length&&(d+=c);return d};t.exports=function(u){var c=this;if(typeof c!="function"||n.apply(c)!==i)throw new TypeError(r+c);for(var d=a(arguments,1),f,h=function(){if(this instanceof f){var E=c.apply(this,s(d,arguments));return Object(E)===E?E:this}return c.apply(u,s(d,arguments))},m=o(0,c.length-d.length),g=[],v=0;v<m;v++)g[v]="$"+v;if(f=Function("binder","return function ("+l(g,",")+"){ return binder.apply(this,arguments); }")(h),c.prototype){var b=function(){};b.prototype=c.prototype,f.prototype=new b,b.prototype=null}return f}}}),nd=qe({"node_modules/.pnpm/function-bind@1.1.2/node_modules/function-bind/index.js"(e,t){var r=kF();t.exports=Function.prototype.bind||r}}),Mm=qe({"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}}),j0=qe({"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}}),DF=qe({"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}}),FF=qe({"node_modules/.pnpm/call-bind-apply-helpers@1.0.2/node_modules/call-bind-apply-helpers/actualApply.js"(e,t){var r=nd(),n=j0(),o=Mm(),i=DF();t.exports=i||r.call(o,n)}}),q0=qe({"node_modules/.pnpm/call-bind-apply-helpers@1.0.2/node_modules/call-bind-apply-helpers/index.js"(e,t){var r=nd(),n=Nm(),o=Mm(),i=FF();t.exports=function(s){if(s.length<1||typeof s[0]!="function")throw new n("a function is required");return i(r,o,s)}}}),$F=qe({"node_modules/.pnpm/dunder-proto@1.0.1/node_modules/dunder-proto/get.js"(e,t){var r=q0(),n=Im(),o;try{o=[].__proto__===Array.prototype}catch(l){if(!l||typeof l!="object"||!("code"in l)||l.code!=="ERR_PROTO_ACCESS")throw l}var i=!!o&&n&&n(Object.prototype,"__proto__"),s=Object,a=s.getPrototypeOf;t.exports=i&&typeof i.get=="function"?r([i.get]):typeof a=="function"?(function(l){return a(l==null?l:s(l))}):!1}}),BF=qe({"node_modules/.pnpm/get-proto@1.0.1/node_modules/get-proto/index.js"(e,t){var r=I0(),n=M0(),o=$F();t.exports=r?function(i){return r(i)}:n?function(i){if(!i||typeof i!="object"&&typeof i!="function")throw new TypeError("getProto: not an object");return n(i)}:o?function(i){return o(i)}:null}}),L0=qe({"node_modules/.pnpm/hasown@2.0.2/node_modules/hasown/index.js"(e,t){var r=Function.prototype.call,n=Object.prototype.hasOwnProperty,o=nd();t.exports=o.call(r,n)}}),VF=qe({"node_modules/.pnpm/get-intrinsic@1.3.0/node_modules/get-intrinsic/index.js"(e,t){var r,n=P0(),o=_F(),i=TF(),s=wF(),a=SF(),l=RF(),u=Nm(),c=OF(),d=AF(),f=CF(),h=PF(),m=xF(),g=NF(),v=IF(),b=jF(),E=Function,S=function(le){try{return E('"use strict"; return ('+le+").constructor;")()}catch{}},A=Im(),C=LF(),T=function(){throw new u},w=A?(function(){try{return arguments.callee,T}catch{try{return A(arguments,"callee").get}catch{return T}}})():T,_=N0()(),R=BF(),M=M0(),N=I0(),q=j0(),x=Mm(),P={},L=typeof Uint8Array>"u"||!R?r:R(Uint8Array),$={__proto__:null,"%AggregateError%":typeof AggregateError>"u"?r:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?r:ArrayBuffer,"%ArrayIteratorPrototype%":_&&R?R([][Symbol.iterator]()):r,"%AsyncFromSyncIteratorPrototype%":r,"%AsyncFunction%":P,"%AsyncGenerator%":P,"%AsyncGeneratorFunction%":P,"%AsyncIteratorPrototype%":P,"%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%":E,"%GeneratorFunction%":P,"%Int8Array%":typeof Int8Array>"u"?r:Int8Array,"%Int16Array%":typeof Int16Array>"u"?r:Int16Array,"%Int32Array%":typeof Int32Array>"u"?r:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":_&&R?R(R([][Symbol.iterator]())):r,"%JSON%":typeof JSON=="object"?JSON:r,"%Map%":typeof Map>"u"?r:Map,"%MapIteratorPrototype%":typeof Map>"u"||!_||!R?r:R(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%":a,"%Reflect%":typeof Reflect>"u"?r:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?r:Set,"%SetIteratorPrototype%":typeof Set>"u"||!_||!R?r:R(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?r:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":_&&R?R(""[Symbol.iterator]()):r,"%Symbol%":_?Symbol:r,"%SyntaxError%":l,"%ThrowTypeError%":w,"%TypedArray%":L,"%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%":c,"%WeakMap%":typeof WeakMap>"u"?r:WeakMap,"%WeakRef%":typeof WeakRef>"u"?r:WeakRef,"%WeakSet%":typeof WeakSet>"u"?r:WeakSet,"%Function.prototype.call%":x,"%Function.prototype.apply%":q,"%Object.defineProperty%":C,"%Object.getPrototypeOf%":M,"%Math.abs%":d,"%Math.floor%":f,"%Math.max%":h,"%Math.min%":m,"%Math.pow%":g,"%Math.round%":v,"%Math.sign%":b,"%Reflect.getPrototypeOf%":N};if(R)try{null.error}catch(le){V=R(R(le)),$["%Error.prototype%"]=V}var V,G=function le(ge){var k;if(ge==="%AsyncFunction%")k=S("async function () {}");else if(ge==="%GeneratorFunction%")k=S("function* () {}");else if(ge==="%AsyncGeneratorFunction%")k=S("async function* () {}");else if(ge==="%AsyncGenerator%"){var U=le("%AsyncGeneratorFunction%");U&&(k=U.prototype)}else if(ge==="%AsyncIteratorPrototype%"){var z=le("%AsyncGenerator%");z&&R&&(k=R(z.prototype))}return $[ge]=k,k},ie={__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"]},Ee=nd(),fe=L0(),j=Ee.call(x,Array.prototype.concat),H=Ee.call(q,Array.prototype.splice),oe=Ee.call(x,String.prototype.replace),te=Ee.call(x,String.prototype.slice),Z=Ee.call(x,RegExp.prototype.exec),ye=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,me=/\\(\\)?/g,De=function(le){var ge=te(le,0,1),k=te(le,-1);if(ge==="%"&&k!=="%")throw new l("invalid intrinsic syntax, expected closing `%`");if(k==="%"&&ge!=="%")throw new l("invalid intrinsic syntax, expected opening `%`");var U=[];return oe(le,ye,function(z,Q,X,re){U[U.length]=X?oe(re,me,"$1"):Q||z}),U},J=function(le,ge){var k=le,U;if(fe(ie,k)&&(U=ie[k],k="%"+U[0]+"%"),fe($,k)){var z=$[k];if(z===P&&(z=G(k)),typeof z>"u"&&!ge)throw new u("intrinsic "+le+" exists, but is not available. Please file an issue!");return{alias:U,name:k,value:z}}throw new l("intrinsic "+le+" does not exist!")};t.exports=function(le,ge){if(typeof le!="string"||le.length===0)throw new u("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof ge!="boolean")throw new u('"allowMissing" argument must be a boolean');if(Z(/^%?[^%]*%?$/,le)===null)throw new l("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var k=De(le),U=k.length>0?k[0]:"",z=J("%"+U+"%",ge),Q=z.name,X=z.value,re=!1,ce=z.alias;ce&&(U=ce[0],H(k,j([0,1],ce)));for(var ae=1,se=!0;ae<k.length;ae+=1){var ne=k[ae],_e=te(ne,0,1),pe=te(ne,-1);if((_e==='"'||_e==="'"||_e==="`"||pe==='"'||pe==="'"||pe==="`")&&_e!==pe)throw new l("property names with quotes must have matching quotes");if((ne==="constructor"||!se)&&(re=!0),U+="."+ne,Q="%"+U+"%",fe($,Q))X=$[Q];else if(X!=null){if(!(ne in X)){if(!ge)throw new u("base intrinsic for "+le+" exists, but the property is not available.");return}if(A&&ae+1>=k.length){var ve=A(X,ne);se=!!ve,se&&"get"in ve&&!("originalValue"in ve.get)?X=ve.get:X=X[ne]}else se=fe(X,ne),X=X[ne];se&&!re&&($[Q]=X)}}return X}}}),jm=qe({"node_modules/.pnpm/call-bound@1.0.4/node_modules/call-bound/index.js"(e,t){var r=VF(),n=q0(),o=n([r("%String.prototype.indexOf%")]);t.exports=function(i,s){var a=r(i,!!s);return typeof a=="function"&&o(i,".prototype.")>-1?n([a]):a}}}),UF=qe({"node_modules/.pnpm/has-tostringtag@1.0.2/node_modules/has-tostringtag/shams.js"(e,t){var r=x0();t.exports=function(){return r()&&!!Symbol.toStringTag}}}),k0=qe({"node_modules/.pnpm/is-regex@1.2.1/node_modules/is-regex/index.js"(e,t){var r=jm(),n=UF()(),o=L0(),i=Im(),s;n?(a=r("RegExp.prototype.exec"),l={},u=function(){throw l},c={toString:u,valueOf:u},typeof Symbol.toPrimitive=="symbol"&&(c[Symbol.toPrimitive]=u),s=function(h){if(!h||typeof h!="object")return!1;var m=i(h,"lastIndex"),g=m&&o(m,"value");if(!g)return!1;try{a(h,c)}catch(v){return v===l}}):(d=r("Object.prototype.toString"),f="[object RegExp]",s=function(h){return!h||typeof h!="object"&&typeof h!="function"?!1:d(h)===f});var a,l,u,c,d,f;t.exports=s}}),HF=qe({"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)}}}),JF=qe({"node_modules/.pnpm/safe-regex-test@1.1.0/node_modules/safe-regex-test/index.js"(e,t){var r=jm(),n=k0(),o=r("RegExp.prototype.exec"),i=Nm();t.exports=function(s){if(!n(s))throw new i("`regex` must be a RegExp");return function(a){return o(s,a)!==null}}}}),GF=qe({"node_modules/.pnpm/is-symbol@1.1.1/node_modules/is-symbol/index.js"(e,t){var r=jm(),n=r("Object.prototype.toString"),o=N0()(),i=JF();o?(s=r("Symbol.prototype.toString"),a=i(/^Symbol\(.*\)$/),l=function(u){return typeof u.valueOf()!="symbol"?!1:a(s(u))},t.exports=function(u){if(typeof u=="symbol")return!0;if(!u||typeof u!="object"||n(u)!=="[object Symbol]")return!1;try{return l(u)}catch{return!1}}):t.exports=function(u){return!1};var s,a,l}}),WF=xm(k0()),KF=xm(HF()),zF=xm(GF());function YF(e){return e!=null&&typeof e=="object"&&Array.isArray(e)===!1}var XF=typeof global=="object"&&global&&global.Object===Object&&global,QF=XF,ZF=typeof self=="object"&&self&&self.Object===Object&&self,e$=QF||ZF||Function("return this")(),qm=e$,t$=qm.Symbol,ds=t$,D0=Object.prototype,r$=D0.hasOwnProperty,n$=D0.toString,ra=ds?ds.toStringTag:void 0;function o$(e){var t=r$.call(e,ra),r=e[ra];try{e[ra]=void 0;var n=!0}catch{}var o=n$.call(e);return n&&(t?e[ra]=r:delete e[ra]),o}var i$=o$,s$=Object.prototype,a$=s$.toString;function l$(e){return a$.call(e)}var u$=l$,c$="[object Null]",d$="[object Undefined]",Jb=ds?ds.toStringTag:void 0;function p$(e){return e==null?e===void 0?d$:c$:Jb&&Jb in Object(e)?i$(e):u$(e)}var F0=p$;function f$(e){return e!=null&&typeof e=="object"}var h$=f$,m$="[object Symbol]";function y$(e){return typeof e=="symbol"||h$(e)&&F0(e)==m$}var Lm=y$;function g$(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}var b$=g$,v$=Array.isArray,km=v$,Gb=ds?ds.prototype:void 0,Wb=Gb?Gb.toString:void 0;function $0(e){if(typeof e=="string")return e;if(km(e))return b$(e,$0)+"";if(Lm(e))return Wb?Wb.call(e):"";var t=e+"";return t=="0"&&1/e==-1/0?"-0":t}var E$=$0;function _$(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var B0=_$,T$="[object AsyncFunction]",w$="[object Function]",S$="[object GeneratorFunction]",R$="[object Proxy]";function O$(e){if(!B0(e))return!1;var t=F0(e);return t==w$||t==S$||t==T$||t==R$}var A$=O$,C$=qm["__core-js_shared__"],Ep=C$,Kb=(function(){var e=/[^.]+$/.exec(Ep&&Ep.keys&&Ep.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""})();function P$(e){return!!Kb&&Kb in e}var x$=P$,N$=Function.prototype,I$=N$.toString;function M$(e){if(e!=null){try{return I$.call(e)}catch{}try{return e+""}catch{}}return""}var j$=M$,q$=/[\\^$.*+?()[\]{}|]/g,L$=/^\[object .+?Constructor\]$/,k$=Function.prototype,D$=Object.prototype,F$=k$.toString,$$=D$.hasOwnProperty,B$=RegExp("^"+F$.call($$).replace(q$,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function V$(e){if(!B0(e)||x$(e))return!1;var t=A$(e)?B$:L$;return t.test(j$(e))}var U$=V$;function H$(e,t){return e?.[t]}var J$=H$;function G$(e,t){var r=J$(e,t);return U$(r)?r:void 0}var V0=G$;function W$(e,t){return e===t||e!==e&&t!==t}var K$=W$,z$=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Y$=/^\w*$/;function X$(e,t){if(km(e))return!1;var r=typeof e;return r=="number"||r=="symbol"||r=="boolean"||e==null||Lm(e)?!0:Y$.test(e)||!z$.test(e)||t!=null&&e in Object(t)}var Q$=X$,Z$=V0(Object,"create"),Ua=Z$;function eB(){this.__data__=Ua?Ua(null):{},this.size=0}var tB=eB;function rB(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}var nB=rB,oB="__lodash_hash_undefined__",iB=Object.prototype,sB=iB.hasOwnProperty;function aB(e){var t=this.__data__;if(Ua){var r=t[e];return r===oB?void 0:r}return sB.call(t,e)?t[e]:void 0}var lB=aB,uB=Object.prototype,cB=uB.hasOwnProperty;function dB(e){var t=this.__data__;return Ua?t[e]!==void 0:cB.call(t,e)}var pB=dB,fB="__lodash_hash_undefined__";function hB(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=Ua&&t===void 0?fB:t,this}var mB=hB;function Ds(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])}}Ds.prototype.clear=tB;Ds.prototype.delete=nB;Ds.prototype.get=lB;Ds.prototype.has=pB;Ds.prototype.set=mB;var zb=Ds;function yB(){this.__data__=[],this.size=0}var gB=yB;function bB(e,t){for(var r=e.length;r--;)if(K$(e[r][0],t))return r;return-1}var od=bB,vB=Array.prototype,EB=vB.splice;function _B(e){var t=this.__data__,r=od(t,e);if(r<0)return!1;var n=t.length-1;return r==n?t.pop():EB.call(t,r,1),--this.size,!0}var TB=_B;function wB(e){var t=this.__data__,r=od(t,e);return r<0?void 0:t[r][1]}var SB=wB;function RB(e){return od(this.__data__,e)>-1}var OB=RB;function AB(e,t){var r=this.__data__,n=od(r,e);return n<0?(++this.size,r.push([e,t])):r[n][1]=t,this}var CB=AB;function Fs(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])}}Fs.prototype.clear=gB;Fs.prototype.delete=TB;Fs.prototype.get=SB;Fs.prototype.has=OB;Fs.prototype.set=CB;var PB=Fs,xB=V0(qm,"Map"),NB=xB;function IB(){this.size=0,this.__data__={hash:new zb,map:new(NB||PB),string:new zb}}var MB=IB;function jB(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}var qB=jB;function LB(e,t){var r=e.__data__;return qB(t)?r[typeof t=="string"?"string":"hash"]:r.map}var id=LB;function kB(e){var t=id(this,e).delete(e);return this.size-=t?1:0,t}var DB=kB;function FB(e){return id(this,e).get(e)}var $B=FB;function BB(e){return id(this,e).has(e)}var VB=BB;function UB(e,t){var r=id(this,e),n=r.size;return r.set(e,t),this.size+=r.size==n?0:1,this}var HB=UB;function $s(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])}}$s.prototype.clear=MB;$s.prototype.delete=DB;$s.prototype.get=$B;$s.prototype.has=VB;$s.prototype.set=HB;var U0=$s,JB="Expected a function";function Dm(e,t){if(typeof e!="function"||t!=null&&typeof t!="function")throw new TypeError(JB);var r=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};return r.cache=new(Dm.Cache||U0),r}Dm.Cache=U0;var GB=Dm,WB=500;function KB(e){var t=GB(e,function(n){return r.size===WB&&r.clear(),n}),r=t.cache;return t}var zB=KB,YB=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,XB=/\\(\\)?/g,QB=zB(function(e){var t=[];return e.charCodeAt(0)===46&&t.push(""),e.replace(YB,function(r,n,o,i){t.push(o?i.replace(XB,"$1"):n||r)}),t}),ZB=QB;function e2(e){return e==null?"":E$(e)}var t2=e2;function r2(e,t){return km(e)?e:Q$(e,t)?[e]:ZB(t2(e))}var n2=r2;function o2(e){if(typeof e=="string"||Lm(e))return e;var t=e+"";return t=="0"&&1/e==-1/0?"-0":t}var i2=o2;function s2(e,t){t=n2(t,e);for(var r=0,n=t.length;e!=null&&r<n;)e=e[i2(t[r++])];return r&&r==n?e:void 0}var a2=s2;function l2(e,t,r){var n=e==null?void 0:a2(e,t);return n===void 0?r:n}var u2=l2,Fm=YF,c2=/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(\.\d{3})?Z$/,$m=e=>e.match(/^[\[\{\"\}].*[\]\}\"]$/);function H0(e){if(!Fm(e))return e;let t=e,r=!1;return typeof Event<"u"&&e instanceof Event&&(t=EF(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}var d2=function(e){let t,r,n,o;return function(i,s){try{if(i==="")return o=[],t=new Map([[s,"[]"]]),r=new Map,n=[],s;let a=r.get(this)||this;for(;n.length&&a!==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 c2.test(s)?e.allowDate?`_date_${s}`:void 0:s;if((0,WF.default)(s))return e.allowRegExp?`_regexp_${s.flags}|${s.source}`:void 0;if((0,KF.default)(s))return;if((0,zF.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 c={__isClassInstance__:!0,__className__:s.constructor.name,...Object.getOwnPropertyNames(s).reduce((d,f)=>{try{d[f]=s[f]}catch{}return d},{})};return o.push(i),n.unshift(c),t.set(s,JSON.stringify(o)),s!==c&&r.set(s,c),c}return`_duplicate_${u}`}let l=t.get(s);if(!l){let u=Array.isArray(s)?s:H0(s);return o.push(i),n.unshift(u),t.set(s,JSON.stringify(o)),s!==u&&r.set(s,u),u}return`_duplicate_${l}`}catch{return}}},p2=function(e){let t=[],r;return function(n,o){if(n===""&&(r=o,t.forEach(({target:i,container:s,replacement:a})=>{let l=$m(a)?JSON.parse(a):a.split(".");l.length===0?s[i]=r:s[i]=u2(r,l)})),n==="_constructor-name_")return o;if(Fm(o)&&o.__isConvertedError__){let{message:i,...s}=o.errorProperties,a=new Error(i);return Object.assign(a,s),a}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}},J0={maxDepth:10,space:void 0,allowRegExp:!0,allowDate:!0,allowError:!0,allowUndefined:!0,allowSymbol:!0},G0=(e,t={})=>{let r={...J0,...t};return JSON.stringify(H0(e),d2(r),t.space)},f2=()=>{let e=new Map;return function t(r){Fm(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))})}},W0=(e,t={})=>{let r={...J0,...t},n=JSON.parse(e,p2(r));return f2()(n),n},h2="Invariant failed";function Un(e,t){if(!e)throw new Error(h2)}var m2=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"),a;try{if(!s)return!1;({origin:a}=new URL(s,document.location.toString()))}catch{return!1}return a===e.origin}),o=r?.getAttribute("src");if(o&&n.length===0){let{protocol:i,host:s,pathname:a}=new URL(o,document.location.toString());return`${i}//${s}${a}`}return n.length>0&&lt.error("found multiple candidates for event source"),null},{document:_p,location:Tp}=he,Yb="storybook-channel",y2={maxDepth:25},K0=class{constructor(e){if(this.config=e,this.connected=!1,this.buffer=[],typeof he?.addEventListener=="function"&&he.addEventListener("message",this.handleEvent.bind(this),!1),e.page!=="manager"&&e.page!=="preview")throw new Error(`postmsg-channel: "config.page" cannot be "${e.page}"`)}setHandler(e){this.handler=(...t)=>{e.apply(this,t),!this.connected&&this.getLocalFrame().length&&(this.flush(),this.connected=!0)}}send(e,t){let{target:r,allowRegExp:n,allowSymbol:o,allowDate:i,allowError:s,allowUndefined:a,maxDepth:l,space:u}=t||{},c=Object.fromEntries(Object.entries({allowRegExp:n,allowSymbol:o,allowDate:i,allowError:s,allowUndefined:a,maxDepth:l,space:u}).filter(([g,v])=>typeof v<"u")),d={...y2,...he.CHANNEL_OPTIONS||{},...c},f=this.getFrames(r),h=new URLSearchParams(Tp?.search||""),m=G0({key:Yb,event:e,refId:h.get("refId")},d);return f.length?(this.buffer.length&&this.flush(),f.forEach(g=>{try{g.postMessage(m,"*")}catch{lt.error("sending over postmessage fail")}}),Promise.resolve(null)):new Promise((g,v)=>{this.buffer.push({event:e,resolve:g,reject:v})})}flush(){let{buffer:e}=this;this.buffer=[],e.forEach(t=>{this.send(t.event).then(t.resolve).catch(t.reject)})}getFrames(e){if(this.config.page==="manager"){let t=Array.from(_p.querySelectorAll("iframe[data-is-storybook][data-is-loaded]")).flatMap(r=>{try{return r.contentWindow&&r.dataset.isStorybook!==void 0&&r.id===e?[r.contentWindow]:[]}catch{return[]}});return t?.length?t:this.getCurrentFrames()}return he&&he.parent&&he.parent!==he.self?[he.parent]:[]}getCurrentFrames(){return this.config.page==="manager"?Array.from(_p.querySelectorAll('[data-is-storybook="true"]')).flatMap(e=>e.contentWindow?[e.contentWindow]:[]):he&&he.parent?[he.parent]:[]}getLocalFrame(){return this.config.page==="manager"?Array.from(_p.querySelectorAll("#storybook-preview-iframe")).flatMap(e=>e.contentWindow?[e.contentWindow]:[]):he&&he.parent?[he.parent]:[]}handleEvent(e){try{let{data:t}=e,{key:r,event:n,refId:o}=typeof t=="string"&&$m(t)?W0(t,he.CHANNEL_OPTIONS||{}):t;if(r===Yb){let i=this.config.page==="manager"?'<span style="color: #37D5D3; background: black"> manager </span>':'<span style="color: #1EA7FD; background: black"> preview </span>',s=Object.values(_m).includes(n.type)?`<span style="color: #FF4785">${n.type}</span>`:`<span style="color: #FFAE00">${n.type}</span>`;if(o&&(n.refId=o),n.source=this.config.page==="preview"?e.origin:m2(e),!n.source){Cr.error(`${i} received ${s} but was unable to determine the source of the event`);return}let a=`${i} received ${s} (${t.length})`;Cr.debug(Tp.origin!==n.source?a:`${a} <span style="color: gray">(on ${Tp.origin} from ${n.source})</span>`,...n.args),Un(this.handler,"ChannelHandler should be set"),this.handler(n)}}catch(t){lt.error(t)}}},{WebSocket:g2}=he,z0=15e3,Y0=5e3,X0=class{constructor({url:e,onError:t,page:r}){this.buffer=[],this.isReady=!1,this.isClosed=!1,this.pingTimeout=0,this.socket=new g2(e),this.socket.onopen=()=>{this.isReady=!0,this.heartbeat(),this.flush()},this.socket.onmessage=({data:n})=>{let o=typeof n=="string"&&$m(n)?W0(n):n;Un(this.handler),this.handler(o),o.type==="ping"&&(this.heartbeat(),this.send({type:"pong"}))},this.socket.onerror=n=>{t&&t(n)},this.socket.onclose=n=>{Un(this.handler),this.handler({type:t0,args:[{reason:n.reason,code:n.code}],from:r||"preview"}),this.isClosed=!0,clearTimeout(this.pingTimeout)}}heartbeat(){clearTimeout(this.pingTimeout),this.pingTimeout=setTimeout(()=>{this.socket.close(3008,"timeout")},z0+Y0)}setHandler(e){this.handler=e}send(e){this.isClosed||(this.isReady?this.sendNow(e):this.sendLater(e))}sendLater(e){this.buffer.push(e)}sendNow(e){let t=G0(e,{maxDepth:15,...he.CHANNEL_OPTIONS});this.socket.send(t)}flush(){let{buffer:e}=this;this.buffer=[],e.forEach(t=>this.send(t))}},{CONFIG_TYPE:b2}=he,v2=rd;function E2({page:e,extraTransports:t=[]}){let r=[new K0({page:e}),...t];if(b2==="DEVELOPMENT"){let o=window.location.protocol==="http:"?"ws":"wss",{hostname:i,port:s}=window.location,a=`${o}://${i}:${s}/storybook-server-channel`;r.push(new X0({url:a,onError:()=>{},page:e}))}let n=new rd({transports:r});return vp.__prepare(n,e==="manager"?vp.Environment.MANAGER:vp.Environment.PREVIEW),n}var Q0={};Er(Q0,{CalledExtractOnStoreError:()=>nS,CalledPreviewMethodBeforeInitializationError:()=>wr,Category:()=>eS,ElementA11yParameterError:()=>O2,EmptyIndexError:()=>aS,ImplicitActionsDuringRendering:()=>rS,MdxFileWithNoCsfReferencesError:()=>sS,MissingRenderToCanvasError:()=>oS,MissingStoryAfterHmrError:()=>tS,MissingStoryFromCsfFileError:()=>uS,MountMustBeDestructuredError:()=>Bm,NextJsSharpError:()=>T2,NextjsRouterMocksNotAvailable:()=>w2,NoRenderFunctionError:()=>dS,NoStoryMatchError:()=>lS,NoStoryMountedError:()=>pS,StatusTypeIdMismatchError:()=>_2,StoryIndexFetchError:()=>iS,StoryStoreAccessedBeforeInitializationError:()=>cS,UnknownArgTypesError:()=>S2,UnsupportedViewportDimensionError:()=>R2});function Xb({code:e,category:t}){let r=String(e).padStart(4,"0");return`SB_${t}_${r}`}function Qb(e){if(/^(?!.*storybook\.js\.org)|[?&]ref=error\b/.test(e))return e;try{let t=new URL(e);return t.searchParams.set("ref","error"),t.toString()}catch{return e}}var xt=class Z0 extends Error{constructor(t){super(Z0.getFullMessage(t)),this.data={},this.fromStorybook=!0,this.isHandledError=!1,this.subErrors=[],this.category=t.category,this.documentation=t.documentation??!1,this.code=t.code,this.isHandledError=t.isHandledError??!1,this.name=t.name,this.subErrors=t.subErrors??[]}get fullErrorCode(){return Xb({code:this.code,category:this.category})}get name(){let t=this._name||this.constructor.name;return`${this.fullErrorCode} (${t})`}set name(t){this._name=t}static getFullMessage({documentation:t,code:r,category:n,message:o}){let i;return t===!0?i=`https://storybook.js.org/error/${Xb({code:r,category:n})}?ref=error`:typeof t=="string"?i=Qb(t):Array.isArray(t)&&(i=`
39
+ ${t.map(s=>` - ${Qb(s)}`).join(`
40
+ `)}`),`${o}${i!=null?`
41
+
42
+ More info: ${i}
43
+ `:""}`}},eS=(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))(eS||{}),tS=class extends xt{constructor(e){super({name:"MissingStoryAfterHmrError",category:"PREVIEW_API",code:1,message:Be`
44
+ Couldn't find story matching id '${e.storyId}' after HMR.
45
+ - Did you just rename a story?
46
+ - Did you remove it from your CSF file?
47
+ - Are you sure a story with the id '${e.storyId}' exists?
48
+ - Please check the values in the stories field of your main.js config and see if they would match your CSF File.
49
+ - Also check the browser console and terminal for potential error messages.`}),this.data=e}},rS=class extends xt{constructor(e){super({name:"ImplicitActionsDuringRendering",category:"PREVIEW_API",code:2,documentation:"https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#using-implicit-actions-during-rendering-is-deprecated-for-example-in-the-play-function",message:Be`
50
+ We detected that you use an implicit action arg while ${e.phase} of your story.
51
+ ${e.deprecated?`
52
+ This is deprecated and won't work in Storybook 8 anymore.
53
+ `:""}
54
+ Please provide an explicit spy to your args like this:
55
+ import { fn } from 'storybook/test';
56
+ ...
57
+ args: {
58
+ ${e.name}: fn()
59
+ }`}),this.data=e}},nS=class extends xt{constructor(){super({name:"CalledExtractOnStoreError",category:"PREVIEW_API",code:3,message:Be`
60
+ Cannot call \`storyStore.extract()\` without calling \`storyStore.cacheAllCsfFiles()\` first.
61
+
62
+ You probably meant to call \`await preview.extract()\` which does the above for you.`})}},oS=class extends xt{constructor(){super({name:"MissingRenderToCanvasError",category:"PREVIEW_API",code:4,message:Be`
63
+ Expected your framework's preset to export a \`renderToCanvas\` field.
64
+
65
+ Perhaps it needs to be upgraded for Storybook 7.0?`,documentation:"https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#mainjs-framework-field"})}},wr=class extends xt{constructor(e){super({name:"CalledPreviewMethodBeforeInitializationError",category:"PREVIEW_API",code:5,message:Be`
66
+ Called \`Preview.${e.methodName}()\` before initialization.
67
+
68
+ The preview needs to load the story index before most methods can be called. If you want
69
+ to call \`${e.methodName}\`, try \`await preview.initializationPromise;\` first.
70
+
71
+ If you didn't call the above code, then likely it was called by an addon that needs to
72
+ do the above.`}),this.data=e}},iS=class extends xt{constructor(e){super({name:"StoryIndexFetchError",category:"PREVIEW_API",code:6,message:Be`
73
+ Error fetching \`/index.json\`:
74
+
75
+ ${e.text}
76
+
77
+ If you are in development, this likely indicates a problem with your Storybook process,
78
+ check the terminal for errors.
79
+
80
+ If you are in a deployed Storybook, there may have been an issue deploying the full Storybook
81
+ build.`}),this.data=e}},sS=class extends xt{constructor(e){super({name:"MdxFileWithNoCsfReferencesError",category:"PREVIEW_API",code:7,message:Be`
82
+ Tried to render docs entry ${e.storyId} but it is a MDX file that has no CSF
83
+ references, or autodocs for a CSF file that some doesn't refer to itself.
84
+
85
+ This likely is an internal error in Storybook's indexing, or you've attached the
86
+ \`attached-mdx\` tag to an MDX file that is not attached.`}),this.data=e}},aS=class extends xt{constructor(){super({name:"EmptyIndexError",category:"PREVIEW_API",code:8,message:Be`
87
+ Couldn't find any stories in your Storybook.
88
+
89
+ - Please check your stories field of your main.js config: does it match correctly?
90
+ - Also check the browser console and terminal for error messages.`})}},lS=class extends xt{constructor(e){super({name:"NoStoryMatchError",category:"PREVIEW_API",code:9,message:Be`
91
+ Couldn't find story matching '${e.storySpecifier}'.
92
+
93
+ - Are you sure a story with that id exists?
94
+ - Please check your stories field of your main.js config.
95
+ - Also check the browser console and terminal for error messages.`}),this.data=e}},uS=class extends xt{constructor(e){super({name:"MissingStoryFromCsfFileError",category:"PREVIEW_API",code:10,message:Be`
96
+ Couldn't find story matching id '${e.storyId}' after importing a CSF file.
97
+
98
+ The file was indexed as if the story was there, but then after importing the file in the browser
99
+ we didn't find the story. Possible reasons:
100
+ - You are using a custom story indexer that is misbehaving.
101
+ - You have a custom file loader that is removing or renaming exports.
102
+
103
+ Please check your browser console and terminal for errors that may explain the issue.`}),this.data=e}},cS=class extends xt{constructor(){super({name:"StoryStoreAccessedBeforeInitializationError",category:"PREVIEW_API",code:11,message:Be`
104
+ Cannot access the Story Store until the index is ready.
105
+
106
+ It is not recommended to use methods directly on the Story Store anyway, in Storybook 9 we will
107
+ remove access to the store entirely`})}},Bm=class extends xt{constructor(e){super({name:"MountMustBeDestructuredError",category:"PREVIEW_API",code:12,message:Be`
108
+ Incorrect use of mount in the play function.
109
+
110
+ To use mount in the play function, you must satisfy the following two requirements:
111
+
112
+ 1. You *must* destructure the mount property from the \`context\` (the argument passed to your play function).
113
+ This makes sure that Storybook does not start rendering the story before the play function begins.
114
+
115
+ 2. Your Storybook framework or builder must be configured to transpile to ES2017 or newer.
116
+ This is because destructuring statements and async/await usages are otherwise transpiled away,
117
+ which prevents Storybook from recognizing your usage of \`mount\`.
118
+
119
+ Note that Angular is not supported. As async/await is transpiled to support the zone.js polyfill.
120
+
121
+ More info: https://storybook.js.org/docs/writing-tests/interaction-testing?ref=error#run-code-before-the-component-gets-rendered
122
+
123
+ Received the following play function:
124
+ ${e.playFunction}`}),this.data=e}},dS=class extends xt{constructor(e){super({name:"NoRenderFunctionError",category:"PREVIEW_API",code:14,message:Be`
125
+ No render function available for storyId '${e.id}'
126
+ `}),this.data=e}},pS=class extends xt{constructor(){super({name:"NoStoryMountedError",category:"PREVIEW_API",code:15,message:Be`
127
+ No component is mounted in your story.
128
+
129
+ This usually occurs when you destructure mount in the play function, but forget to call it.
130
+
131
+ For example:
132
+
133
+ async play({ mount, canvasElement }) {
134
+ // 👈 mount should be called: await mount();
135
+ const canvas = within(canvasElement);
136
+ const button = await canvas.findByRole('button');
137
+ await userEvent.click(button);
138
+ };
139
+
140
+ Make sure to either remove it or call mount in your play function.
141
+ `})}},_2=class extends xt{constructor(e){super({name:"StatusTypeIdMismatchError",category:"PREVIEW_API",code:16,message:`Status has typeId "${e.status.typeId}" but was added to store with typeId "${e.typeId}". Full status: ${JSON.stringify(e.status,null,2)}`}),this.data=e}},T2=class extends xt{constructor(){super({name:"NextJsSharpError",category:"FRAMEWORK_NEXTJS",code:1,documentation:"https://storybook.js.org/docs/get-started/frameworks/nextjs#error-you-are-importing-avif-images-but-you-dont-have-sharp-installed-you-have-to-install-sharp-in-order-to-use-image-optimization-features-in-nextjs",message:Be`
142
+ You are importing avif images, but you don't have sharp installed.
143
+
144
+ You have to install sharp in order to use image optimization features in Next.js.
145
+ `})}},w2=class extends xt{constructor(e){super({name:"NextjsRouterMocksNotAvailable",category:"FRAMEWORK_NEXTJS",code:2,message:Be`
146
+ Tried to access router mocks from "${e.importType}" but they were not created yet. You might be running code in an unsupported environment.
147
+ `}),this.data=e}},S2=class extends xt{constructor(t){super({name:"UnknownArgTypesError",category:"DOCS-TOOLS",code:1,documentation:"https://github.com/storybookjs/storybook/issues/26606",message:Be`
148
+ There was a failure when generating detailed ArgTypes in ${t.language} for:
149
+ ${JSON.stringify(t.type,null,2)}
150
+
151
+ Storybook will fall back to use a generic type description instead.
152
+
153
+ This type is either not supported or it is a bug in the docgen generation in Storybook.
154
+ If you think this is a bug, please detail it as much as possible in the Github issue.
155
+ `}),this.data=t}},R2=class extends xt{constructor(e){super({name:"UnsupportedViewportDimensionError",category:"ADDON_VITEST",code:1,message:Be`
156
+ Encountered an unsupported value "${e.value}" when setting the viewport ${e.dimension} dimension.
157
+
158
+ The Storybook plugin only supports values in the following units:
159
+ - px, vh, vw, em, rem and %.
160
+
161
+ You can either change the viewport for this story to use one of the supported units or skip the test by adding '!test' to the story's tags per https://storybook.js.org/docs/writing-stories/tags
162
+ `}),this.data=e}},O2=class extends xt{constructor(){super({name:"ElementA11yParameterError",category:"ADDON_A11Y",code:1,documentation:"https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#a11y-addon-replace-element-parameter-with-context-parameter",message:'The "element" parameter in parameters.a11y has been removed. Use "context" instead.'})}},fS={};Er(fS,{Addon_TypesEnum:()=>hS,CoreWebpackCompiler:()=>gS,Feature:()=>vS,SupportedBuilder:()=>bS,SupportedFramework:()=>mS,SupportedLanguage:()=>ES,SupportedRenderer:()=>yS});var hS=(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))(hS||{}),mS=(e=>(e.ANGULAR="angular",e.EMBER="ember",e.HTML_VITE="html-vite",e.NEXTJS="nextjs",e.NEXTJS_VITE="nextjs-vite",e.PREACT_VITE="preact-vite",e.REACT_NATIVE_WEB_VITE="react-native-web-vite",e.REACT_VITE="react-vite",e.REACT_WEBPACK5="react-webpack5",e.SERVER_WEBPACK5="server-webpack5",e.SVELTE_VITE="svelte-vite",e.SVELTEKIT="sveltekit",e.VUE3_VITE="vue3-vite",e.WEB_COMPONENTS_VITE="web-components-vite",e.HTML_RSBUILD="html-rsbuild",e.NUXT="nuxt",e.QWIK="qwik",e.REACT_RSBUILD="react-rsbuild",e.SOLID="solid",e.VUE3_RSBUILD="vue3-rsbuild",e.WEB_COMPONENTS_RSBUILD="web-components-rsbuild",e))(mS||{}),yS=(e=>(e.REACT="react",e.REACT_NATIVE="react-native",e.VUE3="vue3",e.ANGULAR="angular",e.EMBER="ember",e.PREACT="preact",e.SVELTE="svelte",e.QWIK="qwik",e.HTML="html",e.WEB_COMPONENTS="web-components",e.SERVER="server",e.SOLID="solid",e.NUXT="nuxt",e))(yS||{}),gS=(e=>(e.Babel="babel",e.SWC="swc",e))(gS||{}),bS=(e=>(e.WEBPACK5="webpack5",e.VITE="vite",e.RSBUILD="rsbuild",e))(bS||{}),vS=(e=>(e.DOCS="docs",e.TEST="test",e.ONBOARDING="onboarding",e.A11Y="a11y",e))(vS||{}),ES=(e=>(e.JAVASCRIPT="javascript",e.TYPESCRIPT="typescript",e))(ES||{}),_S={};Er(_S,{ADDON_ID:()=>sd,CLEAR_ID:()=>P2,CYCLIC_KEY:()=>x2,EVENT_ID:()=>TS,PANEL_ID:()=>C2,PARAM_KEY:()=>A2,action:()=>Fl,actions:()=>n7,config:()=>ll,configureActions:()=>e7});var A2="actions",sd="storybook/actions",C2=`${sd}/panel`,TS=`${sd}/action-event`,P2=`${sd}/action-clear`,x2="$___storybook.isCyclic",Nf={};Er(Nf,{DocsContext:()=>gg,HooksContext:()=>Vm,Preview:()=>nx,PreviewWeb:()=>HY,PreviewWithSelection:()=>ox,ReporterAPI:()=>yg,StoryStore:()=>tx,Tag:()=>Mn,UrlStore:()=>ux,WebView:()=>dx,addons:()=>Vr,applyHooks:()=>SS,combineArgs:()=>bc,combineParameters:()=>Ri,composeConfigs:()=>Ss,composeStepRunners:()=>YP,composeStories:()=>bY,composeStory:()=>ex,createPlaywrightTest:()=>vY,decorateStory:()=>VP,defaultDecorateStory:()=>HP,emitTransformCode:()=>ZY,filterArgTypes:()=>zP,getCsfFactoryAnnotations:()=>ZP,inferControls:()=>fg,makeDecorator:()=>H2,mockChannel:()=>wS,normalizeArrays:()=>ot,normalizeProjectAnnotations:()=>Ec,normalizeStory:()=>Pa,pauseAnimations:()=>hg,prepareMeta:()=>JP,prepareStory:()=>pg,sanitizeStoryContextUpdate:()=>UP,setDefaultProjectAnnotations:()=>pY,setProjectAnnotations:()=>yY,simulateDOMContentLoaded:()=>jh,simulatePageLoad:()=>KY,sortStoriesV7:()=>AY,useArgs:()=>V2,useCallback:()=>Ha,useChannel:()=>$2,useEffect:()=>Ei,useGlobals:()=>U2,useMemo:()=>OS,useParameter:()=>B2,useReducer:()=>F2,useRef:()=>L2,useState:()=>D2,useStoryContext:()=>ld,userOrAutoTitle:()=>SY,userOrAutoTitleFromSpecifier:()=>rx,waitForAnimations:()=>mg});function wS(){let e={setHandler:()=>{},send:()=>{}};return new rd({transport:e})}var N2=class{constructor(){this.getChannel=()=>{if(!this.channel){let e=wS();return this.setChannel(e),e}return this.channel},this.ready=()=>this.promise,this.hasChannel=()=>!!this.channel,this.setChannel=e=>{this.channel=e,this.resolve()},this.promise=new Promise(e=>{this.resolve=()=>e(this.getChannel())})}},wp="__STORYBOOK_ADDONS_PREVIEW";function I2(){return he[wp]||(he[wp]=new N2),he[wp]}var Vr=I2(),Vm=class{constructor(){this.hookListsMap=void 0,this.mountedDecorators=void 0,this.prevMountedDecorators=void 0,this.currentHooks=void 0,this.nextHookIndex=void 0,this.currentPhase=void 0,this.currentEffects=void 0,this.prevEffects=void 0,this.currentDecoratorName=void 0,this.hasUpdates=void 0,this.currentContext=void 0,this.renderListener=e=>{e===this.currentContext?.id&&(this.triggerEffects(),this.currentContext=null,this.removeRenderListeners())},this.init()}init(){this.hookListsMap=new WeakMap,this.mountedDecorators=new Set,this.prevMountedDecorators=new Set,this.currentHooks=[],this.nextHookIndex=0,this.currentPhase="NONE",this.currentEffects=[],this.prevEffects=[],this.currentDecoratorName=null,this.hasUpdates=!1,this.currentContext=null}clean(){this.prevEffects.forEach(e=>{e.destroy&&e.destroy()}),this.init(),this.removeRenderListeners()}getNextHook(){let e=this.currentHooks[this.nextHookIndex];return this.nextHookIndex+=1,e}triggerEffects(){this.prevEffects.forEach(e=>{!this.currentEffects.includes(e)&&e.destroy&&e.destroy()}),this.currentEffects.forEach(e=>{this.prevEffects.includes(e)||(e.destroy=e.create())}),this.prevEffects=this.currentEffects,this.currentEffects=[]}addRenderListeners(){this.removeRenderListeners(),Vr.getChannel().on(Yu,this.renderListener)}removeRenderListeners(){Vr.getChannel().removeListener(Yu,this.renderListener)}};function Zb(e){let t=(...r)=>{let{hooks:n}=typeof r[0]=="function"?r[1]:r[0],o=n.currentPhase,i=n.currentHooks,s=n.nextHookIndex,a=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 l=he.STORYBOOK_HOOKS_CONTEXT;he.STORYBOOK_HOOKS_CONTEXT=n;let u=e(...r);if(he.STORYBOOK_HOOKS_CONTEXT=l,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=a,u};return t.originalFn=e,t}var Sp=0,M2=25,SS=e=>(t,r)=>{let n=e(Zb(t),r.map(o=>Zb(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(Sp=1;i.hasUpdates;)if(i.hasUpdates=!1,i.currentEffects=[],s=n(o),Sp+=1,Sp>M2)throw new Error("Too many re-renders. Storybook limits the number of renders to prevent an infinite loop.");return i.addRenderListeners(),s}},j2=(e,t)=>e.length===t.length&&e.every((r,n)=>r===t[n]),Um=()=>new Error("Storybook preview hooks can only be called inside decorators and story functions.");function RS(){return he.STORYBOOK_HOOKS_CONTEXT||null}function Hm(){let e=RS();if(e==null)throw Um();return e}function q2(e,t,r){let n=Hm();if(n.currentPhase==="MOUNT"){r!=null&&!Array.isArray(r)&&lt.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&&lt.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&&lt.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&&lt.warn(`The final argument passed to ${e} changed size between renders. The order and size of this array must remain constant.
163
+ Previous: ${o.deps}
164
+ Incoming: ${r}`),(r==null||o.deps==null||!j2(r,o.deps))&&(t(o),o.deps=r),o}throw Um()}function ad(e,t,r){let{memoizedState:n}=q2(e,o=>{o.memoizedState=t()},r);return n}function OS(e,t){return ad("useMemo",e,t)}function Ha(e,t){return ad("useCallback",()=>e,t)}function AS(e,t){return ad(e,()=>({current:t}),[])}function L2(e){return AS("useRef",e)}function k2(){let e=RS();if(e!=null&&e.currentPhase!=="NONE")e.hasUpdates=!0;else try{Vr.getChannel().emit(Sm)}catch{lt.warn("State updates of Storybook preview hooks work only in browser")}}function CS(e,t){let r=AS(e,typeof t=="function"?t():t),n=o=>{r.current=typeof o=="function"?o(r.current):o,k2()};return[r.current,n]}function D2(e){return CS("useState",e)}function F2(e,t,r){let n=r!=null?()=>r(t):t,[o,i]=CS("useReducer",n);return[o,s=>i(a=>e(a,s))]}function Ei(e,t){let r=Hm(),n=ad("useEffect",()=>({create:e}),t);r.currentEffects.includes(n)||r.currentEffects.push(n)}function $2(e,t=[]){let r=Vr.getChannel();return Ei(()=>(Object.entries(e).forEach(([n,o])=>r.on(n,o)),()=>{Object.entries(e).forEach(([n,o])=>r.removeListener(n,o))}),[...Object.keys(e),...t]),Ha(r.emit.bind(r),[r])}function ld(){let{currentContext:e}=Hm();if(e==null)throw Um();return e}function B2(e,t){let{parameters:r}=ld();if(e)return r[e]??t}function V2(){let e=Vr.getChannel(),{id:t,args:r}=ld(),n=Ha(i=>e.emit(Cm,{storyId:t,updatedArgs:i}),[e,t]),o=Ha(i=>e.emit(Rm,{storyId:t,argNames:i}),[e,t]);return[r,n,o]}function U2(){let e=Vr.getChannel(),{globals:t}=ld(),r=Ha(n=>e.emit(Am,{globals:n}),[e]);return[t,r]}var H2=({name:e,parameterName:t,wrapper:r,skipIfNoParametersOrOptions:n=!1})=>{let o=i=>(s,a)=>{let l=a.parameters&&a.parameters[t];return l&&l.disable||n&&!i&&!l?s(a):r(s,a,{options:i,parameters:l})};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,
165
+ instead use addDecorator(${e}) and pass options with the '${t}' parameter`)}};function J2(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()}var ev=_t(ej(),1),PS=e=>e.map(t=>typeof t<"u").filter(Boolean).length,G2=(e,t)=>{let{exists:r,eq:n,neq:o,truthy:i}=e;if(PS([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,ev.isEqual)(t,n);if(typeof o<"u")return!(0,ev.isEqual)(t,o);if(typeof r<"u"){let s=typeof t<"u";return r?s:!s}return typeof i>"u"||i?!!t:!t},W2=(e,t,r)=>{if(!e.if)return!0;let{arg:n,global:o}=e.if;if(PS([n,o])!==1)throw new Error(`Invalid conditional value ${JSON.stringify({arg:n,global:o})}`);let i=n?t[n]:r[o];return G2(e.if,i)};function K2(e){return e!=null&&z2(e).includes("mount")}function z2(e){let[,t,r]=e.toString().match(/[^(]*\(([^)]+)\)(?:.*{([^]+)})?/)||[];if(!t)return[];let[n]=Rp(t);if(!n)return[];let[,o]=n.match(/^{([^]+)}$/)||[];if(o)return Rp(tv(o)).map(a=>a.replace(/:.*|=.*/g,"").trim());if(!n.match(/^[a-z_$][0-9a-z_$]*$/i))return[];let i=n.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),[,s]=r?.trim()?.match(new RegExp(`^(?:const|let|var)\\s*{([^}]+)}\\s*=\\s*${i};`))||[];return s?Rp(tv(s)).map(a=>a.replace(/:.*|=.*/g,"").trim()):[]}function tv(e){return e=e.replace(/\/\/.*$/gm,""),e=e.replace(/\/\*[\s\S]*?\*\//g,""),e}function Rp(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}var Mn={AUTODOCS:"autodocs",ATTACHED_MDX:"attached-mdx",UNATTACHED_MDX:"unattached-mdx",PLAY_FN:"play-fn",TEST_FN:"test-fn",DEV:"dev",TEST:"test",MANIFEST:"manifest"},xS={};Er(xS,{argsEnhancers:()=>Q2});var NS=(e,t)=>typeof t[e]>"u"&&!(e in t),Y2=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,[a,l])=>(NS(a,t)&&(s[a]=Fl(a,{implicit:!0,id:n})),s),{})},X2=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])=>(NS(i,t)&&(o[i]=Fl(typeof s.action=="string"?s.action:i)),o),{})},Q2=[X2,Y2],IS={};Er(IS,{loaders:()=>tz});var MS={};Er(MS,{buildQueries:()=>jK,clearAllMocks:()=>bA,configure:()=>qK,createEvent:()=>LK,expect:()=>Q9,findAllByAltText:()=>DK,findAllByDisplayValue:()=>FK,findAllByLabelText:()=>$K,findAllByPlaceholderText:()=>BK,findAllByRole:()=>VK,findAllByTestId:()=>UK,findAllByText:()=>HK,findAllByTitle:()=>JK,findByAltText:()=>GK,findByDisplayValue:()=>WK,findByLabelText:()=>KK,findByPlaceholderText:()=>zK,findByRole:()=>YK,findByTestId:()=>XK,findByText:()=>QK,findByTitle:()=>ZK,fireEvent:()=>kK,fn:()=>yA,getAllByAltText:()=>e9,getAllByDisplayValue:()=>t9,getAllByLabelText:()=>r9,getAllByPlaceholderText:()=>n9,getAllByRole:()=>o9,getAllByTestId:()=>i9,getAllByText:()=>s9,getAllByTitle:()=>a9,getByAltText:()=>l9,getByDisplayValue:()=>u9,getByLabelText:()=>c9,getByPlaceholderText:()=>d9,getByRole:()=>p9,getByTestId:()=>f9,getByText:()=>h9,getByTitle:()=>m9,getConfig:()=>y9,getDefaultNormalizer:()=>g9,getElementError:()=>b9,getNodeText:()=>v9,getQueriesForElement:()=>E9,getRoles:()=>_9,getSuggestedQuery:()=>T9,isInaccessible:()=>w9,isMockFunction:()=>es,logDOM:()=>S9,logRoles:()=>R9,mocked:()=>a6,mocks:()=>jl,onMockCall:()=>mA,prettyDOM:()=>O9,prettyFormat:()=>Y9,queries:()=>A9,queryAllByAltText:()=>C9,queryAllByAttribute:()=>P9,queryAllByDisplayValue:()=>x9,queryAllByLabelText:()=>N9,queryAllByPlaceholderText:()=>I9,queryAllByRole:()=>M9,queryAllByTestId:()=>j9,queryAllByText:()=>q9,queryAllByTitle:()=>L9,queryByAltText:()=>k9,queryByAttribute:()=>D9,queryByDisplayValue:()=>F9,queryByLabelText:()=>$9,queryByPlaceholderText:()=>B9,queryByRole:()=>V9,queryByTestId:()=>U9,queryByText:()=>H9,queryByTitle:()=>J9,queryHelpers:()=>G9,resetAllMocks:()=>vA,restoreAllMocks:()=>EA,sb:()=>Z9,screen:()=>W9,spyOn:()=>s6,uninstrumentedUserEvent:()=>IP,userEvent:()=>X9,waitFor:()=>K9,waitForElementToBeRemoved:()=>z9,within:()=>NP});var Z2={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]},jS=Object.entries(Z2);function ud(e){return String(e)}ud.open="";ud.close="";jS.reduce((e,[t])=>(e[t]=ud,e),{isColorSupported:!1});function eV(e=!1){let t=typeof Vn<"u"?Vn: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}function tV(e=!1){let t=eV(e),r=(s,a,l,u)=>{let c="",d=0;do c+=s.substring(d,u)+l,d=u+a.length,u=s.indexOf(a,d);while(~u);return c+s.substring(d)},n=(s,a,l=s)=>{let u=c=>{let d=String(c),f=d.indexOf(a,s.length);return~f?s+r(d,a,l,f)+a:s+d+a};return u.open=s,u.close=a,u},o={isColorSupported:t},i=s=>`\x1B[${s}m`;for(let[s,a]of jS)o[s]=t?n(i(a[0]),i(a[1]),a[2]):ud;return o}var jn=tV();function qS(e,t){return t.forEach(function(r){r&&typeof r!="string"&&!Array.isArray(r)&&Object.keys(r).forEach(function(n){if(n!=="default"&&!(n in e)){var o=Object.getOwnPropertyDescriptor(r,n);Object.defineProperty(e,n,o.get?o:{enumerable:!0,get:function(){return r[n]}})}})}),Object.freeze(e)}function rV(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}function Al(e,t,r,n,o,i,s=": "){let a="",l=0,u=e.next();if(!u.done){a+=t.spacingOuter;let c=r+t.indent;for(;!u.done;){if(a+=c,l++===t.maxWidth){a+="…";break}let d=i(u.value[0],t,c,n,o),f=i(u.value[1],t,c,n,o);a+=d+s+f,u=e.next(),u.done?t.min||(a+=","):a+=`,${t.spacingInner}`}a+=t.spacingOuter+r}return a}function Jm(e,t,r,n,o,i){let s="",a=0,l=e.next();if(!l.done){s+=t.spacingOuter;let u=r+t.indent;for(;!l.done;){if(s+=u,a++===t.maxWidth){s+="…";break}s+=i(l.value,t,u,n,o),l=e.next(),l.done?t.min||(s+=","):s+=`,${t.spacingInner}`}s+=t.spacingOuter+r}return s}function Xu(e,t,r,n,o,i){let s="";e=e instanceof ArrayBuffer?new DataView(e):e;let a=u=>u instanceof DataView,l=a(e)?e.byteLength:e.length;if(l>0){s+=t.spacingOuter;let u=r+t.indent;for(let c=0;c<l;c++){if(s+=u,c===t.maxWidth){s+="…";break}(a(e)||c in e)&&(s+=i(a(e)?e.getInt8(c):e[c],t,u,n,o)),c<l-1?s+=`,${t.spacingInner}`:t.min||(s+=",")}s+=t.spacingOuter+r}return s}function Gm(e,t,r,n,o,i){let s="",a=rV(e,t.compareKeys);if(a.length>0){s+=t.spacingOuter;let l=r+t.indent;for(let u=0;u<a.length;u++){let c=a[u],d=i(c,t,l,n,o),f=i(e[c],t,l,n,o);s+=`${l+d}: ${f}`,u<a.length-1?s+=`,${t.spacingInner}`:t.min||(s+=",")}s+=t.spacingOuter+r}return s}var nV=typeof Symbol=="function"&&Symbol.for?Symbol.for("jest.asymmetricMatcher"):1267621,Op=" ",oV=(e,t,r,n,o,i)=>{let s=e.toString();if(s==="ArrayContaining"||s==="ArrayNotContaining")return++n>t.maxDepth?`[${s}]`:`${s+Op}[${Xu(e.sample,t,r,n,o,i)}]`;if(s==="ObjectContaining"||s==="ObjectNotContaining")return++n>t.maxDepth?`[${s}]`:`${s+Op}{${Gm(e.sample,t,r,n,o,i)}}`;if(s==="StringMatching"||s==="StringNotMatching"||s==="StringContaining"||s==="StringNotContaining")return s+Op+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()},iV=e=>e&&e.$$typeof===nV,sV={serialize:oV,test:iV},aV=" ",LS=new Set(["DOMStringMap","NamedNodeMap"]),lV=/^(?:HTML\w*Collection|NodeList)$/;function uV(e){return LS.has(e)||lV.test(e)}var cV=e=>e&&e.constructor&&!!e.constructor.name&&uV(e.constructor.name);function dV(e){return e.constructor.name==="NamedNodeMap"}var pV=(e,t,r,n,o,i)=>{let s=e.constructor.name;return++n>t.maxDepth?`[${s}]`:(t.min?"":s+aV)+(LS.has(s)?`{${Gm(dV(e)?[...e].reduce((a,l)=>(a[l.name]=l.value,a),{}):{...e},t,r,n,o,i)}}`:`[${Xu([...e],t,r,n,o,i)}]`)},fV={serialize:pV,test:cV};function kS(e){return e.replaceAll("<","&lt;").replaceAll(">","&gt;")}function Wm(e,t,r,n,o,i,s){let a=n+r.indent,l=r.colors;return e.map(u=>{let c=t[u],d=s(c,r,a,o,i);return typeof c!="string"&&(d.includes(`
166
+ `)&&(d=r.spacingOuter+a+d+r.spacingOuter+n),d=`{${d}}`),`${r.spacingInner+n+l.prop.open+u+l.prop.close}=${l.value.open}${d}${l.value.close}`}).join("")}function Km(e,t,r,n,o,i){return e.map(s=>t.spacingOuter+r+(typeof s=="string"?DS(s,t):i(s,t,r,n,o))).join("")}function DS(e,t){let r=t.colors.content;return r.open+kS(e)+r.close}function hV(e,t){let r=t.colors.comment;return`${r.open}<!--${kS(e)}-->${r.close}`}function zm(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}`}function Ym(e,t){let r=t.colors.tag;return`${r.open}<${e}${r.close} …${r.open} />${r.close}`}var mV=1,FS=3,$S=8,BS=11,yV=/^(?:(?:HTML|SVG)\w*)?Element$/;function gV(e){try{return typeof e.hasAttribute=="function"&&e.hasAttribute("is")}catch{return!1}}function bV(e){let t=e.constructor.name,{nodeType:r,tagName:n}=e,o=typeof n=="string"&&n.includes("-")||gV(e);return r===mV&&(yV.test(t)||o)||r===FS&&t==="Text"||r===$S&&t==="Comment"||r===BS&&t==="DocumentFragment"}var vV=e=>{var t;return(e==null||(t=e.constructor)===null||t===void 0?void 0:t.name)&&bV(e)};function EV(e){return e.nodeType===FS}function _V(e){return e.nodeType===$S}function Ap(e){return e.nodeType===BS}var TV=(e,t,r,n,o,i)=>{if(EV(e))return DS(e.data,t);if(_V(e))return hV(e.data,t);let s=Ap(e)?"DocumentFragment":e.tagName.toLowerCase();return++n>t.maxDepth?Ym(s,t):zm(s,Wm(Ap(e)?[]:Array.from(e.attributes,a=>a.name).sort(),Ap(e)?{}:[...e.attributes].reduce((a,l)=>(a[l.name]=l.value,a),{}),t,r+t.indent,n,o,i),Km(Array.prototype.slice.call(e.childNodes||e.children),t,r+t.indent,n,o,i),t,r)},wV={serialize:TV,test:vV},SV="@@__IMMUTABLE_ITERABLE__@@",RV="@@__IMMUTABLE_LIST__@@",OV="@@__IMMUTABLE_KEYED__@@",AV="@@__IMMUTABLE_MAP__@@",rv="@@__IMMUTABLE_ORDERED__@@",CV="@@__IMMUTABLE_RECORD__@@",PV="@@__IMMUTABLE_SEQ__@@",xV="@@__IMMUTABLE_SET__@@",NV="@@__IMMUTABLE_STACK__@@",ps=e=>`Immutable.${e}`,cd=e=>`[${e}]`,Ja=" ",nv="…";function IV(e,t,r,n,o,i,s){return++n>t.maxDepth?cd(ps(s)):`${ps(s)+Ja}{${Al(e.entries(),t,r,n,o,i)}}`}function MV(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}}}}function jV(e,t,r,n,o,i){let s=ps(e._name||"Record");return++n>t.maxDepth?cd(s):`${s+Ja}{${Al(MV(e),t,r,n,o,i)}}`}function qV(e,t,r,n,o,i){let s=ps("Seq");return++n>t.maxDepth?cd(s):e[OV]?`${s+Ja}{${e._iter||e._object?Al(e.entries(),t,r,n,o,i):nv}}`:`${s+Ja}[${e._iter||e._array||e._collection||e._iterable?Jm(e.values(),t,r,n,o,i):nv}]`}function Cp(e,t,r,n,o,i,s){return++n>t.maxDepth?cd(ps(s)):`${ps(s)+Ja}[${Jm(e.values(),t,r,n,o,i)}]`}var LV=(e,t,r,n,o,i)=>e[AV]?IV(e,t,r,n,o,i,e[rv]?"OrderedMap":"Map"):e[RV]?Cp(e,t,r,n,o,i,"List"):e[xV]?Cp(e,t,r,n,o,i,e[rv]?"OrderedSet":"Set"):e[NV]?Cp(e,t,r,n,o,i,"Stack"):e[PV]?qV(e,t,r,n,o,i):jV(e,t,r,n,o,i),kV=e=>e&&(e[SV]===!0||e[CV]===!0),DV={serialize:LV,test:kV};function VS(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var ov={exports:{}},tt={},iv;function FV(){if(iv)return tt;iv=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"),a=Symbol.for("react.forward_ref"),l=Symbol.for("react.suspense"),u=Symbol.for("react.suspense_list"),c=Symbol.for("react.memo"),d=Symbol.for("react.lazy"),f=Symbol.for("react.view_transition"),h=Symbol.for("react.client.reference");function m(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 l:case u:case f:return g;default:switch(g=g&&g.$$typeof,g){case s:case a:case d:case c:return g;case i:return g;default:return v}}case t:return v}}}return tt.ContextConsumer=i,tt.ContextProvider=s,tt.Element=e,tt.ForwardRef=a,tt.Fragment=r,tt.Lazy=d,tt.Memo=c,tt.Portal=t,tt.Profiler=o,tt.StrictMode=n,tt.Suspense=l,tt.SuspenseList=u,tt.isContextConsumer=function(g){return m(g)===i},tt.isContextProvider=function(g){return m(g)===s},tt.isElement=function(g){return typeof g=="object"&&g!==null&&g.$$typeof===e},tt.isForwardRef=function(g){return m(g)===a},tt.isFragment=function(g){return m(g)===r},tt.isLazy=function(g){return m(g)===d},tt.isMemo=function(g){return m(g)===c},tt.isPortal=function(g){return m(g)===t},tt.isProfiler=function(g){return m(g)===o},tt.isStrictMode=function(g){return m(g)===n},tt.isSuspense=function(g){return m(g)===l},tt.isSuspenseList=function(g){return m(g)===u},tt.isValidElementType=function(g){return typeof g=="string"||typeof g=="function"||g===r||g===o||g===n||g===l||g===u||typeof g=="object"&&g!==null&&(g.$$typeof===d||g.$$typeof===c||g.$$typeof===s||g.$$typeof===i||g.$$typeof===a||g.$$typeof===h||g.getModuleId!==void 0)},tt.typeOf=m,tt}var sv;function $V(){return sv||(sv=1,ov.exports=FV()),ov.exports}var US=$V(),BV=VS(US),VV=qS({__proto__:null,default:BV},[US]),av={exports:{}},Qe={},lv;function UV(){if(lv)return Qe;lv=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"),a=Symbol.for("react.server_context"),l=Symbol.for("react.forward_ref"),u=Symbol.for("react.suspense"),c=Symbol.for("react.suspense_list"),d=Symbol.for("react.memo"),f=Symbol.for("react.lazy"),h=Symbol.for("react.offscreen"),m;m=Symbol.for("react.module.reference");function g(v){if(typeof v=="object"&&v!==null){var b=v.$$typeof;switch(b){case e:switch(v=v.type,v){case r:case o:case n:case u:case c:return v;default:switch(v=v&&v.$$typeof,v){case a:case s:case l:case f:case d:case i:return v;default:return b}}case t:return b}}}return Qe.ContextConsumer=s,Qe.ContextProvider=i,Qe.Element=e,Qe.ForwardRef=l,Qe.Fragment=r,Qe.Lazy=f,Qe.Memo=d,Qe.Portal=t,Qe.Profiler=o,Qe.StrictMode=n,Qe.Suspense=u,Qe.SuspenseList=c,Qe.isAsyncMode=function(){return!1},Qe.isConcurrentMode=function(){return!1},Qe.isContextConsumer=function(v){return g(v)===s},Qe.isContextProvider=function(v){return g(v)===i},Qe.isElement=function(v){return typeof v=="object"&&v!==null&&v.$$typeof===e},Qe.isForwardRef=function(v){return g(v)===l},Qe.isFragment=function(v){return g(v)===r},Qe.isLazy=function(v){return g(v)===f},Qe.isMemo=function(v){return g(v)===d},Qe.isPortal=function(v){return g(v)===t},Qe.isProfiler=function(v){return g(v)===o},Qe.isStrictMode=function(v){return g(v)===n},Qe.isSuspense=function(v){return g(v)===u},Qe.isSuspenseList=function(v){return g(v)===c},Qe.isValidElementType=function(v){return typeof v=="string"||typeof v=="function"||v===r||v===o||v===n||v===u||v===c||v===h||typeof v=="object"&&v!==null&&(v.$$typeof===f||v.$$typeof===d||v.$$typeof===i||v.$$typeof===s||v.$$typeof===l||v.$$typeof===m||v.getModuleId!==void 0)},Qe.typeOf=g,Qe}var uv;function HV(){return uv||(uv=1,av.exports=UV()),av.exports}var HS=HV(),JV=VS(HS),GV=qS({__proto__:null,default:JV},[HS]),WV=["isAsyncMode","isConcurrentMode","isContextConsumer","isContextProvider","isElement","isForwardRef","isFragment","isLazy","isMemo","isPortal","isProfiler","isStrictMode","isSuspense","isSuspenseList","isValidElementType"],ni=Object.fromEntries(WV.map(e=>[e,t=>GV[e](t)||VV[e](t)]));function JS(e,t=[]){if(Array.isArray(e))for(let r of e)JS(r,t);else e!=null&&e!==!1&&e!==""&&t.push(e);return t}function cv(e){let t=e.type;if(typeof t=="string")return t;if(typeof t=="function")return t.displayName||t.name||"Unknown";if(ni.isFragment(e))return"React.Fragment";if(ni.isSuspense(e))return"React.Suspense";if(typeof t=="object"&&t!==null){if(ni.isContextProvider(e))return"Context.Provider";if(ni.isContextConsumer(e))return"Context.Consumer";if(ni.isForwardRef(e)){if(t.displayName)return t.displayName;let r=t.render.displayName||t.render.name||"";return r===""?"ForwardRef":`ForwardRef(${r})`}if(ni.isMemo(e)){let r=t.displayName||t.type.displayName||t.type.name||"";return r===""?"Memo":`Memo(${r})`}}return"UNDEFINED"}function KV(e){let{props:t}=e;return Object.keys(t).filter(r=>r!=="children"&&t[r]!==void 0).sort()}var zV=(e,t,r,n,o,i)=>++n>t.maxDepth?Ym(cv(e),t):zm(cv(e),Wm(KV(e),e.props,t,r+t.indent,n,o,i),Km(JS(e.props.children),t,r+t.indent,n,o,i),t,r),YV=e=>e!=null&&ni.isElement(e),XV={serialize:zV,test:YV},QV=typeof Symbol=="function"&&Symbol.for?Symbol.for("react.test.json"):245830487;function ZV(e){let{props:t}=e;return t?Object.keys(t).filter(r=>t[r]!==void 0).sort():[]}var eU=(e,t,r,n,o,i)=>++n>t.maxDepth?Ym(e.type,t):zm(e.type,e.props?Wm(ZV(e),e.props,t,r+t.indent,n,o,i):"",e.children?Km(e.children,t,r+t.indent,n,o,i):"",t,r),tU=e=>e&&e.$$typeof===QV,rU={serialize:eU,test:tU},GS=Object.prototype.toString,nU=Date.prototype.toISOString,oU=Error.prototype.toString,dv=RegExp.prototype.toString;function Pu(e){return typeof e.constructor=="function"&&e.constructor.name||"Object"}function iU(e){return typeof window<"u"&&e===window}var sU=/^Symbol\((.*)\)(.*)$/,aU=/\n/g,WS=class extends Error{constructor(e,t){super(e),this.stack=t,this.name=this.constructor.name}};function lU(e){return e==="[object Array]"||e==="[object ArrayBuffer]"||e==="[object DataView]"||e==="[object Float32Array]"||e==="[object Float64Array]"||e==="[object Int8Array]"||e==="[object Int16Array]"||e==="[object Int32Array]"||e==="[object Uint8Array]"||e==="[object Uint8ClampedArray]"||e==="[object Uint16Array]"||e==="[object Uint32Array]"}function uU(e){return Object.is(e,-0)?"-0":String(e)}function cU(e){return`${e}n`}function pv(e,t){return t?`[Function ${e.name||"anonymous"}]`:"[Function]"}function fv(e){return String(e).replace(sU,"Symbol($1)")}function hv(e){return`[${oU.call(e)}]`}function KS(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 uU(e);if(o==="bigint")return cU(e);if(o==="string")return n?`"${e.replaceAll(/"|\\/g,"\\$&")}"`:`"${e}"`;if(o==="function")return pv(e,t);if(o==="symbol")return fv(e);let i=GS.call(e);return i==="[object WeakMap]"?"WeakMap {}":i==="[object WeakSet]"?"WeakSet {}":i==="[object Function]"||i==="[object GeneratorFunction]"?pv(e,t):i==="[object Symbol]"?fv(e):i==="[object Date]"?Number.isNaN(+e)?"Date { NaN }":nU.call(e):i==="[object Error]"?hv(e):i==="[object RegExp]"?r?dv.call(e).replaceAll(/[$()*+.?[\\\]^{|}]/g,"\\$&"):dv.call(e):e instanceof Error?hv(e):null}function zS(e,t,r,n,o,i){if(o.includes(e))return"[Circular]";o=[...o],o.push(e);let s=++n>t.maxDepth,a=t.min;if(t.callToJSON&&!s&&e.toJSON&&typeof e.toJSON=="function"&&!i)return bo(e.toJSON(),t,r,n,o,!0);let l=GS.call(e);return l==="[object Arguments]"?s?"[Arguments]":`${a?"":"Arguments "}[${Xu(e,t,r,n,o,bo)}]`:lU(l)?s?`[${e.constructor.name}]`:`${a||!t.printBasicPrototype&&e.constructor.name==="Array"?"":`${e.constructor.name} `}[${Xu(e,t,r,n,o,bo)}]`:l==="[object Map]"?s?"[Map]":`Map {${Al(e.entries(),t,r,n,o,bo," => ")}}`:l==="[object Set]"?s?"[Set]":`Set {${Jm(e.values(),t,r,n,o,bo)}}`:s||iU(e)?`[${Pu(e)}]`:`${a||!t.printBasicPrototype&&Pu(e)==="Object"?"":`${Pu(e)} `}{${Gm(e,t,r,n,o,bo)}}`}var dU={test:e=>e&&e instanceof Error,serialize(e,t,r,n,o,i){if(o.includes(e))return"[Circular]";o=[...o,e];let s=++n>t.maxDepth,{message:a,cause:l,...u}=e,c={message:a,...typeof l<"u"?{cause:l}:{},...e instanceof AggregateError?{errors:e.errors}:{},...u},d=e.name!=="Error"?e.name:Pu(e);return s?`[${d}]`:`${d} {${Al(Object.entries(c).values(),t,r,n,o,i)}}`}};function pU(e){return e.serialize!=null}function YS(e,t,r,n,o,i){let s;try{s=pU(e)?e.serialize(t,r,n,o,i,bo):e.print(t,a=>bo(a,r,n,o,i),a=>{let l=n+r.indent;return l+a.replaceAll(aU,`
167
+ ${l}`)},{edgeSpacing:r.spacingOuter,min:r.min,spacing:r.spacingInner},r.colors)}catch(a){throw new WS(a.message,a.stack)}if(typeof s!="string")throw new TypeError(`pretty-format: Plugin must return type "string" but instead returned "${typeof s}".`);return s}function XS(e,t){for(let r of e)try{if(r.test(t))return r}catch(n){throw new WS(n.message,n.stack)}return null}function bo(e,t,r,n,o,i){let s=XS(t.plugins,e);if(s!==null)return YS(s,e,t,r,n,o);let a=KS(e,t.printFunctionName,t.escapeRegex,t.escapeString);return a!==null?a:zS(e,t,r,n,o,i)}var Xm={comment:"gray",content:"reset",prop:"yellow",tag:"cyan",value:"green"},QS=Object.keys(Xm),zr={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:Xm};function fU(e){for(let t of Object.keys(e))if(!Object.prototype.hasOwnProperty.call(zr,t))throw new Error(`pretty-format: Unknown option "${t}".`);if(e.min&&e.indent!==void 0&&e.indent!==0)throw new Error('pretty-format: Options "min" and "indent" cannot be used together.')}function hU(){return QS.reduce((e,t)=>{let r=Xm[t],n=r&&jn[r];if(n&&typeof n.close=="string"&&typeof n.open=="string")e[t]=n;else throw new Error(`pretty-format: Option "theme" has a key "${t}" whose value "${r}" is undefined in ansi-styles.`);return e},Object.create(null))}function mU(){return QS.reduce((e,t)=>(e[t]={close:"",open:""},e),Object.create(null))}function ZS(e){return e?.printFunctionName??zr.printFunctionName}function eR(e){return e?.escapeRegex??zr.escapeRegex}function tR(e){return e?.escapeString??zr.escapeString}function mv(e){return{callToJSON:e?.callToJSON??zr.callToJSON,colors:e?.highlight?hU():mU(),compareKeys:typeof e?.compareKeys=="function"||e?.compareKeys===null?e.compareKeys:zr.compareKeys,escapeRegex:eR(e),escapeString:tR(e),indent:e?.min?"":yU(e?.indent??zr.indent),maxDepth:e?.maxDepth??zr.maxDepth,maxWidth:e?.maxWidth??zr.maxWidth,min:e?.min??zr.min,plugins:e?.plugins??zr.plugins,printBasicPrototype:e?.printBasicPrototype??!0,printFunctionName:ZS(e),spacingInner:e?.min?" ":`
168
+ `,spacingOuter:e?.min?"":`
169
+ `}}function yU(e){return Array.from({length:e+1}).join(" ")}function yn(e,t){if(t&&(fU(t),t.plugins)){let n=XS(t.plugins,e);if(n!==null)return YS(n,e,mv(t),"",0,[])}let r=KS(e,ZS(t),eR(t),tR(t));return r!==null?r:zS(e,mv(t),"",0,[])}var Qm={AsymmetricMatcher:sV,DOMCollection:fV,DOMElement:wV,Immutable:DV,ReactElement:XV,ReactTestComponent:rU,Error:dU},yv={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"]},gU={special:"cyan",number:"yellow",bigint:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",symbol:"green",date:"magenta",regexp:"red"},fs="…";function bU(e,t){let r=yv[gU[t]]||yv[t]||"";return r?`\x1B[${r[0]}m${String(e)}\x1B[${r[1]}m`:String(e)}function vU({showHidden:e=!1,depth:t=2,colors:r=!1,customInspect:n=!0,showProxy:o=!1,maxArrayLength:i=1/0,breakLength:s=1/0,seen:a=[],truncate:l=1/0,stylize:u=String}={},c){let d={showHidden:!!e,depth:Number(t),colors:!!r,customInspect:!!n,showProxy:!!o,maxArrayLength:Number(i),breakLength:Number(s),truncate:Number(l),seen:a,inspect:c,stylize:u};return d.colors&&(d.stylize=bU),d}function EU(e){return e>="\uD800"&&e<="\uDBFF"}function Bo(e,t,r=fs){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&&EU(e[i-1])&&(i=i-1),`${e.slice(0,i)}${r}`}return e}function on(e,t,r,n=", "){r=r||t.inspect;let o=e.length;if(o===0)return"";let i=t.truncate,s="",a="",l="";for(let u=0;u<o;u+=1){let c=u+1===e.length,d=u+2===e.length;l=`${fs}(${e.length-u})`;let f=e[u];t.truncate=i-s.length-(c?0:n.length);let h=a||r(f,t)+(c?"":n),m=s.length+h.length,g=m+l.length;if(c&&m>i&&s.length+l.length<=i||!c&&!d&&g>i||(a=c?"":r(e[u+1],t)+(d?"":n),!c&&d&&g>i&&m+a.length>i))break;if(s+=h,!c&&!d&&m+a.length>=i){l=`${fs}(${e.length-u-1})`;break}l=""}return`${s}${l}`}function _U(e){return e.match(/^[a-zA-Z_][a-zA-Z_0-9]*$/)?e:JSON.stringify(e).replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'")}function Ga([e,t],r){return r.truncate-=2,typeof e=="string"?e=_U(e):typeof e!="number"&&(e=`[${r.inspect(e,r)}]`),r.truncate-=e.length,t=r.inspect(t,r),`${e}: ${t}`}function TU(e,t){let r=Object.keys(e).slice(e.length);if(!e.length&&!r.length)return"[]";t.truncate-=4;let n=on(e,t);t.truncate-=n.length;let o="";return r.length&&(o=on(r.map(i=>[i,e[i]]),t,Ga)),`[ ${n}${o?`, ${o}`:""} ]`}var wU=e=>typeof Buffer=="function"&&e instanceof Buffer?"Buffer":e[Symbol.toStringTag]?e[Symbol.toStringTag]:e.constructor.name;function wn(e,t){let r=wU(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 a=`${t.stylize(Bo(e[s],t.truncate),"number")}${s===e.length-1?"":", "}`;if(t.truncate-=a.length,e[s]!==e.length&&t.truncate<=3){o+=`${fs}(${e.length-e[s]+1})`;break}o+=a}let i="";return n.length&&(i=on(n.map(s=>[s,e[s]]),t,Ga)),`${r}[ ${o}${i?`, ${i}`:""} ]`}function SU(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${Bo(n[1],t.truncate-o.length-1)}`,"date")}function gv(e,t){let r=e[Symbol.toStringTag]||"Function",n=e.name;return n?t.stylize(`[${r} ${Bo(n,t.truncate-11)}]`,"special"):t.stylize(`[${r}]`,"special")}function RU([e,t],r){return r.truncate-=4,e=r.inspect(e,r),r.truncate-=e.length,t=r.inspect(t,r),`${e} => ${t}`}function OU(e){let t=[];return e.forEach((r,n)=>{t.push([n,r])}),t}function AU(e,t){return e.size===0?"Map{}":(t.truncate-=7,`Map{ ${on(OU(e),t,RU)} }`)}var CU=Number.isNaN||(e=>e!==e);function bv(e,t){return CU(e)?t.stylize("NaN","number"):e===1/0?t.stylize("Infinity","number"):e===-1/0?t.stylize("-Infinity","number"):e===0?t.stylize(1/e===1/0?"+0":"-0","number"):t.stylize(Bo(String(e),t.truncate),"number")}function vv(e,t){let r=Bo(e.toString(),t.truncate-1);return r!==fs&&(r+="n"),t.stylize(r,"bigint")}function PU(e,t){let r=e.toString().split("/")[2],n=t.truncate-(2+r.length),o=e.source;return t.stylize(`/${Bo(o,n)}/${r}`,"regexp")}function xU(e){let t=[];return e.forEach(r=>{t.push(r)}),t}function NU(e,t){return e.size===0?"Set{}":(t.truncate-=7,`Set{ ${on(xU(e),t)} }`)}var Ev=new RegExp("['\\u0000-\\u001f\\u007f-\\u009f\\u00ad\\u0600-\\u0604\\u070f\\u17b4\\u17b5\\u200c-\\u200f\\u2028-\\u202f\\u2060-\\u206f\\ufeff\\ufff0-\\uffff]","g"),IU={"\b":"\\b"," ":"\\t","\n":"\\n","\f":"\\f","\r":"\\r","'":"\\'","\\":"\\\\"},MU=16;function jU(e){return IU[e]||`\\u${`0000${e.charCodeAt(0).toString(MU)}`.slice(-4)}`}function _v(e,t){return Ev.test(e)&&(e=e.replace(Ev,jU)),t.stylize(`'${Bo(e,t.truncate-2)}'`,"string")}function Tv(e){return"description"in Symbol.prototype?e.description?`Symbol(${e.description})`:"Symbol()":e.toString()}var rR=()=>"Promise{…}";try{let{getPromiseDetails:e,kPending:t,kRejected:r}=Vn.binding("util");Array.isArray(e(Promise.resolve()))&&(rR=(n,o)=>{let[i,s]=e(n);return i===t?"Promise{<pending>}":`Promise${i===r?"!":""}{${o.inspect(s,o)}}`})}catch{}var qU=rR;function xu(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=on(r.map(a=>[a,e[a]]),t,Ga),i=on(n.map(a=>[a,e[a]]),t,Ga);t.seen.pop();let s="";return o&&i&&(s=", "),`{ ${o}${s}${i} }`}var Pp=typeof Symbol<"u"&&Symbol.toStringTag?Symbol.toStringTag:!1;function LU(e,t){let r="";return Pp&&Pp in e&&(r=e[Pp]),r=r||e.constructor.name,(!r||r==="_class")&&(r="<Anonymous Class>"),t.truncate-=r.length,`${r}${xu(e,t)}`}function kU(e,t){return e.length===0?"Arguments[]":(t.truncate-=13,`Arguments[ ${on(e,t)} ]`)}var DU=["stack","line","column","name","message","fileName","lineNumber","columnNumber","number","description","cause"];function FU(e,t){let r=Object.getOwnPropertyNames(e).filter(s=>DU.indexOf(s)===-1),n=e.name;t.truncate-=n.length;let o="";if(typeof e.message=="string"?o=Bo(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=on(r.map(s=>[s,e[s]]),t,Ga);return`${n}${o}${i?` { ${i} }`:""}`}function $U([e,t],r){return r.truncate-=3,t?`${r.stylize(String(e),"yellow")}=${r.stylize(`"${t}"`,"string")}`:`${r.stylize(String(e),"yellow")}`}function If(e,t){return on(e,t,BU,`
170
+ `)}function BU(e,t){switch(e.nodeType){case 1:return nR(e,t);case 3:return t.inspect(e.data,t);default:return t.inspect(e,t)}}function nR(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 a="";r.length>0&&(a+=" ",a+=on(r.map(c=>[c,e.getAttribute(c)]),t,$U," ")),t.truncate-=a.length;let l=t.truncate,u=If(e.children,t);return u&&u.length>l&&(u=`${fs}(${e.children.length})`),`${o}${a}${i}${u}${s}`}var VU=typeof Symbol=="function"&&typeof Symbol.for=="function",xp=VU?Symbol.for("chai/inspect"):"@@chai/inspect",Np=Symbol.for("nodejs.util.inspect.custom"),wv=new WeakMap,Sv={},Rv={undefined:(e,t)=>t.stylize("undefined","undefined"),null:(e,t)=>t.stylize("null","null"),boolean:(e,t)=>t.stylize(String(e),"boolean"),Boolean:(e,t)=>t.stylize(String(e),"boolean"),number:bv,Number:bv,bigint:vv,BigInt:vv,string:_v,String:_v,function:gv,Function:gv,symbol:Tv,Symbol:Tv,Array:TU,Date:SU,Map:AU,Set:NU,RegExp:PU,Promise:qU,WeakSet:(e,t)=>t.stylize("WeakSet{…}","special"),WeakMap:(e,t)=>t.stylize("WeakMap{…}","special"),Arguments:kU,Int8Array:wn,Uint8Array:wn,Uint8ClampedArray:wn,Int16Array:wn,Uint16Array:wn,Int32Array:wn,Uint32Array:wn,Float32Array:wn,Float64Array:wn,Generator:()=>"",DataView:()=>"",ArrayBuffer:()=>"",Error:FU,HTMLCollection:If,NodeList:If},UU=(e,t,r)=>xp in e&&typeof e[xp]=="function"?e[xp](t):Np in e&&typeof e[Np]=="function"?e[Np](t.depth,t):"inspect"in e&&typeof e.inspect=="function"?e.inspect(t.depth,t):"constructor"in e&&wv.has(e.constructor)?wv.get(e.constructor)(e,t):Sv[r]?Sv[r](e,t):"",HU=Object.prototype.toString;function Mf(e,t={}){let r=vU(t,Mf),{customInspect:n}=r,o=e===null?"null":typeof e;if(o==="object"&&(o=HU.call(e).slice(8,-1)),o in Rv)return Rv[o](e,r);if(n&&e){let s=UU(e,r,o);if(s)return typeof s=="string"?s:Mf(s,r)}let i=e?Object.getPrototypeOf(e):!1;return i===Object.prototype||i===null?xu(e,r):e&&typeof HTMLElement=="function"&&e instanceof HTMLElement?nR(e,r):"constructor"in e?e.constructor!==Object?LU(e,r):xu(e,r):e===Object(e)?xu(e,r):r.stylize(String(e),o)}var{AsymmetricMatcher:JU,DOMCollection:GU,DOMElement:WU,Immutable:KU,ReactElement:zU,ReactTestComponent:YU}=Qm,Ov=[YU,zU,WU,GU,KU,JU];function Pr(e,t=10,{maxLength:r,...n}={}){let o=r??1e4,i;try{i=yn(e,{maxDepth:t,escapeString:!1,plugins:Ov,...n})}catch{i=yn(e,{callToJSON:!1,maxDepth:t,escapeString:!1,plugins:Ov,...n})}return i.length>=o&&t>1?Pr(e,Math.floor(Math.min(t,Number.MAX_SAFE_INTEGER)/2),{maxLength:r,...n}):i}var XU=/%[sdjifoOc%]/g;function QU(...e){if(typeof e[0]!="string"){let i=[];for(let s=0;s<e.length;s++)i.push(na(e[s],{depth:0,colors:!1}));return i.join(" ")}let t=e.length,r=1,n=e[0],o=String(n).replace(XU,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():na(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 na(e[r++],{showHidden:!0,showProxy:!0});case"%O":return na(e[r++]);case"%c":return r++,"";case"%j":try{return JSON.stringify(e[r++])}catch(s){let a=s.message;if(a.includes("circular structure")||a.includes("cyclic structures")||a.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+=` ${na(i)}`;return o}function na(e,t={}){return t.truncate===0&&(t.truncate=Number.POSITIVE_INFINITY),Mf(e,t)}function oR(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function Sn(e,t,r){let n=typeof e;if(!r.includes(n))throw new TypeError(`${t} value must be ${r.join(" or ")}, received "${n}"`)}function Nu(e){return e!=null&&typeof e=="object"&&!Array.isArray(e)}function ZU(e){return e===Object.prototype||e===Function.prototype||e===RegExp.prototype}function Qu(e){return Object.prototype.toString.apply(e).slice(8,-1)}function e5(e,t){let r=typeof t=="function"?t:n=>t.add(n);Object.getOwnPropertyNames(e).forEach(r),Object.getOwnPropertySymbols(e).forEach(r)}function iR(e){let t=new Set;return ZU(e)?[]:(e5(e,t),Array.from(t))}var sR={forceWritable:!1};function Av(e,t=sR){return jf(e,new WeakMap,t)}function jf(e,t,r=sR){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]=jf(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=iR(e);for(let s of i){let a=Object.getOwnPropertyDescriptor(e,s);if(!a)continue;let l=jf(e[s],t,r);r.forceWritable?Object.defineProperty(o,s,{enumerable:a.enumerable,configurable:!0,writable:!0,value:l}):"get"in a?Object.defineProperty(o,s,{...a,get(){return l}}):Object.defineProperty(o,s,{...a,value:l})}return o}return e}function t5(){}var tr=-1,Ht=1,gt=0,ht=class{0;1;constructor(e,t){this[0]=e,this[1]=t}};function r5(e,t){if(!e||!t||e.charAt(0)!==t.charAt(0))return 0;let r=0,n=Math.min(e.length,t.length),o=n,i=0;for(;r<o;)e.substring(i,o)===t.substring(i,o)?(r=o,i=r):n=o,o=Math.floor((n-r)/2+r);return o}function aR(e,t){if(!e||!t||e.charAt(e.length-1)!==t.charAt(t.length-1))return 0;let r=0,n=Math.min(e.length,t.length),o=n,i=0;for(;r<o;)e.substring(e.length-o,e.length-i)===t.substring(t.length-o,t.length-i)?(r=o,i=r):n=o,o=Math.floor((n-r)/2+r);return o}function Cv(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 a=e.substring(o-s),l=t.indexOf(a);if(l===-1)return i;s+=l,(l===0||e.substring(o-s)===t.substring(0,s))&&(i=s,s++)}}function n5(e){let t=!1,r=[],n=0,o=null,i=0,s=0,a=0,l=0,u=0;for(;i<e.length;)e[i][0]===gt?(r[n++]=i,s=l,a=u,l=0,u=0,o=e[i][1]):(e[i][0]===Ht?l+=e[i][1].length:u+=e[i][1].length,o&&o.length<=Math.max(s,a)&&o.length<=Math.max(l,u)&&(e.splice(r[n-1],0,new ht(tr,o)),e[r[n-1]+1][0]=Ht,n--,n--,i=n>0?r[n-1]:-1,s=0,a=0,l=0,u=0,o=null,t=!0)),i++;for(t&&lR(e),s5(e),i=1;i<e.length;){if(e[i-1][0]===tr&&e[i][0]===Ht){let c=e[i-1][1],d=e[i][1],f=Cv(c,d),h=Cv(d,c);f>=h?(f>=c.length/2||f>=d.length/2)&&(e.splice(i,0,new ht(gt,d.substring(0,f))),e[i-1][1]=c.substring(0,c.length-f),e[i+1][1]=d.substring(f),i++):(h>=c.length/2||h>=d.length/2)&&(e.splice(i,0,new ht(gt,c.substring(0,h))),e[i-1][0]=Ht,e[i-1][1]=d.substring(0,d.length-h),e[i+1][0]=tr,e[i+1][1]=c.substring(h),i++),i++}i++}}var Pv=/[^a-z0-9]/i,xv=/\s/,Nv=/[\r\n]/,o5=/\n\r?\n$/,i5=/^\r?\n\r?\n/;function s5(e){let t=1;for(;t<e.length-1;){if(e[t-1][0]===gt&&e[t+1][0]===gt){let r=e[t-1][1],n=e[t][1],o=e[t+1][1],i=aR(r,n);if(i){let c=n.substring(n.length-i);r=r.substring(0,r.length-i),n=c+n.substring(0,n.length-i),o=c+o}let s=r,a=n,l=o,u=Zl(r,n)+Zl(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 c=Zl(r,n)+Zl(n,o);c>=u&&(u=c,s=r,a=n,l=o)}e[t-1][1]!==s&&(s?e[t-1][1]=s:(e.splice(t-1,1),t--),e[t][1]=a,l?e[t+1][1]=l:(e.splice(t+1,1),t--))}t++}}function lR(e){e.push(new ht(gt,""));let t=0,r=0,n=0,o="",i="",s;for(;t<e.length;)switch(e[t][0]){case Ht:n++,i+=e[t][1],t++;break;case tr:r++,o+=e[t][1],t++;break;case gt:r+n>1?(r!==0&&n!==0&&(s=r5(i,o),s!==0&&(t-r-n>0&&e[t-r-n-1][0]===gt?e[t-r-n-1][1]+=i.substring(0,s):(e.splice(0,0,new ht(gt,i.substring(0,s))),t++),i=i.substring(s),o=o.substring(s)),s=aR(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 ht(tr,o)),t++),i.length&&(e.splice(t,0,new ht(Ht,i)),t++),t++):t!==0&&e[t-1][0]===gt?(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 a=!1;for(t=1;t<e.length-1;)e[t-1][0]===gt&&e[t+1][0]===gt&&(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),a=!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),a=!0)),t++;a&&lR(e)}function Zl(e,t){if(!e||!t)return 6;let r=e.charAt(e.length-1),n=t.charAt(0),o=r.match(Pv),i=n.match(Pv),s=o&&r.match(xv),a=i&&n.match(xv),l=s&&r.match(Nv),u=a&&n.match(Nv),c=l&&e.match(o5),d=u&&t.match(i5);return c||d?5:l||u?4:o&&!s&&a?3:s||a?2:o||i?1:0}var uR="Compared values have no visual difference.",a5="Compared values serialize to the same structure.\nPrinting internal object structure without calling `toJSON` instead.",eu={},Iv;function l5(){if(Iv)return eu;Iv=1,Object.defineProperty(eu,"__esModule",{value:!0}),eu.default=f;let e="diff-sequences",t=0,r=(h,m,g,v,b)=>{let E=0;for(;h<m&&g<v&&b(h,g);)h+=1,g+=1,E+=1;return E},n=(h,m,g,v,b)=>{let E=0;for(;h<=m&&g<=v&&b(m,v);)m-=1,v-=1,E+=1;return E},o=(h,m,g,v,b,E,S)=>{let A=0,C=-h,T=E[A],w=T;E[A]+=r(T+1,m,v+T-C+1,g,b);let _=h<S?h:S;for(A+=1,C+=2;A<=_;A+=1,C+=2){if(A!==h&&w<E[A])T=E[A];else if(T=w+1,m<=T)return A-1;w=E[A],E[A]=T+r(T+1,m,v+T-C+1,g,b)}return S},i=(h,m,g,v,b,E,S)=>{let A=0,C=h,T=E[A],w=T;E[A]-=n(m,T-1,g,v+T-C-1,b);let _=h<S?h:S;for(A+=1,C-=2;A<=_;A+=1,C-=2){if(A!==h&&E[A]<w)T=E[A];else if(T=w-1,T<m)return A-1;w=E[A],E[A]=T-n(m,T-1,g,v+T-C-1,b)}return S},s=(h,m,g,v,b,E,S,A,C,T,w)=>{let _=v-m,R=g-m,M=b-v-R,N=-M-(h-1),q=-M+(h-1),x=t,P=h<A?h:A;for(let L=0,$=-h;L<=P;L+=1,$+=2){let V=L===0||L!==h&&x<S[L],G=V?S[L]:x,ie=V?G:G+1,Ee=_+ie-$,fe=r(ie+1,g,Ee+1,b,E),j=ie+fe;if(x=S[L],S[L]=j,N<=$&&$<=q){let H=(h-1-($+M))/2;if(H<=T&&C[H]-1<=j){let oe=_+G-(V?$+1:$-1),te=n(m,G,v,oe,E),Z=G-te,ye=oe-te,me=Z+1,De=ye+1;w.nChangePreceding=h-1,h-1===me+De-m-v?(w.aEndPreceding=m,w.bEndPreceding=v):(w.aEndPreceding=me,w.bEndPreceding=De),w.nCommonPreceding=te,te!==0&&(w.aCommonPreceding=me,w.bCommonPreceding=De),w.nCommonFollowing=fe,fe!==0&&(w.aCommonFollowing=ie+1,w.bCommonFollowing=Ee+1);let J=j+1,le=Ee+fe+1;return w.nChangeFollowing=h-1,h-1===g+b-J-le?(w.aStartFollowing=g,w.bStartFollowing=b):(w.aStartFollowing=J,w.bStartFollowing=le),!0}}}return!1},a=(h,m,g,v,b,E,S,A,C,T,w)=>{let _=b-g,R=g-m,M=b-v-R,N=M-h,q=M+h,x=t,P=h<T?h:T;for(let L=0,$=h;L<=P;L+=1,$-=2){let V=L===0||L!==h&&C[L]<x,G=V?C[L]:x,ie=V?G:G-1,Ee=_+ie-$,fe=n(m,ie-1,v,Ee-1,E),j=ie-fe;if(x=C[L],C[L]=j,N<=$&&$<=q){let H=(h+($-M))/2;if(H<=A&&j-1<=S[H]){let oe=Ee-fe;if(w.nChangePreceding=h,h===j+oe-m-v?(w.aEndPreceding=m,w.bEndPreceding=v):(w.aEndPreceding=j,w.bEndPreceding=oe),w.nCommonPreceding=fe,fe!==0&&(w.aCommonPreceding=j,w.bCommonPreceding=oe),w.nChangeFollowing=h-1,h===1)w.nCommonFollowing=0,w.aStartFollowing=g,w.bStartFollowing=b;else{let te=_+G-(V?$-1:$+1),Z=r(G,g,te,b,E);w.nCommonFollowing=Z,Z!==0&&(w.aCommonFollowing=G,w.bCommonFollowing=te);let ye=G+Z,me=te+Z;h-1===g+b-ye-me?(w.aStartFollowing=g,w.bStartFollowing=b):(w.aStartFollowing=ye,w.bStartFollowing=me)}return!0}}}return!1},l=(h,m,g,v,b,E,S,A,C)=>{let T=v-m,w=b-g,_=g-m,R=b-v,M=R-_,N=_,q=_;if(S[0]=m-1,A[0]=g,M%2===0){let x=(h||M)/2,P=(_+R)/2;for(let L=1;L<=P;L+=1)if(N=o(L,g,b,T,E,S,N),L<x)q=i(L,m,v,w,E,A,q);else if(a(L,m,g,v,b,E,S,N,A,q,C))return}else{let x=((h||M)+1)/2,P=(_+R+1)/2,L=1;for(N=o(L,g,b,T,E,S,N),L+=1;L<=P;L+=1)if(q=i(L-1,m,v,w,E,A,q),L<x)N=o(L,g,b,T,E,S,N);else if(s(L,m,g,v,b,E,S,N,A,q,C))return}throw new Error(`${e}: no overlap aStart=${m} aEnd=${g} bStart=${v} bEnd=${b}`)},u=(h,m,g,v,b,E,S,A,C,T)=>{if(b-v<g-m){if(E=!E,E&&S.length===1){let{foundSubsequence:H,isCommon:oe}=S[0];S[1]={foundSubsequence:(te,Z,ye)=>{H(te,ye,Z)},isCommon:(te,Z)=>oe(Z,te)}}let fe=m,j=g;m=v,g=b,v=fe,b=j}let{foundSubsequence:w,isCommon:_}=S[E?1:0];l(h,m,g,v,b,_,A,C,T);let{nChangePreceding:R,aEndPreceding:M,bEndPreceding:N,nCommonPreceding:q,aCommonPreceding:x,bCommonPreceding:P,nCommonFollowing:L,aCommonFollowing:$,bCommonFollowing:V,nChangeFollowing:G,aStartFollowing:ie,bStartFollowing:Ee}=T;m<M&&v<N&&u(R,m,M,v,N,E,S,A,C,T),q!==0&&w(q,x,P),L!==0&&w(L,$,V),ie<g&&Ee<b&&u(G,ie,g,Ee,b,E,S,A,C,T)},c=(h,m)=>{if(typeof m!="number")throw new TypeError(`${e}: ${h} typeof ${typeof m} is not a number`);if(!Number.isSafeInteger(m))throw new RangeError(`${e}: ${h} value ${m} is not a safe integer`);if(m<0)throw new RangeError(`${e}: ${h} value ${m} is a negative integer`)},d=(h,m)=>{let g=typeof m;if(g!=="function")throw new TypeError(`${e}: ${h} typeof ${g} is not a function`)};function f(h,m,g,v){c("aLength",h),c("bLength",m),d("isCommon",g),d("foundSubsequence",v);let b=r(0,h,0,m,g);if(b!==0&&v(b,0,0),h!==b||m!==b){let E=b,S=b,A=n(E,h-1,S,m-1,g),C=h-A,T=m-A,w=b+A;h!==w&&m!==w&&u(0,E,C,S,T,!1,[{foundSubsequence:v,isCommon:g}],[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&&v(A,C,T)}}return eu}var u5=l5(),cR=oR(u5);function c5(e,t){return e.replace(/\s+$/,r=>t(r))}function Zm(e,t,r,n,o,i){return e.length!==0?r(`${n} ${c5(e,o)}`):n!==" "?r(n):t&&i.length!==0?r(`${n} ${i}`):""}function dR(e,t,{aColor:r,aIndicator:n,changeLineTrailingSpaceColor:o,emptyFirstOrLastLinePlaceholder:i}){return Zm(e,t,r,n,o,i)}function pR(e,t,{bColor:r,bIndicator:n,changeLineTrailingSpaceColor:o,emptyFirstOrLastLinePlaceholder:i}){return Zm(e,t,r,n,o,i)}function fR(e,t,{commonColor:r,commonIndicator:n,commonLineTrailingSpaceColor:o,emptyFirstOrLastLinePlaceholder:i}){return Zm(e,t,r,n,o,i)}function Mv(e,t,r,n,{patchColor:o}){return o(`@@ -${e+1},${t-e} +${r+1},${n-r} @@`)}function d5(e,t){let r=e.length,n=t.contextLines,o=n+n,i=r,s=!1,a=0,l=0;for(;l!==r;){let A=l;for(;l!==r&&e[l][0]===gt;)l+=1;if(A!==l)if(A===0)l>n&&(i-=l-n,s=!0);else if(l===r){let C=l-A;C>n&&(i-=C-n,s=!0)}else{let C=l-A;C>o&&(i-=C-o,a+=1)}for(;l!==r&&e[l][0]!==gt;)l+=1}let u=a!==0||s;a!==0?i+=a+1:s&&(i+=1);let c=i-1,d=[],f=0;u&&d.push("");let h=0,m=0,g=0,v=0,b=A=>{let C=d.length;d.push(fR(A,C===0||C===c,t)),g+=1,v+=1},E=A=>{let C=d.length;d.push(dR(A,C===0||C===c,t)),g+=1},S=A=>{let C=d.length;d.push(pR(A,C===0||C===c,t)),v+=1};for(l=0;l!==r;){let A=l;for(;l!==r&&e[l][0]===gt;)l+=1;if(A!==l)if(A===0){l>n&&(A=l-n,h=A,m=A,g=h,v=m);for(let C=A;C!==l;C+=1)b(e[C][1])}else if(l===r){let C=l-A>n?A+n:l;for(let T=A;T!==C;T+=1)b(e[T][1])}else{let C=l-A;if(C>o){let T=A+n;for(let _=A;_!==T;_+=1)b(e[_][1]);d[f]=Mv(h,g,m,v,t),f=d.length,d.push("");let w=C-o;h=g+w,m=v+w,g=h,v=m;for(let _=l-n;_!==l;_+=1)b(e[_][1])}else for(let T=A;T!==l;T+=1)b(e[T][1])}for(;l!==r&&e[l][0]===tr;)E(e[l][1]),l+=1;for(;l!==r&&e[l][0]===Ht;)S(e[l][1]),l+=1}return u&&(d[f]=Mv(h,g,m,v,t)),d.join(`
171
+ `)}function p5(e,t){return e.map((r,n,o)=>{let i=r[1],s=n===0||n===o.length-1;switch(r[0]){case tr:return dR(i,s,t);case Ht:return pR(i,s,t);default:return fR(i,s,t)}}).join(`
172
+ `)}var Ip=e=>e,hR=5,f5=0;function h5(){return{aAnnotation:"Expected",aColor:jn.green,aIndicator:"-",bAnnotation:"Received",bColor:jn.red,bIndicator:"+",changeColor:jn.inverse,changeLineTrailingSpaceColor:Ip,commonColor:jn.dim,commonIndicator:" ",commonLineTrailingSpaceColor:Ip,compareKeys:void 0,contextLines:hR,emptyFirstOrLastLinePlaceholder:"",expand:!1,includeChangeCounts:!1,omitAnnotationLines:!1,patchColor:jn.yellow,printBasicPrototype:!1,truncateThreshold:f5,truncateAnnotation:"... Diff result is truncated",truncateAnnotationColor:Ip}}function m5(e){return e&&typeof e=="function"?e:void 0}function y5(e){return typeof e=="number"&&Number.isSafeInteger(e)&&e>=0?e:hR}function xi(e={}){return{...h5(),...e,compareKeys:m5(e.compareKeys),contextLines:y5(e.contextLines)}}function Gi(e){return e.length===1&&e[0].length===0}function g5(e){let t=0,r=0;return e.forEach(n=>{switch(n[0]){case tr:t+=1;break;case Ht:r+=1;break}}),{a:t,b:r}}function b5({aAnnotation:e,aColor:t,aIndicator:r,bAnnotation:n,bColor:o,bIndicator:i,includeChangeCounts:s,omitAnnotationLines:a},l){if(a)return"";let u="",c="";if(s){let h=String(l.a),m=String(l.b),g=n.length-e.length,v=" ".repeat(Math.max(0,g)),b=" ".repeat(Math.max(0,-g)),E=m.length-h.length,S=" ".repeat(Math.max(0,E)),A=" ".repeat(Math.max(0,-E));u=`${v} ${r} ${S}${h}`,c=`${b} ${i} ${A}${m}`}let d=`${r} ${e}${u}`,f=`${i} ${n}${c}`;return`${t(d)}
173
+ ${o(f)}
174
+
175
+ `}function ey(e,t,r){return b5(r,g5(e))+(r.expand?p5(e,r):d5(e,r))+(t?r.truncateAnnotationColor(`
176
+ ${r.truncateAnnotation}`):"")}function dd(e,t,r){let n=xi(r),[o,i]=mR(Gi(e)?[]:e,Gi(t)?[]:t,n);return ey(o,i,n)}function v5(e,t,r,n,o){if(Gi(e)&&Gi(r)&&(e=[],r=[]),Gi(t)&&Gi(n)&&(t=[],n=[]),e.length!==r.length||t.length!==n.length)return dd(e,t,o);let[i,s]=mR(r,n,o),a=0,l=0;return i.forEach(u=>{switch(u[0]){case tr:u[1]=e[a],a+=1;break;case Ht:u[1]=t[l],l+=1;break;default:u[1]=t[l],a+=1,l+=1}}),ey(i,s,xi(o))}function mR(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,a=i!==e.length||s!==t.length,l=(f,h)=>e[f]===t[h],u=[],c=0,d=0;for(cR(i,s,l,(f,h,m)=>{for(;c!==h;c+=1)u.push(new ht(tr,e[c]));for(;d!==m;d+=1)u.push(new ht(Ht,t[d]));for(;f!==0;f-=1,c+=1,d+=1)u.push(new ht(gt,t[d]))});c!==i;c+=1)u.push(new ht(tr,e[c]));for(;d!==s;d+=1)u.push(new ht(Ht,t[d]));return[u,a]}function jv(e){if(e===void 0)return"undefined";if(e===null)return"null";if(Array.isArray(e))return"array";if(typeof e=="boolean")return"boolean";if(typeof e=="function")return"function";if(typeof e=="number")return"number";if(typeof e=="string")return"string";if(typeof e=="bigint")return"bigint";if(typeof e=="object"){if(e!=null){if(e.constructor===RegExp)return"regexp";if(e.constructor===Map)return"map";if(e.constructor===Set)return"set";if(e.constructor===Date)return"date"}return"object"}else if(typeof e=="symbol")return"symbol";throw new Error(`value of unknown type: ${e}`)}function qv(e){return e.includes(`\r
177
+ `)?`\r
178
+ `:`
179
+ `}function E5(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 f=e.includes(`
180
+ `),h=t.includes(`
181
+ `),m=qv(e),g=qv(t),v=f?`${e.split(m,o).join(m)}
182
+ `:e,b=h?`${t.split(g,o).join(g)}
183
+ `:t;i=v.length,s=b.length}let a=i!==e.length||s!==t.length,l=(f,h)=>e[f]===t[h],u=0,c=0,d=[];return cR(i,s,l,(f,h,m)=>{u!==h&&d.push(new ht(tr,e.slice(u,h))),c!==m&&d.push(new ht(Ht,t.slice(c,m))),u=h+f,c=m+f,d.push(new ht(gt,t.slice(m,c)))}),u!==i&&d.push(new ht(tr,e.slice(u))),c!==s&&d.push(new ht(Ht,t.slice(c))),[d,a]}function _5(e,t,r){return t.reduce((n,o)=>n+(o[0]===gt?o[1]:o[0]===e&&o[1].length!==0?r(o[1]):""),"")}var Lv=class{op;line;lines;changeColor;constructor(e,t){this.op=e,this.line=[],this.lines=[],this.changeColor=t}pushSubstring(e){this.pushDiff(new ht(this.op,e))}pushLine(){this.lines.push(this.line.length!==1?new ht(this.op,_5(this.op,this.line,this.changeColor)):this.line[0][0]===this.op?this.line[0]:new ht(this.op,this.line[0][1])),this.line.length=0}isLineEmpty(){return this.line.length===0}pushDiff(e){this.line.push(e)}align(e){let t=e[1];if(t.includes(`
184
+ `)){let r=t.split(`
185
+ `),n=r.length-1;r.forEach((o,i)=>{i<n?(this.pushSubstring(o),this.pushLine()):o.length!==0&&this.pushSubstring(o)})}else this.pushDiff(e)}moveLinesTo(e){this.isLineEmpty()||this.pushLine(),e.push(...this.lines),this.lines.length=0}},T5=class{deleteBuffer;insertBuffer;lines;constructor(e,t){this.deleteBuffer=e,this.insertBuffer=t,this.lines=[]}pushDiffCommonLine(e){this.lines.push(e)}pushDiffChangeLines(e){let t=e[1].length===0;(!t||this.deleteBuffer.isLineEmpty())&&this.deleteBuffer.pushDiff(e),(!t||this.insertBuffer.isLineEmpty())&&this.insertBuffer.pushDiff(e)}flushChangeLines(){this.deleteBuffer.moveLinesTo(this.lines),this.insertBuffer.moveLinesTo(this.lines)}align(e){let t=e[0],r=e[1];if(r.includes(`
186
+ `)){let n=r.split(`
187
+ `),o=n.length-1;n.forEach((i,s)=>{if(s===0){let a=new ht(t,i);this.deleteBuffer.isLineEmpty()&&this.insertBuffer.isLineEmpty()?(this.flushChangeLines(),this.pushDiffCommonLine(a)):(this.pushDiffChangeLines(a),this.flushChangeLines())}else s<o?this.pushDiffCommonLine(new ht(t,i)):i.length!==0&&this.pushDiffChangeLines(new ht(t,i))})}else this.pushDiffChangeLines(e)}getLines(){return this.flushChangeLines(),this.lines}};function w5(e,t){let r=new Lv(tr,t),n=new Lv(Ht,t),o=new T5(r,n);return e.forEach(i=>{switch(i[0]){case tr:r.align(i);break;case Ht:n.align(i);break;default:o.align(i)}}),o.getLines()}function S5(e,t){if(t){let r=e.length-1;return e.some((n,o)=>n[0]===gt&&(o!==r||n[1]!==`
188
+ `))}return e.some(r=>r[0]===gt)}function R5(e,t,r){if(e!==t&&e.length!==0&&t.length!==0){let n=e.includes(`
189
+ `)||t.includes(`
190
+ `),[o,i]=yR(n?`${e}
191
+ `:e,n?`${t}
192
+ `:t,!0,r);if(S5(o,n)){let s=xi(r),a=w5(o,s.changeColor);return ey(a,i,s)}}return dd(e.split(`
193
+ `),t.split(`
194
+ `),r)}function yR(e,t,r,n){let[o,i]=E5(e,t,n);return n5(o),[o,i]}function qf(e,t){let{commonColor:r}=xi(t);return r(e)}var{AsymmetricMatcher:O5,DOMCollection:A5,DOMElement:C5,Immutable:P5,ReactElement:x5,ReactTestComponent:N5}=Qm,gR=[N5,x5,C5,A5,P5,O5,Qm.Error],Lf={maxDepth:20,plugins:gR},bR={callToJSON:!1,maxDepth:8,plugins:gR};function Bs(e,t,r){if(Object.is(e,t))return"";let n=jv(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!==jv(t)){let s=function(S){return S.length<=v?S:`${S.slice(0,v)}...`},{aAnnotation:a,aColor:l,aIndicator:u,bAnnotation:c,bColor:d,bIndicator:f}=xi(r),h=kf(bR,r),m=yn(e,h),g=yn(t,h),v=1e5;m=s(m),g=s(g);let b=`${l(`${u} ${a}:`)}
195
+ ${m}`,E=`${d(`${f} ${c}:`)}
196
+ ${g}`;return`${b}
197
+
198
+ ${E}`}if(!i)switch(n){case"string":return dd(e.split(`
199
+ `),t.split(`
200
+ `),r);case"boolean":case"number":return I5(e,t,r);case"map":return Mp(kv(e),kv(t),r);case"set":return Mp(Dv(e),Dv(t),r);default:return Mp(e,t,r)}}function I5(e,t,r){let n=yn(e,Lf),o=yn(t,Lf);return n===o?"":dd(n.split(`
201
+ `),o.split(`
202
+ `),r)}function kv(e){return new Map(Array.from(e.entries()).sort())}function Dv(e){return new Set(Array.from(e.values()).sort())}function Mp(e,t,r){let n,o=!1;try{let s=kf(Lf,r);n=Fv(e,t,s,r)}catch{o=!0}let i=qf(uR,r);if(n===void 0||n===i){let s=kf(bR,r);n=Fv(e,t,s,r),n!==i&&!o&&(n=`${qf(a5,r)}
203
+
204
+ ${n}`)}return n}function kf(e,t){let{compareKeys:r,printBasicPrototype:n,maxDepth:o}=xi(t);return{...e,compareKeys:r,printBasicPrototype:n,maxDepth:o??e.maxDepth}}function Fv(e,t,r,n){let o={...r,indent:0},i=yn(e,o),s=yn(t,o);if(i===s)return qf(uR,n);{let a=yn(e,r),l=yn(t,r);return v5(a.split(`
205
+ `),l.split(`
206
+ `),i.split(`
207
+ `),s.split(`
208
+ `),n)}}var $v=2e4;function Bv(e){return Qu(e)==="Object"&&typeof e.asymmetricMatch=="function"}function Vv(e,t){let r=Qu(e),n=Qu(t);return r===n&&(r==="Object"||r==="Array")}function vR(e,t,r){let{aAnnotation:n,bAnnotation:o}=xi(r);if(typeof t=="string"&&typeof e=="string"&&t.length>0&&e.length>0&&t.length<=$v&&e.length<=$v&&t!==e){if(t.includes(`
209
+ `)||e.includes(`
210
+ `))return R5(t,e,r);let[u]=yR(t,e),c=u.some(m=>m[0]===gt),d=M5(n,o),f=d(n)+L5(Uv(u,tr,c)),h=d(o)+q5(Uv(u,Ht,c));return`${f}
211
+ ${h}`}let i=Av(t,{forceWritable:!0}),s=Av(e,{forceWritable:!0}),{replacedExpected:a,replacedActual:l}=ER(s,i);return Bs(a,l,r)}function ER(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}):Vv(e,t)?r.has(e)||n.has(t)?{replacedActual:e,replacedExpected:t}:(r.add(e),n.add(t),iR(t).forEach(o=>{let i=t[o],s=e[o];if(Bv(i))i.asymmetricMatch(s)&&(e[o]=i);else if(Bv(s))s.asymmetricMatch(i)&&(t[o]=s);else if(Vv(s,i)){let a=ER(s,i,r,n);e[o]=a.replacedActual,t[o]=a.replacedExpected}}),{replacedActual:e,replacedExpected:t}):{replacedActual:e,replacedExpected:t}}function M5(...e){let t=e.reduce((r,n)=>n.length>r?n.length:r,0);return r=>`${r}: ${" ".repeat(t-r.length)}`}var j5="·";function _R(e){return e.replace(/\s+$/gm,t=>j5.repeat(t.length))}function q5(e){return jn.red(_R(Pr(e)))}function L5(e){return jn.green(_R(Pr(e)))}function Uv(e,t,r){return e.reduce((n,o)=>n+(o[0]===gt?o[1]:o[0]===t?r?jn.inverse(o[1]):o[1]:""),"")}var k5="@@__IMMUTABLE_RECORD__@@",D5="@@__IMMUTABLE_ITERABLE__@@";function F5(e){return e&&(e[D5]||e[k5])}var $5=Object.getPrototypeOf({});function Hv(e){return e instanceof Error?`<unserializable>: ${e.message}`:typeof e=="string"?`<unserializable>: ${e}`:"<unserializable>"}function vo(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"&&tu(()=>r.message??(r.message=e.message)),typeof e.stack=="string"&&tu(()=>r.stack??(r.stack=e.stack)),typeof e.name=="string"&&tu(()=>r.name??(r.name=e.name)),e.cause!=null&&tu(()=>r.cause??(r.cause=vo(e.cause,t)))),vo(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(F5(e))return vo(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()} ${QU(e.sample)}`;if(typeof e.toJSON=="function")return vo(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]=vo(n,t)}catch(i){r[o]=Hv(i)}}),r}else{let r=Object.create(null);t.set(e,r);let n=e;for(;n&&n!==$5;)Object.getOwnPropertyNames(n).forEach(o=>{if(!(o in r))try{r[o]=vo(e[o],t)}catch(i){delete r[o],r[o]=Hv(i)}}),n=Object.getPrototypeOf(n);return r}}function tu(e){try{return e()}catch{}}function B5(e){return e.replace(/__(vite_ssr_import|vi_import)_\d+__\./g,"")}function ty(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=vR(n.actual,n.expected,{...t,...n.diffOptions})),"expected"in n&&typeof n.expected!="string"&&(n.expected=Pr(n.expected,10)),"actual"in n&&typeof n.actual!="string"&&(n.actual=Pr(n.actual,10));try{typeof n.message=="string"&&(n.message=B5(n.message))}catch{}try{!r.has(n)&&typeof n.cause=="object"&&(r.add(n),n.cause=ty(n.cause,t,r))}catch{}try{return vo(n)}catch(o){return vo(new Error(`Failed to fully serialize error: ${o?.message}
212
+ Inner error message: ${n?.message}`))}}var Rn={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"},jp=globalThis.__STORYBOOK_ADDONS_PREVIEW,V5=new Error("This function ran after the play function completed. Did you forget to `await` it?"),Jv=e=>Object.prototype.toString.call(e)==="[object Object]",U5=e=>Object.prototype.toString.call(e)==="[object Module]",H5=e=>{if(!Jv(e)&&!U5(e))return!1;if(e.constructor===void 0)return!0;let t=e.constructor.prototype;return!!Jv(t)},J5=e=>{try{return new e.constructor}catch{return{}}},qp=()=>({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}),Gv=(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}},G5=class{constructor(){this.detached=!1,this.initialized=!1,this.state={},this.loadParentWindowState=()=>{try{this.state=he.window?.parent?.__STORYBOOK_ADDON_INTERACTIONS_INSTRUMENTER_STATE__||{}}catch{this.detached=!0}},this.updateParentWindowState=()=>{try{he.window.parent.__STORYBOOK_ADDON_INTERACTIONS_INSTRUMENTER_STATE__=this.state}catch{this.detached=!0}},this.loadParentWindowState();let e=({storyId:a,renderPhase:l,isPlaying:u=!0,isDebugging:c=!1})=>{let d=this.getState(a);this.setState(a,{...qp(),...Gv(d,c),renderPhase:l||d.renderPhase,shadowCalls:c?d.shadowCalls:[],chainedCallIds:c?d.chainedCallIds:new Set,playUntil:c?d.playUntil:void 0,isPlaying:u,isDebugging:c}),this.sync(a)},t=a=>({storyId:l,playUntil:u})=>{this.getState(l).isDebugging||this.setState(l,({calls:d})=>({calls:[],shadowCalls:d.map(f=>({...f,status:"waiting"})),isDebugging:!0}));let c=this.getLog(l);this.setState(l,({shadowCalls:d})=>{if(u||!c.length)return{playUntil:u};let f=d.findIndex(h=>h.id===c[0].callId);return{playUntil:d.slice(0,f).filter(h=>h.interceptable&&!h.ancestors?.length).slice(-1)[0]?.id}}),a.emit(zu,{storyId:l,isDebugging:!0})},r=a=>({storyId:l})=>{let u=this.getLog(l).filter(d=>!d.ancestors?.length),c=u.reduceRight((d,f,h)=>d>=0||f.status==="waiting"?d:h,-1);t(a)({storyId:l,playUntil:u[c-1]?.callId})},n=a=>({storyId:l,callId:u})=>{let{calls:c,shadowCalls:d,resolvers:f}=this.getState(l),h=c.find(({id:g})=>g===u),m=d.find(({id:g})=>g===u);if(!h&&m&&Object.values(f).length>0){let g=this.getLog(l).find(v=>v.status==="waiting")?.callId;m.id!==g&&this.setState(l,{playUntil:m.id}),Object.values(f).forEach(v=>v())}else t(a)({storyId:l,playUntil:u})},o=a=>({storyId:l})=>{let{resolvers:u}=this.getState(l);if(Object.values(u).length>0)Object.values(u).forEach(c=>c());else{let c=this.getLog(l).find(d=>d.status==="waiting")?.callId;c?t(a)({storyId:l,playUntil:c}):i({storyId:l})}},i=({storyId:a})=>{this.setState(a,{playUntil:void 0,isDebugging:!1}),Object.values(this.getState(a).resolvers).forEach(l=>l())},s=({storyId:a,newPhase:l})=>{let{isDebugging:u}=this.getState(a);if(l==="preparing"&&u)return e({storyId:a,renderPhase:l,isDebugging:u});if(l==="playing")return e({storyId:a,renderPhase:l,isDebugging:u});l==="played"?this.setState(a,{renderPhase:l,isLocked:!1,isPlaying:!1,isDebugging:!1}):l==="errored"?this.setState(a,{renderPhase:l,isLocked:!1,isPlaying:!1}):l==="aborted"?this.setState(a,{renderPhase:l,isLocked:!0,isPlaying:!1}):this.setState(a,{renderPhase:l}),this.sync(a)};jp&&jp.ready().then(()=>{this.channel=jp.getChannel(),this.channel.on(zu,e),this.channel.on(vi,s),this.channel.on(Om,()=>{this.initialized?this.cleanup():this.initialized=!0}),this.channel.on(Rn.START,t(this.channel)),this.channel.on(Rn.BACK,r(this.channel)),this.channel.on(Rn.GOTO,n(this.channel)),this.channel.on(Rn.NEXT,o(this.channel)),this.channel.on(Rn.END,i)})}getState(e){return this.state[e]||qp()}setState(e,t){if(e){let r=this.getState(e),n=typeof t=="function"?t(r):t;this.state={...this.state,[e]:{...r,...n}},this.updateParentWindowState()}}cleanup(){this.state=Object.entries(this.state).reduce((t,[r,n])=>{let o=Gv(n);return o&&(t[r]=Object.assign(qp(),o)),t},{});let e={controlStates:{detached:this.detached,start:!1,back:!1,goto:!1,next:!1,end:!1},logItems:[]};this.channel?.emit(Rn.SYNC,e),this.updateParentWindowState()}getLog(e){let{calls:t,shadowCalls:r}=this.getState(e),n=[...r];t.forEach((i,s)=>{n[s]=i});let o=new Set;return n.reduceRight((i,s)=>(s.args.forEach(a=>{a?.__callId__&&o.add(a.__callId__)}),s.path.forEach(a=>{a.__callId__&&o.add(a.__callId__)}),(s.interceptable||s.exception)&&!o.has(s.id)&&(i.unshift({callId:s.id,status:s.status,ancestors:s.ancestors}),o.add(s.id)),i),[])}instrument(e,t,r=0){if(!H5(e))return e;let{mutate:n=!1,path:o=[]}=t,i=t.getKeys?t.getKeys(e,r):Object.keys(e);return r+=1,i.reduce((s,a)=>{let l=W5(e,a);if(typeof l?.get=="function"){if(l.configurable){let c=()=>l?.get?.bind(e)?.();Object.defineProperty(s,a,{get:()=>this.instrument(c(),{...t,path:o.concat(a)},r)})}return s}let u=e[a];return typeof u!="function"?(s[a]=this.instrument(u,{...t,path:o.concat(a)},r),s):"__originalFn__"in u&&typeof u.__originalFn__=="function"?(s[a]=u,s):(s[a]=(...c)=>this.track(a,u,e,c,t),s[a].__originalFn__=u,Object.defineProperty(s[a],"name",{value:a,writable:!1}),Object.keys(u).length>0&&Object.assign(s[a],this.instrument({...u},{...t,path:o.concat(a)},r)),s)},n?e:J5(e))}track(e,t,r,n,o){let i=n?.[0]?.__storyId__||he.__STORYBOOK_PREVIEW__?.selectionStore?.selection?.storyId,{cursor:s,ancestors:a}=this.getState(i);this.setState(i,{cursor:s+1});let l=`${a.slice(-1)[0]||i} [${s}] ${e}`,{path:u=[],intercept:c=!1,retain:d=!1}=o,f=typeof c=="function"?c(e,u):c,h={id:l,cursor:s,storyId:i,ancestors:a,path:u,method:e,args:n,interceptable:f,retain:d},m=(f&&!a.length?this.intercept:this.invoke).call(this,t,r,h,o);return this.instrument(m,{...o,mutate:!0,path:[{__callId__:h.id}]})}intercept(e,t,r,n){let{chainedCallIds:o,isDebugging:i,playUntil:s}=this.getState(r.storyId),a=o.has(r.id);return!i||a||s?(s===r.id&&this.setState(r.storyId,{playUntil:void 0}),this.invoke(e,t,r,n)):new Promise(l=>{this.setState(r.storyId,({resolvers:u})=>({isLocked:!1,resolvers:{...u,[r.id]:l}}))}).then(()=>(this.setState(r.storyId,l=>{let{[r.id]:u,...c}=l.resolvers;return{isLocked:!0,resolvers:c}}),this.invoke(e,t,r,n)))}invoke(e,t,r,n){let{callRefsByResult:o,renderPhase:i}=this.getState(r.storyId),s=25,a=(c,d,f)=>{if(f.includes(c))return"[Circular]";if(f=[...f,c],d>s)return"...";if(o.has(c))return o.get(c);if(c instanceof Array)return c.map(h=>a(h,++d,f));if(c instanceof Date)return{__date__:{value:c.toISOString()}};if(c instanceof Error){let{name:h,message:m,stack:g}=c;return{__error__:{name:h,message:m,stack:g}}}if(c instanceof RegExp){let{flags:h,source:m}=c;return{__regexp__:{flags:h,source:m}}}if(c instanceof he.window?.HTMLElement){let{prefix:h,localName:m,id:g,classList:v,innerText:b}=c,E=Array.from(v);return{__element__:{prefix:h,localName:m,id:g,classNames:E,innerText:b}}}return typeof c=="function"?{__function__:{name:"getMockName"in c?c.getMockName():c.name}}:typeof c=="symbol"?{__symbol__:{description:c.description}}:typeof c=="object"&&c?.constructor?.name&&c?.constructor?.name!=="Object"?{__class__:{name:c.constructor.name}}:Object.prototype.toString.call(c)==="[object Object]"?Object.fromEntries(Object.entries(c).map(([h,m])=>[h,a(m,++d,f)])):c},l={...r,args:r.args.map(c=>a(c,0,[]))};r.path.forEach(c=>{c?.__callId__&&this.setState(r.storyId,({chainedCallIds:d})=>({chainedCallIds:new Set(Array.from(d).concat(c.__callId__))}))});let u=c=>{if(c instanceof Error){let{name:d,message:f,stack:h,callId:m=r.id}=c,{showDiff:g=void 0,diff:v=void 0,actual:b=void 0,expected:E=void 0}=c.name==="AssertionError"?ty(c):c,S={name:d,message:f,stack:h,callId:m,showDiff:g,diff:v,actual:b,expected:E};if(this.update({...l,status:"error",exception:S}),this.setState(r.storyId,A=>({callRefsByResult:new Map([...Array.from(A.callRefsByResult.entries()),[c,{__callId__:r.id,retain:r.retain}]])})),r.ancestors?.length)throw Object.prototype.hasOwnProperty.call(c,"callId")||Object.defineProperty(c,"callId",{value:r.id}),c}throw c};try{if(i==="played"&&!r.retain)throw V5;let c=(n.getArgs?n.getArgs(r,this.getState(r.storyId)):r.args).map(f=>typeof f!="function"||K5(f)||Object.keys(f).length?f:(...h)=>{let{cursor:m,ancestors:g}=this.getState(r.storyId);this.setState(r.storyId,{cursor:0,ancestors:[...g,r.id]});let v=()=>this.setState(r.storyId,{cursor:m,ancestors:g}),b=!1;try{let E=f(...h);return E instanceof Promise?(b=!0,E.finally(v)):E}finally{b||v()}}),d=e.apply(t,c);return d&&["object","function","symbol"].includes(typeof d)&&this.setState(r.storyId,f=>({callRefsByResult:new Map([...Array.from(f.callRefsByResult.entries()),[d,{__callId__:r.id,retain:r.retain}]])})),this.update({...l,status:d instanceof Promise?"active":"done"}),d instanceof Promise?d.then(f=>(this.update({...l,status:"done"}),f),u):d}catch(c){return u(c)}}update(e){this.channel?.emit(Rn.CALL,e),this.setState(e.storyId,({calls:t})=>{let r=t.concat(e).reduce((n,o)=>Object.assign(n,{[o.id]:o}),{});return{calls:Object.values(r).sort((n,o)=>n.id.localeCompare(o.id,void 0,{numeric:!0}))}}),this.sync(e.storyId)}sync(e){let t=()=>{let{isLocked:r,isPlaying:n}=this.getState(e),o=this.getLog(e),i=o.filter(({ancestors:u})=>!u.length).find(u=>u.status==="waiting")?.callId,s=o.some(u=>u.status==="active");if(this.detached||r||s||o.length===0){let u={controlStates:{detached:this.detached,start:!1,back:!1,goto:!1,next:!1,end:!1},logItems:o};this.channel?.emit(Rn.SYNC,u);return}let a=o.some(u=>u.status==="done"||u.status==="error"),l={controlStates:{detached:this.detached,start:a,back:a,goto:!0,next:n,end:n},logItems:o,pausedAt:i};this.channel?.emit(Rn.SYNC,l)};this.setState(e,({syncTimeout:r})=>(clearTimeout(r),{syncTimeout:setTimeout(t,0)}))}};function Cl(e,t={}){try{let r=!1,n=!1;return he.window?.location?.search?.includes("instrument=true")?r=!0:he.window?.location?.search?.includes("instrument=false")&&(n=!0),he.window?.parent===he.window&&!r||n?e:(he.window&&!he.window.__STORYBOOK_ADDON_INTERACTIONS_INSTRUMENTER__&&(he.window.__STORYBOOK_ADDON_INTERACTIONS_INSTRUMENTER__=new G5),(he.window?.__STORYBOOK_ADDON_INTERACTIONS_INSTRUMENTER__).instrument(e,t))}catch(r){return Et.warn(r),e}}function W5(e,t){let r=e;for(;r!=null;){let n=Object.getOwnPropertyDescriptor(r,t);if(n)return n;r=Object.getPrototypeOf(r)}}function K5(e){if(typeof e!="function")return!1;let t=Object.getOwnPropertyDescriptor(e,"prototype");return t?!t.writable:!1}var TR=Object.defineProperty,Y=(e,t)=>TR(e,"name",{value:t,configurable:!0}),ry=(e,t)=>{for(var r in t)TR(e,r,{get:t[r],enumerable:!0})},gn={};ry(gn,{addChainableMethod:()=>hy,addLengthGuard:()=>Nl,addMethod:()=>dy,addProperty:()=>cy,checkError:()=>Tr,compareByInspect:()=>rc,eql:()=>zR,expectTypes:()=>PR,flag:()=>Ie,getActual:()=>fd,getMessage:()=>iy,getName:()=>md,getOperator:()=>by,getOwnEnumerableProperties:()=>gy,getOwnEnumerablePropertySymbols:()=>yy,getPathInfo:()=>uy,hasProperty:()=>hd,inspect:()=>Ge,isNaN:()=>nc,isNumeric:()=>Dt,isProxyEnabled:()=>xl,isRegExp:()=>oc,objDisplay:()=>ui,overwriteChainableMethod:()=>my,overwriteMethod:()=>fy,overwriteProperty:()=>py,proxify:()=>Vs,test:()=>ny,transferFlags:()=>sn,type:()=>rt});var Tr={};ry(Tr,{compatibleConstructor:()=>RR,compatibleInstance:()=>SR,compatibleMessage:()=>OR,getConstructorName:()=>AR,getMessage:()=>CR});function pd(e){return e instanceof Error||Object.prototype.toString.call(e)==="[object Error]"}Y(pd,"isErrorInstance");function wR(e){return Object.prototype.toString.call(e)==="[object RegExp]"}Y(wR,"isRegExp");function SR(e,t){return pd(t)&&e===t}Y(SR,"compatibleInstance");function RR(e,t){return pd(t)?e.constructor===t.constructor||e instanceof t.constructor:(typeof t=="object"||typeof t=="function")&&t.prototype?e.constructor===t||e instanceof t:!1}Y(RR,"compatibleConstructor");function OR(e,t){let r=typeof e=="string"?e:e.message;return wR(t)?t.test(r):typeof t=="string"?r.indexOf(t)!==-1:!1}Y(OR,"compatibleMessage");function AR(e){let t=e;return pd(e)?t=e.constructor.name:typeof e=="function"&&(t=e.name,t===""&&(t=new e().name||t)),t}Y(AR,"getConstructorName");function CR(e){let t="";return e&&e.message?t=e.message:typeof e=="string"&&(t=e),t}Y(CR,"getMessage");function Ie(e,t,r){let n=e.__flags||(e.__flags=Object.create(null));if(arguments.length===3)n[t]=r;else return n[t]}Y(Ie,"flag");function ny(e,t){let r=Ie(e,"negate"),n=t[0];return r?!n:n}Y(ny,"test");function rt(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)}Y(rt,"type");var z5="captureStackTrace"in Error,ru,Ke=(ru=class extends Error{message;get name(){return"AssertionError"}get ok(){return!1}constructor(e="Unspecified AssertionError",t,r){super(e),this.message=e,z5&&Error.captureStackTrace(this,r||ru);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}}},Y(ru,"AssertionError"),ru);function PR(e,t){let r=Ie(e,"message"),n=Ie(e,"ssfi");r=r?r+": ":"",e=Ie(e,"object"),t=t.map(function(s){return s.toLowerCase()}),t.sort();let o=t.map(function(s,a){let l=~["a","e","i","o","u"].indexOf(s.charAt(0))?"an":"a";return(t.length>1&&a===t.length-1?"or ":"")+l+" "+s}).join(", "),i=rt(e).toLowerCase();if(!t.some(function(s){return i===s}))throw new Ke(r+"object tested must be "+o+", but "+i+" given",void 0,n)}Y(PR,"expectTypes");function fd(e,t){return t.length>4?t[4]:e._obj}Y(fd,"getActual");var Wv={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"]},Y5={special:"cyan",number:"yellow",bigint:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",symbol:"green",date:"magenta",regexp:"red"},hs="…";function xR(e,t){let r=Wv[Y5[t]]||Wv[t]||"";return r?`\x1B[${r[0]}m${String(e)}\x1B[${r[1]}m`:String(e)}Y(xR,"colorise");function NR({showHidden:e=!1,depth:t=2,colors:r=!1,customInspect:n=!0,showProxy:o=!1,maxArrayLength:i=1/0,breakLength:s=1/0,seen:a=[],truncate:l=1/0,stylize:u=String}={},c){let d={showHidden:!!e,depth:Number(t),colors:!!r,customInspect:!!n,showProxy:!!o,maxArrayLength:Number(i),breakLength:Number(s),truncate:Number(l),seen:a,inspect:c,stylize:u};return d.colors&&(d.stylize=xR),d}Y(NR,"normaliseOptions");function IR(e){return e>="\uD800"&&e<="\uDBFF"}Y(IR,"isHighSurrogate");function Zn(e,t,r=hs){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&&IR(e[i-1])&&(i=i-1),`${e.slice(0,i)}${r}`}return e}Y(Zn,"truncate");function Ur(e,t,r,n=", "){r=r||t.inspect;let o=e.length;if(o===0)return"";let i=t.truncate,s="",a="",l="";for(let u=0;u<o;u+=1){let c=u+1===e.length,d=u+2===e.length;l=`${hs}(${e.length-u})`;let f=e[u];t.truncate=i-s.length-(c?0:n.length);let h=a||r(f,t)+(c?"":n),m=s.length+h.length,g=m+l.length;if(c&&m>i&&s.length+l.length<=i||!c&&!d&&g>i||(a=c?"":r(e[u+1],t)+(d?"":n),!c&&d&&g>i&&m+a.length>i))break;if(s+=h,!c&&!d&&m+a.length>=i){l=`${hs}(${e.length-u-1})`;break}l=""}return`${s}${l}`}Y(Ur,"inspectList");function MR(e){return e.match(/^[a-zA-Z_][a-zA-Z_0-9]*$/)?e:JSON.stringify(e).replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'")}Y(MR,"quoteComplexKey");function ms([e,t],r){return r.truncate-=2,typeof e=="string"?e=MR(e):typeof e!="number"&&(e=`[${r.inspect(e,r)}]`),r.truncate-=e.length,t=r.inspect(t,r),`${e}: ${t}`}Y(ms,"inspectProperty");function jR(e,t){let r=Object.keys(e).slice(e.length);if(!e.length&&!r.length)return"[]";t.truncate-=4;let n=Ur(e,t);t.truncate-=n.length;let o="";return r.length&&(o=Ur(r.map(i=>[i,e[i]]),t,ms)),`[ ${n}${o?`, ${o}`:""} ]`}Y(jR,"inspectArray");var X5=Y(e=>typeof Buffer=="function"&&e instanceof Buffer?"Buffer":e[Symbol.toStringTag]?e[Symbol.toStringTag]:e.constructor.name,"getArrayName");function pn(e,t){let r=X5(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 a=`${t.stylize(Zn(e[s],t.truncate),"number")}${s===e.length-1?"":", "}`;if(t.truncate-=a.length,e[s]!==e.length&&t.truncate<=3){o+=`${hs}(${e.length-e[s]+1})`;break}o+=a}let i="";return n.length&&(i=Ur(n.map(s=>[s,e[s]]),t,ms)),`${r}[ ${o}${i?`, ${i}`:""} ]`}Y(pn,"inspectTypedArray");function qR(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${Zn(n[1],t.truncate-o.length-1)}`,"date")}Y(qR,"inspectDate");function Df(e,t){let r=e[Symbol.toStringTag]||"Function",n=e.name;return n?t.stylize(`[${r} ${Zn(n,t.truncate-11)}]`,"special"):t.stylize(`[${r}]`,"special")}Y(Df,"inspectFunction");function LR([e,t],r){return r.truncate-=4,e=r.inspect(e,r),r.truncate-=e.length,t=r.inspect(t,r),`${e} => ${t}`}Y(LR,"inspectMapEntry");function kR(e){let t=[];return e.forEach((r,n)=>{t.push([n,r])}),t}Y(kR,"mapToEntries");function DR(e,t){return e.size===0?"Map{}":(t.truncate-=7,`Map{ ${Ur(kR(e),t,LR)} }`)}Y(DR,"inspectMap");var Q5=Number.isNaN||(e=>e!==e);function Ff(e,t){return Q5(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(Zn(String(e),t.truncate),"number")}Y(Ff,"inspectNumber");function $f(e,t){let r=Zn(e.toString(),t.truncate-1);return r!==hs&&(r+="n"),t.stylize(r,"bigint")}Y($f,"inspectBigInt");function FR(e,t){let r=e.toString().split("/")[2],n=t.truncate-(2+r.length),o=e.source;return t.stylize(`/${Zn(o,n)}/${r}`,"regexp")}Y(FR,"inspectRegExp");function $R(e){let t=[];return e.forEach(r=>{t.push(r)}),t}Y($R,"arrayFromSet");function BR(e,t){return e.size===0?"Set{}":(t.truncate-=7,`Set{ ${Ur($R(e),t)} }`)}Y(BR,"inspectSet");var Kv=new RegExp("['\\u0000-\\u001f\\u007f-\\u009f\\u00ad\\u0600-\\u0604\\u070f\\u17b4\\u17b5\\u200c-\\u200f\\u2028-\\u202f\\u2060-\\u206f\\ufeff\\ufff0-\\uffff]","g"),Z5={"\b":"\\b"," ":"\\t","\n":"\\n","\f":"\\f","\r":"\\r","'":"\\'","\\":"\\\\"},eH=16;function VR(e){return Z5[e]||`\\u${`0000${e.charCodeAt(0).toString(eH)}`.slice(-4)}`}Y(VR,"escape");function Bf(e,t){return Kv.test(e)&&(e=e.replace(Kv,VR)),t.stylize(`'${Zn(e,t.truncate-2)}'`,"string")}Y(Bf,"inspectString");function Vf(e){return"description"in Symbol.prototype?e.description?`Symbol(${e.description})`:"Symbol()":e.toString()}Y(Vf,"inspectSymbol");var tH=Y(()=>"Promise{…}","getPromiseValue"),rH=tH;function wa(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=Ur(r.map(a=>[a,e[a]]),t,ms),i=Ur(n.map(a=>[a,e[a]]),t,ms);t.seen.pop();let s="";return o&&i&&(s=", "),`{ ${o}${s}${i} }`}Y(wa,"inspectObject");var Lp=typeof Symbol<"u"&&Symbol.toStringTag?Symbol.toStringTag:!1;function UR(e,t){let r="";return Lp&&Lp in e&&(r=e[Lp]),r=r||e.constructor.name,(!r||r==="_class")&&(r="<Anonymous Class>"),t.truncate-=r.length,`${r}${wa(e,t)}`}Y(UR,"inspectClass");function HR(e,t){return e.length===0?"Arguments[]":(t.truncate-=13,`Arguments[ ${Ur(e,t)} ]`)}Y(HR,"inspectArguments");var nH=["stack","line","column","name","message","fileName","lineNumber","columnNumber","number","description","cause"];function JR(e,t){let r=Object.getOwnPropertyNames(e).filter(s=>nH.indexOf(s)===-1),n=e.name;t.truncate-=n.length;let o="";if(typeof e.message=="string"?o=Zn(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=Ur(r.map(s=>[s,e[s]]),t,ms);return`${n}${o}${i?` { ${i} }`:""}`}Y(JR,"inspectObject");function GR([e,t],r){return r.truncate-=3,t?`${r.stylize(String(e),"yellow")}=${r.stylize(`"${t}"`,"string")}`:`${r.stylize(String(e),"yellow")}`}Y(GR,"inspectAttribute");function Zu(e,t){return Ur(e,t,WR,`
213
+ `)}Y(Zu,"inspectNodeCollection");function WR(e,t){switch(e.nodeType){case 1:return oy(e,t);case 3:return t.inspect(e.data,t);default:return t.inspect(e,t)}}Y(WR,"inspectNode");function oy(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 a="";r.length>0&&(a+=" ",a+=Ur(r.map(c=>[c,e.getAttribute(c)]),t,GR," ")),t.truncate-=a.length;let l=t.truncate,u=Zu(e.children,t);return u&&u.length>l&&(u=`${hs}(${e.children.length})`),`${o}${a}${i}${u}${s}`}Y(oy,"inspectHTML");var oH=typeof Symbol=="function"&&typeof Symbol.for=="function",kp=oH?Symbol.for("chai/inspect"):"@@chai/inspect",Dp=Symbol.for("nodejs.util.inspect.custom"),zv=new WeakMap,Yv={},Xv={undefined:Y((e,t)=>t.stylize("undefined","undefined"),"undefined"),null:Y((e,t)=>t.stylize("null","null"),"null"),boolean:Y((e,t)=>t.stylize(String(e),"boolean"),"boolean"),Boolean:Y((e,t)=>t.stylize(String(e),"boolean"),"Boolean"),number:Ff,Number:Ff,bigint:$f,BigInt:$f,string:Bf,String:Bf,function:Df,Function:Df,symbol:Vf,Symbol:Vf,Array:jR,Date:qR,Map:DR,Set:BR,RegExp:FR,Promise:rH,WeakSet:Y((e,t)=>t.stylize("WeakSet{…}","special"),"WeakSet"),WeakMap:Y((e,t)=>t.stylize("WeakMap{…}","special"),"WeakMap"),Arguments:HR,Int8Array:pn,Uint8Array:pn,Uint8ClampedArray:pn,Int16Array:pn,Uint16Array:pn,Int32Array:pn,Uint32Array:pn,Float32Array:pn,Float64Array:pn,Generator:Y(()=>"","Generator"),DataView:Y(()=>"","DataView"),ArrayBuffer:Y(()=>"","ArrayBuffer"),Error:JR,HTMLCollection:Zu,NodeList:Zu},iH=Y((e,t,r)=>kp in e&&typeof e[kp]=="function"?e[kp](t):Dp in e&&typeof e[Dp]=="function"?e[Dp](t.depth,t):"inspect"in e&&typeof e.inspect=="function"?e.inspect(t.depth,t):"constructor"in e&&zv.has(e.constructor)?zv.get(e.constructor)(e,t):Yv[r]?Yv[r](e,t):"","inspectCustom"),sH=Object.prototype.toString;function ec(e,t={}){let r=NR(t,ec),{customInspect:n}=r,o=e===null?"null":typeof e;if(o==="object"&&(o=sH.call(e).slice(8,-1)),o in Xv)return Xv[o](e,r);if(n&&e){let s=iH(e,r,o);if(s)return typeof s=="string"?s:ec(s,r)}let i=e?Object.getPrototypeOf(e):!1;return i===Object.prototype||i===null?wa(e,r):e&&typeof HTMLElement=="function"&&e instanceof HTMLElement?oy(e,r):"constructor"in e?e.constructor!==Object?UR(e,r):wa(e,r):e===Object(e)?wa(e,r):r.stylize(String(e),o)}Y(ec,"inspect");var lr={includeStack:!1,showDiff:!0,truncateThreshold:40,useProxy:!0,proxyExcludedKeys:["then","catch","inspect","toJSON"],deepEqual:null};function Ge(e,t,r,n){let o={colors:n,depth:typeof r>"u"?2:r,showHidden:t,truncate:lr.truncateThreshold?lr.truncateThreshold:1/0};return ec(e,o)}Y(Ge,"inspect");function ui(e){let t=Ge(e),r=Object.prototype.toString.call(e);if(lr.truncateThreshold&&t.length>=lr.truncateThreshold){if(r==="[object Function]")return!e.name||e.name===""?"[Function]":"[Function: "+e.name+"]";if(r==="[object Array]")return"[ Array("+e.length+") ]";if(r==="[object Object]"){let n=Object.keys(e);return"{ Object ("+(n.length>2?n.splice(0,2).join(", ")+", ...":n.join(", "))+") }"}else return t}else return t}Y(ui,"objDisplay");function iy(e,t){let r=Ie(e,"negate"),n=Ie(e,"object"),o=t[3],i=fd(e,t),s=r?t[2]:t[1],a=Ie(e,"message");return typeof s=="function"&&(s=s()),s=s||"",s=s.replace(/#\{this\}/g,function(){return ui(n)}).replace(/#\{act\}/g,function(){return ui(i)}).replace(/#\{exp\}/g,function(){return ui(o)}),a?a+": "+s:s}Y(iy,"getMessage");function sn(e,t,r){let n=e.__flags||(e.__flags=Object.create(null));t.__flags||(t.__flags=Object.create(null)),r=arguments.length===3?r:!0;for(let o in n)(r||o!=="object"&&o!=="ssfi"&&o!=="lockSsfi"&&o!="message")&&(t.__flags[o]=n[o])}Y(sn,"transferFlags");function Uf(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)}Y(Uf,"type");function sy(){this._key="chai/deep-eql__"+Math.random()+Date.now()}Y(sy,"FakeMap");sy.prototype={get:Y(function(e){return e[this._key]},"get"),set:Y(function(e,t){Object.isExtensible(e)&&Object.defineProperty(e,this._key,{value:t,configurable:!0})},"set")};var KR=typeof WeakMap=="function"?WeakMap:sy;function Hf(e,t,r){if(!r||_i(e)||_i(t))return null;var n=r.get(e);if(n){var o=n.get(t);if(typeof o=="boolean")return o}return null}Y(Hf,"memoizeCompare");function ha(e,t,r,n){if(!(!r||_i(e)||_i(t))){var o=r.get(e);o?o.set(t,n):(o=new KR,o.set(t,n),r.set(e,o))}}Y(ha,"memoizeSet");var zR=Pl;function Pl(e,t,r){if(r&&r.comparator)return Jf(e,t,r);var n=ay(e,t);return n!==null?n:Jf(e,t,r)}Y(Pl,"deepEqual");function ay(e,t){return e===t?e!==0||1/e===1/t:e!==e&&t!==t?!0:_i(e)||_i(t)?!1:null}Y(ay,"simpleEqual");function Jf(e,t,r){r=r||{},r.memoize=r.memoize===!1?!1:r.memoize||new KR;var n=r&&r.comparator,o=Hf(e,t,r.memoize);if(o!==null)return o;var i=Hf(t,e,r.memoize);if(i!==null)return i;if(n){var s=n(e,t);if(s===!1||s===!0)return ha(e,t,r.memoize,s),s;var a=ay(e,t);if(a!==null)return a}var l=Uf(e);if(l!==Uf(t))return ha(e,t,r.memoize,!1),!1;ha(e,t,r.memoize,!0);var u=YR(e,t,l,r);return ha(e,t,r.memoize,u),u}Y(Jf,"extensiveDeepEqual");function YR(e,t,r,n){switch(r){case"String":case"Number":case"Boolean":case"Date":return Pl(e.valueOf(),t.valueOf());case"Promise":case"Symbol":case"function":case"WeakMap":case"WeakSet":return e===t;case"Error":return ly(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 Co(e,t,n);case"RegExp":return XR(e,t);case"Generator":return QR(e,t,n);case"DataView":return Co(new Uint8Array(e.buffer),new Uint8Array(t.buffer),n);case"ArrayBuffer":return Co(new Uint8Array(e),new Uint8Array(t),n);case"Set":return Gf(e,t,n);case"Map":return Gf(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 eO(e,t,n)}}Y(YR,"extensiveDeepEqualByType");function XR(e,t){return e.toString()===t.toString()}Y(XR,"regexpEqual");function Gf(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(Y(function(i,s){n.push([i,s])},"gatherEntries")),t.forEach(Y(function(i,s){o.push([i,s])},"gatherEntries")),Co(n.sort(),o.sort(),r)}Y(Gf,"entriesEqual");function Co(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(Pl(e[o],t[o],r)===!1)return!1;return!0}Y(Co,"iterableEqual");function QR(e,t,r){return Co(tc(e),tc(t),r)}Y(QR,"generatorEqual");function ZR(e){return typeof Symbol<"u"&&typeof e=="object"&&typeof Symbol.iterator<"u"&&typeof e[Symbol.iterator]=="function"}Y(ZR,"hasIteratorFunction");function Wf(e){if(ZR(e))try{return tc(e[Symbol.iterator]())}catch{return[]}return[]}Y(Wf,"getIteratorEntries");function tc(e){for(var t=e.next(),r=[t.value];t.done===!1;)t=e.next(),r.push(t.value);return r}Y(tc,"getGeneratorEntries");function Kf(e){var t=[];for(var r in e)t.push(r);return t}Y(Kf,"getEnumerableKeys");function zf(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}Y(zf,"getEnumerableSymbols");function ly(e,t,r,n){var o=r.length;if(o===0)return!0;for(var i=0;i<o;i+=1)if(Pl(e[r[i]],t[r[i]],n)===!1)return!1;return!0}Y(ly,"keysEqual");function eO(e,t,r){var n=Kf(e),o=Kf(t),i=zf(e),s=zf(t);if(n=n.concat(i),o=o.concat(s),n.length&&n.length===o.length)return Co(Yf(n).sort(),Yf(o).sort())===!1?!1:ly(e,t,n,r);var a=Wf(e),l=Wf(t);return a.length&&a.length===l.length?(a.sort(),l.sort(),Co(a,l,r)):n.length===0&&a.length===0&&o.length===0&&l.length===0}Y(eO,"objectEqual");function _i(e){return e===null||typeof e!="object"}Y(_i,"isPrimitive");function Yf(e){return e.map(Y(function(t){return typeof t=="symbol"?t.toString():t},"mapSymbol"))}Y(Yf,"mapSymbols");function hd(e,t){return typeof e>"u"||e===null?!1:t in Object(e)}Y(hd,"hasProperty");function tO(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})}Y(tO,"parsePath");function Xf(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}Y(Xf,"internalGetPathValue");function uy(e,t){let r=tO(t),n=r[r.length-1],o={parent:r.length>1?Xf(e,r,r.length-1):e,name:n.p||n.i,value:Xf(e,r)};return o.exists=hd(o.parent,o.name),o}Y(uy,"getPathInfo");var nu,B=(nu=class{__flags={};constructor(e,t,r,n){return Ie(this,"ssfi",r||nu),Ie(this,"lockSsfi",n),Ie(this,"object",e),Ie(this,"message",t),Ie(this,"eql",lr.deepEqual||zR),Vs(this)}static get includeStack(){return console.warn("Assertion.includeStack is deprecated, use chai.config.includeStack instead."),lr.includeStack}static set includeStack(e){console.warn("Assertion.includeStack is deprecated, use chai.config.includeStack instead."),lr.includeStack=e}static get showDiff(){return console.warn("Assertion.showDiff is deprecated, use chai.config.showDiff instead."),lr.showDiff}static set showDiff(e){console.warn("Assertion.showDiff is deprecated, use chai.config.showDiff instead."),lr.showDiff=e}static addProperty(e,t){cy(this.prototype,e,t)}static addMethod(e,t){dy(this.prototype,e,t)}static addChainableMethod(e,t,r){hy(this.prototype,e,t,r)}static overwriteProperty(e,t){py(this.prototype,e,t)}static overwriteMethod(e,t){fy(this.prototype,e,t)}static overwriteChainableMethod(e,t,r){my(this.prototype,e,t,r)}assert(e,t,r,n,o,i){let s=ny(this,arguments);if(i!==!1&&(i=!0),n===void 0&&o===void 0&&(i=!1),lr.showDiff!==!0&&(i=!1),!s){t=iy(this,arguments);let a={actual:fd(this,arguments),expected:n,showDiff:i},l=by(this,arguments);throw l&&(a.operator=l),new Ke(t,a,lr.includeStack?this.assert:Ie(this,"ssfi"))}}get _obj(){return Ie(this,"object")}set _obj(e){Ie(this,"object",e)}},Y(nu,"Assertion"),nu);function xl(){return lr.useProxy&&typeof Proxy<"u"&&typeof Reflect<"u"}Y(xl,"isProxyEnabled");function cy(e,t,r){r=r===void 0?function(){}:r,Object.defineProperty(e,t,{get:Y(function n(){!xl()&&!Ie(this,"lockSsfi")&&Ie(this,"ssfi",n);let o=r.call(this);if(o!==void 0)return o;let i=new B;return sn(this,i),i},"propertyGetter"),configurable:!0})}Y(cy,"addProperty");var aH=Object.getOwnPropertyDescriptor(function(){},"length");function Nl(e,t,r){return aH.configurable&&Object.defineProperty(e,"length",{get:Y(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}Y(Nl,"addLengthGuard");function rO(e){let t=Object.getOwnPropertyNames(e);function r(o){t.indexOf(o)===-1&&t.push(o)}Y(r,"addProperty");let n=Object.getPrototypeOf(e);for(;n!==null;)Object.getOwnPropertyNames(n).forEach(r),n=Object.getPrototypeOf(n);return t}Y(rO,"getProperties");var Qv=["__flags","__methods","_obj","assert"];function Vs(e,t){return xl()?new Proxy(e,{get:Y(function r(n,o){if(typeof o=="string"&&lr.proxyExcludedKeys.indexOf(o)===-1&&!Reflect.has(n,o)){if(t)throw Error("Invalid Chai property: "+t+"."+o+'. See docs for proper usage of "'+t+'".');let i=null,s=4;throw rO(n).forEach(function(a){if(!Object.prototype.hasOwnProperty(a)&&Qv.indexOf(a)===-1){let l=nO(o,a,s);l<s&&(i=a,s=l)}}),Error(i!==null?"Invalid Chai property: "+o+'. Did you mean "'+i+'"?':"Invalid Chai property: "+o)}return Qv.indexOf(o)===-1&&!Ie(n,"lockSsfi")&&Ie(n,"ssfi",r),Reflect.get(n,o)},"proxyGetter")}):e}Y(Vs,"proxify");function nO(e,t,r){if(Math.abs(e.length-t.length)>=r)return r;let n=[];for(let o=0;o<=e.length;o++)n[o]=Array(t.length+1).fill(0),n[o][0]=o;for(let o=0;o<t.length;o++)n[0][o]=o;for(let o=1;o<=e.length;o++){let i=e.charCodeAt(o-1);for(let s=1;s<=t.length;s++){if(Math.abs(o-s)>=r){n[o][s]=r;continue}n[o][s]=Math.min(n[o-1][s]+1,n[o][s-1]+1,n[o-1][s-1]+(i===t.charCodeAt(s-1)?0:1))}}return n[e.length][t.length]}Y(nO,"stringDistanceCapped");function dy(e,t,r){let n=Y(function(){Ie(this,"lockSsfi")||Ie(this,"ssfi",n);let o=r.apply(this,arguments);if(o!==void 0)return o;let i=new B;return sn(this,i),i},"methodWrapper");Nl(n,t,!1),e[t]=Vs(n,t)}Y(dy,"addMethod");function py(e,t,r){let n=Object.getOwnPropertyDescriptor(e,t),o=Y(function(){},"_super");n&&typeof n.get=="function"&&(o=n.get),Object.defineProperty(e,t,{get:Y(function i(){!xl()&&!Ie(this,"lockSsfi")&&Ie(this,"ssfi",i);let s=Ie(this,"lockSsfi");Ie(this,"lockSsfi",!0);let a=r(o).call(this);if(Ie(this,"lockSsfi",s),a!==void 0)return a;let l=new B;return sn(this,l),l},"overwritingPropertyGetter"),configurable:!0})}Y(py,"overwriteProperty");function fy(e,t,r){let n=e[t],o=Y(function(){throw new Error(t+" is not a function")},"_super");n&&typeof n=="function"&&(o=n);let i=Y(function(){Ie(this,"lockSsfi")||Ie(this,"ssfi",i);let s=Ie(this,"lockSsfi");Ie(this,"lockSsfi",!0);let a=r(o).apply(this,arguments);if(Ie(this,"lockSsfi",s),a!==void 0)return a;let l=new B;return sn(this,l),l},"overwritingMethodWrapper");Nl(i,t,!1),e[t]=Vs(i,t)}Y(fy,"overwriteMethod");var lH=typeof Object.setPrototypeOf=="function",Zv=Y(function(){},"testFn"),uH=Object.getOwnPropertyNames(Zv).filter(function(e){let t=Object.getOwnPropertyDescriptor(Zv,e);return typeof t!="object"?!0:!t.configurable}),cH=Function.prototype.call,dH=Function.prototype.apply;function hy(e,t,r,n){typeof n!="function"&&(n=Y(function(){},"chainingBehavior"));let o={method:r,chainingBehavior:n};e.__methods||(e.__methods={}),e.__methods[t]=o,Object.defineProperty(e,t,{get:Y(function(){o.chainingBehavior.call(this);let i=Y(function(){Ie(this,"lockSsfi")||Ie(this,"ssfi",i);let s=o.method.apply(this,arguments);if(s!==void 0)return s;let a=new B;return sn(this,a),a},"chainableMethodWrapper");if(Nl(i,t,!0),lH){let s=Object.create(this);s.call=cH,s.apply=dH,Object.setPrototypeOf(i,s)}else Object.getOwnPropertyNames(e).forEach(function(s){if(uH.indexOf(s)!==-1)return;let a=Object.getOwnPropertyDescriptor(e,s);Object.defineProperty(i,s,a)});return sn(this,i),Vs(i)},"chainableMethodGetter"),configurable:!0})}Y(hy,"addChainableMethod");function my(e,t,r,n){let o=e.__methods[t],i=o.chainingBehavior;o.chainingBehavior=Y(function(){let a=n(i).call(this);if(a!==void 0)return a;let l=new B;return sn(this,l),l},"overwritingChainableMethodGetter");let s=o.method;o.method=Y(function(){let a=r(s).apply(this,arguments);if(a!==void 0)return a;let l=new B;return sn(this,l),l},"overwritingChainableMethodWrapper")}Y(my,"overwriteChainableMethod");function rc(e,t){return Ge(e)<Ge(t)?-1:1}Y(rc,"compareByInspect");function yy(e){return typeof Object.getOwnPropertySymbols!="function"?[]:Object.getOwnPropertySymbols(e).filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})}Y(yy,"getOwnEnumerablePropertySymbols");function gy(e){return Object.keys(e).concat(yy(e))}Y(gy,"getOwnEnumerableProperties");var nc=Number.isNaN;function oO(e){let t=rt(e);return["Array","Object","Function"].indexOf(t)!==-1}Y(oO,"isObjectType");function by(e,t){let r=Ie(e,"operator"),n=Ie(e,"negate"),o=t[3],i=n?t[2]:t[1];if(r)return r;if(typeof i=="function"&&(i=i()),i=i||"",!i||/\shave\s/.test(i))return;let s=oO(o);return/\snot\s/.test(i)?s?"notDeepStrictEqual":"notStrictEqual":s?"deepStrictEqual":"strictEqual"}Y(by,"getOperator");function md(e){return e.name}Y(md,"getName");function oc(e){return Object.prototype.toString.call(e)==="[object RegExp]"}Y(oc,"isRegExp");function Dt(e){return["Number","BigInt"].includes(rt(e))}Y(Dt,"isNumeric");var{flag:K}=gn;["to","be","been","is","and","has","have","with","that","which","at","of","same","but","does","still","also"].forEach(function(e){B.addProperty(e)});B.addProperty("not",function(){K(this,"negate",!0)});B.addProperty("deep",function(){K(this,"deep",!0)});B.addProperty("nested",function(){K(this,"nested",!0)});B.addProperty("own",function(){K(this,"own",!0)});B.addProperty("ordered",function(){K(this,"ordered",!0)});B.addProperty("any",function(){K(this,"any",!0),K(this,"all",!1)});B.addProperty("all",function(){K(this,"all",!0),K(this,"any",!1)});var eE={function:["function","asyncfunction","generatorfunction","asyncgeneratorfunction"],asyncfunction:["asyncfunction","asyncgeneratorfunction"],generatorfunction:["generatorfunction","asyncgeneratorfunction"],asyncgeneratorfunction:["asyncgeneratorfunction"]};function vy(e,t){t&&K(this,"message",t),e=e.toLowerCase();let r=K(this,"object"),n=~["a","e","i","o","u"].indexOf(e.charAt(0))?"an ":"a ",o=rt(r).toLowerCase();eE.function.includes(e)?this.assert(eE[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)}Y(vy,"an");B.addChainableMethod("an",vy);B.addChainableMethod("a",vy);function iO(e,t){return nc(e)&&nc(t)||e===t}Y(iO,"SameValueZero");function Il(){K(this,"contains",!0)}Y(Il,"includeChainingBehavior");function Ml(e,t){t&&K(this,"message",t);let r=K(this,"object"),n=rt(r).toLowerCase(),o=K(this,"message"),i=K(this,"negate"),s=K(this,"ssfi"),a=K(this,"deep"),l=a?"deep ":"",u=a?K(this,"eql"):iO;o=o?o+": ":"";let c=!1;switch(n){case"string":c=r.indexOf(e)!==-1;break;case"weakset":if(a)throw new Ke(o+"unable to use .deep.include with WeakSet",void 0,s);c=r.has(e);break;case"map":r.forEach(function(d){c=c||u(d,e)});break;case"set":a?r.forEach(function(d){c=c||u(d,e)}):c=r.has(e);break;case"array":a?c=r.some(function(d){return u(d,e)}):c=r.indexOf(e)!==-1;break;default:{if(e!==Object(e))throw new Ke(o+"the given combination of arguments ("+n+" and "+rt(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 "+rt(e).toLowerCase(),void 0,s);let d=Object.keys(e),f=null,h=0;if(d.forEach(function(m){let g=new B(r);if(sn(this,g,!0),K(g,"lockSsfi",!0),!i||d.length===1){g.property(m,e[m]);return}try{g.property(m,e[m])}catch(v){if(!Tr.compatibleConstructor(v,Ke))throw v;f===null&&(f=v),h++}},this),i&&d.length>1&&h===d.length)throw f;return}}this.assert(c,"expected #{this} to "+l+"include "+Ge(e),"expected #{this} to not "+l+"include "+Ge(e))}Y(Ml,"include");B.addChainableMethod("include",Ml,Il);B.addChainableMethod("contain",Ml,Il);B.addChainableMethod("contains",Ml,Il);B.addChainableMethod("includes",Ml,Il);B.addProperty("ok",function(){this.assert(K(this,"object"),"expected #{this} to be truthy","expected #{this} to be falsy")});B.addProperty("true",function(){this.assert(K(this,"object")===!0,"expected #{this} to be true","expected #{this} to be false",!K(this,"negate"))});B.addProperty("numeric",function(){let e=K(this,"object");this.assert(["Number","BigInt"].includes(rt(e)),"expected #{this} to be numeric","expected #{this} to not be numeric",!K(this,"negate"))});B.addProperty("callable",function(){let e=K(this,"object"),t=K(this,"ssfi"),r=K(this,"message"),n=r?`${r}: `:"",o=K(this,"negate"),i=o?`${n}expected ${Ge(e)} not to be a callable function`:`${n}expected ${Ge(e)} to be a callable function`,s=["Function","AsyncFunction","GeneratorFunction","AsyncGeneratorFunction"].includes(rt(e));if(s&&o||!s&&!o)throw new Ke(i,void 0,t)});B.addProperty("false",function(){this.assert(K(this,"object")===!1,"expected #{this} to be false","expected #{this} to be true",!!K(this,"negate"))});B.addProperty("null",function(){this.assert(K(this,"object")===null,"expected #{this} to be null","expected #{this} not to be null")});B.addProperty("undefined",function(){this.assert(K(this,"object")===void 0,"expected #{this} to be undefined","expected #{this} not to be undefined")});B.addProperty("NaN",function(){this.assert(nc(K(this,"object")),"expected #{this} to be NaN","expected #{this} not to be NaN")});function Ey(){let e=K(this,"object");this.assert(e!=null,"expected #{this} to exist","expected #{this} to not exist")}Y(Ey,"assertExist");B.addProperty("exist",Ey);B.addProperty("exists",Ey);B.addProperty("empty",function(){let e=K(this,"object"),t=K(this,"ssfi"),r=K(this,"message"),n;switch(r=r?r+": ":"",rt(e).toLowerCase()){case"array":case"string":n=e.length;break;case"map":case"set":n=e.size;break;case"weakmap":case"weakset":throw new Ke(r+".empty was passed a weak collection",void 0,t);case"function":{let o=r+".empty was passed a function "+md(e);throw new Ke(o.trim(),void 0,t)}default:if(e!==Object(e))throw new Ke(r+".empty was passed non-string primitive "+Ge(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 _y(){let e=K(this,"object"),t=rt(e);this.assert(t==="Arguments","expected #{this} to be arguments but got "+t,"expected #{this} to not be arguments")}Y(_y,"checkArguments");B.addProperty("arguments",_y);B.addProperty("Arguments",_y);function yd(e,t){t&&K(this,"message",t);let r=K(this,"object");if(K(this,"deep")){let n=K(this,"lockSsfi");K(this,"lockSsfi",!0),this.eql(e),K(this,"lockSsfi",n)}else this.assert(e===r,"expected #{this} to equal #{exp}","expected #{this} to not equal #{exp}",e,this._obj,!0)}Y(yd,"assertEqual");B.addMethod("equal",yd);B.addMethod("equals",yd);B.addMethod("eq",yd);function Ty(e,t){t&&K(this,"message",t);let r=K(this,"eql");this.assert(r(e,K(this,"object")),"expected #{this} to deeply equal #{exp}","expected #{this} to not deeply equal #{exp}",e,this._obj,!0)}Y(Ty,"assertEql");B.addMethod("eql",Ty);B.addMethod("eqls",Ty);function gd(e,t){t&&K(this,"message",t);let r=K(this,"object"),n=K(this,"doLength"),o=K(this,"message"),i=o?o+": ":"",s=K(this,"ssfi"),a=rt(r).toLowerCase(),l=rt(e).toLowerCase();if(n&&a!=="map"&&a!=="set"&&new B(r,o,s,!0).to.have.property("length"),!n&&a==="date"&&l!=="date")throw new Ke(i+"the argument to above must be a date",void 0,s);if(!Dt(e)&&(n||Dt(r)))throw new Ke(i+"the argument to above must be a number",void 0,s);if(!n&&a!=="date"&&!Dt(r)){let u=a==="string"?"'"+r+"'":r;throw new Ke(i+"expected "+u+" to be a number or a date",void 0,s)}if(n){let u="length",c;a==="map"||a==="set"?(u="size",c=r.size):c=r.length,this.assert(c>e,"expected #{this} to have a "+u+" above #{exp} but got #{act}","expected #{this} to not have a "+u+" above #{exp}",e,c)}else this.assert(r>e,"expected #{this} to be above #{exp}","expected #{this} to be at most #{exp}",e)}Y(gd,"assertAbove");B.addMethod("above",gd);B.addMethod("gt",gd);B.addMethod("greaterThan",gd);function bd(e,t){t&&K(this,"message",t);let r=K(this,"object"),n=K(this,"doLength"),o=K(this,"message"),i=o?o+": ":"",s=K(this,"ssfi"),a=rt(r).toLowerCase(),l=rt(e).toLowerCase(),u,c=!0;if(n&&a!=="map"&&a!=="set"&&new B(r,o,s,!0).to.have.property("length"),!n&&a==="date"&&l!=="date")u=i+"the argument to least must be a date";else if(!Dt(e)&&(n||Dt(r)))u=i+"the argument to least must be a number";else if(!n&&a!=="date"&&!Dt(r)){let d=a==="string"?"'"+r+"'":r;u=i+"expected "+d+" to be a number or a date"}else c=!1;if(c)throw new Ke(u,void 0,s);if(n){let d="length",f;a==="map"||a==="set"?(d="size",f=r.size):f=r.length,this.assert(f>=e,"expected #{this} to have a "+d+" at least #{exp} but got #{act}","expected #{this} to have a "+d+" below #{exp}",e,f)}else this.assert(r>=e,"expected #{this} to be at least #{exp}","expected #{this} to be below #{exp}",e)}Y(bd,"assertLeast");B.addMethod("least",bd);B.addMethod("gte",bd);B.addMethod("greaterThanOrEqual",bd);function vd(e,t){t&&K(this,"message",t);let r=K(this,"object"),n=K(this,"doLength"),o=K(this,"message"),i=o?o+": ":"",s=K(this,"ssfi"),a=rt(r).toLowerCase(),l=rt(e).toLowerCase(),u,c=!0;if(n&&a!=="map"&&a!=="set"&&new B(r,o,s,!0).to.have.property("length"),!n&&a==="date"&&l!=="date")u=i+"the argument to below must be a date";else if(!Dt(e)&&(n||Dt(r)))u=i+"the argument to below must be a number";else if(!n&&a!=="date"&&!Dt(r)){let d=a==="string"?"'"+r+"'":r;u=i+"expected "+d+" to be a number or a date"}else c=!1;if(c)throw new Ke(u,void 0,s);if(n){let d="length",f;a==="map"||a==="set"?(d="size",f=r.size):f=r.length,this.assert(f<e,"expected #{this} to have a "+d+" below #{exp} but got #{act}","expected #{this} to not have a "+d+" below #{exp}",e,f)}else this.assert(r<e,"expected #{this} to be below #{exp}","expected #{this} to be at least #{exp}",e)}Y(vd,"assertBelow");B.addMethod("below",vd);B.addMethod("lt",vd);B.addMethod("lessThan",vd);function Ed(e,t){t&&K(this,"message",t);let r=K(this,"object"),n=K(this,"doLength"),o=K(this,"message"),i=o?o+": ":"",s=K(this,"ssfi"),a=rt(r).toLowerCase(),l=rt(e).toLowerCase(),u,c=!0;if(n&&a!=="map"&&a!=="set"&&new B(r,o,s,!0).to.have.property("length"),!n&&a==="date"&&l!=="date")u=i+"the argument to most must be a date";else if(!Dt(e)&&(n||Dt(r)))u=i+"the argument to most must be a number";else if(!n&&a!=="date"&&!Dt(r)){let d=a==="string"?"'"+r+"'":r;u=i+"expected "+d+" to be a number or a date"}else c=!1;if(c)throw new Ke(u,void 0,s);if(n){let d="length",f;a==="map"||a==="set"?(d="size",f=r.size):f=r.length,this.assert(f<=e,"expected #{this} to have a "+d+" at most #{exp} but got #{act}","expected #{this} to have a "+d+" above #{exp}",e,f)}else this.assert(r<=e,"expected #{this} to be at most #{exp}","expected #{this} to be above #{exp}",e)}Y(Ed,"assertMost");B.addMethod("most",Ed);B.addMethod("lte",Ed);B.addMethod("lessThanOrEqual",Ed);B.addMethod("within",function(e,t,r){r&&K(this,"message",r);let n=K(this,"object"),o=K(this,"doLength"),i=K(this,"message"),s=i?i+": ":"",a=K(this,"ssfi"),l=rt(n).toLowerCase(),u=rt(e).toLowerCase(),c=rt(t).toLowerCase(),d,f=!0,h=u==="date"&&c==="date"?e.toISOString()+".."+t.toISOString():e+".."+t;if(o&&l!=="map"&&l!=="set"&&new B(n,i,a,!0).to.have.property("length"),!o&&l==="date"&&(u!=="date"||c!=="date"))d=s+"the arguments to within must be dates";else if((!Dt(e)||!Dt(t))&&(o||Dt(n)))d=s+"the arguments to within must be numbers";else if(!o&&l!=="date"&&!Dt(n)){let m=l==="string"?"'"+n+"'":n;d=s+"expected "+m+" to be a number or a date"}else f=!1;if(f)throw new Ke(d,void 0,a);if(o){let m="length",g;l==="map"||l==="set"?(m="size",g=n.size):g=n.length,this.assert(g>=e&&g<=t,"expected #{this} to have a "+m+" within "+h,"expected #{this} to not have a "+m+" within "+h)}else this.assert(n>=e&&n<=t,"expected #{this} to be within "+h,"expected #{this} to not be within "+h)});function wy(e,t){t&&K(this,"message",t);let r=K(this,"object"),n=K(this,"ssfi"),o=K(this,"message"),i;try{i=r instanceof e}catch(a){throw a instanceof TypeError?(o=o?o+": ":"",new Ke(o+"The instanceof assertion needs a constructor but "+rt(e)+" was given.",void 0,n)):a}let s=md(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)}Y(wy,"assertInstanceOf");B.addMethod("instanceof",wy);B.addMethod("instanceOf",wy);function Sy(e,t,r){r&&K(this,"message",r);let n=K(this,"nested"),o=K(this,"own"),i=K(this,"message"),s=K(this,"object"),a=K(this,"ssfi"),l=typeof e;if(i=i?i+": ":"",n){if(l!=="string")throw new Ke(i+"the argument to property must be a string when using nested syntax",void 0,a)}else if(l!=="string"&&l!=="number"&&l!=="symbol")throw new Ke(i+"the argument to property must be a string, number, or symbol",void 0,a);if(n&&o)throw new Ke(i+'The "nested" and "own" flags cannot be combined.',void 0,a);if(s==null)throw new Ke(i+"Target cannot be null or undefined.",void 0,a);let u=K(this,"deep"),c=K(this,"negate"),d=n?uy(s,e):null,f=n?d.value:s[e],h=u?K(this,"eql"):(v,b)=>v===b,m="";u&&(m+="deep "),o&&(m+="own "),n&&(m+="nested "),m+="property ";let g;o?g=Object.prototype.hasOwnProperty.call(s,e):n?g=d.exists:g=hd(s,e),(!c||arguments.length===1)&&this.assert(g,"expected #{this} to have "+m+Ge(e),"expected #{this} to not have "+m+Ge(e)),arguments.length>1&&this.assert(g&&h(t,f),"expected #{this} to have "+m+Ge(e)+" of #{exp}, but got #{act}","expected #{this} to not have "+m+Ge(e)+" of #{act}",t,f),K(this,"object",f)}Y(Sy,"assertProperty");B.addMethod("property",Sy);function Ry(e,t,r){K(this,"own",!0),Sy.apply(this,arguments)}Y(Ry,"assertOwnProperty");B.addMethod("ownProperty",Ry);B.addMethod("haveOwnProperty",Ry);function Oy(e,t,r){typeof t=="string"&&(r=t,t=null),r&&K(this,"message",r);let n=K(this,"object"),o=Object.getOwnPropertyDescriptor(Object(n),e),i=K(this,"eql");o&&t?this.assert(i(t,o),"expected the own property descriptor for "+Ge(e)+" on #{this} to match "+Ge(t)+", got "+Ge(o),"expected the own property descriptor for "+Ge(e)+" on #{this} to not match "+Ge(t),t,o,!0):this.assert(o,"expected #{this} to have an own property descriptor for "+Ge(e),"expected #{this} to not have an own property descriptor for "+Ge(e)),K(this,"object",o)}Y(Oy,"assertOwnPropertyDescriptor");B.addMethod("ownPropertyDescriptor",Oy);B.addMethod("haveOwnPropertyDescriptor",Oy);function Ay(){K(this,"doLength",!0)}Y(Ay,"assertLengthChain");function Cy(e,t){t&&K(this,"message",t);let r=K(this,"object"),n=rt(r).toLowerCase(),o=K(this,"message"),i=K(this,"ssfi"),s="length",a;switch(n){case"map":case"set":s="size",a=r.size;break;default:new B(r,o,i,!0).to.have.property("length"),a=r.length}this.assert(a==e,"expected #{this} to have a "+s+" of #{exp} but got #{act}","expected #{this} to not have a "+s+" of #{act}",e,a)}Y(Cy,"assertLength");B.addChainableMethod("length",Cy,Ay);B.addChainableMethod("lengthOf",Cy,Ay);function Py(e,t){t&&K(this,"message",t);let r=K(this,"object");this.assert(e.exec(r),"expected #{this} to match "+e,"expected #{this} not to match "+e)}Y(Py,"assertMatch");B.addMethod("match",Py);B.addMethod("matches",Py);B.addMethod("string",function(e,t){t&&K(this,"message",t);let r=K(this,"object"),n=K(this,"message"),o=K(this,"ssfi");new B(r,n,o,!0).is.a("string"),this.assert(~r.indexOf(e),"expected #{this} to contain "+Ge(e),"expected #{this} to not contain "+Ge(e))});function xy(e){let t=K(this,"object"),r=rt(t),n=rt(e),o=K(this,"ssfi"),i=K(this,"deep"),s,a="",l,u=!0,c=K(this,"message");c=c?c+": ":"";let d=c+"when testing keys against an object or an array you must give a single Array|Object|String argument or multiple String arguments";if(r==="Map"||r==="Set")a=i?"deeply ":"",l=[],t.forEach(function(b,E){l.push(E)}),n!=="Array"&&(e=Array.prototype.slice.call(arguments));else{switch(l=gy(t),n){case"Array":if(arguments.length>1)throw new Ke(d,void 0,o);break;case"Object":if(arguments.length>1)throw new Ke(d,void 0,o);e=Object.keys(e);break;default:e=Array.prototype.slice.call(arguments)}e=e.map(function(b){return typeof b=="symbol"?b:String(b)})}if(!e.length)throw new Ke(c+"keys required",void 0,o);let f=e.length,h=K(this,"any"),m=K(this,"all"),g=e,v=i?K(this,"eql"):(b,E)=>b===E;if(!h&&!m&&(m=!0),h&&(u=g.some(function(b){return l.some(function(E){return v(b,E)})})),m&&(u=g.every(function(b){return l.some(function(E){return v(b,E)})}),K(this,"contains")||(u=u&&e.length==l.length)),f>1){e=e.map(function(E){return Ge(E)});let b=e.pop();m&&(s=e.join(", ")+", and "+b),h&&(s=e.join(", ")+", or "+b)}else s=Ge(e[0]);s=(f>1?"keys ":"key ")+s,s=(K(this,"contains")?"contain ":"have ")+s,this.assert(u,"expected #{this} to "+a+s,"expected #{this} to not "+a+s,g.slice(0).sort(rc),l.sort(rc),!0)}Y(xy,"assertKeys");B.addMethod("keys",xy);B.addMethod("key",xy);function _d(e,t,r){r&&K(this,"message",r);let n=K(this,"object"),o=K(this,"ssfi"),i=K(this,"message"),s=K(this,"negate")||!1;new B(n,i,o,!0).is.a("function"),(oc(e)||typeof e=="string")&&(t=e,e=null);let a,l=!1;try{n()}catch(h){l=!0,a=h}let u=e===void 0&&t===void 0,c=!!(e&&t),d=!1,f=!1;if(u||!u&&!s){let h="an error";e instanceof Error?h="#{exp}":e&&(h=Tr.getConstructorName(e));let m=a;if(a instanceof Error)m=a.toString();else if(typeof a=="string")m=a;else if(a&&(typeof a=="object"||typeof a=="function"))try{m=Tr.getConstructorName(a)}catch{}this.assert(l,"expected #{this} to throw "+h,"expected #{this} to not throw an error but #{act} was thrown",e&&e.toString(),m)}if(e&&a&&(e instanceof Error&&Tr.compatibleInstance(a,e)===s&&(c&&s?d=!0:this.assert(s,"expected #{this} to throw #{exp} but #{act} was thrown","expected #{this} to not throw #{exp}"+(a&&!s?" but #{act} was thrown":""),e.toString(),a.toString())),Tr.compatibleConstructor(a,e)===s&&(c&&s?d=!0:this.assert(s,"expected #{this} to throw #{exp} but #{act} was thrown","expected #{this} to not throw #{exp}"+(a?" but #{act} was thrown":""),e instanceof Error?e.toString():e&&Tr.getConstructorName(e),a instanceof Error?a.toString():a&&Tr.getConstructorName(a)))),a&&t!==void 0&&t!==null){let h="including";oc(t)&&(h="matching"),Tr.compatibleMessage(a,t)===s&&(c&&s?f=!0:this.assert(s,"expected #{this} to throw error "+h+" #{exp} but got #{act}","expected #{this} to throw error not "+h+" #{exp}",t,Tr.getMessage(a)))}d&&f&&this.assert(s,"expected #{this} to throw #{exp} but #{act} was thrown","expected #{this} to not throw #{exp}"+(a?" but #{act} was thrown":""),e instanceof Error?e.toString():e&&Tr.getConstructorName(e),a instanceof Error?a.toString():a&&Tr.getConstructorName(a)),K(this,"object",a)}Y(_d,"assertThrows");B.addMethod("throw",_d);B.addMethod("throws",_d);B.addMethod("Throw",_d);function Ny(e,t){t&&K(this,"message",t);let r=K(this,"object"),n=K(this,"itself"),o=typeof r=="function"&&!n?r.prototype[e]:r[e];this.assert(typeof o=="function","expected #{this} to respond to "+Ge(e),"expected #{this} to not respond to "+Ge(e))}Y(Ny,"respondTo");B.addMethod("respondTo",Ny);B.addMethod("respondsTo",Ny);B.addProperty("itself",function(){K(this,"itself",!0)});function Iy(e,t){t&&K(this,"message",t);let r=K(this,"object"),n=e(r);this.assert(n,"expected #{this} to satisfy "+ui(e),"expected #{this} to not satisfy"+ui(e),!K(this,"negate"),n)}Y(Iy,"satisfy");B.addMethod("satisfy",Iy);B.addMethod("satisfies",Iy);function My(e,t,r){r&&K(this,"message",r);let n=K(this,"object"),o=K(this,"message"),i=K(this,"ssfi");new B(n,o,i,!0).is.numeric;let s="A `delta` value is required for `closeTo`";if(t==null)throw new Ke(o?`${o}: ${s}`:s,void 0,i);if(new B(t,o,i,!0).is.numeric,s="A `expected` value is required for `closeTo`",e==null)throw new Ke(o?`${o}: ${s}`:s,void 0,i);new B(e,o,i,!0).is.numeric;let a=Y(u=>u<0n?-u:u,"abs"),l=Y(u=>parseFloat(parseFloat(u).toPrecision(12)),"strip");this.assert(l(a(n-e))<=t,"expected #{this} to be close to "+e+" +/- "+t,"expected #{this} not to be close to "+e+" +/- "+t)}Y(My,"closeTo");B.addMethod("closeTo",My);B.addMethod("approximately",My);function sO(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(a,l){if(o)return r?r(a,i[l]):a===i[l];if(!r){let u=i.indexOf(a);return u===-1?!1:(n||i.splice(u,1),!0)}return i.some(function(u,c){return r(a,u)?(n||i.splice(c,1),!0):!1})})}Y(sO,"isSubsetOf");B.addMethod("members",function(e,t){t&&K(this,"message",t);let r=K(this,"object"),n=K(this,"message"),o=K(this,"ssfi");new B(r,n,o,!0).to.be.iterable,new B(e,n,o,!0).to.be.iterable;let i=K(this,"contains"),s=K(this,"ordered"),a,l,u;i?(a=s?"an ordered superset":"a superset",l="expected #{this} to be "+a+" of #{exp}",u="expected #{this} to not be "+a+" of #{exp}"):(a=s?"ordered members":"members",l="expected #{this} to have the same "+a+" as #{exp}",u="expected #{this} to not have the same "+a+" as #{exp}");let c=K(this,"deep")?K(this,"eql"):void 0;this.assert(sO(e,r,c,i,s),l,u,e,r,!0)});B.addProperty("iterable",function(e){e&&K(this,"message",e);let t=K(this,"object");this.assert(t!=null&&t[Symbol.iterator],"expected #{this} to be an iterable","expected #{this} to not be an iterable",t)});function aO(e,t){t&&K(this,"message",t);let r=K(this,"object"),n=K(this,"message"),o=K(this,"ssfi"),i=K(this,"contains"),s=K(this,"deep"),a=K(this,"eql");new B(e,n,o,!0).to.be.an("array"),i?this.assert(e.some(function(l){return r.indexOf(l)>-1}),"expected #{this} to contain one of #{exp}","expected #{this} to not contain one of #{exp}",e,r):s?this.assert(e.some(function(l){return a(r,l)}),"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)}Y(aO,"oneOf");B.addMethod("oneOf",aO);function jy(e,t,r){r&&K(this,"message",r);let n=K(this,"object"),o=K(this,"message"),i=K(this,"ssfi");new B(n,o,i,!0).is.a("function");let s;t?(new B(e,o,i,!0).to.have.property(t),s=e[t]):(new B(e,o,i,!0).is.a("function"),s=e()),n();let a=t==null?e():e[t],l=t==null?s:"."+t;K(this,"deltaMsgObj",l),K(this,"initialDeltaValue",s),K(this,"finalDeltaValue",a),K(this,"deltaBehavior","change"),K(this,"realDelta",a!==s),this.assert(s!==a,"expected "+l+" to change","expected "+l+" to not change")}Y(jy,"assertChanges");B.addMethod("change",jy);B.addMethod("changes",jy);function qy(e,t,r){r&&K(this,"message",r);let n=K(this,"object"),o=K(this,"message"),i=K(this,"ssfi");new B(n,o,i,!0).is.a("function");let s;t?(new B(e,o,i,!0).to.have.property(t),s=e[t]):(new B(e,o,i,!0).is.a("function"),s=e()),new B(s,o,i,!0).is.a("number"),n();let a=t==null?e():e[t],l=t==null?s:"."+t;K(this,"deltaMsgObj",l),K(this,"initialDeltaValue",s),K(this,"finalDeltaValue",a),K(this,"deltaBehavior","increase"),K(this,"realDelta",a-s),this.assert(a-s>0,"expected "+l+" to increase","expected "+l+" to not increase")}Y(qy,"assertIncreases");B.addMethod("increase",qy);B.addMethod("increases",qy);function Ly(e,t,r){r&&K(this,"message",r);let n=K(this,"object"),o=K(this,"message"),i=K(this,"ssfi");new B(n,o,i,!0).is.a("function");let s;t?(new B(e,o,i,!0).to.have.property(t),s=e[t]):(new B(e,o,i,!0).is.a("function"),s=e()),new B(s,o,i,!0).is.a("number"),n();let a=t==null?e():e[t],l=t==null?s:"."+t;K(this,"deltaMsgObj",l),K(this,"initialDeltaValue",s),K(this,"finalDeltaValue",a),K(this,"deltaBehavior","decrease"),K(this,"realDelta",s-a),this.assert(a-s<0,"expected "+l+" to decrease","expected "+l+" to not decrease")}Y(Ly,"assertDecreases");B.addMethod("decrease",Ly);B.addMethod("decreases",Ly);function lO(e,t){t&&K(this,"message",t);let r=K(this,"deltaMsgObj"),n=K(this,"initialDeltaValue"),o=K(this,"finalDeltaValue"),i=K(this,"deltaBehavior"),s=K(this,"realDelta"),a;i==="change"?a=Math.abs(o-n)===Math.abs(e):a=s===Math.abs(e),this.assert(a,"expected "+r+" to "+i+" by "+e,"expected "+r+" to not "+i+" by "+e)}Y(lO,"assertDelta");B.addMethod("by",lO);B.addProperty("extensible",function(){let e=K(this,"object"),t=e===Object(e)&&Object.isExtensible(e);this.assert(t,"expected #{this} to be extensible","expected #{this} to not be extensible")});B.addProperty("sealed",function(){let e=K(this,"object"),t=e===Object(e)?Object.isSealed(e):!0;this.assert(t,"expected #{this} to be sealed","expected #{this} to not be sealed")});B.addProperty("frozen",function(){let e=K(this,"object"),t=e===Object(e)?Object.isFrozen(e):!0;this.assert(t,"expected #{this} to be frozen","expected #{this} to not be frozen")});B.addProperty("finite",function(e){let t=K(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 ic(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 ic(r,n)})}):!1:e instanceof Date?t instanceof Date?e.getTime()===t.getTime():!1:Object.keys(e).every(function(r){let n=e[r],o=t[r];return typeof n=="object"&&n!==null&&o!==null?ic(n,o):typeof n=="function"?n(o):o===n}):!1}Y(ic,"compareSubset");B.addMethod("containSubset",function(e){let t=Ie(this,"object"),r=lr.showDiff;this.assert(ic(e,t),"expected #{act} to contain subset #{exp}","expected #{act} to not contain subset #{exp}",e,t,r)});function ci(e,t){return new B(e,t)}Y(ci,"expect");ci.fail=function(e,t,r,n){throw arguments.length<2&&(r=e,e=void 0),r=r||"expect.fail()",new Ke(r,{actual:e,expected:t,operator:n},ci.fail)};var uO={};ry(uO,{Should:()=>fH,should:()=>pH});function ky(){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 B(this.valueOf(),null,e):new B(this,null,e)}Y(e,"shouldGetter");function t(n){Object.defineProperty(this,"should",{value:n,enumerable:!0,configurable:!0,writable:!0})}Y(t,"shouldSetter"),Object.defineProperty(Object.prototype,"should",{set:t,get:e,configurable:!0});let r={};return r.fail=function(n,o,i,s){throw arguments.length<2&&(i=n,n=void 0),i=i||"should.fail()",new Ke(i,{actual:n,expected:o,operator:s},r.fail)},r.equal=function(n,o,i){new B(n,i).to.equal(o)},r.Throw=function(n,o,i,s){new B(n,s).to.Throw(o,i)},r.exist=function(n,o){new B(n,o).to.exist},r.not={},r.not.equal=function(n,o,i){new B(n,i).to.not.equal(o)},r.not.Throw=function(n,o,i,s){new B(n,s).to.not.Throw(o,i)},r.not.exist=function(n,o){new B(n,o).to.not.exist},r.throw=r.Throw,r.not.throw=r.not.Throw,r}Y(ky,"loadShould");var pH=ky,fH=ky;function F(e,t){new B(null,null,F,!0).assert(e,t,"[ negation message unavailable ]")}Y(F,"assert");F.fail=function(e,t,r,n){throw arguments.length<2&&(r=e,e=void 0),r=r||"assert.fail()",new Ke(r,{actual:e,expected:t,operator:n},F.fail)};F.isOk=function(e,t){new B(e,t,F.isOk,!0).is.ok};F.isNotOk=function(e,t){new B(e,t,F.isNotOk,!0).is.not.ok};F.equal=function(e,t,r){let n=new B(e,r,F.equal,!0);n.assert(t==Ie(n,"object"),"expected #{this} to equal #{exp}","expected #{this} to not equal #{act}",t,e,!0)};F.notEqual=function(e,t,r){let n=new B(e,r,F.notEqual,!0);n.assert(t!=Ie(n,"object"),"expected #{this} to not equal #{exp}","expected #{this} to equal #{act}",t,e,!0)};F.strictEqual=function(e,t,r){new B(e,r,F.strictEqual,!0).to.equal(t)};F.notStrictEqual=function(e,t,r){new B(e,r,F.notStrictEqual,!0).to.not.equal(t)};F.deepEqual=F.deepStrictEqual=function(e,t,r){new B(e,r,F.deepEqual,!0).to.eql(t)};F.notDeepEqual=function(e,t,r){new B(e,r,F.notDeepEqual,!0).to.not.eql(t)};F.isAbove=function(e,t,r){new B(e,r,F.isAbove,!0).to.be.above(t)};F.isAtLeast=function(e,t,r){new B(e,r,F.isAtLeast,!0).to.be.least(t)};F.isBelow=function(e,t,r){new B(e,r,F.isBelow,!0).to.be.below(t)};F.isAtMost=function(e,t,r){new B(e,r,F.isAtMost,!0).to.be.most(t)};F.isTrue=function(e,t){new B(e,t,F.isTrue,!0).is.true};F.isNotTrue=function(e,t){new B(e,t,F.isNotTrue,!0).to.not.equal(!0)};F.isFalse=function(e,t){new B(e,t,F.isFalse,!0).is.false};F.isNotFalse=function(e,t){new B(e,t,F.isNotFalse,!0).to.not.equal(!1)};F.isNull=function(e,t){new B(e,t,F.isNull,!0).to.equal(null)};F.isNotNull=function(e,t){new B(e,t,F.isNotNull,!0).to.not.equal(null)};F.isNaN=function(e,t){new B(e,t,F.isNaN,!0).to.be.NaN};F.isNotNaN=function(e,t){new B(e,t,F.isNotNaN,!0).not.to.be.NaN};F.exists=function(e,t){new B(e,t,F.exists,!0).to.exist};F.notExists=function(e,t){new B(e,t,F.notExists,!0).to.not.exist};F.isUndefined=function(e,t){new B(e,t,F.isUndefined,!0).to.equal(void 0)};F.isDefined=function(e,t){new B(e,t,F.isDefined,!0).to.not.equal(void 0)};F.isCallable=function(e,t){new B(e,t,F.isCallable,!0).is.callable};F.isNotCallable=function(e,t){new B(e,t,F.isNotCallable,!0).is.not.callable};F.isObject=function(e,t){new B(e,t,F.isObject,!0).to.be.a("object")};F.isNotObject=function(e,t){new B(e,t,F.isNotObject,!0).to.not.be.a("object")};F.isArray=function(e,t){new B(e,t,F.isArray,!0).to.be.an("array")};F.isNotArray=function(e,t){new B(e,t,F.isNotArray,!0).to.not.be.an("array")};F.isString=function(e,t){new B(e,t,F.isString,!0).to.be.a("string")};F.isNotString=function(e,t){new B(e,t,F.isNotString,!0).to.not.be.a("string")};F.isNumber=function(e,t){new B(e,t,F.isNumber,!0).to.be.a("number")};F.isNotNumber=function(e,t){new B(e,t,F.isNotNumber,!0).to.not.be.a("number")};F.isNumeric=function(e,t){new B(e,t,F.isNumeric,!0).is.numeric};F.isNotNumeric=function(e,t){new B(e,t,F.isNotNumeric,!0).is.not.numeric};F.isFinite=function(e,t){new B(e,t,F.isFinite,!0).to.be.finite};F.isBoolean=function(e,t){new B(e,t,F.isBoolean,!0).to.be.a("boolean")};F.isNotBoolean=function(e,t){new B(e,t,F.isNotBoolean,!0).to.not.be.a("boolean")};F.typeOf=function(e,t,r){new B(e,r,F.typeOf,!0).to.be.a(t)};F.notTypeOf=function(e,t,r){new B(e,r,F.notTypeOf,!0).to.not.be.a(t)};F.instanceOf=function(e,t,r){new B(e,r,F.instanceOf,!0).to.be.instanceOf(t)};F.notInstanceOf=function(e,t,r){new B(e,r,F.notInstanceOf,!0).to.not.be.instanceOf(t)};F.include=function(e,t,r){new B(e,r,F.include,!0).include(t)};F.notInclude=function(e,t,r){new B(e,r,F.notInclude,!0).not.include(t)};F.deepInclude=function(e,t,r){new B(e,r,F.deepInclude,!0).deep.include(t)};F.notDeepInclude=function(e,t,r){new B(e,r,F.notDeepInclude,!0).not.deep.include(t)};F.nestedInclude=function(e,t,r){new B(e,r,F.nestedInclude,!0).nested.include(t)};F.notNestedInclude=function(e,t,r){new B(e,r,F.notNestedInclude,!0).not.nested.include(t)};F.deepNestedInclude=function(e,t,r){new B(e,r,F.deepNestedInclude,!0).deep.nested.include(t)};F.notDeepNestedInclude=function(e,t,r){new B(e,r,F.notDeepNestedInclude,!0).not.deep.nested.include(t)};F.ownInclude=function(e,t,r){new B(e,r,F.ownInclude,!0).own.include(t)};F.notOwnInclude=function(e,t,r){new B(e,r,F.notOwnInclude,!0).not.own.include(t)};F.deepOwnInclude=function(e,t,r){new B(e,r,F.deepOwnInclude,!0).deep.own.include(t)};F.notDeepOwnInclude=function(e,t,r){new B(e,r,F.notDeepOwnInclude,!0).not.deep.own.include(t)};F.match=function(e,t,r){new B(e,r,F.match,!0).to.match(t)};F.notMatch=function(e,t,r){new B(e,r,F.notMatch,!0).to.not.match(t)};F.property=function(e,t,r){new B(e,r,F.property,!0).to.have.property(t)};F.notProperty=function(e,t,r){new B(e,r,F.notProperty,!0).to.not.have.property(t)};F.propertyVal=function(e,t,r,n){new B(e,n,F.propertyVal,!0).to.have.property(t,r)};F.notPropertyVal=function(e,t,r,n){new B(e,n,F.notPropertyVal,!0).to.not.have.property(t,r)};F.deepPropertyVal=function(e,t,r,n){new B(e,n,F.deepPropertyVal,!0).to.have.deep.property(t,r)};F.notDeepPropertyVal=function(e,t,r,n){new B(e,n,F.notDeepPropertyVal,!0).to.not.have.deep.property(t,r)};F.ownProperty=function(e,t,r){new B(e,r,F.ownProperty,!0).to.have.own.property(t)};F.notOwnProperty=function(e,t,r){new B(e,r,F.notOwnProperty,!0).to.not.have.own.property(t)};F.ownPropertyVal=function(e,t,r,n){new B(e,n,F.ownPropertyVal,!0).to.have.own.property(t,r)};F.notOwnPropertyVal=function(e,t,r,n){new B(e,n,F.notOwnPropertyVal,!0).to.not.have.own.property(t,r)};F.deepOwnPropertyVal=function(e,t,r,n){new B(e,n,F.deepOwnPropertyVal,!0).to.have.deep.own.property(t,r)};F.notDeepOwnPropertyVal=function(e,t,r,n){new B(e,n,F.notDeepOwnPropertyVal,!0).to.not.have.deep.own.property(t,r)};F.nestedProperty=function(e,t,r){new B(e,r,F.nestedProperty,!0).to.have.nested.property(t)};F.notNestedProperty=function(e,t,r){new B(e,r,F.notNestedProperty,!0).to.not.have.nested.property(t)};F.nestedPropertyVal=function(e,t,r,n){new B(e,n,F.nestedPropertyVal,!0).to.have.nested.property(t,r)};F.notNestedPropertyVal=function(e,t,r,n){new B(e,n,F.notNestedPropertyVal,!0).to.not.have.nested.property(t,r)};F.deepNestedPropertyVal=function(e,t,r,n){new B(e,n,F.deepNestedPropertyVal,!0).to.have.deep.nested.property(t,r)};F.notDeepNestedPropertyVal=function(e,t,r,n){new B(e,n,F.notDeepNestedPropertyVal,!0).to.not.have.deep.nested.property(t,r)};F.lengthOf=function(e,t,r){new B(e,r,F.lengthOf,!0).to.have.lengthOf(t)};F.hasAnyKeys=function(e,t,r){new B(e,r,F.hasAnyKeys,!0).to.have.any.keys(t)};F.hasAllKeys=function(e,t,r){new B(e,r,F.hasAllKeys,!0).to.have.all.keys(t)};F.containsAllKeys=function(e,t,r){new B(e,r,F.containsAllKeys,!0).to.contain.all.keys(t)};F.doesNotHaveAnyKeys=function(e,t,r){new B(e,r,F.doesNotHaveAnyKeys,!0).to.not.have.any.keys(t)};F.doesNotHaveAllKeys=function(e,t,r){new B(e,r,F.doesNotHaveAllKeys,!0).to.not.have.all.keys(t)};F.hasAnyDeepKeys=function(e,t,r){new B(e,r,F.hasAnyDeepKeys,!0).to.have.any.deep.keys(t)};F.hasAllDeepKeys=function(e,t,r){new B(e,r,F.hasAllDeepKeys,!0).to.have.all.deep.keys(t)};F.containsAllDeepKeys=function(e,t,r){new B(e,r,F.containsAllDeepKeys,!0).to.contain.all.deep.keys(t)};F.doesNotHaveAnyDeepKeys=function(e,t,r){new B(e,r,F.doesNotHaveAnyDeepKeys,!0).to.not.have.any.deep.keys(t)};F.doesNotHaveAllDeepKeys=function(e,t,r){new B(e,r,F.doesNotHaveAllDeepKeys,!0).to.not.have.all.deep.keys(t)};F.throws=function(e,t,r,n){(typeof t=="string"||t instanceof RegExp)&&(r=t,t=null);let o=new B(e,n,F.throws,!0).to.throw(t,r);return Ie(o,"object")};F.doesNotThrow=function(e,t,r,n){(typeof t=="string"||t instanceof RegExp)&&(r=t,t=null),new B(e,n,F.doesNotThrow,!0).to.not.throw(t,r)};F.operator=function(e,t,r,n){let o;switch(t){case"==":o=e==r;break;case"===":o=e===r;break;case">":o=e>r;break;case">=":o=e>=r;break;case"<":o=e<r;break;case"<=":o=e<=r;break;case"!=":o=e!=r;break;case"!==":o=e!==r;break;default:throw n=n&&n+": ",new Ke(n+'Invalid operator "'+t+'"',void 0,F.operator)}let i=new B(o,n,F.operator,!0);i.assert(Ie(i,"object")===!0,"expected "+Ge(e)+" to be "+t+" "+Ge(r),"expected "+Ge(e)+" to not be "+t+" "+Ge(r))};F.closeTo=function(e,t,r,n){new B(e,n,F.closeTo,!0).to.be.closeTo(t,r)};F.approximately=function(e,t,r,n){new B(e,n,F.approximately,!0).to.be.approximately(t,r)};F.sameMembers=function(e,t,r){new B(e,r,F.sameMembers,!0).to.have.same.members(t)};F.notSameMembers=function(e,t,r){new B(e,r,F.notSameMembers,!0).to.not.have.same.members(t)};F.sameDeepMembers=function(e,t,r){new B(e,r,F.sameDeepMembers,!0).to.have.same.deep.members(t)};F.notSameDeepMembers=function(e,t,r){new B(e,r,F.notSameDeepMembers,!0).to.not.have.same.deep.members(t)};F.sameOrderedMembers=function(e,t,r){new B(e,r,F.sameOrderedMembers,!0).to.have.same.ordered.members(t)};F.notSameOrderedMembers=function(e,t,r){new B(e,r,F.notSameOrderedMembers,!0).to.not.have.same.ordered.members(t)};F.sameDeepOrderedMembers=function(e,t,r){new B(e,r,F.sameDeepOrderedMembers,!0).to.have.same.deep.ordered.members(t)};F.notSameDeepOrderedMembers=function(e,t,r){new B(e,r,F.notSameDeepOrderedMembers,!0).to.not.have.same.deep.ordered.members(t)};F.includeMembers=function(e,t,r){new B(e,r,F.includeMembers,!0).to.include.members(t)};F.notIncludeMembers=function(e,t,r){new B(e,r,F.notIncludeMembers,!0).to.not.include.members(t)};F.includeDeepMembers=function(e,t,r){new B(e,r,F.includeDeepMembers,!0).to.include.deep.members(t)};F.notIncludeDeepMembers=function(e,t,r){new B(e,r,F.notIncludeDeepMembers,!0).to.not.include.deep.members(t)};F.includeOrderedMembers=function(e,t,r){new B(e,r,F.includeOrderedMembers,!0).to.include.ordered.members(t)};F.notIncludeOrderedMembers=function(e,t,r){new B(e,r,F.notIncludeOrderedMembers,!0).to.not.include.ordered.members(t)};F.includeDeepOrderedMembers=function(e,t,r){new B(e,r,F.includeDeepOrderedMembers,!0).to.include.deep.ordered.members(t)};F.notIncludeDeepOrderedMembers=function(e,t,r){new B(e,r,F.notIncludeDeepOrderedMembers,!0).to.not.include.deep.ordered.members(t)};F.oneOf=function(e,t,r){new B(e,r,F.oneOf,!0).to.be.oneOf(t)};F.isIterable=function(e,t){if(e==null||!e[Symbol.iterator])throw t=t?`${t} expected ${Ge(e)} to be an iterable`:`expected ${Ge(e)} to be an iterable`,new Ke(t,void 0,F.isIterable)};F.changes=function(e,t,r,n){arguments.length===3&&typeof t=="function"&&(n=r,r=null),new B(e,n,F.changes,!0).to.change(t,r)};F.changesBy=function(e,t,r,n,o){if(arguments.length===4&&typeof t=="function"){let i=n;n=r,o=i}else arguments.length===3&&(n=r,r=null);new B(e,o,F.changesBy,!0).to.change(t,r).by(n)};F.doesNotChange=function(e,t,r,n){return arguments.length===3&&typeof t=="function"&&(n=r,r=null),new B(e,n,F.doesNotChange,!0).to.not.change(t,r)};F.changesButNotBy=function(e,t,r,n,o){if(arguments.length===4&&typeof t=="function"){let i=n;n=r,o=i}else arguments.length===3&&(n=r,r=null);new B(e,o,F.changesButNotBy,!0).to.change(t,r).but.not.by(n)};F.increases=function(e,t,r,n){return arguments.length===3&&typeof t=="function"&&(n=r,r=null),new B(e,n,F.increases,!0).to.increase(t,r)};F.increasesBy=function(e,t,r,n,o){if(arguments.length===4&&typeof t=="function"){let i=n;n=r,o=i}else arguments.length===3&&(n=r,r=null);new B(e,o,F.increasesBy,!0).to.increase(t,r).by(n)};F.doesNotIncrease=function(e,t,r,n){return arguments.length===3&&typeof t=="function"&&(n=r,r=null),new B(e,n,F.doesNotIncrease,!0).to.not.increase(t,r)};F.increasesButNotBy=function(e,t,r,n,o){if(arguments.length===4&&typeof t=="function"){let i=n;n=r,o=i}else arguments.length===3&&(n=r,r=null);new B(e,o,F.increasesButNotBy,!0).to.increase(t,r).but.not.by(n)};F.decreases=function(e,t,r,n){return arguments.length===3&&typeof t=="function"&&(n=r,r=null),new B(e,n,F.decreases,!0).to.decrease(t,r)};F.decreasesBy=function(e,t,r,n,o){if(arguments.length===4&&typeof t=="function"){let i=n;n=r,o=i}else arguments.length===3&&(n=r,r=null);new B(e,o,F.decreasesBy,!0).to.decrease(t,r).by(n)};F.doesNotDecrease=function(e,t,r,n){return arguments.length===3&&typeof t=="function"&&(n=r,r=null),new B(e,n,F.doesNotDecrease,!0).to.not.decrease(t,r)};F.doesNotDecreaseBy=function(e,t,r,n,o){if(arguments.length===4&&typeof t=="function"){let i=n;n=r,o=i}else arguments.length===3&&(n=r,r=null);return new B(e,o,F.doesNotDecreaseBy,!0).to.not.decrease(t,r).by(n)};F.decreasesButNotBy=function(e,t,r,n,o){if(arguments.length===4&&typeof t=="function"){let i=n;n=r,o=i}else arguments.length===3&&(n=r,r=null);new B(e,o,F.decreasesButNotBy,!0).to.decrease(t,r).but.not.by(n)};F.ifError=function(e){if(e)throw e};F.isExtensible=function(e,t){new B(e,t,F.isExtensible,!0).to.be.extensible};F.isNotExtensible=function(e,t){new B(e,t,F.isNotExtensible,!0).to.not.be.extensible};F.isSealed=function(e,t){new B(e,t,F.isSealed,!0).to.be.sealed};F.isNotSealed=function(e,t){new B(e,t,F.isNotSealed,!0).to.not.be.sealed};F.isFrozen=function(e,t){new B(e,t,F.isFrozen,!0).to.be.frozen};F.isNotFrozen=function(e,t){new B(e,t,F.isNotFrozen,!0).to.not.be.frozen};F.isEmpty=function(e,t){new B(e,t,F.isEmpty,!0).to.be.empty};F.isNotEmpty=function(e,t){new B(e,t,F.isNotEmpty,!0).to.not.be.empty};F.containsSubset=function(e,t,r){new B(e,r).to.containSubset(t)};F.doesNotContainSubset=function(e,t,r){new B(e,r).to.not.containSubset(t)};var hH=[["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 hH)F[t]=F[e];var tE=[];function Qi(e){let t={use:Qi,AssertionError:Ke,util:gn,config:lr,expect:ci,assert:F,Assertion:B,...uO};return~tE.indexOf(e)||(e(t,gn),tE.push(e)),t}Y(Qi,"use");var cO={};Er(cO,{toBeChecked:()=>YO,toBeDisabled:()=>VO,toBeEmpty:()=>AO,toBeEmptyDOMElement:()=>CO,toBeEnabled:()=>UO,toBeInTheDOM:()=>eh,toBeInTheDocument:()=>OO,toBeInvalid:()=>GO,toBePartiallyChecked:()=>QO,toBeRequired:()=>HO,toBeValid:()=>WO,toBeVisible:()=>kO,toContainElement:()=>th,toContainHTML:()=>PO,toHaveAccessibleDescription:()=>rh,toHaveAccessibleErrorMessage:()=>NO,toHaveAccessibleName:()=>oh,toHaveAttribute:()=>IO,toHaveClass:()=>MO,toHaveDescription:()=>ZO,toHaveDisplayValue:()=>zO,toHaveErrorMessage:()=>eA,toHaveFocus:()=>jO,toHaveFormValues:()=>qO,toHaveRole:()=>nh,toHaveSelection:()=>tA,toHaveStyle:()=>ih,toHaveTextContent:()=>xO,toHaveValue:()=>KO});var rE=_t(jw(),1);function dO(e){Object.defineProperty(e,"__esModule",{value:!0,configurable:!0})}function Dy(e,t,r,n){Object.defineProperty(e,t,{get:r,set:n,enumerable:!0,configurable:!0})}var pO={};dO(pO);Dy(pO,"default",()=>fO);var fO=class extends Error{constructor(e,t,r,n,o){super(e+":"+r+":"+n+": "+t),this.reason=t,this.filename=e,this.line=r,this.column=n,this.source=o}},hO={};dO(hO);Dy(hO,"default",()=>mO);var mO=class{constructor(e,t,r){this.start=e,this.end=t,this.source=r}},mH={};Dy(mH,"CssTypes",()=>Ot);var Ot;(function(e){e.stylesheet="stylesheet",e.rule="rule",e.declaration="declaration",e.comment="comment",e.container="container",e.charset="charset",e.document="document",e.customMedia="custom-media",e.fontFace="font-face",e.host="host",e.import="import",e.keyframes="keyframes",e.keyframe="keyframe",e.layer="layer",e.media="media",e.namespace="namespace",e.page="page",e.startingStyle="starting-style",e.supports="supports"})(Ot||(Ot={}));var Fp=/\/\*[^]*?(?:\*\/|$)/g,yH=(e,t)=>{t=t||{};let r=1,n=1;function o(j){let H=j.match(/\n/g);H&&(r+=H.length);let oe=j.lastIndexOf(`
214
+ `);n=~oe?j.length-oe:n+j.length}function i(){let j={line:r,column:n};return function(H){return H.position=new mO(j,{line:r,column:n},t?.source||""),h(),H}}let s=[];function a(j){let H=new fO(t?.source||"",j,r,n,e);if(t?.silent)s.push(H);else throw H}function l(){let j=d();return{type:Ot.stylesheet,stylesheet:{source:t?.source,rules:j,parsingErrors:s}}}function u(){return f(/^{\s*/)}function c(){return f(/^}/)}function d(){let j,H=[];for(h(),m(H);e.length&&e.charAt(0)!=="}"&&(j=Ee()||fe());)j&&(H.push(j),m(H));return H}function f(j){let H=j.exec(e);if(!H)return;let oe=H[0];return o(oe),e=e.slice(oe.length),H}function h(){f(/^\s*/)}function m(j){let H;for(j=j||[];H=g();)H&&j.push(H);return j}function g(){let j=i();if(e.charAt(0)!=="/"||e.charAt(1)!=="*")return;let H=f(/^\/\*[^]*?\*\//);return H?j({type:Ot.comment,comment:H[0].slice(2,-2)}):a("End of comment missing")}function v(j,H,oe){let te=H+1,Z=!1,ye=j.indexOf(")",te);for(;!Z&&ye!==-1;){let me=j.indexOf("(",te);me!==-1&&me<ye?(te=v(j,me+1)+1,ye=j.indexOf(")",te)):Z=!0}return Z&&ye!==-1?ye:-1}function b(){let j=f(/^([^{]+)/);if(!j)return;let H=jr(j[0]).replace(Fp,"");if(H.indexOf(",")===-1)return[H];let oe=0,te=H.indexOf("(",oe);for(;te!==-1;){let Z=v(H,te);if(Z===-1)break;oe=Z+1,H=H.substring(0,te)+H.substring(te,Z).replace(/,/g,"‌")+H.substring(Z),te=H.indexOf("(",oe)}return H=H.replace(/("|')(?:\\\1|.)*?\1/g,Z=>Z.replace(/,/g,"‌")),H.split(",").map(Z=>jr(Z.replace(/\u200C/g,",")))}function E(){let j=i(),H=f(/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/);if(!H)return;let oe=jr(H[0]);if(!f(/^:\s*/))return a("property missing ':'");let te=f(/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/),Z=j({type:Ot.declaration,property:oe.replace(Fp,""),value:te?jr(te[0]).replace(Fp,""):""});return f(/^[;\s]*/),Z}function S(){let j=[];if(!u())return a("missing '{'");m(j);let H;for(;H=E();)H&&(j.push(H),m(j));return c()?j:a("missing '}'")}function A(){let j,H=[],oe=i();for(;j=f(/^((\d+\.\d+|\.\d+|\d+)%?|[a-z]+)\s*/);)H.push(j[1]),f(/^,\s*/);if(H.length)return oe({type:Ot.keyframe,values:H,declarations:S()||[]})}function C(){let j=i(),H=f(/^@([-\w]+)?keyframes\s*/);if(!H)return;let oe=H[1],te=f(/^([-\w]+)\s*/);if(!te)return a("@keyframes missing name");let Z=te[1];if(!u())return a("@keyframes missing '{'");let ye,me=m();for(;ye=A();)me.push(ye),me=me.concat(m());return c()?j({type:Ot.keyframes,name:Z,vendor:oe,keyframes:me}):a("@keyframes missing '}'")}function T(){let j=i(),H=f(/^@supports *([^{]+)/);if(!H)return;let oe=jr(H[1]);if(!u())return a("@supports missing '{'");let te=m().concat(d());return c()?j({type:Ot.supports,supports:oe,rules:te}):a("@supports missing '}'")}function w(){let j=i();if(!f(/^@host\s*/))return;if(!u())return a("@host missing '{'");let H=m().concat(d());return c()?j({type:Ot.host,rules:H}):a("@host missing '}'")}function _(){let j=i(),H=f(/^@container *([^{]+)/);if(!H)return;let oe=jr(H[1]);if(!u())return a("@container missing '{'");let te=m().concat(d());return c()?j({type:Ot.container,container:oe,rules:te}):a("@container missing '}'")}function R(){let j=i(),H=f(/^@layer *([^{;@]+)/);if(!H)return;let oe=jr(H[1]);if(!u())return f(/^[;\s]*/),j({type:Ot.layer,layer:oe});let te=m().concat(d());return c()?j({type:Ot.layer,layer:oe,rules:te}):a("@layer missing '}'")}function M(){let j=i(),H=f(/^@media *([^{]+)/);if(!H)return;let oe=jr(H[1]);if(!u())return a("@media missing '{'");let te=m().concat(d());return c()?j({type:Ot.media,media:oe,rules:te}):a("@media missing '}'")}function N(){let j=i(),H=f(/^@custom-media\s+(--\S+)\s*([^{;\s][^{;]*);/);if(H)return j({type:Ot.customMedia,name:jr(H[1]),media:jr(H[2])})}function q(){let j=i();if(!f(/^@page */))return;let H=b()||[];if(!u())return a("@page missing '{'");let oe=m(),te;for(;te=E();)oe.push(te),oe=oe.concat(m());return c()?j({type:Ot.page,selectors:H,declarations:oe}):a("@page missing '}'")}function x(){let j=i(),H=f(/^@([-\w]+)?document *([^{]+)/);if(!H)return;let oe=jr(H[1]),te=jr(H[2]);if(!u())return a("@document missing '{'");let Z=m().concat(d());return c()?j({type:Ot.document,document:te,vendor:oe,rules:Z}):a("@document missing '}'")}function P(){let j=i();if(!f(/^@font-face\s*/))return;if(!u())return a("@font-face missing '{'");let H=m(),oe;for(;oe=E();)H.push(oe),H=H.concat(m());return c()?j({type:Ot.fontFace,declarations:H}):a("@font-face missing '}'")}function L(){let j=i();if(!f(/^@starting-style\s*/))return;if(!u())return a("@starting-style missing '{'");let H=m().concat(d());return c()?j({type:Ot.startingStyle,rules:H}):a("@starting-style missing '}'")}let $=ie("import"),V=ie("charset"),G=ie("namespace");function ie(j){let H=new RegExp("^@"+j+`\\s*((?::?[^;'"]|"(?:\\\\"|[^"])*?"|'(?:\\\\'|[^'])*?')+)(?:;|$)`);return function(){let oe=i(),te=f(H);if(!te)return;let Z={type:j};return Z[j]=te[1].trim(),oe(Z)}}function Ee(){if(e[0]==="@")return C()||M()||N()||T()||$()||V()||G()||x()||q()||w()||P()||_()||L()||R()}function fe(){let j=i(),H=b();return H?(m(),j({type:Ot.rule,selectors:H,declarations:S()||[]})):a("selector missing")}return Qf(l())};function jr(e){return e?e.trim():""}function Qf(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=>{Qf(s,n)}):i&&typeof i=="object"&&Qf(i,n)}return r&&Object.defineProperty(e,"parent",{configurable:!0,writable:!0,enumerable:!1,value:t||null}),e}var gH=yH,bH=gH,vH=Object.prototype.toString;function EH(e){return typeof e=="function"||vH.call(e)==="[object Function]"}function _H(e){var t=Number(e);return isNaN(t)?0:t===0||!isFinite(t)?t:(t>0?1:-1)*Math.floor(Math.abs(t))}var TH=Math.pow(2,53)-1;function wH(e){var t=_H(e);return Math.min(Math.max(t,0),TH)}function Yr(e,t){var r=Array,n=Object(e);if(e==null)throw new TypeError("Array.from requires an array-like object - not null or undefined");for(var o=wH(n.length),i=EH(r)?Object(new r(o)):new Array(o),s=0,a;s<o;)a=n[s],i[s]=a,s+=1;return i.length=o,i}function Wa(e){"@babel/helpers - typeof";return Wa=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},Wa(e)}function SH(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function RH(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,yO(n.key),n)}}function OH(e,t,r){return t&&RH(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function AH(e,t,r){return t=yO(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function yO(e){var t=CH(e,"string");return Wa(t)==="symbol"?t:String(t)}function CH(e,t){if(Wa(e)!=="object"||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(Wa(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var PH=(function(){function e(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];SH(this,e),AH(this,"items",void 0),this.items=t}return OH(e,[{key:"add",value:function(t){return this.has(t)===!1&&this.items.push(t),this}},{key:"clear",value:function(){this.items=[]}},{key:"delete",value:function(t){var r=this.items.length;return this.items=this.items.filter(function(n){return n!==t}),r!==this.items.length}},{key:"forEach",value:function(t){var r=this;this.items.forEach(function(n){t(n,n,r)})}},{key:"has",value:function(t){return this.items.indexOf(t)!==-1}},{key:"size",get:function(){return this.items.length}}]),e})(),xH=typeof Set>"u"?Set:PH;function nr(e){var t;return(t=e.localName)!==null&&t!==void 0?t:e.tagName.toLowerCase()}var NH={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"},IH={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 MH(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=IH[t])!==null&&n!==void 0&&n.has(r))})}function gO(e,t){return MH(e,t)}function jH(e){var t=LH(e);if(t===null||Zf.indexOf(t)!==-1){var r=qH(e);if(Zf.indexOf(t||"")===-1||gO(e,r||""))return r}return t}function qH(e){var t=NH[nr(e)];if(t!==void 0)return t;switch(nr(e)){case"a":case"area":case"link":if(e.hasAttribute("href"))return"link";break;case"img":return e.getAttribute("alt")===""&&!gO(e,"img")?"presentation":"img";case"input":{var r=e,n=r.type;switch(n){case"button":case"image":case"reset":case"submit":return"button";case"checkbox":case"radio":return n;case"range":return"slider";case"email":case"tel":case"text":case"url":return e.hasAttribute("list")?"combobox":"textbox";case"search":return e.hasAttribute("list")?"combobox":"searchbox";case"number":return"spinbutton";default:return null}}case"select":return e.hasAttribute("multiple")||e.size>1?"listbox":"combobox"}return null}function LH(e){var t=e.getAttribute("role");if(t!==null){var r=t.trim().split(" ")[0];if(r.length>0)return r}return null}var Zf=["presentation","none"];function dt(e){return e!==null&&e.nodeType===e.ELEMENT_NODE}function bO(e){return dt(e)&&nr(e)==="caption"}function Iu(e){return dt(e)&&nr(e)==="input"}function kH(e){return dt(e)&&nr(e)==="optgroup"}function DH(e){return dt(e)&&nr(e)==="select"}function FH(e){return dt(e)&&nr(e)==="table"}function $H(e){return dt(e)&&nr(e)==="textarea"}function BH(e){var t=e.ownerDocument===null?e:e.ownerDocument,r=t.defaultView;if(r===null)throw new TypeError("no window available");return r}function VH(e){return dt(e)&&nr(e)==="fieldset"}function UH(e){return dt(e)&&nr(e)==="legend"}function HH(e){return dt(e)&&nr(e)==="slot"}function JH(e){return dt(e)&&e.ownerSVGElement!==void 0}function GH(e){return dt(e)&&nr(e)==="svg"}function WH(e){return JH(e)&&nr(e)==="title"}function sc(e,t){if(dt(e)&&e.hasAttribute(t)){var r=e.getAttribute(t).split(" "),n=e.getRootNode?e.getRootNode():e.ownerDocument;return r.map(function(o){return n.getElementById(o)}).filter(function(o){return o!==null})}return[]}function Dn(e,t){return dt(e)?t.indexOf(jH(e))!==-1:!1}function KH(e){return e.trim().replace(/\s\s+/g," ")}function zH(e,t){if(!dt(e))return!1;if(e.hasAttribute("hidden")||e.getAttribute("aria-hidden")==="true")return!0;var r=t(e);return r.getPropertyValue("display")==="none"||r.getPropertyValue("visibility")==="hidden"}function YH(e){return Dn(e,["button","combobox","listbox","textbox"])||vO(e,"range")}function vO(e,t){if(!dt(e))return!1;if(t==="range")return Dn(e,["meter","progressbar","scrollbar","slider","spinbutton"]);throw new TypeError("No knowledge about abstract role '".concat(t,"'. This is likely a bug :("))}function nE(e,t){var r=Yr(e.querySelectorAll(t));return sc(e,"aria-owns").forEach(function(n){r.push.apply(r,Yr(n.querySelectorAll(t)))}),r}function XH(e){return DH(e)?e.selectedOptions||nE(e,"[selected]"):nE(e,'[aria-selected="true"]')}function QH(e){return Dn(e,Zf)}function ZH(e){return bO(e)}function eJ(e){return Dn(e,["button","cell","checkbox","columnheader","gridcell","heading","label","legend","link","menuitem","menuitemcheckbox","menuitemradio","option","radio","row","rowheader","switch","tab","tooltip","treeitem"])}function tJ(e){return!1}function rJ(e){return Iu(e)||$H(e)?e.value:e.textContent||""}function oE(e){var t=e.getPropertyValue("content");return/^["'].*["']$/.test(t)?t.slice(1,-1):""}function EO(e){var t=nr(e);return t==="button"||t==="input"&&e.getAttribute("type")!=="hidden"||t==="meter"||t==="output"||t==="progress"||t==="select"||t==="textarea"}function _O(e){if(EO(e))return e;var t=null;return e.childNodes.forEach(function(r){if(t===null&&dt(r)){var n=_O(r);n!==null&&(t=n)}}),t}function nJ(e){if(e.control!==void 0)return e.control;var t=e.getAttribute("for");return t!==null?e.ownerDocument.getElementById(t):_O(e)}function oJ(e){var t=e.labels;if(t===null)return t;if(t!==void 0)return Yr(t);if(!EO(e))return null;var r=e.ownerDocument;return Yr(r.querySelectorAll("label")).filter(function(n){return nJ(n)===e})}function iJ(e){var t=e.assignedNodes();return t.length===0?Yr(e.childNodes):t}function TO(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=new xH,n=BH(e),o=t.compute,i=o===void 0?"name":o,s=t.computedStyleSupportsPseudoElements,a=s===void 0?t.getComputedStyle!==void 0:s,l=t.getComputedStyle,u=l===void 0?n.getComputedStyle.bind(n):l,c=t.hidden,d=c===void 0?!1:c;function f(b,E){var S="";if(dt(b)&&a){var A=u(b,"::before"),C=oE(A);S="".concat(C," ").concat(S)}var T=HH(b)?iJ(b):Yr(b.childNodes).concat(sc(b,"aria-owns"));if(T.forEach(function(R){var M=v(R,{isEmbeddedInLabel:E.isEmbeddedInLabel,isReferenced:!1,recursion:!0}),N=dt(R)?u(R).getPropertyValue("display"):"inline",q=N!=="inline"?" ":"";S+="".concat(q).concat(M).concat(q)}),dt(b)&&a){var w=u(b,"::after"),_=oE(w);S="".concat(S," ").concat(_)}return S.trim()}function h(b,E){var S=b.getAttributeNode(E);return S!==null&&!r.has(S)&&S.value.trim()!==""?(r.add(S),S.value):null}function m(b){return dt(b)?h(b,"title"):null}function g(b){if(!dt(b))return null;if(VH(b)){r.add(b);for(var E=Yr(b.childNodes),S=0;S<E.length;S+=1){var A=E[S];if(UH(A))return v(A,{isEmbeddedInLabel:!1,isReferenced:!1,recursion:!1})}}else if(FH(b)){r.add(b);for(var C=Yr(b.childNodes),T=0;T<C.length;T+=1){var w=C[T];if(bO(w))return v(w,{isEmbeddedInLabel:!1,isReferenced:!1,recursion:!1})}}else if(GH(b)){r.add(b);for(var _=Yr(b.childNodes),R=0;R<_.length;R+=1){var M=_[R];if(WH(M))return M.textContent}return null}else if(nr(b)==="img"||nr(b)==="area"){var N=h(b,"alt");if(N!==null)return N}else if(kH(b)){var q=h(b,"label");if(q!==null)return q}if(Iu(b)&&(b.type==="button"||b.type==="submit"||b.type==="reset")){var x=h(b,"value");if(x!==null)return x;if(b.type==="submit")return"Submit";if(b.type==="reset")return"Reset"}var P=oJ(b);if(P!==null&&P.length!==0)return r.add(b),Yr(P).map(function(G){return v(G,{isEmbeddedInLabel:!0,isReferenced:!1,recursion:!0})}).filter(function(G){return G.length>0}).join(" ");if(Iu(b)&&b.type==="image"){var L=h(b,"alt");if(L!==null)return L;var $=h(b,"title");return $!==null?$:"Submit Query"}if(Dn(b,["button"])){var V=f(b,{isEmbeddedInLabel:!1});if(V!=="")return V}return null}function v(b,E){if(r.has(b))return"";if(!d&&zH(b,u)&&!E.isReferenced)return r.add(b),"";var S=dt(b)?b.getAttributeNode("aria-labelledby"):null,A=S!==null&&!r.has(S)?sc(b,"aria-labelledby"):[];if(i==="name"&&!E.isReferenced&&A.length>0)return r.add(S),A.map(function(N){return v(N,{isEmbeddedInLabel:E.isEmbeddedInLabel,isReferenced:!0,recursion:!1})}).join(" ");var C=E.recursion&&YH(b)&&i==="name";if(!C){var T=(dt(b)&&b.getAttribute("aria-label")||"").trim();if(T!==""&&i==="name")return r.add(b),T;if(!QH(b)){var w=g(b);if(w!==null)return r.add(b),w}}if(Dn(b,["menu"]))return r.add(b),"";if(C||E.isEmbeddedInLabel||E.isReferenced){if(Dn(b,["combobox","listbox"])){r.add(b);var _=XH(b);return _.length===0?Iu(b)?b.value:"":Yr(_).map(function(N){return v(N,{isEmbeddedInLabel:E.isEmbeddedInLabel,isReferenced:!1,recursion:!0})}).join(" ")}if(vO(b,"range"))return r.add(b),b.hasAttribute("aria-valuetext")?b.getAttribute("aria-valuetext"):b.hasAttribute("aria-valuenow")?b.getAttribute("aria-valuenow"):b.getAttribute("value")||"";if(Dn(b,["textbox"]))return r.add(b),rJ(b)}if(eJ(b)||dt(b)&&E.isReferenced||ZH(b)||tJ()){var R=f(b,{isEmbeddedInLabel:E.isEmbeddedInLabel});if(R!=="")return r.add(b),R}if(b.nodeType===b.TEXT_NODE)return r.add(b),b.textContent||"";if(E.recursion)return r.add(b),f(b,{isEmbeddedInLabel:E.isEmbeddedInLabel});var M=m(b);return M!==null?(r.add(b),M):(r.add(b),"")}return KH(v(e,{isEmbeddedInLabel:!1,isReferenced:i==="description",recursion:!1}))}function Ka(e){"@babel/helpers - typeof";return Ka=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},Ka(e)}function iE(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function sE(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?iE(Object(r),!0).forEach(function(n){sJ(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):iE(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function sJ(e,t,r){return t=aJ(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function aJ(e){var t=lJ(e,"string");return Ka(t)==="symbol"?t:String(t)}function lJ(e,t){if(Ka(e)!=="object"||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(Ka(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function uJ(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=sc(e,"aria-describedby").map(function(i){return TO(i,sE(sE({},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}function cJ(e){return Dn(e,["caption","code","deletion","emphasis","generic","insertion","none","paragraph","presentation","strong","subscript","superscript"])}function dJ(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return cJ(e)?"":TO(e,t)}var Fy=_t(hm(),1),pJ=_t(Lw(),1),$y=_t(Ww(),1),fJ=_t(Kw(),1),wO=class extends Error{constructor(e,t,r,n){super(),Error.captureStackTrace&&Error.captureStackTrace(this,r);let o="";try{o=n.utils.printWithType("Received",t,n.utils.printReceived)}catch{}this.message=[n.utils.matcherHint(`${n.isNot?".not":""}.${r.name}`,"received",""),"",`${n.utils.RECEIVED_COLOR("received")} value must ${e}.`,o].join(`
215
+ `)}},aE=class extends wO{constructor(...e){super("be an HTMLElement or an SVGElement",...e)}},lE=class extends wO{constructor(...e){super("be a Node",...e)}};function SO(e,t,...r){if(!e||!e.ownerDocument||!e.ownerDocument.defaultView)throw new t(e,...r)}function hJ(e,...t){SO(e,lE,...t);let r=e.ownerDocument.defaultView;if(!(e instanceof r.Node))throw new lE(e,...t)}function Ze(e,...t){SO(e,aE,...t);let r=e.ownerDocument.defaultView;if(!(e instanceof r.HTMLElement)&&!(e instanceof r.SVGElement))throw new aE(e,...t)}var mJ=class extends Error{constructor(e,t,r){super(),Error.captureStackTrace&&Error.captureStackTrace(this,t),this.message=[e.message,"",r.utils.RECEIVED_COLOR("Failing css:"),r.utils.RECEIVED_COLOR(`${e.css}`)].join(`
216
+ `)}};function yJ(e,...t){let r=bH(`selector { ${e} }`,{silent:!0}).stylesheet;if(r.parsingErrors&&r.parsingErrors.length>0){let{reason:n,line:o}=r.parsingErrors[0];throw new mJ({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}),{})}function uE(e,t){return typeof t=="string"?t:e.utils.stringify(t)}function Gt(e,t,r,n,o,i){return[`${t}
217
+ `,`${r}:
218
+ ${e.utils.EXPECTED_COLOR((0,rE.default)(uE(e,n),2))}`,`${o}:
219
+ ${e.utils.RECEIVED_COLOR((0,rE.default)(uE(e,i),2))}`].join(`
220
+ `)}function gJ(e,t){return t instanceof RegExp?t.test(e):e.includes(String(t))}function Td(e,t){console.warn(`Warning: ${e} has been deprecated and will be removed in future updates.`,t)}function wd(e){return e.replace(/\s+/g," ").trim()}function Po(e){return e.tagName&&e.tagName.toLowerCase()}function bJ({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}function vJ(e){switch(e.type){case"number":return e.value===""?null:Number(e.value);case"checkbox":return e.checked;default:return e.value}}var EJ=["meter","progressbar","slider","spinbutton"];function _J(e){if(EJ.includes(e.getAttribute("role")))return Number(e.getAttribute("aria-valuenow"))}function RO(e){if(e)switch(e.tagName.toLowerCase()){case"input":return vJ(e);case"select":return bJ(e);default:return e.value??_J(e)}}function TJ(e,{wordConnector:t=", ",lastWordConnector:r=" and "}={}){return[e.slice(0,-1).join(t),e[e.length-1]].join(e.length>1?r:"")}function By(e,t){if(Array.isArray(e)&&Array.isArray(t))return[...new Set(e)].every(r=>new Set(t).has(r))}function eh(e,t){return Td("toBeInTheDOM","Please use toBeInTheDocument for searching the entire document and toContainElement for searching a specific container."),e&&Ze(e,eh,this),t&&Ze(t,eh,this),{pass:t?t.contains(e):!!e,message:()=>[this.utils.matcherHint(`${this.isNot?".not":""}.toBeInTheDOM`,"element",""),"","Received:",` ${this.utils.printReceived(e&&e.cloneNode(!1))}`].join(`
221
+ `)}}function OO(e){(e!==null||!this.isNot)&&Ze(e,OO,this);let t=e===null?!1:e.ownerDocument===e.getRootNode({composed:!0}),r=()=>`expected document not to contain element, found ${this.utils.stringify(e.cloneNode(!0))} instead`,n=()=>"element could not be found in the document";return{pass:t,message:()=>[this.utils.matcherHint(`${this.isNot?".not":""}.toBeInTheDocument`,"element",""),"",this.utils.RECEIVED_COLOR(this.isNot?r():n())].join(`
222
+ `)}}function AO(e){return Td("toBeEmpty","Please use instead toBeEmptyDOMElement for finding empty nodes in the DOM."),Ze(e,AO,this),{pass:e.innerHTML==="",message:()=>[this.utils.matcherHint(`${this.isNot?".not":""}.toBeEmpty`,"element",""),"","Received:",` ${this.utils.printReceived(e.innerHTML)}`].join(`
223
+ `)}}function CO(e){return Ze(e,CO,this),{pass:wJ(e),message:()=>[this.utils.matcherHint(`${this.isNot?".not":""}.toBeEmptyDOMElement`,"element",""),"","Received:",` ${this.utils.printReceived(e.innerHTML)}`].join(`
224
+ `)}}function wJ(e){return[...e.childNodes].filter(t=>t.nodeType!==8).length===0}function th(e,t){return Ze(e,th,this),t!==null&&Ze(t,th,this),{pass:e.contains(t),message:()=>[this.utils.matcherHint(`${this.isNot?".not":""}.toContainElement`,"element","element"),"",this.utils.RECEIVED_COLOR(`${this.utils.stringify(e.cloneNode(!1))} ${this.isNot?"contains:":"does not contain:"} ${this.utils.stringify(t&&t.cloneNode(!1))}
225
+ `)].join(`
226
+ `)}}function SJ(e,t){let r=e.ownerDocument.createElement("div");return r.innerHTML=t,r.innerHTML}function PO(e,t){if(Ze(e,PO,this),typeof t!="string")throw new Error(`.toContainHTML() expects a string value, got ${t}`);return{pass:e.outerHTML.includes(SJ(e,t)),message:()=>[this.utils.matcherHint(`${this.isNot?".not":""}.toContainHTML`,"element",""),"Expected:",` ${this.utils.EXPECTED_COLOR(t)}`,"Received:",` ${this.utils.printReceived(e.cloneNode(!0))}`].join(`
227
+ `)}}function xO(e,t,r={normalizeWhitespace:!0}){hJ(e,xO,this);let n=r.normalizeWhitespace?wd(e.textContent):e.textContent.replace(/\u00a0/g," "),o=n!==""&&t==="";return{pass:!o&&gJ(n,t),message:()=>{let i=this.isNot?"not to":"to";return Gt(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)}}}function rh(e,t){Ze(e,rh,this);let r=uJ(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:()=>{let i=this.isNot?"not to":"to";return Gt(this,this.utils.matcherHint(`${this.isNot?".not":""}.${rh.name}`,"element",""),`Expected element ${i} have accessible description`,t,"Received",r)}}}var oa="aria-invalid",RJ=["false"];function NO(e,t){Ze(e,NO,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:()=>Gt(this,this.utils.matcherHint(n,"element"),"Expected element's `aria-errormessage` attribute to be empty or a single, valid ID","","Received",`aria-errormessage="${o}"`)};let i=e.getAttribute(oa);if(!e.hasAttribute(oa)||RJ.includes(i))return{pass:!1,message:()=>Gt(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)};let s=wd(e.ownerDocument.getElementById(o)?.textContent??"");return{pass:t===void 0?!!s:t instanceof RegExp?t.test(s):this.equals(s,t),message:()=>Gt(this,this.utils.matcherHint(n,"element"),`Expected element ${r} have accessible error message`,t??"","Received",s)}}var OJ=PJ(Fy.elementRoles);function nh(e,t){Ze(e,nh,this);let r=AJ(e);return{pass:r.some(n=>n===t),message:()=>{let n=this.isNot?"not to":"to";return Gt(this,this.utils.matcherHint(`${this.isNot?".not":""}.${nh.name}`,"element",""),`Expected element ${n} have role`,t,"Received",r.join(", "))}}}function AJ(e){return e.hasAttribute("role")?e.getAttribute("role").split(" ").filter(Boolean):CJ(e)}function CJ(e){for(let{match:t,roles:r}of OJ)if(t(e))return[...r];return[]}function PJ(e){function t({name:s,attributes:a}){return`${s}${a.map(({name:l,value:u,constraints:c=[]})=>c.indexOf("undefined")!==-1?`:not([${l}])`:u?`[${l}="${u}"]`:`[${l}]`).join("")}`}function r({attributes:s=[]}){return s.length}function n({specificity:s},{specificity:a}){return a-s}function o(s){let{attributes:a=[]}=s,l=a.findIndex(c=>c.value&&c.name==="type"&&c.value==="text");l>=0&&(a=[...a.slice(0,l),...a.slice(l+1)]);let u=t({...s,attributes:a});return c=>l>=0&&c.type!=="text"?!1:c.matches(u)}let i=[];for(let[s,a]of e.entries())i=[...i,{match:o(s),roles:Array.from(a),specificity:r(s)}];return i.sort(n)}function oh(e,t){Ze(e,oh,this);let r=dJ(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:()=>{let i=this.isNot?"not to":"to";return Gt(this,this.utils.matcherHint(`${this.isNot?".not":""}.${oh.name}`,"element",""),`Expected element ${i} have accessible name`,t,"Received",r)}}}function cE(e,t,r){return r===void 0?t:`${t}=${e(r)}`}function xJ(e,t,r){return r===void 0?`element.hasAttribute(${e(t)})`:`element.getAttribute(${e(t)}) === ${e(r)}`}function IO(e,t,r){Ze(e,IO,this);let n=r!==void 0,o=e.hasAttribute(t),i=e.getAttribute(t);return{pass:n?o&&this.equals(i,r):o,message:()=>{let s=this.isNot?"not to":"to",a=o?cE(this.utils.stringify,t,i):null,l=this.utils.matcherHint(`${this.isNot?".not":""}.toHaveAttribute`,"element",this.utils.printExpected(t),{secondArgument:n?this.utils.printExpected(r):void 0,comment:xJ(this.utils.stringify,t,r)});return Gt(this,l,`Expected the element ${s} have attribute`,cE(this.utils.stringify,t,r),"Received",a)}}}function NJ(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}}function dE(e){return e?e.split(/\s+/).filter(t=>t.length>0):[]}function pE(e,t){return e.every(r=>typeof r=="string"?t.includes(r):t.some(n=>r.test(n)))}function MO(e,...t){Ze(e,MO,this);let{expectedClassNames:r,options:n}=NJ(t),o=dE(e.getAttribute("class")),i=r.reduce((a,l)=>a.concat(typeof l=="string"||!l?dE(l):l),[]),s=i.some(a=>a instanceof RegExp);if(n.exact&&s)throw new Error("Exact option does not support RegExp expected class names");return n.exact?{pass:pE(i,o)&&i.length===o.length,message:()=>{let a=this.isNot?"not to":"to";return Gt(this,this.utils.matcherHint(`${this.isNot?".not":""}.toHaveClass`,"element",this.utils.printExpected(i.join(" "))),`Expected the element ${a} have EXACTLY defined classes`,i.join(" "),"Received",o.join(" "))}}:i.length>0?{pass:pE(i,o),message:()=>{let a=this.isNot?"not to":"to";return Gt(this,this.utils.matcherHint(`${this.isNot?".not":""}.toHaveClass`,"element",this.utils.printExpected(i.join(" "))),`Expected the element ${a} have class`,i.join(" "),"Received",o.join(" "))}}:{pass:this.isNot?o.length>0:!1,message:()=>this.isNot?Gt(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(`
228
+ `)}}function IJ(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}function MJ(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)})}function fE(e){return Object.keys(e).sort().map(t=>`${t}: ${e[t]};`).join(`
229
+ `)}function jJ(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(fE(t),fE(n)).replace(`${pJ.default.red("+ Received")}
230
+ `,"")}function ih(e,t){Ze(e,ih,this);let r=typeof t=="object"?t:yJ(t,ih,this),{getComputedStyle:n}=e.ownerDocument.defaultView,o=IJ(e.ownerDocument,r),i=n(e);return{pass:MJ(o,i),message:()=>{let s=`${this.isNot?".not":""}.toHaveStyle`;return[this.utils.matcherHint(s,"element",""),jJ(this.utils.diff,o,i)].join(`
231
+
232
+ `)}}}function jO(e){return Ze(e,jO,this),{pass:e.ownerDocument.activeElement===e,message:()=>[this.utils.matcherHint(`${this.isNot?".not":""}.toHaveFocus`,"element",""),"",...this.isNot?["Received element is focused:",` ${this.utils.printReceived(e)}`]:["Expected element with focus:",` ${this.utils.printExpected(e)}`,"Received element with focus:",` ${this.utils.printReceived(e.ownerDocument.activeElement)}`]].join(`
233
+ `)}}function qJ(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)}}function LJ(e,t){let r=[...e.querySelectorAll(`[name="${(0,fJ.default)(t)}"]`)];if(r.length!==0)return r.length===1?RO(r[0]):qJ(r)}function kJ(e){return/\[\]$/.test(e)?e.slice(0,-2):e}function DJ(e){return Array.from(e.elements).map(t=>t.name).reduce((t,r)=>({...t,[kJ(r)]:LJ(e,r)}),{})}function qO(e,t){if(Ze(e,qO,this),!e.elements)throw new Error("toHaveFormValues must be called on a form or a fieldset");let r=DJ(e);return{pass:Object.entries(t).every(([n,o])=>(0,$y.default)(r[n],o,By)),message:()=>{let n=this.isNot?"not to":"to",o=`${this.isNot?".not":""}.toHaveFormValues`,i=Object.keys(r).filter(s=>t.hasOwnProperty(s)).reduce((s,a)=>({...s,[a]:r[a]}),{});return[this.utils.matcherHint(o,"element",""),`Expected the element ${n} have form values`,this.utils.diff(t,i)].join(`
234
+
235
+ `)}}}function FJ(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}function $J(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}function LO(e,t){return FJ(e)&&$J(e,t)&&(!e.parentElement||LO(e.parentElement,e))}function kO(e){Ze(e,kO,this);let t=e.ownerDocument===e.getRootNode({composed:!0}),r=t&&LO(e);return{pass:r,message:()=>{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(`
236
+ `)}}}var BJ=["fieldset","input","select","optgroup","option","button","textarea"];function VJ(e,t){return Po(e)==="legend"&&Po(t)==="fieldset"&&e.isSameNode(Array.from(t.children).find(r=>Po(r)==="legend"))}function UJ(e,t){return FO(t)&&!VJ(e,t)}function HJ(e){return e.includes("-")}function DO(e){let t=Po(e);return BJ.includes(t)||HJ(t)}function FO(e){return DO(e)&&e.hasAttribute("disabled")}function $O(e){let t=e.parentElement;return!!t&&(UJ(e,t)||$O(t))}function BO(e){return DO(e)&&(FO(e)||$O(e))}function VO(e){Ze(e,VO,this);let t=BO(e);return{pass:t,message:()=>{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(`
237
+ `)}}}function UO(e){Ze(e,UO,this);let t=!BO(e);return{pass:t,message:()=>{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(`
238
+ `)}}}var JJ=["select","textarea"],GJ=["input","select","textarea"],WJ=["color","hidden","range","submit","image","reset"],KJ=["checkbox","combobox","gridcell","listbox","radiogroup","spinbutton","textbox","tree"];function zJ(e){return JJ.includes(Po(e))&&e.hasAttribute("required")}function YJ(e){return Po(e)==="input"&&e.hasAttribute("required")&&(e.hasAttribute("type")&&!WJ.includes(e.getAttribute("type"))||!e.hasAttribute("type"))}function XJ(e){return e.hasAttribute("aria-required")&&e.getAttribute("aria-required")==="true"&&(GJ.includes(Po(e))||e.hasAttribute("role")&&KJ.includes(e.getAttribute("role")))}function HO(e){Ze(e,HO,this);let t=zJ(e)||YJ(e)||XJ(e);return{pass:t,message:()=>{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(`
239
+ `)}}}var QJ=["form","input","select","textarea"];function ZJ(e){return e.hasAttribute("aria-invalid")&&e.getAttribute("aria-invalid")!=="false"}function e3(e){return QJ.includes(Po(e))}function JO(e){let t=ZJ(e);return e3(e)?t||!e.checkValidity():t}function GO(e){Ze(e,GO,this);let t=JO(e);return{pass:t,message:()=>{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(`
240
+ `)}}}function WO(e){Ze(e,WO,this);let t=!JO(e);return{pass:t,message:()=>{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(`
241
+ `)}}}function KO(e,t){if(Ze(e,KO,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=RO(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,$y.default)(r,t,By):!!r,message:()=>{let s=this.isNot?"not to":"to",a=this.utils.matcherHint(`${this.isNot?".not":""}.toHaveValue`,"element",t);return Gt(this,a,`Expected the element ${s} have value`,n?o:"(any)","Received",i)}}}function zO(e,t){Ze(e,zO,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=t3(r,e),o=r3(t),i=o.filter(l=>n.some(u=>l instanceof RegExp?l.test(u):this.equals(u,String(l)))).length,s=i===n.length,a=i===o.length;return{pass:s&&a,message:()=>Gt(this,this.utils.matcherHint(`${this.isNot?".not":""}.toHaveDisplayValue`,"element",""),`Expected element ${this.isNot?"not ":""}to have display value`,t,"Received",n)}}function t3(e,t){return e==="select"?Array.from(t).filter(r=>r.selected).map(r=>r.textContent):[t.value]}function r3(e){return e instanceof Array?e:[e]}function YO(e){Ze(e,YO,this);let t=()=>e.tagName.toLowerCase()==="input"&&["checkbox","radio"].includes(e.type),r=()=>XO(e.getAttribute("role"))&&["true","false"].includes(e.getAttribute("aria-checked"));if(!t()&&!r())return{pass:!1,message:()=>`only inputs with type="checkbox" or type="radio" or elements with ${n3()} and a valid aria-checked attribute can be used with .toBeChecked(). Use .toHaveValue() instead`};let n=()=>t()?e.checked:e.getAttribute("aria-checked")==="true";return{pass:n(),message:()=>{let 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(`
242
+ `)}}}function n3(){return TJ(o3().map(e=>`role="${e}"`),{lastWordConnector:" or "})}function o3(){return Fy.roles.keys().filter(XO)}function XO(e){return Fy.roles.get(e)?.props["aria-checked"]!==void 0}function QO(e){Ze(e,QO,this);let t=()=>e.tagName.toLowerCase()==="input"&&e.type==="checkbox",r=()=>e.getAttribute("role")==="checkbox";if(!t()&&!r())return{pass:!1,message:()=>'only inputs with type="checkbox" or elements with role="checkbox" and a valid aria-checked attribute can be used with .toBePartiallyChecked(). Use .toHaveValue() instead'};let n=()=>{let o=e.getAttribute("aria-checked")==="mixed";return t()&&e.indeterminate||o};return{pass:n(),message:()=>{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(`
243
+ `)}}}function ZO(e,t){Td("toHaveDescription","Please use toHaveAccessibleDescription."),Ze(e,ZO,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(a=>i.getElementById(a)).filter(Boolean);o=wd(s.map(a=>a.textContent).join(" "))}return{pass:r?t instanceof RegExp?t.test(o):this.equals(o,t):!!o,message:()=>{let i=this.isNot?"not to":"to";return Gt(this,this.utils.matcherHint(`${this.isNot?".not":""}.toHaveDescription`,"element",""),`Expected the element ${i} have description`,this.utils.printExpected(t),"Received",this.utils.printReceived(o))}}}function eA(e,t){if(Td("toHaveErrorMessage","Please use toHaveAccessibleErrorMessage."),Ze(e,eA,this),!e.hasAttribute("aria-invalid")||e.getAttribute("aria-invalid")==="false"){let i=this.isNot?".not":"";return{pass:!1,message:()=>Gt(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(""))}}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(a=>i.getElementById(a)).filter(Boolean);o=wd(s.map(a=>a.textContent).join(" "))}return{pass:r?t instanceof RegExp?t.test(o):this.equals(o,t):!!o,message:()=>{let i=this.isNot?"not to":"to";return Gt(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))}}}function i3(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}function tA(e,t){Ze(e,tA,this);let r=t!==void 0;if(r&&typeof t!="string")throw new Error("expected selection must be a string or undefined");let n=i3(e);return{pass:r?(0,$y.default)(n,t,By):!!n,message:()=>{let o=this.isNot?"not to":"to",i=this.utils.matcherHint(`${this.isNot?".not":""}.toHaveSelection`,"element",t);return Gt(this,i,`Expected the element ${o} have selection`,r?t:"(any)","Received",n)}}}_t(jw(),1);_t(hm(),1);_t(Lw(),1);_t(Ww(),1);_t(Kw(),1);var $p,hE;function s3(){if(hE)return $p;hE=1;var e,t,r,n,o,i,s,a,l,u,c,d,f,h,m,g,v,b,E;return f=/\/(?![*\/])(?:\[(?:(?![\]\\]).|\\.)*\]|(?![\/\\]).|\\.)*(\/[$_\u200C\u200D\p{ID_Continue}]*|\\)?/yu,d=/--|\+\+|=>|\.{3}|\??\.(?!\d)|(?:&&|\|\||\?\?|[+\-%&|^]|\*{1,2}|<{1,2}|>{1,3}|!=?|={1,2}|\/(?![\/*]))=?|[?~,:;[\](){}]/y,e=/(\x23?)(?=[$_\p{ID_Start}\\])(?:[$_\u200C\u200D\p{ID_Continue}]|\\u[\da-fA-F]{4}|\\u\{[\da-fA-F]+\})+/yu,m=/(['"])(?:(?!\1)[^\\\n\r]|\\(?:\r\n|[^]))*(\1)?/y,c=/(?: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,g=/[`}](?:[^`\\$]|\\[^]|\$(?!\{))*(`|\$\{)?/y,E=/[\t\v\f\ufeff\p{Zs}]+/yu,a=/\r?\n|[\r\u2028\u2029]/y,l=/\/\*(?:[^*]|\*(?!\/))*(\*\/)?/y,h=/\/\/.*/y,r=/[<>.:={}]|\/(?![\/*])/y,t=/[$_\p{ID_Start}][$_\u200C\u200D\p{ID_Continue}-]*/yu,n=/(['"])(?:(?!\1)[^])*(\1)?/y,o=/[^<>{}]+/y,b=/^(?:[\/+-]|\.{3}|\?(?:InterpolationIn(?:JSX|Template)|NoLineTerminatorHere|NonExpressionParenEnd|UnaryIncDec))?$|[{}([,;<>=*%&|^!~?:]$/,v=/^(?:=>|[;\]){}]|else|\?(?:NoLineTerminatorHere|NonExpressionParenEnd))?$/,i=/^(?:await|case|default|delete|do|else|instanceof|new|return|throw|typeof|void|yield)$/,s=/^(?:return|throw|yield)$/,u=RegExp(a.source),$p=function*(S,{jsx:A=!1}={}){var C,T,w,_,R,M,N,q,x,P,L,$,V,G;for({length:M}=S,_=0,R="",G=[{tag:"JS"}],C=[],L=0,$=!1;_<M;){switch(q=G[G.length-1],q.tag){case"JS":case"JSNonExpressionParen":case"InterpolationInTemplate":case"InterpolationInJSX":if(S[_]==="/"&&(b.test(R)||i.test(R))&&(f.lastIndex=_,N=f.exec(S))){_=f.lastIndex,R=N[0],$=!0,yield{type:"RegularExpressionLiteral",value:N[0],closed:N[1]!==void 0&&N[1]!=="\\"};continue}if(d.lastIndex=_,N=d.exec(S)){switch(V=N[0],x=d.lastIndex,P=V,V){case"(":R==="?NonExpressionParenKeyword"&&G.push({tag:"JSNonExpressionParen",nesting:L}),L++,$=!1;break;case")":L--,$=!0,q.tag==="JSNonExpressionParen"&&L===q.nesting&&(G.pop(),P="?NonExpressionParenEnd",$=!1);break;case"{":d.lastIndex=0,w=!v.test(R)&&(b.test(R)||i.test(R)),C.push(w),$=!1;break;case"}":switch(q.tag){case"InterpolationInTemplate":if(C.length===q.nesting){g.lastIndex=_,N=g.exec(S),_=g.lastIndex,R=N[0],N[1]==="${"?(R="?InterpolationInTemplate",$=!1,yield{type:"TemplateMiddle",value:N[0]}):(G.pop(),$=!0,yield{type:"TemplateTail",value:N[0],closed:N[1]==="`"});continue}break;case"InterpolationInJSX":if(C.length===q.nesting){G.pop(),_+=1,R="}",yield{type:"JSXPunctuator",value:"}"};continue}}$=C.pop(),P=$?"?ExpressionBraceEnd":"}";break;case"]":$=!0;break;case"++":case"--":P=$?"?PostfixIncDec":"?UnaryIncDec";break;case"<":if(A&&(b.test(R)||i.test(R))){G.push({tag:"JSXTag"}),_+=1,R="<",yield{type:"JSXPunctuator",value:V};continue}$=!1;break;default:$=!1}_=x,R=P,yield{type:"Punctuator",value:V};continue}if(e.lastIndex=_,N=e.exec(S)){switch(_=e.lastIndex,P=N[0],N[0]){case"for":case"if":case"while":case"with":R!=="."&&R!=="?."&&(P="?NonExpressionParenKeyword")}R=P,$=!i.test(N[0]),yield{type:N[1]==="#"?"PrivateIdentifier":"IdentifierName",value:N[0]};continue}if(m.lastIndex=_,N=m.exec(S)){_=m.lastIndex,R=N[0],$=!0,yield{type:"StringLiteral",value:N[0],closed:N[2]!==void 0};continue}if(c.lastIndex=_,N=c.exec(S)){_=c.lastIndex,R=N[0],$=!0,yield{type:"NumericLiteral",value:N[0]};continue}if(g.lastIndex=_,N=g.exec(S)){_=g.lastIndex,R=N[0],N[1]==="${"?(R="?InterpolationInTemplate",G.push({tag:"InterpolationInTemplate",nesting:C.length}),$=!1,yield{type:"TemplateHead",value:N[0]}):($=!0,yield{type:"NoSubstitutionTemplate",value:N[0],closed:N[1]==="`"});continue}break;case"JSXTag":case"JSXTagEnd":if(r.lastIndex=_,N=r.exec(S)){switch(_=r.lastIndex,P=N[0],N[0]){case"<":G.push({tag:"JSXTag"});break;case">":G.pop(),R==="/"||q.tag==="JSXTagEnd"?(P="?JSX",$=!0):G.push({tag:"JSXChildren"});break;case"{":G.push({tag:"InterpolationInJSX",nesting:C.length}),P="?InterpolationInJSX",$=!1;break;case"/":R==="<"&&(G.pop(),G[G.length-1].tag==="JSXChildren"&&G.pop(),G.push({tag:"JSXTagEnd"}))}R=P,yield{type:"JSXPunctuator",value:N[0]};continue}if(t.lastIndex=_,N=t.exec(S)){_=t.lastIndex,R=N[0],yield{type:"JSXIdentifier",value:N[0]};continue}if(n.lastIndex=_,N=n.exec(S)){_=n.lastIndex,R=N[0],yield{type:"JSXString",value:N[0],closed:N[2]!==void 0};continue}break;case"JSXChildren":if(o.lastIndex=_,N=o.exec(S)){_=o.lastIndex,R=N[0],yield{type:"JSXText",value:N[0]};continue}switch(S[_]){case"<":G.push({tag:"JSXTag"}),_++,R="<",yield{type:"JSXPunctuator",value:"<"};continue;case"{":G.push({tag:"InterpolationInJSX",nesting:C.length}),_++,R="?InterpolationInJSX",$=!1,yield{type:"JSXPunctuator",value:"{"};continue}}if(E.lastIndex=_,N=E.exec(S)){_=E.lastIndex,yield{type:"WhiteSpace",value:N[0]};continue}if(a.lastIndex=_,N=a.exec(S)){_=a.lastIndex,$=!1,s.test(R)&&(R="?NoLineTerminatorHere"),yield{type:"LineTerminatorSequence",value:N[0]};continue}if(l.lastIndex=_,N=l.exec(S)){_=l.lastIndex,u.test(N[0])&&($=!1,s.test(R)&&(R="?NoLineTerminatorHere")),yield{type:"MultiLineComment",value:N[0],closed:N[1]!==void 0};continue}if(h.lastIndex=_,N=h.exec(S)){_=h.lastIndex,$=!1,yield{type:"SingleLineComment",value:N[0]};continue}T=String.fromCodePoint(S.codePointAt(_)),_+=T.length,R=T,$=!1,yield{type:q.tag.startsWith("JSX")?"JSXInvalid":"Invalid",value:T}}},$p}var a3=s3();oR(a3);var rA={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(rA.keyword);new Set(rA.strict);var l3={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]},nA=Object.entries(l3);function Sd(e){return String(e)}Sd.open="";Sd.close="";nA.reduce((e,[t])=>(e[t]=Sd,e),{isColorSupported:!1});function u3(e=!1){let t=typeof Vn<"u"?Vn: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}function c3(e=!1){let t=u3(e),r=(s,a,l,u)=>{let c="",d=0;do c+=s.substring(d,u)+l,d=u+a.length,u=s.indexOf(a,d);while(~u);return c+s.substring(d)},n=(s,a,l=s)=>{let u=c=>{let d=String(c),f=d.indexOf(a,s.length);return~f?s+r(d,a,l,f)+a:s+d+a};return u.open=s,u.close=a,u},o={isColorSupported:t},i=s=>`\x1B[${s}m`;for(let[s,a]of nA)o[s]=t?n(i(a[0]),i(a[1]),a[2]):Sd;return o}var Or=c3();function Mu(e,t){if(!e)throw new Error(t)}function Wi(e,t){return typeof t===e}function d3(e){return e instanceof Promise}function za(e,t,r){Object.defineProperty(e,t,r)}function Zi(e,t,r){za(e,t,{value:r,configurable:!0,writable:!0})}var xo=Symbol.for("tinyspy:spy"),p3=new Set,f3=e=>{e.called=!1,e.callCount=0,e.calls=[],e.results=[],e.resolves=[],e.next=[]},h3=e=>(za(e,xo,{value:{reset:()=>f3(e[xo])}}),e[xo]),sh=e=>e[xo]||h3(e);function m3(e){Mu(Wi("function",e)||Wi("undefined",e),"cannot spy on a non-function value");let t=function(...n){let o=sh(t);o.called=!0,o.callCount++,o.calls.push(n);let i=o.next.shift();if(i){o.results.push(i);let[c,d]=i;if(c==="ok")return d;throw d}let s,a="ok",l=o.results.length;if(o.impl)try{new.target?s=Reflect.construct(o.impl,n,new.target):s=o.impl.apply(this,n),a="ok"}catch(c){throw s=c,a="error",o.results.push([a,c]),c}let u=[a,s];return d3(s)&&s.then(c=>o.resolves[l]=["ok",c],c=>o.resolves[l]=["error",c]),o.results.push(u),s};Zi(t,"_isMockFunction",!0),Zi(t,"length",e?e.length:0),Zi(t,"name",e&&e.name||"spy");let r=sh(t);return r.reset(),r.impl=e,t}function y3(e){return!!e&&e._isMockFunction===!0}var oA=(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)}},mE=(e,t)=>{t!=null&&typeof t=="function"&&t.prototype!=null&&Object.setPrototypeOf(e.prototype,t.prototype)};function iA(e,t,r){Mu(!Wi("undefined",e),"spyOn could not find an object to spy upon"),Mu(Wi("object",e)||Wi("function",e),"cannot spyOn on a primitive value");let[n,o]=(()=>{if(!Wi("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]=oA(e,n)||[];Mu(s||n in e,`${String(n)} does not exist`);let a=!1;o==="value"&&s&&!s.value&&s.get&&(o="get",a=!0,r=s.get());let l;s?l=s[o]:o!=="value"?l=()=>e[n]:l=e[n],l&&E3(l)&&(l=l[xo].getOriginal());let u=h=>{let{value:m,...g}=s||{configurable:!0,writable:!0};o!=="value"&&delete g.writable,g[o]=h,za(e,n,g)},c=()=>{i!==e?Reflect.deleteProperty(e,n):s&&!l?za(e,n,s):u(l)};r||(r=l);let d=v3(m3(r),r);o==="value"&&mE(d,l);let f=d[xo];return Zi(f,"restore",c),Zi(f,"getOriginal",()=>a?l():l),Zi(f,"willCall",h=>(f.impl=h,d)),u(a?()=>(mE(d,r),d):d),p3.add(d),d}var g3=new Set(["length","name","prototype"]);function b3(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]||g3.has(o)||(t.add(o),r[o]=Object.getOwnPropertyDescriptor(e,o));e=Object.getPrototypeOf(e)}return{properties:t,descriptors:r}}function v3(e,t){if(!t||xo in t)return e;let{properties:r,descriptors:n}=b3(t);for(let o of r){let i=n[o];oA(e,o)||za(e,o,i)}return e}function E3(e){return y3(e)&&"getOriginal"in e[xo]}var jl=new Set;function es(e){return typeof e=="function"&&"_isMockFunction"in e&&e._isMockFunction}function _3(e,t,r){let n=r?{[{get:"getter",set:"setter"}[r]]:t}:t,o,i=w3(e,t),s=i&&i[r||"value"];es(s)&&(o=s.mock._state());try{let a=iA(e,n),l=sA(a);return o&&l.mock._state(o),l}catch(a){throw a instanceof TypeError&&Symbol.toStringTag&&e[Symbol.toStringTag]==="Module"&&(a.message.includes("Cannot redefine property")||a.message.includes("Cannot replace module namespace")||a.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:a}):a}}var T3=0;function sA(e){let t=e,r,n=[],o=!1,i=[],s=[],a=[],l=sh(e),u={get calls(){return l.calls},get contexts(){return s},get instances(){return i},get invocationCallOrder(){return a},get results(){return l.results.map(([h,m])=>({type:h==="error"?"throw":"return",value:m}))},get settledResults(){return l.resolves.map(([h,m])=>({type:h==="error"?"rejected":"fulfilled",value:m}))},get lastCall(){return l.calls[l.calls.length-1]},_state(h){return h&&(r=h.implementation,n=h.onceImplementations,o=h.implementationChangedTemporarily),{implementation:r,onceImplementations:n,implementationChangedTemporarily:o}}};function c(...h){return i.push(this),s.push(this),a.push(++T3),(o?r:n.shift()||r||l.getOriginal()||(()=>{})).apply(this,h)}let d=t.name;t.getMockName=()=>d||"vi.fn()",t.mockName=h=>(d=h,t),t.mockClear=()=>(l.reset(),i=[],s=[],a=[],t),t.mockReset=()=>(t.mockClear(),r=void 0,n=[],t),t.mockRestore=()=>(t.mockReset(),l.restore(),t),Symbol.dispose&&(t[Symbol.dispose]=()=>t.mockRestore()),t.getMockImplementation=()=>o?r:n.at(0)||r,t.mockImplementation=h=>(r=h,l.willCall(c),t),t.mockImplementationOnce=h=>(n.push(h),t);function f(h,m){let g=r;r=h,l.willCall(c),o=!0;let v=()=>{r=g,o=!1},b=m();return typeof b=="object"&&b&&typeof b.then=="function"?b.then(()=>(v(),t)):(v(),t)}return t.withImplementation=f,t.mockReturnThis=()=>t.mockImplementation(function(){return this}),t.mockReturnValue=h=>t.mockImplementation(()=>h),t.mockReturnValueOnce=h=>t.mockImplementationOnce(()=>h),t.mockResolvedValue=h=>t.mockImplementation(()=>Promise.resolve(h)),t.mockResolvedValueOnce=h=>t.mockImplementationOnce(()=>Promise.resolve(h)),t.mockRejectedValue=h=>t.mockImplementation(()=>Promise.reject(h)),t.mockRejectedValueOnce=h=>t.mockImplementationOnce(()=>Promise.reject(h)),Object.defineProperty(t,"mock",{get:()=>u}),l.willCall(c),jl.add(t),t}function yE(e){let t=sA(iA({spy:e||function(){}},"spy"));return e&&t.mockImplementation(e),t}function w3(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)}}var Ya=Symbol.for("matchers-object"),Xa=Symbol.for("$$jest-matchers-object-storybook"),Vy=Symbol.for("expect-global"),ah=Symbol.for("asymmetric-matchers-object"),S3={toSatisfy(e,t,r){let{printReceived:n,printExpected:o,matcherHint:i}=this.utils,s=t(e);return{pass:s,message:()=>s?`${i(".not.toSatisfy","received","")}
244
+
245
+ Expected value to not satisfy:
246
+ ${r||o(t)}
247
+ Received:
248
+ ${n(e)}`:`${i(".toSatisfy","received","")}
249
+
250
+ Expected value to satisfy:
251
+ ${r||o(t)}
252
+
253
+ Received:
254
+ ${n(e)}`}},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 a=t.length===0||t.some(l=>r(l,e,n));return{pass:a,message:()=>a?`${s(".not.toBeOneOf","received","")}
255
+
256
+ Expected value to not be one of:
257
+ ${i(t)}
258
+ Received:
259
+ ${o(e)}`:`${s(".toBeOneOf","received","")}
260
+
261
+ Expected value to be one of:
262
+ ${i(t)}
263
+
264
+ Received:
265
+ ${o(e)}`}}},ac=Or.green,Uy=Or.red,R3=Or.inverse,O3=Or.bold,mo=Or.dim;function A3(e,t="received",r="expected",n={}){let{comment:o="",isDirectExpectCall:i=!1,isNot:s=!1,promise:a="",secondArgument:l="",expectedColor:u=ac,receivedColor:c=Uy,secondArgumentColor:d=ac}=n,f="",h="expect";return!i&&t!==""&&(f+=mo(`${h}(`)+c(t),h=")"),a!==""&&(f+=mo(`${h}.`)+a,h=""),s&&(f+=`${mo(`${h}.`)}not`,h=""),e.includes(".")?h+=e:(f+=mo(`${h}.`)+e,h=""),r===""?h+="()":(f+=mo(`${h}(`)+u(r),l&&(f+=mo(", ")+d(l)),h=")"),o!==""&&(h+=` // ${o}`),h!==""&&(f+=mo(h)),f}var C3="·";function aA(e){return e.replace(/\s+$/gm,t=>C3.repeat(t.length))}function P3(e){return Uy(aA(Pr(e)))}function x3(e){return ac(aA(Pr(e)))}function lA(){return{EXPECTED_COLOR:ac,RECEIVED_COLOR:Uy,INVERTED_COLOR:R3,BOLD_WEIGHT:O3,DIM_COLOR:mo,diff:Bs,matcherHint:A3,printReceived:P3,printExpected:x3,printDiffOrStringify:vR,printWithType:N3}}function N3(e,t,r){let n=Qu(t),o=n!=="null"&&n!=="undefined"?`${e} has type: ${n}
266
+ `:"",i=`${e} has value: ${r(t)}`;return o+i}function Hy(){return globalThis[Xa].customEqualityTesters}function ze(e,t,r,n){return r=r||[],Sa(e,t,[],[],r,n?uA:j3)}function gE(e){return!!e&&typeof e=="object"&&"asymmetricMatch"in e&&en("Function",e.asymmetricMatch)}function I3(e,t){let r=gE(e),n=gE(t);if(!(r&&n)){if(r)return e.asymmetricMatch(t);if(n)return t.asymmetricMatch(e)}}function Sa(e,t,r,n,o,i){let s=!0,a=I3(e,t);if(a!==void 0)return a;let l={equals:ze};for(let m=0;m<o.length;m++){let g=o[m].call(l,e,t,o);if(g!==void 0)return g}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,g=+t;return m===g||Number.isNaN(m)&&Number.isNaN(g)}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(vE(e)&&vE(t))return e.isEqualNode(t);let c=r.length;for(;c--;){if(r[c]===e)return n[c]===t;if(n[c]===t)return!1}if(r.push(e),n.push(t),u==="[object Array]"&&e.length!==t.length)return!1;if(e instanceof Error&&t instanceof Error)try{return M3(e,t,r,n,o,i)}finally{r.pop(),n.pop()}let d=bE(e,i),f,h=d.length;if(bE(t,i).length!==h)return!1;for(;h--;)if(f=d[h],s=i(t,f)&&Sa(e[f],t[f],r,n,o,i),!s)return!1;return r.pop(),n.pop(),s}function M3(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=Sa(e.cause,t.cause,r,n,o,i)),e instanceof AggregateError&&t instanceof AggregateError&&s&&(s=Sa(e.errors,t.errors,r,n,o,i)),s&&(s=Sa({...e},{...t},r,n,o,i)),s}function bE(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))}function j3(e,t){return uA(e,t)&&e[t]!==void 0}function uA(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function en(e,t){return Object.prototype.toString.apply(t)===`[object ${e}]`}function vE(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"}var cA="@@__IMMUTABLE_KEYED__@@",dA="@@__IMMUTABLE_SET__@@",q3="@@__IMMUTABLE_LIST__@@",Rd="@@__IMMUTABLE_ORDERED__@@",L3="@@__IMMUTABLE_RECORD__@@";function k3(e){return!!(e&&e[cA]&&!e[Rd])}function D3(e){return!!(e&&e[dA]&&!e[Rd])}function Od(e){return e!=null&&typeof e=="object"&&!Array.isArray(e)}function F3(e){return!!(e&&Od(e)&&e[q3])}function $3(e){return!!(e&&Od(e)&&e[cA]&&e[Rd])}function B3(e){return!!(e&&Od(e)&&e[dA]&&e[Rd])}function V3(e){return!!(e&&Od(e)&&e[L3])}var pA=Symbol.iterator;function EE(e){return!!(e!=null&&e[pA])}function Dr(e,t,r=[],n=[],o=[]){if(typeof e!="object"||typeof t!="object"||Array.isArray(e)||Array.isArray(t)||!EE(e)||!EE(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!==Dr),a];function a(u,c){return Dr(u,c,[...r],[...n],[...o])}if(e.size!==void 0){if(e.size!==t.size)return!1;if(en("Set",e)||D3(e)){let u=!0;for(let c of e)if(!t.has(c)){let d=!1;for(let f of t)ze(c,f,s)===!0&&(d=!0);if(d===!1){u=!1;break}}return n.pop(),o.pop(),u}else if(en("Map",e)||k3(e)){let u=!0;for(let c of e)if(!t.has(c[0])||!ze(c[1],t.get(c[0]),s)){let d=!1;for(let f of t){let h=ze(c[0],f[0],s),m=!1;h===!0&&(m=ze(c[1],f[1],s)),m===!0&&(d=!0)}if(d===!1){u=!1;break}}return n.pop(),o.pop(),u}}let l=t[pA]();for(let u of e){let c=l.next();if(c.done||!ze(u,c.value,s))return!1}if(!l.next().done)return!1;if(!F3(e)&&!$3(e)&&!B3(e)&&!V3(e)){let u=Object.entries(e),c=Object.entries(t);if(!ze(u,c,s))return!1}return n.pop(),o.pop(),!0}function Jy(e,t){return!e||typeof e!="object"||e===Object.prototype?!1:Object.prototype.hasOwnProperty.call(e,t)||Jy(Object.getPrototypeOf(e),t)}function U3(e){return Nu(e)&&!(e instanceof Error)&&!Array.isArray(e)&&!(e instanceof Date)}function ql(e,t,r=[]){let n=r.filter(i=>i!==ql),o=(i=new WeakMap)=>(s,a)=>{if(U3(a))return Object.keys(a).every(l=>{if(a[l]!=null&&typeof a[l]=="object"){if(i.has(a[l]))return ze(s[l],a[l],n);i.set(a[l],!0)}let u=s!=null&&Jy(s,l)&&ze(s[l],a[l],[...n,o(i)]);return i.delete(a[l]),u})};return o()(e,t)}function _E(e,t){if(!(e==null||t==null||e.constructor===t.constructor))return!1}function TE(e,t){let r=e,n=t;if(!(e instanceof DataView&&t instanceof DataView)){if(!(e instanceof ArrayBuffer)||!(t instanceof ArrayBuffer))return;try{r=new DataView(e),n=new DataView(t)}catch{return}}if(r.byteLength!==n.byteLength)return!1;for(let o=0;o<r.byteLength;o++)if(r.getUint8(o)!==n.getUint8(o))return!1;return!0}function lh(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!==lh);return ze(e,t,i,!0)&&ze(n,o)}function H3(e,t="#{this}",r="#{exp}"){let n=`expected ${t} to be ${r} // Object.is equality`;return["toStrictEqual","toEqual"].includes(e)?`${n}
267
+
268
+ If it should pass with deep equality, replace "toBe" with "${e}"
269
+
270
+ Expected: ${t}
271
+ Received: serializes to the same string
272
+ `:n}function J3(e,t){return`${t} ${e}${t===1?"":"s"}`}function Bp(e){return[...Object.keys(e),...Object.getOwnPropertySymbols(e).filter(t=>{var r;return(r=Object.getOwnPropertyDescriptor(e,t))===null||r===void 0?void 0:r.enumerable})]}function G3(e,t,r){let n=0,o=(i=new WeakMap)=>(s,a)=>{if(Array.isArray(s)){if(Array.isArray(a)&&a.length===s.length)return a.map((l,u)=>o(i)(s[u],l))}else{if(s instanceof Date)return s;if(Nu(s)&&Nu(a)){if(ze(s,a,[...r,Dr,ql]))return a;let l={};i.set(s,l),typeof s.constructor=="function"&&typeof s.constructor.name=="string"&&Object.defineProperty(l,"constructor",{enumerable:!1,value:s.constructor});for(let u of Bp(s))Jy(a,u)?l[u]=i.has(s[u])?i.get(s[u]):o(i)(s[u],a[u]):i.has(s[u])||(n+=1,Nu(s[u])&&(n+=Bp(s[u]).length),o(i)(s[u],a[u]));if(Bp(l).length>0)return l}}return s};return{subset:o()(e,t),stripped:n}}if(!Object.prototype.hasOwnProperty.call(globalThis,Ya)){let e=new WeakMap;Object.defineProperty(globalThis,Ya,{get:()=>e})}if(!Object.prototype.hasOwnProperty.call(globalThis,Xa)){let e=Object.create(null),t=[];Object.defineProperty(globalThis,Xa,{configurable:!0,get:()=>({state:globalThis[Ya].get(globalThis[Vy]),matchers:e,customEqualityTesters:t})})}if(!Object.prototype.hasOwnProperty.call(globalThis,ah)){let e=Object.create(null);Object.defineProperty(globalThis,ah,{get:()=>e})}function lc(e){return globalThis[Ya].get(e)}function Vp(e,t){let r=globalThis[Ya],n=r.get(t)||{},o=Object.defineProperties(n,{...Object.getOwnPropertyDescriptors(n),...Object.getOwnPropertyDescriptors(e)});r.set(t,o)}var eo=class{$$typeof=Symbol.for("jest.asymmetricMatcher");constructor(e,t=!1){this.sample=e,this.inverse=t}getMatcherContext(e){return{...lc(e||globalThis[Vy]),equals:ze,isNot:this.inverse,customTesters:Hy(),utils:{...lA(),diff:Bs,stringify:Pr,iterableEquality:Dr,subsetEquality:ql}}}};eo.prototype[Symbol.for("chai/inspect")]=function(e){let t=Pr(this,e.depth,{min:!0});return t.length<=e.truncate?t:`${this.toString()}{…}`};var wE=class extends eo{constructor(e,t=!1){if(!en("String",e))throw new Error("Expected is not a string");super(e,t)}asymmetricMatch(e){let t=en("String",e)&&e.includes(this.sample);return this.inverse?!t:t}toString(){return`String${this.inverse?"Not":""}Containing`}getExpectedType(){return"string"}},W3=class extends eo{asymmetricMatch(e){return e!=null}toString(){return"Anything"}toAsymmetricMatcher(){return"Anything"}},SE=class extends eo{constructor(e,t=!1){super(e,t)}getPrototype(e){return Object.getPrototypeOf?Object.getPrototypeOf(e):e.constructor.prototype===e?null:e.constructor.prototype}hasProperty(e,t){return e?Object.prototype.hasOwnProperty.call(e,t)?!0:this.hasProperty(this.getPrototype(e),t):!1}asymmetricMatch(e){if(typeof this.sample!="object")throw new TypeError(`You must provide an object to ${this.toString()}, not '${typeof this.sample}'.`);let t=!0,r=this.getMatcherContext();for(let n in this.sample)if(!this.hasProperty(e,n)||!ze(this.sample[n],e[n],r.customTesters)){t=!1;break}return this.inverse?!t:t}toString(){return`Object${this.inverse?"Not":""}Containing`}getExpectedType(){return"object"}},RE=class extends eo{constructor(e,t=!1){super(e,t)}asymmetricMatch(e){if(!Array.isArray(this.sample))throw new TypeError(`You must provide an array to ${this.toString()}, not '${typeof this.sample}'.`);let t=this.getMatcherContext(),r=this.sample.length===0||Array.isArray(e)&&this.sample.every(n=>e.some(o=>ze(n,o,t.customTesters)));return this.inverse?!r:r}toString(){return`Array${this.inverse?"Not":""}Containing`}getExpectedType(){return"array"}},K3=class extends eo{constructor(e){if(typeof e>"u")throw new TypeError("any() expects to be passed a constructor function. Please pass one or use anything() to match any object.");super(e)}fnNameFor(e){if(e.name)return e.name;let t=Function.prototype.toString.call(e).match(/^(?:async)?\s*function\s*(?:\*\s*)?([\w$]+)\s*\(/);return t?t[1]:"<anonymous>"}asymmetricMatch(e){return this.sample===String?typeof e=="string"||e instanceof String:this.sample===Number?typeof e=="number"||e instanceof Number:this.sample===Function?typeof e=="function"||typeof e=="function":this.sample===Boolean?typeof e=="boolean"||e instanceof Boolean:this.sample===BigInt?typeof e=="bigint"||e instanceof BigInt:this.sample===Symbol?typeof e=="symbol"||e instanceof Symbol:this.sample===Object?typeof e=="object":e instanceof this.sample}toString(){return"Any"}getExpectedType(){return this.sample===String?"string":this.sample===Number?"number":this.sample===Function?"function":this.sample===Object?"object":this.sample===Boolean?"boolean":this.fnNameFor(this.sample)}toAsymmetricMatcher(){return`Any<${this.fnNameFor(this.sample)}>`}},OE=class extends eo{constructor(e,t=!1){if(!en("String",e)&&!en("RegExp",e))throw new Error("Expected is not a String or a RegExp");super(new RegExp(e),t)}asymmetricMatch(e){let t=en("String",e)&&this.sample.test(e);return this.inverse?!t:t}toString(){return`String${this.inverse?"Not":""}Matching`}getExpectedType(){return"string"}},AE=class extends eo{precision;constructor(e,t=2,r=!1){if(!en("Number",e))throw new Error("Expected is not a Number");if(!en("Number",t))throw new Error("Precision is not a Number");super(e),this.inverse=r,this.precision=t}asymmetricMatch(e){if(!en("Number",e))return!1;let t=!1;return e===Number.POSITIVE_INFINITY&&this.sample===Number.POSITIVE_INFINITY||e===Number.NEGATIVE_INFINITY&&this.sample===Number.NEGATIVE_INFINITY?t=!0:t=Math.abs(this.sample-e)<10**-this.precision/2,this.inverse?!t:t}toString(){return`Number${this.inverse?"Not":""}CloseTo`}getExpectedType(){return"number"}toAsymmetricMatcher(){return[this.toString(),this.sample,`(${J3("digit",this.precision)})`].join(" ")}},z3=(e,t)=>{t.addMethod(e.expect,"anything",()=>new W3),t.addMethod(e.expect,"any",r=>new K3(r)),t.addMethod(e.expect,"stringContaining",r=>new wE(r)),t.addMethod(e.expect,"objectContaining",r=>new SE(r)),t.addMethod(e.expect,"arrayContaining",r=>new RE(r)),t.addMethod(e.expect,"stringMatching",r=>new OE(r)),t.addMethod(e.expect,"closeTo",(r,n)=>new AE(r,n)),e.expect.not={stringContaining:r=>new wE(r,!0),objectContaining:r=>new SE(r,!0),arrayContaining:r=>new RE(r,!0),stringMatching:r=>new OE(r,!0),closeTo:(r,n)=>new AE(r,n,!0)}};function CE(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}`}function PE(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 a=(((s=globalThis.__vitest_worker__)===null||s===void 0?void 0:s.onFilterStackTrace)||(l=>l||""))(n.stack);console.warn([`Promise returned by \`${r}\` was not awaited. `,"Vitest currently auto-awaits hanging assertions at the end of the test, but this will cause the test to fail in Vitest 3. ",`Please remember to await the assertion.
273
+ `,a].join(""))}}),{then(s,a){return i=!0,t.then(s,a)},catch(s){return t.catch(s)},finally(s){return t.finally(s)},[Symbol.toStringTag]:"Promise"}}return t}function xE(e,t){var r;e.result||(e.result={state:"fail"}),e.result.state="fail",(r=e.result).errors||(r.errors=[]),e.result.errors.push(ty(t))}function fA(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(t5,s=>{xE(o,s)}):i}catch(i){xE(o,i)}}}var Y3=(e,t)=>{let{AssertionError:r}=e,n=Hy();function o(u,c){let d=f=>{let h=fA(t,f,c);t.addMethod(e.Assertion.prototype,f,h),t.addMethod(globalThis[Xa].matchers,f,h)};Array.isArray(u)?u.forEach(f=>d(f)):d(u)}["throw","throws","Throw"].forEach(u=>{t.overwriteMethod(e.Assertion.prototype,u,c=>function(...d){let f=t.flag(this,"promise"),h=t.flag(this,"object"),m=t.flag(this,"negate");if(f==="rejects")t.flag(this,"object",()=>{throw h});else if(f==="resolves"&&typeof h!="function"){if(m)return;{let g=t.flag(this,"message")||"expected promise to throw an error, but it didn't",v={showDiff:!1};throw new r(g,v,t.flag(this,"ssfi"))}}c.apply(this,d)})}),o("withTest",function(u){return t.flag(this,"vitest-test",u),this}),o("toEqual",function(u){let c=t.flag(this,"object"),d=ze(c,u,[...n,Dr]);return this.assert(d,"expected #{this} to deeply equal #{exp}","expected #{this} to not deeply equal #{exp}",u,c)}),o("toStrictEqual",function(u){let c=t.flag(this,"object"),d=ze(c,u,[...n,Dr,_E,lh,TE],!0);return this.assert(d,"expected #{this} to strictly equal #{exp}","expected #{this} to not strictly equal #{exp}",u,c)}),o("toBe",function(u){let c=this._obj,d=Object.is(c,u),f="";return d||(ze(c,u,[...n,Dr,_E,lh,TE],!0)?f="toStrictEqual":ze(c,u,[...n,Dr])&&(f="toEqual")),this.assert(d,H3(f),"expected #{this} not to be #{exp} // Object.is equality",u,c)}),o("toMatchObject",function(u){let c=this._obj,d=ze(c,u,[...n,Dr,ql]),f=t.flag(this,"negate"),{subset:h,stripped:m}=G3(c,u,n);if(d&&f||!d&&!f){let g=t.getMessage(this,[d,"expected #{this} to match object #{exp}","expected #{this} to not match object #{exp}",u,h,!1]),v=m===0?g:`${g}
274
+ (${m} matching ${m===1?"property":"properties"} omitted from actual)`;throw new r(v,{showDiff:!0,expected:u,actual:h})}}),o("toMatch",function(u){let c=this._obj;if(typeof c!="string")throw new TypeError(`.toMatch() expects to receive a string, but got ${typeof c}`);return this.assert(typeof u=="string"?c.includes(u):c.match(u),"expected #{this} to match #{exp}","expected #{this} not to match #{exp}",u,c)}),o("toContain",function(u){let c=this._obj;if(typeof Node<"u"&&c instanceof Node){if(!(u instanceof Node))throw new TypeError(`toContain() expected a DOM node as the argument, but got ${typeof u}`);return this.assert(c.contains(u),"expected #{this} to contain element #{exp}","expected #{this} not to contain element #{exp}",u,c)}if(typeof DOMTokenList<"u"&&c instanceof DOMTokenList){Sn(u,"class name",["string"]);let d=t.flag(this,"negate")?c.value.replace(u,"").trim():`${c.value} ${u}`;return this.assert(c.contains(u),`expected "${c.value}" to contain "${u}"`,`expected "${c.value}" not to contain "${u}"`,d,c.value)}return typeof c=="string"&&typeof u=="string"?this.assert(c.includes(u),"expected #{this} to contain #{exp}","expected #{this} not to contain #{exp}",u,c):(c!=null&&typeof c!="string"&&t.flag(this,"object",Array.from(c)),this.contain(u))}),o("toContainEqual",function(u){let c=t.flag(this,"object"),d=Array.from(c).findIndex(f=>ze(f,u,n));this.assert(d!==-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 c=this._obj;return Sn(c,"actual",["number","bigint"]),Sn(u,"expected",["number","bigint"]),this.assert(c>u,`expected ${c} to be greater than ${u}`,`expected ${c} to be not greater than ${u}`,u,c,!1)}),o("toBeGreaterThanOrEqual",function(u){let c=this._obj;return Sn(c,"actual",["number","bigint"]),Sn(u,"expected",["number","bigint"]),this.assert(c>=u,`expected ${c} to be greater than or equal to ${u}`,`expected ${c} to be not greater than or equal to ${u}`,u,c,!1)}),o("toBeLessThan",function(u){let c=this._obj;return Sn(c,"actual",["number","bigint"]),Sn(u,"expected",["number","bigint"]),this.assert(c<u,`expected ${c} to be less than ${u}`,`expected ${c} to be not less than ${u}`,u,c,!1)}),o("toBeLessThanOrEqual",function(u){let c=this._obj;return Sn(c,"actual",["number","bigint"]),Sn(u,"expected",["number","bigint"]),this.assert(c<=u,`expected ${c} to be less than or equal to ${u}`,`expected ${c} to be not less than or equal to ${u}`,u,c,!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 c=typeof this._obj,d=u===c;return this.assert(d,"expected #{this} to be type of #{exp}","expected #{this} not to be type of #{exp}",u,c)}),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(E=>String(E).replace(/([.[\]])/g,"\\$1")).join("."));let c=this._obj,[d,f]=u,h=()=>Object.prototype.hasOwnProperty.call(c,d)?{value:c[d],exists:!0}:t.getPathInfo(c,d),{value:m,exists:g}=h(),v=g&&(u.length===1||ze(f,m,n)),b=u.length===1?"":` with value ${t.objDisplay(f)}`;return this.assert(v,`expected #{this} to have property "${d}"${b}`,`expected #{this} to not have property "${d}"${b}`,f,g?m:void 0)}),o("toBeCloseTo",function(u,c=2){let d=this._obj,f=!1,h=0,m=0;return u===Number.POSITIVE_INFINITY&&d===Number.POSITIVE_INFINITY||u===Number.NEGATIVE_INFINITY&&d===Number.NEGATIVE_INFINITY?f=!0:(h=10**-c/2,m=Math.abs(d-u),f=m<h),this.assert(f,`expected #{this} to be close to #{exp}, received difference is ${m}, but expected ${h}`,`expected #{this} to not be close to #{exp}, received difference is ${m}, but expected ${h}`,u,d,!1)});function i(u){if(!es(u._obj))throw new TypeError(`${t.inspect(u._obj)} is not a spy or a call to a spy!`)}function s(u){return i(u),u._obj}o(["toHaveBeenCalledTimes","toBeCalledTimes"],function(u){let c=s(this),d=c.getMockName(),f=c.mock.calls.length;return this.assert(f===u,`expected "${d}" to be called #{exp} times, but got ${f} times`,`expected "${d}" to not be called #{exp} times`,u,f,!1)}),o("toHaveBeenCalledOnce",function(){let u=s(this),c=u.getMockName(),d=u.mock.calls.length;return this.assert(d===1,`expected "${c}" to be called once, but got ${d} times`,`expected "${c}" to not be called once`,1,d,!1)}),o(["toHaveBeenCalled","toBeCalled"],function(){let u=s(this),c=u.getMockName(),d=u.mock.calls.length,f=d>0,h=t.flag(this,"negate"),m=t.getMessage(this,[f,`expected "${c}" to be called at least once`,`expected "${c}" to not be called at all, but actually been called ${d} times`,!0,f]);if(f&&h&&(m=Up(u,m)),f&&h||!f&&!h)throw new r(m)});function a(u,c){return u.length===c.length&&u.every((d,f)=>ze(d,c[f],[...n,Dr]))}o(["toHaveBeenCalledWith","toBeCalledWith"],function(...u){let c=s(this),d=c.getMockName(),f=c.mock.calls.some(g=>a(g,u)),h=t.flag(this,"negate"),m=t.getMessage(this,[f,`expected "${d}" to be called with arguments: #{exp}`,`expected "${d}" to not be called with arguments: #{exp}`,u]);if(f&&h||!f&&!h)throw new r(Up(c,m,u))}),o("toHaveBeenCalledExactlyOnceWith",function(...u){let c=s(this),d=c.getMockName(),f=c.mock.calls.length,h=c.mock.calls.some(v=>a(v,u))&&f===1,m=t.flag(this,"negate"),g=t.getMessage(this,[h,`expected "${d}" to be called once with arguments: #{exp}`,`expected "${d}" to not be called once with arguments: #{exp}`,u]);if(h&&m||!h&&!m)throw new r(Up(c,g,u))}),o(["toHaveBeenNthCalledWith","nthCalledWith"],function(u,...c){let d=s(this),f=d.getMockName(),h=d.mock.calls[u-1],m=d.mock.calls.length,g=u<=m;this.assert(h&&a(h,c),`expected ${Ra(u)} "${f}" call to have been called with #{exp}${g?"":`, but called only ${m} times`}`,`expected ${Ra(u)} "${f}" call to not have been called with #{exp}`,c,h,g)}),o(["toHaveBeenLastCalledWith","lastCalledWith"],function(...u){let c=s(this),d=c.getMockName(),f=c.mock.calls[c.mock.calls.length-1];this.assert(f&&a(f,u),`expected last "${d}" call to have been called with #{exp}`,`expected last "${d}" call to not have been called with #{exp}`,u,f)});function l(u,c,d){let f=u.mock.invocationCallOrder,h=c.mock.invocationCallOrder;return f.length===0?!d:h.length===0?!1:f[0]<h[0]}o(["toHaveBeenCalledBefore"],function(u,c=!0){let d=s(this);if(!es(u))throw new TypeError(`${t.inspect(u)} is not a spy or a call to a spy`);this.assert(l(d,u,c),`expected "${d.getMockName()}" to have been called before "${u.getMockName()}"`,`expected "${d.getMockName()}" to not have been called before "${u.getMockName()}"`,u,d)}),o(["toHaveBeenCalledAfter"],function(u,c=!0){let d=s(this);if(!es(u))throw new TypeError(`${t.inspect(u)} is not a spy or a call to a spy`);this.assert(l(u,d,c),`expected "${d.getMockName()}" to have been called after "${u.getMockName()}"`,`expected "${d.getMockName()}" to not have been called after "${u.getMockName()}"`,u,d)}),o(["toThrow","toThrowError"],function(u){if(typeof u=="string"||typeof u>"u"||u instanceof RegExp)return this.throws(u===""?/^$/:u);let c=this._obj,d=t.flag(this,"promise"),f=t.flag(this,"negate"),h=null;if(d==="rejects")h=c;else if(d==="resolves"&&typeof c!="function"){if(f)return;{let m=t.flag(this,"message")||"expected promise to throw an error, but it didn't",g={showDiff:!1};throw new r(m,g,t.flag(this,"ssfi"))}}else{let m=!1;try{c()}catch(g){m=!0,h=g}if(!m&&!f){let g=t.flag(this,"message")||"expected function to throw an error, but it didn't",v={showDiff:!1};throw new r(g,v,t.flag(this,"ssfi"))}}if(typeof u=="function"){let m=u.name||u.prototype.constructor.name;return this.assert(h&&h instanceof u,`expected error to be instance of ${m}`,`expected error not to be instance of ${m}`,u,h)}if(u instanceof Error){let m=ze(h,u,[...n,Dr]);return this.assert(m,"expected a thrown error to be #{exp}","expected a thrown error not to be #{exp}",u,h)}if(typeof u=="object"&&"asymmetricMatch"in u&&typeof u.asymmetricMatch=="function"){let m=u;return this.assert(h&&m.asymmetricMatch(h),"expected error to match asymmetric matcher","expected error not to match asymmetric matcher",m,h)}throw new Error(`"toThrow" expects string, RegExp, function, Error instance or asymmetric matcher, got "${typeof u}"`)}),[{name:"toHaveResolved",condition:u=>u.mock.settledResults.length>0&&u.mock.settledResults.some(({type:c})=>c==="fulfilled"),action:"resolved"},{name:["toHaveReturned","toReturn"],condition:u=>u.mock.calls.length>0&&u.mock.results.some(({type:c})=>c!=="throw"),action:"called"}].forEach(({name:u,condition:c,action:d})=>{o(u,function(){let f=s(this),h=f.getMockName(),m=c(f);this.assert(m,`expected "${h}" to be successfully ${d} at least once`,`expected "${h}" to not be successfully ${d}`,m,!m,!1)})}),[{name:"toHaveResolvedTimes",condition:(u,c)=>u.mock.settledResults.reduce((d,{type:f})=>f==="fulfilled"?++d:d,0)===c,action:"resolved"},{name:["toHaveReturnedTimes","toReturnTimes"],condition:(u,c)=>u.mock.results.reduce((d,{type:f})=>f==="throw"?d:++d,0)===c,action:"called"}].forEach(({name:u,condition:c,action:d})=>{o(u,function(f){let h=s(this),m=h.getMockName(),g=c(h,f);this.assert(g,`expected "${m}" to be successfully ${d} ${f} times`,`expected "${m}" to not be successfully ${d} ${f} times`,`expected resolved times: ${f}`,`received resolved times: ${g}`,!1)})}),[{name:"toHaveResolvedWith",condition:(u,c)=>u.mock.settledResults.some(({type:d,value:f})=>d==="fulfilled"&&ze(c,f)),action:"resolve"},{name:["toHaveReturnedWith","toReturnWith"],condition:(u,c)=>u.mock.results.some(({type:d,value:f})=>d==="return"&&ze(c,f)),action:"return"}].forEach(({name:u,condition:c,action:d})=>{o(u,function(f){let h=s(this),m=c(h,f),g=t.flag(this,"negate");if(m&&g||!m&&!g){let v=h.getMockName(),b=t.getMessage(this,[m,`expected "${v}" to ${d} with: #{exp} at least once`,`expected "${v}" to not ${d} with: #{exp}`,f]),E=d==="return"?h.mock.results:h.mock.settledResults;throw new r(X3(h,E,b,f))}})}),[{name:"toHaveLastResolvedWith",condition:(u,c)=>{let d=u.mock.settledResults[u.mock.settledResults.length-1];return d&&d.type==="fulfilled"&&ze(d.value,c)},action:"resolve"},{name:["toHaveLastReturnedWith","lastReturnedWith"],condition:(u,c)=>{let d=u.mock.results[u.mock.results.length-1];return d&&d.type==="return"&&ze(d.value,c)},action:"return"}].forEach(({name:u,condition:c,action:d})=>{o(u,function(f){let h=s(this),m=d==="return"?h.mock.results:h.mock.settledResults,g=m[m.length-1],v=h.getMockName();this.assert(c(h,f),`expected last "${v}" call to ${d} #{exp}`,`expected last "${v}" call to not ${d} #{exp}`,f,g?.value)})}),[{name:"toHaveNthResolvedWith",condition:(u,c,d)=>{let f=u.mock.settledResults[c-1];return f&&f.type==="fulfilled"&&ze(f.value,d)},action:"resolve"},{name:["toHaveNthReturnedWith","nthReturnedWith"],condition:(u,c,d)=>{let f=u.mock.results[c-1];return f&&f.type==="return"&&ze(f.value,d)},action:"return"}].forEach(({name:u,condition:c,action:d})=>{o(u,function(f,h){let m=s(this),g=m.getMockName(),v=(d==="return"?m.mock.results:m.mock.settledResults)[f-1],b=`${Ra(f)} call`;this.assert(c(m,f,h),`expected ${b} "${g}" call to ${d} #{exp}`,`expected ${b} "${g}" call to not ${d} #{exp}`,h,v?.value)})}),o("withContext",function(u){for(let c in u)t.flag(this,c,u[c]);return this}),t.addProperty(e.Assertion.prototype,"resolves",function(){let u=new Error("resolves");t.flag(this,"promise","resolves"),t.flag(this,"error",u);let c=t.flag(this,"vitest-test"),d=t.flag(this,"object");if(t.flag(this,"poll"))throw new SyntaxError("expect.poll() is not supported in combination with .resolves");if(typeof d?.then!="function")throw new TypeError(`You must provide a Promise to expect() when using .resolves, not '${typeof d}'.`);let f=new Proxy(this,{get:(h,m,g)=>{let v=Reflect.get(h,m,g);return typeof v!="function"?v instanceof e.Assertion?f:v:(...b)=>{t.flag(this,"_name",m);let E=d.then(S=>(t.flag(this,"object",S),v.call(this,...b)),S=>{let A=new r(`promise rejected "${t.inspect(S)}" instead of resolving`,{showDiff:!1});throw A.cause=S,A.stack=u.stack.replace(u.message,A.message),A});return PE(c,E,CE(t,this,!!b.length),u)}}});return f}),t.addProperty(e.Assertion.prototype,"rejects",function(){let u=new Error("rejects");t.flag(this,"promise","rejects"),t.flag(this,"error",u);let c=t.flag(this,"vitest-test"),d=t.flag(this,"object"),f=typeof d=="function"?d():d;if(t.flag(this,"poll"))throw new SyntaxError("expect.poll() is not supported in combination with .rejects");if(typeof f?.then!="function")throw new TypeError(`You must provide a Promise to expect() when using .rejects, not '${typeof f}'.`);let h=new Proxy(this,{get:(m,g,v)=>{let b=Reflect.get(m,g,v);return typeof b!="function"?b instanceof e.Assertion?h:b:(...E)=>{t.flag(this,"_name",g);let S=f.then(A=>{let C=new r(`promise resolved "${t.inspect(A)}" instead of rejecting`,{showDiff:!0,expected:new Error("rejected promise"),actual:A});throw C.stack=u.stack.replace(u.message,C.message),C},A=>(t.flag(this,"object",A),b.call(this,...E)));return PE(c,S,CE(t,this,!!E.length),u)}}});return h})};function Ra(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`}function Up(e,t,r){return e.mock.calls.length&&(t+=Or.gray(`
275
+
276
+ Received:
277
+
278
+ ${e.mock.calls.map((n,o)=>{let i=Or.bold(` ${Ra(o+1)} ${e.getMockName()} call:
279
+
280
+ `);return r?i+=Bs(r,n,{omitAnnotationLines:!0}):i+=Pr(n).split(`
281
+ `).map(s=>` ${s}`).join(`
282
+ `),i+=`
283
+ `,i}).join(`
284
+ `)}`)),t+=Or.gray(`
285
+
286
+ Number of calls: ${Or.bold(e.mock.calls.length)}
287
+ `),t}function X3(e,t,r,n){return t.length&&(r+=Or.gray(`
288
+
289
+ Received:
290
+
291
+ ${t.map((o,i)=>{let s=Or.bold(` ${Ra(i+1)} ${e.getMockName()} call return:
292
+
293
+ `);return n?s+=Bs(n,o.value,{omitAnnotationLines:!0}):s+=Pr(o).split(`
294
+ `).map(a=>` ${a}`).join(`
295
+ `),s+=`
296
+ `,s}).join(`
297
+ `)}`)),r+=Or.gray(`
298
+
299
+ Number of calls: ${Or.bold(e.mock.calls.length)}
300
+ `),r}function Q3(e,t){let r=e._obj,n=gn.flag(e,"negate"),o=gn.flag(e,"promise")||"",i={...lA(),diff:Bs,stringify:Pr,iterableEquality:Dr,subsetEquality:ql};return{state:{...lc(t),customTesters:Hy(),isNot:n,utils:i,promise:o,equals:ze,suppressedErrors:[],soft:gn.flag(e,"soft"),poll:gn.flag(e,"poll")},isNot:n,obj:r}}var NE=class extends Error{constructor(e,t,r){super(e),this.actual=t,this.expected=r}};function Z3(e,t,r){return(n,o)=>{Object.entries(r).forEach(([i,s])=>{function a(...d){let{state:f,isNot:h,obj:m}=Q3(this,t),g=s.call(f,m,...d);if(g&&typeof g=="object"&&typeof g.then=="function")return g.then(({pass:A,message:C,actual:T,expected:w})=>{if(A&&h||!A&&!h)throw new NE(C(),T,w)});let{pass:v,message:b,actual:E,expected:S}=g;if(v&&h||!v&&!h)throw new NE(b(),E,S)}let l=fA(o,i,a);o.addMethod(globalThis[Xa].matchers,i,l),o.addMethod(e.Assertion.prototype,i,l);class u extends eo{constructor(f=!1,...h){super(h,f)}asymmetricMatch(f){let{pass:h}=s.call(this.getMatcherContext(t),f,...this.sample);return this.inverse?!h:h}toString(){return`${this.inverse?"not.":""}${i}`}getExpectedType(){return"any"}toAsymmetricMatcher(){return`${this.toString()}<${this.sample.map(f=>Pr(f)).join(", ")}>`}}let c=(...d)=>new u(!1,...d);Object.defineProperty(t,i,{configurable:!0,enumerable:!0,value:c,writable:!0}),Object.defineProperty(t.not,i,{configurable:!0,enumerable:!0,value:(...d)=>new u(!0,...d),writable:!0}),Object.defineProperty(globalThis[ah],i,{configurable:!0,enumerable:!0,value:c,writable:!0})})}}var e6=(e,t)=>{t.addMethod(e.expect,"extend",(r,n)=>{Qi(Z3(e,r,n))})};function t6(){Qi(e6),Qi(Y3),Qi(z3);let e=((n,o)=>{let{assertionCalls:i}=lc(e);return Vp({assertionCalls:i+1,soft:!1},e),ci(n,o)});Object.assign(e,ci),e.getState=()=>lc(e),e.setState=n=>Vp(n,e),e.extend=n=>ci.extend(e,n),e.soft=(...n)=>{let o=e(...n);return e.setState({soft:!0}),o},e.extend(S3),e.unreachable=n=>{F.fail(`expected${n?` "${n}" `:" "}not to be reached`)};function t(n){let o=()=>new Error(`expected number of assertions to be ${n}, but got ${e.getState().assertionCalls}`);"captureStackTrace"in Error&&typeof Error.captureStackTrace=="function"&&Error.captureStackTrace(o(),t),e.setState({expectedAssertionsNumber:n,expectedAssertionsNumberErrorGen:o})}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 Vp({assertionCalls:0,isExpectingAssertions:!1,isExpectingAssertionsError:null,expectedAssertionsNumber:null,expectedAssertionsNumberErrorGen:null},e),gn.addMethod(e,"assertions",t),gn.addMethod(e,"hasAssertions",r),e.extend(cO),e}var hA=t6();Object.defineProperty(globalThis,Vy,{value:hA,writable:!0,configurable:!0});function r6(e,t,r){Object.defineProperty(e,t,r)}var ju=Symbol.for("tinyspy:spy"),n6=e=>{e.called=!1,e.callCount=0,e.calls=[],e.results=[],e.resolves=[],e.next=[]},o6=e=>(r6(e,ju,{value:{reset:()=>n6(e[ju])}}),e[ju]),i6=e=>e[ju]||o6(e),uh=new Set;function mA(e){return uh.add(e),()=>{uh.delete(e)}}var s6=(...e)=>{let t=_3(...e);return gA(t)};function yA(e){let t=e?yE(e):yE();return gA(t)}function gA(e){let t=IE(e),r=t.mockImplementation.bind(null);return t.mockImplementation=n=>IE(r(n)),t}function IE(e){let t=i6(e),r=t.impl;return t.willCall(function(...n){return uh.forEach(o=>o(e,n)),r?.apply(this,n)}),e}function bA(){jl.forEach(e=>e.mockClear())}function vA(){jl.forEach(e=>e.mockReset())}function EA(){jl.forEach(e=>e.mockRestore())}function a6(e,t={}){return e}var _A={};Er(_A,{buildQueries:()=>ro,configure:()=>EG,createEvent:()=>Lu,findAllByAltText:()=>RC,findAllByDisplayValue:()=>vC,findAllByLabelText:()=>QA,findAllByPlaceholderText:()=>aC,findAllByRole:()=>DC,findAllByTestId:()=>HC,findAllByText:()=>fC,findAllByTitle:()=>NC,findByAltText:()=>OC,findByDisplayValue:()=>EC,findByLabelText:()=>ZA,findByPlaceholderText:()=>lC,findByRole:()=>FC,findByTestId:()=>JC,findByText:()=>hC,findByTitle:()=>IC,fireEvent:()=>rl,getAllByAltText:()=>wC,getAllByDisplayValue:()=>gC,getAllByLabelText:()=>eC,getAllByPlaceholderText:()=>iC,getAllByRole:()=>LC,getAllByTestId:()=>VC,getAllByText:()=>dC,getAllByTitle:()=>PC,getByAltText:()=>SC,getByDisplayValue:()=>bC,getByLabelText:()=>tC,getByPlaceholderText:()=>sC,getByRole:()=>kC,getByTestId:()=>UC,getByText:()=>pC,getByTitle:()=>xC,getConfig:()=>He,getDefaultNormalizer:()=>Xy,getElementError:()=>Cd,getMultipleElementsFoundError:()=>Pd,getNodeText:()=>Ll,getQueriesForElement:()=>vh,getRoles:()=>JA,getSuggestedQuery:()=>cc,isInaccessible:()=>Ad,logDOM:()=>ch,logRoles:()=>RG,makeFindQuery:()=>gs,makeGetAllQuery:()=>eg,makeSingleQuery:()=>ys,prettyDOM:()=>el,prettyFormat:()=>Gy,queries:()=>dc,queryAllByAltText:()=>_C,queryAllByAttribute:()=>Ii,queryAllByDisplayValue:()=>mC,queryAllByLabelText:()=>rC,queryAllByPlaceholderText:()=>nC,queryAllByRole:()=>jC,queryAllByTestId:()=>$C,queryAllByText:()=>uC,queryAllByTitle:()=>AC,queryByAltText:()=>TC,queryByAttribute:()=>WA,queryByDisplayValue:()=>yC,queryByLabelText:()=>YA,queryByPlaceholderText:()=>oC,queryByRole:()=>qC,queryByTestId:()=>BC,queryByText:()=>cC,queryByTitle:()=>CC,queryHelpers:()=>FG,screen:()=>f8,waitFor:()=>Zy,waitForElementToBeRemoved:()=>s8,within:()=>vh,wrapAllByQueryWithSuggestion:()=>br,wrapSingleQueryWithSuggestion:()=>No});var Gy=_t(_D()),l6=Object.prototype.toString;function u6(e){return typeof e=="function"||l6.call(e)==="[object Function]"}function c6(e){var t=Number(e);return isNaN(t)?0:t===0||!isFinite(t)?t:(t>0?1:-1)*Math.floor(Math.abs(t))}var d6=Math.pow(2,53)-1;function p6(e){var t=c6(e);return Math.min(Math.max(t,0),d6)}function Xr(e,t){var r=Array,n=Object(e);if(e==null)throw new TypeError("Array.from requires an array-like object - not null or undefined");for(var o=p6(n.length),i=u6(r)?Object(new r(o)):new Array(o),s=0,a;s<o;)a=n[s],i[s]=a,s+=1;return i.length=o,i}function Qa(e){"@babel/helpers - typeof";return Qa=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},Qa(e)}function f6(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function h6(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,TA(n.key),n)}}function m6(e,t,r){return t&&h6(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function y6(e,t,r){return t=TA(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function TA(e){var t=g6(e,"string");return Qa(t)==="symbol"?t:String(t)}function g6(e,t){if(Qa(e)!=="object"||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(Qa(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var b6=(function(){function e(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];f6(this,e),y6(this,"items",void 0),this.items=t}return m6(e,[{key:"add",value:function(t){return this.has(t)===!1&&this.items.push(t),this}},{key:"clear",value:function(){this.items=[]}},{key:"delete",value:function(t){var r=this.items.length;return this.items=this.items.filter(function(n){return n!==t}),r!==this.items.length}},{key:"forEach",value:function(t){var r=this;this.items.forEach(function(n){t(n,n,r)})}},{key:"has",value:function(t){return this.items.indexOf(t)!==-1}},{key:"size",get:function(){return this.items.length}}]),e})(),v6=typeof Set>"u"?Set:b6;function or(e){var t;return(t=e.localName)!==null&&t!==void 0?t:e.tagName.toLowerCase()}var E6={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"},_6={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 T6(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=_6[t])!==null&&n!==void 0&&n.has(r))})}function wA(e,t){return T6(e,t)}function w6(e){var t=R6(e);if(t===null||t==="presentation"){var r=S6(e);if(t!=="presentation"||wA(e,r||""))return r}return t}function S6(e){var t=E6[or(e)];if(t!==void 0)return t;switch(or(e)){case"a":case"area":case"link":if(e.hasAttribute("href"))return"link";break;case"img":return e.getAttribute("alt")===""&&!wA(e,"img")?"presentation":"img";case"input":{var r=e,n=r.type;switch(n){case"button":case"image":case"reset":case"submit":return"button";case"checkbox":case"radio":return n;case"range":return"slider";case"email":case"tel":case"text":case"url":return e.hasAttribute("list")?"combobox":"textbox";case"search":return e.hasAttribute("list")?"combobox":"searchbox";case"number":return"spinbutton";default:return null}}case"select":return e.hasAttribute("multiple")||e.size>1?"listbox":"combobox"}return null}function R6(e){var t=e.getAttribute("role");if(t!==null){var r=t.trim().split(" ")[0];if(r.length>0)return r}return null}function pt(e){return e!==null&&e.nodeType===e.ELEMENT_NODE}function SA(e){return pt(e)&&or(e)==="caption"}function qu(e){return pt(e)&&or(e)==="input"}function O6(e){return pt(e)&&or(e)==="optgroup"}function A6(e){return pt(e)&&or(e)==="select"}function C6(e){return pt(e)&&or(e)==="table"}function P6(e){return pt(e)&&or(e)==="textarea"}function x6(e){var t=e.ownerDocument===null?e:e.ownerDocument,r=t.defaultView;if(r===null)throw new TypeError("no window available");return r}function N6(e){return pt(e)&&or(e)==="fieldset"}function I6(e){return pt(e)&&or(e)==="legend"}function M6(e){return pt(e)&&or(e)==="slot"}function j6(e){return pt(e)&&e.ownerSVGElement!==void 0}function q6(e){return pt(e)&&or(e)==="svg"}function L6(e){return j6(e)&&or(e)==="title"}function uc(e,t){if(pt(e)&&e.hasAttribute(t)){var r=e.getAttribute(t).split(" "),n=e.getRootNode?e.getRootNode():e.ownerDocument;return r.map(function(o){return n.getElementById(o)}).filter(function(o){return o!==null})}return[]}function Fn(e,t){return pt(e)?t.indexOf(w6(e))!==-1:!1}function k6(e){return e.trim().replace(/\s\s+/g," ")}function D6(e,t){if(!pt(e))return!1;if(e.hasAttribute("hidden")||e.getAttribute("aria-hidden")==="true")return!0;var r=t(e);return r.getPropertyValue("display")==="none"||r.getPropertyValue("visibility")==="hidden"}function F6(e){return Fn(e,["button","combobox","listbox","textbox"])||RA(e,"range")}function RA(e,t){if(!pt(e))return!1;if(t==="range")return Fn(e,["meter","progressbar","scrollbar","slider","spinbutton"]);throw new TypeError("No knowledge about abstract role '".concat(t,"'. This is likely a bug :("))}function ME(e,t){var r=Xr(e.querySelectorAll(t));return uc(e,"aria-owns").forEach(function(n){r.push.apply(r,Xr(n.querySelectorAll(t)))}),r}function $6(e){return A6(e)?e.selectedOptions||ME(e,"[selected]"):ME(e,'[aria-selected="true"]')}function B6(e){return Fn(e,["none","presentation"])}function V6(e){return SA(e)}function U6(e){return Fn(e,["button","cell","checkbox","columnheader","gridcell","heading","label","legend","link","menuitem","menuitemcheckbox","menuitemradio","option","radio","row","rowheader","switch","tab","tooltip","treeitem"])}function H6(e){return!1}function J6(e){return qu(e)||P6(e)?e.value:e.textContent||""}function jE(e){var t=e.getPropertyValue("content");return/^["'].*["']$/.test(t)?t.slice(1,-1):""}function OA(e){var t=or(e);return t==="button"||t==="input"&&e.getAttribute("type")!=="hidden"||t==="meter"||t==="output"||t==="progress"||t==="select"||t==="textarea"}function AA(e){if(OA(e))return e;var t=null;return e.childNodes.forEach(function(r){if(t===null&&pt(r)){var n=AA(r);n!==null&&(t=n)}}),t}function G6(e){if(e.control!==void 0)return e.control;var t=e.getAttribute("for");return t!==null?e.ownerDocument.getElementById(t):AA(e)}function W6(e){var t=e.labels;if(t===null)return t;if(t!==void 0)return Xr(t);if(!OA(e))return null;var r=e.ownerDocument;return Xr(r.querySelectorAll("label")).filter(function(n){return G6(n)===e})}function K6(e){var t=e.assignedNodes();return t.length===0?Xr(e.childNodes):t}function CA(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=new v6,n=x6(e),o=t.compute,i=o===void 0?"name":o,s=t.computedStyleSupportsPseudoElements,a=s===void 0?t.getComputedStyle!==void 0:s,l=t.getComputedStyle,u=l===void 0?n.getComputedStyle.bind(n):l,c=t.hidden,d=c===void 0?!1:c;function f(b,E){var S="";if(pt(b)&&a){var A=u(b,"::before"),C=jE(A);S="".concat(C," ").concat(S)}var T=M6(b)?K6(b):Xr(b.childNodes).concat(uc(b,"aria-owns"));if(T.forEach(function(R){var M=v(R,{isEmbeddedInLabel:E.isEmbeddedInLabel,isReferenced:!1,recursion:!0}),N=pt(R)?u(R).getPropertyValue("display"):"inline",q=N!=="inline"?" ":"";S+="".concat(q).concat(M).concat(q)}),pt(b)&&a){var w=u(b,"::after"),_=jE(w);S="".concat(S," ").concat(_)}return S.trim()}function h(b,E){var S=b.getAttributeNode(E);return S!==null&&!r.has(S)&&S.value.trim()!==""?(r.add(S),S.value):null}function m(b){return pt(b)?h(b,"title"):null}function g(b){if(!pt(b))return null;if(N6(b)){r.add(b);for(var E=Xr(b.childNodes),S=0;S<E.length;S+=1){var A=E[S];if(I6(A))return v(A,{isEmbeddedInLabel:!1,isReferenced:!1,recursion:!1})}}else if(C6(b)){r.add(b);for(var C=Xr(b.childNodes),T=0;T<C.length;T+=1){var w=C[T];if(SA(w))return v(w,{isEmbeddedInLabel:!1,isReferenced:!1,recursion:!1})}}else if(q6(b)){r.add(b);for(var _=Xr(b.childNodes),R=0;R<_.length;R+=1){var M=_[R];if(L6(M))return M.textContent}return null}else if(or(b)==="img"||or(b)==="area"){var N=h(b,"alt");if(N!==null)return N}else if(O6(b)){var q=h(b,"label");if(q!==null)return q}if(qu(b)&&(b.type==="button"||b.type==="submit"||b.type==="reset")){var x=h(b,"value");if(x!==null)return x;if(b.type==="submit")return"Submit";if(b.type==="reset")return"Reset"}var P=W6(b);if(P!==null&&P.length!==0)return r.add(b),Xr(P).map(function(G){return v(G,{isEmbeddedInLabel:!0,isReferenced:!1,recursion:!0})}).filter(function(G){return G.length>0}).join(" ");if(qu(b)&&b.type==="image"){var L=h(b,"alt");if(L!==null)return L;var $=h(b,"title");return $!==null?$:"Submit Query"}if(Fn(b,["button"])){var V=f(b,{isEmbeddedInLabel:!1});if(V!=="")return V}return null}function v(b,E){if(r.has(b))return"";if(!d&&D6(b,u)&&!E.isReferenced)return r.add(b),"";var S=pt(b)?b.getAttributeNode("aria-labelledby"):null,A=S!==null&&!r.has(S)?uc(b,"aria-labelledby"):[];if(i==="name"&&!E.isReferenced&&A.length>0)return r.add(S),A.map(function(N){return v(N,{isEmbeddedInLabel:E.isEmbeddedInLabel,isReferenced:!0,recursion:!1})}).join(" ");var C=E.recursion&&F6(b)&&i==="name";if(!C){var T=(pt(b)&&b.getAttribute("aria-label")||"").trim();if(T!==""&&i==="name")return r.add(b),T;if(!B6(b)){var w=g(b);if(w!==null)return r.add(b),w}}if(Fn(b,["menu"]))return r.add(b),"";if(C||E.isEmbeddedInLabel||E.isReferenced){if(Fn(b,["combobox","listbox"])){r.add(b);var _=$6(b);return _.length===0?qu(b)?b.value:"":Xr(_).map(function(N){return v(N,{isEmbeddedInLabel:E.isEmbeddedInLabel,isReferenced:!1,recursion:!0})}).join(" ")}if(RA(b,"range"))return r.add(b),b.hasAttribute("aria-valuetext")?b.getAttribute("aria-valuetext"):b.hasAttribute("aria-valuenow")?b.getAttribute("aria-valuenow"):b.getAttribute("value")||"";if(Fn(b,["textbox"]))return r.add(b),J6(b)}if(U6(b)||pt(b)&&E.isReferenced||V6(b)||H6()){var R=f(b,{isEmbeddedInLabel:E.isEmbeddedInLabel});if(R!=="")return r.add(b),R}if(b.nodeType===b.TEXT_NODE)return r.add(b),b.textContent||"";if(E.recursion)return r.add(b),f(b,{isEmbeddedInLabel:E.isEmbeddedInLabel});var M=m(b);return M!==null?(r.add(b),M):(r.add(b),"")}return k6(v(e,{isEmbeddedInLabel:!1,isReferenced:i==="description",recursion:!1}))}function Za(e){"@babel/helpers - typeof";return Za=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},Za(e)}function qE(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function LE(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?qE(Object(r),!0).forEach(function(n){z6(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):qE(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function z6(e,t,r){return t=Y6(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Y6(e){var t=X6(e,"string");return Za(t)==="symbol"?t:String(t)}function X6(e,t){if(Za(e)!=="object"||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(Za(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function PA(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=uc(e,"aria-describedby").map(function(o){return CA(o,LE(LE({},t),{},{compute:"description"}))}).join(" ");if(r===""){var n=e.getAttribute("title");r=n===null?"":n}return r}function Q6(e){return Fn(e,["caption","code","deletion","emphasis","generic","insertion","paragraph","presentation","strong","subscript","superscript"])}function Wy(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return Q6(e)?"":CA(e,t)}var kr=_t(hm()),Z6=_t(TD());function xA(e){return e.replace(/</g,"&lt;").replace(/>/g,"&gt;")}var eG=(e,t,r,n,o,i,s)=>{let a=n+r.indent,l=r.colors;return e.map(u=>{let c=t[u],d=s(c,r,a,o,i);return typeof c!="string"&&(d.indexOf(`
301
+ `)!==-1&&(d=r.spacingOuter+a+d+r.spacingOuter+n),d="{"+d+"}"),r.spacingInner+n+l.prop.open+u+l.prop.close+"="+l.value.open+d+l.value.close}).join("")},tG=3,rG=(e,t,r,n,o,i)=>e.map(s=>{let a=typeof s=="string"?NA(s,t):i(s,t,r,n,o);return a===""&&typeof s=="object"&&s!==null&&s.nodeType!==tG?"":t.spacingOuter+r+a}).join(""),NA=(e,t)=>{let r=t.colors.content;return r.open+xA(e)+r.close},nG=(e,t)=>{let r=t.colors.comment;return r.open+"<!--"+xA(e)+"-->"+r.close},oG=(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},iG=(e,t)=>{let r=t.colors.tag;return r.open+"<"+e+r.close+" …"+r.open+" />"+r.close},sG=1,IA=3,MA=8,jA=11,aG=/^((HTML|SVG)\w*)?Element$/,qA=e=>{let{tagName:t}=e;return!!(typeof t=="string"&&t.includes("-")||typeof e.hasAttribute=="function"&&e.hasAttribute("is"))},lG=e=>{let t=e.constructor.name,{nodeType:r}=e;return r===sG&&(aG.test(t)||qA(e))||r===IA&&t==="Text"||r===MA&&t==="Comment"||r===jA&&t==="DocumentFragment"};function uG(e){return e.nodeType===IA}function cG(e){return e.nodeType===MA}function Hp(e){return e.nodeType===jA}function dG(e){return{test:t=>{var r;return((t==null||(r=t.constructor)==null?void 0:r.name)||qA(t))&&lG(t)},serialize:(t,r,n,o,i,s)=>{if(uG(t))return NA(t.data,r);if(cG(t))return nG(t.data,r);let a=Hp(t)?"DocumentFragment":t.tagName.toLowerCase();return++o>r.maxDepth?iG(a,r):oG(a,eG(Hp(t)?[]:Array.from(t.attributes).map(l=>l.name).sort(),Hp(t)?{}:Array.from(t.attributes).reduce((l,u)=>(l[u.name]=u.value,l),{}),r,n+r.indent,o,i,s),rG(Array.prototype.slice.call(t.childNodes||t.children).filter(e),r,n+r.indent,o,i,s),r,n)}}}var LA=null,Ky=null,zy=null;try{let e=module&&module.require;Ky=e.call(module,"fs").readFileSync,zy=e.call(module,"@babel/code-frame").codeFrameColumns,LA=e.call(module,"picocolors")}catch{}function pG(e){let t=e.indexOf("(")+1,r=e.indexOf(")"),n=e.slice(t,r),o=n.split(":"),[i,s,a]=[o[0],parseInt(o[1],10),parseInt(o[2],10)],l="";try{l=Ky(i,"utf-8")}catch{return""}let u=zy(l,{start:{line:s,column:a}},{highlightCode:!0,linesBelow:0});return LA.dim(n)+`
302
+ `+u+`
303
+ `}function fG(){if(!Ky||!zy)return"";let e=new Error().stack.split(`
304
+ `).slice(1).find(t=>!t.includes("node_modules/"));return pG(e)}var kA=3;function Jp(){return typeof jest<"u"&&jest!==null?setTimeout._isMockFunction===!0||Object.prototype.hasOwnProperty.call(setTimeout,"clock"):!1}function Yy(){if(typeof window>"u")throw new Error("Could not find default container");return window.document}function DA(e){if(e.defaultView)return e.defaultView;if(e.ownerDocument&&e.ownerDocument.defaultView)return e.ownerDocument.defaultView;if(e.window)return e.window;throw e.ownerDocument&&e.ownerDocument.defaultView===null?new Error("It looks like the window object is not available for the provided node."):e.then instanceof Function?new Error("It looks like you passed a Promise object instead of a DOM node. Did you do something like `fireEvent.click(screen.findBy...` when you meant to use a `getBy` query `fireEvent.click(screen.getBy...`, or await the findBy query `fireEvent.click(await screen.findBy...`?"):Array.isArray(e)?new Error("It looks like you passed an Array instead of a DOM node. Did you do something like `fireEvent.click(screen.getAllBy...` when you meant to use a `getBy` query `fireEvent.click(screen.getBy...`?"):typeof e.debug=="function"&&typeof e.logTestingPlaygroundURL=="function"?new Error("It looks like you passed a `screen` object. Did you do something like `fireEvent.click(screen, ...` when you meant to use a query, e.g. `fireEvent.click(screen.getBy..., `?"):new Error("The given node is not an Element, the node type is: "+typeof e+".")}function to(e){if(!e||typeof e.querySelector!="function"||typeof e.querySelectorAll!="function")throw new TypeError("Expected container to be an Element, a Document or a DocumentFragment but got "+t(e)+".");function t(r){return typeof r=="object"?r===null?"null":r.constructor.name:typeof r}}var hG=()=>{if(typeof Vn>"u")return!1;let e;try{var t;let r=(t=Rf)==null?void 0:t.COLORS;r&&(e=JSON.parse(r))}catch{}return typeof e=="boolean"?e:Vn.versions!==void 0&&Vn.versions.node!==void 0},{DOMCollection:mG}=Gy.plugins,yG=1,gG=8;function bG(e){return e.nodeType!==gG&&(e.nodeType!==yG||!e.matches(He().defaultIgnore))}function el(e,t,r){if(r===void 0&&(r={}),e||(e=Yy().body),typeof t!="number"&&(t=typeof Vn<"u"&&typeof Rf<"u"&&Rf.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=bG,...i}=r,s=Gy.format(e,{plugins:[dG(o),mG],printFunctionName:!1,highlight:hG(),...i});return t!==void 0&&e.outerHTML.length>t?s.slice(0,t)+"...":s}var ch=function(){let e=fG();console.log(e?el(...arguments)+`
305
+
306
+ `+e:el(...arguments))},di={testIdAttribute:"data-testid",asyncUtilTimeout:1e3,asyncWrapper:e=>e(),unstable_advanceTimersWrapper:e=>e(),eventWrapper:e=>e(),defaultHidden:!1,defaultIgnore:"script, style",showOriginalStackTrace:!1,throwSuggestions:!1,getElementError(e,t){let r=el(t),n=new Error([e,"Ignored nodes: comments, "+di.defaultIgnore+`
307
+ `+r].filter(Boolean).join(`
308
+
309
+ `));return n.name="TestingLibraryElementError",n},_disableExpensiveErrorDiagnostics:!1,computedStyleSupportsPseudoElements:!1};function vG(e){try{return di._disableExpensiveErrorDiagnostics=!0,e()}finally{di._disableExpensiveErrorDiagnostics=!1}}function EG(e){typeof e=="function"&&(e=e(di)),di={...di,...e}}function He(){return di}var _G=["button","meter","output","progress","select","textarea","input"];function FA(e){return _G.includes(e.nodeName.toLowerCase())?"":e.nodeType===kA?e.textContent:Array.from(e.childNodes).map(t=>FA(t)).join("")}function dh(e){let t;return e.tagName.toLowerCase()==="label"?t=FA(e):t=e.value||e.textContent,t}function $A(e){if(e.labels!==void 0){var t;return(t=e.labels)!=null?t:[]}if(!TG(e))return[];let r=e.ownerDocument.querySelectorAll("label");return Array.from(r).filter(n=>n.control===e)}function TG(e){return/BUTTON|METER|OUTPUT|PROGRESS|SELECT|TEXTAREA/.test(e.tagName)||e.tagName==="INPUT"&&e.getAttribute("type")!=="hidden"}function BA(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 a=e.querySelector('[id="'+s+'"]');return a?{content:dh(a),formControl:null}:{content:"",formControl:null}}):Array.from($A(t)).map(s=>{let a=dh(s),l=Array.from(s.querySelectorAll("button, input, meter, output, progress, select, textarea")).filter(u=>u.matches(n))[0];return{content:a,formControl:l}})}function VA(e){if(e==null)throw new Error("It looks like "+e+" was passed instead of a matcher. Did you do something like getByText("+e+")?")}function Us(e,t,r,n){if(typeof e!="string")return!1;VA(r);let o=n(e);return typeof r=="string"||typeof r=="number"?o.toLowerCase().includes(r.toString().toLowerCase()):typeof r=="function"?r(o,t):UA(r,o)}function Hn(e,t,r,n){if(typeof e!="string")return!1;VA(r);let o=n(e);return r instanceof Function?r(o,t):r instanceof RegExp?UA(r,o):o===String(r)}function Xy(e){let{trim:t=!0,collapseWhitespace:r=!0}=e===void 0?{}:e;return n=>{let o=n;return o=t?o.trim():o,o=r?o.replace(/\s+/g," "):o,o}}function Ni(e){let{trim:t,collapseWhitespace:r,normalizer:n}=e;if(!n)return Xy({trim:t,collapseWhitespace:r});if(typeof t<"u"||typeof r<"u")throw new Error('trim and collapseWhitespace are not supported with a normalizer. If you want to use the default trim and collapseWhitespace logic in your normalizer, use "getDefaultNormalizer({trim, collapseWhitespace})" and compose that into your normalizer');return n}function UA(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}function Ll(e){return e.matches("input[type=submit], input[type=button], input[type=reset]")?e.value:Array.from(e.childNodes).filter(t=>t.nodeType===kA&&!!t.textContent).map(t=>t.textContent).join("")}var wG=SG(kr.elementRoles);function HA(e){return e.hidden===!0||e.getAttribute("aria-hidden")==="true"||e.ownerDocument.defaultView.getComputedStyle(e).display==="none"}function Ad(e,t){t===void 0&&(t={});let{isSubtreeInaccessible:r=HA}=t;if(e.ownerDocument.defaultView.getComputedStyle(e).visibility==="hidden")return!0;let n=e;for(;n;){if(r(n))return!0;n=n.parentElement}return!1}function Qy(e){for(let{match:t,roles:r}of wG)if(t(e))return[...r];return[]}function SG(e){function t(s){let{name:a,attributes:l}=s;return""+a+l.map(u=>{let{name:c,value:d,constraints:f=[]}=u,h=f.indexOf("undefined")!==-1,m=f.indexOf("set")!==-1;return typeof d<"u"?"["+c+'="'+d+'"]':h?":not(["+c+"])":m?"["+c+"]:not(["+c+'=""])':"["+c+"]"}).join("")}function r(s){let{attributes:a=[]}=s;return a.length}function n(s,a){let{specificity:l}=s,{specificity:u}=a;return u-l}function o(s){let{attributes:a=[]}=s,l=a.findIndex(c=>c.value&&c.name==="type"&&c.value==="text");l>=0&&(a=[...a.slice(0,l),...a.slice(l+1)]);let u=t({...s,attributes:a});return c=>l>=0&&c.type!=="text"?!1:c.matches(u)}let i=[];for(let[s,a]of e.entries())i=[...i,{match:o(s),roles:Array.from(a),specificity:r(s)}];return i.sort(n)}function JA(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 n(e).filter(o=>r===!1?Ad(o)===!1:!0).reduce((o,i)=>{let s=[];return i.hasAttribute("role")?s=i.getAttribute("role").split(" ").slice(0,1):s=Qy(i),s.reduce((a,l)=>Array.isArray(a[l])?{...a,[l]:[...a[l],i]}:{...a,[l]:[i]},o)},{})}function GA(e,t){let{hidden:r,includeDescription:n}=t,o=JA(e,{hidden:r});return Object.entries(o).filter(i=>{let[s]=i;return s!=="generic"}).map(i=>{let[s,a]=i,l="-".repeat(50),u=a.map(c=>{let d='Name "'+Wy(c,{computedStyleSupportsPseudoElements:He().computedStyleSupportsPseudoElements})+`":
310
+ `,f=el(c.cloneNode(!1));if(n){let h='Description "'+PA(c,{computedStyleSupportsPseudoElements:He().computedStyleSupportsPseudoElements})+`":
311
+ `;return""+d+h+f}return""+d+f}).join(`
312
+
313
+ `);return s+`:
314
+
315
+ `+u+`
316
+
317
+ `+l}).join(`
318
+ `)}var RG=function(e,t){let{hidden:r=!1}=t===void 0?{}:t;return console.log(GA(e,{hidden:r}))};function OG(e){return e.tagName==="OPTION"?e.selected:kl(e,"aria-selected")}function AG(e){return e.getAttribute("aria-busy")==="true"}function CG(e){if(!("indeterminate"in e&&e.indeterminate))return"checked"in e?e.checked:kl(e,"aria-checked")}function PG(e){return kl(e,"aria-pressed")}function xG(e){var t,r;return(t=(r=kl(e,"aria-current"))!=null?r:e.getAttribute("aria-current"))!=null?t:!1}function NG(e){return kl(e,"aria-expanded")}function kl(e,t){let r=e.getAttribute(t);if(r==="true")return!0;if(r==="false")return!1}function IG(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]}function MG(e){let t=e.getAttribute("aria-valuenow");return t===null?void 0:+t}function jG(e){let t=e.getAttribute("aria-valuemax");return t===null?void 0:+t}function qG(e){let t=e.getAttribute("aria-valuemin");return t===null?void 0:+t}function LG(e){let t=e.getAttribute("aria-valuetext");return t===null?void 0:t}var kE=Xy();function kG(e){return e.replace(/[.*+\-?^${}()|[\]\\]/g,"\\$&")}function DE(e){return new RegExp(kG(e.toLowerCase()),"i")}function lo(e,t,r,n){let{variant:o,name:i}=n,s="",a={},l=[["Role","TestId"].includes(e)?r:DE(r)];i&&(a.name=DE(i)),e==="Role"&&Ad(t)&&(a.hidden=!0,s=`Element is inaccessible. This means that the element and all its children are invisible to screen readers.
319
+ If you are using the aria-hidden prop, make sure this is the right choice for your case.
320
+ `),Object.keys(a).length>0&&l.push(a);let u=o+"By"+e;return{queryName:e,queryMethod:u,queryArgs:l,variant:o,warning:s,toString(){s&&console.warn(s);let[c,d]=l;return c=typeof c=="string"?"'"+c+"'":c,d=d?", { "+Object.entries(d).map(f=>{let[h,m]=f;return h+": "+m}).join(", ")+" }":"",u+"("+c+d+")"}}}function uo(e,t,r){return r&&(!t||t.toLowerCase()===e.toLowerCase())}function cc(e,t,r){var n,o;if(t===void 0&&(t="get"),e.matches(He().defaultIgnore))return;let i=(n=e.getAttribute("role"))!=null?n:(o=Qy(e))==null?void 0:o[0];if(i!=="generic"&&uo("Role",r,i))return lo("Role",e,i,{variant:t,name:Wy(e,{computedStyleSupportsPseudoElements:He().computedStyleSupportsPseudoElements})});let s=BA(document,e).map(f=>f.content).join(" ");if(uo("LabelText",r,s))return lo("LabelText",e,s,{variant:t});let a=e.getAttribute("placeholder");if(uo("PlaceholderText",r,a))return lo("PlaceholderText",e,a,{variant:t});let l=kE(Ll(e));if(uo("Text",r,l))return lo("Text",e,l,{variant:t});if(uo("DisplayValue",r,e.value))return lo("DisplayValue",e,kE(e.value),{variant:t});let u=e.getAttribute("alt");if(uo("AltText",r,u))return lo("AltText",e,u,{variant:t});let c=e.getAttribute("title");if(uo("Title",r,c))return lo("Title",e,c,{variant:t});let d=e.getAttribute(He().testIdAttribute);if(uo("TestId",r,d))return lo("TestId",e,d,{variant:t})}function ou(e,t){e.stack=t.stack.replace(t.message,e.message)}function DG(e,t){let{container:r=Yy(),timeout:n=He().asyncUtilTimeout,showOriginalStackTrace:o=He().showOriginalStackTrace,stackTraceError:i,interval:s=50,onTimeout:a=u=>(Object.defineProperty(u,"message",{value:He().getElementError(u.message,r).message}),u),mutationObserverOptions:l={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,c)=>{let d,f,h,m=!1,g="idle",v=setTimeout(C,n),b=Jp();if(b){let{unstable_advanceTimersWrapper:T}=He();for(A();!m;){if(!Jp()){let w=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||ou(w,i),c(w);return}if(await T(async()=>{jest.advanceTimersByTime(s)}),m)break;A()}}else{try{to(r)}catch(w){c(w);return}f=setInterval(S,s);let{MutationObserver:T}=DA(r);h=new T(S),h.observe(r,l),A()}function E(T,w){m=!0,clearTimeout(v),b||(clearInterval(f),h.disconnect()),T?c(T):u(w)}function S(){if(Jp()){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||ou(T,i),c(T)}else return A()}function A(){if(g!=="pending")try{let T=vG(e);typeof T?.then=="function"?(g="pending",T.then(w=>{g="resolved",E(null,w)},w=>{g="rejected",d=w})):E(null,T)}catch(T){d=T}}function C(){let T;d?(T=d,!o&&T.name==="TestingLibraryElementError"&&ou(T,i)):(T=new Error("Timed out in waitFor."),o||ou(T,i)),E(a(T),null)}})}function Zy(e,t){let r=new Error("STACK_TRACE_MESSAGE");return He().asyncWrapper(()=>DG(e,{stackTraceError:r,...t}))}function Cd(e,t){return He().getElementError(e,t)}function Pd(e,t){return Cd(e+"\n\n(If this is intentional, then use the `*AllBy*` variant of the query (like `queryAllByText`, `getAllByText`, or `findAllByText`)).",t)}function Ii(e,t,r,n){let{exact:o=!0,collapseWhitespace:i,trim:s,normalizer:a}=n===void 0?{}:n,l=o?Hn:Us,u=Ni({collapseWhitespace:i,trim:s,normalizer:a});return Array.from(t.querySelectorAll("["+e+"]")).filter(c=>l(c.getAttribute(e),c,r,u))}function WA(e,t,r,n){let o=Ii(e,t,r,n);if(o.length>1)throw Pd("Found multiple elements by ["+e+"="+r+"]",t);return o[0]||null}function ys(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 a=s.map(l=>Cd(null,l).message).join(`
321
+
322
+ `);throw Pd(t(r,...o)+`
323
+
324
+ Here are the matching elements:
325
+
326
+ `+a,r)}return s[0]||null}}function KA(e,t){return He().getElementError(`A better query is available, try this:
327
+ `+e.toString()+`
328
+ `,t)}function eg(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 He().getElementError(t(r,...o),r);return s}}function gs(e){return(t,r,n,o)=>Zy(()=>e(t,r,n),{container:t,...o})}var No=(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 a=e(n,...i),[{suggest:l=He().throwSuggestions}={}]=i.slice(-1);if(a&&l){let u=cc(a,r);if(u&&!t.endsWith(u.queryName))throw KA(u.toString(),n)}return a},br=(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 a=e(n,...i),[{suggest:l=He().throwSuggestions}={}]=i.slice(-1);if(a.length&&l){let u=[...new Set(a.map(c=>{var d;return(d=cc(c,r))==null?void 0:d.toString()}))];if(u.length===1&&!t.endsWith(cc(a[0],r).queryName))throw KA(u[0],n)}return a};function ro(e,t,r){let n=No(ys(e,t),e.name,"query"),o=eg(e,r),i=ys(o,t),s=No(i,e.name,"get"),a=br(o,e.name.replace("query","get"),"getAll"),l=gs(br(o,e.name,"findAll")),u=gs(No(i,e.name,"find"));return[n,a,s,l,u]}var FG=Object.freeze({__proto__:null,getElementError:Cd,wrapAllByQueryWithSuggestion:br,wrapSingleQueryWithSuggestion:No,getMultipleElementsFoundError:Pd,queryAllByAttribute:Ii,queryByAttribute:WA,makeSingleQuery:ys,makeGetAllQuery:eg,makeFindQuery:gs,buildQueries:ro});function $G(e){return Array.from(e.querySelectorAll("label,input")).map(t=>({node:t,textToMatch:dh(t)})).filter(t=>{let{textToMatch:r}=t;return r!==null})}var BG=function(e,t,r){let{exact:n=!0,trim:o,collapseWhitespace:i,normalizer:s}=r===void 0?{}:r,a=n?Hn:Us,l=Ni({collapseWhitespace:i,trim:o,normalizer:s});return $G(e).filter(u=>{let{node:c,textToMatch:d}=u;return a(d,c,t,l)}).map(u=>{let{node:c}=u;return c})},tl=function(e,t,r){let{selector:n="*",exact:o=!0,collapseWhitespace:i,trim:s,normalizer:a}=r===void 0?{}:r;to(e);let l=o?Hn:Us,u=Ni({collapseWhitespace:i,trim:s,normalizer:a}),c=Array.from(e.querySelectorAll("*")).filter(d=>$A(d).length||d.hasAttribute("aria-labelledby")).reduce((d,f)=>{let h=BA(e,f,{selector:n});h.filter(g=>!!g.formControl).forEach(g=>{l(g.content,g.formControl,t,u)&&g.formControl&&d.push(g.formControl)});let m=h.filter(g=>!!g.content).map(g=>g.content);return l(m.join(" "),f,t,u)&&d.push(f),m.length>1&&m.forEach((g,v)=>{l(g,f,t,u)&&d.push(f);let b=[...m];b.splice(v,1),b.length>1&&l(b.join(" "),f,t,u)&&d.push(f)}),d},[]).concat(Ii("aria-label",e,t,{exact:o,normalizer:u}));return Array.from(new Set(c)).filter(d=>d.matches(n))},Ti=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=tl(e,t,...n);if(!i.length){let s=BG(e,t,...n);if(s.length){let a=s.map(l=>VG(e,l)).filter(l=>!!l);throw a.length?He().getElementError(a.map(l=>"Found a label with the text of: "+t+", however the element associated with this label (<"+l+" />) is non-labellable [https://html.spec.whatwg.org/multipage/forms.html#category-label]. If you really need to label a <"+l+" />, you can use aria-label or aria-labelledby instead.").join(`
329
+
330
+ `),e):He().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 He().getElementError("Unable to find a label with the text of: "+t,e)}return i};function VG(e,t){let r=t.getAttribute("for");if(!r)return null;let n=e.querySelector('[id="'+r+'"]');return n?n.tagName.toLowerCase():null}var zA=(e,t)=>"Found multiple elements with the text of: "+t,YA=No(ys(tl,zA),tl.name,"query"),XA=ys(Ti,zA),QA=gs(br(Ti,Ti.name,"findAll")),ZA=gs(No(XA,Ti.name,"find")),eC=br(Ti,Ti.name,"getAll"),tC=No(XA,Ti.name,"get"),rC=br(tl,tl.name,"queryAll"),ph=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return to(t[0]),Ii("placeholder",...t)},UG=(e,t)=>"Found multiple elements with the placeholder text of: "+t,HG=(e,t)=>"Unable to find an element with the placeholder text of: "+t,nC=br(ph,ph.name,"queryAll"),[oC,iC,sC,aC,lC]=ro(ph,UG,HG),fh=function(e,t,r){let{selector:n="*",exact:o=!0,collapseWhitespace:i,trim:s,ignore:a=He().defaultIgnore,normalizer:l}=r===void 0?{}:r;to(e);let u=o?Hn:Us,c=Ni({collapseWhitespace:i,trim:s,normalizer:l}),d=[];return typeof e.matches=="function"&&e.matches(n)&&(d=[e]),[...d,...Array.from(e.querySelectorAll(n))].filter(f=>!a||!f.matches(a)).filter(f=>u(Ll(f),f,t,c))},JG=(e,t)=>"Found multiple elements with the text: "+t,GG=function(e,t,r){r===void 0&&(r={});let{collapseWhitespace:n,trim:o,normalizer:i,selector:s}=r,a=Ni({collapseWhitespace:n,trim:o,normalizer:i})(t.toString()),l=a!==t.toString(),u=(s??"*")!=="*";return"Unable to find an element with the text: "+(l?a+" (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."},uC=br(fh,fh.name,"queryAll"),[cC,dC,pC,fC,hC]=ro(fh,JG,GG),hh=function(e,t,r){let{exact:n=!0,collapseWhitespace:o,trim:i,normalizer:s}=r===void 0?{}:r;to(e);let a=n?Hn:Us,l=Ni({collapseWhitespace:o,trim:i,normalizer:s});return Array.from(e.querySelectorAll("input,textarea,select")).filter(u=>u.tagName==="SELECT"?Array.from(u.options).filter(c=>c.selected).some(c=>a(Ll(c),c,t,l)):a(u.value,u,t,l))},WG=(e,t)=>"Found multiple elements with the display value: "+t+".",KG=(e,t)=>"Unable to find an element with the display value: "+t+".",mC=br(hh,hh.name,"queryAll"),[yC,gC,bC,vC,EC]=ro(hh,WG,KG),zG=/^(img|input|area|.+-.+)$/i,mh=function(e,t,r){return r===void 0&&(r={}),to(e),Ii("alt",e,t,r).filter(n=>zG.test(n.tagName))},YG=(e,t)=>"Found multiple elements with the alt text: "+t,XG=(e,t)=>"Unable to find an element with the alt text: "+t,_C=br(mh,mh.name,"queryAll"),[TC,wC,SC,RC,OC]=ro(mh,YG,XG),QG=e=>{var t;return e.tagName.toLowerCase()==="title"&&((t=e.parentElement)==null?void 0:t.tagName.toLowerCase())==="svg"},yh=function(e,t,r){let{exact:n=!0,collapseWhitespace:o,trim:i,normalizer:s}=r===void 0?{}:r;to(e);let a=n?Hn:Us,l=Ni({collapseWhitespace:o,trim:i,normalizer:s});return Array.from(e.querySelectorAll("[title], svg > title")).filter(u=>a(u.getAttribute("title"),u,t,l)||QG(u)&&a(Ll(u),u,t,l))},ZG=(e,t)=>"Found multiple elements with the title: "+t+".",e8=(e,t)=>"Unable to find an element with the title: "+t+".",AC=br(yh,yh.name,"queryAll"),[CC,PC,xC,NC,IC]=ro(yh,ZG,e8),gh=function(e,t,r){let{hidden:n=He().defaultHidden,name:o,description:i,queryFallbacks:s=!1,selected:a,busy:l,checked:u,pressed:c,current:d,level:f,expanded:h,value:{now:m,min:g,max:v,text:b}={}}=r===void 0?{}:r;if(to(e),a!==void 0){var E;if(((E=kr.roles.get(t))==null?void 0:E.props["aria-selected"])===void 0)throw new Error('"aria-selected" is not supported on role "'+t+'".')}if(l!==void 0){var S;if(((S=kr.roles.get(t))==null?void 0:S.props["aria-busy"])===void 0)throw new Error('"aria-busy" is not supported on role "'+t+'".')}if(u!==void 0){var A;if(((A=kr.roles.get(t))==null?void 0:A.props["aria-checked"])===void 0)throw new Error('"aria-checked" is not supported on role "'+t+'".')}if(c!==void 0){var C;if(((C=kr.roles.get(t))==null?void 0:C.props["aria-pressed"])===void 0)throw new Error('"aria-pressed" is not supported on role "'+t+'".')}if(d!==void 0){var T;if(((T=kr.roles.get(t))==null?void 0:T.props["aria-current"])===void 0)throw new Error('"aria-current" is not supported on role "'+t+'".')}if(f!==void 0&&t!=="heading")throw new Error('Role "'+t+'" cannot have "level" property.');if(m!==void 0){var w;if(((w=kr.roles.get(t))==null?void 0:w.props["aria-valuenow"])===void 0)throw new Error('"aria-valuenow" is not supported on role "'+t+'".')}if(v!==void 0){var _;if(((_=kr.roles.get(t))==null?void 0:_.props["aria-valuemax"])===void 0)throw new Error('"aria-valuemax" is not supported on role "'+t+'".')}if(g!==void 0){var R;if(((R=kr.roles.get(t))==null?void 0:R.props["aria-valuemin"])===void 0)throw new Error('"aria-valuemin" is not supported on role "'+t+'".')}if(b!==void 0){var M;if(((M=kr.roles.get(t))==null?void 0:M.props["aria-valuetext"])===void 0)throw new Error('"aria-valuetext" is not supported on role "'+t+'".')}if(h!==void 0){var N;if(((N=kr.roles.get(t))==null?void 0:N.props["aria-expanded"])===void 0)throw new Error('"aria-expanded" is not supported on role "'+t+'".')}let q=new WeakMap;function x(P){return q.has(P)||q.set(P,HA(P)),q.get(P)}return Array.from(e.querySelectorAll(t8(t))).filter(P=>{if(P.hasAttribute("role")){let L=P.getAttribute("role");if(s)return L.split(" ").filter(Boolean).some(V=>V===t);let[$]=L.split(" ");return $===t}return Qy(P).some(L=>L===t)}).filter(P=>{if(a!==void 0)return a===OG(P);if(l!==void 0)return l===AG(P);if(u!==void 0)return u===CG(P);if(c!==void 0)return c===PG(P);if(d!==void 0)return d===xG(P);if(h!==void 0)return h===NG(P);if(f!==void 0)return f===IG(P);if(m!==void 0||v!==void 0||g!==void 0||b!==void 0){let $=!0;if(m!==void 0&&$&&($=m===MG(P)),v!==void 0&&$&&($=v===jG(P)),g!==void 0&&$&&($=g===qG(P)),b!==void 0){var L;$&&($=Hn((L=LG(P))!=null?L:null,P,b,V=>V))}return $}return!0}).filter(P=>o===void 0?!0:Hn(Wy(P,{computedStyleSupportsPseudoElements:He().computedStyleSupportsPseudoElements}),P,o,L=>L)).filter(P=>i===void 0?!0:Hn(PA(P,{computedStyleSupportsPseudoElements:He().computedStyleSupportsPseudoElements}),P,i,L=>L)).filter(P=>n===!1?Ad(P,{isSubtreeInaccessible:x})===!1:!0)};function t8(e){var t;let r='*[role~="'+e+'"]',n=(t=kr.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(",")}var MC=e=>{let t="";return e===void 0?t="":typeof e=="string"?t=' and name "'+e+'"':t=" and name `"+e+"`",t},r8=function(e,t,r){let{name:n}=r===void 0?{}:r;return'Found multiple elements with the role "'+t+'"'+MC(n)},n8=function(e,t,r){let{hidden:n=He().defaultHidden,name:o,description:i}=r===void 0?{}:r;if(He()._disableExpensiveErrorDiagnostics)return'Unable to find role="'+t+'"'+MC(o);let s="";Array.from(e.children).forEach(c=>{s+=GA(c,{hidden:n,includeDescription:i!==void 0})});let a;s.length===0?n===!1?a="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":a="There are no available roles.":a=(`
331
+ Here are the `+(n===!1?"accessible":"available")+` roles:
332
+
333
+ `+s.replace(/\n/g,`
334
+ `).replace(/\n\s\s\n/g,`
335
+
336
+ `)+`
337
+ `).trim();let l="";o===void 0?l="":typeof o=="string"?l=' and name "'+o+'"':l=" and name `"+o+"`";let u="";return i===void 0?u="":typeof i=="string"?u=' and description "'+i+'"':u=" and description `"+i+"`",(`
338
+ Unable to find an `+(n===!1?"accessible ":"")+'element with the role "'+t+'"'+l+u+`
339
+
340
+ `+a).trim()},jC=br(gh,gh.name,"queryAll"),[qC,LC,kC,DC,FC]=ro(gh,r8,n8),tg=()=>He().testIdAttribute,bh=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return to(t[0]),Ii(tg(),...t)},o8=(e,t)=>"Found multiple elements by: ["+tg()+'="'+t+'"]',i8=(e,t)=>"Unable to find an element by: ["+tg()+'="'+t+'"]',$C=br(bh,bh.name,"queryAll"),[BC,VC,UC,HC,JC]=ro(bh,o8,i8),dc=Object.freeze({__proto__:null,queryAllByLabelText:rC,queryByLabelText:YA,getAllByLabelText:eC,getByLabelText:tC,findAllByLabelText:QA,findByLabelText:ZA,queryByPlaceholderText:oC,queryAllByPlaceholderText:nC,getByPlaceholderText:sC,getAllByPlaceholderText:iC,findAllByPlaceholderText:aC,findByPlaceholderText:lC,queryByText:cC,queryAllByText:uC,getByText:pC,getAllByText:dC,findAllByText:fC,findByText:hC,queryByDisplayValue:yC,queryAllByDisplayValue:mC,getByDisplayValue:bC,getAllByDisplayValue:gC,findAllByDisplayValue:vC,findByDisplayValue:EC,queryByAltText:TC,queryAllByAltText:_C,getByAltText:SC,getAllByAltText:wC,findAllByAltText:RC,findByAltText:OC,queryByTitle:CC,queryAllByTitle:AC,getByTitle:xC,getAllByTitle:PC,findAllByTitle:NC,findByTitle:IC,queryByRole:qC,queryAllByRole:jC,getAllByRole:LC,getByRole:kC,findAllByRole:DC,findByRole:FC,queryByTestId:BC,queryAllByTestId:$C,getByTestId:UC,getAllByTestId:VC,findAllByTestId:HC,findByTestId:JC});function vh(e,t,r){return t===void 0&&(t=dc),r===void 0&&(r={}),Object.keys(t).reduce((n,o)=>{let i=t[o];return n[o]=i.bind(null,e),n},r)}var GC=e=>!e||Array.isArray(e)&&!e.length;function FE(e){if(GC(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.")}async function s8(e,t){let r=new Error("Timed out in waitForElementToBeRemoved.");if(typeof e!="function"){FE(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=()=>n.map(o=>o()).filter(Boolean)}return FE(e()),Zy(()=>{let n;try{n=e()}catch(o){if(o.name==="TestingLibraryElementError")return;throw o}if(!GC(n))throw r},t)}var $E={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}}},BE={doubleClick:"dblClick"};function rl(e,t){return He().eventWrapper(()=>{if(!t)throw new Error("Unable to fire an event - please provide an event object.");if(!e)throw new Error('Unable to fire a "'+t.type+'" event - please provide a DOM element.');return e.dispatchEvent(t)})}function Lu(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:a,files:l,...u}={}}=s;a!==void 0&&a8(t,a),l!==void 0&&Object.defineProperty(t,"files",{configurable:!0,enumerable:!0,writable:!0,value:l}),Object.assign(t,u);let c=DA(t),d=c[o]||c.Event,f;if(typeof d=="function")f=new d(e,s);else{f=c.document.createEvent(o);let{bubbles:h,cancelable:m,detail:g,...v}=s;f.initEvent(e,h,m,g),Object.keys(v).forEach(b=>{f[b]=v[b]})}return["dataTransfer","clipboardData"].forEach(h=>{let m=s[h];typeof m=="object"&&(typeof c.DataTransfer=="function"?Object.defineProperty(f,h,{value:Object.getOwnPropertyNames(m).reduce((g,v)=>(Object.defineProperty(g,v,{value:m[v]}),g),new c.DataTransfer)}):Object.defineProperty(f,h,{value:m}))}),f}Object.keys($E).forEach(e=>{let{EventType:t,defaultInit:r}=$E[e],n=e.toLowerCase();Lu[e]=(o,i)=>Lu(n,o,i,{EventType:t,defaultInit:r}),rl[e]=(o,i)=>rl(o,Lu[e](o,i))});function a8(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")}Object.keys(BE).forEach(e=>{let t=BE[e];rl[e]=function(){return rl[t](...arguments)}});function l8(e){return e.replace(/[ \t]*[\n][ \t]*/g,`
341
+ `)}function u8(e){return Z6.default.compressToEncodedURIComponent(l8(e))}function c8(e){return"https://testing-playground.com/#markup="+u8(e)}var d8=(e,t,r)=>Array.isArray(e)?e.forEach(n=>ch(n,t,r)):ch(e,t,r),p8=function(e){if(e===void 0&&(e=Yy().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=c8(e.innerHTML);return console.log(`Open this URL in your browser
342
+
343
+ `+t),t},VE={debug:d8,logTestingPlaygroundURL:p8},f8=typeof document<"u"&&document.body?vh(document.body,dc,VE):Object.keys(dc).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),VE);function Le(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}function Jr(e){var t;if(h8(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 ${m8(e)}`)}function h8(e){return e.nodeType===9}function m8(e){return typeof e=="function"?`function ${e.name}`:e===null?"null":String(e)}function WC(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)})}function rg(e,t){let r={...t,length:t.length,item:n=>r[n],[Symbol.iterator]:function*(){for(let n=0;n<r.length;n++)yield r[n]}};return r.constructor=e.FileList,e.FileList&&Object.setPrototypeOf(r,e.FileList.prototype),Object.freeze(r),r}function Oo(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var KC=class{getAsFile(){return this.file}getAsString(e){typeof this.data=="string"&&e(this.data)}webkitGetAsEntry(){throw new Error("not implemented")}constructor(e,t){Oo(this,"kind",void 0),Oo(this,"type",void 0),Oo(this,"file",null),Oo(this,"data",void 0),typeof e=="string"?(this.kind="string",this.type=String(t),this.data=e):(this.kind="file",this.type=e.type,this.file=e)}},y8=class extends Array{add(...e){let t=new KC(e[0],e[1]);return this.push(t),t}clear(){this.splice(0,this.length)}remove(e){this.splice(e,1)}};function iu(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}function g8(e){return new class{getData(t){var r;let n=(r=this.items.find(iu(t,!0)))!==null&&r!==void 0?r:this.items.find(iu(t,!1)),o="";return n?.getAsString(i=>{o=i}),o}setData(t,r){let n=this.items.findIndex(iu(t,!0)),o=new KC(r,t);n>=0?this.items.splice(n,1,o):this.items.push(o)}clearData(t){if(t){let r=this.items.findIndex(iu(t,!0));r>=0&&this.items.remove(r)}else this.items.clear()}get types(){let t=[];return this.files.length&&t.push("Files"),this.items.forEach(r=>t.push(r.type)),Object.freeze(t),t}setDragImage(){}constructor(){Oo(this,"dropEffect","none"),Oo(this,"effectAllowed","uninitialized"),Oo(this,"items",new y8),Oo(this,"files",rg(e,[]))}}}function ng(e,t=[]){let r=typeof e.DataTransfer>"u"?g8(e):new e.DataTransfer;return Object.defineProperty(r,"files",{get:()=>rg(e,t)}),r}async function b8(e,t){return t.kind==="file"?t.getAsFile():new e.Blob([await new Promise(r=>t.getAsString(r))],{type:t.type})}function zC(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function YC(e,...t){let r=Object.fromEntries(t.map(n=>[typeof n=="string"?"text/plain":n.type,Promise.resolve(n)]));return typeof e.ClipboardItem<"u"?new e.ClipboardItem(r):new class{get types(){return Array.from(Object.keys(this.data))}async getType(n){let o=await this.data[n];if(!o)throw new Error(`${n} is not one of the available MIME types on this item.`);return o instanceof e.Blob?o:new e.Blob([o],{type:n})}constructor(n){zC(this,"data",void 0),this.data=n}}(r)}var bs=Symbol("Manage ClipboardSub");function UE(e,t){return Object.assign(new class extends e.EventTarget{async read(){return Array.from(this.items)}async readText(){let r="";for(let n of this.items){let o=n.types.includes("text/plain")?"text/plain":n.types.find(i=>i.startsWith("text/"));o&&(r+=await n.getType(o).then(i=>WC(i,e.FileReader)))}return r}async write(r){this.items=r}async writeText(r){this.items=[YC(e,r)]}constructor(...r){super(...r),zC(this,"items",[])}},{[bs]:t})}function og(e){return!!e?.[bs]}function v8(e){if(og(e.navigator.clipboard))return e.navigator.clipboard[bs];let t=Object.getOwnPropertyDescriptor(e.navigator,"clipboard"),r,n={resetClipboardStub:()=>{r=UE(e,n)},detachClipboardStub:()=>{t?Object.defineProperty(e.navigator,"clipboard",t):Object.defineProperty(e.navigator,"clipboard",{value:void 0,configurable:!0})}};return r=UE(e,n),Object.defineProperty(e.navigator,"clipboard",{get:()=>r,configurable:!0}),r[bs]}function E8(e){og(e.navigator.clipboard)&&e.navigator.clipboard[bs].resetClipboardStub()}function _8(e){og(e.navigator.clipboard)&&e.navigator.clipboard[bs].detachClipboardStub()}async function T8(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=ng(t);for(let i of n)for(let s of i.types)o.setData(s,await i.getType(s).then(a=>WC(a,t.FileReader)));return o}async function XC(e,t){let r=Jr(e),n=r.navigator.clipboard,o=[];for(let i=0;i<t.items.length;i++){let s=t.items[i],a=await b8(r,s);o.push(YC(r,a))}if(!(n&&await n.write(o).then(()=>!0,()=>!1)))throw new Error("The Clipboard API is unavailable.")}var pc=globalThis;typeof pc.afterEach=="function"&&pc.afterEach(()=>{typeof globalThis.window<"u"&&E8(globalThis.window)});typeof pc.afterAll=="function"&&pc.afterAll(()=>{typeof globalThis.window<"u"&&_8(globalThis.window)});var QC=["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 ig(e){return e.matches(QC)}function w8(e){return new e.constructor(e.type,e)}function zn(e){for(let r=e;r;r=r.parentElement)if(Le(r,["button","input","select","textarea","optgroup","option"])){if(r.hasAttribute("disabled"))return!0}else if(Le(r,"fieldset")){var t;if(r.hasAttribute("disabled")&&!(!((t=r.querySelector(":scope > legend"))===null||t===void 0)&&t.contains(e)))return!0}else if(r.tagName.includes("-")&&r.constructor.formAssociated&&r.hasAttribute("disabled"))return!0;return!1}function Dl(e){let t=e.activeElement;return t?.shadowRoot?Dl(t.shadowRoot):zn(t)?e.ownerDocument?e.ownerDocument.body:e.body:t}function Gp(e){var t;return(t=Dl(e))!==null&&t!==void 0?t:e.body}function S8(e,t){let r=e;do{if(t(r))return r;r=r.parentElement}while(r&&r!==e.ownerDocument.body)}function wi(e){return e.hasAttribute("contenteditable")&&(e.getAttribute("contenteditable")=="true"||e.getAttribute("contenteditable")=="")}function nl(e){let t=R8(e);return t&&(t.closest('[contenteditable=""]')||t.closest('[contenteditable="true"]'))}function R8(e){return e.nodeType===1?e:e.parentElement}var ZC=(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})(ZC||{});function eP(e){return Le(e,"button")||Le(e,"input")&&e.type in ZC}function vs(e){return rP(e)&&!e.readOnly||wi(e)}var tP=(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})(tP||{});function rP(e){return Le(e,"textarea")||Le(e,"input")&&e.type in tP}function _n(e){return nP(e)&&rP(e)}function O8(e){return nP(e)&&eP(e)}function nP(e){return e.nodeType===1}function A8(e){let t=e.ownerDocument.getSelection();if(t?.focusNode&&_n(e)){let n=nl(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)}}function Es(e,t){return He().eventWrapper(e)}function Lo(e){let t=S8(e,ig),r=Dl(e.ownerDocument);(t??e.ownerDocument.body)!==r&&(Es(t?()=>t.focus():()=>r?.blur()),A8(t??e.ownerDocument.body))}function C8(e){!ig(e)||Dl(e.ownerDocument)!==e||Es(()=>e.blur())}var ko={};ko.click=(e,t,r)=>{let n=t.closest("button,input,label,select,textarea"),o=n&&Le(n,"label")&&n.control;if(o&&o!==t)return()=>{ig(o)&&(Lo(o),r.dispatchEvent(o,w8(e)))};if(Le(t,"input",{type:"file"}))return()=>{C8(t),t.dispatchEvent(new(Jr(t)).Event("fileDialog")),Lo(t)}};var _s=Symbol("Displayed value in UI"),$n=Symbol("Displayed selection in UI"),fc=Symbol("Initial value to compare on blur");function P8(e){return typeof e=="object"&&_s in e}function x8(e){return!!e&&typeof e=="object"&&$n in e}function N8(e,t){e[fc]===void 0&&(e[fc]=e.value),e[_s]=t,e.value=Object.assign(new String(t),{[_s]:!0})}function Tn(e){return e[_s]===void 0?e.value:String(e[_s])}function sg(e){e[_s]=void 0}function oP(e){e[fc]=void 0}function I8(e){return e[fc]}function M8(e,t){e[$n]=t}function Hs(e,{focusOffset:t,anchorOffset:r=t},n="replace"){let o=Tn(e).length,i=d=>Math.max(0,Math.min(o,d)),s=n==="replace"||e[$n]===void 0?i(r):e[$n].anchorOffset,a=i(t),l=Math.min(s,a),u=Math.max(s,a);if(e[$n]={anchorOffset:s,focusOffset:a},e.selectionStart===l&&e.selectionEnd===u)return;let c=Object.assign(new Number(l),{[$n]:!0});try{e.setSelectionRange(c,u)}catch{}}function ol(e){var t,r,n;let o=(n=e[$n])!==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)}}function j8(e){return!!e[$n]}function ku(e){e[$n]=void 0}var hc=globalThis.parseInt;function q8(e){let t=e.replace(/\D/g,"");if(t.length<2)return e;let r=hc(t[0],10),n=hc(t[1],10);if(r>=3||r===2&&n>=4){let o;return r>=3?o=1:o=2,HE(t,o)}return e.length===2?e:HE(t,2)}function HE(e,t){let r=e.slice(0,t),n=Math.min(hc(r,10),23),o=e.slice(t),i=hc(o,10),s=Math.min(i,59);return`${n.toString().padStart(2,"0")}:${s.toString().padStart(2,"0")}`}function iP(e,t){let r=e.cloneNode();return r.value=t,r.value===t}var sP=(function(e){return e.email="email",e.password="password",e.search="search",e.telephone="telephone",e.text="text",e.url="url",e})(sP||{});function L8(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}function k8(e){return Le(e,"textarea")||Le(e,"input")&&e.type in sP}function aP(e,t,r,n){if(Du(e)&&t+r>=0&&t+r<=e.nodeValue.length)return{node:e,offset:t+r};let o=JE(e,t,r);if(o){if(Du(o))return{node:o,offset:r>0?Math.min(1,o.nodeValue.length):Math.max(o.nodeValue.length-1,0)};if(Le(o,"br")){let i=JE(o,void 0,r);return i?Du(i)?{node:i,offset:r>0?0:i.nodeValue.length}:r<0&&Le(i,"br")?{node:o.parentNode,offset:su(o)}:{node:i.parentNode,offset:su(i)+(r>0?0:1)}:r<0&&n==="deleteContentBackward"?{node:o.parentNode,offset:su(o)}:void 0}else return{node:o.parentNode,offset:su(o)+(r>0?1:0)}}}function JE(e,t,r){let n=Number(t)+(r<0?-1:0);return t!==void 0&&ag(e)&&n>=0&&n<e.children.length&&(e=e.children[n]),F8(e,r===1?"next":"previous",D8)}function D8(e){if(Du(e))return!0;if(ag(e)){if(Le(e,["input","textarea"]))return e.type!=="hidden";if(Le(e,"br"))return!0}return!1}function su(e){let t=0;for(;e.previousSibling;)t++,e=e.previousSibling;return t}function ag(e){return e.nodeType===1}function Du(e){return e.nodeType===3}function F8(e,t,r){for(;;){var n;let o=e[`${t}Sibling`];if(o){if(e=$8(o,t==="next"?"first":"last"),r(e))return e}else if(e.parentNode&&(!ag(e.parentNode)||!wi(e.parentNode)&&e.parentNode!==((n=e.ownerDocument)===null||n===void 0?void 0:n.body)))e=e.parentNode;else break}}function $8(e,t){for(;e.hasChildNodes();)e=e[`${t}Child`];return e}var il=Symbol("Track programmatic changes for React workaround");function B8(e){return Object.getOwnPropertyNames(e).some(t=>t.startsWith("__react"))&&Jr(e).REACT_VERSION===17}function V8(e){B8(e)&&(e[il]={previousValue:String(e.value),tracked:[]})}function U8(e,t){var r,n;(n=e[il])===null||n===void 0||(r=n.tracked)===null||r===void 0||r.push(t),e[il]||(sg(e),Hs(e,{focusOffset:t.length}))}function H8(e,t){var r;let n=e[il];if(e[il]=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||sg(e),j8(e)&&Hs(e,{focusOffset:o?t:e.value.length})}function lP(e){let t=J8(e);if(t&&_n(t))return{type:"input",selection:ol(t)};let r=t?.ownerDocument.getSelection();return{type:nl(e)&&r?.anchorNode&&nl(r.anchorNode)?"contenteditable":"default",selection:r}}function J8(e){return e.nodeType===1?e:e.parentElement}function G8(e){let t=lP(e);if(t.type==="input")return t.selection;if(t.type==="contenteditable"){var r;return(r=t.selection)===null||r===void 0?void 0:r.getRangeAt(0)}}function Si({focusNode:e,focusOffset:t,anchorNode:r=e,anchorOffset:n=t}){var o,i;if(lP(e).type==="input")return Hs(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)}function uP(e){return Le(e,"input")&&["date","time"].includes(e.type)}function Ts(e,t,r,n="insertText"){let o=G8(t);o&&(!uP(t)&&!e.dispatchUIEvent(t,"beforeinput",{inputType:n,data:r})||("startContainer"in o?W8(e,t,o,r,n):K8(e,t,o,r,n)))}function W8(e,t,r,n,o){let i=!1;if(!r.collapsed)i=!0,r.deleteContents();else if(["deleteContentBackward","deleteContentForward"].includes(o)){let s=aP(r.startContainer,r.startOffset,o==="deleteContentBackward"?-1:1,o);if(s){i=!0;let a=r.cloneRange();a.comparePoint(s.node,s.offset)<0?a.setStart(s.node,s.offset):a.setEnd(s.node,s.offset),a.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})}function K8(e,t,r,n,o){let i=n;if(k8(t)){let u=L8(t);if(u!==void 0&&n.length>0){let c=u-t.value.length;if(c>0)i=n.substring(0,c);else return}}let{newValue:s,newOffset:a,oldValue:l}=z8(i,t,r,o);s===l&&a===r.startOffset&&a===r.endOffset||Le(t,"input",{type:"number"})&&!Y8(s)||(N8(t,s),Si({focusNode:t,anchorOffset:a,focusOffset:a}),uP(t)?iP(t,s)&&(GE(e,t,a,{}),e.dispatchUIEvent(t,"change"),oP(t)):GE(e,t,a,{data:n,inputType:o}))}function z8(e,t,{startOffset:r,endOffset:n},o){let i=Tn(t),s=Math.max(0,r===n&&o==="deleteContentBackward"?r-1:r),a=i.substring(0,s),l=Math.min(i.length,r===n&&o==="deleteContentForward"?r+1:n),u=i.substring(l,i.length),c=`${a}${e}${u}`,d=s+e.length;if(Le(t,"input",{type:"time"})){let f=q8(c);f!==""&&iP(t,f)&&(c=f,d=f.length)}return{oldValue:i,newValue:c,newOffset:d}}function GE(e,t,r,n){e.dispatchUIEvent(t,"input",n),H8(t,r)}function Y8(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]))}ko.cut=(e,t,r)=>()=>{vs(t)&&Ts(r,t,"","deleteByCut")};function X8(e){return e?wi(e)?e.textContent:Tn(e):null}function Q8(e){let t=Jr(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}function Z8(e,t){let r=e.ownerDocument,n=r.querySelectorAll(QC),o=Array.from(n).filter(l=>l===e||!(Number(l.getAttribute("tabindex"))<0||zn(l)));Number(e.getAttribute("tabindex"))>=0&&o.sort((l,u)=>{let c=Number(l.getAttribute("tabindex")),d=Number(u.getAttribute("tabindex"));return c===d?0:c===0?1:d===0?-1:c-d});let i={},s=[r.body],a=Le(e,"input",{type:"radio"})?e.name:void 0;o.forEach(l=>{let u=l;if(Le(u,"input",{type:"radio"})&&u.name){if(u===e){s.push(u);return}else if(u.name===a)return;if(u.checked){s=s.filter(c=>!Le(c,"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 l=s.findIndex(u=>u===e);;)if(l+=t?-1:1,l===s.length?l=0:l===-1&&(l=s.length-1),s[l]===e||s[l]===r.body||Q8(s[l]))return s[l]}function WE(e,t){if(_n(e)){let r=ol(e);Si({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=aP(r.focusNode,r.focusOffset,t);n&&Si({focusNode:n.node,focusOffset:n.offset})}else r[t<0?"collapseToStart":"collapseToEnd"]()}}function cP(e){if(_n(e))return Si({focusNode:e,anchorOffset:0,focusOffset:Tn(e).length});var t;let r=(t=nl(e))!==null&&t!==void 0?t:e.ownerDocument.body;Si({focusNode:r,anchorOffset:0,focusOffset:r.childNodes.length})}function eW(e){if(_n(e))return ol(e).startOffset===0&&ol(e).endOffset===Tn(e).length;var t;let r=(t=nl(e))!==null&&t!==void 0?t:e.ownerDocument.body,n=e.ownerDocument.getSelection();return n?.anchorNode===r&&n.focusNode===r&&n.anchorOffset===0&&n.focusOffset===r.childNodes.length}function ma(e,t,r){var n;if(_n(e))return Si({focusNode:e,anchorOffset:t,focusOffset:r});if(wi(e)&&((n=e.firstChild)===null||n===void 0?void 0:n.nodeType)===3)return Si({focusNode:e.firstChild,anchorOffset:t,focusOffset:r});throw new Error("Not implemented. The result of this interaction is unreliable.")}function au(e,t,r){let n=Jr(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(!zn(o[i])){Lo(o[i]),e.dispatchUIEvent(o[i],"click");return}}}ko.keydown=(e,t,r)=>{var n,o;return(o=(n=KE[e.key])===null||n===void 0?void 0:n.call(KE,e,t,r))!==null&&o!==void 0?o:tW(e,t,r)};var KE={ArrowDown:(e,t,r)=>{if(Le(t,"input",{type:"radio"}))return()=>au(r,t,1)},ArrowLeft:(e,t,r)=>Le(t,"input",{type:"radio"})?()=>au(r,t,-1):()=>WE(t,-1),ArrowRight:(e,t,r)=>Le(t,"input",{type:"radio"})?()=>au(r,t,1):()=>WE(t,1),ArrowUp:(e,t,r)=>{if(Le(t,"input",{type:"radio"}))return()=>au(r,t,-1)},Backspace:(e,t,r)=>{if(vs(t))return()=>{Ts(r,t,"","deleteContentBackward")}},Delete:(e,t,r)=>{if(vs(t))return()=>{Ts(r,t,"","deleteContentForward")}},End:(e,t)=>{if(Le(t,["input","textarea"])||wi(t))return()=>{var r,n;let o=(n=(r=X8(t))===null||r===void 0?void 0:r.length)!==null&&n!==void 0?n:0;ma(t,o,o)}},Home:(e,t)=>{if(Le(t,["input","textarea"])||wi(t))return()=>{ma(t,0,0)}},PageDown:(e,t)=>{if(Le(t,["input"]))return()=>{let r=Tn(t).length;ma(t,r,r)}},PageUp:(e,t)=>{if(Le(t,["input"]))return()=>{ma(t,0,0)}},Tab:(e,t,r)=>()=>{let n=Z8(t,r.system.keyboard.modifiers.Shift);Lo(n),_n(n)&&Hs(n,{anchorOffset:0,focusOffset:n.value.length})}},tW=(e,t,r)=>{if(e.code==="KeyA"&&r.system.keyboard.modifiers.Control)return()=>cP(t)};ko.keypress=(e,t,r)=>{if(e.key==="Enter"){if(Le(t,"button")||Le(t,"input")&&rW.includes(t.type)||Le(t,"a")&&t.href)return()=>{r.dispatchUIEvent(t,"click")};if(Le(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&&nW.includes(t.type)&&n.querySelectorAll("input").length===1?()=>r.dispatchUIEvent(n,"submit"):void 0}}if(vs(t)){let n=e.key==="Enter"?wi(t)&&!r.system.keyboard.modifiers.Shift?"insertParagraph":"insertLineBreak":"insertText",o=e.key==="Enter"?`
344
+ `:e.key;return()=>Ts(r,t,o,n)}};var rW=["button","color","file","image","reset","submit"],nW=["email","month","password","search","tel","text","url","week"];ko.keyup=(e,t,r)=>{var n;return(n=zE[e.key])===null||n===void 0?void 0:n.call(zE,e,t,r)};var zE={" ":(e,t,r)=>{if(eP(t))return()=>r.dispatchUIEvent(t,"click")}};ko.paste=(e,t,r)=>{if(vs(t))return()=>{var n;let o=(n=e.clipboardData)===null||n===void 0?void 0:n.getData("text");o&&Ts(r,t,o,"insertFromPaste")}};var dP={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 pP(e){return dP[e].EventType}var oW=["MouseEvent","PointerEvent"];function iW(e){return oW.includes(pP(e))}function sW(e){return pP(e)==="KeyboardEvent"}var aW={ClipboardEvent:[uW],Event:[],FocusEvent:[ia,cW],InputEvent:[ia,dW],MouseEvent:[ia,Wp,YE],PointerEvent:[ia,Wp,YE,fW],KeyboardEvent:[ia,Wp,pW]};function fP(e,t,r){let n=Jr(t),{EventType:o,defaultInit:i}=dP[e],s=new(lW(n))[o](e,i);return aW[o].forEach(a=>a(s,r??{})),s}function lW(e){var t;let r=(t=e.Event)!==null&&t!==void 0?t:class{};var n;let o=(n=e.AnimationEvent)!==null&&n!==void 0?n:class extends r{};var i;let s=(i=e.ClipboardEvent)!==null&&i!==void 0?i:class extends r{};var a;let l=(a=e.PopStateEvent)!==null&&a!==void 0?a:class extends r{};var u;let c=(u=e.ProgressEvent)!==null&&u!==void 0?u:class extends r{};var d;let f=(d=e.TransitionEvent)!==null&&d!==void 0?d:class extends r{};var h;let m=(h=e.UIEvent)!==null&&h!==void 0?h:class extends r{};var g;let v=(g=e.CompositionEvent)!==null&&g!==void 0?g:class extends m{};var b;let E=(b=e.FocusEvent)!==null&&b!==void 0?b:class extends m{};var S;let A=(S=e.InputEvent)!==null&&S!==void 0?S:class extends m{};var C;let T=(C=e.KeyboardEvent)!==null&&C!==void 0?C:class extends m{};var w;let _=(w=e.MouseEvent)!==null&&w!==void 0?w:class extends m{};var R;let M=(R=e.DragEvent)!==null&&R!==void 0?R:class extends _{};var N;let q=(N=e.PointerEvent)!==null&&N!==void 0?N:class extends _{};var x;let P=(x=e.TouchEvent)!==null&&x!==void 0?x:class extends m{};return{Event:r,AnimationEvent:o,ClipboardEvent:s,PopStateEvent:l,ProgressEvent:c,TransitionEvent:f,UIEvent:m,CompositionEvent:v,FocusEvent:E,InputEvent:A,KeyboardEvent:T,MouseEvent:_,DragEvent:M,PointerEvent:q,TouchEvent:P}}function Vo(e,t){for(let[r,n]of Object.entries(t))Object.defineProperty(e,r,{get:()=>n??null})}function yt(e){return Number(e??0)}function uW(e,{clipboardData:t}){Vo(e,{clipboardData:t})}function cW(e,{relatedTarget:t}){Vo(e,{relatedTarget:t})}function dW(e,{data:t,inputType:r,isComposing:n}){Vo(e,{data:t,isComposing:!!n,inputType:String(r)})}function ia(e,{view:t,detail:r}){Vo(e,{view:t,detail:yt(r??0)})}function Wp(e,{altKey:t,ctrlKey:r,metaKey:n,shiftKey:o,modifierAltGraph:i,modifierCapsLock:s,modifierFn:a,modifierFnLock:l,modifierNumLock:u,modifierScrollLock:c,modifierSymbol:d,modifierSymbolLock:f}){Vo(e,{altKey:!!t,ctrlKey:!!r,metaKey:!!n,shiftKey:!!o,getModifierState(h){return!!{Alt:t,AltGraph:i,CapsLock:s,Control:r,Fn:a,FnLock:l,Meta:n,NumLock:u,ScrollLock:c,Shift:o,Symbol:d,SymbolLock:f}[h]}})}function pW(e,{key:t,code:r,location:n,repeat:o,isComposing:i,charCode:s}){Vo(e,{key:String(t),code:String(r),location:yt(n),repeat:!!o,isComposing:!!i,charCode:s})}function YE(e,{x:t,y:r,screenX:n,screenY:o,clientX:i=t,clientY:s=r,button:a,buttons:l,relatedTarget:u,offsetX:c,offsetY:d,pageX:f,pageY:h}){Vo(e,{screenX:yt(n),screenY:yt(o),clientX:yt(i),x:yt(i),clientY:yt(s),y:yt(s),button:yt(a),buttons:yt(l),relatedTarget:u,offsetX:yt(c),offsetY:yt(d),pageX:yt(f),pageY:yt(h)})}function fW(e,{pointerId:t,width:r,height:n,pressure:o,tangentialPressure:i,tiltX:s,tiltY:a,twist:l,pointerType:u,isPrimary:c}){Vo(e,{pointerId:yt(t),width:yt(r??1),height:yt(n??1),pressure:yt(o),tangentialPressure:yt(i),tiltX:yt(s),tiltY:yt(a),twist:yt(l),pointerType:String(u),isPrimary:!!c})}function hW(e,t,r,n=!1){(iW(t)||sW(t))&&(r={...r,...this.system.getUIEventModifiers()});let o=fP(t,e,r);return hP.call(this,e,o,n)}function hP(e,t,r=!1){var n;let o=t.type,i=r?()=>{}:(n=ko[o])===null||n===void 0?void 0:n.call(ko,t,e,this);if(i){t.preventDefault();let s=!1;return Object.defineProperty(t,"defaultPrevented",{get:()=>s}),Object.defineProperty(t,"preventDefault",{value:()=>{s=t.cancelable}}),Es(()=>e.dispatchEvent(t)),s||i(),!s}return Es(()=>e.dispatchEvent(t))}function oi(e,t,r){let n=fP(t,e,r);Es(()=>e.dispatchEvent(n))}var XE=Symbol("patched focus/blur methods");function mP(e){if(e.prototype[XE])return;let{focus:t,blur:r}=e.prototype;Object.defineProperties(e.prototype,{focus:{configurable:!0,get:()=>o},blur:{configurable:!0,get:()=>i},[XE]:{configurable:!0,get:()=>({focus:t,blur:r})}});let n;function o(s){if(this.ownerDocument.visibilityState!=="hidden")return t.call(this,s);let a=QE(this.ownerDocument);if(a===this)return;let l=Symbol("focus call");n=l,a&&(r.call(a),oi(a,"blur",{relatedTarget:this}),oi(a,"focusout",{relatedTarget:n===l?this:null})),n===l&&(t.call(this,s),oi(this,"focus",{relatedTarget:a})),n===l&&oi(this,"focusin",{relatedTarget:a})}function i(){if(this.ownerDocument.visibilityState!=="hidden")return r.call(this);let s=QE(this.ownerDocument);s===this&&(n=Symbol("blur call"),r.call(this),oi(s,"blur",{relatedTarget:null}),oi(s,"focusout",{relatedTarget:null}))}}function QE(e){let t=Dl(e);return t?.tagName==="BODY"?null:t}var Kp=Symbol("Interceptor for programmatical calls");function Ki(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][Kp])throw new Error(`Element ${e.tagName} does not implement "${String(t)}".`);function s(...a){let{applyNative:l=!1,realArgs:u,then:c}=r.call(this,...a),d=(!l&&o||n)[i];i==="set"?d.call(this,u):d.call(this,...u),c?.()}s[Kp]=Kp,Object.defineProperty(e,t,{...o??n,[i]:s})}function mW(e){Ki(e,"value",function(t){let r=P8(t);return r&&V8(this),{applyNative:!!r,realArgs:yW(this,t),then:r?void 0:()=>U8(this,String(t))}})}function yW(e,t){return Le(e,"input",{type:"number"})&&String(t)!==""&&!Number.isNaN(Number(t))?String(Number(t)):String(t)}function gW(e){Ki(e,"setSelectionRange",function(t,...r){let n=x8(t);return{applyNative:!!n,realArgs:[Number(t),...r],then:()=>n?void 0:ku(e)}}),Ki(e,"selectionStart",function(t){return{realArgs:t,then:()=>ku(e)}}),Ki(e,"selectionEnd",function(t){return{realArgs:t,then:()=>ku(e)}}),Ki(e,"select",function(){return{realArgs:[],then:()=>M8(e,{anchorOffset:0,focusOffset:Tn(e).length})}})}function bW(e){Ki(e,"setRangeText",function(...t){return{realArgs:t,then:()=>{sg(e),ku(e)}}})}var ts=Symbol("Node prepared with document state workarounds");function yP(e){e[ts]||(e.addEventListener("focus",t=>{let r=t.target;ZE(r)},{capture:!0,passive:!0}),e.activeElement&&ZE(e.activeElement),e.addEventListener("blur",t=>{let r=t.target,n=I8(r);n!==void 0&&(r.value!==n&&oi(r,"change"),oP(r))},{capture:!0,passive:!0}),e[ts]=ts)}function ZE(e){e[ts]||(Le(e,["input","textarea"])&&(mW(e),gW(e),bW(e)),e[ts]=ts)}function vW(e){return EW(e)?e:e.ownerDocument}function EW(e){return e.nodeType===9}var Sr=(function(e){return e[e.Trigger=2]="Trigger",e[e.Call=1]="Call",e})({});function ya(e,t){e.levelRefs[t]={}}function lu(e,t){return e.levelRefs[t]}function ws(e){let t=e.delay;if(typeof t=="number")return Promise.all([new Promise(r=>globalThis.setTimeout(()=>r(),t)),e.advanceTimers(t)])}var Fu=(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 Xo(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var dn=(function(e){return e[e.STANDARD=0]="STANDARD",e[e.LEFT=1]="LEFT",e[e.RIGHT=2]="RIGHT",e[e.NUMPAD=3]="NUMPAD",e})({}),_W=["Alt","AltGraph","Control","Fn","Meta","Shift","Symbol"];function e_(e){return _W.includes(e)}var TW=["CapsLock","FnLock","NumLock","ScrollLock","SymbolLock"];function t_(e){return TW.includes(e)}var wW=class{isKeyPressed(e){return this.pressed.has(String(e.code))}getPressedKeys(){return this.pressed.values().map(e=>e.keyDef)}async keydown(e,t){let r=String(t.key),n=String(t.code),o=Gp(e.config.document);this.setKeydownTarget(o),this.pressed.add(n,t),e_(r)&&(this.modifiers[r]=!0);let i=e.dispatchUIEvent(o,"keydown",{key:r,code:n});t_(r)&&!this.modifiers[r]&&(this.modifiers[r]=!0,this.modifierLockStart[r]=!0),i&&this.pressed.setUnprevented(n),i&&this.hasKeyPress(r)&&e.dispatchUIEvent(Gp(e.config.document),"keypress",{key:r,code:n,charCode:t.key==="Enter"?13:String(t.key).charCodeAt(0)})}async keyup(e,t){let r=String(t.key),n=String(t.code),o=this.pressed.isUnprevented(n);this.pressed.delete(n),e_(r)&&!this.pressed.values().find(i=>i.keyDef.key===r)&&(this.modifiers[r]=!1),e.dispatchUIEvent(Gp(e.config.document),"keyup",{key:r,code:n},!o),t_(r)&&this.modifiers[r]&&(this.modifierLockStart[r]?this.modifierLockStart[r]=!1:this.modifiers[r]=!1)}setKeydownTarget(e){e!==this.lastKeydownTarget&&(this.carryChar=""),this.lastKeydownTarget=e}hasKeyPress(e){return(e.length===1||e==="Enter")&&!this.modifiers.Control&&!this.modifiers.Alt}constructor(e){Xo(this,"system",void 0),Xo(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}),Xo(this,"pressed",new class{add(t,r){var n,o,i;(i=(n=this.registry)[o=t])!==null&&i!==void 0||(n[o]={keyDef:r,unpreventedDefault:!1})}has(t){return!!this.registry[t]}setUnprevented(t){let r=this.registry[t];r&&(r.unpreventedDefault=!0)}isUnprevented(t){var r;return!!(!((r=this.registry[t])===null||r===void 0)&&r.unpreventedDefault)}delete(t){delete this.registry[t]}values(){return Object.values(this.registry)}constructor(){Xo(this,"registry",{})}}),Xo(this,"carryChar",""),Xo(this,"lastKeydownTarget",void 0),Xo(this,"modifierLockStart",{}),this.system=e}},SW=[..."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:dn.LEFT},{code:"AltRight",key:"Alt",location:dn.RIGHT},{code:"ShiftLeft",key:"Shift",location:dn.LEFT},{code:"ShiftRight",key:"Shift",location:dn.RIGHT},{code:"ControlLeft",key:"Control",location:dn.LEFT},{code:"ControlRight",key:"Control",location:dn.RIGHT},{code:"MetaLeft",key:"Meta",location:dn.LEFT},{code:"MetaRight",key:"Meta",location:dn.RIGHT},{code:"OSLeft",key:"OS",location:dn.LEFT},{code:"OSRight",key:"OS",location:dn.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"}],RW=[{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 OW(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var gP=class{getButtons(){let e=0;for(let t of Object.keys(this.pressed))e|=2**Number(t);return e}down(e){let t=Eh(e.button);if(t in this.pressed){this.pressed[t].push(e);return}return this.pressed[t]=[e],t}up(e){let t=Eh(e.button);if(t in this.pressed&&(this.pressed[t]=this.pressed[t].filter(r=>r.name!==e.name),this.pressed[t].length===0))return delete this.pressed[t],t}constructor(){OW(this,"pressed",{})}},r_={primary:0,secondary:1,auxiliary:2,back:3,X1:3,forward:4,X2:4};function Eh(e=0){return e in r_?r_[e]:Number(e)}var n_={1:2,2:1};function _h(e){return e=Eh(e),e in n_?n_[e]:e}function AW(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var CW=class{get countPressed(){return this.pressedKeys.size}isPressed(e){return this.pressedKeys.has(e.name)}addPressed(e){return this.pressedKeys.add(e.name)}removePressed(e){return this.pressedKeys.delete(e.name)}constructor(){AW(this,"pressedKeys",new Set)}};function Oa(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)]}function Th({target:e,node:t,offset:r}){return _n(e)?{node:e,offset:r??Tn(e).length}:t?{node:t,offset:r??(t.nodeType===3?t.nodeValue.length:t.childNodes.length)}:bP(e,r)}function bP(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 bP(i,t,!1);if(i.nodeType===3)return{node:i,offset:t??i.nodeValue.length}}n+=o}return{node:e,offset:e.childNodes.length}}function PW({document:e,target:t,clickCount:r,node:n,offset:o}){if(O8(t))return;let i=_n(t),s=String(i?Tn(t):t.textContent),[a,l]=n?[o,o]:xW(s,o,r);if(i)return Hs(t,{anchorOffset:a??s.length,focusOffset:l??s.length}),{node:t,start:a??0,end:l??s.length};{let{node:u,offset:c}=Th({target:t,node:n,offset:a}),{node:d,offset:f}=Th({target:t,node:n,offset:l}),h=t.ownerDocument.createRange();try{h.setStart(u,c),h.setEnd(d,f)}catch{throw new Error("The given offset is out of bounds.")}let m=e.getSelection();return m?.removeAllRanges(),m?.addRange(h.cloneRange()),h}}function xW(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]}function NW(e,{document:t,target:r,node:n,offset:o}){let i=Th({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,a=i.offset>e.end||i.offset<e.start?i.offset:e.end;Hs(e.node,{anchorOffset:s,focusOffset:a})}}else{let s=e.cloneRange(),a=s.comparePoint(i.node,i.offset);a<0?s.setStart(i.node,i.offset):a>0&&s.setEnd(i.node,i.offset);let l=t.getSelection();l?.removeAllRanges(),l?.addRange(s.cloneRange())}}function vP(e,t){var r,n,o,i,s,a,l,u,c,d,f,h,m,g,v,b,E,S,A,C,T,w,_,R;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)!==((a=t.coords)===null||a===void 0?void 0:a.clientX)||((l=e.coords)===null||l===void 0?void 0:l.clientY)!==((u=t.coords)===null||u===void 0?void 0:u.clientY)||((c=e.coords)===null||c===void 0?void 0:c.offsetX)!==((d=t.coords)===null||d===void 0?void 0:d.offsetX)||((f=e.coords)===null||f===void 0?void 0:f.offsetY)!==((h=t.coords)===null||h===void 0?void 0:h.offsetY)||((m=e.coords)===null||m===void 0?void 0:m.pageX)!==((g=t.coords)===null||g===void 0?void 0:g.pageX)||((v=e.coords)===null||v===void 0?void 0:v.pageY)!==((b=t.coords)===null||b===void 0?void 0:b.pageY)||((E=e.coords)===null||E===void 0?void 0:E.screenX)!==((S=t.coords)===null||S===void 0?void 0:S.screenX)||((A=e.coords)===null||A===void 0?void 0:A.screenY)!==((C=t.coords)===null||C===void 0?void 0:C.screenY)||((T=e.caret)===null||T===void 0?void 0:T.node)!==((w=t.caret)===null||w===void 0?void 0:w.node)||((_=e.caret)===null||_===void 0?void 0:_.offset)!==((R=t.caret)===null||R===void 0?void 0:R.offset)}function Qo(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var IW=class{move(e,t,r){let n=this.position,o=this.getTarget(e);if(this.position=t,!vP(n,t))return;let i=this.getTarget(e),s=this.getEventInit("mousemove"),[a,l]=Oa(o,i);return{leave:()=>{o!==i&&(e.dispatchUIEvent(o,"mouseout",s),a.forEach(u=>e.dispatchUIEvent(u,"mouseleave",s)))},enter:()=>{o!==i&&(e.dispatchUIEvent(i,"mouseover",s),l.forEach(u=>e.dispatchUIEvent(u,"mouseenter",s)))},move:()=>{r||(e.dispatchUIEvent(i,"mousemove",s),this.modifySelecting(e))}}}down(e,t,r){let n=this.buttons.down(t);if(n===void 0)return;let o=this.getTarget(e);this.buttonDownTarget[n]=o;let i=this.getEventInit("mousedown",t.button),s=zn(o);!r&&(s||e.dispatchUIEvent(o,"mousedown",i))&&(this.startSelecting(e,i.detail),Lo(o)),!s&&_h(t.button)===2&&e.dispatchUIEvent(o,"contextmenu",this.getEventInit("contextmenu",t.button))}up(e,t,r){let n=this.buttons.up(t);if(n===void 0)return;let o=this.getTarget(e);if(!zn(o)){if(!r){let s=this.getEventInit("mouseup",t.button);e.dispatchUIEvent(o,"mouseup",s),this.endSelecting()}let i=Oa(this.buttonDownTarget[n],o)[2][0];if(i){let s=this.getEventInit("click",t.button);s.detail&&(e.dispatchUIEvent(i,s.button===0?"click":"auxclick",s),s.button===0&&s.detail===2&&e.dispatchUIEvent(i,"dblclick",{...this.getEventInit("dblclick",t.button),detail:s.detail}))}}}resetClickCount(){this.clickCount.reset()}getEventInit(e,t){let r={...this.position.coords};return r.button=_h(t),r.buttons=this.buttons.getButtons(),e==="mousedown"?r.detail=this.clickCount.getOnDown(r.button):e==="mouseup"?r.detail=this.clickCount.getOnUp(r.button):(e==="click"||e==="auxclick")&&(r.detail=this.clickCount.incOnClick(r.button)),r}getTarget(e){var t;return(t=this.position.target)!==null&&t!==void 0?t:e.config.document.body}startSelecting(e,t){var r,n;this.selecting=PW({document:e.config.document,target:this.getTarget(e),node:(r=this.position.caret)===null||r===void 0?void 0:r.node,offset:(n=this.position.caret)===null||n===void 0?void 0:n.offset,clickCount:t})}modifySelecting(e){var t,r;this.selecting&&NW(this.selecting,{document:e.config.document,target:this.getTarget(e),node:(t=this.position.caret)===null||t===void 0?void 0:t.node,offset:(r=this.position.caret)===null||r===void 0?void 0:r.offset})}endSelecting(){this.selecting=void 0}constructor(){Qo(this,"position",{}),Qo(this,"buttons",new gP),Qo(this,"selecting",void 0),Qo(this,"buttonDownTarget",{}),Qo(this,"clickCount",new class{incOnClick(e){let t=this.down[e]===void 0?void 0:Number(this.down[e])+1;return this.count=this.count[e]===void 0?{}:{[e]:Number(this.count[e])+1},t}getOnDown(e){var t;this.down={[e]:(t=this.count[e])!==null&&t!==void 0?t:0};var r;return this.count={[e]:(r=this.count[e])!==null&&r!==void 0?r:0},Number(this.count[e])+1}getOnUp(e){return this.down[e]===void 0?void 0:Number(this.down[e])+1}reset(){this.count={}}constructor(){Qo(this,"down",{}),Qo(this,"count",{})}})}};function mc(e,t){var r;return((r=EP(e,t))===null||r===void 0?void 0:r.pointerEvents)!=="none"}function MW(e){let t=Jr(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}}}var o_=Symbol("Last check for pointer-events");function EP(e,t){let r=t[o_];if(!(e.config.pointerEventsCheck!==Fu.Never&&(!r||i_(e.config.pointerEventsCheck,Fu.EachApiCall)&&r[Sr.Call]!==lu(e,Sr.Call)||i_(e.config.pointerEventsCheck,Fu.EachTrigger)&&r[Sr.Trigger]!==lu(e,Sr.Trigger))))return r?.result;let n=MW(t);return t[o_]={[Sr.Call]:lu(e,Sr.Call),[Sr.Trigger]:lu(e,Sr.Trigger),result:n},n}function ga(e,t){let r=EP(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\`:`,"",jW(r.tree)].join(`
345
+ `))}function jW(e){return e.reverse().map((t,r)=>["".padEnd(r),t.tagName,t.id&&`#${t.id}`,t.hasAttribute("data-testid")&&`(testId=${t.getAttribute("data-testid")})`,qW(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(`
346
+ `)}function qW(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(Le(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 a;return(a=s.textContent)===null||a===void 0?void 0:a.trim()}).join("|");else if(Le(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})`:""}function i_(e,t){return(e&t)>0}function On(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var LW=class{init(e){let t=this.getTarget(e),[,r]=Oa(null,t),n=this.getEventInit();return ga(e,t),e.dispatchUIEvent(t,"pointerover",n),r.forEach(o=>e.dispatchUIEvent(o,"pointerenter",n)),this}move(e,t){let r=this.position,n=this.getTarget(e);if(this.position=t,!vP(r,t))return;let o=this.getTarget(e),i=this.getEventInit(-1),[s,a]=Oa(n,o);return{leave:()=>{mc(e,n)&&n!==o&&(e.dispatchUIEvent(n,"pointerout",i),s.forEach(l=>e.dispatchUIEvent(l,"pointerleave",i)))},enter:()=>{ga(e,o),n!==o&&(e.dispatchUIEvent(o,"pointerover",i),a.forEach(l=>e.dispatchUIEvent(l,"pointerenter",i)))},move:()=>{e.dispatchUIEvent(o,"pointermove",i)}}}down(e,t=0){if(this.isDown)return;let r=this.getTarget(e);ga(e,r),this.isDown=!0,this.isPrevented=!e.dispatchUIEvent(r,"pointerdown",this.getEventInit(t))}up(e,t=0){if(!this.isDown)return;let r=this.getTarget(e);ga(e,r),this.isPrevented=!1,this.isDown=!1,e.dispatchUIEvent(r,"pointerup",this.getEventInit(t))}release(e){let t=this.getTarget(e),[r]=Oa(t,null),n=this.getEventInit();mc(e,t)&&(e.dispatchUIEvent(t,"pointerout",n),r.forEach(o=>e.dispatchUIEvent(o,"pointerleave",n))),this.isCancelled=!0}getTarget(e){var t;return(t=this.position.target)!==null&&t!==void 0?t:e.config.document.body}getEventInit(e){return{...this.position.coords,pointerId:this.pointerId,pointerType:this.pointerType,isPrimary:this.isPrimary,button:_h(e),buttons:this.buttons.getButtons()}}constructor({pointerId:e,pointerType:t,isPrimary:r},n){On(this,"pointerId",void 0),On(this,"pointerType",void 0),On(this,"isPrimary",void 0),On(this,"buttons",void 0),On(this,"isMultitouch",!1),On(this,"isCancelled",!1),On(this,"isDown",!1),On(this,"isPrevented",!1),On(this,"position",{}),this.pointerId=e,this.pointerType=t,this.isPrimary=r,this.isMultitouch=!r,this.buttons=n}};function co(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var kW=class{isKeyPressed(e){return this.devices.get(e.pointerType).isPressed(e)}async press(e,t,r){this.devices.get(t.pointerType).addPressed(t),this.buttons.down(t);let n=this.getPointerName(t),o=t.pointerType==="touch"?this.pointers.new(n,t.pointerType,this.buttons):this.pointers.get(n);o.position=r,o.pointerType!=="touch"&&(this.mouse.position=r),o.pointerType==="touch"&&o.init(e),o.down(e,t.button),o.pointerType!=="touch"&&this.mouse.down(e,t,o.isPrevented)}async move(e,t,r){let n=this.pointers.get(t),o=n.move(e,r),i=n.pointerType==="touch"?void 0:this.mouse.move(e,r,n.isPrevented);o?.leave(),i?.leave(),o?.enter(),i?.enter(),o?.move(),i?.move()}async release(e,t,r){let n=this.devices.get(t.pointerType);n.removePressed(t),this.buttons.up(t);let o=this.pointers.get(this.getPointerName(t)),i=o.isPrevented;if(o.position=r,o.pointerType!=="touch"&&(this.mouse.position=r),n.countPressed===0&&o.up(e,t.button),o.pointerType==="touch"&&o.release(e),o.pointerType==="touch"&&!o.isMultitouch){let s=this.mouse.move(e,r,i);s?.leave(),s?.enter(),s?.move(),this.mouse.down(e,t,i)}if(!o.isMultitouch){let s=this.mouse.move(e,r,i);s?.leave(),s?.enter(),s?.move(),this.mouse.up(e,t,i)}}getPointerName(e){return e.pointerType==="touch"?e.name:e.pointerType}getPreviousPosition(e){return this.pointers.has(e)?this.pointers.get(e).position:void 0}resetClickCount(){this.mouse.resetClickCount()}getMouseTarget(e){var t;return(t=this.mouse.position.target)!==null&&t!==void 0?t:e.config.document.body}setMousePosition(e){this.mouse.position=e,this.pointers.get("mouse").position=e}constructor(e){co(this,"system",void 0),co(this,"mouse",void 0),co(this,"buttons",void 0),co(this,"devices",new class{get(t){var r,n,o;return(o=(r=this.registry)[n=t])!==null&&o!==void 0?o:r[n]=new CW}constructor(){co(this,"registry",{})}}),co(this,"pointers",new class{new(t,r,n){let o=r!=="touch"||!Object.values(this.registry).some(i=>i.pointerType==="touch"&&!i.isCancelled);return o||Object.values(this.registry).forEach(i=>{i.pointerType===r&&!i.isCancelled&&(i.isMultitouch=!0)}),this.registry[t]=new LW({pointerId:this.nextId++,pointerType:r,isPrimary:o},n),this.registry[t]}get(t){if(!this.has(t))throw new Error(`Trying to access pointer "${t}" which does not exist.`);return this.registry[t]}has(t){return t in this.registry}constructor(){co(this,"registry",{}),co(this,"nextId",1)}}),this.system=e,this.buttons=new gP,this.mouse=new IW,this.pointers.new("mouse","mouse",this.buttons)}};function s_(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var _P=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(){s_(this,"keyboard",new wW(this)),s_(this,"pointer",new kW(this))}};async function DW(e){let t=[];return this.config.skipHover||t.push({target:e}),t.push({keys:"[MouseLeft]",target:e}),this.pointer(t)}async function FW(e){return this.pointer([{target:e},"[MouseLeft][MouseLeft]"])}async function $W(e){return this.pointer([{target:e},"[MouseLeft][MouseLeft][MouseLeft]"])}async function BW(e){return this.pointer({target:e})}async function VW(e){return ga(this,this.system.pointer.getMouseTarget(this)),this.pointer({target:e.ownerDocument.body})}async function UW({shift:e}={}){return this.keyboard(e===!0?"{Shift>}{Tab}{/Shift}":e===!1?"[/ShiftLeft][/ShiftRight]{Tab}":"{Tab}")}var lg=(function(e){return e["{"]="}",e["["]="]",e})(lg||{});function TP(e,t){let r=0,n=e[r]in lg?e[r]:"";r+=n.length;let o=new RegExp(`^\\${n}{2}`).test(e)?"":n;return{type:o,...o===""?HW(e,r,t):JW(e,r,o,t)}}function HW(e,t,r){let n=e[t];return wP(n,e,t,r),t+=n.length,{consumedLength:t,descriptor:n,releasePrevious:!1,releaseSelf:!0,repeat:1}}function JW(e,t,r,n){var o,i;let s=e[t]==="/"?"/":"";t+=s.length;let a=r==="{"&&e[t]==="\\";t+=Number(a);let l=a?e[t]:(o=e.slice(t).match(r==="{"?/^\w+|^[^}>/]/:/^\w+/))===null||o===void 0?void 0:o[0];wP(l,e,t,n),t+=l.length;var u;let c=(u=(i=e.slice(t).match(/^>\d+/))===null||i===void 0?void 0:i[0])!==null&&u!==void 0?u:"";t+=c.length;let d=e[t]==="/"||!c&&e[t]===">"?e[t]:"";t+=d.length;let f=lg[r],h=e[t]===f?f:"";if(!h)throw new Error(SP([!c&&"repeat modifier",!d&&"release modifier",`"${f}"`].filter(Boolean).join(" or "),e[t],e,n));return t+=h.length,{consumedLength:t,descriptor:l,releasePrevious:!!s,repeat:c?Math.max(Number(c.substr(1)),1):1,releaseSelf:GW(d,c)}}function wP(e,t,r,n){if(!e)throw new Error(SP("key descriptor",t[r],t,n))}function GW(e,t){if(e)return e==="/";if(t)return!1}function SP(e,t,r,n){return`Expected ${e} but found "${t??""}" in "${r}"
347
+ 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"}
348
+ for more information about how userEvent parses your input.`}function WW(e,t){let r=[];do{let{type:o,descriptor:i,consumedLength:s,releasePrevious:a,releaseSelf:l=!0,repeat:u}=TP(t,"keyboard");var n;let c=(n=e.find(d=>{if(o==="["){var f;return((f=d.code)===null||f===void 0?void 0:f.toLowerCase())===i.toLowerCase()}else if(o==="{"){var h;return((h=d.key)===null||h===void 0?void 0:h.toLowerCase())===i.toLowerCase()}return d.key===i}))!==null&&n!==void 0?n:{key:"Unknown",code:"Unknown",[o==="["?"code":"key"]:i};r.push({keyDef:c,releasePrevious:a,releaseSelf:l,repeat:u}),t=t.slice(s)}while(t);return r}async function KW(e){let t=WW(this.config.keyboardMap,e);for(let r=0;r<t.length;r++)await ws(this.config),await zW(this,t[r])}async function zW(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 ws(e.config);n&&await i.keyboard.keyup(e,t)}}async function YW(e){for(let t of e.system.keyboard.getPressedKeys())await e.system.keyboard.keyup(e,t)}function RP(e){let t=_n(e)?{"text/plain":XW(e)}:{"text/plain":String(e.ownerDocument.getSelection())},r=ng(Jr(e));for(let n in t)t[n]&&r.setData(n,t[n]);return r}function XW(e){let t=ol(e);return Tn(e).substring(t.startOffset,t.endOffset)}async function QW(){let e=this.config.document;var t;let r=(t=e.activeElement)!==null&&t!==void 0?t:e.body,n=RP(r);if(n.items.length!==0)return this.dispatchUIEvent(r,"copy",{clipboardData:n})&&this.config.writeToClipboard&&await XC(e,n),n}async function ZW(){let e=this.config.document;var t;let r=(t=e.activeElement)!==null&&t!==void 0?t:e.body,n=RP(r);if(n.items.length!==0)return this.dispatchUIEvent(r,"cut",{clipboardData:n})&&this.config.writeToClipboard&&await XC(r.ownerDocument,n),n}async function eK(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"?tK(t,e):e)!==null&&o!==void 0?o:await T8(t).catch(()=>{throw new Error("`userEvent.paste()` without `clipboardData` requires the `ClipboardAPI` to be available.")});this.dispatchUIEvent(n,"paste",{clipboardData:i})}function tK(e,t){let r=ng(Jr(e));return r.setData("text",t),r}function a_(e,t){let r=[];do{let{descriptor:n,consumedLength:o,releasePrevious:i,releaseSelf:s=!0}=TP(t,"pointer"),a=e.find(l=>l.name===n);a&&r.push({keyDef:a,releasePrevious:i,releaseSelf:s}),t=t.slice(o)}while(t);return r}async function rK(e){let{pointerMap:t}=this.config,r=[];(Array.isArray(e)?e:[e]).forEach(n=>{typeof n=="string"?r.push(...a_(t,n)):"keys"in n?r.push(...a_(t,n.keys).map(o=>({...n,...o}))):r.push(n)});for(let n=0;n<r.length;n++)await ws(this.config),await nK(this,r[n]);this.system.pointer.resetClickCount()}async function nK(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,a,l,u;let c={target:(s=t.target)!==null&&s!==void 0?s:oK(e,i),coords:(a=t.coords)!==null&&a!==void 0?a:i?.coords,caret:{node:(l=t.node)!==null&&l!==void 0?l:l_(t)||i==null||(r=i.caret)===null||r===void 0?void 0:r.node,offset:(u=t.offset)!==null&&u!==void 0?u:l_(t)||i==null||(n=i.caret)===null||n===void 0?void 0:n.offset}};"keyDef"in t?(e.system.pointer.isKeyPressed(t.keyDef)&&(ya(e,Sr.Trigger),await e.system.pointer.release(e,t.keyDef,c)),t.releasePrevious||(ya(e,Sr.Trigger),await e.system.pointer.press(e,t.keyDef,c),t.releaseSelf&&(ya(e,Sr.Trigger),await e.system.pointer.release(e,t.keyDef,c)))):(ya(e,Sr.Trigger),await e.system.pointer.move(e,o,c))}function l_(e){var t,r;return!!((r=(t=e.target)!==null&&t!==void 0?t:e.node)!==null&&r!==void 0?r:e.offset!==void 0)}function oK(e,t){if(!t)throw new Error("This pointer has no previous position. Provide a target property!");var r;return(r=t.target)!==null&&r!==void 0?r:e.config.document.body}async function iK(e){if(!vs(e)||zn(e))throw new Error("clear()` is only supported on editable elements.");if(Lo(e),e.ownerDocument.activeElement!==e)throw new Error("The element to be cleared could not be focused.");if(cP(e),!eW(e))throw new Error("The element content to be cleared could not be selected.");Ts(this,e,"","deleteContentBackward")}async function sK(e,t){return OP.call(this,!0,e,t)}async function aK(e,t){return OP.call(this,!1,e,t)}async function OP(e,t,r){if(!e&&!t.multiple)throw He().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(a=>{if(typeof a!="string"&&o.includes(a))return a;{let l=o.find(u=>u.value===a||u.innerHTML===a);if(l)return l;throw He().getElementError(`Value "${String(a)}" not found in options`,t)}}).filter(a=>!zn(a));if(zn(t)||!i.length)return;let s=a=>{a.selected=e,this.dispatchUIEvent(t,"input",{bubbles:!0,cancelable:!1,composed:!0}),this.dispatchUIEvent(t,"change")};if(Le(t,"select"))if(t.multiple)for(let a of i){let l=this.config.pointerEventsCheck===0?!0:mc(this,a);l&&(this.dispatchUIEvent(a,"pointerover"),this.dispatchUIEvent(t,"pointerenter"),this.dispatchUIEvent(a,"mouseover"),this.dispatchUIEvent(t,"mouseenter"),this.dispatchUIEvent(a,"pointermove"),this.dispatchUIEvent(a,"mousemove"),this.dispatchUIEvent(a,"pointerdown"),this.dispatchUIEvent(a,"mousedown")),Lo(t),l&&(this.dispatchUIEvent(a,"pointerup"),this.dispatchUIEvent(a,"mouseup")),s(a),l&&this.dispatchUIEvent(a,"click"),await ws(this.config)}else if(i.length===1){let a=this.config.pointerEventsCheck===0?!0:mc(this,t);a?await this.click(t):Lo(t),s(i[0]),a&&(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 ws(this.config)}else throw He().getElementError("Cannot select multiple options on a non-multiple select",t);else if(t.getAttribute("role")==="listbox")for(let a of i)await this.click(a),await this.unhover(a);else throw He().getElementError("Cannot select options on elements that are neither select nor listbox elements",t)}async function lK(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&&ma(e,o,i??o),await this.keyboard(t),n||await YW(this))}var u_=Symbol("files and value properties are mocked");function zp(e,t,r){r?Object.defineProperty(e,t,r):delete e[t]}function uK(e,t){var r;(r=e[u_])===null||r===void 0||r.restore();let n=Object.getOwnPropertyDescriptor(e,"type"),o=Object.getOwnPropertyDescriptor(e,"value"),i=Object.getOwnPropertyDescriptor(e,"files");function s(){zp(e,"type",n),zp(e,"value",o),zp(e,"files",i)}e[u_]={restore:s},Object.defineProperties(e,{files:{configurable:!0,get:()=>t},value:{configurable:!0,get:()=>t.length?`C:\\fakepath\\${t[0].name}`:"",set(a){if(a==="")s();else{var l;o==null||(l=o.set)===null||l===void 0||l.call(e,a)}}},type:{configurable:!0,get:()=>"file",set(a){a!=="file"&&(s(),e.type=a)}}})}async function cK(e,t){let r=Le(e,"label")?e.control:e;if(!r||!Le(r,"input",{type:"file"}))throw new TypeError(`The ${r===e?"given":"associated"} ${r?.tagName} element does not accept file uploads`);if(zn(e))return;let n=(Array.isArray(t)?t:[t]).filter(i=>!this.config.applyAccept||dK(i,r.accept)).slice(0,r.multiple?void 0:1),o=()=>{var i;n.length===((i=r.files)===null||i===void 0?void 0:i.length)&&n.every((s,a)=>{var l;return s===((l=r.files)===null||l===void 0?void 0:l.item(a))})||(uK(r,rg(Jr(e),n)),this.dispatchUIEvent(r,"input"),this.dispatchUIEvent(r,"change"))};r.addEventListener("fileDialog",o),await this.click(e),r.removeEventListener("fileDialog",o)}function uu(e){return e.toLowerCase().replace(/(\.|\/)jpg\b/g,"$1jpeg")}function dK(e,t){if(!t)return!0;let r=["audio/*","image/*","video/*"];return uu(t).trim().split(/\s*,\s*/).some(n=>n.startsWith(".")?uu(e.name).endsWith(n):r.includes(n)?uu(e.type).startsWith(n.replace("*","")):uu(e.type)===n)}var c_={click:DW,dblClick:FW,tripleClick:$W,hover:BW,unhover:VW,tab:UW,keyboard:KW,copy:QW,cut:ZW,paste:eK,pointer:rK,clear:iK,deselectOptions:aK,selectOptions:sK,type:lK,upload:cK};function pK(e){return He().asyncWrapper(e)}var AP={applyAccept:!0,autoModify:!0,delay:0,document:globalThis.document,keyboardMap:SW,pointerMap:RW,pointerEventsCheck:Fu.EachApiCall,skipAutoClose:!1,skipClick:!1,skipHover:!1,writeToClipboard:!1,advanceTimers:()=>Promise.resolve()},fK={...AP,writeToClipboard:!0};function CP(e={},t=fK,r){let n=gK(e,r,t);return{...t,...e,document:n}}function hK(e={}){let t=CP(e);yP(t.document),mP(Jr(t.document).HTMLElement);var r;let n=(r=t.document.defaultView)!==null&&r!==void 0?r:globalThis.window;return v8(n),ug(t).api}function ir({keyboardState:e,pointerState:t,...r}={},n){let o=CP(r,AP,n);yP(o.document),mP(Jr(o.document).HTMLElement);var i;let s=(i=t??e)!==null&&i!==void 0?i:new _P;return{api:ug(o,s).api,system:s}}function mK(e){return ug({...this.config,...e},this.system).api}function yK(e,t){function r(...n){return ya(e,Sr.Call),pK(()=>t.apply(e,n).then(async o=>(await ws(e.config),o)))}return Object.defineProperty(r,"name",{get:()=>t.name}),r}function ug(e,t=new _P){let r={};return Object.assign(r,{config:e,dispatchEvent:hP.bind(r),dispatchUIEvent:hW.bind(r),system:t,levelRefs:{},...c_}),{instance:r,api:{...Object.fromEntries(Object.entries(c_).map(([n,o])=>[n,yK(r,o)])),setup:mK.bind(r)}}}function gK(e,t,r){var n,o;return(o=(n=e.document)!==null&&n!==void 0?n:t&&vW(t))!==null&&o!==void 0?o:r.document}var PP={};Er(PP,{clear:()=>bK,click:()=>vK,copy:()=>EK,cut:()=>_K,dblClick:()=>TK,deselectOptions:()=>wK,hover:()=>SK,keyboard:()=>RK,paste:()=>AK,pointer:()=>OK,selectOptions:()=>CK,tab:()=>MK,tripleClick:()=>PK,type:()=>xK,unhover:()=>NK,upload:()=>IK});function bK(e){return ir().api.clear(e)}function vK(e,t={}){return ir(t,e).api.click(e)}function EK(e={}){return ir(e).api.copy()}function _K(e={}){return ir(e).api.cut()}function TK(e,t={}){return ir(t).api.dblClick(e)}function wK(e,t,r={}){return ir(r).api.deselectOptions(e,t)}function SK(e,t={}){return ir(t).api.hover(e)}async function RK(e,t={}){let{api:r,system:n}=ir(t);return r.keyboard(e).then(()=>n)}async function OK(e,t={}){let{api:r,system:n}=ir(t);return r.pointer(e).then(()=>n)}function AK(e,t){return ir(t).api.paste(e)}function CK(e,t,r={}){return ir(r).api.selectOptions(e,t)}function PK(e,t={}){return ir(t).api.tripleClick(e)}function xK(e,t,r={}){return ir(r,e).api.type(e,t,r)}function NK(e,t={}){let{api:r,system:n}=ir(t);return n.pointer.setMousePosition({target:e}),r.unhover(e)}function IK(e,t,r={}){return ir(r).api.upload(e,t)}function MK(e={}){return ir().api.tab(e)}var xP={...PP,setup:hK},wh=Cl({..._A},{getKeys:e=>Object.keys(e).filter(t=>t!=="eventWrapper"),intercept:(e,t)=>t[0]==="fireEvent"||e.startsWith("find")||e.startsWith("waitFor")});wh.screen=new Proxy(wh.screen,{get(e,t,r){return typeof window<"u"&&globalThis.location?.href?.includes("viewMode=docs")&&Et.warn(Be`
349
+ You are using Testing Library's \`screen\` object while the story is rendered in docs mode. This will likely lead to issues, as multiple stories are rendered in the same page and therefore screen will potentially find multiple elements. Use the \`canvas\` utility from the story context instead, which will scope the queries to each story's canvas.
350
+
351
+ More info: https://storybook.js.org/docs/writing-tests/interaction-testing?ref=error#querying-the-canvas
352
+ `),Reflect.get(e,t,r)}});var{buildQueries:jK,configure:qK,createEvent:LK,fireEvent:kK,findAllByAltText:DK,findAllByDisplayValue:FK,findAllByLabelText:$K,findAllByPlaceholderText:BK,findAllByRole:VK,findAllByTestId:UK,findAllByText:HK,findAllByTitle:JK,findByAltText:GK,findByDisplayValue:WK,findByLabelText:KK,findByPlaceholderText:zK,findByRole:YK,findByTestId:XK,findByText:QK,findByTitle:ZK,getAllByAltText:e9,getAllByDisplayValue:t9,getAllByLabelText:r9,getAllByPlaceholderText:n9,getAllByRole:o9,getAllByTestId:i9,getAllByText:s9,getAllByTitle:a9,getByAltText:l9,getByDisplayValue:u9,getByLabelText:c9,getByPlaceholderText:d9,getByRole:p9,getByTestId:f9,getByText:h9,getByTitle:m9,getConfig:y9,getDefaultNormalizer:g9,getElementError:b9,getNodeText:v9,getQueriesForElement:E9,getRoles:_9,getSuggestedQuery:T9,isInaccessible:w9,logDOM:S9,logRoles:R9,prettyDOM:O9,queries:A9,queryAllByAltText:C9,queryAllByAttribute:P9,queryAllByDisplayValue:x9,queryAllByLabelText:N9,queryAllByPlaceholderText:I9,queryAllByRole:M9,queryAllByTestId:j9,queryAllByText:q9,queryAllByTitle:L9,queryByAltText:k9,queryByAttribute:D9,queryByDisplayValue:F9,queryByLabelText:$9,queryByPlaceholderText:B9,queryByRole:V9,queryByTestId:U9,queryByText:H9,queryByTitle:J9,queryHelpers:G9,screen:W9,waitFor:K9,waitForElementToBeRemoved:z9,within:NP,prettyFormat:Y9}=wh,IP=xP,{userEvent:X9}=Cl({userEvent:xP},{intercept:!0,getKeys:e=>Object.keys(e).filter(t=>t!=="eventWrapper")}),{expect:Q9}=Cl({expect:hA},{getKeys:(e,t)=>{if("constructor"in e&&e.constructor===B){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)},mutate:!0,intercept:e=>e!=="expect"}),Z9={mock:()=>{}},d_=!1,ez=e=>{let{parameters:t}=e;t?.actions?.disable||d_||(mA((r,n)=>{let o=r.getMockName();o!=="spy"&&o!=="vi.fn()"&&(!/^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)))&&Fl(o)(n)}),d_=!0)},tz=[ez],p_=()=>({...xS,...IS}),yc="backgrounds",rz={light:{name:"light",value:"#F8F8F8"},dark:{name:"dark",value:"#333"}},{document:Qr}=globalThis,nz=()=>globalThis?.matchMedia?!!globalThis.matchMedia("(prefers-reduced-motion: reduce)")?.matches:!1,f_=e=>{(Array.isArray(e)?e:[e]).forEach(oz)},oz=e=>{if(!Qr)return;let t=Qr.getElementById(e);t&&t.parentElement&&t.parentElement.removeChild(t)},iz=(e,t)=>{if(!Qr)return;let r=Qr.getElementById(e);if(r)r.innerHTML!==t&&(r.innerHTML=t);else{let n=Qr.createElement("style");n.setAttribute("id",e),n.innerHTML=t,Qr.head.appendChild(n)}},sz=(e,t,r)=>{if(!Qr)return;let n=Qr.getElementById(e);if(n)n.innerHTML!==t&&(n.innerHTML=t);else{let o=Qr.createElement("style");o.setAttribute("id",e),o.innerHTML=t;let i=`addon-backgrounds-grid${r?`-docs-${r}`:""}`,s=Qr.getElementById(i);s?s.parentElement?.insertBefore(o,s):Qr.head.appendChild(o)}},az={cellSize:100,cellAmount:10,opacity:.8},h_="addon-backgrounds",m_="addon-backgrounds-grid",lz=nz()?"":"transition: background-color 0.3s;",uz=(e,t)=>{let{globals:r={},parameters:n={},viewMode:o,id:i}=t,{options:s=rz,disable:a,grid:l=az}=n[yc]||{},u=r[yc]||{},c=typeof u=="string"?u:u?.value,d=c?s[c]:void 0,f=typeof d=="string"?d:d?.value||"transparent",h=typeof u=="string"?!1:u.grid||!1,m=!!d&&!a,g=o==="docs"?`#anchor--${i} .docs-story`:".sb-show-main",v=o==="docs"?`#anchor--${i} .docs-story`:".sb-show-main",b=n.layout===void 0||n.layout==="padded",E=o==="docs"?20:b?16:0,{cellAmount:S,cellSize:A,opacity:C,offsetX:T=E,offsetY:w=E}=l,_=o==="docs"?`${h_}-docs-${i}`:`${h_}-color`,R=o==="docs"?i:null;Ei(()=>{let N=`
353
+ ${g} {
354
+ background: ${f} !important;
355
+ ${lz}
356
+ }`;if(!m){f_(_);return}sz(_,N,R)},[g,_,R,m,f]);let M=o==="docs"?`${m_}-docs-${i}`:`${m_}`;return Ei(()=>{if(!h){f_(M);return}let N=[`${A*S}px ${A*S}px`,`${A*S}px ${A*S}px`,`${A}px ${A}px`,`${A}px ${A}px`].join(", "),q=`
357
+ ${v} {
358
+ background-size: ${N} !important;
359
+ background-position: ${T}px ${w}px, ${T}px ${w}px, ${T}px ${w}px, ${T}px ${w}px !important;
360
+ background-blend-mode: difference !important;
361
+ background-image: linear-gradient(rgba(130, 130, 130, ${C}) 1px, transparent 1px),
362
+ linear-gradient(90deg, rgba(130, 130, 130, ${C}) 1px, transparent 1px),
363
+ linear-gradient(rgba(130, 130, 130, ${C/2}) 1px, transparent 1px),
364
+ linear-gradient(90deg, rgba(130, 130, 130, ${C/2}) 1px, transparent 1px) !important;
365
+ }
366
+ `;iz(M,q)},[S,A,v,M,h,T,w,C]),e()},cz=globalThis.FEATURES?.backgrounds?[uz]:[],dz={[yc]:{grid:{cellSize:20,opacity:.5,cellAmount:5},disable:!1}},pz={[yc]:{value:void 0,grid:!1}},y_=()=>({decorators:cz,parameters:dz,initialGlobals:pz}),{step:fz}=Cl({step:async(e,t,r)=>t(r)},{intercept:!0}),g_=()=>({parameters:{throwPlayFunctionExceptions:!1},runStep:fz}),hz=e=>{let t=getComputedStyle(e),r=e.getBoundingClientRect();return!(r.width>0&&r.height>0&&t.visibility!=="hidden"&&Number(t.opacity)>0&&t.display!=="none")},mz=async({reporting:e,canvasElement:t,globals:r})=>{try{if(!r.ghostStories)return;let n=hz(t.firstElementChild??t);n&&e.addReport({type:"render-analysis",version:1,result:{emptyRender:n},status:"warning"})}catch{}},b_=()=>({afterEach:mz}),xd="storybook/highlight",yz=`${xd}/add`,gz=`${xd}/remove`,bz=`${xd}/reset`,vz=`${xd}/scroll-into-view`,v_=2147483647,Eo=28,E_={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"]},Ez="svg,path,rect,circle,line,polyline,polygon,ellipse,text".split(","),qt=(e,t={},r)=>{let n=Ez.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},cu=e=>E_[e]&&qt("svg",{width:"14",height:"14",viewBox:"0 0 14 14",xmlns:"http://www.w3.org/2000/svg"},E_[e].map(t=>qt("path",{fill:"currentColor","fill-rule":"evenodd","clip-rule":"evenodd",d:t}))),_z=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}},Tz=e=>e instanceof Function,sa=new Map,Zo=new Map,du=new Map,An=e=>{let t=Symbol();return Zo.set(t,[]),sa.set(t,e),{get:()=>sa.get(t),set:r=>{let n=sa.get(t),o=Tz(r)?r(n):r;o!==n&&(sa.set(t,o),Zo.get(t)?.forEach(i=>{du.get(i)?.(),du.set(i,i(o))}))},subscribe:r=>(Zo.get(t)?.push(r),()=>{let n=Zo.get(t);n&&Zo.set(t,n.filter(o=>o!==r))}),teardown:()=>{Zo.get(t)?.forEach(r=>{du.get(r)?.(),du.delete(r)}),Zo.delete(t),sa.delete(t)}}},__=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 a of s){let l=r.get(a);(!l||l.priority<=o)&&r.set(a,{...n,priority:o,selectors:Array.from(new Set((l?.selectors||[]).concat(i)))})}}}return r},wz=e=>Array.from(e.entries()).map(([t,{selectors:r,styles:n,hoverStyles:o,focusStyles:i,menu:s}])=>{let{top:a,left:l,width:u,height:c}=t.getBoundingClientRect(),{position:d}=getComputedStyle(t);return{element:t,selectors:r,styles:n,hoverStyles:o,focusStyles:i,menu:s,top:d==="fixed"?a:a+window.scrollY,left:d==="fixed"?l:l+window.scrollX,width:u,height:c}}).sort((t,r)=>r.width*r.height-t.width*t.height),T_=(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},w_=(e,t,r)=>{if(!t||!r)return!1;let{left:n,top:o,width:i,height:s}=e;s<Eo&&(o=o-Math.round((Eo-s)/2),s=Eo),i<Eo&&(n=n-Math.round((Eo-i)/2),i=Eo),t.style.position==="fixed"&&(n+=window.scrollX,o+=window.scrollY);let{x:a,y:l}=r;return a>=n&&a<=n+i&&l>=o&&l<=o+s},Sz=(e,t,r={})=>{let{x:n,y:o}=t,{margin:i=5,topOffset:s=0,centered:a=!1}=r,{scrollX:l,scrollY:u,innerHeight:c,innerWidth:d}=window,f=Math.min(e.style.position==="fixed"?o-u:o,c-e.clientHeight-i-s+u),h=a?e.clientWidth/2:0,m=e.style.position==="fixed"?Math.max(Math.min(n-l,d-h-i),h+i):Math.max(Math.min(n,d-h-i+l),h+i+l);Object.assign(e.style,{...m!==n&&{left:`${m}px`},...f!==o&&{top:`${f}px`}})},S_=e=>{window.HTMLElement.prototype.hasOwnProperty("showPopover")&&e.showPopover()},Rz=e=>{window.HTMLElement.prototype.hasOwnProperty("showPopover")&&e.hidePopover()},Oz=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}}),st="storybook-highlights-menu",R_="storybook-highlights-root",Az="storybook-root",Cz=e=>{if(globalThis.__STORYBOOK_HIGHLIGHT_INITIALIZED)return;globalThis.__STORYBOOK_HIGHLIGHT_INITIALIZED=!0;let{document:t}=globalThis,r=An([]),n=An(new Map),o=An([]),i=An(),s=An(),a=An([]),l=An([]),u=An(),c=An(),d=t.getElementById(R_);r.subscribe(()=>{d||(d=qt("div",{id:R_}),t.body.appendChild(d))}),r.subscribe(w=>{let _=t.getElementById(Az);if(!_)return;n.set(__(w));let R=new MutationObserver(()=>n.set(__(w)));return R.observe(_,{subtree:!0,childList:!0}),()=>{R.disconnect()}}),n.subscribe(w=>{let _=()=>requestAnimationFrame(()=>o.set(wz(w))),R=new ResizeObserver(_);R.observe(t.body),Array.from(w.keys()).forEach(N=>R.observe(N));let M=Array.from(t.body.querySelectorAll("*")).filter(N=>{let{overflow:q,overflowX:x,overflowY:P}=window.getComputedStyle(N);return["auto","scroll"].some(L=>[q,x,P].includes(L))});return M.forEach(N=>N.addEventListener("scroll",_)),()=>{R.disconnect(),M.forEach(N=>N.removeEventListener("scroll",_))}}),n.subscribe(w=>{let _=Array.from(w.keys()).filter(({style:M})=>M.position==="sticky"),R=()=>requestAnimationFrame(()=>{o.set(M=>M.map(N=>{if(_.includes(N.element)){let{top:q,left:x}=N.element.getBoundingClientRect();return{...N,top:q+window.scrollY,left:x+window.scrollX}}return N}))});return t.addEventListener("scroll",R),()=>t.removeEventListener("scroll",R)}),n.subscribe(w=>{a.set(_=>_.filter(({element:R})=>w.has(R)))}),a.subscribe(w=>{w.length?(c.set(_=>w.some(R=>R.element===_?.element)?_:void 0),u.set(_=>w.some(R=>R.element===_?.element)?_:void 0)):(c.set(void 0),u.set(void 0),i.set(void 0))});let f=new Map(new Map);r.subscribe(w=>{w.forEach(({keyframes:_})=>{if(_){let R=f.get(_);R||(R=t.createElement("style"),R.setAttribute("data-highlight","keyframes"),f.set(_,R),t.head.appendChild(R)),R.innerHTML=_}}),f.forEach((_,R)=>{w.some(M=>M.keyframes===R)||(_.remove(),f.delete(R))})});let h=new Map(new Map);o.subscribe(w=>{w.forEach(_=>{let R=h.get(_.element);if(d&&!R){let M={popover:"manual","data-highlight-dimensions":`w${_.width.toFixed(0)}h${_.height.toFixed(0)}`,"data-highlight-coordinates":`x${_.left.toFixed(0)}y${_.top.toFixed(0)}`};R=d.appendChild(qt("div",M,[qt("div")])),h.set(_.element,R)}}),h.forEach((_,R)=>{w.some(({element:M})=>M===R)||(_.remove(),h.delete(R))})}),o.subscribe(w=>{let _=w.filter(M=>M.menu);if(!_.length)return;let R=M=>{requestAnimationFrame(()=>{let N=t.getElementById(st),q={x:M.pageX,y:M.pageY};if(N&&!T_(N,q)){let x=_.filter(P=>{let L=h.get(P.element);return w_(P,L,q)});i.set(x.length?q:void 0),a.set(x)}})};return t.addEventListener("click",R),()=>t.removeEventListener("click",R)});let m=()=>{let w=t.getElementById(st),_=s.get();!_||w&&T_(w,_)||l.set(R=>{let M=o.get().filter(P=>{let L=h.get(P.element);return w_(P,L,_)}),N=R.filter(P=>M.includes(P)),q=M.filter(P=>!R.includes(P)),x=R.length-N.length;return q.length||x?[...N,...q]:R})};s.subscribe(m),o.subscribe(m);let g=()=>{let w=c.get(),_=w?[w]:a.get(),R=_.length===1?_[0]:u.get(),M=i.get()!==void 0;o.get().forEach(N=>{let q=h.get(N.element);if(q){let x=R===N,P=M?R?x:_.includes(N):l.get()?.includes(N);Object.assign(q.style,{animation:"none",background:"transparent",border:"none",boxSizing:"border-box",outline:"none",outlineOffset:"0px",...N.styles,...P?N.hoverStyles:{},...x?N.focusStyles:{},position:getComputedStyle(N.element).position==="fixed"?"fixed":"absolute",zIndex:v_-10,top:`${N.top}px`,left:`${N.left}px`,width:`${N.width}px`,height:`${N.height}px`,margin:0,padding:0,cursor:N.menu&&P?"pointer":"default",pointerEvents:N.menu?"auto":"none",display:"flex",alignItems:"center",justifyContent:"center",overflow:"visible"}),Object.assign(q.children[0].style,{width:"100%",height:"100%",minHeight:`${Eo}px`,minWidth:`${Eo}px`,boxSizing:"content-box",padding:q.style.outlineWidth||"0px"}),S_(q)}})};o.subscribe(g),a.subscribe(g),l.subscribe(g),u.subscribe(g),c.subscribe(g);let v=()=>{if(!d)return;let w=t.getElementById(st);if(w)w.innerHTML="";else{let N={id:st,popover:"manual"};w=d.appendChild(qt("div",N)),d.appendChild(qt("style",{},[`
367
+ #${st} {
368
+ position: absolute;
369
+ z-index: ${v_};
370
+ width: 300px;
371
+ padding: 0px;
372
+ margin: 15px 0 0 0;
373
+ transform: translateX(-50%);
374
+ font-family: "Nunito Sans", -apple-system, ".SFNSText-Regular", "San Francisco", BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
375
+ font-size: 12px;
376
+ background: white;
377
+ border: none;
378
+ border-radius: 6px;
379
+ box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.05), 0 5px 15px 0 rgba(0, 0, 0, 0.1);
380
+ color: #2E3438;
381
+ }
382
+ #${st} ul {
383
+ list-style: none;
384
+ margin: 0;
385
+ padding: 0;
386
+ }
387
+ #${st} > ul {
388
+ max-height: 300px;
389
+ overflow-y: auto;
390
+ padding: 4px 0;
391
+ }
392
+ #${st} li {
393
+ padding: 0 4px;
394
+ margin: 0;
395
+ }
396
+ #${st} li > :not(ul) {
397
+ display: flex;
398
+ padding: 8px;
399
+ margin: 0;
400
+ align-items: center;
401
+ gap: 8px;
402
+ border-radius: 4px;
403
+ }
404
+ #${st} button {
405
+ width: 100%;
406
+ border: 0;
407
+ background: transparent;
408
+ color: inherit;
409
+ text-align: left;
410
+ font-family: inherit;
411
+ font-size: inherit;
412
+ }
413
+ #${st} button:focus-visible {
414
+ outline-color: #029CFD;
415
+ }
416
+ #${st} button:hover {
417
+ background: rgba(2, 156, 253, 0.07);
418
+ color: #029CFD;
419
+ cursor: pointer;
420
+ }
421
+ #${st} li code {
422
+ white-space: nowrap;
423
+ overflow: hidden;
424
+ text-overflow: ellipsis;
425
+ line-height: 16px;
426
+ font-size: 11px;
427
+ }
428
+ #${st} li svg {
429
+ flex-shrink: 0;
430
+ margin: 1px;
431
+ color: #73828C;
432
+ }
433
+ #${st} li > button:hover svg, #${st} li > button:focus-visible svg {
434
+ color: #029CFD;
435
+ }
436
+ #${st} .element-list li svg {
437
+ display: none;
438
+ }
439
+ #${st} li.selectable svg, #${st} li.selected svg {
440
+ display: block;
441
+ }
442
+ #${st} .menu-list {
443
+ border-top: 1px solid rgba(38, 85, 115, 0.15);
444
+ }
445
+ #${st} .menu-list > li:not(:last-child) {
446
+ padding-bottom: 4px;
447
+ margin-bottom: 4px;
448
+ border-bottom: 1px solid rgba(38, 85, 115, 0.15);
449
+ }
450
+ #${st} .menu-items, #${st} .menu-items li {
451
+ padding: 0;
452
+ }
453
+ #${st} .menu-item {
454
+ display: flex;
455
+ }
456
+ #${st} .menu-item-content {
457
+ display: flex;
458
+ flex-direction: column;
459
+ flex-grow: 1;
460
+ }
461
+ `]))}let _=c.get(),R=_?[_]:a.get();if(R.length&&(w.style.position=getComputedStyle(R[0].element).position==="fixed"?"fixed":"absolute",w.appendChild(qt("ul",{class:"element-list"},R.map(N=>{let q=R.length>1&&!!N.menu?.some(L=>L.some($=>!$.selectors||$.selectors.some(V=>N.selectors.includes(V)))),x=q?{class:"selectable",onClick:()=>c.set(N),onMouseEnter:()=>u.set(N),onMouseLeave:()=>u.set(void 0)}:_?{class:"selected",onClick:()=>c.set(void 0)}:{},P=q||_;return qt("li",x,[qt(P?"button":"div",P?{type:"button"}:{},[_?cu("chevronLeft"):null,qt("code",{},[N.element.outerHTML]),q?cu("chevronRight"):null])])})))),c.get()||a.get().length===1){let N=c.get()||a.get()[0],q=N.menu?.filter(x=>x.some(P=>!P.selectors||P.selectors.some(L=>N.selectors.includes(L))));q?.length&&w.appendChild(qt("ul",{class:"menu-list"},q.map(x=>qt("li",{},[qt("ul",{class:"menu-items"},x.map(({id:P,title:L,description:$,iconLeft:V,iconRight:G,clickEvent:ie})=>{let Ee=ie&&(()=>e.emit(ie,P,Oz(N)));return qt("li",{},[qt(Ee?"button":"div",Ee?{class:"menu-item",type:"button",onClick:Ee}:{class:"menu-item"},[V?cu(V):null,qt("div",{class:"menu-item-content"},[qt($?"strong":"span",{},[L]),$&&qt("span",{},[$])]),G?cu(G):null])])}))]))))}let M=i.get();M?(Object.assign(w.style,{display:"block",left:`${w.style.position==="fixed"?M.x-window.scrollX:M.x}px`,top:`${w.style.position==="fixed"?M.y-window.scrollY:M.y}px`}),S_(w),requestAnimationFrame(()=>Sz(w,M,{topOffset:15,centered:!0}))):(Rz(w),Object.assign(w.style,{display:"none"}))};a.subscribe(v),c.subscribe(v);let b=w=>{let _=_z(w);r.set(R=>{let M=_.id?R.filter(N=>N.id!==_.id):R;return _.selectors?.length?[...M,_]:M})},E=w=>{w&&r.set(_=>_.filter(R=>R.id!==w))},S=()=>{r.set([]),n.set(new Map),o.set([]),i.set(void 0),s.set(void 0),a.set([]),l.set([]),u.set(void 0),c.set(void 0)},A,C=(w,_)=>{let R="scrollIntoView-highlight";clearTimeout(A),E(R);let M=t.querySelector(w);if(!M){console.warn(`Cannot scroll into view: ${w} not found`);return}M.scrollIntoView({behavior:"smooth",block:"center",..._});let N=`kf-${Math.random().toString(36).substring(2,15)}`;r.set(q=>[...q,{id:R,priority:1e3,selectors:[w],styles:{outline:"2px solid #1EA7FD",outlineOffset:"-1px",animation:`${N} 3s linear forwards`},keyframes:`@keyframes ${N} {
462
+ 0% { outline: 2px solid #1EA7FD; }
463
+ 20% { outline: 2px solid #1EA7FD00; }
464
+ 40% { outline: 2px solid #1EA7FD; }
465
+ 60% { outline: 2px solid #1EA7FD00; }
466
+ 80% { outline: 2px solid #1EA7FD; }
467
+ 100% { outline: 2px solid #1EA7FD00; }
468
+ }`}]),A=setTimeout(()=>E(R),3500)},T=w=>{requestAnimationFrame(()=>s.set({x:w.pageX,y:w.pageY}))};t.body.addEventListener("mousemove",T),e.on(yz,b),e.on(gz,E),e.on(bz,S),e.on(vz,C),e.on(vi,({newPhase:w})=>{w==="loading"&&S()})};globalThis?.FEATURES?.highlight&&Vr?.ready&&Vr.ready().then(Cz);var O_=()=>({}),Pz="measureEnabled";function MP(){let e=he.document.documentElement,t=Math.max(e.scrollHeight,e.offsetHeight);return{width:Math.max(e.scrollWidth,e.offsetWidth),height:t}}function xz(){let e=he.document.createElement("canvas");e.id="storybook-addon-measure";let t=e.getContext("2d");Un(t!=null);let{width:r,height:n}=MP();return Sh(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",he.document.body.appendChild(e),{canvas:e,context:t,width:r,height:n}}function Sh(e,t,{width:r,height:n}){e.style.width=`${r}px`,e.style.height=`${n}px`;let o=he.window.devicePixelRatio;e.width=Math.floor(r*o),e.height=Math.floor(n*o),t.scale(o,o)}var Lt={};function Nz(){Lt.canvas||(Lt=xz())}function jP(){Lt.context&&Lt.context.clearRect(0,0,Lt.width??0,Lt.height??0)}function Iz(e){jP(),e(Lt.context)}function Mz(){Un(Lt.canvas),Un(Lt.context),Sh(Lt.canvas,Lt.context,{width:0,height:0});let{width:e,height:t}=MP();Sh(Lt.canvas,Lt.context,{width:e,height:t}),Lt.width=e,Lt.height=t}function jz(){Lt.canvas&&(jP(),Lt.canvas.parentNode?.removeChild(Lt.canvas),Lt={})}var Fi={margin:"#f6b26b",border:"#ffe599",padding:"#93c47d",content:"#6fa8dc",text:"#232020"},Bn=6;function A_(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()}function qz(e,{padding:t,border:r,width:n,height:o,top:i,left:s}){let a=n-r.left-r.right-t.left-t.right,l=o-t.top-t.bottom-r.top-r.bottom,u=s+r.left+t.left,c=i+r.top+t.top;return e==="top"?u+=a/2:e==="right"?(u+=a,c+=l/2):e==="bottom"?(u+=a/2,c+=l):e==="left"?c+=l/2:e==="center"&&(u+=a/2,c+=l/2),{x:u,y:c}}function Lz(e,t,{margin:r,border:n,padding:o},i,s){let a=f=>0,l=0,u=0,c=s?1:.5,d=s?i*2:0;return e==="padding"?a=f=>o[f]*c+d:e==="border"?a=f=>o[f]+n[f]*c+d:e==="margin"&&(a=f=>o[f]+n[f]+r[f]*c+d),t==="top"?u=-a("top"):t==="right"?l=a("right"):t==="bottom"?u=a("bottom"):t==="left"&&(l=-a("left")),{offsetX:l,offsetY:u}}function kz(e,t){return Math.abs(e.x-t.x)<Math.abs(e.w+t.w)/2&&Math.abs(e.y-t.y)<Math.abs(e.h+t.h)/2}function Dz(e,t,r){return e==="top"?t.y=r.y-r.h-Bn:e==="right"?t.x=r.x+r.w/2+Bn+t.w/2:e==="bottom"?t.y=r.y+r.h+Bn:e==="left"&&(t.x=r.x-r.w/2-Bn-t.w/2),{x:t.x,y:t.y}}function qP(e,t,{x:r,y:n,w:o,h:i},s){return A_(e,{x:r,y:n,w:o,h:i,r:3}),e.fillStyle=`${Fi[t]}dd`,e.fill(),e.strokeStyle=Fi[t],e.stroke(),e.fillStyle=Fi.text,e.fillText(s,r,n),A_(e,{x:r,y:n,w:o,h:i,r:3}),e.fillStyle=`${Fi[t]}dd`,e.fill(),e.strokeStyle=Fi[t],e.stroke(),e.fillStyle=Fi.text,e.fillText(s,r,n),{x:r,y:n,w:o,h:i}}function LP(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+Bn*2,i=n+Bn*2;return{w:o,h:i}}function Fz(e,t,{type:r,position:n="center",text:o},i,s=!1){let{x:a,y:l}=qz(n,t),{offsetX:u,offsetY:c}=Lz(r,n,t,Bn+1,s);a+=u,l+=c;let{w:d,h:f}=LP(e,o);if(i&&kz({x:a,y:l,w:d,h:f},i)){let h=Dz(n,{x:a,y:l,w:d},i);a=h.x,l=h.y}return qP(e,r,{x:a,y:l,w:d,h:f},o)}function $z(e,{w:t,h:r}){let n=t*.5+Bn,o=r*.5+Bn;return{offsetX:(e.x==="left"?-1:1)*n,offsetY:(e.y==="top"?-1:1)*o}}function Bz(e,t,{type:r,text:n}){let{floatingAlignment:o,extremities:i}=t,s=i[o.x],a=i[o.y],{w:l,h:u}=LP(e,n),{offsetX:c,offsetY:d}=$z(o,{w:l,h:u});return s+=c,a+=d,qP(e,r,{x:s,y:a,w:l,h:u},n)}function aa(e,t,r,n){let o=[];r.forEach((i,s)=>{let a=n&&i.position==="center"?Bz(e,t,i):Fz(e,t,i,o[s-1],n);o[s]=a})}function Vz(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&&aa(e,t,o.top,n),o.right&&aa(e,t,o.right,n),o.bottom&&aa(e,t,o.bottom,n),o.left&&aa(e,t,o.left,n),o.center&&aa(e,t,o.center,n)}var Nd={margin:"#f6b26ba8",border:"#ffe599a8",padding:"#93c47d8c",content:"#6fa8dca8"},C_=30;function qr(e){return parseInt(e.replace("px",""),10)}function zi(e){return Number.isInteger(e)?e:e.toFixed(2)}function cg(e){return e.filter(t=>t.text!==0&&t.text!=="0")}function Uz(e){let t={top:he.window.scrollY,bottom:he.window.scrollY+he.window.innerHeight,left:he.window.scrollX,right:he.window.scrollX+he.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"}}function Hz(e){let t=he.getComputedStyle(e),{top:r,left:n,right:o,bottom:i,width:s,height:a}=e.getBoundingClientRect(),{marginTop:l,marginBottom:u,marginLeft:c,marginRight:d,paddingTop:f,paddingBottom:h,paddingLeft:m,paddingRight:g,borderBottomWidth:v,borderTopWidth:b,borderLeftWidth:E,borderRightWidth:S}=t;r=r+he.window.scrollY,n=n+he.window.scrollX,i=i+he.window.scrollY,o=o+he.window.scrollX;let A={top:qr(l),bottom:qr(u),left:qr(c),right:qr(d)},C={top:qr(f),bottom:qr(h),left:qr(m),right:qr(g)},T={top:qr(b),bottom:qr(v),left:qr(E),right:qr(S)},w={top:r-A.top,bottom:i+A.bottom,left:n-A.left,right:o+A.right};return{margin:A,padding:C,border:T,top:r,left:n,bottom:i,right:o,width:s,height:a,extremities:w,floatingAlignment:Uz(w)}}function Jz(e,{margin:t,width:r,height:n,top:o,left:i,bottom:s,right:a}){let l=n+t.bottom+t.top;e.fillStyle=Nd.margin,e.fillRect(i,o-t.top,r,t.top),e.fillRect(a,o-t.top,t.right,l),e.fillRect(i,s,r,t.bottom),e.fillRect(i-t.left,o-t.top,t.left,l);let u=[{type:"margin",text:zi(t.top),position:"top"},{type:"margin",text:zi(t.right),position:"right"},{type:"margin",text:zi(t.bottom),position:"bottom"},{type:"margin",text:zi(t.left),position:"left"}];return cg(u)}function Gz(e,{padding:t,border:r,width:n,height:o,top:i,left:s,bottom:a,right:l}){let u=n-r.left-r.right,c=o-t.top-t.bottom-r.top-r.bottom;e.fillStyle=Nd.padding,e.fillRect(s+r.left,i+r.top,u,t.top),e.fillRect(l-t.right-r.right,i+t.top+r.top,t.right,c),e.fillRect(s+r.left,a-t.bottom-r.bottom,u,t.bottom),e.fillRect(s+r.left,i+t.top+r.top,t.left,c);let d=[{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 cg(d)}function Wz(e,{border:t,width:r,height:n,top:o,left:i,bottom:s,right:a}){let l=n-t.top-t.bottom;e.fillStyle=Nd.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,l),e.fillRect(a-t.right,o+t.top,t.right,l);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 cg(u)}function Kz(e,{padding:t,border:r,width:n,height:o,top:i,left:s}){let a=n-r.left-r.right-t.left-t.right,l=o-t.top-t.bottom-r.top-r.bottom;return e.fillStyle=Nd.content,e.fillRect(s+r.left+t.left,i+r.top+t.top,a,l),[{type:"content",position:"center",text:`${zi(a)} x ${zi(l)}`}]}function zz(e){return t=>{if(e&&t){let r=Hz(e),n=Jz(t,r),o=Gz(t,r),i=Wz(t,r),s=Kz(t,r),a=r.width<=C_*3||r.height<=C_;Vz(t,r,[...s,...o,...i,...n],a)}}}function Yz(e){Iz(zz(e))}var Xz=(e,t)=>{let r=he.document.elementFromPoint(e,t),n=o=>{if(o&&o.shadowRoot){let i=o.shadowRoot.elementFromPoint(e,t);return o.isEqualNode(i)?o:i.shadowRoot?n(i):i}return o};return n(r)||r},P_,pu={x:0,y:0};function x_(e,t){P_=Xz(e,t),Yz(P_)}var Qz=(e,t)=>{let{measureEnabled:r}=t.globals||{};return Ei(()=>{if(typeof globalThis.document>"u")return;let n=o=>{window.requestAnimationFrame(()=>{o.stopPropagation(),pu.x=o.clientX,pu.y=o.clientY})};return globalThis.document.addEventListener("pointermove",n),()=>{globalThis.document.removeEventListener("pointermove",n)}},[]),Ei(()=>{let n=i=>{window.requestAnimationFrame(()=>{i.stopPropagation(),x_(i.clientX,i.clientY)})},o=()=>{window.requestAnimationFrame(()=>{Mz()})};return t.viewMode==="story"&&r&&(globalThis.document.addEventListener("pointerover",n),Nz(),globalThis.window.addEventListener("resize",o),x_(pu.x,pu.y)),()=>{globalThis.window.removeEventListener("resize",o),jz()}},[r,t.viewMode]),e()},Zz=globalThis.FEATURES?.measure?[Qz]:[],e4={[Pz]:!1},N_=()=>({decorators:Zz,initialGlobals:e4}),kP="outline",I_=e=>{(Array.isArray(e)?e:[e]).forEach(t4)},t4=e=>{let t=typeof e=="string"?e:e.join(""),r=he.document.getElementById(t);r&&r.parentElement&&r.parentElement.removeChild(r)},r4=(e,t)=>{let r=he.document.getElementById(e);if(r)r.innerHTML!==t&&(r.innerHTML=t);else{let n=he.document.createElement("style");n.setAttribute("id",e),n.innerHTML=t,he.document.head.appendChild(n)}};function n4(e){return Be`
469
+ ${e} body {
470
+ outline: 1px solid #2980b9 !important;
471
+ }
472
+
473
+ ${e} article {
474
+ outline: 1px solid #3498db !important;
475
+ }
476
+
477
+ ${e} nav {
478
+ outline: 1px solid #0088c3 !important;
479
+ }
480
+
481
+ ${e} aside {
482
+ outline: 1px solid #33a0ce !important;
483
+ }
484
+
485
+ ${e} section {
486
+ outline: 1px solid #66b8da !important;
487
+ }
488
+
489
+ ${e} header {
490
+ outline: 1px solid #99cfe7 !important;
491
+ }
492
+
493
+ ${e} footer {
494
+ outline: 1px solid #cce7f3 !important;
495
+ }
496
+
497
+ ${e} h1 {
498
+ outline: 1px solid #162544 !important;
499
+ }
500
+
501
+ ${e} h2 {
502
+ outline: 1px solid #314e6e !important;
503
+ }
504
+
505
+ ${e} h3 {
506
+ outline: 1px solid #3e5e85 !important;
507
+ }
508
+
509
+ ${e} h4 {
510
+ outline: 1px solid #449baf !important;
511
+ }
512
+
513
+ ${e} h5 {
514
+ outline: 1px solid #c7d1cb !important;
515
+ }
516
+
517
+ ${e} h6 {
518
+ outline: 1px solid #4371d0 !important;
519
+ }
520
+
521
+ ${e} main {
522
+ outline: 1px solid #2f4f90 !important;
523
+ }
524
+
525
+ ${e} address {
526
+ outline: 1px solid #1a2c51 !important;
527
+ }
528
+
529
+ ${e} div {
530
+ outline: 1px solid #036cdb !important;
531
+ }
532
+
533
+ ${e} p {
534
+ outline: 1px solid #ac050b !important;
535
+ }
536
+
537
+ ${e} hr {
538
+ outline: 1px solid #ff063f !important;
539
+ }
540
+
541
+ ${e} pre {
542
+ outline: 1px solid #850440 !important;
543
+ }
544
+
545
+ ${e} blockquote {
546
+ outline: 1px solid #f1b8e7 !important;
547
+ }
548
+
549
+ ${e} ol {
550
+ outline: 1px solid #ff050c !important;
551
+ }
552
+
553
+ ${e} ul {
554
+ outline: 1px solid #d90416 !important;
555
+ }
556
+
557
+ ${e} li {
558
+ outline: 1px solid #d90416 !important;
559
+ }
560
+
561
+ ${e} dl {
562
+ outline: 1px solid #fd3427 !important;
563
+ }
564
+
565
+ ${e} dt {
566
+ outline: 1px solid #ff0043 !important;
567
+ }
568
+
569
+ ${e} dd {
570
+ outline: 1px solid #e80174 !important;
571
+ }
572
+
573
+ ${e} figure {
574
+ outline: 1px solid #ff00bb !important;
575
+ }
576
+
577
+ ${e} figcaption {
578
+ outline: 1px solid #bf0032 !important;
579
+ }
580
+
581
+ ${e} table {
582
+ outline: 1px solid #00cc99 !important;
583
+ }
584
+
585
+ ${e} caption {
586
+ outline: 1px solid #37ffc4 !important;
587
+ }
588
+
589
+ ${e} thead {
590
+ outline: 1px solid #98daca !important;
591
+ }
592
+
593
+ ${e} tbody {
594
+ outline: 1px solid #64a7a0 !important;
595
+ }
596
+
597
+ ${e} tfoot {
598
+ outline: 1px solid #22746b !important;
599
+ }
600
+
601
+ ${e} tr {
602
+ outline: 1px solid #86c0b2 !important;
603
+ }
604
+
605
+ ${e} th {
606
+ outline: 1px solid #a1e7d6 !important;
607
+ }
608
+
609
+ ${e} td {
610
+ outline: 1px solid #3f5a54 !important;
611
+ }
612
+
613
+ ${e} col {
614
+ outline: 1px solid #6c9a8f !important;
615
+ }
616
+
617
+ ${e} colgroup {
618
+ outline: 1px solid #6c9a9d !important;
619
+ }
620
+
621
+ ${e} button {
622
+ outline: 1px solid #da8301 !important;
623
+ }
624
+
625
+ ${e} datalist {
626
+ outline: 1px solid #c06000 !important;
627
+ }
628
+
629
+ ${e} fieldset {
630
+ outline: 1px solid #d95100 !important;
631
+ }
632
+
633
+ ${e} form {
634
+ outline: 1px solid #d23600 !important;
635
+ }
636
+
637
+ ${e} input {
638
+ outline: 1px solid #fca600 !important;
639
+ }
640
+
641
+ ${e} keygen {
642
+ outline: 1px solid #b31e00 !important;
643
+ }
644
+
645
+ ${e} label {
646
+ outline: 1px solid #ee8900 !important;
647
+ }
648
+
649
+ ${e} legend {
650
+ outline: 1px solid #de6d00 !important;
651
+ }
652
+
653
+ ${e} meter {
654
+ outline: 1px solid #e8630c !important;
655
+ }
656
+
657
+ ${e} optgroup {
658
+ outline: 1px solid #b33600 !important;
659
+ }
660
+
661
+ ${e} option {
662
+ outline: 1px solid #ff8a00 !important;
663
+ }
664
+
665
+ ${e} output {
666
+ outline: 1px solid #ff9619 !important;
667
+ }
668
+
669
+ ${e} progress {
670
+ outline: 1px solid #e57c00 !important;
671
+ }
672
+
673
+ ${e} select {
674
+ outline: 1px solid #e26e0f !important;
675
+ }
676
+
677
+ ${e} textarea {
678
+ outline: 1px solid #cc5400 !important;
679
+ }
680
+
681
+ ${e} details {
682
+ outline: 1px solid #33848f !important;
683
+ }
684
+
685
+ ${e} summary {
686
+ outline: 1px solid #60a1a6 !important;
687
+ }
688
+
689
+ ${e} command {
690
+ outline: 1px solid #438da1 !important;
691
+ }
692
+
693
+ ${e} menu {
694
+ outline: 1px solid #449da6 !important;
695
+ }
696
+
697
+ ${e} del {
698
+ outline: 1px solid #bf0000 !important;
699
+ }
700
+
701
+ ${e} ins {
702
+ outline: 1px solid #400000 !important;
703
+ }
704
+
705
+ ${e} img {
706
+ outline: 1px solid #22746b !important;
707
+ }
708
+
709
+ ${e} iframe {
710
+ outline: 1px solid #64a7a0 !important;
711
+ }
712
+
713
+ ${e} embed {
714
+ outline: 1px solid #98daca !important;
715
+ }
716
+
717
+ ${e} object {
718
+ outline: 1px solid #00cc99 !important;
719
+ }
720
+
721
+ ${e} param {
722
+ outline: 1px solid #37ffc4 !important;
723
+ }
724
+
725
+ ${e} video {
726
+ outline: 1px solid #6ee866 !important;
727
+ }
728
+
729
+ ${e} audio {
730
+ outline: 1px solid #027353 !important;
731
+ }
732
+
733
+ ${e} source {
734
+ outline: 1px solid #012426 !important;
735
+ }
736
+
737
+ ${e} canvas {
738
+ outline: 1px solid #a2f570 !important;
739
+ }
740
+
741
+ ${e} track {
742
+ outline: 1px solid #59a600 !important;
743
+ }
744
+
745
+ ${e} map {
746
+ outline: 1px solid #7be500 !important;
747
+ }
748
+
749
+ ${e} area {
750
+ outline: 1px solid #305900 !important;
751
+ }
752
+
753
+ ${e} a {
754
+ outline: 1px solid #ff62ab !important;
755
+ }
756
+
757
+ ${e} em {
758
+ outline: 1px solid #800b41 !important;
759
+ }
760
+
761
+ ${e} strong {
762
+ outline: 1px solid #ff1583 !important;
763
+ }
764
+
765
+ ${e} i {
766
+ outline: 1px solid #803156 !important;
767
+ }
768
+
769
+ ${e} b {
770
+ outline: 1px solid #cc1169 !important;
771
+ }
772
+
773
+ ${e} u {
774
+ outline: 1px solid #ff0430 !important;
775
+ }
776
+
777
+ ${e} s {
778
+ outline: 1px solid #f805e3 !important;
779
+ }
780
+
781
+ ${e} small {
782
+ outline: 1px solid #d107b2 !important;
783
+ }
784
+
785
+ ${e} abbr {
786
+ outline: 1px solid #4a0263 !important;
787
+ }
788
+
789
+ ${e} q {
790
+ outline: 1px solid #240018 !important;
791
+ }
792
+
793
+ ${e} cite {
794
+ outline: 1px solid #64003c !important;
795
+ }
796
+
797
+ ${e} dfn {
798
+ outline: 1px solid #b4005a !important;
799
+ }
800
+
801
+ ${e} sub {
802
+ outline: 1px solid #dba0c8 !important;
803
+ }
804
+
805
+ ${e} sup {
806
+ outline: 1px solid #cc0256 !important;
807
+ }
808
+
809
+ ${e} time {
810
+ outline: 1px solid #d6606d !important;
811
+ }
812
+
813
+ ${e} code {
814
+ outline: 1px solid #e04251 !important;
815
+ }
816
+
817
+ ${e} kbd {
818
+ outline: 1px solid #5e001f !important;
819
+ }
820
+
821
+ ${e} samp {
822
+ outline: 1px solid #9c0033 !important;
823
+ }
824
+
825
+ ${e} var {
826
+ outline: 1px solid #d90047 !important;
827
+ }
828
+
829
+ ${e} mark {
830
+ outline: 1px solid #ff0053 !important;
831
+ }
832
+
833
+ ${e} bdi {
834
+ outline: 1px solid #bf3668 !important;
835
+ }
836
+
837
+ ${e} bdo {
838
+ outline: 1px solid #6f1400 !important;
839
+ }
840
+
841
+ ${e} ruby {
842
+ outline: 1px solid #ff7b93 !important;
843
+ }
844
+
845
+ ${e} rt {
846
+ outline: 1px solid #ff2f54 !important;
847
+ }
848
+
849
+ ${e} rp {
850
+ outline: 1px solid #803e49 !important;
851
+ }
852
+
853
+ ${e} span {
854
+ outline: 1px solid #cc2643 !important;
855
+ }
856
+
857
+ ${e} br {
858
+ outline: 1px solid #db687d !important;
859
+ }
860
+
861
+ ${e} wbr {
862
+ outline: 1px solid #db175b !important;
863
+ }`}var o4=(e,t)=>{let r=t.globals||{},n=[!0,"true"].includes(r[kP]),o=t.viewMode==="docs",i=OS(()=>n4(o?'[data-story-block="true"]':".sb-show-main"),[t]);return Ei(()=>{let s=o?`addon-outline-docs-${t.id}`:"addon-outline";return n?r4(s,i):I_(s),()=>{I_(s)}},[n,i,t]),e()},i4=globalThis.FEATURES?.outline?[o4]:[],s4={[kP]:!1},M_=()=>({decorators:i4,initialGlobals:s4}),a4=({parameters:e})=>{e?.test?.mockReset===!0?vA():e?.test?.clearMocks===!0?bA():e?.test?.restoreMocks!==!1&&EA()},Rh=(e,t=0,r)=>{if(t>5||e==null)return e;if(es(e))return r&&e.mockName(r),e;if(typeof e=="function"&&"isAction"in e&&e.isAction&&!("implicit"in e&&e.implicit)){let n=yA(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]=Rh(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]=Rh(o,t,n));return e}return e},l4=({initialArgs:e})=>{Rh(e)},j_=!1,u4=async e=>{globalThis.HTMLElement&&e.canvasElement instanceof globalThis.HTMLElement&&(e.canvas=NP(e.canvasElement));try{let t=globalThis.window?.navigator?.clipboard;if(t&&(e.userEvent=Cl({userEvent:IP.setup()},{intercept:!0,getKeys:r=>Object.keys(r).filter(n=>n!=="eventWrapper")}).userEvent,Object.defineProperty(globalThis.window.navigator,"clipboard",{get:()=>t,configurable:!0}),!j_)){let r=HTMLElement.prototype.focus,n=HTMLElement.prototype.focus,o=new Set;Object.defineProperties(HTMLElement.prototype,{focus:{configurable:!0,set:i=>{n=i},get(){return o.has(this)?r:(o.add(this),setTimeout(()=>o.delete(this),0),n)}}}),j_=!0}}catch{}},q_=()=>({loaders:[a4,l4,u4]}),c4="viewport",d4={[c4]:{value:void 0,isRotated:!1}},L_=()=>({initialGlobals:d4});function DP(){return[(N_.default??N_)(),(y_.default??y_)(),(O_.default??O_)(),(M_.default??M_)(),(L_.default??L_)(),(p_.default??p_)(),(g_.default??g_)(),(q_.default??q_)(),(b_.default??b_)()]}function p4(e){return e!=null&&typeof e=="object"&&"_tag"in e&&e?._tag==="Meta"}function gc(e){return e!=null&&typeof e=="object"&&"_tag"in e&&e?._tag==="Story"}function f4(e){return"__children"in e?e.__children:[]}var FP=e=>e.toLowerCase().replace(/[ ’–—―′¿'`~!@#$%^&*()_|+\-=?;:'",.<>\{\}\[\]\\\/]/gi,"-").replace(/-+/g,"-").replace(/^-+/,"").replace(/-+$/,""),Oh=(e,t)=>{let r=FP(e);if(r==="")throw new Error(`Invalid ${t} '${e}', must include alphanumeric characters`);return r},h4=(e,t)=>`${Oh(e,"kind")}${t?`--${Oh(t,"name")}`:""}`,m4=(e,t)=>`${e}:${Oh(t,"test")}`,y4=e=>J2(e);function k_(e,t){return Array.isArray(t)?t.includes(e):e.match(t)}function Ah(e,{includeStories:t,excludeStories:r}){return e!=="__esModule"&&(!t||k_(e,t))&&(!r||!k_(e,r))}var g4=(...e)=>{let t=e.reduce((r,n)=>(n.startsWith("!")?r.delete(n.slice(1)):r.add(n),r),new Set);return Array.from(t)};function D_(e){return Object.getOwnPropertySymbols(e).filter(t=>Object.prototype.propertyIsEnumerable.call(e,t))}function F_(e){return e==null?e===void 0?"[object Undefined]":"[object Null]":Object.prototype.toString.call(e)}var b4="[object RegExp]",v4="[object String]",E4="[object Number]",_4="[object Boolean]",$_="[object Arguments]",T4="[object Symbol]",w4="[object Date]",S4="[object Map]",R4="[object Set]",O4="[object Array]",A4="[object Function]",C4="[object ArrayBuffer]",Yp="[object Object]",P4="[object Error]",x4="[object DataView]",N4="[object Uint8Array]",I4="[object Uint8ClampedArray]",M4="[object Uint16Array]",j4="[object Uint32Array]",q4="[object BigUint64Array]",L4="[object Int8Array]",k4="[object Int16Array]",D4="[object Int32Array]",F4="[object BigInt64Array]",$4="[object Float32Array]",B4="[object Float64Array]";function vn(e){if(!e||typeof e!="object")return!1;let t=Object.getPrototypeOf(e);return t===null||t===Object.prototype||Object.getPrototypeOf(t)===null?Object.prototype.toString.call(e)==="[object Object]":!1}function sl(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}function V4(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}var Xp=_t(Yw(),1);function U4(e,t){return e===t||Number.isNaN(e)&&Number.isNaN(t)}function H4(e,t,r){return ba(e,t,void 0,void 0,void 0,void 0,r)}function ba(e,t,r,n,o,i,s){let a=s(e,t,r,n,o,i);if(a!==void 0)return a;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 Aa(e,t,i,s)}return Aa(e,t,i,s)}function Aa(e,t,r,n){if(Object.is(e,t))return!0;let o=F_(e),i=F_(t);if(o===$_&&(o=Yp),i===$_&&(i=Yp),o!==i)return!1;switch(o){case v4:return e.toString()===t.toString();case E4:{let l=e.valueOf(),u=t.valueOf();return U4(l,u)}case _4:case w4:case T4:return Object.is(e.valueOf(),t.valueOf());case b4:return e.source===t.source&&e.flags===t.flags;case A4:return e===t}r=r??new Map;let s=r.get(e),a=r.get(t);if(s!=null&&a!=null)return s===t;r.set(e,t),r.set(t,e);try{switch(o){case S4:{if(e.size!==t.size)return!1;for(let[l,u]of e.entries())if(!t.has(l)||!ba(u,t.get(l),l,e,t,r,n))return!1;return!0}case R4:{if(e.size!==t.size)return!1;let l=Array.from(e.values()),u=Array.from(t.values());for(let c=0;c<l.length;c++){let d=l[c],f=u.findIndex(h=>ba(d,h,void 0,e,t,r,n));if(f===-1)return!1;u.splice(f,1)}return!0}case O4:case N4:case I4:case M4:case j4:case q4:case L4:case k4:case D4:case F4:case $4:case B4:{if(typeof Buffer<"u"&&Buffer.isBuffer(e)!==Buffer.isBuffer(t)||e.length!==t.length)return!1;for(let l=0;l<e.length;l++)if(!ba(e[l],t[l],l,e,t,r,n))return!1;return!0}case C4:return e.byteLength!==t.byteLength?!1:Aa(new Uint8Array(e),new Uint8Array(t),r,n);case x4:return e.byteLength!==t.byteLength||e.byteOffset!==t.byteOffset?!1:Aa(new Uint8Array(e),new Uint8Array(t),r,n);case P4:return e.name===t.name&&e.message===t.message;case Yp:{if(!(Aa(e.constructor,t.constructor,r,n)||vn(e)&&vn(t)))return!1;let l=[...Object.keys(e),...D_(e)],u=[...Object.keys(t),...D_(t)];if(l.length!==u.length)return!1;for(let c=0;c<l.length;c++){let d=l[c],f=e[d];if(!Object.hasOwn(t,d))return!1;let h=t[d];if(!ba(f,h,d,e,t,r,n))return!1}return!0}default:return!1}}finally{r.delete(e),r.delete(t)}}function J4(){}function G4(e,t){return H4(e,t,J4)}var ii=Symbol("incompatible"),Ch=(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)?ii:e.reduce((n,o,i)=>{let s=Ch(o,{type:r.value});return s!==ii&&(n[i]=s),n},new Array(e.length));case"object":return typeof e=="string"||typeof e=="number"?e:!r.value||typeof e!="object"?ii:Object.entries(e).reduce((n,[o,i])=>{let s=Ch(i,{type:r.value[o]});return s===ii?n:Object.assign(n,{[o]:s})},{});case"other":{let n=typeof e=="string"||typeof e=="number"||typeof e=="boolean";return r.value==="ReactNode"&&n?e:ii}default:return ii}},W4=(e,t)=>Object.entries(e).reduce((r,[n,o])=>{if(!t[n])return r;let i=Ch(o,t[n]);return i===ii?r:Object.assign(r,{[n]:i})},{}),bc=(e,t)=>Array.isArray(e)&&Array.isArray(t)?t.reduce((r,n,o)=>(r[o]=bc(e[o],t[o]),r),[...e]).filter(r=>r!==void 0):!vn(e)||!vn(t)?t:Object.keys({...e,...t}).reduce((r,n)=>{if(n in t){let o=bc(e[n],t[n]);o!==void 0&&(r[n]=o)}else r[n]=e[n];return r},{}),K4=(e,t)=>Object.entries(t).reduce((r,[n,{options:o}])=>{function i(){return n in e&&(r[n]=e[n]),r}if(!o)return i();if(!Array.isArray(o))return Et.error(Be`
864
+ Invalid argType: '${n}.options' should be an array.
865
+
866
+ More info: https://storybook.js.org/docs/api/arg-types?ref=error
867
+ `),i();if(o.some(d=>d&&["object","function"].includes(typeof d)))return Et.error(Be`
868
+ Invalid argType: '${n}.options' should only contain primitives. Use a 'mapping' for complex values.
869
+
870
+ More info: https://storybook.js.org/docs/writing-stories/args?ref=error#mapping-to-complex-arg-values
871
+ `),i();let s=Array.isArray(e[n]),a=s&&e[n].findIndex(d=>!o.includes(d)),l=s&&a===-1;if(e[n]===void 0||o.includes(e[n])||l)return i();let u=s?`${n}[${a}]`:n,c=o.map(d=>typeof d=="string"?`'${d}'`:String(d)).join(", ");return Et.warn(`Received illegal value for '${u}'. Supported options: ${c}`),r},{}),Ca=Symbol("Deeply equal"),vc=(e,t)=>{if(typeof e!=typeof t)return t;if(G4(e,t))return Ca;if(Array.isArray(e)&&Array.isArray(t)){let r=t.reduce((n,o,i)=>{let s=vc(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 vn(e)&&vn(t)?Object.keys({...e,...t}).reduce((r,n)=>{let o=vc(e?.[n],t?.[n]);return o===Ca?r:Object.assign(r,{[n]:o})},{}):t},$P="UNTARGETED";function z4({args:e,argTypes:t}){let r={};return Object.entries(e).forEach(([n,o])=>{let{target:i=$P}=t[n]||{};r[i]=r[i]||{},r[i][n]=o}),r}function Y4(e){return Object.keys(e).forEach(t=>e[t]===void 0&&delete e[t]),e}var X4=class{constructor(){this.initialArgsByStoryId={},this.argsByStoryId={}}get(e){if(!(e in this.argsByStoryId))throw new Error(`No args known for ${e} -- has it been rendered yet?`);return this.argsByStoryId[e]}setInitial(e){if(!this.initialArgsByStoryId[e.id])this.initialArgsByStoryId[e.id]=e.initialArgs,this.argsByStoryId[e.id]=e.initialArgs;else if(this.initialArgsByStoryId[e.id]!==e.initialArgs){let t=vc(this.initialArgsByStoryId[e.id],this.argsByStoryId[e.id]);this.initialArgsByStoryId[e.id]=e.initialArgs,this.argsByStoryId[e.id]=e.initialArgs,t!==Ca&&this.updateFromDelta(e,t)}}updateFromDelta(e,t){let r=K4(t,e.argTypes);this.argsByStoryId[e.id]=bc(this.argsByStoryId[e.id],r)}updateFromPersisted(e,t){let r=W4(t,e.argTypes);return this.updateFromDelta(e,r)}update(e,t){if(!(e in this.argsByStoryId))throw new Error(`No args known for ${e} -- has it been rendered yet?`);this.argsByStoryId[e]=Y4({...this.argsByStoryId[e],...t})}},BP=(e={})=>Object.entries(e).reduce((t,[r,{defaultValue:n}])=>(typeof n<"u"&&(t[r]=n),t),{}),Q4=class{constructor({globals:e={},globalTypes:t={}}){this.set({globals:e,globalTypes:t})}set({globals:e={},globalTypes:t={}}){let r=this.initialGlobals&&vc(this.initialGlobals,this.globals);this.allowedGlobalNames=new Set([...Object.keys(e),...Object.keys(t)]);let n=BP(t);this.initialGlobals={...n,...e},this.globals=this.initialGlobals,r&&r!==Ca&&this.updateFromPersisted(r)}filterAllowedGlobals(e){return Object.entries(e).reduce((t,[r,n])=>(this.allowedGlobalNames.has(r)?t[r]=n:lt.warn(`Attempted to set a global (${r}) that is not defined in initial globals or globalTypes`),t),{})}updateFromPersisted(e){let t=this.filterAllowedGlobals(e);this.globals={...this.globals,...t}}get(){return this.globals}update(e){this.globals={...this.globals,...this.filterAllowedGlobals(e)};for(let t in e)e[t]===void 0&&(this.globals[t]=this.initialGlobals[t])}},Z4=_t(Yw(),1),eY=(0,Z4.default)(1)(e=>Object.values(e).reduce((t,r)=>(t[r.importPath]=t[r.importPath]||r,t),{})),tY=class{constructor({entries:e}={v:5,entries:{}}){this.entries=e}entryFromSpecifier(e){let t=Object.values(this.entries);if(e==="*")return t[0];if(typeof e=="string")return this.entries[e]?this.entries[e]:t.find(o=>o.id.startsWith(e));let{name:r,title:n}=e;return t.find(o=>o.name===r&&o.title===n)}storyIdToEntry(e){let t=this.entries[e];if(!t)throw new tS({storyId:e});return t}importPathToEntry(e){return eY(this.entries)[e]}},rY=e=>typeof e=="string"?{name:e}:e,nY=e=>typeof e=="string"?{type:e}:e,oY=(e,t)=>{let{type:r,control:n,...o}=e,i={name:t,...o};return r&&(i.type=rY(r)),n?i.control=nY(n):n===!1&&(i.control={disable:!0}),i},dg=e=>sl(e,oY),ot=e=>Array.isArray(e)?e:e?[e]:[],iY=Be`
872
+ CSF .story annotations deprecated; annotate story functions directly:
873
+ - StoryFn.story.name => StoryFn.storyName
874
+ - StoryFn.story.(parameters|decorators) => StoryFn.(parameters|decorators)
875
+ See https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#hoisted-csf-annotations for details and codemod.
876
+ `;function Pa(e,t,r){let n=t,o=typeof t=="function"?t:null,{story:i}=n;i&&(lt.debug("deprecated story",i),Pm(iY));let s=y4(e),a=typeof n!="function"&&n.name||n.storyName||i?.name||s,l=[...ot(n.decorators),...ot(i?.decorators)],u={...i?.parameters,...n.parameters},c={...i?.args,...n.args},d={...i?.argTypes,...n.argTypes},f=[...ot(n.loaders),...ot(i?.loaders)],h=[...ot(n.beforeEach),...ot(i?.beforeEach)],m=[...ot(n.afterEach),...ot(i?.afterEach)],{render:g,play:v,tags:b=[],globals:E={}}=n,S=u.__id||h4(r.id,s);return{moduleExport:t,id:S,name:a,tags:b,decorators:l,parameters:u,args:c,argTypes:dg(d),loaders:f,beforeEach:h,afterEach:m,globals:E,...g&&{render:g},...o&&{userStoryFn:o},...v&&{play:v}}}function Ph(e,t=e.title,r){let{id:n,argTypes:o}=e;return{id:FP(n||t),...e,title:t,...o&&{argTypes:dg(o)},parameters:{fileName:r,...e.parameters}}}var sY=e=>{let{globals:t,globalTypes:r}=e;(t||r)&&lt.error("Global args/argTypes can only be set globally",JSON.stringify({globals:t,globalTypes:r}))},aY=e=>{let{options:t}=e;t?.storySort&&lt.error("The storySort option parameter can only be set globally")},fu=e=>{e&&(sY(e),aY(e))};function lY(e,t,r){let{default:n,__namedExportsOrder:o,...i}=e,s=Object.values(i).find(u=>gc(u));if(s){let u=Ph(s.meta.input,r,t);fu(u.parameters);let c={meta:u,stories:{},moduleExports:e};return Object.keys(i).forEach(d=>{if(Ah(d,u)&&gc(i[d])){let f=i[d],h=Pa(d,f.input,u);fu(h.parameters),c.stories[h.id]=h,f4(f).forEach(m=>{let g=m.input.name,v=m4(h.id,g);m.input.parameters??={},m.input.parameters.__id=v,c.stories[v]=Pa(g,m.input,u)})}}),c.projectAnnotations=s.meta.preview.composed,c}let a=Ph(n,r,t);fu(a.parameters);let l={meta:a,stories:{},moduleExports:e};return Object.keys(i).forEach(u=>{if(Ah(u,a)){let c=Pa(u,i[u],a);fu(c.parameters),l.stories[c.id]=c}}),l}function VP(e,t,r){let n=r(e);return o=>t(n,o)}function UP({componentId:e,title:t,kind:r,id:n,name:o,story:i,parameters:s,initialArgs:a,argTypes:l,...u}={}){return u}function HP(e,t){let r={},n=i=>s=>{if(!r.value)throw new Error("Decorated function called without init");return r.value={...r.value,...UP(s)},i(r.value)},o=t.reduce((i,s)=>VP(i,s,n),e);return i=>(r.value=i,o(i))}var Ri=(...e)=>{let t={},r=e.filter(Boolean),n=r.reduce((o,i)=>(Object.entries(i).forEach(([s,a])=>{let l=o[s];Array.isArray(a)||typeof l>"u"?o[s]=a:vn(a)&&vn(l)?t[s]=!0:typeof a<"u"&&(o[s]=a)}),o),{});return Object.keys(t).forEach(o=>{let i=r.filter(Boolean).map(s=>s[o]).filter(s=>typeof s<"u");i.every(s=>vn(s))?n[o]=Ri(...i):n[o]=i[i.length-1]}),n};function pg(e,t,r){let{moduleExport:n,id:o,name:i}=e||{},s=GP(e,t,r),a=async T=>{let w={};for(let _ of[ot(r.loaders),ot(t.loaders),ot(e.loaders)]){if(T.abortSignal.aborted)return w;let R=await Promise.all(_.map(M=>M(T)));Object.assign(w,...R)}return w},l=async T=>{let w=new Array;for(let _ of[...ot(r.beforeEach),...ot(t.beforeEach),...ot(e.beforeEach)]){if(T.abortSignal.aborted)return w;let R=await _(T);R&&w.push(R)}return w},u=async T=>{let w=[...ot(r.afterEach),...ot(t.afterEach),...ot(e.afterEach)].reverse();for(let _ of w){if(T.abortSignal.aborted)return;await _(T)}},c=T=>T.originalStoryFn(T.args,T),{applyDecorators:d=HP,runStep:f}=r,h=[...ot(e?.decorators),...ot(t?.decorators),...ot(r?.decorators)],m=e?.userStoryFn||e?.render||t.render||r.render,g=SS(d)(c,h),v=T=>g(T),b=e?.play??t?.play,E=K2(b);if(!m&&!E)throw new dS({id:o});let S=T=>async()=>(await T.renderToCanvas(),T.canvas),A=e.mount??t.mount??r.mount??S,C=r.testingLibraryRender;return{storyGlobals:{},...s,moduleExport:n,id:o,name:i,story:i,originalStoryFn:m,undecoratedStoryFn:c,unboundStoryFn:v,applyLoaders:a,applyBeforeEach:l,applyAfterEach:u,playFunction:b,runStep:f,mount:A,testingLibraryRender:C,renderToCanvas:r.renderToCanvas,usesMount:E}}function JP(e,t,r){return{...GP(void 0,e,t),moduleExport:r}}function GP(e,t,r){let n=[Mn.DEV,Mn.TEST],o=he.DOCS_OPTIONS?.autodocs===!0?[Mn.AUTODOCS]:[],i=e?.tags?.includes(Mn.TEST_FN)?[`!${Mn.AUTODOCS}`]:[],s=g4(...n,...o,...r.tags??[],...t.tags??[],...i,...e?.tags??[]),a=Ri(r.parameters,t.parameters,e?.parameters),{argTypesEnhancers:l=[],argsEnhancers:u=[]}=r,c=Ri(r.argTypes,t.argTypes,e?.argTypes);if(e){let E=e?.userStoryFn||e?.render||t.render||r.render;a.__isArgsStory=E&&E.length>0}let d={...r.args,...t.args,...e?.args},f={...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:s,parameters:a,initialArgs:d,argTypes:c,storyGlobals:f};h.argTypes=l.reduce((E,S)=>S({...h,argTypes:E}),h.argTypes);let m={...d};h.initialArgs=[...u].reduce((E,S)=>({...E,...S({...h,initialArgs:E})}),m);let{name:g,story:v,...b}=h;return b}function WP(e){let{args:t}=e,r={...e,allArgs:void 0,argsByTarget:void 0};if(he.FEATURES?.argTypeTargetsV7){let i=z4(e);r={...e,allArgs:e.args,argsByTarget:i,args:i[$P]||{}}}let n=Object.entries(r.args).reduce((i,[s,a])=>{if(!r.argTypes[s]?.mapping)return i[s]=a,i;let l=u=>{let c=r.argTypes[s].mapping;return c&&u in c?c[u]:u};return i[s]=Array.isArray(a)?a.map(l):l(a),i},{}),o=Object.entries(n).reduce((i,[s,a])=>{let l=r.argTypes[s]||{};return W2(l,n,r.globals)&&(i[s]=a),i},{});return{...r,unmappedArgs:t,args:o}}var xh=(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)?(lt.warn(Be`
877
+ We've detected a cycle in arg '${t}'. Args should be JSON-serializable.
878
+
879
+ Consider using the mapping feature or fully custom args:
880
+ - Mapping: https://storybook.js.org/docs/writing-stories/args#mapping-to-complex-arg-values
881
+ - Custom args: https://storybook.js.org/docs/essentials/controls#fully-custom-args
882
+ `),{name:"other",value:"cyclic object"}):(r.add(e),Array.isArray(e)?{name:"array",value:e.length>0?xh(e[0],t,new Set(r)):{name:"other",value:"unknown"}}:{name:"object",value:sl(e,o=>xh(o,t,new Set(r)))}):{name:"object",value:{}}},KP=e=>{let{id:t,argTypes:r={},initialArgs:n={}}=e,o=sl(n,(s,a)=>({name:a,type:xh(s,`${t}.${a}`,new Set)})),i=sl(r,(s,a)=>({name:a}));return Ri(o,i,r)};KP.secondPass=!0;var B_=(e,t)=>Array.isArray(t)?t.includes(e):e.match(t),zP=(e,t,r)=>!t&&!r?e:e&&V4(e,(n,o)=>{let i=n.name||o.toString();return!!(!t||B_(i,t))&&(!r||!B_(i,r))}),uY=(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"&&lt.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"}}}}},fg=e=>{let{argTypes:t,parameters:{__isArgsStory:r,controls:{include:n=null,exclude:o=null,matchers:i={}}={}}}=e;if(!r)return t;let s=zP(t,n,o),a=sl(s,(l,u)=>l?.type&&uY(l,u.toString(),i));return Ri(a,s)};fg.secondPass=!0;function Ec({argTypes:e,argTypesEnhancers:t,decorators:r,loaders:n,beforeEach:o,afterEach:i,initialGlobals:s,...a}){return{...e&&{argTypes:dg(e)},decorators:ot(r),loaders:ot(n),beforeEach:ot(o),afterEach:ot(i),argTypesEnhancers:[...t||[],KP,fg],initialGlobals:s,...a}}var cY=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()}};function YP(e){return async(t,r,n)=>{await e.reduceRight((o,i)=>async()=>i(t,o,n),async()=>r(n))()}}function al(e,t){return e.map(r=>r.default?.[t]??r[t]).filter(Boolean)}function po(e,t,r={}){return al(e,t).reduce((n,o)=>{let i=ot(o);return r.reverseFileOrder?[...i,...n]:[...n,...i]},[])}function hu(e,t){return Object.assign({},...al(e,t))}function la(e,t){return al(e,t).pop()}function Ss(e){let t=po(e,"argTypesEnhancers"),r=al(e,"runStep"),n=po(e,"beforeAll");return{parameters:Ri(...al(e,"parameters")),decorators:po(e,"decorators",{reverseFileOrder:!(he.FEATURES?.legacyDecoratorFileOrder??!1)}),args:hu(e,"args"),argsEnhancers:po(e,"argsEnhancers"),argTypes:hu(e,"argTypes"),argTypesEnhancers:[...t.filter(o=>!o.secondPass),...t.filter(o=>o.secondPass)],initialGlobals:hu(e,"initialGlobals"),globalTypes:hu(e,"globalTypes"),loaders:po(e,"loaders"),beforeAll:cY(n),beforeEach:po(e,"beforeEach"),afterEach:po(e,"afterEach"),render:la(e,"render"),renderToCanvas:la(e,"renderToCanvas"),applyDecorators:la(e,"applyDecorators"),runStep:YP(r),tags:po(e,"tags"),mount:la(e,"mount"),testingLibraryRender:la(e,"testingLibraryRender")}}function XP(){try{return!!globalThis.__vitest_browser__||!!globalThis.window?.navigator?.userAgent?.match(/StorybookTestRunner/)}catch{return!1}}function hg(e=!0){if(!("document"in globalThis&&"createElement"in globalThis.document))return()=>{};let t=document.createElement("style");t.textContent=`*, *:before, *:after {
883
+ animation: none !important;
884
+ }`,document.head.appendChild(t);let r=document.createElement("style");return r.textContent=`*, *:before, *:after {
885
+ animation-delay: 0s !important;
886
+ animation-direction: ${e?"reverse":"normal"} !important;
887
+ animation-play-state: paused !important;
888
+ transition: none !important;
889
+ }`,document.head.appendChild(r),document.body.clientHeight,document.head.removeChild(t),()=>{r.parentNode?.removeChild(r)}}async function mg(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,...QP(globalThis.document)],o=async()=>{if(t||e?.aborted)return;let i=n.flatMap(s=>s?.getAnimations?.()||[]).filter(s=>s.playState==="running"&&!dY(s));i.length>0&&(await Promise.allSettled(i.map(async s=>s.finished)),await o())};o().then(r)},100)}),new Promise(r=>setTimeout(()=>{t=!0,r(void 0)},5e3))])}function QP(e){return[e,...e.querySelectorAll("*")].reduce((t,r)=>("shadowRoot"in r&&r.shadowRoot&&t.push(r.shadowRoot,...QP(r.shadowRoot)),t),[])}function dY(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}var yg=class{constructor(){this.reports=[]}async addReport(e){this.reports.push(e)}};function ZP(e,t,r){return gc(e)?{story:e.input,meta:e.meta.input,preview:e.meta.preview.composed}:{story:e,meta:p4(t)?t.input:t,preview:r}}function pY(e){globalThis.defaultProjectAnnotations=e}var fY="ComposedStory",hY="Unnamed Story";function mY(e){return e?Ss([e]):{}}function yY(e){let t=Array.isArray(e)?e:[e];return globalThis.globalProjectAnnotations=Ss([...DP(),globalThis.defaultProjectAnnotations??{},Ss(t.map(mY))]),globalThis.globalProjectAnnotations??{}}var Ao=[];function ex(e,t,r,n,o){if(e===void 0)throw new Error("Expected a story but received undefined.");t.title=t.title??fY;let i=Ph(t),s=o||e.storyName||e.story?.name||e.name||hY,a=Pa(s,e,i),l=Ec(Ss([n??globalThis.globalProjectAnnotations??{},r??{}])),u=pg(a,i,l),c={...BP(l.globalTypes),...l.initialGlobals,...u.storyGlobals},d=new yg,f=()=>{let b=WP({hooks:new Vm,globals:c,args:{...u.initialArgs},viewMode:"story",reporting:d,loaded:{},abortSignal:new AbortController().signal,step:(E,S)=>u.runStep(E,S,b),canvasElement:null,canvas:{},userEvent:{},globalTypes:l.globalTypes,...u,context:null,mount:null});return b.parameters.__isPortableStory=!0,b.context=b,u.renderToCanvas&&(b.renderToCanvas=async()=>{let E=await u.renderToCanvas?.({componentId:u.componentId,title:u.title,id:u.id,name:u.name,tags:u.tags,showMain:()=>{},showError:S=>{throw new Error(`${S.title}
890
+ ${S.description}`)},showException:S=>{throw S},forceRemount:!0,storyContext:b,storyFn:()=>u.unboundStoryFn(b),unboundStoryFn:u.unboundStoryFn},b.canvasElement);E&&Ao.push(E)}),b.mount=u.mount(b),b},h,m=async b=>{let E=f();return E.canvasElement??=globalThis?.document?.body,h&&(E.loaded=h.loaded),Object.assign(E,b),u.playFunction(E)},g=b=>{let E=f();return Object.assign(E,b),EY(u,E)},v=u.playFunction?m:void 0;return Object.assign(function(b){let E=f();return h&&(E.loaded=h.loaded),E.args={...E.initialArgs,...b},u.unboundStoryFn(E)},{id:u.id,storyName:s,load:async()=>{for(let E of[...Ao].reverse())await E();Ao.length=0;let b=f();b.loaded=await u.applyLoaders(b),Ao.push(...(await u.applyBeforeEach(b)).filter(Boolean)),h=b},globals:c,args:u.initialArgs,parameters:u.parameters,argTypes:u.argTypes,play:v,run:g,reporting:d,tags:u.tags})}var gY=(e,t,r,n)=>ex(e,t,r,{},n);function bY(e,t,r=gY){let{default:n,__esModule:o,__namedExportsOrder:i,...s}=e,a=n;return Object.entries(s).reduce((l,[u,c])=>{let{story:d,meta:f}=ZP(c);return!a&&f&&(a=f),Ah(u,a)?Object.assign(l,{[u]:r(d,a,t,u)}):l},{})}function vY(e){return e.extend({mount: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(Be`
891
+ Portable stories in Playwright CT only work when referencing JSX elements.
892
+ Please use JSX format for your components such as:
893
+
894
+ instead of:
895
+ await mount(MyComponent, { props: { foo: 'bar' } })
896
+
897
+ do:
898
+ await mount(<MyComponent foo="bar"/>)
899
+
900
+ More info: https://storybook.js.org/docs/api/portable-stories/portable-stories-playwright?ref=error
901
+ `);let{props:s,...a}=o;await r.evaluate(async u=>{let c=await globalThis.__pwUnwrapObject?.(u);return("__pw_type"in c?c.type:c)?.load?.()},a);let l=await t(o,...i);return await r.evaluate(async u=>{let c=await globalThis.__pwUnwrapObject?.(u),d="__pw_type"in c?c.type:c,f=document.querySelector("#root");return d?.play?.({canvasElement:f})},a),l})}})}async function EY(e,t){for(let i of[...Ao].reverse())await i();if(Ao.length=0,!t.canvasElement){let i=document.createElement("div");globalThis?.document?.body?.appendChild(i),t.canvasElement=i,Ao.push(()=>{globalThis?.document?.body?.contains(i)&&globalThis?.document?.body?.removeChild(i)})}if(t.loaded=await e.applyLoaders(t),t.abortSignal.aborted)return;Ao.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 Bm({playFunction:r.toString()})}),await r(t));let o;XP()?o=hg():await mg(t.abortSignal),await e.applyAfterEach(t),await o?.()}var V_=1e3,_Y=1e4,tx=class{constructor(e,t,r){this.importFn=t,this.storyIndex=new tY(e),this.projectAnnotations=Ec(Ss([...DP(),r]));let{initialGlobals:n,globalTypes:o}=this.projectAnnotations;this.args=new X4,this.userGlobals=new Q4({globals:n,globalTypes:o}),this.hooks={},this.cleanupCallbacks={},this.processCSFFileWithCache=(0,Xp.default)(V_)(lY),this.prepareMetaWithCache=(0,Xp.default)(V_)(JP),this.prepareStoryWithCache=(0,Xp.default)(_Y)(pg)}setProjectAnnotations(e){this.projectAnnotations=Ec(e);let{initialGlobals:t,globalTypes:r}=e;this.userGlobals.set({globals:t,globalTypes:r})}async onStoriesChanged({importFn:e,storyIndex:t}){e&&(this.importFn=e),t&&(this.storyIndex.entries=t.entries),this.cachedCSFFiles&&await this.cacheAllCSFFiles()}async storyIdToEntry(e){return this.storyIndex.storyIdToEntry(e)}async loadCSFFileByStoryId(e){let{importPath:t,title:r}=this.storyIndex.storyIdToEntry(e),n=await this.importFn(t);return this.processCSFFileWithCache(n,t,r)}async loadAllCSFFiles(){let e={};return Object.entries(this.storyIndex.entries).forEach(([t,{importPath:r}])=>{e[r]=t}),(await Promise.all(Object.entries(e).map(async([t,r])=>({importPath:t,csfFile:await this.loadCSFFileByStoryId(r)})))).reduce((t,{importPath:r,csfFile:n})=>(t[r]=n,t),{})}async cacheAllCSFFiles(){this.cachedCSFFiles=await this.loadAllCSFFiles()}preparedMetaFromCSFFile({csfFile:e}){let t=e.meta;return this.prepareMetaWithCache(t,this.projectAnnotations,e.moduleExports.default)}async loadStory({storyId:e}){let t=await this.loadCSFFileByStoryId(e);return this.storyFromCSFFile({storyId:e,csfFile:t})}storyFromCSFFile({storyId:e,csfFile:t}){let r=t.stories[e];if(!r)throw new uS({storyId:e});let n=t.meta,o=this.prepareStoryWithCache(r,n,t.projectAnnotations??this.projectAnnotations);return this.args.setInitial(o),this.hooks[o.id]=this.hooks[o.id]||new Vm,o}componentStoriesFromCSFFile({csfFile:e}){return Object.keys(this.storyIndex.entries).filter(t=>!!e.stories[t]).map(t=>this.storyFromCSFFile({storyId:t,csfFile:e}))}async loadEntry(e){let t=await this.storyIdToEntry(e),r=t.type==="docs"?t.storiesImports:[],[n,...o]=await Promise.all([this.importFn(t.importPath),...r.map(i=>{let s=this.storyIndex.importPathToEntry(i);return this.loadCSFFileByStoryId(s.id)})]);return{entryExports:n,csfFiles:o}}getStoryContext(e,{forceInitialArgs:t=!1}={}){let r=this.userGlobals.get(),{initialGlobals:n}=this.userGlobals,o=new yg;return WP({...e,args:t?e.initialArgs:this.args.get(e.id),initialGlobals:n,globalTypes:this.projectAnnotations.globalTypes,userGlobals:r,reporting:o,globals:{...r,...e.storyGlobals},hooks:this.hooks[e.id]})}addCleanupCallbacks(e,...t){this.cleanupCallbacks[e.id]=(this.cleanupCallbacks[e.id]||[]).concat(t)}async cleanupStory(e){this.hooks[e.id].clean();let t=this.cleanupCallbacks[e.id];if(t)for(let r of[...t].reverse())await r();delete this.cleanupCallbacks[e.id]}extract(e={includeDocsOnly:!1}){let{cachedCSFFiles:t}=this;if(console.log("extract: extracting stories",t),!t)throw new nS;let r=Object.entries(this.storyIndex.entries).reduce((n,[o,i])=>{if(i.type==="docs")return n;let s=t[i.importPath],a=this.storyFromCSFFile({storyId:o,csfFile:s});return!e.includeDocsOnly&&a.parameters.docsOnly||(n[o]=Object.entries(a).reduce((l,[u,c])=>u==="story"&&i.subtype==="test"?{...l,story:i.parentName}:u==="moduleExport"||typeof c=="function"?l:Array.isArray(c)?Object.assign(l,{[u]:c.slice().sort()}):Object.assign(l,{[u]:c}),{args:a.initialArgs,globals:{...this.userGlobals.initialGlobals,...this.userGlobals.globals,...a.storyGlobals},storyId:i.parent?i.parent:o})),n},{});return console.log("extract: stories",r),r}};function TY(e){return e.startsWith("\\\\?\\")?e:e.replace(/\\/g,"/")}var wY=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]};function U_(e){return e.flatMap(t=>t.split("/")).filter(Boolean).join("/")}var rx=(e,t,r)=>{let{directory:n,importPathMatcher:o,titlePrefix:i=""}=t||{};typeof e=="number"&&Et.warn(Be`
902
+ CSF Auto-title received a numeric fileName. This typically happens when
903
+ webpack is mis-configured in production mode. To force webpack to produce
904
+ filenames, set optimization.moduleIds = "named" in your webpack config.
905
+ `);let s=TY(String(e));if(o.exec(s)){if(!r){let a=s.replace(n,""),l=U_([i,a]).split("/");return l=wY(l),l.join("/")}return i?U_([i,r]):r}},SY=(e,t,r)=>{for(let n=0;n<t.length;n+=1){let o=rx(e,t[n],r);if(o)return o}return r||void 0},H_=/\s*\/\s*/,RY=(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(H_),s=r.title.trim().split(H_);e.includeNames&&(i.push(t.name),s.push(r.name));let a=0;for(;i[a]||s[a];){if(!i[a])return-1;if(!s[a])return 1;let l=i[a],u=s[a];if(l!==u){let d=o.indexOf(l),f=o.indexOf(u),h=o.indexOf("*");return d!==-1||f!==-1?(d===-1&&(h!==-1?d=h:d=o.length),f===-1&&(h!==-1?f=h:f=o.length),d-f):n==="configure"?0:l.localeCompare(u,e.locales?e.locales:void 0,{numeric:!0,sensitivity:"accent"})}let c=o.indexOf(l);c===-1&&(c=o.indexOf("*")),o=c!==-1&&Array.isArray(o[c+1])?o[c+1]:[],a+=1}return 0},OY=(e,t,r)=>{if(t){let n;typeof t=="function"?n=t:n=RY(t),e.sort(n)}else e.sort((n,o)=>r.indexOf(n.importPath)-r.indexOf(o.importPath));return e},AY=(e,t,r)=>{try{return OY(e,t,r)}catch(n){throw new Error(Be`
906
+ Error sorting stories with sort parameter ${t}:
907
+
908
+ > ${n.message}
909
+
910
+ Are you using a V6-style sort function in V7 mode?
911
+
912
+ More info: https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#v7-style-story-sort
913
+ `)}},Id=new Error("prepareAborted"),{AbortController:J_}=globalThis;function G_(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)}}}var Nh=class{constructor(e,t,r,n,o,i,s={autoplay:!0,forceInitialArgs:!1},a){this.channel=e,this.store=t,this.renderToScreen=r,this.callbacks=n,this.id=o,this.viewMode=i,this.renderOptions=s,this.type="story",this.notYetRendered=!0,this.rerenderEnqueued=!1,this.disableKeyListeners=!1,this.teardownRender=()=>{},this.torndown=!1,this.abortController=new J_,this.renderId=Date.now(),a&&(this.story=a,this.phase="preparing")}async runPhase(e,t,r){this.phase=t,this.channel.emit(vi,{newPhase:this.phase,renderId:this.renderId,storyId:this.id}),r&&(await r(),this.checkIfAborted(e))}checkIfAborted(e){return e.aborted&&!["finished","aborted","errored"].includes(this.phase)&&(this.phase="aborted",this.channel.emit(vi,{newPhase:this.phase,renderId:this.renderId,storyId:this.id})),e.aborted}async prepare(){if(await this.runPhase(this.abortController.signal,"preparing",async()=>{this.story=await this.store.loadStory({storyId:this.id})}),this.abortController.signal.aborted)throw await this.store.cleanupStory(this.story),Id}isEqual(e){return!!(this.id===e.id&&this.story&&this.story===e.story)}isPreparing(){return["preparing"].includes(this.phase)}isPending(){return["loading","beforeEach","rendering","playing","afterEach"].includes(this.phase)}async renderToElement(e){return this.canvasElement=e,this.render({initial:!0,forceRemount:!0})}storyContext(){if(!this.story)throw new Error("Cannot call storyContext before preparing");let{forceInitialArgs:e}=this.renderOptions;return this.store.getStoryContext(this.story,{forceInitialArgs:e})}async render({initial:e=!1,forceRemount:t=!1}={}){let{canvasElement:r}=this;if(!this.story)throw new Error("cannot render when not prepared");let n=this.story;if(!r)throw new Error("cannot render when canvasElement is unset");let{id:o,componentId:i,title:s,name:a,tags:l,applyLoaders:u,applyBeforeEach:c,applyAfterEach:d,unboundStoryFn:f,playFunction:h,runStep:m}=n;t&&!e&&(this.cancelRender(),this.abortController=new J_);let g=this.abortController.signal,v=!1,b=n.usesMount;try{let E={...this.storyContext(),viewMode:this.viewMode,abortSignal:g,canvasElement:r,loaded:{},step:(q,x)=>m(q,x,E),context:null,canvas:{},userEvent:{},renderToCanvas:async()=>{let q=await this.renderToScreen(S,r);this.teardownRender=q||(()=>{}),v=!0},mount:async(...q)=>{this.callbacks.showStoryDuringRender?.();let x=null;return await this.runPhase(g,"rendering",async()=>{x=await n.mount(E)(...q)}),b&&await this.runPhase(g,"playing"),x}};E.context=E;let S={componentId:i,title:s,kind:s,id:o,name:a,story:a,tags:l,...this.callbacks,showError:q=>(this.phase="errored",this.callbacks.showError(q)),showException:q=>(this.phase="errored",this.callbacks.showException(q)),forceRemount:t||this.notYetRendered,storyContext:E,storyFn:()=>f(E),unboundStoryFn:f};if(await this.runPhase(g,"loading",async()=>{E.loaded=await u(E)}),g.aborted)return;let A=await c(E);if(this.store.addCleanupCallbacks(n,...A),this.checkIfAborted(g)||(!v&&!b&&await E.mount(),this.notYetRendered=!1,g.aborted))return;let C=this.story.parameters?.test?.dangerouslyIgnoreUnhandledErrors===!0,T=new Set,w=q=>{q.error&&T.add(q.error)},_=q=>{q.reason&&T.add(q.reason)};if(this.renderOptions.autoplay&&t&&h&&this.phase!=="errored"){window?.addEventListener?.("error",w),window?.addEventListener?.("unhandledrejection",_),this.disableKeyListeners=!0;try{if(b?await h(E):(E.mount=async()=>{throw new Bm({playFunction:h.toString()})},await this.runPhase(g,"playing",async()=>h(E))),!v)throw new pS;this.checkIfAborted(g),!C&&T.size>0?await this.runPhase(g,"errored"):await this.runPhase(g,"played")}catch(q){if(this.callbacks.showStoryDuringRender?.(),await this.runPhase(g,"errored",async()=>{this.channel.emit(o0,G_(q))}),this.story.parameters.throwPlayFunctionExceptions!==!1)throw q;console.error(q)}if(!C&&T.size>0&&this.channel.emit(i0,Array.from(T).map(G_)),this.disableKeyListeners=!1,window?.removeEventListener?.("unhandledrejection",_),window?.removeEventListener?.("error",w),g.aborted)return}await this.runPhase(g,"completing",async()=>{XP()?this.store.addCleanupCallbacks(n,hg()):await mg(g)}),await this.runPhase(g,"completed",async()=>{this.channel.emit(Yu,o)}),this.phase!=="errored"&&await this.runPhase(g,"afterEach",async()=>{await d(E)});let R=!C&&T.size>0,M=E.reporting.reports.some(q=>q.status==="failed"),N=R||M;await this.runPhase(g,"finished",async()=>this.channel.emit(Cf,{storyId:o,status:N?"error":"success",reporters:E.reporting.reports}))}catch(E){this.phase="errored",this.callbacks.showException(E),await this.runPhase(g,"finished",async()=>this.channel.emit(Cf,{storyId:o,status:"error",reporters:[]}))}this.rerenderEnqueued&&(this.rerenderEnqueued=!1,this.render())}async rerender(){if(this.isPending()&&this.phase!=="playing")this.rerenderEnqueued=!0;else return this.render()}async remount(){return await this.teardown(),this.render({forceRemount:!0})}cancelRender(){this.abortController.abort()}cancelPlayFunction(){this.phase==="playing"&&(this.abortController.abort(),this.runPhase(this.abortController.signal,"aborted"))}async teardown(){this.torndown=!0,this.cancelRender(),this.story&&await this.store.cleanupStory(this.story);for(let e=0;e<3;e+=1){if(!this.isPending()){await this.teardownRender();return}await new Promise(t=>setTimeout(t,0))}window?.location?.reload?.(),await new Promise(()=>{})}},{fetch:CY}=he,PY="./index.json",nx=class{constructor(e,t,r=Vr.getChannel(),n=!0){this.importFn=e,this.getProjectAnnotations=t,this.channel=r,this.storyRenders=[],this.storeInitializationPromise=new Promise((o,i)=>{this.resolveStoreInitializationPromise=o,this.rejectStoreInitializationPromise=i}),n&&this.initialize()}get storyStore(){return new Proxy({},{get:(e,t)=>{if(this.storyStoreValue)return Pm("Accessing the Story Store is deprecated and will be removed in 9.0"),this.storyStoreValue[t];throw new cS}})}async initialize(){this.setupListeners();try{let e=await this.getProjectAnnotationsOrRenderError();await this.runBeforeAllHook(e),await this.initializeWithProjectAnnotations(e);let t=globalThis?.navigator?.userAgent;await this.channel.emit(a0,{userAgent:t})}catch(e){this.rejectStoreInitializationPromise(e)}}ready(){return this.storeInitializationPromise}setupListeners(){this.channel.on(f0,this.onStoryIndexChanged.bind(this)),this.channel.on(Am,this.onUpdateGlobals.bind(this)),this.channel.on(Cm,this.onUpdateArgs.bind(this)),this.channel.on(_0,this.onRequestArgTypesInfo.bind(this)),this.channel.on(Rm,this.onResetArgs.bind(this)),this.channel.on(Sm,this.onForceReRender.bind(this)),this.channel.on(zu,this.onForceRemount.bind(this)),this.channel.on(b0,this.onStoryHotUpdated.bind(this))}async getProjectAnnotationsOrRenderError(){try{let e=await this.getProjectAnnotations();if(this.renderToCanvas=e.renderToCanvas,!this.renderToCanvas)throw new oS;return e}catch(e){throw this.renderPreviewEntryError("Error reading preview.js:",e),e}}async initializeWithProjectAnnotations(e){this.projectAnnotationsBeforeInitialization=e;try{let t=await this.getStoryIndexFromServer();return this.initializeWithStoryIndex(t)}catch(t){throw this.renderPreviewEntryError("Error loading story index:",t),t}}async runBeforeAllHook(e){try{await this.beforeAllCleanup?.(),this.beforeAllCleanup=await e.beforeAll?.()}catch(t){throw this.renderPreviewEntryError("Error in beforeAll hook:",t),t}}async getStoryIndexFromServer(){let e=await CY(PY);if(e.status===200)return e.json();throw new iS({text:await e.text()})}initializeWithStoryIndex(e){if(!this.projectAnnotationsBeforeInitialization)throw new Error("Cannot call initializeWithStoryIndex until project annotations resolve");this.storyStoreValue=new tx(e,this.importFn,this.projectAnnotationsBeforeInitialization),delete this.projectAnnotationsBeforeInitialization,this.setInitialGlobals(),this.resolveStoreInitializationPromise()}async setInitialGlobals(){this.emitGlobals()}emitGlobals(){if(!this.storyStoreValue)throw new wr({methodName:"emitGlobals"});let e={globals:this.storyStoreValue.userGlobals.get()||{},globalTypes:this.storyStoreValue.projectAnnotations.globalTypes||{}};this.channel.emit(u0,e)}async onGetProjectAnnotationsChanged({getProjectAnnotations:e}){delete this.previewEntryError,this.getProjectAnnotations=e;let t=await this.getProjectAnnotationsOrRenderError();if(await this.runBeforeAllHook(t),!this.storyStoreValue){await this.initializeWithProjectAnnotations(t);return}this.storyStoreValue.setProjectAnnotations(t),this.emitGlobals()}async onStoryIndexChanged(){if(delete this.previewEntryError,!(!this.storyStoreValue&&!this.projectAnnotationsBeforeInitialization))try{let e=await this.getStoryIndexFromServer();if(this.projectAnnotationsBeforeInitialization){this.initializeWithStoryIndex(e);return}await this.onStoriesChanged({storyIndex:e})}catch(e){throw this.renderPreviewEntryError("Error loading story index:",e),e}}async onStoriesChanged({importFn:e,storyIndex:t}){if(!this.storyStoreValue)throw new wr({methodName:"onStoriesChanged"});await this.storyStoreValue.onStoriesChanged({importFn:e,storyIndex:t})}async onUpdateGlobals({globals:e,currentStory:t}){if(this.storyStoreValue||await this.storeInitializationPromise,!this.storyStoreValue)throw new wr({methodName:"onUpdateGlobals"});if(this.storyStoreValue.userGlobals.update(e),t){let{initialGlobals:r,storyGlobals:n,userGlobals:o,globals:i}=this.storyStoreValue.getStoryContext(t);this.channel.emit(Va,{initialGlobals:r,userGlobals:o,storyGlobals:n,globals:i})}else{let{initialGlobals:r,globals:n}=this.storyStoreValue.userGlobals;this.channel.emit(Va,{initialGlobals:r,userGlobals:n,storyGlobals:{},globals:n})}await Promise.all(this.storyRenders.map(r=>r.rerender()))}async onUpdateArgs({storyId:e,updatedArgs:t}){if(!this.storyStoreValue)throw new wr({methodName:"onUpdateArgs"});this.storyStoreValue.args.update(e,t),await Promise.all(this.storyRenders.filter(r=>r.id===e&&!r.renderOptions.forceInitialArgs).map(r=>r.story&&r.story.usesMount?r.remount():r.rerender())),this.channel.emit(c0,{storyId:e,args:this.storyStoreValue.args.get(e)})}async onRequestArgTypesInfo({id:e,payload:t}){try{await this.storeInitializationPromise;let r=await this.storyStoreValue?.loadStory(t);this.channel.emit(Pf,{id:e,success:!0,payload:{argTypes:r?.argTypes||{}},error:null})}catch(r){this.channel.emit(Pf,{id:e,success:!1,error:r?.message})}}async onResetArgs({storyId:e,argNames:t}){if(!this.storyStoreValue)throw new wr({methodName:"onResetArgs"});let r=this.storyRenders.find(o=>o.id===e)?.story||await this.storyStoreValue.loadStory({storyId:e}),n=(t||[...new Set([...Object.keys(r.initialArgs),...Object.keys(this.storyStoreValue.args.get(e))])]).reduce((o,i)=>(o[i]=r.initialArgs[i],o),{});await this.onUpdateArgs({storyId:e,updatedArgs:n})}async onForceReRender(){await Promise.all(this.storyRenders.map(e=>e.rerender()))}async onForceRemount({storyId:e}){await Promise.all(this.storyRenders.filter(t=>t.id===e).map(t=>t.remount()))}async onStoryHotUpdated(){await Promise.all(this.storyRenders.map(e=>e.cancelPlayFunction()))}renderStoryToElement(e,t,r,n){if(!this.renderToCanvas||!this.storyStoreValue)throw new wr({methodName:"renderStoryToElement"});let o=new Nh(this.channel,this.storyStoreValue,this.renderToCanvas,r,e.id,"docs",n,e);return o.renderToElement(t),this.storyRenders.push(o),async()=>{await this.teardownRender(o)}}async teardownRender(e,{viewModeChanged:t}={}){this.storyRenders=this.storyRenders.filter(r=>r!==e),await e?.teardown?.({viewModeChanged:t})}async loadStory({storyId:e}){if(!this.storyStoreValue)throw new wr({methodName:"loadStory"});return this.storyStoreValue.loadStory({storyId:e})}getStoryContext(e,{forceInitialArgs:t=!1}={}){if(!this.storyStoreValue)throw new wr({methodName:"getStoryContext"});return this.storyStoreValue.getStoryContext(e,{forceInitialArgs:t})}async extract(e){if(!this.storyStoreValue)throw new wr({methodName:"extract"});if(this.previewEntryError)throw this.previewEntryError;return await this.storyStoreValue.cacheAllCSFFiles(),this.storyStoreValue.extract(e)}renderPreviewEntryError(e,t){this.previewEntryError=t,lt.error(e),lt.error(t),this.channel.emit(r0,t)}},gg=class{constructor(e,t,r,n){this.channel=e,this.store=t,this.renderStoryToElement=r,this.storyIdByName=o=>{let i=this.nameToStoryId.get(o);if(i)return i;throw new Error(`No story found with that name: ${o}`)},this.componentStories=()=>this.componentStoriesValue,this.componentStoriesFromCSFFile=o=>this.store.componentStoriesFromCSFFile({csfFile:o}),this.storyById=o=>{if(!o){if(!this.primaryStory)throw new Error("No primary story defined for docs entry. Did you forget to use `<Meta>`?");return this.primaryStory}let i=this.storyIdToCSFFile.get(o);if(!i)throw new Error(`Called \`storyById\` for story that was never loaded: ${o}`);return this.store.storyFromCSFFile({storyId:o,csfFile:i})},this.getStoryContext=o=>({...this.store.getStoryContext(o),loaded:{},viewMode:"docs"}),this.loadStory=o=>this.store.loadStory({storyId:o}),this.componentStoriesValue=[],this.storyIdToCSFFile=new Map,this.exportToStory=new Map,this.exportsToCSFFile=new Map,this.nameToStoryId=new Map,this.attachedCSFFiles=new Set,n.forEach((o,i)=>{this.referenceCSFFile(o)})}referenceCSFFile(e){this.exportsToCSFFile.set(e.moduleExports,e),this.exportsToCSFFile.set(e.moduleExports.default,e),this.store.componentStoriesFromCSFFile({csfFile:e}).forEach(t=>{let r=e.stories[t.id];this.storyIdToCSFFile.set(r.id,e),this.exportToStory.set(r.moduleExport,t)})}attachCSFFile(e){if(!this.exportsToCSFFile.has(e.moduleExports))throw new Error("Cannot attach a CSF file that has not been referenced");this.attachedCSFFiles.has(e)||(this.attachedCSFFiles.add(e),this.store.componentStoriesFromCSFFile({csfFile:e}).forEach(t=>{this.nameToStoryId.set(t.name,t.id),this.componentStoriesValue.push(t),this.primaryStory||(this.primaryStory=t)}))}referenceMeta(e,t){let r=this.resolveModuleExport(e);if(r.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?");t&&this.attachCSFFile(r.csfFile)}get projectAnnotations(){let{projectAnnotations:e}=this.store;if(!e)throw new Error("Can't get projectAnnotations from DocsContext before they are initialized");return e}resolveAttachedModuleExportType(e){if(e==="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 t=Array.from(this.attachedCSFFiles)[0];if(e==="meta")return{type:"meta",csfFile:t};let{component:r}=t.meta;if(!r)throw new Error("Attached CSF file does not defined a component, did you forget to export one?");return{type:"component",component:r}}resolveModuleExport(e){let t=this.exportsToCSFFile.get(e);if(!t&&e&&typeof e=="object"&&"default"in e&&(t=this.exportsToCSFFile.get(e.default)),t)return{type:"meta",csfFile:t};let r=this.exportToStory.get(gc(e)?e.input:e);return r?{type:"story",story:r}:{type:"component",component:e}}resolveOf(e,t=[]){let r;if(["component","meta","story"].includes(e)){let n=e;r=this.resolveAttachedModuleExportType(n)}else r=this.resolveModuleExport(e);if(t.length&&!t.includes(r.type)){let n=r.type==="component"?"component or unknown":r.type;throw new Error(Be`Invalid value passed to the 'of' prop. The value was resolved to a '${n}' type but the only types for this block are: ${t.join(", ")}.
914
+ - Did you pass a component to the 'of' prop when the block only supports a story or a meta?
915
+ - ... or vice versa?
916
+ - Did you pass a story, CSF file or meta to the 'of' prop that is not indexed, ie. is not targeted by the 'stories' globs in the main configuration?`)}switch(r.type){case"component":return{...r,projectAnnotations:this.projectAnnotations};case"meta":return{...r,preparedMeta:this.store.preparedMetaFromCSFFile({csfFile:r.csfFile})};default:return r}}},W_=class{constructor(e,t,r,n){this.channel=e,this.store=t,this.entry=r,this.callbacks=n,this.type="docs",this.subtype="csf",this.torndown=!1,this.disableKeyListeners=!1,this.preparing=!1,this.id=r.id,this.renderId=Date.now()}isPreparing(){return this.preparing}async prepare(){this.preparing=!0;let{entryExports:e,csfFiles:t=[]}=await this.store.loadEntry(this.id);if(this.torndown)throw Id;let{importPath:r,title:n}=this.entry,o=this.store.processCSFFileWithCache(e,r,n),i=Object.keys(o.stories)[0];this.story=this.store.storyFromCSFFile({storyId:i,csfFile:o}),this.csfFiles=[o,...t],this.preparing=!1}isEqual(e){return!!(this.id===e.id&&this.story&&this.story===e.story)}docsContext(e){if(!this.csfFiles)throw new Error("Cannot render docs before preparing");let t=new gg(this.channel,this.store,e,this.csfFiles);return this.csfFiles.forEach(r=>t.attachCSFFile(r)),t}async renderToElement(e,t){if(!this.story||!this.csfFiles)throw new Error("Cannot render docs before preparing");let r=this.docsContext(t),{docs:n}=this.story.parameters||{};if(!n)throw new Error("Cannot render a story in viewMode=docs if `@storybook/addon-docs` is not installed");let o=await n.renderer(),{render:i}=o,s=async()=>{try{await i(r,n,e),this.channel.emit(wm,this.id)}catch(a){this.callbacks.showException(a)}};return this.rerender=async()=>s(),this.teardownRender=async({viewModeChanged:a})=>{!a||!e||o.unmount(e)},s()}async teardown({viewModeChanged:e}={}){this.teardownRender?.({viewModeChanged:e}),this.torndown=!0}},K_=class{constructor(e,t,r,n){this.channel=e,this.store=t,this.entry=r,this.callbacks=n,this.type="docs",this.subtype="mdx",this.torndown=!1,this.disableKeyListeners=!1,this.preparing=!1,this.id=r.id,this.renderId=Date.now()}isPreparing(){return this.preparing}async prepare(){this.preparing=!0;let{entryExports:e,csfFiles:t=[]}=await this.store.loadEntry(this.id);if(this.torndown)throw Id;this.csfFiles=t,this.exports=e,this.preparing=!1}isEqual(e){return!!(this.id===e.id&&this.exports&&this.exports===e.exports)}docsContext(e){if(!this.csfFiles)throw new Error("Cannot render docs before preparing");return new gg(this.channel,this.store,e,this.csfFiles)}async renderToElement(e,t){if(!this.exports||!this.csfFiles||!this.store.projectAnnotations)throw new Error("Cannot render docs before preparing");let r=this.docsContext(t),{docs:n}=this.store.projectAnnotations.parameters??{};if(!n)throw new Error("Cannot render a story in viewMode=docs if `@storybook/addon-docs` is not installed");let o={...n,page:this.exports.default},i=await n.renderer(),{render:s}=i,a=async()=>{try{await s(r,o,e),this.channel.emit(wm,this.id)}catch(l){this.callbacks.showException(l)}};return this.rerender=async()=>a(),this.teardownRender=async({viewModeChanged:l}={})=>{!l||!e||(i.unmount(e),this.torndown=!0)},a()}async teardown({viewModeChanged:e}={}){this.teardownRender?.({viewModeChanged:e}),this.torndown=!0}},xY=globalThis;function NY(e){let t=e.composedPath&&e.composedPath()[0]||e.target;return/input|textarea/i.test(t.tagName)||t.getAttribute("contenteditable")!==null}function IY({tags:e}){return e?.includes(Mn.UNATTACHED_MDX)||e?.includes(Mn.ATTACHED_MDX)}function Qp(e){return e.type==="story"}function MY(e){return e.type==="docs"}function jY(e){return MY(e)&&e.subtype==="csf"}var ox=class extends nx{constructor(e,t,r,n){super(e,t,void 0,!1),this.importFn=e,this.getProjectAnnotations=t,this.selectionStore=r,this.view=n,this.initialize()}setupListeners(){super.setupListeners(),xY.onkeydown=this.onKeydown.bind(this),this.channel.on(Om,this.onSetCurrentStory.bind(this)),this.channel.on(v0,this.onUpdateQueryParams.bind(this)),this.channel.on(s0,this.onPreloadStories.bind(this))}async setInitialGlobals(){if(!this.storyStoreValue)throw new wr({methodName:"setInitialGlobals"});let{globals:e}=this.selectionStore.selectionSpecifier||{};e&&this.storyStoreValue.userGlobals.updateFromPersisted(e),this.emitGlobals()}async initializeWithStoryIndex(e){return await super.initializeWithStoryIndex(e),this.selectSpecifiedStory()}async selectSpecifiedStory(){if(!this.storyStoreValue)throw new wr({methodName:"selectSpecifiedStory"});if(this.selectionStore.selection){await this.renderSelection();return}if(!this.selectionStore.selectionSpecifier){this.renderMissingStory();return}let{storySpecifier:e,args:t}=this.selectionStore.selectionSpecifier,r=this.storyStoreValue.storyIndex.entryFromSpecifier(e);if(!r){e==="*"?this.renderStoryLoadingException(e,new aS):this.renderStoryLoadingException(e,new lS({storySpecifier:e.toString()}));return}let{id:n,type:o}=r;this.selectionStore.setSelection({storyId:n,viewMode:o}),this.channel.emit(m0,this.selectionStore.selection),this.channel.emit(Of,this.selectionStore.selection),await this.renderSelection({persistedArgs:t})}async onGetProjectAnnotationsChanged({getProjectAnnotations:e}){await super.onGetProjectAnnotationsChanged({getProjectAnnotations:e}),this.selectionStore.selection&&this.renderSelection()}async onStoriesChanged({importFn:e,storyIndex:t}){await super.onStoriesChanged({importFn:e,storyIndex:t}),this.selectionStore.selection?await this.renderSelection():await this.selectSpecifiedStory()}onKeydown(e){if(!this.storyRenders.find(t=>t.disableKeyListeners)&&!NY(e)){let{altKey:t,ctrlKey:r,metaKey:n,shiftKey:o,key:i,code:s,keyCode:a}=e;this.channel.emit(l0,{event:{altKey:t,ctrlKey:r,metaKey:n,shiftKey:o,key:i,code:s,keyCode:a}})}}async onSetCurrentStory(e){this.selectionStore.setSelection({viewMode:"story",...e}),await this.storeInitializationPromise,this.channel.emit(Of,this.selectionStore.selection),this.renderSelection()}onUpdateQueryParams(e){this.selectionStore.setQueryParams(e)}async onUpdateGlobals({globals:e}){let t=this.currentRender instanceof Nh&&this.currentRender.story||void 0;super.onUpdateGlobals({globals:e,currentStory:t}),(this.currentRender instanceof K_||this.currentRender instanceof W_)&&await this.currentRender.rerender?.()}async onUpdateArgs({storyId:e,updatedArgs:t}){super.onUpdateArgs({storyId:e,updatedArgs:t})}async onPreloadStories({ids:e}){await this.storeInitializationPromise,this.storyStoreValue&&await Promise.allSettled(e.map(t=>this.storyStoreValue?.loadEntry(t)))}async renderSelection({persistedArgs:e}={}){let{renderToCanvas:t}=this;if(!this.storyStoreValue||!t)throw new wr({methodName:"renderSelection"});let{selection:r}=this.selectionStore;if(!r)throw new Error("Cannot call renderSelection as no selection was made");let{storyId:n}=r,o;try{o=await this.storyStoreValue.storyIdToEntry(n)}catch(d){this.currentRender&&await this.teardownRender(this.currentRender),this.renderStoryLoadingException(n,d);return}let i=this.currentSelection?.storyId!==n,s=this.currentRender?.type!==o.type;o.type==="story"?this.view.showPreparingStory({immediate:s}):this.view.showPreparingDocs({immediate:s}),this.currentRender?.isPreparing()&&await this.teardownRender(this.currentRender);let a;o.type==="story"?a=new Nh(this.channel,this.storyStoreValue,t,this.mainStoryCallbacks(n),n,"story"):IY(o)?a=new K_(this.channel,this.storyStoreValue,o,this.mainStoryCallbacks(n)):a=new W_(this.channel,this.storyStoreValue,o,this.mainStoryCallbacks(n));let l=this.currentSelection;this.currentSelection=r;let u=this.currentRender;this.currentRender=a;try{await a.prepare()}catch(d){u&&await this.teardownRender(u),d!==Id&&this.renderStoryLoadingException(n,d);return}let c=!i&&u&&!a.isEqual(u);if(e&&Qp(a)&&(Un(!!a.story),this.storyStoreValue.args.updateFromPersisted(a.story,e)),u&&!u.torndown&&!i&&!c&&!s){this.currentRender=u,this.channel.emit(g0,n),this.view.showMain();return}if(u&&await this.teardownRender(u,{viewModeChanged:s}),l&&(i||s)&&this.channel.emit(d0,n),Qp(a)){Un(!!a.story);let{parameters:d,initialArgs:f,argTypes:h,unmappedArgs:m,initialGlobals:g,userGlobals:v,storyGlobals:b,globals:E}=this.storyStoreValue.getStoryContext(a.story);this.channel.emit(h0,{id:n,parameters:d,initialArgs:f,argTypes:h,args:m}),this.channel.emit(Va,{userGlobals:v,storyGlobals:b,globals:E,initialGlobals:g})}else{let{parameters:d}=this.storyStoreValue.projectAnnotations,{initialGlobals:f,globals:h}=this.storyStoreValue.userGlobals;if(this.channel.emit(Va,{globals:h,initialGlobals:f,storyGlobals:{},userGlobals:h}),jY(a)||a.entry.tags?.includes(Mn.ATTACHED_MDX)){if(!a.csfFiles)throw new sS({storyId:n});({parameters:d}=this.storyStoreValue.preparedMetaFromCSFFile({csfFile:a.csfFiles[0]}))}this.channel.emit(n0,{id:n,parameters:d})}Qp(a)?(Un(!!a.story),this.storyRenders.push(a),this.currentRender.renderToElement(this.view.prepareForStory(a.story))):this.currentRender.renderToElement(this.view.prepareForDocs(),this.renderStoryToElement.bind(this))}async teardownRender(e,{viewModeChanged:t=!1}={}){this.storyRenders=this.storyRenders.filter(r=>r!==e),await e?.teardown?.({viewModeChanged:t})}mainStoryCallbacks(e){return{showStoryDuringRender:()=>this.view.showStoryDuringRender(),showMain:()=>this.view.showMain(),showError:t=>this.renderError(e,t),showException:t=>this.renderException(e,t)}}renderPreviewEntryError(e,t){super.renderPreviewEntryError(e,t),this.view.showErrorDisplay(t)}renderMissingStory(){this.view.showNoPreview(),this.channel.emit(Af)}renderStoryLoadingException(e,t){lt.error(t),this.view.showErrorDisplay(t),this.channel.emit(Af,e)}renderException(e,t){let{name:r="Error",message:n=String(t),stack:o}=t,i=this.currentRender?.renderId;this.channel.emit(y0,{name:r,message:n,stack:o}),this.channel.emit(vi,{newPhase:"errored",renderId:i,storyId:e}),this.view.showErrorDisplay(t),lt.error(`Error rendering story '${e}':`),lt.error(t)}renderError(e,{title:t,description:r}){let n=this.currentRender?.renderId;this.channel.emit(p0,{title:t,description:r}),this.channel.emit(vi,{newPhase:"errored",renderId:n,storyId:e}),this.view.showErrorDisplay({message:t,stack:r}),lt.error(`Error rendering story ${t}: ${r}`)}},Ih=_t(Em(),1),qY=_t(Em(),1),z_=/^[a-zA-Z0-9 _-]*$/,ix=/^-?[0-9]+(\.[0-9]+)?$/,LY=/^#([a-f0-9]{3,4}|[a-f0-9]{6}|[a-f0-9]{8})$/i,sx=/^(rgba?|hsla?)\(([0-9]{1,3}),\s?([0-9]{1,3})%?,\s?([0-9]{1,3})%?,?\s?([0-9](\.[0-9]{1,2})?)?\)$/i,Mh=(e="",t)=>e===null||e===""||!z_.test(e)?!1:t==null||t instanceof Date||typeof t=="number"||typeof t=="boolean"?!0:typeof t=="string"?z_.test(t)||ix.test(t)||LY.test(t)||sx.test(t):Array.isArray(t)?t.every(r=>Mh(e,r)):vn(t)?Object.entries(t).every(([r,n])=>Mh(r,n)):!1,kY={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(sx);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 ix.test(e)?Number(e):e}},Y_=e=>{let t=e.split(";").map(r=>r.replace("=","~").replace(":","="));return Object.entries((0,qY.parse)(t.join(";"),kY)).reduce((r,[n,o])=>Mh(n,o)?Object.assign(r,{[n]:o}):(Et.warn(Be`
917
+ Omitted potentially unsafe URL args.
918
+
919
+ More info: https://storybook.js.org/docs/writing-stories/args?ref=error#setting-args-through-the-url
920
+ `),r),{})},{history:ax,document:Io}=he;function DY(e){let t=(e||"").match(/^\/story\/(.+)/);if(!t)throw new Error(`Invalid path '${e}', must start with '/story/'`);return t[1]}var lx=({selection:e,extraParams:t})=>{let r=Io?.location.search.slice(1),{path:n,selectedKind:o,selectedStory:i,...s}=(0,Ih.parse)(r);return`?${(0,Ih.stringify)({...s,...t,...e&&{id:e.storyId,viewMode:e.viewMode}})}`},FY=e=>{if(!e)return;let t=lx({selection:e}),{hash:r=""}=Io.location;Io.title=e.storyId,ax.replaceState({},"",`${Io.location.pathname}${t}${r}`)},$Y=e=>e!=null&&typeof e=="object"&&Array.isArray(e)===!1,xa=e=>{if(e!==void 0){if(typeof e=="string")return e;if(Array.isArray(e))return xa(e[0]);if($Y(e))return xa(Object.values(e).filter(Boolean))}},BY=()=>{if(typeof Io<"u"){let e=Io.location.search.slice(1),t=(0,Ih.parse)(e),r=typeof t.args=="string"?Y_(t.args):void 0,n=typeof t.globals=="string"?Y_(t.globals):void 0,o=xa(t.viewMode);if(typeof o!="string"||!o)o="story";else if(!o.match(/docs|story/))return null;let i=xa(t.path),s=i?DY(i):xa(t.id);if(s)return{storySpecifier:s,args:r,globals:n,viewMode:o}}return null},ux=class{constructor(){this.selectionSpecifier=BY()}setSelection(e){this.selection=e,FY(this.selection)}setQueryParams(e){let t=lx({extraParams:e}),{hash:r=""}=Io.location;ax.replaceState({},"",`${Io.location.pathname}${t}${r}`)}},VY=_t(xD(),1),UY=_t(Em(),1),{document:zt}=he,X_=100,cx=(e=>(e.MAIN="MAIN",e.NOPREVIEW="NOPREVIEW",e.PREPARING_STORY="PREPARING_STORY",e.PREPARING_DOCS="PREPARING_DOCS",e.ERROR="ERROR",e))(cx||{}),Zp={PREPARING_STORY:"sb-show-preparing-story",PREPARING_DOCS:"sb-show-preparing-docs",MAIN:"sb-show-main",NOPREVIEW:"sb-show-nopreview",ERROR:"sb-show-errordisplay"},ef={centered:"sb-main-centered",fullscreen:"sb-main-fullscreen",padded:"sb-main-padded"},Q_=new VY.default({escapeXML:!0}),dx=class{constructor(){if(this.testing=!1,typeof zt<"u"){let{__SPECIAL_TEST_PARAMETER__:e}=(0,UY.parse)(zt.location.search.slice(1));switch(e){case"preparing-story":{this.showPreparingStory(),this.testing=!0;break}case"preparing-docs":{this.showPreparingDocs(),this.testing=!0;break}}}}prepareForStory(e){return this.showStory(),this.applyLayout(e.parameters.layout),zt.documentElement.scrollTop=0,zt.documentElement.scrollLeft=0,this.storyRoot()}storyRoot(){return zt.getElementById("storybook-root")}prepareForDocs(){return this.showMain(),this.showDocs(),this.applyLayout("fullscreen"),zt.documentElement.scrollTop=0,zt.documentElement.scrollLeft=0,this.docsRoot()}docsRoot(){return zt.getElementById("storybook-docs")}applyLayout(e="padded"){if(e==="none"){zt.body.classList.remove(this.currentLayoutClass),this.currentLayoutClass=null;return}this.checkIfLayoutExists(e);let t=ef[e];zt.body.classList.remove(this.currentLayoutClass),zt.body.classList.add(t),this.currentLayoutClass=t}checkIfLayoutExists(e){ef[e]||lt.warn(Be`
921
+ The desired layout: ${e} is not a valid option.
922
+ The possible options are: ${Object.keys(ef).join(", ")}, none.
923
+ `)}showMode(e){clearTimeout(this.preparingTimeout),Object.keys(cx).forEach(t=>{t===e?zt.body.classList.add(Zp[t]):zt.body.classList.remove(Zp[t])})}showErrorDisplay({message:e="",stack:t=""}){let r=e,n=t,o=e.split(`
924
+ `);o.length>1&&([r]=o,n=o.slice(1).join(`
925
+ `).replace(/^\n/,"")),zt.getElementById("error-message").innerHTML=Q_.toHtml(r),zt.getElementById("error-stack").innerHTML=Q_.toHtml(n),this.showMode("ERROR")}showNoPreview(){this.testing||(this.showMode("NOPREVIEW"),this.storyRoot()?.setAttribute("hidden","true"),this.docsRoot()?.setAttribute("hidden","true"))}showPreparingStory({immediate:e=!1}={}){clearTimeout(this.preparingTimeout),e?this.showMode("PREPARING_STORY"):this.preparingTimeout=setTimeout(()=>this.showMode("PREPARING_STORY"),X_)}showPreparingDocs({immediate:e=!1}={}){clearTimeout(this.preparingTimeout),e?this.showMode("PREPARING_DOCS"):this.preparingTimeout=setTimeout(()=>this.showMode("PREPARING_DOCS"),X_)}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(){zt.body.classList.add(Zp.MAIN)}},HY=class extends ox{constructor(t,r){super(t,r,new ux,new dx),this.importFn=t,this.getProjectAnnotations=r,he.__STORYBOOK_PREVIEW__=this}},{document:pi}=he,JY=["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"],GY="script",Z_="scripts-root";function jh(){let e=pi.createEvent("Event");e.initEvent("DOMContentLoaded",!0,!0),pi.dispatchEvent(e)}function WY(e,t,r){let n=pi.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):pi.head.appendChild(n),e.parentNode.removeChild(e),e.src||t()}function px(e,t,r=0){e[r](()=>{r++,r===e.length?t():px(e,t,r)})}function KY(e){let t=pi.getElementById(Z_);t?t.innerHTML="":(t=pi.createElement("div"),t.id=Z_,pi.body.appendChild(t));let r=Array.from(e.querySelectorAll(GY));if(r.length){let n=[];r.forEach(o=>{let i=o.getAttribute("type");(!i||JY.includes(i))&&n.push(s=>WY(o,s,t))}),n.length&&px(n,jh,void 0)}else jh()}var tf;(function(e){e.start="/**",e.nostart="/***",e.delim="*",e.end="*/"})(tf=tf||(tf={}));var zY=_t(ND(),1),Mi=(0,zY.stringifyRules)(),YY=Mi.JsdocTypeObject;Mi.JsdocTypeAny=()=>"any";Mi.JsdocTypeObject=(e,t)=>`(${YY(e,t)})`;Mi.JsdocTypeOptional=(e,t)=>t(e.element);Mi.JsdocTypeNullable=(e,t)=>t(e.element);Mi.JsdocTypeNotNullable=(e,t)=>t(e.element);Mi.JsdocTypeUnion=(e,t)=>e.elements.map(t).join("|");var XY="storybook/docs",QY=`${XY}/snippet-rendered`;async function ZY(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;Vr.getChannel().emit(QY,{id:n,source:s,args:o})}var ll={depth:10,clearOnStoryChange:!0,limit:50},e7=(e={})=>{Object.assign(ll,e)},fx=(e,t)=>{let r=Object.getPrototypeOf(e);return!r||t(r)?r:fx(r,t)},t7=e=>!!(typeof e=="object"&&e&&fx(e,t=>/^Synthetic(?:Base)?Event$/.test(t.constructor.name))&&typeof e.persist=="function"),r7=e=>{if(t7(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};function Fl(e,t={}){let r={...ll,...t},n=function(...o){if(t.implicit){let d=("__STORYBOOK_PREVIEW__"in he?he.__STORYBOOK_PREVIEW__:void 0)?.storyRenders.find(f=>f.phase==="playing"||f.phase==="rendering");if(d){let f=!globalThis?.FEATURES?.disallowImplicitActionsInRenderV8,h=new rS({phase:d.phase,name:e,deprecated:f});if(f)console.warn(h);else throw h}}let i=Vr.getChannel(),s=Date.now().toString(36)+Math.random().toString(36).substring(2),a=5,l=o.map(r7),u=o.length>1?l:l[0],c={id:s,count:0,data:{name:e,args:u},options:{...r,maxDepth:a+(r.depth||3)}};i.emit(TS,c)};return n.isAction=!0,n.implicit=t.implicit,n}var n7=(...e)=>{let t=ll,r=e;r.length===1&&Array.isArray(r[0])&&([r]=r),r.length!==1&&typeof r[r.length-1]!="string"&&(t={...ll,...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]=Fl(n[i],t)}),o},o7={"@storybook/global":w0,"storybook/test":MS,"storybook/actions":_S,"storybook/preview-api":Nf,"storybook/internal/channels":R0,"storybook/internal/client-logger":O0,"storybook/internal/core-events":_m,"storybook/internal/types":fS,"storybook/internal/preview-errors":Q0,"storybook/internal/preview-api":Nf};async function i7(){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}s7(t,r)}var s7=async(e,t)=>{let r={entries:{}};for(let a of Object.values(e.entries)){let l=a.title.split("/"),u=r;for(let c of l)u.entries||(u.entries={}),u.entries[c]?t===a.id&&(u.entries[c].isActive=!0):u.entries[c]={title:c,isActive:t===a.id,entries:{}},u=u.entries[c];u.entries||(u.entries={}),u.entries[a.name]={id:a.id,name:a.name,href:`?id=${a.id}&viewMode=${a.type}&navigator=true`,isActive:t===a.id}}let n=a=>{if("entries"in a&&"title"in a){let u=a;return`
926
+ <li class="sb-navigator-branch">
927
+ <details${u.isActive?" open":""}>
928
+ <summary class="sb-navigator-title">
929
+ ${u.title}
930
+ </summary>
931
+ <ul class="sb-navigator-entries" aria-label="${u.title}">
932
+ ${Object.values(u.entries).map(n).join("")}
933
+ </ul>
934
+ </details>
935
+ </li>
936
+ `}let l=a;return`
937
+ <li class="sb-navigator-story-item">
938
+ <a href="${l.href}"
939
+ class="sb-navigator-story-link${l.isActive?" active":""}"
940
+ aria-current="${l.isActive?"location":"false"}">${l.name}</a>
941
+ </li>
942
+ `},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=`
943
+ <ul class="sb-navigator-list">${o}</ul>
944
+ `,document.body.insertBefore(i,document.body.firstChild);let s=document.createElement("style");s.id="sb-navigator-style",s.textContent=`
945
+ body {
946
+ display: grid !important;
947
+ grid-template-columns: 300px 1fr;
948
+ font-family: 'Nunito', sans-serif;
949
+ height: 100vh;
950
+ margin: 0;
951
+
952
+ --text-color: rgb(46, 52, 56);
953
+ --bg-color: rgb(246, 249, 252);
954
+
955
+ @media (prefers-color-scheme: dark) {
956
+ --text-color: rgb(201, 205, 207);
957
+ --bg-color: rgb(34, 36, 37);
958
+ }
959
+ }
960
+ #storybook-root, #storybook-docs {
961
+ overflow-y: auto;
962
+ max-height: 100vh;
963
+ max-width: 100%;
964
+ }
965
+ #sb-navigator-container, #sb-navigator-container * {
966
+ box-sizing: border-box;
967
+ }
968
+ #sb-navigator-container {
969
+ height: 100vh;
970
+ overflow-y: auto;
971
+ border-right: 1px solid #eee;
972
+ padding: 1rem;
973
+ font-size: 14px;
974
+ color: var(--text-color);
975
+ background-color: var(--bg-color);
976
+ align-self: start;
977
+ z-index: 1000;
978
+ }
979
+ .sb-main-padded #sb-navigator-container {
980
+ margin: -1rem 1rem -1rem -1rem;
981
+ }
982
+ .sb-navigator-list {
983
+ list-style-type: none;
984
+ padding: 0;
985
+ margin: 0;
986
+ }
987
+ .sb-navigator-branch {
988
+ list-style-type: none;
989
+ }
990
+ .sb-navigator-item {
991
+ margin-bottom: 15px;
992
+ }
993
+ .sb-navigator-title {
994
+ color: var(--text-color);
995
+ text-decoration: none;
996
+ padding-block: 5px;
997
+ cursor: pointer;
998
+ }
999
+ .sb-navigator-entries {
1000
+ padding-left: 15px;
1001
+ }
1002
+ .sb-navigator-story-item {
1003
+ margin-bottom: 8px;
1004
+ margin-left: 8px;
1005
+ }
1006
+ .sb-navigator-story-link {
1007
+ color: var(--text-color);
1008
+ }
1009
+ .sb-navigator-story-link.active {
1010
+ font-weight: bold;
1011
+ color: hsl(212 100 46);
1012
+ }
1013
+ `,document.head.appendChild(s),i.querySelector(".sb-navigator-story-link.active")?.closest("details")?.scrollIntoView({block:"center"})},a7=_t(ID(),1),rf;function l7(){return rf||(rf=new a7.default(he.navigator?.userAgent).getBrowserInfo()),rf}function u7(e){return e.browserInfo=l7(),e}function c7(e){let t=e.error||e;t.fromStorybook&&he.sendTelemetryError(t)}function d7({reason:e}){e.fromStorybook&&he.sendTelemetryError(e)}function hx(){aF.forEach(e=>{he[S0[e]]=o7[e]}),he.sendTelemetryError=e=>{he.__STORYBOOK_ADDONS_CHANNEL__.emit(E0,u7(e))},document.addEventListener("DOMContentLoaded",()=>{he.__STORYBOOK_ADDONS_CHANNEL__.on(T0,e=>{e?document.body.setAttribute("inert","true"):document.body.removeAttribute("inert")})}),he.addEventListener("error",c7),he.addEventListener("unhandledrejection",d7),i7()}hx();const{createBrowserChannel:p7}=__STORYBOOK_MODULE_CHANNELS__,{addons:f7}=__STORYBOOK_MODULE_PREVIEW_API__,bg=p7({page:"preview"});f7.setChannel(bg);window.__STORYBOOK_ADDONS_CHANNEL__=bg;window.CONFIG_TYPE==="DEVELOPMENT"&&(window.__STORYBOOK_SERVER_CHANNEL__=bg);var h7=Object.create,mx=Object.defineProperty,m7=Object.getOwnPropertyDescriptor,yx=Object.getOwnPropertyNames,y7=Object.getPrototypeOf,g7=Object.prototype.hasOwnProperty,b7=(e,t)=>function(){return t||(0,e[yx(e)[0]])((t={exports:{}}).exports,t),t.exports},v7=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of yx(t))!g7.call(e,o)&&o!==r&&mx(e,o,{get:()=>t[o],enumerable:!(n=m7(t,o))||n.enumerable});return e},E7=(e,t,r)=>(r=e!=null?h7(y7(e)):{},v7(mx(r,"default",{value:e,enumerable:!0}),e));function nf(e){if(!e||typeof e!="object")return!1;let t=Object.getPrototypeOf(e);return t===null||t===Object.prototype||Object.getPrototypeOf(t)===null?Object.prototype.toString.call(e)==="[object Object]":!1}function _7(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}var T7=b7({"../../node_modules/jsdoc-type-pratt-parser/dist/index.js"(e,t){(function(r,n){typeof e=="object"&&typeof t<"u"?n(e):typeof define=="function"&&define.amd?define(["exports"],n):(r=typeof globalThis<"u"?globalThis:r||self,n(r.jtpp={}))})(e,(function(r){function n(p){return p.text!==void 0&&p.text!==""?`'${p.type}' with value '${p.text}'`:`'${p.type}'`}class o extends Error{constructor(y){super(`No parslet found for token: ${n(y)}`),this.token=y,Object.setPrototypeOf(this,o.prototype)}getToken(){return this.token}}class i extends Error{constructor(y){super(`The parsing ended early. The next token was: ${n(y)}`),this.token=y,Object.setPrototypeOf(this,i.prototype)}getToken(){return this.token}}class s extends Error{constructor(y,O){let I=`Unexpected type: '${y.type}'.`;O!==void 0&&(I+=` Message: ${O}`),super(I),Object.setPrototypeOf(this,s.prototype)}}function a(p){return y=>y.startsWith(p)?{type:p,text:p}:null}function l(p){let y=0,O,I=p[0],W=!1;if(I!=="'"&&I!=='"')return null;for(;y<p.length;){if(y++,O=p[y],!W&&O===I){y++;break}W=!W&&O==="\\"}if(O!==I)throw new Error("Unterminated String");return p.slice(0,y)}let u=new RegExp("[$_\\p{ID_Start}]|\\\\u\\p{Hex_Digit}{4}|\\\\u\\{0*(?:\\p{Hex_Digit}{1,5}|10\\p{Hex_Digit}{4})\\}","u"),c=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 d(p){let y=p[0];if(!u.test(y))return null;let O=1;do{if(y=p[O],!c.test(y))break;O++}while(O<p.length);return p.slice(0,O)}let f=/^(NaN|-?((\d*\.\d+|\d+)([Ee][+-]?\d+)?|Infinity))/;function h(p){var y,O;return(O=(y=f.exec(p))===null||y===void 0?void 0:y[0])!==null&&O!==void 0?O:null}let m=p=>{let y=d(p);return y==null?null:{type:"Identifier",text:y}};function g(p){return y=>{if(!y.startsWith(p))return null;let O=y[p.length];return O!==void 0&&c.test(O)?null:{type:p,text:p}}}let v=p=>{let y=l(p);return y==null?null:{type:"StringValue",text:y}},b=p=>p.length>0?null:{type:"EOF",text:""},E=p=>{let y=h(p);return y===null?null:{type:"Number",text:y}},S=[b,a("=>"),a("("),a(")"),a("{"),a("}"),a("["),a("]"),a("|"),a("&"),a("<"),a(">"),a(","),a(";"),a("*"),a("?"),a("!"),a("="),a(":"),a("..."),a("."),a("#"),a("~"),a("/"),a("@"),g("undefined"),g("null"),g("function"),g("this"),g("new"),g("module"),g("event"),g("extends"),g("external"),g("infer"),g("typeof"),g("keyof"),g("readonly"),g("import"),g("is"),g("in"),g("asserts"),E,m,v],A=/^\s*\n\s*/;class C{static create(y){let O=this.read(y);y=O.text;let I=this.read(y);return y=I.text,new C(y,void 0,O.token,I.token)}constructor(y,O,I,W){this.text="",this.text=y,this.previous=O,this.current=I,this.next=W}static read(y,O=!1){O=O||A.test(y),y=y.trim();for(let I of S){let W=I(y);if(W!==null){let ee=Object.assign(Object.assign({},W),{startOfLine:O});return y=y.slice(ee.text.length),{text:y,token:ee}}}throw new Error("Unexpected Token "+y)}advance(){let y=C.read(this.text);return new C(y.text,this.current,this.next,y.token)}}function T(p){if(p===void 0)throw new Error("Unexpected undefined");if(p.type==="JsdocTypeKeyValue"||p.type==="JsdocTypeParameterList"||p.type==="JsdocTypeProperty"||p.type==="JsdocTypeReadonlyProperty"||p.type==="JsdocTypeObjectField"||p.type==="JsdocTypeJsdocObjectField"||p.type==="JsdocTypeIndexSignature"||p.type==="JsdocTypeMappedType"||p.type==="JsdocTypeTypeParameter")throw new s(p);return p}function w(p){return p.type==="JsdocTypeKeyValue"?R(p):T(p)}function _(p){return p.type==="JsdocTypeName"?p:R(p)}function R(p){if(p.type!=="JsdocTypeKeyValue")throw new s(p);return p}function M(p){var y;if(p.type==="JsdocTypeVariadic"){if(((y=p.element)===null||y===void 0?void 0:y.type)==="JsdocTypeName")return p;throw new s(p)}if(p.type!=="JsdocTypeNumber"&&p.type!=="JsdocTypeName")throw new s(p);return p}function N(p){if(p.type==="JsdocTypeTuple"||p.type==="JsdocTypeGeneric"&&p.meta.brackets==="square")return p;throw new s(p)}function q(p){return p.type==="JsdocTypeIndexSignature"||p.type==="JsdocTypeMappedType"}var x;(function(p){p[p.ALL=0]="ALL",p[p.PARAMETER_LIST=1]="PARAMETER_LIST",p[p.OBJECT=2]="OBJECT",p[p.KEY_VALUE=3]="KEY_VALUE",p[p.INDEX_BRACKETS=4]="INDEX_BRACKETS",p[p.UNION=5]="UNION",p[p.INTERSECTION=6]="INTERSECTION",p[p.PREFIX=7]="PREFIX",p[p.INFIX=8]="INFIX",p[p.TUPLE=9]="TUPLE",p[p.SYMBOL=10]="SYMBOL",p[p.OPTIONAL=11]="OPTIONAL",p[p.NULLABLE=12]="NULLABLE",p[p.KEY_OF_TYPE_OF=13]="KEY_OF_TYPE_OF",p[p.FUNCTION=14]="FUNCTION",p[p.ARROW=15]="ARROW",p[p.ARRAY_BRACKETS=16]="ARRAY_BRACKETS",p[p.GENERIC=17]="GENERIC",p[p.NAME_PATH=18]="NAME_PATH",p[p.PARENTHESIS=19]="PARENTHESIS",p[p.SPECIAL_TYPES=20]="SPECIAL_TYPES"})(x||(x={}));class P{constructor(y,O,I){this.grammar=y,typeof O=="string"?this._lexer=C.create(O):this._lexer=O,this.baseParser=I}get lexer(){return this._lexer}parse(){let y=this.parseType(x.ALL);if(this.lexer.current.type!=="EOF")throw new i(this.lexer.current);return y}parseType(y){return T(this.parseIntermediateType(y))}parseIntermediateType(y){let O=this.tryParslets(null,y);if(O===null)throw new o(this.lexer.current);return this.parseInfixIntermediateType(O,y)}parseInfixIntermediateType(y,O){let I=this.tryParslets(y,O);for(;I!==null;)y=I,I=this.tryParslets(y,O);return y}tryParslets(y,O){for(let I of this.grammar){let W=I(this,O,y);if(W!==null)return W}return null}consume(y){return Array.isArray(y)||(y=[y]),y.includes(this.lexer.current.type)?(this._lexer=this.lexer.advance(),!0):!1}acceptLexerState(y){this._lexer=y.lexer}}function L(p){return p==="}"||p==="EOF"||p==="|"||p===","||p===")"||p===">"}let $=(p,y,O)=>{let I=p.lexer.current.type,W=p.lexer.next.type;return O==null&&I==="?"&&!L(W)||O!=null&&I==="?"?(p.consume("?"),O==null?{type:"JsdocTypeNullable",element:p.parseType(x.NULLABLE),meta:{position:"prefix"}}:{type:"JsdocTypeNullable",element:T(O),meta:{position:"suffix"}}):null};function V(p){let y=(O,I,W)=>{let ee=O.lexer.current.type,ue=O.lexer.next.type;if(W===null){if("parsePrefix"in p&&p.accept(ee,ue))return p.parsePrefix(O)}else if("parseInfix"in p&&p.precedence>I&&p.accept(ee,ue))return p.parseInfix(O,W);return null};return Object.defineProperty(y,"name",{value:p.name}),y}let G=V({name:"optionalParslet",accept:p=>p==="=",precedence:x.OPTIONAL,parsePrefix:p=>(p.consume("="),{type:"JsdocTypeOptional",element:p.parseType(x.OPTIONAL),meta:{position:"prefix"}}),parseInfix:(p,y)=>(p.consume("="),{type:"JsdocTypeOptional",element:T(y),meta:{position:"suffix"}})}),ie=V({name:"numberParslet",accept:p=>p==="Number",parsePrefix:p=>{let y=parseFloat(p.lexer.current.text);return p.consume("Number"),{type:"JsdocTypeNumber",value:y}}}),Ee=V({name:"parenthesisParslet",accept:p=>p==="(",parsePrefix:p=>{if(p.consume("("),p.consume(")"))return{type:"JsdocTypeParameterList",elements:[]};let y=p.parseIntermediateType(x.ALL);if(!p.consume(")"))throw new Error("Unterminated parenthesis");return y.type==="JsdocTypeParameterList"?y:y.type==="JsdocTypeKeyValue"?{type:"JsdocTypeParameterList",elements:[y]}:{type:"JsdocTypeParenthesis",element:T(y)}}}),fe=V({name:"specialTypesParslet",accept:(p,y)=>p==="?"&&L(y)||p==="null"||p==="undefined"||p==="*",parsePrefix:p=>{if(p.consume("null"))return{type:"JsdocTypeNull"};if(p.consume("undefined"))return{type:"JsdocTypeUndefined"};if(p.consume("*"))return{type:"JsdocTypeAny"};if(p.consume("?"))return{type:"JsdocTypeUnknown"};throw new Error("Unacceptable token: "+p.lexer.current.text)}}),j=V({name:"notNullableParslet",accept:p=>p==="!",precedence:x.NULLABLE,parsePrefix:p=>(p.consume("!"),{type:"JsdocTypeNotNullable",element:p.parseType(x.NULLABLE),meta:{position:"prefix"}}),parseInfix:(p,y)=>(p.consume("!"),{type:"JsdocTypeNotNullable",element:T(y),meta:{position:"suffix"}})});function H({allowTrailingComma:p}){return V({name:"parameterListParslet",accept:y=>y===",",precedence:x.PARAMETER_LIST,parseInfix:(y,O)=>{let I=[w(O)];y.consume(",");do try{let W=y.parseIntermediateType(x.PARAMETER_LIST);I.push(w(W))}catch(W){if(W instanceof o)break;throw W}while(y.consume(","));if(I.length>0&&I.slice(0,-1).some(W=>W.type==="JsdocTypeVariadic"))throw new Error("Only the last parameter may be a rest parameter");return{type:"JsdocTypeParameterList",elements:I}}})}let oe=V({name:"genericParslet",accept:(p,y)=>p==="<"||p==="."&&y==="<",precedence:x.GENERIC,parseInfix:(p,y)=>{let O=p.consume(".");p.consume("<");let I=[],W=!1;if(p.consume("infer")){W=!0;let ee=p.parseIntermediateType(x.SYMBOL);if(ee.type!=="JsdocTypeName")throw new s(ee,"A typescript asserts always has to have a name on the left side.");I.push(ee)}else do I.push(p.parseType(x.PARAMETER_LIST));while(p.consume(","));if(!p.consume(">"))throw new Error("Unterminated generic parameter list");return Object.assign(Object.assign({type:"JsdocTypeGeneric",left:T(y),elements:I},W?{infer:!0}:{}),{meta:{brackets:"angle",dot:O}})}}),te=V({name:"unionParslet",accept:p=>p==="|",precedence:x.UNION,parseInfix:(p,y)=>{p.consume("|");let O=[];do O.push(p.parseType(x.UNION));while(p.consume("|"));return{type:"JsdocTypeUnion",elements:[T(y),...O]}}}),Z=[$,G,ie,Ee,fe,j,H({allowTrailingComma:!0}),oe,te,G];function ye({allowSquareBracketsOnAnyType:p,allowJsdocNamePaths:y,pathGrammar:O}){return function(I,W,ee){if(ee==null||W>=x.NAME_PATH)return null;let ue=I.lexer.current.type,Oe=I.lexer.next.type;if(!(ue==="."&&Oe!=="<"||ue==="["&&(p||ee.type==="JsdocTypeName")||y&&(ue==="~"||ue==="#")))return null;let Ce,Je=!1;I.consume(".")?Ce="property":I.consume("[")?(Ce="property-brackets",Je=!0):I.consume("~")?Ce="inner":(I.consume("#"),Ce="instance");let jt=O!==null?new P(O,I.lexer,I):I,ft=jt.parseIntermediateType(x.NAME_PATH);I.acceptLexerState(jt);let Kr;switch(ft.type){case"JsdocTypeName":Kr={type:"JsdocTypeProperty",value:ft.value,meta:{quote:void 0}};break;case"JsdocTypeNumber":Kr={type:"JsdocTypeProperty",value:ft.value.toString(10),meta:{quote:void 0}};break;case"JsdocTypeStringValue":Kr={type:"JsdocTypeProperty",value:ft.value,meta:{quote:ft.meta.quote}};break;case"JsdocTypeSpecialNamePath":if(ft.specialType==="event")Kr=ft;else throw new s(ft,"Type 'JsdocTypeSpecialNamePath' is only allowed with specialType 'event'");break;default:throw new s(ft,"Expecting 'JsdocTypeName', 'JsdocTypeNumber', 'JsdocStringValue' or 'JsdocTypeSpecialNamePath'")}if(Je&&!I.consume("]")){let ta=I.lexer.current;throw new Error(`Unterminated square brackets. Next token is '${ta.type}' with text '${ta.text}'`)}return{type:"JsdocTypeNamePath",left:T(ee),right:Kr,pathType:Ce}}}function me({allowedAdditionalTokens:p}){return V({name:"nameParslet",accept:y=>y==="Identifier"||y==="this"||y==="new"||p.includes(y),parsePrefix:y=>{let{type:O,text:I}=y.lexer.current;return y.consume(O),{type:"JsdocTypeName",value:I}}})}let De=V({name:"stringValueParslet",accept:p=>p==="StringValue",parsePrefix:p=>{let y=p.lexer.current.text;return p.consume("StringValue"),{type:"JsdocTypeStringValue",value:y.slice(1,-1),meta:{quote:y[0]==="'"?"single":"double"}}}});function J({pathGrammar:p,allowedTypes:y}){return V({name:"specialNamePathParslet",accept:O=>y.includes(O),parsePrefix:O=>{let I=O.lexer.current.type;if(O.consume(I),!O.consume(":"))return{type:"JsdocTypeName",value:I};let W,ee=O.lexer.current;if(O.consume("StringValue"))W={type:"JsdocTypeSpecialNamePath",value:ee.text.slice(1,-1),specialType:I,meta:{quote:ee.text[0]==="'"?"single":"double"}};else{let Ce="",Je=["Identifier","@","/"];for(;Je.some(jt=>O.consume(jt));)Ce+=ee.text,ee=O.lexer.current;W={type:"JsdocTypeSpecialNamePath",value:Ce,specialType:I,meta:{quote:void 0}}}let ue=new P(p,O.lexer,O),Oe=ue.parseInfixIntermediateType(W,x.ALL);return O.acceptLexerState(ue),T(Oe)}})}let le=[me({allowedAdditionalTokens:["external","module"]}),De,ie,ye({allowSquareBracketsOnAnyType:!1,allowJsdocNamePaths:!0,pathGrammar:null})],ge=[...le,J({allowedTypes:["event"],pathGrammar:le})];function k(p){let y;if(p.type==="JsdocTypeParameterList")y=p.elements;else if(p.type==="JsdocTypeParenthesis")y=[p.element];else throw new s(p);return y.map(O=>w(O))}function U(p){let y=k(p);if(y.some(O=>O.type==="JsdocTypeKeyValue"))throw new Error("No parameter should be named");return y}function z({allowNamedParameters:p,allowNoReturnType:y,allowWithoutParenthesis:O,allowNewAsFunctionKeyword:I}){return V({name:"functionParslet",accept:(W,ee)=>W==="function"||I&&W==="new"&&ee==="(",parsePrefix:W=>{let ee=W.consume("new");W.consume("function");let ue=W.lexer.current.type==="(";if(!ue){if(!O)throw new Error("function is missing parameter list");return{type:"JsdocTypeName",value:"function"}}let Oe={type:"JsdocTypeFunction",parameters:[],arrow:!1,constructor:ee,parenthesis:ue},Ce=W.parseIntermediateType(x.FUNCTION);if(p===void 0)Oe.parameters=U(Ce);else{if(ee&&Ce.type==="JsdocTypeFunction"&&Ce.arrow)return Oe=Ce,Oe.constructor=!0,Oe;Oe.parameters=k(Ce);for(let Je of Oe.parameters)if(Je.type==="JsdocTypeKeyValue"&&!p.includes(Je.key))throw new Error(`only allowed named parameters are ${p.join(", ")} but got ${Je.type}`)}if(W.consume(":"))Oe.returnType=W.parseType(x.PREFIX);else if(!y)throw new Error("function is missing return type");return Oe}})}function Q({allowPostfix:p,allowEnclosingBrackets:y}){return V({name:"variadicParslet",accept:O=>O==="...",precedence:x.PREFIX,parsePrefix:O=>{O.consume("...");let I=y&&O.consume("[");try{let W=O.parseType(x.PREFIX);if(I&&!O.consume("]"))throw new Error("Unterminated variadic type. Missing ']'");return{type:"JsdocTypeVariadic",element:T(W),meta:{position:"prefix",squareBrackets:I}}}catch(W){if(W instanceof o){if(I)throw new Error("Empty square brackets for variadic are not allowed.");return{type:"JsdocTypeVariadic",meta:{position:void 0,squareBrackets:!1}}}else throw W}},parseInfix:p?(O,I)=>(O.consume("..."),{type:"JsdocTypeVariadic",element:T(I),meta:{position:"suffix",squareBrackets:!1}}):void 0})}let X=V({name:"symbolParslet",accept:p=>p==="(",precedence:x.SYMBOL,parseInfix:(p,y)=>{if(y.type!=="JsdocTypeName")throw new Error("Symbol expects a name on the left side. (Reacting on '(')");p.consume("(");let O={type:"JsdocTypeSymbol",value:y.value};if(!p.consume(")")){let I=p.parseIntermediateType(x.SYMBOL);if(O.element=M(I),!p.consume(")"))throw new Error("Symbol does not end after value")}return O}}),re=V({name:"arrayBracketsParslet",precedence:x.ARRAY_BRACKETS,accept:(p,y)=>p==="["&&y==="]",parseInfix:(p,y)=>(p.consume("["),p.consume("]"),{type:"JsdocTypeGeneric",left:{type:"JsdocTypeName",value:"Array"},elements:[T(y)],meta:{brackets:"square",dot:!1}})});function ce({objectFieldGrammar:p,allowKeyTypes:y}){return V({name:"objectParslet",accept:O=>O==="{",parsePrefix:O=>{O.consume("{");let I={type:"JsdocTypeObject",meta:{separator:"comma"},elements:[]};if(!O.consume("}")){let W,ee=new P(p,O.lexer,O);for(;;){ee.acceptLexerState(O);let ue=ee.parseIntermediateType(x.OBJECT);O.acceptLexerState(ee),ue===void 0&&y&&(ue=O.parseIntermediateType(x.OBJECT));let Oe=!1;if(ue.type==="JsdocTypeNullable"&&(Oe=!0,ue=ue.element),ue.type==="JsdocTypeNumber"||ue.type==="JsdocTypeName"||ue.type==="JsdocTypeStringValue"){let Ce;ue.type==="JsdocTypeStringValue"&&(Ce=ue.meta.quote),I.elements.push({type:"JsdocTypeObjectField",key:ue.value.toString(),right:void 0,optional:Oe,readonly:!1,meta:{quote:Ce}})}else if(ue.type==="JsdocTypeObjectField"||ue.type==="JsdocTypeJsdocObjectField")I.elements.push(ue);else throw new s(ue);if(O.lexer.current.startOfLine)W="linebreak",O.consume(",")||O.consume(";");else if(O.consume(","))W="comma";else if(O.consume(";"))W="semicolon";else break;if(O.lexer.current.type==="}")break}if(I.meta.separator=W??"comma",W==="linebreak"&&(I.meta.propertyIndent=" "),!O.consume("}"))throw new Error("Unterminated record type. Missing '}'")}return I}})}function ae({allowSquaredProperties:p,allowKeyTypes:y,allowReadonly:O,allowOptional:I}){return V({name:"objectFieldParslet",precedence:x.KEY_VALUE,accept:W=>W===":",parseInfix:(W,ee)=>{var ue;let Oe=!1,Ce=!1;I&&ee.type==="JsdocTypeNullable"&&(Oe=!0,ee=ee.element),O&&ee.type==="JsdocTypeReadonlyProperty"&&(Ce=!0,ee=ee.element);let Je=(ue=W.baseParser)!==null&&ue!==void 0?ue:W;if(Je.acceptLexerState(W),ee.type==="JsdocTypeNumber"||ee.type==="JsdocTypeName"||ee.type==="JsdocTypeStringValue"||q(ee)){if(q(ee)&&!p)throw new s(ee);Je.consume(":");let jt;ee.type==="JsdocTypeStringValue"&&(jt=ee.meta.quote);let ft=Je.parseType(x.KEY_VALUE);return W.acceptLexerState(Je),{type:"JsdocTypeObjectField",key:q(ee)?ee:ee.value.toString(),right:ft,optional:Oe,readonly:Ce,meta:{quote:jt}}}else{if(!y)throw new s(ee);Je.consume(":");let jt=Je.parseType(x.KEY_VALUE);return W.acceptLexerState(Je),{type:"JsdocTypeJsdocObjectField",left:T(ee),right:jt}}}})}function se({allowOptional:p,allowVariadic:y}){return V({name:"keyValueParslet",precedence:x.KEY_VALUE,accept:O=>O===":",parseInfix:(O,I)=>{let W=!1,ee=!1;if(p&&I.type==="JsdocTypeNullable"&&(W=!0,I=I.element),y&&I.type==="JsdocTypeVariadic"&&I.element!==void 0&&(ee=!0,I=I.element),I.type!=="JsdocTypeName")throw new s(I);O.consume(":");let ue=O.parseType(x.KEY_VALUE);return{type:"JsdocTypeKeyValue",key:I.value,right:ue,optional:W,variadic:ee}}})}let ne=[...Z,z({allowWithoutParenthesis:!0,allowNamedParameters:["this","new"],allowNoReturnType:!0,allowNewAsFunctionKeyword:!1}),De,J({allowedTypes:["module","external","event"],pathGrammar:ge}),Q({allowEnclosingBrackets:!0,allowPostfix:!0}),me({allowedAdditionalTokens:["keyof"]}),X,re,ye({allowSquareBracketsOnAnyType:!1,allowJsdocNamePaths:!0,pathGrammar:ge})],_e=[...ne,ce({objectFieldGrammar:[me({allowedAdditionalTokens:["typeof","module","in"]}),ae({allowSquaredProperties:!1,allowKeyTypes:!0,allowOptional:!1,allowReadonly:!1}),...ne],allowKeyTypes:!0}),se({allowOptional:!0,allowVariadic:!0})],pe=V({name:"typeOfParslet",accept:p=>p==="typeof",parsePrefix:p=>(p.consume("typeof"),{type:"JsdocTypeTypeof",element:p.parseType(x.KEY_OF_TYPE_OF)})}),ve=[me({allowedAdditionalTokens:["typeof","module","keyof","event","external","in"]}),$,G,De,ie,ae({allowSquaredProperties:!1,allowKeyTypes:!1,allowOptional:!1,allowReadonly:!1})],we=[...Z,ce({allowKeyTypes:!1,objectFieldGrammar:ve}),me({allowedAdditionalTokens:["event","external","in"]}),pe,z({allowWithoutParenthesis:!1,allowNamedParameters:["this","new"],allowNoReturnType:!0,allowNewAsFunctionKeyword:!1}),Q({allowEnclosingBrackets:!1,allowPostfix:!1}),me({allowedAdditionalTokens:["keyof"]}),J({allowedTypes:["module"],pathGrammar:ge}),ye({allowSquareBracketsOnAnyType:!1,allowJsdocNamePaths:!0,pathGrammar:ge}),se({allowOptional:!1,allowVariadic:!1}),X],je=V({name:"assertsParslet",accept:p=>p==="asserts",parsePrefix:p=>{p.consume("asserts");let y=p.parseIntermediateType(x.SYMBOL);if(y.type!=="JsdocTypeName")throw new s(y,"A typescript asserts always has to have a name on the left side.");return p.consume("is")?{type:"JsdocTypeAsserts",left:y,right:T(p.parseIntermediateType(x.INFIX))}:{type:"JsdocTypeAssertsPlain",element:y}}});function We({allowQuestionMark:p}){return V({name:"tupleParslet",accept:y=>y==="[",parsePrefix:y=>{y.consume("[");let O={type:"JsdocTypeTuple",elements:[]};if(y.consume("]"))return O;let I=y.parseIntermediateType(x.ALL);if(I.type==="JsdocTypeParameterList"?I.elements[0].type==="JsdocTypeKeyValue"?O.elements=I.elements.map(R):O.elements=I.elements.map(T):I.type==="JsdocTypeKeyValue"?O.elements=[R(I)]:O.elements=[T(I)],!y.consume("]"))throw new Error("Unterminated '['");if(O.elements.some(W=>W.type==="JsdocTypeUnknown"))throw new Error("Question mark in tuple not allowed");return O}})}let Ve=V({name:"keyOfParslet",accept:p=>p==="keyof",parsePrefix:p=>(p.consume("keyof"),{type:"JsdocTypeKeyof",element:T(p.parseType(x.KEY_OF_TYPE_OF))})}),Rt=V({name:"importParslet",accept:p=>p==="import",parsePrefix:p=>{if(p.consume("import"),!p.consume("("))throw new Error("Missing parenthesis after import keyword");let y=p.parseType(x.PREFIX);if(y.type!=="JsdocTypeStringValue")throw new Error("Only string values are allowed as paths for imports");if(!p.consume(")"))throw new Error("Missing closing parenthesis after import keyword");return{type:"JsdocTypeImport",element:y}}}),mt=V({name:"readonlyPropertyParslet",accept:p=>p==="readonly",parsePrefix:p=>(p.consume("readonly"),{type:"JsdocTypeReadonlyProperty",element:p.parseIntermediateType(x.KEY_VALUE)})}),$t=V({name:"arrowFunctionParslet",precedence:x.ARROW,accept:p=>p==="=>",parseInfix:(p,y)=>(p.consume("=>"),{type:"JsdocTypeFunction",parameters:k(y).map(_),arrow:!0,constructor:!1,parenthesis:!0,returnType:p.parseType(x.OBJECT)})}),Nt=V({name:"genericArrowFunctionParslet",accept:p=>p==="<",parsePrefix:p=>{let y=[];p.consume("<");do{let I,W=p.parseIntermediateType(x.SYMBOL);if(W.type==="JsdocTypeOptional"&&(W=W.element,I=p.parseType(x.SYMBOL)),W.type!=="JsdocTypeName")throw new s(W);let ee;p.consume("extends")&&(ee=p.parseType(x.SYMBOL),ee.type==="JsdocTypeOptional"&&(ee=ee.element,I=p.parseType(x.SYMBOL)));let ue={type:"JsdocTypeTypeParameter",name:W};if(ee!==void 0&&(ue.constraint=ee),I!==void 0&&(ue.defaultValue=I),y.push(ue),p.consume(">"))break}while(p.consume(","));let O=p.parseIntermediateType(x.SYMBOL);return O.typeParameters=y,O}}),Gr=V({name:"intersectionParslet",accept:p=>p==="&",precedence:x.INTERSECTION,parseInfix:(p,y)=>{p.consume("&");let O=[];do O.push(p.parseType(x.INTERSECTION));while(p.consume("&"));return{type:"JsdocTypeIntersection",elements:[T(y),...O]}}}),oo=V({name:"predicateParslet",precedence:x.INFIX,accept:p=>p==="is",parseInfix:(p,y)=>{if(y.type!=="JsdocTypeName")throw new s(y,"A typescript predicate always has to have a name on the left side.");return p.consume("is"),{type:"JsdocTypePredicate",left:y,right:T(p.parseIntermediateType(x.INFIX))}}}),It=V({name:"objectSquareBracketPropertyParslet",accept:p=>p==="[",parsePrefix:p=>{if(p.baseParser===void 0)throw new Error("Only allowed inside object grammar");p.consume("[");let y=p.lexer.current.text;p.consume("Identifier");let O;if(p.consume(":")){let I=p.baseParser;I.acceptLexerState(p),O={type:"JsdocTypeIndexSignature",key:y,right:I.parseType(x.INDEX_BRACKETS)},p.acceptLexerState(I)}else if(p.consume("in")){let I=p.baseParser;I.acceptLexerState(p),O={type:"JsdocTypeMappedType",key:y,right:I.parseType(x.ARRAY_BRACKETS)},p.acceptLexerState(I)}else throw new Error("Missing ':' or 'in' inside square bracketed property.");if(!p.consume("]"))throw new Error("Unterminated square brackets");return O}}),Kt=V({name:"readonlyArrayParslet",accept:p=>p==="readonly",parsePrefix:p=>(p.consume("readonly"),{type:"JsdocTypeReadonlyArray",element:N(p.parseIntermediateType(x.ALL))})}),io=V({name:"conditionalParslet",precedence:x.INFIX,accept:p=>p==="extends",parseInfix:(p,y)=>{p.consume("extends");let O=p.parseType(x.KEY_OF_TYPE_OF).element,I=p.parseType(x.INFIX);return p.consume(":"),{type:"JsdocTypeConditional",checksType:T(y),extendsType:O,trueType:I,falseType:p.parseType(x.INFIX)}}}),so=[mt,me({allowedAdditionalTokens:["typeof","module","keyof","event","external","in"]}),$,G,De,ie,ae({allowSquaredProperties:!0,allowKeyTypes:!1,allowOptional:!0,allowReadonly:!0}),It],Xs=[...Z,ce({allowKeyTypes:!1,objectFieldGrammar:so}),Kt,pe,Ve,Rt,De,z({allowWithoutParenthesis:!0,allowNoReturnType:!1,allowNamedParameters:["this","new","args"],allowNewAsFunctionKeyword:!0}),We({allowQuestionMark:!1}),Q({allowEnclosingBrackets:!1,allowPostfix:!1}),je,io,me({allowedAdditionalTokens:["event","external","in"]}),J({allowedTypes:["module"],pathGrammar:ge}),re,$t,Nt,ye({allowSquareBracketsOnAnyType:!0,allowJsdocNamePaths:!1,pathGrammar:ge}),Gr,oo,se({allowVariadic:!0,allowOptional:!0})];function Wo(p,y){switch(y){case"closure":return new P(we,p).parse();case"jsdoc":return new P(_e,p).parse();case"typescript":return new P(Xs,p).parse()}}function Qs(p,y=["typescript","closure","jsdoc"]){let O;for(let I of y)try{return Wo(p,I)}catch(W){O=W}throw O}function _r(p,y){let O=p[y.type];if(O===void 0)throw new Error(`In this set of transform rules exists no rule for type ${y.type}.`);return O(y,I=>_r(p,I))}function Se(p){throw new Error("This transform is not available. Are you trying the correct parsing mode?")}function Ko(p){let y={params:[]};for(let O of p.parameters)O.type==="JsdocTypeKeyValue"?O.key==="this"?y.this=O.right:O.key==="new"?y.new=O.right:y.params.push(O):y.params.push(O);return y}function Wr(p,y,O){return p==="prefix"?O+y:y+O}function Mt(p,y){switch(y){case"double":return`"${p}"`;case"single":return`'${p}'`;case void 0:return p}}function de(){return{JsdocTypeParenthesis:(p,y)=>`(${p.element!==void 0?y(p.element):""})`,JsdocTypeKeyof:(p,y)=>`keyof ${y(p.element)}`,JsdocTypeFunction:(p,y)=>{var O;if(p.arrow){if(p.returnType===void 0)throw new Error("Arrow function needs a return type.");let I=`${p.typeParameters!==void 0?`<${(O=p.typeParameters.map(y).join(", "))!==null&&O!==void 0?O:""}>`:""}(${p.parameters.map(y).join(", ")}) => ${y(p.returnType)}`;return p.constructor&&(I="new "+I),I}else{let I=p.constructor?"new":"function";return p.parenthesis&&(I+=`(${p.parameters.map(y).join(", ")})`,p.returnType!==void 0&&(I+=`: ${y(p.returnType)}`)),I}},JsdocTypeName:p=>p.value,JsdocTypeTuple:(p,y)=>`[${p.elements.map(y).join(", ")}]`,JsdocTypeVariadic:(p,y)=>p.meta.position===void 0?"...":Wr(p.meta.position,y(p.element),"..."),JsdocTypeNamePath:(p,y)=>{let O=y(p.left),I=y(p.right);switch(p.pathType){case"inner":return`${O}~${I}`;case"instance":return`${O}#${I}`;case"property":return`${O}.${I}`;case"property-brackets":return`${O}[${I}]`}},JsdocTypeStringValue:p=>Mt(p.value,p.meta.quote),JsdocTypeAny:()=>"*",JsdocTypeGeneric:(p,y)=>{if(p.meta.brackets==="square"){let O=p.elements[0],I=y(O);return O.type==="JsdocTypeUnion"||O.type==="JsdocTypeIntersection"?`(${I})[]`:`${I}[]`}else return`${y(p.left)}${p.meta.dot?".":""}<${p.infer===!0?"infer ":""}${p.elements.map(y).join(", ")}>`},JsdocTypeImport:(p,y)=>`import(${y(p.element)})`,JsdocTypeObjectField:(p,y)=>{let O="";return p.readonly&&(O+="readonly "),typeof p.key=="string"?O+=Mt(p.key,p.meta.quote):O+=y(p.key),p.optional&&(O+="?"),p.right===void 0?O:O+`: ${y(p.right)}`},JsdocTypeJsdocObjectField:(p,y)=>`${y(p.left)}: ${y(p.right)}`,JsdocTypeKeyValue:(p,y)=>{let O=p.key;return p.optional&&(O+="?"),p.variadic&&(O="..."+O),p.right===void 0?O:O+`: ${y(p.right)}`},JsdocTypeSpecialNamePath:p=>`${p.specialType}:${Mt(p.value,p.meta.quote)}`,JsdocTypeNotNullable:(p,y)=>Wr(p.meta.position,y(p.element),"!"),JsdocTypeNull:()=>"null",JsdocTypeNullable:(p,y)=>Wr(p.meta.position,y(p.element),"?"),JsdocTypeNumber:p=>p.value.toString(),JsdocTypeObject:(p,y)=>{var O,I;return`{${(p.meta.separator==="linebreak"&&p.elements.length>1?`
1014
+ `+((O=p.meta.propertyIndent)!==null&&O!==void 0?O:""):"")+p.elements.map(y).join(p.meta.separator==="comma"?", ":p.meta.separator==="linebreak"?`
1015
+ `+((I=p.meta.propertyIndent)!==null&&I!==void 0?I:""):"; ")+(p.meta.separator==="linebreak"&&p.elements.length>1?`
1016
+ `:"")}}`},JsdocTypeOptional:(p,y)=>Wr(p.meta.position,y(p.element),"="),JsdocTypeSymbol:(p,y)=>`${p.value}(${p.element!==void 0?y(p.element):""})`,JsdocTypeTypeof:(p,y)=>`typeof ${y(p.element)}`,JsdocTypeUndefined:()=>"undefined",JsdocTypeUnion:(p,y)=>p.elements.map(y).join(" | "),JsdocTypeUnknown:()=>"?",JsdocTypeIntersection:(p,y)=>p.elements.map(y).join(" & "),JsdocTypeProperty:p=>Mt(p.value,p.meta.quote),JsdocTypePredicate:(p,y)=>`${y(p.left)} is ${y(p.right)}`,JsdocTypeIndexSignature:(p,y)=>`[${p.key}: ${y(p.right)}]`,JsdocTypeMappedType:(p,y)=>`[${p.key} in ${y(p.right)}]`,JsdocTypeAsserts:(p,y)=>`asserts ${y(p.left)} is ${y(p.right)}`,JsdocTypeReadonlyArray:(p,y)=>`readonly ${y(p.element)}`,JsdocTypeAssertsPlain:(p,y)=>`asserts ${y(p.element)}`,JsdocTypeConditional:(p,y)=>`${y(p.checksType)} extends ${y(p.extendsType)} ? ${y(p.trueType)} : ${y(p.falseType)}`,JsdocTypeTypeParameter:(p,y)=>`${y(p.name)}${p.constraint!==void 0?` extends ${y(p.constraint)}`:""}${p.defaultValue!==void 0?` = ${y(p.defaultValue)}`:""}`}}let Zs=de();function ao(p){return _r(Zs,p)}let dp=["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 Bt(p){let y={type:"NameExpression",name:p};return dp.includes(p)&&(y.reservedWord=!0),y}let pp={JsdocTypeOptional:(p,y)=>{let O=y(p.element);return O.optional=!0,O},JsdocTypeNullable:(p,y)=>{let O=y(p.element);return O.nullable=!0,O},JsdocTypeNotNullable:(p,y)=>{let O=y(p.element);return O.nullable=!1,O},JsdocTypeVariadic:(p,y)=>{if(p.element===void 0)throw new Error("dots without value are not allowed in catharsis mode");let O=y(p.element);return O.repeatable=!0,O},JsdocTypeAny:()=>({type:"AllLiteral"}),JsdocTypeNull:()=>({type:"NullLiteral"}),JsdocTypeStringValue:p=>Bt(Mt(p.value,p.meta.quote)),JsdocTypeUndefined:()=>({type:"UndefinedLiteral"}),JsdocTypeUnknown:()=>({type:"UnknownLiteral"}),JsdocTypeFunction:(p,y)=>{let O=Ko(p),I={type:"FunctionType",params:O.params.map(y)};return O.this!==void 0&&(I.this=y(O.this)),O.new!==void 0&&(I.new=y(O.new)),p.returnType!==void 0&&(I.result=y(p.returnType)),I},JsdocTypeGeneric:(p,y)=>({type:"TypeApplication",applications:p.elements.map(O=>y(O)),expression:y(p.left)}),JsdocTypeSpecialNamePath:p=>Bt(p.specialType+":"+Mt(p.value,p.meta.quote)),JsdocTypeName:p=>p.value!=="function"?Bt(p.value):{type:"FunctionType",params:[]},JsdocTypeNumber:p=>Bt(p.value.toString()),JsdocTypeObject:(p,y)=>{let O={type:"RecordType",fields:[]};for(let I of p.elements)I.type!=="JsdocTypeObjectField"&&I.type!=="JsdocTypeJsdocObjectField"?O.fields.push({type:"FieldType",key:y(I),value:void 0}):O.fields.push(y(I));return O},JsdocTypeObjectField:(p,y)=>{if(typeof p.key!="string")throw new Error("Index signatures and mapped types are not supported");return{type:"FieldType",key:Bt(Mt(p.key,p.meta.quote)),value:p.right===void 0?void 0:y(p.right)}},JsdocTypeJsdocObjectField:(p,y)=>({type:"FieldType",key:y(p.left),value:y(p.right)}),JsdocTypeUnion:(p,y)=>({type:"TypeUnion",elements:p.elements.map(O=>y(O))}),JsdocTypeKeyValue:(p,y)=>({type:"FieldType",key:Bt(p.key),value:p.right===void 0?void 0:y(p.right)}),JsdocTypeNamePath:(p,y)=>{let O=y(p.left),I;p.right.type==="JsdocTypeSpecialNamePath"?I=y(p.right).name:I=Mt(p.right.value,p.right.meta.quote);let W=p.pathType==="inner"?"~":p.pathType==="instance"?"#":".";return Bt(`${O.name}${W}${I}`)},JsdocTypeSymbol:p=>{let y="",O=p.element,I=!1;return O?.type==="JsdocTypeVariadic"&&(O.meta.position==="prefix"?y="...":I=!0,O=O.element),O?.type==="JsdocTypeName"?y+=O.value:O?.type==="JsdocTypeNumber"&&(y+=O.value.toString()),I&&(y+="..."),Bt(`${p.value}(${y})`)},JsdocTypeParenthesis:(p,y)=>y(T(p.element)),JsdocTypeMappedType:Se,JsdocTypeIndexSignature:Se,JsdocTypeImport:Se,JsdocTypeKeyof:Se,JsdocTypeTuple:Se,JsdocTypeTypeof:Se,JsdocTypeIntersection:Se,JsdocTypeProperty:Se,JsdocTypePredicate:Se,JsdocTypeAsserts:Se,JsdocTypeReadonlyArray:Se,JsdocTypeAssertsPlain:Se,JsdocTypeConditional:Se,JsdocTypeTypeParameter:Se};function fp(p){return _r(pp,p)}function sr(p){switch(p){case void 0:return"none";case"single":return"single";case"double":return"double"}}function hp(p){switch(p){case"inner":return"INNER_MEMBER";case"instance":return"INSTANCE_MEMBER";case"property":return"MEMBER";case"property-brackets":return"MEMBER"}}function zo(p,y){return y.length===2?{type:p,left:y[0],right:y[1]}:{type:p,left:y[0],right:zo(p,y.slice(1))}}let mp={JsdocTypeOptional:(p,y)=>({type:"OPTIONAL",value:y(p.element),meta:{syntax:p.meta.position==="prefix"?"PREFIX_EQUAL_SIGN":"SUFFIX_EQUALS_SIGN"}}),JsdocTypeNullable:(p,y)=>({type:"NULLABLE",value:y(p.element),meta:{syntax:p.meta.position==="prefix"?"PREFIX_QUESTION_MARK":"SUFFIX_QUESTION_MARK"}}),JsdocTypeNotNullable:(p,y)=>({type:"NOT_NULLABLE",value:y(p.element),meta:{syntax:p.meta.position==="prefix"?"PREFIX_BANG":"SUFFIX_BANG"}}),JsdocTypeVariadic:(p,y)=>{let O={type:"VARIADIC",meta:{syntax:p.meta.position==="prefix"?"PREFIX_DOTS":p.meta.position==="suffix"?"SUFFIX_DOTS":"ONLY_DOTS"}};return p.element!==void 0&&(O.value=y(p.element)),O},JsdocTypeName:p=>({type:"NAME",name:p.value}),JsdocTypeTypeof:(p,y)=>({type:"TYPE_QUERY",name:y(p.element)}),JsdocTypeTuple:(p,y)=>({type:"TUPLE",entries:p.elements.map(y)}),JsdocTypeKeyof:(p,y)=>({type:"KEY_QUERY",value:y(p.element)}),JsdocTypeImport:p=>({type:"IMPORT",path:{type:"STRING_VALUE",quoteStyle:sr(p.element.meta.quote),string:p.element.value}}),JsdocTypeUndefined:()=>({type:"NAME",name:"undefined"}),JsdocTypeAny:()=>({type:"ANY"}),JsdocTypeFunction:(p,y)=>{let O=Ko(p),I={type:p.arrow?"ARROW":"FUNCTION",params:O.params.map(W=>{if(W.type==="JsdocTypeKeyValue"){if(W.right===void 0)throw new Error("Function parameter without ':' is not expected to be 'KEY_VALUE'");return{type:"NAMED_PARAMETER",name:W.key,typeName:y(W.right)}}else return y(W)}),new:null,returns:null};return O.this!==void 0?I.this=y(O.this):p.arrow||(I.this=null),O.new!==void 0&&(I.new=y(O.new)),p.returnType!==void 0&&(I.returns=y(p.returnType)),I},JsdocTypeGeneric:(p,y)=>{let O={type:"GENERIC",subject:y(p.left),objects:p.elements.map(y),meta:{syntax:p.meta.brackets==="square"?"SQUARE_BRACKET":p.meta.dot?"ANGLE_BRACKET_WITH_DOT":"ANGLE_BRACKET"}};return p.meta.brackets==="square"&&p.elements[0].type==="JsdocTypeFunction"&&!p.elements[0].parenthesis&&(O.objects[0]={type:"NAME",name:"function"}),O},JsdocTypeObjectField:(p,y)=>{if(typeof p.key!="string")throw new Error("Index signatures and mapped types are not supported");if(p.right===void 0)return{type:"RECORD_ENTRY",key:p.key,quoteStyle:sr(p.meta.quote),value:null,readonly:!1};let O=y(p.right);return p.optional&&(O={type:"OPTIONAL",value:O,meta:{syntax:"SUFFIX_KEY_QUESTION_MARK"}}),{type:"RECORD_ENTRY",key:p.key.toString(),quoteStyle:sr(p.meta.quote),value:O,readonly:!1}},JsdocTypeJsdocObjectField:()=>{throw new Error("Keys may not be typed in jsdoctypeparser.")},JsdocTypeKeyValue:(p,y)=>{if(p.right===void 0)return{type:"RECORD_ENTRY",key:p.key,quoteStyle:"none",value:null,readonly:!1};let O=y(p.right);return p.optional&&(O={type:"OPTIONAL",value:O,meta:{syntax:"SUFFIX_KEY_QUESTION_MARK"}}),{type:"RECORD_ENTRY",key:p.key,quoteStyle:"none",value:O,readonly:!1}},JsdocTypeObject:(p,y)=>{let O=[];for(let I of p.elements)(I.type==="JsdocTypeObjectField"||I.type==="JsdocTypeJsdocObjectField")&&O.push(y(I));return{type:"RECORD",entries:O}},JsdocTypeSpecialNamePath:p=>{if(p.specialType!=="module")throw new Error(`jsdoctypeparser does not support type ${p.specialType} at this point.`);return{type:"MODULE",value:{type:"FILE_PATH",quoteStyle:sr(p.meta.quote),path:p.value}}},JsdocTypeNamePath:(p,y)=>{let O=!1,I,W;p.right.type==="JsdocTypeSpecialNamePath"&&p.right.specialType==="event"?(O=!0,I=p.right.value,W=sr(p.right.meta.quote)):(I=p.right.value,W=sr(p.right.meta.quote));let ee={type:hp(p.pathType),owner:y(p.left),name:I,quoteStyle:W,hasEventPrefix:O};if(ee.owner.type==="MODULE"){let ue=ee.owner;return ee.owner=ee.owner.value,ue.value=ee,ue}else return ee},JsdocTypeUnion:(p,y)=>zo("UNION",p.elements.map(y)),JsdocTypeParenthesis:(p,y)=>({type:"PARENTHESIS",value:y(T(p.element))}),JsdocTypeNull:()=>({type:"NAME",name:"null"}),JsdocTypeUnknown:()=>({type:"UNKNOWN"}),JsdocTypeStringValue:p=>({type:"STRING_VALUE",quoteStyle:sr(p.meta.quote),string:p.value}),JsdocTypeIntersection:(p,y)=>zo("INTERSECTION",p.elements.map(y)),JsdocTypeNumber:p=>({type:"NUMBER_VALUE",number:p.value.toString()}),JsdocTypeSymbol:Se,JsdocTypeProperty:Se,JsdocTypePredicate:Se,JsdocTypeMappedType:Se,JsdocTypeIndexSignature:Se,JsdocTypeAsserts:Se,JsdocTypeReadonlyArray:Se,JsdocTypeAssertsPlain:Se,JsdocTypeConditional:Se,JsdocTypeTypeParameter:Se};function yp(p){return _r(mp,p)}function gp(){return{JsdocTypeIntersection:(p,y)=>({type:"JsdocTypeIntersection",elements:p.elements.map(y)}),JsdocTypeGeneric:(p,y)=>({type:"JsdocTypeGeneric",left:y(p.left),elements:p.elements.map(y),meta:{dot:p.meta.dot,brackets:p.meta.brackets}}),JsdocTypeNullable:p=>p,JsdocTypeUnion:(p,y)=>({type:"JsdocTypeUnion",elements:p.elements.map(y)}),JsdocTypeUnknown:p=>p,JsdocTypeUndefined:p=>p,JsdocTypeTypeof:(p,y)=>({type:"JsdocTypeTypeof",element:y(p.element)}),JsdocTypeSymbol:(p,y)=>{let O={type:"JsdocTypeSymbol",value:p.value};return p.element!==void 0&&(O.element=y(p.element)),O},JsdocTypeOptional:(p,y)=>({type:"JsdocTypeOptional",element:y(p.element),meta:{position:p.meta.position}}),JsdocTypeObject:(p,y)=>({type:"JsdocTypeObject",meta:{separator:"comma"},elements:p.elements.map(y)}),JsdocTypeNumber:p=>p,JsdocTypeNull:p=>p,JsdocTypeNotNullable:(p,y)=>({type:"JsdocTypeNotNullable",element:y(p.element),meta:{position:p.meta.position}}),JsdocTypeSpecialNamePath:p=>p,JsdocTypeObjectField:(p,y)=>({type:"JsdocTypeObjectField",key:p.key,right:p.right===void 0?void 0:y(p.right),optional:p.optional,readonly:p.readonly,meta:p.meta}),JsdocTypeJsdocObjectField:(p,y)=>({type:"JsdocTypeJsdocObjectField",left:y(p.left),right:y(p.right)}),JsdocTypeKeyValue:(p,y)=>({type:"JsdocTypeKeyValue",key:p.key,right:p.right===void 0?void 0:y(p.right),optional:p.optional,variadic:p.variadic}),JsdocTypeImport:(p,y)=>({type:"JsdocTypeImport",element:y(p.element)}),JsdocTypeAny:p=>p,JsdocTypeStringValue:p=>p,JsdocTypeNamePath:p=>p,JsdocTypeVariadic:(p,y)=>{let O={type:"JsdocTypeVariadic",meta:{position:p.meta.position,squareBrackets:p.meta.squareBrackets}};return p.element!==void 0&&(O.element=y(p.element)),O},JsdocTypeTuple:(p,y)=>({type:"JsdocTypeTuple",elements:p.elements.map(y)}),JsdocTypeName:p=>p,JsdocTypeFunction:(p,y)=>{let O={type:"JsdocTypeFunction",arrow:p.arrow,parameters:p.parameters.map(y),constructor:p.constructor,parenthesis:p.parenthesis};return p.returnType!==void 0&&(O.returnType=y(p.returnType)),O},JsdocTypeKeyof:(p,y)=>({type:"JsdocTypeKeyof",element:y(p.element)}),JsdocTypeParenthesis:(p,y)=>({type:"JsdocTypeParenthesis",element:y(p.element)}),JsdocTypeProperty:p=>p,JsdocTypePredicate:(p,y)=>({type:"JsdocTypePredicate",left:y(p.left),right:y(p.right)}),JsdocTypeIndexSignature:(p,y)=>({type:"JsdocTypeIndexSignature",key:p.key,right:y(p.right)}),JsdocTypeMappedType:(p,y)=>({type:"JsdocTypeMappedType",key:p.key,right:y(p.right)}),JsdocTypeAsserts:(p,y)=>({type:"JsdocTypeAsserts",left:y(p.left),right:y(p.right)}),JsdocTypeReadonlyArray:(p,y)=>({type:"JsdocTypeReadonlyArray",element:y(p.element)}),JsdocTypeAssertsPlain:(p,y)=>({type:"JsdocTypeAssertsPlain",element:y(p.element)}),JsdocTypeConditional:(p,y)=>({type:"JsdocTypeConditional",checksType:y(p.checksType),extendsType:y(p.extendsType),trueType:y(p.trueType),falseType:y(p.falseType)}),JsdocTypeTypeParameter:(p,y)=>({type:"JsdocTypeTypeParameter",name:y(p.name),constraint:p.constraint!==void 0?y(p.constraint):void 0,defaultValue:p.defaultValue!==void 0?y(p.defaultValue):void 0})}}let ea={JsdocTypeAny:[],JsdocTypeFunction:["parameters","returnType"],JsdocTypeGeneric:["left","elements"],JsdocTypeImport:[],JsdocTypeIndexSignature:["right"],JsdocTypeIntersection:["elements"],JsdocTypeKeyof:["element"],JsdocTypeKeyValue:["right"],JsdocTypeMappedType:["right"],JsdocTypeName:[],JsdocTypeNamePath:["left","right"],JsdocTypeNotNullable:["element"],JsdocTypeNull:[],JsdocTypeNullable:["element"],JsdocTypeNumber:[],JsdocTypeObject:["elements"],JsdocTypeObjectField:["right"],JsdocTypeJsdocObjectField:["left","right"],JsdocTypeOptional:["element"],JsdocTypeParenthesis:["element"],JsdocTypeSpecialNamePath:[],JsdocTypeStringValue:[],JsdocTypeSymbol:["element"],JsdocTypeTuple:["elements"],JsdocTypeTypeof:["element"],JsdocTypeUndefined:[],JsdocTypeUnion:["elements"],JsdocTypeUnknown:[],JsdocTypeVariadic:["element"],JsdocTypeProperty:[],JsdocTypePredicate:["left","right"],JsdocTypeAsserts:["left","right"],JsdocTypeReadonlyArray:["element"],JsdocTypeAssertsPlain:["element"],JsdocTypeConditional:["checksType","extendsType","trueType","falseType"],JsdocTypeTypeParameter:["name","constraint","defaultValue"]};function Yo(p,y,O,I,W){I?.(p,y,O);let ee=ea[p.type];for(let ue of ee){let Oe=p[ue];if(Oe!==void 0)if(Array.isArray(Oe))for(let Ce of Oe)Yo(Ce,p,ue,I,W);else Yo(Oe,p,ue,I,W)}W?.(p,y,O)}function bp(p,y,O){Yo(p,void 0,void 0,y,O)}r.catharsisTransform=fp,r.identityTransformRules=gp,r.jtpTransform=yp,r.parse=Wo,r.stringify=ao,r.stringifyRules=de,r.transform=_r,r.traverse=bp,r.tryParse=Qs,r.visitorKeys=ea}))}});const{UnknownArgTypesError:w7}=__STORYBOOK_MODULE_CORE_EVENTS_PREVIEW_ERRORS__;var S7=e=>e.name==="literal",R7=e=>e.value.replace(/['|"]/g,""),O7=e=>{switch(e.type){case"function":return{name:"function"};case"object":let t={};return e.signature.properties.forEach(r=>{t[r.key]=Na(r.value)}),{name:"object",value:t};default:throw new w7({type:e,language:"Flow"})}},Na=e=>{let{name:t,raw:r}=e,n={};switch(typeof r<"u"&&(n.raw=r),e.name){case"literal":return{...n,name:"other",value:e.value};case"string":case"number":case"symbol":case"boolean":return{...n,name:t};case"Array":return{...n,name:"array",value:e.elements.map(Na)};case"signature":return{...n,...O7(e)};case"union":return e.elements?.every(S7)?{...n,name:"enum",value:e.elements?.map(R7)}:{...n,name:t,value:e.elements?.map(Na)};case"intersection":return{...n,name:t,value:e.elements?.map(Na)};default:return{...n,name:"other",value:t}}},gx=/^['"]|['"]$/g,A7=e=>e.replace(gx,""),C7=e=>gx.test(e),bx=e=>{let t=A7(e);return C7(e)||Number.isNaN(Number(t))?t:Number(t)},P7=/^\(.*\) => /,va=e=>{let{name:t,raw:r,computed:n,value:o}=e,i={};switch(typeof r<"u"&&(i.raw=r),t){case"enum":{let a=n?o:o.map(l=>bx(l.value));return{...i,name:t,value:a}}case"string":case"number":case"symbol":return{...i,name:t};case"func":return{...i,name:"function"};case"bool":case"boolean":return{...i,name:"boolean"};case"arrayOf":case"array":return{...i,name:"array",value:o&&va(o)};case"object":return{...i,name:t};case"objectOf":return{...i,name:t,value:va(o)};case"shape":case"exact":let s=_7(o,a=>va(a));return{...i,name:"object",value:s};case"union":return{...i,name:"union",value:o.map(a=>va(a))};default:{if(t?.indexOf("|")>0)try{let u=t.split("|").map(c=>JSON.parse(c));return{...i,name:"enum",value:u}}catch{}let a=o?`${t}(${o})`:t,l=P7.test(t)?"function":"other";return{...i,name:l,value:a}}}};const{UnknownArgTypesError:x7}=__STORYBOOK_MODULE_CORE_EVENTS_PREVIEW_ERRORS__;var eT=e=>e.name==="literal",N7=e=>e.name==="undefined",I7=e=>{switch(e.type){case"function":return{name:"function"};case"object":let t={};return e.signature.properties.forEach(r=>{t[r.key]=Ia(r.value)}),{name:"object",value:t};default:throw new x7({type:e,language:"Typescript"})}},Ia=e=>{let{name:t,raw:r}=e,n={};switch(typeof r<"u"&&(n.raw=r),e.name){case"string":case"number":case"symbol":case"boolean":return{...n,name:t};case"Array":return{...n,name:"array",value:e.elements.map(Ia)};case"signature":return{...n,...I7(e)};case"union":{let o=e.elements.filter(i=>!N7(i));if(o.length>0&&o.every(eT)){let i=o.filter(eT);return{...n,name:"enum",value:i.map(s=>bx(s.value))}}return{...n,name:t,value:e.elements.map(Ia)}}case"intersection":return{...n,name:t,value:e.elements.map(Ia)};default:return{...n,name:"other",value:t}}},Md=e=>{let{type:t,tsType:r,flowType:n}=e;try{if(t!=null)return va(t);if(r!=null)return Ia(r);if(n!=null)return Na(n)}catch(o){console.error(o)}return null},M7=["null","undefined"];function vg(e){return M7.some(t=>t===e)}var j7=e=>{if(!e)return"";if(typeof e=="string")return e;throw new Error(`Description: expected string, got: ${JSON.stringify(e)}`)};function Eg(e){return!!e.__docgenInfo}function q7(e){return e!=null&&Object.keys(e).length>0}function L7(e,t){return Eg(e)?e.__docgenInfo[t]:null}function k7(e){return Eg(e)?j7(e.__docgenInfo.description):""}var Mo;(function(e){e.start="/**",e.nostart="/***",e.delim="*",e.end="*/"})(Mo=Mo||(Mo={}));function D7(e){return/^\s+$/.test(e)}function F7(e){let t=e.match(/\r+$/);return t==null?["",e]:[e.slice(-t[0].length),e.slice(0,-t[0].length)]}function rs(e){let t=e.match(/^\s+/);return t==null?["",e]:[e.slice(0,t[0].length),e.slice(t[0].length)]}function $7(e){return e.split(/\n/)}function B7(e={}){return Object.assign({tag:"",name:"",type:"",optional:!1,description:"",problems:[],source:[]},e)}function V7(e={}){return Object.assign({start:"",delimiter:"",postDelimiter:"",tag:"",postTag:"",name:"",postName:"",type:"",postType:"",description:"",end:"",lineEnd:""},e)}var U7=/^@\S+/;function H7({fence:e="```"}={}){let t=J7(e),r=(n,o)=>t(n)?!o:o;return function(n){let o=[[]],i=!1;for(let s of n)U7.test(s.tokens.description)&&!i?o.push([s]):o[o.length-1].push(s),i=r(s.tokens.description,i);return o}}function J7(e){return typeof e=="string"?t=>t.split(e).length%2===0:e}function G7({startLine:e=0,markers:t=Mo}={}){let r=null,n=e;return function(o){let i=o,s=V7();if([s.lineEnd,i]=F7(i),[s.start,i]=rs(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]=rs(i)),r===null)return n++,null;let a=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]=rs(i)),a){let l=i.trimRight();s.end=i.slice(l.length-t.end.length),i=l.slice(0,-t.end.length)}if(s.description=i,r.push({number:n,source:o,tokens:s}),n++,a){let l=r.slice();return r=null,l}return null}}function W7({tokenizers:e}){return function(t){var r;let n=B7({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}}function K7(){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)}}function z7(e="compact"){let t=X7(e);return r=>{let n=0,o=[];for(let[a,{tokens:l}]of r.source.entries()){let u="";if(a===0&&l.description[0]!=="{")return r;for(let c of l.description)if(c==="{"&&n++,c==="}"&&n--,u+=c,n===0)break;if(o.push([l,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[a,[l,u]]of o.entries())l.type=u,a>0&&(l.type=l.postDelimiter.slice(s)+u,l.postDelimiter=l.postDelimiter.slice(0,s)),[l.postType,l.description]=rs(l.description.slice(u.length)),i.push(l.type);return i[0]=i[0].slice(1),i[i.length-1]=i[i.length-1].slice(0,-1),r.type=t(i),r}}var Y7=e=>e.trim();function X7(e){return e==="compact"?t=>t.map(Y7).join(""):e==="preserve"?t=>t.join(`
1017
+ `):e}var Q7=e=>e&&e.startsWith('"')&&e.endsWith('"');function Z7(){let e=(t,{tokens:r},n)=>r.type===""?t:n;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]=rs(n.slice(r.name.length)),t;let i=0,s="",a=!1,l;for(let c of n){if(i===0&&D7(c))break;c==="["&&i++,c==="]"&&i--,s+=c}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]==="]"){a=!0,s=s.slice(1,-1);let c=s.split("=");if(s=c[0].trim(),c[1]!==void 0&&(l=c.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(l==="")return t.problems.push({code:"spec:name:empty-default",message:"empty default value",line:t.source[0].number,critical:!0}),t;if(!Q7(l)&&/=(?!>)/.test(l))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=a,t.name=s,r.name=u,l!==void 0&&(t.default=l),[r.postName,r.description]=rs(n.slice(r.name.length)),t}}function eX(e="compact",t=Mo){let r=vx(e);return n=>(n.description=r(n.source,t),n)}function vx(e){return e==="compact"?tX:e==="preserve"?oX:e}function tX(e,t=Mo){return e.map(({tokens:{description:r}})=>r.trim()).filter(r=>r!=="").join(" ")}var rX=(e,{tokens:t},r)=>t.type===""?e:r,nX=({tokens:e})=>(e.delimiter===""?e.start:e.postDelimiter.slice(1))+e.description;function oX(e,t=Mo){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(rX,0)),e.map(nX).join(`
1018
+ `)}function iX({startLine:e=0,fence:t="```",spacing:r="compact",markers:n=Mo,tokenizers:o=[K7(),z7(r),Z7(),eX(r)]}={}){if(e<0||e%1>0)throw new Error("Invalid startLine");let i=G7({startLine:e,markers:n}),s=H7({fence:t}),a=W7({tokenizers:o}),l=vx(r);return function(u){let c=[];for(let d of $7(u)){let f=i(d);if(f===null)continue;let h=s(f),m=h.slice(1).map(a);c.push({description:l(h[0],n),tags:m,source:f,problems:m.reduce((g,v)=>g.concat(v.problems),[])})}return c}}function sX(e,t={}){return iX(t)(e)}var _g=E7(T7());function aX(e){return e!=null&&e.includes("@")}function lX(e){let t=`/**
1019
+ `+(e??"").split(`
1020
+ `).map(n=>` * ${n}`).join(`
1021
+ `)+`
1022
+ */`,r=sX(t,{spacing:"preserve"});if(!r||r.length===0)throw new Error("Cannot parse JSDoc tags.");return r[0]}var uX={tags:["param","arg","argument","returns","ignore","deprecated"]},cX=(e,t=uX)=>{if(!aX(e))return{includesJsDoc:!1,ignore:!1};let r=lX(e),n=dX(r,t.tags);return n.ignore?{includesJsDoc:!0,ignore:!0}:{includesJsDoc:!0,ignore:!1,description:r.description.trim(),extractedTags:n}};function dX(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=fX(n);o!=null&&(r.params==null&&(r.params=[]),r.params.push(o));break}case"deprecated":{let o=hX(n);o!=null&&(r.deprecated=o);break}case"returns":{let o=mX(n);o!=null&&(r.returns=o);break}}return r}function pX(e){return e.replace(/[\.-]$/,"")}function fX(e){if(!e.name||e.name==="-")return null;let t=Tx(e.type);return{name:e.name,type:t,description:_x(e.description),getPrettyName:()=>pX(e.name),getTypeName:()=>t?wx(t):null}}function hX(e){return e.name?Ex(e.name,e.description):null}function Ex(e,t){let r=e===""?t:`${e} ${t}`;return _x(r)}function _x(e){let t=e.replace(/^- /g,"").trim();return t===""?null:t}function mX(e){let t=Tx(e.type);return t?{type:t,description:Ex(e.name,e.description),getTypeName:()=>wx(t)}:null}var Uo=(0,_g.stringifyRules)(),yX=Uo.JsdocTypeObject;Uo.JsdocTypeAny=()=>"any";Uo.JsdocTypeObject=(e,t)=>`(${yX(e,t)})`;Uo.JsdocTypeOptional=(e,t)=>t(e.element);Uo.JsdocTypeNullable=(e,t)=>t(e.element);Uo.JsdocTypeNotNullable=(e,t)=>t(e.element);Uo.JsdocTypeUnion=(e,t)=>e.elements.map(t).join("|");function Tx(e){try{return(0,_g.parse)(e,"typescript")}catch{return null}}function wx(e){return(0,_g.transform)(Uo,e)}function Sx(e){return e.length>90}function gX(e){return e.length>50}function Ft(e,t){return e===t?{summary:e}:{summary:e,detail:t}}function bX(e,t){if(e!=null){let{value:r}=e;if(!vg(r))return gX(r)?Ft(t?.name,r):Ft(r)}return null}function Rx({name:e,value:t,elements:r,raw:n}){return t??(r!=null?r.map(Rx).join(" | "):n??e)}function vX({name:e,raw:t,elements:r}){return r!=null?Ft(r.map(Rx).join(" | ")):t!=null?Ft(t.replace(/^\|\s*/,"")):Ft(e)}function EX({type:e,raw:t}){return t!=null?Ft(t):Ft(e)}function _X({type:e,raw:t}){return t!=null?Sx(t)?Ft(e,t):Ft(t):Ft(e)}function TX(e){let{type:t}=e;return t==="object"?_X(e):EX(e)}function wX({name:e,raw:t}){return t!=null?Sx(t)?Ft(e,t):Ft(t):Ft(e)}function SX(e){if(e==null)return null;switch(e.name){case"union":return vX(e);case"signature":return TX(e);default:return wX(e)}}var RX=(e,t)=>{let{flowType:r,description:n,required:o,defaultValue:i}=t;return{name:e,type:SX(r),required:o,description:n,defaultValue:bX(i??null,r??null)}};function OX({defaultValue:e}){if(e!=null){let{value:t}=e;if(!vg(t))return Ft(t)}return null}function AX({tsType:e,required:t}){if(e==null)return null;let r=e.name;return t||(r=r.replace(" | undefined","")),Ft(["Array","Record","signature"].includes(e.name)?e.raw:r)}var CX=(e,t)=>{let{description:r,required:n}=t;return{name:e,type:AX(t),required:n,description:r,defaultValue:OX(t)}};function PX(e){return e!=null?Ft(e.name):null}function xX(e){let{computed:t,func:r}=e;return typeof t>"u"&&typeof r>"u"}function NX(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}function IX(e,t){if(e!=null){let{value:r}=e;if(!vg(r))return xX(e)&&NX(t)?Ft(JSON.stringify(r)):Ft(r)}return null}function Ox(e,t,r){let{description:n,required:o,defaultValue:i}=r;return{name:e,type:PX(t),required:o,description:n,defaultValue:IX(i,t)}}function jd(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}var MX=(e,t,r)=>{let n=Ox(e,t.type,t);return n.sbType=Md(t),jd(n,r)},jX=(e,t,r)=>{let n=CX(e,t);return n.sbType=Md(t),jd(n,r)},qX=(e,t,r)=>{let n=RX(e,t);return n.sbType=Md(t),jd(n,r)},LX=(e,t,r)=>{let n=Ox(e,{name:"unknown"},t);return jd(n,r)},Ax=e=>{switch(e){case"JavaScript":return MX;case"TypeScript":return jX;case"Flow":return qX;default:return LX}},Cx=e=>e.type!=null?"JavaScript":e.flowType!=null?"Flow":e.tsType!=null?"TypeScript":"Unknown",kX=e=>{let t=Cx(e[0]),r=Ax(t);return e.map(n=>{let o=n;return n.type?.elements&&(o={...n,type:{...n.type,value:n.type.elements}}),Px(o.name,o,t,r)})},DX=e=>{let t=Object.keys(e),r=Cx(e[t[0]]),n=Ax(r);return t.map(o=>{let i=e[o];return i!=null?Px(o,i,r,n):null}).filter(Boolean)},FX=(e,t)=>{let r=L7(e,t);return q7(r)?Array.isArray(r)?kX(r):DX(r):[]};function Px(e,t,r,n){let o=cX(t.description);return o.includesJsDoc&&o.ignore?null:{propDef:n(e,t,o),jsDocTags:o.extractedTags,docgenInfo:t,typeSystem:r}}function $X(e){return e!=null?k7(e):""}var xx=(...e)=>{let t={},r=e.filter(Boolean),n=r.reduce((o,i)=>(Object.entries(i).forEach(([s,a])=>{let l=o[s];Array.isArray(a)||typeof l>"u"?o[s]=a:nf(a)&&nf(l)?t[s]=!0:typeof a<"u"&&(o[s]=a)}),o),{});return Object.keys(t).forEach(o=>{let i=r.filter(Boolean).map(s=>s[o]).filter(s=>typeof s<"u");i.every(s=>nf(s))?n[o]=xx(...i):n[o]=i[i.length-1]}),n},BX=e=>{let{component:t,argTypes:r,parameters:{docs:n={}}}=e,{extractArgTypes:o}=n;if(!o||!t)return r;let i=o(t);return i?xx(i,r):r},qh=(e=>(e.AUTO="auto",e.CODE="code",e.DYNAMIC="dynamic",e))(qh||{});const VX={"./src/atoms/components/Button/Buttons.stories.js":()=>Te(()=>import("./Buttons.stories-CKmd6hkZ.js"),__vite__mapDeps([0,1,2,3,4,5,6,7]),import.meta.url),"./src/atoms/components/Button/ButtonsCrazyDomains.stories.js":()=>Te(()=>import("./ButtonsCrazyDomains.stories-DdEuOUrn.js"),__vite__mapDeps([8,1,2,3,4,5,6,7]),import.meta.url),"./src/atoms/components/ButtonGroup/ButtonGroup.stories.js":()=>Te(()=>import("./ButtonGroup.stories-DlrYMRSk.js"),__vite__mapDeps([9,5,3,7,10]),import.meta.url),"./src/atoms/components/Carousel/carousel.stories.js":()=>Te(()=>import("./carousel.stories-CJw3-Iy6.js"),__vite__mapDeps([11,5,3,7,12]),import.meta.url),"./src/atoms/components/Checkbox/Checkbox.stories.js":()=>Te(()=>import("./Checkbox.stories-DPBUC2Mx.js"),__vite__mapDeps([13,5,3,14,7]),import.meta.url),"./src/atoms/components/Checktile/Checktile.stories.js":()=>Te(()=>import("./Checktile.stories-ByaFwplD.js"),__vite__mapDeps([15,5,3,7]),import.meta.url),"./src/atoms/components/CollapsiblePanel/CollapsiblePanel.stories.js":()=>Te(()=>import("./CollapsiblePanel.stories-Y6q3gP9j.js"),__vite__mapDeps([16,5,3,7]),import.meta.url),"./src/atoms/components/ColorPicker/ColorPicker.stories.js":()=>Te(()=>import("./ColorPicker.stories-DdxPUB_R.js"),__vite__mapDeps([17,18,5,3,7]),import.meta.url),"./src/atoms/components/CopyToClipboardText/CopyToClipboardText.stories.js":()=>Te(()=>import("./CopyToClipboardText.stories-J9qndWxd.js"),__vite__mapDeps([19,20,5,3,21,7]),import.meta.url),"./src/atoms/components/Dropdown/Dropdown.stories.js":()=>Te(()=>import("./Dropdown.stories-1zKPATii.js"),__vite__mapDeps([22,23,5,3,24,25,1,2,4,6,7]),import.meta.url),"./src/atoms/components/HelloBar/HelloBar.stories.js":()=>Te(()=>import("./HelloBar.stories-597Kxj0W.js"),__vite__mapDeps([26,1,2,3,4,5,6,27,7]),import.meta.url),"./src/atoms/components/Icon/Icon.stories.js":()=>Te(()=>import("./Icon.stories-CR5vT9H7.js"),__vite__mapDeps([28,5,3,7]),import.meta.url),"./src/atoms/components/Masonry/Masonry.stories.js":()=>Te(()=>import("./Masonry.stories-CTXJLQ_i.js"),__vite__mapDeps([29,3,7,30]),import.meta.url),"./src/atoms/components/Modal/HashRouteModal.stories.js":()=>Te(()=>import("./HashRouteModal.stories-BGxvqE22.js"),__vite__mapDeps([31,32,5,3,33,1,2,4,6,7]),import.meta.url),"./src/atoms/components/Modal/Modal.stories.js":()=>Te(()=>import("./Modal.stories-DZiG5NGM.js"),__vite__mapDeps([34,32,5,3,33,1,2,4,6,7]),import.meta.url),"./src/atoms/components/Notice/Notice.stories.js":()=>Te(()=>import("./Notice.stories-ChOj8CWm.js"),__vite__mapDeps([35,3,1,2,4,5,6,7]),import.meta.url),"./src/atoms/components/NumberStepper/NumberStepper.stories.js":()=>Te(()=>import("./NumberStepper.stories-CVbKJ_oJ.js"),__vite__mapDeps([36,1,2,3,4,5,6,7,37]),import.meta.url),"./src/atoms/components/Picture/Picture.stories.js":()=>Te(()=>import("./Picture.stories-MMzybhJ6.js"),__vite__mapDeps([38,39,3,7]),import.meta.url),"./src/atoms/components/Pill/Pill.stories.js":()=>Te(()=>import("./Pill.stories-DCP7szJm.js"),__vite__mapDeps([40,25,3,7]),import.meta.url),"./src/atoms/components/PillBar/PillBar.stories.js":()=>Te(()=>import("./PillBar.stories-Bry-zQ6f.js"),__vite__mapDeps([41,1,2,3,4,5,6,7,42]),import.meta.url),"./src/atoms/components/Price/Price.stories.js":()=>Te(()=>import("./Price.stories-CMHly9V0.js"),__vite__mapDeps([43,44,3,7]),import.meta.url),"./src/atoms/components/PromoCard/PromoCard.stories.ts":()=>Te(()=>import("./PromoCard.stories-xsbFtADE.js"),__vite__mapDeps([45,46,1,2,3,4,5,6,7]),import.meta.url),"./src/atoms/components/SearchBar/SearchBar.stories.js":()=>Te(()=>import("./SearchBar.stories-DaIneOSz.js"),__vite__mapDeps([47,2,3,4,7]),import.meta.url),"./src/atoms/components/Select/Select.stories.js":()=>Te(()=>import("./Select.stories-BmGYB4pw.js"),__vite__mapDeps([48,3,7,49]),import.meta.url),"./src/atoms/components/Slider/Slider.stories.js":()=>Te(()=>import("./Slider.stories-B2KGwnJy.js"),__vite__mapDeps([50,3,1,2,4,5,6,7,51]),import.meta.url),"./src/atoms/components/SparkleIcon/SparkleIcon.stories.js":()=>Te(()=>import("./SparkleIcon.stories-Dk904hVE.js"),__vite__mapDeps([52,7]),import.meta.url),"./src/atoms/components/StarRating/StarRating.stories.js":()=>Te(()=>import("./StarRating.stories-d2mgOuo2.js"),__vite__mapDeps([53,5,3,7,54]),import.meta.url),"./src/atoms/components/TabMenu/TabMenu.stories.js":()=>Te(()=>import("./TabMenu.stories-Cg2yenqj.js"),__vite__mapDeps([55,3,7]),import.meta.url),"./src/atoms/components/TextCopyField/TextCopyField.stories.js":()=>Te(()=>import("./TextCopyField.stories-B4_ZlfLU.js"),__vite__mapDeps([56,57,58,18,5,3,1,2,4,6,7]),import.meta.url),"./src/atoms/components/TextInput/TextInput.stories.js":()=>Te(()=>import("./TextInput.stories-oyyxxf3j.js"),__vite__mapDeps([59,58,18,5,3,7]),import.meta.url),"./src/atoms/components/Textarea/Textarea.stories.js":()=>Te(()=>import("./Textarea.stories-BvhZR6K2.js"),__vite__mapDeps([60,18,5,3,7]),import.meta.url),"./src/atoms/components/Toggle/Toggle.stories.js":()=>Te(()=>import("./Toggle.stories-yT5-rL2k.js"),__vite__mapDeps([61,14,3,7]),import.meta.url),"./src/atoms/components/Tooltip/Tooltip.stories.js":()=>Te(()=>import("./Tooltip.stories-sJFylRS_.js"),__vite__mapDeps([62,20,5,3,21,7]),import.meta.url),"./src/atoms/components/design-com/Icon/Icon.stories.js":()=>Te(()=>import("./Icon.stories-B9iAmcTU.js"),__vite__mapDeps([63,3,7]),import.meta.url),"./src/experiences/components/AuthFlow/Auth.stories.js":()=>Te(()=>import("./Auth.stories-C6eXcTSu.js"),__vite__mapDeps([64,65,27,5,3,1,2,4,6,66,7,67]),import.meta.url),"./src/experiences/components/AuthFlow/AuthCrazyDomains.stories.js":()=>Te(()=>import("./AuthCrazyDomains.stories-DGvEoWCa.js"),__vite__mapDeps([68,65,27,5,3,1,2,4,6,66,7]),import.meta.url),"./src/experiences/components/PaymentConfigList/PaymentConfigList.stories.js":()=>Te(()=>import("./PaymentConfigList.stories-DUD7OZBS.js"),__vite__mapDeps([69,70,71,72,73,3,1,2,4,5,6,32,33,23,24,25,7,74]),import.meta.url),"./src/experiences/components/PublishBrandPageModal/PublishBrandPageModal.stories.js":()=>Te(()=>import("./PublishBrandPageModal.stories-C9XzW_1m.js"),__vite__mapDeps([75,1,2,3,4,5,6,32,33,76,77,58,18,73,39,44,78,79,80,81,70,82,46,57,83,23,24,7,84]),import.meta.url),"./src/experiences/components/SellDomainNameListModal/SellDomainNameListModal.stories.js":()=>Te(()=>import("./SellDomainNameListModal.stories-DvGvylgx.js"),__vite__mapDeps([85,86,76,32,5,3,33,77,1,2,4,6,58,18,73,39,44,78,79,80,7]),import.meta.url),"./src/experiences/components/SellDomainNameSearchWithResults/SellDomainNameSearchWithResults.stories.js":()=>Te(()=>import("./SellDomainNameSearchWithResults.stories-DRUJjSdH.js"),__vite__mapDeps([87,86,83,77,1,2,3,4,5,6,58,18,73,39,44,78,79,81,70,82,7]),import.meta.url),"./src/experiences/components/SellDomainNameWidget/SellDomainNameWidget.stories.js":()=>Te(()=>import("./SellDomainNameWidget.stories-CC3LX10s.js"),__vite__mapDeps([88,1,2,3,4,5,6,58,18,76,32,33,77,73,39,44,78,79,80,81,70,82,7]),import.meta.url),"./src/experiences/components/UploadYourLogoApplication/UploadYourLogoApplication.stories.js":()=>Te(()=>import("./UploadYourLogoApplication.stories-C9AvzHO_.js"),__vite__mapDeps([89,70,71,72,78,81,82,90,5,3,91,92,93,1,2,4,6,27,94,7,95]),import.meta.url),"./src/experiences/components/UploadYourLogoDropzone/UploadYourLogoDropzone.stories.js":()=>Te(()=>import("./UploadYourLogoDropzone.stories-D1Dt2ord.js"),__vite__mapDeps([96,78,91,3,92,7]),import.meta.url),"./src/experiences/components/UploadYourLogoOnBoarding/LogoBusinessBrandColours.stories.js":()=>Te(()=>import("./LogoBusinessBrandColours.stories-kuxAH8B8.js"),__vite__mapDeps([97,93,1,2,3,4,5,6,27,90,94,7]),import.meta.url),"./src/experiences/components/UploadedLogoSearchResultCard/UploadedLogoSearchResultCard.stories.js":()=>Te(()=>import("./UploadedLogoSearchResultCard.stories-D8oF1Yrx.js"),__vite__mapDeps([98,70,1,2,3,4,5,6,78,82,90,7]),import.meta.url),"./src/experiences/components/WebsitesContextualUpgradeModal/WebsiteContextualUpgradeModal.stories.js":()=>Te(()=>import("./WebsiteContextualUpgradeModal.stories-mtcvWOAg.js"),__vite__mapDeps([99,32,5,3,33,1,2,4,6,7,100]),import.meta.url)};async function UX(e){return await VX[e]()}var HX=Object.defineProperty,Nx=(e,t)=>{for(var r in t)HX(e,r,{get:t[r],enumerable:!0})};function Nr(e){const t=Object.create(null);for(const r of e.split(","))t[r]=1;return r=>r in t}const $e={},ns=[],Wt=()=>{},Yi=()=>!1,ji=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),Tg=e=>e.startsWith("onUpdate:"),ke=Object.assign,wg=(e,t)=>{const r=e.indexOf(t);r>-1&&e.splice(r,1)},JX=Object.prototype.hasOwnProperty,Ye=(e,t)=>JX.call(e,t),be=Array.isArray,os=e=>Js(e)==="[object Map]",qi=e=>Js(e)==="[object Set]",tT=e=>Js(e)==="[object Date]",GX=e=>Js(e)==="[object RegExp]",Re=e=>typeof e=="function",xe=e=>typeof e=="string",vr=e=>typeof e=="symbol",et=e=>e!==null&&typeof e=="object",Sg=e=>(et(e)||Re(e))&&Re(e.then)&&Re(e.catch),Ix=Object.prototype.toString,Js=e=>Ix.call(e),WX=e=>Js(e).slice(8,-1),qd=e=>Js(e)==="[object Object]",Ld=e=>xe(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Jn=Nr(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),KX=Nr("bind,cloak,else-if,else,for,html,if,model,on,once,pre,show,slot,text,memo"),kd=e=>{const t=Object.create(null);return(r=>t[r]||(t[r]=e(r)))},zX=/-\w/g,it=kd(e=>e.replace(zX,t=>t.slice(1).toUpperCase())),YX=/\B([A-Z])/g,yr=kd(e=>e.replace(YX,"-$1").toLowerCase()),Ho=kd(e=>e.charAt(0).toUpperCase()+e.slice(1)),fi=kd(e=>e?`on${Ho(e)}`:""),ur=(e,t)=>!Object.is(e,t),is=(e,...t)=>{for(let r=0;r<e.length;r++)e[r](...t)},Mx=(e,t,r,n=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:n,value:r})},Dd=e=>{const t=parseFloat(e);return isNaN(t)?e:t},_c=e=>{const t=xe(e)?Number(e):NaN;return isNaN(t)?e:t};let rT;const Fd=()=>rT||(rT=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function XX(e,t){return e+JSON.stringify(t,(r,n)=>typeof n=="function"?n.toString():n)}const QX="Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,BigInt,console,Error,Symbol",ZX=Nr(QX);function Gs(e){if(be(e)){const t={};for(let r=0;r<e.length;r++){const n=e[r],o=xe(n)?jx(n):Gs(n);if(o)for(const i in o)t[i]=o[i]}return t}else if(xe(e)||et(e))return e}const eQ=/;(?![^(]*\))/g,tQ=/:([^]+)/,rQ=/\/\*[^]*?\*\//g;function jx(e){const t={};return e.replace(rQ,"").split(eQ).forEach(r=>{if(r){const n=r.split(tQ);n.length>1&&(t[n[0].trim()]=n[1].trim())}}),t}function Ws(e){let t="";if(xe(e))t=e;else if(be(e))for(let r=0;r<e.length;r++){const n=Ws(e[r]);n&&(t+=n+" ")}else if(et(e))for(const r in e)e[r]&&(t+=r+" ");return t.trim()}function qx(e){if(!e)return null;let{class:t,style:r}=e;return t&&!xe(t)&&(e.class=Ws(t)),r&&(e.style=Gs(r)),e}const nQ="html,body,base,head,link,meta,style,title,address,article,aside,footer,header,hgroup,h1,h2,h3,h4,h5,h6,nav,section,div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,summary,template,blockquote,iframe,tfoot",oQ="svg,animate,animateMotion,animateTransform,circle,clipPath,color-profile,defs,desc,discard,ellipse,feBlend,feColorMatrix,feComponentTransfer,feComposite,feConvolveMatrix,feDiffuseLighting,feDisplacementMap,feDistantLight,feDropShadow,feFlood,feFuncA,feFuncB,feFuncG,feFuncR,feGaussianBlur,feImage,feMerge,feMergeNode,feMorphology,feOffset,fePointLight,feSpecularLighting,feSpotLight,feTile,feTurbulence,filter,foreignObject,g,hatch,hatchpath,image,line,linearGradient,marker,mask,mesh,meshgradient,meshpatch,meshrow,metadata,mpath,path,pattern,polygon,polyline,radialGradient,rect,set,solidcolor,stop,switch,symbol,text,textPath,title,tspan,unknown,use,view",iQ="annotation,annotation-xml,maction,maligngroup,malignmark,math,menclose,merror,mfenced,mfrac,mfraction,mglyph,mi,mlabeledtr,mlongdiv,mmultiscripts,mn,mo,mover,mpadded,mphantom,mprescripts,mroot,mrow,ms,mscarries,mscarry,msgroup,msline,mspace,msqrt,msrow,mstack,mstyle,msub,msubsup,msup,mtable,mtd,mtext,mtr,munder,munderover,none,semantics",sQ="area,base,br,col,embed,hr,img,input,link,meta,param,source,track,wbr",aQ=Nr(nQ),lQ=Nr(oQ),uQ=Nr(iQ),cQ=Nr(sQ),dQ="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",pQ=Nr(dQ);function Lx(e){return!!e||e===""}function fQ(e,t){if(e.length!==t.length)return!1;let r=!0;for(let n=0;r&&n<e.length;n++)r=Do(e[n],t[n]);return r}function Do(e,t){if(e===t)return!0;let r=tT(e),n=tT(t);if(r||n)return r&&n?e.getTime()===t.getTime():!1;if(r=vr(e),n=vr(t),r||n)return e===t;if(r=be(e),n=be(t),r||n)return r&&n?fQ(e,t):!1;if(r=et(e),n=et(t),r||n){if(!r||!n)return!1;const o=Object.keys(e).length,i=Object.keys(t).length;if(o!==i)return!1;for(const s in e){const a=e.hasOwnProperty(s),l=t.hasOwnProperty(s);if(a&&!l||!a&&l||!Do(e[s],t[s]))return!1}}return String(e)===String(t)}function $d(e,t){return e.findIndex(r=>Do(r,t))}const kx=e=>!!(e&&e.__v_isRef===!0),Rg=e=>xe(e)?e:e==null?"":be(e)||et(e)&&(e.toString===Ix||!Re(e.toString))?kx(e)?Rg(e.value):JSON.stringify(e,Dx,2):String(e),Dx=(e,t)=>kx(t)?Dx(e,t.value):os(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((r,[n,o],i)=>(r[of(n,i)+" =>"]=o,r),{})}:qi(t)?{[`Set(${t.size})`]:[...t.values()].map(r=>of(r))}:vr(t)?of(t):et(t)&&!be(t)&&!qd(t)?String(t):t,of=(e,t="")=>{var r;return vr(e)?`Symbol(${(r=e.description)!=null?r:t})`:e};function hQ(e){return e==null?"initial":typeof e=="string"?e===""?" ":e:String(e)}let Xt;class Bd{constructor(t=!1){this.detached=t,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=Xt,!t&&Xt&&(this.index=(Xt.scopes||(Xt.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,r;if(this.scopes)for(t=0,r=this.scopes.length;t<r;t++)this.scopes[t].pause();for(t=0,r=this.effects.length;t<r;t++)this.effects[t].pause()}}resume(){if(this._active&&this._isPaused){this._isPaused=!1;let t,r;if(this.scopes)for(t=0,r=this.scopes.length;t<r;t++)this.scopes[t].resume();for(t=0,r=this.effects.length;t<r;t++)this.effects[t].resume()}}run(t){if(this._active){const r=Xt;try{return Xt=this,t()}finally{Xt=r}}}on(){++this._on===1&&(this.prevScope=Xt,Xt=this)}off(){this._on>0&&--this._on===0&&(Xt=this.prevScope,this.prevScope=void 0)}stop(t){if(this._active){this._active=!1;let r,n;for(r=0,n=this.effects.length;r<n;r++)this.effects[r].stop();for(this.effects.length=0,r=0,n=this.cleanups.length;r<n;r++)this.cleanups[r]();if(this.cleanups.length=0,this.scopes){for(r=0,n=this.scopes.length;r<n;r++)this.scopes[r].stop(!0);this.scopes.length=0}if(!this.detached&&this.parent&&!t){const o=this.parent.scopes.pop();o&&o!==this&&(this.parent.scopes[this.index]=o,o.index=this.index)}this.parent=void 0}}}function Fx(e){return new Bd(e)}function Og(){return Xt}function $x(e,t=!1){Xt&&Xt.cleanups.push(e)}let nt;const sf=new WeakSet;class Rs{constructor(t){this.fn=t,this.deps=void 0,this.depsTail=void 0,this.flags=5,this.next=void 0,this.cleanup=void 0,this.scheduler=void 0,Xt&&Xt.active&&Xt.effects.push(this)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,sf.has(this)&&(sf.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||Vx(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,nT(this),Ux(this);const t=nt,r=tn;nt=this,tn=!0;try{return this.fn()}finally{Hx(this),nt=t,tn=r,this.flags&=-3}}stop(){if(this.flags&1){for(let t=this.deps;t;t=t.nextDep)Pg(t);this.deps=this.depsTail=void 0,nT(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?sf.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){Lh(this)&&this.run()}get dirty(){return Lh(this)}}let Bx=0,Ma,ja;function Vx(e,t=!1){if(e.flags|=8,t){e.next=ja,ja=e;return}e.next=Ma,Ma=e}function Ag(){Bx++}function Cg(){if(--Bx>0)return;if(ja){let t=ja;for(ja=void 0;t;){const r=t.next;t.next=void 0,t.flags&=-9,t=r}}let e;for(;Ma;){let t=Ma;for(Ma=void 0;t;){const r=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(n){e||(e=n)}t=r}}if(e)throw e}function Ux(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function Hx(e){let t,r=e.depsTail,n=r;for(;n;){const o=n.prevDep;n.version===-1?(n===r&&(r=o),Pg(n),mQ(n)):t=n,n.dep.activeLink=n.prevActiveLink,n.prevActiveLink=void 0,n=o}e.deps=t,e.depsTail=r}function Lh(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(Jx(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function Jx(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===ul)||(e.globalVersion=ul,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!Lh(e))))return;e.flags|=2;const t=e.dep,r=nt,n=tn;nt=e,tn=!0;try{Ux(e);const o=e.fn(e._value);(t.version===0||ur(o,e._value))&&(e.flags|=128,e._value=o,t.version++)}catch(o){throw t.version++,o}finally{nt=r,tn=n,Hx(e),e.flags&=-3}}function Pg(e,t=!1){const{dep:r,prevSub:n,nextSub:o}=e;if(n&&(n.nextSub=o,e.prevSub=void 0),o&&(o.prevSub=n,e.nextSub=void 0),r.subs===e&&(r.subs=n,!n&&r.computed)){r.computed.flags&=-5;for(let i=r.computed.deps;i;i=i.nextDep)Pg(i,!0)}!t&&!--r.sc&&r.map&&r.map.delete(r.key)}function mQ(e){const{prevDep:t,nextDep:r}=e;t&&(t.nextDep=r,e.prevDep=void 0),r&&(r.prevDep=t,e.nextDep=void 0)}function Gx(e,t){e.effect instanceof Rs&&(e=e.effect.fn);const r=new Rs(e);t&&ke(r,t);try{r.run()}catch(o){throw r.stop(),o}const n=r.run.bind(r);return n.effect=r,n}function Wx(e){e.effect.stop()}let tn=!0;const Kx=[];function Yn(){Kx.push(tn),tn=!1}function Xn(){const e=Kx.pop();tn=e===void 0?!0:e}function nT(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const r=nt;nt=void 0;try{t()}finally{nt=r}}}let ul=0;class yQ{constructor(t,r){this.sub=t,this.dep=r,this.version=r.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class Vd{constructor(t){this.computed=t,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0,this.__v_skip=!0}track(t){if(!nt||!tn||nt===this.computed)return;let r=this.activeLink;if(r===void 0||r.sub!==nt)r=this.activeLink=new yQ(nt,this),nt.deps?(r.prevDep=nt.depsTail,nt.depsTail.nextDep=r,nt.depsTail=r):nt.deps=nt.depsTail=r,zx(r);else if(r.version===-1&&(r.version=this.version,r.nextDep)){const n=r.nextDep;n.prevDep=r.prevDep,r.prevDep&&(r.prevDep.nextDep=n),r.prevDep=nt.depsTail,r.nextDep=void 0,nt.depsTail.nextDep=r,nt.depsTail=r,nt.deps===r&&(nt.deps=n)}return r}trigger(t){this.version++,ul++,this.notify(t)}notify(t){Ag();try{for(let r=this.subs;r;r=r.prevSub)r.sub.notify()&&r.sub.dep.notify()}finally{Cg()}}}function zx(e){if(e.dep.sc++,e.sub.flags&4){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let n=t.deps;n;n=n.nextDep)zx(n)}const r=e.dep.subs;r!==e&&(e.prevSub=r,r&&(r.nextSub=e)),e.dep.subs=e}}const Tc=new WeakMap,hi=Symbol(""),kh=Symbol(""),cl=Symbol("");function Zt(e,t,r){if(tn&&nt){let n=Tc.get(e);n||Tc.set(e,n=new Map);let o=n.get(r);o||(n.set(r,o=new Vd),o.map=n,o.key=r),o.track()}}function qn(e,t,r,n,o,i){const s=Tc.get(e);if(!s){ul++;return}const a=l=>{l&&l.trigger()};if(Ag(),t==="clear")s.forEach(a);else{const l=be(e),u=l&&Ld(r);if(l&&r==="length"){const c=Number(n);s.forEach((d,f)=>{(f==="length"||f===cl||!vr(f)&&f>=c)&&a(d)})}else switch((r!==void 0||s.has(void 0))&&a(s.get(r)),u&&a(s.get(cl)),t){case"add":l?u&&a(s.get("length")):(a(s.get(hi)),os(e)&&a(s.get(kh)));break;case"delete":l||(a(s.get(hi)),os(e)&&a(s.get(kh)));break;case"set":os(e)&&a(s.get(hi));break}}Cg()}function gQ(e,t){const r=Tc.get(e);return r&&r.get(t)}function $i(e){const t=Ue(e);return t===e?t:(Zt(t,"iterate",cl),dr(e)?t:t.map(ln))}function Ud(e){return Zt(e=Ue(e),"iterate",cl),e}function _o(e,t){return an(e)?Os(rn(e)?ln(t):t):ln(t)}const bQ={__proto__:null,[Symbol.iterator](){return af(this,Symbol.iterator,e=>_o(this,e))},concat(...e){return $i(this).concat(...e.map(t=>be(t)?$i(t):t))},entries(){return af(this,"entries",e=>(e[1]=_o(this,e[1]),e))},every(e,t){return Cn(this,"every",e,t,void 0,arguments)},filter(e,t){return Cn(this,"filter",e,t,r=>r.map(n=>_o(this,n)),arguments)},find(e,t){return Cn(this,"find",e,t,r=>_o(this,r),arguments)},findIndex(e,t){return Cn(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return Cn(this,"findLast",e,t,r=>_o(this,r),arguments)},findLastIndex(e,t){return Cn(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return Cn(this,"forEach",e,t,void 0,arguments)},includes(...e){return lf(this,"includes",e)},indexOf(...e){return lf(this,"indexOf",e)},join(e){return $i(this).join(e)},lastIndexOf(...e){return lf(this,"lastIndexOf",e)},map(e,t){return Cn(this,"map",e,t,void 0,arguments)},pop(){return ua(this,"pop")},push(...e){return ua(this,"push",e)},reduce(e,...t){return oT(this,"reduce",e,t)},reduceRight(e,...t){return oT(this,"reduceRight",e,t)},shift(){return ua(this,"shift")},some(e,t){return Cn(this,"some",e,t,void 0,arguments)},splice(...e){return ua(this,"splice",e)},toReversed(){return $i(this).toReversed()},toSorted(e){return $i(this).toSorted(e)},toSpliced(...e){return $i(this).toSpliced(...e)},unshift(...e){return ua(this,"unshift",e)},values(){return af(this,"values",e=>_o(this,e))}};function af(e,t,r){const n=Ud(e),o=n[t]();return n!==e&&!dr(e)&&(o._next=o.next,o.next=()=>{const i=o._next();return i.done||(i.value=r(i.value)),i}),o}const vQ=Array.prototype;function Cn(e,t,r,n,o,i){const s=Ud(e),a=s!==e&&!dr(e),l=s[t];if(l!==vQ[t]){const d=l.apply(e,i);return a?ln(d):d}let u=r;s!==e&&(a?u=function(d,f){return r.call(this,_o(e,d),f,e)}:r.length>2&&(u=function(d,f){return r.call(this,d,f,e)}));const c=l.call(s,u,n);return a&&o?o(c):c}function oT(e,t,r,n){const o=Ud(e);let i=r;return o!==e&&(dr(e)?r.length>3&&(i=function(s,a,l){return r.call(this,s,a,l,e)}):i=function(s,a,l){return r.call(this,s,_o(e,a),l,e)}),o[t](i,...n)}function lf(e,t,r){const n=Ue(e);Zt(n,"iterate",cl);const o=n[t](...r);return(o===-1||o===!1)&&Ks(r[0])?(r[0]=Ue(r[0]),n[t](...r)):o}function ua(e,t,r=[]){Yn(),Ag();const n=Ue(e)[t].apply(e,r);return Cg(),Xn(),n}const EQ=Nr("__proto__,__v_isRef,__isVue"),Yx=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(vr));function _Q(e){vr(e)||(e=String(e));const t=Ue(this);return Zt(t,"has",e),t.hasOwnProperty(e)}class Xx{constructor(t=!1,r=!1){this._isReadonly=t,this._isShallow=r}get(t,r,n){if(r==="__v_skip")return t.__v_skip;const o=this._isReadonly,i=this._isShallow;if(r==="__v_isReactive")return!o;if(r==="__v_isReadonly")return o;if(r==="__v_isShallow")return i;if(r==="__v_raw")return n===(o?i?n1:r1:i?t1:e1).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(n)?t:void 0;const s=be(t);if(!o){let l;if(s&&(l=bQ[r]))return l;if(r==="hasOwnProperty")return _Q}const a=Reflect.get(t,r,St(t)?t:n);if((vr(r)?Yx.has(r):EQ(r))||(o||Zt(t,"get",r),i))return a;if(St(a)){const l=s&&Ld(r)?a:a.value;return o&&et(l)?dl(l):l}return et(a)?o?dl(a):Fo(a):a}}class Qx extends Xx{constructor(t=!1){super(!1,t)}set(t,r,n,o){let i=t[r];const s=be(t)&&Ld(r);if(!this._isShallow){const u=an(i);if(!dr(n)&&!an(n)&&(i=Ue(i),n=Ue(n)),!s&&St(i)&&!St(n))return u||(i.value=n),!0}const a=s?Number(r)<t.length:Ye(t,r),l=Reflect.set(t,r,n,St(t)?t:o);return t===Ue(o)&&(a?ur(n,i)&&qn(t,"set",r,n):qn(t,"add",r,n)),l}deleteProperty(t,r){const n=Ye(t,r);t[r];const o=Reflect.deleteProperty(t,r);return o&&n&&qn(t,"delete",r,void 0),o}has(t,r){const n=Reflect.has(t,r);return(!vr(r)||!Yx.has(r))&&Zt(t,"has",r),n}ownKeys(t){return Zt(t,"iterate",be(t)?"length":hi),Reflect.ownKeys(t)}}class Zx extends Xx{constructor(t=!1){super(!0,t)}set(t,r){return!0}deleteProperty(t,r){return!0}}const TQ=new Qx,wQ=new Zx,SQ=new Qx(!0),RQ=new Zx(!0),Dh=e=>e,mu=e=>Reflect.getPrototypeOf(e);function OQ(e,t,r){return function(...n){const o=this.__v_raw,i=Ue(o),s=os(i),a=e==="entries"||e===Symbol.iterator&&s,l=e==="keys"&&s,u=o[e](...n),c=r?Dh:t?Os:ln;return!t&&Zt(i,"iterate",l?kh:hi),ke(Object.create(u),{next(){const{value:d,done:f}=u.next();return f?{value:d,done:f}:{value:a?[c(d[0]),c(d[1])]:c(d),done:f}}})}}function yu(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function AQ(e,t){const r={get(o){const i=this.__v_raw,s=Ue(i),a=Ue(o);e||(ur(o,a)&&Zt(s,"get",o),Zt(s,"get",a));const{has:l}=mu(s),u=t?Dh:e?Os:ln;if(l.call(s,o))return u(i.get(o));if(l.call(s,a))return u(i.get(a));i!==s&&i.get(o)},get size(){const o=this.__v_raw;return!e&&Zt(Ue(o),"iterate",hi),o.size},has(o){const i=this.__v_raw,s=Ue(i),a=Ue(o);return e||(ur(o,a)&&Zt(s,"has",o),Zt(s,"has",a)),o===a?i.has(o):i.has(o)||i.has(a)},forEach(o,i){const s=this,a=s.__v_raw,l=Ue(a),u=t?Dh:e?Os:ln;return!e&&Zt(l,"iterate",hi),a.forEach((c,d)=>o.call(i,u(c),u(d),s))}};return ke(r,e?{add:yu("add"),set:yu("set"),delete:yu("delete"),clear:yu("clear")}:{add(o){!t&&!dr(o)&&!an(o)&&(o=Ue(o));const i=Ue(this);return mu(i).has.call(i,o)||(i.add(o),qn(i,"add",o,o)),this},set(o,i){!t&&!dr(i)&&!an(i)&&(i=Ue(i));const s=Ue(this),{has:a,get:l}=mu(s);let u=a.call(s,o);u||(o=Ue(o),u=a.call(s,o));const c=l.call(s,o);return s.set(o,i),u?ur(i,c)&&qn(s,"set",o,i):qn(s,"add",o,i),this},delete(o){const i=Ue(this),{has:s,get:a}=mu(i);let l=s.call(i,o);l||(o=Ue(o),l=s.call(i,o)),a&&a.call(i,o);const u=i.delete(o);return l&&qn(i,"delete",o,void 0),u},clear(){const o=Ue(this),i=o.size!==0,s=o.clear();return i&&qn(o,"clear",void 0,void 0),s}}),["keys","values","entries",Symbol.iterator].forEach(o=>{r[o]=OQ(o,e,t)}),r}function Hd(e,t){const r=AQ(e,t);return(n,o,i)=>o==="__v_isReactive"?!e:o==="__v_isReadonly"?e:o==="__v_raw"?n:Reflect.get(Ye(r,o)&&o in n?r:n,o,i)}const CQ={get:Hd(!1,!1)},PQ={get:Hd(!1,!0)},xQ={get:Hd(!0,!1)},NQ={get:Hd(!0,!0)},e1=new WeakMap,t1=new WeakMap,r1=new WeakMap,n1=new WeakMap;function IQ(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function MQ(e){return e.__v_skip||!Object.isExtensible(e)?0:IQ(WX(e))}function Fo(e){return an(e)?e:Jd(e,!1,TQ,CQ,e1)}function xg(e){return Jd(e,!1,SQ,PQ,t1)}function dl(e){return Jd(e,!0,wQ,xQ,r1)}function o1(e){return Jd(e,!0,RQ,NQ,n1)}function Jd(e,t,r,n,o){if(!et(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const i=MQ(e);if(i===0)return e;const s=o.get(e);if(s)return s;const a=new Proxy(e,i===2?n:r);return o.set(e,a),a}function rn(e){return an(e)?rn(e.__v_raw):!!(e&&e.__v_isReactive)}function an(e){return!!(e&&e.__v_isReadonly)}function dr(e){return!!(e&&e.__v_isShallow)}function Ks(e){return e?!!e.__v_raw:!1}function Ue(e){const t=e&&e.__v_raw;return t?Ue(t):e}function Ng(e){return!Ye(e,"__v_skip")&&Object.isExtensible(e)&&Mx(e,"__v_skip",!0),e}const ln=e=>et(e)?Fo(e):e,Os=e=>et(e)?dl(e):e;function St(e){return e?e.__v_isRef===!0:!1}function ss(e){return i1(e,!1)}function Ig(e){return i1(e,!0)}function i1(e,t){return St(e)?e:new jQ(e,t)}class jQ{constructor(t,r){this.dep=new Vd,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=r?t:Ue(t),this._value=r?t:ln(t),this.__v_isShallow=r}get value(){return this.dep.track(),this._value}set value(t){const r=this._rawValue,n=this.__v_isShallow||dr(t)||an(t);t=n?t:Ue(t),ur(t,r)&&(this._rawValue=t,this._value=n?t:ln(t),this.dep.trigger())}}function s1(e){e.dep&&e.dep.trigger()}function zs(e){return St(e)?e.value:e}function a1(e){return Re(e)?e():zs(e)}const qQ={get:(e,t,r)=>t==="__v_raw"?e:zs(Reflect.get(e,t,r)),set:(e,t,r,n)=>{const o=e[t];return St(o)&&!St(r)?(o.value=r,!0):Reflect.set(e,t,r,n)}};function Gd(e){return rn(e)?e:new Proxy(e,qQ)}class LQ{constructor(t){this.__v_isRef=!0,this._value=void 0;const r=this.dep=new Vd,{get:n,set:o}=t(r.track.bind(r),r.trigger.bind(r));this._get=n,this._set=o}get value(){return this._value=this._get()}set value(t){this._set(t)}}function Mg(e){return new LQ(e)}function l1(e){const t=be(e)?new Array(e.length):{};for(const r in e)t[r]=c1(e,r);return t}class kQ{constructor(t,r,n){this._object=t,this._key=r,this._defaultValue=n,this.__v_isRef=!0,this._value=void 0,this._raw=Ue(t);let o=!0,i=t;if(!be(t)||!Ld(String(r)))do o=!Ks(i)||dr(i);while(o&&(i=i.__v_raw));this._shallow=o}get value(){let t=this._object[this._key];return this._shallow&&(t=zs(t)),this._value=t===void 0?this._defaultValue:t}set value(t){if(this._shallow&&St(this._raw[this._key])){const r=this._object[this._key];if(St(r)){r.value=t;return}}this._object[this._key]=t}get dep(){return gQ(this._raw,this._key)}}class DQ{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0,this._value=void 0}get value(){return this._value=this._getter()}}function u1(e,t,r){return St(e)?e:Re(e)?new DQ(e):et(e)&&arguments.length>1?c1(e,t,r):ss(e)}function c1(e,t,r){return new kQ(e,t,r)}class FQ{constructor(t,r,n){this.fn=t,this.setter=r,this._value=void 0,this.dep=new Vd(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=ul-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!r,this.isSSR=n}notify(){if(this.flags|=16,!(this.flags&8)&&nt!==this)return Vx(this,!0),!0}get value(){const t=this.dep.track();return Jx(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function $Q(e,t,r=!1){let n,o;return Re(e)?n=e:(n=e.get,o=e.set),new FQ(n,o,r)}const d1={GET:"get",HAS:"has",ITERATE:"iterate"},p1={SET:"set",ADD:"add",DELETE:"delete",CLEAR:"clear"},gu={},wc=new WeakMap;let To;function f1(){return To}function jg(e,t=!1,r=To){if(r){let n=wc.get(r);n||wc.set(r,n=[]),n.push(e)}}function BQ(e,t,r=$e){const{immediate:n,deep:o,once:i,scheduler:s,augmentJob:a,call:l}=r,u=A=>o?A:dr(A)||o===!1||o===0?Ln(A,1):Ln(A);let c,d,f,h,m=!1,g=!1;if(St(e)?(d=()=>e.value,m=dr(e)):rn(e)?(d=()=>u(e),m=!0):be(e)?(g=!0,m=e.some(A=>rn(A)||dr(A)),d=()=>e.map(A=>{if(St(A))return A.value;if(rn(A))return u(A);if(Re(A))return l?l(A,2):A()})):Re(e)?t?d=l?()=>l(e,2):e:d=()=>{if(f){Yn();try{f()}finally{Xn()}}const A=To;To=c;try{return l?l(e,3,[h]):e(h)}finally{To=A}}:d=Wt,t&&o){const A=d,C=o===!0?1/0:o;d=()=>Ln(A(),C)}const v=Og(),b=()=>{c.stop(),v&&v.active&&wg(v.effects,c)};if(i&&t){const A=t;t=(...C)=>{A(...C),b()}}let E=g?new Array(e.length).fill(gu):gu;const S=A=>{if(!(!(c.flags&1)||!c.dirty&&!A))if(t){const C=c.run();if(o||m||(g?C.some((T,w)=>ur(T,E[w])):ur(C,E))){f&&f();const T=To;To=c;try{const w=[C,E===gu?void 0:g&&E[0]===gu?[]:E,h];E=C,l?l(t,3,w):t(...w)}finally{To=T}}}else c.run()};return a&&a(S),c=new Rs(d),c.scheduler=s?()=>s(S,!1):S,h=A=>jg(A,!1,c),f=c.onStop=()=>{const A=wc.get(c);if(A){if(l)l(A,4);else for(const C of A)C();wc.delete(c)}},t?n?S(!0):E=c.run():s?s(S.bind(null,!0),!0):c.run(),b.pause=c.pause.bind(c),b.resume=c.resume.bind(c),b.stop=b,b}function Ln(e,t=1/0,r){if(t<=0||!et(e)||e.__v_skip||(r=r||new Map,(r.get(e)||0)>=t))return e;if(r.set(e,t),t--,St(e))Ln(e.value,t,r);else if(be(e))for(let n=0;n<e.length;n++)Ln(e[n],t,r);else if(qi(e)||os(e))e.forEach(n=>{Ln(n,t,r)});else if(qd(e)){for(const n in e)Ln(e[n],t,r);for(const n of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,n)&&Ln(e[n],t,r)}return e}const h1=[];function VQ(e){h1.push(e)}function UQ(){h1.pop()}function m1(e,t){}const y1={SETUP_FUNCTION:0,0:"SETUP_FUNCTION",RENDER_FUNCTION:1,1:"RENDER_FUNCTION",NATIVE_EVENT_HANDLER:5,5:"NATIVE_EVENT_HANDLER",COMPONENT_EVENT_HANDLER:6,6:"COMPONENT_EVENT_HANDLER",VNODE_HOOK:7,7:"VNODE_HOOK",DIRECTIVE_HOOK:8,8:"DIRECTIVE_HOOK",TRANSITION_HOOK:9,9:"TRANSITION_HOOK",APP_ERROR_HANDLER:10,10:"APP_ERROR_HANDLER",APP_WARN_HANDLER:11,11:"APP_WARN_HANDLER",FUNCTION_REF:12,12:"FUNCTION_REF",ASYNC_COMPONENT_LOADER:13,13:"ASYNC_COMPONENT_LOADER",SCHEDULER:14,14:"SCHEDULER",COMPONENT_UPDATE:15,15:"COMPONENT_UPDATE",APP_UNMOUNT_CLEANUP:16,16:"APP_UNMOUNT_CLEANUP"},HQ={sp:"serverPrefetch hook",bc:"beforeCreate hook",c:"created hook",bm:"beforeMount hook",m:"mounted hook",bu:"beforeUpdate hook",u:"updated",bum:"beforeUnmount hook",um:"unmounted hook",a:"activated hook",da:"deactivated hook",ec:"errorCaptured hook",rtc:"renderTracked hook",rtg:"renderTriggered hook",0:"setup function",1:"render function",2:"watcher getter",3:"watcher callback",4:"watcher cleanup function",5:"native event handler",6:"component event handler",7:"vnode hook",8:"directive hook",9:"transition hook",10:"app errorHandler",11:"app warnHandler",12:"ref function",13:"async component loader",14:"scheduler flush",15:"component update",16:"app unmount cleanup function"};function Li(e,t,r,n){try{return n?e(...n):e()}catch(o){Jo(o,t,r)}}function xr(e,t,r,n){if(Re(e)){const o=Li(e,t,r,n);return o&&Sg(o)&&o.catch(i=>{Jo(i,t,r)}),o}if(be(e)){const o=[];for(let i=0;i<e.length;i++)o.push(xr(e[i],t,r,n));return o}}function Jo(e,t,r,n=!0){const o=t?t.vnode:null,{errorHandler:i,throwUnhandledErrorInProduction:s}=t&&t.appContext.config||$e;if(t){let a=t.parent;const l=t.proxy,u=`https://vuejs.org/error-reference/#runtime-${r}`;for(;a;){const c=a.ec;if(c){for(let d=0;d<c.length;d++)if(c[d](e,l,u)===!1)return}a=a.parent}if(i){Yn(),Li(i,null,10,[e,l,u]),Xn();return}}JQ(e,r,o,n,s)}function JQ(e,t,r,n=!0,o=!1){if(o)throw e;console.error(e)}const cr=[];let hn=-1;const as=[];let wo=null,Hi=0;const g1=Promise.resolve();let Sc=null;function $l(e){const t=Sc||g1;return e?t.then(this?e.bind(this):e):t}function GQ(e){let t=hn+1,r=cr.length;for(;t<r;){const n=t+r>>>1,o=cr[n],i=pl(o);i<e||i===e&&o.flags&2?t=n+1:r=n}return t}function qg(e){if(!(e.flags&1)){const t=pl(e),r=cr[cr.length-1];!r||!(e.flags&2)&&t>=pl(r)?cr.push(e):cr.splice(GQ(t),0,e),e.flags|=1,b1()}}function b1(){Sc||(Sc=g1.then(v1))}function As(e){be(e)?as.push(...e):wo&&e.id===-1?wo.splice(Hi+1,0,e):e.flags&1||(as.push(e),e.flags|=1),b1()}function iT(e,t,r=hn+1){for(;r<cr.length;r++){const n=cr[r];if(n&&n.flags&2){if(e&&n.id!==e.uid)continue;cr.splice(r,1),r--,n.flags&4&&(n.flags&=-2),n(),n.flags&4||(n.flags&=-2)}}}function Rc(e){if(as.length){const t=[...new Set(as)].sort((r,n)=>pl(r)-pl(n));if(as.length=0,wo){wo.push(...t);return}for(wo=t,Hi=0;Hi<wo.length;Hi++){const r=wo[Hi];r.flags&4&&(r.flags&=-2),r.flags&8||r(),r.flags&=-2}wo=null,Hi=0}}const pl=e=>e.id==null?e.flags&2?-1:1/0:e.id;function v1(e){try{for(hn=0;hn<cr.length;hn++){const t=cr[hn];t&&!(t.flags&8)&&(t.flags&4&&(t.flags&=-2),Li(t,t.i,t.i?15:14),t.flags&4||(t.flags&=-2))}}finally{for(;hn<cr.length;hn++){const t=cr[hn];t&&(t.flags&=-2)}hn=-1,cr.length=0,Rc(),Sc=null,(cr.length||as.length)&&v1()}}let Ji,bu=[];function E1(e,t){var r,n;Ji=e,Ji?(Ji.enabled=!0,bu.forEach(({event:o,args:i})=>Ji.emit(o,...i)),bu=[]):typeof window<"u"&&window.HTMLElement&&!((n=(r=window.navigator)==null?void 0:r.userAgent)!=null&&n.includes("jsdom"))?((t.__VUE_DEVTOOLS_HOOK_REPLAY__=t.__VUE_DEVTOOLS_HOOK_REPLAY__||[]).push(i=>{E1(i,t)}),setTimeout(()=>{Ji||(t.__VUE_DEVTOOLS_HOOK_REPLAY__=null,bu=[])},3e3)):bu=[]}let Jt=null,Wd=null;function fl(e){const t=Jt;return Jt=e,Wd=e&&e.type.__scopeId||null,t}function _1(e){Wd=e}function T1(){Wd=null}const w1=e=>Kd;function Kd(e,t=Jt,r){if(!t||e._n)return e;const n=(...o)=>{n._d&&Ps(-1);const i=fl(t);let s;try{s=e(...o)}finally{fl(i),n._d&&Ps(1)}return s};return n._n=!0,n._c=!0,n._d=!0,n}function S1(e,t){if(Jt===null)return e;const r=Wl(Jt),n=e.dirs||(e.dirs=[]);for(let o=0;o<t.length;o++){let[i,s,a,l=$e]=t[o];i&&(Re(i)&&(i={mounted:i,updated:i}),i.deep&&Ln(s),n.push({dir:i,instance:r,value:s,oldValue:void 0,arg:a,modifiers:l}))}return e}function mn(e,t,r,n){const o=e.dirs,i=t&&t.dirs;for(let s=0;s<o.length;s++){const a=o[s];i&&(a.oldValue=i[s].value);let l=a.dir[n];l&&(Yn(),xr(l,r,8,[e.el,a,e,t]),Xn())}}function Lg(e,t){if(Ut){let r=Ut.provides;const n=Ut.parent&&Ut.parent.provides;n===r&&(r=Ut.provides=Object.create(n)),r[e]=t}}function ls(e,t,r=!1){const n=pr();if(n||yi){let o=yi?yi._context.provides:n?n.parent==null||n.ce?n.vnode.appContext&&n.vnode.appContext.provides:n.parent.provides:void 0;if(o&&e in o)return o[e];if(arguments.length>1)return r&&Re(t)?t.call(n&&n.proxy):t}}function R1(){return!!(pr()||yi)}const kg=Symbol.for("v-scx"),Dg=()=>ls(kg);function O1(e,t){return Bl(e,null,t)}function A1(e,t){return Bl(e,null,{flush:"post"})}function Fg(e,t){return Bl(e,null,{flush:"sync"})}function mi(e,t,r){return Bl(e,t,r)}function Bl(e,t,r=$e){const{immediate:n,deep:o,flush:i,once:s}=r,a=ke({},r),l=t&&n||!t&&i!=="post";let u;if(xs){if(i==="sync"){const h=Dg();u=h.__watcherHandles||(h.__watcherHandles=[])}else if(!l){const h=()=>{};return h.stop=Wt,h.resume=Wt,h.pause=Wt,h}}const c=Ut;a.call=(h,m,g)=>xr(h,c,m,g);let d=!1;i==="post"?a.scheduler=h=>{At(h,c&&c.suspense)}:i!=="sync"&&(d=!0,a.scheduler=(h,m)=>{m?h():qg(h)}),a.augmentJob=h=>{t&&(h.flags|=4),d&&(h.flags|=2,c&&(h.id=c.uid,h.i=c))};const f=BQ(e,t,a);return xs&&(u?u.push(f):l&&f()),f}function WQ(e,t,r){const n=this.proxy,o=xe(e)?e.includes(".")?C1(n,e):()=>n[e]:e.bind(n,n);let i;Re(t)?i=t:(i=t.handler,r=t);const s=Ci(this),a=Bl(o,i.bind(n),r);return s(),a}function C1(e,t){const r=t.split(".");return()=>{let n=e;for(let o=0;o<r.length&&n;o++)n=n[r[o]];return n}}const P1=Symbol("_vte"),x1=e=>e.__isTeleport,qa=e=>e&&(e.disabled||e.disabled===""),sT=e=>e&&(e.defer||e.defer===""),aT=e=>typeof SVGElement<"u"&&e instanceof SVGElement,lT=e=>typeof MathMLElement=="function"&&e instanceof MathMLElement,Fh=(e,t)=>{const r=e&&e.to;return xe(r)?t?t(r):null:r},N1={name:"Teleport",__isTeleport:!0,process(e,t,r,n,o,i,s,a,l,u){const{mc:c,pc:d,pbc:f,o:{insert:h,querySelector:m,createText:g,createComment:v}}=u,b=qa(t.props);let{shapeFlag:E,children:S,dynamicChildren:A}=t;if(e==null){const C=t.el=g(""),T=t.anchor=g("");h(C,r,n),h(T,r,n);const w=(R,M)=>{E&16&&c(S,R,M,o,i,s,a,l)},_=()=>{const R=t.target=Fh(t.props,m),M=M1(R,t,g,h);R&&(s!=="svg"&&aT(R)?s="svg":s!=="mathml"&&lT(R)&&(s="mathml"),o&&o.isCE&&(o.ce._teleportTargets||(o.ce._teleportTargets=new Set)).add(R),b||(w(R,M),$u(t,!1)))};b&&(w(r,T),$u(t,!0)),sT(t.props)?(t.el.__isMounted=!1,At(()=>{_(),delete t.el.__isMounted},i)):_()}else{if(sT(t.props)&&e.el.__isMounted===!1){At(()=>{N1.process(e,t,r,n,o,i,s,a,l,u)},i);return}t.el=e.el,t.targetStart=e.targetStart;const C=t.anchor=e.anchor,T=t.target=e.target,w=t.targetAnchor=e.targetAnchor,_=qa(e.props),R=_?r:T,M=_?C:w;if(s==="svg"||aT(T)?s="svg":(s==="mathml"||lT(T))&&(s="mathml"),A?(f(e.dynamicChildren,A,R,o,i,s,a),nb(e,t,!0)):l||d(e,t,R,M,o,i,s,a,!1),b)_?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):vu(t,r,C,u,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const N=t.target=Fh(t.props,m);N&&vu(t,N,null,u,0)}else _&&vu(t,T,w,u,1);$u(t,b)}},remove(e,t,r,{um:n,o:{remove:o}},i){const{shapeFlag:s,children:a,anchor:l,targetStart:u,targetAnchor:c,target:d,props:f}=e;if(d&&(o(u),o(c)),i&&o(l),s&16){const h=i||!qa(f);for(let m=0;m<a.length;m++){const g=a[m];n(g,t,r,h,!!g.dynamicChildren)}}},move:vu,hydrate:KQ};function vu(e,t,r,{o:{insert:n},m:o},i=2){i===0&&n(e.targetAnchor,t,r);const{el:s,anchor:a,shapeFlag:l,children:u,props:c}=e,d=i===2;if(d&&n(s,t,r),(!d||qa(c))&&l&16)for(let f=0;f<u.length;f++)o(u[f],t,r,2);d&&n(a,t,r)}function KQ(e,t,r,n,o,i,{o:{nextSibling:s,parentNode:a,querySelector:l,insert:u,createText:c}},d){function f(g,v,b,E){v.anchor=d(s(g),v,a(g),r,n,o,i),v.targetStart=b,v.targetAnchor=E}const h=t.target=Fh(t.props,l),m=qa(t.props);if(h){const g=h._lpa||h.firstChild;if(t.shapeFlag&16)if(m)f(e,t,g,g&&s(g));else{t.anchor=s(e);let v=g;for(;v;){if(v&&v.nodeType===8){if(v.data==="teleport start anchor")t.targetStart=v;else if(v.data==="teleport anchor"){t.targetAnchor=v,h._lpa=t.targetAnchor&&s(t.targetAnchor);break}}v=s(v)}t.targetAnchor||M1(h,t,c,u),d(g&&s(g),t,h,r,n,o,i)}$u(t,m)}else m&&t.shapeFlag&16&&f(e,t,e,s(e));return t.anchor&&s(t.anchor)}const I1=N1;function $u(e,t){const r=e.ctx;if(r&&r.ut){let n,o;for(t?(n=e.el,o=e.anchor):(n=e.targetStart,o=e.targetAnchor);n&&n!==o;)n.nodeType===1&&n.setAttribute("data-v-owner",r.uid),n=n.nextSibling;r.ut()}}function M1(e,t,r,n){const o=t.targetStart=r(""),i=t.targetAnchor=r("");return o[P1]=i,e&&(n(o,e),n(i,e)),i}const In=Symbol("_leaveCb"),Eu=Symbol("_enterCb");function zd(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return Ys(()=>{e.isMounted=!0}),Jl(()=>{e.isUnmounting=!0}),e}const Lr=[Function,Array],Yd={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Lr,onEnter:Lr,onAfterEnter:Lr,onEnterCancelled:Lr,onBeforeLeave:Lr,onLeave:Lr,onAfterLeave:Lr,onLeaveCancelled:Lr,onBeforeAppear:Lr,onAppear:Lr,onAfterAppear:Lr,onAppearCancelled:Lr},j1=e=>{const t=e.subTree;return t.component?j1(t.component):t},zQ={name:"BaseTransition",props:Yd,setup(e,{slots:t}){const r=pr(),n=zd();return()=>{const o=t.default&&Vl(t.default(),!0);if(!o||!o.length)return;const i=q1(o),s=Ue(e),{mode:a}=s;if(n.isLeaving)return uf(i);const l=uT(i);if(!l)return uf(i);let u=Oi(l,s,n,r,d=>u=d);l.type!==vt&&En(l,u);let c=r.subTree&&uT(r.subTree);if(c&&c.type!==vt&&!Zr(c,l)&&j1(r).type!==vt){let d=Oi(c,s,n,r);if(En(c,d),a==="out-in"&&l.type!==vt)return n.isLeaving=!0,d.afterLeave=()=>{n.isLeaving=!1,r.job.flags&8||r.update(),delete d.afterLeave,c=void 0},uf(i);a==="in-out"&&l.type!==vt?d.delayLeave=(f,h,m)=>{const g=L1(n,c);g[String(c.key)]=c,f[In]=()=>{h(),f[In]=void 0,delete u.delayedLeave,c=void 0},u.delayedLeave=()=>{m(),delete u.delayedLeave,c=void 0}}:c=void 0}else c&&(c=void 0);return i}}};function q1(e){let t=e[0];if(e.length>1){for(const r of e)if(r.type!==vt){t=r;break}}return t}const $g=zQ;function L1(e,t){const{leavingVNodes:r}=e;let n=r.get(t.type);return n||(n=Object.create(null),r.set(t.type,n)),n}function Oi(e,t,r,n,o){const{appear:i,mode:s,persisted:a=!1,onBeforeEnter:l,onEnter:u,onAfterEnter:c,onEnterCancelled:d,onBeforeLeave:f,onLeave:h,onAfterLeave:m,onLeaveCancelled:g,onBeforeAppear:v,onAppear:b,onAfterAppear:E,onAppearCancelled:S}=t,A=String(e.key),C=L1(r,e),T=(R,M)=>{R&&xr(R,n,9,M)},w=(R,M)=>{const N=M[1];T(R,M),be(R)?R.every(q=>q.length<=1)&&N():R.length<=1&&N()},_={mode:s,persisted:a,beforeEnter(R){let M=l;if(!r.isMounted)if(i)M=v||l;else return;R[In]&&R[In](!0);const N=C[A];N&&Zr(e,N)&&N.el[In]&&N.el[In](),T(M,[R])},enter(R){let M=u,N=c,q=d;if(!r.isMounted)if(i)M=b||u,N=E||c,q=S||d;else return;let x=!1;const P=R[Eu]=L=>{x||(x=!0,L?T(q,[R]):T(N,[R]),_.delayedLeave&&_.delayedLeave(),R[Eu]=void 0)};M?w(M,[R,P]):P()},leave(R,M){const N=String(e.key);if(R[Eu]&&R[Eu](!0),r.isUnmounting)return M();T(f,[R]);let q=!1;const x=R[In]=P=>{q||(q=!0,M(),P?T(g,[R]):T(m,[R]),R[In]=void 0,C[N]===e&&delete C[N])};C[N]=e,h?w(h,[R,x]):x()},clone(R){const M=Oi(R,t,r,n,o);return o&&o(M),M}};return _}function uf(e){if(Ul(e))return e=un(e),e.children=null,e}function uT(e){if(!Ul(e))return x1(e.type)&&e.children?q1(e.children):e;if(e.component)return e.component.subTree;const{shapeFlag:t,children:r}=e;if(r){if(t&16)return r[0];if(t&32&&Re(r.default))return r.default()}}function En(e,t){e.shapeFlag&6&&e.component?(e.transition=t,En(e.component.subTree,t)):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function Vl(e,t=!1,r){let n=[],o=0;for(let i=0;i<e.length;i++){let s=e[i];const a=r==null?s.key:String(r)+String(s.key!=null?s.key:i);s.type===Ct?(s.patchFlag&128&&o++,n=n.concat(Vl(s.children,t,a))):(t||s.type!==vt)&&n.push(a!=null?un(s,{key:a}):s)}if(o>1)for(let i=0;i<n.length;i++)n[i].patchFlag=-2;return n}function Xd(e,t){return Re(e)?ke({name:e.name},t,{setup:e}):e}function k1(){const e=pr();return e?(e.appContext.config.idPrefix||"v")+"-"+e.ids[0]+e.ids[1]++:""}function Bg(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}function D1(e){const t=pr(),r=Ig(null);if(t){const o=t.refs===$e?t.refs={}:t.refs;Object.defineProperty(o,e,{enumerable:!0,get:()=>r.value,set:i=>r.value=i})}return r}const Oc=new WeakMap;function us(e,t,r,n,o=!1){if(be(e)){e.forEach((m,g)=>us(m,t&&(be(t)?t[g]:t),r,n,o));return}if(Gn(n)&&!o){n.shapeFlag&512&&n.type.__asyncResolved&&n.component.subTree.component&&us(e,t,r,n.component.subTree);return}const i=n.shapeFlag&4?Wl(n.component):n.el,s=o?null:i,{i:a,r:l}=e,u=t&&t.r,c=a.refs===$e?a.refs={}:a.refs,d=a.setupState,f=Ue(d),h=d===$e?Yi:m=>Ye(f,m);if(u!=null&&u!==l){if(cT(t),xe(u))c[u]=null,h(u)&&(d[u]=null);else if(St(u)){u.value=null;const m=t;m.k&&(c[m.k]=null)}}if(Re(l))Li(l,a,12,[s,c]);else{const m=xe(l),g=St(l);if(m||g){const v=()=>{if(e.f){const b=m?h(l)?d[l]:c[l]:l.value;if(o)be(b)&&wg(b,i);else if(be(b))b.includes(i)||b.push(i);else if(m)c[l]=[i],h(l)&&(d[l]=c[l]);else{const E=[i];l.value=E,e.k&&(c[e.k]=E)}}else m?(c[l]=s,h(l)&&(d[l]=s)):g&&(l.value=s,e.k&&(c[e.k]=s))};if(s){const b=()=>{v(),Oc.delete(e)};b.id=-1,Oc.set(e,b),At(b,r)}else cT(e),v()}}}function cT(e){const t=Oc.get(e);t&&(t.flags|=8,Oc.delete(e))}let dT=!1;const Bi=()=>{dT||(console.error("Hydration completed but contains mismatches."),dT=!0)},YQ=e=>e.namespaceURI.includes("svg")&&e.tagName!=="foreignObject",XQ=e=>e.namespaceURI.includes("MathML"),_u=e=>{if(e.nodeType===1){if(YQ(e))return"svg";if(XQ(e))return"mathml"}},Xi=e=>e.nodeType===8;function QQ(e){const{mt:t,p:r,o:{patchProp:n,createText:o,nextSibling:i,parentNode:s,remove:a,insert:l,createComment:u}}=e,c=(S,A)=>{if(!A.hasChildNodes()){r(null,S,A),Rc(),A._vnode=S;return}d(A.firstChild,S,null,null,null),Rc(),A._vnode=S},d=(S,A,C,T,w,_=!1)=>{_=_||!!A.dynamicChildren;const R=Xi(S)&&S.data==="[",M=()=>g(S,A,C,T,w,R),{type:N,ref:q,shapeFlag:x,patchFlag:P}=A;let L=S.nodeType;A.el=S,P===-2&&(_=!1,A.dynamicChildren=null);let $=null;switch(N){case Wn:L!==3?A.children===""?(l(A.el=o(""),s(S),S),$=S):$=M():(S.data!==A.children&&(Bi(),S.data=A.children),$=i(S));break;case vt:E(S)?($=i(S),b(A.el=S.content.firstChild,S,C)):L!==8||R?$=M():$=i(S);break;case jo:if(R&&(S=i(S),L=S.nodeType),L===1||L===3){$=S;const V=!A.children.length;for(let G=0;G<A.staticCount;G++)V&&(A.children+=$.nodeType===1?$.outerHTML:$.data),G===A.staticCount-1&&(A.anchor=$),$=i($);return R?i($):$}else M();break;case Ct:R?$=m(S,A,C,T,w,_):$=M();break;default:if(x&1)(L!==1||A.type.toLowerCase()!==S.tagName.toLowerCase())&&!E(S)?$=M():$=f(S,A,C,T,w,_);else if(x&6){A.slotScopeIds=w;const V=s(S);if(R?$=v(S):Xi(S)&&S.data==="teleport start"?$=v(S,S.data,"teleport end"):$=i(S),t(A,V,null,C,T,_u(V),_),Gn(A)&&!A.type.__asyncResolved){let G;R?(G=ut(Ct),G.anchor=$?$.previousSibling:V.lastChild):G=S.nodeType===3?np(""):ut("div"),G.el=S,A.component.subTree=G}}else x&64?L!==8?$=M():$=A.type.hydrate(S,A,C,T,w,_,e,h):x&128&&($=A.type.hydrate(S,A,C,T,_u(s(S)),w,_,e,d))}return q!=null&&us(q,null,T,A),$},f=(S,A,C,T,w,_)=>{_=_||!!A.dynamicChildren;const{type:R,props:M,patchFlag:N,shapeFlag:q,dirs:x,transition:P}=A,L=R==="input"||R==="option";if(L||N!==-1){x&&mn(A,null,C,"created");let $=!1;if(E(S)){$=CN(null,P)&&C&&C.vnode.props&&C.vnode.props.appear;const G=S.content.firstChild;if($){const ie=G.getAttribute("class");ie&&(G.$cls=ie),P.beforeEnter(G)}b(G,S,C),A.el=S=G}if(q&16&&!(M&&(M.innerHTML||M.textContent))){let G=h(S.firstChild,A,S,C,T,w,_);for(;G;){Tu(S,1)||Bi();const ie=G;G=G.nextSibling,a(ie)}}else if(q&8){let G=A.children;G[0]===`
1023
+ `&&(S.tagName==="PRE"||S.tagName==="TEXTAREA")&&(G=G.slice(1));const{textContent:ie}=S;ie!==G&&ie!==G.replace(/\r\n|\r/g,`
1024
+ `)&&(Tu(S,0)||Bi(),S.textContent=A.children)}if(M){if(L||!_||N&48){const G=S.tagName.includes("-");for(const ie in M)(L&&(ie.endsWith("value")||ie==="indeterminate")||ji(ie)&&!Jn(ie)||ie[0]==="."||G&&!Jn(ie))&&n(S,ie,null,M[ie],void 0,C)}else if(M.onClick)n(S,"onClick",null,M.onClick,void 0,C);else if(N&4&&rn(M.style))for(const G in M.style)M.style[G]}let V;(V=M&&M.onVnodeBeforeMount)&&hr(V,C,A),x&&mn(A,null,C,"beforeMount"),((V=M&&M.onVnodeMounted)||x||$)&&MN(()=>{V&&hr(V,C,A),$&&P.enter(S),x&&mn(A,null,C,"mounted")},T)}return S.nextSibling},h=(S,A,C,T,w,_,R)=>{R=R||!!A.dynamicChildren;const M=A.children,N=M.length;for(let q=0;q<N;q++){const x=R?M[q]:M[q]=mr(M[q]),P=x.type===Wn;S?(P&&!R&&q+1<N&&mr(M[q+1]).type===Wn&&(l(o(S.data.slice(x.children.length)),C,i(S)),S.data=x.children),S=d(S,x,T,w,_,R)):P&&!x.children?l(x.el=o(""),C):(Tu(C,1)||Bi(),r(null,x,C,null,T,w,_u(C),_))}return S},m=(S,A,C,T,w,_)=>{const{slotScopeIds:R}=A;R&&(w=w?w.concat(R):R);const M=s(S),N=h(i(S),A,M,C,T,w,_);return N&&Xi(N)&&N.data==="]"?i(A.anchor=N):(Bi(),l(A.anchor=u("]"),M,N),N)},g=(S,A,C,T,w,_)=>{if(Tu(S.parentElement,1)||Bi(),A.el=null,_){const N=v(S);for(;;){const q=i(S);if(q&&q!==N)a(q);else break}}const R=i(S),M=s(S);return a(S),r(null,A,M,R,C,T,_u(M),w),C&&(C.vnode.el=A.el,tp(C,A.el)),R},v=(S,A="[",C="]")=>{let T=0;for(;S;)if(S=i(S),S&&Xi(S)&&(S.data===A&&T++,S.data===C)){if(T===0)return i(S);T--}return S},b=(S,A,C)=>{const T=A.parentNode;T&&T.replaceChild(S,A);let w=C;for(;w;)w.vnode.el===A&&(w.vnode.el=w.subTree.el=S),w=w.parent},E=S=>S.nodeType===1&&S.tagName==="TEMPLATE";return[c,d]}const pT="data-allow-mismatch",ZQ={0:"text",1:"children",2:"class",3:"style",4:"attribute"};function Tu(e,t){if(t===0||t===1)for(;e&&!e.hasAttribute(pT);)e=e.parentElement;const r=e&&e.getAttribute(pT);if(r==null)return!1;if(r==="")return!0;{const n=r.split(",");return t===0&&n.includes("children")?!0:n.includes(ZQ[t])}}const eZ=Fd().requestIdleCallback||(e=>setTimeout(e,1)),tZ=Fd().cancelIdleCallback||(e=>clearTimeout(e)),F1=(e=1e4)=>t=>{const r=eZ(t,{timeout:e});return()=>tZ(r)};function rZ(e){const{top:t,left:r,bottom:n,right:o}=e.getBoundingClientRect(),{innerHeight:i,innerWidth:s}=window;return(t>0&&t<i||n>0&&n<i)&&(r>0&&r<s||o>0&&o<s)}const $1=e=>(t,r)=>{const n=new IntersectionObserver(o=>{for(const i of o)if(i.isIntersecting){n.disconnect(),t();break}},e);return r(o=>{if(o instanceof Element){if(rZ(o))return t(),n.disconnect(),!1;n.observe(o)}}),()=>n.disconnect()},B1=e=>t=>{if(e){const r=matchMedia(e);if(r.matches)t();else return r.addEventListener("change",t,{once:!0}),()=>r.removeEventListener("change",t)}},V1=(e=[])=>(t,r)=>{xe(e)&&(e=[e]);let n=!1;const o=s=>{n||(n=!0,i(),t(),s.target.dispatchEvent(new s.constructor(s.type,s)))},i=()=>{r(s=>{for(const a of e)s.removeEventListener(a,o)})};return r(s=>{for(const a of e)s.addEventListener(a,o,{once:!0})}),i};function nZ(e,t){if(Xi(e)&&e.data==="["){let r=1,n=e.nextSibling;for(;n;){if(n.nodeType===1){if(t(n)===!1)break}else if(Xi(n))if(n.data==="]"){if(--r===0)break}else n.data==="["&&r++;n=n.nextSibling}}else t(e)}const Gn=e=>!!e.type.__asyncLoader;function U1(e){Re(e)&&(e={loader:e});const{loader:t,loadingComponent:r,errorComponent:n,delay:o=200,hydrate:i,timeout:s,suspensible:a=!0,onError:l}=e;let u=null,c,d=0;const f=()=>(d++,u=null,h()),h=()=>{let m;return u||(m=u=t().catch(g=>{if(g=g instanceof Error?g:new Error(String(g)),l)return new Promise((v,b)=>{l(g,()=>v(f()),()=>b(g),d+1)});throw g}).then(g=>m!==u&&u?u:(g&&(g.__esModule||g[Symbol.toStringTag]==="Module")&&(g=g.default),c=g,g)))};return Xd({name:"AsyncComponentWrapper",__asyncLoader:h,__asyncHydrate(m,g,v){let b=!1;(g.bu||(g.bu=[])).push(()=>b=!0);const E=()=>{b||v()},S=i?()=>{const A=i(E,C=>nZ(m,C));A&&(g.bum||(g.bum=[])).push(A)}:E;c?S():h().then(()=>!g.isUnmounted&&S())},get __asyncResolved(){return c},setup(){const m=Ut;if(Bg(m),c)return()=>wu(c,m);const g=S=>{u=null,Jo(S,m,13,!n)};if(a&&m.suspense||xs)return h().then(S=>()=>wu(S,m)).catch(S=>(g(S),()=>n?ut(n,{error:S}):null));const v=ss(!1),b=ss(),E=ss(!!o);return o&&setTimeout(()=>{E.value=!1},o),s!=null&&setTimeout(()=>{if(!v.value&&!b.value){const S=new Error(`Async component timed out after ${s}ms.`);g(S),b.value=S}},s),h().then(()=>{v.value=!0,m.parent&&Ul(m.parent.vnode)&&m.parent.update()}).catch(S=>{g(S),b.value=S}),()=>{if(v.value&&c)return wu(c,m);if(b.value&&n)return ut(n,{error:b.value});if(r&&!E.value)return wu(r,m)}}})}function wu(e,t){const{ref:r,props:n,children:o,ce:i}=t.vnode,s=ut(e,n,o);return s.ref=r,s.ce=i,delete t.vnode.ce,s}const Ul=e=>e.type.__isKeepAlive,oZ={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(e,{slots:t}){const r=pr(),n=r.ctx;if(!n.renderer)return()=>{const E=t.default&&t.default();return E&&E.length===1?E[0]:E};const o=new Map,i=new Set;let s=null;const a=r.suspense,{renderer:{p:l,m:u,um:c,o:{createElement:d}}}=n,f=d("div");n.activate=(E,S,A,C,T)=>{const w=E.component;u(E,S,A,0,a),l(w.vnode,E,S,A,w,a,C,E.slotScopeIds,T),At(()=>{w.isDeactivated=!1,w.a&&is(w.a);const _=E.props&&E.props.onVnodeMounted;_&&hr(_,w.parent,E)},a)},n.deactivate=E=>{const S=E.component;Cc(S.m),Cc(S.a),u(E,f,null,1,a),At(()=>{S.da&&is(S.da);const A=E.props&&E.props.onVnodeUnmounted;A&&hr(A,S.parent,E),S.isDeactivated=!0},a)};function h(E){cf(E),c(E,r,a,!0)}function m(E){o.forEach((S,A)=>{const C=Yh(Gn(S)?S.type.__asyncResolved||{}:S.type);C&&!E(C)&&g(A)})}function g(E){const S=o.get(E);S&&(!s||!Zr(S,s))?h(S):s&&cf(s),o.delete(E),i.delete(E)}mi(()=>[e.include,e.exclude],([E,S])=>{E&&m(A=>Ea(E,A)),S&&m(A=>!Ea(S,A))},{flush:"post",deep:!0});let v=null;const b=()=>{v!=null&&(Pc(r.subTree.type)?At(()=>{o.set(v,Su(r.subTree))},r.subTree.suspense):o.set(v,Su(r.subTree)))};return Ys(b),Hl(b),Jl(()=>{o.forEach(E=>{const{subTree:S,suspense:A}=r,C=Su(S);if(E.type===C.type&&E.key===C.key){cf(C);const T=C.component.da;T&&At(T,A);return}h(E)})}),()=>{if(v=null,!t.default)return s=null;const E=t.default(),S=E[0];if(E.length>1)return s=null,E;if(!Hr(S)||!(S.shapeFlag&4)&&!(S.shapeFlag&128))return s=null,S;let A=Su(S);if(A.type===vt)return s=null,A;const C=A.type,T=Yh(Gn(A)?A.type.__asyncResolved||{}:C),{include:w,exclude:_,max:R}=e;if(w&&(!T||!Ea(w,T))||_&&T&&Ea(_,T))return A.shapeFlag&=-257,s=A,S;const M=A.key==null?C:A.key,N=o.get(M);return A.el&&(A=un(A),S.shapeFlag&128&&(S.ssContent=A)),v=M,N?(A.el=N.el,A.component=N.component,A.transition&&En(A,A.transition),A.shapeFlag|=512,i.delete(M),i.add(M)):(i.add(M),R&&i.size>parseInt(R,10)&&g(i.values().next().value)),A.shapeFlag|=256,s=A,Pc(S.type)?S:A}}},H1=oZ;function Ea(e,t){return be(e)?e.some(r=>Ea(r,t)):xe(e)?e.split(",").includes(t):GX(e)?(e.lastIndex=0,e.test(t)):!1}function Vg(e,t){J1(e,"a",t)}function Ug(e,t){J1(e,"da",t)}function J1(e,t,r=Ut){const n=e.__wdc||(e.__wdc=()=>{let o=r;for(;o;){if(o.isDeactivated)return;o=o.parent}return e()});if(Qd(t,n,r),r){let o=r.parent;for(;o&&o.parent;)Ul(o.parent.vnode)&&iZ(n,t,r,o),o=o.parent}}function iZ(e,t,r,n){const o=Qd(t,e,n,!0);Gl(()=>{wg(n[t],o)},r)}function cf(e){e.shapeFlag&=-257,e.shapeFlag&=-513}function Su(e){return e.shapeFlag&128?e.ssContent:e}function Qd(e,t,r=Ut,n=!1){if(r){const o=r[e]||(r[e]=[]),i=t.__weh||(t.__weh=(...s)=>{Yn();const a=Ci(r),l=xr(t,r,e,s);return a(),Xn(),l});return n?o.unshift(i):o.push(i),i}}const no=e=>(t,r=Ut)=>{(!xs||e==="sp")&&Qd(e,(...n)=>t(...n),r)},Hg=no("bm"),Ys=no("m"),Zd=no("bu"),Hl=no("u"),Jl=no("bum"),Gl=no("um"),Jg=no("sp"),Gg=no("rtg"),Wg=no("rtc");function Kg(e,t=Ut){Qd("ec",e,t)}const zg="components",sZ="directives";function G1(e,t){return Yg(zg,e,!0,t)||e}const W1=Symbol.for("v-ndc");function K1(e){return xe(e)?Yg(zg,e,!1)||e:e||W1}function z1(e){return Yg(sZ,e)}function Yg(e,t,r=!0,n=!1){const o=Jt||Ut;if(o){const i=o.type;if(e===zg){const a=Yh(i,!1);if(a&&(a===t||a===it(t)||a===Ho(it(t))))return i}const s=fT(o[e]||i[e],t)||fT(o.appContext[e],t);return!s&&n?i:s}}function fT(e,t){return e&&(e[t]||e[it(t)]||e[Ho(it(t))])}function Y1(e,t,r,n){let o;const i=r&&r[n],s=be(e);if(s||xe(e)){const a=s&&rn(e);let l=!1,u=!1;a&&(l=!dr(e),u=an(e),e=Ud(e)),o=new Array(e.length);for(let c=0,d=e.length;c<d;c++)o[c]=t(l?u?Os(ln(e[c])):ln(e[c]):e[c],c,void 0,i&&i[c])}else if(typeof e=="number"){o=new Array(e);for(let a=0;a<e;a++)o[a]=t(a+1,a,void 0,i&&i[a])}else if(et(e))if(e[Symbol.iterator])o=Array.from(e,(a,l)=>t(a,l,void 0,i&&i[l]));else{const a=Object.keys(e);o=new Array(a.length);for(let l=0,u=a.length;l<u;l++){const c=a[l];o[l]=t(e[c],c,l,i&&i[l])}}else o=[];return r&&(r[n]=o),o}function X1(e,t){for(let r=0;r<t.length;r++){const n=t[r];if(be(n))for(let o=0;o<n.length;o++)e[n[o].name]=n[o].fn;else n&&(e[n.name]=n.key?(...o)=>{const i=n.fn(...o);return i&&(i.key=n.key),i}:n.fn)}return e}function Q1(e,t,r={},n,o){if(Jt.ce||Jt.parent&&Gn(Jt.parent)&&Jt.parent.ce){const u=Object.keys(r).length>0;return t!=="default"&&(r.name=t),Cs(),yl(Ct,null,[ut("slot",r,n&&n())],u?-2:64)}let i=e[t];i&&i._c&&(i._d=!1),Cs();const s=i&&Xg(i(r)),a=r.key||s&&s.key,l=yl(Ct,{key:(a&&!vr(a)?a:`_${t}`)+(!s&&n?"_fb":"")},s||(n?n():[]),s&&e._===1?64:-2);return!o&&l.scopeId&&(l.slotScopeIds=[l.scopeId+"-s"]),i&&i._c&&(i._d=!0),l}function Xg(e){return e.some(t=>Hr(t)?!(t.type===vt||t.type===Ct&&!Xg(t.children)):!0)?e:null}function Z1(e,t){const r={};for(const n in e)r[t&&/[A-Z]/.test(n)?`on:${n}`:fi(n)]=e[n];return r}const $h=e=>e?VN(e)?Wl(e):$h(e.parent):null,La=ke(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>$h(e.parent),$root:e=>$h(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>Qg(e),$forceUpdate:e=>e.f||(e.f=()=>{qg(e.update)}),$nextTick:e=>e.n||(e.n=$l.bind(e.proxy)),$watch:e=>WQ.bind(e)}),df=(e,t)=>e!==$e&&!e.__isScriptSetup&&Ye(e,t),Bh={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:r,setupState:n,data:o,props:i,accessCache:s,type:a,appContext:l}=e;if(t[0]!=="$"){const f=s[t];if(f!==void 0)switch(f){case 1:return n[t];case 2:return o[t];case 4:return r[t];case 3:return i[t]}else{if(df(n,t))return s[t]=1,n[t];if(o!==$e&&Ye(o,t))return s[t]=2,o[t];if(Ye(i,t))return s[t]=3,i[t];if(r!==$e&&Ye(r,t))return s[t]=4,r[t];Vh&&(s[t]=0)}}const u=La[t];let c,d;if(u)return t==="$attrs"&&Zt(e.attrs,"get",""),u(e);if((c=a.__cssModules)&&(c=c[t]))return c;if(r!==$e&&Ye(r,t))return s[t]=4,r[t];if(d=l.config.globalProperties,Ye(d,t))return d[t]},set({_:e},t,r){const{data:n,setupState:o,ctx:i}=e;return df(o,t)?(o[t]=r,!0):n!==$e&&Ye(n,t)?(n[t]=r,!0):Ye(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(i[t]=r,!0)},has({_:{data:e,setupState:t,accessCache:r,ctx:n,appContext:o,props:i,type:s}},a){let l;return!!(r[a]||e!==$e&&a[0]!=="$"&&Ye(e,a)||df(t,a)||Ye(i,a)||Ye(n,a)||Ye(La,a)||Ye(o.config.globalProperties,a)||(l=s.__cssModules)&&l[a])},defineProperty(e,t,r){return r.get!=null?e._.accessCache[t]=0:Ye(r,"value")&&this.set(e,t,r.value,null),Reflect.defineProperty(e,t,r)}},aZ=ke({},Bh,{get(e,t){if(t!==Symbol.unscopables)return Bh.get(e,t,e)},has(e,t){return t[0]!=="_"&&!ZX(t)}});function eN(){return null}function tN(){return null}function rN(e){}function nN(e){}function oN(){return null}function iN(){}function sN(e,t){return null}function aN(){return uN().slots}function lN(){return uN().attrs}function uN(e){const t=pr();return t.setupContext||(t.setupContext=GN(t))}function hl(e){return be(e)?e.reduce((t,r)=>(t[r]=null,t),{}):e}function cN(e,t){const r=hl(e);for(const n in t){if(n.startsWith("__skip"))continue;let o=r[n];o?be(o)||Re(o)?o=r[n]={type:o,default:t[n]}:o.default=t[n]:o===null&&(o=r[n]={default:t[n]}),o&&t[`__skip_${n}`]&&(o.skipFactory=!0)}return r}function dN(e,t){return!e||!t?e||t:be(e)&&be(t)?e.concat(t):ke({},hl(e),hl(t))}function pN(e,t){const r={};for(const n in e)t.includes(n)||Object.defineProperty(r,n,{enumerable:!0,get:()=>e[n]});return r}function fN(e){const t=pr();let r=e();return Wh(),Sg(r)&&(r=r.catch(n=>{throw Ci(t),n})),[r,()=>Ci(t)]}let Vh=!0;function lZ(e){const t=Qg(e),r=e.proxy,n=e.ctx;Vh=!1,t.beforeCreate&&hT(t.beforeCreate,e,"bc");const{data:o,computed:i,methods:s,watch:a,provide:l,inject:u,created:c,beforeMount:d,mounted:f,beforeUpdate:h,updated:m,activated:g,deactivated:v,beforeDestroy:b,beforeUnmount:E,destroyed:S,unmounted:A,render:C,renderTracked:T,renderTriggered:w,errorCaptured:_,serverPrefetch:R,expose:M,inheritAttrs:N,components:q,directives:x,filters:P}=t;if(u&&uZ(u,n,null),s)for(const V in s){const G=s[V];Re(G)&&(n[V]=G.bind(r))}if(o){const V=o.call(r,r);et(V)&&(e.data=Fo(V))}if(Vh=!0,i)for(const V in i){const G=i[V],ie=Re(G)?G.bind(r,r):Re(G.get)?G.get.bind(r,r):Wt,Ee=!Re(G)&&Re(G.set)?G.set.bind(r):Wt,fe=lb({get:ie,set:Ee});Object.defineProperty(n,V,{enumerable:!0,configurable:!0,get:()=>fe.value,set:j=>fe.value=j})}if(a)for(const V in a)hN(a[V],n,r,V);if(l){const V=Re(l)?l.call(r):l;Reflect.ownKeys(V).forEach(G=>{Lg(G,V[G])})}c&&hT(c,e,"c");function $(V,G){be(G)?G.forEach(ie=>V(ie.bind(r))):G&&V(G.bind(r))}if($(Hg,d),$(Ys,f),$(Zd,h),$(Hl,m),$(Vg,g),$(Ug,v),$(Kg,_),$(Wg,T),$(Gg,w),$(Jl,E),$(Gl,A),$(Jg,R),be(M))if(M.length){const V=e.exposed||(e.exposed={});M.forEach(G=>{Object.defineProperty(V,G,{get:()=>r[G],set:ie=>r[G]=ie,enumerable:!0})})}else e.exposed||(e.exposed={});C&&e.render===Wt&&(e.render=C),N!=null&&(e.inheritAttrs=N),q&&(e.components=q),x&&(e.directives=x),R&&Bg(e)}function uZ(e,t,r=Wt){be(e)&&(e=Uh(e));for(const n in e){const o=e[n];let i;et(o)?"default"in o?i=ls(o.from||n,o.default,!0):i=ls(o.from||n):i=ls(o),St(i)?Object.defineProperty(t,n,{enumerable:!0,configurable:!0,get:()=>i.value,set:s=>i.value=s}):t[n]=i}}function hT(e,t,r){xr(be(e)?e.map(n=>n.bind(t.proxy)):e.bind(t.proxy),t,r)}function hN(e,t,r,n){let o=n.includes(".")?C1(r,n):()=>r[n];if(xe(e)){const i=t[e];Re(i)&&mi(o,i)}else if(Re(e))mi(o,e.bind(r));else if(et(e))if(be(e))e.forEach(i=>hN(i,t,r,n));else{const i=Re(e.handler)?e.handler.bind(r):t[e.handler];Re(i)&&mi(o,i,e)}}function Qg(e){const t=e.type,{mixins:r,extends:n}=t,{mixins:o,optionsCache:i,config:{optionMergeStrategies:s}}=e.appContext,a=i.get(t);let l;return a?l=a:!o.length&&!r&&!n?l=t:(l={},o.length&&o.forEach(u=>Ac(l,u,s,!0)),Ac(l,t,s)),et(t)&&i.set(t,l),l}function Ac(e,t,r,n=!1){const{mixins:o,extends:i}=t;i&&Ac(e,i,r,!0),o&&o.forEach(s=>Ac(e,s,r,!0));for(const s in t)if(!(n&&s==="expose")){const a=cZ[s]||r&&r[s];e[s]=a?a(e[s],t[s]):t[s]}return e}const cZ={data:mT,props:yT,emits:yT,methods:_a,computed:_a,beforeCreate:ar,created:ar,beforeMount:ar,mounted:ar,beforeUpdate:ar,updated:ar,beforeDestroy:ar,beforeUnmount:ar,destroyed:ar,unmounted:ar,activated:ar,deactivated:ar,errorCaptured:ar,serverPrefetch:ar,components:_a,directives:_a,watch:pZ,provide:mT,inject:dZ};function mT(e,t){return t?e?function(){return ke(Re(e)?e.call(this,this):e,Re(t)?t.call(this,this):t)}:t:e}function dZ(e,t){return _a(Uh(e),Uh(t))}function Uh(e){if(be(e)){const t={};for(let r=0;r<e.length;r++)t[e[r]]=e[r];return t}return e}function ar(e,t){return e?[...new Set([].concat(e,t))]:t}function _a(e,t){return e?ke(Object.create(null),e,t):t}function yT(e,t){return e?be(e)&&be(t)?[...new Set([...e,...t])]:ke(Object.create(null),hl(e),hl(t??{})):t}function pZ(e,t){if(!e)return t;if(!t)return e;const r=ke(Object.create(null),e);for(const n in t)r[n]=ar(e[n],t[n]);return r}function mN(){return{app:null,config:{isNativeTag:Yi,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let fZ=0;function hZ(e,t){return function(n,o=null){Re(n)||(n=ke({},n)),o!=null&&!et(o)&&(o=null);const i=mN(),s=new WeakSet,a=[];let l=!1;const u=i.app={_uid:fZ++,_component:n,_props:o,_container:null,_context:i,_instance:null,version:cb,get config(){return i.config},set config(c){},use(c,...d){return s.has(c)||(c&&Re(c.install)?(s.add(c),c.install(u,...d)):Re(c)&&(s.add(c),c(u,...d))),u},mixin(c){return i.mixins.includes(c)||i.mixins.push(c),u},component(c,d){return d?(i.components[c]=d,u):i.components[c]},directive(c,d){return d?(i.directives[c]=d,u):i.directives[c]},mount(c,d,f){if(!l){const h=u._ceVNode||ut(n,o);return h.appContext=i,f===!0?f="svg":f===!1&&(f=void 0),d&&t?t(h,c):e(h,c,f),l=!0,u._container=c,c.__vue_app__=u,Wl(h.component)}},onUnmount(c){a.push(c)},unmount(){l&&(xr(a,u._instance,16),e(null,u._container),delete u._container.__vue_app__)},provide(c,d){return i.provides[c]=d,u},runWithContext(c){const d=yi;yi=u;try{return c()}finally{yi=d}}};return u}}let yi=null;function yN(e,t,r=$e){const n=pr(),o=it(t),i=yr(t),s=gN(e,o),a=Mg((l,u)=>{let c,d=$e,f;return Fg(()=>{const h=e[o];ur(c,h)&&(c=h,u())}),{get(){return l(),r.get?r.get(c):c},set(h){const m=r.set?r.set(h):h;if(!ur(m,c)&&!(d!==$e&&ur(h,d)))return;const g=n.vnode.props;g&&(t in g||o in g||i in g)&&(`onUpdate:${t}`in g||`onUpdate:${o}`in g||`onUpdate:${i}`in g)||(c=h,u()),n.emit(`update:${t}`,m),ur(h,m)&&ur(h,d)&&!ur(m,f)&&u(),d=h,f=m}}});return a[Symbol.iterator]=()=>{let l=0;return{next(){return l<2?{value:l++?s||$e:a,done:!1}:{done:!0}}}},a}const gN=(e,t)=>t==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${it(t)}Modifiers`]||e[`${yr(t)}Modifiers`];function mZ(e,t,...r){if(e.isUnmounted)return;const n=e.vnode.props||$e;let o=r;const i=t.startsWith("update:"),s=i&&gN(n,t.slice(7));s&&(s.trim&&(o=r.map(c=>xe(c)?c.trim():c)),s.number&&(o=r.map(Dd)));let a,l=n[a=fi(t)]||n[a=fi(it(t))];!l&&i&&(l=n[a=fi(yr(t))]),l&&xr(l,e,6,o);const u=n[a+"Once"];if(u){if(!e.emitted)e.emitted={};else if(e.emitted[a])return;e.emitted[a]=!0,xr(u,e,6,o)}}const yZ=new WeakMap;function bN(e,t,r=!1){const n=r?yZ:t.emitsCache,o=n.get(e);if(o!==void 0)return o;const i=e.emits;let s={},a=!1;if(!Re(e)){const l=u=>{const c=bN(u,t,!0);c&&(a=!0,ke(s,c))};!r&&t.mixins.length&&t.mixins.forEach(l),e.extends&&l(e.extends),e.mixins&&e.mixins.forEach(l)}return!i&&!a?(et(e)&&n.set(e,null),null):(be(i)?i.forEach(l=>s[l]=null):ke(s,i),et(e)&&n.set(e,s),s)}function ep(e,t){return!e||!ji(t)?!1:(t=t.slice(2).replace(/Once$/,""),Ye(e,t[0].toLowerCase()+t.slice(1))||Ye(e,yr(t))||Ye(e,t))}function Bu(e){const{type:t,vnode:r,proxy:n,withProxy:o,propsOptions:[i],slots:s,attrs:a,emit:l,render:u,renderCache:c,props:d,data:f,setupState:h,ctx:m,inheritAttrs:g}=e,v=fl(e);let b,E;try{if(r.shapeFlag&4){const A=o||n,C=A;b=mr(u.call(C,A,c,d,h,f,m)),E=a}else{const A=t;b=mr(A.length>1?A(d,{attrs:a,slots:s,emit:l}):A(d,null)),E=t.props?a:bZ(a)}}catch(A){ka.length=0,Jo(A,e,1),b=ut(vt)}let S=b;if(E&&g!==!1){const A=Object.keys(E),{shapeFlag:C}=S;A.length&&C&7&&(i&&A.some(Tg)&&(E=vZ(E,i)),S=un(S,E,!1,!0))}return r.dirs&&(S=un(S,null,!1,!0),S.dirs=S.dirs?S.dirs.concat(r.dirs):r.dirs),r.transition&&En(S,r.transition),b=S,fl(v),b}function gZ(e,t=!0){let r;for(let n=0;n<e.length;n++){const o=e[n];if(Hr(o)){if(o.type!==vt||o.children==="v-if"){if(r)return;r=o}}else return}return r}const bZ=e=>{let t;for(const r in e)(r==="class"||r==="style"||ji(r))&&((t||(t={}))[r]=e[r]);return t},vZ=(e,t)=>{const r={};for(const n in e)(!Tg(n)||!(n.slice(9)in t))&&(r[n]=e[n]);return r};function EZ(e,t,r){const{props:n,children:o,component:i}=e,{props:s,children:a,patchFlag:l}=t,u=i.emitsOptions;if(t.dirs||t.transition)return!0;if(r&&l>=0){if(l&1024)return!0;if(l&16)return n?gT(n,s,u):!!s;if(l&8){const c=t.dynamicProps;for(let d=0;d<c.length;d++){const f=c[d];if(s[f]!==n[f]&&!ep(u,f))return!0}}}else return(o||a)&&(!a||!a.$stable)?!0:n===s?!1:n?s?gT(n,s,u):!0:!!s;return!1}function gT(e,t,r){const n=Object.keys(t);if(n.length!==Object.keys(e).length)return!0;for(let o=0;o<n.length;o++){const i=n[o];if(t[i]!==e[i]&&!ep(r,i))return!0}return!1}function tp({vnode:e,parent:t},r){for(;t;){const n=t.subTree;if(n.suspense&&n.suspense.activeBranch===e&&(n.el=e.el),n===e)(e=t.vnode).el=r,t=t.parent;else break}}const vN={},EN=()=>Object.create(vN),_N=e=>Object.getPrototypeOf(e)===vN;function _Z(e,t,r,n=!1){const o={},i=EN();e.propsDefaults=Object.create(null),TN(e,t,o,i);for(const s in e.propsOptions[0])s in o||(o[s]=void 0);r?e.props=n?o:xg(o):e.type.props?e.props=o:e.props=i,e.attrs=i}function TZ(e,t,r,n){const{props:o,attrs:i,vnode:{patchFlag:s}}=e,a=Ue(o),[l]=e.propsOptions;let u=!1;if((n||s>0)&&!(s&16)){if(s&8){const c=e.vnode.dynamicProps;for(let d=0;d<c.length;d++){let f=c[d];if(ep(e.emitsOptions,f))continue;const h=t[f];if(l)if(Ye(i,f))h!==i[f]&&(i[f]=h,u=!0);else{const m=it(f);o[m]=Hh(l,a,m,h,e,!1)}else h!==i[f]&&(i[f]=h,u=!0)}}}else{TN(e,t,o,i)&&(u=!0);let c;for(const d in a)(!t||!Ye(t,d)&&((c=yr(d))===d||!Ye(t,c)))&&(l?r&&(r[d]!==void 0||r[c]!==void 0)&&(o[d]=Hh(l,a,d,void 0,e,!0)):delete o[d]);if(i!==a)for(const d in i)(!t||!Ye(t,d))&&(delete i[d],u=!0)}u&&qn(e.attrs,"set","")}function TN(e,t,r,n){const[o,i]=e.propsOptions;let s=!1,a;if(t)for(let l in t){if(Jn(l))continue;const u=t[l];let c;o&&Ye(o,c=it(l))?!i||!i.includes(c)?r[c]=u:(a||(a={}))[c]=u:ep(e.emitsOptions,l)||(!(l in n)||u!==n[l])&&(n[l]=u,s=!0)}if(i){const l=Ue(r),u=a||$e;for(let c=0;c<i.length;c++){const d=i[c];r[d]=Hh(o,l,d,u[d],e,!Ye(u,d))}}return s}function Hh(e,t,r,n,o,i){const s=e[r];if(s!=null){const a=Ye(s,"default");if(a&&n===void 0){const l=s.default;if(s.type!==Function&&!s.skipFactory&&Re(l)){const{propsDefaults:u}=o;if(r in u)n=u[r];else{const c=Ci(o);n=u[r]=l.call(null,t),c()}}else n=l;o.ce&&o.ce._setProp(r,n)}s[0]&&(i&&!a?n=!1:s[1]&&(n===""||n===yr(r))&&(n=!0))}return n}const wZ=new WeakMap;function wN(e,t,r=!1){const n=r?wZ:t.propsCache,o=n.get(e);if(o)return o;const i=e.props,s={},a=[];let l=!1;if(!Re(e)){const c=d=>{l=!0;const[f,h]=wN(d,t,!0);ke(s,f),h&&a.push(...h)};!r&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}if(!i&&!l)return et(e)&&n.set(e,ns),ns;if(be(i))for(let c=0;c<i.length;c++){const d=it(i[c]);bT(d)&&(s[d]=$e)}else if(i)for(const c in i){const d=it(c);if(bT(d)){const f=i[c],h=s[d]=be(f)||Re(f)?{type:f}:ke({},f),m=h.type;let g=!1,v=!0;if(be(m))for(let b=0;b<m.length;++b){const E=m[b],S=Re(E)&&E.name;if(S==="Boolean"){g=!0;break}else S==="String"&&(v=!1)}else g=Re(m)&&m.name==="Boolean";h[0]=g,h[1]=v,(g||Ye(h,"default"))&&a.push(d)}}const u=[s,a];return et(e)&&n.set(e,u),u}function bT(e){return e[0]!=="$"&&!Jn(e)}const Zg=e=>e==="_"||e==="_ctx"||e==="$stable",eb=e=>be(e)?e.map(mr):[mr(e)],SZ=(e,t,r)=>{if(t._n)return t;const n=Kd((...o)=>eb(t(...o)),r);return n._c=!1,n},SN=(e,t,r)=>{const n=e._ctx;for(const o in e){if(Zg(o))continue;const i=e[o];if(Re(i))t[o]=SZ(o,i,n);else if(i!=null){const s=eb(i);t[o]=()=>s}}},RN=(e,t)=>{const r=eb(t);e.slots.default=()=>r},ON=(e,t,r)=>{for(const n in t)(r||!Zg(n))&&(e[n]=t[n])},RZ=(e,t,r)=>{const n=e.slots=EN();if(e.vnode.shapeFlag&32){const o=t._;o?(ON(n,t,r),r&&Mx(n,"_",o,!0)):SN(t,n)}else t&&RN(e,t)},OZ=(e,t,r)=>{const{vnode:n,slots:o}=e;let i=!0,s=$e;if(n.shapeFlag&32){const a=t._;a?r&&a===1?i=!1:ON(o,t,r):(i=!t.$stable,SN(t,o)),s=t}else t&&(RN(e,t),s={default:1});if(i)for(const a in o)!Zg(a)&&s[a]==null&&delete o[a]},At=MN;function tb(e){return AN(e)}function rb(e){return AN(e,QQ)}function AN(e,t){const r=Fd();r.__VUE__=!0;const{insert:n,remove:o,patchProp:i,createElement:s,createText:a,createComment:l,setText:u,setElementText:c,parentNode:d,nextSibling:f,setScopeId:h=Wt,insertStaticContent:m}=e,g=(k,U,z,Q=null,X=null,re=null,ce=void 0,ae=null,se=!!U.dynamicChildren)=>{if(k===U)return;k&&!Zr(k,U)&&(Q=ye(k),j(k,X,re,!0),k=null),U.patchFlag===-2&&(se=!1,U.dynamicChildren=null);const{type:ne,ref:_e,shapeFlag:pe}=U;switch(ne){case Wn:v(k,U,z,Q);break;case vt:b(k,U,z,Q);break;case jo:k==null&&E(U,z,Q,ce);break;case Ct:q(k,U,z,Q,X,re,ce,ae,se);break;default:pe&1?C(k,U,z,Q,X,re,ce,ae,se):pe&6?x(k,U,z,Q,X,re,ce,ae,se):(pe&64||pe&128)&&ne.process(k,U,z,Q,X,re,ce,ae,se,J)}_e!=null&&X?us(_e,k&&k.ref,re,U||k,!U):_e==null&&k&&k.ref!=null&&us(k.ref,null,re,k,!0)},v=(k,U,z,Q)=>{if(k==null)n(U.el=a(U.children),z,Q);else{const X=U.el=k.el;U.children!==k.children&&u(X,U.children)}},b=(k,U,z,Q)=>{k==null?n(U.el=l(U.children||""),z,Q):U.el=k.el},E=(k,U,z,Q)=>{[k.el,k.anchor]=m(k.children,U,z,Q,k.el,k.anchor)},S=({el:k,anchor:U},z,Q)=>{let X;for(;k&&k!==U;)X=f(k),n(k,z,Q),k=X;n(U,z,Q)},A=({el:k,anchor:U})=>{let z;for(;k&&k!==U;)z=f(k),o(k),k=z;o(U)},C=(k,U,z,Q,X,re,ce,ae,se)=>{if(U.type==="svg"?ce="svg":U.type==="math"&&(ce="mathml"),k==null)T(U,z,Q,X,re,ce,ae,se);else{const ne=k.el&&k.el._isVueCE?k.el:null;try{ne&&ne._beginPatch(),R(k,U,X,re,ce,ae,se)}finally{ne&&ne._endPatch()}}},T=(k,U,z,Q,X,re,ce,ae)=>{let se,ne;const{props:_e,shapeFlag:pe,transition:ve,dirs:we}=k;if(se=k.el=s(k.type,re,_e&&_e.is,_e),pe&8?c(se,k.children):pe&16&&_(k.children,se,null,Q,X,pf(k,re),ce,ae),we&&mn(k,null,Q,"created"),w(se,k,k.scopeId,ce,Q),_e){for(const We in _e)We!=="value"&&!Jn(We)&&i(se,We,null,_e[We],re,Q);"value"in _e&&i(se,"value",null,_e.value,re),(ne=_e.onVnodeBeforeMount)&&hr(ne,Q,k)}we&&mn(k,null,Q,"beforeMount");const je=CN(X,ve);je&&ve.beforeEnter(se),n(se,U,z),((ne=_e&&_e.onVnodeMounted)||je||we)&&At(()=>{ne&&hr(ne,Q,k),je&&ve.enter(se),we&&mn(k,null,Q,"mounted")},X)},w=(k,U,z,Q,X)=>{if(z&&h(k,z),Q)for(let re=0;re<Q.length;re++)h(k,Q[re]);if(X){let re=X.subTree;if(U===re||Pc(re.type)&&(re.ssContent===U||re.ssFallback===U)){const ce=X.vnode;w(k,ce,ce.scopeId,ce.slotScopeIds,X.parent)}}},_=(k,U,z,Q,X,re,ce,ae,se=0)=>{for(let ne=se;ne<k.length;ne++){const _e=k[ne]=ae?So(k[ne]):mr(k[ne]);g(null,_e,U,z,Q,X,re,ce,ae)}},R=(k,U,z,Q,X,re,ce)=>{const ae=U.el=k.el;let{patchFlag:se,dynamicChildren:ne,dirs:_e}=U;se|=k.patchFlag&16;const pe=k.props||$e,ve=U.props||$e;let we;if(z&&ei(z,!1),(we=ve.onVnodeBeforeUpdate)&&hr(we,z,U,k),_e&&mn(U,k,z,"beforeUpdate"),z&&ei(z,!0),(pe.innerHTML&&ve.innerHTML==null||pe.textContent&&ve.textContent==null)&&c(ae,""),ne?M(k.dynamicChildren,ne,ae,z,Q,pf(U,X),re):ce||G(k,U,ae,null,z,Q,pf(U,X),re,!1),se>0){if(se&16)N(ae,pe,ve,z,X);else if(se&2&&pe.class!==ve.class&&i(ae,"class",null,ve.class,X),se&4&&i(ae,"style",pe.style,ve.style,X),se&8){const je=U.dynamicProps;for(let We=0;We<je.length;We++){const Ve=je[We],Rt=pe[Ve],mt=ve[Ve];(mt!==Rt||Ve==="value")&&i(ae,Ve,Rt,mt,X,z)}}se&1&&k.children!==U.children&&c(ae,U.children)}else!ce&&ne==null&&N(ae,pe,ve,z,X);((we=ve.onVnodeUpdated)||_e)&&At(()=>{we&&hr(we,z,U,k),_e&&mn(U,k,z,"updated")},Q)},M=(k,U,z,Q,X,re,ce)=>{for(let ae=0;ae<U.length;ae++){const se=k[ae],ne=U[ae],_e=se.el&&(se.type===Ct||!Zr(se,ne)||se.shapeFlag&198)?d(se.el):z;g(se,ne,_e,null,Q,X,re,ce,!0)}},N=(k,U,z,Q,X)=>{if(U!==z){if(U!==$e)for(const re in U)!Jn(re)&&!(re in z)&&i(k,re,U[re],null,X,Q);for(const re in z){if(Jn(re))continue;const ce=z[re],ae=U[re];ce!==ae&&re!=="value"&&i(k,re,ae,ce,X,Q)}"value"in z&&i(k,"value",U.value,z.value,X)}},q=(k,U,z,Q,X,re,ce,ae,se)=>{const ne=U.el=k?k.el:a(""),_e=U.anchor=k?k.anchor:a("");let{patchFlag:pe,dynamicChildren:ve,slotScopeIds:we}=U;we&&(ae=ae?ae.concat(we):we),k==null?(n(ne,z,Q),n(_e,z,Q),_(U.children||[],z,_e,X,re,ce,ae,se)):pe>0&&pe&64&&ve&&k.dynamicChildren&&k.dynamicChildren.length===ve.length?(M(k.dynamicChildren,ve,z,X,re,ce,ae),(U.key!=null||X&&U===X.subTree)&&nb(k,U,!0)):G(k,U,z,_e,X,re,ce,ae,se)},x=(k,U,z,Q,X,re,ce,ae,se)=>{U.slotScopeIds=ae,k==null?U.shapeFlag&512?X.ctx.activate(U,z,Q,ce,se):P(U,z,Q,X,re,ce,se):L(k,U,se)},P=(k,U,z,Q,X,re,ce)=>{const ae=k.component=BN(k,Q,X);if(Ul(k)&&(ae.ctx.renderer=J),UN(ae,!1,ce),ae.asyncDep){if(X&&X.registerDep(ae,$,ce),!k.el){const se=ae.subTree=ut(vt);b(null,se,U,z),k.placeholder=se.el}}else $(ae,k,U,z,X,re,ce)},L=(k,U,z)=>{const Q=U.component=k.component;if(EZ(k,U,z))if(Q.asyncDep&&!Q.asyncResolved){V(Q,U,z);return}else Q.next=U,Q.update();else U.el=k.el,Q.vnode=U},$=(k,U,z,Q,X,re,ce)=>{const ae=()=>{if(k.isMounted){let{next:pe,bu:ve,u:we,parent:je,vnode:We}=k;{const Nt=PN(k);if(Nt){pe&&(pe.el=We.el,V(k,pe,ce)),Nt.asyncDep.then(()=>{k.isUnmounted||ae()});return}}let Ve=pe,Rt;ei(k,!1),pe?(pe.el=We.el,V(k,pe,ce)):pe=We,ve&&is(ve),(Rt=pe.props&&pe.props.onVnodeBeforeUpdate)&&hr(Rt,je,pe,We),ei(k,!0);const mt=Bu(k),$t=k.subTree;k.subTree=mt,g($t,mt,d($t.el),ye($t),k,X,re),pe.el=mt.el,Ve===null&&tp(k,mt.el),we&&At(we,X),(Rt=pe.props&&pe.props.onVnodeUpdated)&&At(()=>hr(Rt,je,pe,We),X)}else{let pe;const{el:ve,props:we}=U,{bm:je,m:We,parent:Ve,root:Rt,type:mt}=k,$t=Gn(U);if(ei(k,!1),je&&is(je),!$t&&(pe=we&&we.onVnodeBeforeMount)&&hr(pe,Ve,U),ei(k,!0),ve&&ge){const Nt=()=>{k.subTree=Bu(k),ge(ve,k.subTree,k,X,null)};$t&&mt.__asyncHydrate?mt.__asyncHydrate(ve,k,Nt):Nt()}else{Rt.ce&&Rt.ce._def.shadowRoot!==!1&&Rt.ce._injectChildStyle(mt);const Nt=k.subTree=Bu(k);g(null,Nt,z,Q,k,X,re),U.el=Nt.el}if(We&&At(We,X),!$t&&(pe=we&&we.onVnodeMounted)){const Nt=U;At(()=>hr(pe,Ve,Nt),X)}(U.shapeFlag&256||Ve&&Gn(Ve.vnode)&&Ve.vnode.shapeFlag&256)&&k.a&&At(k.a,X),k.isMounted=!0,U=z=Q=null}};k.scope.on();const se=k.effect=new Rs(ae);k.scope.off();const ne=k.update=se.run.bind(se),_e=k.job=se.runIfDirty.bind(se);_e.i=k,_e.id=k.uid,se.scheduler=()=>qg(_e),ei(k,!0),ne()},V=(k,U,z)=>{U.component=k;const Q=k.vnode.props;k.vnode=U,k.next=null,TZ(k,U.props,Q,z),OZ(k,U.children,z),Yn(),iT(k),Xn()},G=(k,U,z,Q,X,re,ce,ae,se=!1)=>{const ne=k&&k.children,_e=k?k.shapeFlag:0,pe=U.children,{patchFlag:ve,shapeFlag:we}=U;if(ve>0){if(ve&128){Ee(ne,pe,z,Q,X,re,ce,ae,se);return}else if(ve&256){ie(ne,pe,z,Q,X,re,ce,ae,se);return}}we&8?(_e&16&&Z(ne,X,re),pe!==ne&&c(z,pe)):_e&16?we&16?Ee(ne,pe,z,Q,X,re,ce,ae,se):Z(ne,X,re,!0):(_e&8&&c(z,""),we&16&&_(pe,z,Q,X,re,ce,ae,se))},ie=(k,U,z,Q,X,re,ce,ae,se)=>{k=k||ns,U=U||ns;const ne=k.length,_e=U.length,pe=Math.min(ne,_e);let ve;for(ve=0;ve<pe;ve++){const we=U[ve]=se?So(U[ve]):mr(U[ve]);g(k[ve],we,z,null,X,re,ce,ae,se)}ne>_e?Z(k,X,re,!0,!1,pe):_(U,z,Q,X,re,ce,ae,se,pe)},Ee=(k,U,z,Q,X,re,ce,ae,se)=>{let ne=0;const _e=U.length;let pe=k.length-1,ve=_e-1;for(;ne<=pe&&ne<=ve;){const we=k[ne],je=U[ne]=se?So(U[ne]):mr(U[ne]);if(Zr(we,je))g(we,je,z,null,X,re,ce,ae,se);else break;ne++}for(;ne<=pe&&ne<=ve;){const we=k[pe],je=U[ve]=se?So(U[ve]):mr(U[ve]);if(Zr(we,je))g(we,je,z,null,X,re,ce,ae,se);else break;pe--,ve--}if(ne>pe){if(ne<=ve){const we=ve+1,je=we<_e?U[we].el:Q;for(;ne<=ve;)g(null,U[ne]=se?So(U[ne]):mr(U[ne]),z,je,X,re,ce,ae,se),ne++}}else if(ne>ve)for(;ne<=pe;)j(k[ne],X,re,!0),ne++;else{const we=ne,je=ne,We=new Map;for(ne=je;ne<=ve;ne++){const It=U[ne]=se?So(U[ne]):mr(U[ne]);It.key!=null&&We.set(It.key,ne)}let Ve,Rt=0;const mt=ve-je+1;let $t=!1,Nt=0;const Gr=new Array(mt);for(ne=0;ne<mt;ne++)Gr[ne]=0;for(ne=we;ne<=pe;ne++){const It=k[ne];if(Rt>=mt){j(It,X,re,!0);continue}let Kt;if(It.key!=null)Kt=We.get(It.key);else for(Ve=je;Ve<=ve;Ve++)if(Gr[Ve-je]===0&&Zr(It,U[Ve])){Kt=Ve;break}Kt===void 0?j(It,X,re,!0):(Gr[Kt-je]=ne+1,Kt>=Nt?Nt=Kt:$t=!0,g(It,U[Kt],z,null,X,re,ce,ae,se),Rt++)}const oo=$t?AZ(Gr):ns;for(Ve=oo.length-1,ne=mt-1;ne>=0;ne--){const It=je+ne,Kt=U[It],io=U[It+1],so=It+1<_e?io.el||xN(io):Q;Gr[ne]===0?g(null,Kt,z,so,X,re,ce,ae,se):$t&&(Ve<0||ne!==oo[Ve]?fe(Kt,z,so,2):Ve--)}}},fe=(k,U,z,Q,X=null)=>{const{el:re,type:ce,transition:ae,children:se,shapeFlag:ne}=k;if(ne&6){fe(k.component.subTree,U,z,Q);return}if(ne&128){k.suspense.move(U,z,Q);return}if(ne&64){ce.move(k,U,z,J);return}if(ce===Ct){n(re,U,z);for(let pe=0;pe<se.length;pe++)fe(se[pe],U,z,Q);n(k.anchor,U,z);return}if(ce===jo){S(k,U,z);return}if(Q!==2&&ne&1&&ae)if(Q===0)ae.beforeEnter(re),n(re,U,z),At(()=>ae.enter(re),X);else{const{leave:pe,delayLeave:ve,afterLeave:we}=ae,je=()=>{k.ctx.isUnmounted?o(re):n(re,U,z)},We=()=>{re._isLeaving&&re[In](!0),pe(re,()=>{je(),we&&we()})};ve?ve(re,je,We):We()}else n(re,U,z)},j=(k,U,z,Q=!1,X=!1)=>{const{type:re,props:ce,ref:ae,children:se,dynamicChildren:ne,shapeFlag:_e,patchFlag:pe,dirs:ve,cacheIndex:we}=k;if(pe===-2&&(X=!1),ae!=null&&(Yn(),us(ae,null,z,k,!0),Xn()),we!=null&&(U.renderCache[we]=void 0),_e&256){U.ctx.deactivate(k);return}const je=_e&1&&ve,We=!Gn(k);let Ve;if(We&&(Ve=ce&&ce.onVnodeBeforeUnmount)&&hr(Ve,U,k),_e&6)te(k.component,z,Q);else{if(_e&128){k.suspense.unmount(z,Q);return}je&&mn(k,null,U,"beforeUnmount"),_e&64?k.type.remove(k,U,z,J,Q):ne&&!ne.hasOnce&&(re!==Ct||pe>0&&pe&64)?Z(ne,U,z,!1,!0):(re===Ct&&pe&384||!X&&_e&16)&&Z(se,U,z),Q&&H(k)}(We&&(Ve=ce&&ce.onVnodeUnmounted)||je)&&At(()=>{Ve&&hr(Ve,U,k),je&&mn(k,null,U,"unmounted")},z)},H=k=>{const{type:U,el:z,anchor:Q,transition:X}=k;if(U===Ct){oe(z,Q);return}if(U===jo){A(k);return}const re=()=>{o(z),X&&!X.persisted&&X.afterLeave&&X.afterLeave()};if(k.shapeFlag&1&&X&&!X.persisted){const{leave:ce,delayLeave:ae}=X,se=()=>ce(z,re);ae?ae(k.el,re,se):se()}else re()},oe=(k,U)=>{let z;for(;k!==U;)z=f(k),o(k),k=z;o(U)},te=(k,U,z)=>{const{bum:Q,scope:X,job:re,subTree:ce,um:ae,m:se,a:ne}=k;Cc(se),Cc(ne),Q&&is(Q),X.stop(),re&&(re.flags|=8,j(ce,k,U,z)),ae&&At(ae,U),At(()=>{k.isUnmounted=!0},U)},Z=(k,U,z,Q=!1,X=!1,re=0)=>{for(let ce=re;ce<k.length;ce++)j(k[ce],U,z,Q,X)},ye=k=>{if(k.shapeFlag&6)return ye(k.component.subTree);if(k.shapeFlag&128)return k.suspense.next();const U=f(k.anchor||k.el),z=U&&U[P1];return z?f(z):U};let me=!1;const De=(k,U,z)=>{let Q;k==null?U._vnode&&(j(U._vnode,null,null,!0),Q=U._vnode.component):g(U._vnode||null,k,U,null,null,null,z),U._vnode=k,me||(me=!0,iT(Q),Rc(),me=!1)},J={p:g,um:j,m:fe,r:H,mt:P,mc:_,pc:G,pbc:M,n:ye,o:e};let le,ge;return t&&([le,ge]=t(J)),{render:De,hydrate:le,createApp:hZ(De,le)}}function pf({type:e,props:t},r){return r==="svg"&&e==="foreignObject"||r==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:r}function ei({effect:e,job:t},r){r?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function CN(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function nb(e,t,r=!1){const n=e.children,o=t.children;if(be(n)&&be(o))for(let i=0;i<n.length;i++){const s=n[i];let a=o[i];a.shapeFlag&1&&!a.dynamicChildren&&((a.patchFlag<=0||a.patchFlag===32)&&(a=o[i]=So(o[i]),a.el=s.el),!r&&a.patchFlag!==-2&&nb(s,a)),a.type===Wn&&(a.patchFlag!==-1?a.el=s.el:a.__elIndex=i+(e.type===Ct?1:0)),a.type===vt&&!a.el&&(a.el=s.el)}}function AZ(e){const t=e.slice(),r=[0];let n,o,i,s,a;const l=e.length;for(n=0;n<l;n++){const u=e[n];if(u!==0){if(o=r[r.length-1],e[o]<u){t[n]=o,r.push(n);continue}for(i=0,s=r.length-1;i<s;)a=i+s>>1,e[r[a]]<u?i=a+1:s=a;u<e[r[i]]&&(i>0&&(t[n]=r[i-1]),r[i]=n)}}for(i=r.length,s=r[i-1];i-- >0;)r[i]=s,s=t[s];return r}function PN(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:PN(t)}function Cc(e){if(e)for(let t=0;t<e.length;t++)e[t].flags|=8}function xN(e){if(e.placeholder)return e.placeholder;const t=e.component;return t?xN(t.subTree):null}const Pc=e=>e.__isSuspense;let Jh=0;const CZ={name:"Suspense",__isSuspense:!0,process(e,t,r,n,o,i,s,a,l,u){if(e==null)PZ(t,r,n,o,i,s,a,l,u);else{if(i&&i.deps>0&&!e.suspense.isInFallback){t.suspense=e.suspense,t.suspense.vnode=t,t.el=e.el;return}xZ(e,t,r,n,o,s,a,l,u)}},hydrate:NZ,normalize:IZ},NN=CZ;function ml(e,t){const r=e.props&&e.props[t];Re(r)&&r()}function PZ(e,t,r,n,o,i,s,a,l){const{p:u,o:{createElement:c}}=l,d=c("div"),f=e.suspense=IN(e,o,n,t,d,r,i,s,a,l);u(null,f.pendingBranch=e.ssContent,d,null,n,f,i,s),f.deps>0?(ml(e,"onPending"),ml(e,"onFallback"),u(null,e.ssFallback,t,r,n,null,i,s),cs(f,e.ssFallback)):f.resolve(!1,!0)}function xZ(e,t,r,n,o,i,s,a,{p:l,um:u,o:{createElement:c}}){const d=t.suspense=e.suspense;d.vnode=t,t.el=e.el;const f=t.ssContent,h=t.ssFallback,{activeBranch:m,pendingBranch:g,isInFallback:v,isHydrating:b}=d;if(g)d.pendingBranch=f,Zr(g,f)?(l(g,f,d.hiddenContainer,null,o,d,i,s,a),d.deps<=0?d.resolve():v&&(b||(l(m,h,r,n,o,null,i,s,a),cs(d,h)))):(d.pendingId=Jh++,b?(d.isHydrating=!1,d.activeBranch=g):u(g,o,d),d.deps=0,d.effects.length=0,d.hiddenContainer=c("div"),v?(l(null,f,d.hiddenContainer,null,o,d,i,s,a),d.deps<=0?d.resolve():(l(m,h,r,n,o,null,i,s,a),cs(d,h))):m&&Zr(m,f)?(l(m,f,r,n,o,d,i,s,a),d.resolve(!0)):(l(null,f,d.hiddenContainer,null,o,d,i,s,a),d.deps<=0&&d.resolve()));else if(m&&Zr(m,f))l(m,f,r,n,o,d,i,s,a),cs(d,f);else if(ml(t,"onPending"),d.pendingBranch=f,f.shapeFlag&512?d.pendingId=f.component.suspenseId:d.pendingId=Jh++,l(null,f,d.hiddenContainer,null,o,d,i,s,a),d.deps<=0)d.resolve();else{const{timeout:E,pendingId:S}=d;E>0?setTimeout(()=>{d.pendingId===S&&d.fallback(h)},E):E===0&&d.fallback(h)}}function IN(e,t,r,n,o,i,s,a,l,u,c=!1){const{p:d,m:f,um:h,n:m,o:{parentNode:g,remove:v}}=u;let b;const E=MZ(e);E&&t&&t.pendingBranch&&(b=t.pendingId,t.deps++);const S=e.props?_c(e.props.timeout):void 0,A=i,C={vnode:e,parent:t,parentComponent:r,namespace:s,container:n,hiddenContainer:o,deps:0,pendingId:Jh++,timeout:typeof S=="number"?S:-1,activeBranch:null,pendingBranch:null,isInFallback:!c,isHydrating:c,isUnmounted:!1,effects:[],resolve(T=!1,w=!1){const{vnode:_,activeBranch:R,pendingBranch:M,pendingId:N,effects:q,parentComponent:x,container:P,isInFallback:L}=C;let $=!1;C.isHydrating?C.isHydrating=!1:T||($=R&&M.transition&&M.transition.mode==="out-in",$&&(R.transition.afterLeave=()=>{N===C.pendingId&&(f(M,P,i===A?m(R):i,0),As(q),L&&_.ssFallback&&(_.ssFallback.el=null))}),R&&(g(R.el)===P&&(i=m(R)),h(R,x,C,!0),!$&&L&&_.ssFallback&&At(()=>_.ssFallback.el=null,C)),$||f(M,P,i,0)),cs(C,M),C.pendingBranch=null,C.isInFallback=!1;let V=C.parent,G=!1;for(;V;){if(V.pendingBranch){V.effects.push(...q),G=!0;break}V=V.parent}!G&&!$&&As(q),C.effects=[],E&&t&&t.pendingBranch&&b===t.pendingId&&(t.deps--,t.deps===0&&!w&&t.resolve()),ml(_,"onResolve")},fallback(T){if(!C.pendingBranch)return;const{vnode:w,activeBranch:_,parentComponent:R,container:M,namespace:N}=C;ml(w,"onFallback");const q=m(_),x=()=>{C.isInFallback&&(d(null,T,M,q,R,null,N,a,l),cs(C,T))},P=T.transition&&T.transition.mode==="out-in";P&&(_.transition.afterLeave=x),C.isInFallback=!0,h(_,R,null,!0),P||x()},move(T,w,_){C.activeBranch&&f(C.activeBranch,T,w,_),C.container=T},next(){return C.activeBranch&&m(C.activeBranch)},registerDep(T,w,_){const R=!!C.pendingBranch;R&&C.deps++;const M=T.vnode.el;T.asyncDep.catch(N=>{Jo(N,T,0)}).then(N=>{if(T.isUnmounted||C.isUnmounted||C.pendingId!==T.suspenseId)return;T.asyncResolved=!0;const{vnode:q}=T;Kh(T,N,!1),M&&(q.el=M);const x=!M&&T.subTree.el;w(T,q,g(M||T.subTree.el),M?null:m(T.subTree),C,s,_),x&&(q.placeholder=null,v(x)),tp(T,q.el),R&&--C.deps===0&&C.resolve()})},unmount(T,w){C.isUnmounted=!0,C.activeBranch&&h(C.activeBranch,r,T,w),C.pendingBranch&&h(C.pendingBranch,r,T,w)}};return C}function NZ(e,t,r,n,o,i,s,a,l){const u=t.suspense=IN(t,n,r,e.parentNode,document.createElement("div"),null,o,i,s,a,!0),c=l(e,u.pendingBranch=t.ssContent,r,u,i,s);return u.deps===0&&u.resolve(!1,!0),c}function IZ(e){const{shapeFlag:t,children:r}=e,n=t&32;e.ssContent=vT(n?r.default:r),e.ssFallback=n?vT(r.fallback):ut(vt)}function vT(e){let t;if(Re(e)){const r=Ai&&e._c;r&&(e._d=!1,Cs()),e=e(),r&&(e._d=!0,t=er,jN())}return be(e)&&(e=gZ(e)),e=mr(e),t&&!e.dynamicChildren&&(e.dynamicChildren=t.filter(r=>r!==e)),e}function MN(e,t){t&&t.pendingBranch?be(e)?t.effects.push(...e):t.effects.push(e):As(e)}function cs(e,t){e.activeBranch=t;const{vnode:r,parentComponent:n}=e;let o=t.el;for(;!o&&t.component;)t=t.component.subTree,o=t.el;r.el=o,n&&n.subTree===r&&(n.vnode.el=o,tp(n,o))}function MZ(e){const t=e.props&&e.props.suspensible;return t!=null&&t!==!1}const Ct=Symbol.for("v-fgt"),Wn=Symbol.for("v-txt"),vt=Symbol.for("v-cmt"),jo=Symbol.for("v-stc"),ka=[];let er=null;function Cs(e=!1){ka.push(er=e?null:[])}function jN(){ka.pop(),er=ka[ka.length-1]||null}let Ai=1;function Ps(e,t=!1){Ai+=e,e<0&&er&&t&&(er.hasOnce=!0)}function qN(e){return e.dynamicChildren=Ai>0?er||ns:null,jN(),Ai>0&&er&&er.push(e),e}function LN(e,t,r,n,o,i){return qN(rp(e,t,r,n,o,i,!0))}function yl(e,t,r,n,o){return qN(ut(e,t,r,n,o,!0))}function Hr(e){return e?e.__v_isVNode===!0:!1}function Zr(e,t){return e.type===t.type&&e.key===t.key}function kN(e){}const DN=({key:e})=>e??null,Vu=({ref:e,ref_key:t,ref_for:r})=>(typeof e=="number"&&(e=""+e),e!=null?xe(e)||St(e)||Re(e)?{i:Jt,r:e,k:t,f:!!r}:e:null);function rp(e,t=null,r=null,n=0,o=null,i=e===Ct?0:1,s=!1,a=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&DN(t),ref:t&&Vu(t),scopeId:Wd,slotScopeIds:null,children:r,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:i,patchFlag:n,dynamicProps:o,dynamicChildren:null,appContext:null,ctx:Jt};return a?(ib(l,r),i&128&&e.normalize(l)):r&&(l.shapeFlag|=xe(r)?8:16),Ai>0&&!s&&er&&(l.patchFlag>0||i&6)&&l.patchFlag!==32&&er.push(l),l}const ut=jZ;function jZ(e,t=null,r=null,n=0,o=null,i=!1){if((!e||e===W1)&&(e=vt),Hr(e)){const a=un(e,t,!0);return r&&ib(a,r),Ai>0&&!i&&er&&(a.shapeFlag&6?er[er.indexOf(e)]=a:er.push(a)),a.patchFlag=-2,a}if(FZ(e)&&(e=e.__vccOpts),t){t=ob(t);let{class:a,style:l}=t;a&&!xe(a)&&(t.class=Ws(a)),et(l)&&(Ks(l)&&!be(l)&&(l=ke({},l)),t.style=Gs(l))}const s=xe(e)?1:Pc(e)?128:x1(e)?64:et(e)?4:Re(e)?2:0;return rp(e,t,r,n,o,s,i,!0)}function ob(e){return e?Ks(e)||_N(e)?ke({},e):e:null}function un(e,t,r=!1,n=!1){const{props:o,ref:i,patchFlag:s,children:a,transition:l}=e,u=t?sb(o||{},t):o,c={__v_isVNode:!0,__v_skip:!0,type:e.type,props:u,key:u&&DN(u),ref:t&&t.ref?r&&i?be(i)?i.concat(Vu(t)):[i,Vu(t)]:Vu(t):i,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:a,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Ct?s===-1?16:s|16:s,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:l,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&un(e.ssContent),ssFallback:e.ssFallback&&un(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return l&&n&&En(c,l.clone(c)),c}function np(e=" ",t=0){return ut(Wn,null,e,t)}function FN(e,t){const r=ut(jo,null,e);return r.staticCount=t,r}function $N(e="",t=!1){return t?(Cs(),yl(vt,null,e)):ut(vt,null,e)}function mr(e){return e==null||typeof e=="boolean"?ut(vt):be(e)?ut(Ct,null,e.slice()):Hr(e)?So(e):ut(Wn,null,String(e))}function So(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:un(e)}function ib(e,t){let r=0;const{shapeFlag:n}=e;if(t==null)t=null;else if(be(t))r=16;else if(typeof t=="object")if(n&65){const o=t.default;o&&(o._c&&(o._d=!1),ib(e,o()),o._c&&(o._d=!0));return}else{r=32;const o=t._;!o&&!_N(t)?t._ctx=Jt:o===3&&Jt&&(Jt.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else Re(t)?(t={default:t,_ctx:Jt},r=32):(t=String(t),n&64?(r=16,t=[np(t)]):r=8);e.children=t,e.shapeFlag|=r}function sb(...e){const t={};for(let r=0;r<e.length;r++){const n=e[r];for(const o in n)if(o==="class")t.class!==n.class&&(t.class=Ws([t.class,n.class]));else if(o==="style")t.style=Gs([t.style,n.style]);else if(ji(o)){const i=t[o],s=n[o];s&&i!==s&&!(be(i)&&i.includes(s))&&(t[o]=i?[].concat(i,s):s)}else o!==""&&(t[o]=n[o])}return t}function hr(e,t,r,n=null){xr(e,t,7,[r,n])}const qZ=mN();let LZ=0;function BN(e,t,r){const n=e.type,o=(t?t.appContext:e.appContext)||qZ,i={uid:LZ++,vnode:e,type:n,parent:t,appContext:o,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new Bd(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(o.provides),ids:t?t.ids:["",0,0],accessCache:null,renderCache:[],components:null,directives:null,propsOptions:wN(n,o),emitsOptions:bN(n,o),emit:null,emitted:null,propsDefaults:$e,inheritAttrs:n.inheritAttrs,ctx:$e,data:$e,props:$e,attrs:$e,slots:$e,refs:$e,setupState:$e,setupContext:null,suspense:r,suspenseId:r?r.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return i.ctx={_:i},i.root=t?t.root:i,i.emit=mZ.bind(null,i),e.ce&&e.ce(i),i}let Ut=null;const pr=()=>Ut||Jt;let xc,Gh;{const e=Fd(),t=(r,n)=>{let o;return(o=e[r])||(o=e[r]=[]),o.push(n),i=>{o.length>1?o.forEach(s=>s(i)):o[0](i)}};xc=t("__VUE_INSTANCE_SETTERS__",r=>Ut=r),Gh=t("__VUE_SSR_SETTERS__",r=>xs=r)}const Ci=e=>{const t=Ut;return xc(e),e.scope.on(),()=>{e.scope.off(),xc(t)}},Wh=()=>{Ut&&Ut.scope.off(),xc(null)};function VN(e){return e.vnode.shapeFlag&4}let xs=!1;function UN(e,t=!1,r=!1){t&&Gh(t);const{props:n,children:o}=e.vnode,i=VN(e);_Z(e,n,i,t),RZ(e,o,r||t);const s=i?kZ(e,t):void 0;return t&&Gh(!1),s}function kZ(e,t){const r=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,Bh);const{setup:n}=r;if(n){Yn();const o=e.setupContext=n.length>1?GN(e):null,i=Ci(e),s=Li(n,e,0,[e.props,o]),a=Sg(s);if(Xn(),i(),(a||e.sp)&&!Gn(e)&&Bg(e),a){if(s.then(Wh,Wh),t)return s.then(l=>{Kh(e,l,t)}).catch(l=>{Jo(l,e,0)});e.asyncDep=s}else Kh(e,s,t)}else JN(e,t)}function Kh(e,t,r){Re(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:et(t)&&(e.setupState=Gd(t)),JN(e,r)}let Nc,zh;function ab(e){Nc=e,zh=t=>{t.render._rc&&(t.withProxy=new Proxy(t.ctx,aZ))}}const HN=()=>!Nc;function JN(e,t,r){const n=e.type;if(!e.render){if(!t&&Nc&&!n.render){const o=n.template||Qg(e).template;if(o){const{isCustomElement:i,compilerOptions:s}=e.appContext.config,{delimiters:a,compilerOptions:l}=n,u=ke(ke({isCustomElement:i,delimiters:a},s),l);n.render=Nc(o,u)}}e.render=n.render||Wt,zh&&zh(e)}{const o=Ci(e);Yn();try{lZ(e)}finally{Xn(),o()}}}const DZ={get(e,t){return Zt(e,"get",""),e[t]}};function GN(e){const t=r=>{e.exposed=r||{}};return{attrs:new Proxy(e.attrs,DZ),slots:e.slots,emit:e.emit,expose:t}}function Wl(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(Gd(Ng(e.exposed)),{get(t,r){if(r in t)return t[r];if(r in La)return La[r](e)},has(t,r){return r in t||r in La}})):e.proxy}function Yh(e,t=!0){return Re(e)?e.displayName||e.name:e.name||t&&e.__name}function FZ(e){return Re(e)&&"__vccOpts"in e}const lb=(e,t)=>$Q(e,t,xs);function Go(e,t,r){try{Ps(-1);const n=arguments.length;return n===2?et(t)&&!be(t)?Hr(t)?ut(e,null,[t]):ut(e,t):ut(e,null,t):(n>3?r=Array.prototype.slice.call(arguments,2):n===3&&Hr(r)&&(r=[r]),ut(e,t,r))}finally{Ps(1)}}function WN(){}function KN(e,t,r,n){const o=r[n];if(o&&ub(o,e))return o;const i=t();return i.memo=e.slice(),i.cacheIndex=n,r[n]=i}function ub(e,t){const r=e.memo;if(r.length!=t.length)return!1;for(let n=0;n<r.length;n++)if(ur(r[n],t[n]))return!1;return Ai>0&&er&&er.push(e),!0}const cb="3.5.27",zN=Wt,YN=HQ,XN=Ji,QN=E1,$Z={createComponentInstance:BN,setupComponent:UN,renderComponentRoot:Bu,setCurrentRenderingInstance:fl,isVNode:Hr,normalizeVNode:mr,getComponentPublicInstance:Wl,ensureValidVNode:Xg,pushWarningContext:VQ,popWarningContext:UQ},ZN=$Z,eI=null,tI=null,rI=null;let Xh;const ET=typeof window<"u"&&window.trustedTypes;if(ET)try{Xh=ET.createPolicy("vue",{createHTML:e=>e})}catch{}const nI=Xh?e=>Xh.createHTML(e):e=>e,BZ="http://www.w3.org/2000/svg",VZ="http://www.w3.org/1998/Math/MathML",Nn=typeof document<"u"?document:null,_T=Nn&&Nn.createElement("template"),db={insert:(e,t,r)=>{t.insertBefore(e,r||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,r,n)=>{const o=t==="svg"?Nn.createElementNS(BZ,e):t==="mathml"?Nn.createElementNS(VZ,e):r?Nn.createElement(e,{is:r}):Nn.createElement(e);return e==="select"&&n&&n.multiple!=null&&o.setAttribute("multiple",n.multiple),o},createText:e=>Nn.createTextNode(e),createComment:e=>Nn.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Nn.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,r,n,o,i){const s=r?r.previousSibling:t.lastChild;if(o&&(o===i||o.nextSibling))for(;t.insertBefore(o.cloneNode(!0),r),!(o===i||!(o=o.nextSibling)););else{_T.innerHTML=nI(n==="svg"?`<svg>${e}</svg>`:n==="mathml"?`<math>${e}</math>`:e);const a=_T.content;if(n==="svg"||n==="mathml"){const l=a.firstChild;for(;l.firstChild;)a.appendChild(l.firstChild);a.removeChild(l)}t.insertBefore(a,r)}return[s?s.nextSibling:t.firstChild,r?r.previousSibling:t.lastChild]}},fo="transition",ca="animation",Ns=Symbol("_vtc"),oI={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},iI=ke({},Yd,oI),UZ=e=>(e.displayName="Transition",e.props=iI,e),sI=UZ((e,{slots:t})=>Go($g,aI(e),t)),ti=(e,t=[])=>{be(e)?e.forEach(r=>r(...t)):e&&e(...t)},TT=e=>e?be(e)?e.some(t=>t.length>1):e.length>1:!1;function aI(e){const t={};for(const q in e)q in oI||(t[q]=e[q]);if(e.css===!1)return t;const{name:r="v",type:n,duration:o,enterFromClass:i=`${r}-enter-from`,enterActiveClass:s=`${r}-enter-active`,enterToClass:a=`${r}-enter-to`,appearFromClass:l=i,appearActiveClass:u=s,appearToClass:c=a,leaveFromClass:d=`${r}-leave-from`,leaveActiveClass:f=`${r}-leave-active`,leaveToClass:h=`${r}-leave-to`}=e,m=HZ(o),g=m&&m[0],v=m&&m[1],{onBeforeEnter:b,onEnter:E,onEnterCancelled:S,onLeave:A,onLeaveCancelled:C,onBeforeAppear:T=b,onAppear:w=E,onAppearCancelled:_=S}=t,R=(q,x,P,L)=>{q._enterCancelled=L,yo(q,x?c:a),yo(q,x?u:s),P&&P()},M=(q,x)=>{q._isLeaving=!1,yo(q,d),yo(q,h),yo(q,f),x&&x()},N=q=>(x,P)=>{const L=q?w:E,$=()=>R(x,q,P);ti(L,[x,$]),wT(()=>{yo(x,q?l:i),fn(x,q?c:a),TT(L)||ST(x,n,g,$)})};return ke(t,{onBeforeEnter(q){ti(b,[q]),fn(q,i),fn(q,s)},onBeforeAppear(q){ti(T,[q]),fn(q,l),fn(q,u)},onEnter:N(!1),onAppear:N(!0),onLeave(q,x){q._isLeaving=!0;const P=()=>M(q,x);fn(q,d),q._enterCancelled?(fn(q,f),Qh(q)):(Qh(q),fn(q,f)),wT(()=>{q._isLeaving&&(yo(q,d),fn(q,h),TT(A)||ST(q,n,v,P))}),ti(A,[q,P])},onEnterCancelled(q){R(q,!1,void 0,!0),ti(S,[q])},onAppearCancelled(q){R(q,!0,void 0,!0),ti(_,[q])},onLeaveCancelled(q){M(q),ti(C,[q])}})}function HZ(e){if(e==null)return null;if(et(e))return[ff(e.enter),ff(e.leave)];{const t=ff(e);return[t,t]}}function ff(e){return _c(e)}function fn(e,t){t.split(/\s+/).forEach(r=>r&&e.classList.add(r)),(e[Ns]||(e[Ns]=new Set)).add(t)}function yo(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.remove(n));const r=e[Ns];r&&(r.delete(t),r.size||(e[Ns]=void 0))}function wT(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let JZ=0;function ST(e,t,r,n){const o=e._endId=++JZ,i=()=>{o===e._endId&&n()};if(r!=null)return setTimeout(i,r);const{type:s,timeout:a,propCount:l}=lI(e,t);if(!s)return n();const u=s+"end";let c=0;const d=()=>{e.removeEventListener(u,f),i()},f=h=>{h.target===e&&++c>=l&&d()};setTimeout(()=>{c<l&&d()},a+1),e.addEventListener(u,f)}function lI(e,t){const r=window.getComputedStyle(e),n=m=>(r[m]||"").split(", "),o=n(`${fo}Delay`),i=n(`${fo}Duration`),s=RT(o,i),a=n(`${ca}Delay`),l=n(`${ca}Duration`),u=RT(a,l);let c=null,d=0,f=0;t===fo?s>0&&(c=fo,d=s,f=i.length):t===ca?u>0&&(c=ca,d=u,f=l.length):(d=Math.max(s,u),c=d>0?s>u?fo:ca:null,f=c?c===fo?i.length:l.length:0);const h=c===fo&&/\b(?:transform|all)(?:,|$)/.test(n(`${fo}Property`).toString());return{type:c,timeout:d,propCount:f,hasTransform:h}}function RT(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((r,n)=>OT(r)+OT(e[n])))}function OT(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function Qh(e){return(e?e.ownerDocument:document).body.offsetHeight}function GZ(e,t,r){const n=e[Ns];n&&(t=(t?[t,...n]:[...n]).join(" ")),t==null?e.removeAttribute("class"):r?e.setAttribute("class",t):e.className=t}const Ic=Symbol("_vod"),uI=Symbol("_vsh"),pb={name:"show",beforeMount(e,{value:t},{transition:r}){e[Ic]=e.style.display==="none"?"":e.style.display,r&&t?r.beforeEnter(e):da(e,t)},mounted(e,{value:t},{transition:r}){r&&t&&r.enter(e)},updated(e,{value:t,oldValue:r},{transition:n}){!t!=!r&&(n?t?(n.beforeEnter(e),da(e,!0),n.enter(e)):n.leave(e,()=>{da(e,!1)}):da(e,t))},beforeUnmount(e,{value:t}){da(e,t)}};function da(e,t){e.style.display=t?e[Ic]:"none",e[uI]=!t}function WZ(){pb.getSSRProps=({value:e})=>{if(!e)return{style:{display:"none"}}}}const cI=Symbol("");function dI(e){const t=pr();if(!t)return;const r=t.ut=(o=e(t.proxy))=>{Array.from(document.querySelectorAll(`[data-v-owner="${t.uid}"]`)).forEach(i=>Mc(i,o))},n=()=>{const o=e(t.proxy);t.ce?Mc(t.ce,o):Zh(t.subTree,o),r(o)};Zd(()=>{As(n)}),Ys(()=>{mi(n,Wt,{flush:"post"});const o=new MutationObserver(n);o.observe(t.subTree.el.parentNode,{childList:!0}),Gl(()=>o.disconnect())})}function Zh(e,t){if(e.shapeFlag&128){const r=e.suspense;e=r.activeBranch,r.pendingBranch&&!r.isHydrating&&r.effects.push(()=>{Zh(r.activeBranch,t)})}for(;e.component;)e=e.component.subTree;if(e.shapeFlag&1&&e.el)Mc(e.el,t);else if(e.type===Ct)e.children.forEach(r=>Zh(r,t));else if(e.type===jo){let{el:r,anchor:n}=e;for(;r&&(Mc(r,t),r!==n);)r=r.nextSibling}}function Mc(e,t){if(e.nodeType===1){const r=e.style;let n="";for(const o in t){const i=hQ(t[o]);r.setProperty(`--${o}`,i),n+=`--${o}: ${i};`}r[cI]=n}}const KZ=/(?:^|;)\s*display\s*:/;function zZ(e,t,r){const n=e.style,o=xe(r);let i=!1;if(r&&!o){if(t)if(xe(t))for(const s of t.split(";")){const a=s.slice(0,s.indexOf(":")).trim();r[a]==null&&Uu(n,a,"")}else for(const s in t)r[s]==null&&Uu(n,s,"");for(const s in r)s==="display"&&(i=!0),Uu(n,s,r[s])}else if(o){if(t!==r){const s=n[cI];s&&(r+=";"+s),n.cssText=r,i=KZ.test(r)}}else t&&e.removeAttribute("style");Ic in e&&(e[Ic]=i?n.display:"",e[uI]&&(n.display="none"))}const AT=/\s*!important$/;function Uu(e,t,r){if(be(r))r.forEach(n=>Uu(e,t,n));else if(r==null&&(r=""),t.startsWith("--"))e.setProperty(t,r);else{const n=YZ(e,t);AT.test(r)?e.setProperty(yr(n),r.replace(AT,""),"important"):e[n]=r}}const CT=["Webkit","Moz","ms"],hf={};function YZ(e,t){const r=hf[t];if(r)return r;let n=it(t);if(n!=="filter"&&n in e)return hf[t]=n;n=Ho(n);for(let o=0;o<CT.length;o++){const i=CT[o]+n;if(i in e)return hf[t]=i}return t}const PT="http://www.w3.org/1999/xlink";function xT(e,t,r,n,o,i=pQ(t)){n&&t.startsWith("xlink:")?r==null?e.removeAttributeNS(PT,t.slice(6,t.length)):e.setAttributeNS(PT,t,r):r==null||i&&!Lx(r)?e.removeAttribute(t):e.setAttribute(t,i?"":vr(r)?String(r):r)}function NT(e,t,r,n,o){if(t==="innerHTML"||t==="textContent"){r!=null&&(e[t]=t==="innerHTML"?nI(r):r);return}const i=e.tagName;if(t==="value"&&i!=="PROGRESS"&&!i.includes("-")){const a=i==="OPTION"?e.getAttribute("value")||"":e.value,l=r==null?e.type==="checkbox"?"on":"":String(r);(a!==l||!("_value"in e))&&(e.value=l),r==null&&e.removeAttribute(t),e._value=r;return}let s=!1;if(r===""||r==null){const a=typeof e[t];a==="boolean"?r=Lx(r):r==null&&a==="string"?(r="",s=!0):a==="number"&&(r=0,s=!0)}try{e[t]=r}catch{}s&&e.removeAttribute(o||t)}function kn(e,t,r,n){e.addEventListener(t,r,n)}function XZ(e,t,r,n){e.removeEventListener(t,r,n)}const IT=Symbol("_vei");function QZ(e,t,r,n,o=null){const i=e[IT]||(e[IT]={}),s=i[t];if(n&&s)s.value=n;else{const[a,l]=ZZ(t);if(n){const u=i[t]=ree(n,o);kn(e,a,u,l)}else s&&(XZ(e,a,s,l),i[t]=void 0)}}const MT=/(?:Once|Passive|Capture)$/;function ZZ(e){let t;if(MT.test(e)){t={};let n;for(;n=e.match(MT);)e=e.slice(0,e.length-n[0].length),t[n[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):yr(e.slice(2)),t]}let mf=0;const eee=Promise.resolve(),tee=()=>mf||(eee.then(()=>mf=0),mf=Date.now());function ree(e,t){const r=n=>{if(!n._vts)n._vts=Date.now();else if(n._vts<=r.attached)return;xr(nee(n,r.value),t,5,[n])};return r.value=e,r.attached=tee(),r}function nee(e,t){if(be(t)){const r=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{r.call(e),e._stopped=!0},t.map(n=>o=>!o._stopped&&n&&n(o))}else return t}const jT=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,fb=(e,t,r,n,o,i)=>{const s=o==="svg";t==="class"?GZ(e,n,s):t==="style"?zZ(e,r,n):ji(t)?Tg(t)||QZ(e,t,r,n,i):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):oee(e,t,n,s))?(NT(e,t,n),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&xT(e,t,n,s,i,t!=="value")):e._isVueCE&&(/[A-Z]/.test(t)||!xe(n))?NT(e,it(t),n,i,t):(t==="true-value"?e._trueValue=n:t==="false-value"&&(e._falseValue=n),xT(e,t,n,s))};function oee(e,t,r,n){if(n)return!!(t==="innerHTML"||t==="textContent"||t in e&&jT(t)&&Re(r));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="autocorrect"||t==="sandbox"&&e.tagName==="IFRAME"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const o=e.tagName;if(o==="IMG"||o==="VIDEO"||o==="CANVAS"||o==="SOURCE")return!1}return jT(t)&&xe(r)?!1:t in e}const qT={};function hb(e,t,r){let n=Xd(e,t);qd(n)&&(n=ke({},n,t));class o extends Kl{constructor(s){super(n,s,r)}}return o.def=n,o}const pI=((e,t)=>hb(e,t,vb)),iee=typeof HTMLElement<"u"?HTMLElement:class{};class Kl extends iee{constructor(t,r={},n=bl){super(),this._def=t,this._props=r,this._createApp=n,this._isVueCE=!0,this._instance=null,this._app=null,this._nonce=this._def.nonce,this._connected=!1,this._resolved=!1,this._patching=!1,this._dirty=!1,this._numberProps=null,this._styleChildren=new WeakSet,this._ob=null,this.shadowRoot&&n!==bl?this._root=this.shadowRoot:t.shadowRoot!==!1?(this.attachShadow(ke({},t.shadowRootOptions,{mode:"open"})),this._root=this.shadowRoot):this._root=this}connectedCallback(){if(!this.isConnected)return;!this.shadowRoot&&!this._resolved&&this._parseSlots(),this._connected=!0;let t=this;for(;t=t&&(t.parentNode||t.host);)if(t instanceof Kl){this._parent=t;break}this._instance||(this._resolved?this._mount(this._def):t&&t._pendingResolve?this._pendingResolve=t._pendingResolve.then(()=>{this._pendingResolve=void 0,this._resolveDef()}):this._resolveDef())}_setParent(t=this._parent){t&&(this._instance.parent=t._instance,this._inheritParentContext(t))}_inheritParentContext(t=this._parent){t&&this._app&&Object.setPrototypeOf(this._app._context.provides,t._instance.provides)}disconnectedCallback(){this._connected=!1,$l(()=>{this._connected||(this._ob&&(this._ob.disconnect(),this._ob=null),this._app&&this._app.unmount(),this._instance&&(this._instance.ce=void 0),this._app=this._instance=null,this._teleportTargets&&(this._teleportTargets.clear(),this._teleportTargets=void 0))})}_processMutations(t){for(const r of t)this._setAttr(r.attributeName)}_resolveDef(){if(this._pendingResolve)return;for(let n=0;n<this.attributes.length;n++)this._setAttr(this.attributes[n].name);this._ob=new MutationObserver(this._processMutations.bind(this)),this._ob.observe(this,{attributes:!0});const t=(n,o=!1)=>{this._resolved=!0,this._pendingResolve=void 0;const{props:i,styles:s}=n;let a;if(i&&!be(i))for(const l in i){const u=i[l];(u===Number||u&&u.type===Number)&&(l in this._props&&(this._props[l]=_c(this._props[l])),(a||(a=Object.create(null)))[it(l)]=!0)}this._numberProps=a,this._resolveProps(n),this.shadowRoot&&this._applyStyles(s),this._mount(n)},r=this._def.__asyncLoader;r?this._pendingResolve=r().then(n=>{n.configureApp=this._def.configureApp,t(this._def=n,!0)}):t(this._def)}_mount(t){this._app=this._createApp(t),this._inheritParentContext(),t.configureApp&&t.configureApp(this._app),this._app._ceVNode=this._createVNode(),this._app.mount(this._root);const r=this._instance&&this._instance.exposed;if(r)for(const n in r)Ye(this,n)||Object.defineProperty(this,n,{get:()=>zs(r[n])})}_resolveProps(t){const{props:r}=t,n=be(r)?r:Object.keys(r||{});for(const o of Object.keys(this))o[0]!=="_"&&n.includes(o)&&this._setProp(o,this[o]);for(const o of n.map(it))Object.defineProperty(this,o,{get(){return this._getProp(o)},set(i){this._setProp(o,i,!0,!this._patching)}})}_setAttr(t){if(t.startsWith("data-v-"))return;const r=this.hasAttribute(t);let n=r?this.getAttribute(t):qT;const o=it(t);r&&this._numberProps&&this._numberProps[o]&&(n=_c(n)),this._setProp(o,n,!1,!0)}_getProp(t){return this._props[t]}_setProp(t,r,n=!0,o=!1){if(r!==this._props[t]&&(this._dirty=!0,r===qT?delete this._props[t]:(this._props[t]=r,t==="key"&&this._app&&(this._app._ceVNode.key=r)),o&&this._instance&&this._update(),n)){const i=this._ob;i&&(this._processMutations(i.takeRecords()),i.disconnect()),r===!0?this.setAttribute(yr(t),""):typeof r=="string"||typeof r=="number"?this.setAttribute(yr(t),r+""):r||this.removeAttribute(yr(t)),i&&i.observe(this,{attributes:!0})}}_update(){const t=this._createVNode();this._app&&(t.appContext=this._app._context),bb(t,this._root)}_createVNode(){const t={};this.shadowRoot||(t.onVnodeMounted=t.onVnodeUpdated=this._renderSlots.bind(this));const r=ut(this._def,ke(t,this._props));return this._instance||(r.ce=n=>{this._instance=n,n.ce=this,n.isCE=!0;const o=(i,s)=>{this.dispatchEvent(new CustomEvent(i,qd(s[0])?ke({detail:s},s[0]):{detail:s}))};n.emit=(i,...s)=>{o(i,s),yr(i)!==i&&o(yr(i),s)},this._setParent()}),r}_applyStyles(t,r){if(!t)return;if(r){if(r===this._def||this._styleChildren.has(r))return;this._styleChildren.add(r)}const n=this._nonce;for(let o=t.length-1;o>=0;o--){const i=document.createElement("style");n&&i.setAttribute("nonce",n),i.textContent=t[o],this.shadowRoot.prepend(i)}}_parseSlots(){const t=this._slots={};let r;for(;r=this.firstChild;){const n=r.nodeType===1&&r.getAttribute("slot")||"default";(t[n]||(t[n]=[])).push(r),this.removeChild(r)}}_renderSlots(){const t=this._getSlots(),r=this._instance.type.__scopeId;for(let n=0;n<t.length;n++){const o=t[n],i=o.getAttribute("name")||"default",s=this._slots[i],a=o.parentNode;if(s)for(const l of s){if(r&&l.nodeType===1){const u=r+"-s",c=document.createTreeWalker(l,1);l.setAttribute(u,"");let d;for(;d=c.nextNode();)d.setAttribute(u,"")}a.insertBefore(l,o)}else for(;o.firstChild;)a.insertBefore(o.firstChild,o);a.removeChild(o)}}_getSlots(){const t=[this];this._teleportTargets&&t.push(...this._teleportTargets);const r=new Set;for(const n of t){const o=n.querySelectorAll("slot");for(let i=0;i<o.length;i++)r.add(o[i])}return Array.from(r)}_injectChildStyle(t){this._applyStyles(t.styles,t)}_beginPatch(){this._patching=!0,this._dirty=!1}_endPatch(){this._patching=!1,this._dirty&&this._instance&&this._update()}_removeChildStyle(t){}}function mb(e){const t=pr(),r=t&&t.ce;return r||null}function fI(){const e=mb();return e&&e.shadowRoot}function hI(e="$style"){{const t=pr();if(!t)return $e;const r=t.type.__cssModules;if(!r)return $e;const n=r[e];return n||$e}}const mI=new WeakMap,yI=new WeakMap,jc=Symbol("_moveCb"),LT=Symbol("_enterCb"),see=e=>(delete e.props.mode,e),aee=see({name:"TransitionGroup",props:ke({},iI,{tag:String,moveClass:String}),setup(e,{slots:t}){const r=pr(),n=zd();let o,i;return Hl(()=>{if(!o.length)return;const s=e.moveClass||`${e.name||"v"}-move`;if(!dee(o[0].el,r.vnode.el,s)){o=[];return}o.forEach(lee),o.forEach(uee);const a=o.filter(cee);Qh(r.vnode.el),a.forEach(l=>{const u=l.el,c=u.style;fn(u,s),c.transform=c.webkitTransform=c.transitionDuration="";const d=u[jc]=f=>{f&&f.target!==u||(!f||f.propertyName.endsWith("transform"))&&(u.removeEventListener("transitionend",d),u[jc]=null,yo(u,s))};u.addEventListener("transitionend",d)}),o=[]}),()=>{const s=Ue(e),a=aI(s);let l=s.tag||Ct;if(o=[],i)for(let u=0;u<i.length;u++){const c=i[u];c.el&&c.el instanceof Element&&(o.push(c),En(c,Oi(c,a,n,r)),mI.set(c,{left:c.el.offsetLeft,top:c.el.offsetTop}))}i=t.default?Vl(t.default()):[];for(let u=0;u<i.length;u++){const c=i[u];c.key!=null&&En(c,Oi(c,a,n,r))}return ut(l,null,i)}}}),gI=aee;function lee(e){const t=e.el;t[jc]&&t[jc](),t[LT]&&t[LT]()}function uee(e){yI.set(e,{left:e.el.offsetLeft,top:e.el.offsetTop})}function cee(e){const t=mI.get(e),r=yI.get(e),n=t.left-r.left,o=t.top-r.top;if(n||o){const i=e.el.style;return i.transform=i.webkitTransform=`translate(${n}px,${o}px)`,i.transitionDuration="0s",e}}function dee(e,t,r){const n=e.cloneNode(),o=e[Ns];o&&o.forEach(a=>{a.split(/\s+/).forEach(l=>l&&n.classList.remove(l))}),r.split(/\s+/).forEach(a=>a&&n.classList.add(a)),n.style.display="none";const i=t.nodeType===1?t:t.parentNode;i.appendChild(n);const{hasTransform:s}=lI(n);return i.removeChild(n),s}const $o=e=>{const t=e.props["onUpdate:modelValue"]||!1;return be(t)?r=>is(t,r):t};function pee(e){e.target.composing=!0}function kT(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const Br=Symbol("_assign");function DT(e,t,r){return t&&(e=e.trim()),r&&(e=Dd(e)),e}const gl={created(e,{modifiers:{lazy:t,trim:r,number:n}},o){e[Br]=$o(o);const i=n||o.props&&o.props.type==="number";kn(e,t?"change":"input",s=>{s.target.composing||e[Br](DT(e.value,r,i))}),(r||i)&&kn(e,"change",()=>{e.value=DT(e.value,r,i)}),t||(kn(e,"compositionstart",pee),kn(e,"compositionend",kT),kn(e,"change",kT))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,oldValue:r,modifiers:{lazy:n,trim:o,number:i}},s){if(e[Br]=$o(s),e.composing)return;const a=(i||e.type==="number")&&!/^0\d/.test(e.value)?Dd(e.value):e.value,l=t??"";a!==l&&(document.activeElement===e&&e.type!=="range"&&(n&&t===r||o&&e.value.trim()===l)||(e.value=l))}},op={deep:!0,created(e,t,r){e[Br]=$o(r),kn(e,"change",()=>{const n=e._modelValue,o=Is(e),i=e.checked,s=e[Br];if(be(n)){const a=$d(n,o),l=a!==-1;if(i&&!l)s(n.concat(o));else if(!i&&l){const u=[...n];u.splice(a,1),s(u)}}else if(qi(n)){const a=new Set(n);i?a.add(o):a.delete(o),s(a)}else s(bI(e,i))})},mounted:FT,beforeUpdate(e,t,r){e[Br]=$o(r),FT(e,t,r)}};function FT(e,{value:t,oldValue:r},n){e._modelValue=t;let o;if(be(t))o=$d(t,n.props.value)>-1;else if(qi(t))o=t.has(n.props.value);else{if(t===r)return;o=Do(t,bI(e,!0))}e.checked!==o&&(e.checked=o)}const ip={created(e,{value:t},r){e.checked=Do(t,r.props.value),e[Br]=$o(r),kn(e,"change",()=>{e[Br](Is(e))})},beforeUpdate(e,{value:t,oldValue:r},n){e[Br]=$o(n),t!==r&&(e.checked=Do(t,n.props.value))}},yb={deep:!0,created(e,{value:t,modifiers:{number:r}},n){const o=qi(t);kn(e,"change",()=>{const i=Array.prototype.filter.call(e.options,s=>s.selected).map(s=>r?Dd(Is(s)):Is(s));e[Br](e.multiple?o?new Set(i):i:i[0]),e._assigning=!0,$l(()=>{e._assigning=!1})}),e[Br]=$o(n)},mounted(e,{value:t}){$T(e,t)},beforeUpdate(e,t,r){e[Br]=$o(r)},updated(e,{value:t}){e._assigning||$T(e,t)}};function $T(e,t){const r=e.multiple,n=be(t);if(!(r&&!n&&!qi(t))){for(let o=0,i=e.options.length;o<i;o++){const s=e.options[o],a=Is(s);if(r)if(n){const l=typeof a;l==="string"||l==="number"?s.selected=t.some(u=>String(u)===String(a)):s.selected=$d(t,a)>-1}else s.selected=t.has(a);else if(Do(Is(s),t)){e.selectedIndex!==o&&(e.selectedIndex=o);return}}!r&&e.selectedIndex!==-1&&(e.selectedIndex=-1)}}function Is(e){return"_value"in e?e._value:e.value}function bI(e,t){const r=t?"_trueValue":"_falseValue";return r in e?e[r]:t}const gb={created(e,t,r){Ru(e,t,r,null,"created")},mounted(e,t,r){Ru(e,t,r,null,"mounted")},beforeUpdate(e,t,r,n){Ru(e,t,r,n,"beforeUpdate")},updated(e,t,r,n){Ru(e,t,r,n,"updated")}};function vI(e,t){switch(e){case"SELECT":return yb;case"TEXTAREA":return gl;default:switch(t){case"checkbox":return op;case"radio":return ip;default:return gl}}}function Ru(e,t,r,n,o){const s=vI(e.tagName,r.props&&r.props.type)[o];s&&s(e,t,r,n)}function fee(){gl.getSSRProps=({value:e})=>({value:e}),ip.getSSRProps=({value:e},t)=>{if(t.props&&Do(t.props.value,e))return{checked:!0}},op.getSSRProps=({value:e},t)=>{if(be(e)){if(t.props&&$d(e,t.props.value)>-1)return{checked:!0}}else if(qi(e)){if(t.props&&e.has(t.props.value))return{checked:!0}}else if(e)return{checked:!0}},gb.getSSRProps=(e,t)=>{if(typeof t.type!="string")return;const r=vI(t.type.toUpperCase(),t.props&&t.props.type);if(r.getSSRProps)return r.getSSRProps(e,t)}}const hee=["ctrl","shift","alt","meta"],mee={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&e.button!==0,middle:e=>"button"in e&&e.button!==1,right:e=>"button"in e&&e.button!==2,exact:(e,t)=>hee.some(r=>e[`${r}Key`]&&!t.includes(r))},EI=(e,t)=>{const r=e._withMods||(e._withMods={}),n=t.join(".");return r[n]||(r[n]=((o,...i)=>{for(let s=0;s<t.length;s++){const a=mee[t[s]];if(a&&a(o,t))return}return e(o,...i)}))},yee={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},_I=(e,t)=>{const r=e._withKeys||(e._withKeys={}),n=t.join(".");return r[n]||(r[n]=(o=>{if(!("key"in o))return;const i=yr(o.key);if(t.some(s=>s===i||yee[s]===i))return e(o)}))},TI=ke({patchProp:fb},db);let Da,BT=!1;function wI(){return Da||(Da=tb(TI))}function SI(){return Da=BT?Da:rb(TI),BT=!0,Da}const bb=((...e)=>{wI().render(...e)}),RI=((...e)=>{SI().hydrate(...e)}),bl=((...e)=>{const t=wI().createApp(...e),{mount:r}=t;return t.mount=n=>{const o=AI(n);if(!o)return;const i=t._component;!Re(i)&&!i.render&&!i.template&&(i.template=o.innerHTML),o.nodeType===1&&(o.textContent="");const s=r(o,!1,OI(o));return o instanceof Element&&(o.removeAttribute("v-cloak"),o.setAttribute("data-v-app","")),s},t}),vb=((...e)=>{const t=SI().createApp(...e),{mount:r}=t;return t.mount=n=>{const o=AI(n);if(o)return r(o,!0,OI(o))},t});function OI(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function AI(e){return xe(e)?document.querySelector(e):e}let VT=!1;const CI=()=>{VT||(VT=!0,fee(),WZ())},gee=Object.freeze(Object.defineProperty({__proto__:null,BaseTransition:$g,BaseTransitionPropsValidators:Yd,Comment:vt,DeprecationTypes:rI,EffectScope:Bd,ErrorCodes:y1,ErrorTypeStrings:YN,Fragment:Ct,KeepAlive:H1,ReactiveEffect:Rs,Static:jo,Suspense:NN,Teleport:I1,Text:Wn,TrackOpTypes:d1,Transition:sI,TransitionGroup:gI,TriggerOpTypes:p1,VueElement:Kl,assertNumber:m1,callWithAsyncErrorHandling:xr,callWithErrorHandling:Li,camelize:it,capitalize:Ho,cloneVNode:un,compatUtils:tI,computed:lb,createApp:bl,createBlock:yl,createCommentVNode:$N,createElementBlock:LN,createElementVNode:rp,createHydrationRenderer:rb,createPropsRestProxy:pN,createRenderer:tb,createSSRApp:vb,createSlots:X1,createStaticVNode:FN,createTextVNode:np,createVNode:ut,customRef:Mg,defineAsyncComponent:U1,defineComponent:Xd,defineCustomElement:hb,defineEmits:tN,defineExpose:rN,defineModel:iN,defineOptions:nN,defineProps:eN,defineSSRCustomElement:pI,defineSlots:oN,devtools:XN,effect:Gx,effectScope:Fx,getCurrentInstance:pr,getCurrentScope:Og,getCurrentWatcher:f1,getTransitionRawChildren:Vl,guardReactiveProps:ob,h:Go,handleError:Jo,hasInjectionContext:R1,hydrate:RI,hydrateOnIdle:F1,hydrateOnInteraction:V1,hydrateOnMediaQuery:B1,hydrateOnVisible:$1,initCustomFormatter:WN,initDirectivesForSSR:CI,inject:ls,isMemoSame:ub,isProxy:Ks,isReactive:rn,isReadonly:an,isRef:St,isRuntimeOnly:HN,isShallow:dr,isVNode:Hr,markRaw:Ng,mergeDefaults:cN,mergeModels:dN,mergeProps:sb,nextTick:$l,nodeOps:db,normalizeClass:Ws,normalizeProps:qx,normalizeStyle:Gs,onActivated:Vg,onBeforeMount:Hg,onBeforeUnmount:Jl,onBeforeUpdate:Zd,onDeactivated:Ug,onErrorCaptured:Kg,onMounted:Ys,onRenderTracked:Wg,onRenderTriggered:Gg,onScopeDispose:$x,onServerPrefetch:Jg,onUnmounted:Gl,onUpdated:Hl,onWatcherCleanup:jg,openBlock:Cs,patchProp:fb,popScopeId:T1,provide:Lg,proxyRefs:Gd,pushScopeId:_1,queuePostFlushCb:As,reactive:Fo,readonly:dl,ref:ss,registerRuntimeCompiler:ab,render:bb,renderList:Y1,renderSlot:Q1,resolveComponent:G1,resolveDirective:z1,resolveDynamicComponent:K1,resolveFilter:eI,resolveTransitionHooks:Oi,setBlockTracking:Ps,setDevtoolsHook:QN,setTransitionHooks:En,shallowReactive:xg,shallowReadonly:o1,shallowRef:Ig,ssrContextKey:kg,ssrUtils:ZN,stop:Wx,toDisplayString:Rg,toHandlerKey:fi,toHandlers:Z1,toRaw:Ue,toRef:u1,toRefs:l1,toValue:a1,transformVNodeArgs:kN,triggerRef:s1,unref:zs,useAttrs:lN,useCssModule:hI,useCssVars:dI,useHost:mb,useId:k1,useModel:yN,useSSRContext:Dg,useShadowRoot:fI,useSlots:aN,useTemplateRef:D1,useTransitionState:zd,vModelCheckbox:op,vModelDynamic:gb,vModelRadio:ip,vModelSelect:yb,vModelText:gl,vShow:pb,version:cb,warn:zN,watch:mi,watchEffect:O1,watchPostEffect:A1,watchSyncEffect:Fg,withAsyncContext:fN,withCtx:Kd,withDefaults:sN,withDirectives:S1,withKeys:_I,withMemo:KN,withModifiers:EI,withScopeId:w1},Symbol.toStringTag,{value:"Module"}));const vl=Symbol(""),Fa=Symbol(""),Eb=Symbol(""),qc=Symbol(""),PI=Symbol(""),Pi=Symbol(""),xI=Symbol(""),NI=Symbol(""),_b=Symbol(""),Tb=Symbol(""),zl=Symbol(""),wb=Symbol(""),II=Symbol(""),Sb=Symbol(""),Rb=Symbol(""),Ob=Symbol(""),Ab=Symbol(""),Cb=Symbol(""),Pb=Symbol(""),MI=Symbol(""),jI=Symbol(""),sp=Symbol(""),Lc=Symbol(""),xb=Symbol(""),Nb=Symbol(""),El=Symbol(""),Yl=Symbol(""),Ib=Symbol(""),em=Symbol(""),bee=Symbol(""),tm=Symbol(""),kc=Symbol(""),vee=Symbol(""),Eee=Symbol(""),Mb=Symbol(""),_ee=Symbol(""),Tee=Symbol(""),jb=Symbol(""),qI=Symbol(""),Ms={[vl]:"Fragment",[Fa]:"Teleport",[Eb]:"Suspense",[qc]:"KeepAlive",[PI]:"BaseTransition",[Pi]:"openBlock",[xI]:"createBlock",[NI]:"createElementBlock",[_b]:"createVNode",[Tb]:"createElementVNode",[zl]:"createCommentVNode",[wb]:"createTextVNode",[II]:"createStaticVNode",[Sb]:"resolveComponent",[Rb]:"resolveDynamicComponent",[Ob]:"resolveDirective",[Ab]:"resolveFilter",[Cb]:"withDirectives",[Pb]:"renderList",[MI]:"renderSlot",[jI]:"createSlots",[sp]:"toDisplayString",[Lc]:"mergeProps",[xb]:"normalizeClass",[Nb]:"normalizeStyle",[El]:"normalizeProps",[Yl]:"guardReactiveProps",[Ib]:"toHandlers",[em]:"camelize",[bee]:"capitalize",[tm]:"toHandlerKey",[kc]:"setBlockTracking",[vee]:"pushScopeId",[Eee]:"popScopeId",[Mb]:"withCtx",[_ee]:"unref",[Tee]:"isRef",[jb]:"withMemo",[qI]:"isMemoSame"};function wee(e){Object.getOwnPropertySymbols(e).forEach(t=>{Ms[t]=e[t]})}const Ir={start:{line:1,column:1,offset:0},end:{line:1,column:1,offset:0},source:""};function See(e,t=""){return{type:0,source:t,children:e,helpers:new Set,components:[],directives:[],hoists:[],imports:[],cached:[],temps:0,codegenNode:void 0,loc:Ir}}function _l(e,t,r,n,o,i,s,a=!1,l=!1,u=!1,c=Ir){return e&&(a?(e.helper(Pi),e.helper(Ls(e.inSSR,u))):e.helper(qs(e.inSSR,u)),s&&e.helper(Cb)),{type:13,tag:t,props:r,children:n,patchFlag:o,dynamicProps:i,directives:s,isBlock:a,disableTracking:l,isComponent:u,loc:c}}function gi(e,t=Ir){return{type:17,loc:t,elements:e}}function $r(e,t=Ir){return{type:15,loc:t,properties:e}}function Pt(e,t){return{type:16,loc:Ir,key:xe(e)?Me(e,!0):e,value:t}}function Me(e,t=!1,r=Ir,n=0){return{type:4,loc:r,content:e,isStatic:t,constType:t?3:n}}function nn(e,t=Ir){return{type:8,loc:t,children:e}}function kt(e,t=[],r=Ir){return{type:14,loc:r,callee:e,arguments:t}}function js(e,t=void 0,r=!1,n=!1,o=Ir){return{type:18,params:e,returns:t,newline:r,isSlot:n,loc:o}}function rm(e,t,r,n=!0){return{type:19,test:e,consequent:t,alternate:r,newline:n,loc:Ir}}function Ree(e,t,r=!1,n=!1){return{type:20,index:e,value:t,needPauseTracking:r,inVOnce:n,needArraySpread:!1,loc:Ir}}function Oee(e){return{type:21,body:e,loc:Ir}}function qs(e,t){return e||t?_b:Tb}function Ls(e,t){return e||t?xI:NI}function qb(e,{helper:t,removeHelper:r,inSSR:n}){e.isBlock||(e.isBlock=!0,r(qs(n,e.isComponent)),t(Pi),t(Ls(n,e.isComponent)))}const UT=new Uint8Array([123,123]),HT=new Uint8Array([125,125]);function JT(e){return e>=97&&e<=122||e>=65&&e<=90}function Rr(e){return e===32||e===10||e===9||e===12||e===13}function ho(e){return e===47||e===62||Rr(e)}function Dc(e){const t=new Uint8Array(e.length);for(let r=0;r<e.length;r++)t[r]=e.charCodeAt(r);return t}const Yt={Cdata:new Uint8Array([67,68,65,84,65,91]),CdataEnd:new Uint8Array([93,93,62]),CommentEnd:new Uint8Array([45,45,62]),ScriptEnd:new Uint8Array([60,47,115,99,114,105,112,116]),StyleEnd:new Uint8Array([60,47,115,116,121,108,101]),TitleEnd:new Uint8Array([60,47,116,105,116,108,101]),TextareaEnd:new Uint8Array([60,47,116,101,120,116,97,114,101,97])};class Aee{constructor(t,r){this.stack=t,this.cbs=r,this.state=1,this.buffer="",this.sectionStart=0,this.index=0,this.entityStart=0,this.baseState=1,this.inRCDATA=!1,this.inXML=!1,this.inVPre=!1,this.newlines=[],this.mode=0,this.delimiterOpen=UT,this.delimiterClose=HT,this.delimiterIndex=-1,this.currentSequence=void 0,this.sequenceIndex=0}get inSFCRoot(){return this.mode===2&&this.stack.length===0}reset(){this.state=1,this.mode=0,this.buffer="",this.sectionStart=0,this.index=0,this.baseState=1,this.inRCDATA=!1,this.currentSequence=void 0,this.newlines.length=0,this.delimiterOpen=UT,this.delimiterClose=HT}getPos(t){let r=1,n=t+1;const o=this.newlines.length;let i=-1;if(o>100){let s=-1,a=o;for(;s+1<a;){const l=s+a>>>1;this.newlines[l]<t?s=l:a=l}i=s}else for(let s=o-1;s>=0;s--)if(t>this.newlines[s]){i=s;break}return i>=0&&(r=i+2,n=t-this.newlines[i]),{column:n,line:r,offset:t}}peek(){return this.buffer.charCodeAt(this.index+1)}stateText(t){t===60?(this.index>this.sectionStart&&this.cbs.ontext(this.sectionStart,this.index),this.state=5,this.sectionStart=this.index):!this.inVPre&&t===this.delimiterOpen[0]&&(this.state=2,this.delimiterIndex=0,this.stateInterpolationOpen(t))}stateInterpolationOpen(t){if(t===this.delimiterOpen[this.delimiterIndex])if(this.delimiterIndex===this.delimiterOpen.length-1){const r=this.index+1-this.delimiterOpen.length;r>this.sectionStart&&this.cbs.ontext(this.sectionStart,r),this.state=3,this.sectionStart=r}else this.delimiterIndex++;else this.inRCDATA?(this.state=32,this.stateInRCDATA(t)):(this.state=1,this.stateText(t))}stateInterpolation(t){t===this.delimiterClose[0]&&(this.state=4,this.delimiterIndex=0,this.stateInterpolationClose(t))}stateInterpolationClose(t){t===this.delimiterClose[this.delimiterIndex]?this.delimiterIndex===this.delimiterClose.length-1?(this.cbs.oninterpolation(this.sectionStart,this.index+1),this.inRCDATA?this.state=32:this.state=1,this.sectionStart=this.index+1):this.delimiterIndex++:(this.state=3,this.stateInterpolation(t))}stateSpecialStartSequence(t){const r=this.sequenceIndex===this.currentSequence.length;if(!(r?ho(t):(t|32)===this.currentSequence[this.sequenceIndex]))this.inRCDATA=!1;else if(!r){this.sequenceIndex++;return}this.sequenceIndex=0,this.state=6,this.stateInTagName(t)}stateInRCDATA(t){if(this.sequenceIndex===this.currentSequence.length){if(t===62||Rr(t)){const r=this.index-this.currentSequence.length;if(this.sectionStart<r){const n=this.index;this.index=r,this.cbs.ontext(this.sectionStart,r),this.index=n}this.sectionStart=r+2,this.stateInClosingTagName(t),this.inRCDATA=!1;return}this.sequenceIndex=0}(t|32)===this.currentSequence[this.sequenceIndex]?this.sequenceIndex+=1:this.sequenceIndex===0?this.currentSequence===Yt.TitleEnd||this.currentSequence===Yt.TextareaEnd&&!this.inSFCRoot?!this.inVPre&&t===this.delimiterOpen[0]&&(this.state=2,this.delimiterIndex=0,this.stateInterpolationOpen(t)):this.fastForwardTo(60)&&(this.sequenceIndex=1):this.sequenceIndex=+(t===60)}stateCDATASequence(t){t===Yt.Cdata[this.sequenceIndex]?++this.sequenceIndex===Yt.Cdata.length&&(this.state=28,this.currentSequence=Yt.CdataEnd,this.sequenceIndex=0,this.sectionStart=this.index+1):(this.sequenceIndex=0,this.state=23,this.stateInDeclaration(t))}fastForwardTo(t){for(;++this.index<this.buffer.length;){const r=this.buffer.charCodeAt(this.index);if(r===10&&this.newlines.push(this.index),r===t)return!0}return this.index=this.buffer.length-1,!1}stateInCommentLike(t){t===this.currentSequence[this.sequenceIndex]?++this.sequenceIndex===this.currentSequence.length&&(this.currentSequence===Yt.CdataEnd?this.cbs.oncdata(this.sectionStart,this.index-2):this.cbs.oncomment(this.sectionStart,this.index-2),this.sequenceIndex=0,this.sectionStart=this.index+1,this.state=1):this.sequenceIndex===0?this.fastForwardTo(this.currentSequence[0])&&(this.sequenceIndex=1):t!==this.currentSequence[this.sequenceIndex-1]&&(this.sequenceIndex=0)}startSpecial(t,r){this.enterRCDATA(t,r),this.state=31}enterRCDATA(t,r){this.inRCDATA=!0,this.currentSequence=t,this.sequenceIndex=r}stateBeforeTagName(t){t===33?(this.state=22,this.sectionStart=this.index+1):t===63?(this.state=24,this.sectionStart=this.index+1):JT(t)?(this.sectionStart=this.index,this.mode===0?this.state=6:this.inSFCRoot?this.state=34:this.inXML?this.state=6:t===116?this.state=30:this.state=t===115?29:6):t===47?this.state=8:(this.state=1,this.stateText(t))}stateInTagName(t){ho(t)&&this.handleTagName(t)}stateInSFCRootTagName(t){if(ho(t)){const r=this.buffer.slice(this.sectionStart,this.index);r!=="template"&&this.enterRCDATA(Dc("</"+r),0),this.handleTagName(t)}}handleTagName(t){this.cbs.onopentagname(this.sectionStart,this.index),this.sectionStart=-1,this.state=11,this.stateBeforeAttrName(t)}stateBeforeClosingTagName(t){Rr(t)||(t===62?(this.state=1,this.sectionStart=this.index+1):(this.state=JT(t)?9:27,this.sectionStart=this.index))}stateInClosingTagName(t){(t===62||Rr(t))&&(this.cbs.onclosetag(this.sectionStart,this.index),this.sectionStart=-1,this.state=10,this.stateAfterClosingTagName(t))}stateAfterClosingTagName(t){t===62&&(this.state=1,this.sectionStart=this.index+1)}stateBeforeAttrName(t){t===62?(this.cbs.onopentagend(this.index),this.inRCDATA?this.state=32:this.state=1,this.sectionStart=this.index+1):t===47?this.state=7:t===60&&this.peek()===47?(this.cbs.onopentagend(this.index),this.state=5,this.sectionStart=this.index):Rr(t)||this.handleAttrStart(t)}handleAttrStart(t){t===118&&this.peek()===45?(this.state=13,this.sectionStart=this.index):t===46||t===58||t===64||t===35?(this.cbs.ondirname(this.index,this.index+1),this.state=14,this.sectionStart=this.index+1):(this.state=12,this.sectionStart=this.index)}stateInSelfClosingTag(t){t===62?(this.cbs.onselfclosingtag(this.index),this.state=1,this.sectionStart=this.index+1,this.inRCDATA=!1):Rr(t)||(this.state=11,this.stateBeforeAttrName(t))}stateInAttrName(t){(t===61||ho(t))&&(this.cbs.onattribname(this.sectionStart,this.index),this.handleAttrNameEnd(t))}stateInDirName(t){t===61||ho(t)?(this.cbs.ondirname(this.sectionStart,this.index),this.handleAttrNameEnd(t)):t===58?(this.cbs.ondirname(this.sectionStart,this.index),this.state=14,this.sectionStart=this.index+1):t===46&&(this.cbs.ondirname(this.sectionStart,this.index),this.state=16,this.sectionStart=this.index+1)}stateInDirArg(t){t===61||ho(t)?(this.cbs.ondirarg(this.sectionStart,this.index),this.handleAttrNameEnd(t)):t===91?this.state=15:t===46&&(this.cbs.ondirarg(this.sectionStart,this.index),this.state=16,this.sectionStart=this.index+1)}stateInDynamicDirArg(t){t===93?this.state=14:(t===61||ho(t))&&(this.cbs.ondirarg(this.sectionStart,this.index+1),this.handleAttrNameEnd(t))}stateInDirModifier(t){t===61||ho(t)?(this.cbs.ondirmodifier(this.sectionStart,this.index),this.handleAttrNameEnd(t)):t===46&&(this.cbs.ondirmodifier(this.sectionStart,this.index),this.sectionStart=this.index+1)}handleAttrNameEnd(t){this.sectionStart=this.index,this.state=17,this.cbs.onattribnameend(this.index),this.stateAfterAttrName(t)}stateAfterAttrName(t){t===61?this.state=18:t===47||t===62?(this.cbs.onattribend(0,this.sectionStart),this.sectionStart=-1,this.state=11,this.stateBeforeAttrName(t)):Rr(t)||(this.cbs.onattribend(0,this.sectionStart),this.handleAttrStart(t))}stateBeforeAttrValue(t){t===34?(this.state=19,this.sectionStart=this.index+1):t===39?(this.state=20,this.sectionStart=this.index+1):Rr(t)||(this.sectionStart=this.index,this.state=21,this.stateInAttrValueNoQuotes(t))}handleInAttrValue(t,r){(t===r||this.fastForwardTo(r))&&(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(r===34?3:2,this.index+1),this.state=11)}stateInAttrValueDoubleQuotes(t){this.handleInAttrValue(t,34)}stateInAttrValueSingleQuotes(t){this.handleInAttrValue(t,39)}stateInAttrValueNoQuotes(t){Rr(t)||t===62?(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(1,this.index),this.state=11,this.stateBeforeAttrName(t)):(t===39||t===60||t===61||t===96)&&this.cbs.onerr(18,this.index)}stateBeforeDeclaration(t){t===91?(this.state=26,this.sequenceIndex=0):this.state=t===45?25:23}stateInDeclaration(t){(t===62||this.fastForwardTo(62))&&(this.state=1,this.sectionStart=this.index+1)}stateInProcessingInstruction(t){(t===62||this.fastForwardTo(62))&&(this.cbs.onprocessinginstruction(this.sectionStart,this.index),this.state=1,this.sectionStart=this.index+1)}stateBeforeComment(t){t===45?(this.state=28,this.currentSequence=Yt.CommentEnd,this.sequenceIndex=2,this.sectionStart=this.index+1):this.state=23}stateInSpecialComment(t){(t===62||this.fastForwardTo(62))&&(this.cbs.oncomment(this.sectionStart,this.index),this.state=1,this.sectionStart=this.index+1)}stateBeforeSpecialS(t){t===Yt.ScriptEnd[3]?this.startSpecial(Yt.ScriptEnd,4):t===Yt.StyleEnd[3]?this.startSpecial(Yt.StyleEnd,4):(this.state=6,this.stateInTagName(t))}stateBeforeSpecialT(t){t===Yt.TitleEnd[3]?this.startSpecial(Yt.TitleEnd,4):t===Yt.TextareaEnd[3]?this.startSpecial(Yt.TextareaEnd,4):(this.state=6,this.stateInTagName(t))}startEntity(){}stateInEntity(){}parse(t){for(this.buffer=t;this.index<this.buffer.length;){const r=this.buffer.charCodeAt(this.index);switch(r===10&&this.state!==33&&this.newlines.push(this.index),this.state){case 1:{this.stateText(r);break}case 2:{this.stateInterpolationOpen(r);break}case 3:{this.stateInterpolation(r);break}case 4:{this.stateInterpolationClose(r);break}case 31:{this.stateSpecialStartSequence(r);break}case 32:{this.stateInRCDATA(r);break}case 26:{this.stateCDATASequence(r);break}case 19:{this.stateInAttrValueDoubleQuotes(r);break}case 12:{this.stateInAttrName(r);break}case 13:{this.stateInDirName(r);break}case 14:{this.stateInDirArg(r);break}case 15:{this.stateInDynamicDirArg(r);break}case 16:{this.stateInDirModifier(r);break}case 28:{this.stateInCommentLike(r);break}case 27:{this.stateInSpecialComment(r);break}case 11:{this.stateBeforeAttrName(r);break}case 6:{this.stateInTagName(r);break}case 34:{this.stateInSFCRootTagName(r);break}case 9:{this.stateInClosingTagName(r);break}case 5:{this.stateBeforeTagName(r);break}case 17:{this.stateAfterAttrName(r);break}case 20:{this.stateInAttrValueSingleQuotes(r);break}case 18:{this.stateBeforeAttrValue(r);break}case 8:{this.stateBeforeClosingTagName(r);break}case 10:{this.stateAfterClosingTagName(r);break}case 29:{this.stateBeforeSpecialS(r);break}case 30:{this.stateBeforeSpecialT(r);break}case 21:{this.stateInAttrValueNoQuotes(r);break}case 7:{this.stateInSelfClosingTag(r);break}case 23:{this.stateInDeclaration(r);break}case 22:{this.stateBeforeDeclaration(r);break}case 25:{this.stateBeforeComment(r);break}case 24:{this.stateInProcessingInstruction(r);break}case 33:{this.stateInEntity();break}}this.index++}this.cleanup(),this.finish()}cleanup(){this.sectionStart!==this.index&&(this.state===1||this.state===32&&this.sequenceIndex===0?(this.cbs.ontext(this.sectionStart,this.index),this.sectionStart=this.index):(this.state===19||this.state===20||this.state===21)&&(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=this.index))}finish(){this.handleTrailingData(),this.cbs.onend()}handleTrailingData(){const t=this.buffer.length;this.sectionStart>=t||(this.state===28?this.currentSequence===Yt.CdataEnd?this.cbs.oncdata(this.sectionStart,t):this.cbs.oncomment(this.sectionStart,t):this.state===6||this.state===11||this.state===18||this.state===17||this.state===12||this.state===13||this.state===14||this.state===15||this.state===16||this.state===20||this.state===19||this.state===21||this.state===9||this.cbs.ontext(this.sectionStart,t))}emitCodePoint(t,r){}}function GT(e,{compatConfig:t}){const r=t&&t[e];return e==="MODE"?r||3:r}function bi(e,t){const r=GT("MODE",t),n=GT(e,t);return r===3?n===!0:n!==!1}function Tl(e,t,r,...n){return bi(e,t)}function Lb(e){throw e}function LI(e){}function at(e,t,r,n){const o=`https://vuejs.org/error-reference/#compiler-${e}`,i=new SyntaxError(String(o));return i.code=e,i.loc=t,i}const gr=e=>e.type===4&&e.isStatic;function kI(e){switch(e){case"Teleport":case"teleport":return Fa;case"Suspense":case"suspense":return Eb;case"KeepAlive":case"keep-alive":return qc;case"BaseTransition":case"base-transition":return PI}}const Cee=/^$|^\d|[^\$\w\xA0-\uFFFF]/,kb=e=>!Cee.test(e),DI=/[A-Za-z_$\xA0-\uFFFF]/,Pee=/[\.\?\w$\xA0-\uFFFF]/,xee=/\s+[.[]\s*|\s*[.[]\s+/g,FI=e=>e.type===4?e.content:e.loc.source,Nee=e=>{const t=FI(e).trim().replace(xee,a=>a.trim());let r=0,n=[],o=0,i=0,s=null;for(let a=0;a<t.length;a++){const l=t.charAt(a);switch(r){case 0:if(l==="[")n.push(r),r=1,o++;else if(l==="(")n.push(r),r=2,i++;else if(!(a===0?DI:Pee).test(l))return!1;break;case 1:l==="'"||l==='"'||l==="`"?(n.push(r),r=3,s=l):l==="["?o++:l==="]"&&(--o||(r=n.pop()));break;case 2:if(l==="'"||l==='"'||l==="`")n.push(r),r=3,s=l;else if(l==="(")i++;else if(l===")"){if(a===t.length-1)return!1;--i||(r=n.pop())}break;case 3:l===s&&(r=n.pop(),s=null);break}}return!o&&!i},$I=Nee,Iee=/^\s*(?:async\s*)?(?:\([^)]*?\)|[\w$_]+)\s*(?::[^=]+)?=>|^\s*(?:async\s+)?function(?:\s+[\w$]+)?\s*\(/,Mee=e=>Iee.test(FI(e)),jee=Mee;function Fr(e,t,r=!1){for(let n=0;n<e.props.length;n++){const o=e.props[n];if(o.type===7&&(r||o.exp)&&(xe(t)?o.name===t:t.test(o.name)))return o}}function ap(e,t,r=!1,n=!1){for(let o=0;o<e.props.length;o++){const i=e.props[o];if(i.type===6){if(r)continue;if(i.name===t&&(i.value||n))return i}else if(i.name==="bind"&&(i.exp||n)&&ai(i.arg,t))return i}}function ai(e,t){return!!(e&&gr(e)&&e.content===t)}function qee(e){return e.props.some(t=>t.type===7&&t.name==="bind"&&(!t.arg||t.arg.type!==4||!t.arg.isStatic))}function yf(e){return e.type===5||e.type===2}function WT(e){return e.type===7&&e.name==="pre"}function Lee(e){return e.type===7&&e.name==="slot"}function Fc(e){return e.type===1&&e.tagType===3}function $c(e){return e.type===1&&e.tagType===2}const kee=new Set([El,Yl]);function BI(e,t=[]){if(e&&!xe(e)&&e.type===14){const r=e.callee;if(!xe(r)&&kee.has(r))return BI(e.arguments[0],t.concat(e))}return[e,t]}function Bc(e,t,r){let n,o=e.type===13?e.props:e.arguments[2],i=[],s;if(o&&!xe(o)&&o.type===14){const a=BI(o);o=a[0],i=a[1],s=i[i.length-1]}if(o==null||xe(o))n=$r([t]);else if(o.type===14){const a=o.arguments[0];!xe(a)&&a.type===15?KT(t,a)||a.properties.unshift(t):o.callee===Ib?n=kt(r.helper(Lc),[$r([t]),o]):o.arguments.unshift($r([t])),!n&&(n=o)}else o.type===15?(KT(t,o)||o.properties.unshift(t),n=o):(n=kt(r.helper(Lc),[$r([t]),o]),s&&s.callee===Yl&&(s=i[i.length-2]));e.type===13?s?s.arguments[0]=n:e.props=n:s?s.arguments[0]=n:e.arguments[2]=n}function KT(e,t){let r=!1;if(e.key.type===4){const n=e.key.content;r=t.properties.some(o=>o.key.type===4&&o.key.content===n)}return r}function wl(e,t){return`_${t}_${e.replace(/[^\w]/g,(r,n)=>r==="-"?"_":e.charCodeAt(n).toString())}`}function Dee(e){return e.type===14&&e.callee===jb?e.arguments[1].returns:e}const Fee=/([\s\S]*?)\s+(?:in|of)\s+(\S[\s\S]*)/;function VI(e){for(let t=0;t<e.length;t++)if(!Rr(e.charCodeAt(t)))return!1;return!0}function Db(e){return e.type===2&&VI(e.content)||e.type===12&&Db(e.content)}function UI(e){return e.type===3||Db(e)}const HI={parseMode:"base",ns:0,delimiters:["{{","}}"],getNamespace:()=>0,isVoidTag:Yi,isPreTag:Yi,isIgnoreNewlineTag:Yi,isCustomElement:Yi,onError:Lb,onWarn:LI,comments:!1,prefixIdentifiers:!1};let Xe=HI,Sl=null,Kn="",Qt=null,Fe=null,fr="",xn=-1,si=-1,Fb=0,Ro=!1,nm=null;const ct=[],bt=new Aee(ct,{onerr:Pn,ontext(e,t){Ou(Vt(e,t),e,t)},ontextentity(e,t,r){Ou(e,t,r)},oninterpolation(e,t){if(Ro)return Ou(Vt(e,t),e,t);let r=e+bt.delimiterOpen.length,n=t-bt.delimiterClose.length;for(;Rr(Kn.charCodeAt(r));)r++;for(;Rr(Kn.charCodeAt(n-1));)n--;let o=Vt(r,n);o.includes("&")&&(o=Xe.decodeEntities(o,!1)),om({type:5,content:Ju(o,!1,Tt(r,n)),loc:Tt(e,t)})},onopentagname(e,t){const r=Vt(e,t);Qt={type:1,tag:r,ns:Xe.getNamespace(r,ct[0],Xe.ns),tagType:0,props:[],children:[],loc:Tt(e-1,t),codegenNode:void 0}},onopentagend(e){YT(e)},onclosetag(e,t){const r=Vt(e,t);if(!Xe.isVoidTag(r)){let n=!1;for(let o=0;o<ct.length;o++)if(ct[o].tag.toLowerCase()===r.toLowerCase()){n=!0,o>0&&Pn(24,ct[0].loc.start.offset);for(let s=0;s<=o;s++){const a=ct.shift();Hu(a,t,s<o)}break}n||Pn(23,JI(e,60))}},onselfclosingtag(e){const t=Qt.tag;Qt.isSelfClosing=!0,YT(e),ct[0]&&ct[0].tag===t&&Hu(ct.shift(),e)},onattribname(e,t){Fe={type:6,name:Vt(e,t),nameLoc:Tt(e,t),value:void 0,loc:Tt(e)}},ondirname(e,t){const r=Vt(e,t),n=r==="."||r===":"?"bind":r==="@"?"on":r==="#"?"slot":r.slice(2);if(!Ro&&n===""&&Pn(26,e),Ro||n==="")Fe={type:6,name:r,nameLoc:Tt(e,t),value:void 0,loc:Tt(e)};else if(Fe={type:7,name:n,rawName:r,exp:void 0,arg:void 0,modifiers:r==="."?[Me("prop")]:[],loc:Tt(e)},n==="pre"){Ro=bt.inVPre=!0,nm=Qt;const o=Qt.props;for(let i=0;i<o.length;i++)o[i].type===7&&(o[i]=zee(o[i]))}},ondirarg(e,t){if(e===t)return;const r=Vt(e,t);if(Ro&&!WT(Fe))Fe.name+=r,li(Fe.nameLoc,t);else{const n=r[0]!=="[";Fe.arg=Ju(n?r:r.slice(1,-1),n,Tt(e,t),n?3:0)}},ondirmodifier(e,t){const r=Vt(e,t);if(Ro&&!WT(Fe))Fe.name+="."+r,li(Fe.nameLoc,t);else if(Fe.name==="slot"){const n=Fe.arg;n&&(n.content+="."+r,li(n.loc,t))}else{const n=Me(r,!0,Tt(e,t));Fe.modifiers.push(n)}},onattribdata(e,t){fr+=Vt(e,t),xn<0&&(xn=e),si=t},onattribentity(e,t,r){fr+=e,xn<0&&(xn=t),si=r},onattribnameend(e){const t=Fe.loc.start.offset,r=Vt(t,e);Fe.type===7&&(Fe.rawName=r),Qt.props.some(n=>(n.type===7?n.rawName:n.name)===r)&&Pn(2,t)},onattribend(e,t){if(Qt&&Fe){if(li(Fe.loc,t),e!==0)if(fr.includes("&")&&(fr=Xe.decodeEntities(fr,!0)),Fe.type===6)Fe.name==="class"&&(fr=WI(fr).trim()),e===1&&!fr&&Pn(13,t),Fe.value={type:2,content:fr,loc:e===1?Tt(xn,si):Tt(xn-1,si+1)},bt.inSFCRoot&&Qt.tag==="template"&&Fe.name==="lang"&&fr&&fr!=="html"&&bt.enterRCDATA(Dc("</template"),0);else{let r=0;Fe.exp=Ju(fr,!1,Tt(xn,si),0,r),Fe.name==="for"&&(Fe.forParseResult=Bee(Fe.exp));let n=-1;Fe.name==="bind"&&(n=Fe.modifiers.findIndex(o=>o.content==="sync"))>-1&&Tl("COMPILER_V_BIND_SYNC",Xe,Fe.loc,Fe.arg.loc.source)&&(Fe.name="model",Fe.modifiers.splice(n,1))}(Fe.type!==7||Fe.name!=="pre")&&Qt.props.push(Fe)}fr="",xn=si=-1},oncomment(e,t){Xe.comments&&om({type:3,content:Vt(e,t),loc:Tt(e-4,t+3)})},onend(){const e=Kn.length;for(let t=0;t<ct.length;t++)Hu(ct[t],e-1),Pn(24,ct[t].loc.start.offset)},oncdata(e,t){ct[0].ns!==0?Ou(Vt(e,t),e,t):Pn(1,e-9)},onprocessinginstruction(e){(ct[0]?ct[0].ns:Xe.ns)===0&&Pn(21,e-1)}}),zT=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,$ee=/^\(|\)$/g;function Bee(e){const t=e.loc,r=e.content,n=r.match(Fee);if(!n)return;const[,o,i]=n,s=(d,f,h=!1)=>{const m=t.start.offset+f,g=m+d.length;return Ju(d,!1,Tt(m,g),0,h?1:0)},a={source:s(i.trim(),r.indexOf(i,o.length)),value:void 0,key:void 0,index:void 0,finalized:!1};let l=o.trim().replace($ee,"").trim();const u=o.indexOf(l),c=l.match(zT);if(c){l=l.replace(zT,"").trim();const d=c[1].trim();let f;if(d&&(f=r.indexOf(d,u+l.length),a.key=s(d,f,!0)),c[2]){const h=c[2].trim();h&&(a.index=s(h,r.indexOf(h,a.key?f+d.length:u+l.length),!0))}}return l&&(a.value=s(l,u,!0)),a}function Vt(e,t){return Kn.slice(e,t)}function YT(e){bt.inSFCRoot&&(Qt.innerLoc=Tt(e+1,e+1)),om(Qt);const{tag:t,ns:r}=Qt;r===0&&Xe.isPreTag(t)&&Fb++,Xe.isVoidTag(t)?Hu(Qt,e):(ct.unshift(Qt),(r===1||r===2)&&(bt.inXML=!0)),Qt=null}function Ou(e,t,r){{const i=ct[0]&&ct[0].tag;i!=="script"&&i!=="style"&&e.includes("&")&&(e=Xe.decodeEntities(e,!1))}const n=ct[0]||Sl,o=n.children[n.children.length-1];o&&o.type===2?(o.content+=e,li(o.loc,r)):n.children.push({type:2,content:e,loc:Tt(t,r)})}function Hu(e,t,r=!1){r?li(e.loc,JI(t,60)):li(e.loc,Vee(t,62)+1),bt.inSFCRoot&&(e.children.length?e.innerLoc.end=ke({},e.children[e.children.length-1].loc.end):e.innerLoc.end=ke({},e.innerLoc.start),e.innerLoc.source=Vt(e.innerLoc.start.offset,e.innerLoc.end.offset));const{tag:n,ns:o,children:i}=e;if(Ro||(n==="slot"?e.tagType=2:XT(e)?e.tagType=3:Hee(e)&&(e.tagType=1)),bt.inRCDATA||(e.children=GI(i)),o===0&&Xe.isIgnoreNewlineTag(n)){const s=i[0];s&&s.type===2&&(s.content=s.content.replace(/^\r?\n/,""))}o===0&&Xe.isPreTag(n)&&Fb--,nm===e&&(Ro=bt.inVPre=!1,nm=null),bt.inXML&&(ct[0]?ct[0].ns:Xe.ns)===0&&(bt.inXML=!1);{const s=e.props;if(!bt.inSFCRoot&&bi("COMPILER_NATIVE_TEMPLATE",Xe)&&e.tag==="template"&&!XT(e)){const l=ct[0]||Sl,u=l.children.indexOf(e);l.children.splice(u,1,...e.children)}const a=s.find(l=>l.type===6&&l.name==="inline-template");a&&Tl("COMPILER_INLINE_TEMPLATE",Xe,a.loc)&&e.children.length&&(a.value={type:2,content:Vt(e.children[0].loc.start.offset,e.children[e.children.length-1].loc.end.offset),loc:a.loc})}}function Vee(e,t){let r=e;for(;Kn.charCodeAt(r)!==t&&r<Kn.length-1;)r++;return r}function JI(e,t){let r=e;for(;Kn.charCodeAt(r)!==t&&r>=0;)r--;return r}const Uee=new Set(["if","else","else-if","for","slot"]);function XT({tag:e,props:t}){if(e==="template"){for(let r=0;r<t.length;r++)if(t[r].type===7&&Uee.has(t[r].name))return!0}return!1}function Hee({tag:e,props:t}){if(Xe.isCustomElement(e))return!1;if(e==="component"||Jee(e.charCodeAt(0))||kI(e)||Xe.isBuiltInComponent&&Xe.isBuiltInComponent(e)||Xe.isNativeTag&&!Xe.isNativeTag(e))return!0;for(let r=0;r<t.length;r++){const n=t[r];if(n.type===6){if(n.name==="is"&&n.value){if(n.value.content.startsWith("vue:"))return!0;if(Tl("COMPILER_IS_ON_ELEMENT",Xe,n.loc))return!0}}else if(n.name==="bind"&&ai(n.arg,"is")&&Tl("COMPILER_IS_ON_ELEMENT",Xe,n.loc))return!0}return!1}function Jee(e){return e>64&&e<91}const Gee=/\r\n/g;function GI(e){const t=Xe.whitespace!=="preserve";let r=!1;for(let n=0;n<e.length;n++){const o=e[n];if(o.type===2)if(Fb)o.content=o.content.replace(Gee,`
1025
+ `);else if(VI(o.content)){const i=e[n-1]&&e[n-1].type,s=e[n+1]&&e[n+1].type;!i||!s||t&&(i===3&&(s===3||s===1)||i===1&&(s===3||s===1&&Wee(o.content)))?(r=!0,e[n]=null):o.content=" "}else t&&(o.content=WI(o.content))}return r?e.filter(Boolean):e}function Wee(e){for(let t=0;t<e.length;t++){const r=e.charCodeAt(t);if(r===10||r===13)return!0}return!1}function WI(e){let t="",r=!1;for(let n=0;n<e.length;n++)Rr(e.charCodeAt(n))?r||(t+=" ",r=!0):(t+=e[n],r=!1);return t}function om(e){(ct[0]||Sl).children.push(e)}function Tt(e,t){return{start:bt.getPos(e),end:t==null?t:bt.getPos(t),source:t==null?t:Vt(e,t)}}function Kee(e){return Tt(e.start.offset,e.end.offset)}function li(e,t){e.end=bt.getPos(t),e.source=Vt(e.start.offset,t)}function zee(e){const t={type:6,name:e.rawName,nameLoc:Tt(e.loc.start.offset,e.loc.start.offset+e.rawName.length),value:void 0,loc:e.loc};if(e.exp){const r=e.exp.loc;r.end.offset<e.loc.end.offset&&(r.start.offset--,r.start.column--,r.end.offset++,r.end.column++),t.value={type:2,content:e.exp.content,loc:r}}return t}function Ju(e,t=!1,r,n=0,o=0){return Me(e,t,r,n)}function Pn(e,t,r){Xe.onError(at(e,Tt(t,t)))}function Yee(){bt.reset(),Qt=null,Fe=null,fr="",xn=-1,si=-1,ct.length=0}function Xee(e,t){if(Yee(),Kn=e,Xe=ke({},HI),t){let o;for(o in t)t[o]!=null&&(Xe[o]=t[o])}bt.mode=Xe.parseMode==="html"?1:Xe.parseMode==="sfc"?2:0,bt.inXML=Xe.ns===1||Xe.ns===2;const r=t&&t.delimiters;r&&(bt.delimiterOpen=Dc(r[0]),bt.delimiterClose=Dc(r[1]));const n=Sl=See([],e);return bt.parse(Kn),n.loc=Tt(0,e.length),n.children=GI(n.children),Sl=null,n}function Qee(e,t){Gu(e,void 0,t,!!KI(e))}function KI(e){const t=e.children.filter(r=>r.type!==3);return t.length===1&&t[0].type===1&&!$c(t[0])?t[0]:null}function Gu(e,t,r,n=!1,o=!1){const{children:i}=e,s=[];for(let c=0;c<i.length;c++){const d=i[c];if(d.type===1&&d.tagType===0){const f=n?0:Ar(d,r);if(f>0){if(f>=2){d.codegenNode.patchFlag=-1,s.push(d);continue}}else{const h=d.codegenNode;if(h.type===13){const m=h.patchFlag;if((m===void 0||m===512||m===1)&&YI(d,r)>=2){const g=XI(d);g&&(h.props=r.hoist(g))}h.dynamicProps&&(h.dynamicProps=r.hoist(h.dynamicProps))}}}else if(d.type===12&&(n?0:Ar(d,r))>=2){d.codegenNode.type===14&&d.codegenNode.arguments.length>0&&d.codegenNode.arguments.push("-1"),s.push(d);continue}if(d.type===1){const f=d.tagType===1;f&&r.scopes.vSlot++,Gu(d,e,r,!1,o),f&&r.scopes.vSlot--}else if(d.type===11)Gu(d,e,r,d.children.length===1,!0);else if(d.type===9)for(let f=0;f<d.branches.length;f++)Gu(d.branches[f],e,r,d.branches[f].children.length===1,o)}let a=!1;if(s.length===i.length&&e.type===1){if(e.tagType===0&&e.codegenNode&&e.codegenNode.type===13&&be(e.codegenNode.children))e.codegenNode.children=l(gi(e.codegenNode.children)),a=!0;else if(e.tagType===1&&e.codegenNode&&e.codegenNode.type===13&&e.codegenNode.children&&!be(e.codegenNode.children)&&e.codegenNode.children.type===15){const c=u(e.codegenNode,"default");c&&(c.returns=l(gi(c.returns)),a=!0)}else if(e.tagType===3&&t&&t.type===1&&t.tagType===1&&t.codegenNode&&t.codegenNode.type===13&&t.codegenNode.children&&!be(t.codegenNode.children)&&t.codegenNode.children.type===15){const c=Fr(e,"slot",!0),d=c&&c.arg&&u(t.codegenNode,c.arg);d&&(d.returns=l(gi(d.returns)),a=!0)}}if(!a)for(const c of s)c.codegenNode=r.cache(c.codegenNode);function l(c){const d=r.cache(c);return d.needArraySpread=!0,d}function u(c,d){if(c.children&&!be(c.children)&&c.children.type===15){const f=c.children.properties.find(h=>h.key===d||h.key.content===d);return f&&f.value}}s.length&&r.transformHoist&&r.transformHoist(i,r,e)}function Ar(e,t){const{constantCache:r}=t;switch(e.type){case 1:if(e.tagType!==0)return 0;const n=r.get(e);if(n!==void 0)return n;const o=e.codegenNode;if(o.type!==13||o.isBlock&&e.tag!=="svg"&&e.tag!=="foreignObject"&&e.tag!=="math")return 0;if(o.patchFlag===void 0){let s=3;const a=YI(e,t);if(a===0)return r.set(e,0),0;a<s&&(s=a);for(let l=0;l<e.children.length;l++){const u=Ar(e.children[l],t);if(u===0)return r.set(e,0),0;u<s&&(s=u)}if(s>1)for(let l=0;l<e.props.length;l++){const u=e.props[l];if(u.type===7&&u.name==="bind"&&u.exp){const c=Ar(u.exp,t);if(c===0)return r.set(e,0),0;c<s&&(s=c)}}if(o.isBlock){for(let l=0;l<e.props.length;l++)if(e.props[l].type===7)return r.set(e,0),0;t.removeHelper(Pi),t.removeHelper(Ls(t.inSSR,o.isComponent)),o.isBlock=!1,t.helper(qs(t.inSSR,o.isComponent))}return r.set(e,s),s}else return r.set(e,0),0;case 2:case 3:return 3;case 9:case 11:case 10:return 0;case 5:case 12:return Ar(e.content,t);case 4:return e.constType;case 8:let i=3;for(let s=0;s<e.children.length;s++){const a=e.children[s];if(xe(a)||vr(a))continue;const l=Ar(a,t);if(l===0)return 0;l<i&&(i=l)}return i;case 20:return 2;default:return 0}}const Zee=new Set([xb,Nb,El,Yl]);function zI(e,t){if(e.type===14&&!xe(e.callee)&&Zee.has(e.callee)){const r=e.arguments[0];if(r.type===4)return Ar(r,t);if(r.type===14)return zI(r,t)}return 0}function YI(e,t){let r=3;const n=XI(e);if(n&&n.type===15){const{properties:o}=n;for(let i=0;i<o.length;i++){const{key:s,value:a}=o[i],l=Ar(s,t);if(l===0)return l;l<r&&(r=l);let u;if(a.type===4?u=Ar(a,t):a.type===14?u=zI(a,t):u=0,u===0)return u;u<r&&(r=u)}}return r}function XI(e){const t=e.codegenNode;if(t.type===13)return t.props}function ete(e,{filename:t="",prefixIdentifiers:r=!1,hoistStatic:n=!1,hmr:o=!1,cacheHandlers:i=!1,nodeTransforms:s=[],directiveTransforms:a={},transformHoist:l=null,isBuiltInComponent:u=Wt,isCustomElement:c=Wt,expressionPlugins:d=[],scopeId:f=null,slotted:h=!0,ssr:m=!1,inSSR:g=!1,ssrCssVars:v="",bindingMetadata:b=$e,inline:E=!1,isTS:S=!1,onError:A=Lb,onWarn:C=LI,compatConfig:T}){const w=t.replace(/\?.*$/,"").match(/([^/\\]+)\.\w+$/),_={filename:t,selfName:w&&Ho(it(w[1])),prefixIdentifiers:r,hoistStatic:n,hmr:o,cacheHandlers:i,nodeTransforms:s,directiveTransforms:a,transformHoist:l,isBuiltInComponent:u,isCustomElement:c,expressionPlugins:d,scopeId:f,slotted:h,ssr:m,inSSR:g,ssrCssVars:v,bindingMetadata:b,inline:E,isTS:S,onError:A,onWarn:C,compatConfig:T,root:e,helpers:new Map,components:new Set,directives:new Set,hoists:[],imports:[],cached:[],constantCache:new WeakMap,temps:0,identifiers:Object.create(null),scopes:{vFor:0,vSlot:0,vPre:0,vOnce:0},parent:null,grandParent:null,currentNode:e,childIndex:0,inVOnce:!1,helper(R){const M=_.helpers.get(R)||0;return _.helpers.set(R,M+1),R},removeHelper(R){const M=_.helpers.get(R);if(M){const N=M-1;N?_.helpers.set(R,N):_.helpers.delete(R)}},helperString(R){return`_${Ms[_.helper(R)]}`},replaceNode(R){_.parent.children[_.childIndex]=_.currentNode=R},removeNode(R){const M=_.parent.children,N=R?M.indexOf(R):_.currentNode?_.childIndex:-1;!R||R===_.currentNode?(_.currentNode=null,_.onNodeRemoved()):_.childIndex>N&&(_.childIndex--,_.onNodeRemoved()),_.parent.children.splice(N,1)},onNodeRemoved:Wt,addIdentifiers(R){},removeIdentifiers(R){},hoist(R){xe(R)&&(R=Me(R)),_.hoists.push(R);const M=Me(`_hoisted_${_.hoists.length}`,!1,R.loc,2);return M.hoisted=R,M},cache(R,M=!1,N=!1){const q=Ree(_.cached.length,R,M,N);return _.cached.push(q),q}};return _.filters=new Set,_}function tte(e,t){const r=ete(e,t);lp(e,r),t.hoistStatic&&Qee(e,r),t.ssr||rte(e,r),e.helpers=new Set([...r.helpers.keys()]),e.components=[...r.components],e.directives=[...r.directives],e.imports=r.imports,e.hoists=r.hoists,e.temps=r.temps,e.cached=r.cached,e.transformed=!0,e.filters=[...r.filters]}function rte(e,t){const{helper:r}=t,{children:n}=e;if(n.length===1){const o=KI(e);if(o&&o.codegenNode){const i=o.codegenNode;i.type===13&&qb(i,t),e.codegenNode=i}else e.codegenNode=n[0]}else if(n.length>1){let o=64;e.codegenNode=_l(t,r(vl),void 0,e.children,o,void 0,void 0,!0,void 0,!1)}}function nte(e,t){let r=0;const n=()=>{r--};for(;r<e.children.length;r++){const o=e.children[r];xe(o)||(t.grandParent=t.parent,t.parent=e,t.childIndex=r,t.onNodeRemoved=n,lp(o,t))}}function lp(e,t){t.currentNode=e;const{nodeTransforms:r}=t,n=[];for(let i=0;i<r.length;i++){const s=r[i](e,t);if(s&&(be(s)?n.push(...s):n.push(s)),t.currentNode)e=t.currentNode;else return}switch(e.type){case 3:t.ssr||t.helper(zl);break;case 5:t.ssr||t.helper(sp);break;case 9:for(let i=0;i<e.branches.length;i++)lp(e.branches[i],t);break;case 10:case 11:case 1:case 0:nte(e,t);break}t.currentNode=e;let o=n.length;for(;o--;)n[o]()}function QI(e,t){const r=xe(e)?n=>n===e:n=>e.test(n);return(n,o)=>{if(n.type===1){const{props:i}=n;if(n.tagType===3&&i.some(Lee))return;const s=[];for(let a=0;a<i.length;a++){const l=i[a];if(l.type===7&&r(l.name)){i.splice(a,1),a--;const u=t(n,l,o);u&&s.push(u)}}return s}}}const up="/*@__PURE__*/",ZI=e=>`${Ms[e]}: _${Ms[e]}`;function ote(e,{mode:t="function",prefixIdentifiers:r=t==="module",sourceMap:n=!1,filename:o="template.vue.html",scopeId:i=null,optimizeImports:s=!1,runtimeGlobalName:a="Vue",runtimeModuleName:l="vue",ssrRuntimeModuleName:u="vue/server-renderer",ssr:c=!1,isTS:d=!1,inSSR:f=!1}){const h={mode:t,prefixIdentifiers:r,sourceMap:n,filename:o,scopeId:i,optimizeImports:s,runtimeGlobalName:a,runtimeModuleName:l,ssrRuntimeModuleName:u,ssr:c,isTS:d,inSSR:f,source:e.source,code:"",column:1,line:1,offset:0,indentLevel:0,pure:!1,map:void 0,helper(g){return`_${Ms[g]}`},push(g,v=-2,b){h.code+=g},indent(){m(++h.indentLevel)},deindent(g=!1){g?--h.indentLevel:m(--h.indentLevel)},newline(){m(h.indentLevel)}};function m(g){h.push(`
1026
+ `+" ".repeat(g),0)}return h}function ite(e,t={}){const r=ote(e,t);t.onContextCreated&&t.onContextCreated(r);const{mode:n,push:o,prefixIdentifiers:i,indent:s,deindent:a,newline:l,scopeId:u,ssr:c}=r,d=Array.from(e.helpers),f=d.length>0,h=!i&&n!=="module";ste(e,r);const g=c?"ssrRender":"render",b=(c?["_ctx","_push","_parent","_attrs"]:["_ctx","_cache"]).join(", ");if(o(`function ${g}(${b}) {`),s(),h&&(o("with (_ctx) {"),s(),f&&(o(`const { ${d.map(ZI).join(", ")} } = _Vue
1027
+ `,-1),l())),e.components.length&&(gf(e.components,"component",r),(e.directives.length||e.temps>0)&&l()),e.directives.length&&(gf(e.directives,"directive",r),e.temps>0&&l()),e.filters&&e.filters.length&&(l(),gf(e.filters,"filter",r),l()),e.temps>0){o("let ");for(let E=0;E<e.temps;E++)o(`${E>0?", ":""}_temp${E}`)}return(e.components.length||e.directives.length||e.temps)&&(o(`
1028
+ `,0),l()),c||o("return "),e.codegenNode?rr(e.codegenNode,r):o("null"),h&&(a(),o("}")),a(),o("}"),{ast:e,code:r.code,preamble:"",map:r.map?r.map.toJSON():void 0}}function ste(e,t){const{ssr:r,prefixIdentifiers:n,push:o,newline:i,runtimeModuleName:s,runtimeGlobalName:a,ssrRuntimeModuleName:l}=t,u=a,c=Array.from(e.helpers);if(c.length>0&&(o(`const _Vue = ${u}
1029
+ `,-1),e.hoists.length)){const d=[_b,Tb,zl,wb,II].filter(f=>c.includes(f)).map(ZI).join(", ");o(`const { ${d} } = _Vue
1030
+ `,-1)}ate(e.hoists,t),i(),o("return ")}function gf(e,t,{helper:r,push:n,newline:o,isTS:i}){const s=r(t==="filter"?Ab:t==="component"?Sb:Ob);for(let a=0;a<e.length;a++){let l=e[a];const u=l.endsWith("__self");u&&(l=l.slice(0,-6)),n(`const ${wl(l,t)} = ${s}(${JSON.stringify(l)}${u?", true":""})${i?"!":""}`),a<e.length-1&&o()}}function ate(e,t){if(!e.length)return;t.pure=!0;const{push:r,newline:n}=t;n();for(let o=0;o<e.length;o++){const i=e[o];i&&(r(`const _hoisted_${o+1} = `),rr(i,t),n())}t.pure=!1}function $b(e,t){const r=e.length>3||!1;t.push("["),r&&t.indent(),Xl(e,t,r),r&&t.deindent(),t.push("]")}function Xl(e,t,r=!1,n=!0){const{push:o,newline:i}=t;for(let s=0;s<e.length;s++){const a=e[s];xe(a)?o(a,-3):be(a)?$b(a,t):rr(a,t),s<e.length-1&&(r?(n&&o(","),i()):n&&o(", "))}}function rr(e,t){if(xe(e)){t.push(e,-3);return}if(vr(e)){t.push(t.helper(e));return}switch(e.type){case 1:case 9:case 11:rr(e.codegenNode,t);break;case 2:lte(e,t);break;case 4:eM(e,t);break;case 5:ute(e,t);break;case 12:rr(e.codegenNode,t);break;case 8:tM(e,t);break;case 3:dte(e,t);break;case 13:pte(e,t);break;case 14:hte(e,t);break;case 15:mte(e,t);break;case 17:yte(e,t);break;case 18:gte(e,t);break;case 19:bte(e,t);break;case 20:vte(e,t);break;case 21:Xl(e.body,t,!0,!1);break}}function lte(e,t){t.push(JSON.stringify(e.content),-3,e)}function eM(e,t){const{content:r,isStatic:n}=e;t.push(n?JSON.stringify(r):r,-3,e)}function ute(e,t){const{push:r,helper:n,pure:o}=t;o&&r(up),r(`${n(sp)}(`),rr(e.content,t),r(")")}function tM(e,t){for(let r=0;r<e.children.length;r++){const n=e.children[r];xe(n)?t.push(n,-3):rr(n,t)}}function cte(e,t){const{push:r}=t;if(e.type===8)r("["),tM(e,t),r("]");else if(e.isStatic){const n=kb(e.content)?e.content:JSON.stringify(e.content);r(n,-2,e)}else r(`[${e.content}]`,-3,e)}function dte(e,t){const{push:r,helper:n,pure:o}=t;o&&r(up),r(`${n(zl)}(${JSON.stringify(e.content)})`,-3,e)}function pte(e,t){const{push:r,helper:n,pure:o}=t,{tag:i,props:s,children:a,patchFlag:l,dynamicProps:u,directives:c,isBlock:d,disableTracking:f,isComponent:h}=e;let m;l&&(m=String(l)),c&&r(n(Cb)+"("),d&&r(`(${n(Pi)}(${f?"true":""}), `),o&&r(up);const g=d?Ls(t.inSSR,h):qs(t.inSSR,h);r(n(g)+"(",-2,e),Xl(fte([i,s,a,m,u]),t),r(")"),d&&r(")"),c&&(r(", "),rr(c,t),r(")"))}function fte(e){let t=e.length;for(;t--&&e[t]==null;);return e.slice(0,t+1).map(r=>r||"null")}function hte(e,t){const{push:r,helper:n,pure:o}=t,i=xe(e.callee)?e.callee:n(e.callee);o&&r(up),r(i+"(",-2,e),Xl(e.arguments,t),r(")")}function mte(e,t){const{push:r,indent:n,deindent:o,newline:i}=t,{properties:s}=e;if(!s.length){r("{}",-2,e);return}const a=s.length>1||!1;r(a?"{":"{ "),a&&n();for(let l=0;l<s.length;l++){const{key:u,value:c}=s[l];cte(u,t),r(": "),rr(c,t),l<s.length-1&&(r(","),i())}a&&o(),r(a?"}":" }")}function yte(e,t){$b(e.elements,t)}function gte(e,t){const{push:r,indent:n,deindent:o}=t,{params:i,returns:s,body:a,newline:l,isSlot:u}=e;u&&r(`_${Ms[Mb]}(`),r("(",-2,e),be(i)?Xl(i,t):i&&rr(i,t),r(") => "),(l||a)&&(r("{"),n()),s?(l&&r("return "),be(s)?$b(s,t):rr(s,t)):a&&rr(a,t),(l||a)&&(o(),r("}")),u&&(e.isNonScopedSlot&&r(", undefined, true"),r(")"))}function bte(e,t){const{test:r,consequent:n,alternate:o,newline:i}=e,{push:s,indent:a,deindent:l,newline:u}=t;if(r.type===4){const d=!kb(r.content);d&&s("("),eM(r,t),d&&s(")")}else s("("),rr(r,t),s(")");i&&a(),t.indentLevel++,i||s(" "),s("? "),rr(n,t),t.indentLevel--,i&&u(),i||s(" "),s(": ");const c=o.type===19;c||t.indentLevel++,rr(o,t),c||t.indentLevel--,i&&l(!0)}function vte(e,t){const{push:r,helper:n,indent:o,deindent:i,newline:s}=t,{needPauseTracking:a,needArraySpread:l}=e;l&&r("[...("),r(`_cache[${e.index}] || (`),a&&(o(),r(`${n(kc)}(-1`),e.inVOnce&&r(", true"),r("),"),s(),r("(")),r(`_cache[${e.index}] = `),rr(e.value,t),a&&(r(`).cacheIndex = ${e.index},`),s(),r(`${n(kc)}(1),`),s(),r(`_cache[${e.index}]`),i()),r(")"),l&&r(")]")}new RegExp("\\b"+"arguments,await,break,case,catch,class,const,continue,debugger,default,delete,do,else,export,extends,finally,for,function,if,import,let,new,return,super,switch,throw,try,var,void,while,with,yield".split(",").join("\\b|\\b")+"\\b");const Ete=QI(/^(?:if|else|else-if)$/,(e,t,r)=>_te(e,t,r,(n,o,i)=>{const s=r.parent.children;let a=s.indexOf(n),l=0;for(;a-->=0;){const u=s[a];u&&u.type===9&&(l+=u.branches.length)}return()=>{if(i)n.codegenNode=ZT(o,l,r);else{const u=Tte(n.codegenNode);u.alternate=ZT(o,l+n.branches.length-1,r)}}}));function _te(e,t,r,n){if(t.name!=="else"&&(!t.exp||!t.exp.content.trim())){const o=t.exp?t.exp.loc:e.loc;r.onError(at(28,t.loc)),t.exp=Me("true",!1,o)}if(t.name==="if"){const o=QT(e,t),i={type:9,loc:Kee(e.loc),branches:[o]};if(r.replaceNode(i),n)return n(i,o,!0)}else{const o=r.parent.children;let i=o.indexOf(e);for(;i-->=-1;){const s=o[i];if(s&&UI(s)){r.removeNode(s);continue}if(s&&s.type===9){(t.name==="else-if"||t.name==="else")&&s.branches[s.branches.length-1].condition===void 0&&r.onError(at(30,e.loc)),r.removeNode();const a=QT(e,t);s.branches.push(a);const l=n&&n(s,a,!1);lp(a,r),l&&l(),r.currentNode=null}else r.onError(at(30,e.loc));break}}}function QT(e,t){const r=e.tagType===3;return{type:10,loc:e.loc,condition:t.name==="else"?void 0:t.exp,children:r&&!Fr(e,"for")?e.children:[e],userKey:ap(e,"key"),isTemplateIf:r}}function ZT(e,t,r){return e.condition?rm(e.condition,ew(e,t,r),kt(r.helper(zl),['""',"true"])):ew(e,t,r)}function ew(e,t,r){const{helper:n}=r,o=Pt("key",Me(`${t}`,!1,Ir,2)),{children:i}=e,s=i[0];if(i.length!==1||s.type!==1)if(i.length===1&&s.type===11){const l=s.codegenNode;return Bc(l,o,r),l}else return _l(r,n(vl),$r([o]),i,64,void 0,void 0,!0,!1,!1,e.loc);else{const l=s.codegenNode,u=Dee(l);return u.type===13&&qb(u,r),Bc(u,o,r),l}}function Tte(e){for(;;)if(e.type===19)if(e.alternate.type===19)e=e.alternate;else return e;else e.type===20&&(e=e.value)}const wte=QI("for",(e,t,r)=>{const{helper:n,removeHelper:o}=r;return Ste(e,t,r,i=>{const s=kt(n(Pb),[i.source]),a=Fc(e),l=Fr(e,"memo"),u=ap(e,"key",!1,!0);u&&u.type;let c=u&&(u.type===6?u.value?Me(u.value.content,!0):void 0:u.exp);const d=u&&c?Pt("key",c):null,f=i.source.type===4&&i.source.constType>0,h=f?64:u?128:256;return i.codegenNode=_l(r,n(vl),void 0,s,h,void 0,void 0,!0,!f,!1,e.loc),()=>{let m;const{children:g}=i,v=g.length!==1||g[0].type!==1,b=$c(e)?e:a&&e.children.length===1&&$c(e.children[0])?e.children[0]:null;if(b?(m=b.codegenNode,a&&d&&Bc(m,d,r)):v?m=_l(r,n(vl),d?$r([d]):void 0,e.children,64,void 0,void 0,!0,void 0,!1):(m=g[0].codegenNode,a&&d&&Bc(m,d,r),m.isBlock!==!f&&(m.isBlock?(o(Pi),o(Ls(r.inSSR,m.isComponent))):o(qs(r.inSSR,m.isComponent))),m.isBlock=!f,m.isBlock?(n(Pi),n(Ls(r.inSSR,m.isComponent))):n(qs(r.inSSR,m.isComponent))),l){const E=js(im(i.parseResult,[Me("_cached")]));E.body=Oee([nn(["const _memo = (",l.exp,")"]),nn(["if (_cached",...c?[" && _cached.key === ",c]:[],` && ${r.helperString(qI)}(_cached, _memo)) return _cached`]),nn(["const _item = ",m]),Me("_item.memo = _memo"),Me("return _item")]),s.arguments.push(E,Me("_cache"),Me(String(r.cached.length))),r.cached.push(null)}else s.arguments.push(js(im(i.parseResult),m,!0))}})});function Ste(e,t,r,n){if(!t.exp){r.onError(at(31,t.loc));return}const o=t.forParseResult;if(!o){r.onError(at(32,t.loc));return}rM(o);const{addIdentifiers:i,removeIdentifiers:s,scopes:a}=r,{source:l,value:u,key:c,index:d}=o,f={type:11,loc:t.loc,source:l,valueAlias:u,keyAlias:c,objectIndexAlias:d,parseResult:o,children:Fc(e)?e.children:[e]};r.replaceNode(f),a.vFor++;const h=n&&n(f);return()=>{a.vFor--,h&&h()}}function rM(e,t){e.finalized||(e.finalized=!0)}function im({value:e,key:t,index:r},n=[]){return Rte([e,t,r,...n])}function Rte(e){let t=e.length;for(;t--&&!e[t];);return e.slice(0,t+1).map((r,n)=>r||Me("_".repeat(n+1),!1))}const tw=Me("undefined",!1),Ote=(e,t)=>{if(e.type===1&&(e.tagType===1||e.tagType===3)){const r=Fr(e,"slot");if(r)return r.exp,t.scopes.vSlot++,()=>{t.scopes.vSlot--}}},Ate=(e,t,r,n)=>js(e,r,!1,!0,r.length?r[0].loc:n);function Cte(e,t,r=Ate){t.helper(Mb);const{children:n,loc:o}=e,i=[],s=[];let a=t.scopes.vSlot>0||t.scopes.vFor>0;const l=Fr(e,"slot",!0);if(l){const{arg:v,exp:b}=l;v&&!gr(v)&&(a=!0),i.push(Pt(v||Me("default",!0),r(b,void 0,n,o)))}let u=!1,c=!1;const d=[],f=new Set;let h=0;for(let v=0;v<n.length;v++){const b=n[v];let E;if(!Fc(b)||!(E=Fr(b,"slot",!0))){b.type!==3&&d.push(b);continue}if(l){t.onError(at(37,E.loc));break}u=!0;const{children:S,loc:A}=b,{arg:C=Me("default",!0),exp:T,loc:w}=E;let _;gr(C)?_=C?C.content:"default":a=!0;const R=Fr(b,"for"),M=r(T,R,S,A);let N,q;if(N=Fr(b,"if"))a=!0,s.push(rm(N.exp,Au(C,M,h++),tw));else if(q=Fr(b,/^else(?:-if)?$/,!0)){let x=v,P;for(;x--&&(P=n[x],!!UI(P)););if(P&&Fc(P)&&Fr(P,/^(?:else-)?if$/)){let L=s[s.length-1];for(;L.alternate.type===19;)L=L.alternate;L.alternate=q.exp?rm(q.exp,Au(C,M,h++),tw):Au(C,M,h++)}else t.onError(at(30,q.loc))}else if(R){a=!0;const x=R.forParseResult;x?(rM(x),s.push(kt(t.helper(Pb),[x.source,js(im(x),Au(C,M),!0)]))):t.onError(at(32,R.loc))}else{if(_){if(f.has(_)){t.onError(at(38,w));continue}f.add(_),_==="default"&&(c=!0)}i.push(Pt(C,M))}}if(!l){const v=(b,E)=>{const S=r(b,void 0,E,o);return t.compatConfig&&(S.isNonScopedSlot=!0),Pt("default",S)};u?d.length&&!d.every(Db)&&(c?t.onError(at(39,d[0].loc)):i.push(v(void 0,d))):i.push(v(void 0,n))}const m=a?2:Wu(e.children)?3:1;let g=$r(i.concat(Pt("_",Me(m+"",!1))),o);return s.length&&(g=kt(t.helper(jI),[g,gi(s)])),{slots:g,hasDynamicSlots:a}}function Au(e,t,r){const n=[Pt("name",e),Pt("fn",t)];return r!=null&&n.push(Pt("key",Me(String(r),!0))),$r(n)}function Wu(e){for(let t=0;t<e.length;t++){const r=e[t];switch(r.type){case 1:if(r.tagType===2||Wu(r.children))return!0;break;case 9:if(Wu(r.branches))return!0;break;case 10:case 11:if(Wu(r.children))return!0;break}}return!1}const nM=new WeakMap,Pte=(e,t)=>function(){if(e=t.currentNode,!(e.type===1&&(e.tagType===0||e.tagType===1)))return;const{tag:n,props:o}=e,i=e.tagType===1;let s=i?xte(e,t):`"${n}"`;const a=et(s)&&s.callee===Rb;let l,u,c=0,d,f,h,m=a||s===Fa||s===Eb||!i&&(n==="svg"||n==="foreignObject"||n==="math");if(o.length>0){const g=oM(e,t,void 0,i,a);l=g.props,c=g.patchFlag,f=g.dynamicPropNames;const v=g.directives;h=v&&v.length?gi(v.map(b=>Ite(b,t))):void 0,g.shouldUseBlock&&(m=!0)}if(e.children.length>0)if(s===qc&&(m=!0,c|=1024),i&&s!==Fa&&s!==qc){const{slots:v,hasDynamicSlots:b}=Cte(e,t);u=v,b&&(c|=1024)}else if(e.children.length===1&&s!==Fa){const v=e.children[0],b=v.type,E=b===5||b===8;E&&Ar(v,t)===0&&(c|=1),E||b===2?u=v:u=e.children}else u=e.children;f&&f.length&&(d=Mte(f)),e.codegenNode=_l(t,s,l,u,c===0?void 0:c,d,h,!!m,!1,i,e.loc)};function xte(e,t,r=!1){let{tag:n}=e;const o=sm(n),i=ap(e,"is",!1,!0);if(i)if(o||bi("COMPILER_IS_ON_ELEMENT",t)){let a;if(i.type===6?a=i.value&&Me(i.value.content,!0):(a=i.exp,a||(a=Me("is",!1,i.arg.loc))),a)return kt(t.helper(Rb),[a])}else i.type===6&&i.value.content.startsWith("vue:")&&(n=i.value.content.slice(4));const s=kI(n)||t.isBuiltInComponent(n);return s?(r||t.helper(s),s):(t.helper(Sb),t.components.add(n),wl(n,"component"))}function oM(e,t,r=e.props,n,o,i=!1){const{tag:s,loc:a,children:l}=e;let u=[];const c=[],d=[],f=l.length>0;let h=!1,m=0,g=!1,v=!1,b=!1,E=!1,S=!1,A=!1;const C=[],T=M=>{u.length&&(c.push($r(rw(u),a)),u=[]),M&&c.push(M)},w=()=>{t.scopes.vFor>0&&u.push(Pt(Me("ref_for",!0),Me("true")))},_=({key:M,value:N})=>{if(gr(M)){const q=M.content,x=ji(q);if(x&&(!n||o)&&q.toLowerCase()!=="onclick"&&q!=="onUpdate:modelValue"&&!Jn(q)&&(E=!0),x&&Jn(q)&&(A=!0),x&&N.type===14&&(N=N.arguments[0]),N.type===20||(N.type===4||N.type===8)&&Ar(N,t)>0)return;q==="ref"?g=!0:q==="class"?v=!0:q==="style"?b=!0:q!=="key"&&!C.includes(q)&&C.push(q),n&&(q==="class"||q==="style")&&!C.includes(q)&&C.push(q)}else S=!0};for(let M=0;M<r.length;M++){const N=r[M];if(N.type===6){const{loc:q,name:x,nameLoc:P,value:L}=N;let $=!0;if(x==="ref"&&(g=!0,w()),x==="is"&&(sm(s)||L&&L.content.startsWith("vue:")||bi("COMPILER_IS_ON_ELEMENT",t)))continue;u.push(Pt(Me(x,!0,P),Me(L?L.content:"",$,L?L.loc:q)))}else{const{name:q,arg:x,exp:P,loc:L,modifiers:$}=N,V=q==="bind",G=q==="on";if(q==="slot"){n||t.onError(at(40,L));continue}if(q==="once"||q==="memo"||q==="is"||V&&ai(x,"is")&&(sm(s)||bi("COMPILER_IS_ON_ELEMENT",t))||G&&i)continue;if((V&&ai(x,"key")||G&&f&&ai(x,"vue:before-update"))&&(h=!0),V&&ai(x,"ref")&&w(),!x&&(V||G)){if(S=!0,P)if(V){if(T(),bi("COMPILER_V_BIND_OBJECT_ORDER",t)){c.unshift(P);continue}w(),T(),c.push(P)}else T({type:14,loc:L,callee:t.helper(Ib),arguments:n?[P]:[P,"true"]});else t.onError(at(V?34:35,L));continue}V&&$.some(Ee=>Ee.content==="prop")&&(m|=32);const ie=t.directiveTransforms[q];if(ie){const{props:Ee,needRuntime:fe}=ie(N,e,t);!i&&Ee.forEach(_),G&&x&&!gr(x)?T($r(Ee,a)):u.push(...Ee),fe&&(d.push(N),vr(fe)&&nM.set(N,fe))}else KX(q)||(d.push(N),f&&(h=!0))}}let R;if(c.length?(T(),c.length>1?R=kt(t.helper(Lc),c,a):R=c[0]):u.length&&(R=$r(rw(u),a)),S?m|=16:(v&&!n&&(m|=2),b&&!n&&(m|=4),C.length&&(m|=8),E&&(m|=32)),!h&&(m===0||m===32)&&(g||A||d.length>0)&&(m|=512),!t.inSSR&&R)switch(R.type){case 15:let M=-1,N=-1,q=!1;for(let L=0;L<R.properties.length;L++){const $=R.properties[L].key;gr($)?$.content==="class"?M=L:$.content==="style"&&(N=L):$.isHandlerKey||(q=!0)}const x=R.properties[M],P=R.properties[N];q?R=kt(t.helper(El),[R]):(x&&!gr(x.value)&&(x.value=kt(t.helper(xb),[x.value])),P&&(b||P.value.type===4&&P.value.content.trim()[0]==="["||P.value.type===17)&&(P.value=kt(t.helper(Nb),[P.value])));break;case 14:break;default:R=kt(t.helper(El),[kt(t.helper(Yl),[R])]);break}return{props:R,directives:d,patchFlag:m,dynamicPropNames:C,shouldUseBlock:h}}function rw(e){const t=new Map,r=[];for(let n=0;n<e.length;n++){const o=e[n];if(o.key.type===8||!o.key.isStatic){r.push(o);continue}const i=o.key.content,s=t.get(i);s?(i==="style"||i==="class"||ji(i))&&Nte(s,o):(t.set(i,o),r.push(o))}return r}function Nte(e,t){e.value.type===17?e.value.elements.push(t.value):e.value=gi([e.value,t.value],e.loc)}function Ite(e,t){const r=[],n=nM.get(e);n?r.push(t.helperString(n)):(t.helper(Ob),t.directives.add(e.name),r.push(wl(e.name,"directive")));const{loc:o}=e;if(e.exp&&r.push(e.exp),e.arg&&(e.exp||r.push("void 0"),r.push(e.arg)),Object.keys(e.modifiers).length){e.arg||(e.exp||r.push("void 0"),r.push("void 0"));const i=Me("true",!1,o);r.push($r(e.modifiers.map(s=>Pt(s,i)),o))}return gi(r,e.loc)}function Mte(e){let t="[";for(let r=0,n=e.length;r<n;r++)t+=JSON.stringify(e[r]),r<n-1&&(t+=", ");return t+"]"}function sm(e){return e==="component"||e==="Component"}const jte=(e,t)=>{if($c(e)){const{children:r,loc:n}=e,{slotName:o,slotProps:i}=qte(e,t),s=[t.prefixIdentifiers?"_ctx.$slots":"$slots",o,"{}","undefined","true"];let a=2;i&&(s[2]=i,a=3),r.length&&(s[3]=js([],r,!1,!1,n),a=4),t.scopeId&&!t.slotted&&(a=5),s.splice(a),e.codegenNode=kt(t.helper(MI),s,n)}};function qte(e,t){let r='"default"',n;const o=[];for(let i=0;i<e.props.length;i++){const s=e.props[i];if(s.type===6)s.value&&(s.name==="name"?r=JSON.stringify(s.value.content):(s.name=it(s.name),o.push(s)));else if(s.name==="bind"&&ai(s.arg,"name")){if(s.exp)r=s.exp;else if(s.arg&&s.arg.type===4){const a=it(s.arg.content);r=s.exp=Me(a,!1,s.arg.loc)}}else s.name==="bind"&&s.arg&&gr(s.arg)&&(s.arg.content=it(s.arg.content)),o.push(s)}if(o.length>0){const{props:i,directives:s}=oM(e,t,o,!1,!1);n=i,s.length&&t.onError(at(36,s[0].loc))}return{slotName:r,slotProps:n}}const iM=(e,t,r,n)=>{const{loc:o,modifiers:i,arg:s}=e;!e.exp&&!i.length&&r.onError(at(35,o));let a;if(s.type===4)if(s.isStatic){let d=s.content;d.startsWith("vue:")&&(d=`vnode-${d.slice(4)}`);const f=t.tagType!==0||d.startsWith("vnode")||!/[A-Z]/.test(d)?fi(it(d)):`on:${d}`;a=Me(f,!0,s.loc)}else a=nn([`${r.helperString(tm)}(`,s,")"]);else a=s,a.children.unshift(`${r.helperString(tm)}(`),a.children.push(")");let l=e.exp;l&&!l.content.trim()&&(l=void 0);let u=r.cacheHandlers&&!l&&!r.inVOnce;if(l){const d=$I(l),f=!(d||jee(l)),h=l.content.includes(";");(f||u&&d)&&(l=nn([`${f?"$event":"(...args)"} => ${h?"{":"("}`,l,h?"}":")"]))}let c={props:[Pt(a,l||Me("() => {}",!1,o))]};return n&&(c=n(c)),u&&(c.props[0].value=r.cache(c.props[0].value)),c.props.forEach(d=>d.key.isHandlerKey=!0),c},Lte=(e,t,r)=>{const{modifiers:n,loc:o}=e,i=e.arg;let{exp:s}=e;return s&&s.type===4&&!s.content.trim()&&(s=void 0),i.type!==4?(i.children.unshift("("),i.children.push(') || ""')):i.isStatic||(i.content=i.content?`${i.content} || ""`:'""'),n.some(a=>a.content==="camel")&&(i.type===4?i.isStatic?i.content=it(i.content):i.content=`${r.helperString(em)}(${i.content})`:(i.children.unshift(`${r.helperString(em)}(`),i.children.push(")"))),r.inSSR||(n.some(a=>a.content==="prop")&&nw(i,"."),n.some(a=>a.content==="attr")&&nw(i,"^")),{props:[Pt(i,s)]}},nw=(e,t)=>{e.type===4?e.isStatic?e.content=t+e.content:e.content=`\`${t}\${${e.content}}\``:(e.children.unshift(`'${t}' + (`),e.children.push(")"))},kte=(e,t)=>{if(e.type===0||e.type===1||e.type===11||e.type===10)return()=>{const r=e.children;let n,o=!1;for(let i=0;i<r.length;i++){const s=r[i];if(yf(s)){o=!0;for(let a=i+1;a<r.length;a++){const l=r[a];if(yf(l))n||(n=r[i]=nn([s],s.loc)),n.children.push(" + ",l),r.splice(a,1),a--;else{n=void 0;break}}}}if(!(!o||r.length===1&&(e.type===0||e.type===1&&e.tagType===0&&!e.props.find(i=>i.type===7&&!t.directiveTransforms[i.name])&&e.tag!=="template")))for(let i=0;i<r.length;i++){const s=r[i];if(yf(s)||s.type===8){const a=[];(s.type!==2||s.content!==" ")&&a.push(s),!t.ssr&&Ar(s,t)===0&&a.push("1"),r[i]={type:12,content:s,loc:s.loc,codegenNode:kt(t.helper(wb),a)}}}}},ow=new WeakSet,Dte=(e,t)=>{if(e.type===1&&Fr(e,"once",!0))return ow.has(e)||t.inVOnce||t.inSSR?void 0:(ow.add(e),t.inVOnce=!0,t.helper(kc),()=>{t.inVOnce=!1;const r=t.currentNode;r.codegenNode&&(r.codegenNode=t.cache(r.codegenNode,!0,!0))})},sM=(e,t,r)=>{const{exp:n,arg:o}=e;if(!n)return r.onError(at(41,e.loc)),pa();const i=n.loc.source.trim(),s=n.type===4?n.content:i,a=r.bindingMetadata[i];if(a==="props"||a==="props-aliased")return r.onError(at(44,n.loc)),pa();if(a==="literal-const"||a==="setup-const")return r.onError(at(45,n.loc)),pa();if(!s.trim()||!$I(n))return r.onError(at(42,n.loc)),pa();const l=o||Me("modelValue",!0),u=o?gr(o)?`onUpdate:${it(o.content)}`:nn(['"onUpdate:" + ',o]):"onUpdate:modelValue";let c;const d=r.isTS?"($event: any)":"$event";c=nn([`${d} => ((`,n,") = $event)"]);const f=[Pt(l,e.exp),Pt(u,c)];if(e.modifiers.length&&t.tagType===1){const h=e.modifiers.map(g=>g.content).map(g=>(kb(g)?g:JSON.stringify(g))+": true").join(", "),m=o?gr(o)?`${o.content}Modifiers`:nn([o,' + "Modifiers"']):"modelModifiers";f.push(Pt(m,Me(`{ ${h} }`,!1,e.loc,2)))}return pa(f)};function pa(e=[]){return{props:e}}const Fte=/[\w).+\-_$\]]/,$te=(e,t)=>{bi("COMPILER_FILTERS",t)&&(e.type===5?Vc(e.content,t):e.type===1&&e.props.forEach(r=>{r.type===7&&r.name!=="for"&&r.exp&&Vc(r.exp,t)}))};function Vc(e,t){if(e.type===4)iw(e,t);else for(let r=0;r<e.children.length;r++){const n=e.children[r];typeof n=="object"&&(n.type===4?iw(n,t):n.type===8?Vc(e,t):n.type===5&&Vc(n.content,t))}}function iw(e,t){const r=e.content;let n=!1,o=!1,i=!1,s=!1,a=0,l=0,u=0,c=0,d,f,h,m,g=[];for(h=0;h<r.length;h++)if(f=d,d=r.charCodeAt(h),n)d===39&&f!==92&&(n=!1);else if(o)d===34&&f!==92&&(o=!1);else if(i)d===96&&f!==92&&(i=!1);else if(s)d===47&&f!==92&&(s=!1);else if(d===124&&r.charCodeAt(h+1)!==124&&r.charCodeAt(h-1)!==124&&!a&&!l&&!u)m===void 0?(c=h+1,m=r.slice(0,h).trim()):v();else{switch(d){case 34:o=!0;break;case 39:n=!0;break;case 96:i=!0;break;case 40:u++;break;case 41:u--;break;case 91:l++;break;case 93:l--;break;case 123:a++;break;case 125:a--;break}if(d===47){let b=h-1,E;for(;b>=0&&(E=r.charAt(b),E===" ");b--);(!E||!Fte.test(E))&&(s=!0)}}m===void 0?m=r.slice(0,h).trim():c!==0&&v();function v(){g.push(r.slice(c,h).trim()),c=h+1}if(g.length){for(h=0;h<g.length;h++)m=Bte(m,g[h],t);e.content=m,e.ast=void 0}}function Bte(e,t,r){r.helper(Ab);const n=t.indexOf("(");if(n<0)return r.filters.add(t),`${wl(t,"filter")}(${e})`;{const o=t.slice(0,n),i=t.slice(n+1);return r.filters.add(o),`${wl(o,"filter")}(${e}${i!==")"?","+i:i}`}}const sw=new WeakSet,Vte=(e,t)=>{if(e.type===1){const r=Fr(e,"memo");return!r||sw.has(e)||t.inSSR?void 0:(sw.add(e),()=>{const n=e.codegenNode||t.currentNode.codegenNode;n&&n.type===13&&(e.tagType!==1&&qb(n,t),e.codegenNode=kt(t.helper(jb),[r.exp,js(void 0,n),"_cache",String(t.cached.length)]),t.cached.push(null))})}},Ute=(e,t)=>{if(e.type===1){for(const r of e.props)if(r.type===7&&r.name==="bind"&&(!r.exp||r.exp.type===4&&!r.exp.content.trim())&&r.arg){const n=r.arg;if(n.type!==4||!n.isStatic)t.onError(at(53,n.loc)),r.exp=Me("",!0,n.loc);else{const o=it(n.content);(DI.test(o[0])||o[0]==="-")&&(r.exp=Me(o,!1,n.loc))}}}};function Hte(e){return[[Ute,Dte,Ete,Vte,wte,$te,jte,Pte,Ote,kte],{on:iM,bind:Lte,model:sM}]}function Jte(e,t={}){const r=t.onError||Lb,n=t.mode==="module";t.prefixIdentifiers===!0?r(at(48)):n&&r(at(49));const o=!1;t.cacheHandlers&&r(at(50)),t.scopeId&&!n&&r(at(51));const i=ke({},t,{prefixIdentifiers:o}),s=xe(e)?Xee(e,i):e,[a,l]=Hte();return tte(s,ke({},i,{nodeTransforms:[...a,...t.nodeTransforms||[]],directiveTransforms:ke({},l,t.directiveTransforms||{})})),ite(s,i)}const Gte=()=>({props:[]});const aM=Symbol(""),lM=Symbol(""),uM=Symbol(""),cM=Symbol(""),am=Symbol(""),dM=Symbol(""),pM=Symbol(""),fM=Symbol(""),hM=Symbol(""),mM=Symbol("");wee({[aM]:"vModelRadio",[lM]:"vModelCheckbox",[uM]:"vModelText",[cM]:"vModelSelect",[am]:"vModelDynamic",[dM]:"withModifiers",[pM]:"withKeys",[fM]:"vShow",[hM]:"Transition",[mM]:"TransitionGroup"});let Vi;function Wte(e,t=!1){return Vi||(Vi=document.createElement("div")),t?(Vi.innerHTML=`<div foo="${e.replace(/"/g,"&quot;")}">`,Vi.children[0].getAttribute("foo")):(Vi.innerHTML=e,Vi.textContent)}const Kte={parseMode:"html",isVoidTag:cQ,isNativeTag:e=>aQ(e)||lQ(e)||uQ(e),isPreTag:e=>e==="pre",isIgnoreNewlineTag:e=>e==="pre"||e==="textarea",decodeEntities:Wte,isBuiltInComponent:e=>{if(e==="Transition"||e==="transition")return hM;if(e==="TransitionGroup"||e==="transition-group")return mM},getNamespace(e,t,r){let n=t?t.ns:r;if(t&&n===2)if(t.tag==="annotation-xml"){if(e==="svg")return 1;t.props.some(o=>o.type===6&&o.name==="encoding"&&o.value!=null&&(o.value.content==="text/html"||o.value.content==="application/xhtml+xml"))&&(n=0)}else/^m(?:[ions]|text)$/.test(t.tag)&&e!=="mglyph"&&e!=="malignmark"&&(n=0);else t&&n===1&&(t.tag==="foreignObject"||t.tag==="desc"||t.tag==="title")&&(n=0);if(n===0){if(e==="svg")return 1;if(e==="math")return 2}return n}},zte=e=>{e.type===1&&e.props.forEach((t,r)=>{t.type===6&&t.name==="style"&&t.value&&(e.props[r]={type:7,name:"bind",arg:Me("style",!0,t.loc),exp:Yte(t.value.content,t.loc),modifiers:[],loc:t.loc})})},Yte=(e,t)=>{const r=jx(e);return Me(JSON.stringify(r),!1,t,3)};function qo(e,t){return at(e,t)}const Xte=(e,t,r)=>{const{exp:n,loc:o}=e;return n||r.onError(qo(54,o)),t.children.length&&(r.onError(qo(55,o)),t.children.length=0),{props:[Pt(Me("innerHTML",!0,o),n||Me("",!0))]}},Qte=(e,t,r)=>{const{exp:n,loc:o}=e;return n||r.onError(qo(56,o)),t.children.length&&(r.onError(qo(57,o)),t.children.length=0),{props:[Pt(Me("textContent",!0),n?Ar(n,r)>0?n:kt(r.helperString(sp),[n],o):Me("",!0))]}},Zte=(e,t,r)=>{const n=sM(e,t,r);if(!n.props.length||t.tagType===1)return n;e.arg&&r.onError(qo(59,e.arg.loc));const{tag:o}=t,i=r.isCustomElement(o);if(o==="input"||o==="textarea"||o==="select"||i){let s=uM,a=!1;if(o==="input"||i){const l=ap(t,"type");if(l){if(l.type===7)s=am;else if(l.value)switch(l.value.content){case"radio":s=aM;break;case"checkbox":s=lM;break;case"file":a=!0,r.onError(qo(60,e.loc));break}}else qee(t)&&(s=am)}else o==="select"&&(s=cM);a||(n.needRuntime=r.helper(s))}else r.onError(qo(58,e.loc));return n.props=n.props.filter(s=>!(s.key.type===4&&s.key.content==="modelValue")),n},ere=Nr("passive,once,capture"),tre=Nr("stop,prevent,self,ctrl,shift,alt,meta,exact,middle"),rre=Nr("left,right"),yM=Nr("onkeyup,onkeydown,onkeypress"),nre=(e,t,r,n)=>{const o=[],i=[],s=[];for(let a=0;a<t.length;a++){const l=t[a].content;l==="native"&&Tl("COMPILER_V_ON_NATIVE",r)||ere(l)?s.push(l):rre(l)?gr(e)?yM(e.content.toLowerCase())?o.push(l):i.push(l):(o.push(l),i.push(l)):tre(l)?i.push(l):o.push(l)}return{keyModifiers:o,nonKeyModifiers:i,eventOptionModifiers:s}},aw=(e,t)=>gr(e)&&e.content.toLowerCase()==="onclick"?Me(t,!0):e.type!==4?nn(["(",e,`) === "onClick" ? "${t}" : (`,e,")"]):e,ore=(e,t,r)=>iM(e,t,r,n=>{const{modifiers:o}=e;if(!o.length)return n;let{key:i,value:s}=n.props[0];const{keyModifiers:a,nonKeyModifiers:l,eventOptionModifiers:u}=nre(i,o,r,e.loc);if(l.includes("right")&&(i=aw(i,"onContextmenu")),l.includes("middle")&&(i=aw(i,"onMouseup")),l.length&&(s=kt(r.helper(dM),[s,JSON.stringify(l)])),a.length&&(!gr(i)||yM(i.content.toLowerCase()))&&(s=kt(r.helper(pM),[s,JSON.stringify(a)])),u.length){const c=u.map(Ho).join("");i=gr(i)?Me(`${i.content}${c}`,!0):nn(["(",i,`) + "${c}"`])}return{props:[Pt(i,s)]}}),ire=(e,t,r)=>{const{exp:n,loc:o}=e;return n||r.onError(qo(62,o)),{props:[],needRuntime:r.helper(fM)}},sre=(e,t)=>{e.type===1&&e.tagType===0&&(e.tag==="script"||e.tag==="style")&&t.removeNode()},are=[zte],lre={cloak:Gte,html:Xte,text:Qte,model:Zte,on:ore,show:ire};function ure(e,t={}){return Jte(e,ke({},Kte,t,{nodeTransforms:[sre,...are,...t.nodeTransforms||[]],directiveTransforms:ke({},lre,t.directiveTransforms||{}),transformHoist:null}))}const lw=Object.create(null);function gM(e,t){if(!xe(e))if(e.nodeType)e=e.innerHTML;else return Wt;const r=XX(e,t),n=lw[r];if(n)return n;if(e[0]==="#"){const a=document.querySelector(e);e=a?a.innerHTML:""}const o=ke({hoistStatic:!0,onError:void 0,onWarn:Wt},t);!o.isCustomElement&&typeof customElements<"u"&&(o.isCustomElement=a=>!!customElements.get(a));const{code:i}=ure(e,o),s=new Function("Vue",i)(gee);return s._rc=!0,lw[r]=s}ab(gM);const boe=Object.freeze(Object.defineProperty({__proto__:null,BaseTransition:$g,BaseTransitionPropsValidators:Yd,Comment:vt,DeprecationTypes:rI,EffectScope:Bd,ErrorCodes:y1,ErrorTypeStrings:YN,Fragment:Ct,KeepAlive:H1,ReactiveEffect:Rs,Static:jo,Suspense:NN,Teleport:I1,Text:Wn,TrackOpTypes:d1,Transition:sI,TransitionGroup:gI,TriggerOpTypes:p1,VueElement:Kl,assertNumber:m1,callWithAsyncErrorHandling:xr,callWithErrorHandling:Li,camelize:it,capitalize:Ho,cloneVNode:un,compatUtils:tI,compile:gM,computed:lb,createApp:bl,createBlock:yl,createCommentVNode:$N,createElementBlock:LN,createElementVNode:rp,createHydrationRenderer:rb,createPropsRestProxy:pN,createRenderer:tb,createSSRApp:vb,createSlots:X1,createStaticVNode:FN,createTextVNode:np,createVNode:ut,customRef:Mg,defineAsyncComponent:U1,defineComponent:Xd,defineCustomElement:hb,defineEmits:tN,defineExpose:rN,defineModel:iN,defineOptions:nN,defineProps:eN,defineSSRCustomElement:pI,defineSlots:oN,devtools:XN,effect:Gx,effectScope:Fx,getCurrentInstance:pr,getCurrentScope:Og,getCurrentWatcher:f1,getTransitionRawChildren:Vl,guardReactiveProps:ob,h:Go,handleError:Jo,hasInjectionContext:R1,hydrate:RI,hydrateOnIdle:F1,hydrateOnInteraction:V1,hydrateOnMediaQuery:B1,hydrateOnVisible:$1,initCustomFormatter:WN,initDirectivesForSSR:CI,inject:ls,isMemoSame:ub,isProxy:Ks,isReactive:rn,isReadonly:an,isRef:St,isRuntimeOnly:HN,isShallow:dr,isVNode:Hr,markRaw:Ng,mergeDefaults:cN,mergeModels:dN,mergeProps:sb,nextTick:$l,nodeOps:db,normalizeClass:Ws,normalizeProps:qx,normalizeStyle:Gs,onActivated:Vg,onBeforeMount:Hg,onBeforeUnmount:Jl,onBeforeUpdate:Zd,onDeactivated:Ug,onErrorCaptured:Kg,onMounted:Ys,onRenderTracked:Wg,onRenderTriggered:Gg,onScopeDispose:$x,onServerPrefetch:Jg,onUnmounted:Gl,onUpdated:Hl,onWatcherCleanup:jg,openBlock:Cs,patchProp:fb,popScopeId:T1,provide:Lg,proxyRefs:Gd,pushScopeId:_1,queuePostFlushCb:As,reactive:Fo,readonly:dl,ref:ss,registerRuntimeCompiler:ab,render:bb,renderList:Y1,renderSlot:Q1,resolveComponent:G1,resolveDirective:z1,resolveDynamicComponent:K1,resolveFilter:eI,resolveTransitionHooks:Oi,setBlockTracking:Ps,setDevtoolsHook:QN,setTransitionHooks:En,shallowReactive:xg,shallowReadonly:o1,shallowRef:Ig,ssrContextKey:kg,ssrUtils:ZN,stop:Wx,toDisplayString:Rg,toHandlerKey:fi,toHandlers:Z1,toRaw:Ue,toRef:u1,toRefs:l1,toValue:a1,transformVNodeArgs:kN,triggerRef:s1,unref:zs,useAttrs:lN,useCssModule:hI,useCssVars:dI,useHost:mb,useId:k1,useModel:yN,useSSRContext:Dg,useShadowRoot:fI,useSlots:aN,useTemplateRef:D1,useTransitionState:zd,vModelCheckbox:op,vModelDynamic:gb,vModelRadio:ip,vModelSelect:yb,vModelText:gl,vShow:pb,version:cb,warn:zN,watch:mi,watchEffect:O1,watchPostEffect:A1,watchSyncEffect:Fg,withAsyncContext:fN,withCtx:Kd,withDefaults:sN,withDirectives:S1,withKeys:_I,withMemo:KN,withModifiers:EI,withScopeId:w1},Symbol.toStringTag,{value:"Module"}));var cre={};Nx(cre,{applyDecorators:()=>EM,argTypesEnhancers:()=>wM,mount:()=>_M,parameters:()=>TM,render:()=>bM,renderToCanvas:()=>vM});var dre=["props","events","slots","exposed","expose"],pre=e=>{if(!Eg(e))return null;let t="exposed"in e.__docgenInfo?"vue-component-meta":"vue-docgen-api",r={};return dre.forEach(n=>{FX(e,n).forEach(o=>{let i;if(t==="vue-docgen-api"){let s=o.docgenInfo;i=fre(s,n,o)}else{let s=o.docgenInfo;i=hre(s,n)}!i||r[i.name]||(["events","expose","exposed"].includes(n)&&(i.control={disable:!0}),r[i.name]=i)})}),r},fre=(e,t,r)=>{let n,o;if(t==="events"&&(n=e.type?.names.join(),o={name:"other",value:n??"",required:!1}),t==="slots"){let s=e.bindings?.filter(a=>!!a.name).map(a=>`${a.name}: ${a.type?.name??"unknown"}`).join("; ");n=s?`{ ${s} }`:void 0,o={name:"other",value:n??"",required:!1}}if(t==="props"){let s=e;if(n=s.type?.name,o=r?Md(r.docgenInfo):{name:"other",value:n},s.type&&"elements"in s.type&&Array.isArray(s.type.elements)&&s.type.elements.length>0){let a=s.type.elements.map(l=>l.name);n==="Array"&&(n=`${a.length===1?a[0]:`(${a.join(" | ")})`}[]`),n==="union"?n=a.join(" | "):n==="intersection"&&(n=a.join(" & "))}}let i="required"in e?e.required??!1:!1;return{name:e.name,description:e.description,type:o?{...o,required:i}:{name:"other",value:n??""},table:{type:n?{summary:n}:void 0,defaultValue:r?.propDef.defaultValue??void 0,jsDocTags:r?.propDef.jsDocTags,category:t}}},hre=(e,t)=>{if("global"in e&&e.global)return;let r={summary:e.type.replace(" | undefined","")};if(t==="props"){let n=e,o=n.default?{summary:n.default}:void 0;return{name:n.name,description:mre(n.description,n.tags),defaultValue:o,type:Ta(n),table:{type:r,defaultValue:o,category:t}}}else return{name:e.name,description:"description"in e?e.description:"",type:{name:"other",value:e.type},table:{type:r,category:t}}},Ta=e=>{let t=e.schema,r=e.required,n={name:"other",value:e.type,required:r},o=["string","number","function","boolean","symbol"];if(typeof t=="string")return o.includes(t)?{name:t,required:r}:n;switch(t.kind){case"enum":{let i=t.schema?.filter(s=>s!=="undefined")??[];return bre(i)?{name:"boolean",required:r}:yre(i)||gre(i)?{name:"enum",value:i.map(s=>s.replace(/"/g,"")),required:r}:i.length===1?Ta({schema:i[0],type:e.type,required:r}):(i.length>2&&i.includes("true")&&i.includes("false")&&(i=i.filter(s=>s!=="true"&&s!=="false"),i.push("boolean")),{name:"union",value:i.map(s=>Ta(typeof s=="object"?{schema:s,type:s.type,required:!1}:{schema:s,type:s,required:!1})),required:r})}case"array":{let i=t.schema?.filter(s=>s!=="undefined")??[];return i.length===0?n:i.length===1?{name:"array",value:Ta({schema:i[0],type:e.type,required:!1}),required:r}:{name:"union",value:i.map(s=>Ta(typeof s=="object"?{schema:s,type:s.type,required:!1}:{schema:s,type:s,required:!1})),required:r}}case"object":return{name:"object",value:{},required:r};default:return n}},mre=(e,t)=>!t?.length||!e?e??"":`${t.map(r=>`@${r.name}: ${r.text}`).join("<br>")}<br><br>${e}`,yre=e=>e.every(t=>typeof t=="string"&&t.startsWith('"')&&t.endsWith('"')),gre=e=>e.every(t=>typeof t=="string"&&t.includes(".")),bre=e=>e.length===2&&e.includes("true")&&e.includes("false"),bM=(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`);return()=>Go(n,e,Ere(e,t))},vre=async(e,t)=>{globalThis&&globalThis.PLUGINS_SETUP_FUNCTIONS&&await Promise.all([...globalThis.PLUGINS_SETUP_FUNCTIONS].map(r=>r(e,t)))},Uc=new Map;async function vM({storyFn:e,forceRemount:t,showMain:r,showException:n,storyContext:o,id:i},s){let a=Uc.get(s);if(a&&!t){let u=e(),c=uw(u,o);return _re(a.reactiveArgs,c),()=>{bf(a.vueApp,s)}}a&&t&&bf(a.vueApp,s);let l=bl({setup(){o.args=Fo(o.args);let u=e(),c=uw(u,o),d={vueApp:l,reactiveArgs:Fo(c)};return Uc.set(s,d),()=>Go(u)}});return l.config.errorHandler=(u,c,d)=>{window.__STORYBOOK_PREVIEW__?.storyRenders.some(f=>f.id===i&&f.phase==="playing")?setTimeout(()=>{throw u},0):n(u)},await vre(l,o),l.mount(s),r(),()=>{bf(l,s)}}function Ere(e,t){let{argTypes:r}=t,n=Object.entries(e).filter(([o])=>r[o]?.table?.category==="slots").map(([o,i])=>[o,typeof i=="function"?i:()=>i]);return Object.fromEntries(n)}function uw(e,t){return e.props&&Hr(e)?e.props:t.args}function _re(e,t){if(Object.keys(t).length===0)return;let r=rn(e)?e:Fo(e);Object.keys(r).forEach(n=>{n in t||delete r[n]}),Object.assign(r,t)}function bf(e,t){e?.unmount(),Uc.has(t)&&Uc.delete(t)}const{sanitizeStoryContextUpdate:Tre}=__STORYBOOK_MODULE_PREVIEW_API__;function wre(e){return typeof e=="function"?{render:e,name:e.name}:e}function cw(e,t){let r=e;return r===null?null:typeof r=="function"?r:t?{...wre(r),components:{...r.components||{},story:t}}:{render(){return Go(r)}}}function EM(e,t){return t.reduce((r,n)=>o=>{let i,s=n(a=>{let l=Tre(a);return a&&(l.args=Object.assign(o.args,l.args)),i=r({...o,...l}),i},o);return i||(i=r(o)),s===i?i:cw(s,()=>Go(i))},r=>cw(e(r)))}var _M=e=>async(t,r)=>(t&&(e.originalStoryFn=()=>()=>Go(t,r?.props,r?.slots)),await e.renderToCanvas(),e.canvas),TM={renderer:"vue3",docs:{story:{inline:!0},extractArgTypes:pre,extractComponentDescription:$X}},wM=[BX];const Sre=Object.freeze(Object.defineProperty({__proto__:null,applyDecorators:EM,argTypesEnhancers:wM,mount:_M,parameters:TM,render:bM,renderToCanvas:vM},Symbol.toStringTag,{value:"Module"}));var Rre={};Nx(Rre,{decorators:()=>AM});const{emitTransformCode:Ore,useEffect:Are}=__STORYBOOK_MODULE_PREVIEW_API__;var Ku=Symbol("DEEP_ACCESS_SYMBOL"),Cre=e=>!!(e&&typeof e=="object"&&Ku in e),Pre=(e,t)=>{let r=e();return Are(()=>{let n=xre(t);Nre(t)||Ore(n,t)}),r},xre=e=>{let t={imports:{},scriptVariables:{}},{displayName:r,slotNames:n,eventNames:o}=Ire(e.component),i=SM(e.args,n,o,t),s=RM(e.args,n,t),a=r||e.title.split("/").at(-1),l=s?`<${a} ${i}> ${s} </${a}>`:`<${a} ${i} />`,u=Object.entries(t.scriptVariables).map(([f,h])=>`const ${f} = ${h};`).join(`
1031
+
1032
+ `),c=Object.entries(t.imports).map(([f,h])=>`import { ${Array.from(h.values()).sort().join(", ")} } from "${f}";`).join(`
1033
+ `),d=`<template>
1034
+ ${l}
1035
+ </template>`;return!c&&!u?d:`<script lang="ts" setup>
1036
+ ${c?`${c}
1037
+
1038
+ ${u}`:u}
1039
+ <\/script>
1040
+
1041
+ ${d}`},Nre=e=>{let t=e?.parameters.docs?.source;return t?.type===qh.DYNAMIC?!1:!e?.parameters.__isArgsStory||t?.code||t?.type===qh.CODE},Ire=e=>{if(!e||!("__docgenInfo"in e)||!e.__docgenInfo||typeof e.__docgenInfo!="object")return{displayName:e?.__name,eventNames:[],slotNames:[]};let t=e.__docgenInfo,r="displayName"in t&&typeof t.displayName=="string"?t.displayName:void 0,n=o=>!(o in t)||!Array.isArray(t[o])?[]:t[o].map(i=>i&&typeof i=="object"&&"name"in i?i.name:void 0).filter(i=>typeof i=="string");return{displayName:r||e.__name,slotNames:n("slots").sort((o,i)=>o==="default"?-1:i==="default"?1:o.localeCompare(i)),eventNames:n("events")}},SM=(e,t,r,n)=>{let o=[];Object.entries(e).forEach(([s,a])=>{if(!t.includes(s)&&a!=null)switch(Cre(a)&&(a=a.toString()),typeof a){case"string":if(a==="")return;o.push({name:s,value:a.includes('"')?`'${a}'`:`"${a}"`,templateFn:(l,u)=>`${l}=${u}`});break;case"number":o.push({name:s,value:a.toString(),templateFn:(l,u)=>`:${l}="${u}"`});break;case"bigint":o.push({name:s,value:`BigInt(${a.toString()})`,templateFn:(l,u)=>`:${l}="${u}"`});break;case"boolean":o.push({name:s,value:a?"true":"false",templateFn:(l,u)=>u==="true"?l:`:${l}="false"`});break;case"symbol":o.push({name:s,value:`Symbol(${a.description?`'${a.description}'`:""})`,templateFn:(l,u)=>`:${l}="${u}"`});break;case"object":{o.push({name:s,value:Lre(a??{}),templateFn:void 0});break}}}),o.sort((s,a)=>s.name.localeCompare(a.name));let i=[];return o.forEach(s=>{let a=r.includes(`update:${s.name}`);if(!a&&s.templateFn){i.push(s.templateFn(s.name,s.value));return}let l=s.name;if(l in n.scriptVariables){let u=1;do l=`${s.name}${u}`,u++;while(l in n.scriptVariables)}if(!a){n.scriptVariables[l]=s.value,i.push(`:${s.name}="${l}"`);return}n.scriptVariables[l]=`ref(${s.value})`,n.imports.vue||(n.imports.vue=new Set),n.imports.vue.add("ref"),s.name==="modelValue"?i.push(`v-model="${l}"`):i.push(`v-model:${s.name}="${l}"`)}),i.join(" ")},RM=(e,t,r)=>{let n=[];return t.forEach(o=>{let i=e[o];if(!i)return;let s=Bb([i],r);if(!s)return;let a=typeof i=="function"?OM(i):[];o==="default"&&!a.length?n.push(s):n.push(`<template ${qre(o,a)}>${s}</template>`)}),n.join(`
1042
+
1043
+ `)},Bb=(e,t)=>{let r=[],n=o=>{if(Hr(o))return Mre(o,t);switch(typeof o){case"string":case"number":case"boolean":return o.toString();case"object":return o===null?"":Array.isArray(o)?o.map(n).filter(i=>i!=="").join(`
1044
+ `):JSON.stringify(o);case"function":{let i=OM(o).filter(l=>!["{","}"].includes(l)),s={};i.forEach(l=>{s[l]=new Proxy({[Ku]:!0},{get:(u,c)=>c===Ku?u[Ku]:[Symbol.toPrimitive,Symbol.toStringTag,"toString"].includes(c)?()=>`{{ ${l} }}`:c==="v-bind"?`${l}`:`{{ ${l}.${c.toString()} }}`,ownKeys:()=>["v-bind"],getOwnPropertyDescriptor:()=>({configurable:!0,enumerable:!0,value:l,writable:!0})})});let a=o(s);return Bb([a],t).replaceAll(/ (\S+)="{{ (\S+) }}"/g,' :$1="$2"')}case"bigint":return`{{ BigInt(${o.toString()}) }}`;default:return""}};return e.forEach(o=>{let i=n(o);i!==""&&r.push(i)}),r.join(`
1045
+ `)},Mre=(e,t)=>{let r=jre(e),n="";typeof e.children=="string"?n=e.children:Array.isArray(e.children)?n=Bb(e.children,t):e.children&&(n=RM(e.children,Object.keys(e.children).filter(i=>i!=="$stable"),t));let o=e.props?SM(e.props,[],[],t):"";return n?`<${r}${o?` ${o}`:""}>${n}</${r}>`:`<${r}${o?` ${o}`:""} />`},jre=e=>{if(typeof e.type=="string")return e.type;if(typeof e.type=="object"){if("name"in e.type&&e.type.name)return e.type.name;if("__name"in e.type&&e.type.__name)return e.type.__name}return"component"},OM=e=>{let t=/((\/\/.*$)|(\/\*[\s\S]*?\*\/))/gm,r=/([^\s,]+)/g,n=e.toString().replace(t,""),o=n.slice(n.indexOf("(")+1,n.indexOf(")")).match(r);return o?o.flatMap(i=>{if(["{","}"].includes(i))return i;let s=i.split(":")[0].trim();return s.startsWith("{")?["{",s.substring(1)]:i.endsWith("}")&&!s.endsWith("}")?[s,"}"]:s}):[]},qre=(e,t)=>t.length?t.length===1?`#${e}="${t[0]}"`:`#${e}="{ ${t.filter(r=>!["{","}"].includes(r)).join(", ")} }"`:`#${e}`,Lre=e=>Object.values(e).every(t=>t==null||typeof t!="object")?JSON.stringify(e):JSON.stringify(e,null,2),AM=[Pre];const kre=Object.freeze(Object.defineProperty({__proto__:null,decorators:AM},Symbol.toStringTag,{value:"Module"}));var ki="storybook/a11y",Dre=`${ki}/panel`,Fre=`${ki}/result`,$re=`${ki}/request`,Bre=`${ki}/running`,Vre=`${ki}/error`,Ure=`${ki}/manual`,Hre=`${ki}/select`,vf={RESULT:Fre,REQUEST:$re,RUNNING:Bre,ERROR:Vre,MANUAL:Ure,SELECT:Hre},CM={blurred:{label:"Blurred vision",filter:"blur(2px)",percentage:22.9},deuteranomaly:{label:"Deuteranomaly",filter:'url("#storybook-a11y-vision-deuteranomaly")',percentage:2.7},deuteranopia:{label:"Deuteranopia",filter:'url("#storybook-a11y-vision-deuteranopia")',percentage:.56},protanomaly:{label:"Protanomaly",filter:'url("#storybook-a11y-vision-protanomaly")',percentage:.66},protanopia:{label:"Protanopia",filter:'url("#storybook-a11y-vision-protanopia")',percentage:.59},tritanomaly:{label:"Tritanomaly",filter:'url("#storybook-a11y-vision-tritanomaly")',percentage:.01},tritanopia:{label:"Tritanopia",filter:'url("#storybook-a11y-vision-tritanopia")',percentage:.016},achromatopsia:{label:"Achromatopsia",filter:'url("#storybook-a11y-vision-achromatopsia")',percentage:1e-4},grayscale:{label:"Grayscale",filter:"grayscale(100%)"}},Jre=`<svg id="storybook-a11y-vision-filters" style="display: none !important;">
1046
+ <defs>
1047
+ <filter id="storybook-a11y-vision-protanopia">
1048
+ <feColorMatrix
1049
+ in="SourceGraphic"
1050
+ type="matrix"
1051
+ values="0.567, 0.433, 0, 0, 0 0.558, 0.442, 0, 0, 0 0, 0.242, 0.758, 0, 0 0, 0, 0, 1, 0"
1052
+ />
1053
+ </filter>
1054
+ <filter id="storybook-a11y-vision-protanomaly">
1055
+ <feColorMatrix
1056
+ in="SourceGraphic"
1057
+ type="matrix"
1058
+ values="0.817, 0.183, 0, 0, 0 0.333, 0.667, 0, 0, 0 0, 0.125, 0.875, 0, 0 0, 0, 0, 1, 0"
1059
+ />
1060
+ </filter>
1061
+ <filter id="storybook-a11y-vision-deuteranopia">
1062
+ <feColorMatrix
1063
+ in="SourceGraphic"
1064
+ type="matrix"
1065
+ values="0.625, 0.375, 0, 0, 0 0.7, 0.3, 0, 0, 0 0, 0.3, 0.7, 0, 0 0, 0, 0, 1, 0"
1066
+ />
1067
+ </filter>
1068
+ <filter id="storybook-a11y-vision-deuteranomaly">
1069
+ <feColorMatrix
1070
+ in="SourceGraphic"
1071
+ type="matrix"
1072
+ values="0.8, 0.2, 0, 0, 0 0.258, 0.742, 0, 0, 0 0, 0.142, 0.858, 0, 0 0, 0, 0, 1, 0"
1073
+ />
1074
+ </filter>
1075
+ <filter id="storybook-a11y-vision-tritanopia">
1076
+ <feColorMatrix
1077
+ in="SourceGraphic"
1078
+ type="matrix"
1079
+ values="0.95, 0.05, 0, 0, 0 0, 0.433, 0.567, 0, 0 0, 0.475, 0.525, 0, 0 0, 0, 0, 1, 0"
1080
+ />
1081
+ </filter>
1082
+ <filter id="storybook-a11y-vision-tritanomaly">
1083
+ <feColorMatrix
1084
+ in="SourceGraphic"
1085
+ type="matrix"
1086
+ values="0.967, 0.033, 0, 0, 0 0, 0.733, 0.267, 0, 0 0, 0.183, 0.817, 0, 0 0, 0, 0, 1, 0"
1087
+ />
1088
+ </filter>
1089
+ <filter id="storybook-a11y-vision-achromatopsia">
1090
+ <feColorMatrix
1091
+ in="SourceGraphic"
1092
+ type="matrix"
1093
+ values="0.299, 0.587, 0.114, 0, 0 0.299, 0.587, 0.114, 0, 0 0.299, 0.587, 0.114, 0, 0 0, 0, 0, 1, 0"
1094
+ />
1095
+ </filter>
1096
+ </defs>
1097
+ </svg>`,Gre=Object.defineProperty,Wre=(e,t)=>{for(var r in t)Gre(e,r,{get:t[r],enumerable:!0})},Kre={};Wre(Kre,{afterEach:()=>MM,decorators:()=>IM,initialGlobals:()=>jM,parameters:()=>qM});const{expect:dw}=__STORYBOOK_MODULE_TEST__,{ElementA11yParameterError:zre}=__STORYBOOK_MODULE_CORE_EVENTS_PREVIEW_ERRORS__,{global:Yre}=__STORYBOOK_MODULE_GLOBAL__,{addons:Xre,waitForAnimations:Qre}=__STORYBOOK_MODULE_PREVIEW_API__,{global:Zre}=__STORYBOOK_MODULE_GLOBAL__;var{document:ene}=Zre,tne=(e,t)=>{let r=ene.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,a)=>{let l=`${o}.${i.id}.${a+1}`,u=`${r}?path=/story/${t}&addonPanel=${Dre}&a11ySelection=${l}`;return{id:l,...s,linkPath:u}})})))}),n},{document:pw}=Yre,Ef=Xre.getChannel(),PM={config:{},options:{}},rne=["region"],lm=[],um=!1,xM=async()=>{if(lm.length===0){um=!1;return}um=!0;let e=lm.shift();e&&await e(),xM()},NM=async(e=PM,t)=>{let r=(await Te(async()=>{const{default:a}=await import("./axe-DrS73Vi2.js").then(l=>l.a);return{default:a}},__vite__mapDeps([101,72]),import.meta.url))?.default||globalThis.axe,{config:n={},options:o={}}=e;if(e.element)throw new zre;let i={include:pw?.body,exclude:[".sb-wrapper","#storybook-docs","#storybook-highlights-root"]};if(e.context){let a=typeof e.context=="object"&&"include"in e.context&&e.context.include!==void 0,l=typeof e.context=="object"&&"exclude"in e.context&&e.context.exclude!==void 0;a?i.include=e.context.include:!a&&!l&&(i.include=e.context),l&&(i.exclude=i.exclude.concat(e.context.exclude))}r.reset();let s={...n,rules:[...rne.map(a=>({id:a,enabled:!1})),...n?.rules??[]]};return r.configure(s),new Promise((a,l)=>{let u=pw?.getElementById("storybook-highlights-root");u&&(u.style.display="none");let c=async()=>{try{let d=await r.run(i,o),f=tne(d,t);a(f)}catch(d){l(d)}};lm.push(c),um||xM(),u&&(u.style.display="")})};Ef.on(vf.MANUAL,async(e,t=PM)=>{try{await Qre();let r=await NM(t,e),n=JSON.parse(JSON.stringify(r));Ef.emit(vf.RESULT,n,e)}catch(r){Ef.emit(vf.ERROR,r)}});function fw(){try{return!1}catch{return!1}}const{useCallback:nne,useEffect:hw}=__STORYBOOK_MODULE_PREVIEW_API__;var one=Object.values(CM).map(e=>e.filter),ine=new RegExp(`\\b(${one.join("|")})\\b`,"g"),sne=(e,{globals:t})=>{let{vision:r}=t,n=nne(()=>{let o=document.body.style.filter.replaceAll(ine,"").trim(),i=CM[r]?.filter;return i&&document.body.classList.contains("sb-show-main")?!o||o==="none"?document.body.style.filter=i:document.body.style.filter=`${o} ${i}`:document.body.style.filter=o||"none",()=>document.body.style.filter=o||"none"},[r]);return hw(()=>{let o=n(),i=new MutationObserver(()=>n());return i.observe(document.body,{attributeFilter:["class"]}),()=>{o(),i.disconnect()}},[n]),hw(()=>(document.body.insertAdjacentHTML("beforeend",Jre),()=>{let o=document.getElementById("storybook-a11y-vision-filters");o?.parentElement?.removeChild(o)}),[]),e()},mw=!1,IM=[sne],MM=async({id:e,reporting:t,parameters:r,globals:n,viewMode:o})=>{let i=r.a11y,s=n.a11y,a=!n.ghostStories&&i?.disable!==!0&&i?.test!=="off"&&s?.manual!==!0,l=()=>i?.test==="todo"?"warning":"failed";if(a&&o==="story")try{let u=await NM(i,e);if(u){let c=(u?.violations.length??0)>0;if(t.addReport({type:"a11y",version:1,result:u,status:c?l():"passed"}),fw()&&c&&l()==="failed"){if(!mw){let{toHaveNoViolations:d}=await Te(async()=>{const{toHaveNoViolations:f}=await import("./matchers-5TDFFDYO-HJu_DfWo.js");return{toHaveNoViolations:f}},[],import.meta.url);dw.extend({toHaveNoViolations:d}),mw=!0}dw(u).toHaveNoViolations()}}}catch(u){if(t.addReport({type:"a11y",version:1,result:{error:u},status:"failed"}),fw())throw u}},jM={a11y:{manual:!1},vision:void 0},qM={a11y:{test:"todo"}};const ane=Object.freeze(Object.defineProperty({__proto__:null,afterEach:MM,decorators:IM,initialGlobals:jM,parameters:qM},Symbol.toStringTag,{value:"Module"}));var lne=Object.defineProperty,une=(e,t)=>{for(var r in t)lne(e,r,{get:t[r],enumerable:!0})},cne="links";const{SELECT_STORY:dne,STORY_CHANGED:pne}=__STORYBOOK_MODULE_CORE_EVENTS__,{global:fne}=__STORYBOOK_MODULE_GLOBAL__,{addons:LM,makeDecorator:hne}=__STORYBOOK_MODULE_PREVIEW_API__;var{document:kM,HTMLElement:mne}=fne,yne=e=>LM.getChannel().emit(dne,e),DM=e=>{let{target:t}=e;if(!(t instanceof mne))return;let r=t,{sbKind:n,sbStory:o}=r.dataset;(n||o)&&(e.preventDefault(),yne({kind:n,story:o}))},Hc=!1,gne=()=>{Hc||(Hc=!0,kM.addEventListener("click",DM))},bne=()=>{Hc&&(Hc=!1,kM.removeEventListener("click",DM))},vne=hne({name:"withLinks",parameterName:cne,wrapper:(e,t)=>(gne(),LM.getChannel().once(pne,bne),e(t))}),Ene={};une(Ene,{decorators:()=>FM});var FM=[vne];const _ne=Object.freeze(Object.defineProperty({__proto__:null,decorators:FM},Symbol.toStringTag,{value:"Module"}));var Tne=Object.defineProperty,$M=(e,t)=>{for(var r in t)Tne(e,r,{get:t[r],enumerable:!0})},Jc="themes",wne=`storybook/${Jc}`,BM="theme",yw={},Sne={REGISTER_THEMES:`${wne}/REGISTER_THEMES`},Rne={};$M(Rne,{initialGlobals:()=>VM});var VM={[BM]:""};const One=Object.freeze(Object.defineProperty({__proto__:null,initialGlobals:VM},Symbol.toStringTag,{value:"Module"}));function Ane(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(a,l){var u=l.match(/\n([\t ]+|(?!\s).)/g);return u?a.concat(u.map(function(c){var d,f;return(f=(d=c.match(/[\t ]/g))===null||d===void 0?void 0:d.length)!==null&&f!==void 0?f:0})):a},[]);if(o.length){var i=new RegExp(`
1098
+ [ ]{`+Math.min.apply(Math,o)+"}","g");n=n.map(function(a){return a.replace(i,`
1099
+ `)})}n[0]=n[0].replace(/^\r?\n/,"");var s=n[0];return t.forEach(function(a,l){var u=s.match(/(?:^|\n)( *)$/),c=u?u[1]:"",d=a;typeof a=="string"&&a.includes(`
1100
+ `)&&(d=String(a).split(`
1101
+ `).map(function(f,h){return h===0?f:""+c+f}).join(`
1102
+ `)),s+=d+n[l+1]}),s}var _f={exports:{}},Pe={},gw;function Cne(){if(gw)return Pe;gw=1;var e={client:!0};var t=Symbol.for("react.transitional.element"),r=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler"),s=Symbol.for("react.consumer"),a=Symbol.for("react.context"),l=Symbol.for("react.forward_ref"),u=Symbol.for("react.suspense"),c=Symbol.for("react.memo"),d=Symbol.for("react.lazy"),f=Symbol.for("react.activity"),h=Symbol.iterator;function m(j){return j===null||typeof j!="object"?null:(j=h&&j[h]||j["@@iterator"],typeof j=="function"?j:null)}var g={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},v=Object.assign,b={};function E(j,H,oe){this.props=j,this.context=H,this.refs=b,this.updater=oe||g}E.prototype.isReactComponent={},E.prototype.setState=function(j,H){if(typeof j!="object"&&typeof j!="function"&&j!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,j,H,"setState")},E.prototype.forceUpdate=function(j){this.updater.enqueueForceUpdate(this,j,"forceUpdate")};function S(){}S.prototype=E.prototype;function A(j,H,oe){this.props=j,this.context=H,this.refs=b,this.updater=oe||g}var C=A.prototype=new S;C.constructor=A,v(C,E.prototype),C.isPureReactComponent=!0;var T=Array.isArray;function w(){}var _={H:null,A:null,T:null,S:null},R=Object.prototype.hasOwnProperty;function M(j,H,oe){var te=oe.ref;return{$$typeof:t,type:j,key:H,ref:te!==void 0?te:null,props:oe}}function N(j,H){return M(j.type,H,j.props)}function q(j){return typeof j=="object"&&j!==null&&j.$$typeof===t}function x(j){var H={"=":"=0",":":"=2"};return"$"+j.replace(/[=:]/g,function(oe){return H[oe]})}var P=/\/+/g;function L(j,H){return typeof j=="object"&&j!==null&&j.key!=null?x(""+j.key):H.toString(36)}function $(j){switch(j.status){case"fulfilled":return j.value;case"rejected":throw j.reason;default:switch(typeof j.status=="string"?j.then(w,w):(j.status="pending",j.then(function(H){j.status==="pending"&&(j.status="fulfilled",j.value=H)},function(H){j.status==="pending"&&(j.status="rejected",j.reason=H)})),j.status){case"fulfilled":return j.value;case"rejected":throw j.reason}}throw j}function V(j,H,oe,te,Z){var ye=typeof j;(ye==="undefined"||ye==="boolean")&&(j=null);var me=!1;if(j===null)me=!0;else switch(ye){case"bigint":case"string":case"number":me=!0;break;case"object":switch(j.$$typeof){case t:case r:me=!0;break;case d:return me=j._init,V(me(j._payload),H,oe,te,Z)}}if(me)return Z=Z(j),me=te===""?"."+L(j,0):te,T(Z)?(oe="",me!=null&&(oe=me.replace(P,"$&/")+"/"),V(Z,H,oe,"",function(le){return le})):Z!=null&&(q(Z)&&(Z=N(Z,oe+(Z.key==null||j&&j.key===Z.key?"":(""+Z.key).replace(P,"$&/")+"/")+me)),H.push(Z)),1;me=0;var De=te===""?".":te+":";if(T(j))for(var J=0;J<j.length;J++)te=j[J],ye=De+L(te,J),me+=V(te,H,oe,ye,Z);else if(J=m(j),typeof J=="function")for(j=J.call(j),J=0;!(te=j.next()).done;)te=te.value,ye=De+L(te,J++),me+=V(te,H,oe,ye,Z);else if(ye==="object"){if(typeof j.then=="function")return V($(j),H,oe,te,Z);throw H=String(j),Error("Objects are not valid as a React child (found: "+(H==="[object Object]"?"object with keys {"+Object.keys(j).join(", ")+"}":H)+"). If you meant to render a collection of children, use an array instead.")}return me}function G(j,H,oe){if(j==null)return j;var te=[],Z=0;return V(j,te,"","",function(ye){return H.call(oe,ye,Z++)}),te}function ie(j){if(j._status===-1){var H=j._result;H=H(),H.then(function(oe){(j._status===0||j._status===-1)&&(j._status=1,j._result=oe)},function(oe){(j._status===0||j._status===-1)&&(j._status=2,j._result=oe)}),j._status===-1&&(j._status=0,j._result=H)}if(j._status===1)return j._result.default;throw j._result}var Ee=typeof reportError=="function"?reportError:function(j){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var H=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof j=="object"&&j!==null&&typeof j.message=="string"?String(j.message):String(j),error:j});if(!window.dispatchEvent(H))return}else if(typeof e=="object"&&typeof e.emit=="function"){e.emit("uncaughtException",j);return}console.error(j)},fe={map:G,forEach:function(j,H,oe){G(j,function(){H.apply(this,arguments)},oe)},count:function(j){var H=0;return G(j,function(){H++}),H},toArray:function(j){return G(j,function(H){return H})||[]},only:function(j){if(!q(j))throw Error("React.Children.only expected to receive a single React element child.");return j}};return Pe.Activity=f,Pe.Children=fe,Pe.Component=E,Pe.Fragment=n,Pe.Profiler=i,Pe.PureComponent=A,Pe.StrictMode=o,Pe.Suspense=u,Pe.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=_,Pe.__COMPILER_RUNTIME={__proto__:null,c:function(j){return _.H.useMemoCache(j)}},Pe.cache=function(j){return function(){return j.apply(null,arguments)}},Pe.cacheSignal=function(){return null},Pe.cloneElement=function(j,H,oe){if(j==null)throw Error("The argument must be a React element, but you passed "+j+".");var te=v({},j.props),Z=j.key;if(H!=null)for(ye in H.key!==void 0&&(Z=""+H.key),H)!R.call(H,ye)||ye==="key"||ye==="__self"||ye==="__source"||ye==="ref"&&H.ref===void 0||(te[ye]=H[ye]);var ye=arguments.length-2;if(ye===1)te.children=oe;else if(1<ye){for(var me=Array(ye),De=0;De<ye;De++)me[De]=arguments[De+2];te.children=me}return M(j.type,Z,te)},Pe.createContext=function(j){return j={$$typeof:a,_currentValue:j,_currentValue2:j,_threadCount:0,Provider:null,Consumer:null},j.Provider=j,j.Consumer={$$typeof:s,_context:j},j},Pe.createElement=function(j,H,oe){var te,Z={},ye=null;if(H!=null)for(te in H.key!==void 0&&(ye=""+H.key),H)R.call(H,te)&&te!=="key"&&te!=="__self"&&te!=="__source"&&(Z[te]=H[te]);var me=arguments.length-2;if(me===1)Z.children=oe;else if(1<me){for(var De=Array(me),J=0;J<me;J++)De[J]=arguments[J+2];Z.children=De}if(j&&j.defaultProps)for(te in me=j.defaultProps,me)Z[te]===void 0&&(Z[te]=me[te]);return M(j,ye,Z)},Pe.createRef=function(){return{current:null}},Pe.forwardRef=function(j){return{$$typeof:l,render:j}},Pe.isValidElement=q,Pe.lazy=function(j){return{$$typeof:d,_payload:{_status:-1,_result:j},_init:ie}},Pe.memo=function(j,H){return{$$typeof:c,type:j,compare:H===void 0?null:H}},Pe.startTransition=function(j){var H=_.T,oe={};_.T=oe;try{var te=j(),Z=_.S;Z!==null&&Z(oe,te),typeof te=="object"&&te!==null&&typeof te.then=="function"&&te.then(w,Ee)}catch(ye){Ee(ye)}finally{H!==null&&oe.types!==null&&(H.types=oe.types),_.T=H}},Pe.unstable_useCacheRefresh=function(){return _.H.useCacheRefresh()},Pe.use=function(j){return _.H.use(j)},Pe.useActionState=function(j,H,oe){return _.H.useActionState(j,H,oe)},Pe.useCallback=function(j,H){return _.H.useCallback(j,H)},Pe.useContext=function(j){return _.H.useContext(j)},Pe.useDebugValue=function(){},Pe.useDeferredValue=function(j,H){return _.H.useDeferredValue(j,H)},Pe.useEffect=function(j,H){return _.H.useEffect(j,H)},Pe.useEffectEvent=function(j){return _.H.useEffectEvent(j)},Pe.useId=function(){return _.H.useId()},Pe.useImperativeHandle=function(j,H,oe){return _.H.useImperativeHandle(j,H,oe)},Pe.useInsertionEffect=function(j,H){return _.H.useInsertionEffect(j,H)},Pe.useLayoutEffect=function(j,H){return _.H.useLayoutEffect(j,H)},Pe.useMemo=function(j,H){return _.H.useMemo(j,H)},Pe.useOptimistic=function(j,H){return _.H.useOptimistic(j,H)},Pe.useReducer=function(j,H,oe){return _.H.useReducer(j,H,oe)},Pe.useRef=function(j){return _.H.useRef(j)},Pe.useState=function(j){return _.H.useState(j)},Pe.useSyncExternalStore=function(j,H,oe){return _.H.useSyncExternalStore(j,H,oe)},Pe.useTransition=function(){return _.H.useTransition()},Pe.version="19.2.4",Pe}var bw;function Pne(){return bw||(bw=1,_f.exports=Cne()),_f.exports}Pne();const{useEffect:xne}=__STORYBOOK_MODULE_PREVIEW_API__;var Nne={};$M(Nne,{initializeThemeState:()=>HM,pluckThemeFromContext:()=>UM,useThemeParameters:()=>qne});const{deprecate:Ine}=__STORYBOOK_MODULE_CLIENT_LOGGER__,{addons:Mne,useParameter:jne}=__STORYBOOK_MODULE_PREVIEW_API__;function UM({globals:e}){return e[BM]||""}function qne(e){return Ine(Ane`The useThemeParameters function is deprecated. Please access parameters via the context directly instead e.g.
1103
+ - const { themeOverride } = context.parameters.themes ?? {};
1104
+ `),e?e.parameters[Jc]??yw:jne(Jc,yw)}function HM(e,t){Mne.getChannel().emit(Sne.REGISTER_THEMES,{defaultTheme:t,themes:e})}var Lne="html",vw=e=>e.split(" ").filter(Boolean),kne=({themes:e,defaultTheme:t,parentSelector:r=Lne})=>(HM(Object.keys(e),t),(n,o)=>{let{themeOverride:i}=o.parameters[Jc]??{},s=UM(o);return xne(()=>{let a=i||s||t,l=document.querySelector(r);if(!l)return;Object.entries(e).filter(([c])=>c!==a).forEach(([c,d])=>{let f=vw(d);f.length>0&&l.classList.remove(...f)});let u=vw(e[a]);u.length>0&&l.classList.add(...u)},[i,s]),n()});const{useEffect:voe}=__STORYBOOK_MODULE_PREVIEW_API__,{useMemo:Eoe}=__STORYBOOK_MODULE_PREVIEW_API__,Ae=e=>typeof e=="string",fa=()=>{let e,t;const r=new Promise((n,o)=>{e=n,t=o});return r.resolve=e,r.reject=t,r},Ew=e=>e==null?"":""+e,Dne=(e,t,r)=>{e.forEach(n=>{t[n]&&(r[n]=t[n])})},Fne=/###/g,_w=e=>e&&e.indexOf("###")>-1?e.replace(Fne,"."):e,Tw=e=>!e||Ae(e),$a=(e,t,r)=>{const n=Ae(t)?t.split("."):t;let o=0;for(;o<n.length-1;){if(Tw(e))return{};const i=_w(n[o]);!e[i]&&r&&(e[i]=new r),Object.prototype.hasOwnProperty.call(e,i)?e=e[i]:e={},++o}return Tw(e)?{}:{obj:e,k:_w(n[o])}},ww=(e,t,r)=>{const{obj:n,k:o}=$a(e,t,Object);if(n!==void 0||t.length===1){n[o]=r;return}let i=t[t.length-1],s=t.slice(0,t.length-1),a=$a(e,s,Object);for(;a.obj===void 0&&s.length;)i=`${s[s.length-1]}.${i}`,s=s.slice(0,s.length-1),a=$a(e,s,Object),a?.obj&&typeof a.obj[`${a.k}.${i}`]<"u"&&(a.obj=void 0);a.obj[`${a.k}.${i}`]=r},$ne=(e,t,r,n)=>{const{obj:o,k:i}=$a(e,t,Object);o[i]=o[i]||[],o[i].push(r)},Gc=(e,t)=>{const{obj:r,k:n}=$a(e,t);if(r&&Object.prototype.hasOwnProperty.call(r,n))return r[n]},Bne=(e,t,r)=>{const n=Gc(e,r);return n!==void 0?n:Gc(t,r)},JM=(e,t,r)=>{for(const n in t)n!=="__proto__"&&n!=="constructor"&&(n in e?Ae(e[n])||e[n]instanceof String||Ae(t[n])||t[n]instanceof String?r&&(e[n]=t[n]):JM(e[n],t[n],r):e[n]=t[n]);return e},Ui=e=>e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&");var Vne={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;","/":"&#x2F;"};const Une=e=>Ae(e)?e.replace(/[&<>"'\/]/g,t=>Vne[t]):e;class Hne{constructor(t){this.capacity=t,this.regExpMap=new Map,this.regExpQueue=[]}getRegExp(t){const r=this.regExpMap.get(t);if(r!==void 0)return r;const n=new RegExp(t);return this.regExpQueue.length===this.capacity&&this.regExpMap.delete(this.regExpQueue.shift()),this.regExpMap.set(t,n),this.regExpQueue.push(t),n}}const Jne=[" ",",","?","!",";"],Gne=new Hne(20),Wne=(e,t,r)=>{t=t||"",r=r||"";const n=Jne.filter(s=>t.indexOf(s)<0&&r.indexOf(s)<0);if(n.length===0)return!0;const o=Gne.getRegExp(`(${n.map(s=>s==="?"?"\\?":s).join("|")})`);let i=!o.test(e);if(!i){const s=e.indexOf(r);s>0&&!o.test(e.substring(0,s))&&(i=!0)}return i},cm=(e,t,r=".")=>{if(!e)return;if(e[t])return Object.prototype.hasOwnProperty.call(e,t)?e[t]:void 0;const n=t.split(r);let o=e;for(let i=0;i<n.length;){if(!o||typeof o!="object")return;let s,a="";for(let l=i;l<n.length;++l)if(l!==i&&(a+=r),a+=n[l],s=o[a],s!==void 0){if(["string","number","boolean"].indexOf(typeof s)>-1&&l<n.length-1)continue;i+=l-i+1;break}o=s}return o},Rl=e=>e?.replace("_","-"),Kne={type:"logger",log(e){this.output("log",e)},warn(e){this.output("warn",e)},error(e){this.output("error",e)},output(e,t){console?.[e]?.apply?.(console,t)}};class Wc{constructor(t,r={}){this.init(t,r)}init(t,r={}){this.prefix=r.prefix||"i18next:",this.logger=t||Kne,this.options=r,this.debug=r.debug}log(...t){return this.forward(t,"log","",!0)}warn(...t){return this.forward(t,"warn","",!0)}error(...t){return this.forward(t,"error","")}deprecate(...t){return this.forward(t,"warn","WARNING DEPRECATED: ",!0)}forward(t,r,n,o){return o&&!this.debug?null:(Ae(t[0])&&(t[0]=`${n}${this.prefix} ${t[0]}`),this.logger[r](t))}create(t){return new Wc(this.logger,{prefix:`${this.prefix}:${t}:`,...this.options})}clone(t){return t=t||this.options,t.prefix=t.prefix||this.prefix,new Wc(this.logger,t)}}var bn=new Wc;class cp{constructor(){this.observers={}}on(t,r){return t.split(" ").forEach(n=>{this.observers[n]||(this.observers[n]=new Map);const o=this.observers[n].get(r)||0;this.observers[n].set(r,o+1)}),this}off(t,r){if(this.observers[t]){if(!r){delete this.observers[t];return}this.observers[t].delete(r)}}emit(t,...r){this.observers[t]&&Array.from(this.observers[t].entries()).forEach(([o,i])=>{for(let s=0;s<i;s++)o(...r)}),this.observers["*"]&&Array.from(this.observers["*"].entries()).forEach(([o,i])=>{for(let s=0;s<i;s++)o.apply(o,[t,...r])})}}class Sw extends cp{constructor(t,r={ns:["translation"],defaultNS:"translation"}){super(),this.data=t||{},this.options=r,this.options.keySeparator===void 0&&(this.options.keySeparator="."),this.options.ignoreJSONStructure===void 0&&(this.options.ignoreJSONStructure=!0)}addNamespaces(t){this.options.ns.indexOf(t)<0&&this.options.ns.push(t)}removeNamespaces(t){const r=this.options.ns.indexOf(t);r>-1&&this.options.ns.splice(r,1)}getResource(t,r,n,o={}){const i=o.keySeparator!==void 0?o.keySeparator:this.options.keySeparator,s=o.ignoreJSONStructure!==void 0?o.ignoreJSONStructure:this.options.ignoreJSONStructure;let a;t.indexOf(".")>-1?a=t.split("."):(a=[t,r],n&&(Array.isArray(n)?a.push(...n):Ae(n)&&i?a.push(...n.split(i)):a.push(n)));const l=Gc(this.data,a);return!l&&!r&&!n&&t.indexOf(".")>-1&&(t=a[0],r=a[1],n=a.slice(2).join(".")),l||!s||!Ae(n)?l:cm(this.data?.[t]?.[r],n,i)}addResource(t,r,n,o,i={silent:!1}){const s=i.keySeparator!==void 0?i.keySeparator:this.options.keySeparator;let a=[t,r];n&&(a=a.concat(s?n.split(s):n)),t.indexOf(".")>-1&&(a=t.split("."),o=r,r=a[1]),this.addNamespaces(r),ww(this.data,a,o),i.silent||this.emit("added",t,r,n,o)}addResources(t,r,n,o={silent:!1}){for(const i in n)(Ae(n[i])||Array.isArray(n[i]))&&this.addResource(t,r,i,n[i],{silent:!0});o.silent||this.emit("added",t,r,n)}addResourceBundle(t,r,n,o,i,s={silent:!1,skipCopy:!1}){let a=[t,r];t.indexOf(".")>-1&&(a=t.split("."),o=n,n=r,r=a[1]),this.addNamespaces(r);let l=Gc(this.data,a)||{};s.skipCopy||(n=JSON.parse(JSON.stringify(n))),o?JM(l,n,i):l={...l,...n},ww(this.data,a,l),s.silent||this.emit("added",t,r,n)}removeResourceBundle(t,r){this.hasResourceBundle(t,r)&&delete this.data[t][r],this.removeNamespaces(r),this.emit("removed",t,r)}hasResourceBundle(t,r){return this.getResource(t,r)!==void 0}getResourceBundle(t,r){return r||(r=this.options.defaultNS),this.getResource(t,r)}getDataByLanguage(t){return this.data[t]}hasLanguageSomeTranslations(t){const r=this.getDataByLanguage(t);return!!(r&&Object.keys(r)||[]).find(o=>r[o]&&Object.keys(r[o]).length>0)}toJSON(){return this.data}}var GM={processors:{},addPostProcessor(e){this.processors[e.name]=e},handle(e,t,r,n,o){return e.forEach(i=>{t=this.processors[i]?.process(t,r,n,o)??t}),t}};const WM=Symbol("i18next/PATH_KEY");function zne(){const e=[],t=Object.create(null);let r;return t.get=(n,o)=>(r?.revoke?.(),o===WM?e:(e.push(o),r=Proxy.revocable(n,t),r.proxy)),Proxy.revocable(Object.create(null),t).proxy}function dm(e,t){const{[WM]:r}=e(zne());return r.join(t?.keySeparator??".")}const Rw={},Tf=e=>!Ae(e)&&typeof e!="boolean"&&typeof e!="number";class Kc extends cp{constructor(t,r={}){super(),Dne(["resourceStore","languageUtils","pluralResolver","interpolator","backendConnector","i18nFormat","utils"],t,this),this.options=r,this.options.keySeparator===void 0&&(this.options.keySeparator="."),this.logger=bn.create("translator")}changeLanguage(t){t&&(this.language=t)}exists(t,r={interpolation:{}}){const n={...r};if(t==null)return!1;const o=this.resolve(t,n);if(o?.res===void 0)return!1;const i=Tf(o.res);return!(n.returnObjects===!1&&i)}extractFromKey(t,r){let n=r.nsSeparator!==void 0?r.nsSeparator:this.options.nsSeparator;n===void 0&&(n=":");const o=r.keySeparator!==void 0?r.keySeparator:this.options.keySeparator;let i=r.ns||this.options.defaultNS||[];const s=n&&t.indexOf(n)>-1,a=!this.options.userDefinedKeySeparator&&!r.keySeparator&&!this.options.userDefinedNsSeparator&&!r.nsSeparator&&!Wne(t,n,o);if(s&&!a){const l=t.match(this.interpolator.nestingRegexp);if(l&&l.length>0)return{key:t,namespaces:Ae(i)?[i]:i};const u=t.split(n);(n!==o||n===o&&this.options.ns.indexOf(u[0])>-1)&&(i=u.shift()),t=u.join(o)}return{key:t,namespaces:Ae(i)?[i]:i}}translate(t,r,n){let o=typeof r=="object"?{...r}:r;if(typeof o!="object"&&this.options.overloadTranslationOptionHandler&&(o=this.options.overloadTranslationOptionHandler(arguments)),typeof o=="object"&&(o={...o}),o||(o={}),t==null)return"";typeof t=="function"&&(t=dm(t,{...this.options,...o})),Array.isArray(t)||(t=[String(t)]);const i=o.returnDetails!==void 0?o.returnDetails:this.options.returnDetails,s=o.keySeparator!==void 0?o.keySeparator:this.options.keySeparator,{key:a,namespaces:l}=this.extractFromKey(t[t.length-1],o),u=l[l.length-1];let c=o.nsSeparator!==void 0?o.nsSeparator:this.options.nsSeparator;c===void 0&&(c=":");const d=o.lng||this.language,f=o.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if(d?.toLowerCase()==="cimode")return f?i?{res:`${u}${c}${a}`,usedKey:a,exactUsedKey:a,usedLng:d,usedNS:u,usedParams:this.getUsedParamsDetails(o)}:`${u}${c}${a}`:i?{res:a,usedKey:a,exactUsedKey:a,usedLng:d,usedNS:u,usedParams:this.getUsedParamsDetails(o)}:a;const h=this.resolve(t,o);let m=h?.res;const g=h?.usedKey||a,v=h?.exactUsedKey||a,b=["[object Number]","[object Function]","[object RegExp]"],E=o.joinArrays!==void 0?o.joinArrays:this.options.joinArrays,S=!this.i18nFormat||this.i18nFormat.handleAsObject,A=o.count!==void 0&&!Ae(o.count),C=Kc.hasDefaultValue(o),T=A?this.pluralResolver.getSuffix(d,o.count,o):"",w=o.ordinal&&A?this.pluralResolver.getSuffix(d,o.count,{ordinal:!1}):"",_=A&&!o.ordinal&&o.count===0,R=_&&o[`defaultValue${this.options.pluralSeparator}zero`]||o[`defaultValue${T}`]||o[`defaultValue${w}`]||o.defaultValue;let M=m;S&&!m&&C&&(M=R);const N=Tf(M),q=Object.prototype.toString.apply(M);if(S&&M&&N&&b.indexOf(q)<0&&!(Ae(E)&&Array.isArray(M))){if(!o.returnObjects&&!this.options.returnObjects){this.options.returnedObjectHandler||this.logger.warn("accessing an object - but returnObjects options is not enabled!");const x=this.options.returnedObjectHandler?this.options.returnedObjectHandler(g,M,{...o,ns:l}):`key '${a} (${this.language})' returned an object instead of string.`;return i?(h.res=x,h.usedParams=this.getUsedParamsDetails(o),h):x}if(s){const x=Array.isArray(M),P=x?[]:{},L=x?v:g;for(const $ in M)if(Object.prototype.hasOwnProperty.call(M,$)){const V=`${L}${s}${$}`;C&&!m?P[$]=this.translate(V,{...o,defaultValue:Tf(R)?R[$]:void 0,joinArrays:!1,ns:l}):P[$]=this.translate(V,{...o,joinArrays:!1,ns:l}),P[$]===V&&(P[$]=M[$])}m=P}}else if(S&&Ae(E)&&Array.isArray(m))m=m.join(E),m&&(m=this.extendTranslation(m,t,o,n));else{let x=!1,P=!1;!this.isValidLookup(m)&&C&&(x=!0,m=R),this.isValidLookup(m)||(P=!0,m=a);const $=(o.missingKeyNoValueFallbackToKey||this.options.missingKeyNoValueFallbackToKey)&&P?void 0:m,V=C&&R!==m&&this.options.updateMissing;if(P||x||V){if(this.logger.log(V?"updateKey":"missingKey",d,u,a,V?R:m),s){const fe=this.resolve(a,{...o,keySeparator:!1});fe&&fe.res&&this.logger.warn("Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format.")}let G=[];const ie=this.languageUtils.getFallbackCodes(this.options.fallbackLng,o.lng||this.language);if(this.options.saveMissingTo==="fallback"&&ie&&ie[0])for(let fe=0;fe<ie.length;fe++)G.push(ie[fe]);else this.options.saveMissingTo==="all"?G=this.languageUtils.toResolveHierarchy(o.lng||this.language):G.push(o.lng||this.language);const Ee=(fe,j,H)=>{const oe=C&&H!==m?H:$;this.options.missingKeyHandler?this.options.missingKeyHandler(fe,u,j,oe,V,o):this.backendConnector?.saveMissing&&this.backendConnector.saveMissing(fe,u,j,oe,V,o),this.emit("missingKey",fe,u,j,m)};this.options.saveMissing&&(this.options.saveMissingPlurals&&A?G.forEach(fe=>{const j=this.pluralResolver.getSuffixes(fe,o);_&&o[`defaultValue${this.options.pluralSeparator}zero`]&&j.indexOf(`${this.options.pluralSeparator}zero`)<0&&j.push(`${this.options.pluralSeparator}zero`),j.forEach(H=>{Ee([fe],a+H,o[`defaultValue${H}`]||R)})}):Ee(G,a,R))}m=this.extendTranslation(m,t,o,h,n),P&&m===a&&this.options.appendNamespaceToMissingKey&&(m=`${u}${c}${a}`),(P||x)&&this.options.parseMissingKeyHandler&&(m=this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey?`${u}${c}${a}`:a,x?m:void 0,o))}return i?(h.res=m,h.usedParams=this.getUsedParamsDetails(o),h):m}extendTranslation(t,r,n,o,i){if(this.i18nFormat?.parse)t=this.i18nFormat.parse(t,{...this.options.interpolation.defaultVariables,...n},n.lng||this.language||o.usedLng,o.usedNS,o.usedKey,{resolved:o});else if(!n.skipInterpolation){n.interpolation&&this.interpolator.init({...n,interpolation:{...this.options.interpolation,...n.interpolation}});const l=Ae(t)&&(n?.interpolation?.skipOnVariables!==void 0?n.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables);let u;if(l){const d=t.match(this.interpolator.nestingRegexp);u=d&&d.length}let c=n.replace&&!Ae(n.replace)?n.replace:n;if(this.options.interpolation.defaultVariables&&(c={...this.options.interpolation.defaultVariables,...c}),t=this.interpolator.interpolate(t,c,n.lng||this.language||o.usedLng,n),l){const d=t.match(this.interpolator.nestingRegexp),f=d&&d.length;u<f&&(n.nest=!1)}!n.lng&&o&&o.res&&(n.lng=this.language||o.usedLng),n.nest!==!1&&(t=this.interpolator.nest(t,(...d)=>i?.[0]===d[0]&&!n.context?(this.logger.warn(`It seems you are nesting recursively key: ${d[0]} in key: ${r[0]}`),null):this.translate(...d,r),n)),n.interpolation&&this.interpolator.reset()}const s=n.postProcess||this.options.postProcess,a=Ae(s)?[s]:s;return t!=null&&a?.length&&n.applyPostProcessor!==!1&&(t=GM.handle(a,t,r,this.options&&this.options.postProcessPassResolved?{i18nResolved:{...o,usedParams:this.getUsedParamsDetails(n)},...n}:n,this)),t}resolve(t,r={}){let n,o,i,s,a;return Ae(t)&&(t=[t]),t.forEach(l=>{if(this.isValidLookup(n))return;const u=this.extractFromKey(l,r),c=u.key;o=c;let d=u.namespaces;this.options.fallbackNS&&(d=d.concat(this.options.fallbackNS));const f=r.count!==void 0&&!Ae(r.count),h=f&&!r.ordinal&&r.count===0,m=r.context!==void 0&&(Ae(r.context)||typeof r.context=="number")&&r.context!=="",g=r.lngs?r.lngs:this.languageUtils.toResolveHierarchy(r.lng||this.language,r.fallbackLng);d.forEach(v=>{this.isValidLookup(n)||(a=v,!Rw[`${g[0]}-${v}`]&&this.utils?.hasLoadedNamespace&&!this.utils?.hasLoadedNamespace(a)&&(Rw[`${g[0]}-${v}`]=!0,this.logger.warn(`key "${o}" for languages "${g.join(", ")}" won't get resolved as namespace "${a}" was not yet loaded`,"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")),g.forEach(b=>{if(this.isValidLookup(n))return;s=b;const E=[c];if(this.i18nFormat?.addLookupKeys)this.i18nFormat.addLookupKeys(E,c,b,v,r);else{let A;f&&(A=this.pluralResolver.getSuffix(b,r.count,r));const C=`${this.options.pluralSeparator}zero`,T=`${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;if(f&&(r.ordinal&&A.indexOf(T)===0&&E.push(c+A.replace(T,this.options.pluralSeparator)),E.push(c+A),h&&E.push(c+C)),m){const w=`${c}${this.options.contextSeparator||"_"}${r.context}`;E.push(w),f&&(r.ordinal&&A.indexOf(T)===0&&E.push(w+A.replace(T,this.options.pluralSeparator)),E.push(w+A),h&&E.push(w+C))}}let S;for(;S=E.pop();)this.isValidLookup(n)||(i=S,n=this.getResource(b,v,S,r))}))})}),{res:n,usedKey:o,exactUsedKey:i,usedLng:s,usedNS:a}}isValidLookup(t){return t!==void 0&&!(!this.options.returnNull&&t===null)&&!(!this.options.returnEmptyString&&t==="")}getResource(t,r,n,o={}){return this.i18nFormat?.getResource?this.i18nFormat.getResource(t,r,n,o):this.resourceStore.getResource(t,r,n,o)}getUsedParamsDetails(t={}){const r=["defaultValue","ordinal","context","replace","lng","lngs","fallbackLng","ns","keySeparator","nsSeparator","returnObjects","returnDetails","joinArrays","postProcess","interpolation"],n=t.replace&&!Ae(t.replace);let o=n?t.replace:t;if(n&&typeof t.count<"u"&&(o.count=t.count),this.options.interpolation.defaultVariables&&(o={...this.options.interpolation.defaultVariables,...o}),!n){o={...o};for(const i of r)delete o[i]}return o}static hasDefaultValue(t){const r="defaultValue";for(const n in t)if(Object.prototype.hasOwnProperty.call(t,n)&&r===n.substring(0,r.length)&&t[n]!==void 0)return!0;return!1}}class Ow{constructor(t){this.options=t,this.supportedLngs=this.options.supportedLngs||!1,this.logger=bn.create("languageUtils")}getScriptPartFromCode(t){if(t=Rl(t),!t||t.indexOf("-")<0)return null;const r=t.split("-");return r.length===2||(r.pop(),r[r.length-1].toLowerCase()==="x")?null:this.formatLanguageCode(r.join("-"))}getLanguagePartFromCode(t){if(t=Rl(t),!t||t.indexOf("-")<0)return t;const r=t.split("-");return this.formatLanguageCode(r[0])}formatLanguageCode(t){if(Ae(t)&&t.indexOf("-")>-1){let r;try{r=Intl.getCanonicalLocales(t)[0]}catch{}return r&&this.options.lowerCaseLng&&(r=r.toLowerCase()),r||(this.options.lowerCaseLng?t.toLowerCase():t)}return this.options.cleanCode||this.options.lowerCaseLng?t.toLowerCase():t}isSupportedCode(t){return(this.options.load==="languageOnly"||this.options.nonExplicitSupportedLngs)&&(t=this.getLanguagePartFromCode(t)),!this.supportedLngs||!this.supportedLngs.length||this.supportedLngs.indexOf(t)>-1}getBestMatchFromCodes(t){if(!t)return null;let r;return t.forEach(n=>{if(r)return;const o=this.formatLanguageCode(n);(!this.options.supportedLngs||this.isSupportedCode(o))&&(r=o)}),!r&&this.options.supportedLngs&&t.forEach(n=>{if(r)return;const o=this.getScriptPartFromCode(n);if(this.isSupportedCode(o))return r=o;const i=this.getLanguagePartFromCode(n);if(this.isSupportedCode(i))return r=i;r=this.options.supportedLngs.find(s=>{if(s===i)return s;if(!(s.indexOf("-")<0&&i.indexOf("-")<0)&&(s.indexOf("-")>0&&i.indexOf("-")<0&&s.substring(0,s.indexOf("-"))===i||s.indexOf(i)===0&&i.length>1))return s})}),r||(r=this.getFallbackCodes(this.options.fallbackLng)[0]),r}getFallbackCodes(t,r){if(!t)return[];if(typeof t=="function"&&(t=t(r)),Ae(t)&&(t=[t]),Array.isArray(t))return t;if(!r)return t.default||[];let n=t[r];return n||(n=t[this.getScriptPartFromCode(r)]),n||(n=t[this.formatLanguageCode(r)]),n||(n=t[this.getLanguagePartFromCode(r)]),n||(n=t.default),n||[]}toResolveHierarchy(t,r){const n=this.getFallbackCodes((r===!1?[]:r)||this.options.fallbackLng||[],t),o=[],i=s=>{s&&(this.isSupportedCode(s)?o.push(s):this.logger.warn(`rejecting language code not found in supportedLngs: ${s}`))};return Ae(t)&&(t.indexOf("-")>-1||t.indexOf("_")>-1)?(this.options.load!=="languageOnly"&&i(this.formatLanguageCode(t)),this.options.load!=="languageOnly"&&this.options.load!=="currentOnly"&&i(this.getScriptPartFromCode(t)),this.options.load!=="currentOnly"&&i(this.getLanguagePartFromCode(t))):Ae(t)&&i(this.formatLanguageCode(t)),n.forEach(s=>{o.indexOf(s)<0&&i(this.formatLanguageCode(s))}),o}}const Aw={zero:0,one:1,two:2,few:3,many:4,other:5},Cw={select:e=>e===1?"one":"other",resolvedOptions:()=>({pluralCategories:["one","other"]})};class Yne{constructor(t,r={}){this.languageUtils=t,this.options=r,this.logger=bn.create("pluralResolver"),this.pluralRulesCache={}}clearCache(){this.pluralRulesCache={}}getRule(t,r={}){const n=Rl(t==="dev"?"en":t),o=r.ordinal?"ordinal":"cardinal",i=JSON.stringify({cleanedCode:n,type:o});if(i in this.pluralRulesCache)return this.pluralRulesCache[i];let s;try{s=new Intl.PluralRules(n,{type:o})}catch{if(!Intl)return this.logger.error("No Intl support, please use an Intl polyfill!"),Cw;if(!t.match(/-|_/))return Cw;const l=this.languageUtils.getLanguagePartFromCode(t);s=this.getRule(l,r)}return this.pluralRulesCache[i]=s,s}needsPlural(t,r={}){let n=this.getRule(t,r);return n||(n=this.getRule("dev",r)),n?.resolvedOptions().pluralCategories.length>1}getPluralFormsOfKey(t,r,n={}){return this.getSuffixes(t,n).map(o=>`${r}${o}`)}getSuffixes(t,r={}){let n=this.getRule(t,r);return n||(n=this.getRule("dev",r)),n?n.resolvedOptions().pluralCategories.sort((o,i)=>Aw[o]-Aw[i]).map(o=>`${this.options.prepend}${r.ordinal?`ordinal${this.options.prepend}`:""}${o}`):[]}getSuffix(t,r,n={}){const o=this.getRule(t,n);return o?`${this.options.prepend}${n.ordinal?`ordinal${this.options.prepend}`:""}${o.select(r)}`:(this.logger.warn(`no plural rule found for: ${t}`),this.getSuffix("dev",r,n))}}const Pw=(e,t,r,n=".",o=!0)=>{let i=Bne(e,t,r);return!i&&o&&Ae(r)&&(i=cm(e,r,n),i===void 0&&(i=cm(t,r,n))),i},wf=e=>e.replace(/\$/g,"$$$$");class xw{constructor(t={}){this.logger=bn.create("interpolator"),this.options=t,this.format=t?.interpolation?.format||(r=>r),this.init(t)}init(t={}){t.interpolation||(t.interpolation={escapeValue:!0});const{escape:r,escapeValue:n,useRawValueToEscape:o,prefix:i,prefixEscaped:s,suffix:a,suffixEscaped:l,formatSeparator:u,unescapeSuffix:c,unescapePrefix:d,nestingPrefix:f,nestingPrefixEscaped:h,nestingSuffix:m,nestingSuffixEscaped:g,nestingOptionsSeparator:v,maxReplaces:b,alwaysFormat:E}=t.interpolation;this.escape=r!==void 0?r:Une,this.escapeValue=n!==void 0?n:!0,this.useRawValueToEscape=o!==void 0?o:!1,this.prefix=i?Ui(i):s||"{{",this.suffix=a?Ui(a):l||"}}",this.formatSeparator=u||",",this.unescapePrefix=c?"":d||"-",this.unescapeSuffix=this.unescapePrefix?"":c||"",this.nestingPrefix=f?Ui(f):h||Ui("$t("),this.nestingSuffix=m?Ui(m):g||Ui(")"),this.nestingOptionsSeparator=v||",",this.maxReplaces=b||1e3,this.alwaysFormat=E!==void 0?E:!1,this.resetRegExp()}reset(){this.options&&this.init(this.options)}resetRegExp(){const t=(r,n)=>r?.source===n?(r.lastIndex=0,r):new RegExp(n,"g");this.regexp=t(this.regexp,`${this.prefix}(.+?)${this.suffix}`),this.regexpUnescape=t(this.regexpUnescape,`${this.prefix}${this.unescapePrefix}(.+?)${this.unescapeSuffix}${this.suffix}`),this.nestingRegexp=t(this.nestingRegexp,`${this.nestingPrefix}((?:[^()"']+|"[^"]*"|'[^']*'|\\((?:[^()]|"[^"]*"|'[^']*')*\\))*?)${this.nestingSuffix}`)}interpolate(t,r,n,o){let i,s,a;const l=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{},u=h=>{if(h.indexOf(this.formatSeparator)<0){const b=Pw(r,l,h,this.options.keySeparator,this.options.ignoreJSONStructure);return this.alwaysFormat?this.format(b,void 0,n,{...o,...r,interpolationkey:h}):b}const m=h.split(this.formatSeparator),g=m.shift().trim(),v=m.join(this.formatSeparator).trim();return this.format(Pw(r,l,g,this.options.keySeparator,this.options.ignoreJSONStructure),v,n,{...o,...r,interpolationkey:g})};this.resetRegExp();const c=o?.missingInterpolationHandler||this.options.missingInterpolationHandler,d=o?.interpolation?.skipOnVariables!==void 0?o.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables;return[{regex:this.regexpUnescape,safeValue:h=>wf(h)},{regex:this.regexp,safeValue:h=>this.escapeValue?wf(this.escape(h)):wf(h)}].forEach(h=>{for(a=0;i=h.regex.exec(t);){const m=i[1].trim();if(s=u(m),s===void 0)if(typeof c=="function"){const v=c(t,i,o);s=Ae(v)?v:""}else if(o&&Object.prototype.hasOwnProperty.call(o,m))s="";else if(d){s=i[0];continue}else this.logger.warn(`missed to pass in variable ${m} for interpolating ${t}`),s="";else!Ae(s)&&!this.useRawValueToEscape&&(s=Ew(s));const g=h.safeValue(s);if(t=t.replace(i[0],g),d?(h.regex.lastIndex+=s.length,h.regex.lastIndex-=i[0].length):h.regex.lastIndex=0,a++,a>=this.maxReplaces)break}}),t}nest(t,r,n={}){let o,i,s;const a=(l,u)=>{const c=this.nestingOptionsSeparator;if(l.indexOf(c)<0)return l;const d=l.split(new RegExp(`${c}[ ]*{`));let f=`{${d[1]}`;l=d[0],f=this.interpolate(f,s);const h=f.match(/'/g),m=f.match(/"/g);((h?.length??0)%2===0&&!m||m.length%2!==0)&&(f=f.replace(/'/g,'"'));try{s=JSON.parse(f),u&&(s={...u,...s})}catch(g){return this.logger.warn(`failed parsing options string in nesting for key ${l}`,g),`${l}${c}${f}`}return s.defaultValue&&s.defaultValue.indexOf(this.prefix)>-1&&delete s.defaultValue,l};for(;o=this.nestingRegexp.exec(t);){let l=[];s={...n},s=s.replace&&!Ae(s.replace)?s.replace:s,s.applyPostProcessor=!1,delete s.defaultValue;const u=/{.*}/.test(o[1])?o[1].lastIndexOf("}")+1:o[1].indexOf(this.formatSeparator);if(u!==-1&&(l=o[1].slice(u).split(this.formatSeparator).map(c=>c.trim()).filter(Boolean),o[1]=o[1].slice(0,u)),i=r(a.call(this,o[1].trim(),s),s),i&&o[0]===t&&!Ae(i))return i;Ae(i)||(i=Ew(i)),i||(this.logger.warn(`missed to resolve ${o[1]} for nesting ${t}`),i=""),l.length&&(i=l.reduce((c,d)=>this.format(c,d,n.lng,{...n,interpolationkey:o[1].trim()}),i.trim())),t=t.replace(o[0],i),this.regexp.lastIndex=0}return t}}const Xne=e=>{let t=e.toLowerCase().trim();const r={};if(e.indexOf("(")>-1){const n=e.split("(");t=n[0].toLowerCase().trim();const o=n[1].substring(0,n[1].length-1);t==="currency"&&o.indexOf(":")<0?r.currency||(r.currency=o.trim()):t==="relativetime"&&o.indexOf(":")<0?r.range||(r.range=o.trim()):o.split(";").forEach(s=>{if(s){const[a,...l]=s.split(":"),u=l.join(":").trim().replace(/^'+|'+$/g,""),c=a.trim();r[c]||(r[c]=u),u==="false"&&(r[c]=!1),u==="true"&&(r[c]=!0),isNaN(u)||(r[c]=parseInt(u,10))}})}return{formatName:t,formatOptions:r}},Nw=e=>{const t={};return(r,n,o)=>{let i=o;o&&o.interpolationkey&&o.formatParams&&o.formatParams[o.interpolationkey]&&o[o.interpolationkey]&&(i={...i,[o.interpolationkey]:void 0});const s=n+JSON.stringify(i);let a=t[s];return a||(a=e(Rl(n),o),t[s]=a),a(r)}},Qne=e=>(t,r,n)=>e(Rl(r),n)(t);class Zne{constructor(t={}){this.logger=bn.create("formatter"),this.options=t,this.init(t)}init(t,r={interpolation:{}}){this.formatSeparator=r.interpolation.formatSeparator||",";const n=r.cacheInBuiltFormats?Nw:Qne;this.formats={number:n((o,i)=>{const s=new Intl.NumberFormat(o,{...i});return a=>s.format(a)}),currency:n((o,i)=>{const s=new Intl.NumberFormat(o,{...i,style:"currency"});return a=>s.format(a)}),datetime:n((o,i)=>{const s=new Intl.DateTimeFormat(o,{...i});return a=>s.format(a)}),relativetime:n((o,i)=>{const s=new Intl.RelativeTimeFormat(o,{...i});return a=>s.format(a,i.range||"day")}),list:n((o,i)=>{const s=new Intl.ListFormat(o,{...i});return a=>s.format(a)})}}add(t,r){this.formats[t.toLowerCase().trim()]=r}addCached(t,r){this.formats[t.toLowerCase().trim()]=Nw(r)}format(t,r,n,o={}){const i=r.split(this.formatSeparator);if(i.length>1&&i[0].indexOf("(")>1&&i[0].indexOf(")")<0&&i.find(a=>a.indexOf(")")>-1)){const a=i.findIndex(l=>l.indexOf(")")>-1);i[0]=[i[0],...i.splice(1,a)].join(this.formatSeparator)}return i.reduce((a,l)=>{const{formatName:u,formatOptions:c}=Xne(l);if(this.formats[u]){let d=a;try{const f=o?.formatParams?.[o.interpolationkey]||{},h=f.locale||f.lng||o.locale||o.lng||n;d=this.formats[u](a,h,{...c,...o,...f})}catch(f){this.logger.warn(f)}return d}else this.logger.warn(`there was no format function for ${u}`);return a},t)}}const eoe=(e,t)=>{e.pending[t]!==void 0&&(delete e.pending[t],e.pendingCount--)};class toe extends cp{constructor(t,r,n,o={}){super(),this.backend=t,this.store=r,this.services=n,this.languageUtils=n.languageUtils,this.options=o,this.logger=bn.create("backendConnector"),this.waitingReads=[],this.maxParallelReads=o.maxParallelReads||10,this.readingCalls=0,this.maxRetries=o.maxRetries>=0?o.maxRetries:5,this.retryTimeout=o.retryTimeout>=1?o.retryTimeout:350,this.state={},this.queue=[],this.backend?.init?.(n,o.backend,o)}queueLoad(t,r,n,o){const i={},s={},a={},l={};return t.forEach(u=>{let c=!0;r.forEach(d=>{const f=`${u}|${d}`;!n.reload&&this.store.hasResourceBundle(u,d)?this.state[f]=2:this.state[f]<0||(this.state[f]===1?s[f]===void 0&&(s[f]=!0):(this.state[f]=1,c=!1,s[f]===void 0&&(s[f]=!0),i[f]===void 0&&(i[f]=!0),l[d]===void 0&&(l[d]=!0)))}),c||(a[u]=!0)}),(Object.keys(i).length||Object.keys(s).length)&&this.queue.push({pending:s,pendingCount:Object.keys(s).length,loaded:{},errors:[],callback:o}),{toLoad:Object.keys(i),pending:Object.keys(s),toLoadLanguages:Object.keys(a),toLoadNamespaces:Object.keys(l)}}loaded(t,r,n){const o=t.split("|"),i=o[0],s=o[1];r&&this.emit("failedLoading",i,s,r),!r&&n&&this.store.addResourceBundle(i,s,n,void 0,void 0,{skipCopy:!0}),this.state[t]=r?-1:2,r&&n&&(this.state[t]=0);const a={};this.queue.forEach(l=>{$ne(l.loaded,[i],s),eoe(l,t),r&&l.errors.push(r),l.pendingCount===0&&!l.done&&(Object.keys(l.loaded).forEach(u=>{a[u]||(a[u]={});const c=l.loaded[u];c.length&&c.forEach(d=>{a[u][d]===void 0&&(a[u][d]=!0)})}),l.done=!0,l.errors.length?l.callback(l.errors):l.callback())}),this.emit("loaded",a),this.queue=this.queue.filter(l=>!l.done)}read(t,r,n,o=0,i=this.retryTimeout,s){if(!t.length)return s(null,{});if(this.readingCalls>=this.maxParallelReads){this.waitingReads.push({lng:t,ns:r,fcName:n,tried:o,wait:i,callback:s});return}this.readingCalls++;const a=(u,c)=>{if(this.readingCalls--,this.waitingReads.length>0){const d=this.waitingReads.shift();this.read(d.lng,d.ns,d.fcName,d.tried,d.wait,d.callback)}if(u&&c&&o<this.maxRetries){setTimeout(()=>{this.read.call(this,t,r,n,o+1,i*2,s)},i);return}s(u,c)},l=this.backend[n].bind(this.backend);if(l.length===2){try{const u=l(t,r);u&&typeof u.then=="function"?u.then(c=>a(null,c)).catch(a):a(null,u)}catch(u){a(u)}return}return l(t,r,a)}prepareLoading(t,r,n={},o){if(!this.backend)return this.logger.warn("No backend was added via i18next.use. Will not load resources."),o&&o();Ae(t)&&(t=this.languageUtils.toResolveHierarchy(t)),Ae(r)&&(r=[r]);const i=this.queueLoad(t,r,n,o);if(!i.toLoad.length)return i.pending.length||o(),null;i.toLoad.forEach(s=>{this.loadOne(s)})}load(t,r,n){this.prepareLoading(t,r,{},n)}reload(t,r,n){this.prepareLoading(t,r,{reload:!0},n)}loadOne(t,r=""){const n=t.split("|"),o=n[0],i=n[1];this.read(o,i,"read",void 0,void 0,(s,a)=>{s&&this.logger.warn(`${r}loading namespace ${i} for language ${o} failed`,s),!s&&a&&this.logger.log(`${r}loaded namespace ${i} for language ${o}`,a),this.loaded(t,s,a)})}saveMissing(t,r,n,o,i,s={},a=()=>{}){if(this.services?.utils?.hasLoadedNamespace&&!this.services?.utils?.hasLoadedNamespace(r)){this.logger.warn(`did not save key "${n}" as the namespace "${r}" was not yet loaded`,"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!");return}if(!(n==null||n==="")){if(this.backend?.create){const l={...s,isUpdate:i},u=this.backend.create.bind(this.backend);if(u.length<6)try{let c;u.length===5?c=u(t,r,n,o,l):c=u(t,r,n,o),c&&typeof c.then=="function"?c.then(d=>a(null,d)).catch(a):a(null,c)}catch(c){a(c)}else u(t,r,n,o,a,l)}!t||!t[0]||this.store.addResource(t[0],r,n,o)}}}const Sf=()=>({debug:!1,initAsync:!0,ns:["translation"],defaultNS:["translation"],fallbackLng:["dev"],fallbackNS:!1,supportedLngs:!1,nonExplicitSupportedLngs:!1,load:"all",preload:!1,simplifyPluralSuffix:!0,keySeparator:".",nsSeparator:":",pluralSeparator:"_",contextSeparator:"_",partialBundledLanguages:!1,saveMissing:!1,updateMissing:!1,saveMissingTo:"fallback",saveMissingPlurals:!0,missingKeyHandler:!1,missingInterpolationHandler:!1,postProcess:!1,postProcessPassResolved:!1,returnNull:!1,returnEmptyString:!0,returnObjects:!1,joinArrays:!1,returnedObjectHandler:!1,parseMissingKeyHandler:!1,appendNamespaceToMissingKey:!1,appendNamespaceToCIMode:!1,overloadTranslationOptionHandler:e=>{let t={};if(typeof e[1]=="object"&&(t=e[1]),Ae(e[1])&&(t.defaultValue=e[1]),Ae(e[2])&&(t.tDescription=e[2]),typeof e[2]=="object"||typeof e[3]=="object"){const r=e[3]||e[2];Object.keys(r).forEach(n=>{t[n]=r[n]})}return t},interpolation:{escapeValue:!0,format:e=>e,prefix:"{{",suffix:"}}",formatSeparator:",",unescapePrefix:"-",nestingPrefix:"$t(",nestingSuffix:")",nestingOptionsSeparator:",",maxReplaces:1e3,skipOnVariables:!0},cacheInBuiltFormats:!0}),Iw=e=>(Ae(e.ns)&&(e.ns=[e.ns]),Ae(e.fallbackLng)&&(e.fallbackLng=[e.fallbackLng]),Ae(e.fallbackNS)&&(e.fallbackNS=[e.fallbackNS]),e.supportedLngs?.indexOf?.("cimode")<0&&(e.supportedLngs=e.supportedLngs.concat(["cimode"])),typeof e.initImmediate=="boolean"&&(e.initAsync=e.initImmediate),e),Cu=()=>{},roe=e=>{Object.getOwnPropertyNames(Object.getPrototypeOf(e)).forEach(r=>{typeof e[r]=="function"&&(e[r]=e[r].bind(e))})};class Ba extends cp{constructor(t={},r){if(super(),this.options=Iw(t),this.services={},this.logger=bn,this.modules={external:[]},roe(this),r&&!this.isInitialized&&!t.isClone){if(!this.options.initAsync)return this.init(t,r),this;setTimeout(()=>{this.init(t,r)},0)}}init(t={},r){this.isInitializing=!0,typeof t=="function"&&(r=t,t={}),t.defaultNS==null&&t.ns&&(Ae(t.ns)?t.defaultNS=t.ns:t.ns.indexOf("translation")<0&&(t.defaultNS=t.ns[0]));const n=Sf();this.options={...n,...this.options,...Iw(t)},this.options.interpolation={...n.interpolation,...this.options.interpolation},t.keySeparator!==void 0&&(this.options.userDefinedKeySeparator=t.keySeparator),t.nsSeparator!==void 0&&(this.options.userDefinedNsSeparator=t.nsSeparator),typeof this.options.overloadTranslationOptionHandler!="function"&&(this.options.overloadTranslationOptionHandler=n.overloadTranslationOptionHandler),this.options.debug===!0&&typeof console<"u"&&console.warn("i18next is maintained with support from locize.com — consider powering your project with managed localization (AI, CDN, integrations): https://locize.com");const o=u=>u?typeof u=="function"?new u:u:null;if(!this.options.isClone){this.modules.logger?bn.init(o(this.modules.logger),this.options):bn.init(null,this.options);let u;this.modules.formatter?u=this.modules.formatter:u=Zne;const c=new Ow(this.options);this.store=new Sw(this.options.resources,this.options);const d=this.services;d.logger=bn,d.resourceStore=this.store,d.languageUtils=c,d.pluralResolver=new Yne(c,{prepend:this.options.pluralSeparator,simplifyPluralSuffix:this.options.simplifyPluralSuffix}),this.options.interpolation.format&&this.options.interpolation.format!==n.interpolation.format&&this.logger.deprecate("init: you are still using the legacy format function, please use the new approach: https://www.i18next.com/translation-function/formatting"),u&&(!this.options.interpolation.format||this.options.interpolation.format===n.interpolation.format)&&(d.formatter=o(u),d.formatter.init&&d.formatter.init(d,this.options),this.options.interpolation.format=d.formatter.format.bind(d.formatter)),d.interpolator=new xw(this.options),d.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},d.backendConnector=new toe(o(this.modules.backend),d.resourceStore,d,this.options),d.backendConnector.on("*",(h,...m)=>{this.emit(h,...m)}),this.modules.languageDetector&&(d.languageDetector=o(this.modules.languageDetector),d.languageDetector.init&&d.languageDetector.init(d,this.options.detection,this.options)),this.modules.i18nFormat&&(d.i18nFormat=o(this.modules.i18nFormat),d.i18nFormat.init&&d.i18nFormat.init(this)),this.translator=new Kc(this.services,this.options),this.translator.on("*",(h,...m)=>{this.emit(h,...m)}),this.modules.external.forEach(h=>{h.init&&h.init(this)})}if(this.format=this.options.interpolation.format,r||(r=Cu),this.options.fallbackLng&&!this.services.languageDetector&&!this.options.lng){const u=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);u.length>0&&u[0]!=="dev"&&(this.options.lng=u[0])}!this.services.languageDetector&&!this.options.lng&&this.logger.warn("init: no languageDetector is used and no lng is defined"),["getResource","hasResourceBundle","getResourceBundle","getDataByLanguage"].forEach(u=>{this[u]=(...c)=>this.store[u](...c)}),["addResource","addResources","addResourceBundle","removeResourceBundle"].forEach(u=>{this[u]=(...c)=>(this.store[u](...c),this)});const a=fa(),l=()=>{const u=(c,d)=>{this.isInitializing=!1,this.isInitialized&&!this.initializedStoreOnce&&this.logger.warn("init: i18next is already initialized. You should call init just once!"),this.isInitialized=!0,this.options.isClone||this.logger.log("initialized",this.options),this.emit("initialized",this.options),a.resolve(d),r(c,d)};if(this.languages&&!this.isInitialized)return u(null,this.t.bind(this));this.changeLanguage(this.options.lng,u)};return this.options.resources||!this.options.initAsync?l():setTimeout(l,0),a}loadResources(t,r=Cu){let n=r;const o=Ae(t)?t:this.language;if(typeof t=="function"&&(n=t),!this.options.resources||this.options.partialBundledLanguages){if(o?.toLowerCase()==="cimode"&&(!this.options.preload||this.options.preload.length===0))return n();const i=[],s=a=>{if(!a||a==="cimode")return;this.services.languageUtils.toResolveHierarchy(a).forEach(u=>{u!=="cimode"&&i.indexOf(u)<0&&i.push(u)})};o?s(o):this.services.languageUtils.getFallbackCodes(this.options.fallbackLng).forEach(l=>s(l)),this.options.preload?.forEach?.(a=>s(a)),this.services.backendConnector.load(i,this.options.ns,a=>{!a&&!this.resolvedLanguage&&this.language&&this.setResolvedLanguage(this.language),n(a)})}else n(null)}reloadResources(t,r,n){const o=fa();return typeof t=="function"&&(n=t,t=void 0),typeof r=="function"&&(n=r,r=void 0),t||(t=this.languages),r||(r=this.options.ns),n||(n=Cu),this.services.backendConnector.reload(t,r,i=>{o.resolve(),n(i)}),o}use(t){if(!t)throw new Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");if(!t.type)throw new Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");return t.type==="backend"&&(this.modules.backend=t),(t.type==="logger"||t.log&&t.warn&&t.error)&&(this.modules.logger=t),t.type==="languageDetector"&&(this.modules.languageDetector=t),t.type==="i18nFormat"&&(this.modules.i18nFormat=t),t.type==="postProcessor"&&GM.addPostProcessor(t),t.type==="formatter"&&(this.modules.formatter=t),t.type==="3rdParty"&&this.modules.external.push(t),this}setResolvedLanguage(t){if(!(!t||!this.languages)&&!(["cimode","dev"].indexOf(t)>-1)){for(let r=0;r<this.languages.length;r++){const n=this.languages[r];if(!(["cimode","dev"].indexOf(n)>-1)&&this.store.hasLanguageSomeTranslations(n)){this.resolvedLanguage=n;break}}!this.resolvedLanguage&&this.languages.indexOf(t)<0&&this.store.hasLanguageSomeTranslations(t)&&(this.resolvedLanguage=t,this.languages.unshift(t))}}changeLanguage(t,r){this.isLanguageChangingTo=t;const n=fa();this.emit("languageChanging",t);const o=a=>{this.language=a,this.languages=this.services.languageUtils.toResolveHierarchy(a),this.resolvedLanguage=void 0,this.setResolvedLanguage(a)},i=(a,l)=>{l?this.isLanguageChangingTo===t&&(o(l),this.translator.changeLanguage(l),this.isLanguageChangingTo=void 0,this.emit("languageChanged",l),this.logger.log("languageChanged",l)):this.isLanguageChangingTo=void 0,n.resolve((...u)=>this.t(...u)),r&&r(a,(...u)=>this.t(...u))},s=a=>{!t&&!a&&this.services.languageDetector&&(a=[]);const l=Ae(a)?a:a&&a[0],u=this.store.hasLanguageSomeTranslations(l)?l:this.services.languageUtils.getBestMatchFromCodes(Ae(a)?[a]:a);u&&(this.language||o(u),this.translator.language||this.translator.changeLanguage(u),this.services.languageDetector?.cacheUserLanguage?.(u)),this.loadResources(u,c=>{i(c,u)})};return!t&&this.services.languageDetector&&!this.services.languageDetector.async?s(this.services.languageDetector.detect()):!t&&this.services.languageDetector&&this.services.languageDetector.async?this.services.languageDetector.detect.length===0?this.services.languageDetector.detect().then(s):this.services.languageDetector.detect(s):s(t),n}getFixedT(t,r,n){const o=(i,s,...a)=>{let l;typeof s!="object"?l=this.options.overloadTranslationOptionHandler([i,s].concat(a)):l={...s},l.lng=l.lng||o.lng,l.lngs=l.lngs||o.lngs,l.ns=l.ns||o.ns,l.keyPrefix!==""&&(l.keyPrefix=l.keyPrefix||n||o.keyPrefix);const u=this.options.keySeparator||".";let c;return l.keyPrefix&&Array.isArray(i)?c=i.map(d=>(typeof d=="function"&&(d=dm(d,{...this.options,...s})),`${l.keyPrefix}${u}${d}`)):(typeof i=="function"&&(i=dm(i,{...this.options,...s})),c=l.keyPrefix?`${l.keyPrefix}${u}${i}`:i),this.t(c,l)};return Ae(t)?o.lng=t:o.lngs=t,o.ns=r,o.keyPrefix=n,o}t(...t){return this.translator?.translate(...t)}exists(...t){return this.translator?.exists(...t)}setDefaultNamespace(t){this.options.defaultNS=t}hasLoadedNamespace(t,r={}){if(!this.isInitialized)return this.logger.warn("hasLoadedNamespace: i18next was not initialized",this.languages),!1;if(!this.languages||!this.languages.length)return this.logger.warn("hasLoadedNamespace: i18n.languages were undefined or empty",this.languages),!1;const n=r.lng||this.resolvedLanguage||this.languages[0],o=this.options?this.options.fallbackLng:!1,i=this.languages[this.languages.length-1];if(n.toLowerCase()==="cimode")return!0;const s=(a,l)=>{const u=this.services.backendConnector.state[`${a}|${l}`];return u===-1||u===0||u===2};if(r.precheck){const a=r.precheck(this,s);if(a!==void 0)return a}return!!(this.hasResourceBundle(n,t)||!this.services.backendConnector.backend||this.options.resources&&!this.options.partialBundledLanguages||s(n,t)&&(!o||s(i,t)))}loadNamespaces(t,r){const n=fa();return this.options.ns?(Ae(t)&&(t=[t]),t.forEach(o=>{this.options.ns.indexOf(o)<0&&this.options.ns.push(o)}),this.loadResources(o=>{n.resolve(),r&&r(o)}),n):(r&&r(),Promise.resolve())}loadLanguages(t,r){const n=fa();Ae(t)&&(t=[t]);const o=this.options.preload||[],i=t.filter(s=>o.indexOf(s)<0&&this.services.languageUtils.isSupportedCode(s));return i.length?(this.options.preload=o.concat(i),this.loadResources(s=>{n.resolve(),r&&r(s)}),n):(r&&r(),Promise.resolve())}dir(t){if(t||(t=this.resolvedLanguage||(this.languages?.length>0?this.languages[0]:this.language)),!t)return"rtl";try{const o=new Intl.Locale(t);if(o&&o.getTextInfo){const i=o.getTextInfo();if(i&&i.direction)return i.direction}}catch{}const r=["ar","shu","sqr","ssh","xaa","yhd","yud","aao","abh","abv","acm","acq","acw","acx","acy","adf","ads","aeb","aec","afb","ajp","apc","apd","arb","arq","ars","ary","arz","auz","avl","ayh","ayl","ayn","ayp","bbz","pga","he","iw","ps","pbt","pbu","pst","prp","prd","ug","ur","ydd","yds","yih","ji","yi","hbo","men","xmn","fa","jpr","peo","pes","prs","dv","sam","ckb"],n=this.services?.languageUtils||new Ow(Sf());return t.toLowerCase().indexOf("-latn")>1?"ltr":r.indexOf(n.getLanguagePartFromCode(t))>-1||t.toLowerCase().indexOf("-arab")>1?"rtl":"ltr"}static createInstance(t={},r){const n=new Ba(t,r);return n.createInstance=Ba.createInstance,n}cloneInstance(t={},r=Cu){const n=t.forkResourceStore;n&&delete t.forkResourceStore;const o={...this.options,...t,isClone:!0},i=new Ba(o);if((t.debug!==void 0||t.prefix!==void 0)&&(i.logger=i.logger.clone(t)),["store","services","language"].forEach(a=>{i[a]=this[a]}),i.services={...this.services},i.services.utils={hasLoadedNamespace:i.hasLoadedNamespace.bind(i)},n){const a=Object.keys(this.store.data).reduce((l,u)=>(l[u]={...this.store.data[u]},l[u]=Object.keys(l[u]).reduce((c,d)=>(c[d]={...l[u][d]},c),l[u]),l),{});i.store=new Sw(a,o),i.services.resourceStore=i.store}if(t.interpolation){const l={...Sf().interpolation,...this.options.interpolation,...t.interpolation},u={...o,interpolation:l};i.services.interpolator=new xw(u)}return i.translator=new Kc(i.services,o),i.translator.on("*",(a,...l)=>{i.emit(a,...l)}),i.init(o,r),i.translator.options=o,i.translator.backendConnector.services.utils={hasLoadedNamespace:i.hasLoadedNamespace.bind(i)},i}toJSON(){return{options:this.options,store:this.store,language:this.language,languages:this.languages,resolvedLanguage:this.resolvedLanguage}}}const wt=Ba.createInstance();wt.createInstance;wt.dir;wt.init;wt.loadResources;wt.reloadResources;wt.use;wt.changeLanguage;wt.getFixedT;wt.t;wt.exists;wt.setDefaultNamespace;wt.hasLoadedNamespace;wt.loadNamespaces;wt.loadLanguages;const noe="en-US",ooe={"en-US":()=>Te(()=>import("./bundled-translations-BoWhEDU_.js"),[],import.meta.url),"de-DE":()=>Te(()=>import("./bundled-translations.de-DE-C4lqla4O.js"),[],import.meta.url),"fr-FR":()=>Te(()=>import("./bundled-translations.fr-FR-N7UPCZVr.js"),[],import.meta.url),"fr-CA":()=>Te(()=>import("./bundled-translations.fr-CA-MxZpyz0w.js"),[],import.meta.url),"es-ES":()=>Te(()=>import("./bundled-translations.es-ES-BxMIllUH.js"),[],import.meta.url),"pt-PT":()=>Te(()=>import("./bundled-translations.pt-PT-Dszj5Xfa.js"),[],import.meta.url),"pt-BR":()=>Te(()=>import("./bundled-translations.pt-BR-C8tscYuG.js"),[],import.meta.url)},KM=async(e="en-US")=>{const t=e||"en-US";wt.isInitialized||await wt.init({debug:!1,fallbackLng:noe,lng:t});const r=(await ooe[t]()).default;await wt.addResourceBundle(t,"fe-shared-lib",{...r}),await wt.changeLanguage(t)},cn=(e,t={})=>wt.t(e,{ns:"fe-shared-lib",...t}),_oe=(e,t={})=>cn(`uploadYourLogo.${e}`,t),Toe=(e,t={})=>cn(`publishBrandPageModal.${e}`,t),woe=(e,t={})=>cn(`sellDomainNameWidget.${e}`,t),Soe=(e,t={})=>cn(`sellDomainNameListSearchResult.${e}`,t),Roe=(e,t={})=>cn(`sellDomainNameSearch.${e}`,t),Ooe=(e,t={})=>cn(`sellDomainNameListModal.${e}`,t),Aoe=(e,t={})=>cn(`sellDomainNameList.${e}`,t),Coe=(e,t={})=>cn(`sharedPaymentConfig.${e}`,t),Poe=(e,t={})=>cn(`price.${e}`,t),xoe=(e,t={})=>cn(`uploadLogoSearchResultCard.${e}`,t),Noe=(e,t={})=>cn(`websiteContextualUpgradeModal.${e}`,t),Ioe=()=>wt.language||"en-US",Moe=(e,t,r,n=0,o=!1)=>{let i=wt.t("{{val, currency}}",{ns:"fe-shared-lib",val:e,currency:r.iso4127Code,locale:t,maximumFractionDigits:n,useGrouping:!1});const s=r.abbreviation.trim(),a=r.symbol.trim();if(i.includes(r.iso4127Code)&&(i=i.replace(r.iso4127Code,a)),r.symbol.trim()!=="$")return i;const l="AU";return o&&!i.includes(s)?i.replace(a,`${s}${a}`):!o&&i.includes(l)?i.replace(l,""):!o&&i.includes(s)?i.replace(s,""):i};KM("en-US");const ioe={"en-US":"🇺🇸 English (US)","fr-FR":"🇫🇷 Français (France)","es-ES":"🇪🇸 Español (Spain)","pt-PT":"🇵🇹 Português (Portugal)","de-DE":"🇩🇪 Deutsch (Germany)","fr-CA":"🇨🇦 Français (Canada)","pt-BR":"🇧🇷 Português (Brazil)"},soe=async e=>{const t=e.globals.locale||"en-US";return await KM(t),{locale:t}},aoe={locale:{name:"Locale",description:"Internationalization locale",defaultValue:"en-US",toolbar:{icon:"globe",items:Object.entries(ioe).map(([e,t])=>({value:e,title:t})),showName:!0,dynamicTitle:!0}}},loe=[kne({themes:{designCom:"theme-designCom",brandCrowd:"theme-brandCrowd",crazyDomain:"theme-crazyDomains",designCrowd:"theme-designCrowd",brandPage:"theme-brandPage"},defaultTheme:"brandCrowd"})],uoe=[soe],coe=Object.freeze(Object.defineProperty({__proto__:null,decorators:loe,globalTypes:aoe,loaders:uoe},Symbol.toStringTag,{value:"Module"}));hx();const{composeConfigs:doe,PreviewWeb:poe}=__STORYBOOK_MODULE_PREVIEW_API__,foe=(e=[])=>{const t=[e[0]??Sre,e[1]??kre,e[2]??ane,e[3]??_ne,e[4]??One,e[5]??coe];return doe(t)};window.__STORYBOOK_PREVIEW__=window.__STORYBOOK_PREVIEW__||new poe(UX,foe);window.__STORYBOOK_STORY_STORE__=window.__STORYBOOK_STORY_STORE__||window.__STORYBOOK_PREVIEW__.storyStore;export{Noe as $,S1 as A,pb as B,EI as C,z1 as D,ls as E,Ct as F,_I as G,KM as H,Gl as I,K1 as J,FN as K,Moe as L,Poe as M,Ioe as N,gl as O,Coe as P,Toe as Q,Ooe as R,Roe as S,sI as T,Aoe as U,Soe as V,woe as W,_oe as X,boe as Y,xoe as Z,zs as _,G1 as a,Ws as b,LN as c,Xd as d,rp as e,Q1 as f,$N as g,ut as h,Ys as i,Zd as j,Hl as k,Jl as l,sb as m,Gs as n,Cs as o,Go as p,ss as q,Y1 as r,lb as s,Rg as t,$l as u,Lg as v,mi as w,Kd as x,yl as y,np as z};