@brightspot/ui 5.0.3-toggleable-fix.0 → 5.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (208) hide show
  1. package/dist/components/button-group/ButtonGroup.d.ts +21 -6
  2. package/dist/components/button-group/ButtonGroup.d.ts.map +1 -1
  3. package/dist/components/button-group/ButtonGroup.js +37 -20
  4. package/dist/components/button-group/ButtonGroup.js.map +1 -1
  5. package/dist/components/card/Card.css +7 -0
  6. package/dist/components/card/Card.d.ts +244 -0
  7. package/dist/components/card/Card.d.ts.map +1 -0
  8. package/dist/components/card/Card.js +512 -0
  9. package/dist/components/card/Card.js.map +1 -0
  10. package/dist/components/circular-progress/CircularProgress.js +2 -2
  11. package/dist/components/dropdown/DropdownItem.d.ts.map +1 -1
  12. package/dist/components/dropdown/DropdownItem.js +3 -4
  13. package/dist/components/dropdown/DropdownItem.js.map +1 -1
  14. package/dist/components/empty-state/EmptyState.d.ts +11 -2
  15. package/dist/components/empty-state/EmptyState.d.ts.map +1 -1
  16. package/dist/components/empty-state/EmptyState.js +19 -8
  17. package/dist/components/empty-state/EmptyState.js.map +1 -1
  18. package/dist/components/icon/Icon.d.ts.map +1 -1
  19. package/dist/components/icon/Icon.js +7 -4
  20. package/dist/components/icon/Icon.js.map +1 -1
  21. package/dist/components/linear-progress/LinearProgress.js +1 -1
  22. package/dist/components/tabs/Tab.js +1 -1
  23. package/dist/components/tabs/Tab.js.map +1 -1
  24. package/dist/components/upload/UploadItem.js +1 -1
  25. package/dist/components/upload/UploadItem.js.map +1 -1
  26. package/dist/components/widget/Widget.css +1 -1
  27. package/dist/components/widget/Widget.d.ts +11 -2
  28. package/dist/components/widget/Widget.d.ts.map +1 -1
  29. package/dist/components/widget/Widget.js +22 -11
  30. package/dist/components/widget/Widget.js.map +1 -1
  31. package/dist/custom-elements.json +2576 -2080
  32. package/dist/storybook/assets/{ActionBar.stories-CTrEOJBH.js → ActionBar.stories-D9ok2eVg.js} +1 -1
  33. package/dist/storybook/assets/{ActionItem.stories-Cm3zQeMa.js → ActionItem.stories-DjPfYpgA.js} +1 -1
  34. package/dist/storybook/assets/{Avatar.stories-DSltfj-_.js → Avatar.stories-Di3s5wxK.js} +1 -1
  35. package/dist/storybook/assets/{AvatarGroup.stories-BjL-l4VH.js → AvatarGroup.stories-CT7lYX_U.js} +5 -5
  36. package/dist/storybook/assets/{Badge.stories-DLNO3rOl.js → Badge.stories-9unZqfhH.js} +1 -1
  37. package/dist/storybook/assets/{Button-TUtCVpwY.js → Button-DuuAvVjP.js} +1 -1
  38. package/dist/storybook/assets/{Button.stories-3HjoUoaq.js → Button.stories-KDBmJ9xt.js} +1 -1
  39. package/dist/storybook/assets/{ButtonGroup.stories-GF1UFxbr.js → ButtonGroup.stories-BeWYMkDy.js} +48 -48
  40. package/dist/storybook/assets/Card.stories-BNMJ-H5I.js +556 -0
  41. package/dist/storybook/assets/{Celebrate.stories-KtFU9NEQ.js → Celebrate.stories-Cue8O4hb.js} +7 -7
  42. package/dist/storybook/assets/{Checkbox.stories-CDg2caKU.js → Checkbox.stories-DLe4npId.js} +1 -1
  43. package/dist/storybook/assets/{CircularProgress.stories-C0OdRoxU.js → CircularProgress.stories-BHB2K82M.js} +1 -1
  44. package/dist/storybook/assets/{ClipboardMixin.stories-B6gIxMuH.js → ClipboardMixin.stories-mU-JGoHp.js} +2 -2
  45. package/dist/storybook/assets/{Color-6BZIO3FS-DDAuf4ms.js → Color-6BZIO3FS-D3GAvUXG.js} +1 -1
  46. package/dist/storybook/assets/{Colors.stories-tJVgPDrl.js → Colors.stories-a83X2cLQ.js} +1 -1
  47. package/dist/storybook/assets/{CombinedEffects.stories-BwrWmInr.js → CombinedEffects.stories-sLTopxBQ.js} +1 -1
  48. package/dist/storybook/assets/{ComponentStatesMixin-B9_GeVBN.js → ComponentStatesMixin-CJ9pmXHc.js} +1 -1
  49. package/dist/storybook/assets/{ComponentStatesMixin.stories-BAn1JPCN.js → ComponentStatesMixin.stories-DSkFzAxR.js} +3 -3
  50. package/dist/storybook/assets/{CopyToClipboard.stories-YgaScv3O.js → CopyToClipboard.stories-DqMxtd4b.js} +1 -1
  51. package/dist/storybook/assets/{Debounce.stories-y-toLkyr.js → Debounce.stories-DV30whKw.js} +3 -3
  52. package/dist/storybook/assets/{DocsRenderer-LL677BLK-BUwAiHkt.js → DocsRenderer-LL677BLK-DmVtYsJx.js} +3 -3
  53. package/dist/storybook/assets/{Dropdown.stories-DAVkpuM5.js → Dropdown.stories-sCz8_Hkw.js} +3 -3
  54. package/dist/storybook/assets/{EmptyState.stories-Buexv2C4.js → EmptyState.stories-kBKfr87C.js} +15 -15
  55. package/dist/storybook/assets/{Events.stories-SjSVTFwA.js → Events.stories-BXdHEFJR.js} +1 -1
  56. package/dist/storybook/assets/{Heading.stories-F7pp5AO4.js → Heading.stories-B2XJMBD8.js} +1 -1
  57. package/dist/storybook/assets/{HueRipple.stories-Dt-QniLc.js → HueRipple.stories-BfzsAQYM.js} +1 -1
  58. package/dist/storybook/assets/{Icon.stories-Cxknci9d.js → Icon.stories--pcHe1x-.js} +7 -7
  59. package/dist/storybook/assets/{IconButton.stories-C7nbDmmd.js → IconButton.stories-dbXfrgH3.js} +1 -1
  60. package/dist/storybook/assets/{LinearProgress.stories-DgP2rsiS.js → LinearProgress.stories-CApOBX0x.js} +1 -1
  61. package/dist/storybook/assets/OnFindMixin.stories-df6ckqw3.js +300 -0
  62. package/dist/storybook/assets/{Pagination.stories-DbLKeykx.js → Pagination.stories-_MiDRipW.js} +3 -3
  63. package/dist/storybook/assets/{Popover.stories-CbmWs7x-.js → Popover.stories-9hVZFeMx.js} +18 -18
  64. package/dist/storybook/assets/{ReadyMixin-BSMJuM5x.js → ReadyMixin-HHwtCrVi.js} +1 -1
  65. package/dist/storybook/assets/{RovingTabindexMixin.stories-DPojZp67.js → RovingTabindexMixin.stories-B6MPGbVh.js} +6 -6
  66. package/dist/storybook/assets/{Rtc.stories-BF7lM0fa.js → Rtc.stories-D3tZOSkM.js} +1 -1
  67. package/dist/storybook/assets/{ScrollShadow.stories-DwVglPfj.js → ScrollShadow.stories-B1dTcJR4.js} +1 -1
  68. package/dist/storybook/assets/{Switch.stories-DjjlIvXU.js → Switch.stories-Bp-Guy3z.js} +5 -5
  69. package/dist/storybook/assets/{Tab.stories-zUdDTEwX.js → Tab.stories-Caxi7G_1.js} +1 -1
  70. package/dist/storybook/assets/{Tabs.stories-yWCAVVnG.js → Tabs.stories-g5Nb7YDi.js} +1 -1
  71. package/dist/storybook/assets/{Throttle.stories-BrcbOwZL.js → Throttle.stories-BzWv-mzN.js} +5 -5
  72. package/dist/storybook/assets/{Tooltip.stories-B4sykiPz.js → Tooltip.stories-BlaTc14X.js} +1 -1
  73. package/dist/storybook/assets/{Upload.stories-DHE43_Zz.js → Upload.stories-a9edmUmW.js} +1 -1
  74. package/dist/storybook/assets/{UploadItem.stories-jqjcXP_N.js → UploadItem.stories-BOIu5j_i.js} +1 -1
  75. package/dist/storybook/assets/{Welcome.stories-C3rGMIU7.js → Welcome.stories-D33npbIl.js} +1 -1
  76. package/dist/storybook/assets/{Widget.stories-D7rHrfAr.js → Widget.stories-D0vHPAyP.js} +12 -12
  77. package/dist/storybook/assets/{WithTooltip-65CFNBJE-CYrPgwaa.js → WithTooltip-65CFNBJE-WOhnQufs.js} +1 -1
  78. package/dist/storybook/assets/{blocks-D8JszFZh.js → blocks-B17JEOI8.js} +5 -5
  79. package/dist/storybook/assets/{formatter-EIJCOSYU-CGZPdVNG.js → formatter-EIJCOSYU-QKmiwKu7.js} +1 -1
  80. package/dist/storybook/assets/if-defined-0srVwUDm.js +1 -0
  81. package/dist/storybook/assets/iframe-BqpRijx3.js +1104 -0
  82. package/dist/storybook/assets/iframe-DfU9RLLj.css +1 -0
  83. package/dist/storybook/assets/{index-BZyp3DsT.js → index-CpksO7cK.js} +1 -1
  84. package/dist/storybook/assets/onFind-C_VPLxg8.js +1 -0
  85. package/dist/storybook/assets/{onFind.stories-BvaTMiWN.js → onFind.stories-BuZMC3tk.js} +38 -38
  86. package/dist/storybook/assets/{onRemove.stories-BPSyS2GE.js → onRemove.stories-HDkMhdmO.js} +3 -3
  87. package/dist/storybook/assets/{onVisible.stories-1lKUeGbt.js → onVisible.stories-CRCllRfN.js} +1 -1
  88. package/dist/storybook/assets/{style-map-ADugLljH.js → style-map-DukvFNCc.js} +1 -1
  89. package/dist/storybook/assets/{syntaxhighlighter-ED5Y7EFY-CBLos5mJ.js → syntaxhighlighter-ED5Y7EFY-BUo_WYvV.js} +1 -1
  90. package/dist/storybook/iframe.html +48 -2
  91. package/dist/storybook/index.json +1 -1
  92. package/dist/storybook/project.json +1 -1
  93. package/dist/tailwind-plugin-button-group.js +43 -44
  94. package/dist/tailwind-plugin-button-group.js.map +1 -1
  95. package/dist/tailwind-plugin-button-group.ts +43 -43
  96. package/dist/tailwind-plugin-button.js +22 -2
  97. package/dist/tailwind-plugin-button.js.map +1 -1
  98. package/dist/tailwind-plugin-button.ts +22 -2
  99. package/dist/tailwind-plugin-card.d.ts +2 -0
  100. package/dist/tailwind-plugin-card.d.ts.map +1 -0
  101. package/dist/tailwind-plugin-card.js +438 -0
  102. package/dist/tailwind-plugin-card.js.map +1 -0
  103. package/dist/tailwind-plugin-card.ts +515 -0
  104. package/dist/tailwind-plugin-dropdown.js +6 -2
  105. package/dist/tailwind-plugin-dropdown.js.map +1 -1
  106. package/dist/tailwind-plugin-dropdown.ts +6 -2
  107. package/dist/tailwind-plugin-pagination.js +12 -8
  108. package/dist/tailwind-plugin-pagination.js.map +1 -1
  109. package/dist/tailwind-plugin-pagination.ts +12 -8
  110. package/dist/tailwind-plugin-upload.js +3 -2
  111. package/dist/tailwind-plugin-upload.js.map +1 -1
  112. package/dist/tailwind-plugin-upload.ts +3 -2
  113. package/dist/tailwind.config.d.ts +1 -4
  114. package/dist/tailwind.config.d.ts.map +1 -1
  115. package/dist/tailwind.config.js +76 -6
  116. package/dist/tailwind.config.js.map +1 -1
  117. package/dist/tailwind.config.ts +76 -6
  118. package/dist/util/EventEmitterMixin.d.ts +1 -0
  119. package/dist/util/EventEmitterMixin.d.ts.map +1 -1
  120. package/dist/util/EventEmitterMixin.js.map +1 -1
  121. package/dist/util/OnFindMixin.d.ts +55 -0
  122. package/dist/util/OnFindMixin.d.ts.map +1 -0
  123. package/dist/util/OnFindMixin.js +70 -0
  124. package/dist/util/OnFindMixin.js.map +1 -0
  125. package/dist/util/onFind.d.ts +4 -2
  126. package/dist/util/onFind.d.ts.map +1 -1
  127. package/dist/util/onFind.js +12 -0
  128. package/dist/util/onFind.js.map +1 -1
  129. package/docs/components/ButtonGroup.md +22 -15
  130. package/docs/components/Card.md +83 -0
  131. package/docs/components/EmptyState.md +10 -6
  132. package/docs/components/README.md +1 -0
  133. package/docs/components/Widget.md +18 -14
  134. package/package.json +4 -3
  135. package/src/legacy/tool-ui/src/AIInline.css +2 -2
  136. package/src/legacy/tool-ui/src/Admin.css +2 -2
  137. package/src/legacy/tool-ui/src/Base.css +1 -1
  138. package/src/legacy/tool-ui/src/BulkUpload.css +1 -1
  139. package/src/legacy/tool-ui/src/CIGCluster.css +1 -1
  140. package/src/legacy/tool-ui/src/Card.css +1 -1
  141. package/src/legacy/tool-ui/src/CodeMirror.css +4 -4
  142. package/src/legacy/tool-ui/src/ColorInputSpectrum.css +2 -2
  143. package/src/legacy/tool-ui/src/ComboInput.css +3 -3
  144. package/src/legacy/tool-ui/src/Compat.css +6 -4
  145. package/src/legacy/tool-ui/src/ContentEdit.css +12 -12
  146. package/src/legacy/tool-ui/src/ContentEditDrawer.css +6 -6
  147. package/src/legacy/tool-ui/src/ContentInputGroup.css +1 -1
  148. package/src/legacy/tool-ui/src/ContentReporting.css +2 -2
  149. package/src/legacy/tool-ui/src/ContentSelector.css +5 -5
  150. package/src/legacy/tool-ui/src/ContentSummary.css +1 -1
  151. package/src/legacy/tool-ui/src/ContentTemplatesWidget.css +1 -1
  152. package/src/legacy/tool-ui/src/ContentTools.css +1 -1
  153. package/src/legacy/tool-ui/src/Conversation.css +2 -2
  154. package/src/legacy/tool-ui/src/Crosslinker.css +3 -3
  155. package/src/legacy/tool-ui/src/DashboardWidget.css +1 -1
  156. package/src/legacy/tool-ui/src/Dialog.css +4 -2
  157. package/src/legacy/tool-ui/src/Diff.css +1 -1
  158. package/src/legacy/tool-ui/src/Dropdown.css +2 -2
  159. package/src/legacy/tool-ui/src/Enhancement.css +1 -1
  160. package/src/legacy/tool-ui/src/FileInput.css +2 -2
  161. package/src/legacy/tool-ui/src/FormFilter.css +3 -3
  162. package/src/legacy/tool-ui/src/FullscreenView.css +4 -4
  163. package/src/legacy/tool-ui/src/Guide.css +6 -6
  164. package/src/legacy/tool-ui/src/Hierarchy.css +4 -4
  165. package/src/legacy/tool-ui/src/ImageEditor.css +13 -13
  166. package/src/legacy/tool-ui/src/LinkCarousel.css +1 -1
  167. package/src/legacy/tool-ui/src/LiveBlog.css +2 -2
  168. package/src/legacy/tool-ui/src/LocationMap.css +1 -1
  169. package/src/legacy/tool-ui/src/MailPublishing.css +1 -1
  170. package/src/legacy/tool-ui/src/MenuView.css +4 -4
  171. package/src/legacy/tool-ui/src/Message.css +1 -1
  172. package/src/legacy/tool-ui/src/Page.css +35 -16
  173. package/src/legacy/tool-ui/src/Popup.css +8 -3
  174. package/src/legacy/tool-ui/src/ProseMirror.css +1 -1
  175. package/src/legacy/tool-ui/src/ProseMirrorContainer.css +1 -1
  176. package/src/legacy/tool-ui/src/ProseMirrorEnhancementMenu.css +2 -2
  177. package/src/legacy/tool-ui/src/ProseMirrorFindReplace.css +2 -2
  178. package/src/legacy/tool-ui/src/QueryField.css +1 -1
  179. package/src/legacy/tool-ui/src/RepeatableContentInputGroup.css +1 -1
  180. package/src/legacy/tool-ui/src/RepeatableContentSelector.css +1 -1
  181. package/src/legacy/tool-ui/src/RichText.css +1 -1
  182. package/src/legacy/tool-ui/src/SearchFields.css +3 -2
  183. package/src/legacy/tool-ui/src/SearchResult.css +3 -3
  184. package/src/legacy/tool-ui/src/SearchWidget.css +1 -1
  185. package/src/legacy/tool-ui/src/SearchWidget.ts +10 -1
  186. package/src/legacy/tool-ui/src/SearchWidgetAdvanced.css +1 -1
  187. package/src/legacy/tool-ui/src/StyleEmbeddedContent.css +3 -3
  188. package/src/legacy/tool-ui/src/TabBar.css +1 -1
  189. package/src/legacy/tool-ui/src/Table.css +1 -1
  190. package/src/legacy/tool-ui/src/Taxonomy.css +4 -4
  191. package/src/legacy/tool-ui/src/ThemeBundleEditor.css +1 -1
  192. package/src/legacy/tool-ui/src/TimedContent.css +2 -2
  193. package/src/legacy/tool-ui/src/ViewWatchers.css +1 -1
  194. package/src/legacy/tool-ui/src/Widget.css +1 -1
  195. package/src/legacy/tool-ui/src/Workflow.css +3 -3
  196. package/src/legacy/tool-ui/src/main/webapp/dist/{RTEProseMirror.945bd28778b1a3e937c7.js → RTEProseMirror.e8344eaeea387c600257.js} +12 -12
  197. package/src/legacy/tool-ui/src/main/webapp/dist/{v4.c5bcef50efdfa2d2e35f.js → v4.b892feb8ec199202fd18.js} +4 -4
  198. package/src/legacy/tool-ui/src/main/webapp/dist/{v5.86effb9bf858ae7b0640.js → v5.493c3ddf65c4fa599ff0.js} +4 -4
  199. package/src/legacy/tool-ui/src/main/webapp/dist/v5.d49a759cb0b7cffd76e4.css +5 -0
  200. package/src/legacy/tool-ui/src/v5.ts +3 -1
  201. package/dist/storybook/assets/if-defined-BkzXcv-a.js +0 -1
  202. package/dist/storybook/assets/iframe-C3TUQi31.js +0 -1104
  203. package/dist/storybook/assets/iframe-D0roG0J-.css +0 -1
  204. package/dist/storybook/assets/onFind-9HPhEfV5.js +0 -1
  205. package/src/legacy/tool-ui/src/main/webapp/dist/v5.d6cc2743243cadb90492.css +0 -5
  206. /package/src/legacy/tool-ui/src/main/webapp/dist/{RTEProseMirror.945bd28778b1a3e937c7.js.LICENSE.txt → RTEProseMirror.e8344eaeea387c600257.js.LICENSE.txt} +0 -0
  207. /package/src/legacy/tool-ui/src/main/webapp/dist/{v4.c5bcef50efdfa2d2e35f.js.LICENSE.txt → v4.b892feb8ec199202fd18.js.LICENSE.txt} +0 -0
  208. /package/src/legacy/tool-ui/src/main/webapp/dist/{v5.86effb9bf858ae7b0640.js.LICENSE.txt → v5.493c3ddf65c4fa599ff0.js.LICENSE.txt} +0 -0
@@ -0,0 +1,1104 @@
1
+ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./Welcome.stories-D33npbIl.js","./blocks-B17JEOI8.js","./preload-helper-PPVm8Dsz.js","./ActionBar.stories-D9ok2eVg.js","./style-map-DukvFNCc.js","./ActionItem.stories-DjPfYpgA.js","./Avatar.stories-Di3s5wxK.js","./AvatarGroup.stories-CT7lYX_U.js","./Badge.stories-9unZqfhH.js","./Button.stories-KDBmJ9xt.js","./Button-DuuAvVjP.js","./ButtonGroup.stories-BeWYMkDy.js","./Card.stories-BNMJ-H5I.js","./Celebrate.stories-Cue8O4hb.js","./celebrate-KwPoF1K3.js","./position-CFNQy3J6.js","./Checkbox.stories-DLe4npId.js","./if-defined-0srVwUDm.js","./CircularProgress.stories-BHB2K82M.js","./ClipboardMixin.stories-mU-JGoHp.js","./custom-element-UsVr97OX.js","./ComponentStatesMixin-CJ9pmXHc.js","./ReadyMixin-HHwtCrVi.js","./Colors.stories-a83X2cLQ.js","./CombinedEffects.stories-sLTopxBQ.js","./ripple-DQbyyRUw.js","./ComponentStatesMixin.stories-DSkFzAxR.js","./CopyToClipboard.stories-DqMxtd4b.js","./Debounce.stories-DV30whKw.js","./Dropdown.stories-sCz8_Hkw.js","./EmptyState.stories-kBKfr87C.js","./Events.stories-BXdHEFJR.js","./Heading.stories-B2XJMBD8.js","./HueRipple.stories-BfzsAQYM.js","./Icon.stories--pcHe1x-.js","./LucideDynamicLoader-jmdq8YDM.js","./IconButton.stories-dbXfrgH3.js","./LinearProgress.stories-CApOBX0x.js","./OnFindMixin.stories-df6ckqw3.js","./onFind-C_VPLxg8.js","./Pagination.stories-_MiDRipW.js","./Popover.stories-9hVZFeMx.js","./RovingTabindexMixin.stories-B6MPGbVh.js","./Rtc.stories-D3tZOSkM.js","./ScrollShadow.stories-B1dTcJR4.js","./Switch.stories-Bp-Guy3z.js","./Tabs.stories-g5Nb7YDi.js","./Tab.stories-Caxi7G_1.js","./Throttle.stories-BzWv-mzN.js","./Tooltip.stories-BlaTc14X.js","./Upload.stories-a9edmUmW.js","./UploadItem.stories-BOIu5j_i.js","./Widget.stories-D0vHPAyP.js","./onFind.stories-BuZMC3tk.js","./onRemove.stories-HDkMhdmO.js","./onVisible.stories-CRCllRfN.js","./DocsRenderer-LL677BLK-DmVtYsJx.js"])))=>i.map(i=>d[i]);
2
+ import{_ as he}from"./preload-helper-PPVm8Dsz.js";function tS(e,t){for(var r=0;r<t.length;r++){const n=t[r];if(typeof n!="string"&&!Array.isArray(n)){for(const i in n)if(i!=="default"&&!(i in e)){const o=Object.getOwnPropertyDescriptor(n,i);o&&Object.defineProperty(e,i,o.get?o:{enumerable:!0,get:()=>n[i]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const i of document.querySelectorAll('link[rel="modulepreload"]'))n(i);new MutationObserver(i=>{for(const o of i)if(o.type==="childList")for(const a of o.addedNodes)a.tagName==="LINK"&&a.rel==="modulepreload"&&n(a)}).observe(document,{childList:!0,subtree:!0});function r(i){const o={};return i.integrity&&(o.integrity=i.integrity),i.referrerPolicy&&(o.referrerPolicy=i.referrerPolicy),i.crossOrigin==="use-credentials"?o.credentials="include":i.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function n(i){if(i.ep)return;i.ep=!0;const o=r(i);fetch(i.href,o)}})();var Ru={},rS=Object.create,Zc=Object.defineProperty,nS=Object.getOwnPropertyDescriptor,fg=Object.getOwnPropertyNames,iS=Object.getPrototypeOf,oS=Object.prototype.hasOwnProperty,ca=(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')}),M=(e,t)=>function(){return t||(0,e[fg(e)[0]])((t={exports:{}}).exports,t),t.exports},Tt=(e,t)=>{for(var r in t)Zc(e,r,{get:t[r],enumerable:!0})},aS=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of fg(t))!oS.call(e,i)&&i!==r&&Zc(e,i,{get:()=>t[i],enumerable:!(n=nS(t,i))||n.enumerable});return e},We=(e,t,r)=>(r=e!=null?rS(iS(e)):{},aS(t||!e||!e.__esModule?Zc(r,"default",{value:e,enumerable:!0}):r,e)),sS=M({"../../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(i){return Object.keys(i).concat(Object.getOwnPropertySymbols(i))}:Object.keys;return function(i,o){return(function a(s,c,l){var d,p,f,m=t.call(s),y=t.call(c);if(s===c)return!0;if(s==null||c==null)return!1;if(l.indexOf(s)>-1&&l.indexOf(c)>-1)return!0;if(l.push(s,c),m!=y||(d=n(s),p=n(c),d.length!=p.length||d.some(function(g){return!a(s[g],c[g],l)})))return!1;switch(m.slice(8,-1)){case"Symbol":return s.valueOf()==c.valueOf();case"Date":case"Number":return+s==+c||+s!=+s&&+c!=+c;case"RegExp":case"Function":case"String":case"Boolean":return""+s==""+c;case"Set":case"Map":d=s.entries(),p=c.entries();do if(!a((f=d.next()).value,p.next().value,l))return!1;while(!f.done);return!0;case"ArrayBuffer":s=new Uint8Array(s),c=new Uint8Array(c);case"DataView":s=new Uint8Array(s.buffer),c=new Uint8Array(c.buffer);case"Float32Array":case"Float64Array":case"Int8Array":case"Int16Array":case"Int32Array":case"Uint8Array":case"Uint16Array":case"Uint32Array":case"Uint8ClampedArray":case"Arguments":case"Array":if(s.length!=c.length)return!1;for(f=0;f<s.length;f++)if((f in s||f in c)&&(f in s!=f in c||!a(s[f],c[f],l)))return!1;return!0;case"Object":return a(r(s),r(c),l);default:return!1}})(i,o,[])}})()}}),lS=M({"../../node_modules/min-indent/index.js"(e,t){t.exports=r=>{let n=r.match(/^[ \t]*(?=\S)/gm);return n?n.reduce((i,o)=>Math.min(i,o.length),1/0):0}}}),uS=M({"../../node_modules/strip-indent/index.js"(e,t){var r=lS();t.exports=n=>{let i=r(n);if(i===0)return n;let o=new RegExp(`^[ \\t]{${i}}`,"gm");return n.replace(o,"")}}}),cS=M({"../../node_modules/indent-string/index.js"(e,t){t.exports=(r,n=1,i)=>{if(i={indent:" ",includeEmptyLines:!1,...i},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 i.indent!="string")throw new TypeError(`Expected \`options.indent\` to be a \`string\`, got \`${typeof i.indent}\``);if(n===0)return r;let o=i.includeEmptyLines?/^/gm:/^(?!\s*$)/gm;return r.replace(o,i.indent.repeat(n))}}}),mg=M({"../../node_modules/redent/index.js"(e,t){var r=uS(),n=cS();t.exports=(i,o=0,a)=>n(r(i),o,a)}}),dS=M({"../../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,i={"@@iterator":function(){return i},next:function(){if(n<r.length){var o=r[n];return n=n+1,{done:!1,value:o}}else return{done:!0}}};return i}e.default=t}}),Jo=M({"../../node_modules/aria-query/lib/util/iterationDecorator.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=i;var t=r(dS());function r(o){return o&&o.__esModule?o:{default:o}}function n(o){"@babel/helpers - typeof";return n=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(a){return typeof a}:function(a){return a&&typeof Symbol=="function"&&a.constructor===Symbol&&a!==Symbol.prototype?"symbol":typeof a},n(o)}function i(o,a){return typeof Symbol=="function"&&n(Symbol.iterator)==="symbol"&&Object.defineProperty(o,Symbol.iterator,{value:t.default.bind(a)}),o}}}),pS=M({"../../node_modules/aria-query/lib/ariaPropsMap.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=r(Jo());function r(p){return p&&p.__esModule?p:{default:p}}function n(p,f){return c(p)||s(p,f)||o(p,f)||i()}function i(){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 o(p,f){if(p){if(typeof p=="string")return a(p,f);var m={}.toString.call(p).slice(8,-1);return m==="Object"&&p.constructor&&(m=p.constructor.name),m==="Map"||m==="Set"?Array.from(p):m==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(m)?a(p,f):void 0}}function a(p,f){(f==null||f>p.length)&&(f=p.length);for(var m=0,y=Array(f);m<f;m++)y[m]=p[m];return y}function s(p,f){var m=p==null?null:typeof Symbol<"u"&&p[Symbol.iterator]||p["@@iterator"];if(m!=null){var y,g,v,b,T=[],O=!0,R=!1;try{if(v=(m=m.call(p)).next,f===0){if(Object(m)!==m)return;O=!1}else for(;!(O=(y=v.call(m)).done)&&(T.push(y.value),T.length!==f);O=!0);}catch(P){R=!0,g=P}finally{try{if(!O&&m.return!=null&&(b=m.return(),Object(b)!==b))return}finally{if(R)throw g}}return T}}function c(p){if(Array.isArray(p))return p}var l=[["aria-activedescendant",{type:"id"}],["aria-atomic",{type:"boolean"}],["aria-autocomplete",{type:"token",values:["inline","list","both","none"]}],["aria-braillelabel",{type:"string"}],["aria-brailleroledescription",{type:"string"}],["aria-busy",{type:"boolean"}],["aria-checked",{type:"tristate"}],["aria-colcount",{type:"integer"}],["aria-colindex",{type:"integer"}],["aria-colspan",{type:"integer"}],["aria-controls",{type:"idlist"}],["aria-current",{type:"token",values:["page","step","location","date","time",!0,!1]}],["aria-describedby",{type:"idlist"}],["aria-description",{type:"string"}],["aria-details",{type:"id"}],["aria-disabled",{type:"boolean"}],["aria-dropeffect",{type:"tokenlist",values:["copy","execute","link","move","none","popup"]}],["aria-errormessage",{type:"id"}],["aria-expanded",{type:"boolean",allowundefined:!0}],["aria-flowto",{type:"idlist"}],["aria-grabbed",{type:"boolean",allowundefined:!0}],["aria-haspopup",{type:"token",values:[!1,!0,"menu","listbox","tree","grid","dialog"]}],["aria-hidden",{type:"boolean",allowundefined:!0}],["aria-invalid",{type:"token",values:["grammar",!1,"spelling",!0]}],["aria-keyshortcuts",{type:"string"}],["aria-label",{type:"string"}],["aria-labelledby",{type:"idlist"}],["aria-level",{type:"integer"}],["aria-live",{type:"token",values:["assertive","off","polite"]}],["aria-modal",{type:"boolean"}],["aria-multiline",{type:"boolean"}],["aria-multiselectable",{type:"boolean"}],["aria-orientation",{type:"token",values:["vertical","undefined","horizontal"]}],["aria-owns",{type:"idlist"}],["aria-placeholder",{type:"string"}],["aria-posinset",{type:"integer"}],["aria-pressed",{type:"tristate"}],["aria-readonly",{type:"boolean"}],["aria-relevant",{type:"tokenlist",values:["additions","all","removals","text"]}],["aria-required",{type:"boolean"}],["aria-roledescription",{type:"string"}],["aria-rowcount",{type:"integer"}],["aria-rowindex",{type:"integer"}],["aria-rowspan",{type:"integer"}],["aria-selected",{type:"boolean",allowundefined:!0}],["aria-setsize",{type:"integer"}],["aria-sort",{type:"token",values:["ascending","descending","none","other"]}],["aria-valuemax",{type:"number"}],["aria-valuemin",{type:"number"}],["aria-valuenow",{type:"number"}],["aria-valuetext",{type:"string"}]],d={entries:function(){return l},forEach:function(p){for(var f=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,m=0,y=l;m<y.length;m++){var g=n(y[m],2),v=g[0],b=g[1];p.call(f,b,v,l)}},get:function(p){var f=l.filter(function(m){return m[0]===p})[0];return f&&f[1]},has:function(p){return!!d.get(p)},keys:function(){return l.map(function(p){var f=n(p,1),m=f[0];return m})},values:function(){return l.map(function(p){var f=n(p,2),m=f[1];return m})}};e.default=(0,t.default)(d,d.entries())}}),fS=M({"../../node_modules/aria-query/lib/domMap.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=r(Jo());function r(p){return p&&p.__esModule?p:{default:p}}function n(p,f){return c(p)||s(p,f)||o(p,f)||i()}function i(){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 o(p,f){if(p){if(typeof p=="string")return a(p,f);var m={}.toString.call(p).slice(8,-1);return m==="Object"&&p.constructor&&(m=p.constructor.name),m==="Map"||m==="Set"?Array.from(p):m==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(m)?a(p,f):void 0}}function a(p,f){(f==null||f>p.length)&&(f=p.length);for(var m=0,y=Array(f);m<f;m++)y[m]=p[m];return y}function s(p,f){var m=p==null?null:typeof Symbol<"u"&&p[Symbol.iterator]||p["@@iterator"];if(m!=null){var y,g,v,b,T=[],O=!0,R=!1;try{if(v=(m=m.call(p)).next,f===0){if(Object(m)!==m)return;O=!1}else for(;!(O=(y=v.call(m)).done)&&(T.push(y.value),T.length!==f);O=!0);}catch(P){R=!0,g=P}finally{try{if(!O&&m.return!=null&&(b=m.return(),Object(b)!==b))return}finally{if(R)throw g}}return T}}function c(p){if(Array.isArray(p))return p}var l=[["a",{reserved:!1}],["abbr",{reserved:!1}],["acronym",{reserved:!1}],["address",{reserved:!1}],["applet",{reserved:!1}],["area",{reserved:!1}],["article",{reserved:!1}],["aside",{reserved:!1}],["audio",{reserved:!1}],["b",{reserved:!1}],["base",{reserved:!0}],["bdi",{reserved:!1}],["bdo",{reserved:!1}],["big",{reserved:!1}],["blink",{reserved:!1}],["blockquote",{reserved:!1}],["body",{reserved:!1}],["br",{reserved:!1}],["button",{reserved:!1}],["canvas",{reserved:!1}],["caption",{reserved:!1}],["center",{reserved:!1}],["cite",{reserved:!1}],["code",{reserved:!1}],["col",{reserved:!0}],["colgroup",{reserved:!0}],["content",{reserved:!1}],["data",{reserved:!1}],["datalist",{reserved:!1}],["dd",{reserved:!1}],["del",{reserved:!1}],["details",{reserved:!1}],["dfn",{reserved:!1}],["dialog",{reserved:!1}],["dir",{reserved:!1}],["div",{reserved:!1}],["dl",{reserved:!1}],["dt",{reserved:!1}],["em",{reserved:!1}],["embed",{reserved:!1}],["fieldset",{reserved:!1}],["figcaption",{reserved:!1}],["figure",{reserved:!1}],["font",{reserved:!1}],["footer",{reserved:!1}],["form",{reserved:!1}],["frame",{reserved:!1}],["frameset",{reserved:!1}],["h1",{reserved:!1}],["h2",{reserved:!1}],["h3",{reserved:!1}],["h4",{reserved:!1}],["h5",{reserved:!1}],["h6",{reserved:!1}],["head",{reserved:!0}],["header",{reserved:!1}],["hgroup",{reserved:!1}],["hr",{reserved:!1}],["html",{reserved:!0}],["i",{reserved:!1}],["iframe",{reserved:!1}],["img",{reserved:!1}],["input",{reserved:!1}],["ins",{reserved:!1}],["kbd",{reserved:!1}],["keygen",{reserved:!1}],["label",{reserved:!1}],["legend",{reserved:!1}],["li",{reserved:!1}],["link",{reserved:!0}],["main",{reserved:!1}],["map",{reserved:!1}],["mark",{reserved:!1}],["marquee",{reserved:!1}],["menu",{reserved:!1}],["menuitem",{reserved:!1}],["meta",{reserved:!0}],["meter",{reserved:!1}],["nav",{reserved:!1}],["noembed",{reserved:!0}],["noscript",{reserved:!0}],["object",{reserved:!1}],["ol",{reserved:!1}],["optgroup",{reserved:!1}],["option",{reserved:!1}],["output",{reserved:!1}],["p",{reserved:!1}],["param",{reserved:!0}],["picture",{reserved:!0}],["pre",{reserved:!1}],["progress",{reserved:!1}],["q",{reserved:!1}],["rp",{reserved:!1}],["rt",{reserved:!1}],["rtc",{reserved:!1}],["ruby",{reserved:!1}],["s",{reserved:!1}],["samp",{reserved:!1}],["script",{reserved:!0}],["section",{reserved:!1}],["select",{reserved:!1}],["small",{reserved:!1}],["source",{reserved:!0}],["spacer",{reserved:!1}],["span",{reserved:!1}],["strike",{reserved:!1}],["strong",{reserved:!1}],["style",{reserved:!0}],["sub",{reserved:!1}],["summary",{reserved:!1}],["sup",{reserved:!1}],["table",{reserved:!1}],["tbody",{reserved:!1}],["td",{reserved:!1}],["textarea",{reserved:!1}],["tfoot",{reserved:!1}],["th",{reserved:!1}],["thead",{reserved:!1}],["time",{reserved:!1}],["title",{reserved:!0}],["tr",{reserved:!1}],["track",{reserved:!0}],["tt",{reserved:!1}],["u",{reserved:!1}],["ul",{reserved:!1}],["var",{reserved:!1}],["video",{reserved:!1}],["wbr",{reserved:!1}],["xmp",{reserved:!1}]],d={entries:function(){return l},forEach:function(p){for(var f=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,m=0,y=l;m<y.length;m++){var g=n(y[m],2),v=g[0],b=g[1];p.call(f,b,v,l)}},get:function(p){var f=l.filter(function(m){return m[0]===p})[0];return f&&f[1]},has:function(p){return!!d.get(p)},keys:function(){return l.map(function(p){var f=n(p,1),m=f[0];return m})},values:function(){return l.map(function(p){var f=n(p,2),m=f[1];return m})}};e.default=(0,t.default)(d,d.entries())}}),mS=M({"../../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}}),hS=M({"../../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}}),yS=M({"../../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}}),gS=M({"../../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}}),bS=M({"../../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}}),vS=M({"../../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}}),ES=M({"../../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}}),wS=M({"../../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}}),_S=M({"../../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}}),TS=M({"../../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}}),xS=M({"../../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}}),SS=M({"../../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}}),OS=M({"../../node_modules/aria-query/lib/etc/roles/ariaAbstractRoles.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=m(mS()),r=m(hS()),n=m(yS()),i=m(gS()),o=m(bS()),a=m(vS()),s=m(ES()),c=m(wS()),l=m(_S()),d=m(TS()),p=m(xS()),f=m(SS());function m(g){return g&&g.__esModule?g:{default:g}}var y=[["command",t.default],["composite",r.default],["input",n.default],["landmark",i.default],["range",o.default],["roletype",a.default],["section",s.default],["sectionhead",c.default],["select",l.default],["structure",d.default],["widget",p.default],["window",f.default]];e.default=y}}),AS=M({"../../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}}),RS=M({"../../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}}),CS=M({"../../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}}),PS=M({"../../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}}),MS=M({"../../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}}),NS=M({"../../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}}),kS=M({"../../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}}),IS=M({"../../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}}),jS=M({"../../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}}),qS=M({"../../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}}),FS=M({"../../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}}),DS=M({"../../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}}),LS=M({"../../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}}),$S=M({"../../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}}),BS=M({"../../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}}),US=M({"../../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}}),HS=M({"../../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}}),JS=M({"../../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}}),VS=M({"../../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}}),zS=M({"../../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}}),GS=M({"../../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}}),WS=M({"../../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}}),KS=M({"../../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}}),YS=M({"../../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}}),XS=M({"../../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}}),QS=M({"../../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}}),ZS=M({"../../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}}),eO=M({"../../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}}),tO=M({"../../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}}),rO=M({"../../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}}),nO=M({"../../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}}),iO=M({"../../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}}),oO=M({"../../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}}),aO=M({"../../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}}),sO=M({"../../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}}),lO=M({"../../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}}),uO=M({"../../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}}),cO=M({"../../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}}),dO=M({"../../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}}),pO=M({"../../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}}),fO=M({"../../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}}),mO=M({"../../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}}),hO=M({"../../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}}),yO=M({"../../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}}),gO=M({"../../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}}),bO=M({"../../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}}),vO=M({"../../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}}),EO=M({"../../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}}),wO=M({"../../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}}),_O=M({"../../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}}),TO=M({"../../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}}),xO=M({"../../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}}),SO=M({"../../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}}),OO=M({"../../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}}),AO=M({"../../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}}),RO=M({"../../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}}),CO=M({"../../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}}),PO=M({"../../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}}),MO=M({"../../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}}),NO=M({"../../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}}),kO=M({"../../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}}),IO=M({"../../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}}),jO=M({"../../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}}),qO=M({"../../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}}),FO=M({"../../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}}),DO=M({"../../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}}),LO=M({"../../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}}),$O=M({"../../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}}),BO=M({"../../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}}),UO=M({"../../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}}),HO=M({"../../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}}),JO=M({"../../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}}),VO=M({"../../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}}),zO=M({"../../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}}),GO=M({"../../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}}),WO=M({"../../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}}),KO=M({"../../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}}),YO=M({"../../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}}),XO=M({"../../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}}),QO=M({"../../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}}),ZO=M({"../../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}}),eA=M({"../../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}}),tA=M({"../../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}}),rA=M({"../../node_modules/aria-query/lib/etc/roles/ariaLiteralRoles.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=ee(AS()),r=ee(RS()),n=ee(CS()),i=ee(PS()),o=ee(MS()),a=ee(NS()),s=ee(kS()),c=ee(IS()),l=ee(jS()),d=ee(qS()),p=ee(FS()),f=ee(DS()),m=ee(LS()),y=ee($S()),g=ee(BS()),v=ee(US()),b=ee(HS()),T=ee(JS()),O=ee(VS()),R=ee(zS()),P=ee(GS()),E=ee(WS()),_=ee(KS()),x=ee(YS()),S=ee(XS()),L=ee(QS()),j=ee(ZS()),J=ee(eO()),N=ee(tO()),A=ee(rO()),q=ee(nO()),$=ee(iO()),V=ee(oO()),Y=ee(aO()),ie=ee(sO()),ue=ee(lO()),F=ee(uO()),D=ee(cO()),G=ee(dO()),Q=ee(pO()),X=ee(fO()),K=ee(mO()),oe=ee(hO()),se=ee(yO()),Te=ee(gO()),B=ee(bO()),te=ee(vO()),ne=ee(EO()),ae=ee(wO()),ce=ee(_O()),de=ee(TO()),ge=ee(xO()),Ee=ee(SO()),Ue=ee(OO()),gt=ee(AO()),ut=ee(RO()),bt=ee(CO()),it=ee(PO()),Xt=ee(MO()),kt=ee(NO()),Qt=ee(kO()),Ti=ee(IO()),xi=ee(jO()),Si=ee(qO()),Oi=ee(FO()),Ai=ee(DO()),Ri=ee(LO()),Ci=ee($O()),Pi=ee(BO()),Mi=ee(UO()),Ni=ee(HO()),ki=ee(JO()),Ii=ee(VO()),ji=ee(zO()),qi=ee(GO()),Fi=ee(WO()),tn=ee(KO()),Di=ee(YO()),xt=ee(XO()),pe=ee(QO()),rn=ee(ZO()),Ut=ee(eA()),Ze=ee(tA());function ee(Mr){return Mr&&Mr.__esModule?Mr:{default:Mr}}var Li=[["alert",t.default],["alertdialog",r.default],["application",n.default],["article",i.default],["banner",o.default],["blockquote",a.default],["button",s.default],["caption",c.default],["cell",l.default],["checkbox",d.default],["code",p.default],["columnheader",f.default],["combobox",m.default],["complementary",y.default],["contentinfo",g.default],["definition",v.default],["deletion",b.default],["dialog",T.default],["directory",O.default],["document",R.default],["emphasis",P.default],["feed",E.default],["figure",_.default],["form",x.default],["generic",S.default],["grid",L.default],["gridcell",j.default],["group",J.default],["heading",N.default],["img",A.default],["insertion",q.default],["link",$.default],["list",V.default],["listbox",Y.default],["listitem",ie.default],["log",ue.default],["main",F.default],["mark",D.default],["marquee",G.default],["math",Q.default],["menu",X.default],["menubar",K.default],["menuitem",oe.default],["menuitemcheckbox",se.default],["menuitemradio",Te.default],["meter",B.default],["navigation",te.default],["none",ne.default],["note",ae.default],["option",ce.default],["paragraph",de.default],["presentation",ge.default],["progressbar",Ee.default],["radio",Ue.default],["radiogroup",gt.default],["region",ut.default],["row",bt.default],["rowgroup",it.default],["rowheader",Xt.default],["scrollbar",kt.default],["search",Qt.default],["searchbox",Ti.default],["separator",xi.default],["slider",Si.default],["spinbutton",Oi.default],["status",Ai.default],["strong",Ri.default],["subscript",Ci.default],["superscript",Pi.default],["switch",Mi.default],["tab",Ni.default],["table",ki.default],["tablist",Ii.default],["tabpanel",ji.default],["term",qi.default],["textbox",Fi.default],["time",tn.default],["timer",Di.default],["toolbar",xt.default],["tooltip",pe.default],["tree",rn.default],["treegrid",Ut.default],["treeitem",Ze.default]];e.default=Li}}),nA=M({"../../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}}),iA=M({"../../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}}),oA=M({"../../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}}),aA=M({"../../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}}),sA=M({"../../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}}),lA=M({"../../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}}),uA=M({"../../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}}),cA=M({"../../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}}),dA=M({"../../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}}),pA=M({"../../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}}),fA=M({"../../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}}),mA=M({"../../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}}),hA=M({"../../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}}),yA=M({"../../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}}),gA=M({"../../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}}),bA=M({"../../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}}),vA=M({"../../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}}),EA=M({"../../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}}),wA=M({"../../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}}),_A=M({"../../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}}),TA=M({"../../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}}),xA=M({"../../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}}),SA=M({"../../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}}),OA=M({"../../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}}),AA=M({"../../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}}),RA=M({"../../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}}),CA=M({"../../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}}),PA=M({"../../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}}),MA=M({"../../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}}),NA=M({"../../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}}),kA=M({"../../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}}),IA=M({"../../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}}),jA=M({"../../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}}),qA=M({"../../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}}),FA=M({"../../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}}),DA=M({"../../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}}),LA=M({"../../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}}),$A=M({"../../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}}),BA=M({"../../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}}),UA=M({"../../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}}),HA=M({"../../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}}),JA=M({"../../node_modules/aria-query/lib/etc/roles/ariaDpubRoles.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=K(nA()),r=K(iA()),n=K(oA()),i=K(aA()),o=K(sA()),a=K(lA()),s=K(uA()),c=K(cA()),l=K(dA()),d=K(pA()),p=K(fA()),f=K(mA()),m=K(hA()),y=K(yA()),g=K(gA()),v=K(bA()),b=K(vA()),T=K(EA()),O=K(wA()),R=K(_A()),P=K(TA()),E=K(xA()),_=K(SA()),x=K(OA()),S=K(AA()),L=K(RA()),j=K(CA()),J=K(PA()),N=K(MA()),A=K(NA()),q=K(kA()),$=K(IA()),V=K(jA()),Y=K(qA()),ie=K(FA()),ue=K(DA()),F=K(LA()),D=K($A()),G=K(BA()),Q=K(UA()),X=K(HA());function K(se){return se&&se.__esModule?se:{default:se}}var oe=[["doc-abstract",t.default],["doc-acknowledgments",r.default],["doc-afterword",n.default],["doc-appendix",i.default],["doc-backlink",o.default],["doc-biblioentry",a.default],["doc-bibliography",s.default],["doc-biblioref",c.default],["doc-chapter",l.default],["doc-colophon",d.default],["doc-conclusion",p.default],["doc-cover",f.default],["doc-credit",m.default],["doc-credits",y.default],["doc-dedication",g.default],["doc-endnote",v.default],["doc-endnotes",b.default],["doc-epigraph",T.default],["doc-epilogue",O.default],["doc-errata",R.default],["doc-example",P.default],["doc-footnote",E.default],["doc-foreword",_.default],["doc-glossary",x.default],["doc-glossref",S.default],["doc-index",L.default],["doc-introduction",j.default],["doc-noteref",J.default],["doc-notice",N.default],["doc-pagebreak",A.default],["doc-pagefooter",q.default],["doc-pageheader",$.default],["doc-pagelist",V.default],["doc-part",Y.default],["doc-preface",ie.default],["doc-prologue",ue.default],["doc-pullquote",F.default],["doc-qna",D.default],["doc-subtitle",G.default],["doc-tip",Q.default],["doc-toc",X.default]];e.default=oe}}),VA=M({"../../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}}),zA=M({"../../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}}),GA=M({"../../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}}),WA=M({"../../node_modules/aria-query/lib/etc/roles/ariaGraphicsRoles.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=i(VA()),r=i(zA()),n=i(GA());function i(a){return a&&a.__esModule?a:{default:a}}var o=[["graphics-document",t.default],["graphics-object",r.default],["graphics-symbol",n.default]];e.default=o}}),ed=M({"../../node_modules/aria-query/lib/rolesMap.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=a(OS()),r=a(rA()),n=a(JA()),i=a(WA()),o=a(Jo());function a(v){return v&&v.__esModule?v:{default:v}}function s(v,b){var T=typeof Symbol<"u"&&v[Symbol.iterator]||v["@@iterator"];if(!T){if(Array.isArray(v)||(T=d(v))||b){T&&(v=T);var O=0,R=function(){};return{s:R,n:function(){return O>=v.length?{done:!0}:{done:!1,value:v[O++]}},e:function(x){throw x},f:R}}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 P,E=!0,_=!1;return{s:function(){T=T.call(v)},n:function(){var x=T.next();return E=x.done,x},e:function(x){_=!0,P=x},f:function(){try{E||T.return==null||T.return()}finally{if(_)throw P}}}}function c(v,b){return m(v)||f(v,b)||d(v,b)||l()}function l(){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 d(v,b){if(v){if(typeof v=="string")return p(v,b);var T={}.toString.call(v).slice(8,-1);return T==="Object"&&v.constructor&&(T=v.constructor.name),T==="Map"||T==="Set"?Array.from(v):T==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(T)?p(v,b):void 0}}function p(v,b){(b==null||b>v.length)&&(b=v.length);for(var T=0,O=Array(b);T<b;T++)O[T]=v[T];return O}function f(v,b){var T=v==null?null:typeof Symbol<"u"&&v[Symbol.iterator]||v["@@iterator"];if(T!=null){var O,R,P,E,_=[],x=!0,S=!1;try{if(P=(T=T.call(v)).next,b===0){if(Object(T)!==T)return;x=!1}else for(;!(x=(O=P.call(T)).done)&&(_.push(O.value),_.length!==b);x=!0);}catch(L){S=!0,R=L}finally{try{if(!x&&T.return!=null&&(E=T.return(),Object(E)!==E))return}finally{if(S)throw R}}return _}}function m(v){if(Array.isArray(v))return v}var y=[].concat(t.default,r.default,n.default,i.default);y.forEach(function(v){var b=c(v,2),T=b[1],O=s(T.superClass),R;try{for(O.s();!(R=O.n()).done;){var P=R.value,E=s(P),_;try{var x=function(){var S=_.value,L=y.filter(function(q){var $=c(q,1),V=$[0];return V===S})[0];if(L)for(var j=L[1],J=0,N=Object.keys(j.props);J<N.length;J++){var A=N[J];Object.prototype.hasOwnProperty.call(T.props,A)||(T.props[A]=j.props[A])}};for(E.s();!(_=E.n()).done;)x()}catch(S){E.e(S)}finally{E.f()}}}catch(S){O.e(S)}finally{O.f()}});var g={entries:function(){return y},forEach:function(v){var b=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,T=s(y),O;try{for(T.s();!(O=T.n()).done;){var R=c(O.value,2),P=R[0],E=R[1];v.call(b,E,P,y)}}catch(_){T.e(_)}finally{T.f()}},get:function(v){var b=y.filter(function(T){return T[0]===v})[0];return b&&b[1]},has:function(v){return!!g.get(v)},keys:function(){return y.map(function(v){var b=c(v,1),T=b[0];return T})},values:function(){return y.map(function(v){var b=c(v,2),T=b[1];return T})}};e.default=(0,o.default)(g,g.entries())}}),KA=M({"../../node_modules/aria-query/lib/elementRoleMap.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=n(Jo()),r=n(ed());function n(E){return E&&E.__esModule?E:{default:E}}function i(E,_){return l(E)||c(E,_)||a(E,_)||o()}function o(){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 a(E,_){if(E){if(typeof E=="string")return s(E,_);var x={}.toString.call(E).slice(8,-1);return x==="Object"&&E.constructor&&(x=E.constructor.name),x==="Map"||x==="Set"?Array.from(E):x==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(x)?s(E,_):void 0}}function s(E,_){(_==null||_>E.length)&&(_=E.length);for(var x=0,S=Array(_);x<_;x++)S[x]=E[x];return S}function c(E,_){var x=E==null?null:typeof Symbol<"u"&&E[Symbol.iterator]||E["@@iterator"];if(x!=null){var S,L,j,J,N=[],A=!0,q=!1;try{if(j=(x=x.call(E)).next,_===0){if(Object(x)!==x)return;A=!1}else for(;!(A=(S=j.call(x)).done)&&(N.push(S.value),N.length!==_);A=!0);}catch($){q=!0,L=$}finally{try{if(!A&&x.return!=null&&(J=x.return(),Object(J)!==J))return}finally{if(q)throw L}}return N}}function l(E){if(Array.isArray(E))return E}var d=[],p=r.default.keys();for(b=0;b<p.length;b++)if(f=p[b],m=r.default.get(f),m)for(y=[].concat(m.baseConcepts,m.relatedConcepts),g=function(){var E=y[v];if(E.module==="HTML"){var _=E.concept;if(_){var x=d.filter(function(J){return O(J[0],_)})[0],S;x?S=x[1]:S=[];for(var L=!0,j=0;j<S.length;j++)if(S[j]===f){L=!1;break}L&&S.push(f),x||d.push([_,S])}}},v=0;v<y.length;v++)g();var f,m,y,g,v,b,T={entries:function(){return d},forEach:function(E){for(var _=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,x=0,S=d;x<S.length;x++){var L=i(S[x],2),j=L[0],J=L[1];E.call(_,J,j,d)}},get:function(E){var _=d.filter(function(x){return E.name===x[0].name&&P(E.attributes,x[0].attributes)})[0];return _&&_[1]},has:function(E){return!!T.get(E)},keys:function(){return d.map(function(E){var _=i(E,1),x=_[0];return x})},values:function(){return d.map(function(E){var _=i(E,2),x=_[1];return x})}};function O(E,_){return E.name===_.name&&R(E.constraints,_.constraints)&&P(E.attributes,_.attributes)}function R(E,_){if(E===void 0&&_!==void 0||E!==void 0&&_===void 0)return!1;if(E!==void 0&&_!==void 0){if(E.length!==_.length)return!1;for(var x=0;x<E.length;x++)if(E[x]!==_[x])return!1}return!0}function P(E,_){if(E===void 0&&_!==void 0||E!==void 0&&_===void 0)return!1;if(E!==void 0&&_!==void 0){if(E.length!==_.length)return!1;for(var x=0;x<E.length;x++){if(E[x].name!==_[x].name||E[x].value!==_[x].value||E[x].constraints===void 0&&_[x].constraints!==void 0||E[x].constraints!==void 0&&_[x].constraints===void 0)return!1;if(E[x].constraints!==void 0&&_[x].constraints!==void 0){if(E[x].constraints.length!==_[x].constraints.length)return!1;for(var S=0;S<E[x].constraints.length;S++)if(E[x].constraints[S]!==_[x].constraints[S])return!1}}}return!0}e.default=(0,t.default)(T,T.entries())}}),YA=M({"../../node_modules/aria-query/lib/roleElementMap.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=n(Jo()),r=n(ed());function n(P){return P&&P.__esModule?P:{default:P}}function i(P,E){return l(P)||c(P,E)||a(P,E)||o()}function o(){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 a(P,E){if(P){if(typeof P=="string")return s(P,E);var _={}.toString.call(P).slice(8,-1);return _==="Object"&&P.constructor&&(_=P.constructor.name),_==="Map"||_==="Set"?Array.from(P):_==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(_)?s(P,E):void 0}}function s(P,E){(E==null||E>P.length)&&(E=P.length);for(var _=0,x=Array(E);_<E;_++)x[_]=P[_];return x}function c(P,E){var _=P==null?null:typeof Symbol<"u"&&P[Symbol.iterator]||P["@@iterator"];if(_!=null){var x,S,L,j,J=[],N=!0,A=!1;try{if(L=(_=_.call(P)).next,E===0){if(Object(_)!==_)return;N=!1}else for(;!(N=(x=L.call(_)).done)&&(J.push(x.value),J.length!==E);N=!0);}catch(q){A=!0,S=q}finally{try{if(!N&&_.return!=null&&(j=_.return(),Object(j)!==j))return}finally{if(A)throw S}}return J}}function l(P){if(Array.isArray(P))return P}var d=[],p=r.default.keys();for(O=0;O<p.length;O++)if(f=p[O],m=r.default.get(f),y=[],m){for(g=[].concat(m.baseConcepts,m.relatedConcepts),T=0;T<g.length;T++)v=g[T],v.module==="HTML"&&(b=v.concept,b!=null&&y.push(b));y.length>0&&d.push([f,y])}var f,m,y,g,v,b,T,O,R={entries:function(){return d},forEach:function(P){for(var E=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,_=0,x=d;_<x.length;_++){var S=i(x[_],2),L=S[0],j=S[1];P.call(E,j,L,d)}},get:function(P){var E=d.filter(function(_){return _[0]===P})[0];return E&&E[1]},has:function(P){return!!R.get(P)},keys:function(){return d.map(function(P){var E=i(P,1),_=E[0];return _})},values:function(){return d.map(function(P){var E=i(P,2),_=E[1];return _})}};e.default=(0,t.default)(R,R.entries())}}),td=M({"../../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=a(pS()),r=a(fS()),n=a(ed()),i=a(KA()),o=a(YA());function a(s){return s&&s.__esModule?s:{default:s}}e.aria=t.default,e.dom=r.default,e.roles=n.default,e.elementRoles=i.default,e.roleElements=o.default}}),XA=M({"../../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]}}}),hg=M({"../../node_modules/color-convert/conversions.js"(e,t){var r=XA(),n={};for(let a of Object.keys(r))n[r[a]]=a;var i={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};t.exports=i;for(let a of Object.keys(i)){if(!("channels"in i[a]))throw new Error("missing channels property: "+a);if(!("labels"in i[a]))throw new Error("missing channel labels property: "+a);if(i[a].labels.length!==i[a].channels)throw new Error("channel and label counts mismatch: "+a);let{channels:s,labels:c}=i[a];delete i[a].channels,delete i[a].labels,Object.defineProperty(i[a],"channels",{value:s}),Object.defineProperty(i[a],"labels",{value:c})}i.rgb.hsl=function(a){let s=a[0]/255,c=a[1]/255,l=a[2]/255,d=Math.min(s,c,l),p=Math.max(s,c,l),f=p-d,m,y;p===d?m=0:s===p?m=(c-l)/f:c===p?m=2+(l-s)/f:l===p&&(m=4+(s-c)/f),m=Math.min(m*60,360),m<0&&(m+=360);let g=(d+p)/2;return p===d?y=0:g<=.5?y=f/(p+d):y=f/(2-p-d),[m,y*100,g*100]},i.rgb.hsv=function(a){let s,c,l,d,p,f=a[0]/255,m=a[1]/255,y=a[2]/255,g=Math.max(f,m,y),v=g-Math.min(f,m,y),b=function(T){return(g-T)/6/v+1/2};return v===0?(d=0,p=0):(p=v/g,s=b(f),c=b(m),l=b(y),f===g?d=l-c:m===g?d=1/3+s-l:y===g&&(d=2/3+c-s),d<0?d+=1:d>1&&(d-=1)),[d*360,p*100,g*100]},i.rgb.hwb=function(a){let s=a[0],c=a[1],l=a[2],d=i.rgb.hsl(a)[0],p=1/255*Math.min(s,Math.min(c,l));return l=1-1/255*Math.max(s,Math.max(c,l)),[d,p*100,l*100]},i.rgb.cmyk=function(a){let s=a[0]/255,c=a[1]/255,l=a[2]/255,d=Math.min(1-s,1-c,1-l),p=(1-s-d)/(1-d)||0,f=(1-c-d)/(1-d)||0,m=(1-l-d)/(1-d)||0;return[p*100,f*100,m*100,d*100]};function o(a,s){return(a[0]-s[0])**2+(a[1]-s[1])**2+(a[2]-s[2])**2}i.rgb.keyword=function(a){let s=n[a];if(s)return s;let c=1/0,l;for(let d of Object.keys(r)){let p=r[d],f=o(a,p);f<c&&(c=f,l=d)}return l},i.keyword.rgb=function(a){return r[a]},i.rgb.xyz=function(a){let s=a[0]/255,c=a[1]/255,l=a[2]/255;s=s>.04045?((s+.055)/1.055)**2.4:s/12.92,c=c>.04045?((c+.055)/1.055)**2.4:c/12.92,l=l>.04045?((l+.055)/1.055)**2.4:l/12.92;let d=s*.4124+c*.3576+l*.1805,p=s*.2126+c*.7152+l*.0722,f=s*.0193+c*.1192+l*.9505;return[d*100,p*100,f*100]},i.rgb.lab=function(a){let s=i.rgb.xyz(a),c=s[0],l=s[1],d=s[2];c/=95.047,l/=100,d/=108.883,c=c>.008856?c**(1/3):7.787*c+16/116,l=l>.008856?l**(1/3):7.787*l+16/116,d=d>.008856?d**(1/3):7.787*d+16/116;let p=116*l-16,f=500*(c-l),m=200*(l-d);return[p,f,m]},i.hsl.rgb=function(a){let s=a[0]/360,c=a[1]/100,l=a[2]/100,d,p,f;if(c===0)return f=l*255,[f,f,f];l<.5?d=l*(1+c):d=l+c-l*c;let m=2*l-d,y=[0,0,0];for(let g=0;g<3;g++)p=s+1/3*-(g-1),p<0&&p++,p>1&&p--,6*p<1?f=m+(d-m)*6*p:2*p<1?f=d:3*p<2?f=m+(d-m)*(2/3-p)*6:f=m,y[g]=f*255;return y},i.hsl.hsv=function(a){let s=a[0],c=a[1]/100,l=a[2]/100,d=c,p=Math.max(l,.01);l*=2,c*=l<=1?l:2-l,d*=p<=1?p:2-p;let f=(l+c)/2,m=l===0?2*d/(p+d):2*c/(l+c);return[s,m*100,f*100]},i.hsv.rgb=function(a){let s=a[0]/60,c=a[1]/100,l=a[2]/100,d=Math.floor(s)%6,p=s-Math.floor(s),f=255*l*(1-c),m=255*l*(1-c*p),y=255*l*(1-c*(1-p));switch(l*=255,d){case 0:return[l,y,f];case 1:return[m,l,f];case 2:return[f,l,y];case 3:return[f,m,l];case 4:return[y,f,l];case 5:return[l,f,m]}},i.hsv.hsl=function(a){let s=a[0],c=a[1]/100,l=a[2]/100,d=Math.max(l,.01),p,f;f=(2-c)*l;let m=(2-c)*d;return p=c*d,p/=m<=1?m:2-m,p=p||0,f/=2,[s,p*100,f*100]},i.hwb.rgb=function(a){let s=a[0]/360,c=a[1]/100,l=a[2]/100,d=c+l,p;d>1&&(c/=d,l/=d);let f=Math.floor(6*s),m=1-l;p=6*s-f,(f&1)!==0&&(p=1-p);let y=c+p*(m-c),g,v,b;switch(f){default:case 6:case 0:g=m,v=y,b=c;break;case 1:g=y,v=m,b=c;break;case 2:g=c,v=m,b=y;break;case 3:g=c,v=y,b=m;break;case 4:g=y,v=c,b=m;break;case 5:g=m,v=c,b=y;break}return[g*255,v*255,b*255]},i.cmyk.rgb=function(a){let s=a[0]/100,c=a[1]/100,l=a[2]/100,d=a[3]/100,p=1-Math.min(1,s*(1-d)+d),f=1-Math.min(1,c*(1-d)+d),m=1-Math.min(1,l*(1-d)+d);return[p*255,f*255,m*255]},i.xyz.rgb=function(a){let s=a[0]/100,c=a[1]/100,l=a[2]/100,d,p,f;return d=s*3.2406+c*-1.5372+l*-.4986,p=s*-.9689+c*1.8758+l*.0415,f=s*.0557+c*-.204+l*1.057,d=d>.0031308?1.055*d**(1/2.4)-.055:d*12.92,p=p>.0031308?1.055*p**(1/2.4)-.055:p*12.92,f=f>.0031308?1.055*f**(1/2.4)-.055:f*12.92,d=Math.min(Math.max(0,d),1),p=Math.min(Math.max(0,p),1),f=Math.min(Math.max(0,f),1),[d*255,p*255,f*255]},i.xyz.lab=function(a){let s=a[0],c=a[1],l=a[2];s/=95.047,c/=100,l/=108.883,s=s>.008856?s**(1/3):7.787*s+16/116,c=c>.008856?c**(1/3):7.787*c+16/116,l=l>.008856?l**(1/3):7.787*l+16/116;let d=116*c-16,p=500*(s-c),f=200*(c-l);return[d,p,f]},i.lab.xyz=function(a){let s=a[0],c=a[1],l=a[2],d,p,f;p=(s+16)/116,d=c/500+p,f=p-l/200;let m=p**3,y=d**3,g=f**3;return p=m>.008856?m:(p-16/116)/7.787,d=y>.008856?y:(d-16/116)/7.787,f=g>.008856?g:(f-16/116)/7.787,d*=95.047,p*=100,f*=108.883,[d,p,f]},i.lab.lch=function(a){let s=a[0],c=a[1],l=a[2],d;d=Math.atan2(l,c)*360/2/Math.PI,d<0&&(d+=360);let p=Math.sqrt(c*c+l*l);return[s,p,d]},i.lch.lab=function(a){let s=a[0],c=a[1],l=a[2]/360*2*Math.PI,d=c*Math.cos(l),p=c*Math.sin(l);return[s,d,p]},i.rgb.ansi16=function(a,s=null){let[c,l,d]=a,p=s===null?i.rgb.hsv(a)[2]:s;if(p=Math.round(p/50),p===0)return 30;let f=30+(Math.round(d/255)<<2|Math.round(l/255)<<1|Math.round(c/255));return p===2&&(f+=60),f},i.hsv.ansi16=function(a){return i.rgb.ansi16(i.hsv.rgb(a),a[2])},i.rgb.ansi256=function(a){let s=a[0],c=a[1],l=a[2];return s===c&&c===l?s<8?16:s>248?231:Math.round((s-8)/247*24)+232:16+36*Math.round(s/255*5)+6*Math.round(c/255*5)+Math.round(l/255*5)},i.ansi16.rgb=function(a){let s=a%10;if(s===0||s===7)return a>50&&(s+=3.5),s=s/10.5*255,[s,s,s];let c=(~~(a>50)+1)*.5,l=(s&1)*c*255,d=(s>>1&1)*c*255,p=(s>>2&1)*c*255;return[l,d,p]},i.ansi256.rgb=function(a){if(a>=232){let p=(a-232)*10+8;return[p,p,p]}a-=16;let s,c=Math.floor(a/36)/5*255,l=Math.floor((s=a%36)/6)/5*255,d=s%6/5*255;return[c,l,d]},i.rgb.hex=function(a){let s=(((Math.round(a[0])&255)<<16)+((Math.round(a[1])&255)<<8)+(Math.round(a[2])&255)).toString(16).toUpperCase();return"000000".substring(s.length)+s},i.hex.rgb=function(a){let s=a.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!s)return[0,0,0];let c=s[0];s[0].length===3&&(c=c.split("").map(m=>m+m).join(""));let l=parseInt(c,16),d=l>>16&255,p=l>>8&255,f=l&255;return[d,p,f]},i.rgb.hcg=function(a){let s=a[0]/255,c=a[1]/255,l=a[2]/255,d=Math.max(Math.max(s,c),l),p=Math.min(Math.min(s,c),l),f=d-p,m,y;return f<1?m=p/(1-f):m=0,f<=0?y=0:d===s?y=(c-l)/f%6:d===c?y=2+(l-s)/f:y=4+(s-c)/f,y/=6,y%=1,[y*360,f*100,m*100]},i.hsl.hcg=function(a){let s=a[1]/100,c=a[2]/100,l=c<.5?2*s*c:2*s*(1-c),d=0;return l<1&&(d=(c-.5*l)/(1-l)),[a[0],l*100,d*100]},i.hsv.hcg=function(a){let s=a[1]/100,c=a[2]/100,l=s*c,d=0;return l<1&&(d=(c-l)/(1-l)),[a[0],l*100,d*100]},i.hcg.rgb=function(a){let s=a[0]/360,c=a[1]/100,l=a[2]/100;if(c===0)return[l*255,l*255,l*255];let d=[0,0,0],p=s%1*6,f=p%1,m=1-f,y=0;switch(Math.floor(p)){case 0:d[0]=1,d[1]=f,d[2]=0;break;case 1:d[0]=m,d[1]=1,d[2]=0;break;case 2:d[0]=0,d[1]=1,d[2]=f;break;case 3:d[0]=0,d[1]=m,d[2]=1;break;case 4:d[0]=f,d[1]=0,d[2]=1;break;default:d[0]=1,d[1]=0,d[2]=m}return y=(1-c)*l,[(c*d[0]+y)*255,(c*d[1]+y)*255,(c*d[2]+y)*255]},i.hcg.hsv=function(a){let s=a[1]/100,c=a[2]/100,l=s+c*(1-s),d=0;return l>0&&(d=s/l),[a[0],d*100,l*100]},i.hcg.hsl=function(a){let s=a[1]/100,c=a[2]/100*(1-s)+.5*s,l=0;return c>0&&c<.5?l=s/(2*c):c>=.5&&c<1&&(l=s/(2*(1-c))),[a[0],l*100,c*100]},i.hcg.hwb=function(a){let s=a[1]/100,c=a[2]/100,l=s+c*(1-s);return[a[0],(l-s)*100,(1-l)*100]},i.hwb.hcg=function(a){let s=a[1]/100,c=1-a[2]/100,l=c-s,d=0;return l<1&&(d=(c-l)/(1-l)),[a[0],l*100,d*100]},i.apple.rgb=function(a){return[a[0]/65535*255,a[1]/65535*255,a[2]/65535*255]},i.rgb.apple=function(a){return[a[0]/255*65535,a[1]/255*65535,a[2]/255*65535]},i.gray.rgb=function(a){return[a[0]/100*255,a[0]/100*255,a[0]/100*255]},i.gray.hsl=function(a){return[0,0,a[0]]},i.gray.hsv=i.gray.hsl,i.gray.hwb=function(a){return[0,100,a[0]]},i.gray.cmyk=function(a){return[0,0,0,a[0]]},i.gray.lab=function(a){return[a[0],0,0]},i.gray.hex=function(a){let s=Math.round(a[0]/100*255)&255,c=((s<<16)+(s<<8)+s).toString(16).toUpperCase();return"000000".substring(c.length)+c},i.rgb.gray=function(a){return[(a[0]+a[1]+a[2])/3/255*100]}}}),QA=M({"../../node_modules/color-convert/route.js"(e,t){var r=hg();function n(){let s={},c=Object.keys(r);for(let l=c.length,d=0;d<l;d++)s[c[d]]={distance:-1,parent:null};return s}function i(s){let c=n(),l=[s];for(c[s].distance=0;l.length;){let d=l.pop(),p=Object.keys(r[d]);for(let f=p.length,m=0;m<f;m++){let y=p[m],g=c[y];g.distance===-1&&(g.distance=c[d].distance+1,g.parent=d,l.unshift(y))}}return c}function o(s,c){return function(l){return c(s(l))}}function a(s,c){let l=[c[s].parent,s],d=r[c[s].parent][s],p=c[s].parent;for(;c[p].parent;)l.unshift(c[p].parent),d=o(r[c[p].parent][p],d),p=c[p].parent;return d.conversion=l,d}t.exports=function(s){let c=i(s),l={},d=Object.keys(c);for(let p=d.length,f=0;f<p;f++){let m=d[f];c[m].parent!==null&&(l[m]=a(m,c))}return l}}}),ZA=M({"../../node_modules/color-convert/index.js"(e,t){var r=hg(),n=QA(),i={},o=Object.keys(r);function a(c){let l=function(...d){let p=d[0];return p==null?p:(p.length>1&&(d=p),c(d))};return"conversion"in c&&(l.conversion=c.conversion),l}function s(c){let l=function(...d){let p=d[0];if(p==null)return p;p.length>1&&(d=p);let f=c(d);if(typeof f=="object")for(let m=f.length,y=0;y<m;y++)f[y]=Math.round(f[y]);return f};return"conversion"in c&&(l.conversion=c.conversion),l}o.forEach(c=>{i[c]={},Object.defineProperty(i[c],"channels",{value:r[c].channels}),Object.defineProperty(i[c],"labels",{value:r[c].labels});let l=n(c);Object.keys(l).forEach(d=>{let p=l[d];i[c][d]=s(p),i[c][d].raw=a(p)})}),t.exports=i}}),eR=M({"../../node_modules/ansi-styles/index.js"(e,t){var r=(p,f)=>(...m)=>`\x1B[${p(...m)+f}m`,n=(p,f)=>(...m)=>{let y=p(...m);return`\x1B[${38+f};5;${y}m`},i=(p,f)=>(...m)=>{let y=p(...m);return`\x1B[${38+f};2;${y[0]};${y[1]};${y[2]}m`},o=p=>p,a=(p,f,m)=>[p,f,m],s=(p,f,m)=>{Object.defineProperty(p,f,{get:()=>{let y=m();return Object.defineProperty(p,f,{value:y,enumerable:!0,configurable:!0}),y},enumerable:!0,configurable:!0})},c,l=(p,f,m,y)=>{c===void 0&&(c=ZA());let g=y?10:0,v={};for(let[b,T]of Object.entries(c)){let O=b==="ansi16"?"ansi":b;b===f?v[O]=p(m,g):typeof T=="object"&&(v[O]=p(T[f],g))}return v};function d(){let p=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[m,y]of Object.entries(f)){for(let[g,v]of Object.entries(y))f[g]={open:`\x1B[${v[0]}m`,close:`\x1B[${v[1]}m`},y[g]=f[g],p.set(v[0],v[1]);Object.defineProperty(f,m,{value:y,enumerable:!1})}return Object.defineProperty(f,"codes",{value:p,enumerable:!1}),f.color.close="\x1B[39m",f.bgColor.close="\x1B[49m",s(f.color,"ansi",()=>l(r,"ansi16",o,!1)),s(f.color,"ansi256",()=>l(n,"ansi256",o,!1)),s(f.color,"ansi16m",()=>l(i,"rgb",a,!1)),s(f.bgColor,"ansi",()=>l(r,"ansi16",o,!0)),s(f.bgColor,"ansi256",()=>l(n,"ansi256",o,!0)),s(f.bgColor,"ansi16m",()=>l(i,"rgb",a,!0)),f}Object.defineProperty(t,"exports",{enumerable:!0,get:d})}}),tR=M({"../../node_modules/supports-color/browser.js"(e,t){t.exports={stdout:!1,stderr:!1}}}),rR=M({"../../node_modules/@testing-library/jest-dom/node_modules/chalk/source/util.js"(e,t){var r=(i,o,a)=>{let s=i.indexOf(o);if(s===-1)return i;let c=o.length,l=0,d="";do d+=i.substr(l,s-l)+o+a,l=s+c,s=i.indexOf(o,l);while(s!==-1);return d+=i.substr(l),d},n=(i,o,a,s)=>{let c=0,l="";do{let d=i[s-1]==="\r";l+=i.substr(c,(d?s-1:s)-c)+o+(d?`\r
9
+ `:`
10
+ `)+a,c=s+1,s=i.indexOf(`
11
+ `,c)}while(s!==-1);return l+=i.substr(c),l};t.exports={stringReplaceAll:r,stringEncaseCRLFWithFirstIndex:n}}}),nR=M({"../../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,i=/^(['"])((?:\\.|(?!\1)[^\\])*)\1$/,o=/\\(u(?:[a-f\d]{4}|\{[a-f\d]{1,6}\})|x[a-f\d]{2}|.)|([^\\])/gi,a=new Map([["n",`
12
+ `],["r","\r"],["t"," "],["b","\b"],["f","\f"],["v","\v"],["0","\0"],["\\","\\"],["e","\x1B"],["a","\x07"]]);function s(p){let f=p[0]==="u",m=p[1]==="{";return f&&!m&&p.length===5||p[0]==="x"&&p.length===3?String.fromCharCode(parseInt(p.slice(1),16)):f&&m?String.fromCodePoint(parseInt(p.slice(2,-1),16)):a.get(p)||p}function c(p,f){let m=[],y=f.trim().split(/\s*,\s*/g),g;for(let v of y){let b=Number(v);if(!Number.isNaN(b))m.push(b);else if(g=v.match(i))m.push(g[2].replace(o,(T,O,R)=>O?s(O):R));else throw new Error(`Invalid Chalk template style argument: ${v} (in style '${p}')`)}return m}function l(p){n.lastIndex=0;let f=[],m;for(;(m=n.exec(p))!==null;){let y=m[1];if(m[2]){let g=c(y,m[2]);f.push([y].concat(g))}else f.push([y])}return f}function d(p,f){let m={};for(let g of f)for(let v of g.styles)m[v[0]]=g.inverse?null:v.slice(1);let y=p;for(let[g,v]of Object.entries(m))if(Array.isArray(v)){if(!(g in y))throw new Error(`Unknown Chalk style: ${g}`);y=v.length>0?y[g](...v):y[g]}return y}t.exports=(p,f)=>{let m=[],y=[],g=[];if(f.replace(r,(v,b,T,O,R,P)=>{if(b)g.push(s(b));else if(O){let E=g.join("");g=[],y.push(m.length===0?E:d(p,m)(E)),m.push({inverse:T,styles:l(O)})}else if(R){if(m.length===0)throw new Error("Found extraneous } in Chalk template literal");y.push(d(p,m)(g.join(""))),g=[],m.pop()}else g.push(P)}),y.push(g.join("")),m.length>0){let v=`Chalk template literal is missing ${m.length} closing bracket${m.length===1?"":"s"} (\`}\`)`;throw new Error(v)}return y.join("")}}}),yg=M({"../../node_modules/@testing-library/jest-dom/node_modules/chalk/source/index.js"(e,t){var r=eR(),{stdout:n,stderr:i}=tR(),{stringReplaceAll:o,stringEncaseCRLFWithFirstIndex:a}=rR(),s=["ansi","ansi","ansi256","ansi16m"],c=Object.create(null),l=(P,E={})=>{if(E.level>3||E.level<0)throw new Error("The `level` option should be an integer from 0 to 3");let _=n?n.level:0;P.level=E.level===void 0?_:E.level},d=class{constructor(P){return p(P)}},p=P=>{let E={};return l(E,P),E.template=(..._)=>O(E.template,..._),Object.setPrototypeOf(E,f.prototype),Object.setPrototypeOf(E.template,E),E.template.constructor=()=>{throw new Error("`chalk.constructor()` is deprecated. Use `new chalk.Instance()` instead.")},E.template.Instance=d,E.template};function f(P){return p(P)}for(let[P,E]of Object.entries(r))c[P]={get(){let _=v(this,g(E.open,E.close,this._styler),this._isEmpty);return Object.defineProperty(this,P,{value:_}),_}};c.visible={get(){let P=v(this,this._styler,!0);return Object.defineProperty(this,"visible",{value:P}),P}};var m=["rgb","hex","keyword","hsl","hsv","hwb","ansi","ansi256"];for(let P of m)c[P]={get(){let{level:E}=this;return function(..._){let x=g(r.color[s[E]][P](..._),r.color.close,this._styler);return v(this,x,this._isEmpty)}}};for(let P of m){let E="bg"+P[0].toUpperCase()+P.slice(1);c[E]={get(){let{level:_}=this;return function(...x){let S=g(r.bgColor[s[_]][P](...x),r.bgColor.close,this._styler);return v(this,S,this._isEmpty)}}}}var y=Object.defineProperties(()=>{},{...c,level:{enumerable:!0,get(){return this._generator.level},set(P){this._generator.level=P}}}),g=(P,E,_)=>{let x,S;return _===void 0?(x=P,S=E):(x=_.openAll+P,S=E+_.closeAll),{open:P,close:E,openAll:x,closeAll:S,parent:_}},v=(P,E,_)=>{let x=(...S)=>b(x,S.length===1?""+S[0]:S.join(" "));return x.__proto__=y,x._generator=P,x._styler=E,x._isEmpty=_,x},b=(P,E)=>{if(P.level<=0||!E)return P._isEmpty?"":E;let _=P._styler;if(_===void 0)return E;let{openAll:x,closeAll:S}=_;if(E.indexOf("\x1B")!==-1)for(;_!==void 0;)E=o(E,_.close,_.open),_=_.parent;let L=E.indexOf(`
13
+ `);return L!==-1&&(E=a(E,S,x,L)),x+E+S},T,O=(P,...E)=>{let[_]=E;if(!Array.isArray(_))return E.join(" ");let x=E.slice(1),S=[_.raw[0]];for(let L=1;L<_.length;L++)S.push(String(x[L-1]).replace(/[{}\\]/g,"\\$&"),String(_.raw[L]));return T===void 0&&(T=nR()),T(P,S.join(""))};Object.defineProperties(f.prototype,c);var R=f();R.supportsColor=n,R.stderr=f({level:i?i.level:0}),R.stderr.supportsColor=i,R.Level={None:0,Basic:1,Ansi256:2,TrueColor:3,0:"None",1:"Basic",2:"Ansi256",3:"TrueColor"},t.exports=R}}),iR=M({"../../node_modules/lodash/_listCacheClear.js"(e,t){function r(){this.__data__=[],this.size=0}t.exports=r}}),gg=M({"../../node_modules/lodash/eq.js"(e,t){function r(n,i){return n===i||n!==n&&i!==i}t.exports=r}}),Cs=M({"../../node_modules/lodash/_assocIndexOf.js"(e,t){var r=gg();function n(i,o){for(var a=i.length;a--;)if(r(i[a][0],o))return a;return-1}t.exports=n}}),oR=M({"../../node_modules/lodash/_listCacheDelete.js"(e,t){var r=Cs(),n=Array.prototype,i=n.splice;function o(a){var s=this.__data__,c=r(s,a);if(c<0)return!1;var l=s.length-1;return c==l?s.pop():i.call(s,c,1),--this.size,!0}t.exports=o}}),aR=M({"../../node_modules/lodash/_listCacheGet.js"(e,t){var r=Cs();function n(i){var o=this.__data__,a=r(o,i);return a<0?void 0:o[a][1]}t.exports=n}}),sR=M({"../../node_modules/lodash/_listCacheHas.js"(e,t){var r=Cs();function n(i){return r(this.__data__,i)>-1}t.exports=n}}),lR=M({"../../node_modules/lodash/_listCacheSet.js"(e,t){var r=Cs();function n(i,o){var a=this.__data__,s=r(a,i);return s<0?(++this.size,a.push([i,o])):a[s][1]=o,this}t.exports=n}}),Ps=M({"../../node_modules/lodash/_ListCache.js"(e,t){var r=iR(),n=oR(),i=aR(),o=sR(),a=lR();function s(c){var l=-1,d=c==null?0:c.length;for(this.clear();++l<d;){var p=c[l];this.set(p[0],p[1])}}s.prototype.clear=r,s.prototype.delete=n,s.prototype.get=i,s.prototype.has=o,s.prototype.set=a,t.exports=s}}),uR=M({"../../node_modules/lodash/_stackClear.js"(e,t){var r=Ps();function n(){this.__data__=new r,this.size=0}t.exports=n}}),cR=M({"../../node_modules/lodash/_stackDelete.js"(e,t){function r(n){var i=this.__data__,o=i.delete(n);return this.size=i.size,o}t.exports=r}}),dR=M({"../../node_modules/lodash/_stackGet.js"(e,t){function r(n){return this.__data__.get(n)}t.exports=r}}),pR=M({"../../node_modules/lodash/_stackHas.js"(e,t){function r(n){return this.__data__.has(n)}t.exports=r}}),bg=M({"../../node_modules/lodash/_freeGlobal.js"(e,t){var r=typeof global=="object"&&global&&global.Object===Object&&global;t.exports=r}}),Or=M({"../../node_modules/lodash/_root.js"(e,t){var r=bg(),n=typeof self=="object"&&self&&self.Object===Object&&self,i=r||n||Function("return this")();t.exports=i}}),rd=M({"../../node_modules/lodash/_Symbol.js"(e,t){var r=Or(),n=r.Symbol;t.exports=n}}),fR=M({"../../node_modules/lodash/_getRawTag.js"(e,t){var r=rd(),n=Object.prototype,i=n.hasOwnProperty,o=n.toString,a=r?r.toStringTag:void 0;function s(c){var l=i.call(c,a),d=c[a];try{c[a]=void 0;var p=!0}catch{}var f=o.call(c);return p&&(l?c[a]=d:delete c[a]),f}t.exports=s}}),mR=M({"../../node_modules/lodash/_objectToString.js"(e,t){var r=Object.prototype,n=r.toString;function i(o){return n.call(o)}t.exports=i}}),Ms=M({"../../node_modules/lodash/_baseGetTag.js"(e,t){var r=rd(),n=fR(),i=mR(),o="[object Null]",a="[object Undefined]",s=r?r.toStringTag:void 0;function c(l){return l==null?l===void 0?a:o:s&&s in Object(l)?n(l):i(l)}t.exports=c}}),vg=M({"../../node_modules/lodash/isObject.js"(e,t){function r(n){var i=typeof n;return n!=null&&(i=="object"||i=="function")}t.exports=r}}),Eg=M({"../../node_modules/lodash/isFunction.js"(e,t){var r=Ms(),n=vg(),i="[object AsyncFunction]",o="[object Function]",a="[object GeneratorFunction]",s="[object Proxy]";function c(l){if(!n(l))return!1;var d=r(l);return d==o||d==a||d==i||d==s}t.exports=c}}),hR=M({"../../node_modules/lodash/_coreJsData.js"(e,t){var r=Or(),n=r["__core-js_shared__"];t.exports=n}}),yR=M({"../../node_modules/lodash/_isMasked.js"(e,t){var r=hR(),n=(function(){var o=/[^.]+$/.exec(r&&r.keys&&r.keys.IE_PROTO||"");return o?"Symbol(src)_1."+o:""})();function i(o){return!!n&&n in o}t.exports=i}}),wg=M({"../../node_modules/lodash/_toSource.js"(e,t){var r=Function.prototype,n=r.toString;function i(o){if(o!=null){try{return n.call(o)}catch{}try{return o+""}catch{}}return""}t.exports=i}}),gR=M({"../../node_modules/lodash/_baseIsNative.js"(e,t){var r=Eg(),n=yR(),i=vg(),o=wg(),a=/[\\^$.*+?()[\]{}|]/g,s=/^\[object .+?Constructor\]$/,c=Function.prototype,l=Object.prototype,d=c.toString,p=l.hasOwnProperty,f=RegExp("^"+d.call(p).replace(a,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function m(y){if(!i(y)||n(y))return!1;var g=r(y)?f:s;return g.test(o(y))}t.exports=m}}),bR=M({"../../node_modules/lodash/_getValue.js"(e,t){function r(n,i){return n?.[i]}t.exports=r}}),fi=M({"../../node_modules/lodash/_getNative.js"(e,t){var r=gR(),n=bR();function i(o,a){var s=n(o,a);return r(s)?s:void 0}t.exports=i}}),nd=M({"../../node_modules/lodash/_Map.js"(e,t){var r=fi(),n=Or(),i=r(n,"Map");t.exports=i}}),Ns=M({"../../node_modules/lodash/_nativeCreate.js"(e,t){var r=fi(),n=r(Object,"create");t.exports=n}}),vR=M({"../../node_modules/lodash/_hashClear.js"(e,t){var r=Ns();function n(){this.__data__=r?r(null):{},this.size=0}t.exports=n}}),ER=M({"../../node_modules/lodash/_hashDelete.js"(e,t){function r(n){var i=this.has(n)&&delete this.__data__[n];return this.size-=i?1:0,i}t.exports=r}}),wR=M({"../../node_modules/lodash/_hashGet.js"(e,t){var r=Ns(),n="__lodash_hash_undefined__",i=Object.prototype,o=i.hasOwnProperty;function a(s){var c=this.__data__;if(r){var l=c[s];return l===n?void 0:l}return o.call(c,s)?c[s]:void 0}t.exports=a}}),_R=M({"../../node_modules/lodash/_hashHas.js"(e,t){var r=Ns(),n=Object.prototype,i=n.hasOwnProperty;function o(a){var s=this.__data__;return r?s[a]!==void 0:i.call(s,a)}t.exports=o}}),TR=M({"../../node_modules/lodash/_hashSet.js"(e,t){var r=Ns(),n="__lodash_hash_undefined__";function i(o,a){var s=this.__data__;return this.size+=this.has(o)?0:1,s[o]=r&&a===void 0?n:a,this}t.exports=i}}),xR=M({"../../node_modules/lodash/_Hash.js"(e,t){var r=vR(),n=ER(),i=wR(),o=_R(),a=TR();function s(c){var l=-1,d=c==null?0:c.length;for(this.clear();++l<d;){var p=c[l];this.set(p[0],p[1])}}s.prototype.clear=r,s.prototype.delete=n,s.prototype.get=i,s.prototype.has=o,s.prototype.set=a,t.exports=s}}),SR=M({"../../node_modules/lodash/_mapCacheClear.js"(e,t){var r=xR(),n=Ps(),i=nd();function o(){this.size=0,this.__data__={hash:new r,map:new(i||n),string:new r}}t.exports=o}}),OR=M({"../../node_modules/lodash/_isKeyable.js"(e,t){function r(n){var i=typeof n;return i=="string"||i=="number"||i=="symbol"||i=="boolean"?n!=="__proto__":n===null}t.exports=r}}),ks=M({"../../node_modules/lodash/_getMapData.js"(e,t){var r=OR();function n(i,o){var a=i.__data__;return r(o)?a[typeof o=="string"?"string":"hash"]:a.map}t.exports=n}}),AR=M({"../../node_modules/lodash/_mapCacheDelete.js"(e,t){var r=ks();function n(i){var o=r(this,i).delete(i);return this.size-=o?1:0,o}t.exports=n}}),RR=M({"../../node_modules/lodash/_mapCacheGet.js"(e,t){var r=ks();function n(i){return r(this,i).get(i)}t.exports=n}}),CR=M({"../../node_modules/lodash/_mapCacheHas.js"(e,t){var r=ks();function n(i){return r(this,i).has(i)}t.exports=n}}),PR=M({"../../node_modules/lodash/_mapCacheSet.js"(e,t){var r=ks();function n(i,o){var a=r(this,i),s=a.size;return a.set(i,o),this.size+=a.size==s?0:1,this}t.exports=n}}),_g=M({"../../node_modules/lodash/_MapCache.js"(e,t){var r=SR(),n=AR(),i=RR(),o=CR(),a=PR();function s(c){var l=-1,d=c==null?0:c.length;for(this.clear();++l<d;){var p=c[l];this.set(p[0],p[1])}}s.prototype.clear=r,s.prototype.delete=n,s.prototype.get=i,s.prototype.has=o,s.prototype.set=a,t.exports=s}}),MR=M({"../../node_modules/lodash/_stackSet.js"(e,t){var r=Ps(),n=nd(),i=_g(),o=200;function a(s,c){var l=this.__data__;if(l instanceof r){var d=l.__data__;if(!n||d.length<o-1)return d.push([s,c]),this.size=++l.size,this;l=this.__data__=new i(d)}return l.set(s,c),this.size=l.size,this}t.exports=a}}),NR=M({"../../node_modules/lodash/_Stack.js"(e,t){var r=Ps(),n=uR(),i=cR(),o=dR(),a=pR(),s=MR();function c(l){var d=this.__data__=new r(l);this.size=d.size}c.prototype.clear=n,c.prototype.delete=i,c.prototype.get=o,c.prototype.has=a,c.prototype.set=s,t.exports=c}}),kR=M({"../../node_modules/lodash/_setCacheAdd.js"(e,t){var r="__lodash_hash_undefined__";function n(i){return this.__data__.set(i,r),this}t.exports=n}}),IR=M({"../../node_modules/lodash/_setCacheHas.js"(e,t){function r(n){return this.__data__.has(n)}t.exports=r}}),jR=M({"../../node_modules/lodash/_SetCache.js"(e,t){var r=_g(),n=kR(),i=IR();function o(a){var s=-1,c=a==null?0:a.length;for(this.__data__=new r;++s<c;)this.add(a[s])}o.prototype.add=o.prototype.push=n,o.prototype.has=i,t.exports=o}}),qR=M({"../../node_modules/lodash/_arraySome.js"(e,t){function r(n,i){for(var o=-1,a=n==null?0:n.length;++o<a;)if(i(n[o],o,n))return!0;return!1}t.exports=r}}),FR=M({"../../node_modules/lodash/_cacheHas.js"(e,t){function r(n,i){return n.has(i)}t.exports=r}}),Tg=M({"../../node_modules/lodash/_equalArrays.js"(e,t){var r=jR(),n=qR(),i=FR(),o=1,a=2;function s(c,l,d,p,f,m){var y=d&o,g=c.length,v=l.length;if(g!=v&&!(y&&v>g))return!1;var b=m.get(c),T=m.get(l);if(b&&T)return b==l&&T==c;var O=-1,R=!0,P=d&a?new r:void 0;for(m.set(c,l),m.set(l,c);++O<g;){var E=c[O],_=l[O];if(p)var x=y?p(_,E,O,l,c,m):p(E,_,O,c,l,m);if(x!==void 0){if(x)continue;R=!1;break}if(P){if(!n(l,function(S,L){if(!i(P,L)&&(E===S||f(E,S,d,p,m)))return P.push(L)})){R=!1;break}}else if(!(E===_||f(E,_,d,p,m))){R=!1;break}}return m.delete(c),m.delete(l),R}t.exports=s}}),DR=M({"../../node_modules/lodash/_Uint8Array.js"(e,t){var r=Or(),n=r.Uint8Array;t.exports=n}}),LR=M({"../../node_modules/lodash/_mapToArray.js"(e,t){function r(n){var i=-1,o=Array(n.size);return n.forEach(function(a,s){o[++i]=[s,a]}),o}t.exports=r}}),$R=M({"../../node_modules/lodash/_setToArray.js"(e,t){function r(n){var i=-1,o=Array(n.size);return n.forEach(function(a){o[++i]=a}),o}t.exports=r}}),BR=M({"../../node_modules/lodash/_equalByTag.js"(e,t){var r=rd(),n=DR(),i=gg(),o=Tg(),a=LR(),s=$R(),c=1,l=2,d="[object Boolean]",p="[object Date]",f="[object Error]",m="[object Map]",y="[object Number]",g="[object RegExp]",v="[object Set]",b="[object String]",T="[object Symbol]",O="[object ArrayBuffer]",R="[object DataView]",P=r?r.prototype:void 0,E=P?P.valueOf:void 0;function _(x,S,L,j,J,N,A){switch(L){case R:if(x.byteLength!=S.byteLength||x.byteOffset!=S.byteOffset)return!1;x=x.buffer,S=S.buffer;case O:return!(x.byteLength!=S.byteLength||!N(new n(x),new n(S)));case d:case p:case y:return i(+x,+S);case f:return x.name==S.name&&x.message==S.message;case g:case b:return x==S+"";case m:var q=a;case v:var $=j&c;if(q||(q=s),x.size!=S.size&&!$)return!1;var V=A.get(x);if(V)return V==S;j|=l,A.set(x,S);var Y=o(q(x),q(S),j,J,N,A);return A.delete(x),Y;case T:if(E)return E.call(x)==E.call(S)}return!1}t.exports=_}}),UR=M({"../../node_modules/lodash/_arrayPush.js"(e,t){function r(n,i){for(var o=-1,a=i.length,s=n.length;++o<a;)n[s+o]=i[o];return n}t.exports=r}}),id=M({"../../node_modules/lodash/isArray.js"(e,t){var r=Array.isArray;t.exports=r}}),HR=M({"../../node_modules/lodash/_baseGetAllKeys.js"(e,t){var r=UR(),n=id();function i(o,a,s){var c=a(o);return n(o)?c:r(c,s(o))}t.exports=i}}),JR=M({"../../node_modules/lodash/_arrayFilter.js"(e,t){function r(n,i){for(var o=-1,a=n==null?0:n.length,s=0,c=[];++o<a;){var l=n[o];i(l,o,n)&&(c[s++]=l)}return c}t.exports=r}}),VR=M({"../../node_modules/lodash/stubArray.js"(e,t){function r(){return[]}t.exports=r}}),zR=M({"../../node_modules/lodash/_getSymbols.js"(e,t){var r=JR(),n=VR(),i=Object.prototype,o=i.propertyIsEnumerable,a=Object.getOwnPropertySymbols,s=a?function(c){return c==null?[]:(c=Object(c),r(a(c),function(l){return o.call(c,l)}))}:n;t.exports=s}}),GR=M({"../../node_modules/lodash/_baseTimes.js"(e,t){function r(n,i){for(var o=-1,a=Array(n);++o<n;)a[o]=i(o);return a}t.exports=r}}),Is=M({"../../node_modules/lodash/isObjectLike.js"(e,t){function r(n){return n!=null&&typeof n=="object"}t.exports=r}}),WR=M({"../../node_modules/lodash/_baseIsArguments.js"(e,t){var r=Ms(),n=Is(),i="[object Arguments]";function o(a){return n(a)&&r(a)==i}t.exports=o}}),KR=M({"../../node_modules/lodash/isArguments.js"(e,t){var r=WR(),n=Is(),i=Object.prototype,o=i.hasOwnProperty,a=i.propertyIsEnumerable,s=r((function(){return arguments})())?r:function(c){return n(c)&&o.call(c,"callee")&&!a.call(c,"callee")};t.exports=s}}),YR=M({"../../node_modules/lodash/stubFalse.js"(e,t){function r(){return!1}t.exports=r}}),xg=M({"../../node_modules/lodash/isBuffer.js"(e,t){var r=Or(),n=YR(),i=typeof e=="object"&&e&&!e.nodeType&&e,o=i&&typeof t=="object"&&t&&!t.nodeType&&t,a=o&&o.exports===i,s=a?r.Buffer:void 0,c=s?s.isBuffer:void 0,l=c||n;t.exports=l}}),XR=M({"../../node_modules/lodash/_isIndex.js"(e,t){var r=9007199254740991,n=/^(?:0|[1-9]\d*)$/;function i(o,a){var s=typeof o;return a=a??r,!!a&&(s=="number"||s!="symbol"&&n.test(o))&&o>-1&&o%1==0&&o<a}t.exports=i}}),Sg=M({"../../node_modules/lodash/isLength.js"(e,t){var r=9007199254740991;function n(i){return typeof i=="number"&&i>-1&&i%1==0&&i<=r}t.exports=n}}),QR=M({"../../node_modules/lodash/_baseIsTypedArray.js"(e,t){var r=Ms(),n=Sg(),i=Is(),o="[object Arguments]",a="[object Array]",s="[object Boolean]",c="[object Date]",l="[object Error]",d="[object Function]",p="[object Map]",f="[object Number]",m="[object Object]",y="[object RegExp]",g="[object Set]",v="[object String]",b="[object WeakMap]",T="[object ArrayBuffer]",O="[object DataView]",R="[object Float32Array]",P="[object Float64Array]",E="[object Int8Array]",_="[object Int16Array]",x="[object Int32Array]",S="[object Uint8Array]",L="[object Uint8ClampedArray]",j="[object Uint16Array]",J="[object Uint32Array]",N={};N[R]=N[P]=N[E]=N[_]=N[x]=N[S]=N[L]=N[j]=N[J]=!0,N[o]=N[a]=N[T]=N[s]=N[O]=N[c]=N[l]=N[d]=N[p]=N[f]=N[m]=N[y]=N[g]=N[v]=N[b]=!1;function A(q){return i(q)&&n(q.length)&&!!N[r(q)]}t.exports=A}}),ZR=M({"../../node_modules/lodash/_baseUnary.js"(e,t){function r(n){return function(i){return n(i)}}t.exports=r}}),eC=M({"../../node_modules/lodash/_nodeUtil.js"(e,t){var r=bg(),n=typeof e=="object"&&e&&!e.nodeType&&e,i=n&&typeof t=="object"&&t&&!t.nodeType&&t,o=i&&i.exports===n,a=o&&r.process,s=(function(){try{var c=i&&i.require&&i.require("util").types;return c||a&&a.binding&&a.binding("util")}catch{}})();t.exports=s}}),Og=M({"../../node_modules/lodash/isTypedArray.js"(e,t){var r=QR(),n=ZR(),i=eC(),o=i&&i.isTypedArray,a=o?n(o):r;t.exports=a}}),tC=M({"../../node_modules/lodash/_arrayLikeKeys.js"(e,t){var r=GR(),n=KR(),i=id(),o=xg(),a=XR(),s=Og(),c=Object.prototype,l=c.hasOwnProperty;function d(p,f){var m=i(p),y=!m&&n(p),g=!m&&!y&&o(p),v=!m&&!y&&!g&&s(p),b=m||y||g||v,T=b?r(p.length,String):[],O=T.length;for(var R in p)(f||l.call(p,R))&&!(b&&(R=="length"||g&&(R=="offset"||R=="parent")||v&&(R=="buffer"||R=="byteLength"||R=="byteOffset")||a(R,O)))&&T.push(R);return T}t.exports=d}}),rC=M({"../../node_modules/lodash/_isPrototype.js"(e,t){var r=Object.prototype;function n(i){var o=i&&i.constructor,a=typeof o=="function"&&o.prototype||r;return i===a}t.exports=n}}),nC=M({"../../node_modules/lodash/_overArg.js"(e,t){function r(n,i){return function(o){return n(i(o))}}t.exports=r}}),iC=M({"../../node_modules/lodash/_nativeKeys.js"(e,t){var r=nC(),n=r(Object.keys,Object);t.exports=n}}),oC=M({"../../node_modules/lodash/_baseKeys.js"(e,t){var r=rC(),n=iC(),i=Object.prototype,o=i.hasOwnProperty;function a(s){if(!r(s))return n(s);var c=[];for(var l in Object(s))o.call(s,l)&&l!="constructor"&&c.push(l);return c}t.exports=a}}),aC=M({"../../node_modules/lodash/isArrayLike.js"(e,t){var r=Eg(),n=Sg();function i(o){return o!=null&&n(o.length)&&!r(o)}t.exports=i}}),sC=M({"../../node_modules/lodash/keys.js"(e,t){var r=tC(),n=oC(),i=aC();function o(a){return i(a)?r(a):n(a)}t.exports=o}}),lC=M({"../../node_modules/lodash/_getAllKeys.js"(e,t){var r=HR(),n=zR(),i=sC();function o(a){return r(a,i,n)}t.exports=o}}),uC=M({"../../node_modules/lodash/_equalObjects.js"(e,t){var r=lC(),n=1,i=Object.prototype,o=i.hasOwnProperty;function a(s,c,l,d,p,f){var m=l&n,y=r(s),g=y.length,v=r(c),b=v.length;if(g!=b&&!m)return!1;for(var T=g;T--;){var O=y[T];if(!(m?O in c:o.call(c,O)))return!1}var R=f.get(s),P=f.get(c);if(R&&P)return R==c&&P==s;var E=!0;f.set(s,c),f.set(c,s);for(var _=m;++T<g;){O=y[T];var x=s[O],S=c[O];if(d)var L=m?d(S,x,O,c,s,f):d(x,S,O,s,c,f);if(!(L===void 0?x===S||p(x,S,l,d,f):L)){E=!1;break}_||(_=O=="constructor")}if(E&&!_){var j=s.constructor,J=c.constructor;j!=J&&"constructor"in s&&"constructor"in c&&!(typeof j=="function"&&j instanceof j&&typeof J=="function"&&J instanceof J)&&(E=!1)}return f.delete(s),f.delete(c),E}t.exports=a}}),cC=M({"../../node_modules/lodash/_DataView.js"(e,t){var r=fi(),n=Or(),i=r(n,"DataView");t.exports=i}}),dC=M({"../../node_modules/lodash/_Promise.js"(e,t){var r=fi(),n=Or(),i=r(n,"Promise");t.exports=i}}),pC=M({"../../node_modules/lodash/_Set.js"(e,t){var r=fi(),n=Or(),i=r(n,"Set");t.exports=i}}),fC=M({"../../node_modules/lodash/_WeakMap.js"(e,t){var r=fi(),n=Or(),i=r(n,"WeakMap");t.exports=i}}),mC=M({"../../node_modules/lodash/_getTag.js"(e,t){var r=cC(),n=nd(),i=dC(),o=pC(),a=fC(),s=Ms(),c=wg(),l="[object Map]",d="[object Object]",p="[object Promise]",f="[object Set]",m="[object WeakMap]",y="[object DataView]",g=c(r),v=c(n),b=c(i),T=c(o),O=c(a),R=s;(r&&R(new r(new ArrayBuffer(1)))!=y||n&&R(new n)!=l||i&&R(i.resolve())!=p||o&&R(new o)!=f||a&&R(new a)!=m)&&(R=function(P){var E=s(P),_=E==d?P.constructor:void 0,x=_?c(_):"";if(x)switch(x){case g:return y;case v:return l;case b:return p;case T:return f;case O:return m}return E}),t.exports=R}}),hC=M({"../../node_modules/lodash/_baseIsEqualDeep.js"(e,t){var r=NR(),n=Tg(),i=BR(),o=uC(),a=mC(),s=id(),c=xg(),l=Og(),d=1,p="[object Arguments]",f="[object Array]",m="[object Object]",y=Object.prototype,g=y.hasOwnProperty;function v(b,T,O,R,P,E){var _=s(b),x=s(T),S=_?f:a(b),L=x?f:a(T);S=S==p?m:S,L=L==p?m:L;var j=S==m,J=L==m,N=S==L;if(N&&c(b)){if(!c(T))return!1;_=!0,j=!1}if(N&&!j)return E||(E=new r),_||l(b)?n(b,T,O,R,P,E):i(b,T,S,O,R,P,E);if(!(O&d)){var A=j&&g.call(b,"__wrapped__"),q=J&&g.call(T,"__wrapped__");if(A||q){var $=A?b.value():b,V=q?T.value():T;return E||(E=new r),P($,V,O,R,E)}}return N?(E||(E=new r),o(b,T,O,R,P,E)):!1}t.exports=v}}),yC=M({"../../node_modules/lodash/_baseIsEqual.js"(e,t){var r=hC(),n=Is();function i(o,a,s,c,l){return o===a?!0:o==null||a==null||!n(o)&&!n(a)?o!==o&&a!==a:r(o,a,s,c,i,l)}t.exports=i}}),Ag=M({"../../node_modules/lodash/isEqualWith.js"(e,t){var r=yC();function n(i,o,a){a=typeof a=="function"?a:void 0;var s=a?a(i,o):void 0;return s===void 0?r(i,o,void 0,a):!!s}t.exports=n}}),Rg=M({"../../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(i){if(arguments.length==0)throw new TypeError("`CSS.escape` requires an argument.");for(var o=String(i),a=o.length,s=-1,c,l="",d=o.charCodeAt(0);++s<a;){if(c=o.charCodeAt(s),c==0){l+="�";continue}if(c>=1&&c<=31||c==127||s==0&&c>=48&&c<=57||s==1&&c>=48&&c<=57&&d==45){l+="\\"+c.toString(16)+" ";continue}if(s==0&&a==1&&c==45){l+="\\"+o.charAt(s);continue}if(c>=128||c==45||c==95||c>=48&&c<=57||c>=65&&c<=90||c>=97&&c<=122){l+=o.charAt(s);continue}l+="\\"+o.charAt(s)}return l};return r.CSS||(r.CSS={}),r.CSS.escape=n,n})}}),Cg=M({"../../node_modules/@testing-library/dom/node_modules/ansi-styles/index.js"(e,t){var r=(o=0)=>a=>`\x1B[${38+o};5;${a}m`,n=(o=0)=>(a,s,c)=>`\x1B[${38+o};2;${a};${s};${c}m`;function i(){let o=new Map,a={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],overline:[53,55],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},color:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],blackBright:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39]},bgColor:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgBlackBright:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}};a.color.gray=a.color.blackBright,a.bgColor.bgGray=a.bgColor.bgBlackBright,a.color.grey=a.color.blackBright,a.bgColor.bgGrey=a.bgColor.bgBlackBright;for(let[s,c]of Object.entries(a)){for(let[l,d]of Object.entries(c))a[l]={open:`\x1B[${d[0]}m`,close:`\x1B[${d[1]}m`},c[l]=a[l],o.set(d[0],d[1]);Object.defineProperty(a,s,{value:c,enumerable:!1})}return Object.defineProperty(a,"codes",{value:o,enumerable:!1}),a.color.close="\x1B[39m",a.bgColor.close="\x1B[49m",a.color.ansi256=r(),a.color.ansi16m=n(),a.bgColor.ansi256=r(10),a.bgColor.ansi16m=n(10),Object.defineProperties(a,{rgbToAnsi256:{value:(s,c,l)=>s===c&&c===l?s<8?16:s>248?231:Math.round((s-8)/247*24)+232:16+36*Math.round(s/255*5)+6*Math.round(c/255*5)+Math.round(l/255*5),enumerable:!1},hexToRgb:{value:s=>{let c=/(?<colorString>[a-f\d]{6}|[a-f\d]{3})/i.exec(s.toString(16));if(!c)return[0,0,0];let{colorString:l}=c.groups;l.length===3&&(l=l.split("").map(p=>p+p).join(""));let d=Number.parseInt(l,16);return[d>>16&255,d>>8&255,d&255]},enumerable:!1},hexToAnsi256:{value:s=>a.rgbToAnsi256(...a.hexToRgb(s)),enumerable:!1}}),a}Object.defineProperty(t,"exports",{enumerable:!0,get:i})}}),js=M({"../../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=i,e.printObjectProperties=o;var t=(a,s)=>{let c=Object.keys(a).sort(s);return Object.getOwnPropertySymbols&&Object.getOwnPropertySymbols(a).forEach(l=>{Object.getOwnPropertyDescriptor(a,l).enumerable&&c.push(l)}),c};function r(a,s,c,l,d,p,f=": "){let m="",y=a.next();if(!y.done){m+=s.spacingOuter;let g=c+s.indent;for(;!y.done;){let v=p(y.value[0],s,g,l,d),b=p(y.value[1],s,g,l,d);m+=g+v+f+b,y=a.next(),y.done?s.min||(m+=","):m+=","+s.spacingInner}m+=s.spacingOuter+c}return m}function n(a,s,c,l,d,p){let f="",m=a.next();if(!m.done){f+=s.spacingOuter;let y=c+s.indent;for(;!m.done;)f+=y+p(m.value,s,y,l,d),m=a.next(),m.done?s.min||(f+=","):f+=","+s.spacingInner;f+=s.spacingOuter+c}return f}function i(a,s,c,l,d,p){let f="";if(a.length){f+=s.spacingOuter;let m=c+s.indent;for(let y=0;y<a.length;y++)f+=m,y in a&&(f+=p(a[y],s,m,l,d)),y<a.length-1?f+=","+s.spacingInner:s.min||(f+=",");f+=s.spacingOuter+c}return f}function o(a,s,c,l,d,p){let f="",m=t(a,s.compareKeys);if(m.length){f+=s.spacingOuter;let y=c+s.indent;for(let g=0;g<m.length;g++){let v=m[g],b=p(v,s,y,l,d),T=p(a[v],s,y,l,d);f+=y+b+": "+T,g<m.length-1?f+=","+s.spacingInner:s.min||(f+=",")}f+=s.spacingOuter+c}return f}}}),gC=M({"../../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=js(),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,i=typeof n=="function"&&n.for?n.for("jest.asymmetricMatcher"):1267621,o=" ",a=(d,p,f,m,y,g)=>{let v=d.toString();return v==="ArrayContaining"||v==="ArrayNotContaining"?++m>p.maxDepth?"["+v+"]":v+o+"["+(0,t.printListItems)(d.sample,p,f,m,y,g)+"]":v==="ObjectContaining"||v==="ObjectNotContaining"?++m>p.maxDepth?"["+v+"]":v+o+"{"+(0,t.printObjectProperties)(d.sample,p,f,m,y,g)+"}":v==="StringMatching"||v==="StringNotMatching"||v==="StringContaining"||v==="StringNotContaining"?v+o+g(d.sample,p,f,m,y):d.toAsymmetricMatcher()};e.serialize=a;var s=d=>d&&d.$$typeof===i;e.test=s;var c={serialize:a,test:s},l=c;e.default=l}}),bC=M({"../../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")}}}),vC=M({"../../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(bC()),r=n(Cg());function n(l){return l&&l.__esModule?l:{default:l}}var i=l=>l.replace((0,t.default)(),d=>{switch(d){case r.default.red.close:case r.default.green.close:case r.default.cyan.close:case r.default.gray.close:case r.default.white.close:case r.default.yellow.close:case r.default.bgRed.close:case r.default.bgGreen.close:case r.default.bgYellow.close:case r.default.inverse.close:case r.default.dim.close:case r.default.bold.close:case r.default.reset.open:case r.default.reset.close:return"</>";case r.default.red.open:return"<red>";case r.default.green.open:return"<green>";case r.default.cyan.open:return"<cyan>";case r.default.gray.open:return"<gray>";case r.default.white.open:return"<white>";case r.default.yellow.open:return"<yellow>";case r.default.bgRed.open:return"<bgRed>";case r.default.bgGreen.open:return"<bgGreen>";case r.default.bgYellow.open:return"<bgYellow>";case r.default.inverse.open:return"<inverse>";case r.default.dim.open:return"<dim>";case r.default.bold.open:return"<bold>";default:return""}}),o=l=>typeof l=="string"&&!!l.match((0,t.default)());e.test=o;var a=(l,d,p,f,m,y)=>y(i(l),d,p,f,m);e.serialize=a;var s={serialize:a,test:o},c=s;e.default=c}}),EC=M({"../../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=js(),r=" ",n=["DOMStringMap","NamedNodeMap"],i=/^(HTML\w*Collection|NodeList)$/,o=p=>n.indexOf(p)!==-1||i.test(p),a=p=>p&&p.constructor&&!!p.constructor.name&&o(p.constructor.name);e.test=a;var s=p=>p.constructor.name==="NamedNodeMap",c=(p,f,m,y,g,v)=>{let b=p.constructor.name;return++y>f.maxDepth?"["+b+"]":(f.min?"":b+r)+(n.indexOf(b)!==-1?"{"+(0,t.printObjectProperties)(s(p)?Array.from(p).reduce((T,O)=>(T[O.name]=O.value,T),{}):{...p},f,m,y,g,v)+"}":"["+(0,t.printListItems)(Array.from(p),f,m,y,g,v)+"]")};e.serialize=c;var l={serialize:c,test:a},d=l;e.default=d}}),wC=M({"../../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;")}}}),od=M({"../../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(wC());function r(l){return l&&l.__esModule?l:{default:l}}var n=(l,d,p,f,m,y,g)=>{let v=f+p.indent,b=p.colors;return l.map(T=>{let O=d[T],R=g(O,p,v,m,y);return typeof O!="string"&&(R.indexOf(`
14
+ `)!==-1&&(R=p.spacingOuter+v+R+p.spacingOuter+f),R="{"+R+"}"),p.spacingInner+f+b.prop.open+T+b.prop.close+"="+b.value.open+R+b.value.close}).join("")};e.printProps=n;var i=(l,d,p,f,m,y)=>l.map(g=>d.spacingOuter+p+(typeof g=="string"?o(g,d):y(g,d,p,f,m))).join("");e.printChildren=i;var o=(l,d)=>{let p=d.colors.content;return p.open+(0,t.default)(l)+p.close};e.printText=o;var a=(l,d)=>{let p=d.colors.comment;return p.open+"<!--"+(0,t.default)(l)+"-->"+p.close};e.printComment=a;var s=(l,d,p,f,m)=>{let y=f.colors.tag;return y.open+"<"+l+(d&&y.close+d+f.spacingOuter+m+y.open)+(p?">"+y.close+p+f.spacingOuter+m+y.open+"</"+l:(d&&!f.min?"":" ")+"/")+">"+y.close};e.printElement=s;var c=(l,d)=>{let p=d.colors.tag;return p.open+"<"+l+p.close+" …"+p.open+" />"+p.close};e.printElementAsLeaf=c}}),_C=M({"../../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=od(),r=1,n=3,i=8,o=11,a=/^((HTML|SVG)\w*)?Element$/,s=v=>{try{return typeof v.hasAttribute=="function"&&v.hasAttribute("is")}catch{return!1}},c=v=>{let b=v.constructor.name,{nodeType:T,tagName:O}=v,R=typeof O=="string"&&O.includes("-")||s(v);return T===r&&(a.test(b)||R)||T===n&&b==="Text"||T===i&&b==="Comment"||T===o&&b==="DocumentFragment"},l=v=>{var b;return(v==null||(b=v.constructor)===null||b===void 0?void 0:b.name)&&c(v)};e.test=l;function d(v){return v.nodeType===n}function p(v){return v.nodeType===i}function f(v){return v.nodeType===o}var m=(v,b,T,O,R,P)=>{if(d(v))return(0,t.printText)(v.data,b);if(p(v))return(0,t.printComment)(v.data,b);let E=f(v)?"DocumentFragment":v.tagName.toLowerCase();return++O>b.maxDepth?(0,t.printElementAsLeaf)(E,b):(0,t.printElement)(E,(0,t.printProps)(f(v)?[]:Array.from(v.attributes).map(_=>_.name).sort(),f(v)?{}:Array.from(v.attributes).reduce((_,x)=>(_[x.name]=x.value,_),{}),b,T+b.indent,O,R,P),(0,t.printChildren)(Array.prototype.slice.call(v.childNodes||v.children),b,T+b.indent,O,R,P),b,T)};e.serialize=m;var y={serialize:m,test:l},g=y;e.default=g}}),TC=M({"../../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=js(),r="@@__IMMUTABLE_ITERABLE__@@",n="@@__IMMUTABLE_LIST__@@",i="@@__IMMUTABLE_KEYED__@@",o="@@__IMMUTABLE_MAP__@@",a="@@__IMMUTABLE_ORDERED__@@",s="@@__IMMUTABLE_RECORD__@@",c="@@__IMMUTABLE_SEQ__@@",l="@@__IMMUTABLE_SET__@@",d="@@__IMMUTABLE_STACK__@@",p=x=>"Immutable."+x,f=x=>"["+x+"]",m=" ",y="…",g=(x,S,L,j,J,N,A)=>++j>S.maxDepth?f(p(A)):p(A)+m+"{"+(0,t.printIteratorEntries)(x.entries(),S,L,j,J,N)+"}";function v(x){let S=0;return{next(){if(S<x._keys.length){let L=x._keys[S++];return{done:!1,value:[L,x.get(L)]}}return{done:!0,value:void 0}}}}var b=(x,S,L,j,J,N)=>{let A=p(x._name||"Record");return++j>S.maxDepth?f(A):A+m+"{"+(0,t.printIteratorEntries)(v(x),S,L,j,J,N)+"}"},T=(x,S,L,j,J,N)=>{let A=p("Seq");return++j>S.maxDepth?f(A):x[i]?A+m+"{"+(x._iter||x._object?(0,t.printIteratorEntries)(x.entries(),S,L,j,J,N):y)+"}":A+m+"["+(x._iter||x._array||x._collection||x._iterable?(0,t.printIteratorValues)(x.values(),S,L,j,J,N):y)+"]"},O=(x,S,L,j,J,N,A)=>++j>S.maxDepth?f(p(A)):p(A)+m+"["+(0,t.printIteratorValues)(x.values(),S,L,j,J,N)+"]",R=(x,S,L,j,J,N)=>x[o]?g(x,S,L,j,J,N,x[a]?"OrderedMap":"Map"):x[n]?O(x,S,L,j,J,N,"List"):x[l]?O(x,S,L,j,J,N,x[a]?"OrderedSet":"Set"):x[d]?O(x,S,L,j,J,N,"Stack"):x[c]?T(x,S,L,j,J,N):b(x,S,L,j,J,N);e.serialize=R;var P=x=>x&&(x[r]===!0||x[s]===!0);e.test=P;var E={serialize:R,test:P},_=E;e.default=_}}),xC=M({"../../node_modules/@testing-library/dom/node_modules/react-is/cjs/react-is.production.min.js"(e){var t=60103,r=60106,n=60107,i=60108,o=60114,a=60109,s=60110,c=60112,l=60113,d=60120,p=60115,f=60116,m=60121,y=60122,g=60117,v=60129,b=60131;typeof Symbol=="function"&&Symbol.for&&(T=Symbol.for,t=T("react.element"),r=T("react.portal"),n=T("react.fragment"),i=T("react.strict_mode"),o=T("react.profiler"),a=T("react.provider"),s=T("react.context"),c=T("react.forward_ref"),l=T("react.suspense"),d=T("react.suspense_list"),p=T("react.memo"),f=T("react.lazy"),m=T("react.block"),y=T("react.server.block"),g=T("react.fundamental"),v=T("react.debug_trace_mode"),b=T("react.legacy_hidden"));var T;function O(A){if(typeof A=="object"&&A!==null){var q=A.$$typeof;switch(q){case t:switch(A=A.type,A){case n:case o:case i:case l:case d:return A;default:switch(A=A&&A.$$typeof,A){case s:case c:case f:case p:case a:return A;default:return q}}case r:return q}}}var R=a,P=t,E=c,_=n,x=f,S=p,L=r,j=o,J=i,N=l;e.ContextConsumer=s,e.ContextProvider=R,e.Element=P,e.ForwardRef=E,e.Fragment=_,e.Lazy=x,e.Memo=S,e.Portal=L,e.Profiler=j,e.StrictMode=J,e.Suspense=N,e.isAsyncMode=function(){return!1},e.isConcurrentMode=function(){return!1},e.isContextConsumer=function(A){return O(A)===s},e.isContextProvider=function(A){return O(A)===a},e.isElement=function(A){return typeof A=="object"&&A!==null&&A.$$typeof===t},e.isForwardRef=function(A){return O(A)===c},e.isFragment=function(A){return O(A)===n},e.isLazy=function(A){return O(A)===f},e.isMemo=function(A){return O(A)===p},e.isPortal=function(A){return O(A)===r},e.isProfiler=function(A){return O(A)===o},e.isStrictMode=function(A){return O(A)===i},e.isSuspense=function(A){return O(A)===l},e.isValidElementType=function(A){return typeof A=="string"||typeof A=="function"||A===n||A===o||A===v||A===i||A===l||A===d||A===b||typeof A=="object"&&A!==null&&(A.$$typeof===f||A.$$typeof===p||A.$$typeof===a||A.$$typeof===s||A.$$typeof===c||A.$$typeof===g||A.$$typeof===m||A[0]===y)},e.typeOf=O}}),SC=M({"../../node_modules/@testing-library/dom/node_modules/react-is/index.js"(e,t){t.exports=xC()}}),OC=M({"../../node_modules/@testing-library/dom/node_modules/pretty-format/build/plugins/ReactElement.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.test=e.serialize=e.default=void 0;var t=i(SC()),r=od();function n(f){if(typeof WeakMap!="function")return null;var m=new WeakMap,y=new WeakMap;return(n=function(g){return g?y:m})(f)}function i(f,m){if(f&&f.__esModule)return f;if(f===null||typeof f!="object"&&typeof f!="function")return{default:f};var y=n(m);if(y&&y.has(f))return y.get(f);var g={},v=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var b in f)if(b!=="default"&&Object.prototype.hasOwnProperty.call(f,b)){var T=v?Object.getOwnPropertyDescriptor(f,b):null;T&&(T.get||T.set)?Object.defineProperty(g,b,T):g[b]=f[b]}return g.default=f,y&&y.set(f,g),g}var o=(f,m=[])=>(Array.isArray(f)?f.forEach(y=>{o(y,m)}):f!=null&&f!==!1&&m.push(f),m),a=f=>{let m=f.type;if(typeof m=="string")return m;if(typeof m=="function")return m.displayName||m.name||"Unknown";if(t.isFragment(f))return"React.Fragment";if(t.isSuspense(f))return"React.Suspense";if(typeof m=="object"&&m!==null){if(t.isContextProvider(f))return"Context.Provider";if(t.isContextConsumer(f))return"Context.Consumer";if(t.isForwardRef(f)){if(m.displayName)return m.displayName;let y=m.render.displayName||m.render.name||"";return y!==""?"ForwardRef("+y+")":"ForwardRef"}if(t.isMemo(f)){let y=m.displayName||m.type.displayName||m.type.name||"";return y!==""?"Memo("+y+")":"Memo"}}return"UNDEFINED"},s=f=>{let{props:m}=f;return Object.keys(m).filter(y=>y!=="children"&&m[y]!==void 0).sort()},c=(f,m,y,g,v,b)=>++g>m.maxDepth?(0,r.printElementAsLeaf)(a(f),m):(0,r.printElement)(a(f),(0,r.printProps)(s(f),f.props,m,y+m.indent,g,v,b),(0,r.printChildren)(o(f.props.children),m,y+m.indent,g,v,b),m,y);e.serialize=c;var l=f=>f!=null&&t.isElement(f);e.test=l;var d={serialize:c,test:l},p=d;e.default=p}}),AC=M({"../../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=od(),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,i=typeof n=="function"&&n.for?n.for("react.test.json"):245830487,o=d=>{let{props:p}=d;return p?Object.keys(p).filter(f=>p[f]!==void 0).sort():[]},a=(d,p,f,m,y,g)=>++m>p.maxDepth?(0,t.printElementAsLeaf)(d.type,p):(0,t.printElement)(d.type,d.props?(0,t.printProps)(o(d),d.props,p,f+p.indent,m,y,g):"",d.children?(0,t.printChildren)(d.children,p,f+p.indent,m,y,g):"",p,f);e.serialize=a;var s=d=>d&&d.$$typeof===i;e.test=s;var c={serialize:a,test:s},l=c;e.default=l}}),RC=M({"../../node_modules/@testing-library/dom/node_modules/pretty-format/build/index.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.DEFAULT_OPTIONS=void 0,e.format=oe,e.plugins=void 0;var t=d(Cg()),r=js(),n=d(gC()),i=d(vC()),o=d(EC()),a=d(_C()),s=d(TC()),c=d(OC()),l=d(AC());function d(B){return B&&B.__esModule?B:{default:B}}var p=Object.prototype.toString,f=Date.prototype.toISOString,m=Error.prototype.toString,y=RegExp.prototype.toString,g=B=>typeof B.constructor=="function"&&B.constructor.name||"Object",v=B=>typeof window<"u"&&B===window,b=/^Symbol\((.*)\)(.*)$/,T=/\n/gi,O=class extends Error{constructor(B,te){super(B),this.stack=te,this.name=this.constructor.name}};function R(B){return B==="[object Array]"||B==="[object ArrayBuffer]"||B==="[object DataView]"||B==="[object Float32Array]"||B==="[object Float64Array]"||B==="[object Int8Array]"||B==="[object Int16Array]"||B==="[object Int32Array]"||B==="[object Uint8Array]"||B==="[object Uint8ClampedArray]"||B==="[object Uint16Array]"||B==="[object Uint32Array]"}function P(B){return Object.is(B,-0)?"-0":String(B)}function E(B){return`${B}n`}function _(B,te){return te?"[Function "+(B.name||"anonymous")+"]":"[Function]"}function x(B){return String(B).replace(b,"Symbol($1)")}function S(B){return"["+m.call(B)+"]"}function L(B,te,ne,ae){if(B===!0||B===!1)return""+B;if(B===void 0)return"undefined";if(B===null)return"null";let ce=typeof B;if(ce==="number")return P(B);if(ce==="bigint")return E(B);if(ce==="string")return ae?'"'+B.replace(/"|\\/g,"\\$&")+'"':'"'+B+'"';if(ce==="function")return _(B,te);if(ce==="symbol")return x(B);let de=p.call(B);return de==="[object WeakMap]"?"WeakMap {}":de==="[object WeakSet]"?"WeakSet {}":de==="[object Function]"||de==="[object GeneratorFunction]"?_(B,te):de==="[object Symbol]"?x(B):de==="[object Date]"?isNaN(+B)?"Date { NaN }":f.call(B):de==="[object Error]"?S(B):de==="[object RegExp]"?ne?y.call(B).replace(/[\\^$*+?.()|[\]{}]/g,"\\$&"):y.call(B):B instanceof Error?S(B):null}function j(B,te,ne,ae,ce,de){if(ce.indexOf(B)!==-1)return"[Circular]";ce=ce.slice(),ce.push(B);let ge=++ae>te.maxDepth,Ee=te.min;if(te.callToJSON&&!ge&&B.toJSON&&typeof B.toJSON=="function"&&!de)return q(B.toJSON(),te,ne,ae,ce,!0);let Ue=p.call(B);return Ue==="[object Arguments]"?ge?"[Arguments]":(Ee?"":"Arguments ")+"["+(0,r.printListItems)(B,te,ne,ae,ce,q)+"]":R(Ue)?ge?"["+B.constructor.name+"]":(Ee||!te.printBasicPrototype&&B.constructor.name==="Array"?"":B.constructor.name+" ")+"["+(0,r.printListItems)(B,te,ne,ae,ce,q)+"]":Ue==="[object Map]"?ge?"[Map]":"Map {"+(0,r.printIteratorEntries)(B.entries(),te,ne,ae,ce,q," => ")+"}":Ue==="[object Set]"?ge?"[Set]":"Set {"+(0,r.printIteratorValues)(B.values(),te,ne,ae,ce,q)+"}":ge||v(B)?"["+g(B)+"]":(Ee||!te.printBasicPrototype&&g(B)==="Object"?"":g(B)+" ")+"{"+(0,r.printObjectProperties)(B,te,ne,ae,ce,q)+"}"}function J(B){return B.serialize!=null}function N(B,te,ne,ae,ce,de){let ge;try{ge=J(B)?B.serialize(te,ne,ae,ce,de,q):B.print(te,Ee=>q(Ee,ne,ae,ce,de),Ee=>{let Ue=ae+ne.indent;return Ue+Ee.replace(T,`
15
+ `+Ue)},{edgeSpacing:ne.spacingOuter,min:ne.min,spacing:ne.spacingInner},ne.colors)}catch(Ee){throw new O(Ee.message,Ee.stack)}if(typeof ge!="string")throw new Error(`pretty-format: Plugin must return type "string" but instead returned "${typeof ge}".`);return ge}function A(B,te){for(let ne=0;ne<B.length;ne++)try{if(B[ne].test(te))return B[ne]}catch(ae){throw new O(ae.message,ae.stack)}return null}function q(B,te,ne,ae,ce,de){let ge=A(te.plugins,B);if(ge!==null)return N(ge,B,te,ne,ae,ce);let Ee=L(B,te.printFunctionName,te.escapeRegex,te.escapeString);return Ee!==null?Ee:j(B,te,ne,ae,ce,de)}var $={comment:"gray",content:"reset",prop:"yellow",tag:"cyan",value:"green"},V=Object.keys($),Y={callToJSON:!0,compareKeys:void 0,escapeRegex:!1,escapeString:!0,highlight:!1,indent:2,maxDepth:1/0,min:!1,plugins:[],printBasicPrototype:!0,printFunctionName:!0,theme:$};e.DEFAULT_OPTIONS=Y;function ie(B){if(Object.keys(B).forEach(te=>{if(!Y.hasOwnProperty(te))throw new Error(`pretty-format: Unknown option "${te}".`)}),B.min&&B.indent!==void 0&&B.indent!==0)throw new Error('pretty-format: Options "min" and "indent" cannot be used together.');if(B.theme!==void 0){if(B.theme===null)throw new Error('pretty-format: Option "theme" must not be null.');if(typeof B.theme!="object")throw new Error(`pretty-format: Option "theme" must be of type "object" but instead received "${typeof B.theme}".`)}}var ue=B=>V.reduce((te,ne)=>{let ae=B.theme&&B.theme[ne]!==void 0?B.theme[ne]:$[ne],ce=ae&&t.default[ae];if(ce&&typeof ce.close=="string"&&typeof ce.open=="string")te[ne]=ce;else throw new Error(`pretty-format: Option "theme" has a key "${ne}" whose value "${ae}" is undefined in ansi-styles.`);return te},Object.create(null)),F=()=>V.reduce((B,te)=>(B[te]={close:"",open:""},B),Object.create(null)),D=B=>B&&B.printFunctionName!==void 0?B.printFunctionName:Y.printFunctionName,G=B=>B&&B.escapeRegex!==void 0?B.escapeRegex:Y.escapeRegex,Q=B=>B&&B.escapeString!==void 0?B.escapeString:Y.escapeString,X=B=>{var te;return{callToJSON:B&&B.callToJSON!==void 0?B.callToJSON:Y.callToJSON,colors:B&&B.highlight?ue(B):F(),compareKeys:B&&typeof B.compareKeys=="function"?B.compareKeys:Y.compareKeys,escapeRegex:G(B),escapeString:Q(B),indent:B&&B.min?"":K(B&&B.indent!==void 0?B.indent:Y.indent),maxDepth:B&&B.maxDepth!==void 0?B.maxDepth:Y.maxDepth,min:B&&B.min!==void 0?B.min:Y.min,plugins:B&&B.plugins!==void 0?B.plugins:Y.plugins,printBasicPrototype:(te=B?.printBasicPrototype)!==null&&te!==void 0?te:!0,printFunctionName:D(B),spacingInner:B&&B.min?" ":`
16
+ `,spacingOuter:B&&B.min?"":`
17
+ `}};function K(B){return new Array(B+1).join(" ")}function oe(B,te){if(te&&(ie(te),te.plugins)){let ae=A(te.plugins,B);if(ae!==null)return N(ae,B,X(te),"",0,[])}let ne=L(B,D(te),G(te),Q(te));return ne!==null?ne:j(B,X(te),"",0,[])}var se={AsymmetricMatcher:n.default,ConvertAnsi:i.default,DOMCollection:o.default,DOMElement:a.default,Immutable:s.default,ReactElement:c.default,ReactTestComponent:l.default};e.plugins=se;var Te=oe;e.default=Te}}),CC=M({"../../node_modules/lz-string/libs/lz-string.js"(e,t){var r=(function(){var n=String.fromCharCode,i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+-$",a={};function s(l,d){if(!a[l]){a[l]={};for(var p=0;p<l.length;p++)a[l][l.charAt(p)]=p}return a[l][d]}var c={compressToBase64:function(l){if(l==null)return"";var d=c._compress(l,6,function(p){return i.charAt(p)});switch(d.length%4){default:case 0:return d;case 1:return d+"===";case 2:return d+"==";case 3:return d+"="}},decompressFromBase64:function(l){return l==null?"":l==""?null:c._decompress(l.length,32,function(d){return s(i,l.charAt(d))})},compressToUTF16:function(l){return l==null?"":c._compress(l,15,function(d){return n(d+32)})+" "},decompressFromUTF16:function(l){return l==null?"":l==""?null:c._decompress(l.length,16384,function(d){return l.charCodeAt(d)-32})},compressToUint8Array:function(l){for(var d=c.compress(l),p=new Uint8Array(d.length*2),f=0,m=d.length;f<m;f++){var y=d.charCodeAt(f);p[f*2]=y>>>8,p[f*2+1]=y%256}return p},decompressFromUint8Array:function(l){if(l==null)return c.decompress(l);for(var d=new Array(l.length/2),p=0,f=d.length;p<f;p++)d[p]=l[p*2]*256+l[p*2+1];var m=[];return d.forEach(function(y){m.push(n(y))}),c.decompress(m.join(""))},compressToEncodedURIComponent:function(l){return l==null?"":c._compress(l,6,function(d){return o.charAt(d)})},decompressFromEncodedURIComponent:function(l){return l==null?"":l==""?null:(l=l.replace(/ /g,"+"),c._decompress(l.length,32,function(d){return s(o,l.charAt(d))}))},compress:function(l){return c._compress(l,16,function(d){return n(d)})},_compress:function(l,d,p){if(l==null)return"";var f,m,y={},g={},v="",b="",T="",O=2,R=3,P=2,E=[],_=0,x=0,S;for(S=0;S<l.length;S+=1)if(v=l.charAt(S),Object.prototype.hasOwnProperty.call(y,v)||(y[v]=R++,g[v]=!0),b=T+v,Object.prototype.hasOwnProperty.call(y,b))T=b;else{if(Object.prototype.hasOwnProperty.call(g,T)){if(T.charCodeAt(0)<256){for(f=0;f<P;f++)_=_<<1,x==d-1?(x=0,E.push(p(_)),_=0):x++;for(m=T.charCodeAt(0),f=0;f<8;f++)_=_<<1|m&1,x==d-1?(x=0,E.push(p(_)),_=0):x++,m=m>>1}else{for(m=1,f=0;f<P;f++)_=_<<1|m,x==d-1?(x=0,E.push(p(_)),_=0):x++,m=0;for(m=T.charCodeAt(0),f=0;f<16;f++)_=_<<1|m&1,x==d-1?(x=0,E.push(p(_)),_=0):x++,m=m>>1}O--,O==0&&(O=Math.pow(2,P),P++),delete g[T]}else for(m=y[T],f=0;f<P;f++)_=_<<1|m&1,x==d-1?(x=0,E.push(p(_)),_=0):x++,m=m>>1;O--,O==0&&(O=Math.pow(2,P),P++),y[b]=R++,T=String(v)}if(T!==""){if(Object.prototype.hasOwnProperty.call(g,T)){if(T.charCodeAt(0)<256){for(f=0;f<P;f++)_=_<<1,x==d-1?(x=0,E.push(p(_)),_=0):x++;for(m=T.charCodeAt(0),f=0;f<8;f++)_=_<<1|m&1,x==d-1?(x=0,E.push(p(_)),_=0):x++,m=m>>1}else{for(m=1,f=0;f<P;f++)_=_<<1|m,x==d-1?(x=0,E.push(p(_)),_=0):x++,m=0;for(m=T.charCodeAt(0),f=0;f<16;f++)_=_<<1|m&1,x==d-1?(x=0,E.push(p(_)),_=0):x++,m=m>>1}O--,O==0&&(O=Math.pow(2,P),P++),delete g[T]}else for(m=y[T],f=0;f<P;f++)_=_<<1|m&1,x==d-1?(x=0,E.push(p(_)),_=0):x++,m=m>>1;O--,O==0&&(O=Math.pow(2,P),P++)}for(m=2,f=0;f<P;f++)_=_<<1|m&1,x==d-1?(x=0,E.push(p(_)),_=0):x++,m=m>>1;for(;;)if(_=_<<1,x==d-1){E.push(p(_));break}else x++;return E.join("")},decompress:function(l){return l==null?"":l==""?null:c._decompress(l.length,32768,function(d){return l.charCodeAt(d)})},_decompress:function(l,d,p){var f=[],m=4,y=4,g=3,v="",b=[],T,O,R,P,E,_,x,S={val:p(0),position:d,index:1};for(T=0;T<3;T+=1)f[T]=T;for(R=0,E=Math.pow(2,2),_=1;_!=E;)P=S.val&S.position,S.position>>=1,S.position==0&&(S.position=d,S.val=p(S.index++)),R|=(P>0?1:0)*_,_<<=1;switch(R){case 0:for(R=0,E=Math.pow(2,8),_=1;_!=E;)P=S.val&S.position,S.position>>=1,S.position==0&&(S.position=d,S.val=p(S.index++)),R|=(P>0?1:0)*_,_<<=1;x=n(R);break;case 1:for(R=0,E=Math.pow(2,16),_=1;_!=E;)P=S.val&S.position,S.position>>=1,S.position==0&&(S.position=d,S.val=p(S.index++)),R|=(P>0?1:0)*_,_<<=1;x=n(R);break;case 2:return""}for(f[3]=x,O=x,b.push(x);;){if(S.index>l)return"";for(R=0,E=Math.pow(2,g),_=1;_!=E;)P=S.val&S.position,S.position>>=1,S.position==0&&(S.position=d,S.val=p(S.index++)),R|=(P>0?1:0)*_,_<<=1;switch(x=R){case 0:for(R=0,E=Math.pow(2,8),_=1;_!=E;)P=S.val&S.position,S.position>>=1,S.position==0&&(S.position=d,S.val=p(S.index++)),R|=(P>0?1:0)*_,_<<=1;f[y++]=n(R),x=y-1,m--;break;case 1:for(R=0,E=Math.pow(2,16),_=1;_!=E;)P=S.val&S.position,S.position>>=1,S.position==0&&(S.position=d,S.val=p(S.index++)),R|=(P>0?1:0)*_,_<<=1;f[y++]=n(R),x=y-1,m--;break;case 2:return b.join("")}if(m==0&&(m=Math.pow(2,g),g++),f[x])v=f[x];else if(x===y)v=O+O.charAt(0);else return null;b.push(v),f[y++]=O+v.charAt(0),m--,O=v,m==0&&(m=Math.pow(2,g),g++)}}};return c})();typeof define=="function"&&define.amd?define(function(){return r}):typeof t<"u"&&t!=null?t.exports=r:typeof angular<"u"&&angular!=null&&angular.module("LZString",[]).factory("LZString",function(){return r})}}),Pg=M({"../../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,i,o){function a(l,d){if(!i[l]){if(!n[l]){var p=typeof ca=="function"&&ca;if(!d&&p)return p(l,!0);if(s)return s(l,!0);var f=new Error("Cannot find module '"+l+"'");throw f.code="MODULE_NOT_FOUND",f}var m=i[l]={exports:{}};n[l][0].call(m.exports,function(y){var g=n[l][1][y];return a(g||y)},m,m.exports,r,n,i,o)}return i[l].exports}for(var s=typeof ca=="function"&&ca,c=0;c<o.length;c++)a(o[c]);return a})({1:[function(r,n,i){n.exports=function(o){if(typeof Map!="function"||o){var a=r("./similar");return new a}else return new Map}},{"./similar":2}],2:[function(r,n,i){function o(){return this.list=[],this.lastItem=void 0,this.size=0,this}o.prototype.get=function(a){var s;if(this.lastItem&&this.isEqual(this.lastItem.key,a))return this.lastItem.val;if(s=this.indexOf(a),s>=0)return this.lastItem=this.list[s],this.list[s].val},o.prototype.set=function(a,s){var c;return this.lastItem&&this.isEqual(this.lastItem.key,a)?(this.lastItem.val=s,this):(c=this.indexOf(a),c>=0?(this.lastItem=this.list[c],this.list[c].val=s,this):(this.lastItem={key:a,val:s},this.list.push(this.lastItem),this.size++,this))},o.prototype.delete=function(a){var s;if(this.lastItem&&this.isEqual(this.lastItem.key,a)&&(this.lastItem=void 0),s=this.indexOf(a),s>=0)return this.size--,this.list.splice(s,1)[0]},o.prototype.has=function(a){var s;return this.lastItem&&this.isEqual(this.lastItem.key,a)?!0:(s=this.indexOf(a),s>=0?(this.lastItem=this.list[s],!0):!1)},o.prototype.forEach=function(a,s){var c;for(c=0;c<this.size;c++)a.call(s||this,this.list[c].val,this.list[c].key,this)},o.prototype.indexOf=function(a){var s;for(s=0;s<this.size;s++)if(this.isEqual(this.list[s].key,a))return s;return-1},o.prototype.isEqual=function(a,s){return a===s||a!==a&&s!==s},n.exports=o},{}],3:[function(r,n,i){var o=r("map-or-similar");n.exports=function(l){var d=new o(!1),p=[];return function(f){var m=function(){var y=d,g,v,b=arguments.length-1,T=Array(b+1),O=!0,R;if((m.numArgs||m.numArgs===0)&&m.numArgs!==b+1)throw new Error("Memoizerific functions should always be called with the same number of arguments");for(R=0;R<b;R++){if(T[R]={cacheItem:y,arg:arguments[R]},y.has(arguments[R])){y=y.get(arguments[R]);continue}O=!1,g=new o(!1),y.set(arguments[R],g),y=g}return O&&(y.has(arguments[b])?v=y.get(arguments[b]):O=!1),O||(v=f.apply(null,arguments),y.set(arguments[b],v)),l>0&&(T[b]={cacheItem:y,arg:arguments[b]},O?a(p,T):p.push(T),p.length>l&&s(p.shift())),m.wasMemoized=O,m.numArgs=b+1,v};return m.limit=l,m.wasMemoized=!1,m.cache=d,m.lru=p,m}};function a(l,d){var p=l.length,f=d.length,m,y,g;for(y=0;y<p;y++){for(m=!0,g=0;g<f;g++)if(!c(l[y][g].arg,d[g].arg)){m=!1;break}if(m)break}l.push(l.splice(y,1)[0])}function s(l){var d=l.length,p=l[d-1],f,m;for(p.cacheItem.delete(p.arg),m=d-2;m>=0&&(p=l[m],f=p.cacheItem.get(p.arg),!f||!f.size);m--)p.cacheItem.delete(p.arg)}function c(l,d){return l===d||l!==l&&d!==d}},{"map-or-similar":1}]},{},[3])(3)})}}),Mg=M({"../../node_modules/picoquery/lib/string-util.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.encodeString=n;var t=Array.from({length:256},(i,o)=>"%"+((o<16?"0":"")+o.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(i){let o=i.length;if(o===0)return"";let a="",s=0,c=0;e:for(;c<o;c++){let l=i.charCodeAt(c);for(;l<128;){if(r[l]!==1&&(s<c&&(a+=i.slice(s,c)),s=c+1,a+=t[l]),++c===o)break e;l=i.charCodeAt(c)}if(s<c&&(a+=i.slice(s,c)),l<2048){s=c+1,a+=t[192|l>>6]+t[128|l&63];continue}if(l<55296||l>=57344){s=c+1,a+=t[224|l>>12]+t[128|l>>6&63]+t[128|l&63];continue}if(++c,c>=o)throw new Error("URI malformed");let d=i.charCodeAt(c)&1023;s=c+1,l=65536+((l&1023)<<10|d),a+=t[240|l>>18]+t[128|l>>12&63]+t[128|l>>6&63]+t[128|l&63]}return s===0?i:s<o?a+i.slice(s):a}}}),ad=M({"../../node_modules/picoquery/lib/shared.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.defaultOptions=e.defaultShouldSerializeObject=e.defaultValueSerializer=void 0;var t=Mg(),r=o=>{switch(typeof o){case"string":return(0,t.encodeString)(o);case"bigint":case"boolean":return""+o;case"number":if(Number.isFinite(o))return o<1e21?""+o:(0,t.encodeString)(""+o);break}return o instanceof Date?(0,t.encodeString)(o.toISOString()):""};e.defaultValueSerializer=r;var n=o=>o instanceof Date;e.defaultShouldSerializeObject=n;var i=o=>o;e.defaultOptions={nesting:!0,nestingSyntax:"dot",arrayRepeat:!1,arrayRepeatSyntax:"repeat",delimiter:38,valueDeserializer:i,valueSerializer:e.defaultValueSerializer,keyDeserializer:i,shouldSerializeObject:e.defaultShouldSerializeObject}}}),Ng=M({"../../node_modules/picoquery/lib/object-util.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.getDeepObject=i,e.stringifyObject=d;var t=ad(),r=Mg();function n(p){return p==="__proto__"||p==="constructor"||p==="prototype"}function i(p,f,m,y,g){if(n(f))return p;let v=p[f];return typeof v=="object"&&v!==null?v:!y&&(g||typeof m=="number"||typeof m=="string"&&m*0===0&&m.indexOf(".")===-1)?p[f]=[]:p[f]={}}var o=20,a="[]",s="[",c="]",l=".";function d(p,f,m=0,y,g){let{nestingSyntax:v=t.defaultOptions.nestingSyntax,arrayRepeat:b=t.defaultOptions.arrayRepeat,arrayRepeatSyntax:T=t.defaultOptions.arrayRepeatSyntax,nesting:O=t.defaultOptions.nesting,delimiter:R=t.defaultOptions.delimiter,valueSerializer:P=t.defaultOptions.valueSerializer,shouldSerializeObject:E=t.defaultOptions.shouldSerializeObject}=f,_=typeof R=="number"?String.fromCharCode(R):R,x=g===!0&&b,S=v==="dot"||v==="js"&&!g;if(m>o)return"";let L="",j=!0,J=!1;for(let N in p){let A=p[N];if(A===void 0)continue;let q;y?(q=y,x?T==="bracket"&&(q+=a):S?(q+=l,q+=N):(q+=s,q+=N,q+=c)):q=N,j||(L+=_),typeof A=="object"&&A!==null&&!E(A)?(J=A.pop!==void 0,(O||b&&J)&&(L+=d(A,f,m+1,q,J))):(L+=(0,r.encodeString)(q),L+="=",L+=P(A,N)),j&&(j=!1)}return L}}}),PC=M({"../../node_modules/picoquery/lib/decode-uri-component.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.decodeURIComponent=i;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 i(s){let c=s.indexOf("%");if(c===-1)return s;let l=s.length,d="",p=0,f=0,m=c,y=t;for(;c>-1&&c<l;){let g=a(s[c+1],4),v=a(s[c+2],0),b=g|v,T=n[b];if(y=n[256+y+T],f=f<<6|b&n[364+T],y===t)d+=s.slice(p,m),d+=f<=65535?String.fromCharCode(f):String.fromCharCode(55232+(f>>10),56320+(f&1023)),f=0,p=c+3,c=m=s.indexOf("%",p);else{if(y===r)return null;if(c+=3,c<l&&s.charCodeAt(c)===37)continue;return null}}return d+s.slice(p)}var o={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,a:10,A:10,b:11,B:11,c:12,C:12,d:13,D:13,e:14,E:14,f:15,F:15};function a(s,c){let l=o[s];return l===void 0?255:l<<c}}}),MC=M({"../../node_modules/picoquery/lib/parse.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.numberValueDeserializer=e.numberKeyDeserializer=void 0,e.parse=l;var t=Ng(),r=ad(),n=PC(),i=d=>{let p=Number(d);return Number.isNaN(p)?d:p};e.numberKeyDeserializer=i;var o=d=>{let p=Number(d);return Number.isNaN(p)?d:p};e.numberValueDeserializer=o;var a=/\+/g,s=function(){};s.prototype=Object.create(null);function c(d,p,f,m,y){let g=d.substring(p,f);return m&&(g=g.replace(a," ")),y&&(g=(0,n.decodeURIComponent)(g)||g),g}function l(d,p){let{valueDeserializer:f=r.defaultOptions.valueDeserializer,keyDeserializer:m=r.defaultOptions.keyDeserializer,arrayRepeatSyntax:y=r.defaultOptions.arrayRepeatSyntax,nesting:g=r.defaultOptions.nesting,arrayRepeat:v=r.defaultOptions.arrayRepeat,nestingSyntax:b=r.defaultOptions.nestingSyntax,delimiter:T=r.defaultOptions.delimiter}=p??{},O=typeof T=="string"?T.charCodeAt(0):T,R=b==="js",P=new s;if(typeof d!="string")return P;let E=d.length,_="",x=-1,S=-1,L=-1,j=P,J,N="",A="",q=!1,$=!1,V=!1,Y=!1,ie=!1,ue=!1,F=0,D=-1,G=-1,Q=-1;for(let X=0;X<E+1;X++){if(F=X!==E?d.charCodeAt(X):O,F===O){if(ue=S>x,ue||(S=X),L!==S-1&&(A=c(d,L+1,D>-1?D:S,V,q),N=m(A),J!==void 0&&(j=(0,t.getDeepObject)(j,J,N,R&&ie,void 0))),ue||N!==""){ue&&(_=d.slice(S+1,X),Y&&(_=_.replace(a," ")),$&&(_=(0,n.decodeURIComponent)(_)||_));let K=f(_,N);if(v){let oe=j[N];oe===void 0?D>-1?j[N]=[K]:j[N]=K:oe.pop?oe.push(K):j[N]=[oe,K]}else j[N]=K}_="",x=X,S=X,q=!1,$=!1,V=!1,Y=!1,ie=!1,D=-1,L=X,j=P,J=void 0,N=""}else F===93?(v&&y==="bracket"&&Q===91&&(D=G),g&&(b==="index"||R)&&S<=x&&(L!==G&&(A=c(d,L+1,X,V,q),N=m(A),J!==void 0&&(j=(0,t.getDeepObject)(j,J,N,void 0,void 0)),J=N,V=!1,q=!1),L=X,ie=!1)):F===46?g&&(b==="dot"||R)&&S<=x&&(L!==G&&(A=c(d,L+1,X,V,q),N=m(A),J!==void 0&&(j=(0,t.getDeepObject)(j,J,N,R)),J=N,V=!1,q=!1),ie=!0,L=X):F===91?g&&(b==="index"||R)&&S<=x&&(L!==G&&(A=c(d,L+1,X,V,q),N=m(A),R&&J!==void 0&&(j=(0,t.getDeepObject)(j,J,N,R)),J=N,V=!1,q=!1,ie=!1),L=X):F===61?S<=x?S=X:$=!0:F===43?S>x?Y=!0:V=!0:F===37&&(S>x?$=!0:q=!0);G=X,Q=F}return P}}}),NC=M({"../../node_modules/picoquery/lib/stringify.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.stringify=r;var t=Ng();function r(n,i){if(n===null||typeof n!="object")return"";let o=i??{};return(0,t.stringifyObject)(n,o)}}}),sd=M({"../../node_modules/picoquery/lib/main.js"(e){var t=e&&e.__createBinding||(Object.create?(function(o,a,s,c){c===void 0&&(c=s);var l=Object.getOwnPropertyDescriptor(a,s);(!l||("get"in l?!a.__esModule:l.writable||l.configurable))&&(l={enumerable:!0,get:function(){return a[s]}}),Object.defineProperty(o,c,l)}):(function(o,a,s,c){c===void 0&&(c=s),o[c]=a[s]})),r=e&&e.__exportStar||function(o,a){for(var s in o)s!=="default"&&!Object.prototype.hasOwnProperty.call(a,s)&&t(a,o,s)};Object.defineProperty(e,"__esModule",{value:!0}),e.stringify=e.parse=void 0;var n=MC();Object.defineProperty(e,"parse",{enumerable:!0,get:function(){return n.parse}});var i=NC();Object.defineProperty(e,"stringify",{enumerable:!0,get:function(){return i.stringify}}),r(ad(),e)}}),kg=M({"../../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:"‌"}}}),kC=M({"../../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:"ÿ"}}}),Ig=M({"../../node_modules/entities/lib/maps/xml.json"(e,t){t.exports={amp:"&",apos:"'",gt:">",lt:"<",quot:'"'}}}),IC=M({"../../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}}}),jC=M({"../../node_modules/entities/lib/decode_codepoint.js"(e){var t=e&&e.__importDefault||function(o){return o&&o.__esModule?o:{default:o}};Object.defineProperty(e,"__esModule",{value:!0});var r=t(IC()),n=String.fromCodePoint||function(o){var a="";return o>65535&&(o-=65536,a+=String.fromCharCode(o>>>10&1023|55296),o=56320|o&1023),a+=String.fromCharCode(o),a};function i(o){return o>=55296&&o<=57343||o>1114111?"�":(o in r.default&&(o=r.default[o]),n(o))}e.default=i}}),Af=M({"../../node_modules/entities/lib/decode.js"(e){var t=e&&e.__importDefault||function(d){return d&&d.__esModule?d:{default:d}};Object.defineProperty(e,"__esModule",{value:!0}),e.decodeHTML=e.decodeHTMLStrict=e.decodeXML=void 0;var r=t(kg()),n=t(kC()),i=t(Ig()),o=t(jC()),a=/&(?:[a-zA-Z0-9]+|#[xX][\da-fA-F]+|#\d+);/g;e.decodeXML=s(i.default),e.decodeHTMLStrict=s(r.default);function s(d){var p=l(d);return function(f){return String(f).replace(a,p)}}var c=function(d,p){return d<p?1:-1};e.decodeHTML=(function(){for(var d=Object.keys(n.default).sort(c),p=Object.keys(r.default).sort(c),f=0,m=0;f<p.length;f++)d[m]===p[f]?(p[f]+=";?",m++):p[f]+=";";var y=new RegExp("&(?:"+p.join("|")+"|#[xX][\\da-fA-F]+;?|#\\d+;?)","g"),g=l(r.default);function v(b){return b.substr(-1)!==";"&&(b+=";"),g(b)}return function(b){return String(b).replace(y,v)}})();function l(d){return function(p){if(p.charAt(1)==="#"){var f=p.charAt(2);return f==="X"||f==="x"?o.default(parseInt(p.substr(3),16)):o.default(parseInt(p.substr(2),10))}return d[p.slice(1,-1)]||p}}}}),Rf=M({"../../node_modules/entities/lib/encode.js"(e){var t=e&&e.__importDefault||function(T){return T&&T.__esModule?T:{default:T}};Object.defineProperty(e,"__esModule",{value:!0}),e.escapeUTF8=e.escape=e.encodeNonAsciiHTML=e.encodeHTML=e.encodeXML=void 0;var r=t(Ig()),n=c(r.default),i=l(n);e.encodeXML=b(n);var o=t(kg()),a=c(o.default),s=l(a);e.encodeHTML=m(a,s),e.encodeNonAsciiHTML=b(a);function c(T){return Object.keys(T).sort().reduce(function(O,R){return O[T[R]]="&"+R+";",O},{})}function l(T){for(var O=[],R=[],P=0,E=Object.keys(T);P<E.length;P++){var _=E[P];_.length===1?O.push("\\"+_):R.push(_)}O.sort();for(var x=0;x<O.length-1;x++){for(var S=x;S<O.length-1&&O[S].charCodeAt(1)+1===O[S+1].charCodeAt(1);)S+=1;var L=1+S-x;L<3||O.splice(x,L,O[x]+"-"+O[S])}return R.unshift("["+O.join("")+"]"),new RegExp(R.join("|"),"g")}var d=/(?:[\x80-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])/g,p=String.prototype.codePointAt!=null?(function(T){return T.codePointAt(0)}):(function(T){return(T.charCodeAt(0)-55296)*1024+T.charCodeAt(1)-56320+65536});function f(T){return"&#x"+(T.length>1?p(T):T.charCodeAt(0)).toString(16).toUpperCase()+";"}function m(T,O){return function(R){return R.replace(O,function(P){return T[P]}).replace(d,f)}}var y=new RegExp(i.source+"|"+d.source,"g");function g(T){return T.replace(y,f)}e.escape=g;function v(T){return T.replace(i,f)}e.escapeUTF8=v;function b(T){return function(O){return O.replace(y,function(R){return T[R]||f(R)})}}}}),qC=M({"../../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=Af(),r=Rf();function n(c,l){return(!l||l<=0?t.decodeXML:t.decodeHTML)(c)}e.decode=n;function i(c,l){return(!l||l<=0?t.decodeXML:t.decodeHTMLStrict)(c)}e.decodeStrict=i;function o(c,l){return(!l||l<=0?r.encodeXML:r.encodeHTML)(c)}e.encode=o;var a=Rf();Object.defineProperty(e,"encodeXML",{enumerable:!0,get:function(){return a.encodeXML}}),Object.defineProperty(e,"encodeHTML",{enumerable:!0,get:function(){return a.encodeHTML}}),Object.defineProperty(e,"encodeNonAsciiHTML",{enumerable:!0,get:function(){return a.encodeNonAsciiHTML}}),Object.defineProperty(e,"escape",{enumerable:!0,get:function(){return a.escape}}),Object.defineProperty(e,"escapeUTF8",{enumerable:!0,get:function(){return a.escapeUTF8}}),Object.defineProperty(e,"encodeHTML4",{enumerable:!0,get:function(){return a.encodeHTML}}),Object.defineProperty(e,"encodeHTML5",{enumerable:!0,get:function(){return a.encodeHTML}});var s=Af();Object.defineProperty(e,"decodeXML",{enumerable:!0,get:function(){return s.decodeXML}}),Object.defineProperty(e,"decodeHTML",{enumerable:!0,get:function(){return s.decodeHTML}}),Object.defineProperty(e,"decodeHTMLStrict",{enumerable:!0,get:function(){return s.decodeHTMLStrict}}),Object.defineProperty(e,"decodeHTML4",{enumerable:!0,get:function(){return s.decodeHTML}}),Object.defineProperty(e,"decodeHTML5",{enumerable:!0,get:function(){return s.decodeHTML}}),Object.defineProperty(e,"decodeHTML4Strict",{enumerable:!0,get:function(){return s.decodeHTMLStrict}}),Object.defineProperty(e,"decodeHTML5Strict",{enumerable:!0,get:function(){return s.decodeHTMLStrict}}),Object.defineProperty(e,"decodeXMLStrict",{enumerable:!0,get:function(){return s.decodeXML}})}}),FC=M({"../../node_modules/ansi-to-html/lib/ansi_to_html.js"(e,t){function r(A,q){if(!(A instanceof q))throw new TypeError("Cannot call a class as a function")}function n(A,q){for(var $=0;$<q.length;$++){var V=q[$];V.enumerable=V.enumerable||!1,V.configurable=!0,"value"in V&&(V.writable=!0),Object.defineProperty(A,V.key,V)}}function i(A,q,$){return q&&n(A.prototype,q),A}function o(A,q){var $=typeof Symbol<"u"&&A[Symbol.iterator]||A["@@iterator"];if(!$){if(Array.isArray(A)||($=a(A))||q){$&&(A=$);var V=0,Y=function(){};return{s:Y,n:function(){return V>=A.length?{done:!0}:{done:!1,value:A[V++]}},e:function(D){throw D},f:Y}}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,ue=!1,F;return{s:function(){$=$.call(A)},n:function(){var D=$.next();return ie=D.done,D},e:function(D){ue=!0,F=D},f:function(){try{!ie&&$.return!=null&&$.return()}finally{if(ue)throw F}}}}function a(A,q){if(A){if(typeof A=="string")return s(A,q);var $=Object.prototype.toString.call(A).slice(8,-1);if($==="Object"&&A.constructor&&($=A.constructor.name),$==="Map"||$==="Set")return Array.from(A);if($==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test($))return s(A,q)}}function s(A,q){(q==null||q>A.length)&&(q=A.length);for(var $=0,V=new Array(q);$<q;$++)V[$]=A[$];return V}var c=qC(),l={fg:"#FFF",bg:"#000",newline:!1,escapeXML:!1,stream:!1,colors:d()};function d(){var A={0:"#000",1:"#A00",2:"#0A0",3:"#A50",4:"#00A",5:"#A0A",6:"#0AA",7:"#AAA",8:"#555",9:"#F55",10:"#5F5",11:"#FF5",12:"#55F",13:"#F5F",14:"#5FF",15:"#FFF"};return T(0,5).forEach(function(q){T(0,5).forEach(function($){T(0,5).forEach(function(V){return p(q,$,V,A)})})}),T(0,23).forEach(function(q){var $=q+232,V=f(q*10+8);A[$]="#"+V+V+V}),A}function p(A,q,$,V){var Y=16+A*36+q*6+$,ie=A>0?A*40+55:0,ue=q>0?q*40+55:0,F=$>0?$*40+55:0;V[Y]=m([ie,ue,F])}function f(A){for(var q=A.toString(16);q.length<2;)q="0"+q;return q}function m(A){var q=[],$=o(A),V;try{for($.s();!(V=$.n()).done;){var Y=V.value;q.push(f(Y))}}catch(ie){$.e(ie)}finally{$.f()}return"#"+q.join("")}function y(A,q,$,V){var Y;return q==="text"?Y=P($,V):q==="display"?Y=v(A,$,V):q==="xterm256Foreground"?Y=x(A,V.colors[$]):q==="xterm256Background"?Y=S(A,V.colors[$]):q==="rgb"&&(Y=g(A,$)),Y}function g(A,q){q=q.substring(2).slice(0,-1);var $=+q.substr(0,2),V=q.substring(5).split(";"),Y=V.map(function(ie){return("0"+Number(ie).toString(16)).substr(-2)}).join("");return _(A,($===38?"color:#":"background-color:#")+Y)}function v(A,q,$){q=parseInt(q,10);var V={"-1":function(){return"<br/>"},0:function(){return A.length&&b(A)},1:function(){return E(A,"b")},3:function(){return E(A,"i")},4:function(){return E(A,"u")},8:function(){return _(A,"display:none")},9:function(){return E(A,"strike")},22:function(){return _(A,"font-weight:normal;text-decoration:none;font-style:normal")},23:function(){return L(A,"i")},24:function(){return L(A,"u")},39:function(){return x(A,$.fg)},49:function(){return S(A,$.bg)},53:function(){return _(A,"text-decoration:overline")}},Y;return V[q]?Y=V[q]():4<q&&q<7?Y=E(A,"blink"):29<q&&q<38?Y=x(A,$.colors[q-30]):39<q&&q<48?Y=S(A,$.colors[q-40]):89<q&&q<98?Y=x(A,$.colors[8+(q-90)]):99<q&&q<108&&(Y=S(A,$.colors[8+(q-100)])),Y}function b(A){var q=A.slice(0);return A.length=0,q.reverse().map(function($){return"</"+$+">"}).join("")}function T(A,q){for(var $=[],V=A;V<=q;V++)$.push(V);return $}function O(A){return function(q){return(A===null||q.category!==A)&&A!=="all"}}function R(A){A=parseInt(A,10);var q=null;return A===0?q="all":A===1?q="bold":2<A&&A<5?q="underline":4<A&&A<7?q="blink":A===8?q="hide":A===9?q="strike":29<A&&A<38||A===39||89<A&&A<98?q="foreground-color":(39<A&&A<48||A===49||99<A&&A<108)&&(q="background-color"),q}function P(A,q){return q.escapeXML?c.encodeXML(A):A}function E(A,q,$){return $||($=""),A.push(q),"<".concat(q).concat($?' style="'.concat($,'"'):"",">")}function _(A,q){return E(A,"span",q)}function x(A,q){return E(A,"span","color:"+q)}function S(A,q){return E(A,"span","background-color:"+q)}function L(A,q){var $;if(A.slice(-1)[0]===q&&($=A.pop()),$)return"</"+q+">"}function j(A,q,$){var V=!1,Y=3;function ie(){return""}function ue(de,ge){return $("xterm256Foreground",ge),""}function F(de,ge){return $("xterm256Background",ge),""}function D(de){return q.newline?$("display",-1):$("text",de),""}function G(de,ge){V=!0,ge.trim().length===0&&(ge="0"),ge=ge.trimRight(";").split(";");var Ee=o(ge),Ue;try{for(Ee.s();!(Ue=Ee.n()).done;){var gt=Ue.value;$("display",gt)}}catch(ut){Ee.e(ut)}finally{Ee.f()}return""}function Q(de){return $("text",de),""}function X(de){return $("rgb",de),""}var K=[{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:X},{pattern:/^\x1b\[38;5;(\d+)m/,sub:ue},{pattern:/^\x1b\[48;5;(\d+)m/,sub:F},{pattern:/^\n/,sub:D},{pattern:/^\r+\n/,sub:D},{pattern:/^\r/,sub:D},{pattern:/^\x1b\[((?:\d{1,3};?)+|)m/,sub:G},{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:Q}];function oe(de,ge){ge>Y&&V||(V=!1,A=A.replace(de.pattern,de.sub))}var se=[],Te=A,B=Te.length;e:for(;B>0;){for(var te=0,ne=0,ae=K.length;ne<ae;te=++ne){var ce=K[te];if(oe(ce,te),A.length!==B){B=A.length;continue e}}if(A.length===B)break;se.push(0),B=A.length}return se}function J(A,q,$){return q!=="text"&&(A=A.filter(O(R($))),A.push({token:q,data:$,category:R($)})),A}var N=(function(){function A(q){r(this,A),q=q||{},q.colors&&(q.colors=Object.assign({},l.colors,q.colors)),this.options=Object.assign({},l,q),this.stack=[],this.stickyStack=[]}return i(A,[{key:"toHtml",value:function(q){var $=this;q=typeof q=="string"?[q]:q;var V=this.stack,Y=this.options,ie=[];return this.stickyStack.forEach(function(ue){var F=y(V,ue.token,ue.data,Y);F&&ie.push(F)}),j(q.join(""),Y,function(ue,F){var D=y(V,ue,F,Y);D&&ie.push(D),Y.stream&&($.stickyStack=J($.stickyStack,ue,F))}),V.length&&ie.push(b(V)),ie.join("")}}]),A})();t.exports=N}}),DC=M({"../../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(u){return u.text!==void 0&&u.text!==""?`'${u.type}' with value '${u.text}'`:`'${u.type}'`}class i extends Error{constructor(h){super(`No parslet found for token: ${n(h)}`),this.token=h,Object.setPrototypeOf(this,i.prototype)}getToken(){return this.token}}class o extends Error{constructor(h){super(`The parsing ended early. The next token was: ${n(h)}`),this.token=h,Object.setPrototypeOf(this,o.prototype)}getToken(){return this.token}}class a extends Error{constructor(h,w){let C=`Unexpected type: '${h.type}'.`;w!==void 0&&(C+=` Message: ${w}`),super(C),Object.setPrototypeOf(this,a.prototype)}}function s(u){return h=>h.startsWith(u)?{type:u,text:u}:null}function c(u){let h=0,w,C=u[0],U=!1;if(C!=="'"&&C!=='"')return null;for(;h<u.length;){if(h++,w=u[h],!U&&w===C){h++;break}U=!U&&w==="\\"}if(w!==C)throw new Error("Unterminated String");return u.slice(0,h)}let l=new RegExp("[$_\\p{ID_Start}]|\\\\u\\p{Hex_Digit}{4}|\\\\u\\{0*(?:\\p{Hex_Digit}{1,5}|10\\p{Hex_Digit}{4})\\}","u"),d=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 p(u){let h=u[0];if(!l.test(h))return null;let w=1;do{if(h=u[w],!d.test(h))break;w++}while(w<u.length);return u.slice(0,w)}let f=/^(NaN|-?((\d*\.\d+|\d+)([Ee][+-]?\d+)?|Infinity))/;function m(u){var h,w;return(w=(h=f.exec(u))===null||h===void 0?void 0:h[0])!==null&&w!==void 0?w:null}let y=u=>{let h=p(u);return h==null?null:{type:"Identifier",text:h}};function g(u){return h=>{if(!h.startsWith(u))return null;let w=h[u.length];return w!==void 0&&d.test(w)?null:{type:u,text:u}}}let v=u=>{let h=c(u);return h==null?null:{type:"StringValue",text:h}},b=u=>u.length>0?null:{type:"EOF",text:""},T=u=>{let h=m(u);return h===null?null:{type:"Number",text:h}},O=[b,s("=>"),s("("),s(")"),s("{"),s("}"),s("["),s("]"),s("|"),s("&"),s("<"),s(">"),s(","),s(";"),s("*"),s("?"),s("!"),s("="),s(":"),s("..."),s("."),s("#"),s("~"),s("/"),s("@"),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"),T,y,v],R=/^\s*\n\s*/;class P{static create(h){let w=this.read(h);h=w.text;let C=this.read(h);return h=C.text,new P(h,void 0,w.token,C.token)}constructor(h,w,C,U){this.text="",this.text=h,this.previous=w,this.current=C,this.next=U}static read(h,w=!1){w=w||R.test(h),h=h.trim();for(let C of O){let U=C(h);if(U!==null){let W=Object.assign(Object.assign({},U),{startOfLine:w});return h=h.slice(W.text.length),{text:h,token:W}}}throw new Error("Unexpected Token "+h)}advance(){let h=P.read(this.text);return new P(h.text,this.current,this.next,h.token)}}function E(u){if(u===void 0)throw new Error("Unexpected undefined");if(u.type==="JsdocTypeKeyValue"||u.type==="JsdocTypeParameterList"||u.type==="JsdocTypeProperty"||u.type==="JsdocTypeReadonlyProperty"||u.type==="JsdocTypeObjectField"||u.type==="JsdocTypeJsdocObjectField"||u.type==="JsdocTypeIndexSignature"||u.type==="JsdocTypeMappedType"||u.type==="JsdocTypeTypeParameter")throw new a(u);return u}function _(u){return u.type==="JsdocTypeKeyValue"?S(u):E(u)}function x(u){return u.type==="JsdocTypeName"?u:S(u)}function S(u){if(u.type!=="JsdocTypeKeyValue")throw new a(u);return u}function L(u){var h;if(u.type==="JsdocTypeVariadic"){if(((h=u.element)===null||h===void 0?void 0:h.type)==="JsdocTypeName")return u;throw new a(u)}if(u.type!=="JsdocTypeNumber"&&u.type!=="JsdocTypeName")throw new a(u);return u}function j(u){if(u.type==="JsdocTypeTuple"||u.type==="JsdocTypeGeneric"&&u.meta.brackets==="square")return u;throw new a(u)}function J(u){return u.type==="JsdocTypeIndexSignature"||u.type==="JsdocTypeMappedType"}var N;(function(u){u[u.ALL=0]="ALL",u[u.PARAMETER_LIST=1]="PARAMETER_LIST",u[u.OBJECT=2]="OBJECT",u[u.KEY_VALUE=3]="KEY_VALUE",u[u.INDEX_BRACKETS=4]="INDEX_BRACKETS",u[u.UNION=5]="UNION",u[u.INTERSECTION=6]="INTERSECTION",u[u.PREFIX=7]="PREFIX",u[u.INFIX=8]="INFIX",u[u.TUPLE=9]="TUPLE",u[u.SYMBOL=10]="SYMBOL",u[u.OPTIONAL=11]="OPTIONAL",u[u.NULLABLE=12]="NULLABLE",u[u.KEY_OF_TYPE_OF=13]="KEY_OF_TYPE_OF",u[u.FUNCTION=14]="FUNCTION",u[u.ARROW=15]="ARROW",u[u.ARRAY_BRACKETS=16]="ARRAY_BRACKETS",u[u.GENERIC=17]="GENERIC",u[u.NAME_PATH=18]="NAME_PATH",u[u.PARENTHESIS=19]="PARENTHESIS",u[u.SPECIAL_TYPES=20]="SPECIAL_TYPES"})(N||(N={}));class A{constructor(h,w,C){this.grammar=h,typeof w=="string"?this._lexer=P.create(w):this._lexer=w,this.baseParser=C}get lexer(){return this._lexer}parse(){let h=this.parseType(N.ALL);if(this.lexer.current.type!=="EOF")throw new o(this.lexer.current);return h}parseType(h){return E(this.parseIntermediateType(h))}parseIntermediateType(h){let w=this.tryParslets(null,h);if(w===null)throw new i(this.lexer.current);return this.parseInfixIntermediateType(w,h)}parseInfixIntermediateType(h,w){let C=this.tryParslets(h,w);for(;C!==null;)h=C,C=this.tryParslets(h,w);return h}tryParslets(h,w){for(let C of this.grammar){let U=C(this,w,h);if(U!==null)return U}return null}consume(h){return Array.isArray(h)||(h=[h]),h.includes(this.lexer.current.type)?(this._lexer=this.lexer.advance(),!0):!1}acceptLexerState(h){this._lexer=h.lexer}}function q(u){return u==="}"||u==="EOF"||u==="|"||u===","||u===")"||u===">"}let $=(u,h,w)=>{let C=u.lexer.current.type,U=u.lexer.next.type;return w==null&&C==="?"&&!q(U)||w!=null&&C==="?"?(u.consume("?"),w==null?{type:"JsdocTypeNullable",element:u.parseType(N.NULLABLE),meta:{position:"prefix"}}:{type:"JsdocTypeNullable",element:E(w),meta:{position:"suffix"}}):null};function V(u){let h=(w,C,U)=>{let W=w.lexer.current.type,Z=w.lexer.next.type;if(U===null){if("parsePrefix"in u&&u.accept(W,Z))return u.parsePrefix(w)}else if("parseInfix"in u&&u.precedence>C&&u.accept(W,Z))return u.parseInfix(w,U);return null};return Object.defineProperty(h,"name",{value:u.name}),h}let Y=V({name:"optionalParslet",accept:u=>u==="=",precedence:N.OPTIONAL,parsePrefix:u=>(u.consume("="),{type:"JsdocTypeOptional",element:u.parseType(N.OPTIONAL),meta:{position:"prefix"}}),parseInfix:(u,h)=>(u.consume("="),{type:"JsdocTypeOptional",element:E(h),meta:{position:"suffix"}})}),ie=V({name:"numberParslet",accept:u=>u==="Number",parsePrefix:u=>{let h=parseFloat(u.lexer.current.text);return u.consume("Number"),{type:"JsdocTypeNumber",value:h}}}),ue=V({name:"parenthesisParslet",accept:u=>u==="(",parsePrefix:u=>{if(u.consume("("),u.consume(")"))return{type:"JsdocTypeParameterList",elements:[]};let h=u.parseIntermediateType(N.ALL);if(!u.consume(")"))throw new Error("Unterminated parenthesis");return h.type==="JsdocTypeParameterList"?h:h.type==="JsdocTypeKeyValue"?{type:"JsdocTypeParameterList",elements:[h]}:{type:"JsdocTypeParenthesis",element:E(h)}}}),F=V({name:"specialTypesParslet",accept:(u,h)=>u==="?"&&q(h)||u==="null"||u==="undefined"||u==="*",parsePrefix:u=>{if(u.consume("null"))return{type:"JsdocTypeNull"};if(u.consume("undefined"))return{type:"JsdocTypeUndefined"};if(u.consume("*"))return{type:"JsdocTypeAny"};if(u.consume("?"))return{type:"JsdocTypeUnknown"};throw new Error("Unacceptable token: "+u.lexer.current.text)}}),D=V({name:"notNullableParslet",accept:u=>u==="!",precedence:N.NULLABLE,parsePrefix:u=>(u.consume("!"),{type:"JsdocTypeNotNullable",element:u.parseType(N.NULLABLE),meta:{position:"prefix"}}),parseInfix:(u,h)=>(u.consume("!"),{type:"JsdocTypeNotNullable",element:E(h),meta:{position:"suffix"}})});function G({allowTrailingComma:u}){return V({name:"parameterListParslet",accept:h=>h===",",precedence:N.PARAMETER_LIST,parseInfix:(h,w)=>{let C=[_(w)];h.consume(",");do try{let U=h.parseIntermediateType(N.PARAMETER_LIST);C.push(_(U))}catch(U){if(U instanceof i)break;throw U}while(h.consume(","));if(C.length>0&&C.slice(0,-1).some(U=>U.type==="JsdocTypeVariadic"))throw new Error("Only the last parameter may be a rest parameter");return{type:"JsdocTypeParameterList",elements:C}}})}let Q=V({name:"genericParslet",accept:(u,h)=>u==="<"||u==="."&&h==="<",precedence:N.GENERIC,parseInfix:(u,h)=>{let w=u.consume(".");u.consume("<");let C=[],U=!1;if(u.consume("infer")){U=!0;let W=u.parseIntermediateType(N.SYMBOL);if(W.type!=="JsdocTypeName")throw new a(W,"A typescript asserts always has to have a name on the left side.");C.push(W)}else do C.push(u.parseType(N.PARAMETER_LIST));while(u.consume(","));if(!u.consume(">"))throw new Error("Unterminated generic parameter list");return Object.assign(Object.assign({type:"JsdocTypeGeneric",left:E(h),elements:C},U?{infer:!0}:{}),{meta:{brackets:"angle",dot:w}})}}),X=V({name:"unionParslet",accept:u=>u==="|",precedence:N.UNION,parseInfix:(u,h)=>{u.consume("|");let w=[];do w.push(u.parseType(N.UNION));while(u.consume("|"));return{type:"JsdocTypeUnion",elements:[E(h),...w]}}}),K=[$,Y,ie,ue,F,D,G({allowTrailingComma:!0}),Q,X,Y];function oe({allowSquareBracketsOnAnyType:u,allowJsdocNamePaths:h,pathGrammar:w}){return function(C,U,W){if(W==null||U>=N.NAME_PATH)return null;let Z=C.lexer.current.type,fe=C.lexer.next.type;if(!(Z==="."&&fe!=="<"||Z==="["&&(u||W.type==="JsdocTypeName")||h&&(Z==="~"||Z==="#")))return null;let me,Oe=!1;C.consume(".")?me="property":C.consume("[")?(me="property-brackets",Oe=!0):C.consume("~")?me="inner":(C.consume("#"),me="instance");let et=w!==null?new A(w,C.lexer,C):C,He=et.parseIntermediateType(N.NAME_PATH);C.acceptLexerState(et);let Ht;switch(He.type){case"JsdocTypeName":Ht={type:"JsdocTypeProperty",value:He.value,meta:{quote:void 0}};break;case"JsdocTypeNumber":Ht={type:"JsdocTypeProperty",value:He.value.toString(10),meta:{quote:void 0}};break;case"JsdocTypeStringValue":Ht={type:"JsdocTypeProperty",value:He.value,meta:{quote:He.meta.quote}};break;case"JsdocTypeSpecialNamePath":if(He.specialType==="event")Ht=He;else throw new a(He,"Type 'JsdocTypeSpecialNamePath' is only allowed with specialType 'event'");break;default:throw new a(He,"Expecting 'JsdocTypeName', 'JsdocTypeNumber', 'JsdocStringValue' or 'JsdocTypeSpecialNamePath'")}if(Oe&&!C.consume("]")){let Bi=C.lexer.current;throw new Error(`Unterminated square brackets. Next token is '${Bi.type}' with text '${Bi.text}'`)}return{type:"JsdocTypeNamePath",left:E(W),right:Ht,pathType:me}}}function se({allowedAdditionalTokens:u}){return V({name:"nameParslet",accept:h=>h==="Identifier"||h==="this"||h==="new"||u.includes(h),parsePrefix:h=>{let{type:w,text:C}=h.lexer.current;return h.consume(w),{type:"JsdocTypeName",value:C}}})}let Te=V({name:"stringValueParslet",accept:u=>u==="StringValue",parsePrefix:u=>{let h=u.lexer.current.text;return u.consume("StringValue"),{type:"JsdocTypeStringValue",value:h.slice(1,-1),meta:{quote:h[0]==="'"?"single":"double"}}}});function B({pathGrammar:u,allowedTypes:h}){return V({name:"specialNamePathParslet",accept:w=>h.includes(w),parsePrefix:w=>{let C=w.lexer.current.type;if(w.consume(C),!w.consume(":"))return{type:"JsdocTypeName",value:C};let U,W=w.lexer.current;if(w.consume("StringValue"))U={type:"JsdocTypeSpecialNamePath",value:W.text.slice(1,-1),specialType:C,meta:{quote:W.text[0]==="'"?"single":"double"}};else{let me="",Oe=["Identifier","@","/"];for(;Oe.some(et=>w.consume(et));)me+=W.text,W=w.lexer.current;U={type:"JsdocTypeSpecialNamePath",value:me,specialType:C,meta:{quote:void 0}}}let Z=new A(u,w.lexer,w),fe=Z.parseInfixIntermediateType(U,N.ALL);return w.acceptLexerState(Z),E(fe)}})}let te=[se({allowedAdditionalTokens:["external","module"]}),Te,ie,oe({allowSquareBracketsOnAnyType:!1,allowJsdocNamePaths:!0,pathGrammar:null})],ne=[...te,B({allowedTypes:["event"],pathGrammar:te})];function ae(u){let h;if(u.type==="JsdocTypeParameterList")h=u.elements;else if(u.type==="JsdocTypeParenthesis")h=[u.element];else throw new a(u);return h.map(w=>_(w))}function ce(u){let h=ae(u);if(h.some(w=>w.type==="JsdocTypeKeyValue"))throw new Error("No parameter should be named");return h}function de({allowNamedParameters:u,allowNoReturnType:h,allowWithoutParenthesis:w,allowNewAsFunctionKeyword:C}){return V({name:"functionParslet",accept:(U,W)=>U==="function"||C&&U==="new"&&W==="(",parsePrefix:U=>{let W=U.consume("new");U.consume("function");let Z=U.lexer.current.type==="(";if(!Z){if(!w)throw new Error("function is missing parameter list");return{type:"JsdocTypeName",value:"function"}}let fe={type:"JsdocTypeFunction",parameters:[],arrow:!1,constructor:W,parenthesis:Z},me=U.parseIntermediateType(N.FUNCTION);if(u===void 0)fe.parameters=ce(me);else{if(W&&me.type==="JsdocTypeFunction"&&me.arrow)return fe=me,fe.constructor=!0,fe;fe.parameters=ae(me);for(let Oe of fe.parameters)if(Oe.type==="JsdocTypeKeyValue"&&!u.includes(Oe.key))throw new Error(`only allowed named parameters are ${u.join(", ")} but got ${Oe.type}`)}if(U.consume(":"))fe.returnType=U.parseType(N.PREFIX);else if(!h)throw new Error("function is missing return type");return fe}})}function ge({allowPostfix:u,allowEnclosingBrackets:h}){return V({name:"variadicParslet",accept:w=>w==="...",precedence:N.PREFIX,parsePrefix:w=>{w.consume("...");let C=h&&w.consume("[");try{let U=w.parseType(N.PREFIX);if(C&&!w.consume("]"))throw new Error("Unterminated variadic type. Missing ']'");return{type:"JsdocTypeVariadic",element:E(U),meta:{position:"prefix",squareBrackets:C}}}catch(U){if(U instanceof i){if(C)throw new Error("Empty square brackets for variadic are not allowed.");return{type:"JsdocTypeVariadic",meta:{position:void 0,squareBrackets:!1}}}else throw U}},parseInfix:u?(w,C)=>(w.consume("..."),{type:"JsdocTypeVariadic",element:E(C),meta:{position:"suffix",squareBrackets:!1}}):void 0})}let Ee=V({name:"symbolParslet",accept:u=>u==="(",precedence:N.SYMBOL,parseInfix:(u,h)=>{if(h.type!=="JsdocTypeName")throw new Error("Symbol expects a name on the left side. (Reacting on '(')");u.consume("(");let w={type:"JsdocTypeSymbol",value:h.value};if(!u.consume(")")){let C=u.parseIntermediateType(N.SYMBOL);if(w.element=L(C),!u.consume(")"))throw new Error("Symbol does not end after value")}return w}}),Ue=V({name:"arrayBracketsParslet",precedence:N.ARRAY_BRACKETS,accept:(u,h)=>u==="["&&h==="]",parseInfix:(u,h)=>(u.consume("["),u.consume("]"),{type:"JsdocTypeGeneric",left:{type:"JsdocTypeName",value:"Array"},elements:[E(h)],meta:{brackets:"square",dot:!1}})});function gt({objectFieldGrammar:u,allowKeyTypes:h}){return V({name:"objectParslet",accept:w=>w==="{",parsePrefix:w=>{w.consume("{");let C={type:"JsdocTypeObject",meta:{separator:"comma"},elements:[]};if(!w.consume("}")){let U,W=new A(u,w.lexer,w);for(;;){W.acceptLexerState(w);let Z=W.parseIntermediateType(N.OBJECT);w.acceptLexerState(W),Z===void 0&&h&&(Z=w.parseIntermediateType(N.OBJECT));let fe=!1;if(Z.type==="JsdocTypeNullable"&&(fe=!0,Z=Z.element),Z.type==="JsdocTypeNumber"||Z.type==="JsdocTypeName"||Z.type==="JsdocTypeStringValue"){let me;Z.type==="JsdocTypeStringValue"&&(me=Z.meta.quote),C.elements.push({type:"JsdocTypeObjectField",key:Z.value.toString(),right:void 0,optional:fe,readonly:!1,meta:{quote:me}})}else if(Z.type==="JsdocTypeObjectField"||Z.type==="JsdocTypeJsdocObjectField")C.elements.push(Z);else throw new a(Z);if(w.lexer.current.startOfLine)U="linebreak",w.consume(",")||w.consume(";");else if(w.consume(","))U="comma";else if(w.consume(";"))U="semicolon";else break;if(w.lexer.current.type==="}")break}if(C.meta.separator=U??"comma",U==="linebreak"&&(C.meta.propertyIndent=" "),!w.consume("}"))throw new Error("Unterminated record type. Missing '}'")}return C}})}function ut({allowSquaredProperties:u,allowKeyTypes:h,allowReadonly:w,allowOptional:C}){return V({name:"objectFieldParslet",precedence:N.KEY_VALUE,accept:U=>U===":",parseInfix:(U,W)=>{var Z;let fe=!1,me=!1;C&&W.type==="JsdocTypeNullable"&&(fe=!0,W=W.element),w&&W.type==="JsdocTypeReadonlyProperty"&&(me=!0,W=W.element);let Oe=(Z=U.baseParser)!==null&&Z!==void 0?Z:U;if(Oe.acceptLexerState(U),W.type==="JsdocTypeNumber"||W.type==="JsdocTypeName"||W.type==="JsdocTypeStringValue"||J(W)){if(J(W)&&!u)throw new a(W);Oe.consume(":");let et;W.type==="JsdocTypeStringValue"&&(et=W.meta.quote);let He=Oe.parseType(N.KEY_VALUE);return U.acceptLexerState(Oe),{type:"JsdocTypeObjectField",key:J(W)?W:W.value.toString(),right:He,optional:fe,readonly:me,meta:{quote:et}}}else{if(!h)throw new a(W);Oe.consume(":");let et=Oe.parseType(N.KEY_VALUE);return U.acceptLexerState(Oe),{type:"JsdocTypeJsdocObjectField",left:E(W),right:et}}}})}function bt({allowOptional:u,allowVariadic:h}){return V({name:"keyValueParslet",precedence:N.KEY_VALUE,accept:w=>w===":",parseInfix:(w,C)=>{let U=!1,W=!1;if(u&&C.type==="JsdocTypeNullable"&&(U=!0,C=C.element),h&&C.type==="JsdocTypeVariadic"&&C.element!==void 0&&(W=!0,C=C.element),C.type!=="JsdocTypeName")throw new a(C);w.consume(":");let Z=w.parseType(N.KEY_VALUE);return{type:"JsdocTypeKeyValue",key:C.value,right:Z,optional:U,variadic:W}}})}let it=[...K,de({allowWithoutParenthesis:!0,allowNamedParameters:["this","new"],allowNoReturnType:!0,allowNewAsFunctionKeyword:!1}),Te,B({allowedTypes:["module","external","event"],pathGrammar:ne}),ge({allowEnclosingBrackets:!0,allowPostfix:!0}),se({allowedAdditionalTokens:["keyof"]}),Ee,Ue,oe({allowSquareBracketsOnAnyType:!1,allowJsdocNamePaths:!0,pathGrammar:ne})],Xt=[...it,gt({objectFieldGrammar:[se({allowedAdditionalTokens:["typeof","module","in"]}),ut({allowSquaredProperties:!1,allowKeyTypes:!0,allowOptional:!1,allowReadonly:!1}),...it],allowKeyTypes:!0}),bt({allowOptional:!0,allowVariadic:!0})],kt=V({name:"typeOfParslet",accept:u=>u==="typeof",parsePrefix:u=>(u.consume("typeof"),{type:"JsdocTypeTypeof",element:u.parseType(N.KEY_OF_TYPE_OF)})}),Qt=[se({allowedAdditionalTokens:["typeof","module","keyof","event","external","in"]}),$,Y,Te,ie,ut({allowSquaredProperties:!1,allowKeyTypes:!1,allowOptional:!1,allowReadonly:!1})],Ti=[...K,gt({allowKeyTypes:!1,objectFieldGrammar:Qt}),se({allowedAdditionalTokens:["event","external","in"]}),kt,de({allowWithoutParenthesis:!1,allowNamedParameters:["this","new"],allowNoReturnType:!0,allowNewAsFunctionKeyword:!1}),ge({allowEnclosingBrackets:!1,allowPostfix:!1}),se({allowedAdditionalTokens:["keyof"]}),B({allowedTypes:["module"],pathGrammar:ne}),oe({allowSquareBracketsOnAnyType:!1,allowJsdocNamePaths:!0,pathGrammar:ne}),bt({allowOptional:!1,allowVariadic:!1}),Ee],xi=V({name:"assertsParslet",accept:u=>u==="asserts",parsePrefix:u=>{u.consume("asserts");let h=u.parseIntermediateType(N.SYMBOL);if(h.type!=="JsdocTypeName")throw new a(h,"A typescript asserts always has to have a name on the left side.");return u.consume("is")?{type:"JsdocTypeAsserts",left:h,right:E(u.parseIntermediateType(N.INFIX))}:{type:"JsdocTypeAssertsPlain",element:h}}});function Si({allowQuestionMark:u}){return V({name:"tupleParslet",accept:h=>h==="[",parsePrefix:h=>{h.consume("[");let w={type:"JsdocTypeTuple",elements:[]};if(h.consume("]"))return w;let C=h.parseIntermediateType(N.ALL);if(C.type==="JsdocTypeParameterList"?C.elements[0].type==="JsdocTypeKeyValue"?w.elements=C.elements.map(S):w.elements=C.elements.map(E):C.type==="JsdocTypeKeyValue"?w.elements=[S(C)]:w.elements=[E(C)],!h.consume("]"))throw new Error("Unterminated '['");if(w.elements.some(U=>U.type==="JsdocTypeUnknown"))throw new Error("Question mark in tuple not allowed");return w}})}let Oi=V({name:"keyOfParslet",accept:u=>u==="keyof",parsePrefix:u=>(u.consume("keyof"),{type:"JsdocTypeKeyof",element:E(u.parseType(N.KEY_OF_TYPE_OF))})}),Ai=V({name:"importParslet",accept:u=>u==="import",parsePrefix:u=>{if(u.consume("import"),!u.consume("("))throw new Error("Missing parenthesis after import keyword");let h=u.parseType(N.PREFIX);if(h.type!=="JsdocTypeStringValue")throw new Error("Only string values are allowed as paths for imports");if(!u.consume(")"))throw new Error("Missing closing parenthesis after import keyword");return{type:"JsdocTypeImport",element:h}}}),Ri=V({name:"readonlyPropertyParslet",accept:u=>u==="readonly",parsePrefix:u=>(u.consume("readonly"),{type:"JsdocTypeReadonlyProperty",element:u.parseIntermediateType(N.KEY_VALUE)})}),Ci=V({name:"arrowFunctionParslet",precedence:N.ARROW,accept:u=>u==="=>",parseInfix:(u,h)=>(u.consume("=>"),{type:"JsdocTypeFunction",parameters:ae(h).map(x),arrow:!0,constructor:!1,parenthesis:!0,returnType:u.parseType(N.OBJECT)})}),Pi=V({name:"genericArrowFunctionParslet",accept:u=>u==="<",parsePrefix:u=>{let h=[];u.consume("<");do{let C,U=u.parseIntermediateType(N.SYMBOL);if(U.type==="JsdocTypeOptional"&&(U=U.element,C=u.parseType(N.SYMBOL)),U.type!=="JsdocTypeName")throw new a(U);let W;u.consume("extends")&&(W=u.parseType(N.SYMBOL),W.type==="JsdocTypeOptional"&&(W=W.element,C=u.parseType(N.SYMBOL)));let Z={type:"JsdocTypeTypeParameter",name:U};if(W!==void 0&&(Z.constraint=W),C!==void 0&&(Z.defaultValue=C),h.push(Z),u.consume(">"))break}while(u.consume(","));let w=u.parseIntermediateType(N.SYMBOL);return w.typeParameters=h,w}}),Mi=V({name:"intersectionParslet",accept:u=>u==="&",precedence:N.INTERSECTION,parseInfix:(u,h)=>{u.consume("&");let w=[];do w.push(u.parseType(N.INTERSECTION));while(u.consume("&"));return{type:"JsdocTypeIntersection",elements:[E(h),...w]}}}),Ni=V({name:"predicateParslet",precedence:N.INFIX,accept:u=>u==="is",parseInfix:(u,h)=>{if(h.type!=="JsdocTypeName")throw new a(h,"A typescript predicate always has to have a name on the left side.");return u.consume("is"),{type:"JsdocTypePredicate",left:h,right:E(u.parseIntermediateType(N.INFIX))}}}),ki=V({name:"objectSquareBracketPropertyParslet",accept:u=>u==="[",parsePrefix:u=>{if(u.baseParser===void 0)throw new Error("Only allowed inside object grammar");u.consume("[");let h=u.lexer.current.text;u.consume("Identifier");let w;if(u.consume(":")){let C=u.baseParser;C.acceptLexerState(u),w={type:"JsdocTypeIndexSignature",key:h,right:C.parseType(N.INDEX_BRACKETS)},u.acceptLexerState(C)}else if(u.consume("in")){let C=u.baseParser;C.acceptLexerState(u),w={type:"JsdocTypeMappedType",key:h,right:C.parseType(N.ARRAY_BRACKETS)},u.acceptLexerState(C)}else throw new Error("Missing ':' or 'in' inside square bracketed property.");if(!u.consume("]"))throw new Error("Unterminated square brackets");return w}}),Ii=V({name:"readonlyArrayParslet",accept:u=>u==="readonly",parsePrefix:u=>(u.consume("readonly"),{type:"JsdocTypeReadonlyArray",element:j(u.parseIntermediateType(N.ALL))})}),ji=V({name:"conditionalParslet",precedence:N.INFIX,accept:u=>u==="extends",parseInfix:(u,h)=>{u.consume("extends");let w=u.parseType(N.KEY_OF_TYPE_OF).element,C=u.parseType(N.INFIX);return u.consume(":"),{type:"JsdocTypeConditional",checksType:E(h),extendsType:w,trueType:C,falseType:u.parseType(N.INFIX)}}}),qi=[Ri,se({allowedAdditionalTokens:["typeof","module","keyof","event","external","in"]}),$,Y,Te,ie,ut({allowSquaredProperties:!0,allowKeyTypes:!1,allowOptional:!0,allowReadonly:!0}),ki],Fi=[...K,gt({allowKeyTypes:!1,objectFieldGrammar:qi}),Ii,kt,Oi,Ai,Te,de({allowWithoutParenthesis:!0,allowNoReturnType:!1,allowNamedParameters:["this","new","args"],allowNewAsFunctionKeyword:!0}),Si({allowQuestionMark:!1}),ge({allowEnclosingBrackets:!1,allowPostfix:!1}),xi,ji,se({allowedAdditionalTokens:["event","external","in"]}),B({allowedTypes:["module"],pathGrammar:ne}),Ue,Ci,Pi,oe({allowSquareBracketsOnAnyType:!0,allowJsdocNamePaths:!1,pathGrammar:ne}),Mi,Ni,bt({allowVariadic:!0,allowOptional:!0})];function tn(u,h){switch(h){case"closure":return new A(Ti,u).parse();case"jsdoc":return new A(Xt,u).parse();case"typescript":return new A(Fi,u).parse()}}function Di(u,h=["typescript","closure","jsdoc"]){let w;for(let C of h)try{return tn(u,C)}catch(U){w=U}throw w}function xt(u,h){let w=u[h.type];if(w===void 0)throw new Error(`In this set of transform rules exists no rule for type ${h.type}.`);return w(h,C=>xt(u,C))}function pe(u){throw new Error("This transform is not available. Are you trying the correct parsing mode?")}function rn(u){let h={params:[]};for(let w of u.parameters)w.type==="JsdocTypeKeyValue"?w.key==="this"?h.this=w.right:w.key==="new"?h.new=w.right:h.params.push(w):h.params.push(w);return h}function Ut(u,h,w){return u==="prefix"?w+h:h+w}function Ze(u,h){switch(h){case"double":return`"${u}"`;case"single":return`'${u}'`;case void 0:return u}}function ee(){return{JsdocTypeParenthesis:(u,h)=>`(${u.element!==void 0?h(u.element):""})`,JsdocTypeKeyof:(u,h)=>`keyof ${h(u.element)}`,JsdocTypeFunction:(u,h)=>{var w;if(u.arrow){if(u.returnType===void 0)throw new Error("Arrow function needs a return type.");let C=`${u.typeParameters!==void 0?`<${(w=u.typeParameters.map(h).join(", "))!==null&&w!==void 0?w:""}>`:""}(${u.parameters.map(h).join(", ")}) => ${h(u.returnType)}`;return u.constructor&&(C="new "+C),C}else{let C=u.constructor?"new":"function";return u.parenthesis&&(C+=`(${u.parameters.map(h).join(", ")})`,u.returnType!==void 0&&(C+=`: ${h(u.returnType)}`)),C}},JsdocTypeName:u=>u.value,JsdocTypeTuple:(u,h)=>`[${u.elements.map(h).join(", ")}]`,JsdocTypeVariadic:(u,h)=>u.meta.position===void 0?"...":Ut(u.meta.position,h(u.element),"..."),JsdocTypeNamePath:(u,h)=>{let w=h(u.left),C=h(u.right);switch(u.pathType){case"inner":return`${w}~${C}`;case"instance":return`${w}#${C}`;case"property":return`${w}.${C}`;case"property-brackets":return`${w}[${C}]`}},JsdocTypeStringValue:u=>Ze(u.value,u.meta.quote),JsdocTypeAny:()=>"*",JsdocTypeGeneric:(u,h)=>{if(u.meta.brackets==="square"){let w=u.elements[0],C=h(w);return w.type==="JsdocTypeUnion"||w.type==="JsdocTypeIntersection"?`(${C})[]`:`${C}[]`}else return`${h(u.left)}${u.meta.dot?".":""}<${u.infer===!0?"infer ":""}${u.elements.map(h).join(", ")}>`},JsdocTypeImport:(u,h)=>`import(${h(u.element)})`,JsdocTypeObjectField:(u,h)=>{let w="";return u.readonly&&(w+="readonly "),typeof u.key=="string"?w+=Ze(u.key,u.meta.quote):w+=h(u.key),u.optional&&(w+="?"),u.right===void 0?w:w+`: ${h(u.right)}`},JsdocTypeJsdocObjectField:(u,h)=>`${h(u.left)}: ${h(u.right)}`,JsdocTypeKeyValue:(u,h)=>{let w=u.key;return u.optional&&(w+="?"),u.variadic&&(w="..."+w),u.right===void 0?w:w+`: ${h(u.right)}`},JsdocTypeSpecialNamePath:u=>`${u.specialType}:${Ze(u.value,u.meta.quote)}`,JsdocTypeNotNullable:(u,h)=>Ut(u.meta.position,h(u.element),"!"),JsdocTypeNull:()=>"null",JsdocTypeNullable:(u,h)=>Ut(u.meta.position,h(u.element),"?"),JsdocTypeNumber:u=>u.value.toString(),JsdocTypeObject:(u,h)=>{var w,C;return`{${(u.meta.separator==="linebreak"&&u.elements.length>1?`
20
+ `+((w=u.meta.propertyIndent)!==null&&w!==void 0?w:""):"")+u.elements.map(h).join(u.meta.separator==="comma"?", ":u.meta.separator==="linebreak"?`
21
+ `+((C=u.meta.propertyIndent)!==null&&C!==void 0?C:""):"; ")+(u.meta.separator==="linebreak"&&u.elements.length>1?`
22
+ `:"")}}`},JsdocTypeOptional:(u,h)=>Ut(u.meta.position,h(u.element),"="),JsdocTypeSymbol:(u,h)=>`${u.value}(${u.element!==void 0?h(u.element):""})`,JsdocTypeTypeof:(u,h)=>`typeof ${h(u.element)}`,JsdocTypeUndefined:()=>"undefined",JsdocTypeUnion:(u,h)=>u.elements.map(h).join(" | "),JsdocTypeUnknown:()=>"?",JsdocTypeIntersection:(u,h)=>u.elements.map(h).join(" & "),JsdocTypeProperty:u=>Ze(u.value,u.meta.quote),JsdocTypePredicate:(u,h)=>`${h(u.left)} is ${h(u.right)}`,JsdocTypeIndexSignature:(u,h)=>`[${u.key}: ${h(u.right)}]`,JsdocTypeMappedType:(u,h)=>`[${u.key} in ${h(u.right)}]`,JsdocTypeAsserts:(u,h)=>`asserts ${h(u.left)} is ${h(u.right)}`,JsdocTypeReadonlyArray:(u,h)=>`readonly ${h(u.element)}`,JsdocTypeAssertsPlain:(u,h)=>`asserts ${h(u.element)}`,JsdocTypeConditional:(u,h)=>`${h(u.checksType)} extends ${h(u.extendsType)} ? ${h(u.trueType)} : ${h(u.falseType)}`,JsdocTypeTypeParameter:(u,h)=>`${h(u.name)}${u.constraint!==void 0?` extends ${h(u.constraint)}`:""}${u.defaultValue!==void 0?` = ${h(u.defaultValue)}`:""}`}}let Li=ee();function Mr(u){return xt(Li,u)}let xl=["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 ot(u){let h={type:"NameExpression",name:u};return xl.includes(u)&&(h.reservedWord=!0),h}let Sl={JsdocTypeOptional:(u,h)=>{let w=h(u.element);return w.optional=!0,w},JsdocTypeNullable:(u,h)=>{let w=h(u.element);return w.nullable=!0,w},JsdocTypeNotNullable:(u,h)=>{let w=h(u.element);return w.nullable=!1,w},JsdocTypeVariadic:(u,h)=>{if(u.element===void 0)throw new Error("dots without value are not allowed in catharsis mode");let w=h(u.element);return w.repeatable=!0,w},JsdocTypeAny:()=>({type:"AllLiteral"}),JsdocTypeNull:()=>({type:"NullLiteral"}),JsdocTypeStringValue:u=>ot(Ze(u.value,u.meta.quote)),JsdocTypeUndefined:()=>({type:"UndefinedLiteral"}),JsdocTypeUnknown:()=>({type:"UnknownLiteral"}),JsdocTypeFunction:(u,h)=>{let w=rn(u),C={type:"FunctionType",params:w.params.map(h)};return w.this!==void 0&&(C.this=h(w.this)),w.new!==void 0&&(C.new=h(w.new)),u.returnType!==void 0&&(C.result=h(u.returnType)),C},JsdocTypeGeneric:(u,h)=>({type:"TypeApplication",applications:u.elements.map(w=>h(w)),expression:h(u.left)}),JsdocTypeSpecialNamePath:u=>ot(u.specialType+":"+Ze(u.value,u.meta.quote)),JsdocTypeName:u=>u.value!=="function"?ot(u.value):{type:"FunctionType",params:[]},JsdocTypeNumber:u=>ot(u.value.toString()),JsdocTypeObject:(u,h)=>{let w={type:"RecordType",fields:[]};for(let C of u.elements)C.type!=="JsdocTypeObjectField"&&C.type!=="JsdocTypeJsdocObjectField"?w.fields.push({type:"FieldType",key:h(C),value:void 0}):w.fields.push(h(C));return w},JsdocTypeObjectField:(u,h)=>{if(typeof u.key!="string")throw new Error("Index signatures and mapped types are not supported");return{type:"FieldType",key:ot(Ze(u.key,u.meta.quote)),value:u.right===void 0?void 0:h(u.right)}},JsdocTypeJsdocObjectField:(u,h)=>({type:"FieldType",key:h(u.left),value:h(u.right)}),JsdocTypeUnion:(u,h)=>({type:"TypeUnion",elements:u.elements.map(w=>h(w))}),JsdocTypeKeyValue:(u,h)=>({type:"FieldType",key:ot(u.key),value:u.right===void 0?void 0:h(u.right)}),JsdocTypeNamePath:(u,h)=>{let w=h(u.left),C;u.right.type==="JsdocTypeSpecialNamePath"?C=h(u.right).name:C=Ze(u.right.value,u.right.meta.quote);let U=u.pathType==="inner"?"~":u.pathType==="instance"?"#":".";return ot(`${w.name}${U}${C}`)},JsdocTypeSymbol:u=>{let h="",w=u.element,C=!1;return w?.type==="JsdocTypeVariadic"&&(w.meta.position==="prefix"?h="...":C=!0,w=w.element),w?.type==="JsdocTypeName"?h+=w.value:w?.type==="JsdocTypeNumber"&&(h+=w.value.toString()),C&&(h+="..."),ot(`${u.value}(${h})`)},JsdocTypeParenthesis:(u,h)=>h(E(u.element)),JsdocTypeMappedType:pe,JsdocTypeIndexSignature:pe,JsdocTypeImport:pe,JsdocTypeKeyof:pe,JsdocTypeTuple:pe,JsdocTypeTypeof:pe,JsdocTypeIntersection:pe,JsdocTypeProperty:pe,JsdocTypePredicate:pe,JsdocTypeAsserts:pe,JsdocTypeReadonlyArray:pe,JsdocTypeAssertsPlain:pe,JsdocTypeConditional:pe,JsdocTypeTypeParameter:pe};function Ol(u){return xt(Sl,u)}function vt(u){switch(u){case void 0:return"none";case"single":return"single";case"double":return"double"}}function Al(u){switch(u){case"inner":return"INNER_MEMBER";case"instance":return"INSTANCE_MEMBER";case"property":return"MEMBER";case"property-brackets":return"MEMBER"}}function nn(u,h){return h.length===2?{type:u,left:h[0],right:h[1]}:{type:u,left:h[0],right:nn(u,h.slice(1))}}let Rl={JsdocTypeOptional:(u,h)=>({type:"OPTIONAL",value:h(u.element),meta:{syntax:u.meta.position==="prefix"?"PREFIX_EQUAL_SIGN":"SUFFIX_EQUALS_SIGN"}}),JsdocTypeNullable:(u,h)=>({type:"NULLABLE",value:h(u.element),meta:{syntax:u.meta.position==="prefix"?"PREFIX_QUESTION_MARK":"SUFFIX_QUESTION_MARK"}}),JsdocTypeNotNullable:(u,h)=>({type:"NOT_NULLABLE",value:h(u.element),meta:{syntax:u.meta.position==="prefix"?"PREFIX_BANG":"SUFFIX_BANG"}}),JsdocTypeVariadic:(u,h)=>{let w={type:"VARIADIC",meta:{syntax:u.meta.position==="prefix"?"PREFIX_DOTS":u.meta.position==="suffix"?"SUFFIX_DOTS":"ONLY_DOTS"}};return u.element!==void 0&&(w.value=h(u.element)),w},JsdocTypeName:u=>({type:"NAME",name:u.value}),JsdocTypeTypeof:(u,h)=>({type:"TYPE_QUERY",name:h(u.element)}),JsdocTypeTuple:(u,h)=>({type:"TUPLE",entries:u.elements.map(h)}),JsdocTypeKeyof:(u,h)=>({type:"KEY_QUERY",value:h(u.element)}),JsdocTypeImport:u=>({type:"IMPORT",path:{type:"STRING_VALUE",quoteStyle:vt(u.element.meta.quote),string:u.element.value}}),JsdocTypeUndefined:()=>({type:"NAME",name:"undefined"}),JsdocTypeAny:()=>({type:"ANY"}),JsdocTypeFunction:(u,h)=>{let w=rn(u),C={type:u.arrow?"ARROW":"FUNCTION",params:w.params.map(U=>{if(U.type==="JsdocTypeKeyValue"){if(U.right===void 0)throw new Error("Function parameter without ':' is not expected to be 'KEY_VALUE'");return{type:"NAMED_PARAMETER",name:U.key,typeName:h(U.right)}}else return h(U)}),new:null,returns:null};return w.this!==void 0?C.this=h(w.this):u.arrow||(C.this=null),w.new!==void 0&&(C.new=h(w.new)),u.returnType!==void 0&&(C.returns=h(u.returnType)),C},JsdocTypeGeneric:(u,h)=>{let w={type:"GENERIC",subject:h(u.left),objects:u.elements.map(h),meta:{syntax:u.meta.brackets==="square"?"SQUARE_BRACKET":u.meta.dot?"ANGLE_BRACKET_WITH_DOT":"ANGLE_BRACKET"}};return u.meta.brackets==="square"&&u.elements[0].type==="JsdocTypeFunction"&&!u.elements[0].parenthesis&&(w.objects[0]={type:"NAME",name:"function"}),w},JsdocTypeObjectField:(u,h)=>{if(typeof u.key!="string")throw new Error("Index signatures and mapped types are not supported");if(u.right===void 0)return{type:"RECORD_ENTRY",key:u.key,quoteStyle:vt(u.meta.quote),value:null,readonly:!1};let w=h(u.right);return u.optional&&(w={type:"OPTIONAL",value:w,meta:{syntax:"SUFFIX_KEY_QUESTION_MARK"}}),{type:"RECORD_ENTRY",key:u.key.toString(),quoteStyle:vt(u.meta.quote),value:w,readonly:!1}},JsdocTypeJsdocObjectField:()=>{throw new Error("Keys may not be typed in jsdoctypeparser.")},JsdocTypeKeyValue:(u,h)=>{if(u.right===void 0)return{type:"RECORD_ENTRY",key:u.key,quoteStyle:"none",value:null,readonly:!1};let w=h(u.right);return u.optional&&(w={type:"OPTIONAL",value:w,meta:{syntax:"SUFFIX_KEY_QUESTION_MARK"}}),{type:"RECORD_ENTRY",key:u.key,quoteStyle:"none",value:w,readonly:!1}},JsdocTypeObject:(u,h)=>{let w=[];for(let C of u.elements)(C.type==="JsdocTypeObjectField"||C.type==="JsdocTypeJsdocObjectField")&&w.push(h(C));return{type:"RECORD",entries:w}},JsdocTypeSpecialNamePath:u=>{if(u.specialType!=="module")throw new Error(`jsdoctypeparser does not support type ${u.specialType} at this point.`);return{type:"MODULE",value:{type:"FILE_PATH",quoteStyle:vt(u.meta.quote),path:u.value}}},JsdocTypeNamePath:(u,h)=>{let w=!1,C,U;u.right.type==="JsdocTypeSpecialNamePath"&&u.right.specialType==="event"?(w=!0,C=u.right.value,U=vt(u.right.meta.quote)):(C=u.right.value,U=vt(u.right.meta.quote));let W={type:Al(u.pathType),owner:h(u.left),name:C,quoteStyle:U,hasEventPrefix:w};if(W.owner.type==="MODULE"){let Z=W.owner;return W.owner=W.owner.value,Z.value=W,Z}else return W},JsdocTypeUnion:(u,h)=>nn("UNION",u.elements.map(h)),JsdocTypeParenthesis:(u,h)=>({type:"PARENTHESIS",value:h(E(u.element))}),JsdocTypeNull:()=>({type:"NAME",name:"null"}),JsdocTypeUnknown:()=>({type:"UNKNOWN"}),JsdocTypeStringValue:u=>({type:"STRING_VALUE",quoteStyle:vt(u.meta.quote),string:u.value}),JsdocTypeIntersection:(u,h)=>nn("INTERSECTION",u.elements.map(h)),JsdocTypeNumber:u=>({type:"NUMBER_VALUE",number:u.value.toString()}),JsdocTypeSymbol:pe,JsdocTypeProperty:pe,JsdocTypePredicate:pe,JsdocTypeMappedType:pe,JsdocTypeIndexSignature:pe,JsdocTypeAsserts:pe,JsdocTypeReadonlyArray:pe,JsdocTypeAssertsPlain:pe,JsdocTypeConditional:pe,JsdocTypeTypeParameter:pe};function Cl(u){return xt(Rl,u)}function Pl(){return{JsdocTypeIntersection:(u,h)=>({type:"JsdocTypeIntersection",elements:u.elements.map(h)}),JsdocTypeGeneric:(u,h)=>({type:"JsdocTypeGeneric",left:h(u.left),elements:u.elements.map(h),meta:{dot:u.meta.dot,brackets:u.meta.brackets}}),JsdocTypeNullable:u=>u,JsdocTypeUnion:(u,h)=>({type:"JsdocTypeUnion",elements:u.elements.map(h)}),JsdocTypeUnknown:u=>u,JsdocTypeUndefined:u=>u,JsdocTypeTypeof:(u,h)=>({type:"JsdocTypeTypeof",element:h(u.element)}),JsdocTypeSymbol:(u,h)=>{let w={type:"JsdocTypeSymbol",value:u.value};return u.element!==void 0&&(w.element=h(u.element)),w},JsdocTypeOptional:(u,h)=>({type:"JsdocTypeOptional",element:h(u.element),meta:{position:u.meta.position}}),JsdocTypeObject:(u,h)=>({type:"JsdocTypeObject",meta:{separator:"comma"},elements:u.elements.map(h)}),JsdocTypeNumber:u=>u,JsdocTypeNull:u=>u,JsdocTypeNotNullable:(u,h)=>({type:"JsdocTypeNotNullable",element:h(u.element),meta:{position:u.meta.position}}),JsdocTypeSpecialNamePath:u=>u,JsdocTypeObjectField:(u,h)=>({type:"JsdocTypeObjectField",key:u.key,right:u.right===void 0?void 0:h(u.right),optional:u.optional,readonly:u.readonly,meta:u.meta}),JsdocTypeJsdocObjectField:(u,h)=>({type:"JsdocTypeJsdocObjectField",left:h(u.left),right:h(u.right)}),JsdocTypeKeyValue:(u,h)=>({type:"JsdocTypeKeyValue",key:u.key,right:u.right===void 0?void 0:h(u.right),optional:u.optional,variadic:u.variadic}),JsdocTypeImport:(u,h)=>({type:"JsdocTypeImport",element:h(u.element)}),JsdocTypeAny:u=>u,JsdocTypeStringValue:u=>u,JsdocTypeNamePath:u=>u,JsdocTypeVariadic:(u,h)=>{let w={type:"JsdocTypeVariadic",meta:{position:u.meta.position,squareBrackets:u.meta.squareBrackets}};return u.element!==void 0&&(w.element=h(u.element)),w},JsdocTypeTuple:(u,h)=>({type:"JsdocTypeTuple",elements:u.elements.map(h)}),JsdocTypeName:u=>u,JsdocTypeFunction:(u,h)=>{let w={type:"JsdocTypeFunction",arrow:u.arrow,parameters:u.parameters.map(h),constructor:u.constructor,parenthesis:u.parenthesis};return u.returnType!==void 0&&(w.returnType=h(u.returnType)),w},JsdocTypeKeyof:(u,h)=>({type:"JsdocTypeKeyof",element:h(u.element)}),JsdocTypeParenthesis:(u,h)=>({type:"JsdocTypeParenthesis",element:h(u.element)}),JsdocTypeProperty:u=>u,JsdocTypePredicate:(u,h)=>({type:"JsdocTypePredicate",left:h(u.left),right:h(u.right)}),JsdocTypeIndexSignature:(u,h)=>({type:"JsdocTypeIndexSignature",key:u.key,right:h(u.right)}),JsdocTypeMappedType:(u,h)=>({type:"JsdocTypeMappedType",key:u.key,right:h(u.right)}),JsdocTypeAsserts:(u,h)=>({type:"JsdocTypeAsserts",left:h(u.left),right:h(u.right)}),JsdocTypeReadonlyArray:(u,h)=>({type:"JsdocTypeReadonlyArray",element:h(u.element)}),JsdocTypeAssertsPlain:(u,h)=>({type:"JsdocTypeAssertsPlain",element:h(u.element)}),JsdocTypeConditional:(u,h)=>({type:"JsdocTypeConditional",checksType:h(u.checksType),extendsType:h(u.extendsType),trueType:h(u.trueType),falseType:h(u.falseType)}),JsdocTypeTypeParameter:(u,h)=>({type:"JsdocTypeTypeParameter",name:h(u.name),constraint:u.constraint!==void 0?h(u.constraint):void 0,defaultValue:u.defaultValue!==void 0?h(u.defaultValue):void 0})}}let $i={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 on(u,h,w,C,U){C?.(u,h,w);let W=$i[u.type];for(let Z of W){let fe=u[Z];if(fe!==void 0)if(Array.isArray(fe))for(let me of fe)on(me,u,Z,C,U);else on(fe,u,Z,C,U)}U?.(u,h,w)}function Ml(u,h,w){on(u,void 0,void 0,h,w)}r.catharsisTransform=Ol,r.identityTransformRules=Pl,r.jtpTransform=Cl,r.parse=tn,r.stringify=Mr,r.stringifyRules=ee,r.transform=xt,r.traverse=Ml,r.tryParse=Di,r.visitorKeys=$i}))}}),LC=M({"../../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(c,l){for(var d=0;d<l.length;d++){var p=l[d];p.enumerable=p.enumerable||!1,p.configurable=!0,"value"in p&&(p.writable=!0),Object.defineProperty(c,(f=p.key,m=void 0,typeof(m=(function(y,g){if(typeof y!="object"||y===null)return y;var v=y[Symbol.toPrimitive];if(v!==void 0){var b=v.call(y,g);if(typeof b!="object")return b;throw new TypeError("@@toPrimitive must return a primitive value.")}return(g==="string"?String:Number)(y)})(f,"string"))=="symbol"?m:String(m)),p)}var f,m}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"},i={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"},o=function(c){var l=new RegExp("^-?\\d+(?:.\\d{0,".concat(arguments.length>1&&arguments[1]!==void 0?arguments[1]:-1,"})?")),d=Number(c).toString().match(l);return d?d[0]:null},a=function(){return typeof window<"u"?window.navigator:null},s=(function(){function c(f){var m;(function(y,g){if(!(y instanceof g))throw new TypeError("Cannot call a class as a function")})(this,c),this.userAgent=f||((m=a())===null||m===void 0?void 0:m.userAgent)||null}var l,d,p;return l=c,d=[{key:"parseUserAgent",value:function(f){var m,y,g,v={},b=f||this.userAgent||"",T=b.toLowerCase().replace(/\s\s+/g," "),O=/(edge)\/([\w.]+)/.exec(T)||/(edg)[/]([\w.]+)/.exec(T)||/(opr)[/]([\w.]+)/.exec(T)||/(opt)[/]([\w.]+)/.exec(T)||/(fxios)[/]([\w.]+)/.exec(T)||/(edgios)[/]([\w.]+)/.exec(T)||/(jsdom)[/]([\w.]+)/.exec(T)||/(samsungbrowser)[/]([\w.]+)/.exec(T)||/(electron)[/]([\w.]+)/.exec(T)||/(chrome)[/]([\w.]+)/.exec(T)||/(crios)[/]([\w.]+)/.exec(T)||/(opios)[/]([\w.]+)/.exec(T)||/(version)(applewebkit)[/]([\w.]+).*(safari)[/]([\w.]+)/.exec(T)||/(webkit)[/]([\w.]+).*(version)[/]([\w.]+).*(safari)[/]([\w.]+)/.exec(T)||/(applewebkit)[/]([\w.]+).*(safari)[/]([\w.]+)/.exec(T)||/(webkit)[/]([\w.]+)/.exec(T)||/(opera)(?:.*version|)[/]([\w.]+)/.exec(T)||/(msie) ([\w.]+)/.exec(T)||/(fennec)[/]([\w.]+)/.exec(T)||T.indexOf("trident")>=0&&/(rv)(?::| )([\w.]+)/.exec(T)||T.indexOf("compatible")<0&&/(mozilla)(?:.*? rv:([\w.]+)|)/.exec(T)||[],R=/(ipad)/.exec(T)||/(ipod)/.exec(T)||/(iphone)/.exec(T)||/(jsdom)/.exec(T)||/(windows phone)/.exec(T)||/(xbox)/.exec(T)||/(win)/.exec(T)||/(tablet)/.exec(T)||/(android)/.test(T)&&/(mobile)/.test(T)===!1&&["androidTablet"]||/(android)/.exec(T)||/(mac)/.exec(T)||/(linux)/.exec(T)||/(cros)/.exec(T)||[],P=O[5]||O[3]||O[1]||null,E=R[0]||null,_=O[4]||O[2]||null,x=a();P==="chrome"&&typeof(x==null||(m=x.brave)===null||m===void 0?void 0:m.isBrave)=="function"&&(P="brave"),P&&(v[P]=!0),E&&(v[E]=!0);var S=!!(v.tablet||v.android||v.androidTablet),L=!!(v.ipad||v.tablet||v.androidTablet),j=!!(v.android||v.androidTablet||v.tablet||v.ipad||v.ipod||v.iphone||v["windows phone"]),J=!!(v.cros||v.mac||v.linux||v.win),N=!!(v.brave||v.chrome||v.crios||v.opr||v.safari||v.edg||v.electron),A=!!(v.msie||v.rv);return{name:(y=n[P])!==null&&y!==void 0?y:null,platform:(g=i[E])!==null&&g!==void 0?g:null,userAgent:b,version:_,shortVersion:_?o(parseFloat(_),2):null,isAndroid:S,isTablet:L,isMobile:j,isDesktop:J,isWebkit:N,isIE:A}}},{key:"getBrowserInfo",value:function(){var f=this.parseUserAgent();return{name:f.name,platform:f.platform,userAgent:f.userAgent,version:f.version,shortVersion:f.shortVersion}}}],p=[{key:"VERSION",get:function(){return"3.4.0"}}],d&&r(l.prototype,d),p&&r(l,p),Object.defineProperty(l,"prototype",{writable:!1}),c})();return s}))}}),ld={};Tt(ld,{ARGTYPES_INFO_REQUEST:()=>tb,ARGTYPES_INFO_RESPONSE:()=>Nu,CHANNEL_CREATED:()=>BC,CHANNEL_WS_DISCONNECT:()=>jg,CONFIG_ERROR:()=>qg,CREATE_NEW_STORYFILE_REQUEST:()=>UC,CREATE_NEW_STORYFILE_RESPONSE:()=>HC,CURRENT_STORY_WAS_SET:()=>Cu,DOCS_PREPARED:()=>Fg,DOCS_RENDERED:()=>cd,FILE_COMPONENT_SEARCH_REQUEST:()=>JC,FILE_COMPONENT_SEARCH_RESPONSE:()=>VC,FORCE_REMOUNT:()=>Ka,FORCE_RE_RENDER:()=>dd,GHOST_STORIES_REQUEST:()=>cP,GHOST_STORIES_RESPONSE:()=>dP,GLOBALS_UPDATED:()=>ho,MANAGER_INERT_ATTRIBUTE_CHANGED:()=>rb,NAVIGATE_URL:()=>zC,OPEN_IN_EDITOR_REQUEST:()=>pP,OPEN_IN_EDITOR_RESPONSE:()=>fP,PLAY_FUNCTION_THREW_EXCEPTION:()=>Dg,PRELOAD_ENTRIES:()=>$g,PREVIEW_BUILDER_PROGRESS:()=>GC,PREVIEW_INITIALIZED:()=>Bg,PREVIEW_KEYDOWN:()=>Ug,REGISTER_SUBSCRIPTION:()=>WC,REQUEST_WHATS_NEW_DATA:()=>iP,RESET_STORY_ARGS:()=>pd,RESULT_WHATS_NEW_DATA:()=>oP,SAVE_STORY_REQUEST:()=>lP,SAVE_STORY_RESPONSE:()=>uP,SELECT_STORY:()=>KC,SET_CONFIG:()=>YC,SET_CURRENT_STORY:()=>fd,SET_FILTER:()=>XC,SET_GLOBALS:()=>Hg,SET_INDEX:()=>QC,SET_STORIES:()=>ZC,SET_WHATS_NEW_CACHE:()=>aP,SHARED_STATE_CHANGED:()=>eP,SHARED_STATE_SET:()=>tP,SHARE_ISOLATE_MODE:()=>hP,SHARE_POPOVER_OPENED:()=>yP,SHARE_STORY_LINK:()=>mP,STORIES_COLLAPSE_ALL:()=>rP,STORIES_EXPAND_ALL:()=>nP,STORY_ARGS_UPDATED:()=>Jg,STORY_CHANGED:()=>Vg,STORY_ERRORED:()=>zg,STORY_FINISHED:()=>Mu,STORY_HOT_UPDATED:()=>Qg,STORY_INDEX_INVALIDATED:()=>Gg,STORY_MISSING:()=>Pu,STORY_PREPARED:()=>Wg,STORY_RENDERED:()=>Ya,STORY_RENDER_PHASE_CHANGED:()=>wn,STORY_SPECIFIED:()=>Kg,STORY_THREW_EXCEPTION:()=>Yg,STORY_UNCHANGED:()=>Xg,TELEMETRY_ERROR:()=>eb,TOGGLE_WHATS_NEW_NOTIFICATIONS:()=>sP,UNHANDLED_ERRORS_WHILE_PLAYING:()=>Lg,UPDATE_GLOBALS:()=>md,UPDATE_QUERY_PARAMS:()=>Zg,UPDATE_STORY_ARGS:()=>hd,default:()=>$C});var ud=(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.SHARE_STORY_LINK="shareStoryLink",e.SHARE_ISOLATE_MODE="shareIsolateMode",e.SHARE_POPOVER_OPENED="sharePopoverOpened",e))(ud||{}),$C=ud,{CHANNEL_WS_DISCONNECT:jg,CHANNEL_CREATED:BC,CONFIG_ERROR:qg,CREATE_NEW_STORYFILE_REQUEST:UC,CREATE_NEW_STORYFILE_RESPONSE:HC,CURRENT_STORY_WAS_SET:Cu,DOCS_PREPARED:Fg,DOCS_RENDERED:cd,FILE_COMPONENT_SEARCH_REQUEST:JC,FILE_COMPONENT_SEARCH_RESPONSE:VC,FORCE_RE_RENDER:dd,FORCE_REMOUNT:Ka,GLOBALS_UPDATED:ho,NAVIGATE_URL:zC,PLAY_FUNCTION_THREW_EXCEPTION:Dg,UNHANDLED_ERRORS_WHILE_PLAYING:Lg,PRELOAD_ENTRIES:$g,PREVIEW_INITIALIZED:Bg,PREVIEW_BUILDER_PROGRESS:GC,PREVIEW_KEYDOWN:Ug,REGISTER_SUBSCRIPTION:WC,RESET_STORY_ARGS:pd,SELECT_STORY:KC,SET_CONFIG:YC,SET_CURRENT_STORY:fd,SET_FILTER:XC,SET_GLOBALS:Hg,SET_INDEX:QC,SET_STORIES:ZC,SHARED_STATE_CHANGED:eP,SHARED_STATE_SET:tP,STORIES_COLLAPSE_ALL:rP,STORIES_EXPAND_ALL:nP,STORY_ARGS_UPDATED:Jg,STORY_CHANGED:Vg,STORY_ERRORED:zg,STORY_INDEX_INVALIDATED:Gg,STORY_MISSING:Pu,STORY_PREPARED:Wg,STORY_RENDER_PHASE_CHANGED:wn,STORY_RENDERED:Ya,STORY_FINISHED:Mu,STORY_SPECIFIED:Kg,STORY_THREW_EXCEPTION:Yg,STORY_UNCHANGED:Xg,STORY_HOT_UPDATED:Qg,UPDATE_GLOBALS:md,UPDATE_QUERY_PARAMS:Zg,UPDATE_STORY_ARGS:hd,REQUEST_WHATS_NEW_DATA:iP,RESULT_WHATS_NEW_DATA:oP,SET_WHATS_NEW_CACHE:aP,TOGGLE_WHATS_NEW_NOTIFICATIONS:sP,TELEMETRY_ERROR:eb,SAVE_STORY_REQUEST:lP,SAVE_STORY_RESPONSE:uP,ARGTYPES_INFO_REQUEST:tb,ARGTYPES_INFO_RESPONSE:Nu,GHOST_STORIES_REQUEST:cP,GHOST_STORIES_RESPONSE:dP,OPEN_IN_EDITOR_REQUEST:pP,OPEN_IN_EDITOR_RESPONSE:fP,MANAGER_INERT_ATTRIBUTE_CHANGED:rb,SHARE_STORY_LINK:mP,SHARE_ISOLATE_MODE:hP,SHARE_POPOVER_OPENED:yP}=ud,nb={};Tt(nb,{global:()=>re});var re=(()=>{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})(),ib={"@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__"},gP=Object.keys(ib),ob={};Tt(ob,{Channel:()=>qs,HEARTBEAT_INTERVAL:()=>Cb,HEARTBEAT_MAX_LATENCY:()=>Pb,PostMessageTransport:()=>Rb,WebsocketTransport:()=>Mb,createBrowserChannel:()=>MN,default:()=>PN});function xe(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 i=n.reduce(function(s,c){var l=c.match(/\n([\t ]+|(?!\s).)/g);return l?s.concat(l.map(function(d){var p,f;return(f=(p=d.match(/[\t ]/g))===null||p===void 0?void 0:p.length)!==null&&f!==void 0?f:0})):s},[]);if(i.length){var o=new RegExp(`
23
+ [ ]{`+Math.min.apply(Math,i)+"}","g");n=n.map(function(s){return s.replace(o,`
24
+ `)})}n[0]=n[0].replace(/^\r?\n/,"");var a=n[0];return t.forEach(function(s,c){var l=a.match(/(?:^|\n)( *)$/),d=l?l[1]:"",p=s;typeof s=="string"&&s.includes(`
25
+ `)&&(p=String(s).split(`
26
+ `).map(function(f,m){return m===0?f:""+d+f}).join(`
27
+ `)),a+=p+n[c+1]}),a}var Cf=new Map,bP="UNIVERSAL_STORE:",It={PENDING:"PENDING",RESOLVED:"RESOLVED",REJECTED:"REJECTED"},dn=class be{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,i)=>{let o=typeof n=="function",a=o?"*":n,s=o?n:i;if(this.debug("subscribe",{eventType:a,listener:s}),!s)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(a)||this.listeners.set(a,new Set),this.listeners.get(a).add(s),()=>{this.debug("unsubscribe",{eventType:a,listener:s}),this.listeners.has(a)&&(this.listeners.get(a).delete(s),this.listeners.get(a)?.size===0&&this.listeners.delete(a))}},this.send=n=>{if(this.debug("send",{event:n}),this.status!==be.Status.READY)throw new TypeError(xe`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,!be.isInternalConstructing)throw new TypeError("UniversalStore is not constructable - use UniversalStore.create() instead");if(be.isInternalConstructing=!1,this.id=t.id,this.actorId=Date.now().toString(36)+Math.random().toString(36).substring(2),this.actorType=t.leader?be.ActorType.LEADER:be.ActorType.FOLLOWER,this.state=t.initialState,this.channelEventName=`${bP}${this.id}`,this.debug("constructor",{options:t,environmentOverrides:r,channelEventName:this.channelEventName}),this.actor.type===be.ActorType.LEADER)this.syncing={state:It.RESOLVED,promise:Promise.resolve()};else{let n,i,o=new Promise((a,s)=>{n=()=>{this.syncing.state===It.PENDING&&(this.syncing.state=It.RESOLVED,a())},i=c=>{this.syncing.state===It.PENDING&&(this.syncing.state=It.REJECTED,s(c))}});this.syncing={state:It.PENDING,promise:o,resolve:n,reject:i}}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??be.preparation.channel,this.environment=r?.environment??be.preparation.environment,this.channel&&this.environment?(be.preparation.resolve({channel:this.channel,environment:this.environment}),this.prepareThis({channel:this.channel,environment:this.environment})):be.preparation.promise.then(this.prepareThis)}static setupPreparationPromise(){let t,r,n=new Promise((i,o)=>{t=a=>{i(a)},r=(...a)=>{o(a)}});be.preparation={resolve:t,reject:r,promise:n}}get actor(){return Object.freeze({id:this.actorId,type:this.actorType,environment:this.environment??be.Environment.UNKNOWN})}get status(){if(!this.channel||!this.environment)return be.Status.UNPREPARED;switch(this.syncing?.state){case It.PENDING:case void 0:return be.Status.SYNCING;case It.REJECTED:return be.Status.ERROR;case It.RESOLVED:default:return be.Status.READY}}untilReady(){return Promise.all([be.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(xe`[UniversalStore]
30
+ create`,{options:t});let r=Cf.get(t.id);if(r)return console.warn(xe`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;be.isInternalConstructing=!0;let n=new be(t);return Cf.set(t.id,n),n}static __prepare(t,r){be.preparation.channel=t,be.preparation.environment=r,be.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!==be.Status.READY)throw new TypeError(xe`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 i={type:be.InternalEventType.SET_STATE,payload:{state:n,previousState:r}};this.emitToChannel(i,{actor:this.actor}),this.emitToListeners(i,{actor:this.actor})}onStateChange(t){return this.debug("onStateChange",{listener:t}),this.subscribe(be.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===be.ActorType.LEADER?this.emitToChannel({type:be.InternalEventType.LEADER_CREATED},{actor:this.actor}):(this.emitToChannel({type:be.InternalEventType.FOLLOWER_CREATED},{actor:this.actor}),this.emitToChannel({type:be.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),i=this.listeners.get("*");this.debug("emitToListeners",{event:t,eventInfo:r,eventTypeListeners:n,everythingListeners:i}),[...n??[],...i??[]].forEach(o=>o(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===It.PENDING&&r.type!==be.InternalEventType.EXISTING_STATE_RESPONSE){this.debug("handleChannelEvents: Ignoring event while syncing",{channelEvent:t});return}if(this.debug("handleChannelEvents",{channelEvent:t}),this.actor.type===be.ActorType.LEADER){let i=!0;switch(r.type){case be.InternalEventType.EXISTING_STATE_REQUEST:i=!1;let o={type:be.InternalEventType.EXISTING_STATE_RESPONSE,payload:this.state};this.debug("handleChannelEvents: responding to existing state request",{responseEvent:o}),this.emitToChannel(o,{actor:this.actor}),this.emitToListeners(o,{actor:this.actor});break;case be.InternalEventType.LEADER_CREATED:i=!1,this.syncing.state=It.REJECTED,this.debug("handleChannelEvents: erroring due to second leader being created",{event:r}),console.error(xe`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}i&&(this.debug("handleChannelEvents: forwarding event",{channelEvent:t}),this.emitToChannel(r,{actor:n.actor,forwardingActor:this.actor}))}if(this.actor.type===be.ActorType.FOLLOWER)switch(r.type){case be.InternalEventType.EXISTING_STATE_RESPONSE:if(this.debug("handleChannelEvents: Setting state from leader's existing state response",{event:r}),this.syncing?.state!==It.PENDING)break;this.syncing.resolve?.();let i={type:be.InternalEventType.SET_STATE,payload:{state:r.payload,previousState:this.state}};this.state=r.payload,this.emitToListeners(i,n);break}switch(r.type){case be.InternalEventType.SET_STATE:this.debug("handleChannelEvents: Setting state",{event:r}),this.state=r.payload.state;break}this.emitToListeners(r,{actor:n.actor})}debug(t,r){this.debugging&&console.debug(xe`[UniversalStore::${this.id}::${this.environment??be.Environment.UNKNOWN}]
38
+ ${t}`,JSON.stringify({data:r,actor:this.actor,state:this.state,status:this.status},null,2))}static __reset(){be.preparation.reject(new Error("reset")),be.setupPreparationPromise(),be.isInternalConstructing=!1}};dn.ActorType={LEADER:"LEADER",FOLLOWER:"FOLLOWER"},dn.Environment={SERVER:"SERVER",MANAGER:"MANAGER",PREVIEW:"PREVIEW",UNKNOWN:"UNKNOWN",MOCK:"MOCK"},dn.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"},dn.Status={UNPREPARED:"UNPREPARED",SYNCING:"SYNCING",READY:"READY",ERROR:"ERROR"},dn.isInternalConstructing=!1,dn.setupPreparationPromise();var Nl=dn,vP=e=>e.transports!==void 0,EP=()=>Math.random().toString(16).slice(2),qs=class{constructor(e={}){this.sender=EP(),this.events={},this.data={},this.transports=[],this.isAsync=e.async||!1,vP(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 i=()=>{this.transports.forEach(o=>{o.send(r,n)}),this.handleEvent(r)};this.isAsync?setImmediate(i):i()}last(e){return this.data[e]}eventNames(){return Object.keys(this.events)}listenerCount(e){let t=this.listeners(e);return t?t.length:0}listeners(e){return this.events[e]||void 0}once(e,t){let 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}},ab={};Tt(ab,{deprecate:()=>yd,logger:()=>Le,once:()=>Ge,pretty:()=>Pt});var{LOGLEVEL:wP}=re,Fr={trace:1,debug:2,info:3,warn:4,error:5,silent:10},_P=wP,qn=Fr[_P]||Fr.info,Le={trace:(e,...t)=>{qn<=Fr.trace&&console.trace(e,...t)},debug:(e,...t)=>{qn<=Fr.debug&&console.debug(e,...t)},info:(e,...t)=>{qn<=Fr.info&&console.info(e,...t)},warn:(e,...t)=>{qn<=Fr.warn&&console.warn(e,...t)},error:(e,...t)=>{qn<=Fr.error&&console.error(e,...t)},log:(e,...t)=>{qn<Fr.silent&&console.log(e,...t)}},ku=new Set,Ge=e=>(t,...r)=>{if(!ku.has(t))return ku.add(t),Le[e](t,...r)};Ge.clear=()=>ku.clear();Ge.trace=Ge("trace");Ge.debug=Ge("debug");Ge.info=Ge("info");Ge.warn=Ge("warn");Ge.error=Ge("error");Ge.log=Ge("log");var yd=Ge("warn"),Pt=e=>(...t)=>{let r=[];if(t.length){let n=/<span\s+style=(['"])([^'"]*)\1\s*>/gi,i=/<\/span>/gi,o;for(r.push(t[0].replace(n,"%c").replace(i,"%c"));o=n.exec(t[0]);)r.push(o[2]),r.push("");for(let a=1;a<t.length;a++)r.push(t[a])}Le[e].apply(Le,r)};Pt.trace=Pt("trace");Pt.debug=Pt("debug");Pt.info=Pt("info");Pt.warn=Pt("warn");Pt.error=Pt("error");var TP=Object.create,sb=Object.defineProperty,xP=Object.getOwnPropertyDescriptor,lb=Object.getOwnPropertyNames,SP=Object.getPrototypeOf,OP=Object.prototype.hasOwnProperty,we=(e,t)=>function(){return t||(0,e[lb(e)[0]])((t={exports:{}}).exports,t),t.exports},AP=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of lb(t))!OP.call(e,i)&&i!==r&&sb(e,i,{get:()=>t[i],enumerable:!(n=xP(t,i))||n.enumerable});return e},gd=(e,t,r)=>(r=e!=null?TP(SP(e)):{},AP(!e||!e.__esModule?sb(r,"default",{value:e,enumerable:!0}):r,e)),RP=["bubbles","cancelBubble","cancelable","composed","currentTarget","defaultPrevented","eventPhase","isTrusted","returnValue","srcElement","target","timeStamp","type"],CP=["detail"];function PP(e){let t=RP.filter(r=>e[r]!==void 0).reduce((r,n)=>(r[n]=e[n],r),{});if(e instanceof CustomEvent)for(let r of CP.filter(n=>e[n]!==void 0))t[r]=e[r];return t}var ub=we({"node_modules/.pnpm/es-object-atoms@1.1.1/node_modules/es-object-atoms/index.js"(e,t){t.exports=Object}}),MP=we({"node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/index.js"(e,t){t.exports=Error}}),NP=we({"node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/eval.js"(e,t){t.exports=EvalError}}),kP=we({"node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/range.js"(e,t){t.exports=RangeError}}),IP=we({"node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/ref.js"(e,t){t.exports=ReferenceError}}),jP=we({"node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/syntax.js"(e,t){t.exports=SyntaxError}}),bd=we({"node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/type.js"(e,t){t.exports=TypeError}}),qP=we({"node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/uri.js"(e,t){t.exports=URIError}}),FP=we({"node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/abs.js"(e,t){t.exports=Math.abs}}),DP=we({"node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/floor.js"(e,t){t.exports=Math.floor}}),LP=we({"node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/max.js"(e,t){t.exports=Math.max}}),$P=we({"node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/min.js"(e,t){t.exports=Math.min}}),BP=we({"node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/pow.js"(e,t){t.exports=Math.pow}}),UP=we({"node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/round.js"(e,t){t.exports=Math.round}}),HP=we({"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}}}),JP=we({"node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/sign.js"(e,t){var r=HP();t.exports=function(n){return r(n)||n===0?n:n<0?-1:1}}}),VP=we({"node_modules/.pnpm/gopd@1.2.0/node_modules/gopd/gOPD.js"(e,t){t.exports=Object.getOwnPropertyDescriptor}}),vd=we({"node_modules/.pnpm/gopd@1.2.0/node_modules/gopd/index.js"(e,t){var r=VP();if(r)try{r([],"length")}catch{r=null}t.exports=r}}),zP=we({"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}}),cb=we({"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"),i=Object(n);if(typeof n=="string"||Object.prototype.toString.call(n)!=="[object Symbol]"||Object.prototype.toString.call(i)!=="[object Symbol]")return!1;var o=42;r[n]=o;for(var a 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 s=Object.getOwnPropertySymbols(r);if(s.length!==1||s[0]!==n||!Object.prototype.propertyIsEnumerable.call(r,n))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var c=Object.getOwnPropertyDescriptor(r,n);if(c.value!==o||c.enumerable!==!0)return!1}return!0}}}),db=we({"node_modules/.pnpm/has-symbols@1.1.0/node_modules/has-symbols/index.js"(e,t){var r=typeof Symbol<"u"&&Symbol,n=cb();t.exports=function(){return typeof r!="function"||typeof Symbol!="function"||typeof r("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:n()}}}),pb=we({"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}}),fb=we({"node_modules/.pnpm/get-proto@1.0.1/node_modules/get-proto/Object.getPrototypeOf.js"(e,t){var r=ub();t.exports=r.getPrototypeOf||null}}),GP=we({"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,i=Math.max,o="[object Function]",a=function(l,d){for(var p=[],f=0;f<l.length;f+=1)p[f]=l[f];for(var m=0;m<d.length;m+=1)p[m+l.length]=d[m];return p},s=function(l,d){for(var p=[],f=d,m=0;f<l.length;f+=1,m+=1)p[m]=l[f];return p},c=function(l,d){for(var p="",f=0;f<l.length;f+=1)p+=l[f],f+1<l.length&&(p+=d);return p};t.exports=function(l){var d=this;if(typeof d!="function"||n.apply(d)!==o)throw new TypeError(r+d);for(var p=s(arguments,1),f,m=function(){if(this instanceof f){var T=d.apply(this,a(p,arguments));return Object(T)===T?T:this}return d.apply(l,a(p,arguments))},y=i(0,d.length-p.length),g=[],v=0;v<y;v++)g[v]="$"+v;if(f=Function("binder","return function ("+c(g,",")+"){ return binder.apply(this,arguments); }")(m),d.prototype){var b=function(){};b.prototype=d.prototype,f.prototype=new b,b.prototype=null}return f}}}),Fs=we({"node_modules/.pnpm/function-bind@1.1.2/node_modules/function-bind/index.js"(e,t){var r=GP();t.exports=Function.prototype.bind||r}}),Ed=we({"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}}),mb=we({"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}}),WP=we({"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}}),KP=we({"node_modules/.pnpm/call-bind-apply-helpers@1.0.2/node_modules/call-bind-apply-helpers/actualApply.js"(e,t){var r=Fs(),n=mb(),i=Ed(),o=WP();t.exports=o||r.call(i,n)}}),hb=we({"node_modules/.pnpm/call-bind-apply-helpers@1.0.2/node_modules/call-bind-apply-helpers/index.js"(e,t){var r=Fs(),n=bd(),i=Ed(),o=KP();t.exports=function(a){if(a.length<1||typeof a[0]!="function")throw new n("a function is required");return o(r,i,a)}}}),YP=we({"node_modules/.pnpm/dunder-proto@1.0.1/node_modules/dunder-proto/get.js"(e,t){var r=hb(),n=vd(),i;try{i=[].__proto__===Array.prototype}catch(c){if(!c||typeof c!="object"||!("code"in c)||c.code!=="ERR_PROTO_ACCESS")throw c}var o=!!i&&n&&n(Object.prototype,"__proto__"),a=Object,s=a.getPrototypeOf;t.exports=o&&typeof o.get=="function"?r([o.get]):typeof s=="function"?(function(c){return s(c==null?c:a(c))}):!1}}),XP=we({"node_modules/.pnpm/get-proto@1.0.1/node_modules/get-proto/index.js"(e,t){var r=pb(),n=fb(),i=YP();t.exports=r?function(o){return r(o)}:n?function(o){if(!o||typeof o!="object"&&typeof o!="function")throw new TypeError("getProto: not an object");return n(o)}:i?function(o){return i(o)}:null}}),yb=we({"node_modules/.pnpm/hasown@2.0.2/node_modules/hasown/index.js"(e,t){var r=Function.prototype.call,n=Object.prototype.hasOwnProperty,i=Fs();t.exports=i.call(r,n)}}),QP=we({"node_modules/.pnpm/get-intrinsic@1.3.0/node_modules/get-intrinsic/index.js"(e,t){var r,n=ub(),i=MP(),o=NP(),a=kP(),s=IP(),c=jP(),l=bd(),d=qP(),p=FP(),f=DP(),m=LP(),y=$P(),g=BP(),v=UP(),b=JP(),T=Function,O=function(te){try{return T('"use strict"; return ('+te+").constructor;")()}catch{}},R=vd(),P=zP(),E=function(){throw new l},_=R?(function(){try{return arguments.callee,E}catch{try{return R(arguments,"callee").get}catch{return E}}})():E,x=db()(),S=XP(),L=fb(),j=pb(),J=mb(),N=Ed(),A={},q=typeof Uint8Array>"u"||!S?r:S(Uint8Array),$={__proto__:null,"%AggregateError%":typeof AggregateError>"u"?r:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?r:ArrayBuffer,"%ArrayIteratorPrototype%":x&&S?S([][Symbol.iterator]()):r,"%AsyncFromSyncIteratorPrototype%":r,"%AsyncFunction%":A,"%AsyncGenerator%":A,"%AsyncGeneratorFunction%":A,"%AsyncIteratorPrototype%":A,"%Atomics%":typeof Atomics>"u"?r:Atomics,"%BigInt%":typeof BigInt>"u"?r:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?r:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?r:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?r:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":i,"%eval%":eval,"%EvalError%":o,"%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%":T,"%GeneratorFunction%":A,"%Int8Array%":typeof Int8Array>"u"?r:Int8Array,"%Int16Array%":typeof Int16Array>"u"?r:Int16Array,"%Int32Array%":typeof Int32Array>"u"?r:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":x&&S?S(S([][Symbol.iterator]())):r,"%JSON%":typeof JSON=="object"?JSON:r,"%Map%":typeof Map>"u"?r:Map,"%MapIteratorPrototype%":typeof Map>"u"||!x||!S?r:S(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":n,"%Object.getOwnPropertyDescriptor%":R,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?r:Promise,"%Proxy%":typeof Proxy>"u"?r:Proxy,"%RangeError%":a,"%ReferenceError%":s,"%Reflect%":typeof Reflect>"u"?r:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?r:Set,"%SetIteratorPrototype%":typeof Set>"u"||!x||!S?r:S(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?r:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":x&&S?S(""[Symbol.iterator]()):r,"%Symbol%":x?Symbol:r,"%SyntaxError%":c,"%ThrowTypeError%":_,"%TypedArray%":q,"%TypeError%":l,"%Uint8Array%":typeof Uint8Array>"u"?r:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?r:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?r:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?r:Uint32Array,"%URIError%":d,"%WeakMap%":typeof WeakMap>"u"?r:WeakMap,"%WeakRef%":typeof WeakRef>"u"?r:WeakRef,"%WeakSet%":typeof WeakSet>"u"?r:WeakSet,"%Function.prototype.call%":N,"%Function.prototype.apply%":J,"%Object.defineProperty%":P,"%Object.getPrototypeOf%":L,"%Math.abs%":p,"%Math.floor%":f,"%Math.max%":m,"%Math.min%":y,"%Math.pow%":g,"%Math.round%":v,"%Math.sign%":b,"%Reflect.getPrototypeOf%":j};if(S)try{null.error}catch(te){V=S(S(te)),$["%Error.prototype%"]=V}var V,Y=function te(ne){var ae;if(ne==="%AsyncFunction%")ae=O("async function () {}");else if(ne==="%GeneratorFunction%")ae=O("function* () {}");else if(ne==="%AsyncGeneratorFunction%")ae=O("async function* () {}");else if(ne==="%AsyncGenerator%"){var ce=te("%AsyncGeneratorFunction%");ce&&(ae=ce.prototype)}else if(ne==="%AsyncIteratorPrototype%"){var de=te("%AsyncGenerator%");de&&S&&(ae=S(de.prototype))}return $[ne]=ae,ae},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"]},ue=Fs(),F=yb(),D=ue.call(N,Array.prototype.concat),G=ue.call(J,Array.prototype.splice),Q=ue.call(N,String.prototype.replace),X=ue.call(N,String.prototype.slice),K=ue.call(N,RegExp.prototype.exec),oe=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,se=/\\(\\)?/g,Te=function(te){var ne=X(te,0,1),ae=X(te,-1);if(ne==="%"&&ae!=="%")throw new c("invalid intrinsic syntax, expected closing `%`");if(ae==="%"&&ne!=="%")throw new c("invalid intrinsic syntax, expected opening `%`");var ce=[];return Q(te,oe,function(de,ge,Ee,Ue){ce[ce.length]=Ee?Q(Ue,se,"$1"):ge||de}),ce},B=function(te,ne){var ae=te,ce;if(F(ie,ae)&&(ce=ie[ae],ae="%"+ce[0]+"%"),F($,ae)){var de=$[ae];if(de===A&&(de=Y(ae)),typeof de>"u"&&!ne)throw new l("intrinsic "+te+" exists, but is not available. Please file an issue!");return{alias:ce,name:ae,value:de}}throw new c("intrinsic "+te+" does not exist!")};t.exports=function(te,ne){if(typeof te!="string"||te.length===0)throw new l("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof ne!="boolean")throw new l('"allowMissing" argument must be a boolean');if(K(/^%?[^%]*%?$/,te)===null)throw new c("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var ae=Te(te),ce=ae.length>0?ae[0]:"",de=B("%"+ce+"%",ne),ge=de.name,Ee=de.value,Ue=!1,gt=de.alias;gt&&(ce=gt[0],G(ae,D([0,1],gt)));for(var ut=1,bt=!0;ut<ae.length;ut+=1){var it=ae[ut],Xt=X(it,0,1),kt=X(it,-1);if((Xt==='"'||Xt==="'"||Xt==="`"||kt==='"'||kt==="'"||kt==="`")&&Xt!==kt)throw new c("property names with quotes must have matching quotes");if((it==="constructor"||!bt)&&(Ue=!0),ce+="."+it,ge="%"+ce+"%",F($,ge))Ee=$[ge];else if(Ee!=null){if(!(it in Ee)){if(!ne)throw new l("base intrinsic for "+te+" exists, but the property is not available.");return}if(R&&ut+1>=ae.length){var Qt=R(Ee,it);bt=!!Qt,bt&&"get"in Qt&&!("originalValue"in Qt.get)?Ee=Qt.get:Ee=Ee[it]}else bt=F(Ee,it),Ee=Ee[it];bt&&!Ue&&($[ge]=Ee)}}return Ee}}}),wd=we({"node_modules/.pnpm/call-bound@1.0.4/node_modules/call-bound/index.js"(e,t){var r=QP(),n=hb(),i=n([r("%String.prototype.indexOf%")]);t.exports=function(o,a){var s=r(o,!!a);return typeof s=="function"&&i(o,".prototype.")>-1?n([s]):s}}}),ZP=we({"node_modules/.pnpm/has-tostringtag@1.0.2/node_modules/has-tostringtag/shams.js"(e,t){var r=cb();t.exports=function(){return r()&&!!Symbol.toStringTag}}}),gb=we({"node_modules/.pnpm/is-regex@1.2.1/node_modules/is-regex/index.js"(e,t){var r=wd(),n=ZP()(),i=yb(),o=vd(),a;n?(s=r("RegExp.prototype.exec"),c={},l=function(){throw c},d={toString:l,valueOf:l},typeof Symbol.toPrimitive=="symbol"&&(d[Symbol.toPrimitive]=l),a=function(m){if(!m||typeof m!="object")return!1;var y=o(m,"lastIndex"),g=y&&i(y,"value");if(!g)return!1;try{s(m,d)}catch(v){return v===c}}):(p=r("Object.prototype.toString"),f="[object RegExp]",a=function(m){return!m||typeof m!="object"&&typeof m!="function"?!1:p(m)===f});var s,c,l,d,p,f;t.exports=a}}),e1=we({"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(i){if(!i)return!1;var o=r.call(i);return o==="[object Function]"||typeof i=="function"&&o!=="[object RegExp]"||typeof window<"u"&&(i===window.setTimeout||i===window.alert||i===window.confirm||i===window.prompt)}}}),t1=we({"node_modules/.pnpm/safe-regex-test@1.1.0/node_modules/safe-regex-test/index.js"(e,t){var r=wd(),n=gb(),i=r("RegExp.prototype.exec"),o=bd();t.exports=function(a){if(!n(a))throw new o("`regex` must be a RegExp");return function(s){return i(a,s)!==null}}}}),r1=we({"node_modules/.pnpm/is-symbol@1.1.1/node_modules/is-symbol/index.js"(e,t){var r=wd(),n=r("Object.prototype.toString"),i=db()(),o=t1();i?(a=r("Symbol.prototype.toString"),s=o(/^Symbol\(.*\)$/),c=function(l){return typeof l.valueOf()!="symbol"?!1:s(a(l))},t.exports=function(l){if(typeof l=="symbol")return!0;if(!l||typeof l!="object"||n(l)!=="[object Symbol]")return!1;try{return c(l)}catch{return!1}}):t.exports=function(l){return!1};var a,s,c}}),n1=gd(gb()),i1=gd(e1()),o1=gd(r1());function a1(e){return e!=null&&typeof e=="object"&&Array.isArray(e)===!1}var s1=typeof global=="object"&&global&&global.Object===Object&&global,l1=s1,u1=typeof self=="object"&&self&&self.Object===Object&&self,c1=l1||u1||Function("return this")(),_d=c1,d1=_d.Symbol,Wn=d1,bb=Object.prototype,p1=bb.hasOwnProperty,f1=bb.toString,Ui=Wn?Wn.toStringTag:void 0;function m1(e){var t=p1.call(e,Ui),r=e[Ui];try{e[Ui]=void 0;var n=!0}catch{}var i=f1.call(e);return n&&(t?e[Ui]=r:delete e[Ui]),i}var h1=m1,y1=Object.prototype,g1=y1.toString;function b1(e){return g1.call(e)}var v1=b1,E1="[object Null]",w1="[object Undefined]",Pf=Wn?Wn.toStringTag:void 0;function _1(e){return e==null?e===void 0?w1:E1:Pf&&Pf in Object(e)?h1(e):v1(e)}var vb=_1;function T1(e){return e!=null&&typeof e=="object"}var x1=T1,S1="[object Symbol]";function O1(e){return typeof e=="symbol"||x1(e)&&vb(e)==S1}var Td=O1;function A1(e,t){for(var r=-1,n=e==null?0:e.length,i=Array(n);++r<n;)i[r]=t(e[r],r,e);return i}var R1=A1,C1=Array.isArray,xd=C1,Mf=Wn?Wn.prototype:void 0,Nf=Mf?Mf.toString:void 0;function Eb(e){if(typeof e=="string")return e;if(xd(e))return R1(e,Eb)+"";if(Td(e))return Nf?Nf.call(e):"";var t=e+"";return t=="0"&&1/e==-1/0?"-0":t}var P1=Eb;function M1(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var wb=M1,N1="[object AsyncFunction]",k1="[object Function]",I1="[object GeneratorFunction]",j1="[object Proxy]";function q1(e){if(!wb(e))return!1;var t=vb(e);return t==k1||t==I1||t==N1||t==j1}var F1=q1,D1=_d["__core-js_shared__"],kl=D1,kf=(function(){var e=/[^.]+$/.exec(kl&&kl.keys&&kl.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""})();function L1(e){return!!kf&&kf in e}var $1=L1,B1=Function.prototype,U1=B1.toString;function H1(e){if(e!=null){try{return U1.call(e)}catch{}try{return e+""}catch{}}return""}var J1=H1,V1=/[\\^$.*+?()[\]{}|]/g,z1=/^\[object .+?Constructor\]$/,G1=Function.prototype,W1=Object.prototype,K1=G1.toString,Y1=W1.hasOwnProperty,X1=RegExp("^"+K1.call(Y1).replace(V1,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function Q1(e){if(!wb(e)||$1(e))return!1;var t=F1(e)?X1:z1;return t.test(J1(e))}var Z1=Q1;function eM(e,t){return e?.[t]}var tM=eM;function rM(e,t){var r=tM(e,t);return Z1(r)?r:void 0}var _b=rM;function nM(e,t){return e===t||e!==e&&t!==t}var iM=nM,oM=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,aM=/^\w*$/;function sM(e,t){if(xd(e))return!1;var r=typeof e;return r=="number"||r=="symbol"||r=="boolean"||e==null||Td(e)?!0:aM.test(e)||!oM.test(e)||t!=null&&e in Object(t)}var lM=sM,uM=_b(Object,"create"),yo=uM;function cM(){this.__data__=yo?yo(null):{},this.size=0}var dM=cM;function pM(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}var fM=pM,mM="__lodash_hash_undefined__",hM=Object.prototype,yM=hM.hasOwnProperty;function gM(e){var t=this.__data__;if(yo){var r=t[e];return r===mM?void 0:r}return yM.call(t,e)?t[e]:void 0}var bM=gM,vM=Object.prototype,EM=vM.hasOwnProperty;function wM(e){var t=this.__data__;return yo?t[e]!==void 0:EM.call(t,e)}var _M=wM,TM="__lodash_hash_undefined__";function xM(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=yo&&t===void 0?TM:t,this}var SM=xM;function mi(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])}}mi.prototype.clear=dM;mi.prototype.delete=fM;mi.prototype.get=bM;mi.prototype.has=_M;mi.prototype.set=SM;var If=mi;function OM(){this.__data__=[],this.size=0}var AM=OM;function RM(e,t){for(var r=e.length;r--;)if(iM(e[r][0],t))return r;return-1}var Ds=RM,CM=Array.prototype,PM=CM.splice;function MM(e){var t=this.__data__,r=Ds(t,e);if(r<0)return!1;var n=t.length-1;return r==n?t.pop():PM.call(t,r,1),--this.size,!0}var NM=MM;function kM(e){var t=this.__data__,r=Ds(t,e);return r<0?void 0:t[r][1]}var IM=kM;function jM(e){return Ds(this.__data__,e)>-1}var qM=jM;function FM(e,t){var r=this.__data__,n=Ds(r,e);return n<0?(++this.size,r.push([e,t])):r[n][1]=t,this}var DM=FM;function hi(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])}}hi.prototype.clear=AM;hi.prototype.delete=NM;hi.prototype.get=IM;hi.prototype.has=qM;hi.prototype.set=DM;var LM=hi,$M=_b(_d,"Map"),BM=$M;function UM(){this.size=0,this.__data__={hash:new If,map:new(BM||LM),string:new If}}var HM=UM;function JM(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}var VM=JM;function zM(e,t){var r=e.__data__;return VM(t)?r[typeof t=="string"?"string":"hash"]:r.map}var Ls=zM;function GM(e){var t=Ls(this,e).delete(e);return this.size-=t?1:0,t}var WM=GM;function KM(e){return Ls(this,e).get(e)}var YM=KM;function XM(e){return Ls(this,e).has(e)}var QM=XM;function ZM(e,t){var r=Ls(this,e),n=r.size;return r.set(e,t),this.size+=r.size==n?0:1,this}var eN=ZM;function yi(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])}}yi.prototype.clear=HM;yi.prototype.delete=WM;yi.prototype.get=YM;yi.prototype.has=QM;yi.prototype.set=eN;var Tb=yi,tN="Expected a function";function Sd(e,t){if(typeof e!="function"||t!=null&&typeof t!="function")throw new TypeError(tN);var r=function(){var n=arguments,i=t?t.apply(this,n):n[0],o=r.cache;if(o.has(i))return o.get(i);var a=e.apply(this,n);return r.cache=o.set(i,a)||o,a};return r.cache=new(Sd.Cache||Tb),r}Sd.Cache=Tb;var rN=Sd,nN=500;function iN(e){var t=rN(e,function(n){return r.size===nN&&r.clear(),n}),r=t.cache;return t}var oN=iN,aN=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,sN=/\\(\\)?/g,lN=oN(function(e){var t=[];return e.charCodeAt(0)===46&&t.push(""),e.replace(aN,function(r,n,i,o){t.push(i?o.replace(sN,"$1"):n||r)}),t}),uN=lN;function cN(e){return e==null?"":P1(e)}var dN=cN;function pN(e,t){return xd(e)?e:lM(e,t)?[e]:uN(dN(e))}var fN=pN;function mN(e){if(typeof e=="string"||Td(e))return e;var t=e+"";return t=="0"&&1/e==-1/0?"-0":t}var hN=mN;function yN(e,t){t=fN(t,e);for(var r=0,n=t.length;e!=null&&r<n;)e=e[hN(t[r++])];return r&&r==n?e:void 0}var gN=yN;function bN(e,t,r){var n=e==null?void 0:gN(e,t);return n===void 0?r:n}var vN=bN,Od=a1,EN=/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(\.\d{3})?Z$/,Ad=e=>e.match(/^[\[\{\"\}].*[\]\}\"]$/);function xb(e){if(!Od(e))return e;let t=e,r=!1;return typeof Event<"u"&&e instanceof Event&&(t=PP(t),r=!0),t=Object.keys(t).reduce((n,i)=>{try{t[i]&&t[i].toJSON,n[i]=t[i]}catch{r=!0}return n},{}),r?t:e}var wN=function(e){let t,r,n,i;return function(o,a){try{if(o==="")return i=[],t=new Map([[a,"[]"]]),r=new Map,n=[],a;let s=r.get(this)||this;for(;n.length&&s!==n[0];)n.shift(),i.pop();if(typeof a=="boolean")return a;if(a===void 0)return e.allowUndefined?"_undefined_":void 0;if(a===null)return null;if(typeof a=="number")return a===Number.NEGATIVE_INFINITY?"_-Infinity_":a===Number.POSITIVE_INFINITY?"_Infinity_":Number.isNaN(a)?"_NaN_":a;if(typeof a=="bigint")return`_bigint_${a.toString()}`;if(typeof a=="string")return EN.test(a)?e.allowDate?`_date_${a}`:void 0:a;if((0,n1.default)(a))return e.allowRegExp?`_regexp_${a.flags}|${a.source}`:void 0;if((0,i1.default)(a))return;if((0,o1.default)(a)){if(!e.allowSymbol)return;let l=Symbol.keyFor(a);return l!==void 0?`_gsymbol_${l}`:`_symbol_${a.toString().slice(7,-1)}`}if(n.length>=e.maxDepth)return Array.isArray(a)?`[Array(${a.length})]`:"[Object]";if(a===this)return`_duplicate_${JSON.stringify(i)}`;if(a instanceof Error&&e.allowError)return{__isConvertedError__:!0,errorProperties:{...a.cause?{cause:a.cause}:{},...a,name:a.name,message:a.message,stack:a.stack,"_constructor-name_":a.constructor.name}};if(a?.constructor?.name&&a.constructor.name!=="Object"&&!Array.isArray(a)){let l=t.get(a);if(!l){let d={__isClassInstance__:!0,__className__:a.constructor.name,...Object.getOwnPropertyNames(a).reduce((p,f)=>{try{p[f]=a[f]}catch{}return p},{})};return i.push(o),n.unshift(d),t.set(a,JSON.stringify(i)),a!==d&&r.set(a,d),d}return`_duplicate_${l}`}let c=t.get(a);if(!c){let l=Array.isArray(a)?a:xb(a);return i.push(o),n.unshift(l),t.set(a,JSON.stringify(i)),a!==l&&r.set(a,l),l}return`_duplicate_${c}`}catch{return}}},_N=function(e){let t=[],r;return function(n,i){if(n===""&&(r=i,t.forEach(({target:o,container:a,replacement:s})=>{let c=Ad(s)?JSON.parse(s):s.split(".");c.length===0?a[o]=r:a[o]=vN(r,c)})),n==="_constructor-name_")return i;if(Od(i)&&i.__isConvertedError__){let{message:o,...a}=i.errorProperties,s=new Error(o);return Object.assign(s,a),s}if(typeof i=="string"&&i.startsWith("_regexp_")&&e.allowRegExp){let[,o,a]=i.match(/_regexp_([^|]*)\|(.*)/)||[];return new RegExp(a,o)}return typeof i=="string"&&i.startsWith("_date_")&&e.allowDate?new Date(i.replace("_date_","")):typeof i=="string"&&i.startsWith("_duplicate_")?(t.push({target:n,container:this,replacement:i.replace(/^_duplicate_/,"")}),null):typeof i=="string"&&i.startsWith("_symbol_")&&e.allowSymbol?Symbol(i.replace("_symbol_","")):typeof i=="string"&&i.startsWith("_gsymbol_")&&e.allowSymbol?Symbol.for(i.replace("_gsymbol_","")):typeof i=="string"&&i==="_-Infinity_"?Number.NEGATIVE_INFINITY:typeof i=="string"&&i==="_Infinity_"?Number.POSITIVE_INFINITY:typeof i=="string"&&i==="_NaN_"?Number.NaN:typeof i=="string"&&i.startsWith("_bigint_")&&typeof BigInt=="function"?BigInt(i.replace("_bigint_","")):i}},Sb={maxDepth:10,space:void 0,allowRegExp:!0,allowDate:!0,allowError:!0,allowUndefined:!0,allowSymbol:!0},Ob=(e,t={})=>{let r={...Sb,...t};return JSON.stringify(xb(e),wN(r),t.space)},TN=()=>{let e=new Map;return function t(r){Od(r)&&Object.entries(r).forEach(([n,i])=>{i==="_undefined_"?r[n]=void 0:e.get(i)||(e.set(i,!0),t(i))}),Array.isArray(r)&&r.forEach((n,i)=>{n==="_undefined_"?(e.set(n,!0),r[i]=void 0):e.get(n)||(e.set(n,!0),t(n))})}},Ab=(e,t={})=>{let r={...Sb,...t},n=JSON.parse(e,_N(r));return TN()(n),n},xN="Invariant failed";function Tr(e,t){if(!e)throw new Error(xN)}var SN=e=>{let t=Array.from(document.querySelectorAll("iframe[data-is-storybook]")),[r,...n]=t.filter(o=>{try{return o.contentWindow?.location.origin===e.source.location.origin&&o.contentWindow?.location.pathname===e.source.location.pathname}catch{}try{return o.contentWindow===e.source}catch{}let a=o.getAttribute("src"),s;try{if(!a)return!1;({origin:s}=new URL(a,document.location.toString()))}catch{return!1}return s===e.origin}),i=r?.getAttribute("src");if(i&&n.length===0){let{protocol:o,host:a,pathname:s}=new URL(i,document.location.toString());return`${o}//${a}${s}`}return n.length>0&&Le.error("found multiple candidates for event source"),null},{document:Il,location:jl}=re,jf="storybook-channel",ON={maxDepth:25},Rb=class{constructor(e){if(this.config=e,this.connected=!1,this.buffer=[],typeof re?.addEventListener=="function"&&re.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:i,allowDate:o,allowError:a,allowUndefined:s,maxDepth:c,space:l}=t||{},d=Object.fromEntries(Object.entries({allowRegExp:n,allowSymbol:i,allowDate:o,allowError:a,allowUndefined:s,maxDepth:c,space:l}).filter(([g,v])=>typeof v<"u")),p={...ON,...re.CHANNEL_OPTIONS||{},...d},f=this.getFrames(r),m=new URLSearchParams(jl?.search||""),y=Ob({key:jf,event:e,refId:m.get("refId")},p);return f.length?(this.buffer.length&&this.flush(),f.forEach(g=>{try{g.postMessage(y,"*")}catch{Le.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(Il.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 re&&re.parent&&re.parent!==re.self?[re.parent]:[]}getCurrentFrames(){return this.config.page==="manager"?Array.from(Il.querySelectorAll('[data-is-storybook="true"]')).flatMap(e=>e.contentWindow?[e.contentWindow]:[]):re&&re.parent?[re.parent]:[]}getLocalFrame(){return this.config.page==="manager"?Array.from(Il.querySelectorAll("#storybook-preview-iframe")).flatMap(e=>e.contentWindow?[e.contentWindow]:[]):re&&re.parent?[re.parent]:[]}handleEvent(e){try{let{data:t}=e,{key:r,event:n,refId:i}=typeof t=="string"&&Ad(t)?Ab(t,re.CHANNEL_OPTIONS||{}):t;if(r===jf){let o=this.config.page==="manager"?'<span style="color: #37D5D3; background: black"> manager </span>':'<span style="color: #1EA7FD; background: black"> preview </span>',a=Object.values(ld).includes(n.type)?`<span style="color: #FF4785">${n.type}</span>`:`<span style="color: #FFAE00">${n.type}</span>`;if(i&&(n.refId=i),n.source=this.config.page==="preview"?e.origin:SN(e),!n.source){Pt.error(`${o} received ${a} but was unable to determine the source of the event`);return}let s=`${o} received ${a} (${t.length})`;Pt.debug(jl.origin!==n.source?s:`${s} <span style="color: gray">(on ${jl.origin} from ${n.source})</span>`,...n.args),Tr(this.handler,"ChannelHandler should be set"),this.handler(n)}}catch(t){Le.error(t)}}},{WebSocket:AN}=re,Cb=15e3,Pb=5e3,Mb=class{constructor({url:e,onError:t,page:r}){this.buffer=[],this.isReady=!1,this.isClosed=!1,this.pingTimeout=0,this.socket=new AN(e),this.socket.onopen=()=>{this.isReady=!0,this.heartbeat(),this.flush()},this.socket.onmessage=({data:n})=>{let i=typeof n=="string"&&Ad(n)?Ab(n):n;Tr(this.handler),this.handler(i),i.type==="ping"&&(this.heartbeat(),this.send({type:"pong"}))},this.socket.onerror=n=>{t&&t(n)},this.socket.onclose=n=>{Tr(this.handler),this.handler({type:jg,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")},Cb+Pb)}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=Ob(e,{maxDepth:15,...re.CHANNEL_OPTIONS});this.socket.send(t)}flush(){let{buffer:e}=this;this.buffer=[],e.forEach(t=>this.send(t))}},{CHANNEL_OPTIONS:RN,CONFIG_TYPE:CN}=re,PN=qs;function MN({page:e,extraTransports:t=[]}){let r=[new Rb({page:e}),...t];if(CN==="DEVELOPMENT"){let i=window.location.protocol==="http:"?"ws":"wss",{hostname:o,port:a}=window.location,{wsToken:s}=RN||{},c=`${i}://${o}:${a}/storybook-server-channel?token=${s}`;r.push(new Mb({url:c,onError:()=>{},page:e}))}let n=new qs({transports:r});return Nl.__prepare(n,e==="manager"?Nl.Environment.MANAGER:Nl.Environment.PREVIEW),n}var Nb={};Tt(Nb,{CalledExtractOnStoreError:()=>Fb,CalledPreviewMethodBeforeInitializationError:()=>Ot,Category:()=>Ib,ElementA11yParameterError:()=>FN,EmptyIndexError:()=>Bb,ImplicitActionsDuringRendering:()=>qb,MdxFileWithNoCsfReferencesError:()=>$b,MissingRenderToCanvasError:()=>Db,MissingStoryAfterHmrError:()=>jb,MissingStoryFromCsfFileError:()=>Hb,MountMustBeDestructuredError:()=>Rd,NextJsSharpError:()=>kN,NextjsRouterMocksNotAvailable:()=>IN,NoRenderFunctionError:()=>Vb,NoStoryMatchError:()=>Ub,NoStoryMountedError:()=>zb,StatusTypeIdMismatchError:()=>NN,StoryIndexFetchError:()=>Lb,StoryStoreAccessedBeforeInitializationError:()=>Jb,UnknownArgTypesError:()=>jN,UnsupportedViewportDimensionError:()=>qN});function qf({code:e,category:t}){let r=String(e).padStart(4,"0");return`SB_${t}_${r}`}function Ff(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 Qe=class kb extends Error{constructor(t){super(kb.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 qf({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:i}){let o;return t===!0?o=`https://storybook.js.org/error/${qf({code:r,category:n})}?ref=error`:typeof t=="string"?o=Ff(t):Array.isArray(t)&&(o=`
39
+ ${t.map(a=>` - ${Ff(a)}`).join(`
40
+ `)}`),`${i}${o!=null?`
41
+
42
+ More info: ${o}
43
+ `:""}`}},Ib=(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))(Ib||{}),jb=class extends Qe{constructor(e){super({name:"MissingStoryAfterHmrError",category:"PREVIEW_API",code:1,message:xe`
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}},qb=class extends Qe{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:xe`
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}},Fb=class extends Qe{constructor(){super({name:"CalledExtractOnStoreError",category:"PREVIEW_API",code:3,message:xe`
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.`})}},Db=class extends Qe{constructor(){super({name:"MissingRenderToCanvasError",category:"PREVIEW_API",code:4,message:xe`
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"})}},Ot=class extends Qe{constructor(e){super({name:"CalledPreviewMethodBeforeInitializationError",category:"PREVIEW_API",code:5,message:xe`
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}},Lb=class extends Qe{constructor(e){super({name:"StoryIndexFetchError",category:"PREVIEW_API",code:6,message:xe`
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}},$b=class extends Qe{constructor(e){super({name:"MdxFileWithNoCsfReferencesError",category:"PREVIEW_API",code:7,message:xe`
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}},Bb=class extends Qe{constructor(){super({name:"EmptyIndexError",category:"PREVIEW_API",code:8,message:xe`
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.`})}},Ub=class extends Qe{constructor(e){super({name:"NoStoryMatchError",category:"PREVIEW_API",code:9,message:xe`
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}},Hb=class extends Qe{constructor(e){super({name:"MissingStoryFromCsfFileError",category:"PREVIEW_API",code:10,message:xe`
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}},Jb=class extends Qe{constructor(){super({name:"StoryStoreAccessedBeforeInitializationError",category:"PREVIEW_API",code:11,message:xe`
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`})}},Rd=class extends Qe{constructor(e){super({name:"MountMustBeDestructuredError",category:"PREVIEW_API",code:12,message:xe`
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}},Vb=class extends Qe{constructor(e){super({name:"NoRenderFunctionError",category:"PREVIEW_API",code:14,message:xe`
125
+ No render function available for storyId '${e.id}'
126
+ `}),this.data=e}},zb=class extends Qe{constructor(){super({name:"NoStoryMountedError",category:"PREVIEW_API",code:15,message:xe`
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
+ `})}},NN=class extends Qe{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}},kN=class extends Qe{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:xe`
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
+ `})}},IN=class extends Qe{constructor(e){super({name:"NextjsRouterMocksNotAvailable",category:"FRAMEWORK_NEXTJS",code:2,message:xe`
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}},jN=class extends Qe{constructor(t){super({name:"UnknownArgTypesError",category:"DOCS-TOOLS",code:1,documentation:"https://github.com/storybookjs/storybook/issues/26606",message:xe`
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}},qN=class extends Qe{constructor(e){super({name:"UnsupportedViewportDimensionError",category:"ADDON_VITEST",code:1,message:xe`
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}},FN=class extends Qe{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.'})}},Gb={};Tt(Gb,{Addon_TypesEnum:()=>Wb,CoreWebpackCompiler:()=>Xb,Feature:()=>Zb,SupportedBuilder:()=>Qb,SupportedFramework:()=>Kb,SupportedLanguage:()=>ev,SupportedRenderer:()=>Yb});var Wb=(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))(Wb||{}),Kb=(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))(Kb||{}),Yb=(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))(Yb||{}),Xb=(e=>(e.Babel="babel",e.SWC="swc",e))(Xb||{}),Qb=(e=>(e.WEBPACK5="webpack5",e.VITE="vite",e.RSBUILD="rsbuild",e))(Qb||{}),Zb=(e=>(e.DOCS="docs",e.TEST="test",e.ONBOARDING="onboarding",e.A11Y="a11y",e))(Zb||{}),ev=(e=>(e.JAVASCRIPT="javascript",e.TYPESCRIPT="typescript",e))(ev||{}),tv={};Tt(tv,{ADDON_ID:()=>$s,CLEAR_ID:()=>$N,CYCLIC_KEY:()=>BN,EVENT_ID:()=>rv,PANEL_ID:()=>LN,PARAM_KEY:()=>DN,action:()=>na,actions:()=>mV,config:()=>jo,configureActions:()=>dV});var DN="actions",$s="storybook/actions",LN=`${$s}/panel`,rv=`${$s}/action-event`,$N=`${$s}/action-clear`,BN="$___storybook.isCyclic",Iu={};Tt(Iu,{DocsContext:()=>of,HooksContext:()=>Cd,Preview:()=>Fx,PreviewWeb:()=>tV,PreviewWithSelection:()=>Dx,ReporterAPI:()=>nf,StoryStore:()=>jx,Tag:()=>hr,UrlStore:()=>Hx,WebView:()=>Vx,addons:()=>Lt,applyHooks:()=>iv,combineArgs:()=>bs,combineParameters:()=>An,composeConfigs:()=>si,composeStepRunners:()=>Px,composeStories:()=>CJ,composeStory:()=>Ix,createPlaywrightTest:()=>PJ,decorateStory:()=>_x,defaultDecorateStory:()=>xx,emitTransformCode:()=>cV,filterArgTypes:()=>Cx,getCsfFactoryAnnotations:()=>kx,inferControls:()=>ef,makeDecorator:()=>tk,mockChannel:()=>nv,normalizeArrays:()=>Fe,normalizeProjectAnnotations:()=>Es,normalizeStory:()=>uo,pauseAnimations:()=>tf,prepareMeta:()=>Sx,prepareStory:()=>Zp,sanitizeStoryContextUpdate:()=>Tx,setDefaultProjectAnnotations:()=>TJ,setProjectAnnotations:()=>AJ,simulateDOMContentLoaded:()=>Fc,simulatePageLoad:()=>oV,sortStoriesV7:()=>DJ,useArgs:()=>ZN,useCallback:()=>go,useChannel:()=>XN,useEffect:()=>_n,useGlobals:()=>ek,useMemo:()=>av,useParameter:()=>QN,useReducer:()=>YN,useRef:()=>GN,useState:()=>KN,useStoryContext:()=>Us,userOrAutoTitle:()=>jJ,userOrAutoTitleFromSpecifier:()=>qx,waitForAnimations:()=>rf});function nv(){let e={setHandler:()=>{},send:()=>{}};return new qs({transport:e})}var UN=class{constructor(){this.getChannel=()=>{if(!this.channel){let e=nv();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())})}},ql="__STORYBOOK_ADDONS_PREVIEW";function HN(){return re[ql]||(re[ql]=new UN),re[ql]}var Lt=HN(),Cd=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(),Lt.getChannel().on(Ya,this.renderListener)}removeRenderListeners(){Lt.getChannel().removeListener(Ya,this.renderListener)}};function Df(e){let t=(...r)=>{let{hooks:n}=typeof r[0]=="function"?r[1]:r[0],i=n.currentPhase,o=n.currentHooks,a=n.nextHookIndex,s=n.currentDecoratorName;n.currentDecoratorName=e.name,n.prevMountedDecorators.has(e)?(n.currentPhase="UPDATE",n.currentHooks=n.hookListsMap.get(e)||[]):(n.currentPhase="MOUNT",n.currentHooks=[],n.hookListsMap.set(e,n.currentHooks),n.prevMountedDecorators.add(e)),n.nextHookIndex=0;let c=re.STORYBOOK_HOOKS_CONTEXT;re.STORYBOOK_HOOKS_CONTEXT=n;let l=e(...r);if(re.STORYBOOK_HOOKS_CONTEXT=c,n.currentPhase==="UPDATE"&&n.getNextHook()!=null)throw new Error("Rendered fewer hooks than expected. This may be caused by an accidental early return statement.");return n.currentPhase=i,n.currentHooks=o,n.nextHookIndex=a,n.currentDecoratorName=s,l};return t.originalFn=e,t}var Fl=0,JN=25,iv=e=>(t,r)=>{let n=e(Df(t),r.map(i=>Df(i)));return i=>{let{hooks:o}=i;o.prevMountedDecorators??=new Set,o.mountedDecorators=new Set([t,...r]),o.currentContext=i,o.hasUpdates=!1;let a=n(i);for(Fl=1;o.hasUpdates;)if(o.hasUpdates=!1,o.currentEffects=[],a=n(i),Fl+=1,Fl>JN)throw new Error("Too many re-renders. Storybook limits the number of renders to prevent an infinite loop.");return o.addRenderListeners(),a}},VN=(e,t)=>e.length===t.length&&e.every((r,n)=>r===t[n]),Pd=()=>new Error("Storybook preview hooks can only be called inside decorators and story functions.");function ov(){return re.STORYBOOK_HOOKS_CONTEXT||null}function Md(){let e=ov();if(e==null)throw Pd();return e}function zN(e,t,r){let n=Md();if(n.currentPhase==="MOUNT"){r!=null&&!Array.isArray(r)&&Le.warn(`${e} received a final argument that is not an array (instead, received ${r}). When specified, the final argument must be an array.`);let i={name:e,deps:r};return n.currentHooks.push(i),t(i),i}if(n.currentPhase==="UPDATE"){let i=n.getNextHook();if(i==null)throw new Error("Rendered more hooks than during the previous render.");return i.name!==e&&Le.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&&i.deps==null&&Le.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&&i.deps!=null&&r.length!==i.deps.length&&Le.warn(`The final argument passed to ${e} changed size between renders. The order and size of this array must remain constant.
163
+ Previous: ${i.deps}
164
+ Incoming: ${r}`),(r==null||i.deps==null||!VN(r,i.deps))&&(t(i),i.deps=r),i}throw Pd()}function Bs(e,t,r){let{memoizedState:n}=zN(e,i=>{i.memoizedState=t()},r);return n}function av(e,t){return Bs("useMemo",e,t)}function go(e,t){return Bs("useCallback",()=>e,t)}function sv(e,t){return Bs(e,()=>({current:t}),[])}function GN(e){return sv("useRef",e)}function WN(){let e=ov();if(e!=null&&e.currentPhase!=="NONE")e.hasUpdates=!0;else try{Lt.getChannel().emit(dd)}catch{Le.warn("State updates of Storybook preview hooks work only in browser")}}function lv(e,t){let r=sv(e,typeof t=="function"?t():t),n=i=>{r.current=typeof i=="function"?i(r.current):i,WN()};return[r.current,n]}function KN(e){return lv("useState",e)}function YN(e,t,r){let n=r!=null?()=>r(t):t,[i,o]=lv("useReducer",n);return[i,a=>o(s=>e(s,a))]}function _n(e,t){let r=Md(),n=Bs("useEffect",()=>({create:e}),t);r.currentEffects.includes(n)||r.currentEffects.push(n)}function XN(e,t=[]){let r=Lt.getChannel();return _n(()=>(Object.entries(e).forEach(([n,i])=>r.on(n,i)),()=>{Object.entries(e).forEach(([n,i])=>r.removeListener(n,i))}),[...Object.keys(e),...t]),go(r.emit.bind(r),[r])}function Us(){let{currentContext:e}=Md();if(e==null)throw Pd();return e}function QN(e,t){let{parameters:r}=Us();if(e)return r[e]??t}function ZN(){let e=Lt.getChannel(),{id:t,args:r}=Us(),n=go(o=>e.emit(hd,{storyId:t,updatedArgs:o}),[e,t]),i=go(o=>e.emit(pd,{storyId:t,argNames:o}),[e,t]);return[r,n,i]}function ek(){let e=Lt.getChannel(),{globals:t}=Us(),r=go(n=>e.emit(md,{globals:n}),[e]);return[t,r]}var tk=({name:e,parameterName:t,wrapper:r,skipIfNoParametersOrOptions:n=!1})=>{let i=o=>(a,s)=>{let c=s.parameters&&s.parameters[t];return c&&c.disable||n&&!o&&!c?a(s):r(a,s,{options:o,parameters:c})};return(...o)=>typeof o[0]=="function"?i()(...o):(...a)=>{if(a.length>1)return o.length>1?i(o)(...a):i(...o)(...a);throw new Error(`Passing stories directly into ${e}() is not allowed,
165
+ instead use addDecorator(${e}) and pass options with the '${t}' parameter`)}};function rk(e){return e.replace(/_/g," ").replace(/-/g," ").replace(/\./g," ").replace(/([^\n])([A-Z])([a-z])/g,(t,r,n,i)=>`${r} ${n}${i}`).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 Lf=We(sS(),1),uv=e=>e.map(t=>typeof t<"u").filter(Boolean).length,nk=(e,t)=>{let{exists:r,eq:n,neq:i,truthy:o}=e;if(uv([r,n,i,o])>1)throw new Error(`Invalid conditional test ${JSON.stringify({exists:r,eq:n,neq:i})}`);if(typeof n<"u")return(0,Lf.isEqual)(t,n);if(typeof i<"u")return!(0,Lf.isEqual)(t,i);if(typeof r<"u"){let a=typeof t<"u";return r?a:!a}return typeof o>"u"||o?!!t:!t},ik=(e,t,r)=>{if(!e.if)return!0;let{arg:n,global:i}=e.if;if(uv([n,i])!==1)throw new Error(`Invalid conditional value ${JSON.stringify({arg:n,global:i})}`);let o=n?t[n]:r[i];return nk(e.if,o)};function ok(e){return e!=null&&ak(e).includes("mount")}function ak(e){let[,t,r]=e.toString().match(/[^(]*\(([^)]+)\)(?:.*{([^]+)})?/)||[];if(!t)return[];let[n]=Dl(t);if(!n)return[];let[,i]=n.match(/^{([^]+)}$/)||[];if(i)return Dl($f(i)).map(s=>s.replace(/:.*|=.*/g,"").trim());if(!n.match(/^[a-z_$][0-9a-z_$]*$/i))return[];let o=n.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),[,a]=r?.trim()?.match(new RegExp(`^(?:const|let|var)\\s*{([^}]+)}\\s*=\\s*${o};`))||[];return a?Dl($f(a)).map(s=>s.replace(/:.*|=.*/g,"").trim()):[]}function $f(e){return e=e.replace(/\/\/.*$/gm,""),e=e.replace(/\/\*[\s\S]*?\*\//g,""),e}function Dl(e){let t=[],r=[],n=0;for(let o=0;o<e.length;o++)if(e[o]==="{"||e[o]==="[")r.push(e[o]==="{"?"}":"]");else if(e[o]===r[r.length-1])r.pop();else if(!r.length&&e[o]===","){let a=e.substring(n,o).trim();a&&t.push(a),n=o+1}let i=e.substring(n).trim();return i&&t.push(i),t}var hr={AUTODOCS:"autodocs",ATTACHED_MDX:"attached-mdx",UNATTACHED_MDX:"unattached-mdx",PLAY_FN:"play-fn",TEST_FN:"test-fn",DEV:"dev",TEST:"test",MANIFEST:"manifest"},cv={};Tt(cv,{argsEnhancers:()=>uk});var dv=(e,t)=>typeof t[e]>"u"&&!(e in t),sk=e=>{let{initialArgs:t,argTypes:r,id:n,parameters:{actions:i}}=e;if(!i||i.disable||!i.argTypesRegex||!r)return{};let o=new RegExp(i.argTypesRegex);return Object.entries(r).filter(([a])=>!!o.test(a)).reduce((a,[s,c])=>(dv(s,t)&&(a[s]=na(s,{implicit:!0,id:n})),a),{})},lk=e=>{let{initialArgs:t,argTypes:r,parameters:{actions:n}}=e;return n?.disable||!r?{}:Object.entries(r).filter(([i,o])=>!!o.action).reduce((i,[o,a])=>(dv(o,t)&&(i[o]=na(typeof a.action=="string"?a.action:o)),i),{})},uk=[lk,sk],pv={};Tt(pv,{loaders:()=>p3});var fv={};Tt(fv,{buildQueries:()=>V5,clearAllMocks:()=>Qw,configure:()=>z5,createEvent:()=>G5,expect:()=>u3,findAllByAltText:()=>K5,findAllByDisplayValue:()=>Y5,findAllByLabelText:()=>X5,findAllByPlaceholderText:()=>Q5,findAllByRole:()=>Z5,findAllByTestId:()=>eU,findAllByText:()=>tU,findAllByTitle:()=>rU,findByAltText:()=>nU,findByDisplayValue:()=>iU,findByLabelText:()=>oU,findByPlaceholderText:()=>aU,findByRole:()=>sU,findByTestId:()=>lU,findByText:()=>uU,findByTitle:()=>cU,fireEvent:()=>W5,fn:()=>Yw,getAllByAltText:()=>dU,getAllByDisplayValue:()=>pU,getAllByLabelText:()=>fU,getAllByPlaceholderText:()=>mU,getAllByRole:()=>hU,getAllByTestId:()=>yU,getAllByText:()=>gU,getAllByTitle:()=>bU,getByAltText:()=>vU,getByDisplayValue:()=>EU,getByLabelText:()=>wU,getByPlaceholderText:()=>_U,getByRole:()=>TU,getByTestId:()=>xU,getByText:()=>SU,getByTitle:()=>OU,getConfig:()=>AU,getDefaultNormalizer:()=>RU,getElementError:()=>CU,getNodeText:()=>PU,getQueriesForElement:()=>MU,getRoles:()=>NU,getSuggestedQuery:()=>kU,isInaccessible:()=>IU,isMockFunction:()=>Vn,logDOM:()=>jU,logRoles:()=>qU,mocked:()=>bL,mocks:()=>Qo,onMockCall:()=>Kw,prettyDOM:()=>FU,prettyFormat:()=>s3,queries:()=>DU,queryAllByAltText:()=>LU,queryAllByAttribute:()=>$U,queryAllByDisplayValue:()=>BU,queryAllByLabelText:()=>UU,queryAllByPlaceholderText:()=>HU,queryAllByRole:()=>JU,queryAllByTestId:()=>VU,queryAllByText:()=>zU,queryAllByTitle:()=>GU,queryByAltText:()=>WU,queryByAttribute:()=>KU,queryByDisplayValue:()=>YU,queryByLabelText:()=>XU,queryByPlaceholderText:()=>QU,queryByRole:()=>ZU,queryByTestId:()=>e3,queryByText:()=>t3,queryByTitle:()=>r3,queryHelpers:()=>n3,resetAllMocks:()=>Zw,restoreAllMocks:()=>e_,sb:()=>c3,screen:()=>i3,spyOn:()=>gL,uninstrumentedUserEvent:()=>px,userEvent:()=>l3,waitFor:()=>o3,waitForElementToBeRemoved:()=>a3,within:()=>dx});var ck={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]},mv=Object.entries(ck);function Hs(e){return String(e)}Hs.open="";Hs.close="";mv.reduce((e,[t])=>(e[t]=Hs,e),{isColorSupported:!1});function dk(e=!1){let t=typeof process<"u"?process:void 0,r=t?.env||{},n=t?.argv||[];return!("NO_COLOR"in r||n.includes("--no-color"))&&("FORCE_COLOR"in r||n.includes("--color")||t?.platform==="win32"||e&&r.TERM!=="dumb"||"CI"in r)||typeof window<"u"&&!!window.chrome}function pk(e=!1){let t=dk(e),r=(a,s,c,l)=>{let d="",p=0;do d+=a.substring(p,l)+c,p=l+s.length,l=a.indexOf(s,p);while(~l);return d+a.substring(p)},n=(a,s,c=a)=>{let l=d=>{let p=String(d),f=p.indexOf(s,a.length);return~f?a+r(p,s,c,f)+s:a+p+s};return l.open=a,l.close=s,l},i={isColorSupported:t},o=a=>`\x1B[${a}m`;for(let[a,s]of mv)i[a]=t?n(o(s[0]),o(s[1]),s[2]):Hs;return i}var yr=pk();function hv(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 i=Object.getOwnPropertyDescriptor(r,n);Object.defineProperty(e,n,i.get?i:{enumerable:!0,get:function(){return r[n]}})}})}),Object.freeze(e)}function fk(e,t){let r=Object.keys(e),n=t===null?r:r.sort(t);if(Object.getOwnPropertySymbols)for(let i of Object.getOwnPropertySymbols(e))Object.getOwnPropertyDescriptor(e,i).enumerable&&n.push(i);return n}function Vo(e,t,r,n,i,o,a=": "){let s="",c=0,l=e.next();if(!l.done){s+=t.spacingOuter;let d=r+t.indent;for(;!l.done;){if(s+=d,c++===t.maxWidth){s+="…";break}let p=o(l.value[0],t,d,n,i),f=o(l.value[1],t,d,n,i);s+=p+a+f,l=e.next(),l.done?t.min||(s+=","):s+=`,${t.spacingInner}`}s+=t.spacingOuter+r}return s}function Nd(e,t,r,n,i,o){let a="",s=0,c=e.next();if(!c.done){a+=t.spacingOuter;let l=r+t.indent;for(;!c.done;){if(a+=l,s++===t.maxWidth){a+="…";break}a+=o(c.value,t,l,n,i),c=e.next(),c.done?t.min||(a+=","):a+=`,${t.spacingInner}`}a+=t.spacingOuter+r}return a}function Xa(e,t,r,n,i,o){let a="";e=e instanceof ArrayBuffer?new DataView(e):e;let s=l=>l instanceof DataView,c=s(e)?e.byteLength:e.length;if(c>0){a+=t.spacingOuter;let l=r+t.indent;for(let d=0;d<c;d++){if(a+=l,d===t.maxWidth){a+="…";break}(s(e)||d in e)&&(a+=o(s(e)?e.getInt8(d):e[d],t,l,n,i)),d<c-1?a+=`,${t.spacingInner}`:t.min||(a+=",")}a+=t.spacingOuter+r}return a}function kd(e,t,r,n,i,o){let a="",s=fk(e,t.compareKeys);if(s.length>0){a+=t.spacingOuter;let c=r+t.indent;for(let l=0;l<s.length;l++){let d=s[l],p=o(d,t,c,n,i),f=o(e[d],t,c,n,i);a+=`${c+p}: ${f}`,l<s.length-1?a+=`,${t.spacingInner}`:t.min||(a+=",")}a+=t.spacingOuter+r}return a}var mk=typeof Symbol=="function"&&Symbol.for?Symbol.for("jest.asymmetricMatcher"):1267621,Ll=" ",hk=(e,t,r,n,i,o)=>{let a=e.toString();if(a==="ArrayContaining"||a==="ArrayNotContaining")return++n>t.maxDepth?`[${a}]`:`${a+Ll}[${Xa(e.sample,t,r,n,i,o)}]`;if(a==="ObjectContaining"||a==="ObjectNotContaining")return++n>t.maxDepth?`[${a}]`:`${a+Ll}{${kd(e.sample,t,r,n,i,o)}}`;if(a==="StringMatching"||a==="StringNotMatching"||a==="StringContaining"||a==="StringNotContaining")return a+Ll+o(e.sample,t,r,n,i);if(typeof e.toAsymmetricMatcher!="function")throw new TypeError(`Asymmetric matcher ${e.constructor.name} does not implement toAsymmetricMatcher()`);return e.toAsymmetricMatcher()},yk=e=>e&&e.$$typeof===mk,gk={serialize:hk,test:yk},bk=" ",yv=new Set(["DOMStringMap","NamedNodeMap"]),vk=/^(?:HTML\w*Collection|NodeList)$/;function Ek(e){return yv.has(e)||vk.test(e)}var wk=e=>e&&e.constructor&&!!e.constructor.name&&Ek(e.constructor.name);function _k(e){return e.constructor.name==="NamedNodeMap"}var Tk=(e,t,r,n,i,o)=>{let a=e.constructor.name;return++n>t.maxDepth?`[${a}]`:(t.min?"":a+bk)+(yv.has(a)?`{${kd(_k(e)?[...e].reduce((s,c)=>(s[c.name]=c.value,s),{}):{...e},t,r,n,i,o)}}`:`[${Xa([...e],t,r,n,i,o)}]`)},xk={serialize:Tk,test:wk};function gv(e){return e.replaceAll("<","&lt;").replaceAll(">","&gt;")}function Id(e,t,r,n,i,o,a){let s=n+r.indent,c=r.colors;return e.map(l=>{let d=t[l],p=a(d,r,s,i,o);return typeof d!="string"&&(p.includes(`
166
+ `)&&(p=r.spacingOuter+s+p+r.spacingOuter+n),p=`{${p}}`),`${r.spacingInner+n+c.prop.open+l+c.prop.close}=${c.value.open}${p}${c.value.close}`}).join("")}function jd(e,t,r,n,i,o){return e.map(a=>t.spacingOuter+r+(typeof a=="string"?bv(a,t):o(a,t,r,n,i))).join("")}function bv(e,t){let r=t.colors.content;return r.open+gv(e)+r.close}function Sk(e,t){let r=t.colors.comment;return`${r.open}<!--${gv(e)}-->${r.close}`}function qd(e,t,r,n,i){let o=n.colors.tag;return`${o.open}<${e}${t&&o.close+t+n.spacingOuter+i+o.open}${r?`>${o.close}${r}${n.spacingOuter}${i}${o.open}</${e}`:`${t&&!n.min?"":" "}/`}>${o.close}`}function Fd(e,t){let r=t.colors.tag;return`${r.open}<${e}${r.close} …${r.open} />${r.close}`}var Ok=1,vv=3,Ev=8,wv=11,Ak=/^(?:(?:HTML|SVG)\w*)?Element$/;function Rk(e){try{return typeof e.hasAttribute=="function"&&e.hasAttribute("is")}catch{return!1}}function Ck(e){let t=e.constructor.name,{nodeType:r,tagName:n}=e,i=typeof n=="string"&&n.includes("-")||Rk(e);return r===Ok&&(Ak.test(t)||i)||r===vv&&t==="Text"||r===Ev&&t==="Comment"||r===wv&&t==="DocumentFragment"}var Pk=e=>{var t;return(e==null||(t=e.constructor)===null||t===void 0?void 0:t.name)&&Ck(e)};function Mk(e){return e.nodeType===vv}function Nk(e){return e.nodeType===Ev}function $l(e){return e.nodeType===wv}var kk=(e,t,r,n,i,o)=>{if(Mk(e))return bv(e.data,t);if(Nk(e))return Sk(e.data,t);let a=$l(e)?"DocumentFragment":e.tagName.toLowerCase();return++n>t.maxDepth?Fd(a,t):qd(a,Id($l(e)?[]:Array.from(e.attributes,s=>s.name).sort(),$l(e)?{}:[...e.attributes].reduce((s,c)=>(s[c.name]=c.value,s),{}),t,r+t.indent,n,i,o),jd(Array.prototype.slice.call(e.childNodes||e.children),t,r+t.indent,n,i,o),t,r)},Ik={serialize:kk,test:Pk},jk="@@__IMMUTABLE_ITERABLE__@@",qk="@@__IMMUTABLE_LIST__@@",Fk="@@__IMMUTABLE_KEYED__@@",Dk="@@__IMMUTABLE_MAP__@@",Bf="@@__IMMUTABLE_ORDERED__@@",Lk="@@__IMMUTABLE_RECORD__@@",$k="@@__IMMUTABLE_SEQ__@@",Bk="@@__IMMUTABLE_SET__@@",Uk="@@__IMMUTABLE_STACK__@@",Kn=e=>`Immutable.${e}`,Js=e=>`[${e}]`,bo=" ",Uf="…";function Hk(e,t,r,n,i,o,a){return++n>t.maxDepth?Js(Kn(a)):`${Kn(a)+bo}{${Vo(e.entries(),t,r,n,i,o)}}`}function Jk(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 Vk(e,t,r,n,i,o){let a=Kn(e._name||"Record");return++n>t.maxDepth?Js(a):`${a+bo}{${Vo(Jk(e),t,r,n,i,o)}}`}function zk(e,t,r,n,i,o){let a=Kn("Seq");return++n>t.maxDepth?Js(a):e[Fk]?`${a+bo}{${e._iter||e._object?Vo(e.entries(),t,r,n,i,o):Uf}}`:`${a+bo}[${e._iter||e._array||e._collection||e._iterable?Nd(e.values(),t,r,n,i,o):Uf}]`}function Bl(e,t,r,n,i,o,a){return++n>t.maxDepth?Js(Kn(a)):`${Kn(a)+bo}[${Nd(e.values(),t,r,n,i,o)}]`}var Gk=(e,t,r,n,i,o)=>e[Dk]?Hk(e,t,r,n,i,o,e[Bf]?"OrderedMap":"Map"):e[qk]?Bl(e,t,r,n,i,o,"List"):e[Bk]?Bl(e,t,r,n,i,o,e[Bf]?"OrderedSet":"Set"):e[Uk]?Bl(e,t,r,n,i,o,"Stack"):e[$k]?zk(e,t,r,n,i,o):Vk(e,t,r,n,i,o),Wk=e=>e&&(e[jk]===!0||e[Lk]===!0),Kk={serialize:Gk,test:Wk};function _v(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Hf={exports:{}},je={},Jf;function Yk(){if(Jf)return je;Jf=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),n=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler"),o=Symbol.for("react.consumer"),a=Symbol.for("react.context"),s=Symbol.for("react.forward_ref"),c=Symbol.for("react.suspense"),l=Symbol.for("react.suspense_list"),d=Symbol.for("react.memo"),p=Symbol.for("react.lazy"),f=Symbol.for("react.view_transition"),m=Symbol.for("react.client.reference");function y(g){if(typeof g=="object"&&g!==null){var v=g.$$typeof;switch(v){case e:switch(g=g.type,g){case r:case i:case n:case c:case l:case f:return g;default:switch(g=g&&g.$$typeof,g){case a:case s:case p:case d:return g;case o:return g;default:return v}}case t:return v}}}return je.ContextConsumer=o,je.ContextProvider=a,je.Element=e,je.ForwardRef=s,je.Fragment=r,je.Lazy=p,je.Memo=d,je.Portal=t,je.Profiler=i,je.StrictMode=n,je.Suspense=c,je.SuspenseList=l,je.isContextConsumer=function(g){return y(g)===o},je.isContextProvider=function(g){return y(g)===a},je.isElement=function(g){return typeof g=="object"&&g!==null&&g.$$typeof===e},je.isForwardRef=function(g){return y(g)===s},je.isFragment=function(g){return y(g)===r},je.isLazy=function(g){return y(g)===p},je.isMemo=function(g){return y(g)===d},je.isPortal=function(g){return y(g)===t},je.isProfiler=function(g){return y(g)===i},je.isStrictMode=function(g){return y(g)===n},je.isSuspense=function(g){return y(g)===c},je.isSuspenseList=function(g){return y(g)===l},je.isValidElementType=function(g){return typeof g=="string"||typeof g=="function"||g===r||g===i||g===n||g===c||g===l||typeof g=="object"&&g!==null&&(g.$$typeof===p||g.$$typeof===d||g.$$typeof===a||g.$$typeof===o||g.$$typeof===s||g.$$typeof===m||g.getModuleId!==void 0)},je.typeOf=y,je}var Vf;function Xk(){return Vf||(Vf=1,Hf.exports=Yk()),Hf.exports}var Tv=Xk(),Qk=_v(Tv),Zk=hv({__proto__:null,default:Qk},[Tv]),zf={exports:{}},Ne={},Gf;function eI(){if(Gf)return Ne;Gf=1;var e=Symbol.for("react.element"),t=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),n=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler"),o=Symbol.for("react.provider"),a=Symbol.for("react.context"),s=Symbol.for("react.server_context"),c=Symbol.for("react.forward_ref"),l=Symbol.for("react.suspense"),d=Symbol.for("react.suspense_list"),p=Symbol.for("react.memo"),f=Symbol.for("react.lazy"),m=Symbol.for("react.offscreen"),y;y=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 i:case n:case l:case d:return v;default:switch(v=v&&v.$$typeof,v){case s:case a:case c:case f:case p:case o:return v;default:return b}}case t:return b}}}return Ne.ContextConsumer=a,Ne.ContextProvider=o,Ne.Element=e,Ne.ForwardRef=c,Ne.Fragment=r,Ne.Lazy=f,Ne.Memo=p,Ne.Portal=t,Ne.Profiler=i,Ne.StrictMode=n,Ne.Suspense=l,Ne.SuspenseList=d,Ne.isAsyncMode=function(){return!1},Ne.isConcurrentMode=function(){return!1},Ne.isContextConsumer=function(v){return g(v)===a},Ne.isContextProvider=function(v){return g(v)===o},Ne.isElement=function(v){return typeof v=="object"&&v!==null&&v.$$typeof===e},Ne.isForwardRef=function(v){return g(v)===c},Ne.isFragment=function(v){return g(v)===r},Ne.isLazy=function(v){return g(v)===f},Ne.isMemo=function(v){return g(v)===p},Ne.isPortal=function(v){return g(v)===t},Ne.isProfiler=function(v){return g(v)===i},Ne.isStrictMode=function(v){return g(v)===n},Ne.isSuspense=function(v){return g(v)===l},Ne.isSuspenseList=function(v){return g(v)===d},Ne.isValidElementType=function(v){return typeof v=="string"||typeof v=="function"||v===r||v===i||v===n||v===l||v===d||v===m||typeof v=="object"&&v!==null&&(v.$$typeof===f||v.$$typeof===p||v.$$typeof===o||v.$$typeof===a||v.$$typeof===c||v.$$typeof===y||v.getModuleId!==void 0)},Ne.typeOf=g,Ne}var Wf;function tI(){return Wf||(Wf=1,zf.exports=eI()),zf.exports}var xv=tI(),rI=_v(xv),nI=hv({__proto__:null,default:rI},[xv]),iI=["isAsyncMode","isConcurrentMode","isContextConsumer","isContextProvider","isElement","isForwardRef","isFragment","isLazy","isMemo","isPortal","isProfiler","isStrictMode","isSuspense","isSuspenseList","isValidElementType"],pn=Object.fromEntries(iI.map(e=>[e,t=>nI[e](t)||Zk[e](t)]));function Sv(e,t=[]){if(Array.isArray(e))for(let r of e)Sv(r,t);else e!=null&&e!==!1&&e!==""&&t.push(e);return t}function Kf(e){let t=e.type;if(typeof t=="string")return t;if(typeof t=="function")return t.displayName||t.name||"Unknown";if(pn.isFragment(e))return"React.Fragment";if(pn.isSuspense(e))return"React.Suspense";if(typeof t=="object"&&t!==null){if(pn.isContextProvider(e))return"Context.Provider";if(pn.isContextConsumer(e))return"Context.Consumer";if(pn.isForwardRef(e)){if(t.displayName)return t.displayName;let r=t.render.displayName||t.render.name||"";return r===""?"ForwardRef":`ForwardRef(${r})`}if(pn.isMemo(e)){let r=t.displayName||t.type.displayName||t.type.name||"";return r===""?"Memo":`Memo(${r})`}}return"UNDEFINED"}function oI(e){let{props:t}=e;return Object.keys(t).filter(r=>r!=="children"&&t[r]!==void 0).sort()}var aI=(e,t,r,n,i,o)=>++n>t.maxDepth?Fd(Kf(e),t):qd(Kf(e),Id(oI(e),e.props,t,r+t.indent,n,i,o),jd(Sv(e.props.children),t,r+t.indent,n,i,o),t,r),sI=e=>e!=null&&pn.isElement(e),lI={serialize:aI,test:sI},uI=typeof Symbol=="function"&&Symbol.for?Symbol.for("react.test.json"):245830487;function cI(e){let{props:t}=e;return t?Object.keys(t).filter(r=>t[r]!==void 0).sort():[]}var dI=(e,t,r,n,i,o)=>++n>t.maxDepth?Fd(e.type,t):qd(e.type,e.props?Id(cI(e),e.props,t,r+t.indent,n,i,o):"",e.children?jd(e.children,t,r+t.indent,n,i,o):"",t,r),pI=e=>e&&e.$$typeof===uI,fI={serialize:dI,test:pI},Ov=Object.prototype.toString,mI=Date.prototype.toISOString,hI=Error.prototype.toString,Yf=RegExp.prototype.toString;function Pa(e){return typeof e.constructor=="function"&&e.constructor.name||"Object"}function yI(e){return typeof window<"u"&&e===window}var gI=/^Symbol\((.*)\)(.*)$/,bI=/\n/g,Av=class extends Error{constructor(e,t){super(e),this.stack=t,this.name=this.constructor.name}};function vI(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 EI(e){return Object.is(e,-0)?"-0":String(e)}function wI(e){return`${e}n`}function Xf(e,t){return t?`[Function ${e.name||"anonymous"}]`:"[Function]"}function Qf(e){return String(e).replace(gI,"Symbol($1)")}function Zf(e){return`[${hI.call(e)}]`}function Rv(e,t,r,n){if(e===!0||e===!1)return`${e}`;if(e===void 0)return"undefined";if(e===null)return"null";let i=typeof e;if(i==="number")return EI(e);if(i==="bigint")return wI(e);if(i==="string")return n?`"${e.replaceAll(/"|\\/g,"\\$&")}"`:`"${e}"`;if(i==="function")return Xf(e,t);if(i==="symbol")return Qf(e);let o=Ov.call(e);return o==="[object WeakMap]"?"WeakMap {}":o==="[object WeakSet]"?"WeakSet {}":o==="[object Function]"||o==="[object GeneratorFunction]"?Xf(e,t):o==="[object Symbol]"?Qf(e):o==="[object Date]"?Number.isNaN(+e)?"Date { NaN }":mI.call(e):o==="[object Error]"?Zf(e):o==="[object RegExp]"?r?Yf.call(e).replaceAll(/[$()*+.?[\\\]^{|}]/g,"\\$&"):Yf.call(e):e instanceof Error?Zf(e):null}function Cv(e,t,r,n,i,o){if(i.includes(e))return"[Circular]";i=[...i],i.push(e);let a=++n>t.maxDepth,s=t.min;if(t.callToJSON&&!a&&e.toJSON&&typeof e.toJSON=="function"&&!o)return Dr(e.toJSON(),t,r,n,i,!0);let c=Ov.call(e);return c==="[object Arguments]"?a?"[Arguments]":`${s?"":"Arguments "}[${Xa(e,t,r,n,i,Dr)}]`:vI(c)?a?`[${e.constructor.name}]`:`${s||!t.printBasicPrototype&&e.constructor.name==="Array"?"":`${e.constructor.name} `}[${Xa(e,t,r,n,i,Dr)}]`:c==="[object Map]"?a?"[Map]":`Map {${Vo(e.entries(),t,r,n,i,Dr," => ")}}`:c==="[object Set]"?a?"[Set]":`Set {${Nd(e.values(),t,r,n,i,Dr)}}`:a||yI(e)?`[${Pa(e)}]`:`${s||!t.printBasicPrototype&&Pa(e)==="Object"?"":`${Pa(e)} `}{${kd(e,t,r,n,i,Dr)}}`}var _I={test:e=>e&&e instanceof Error,serialize(e,t,r,n,i,o){if(i.includes(e))return"[Circular]";i=[...i,e];let a=++n>t.maxDepth,{message:s,cause:c,...l}=e,d={message:s,...typeof c<"u"?{cause:c}:{},...e instanceof AggregateError?{errors:e.errors}:{},...l},p=e.name!=="Error"?e.name:Pa(e);return a?`[${p}]`:`${p} {${Vo(Object.entries(d).values(),t,r,n,i,o)}}`}};function TI(e){return e.serialize!=null}function Pv(e,t,r,n,i,o){let a;try{a=TI(e)?e.serialize(t,r,n,i,o,Dr):e.print(t,s=>Dr(s,r,n,i,o),s=>{let c=n+r.indent;return c+s.replaceAll(bI,`
167
+ ${c}`)},{edgeSpacing:r.spacingOuter,min:r.min,spacing:r.spacingInner},r.colors)}catch(s){throw new Av(s.message,s.stack)}if(typeof a!="string")throw new TypeError(`pretty-format: Plugin must return type "string" but instead returned "${typeof a}".`);return a}function Mv(e,t){for(let r of e)try{if(r.test(t))return r}catch(n){throw new Av(n.message,n.stack)}return null}function Dr(e,t,r,n,i,o){let a=Mv(t.plugins,e);if(a!==null)return Pv(a,e,t,r,n,i);let s=Rv(e,t.printFunctionName,t.escapeRegex,t.escapeString);return s!==null?s:Cv(e,t,r,n,i,o)}var Dd={comment:"gray",content:"reset",prop:"yellow",tag:"cyan",value:"green"},Nv=Object.keys(Dd),Jt={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:Dd};function xI(e){for(let t of Object.keys(e))if(!Object.prototype.hasOwnProperty.call(Jt,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 SI(){return Nv.reduce((e,t)=>{let r=Dd[t],n=r&&yr[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 OI(){return Nv.reduce((e,t)=>(e[t]={close:"",open:""},e),Object.create(null))}function kv(e){return e?.printFunctionName??Jt.printFunctionName}function Iv(e){return e?.escapeRegex??Jt.escapeRegex}function jv(e){return e?.escapeString??Jt.escapeString}function em(e){return{callToJSON:e?.callToJSON??Jt.callToJSON,colors:e?.highlight?SI():OI(),compareKeys:typeof e?.compareKeys=="function"||e?.compareKeys===null?e.compareKeys:Jt.compareKeys,escapeRegex:Iv(e),escapeString:jv(e),indent:e?.min?"":AI(e?.indent??Jt.indent),maxDepth:e?.maxDepth??Jt.maxDepth,maxWidth:e?.maxWidth??Jt.maxWidth,min:e?.min??Jt.min,plugins:e?.plugins??Jt.plugins,printBasicPrototype:e?.printBasicPrototype??!0,printFunctionName:kv(e),spacingInner:e?.min?" ":`
168
+ `,spacingOuter:e?.min?"":`
169
+ `}}function AI(e){return Array.from({length:e+1}).join(" ")}function nr(e,t){if(t&&(xI(t),t.plugins)){let n=Mv(t.plugins,e);if(n!==null)return Pv(n,e,em(t),"",0,[])}let r=Rv(e,kv(t),Iv(t),jv(t));return r!==null?r:Cv(e,em(t),"",0,[])}var Ld={AsymmetricMatcher:gk,DOMCollection:xk,DOMElement:Ik,Immutable:Kk,ReactElement:lI,ReactTestComponent:fI,Error:_I},tm={bold:["1","22"],dim:["2","22"],italic:["3","23"],underline:["4","24"],inverse:["7","27"],hidden:["8","28"],strike:["9","29"],black:["30","39"],red:["31","39"],green:["32","39"],yellow:["33","39"],blue:["34","39"],magenta:["35","39"],cyan:["36","39"],white:["37","39"],brightblack:["30;1","39"],brightred:["31;1","39"],brightgreen:["32;1","39"],brightyellow:["33;1","39"],brightblue:["34;1","39"],brightmagenta:["35;1","39"],brightcyan:["36;1","39"],brightwhite:["37;1","39"],grey:["90","39"]},RI={special:"cyan",number:"yellow",bigint:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",symbol:"green",date:"magenta",regexp:"red"},Yn="…";function CI(e,t){let r=tm[RI[t]]||tm[t]||"";return r?`\x1B[${r[0]}m${String(e)}\x1B[${r[1]}m`:String(e)}function PI({showHidden:e=!1,depth:t=2,colors:r=!1,customInspect:n=!0,showProxy:i=!1,maxArrayLength:o=1/0,breakLength:a=1/0,seen:s=[],truncate:c=1/0,stylize:l=String}={},d){let p={showHidden:!!e,depth:Number(t),colors:!!r,customInspect:!!n,showProxy:!!i,maxArrayLength:Number(o),breakLength:Number(a),truncate:Number(c),seen:s,inspect:d,stylize:l};return p.colors&&(p.stylize=CI),p}function MI(e){return e>="\uD800"&&e<="\uDBFF"}function Xr(e,t,r=Yn){e=String(e);let n=r.length,i=e.length;if(n>t&&i>n)return r;if(i>t&&i>n){let o=t-n;return o>0&&MI(e[o-1])&&(o=o-1),`${e.slice(0,o)}${r}`}return e}function Kt(e,t,r,n=", "){r=r||t.inspect;let i=e.length;if(i===0)return"";let o=t.truncate,a="",s="",c="";for(let l=0;l<i;l+=1){let d=l+1===e.length,p=l+2===e.length;c=`${Yn}(${e.length-l})`;let f=e[l];t.truncate=o-a.length-(d?0:n.length);let m=s||r(f,t)+(d?"":n),y=a.length+m.length,g=y+c.length;if(d&&y>o&&a.length+c.length<=o||!d&&!p&&g>o||(s=d?"":r(e[l+1],t)+(p?"":n),!d&&p&&g>o&&y+s.length>o))break;if(a+=m,!d&&!p&&y+s.length>=o){c=`${Yn}(${e.length-l-1})`;break}c=""}return`${a}${c}`}function NI(e){return e.match(/^[a-zA-Z_][a-zA-Z_0-9]*$/)?e:JSON.stringify(e).replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'")}function vo([e,t],r){return r.truncate-=2,typeof e=="string"?e=NI(e):typeof e!="number"&&(e=`[${r.inspect(e,r)}]`),r.truncate-=e.length,t=r.inspect(t,r),`${e}: ${t}`}function kI(e,t){let r=Object.keys(e).slice(e.length);if(!e.length&&!r.length)return"[]";t.truncate-=4;let n=Kt(e,t);t.truncate-=n.length;let i="";return r.length&&(i=Kt(r.map(o=>[o,e[o]]),t,vo)),`[ ${n}${i?`, ${i}`:""} ]`}var II=e=>typeof Buffer=="function"&&e instanceof Buffer?"Buffer":e[Symbol.toStringTag]?e[Symbol.toStringTag]:e.constructor.name;function cr(e,t){let r=II(e);t.truncate-=r.length+4;let n=Object.keys(e).slice(e.length);if(!e.length&&!n.length)return`${r}[]`;let i="";for(let a=0;a<e.length;a++){let s=`${t.stylize(Xr(e[a],t.truncate),"number")}${a===e.length-1?"":", "}`;if(t.truncate-=s.length,e[a]!==e.length&&t.truncate<=3){i+=`${Yn}(${e.length-e[a]+1})`;break}i+=s}let o="";return n.length&&(o=Kt(n.map(a=>[a,e[a]]),t,vo)),`${r}[ ${i}${o?`, ${o}`:""} ]`}function jI(e,t){let r=e.toJSON();if(r===null)return"Invalid Date";let n=r.split("T"),i=n[0];return t.stylize(`${i}T${Xr(n[1],t.truncate-i.length-1)}`,"date")}function rm(e,t){let r=e[Symbol.toStringTag]||"Function",n=e.name;return n?t.stylize(`[${r} ${Xr(n,t.truncate-11)}]`,"special"):t.stylize(`[${r}]`,"special")}function qI([e,t],r){return r.truncate-=4,e=r.inspect(e,r),r.truncate-=e.length,t=r.inspect(t,r),`${e} => ${t}`}function FI(e){let t=[];return e.forEach((r,n)=>{t.push([n,r])}),t}function DI(e,t){return e.size===0?"Map{}":(t.truncate-=7,`Map{ ${Kt(FI(e),t,qI)} }`)}var LI=Number.isNaN||(e=>e!==e);function nm(e,t){return LI(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(Xr(String(e),t.truncate),"number")}function im(e,t){let r=Xr(e.toString(),t.truncate-1);return r!==Yn&&(r+="n"),t.stylize(r,"bigint")}function $I(e,t){let r=e.toString().split("/")[2],n=t.truncate-(2+r.length),i=e.source;return t.stylize(`/${Xr(i,n)}/${r}`,"regexp")}function BI(e){let t=[];return e.forEach(r=>{t.push(r)}),t}function UI(e,t){return e.size===0?"Set{}":(t.truncate-=7,`Set{ ${Kt(BI(e),t)} }`)}var om=new RegExp("['\\u0000-\\u001f\\u007f-\\u009f\\u00ad\\u0600-\\u0604\\u070f\\u17b4\\u17b5\\u200c-\\u200f\\u2028-\\u202f\\u2060-\\u206f\\ufeff\\ufff0-\\uffff]","g"),HI={"\b":"\\b"," ":"\\t","\n":"\\n","\f":"\\f","\r":"\\r","'":"\\'","\\":"\\\\"},JI=16;function VI(e){return HI[e]||`\\u${`0000${e.charCodeAt(0).toString(JI)}`.slice(-4)}`}function am(e,t){return om.test(e)&&(e=e.replace(om,VI)),t.stylize(`'${Xr(e,t.truncate-2)}'`,"string")}function sm(e){return"description"in Symbol.prototype?e.description?`Symbol(${e.description})`:"Symbol()":e.toString()}var qv=()=>"Promise{…}";try{let{getPromiseDetails:e,kPending:t,kRejected:r}=process.binding("util");Array.isArray(e(Promise.resolve()))&&(qv=(n,i)=>{let[o,a]=e(n);return o===t?"Promise{<pending>}":`Promise${o===r?"!":""}{${i.inspect(a,i)}}`})}catch{}var zI=qv;function Ma(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 i=Kt(r.map(s=>[s,e[s]]),t,vo),o=Kt(n.map(s=>[s,e[s]]),t,vo);t.seen.pop();let a="";return i&&o&&(a=", "),`{ ${i}${a}${o} }`}var Ul=typeof Symbol<"u"&&Symbol.toStringTag?Symbol.toStringTag:!1;function GI(e,t){let r="";return Ul&&Ul in e&&(r=e[Ul]),r=r||e.constructor.name,(!r||r==="_class")&&(r="<Anonymous Class>"),t.truncate-=r.length,`${r}${Ma(e,t)}`}function WI(e,t){return e.length===0?"Arguments[]":(t.truncate-=13,`Arguments[ ${Kt(e,t)} ]`)}var KI=["stack","line","column","name","message","fileName","lineNumber","columnNumber","number","description","cause"];function YI(e,t){let r=Object.getOwnPropertyNames(e).filter(a=>KI.indexOf(a)===-1),n=e.name;t.truncate-=n.length;let i="";if(typeof e.message=="string"?i=Xr(e.message,t.truncate):r.unshift("message"),i=i?`: ${i}`:"",t.truncate-=i.length+5,t.seen=t.seen||[],t.seen.includes(e))return"[Circular]";t.seen.push(e);let o=Kt(r.map(a=>[a,e[a]]),t,vo);return`${n}${i}${o?` { ${o} }`:""}`}function XI([e,t],r){return r.truncate-=3,t?`${r.stylize(String(e),"yellow")}=${r.stylize(`"${t}"`,"string")}`:`${r.stylize(String(e),"yellow")}`}function ju(e,t){return Kt(e,t,QI,`
170
+ `)}function QI(e,t){switch(e.nodeType){case 1:return Fv(e,t);case 3:return t.inspect(e.data,t);default:return t.inspect(e,t)}}function Fv(e,t){let r=e.getAttributeNames(),n=e.tagName.toLowerCase(),i=t.stylize(`<${n}`,"special"),o=t.stylize(">","special"),a=t.stylize(`</${n}>`,"special");t.truncate-=n.length*2+5;let s="";r.length>0&&(s+=" ",s+=Kt(r.map(d=>[d,e.getAttribute(d)]),t,XI," ")),t.truncate-=s.length;let c=t.truncate,l=ju(e.children,t);return l&&l.length>c&&(l=`${Yn}(${e.children.length})`),`${i}${s}${o}${l}${a}`}var ZI=typeof Symbol=="function"&&typeof Symbol.for=="function",Hl=ZI?Symbol.for("chai/inspect"):"@@chai/inspect",Jl=Symbol.for("nodejs.util.inspect.custom"),lm=new WeakMap,um={},cm={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:nm,Number:nm,bigint:im,BigInt:im,string:am,String:am,function:rm,Function:rm,symbol:sm,Symbol:sm,Array:kI,Date:jI,Map:DI,Set:UI,RegExp:$I,Promise:zI,WeakSet:(e,t)=>t.stylize("WeakSet{…}","special"),WeakMap:(e,t)=>t.stylize("WeakMap{…}","special"),Arguments:WI,Int8Array:cr,Uint8Array:cr,Uint8ClampedArray:cr,Int16Array:cr,Uint16Array:cr,Int32Array:cr,Uint32Array:cr,Float32Array:cr,Float64Array:cr,Generator:()=>"",DataView:()=>"",ArrayBuffer:()=>"",Error:YI,HTMLCollection:ju,NodeList:ju},ej=(e,t,r)=>Hl in e&&typeof e[Hl]=="function"?e[Hl](t):Jl in e&&typeof e[Jl]=="function"?e[Jl](t.depth,t):"inspect"in e&&typeof e.inspect=="function"?e.inspect(t.depth,t):"constructor"in e&&lm.has(e.constructor)?lm.get(e.constructor)(e,t):um[r]?um[r](e,t):"",tj=Object.prototype.toString;function qu(e,t={}){let r=PI(t,qu),{customInspect:n}=r,i=e===null?"null":typeof e;if(i==="object"&&(i=tj.call(e).slice(8,-1)),i in cm)return cm[i](e,r);if(n&&e){let a=ej(e,r,i);if(a)return typeof a=="string"?a:qu(a,r)}let o=e?Object.getPrototypeOf(e):!1;return o===Object.prototype||o===null?Ma(e,r):e&&typeof HTMLElement=="function"&&e instanceof HTMLElement?Fv(e,r):"constructor"in e?e.constructor!==Object?GI(e,r):Ma(e,r):e===Object(e)?Ma(e,r):r.stylize(String(e),i)}var{AsymmetricMatcher:rj,DOMCollection:nj,DOMElement:ij,Immutable:oj,ReactElement:aj,ReactTestComponent:sj}=Ld,dm=[sj,aj,ij,nj,oj,rj];function Mt(e,t=10,{maxLength:r,...n}={}){let i=r??1e4,o;try{o=nr(e,{maxDepth:t,escapeString:!1,plugins:dm,...n})}catch{o=nr(e,{callToJSON:!1,maxDepth:t,escapeString:!1,plugins:dm,...n})}return o.length>=i&&t>1?Mt(e,Math.floor(Math.min(t,Number.MAX_SAFE_INTEGER)/2),{maxLength:r,...n}):o}var lj=/%[sdjifoOc%]/g;function uj(...e){if(typeof e[0]!="string"){let o=[];for(let a=0;a<e.length;a++)o.push(Hi(e[a],{depth:0,colors:!1}));return o.join(" ")}let t=e.length,r=1,n=e[0],i=String(n).replace(lj,o=>{if(o==="%%")return"%";if(r>=t)return o;switch(o){case"%s":{let a=e[r++];return typeof a=="bigint"?`${a.toString()}n`:typeof a=="number"&&a===0&&1/a<0?"-0":typeof a=="object"&&a!==null?typeof a.toString=="function"&&a.toString!==Object.prototype.toString?a.toString():Hi(a,{depth:0,colors:!1}):String(a)}case"%d":{let a=e[r++];return typeof a=="bigint"?`${a.toString()}n`:Number(a).toString()}case"%i":{let a=e[r++];return typeof a=="bigint"?`${a.toString()}n`:Number.parseInt(String(a)).toString()}case"%f":return Number.parseFloat(String(e[r++])).toString();case"%o":return Hi(e[r++],{showHidden:!0,showProxy:!0});case"%O":return Hi(e[r++]);case"%c":return r++,"";case"%j":try{return JSON.stringify(e[r++])}catch(a){let s=a.message;if(s.includes("circular structure")||s.includes("cyclic structures")||s.includes("cyclic object"))return"[Circular]";throw a}default:return o}});for(let o=e[r];r<t;o=e[++r])o===null||typeof o!="object"?i+=` ${o}`:i+=` ${Hi(o)}`;return i}function Hi(e,t={}){return t.truncate===0&&(t.truncate=Number.POSITIVE_INFINITY),qu(e,t)}function Dv(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function dr(e,t,r){let n=typeof e;if(!r.includes(n))throw new TypeError(`${t} value must be ${r.join(" or ")}, received "${n}"`)}function Na(e){return e!=null&&typeof e=="object"&&!Array.isArray(e)}function cj(e){return e===Object.prototype||e===Function.prototype||e===RegExp.prototype}function Qa(e){return Object.prototype.toString.apply(e).slice(8,-1)}function dj(e,t){let r=typeof t=="function"?t:n=>t.add(n);Object.getOwnPropertyNames(e).forEach(r),Object.getOwnPropertySymbols(e).forEach(r)}function Lv(e){let t=new Set;return cj(e)?[]:(dj(e,t),Array.from(t))}var $v={forceWritable:!1};function pm(e,t=$v){return Fu(e,new WeakMap,t)}function Fu(e,t,r=$v){let n,i;if(t.has(e))return t.get(e);if(Array.isArray(e)){for(i=Array.from({length:n=e.length}),t.set(e,i);n--;)i[n]=Fu(e[n],t,r);return i}if(Object.prototype.toString.call(e)==="[object Object]"){i=Object.create(Object.getPrototypeOf(e)),t.set(e,i);let o=Lv(e);for(let a of o){let s=Object.getOwnPropertyDescriptor(e,a);if(!s)continue;let c=Fu(e[a],t,r);r.forceWritable?Object.defineProperty(i,a,{enumerable:s.enumerable,configurable:!0,writable:!0,value:c}):"get"in s?Object.defineProperty(i,a,{...s,get(){return c}}):Object.defineProperty(i,a,{...s,value:c})}return i}return e}function pj(){}var pt=-1,st=1,ze=0,Je=class{0;1;constructor(e,t){this[0]=e,this[1]=t}};function fj(e,t){if(!e||!t||e.charAt(0)!==t.charAt(0))return 0;let r=0,n=Math.min(e.length,t.length),i=n,o=0;for(;r<i;)e.substring(o,i)===t.substring(o,i)?(r=i,o=r):n=i,i=Math.floor((n-r)/2+r);return i}function Bv(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),i=n,o=0;for(;r<i;)e.substring(e.length-i,e.length-o)===t.substring(t.length-i,t.length-o)?(r=i,o=r):n=i,i=Math.floor((n-r)/2+r);return i}function fm(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 i=Math.min(r,n);if(e===t)return i;let o=0,a=1;for(;;){let s=e.substring(i-a),c=t.indexOf(s);if(c===-1)return o;a+=c,(c===0||e.substring(i-a)===t.substring(0,a))&&(o=a,a++)}}function mj(e){let t=!1,r=[],n=0,i=null,o=0,a=0,s=0,c=0,l=0;for(;o<e.length;)e[o][0]===ze?(r[n++]=o,a=c,s=l,c=0,l=0,i=e[o][1]):(e[o][0]===st?c+=e[o][1].length:l+=e[o][1].length,i&&i.length<=Math.max(a,s)&&i.length<=Math.max(c,l)&&(e.splice(r[n-1],0,new Je(pt,i)),e[r[n-1]+1][0]=st,n--,n--,o=n>0?r[n-1]:-1,a=0,s=0,c=0,l=0,i=null,t=!0)),o++;for(t&&Uv(e),gj(e),o=1;o<e.length;){if(e[o-1][0]===pt&&e[o][0]===st){let d=e[o-1][1],p=e[o][1],f=fm(d,p),m=fm(p,d);f>=m?(f>=d.length/2||f>=p.length/2)&&(e.splice(o,0,new Je(ze,p.substring(0,f))),e[o-1][1]=d.substring(0,d.length-f),e[o+1][1]=p.substring(f),o++):(m>=d.length/2||m>=p.length/2)&&(e.splice(o,0,new Je(ze,d.substring(0,m))),e[o-1][0]=st,e[o-1][1]=p.substring(0,p.length-m),e[o+1][0]=pt,e[o+1][1]=d.substring(m),o++),o++}o++}}var mm=/[^a-z0-9]/i,hm=/\s/,ym=/[\r\n]/,hj=/\n\r?\n$/,yj=/^\r?\n\r?\n/;function gj(e){let t=1;for(;t<e.length-1;){if(e[t-1][0]===ze&&e[t+1][0]===ze){let r=e[t-1][1],n=e[t][1],i=e[t+1][1],o=Bv(r,n);if(o){let d=n.substring(n.length-o);r=r.substring(0,r.length-o),n=d+n.substring(0,n.length-o),i=d+i}let a=r,s=n,c=i,l=da(r,n)+da(n,i);for(;n.charAt(0)===i.charAt(0);){r+=n.charAt(0),n=n.substring(1)+i.charAt(0),i=i.substring(1);let d=da(r,n)+da(n,i);d>=l&&(l=d,a=r,s=n,c=i)}e[t-1][1]!==a&&(a?e[t-1][1]=a:(e.splice(t-1,1),t--),e[t][1]=s,c?e[t+1][1]=c:(e.splice(t+1,1),t--))}t++}}function Uv(e){e.push(new Je(ze,""));let t=0,r=0,n=0,i="",o="",a;for(;t<e.length;)switch(e[t][0]){case st:n++,o+=e[t][1],t++;break;case pt:r++,i+=e[t][1],t++;break;case ze:r+n>1?(r!==0&&n!==0&&(a=fj(o,i),a!==0&&(t-r-n>0&&e[t-r-n-1][0]===ze?e[t-r-n-1][1]+=o.substring(0,a):(e.splice(0,0,new Je(ze,o.substring(0,a))),t++),o=o.substring(a),i=i.substring(a)),a=Bv(o,i),a!==0&&(e[t][1]=o.substring(o.length-a)+e[t][1],o=o.substring(0,o.length-a),i=i.substring(0,i.length-a))),t-=r+n,e.splice(t,r+n),i.length&&(e.splice(t,0,new Je(pt,i)),t++),o.length&&(e.splice(t,0,new Je(st,o)),t++),t++):t!==0&&e[t-1][0]===ze?(e[t-1][1]+=e[t][1],e.splice(t,1)):t++,n=0,r=0,i="",o="";break}e[e.length-1][1]===""&&e.pop();let s=!1;for(t=1;t<e.length-1;)e[t-1][0]===ze&&e[t+1][0]===ze&&(e[t][1].substring(e[t][1].length-e[t-1][1].length)===e[t-1][1]?(e[t][1]=e[t-1][1]+e[t][1].substring(0,e[t][1].length-e[t-1][1].length),e[t+1][1]=e[t-1][1]+e[t+1][1],e.splice(t-1,1),s=!0):e[t][1].substring(0,e[t+1][1].length)===e[t+1][1]&&(e[t-1][1]+=e[t+1][1],e[t][1]=e[t][1].substring(e[t+1][1].length)+e[t+1][1],e.splice(t+1,1),s=!0)),t++;s&&Uv(e)}function da(e,t){if(!e||!t)return 6;let r=e.charAt(e.length-1),n=t.charAt(0),i=r.match(mm),o=n.match(mm),a=i&&r.match(hm),s=o&&n.match(hm),c=a&&r.match(ym),l=s&&n.match(ym),d=c&&e.match(hj),p=l&&t.match(yj);return d||p?5:c||l?4:i&&!a&&s?3:a||s?2:i||o?1:0}var Hv="Compared values have no visual difference.",bj="Compared values serialize to the same structure.\nPrinting internal object structure without calling `toJSON` instead.",pa={},gm;function vj(){if(gm)return pa;gm=1,Object.defineProperty(pa,"__esModule",{value:!0}),pa.default=f;let e="diff-sequences",t=0,r=(m,y,g,v,b)=>{let T=0;for(;m<y&&g<v&&b(m,g);)m+=1,g+=1,T+=1;return T},n=(m,y,g,v,b)=>{let T=0;for(;m<=y&&g<=v&&b(y,v);)y-=1,v-=1,T+=1;return T},i=(m,y,g,v,b,T,O)=>{let R=0,P=-m,E=T[R],_=E;T[R]+=r(E+1,y,v+E-P+1,g,b);let x=m<O?m:O;for(R+=1,P+=2;R<=x;R+=1,P+=2){if(R!==m&&_<T[R])E=T[R];else if(E=_+1,y<=E)return R-1;_=T[R],T[R]=E+r(E+1,y,v+E-P+1,g,b)}return O},o=(m,y,g,v,b,T,O)=>{let R=0,P=m,E=T[R],_=E;T[R]-=n(y,E-1,g,v+E-P-1,b);let x=m<O?m:O;for(R+=1,P-=2;R<=x;R+=1,P-=2){if(R!==m&&T[R]<_)E=T[R];else if(E=_-1,E<y)return R-1;_=T[R],T[R]=E-n(y,E-1,g,v+E-P-1,b)}return O},a=(m,y,g,v,b,T,O,R,P,E,_)=>{let x=v-y,S=g-y,L=b-v-S,j=-L-(m-1),J=-L+(m-1),N=t,A=m<R?m:R;for(let q=0,$=-m;q<=A;q+=1,$+=2){let V=q===0||q!==m&&N<O[q],Y=V?O[q]:N,ie=V?Y:Y+1,ue=x+ie-$,F=r(ie+1,g,ue+1,b,T),D=ie+F;if(N=O[q],O[q]=D,j<=$&&$<=J){let G=(m-1-($+L))/2;if(G<=E&&P[G]-1<=D){let Q=x+Y-(V?$+1:$-1),X=n(y,Y,v,Q,T),K=Y-X,oe=Q-X,se=K+1,Te=oe+1;_.nChangePreceding=m-1,m-1===se+Te-y-v?(_.aEndPreceding=y,_.bEndPreceding=v):(_.aEndPreceding=se,_.bEndPreceding=Te),_.nCommonPreceding=X,X!==0&&(_.aCommonPreceding=se,_.bCommonPreceding=Te),_.nCommonFollowing=F,F!==0&&(_.aCommonFollowing=ie+1,_.bCommonFollowing=ue+1);let B=D+1,te=ue+F+1;return _.nChangeFollowing=m-1,m-1===g+b-B-te?(_.aStartFollowing=g,_.bStartFollowing=b):(_.aStartFollowing=B,_.bStartFollowing=te),!0}}}return!1},s=(m,y,g,v,b,T,O,R,P,E,_)=>{let x=b-g,S=g-y,L=b-v-S,j=L-m,J=L+m,N=t,A=m<E?m:E;for(let q=0,$=m;q<=A;q+=1,$-=2){let V=q===0||q!==m&&P[q]<N,Y=V?P[q]:N,ie=V?Y:Y-1,ue=x+ie-$,F=n(y,ie-1,v,ue-1,T),D=ie-F;if(N=P[q],P[q]=D,j<=$&&$<=J){let G=(m+($-L))/2;if(G<=R&&D-1<=O[G]){let Q=ue-F;if(_.nChangePreceding=m,m===D+Q-y-v?(_.aEndPreceding=y,_.bEndPreceding=v):(_.aEndPreceding=D,_.bEndPreceding=Q),_.nCommonPreceding=F,F!==0&&(_.aCommonPreceding=D,_.bCommonPreceding=Q),_.nChangeFollowing=m-1,m===1)_.nCommonFollowing=0,_.aStartFollowing=g,_.bStartFollowing=b;else{let X=x+Y-(V?$-1:$+1),K=r(Y,g,X,b,T);_.nCommonFollowing=K,K!==0&&(_.aCommonFollowing=Y,_.bCommonFollowing=X);let oe=Y+K,se=X+K;m-1===g+b-oe-se?(_.aStartFollowing=g,_.bStartFollowing=b):(_.aStartFollowing=oe,_.bStartFollowing=se)}return!0}}}return!1},c=(m,y,g,v,b,T,O,R,P)=>{let E=v-y,_=b-g,x=g-y,S=b-v,L=S-x,j=x,J=x;if(O[0]=y-1,R[0]=g,L%2===0){let N=(m||L)/2,A=(x+S)/2;for(let q=1;q<=A;q+=1)if(j=i(q,g,b,E,T,O,j),q<N)J=o(q,y,v,_,T,R,J);else if(s(q,y,g,v,b,T,O,j,R,J,P))return}else{let N=((m||L)+1)/2,A=(x+S+1)/2,q=1;for(j=i(q,g,b,E,T,O,j),q+=1;q<=A;q+=1)if(J=o(q-1,y,v,_,T,R,J),q<N)j=i(q,g,b,E,T,O,j);else if(a(q,y,g,v,b,T,O,j,R,J,P))return}throw new Error(`${e}: no overlap aStart=${y} aEnd=${g} bStart=${v} bEnd=${b}`)},l=(m,y,g,v,b,T,O,R,P,E)=>{if(b-v<g-y){if(T=!T,T&&O.length===1){let{foundSubsequence:G,isCommon:Q}=O[0];O[1]={foundSubsequence:(X,K,oe)=>{G(X,oe,K)},isCommon:(X,K)=>Q(K,X)}}let F=y,D=g;y=v,g=b,v=F,b=D}let{foundSubsequence:_,isCommon:x}=O[T?1:0];c(m,y,g,v,b,x,R,P,E);let{nChangePreceding:S,aEndPreceding:L,bEndPreceding:j,nCommonPreceding:J,aCommonPreceding:N,bCommonPreceding:A,nCommonFollowing:q,aCommonFollowing:$,bCommonFollowing:V,nChangeFollowing:Y,aStartFollowing:ie,bStartFollowing:ue}=E;y<L&&v<j&&l(S,y,L,v,j,T,O,R,P,E),J!==0&&_(J,N,A),q!==0&&_(q,$,V),ie<g&&ue<b&&l(Y,ie,g,ue,b,T,O,R,P,E)},d=(m,y)=>{if(typeof y!="number")throw new TypeError(`${e}: ${m} typeof ${typeof y} is not a number`);if(!Number.isSafeInteger(y))throw new RangeError(`${e}: ${m} value ${y} is not a safe integer`);if(y<0)throw new RangeError(`${e}: ${m} value ${y} is a negative integer`)},p=(m,y)=>{let g=typeof y;if(g!=="function")throw new TypeError(`${e}: ${m} typeof ${g} is not a function`)};function f(m,y,g,v){d("aLength",m),d("bLength",y),p("isCommon",g),p("foundSubsequence",v);let b=r(0,m,0,y,g);if(b!==0&&v(b,0,0),m!==b||y!==b){let T=b,O=b,R=n(T,m-1,O,y-1,g),P=m-R,E=y-R,_=b+R;m!==_&&y!==_&&l(0,T,P,O,E,!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}),R!==0&&v(R,P,E)}}return pa}var Ej=vj(),Jv=Dv(Ej);function wj(e,t){return e.replace(/\s+$/,r=>t(r))}function $d(e,t,r,n,i,o){return e.length!==0?r(`${n} ${wj(e,i)}`):n!==" "?r(n):t&&o.length!==0?r(`${n} ${o}`):""}function Vv(e,t,{aColor:r,aIndicator:n,changeLineTrailingSpaceColor:i,emptyFirstOrLastLinePlaceholder:o}){return $d(e,t,r,n,i,o)}function zv(e,t,{bColor:r,bIndicator:n,changeLineTrailingSpaceColor:i,emptyFirstOrLastLinePlaceholder:o}){return $d(e,t,r,n,i,o)}function Gv(e,t,{commonColor:r,commonIndicator:n,commonLineTrailingSpaceColor:i,emptyFirstOrLastLinePlaceholder:o}){return $d(e,t,r,n,i,o)}function bm(e,t,r,n,{patchColor:i}){return i(`@@ -${e+1},${t-e} +${r+1},${n-r} @@`)}function _j(e,t){let r=e.length,n=t.contextLines,i=n+n,o=r,a=!1,s=0,c=0;for(;c!==r;){let R=c;for(;c!==r&&e[c][0]===ze;)c+=1;if(R!==c)if(R===0)c>n&&(o-=c-n,a=!0);else if(c===r){let P=c-R;P>n&&(o-=P-n,a=!0)}else{let P=c-R;P>i&&(o-=P-i,s+=1)}for(;c!==r&&e[c][0]!==ze;)c+=1}let l=s!==0||a;s!==0?o+=s+1:a&&(o+=1);let d=o-1,p=[],f=0;l&&p.push("");let m=0,y=0,g=0,v=0,b=R=>{let P=p.length;p.push(Gv(R,P===0||P===d,t)),g+=1,v+=1},T=R=>{let P=p.length;p.push(Vv(R,P===0||P===d,t)),g+=1},O=R=>{let P=p.length;p.push(zv(R,P===0||P===d,t)),v+=1};for(c=0;c!==r;){let R=c;for(;c!==r&&e[c][0]===ze;)c+=1;if(R!==c)if(R===0){c>n&&(R=c-n,m=R,y=R,g=m,v=y);for(let P=R;P!==c;P+=1)b(e[P][1])}else if(c===r){let P=c-R>n?R+n:c;for(let E=R;E!==P;E+=1)b(e[E][1])}else{let P=c-R;if(P>i){let E=R+n;for(let x=R;x!==E;x+=1)b(e[x][1]);p[f]=bm(m,g,y,v,t),f=p.length,p.push("");let _=P-i;m=g+_,y=v+_,g=m,v=y;for(let x=c-n;x!==c;x+=1)b(e[x][1])}else for(let E=R;E!==c;E+=1)b(e[E][1])}for(;c!==r&&e[c][0]===pt;)T(e[c][1]),c+=1;for(;c!==r&&e[c][0]===st;)O(e[c][1]),c+=1}return l&&(p[f]=bm(m,g,y,v,t)),p.join(`
171
+ `)}function Tj(e,t){return e.map((r,n,i)=>{let o=r[1],a=n===0||n===i.length-1;switch(r[0]){case pt:return Vv(o,a,t);case st:return zv(o,a,t);default:return Gv(o,a,t)}}).join(`
172
+ `)}var Vl=e=>e,Wv=5,xj=0;function Sj(){return{aAnnotation:"Expected",aColor:yr.green,aIndicator:"-",bAnnotation:"Received",bColor:yr.red,bIndicator:"+",changeColor:yr.inverse,changeLineTrailingSpaceColor:Vl,commonColor:yr.dim,commonIndicator:" ",commonLineTrailingSpaceColor:Vl,compareKeys:void 0,contextLines:Wv,emptyFirstOrLastLinePlaceholder:"",expand:!1,includeChangeCounts:!1,omitAnnotationLines:!1,patchColor:yr.yellow,printBasicPrototype:!1,truncateThreshold:xj,truncateAnnotation:"... Diff result is truncated",truncateAnnotationColor:Vl}}function Oj(e){return e&&typeof e=="function"?e:void 0}function Aj(e){return typeof e=="number"&&Number.isSafeInteger(e)&&e>=0?e:Wv}function Mn(e={}){return{...Sj(),...e,compareKeys:Oj(e.compareKeys),contextLines:Aj(e.contextLines)}}function Ln(e){return e.length===1&&e[0].length===0}function Rj(e){let t=0,r=0;return e.forEach(n=>{switch(n[0]){case pt:t+=1;break;case st:r+=1;break}}),{a:t,b:r}}function Cj({aAnnotation:e,aColor:t,aIndicator:r,bAnnotation:n,bColor:i,bIndicator:o,includeChangeCounts:a,omitAnnotationLines:s},c){if(s)return"";let l="",d="";if(a){let m=String(c.a),y=String(c.b),g=n.length-e.length,v=" ".repeat(Math.max(0,g)),b=" ".repeat(Math.max(0,-g)),T=y.length-m.length,O=" ".repeat(Math.max(0,T)),R=" ".repeat(Math.max(0,-T));l=`${v} ${r} ${O}${m}`,d=`${b} ${o} ${R}${y}`}let p=`${r} ${e}${l}`,f=`${o} ${n}${d}`;return`${t(p)}
173
+ ${i(f)}
174
+
175
+ `}function Bd(e,t,r){return Cj(r,Rj(e))+(r.expand?Tj(e,r):_j(e,r))+(t?r.truncateAnnotationColor(`
176
+ ${r.truncateAnnotation}`):"")}function Vs(e,t,r){let n=Mn(r),[i,o]=Kv(Ln(e)?[]:e,Ln(t)?[]:t,n);return Bd(i,o,n)}function Pj(e,t,r,n,i){if(Ln(e)&&Ln(r)&&(e=[],r=[]),Ln(t)&&Ln(n)&&(t=[],n=[]),e.length!==r.length||t.length!==n.length)return Vs(e,t,i);let[o,a]=Kv(r,n,i),s=0,c=0;return o.forEach(l=>{switch(l[0]){case pt:l[1]=e[s],s+=1;break;case st:l[1]=t[c],c+=1;break;default:l[1]=t[c],s+=1,c+=1}}),Bd(o,a,Mn(i))}function Kv(e,t,r){let n=r?.truncateThreshold??!1,i=Math.max(Math.floor(r?.truncateThreshold??0),0),o=n?Math.min(e.length,i):e.length,a=n?Math.min(t.length,i):t.length,s=o!==e.length||a!==t.length,c=(f,m)=>e[f]===t[m],l=[],d=0,p=0;for(Jv(o,a,c,(f,m,y)=>{for(;d!==m;d+=1)l.push(new Je(pt,e[d]));for(;p!==y;p+=1)l.push(new Je(st,t[p]));for(;f!==0;f-=1,d+=1,p+=1)l.push(new Je(ze,t[p]))});d!==o;d+=1)l.push(new Je(pt,e[d]));for(;p!==a;p+=1)l.push(new Je(st,t[p]));return[l,s]}function vm(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 Em(e){return e.includes(`\r
177
+ `)?`\r
178
+ `:`
179
+ `}function Mj(e,t,r){let n=r?.truncateThreshold??!1,i=Math.max(Math.floor(r?.truncateThreshold??0),0),o=e.length,a=t.length;if(n){let f=e.includes(`
180
+ `),m=t.includes(`
181
+ `),y=Em(e),g=Em(t),v=f?`${e.split(y,i).join(y)}
182
+ `:e,b=m?`${t.split(g,i).join(g)}
183
+ `:t;o=v.length,a=b.length}let s=o!==e.length||a!==t.length,c=(f,m)=>e[f]===t[m],l=0,d=0,p=[];return Jv(o,a,c,(f,m,y)=>{l!==m&&p.push(new Je(pt,e.slice(l,m))),d!==y&&p.push(new Je(st,t.slice(d,y))),l=m+f,d=y+f,p.push(new Je(ze,t.slice(y,d)))}),l!==o&&p.push(new Je(pt,e.slice(l))),d!==a&&p.push(new Je(st,t.slice(d))),[p,s]}function Nj(e,t,r){return t.reduce((n,i)=>n+(i[0]===ze?i[1]:i[0]===e&&i[1].length!==0?r(i[1]):""),"")}var wm=class{op;line;lines;changeColor;constructor(e,t){this.op=e,this.line=[],this.lines=[],this.changeColor=t}pushSubstring(e){this.pushDiff(new Je(this.op,e))}pushLine(){this.lines.push(this.line.length!==1?new Je(this.op,Nj(this.op,this.line,this.changeColor)):this.line[0][0]===this.op?this.line[0]:new Je(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((i,o)=>{o<n?(this.pushSubstring(i),this.pushLine()):i.length!==0&&this.pushSubstring(i)})}else this.pushDiff(e)}moveLinesTo(e){this.isLineEmpty()||this.pushLine(),e.push(...this.lines),this.lines.length=0}},kj=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
+ `),i=n.length-1;n.forEach((o,a)=>{if(a===0){let s=new Je(t,o);this.deleteBuffer.isLineEmpty()&&this.insertBuffer.isLineEmpty()?(this.flushChangeLines(),this.pushDiffCommonLine(s)):(this.pushDiffChangeLines(s),this.flushChangeLines())}else a<i?this.pushDiffCommonLine(new Je(t,o)):o.length!==0&&this.pushDiffChangeLines(new Je(t,o))})}else this.pushDiffChangeLines(e)}getLines(){return this.flushChangeLines(),this.lines}};function Ij(e,t){let r=new wm(pt,t),n=new wm(st,t),i=new kj(r,n);return e.forEach(o=>{switch(o[0]){case pt:r.align(o);break;case st:n.align(o);break;default:i.align(o)}}),i.getLines()}function jj(e,t){if(t){let r=e.length-1;return e.some((n,i)=>n[0]===ze&&(i!==r||n[1]!==`
188
+ `))}return e.some(r=>r[0]===ze)}function qj(e,t,r){if(e!==t&&e.length!==0&&t.length!==0){let n=e.includes(`
189
+ `)||t.includes(`
190
+ `),[i,o]=Yv(n?`${e}
191
+ `:e,n?`${t}
192
+ `:t,!0,r);if(jj(i,n)){let a=Mn(r),s=Ij(i,a.changeColor);return Bd(s,o,a)}}return Vs(e.split(`
193
+ `),t.split(`
194
+ `),r)}function Yv(e,t,r,n){let[i,o]=Mj(e,t,n);return mj(i),[i,o]}function Du(e,t){let{commonColor:r}=Mn(t);return r(e)}var{AsymmetricMatcher:Fj,DOMCollection:Dj,DOMElement:Lj,Immutable:$j,ReactElement:Bj,ReactTestComponent:Uj}=Ld,Xv=[Uj,Bj,Lj,Dj,$j,Fj,Ld.Error],Lu={maxDepth:20,plugins:Xv},Qv={callToJSON:!1,maxDepth:8,plugins:Xv};function gi(e,t,r){if(Object.is(e,t))return"";let n=vm(e),i=n,o=!1;if(n==="object"&&typeof e.asymmetricMatch=="function"){if(e.$$typeof!==Symbol.for("jest.asymmetricMatcher")||typeof e.getExpectedType!="function")return;i=e.getExpectedType(),o=i==="string"}if(i!==vm(t)){let a=function(O){return O.length<=v?O:`${O.slice(0,v)}...`},{aAnnotation:s,aColor:c,aIndicator:l,bAnnotation:d,bColor:p,bIndicator:f}=Mn(r),m=$u(Qv,r),y=nr(e,m),g=nr(t,m),v=1e5;y=a(y),g=a(g);let b=`${c(`${l} ${s}:`)}
195
+ ${y}`,T=`${p(`${f} ${d}:`)}
196
+ ${g}`;return`${b}
197
+
198
+ ${T}`}if(!o)switch(n){case"string":return Vs(e.split(`
199
+ `),t.split(`
200
+ `),r);case"boolean":case"number":return Hj(e,t,r);case"map":return zl(_m(e),_m(t),r);case"set":return zl(Tm(e),Tm(t),r);default:return zl(e,t,r)}}function Hj(e,t,r){let n=nr(e,Lu),i=nr(t,Lu);return n===i?"":Vs(n.split(`
201
+ `),i.split(`
202
+ `),r)}function _m(e){return new Map(Array.from(e.entries()).sort())}function Tm(e){return new Set(Array.from(e.values()).sort())}function zl(e,t,r){let n,i=!1;try{let a=$u(Lu,r);n=xm(e,t,a,r)}catch{i=!0}let o=Du(Hv,r);if(n===void 0||n===o){let a=$u(Qv,r);n=xm(e,t,a,r),n!==o&&!i&&(n=`${Du(bj,r)}
203
+
204
+ ${n}`)}return n}function $u(e,t){let{compareKeys:r,printBasicPrototype:n,maxDepth:i}=Mn(t);return{...e,compareKeys:r,printBasicPrototype:n,maxDepth:i??e.maxDepth}}function xm(e,t,r,n){let i={...r,indent:0},o=nr(e,i),a=nr(t,i);if(o===a)return Du(Hv,n);{let s=nr(e,r),c=nr(t,r);return Pj(s.split(`
205
+ `),c.split(`
206
+ `),o.split(`
207
+ `),a.split(`
208
+ `),n)}}var Sm=2e4;function Om(e){return Qa(e)==="Object"&&typeof e.asymmetricMatch=="function"}function Am(e,t){let r=Qa(e),n=Qa(t);return r===n&&(r==="Object"||r==="Array")}function Zv(e,t,r){let{aAnnotation:n,bAnnotation:i}=Mn(r);if(typeof t=="string"&&typeof e=="string"&&t.length>0&&e.length>0&&t.length<=Sm&&e.length<=Sm&&t!==e){if(t.includes(`
209
+ `)||e.includes(`
210
+ `))return qj(t,e,r);let[l]=Yv(t,e),d=l.some(y=>y[0]===ze),p=Jj(n,i),f=p(n)+Gj(Rm(l,pt,d)),m=p(i)+zj(Rm(l,st,d));return`${f}
211
+ ${m}`}let o=pm(t,{forceWritable:!0}),a=pm(e,{forceWritable:!0}),{replacedExpected:s,replacedActual:c}=eE(a,o);return gi(s,c,r)}function eE(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}):Am(e,t)?r.has(e)||n.has(t)?{replacedActual:e,replacedExpected:t}:(r.add(e),n.add(t),Lv(t).forEach(i=>{let o=t[i],a=e[i];if(Om(o))o.asymmetricMatch(a)&&(e[i]=o);else if(Om(a))a.asymmetricMatch(o)&&(t[i]=a);else if(Am(a,o)){let s=eE(a,o,r,n);e[i]=s.replacedActual,t[i]=s.replacedExpected}}),{replacedActual:e,replacedExpected:t}):{replacedActual:e,replacedExpected:t}}function Jj(...e){let t=e.reduce((r,n)=>n.length>r?n.length:r,0);return r=>`${r}: ${" ".repeat(t-r.length)}`}var Vj="·";function tE(e){return e.replace(/\s+$/gm,t=>Vj.repeat(t.length))}function zj(e){return yr.red(tE(Mt(e)))}function Gj(e){return yr.green(tE(Mt(e)))}function Rm(e,t,r){return e.reduce((n,i)=>n+(i[0]===ze?i[1]:i[0]===t?r?yr.inverse(i[1]):i[1]:""),"")}var Wj="@@__IMMUTABLE_RECORD__@@",Kj="@@__IMMUTABLE_ITERABLE__@@";function Yj(e){return e&&(e[Kj]||e[Wj])}var Xj=Object.getPrototypeOf({});function Cm(e){return e instanceof Error?`<unserializable>: ${e.message}`:typeof e=="string"?`<unserializable>: ${e}`:"<unserializable>"}function Lr(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"&&fa(()=>r.message??(r.message=e.message)),typeof e.stack=="string"&&fa(()=>r.stack??(r.stack=e.stack)),typeof e.name=="string"&&fa(()=>r.name??(r.name=e.name)),e.cause!=null&&fa(()=>r.cause??(r.cause=Lr(e.cause,t)))),Lr(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(Yj(e))return Lr(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()} ${uj(e.sample)}`;if(typeof e.toJSON=="function")return Lr(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,i)=>{try{r[i]=Lr(n,t)}catch(o){r[i]=Cm(o)}}),r}else{let r=Object.create(null);t.set(e,r);let n=e;for(;n&&n!==Xj;)Object.getOwnPropertyNames(n).forEach(i=>{if(!(i in r))try{r[i]=Lr(e[i],t)}catch(o){delete r[i],r[i]=Cm(o)}}),n=Object.getPrototypeOf(n);return r}}function fa(e){try{return e()}catch{}}function Qj(e){return e.replace(/__(vite_ssr_import|vi_import)_\d+__\./g,"")}function Ud(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=Zv(n.actual,n.expected,{...t,...n.diffOptions})),"expected"in n&&typeof n.expected!="string"&&(n.expected=Mt(n.expected,10)),"actual"in n&&typeof n.actual!="string"&&(n.actual=Mt(n.actual,10));try{typeof n.message=="string"&&(n.message=Qj(n.message))}catch{}try{!r.has(n)&&typeof n.cause=="object"&&(r.add(n),n.cause=Ud(n.cause,t,r))}catch{}try{return Lr(n)}catch(i){return Lr(new Error(`Failed to fully serialize error: ${i?.message}
212
+ Inner error message: ${n?.message}`))}}var pr={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"},Gl=globalThis.__STORYBOOK_ADDONS_PREVIEW,Zj=new Error("This function ran after the play function completed. Did you forget to `await` it?"),Pm=e=>Object.prototype.toString.call(e)==="[object Object]",eq=e=>Object.prototype.toString.call(e)==="[object Module]",tq=e=>{if(!Pm(e)&&!eq(e))return!1;if(e.constructor===void 0)return!0;let t=e.constructor.prototype;return!!Pm(t)},rq=e=>{try{return new e.constructor}catch{return{}}},Wl=()=>({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}),Mm=(e,t=!1)=>{let r=(t?e.shadowCalls:e.calls).filter(i=>i.retain);if(!r.length)return;let n=new Map(Array.from(e.callRefsByResult.entries()).filter(([,i])=>i.retain));return{cursor:r.length,calls:r,callRefsByResult:n}},nq=class{constructor(){this.detached=!1,this.initialized=!1,this.state={},this.loadParentWindowState=()=>{try{this.state=re.window?.parent?.__STORYBOOK_ADDON_INTERACTIONS_INSTRUMENTER_STATE__||{}}catch{this.detached=!0}},this.updateParentWindowState=()=>{try{re.window.parent.__STORYBOOK_ADDON_INTERACTIONS_INSTRUMENTER_STATE__=this.state}catch{this.detached=!0}},this.loadParentWindowState();let e=({storyId:s,renderPhase:c,isPlaying:l=!0,isDebugging:d=!1})=>{let p=this.getState(s);this.setState(s,{...Wl(),...Mm(p,d),renderPhase:c||p.renderPhase,shadowCalls:d?p.shadowCalls:[],chainedCallIds:d?p.chainedCallIds:new Set,playUntil:d?p.playUntil:void 0,isPlaying:l,isDebugging:d}),this.sync(s)},t=s=>({storyId:c,playUntil:l})=>{this.getState(c).isDebugging||this.setState(c,({calls:p})=>({calls:[],shadowCalls:p.map(f=>({...f,status:"waiting"})),isDebugging:!0}));let d=this.getLog(c);this.setState(c,({shadowCalls:p})=>{if(l||!d.length)return{playUntil:l};let f=p.findIndex(m=>m.id===d[0].callId);return{playUntil:p.slice(0,f).filter(m=>m.interceptable&&!m.ancestors?.length).slice(-1)[0]?.id}}),s.emit(Ka,{storyId:c,isDebugging:!0})},r=s=>({storyId:c})=>{let l=this.getLog(c).filter(p=>!p.ancestors?.length),d=l.reduceRight((p,f,m)=>p>=0||f.status==="waiting"?p:m,-1);t(s)({storyId:c,playUntil:l[d-1]?.callId})},n=s=>({storyId:c,callId:l})=>{let{calls:d,shadowCalls:p,resolvers:f}=this.getState(c),m=d.find(({id:g})=>g===l),y=p.find(({id:g})=>g===l);if(!m&&y&&Object.values(f).length>0){let g=this.getLog(c).find(v=>v.status==="waiting")?.callId;y.id!==g&&this.setState(c,{playUntil:y.id}),Object.values(f).forEach(v=>v())}else t(s)({storyId:c,playUntil:l})},i=s=>({storyId:c})=>{let{resolvers:l}=this.getState(c);if(Object.values(l).length>0)Object.values(l).forEach(d=>d());else{let d=this.getLog(c).find(p=>p.status==="waiting")?.callId;d?t(s)({storyId:c,playUntil:d}):o({storyId:c})}},o=({storyId:s})=>{this.setState(s,{playUntil:void 0,isDebugging:!1}),Object.values(this.getState(s).resolvers).forEach(c=>c())},a=({storyId:s,newPhase:c})=>{let{isDebugging:l}=this.getState(s);if(c==="preparing"&&l)return e({storyId:s,renderPhase:c,isDebugging:l});if(c==="playing")return e({storyId:s,renderPhase:c,isDebugging:l});c==="played"?this.setState(s,{renderPhase:c,isLocked:!1,isPlaying:!1,isDebugging:!1}):c==="errored"?this.setState(s,{renderPhase:c,isLocked:!1,isPlaying:!1}):c==="aborted"?this.setState(s,{renderPhase:c,isLocked:!0,isPlaying:!1}):this.setState(s,{renderPhase:c}),this.sync(s)};Gl&&Gl.ready().then(()=>{this.channel=Gl.getChannel(),this.channel.on(Ka,e),this.channel.on(wn,a),this.channel.on(fd,()=>{this.initialized?this.cleanup():this.initialized=!0}),this.channel.on(pr.START,t(this.channel)),this.channel.on(pr.BACK,r(this.channel)),this.channel.on(pr.GOTO,n(this.channel)),this.channel.on(pr.NEXT,i(this.channel)),this.channel.on(pr.END,o)})}getState(e){return this.state[e]||Wl()}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 i=Mm(n);return i&&(t[r]=Object.assign(Wl(),i)),t},{});let e={controlStates:{detached:this.detached,start:!1,back:!1,goto:!1,next:!1,end:!1},logItems:[]};this.channel?.emit(pr.SYNC,e),this.updateParentWindowState()}getLog(e){let{calls:t,shadowCalls:r}=this.getState(e),n=[...r];t.forEach((o,a)=>{n[a]=o});let i=new Set;return n.reduceRight((o,a)=>(a.args.forEach(s=>{s?.__callId__&&i.add(s.__callId__)}),a.path.forEach(s=>{s.__callId__&&i.add(s.__callId__)}),(a.interceptable||a.exception)&&!i.has(a.id)&&(o.unshift({callId:a.id,status:a.status,ancestors:a.ancestors}),i.add(a.id)),o),[])}instrument(e,t,r=0){if(!tq(e))return e;let{mutate:n=!1,path:i=[]}=t,o=t.getKeys?t.getKeys(e,r):Object.keys(e);return r+=1,o.reduce((a,s)=>{let c=iq(e,s);if(typeof c?.get=="function"){if(c.configurable){let d=()=>c?.get?.bind(e)?.();Object.defineProperty(a,s,{get:()=>this.instrument(d(),{...t,path:i.concat(s)},r)})}return a}let l=e[s];return typeof l!="function"?(a[s]=this.instrument(l,{...t,path:i.concat(s)},r),a):"__originalFn__"in l&&typeof l.__originalFn__=="function"?(a[s]=l,a):(a[s]=(...d)=>this.track(s,l,e,d,t),a[s].__originalFn__=l,Object.defineProperty(a[s],"name",{value:s,writable:!1}),Object.keys(l).length>0&&Object.assign(a[s],this.instrument({...l},{...t,path:i.concat(s)},r)),a)},n?e:rq(e))}track(e,t,r,n,i){let o=n?.[0]?.__storyId__||re.__STORYBOOK_PREVIEW__?.selectionStore?.selection?.storyId,{cursor:a,ancestors:s}=this.getState(o);this.setState(o,{cursor:a+1});let c=`${s.slice(-1)[0]||o} [${a}] ${e}`,{path:l=[],intercept:d=!1,retain:p=!1}=i,f=typeof d=="function"?d(e,l):d,m={id:c,cursor:a,storyId:o,ancestors:s,path:l,method:e,args:n,interceptable:f,retain:p},y=(f&&!s.length?this.intercept:this.invoke).call(this,t,r,m,i);return this.instrument(y,{...i,mutate:!0,path:[{__callId__:m.id}]})}intercept(e,t,r,n){let{chainedCallIds:i,isDebugging:o,playUntil:a}=this.getState(r.storyId),s=i.has(r.id);return!o||s||a?(a===r.id&&this.setState(r.storyId,{playUntil:void 0}),this.invoke(e,t,r,n)):new Promise(c=>{this.setState(r.storyId,({resolvers:l})=>({isLocked:!1,resolvers:{...l,[r.id]:c}}))}).then(()=>(this.setState(r.storyId,c=>{let{[r.id]:l,...d}=c.resolvers;return{isLocked:!0,resolvers:d}}),this.invoke(e,t,r,n)))}invoke(e,t,r,n){let{callRefsByResult:i,renderPhase:o}=this.getState(r.storyId),a=25,s=(d,p,f)=>{if(f.includes(d))return"[Circular]";if(f=[...f,d],p>a)return"...";if(i.has(d))return i.get(d);if(d instanceof Array)return d.map(m=>s(m,++p,f));if(d instanceof Date)return{__date__:{value:d.toISOString()}};if(d instanceof Error){let{name:m,message:y,stack:g}=d;return{__error__:{name:m,message:y,stack:g}}}if(d instanceof RegExp){let{flags:m,source:y}=d;return{__regexp__:{flags:m,source:y}}}if(d instanceof re.window?.HTMLElement){let{prefix:m,localName:y,id:g,classList:v,innerText:b}=d,T=Array.from(v);return{__element__:{prefix:m,localName:y,id:g,classNames:T,innerText:b}}}return typeof d=="function"?{__function__:{name:"getMockName"in d?d.getMockName():d.name}}:typeof d=="symbol"?{__symbol__:{description:d.description}}:typeof d=="object"&&d?.constructor?.name&&d?.constructor?.name!=="Object"?{__class__:{name:d.constructor.name}}:Object.prototype.toString.call(d)==="[object Object]"?Object.fromEntries(Object.entries(d).map(([m,y])=>[m,s(y,++p,f)])):d},c={...r,args:r.args.map(d=>s(d,0,[]))};r.path.forEach(d=>{d?.__callId__&&this.setState(r.storyId,({chainedCallIds:p})=>({chainedCallIds:new Set(Array.from(p).concat(d.__callId__))}))});let l=d=>{if(d instanceof Error){let{name:p,message:f,stack:m,callId:y=r.id}=d,{showDiff:g=void 0,diff:v=void 0,actual:b=void 0,expected:T=void 0}=d.name==="AssertionError"?Ud(d):d,O={name:p,message:f,stack:m,callId:y,showDiff:g,diff:v,actual:b,expected:T};if(this.update({...c,status:"error",exception:O}),this.setState(r.storyId,R=>({callRefsByResult:new Map([...Array.from(R.callRefsByResult.entries()),[d,{__callId__:r.id,retain:r.retain}]])})),r.ancestors?.length)throw Object.prototype.hasOwnProperty.call(d,"callId")||Object.defineProperty(d,"callId",{value:r.id}),d}throw d};try{if(o==="played"&&!r.retain)throw Zj;let d=(n.getArgs?n.getArgs(r,this.getState(r.storyId)):r.args).map(f=>typeof f!="function"||oq(f)||Object.keys(f).length?f:(...m)=>{let{cursor:y,ancestors:g}=this.getState(r.storyId);this.setState(r.storyId,{cursor:0,ancestors:[...g,r.id]});let v=()=>this.setState(r.storyId,{cursor:y,ancestors:g}),b=!1;try{let T=f(...m);return T instanceof Promise?(b=!0,T.finally(v)):T}finally{b||v()}}),p=e.apply(t,d);return p&&["object","function","symbol"].includes(typeof p)&&this.setState(r.storyId,f=>({callRefsByResult:new Map([...Array.from(f.callRefsByResult.entries()),[p,{__callId__:r.id,retain:r.retain}]])})),this.update({...c,status:p instanceof Promise?"active":"done"}),p instanceof Promise?p.then(f=>(this.update({...c,status:"done"}),f),l):p}catch(d){return l(d)}}update(e){this.channel?.emit(pr.CALL,e),this.setState(e.storyId,({calls:t})=>{let r=t.concat(e).reduce((n,i)=>Object.assign(n,{[i.id]:i}),{});return{calls:Object.values(r).sort((n,i)=>n.id.localeCompare(i.id,void 0,{numeric:!0}))}}),this.sync(e.storyId)}sync(e){let t=()=>{let{isLocked:r,isPlaying:n}=this.getState(e),i=this.getLog(e),o=i.filter(({ancestors:l})=>!l.length).find(l=>l.status==="waiting")?.callId,a=i.some(l=>l.status==="active");if(this.detached||r||a||i.length===0){let l={controlStates:{detached:this.detached,start:!1,back:!1,goto:!1,next:!1,end:!1},logItems:i};this.channel?.emit(pr.SYNC,l);return}let s=i.some(l=>l.status==="done"||l.status==="error"),c={controlStates:{detached:this.detached,start:s,back:s,goto:!0,next:n,end:n},logItems:i,pausedAt:o};this.channel?.emit(pr.SYNC,c)};this.setState(e,({syncTimeout:r})=>(clearTimeout(r),{syncTimeout:setTimeout(t,0)}))}};function zo(e,t={}){try{let r=!1,n=!1;return re.window?.location?.search?.includes("instrument=true")?r=!0:re.window?.location?.search?.includes("instrument=false")&&(n=!0),re.window?.parent===re.window&&!r||n?e:(re.window&&!re.window.__STORYBOOK_ADDON_INTERACTIONS_INSTRUMENTER__&&(re.window.__STORYBOOK_ADDON_INTERACTIONS_INSTRUMENTER__=new nq),(re.window?.__STORYBOOK_ADDON_INTERACTIONS_INSTRUMENTER__).instrument(e,t))}catch(r){return Ge.warn(r),e}}function iq(e,t){let r=e;for(;r!=null;){let n=Object.getOwnPropertyDescriptor(r,t);if(n)return n;r=Object.getPrototypeOf(r)}}function oq(e){if(typeof e!="function")return!1;let t=Object.getOwnPropertyDescriptor(e,"prototype");return t?!t.writable:!1}var rE=Object.defineProperty,z=(e,t)=>rE(e,"name",{value:t,configurable:!0}),Hd=(e,t)=>{for(var r in t)rE(e,r,{get:t[r],enumerable:!0})},ir={};Hd(ir,{addChainableMethod:()=>tp,addLengthGuard:()=>Ko,addMethod:()=>Qd,addProperty:()=>Xd,checkError:()=>St,compareByInspect:()=>rs,eql:()=>CE,expectTypes:()=>uE,flag:()=>ve,getActual:()=>Gs,getMessage:()=>zd,getName:()=>Ks,getOperator:()=>op,getOwnEnumerableProperties:()=>ip,getOwnEnumerablePropertySymbols:()=>np,getPathInfo:()=>Yd,hasProperty:()=>Ws,inspect:()=>Ae,isNaN:()=>ns,isNumeric:()=>nt,isProxyEnabled:()=>Wo,isRegExp:()=>is,objDisplay:()=>gn,overwriteChainableMethod:()=>rp,overwriteMethod:()=>ep,overwriteProperty:()=>Zd,proxify:()=>bi,test:()=>Jd,transferFlags:()=>Yt,type:()=>qe});var St={};Hd(St,{compatibleConstructor:()=>oE,compatibleInstance:()=>iE,compatibleMessage:()=>aE,getConstructorName:()=>sE,getMessage:()=>lE});function zs(e){return e instanceof Error||Object.prototype.toString.call(e)==="[object Error]"}z(zs,"isErrorInstance");function nE(e){return Object.prototype.toString.call(e)==="[object RegExp]"}z(nE,"isRegExp");function iE(e,t){return zs(t)&&e===t}z(iE,"compatibleInstance");function oE(e,t){return zs(t)?e.constructor===t.constructor||e instanceof t.constructor:(typeof t=="object"||typeof t=="function")&&t.prototype?e.constructor===t||e instanceof t:!1}z(oE,"compatibleConstructor");function aE(e,t){let r=typeof e=="string"?e:e.message;return nE(t)?t.test(r):typeof t=="string"?r.indexOf(t)!==-1:!1}z(aE,"compatibleMessage");function sE(e){let t=e;return zs(e)?t=e.constructor.name:typeof e=="function"&&(t=e.name,t===""&&(t=new e().name||t)),t}z(sE,"getConstructorName");function lE(e){let t="";return e&&e.message?t=e.message:typeof e=="string"&&(t=e),t}z(lE,"getMessage");function ve(e,t,r){let n=e.__flags||(e.__flags=Object.create(null));if(arguments.length===3)n[t]=r;else return n[t]}z(ve,"flag");function Jd(e,t){let r=ve(e,"negate"),n=t[0];return r?!n:n}z(Jd,"test");function qe(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)}z(qe,"type");var aq="captureStackTrace"in Error,ma,Re=(ma=class extends Error{message;get name(){return"AssertionError"}get ok(){return!1}constructor(e="Unspecified AssertionError",t,r){super(e),this.message=e,aq&&Error.captureStackTrace(this,r||ma);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}}},z(ma,"AssertionError"),ma);function uE(e,t){let r=ve(e,"message"),n=ve(e,"ssfi");r=r?r+": ":"",e=ve(e,"object"),t=t.map(function(a){return a.toLowerCase()}),t.sort();let i=t.map(function(a,s){let c=~["a","e","i","o","u"].indexOf(a.charAt(0))?"an":"a";return(t.length>1&&s===t.length-1?"or ":"")+c+" "+a}).join(", "),o=qe(e).toLowerCase();if(!t.some(function(a){return o===a}))throw new Re(r+"object tested must be "+i+", but "+o+" given",void 0,n)}z(uE,"expectTypes");function Gs(e,t){return t.length>4?t[4]:e._obj}z(Gs,"getActual");var Nm={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"]},sq={special:"cyan",number:"yellow",bigint:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",symbol:"green",date:"magenta",regexp:"red"},Xn="…";function cE(e,t){let r=Nm[sq[t]]||Nm[t]||"";return r?`\x1B[${r[0]}m${String(e)}\x1B[${r[1]}m`:String(e)}z(cE,"colorise");function dE({showHidden:e=!1,depth:t=2,colors:r=!1,customInspect:n=!0,showProxy:i=!1,maxArrayLength:o=1/0,breakLength:a=1/0,seen:s=[],truncate:c=1/0,stylize:l=String}={},d){let p={showHidden:!!e,depth:Number(t),colors:!!r,customInspect:!!n,showProxy:!!i,maxArrayLength:Number(o),breakLength:Number(a),truncate:Number(c),seen:s,inspect:d,stylize:l};return p.colors&&(p.stylize=cE),p}z(dE,"normaliseOptions");function pE(e){return e>="\uD800"&&e<="\uDBFF"}z(pE,"isHighSurrogate");function Ar(e,t,r=Xn){e=String(e);let n=r.length,i=e.length;if(n>t&&i>n)return r;if(i>t&&i>n){let o=t-n;return o>0&&pE(e[o-1])&&(o=o-1),`${e.slice(0,o)}${r}`}return e}z(Ar,"truncate");function $t(e,t,r,n=", "){r=r||t.inspect;let i=e.length;if(i===0)return"";let o=t.truncate,a="",s="",c="";for(let l=0;l<i;l+=1){let d=l+1===e.length,p=l+2===e.length;c=`${Xn}(${e.length-l})`;let f=e[l];t.truncate=o-a.length-(d?0:n.length);let m=s||r(f,t)+(d?"":n),y=a.length+m.length,g=y+c.length;if(d&&y>o&&a.length+c.length<=o||!d&&!p&&g>o||(s=d?"":r(e[l+1],t)+(p?"":n),!d&&p&&g>o&&y+s.length>o))break;if(a+=m,!d&&!p&&y+s.length>=o){c=`${Xn}(${e.length-l-1})`;break}c=""}return`${a}${c}`}z($t,"inspectList");function fE(e){return e.match(/^[a-zA-Z_][a-zA-Z_0-9]*$/)?e:JSON.stringify(e).replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'")}z(fE,"quoteComplexKey");function Qn([e,t],r){return r.truncate-=2,typeof e=="string"?e=fE(e):typeof e!="number"&&(e=`[${r.inspect(e,r)}]`),r.truncate-=e.length,t=r.inspect(t,r),`${e}: ${t}`}z(Qn,"inspectProperty");function mE(e,t){let r=Object.keys(e).slice(e.length);if(!e.length&&!r.length)return"[]";t.truncate-=4;let n=$t(e,t);t.truncate-=n.length;let i="";return r.length&&(i=$t(r.map(o=>[o,e[o]]),t,Qn)),`[ ${n}${i?`, ${i}`:""} ]`}z(mE,"inspectArray");var lq=z(e=>typeof Buffer=="function"&&e instanceof Buffer?"Buffer":e[Symbol.toStringTag]?e[Symbol.toStringTag]:e.constructor.name,"getArrayName");function er(e,t){let r=lq(e);t.truncate-=r.length+4;let n=Object.keys(e).slice(e.length);if(!e.length&&!n.length)return`${r}[]`;let i="";for(let a=0;a<e.length;a++){let s=`${t.stylize(Ar(e[a],t.truncate),"number")}${a===e.length-1?"":", "}`;if(t.truncate-=s.length,e[a]!==e.length&&t.truncate<=3){i+=`${Xn}(${e.length-e[a]+1})`;break}i+=s}let o="";return n.length&&(o=$t(n.map(a=>[a,e[a]]),t,Qn)),`${r}[ ${i}${o?`, ${o}`:""} ]`}z(er,"inspectTypedArray");function hE(e,t){let r=e.toJSON();if(r===null)return"Invalid Date";let n=r.split("T"),i=n[0];return t.stylize(`${i}T${Ar(n[1],t.truncate-i.length-1)}`,"date")}z(hE,"inspectDate");function Bu(e,t){let r=e[Symbol.toStringTag]||"Function",n=e.name;return n?t.stylize(`[${r} ${Ar(n,t.truncate-11)}]`,"special"):t.stylize(`[${r}]`,"special")}z(Bu,"inspectFunction");function yE([e,t],r){return r.truncate-=4,e=r.inspect(e,r),r.truncate-=e.length,t=r.inspect(t,r),`${e} => ${t}`}z(yE,"inspectMapEntry");function gE(e){let t=[];return e.forEach((r,n)=>{t.push([n,r])}),t}z(gE,"mapToEntries");function bE(e,t){return e.size===0?"Map{}":(t.truncate-=7,`Map{ ${$t(gE(e),t,yE)} }`)}z(bE,"inspectMap");var uq=Number.isNaN||(e=>e!==e);function Uu(e,t){return uq(e)?t.stylize("NaN","number"):e===1/0?t.stylize("Infinity","number"):e===-1/0?t.stylize("-Infinity","number"):e===0?t.stylize(1/e===1/0?"+0":"-0","number"):t.stylize(Ar(String(e),t.truncate),"number")}z(Uu,"inspectNumber");function Hu(e,t){let r=Ar(e.toString(),t.truncate-1);return r!==Xn&&(r+="n"),t.stylize(r,"bigint")}z(Hu,"inspectBigInt");function vE(e,t){let r=e.toString().split("/")[2],n=t.truncate-(2+r.length),i=e.source;return t.stylize(`/${Ar(i,n)}/${r}`,"regexp")}z(vE,"inspectRegExp");function EE(e){let t=[];return e.forEach(r=>{t.push(r)}),t}z(EE,"arrayFromSet");function wE(e,t){return e.size===0?"Set{}":(t.truncate-=7,`Set{ ${$t(EE(e),t)} }`)}z(wE,"inspectSet");var km=new RegExp("['\\u0000-\\u001f\\u007f-\\u009f\\u00ad\\u0600-\\u0604\\u070f\\u17b4\\u17b5\\u200c-\\u200f\\u2028-\\u202f\\u2060-\\u206f\\ufeff\\ufff0-\\uffff]","g"),cq={"\b":"\\b"," ":"\\t","\n":"\\n","\f":"\\f","\r":"\\r","'":"\\'","\\":"\\\\"},dq=16;function _E(e){return cq[e]||`\\u${`0000${e.charCodeAt(0).toString(dq)}`.slice(-4)}`}z(_E,"escape");function Ju(e,t){return km.test(e)&&(e=e.replace(km,_E)),t.stylize(`'${Ar(e,t.truncate-2)}'`,"string")}z(Ju,"inspectString");function Vu(e){return"description"in Symbol.prototype?e.description?`Symbol(${e.description})`:"Symbol()":e.toString()}z(Vu,"inspectSymbol");var pq=z(()=>"Promise{…}","getPromiseValue"),fq=pq;function no(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 i=$t(r.map(s=>[s,e[s]]),t,Qn),o=$t(n.map(s=>[s,e[s]]),t,Qn);t.seen.pop();let a="";return i&&o&&(a=", "),`{ ${i}${a}${o} }`}z(no,"inspectObject");var Kl=typeof Symbol<"u"&&Symbol.toStringTag?Symbol.toStringTag:!1;function TE(e,t){let r="";return Kl&&Kl in e&&(r=e[Kl]),r=r||e.constructor.name,(!r||r==="_class")&&(r="<Anonymous Class>"),t.truncate-=r.length,`${r}${no(e,t)}`}z(TE,"inspectClass");function xE(e,t){return e.length===0?"Arguments[]":(t.truncate-=13,`Arguments[ ${$t(e,t)} ]`)}z(xE,"inspectArguments");var mq=["stack","line","column","name","message","fileName","lineNumber","columnNumber","number","description","cause"];function SE(e,t){let r=Object.getOwnPropertyNames(e).filter(a=>mq.indexOf(a)===-1),n=e.name;t.truncate-=n.length;let i="";if(typeof e.message=="string"?i=Ar(e.message,t.truncate):r.unshift("message"),i=i?`: ${i}`:"",t.truncate-=i.length+5,t.seen=t.seen||[],t.seen.includes(e))return"[Circular]";t.seen.push(e);let o=$t(r.map(a=>[a,e[a]]),t,Qn);return`${n}${i}${o?` { ${o} }`:""}`}z(SE,"inspectObject");function OE([e,t],r){return r.truncate-=3,t?`${r.stylize(String(e),"yellow")}=${r.stylize(`"${t}"`,"string")}`:`${r.stylize(String(e),"yellow")}`}z(OE,"inspectAttribute");function Za(e,t){return $t(e,t,AE,`
213
+ `)}z(Za,"inspectNodeCollection");function AE(e,t){switch(e.nodeType){case 1:return Vd(e,t);case 3:return t.inspect(e.data,t);default:return t.inspect(e,t)}}z(AE,"inspectNode");function Vd(e,t){let r=e.getAttributeNames(),n=e.tagName.toLowerCase(),i=t.stylize(`<${n}`,"special"),o=t.stylize(">","special"),a=t.stylize(`</${n}>`,"special");t.truncate-=n.length*2+5;let s="";r.length>0&&(s+=" ",s+=$t(r.map(d=>[d,e.getAttribute(d)]),t,OE," ")),t.truncate-=s.length;let c=t.truncate,l=Za(e.children,t);return l&&l.length>c&&(l=`${Xn}(${e.children.length})`),`${i}${s}${o}${l}${a}`}z(Vd,"inspectHTML");var hq=typeof Symbol=="function"&&typeof Symbol.for=="function",Yl=hq?Symbol.for("chai/inspect"):"@@chai/inspect",Xl=Symbol.for("nodejs.util.inspect.custom"),Im=new WeakMap,jm={},qm={undefined:z((e,t)=>t.stylize("undefined","undefined"),"undefined"),null:z((e,t)=>t.stylize("null","null"),"null"),boolean:z((e,t)=>t.stylize(String(e),"boolean"),"boolean"),Boolean:z((e,t)=>t.stylize(String(e),"boolean"),"Boolean"),number:Uu,Number:Uu,bigint:Hu,BigInt:Hu,string:Ju,String:Ju,function:Bu,Function:Bu,symbol:Vu,Symbol:Vu,Array:mE,Date:hE,Map:bE,Set:wE,RegExp:vE,Promise:fq,WeakSet:z((e,t)=>t.stylize("WeakSet{…}","special"),"WeakSet"),WeakMap:z((e,t)=>t.stylize("WeakMap{…}","special"),"WeakMap"),Arguments:xE,Int8Array:er,Uint8Array:er,Uint8ClampedArray:er,Int16Array:er,Uint16Array:er,Int32Array:er,Uint32Array:er,Float32Array:er,Float64Array:er,Generator:z(()=>"","Generator"),DataView:z(()=>"","DataView"),ArrayBuffer:z(()=>"","ArrayBuffer"),Error:SE,HTMLCollection:Za,NodeList:Za},yq=z((e,t,r)=>Yl in e&&typeof e[Yl]=="function"?e[Yl](t):Xl in e&&typeof e[Xl]=="function"?e[Xl](t.depth,t):"inspect"in e&&typeof e.inspect=="function"?e.inspect(t.depth,t):"constructor"in e&&Im.has(e.constructor)?Im.get(e.constructor)(e,t):jm[r]?jm[r](e,t):"","inspectCustom"),gq=Object.prototype.toString;function es(e,t={}){let r=dE(t,es),{customInspect:n}=r,i=e===null?"null":typeof e;if(i==="object"&&(i=gq.call(e).slice(8,-1)),i in qm)return qm[i](e,r);if(n&&e){let a=yq(e,r,i);if(a)return typeof a=="string"?a:es(a,r)}let o=e?Object.getPrototypeOf(e):!1;return o===Object.prototype||o===null?no(e,r):e&&typeof HTMLElement=="function"&&e instanceof HTMLElement?Vd(e,r):"constructor"in e?e.constructor!==Object?TE(e,r):no(e,r):e===Object(e)?no(e,r):r.stylize(String(e),i)}z(es,"inspect");var Et={includeStack:!1,showDiff:!0,truncateThreshold:40,useProxy:!0,proxyExcludedKeys:["then","catch","inspect","toJSON"],deepEqual:null};function Ae(e,t,r,n){let i={colors:n,depth:typeof r>"u"?2:r,showHidden:t,truncate:Et.truncateThreshold?Et.truncateThreshold:1/0};return es(e,i)}z(Ae,"inspect");function gn(e){let t=Ae(e),r=Object.prototype.toString.call(e);if(Et.truncateThreshold&&t.length>=Et.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}z(gn,"objDisplay");function zd(e,t){let r=ve(e,"negate"),n=ve(e,"object"),i=t[3],o=Gs(e,t),a=r?t[2]:t[1],s=ve(e,"message");return typeof a=="function"&&(a=a()),a=a||"",a=a.replace(/#\{this\}/g,function(){return gn(n)}).replace(/#\{act\}/g,function(){return gn(o)}).replace(/#\{exp\}/g,function(){return gn(i)}),s?s+": "+a:a}z(zd,"getMessage");function Yt(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 i in n)(r||i!=="object"&&i!=="ssfi"&&i!=="lockSsfi"&&i!="message")&&(t.__flags[i]=n[i])}z(Yt,"transferFlags");function zu(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)}z(zu,"type");function Gd(){this._key="chai/deep-eql__"+Math.random()+Date.now()}z(Gd,"FakeMap");Gd.prototype={get:z(function(e){return e[this._key]},"get"),set:z(function(e,t){Object.isExtensible(e)&&Object.defineProperty(e,this._key,{value:t,configurable:!0})},"set")};var RE=typeof WeakMap=="function"?WeakMap:Gd;function Gu(e,t,r){if(!r||Tn(e)||Tn(t))return null;var n=r.get(e);if(n){var i=n.get(t);if(typeof i=="boolean")return i}return null}z(Gu,"memoizeCompare");function Xi(e,t,r,n){if(!(!r||Tn(e)||Tn(t))){var i=r.get(e);i?i.set(t,n):(i=new RE,i.set(t,n),r.set(e,i))}}z(Xi,"memoizeSet");var CE=Go;function Go(e,t,r){if(r&&r.comparator)return Wu(e,t,r);var n=Wd(e,t);return n!==null?n:Wu(e,t,r)}z(Go,"deepEqual");function Wd(e,t){return e===t?e!==0||1/e===1/t:e!==e&&t!==t?!0:Tn(e)||Tn(t)?!1:null}z(Wd,"simpleEqual");function Wu(e,t,r){r=r||{},r.memoize=r.memoize===!1?!1:r.memoize||new RE;var n=r&&r.comparator,i=Gu(e,t,r.memoize);if(i!==null)return i;var o=Gu(t,e,r.memoize);if(o!==null)return o;if(n){var a=n(e,t);if(a===!1||a===!0)return Xi(e,t,r.memoize,a),a;var s=Wd(e,t);if(s!==null)return s}var c=zu(e);if(c!==zu(t))return Xi(e,t,r.memoize,!1),!1;Xi(e,t,r.memoize,!0);var l=PE(e,t,c,r);return Xi(e,t,r.memoize,l),l}z(Wu,"extensiveDeepEqual");function PE(e,t,r,n){switch(r){case"String":case"Number":case"Boolean":case"Date":return Go(e.valueOf(),t.valueOf());case"Promise":case"Symbol":case"function":case"WeakMap":case"WeakSet":return e===t;case"Error":return Kd(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 Jr(e,t,n);case"RegExp":return ME(e,t);case"Generator":return NE(e,t,n);case"DataView":return Jr(new Uint8Array(e.buffer),new Uint8Array(t.buffer),n);case"ArrayBuffer":return Jr(new Uint8Array(e),new Uint8Array(t),n);case"Set":return Ku(e,t,n);case"Map":return Ku(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 IE(e,t,n)}}z(PE,"extensiveDeepEqualByType");function ME(e,t){return e.toString()===t.toString()}z(ME,"regexpEqual");function Ku(e,t,r){try{if(e.size!==t.size)return!1;if(e.size===0)return!0}catch{return!1}var n=[],i=[];return e.forEach(z(function(o,a){n.push([o,a])},"gatherEntries")),t.forEach(z(function(o,a){i.push([o,a])},"gatherEntries")),Jr(n.sort(),i.sort(),r)}z(Ku,"entriesEqual");function Jr(e,t,r){var n=e.length;if(n!==t.length)return!1;if(n===0)return!0;for(var i=-1;++i<n;)if(Go(e[i],t[i],r)===!1)return!1;return!0}z(Jr,"iterableEqual");function NE(e,t,r){return Jr(ts(e),ts(t),r)}z(NE,"generatorEqual");function kE(e){return typeof Symbol<"u"&&typeof e=="object"&&typeof Symbol.iterator<"u"&&typeof e[Symbol.iterator]=="function"}z(kE,"hasIteratorFunction");function Yu(e){if(kE(e))try{return ts(e[Symbol.iterator]())}catch{return[]}return[]}z(Yu,"getIteratorEntries");function ts(e){for(var t=e.next(),r=[t.value];t.done===!1;)t=e.next(),r.push(t.value);return r}z(ts,"getGeneratorEntries");function Xu(e){var t=[];for(var r in e)t.push(r);return t}z(Xu,"getEnumerableKeys");function Qu(e){for(var t=[],r=Object.getOwnPropertySymbols(e),n=0;n<r.length;n+=1){var i=r[n];Object.getOwnPropertyDescriptor(e,i).enumerable&&t.push(i)}return t}z(Qu,"getEnumerableSymbols");function Kd(e,t,r,n){var i=r.length;if(i===0)return!0;for(var o=0;o<i;o+=1)if(Go(e[r[o]],t[r[o]],n)===!1)return!1;return!0}z(Kd,"keysEqual");function IE(e,t,r){var n=Xu(e),i=Xu(t),o=Qu(e),a=Qu(t);if(n=n.concat(o),i=i.concat(a),n.length&&n.length===i.length)return Jr(Zu(n).sort(),Zu(i).sort())===!1?!1:Kd(e,t,n,r);var s=Yu(e),c=Yu(t);return s.length&&s.length===c.length?(s.sort(),c.sort(),Jr(s,c,r)):n.length===0&&s.length===0&&i.length===0&&c.length===0}z(IE,"objectEqual");function Tn(e){return e===null||typeof e!="object"}z(Tn,"isPrimitive");function Zu(e){return e.map(z(function(t){return typeof t=="symbol"?t.toString():t},"mapSymbol"))}z(Zu,"mapSymbols");function Ws(e,t){return typeof e>"u"||e===null?!1:t in Object(e)}z(Ws,"hasProperty");function jE(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})}z(jE,"parsePath");function ec(e,t,r){let n=e,i=null;r=typeof r>"u"?t.length:r;for(let o=0;o<r;o++){let a=t[o];n&&(typeof a.p>"u"?n=n[a.i]:n=n[a.p],o===r-1&&(i=n))}return i}z(ec,"internalGetPathValue");function Yd(e,t){let r=jE(t),n=r[r.length-1],i={parent:r.length>1?ec(e,r,r.length-1):e,name:n.p||n.i,value:ec(e,r)};return i.exists=Ws(i.parent,i.name),i}z(Yd,"getPathInfo");var ha,I=(ha=class{__flags={};constructor(e,t,r,n){return ve(this,"ssfi",r||ha),ve(this,"lockSsfi",n),ve(this,"object",e),ve(this,"message",t),ve(this,"eql",Et.deepEqual||CE),bi(this)}static get includeStack(){return console.warn("Assertion.includeStack is deprecated, use chai.config.includeStack instead."),Et.includeStack}static set includeStack(e){console.warn("Assertion.includeStack is deprecated, use chai.config.includeStack instead."),Et.includeStack=e}static get showDiff(){return console.warn("Assertion.showDiff is deprecated, use chai.config.showDiff instead."),Et.showDiff}static set showDiff(e){console.warn("Assertion.showDiff is deprecated, use chai.config.showDiff instead."),Et.showDiff=e}static addProperty(e,t){Xd(this.prototype,e,t)}static addMethod(e,t){Qd(this.prototype,e,t)}static addChainableMethod(e,t,r){tp(this.prototype,e,t,r)}static overwriteProperty(e,t){Zd(this.prototype,e,t)}static overwriteMethod(e,t){ep(this.prototype,e,t)}static overwriteChainableMethod(e,t,r){rp(this.prototype,e,t,r)}assert(e,t,r,n,i,o){let a=Jd(this,arguments);if(o!==!1&&(o=!0),n===void 0&&i===void 0&&(o=!1),Et.showDiff!==!0&&(o=!1),!a){t=zd(this,arguments);let s={actual:Gs(this,arguments),expected:n,showDiff:o},c=op(this,arguments);throw c&&(s.operator=c),new Re(t,s,Et.includeStack?this.assert:ve(this,"ssfi"))}}get _obj(){return ve(this,"object")}set _obj(e){ve(this,"object",e)}},z(ha,"Assertion"),ha);function Wo(){return Et.useProxy&&typeof Proxy<"u"&&typeof Reflect<"u"}z(Wo,"isProxyEnabled");function Xd(e,t,r){r=r===void 0?function(){}:r,Object.defineProperty(e,t,{get:z(function n(){!Wo()&&!ve(this,"lockSsfi")&&ve(this,"ssfi",n);let i=r.call(this);if(i!==void 0)return i;let o=new I;return Yt(this,o),o},"propertyGetter"),configurable:!0})}z(Xd,"addProperty");var bq=Object.getOwnPropertyDescriptor(function(){},"length");function Ko(e,t,r){return bq.configurable&&Object.defineProperty(e,"length",{get:z(function(){throw Error(r?"Invalid Chai property: "+t+'.length. Due to a compatibility issue, "length" cannot directly follow "'+t+'". Use "'+t+'.lengthOf" instead.':"Invalid Chai property: "+t+'.length. See docs for proper usage of "'+t+'".')},"get")}),e}z(Ko,"addLengthGuard");function qE(e){let t=Object.getOwnPropertyNames(e);function r(i){t.indexOf(i)===-1&&t.push(i)}z(r,"addProperty");let n=Object.getPrototypeOf(e);for(;n!==null;)Object.getOwnPropertyNames(n).forEach(r),n=Object.getPrototypeOf(n);return t}z(qE,"getProperties");var Fm=["__flags","__methods","_obj","assert"];function bi(e,t){return Wo()?new Proxy(e,{get:z(function r(n,i){if(typeof i=="string"&&Et.proxyExcludedKeys.indexOf(i)===-1&&!Reflect.has(n,i)){if(t)throw Error("Invalid Chai property: "+t+"."+i+'. See docs for proper usage of "'+t+'".');let o=null,a=4;throw qE(n).forEach(function(s){if(!Object.prototype.hasOwnProperty(s)&&Fm.indexOf(s)===-1){let c=FE(i,s,a);c<a&&(o=s,a=c)}}),Error(o!==null?"Invalid Chai property: "+i+'. Did you mean "'+o+'"?':"Invalid Chai property: "+i)}return Fm.indexOf(i)===-1&&!ve(n,"lockSsfi")&&ve(n,"ssfi",r),Reflect.get(n,i)},"proxyGetter")}):e}z(bi,"proxify");function FE(e,t,r){if(Math.abs(e.length-t.length)>=r)return r;let n=[];for(let i=0;i<=e.length;i++)n[i]=Array(t.length+1).fill(0),n[i][0]=i;for(let i=0;i<t.length;i++)n[0][i]=i;for(let i=1;i<=e.length;i++){let o=e.charCodeAt(i-1);for(let a=1;a<=t.length;a++){if(Math.abs(i-a)>=r){n[i][a]=r;continue}n[i][a]=Math.min(n[i-1][a]+1,n[i][a-1]+1,n[i-1][a-1]+(o===t.charCodeAt(a-1)?0:1))}}return n[e.length][t.length]}z(FE,"stringDistanceCapped");function Qd(e,t,r){let n=z(function(){ve(this,"lockSsfi")||ve(this,"ssfi",n);let i=r.apply(this,arguments);if(i!==void 0)return i;let o=new I;return Yt(this,o),o},"methodWrapper");Ko(n,t,!1),e[t]=bi(n,t)}z(Qd,"addMethod");function Zd(e,t,r){let n=Object.getOwnPropertyDescriptor(e,t),i=z(function(){},"_super");n&&typeof n.get=="function"&&(i=n.get),Object.defineProperty(e,t,{get:z(function o(){!Wo()&&!ve(this,"lockSsfi")&&ve(this,"ssfi",o);let a=ve(this,"lockSsfi");ve(this,"lockSsfi",!0);let s=r(i).call(this);if(ve(this,"lockSsfi",a),s!==void 0)return s;let c=new I;return Yt(this,c),c},"overwritingPropertyGetter"),configurable:!0})}z(Zd,"overwriteProperty");function ep(e,t,r){let n=e[t],i=z(function(){throw new Error(t+" is not a function")},"_super");n&&typeof n=="function"&&(i=n);let o=z(function(){ve(this,"lockSsfi")||ve(this,"ssfi",o);let a=ve(this,"lockSsfi");ve(this,"lockSsfi",!0);let s=r(i).apply(this,arguments);if(ve(this,"lockSsfi",a),s!==void 0)return s;let c=new I;return Yt(this,c),c},"overwritingMethodWrapper");Ko(o,t,!1),e[t]=bi(o,t)}z(ep,"overwriteMethod");var vq=typeof Object.setPrototypeOf=="function",Dm=z(function(){},"testFn"),Eq=Object.getOwnPropertyNames(Dm).filter(function(e){let t=Object.getOwnPropertyDescriptor(Dm,e);return typeof t!="object"?!0:!t.configurable}),wq=Function.prototype.call,_q=Function.prototype.apply;function tp(e,t,r,n){typeof n!="function"&&(n=z(function(){},"chainingBehavior"));let i={method:r,chainingBehavior:n};e.__methods||(e.__methods={}),e.__methods[t]=i,Object.defineProperty(e,t,{get:z(function(){i.chainingBehavior.call(this);let o=z(function(){ve(this,"lockSsfi")||ve(this,"ssfi",o);let a=i.method.apply(this,arguments);if(a!==void 0)return a;let s=new I;return Yt(this,s),s},"chainableMethodWrapper");if(Ko(o,t,!0),vq){let a=Object.create(this);a.call=wq,a.apply=_q,Object.setPrototypeOf(o,a)}else Object.getOwnPropertyNames(e).forEach(function(a){if(Eq.indexOf(a)!==-1)return;let s=Object.getOwnPropertyDescriptor(e,a);Object.defineProperty(o,a,s)});return Yt(this,o),bi(o)},"chainableMethodGetter"),configurable:!0})}z(tp,"addChainableMethod");function rp(e,t,r,n){let i=e.__methods[t],o=i.chainingBehavior;i.chainingBehavior=z(function(){let s=n(o).call(this);if(s!==void 0)return s;let c=new I;return Yt(this,c),c},"overwritingChainableMethodGetter");let a=i.method;i.method=z(function(){let s=r(a).apply(this,arguments);if(s!==void 0)return s;let c=new I;return Yt(this,c),c},"overwritingChainableMethodWrapper")}z(rp,"overwriteChainableMethod");function rs(e,t){return Ae(e)<Ae(t)?-1:1}z(rs,"compareByInspect");function np(e){return typeof Object.getOwnPropertySymbols!="function"?[]:Object.getOwnPropertySymbols(e).filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})}z(np,"getOwnEnumerablePropertySymbols");function ip(e){return Object.keys(e).concat(np(e))}z(ip,"getOwnEnumerableProperties");var ns=Number.isNaN;function DE(e){let t=qe(e);return["Array","Object","Function"].indexOf(t)!==-1}z(DE,"isObjectType");function op(e,t){let r=ve(e,"operator"),n=ve(e,"negate"),i=t[3],o=n?t[2]:t[1];if(r)return r;if(typeof o=="function"&&(o=o()),o=o||"",!o||/\shave\s/.test(o))return;let a=DE(i);return/\snot\s/.test(o)?a?"notDeepStrictEqual":"notStrictEqual":a?"deepStrictEqual":"strictEqual"}z(op,"getOperator");function Ks(e){return e.name}z(Ks,"getName");function is(e){return Object.prototype.toString.call(e)==="[object RegExp]"}z(is,"isRegExp");function nt(e){return["Number","BigInt"].includes(qe(e))}z(nt,"isNumeric");var{flag:H}=ir;["to","be","been","is","and","has","have","with","that","which","at","of","same","but","does","still","also"].forEach(function(e){I.addProperty(e)});I.addProperty("not",function(){H(this,"negate",!0)});I.addProperty("deep",function(){H(this,"deep",!0)});I.addProperty("nested",function(){H(this,"nested",!0)});I.addProperty("own",function(){H(this,"own",!0)});I.addProperty("ordered",function(){H(this,"ordered",!0)});I.addProperty("any",function(){H(this,"any",!0),H(this,"all",!1)});I.addProperty("all",function(){H(this,"all",!0),H(this,"any",!1)});var Lm={function:["function","asyncfunction","generatorfunction","asyncgeneratorfunction"],asyncfunction:["asyncfunction","asyncgeneratorfunction"],generatorfunction:["generatorfunction","asyncgeneratorfunction"],asyncgeneratorfunction:["asyncgeneratorfunction"]};function ap(e,t){t&&H(this,"message",t),e=e.toLowerCase();let r=H(this,"object"),n=~["a","e","i","o","u"].indexOf(e.charAt(0))?"an ":"a ",i=qe(r).toLowerCase();Lm.function.includes(e)?this.assert(Lm[e].includes(i),"expected #{this} to be "+n+e,"expected #{this} not to be "+n+e):this.assert(e===i,"expected #{this} to be "+n+e,"expected #{this} not to be "+n+e)}z(ap,"an");I.addChainableMethod("an",ap);I.addChainableMethod("a",ap);function LE(e,t){return ns(e)&&ns(t)||e===t}z(LE,"SameValueZero");function Yo(){H(this,"contains",!0)}z(Yo,"includeChainingBehavior");function Xo(e,t){t&&H(this,"message",t);let r=H(this,"object"),n=qe(r).toLowerCase(),i=H(this,"message"),o=H(this,"negate"),a=H(this,"ssfi"),s=H(this,"deep"),c=s?"deep ":"",l=s?H(this,"eql"):LE;i=i?i+": ":"";let d=!1;switch(n){case"string":d=r.indexOf(e)!==-1;break;case"weakset":if(s)throw new Re(i+"unable to use .deep.include with WeakSet",void 0,a);d=r.has(e);break;case"map":r.forEach(function(p){d=d||l(p,e)});break;case"set":s?r.forEach(function(p){d=d||l(p,e)}):d=r.has(e);break;case"array":s?d=r.some(function(p){return l(p,e)}):d=r.indexOf(e)!==-1;break;default:{if(e!==Object(e))throw new Re(i+"the given combination of arguments ("+n+" and "+qe(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 "+qe(e).toLowerCase(),void 0,a);let p=Object.keys(e),f=null,m=0;if(p.forEach(function(y){let g=new I(r);if(Yt(this,g,!0),H(g,"lockSsfi",!0),!o||p.length===1){g.property(y,e[y]);return}try{g.property(y,e[y])}catch(v){if(!St.compatibleConstructor(v,Re))throw v;f===null&&(f=v),m++}},this),o&&p.length>1&&m===p.length)throw f;return}}this.assert(d,"expected #{this} to "+c+"include "+Ae(e),"expected #{this} to not "+c+"include "+Ae(e))}z(Xo,"include");I.addChainableMethod("include",Xo,Yo);I.addChainableMethod("contain",Xo,Yo);I.addChainableMethod("contains",Xo,Yo);I.addChainableMethod("includes",Xo,Yo);I.addProperty("ok",function(){this.assert(H(this,"object"),"expected #{this} to be truthy","expected #{this} to be falsy")});I.addProperty("true",function(){this.assert(H(this,"object")===!0,"expected #{this} to be true","expected #{this} to be false",!H(this,"negate"))});I.addProperty("numeric",function(){let e=H(this,"object");this.assert(["Number","BigInt"].includes(qe(e)),"expected #{this} to be numeric","expected #{this} to not be numeric",!H(this,"negate"))});I.addProperty("callable",function(){let e=H(this,"object"),t=H(this,"ssfi"),r=H(this,"message"),n=r?`${r}: `:"",i=H(this,"negate"),o=i?`${n}expected ${Ae(e)} not to be a callable function`:`${n}expected ${Ae(e)} to be a callable function`,a=["Function","AsyncFunction","GeneratorFunction","AsyncGeneratorFunction"].includes(qe(e));if(a&&i||!a&&!i)throw new Re(o,void 0,t)});I.addProperty("false",function(){this.assert(H(this,"object")===!1,"expected #{this} to be false","expected #{this} to be true",!!H(this,"negate"))});I.addProperty("null",function(){this.assert(H(this,"object")===null,"expected #{this} to be null","expected #{this} not to be null")});I.addProperty("undefined",function(){this.assert(H(this,"object")===void 0,"expected #{this} to be undefined","expected #{this} not to be undefined")});I.addProperty("NaN",function(){this.assert(ns(H(this,"object")),"expected #{this} to be NaN","expected #{this} not to be NaN")});function sp(){let e=H(this,"object");this.assert(e!=null,"expected #{this} to exist","expected #{this} to not exist")}z(sp,"assertExist");I.addProperty("exist",sp);I.addProperty("exists",sp);I.addProperty("empty",function(){let e=H(this,"object"),t=H(this,"ssfi"),r=H(this,"message"),n;switch(r=r?r+": ":"",qe(e).toLowerCase()){case"array":case"string":n=e.length;break;case"map":case"set":n=e.size;break;case"weakmap":case"weakset":throw new Re(r+".empty was passed a weak collection",void 0,t);case"function":{let i=r+".empty was passed a function "+Ks(e);throw new Re(i.trim(),void 0,t)}default:if(e!==Object(e))throw new Re(r+".empty was passed non-string primitive "+Ae(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 lp(){let e=H(this,"object"),t=qe(e);this.assert(t==="Arguments","expected #{this} to be arguments but got "+t,"expected #{this} to not be arguments")}z(lp,"checkArguments");I.addProperty("arguments",lp);I.addProperty("Arguments",lp);function Ys(e,t){t&&H(this,"message",t);let r=H(this,"object");if(H(this,"deep")){let n=H(this,"lockSsfi");H(this,"lockSsfi",!0),this.eql(e),H(this,"lockSsfi",n)}else this.assert(e===r,"expected #{this} to equal #{exp}","expected #{this} to not equal #{exp}",e,this._obj,!0)}z(Ys,"assertEqual");I.addMethod("equal",Ys);I.addMethod("equals",Ys);I.addMethod("eq",Ys);function up(e,t){t&&H(this,"message",t);let r=H(this,"eql");this.assert(r(e,H(this,"object")),"expected #{this} to deeply equal #{exp}","expected #{this} to not deeply equal #{exp}",e,this._obj,!0)}z(up,"assertEql");I.addMethod("eql",up);I.addMethod("eqls",up);function Xs(e,t){t&&H(this,"message",t);let r=H(this,"object"),n=H(this,"doLength"),i=H(this,"message"),o=i?i+": ":"",a=H(this,"ssfi"),s=qe(r).toLowerCase(),c=qe(e).toLowerCase();if(n&&s!=="map"&&s!=="set"&&new I(r,i,a,!0).to.have.property("length"),!n&&s==="date"&&c!=="date")throw new Re(o+"the argument to above must be a date",void 0,a);if(!nt(e)&&(n||nt(r)))throw new Re(o+"the argument to above must be a number",void 0,a);if(!n&&s!=="date"&&!nt(r)){let l=s==="string"?"'"+r+"'":r;throw new Re(o+"expected "+l+" to be a number or a date",void 0,a)}if(n){let l="length",d;s==="map"||s==="set"?(l="size",d=r.size):d=r.length,this.assert(d>e,"expected #{this} to have a "+l+" above #{exp} but got #{act}","expected #{this} to not have a "+l+" above #{exp}",e,d)}else this.assert(r>e,"expected #{this} to be above #{exp}","expected #{this} to be at most #{exp}",e)}z(Xs,"assertAbove");I.addMethod("above",Xs);I.addMethod("gt",Xs);I.addMethod("greaterThan",Xs);function Qs(e,t){t&&H(this,"message",t);let r=H(this,"object"),n=H(this,"doLength"),i=H(this,"message"),o=i?i+": ":"",a=H(this,"ssfi"),s=qe(r).toLowerCase(),c=qe(e).toLowerCase(),l,d=!0;if(n&&s!=="map"&&s!=="set"&&new I(r,i,a,!0).to.have.property("length"),!n&&s==="date"&&c!=="date")l=o+"the argument to least must be a date";else if(!nt(e)&&(n||nt(r)))l=o+"the argument to least must be a number";else if(!n&&s!=="date"&&!nt(r)){let p=s==="string"?"'"+r+"'":r;l=o+"expected "+p+" to be a number or a date"}else d=!1;if(d)throw new Re(l,void 0,a);if(n){let p="length",f;s==="map"||s==="set"?(p="size",f=r.size):f=r.length,this.assert(f>=e,"expected #{this} to have a "+p+" at least #{exp} but got #{act}","expected #{this} to have a "+p+" below #{exp}",e,f)}else this.assert(r>=e,"expected #{this} to be at least #{exp}","expected #{this} to be below #{exp}",e)}z(Qs,"assertLeast");I.addMethod("least",Qs);I.addMethod("gte",Qs);I.addMethod("greaterThanOrEqual",Qs);function Zs(e,t){t&&H(this,"message",t);let r=H(this,"object"),n=H(this,"doLength"),i=H(this,"message"),o=i?i+": ":"",a=H(this,"ssfi"),s=qe(r).toLowerCase(),c=qe(e).toLowerCase(),l,d=!0;if(n&&s!=="map"&&s!=="set"&&new I(r,i,a,!0).to.have.property("length"),!n&&s==="date"&&c!=="date")l=o+"the argument to below must be a date";else if(!nt(e)&&(n||nt(r)))l=o+"the argument to below must be a number";else if(!n&&s!=="date"&&!nt(r)){let p=s==="string"?"'"+r+"'":r;l=o+"expected "+p+" to be a number or a date"}else d=!1;if(d)throw new Re(l,void 0,a);if(n){let p="length",f;s==="map"||s==="set"?(p="size",f=r.size):f=r.length,this.assert(f<e,"expected #{this} to have a "+p+" below #{exp} but got #{act}","expected #{this} to not have a "+p+" below #{exp}",e,f)}else this.assert(r<e,"expected #{this} to be below #{exp}","expected #{this} to be at least #{exp}",e)}z(Zs,"assertBelow");I.addMethod("below",Zs);I.addMethod("lt",Zs);I.addMethod("lessThan",Zs);function el(e,t){t&&H(this,"message",t);let r=H(this,"object"),n=H(this,"doLength"),i=H(this,"message"),o=i?i+": ":"",a=H(this,"ssfi"),s=qe(r).toLowerCase(),c=qe(e).toLowerCase(),l,d=!0;if(n&&s!=="map"&&s!=="set"&&new I(r,i,a,!0).to.have.property("length"),!n&&s==="date"&&c!=="date")l=o+"the argument to most must be a date";else if(!nt(e)&&(n||nt(r)))l=o+"the argument to most must be a number";else if(!n&&s!=="date"&&!nt(r)){let p=s==="string"?"'"+r+"'":r;l=o+"expected "+p+" to be a number or a date"}else d=!1;if(d)throw new Re(l,void 0,a);if(n){let p="length",f;s==="map"||s==="set"?(p="size",f=r.size):f=r.length,this.assert(f<=e,"expected #{this} to have a "+p+" at most #{exp} but got #{act}","expected #{this} to have a "+p+" above #{exp}",e,f)}else this.assert(r<=e,"expected #{this} to be at most #{exp}","expected #{this} to be above #{exp}",e)}z(el,"assertMost");I.addMethod("most",el);I.addMethod("lte",el);I.addMethod("lessThanOrEqual",el);I.addMethod("within",function(e,t,r){r&&H(this,"message",r);let n=H(this,"object"),i=H(this,"doLength"),o=H(this,"message"),a=o?o+": ":"",s=H(this,"ssfi"),c=qe(n).toLowerCase(),l=qe(e).toLowerCase(),d=qe(t).toLowerCase(),p,f=!0,m=l==="date"&&d==="date"?e.toISOString()+".."+t.toISOString():e+".."+t;if(i&&c!=="map"&&c!=="set"&&new I(n,o,s,!0).to.have.property("length"),!i&&c==="date"&&(l!=="date"||d!=="date"))p=a+"the arguments to within must be dates";else if((!nt(e)||!nt(t))&&(i||nt(n)))p=a+"the arguments to within must be numbers";else if(!i&&c!=="date"&&!nt(n)){let y=c==="string"?"'"+n+"'":n;p=a+"expected "+y+" to be a number or a date"}else f=!1;if(f)throw new Re(p,void 0,s);if(i){let y="length",g;c==="map"||c==="set"?(y="size",g=n.size):g=n.length,this.assert(g>=e&&g<=t,"expected #{this} to have a "+y+" within "+m,"expected #{this} to not have a "+y+" within "+m)}else this.assert(n>=e&&n<=t,"expected #{this} to be within "+m,"expected #{this} to not be within "+m)});function cp(e,t){t&&H(this,"message",t);let r=H(this,"object"),n=H(this,"ssfi"),i=H(this,"message"),o;try{o=r instanceof e}catch(s){throw s instanceof TypeError?(i=i?i+": ":"",new Re(i+"The instanceof assertion needs a constructor but "+qe(e)+" was given.",void 0,n)):s}let a=Ks(e);a==null&&(a="an unnamed constructor"),this.assert(o,"expected #{this} to be an instance of "+a,"expected #{this} to not be an instance of "+a)}z(cp,"assertInstanceOf");I.addMethod("instanceof",cp);I.addMethod("instanceOf",cp);function dp(e,t,r){r&&H(this,"message",r);let n=H(this,"nested"),i=H(this,"own"),o=H(this,"message"),a=H(this,"object"),s=H(this,"ssfi"),c=typeof e;if(o=o?o+": ":"",n){if(c!=="string")throw new Re(o+"the argument to property must be a string when using nested syntax",void 0,s)}else if(c!=="string"&&c!=="number"&&c!=="symbol")throw new Re(o+"the argument to property must be a string, number, or symbol",void 0,s);if(n&&i)throw new Re(o+'The "nested" and "own" flags cannot be combined.',void 0,s);if(a==null)throw new Re(o+"Target cannot be null or undefined.",void 0,s);let l=H(this,"deep"),d=H(this,"negate"),p=n?Yd(a,e):null,f=n?p.value:a[e],m=l?H(this,"eql"):(v,b)=>v===b,y="";l&&(y+="deep "),i&&(y+="own "),n&&(y+="nested "),y+="property ";let g;i?g=Object.prototype.hasOwnProperty.call(a,e):n?g=p.exists:g=Ws(a,e),(!d||arguments.length===1)&&this.assert(g,"expected #{this} to have "+y+Ae(e),"expected #{this} to not have "+y+Ae(e)),arguments.length>1&&this.assert(g&&m(t,f),"expected #{this} to have "+y+Ae(e)+" of #{exp}, but got #{act}","expected #{this} to not have "+y+Ae(e)+" of #{act}",t,f),H(this,"object",f)}z(dp,"assertProperty");I.addMethod("property",dp);function pp(e,t,r){H(this,"own",!0),dp.apply(this,arguments)}z(pp,"assertOwnProperty");I.addMethod("ownProperty",pp);I.addMethod("haveOwnProperty",pp);function fp(e,t,r){typeof t=="string"&&(r=t,t=null),r&&H(this,"message",r);let n=H(this,"object"),i=Object.getOwnPropertyDescriptor(Object(n),e),o=H(this,"eql");i&&t?this.assert(o(t,i),"expected the own property descriptor for "+Ae(e)+" on #{this} to match "+Ae(t)+", got "+Ae(i),"expected the own property descriptor for "+Ae(e)+" on #{this} to not match "+Ae(t),t,i,!0):this.assert(i,"expected #{this} to have an own property descriptor for "+Ae(e),"expected #{this} to not have an own property descriptor for "+Ae(e)),H(this,"object",i)}z(fp,"assertOwnPropertyDescriptor");I.addMethod("ownPropertyDescriptor",fp);I.addMethod("haveOwnPropertyDescriptor",fp);function mp(){H(this,"doLength",!0)}z(mp,"assertLengthChain");function hp(e,t){t&&H(this,"message",t);let r=H(this,"object"),n=qe(r).toLowerCase(),i=H(this,"message"),o=H(this,"ssfi"),a="length",s;switch(n){case"map":case"set":a="size",s=r.size;break;default:new I(r,i,o,!0).to.have.property("length"),s=r.length}this.assert(s==e,"expected #{this} to have a "+a+" of #{exp} but got #{act}","expected #{this} to not have a "+a+" of #{act}",e,s)}z(hp,"assertLength");I.addChainableMethod("length",hp,mp);I.addChainableMethod("lengthOf",hp,mp);function yp(e,t){t&&H(this,"message",t);let r=H(this,"object");this.assert(e.exec(r),"expected #{this} to match "+e,"expected #{this} not to match "+e)}z(yp,"assertMatch");I.addMethod("match",yp);I.addMethod("matches",yp);I.addMethod("string",function(e,t){t&&H(this,"message",t);let r=H(this,"object"),n=H(this,"message"),i=H(this,"ssfi");new I(r,n,i,!0).is.a("string"),this.assert(~r.indexOf(e),"expected #{this} to contain "+Ae(e),"expected #{this} to not contain "+Ae(e))});function gp(e){let t=H(this,"object"),r=qe(t),n=qe(e),i=H(this,"ssfi"),o=H(this,"deep"),a,s="",c,l=!0,d=H(this,"message");d=d?d+": ":"";let p=d+"when testing keys against an object or an array you must give a single Array|Object|String argument or multiple String arguments";if(r==="Map"||r==="Set")s=o?"deeply ":"",c=[],t.forEach(function(b,T){c.push(T)}),n!=="Array"&&(e=Array.prototype.slice.call(arguments));else{switch(c=ip(t),n){case"Array":if(arguments.length>1)throw new Re(p,void 0,i);break;case"Object":if(arguments.length>1)throw new Re(p,void 0,i);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 Re(d+"keys required",void 0,i);let f=e.length,m=H(this,"any"),y=H(this,"all"),g=e,v=o?H(this,"eql"):(b,T)=>b===T;if(!m&&!y&&(y=!0),m&&(l=g.some(function(b){return c.some(function(T){return v(b,T)})})),y&&(l=g.every(function(b){return c.some(function(T){return v(b,T)})}),H(this,"contains")||(l=l&&e.length==c.length)),f>1){e=e.map(function(T){return Ae(T)});let b=e.pop();y&&(a=e.join(", ")+", and "+b),m&&(a=e.join(", ")+", or "+b)}else a=Ae(e[0]);a=(f>1?"keys ":"key ")+a,a=(H(this,"contains")?"contain ":"have ")+a,this.assert(l,"expected #{this} to "+s+a,"expected #{this} to not "+s+a,g.slice(0).sort(rs),c.sort(rs),!0)}z(gp,"assertKeys");I.addMethod("keys",gp);I.addMethod("key",gp);function tl(e,t,r){r&&H(this,"message",r);let n=H(this,"object"),i=H(this,"ssfi"),o=H(this,"message"),a=H(this,"negate")||!1;new I(n,o,i,!0).is.a("function"),(is(e)||typeof e=="string")&&(t=e,e=null);let s,c=!1;try{n()}catch(m){c=!0,s=m}let l=e===void 0&&t===void 0,d=!!(e&&t),p=!1,f=!1;if(l||!l&&!a){let m="an error";e instanceof Error?m="#{exp}":e&&(m=St.getConstructorName(e));let y=s;if(s instanceof Error)y=s.toString();else if(typeof s=="string")y=s;else if(s&&(typeof s=="object"||typeof s=="function"))try{y=St.getConstructorName(s)}catch{}this.assert(c,"expected #{this} to throw "+m,"expected #{this} to not throw an error but #{act} was thrown",e&&e.toString(),y)}if(e&&s&&(e instanceof Error&&St.compatibleInstance(s,e)===a&&(d&&a?p=!0:this.assert(a,"expected #{this} to throw #{exp} but #{act} was thrown","expected #{this} to not throw #{exp}"+(s&&!a?" but #{act} was thrown":""),e.toString(),s.toString())),St.compatibleConstructor(s,e)===a&&(d&&a?p=!0:this.assert(a,"expected #{this} to throw #{exp} but #{act} was thrown","expected #{this} to not throw #{exp}"+(s?" but #{act} was thrown":""),e instanceof Error?e.toString():e&&St.getConstructorName(e),s instanceof Error?s.toString():s&&St.getConstructorName(s)))),s&&t!==void 0&&t!==null){let m="including";is(t)&&(m="matching"),St.compatibleMessage(s,t)===a&&(d&&a?f=!0:this.assert(a,"expected #{this} to throw error "+m+" #{exp} but got #{act}","expected #{this} to throw error not "+m+" #{exp}",t,St.getMessage(s)))}p&&f&&this.assert(a,"expected #{this} to throw #{exp} but #{act} was thrown","expected #{this} to not throw #{exp}"+(s?" but #{act} was thrown":""),e instanceof Error?e.toString():e&&St.getConstructorName(e),s instanceof Error?s.toString():s&&St.getConstructorName(s)),H(this,"object",s)}z(tl,"assertThrows");I.addMethod("throw",tl);I.addMethod("throws",tl);I.addMethod("Throw",tl);function bp(e,t){t&&H(this,"message",t);let r=H(this,"object"),n=H(this,"itself"),i=typeof r=="function"&&!n?r.prototype[e]:r[e];this.assert(typeof i=="function","expected #{this} to respond to "+Ae(e),"expected #{this} to not respond to "+Ae(e))}z(bp,"respondTo");I.addMethod("respondTo",bp);I.addMethod("respondsTo",bp);I.addProperty("itself",function(){H(this,"itself",!0)});function vp(e,t){t&&H(this,"message",t);let r=H(this,"object"),n=e(r);this.assert(n,"expected #{this} to satisfy "+gn(e),"expected #{this} to not satisfy"+gn(e),!H(this,"negate"),n)}z(vp,"satisfy");I.addMethod("satisfy",vp);I.addMethod("satisfies",vp);function Ep(e,t,r){r&&H(this,"message",r);let n=H(this,"object"),i=H(this,"message"),o=H(this,"ssfi");new I(n,i,o,!0).is.numeric;let a="A `delta` value is required for `closeTo`";if(t==null)throw new Re(i?`${i}: ${a}`:a,void 0,o);if(new I(t,i,o,!0).is.numeric,a="A `expected` value is required for `closeTo`",e==null)throw new Re(i?`${i}: ${a}`:a,void 0,o);new I(e,i,o,!0).is.numeric;let s=z(l=>l<0n?-l:l,"abs"),c=z(l=>parseFloat(parseFloat(l).toPrecision(12)),"strip");this.assert(c(s(n-e))<=t,"expected #{this} to be close to "+e+" +/- "+t,"expected #{this} not to be close to "+e+" +/- "+t)}z(Ep,"closeTo");I.addMethod("closeTo",Ep);I.addMethod("approximately",Ep);function $E(e,t,r,n,i){let o=Array.from(t),a=Array.from(e);if(!n){if(a.length!==o.length)return!1;o=o.slice()}return a.every(function(s,c){if(i)return r?r(s,o[c]):s===o[c];if(!r){let l=o.indexOf(s);return l===-1?!1:(n||o.splice(l,1),!0)}return o.some(function(l,d){return r(s,l)?(n||o.splice(d,1),!0):!1})})}z($E,"isSubsetOf");I.addMethod("members",function(e,t){t&&H(this,"message",t);let r=H(this,"object"),n=H(this,"message"),i=H(this,"ssfi");new I(r,n,i,!0).to.be.iterable,new I(e,n,i,!0).to.be.iterable;let o=H(this,"contains"),a=H(this,"ordered"),s,c,l;o?(s=a?"an ordered superset":"a superset",c="expected #{this} to be "+s+" of #{exp}",l="expected #{this} to not be "+s+" of #{exp}"):(s=a?"ordered members":"members",c="expected #{this} to have the same "+s+" as #{exp}",l="expected #{this} to not have the same "+s+" as #{exp}");let d=H(this,"deep")?H(this,"eql"):void 0;this.assert($E(e,r,d,o,a),c,l,e,r,!0)});I.addProperty("iterable",function(e){e&&H(this,"message",e);let t=H(this,"object");this.assert(t!=null&&t[Symbol.iterator],"expected #{this} to be an iterable","expected #{this} to not be an iterable",t)});function BE(e,t){t&&H(this,"message",t);let r=H(this,"object"),n=H(this,"message"),i=H(this,"ssfi"),o=H(this,"contains"),a=H(this,"deep"),s=H(this,"eql");new I(e,n,i,!0).to.be.an("array"),o?this.assert(e.some(function(c){return r.indexOf(c)>-1}),"expected #{this} to contain one of #{exp}","expected #{this} to not contain one of #{exp}",e,r):a?this.assert(e.some(function(c){return s(r,c)}),"expected #{this} to deeply equal one of #{exp}","expected #{this} to deeply equal one of #{exp}",e,r):this.assert(e.indexOf(r)>-1,"expected #{this} to be one of #{exp}","expected #{this} to not be one of #{exp}",e,r)}z(BE,"oneOf");I.addMethod("oneOf",BE);function wp(e,t,r){r&&H(this,"message",r);let n=H(this,"object"),i=H(this,"message"),o=H(this,"ssfi");new I(n,i,o,!0).is.a("function");let a;t?(new I(e,i,o,!0).to.have.property(t),a=e[t]):(new I(e,i,o,!0).is.a("function"),a=e()),n();let s=t==null?e():e[t],c=t==null?a:"."+t;H(this,"deltaMsgObj",c),H(this,"initialDeltaValue",a),H(this,"finalDeltaValue",s),H(this,"deltaBehavior","change"),H(this,"realDelta",s!==a),this.assert(a!==s,"expected "+c+" to change","expected "+c+" to not change")}z(wp,"assertChanges");I.addMethod("change",wp);I.addMethod("changes",wp);function _p(e,t,r){r&&H(this,"message",r);let n=H(this,"object"),i=H(this,"message"),o=H(this,"ssfi");new I(n,i,o,!0).is.a("function");let a;t?(new I(e,i,o,!0).to.have.property(t),a=e[t]):(new I(e,i,o,!0).is.a("function"),a=e()),new I(a,i,o,!0).is.a("number"),n();let s=t==null?e():e[t],c=t==null?a:"."+t;H(this,"deltaMsgObj",c),H(this,"initialDeltaValue",a),H(this,"finalDeltaValue",s),H(this,"deltaBehavior","increase"),H(this,"realDelta",s-a),this.assert(s-a>0,"expected "+c+" to increase","expected "+c+" to not increase")}z(_p,"assertIncreases");I.addMethod("increase",_p);I.addMethod("increases",_p);function Tp(e,t,r){r&&H(this,"message",r);let n=H(this,"object"),i=H(this,"message"),o=H(this,"ssfi");new I(n,i,o,!0).is.a("function");let a;t?(new I(e,i,o,!0).to.have.property(t),a=e[t]):(new I(e,i,o,!0).is.a("function"),a=e()),new I(a,i,o,!0).is.a("number"),n();let s=t==null?e():e[t],c=t==null?a:"."+t;H(this,"deltaMsgObj",c),H(this,"initialDeltaValue",a),H(this,"finalDeltaValue",s),H(this,"deltaBehavior","decrease"),H(this,"realDelta",a-s),this.assert(s-a<0,"expected "+c+" to decrease","expected "+c+" to not decrease")}z(Tp,"assertDecreases");I.addMethod("decrease",Tp);I.addMethod("decreases",Tp);function UE(e,t){t&&H(this,"message",t);let r=H(this,"deltaMsgObj"),n=H(this,"initialDeltaValue"),i=H(this,"finalDeltaValue"),o=H(this,"deltaBehavior"),a=H(this,"realDelta"),s;o==="change"?s=Math.abs(i-n)===Math.abs(e):s=a===Math.abs(e),this.assert(s,"expected "+r+" to "+o+" by "+e,"expected "+r+" to not "+o+" by "+e)}z(UE,"assertDelta");I.addMethod("by",UE);I.addProperty("extensible",function(){let e=H(this,"object"),t=e===Object(e)&&Object.isExtensible(e);this.assert(t,"expected #{this} to be extensible","expected #{this} to not be extensible")});I.addProperty("sealed",function(){let e=H(this,"object"),t=e===Object(e)?Object.isSealed(e):!0;this.assert(t,"expected #{this} to be sealed","expected #{this} to not be sealed")});I.addProperty("frozen",function(){let e=H(this,"object"),t=e===Object(e)?Object.isFrozen(e):!0;this.assert(t,"expected #{this} to be frozen","expected #{this} to not be frozen")});I.addProperty("finite",function(e){let t=H(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 os(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 os(r,n)})}):!1:e instanceof Date?t instanceof Date?e.getTime()===t.getTime():!1:Object.keys(e).every(function(r){let n=e[r],i=t[r];return typeof n=="object"&&n!==null&&i!==null?os(n,i):typeof n=="function"?n(i):i===n}):!1}z(os,"compareSubset");I.addMethod("containSubset",function(e){let t=ve(this,"object"),r=Et.showDiff;this.assert(os(e,t),"expected #{act} to contain subset #{exp}","expected #{act} to not contain subset #{exp}",e,t,r)});function bn(e,t){return new I(e,t)}z(bn,"expect");bn.fail=function(e,t,r,n){throw arguments.length<2&&(r=e,e=void 0),r=r||"expect.fail()",new Re(r,{actual:e,expected:t,operator:n},bn.fail)};var HE={};Hd(HE,{Should:()=>xq,should:()=>Tq});function xp(){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 I(this.valueOf(),null,e):new I(this,null,e)}z(e,"shouldGetter");function t(n){Object.defineProperty(this,"should",{value:n,enumerable:!0,configurable:!0,writable:!0})}z(t,"shouldSetter"),Object.defineProperty(Object.prototype,"should",{set:t,get:e,configurable:!0});let r={};return r.fail=function(n,i,o,a){throw arguments.length<2&&(o=n,n=void 0),o=o||"should.fail()",new Re(o,{actual:n,expected:i,operator:a},r.fail)},r.equal=function(n,i,o){new I(n,o).to.equal(i)},r.Throw=function(n,i,o,a){new I(n,a).to.Throw(i,o)},r.exist=function(n,i){new I(n,i).to.exist},r.not={},r.not.equal=function(n,i,o){new I(n,o).to.not.equal(i)},r.not.Throw=function(n,i,o,a){new I(n,a).to.not.Throw(i,o)},r.not.exist=function(n,i){new I(n,i).to.not.exist},r.throw=r.Throw,r.not.throw=r.not.Throw,r}z(xp,"loadShould");var Tq=xp,xq=xp;function k(e,t){new I(null,null,k,!0).assert(e,t,"[ negation message unavailable ]")}z(k,"assert");k.fail=function(e,t,r,n){throw arguments.length<2&&(r=e,e=void 0),r=r||"assert.fail()",new Re(r,{actual:e,expected:t,operator:n},k.fail)};k.isOk=function(e,t){new I(e,t,k.isOk,!0).is.ok};k.isNotOk=function(e,t){new I(e,t,k.isNotOk,!0).is.not.ok};k.equal=function(e,t,r){let n=new I(e,r,k.equal,!0);n.assert(t==ve(n,"object"),"expected #{this} to equal #{exp}","expected #{this} to not equal #{act}",t,e,!0)};k.notEqual=function(e,t,r){let n=new I(e,r,k.notEqual,!0);n.assert(t!=ve(n,"object"),"expected #{this} to not equal #{exp}","expected #{this} to equal #{act}",t,e,!0)};k.strictEqual=function(e,t,r){new I(e,r,k.strictEqual,!0).to.equal(t)};k.notStrictEqual=function(e,t,r){new I(e,r,k.notStrictEqual,!0).to.not.equal(t)};k.deepEqual=k.deepStrictEqual=function(e,t,r){new I(e,r,k.deepEqual,!0).to.eql(t)};k.notDeepEqual=function(e,t,r){new I(e,r,k.notDeepEqual,!0).to.not.eql(t)};k.isAbove=function(e,t,r){new I(e,r,k.isAbove,!0).to.be.above(t)};k.isAtLeast=function(e,t,r){new I(e,r,k.isAtLeast,!0).to.be.least(t)};k.isBelow=function(e,t,r){new I(e,r,k.isBelow,!0).to.be.below(t)};k.isAtMost=function(e,t,r){new I(e,r,k.isAtMost,!0).to.be.most(t)};k.isTrue=function(e,t){new I(e,t,k.isTrue,!0).is.true};k.isNotTrue=function(e,t){new I(e,t,k.isNotTrue,!0).to.not.equal(!0)};k.isFalse=function(e,t){new I(e,t,k.isFalse,!0).is.false};k.isNotFalse=function(e,t){new I(e,t,k.isNotFalse,!0).to.not.equal(!1)};k.isNull=function(e,t){new I(e,t,k.isNull,!0).to.equal(null)};k.isNotNull=function(e,t){new I(e,t,k.isNotNull,!0).to.not.equal(null)};k.isNaN=function(e,t){new I(e,t,k.isNaN,!0).to.be.NaN};k.isNotNaN=function(e,t){new I(e,t,k.isNotNaN,!0).not.to.be.NaN};k.exists=function(e,t){new I(e,t,k.exists,!0).to.exist};k.notExists=function(e,t){new I(e,t,k.notExists,!0).to.not.exist};k.isUndefined=function(e,t){new I(e,t,k.isUndefined,!0).to.equal(void 0)};k.isDefined=function(e,t){new I(e,t,k.isDefined,!0).to.not.equal(void 0)};k.isCallable=function(e,t){new I(e,t,k.isCallable,!0).is.callable};k.isNotCallable=function(e,t){new I(e,t,k.isNotCallable,!0).is.not.callable};k.isObject=function(e,t){new I(e,t,k.isObject,!0).to.be.a("object")};k.isNotObject=function(e,t){new I(e,t,k.isNotObject,!0).to.not.be.a("object")};k.isArray=function(e,t){new I(e,t,k.isArray,!0).to.be.an("array")};k.isNotArray=function(e,t){new I(e,t,k.isNotArray,!0).to.not.be.an("array")};k.isString=function(e,t){new I(e,t,k.isString,!0).to.be.a("string")};k.isNotString=function(e,t){new I(e,t,k.isNotString,!0).to.not.be.a("string")};k.isNumber=function(e,t){new I(e,t,k.isNumber,!0).to.be.a("number")};k.isNotNumber=function(e,t){new I(e,t,k.isNotNumber,!0).to.not.be.a("number")};k.isNumeric=function(e,t){new I(e,t,k.isNumeric,!0).is.numeric};k.isNotNumeric=function(e,t){new I(e,t,k.isNotNumeric,!0).is.not.numeric};k.isFinite=function(e,t){new I(e,t,k.isFinite,!0).to.be.finite};k.isBoolean=function(e,t){new I(e,t,k.isBoolean,!0).to.be.a("boolean")};k.isNotBoolean=function(e,t){new I(e,t,k.isNotBoolean,!0).to.not.be.a("boolean")};k.typeOf=function(e,t,r){new I(e,r,k.typeOf,!0).to.be.a(t)};k.notTypeOf=function(e,t,r){new I(e,r,k.notTypeOf,!0).to.not.be.a(t)};k.instanceOf=function(e,t,r){new I(e,r,k.instanceOf,!0).to.be.instanceOf(t)};k.notInstanceOf=function(e,t,r){new I(e,r,k.notInstanceOf,!0).to.not.be.instanceOf(t)};k.include=function(e,t,r){new I(e,r,k.include,!0).include(t)};k.notInclude=function(e,t,r){new I(e,r,k.notInclude,!0).not.include(t)};k.deepInclude=function(e,t,r){new I(e,r,k.deepInclude,!0).deep.include(t)};k.notDeepInclude=function(e,t,r){new I(e,r,k.notDeepInclude,!0).not.deep.include(t)};k.nestedInclude=function(e,t,r){new I(e,r,k.nestedInclude,!0).nested.include(t)};k.notNestedInclude=function(e,t,r){new I(e,r,k.notNestedInclude,!0).not.nested.include(t)};k.deepNestedInclude=function(e,t,r){new I(e,r,k.deepNestedInclude,!0).deep.nested.include(t)};k.notDeepNestedInclude=function(e,t,r){new I(e,r,k.notDeepNestedInclude,!0).not.deep.nested.include(t)};k.ownInclude=function(e,t,r){new I(e,r,k.ownInclude,!0).own.include(t)};k.notOwnInclude=function(e,t,r){new I(e,r,k.notOwnInclude,!0).not.own.include(t)};k.deepOwnInclude=function(e,t,r){new I(e,r,k.deepOwnInclude,!0).deep.own.include(t)};k.notDeepOwnInclude=function(e,t,r){new I(e,r,k.notDeepOwnInclude,!0).not.deep.own.include(t)};k.match=function(e,t,r){new I(e,r,k.match,!0).to.match(t)};k.notMatch=function(e,t,r){new I(e,r,k.notMatch,!0).to.not.match(t)};k.property=function(e,t,r){new I(e,r,k.property,!0).to.have.property(t)};k.notProperty=function(e,t,r){new I(e,r,k.notProperty,!0).to.not.have.property(t)};k.propertyVal=function(e,t,r,n){new I(e,n,k.propertyVal,!0).to.have.property(t,r)};k.notPropertyVal=function(e,t,r,n){new I(e,n,k.notPropertyVal,!0).to.not.have.property(t,r)};k.deepPropertyVal=function(e,t,r,n){new I(e,n,k.deepPropertyVal,!0).to.have.deep.property(t,r)};k.notDeepPropertyVal=function(e,t,r,n){new I(e,n,k.notDeepPropertyVal,!0).to.not.have.deep.property(t,r)};k.ownProperty=function(e,t,r){new I(e,r,k.ownProperty,!0).to.have.own.property(t)};k.notOwnProperty=function(e,t,r){new I(e,r,k.notOwnProperty,!0).to.not.have.own.property(t)};k.ownPropertyVal=function(e,t,r,n){new I(e,n,k.ownPropertyVal,!0).to.have.own.property(t,r)};k.notOwnPropertyVal=function(e,t,r,n){new I(e,n,k.notOwnPropertyVal,!0).to.not.have.own.property(t,r)};k.deepOwnPropertyVal=function(e,t,r,n){new I(e,n,k.deepOwnPropertyVal,!0).to.have.deep.own.property(t,r)};k.notDeepOwnPropertyVal=function(e,t,r,n){new I(e,n,k.notDeepOwnPropertyVal,!0).to.not.have.deep.own.property(t,r)};k.nestedProperty=function(e,t,r){new I(e,r,k.nestedProperty,!0).to.have.nested.property(t)};k.notNestedProperty=function(e,t,r){new I(e,r,k.notNestedProperty,!0).to.not.have.nested.property(t)};k.nestedPropertyVal=function(e,t,r,n){new I(e,n,k.nestedPropertyVal,!0).to.have.nested.property(t,r)};k.notNestedPropertyVal=function(e,t,r,n){new I(e,n,k.notNestedPropertyVal,!0).to.not.have.nested.property(t,r)};k.deepNestedPropertyVal=function(e,t,r,n){new I(e,n,k.deepNestedPropertyVal,!0).to.have.deep.nested.property(t,r)};k.notDeepNestedPropertyVal=function(e,t,r,n){new I(e,n,k.notDeepNestedPropertyVal,!0).to.not.have.deep.nested.property(t,r)};k.lengthOf=function(e,t,r){new I(e,r,k.lengthOf,!0).to.have.lengthOf(t)};k.hasAnyKeys=function(e,t,r){new I(e,r,k.hasAnyKeys,!0).to.have.any.keys(t)};k.hasAllKeys=function(e,t,r){new I(e,r,k.hasAllKeys,!0).to.have.all.keys(t)};k.containsAllKeys=function(e,t,r){new I(e,r,k.containsAllKeys,!0).to.contain.all.keys(t)};k.doesNotHaveAnyKeys=function(e,t,r){new I(e,r,k.doesNotHaveAnyKeys,!0).to.not.have.any.keys(t)};k.doesNotHaveAllKeys=function(e,t,r){new I(e,r,k.doesNotHaveAllKeys,!0).to.not.have.all.keys(t)};k.hasAnyDeepKeys=function(e,t,r){new I(e,r,k.hasAnyDeepKeys,!0).to.have.any.deep.keys(t)};k.hasAllDeepKeys=function(e,t,r){new I(e,r,k.hasAllDeepKeys,!0).to.have.all.deep.keys(t)};k.containsAllDeepKeys=function(e,t,r){new I(e,r,k.containsAllDeepKeys,!0).to.contain.all.deep.keys(t)};k.doesNotHaveAnyDeepKeys=function(e,t,r){new I(e,r,k.doesNotHaveAnyDeepKeys,!0).to.not.have.any.deep.keys(t)};k.doesNotHaveAllDeepKeys=function(e,t,r){new I(e,r,k.doesNotHaveAllDeepKeys,!0).to.not.have.all.deep.keys(t)};k.throws=function(e,t,r,n){(typeof t=="string"||t instanceof RegExp)&&(r=t,t=null);let i=new I(e,n,k.throws,!0).to.throw(t,r);return ve(i,"object")};k.doesNotThrow=function(e,t,r,n){(typeof t=="string"||t instanceof RegExp)&&(r=t,t=null),new I(e,n,k.doesNotThrow,!0).to.not.throw(t,r)};k.operator=function(e,t,r,n){let i;switch(t){case"==":i=e==r;break;case"===":i=e===r;break;case">":i=e>r;break;case">=":i=e>=r;break;case"<":i=e<r;break;case"<=":i=e<=r;break;case"!=":i=e!=r;break;case"!==":i=e!==r;break;default:throw n=n&&n+": ",new Re(n+'Invalid operator "'+t+'"',void 0,k.operator)}let o=new I(i,n,k.operator,!0);o.assert(ve(o,"object")===!0,"expected "+Ae(e)+" to be "+t+" "+Ae(r),"expected "+Ae(e)+" to not be "+t+" "+Ae(r))};k.closeTo=function(e,t,r,n){new I(e,n,k.closeTo,!0).to.be.closeTo(t,r)};k.approximately=function(e,t,r,n){new I(e,n,k.approximately,!0).to.be.approximately(t,r)};k.sameMembers=function(e,t,r){new I(e,r,k.sameMembers,!0).to.have.same.members(t)};k.notSameMembers=function(e,t,r){new I(e,r,k.notSameMembers,!0).to.not.have.same.members(t)};k.sameDeepMembers=function(e,t,r){new I(e,r,k.sameDeepMembers,!0).to.have.same.deep.members(t)};k.notSameDeepMembers=function(e,t,r){new I(e,r,k.notSameDeepMembers,!0).to.not.have.same.deep.members(t)};k.sameOrderedMembers=function(e,t,r){new I(e,r,k.sameOrderedMembers,!0).to.have.same.ordered.members(t)};k.notSameOrderedMembers=function(e,t,r){new I(e,r,k.notSameOrderedMembers,!0).to.not.have.same.ordered.members(t)};k.sameDeepOrderedMembers=function(e,t,r){new I(e,r,k.sameDeepOrderedMembers,!0).to.have.same.deep.ordered.members(t)};k.notSameDeepOrderedMembers=function(e,t,r){new I(e,r,k.notSameDeepOrderedMembers,!0).to.not.have.same.deep.ordered.members(t)};k.includeMembers=function(e,t,r){new I(e,r,k.includeMembers,!0).to.include.members(t)};k.notIncludeMembers=function(e,t,r){new I(e,r,k.notIncludeMembers,!0).to.not.include.members(t)};k.includeDeepMembers=function(e,t,r){new I(e,r,k.includeDeepMembers,!0).to.include.deep.members(t)};k.notIncludeDeepMembers=function(e,t,r){new I(e,r,k.notIncludeDeepMembers,!0).to.not.include.deep.members(t)};k.includeOrderedMembers=function(e,t,r){new I(e,r,k.includeOrderedMembers,!0).to.include.ordered.members(t)};k.notIncludeOrderedMembers=function(e,t,r){new I(e,r,k.notIncludeOrderedMembers,!0).to.not.include.ordered.members(t)};k.includeDeepOrderedMembers=function(e,t,r){new I(e,r,k.includeDeepOrderedMembers,!0).to.include.deep.ordered.members(t)};k.notIncludeDeepOrderedMembers=function(e,t,r){new I(e,r,k.notIncludeDeepOrderedMembers,!0).to.not.include.deep.ordered.members(t)};k.oneOf=function(e,t,r){new I(e,r,k.oneOf,!0).to.be.oneOf(t)};k.isIterable=function(e,t){if(e==null||!e[Symbol.iterator])throw t=t?`${t} expected ${Ae(e)} to be an iterable`:`expected ${Ae(e)} to be an iterable`,new Re(t,void 0,k.isIterable)};k.changes=function(e,t,r,n){arguments.length===3&&typeof t=="function"&&(n=r,r=null),new I(e,n,k.changes,!0).to.change(t,r)};k.changesBy=function(e,t,r,n,i){if(arguments.length===4&&typeof t=="function"){let o=n;n=r,i=o}else arguments.length===3&&(n=r,r=null);new I(e,i,k.changesBy,!0).to.change(t,r).by(n)};k.doesNotChange=function(e,t,r,n){return arguments.length===3&&typeof t=="function"&&(n=r,r=null),new I(e,n,k.doesNotChange,!0).to.not.change(t,r)};k.changesButNotBy=function(e,t,r,n,i){if(arguments.length===4&&typeof t=="function"){let o=n;n=r,i=o}else arguments.length===3&&(n=r,r=null);new I(e,i,k.changesButNotBy,!0).to.change(t,r).but.not.by(n)};k.increases=function(e,t,r,n){return arguments.length===3&&typeof t=="function"&&(n=r,r=null),new I(e,n,k.increases,!0).to.increase(t,r)};k.increasesBy=function(e,t,r,n,i){if(arguments.length===4&&typeof t=="function"){let o=n;n=r,i=o}else arguments.length===3&&(n=r,r=null);new I(e,i,k.increasesBy,!0).to.increase(t,r).by(n)};k.doesNotIncrease=function(e,t,r,n){return arguments.length===3&&typeof t=="function"&&(n=r,r=null),new I(e,n,k.doesNotIncrease,!0).to.not.increase(t,r)};k.increasesButNotBy=function(e,t,r,n,i){if(arguments.length===4&&typeof t=="function"){let o=n;n=r,i=o}else arguments.length===3&&(n=r,r=null);new I(e,i,k.increasesButNotBy,!0).to.increase(t,r).but.not.by(n)};k.decreases=function(e,t,r,n){return arguments.length===3&&typeof t=="function"&&(n=r,r=null),new I(e,n,k.decreases,!0).to.decrease(t,r)};k.decreasesBy=function(e,t,r,n,i){if(arguments.length===4&&typeof t=="function"){let o=n;n=r,i=o}else arguments.length===3&&(n=r,r=null);new I(e,i,k.decreasesBy,!0).to.decrease(t,r).by(n)};k.doesNotDecrease=function(e,t,r,n){return arguments.length===3&&typeof t=="function"&&(n=r,r=null),new I(e,n,k.doesNotDecrease,!0).to.not.decrease(t,r)};k.doesNotDecreaseBy=function(e,t,r,n,i){if(arguments.length===4&&typeof t=="function"){let o=n;n=r,i=o}else arguments.length===3&&(n=r,r=null);return new I(e,i,k.doesNotDecreaseBy,!0).to.not.decrease(t,r).by(n)};k.decreasesButNotBy=function(e,t,r,n,i){if(arguments.length===4&&typeof t=="function"){let o=n;n=r,i=o}else arguments.length===3&&(n=r,r=null);new I(e,i,k.decreasesButNotBy,!0).to.decrease(t,r).but.not.by(n)};k.ifError=function(e){if(e)throw e};k.isExtensible=function(e,t){new I(e,t,k.isExtensible,!0).to.be.extensible};k.isNotExtensible=function(e,t){new I(e,t,k.isNotExtensible,!0).to.not.be.extensible};k.isSealed=function(e,t){new I(e,t,k.isSealed,!0).to.be.sealed};k.isNotSealed=function(e,t){new I(e,t,k.isNotSealed,!0).to.not.be.sealed};k.isFrozen=function(e,t){new I(e,t,k.isFrozen,!0).to.be.frozen};k.isNotFrozen=function(e,t){new I(e,t,k.isNotFrozen,!0).to.not.be.frozen};k.isEmpty=function(e,t){new I(e,t,k.isEmpty,!0).to.be.empty};k.isNotEmpty=function(e,t){new I(e,t,k.isNotEmpty,!0).to.not.be.empty};k.containsSubset=function(e,t,r){new I(e,r).to.containSubset(t)};k.doesNotContainSubset=function(e,t,r){new I(e,r).to.not.containSubset(t)};var Sq=[["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 Sq)k[t]=k[e];var $m=[];function Hn(e){let t={use:Hn,AssertionError:Re,util:ir,config:Et,expect:bn,assert:k,Assertion:I,...HE};return~$m.indexOf(e)||(e(t,ir),$m.push(e)),t}z(Hn,"use");var JE={};Tt(JE,{toBeChecked:()=>Pw,toBeDisabled:()=>_w,toBeEmpty:()=>sw,toBeEmptyDOMElement:()=>lw,toBeEnabled:()=>Tw,toBeInTheDOM:()=>nc,toBeInTheDocument:()=>aw,toBeInvalid:()=>Ow,toBePartiallyChecked:()=>Nw,toBeRequired:()=>xw,toBeValid:()=>Aw,toBeVisible:()=>gw,toContainElement:()=>ic,toContainHTML:()=>uw,toHaveAccessibleDescription:()=>oc,toHaveAccessibleErrorMessage:()=>dw,toHaveAccessibleName:()=>sc,toHaveAttribute:()=>pw,toHaveClass:()=>fw,toHaveDescription:()=>kw,toHaveDisplayValue:()=>Cw,toHaveErrorMessage:()=>Iw,toHaveFocus:()=>mw,toHaveFormValues:()=>hw,toHaveRole:()=>ac,toHaveSelection:()=>jw,toHaveStyle:()=>lc,toHaveTextContent:()=>cw,toHaveValue:()=>Rw});var Bm=We(mg(),1);function VE(e){Object.defineProperty(e,"__esModule",{value:!0,configurable:!0})}function Sp(e,t,r,n){Object.defineProperty(e,t,{get:r,set:n,enumerable:!0,configurable:!0})}var zE={};VE(zE);Sp(zE,"default",()=>GE);var GE=class extends Error{constructor(e,t,r,n,i){super(e+":"+r+":"+n+": "+t),this.reason=t,this.filename=e,this.line=r,this.column=n,this.source=i}},WE={};VE(WE);Sp(WE,"default",()=>KE);var KE=class{constructor(e,t,r){this.start=e,this.end=t,this.source=r}},Oq={};Sp(Oq,"CssTypes",()=>Ye);var Ye;(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"})(Ye||(Ye={}));var Ql=/\/\*[^]*?(?:\*\/|$)/g,Aq=(e,t)=>{t=t||{};let r=1,n=1;function i(D){let G=D.match(/\n/g);G&&(r+=G.length);let Q=D.lastIndexOf(`
214
+ `);n=~Q?D.length-Q:n+D.length}function o(){let D={line:r,column:n};return function(G){return G.position=new KE(D,{line:r,column:n},t?.source||""),m(),G}}let a=[];function s(D){let G=new GE(t?.source||"",D,r,n,e);if(t?.silent)a.push(G);else throw G}function c(){let D=p();return{type:Ye.stylesheet,stylesheet:{source:t?.source,rules:D,parsingErrors:a}}}function l(){return f(/^{\s*/)}function d(){return f(/^}/)}function p(){let D,G=[];for(m(),y(G);e.length&&e.charAt(0)!=="}"&&(D=ue()||F());)D&&(G.push(D),y(G));return G}function f(D){let G=D.exec(e);if(!G)return;let Q=G[0];return i(Q),e=e.slice(Q.length),G}function m(){f(/^\s*/)}function y(D){let G;for(D=D||[];G=g();)G&&D.push(G);return D}function g(){let D=o();if(e.charAt(0)!=="/"||e.charAt(1)!=="*")return;let G=f(/^\/\*[^]*?\*\//);return G?D({type:Ye.comment,comment:G[0].slice(2,-2)}):s("End of comment missing")}function v(D,G,Q){let X=G+1,K=!1,oe=D.indexOf(")",X);for(;!K&&oe!==-1;){let se=D.indexOf("(",X);se!==-1&&se<oe?(X=v(D,se+1)+1,oe=D.indexOf(")",X)):K=!0}return K&&oe!==-1?oe:-1}function b(){let D=f(/^([^{]+)/);if(!D)return;let G=jt(D[0]).replace(Ql,"");if(G.indexOf(",")===-1)return[G];let Q=0,X=G.indexOf("(",Q);for(;X!==-1;){let K=v(G,X);if(K===-1)break;Q=K+1,G=G.substring(0,X)+G.substring(X,K).replace(/,/g,"‌")+G.substring(K),X=G.indexOf("(",Q)}return G=G.replace(/("|')(?:\\\1|.)*?\1/g,K=>K.replace(/,/g,"‌")),G.split(",").map(K=>jt(K.replace(/\u200C/g,",")))}function T(){let D=o(),G=f(/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/);if(!G)return;let Q=jt(G[0]);if(!f(/^:\s*/))return s("property missing ':'");let X=f(/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/),K=D({type:Ye.declaration,property:Q.replace(Ql,""),value:X?jt(X[0]).replace(Ql,""):""});return f(/^[;\s]*/),K}function O(){let D=[];if(!l())return s("missing '{'");y(D);let G;for(;G=T();)G&&(D.push(G),y(D));return d()?D:s("missing '}'")}function R(){let D,G=[],Q=o();for(;D=f(/^((\d+\.\d+|\.\d+|\d+)%?|[a-z]+)\s*/);)G.push(D[1]),f(/^,\s*/);if(G.length)return Q({type:Ye.keyframe,values:G,declarations:O()||[]})}function P(){let D=o(),G=f(/^@([-\w]+)?keyframes\s*/);if(!G)return;let Q=G[1],X=f(/^([-\w]+)\s*/);if(!X)return s("@keyframes missing name");let K=X[1];if(!l())return s("@keyframes missing '{'");let oe,se=y();for(;oe=R();)se.push(oe),se=se.concat(y());return d()?D({type:Ye.keyframes,name:K,vendor:Q,keyframes:se}):s("@keyframes missing '}'")}function E(){let D=o(),G=f(/^@supports *([^{]+)/);if(!G)return;let Q=jt(G[1]);if(!l())return s("@supports missing '{'");let X=y().concat(p());return d()?D({type:Ye.supports,supports:Q,rules:X}):s("@supports missing '}'")}function _(){let D=o();if(!f(/^@host\s*/))return;if(!l())return s("@host missing '{'");let G=y().concat(p());return d()?D({type:Ye.host,rules:G}):s("@host missing '}'")}function x(){let D=o(),G=f(/^@container *([^{]+)/);if(!G)return;let Q=jt(G[1]);if(!l())return s("@container missing '{'");let X=y().concat(p());return d()?D({type:Ye.container,container:Q,rules:X}):s("@container missing '}'")}function S(){let D=o(),G=f(/^@layer *([^{;@]+)/);if(!G)return;let Q=jt(G[1]);if(!l())return f(/^[;\s]*/),D({type:Ye.layer,layer:Q});let X=y().concat(p());return d()?D({type:Ye.layer,layer:Q,rules:X}):s("@layer missing '}'")}function L(){let D=o(),G=f(/^@media *([^{]+)/);if(!G)return;let Q=jt(G[1]);if(!l())return s("@media missing '{'");let X=y().concat(p());return d()?D({type:Ye.media,media:Q,rules:X}):s("@media missing '}'")}function j(){let D=o(),G=f(/^@custom-media\s+(--\S+)\s*([^{;\s][^{;]*);/);if(G)return D({type:Ye.customMedia,name:jt(G[1]),media:jt(G[2])})}function J(){let D=o();if(!f(/^@page */))return;let G=b()||[];if(!l())return s("@page missing '{'");let Q=y(),X;for(;X=T();)Q.push(X),Q=Q.concat(y());return d()?D({type:Ye.page,selectors:G,declarations:Q}):s("@page missing '}'")}function N(){let D=o(),G=f(/^@([-\w]+)?document *([^{]+)/);if(!G)return;let Q=jt(G[1]),X=jt(G[2]);if(!l())return s("@document missing '{'");let K=y().concat(p());return d()?D({type:Ye.document,document:X,vendor:Q,rules:K}):s("@document missing '}'")}function A(){let D=o();if(!f(/^@font-face\s*/))return;if(!l())return s("@font-face missing '{'");let G=y(),Q;for(;Q=T();)G.push(Q),G=G.concat(y());return d()?D({type:Ye.fontFace,declarations:G}):s("@font-face missing '}'")}function q(){let D=o();if(!f(/^@starting-style\s*/))return;if(!l())return s("@starting-style missing '{'");let G=y().concat(p());return d()?D({type:Ye.startingStyle,rules:G}):s("@starting-style missing '}'")}let $=ie("import"),V=ie("charset"),Y=ie("namespace");function ie(D){let G=new RegExp("^@"+D+`\\s*((?::?[^;'"]|"(?:\\\\"|[^"])*?"|'(?:\\\\'|[^'])*?')+)(?:;|$)`);return function(){let Q=o(),X=f(G);if(!X)return;let K={type:D};return K[D]=X[1].trim(),Q(K)}}function ue(){if(e[0]==="@")return P()||L()||j()||E()||$()||V()||Y()||N()||J()||_()||A()||x()||q()||S()}function F(){let D=o(),G=b();return G?(y(),D({type:Ye.rule,selectors:G,declarations:O()||[]})):s("selector missing")}return tc(c())};function jt(e){return e?e.trim():""}function tc(e,t){let r=e&&typeof e.type=="string",n=r?e:t;for(let i in e){let o=e[i];Array.isArray(o)?o.forEach(a=>{tc(a,n)}):o&&typeof o=="object"&&tc(o,n)}return r&&Object.defineProperty(e,"parent",{configurable:!0,writable:!0,enumerable:!1,value:t||null}),e}var Rq=Aq,Cq=Rq,Pq=Object.prototype.toString;function Mq(e){return typeof e=="function"||Pq.call(e)==="[object Function]"}function Nq(e){var t=Number(e);return isNaN(t)?0:t===0||!isFinite(t)?t:(t>0?1:-1)*Math.floor(Math.abs(t))}var kq=Math.pow(2,53)-1;function Iq(e){var t=Nq(e);return Math.min(Math.max(t,0),kq)}function Vt(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 i=Iq(n.length),o=Mq(r)?Object(new r(i)):new Array(i),a=0,s;a<i;)s=n[a],o[a]=s,a+=1;return o.length=i,o}function Eo(e){"@babel/helpers - typeof";return Eo=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},Eo(e)}function jq(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function qq(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,YE(n.key),n)}}function Fq(e,t,r){return t&&qq(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function Dq(e,t,r){return t=YE(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function YE(e){var t=Lq(e,"string");return Eo(t)==="symbol"?t:String(t)}function Lq(e,t){if(Eo(e)!=="object"||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(Eo(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var $q=(function(){function e(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];jq(this,e),Dq(this,"items",void 0),this.items=t}return Fq(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})(),Bq=typeof Set>"u"?Set:$q;function ft(e){var t;return(t=e.localName)!==null&&t!==void 0?t:e.tagName.toLowerCase()}var Uq={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"},Hq={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 Jq(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=Hq[t])!==null&&n!==void 0&&n.has(r))})}function XE(e,t){return Jq(e,t)}function Vq(e){var t=Gq(e);if(t===null||rc.indexOf(t)!==-1){var r=zq(e);if(rc.indexOf(t||"")===-1||XE(e,r||""))return r}return t}function zq(e){var t=Uq[ft(e)];if(t!==void 0)return t;switch(ft(e)){case"a":case"area":case"link":if(e.hasAttribute("href"))return"link";break;case"img":return e.getAttribute("alt")===""&&!XE(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 Gq(e){var t=e.getAttribute("role");if(t!==null){var r=t.trim().split(" ")[0];if(r.length>0)return r}return null}var rc=["presentation","none"];function $e(e){return e!==null&&e.nodeType===e.ELEMENT_NODE}function QE(e){return $e(e)&&ft(e)==="caption"}function ka(e){return $e(e)&&ft(e)==="input"}function Wq(e){return $e(e)&&ft(e)==="optgroup"}function Kq(e){return $e(e)&&ft(e)==="select"}function Yq(e){return $e(e)&&ft(e)==="table"}function Xq(e){return $e(e)&&ft(e)==="textarea"}function Qq(e){var t=e.ownerDocument===null?e:e.ownerDocument,r=t.defaultView;if(r===null)throw new TypeError("no window available");return r}function Zq(e){return $e(e)&&ft(e)==="fieldset"}function eF(e){return $e(e)&&ft(e)==="legend"}function tF(e){return $e(e)&&ft(e)==="slot"}function rF(e){return $e(e)&&e.ownerSVGElement!==void 0}function nF(e){return $e(e)&&ft(e)==="svg"}function iF(e){return rF(e)&&ft(e)==="title"}function as(e,t){if($e(e)&&e.hasAttribute(t)){var r=e.getAttribute(t).split(" "),n=e.getRootNode?e.getRootNode():e.ownerDocument;return r.map(function(i){return n.getElementById(i)}).filter(function(i){return i!==null})}return[]}function br(e,t){return $e(e)?t.indexOf(Vq(e))!==-1:!1}function oF(e){return e.trim().replace(/\s\s+/g," ")}function aF(e,t){if(!$e(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 sF(e){return br(e,["button","combobox","listbox","textbox"])||ZE(e,"range")}function ZE(e,t){if(!$e(e))return!1;switch(t){case"range":return br(e,["meter","progressbar","scrollbar","slider","spinbutton"]);default:throw new TypeError("No knowledge about abstract role '".concat(t,"'. This is likely a bug :("))}}function Um(e,t){var r=Vt(e.querySelectorAll(t));return as(e,"aria-owns").forEach(function(n){r.push.apply(r,Vt(n.querySelectorAll(t)))}),r}function lF(e){return Kq(e)?e.selectedOptions||Um(e,"[selected]"):Um(e,'[aria-selected="true"]')}function uF(e){return br(e,rc)}function cF(e){return QE(e)}function dF(e){return br(e,["button","cell","checkbox","columnheader","gridcell","heading","label","legend","link","menuitem","menuitemcheckbox","menuitemradio","option","radio","row","rowheader","switch","tab","tooltip","treeitem"])}function pF(e){return!1}function fF(e){return ka(e)||Xq(e)?e.value:e.textContent||""}function Hm(e){var t=e.getPropertyValue("content");return/^["'].*["']$/.test(t)?t.slice(1,-1):""}function ew(e){var t=ft(e);return t==="button"||t==="input"&&e.getAttribute("type")!=="hidden"||t==="meter"||t==="output"||t==="progress"||t==="select"||t==="textarea"}function tw(e){if(ew(e))return e;var t=null;return e.childNodes.forEach(function(r){if(t===null&&$e(r)){var n=tw(r);n!==null&&(t=n)}}),t}function mF(e){if(e.control!==void 0)return e.control;var t=e.getAttribute("for");return t!==null?e.ownerDocument.getElementById(t):tw(e)}function hF(e){var t=e.labels;if(t===null)return t;if(t!==void 0)return Vt(t);if(!ew(e))return null;var r=e.ownerDocument;return Vt(r.querySelectorAll("label")).filter(function(n){return mF(n)===e})}function yF(e){var t=e.assignedNodes();return t.length===0?Vt(e.childNodes):t}function rw(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=new Bq,n=Qq(e),i=t.compute,o=i===void 0?"name":i,a=t.computedStyleSupportsPseudoElements,s=a===void 0?t.getComputedStyle!==void 0:a,c=t.getComputedStyle,l=c===void 0?n.getComputedStyle.bind(n):c,d=t.hidden,p=d===void 0?!1:d;function f(b,T){var O="";if($e(b)&&s){var R=l(b,"::before"),P=Hm(R);O="".concat(P," ").concat(O)}var E=tF(b)?yF(b):Vt(b.childNodes).concat(as(b,"aria-owns"));if(E.forEach(function(S){var L=v(S,{isEmbeddedInLabel:T.isEmbeddedInLabel,isReferenced:!1,recursion:!0}),j=$e(S)?l(S).getPropertyValue("display"):"inline",J=j!=="inline"?" ":"";O+="".concat(J).concat(L).concat(J)}),$e(b)&&s){var _=l(b,"::after"),x=Hm(_);O="".concat(O," ").concat(x)}return O.trim()}function m(b,T){var O=b.getAttributeNode(T);return O!==null&&!r.has(O)&&O.value.trim()!==""?(r.add(O),O.value):null}function y(b){return $e(b)?m(b,"title"):null}function g(b){if(!$e(b))return null;if(Zq(b)){r.add(b);for(var T=Vt(b.childNodes),O=0;O<T.length;O+=1){var R=T[O];if(eF(R))return v(R,{isEmbeddedInLabel:!1,isReferenced:!1,recursion:!1})}}else if(Yq(b)){r.add(b);for(var P=Vt(b.childNodes),E=0;E<P.length;E+=1){var _=P[E];if(QE(_))return v(_,{isEmbeddedInLabel:!1,isReferenced:!1,recursion:!1})}}else if(nF(b)){r.add(b);for(var x=Vt(b.childNodes),S=0;S<x.length;S+=1){var L=x[S];if(iF(L))return L.textContent}return null}else if(ft(b)==="img"||ft(b)==="area"){var j=m(b,"alt");if(j!==null)return j}else if(Wq(b)){var J=m(b,"label");if(J!==null)return J}if(ka(b)&&(b.type==="button"||b.type==="submit"||b.type==="reset")){var N=m(b,"value");if(N!==null)return N;if(b.type==="submit")return"Submit";if(b.type==="reset")return"Reset"}var A=hF(b);if(A!==null&&A.length!==0)return r.add(b),Vt(A).map(function(Y){return v(Y,{isEmbeddedInLabel:!0,isReferenced:!1,recursion:!0})}).filter(function(Y){return Y.length>0}).join(" ");if(ka(b)&&b.type==="image"){var q=m(b,"alt");if(q!==null)return q;var $=m(b,"title");return $!==null?$:"Submit Query"}if(br(b,["button"])){var V=f(b,{isEmbeddedInLabel:!1});if(V!=="")return V}return null}function v(b,T){if(r.has(b))return"";if(!p&&aF(b,l)&&!T.isReferenced)return r.add(b),"";var O=$e(b)?b.getAttributeNode("aria-labelledby"):null,R=O!==null&&!r.has(O)?as(b,"aria-labelledby"):[];if(o==="name"&&!T.isReferenced&&R.length>0)return r.add(O),R.map(function(j){return v(j,{isEmbeddedInLabel:T.isEmbeddedInLabel,isReferenced:!0,recursion:!1})}).join(" ");var P=T.recursion&&sF(b)&&o==="name";if(!P){var E=($e(b)&&b.getAttribute("aria-label")||"").trim();if(E!==""&&o==="name")return r.add(b),E;if(!uF(b)){var _=g(b);if(_!==null)return r.add(b),_}}if(br(b,["menu"]))return r.add(b),"";if(P||T.isEmbeddedInLabel||T.isReferenced){if(br(b,["combobox","listbox"])){r.add(b);var x=lF(b);return x.length===0?ka(b)?b.value:"":Vt(x).map(function(j){return v(j,{isEmbeddedInLabel:T.isEmbeddedInLabel,isReferenced:!1,recursion:!0})}).join(" ")}if(ZE(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(br(b,["textbox"]))return r.add(b),fF(b)}if(dF(b)||$e(b)&&T.isReferenced||cF(b)||pF()){var S=f(b,{isEmbeddedInLabel:T.isEmbeddedInLabel});if(S!=="")return r.add(b),S}if(b.nodeType===b.TEXT_NODE)return r.add(b),b.textContent||"";if(T.recursion)return r.add(b),f(b,{isEmbeddedInLabel:T.isEmbeddedInLabel});var L=y(b);return L!==null?(r.add(b),L):(r.add(b),"")}return oF(v(e,{isEmbeddedInLabel:!1,isReferenced:o==="description",recursion:!1}))}function wo(e){"@babel/helpers - typeof";return wo=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},wo(e)}function Jm(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),r.push.apply(r,n)}return r}function Vm(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?Jm(Object(r),!0).forEach(function(n){gF(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Jm(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function gF(e,t,r){return t=bF(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function bF(e){var t=vF(e,"string");return wo(t)==="symbol"?t:String(t)}function vF(e,t){if(wo(e)!=="object"||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(wo(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function EF(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=as(e,"aria-describedby").map(function(o){return rw(o,Vm(Vm({},t),{},{compute:"description"}))}).join(" ");if(r===""){var n=e.getAttribute("aria-description");r=n===null?"":n}if(r===""){var i=e.getAttribute("title");r=i===null?"":i}return r}function wF(e){return br(e,["caption","code","deletion","emphasis","generic","insertion","none","paragraph","presentation","strong","subscript","superscript"])}function _F(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return wF(e)?"":rw(e,t)}var Op=We(td(),1),TF=We(yg(),1),Ap=We(Ag(),1),xF=We(Rg(),1),nw=class extends Error{constructor(e,t,r,n){super(),Error.captureStackTrace&&Error.captureStackTrace(this,r);let i="";try{i=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}.`,i].join(`
215
+ `)}},zm=class extends nw{constructor(...e){super("be an HTMLElement or an SVGElement",...e)}},Gm=class extends nw{constructor(...e){super("be a Node",...e)}};function iw(e,t,...r){if(!e||!e.ownerDocument||!e.ownerDocument.defaultView)throw new t(e,...r)}function SF(e,...t){iw(e,Gm,...t);let r=e.ownerDocument.defaultView;if(!(e instanceof r.Node))throw new Gm(e,...t)}function Ie(e,...t){iw(e,zm,...t);let r=e.ownerDocument.defaultView;if(!(e instanceof r.HTMLElement)&&!(e instanceof r.SVGElement))throw new zm(e,...t)}var OF=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 AF(e,...t){let r=Cq(`selector { ${e} }`,{silent:!0}).stylesheet;if(r.parsingErrors&&r.parsingErrors.length>0){let{reason:n,line:i}=r.parsingErrors[0];throw new OF({css:e,message:`Syntax error parsing expected css: ${n} on line: ${i}`},...t)}return r.rules[0].declarations.filter(n=>n.type==="declaration").reduce((n,{property:i,value:o})=>Object.assign(n,{[i]:o}),{})}function Wm(e,t){return typeof t=="string"?t:e.utils.stringify(t)}function lt(e,t,r,n,i,o){return[`${t}
217
+ `,`${r}:
218
+ ${e.utils.EXPECTED_COLOR((0,Bm.default)(Wm(e,n),2))}`,`${i}:
219
+ ${e.utils.RECEIVED_COLOR((0,Bm.default)(Wm(e,o),2))}`].join(`
220
+ `)}function RF(e,t){return t instanceof RegExp?t.test(e):e.includes(String(t))}function rl(e,t){console.warn(`Warning: ${e} has been deprecated and will be removed in future updates.`,t)}function nl(e){return e.replace(/\s+/g," ").trim()}function Vr(e){return e.tagName&&e.tagName.toLowerCase()}function CF({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 PF(e){switch(e.type){case"number":return e.value===""?null:Number(e.value);case"checkbox":return e.checked;default:return e.value}}var MF=["meter","progressbar","slider","spinbutton"];function NF(e){if(MF.includes(e.getAttribute("role")))return Number(e.getAttribute("aria-valuenow"))}function ow(e){if(e)switch(e.tagName.toLowerCase()){case"input":return PF(e);case"select":return CF(e);default:return e.value??NF(e)}}function kF(e,{wordConnector:t=", ",lastWordConnector:r=" and "}={}){return[e.slice(0,-1).join(t),e[e.length-1]].join(e.length>1?r:"")}function Rp(e,t){if(Array.isArray(e)&&Array.isArray(t))return[...new Set(e)].every(r=>new Set(t).has(r))}function nc(e,t){return rl("toBeInTheDOM","Please use toBeInTheDocument for searching the entire document and toContainElement for searching a specific container."),e&&Ie(e,nc,this),t&&Ie(t,nc,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 aw(e){(e!==null||!this.isNot)&&Ie(e,aw,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 sw(e){return rl("toBeEmpty","Please use instead toBeEmptyDOMElement for finding empty nodes in the DOM."),Ie(e,sw,this),{pass:e.innerHTML==="",message:()=>[this.utils.matcherHint(`${this.isNot?".not":""}.toBeEmpty`,"element",""),"","Received:",` ${this.utils.printReceived(e.innerHTML)}`].join(`
223
+ `)}}function lw(e){return Ie(e,lw,this),{pass:IF(e),message:()=>[this.utils.matcherHint(`${this.isNot?".not":""}.toBeEmptyDOMElement`,"element",""),"","Received:",` ${this.utils.printReceived(e.innerHTML)}`].join(`
224
+ `)}}function IF(e){return[...e.childNodes].filter(t=>t.nodeType!==8).length===0}function ic(e,t){return Ie(e,ic,this),t!==null&&Ie(t,ic,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 jF(e,t){let r=e.ownerDocument.createElement("div");return r.innerHTML=t,r.innerHTML}function uw(e,t){if(Ie(e,uw,this),typeof t!="string")throw new Error(`.toContainHTML() expects a string value, got ${t}`);return{pass:e.outerHTML.includes(jF(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 cw(e,t,r={normalizeWhitespace:!0}){SF(e,cw,this);let n=r.normalizeWhitespace?nl(e.textContent):e.textContent.replace(/\u00a0/g," "),i=n!==""&&t==="";return{pass:!i&&RF(n,t),message:()=>{let o=this.isNot?"not to":"to";return lt(this,this.utils.matcherHint(`${this.isNot?".not":""}.toHaveTextContent`,"element",""),i?"Checking with empty string will always match, use .toBeEmptyDOMElement() instead":`Expected element ${o} have text content`,t,"Received",n)}}}function oc(e,t){Ie(e,oc,this);let r=EF(e),n=arguments.length===1,i=!1;return n?i=r!=="":i=t instanceof RegExp?t.test(r):this.equals(r,t),{pass:i,message:()=>{let o=this.isNot?"not to":"to";return lt(this,this.utils.matcherHint(`${this.isNot?".not":""}.${oc.name}`,"element",""),`Expected element ${o} have accessible description`,t,"Received",r)}}}var Ji="aria-invalid",qF=["false"];function dw(e,t){Ie(e,dw,this);let r=this.isNot?"not to":"to",n=this.isNot?".not.toHaveAccessibleErrorMessage":".toHaveAccessibleErrorMessage",i=e.getAttribute("aria-errormessage");if(i&&/\s+/.test(i))return{pass:!1,message:()=>lt(this,this.utils.matcherHint(n,"element"),"Expected element's `aria-errormessage` attribute to be empty or a single, valid ID","","Received",`aria-errormessage="${i}"`)};let o=e.getAttribute(Ji);if(!e.hasAttribute(Ji)||qF.includes(o))return{pass:!1,message:()=>lt(this,this.utils.matcherHint(n,"element"),"Expected element to be marked as invalid with attribute",`${Ji}="${String(!0)}"`,"Received",e.hasAttribute("aria-invalid")?`${Ji}="${e.getAttribute(Ji)}`:null)};let a=nl(e.ownerDocument.getElementById(i)?.textContent??"");return{pass:t===void 0?!!a:t instanceof RegExp?t.test(a):this.equals(a,t),message:()=>lt(this,this.utils.matcherHint(n,"element"),`Expected element ${r} have accessible error message`,t??"","Received",a)}}var FF=$F(Op.elementRoles);function ac(e,t){Ie(e,ac,this);let r=DF(e);return{pass:r.some(n=>n===t),message:()=>{let n=this.isNot?"not to":"to";return lt(this,this.utils.matcherHint(`${this.isNot?".not":""}.${ac.name}`,"element",""),`Expected element ${n} have role`,t,"Received",r.join(", "))}}}function DF(e){return e.hasAttribute("role")?e.getAttribute("role").split(" ").filter(Boolean):LF(e)}function LF(e){for(let{match:t,roles:r}of FF)if(t(e))return[...r];return[]}function $F(e){function t({name:a,attributes:s}){return`${a}${s.map(({name:c,value:l,constraints:d=[]})=>d.indexOf("undefined")!==-1?`:not([${c}])`:l?`[${c}="${l}"]`:`[${c}]`).join("")}`}function r({attributes:a=[]}){return a.length}function n({specificity:a},{specificity:s}){return s-a}function i(a){let{attributes:s=[]}=a,c=s.findIndex(d=>d.value&&d.name==="type"&&d.value==="text");c>=0&&(s=[...s.slice(0,c),...s.slice(c+1)]);let l=t({...a,attributes:s});return d=>c>=0&&d.type!=="text"?!1:d.matches(l)}let o=[];for(let[a,s]of e.entries())o=[...o,{match:i(a),roles:Array.from(s),specificity:r(a)}];return o.sort(n)}function sc(e,t){Ie(e,sc,this);let r=_F(e),n=arguments.length===1,i=!1;return n?i=r!=="":i=t instanceof RegExp?t.test(r):this.equals(r,t),{pass:i,message:()=>{let o=this.isNot?"not to":"to";return lt(this,this.utils.matcherHint(`${this.isNot?".not":""}.${sc.name}`,"element",""),`Expected element ${o} have accessible name`,t,"Received",r)}}}function Km(e,t,r){return r===void 0?t:`${t}=${e(r)}`}function BF(e,t,r){return r===void 0?`element.hasAttribute(${e(t)})`:`element.getAttribute(${e(t)}) === ${e(r)}`}function pw(e,t,r){Ie(e,pw,this);let n=r!==void 0,i=e.hasAttribute(t),o=e.getAttribute(t);return{pass:n?i&&this.equals(o,r):i,message:()=>{let a=this.isNot?"not to":"to",s=i?Km(this.utils.stringify,t,o):null,c=this.utils.matcherHint(`${this.isNot?".not":""}.toHaveAttribute`,"element",this.utils.printExpected(t),{secondArgument:n?this.utils.printExpected(r):void 0,comment:BF(this.utils.stringify,t,r)});return lt(this,c,`Expected the element ${a} have attribute`,Km(this.utils.stringify,t,r),"Received",s)}}}function UF(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 Ym(e){return e?e.split(/\s+/).filter(t=>t.length>0):[]}function Xm(e,t){return e.every(r=>typeof r=="string"?t.includes(r):t.some(n=>r.test(n)))}function fw(e,...t){Ie(e,fw,this);let{expectedClassNames:r,options:n}=UF(t),i=Ym(e.getAttribute("class")),o=r.reduce((s,c)=>s.concat(typeof c=="string"||!c?Ym(c):c),[]),a=o.some(s=>s instanceof RegExp);if(n.exact&&a)throw new Error("Exact option does not support RegExp expected class names");return n.exact?{pass:Xm(o,i)&&o.length===i.length,message:()=>{let s=this.isNot?"not to":"to";return lt(this,this.utils.matcherHint(`${this.isNot?".not":""}.toHaveClass`,"element",this.utils.printExpected(o.join(" "))),`Expected the element ${s} have EXACTLY defined classes`,o.join(" "),"Received",i.join(" "))}}:o.length>0?{pass:Xm(o,i),message:()=>{let s=this.isNot?"not to":"to";return lt(this,this.utils.matcherHint(`${this.isNot?".not":""}.toHaveClass`,"element",this.utils.printExpected(o.join(" "))),`Expected the element ${s} have class`,o.join(" "),"Received",i.join(" "))}}:{pass:this.isNot?i.length>0:!1,message:()=>this.isNot?lt(this,this.utils.matcherHint(".not.toHaveClass","element",""),"Expected the element to have classes","(none)","Received",i.join(" ")):[this.utils.matcherHint(".toHaveClass","element"),"At least one expected class must be provided."].join(`
228
+ `)}}function HF(e,t){let r={},n=e.createElement("div");return Object.keys(t).forEach(i=>{n.style[i]=t[i],r[i]=n.style[i]}),r}function JF(e,t){return!!Object.keys(e).length&&Object.entries(e).every(([r,n])=>{let i=r.startsWith("--"),o=[r];return i||o.push(r.toLowerCase()),o.some(a=>t[a]===n||t.getPropertyValue(a)===n)})}function Qm(e){return Object.keys(e).sort().map(t=>`${t}: ${e[t]};`).join(`
229
+ `)}function VF(e,t,r){let n=Array.from(r).filter(i=>t[i]!==void 0).reduce((i,o)=>Object.assign(i,{[o]:r.getPropertyValue(o)}),{});return e(Qm(t),Qm(n)).replace(`${TF.default.red("+ Received")}
230
+ `,"")}function lc(e,t){Ie(e,lc,this);let r=typeof t=="object"?t:AF(t,lc,this),{getComputedStyle:n}=e.ownerDocument.defaultView,i=HF(e.ownerDocument,r),o=n(e);return{pass:JF(i,o),message:()=>{let a=`${this.isNot?".not":""}.toHaveStyle`;return[this.utils.matcherHint(a,"element",""),VF(this.utils.diff,i,o)].join(`
231
+
232
+ `)}}}function mw(e){return Ie(e,mw,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 zF(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 GF(e,t){let r=[...e.querySelectorAll(`[name="${(0,xF.default)(t)}"]`)];if(r.length!==0)switch(r.length){case 1:return ow(r[0]);default:return zF(r)}}function WF(e){return/\[\]$/.test(e)?e.slice(0,-2):e}function KF(e){return Array.from(e.elements).map(t=>t.name).reduce((t,r)=>({...t,[WF(r)]:GF(e,r)}),{})}function hw(e,t){if(Ie(e,hw,this),!e.elements)throw new Error("toHaveFormValues must be called on a form or a fieldset");let r=KF(e);return{pass:Object.entries(t).every(([n,i])=>(0,Ap.default)(r[n],i,Rp)),message:()=>{let n=this.isNot?"not to":"to",i=`${this.isNot?".not":""}.toHaveFormValues`,o=Object.keys(r).filter(a=>t.hasOwnProperty(a)).reduce((a,s)=>({...a,[s]:r[s]}),{});return[this.utils.matcherHint(i,"element",""),`Expected the element ${n} have form values`,this.utils.diff(t,o)].join(`
234
+
235
+ `)}}}function YF(e){let{getComputedStyle:t}=e.ownerDocument.defaultView,{display:r,visibility:n,opacity:i}=t(e);return r!=="none"&&n!=="hidden"&&n!=="collapse"&&i!=="0"&&i!==0}function XF(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 yw(e,t){return YF(e)&&XF(e,t)&&(!e.parentElement||yw(e.parentElement,e))}function gw(e){Ie(e,gw,this);let t=e.ownerDocument===e.getRootNode({composed:!0}),r=t&&yw(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 QF=["fieldset","input","select","optgroup","option","button","textarea"];function ZF(e,t){return Vr(e)==="legend"&&Vr(t)==="fieldset"&&e.isSameNode(Array.from(t.children).find(r=>Vr(r)==="legend"))}function eD(e,t){return vw(t)&&!ZF(e,t)}function tD(e){return e.includes("-")}function bw(e){let t=Vr(e);return QF.includes(t)||tD(t)}function vw(e){return bw(e)&&e.hasAttribute("disabled")}function Ew(e){let t=e.parentElement;return!!t&&(eD(e,t)||Ew(t))}function ww(e){return bw(e)&&(vw(e)||Ew(e))}function _w(e){Ie(e,_w,this);let t=ww(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 Tw(e){Ie(e,Tw,this);let t=!ww(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 rD=["select","textarea"],nD=["input","select","textarea"],iD=["color","hidden","range","submit","image","reset"],oD=["checkbox","combobox","gridcell","listbox","radiogroup","spinbutton","textbox","tree"];function aD(e){return rD.includes(Vr(e))&&e.hasAttribute("required")}function sD(e){return Vr(e)==="input"&&e.hasAttribute("required")&&(e.hasAttribute("type")&&!iD.includes(e.getAttribute("type"))||!e.hasAttribute("type"))}function lD(e){return e.hasAttribute("aria-required")&&e.getAttribute("aria-required")==="true"&&(nD.includes(Vr(e))||e.hasAttribute("role")&&oD.includes(e.getAttribute("role")))}function xw(e){Ie(e,xw,this);let t=aD(e)||sD(e)||lD(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 uD=["form","input","select","textarea"];function cD(e){return e.hasAttribute("aria-invalid")&&e.getAttribute("aria-invalid")!=="false"}function dD(e){return uD.includes(Vr(e))}function Sw(e){let t=cD(e);return dD(e)?t||!e.checkValidity():t}function Ow(e){Ie(e,Ow,this);let t=Sw(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 Aw(e){Ie(e,Aw,this);let t=!Sw(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 Rw(e,t){if(Ie(e,Rw,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=ow(e),n=t!==void 0,i=t,o=r;return t==r&&t!==r&&(i=`${t} (${typeof t})`,o=`${r} (${typeof r})`),{pass:n?(0,Ap.default)(r,t,Rp):!!r,message:()=>{let a=this.isNot?"not to":"to",s=this.utils.matcherHint(`${this.isNot?".not":""}.toHaveValue`,"element",t);return lt(this,s,`Expected the element ${a} have value`,n?i:"(any)","Received",o)}}}function Cw(e,t){Ie(e,Cw,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=pD(r,e),i=fD(t),o=i.filter(c=>n.some(l=>c instanceof RegExp?c.test(l):this.equals(l,String(c)))).length,a=o===n.length,s=o===i.length;return{pass:a&&s,message:()=>lt(this,this.utils.matcherHint(`${this.isNot?".not":""}.toHaveDisplayValue`,"element",""),`Expected element ${this.isNot?"not ":""}to have display value`,t,"Received",n)}}function pD(e,t){return e==="select"?Array.from(t).filter(r=>r.selected).map(r=>r.textContent):[t.value]}function fD(e){return e instanceof Array?e:[e]}function Pw(e){Ie(e,Pw,this);let t=()=>e.tagName.toLowerCase()==="input"&&["checkbox","radio"].includes(e.type),r=()=>Mw(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 ${mD()} 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 i=n()?"is":"is not";return[this.utils.matcherHint(`${this.isNot?".not":""}.toBeChecked`,"element",""),"",`Received element ${i} checked:`,` ${this.utils.printReceived(e.cloneNode(!1))}`].join(`
242
+ `)}}}function mD(){return kF(hD().map(e=>`role="${e}"`),{lastWordConnector:" or "})}function hD(){return Op.roles.keys().filter(Mw)}function Mw(e){return Op.roles.get(e)?.props["aria-checked"]!==void 0}function Nw(e){Ie(e,Nw,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 i=e.getAttribute("aria-checked")==="mixed";return t()&&e.indeterminate||i};return{pass:n(),message:()=>{let i=n()?"is":"is not";return[this.utils.matcherHint(`${this.isNot?".not":""}.toBePartiallyChecked`,"element",""),"",`Received element ${i} partially checked:`,` ${this.utils.printReceived(e.cloneNode(!1))}`].join(`
243
+ `)}}}function kw(e,t){rl("toHaveDescription","Please use toHaveAccessibleDescription."),Ie(e,kw,this);let r=t!==void 0,n=(e.getAttribute("aria-describedby")||"").split(/\s+/).filter(Boolean),i="";if(n.length>0){let o=e.ownerDocument,a=n.map(s=>o.getElementById(s)).filter(Boolean);i=nl(a.map(s=>s.textContent).join(" "))}return{pass:r?t instanceof RegExp?t.test(i):this.equals(i,t):!!i,message:()=>{let o=this.isNot?"not to":"to";return lt(this,this.utils.matcherHint(`${this.isNot?".not":""}.toHaveDescription`,"element",""),`Expected the element ${o} have description`,this.utils.printExpected(t),"Received",this.utils.printReceived(i))}}}function Iw(e,t){if(rl("toHaveErrorMessage","Please use toHaveAccessibleErrorMessage."),Ie(e,Iw,this),!e.hasAttribute("aria-invalid")||e.getAttribute("aria-invalid")==="false"){let o=this.isNot?".not":"";return{pass:!1,message:()=>lt(this,this.utils.matcherHint(`${o}.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),i="";if(n.length>0){let o=e.ownerDocument,a=n.map(s=>o.getElementById(s)).filter(Boolean);i=nl(a.map(s=>s.textContent).join(" "))}return{pass:r?t instanceof RegExp?t.test(i):this.equals(i,t):!!i,message:()=>{let o=this.isNot?"not to":"to";return lt(this,this.utils.matcherHint(`${this.isNot?".not":""}.toHaveErrorMessage`,"element",""),`Expected the element ${o} have error message`,this.utils.printExpected(t),"Received",this.utils.printReceived(i))}}}function yD(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 o=e===r.startContainer||e.contains(r.startContainer),a=e===r.endContainer||e.contains(r.endContainer);t.removeAllRanges(),(o||a)&&(n.selectNodeContents(e),o&&n.setStart(r.startContainer,r.startOffset),a&&n.setEnd(r.endContainer,r.endOffset),t.addRange(n))}let i=t.toString();return t.removeAllRanges(),t.addRange(r),i}function jw(e,t){Ie(e,jw,this);let r=t!==void 0;if(r&&typeof t!="string")throw new Error("expected selection must be a string or undefined");let n=yD(e);return{pass:r?(0,Ap.default)(n,t,Rp):!!n,message:()=>{let i=this.isNot?"not to":"to",o=this.utils.matcherHint(`${this.isNot?".not":""}.toHaveSelection`,"element",t);return lt(this,o,`Expected the element ${i} have selection`,r?t:"(any)","Received",n)}}}We(mg(),1);We(td(),1);We(yg(),1);We(Ag(),1);We(Rg(),1);var Zl,Zm;function gD(){if(Zm)return Zl;Zm=1;var e,t,r,n,i,o,a,s,c,l,d,p,f,m,y,g,v,b,T;return f=/\/(?![*\/])(?:\[(?:(?![\]\\]).|\\.)*\]|(?![\/\\]).|\\.)*(\/[$_\u200C\u200D\p{ID_Continue}]*|\\)?/yu,p=/--|\+\+|=>|\.{3}|\??\.(?!\d)|(?:&&|\|\||\?\?|[+\-%&|^]|\*{1,2}|<{1,2}|>{1,3}|!=?|={1,2}|\/(?![\/*]))=?|[?~,:;[\](){}]/y,e=/(\x23?)(?=[$_\p{ID_Start}\\])(?:[$_\u200C\u200D\p{ID_Continue}]|\\u[\da-fA-F]{4}|\\u\{[\da-fA-F]+\})+/yu,y=/(['"])(?:(?!\1)[^\\\n\r]|\\(?:\r\n|[^]))*(\1)?/y,d=/(?:0[xX][\da-fA-F](?:_?[\da-fA-F])*|0[oO][0-7](?:_?[0-7])*|0[bB][01](?:_?[01])*)n?|0n|[1-9](?:_?\d)*n|(?:(?:0(?!\d)|0\d*[89]\d*|[1-9](?:_?\d)*)(?:\.(?:\d(?:_?\d)*)?)?|\.\d(?:_?\d)*)(?:[eE][+-]?\d(?:_?\d)*)?|0[0-7]+/y,g=/[`}](?:[^`\\$]|\\[^]|\$(?!\{))*(`|\$\{)?/y,T=/[\t\v\f\ufeff\p{Zs}]+/yu,s=/\r?\n|[\r\u2028\u2029]/y,c=/\/\*(?:[^*]|\*(?!\/))*(\*\/)?/y,m=/\/\/.*/y,r=/[<>.:={}]|\/(?![\/*])/y,t=/[$_\p{ID_Start}][$_\u200C\u200D\p{ID_Continue}-]*/yu,n=/(['"])(?:(?!\1)[^])*(\1)?/y,i=/[^<>{}]+/y,b=/^(?:[\/+-]|\.{3}|\?(?:InterpolationIn(?:JSX|Template)|NoLineTerminatorHere|NonExpressionParenEnd|UnaryIncDec))?$|[{}([,;<>=*%&|^!~?:]$/,v=/^(?:=>|[;\]){}]|else|\?(?:NoLineTerminatorHere|NonExpressionParenEnd))?$/,o=/^(?:await|case|default|delete|do|else|instanceof|new|return|throw|typeof|void|yield)$/,a=/^(?:return|throw|yield)$/,l=RegExp(s.source),Zl=function*(O,{jsx:R=!1}={}){var P,E,_,x,S,L,j,J,N,A,q,$,V,Y;for({length:L}=O,x=0,S="",Y=[{tag:"JS"}],P=[],q=0,$=!1;x<L;){switch(J=Y[Y.length-1],J.tag){case"JS":case"JSNonExpressionParen":case"InterpolationInTemplate":case"InterpolationInJSX":if(O[x]==="/"&&(b.test(S)||o.test(S))&&(f.lastIndex=x,j=f.exec(O))){x=f.lastIndex,S=j[0],$=!0,yield{type:"RegularExpressionLiteral",value:j[0],closed:j[1]!==void 0&&j[1]!=="\\"};continue}if(p.lastIndex=x,j=p.exec(O)){switch(V=j[0],N=p.lastIndex,A=V,V){case"(":S==="?NonExpressionParenKeyword"&&Y.push({tag:"JSNonExpressionParen",nesting:q}),q++,$=!1;break;case")":q--,$=!0,J.tag==="JSNonExpressionParen"&&q===J.nesting&&(Y.pop(),A="?NonExpressionParenEnd",$=!1);break;case"{":p.lastIndex=0,_=!v.test(S)&&(b.test(S)||o.test(S)),P.push(_),$=!1;break;case"}":switch(J.tag){case"InterpolationInTemplate":if(P.length===J.nesting){g.lastIndex=x,j=g.exec(O),x=g.lastIndex,S=j[0],j[1]==="${"?(S="?InterpolationInTemplate",$=!1,yield{type:"TemplateMiddle",value:j[0]}):(Y.pop(),$=!0,yield{type:"TemplateTail",value:j[0],closed:j[1]==="`"});continue}break;case"InterpolationInJSX":if(P.length===J.nesting){Y.pop(),x+=1,S="}",yield{type:"JSXPunctuator",value:"}"};continue}}$=P.pop(),A=$?"?ExpressionBraceEnd":"}";break;case"]":$=!0;break;case"++":case"--":A=$?"?PostfixIncDec":"?UnaryIncDec";break;case"<":if(R&&(b.test(S)||o.test(S))){Y.push({tag:"JSXTag"}),x+=1,S="<",yield{type:"JSXPunctuator",value:V};continue}$=!1;break;default:$=!1}x=N,S=A,yield{type:"Punctuator",value:V};continue}if(e.lastIndex=x,j=e.exec(O)){switch(x=e.lastIndex,A=j[0],j[0]){case"for":case"if":case"while":case"with":S!=="."&&S!=="?."&&(A="?NonExpressionParenKeyword")}S=A,$=!o.test(j[0]),yield{type:j[1]==="#"?"PrivateIdentifier":"IdentifierName",value:j[0]};continue}if(y.lastIndex=x,j=y.exec(O)){x=y.lastIndex,S=j[0],$=!0,yield{type:"StringLiteral",value:j[0],closed:j[2]!==void 0};continue}if(d.lastIndex=x,j=d.exec(O)){x=d.lastIndex,S=j[0],$=!0,yield{type:"NumericLiteral",value:j[0]};continue}if(g.lastIndex=x,j=g.exec(O)){x=g.lastIndex,S=j[0],j[1]==="${"?(S="?InterpolationInTemplate",Y.push({tag:"InterpolationInTemplate",nesting:P.length}),$=!1,yield{type:"TemplateHead",value:j[0]}):($=!0,yield{type:"NoSubstitutionTemplate",value:j[0],closed:j[1]==="`"});continue}break;case"JSXTag":case"JSXTagEnd":if(r.lastIndex=x,j=r.exec(O)){switch(x=r.lastIndex,A=j[0],j[0]){case"<":Y.push({tag:"JSXTag"});break;case">":Y.pop(),S==="/"||J.tag==="JSXTagEnd"?(A="?JSX",$=!0):Y.push({tag:"JSXChildren"});break;case"{":Y.push({tag:"InterpolationInJSX",nesting:P.length}),A="?InterpolationInJSX",$=!1;break;case"/":S==="<"&&(Y.pop(),Y[Y.length-1].tag==="JSXChildren"&&Y.pop(),Y.push({tag:"JSXTagEnd"}))}S=A,yield{type:"JSXPunctuator",value:j[0]};continue}if(t.lastIndex=x,j=t.exec(O)){x=t.lastIndex,S=j[0],yield{type:"JSXIdentifier",value:j[0]};continue}if(n.lastIndex=x,j=n.exec(O)){x=n.lastIndex,S=j[0],yield{type:"JSXString",value:j[0],closed:j[2]!==void 0};continue}break;case"JSXChildren":if(i.lastIndex=x,j=i.exec(O)){x=i.lastIndex,S=j[0],yield{type:"JSXText",value:j[0]};continue}switch(O[x]){case"<":Y.push({tag:"JSXTag"}),x++,S="<",yield{type:"JSXPunctuator",value:"<"};continue;case"{":Y.push({tag:"InterpolationInJSX",nesting:P.length}),x++,S="?InterpolationInJSX",$=!1,yield{type:"JSXPunctuator",value:"{"};continue}}if(T.lastIndex=x,j=T.exec(O)){x=T.lastIndex,yield{type:"WhiteSpace",value:j[0]};continue}if(s.lastIndex=x,j=s.exec(O)){x=s.lastIndex,$=!1,a.test(S)&&(S="?NoLineTerminatorHere"),yield{type:"LineTerminatorSequence",value:j[0]};continue}if(c.lastIndex=x,j=c.exec(O)){x=c.lastIndex,l.test(j[0])&&($=!1,a.test(S)&&(S="?NoLineTerminatorHere")),yield{type:"MultiLineComment",value:j[0],closed:j[1]!==void 0};continue}if(m.lastIndex=x,j=m.exec(O)){x=m.lastIndex,$=!1,yield{type:"SingleLineComment",value:j[0]};continue}E=String.fromCodePoint(O.codePointAt(x)),x+=E.length,S=E,$=!1,yield{type:J.tag.startsWith("JSX")?"JSXInvalid":"Invalid",value:E}}},Zl}var bD=gD();Dv(bD);var qw={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(qw.keyword);new Set(qw.strict);var vD={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]},Fw=Object.entries(vD);function il(e){return String(e)}il.open="";il.close="";Fw.reduce((e,[t])=>(e[t]=il,e),{isColorSupported:!1});function ED(e=!1){let t=typeof process<"u"?process:void 0,r=t?.env||{},n=t?.argv||[];return!("NO_COLOR"in r||n.includes("--no-color"))&&("FORCE_COLOR"in r||n.includes("--color")||t?.platform==="win32"||e&&r.TERM!=="dumb"||"CI"in r)||typeof window<"u"&&!!window.chrome}function wD(e=!1){let t=ED(e),r=(a,s,c,l)=>{let d="",p=0;do d+=a.substring(p,l)+c,p=l+s.length,l=a.indexOf(s,p);while(~l);return d+a.substring(p)},n=(a,s,c=a)=>{let l=d=>{let p=String(d),f=p.indexOf(s,a.length);return~f?a+r(p,s,c,f)+s:a+p+s};return l.open=a,l.close=s,l},i={isColorSupported:t},o=a=>`\x1B[${a}m`;for(let[a,s]of Fw)i[a]=t?n(o(s[0]),o(s[1]),s[2]):il;return i}var Rt=wD();function Ia(e,t){if(!e)throw new Error(t)}function $n(e,t){return typeof t===e}function _D(e){return e instanceof Promise}function _o(e,t,r){Object.defineProperty(e,t,r)}function Jn(e,t,r){_o(e,t,{value:r,configurable:!0,writable:!0})}var zr=Symbol.for("tinyspy:spy"),TD=new Set,xD=e=>{e.called=!1,e.callCount=0,e.calls=[],e.results=[],e.resolves=[],e.next=[]},SD=e=>(_o(e,zr,{value:{reset:()=>xD(e[zr])}}),e[zr]),uc=e=>e[zr]||SD(e);function OD(e){Ia($n("function",e)||$n("undefined",e),"cannot spy on a non-function value");let t=function(...n){let i=uc(t);i.called=!0,i.callCount++,i.calls.push(n);let o=i.next.shift();if(o){i.results.push(o);let[d,p]=o;if(d==="ok")return p;throw p}let a,s="ok",c=i.results.length;if(i.impl)try{new.target?a=Reflect.construct(i.impl,n,new.target):a=i.impl.apply(this,n),s="ok"}catch(d){throw a=d,s="error",i.results.push([s,d]),d}let l=[s,a];return _D(a)&&a.then(d=>i.resolves[c]=["ok",d],d=>i.resolves[c]=["error",d]),i.results.push(l),a};Jn(t,"_isMockFunction",!0),Jn(t,"length",e?e.length:0),Jn(t,"name",e&&e.name||"spy");let r=uc(t);return r.reset(),r.impl=e,t}function AD(e){return!!e&&e._isMockFunction===!0}var Dw=(e,t)=>{let r=Object.getOwnPropertyDescriptor(e,t);if(r)return[e,r];let n=Object.getPrototypeOf(e);for(;n!==null;){let i=Object.getOwnPropertyDescriptor(n,t);if(i)return[n,i];n=Object.getPrototypeOf(n)}},eh=(e,t)=>{t!=null&&typeof t=="function"&&t.prototype!=null&&Object.setPrototypeOf(e.prototype,t.prototype)};function Lw(e,t,r){Ia(!$n("undefined",e),"spyOn could not find an object to spy upon"),Ia($n("object",e)||$n("function",e),"cannot spyOn on a primitive value");let[n,i]=(()=>{if(!$n("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")})(),[o,a]=Dw(e,n)||[];Ia(a||n in e,`${String(n)} does not exist`);let s=!1;i==="value"&&a&&!a.value&&a.get&&(i="get",s=!0,r=a.get());let c;a?c=a[i]:i!=="value"?c=()=>e[n]:c=e[n],c&&MD(c)&&(c=c[zr].getOriginal());let l=m=>{let{value:y,...g}=a||{configurable:!0,writable:!0};i!=="value"&&delete g.writable,g[i]=m,_o(e,n,g)},d=()=>{o!==e?Reflect.deleteProperty(e,n):a&&!c?_o(e,n,a):l(c)};r||(r=c);let p=PD(OD(r),r);i==="value"&&eh(p,c);let f=p[zr];return Jn(f,"restore",d),Jn(f,"getOriginal",()=>s?c():c),Jn(f,"willCall",m=>(f.impl=m,p)),l(s?()=>(eh(p,r),p):p),TD.add(p),p}var RD=new Set(["length","name","prototype"]);function CD(e){let t=new Set,r={};for(;e&&e!==Object.prototype&&e!==Function.prototype;){let n=[...Object.getOwnPropertyNames(e),...Object.getOwnPropertySymbols(e)];for(let i of n)r[i]||RD.has(i)||(t.add(i),r[i]=Object.getOwnPropertyDescriptor(e,i));e=Object.getPrototypeOf(e)}return{properties:t,descriptors:r}}function PD(e,t){if(!t||zr in t)return e;let{properties:r,descriptors:n}=CD(t);for(let i of r){let o=n[i];Dw(e,i)||_o(e,i,o)}return e}function MD(e){return AD(e)&&"getOriginal"in e[zr]}var Qo=new Set;function Vn(e){return typeof e=="function"&&"_isMockFunction"in e&&e._isMockFunction}function ND(e,t,r){let n=r?{[{get:"getter",set:"setter"}[r]]:t}:t,i,o=ID(e,t),a=o&&o[r||"value"];Vn(a)&&(i=a.mock._state());try{let s=Lw(e,n),c=$w(s);return i&&c.mock._state(i),c}catch(s){throw s instanceof TypeError&&Symbol.toStringTag&&e[Symbol.toStringTag]==="Module"&&(s.message.includes("Cannot redefine property")||s.message.includes("Cannot replace module namespace")||s.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:s}):s}}var kD=0;function $w(e){let t=e,r,n=[],i=!1,o=[],a=[],s=[],c=uc(e),l={get calls(){return c.calls},get contexts(){return a},get instances(){return o},get invocationCallOrder(){return s},get results(){return c.results.map(([m,y])=>({type:m==="error"?"throw":"return",value:y}))},get settledResults(){return c.resolves.map(([m,y])=>({type:m==="error"?"rejected":"fulfilled",value:y}))},get lastCall(){return c.calls[c.calls.length-1]},_state(m){return m&&(r=m.implementation,n=m.onceImplementations,i=m.implementationChangedTemporarily),{implementation:r,onceImplementations:n,implementationChangedTemporarily:i}}};function d(...m){return o.push(this),a.push(this),s.push(++kD),(i?r:n.shift()||r||c.getOriginal()||(()=>{})).apply(this,m)}let p=t.name;t.getMockName=()=>p||"vi.fn()",t.mockName=m=>(p=m,t),t.mockClear=()=>(c.reset(),o=[],a=[],s=[],t),t.mockReset=()=>(t.mockClear(),r=void 0,n=[],t),t.mockRestore=()=>(t.mockReset(),c.restore(),t),Symbol.dispose&&(t[Symbol.dispose]=()=>t.mockRestore()),t.getMockImplementation=()=>i?r:n.at(0)||r,t.mockImplementation=m=>(r=m,c.willCall(d),t),t.mockImplementationOnce=m=>(n.push(m),t);function f(m,y){let g=r;r=m,c.willCall(d),i=!0;let v=()=>{r=g,i=!1},b=y();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=m=>t.mockImplementation(()=>m),t.mockReturnValueOnce=m=>t.mockImplementationOnce(()=>m),t.mockResolvedValue=m=>t.mockImplementation(()=>Promise.resolve(m)),t.mockResolvedValueOnce=m=>t.mockImplementationOnce(()=>Promise.resolve(m)),t.mockRejectedValue=m=>t.mockImplementation(()=>Promise.reject(m)),t.mockRejectedValueOnce=m=>t.mockImplementationOnce(()=>Promise.reject(m)),Object.defineProperty(t,"mock",{get:()=>l}),c.willCall(d),Qo.add(t),t}function th(e){let t=$w(Lw({spy:e||function(){}},"spy"));return e&&t.mockImplementation(e),t}function ID(e,t){let r=Object.getOwnPropertyDescriptor(e,t);if(r)return r;let n=Object.getPrototypeOf(e);for(;n!==null;){let i=Object.getOwnPropertyDescriptor(n,t);if(i)return i;n=Object.getPrototypeOf(n)}}var To=Symbol.for("matchers-object"),xo=Symbol.for("$$jest-matchers-object-storybook"),Cp=Symbol.for("expect-global"),cc=Symbol.for("asymmetric-matchers-object"),jD={toSatisfy(e,t,r){let{printReceived:n,printExpected:i,matcherHint:o}=this.utils,a=t(e);return{pass:a,message:()=>a?`${o(".not.toSatisfy","received","")}
244
+
245
+ Expected value to not satisfy:
246
+ ${r||i(t)}
247
+ Received:
248
+ ${n(e)}`:`${o(".toSatisfy","received","")}
249
+
250
+ Expected value to satisfy:
251
+ ${r||i(t)}
252
+
253
+ Received:
254
+ ${n(e)}`}},toBeOneOf(e,t){let{equals:r,customTesters:n}=this,{printReceived:i,printExpected:o,matcherHint:a}=this.utils;if(!Array.isArray(t))throw new TypeError(`You must provide an array to ${a(".toBeOneOf")}, not '${typeof t}'.`);let s=t.length===0||t.some(c=>r(c,e,n));return{pass:s,message:()=>s?`${a(".not.toBeOneOf","received","")}
255
+
256
+ Expected value to not be one of:
257
+ ${o(t)}
258
+ Received:
259
+ ${i(e)}`:`${a(".toBeOneOf","received","")}
260
+
261
+ Expected value to be one of:
262
+ ${o(t)}
263
+
264
+ Received:
265
+ ${i(e)}`}}},ss=Rt.green,Pp=Rt.red,qD=Rt.inverse,FD=Rt.bold,qr=Rt.dim;function DD(e,t="received",r="expected",n={}){let{comment:i="",isDirectExpectCall:o=!1,isNot:a=!1,promise:s="",secondArgument:c="",expectedColor:l=ss,receivedColor:d=Pp,secondArgumentColor:p=ss}=n,f="",m="expect";return!o&&t!==""&&(f+=qr(`${m}(`)+d(t),m=")"),s!==""&&(f+=qr(`${m}.`)+s,m=""),a&&(f+=`${qr(`${m}.`)}not`,m=""),e.includes(".")?m+=e:(f+=qr(`${m}.`)+e,m=""),r===""?m+="()":(f+=qr(`${m}(`)+l(r),c&&(f+=qr(", ")+p(c)),m=")"),i!==""&&(m+=` // ${i}`),m!==""&&(f+=qr(m)),f}var LD="·";function Bw(e){return e.replace(/\s+$/gm,t=>LD.repeat(t.length))}function $D(e){return Pp(Bw(Mt(e)))}function BD(e){return ss(Bw(Mt(e)))}function Uw(){return{EXPECTED_COLOR:ss,RECEIVED_COLOR:Pp,INVERTED_COLOR:qD,BOLD_WEIGHT:FD,DIM_COLOR:qr,diff:gi,matcherHint:DD,printReceived:$D,printExpected:BD,printDiffOrStringify:Zv,printWithType:UD}}function UD(e,t,r){let n=Qa(t),i=n!=="null"&&n!=="undefined"?`${e} has type: ${n}
266
+ `:"",o=`${e} has value: ${r(t)}`;return i+o}function Mp(){return globalThis[xo].customEqualityTesters}function Me(e,t,r,n){return r=r||[],io(e,t,[],[],r,n?Hw:VD)}function rh(e){return!!e&&typeof e=="object"&&"asymmetricMatch"in e&&Wt("Function",e.asymmetricMatch)}function HD(e,t){let r=rh(e),n=rh(t);if(!(r&&n)){if(r)return e.asymmetricMatch(t);if(n)return t.asymmetricMatch(e)}}function io(e,t,r,n,i,o){let a=!0,s=HD(e,t);if(s!==void 0)return s;let c={equals:Me};for(let y=0;y<i.length;y++){let g=i[y].call(c,e,t,i);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 l=Object.prototype.toString.call(e);if(l!==Object.prototype.toString.call(t))return!1;switch(l){case"[object Boolean]":case"[object String]":case"[object Number]":return typeof e!=typeof t?!1:typeof e!="object"&&typeof t!="object"?Object.is(e,t):Object.is(e.valueOf(),t.valueOf());case"[object Date]":{let y=+e,g=+t;return y===g||Number.isNaN(y)&&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(ih(e)&&ih(t))return e.isEqualNode(t);let d=r.length;for(;d--;){if(r[d]===e)return n[d]===t;if(n[d]===t)return!1}if(r.push(e),n.push(t),l==="[object Array]"&&e.length!==t.length)return!1;if(e instanceof Error&&t instanceof Error)try{return JD(e,t,r,n,i,o)}finally{r.pop(),n.pop()}let p=nh(e,o),f,m=p.length;if(nh(t,o).length!==m)return!1;for(;m--;)if(f=p[m],a=o(t,f)&&io(e[f],t[f],r,n,i,o),!a)return!1;return r.pop(),n.pop(),a}function JD(e,t,r,n,i,o){let a=Object.getPrototypeOf(e)===Object.getPrototypeOf(t)&&e.name===t.name&&e.message===t.message;return typeof t.cause<"u"&&a&&(a=io(e.cause,t.cause,r,n,i,o)),e instanceof AggregateError&&t instanceof AggregateError&&a&&(a=io(e.errors,t.errors,r,n,i,o)),a&&(a=io({...e},{...t},r,n,i,o)),a}function nh(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 VD(e,t){return Hw(e,t)&&e[t]!==void 0}function Hw(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function Wt(e,t){return Object.prototype.toString.apply(t)===`[object ${e}]`}function ih(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 Jw="@@__IMMUTABLE_KEYED__@@",Vw="@@__IMMUTABLE_SET__@@",zD="@@__IMMUTABLE_LIST__@@",ol="@@__IMMUTABLE_ORDERED__@@",GD="@@__IMMUTABLE_RECORD__@@";function WD(e){return!!(e&&e[Jw]&&!e[ol])}function KD(e){return!!(e&&e[Vw]&&!e[ol])}function al(e){return e!=null&&typeof e=="object"&&!Array.isArray(e)}function YD(e){return!!(e&&al(e)&&e[zD])}function XD(e){return!!(e&&al(e)&&e[Jw]&&e[ol])}function QD(e){return!!(e&&al(e)&&e[Vw]&&e[ol])}function ZD(e){return!!(e&&al(e)&&e[GD])}var zw=Symbol.iterator;function oh(e){return!!(e!=null&&e[zw])}function Dt(e,t,r=[],n=[],i=[]){if(typeof e!="object"||typeof t!="object"||Array.isArray(e)||Array.isArray(t)||!oh(e)||!oh(t))return;if(e.constructor!==t.constructor)return!1;let o=n.length;for(;o--;)if(n[o]===e)return i[o]===t;n.push(e),i.push(t);let a=[...r.filter(l=>l!==Dt),s];function s(l,d){return Dt(l,d,[...r],[...n],[...i])}if(e.size!==void 0){if(e.size!==t.size)return!1;if(Wt("Set",e)||KD(e)){let l=!0;for(let d of e)if(!t.has(d)){let p=!1;for(let f of t)Me(d,f,a)===!0&&(p=!0);if(p===!1){l=!1;break}}return n.pop(),i.pop(),l}else if(Wt("Map",e)||WD(e)){let l=!0;for(let d of e)if(!t.has(d[0])||!Me(d[1],t.get(d[0]),a)){let p=!1;for(let f of t){let m=Me(d[0],f[0],a),y=!1;m===!0&&(y=Me(d[1],f[1],a)),y===!0&&(p=!0)}if(p===!1){l=!1;break}}return n.pop(),i.pop(),l}}let c=t[zw]();for(let l of e){let d=c.next();if(d.done||!Me(l,d.value,a))return!1}if(!c.next().done)return!1;if(!YD(e)&&!XD(e)&&!QD(e)&&!ZD(e)){let l=Object.entries(e),d=Object.entries(t);if(!Me(l,d,a))return!1}return n.pop(),i.pop(),!0}function Np(e,t){return!e||typeof e!="object"||e===Object.prototype?!1:Object.prototype.hasOwnProperty.call(e,t)||Np(Object.getPrototypeOf(e),t)}function eL(e){return Na(e)&&!(e instanceof Error)&&!Array.isArray(e)&&!(e instanceof Date)}function Zo(e,t,r=[]){let n=r.filter(o=>o!==Zo),i=(o=new WeakMap)=>(a,s)=>{if(eL(s))return Object.keys(s).every(c=>{if(s[c]!=null&&typeof s[c]=="object"){if(o.has(s[c]))return Me(a[c],s[c],n);o.set(s[c],!0)}let l=a!=null&&Np(a,c)&&Me(a[c],s[c],[...n,i(o)]);return o.delete(s[c]),l})};return i()(e,t)}function ah(e,t){if(!(e==null||t==null||e.constructor===t.constructor))return!1}function sh(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 i=0;i<r.byteLength;i++)if(r.getUint8(i)!==n.getUint8(i))return!1;return!0}function dc(e,t,r=[]){if(!Array.isArray(e)||!Array.isArray(t))return;let n=Object.keys(e),i=Object.keys(t),o=r.filter(a=>a!==dc);return Me(e,t,o,!0)&&Me(n,i)}function tL(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 rL(e,t){return`${t} ${e}${t===1?"":"s"}`}function eu(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 nL(e,t,r){let n=0,i=(o=new WeakMap)=>(a,s)=>{if(Array.isArray(a)){if(Array.isArray(s)&&s.length===a.length)return s.map((c,l)=>i(o)(a[l],c))}else{if(a instanceof Date)return a;if(Na(a)&&Na(s)){if(Me(a,s,[...r,Dt,Zo]))return s;let c={};o.set(a,c),typeof a.constructor=="function"&&typeof a.constructor.name=="string"&&Object.defineProperty(c,"constructor",{enumerable:!1,value:a.constructor});for(let l of eu(a))Np(s,l)?c[l]=o.has(a[l])?o.get(a[l]):i(o)(a[l],s[l]):o.has(a[l])||(n+=1,Na(a[l])&&(n+=eu(a[l]).length),i(o)(a[l],s[l]));if(eu(c).length>0)return c}}return a};return{subset:i()(e,t),stripped:n}}if(!Object.prototype.hasOwnProperty.call(globalThis,To)){let e=new WeakMap;Object.defineProperty(globalThis,To,{get:()=>e})}if(!Object.prototype.hasOwnProperty.call(globalThis,xo)){let e=Object.create(null),t=[];Object.defineProperty(globalThis,xo,{configurable:!0,get:()=>({state:globalThis[To].get(globalThis[Cp]),matchers:e,customEqualityTesters:t})})}if(!Object.prototype.hasOwnProperty.call(globalThis,cc)){let e=Object.create(null);Object.defineProperty(globalThis,cc,{get:()=>e})}function ls(e){return globalThis[To].get(e)}function tu(e,t){let r=globalThis[To],n=r.get(t)||{},i=Object.defineProperties(n,{...Object.getOwnPropertyDescriptors(n),...Object.getOwnPropertyDescriptors(e)});r.set(t,i)}var Rr=class{$$typeof=Symbol.for("jest.asymmetricMatcher");constructor(e,t=!1){this.sample=e,this.inverse=t}getMatcherContext(e){return{...ls(e||globalThis[Cp]),equals:Me,isNot:this.inverse,customTesters:Mp(),utils:{...Uw(),diff:gi,stringify:Mt,iterableEquality:Dt,subsetEquality:Zo}}}};Rr.prototype[Symbol.for("chai/inspect")]=function(e){let t=Mt(this,e.depth,{min:!0});return t.length<=e.truncate?t:`${this.toString()}{…}`};var lh=class extends Rr{constructor(e,t=!1){if(!Wt("String",e))throw new Error("Expected is not a string");super(e,t)}asymmetricMatch(e){let t=Wt("String",e)&&e.includes(this.sample);return this.inverse?!t:t}toString(){return`String${this.inverse?"Not":""}Containing`}getExpectedType(){return"string"}},iL=class extends Rr{asymmetricMatch(e){return e!=null}toString(){return"Anything"}toAsymmetricMatcher(){return"Anything"}},uh=class extends Rr{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)||!Me(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"}},ch=class extends Rr{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(i=>Me(n,i,t.customTesters)));return this.inverse?!r:r}toString(){return`Array${this.inverse?"Not":""}Containing`}getExpectedType(){return"array"}},oL=class extends Rr{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)}>`}},dh=class extends Rr{constructor(e,t=!1){if(!Wt("String",e)&&!Wt("RegExp",e))throw new Error("Expected is not a String or a RegExp");super(new RegExp(e),t)}asymmetricMatch(e){let t=Wt("String",e)&&this.sample.test(e);return this.inverse?!t:t}toString(){return`String${this.inverse?"Not":""}Matching`}getExpectedType(){return"string"}},ph=class extends Rr{precision;constructor(e,t=2,r=!1){if(!Wt("Number",e))throw new Error("Expected is not a Number");if(!Wt("Number",t))throw new Error("Precision is not a Number");super(e),this.inverse=r,this.precision=t}asymmetricMatch(e){if(!Wt("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,`(${rL("digit",this.precision)})`].join(" ")}},aL=(e,t)=>{t.addMethod(e.expect,"anything",()=>new iL),t.addMethod(e.expect,"any",r=>new oL(r)),t.addMethod(e.expect,"stringContaining",r=>new lh(r)),t.addMethod(e.expect,"objectContaining",r=>new uh(r)),t.addMethod(e.expect,"arrayContaining",r=>new ch(r)),t.addMethod(e.expect,"stringMatching",r=>new dh(r)),t.addMethod(e.expect,"closeTo",(r,n)=>new ph(r,n)),e.expect.not={stringContaining:r=>new lh(r,!0),objectContaining:r=>new uh(r,!0),arrayContaining:r=>new ch(r,!0),stringMatching:r=>new dh(r,!0),closeTo:(r,n)=>new ph(r,n,!0)}};function fh(e,t,r){let n=e.flag(t,"negate")?"not.":"",i=`${e.flag(t,"_name")}(${r?"expected":""})`,o=e.flag(t,"promise");return`expect(actual)${o?`.${o}`:""}.${n}${i}`}function mh(e,t,r,n){let i=e;if(i&&t instanceof Promise){t=t.finally(()=>{if(!i.promises)return;let a=i.promises.indexOf(t);a!==-1&&i.promises.splice(a,1)}),i.promises||(i.promises=[]),i.promises.push(t);let o=!1;return i.onFinished??(i.onFinished=[]),i.onFinished.push(()=>{if(!o){var a;let s=(((a=globalThis.__vitest_worker__)===null||a===void 0?void 0:a.onFilterStackTrace)||(c=>c||""))(n.stack);console.warn([`Promise returned by \`${r}\` was not awaited. `,"Vitest currently auto-awaits hanging assertions at the end of the test, but this will cause the test to fail in Vitest 3. ",`Please remember to await the assertion.
273
+ `,s].join(""))}}),{then(a,s){return o=!0,t.then(a,s)},catch(a){return t.catch(a)},finally(a){return t.finally(a)},[Symbol.toStringTag]:"Promise"}}return t}function hh(e,t){var r;e.result||(e.result={state:"fail"}),e.result.state="fail",(r=e.result).errors||(r.errors=[]),e.result.errors.push(Ud(t))}function Gw(e,t,r){return function(...n){if(t!=="withTest"&&e.flag(this,"_name",t),!e.flag(this,"soft"))return r.apply(this,n);let i=e.flag(this,"vitest-test");if(!i)throw new Error("expect.soft() can only be used inside a test");try{let o=r.apply(this,n);return o&&typeof o=="object"&&typeof o.then=="function"?o.then(pj,a=>{hh(i,a)}):o}catch(o){hh(i,o)}}}var sL=(e,t)=>{let{AssertionError:r}=e,n=Mp();function i(l,d){let p=f=>{let m=Gw(t,f,d);t.addMethod(e.Assertion.prototype,f,m),t.addMethod(globalThis[xo].matchers,f,m)};Array.isArray(l)?l.forEach(f=>p(f)):p(l)}["throw","throws","Throw"].forEach(l=>{t.overwriteMethod(e.Assertion.prototype,l,d=>function(...p){let f=t.flag(this,"promise"),m=t.flag(this,"object"),y=t.flag(this,"negate");if(f==="rejects")t.flag(this,"object",()=>{throw m});else if(f==="resolves"&&typeof m!="function"){if(y)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"))}}d.apply(this,p)})}),i("withTest",function(l){return t.flag(this,"vitest-test",l),this}),i("toEqual",function(l){let d=t.flag(this,"object"),p=Me(d,l,[...n,Dt]);return this.assert(p,"expected #{this} to deeply equal #{exp}","expected #{this} to not deeply equal #{exp}",l,d)}),i("toStrictEqual",function(l){let d=t.flag(this,"object"),p=Me(d,l,[...n,Dt,ah,dc,sh],!0);return this.assert(p,"expected #{this} to strictly equal #{exp}","expected #{this} to not strictly equal #{exp}",l,d)}),i("toBe",function(l){let d=this._obj,p=Object.is(d,l),f="";return p||(Me(d,l,[...n,Dt,ah,dc,sh],!0)?f="toStrictEqual":Me(d,l,[...n,Dt])&&(f="toEqual")),this.assert(p,tL(f),"expected #{this} not to be #{exp} // Object.is equality",l,d)}),i("toMatchObject",function(l){let d=this._obj,p=Me(d,l,[...n,Dt,Zo]),f=t.flag(this,"negate"),{subset:m,stripped:y}=nL(d,l,n);if(p&&f||!p&&!f){let g=t.getMessage(this,[p,"expected #{this} to match object #{exp}","expected #{this} to not match object #{exp}",l,m,!1]),v=y===0?g:`${g}
274
+ (${y} matching ${y===1?"property":"properties"} omitted from actual)`;throw new r(v,{showDiff:!0,expected:l,actual:m})}}),i("toMatch",function(l){let d=this._obj;if(typeof d!="string")throw new TypeError(`.toMatch() expects to receive a string, but got ${typeof d}`);return this.assert(typeof l=="string"?d.includes(l):d.match(l),"expected #{this} to match #{exp}","expected #{this} not to match #{exp}",l,d)}),i("toContain",function(l){let d=this._obj;if(typeof Node<"u"&&d instanceof Node){if(!(l instanceof Node))throw new TypeError(`toContain() expected a DOM node as the argument, but got ${typeof l}`);return this.assert(d.contains(l),"expected #{this} to contain element #{exp}","expected #{this} not to contain element #{exp}",l,d)}if(typeof DOMTokenList<"u"&&d instanceof DOMTokenList){dr(l,"class name",["string"]);let p=t.flag(this,"negate")?d.value.replace(l,"").trim():`${d.value} ${l}`;return this.assert(d.contains(l),`expected "${d.value}" to contain "${l}"`,`expected "${d.value}" not to contain "${l}"`,p,d.value)}return typeof d=="string"&&typeof l=="string"?this.assert(d.includes(l),"expected #{this} to contain #{exp}","expected #{this} not to contain #{exp}",l,d):(d!=null&&typeof d!="string"&&t.flag(this,"object",Array.from(d)),this.contain(l))}),i("toContainEqual",function(l){let d=t.flag(this,"object"),p=Array.from(d).findIndex(f=>Me(f,l,n));this.assert(p!==-1,"expected #{this} to deep equally contain #{exp}","expected #{this} to not deep equally contain #{exp}",l)}),i("toBeTruthy",function(){let l=t.flag(this,"object");this.assert(!!l,"expected #{this} to be truthy","expected #{this} to not be truthy",!0,l)}),i("toBeFalsy",function(){let l=t.flag(this,"object");this.assert(!l,"expected #{this} to be falsy","expected #{this} to not be falsy",!1,l)}),i("toBeGreaterThan",function(l){let d=this._obj;return dr(d,"actual",["number","bigint"]),dr(l,"expected",["number","bigint"]),this.assert(d>l,`expected ${d} to be greater than ${l}`,`expected ${d} to be not greater than ${l}`,l,d,!1)}),i("toBeGreaterThanOrEqual",function(l){let d=this._obj;return dr(d,"actual",["number","bigint"]),dr(l,"expected",["number","bigint"]),this.assert(d>=l,`expected ${d} to be greater than or equal to ${l}`,`expected ${d} to be not greater than or equal to ${l}`,l,d,!1)}),i("toBeLessThan",function(l){let d=this._obj;return dr(d,"actual",["number","bigint"]),dr(l,"expected",["number","bigint"]),this.assert(d<l,`expected ${d} to be less than ${l}`,`expected ${d} to be not less than ${l}`,l,d,!1)}),i("toBeLessThanOrEqual",function(l){let d=this._obj;return dr(d,"actual",["number","bigint"]),dr(l,"expected",["number","bigint"]),this.assert(d<=l,`expected ${d} to be less than or equal to ${l}`,`expected ${d} to be not less than or equal to ${l}`,l,d,!1)}),i("toBeNaN",function(){let l=t.flag(this,"object");this.assert(Number.isNaN(l),"expected #{this} to be NaN","expected #{this} not to be NaN",Number.NaN,l)}),i("toBeUndefined",function(){let l=t.flag(this,"object");this.assert(l===void 0,"expected #{this} to be undefined","expected #{this} not to be undefined",void 0,l)}),i("toBeNull",function(){let l=t.flag(this,"object");this.assert(l===null,"expected #{this} to be null","expected #{this} not to be null",null,l)}),i("toBeDefined",function(){let l=t.flag(this,"object");this.assert(typeof l<"u","expected #{this} to be defined","expected #{this} to be undefined",l)}),i("toBeTypeOf",function(l){let d=typeof this._obj,p=l===d;return this.assert(p,"expected #{this} to be type of #{exp}","expected #{this} not to be type of #{exp}",l,d)}),i("toBeInstanceOf",function(l){return this.instanceOf(l)}),i("toHaveLength",function(l){return this.have.length(l)}),i("toHaveProperty",function(...l){Array.isArray(l[0])&&(l[0]=l[0].map(T=>String(T).replace(/([.[\]])/g,"\\$1")).join("."));let d=this._obj,[p,f]=l,m=()=>Object.prototype.hasOwnProperty.call(d,p)?{value:d[p],exists:!0}:t.getPathInfo(d,p),{value:y,exists:g}=m(),v=g&&(l.length===1||Me(f,y,n)),b=l.length===1?"":` with value ${t.objDisplay(f)}`;return this.assert(v,`expected #{this} to have property "${p}"${b}`,`expected #{this} to not have property "${p}"${b}`,f,g?y:void 0)}),i("toBeCloseTo",function(l,d=2){let p=this._obj,f=!1,m=0,y=0;return l===Number.POSITIVE_INFINITY&&p===Number.POSITIVE_INFINITY||l===Number.NEGATIVE_INFINITY&&p===Number.NEGATIVE_INFINITY?f=!0:(m=10**-d/2,y=Math.abs(p-l),f=y<m),this.assert(f,`expected #{this} to be close to #{exp}, received difference is ${y}, but expected ${m}`,`expected #{this} to not be close to #{exp}, received difference is ${y}, but expected ${m}`,l,p,!1)});function o(l){if(!Vn(l._obj))throw new TypeError(`${t.inspect(l._obj)} is not a spy or a call to a spy!`)}function a(l){return o(l),l._obj}i(["toHaveBeenCalledTimes","toBeCalledTimes"],function(l){let d=a(this),p=d.getMockName(),f=d.mock.calls.length;return this.assert(f===l,`expected "${p}" to be called #{exp} times, but got ${f} times`,`expected "${p}" to not be called #{exp} times`,l,f,!1)}),i("toHaveBeenCalledOnce",function(){let l=a(this),d=l.getMockName(),p=l.mock.calls.length;return this.assert(p===1,`expected "${d}" to be called once, but got ${p} times`,`expected "${d}" to not be called once`,1,p,!1)}),i(["toHaveBeenCalled","toBeCalled"],function(){let l=a(this),d=l.getMockName(),p=l.mock.calls.length,f=p>0,m=t.flag(this,"negate"),y=t.getMessage(this,[f,`expected "${d}" to be called at least once`,`expected "${d}" to not be called at all, but actually been called ${p} times`,!0,f]);if(f&&m&&(y=ru(l,y)),f&&m||!f&&!m)throw new r(y)});function s(l,d){return l.length===d.length&&l.every((p,f)=>Me(p,d[f],[...n,Dt]))}i(["toHaveBeenCalledWith","toBeCalledWith"],function(...l){let d=a(this),p=d.getMockName(),f=d.mock.calls.some(g=>s(g,l)),m=t.flag(this,"negate"),y=t.getMessage(this,[f,`expected "${p}" to be called with arguments: #{exp}`,`expected "${p}" to not be called with arguments: #{exp}`,l]);if(f&&m||!f&&!m)throw new r(ru(d,y,l))}),i("toHaveBeenCalledExactlyOnceWith",function(...l){let d=a(this),p=d.getMockName(),f=d.mock.calls.length,m=d.mock.calls.some(v=>s(v,l))&&f===1,y=t.flag(this,"negate"),g=t.getMessage(this,[m,`expected "${p}" to be called once with arguments: #{exp}`,`expected "${p}" to not be called once with arguments: #{exp}`,l]);if(m&&y||!m&&!y)throw new r(ru(d,g,l))}),i(["toHaveBeenNthCalledWith","nthCalledWith"],function(l,...d){let p=a(this),f=p.getMockName(),m=p.mock.calls[l-1],y=p.mock.calls.length,g=l<=y;this.assert(m&&s(m,d),`expected ${oo(l)} "${f}" call to have been called with #{exp}${g?"":`, but called only ${y} times`}`,`expected ${oo(l)} "${f}" call to not have been called with #{exp}`,d,m,g)}),i(["toHaveBeenLastCalledWith","lastCalledWith"],function(...l){let d=a(this),p=d.getMockName(),f=d.mock.calls[d.mock.calls.length-1];this.assert(f&&s(f,l),`expected last "${p}" call to have been called with #{exp}`,`expected last "${p}" call to not have been called with #{exp}`,l,f)});function c(l,d,p){let f=l.mock.invocationCallOrder,m=d.mock.invocationCallOrder;return f.length===0?!p:m.length===0?!1:f[0]<m[0]}i(["toHaveBeenCalledBefore"],function(l,d=!0){let p=a(this);if(!Vn(l))throw new TypeError(`${t.inspect(l)} is not a spy or a call to a spy`);this.assert(c(p,l,d),`expected "${p.getMockName()}" to have been called before "${l.getMockName()}"`,`expected "${p.getMockName()}" to not have been called before "${l.getMockName()}"`,l,p)}),i(["toHaveBeenCalledAfter"],function(l,d=!0){let p=a(this);if(!Vn(l))throw new TypeError(`${t.inspect(l)} is not a spy or a call to a spy`);this.assert(c(l,p,d),`expected "${p.getMockName()}" to have been called after "${l.getMockName()}"`,`expected "${p.getMockName()}" to not have been called after "${l.getMockName()}"`,l,p)}),i(["toThrow","toThrowError"],function(l){if(typeof l=="string"||typeof l>"u"||l instanceof RegExp)return this.throws(l===""?/^$/:l);let d=this._obj,p=t.flag(this,"promise"),f=t.flag(this,"negate"),m=null;if(p==="rejects")m=d;else if(p==="resolves"&&typeof d!="function"){if(f)return;{let y=t.flag(this,"message")||"expected promise to throw an error, but it didn't",g={showDiff:!1};throw new r(y,g,t.flag(this,"ssfi"))}}else{let y=!1;try{d()}catch(g){y=!0,m=g}if(!y&&!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 l=="function"){let y=l.name||l.prototype.constructor.name;return this.assert(m&&m instanceof l,`expected error to be instance of ${y}`,`expected error not to be instance of ${y}`,l,m)}if(l instanceof Error){let y=Me(m,l,[...n,Dt]);return this.assert(y,"expected a thrown error to be #{exp}","expected a thrown error not to be #{exp}",l,m)}if(typeof l=="object"&&"asymmetricMatch"in l&&typeof l.asymmetricMatch=="function"){let y=l;return this.assert(m&&y.asymmetricMatch(m),"expected error to match asymmetric matcher","expected error not to match asymmetric matcher",y,m)}throw new Error(`"toThrow" expects string, RegExp, function, Error instance or asymmetric matcher, got "${typeof l}"`)}),[{name:"toHaveResolved",condition:l=>l.mock.settledResults.length>0&&l.mock.settledResults.some(({type:d})=>d==="fulfilled"),action:"resolved"},{name:["toHaveReturned","toReturn"],condition:l=>l.mock.calls.length>0&&l.mock.results.some(({type:d})=>d!=="throw"),action:"called"}].forEach(({name:l,condition:d,action:p})=>{i(l,function(){let f=a(this),m=f.getMockName(),y=d(f);this.assert(y,`expected "${m}" to be successfully ${p} at least once`,`expected "${m}" to not be successfully ${p}`,y,!y,!1)})}),[{name:"toHaveResolvedTimes",condition:(l,d)=>l.mock.settledResults.reduce((p,{type:f})=>f==="fulfilled"?++p:p,0)===d,action:"resolved"},{name:["toHaveReturnedTimes","toReturnTimes"],condition:(l,d)=>l.mock.results.reduce((p,{type:f})=>f==="throw"?p:++p,0)===d,action:"called"}].forEach(({name:l,condition:d,action:p})=>{i(l,function(f){let m=a(this),y=m.getMockName(),g=d(m,f);this.assert(g,`expected "${y}" to be successfully ${p} ${f} times`,`expected "${y}" to not be successfully ${p} ${f} times`,`expected resolved times: ${f}`,`received resolved times: ${g}`,!1)})}),[{name:"toHaveResolvedWith",condition:(l,d)=>l.mock.settledResults.some(({type:p,value:f})=>p==="fulfilled"&&Me(d,f)),action:"resolve"},{name:["toHaveReturnedWith","toReturnWith"],condition:(l,d)=>l.mock.results.some(({type:p,value:f})=>p==="return"&&Me(d,f)),action:"return"}].forEach(({name:l,condition:d,action:p})=>{i(l,function(f){let m=a(this),y=d(m,f),g=t.flag(this,"negate");if(y&&g||!y&&!g){let v=m.getMockName(),b=t.getMessage(this,[y,`expected "${v}" to ${p} with: #{exp} at least once`,`expected "${v}" to not ${p} with: #{exp}`,f]),T=p==="return"?m.mock.results:m.mock.settledResults;throw new r(lL(m,T,b,f))}})}),[{name:"toHaveLastResolvedWith",condition:(l,d)=>{let p=l.mock.settledResults[l.mock.settledResults.length-1];return p&&p.type==="fulfilled"&&Me(p.value,d)},action:"resolve"},{name:["toHaveLastReturnedWith","lastReturnedWith"],condition:(l,d)=>{let p=l.mock.results[l.mock.results.length-1];return p&&p.type==="return"&&Me(p.value,d)},action:"return"}].forEach(({name:l,condition:d,action:p})=>{i(l,function(f){let m=a(this),y=p==="return"?m.mock.results:m.mock.settledResults,g=y[y.length-1],v=m.getMockName();this.assert(d(m,f),`expected last "${v}" call to ${p} #{exp}`,`expected last "${v}" call to not ${p} #{exp}`,f,g?.value)})}),[{name:"toHaveNthResolvedWith",condition:(l,d,p)=>{let f=l.mock.settledResults[d-1];return f&&f.type==="fulfilled"&&Me(f.value,p)},action:"resolve"},{name:["toHaveNthReturnedWith","nthReturnedWith"],condition:(l,d,p)=>{let f=l.mock.results[d-1];return f&&f.type==="return"&&Me(f.value,p)},action:"return"}].forEach(({name:l,condition:d,action:p})=>{i(l,function(f,m){let y=a(this),g=y.getMockName(),v=(p==="return"?y.mock.results:y.mock.settledResults)[f-1],b=`${oo(f)} call`;this.assert(d(y,f,m),`expected ${b} "${g}" call to ${p} #{exp}`,`expected ${b} "${g}" call to not ${p} #{exp}`,m,v?.value)})}),i("withContext",function(l){for(let d in l)t.flag(this,d,l[d]);return this}),t.addProperty(e.Assertion.prototype,"resolves",function(){let l=new Error("resolves");t.flag(this,"promise","resolves"),t.flag(this,"error",l);let d=t.flag(this,"vitest-test"),p=t.flag(this,"object");if(t.flag(this,"poll"))throw new SyntaxError("expect.poll() is not supported in combination with .resolves");if(typeof p?.then!="function")throw new TypeError(`You must provide a Promise to expect() when using .resolves, not '${typeof p}'.`);let f=new Proxy(this,{get:(m,y,g)=>{let v=Reflect.get(m,y,g);return typeof v!="function"?v instanceof e.Assertion?f:v:(...b)=>{t.flag(this,"_name",y);let T=p.then(O=>(t.flag(this,"object",O),v.call(this,...b)),O=>{let R=new r(`promise rejected "${t.inspect(O)}" instead of resolving`,{showDiff:!1});throw R.cause=O,R.stack=l.stack.replace(l.message,R.message),R});return mh(d,T,fh(t,this,!!b.length),l)}}});return f}),t.addProperty(e.Assertion.prototype,"rejects",function(){let l=new Error("rejects");t.flag(this,"promise","rejects"),t.flag(this,"error",l);let d=t.flag(this,"vitest-test"),p=t.flag(this,"object"),f=typeof p=="function"?p():p;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 m=new Proxy(this,{get:(y,g,v)=>{let b=Reflect.get(y,g,v);return typeof b!="function"?b instanceof e.Assertion?m:b:(...T)=>{t.flag(this,"_name",g);let O=f.then(R=>{let P=new r(`promise resolved "${t.inspect(R)}" instead of rejecting`,{showDiff:!0,expected:new Error("rejected promise"),actual:R});throw P.stack=l.stack.replace(l.message,P.message),P},R=>(t.flag(this,"object",R),b.call(this,...T)));return mh(d,O,fh(t,this,!!T.length),l)}}});return m})};function oo(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 ru(e,t,r){return e.mock.calls.length&&(t+=Rt.gray(`
275
+
276
+ Received:
277
+
278
+ ${e.mock.calls.map((n,i)=>{let o=Rt.bold(` ${oo(i+1)} ${e.getMockName()} call:
279
+
280
+ `);return r?o+=gi(r,n,{omitAnnotationLines:!0}):o+=Mt(n).split(`
281
+ `).map(a=>` ${a}`).join(`
282
+ `),o+=`
283
+ `,o}).join(`
284
+ `)}`)),t+=Rt.gray(`
285
+
286
+ Number of calls: ${Rt.bold(e.mock.calls.length)}
287
+ `),t}function lL(e,t,r,n){return t.length&&(r+=Rt.gray(`
288
+
289
+ Received:
290
+
291
+ ${t.map((i,o)=>{let a=Rt.bold(` ${oo(o+1)} ${e.getMockName()} call return:
292
+
293
+ `);return n?a+=gi(n,i.value,{omitAnnotationLines:!0}):a+=Mt(i).split(`
294
+ `).map(s=>` ${s}`).join(`
295
+ `),a+=`
296
+ `,a}).join(`
297
+ `)}`)),r+=Rt.gray(`
298
+
299
+ Number of calls: ${Rt.bold(e.mock.calls.length)}
300
+ `),r}function uL(e,t){let r=e._obj,n=ir.flag(e,"negate"),i=ir.flag(e,"promise")||"",o={...Uw(),diff:gi,stringify:Mt,iterableEquality:Dt,subsetEquality:Zo};return{state:{...ls(t),customTesters:Mp(),isNot:n,utils:o,promise:i,equals:Me,suppressedErrors:[],soft:ir.flag(e,"soft"),poll:ir.flag(e,"poll")},isNot:n,obj:r}}var yh=class extends Error{constructor(e,t,r){super(e),this.actual=t,this.expected=r}};function cL(e,t,r){return(n,i)=>{Object.entries(r).forEach(([o,a])=>{function s(...p){let{state:f,isNot:m,obj:y}=uL(this,t),g=a.call(f,y,...p);if(g&&typeof g=="object"&&typeof g.then=="function")return g.then(({pass:R,message:P,actual:E,expected:_})=>{if(R&&m||!R&&!m)throw new yh(P(),E,_)});let{pass:v,message:b,actual:T,expected:O}=g;if(v&&m||!v&&!m)throw new yh(b(),T,O)}let c=Gw(i,o,s);i.addMethod(globalThis[xo].matchers,o,c),i.addMethod(e.Assertion.prototype,o,c);class l extends Rr{constructor(f=!1,...m){super(m,f)}asymmetricMatch(f){let{pass:m}=a.call(this.getMatcherContext(t),f,...this.sample);return this.inverse?!m:m}toString(){return`${this.inverse?"not.":""}${o}`}getExpectedType(){return"any"}toAsymmetricMatcher(){return`${this.toString()}<${this.sample.map(f=>Mt(f)).join(", ")}>`}}let d=(...p)=>new l(!1,...p);Object.defineProperty(t,o,{configurable:!0,enumerable:!0,value:d,writable:!0}),Object.defineProperty(t.not,o,{configurable:!0,enumerable:!0,value:(...p)=>new l(!0,...p),writable:!0}),Object.defineProperty(globalThis[cc],o,{configurable:!0,enumerable:!0,value:d,writable:!0})})}}var dL=(e,t)=>{t.addMethod(e.expect,"extend",(r,n)=>{Hn(cL(e,r,n))})};function pL(){Hn(dL),Hn(sL),Hn(aL);let e=((n,i)=>{let{assertionCalls:o}=ls(e);return tu({assertionCalls:o+1,soft:!1},e),bn(n,i)});Object.assign(e,bn),e.getState=()=>ls(e),e.setState=n=>tu(n,e),e.extend=n=>bn.extend(e,n),e.soft=(...n)=>{let i=e(...n);return e.setState({soft:!0}),i},e.extend(jD),e.unreachable=n=>{k.fail(`expected${n?` "${n}" `:" "}not to be reached`)};function t(n){let i=()=>new Error(`expected number of assertions to be ${n}, but got ${e.getState().assertionCalls}`);"captureStackTrace"in Error&&typeof Error.captureStackTrace=="function"&&Error.captureStackTrace(i(),t),e.setState({expectedAssertionsNumber:n,expectedAssertionsNumberErrorGen:i})}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 tu({assertionCalls:0,isExpectingAssertions:!1,isExpectingAssertionsError:null,expectedAssertionsNumber:null,expectedAssertionsNumberErrorGen:null},e),ir.addMethod(e,"assertions",t),ir.addMethod(e,"hasAssertions",r),e.extend(JE),e}var Ww=pL();Object.defineProperty(globalThis,Cp,{value:Ww,writable:!0,configurable:!0});function fL(e,t,r){Object.defineProperty(e,t,r)}var ja=Symbol.for("tinyspy:spy"),mL=e=>{e.called=!1,e.callCount=0,e.calls=[],e.results=[],e.resolves=[],e.next=[]},hL=e=>(fL(e,ja,{value:{reset:()=>mL(e[ja])}}),e[ja]),yL=e=>e[ja]||hL(e),pc=new Set;function Kw(e){return pc.add(e),()=>void pc.delete(e)}var gL=(...e)=>{let t=ND(...e);return Xw(t)};function Yw(e){let t=e?th(e):th();return Xw(t)}function Xw(e){let t=gh(e),r=t.mockImplementation.bind(null);return t.mockImplementation=n=>gh(r(n)),t}function gh(e){let t=yL(e),r=t.impl;return t.willCall(function(...n){return pc.forEach(i=>i(e,n)),r?.apply(this,n)}),e}function Qw(){Qo.forEach(e=>e.mockClear())}function Zw(){Qo.forEach(e=>e.mockReset())}function e_(){Qo.forEach(e=>e.mockRestore())}function bL(e,t={}){return e}var t_={};Tt(t_,{buildQueries:()=>Pr,configure:()=>M$,createEvent:()=>Fa,findAllByAltText:()=>oT,findAllByDisplayValue:()=>Z_,findAllByLabelText:()=>N_,findAllByPlaceholderText:()=>B_,findAllByRole:()=>bT,findAllByTestId:()=>xT,findAllByText:()=>G_,findAllByTitle:()=>dT,findByAltText:()=>aT,findByDisplayValue:()=>eT,findByLabelText:()=>k_,findByPlaceholderText:()=>U_,findByRole:()=>vT,findByTestId:()=>ST,findByText:()=>W_,findByTitle:()=>pT,fireEvent:()=>Co,getAllByAltText:()=>nT,getAllByDisplayValue:()=>X_,getAllByLabelText:()=>I_,getAllByPlaceholderText:()=>L_,getAllByRole:()=>yT,getAllByTestId:()=>_T,getAllByText:()=>V_,getAllByTitle:()=>uT,getByAltText:()=>iT,getByDisplayValue:()=>Q_,getByLabelText:()=>j_,getByPlaceholderText:()=>$_,getByRole:()=>gT,getByTestId:()=>TT,getByText:()=>z_,getByTitle:()=>cT,getConfig:()=>Se,getDefaultNormalizer:()=>Dp,getElementError:()=>ll,getMultipleElementsFoundError:()=>ul,getNodeText:()=>ea,getQueriesForElement:()=>_c,getRoles:()=>S_,getSuggestedQuery:()=>cs,isInaccessible:()=>sl,logDOM:()=>fc,logRoles:()=>q$,makeFindQuery:()=>ei,makeGetAllQuery:()=>Bp,makeSingleQuery:()=>Zn,prettyDOM:()=>Ao,prettyFormat:()=>kp,queries:()=>ds,queryAllByAltText:()=>tT,queryAllByAttribute:()=>kn,queryAllByDisplayValue:()=>K_,queryAllByLabelText:()=>q_,queryAllByPlaceholderText:()=>F_,queryAllByRole:()=>mT,queryAllByTestId:()=>ET,queryAllByText:()=>H_,queryAllByTitle:()=>sT,queryByAltText:()=>rT,queryByAttribute:()=>A_,queryByDisplayValue:()=>Y_,queryByLabelText:()=>P_,queryByPlaceholderText:()=>D_,queryByRole:()=>hT,queryByTestId:()=>wT,queryByText:()=>J_,queryByTitle:()=>lT,queryHelpers:()=>Y$,screen:()=>xB,waitFor:()=>$p,waitForElementToBeRemoved:()=>gB,within:()=>_c,wrapAllByQueryWithSuggestion:()=>wt,wrapSingleQueryWithSuggestion:()=>Gr});var kp=We(RC()),vL=Object.prototype.toString;function EL(e){return typeof e=="function"||vL.call(e)==="[object Function]"}function wL(e){var t=Number(e);return isNaN(t)?0:t===0||!isFinite(t)?t:(t>0?1:-1)*Math.floor(Math.abs(t))}var _L=Math.pow(2,53)-1;function TL(e){var t=wL(e);return Math.min(Math.max(t,0),_L)}function zt(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 i=TL(n.length),o=EL(r)?Object(new r(i)):new Array(i),a=0,s;a<i;)s=n[a],o[a]=s,a+=1;return o.length=i,o}function So(e){"@babel/helpers - typeof";return So=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},So(e)}function xL(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function SL(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,r_(n.key),n)}}function OL(e,t,r){return t&&SL(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function AL(e,t,r){return t=r_(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function r_(e){var t=RL(e,"string");return So(t)==="symbol"?t:String(t)}function RL(e,t){if(So(e)!=="object"||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(So(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var CL=(function(){function e(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];xL(this,e),AL(this,"items",void 0),this.items=t}return OL(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})(),PL=typeof Set>"u"?Set:CL;function mt(e){var t;return(t=e.localName)!==null&&t!==void 0?t:e.tagName.toLowerCase()}var ML={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"},NL={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 kL(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=NL[t])!==null&&n!==void 0&&n.has(r))})}function n_(e,t){return kL(e,t)}function IL(e){var t=qL(e);if(t===null||t==="presentation"){var r=jL(e);if(t!=="presentation"||n_(e,r||""))return r}return t}function jL(e){var t=ML[mt(e)];if(t!==void 0)return t;switch(mt(e)){case"a":case"area":case"link":if(e.hasAttribute("href"))return"link";break;case"img":return e.getAttribute("alt")===""&&!n_(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 qL(e){var t=e.getAttribute("role");if(t!==null){var r=t.trim().split(" ")[0];if(r.length>0)return r}return null}function Be(e){return e!==null&&e.nodeType===e.ELEMENT_NODE}function i_(e){return Be(e)&&mt(e)==="caption"}function qa(e){return Be(e)&&mt(e)==="input"}function FL(e){return Be(e)&&mt(e)==="optgroup"}function DL(e){return Be(e)&&mt(e)==="select"}function LL(e){return Be(e)&&mt(e)==="table"}function $L(e){return Be(e)&&mt(e)==="textarea"}function BL(e){var t=e.ownerDocument===null?e:e.ownerDocument,r=t.defaultView;if(r===null)throw new TypeError("no window available");return r}function UL(e){return Be(e)&&mt(e)==="fieldset"}function HL(e){return Be(e)&&mt(e)==="legend"}function JL(e){return Be(e)&&mt(e)==="slot"}function VL(e){return Be(e)&&e.ownerSVGElement!==void 0}function zL(e){return Be(e)&&mt(e)==="svg"}function GL(e){return VL(e)&&mt(e)==="title"}function us(e,t){if(Be(e)&&e.hasAttribute(t)){var r=e.getAttribute(t).split(" "),n=e.getRootNode?e.getRootNode():e.ownerDocument;return r.map(function(i){return n.getElementById(i)}).filter(function(i){return i!==null})}return[]}function vr(e,t){return Be(e)?t.indexOf(IL(e))!==-1:!1}function WL(e){return e.trim().replace(/\s\s+/g," ")}function KL(e,t){if(!Be(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 YL(e){return vr(e,["button","combobox","listbox","textbox"])||o_(e,"range")}function o_(e,t){if(!Be(e))return!1;switch(t){case"range":return vr(e,["meter","progressbar","scrollbar","slider","spinbutton"]);default:throw new TypeError("No knowledge about abstract role '".concat(t,"'. This is likely a bug :("))}}function bh(e,t){var r=zt(e.querySelectorAll(t));return us(e,"aria-owns").forEach(function(n){r.push.apply(r,zt(n.querySelectorAll(t)))}),r}function XL(e){return DL(e)?e.selectedOptions||bh(e,"[selected]"):bh(e,'[aria-selected="true"]')}function QL(e){return vr(e,["none","presentation"])}function ZL(e){return i_(e)}function e$(e){return vr(e,["button","cell","checkbox","columnheader","gridcell","heading","label","legend","link","menuitem","menuitemcheckbox","menuitemradio","option","radio","row","rowheader","switch","tab","tooltip","treeitem"])}function t$(e){return!1}function r$(e){return qa(e)||$L(e)?e.value:e.textContent||""}function vh(e){var t=e.getPropertyValue("content");return/^["'].*["']$/.test(t)?t.slice(1,-1):""}function a_(e){var t=mt(e);return t==="button"||t==="input"&&e.getAttribute("type")!=="hidden"||t==="meter"||t==="output"||t==="progress"||t==="select"||t==="textarea"}function s_(e){if(a_(e))return e;var t=null;return e.childNodes.forEach(function(r){if(t===null&&Be(r)){var n=s_(r);n!==null&&(t=n)}}),t}function n$(e){if(e.control!==void 0)return e.control;var t=e.getAttribute("for");return t!==null?e.ownerDocument.getElementById(t):s_(e)}function i$(e){var t=e.labels;if(t===null)return t;if(t!==void 0)return zt(t);if(!a_(e))return null;var r=e.ownerDocument;return zt(r.querySelectorAll("label")).filter(function(n){return n$(n)===e})}function o$(e){var t=e.assignedNodes();return t.length===0?zt(e.childNodes):t}function l_(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=new PL,n=BL(e),i=t.compute,o=i===void 0?"name":i,a=t.computedStyleSupportsPseudoElements,s=a===void 0?t.getComputedStyle!==void 0:a,c=t.getComputedStyle,l=c===void 0?n.getComputedStyle.bind(n):c,d=t.hidden,p=d===void 0?!1:d;function f(b,T){var O="";if(Be(b)&&s){var R=l(b,"::before"),P=vh(R);O="".concat(P," ").concat(O)}var E=JL(b)?o$(b):zt(b.childNodes).concat(us(b,"aria-owns"));if(E.forEach(function(S){var L=v(S,{isEmbeddedInLabel:T.isEmbeddedInLabel,isReferenced:!1,recursion:!0}),j=Be(S)?l(S).getPropertyValue("display"):"inline",J=j!=="inline"?" ":"";O+="".concat(J).concat(L).concat(J)}),Be(b)&&s){var _=l(b,"::after"),x=vh(_);O="".concat(O," ").concat(x)}return O.trim()}function m(b,T){var O=b.getAttributeNode(T);return O!==null&&!r.has(O)&&O.value.trim()!==""?(r.add(O),O.value):null}function y(b){return Be(b)?m(b,"title"):null}function g(b){if(!Be(b))return null;if(UL(b)){r.add(b);for(var T=zt(b.childNodes),O=0;O<T.length;O+=1){var R=T[O];if(HL(R))return v(R,{isEmbeddedInLabel:!1,isReferenced:!1,recursion:!1})}}else if(LL(b)){r.add(b);for(var P=zt(b.childNodes),E=0;E<P.length;E+=1){var _=P[E];if(i_(_))return v(_,{isEmbeddedInLabel:!1,isReferenced:!1,recursion:!1})}}else if(zL(b)){r.add(b);for(var x=zt(b.childNodes),S=0;S<x.length;S+=1){var L=x[S];if(GL(L))return L.textContent}return null}else if(mt(b)==="img"||mt(b)==="area"){var j=m(b,"alt");if(j!==null)return j}else if(FL(b)){var J=m(b,"label");if(J!==null)return J}if(qa(b)&&(b.type==="button"||b.type==="submit"||b.type==="reset")){var N=m(b,"value");if(N!==null)return N;if(b.type==="submit")return"Submit";if(b.type==="reset")return"Reset"}var A=i$(b);if(A!==null&&A.length!==0)return r.add(b),zt(A).map(function(Y){return v(Y,{isEmbeddedInLabel:!0,isReferenced:!1,recursion:!0})}).filter(function(Y){return Y.length>0}).join(" ");if(qa(b)&&b.type==="image"){var q=m(b,"alt");if(q!==null)return q;var $=m(b,"title");return $!==null?$:"Submit Query"}if(vr(b,["button"])){var V=f(b,{isEmbeddedInLabel:!1});if(V!=="")return V}return null}function v(b,T){if(r.has(b))return"";if(!p&&KL(b,l)&&!T.isReferenced)return r.add(b),"";var O=Be(b)?b.getAttributeNode("aria-labelledby"):null,R=O!==null&&!r.has(O)?us(b,"aria-labelledby"):[];if(o==="name"&&!T.isReferenced&&R.length>0)return r.add(O),R.map(function(j){return v(j,{isEmbeddedInLabel:T.isEmbeddedInLabel,isReferenced:!0,recursion:!1})}).join(" ");var P=T.recursion&&YL(b)&&o==="name";if(!P){var E=(Be(b)&&b.getAttribute("aria-label")||"").trim();if(E!==""&&o==="name")return r.add(b),E;if(!QL(b)){var _=g(b);if(_!==null)return r.add(b),_}}if(vr(b,["menu"]))return r.add(b),"";if(P||T.isEmbeddedInLabel||T.isReferenced){if(vr(b,["combobox","listbox"])){r.add(b);var x=XL(b);return x.length===0?qa(b)?b.value:"":zt(x).map(function(j){return v(j,{isEmbeddedInLabel:T.isEmbeddedInLabel,isReferenced:!1,recursion:!0})}).join(" ")}if(o_(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(vr(b,["textbox"]))return r.add(b),r$(b)}if(e$(b)||Be(b)&&T.isReferenced||ZL(b)||t$()){var S=f(b,{isEmbeddedInLabel:T.isEmbeddedInLabel});if(S!=="")return r.add(b),S}if(b.nodeType===b.TEXT_NODE)return r.add(b),b.textContent||"";if(T.recursion)return r.add(b),f(b,{isEmbeddedInLabel:T.isEmbeddedInLabel});var L=y(b);return L!==null?(r.add(b),L):(r.add(b),"")}return WL(v(e,{isEmbeddedInLabel:!1,isReferenced:o==="description",recursion:!1}))}function Oo(e){"@babel/helpers - typeof";return Oo=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},Oo(e)}function Eh(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),r.push.apply(r,n)}return r}function wh(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?Eh(Object(r),!0).forEach(function(n){a$(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Eh(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function a$(e,t,r){return t=s$(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function s$(e){var t=l$(e,"string");return Oo(t)==="symbol"?t:String(t)}function l$(e,t){if(Oo(e)!=="object"||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(Oo(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function u_(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=us(e,"aria-describedby").map(function(i){return l_(i,wh(wh({},t),{},{compute:"description"}))}).join(" ");if(r===""){var n=e.getAttribute("title");r=n===null?"":n}return r}function u$(e){return vr(e,["caption","code","deletion","emphasis","generic","insertion","paragraph","presentation","strong","subscript","superscript"])}function Ip(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return u$(e)?"":l_(e,t)}var Ft=We(td()),c$=We(CC());function c_(e){return e.replace(/</g,"&lt;").replace(/>/g,"&gt;")}var d$=(e,t,r,n,i,o,a)=>{let s=n+r.indent,c=r.colors;return e.map(l=>{let d=t[l],p=a(d,r,s,i,o);return typeof d!="string"&&(p.indexOf(`
301
+ `)!==-1&&(p=r.spacingOuter+s+p+r.spacingOuter+n),p="{"+p+"}"),r.spacingInner+n+c.prop.open+l+c.prop.close+"="+c.value.open+p+c.value.close}).join("")},p$=3,f$=(e,t,r,n,i,o)=>e.map(a=>{let s=typeof a=="string"?d_(a,t):o(a,t,r,n,i);return s===""&&typeof a=="object"&&a!==null&&a.nodeType!==p$?"":t.spacingOuter+r+s}).join(""),d_=(e,t)=>{let r=t.colors.content;return r.open+c_(e)+r.close},m$=(e,t)=>{let r=t.colors.comment;return r.open+"<!--"+c_(e)+"-->"+r.close},h$=(e,t,r,n,i)=>{let o=n.colors.tag;return o.open+"<"+e+(t&&o.close+t+n.spacingOuter+i+o.open)+(r?">"+o.close+r+n.spacingOuter+i+o.open+"</"+e:(t&&!n.min?"":" ")+"/")+">"+o.close},y$=(e,t)=>{let r=t.colors.tag;return r.open+"<"+e+r.close+" …"+r.open+" />"+r.close},g$=1,p_=3,f_=8,m_=11,b$=/^((HTML|SVG)\w*)?Element$/,h_=e=>{let{tagName:t}=e;return!!(typeof t=="string"&&t.includes("-")||typeof e.hasAttribute=="function"&&e.hasAttribute("is"))},v$=e=>{let t=e.constructor.name,{nodeType:r}=e;return r===g$&&(b$.test(t)||h_(e))||r===p_&&t==="Text"||r===f_&&t==="Comment"||r===m_&&t==="DocumentFragment"};function E$(e){return e.nodeType===p_}function w$(e){return e.nodeType===f_}function nu(e){return e.nodeType===m_}function _$(e){return{test:t=>{var r;return((t==null||(r=t.constructor)==null?void 0:r.name)||h_(t))&&v$(t)},serialize:(t,r,n,i,o,a)=>{if(E$(t))return d_(t.data,r);if(w$(t))return m$(t.data,r);let s=nu(t)?"DocumentFragment":t.tagName.toLowerCase();return++i>r.maxDepth?y$(s,r):h$(s,d$(nu(t)?[]:Array.from(t.attributes).map(c=>c.name).sort(),nu(t)?{}:Array.from(t.attributes).reduce((c,l)=>(c[l.name]=l.value,c),{}),r,n+r.indent,i,o,a),f$(Array.prototype.slice.call(t.childNodes||t.children).filter(e),r,n+r.indent,i,o,a),r,n)}}}var y_=null,jp=null,qp=null;try{let e=module&&module.require;jp=e.call(module,"fs").readFileSync,qp=e.call(module,"@babel/code-frame").codeFrameColumns,y_=e.call(module,"picocolors")}catch{}function T$(e){let t=e.indexOf("(")+1,r=e.indexOf(")"),n=e.slice(t,r),i=n.split(":"),[o,a,s]=[i[0],parseInt(i[1],10),parseInt(i[2],10)],c="";try{c=jp(o,"utf-8")}catch{return""}let l=qp(c,{start:{line:a,column:s}},{highlightCode:!0,linesBelow:0});return y_.dim(n)+`
302
+ `+l+`
303
+ `}function x$(){if(!jp||!qp)return"";let e=new Error().stack.split(`
304
+ `).slice(1).find(t=>!t.includes("node_modules/"));return T$(e)}var g_=3;function iu(){return typeof jest<"u"&&jest!==null?setTimeout._isMockFunction===!0||Object.prototype.hasOwnProperty.call(setTimeout,"clock"):!1}function Fp(){if(typeof window>"u")throw new Error("Could not find default container");return window.document}function b_(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 Cr(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 S$=()=>{if(typeof process>"u")return!1;let e;try{var t;let r=(t=Ru)==null?void 0:t.COLORS;r&&(e=JSON.parse(r))}catch{}return typeof e=="boolean"?e:process.versions!==void 0&&process.versions.node!==void 0},{DOMCollection:O$}=kp.plugins,A$=1,R$=8;function C$(e){return e.nodeType!==R$&&(e.nodeType!==A$||!e.matches(Se().defaultIgnore))}function Ao(e,t,r){if(r===void 0&&(r={}),e||(e=Fp().body),typeof t!="number"&&(t=typeof process<"u"&&typeof Ru<"u"&&Ru.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:i=C$,...o}=r,a=kp.format(e,{plugins:[_$(i),O$],printFunctionName:!1,highlight:S$(),...o});return t!==void 0&&e.outerHTML.length>t?a.slice(0,t)+"...":a}var fc=function(){let e=x$();console.log(e?Ao(...arguments)+`
305
+
306
+ `+e:Ao(...arguments))},vn={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=Ao(t),n=new Error([e,"Ignored nodes: comments, "+vn.defaultIgnore+`
307
+ `+r].filter(Boolean).join(`
308
+
309
+ `));return n.name="TestingLibraryElementError",n},_disableExpensiveErrorDiagnostics:!1,computedStyleSupportsPseudoElements:!1};function P$(e){try{return vn._disableExpensiveErrorDiagnostics=!0,e()}finally{vn._disableExpensiveErrorDiagnostics=!1}}function M$(e){typeof e=="function"&&(e=e(vn)),vn={...vn,...e}}function Se(){return vn}var N$=["button","meter","output","progress","select","textarea","input"];function v_(e){return N$.includes(e.nodeName.toLowerCase())?"":e.nodeType===g_?e.textContent:Array.from(e.childNodes).map(t=>v_(t)).join("")}function mc(e){let t;return e.tagName.toLowerCase()==="label"?t=v_(e):t=e.value||e.textContent,t}function E_(e){if(e.labels!==void 0){var t;return(t=e.labels)!=null?t:[]}if(!k$(e))return[];let r=e.ownerDocument.querySelectorAll("label");return Array.from(r).filter(n=>n.control===e)}function k$(e){return/BUTTON|METER|OUTPUT|PROGRESS|SELECT|TEXTAREA/.test(e.tagName)||e.tagName==="INPUT"&&e.getAttribute("type")!=="hidden"}function w_(e,t,r){let{selector:n="*"}=r===void 0?{}:r,i=t.getAttribute("aria-labelledby"),o=i?i.split(" "):[];return o.length?o.map(a=>{let s=e.querySelector('[id="'+a+'"]');return s?{content:mc(s),formControl:null}:{content:"",formControl:null}}):Array.from(E_(t)).map(a=>{let s=mc(a),c=Array.from(a.querySelectorAll("button, input, meter, output, progress, select, textarea")).filter(l=>l.matches(n))[0];return{content:s,formControl:c}})}function __(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 vi(e,t,r,n){if(typeof e!="string")return!1;__(r);let i=n(e);return typeof r=="string"||typeof r=="number"?i.toLowerCase().includes(r.toString().toLowerCase()):typeof r=="function"?r(i,t):T_(r,i)}function xr(e,t,r,n){if(typeof e!="string")return!1;__(r);let i=n(e);return r instanceof Function?r(i,t):r instanceof RegExp?T_(r,i):i===String(r)}function Dp(e){let{trim:t=!0,collapseWhitespace:r=!0}=e===void 0?{}:e;return n=>{let i=n;return i=t?i.trim():i,i=r?i.replace(/\s+/g," "):i,i}}function Nn(e){let{trim:t,collapseWhitespace:r,normalizer:n}=e;if(!n)return Dp({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 T_(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 ea(e){return e.matches("input[type=submit], input[type=button], input[type=reset]")?e.value:Array.from(e.childNodes).filter(t=>t.nodeType===g_&&!!t.textContent).map(t=>t.textContent).join("")}var I$=j$(Ft.elementRoles);function x_(e){return e.hidden===!0||e.getAttribute("aria-hidden")==="true"||e.ownerDocument.defaultView.getComputedStyle(e).display==="none"}function sl(e,t){t===void 0&&(t={});let{isSubtreeInaccessible:r=x_}=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 Lp(e){for(let{match:t,roles:r}of I$)if(t(e))return[...r];return[]}function j$(e){function t(a){let{name:s,attributes:c}=a;return""+s+c.map(l=>{let{name:d,value:p,constraints:f=[]}=l,m=f.indexOf("undefined")!==-1,y=f.indexOf("set")!==-1;return typeof p<"u"?"["+d+'="'+p+'"]':m?":not(["+d+"])":y?"["+d+"]:not(["+d+'=""])':"["+d+"]"}).join("")}function r(a){let{attributes:s=[]}=a;return s.length}function n(a,s){let{specificity:c}=a,{specificity:l}=s;return l-c}function i(a){let{attributes:s=[]}=a,c=s.findIndex(d=>d.value&&d.name==="type"&&d.value==="text");c>=0&&(s=[...s.slice(0,c),...s.slice(c+1)]);let l=t({...a,attributes:s});return d=>c>=0&&d.type!=="text"?!1:d.matches(l)}let o=[];for(let[a,s]of e.entries())o=[...o,{match:i(a),roles:Array.from(s),specificity:r(a)}];return o.sort(n)}function S_(e,t){let{hidden:r=!1}=t===void 0?{}:t;function n(i){return[i,...Array.from(i.children).reduce((o,a)=>[...o,...n(a)],[])]}return n(e).filter(i=>r===!1?sl(i)===!1:!0).reduce((i,o)=>{let a=[];return o.hasAttribute("role")?a=o.getAttribute("role").split(" ").slice(0,1):a=Lp(o),a.reduce((s,c)=>Array.isArray(s[c])?{...s,[c]:[...s[c],o]}:{...s,[c]:[o]},i)},{})}function O_(e,t){let{hidden:r,includeDescription:n}=t,i=S_(e,{hidden:r});return Object.entries(i).filter(o=>{let[a]=o;return a!=="generic"}).map(o=>{let[a,s]=o,c="-".repeat(50),l=s.map(d=>{let p='Name "'+Ip(d,{computedStyleSupportsPseudoElements:Se().computedStyleSupportsPseudoElements})+`":
310
+ `,f=Ao(d.cloneNode(!1));if(n){let m='Description "'+u_(d,{computedStyleSupportsPseudoElements:Se().computedStyleSupportsPseudoElements})+`":
311
+ `;return""+p+m+f}return""+p+f}).join(`
312
+
313
+ `);return a+`:
314
+
315
+ `+l+`
316
+
317
+ `+c}).join(`
318
+ `)}var q$=function(e,t){let{hidden:r=!1}=t===void 0?{}:t;return console.log(O_(e,{hidden:r}))};function F$(e){return e.tagName==="OPTION"?e.selected:ta(e,"aria-selected")}function D$(e){return e.getAttribute("aria-busy")==="true"}function L$(e){if(!("indeterminate"in e&&e.indeterminate))return"checked"in e?e.checked:ta(e,"aria-checked")}function $$(e){return ta(e,"aria-pressed")}function B$(e){var t,r;return(t=(r=ta(e,"aria-current"))!=null?r:e.getAttribute("aria-current"))!=null?t:!1}function U$(e){return ta(e,"aria-expanded")}function ta(e,t){let r=e.getAttribute(t);if(r==="true")return!0;if(r==="false")return!1}function H$(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 J$(e){let t=e.getAttribute("aria-valuenow");return t===null?void 0:+t}function V$(e){let t=e.getAttribute("aria-valuemax");return t===null?void 0:+t}function z$(e){let t=e.getAttribute("aria-valuemin");return t===null?void 0:+t}function G$(e){let t=e.getAttribute("aria-valuetext");return t===null?void 0:t}var _h=Dp();function W$(e){return e.replace(/[.*+\-?^${}()|[\]\\]/g,"\\$&")}function Th(e){return new RegExp(W$(e.toLowerCase()),"i")}function Nr(e,t,r,n){let{variant:i,name:o}=n,a="",s={},c=[["Role","TestId"].includes(e)?r:Th(r)];o&&(s.name=Th(o)),e==="Role"&&sl(t)&&(s.hidden=!0,a=`Element is inaccessible. This means that the element and all its children are invisible to screen readers.
319
+ If you are using the aria-hidden prop, make sure this is the right choice for your case.
320
+ `),Object.keys(s).length>0&&c.push(s);let l=i+"By"+e;return{queryName:e,queryMethod:l,queryArgs:c,variant:i,warning:a,toString(){a&&console.warn(a);let[d,p]=c;return d=typeof d=="string"?"'"+d+"'":d,p=p?", { "+Object.entries(p).map(f=>{let[m,y]=f;return m+": "+y}).join(", ")+" }":"",l+"("+d+p+")"}}}function kr(e,t,r){return r&&(!t||t.toLowerCase()===e.toLowerCase())}function cs(e,t,r){var n,i;if(t===void 0&&(t="get"),e.matches(Se().defaultIgnore))return;let o=(n=e.getAttribute("role"))!=null?n:(i=Lp(e))==null?void 0:i[0];if(o!=="generic"&&kr("Role",r,o))return Nr("Role",e,o,{variant:t,name:Ip(e,{computedStyleSupportsPseudoElements:Se().computedStyleSupportsPseudoElements})});let a=w_(document,e).map(f=>f.content).join(" ");if(kr("LabelText",r,a))return Nr("LabelText",e,a,{variant:t});let s=e.getAttribute("placeholder");if(kr("PlaceholderText",r,s))return Nr("PlaceholderText",e,s,{variant:t});let c=_h(ea(e));if(kr("Text",r,c))return Nr("Text",e,c,{variant:t});if(kr("DisplayValue",r,e.value))return Nr("DisplayValue",e,_h(e.value),{variant:t});let l=e.getAttribute("alt");if(kr("AltText",r,l))return Nr("AltText",e,l,{variant:t});let d=e.getAttribute("title");if(kr("Title",r,d))return Nr("Title",e,d,{variant:t});let p=e.getAttribute(Se().testIdAttribute);if(kr("TestId",r,p))return Nr("TestId",e,p,{variant:t})}function ya(e,t){e.stack=t.stack.replace(t.message,e.message)}function K$(e,t){let{container:r=Fp(),timeout:n=Se().asyncUtilTimeout,showOriginalStackTrace:i=Se().showOriginalStackTrace,stackTraceError:o,interval:a=50,onTimeout:s=l=>(Object.defineProperty(l,"message",{value:Se().getElementError(l.message,r).message}),l),mutationObserverOptions:c={subtree:!0,childList:!0,attributes:!0,characterData:!0}}=t;if(typeof e!="function")throw new TypeError("Received `callback` arg must be a function");return new Promise(async(l,d)=>{let p,f,m,y=!1,g="idle",v=setTimeout(P,n),b=iu();if(b){let{unstable_advanceTimersWrapper:E}=Se();for(R();!y;){if(!iu()){let _=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");i||ya(_,o),d(_);return}if(await E(async()=>{jest.advanceTimersByTime(a)}),y)break;R()}}else{try{Cr(r)}catch(_){d(_);return}f=setInterval(O,a);let{MutationObserver:E}=b_(r);m=new E(O),m.observe(r,c),R()}function T(E,_){y=!0,clearTimeout(v),b||(clearInterval(f),m.disconnect()),E?d(E):l(_)}function O(){if(iu()){let E=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 i||ya(E,o),d(E)}else return R()}function R(){if(g!=="pending")try{let E=P$(e);typeof E?.then=="function"?(g="pending",E.then(_=>{g="resolved",T(null,_)},_=>{g="rejected",p=_})):T(null,E)}catch(E){p=E}}function P(){let E;p?(E=p,!i&&E.name==="TestingLibraryElementError"&&ya(E,o)):(E=new Error("Timed out in waitFor."),i||ya(E,o)),T(s(E),null)}})}function $p(e,t){let r=new Error("STACK_TRACE_MESSAGE");return Se().asyncWrapper(()=>K$(e,{stackTraceError:r,...t}))}function ll(e,t){return Se().getElementError(e,t)}function ul(e,t){return ll(e+"\n\n(If this is intentional, then use the `*AllBy*` variant of the query (like `queryAllByText`, `getAllByText`, or `findAllByText`)).",t)}function kn(e,t,r,n){let{exact:i=!0,collapseWhitespace:o,trim:a,normalizer:s}=n===void 0?{}:n,c=i?xr:vi,l=Nn({collapseWhitespace:o,trim:a,normalizer:s});return Array.from(t.querySelectorAll("["+e+"]")).filter(d=>c(d.getAttribute(e),d,r,l))}function A_(e,t,r,n){let i=kn(e,t,r,n);if(i.length>1)throw ul("Found multiple elements by ["+e+"="+r+"]",t);return i[0]||null}function Zn(e,t){return function(r){for(var n=arguments.length,i=new Array(n>1?n-1:0),o=1;o<n;o++)i[o-1]=arguments[o];let a=e(r,...i);if(a.length>1){let s=a.map(c=>ll(null,c).message).join(`
321
+
322
+ `);throw ul(t(r,...i)+`
323
+
324
+ Here are the matching elements:
325
+
326
+ `+s,r)}return a[0]||null}}function R_(e,t){return Se().getElementError(`A better query is available, try this:
327
+ `+e.toString()+`
328
+ `,t)}function Bp(e,t){return function(r){for(var n=arguments.length,i=new Array(n>1?n-1:0),o=1;o<n;o++)i[o-1]=arguments[o];let a=e(r,...i);if(!a.length)throw Se().getElementError(t(r,...i),r);return a}}function ei(e){return(t,r,n,i)=>$p(()=>e(t,r,n),{container:t,...i})}var Gr=(e,t,r)=>function(n){for(var i=arguments.length,o=new Array(i>1?i-1:0),a=1;a<i;a++)o[a-1]=arguments[a];let s=e(n,...o),[{suggest:c=Se().throwSuggestions}={}]=o.slice(-1);if(s&&c){let l=cs(s,r);if(l&&!t.endsWith(l.queryName))throw R_(l.toString(),n)}return s},wt=(e,t,r)=>function(n){for(var i=arguments.length,o=new Array(i>1?i-1:0),a=1;a<i;a++)o[a-1]=arguments[a];let s=e(n,...o),[{suggest:c=Se().throwSuggestions}={}]=o.slice(-1);if(s.length&&c){let l=[...new Set(s.map(d=>{var p;return(p=cs(d,r))==null?void 0:p.toString()}))];if(l.length===1&&!t.endsWith(cs(s[0],r).queryName))throw R_(l[0],n)}return s};function Pr(e,t,r){let n=Gr(Zn(e,t),e.name,"query"),i=Bp(e,r),o=Zn(i,t),a=Gr(o,e.name,"get"),s=wt(i,e.name.replace("query","get"),"getAll"),c=ei(wt(i,e.name,"findAll")),l=ei(Gr(o,e.name,"find"));return[n,s,a,c,l]}var Y$=Object.freeze({__proto__:null,getElementError:ll,wrapAllByQueryWithSuggestion:wt,wrapSingleQueryWithSuggestion:Gr,getMultipleElementsFoundError:ul,queryAllByAttribute:kn,queryByAttribute:A_,makeSingleQuery:Zn,makeGetAllQuery:Bp,makeFindQuery:ei,buildQueries:Pr});function X$(e){return Array.from(e.querySelectorAll("label,input")).map(t=>({node:t,textToMatch:mc(t)})).filter(t=>{let{textToMatch:r}=t;return r!==null})}var Q$=function(e,t,r){let{exact:n=!0,trim:i,collapseWhitespace:o,normalizer:a}=r===void 0?{}:r,s=n?xr:vi,c=Nn({collapseWhitespace:o,trim:i,normalizer:a});return X$(e).filter(l=>{let{node:d,textToMatch:p}=l;return s(p,d,t,c)}).map(l=>{let{node:d}=l;return d})},Ro=function(e,t,r){let{selector:n="*",exact:i=!0,collapseWhitespace:o,trim:a,normalizer:s}=r===void 0?{}:r;Cr(e);let c=i?xr:vi,l=Nn({collapseWhitespace:o,trim:a,normalizer:s}),d=Array.from(e.querySelectorAll("*")).filter(p=>E_(p).length||p.hasAttribute("aria-labelledby")).reduce((p,f)=>{let m=w_(e,f,{selector:n});m.filter(g=>!!g.formControl).forEach(g=>{c(g.content,g.formControl,t,l)&&g.formControl&&p.push(g.formControl)});let y=m.filter(g=>!!g.content).map(g=>g.content);return c(y.join(" "),f,t,l)&&p.push(f),y.length>1&&y.forEach((g,v)=>{c(g,f,t,l)&&p.push(f);let b=[...y];b.splice(v,1),b.length>1&&c(b.join(" "),f,t,l)&&p.push(f)}),p},[]).concat(kn("aria-label",e,t,{exact:i,normalizer:l}));return Array.from(new Set(d)).filter(p=>p.matches(n))},xn=function(e,t){for(var r=arguments.length,n=new Array(r>2?r-2:0),i=2;i<r;i++)n[i-2]=arguments[i];let o=Ro(e,t,...n);if(!o.length){let a=Q$(e,t,...n);if(a.length){let s=a.map(c=>Z$(e,c)).filter(c=>!!c);throw s.length?Se().getElementError(s.map(c=>"Found a label with the text of: "+t+", however the element associated with this label (<"+c+" />) is non-labellable [https://html.spec.whatwg.org/multipage/forms.html#category-label]. If you really need to label a <"+c+" />, you can use aria-label or aria-labelledby instead.").join(`
329
+
330
+ `),e):Se().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 Se().getElementError("Unable to find a label with the text of: "+t,e)}return o};function Z$(e,t){let r=t.getAttribute("for");if(!r)return null;let n=e.querySelector('[id="'+r+'"]');return n?n.tagName.toLowerCase():null}var C_=(e,t)=>"Found multiple elements with the text of: "+t,P_=Gr(Zn(Ro,C_),Ro.name,"query"),M_=Zn(xn,C_),N_=ei(wt(xn,xn.name,"findAll")),k_=ei(Gr(M_,xn.name,"find")),I_=wt(xn,xn.name,"getAll"),j_=Gr(M_,xn.name,"get"),q_=wt(Ro,Ro.name,"queryAll"),hc=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return Cr(t[0]),kn("placeholder",...t)},eB=(e,t)=>"Found multiple elements with the placeholder text of: "+t,tB=(e,t)=>"Unable to find an element with the placeholder text of: "+t,F_=wt(hc,hc.name,"queryAll"),[D_,L_,$_,B_,U_]=Pr(hc,eB,tB),yc=function(e,t,r){let{selector:n="*",exact:i=!0,collapseWhitespace:o,trim:a,ignore:s=Se().defaultIgnore,normalizer:c}=r===void 0?{}:r;Cr(e);let l=i?xr:vi,d=Nn({collapseWhitespace:o,trim:a,normalizer:c}),p=[];return typeof e.matches=="function"&&e.matches(n)&&(p=[e]),[...p,...Array.from(e.querySelectorAll(n))].filter(f=>!s||!f.matches(s)).filter(f=>l(ea(f),f,t,d))},rB=(e,t)=>"Found multiple elements with the text: "+t,nB=function(e,t,r){r===void 0&&(r={});let{collapseWhitespace:n,trim:i,normalizer:o,selector:a}=r,s=Nn({collapseWhitespace:n,trim:i,normalizer:o})(t.toString()),c=s!==t.toString(),l=(a??"*")!=="*";return"Unable to find an element with the text: "+(c?s+" (normalized from '"+t+"')":t)+(l?", which matches selector '"+a+"'":"")+". This could be because the text is broken up by multiple elements. In this case, you can provide a function for your text matcher to make your matcher more flexible."},H_=wt(yc,yc.name,"queryAll"),[J_,V_,z_,G_,W_]=Pr(yc,rB,nB),gc=function(e,t,r){let{exact:n=!0,collapseWhitespace:i,trim:o,normalizer:a}=r===void 0?{}:r;Cr(e);let s=n?xr:vi,c=Nn({collapseWhitespace:i,trim:o,normalizer:a});return Array.from(e.querySelectorAll("input,textarea,select")).filter(l=>l.tagName==="SELECT"?Array.from(l.options).filter(d=>d.selected).some(d=>s(ea(d),d,t,c)):s(l.value,l,t,c))},iB=(e,t)=>"Found multiple elements with the display value: "+t+".",oB=(e,t)=>"Unable to find an element with the display value: "+t+".",K_=wt(gc,gc.name,"queryAll"),[Y_,X_,Q_,Z_,eT]=Pr(gc,iB,oB),aB=/^(img|input|area|.+-.+)$/i,bc=function(e,t,r){return r===void 0&&(r={}),Cr(e),kn("alt",e,t,r).filter(n=>aB.test(n.tagName))},sB=(e,t)=>"Found multiple elements with the alt text: "+t,lB=(e,t)=>"Unable to find an element with the alt text: "+t,tT=wt(bc,bc.name,"queryAll"),[rT,nT,iT,oT,aT]=Pr(bc,sB,lB),uB=e=>{var t;return e.tagName.toLowerCase()==="title"&&((t=e.parentElement)==null?void 0:t.tagName.toLowerCase())==="svg"},vc=function(e,t,r){let{exact:n=!0,collapseWhitespace:i,trim:o,normalizer:a}=r===void 0?{}:r;Cr(e);let s=n?xr:vi,c=Nn({collapseWhitespace:i,trim:o,normalizer:a});return Array.from(e.querySelectorAll("[title], svg > title")).filter(l=>s(l.getAttribute("title"),l,t,c)||uB(l)&&s(ea(l),l,t,c))},cB=(e,t)=>"Found multiple elements with the title: "+t+".",dB=(e,t)=>"Unable to find an element with the title: "+t+".",sT=wt(vc,vc.name,"queryAll"),[lT,uT,cT,dT,pT]=Pr(vc,cB,dB),Ec=function(e,t,r){let{hidden:n=Se().defaultHidden,name:i,description:o,queryFallbacks:a=!1,selected:s,busy:c,checked:l,pressed:d,current:p,level:f,expanded:m,value:{now:y,min:g,max:v,text:b}={}}=r===void 0?{}:r;if(Cr(e),s!==void 0){var T;if(((T=Ft.roles.get(t))==null?void 0:T.props["aria-selected"])===void 0)throw new Error('"aria-selected" is not supported on role "'+t+'".')}if(c!==void 0){var O;if(((O=Ft.roles.get(t))==null?void 0:O.props["aria-busy"])===void 0)throw new Error('"aria-busy" is not supported on role "'+t+'".')}if(l!==void 0){var R;if(((R=Ft.roles.get(t))==null?void 0:R.props["aria-checked"])===void 0)throw new Error('"aria-checked" is not supported on role "'+t+'".')}if(d!==void 0){var P;if(((P=Ft.roles.get(t))==null?void 0:P.props["aria-pressed"])===void 0)throw new Error('"aria-pressed" is not supported on role "'+t+'".')}if(p!==void 0){var E;if(((E=Ft.roles.get(t))==null?void 0:E.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(y!==void 0){var _;if(((_=Ft.roles.get(t))==null?void 0:_.props["aria-valuenow"])===void 0)throw new Error('"aria-valuenow" is not supported on role "'+t+'".')}if(v!==void 0){var x;if(((x=Ft.roles.get(t))==null?void 0:x.props["aria-valuemax"])===void 0)throw new Error('"aria-valuemax" is not supported on role "'+t+'".')}if(g!==void 0){var S;if(((S=Ft.roles.get(t))==null?void 0:S.props["aria-valuemin"])===void 0)throw new Error('"aria-valuemin" is not supported on role "'+t+'".')}if(b!==void 0){var L;if(((L=Ft.roles.get(t))==null?void 0:L.props["aria-valuetext"])===void 0)throw new Error('"aria-valuetext" is not supported on role "'+t+'".')}if(m!==void 0){var j;if(((j=Ft.roles.get(t))==null?void 0:j.props["aria-expanded"])===void 0)throw new Error('"aria-expanded" is not supported on role "'+t+'".')}let J=new WeakMap;function N(A){return J.has(A)||J.set(A,x_(A)),J.get(A)}return Array.from(e.querySelectorAll(pB(t))).filter(A=>{if(A.hasAttribute("role")){let q=A.getAttribute("role");if(a)return q.split(" ").filter(Boolean).some(V=>V===t);let[$]=q.split(" ");return $===t}return Lp(A).some(q=>q===t)}).filter(A=>{if(s!==void 0)return s===F$(A);if(c!==void 0)return c===D$(A);if(l!==void 0)return l===L$(A);if(d!==void 0)return d===$$(A);if(p!==void 0)return p===B$(A);if(m!==void 0)return m===U$(A);if(f!==void 0)return f===H$(A);if(y!==void 0||v!==void 0||g!==void 0||b!==void 0){let $=!0;if(y!==void 0&&$&&($=y===J$(A)),v!==void 0&&$&&($=v===V$(A)),g!==void 0&&$&&($=g===z$(A)),b!==void 0){var q;$&&($=xr((q=G$(A))!=null?q:null,A,b,V=>V))}return $}return!0}).filter(A=>i===void 0?!0:xr(Ip(A,{computedStyleSupportsPseudoElements:Se().computedStyleSupportsPseudoElements}),A,i,q=>q)).filter(A=>o===void 0?!0:xr(u_(A,{computedStyleSupportsPseudoElements:Se().computedStyleSupportsPseudoElements}),A,o,q=>q)).filter(A=>n===!1?sl(A,{isSubtreeInaccessible:N})===!1:!0)};function pB(e){var t;let r='*[role~="'+e+'"]',n=(t=Ft.roleElements.get(e))!=null?t:new Set,i=new Set(Array.from(n).map(o=>{let{name:a}=o;return a}));return[r].concat(Array.from(i)).join(",")}var fT=e=>{let t="";return e===void 0?t="":typeof e=="string"?t=' and name "'+e+'"':t=" and name `"+e+"`",t},fB=function(e,t,r){let{name:n}=r===void 0?{}:r;return'Found multiple elements with the role "'+t+'"'+fT(n)},mB=function(e,t,r){let{hidden:n=Se().defaultHidden,name:i,description:o}=r===void 0?{}:r;if(Se()._disableExpensiveErrorDiagnostics)return'Unable to find role="'+t+'"'+fT(i);let a="";Array.from(e.children).forEach(d=>{a+=O_(d,{hidden:n,includeDescription:o!==void 0})});let s;a.length===0?n===!1?s="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":s="There are no available roles.":s=(`
331
+ Here are the `+(n===!1?"accessible":"available")+` roles:
332
+
333
+ `+a.replace(/\n/g,`
334
+ `).replace(/\n\s\s\n/g,`
335
+
336
+ `)+`
337
+ `).trim();let c="";i===void 0?c="":typeof i=="string"?c=' and name "'+i+'"':c=" and name `"+i+"`";let l="";return o===void 0?l="":typeof o=="string"?l=' and description "'+o+'"':l=" and description `"+o+"`",(`
338
+ Unable to find an `+(n===!1?"accessible ":"")+'element with the role "'+t+'"'+c+l+`
339
+
340
+ `+s).trim()},mT=wt(Ec,Ec.name,"queryAll"),[hT,yT,gT,bT,vT]=Pr(Ec,fB,mB),Up=()=>Se().testIdAttribute,wc=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return Cr(t[0]),kn(Up(),...t)},hB=(e,t)=>"Found multiple elements by: ["+Up()+'="'+t+'"]',yB=(e,t)=>"Unable to find an element by: ["+Up()+'="'+t+'"]',ET=wt(wc,wc.name,"queryAll"),[wT,_T,TT,xT,ST]=Pr(wc,hB,yB),ds=Object.freeze({__proto__:null,queryAllByLabelText:q_,queryByLabelText:P_,getAllByLabelText:I_,getByLabelText:j_,findAllByLabelText:N_,findByLabelText:k_,queryByPlaceholderText:D_,queryAllByPlaceholderText:F_,getByPlaceholderText:$_,getAllByPlaceholderText:L_,findAllByPlaceholderText:B_,findByPlaceholderText:U_,queryByText:J_,queryAllByText:H_,getByText:z_,getAllByText:V_,findAllByText:G_,findByText:W_,queryByDisplayValue:Y_,queryAllByDisplayValue:K_,getByDisplayValue:Q_,getAllByDisplayValue:X_,findAllByDisplayValue:Z_,findByDisplayValue:eT,queryByAltText:rT,queryAllByAltText:tT,getByAltText:iT,getAllByAltText:nT,findAllByAltText:oT,findByAltText:aT,queryByTitle:lT,queryAllByTitle:sT,getByTitle:cT,getAllByTitle:uT,findAllByTitle:dT,findByTitle:pT,queryByRole:hT,queryAllByRole:mT,getAllByRole:yT,getByRole:gT,findAllByRole:bT,findByRole:vT,queryByTestId:wT,queryAllByTestId:ET,getByTestId:TT,getAllByTestId:_T,findAllByTestId:xT,findByTestId:ST});function _c(e,t,r){return t===void 0&&(t=ds),r===void 0&&(r={}),Object.keys(t).reduce((n,i)=>{let o=t[i];return n[i]=o.bind(null,e),n},r)}var OT=e=>!e||Array.isArray(e)&&!e.length;function xh(e){if(OT(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 gB(e,t){let r=new Error("Timed out in waitForElementToBeRemoved.");if(typeof e!="function"){xh(e);let n=(Array.isArray(e)?e:[e]).map(i=>{let o=i.parentElement;if(o===null)return()=>null;for(;o.parentElement;)o=o.parentElement;return()=>o.contains(i)?i:null});e=()=>n.map(i=>i()).filter(Boolean)}return xh(e()),$p(()=>{let n;try{n=e()}catch(i){if(i.name==="TestingLibraryElementError")return;throw i}if(!OT(n))throw r},t)}var Sh={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}}},Oh={doubleClick:"dblClick"};function Co(e,t){return Se().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 Fa(e,t,r,n){let{EventType:i="Event",defaultInit:o={}}=n===void 0?{}:n;if(!t)throw new Error('Unable to fire a "'+e+'" event - please provide a DOM element.');let a={...o,...r},{target:{value:s,files:c,...l}={}}=a;s!==void 0&&bB(t,s),c!==void 0&&Object.defineProperty(t,"files",{configurable:!0,enumerable:!0,writable:!0,value:c}),Object.assign(t,l);let d=b_(t),p=d[i]||d.Event,f;if(typeof p=="function")f=new p(e,a);else{f=d.document.createEvent(i);let{bubbles:m,cancelable:y,detail:g,...v}=a;f.initEvent(e,m,y,g),Object.keys(v).forEach(b=>{f[b]=v[b]})}return["dataTransfer","clipboardData"].forEach(m=>{let y=a[m];typeof y=="object"&&(typeof d.DataTransfer=="function"?Object.defineProperty(f,m,{value:Object.getOwnPropertyNames(y).reduce((g,v)=>(Object.defineProperty(g,v,{value:y[v]}),g),new d.DataTransfer)}):Object.defineProperty(f,m,{value:y}))}),f}Object.keys(Sh).forEach(e=>{let{EventType:t,defaultInit:r}=Sh[e],n=e.toLowerCase();Fa[e]=(i,o)=>Fa(n,i,o,{EventType:t,defaultInit:r}),Co[e]=(i,o)=>Co(i,Fa[e](i,o))});function bB(e,t){let{set:r}=Object.getOwnPropertyDescriptor(e,"value")||{},n=Object.getPrototypeOf(e),{set:i}=Object.getOwnPropertyDescriptor(n,"value")||{};if(i&&r!==i)i.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(Oh).forEach(e=>{let t=Oh[e];Co[e]=function(){return Co[t](...arguments)}});function vB(e){return e.replace(/[ \t]*[\n][ \t]*/g,`
341
+ `)}function EB(e){return c$.default.compressToEncodedURIComponent(vB(e))}function wB(e){return"https://testing-playground.com/#markup="+EB(e)}var _B=(e,t,r)=>Array.isArray(e)?e.forEach(n=>fc(n,t,r)):fc(e,t,r),TB=function(e){if(e===void 0&&(e=Fp().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=wB(e.innerHTML);return console.log(`Open this URL in your browser
342
+
343
+ `+t),t},Ah={debug:_B,logTestingPlaygroundURL:TB},xB=typeof document<"u"&&document.body?_c(document.body,ds,Ah):Object.keys(ds).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),Ah);function _e(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,i])=>e[n]===i):!0}function Bt(e){var t;if(SB(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 ${OB(e)}`)}function SB(e){return e.nodeType===9}function OB(e){return typeof e=="function"?`function ${e.name}`:e===null?"null":String(e)}function AT(e,t){return new Promise((r,n)=>{let i=new t;i.onerror=n,i.onabort=n,i.onload=()=>{r(String(i.result))},i.readAsText(e)})}function Hp(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 Ur(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var RT=class{getAsFile(){return this.file}getAsString(e){typeof this.data=="string"&&e(this.data)}webkitGetAsEntry(){throw new Error("not implemented")}constructor(e,t){Ur(this,"kind",void 0),Ur(this,"type",void 0),Ur(this,"file",null),Ur(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)}},AB=class extends Array{add(...e){let t=new RT(e[0],e[1]);return this.push(t),t}clear(){this.splice(0,this.length)}remove(e){this.splice(e,1)}};function ga(e,t){let[r,n]=e.split("/"),i=!n||n==="*";return o=>t?o.type===(i?r:e):i?o.type.startsWith(`${r}/`):o.type===r}function RB(e){return new class{getData(t){var r;let n=(r=this.items.find(ga(t,!0)))!==null&&r!==void 0?r:this.items.find(ga(t,!1)),i="";return n?.getAsString(o=>{i=o}),i}setData(t,r){let n=this.items.findIndex(ga(t,!0)),i=new RT(r,t);n>=0?this.items.splice(n,1,i):this.items.push(i)}clearData(t){if(t){let r=this.items.findIndex(ga(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(){Ur(this,"dropEffect","none"),Ur(this,"effectAllowed","uninitialized"),Ur(this,"items",new AB),Ur(this,"files",Hp(e,[]))}}}function Jp(e,t=[]){let r=typeof e.DataTransfer>"u"?RB(e):new e.DataTransfer;return Object.defineProperty(r,"files",{get:()=>Hp(e,t)}),r}async function CB(e,t){return t.kind==="file"?t.getAsFile():new e.Blob([await new Promise(r=>t.getAsString(r))],{type:t.type})}function CT(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function PT(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 i=await this.data[n];if(!i)throw new Error(`${n} is not one of the available MIME types on this item.`);return i instanceof e.Blob?i:new e.Blob([i],{type:n})}constructor(n){CT(this,"data",void 0),this.data=n}}(r)}var ti=Symbol("Manage ClipboardSub");function Rh(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 i=n.types.includes("text/plain")?"text/plain":n.types.find(o=>o.startsWith("text/"));i&&(r+=await n.getType(i).then(o=>AT(o,e.FileReader)))}return r}async write(r){this.items=r}async writeText(r){this.items=[PT(e,r)]}constructor(...r){super(...r),CT(this,"items",[])}},{[ti]:t})}function Vp(e){return!!e?.[ti]}function PB(e){if(Vp(e.navigator.clipboard))return e.navigator.clipboard[ti];let t=Object.getOwnPropertyDescriptor(e.navigator,"clipboard"),r,n={resetClipboardStub:()=>{r=Rh(e,n)},detachClipboardStub:()=>{t?Object.defineProperty(e.navigator,"clipboard",t):Object.defineProperty(e.navigator,"clipboard",{value:void 0,configurable:!0})}};return r=Rh(e,n),Object.defineProperty(e.navigator,"clipboard",{get:()=>r,configurable:!0}),r[ti]}function MB(e){Vp(e.navigator.clipboard)&&e.navigator.clipboard[ti].resetClipboardStub()}function NB(e){Vp(e.navigator.clipboard)&&e.navigator.clipboard[ti].detachClipboardStub()}async function kB(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 i=Jp(t);for(let o of n)for(let a of o.types)i.setData(a,await o.getType(a).then(s=>AT(s,t.FileReader)));return i}async function MT(e,t){let r=Bt(e),n=r.navigator.clipboard,i=[];for(let o=0;o<t.items.length;o++){let a=t.items[o],s=await CB(r,a);i.push(PT(r,s))}if(!(n&&await n.write(i).then(()=>!0,()=>!1)))throw new Error("The Clipboard API is unavailable.")}var ps=globalThis;typeof ps.afterEach=="function"&&ps.afterEach(()=>{typeof globalThis.window<"u"&&MB(globalThis.window)});typeof ps.afterAll=="function"&&ps.afterAll(()=>{typeof globalThis.window<"u"&&NB(globalThis.window)});var NT=["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 zp(e){return e.matches(NT)}function IB(e){return new e.constructor(e.type,e)}function Sr(e){for(let r=e;r;r=r.parentElement)if(_e(r,["button","input","select","textarea","optgroup","option"])){if(r.hasAttribute("disabled"))return!0}else if(_e(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 ra(e){let t=e.activeElement;return t?.shadowRoot?ra(t.shadowRoot):Sr(t)?e.ownerDocument?e.ownerDocument.body:e.body:t}function ou(e){var t;return(t=ra(e))!==null&&t!==void 0?t:e.body}function jB(e,t){let r=e;do{if(t(r))return r;r=r.parentElement}while(r&&r!==e.ownerDocument.body)}function Sn(e){return e.hasAttribute("contenteditable")&&(e.getAttribute("contenteditable")=="true"||e.getAttribute("contenteditable")=="")}function Po(e){let t=qB(e);return t&&(t.closest('[contenteditable=""]')||t.closest('[contenteditable="true"]'))}function qB(e){return e.nodeType===1?e:e.parentElement}var kT=(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})(kT||{});function IT(e){return _e(e,"button")||_e(e,"input")&&e.type in kT}function ri(e){return qT(e)&&!e.readOnly||Sn(e)}var jT=(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})(jT||{});function qT(e){return _e(e,"textarea")||_e(e,"input")&&e.type in jT}function lr(e){return FT(e)&&qT(e)}function FB(e){return FT(e)&&IT(e)}function FT(e){return e.nodeType===1}function DB(e){let t=e.ownerDocument.getSelection();if(t?.focusNode&&lr(e)){let n=Po(t.focusNode);if(n){if(!t.isCollapsed){var r;let i=((r=n.firstChild)===null||r===void 0?void 0:r.nodeType)===3?n.firstChild:n;t.setBaseAndExtent(i,0,i,0)}}else t.setBaseAndExtent(e,0,e,0)}}function ni(e,t){return Se().eventWrapper(e)}function Kr(e){let t=jB(e,zp),r=ra(e.ownerDocument);(t??e.ownerDocument.body)!==r&&(ni(t?()=>t.focus():()=>r?.blur()),DB(t??e.ownerDocument.body))}function LB(e){!zp(e)||ra(e.ownerDocument)!==e||ni(()=>e.blur())}var Yr={};Yr.click=(e,t,r)=>{let n=t.closest("button,input,label,select,textarea"),i=n&&_e(n,"label")&&n.control;if(i&&i!==t)return()=>{zp(i)&&(Kr(i),r.dispatchEvent(i,IB(e)))};if(_e(t,"input",{type:"file"}))return()=>{LB(t),t.dispatchEvent(new(Bt(t)).Event("fileDialog")),Kr(t)}};var ii=Symbol("Displayed value in UI"),Er=Symbol("Displayed selection in UI"),fs=Symbol("Initial value to compare on blur");function $B(e){return typeof e=="object"&&ii in e}function BB(e){return!!e&&typeof e=="object"&&Er in e}function UB(e,t){e[fs]===void 0&&(e[fs]=e.value),e[ii]=t,e.value=Object.assign(new String(t),{[ii]:!0})}function ur(e){return e[ii]===void 0?e.value:String(e[ii])}function Gp(e){e[ii]=void 0}function DT(e){e[fs]=void 0}function HB(e){return e[fs]}function JB(e,t){e[Er]=t}function Ei(e,{focusOffset:t,anchorOffset:r=t},n="replace"){let i=ur(e).length,o=p=>Math.max(0,Math.min(i,p)),a=n==="replace"||e[Er]===void 0?o(r):e[Er].anchorOffset,s=o(t),c=Math.min(a,s),l=Math.max(a,s);if(e[Er]={anchorOffset:a,focusOffset:s},e.selectionStart===c&&e.selectionEnd===l)return;let d=Object.assign(new Number(c),{[Er]:!0});try{e.setSelectionRange(d,l)}catch{}}function Mo(e){var t,r,n;let i=(n=e[Er])!==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{...i,startOffset:Math.min(i.anchorOffset,i.focusOffset),endOffset:Math.max(i.anchorOffset,i.focusOffset)}}function VB(e){return!!e[Er]}function Da(e){e[Er]=void 0}var ms=globalThis.parseInt;function zB(e){let t=e.replace(/\D/g,"");if(t.length<2)return e;let r=ms(t[0],10),n=ms(t[1],10);if(r>=3||r===2&&n>=4){let i;return r>=3?i=1:i=2,Ch(t,i)}return e.length===2?e:Ch(t,2)}function Ch(e,t){let r=e.slice(0,t),n=Math.min(ms(r,10),23),i=e.slice(t),o=ms(i,10),a=Math.min(o,59);return`${n.toString().padStart(2,"0")}:${a.toString().padStart(2,"0")}`}function LT(e,t){let r=e.cloneNode();return r.value=t,r.value===t}var $T=(function(e){return e.email="email",e.password="password",e.search="search",e.telephone="telephone",e.text="text",e.url="url",e})($T||{});function GB(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 WB(e){return _e(e,"textarea")||_e(e,"input")&&e.type in $T}function BT(e,t,r,n){if(La(e)&&t+r>=0&&t+r<=e.nodeValue.length)return{node:e,offset:t+r};let i=Ph(e,t,r);if(i){if(La(i))return{node:i,offset:r>0?Math.min(1,i.nodeValue.length):Math.max(i.nodeValue.length-1,0)};if(_e(i,"br")){let o=Ph(i,void 0,r);return o?La(o)?{node:o,offset:r>0?0:o.nodeValue.length}:r<0&&_e(o,"br")?{node:i.parentNode,offset:ba(i)}:{node:o.parentNode,offset:ba(o)+(r>0?0:1)}:r<0&&n==="deleteContentBackward"?{node:i.parentNode,offset:ba(i)}:void 0}else return{node:i.parentNode,offset:ba(i)+(r>0?1:0)}}}function Ph(e,t,r){let n=Number(t)+(r<0?-1:0);return t!==void 0&&Wp(e)&&n>=0&&n<e.children.length&&(e=e.children[n]),YB(e,r===1?"next":"previous",KB)}function KB(e){if(La(e))return!0;if(Wp(e)){if(_e(e,["input","textarea"]))return e.type!=="hidden";if(_e(e,"br"))return!0}return!1}function ba(e){let t=0;for(;e.previousSibling;)t++,e=e.previousSibling;return t}function Wp(e){return e.nodeType===1}function La(e){return e.nodeType===3}function YB(e,t,r){for(;;){var n;let i=e[`${t}Sibling`];if(i){if(e=XB(i,t==="next"?"first":"last"),r(e))return e}else if(e.parentNode&&(!Wp(e.parentNode)||!Sn(e.parentNode)&&e.parentNode!==((n=e.ownerDocument)===null||n===void 0?void 0:n.body)))e=e.parentNode;else break}}function XB(e,t){for(;e.hasChildNodes();)e=e[`${t}Child`];return e}var No=Symbol("Track programmatic changes for React workaround");function QB(e){return Object.getOwnPropertyNames(e).some(t=>t.startsWith("__react"))&&Bt(e).REACT_VERSION===17}function ZB(e){QB(e)&&(e[No]={previousValue:String(e.value),tracked:[]})}function e2(e,t){var r,n;(n=e[No])===null||n===void 0||(r=n.tracked)===null||r===void 0||r.push(t),e[No]||(Gp(e),Ei(e,{focusOffset:t.length}))}function t2(e,t){var r;let n=e[No];if(e[No]=void 0,!(!(n==null||(r=n.tracked)===null||r===void 0)&&r.length))return;let i=n.tracked.length===2&&n.tracked[0]===n.previousValue&&n.tracked[1]===e.value;i||Gp(e),VB(e)&&Ei(e,{focusOffset:i?t:e.value.length})}function UT(e){let t=r2(e);if(t&&lr(t))return{type:"input",selection:Mo(t)};let r=t?.ownerDocument.getSelection();return{type:Po(e)&&r?.anchorNode&&Po(r.anchorNode)?"contenteditable":"default",selection:r}}function r2(e){return e.nodeType===1?e:e.parentElement}function n2(e){let t=UT(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 On({focusNode:e,focusOffset:t,anchorNode:r=e,anchorOffset:n=t}){var i,o;if(UT(e).type==="input")return Ei(e,{anchorOffset:n,focusOffset:t});(o=r.ownerDocument)===null||o===void 0||(i=o.getSelection())===null||i===void 0||i.setBaseAndExtent(r,n,e,t)}function HT(e){return _e(e,"input")&&["date","time"].includes(e.type)}function oi(e,t,r,n="insertText"){let i=n2(t);i&&(!HT(t)&&!e.dispatchUIEvent(t,"beforeinput",{inputType:n,data:r})||("startContainer"in i?i2(e,t,i,r,n):o2(e,t,i,r,n)))}function i2(e,t,r,n,i){let o=!1;if(!r.collapsed)o=!0,r.deleteContents();else if(["deleteContentBackward","deleteContentForward"].includes(i)){let a=BT(r.startContainer,r.startOffset,i==="deleteContentBackward"?-1:1,i);if(a){o=!0;let s=r.cloneRange();s.comparePoint(a.node,a.offset)<0?s.setStart(a.node,a.offset):s.setEnd(a.node,a.offset),s.deleteContents()}}if(n)if(r.endContainer.nodeType===3){let a=r.endOffset;r.endContainer.insertData(a,n),r.setStart(r.endContainer,a+n.length),r.setEnd(r.endContainer,a+n.length)}else{let a=t.ownerDocument.createTextNode(n);r.insertNode(a),r.setStart(a,n.length),r.setEnd(a,n.length)}(o||n)&&e.dispatchUIEvent(t,"input",{inputType:i})}function o2(e,t,r,n,i){let o=n;if(WB(t)){let l=GB(t);if(l!==void 0&&n.length>0){let d=l-t.value.length;if(d>0)o=n.substring(0,d);else return}}let{newValue:a,newOffset:s,oldValue:c}=a2(o,t,r,i);a===c&&s===r.startOffset&&s===r.endOffset||_e(t,"input",{type:"number"})&&!s2(a)||(UB(t,a),On({focusNode:t,anchorOffset:s,focusOffset:s}),HT(t)?LT(t,a)&&(Mh(e,t,s,{}),e.dispatchUIEvent(t,"change"),DT(t)):Mh(e,t,s,{data:n,inputType:i}))}function a2(e,t,{startOffset:r,endOffset:n},i){let o=ur(t),a=Math.max(0,r===n&&i==="deleteContentBackward"?r-1:r),s=o.substring(0,a),c=Math.min(o.length,r===n&&i==="deleteContentForward"?r+1:n),l=o.substring(c,o.length),d=`${s}${e}${l}`,p=a+e.length;if(_e(t,"input",{type:"time"})){let f=zB(d);f!==""&&LT(t,f)&&(d=f,p=f.length)}return{oldValue:o,newValue:d,newOffset:p}}function Mh(e,t,r,n){e.dispatchUIEvent(t,"input",n),t2(t,r)}function s2(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]))}Yr.cut=(e,t,r)=>()=>{ri(t)&&oi(r,t,"","deleteByCut")};function l2(e){return e?Sn(e)?e.textContent:ur(e):null}function u2(e){let t=Bt(e);for(let r=e;r?.ownerDocument;r=r.parentElement){let{display:n,visibility:i}=t.getComputedStyle(r);if(n==="none"||i==="hidden")return!1}return!0}function c2(e,t){let r=e.ownerDocument,n=r.querySelectorAll(NT),i=Array.from(n).filter(c=>c===e||!(Number(c.getAttribute("tabindex"))<0||Sr(c)));Number(e.getAttribute("tabindex"))>=0&&i.sort((c,l)=>{let d=Number(c.getAttribute("tabindex")),p=Number(l.getAttribute("tabindex"));return d===p?0:d===0?1:p===0?-1:d-p});let o={},a=[r.body],s=_e(e,"input",{type:"radio"})?e.name:void 0;i.forEach(c=>{let l=c;if(_e(l,"input",{type:"radio"})&&l.name){if(l===e){a.push(l);return}else if(l.name===s)return;if(l.checked){a=a.filter(d=>!_e(d,"input",{type:"radio",name:l.name})),a.push(l),o[l.name]=l;return}if(typeof o[l.name]<"u")return}a.push(l)});for(let c=a.findIndex(l=>l===e);;)if(c+=t?-1:1,c===a.length?c=0:c===-1&&(c=a.length-1),a[c]===e||a[c]===r.body||u2(a[c]))return a[c]}function Nh(e,t){if(lr(e)){let r=Mo(e);On({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=BT(r.focusNode,r.focusOffset,t);n&&On({focusNode:n.node,focusOffset:n.offset})}else r[t<0?"collapseToStart":"collapseToEnd"]()}}function JT(e){if(lr(e))return On({focusNode:e,anchorOffset:0,focusOffset:ur(e).length});var t;let r=(t=Po(e))!==null&&t!==void 0?t:e.ownerDocument.body;On({focusNode:r,anchorOffset:0,focusOffset:r.childNodes.length})}function d2(e){if(lr(e))return Mo(e).startOffset===0&&Mo(e).endOffset===ur(e).length;var t;let r=(t=Po(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 Qi(e,t,r){var n;if(lr(e))return On({focusNode:e,anchorOffset:t,focusOffset:r});if(Sn(e)&&((n=e.firstChild)===null||n===void 0?void 0:n.nodeType)===3)return On({focusNode:e.firstChild,anchorOffset:t,focusOffset:r});throw new Error("Not implemented. The result of this interaction is unreliable.")}function va(e,t,r){let n=Bt(t),i=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 o=i.findIndex(a=>a===t)+r;;o+=r){if(i[o]||(o=r>0?0:i.length-1),i[o]===t)return;if(!Sr(i[o])){Kr(i[o]),e.dispatchUIEvent(i[o],"click");return}}}Yr.keydown=(e,t,r)=>{var n,i;return(i=(n=kh[e.key])===null||n===void 0?void 0:n.call(kh,e,t,r))!==null&&i!==void 0?i:p2(e,t,r)};var kh={ArrowDown:(e,t,r)=>{if(_e(t,"input",{type:"radio"}))return()=>va(r,t,1)},ArrowLeft:(e,t,r)=>_e(t,"input",{type:"radio"})?()=>va(r,t,-1):()=>Nh(t,-1),ArrowRight:(e,t,r)=>_e(t,"input",{type:"radio"})?()=>va(r,t,1):()=>Nh(t,1),ArrowUp:(e,t,r)=>{if(_e(t,"input",{type:"radio"}))return()=>va(r,t,-1)},Backspace:(e,t,r)=>{if(ri(t))return()=>{oi(r,t,"","deleteContentBackward")}},Delete:(e,t,r)=>{if(ri(t))return()=>{oi(r,t,"","deleteContentForward")}},End:(e,t)=>{if(_e(t,["input","textarea"])||Sn(t))return()=>{var r,n;let i=(n=(r=l2(t))===null||r===void 0?void 0:r.length)!==null&&n!==void 0?n:0;Qi(t,i,i)}},Home:(e,t)=>{if(_e(t,["input","textarea"])||Sn(t))return()=>{Qi(t,0,0)}},PageDown:(e,t)=>{if(_e(t,["input"]))return()=>{let r=ur(t).length;Qi(t,r,r)}},PageUp:(e,t)=>{if(_e(t,["input"]))return()=>{Qi(t,0,0)}},Tab:(e,t,r)=>()=>{let n=c2(t,r.system.keyboard.modifiers.Shift);Kr(n),lr(n)&&Ei(n,{anchorOffset:0,focusOffset:n.value.length})}},p2=(e,t,r)=>{if(e.code==="KeyA"&&r.system.keyboard.modifiers.Control)return()=>JT(t)};Yr.keypress=(e,t,r)=>{if(e.key==="Enter"){if(_e(t,"button")||_e(t,"input")&&f2.includes(t.type)||_e(t,"a")&&t.href)return()=>{r.dispatchUIEvent(t,"click")};if(_e(t,"input")){let n=t.form,i=n?.querySelector('input[type="submit"], button:not([type]), button[type="submit"]');return i?()=>r.dispatchUIEvent(i,"click"):n&&m2.includes(t.type)&&n.querySelectorAll("input").length===1?()=>r.dispatchUIEvent(n,"submit"):void 0}}if(ri(t)){let n=e.key==="Enter"?Sn(t)&&!r.system.keyboard.modifiers.Shift?"insertParagraph":"insertLineBreak":"insertText",i=e.key==="Enter"?`
344
+ `:e.key;return()=>oi(r,t,i,n)}};var f2=["button","color","file","image","reset","submit"],m2=["email","month","password","search","tel","text","url","week"];Yr.keyup=(e,t,r)=>{var n;return(n=Ih[e.key])===null||n===void 0?void 0:n.call(Ih,e,t,r)};var Ih={" ":(e,t,r)=>{if(IT(t))return()=>r.dispatchUIEvent(t,"click")}};Yr.paste=(e,t,r)=>{if(ri(t))return()=>{var n;let i=(n=e.clipboardData)===null||n===void 0?void 0:n.getData("text");i&&oi(r,t,i,"insertFromPaste")}};var VT={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 zT(e){return VT[e].EventType}var h2=["MouseEvent","PointerEvent"];function y2(e){return h2.includes(zT(e))}function g2(e){return zT(e)==="KeyboardEvent"}var b2={ClipboardEvent:[E2],Event:[],FocusEvent:[Vi,w2],InputEvent:[Vi,_2],MouseEvent:[Vi,au,jh],PointerEvent:[Vi,au,jh,x2],KeyboardEvent:[Vi,au,T2]};function GT(e,t,r){let n=Bt(t),{EventType:i,defaultInit:o}=VT[e],a=new(v2(n))[i](e,o);var s={};for(var c in r)Object.prototype.hasOwnProperty.call(r,c)&&(s[c]=r[c]);return s.view=n,b2[i].forEach(function(l){l(a,s)}),a}function v2(e){var t;let r=(t=e.Event)!==null&&t!==void 0?t:class{};var n;let i=(n=e.AnimationEvent)!==null&&n!==void 0?n:class extends r{};var o;let a=(o=e.ClipboardEvent)!==null&&o!==void 0?o:class extends r{};var s;let c=(s=e.PopStateEvent)!==null&&s!==void 0?s:class extends r{};var l;let d=(l=e.ProgressEvent)!==null&&l!==void 0?l:class extends r{};var p;let f=(p=e.TransitionEvent)!==null&&p!==void 0?p:class extends r{};var m;let y=(m=e.UIEvent)!==null&&m!==void 0?m:class extends r{};var g;let v=(g=e.CompositionEvent)!==null&&g!==void 0?g:class extends y{};var b;let T=(b=e.FocusEvent)!==null&&b!==void 0?b:class extends y{};var O;let R=(O=e.InputEvent)!==null&&O!==void 0?O:class extends y{};var P;let E=(P=e.KeyboardEvent)!==null&&P!==void 0?P:class extends y{};var _;let x=(_=e.MouseEvent)!==null&&_!==void 0?_:class extends y{};var S;let L=(S=e.DragEvent)!==null&&S!==void 0?S:class extends x{};var j;let J=(j=e.PointerEvent)!==null&&j!==void 0?j:class extends x{};var N;let A=(N=e.TouchEvent)!==null&&N!==void 0?N:class extends y{};return{Event:r,AnimationEvent:i,ClipboardEvent:a,PopStateEvent:c,ProgressEvent:d,TransitionEvent:f,UIEvent:y,CompositionEvent:v,FocusEvent:T,InputEvent:R,KeyboardEvent:E,MouseEvent:x,DragEvent:L,PointerEvent:J,TouchEvent:A}}function Qr(e,t){for(let[r,n]of Object.entries(t))Object.defineProperty(e,r,{get:()=>n??null})}function Ve(e){return Number(e??0)}function E2(e,{clipboardData:t}){Qr(e,{clipboardData:t})}function w2(e,{relatedTarget:t}){Qr(e,{relatedTarget:t})}function _2(e,{data:t,inputType:r,isComposing:n}){Qr(e,{data:t,isComposing:!!n,inputType:String(r)})}function Vi(e,{view:t,detail:r}){Qr(e,{view:t,detail:Ve(r??0)})}function au(e,{altKey:t,ctrlKey:r,metaKey:n,shiftKey:i,modifierAltGraph:o,modifierCapsLock:a,modifierFn:s,modifierFnLock:c,modifierNumLock:l,modifierScrollLock:d,modifierSymbol:p,modifierSymbolLock:f}){Qr(e,{altKey:!!t,ctrlKey:!!r,metaKey:!!n,shiftKey:!!i,getModifierState(m){return!!{Alt:t,AltGraph:o,CapsLock:a,Control:r,Fn:s,FnLock:c,Meta:n,NumLock:l,ScrollLock:d,Shift:i,Symbol:p,SymbolLock:f}[m]}})}function T2(e,{key:t,code:r,location:n,repeat:i,isComposing:o,charCode:a}){Qr(e,{key:String(t),code:String(r),location:Ve(n),repeat:!!i,isComposing:!!o,charCode:a})}function jh(e,{x:t,y:r,screenX:n,screenY:i,clientX:o=t,clientY:a=r,button:s,buttons:c,relatedTarget:l,offsetX:d,offsetY:p,pageX:f,pageY:m}){Qr(e,{screenX:Ve(n),screenY:Ve(i),clientX:Ve(o),x:Ve(o),clientY:Ve(a),y:Ve(a),button:Ve(s),buttons:Ve(c),relatedTarget:l,offsetX:Ve(d),offsetY:Ve(p),pageX:Ve(f),pageY:Ve(m)})}function x2(e,{pointerId:t,width:r,height:n,pressure:i,tangentialPressure:o,tiltX:a,tiltY:s,twist:c,pointerType:l,isPrimary:d}){Qr(e,{pointerId:Ve(t),width:Ve(r??1),height:Ve(n??1),pressure:Ve(i),tangentialPressure:Ve(o),tiltX:Ve(a),tiltY:Ve(s),twist:Ve(c),pointerType:String(l),isPrimary:!!d})}function S2(e,t,r,n=!1){(y2(t)||g2(t))&&(r={...r,...this.system.getUIEventModifiers()});let i=GT(t,e,r);return WT.call(this,e,i,n)}function WT(e,t,r=!1){var n;let i=t.type,o=r?()=>{}:(n=Yr[i])===null||n===void 0?void 0:n.call(Yr,t,e,this);if(o){t.preventDefault();let a=!1;return Object.defineProperty(t,"defaultPrevented",{get:()=>a}),Object.defineProperty(t,"preventDefault",{value:()=>{a=t.cancelable}}),ni(()=>e.dispatchEvent(t)),a||o(),!a}return ni(()=>e.dispatchEvent(t))}function fn(e,t,r){let n=GT(t,e,r);ni(()=>e.dispatchEvent(n))}var qh=Symbol("patched focus/blur methods");function KT(e){if(e.prototype[qh])return;let{focus:t,blur:r}=e.prototype;Object.defineProperties(e.prototype,{focus:{configurable:!0,get:()=>i},blur:{configurable:!0,get:()=>o},[qh]:{configurable:!0,get:()=>({focus:t,blur:r})}});let n;function i(a){if(this.ownerDocument.visibilityState!=="hidden")return t.call(this,a);let s=Fh(this.ownerDocument);if(s===this)return;let c=Symbol("focus call");n=c,s&&(r.call(s),fn(s,"blur",{relatedTarget:this}),fn(s,"focusout",{relatedTarget:n===c?this:null})),n===c&&(t.call(this,a),fn(this,"focus",{relatedTarget:s})),n===c&&fn(this,"focusin",{relatedTarget:s})}function o(){if(this.ownerDocument.visibilityState!=="hidden")return r.call(this);let a=Fh(this.ownerDocument);a===this&&(n=Symbol("blur call"),r.call(this),fn(a,"blur",{relatedTarget:null}),fn(a,"focusout",{relatedTarget:null}))}}function Fh(e){let t=ra(e);return t?.tagName==="BODY"?null:t}var su=Symbol("Interceptor for programmatical calls");function Bn(e,t,r){let n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),i=Object.getOwnPropertyDescriptor(e,t),o=n?.set?"set":"value";if(typeof n?.[o]!="function"||n[o][su])throw new Error(`Element ${e.tagName} does not implement "${String(t)}".`);function a(...s){let{applyNative:c=!1,realArgs:l,then:d}=r.call(this,...s),p=(!c&&i||n)[o];o==="set"?p.call(this,l):p.call(this,...l),d?.()}a[su]=su,Object.defineProperty(e,t,{...i??n,[o]:a})}function O2(e){Bn(e,"value",function(t){let r=$B(t);return r&&ZB(this),{applyNative:!!r,realArgs:A2(this,t),then:r?void 0:()=>e2(this,String(t))}})}function A2(e,t){return _e(e,"input",{type:"number"})&&String(t)!==""&&!Number.isNaN(Number(t))?String(Number(t)):String(t)}function R2(e){Bn(e,"setSelectionRange",function(t,...r){let n=BB(t);return{applyNative:!!n,realArgs:[Number(t),...r],then:()=>n?void 0:Da(e)}}),Bn(e,"selectionStart",function(t){return{realArgs:t,then:()=>Da(e)}}),Bn(e,"selectionEnd",function(t){return{realArgs:t,then:()=>Da(e)}}),Bn(e,"select",function(){return{realArgs:[],then:()=>JB(e,{anchorOffset:0,focusOffset:ur(e).length})}})}function C2(e){Bn(e,"setRangeText",function(...t){return{realArgs:t,then:()=>{Gp(e),Da(e)}}})}var zn=Symbol("Node prepared with document state workarounds");function YT(e){e[zn]||(e.addEventListener("focus",t=>{let r=t.target;Dh(r)},{capture:!0,passive:!0}),e.activeElement&&Dh(e.activeElement),e.addEventListener("blur",t=>{let r=t.target,n=HB(r);n!==void 0&&(r.value!==n&&fn(r,"change"),DT(r))},{capture:!0,passive:!0}),e[zn]=zn)}function Dh(e){e[zn]||(_e(e,["input","textarea"])&&(O2(e),R2(e),C2(e)),e[zn]=zn)}function P2(e){return M2(e)?e:e.ownerDocument}function M2(e){return e.nodeType===9}var At=(function(e){return e[e.Trigger=2]="Trigger",e[e.Call=1]="Call",e})({});function Zi(e,t){e.levelRefs[t]={}}function Ea(e,t){return e.levelRefs[t]}function ai(e){let t=e.delay;if(typeof t=="number")return Promise.all([new Promise(r=>globalThis.setTimeout(()=>r(),t)),e.advanceTimers(t)])}var $a=(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 an(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var Zt=(function(e){return e[e.STANDARD=0]="STANDARD",e[e.LEFT=1]="LEFT",e[e.RIGHT=2]="RIGHT",e[e.NUMPAD=3]="NUMPAD",e})({}),N2=["Alt","AltGraph","Control","Fn","Meta","Shift","Symbol"];function Lh(e){return N2.includes(e)}var k2=["CapsLock","FnLock","NumLock","ScrollLock","SymbolLock"];function $h(e){return k2.includes(e)}var I2=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),i=ou(e.config.document);this.setKeydownTarget(i),this.pressed.add(n,t),Lh(r)&&(this.modifiers[r]=!0);let o=e.dispatchUIEvent(i,"keydown",{key:r,code:n});$h(r)&&!this.modifiers[r]&&(this.modifiers[r]=!0,this.modifierLockStart[r]=!0),o&&this.pressed.setUnprevented(n),o&&this.hasKeyPress(r)&&e.dispatchUIEvent(ou(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),i=this.pressed.isUnprevented(n);this.pressed.delete(n),Lh(r)&&!this.pressed.values().find(o=>o.keyDef.key===r)&&(this.modifiers[r]=!1),e.dispatchUIEvent(ou(e.config.document),"keyup",{key:r,code:n},!i),$h(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){an(this,"system",void 0),an(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}),an(this,"pressed",new class{add(t,r){var n,i,o;(o=(n=this.registry)[i=t])!==null&&o!==void 0||(n[i]={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(){an(this,"registry",{})}}),an(this,"carryChar",""),an(this,"lastKeydownTarget",void 0),an(this,"modifierLockStart",{}),this.system=e}},j2=[..."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:Zt.LEFT},{code:"AltRight",key:"Alt",location:Zt.RIGHT},{code:"ShiftLeft",key:"Shift",location:Zt.LEFT},{code:"ShiftRight",key:"Shift",location:Zt.RIGHT},{code:"ControlLeft",key:"Control",location:Zt.LEFT},{code:"ControlRight",key:"Control",location:Zt.RIGHT},{code:"MetaLeft",key:"Meta",location:Zt.LEFT},{code:"MetaRight",key:"Meta",location:Zt.RIGHT},{code:"OSLeft",key:"OS",location:Zt.LEFT},{code:"OSRight",key:"OS",location:Zt.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"}],q2=[{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 F2(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var XT=class{getButtons(){let e=0;for(let t of Object.keys(this.pressed))e|=2**Number(t);return e}down(e){let t=Tc(e.button);if(t in this.pressed){this.pressed[t].push(e);return}return this.pressed[t]=[e],t}up(e){let t=Tc(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(){F2(this,"pressed",{})}},Bh={primary:0,secondary:1,auxiliary:2,back:3,X1:3,forward:4,X2:4};function Tc(e=0){return e in Bh?Bh[e]:Number(e)}var Uh={1:2,2:1};function xc(e){return e=Tc(e),e in Uh?Uh[e]:e}function D2(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var L2=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(){D2(this,"pressedKeys",new Set)}};function ao(e,t){let r=[];for(let o=e;o;o=o.parentElement)r.push(o);let n=[];for(let o=t;o;o=o.parentElement)n.push(o);let i=0;for(;!(i>=r.length||i>=n.length||r[r.length-1-i]!==n[n.length-1-i]);i++);return[r.slice(0,r.length-i),n.slice(0,n.length-i),n.slice(n.length-i)]}function Sc({target:e,node:t,offset:r}){return lr(e)?{node:e,offset:r??ur(e).length}:t?{node:t,offset:r??(t.nodeType===3?t.nodeValue.length:t.childNodes.length)}:QT(e,r)}function QT(e,t,r=!0){let n=t===void 0?e.childNodes.length-1:0,i=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 o=e.childNodes.item(n),a=String(o.textContent);if(a.length)if(t!==void 0&&a.length<t)t-=a.length;else{if(o.nodeType===1)return QT(o,t,!1);if(o.nodeType===3)return{node:o,offset:t??o.nodeValue.length}}n+=i}return{node:e,offset:e.childNodes.length}}function $2({document:e,target:t,clickCount:r,node:n,offset:i}){if(FB(t))return;let o=lr(t),a=String(o?ur(t):t.textContent),[s,c]=n?[i,i]:B2(a,i,r);if(o)return Ei(t,{anchorOffset:s??a.length,focusOffset:c??a.length}),{node:t,start:s??0,end:c??a.length};{let{node:l,offset:d}=Sc({target:t,node:n,offset:s}),{node:p,offset:f}=Sc({target:t,node:n,offset:c}),m=t.ownerDocument.createRange();try{m.setStart(l,d),m.setEnd(p,f)}catch{throw new Error("The given offset is out of bounds.")}let y=e.getSelection();return y?.removeAllRanges(),y?.addRange(m.cloneRange()),m}}function B2(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 U2(e,{document:t,target:r,node:n,offset:i}){let o=Sc({target:r,node:n,offset:i});if("node"in e){if(o.node===e.node){let a=o.offset<e.start?e.end:e.start,s=o.offset>e.end||o.offset<e.start?o.offset:e.end;Ei(e.node,{anchorOffset:a,focusOffset:s})}}else{let a=e.cloneRange(),s=a.comparePoint(o.node,o.offset);s<0?a.setStart(o.node,o.offset):s>0&&a.setEnd(o.node,o.offset);let c=t.getSelection();c?.removeAllRanges(),c?.addRange(a.cloneRange())}}function ZT(e,t){var r,n,i,o,a,s,c,l,d,p,f,m,y,g,v,b,T,O,R,P,E,_,x,S;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)||((i=e.coords)===null||i===void 0?void 0:i.y)!==((o=t.coords)===null||o===void 0?void 0:o.y)||((a=e.coords)===null||a===void 0?void 0:a.clientX)!==((s=t.coords)===null||s===void 0?void 0:s.clientX)||((c=e.coords)===null||c===void 0?void 0:c.clientY)!==((l=t.coords)===null||l===void 0?void 0:l.clientY)||((d=e.coords)===null||d===void 0?void 0:d.offsetX)!==((p=t.coords)===null||p===void 0?void 0:p.offsetX)||((f=e.coords)===null||f===void 0?void 0:f.offsetY)!==((m=t.coords)===null||m===void 0?void 0:m.offsetY)||((y=e.coords)===null||y===void 0?void 0:y.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)||((T=e.coords)===null||T===void 0?void 0:T.screenX)!==((O=t.coords)===null||O===void 0?void 0:O.screenX)||((R=e.coords)===null||R===void 0?void 0:R.screenY)!==((P=t.coords)===null||P===void 0?void 0:P.screenY)||((E=e.caret)===null||E===void 0?void 0:E.node)!==((_=t.caret)===null||_===void 0?void 0:_.node)||((x=e.caret)===null||x===void 0?void 0:x.offset)!==((S=t.caret)===null||S===void 0?void 0:S.offset)}function sn(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var H2=class{move(e,t,r){let n=this.position,i=this.getTarget(e);if(this.position=t,!ZT(n,t))return;let o=this.getTarget(e),a=this.getEventInit("mousemove"),[s,c]=ao(i,o);return{leave:()=>{i!==o&&(e.dispatchUIEvent(i,"mouseout",a),s.forEach(l=>e.dispatchUIEvent(l,"mouseleave",a)))},enter:()=>{i!==o&&(e.dispatchUIEvent(o,"mouseover",a),c.forEach(l=>e.dispatchUIEvent(l,"mouseenter",a)))},move:()=>{r||(e.dispatchUIEvent(o,"mousemove",a),this.modifySelecting(e))}}}down(e,t,r){let n=this.buttons.down(t);if(n===void 0)return;let i=this.getTarget(e);this.buttonDownTarget[n]=i;let o=this.getEventInit("mousedown",t.button),a=Sr(i);!r&&(a||e.dispatchUIEvent(i,"mousedown",o))&&(this.startSelecting(e,o.detail),Kr(i)),!a&&xc(t.button)===2&&e.dispatchUIEvent(i,"contextmenu",this.getEventInit("contextmenu",t.button))}up(e,t,r){let n=this.buttons.up(t);if(n===void 0)return;let i=this.getTarget(e);if(!Sr(i)){if(!r){let a=this.getEventInit("mouseup",t.button);e.dispatchUIEvent(i,"mouseup",a),this.endSelecting()}let o=ao(this.buttonDownTarget[n],i)[2][0];if(o){let a=this.getEventInit("click",t.button);a.detail&&(e.dispatchUIEvent(o,a.button===0?"click":"auxclick",a),a.button===0&&a.detail===2&&e.dispatchUIEvent(o,"dblclick",{...this.getEventInit("dblclick",t.button),detail:a.detail}))}}}resetClickCount(){this.clickCount.reset()}getEventInit(e,t){let r={...this.position.coords};return r.button=xc(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=$2({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&&U2(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(){sn(this,"position",{}),sn(this,"buttons",new XT),sn(this,"selecting",void 0),sn(this,"buttonDownTarget",{}),sn(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(){sn(this,"down",{}),sn(this,"count",{})}})}};function hs(e,t){var r;return((r=ex(e,t))===null||r===void 0?void 0:r.pointerEvents)!=="none"}function J2(e){let t=Bt(e);for(let r=e,n=[];r?.ownerDocument;r=r.parentElement){n.push(r);let i=t.getComputedStyle(r).pointerEvents;if(i&&!["inherit","unset"].includes(i))return{pointerEvents:i,tree:n}}}var Hh=Symbol("Last check for pointer-events");function ex(e,t){let r=t[Hh];if(!(e.config.pointerEventsCheck!==$a.Never&&(!r||Jh(e.config.pointerEventsCheck,$a.EachApiCall)&&r[At.Call]!==Ea(e,At.Call)||Jh(e.config.pointerEventsCheck,$a.EachTrigger)&&r[At.Trigger]!==Ea(e,At.Trigger))))return r?.result;let n=J2(t);return t[Hh]={[At.Call]:Ea(e,At.Call),[At.Trigger]:Ea(e,At.Trigger),result:n},n}function eo(e,t){let r=ex(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\`:`,"",V2(r.tree)].join(`
345
+ `))}function V2(e){return e.reverse().map((t,r)=>["".padEnd(r),t.tagName,t.id&&`#${t.id}`,t.hasAttribute("data-testid")&&`(testId=${t.getAttribute("data-testid")})`,z2(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 z2(e){var t;let r;if(e.hasAttribute("aria-label"))r=e.getAttribute("aria-label");else if(e.hasAttribute("aria-labelledby")){var n,i;r=(i=e.ownerDocument.getElementById(e.getAttribute("aria-labelledby")))===null||i===void 0||(n=i.textContent)===null||n===void 0?void 0:n.trim()}else if(_e(e,["button","input","meter","output","progress","select","textarea"])&&!((t=e.labels)===null||t===void 0)&&t.length)r=Array.from(e.labels).map(a=>{var s;return(s=a.textContent)===null||s===void 0?void 0:s.trim()}).join("|");else if(_e(e,"button")){var o;r=(o=e.textContent)===null||o===void 0?void 0:o.trim()}return r=r?.replace(/\n/g," "),Number(r?.length)>30&&(r=`${r?.substring(0,29)}…`),r?`(label=${r})`:""}function Jh(e,t){return(e&t)>0}function fr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var G2=class{init(e){let t=this.getTarget(e),[,r]=ao(null,t),n=this.getEventInit();return eo(e,t),e.dispatchUIEvent(t,"pointerover",n),r.forEach(i=>e.dispatchUIEvent(i,"pointerenter",n)),this}move(e,t){let r=this.position,n=this.getTarget(e);if(this.position=t,!ZT(r,t))return;let i=this.getTarget(e),o=this.getEventInit(-1),[a,s]=ao(n,i);return{leave:()=>{hs(e,n)&&n!==i&&(e.dispatchUIEvent(n,"pointerout",o),a.forEach(c=>e.dispatchUIEvent(c,"pointerleave",o)))},enter:()=>{eo(e,i),n!==i&&(e.dispatchUIEvent(i,"pointerover",o),s.forEach(c=>e.dispatchUIEvent(c,"pointerenter",o)))},move:()=>{e.dispatchUIEvent(i,"pointermove",o)}}}down(e,t=0){if(this.isDown)return;let r=this.getTarget(e);eo(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);eo(e,r),this.isPrevented=!1,this.isDown=!1,e.dispatchUIEvent(r,"pointerup",this.getEventInit(t))}release(e){let t=this.getTarget(e),[r]=ao(t,null),n=this.getEventInit();hs(e,t)&&(e.dispatchUIEvent(t,"pointerout",n),r.forEach(i=>e.dispatchUIEvent(i,"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:xc(e),buttons:this.buttons.getButtons()}}constructor({pointerId:e,pointerType:t,isPrimary:r},n){fr(this,"pointerId",void 0),fr(this,"pointerType",void 0),fr(this,"isPrimary",void 0),fr(this,"buttons",void 0),fr(this,"isMultitouch",!1),fr(this,"isCancelled",!1),fr(this,"isDown",!1),fr(this,"isPrevented",!1),fr(this,"position",{}),this.pointerId=e,this.pointerType=t,this.isPrimary=r,this.isMultitouch=!r,this.buttons=n}};function Ir(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var W2=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),i=t.pointerType==="touch"?this.pointers.new(n,t.pointerType,this.buttons):this.pointers.get(n);i.position=r,i.pointerType!=="touch"&&(this.mouse.position=r),i.pointerType==="touch"&&i.init(e),i.down(e,t.button),i.pointerType!=="touch"&&this.mouse.down(e,t,i.isPrevented)}async move(e,t,r){let n=this.pointers.get(t),i=n.move(e,r),o=n.pointerType==="touch"?void 0:this.mouse.move(e,r,n.isPrevented);i?.leave(),o?.leave(),i?.enter(),o?.enter(),i?.move(),o?.move()}async release(e,t,r){let n=this.devices.get(t.pointerType);n.removePressed(t),this.buttons.up(t);let i=this.pointers.get(this.getPointerName(t)),o=i.isPrevented;if(i.position=r,i.pointerType!=="touch"&&(this.mouse.position=r),n.countPressed===0&&i.up(e,t.button),i.pointerType==="touch"&&i.release(e),i.pointerType==="touch"&&!i.isMultitouch){let a=this.mouse.move(e,r,o);a?.leave(),a?.enter(),a?.move(),this.mouse.down(e,t,o)}if(!i.isMultitouch){let a=this.mouse.move(e,r,o);a?.leave(),a?.enter(),a?.move(),this.mouse.up(e,t,o)}}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){Ir(this,"system",void 0),Ir(this,"mouse",void 0),Ir(this,"buttons",void 0),Ir(this,"devices",new class{get(t){var r,n,i;return(i=(r=this.registry)[n=t])!==null&&i!==void 0?i:r[n]=new L2}constructor(){Ir(this,"registry",{})}}),Ir(this,"pointers",new class{new(t,r,n){let i=r!=="touch"||!Object.values(this.registry).some(o=>o.pointerType==="touch"&&!o.isCancelled);return i||Object.values(this.registry).forEach(o=>{o.pointerType===r&&!o.isCancelled&&(o.isMultitouch=!0)}),this.registry[t]=new G2({pointerId:this.nextId++,pointerType:r,isPrimary:i},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(){Ir(this,"registry",{}),Ir(this,"nextId",1)}}),this.system=e,this.buttons=new XT,this.mouse=new H2,this.pointers.new("mouse","mouse",this.buttons)}};function Vh(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var tx=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(){Vh(this,"keyboard",new I2(this)),Vh(this,"pointer",new W2(this))}};async function K2(e){let t=[];return this.config.skipHover||t.push({target:e}),t.push({keys:"[MouseLeft]",target:e}),this.pointer(t)}async function Y2(e){return this.pointer([{target:e},"[MouseLeft][MouseLeft]"])}async function X2(e){return this.pointer([{target:e},"[MouseLeft][MouseLeft][MouseLeft]"])}async function Q2(e){return this.pointer({target:e})}async function Z2(e){return eo(this,this.system.pointer.getMouseTarget(this)),this.pointer({target:e.ownerDocument.body})}async function e5({shift:e}={}){return this.keyboard(e===!0?"{Shift>}{Tab}{/Shift}":e===!1?"[/ShiftLeft][/ShiftRight]{Tab}":"{Tab}")}var Kp=(function(e){return e["{"]="}",e["["]="]",e})(Kp||{});function rx(e,t){let r=0,n=e[r]in Kp?e[r]:"";r+=n.length;let i=new RegExp(`^\\${n}{2}`).test(e)?"":n;return{type:i,...i===""?t5(e,r,t):r5(e,r,i,t)}}function t5(e,t,r){let n=e[t];return nx(n,e,t,r),t+=n.length,{consumedLength:t,descriptor:n,releasePrevious:!1,releaseSelf:!0,repeat:1}}function r5(e,t,r,n){var i,o;let a=e[t]==="/"?"/":"";t+=a.length;let s=r==="{"&&e[t]==="\\";t+=Number(s);let c=s?e[t]:(i=e.slice(t).match(r==="{"?/^\w+|^[^}>/]/:/^\w+/))===null||i===void 0?void 0:i[0];nx(c,e,t,n),t+=c.length;var l;let d=(l=(o=e.slice(t).match(/^>\d+/))===null||o===void 0?void 0:o[0])!==null&&l!==void 0?l:"";t+=d.length;let p=e[t]==="/"||!d&&e[t]===">"?e[t]:"";t+=p.length;let f=Kp[r],m=e[t]===f?f:"";if(!m)throw new Error(ix([!d&&"repeat modifier",!p&&"release modifier",`"${f}"`].filter(Boolean).join(" or "),e[t],e,n));return t+=m.length,{consumedLength:t,descriptor:c,releasePrevious:!!a,repeat:d?Math.max(Number(d.substr(1)),1):1,releaseSelf:n5(p,d)}}function nx(e,t,r,n){if(!e)throw new Error(ix("key descriptor",t[r],t,n))}function n5(e,t){if(e)return e==="/";if(t)return!1}function ix(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 i5(e,t){let r=[];do{let{type:i,descriptor:o,consumedLength:a,releasePrevious:s,releaseSelf:c=!0,repeat:l}=rx(t,"keyboard");var n;let d=(n=e.find(p=>{if(i==="["){var f;return((f=p.code)===null||f===void 0?void 0:f.toLowerCase())===o.toLowerCase()}else if(i==="{"){var m;return((m=p.key)===null||m===void 0?void 0:m.toLowerCase())===o.toLowerCase()}return p.key===o}))!==null&&n!==void 0?n:{key:"Unknown",code:"Unknown",[i==="["?"code":"key"]:o};r.push({keyDef:d,releasePrevious:s,releaseSelf:c,repeat:l}),t=t.slice(a)}while(t);return r}async function o5(e){let t=i5(this.config.keyboardMap,e);for(let r=0;r<t.length;r++)await ai(this.config),await a5(this,t[r])}async function a5(e,{keyDef:t,releasePrevious:r,releaseSelf:n,repeat:i}){let{system:o}=e;if(o.keyboard.isKeyPressed(t)&&await o.keyboard.keyup(e,t),!r){for(let a=1;a<=i;a++)await o.keyboard.keydown(e,t),a<i&&await ai(e.config);n&&await o.keyboard.keyup(e,t)}}async function s5(e){for(let t of e.system.keyboard.getPressedKeys())await e.system.keyboard.keyup(e,t)}function ox(e){let t=lr(e)?{"text/plain":l5(e)}:{"text/plain":String(e.ownerDocument.getSelection())},r=Jp(Bt(e));for(let n in t)t[n]&&r.setData(n,t[n]);return r}function l5(e){let t=Mo(e);return ur(e).substring(t.startOffset,t.endOffset)}async function u5(){let e=this.config.document;var t;let r=(t=e.activeElement)!==null&&t!==void 0?t:e.body,n=ox(r);if(n.items.length!==0)return this.dispatchUIEvent(r,"copy",{clipboardData:n})&&this.config.writeToClipboard&&await MT(e,n),n}async function c5(){let e=this.config.document;var t;let r=(t=e.activeElement)!==null&&t!==void 0?t:e.body,n=ox(r);if(n.items.length!==0)return this.dispatchUIEvent(r,"cut",{clipboardData:n})&&this.config.writeToClipboard&&await MT(r.ownerDocument,n),n}async function d5(e){let t=this.config.document;var r;let n=(r=t.activeElement)!==null&&r!==void 0?r:t.body;var i;let o=(i=typeof e=="string"?p5(t,e):e)!==null&&i!==void 0?i:await kB(t).catch(()=>{throw new Error("`userEvent.paste()` without `clipboardData` requires the `ClipboardAPI` to be available.")});this.dispatchUIEvent(n,"paste",{clipboardData:o})}function p5(e,t){let r=Jp(Bt(e));return r.setData("text",t),r}function zh(e,t){let r=[];do{let{descriptor:n,consumedLength:i,releasePrevious:o,releaseSelf:a=!0}=rx(t,"pointer"),s=e.find(c=>c.name===n);s&&r.push({keyDef:s,releasePrevious:o,releaseSelf:a}),t=t.slice(i)}while(t);return r}async function f5(e){let{pointerMap:t}=this.config,r=[];(Array.isArray(e)?e:[e]).forEach(n=>{typeof n=="string"?r.push(...zh(t,n)):"keys"in n?r.push(...zh(t,n.keys).map(i=>({...n,...i}))):r.push(n)});for(let n=0;n<r.length;n++)await ai(this.config),await m5(this,r[n]);this.system.pointer.resetClickCount()}async function m5(e,t){var r,n;let i="pointerName"in t&&t.pointerName?t.pointerName:"keyDef"in t?e.system.pointer.getPointerName(t.keyDef):"mouse",o=e.system.pointer.getPreviousPosition(i);var a,s,c,l;let d={target:(a=t.target)!==null&&a!==void 0?a:h5(e,o),coords:(s=t.coords)!==null&&s!==void 0?s:o?.coords,caret:{node:(c=t.node)!==null&&c!==void 0?c:Gh(t)||o==null||(r=o.caret)===null||r===void 0?void 0:r.node,offset:(l=t.offset)!==null&&l!==void 0?l:Gh(t)||o==null||(n=o.caret)===null||n===void 0?void 0:n.offset}};"keyDef"in t?(e.system.pointer.isKeyPressed(t.keyDef)&&(Zi(e,At.Trigger),await e.system.pointer.release(e,t.keyDef,d)),t.releasePrevious||(Zi(e,At.Trigger),await e.system.pointer.press(e,t.keyDef,d),t.releaseSelf&&(Zi(e,At.Trigger),await e.system.pointer.release(e,t.keyDef,d)))):(Zi(e,At.Trigger),await e.system.pointer.move(e,i,d))}function Gh(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 h5(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 y5(e){if(!ri(e)||Sr(e))throw new Error("clear()` is only supported on editable elements.");if(Kr(e),e.ownerDocument.activeElement!==e)throw new Error("The element to be cleared could not be focused.");if(JT(e),!d2(e))throw new Error("The element content to be cleared could not be selected.");oi(this,e,"","deleteContentBackward")}async function g5(e,t){return ax.call(this,!0,e,t)}async function b5(e,t){return ax.call(this,!1,e,t)}async function ax(e,t,r){if(!e&&!t.multiple)throw Se().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],i=Array.from(t.querySelectorAll('option, [role="option"]')),o=n.map(s=>{if(typeof s!="string"&&i.includes(s))return s;{let c=i.find(l=>l.value===s||l.innerHTML===s);if(c)return c;throw Se().getElementError(`Value "${String(s)}" not found in options`,t)}}).filter(s=>!Sr(s));if(Sr(t)||!o.length)return;let a=s=>{s.selected=e,this.dispatchUIEvent(t,"input",{bubbles:!0,cancelable:!1,composed:!0}),this.dispatchUIEvent(t,"change")};if(_e(t,"select"))if(t.multiple)for(let s of o){let c=this.config.pointerEventsCheck===0?!0:hs(this,s);c&&(this.dispatchUIEvent(s,"pointerover"),this.dispatchUIEvent(t,"pointerenter"),this.dispatchUIEvent(s,"mouseover"),this.dispatchUIEvent(t,"mouseenter"),this.dispatchUIEvent(s,"pointermove"),this.dispatchUIEvent(s,"mousemove"),this.dispatchUIEvent(s,"pointerdown"),this.dispatchUIEvent(s,"mousedown")),Kr(t),c&&(this.dispatchUIEvent(s,"pointerup"),this.dispatchUIEvent(s,"mouseup")),a(s),c&&this.dispatchUIEvent(s,"click"),await ai(this.config)}else if(o.length===1){let s=this.config.pointerEventsCheck===0?!0:hs(this,t);s?await this.click(t):Kr(t),a(o[0]),s&&(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 ai(this.config)}else throw Se().getElementError("Cannot select multiple options on a non-multiple select",t);else if(t.getAttribute("role")==="listbox")for(let s of o)await this.click(s),await this.unhover(s);else throw Se().getElementError("Cannot select options on elements that are neither select nor listbox elements",t)}async function v5(e,t,{skipClick:r=this.config.skipClick,skipAutoClose:n=this.config.skipAutoClose,initialSelectionStart:i,initialSelectionEnd:o}={}){e.disabled||(r||await this.click(e),i!==void 0&&Qi(e,i,o??i),await this.keyboard(t),n||await s5(this))}var Wh=Symbol("files and value properties are mocked");function lu(e,t,r){r?Object.defineProperty(e,t,r):delete e[t]}function E5(e,t){var r;(r=e[Wh])===null||r===void 0||r.restore();let n=Object.getOwnPropertyDescriptor(e,"type"),i=Object.getOwnPropertyDescriptor(e,"value"),o=Object.getOwnPropertyDescriptor(e,"files");function a(){lu(e,"type",n),lu(e,"value",i),lu(e,"files",o)}e[Wh]={restore:a},Object.defineProperties(e,{files:{configurable:!0,get:()=>t},value:{configurable:!0,get:()=>t.length?`C:\\fakepath\\${t[0].name}`:"",set(s){if(s==="")a();else{var c;i==null||(c=i.set)===null||c===void 0||c.call(e,s)}}},type:{configurable:!0,get:()=>"file",set(s){s!=="file"&&(a(),e.type=s)}}})}async function w5(e,t){let r=_e(e,"label")?e.control:e;if(!r||!_e(r,"input",{type:"file"}))throw new TypeError(`The ${r===e?"given":"associated"} ${r?.tagName} element does not accept file uploads`);if(Sr(e))return;let n=(Array.isArray(t)?t:[t]).filter(o=>!this.config.applyAccept||_5(o,r.accept)).slice(0,r.multiple?void 0:1),i=()=>{var o;n.length===((o=r.files)===null||o===void 0?void 0:o.length)&&n.every((a,s)=>{var c;return a===((c=r.files)===null||c===void 0?void 0:c.item(s))})||(E5(r,Hp(Bt(e),n)),this.dispatchUIEvent(r,"input"),this.dispatchUIEvent(r,"change"))};r.addEventListener("fileDialog",i),await this.click(e),r.removeEventListener("fileDialog",i)}function wa(e){return e.toLowerCase().replace(/(\.|\/)jpg\b/g,"$1jpeg")}function _5(e,t){if(!t)return!0;let r=["audio/*","image/*","video/*"];return wa(t).trim().split(/\s*,\s*/).some(n=>n.startsWith(".")?wa(e.name).endsWith(n):r.includes(n)?wa(e.type).startsWith(n.replace("*","")):wa(e.type)===n)}var Kh={click:K2,dblClick:Y2,tripleClick:X2,hover:Q2,unhover:Z2,tab:e5,keyboard:o5,copy:u5,cut:c5,paste:d5,pointer:f5,clear:y5,deselectOptions:b5,selectOptions:g5,type:v5,upload:w5};function T5(e){return Se().asyncWrapper(e)}var sx={applyAccept:!0,autoModify:!0,delay:0,document:globalThis.document,keyboardMap:j2,pointerMap:q2,pointerEventsCheck:$a.EachApiCall,skipAutoClose:!1,skipClick:!1,skipHover:!1,writeToClipboard:!1,advanceTimers:()=>Promise.resolve()},x5={...sx,writeToClipboard:!0};function lx(e={},t=x5,r){let n=R5(e,r,t);return{...t,...e,document:n}}function S5(e={}){let t=lx(e);YT(t.document),KT(Bt(t.document).HTMLElement);var r;let n=(r=t.document.defaultView)!==null&&r!==void 0?r:globalThis.window;return PB(n),Yp(t).api}function yt({keyboardState:e,pointerState:t,...r}={},n){let i=lx(r,sx,n);YT(i.document),KT(Bt(i.document).HTMLElement);var o;let a=(o=t??e)!==null&&o!==void 0?o:new tx;return{api:Yp(i,a).api,system:a}}function O5(e){return Yp({...this.config,...e},this.system).api}function A5(e,t){function r(...n){return Zi(e,At.Call),T5(()=>t.apply(e,n).then(async i=>(await ai(e.config),i)))}return Object.defineProperty(r,"name",{get:()=>t.name}),r}function Yp(e,t=new tx){let r={};return Object.assign(r,{config:e,dispatchEvent:WT.bind(r),dispatchUIEvent:S2.bind(r),system:t,levelRefs:{},...Kh}),{instance:r,api:{...Object.fromEntries(Object.entries(Kh).map(([n,i])=>[n,A5(r,i)])),setup:O5.bind(r)}}}function R5(e,t,r){var n,i;return(i=(n=e.document)!==null&&n!==void 0?n:t&&P2(t))!==null&&i!==void 0?i:r.document}var ux={};Tt(ux,{clear:()=>C5,click:()=>P5,copy:()=>M5,cut:()=>N5,dblClick:()=>k5,deselectOptions:()=>I5,hover:()=>j5,keyboard:()=>q5,paste:()=>D5,pointer:()=>F5,selectOptions:()=>L5,tab:()=>J5,tripleClick:()=>$5,type:()=>B5,unhover:()=>U5,upload:()=>H5});function C5(e){return yt().api.clear(e)}function P5(e,t={}){return yt(t,e).api.click(e)}function M5(e={}){return yt(e).api.copy()}function N5(e={}){return yt(e).api.cut()}function k5(e,t={}){return yt(t).api.dblClick(e)}function I5(e,t,r={}){return yt(r).api.deselectOptions(e,t)}function j5(e,t={}){return yt(t).api.hover(e)}async function q5(e,t={}){let{api:r,system:n}=yt(t);return r.keyboard(e).then(()=>n)}async function F5(e,t={}){let{api:r,system:n}=yt(t);return r.pointer(e).then(()=>n)}function D5(e,t){return yt(t).api.paste(e)}function L5(e,t,r={}){return yt(r).api.selectOptions(e,t)}function $5(e,t={}){return yt(t).api.tripleClick(e)}function B5(e,t,r={}){return yt(r,e).api.type(e,t,r)}function U5(e,t={}){let{api:r,system:n}=yt(t);return n.pointer.setMousePosition({target:e}),r.unhover(e)}function H5(e,t,r={}){return yt(r).api.upload(e,t)}function J5(e={}){return yt().api.tab(e)}var cx={...ux,setup:S5},Oc=zo({...t_},{getKeys:e=>Object.keys(e).filter(t=>t!=="eventWrapper"),intercept:(e,t)=>t[0]==="fireEvent"||e.startsWith("find")||e.startsWith("waitFor")});Oc.screen=new Proxy(Oc.screen,{get(e,t,r){return typeof window<"u"&&globalThis.location?.href?.includes("viewMode=docs")&&Ge.warn(xe`
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:V5,configure:z5,createEvent:G5,fireEvent:W5,findAllByAltText:K5,findAllByDisplayValue:Y5,findAllByLabelText:X5,findAllByPlaceholderText:Q5,findAllByRole:Z5,findAllByTestId:eU,findAllByText:tU,findAllByTitle:rU,findByAltText:nU,findByDisplayValue:iU,findByLabelText:oU,findByPlaceholderText:aU,findByRole:sU,findByTestId:lU,findByText:uU,findByTitle:cU,getAllByAltText:dU,getAllByDisplayValue:pU,getAllByLabelText:fU,getAllByPlaceholderText:mU,getAllByRole:hU,getAllByTestId:yU,getAllByText:gU,getAllByTitle:bU,getByAltText:vU,getByDisplayValue:EU,getByLabelText:wU,getByPlaceholderText:_U,getByRole:TU,getByTestId:xU,getByText:SU,getByTitle:OU,getConfig:AU,getDefaultNormalizer:RU,getElementError:CU,getNodeText:PU,getQueriesForElement:MU,getRoles:NU,getSuggestedQuery:kU,isInaccessible:IU,logDOM:jU,logRoles:qU,prettyDOM:FU,queries:DU,queryAllByAltText:LU,queryAllByAttribute:$U,queryAllByDisplayValue:BU,queryAllByLabelText:UU,queryAllByPlaceholderText:HU,queryAllByRole:JU,queryAllByTestId:VU,queryAllByText:zU,queryAllByTitle:GU,queryByAltText:WU,queryByAttribute:KU,queryByDisplayValue:YU,queryByLabelText:XU,queryByPlaceholderText:QU,queryByRole:ZU,queryByTestId:e3,queryByText:t3,queryByTitle:r3,queryHelpers:n3,screen:i3,waitFor:o3,waitForElementToBeRemoved:a3,within:dx,prettyFormat:s3}=Oc,px=cx,{userEvent:l3}=zo({userEvent:cx},{intercept:!0,getKeys:e=>Object.keys(e).filter(t=>t!=="eventWrapper")}),{expect:u3}=zo({expect:Ww},{getKeys:(e,t)=>{if("constructor"in e&&e.constructor===I){let r=["assert","__methods","__flags","_obj"],n=Object.keys(Object.getPrototypeOf(e)).filter(i=>!r.includes(i));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"}),c3={mock:()=>{}},Yh=!1,d3=e=>{let{parameters:t}=e;t?.actions?.disable||Yh||(Kw((r,n)=>{let i=r.getMockName();i!=="spy"&&i!=="vi.fn()"&&(!/^next\/.*::/.test(i)||["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(o=>i.startsWith(o)))&&na(i)(n)}),Yh=!0)},p3=[d3],Xh=()=>({...cv,...pv}),ys="backgrounds",f3={light:{name:"light",value:"#F8F8F8"},dark:{name:"dark",value:"#333"}},{document:Gt}=globalThis,m3=()=>globalThis?.matchMedia?!!globalThis.matchMedia("(prefers-reduced-motion: reduce)")?.matches:!1,Qh=e=>{(Array.isArray(e)?e:[e]).forEach(h3)},h3=e=>{if(!Gt)return;let t=Gt.getElementById(e);t&&t.parentElement&&t.parentElement.removeChild(t)},y3=(e,t)=>{if(!Gt)return;let r=Gt.getElementById(e);if(r)r.innerHTML!==t&&(r.innerHTML=t);else{let n=Gt.createElement("style");n.setAttribute("id",e),n.innerHTML=t,Gt.head.appendChild(n)}},g3=(e,t,r)=>{if(!Gt)return;let n=Gt.getElementById(e);if(n)n.innerHTML!==t&&(n.innerHTML=t);else{let i=Gt.createElement("style");i.setAttribute("id",e),i.innerHTML=t;let o=`addon-backgrounds-grid${r?`-docs-${r}`:""}`,a=Gt.getElementById(o);a?a.parentElement?.insertBefore(i,a):Gt.head.appendChild(i)}},b3={cellSize:100,cellAmount:10,opacity:.8},Zh="addon-backgrounds",ey="addon-backgrounds-grid",v3=m3()?"":"transition: background-color 0.3s;",E3=(e,t)=>{let{globals:r={},parameters:n={},viewMode:i,id:o}=t,{options:a=f3,disable:s,grid:c=b3}=n[ys]||{},l=r[ys]||{},d=typeof l=="string"?l:l?.value,p=d?a[d]:void 0,f=typeof p=="string"?p:p?.value||"transparent",m=typeof l=="string"?!1:l.grid||!1,y=!!p&&!s,g=i==="docs"?`#anchor--${o} .docs-story`:".sb-show-main",v=i==="docs"?`#anchor--${o} .docs-story`:".sb-show-main",b=n.layout===void 0||n.layout==="padded",T=i==="docs"?20:b?16:0,{cellAmount:O,cellSize:R,opacity:P,offsetX:E=T,offsetY:_=T}=c,x=i==="docs"?`${Zh}-docs-${o}`:`${Zh}-color`,S=i==="docs"?o:null;_n(()=>{let j=`
353
+ ${g} {
354
+ background: ${f} !important;
355
+ ${v3}
356
+ }`;if(!y){Qh(x);return}g3(x,j,S)},[g,x,S,y,f]);let L=i==="docs"?`${ey}-docs-${o}`:`${ey}`;return _n(()=>{if(!m){Qh(L);return}let j=[`${R*O}px ${R*O}px`,`${R*O}px ${R*O}px`,`${R}px ${R}px`,`${R}px ${R}px`].join(", "),J=`
357
+ ${v} {
358
+ background-size: ${j} !important;
359
+ background-position: ${E}px ${_}px, ${E}px ${_}px, ${E}px ${_}px, ${E}px ${_}px !important;
360
+ background-blend-mode: difference !important;
361
+ background-image: linear-gradient(rgba(130, 130, 130, ${P}) 1px, transparent 1px),
362
+ linear-gradient(90deg, rgba(130, 130, 130, ${P}) 1px, transparent 1px),
363
+ linear-gradient(rgba(130, 130, 130, ${P/2}) 1px, transparent 1px),
364
+ linear-gradient(90deg, rgba(130, 130, 130, ${P/2}) 1px, transparent 1px) !important;
365
+ }
366
+ `;y3(L,J)},[O,R,v,L,m,E,_,P]),e()},w3=globalThis.FEATURES?.backgrounds?[E3]:[],_3={[ys]:{grid:{cellSize:20,opacity:.5,cellAmount:5},disable:!1}},T3={[ys]:{value:void 0,grid:!1}},ty=()=>({decorators:w3,parameters:_3,initialGlobals:T3}),{step:x3}=zo({step:async(e,t,r)=>t(r)},{intercept:!0}),ry=()=>({parameters:{throwPlayFunctionExceptions:!1},runStep:x3}),S3=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")},O3=async({reporting:e,canvasElement:t,globals:r})=>{try{if(!r.ghostStories)return;let n=S3(t.firstElementChild??t);n&&e.addReport({type:"render-analysis",version:1,result:{emptyRender:n},status:"warning"})}catch{}},ny=()=>({afterEach:O3}),cl="storybook/highlight",A3=`${cl}/add`,R3=`${cl}/remove`,C3=`${cl}/reset`,P3=`${cl}/scroll-into-view`,iy=2147483647,$r=28,oy={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"]},M3="svg,path,rect,circle,line,polyline,polygon,ellipse,text".split(","),tt=(e,t={},r)=>{let n=M3.includes(e)?document.createElementNS("http://www.w3.org/2000/svg",e):document.createElement(e);return Object.entries(t).forEach(([i,o])=>{/[A-Z]/.test(i)?(i==="onClick"&&(n.addEventListener("click",o),n.addEventListener("keydown",a=>{(a.key==="Enter"||a.key===" ")&&(a.preventDefault(),o())})),i==="onMouseEnter"&&n.addEventListener("mouseenter",o),i==="onMouseLeave"&&n.addEventListener("mouseleave",o)):n.setAttribute(i,o)}),r?.forEach(i=>{if(!(i==null||i===!1))try{n.appendChild(i)}catch{n.appendChild(document.createTextNode(String(i)))}}),n},_a=e=>oy[e]&&tt("svg",{width:"14",height:"14",viewBox:"0 0 14 14",xmlns:"http://www.w3.org/2000/svg"},oy[e].map(t=>tt("path",{fill:"currentColor","fill-rule":"evenodd","clip-rule":"evenodd",d:t}))),N3=e=>{if("elements"in e){let{elements:n,color:i,style:o}=e;return{id:void 0,priority:0,selectors:n,styles:{outline:`2px ${o} ${i}`,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}},k3=e=>e instanceof Function,zi=new Map,ln=new Map,Ta=new Map,mr=e=>{let t=Symbol();return ln.set(t,[]),zi.set(t,e),{get:()=>zi.get(t),set:r=>{let n=zi.get(t),i=k3(r)?r(n):r;i!==n&&(zi.set(t,i),ln.get(t)?.forEach(o=>{Ta.get(o)?.(),Ta.set(o,o(i))}))},subscribe:r=>(ln.get(t)?.push(r),()=>{let n=ln.get(t);n&&ln.set(t,n.filter(i=>i!==r))}),teardown:()=>{ln.get(t)?.forEach(r=>{Ta.get(r)?.(),Ta.delete(r)}),ln.delete(t),zi.delete(t)}}},ay=e=>{let t=document.getElementById("storybook-root"),r=new Map;for(let n of e){let{priority:i=0}=n;for(let o of n.selectors){let a=[...document.querySelectorAll(`:is(${o}):not([id^="storybook-"], [id^="storybook-"] *, [class^="sb-"], [class^="sb-"] *)`),...t?.querySelectorAll(o)||[]];for(let s of a){let c=r.get(s);(!c||c.priority<=i)&&r.set(s,{...n,priority:i,selectors:Array.from(new Set((c?.selectors||[]).concat(o)))})}}}return r},I3=e=>Array.from(e.entries()).map(([t,{selectors:r,styles:n,hoverStyles:i,focusStyles:o,menu:a}])=>{let{top:s,left:c,width:l,height:d}=t.getBoundingClientRect(),{position:p}=getComputedStyle(t);return{element:t,selectors:r,styles:n,hoverStyles:i,focusStyles:o,menu:a,top:p==="fixed"?s:s+window.scrollY,left:p==="fixed"?c:c+window.scrollX,width:l,height:d}}).sort((t,r)=>r.width*r.height-t.width*t.height),sy=(e,t)=>{let r=e.getBoundingClientRect(),{x:n,y:i}=t;return r?.top&&r?.left&&n>=r.left&&n<=r.left+r.width&&i>=r.top&&i<=r.top+r.height},ly=(e,t,r)=>{if(!t||!r)return!1;let{left:n,top:i,width:o,height:a}=e;a<$r&&(i=i-Math.round(($r-a)/2),a=$r),o<$r&&(n=n-Math.round(($r-o)/2),o=$r),t.style.position==="fixed"&&(n+=window.scrollX,i+=window.scrollY);let{x:s,y:c}=r;return s>=n&&s<=n+o&&c>=i&&c<=i+a},j3=(e,t,r={})=>{let{x:n,y:i}=t,{margin:o=5,topOffset:a=0,centered:s=!1}=r,{scrollX:c,scrollY:l,innerHeight:d,innerWidth:p}=window,f=Math.min(e.style.position==="fixed"?i-l:i,d-e.clientHeight-o-a+l),m=s?e.clientWidth/2:0,y=e.style.position==="fixed"?Math.max(Math.min(n-c,p-m-o),m+o):Math.max(Math.min(n,p-m-o+c),m+o+c);Object.assign(e.style,{...y!==n&&{left:`${y}px`},...f!==i&&{top:`${f}px`}})},uy=e=>{window.HTMLElement.prototype.hasOwnProperty("showPopover")&&e.showPopover()},q3=e=>{window.HTMLElement.prototype.hasOwnProperty("showPopover")&&e.hidePopover()},F3=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}}),De="storybook-highlights-menu",cy="storybook-highlights-root",D3="storybook-root",L3=e=>{if(globalThis.__STORYBOOK_HIGHLIGHT_INITIALIZED)return;globalThis.__STORYBOOK_HIGHLIGHT_INITIALIZED=!0;let{document:t}=globalThis,r=mr([]),n=mr(new Map),i=mr([]),o=mr(),a=mr(),s=mr([]),c=mr([]),l=mr(),d=mr(),p=t.getElementById(cy);r.subscribe(()=>{p||(p=tt("div",{id:cy}),t.body.appendChild(p))}),r.subscribe(_=>{let x=t.getElementById(D3);if(!x)return;n.set(ay(_));let S=new MutationObserver(()=>n.set(ay(_)));return S.observe(x,{subtree:!0,childList:!0}),()=>{S.disconnect()}}),n.subscribe(_=>{let x=()=>requestAnimationFrame(()=>i.set(I3(_))),S=new ResizeObserver(x);S.observe(t.body),Array.from(_.keys()).forEach(j=>S.observe(j));let L=Array.from(t.body.querySelectorAll("*")).filter(j=>{let{overflow:J,overflowX:N,overflowY:A}=window.getComputedStyle(j);return["auto","scroll"].some(q=>[J,N,A].includes(q))});return L.forEach(j=>j.addEventListener("scroll",x)),()=>{S.disconnect(),L.forEach(j=>j.removeEventListener("scroll",x))}}),n.subscribe(_=>{let x=Array.from(_.keys()).filter(({style:L})=>L.position==="sticky"),S=()=>requestAnimationFrame(()=>{i.set(L=>L.map(j=>{if(x.includes(j.element)){let{top:J,left:N}=j.element.getBoundingClientRect();return{...j,top:J+window.scrollY,left:N+window.scrollX}}return j}))});return t.addEventListener("scroll",S),()=>t.removeEventListener("scroll",S)}),n.subscribe(_=>{s.set(x=>x.filter(({element:S})=>_.has(S)))}),s.subscribe(_=>{_.length?(d.set(x=>_.some(S=>S.element===x?.element)?x:void 0),l.set(x=>_.some(S=>S.element===x?.element)?x:void 0)):(d.set(void 0),l.set(void 0),o.set(void 0))});let f=new Map(new Map);r.subscribe(_=>{_.forEach(({keyframes:x})=>{if(x){let S=f.get(x);S||(S=t.createElement("style"),S.setAttribute("data-highlight","keyframes"),f.set(x,S),t.head.appendChild(S)),S.innerHTML=x}}),f.forEach((x,S)=>{_.some(L=>L.keyframes===S)||(x.remove(),f.delete(S))})});let m=new Map(new Map);i.subscribe(_=>{_.forEach(x=>{let S=m.get(x.element);if(p&&!S){let L={popover:"manual","data-highlight-dimensions":`w${x.width.toFixed(0)}h${x.height.toFixed(0)}`,"data-highlight-coordinates":`x${x.left.toFixed(0)}y${x.top.toFixed(0)}`};S=p.appendChild(tt("div",L,[tt("div")])),m.set(x.element,S)}}),m.forEach((x,S)=>{_.some(({element:L})=>L===S)||(x.remove(),m.delete(S))})}),i.subscribe(_=>{let x=_.filter(L=>L.menu);if(!x.length)return;let S=L=>{requestAnimationFrame(()=>{let j=t.getElementById(De),J={x:L.pageX,y:L.pageY};if(j&&!sy(j,J)){let N=x.filter(A=>{let q=m.get(A.element);return ly(A,q,J)});o.set(N.length?J:void 0),s.set(N)}})};return t.addEventListener("click",S),()=>t.removeEventListener("click",S)});let y=()=>{let _=t.getElementById(De),x=a.get();!x||_&&sy(_,x)||c.set(S=>{let L=i.get().filter(A=>{let q=m.get(A.element);return ly(A,q,x)}),j=S.filter(A=>L.includes(A)),J=L.filter(A=>!S.includes(A)),N=S.length-j.length;return J.length||N?[...j,...J]:S})};a.subscribe(y),i.subscribe(y);let g=()=>{let _=d.get(),x=_?[_]:s.get(),S=x.length===1?x[0]:l.get(),L=o.get()!==void 0;i.get().forEach(j=>{let J=m.get(j.element);if(J){let N=S===j,A=L?S?N:x.includes(j):c.get()?.includes(j);Object.assign(J.style,{animation:"none",background:"transparent",border:"none",boxSizing:"border-box",outline:"none",outlineOffset:"0px",...j.styles,...A?j.hoverStyles:{},...N?j.focusStyles:{},position:getComputedStyle(j.element).position==="fixed"?"fixed":"absolute",zIndex:iy-10,top:`${j.top}px`,left:`${j.left}px`,width:`${j.width}px`,height:`${j.height}px`,margin:0,padding:0,cursor:j.menu&&A?"pointer":"default",pointerEvents:j.menu?"auto":"none",display:"flex",alignItems:"center",justifyContent:"center",overflow:"visible"}),Object.assign(J.children[0].style,{width:"100%",height:"100%",minHeight:`${$r}px`,minWidth:`${$r}px`,boxSizing:"content-box",padding:J.style.outlineWidth||"0px"}),uy(J)}})};i.subscribe(g),s.subscribe(g),c.subscribe(g),l.subscribe(g),d.subscribe(g);let v=()=>{if(!p)return;let _=t.getElementById(De);if(_)_.innerHTML="";else{let j={id:De,popover:"manual"};_=p.appendChild(tt("div",j)),p.appendChild(tt("style",{},[`
367
+ #${De} {
368
+ position: absolute;
369
+ z-index: ${iy};
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
+ #${De} ul {
383
+ list-style: none;
384
+ margin: 0;
385
+ padding: 0;
386
+ }
387
+ #${De} > ul {
388
+ max-height: 300px;
389
+ overflow-y: auto;
390
+ padding: 4px 0;
391
+ }
392
+ #${De} li {
393
+ padding: 0 4px;
394
+ margin: 0;
395
+ }
396
+ #${De} 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
+ #${De} 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
+ #${De} button:focus-visible {
414
+ outline-color: #029CFD;
415
+ }
416
+ #${De} button:hover {
417
+ background: rgba(2, 156, 253, 0.07);
418
+ color: #029CFD;
419
+ cursor: pointer;
420
+ }
421
+ #${De} li code {
422
+ white-space: nowrap;
423
+ overflow: hidden;
424
+ text-overflow: ellipsis;
425
+ line-height: 16px;
426
+ font-size: 11px;
427
+ }
428
+ #${De} li svg {
429
+ flex-shrink: 0;
430
+ margin: 1px;
431
+ color: #73828C;
432
+ }
433
+ #${De} li > button:hover svg, #${De} li > button:focus-visible svg {
434
+ color: #029CFD;
435
+ }
436
+ #${De} .element-list li svg {
437
+ display: none;
438
+ }
439
+ #${De} li.selectable svg, #${De} li.selected svg {
440
+ display: block;
441
+ }
442
+ #${De} .menu-list {
443
+ border-top: 1px solid rgba(38, 85, 115, 0.15);
444
+ }
445
+ #${De} .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
+ #${De} .menu-items, #${De} .menu-items li {
451
+ padding: 0;
452
+ }
453
+ #${De} .menu-item {
454
+ display: flex;
455
+ }
456
+ #${De} .menu-item-content {
457
+ display: flex;
458
+ flex-direction: column;
459
+ flex-grow: 1;
460
+ }
461
+ `]))}let x=d.get(),S=x?[x]:s.get();if(S.length&&(_.style.position=getComputedStyle(S[0].element).position==="fixed"?"fixed":"absolute",_.appendChild(tt("ul",{class:"element-list"},S.map(j=>{let J=S.length>1&&!!j.menu?.some(q=>q.some($=>!$.selectors||$.selectors.some(V=>j.selectors.includes(V)))),N=J?{class:"selectable",onClick:()=>d.set(j),onMouseEnter:()=>l.set(j),onMouseLeave:()=>l.set(void 0)}:x?{class:"selected",onClick:()=>d.set(void 0)}:{},A=J||x;return tt("li",N,[tt(A?"button":"div",A?{type:"button"}:{},[x?_a("chevronLeft"):null,tt("code",{},[j.element.outerHTML]),J?_a("chevronRight"):null])])})))),d.get()||s.get().length===1){let j=d.get()||s.get()[0],J=j.menu?.filter(N=>N.some(A=>!A.selectors||A.selectors.some(q=>j.selectors.includes(q))));J?.length&&_.appendChild(tt("ul",{class:"menu-list"},J.map(N=>tt("li",{},[tt("ul",{class:"menu-items"},N.map(({id:A,title:q,description:$,iconLeft:V,iconRight:Y,clickEvent:ie})=>{let ue=ie&&(()=>e.emit(ie,A,F3(j)));return tt("li",{},[tt(ue?"button":"div",ue?{class:"menu-item",type:"button",onClick:ue}:{class:"menu-item"},[V?_a(V):null,tt("div",{class:"menu-item-content"},[tt($?"strong":"span",{},[q]),$&&tt("span",{},[$])]),Y?_a(Y):null])])}))]))))}let L=o.get();L?(Object.assign(_.style,{display:"block",left:`${_.style.position==="fixed"?L.x-window.scrollX:L.x}px`,top:`${_.style.position==="fixed"?L.y-window.scrollY:L.y}px`}),uy(_),requestAnimationFrame(()=>j3(_,L,{topOffset:15,centered:!0}))):(q3(_),Object.assign(_.style,{display:"none"}))};s.subscribe(v),d.subscribe(v);let b=_=>{let x=N3(_);r.set(S=>{let L=x.id?S.filter(j=>j.id!==x.id):S;return x.selectors?.length?[...L,x]:L})},T=_=>{_&&r.set(x=>x.filter(S=>S.id!==_))},O=()=>{r.set([]),n.set(new Map),i.set([]),o.set(void 0),a.set(void 0),s.set([]),c.set([]),l.set(void 0),d.set(void 0)},R,P=(_,x)=>{let S="scrollIntoView-highlight";clearTimeout(R),T(S);let L=t.querySelector(_);if(!L){console.warn(`Cannot scroll into view: ${_} not found`);return}L.scrollIntoView({behavior:"smooth",block:"center",...x});let j=`kf-${Math.random().toString(36).substring(2,15)}`;r.set(J=>[...J,{id:S,priority:1e3,selectors:[_],styles:{outline:"2px solid #1EA7FD",outlineOffset:"-1px",animation:`${j} 3s linear forwards`},keyframes:`@keyframes ${j} {
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
+ }`}]),R=setTimeout(()=>T(S),3500)},E=_=>{requestAnimationFrame(()=>a.set({x:_.pageX,y:_.pageY}))};t.body.addEventListener("mousemove",E),e.on(A3,b),e.on(R3,T),e.on(C3,O),e.on(P3,P),e.on(wn,({newPhase:_})=>{_==="loading"&&O()})};globalThis?.FEATURES?.highlight&&Lt?.ready&&Lt.ready().then(L3);var dy=()=>({}),$3="measureEnabled";function fx(){let e=re.document.documentElement,t=Math.max(e.scrollHeight,e.offsetHeight);return{width:Math.max(e.scrollWidth,e.offsetWidth),height:t}}function B3(){let e=re.document.createElement("canvas");e.id="storybook-addon-measure";let t=e.getContext("2d");Tr(t!=null);let{width:r,height:n}=fx();return Ac(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",re.document.body.appendChild(e),{canvas:e,context:t,width:r,height:n}}function Ac(e,t,{width:r,height:n}){e.style.width=`${r}px`,e.style.height=`${n}px`;let i=re.window.devicePixelRatio;e.width=Math.floor(r*i),e.height=Math.floor(n*i),t.scale(i,i)}var rt={};function U3(){rt.canvas||(rt=B3())}function mx(){rt.context&&rt.context.clearRect(0,0,rt.width??0,rt.height??0)}function H3(e){mx(),e(rt.context)}function J3(){Tr(rt.canvas),Tr(rt.context),Ac(rt.canvas,rt.context,{width:0,height:0});let{width:e,height:t}=fx();Ac(rt.canvas,rt.context,{width:e,height:t}),rt.width=e,rt.height=t}function V3(){rt.canvas&&(mx(),rt.canvas.parentNode?.removeChild(rt.canvas),rt={})}var Fn={margin:"#f6b26b",border:"#ffe599",padding:"#93c47d",content:"#6fa8dc",text:"#232020"},wr=6;function py(e,{x:t,y:r,w:n,h:i,r:o}){t=t-n/2,r=r-i/2,n<2*o&&(o=n/2),i<2*o&&(o=i/2),e.beginPath(),e.moveTo(t+o,r),e.arcTo(t+n,r,t+n,r+i,o),e.arcTo(t+n,r+i,t,r+i,o),e.arcTo(t,r+i,t,r,o),e.arcTo(t,r,t+n,r,o),e.closePath()}function z3(e,{padding:t,border:r,width:n,height:i,top:o,left:a}){let s=n-r.left-r.right-t.left-t.right,c=i-t.top-t.bottom-r.top-r.bottom,l=a+r.left+t.left,d=o+r.top+t.top;return e==="top"?l+=s/2:e==="right"?(l+=s,d+=c/2):e==="bottom"?(l+=s/2,d+=c):e==="left"?d+=c/2:e==="center"&&(l+=s/2,d+=c/2),{x:l,y:d}}function G3(e,t,{margin:r,border:n,padding:i},o,a){let s=f=>0,c=0,l=0,d=a?1:.5,p=a?o*2:0;return e==="padding"?s=f=>i[f]*d+p:e==="border"?s=f=>i[f]+n[f]*d+p:e==="margin"&&(s=f=>i[f]+n[f]+r[f]*d+p),t==="top"?l=-s("top"):t==="right"?c=s("right"):t==="bottom"?l=s("bottom"):t==="left"&&(c=-s("left")),{offsetX:c,offsetY:l}}function W3(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 K3(e,t,r){return e==="top"?t.y=r.y-r.h-wr:e==="right"?t.x=r.x+r.w/2+wr+t.w/2:e==="bottom"?t.y=r.y+r.h+wr:e==="left"&&(t.x=r.x-r.w/2-wr-t.w/2),{x:t.x,y:t.y}}function hx(e,t,{x:r,y:n,w:i,h:o},a){return py(e,{x:r,y:n,w:i,h:o,r:3}),e.fillStyle=`${Fn[t]}dd`,e.fill(),e.strokeStyle=Fn[t],e.stroke(),e.fillStyle=Fn.text,e.fillText(a,r,n),py(e,{x:r,y:n,w:i,h:o,r:3}),e.fillStyle=`${Fn[t]}dd`,e.fill(),e.strokeStyle=Fn[t],e.stroke(),e.fillStyle=Fn.text,e.fillText(a,r,n),{x:r,y:n,w:i,h:o}}function yx(e,t){e.font="600 12px monospace",e.textBaseline="middle",e.textAlign="center";let r=e.measureText(t),n=r.actualBoundingBoxAscent+r.actualBoundingBoxDescent,i=r.width+wr*2,o=n+wr*2;return{w:i,h:o}}function Y3(e,t,{type:r,position:n="center",text:i},o,a=!1){let{x:s,y:c}=z3(n,t),{offsetX:l,offsetY:d}=G3(r,n,t,wr+1,a);s+=l,c+=d;let{w:p,h:f}=yx(e,i);if(o&&W3({x:s,y:c,w:p,h:f},o)){let m=K3(n,{x:s,y:c,w:p},o);s=m.x,c=m.y}return hx(e,r,{x:s,y:c,w:p,h:f},i)}function X3(e,{w:t,h:r}){let n=t*.5+wr,i=r*.5+wr;return{offsetX:(e.x==="left"?-1:1)*n,offsetY:(e.y==="top"?-1:1)*i}}function Q3(e,t,{type:r,text:n}){let{floatingAlignment:i,extremities:o}=t,a=o[i.x],s=o[i.y],{w:c,h:l}=yx(e,n),{offsetX:d,offsetY:p}=X3(i,{w:c,h:l});return a+=d,s+=p,hx(e,r,{x:a,y:s,w:c,h:l},n)}function Gi(e,t,r,n){let i=[];r.forEach((o,a)=>{let s=n&&o.position==="center"?Q3(e,t,o):Y3(e,t,o,i[a-1],n);i[a]=s})}function Z3(e,t,r,n){let i=r.reduce((o,a)=>(Object.prototype.hasOwnProperty.call(o,a.position)||(o[a.position]=[]),o[a.position]?.push(a),o),{});i.top&&Gi(e,t,i.top,n),i.right&&Gi(e,t,i.right,n),i.bottom&&Gi(e,t,i.bottom,n),i.left&&Gi(e,t,i.left,n),i.center&&Gi(e,t,i.center,n)}var dl={margin:"#f6b26ba8",border:"#ffe599a8",padding:"#93c47d8c",content:"#6fa8dca8"},fy=30;function qt(e){return parseInt(e.replace("px",""),10)}function Un(e){return Number.isInteger(e)?e:e.toFixed(2)}function Xp(e){return e.filter(t=>t.text!==0&&t.text!=="0")}function eH(e){let t={top:re.window.scrollY,bottom:re.window.scrollY+re.window.innerHeight,left:re.window.scrollX,right:re.window.scrollX+re.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 tH(e){let t=re.getComputedStyle(e),{top:r,left:n,right:i,bottom:o,width:a,height:s}=e.getBoundingClientRect(),{marginTop:c,marginBottom:l,marginLeft:d,marginRight:p,paddingTop:f,paddingBottom:m,paddingLeft:y,paddingRight:g,borderBottomWidth:v,borderTopWidth:b,borderLeftWidth:T,borderRightWidth:O}=t;r=r+re.window.scrollY,n=n+re.window.scrollX,o=o+re.window.scrollY,i=i+re.window.scrollX;let R={top:qt(c),bottom:qt(l),left:qt(d),right:qt(p)},P={top:qt(f),bottom:qt(m),left:qt(y),right:qt(g)},E={top:qt(b),bottom:qt(v),left:qt(T),right:qt(O)},_={top:r-R.top,bottom:o+R.bottom,left:n-R.left,right:i+R.right};return{margin:R,padding:P,border:E,top:r,left:n,bottom:o,right:i,width:a,height:s,extremities:_,floatingAlignment:eH(_)}}function rH(e,{margin:t,width:r,height:n,top:i,left:o,bottom:a,right:s}){let c=n+t.bottom+t.top;e.fillStyle=dl.margin,e.fillRect(o,i-t.top,r,t.top),e.fillRect(s,i-t.top,t.right,c),e.fillRect(o,a,r,t.bottom),e.fillRect(o-t.left,i-t.top,t.left,c);let l=[{type:"margin",text:Un(t.top),position:"top"},{type:"margin",text:Un(t.right),position:"right"},{type:"margin",text:Un(t.bottom),position:"bottom"},{type:"margin",text:Un(t.left),position:"left"}];return Xp(l)}function nH(e,{padding:t,border:r,width:n,height:i,top:o,left:a,bottom:s,right:c}){let l=n-r.left-r.right,d=i-t.top-t.bottom-r.top-r.bottom;e.fillStyle=dl.padding,e.fillRect(a+r.left,o+r.top,l,t.top),e.fillRect(c-t.right-r.right,o+t.top+r.top,t.right,d),e.fillRect(a+r.left,s-t.bottom-r.bottom,l,t.bottom),e.fillRect(a+r.left,o+t.top+r.top,t.left,d);let p=[{type:"padding",text:t.top,position:"top"},{type:"padding",text:t.right,position:"right"},{type:"padding",text:t.bottom,position:"bottom"},{type:"padding",text:t.left,position:"left"}];return Xp(p)}function iH(e,{border:t,width:r,height:n,top:i,left:o,bottom:a,right:s}){let c=n-t.top-t.bottom;e.fillStyle=dl.border,e.fillRect(o,i,r,t.top),e.fillRect(o,a-t.bottom,r,t.bottom),e.fillRect(o,i+t.top,t.left,c),e.fillRect(s-t.right,i+t.top,t.right,c);let l=[{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 Xp(l)}function oH(e,{padding:t,border:r,width:n,height:i,top:o,left:a}){let s=n-r.left-r.right-t.left-t.right,c=i-t.top-t.bottom-r.top-r.bottom;return e.fillStyle=dl.content,e.fillRect(a+r.left+t.left,o+r.top+t.top,s,c),[{type:"content",position:"center",text:`${Un(s)} x ${Un(c)}`}]}function aH(e){return t=>{if(e&&t){let r=tH(e),n=rH(t,r),i=nH(t,r),o=iH(t,r),a=oH(t,r),s=r.width<=fy*3||r.height<=fy;Z3(t,r,[...a,...i,...o,...n],s)}}}function sH(e){H3(aH(e))}var lH=(e,t)=>{let r=re.document.elementFromPoint(e,t),n=i=>{if(i&&i.shadowRoot){let o=i.shadowRoot.elementFromPoint(e,t);return i.isEqualNode(o)?i:o.shadowRoot?n(o):o}return i};return n(r)||r},my,xa={x:0,y:0};function hy(e,t){my=lH(e,t),sH(my)}var uH=(e,t)=>{let{measureEnabled:r}=t.globals||{};return _n(()=>{if(typeof globalThis.document>"u")return;let n=i=>{window.requestAnimationFrame(()=>{i.stopPropagation(),xa.x=i.clientX,xa.y=i.clientY})};return globalThis.document.addEventListener("pointermove",n),()=>{globalThis.document.removeEventListener("pointermove",n)}},[]),_n(()=>{let n=o=>{window.requestAnimationFrame(()=>{o.stopPropagation(),hy(o.clientX,o.clientY)})},i=()=>{window.requestAnimationFrame(()=>{J3()})};return t.viewMode==="story"&&r&&(globalThis.document.addEventListener("pointerover",n),U3(),globalThis.window.addEventListener("resize",i),hy(xa.x,xa.y)),()=>{globalThis.window.removeEventListener("resize",i),V3()}},[r,t.viewMode]),e()},cH=globalThis.FEATURES?.measure?[uH]:[],dH={[$3]:!1},yy=()=>({decorators:cH,initialGlobals:dH}),gx="outline",gy=e=>{(Array.isArray(e)?e:[e]).forEach(pH)},pH=e=>{let t=typeof e=="string"?e:e.join(""),r=re.document.getElementById(t);r&&r.parentElement&&r.parentElement.removeChild(r)},fH=(e,t)=>{let r=re.document.getElementById(e);if(r)r.innerHTML!==t&&(r.innerHTML=t);else{let n=re.document.createElement("style");n.setAttribute("id",e),n.innerHTML=t,re.document.head.appendChild(n)}};function mH(e){return xe`
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 hH=(e,t)=>{let r=t.globals||{},n=[!0,"true"].includes(r[gx]),i=t.viewMode==="docs",o=av(()=>mH(i?'[data-story-block="true"]':".sb-show-main"),[t]);return _n(()=>{let a=i?`addon-outline-docs-${t.id}`:"addon-outline";return n?fH(a,o):gy(a),()=>{gy(a)}},[n,o,t]),e()},yH=globalThis.FEATURES?.outline?[hH]:[],gH={[gx]:!1},by=()=>({decorators:yH,initialGlobals:gH}),bH=({parameters:e})=>{e?.test?.mockReset===!0?Zw():e?.test?.clearMocks===!0?Qw():e?.test?.restoreMocks!==!1&&e_()},Rc=(e,t=0,r)=>{if(t>5||e==null)return e;if(Vn(e))return r&&e.mockName(r),e;if(typeof e=="function"&&"isAction"in e&&e.isAction&&!("implicit"in e&&e.implicit)){let n=Yw(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]=Rc(e[n],t));return e}if(typeof e=="object"&&e.constructor===Object){t++;for(let[n,i]of Object.entries(e))Object.getOwnPropertyDescriptor(e,n)?.writable&&(e[n]=Rc(i,t,n));return e}return e},vH=({initialArgs:e})=>{Rc(e)},vy=!1,EH=async e=>{globalThis.HTMLElement&&e.canvasElement instanceof globalThis.HTMLElement&&(e.canvas=dx(e.canvasElement));try{let t=globalThis.window?.navigator?.clipboard;if(t&&(e.userEvent=zo({userEvent:px.setup()},{intercept:!0,getKeys:r=>Object.keys(r).filter(n=>n!=="eventWrapper")}).userEvent,Object.defineProperty(globalThis.window.navigator,"clipboard",{get:()=>t,configurable:!0}),!vy)){let r=HTMLElement.prototype.focus,n=HTMLElement.prototype.focus,i=new Set;Object.defineProperties(HTMLElement.prototype,{focus:{configurable:!0,set:o=>{n=o},get(){return i.has(this)?r:(i.add(this),setTimeout(()=>i.delete(this),0),n)}}}),vy=!0}}catch{}},Ey=()=>({loaders:[bH,vH,EH]}),wH="viewport",_H={[wH]:{value:void 0,isRotated:!1}},wy=()=>({initialGlobals:_H});function bx(){return[(yy.default??yy)(),(ty.default??ty)(),(dy.default??dy)(),(by.default??by)(),(wy.default??wy)(),(Xh.default??Xh)(),(ry.default??ry)(),(Ey.default??Ey)(),(ny.default??ny)()]}function TH(e){return e!=null&&typeof e=="object"&&"_tag"in e&&e?._tag==="Meta"}function gs(e){return e!=null&&typeof e=="object"&&"_tag"in e&&e?._tag==="Story"}function xH(e){return"__children"in e?e.__children:[]}var vx=e=>e.toLowerCase().replace(/[ ’–—―′¿'`~!@#$%^&*()_|+\-=?;:'",.<>\{\}\[\]\\\/]/gi,"-").replace(/-+/g,"-").replace(/^-+/,"").replace(/-+$/,""),Cc=(e,t)=>{let r=vx(e);if(r==="")throw new Error(`Invalid ${t} '${e}', must include alphanumeric characters`);return r},SH=(e,t)=>`${Cc(e,"kind")}${t?`--${Cc(t,"name")}`:""}`,OH=(e,t)=>`${e}:${Cc(t,"test")}`,AH=e=>rk(e);function _y(e,t){return Array.isArray(t)?t.includes(e):e.match(t)}function Pc(e,{includeStories:t,excludeStories:r}){return e!=="__esModule"&&(!t||_y(e,t))&&(!r||!_y(e,r))}var RH=(...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 Ty(e){return Object.getOwnPropertySymbols(e).filter(t=>Object.prototype.propertyIsEnumerable.call(e,t))}function xy(e){return e==null?e===void 0?"[object Undefined]":"[object Null]":Object.prototype.toString.call(e)}var CH="[object RegExp]",PH="[object String]",MH="[object Number]",NH="[object Boolean]",Sy="[object Arguments]",kH="[object Symbol]",IH="[object Date]",jH="[object Map]",qH="[object Set]",FH="[object Array]",DH="[object Function]",LH="[object ArrayBuffer]",uu="[object Object]",$H="[object Error]",BH="[object DataView]",UH="[object Uint8Array]",HH="[object Uint8ClampedArray]",JH="[object Uint16Array]",VH="[object Uint32Array]",zH="[object BigUint64Array]",GH="[object Int8Array]",WH="[object Int16Array]",KH="[object Int32Array]",YH="[object BigInt64Array]",XH="[object Float32Array]",QH="[object Float64Array]";function ar(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 ko(e,t){let r={},n=Object.keys(e);for(let i=0;i<n.length;i++){let o=n[i],a=e[o];r[o]=t(a,o,e)}return r}function ZH(e,t){let r={},n=Object.keys(e);for(let i=0;i<n.length;i++){let o=n[i],a=e[o];t(a,o)&&(r[o]=a)}return r}var cu=We(Pg(),1);function eJ(e,t){return e===t||Number.isNaN(e)&&Number.isNaN(t)}function tJ(e,t,r){return to(e,t,void 0,void 0,void 0,void 0,r)}function to(e,t,r,n,i,o,a){let s=a(e,t,r,n,i,o);if(s!==void 0)return s;if(typeof e==typeof t)switch(typeof e){case"bigint":case"string":case"boolean":case"symbol":case"undefined":return e===t;case"number":return e===t||Object.is(e,t);case"function":return e===t;case"object":return so(e,t,o,a)}return so(e,t,o,a)}function so(e,t,r,n){if(Object.is(e,t))return!0;let i=xy(e),o=xy(t);if(i===Sy&&(i=uu),o===Sy&&(o=uu),i!==o)return!1;switch(i){case PH:return e.toString()===t.toString();case MH:{let c=e.valueOf(),l=t.valueOf();return eJ(c,l)}case NH:case IH:case kH:return Object.is(e.valueOf(),t.valueOf());case CH:return e.source===t.source&&e.flags===t.flags;case DH:return e===t}r=r??new Map;let a=r.get(e),s=r.get(t);if(a!=null&&s!=null)return a===t;r.set(e,t),r.set(t,e);try{switch(i){case jH:{if(e.size!==t.size)return!1;for(let[c,l]of e.entries())if(!t.has(c)||!to(l,t.get(c),c,e,t,r,n))return!1;return!0}case qH:{if(e.size!==t.size)return!1;let c=Array.from(e.values()),l=Array.from(t.values());for(let d=0;d<c.length;d++){let p=c[d],f=l.findIndex(m=>to(p,m,void 0,e,t,r,n));if(f===-1)return!1;l.splice(f,1)}return!0}case FH:case UH:case HH:case JH:case VH:case zH:case GH:case WH:case KH:case YH:case XH:case QH:{if(typeof Buffer<"u"&&Buffer.isBuffer(e)!==Buffer.isBuffer(t)||e.length!==t.length)return!1;for(let c=0;c<e.length;c++)if(!to(e[c],t[c],c,e,t,r,n))return!1;return!0}case LH:return e.byteLength!==t.byteLength?!1:so(new Uint8Array(e),new Uint8Array(t),r,n);case BH:return e.byteLength!==t.byteLength||e.byteOffset!==t.byteOffset?!1:so(new Uint8Array(e),new Uint8Array(t),r,n);case $H:return e.name===t.name&&e.message===t.message;case uu:{if(!(so(e.constructor,t.constructor,r,n)||ar(e)&&ar(t)))return!1;let c=[...Object.keys(e),...Ty(e)],l=[...Object.keys(t),...Ty(t)];if(c.length!==l.length)return!1;for(let d=0;d<c.length;d++){let p=c[d],f=e[p];if(!Object.hasOwn(t,p))return!1;let m=t[p];if(!to(f,m,p,e,t,r,n))return!1}return!0}default:return!1}}finally{r.delete(e),r.delete(t)}}function rJ(){}function nJ(e,t){return tJ(e,t,rJ)}var mn=Symbol("incompatible"),Mc=(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)?mn:e.reduce((n,i,o)=>{let a=Mc(i,{type:r.value});return a!==mn&&(n[o]=a),n},new Array(e.length));case"object":return typeof e=="string"||typeof e=="number"?e:!r.value||typeof e!="object"?mn:Object.entries(e).reduce((n,[i,o])=>{let a=Mc(o,{type:r.value[i]});return a===mn?n:Object.assign(n,{[i]:a})},{});case"other":{let n=typeof e=="string"||typeof e=="number"||typeof e=="boolean";return r.value==="ReactNode"&&n?e:mn}default:return mn}},iJ=(e,t)=>Object.entries(e).reduce((r,[n,i])=>{if(!t[n])return r;let o=Mc(i,t[n]);return o===mn?r:Object.assign(r,{[n]:o})},{}),bs=(e,t)=>Array.isArray(e)&&Array.isArray(t)?t.reduce((r,n,i)=>(r[i]=bs(e[i],t[i]),r),[...e]).filter(r=>r!==void 0):!ar(e)||!ar(t)?t:Object.keys({...e,...t}).reduce((r,n)=>{if(n in t){let i=bs(e[n],t[n]);i!==void 0&&(r[n]=i)}else r[n]=e[n];return r},{}),oJ=(e,t)=>Object.entries(t).reduce((r,[n,{options:i}])=>{function o(){return n in e&&(r[n]=e[n]),r}if(!i)return o();if(!Array.isArray(i))return Ge.error(xe`
864
+ Invalid argType: '${n}.options' should be an array.
865
+
866
+ More info: https://storybook.js.org/docs/api/arg-types?ref=error
867
+ `),o();if(i.some(p=>p&&["object","function"].includes(typeof p)))return Ge.error(xe`
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
+ `),o();let a=Array.isArray(e[n]),s=a&&e[n].findIndex(p=>!i.includes(p)),c=a&&s===-1;if(e[n]===void 0||i.includes(e[n])||c)return o();let l=a?`${n}[${s}]`:n,d=i.map(p=>typeof p=="string"?`'${p}'`:String(p)).join(", ");return Ge.warn(`Received illegal value for '${l}'. Supported options: ${d}`),r},{}),lo=Symbol("Deeply equal"),vs=(e,t)=>{if(typeof e!=typeof t)return t;if(nJ(e,t))return lo;if(Array.isArray(e)&&Array.isArray(t)){let r=t.reduce((n,i,o)=>{let a=vs(e[o],i);return a!==lo&&(n[o]=a),n},new Array(t.length));return t.length>=e.length?r:r.concat(new Array(e.length-t.length).fill(void 0))}return ar(e)&&ar(t)?Object.keys({...e,...t}).reduce((r,n)=>{let i=vs(e?.[n],t?.[n]);return i===lo?r:Object.assign(r,{[n]:i})},{}):t},Ex="UNTARGETED";function aJ({args:e,argTypes:t}){let r={};return Object.entries(e).forEach(([n,i])=>{let{target:o=Ex}=t[n]||{};r[o]=r[o]||{},r[o][n]=i}),r}function sJ(e){return Object.keys(e).forEach(t=>e[t]===void 0&&delete e[t]),e}var lJ=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=vs(this.initialArgsByStoryId[e.id],this.argsByStoryId[e.id]);this.initialArgsByStoryId[e.id]=e.initialArgs,this.argsByStoryId[e.id]=e.initialArgs,t!==lo&&this.updateFromDelta(e,t)}}updateFromDelta(e,t){let r=oJ(t,e.argTypes);this.argsByStoryId[e.id]=bs(this.argsByStoryId[e.id],r)}updateFromPersisted(e,t){let r=iJ(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]=sJ({...this.argsByStoryId[e],...t})}},wx=(e={})=>Object.entries(e).reduce((t,[r,{defaultValue:n}])=>(typeof n<"u"&&(t[r]=n),t),{}),uJ=class{constructor({globals:e={},globalTypes:t={}}){this.set({globals:e,globalTypes:t})}set({globals:e={},globalTypes:t={}}){let r=this.initialGlobals&&vs(this.initialGlobals,this.globals);this.allowedGlobalNames=new Set([...Object.keys(e),...Object.keys(t)]);let n=wx(t);this.initialGlobals={...n,...e},this.globals=this.initialGlobals,r&&r!==lo&&this.updateFromPersisted(r)}filterAllowedGlobals(e){return Object.entries(e).reduce((t,[r,n])=>(this.allowedGlobalNames.has(r)?t[r]=n:Le.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])}},cJ=We(Pg(),1),dJ=(0,cJ.default)(1)(e=>Object.values(e).reduce((t,r)=>(t[r.importPath]=t[r.importPath]||r,t),{})),pJ=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(i=>i.id.startsWith(e));let{name:r,title:n}=e;return t.find(i=>i.name===r&&i.title===n)}storyIdToEntry(e){let t=this.entries[e];if(!t)throw new jb({storyId:e});return t}importPathToEntry(e){return dJ(this.entries)[e]}},fJ=e=>typeof e=="string"?{name:e}:e,mJ=e=>typeof e=="string"?{type:e}:e,hJ=(e,t)=>{let{type:r,control:n,...i}=e,o={name:t,...i};return r&&(o.type=fJ(r)),n?o.control=mJ(n):n===!1&&(o.control={disable:!0}),o},Qp=e=>ko(e,hJ),Fe=e=>Array.isArray(e)?e:e?[e]:[],yJ=xe`
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 uo(e,t,r){let n=t,i=typeof t=="function"?t:null,{story:o}=n;o&&(Le.debug("deprecated story",o),yd(yJ));let a=AH(e),s=typeof n!="function"&&n.name||n.storyName||o?.name||a,c=[...Fe(n.decorators),...Fe(o?.decorators)],l={...o?.parameters,...n.parameters},d={...o?.args,...n.args},p={...o?.argTypes,...n.argTypes},f=[...Fe(n.loaders),...Fe(o?.loaders)],m=[...Fe(n.beforeEach),...Fe(o?.beforeEach)],y=[...Fe(n.afterEach),...Fe(o?.afterEach)],{render:g,play:v,tags:b=[],globals:T={}}=n,O=l.__id||SH(r.id,a);return{moduleExport:t,id:O,name:s,tags:b,decorators:c,parameters:l,args:d,argTypes:Qp(p),loaders:f,beforeEach:m,afterEach:y,globals:T,...g&&{render:g},...i&&{userStoryFn:i},...v&&{play:v}}}function Nc(e,t=e.title,r){let{id:n,argTypes:i}=e;return{id:vx(n||t),...e,title:t,...i&&{argTypes:Qp(i)},parameters:{fileName:r,...e.parameters}}}var gJ=e=>{let{globals:t,globalTypes:r}=e;(t||r)&&Le.error("Global args/argTypes can only be set globally",JSON.stringify({globals:t,globalTypes:r}))},bJ=e=>{let{options:t}=e;t?.storySort&&Le.error("The storySort option parameter can only be set globally")},Sa=e=>{e&&(gJ(e),bJ(e))};function vJ(e,t,r){let{default:n,__namedExportsOrder:i,...o}=e,a=Object.values(o).find(l=>gs(l));if(a){let l=Nc(a.meta.input,r,t);Sa(l.parameters);let d={meta:l,stories:{},moduleExports:e};return Object.keys(o).forEach(p=>{if(Pc(p,l)&&gs(o[p])){let f=o[p],m=uo(p,f.input,l);Sa(m.parameters),d.stories[m.id]=m,xH(f).forEach(y=>{let g=y.input.name,v=OH(m.id,g);y.input.parameters??={},y.input.parameters.__id=v,d.stories[v]=uo(g,y.input,l)})}}),d.projectAnnotations=a.meta.preview.composed,d}let s=Nc(n,r,t);Sa(s.parameters);let c={meta:s,stories:{},moduleExports:e};return Object.keys(o).forEach(l=>{if(Pc(l,s)){let d=uo(l,o[l],s);Sa(d.parameters),c.stories[d.id]=d}}),c}function _x(e,t,r){let n=r(e);return i=>t(n,i)}function Tx({componentId:e,title:t,kind:r,id:n,name:i,story:o,parameters:a,initialArgs:s,argTypes:c,...l}={}){return l}function xx(e,t){let r={},n=o=>a=>{if(!r.value)throw new Error("Decorated function called without init");return r.value={...r.value,...Tx(a)},o(r.value)},i=t.reduce((o,a)=>_x(o,a,n),e);return o=>(r.value=o,i(o))}var An=(...e)=>{let t={},r=e.filter(Boolean),n=r.reduce((i,o)=>(Object.entries(o).forEach(([a,s])=>{let c=i[a];Array.isArray(s)||typeof c>"u"?i[a]=s:ar(s)&&ar(c)?t[a]=!0:typeof s<"u"&&(i[a]=s)}),i),{});return Object.keys(t).forEach(i=>{let o=r.filter(Boolean).map(a=>a[i]).filter(a=>typeof a<"u");o.every(a=>ar(a))?n[i]=An(...o):n[i]=o[o.length-1]}),n};function Zp(e,t,r){let{moduleExport:n,id:i,name:o}=e||{},a=Ox(e,t,r),s=async E=>{let _={};for(let x of[Fe(r.loaders),Fe(t.loaders),Fe(e.loaders)]){if(E.abortSignal.aborted)return _;let S=await Promise.all(x.map(L=>L(E)));Object.assign(_,...S)}return _},c=async E=>{let _=new Array;for(let x of[...Fe(r.beforeEach),...Fe(t.beforeEach),...Fe(e.beforeEach)]){if(E.abortSignal.aborted)return _;let S=await x(E);S&&_.push(S)}return _},l=async E=>{let _=[...Fe(r.afterEach),...Fe(t.afterEach),...Fe(e.afterEach)].reverse();for(let x of _){if(E.abortSignal.aborted)return;await x(E)}},d=E=>E.originalStoryFn(E.args,E),{applyDecorators:p=xx,runStep:f}=r,m=[...Fe(e?.decorators),...Fe(t?.decorators),...Fe(r?.decorators)],y=e?.userStoryFn||e?.render||t.render||r.render,g=iv(p)(d,m),v=E=>g(E),b=e?.play??t?.play,T=ok(b);if(!y&&!T)throw new Vb({id:i});let O=E=>async()=>(await E.renderToCanvas(),E.canvas),R=e.mount??t.mount??r.mount??O,P=r.testingLibraryRender;return{storyGlobals:{},...a,moduleExport:n,id:i,name:o,story:o,originalStoryFn:y,undecoratedStoryFn:d,unboundStoryFn:v,applyLoaders:s,applyBeforeEach:c,applyAfterEach:l,playFunction:b,runStep:f,mount:R,testingLibraryRender:P,renderToCanvas:r.renderToCanvas,usesMount:T}}function Sx(e,t,r){return{...Ox(void 0,e,t),moduleExport:r}}function Ox(e,t,r){let n=[hr.DEV,hr.TEST],i=re.DOCS_OPTIONS?.autodocs===!0?[hr.AUTODOCS]:[],o=e?.tags?.includes(hr.TEST_FN)?[`!${hr.AUTODOCS}`]:[],a=RH(...n,...i,...r.tags??[],...t.tags??[],...o,...e?.tags??[]),s=An(r.parameters,t.parameters,e?.parameters),{argTypesEnhancers:c=[],argsEnhancers:l=[]}=r,d=An(r.argTypes,t.argTypes,e?.argTypes);if(e){let T=e?.userStoryFn||e?.render||t.render||r.render;s.__isArgsStory=T&&T.length>0}let p={...r.args,...t.args,...e?.args},f={...t.globals,...e?.globals},m={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:a,parameters:s,initialArgs:p,argTypes:d,storyGlobals:f};m.argTypes=c.reduce((T,O)=>O({...m,argTypes:T}),m.argTypes);let y={...p};m.initialArgs=[...l].reduce((T,O)=>({...T,...O({...m,initialArgs:T})}),y);let{name:g,story:v,...b}=m;return b}function Ax(e){let{args:t}=e,r={...e,allArgs:void 0,argsByTarget:void 0};if(re.FEATURES?.argTypeTargetsV7){let o=aJ(e);r={...e,allArgs:e.args,argsByTarget:o,args:o[Ex]||{}}}let n=Object.entries(r.args).reduce((o,[a,s])=>{if(!r.argTypes[a]?.mapping)return o[a]=s,o;let c=l=>{let d=r.argTypes[a].mapping;return d&&l in d?d[l]:l};return o[a]=Array.isArray(s)?s.map(c):c(s),o},{}),i=Object.entries(n).reduce((o,[a,s])=>{let c=r.argTypes[a]||{};return ik(c,n,r.globals)&&(o[a]=s),o},{});return{...r,unmappedArgs:t,args:i}}var kc=(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)?(Le.warn(xe`
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?kc(e[0],t,new Set(r)):{name:"other",value:"unknown"}}:{name:"object",value:ko(e,i=>kc(i,t,new Set(r)))}):{name:"object",value:{}}},Rx=e=>{let{id:t,argTypes:r={},initialArgs:n={}}=e,i=ko(n,(a,s)=>({name:s,type:kc(a,`${t}.${s}`,new Set)})),o=ko(r,(a,s)=>({name:s}));return An(i,o,r)};Rx.secondPass=!0;var Oy=(e,t)=>Array.isArray(t)?t.includes(e):e.match(t),Cx=(e,t,r)=>!t&&!r?e:e&&ZH(e,(n,i)=>{let o=n.name||i.toString();return!!(!t||Oy(o,t))&&(!r||!Oy(o,r))}),EJ=(e,t,r)=>{let{type:n,options:i}=e;if(n){if(r.color&&r.color.test(t)){let o=n.name;if(o==="string")return{control:{type:"color"}};o!=="enum"&&Le.warn(`Addon controls: Control of type color only supports string, received "${o}" 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:o}=n;return{control:{type:o?.length<=5?"radio":"select"},options:o}}case"function":case"symbol":return null;default:return{control:{type:i?"select":"object"}}}}},ef=e=>{let{argTypes:t,parameters:{__isArgsStory:r,controls:{include:n=null,exclude:i=null,matchers:o={}}={}}}=e;if(!r)return t;let a=Cx(t,n,i),s=ko(a,(c,l)=>c?.type&&EJ(c,l.toString(),o));return An(s,a)};ef.secondPass=!0;function Es({argTypes:e,argTypesEnhancers:t,decorators:r,loaders:n,beforeEach:i,afterEach:o,initialGlobals:a,...s}){return{...e&&{argTypes:Qp(e)},decorators:Fe(r),loaders:Fe(n),beforeEach:Fe(i),afterEach:Fe(o),argTypesEnhancers:[...t||[],Rx,ef],initialGlobals:a,...s}}var wJ=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 Px(e){return async(t,r,n)=>{await e.reduceRight((i,o)=>async()=>o(t,i,n),async()=>r(n))()}}function Io(e,t){return e.map(r=>r.default?.[t]??r[t]).filter(Boolean)}function jr(e,t,r={}){return Io(e,t).reduce((n,i)=>{let o=Fe(i);return r.reverseFileOrder?[...o,...n]:[...n,...o]},[])}function Oa(e,t){return Object.assign({},...Io(e,t))}function Wi(e,t){return Io(e,t).pop()}function si(e){let t=jr(e,"argTypesEnhancers"),r=Io(e,"runStep"),n=jr(e,"beforeAll");return{parameters:An(...Io(e,"parameters")),decorators:jr(e,"decorators",{reverseFileOrder:!(re.FEATURES?.legacyDecoratorFileOrder??!1)}),args:Oa(e,"args"),argsEnhancers:jr(e,"argsEnhancers"),argTypes:Oa(e,"argTypes"),argTypesEnhancers:[...t.filter(i=>!i.secondPass),...t.filter(i=>i.secondPass)],initialGlobals:Oa(e,"initialGlobals"),globalTypes:Oa(e,"globalTypes"),loaders:jr(e,"loaders"),beforeAll:wJ(n),beforeEach:jr(e,"beforeEach"),afterEach:jr(e,"afterEach"),render:Wi(e,"render"),renderToCanvas:Wi(e,"renderToCanvas"),applyDecorators:Wi(e,"applyDecorators"),runStep:Px(r),tags:jr(e,"tags"),mount:Wi(e,"mount"),testingLibraryRender:Wi(e,"testingLibraryRender")}}function Mx(){try{return!!globalThis.__vitest_browser__||!!globalThis.window?.navigator?.userAgent?.match(/StorybookTestRunner/)}catch{return!1}}function tf(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 rf(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,...Nx(globalThis.document)],i=async()=>{if(t||e?.aborted)return;let o=n.flatMap(a=>a?.getAnimations?.()||[]).filter(a=>a.playState==="running"&&!_J(a));o.length>0&&(await Promise.allSettled(o.map(async a=>a.finished)),await i())};i().then(r)},100)}),new Promise(r=>setTimeout(()=>{t=!0,r(void 0)},5e3))])}function Nx(e){return[e,...e.querySelectorAll("*")].reduce((t,r)=>("shadowRoot"in r&&r.shadowRoot&&t.push(r.shadowRoot,...Nx(r.shadowRoot)),t),[])}function _J(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 nf=class{constructor(){this.reports=[]}async addReport(e){this.reports.push(e)}};function kx(e,t,r){return gs(e)?{story:e.input,meta:e.meta.input,preview:e.meta.preview.composed}:{story:e,meta:TH(t)?t.input:t,preview:r}}function TJ(e){globalThis.defaultProjectAnnotations=e}var xJ="ComposedStory",SJ="Unnamed Story";function OJ(e){return e?si([e]):{}}function AJ(e){let t=Array.isArray(e)?e:[e];return globalThis.globalProjectAnnotations=si([...bx(),globalThis.defaultProjectAnnotations??{},si(t.map(OJ))]),globalThis.globalProjectAnnotations??{}}var Hr=[];function Ix(e,t,r,n,i){if(e===void 0)throw new Error("Expected a story but received undefined.");t.title=t.title??xJ;let o=Nc(t),a=i||e.storyName||e.story?.name||e.name||SJ,s=uo(a,e,o),c=Es(si([n??globalThis.globalProjectAnnotations??{},r??{}])),l=Zp(s,o,c),d={...wx(c.globalTypes),...c.initialGlobals,...l.storyGlobals},p=new nf,f=()=>{let b=Ax({hooks:new Cd,globals:d,args:{...l.initialArgs},viewMode:"story",reporting:p,loaded:{},abortSignal:new AbortController().signal,step:(T,O)=>l.runStep(T,O,b),canvasElement:null,canvas:{},userEvent:{},globalTypes:c.globalTypes,...l,context:null,mount:null});return b.parameters.__isPortableStory=!0,b.context=b,l.renderToCanvas&&(b.renderToCanvas=async()=>{let T=await l.renderToCanvas?.({componentId:l.componentId,title:l.title,id:l.id,name:l.name,tags:l.tags,showMain:()=>{},showError:O=>{throw new Error(`${O.title}
890
+ ${O.description}`)},showException:O=>{throw O},forceRemount:!0,storyContext:b,storyFn:()=>l.unboundStoryFn(b),unboundStoryFn:l.unboundStoryFn},b.canvasElement);T&&Hr.push(T)}),b.mount=l.mount(b),b},m,y=async b=>{let T=f();return T.canvasElement??=globalThis?.document?.body,m&&(T.loaded=m.loaded),Object.assign(T,b),l.playFunction(T)},g=b=>{let T=f();return Object.assign(T,b),MJ(l,T)},v=l.playFunction?y:void 0;return Object.assign(function(b){let T=f();return m&&(T.loaded=m.loaded),T.args={...T.initialArgs,...b},l.unboundStoryFn(T)},{id:l.id,storyName:a,load:async()=>{for(let T of[...Hr].reverse())await T();Hr.length=0;let b=f();b.loaded=await l.applyLoaders(b),Hr.push(...(await l.applyBeforeEach(b)).filter(Boolean)),m=b},globals:d,args:l.initialArgs,parameters:l.parameters,argTypes:l.argTypes,play:v,run:g,reporting:p,tags:l.tags})}var RJ=(e,t,r,n)=>Ix(e,t,r,{},n);function CJ(e,t,r=RJ){let{default:n,__esModule:i,__namedExportsOrder:o,...a}=e,s=n;return Object.entries(a).reduce((c,[l,d])=>{let{story:p,meta:f}=kx(d);return!s&&f&&(s=f),Pc(l,s)?Object.assign(c,{[l]:r(p,s,t,l)}):c},{})}function PJ(e){return e.extend({mount:async({mount:t,page:r},n)=>{await n(async(i,...o)=>{if(!("__pw_type"in i)||"__pw_type"in i&&i.__pw_type!=="jsx")throw new Error(xe`
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:a,...s}=i;await r.evaluate(async l=>{let d=await globalThis.__pwUnwrapObject?.(l);return("__pw_type"in d?d.type:d)?.load?.()},s);let c=await t(i,...o);return await r.evaluate(async l=>{let d=await globalThis.__pwUnwrapObject?.(l),p="__pw_type"in d?d.type:d,f=document.querySelector("#root");return p?.play?.({canvasElement:f})},s),c})}})}async function MJ(e,t){for(let o of[...Hr].reverse())await o();if(Hr.length=0,!t.canvasElement){let o=document.createElement("div");globalThis?.document?.body?.appendChild(o),t.canvasElement=o,Hr.push(()=>{globalThis?.document?.body?.contains(o)&&globalThis?.document?.body?.removeChild(o)})}if(t.loaded=await e.applyLoaders(t),t.abortSignal.aborted)return;Hr.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 Rd({playFunction:r.toString()})}),await r(t));let i;Mx()?i=tf():await rf(t.abortSignal),await e.applyAfterEach(t),await i?.()}var Ay=1e3,NJ=1e4,jx=class{constructor(e,t,r){this.importFn=t,this.storyIndex=new pJ(e),this.projectAnnotations=Es(si([...bx(),r]));let{initialGlobals:n,globalTypes:i}=this.projectAnnotations;this.args=new lJ,this.userGlobals=new uJ({globals:n,globalTypes:i}),this.hooks={},this.cleanupCallbacks={},this.processCSFFileWithCache=(0,cu.default)(Ay)(vJ),this.prepareMetaWithCache=(0,cu.default)(Ay)(Sx),this.prepareStoryWithCache=(0,cu.default)(NJ)(Zp)}setProjectAnnotations(e){this.projectAnnotations=Es(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 Hb({storyId:e});let n=t.meta,i=this.prepareStoryWithCache(r,n,t.projectAnnotations??this.projectAnnotations);return this.args.setInitial(i),this.hooks[i.id]=this.hooks[i.id]||new Cd,i}componentStoriesFromCSFFile({csfFile:e}){return Object.keys(this.storyIndex.entries).filter(t=>!!e.stories[t]).map(t=>this.storyFromCSFFile({storyId:t,csfFile:e}))}async loadEntry(e){let t=await this.storyIdToEntry(e),r=t.type==="docs"?t.storiesImports:[],[n,...i]=await Promise.all([this.importFn(t.importPath),...r.map(o=>{let a=this.storyIndex.importPathToEntry(o);return this.loadCSFFileByStoryId(a.id)})]);return{entryExports:n,csfFiles:i}}getStoryContext(e,{forceInitialArgs:t=!1}={}){let r=this.userGlobals.get(),{initialGlobals:n}=this.userGlobals,i=new nf;return Ax({...e,args:t?e.initialArgs:this.args.get(e.id),initialGlobals:n,globalTypes:this.projectAnnotations.globalTypes,userGlobals:r,reporting:i,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 Fb;let r=Object.entries(this.storyIndex.entries).reduce((n,[i,o])=>{if(o.type==="docs")return n;let a=t[o.importPath],s=this.storyFromCSFFile({storyId:i,csfFile:a});return!e.includeDocsOnly&&s.parameters.docsOnly||(n[i]=Object.entries(s).reduce((c,[l,d])=>l==="story"&&o.subtype==="test"?{...c,story:o.parentName}:l==="moduleExport"||typeof d=="function"?c:Array.isArray(d)?Object.assign(c,{[l]:d.slice().sort()}):Object.assign(c,{[l]:d}),{args:s.initialArgs,globals:{...this.userGlobals.initialGlobals,...this.userGlobals.globals,...s.storyGlobals},storyId:o.parent?o.parent:i})),n},{});return console.log("extract: stories",r),r}};function kJ(e){return e.startsWith("\\\\?\\")?e:e.replace(/\\/g,"/")}var IJ=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 Ry(e){return e.flatMap(t=>t.split("/")).filter(Boolean).join("/")}var qx=(e,t,r)=>{let{directory:n,importPathMatcher:i,titlePrefix:o=""}=t||{};typeof e=="number"&&Ge.warn(xe`
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 a=kJ(String(e));if(i.exec(a)){if(!r){let s=a.replace(n,""),c=Ry([o,s]).split("/");return c=IJ(c),c.join("/")}return o?Ry([o,r]):r}},jJ=(e,t,r)=>{for(let n=0;n<t.length;n+=1){let i=qx(e,t[n],r);if(i)return i}return r||void 0},Cy=/\s*\/\s*/,qJ=(e={})=>(t,r)=>{if(t.title===r.title&&!e.includeNames)return 0;let n=e.method||"configure",i=e.order||[],o=t.title.trim().split(Cy),a=r.title.trim().split(Cy);e.includeNames&&(o.push(t.name),a.push(r.name));let s=0;for(;o[s]||a[s];){if(!o[s])return-1;if(!a[s])return 1;let c=o[s],l=a[s];if(c!==l){let p=i.indexOf(c),f=i.indexOf(l),m=i.indexOf("*");return p!==-1||f!==-1?(p===-1&&(m!==-1?p=m:p=i.length),f===-1&&(m!==-1?f=m:f=i.length),p-f):n==="configure"?0:c.localeCompare(l,e.locales?e.locales:void 0,{numeric:!0,sensitivity:"accent"})}let d=i.indexOf(c);d===-1&&(d=i.indexOf("*")),i=d!==-1&&Array.isArray(i[d+1])?i[d+1]:[],s+=1}return 0},FJ=(e,t,r)=>{if(t){let n;typeof t=="function"?n=t:n=qJ(t),e.sort(n)}else e.sort((n,i)=>r.indexOf(n.importPath)-r.indexOf(i.importPath));return e},DJ=(e,t,r)=>{try{return FJ(e,t,r)}catch(n){throw new Error(xe`
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
+ `)}},pl=new Error("prepareAborted"),{AbortController:Py}=globalThis;function My(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 Ic=class{constructor(e,t,r,n,i,o,a={autoplay:!0,forceInitialArgs:!1},s){this.channel=e,this.store=t,this.renderToScreen=r,this.callbacks=n,this.id=i,this.viewMode=o,this.renderOptions=a,this.type="story",this.notYetRendered=!0,this.rerenderEnqueued=!1,this.disableKeyListeners=!1,this.teardownRender=()=>{},this.torndown=!1,this.abortController=new Py,this.renderId=Date.now(),s&&(this.story=s,this.phase="preparing")}async runPhase(e,t,r){this.phase=t,this.channel.emit(wn,{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(wn,{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),pl}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:i,componentId:o,title:a,name:s,tags:c,applyLoaders:l,applyBeforeEach:d,applyAfterEach:p,unboundStoryFn:f,playFunction:m,runStep:y}=n;t&&!e&&(this.cancelRender(),this.abortController=new Py);let g=this.abortController.signal,v=!1,b=n.usesMount;try{let T={...this.storyContext(),viewMode:this.viewMode,abortSignal:g,canvasElement:r,loaded:{},step:(J,N)=>y(J,N,T),context:null,canvas:{},userEvent:{},renderToCanvas:async()=>{let J=await this.renderToScreen(O,r);this.teardownRender=J||(()=>{}),v=!0},mount:async(...J)=>{this.callbacks.showStoryDuringRender?.();let N=null;return await this.runPhase(g,"rendering",async()=>{N=await n.mount(T)(...J)}),b&&await this.runPhase(g,"playing"),N}};T.context=T;let O={componentId:o,title:a,kind:a,id:i,name:s,story:s,tags:c,...this.callbacks,showError:J=>(this.phase="errored",this.callbacks.showError(J)),showException:J=>(this.phase="errored",this.callbacks.showException(J)),forceRemount:t||this.notYetRendered,storyContext:T,storyFn:()=>f(T),unboundStoryFn:f};if(await this.runPhase(g,"loading",async()=>{T.loaded=await l(T)}),g.aborted)return;let R=await d(T);if(this.store.addCleanupCallbacks(n,...R),this.checkIfAborted(g)||(!v&&!b&&await T.mount(),this.notYetRendered=!1,g.aborted))return;let P=this.story.parameters?.test?.dangerouslyIgnoreUnhandledErrors===!0,E=new Set,_=J=>{J.error&&E.add(J.error)},x=J=>{J.reason&&E.add(J.reason)};if(this.renderOptions.autoplay&&t&&m&&this.phase!=="errored"){window?.addEventListener?.("error",_),window?.addEventListener?.("unhandledrejection",x),this.disableKeyListeners=!0;try{if(b?await m(T):(T.mount=async()=>{throw new Rd({playFunction:m.toString()})},await this.runPhase(g,"playing",async()=>m(T))),!v)throw new zb;this.checkIfAborted(g),!P&&E.size>0?await this.runPhase(g,"errored"):await this.runPhase(g,"played")}catch(J){if(this.callbacks.showStoryDuringRender?.(),await this.runPhase(g,"errored",async()=>{this.channel.emit(Dg,My(J))}),this.story.parameters.throwPlayFunctionExceptions!==!1)throw J;console.error(J)}if(!P&&E.size>0&&this.channel.emit(Lg,Array.from(E).map(My)),this.disableKeyListeners=!1,window?.removeEventListener?.("unhandledrejection",x),window?.removeEventListener?.("error",_),g.aborted)return}await this.runPhase(g,"completing",async()=>{Mx()?this.store.addCleanupCallbacks(n,tf()):await rf(g)}),await this.runPhase(g,"completed",async()=>{this.channel.emit(Ya,i)}),this.phase!=="errored"&&await this.runPhase(g,"afterEach",async()=>{await p(T)});let S=!P&&E.size>0,L=T.reporting.reports.some(J=>J.status==="failed"),j=S||L;await this.runPhase(g,"finished",async()=>this.channel.emit(Mu,{storyId:i,status:j?"error":"success",reporters:T.reporting.reports}))}catch(T){this.phase="errored",this.callbacks.showException(T),await this.runPhase(g,"finished",async()=>this.channel.emit(Mu,{storyId:i,status:"error",reporters:[]}))}this.rerenderEnqueued&&(this.rerenderEnqueued=!1,this.render())}async rerender(){if(this.isPending()&&this.phase!=="playing")this.rerenderEnqueued=!0;else return this.render()}async remount(){return await this.teardown(),this.render({forceRemount:!0})}cancelRender(){this.abortController.abort()}cancelPlayFunction(){this.phase==="playing"&&(this.abortController.abort(),this.runPhase(this.abortController.signal,"aborted"))}async teardown(){this.torndown=!0,this.cancelRender(),this.story&&await this.store.cleanupStory(this.story);for(let e=0;e<3;e+=1){if(!this.isPending()){await this.teardownRender();return}await new Promise(t=>setTimeout(t,0))}window?.location?.reload?.(),await new Promise(()=>{})}},{fetch:LJ}=re,$J="./index.json",Fx=class{constructor(e,t,r=Lt.getChannel(),n=!0){this.importFn=e,this.getProjectAnnotations=t,this.channel=r,this.storyRenders=[],this.storeInitializationPromise=new Promise((i,o)=>{this.resolveStoreInitializationPromise=i,this.rejectStoreInitializationPromise=o}),n&&this.initialize()}get storyStore(){return new Proxy({},{get:(e,t)=>{if(this.storyStoreValue)return yd("Accessing the Story Store is deprecated and will be removed in 9.0"),this.storyStoreValue[t];throw new Jb}})}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(Bg,{userAgent:t})}catch(e){this.rejectStoreInitializationPromise(e)}}ready(){return this.storeInitializationPromise}setupListeners(){this.channel.on(Gg,this.onStoryIndexChanged.bind(this)),this.channel.on(md,this.onUpdateGlobals.bind(this)),this.channel.on(hd,this.onUpdateArgs.bind(this)),this.channel.on(tb,this.onRequestArgTypesInfo.bind(this)),this.channel.on(pd,this.onResetArgs.bind(this)),this.channel.on(dd,this.onForceReRender.bind(this)),this.channel.on(Ka,this.onForceRemount.bind(this)),this.channel.on(Qg,this.onStoryHotUpdated.bind(this))}async getProjectAnnotationsOrRenderError(){try{let e=await this.getProjectAnnotations();if(this.renderToCanvas=e.renderToCanvas,!this.renderToCanvas)throw new Db;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 LJ($J);if(e.status===200)return e.json();throw new Lb({text:await e.text()})}initializeWithStoryIndex(e){if(!this.projectAnnotationsBeforeInitialization)throw new Error("Cannot call initializeWithStoryIndex until project annotations resolve");this.storyStoreValue=new jx(e,this.importFn,this.projectAnnotationsBeforeInitialization),delete this.projectAnnotationsBeforeInitialization,this.setInitialGlobals(),this.resolveStoreInitializationPromise()}async setInitialGlobals(){this.emitGlobals()}emitGlobals(){if(!this.storyStoreValue)throw new Ot({methodName:"emitGlobals"});let e={globals:this.storyStoreValue.userGlobals.get()||{},globalTypes:this.storyStoreValue.projectAnnotations.globalTypes||{}};this.channel.emit(Hg,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 Ot({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 Ot({methodName:"onUpdateGlobals"});if(this.storyStoreValue.userGlobals.update(e),t){let{initialGlobals:r,storyGlobals:n,userGlobals:i,globals:o}=this.storyStoreValue.getStoryContext(t);this.channel.emit(ho,{initialGlobals:r,userGlobals:i,storyGlobals:n,globals:o})}else{let{initialGlobals:r,globals:n}=this.storyStoreValue.userGlobals;this.channel.emit(ho,{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 Ot({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(Jg,{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(Nu,{id:e,success:!0,payload:{argTypes:r?.argTypes||{}},error:null})}catch(r){this.channel.emit(Nu,{id:e,success:!1,error:r?.message})}}async onResetArgs({storyId:e,argNames:t}){if(!this.storyStoreValue)throw new Ot({methodName:"onResetArgs"});let r=this.storyRenders.find(i=>i.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((i,o)=>(i[o]=r.initialArgs[o],i),{});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 Ot({methodName:"renderStoryToElement"});let i=new Ic(this.channel,this.storyStoreValue,this.renderToCanvas,r,e.id,"docs",n,e);return i.renderToElement(t),this.storyRenders.push(i),async()=>{await this.teardownRender(i)}}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 Ot({methodName:"loadStory"});return this.storyStoreValue.loadStory({storyId:e})}getStoryContext(e,{forceInitialArgs:t=!1}={}){if(!this.storyStoreValue)throw new Ot({methodName:"getStoryContext"});return this.storyStoreValue.getStoryContext(e,{forceInitialArgs:t})}async extract(e){if(!this.storyStoreValue)throw new Ot({methodName:"extract"});if(this.previewEntryError)throw this.previewEntryError;return await this.storyStoreValue.cacheAllCSFFiles(),this.storyStoreValue.extract(e)}renderPreviewEntryError(e,t){this.previewEntryError=t,Le.error(e),Le.error(t),this.channel.emit(qg,t)}},of=class{constructor(e,t,r,n){this.channel=e,this.store=t,this.renderStoryToElement=r,this.storyIdByName=i=>{let o=this.nameToStoryId.get(i);if(o)return o;throw new Error(`No story found with that name: ${i}`)},this.componentStories=()=>this.componentStoriesValue,this.componentStoriesFromCSFFile=i=>this.store.componentStoriesFromCSFFile({csfFile:i}),this.storyById=i=>{if(!i){if(!this.primaryStory)throw new Error("No primary story defined for docs entry. Did you forget to use `<Meta>`?");return this.primaryStory}let o=this.storyIdToCSFFile.get(i);if(!o)throw new Error(`Called \`storyById\` for story that was never loaded: ${i}`);return this.store.storyFromCSFFile({storyId:i,csfFile:o})},this.getStoryContext=i=>({...this.store.getStoryContext(i),loaded:{},viewMode:"docs"}),this.loadStory=i=>this.store.loadStory({storyId:i}),this.componentStoriesValue=[],this.storyIdToCSFFile=new Map,this.exportToStory=new Map,this.exportsToCSFFile=new Map,this.nameToStoryId=new Map,this.attachedCSFFiles=new Set,n.forEach((i,o)=>{this.referenceCSFFile(i)})}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(gs(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(xe`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})};case"story":default:return r}}},Ny=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 pl;let{importPath:r,title:n}=this.entry,i=this.store.processCSFFileWithCache(e,r,n),o=Object.keys(i.stories)[0];this.story=this.store.storyFromCSFFile({storyId:o,csfFile:i}),this.csfFiles=[i,...t],this.preparing=!1}isEqual(e){return!!(this.id===e.id&&this.story&&this.story===e.story)}docsContext(e){if(!this.csfFiles)throw new Error("Cannot render docs before preparing");let t=new of(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 i=await n.renderer(),{render:o}=i,a=async()=>{try{await o(r,n,e),this.channel.emit(cd,this.id)}catch(s){this.callbacks.showException(s)}};return this.rerender=async()=>a(),this.teardownRender=async({viewModeChanged:s})=>{!s||!e||i.unmount(e)},a()}async teardown({viewModeChanged:e}={}){this.teardownRender?.({viewModeChanged:e}),this.torndown=!0}},ky=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 pl;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 of(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 i={...n,page:this.exports.default},o=await n.renderer(),{render:a}=o,s=async()=>{try{await a(r,i,e),this.channel.emit(cd,this.id)}catch(c){this.callbacks.showException(c)}};return this.rerender=async()=>s(),this.teardownRender=async({viewModeChanged:c}={})=>{!c||!e||(o.unmount(e),this.torndown=!0)},s()}async teardown({viewModeChanged:e}={}){this.teardownRender?.({viewModeChanged:e}),this.torndown=!0}},BJ=globalThis;function UJ(e){let t=e.composedPath&&e.composedPath()[0]||e.target;return/input|textarea/i.test(t.tagName)||t.getAttribute("contenteditable")!==null}function HJ({tags:e}){return e?.includes(hr.UNATTACHED_MDX)||e?.includes(hr.ATTACHED_MDX)}function du(e){return e.type==="story"}function JJ(e){return e.type==="docs"}function VJ(e){return JJ(e)&&e.subtype==="csf"}var Dx=class extends Fx{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(),BJ.onkeydown=this.onKeydown.bind(this),this.channel.on(fd,this.onSetCurrentStory.bind(this)),this.channel.on(Zg,this.onUpdateQueryParams.bind(this)),this.channel.on($g,this.onPreloadStories.bind(this))}async setInitialGlobals(){if(!this.storyStoreValue)throw new Ot({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 Ot({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 Bb):this.renderStoryLoadingException(e,new Ub({storySpecifier:e.toString()}));return}let{id:n,type:i}=r;this.selectionStore.setSelection({storyId:n,viewMode:i}),this.channel.emit(Kg,this.selectionStore.selection),this.channel.emit(Cu,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)&&!UJ(e)){let{altKey:t,ctrlKey:r,metaKey:n,shiftKey:i,key:o,code:a,keyCode:s}=e;this.channel.emit(Ug,{event:{altKey:t,ctrlKey:r,metaKey:n,shiftKey:i,key:o,code:a,keyCode:s}})}}async onSetCurrentStory(e){this.selectionStore.setSelection({viewMode:"story",...e}),await this.storeInitializationPromise,this.channel.emit(Cu,this.selectionStore.selection),this.renderSelection()}onUpdateQueryParams(e){this.selectionStore.setQueryParams(e)}async onUpdateGlobals({globals:e}){let t=this.currentRender instanceof Ic&&this.currentRender.story||void 0;super.onUpdateGlobals({globals:e,currentStory:t}),(this.currentRender instanceof ky||this.currentRender instanceof Ny)&&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 Ot({methodName:"renderSelection"});let{selection:r}=this.selectionStore;if(!r)throw new Error("Cannot call renderSelection as no selection was made");let{storyId:n}=r,i;try{i=await this.storyStoreValue.storyIdToEntry(n)}catch(p){this.currentRender&&await this.teardownRender(this.currentRender),this.renderStoryLoadingException(n,p);return}let o=this.currentSelection?.storyId!==n,a=this.currentRender?.type!==i.type;i.type==="story"?this.view.showPreparingStory({immediate:a}):this.view.showPreparingDocs({immediate:a}),this.currentRender?.isPreparing()&&await this.teardownRender(this.currentRender);let s;i.type==="story"?s=new Ic(this.channel,this.storyStoreValue,t,this.mainStoryCallbacks(n),n,"story"):HJ(i)?s=new ky(this.channel,this.storyStoreValue,i,this.mainStoryCallbacks(n)):s=new Ny(this.channel,this.storyStoreValue,i,this.mainStoryCallbacks(n));let c=this.currentSelection;this.currentSelection=r;let l=this.currentRender;this.currentRender=s;try{await s.prepare()}catch(p){l&&await this.teardownRender(l),p!==pl&&this.renderStoryLoadingException(n,p);return}let d=!o&&l&&!s.isEqual(l);if(e&&du(s)&&(Tr(!!s.story),this.storyStoreValue.args.updateFromPersisted(s.story,e)),l&&!l.torndown&&!o&&!d&&!a){this.currentRender=l,this.channel.emit(Xg,n),this.view.showMain();return}if(l&&await this.teardownRender(l,{viewModeChanged:a}),c&&(o||a)&&this.channel.emit(Vg,n),du(s)){Tr(!!s.story);let{parameters:p,initialArgs:f,argTypes:m,unmappedArgs:y,initialGlobals:g,userGlobals:v,storyGlobals:b,globals:T}=this.storyStoreValue.getStoryContext(s.story);this.channel.emit(Wg,{id:n,parameters:p,initialArgs:f,argTypes:m,args:y}),this.channel.emit(ho,{userGlobals:v,storyGlobals:b,globals:T,initialGlobals:g})}else{let{parameters:p}=this.storyStoreValue.projectAnnotations,{initialGlobals:f,globals:m}=this.storyStoreValue.userGlobals;if(this.channel.emit(ho,{globals:m,initialGlobals:f,storyGlobals:{},userGlobals:m}),VJ(s)||s.entry.tags?.includes(hr.ATTACHED_MDX)){if(!s.csfFiles)throw new $b({storyId:n});({parameters:p}=this.storyStoreValue.preparedMetaFromCSFFile({csfFile:s.csfFiles[0]}))}this.channel.emit(Fg,{id:n,parameters:p})}du(s)?(Tr(!!s.story),this.storyRenders.push(s),this.currentRender.renderToElement(this.view.prepareForStory(s.story))):this.currentRender.renderToElement(this.view.prepareForDocs(),this.renderStoryToElement.bind(this))}async teardownRender(e,{viewModeChanged:t=!1}={}){this.storyRenders=this.storyRenders.filter(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(Pu)}renderStoryLoadingException(e,t){Le.error(t),this.view.showErrorDisplay(t),this.channel.emit(Pu,e)}renderException(e,t){let{name:r="Error",message:n=String(t),stack:i}=t,o=this.currentRender?.renderId;this.channel.emit(Yg,{name:r,message:n,stack:i}),this.channel.emit(wn,{newPhase:"errored",renderId:o,storyId:e}),this.view.showErrorDisplay(t),Le.error(`Error rendering story '${e}':`),Le.error(t)}renderError(e,{title:t,description:r}){let n=this.currentRender?.renderId;this.channel.emit(zg,{title:t,description:r}),this.channel.emit(wn,{newPhase:"errored",renderId:n,storyId:e}),this.view.showErrorDisplay({message:t,stack:r}),Le.error(`Error rendering story ${t}: ${r}`)}},jc=We(sd(),1),zJ=We(sd(),1),Iy=/^[a-zA-Z0-9 _-]*$/,Lx=/^-?[0-9]+(\.[0-9]+)?$/,GJ=/^#([a-f0-9]{3,4}|[a-f0-9]{6}|[a-f0-9]{8})$/i,$x=/^(rgba?|hsla?)\(([0-9]{1,3}),\s?([0-9]{1,3})%?,\s?([0-9]{1,3})%?,?\s?([0-9](\.[0-9]{1,2})?)?\)$/i,qc=(e="",t)=>e===null||e===""||!Iy.test(e)?!1:t==null||t instanceof Date||typeof t=="number"||typeof t=="boolean"?!0:typeof t=="string"?Iy.test(t)||Lx.test(t)||GJ.test(t)||$x.test(t):Array.isArray(t)?t.every(r=>qc(e,r)):ar(t)?Object.entries(t).every(([r,n])=>qc(r,n)):!1,WJ={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($x);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 Lx.test(e)?Number(e):e}},jy=e=>{let t=e.split(";").map(r=>r.replace("=","~").replace(":","="));return Object.entries((0,zJ.parse)(t.join(";"),WJ)).reduce((r,[n,i])=>qc(n,i)?Object.assign(r,{[n]:i}):(Ge.warn(xe`
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:Bx,document:Wr}=re;function KJ(e){let t=(e||"").match(/^\/story\/(.+)/);if(!t)throw new Error(`Invalid path '${e}', must start with '/story/'`);return t[1]}var Ux=({selection:e,extraParams:t})=>{let r=Wr?.location.search.slice(1),{path:n,selectedKind:i,selectedStory:o,...a}=(0,jc.parse)(r);return`?${(0,jc.stringify)({...a,...t,...e&&{id:e.storyId,viewMode:e.viewMode}})}`},YJ=e=>{if(!e)return;let t=Ux({selection:e}),{hash:r=""}=Wr.location;Wr.title=e.storyId,Bx.replaceState({},"",`${Wr.location.pathname}${t}${r}`)},XJ=e=>e!=null&&typeof e=="object"&&Array.isArray(e)===!1,co=e=>{if(e!==void 0){if(typeof e=="string")return e;if(Array.isArray(e))return co(e[0]);if(XJ(e))return co(Object.values(e).filter(Boolean))}},QJ=()=>{if(typeof Wr<"u"){let e=Wr.location.search.slice(1),t=(0,jc.parse)(e),r=typeof t.args=="string"?jy(t.args):void 0,n=typeof t.globals=="string"?jy(t.globals):void 0,i=co(t.viewMode);if(typeof i!="string"||!i)i="story";else if(!i.match(/docs|story/))return null;let o=co(t.path),a=o?KJ(o):co(t.id);if(a)return{storySpecifier:a,args:r,globals:n,viewMode:i}}return null},Hx=class{constructor(){this.selectionSpecifier=QJ()}setSelection(e){this.selection=e,YJ(this.selection)}setQueryParams(e){let t=Ux({extraParams:e}),{hash:r=""}=Wr.location;Bx.replaceState({},"",`${Wr.location.pathname}${t}${r}`)}},ZJ=We(FC(),1),eV=We(sd(),1),{document:ct}=re,qy=100,Jx=(e=>(e.MAIN="MAIN",e.NOPREVIEW="NOPREVIEW",e.PREPARING_STORY="PREPARING_STORY",e.PREPARING_DOCS="PREPARING_DOCS",e.ERROR="ERROR",e))(Jx||{}),pu={PREPARING_STORY:"sb-show-preparing-story",PREPARING_DOCS:"sb-show-preparing-docs",MAIN:"sb-show-main",NOPREVIEW:"sb-show-nopreview",ERROR:"sb-show-errordisplay"},fu={centered:"sb-main-centered",fullscreen:"sb-main-fullscreen",padded:"sb-main-padded"},Fy=new ZJ.default({escapeXML:!0}),Vx=class{constructor(){if(this.testing=!1,typeof ct<"u"){let{__SPECIAL_TEST_PARAMETER__:e}=(0,eV.parse)(ct.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),ct.documentElement.scrollTop=0,ct.documentElement.scrollLeft=0,this.storyRoot()}storyRoot(){return ct.getElementById("storybook-root")}prepareForDocs(){return this.showMain(),this.showDocs(),this.applyLayout("fullscreen"),ct.documentElement.scrollTop=0,ct.documentElement.scrollLeft=0,this.docsRoot()}docsRoot(){return ct.getElementById("storybook-docs")}applyLayout(e="padded"){if(e==="none"){ct.body.classList.remove(this.currentLayoutClass),this.currentLayoutClass=null;return}this.checkIfLayoutExists(e);let t=fu[e];ct.body.classList.remove(this.currentLayoutClass),ct.body.classList.add(t),this.currentLayoutClass=t}checkIfLayoutExists(e){fu[e]||Le.warn(xe`
921
+ The desired layout: ${e} is not a valid option.
922
+ The possible options are: ${Object.keys(fu).join(", ")}, none.
923
+ `)}showMode(e){clearTimeout(this.preparingTimeout),Object.keys(Jx).forEach(t=>{t===e?ct.body.classList.add(pu[t]):ct.body.classList.remove(pu[t])})}showErrorDisplay({message:e="",stack:t=""}){let r=e,n=t,i=e.split(`
924
+ `);i.length>1&&([r]=i,n=i.slice(1).join(`
925
+ `).replace(/^\n/,"")),ct.getElementById("error-message").innerHTML=Fy.toHtml(r),ct.getElementById("error-stack").innerHTML=Fy.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"),qy)}showPreparingDocs({immediate:e=!1}={}){clearTimeout(this.preparingTimeout),e?this.showMode("PREPARING_DOCS"):this.preparingTimeout=setTimeout(()=>this.showMode("PREPARING_DOCS"),qy)}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(){ct.body.classList.add(pu.MAIN)}},tV=class extends Dx{constructor(t,r){super(t,r,new Hx,new Vx),this.importFn=t,this.getProjectAnnotations=r,re.__STORYBOOK_PREVIEW__=this}},{document:En}=re,rV=["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"],nV="script",Dy="scripts-root";function Fc(){let e=En.createEvent("Event");e.initEvent("DOMContentLoaded",!0,!0),En.dispatchEvent(e)}function iV(e,t,r){let n=En.createElement("script");n.type=e.type==="module"?"module":"text/javascript",e.src?(n.onload=t,n.onerror=t,n.src=e.src):n.textContent=e.innerText,r?r.appendChild(n):En.head.appendChild(n),e.parentNode.removeChild(e),e.src||t()}function zx(e,t,r=0){e[r](()=>{r++,r===e.length?t():zx(e,t,r)})}function oV(e){let t=En.getElementById(Dy);t?t.innerHTML="":(t=En.createElement("div"),t.id=Dy,En.body.appendChild(t));let r=Array.from(e.querySelectorAll(nV));if(r.length){let n=[];r.forEach(i=>{let o=i.getAttribute("type");(!o||rV.includes(o))&&n.push(a=>iV(i,a,t))}),n.length&&zx(n,Fc,void 0)}else Fc()}var mu;(function(e){e.start="/**",e.nostart="/***",e.delim="*",e.end="*/"})(mu=mu||(mu={}));var aV=We(DC(),1),In=(0,aV.stringifyRules)(),sV=In.JsdocTypeObject;In.JsdocTypeAny=()=>"any";In.JsdocTypeObject=(e,t)=>`(${sV(e,t)})`;In.JsdocTypeOptional=(e,t)=>t(e.element);In.JsdocTypeNullable=(e,t)=>t(e.element);In.JsdocTypeNotNullable=(e,t)=>t(e.element);In.JsdocTypeUnion=(e,t)=>e.elements.map(t).join("|");var lV="storybook/docs",uV=`${lV}/snippet-rendered`;async function cV(e,t){let r=t.parameters?.docs?.source?.transform,{id:n,unmappedArgs:i}=t,o=r&&e?r?.(e,t):e,a=o?await o:void 0;Lt.getChannel().emit(uV,{id:n,source:a,args:i})}var jo={depth:10,clearOnStoryChange:!0,limit:50},dV=(e={})=>{Object.assign(jo,e)},Gx=(e,t)=>{let r=Object.getPrototypeOf(e);return!r||t(r)?r:Gx(r,t)},pV=e=>!!(typeof e=="object"&&e&&Gx(e,t=>/^Synthetic(?:Base)?Event$/.test(t.constructor.name))&&typeof e.persist=="function"),fV=e=>{if(pV(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 na(e,t={}){let r={...jo,...t},n=function(...i){if(t.implicit){let p=("__STORYBOOK_PREVIEW__"in re?re.__STORYBOOK_PREVIEW__:void 0)?.storyRenders.find(f=>f.phase==="playing"||f.phase==="rendering");if(p){let f=!globalThis?.FEATURES?.disallowImplicitActionsInRenderV8,m=new qb({phase:p.phase,name:e,deprecated:f});if(f)console.warn(m);else throw m}}let o=Lt.getChannel(),a=Date.now().toString(36)+Math.random().toString(36).substring(2),s=5,c=i.map(fV),l=i.length>1?c:c[0],d={id:a,count:0,data:{name:e,args:l},options:{...r,maxDepth:s+(r.depth||3)}};o.emit(rv,d)};return n.isAction=!0,n.implicit=t.implicit,n}var mV=(...e)=>{let t=jo,r=e;r.length===1&&Array.isArray(r[0])&&([r]=r),r.length!==1&&typeof r[r.length-1]!="string"&&(t={...jo,...r.pop()});let n=r[0];(r.length!==1||typeof n=="string")&&(n={},r.forEach(o=>{n[o]=o}));let i={};return Object.keys(n).forEach(o=>{i[o]=na(n[o],t)}),i},hV={"@storybook/global":nb,"storybook/test":fv,"storybook/actions":tv,"storybook/preview-api":Iu,"storybook/internal/channels":ob,"storybook/internal/client-logger":ab,"storybook/internal/core-events":ld,"storybook/internal/types":Gb,"storybook/internal/preview-errors":Nb,"storybook/internal/preview-api":Iu};async function yV(){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}gV(t,r)}var gV=async(e,t)=>{let r={entries:{}};for(let s of Object.values(e.entries)){let c=s.title.split("/"),l=r;for(let d of c)l.entries||(l.entries={}),l.entries[d]?t===s.id&&(l.entries[d].isActive=!0):l.entries[d]={title:d,isActive:t===s.id,entries:{}},l=l.entries[d];l.entries||(l.entries={}),l.entries[s.name]={id:s.id,name:s.name,href:`?id=${s.id}&viewMode=${s.type}&navigator=true`,isActive:t===s.id}}let n=s=>{if("entries"in s&&"title"in s){let l=s;return`
926
+ <li class="sb-navigator-branch">
927
+ <details${l.isActive?" open":""}>
928
+ <summary class="sb-navigator-title">
929
+ ${l.title}
930
+ </summary>
931
+ <ul class="sb-navigator-entries" aria-label="${l.title}">
932
+ ${Object.values(l.entries).map(n).join("")}
933
+ </ul>
934
+ </details>
935
+ </li>
936
+ `}let c=s;return`
937
+ <li class="sb-navigator-story-item">
938
+ <a href="${c.href}"
939
+ class="sb-navigator-story-link${c.isActive?" active":""}"
940
+ aria-current="${c.isActive?"location":"false"}">${c.name}</a>
941
+ </li>
942
+ `},i=Object.values(r.entries).map(n).join(""),o=document.createElement("nav");o.id="sb-navigator-container",o.setAttribute("role","navigation"),o.setAttribute("aria-label","Story navigation"),o.innerHTML=`
943
+ <ul class="sb-navigator-list">${i}</ul>
944
+ `,document.body.insertBefore(o,document.body.firstChild);let a=document.createElement("style");a.id="sb-navigator-style",a.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(a),o.querySelector(".sb-navigator-story-link.active")?.closest("details")?.scrollIntoView({block:"center"})},bV=We(LC(),1),hu;function vV(){return hu||(hu=new bV.default(re.navigator?.userAgent).getBrowserInfo()),hu}function EV(e){return e.browserInfo=vV(),e}function wV(e){let t=e.error||e;t.fromStorybook&&re.sendTelemetryError(t)}function _V({reason:e}){e.fromStorybook&&re.sendTelemetryError(e)}function Wx(){gP.forEach(e=>{re[ib[e]]=hV[e]}),re.sendTelemetryError=e=>{re.__STORYBOOK_ADDONS_CHANNEL__.emit(eb,EV(e))},document.addEventListener("DOMContentLoaded",()=>{re.__STORYBOOK_ADDONS_CHANNEL__.on(rb,e=>{e?document.body.setAttribute("inert","true"):document.body.removeAttribute("inert")})}),re.addEventListener("error",wV),re.addEventListener("unhandledrejection",_V),yV()}Wx();const{createBrowserChannel:TV}=__STORYBOOK_MODULE_CHANNELS__,{addons:xV}=__STORYBOOK_MODULE_PREVIEW_API__,af=TV({page:"preview"});xV.setChannel(af);window.__STORYBOOK_ADDONS_CHANNEL__=af;window.CONFIG_TYPE==="DEVELOPMENT"&&(window.__STORYBOOK_SERVER_CHANNEL__=af);var SV=Object.create,sf=Object.defineProperty,OV=Object.getOwnPropertyDescriptor,Kx=Object.getOwnPropertyNames,AV=Object.getPrototypeOf,RV=Object.prototype.hasOwnProperty,Aa=(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')}),ia=(e,t)=>function(){return t||(0,e[Kx(e)[0]])((t={exports:{}}).exports,t),t.exports},g9=(e,t)=>{for(var r in t)sf(e,r,{get:t[r],enumerable:!0})},CV=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of Kx(t))!RV.call(e,i)&&i!==r&&sf(e,i,{get:()=>t[i],enumerable:!(n=OV(t,i))||n.enumerable});return e},fl=(e,t,r)=>(r=e!=null?SV(AV(e)):{},CV(t||!e||!e.__esModule?sf(r,"default",{value:e,enumerable:!0}):r,e));function yu(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 b9(e){return e==null||typeof e!="object"&&typeof e!="function"}function v9(e){return ArrayBuffer.isView(e)&&!(e instanceof DataView)}function E9(e){return Object.getOwnPropertySymbols(e).filter(t=>Object.prototype.propertyIsEnumerable.call(e,t))}function w9(e){return e==null?e===void 0?"[object Undefined]":"[object Null]":Object.prototype.toString.call(e)}var _9="[object RegExp]",T9="[object String]",x9="[object Number]",S9="[object Boolean]",O9="[object Arguments]",A9="[object Symbol]",R9="[object Date]",C9="[object Map]",P9="[object Set]",M9="[object Array]",N9="[object Function]",k9="[object ArrayBuffer]",I9="[object Object]",j9="[object Error]",q9="[object DataView]",F9="[object Uint8Array]",D9="[object Uint8ClampedArray]",L9="[object Uint16Array]",$9="[object Uint32Array]",B9="[object BigUint64Array]",U9="[object Int8Array]",H9="[object Int16Array]",J9="[object Int32Array]",V9="[object BigInt64Array]",z9="[object Float32Array]",G9="[object Float64Array]",PV=ia({"../../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(u){return u.text!==void 0&&u.text!==""?`'${u.type}' with value '${u.text}'`:`'${u.type}'`}class i extends Error{constructor(h){super(`No parslet found for token: ${n(h)}`),this.token=h,Object.setPrototypeOf(this,i.prototype)}getToken(){return this.token}}class o extends Error{constructor(h){super(`The parsing ended early. The next token was: ${n(h)}`),this.token=h,Object.setPrototypeOf(this,o.prototype)}getToken(){return this.token}}class a extends Error{constructor(h,w){let C=`Unexpected type: '${h.type}'.`;w!==void 0&&(C+=` Message: ${w}`),super(C),Object.setPrototypeOf(this,a.prototype)}}function s(u){return h=>h.startsWith(u)?{type:u,text:u}:null}function c(u){let h=0,w,C=u[0],U=!1;if(C!=="'"&&C!=='"')return null;for(;h<u.length;){if(h++,w=u[h],!U&&w===C){h++;break}U=!U&&w==="\\"}if(w!==C)throw new Error("Unterminated String");return u.slice(0,h)}let l=new RegExp("[$_\\p{ID_Start}]|\\\\u\\p{Hex_Digit}{4}|\\\\u\\{0*(?:\\p{Hex_Digit}{1,5}|10\\p{Hex_Digit}{4})\\}","u"),d=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 p(u){let h=u[0];if(!l.test(h))return null;let w=1;do{if(h=u[w],!d.test(h))break;w++}while(w<u.length);return u.slice(0,w)}let f=/^(NaN|-?((\d*\.\d+|\d+)([Ee][+-]?\d+)?|Infinity))/;function m(u){var h,w;return(w=(h=f.exec(u))===null||h===void 0?void 0:h[0])!==null&&w!==void 0?w:null}let y=u=>{let h=p(u);return h==null?null:{type:"Identifier",text:h}};function g(u){return h=>{if(!h.startsWith(u))return null;let w=h[u.length];return w!==void 0&&d.test(w)?null:{type:u,text:u}}}let v=u=>{let h=c(u);return h==null?null:{type:"StringValue",text:h}},b=u=>u.length>0?null:{type:"EOF",text:""},T=u=>{let h=m(u);return h===null?null:{type:"Number",text:h}},O=[b,s("=>"),s("("),s(")"),s("{"),s("}"),s("["),s("]"),s("|"),s("&"),s("<"),s(">"),s(","),s(";"),s("*"),s("?"),s("!"),s("="),s(":"),s("..."),s("."),s("#"),s("~"),s("/"),s("@"),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"),T,y,v],R=/^\s*\n\s*/;class P{static create(h){let w=this.read(h);h=w.text;let C=this.read(h);return h=C.text,new P(h,void 0,w.token,C.token)}constructor(h,w,C,U){this.text="",this.text=h,this.previous=w,this.current=C,this.next=U}static read(h,w=!1){w=w||R.test(h),h=h.trim();for(let C of O){let U=C(h);if(U!==null){let W=Object.assign(Object.assign({},U),{startOfLine:w});return h=h.slice(W.text.length),{text:h,token:W}}}throw new Error("Unexpected Token "+h)}advance(){let h=P.read(this.text);return new P(h.text,this.current,this.next,h.token)}}function E(u){if(u===void 0)throw new Error("Unexpected undefined");if(u.type==="JsdocTypeKeyValue"||u.type==="JsdocTypeParameterList"||u.type==="JsdocTypeProperty"||u.type==="JsdocTypeReadonlyProperty"||u.type==="JsdocTypeObjectField"||u.type==="JsdocTypeJsdocObjectField"||u.type==="JsdocTypeIndexSignature"||u.type==="JsdocTypeMappedType"||u.type==="JsdocTypeTypeParameter")throw new a(u);return u}function _(u){return u.type==="JsdocTypeKeyValue"?S(u):E(u)}function x(u){return u.type==="JsdocTypeName"?u:S(u)}function S(u){if(u.type!=="JsdocTypeKeyValue")throw new a(u);return u}function L(u){var h;if(u.type==="JsdocTypeVariadic"){if(((h=u.element)===null||h===void 0?void 0:h.type)==="JsdocTypeName")return u;throw new a(u)}if(u.type!=="JsdocTypeNumber"&&u.type!=="JsdocTypeName")throw new a(u);return u}function j(u){if(u.type==="JsdocTypeTuple"||u.type==="JsdocTypeGeneric"&&u.meta.brackets==="square")return u;throw new a(u)}function J(u){return u.type==="JsdocTypeIndexSignature"||u.type==="JsdocTypeMappedType"}var N;(function(u){u[u.ALL=0]="ALL",u[u.PARAMETER_LIST=1]="PARAMETER_LIST",u[u.OBJECT=2]="OBJECT",u[u.KEY_VALUE=3]="KEY_VALUE",u[u.INDEX_BRACKETS=4]="INDEX_BRACKETS",u[u.UNION=5]="UNION",u[u.INTERSECTION=6]="INTERSECTION",u[u.PREFIX=7]="PREFIX",u[u.INFIX=8]="INFIX",u[u.TUPLE=9]="TUPLE",u[u.SYMBOL=10]="SYMBOL",u[u.OPTIONAL=11]="OPTIONAL",u[u.NULLABLE=12]="NULLABLE",u[u.KEY_OF_TYPE_OF=13]="KEY_OF_TYPE_OF",u[u.FUNCTION=14]="FUNCTION",u[u.ARROW=15]="ARROW",u[u.ARRAY_BRACKETS=16]="ARRAY_BRACKETS",u[u.GENERIC=17]="GENERIC",u[u.NAME_PATH=18]="NAME_PATH",u[u.PARENTHESIS=19]="PARENTHESIS",u[u.SPECIAL_TYPES=20]="SPECIAL_TYPES"})(N||(N={}));class A{constructor(h,w,C){this.grammar=h,typeof w=="string"?this._lexer=P.create(w):this._lexer=w,this.baseParser=C}get lexer(){return this._lexer}parse(){let h=this.parseType(N.ALL);if(this.lexer.current.type!=="EOF")throw new o(this.lexer.current);return h}parseType(h){return E(this.parseIntermediateType(h))}parseIntermediateType(h){let w=this.tryParslets(null,h);if(w===null)throw new i(this.lexer.current);return this.parseInfixIntermediateType(w,h)}parseInfixIntermediateType(h,w){let C=this.tryParslets(h,w);for(;C!==null;)h=C,C=this.tryParslets(h,w);return h}tryParslets(h,w){for(let C of this.grammar){let U=C(this,w,h);if(U!==null)return U}return null}consume(h){return Array.isArray(h)||(h=[h]),h.includes(this.lexer.current.type)?(this._lexer=this.lexer.advance(),!0):!1}acceptLexerState(h){this._lexer=h.lexer}}function q(u){return u==="}"||u==="EOF"||u==="|"||u===","||u===")"||u===">"}let $=(u,h,w)=>{let C=u.lexer.current.type,U=u.lexer.next.type;return w==null&&C==="?"&&!q(U)||w!=null&&C==="?"?(u.consume("?"),w==null?{type:"JsdocTypeNullable",element:u.parseType(N.NULLABLE),meta:{position:"prefix"}}:{type:"JsdocTypeNullable",element:E(w),meta:{position:"suffix"}}):null};function V(u){let h=(w,C,U)=>{let W=w.lexer.current.type,Z=w.lexer.next.type;if(U===null){if("parsePrefix"in u&&u.accept(W,Z))return u.parsePrefix(w)}else if("parseInfix"in u&&u.precedence>C&&u.accept(W,Z))return u.parseInfix(w,U);return null};return Object.defineProperty(h,"name",{value:u.name}),h}let Y=V({name:"optionalParslet",accept:u=>u==="=",precedence:N.OPTIONAL,parsePrefix:u=>(u.consume("="),{type:"JsdocTypeOptional",element:u.parseType(N.OPTIONAL),meta:{position:"prefix"}}),parseInfix:(u,h)=>(u.consume("="),{type:"JsdocTypeOptional",element:E(h),meta:{position:"suffix"}})}),ie=V({name:"numberParslet",accept:u=>u==="Number",parsePrefix:u=>{let h=parseFloat(u.lexer.current.text);return u.consume("Number"),{type:"JsdocTypeNumber",value:h}}}),ue=V({name:"parenthesisParslet",accept:u=>u==="(",parsePrefix:u=>{if(u.consume("("),u.consume(")"))return{type:"JsdocTypeParameterList",elements:[]};let h=u.parseIntermediateType(N.ALL);if(!u.consume(")"))throw new Error("Unterminated parenthesis");return h.type==="JsdocTypeParameterList"?h:h.type==="JsdocTypeKeyValue"?{type:"JsdocTypeParameterList",elements:[h]}:{type:"JsdocTypeParenthesis",element:E(h)}}}),F=V({name:"specialTypesParslet",accept:(u,h)=>u==="?"&&q(h)||u==="null"||u==="undefined"||u==="*",parsePrefix:u=>{if(u.consume("null"))return{type:"JsdocTypeNull"};if(u.consume("undefined"))return{type:"JsdocTypeUndefined"};if(u.consume("*"))return{type:"JsdocTypeAny"};if(u.consume("?"))return{type:"JsdocTypeUnknown"};throw new Error("Unacceptable token: "+u.lexer.current.text)}}),D=V({name:"notNullableParslet",accept:u=>u==="!",precedence:N.NULLABLE,parsePrefix:u=>(u.consume("!"),{type:"JsdocTypeNotNullable",element:u.parseType(N.NULLABLE),meta:{position:"prefix"}}),parseInfix:(u,h)=>(u.consume("!"),{type:"JsdocTypeNotNullable",element:E(h),meta:{position:"suffix"}})});function G({allowTrailingComma:u}){return V({name:"parameterListParslet",accept:h=>h===",",precedence:N.PARAMETER_LIST,parseInfix:(h,w)=>{let C=[_(w)];h.consume(",");do try{let U=h.parseIntermediateType(N.PARAMETER_LIST);C.push(_(U))}catch(U){if(U instanceof i)break;throw U}while(h.consume(","));if(C.length>0&&C.slice(0,-1).some(U=>U.type==="JsdocTypeVariadic"))throw new Error("Only the last parameter may be a rest parameter");return{type:"JsdocTypeParameterList",elements:C}}})}let Q=V({name:"genericParslet",accept:(u,h)=>u==="<"||u==="."&&h==="<",precedence:N.GENERIC,parseInfix:(u,h)=>{let w=u.consume(".");u.consume("<");let C=[],U=!1;if(u.consume("infer")){U=!0;let W=u.parseIntermediateType(N.SYMBOL);if(W.type!=="JsdocTypeName")throw new a(W,"A typescript asserts always has to have a name on the left side.");C.push(W)}else do C.push(u.parseType(N.PARAMETER_LIST));while(u.consume(","));if(!u.consume(">"))throw new Error("Unterminated generic parameter list");return Object.assign(Object.assign({type:"JsdocTypeGeneric",left:E(h),elements:C},U?{infer:!0}:{}),{meta:{brackets:"angle",dot:w}})}}),X=V({name:"unionParslet",accept:u=>u==="|",precedence:N.UNION,parseInfix:(u,h)=>{u.consume("|");let w=[];do w.push(u.parseType(N.UNION));while(u.consume("|"));return{type:"JsdocTypeUnion",elements:[E(h),...w]}}}),K=[$,Y,ie,ue,F,D,G({allowTrailingComma:!0}),Q,X,Y];function oe({allowSquareBracketsOnAnyType:u,allowJsdocNamePaths:h,pathGrammar:w}){return function(C,U,W){if(W==null||U>=N.NAME_PATH)return null;let Z=C.lexer.current.type,fe=C.lexer.next.type;if(!(Z==="."&&fe!=="<"||Z==="["&&(u||W.type==="JsdocTypeName")||h&&(Z==="~"||Z==="#")))return null;let me,Oe=!1;C.consume(".")?me="property":C.consume("[")?(me="property-brackets",Oe=!0):C.consume("~")?me="inner":(C.consume("#"),me="instance");let et=w!==null?new A(w,C.lexer,C):C,He=et.parseIntermediateType(N.NAME_PATH);C.acceptLexerState(et);let Ht;switch(He.type){case"JsdocTypeName":Ht={type:"JsdocTypeProperty",value:He.value,meta:{quote:void 0}};break;case"JsdocTypeNumber":Ht={type:"JsdocTypeProperty",value:He.value.toString(10),meta:{quote:void 0}};break;case"JsdocTypeStringValue":Ht={type:"JsdocTypeProperty",value:He.value,meta:{quote:He.meta.quote}};break;case"JsdocTypeSpecialNamePath":if(He.specialType==="event")Ht=He;else throw new a(He,"Type 'JsdocTypeSpecialNamePath' is only allowed with specialType 'event'");break;default:throw new a(He,"Expecting 'JsdocTypeName', 'JsdocTypeNumber', 'JsdocStringValue' or 'JsdocTypeSpecialNamePath'")}if(Oe&&!C.consume("]")){let Bi=C.lexer.current;throw new Error(`Unterminated square brackets. Next token is '${Bi.type}' with text '${Bi.text}'`)}return{type:"JsdocTypeNamePath",left:E(W),right:Ht,pathType:me}}}function se({allowedAdditionalTokens:u}){return V({name:"nameParslet",accept:h=>h==="Identifier"||h==="this"||h==="new"||u.includes(h),parsePrefix:h=>{let{type:w,text:C}=h.lexer.current;return h.consume(w),{type:"JsdocTypeName",value:C}}})}let Te=V({name:"stringValueParslet",accept:u=>u==="StringValue",parsePrefix:u=>{let h=u.lexer.current.text;return u.consume("StringValue"),{type:"JsdocTypeStringValue",value:h.slice(1,-1),meta:{quote:h[0]==="'"?"single":"double"}}}});function B({pathGrammar:u,allowedTypes:h}){return V({name:"specialNamePathParslet",accept:w=>h.includes(w),parsePrefix:w=>{let C=w.lexer.current.type;if(w.consume(C),!w.consume(":"))return{type:"JsdocTypeName",value:C};let U,W=w.lexer.current;if(w.consume("StringValue"))U={type:"JsdocTypeSpecialNamePath",value:W.text.slice(1,-1),specialType:C,meta:{quote:W.text[0]==="'"?"single":"double"}};else{let me="",Oe=["Identifier","@","/"];for(;Oe.some(et=>w.consume(et));)me+=W.text,W=w.lexer.current;U={type:"JsdocTypeSpecialNamePath",value:me,specialType:C,meta:{quote:void 0}}}let Z=new A(u,w.lexer,w),fe=Z.parseInfixIntermediateType(U,N.ALL);return w.acceptLexerState(Z),E(fe)}})}let te=[se({allowedAdditionalTokens:["external","module"]}),Te,ie,oe({allowSquareBracketsOnAnyType:!1,allowJsdocNamePaths:!0,pathGrammar:null})],ne=[...te,B({allowedTypes:["event"],pathGrammar:te})];function ae(u){let h;if(u.type==="JsdocTypeParameterList")h=u.elements;else if(u.type==="JsdocTypeParenthesis")h=[u.element];else throw new a(u);return h.map(w=>_(w))}function ce(u){let h=ae(u);if(h.some(w=>w.type==="JsdocTypeKeyValue"))throw new Error("No parameter should be named");return h}function de({allowNamedParameters:u,allowNoReturnType:h,allowWithoutParenthesis:w,allowNewAsFunctionKeyword:C}){return V({name:"functionParslet",accept:(U,W)=>U==="function"||C&&U==="new"&&W==="(",parsePrefix:U=>{let W=U.consume("new");U.consume("function");let Z=U.lexer.current.type==="(";if(!Z){if(!w)throw new Error("function is missing parameter list");return{type:"JsdocTypeName",value:"function"}}let fe={type:"JsdocTypeFunction",parameters:[],arrow:!1,constructor:W,parenthesis:Z},me=U.parseIntermediateType(N.FUNCTION);if(u===void 0)fe.parameters=ce(me);else{if(W&&me.type==="JsdocTypeFunction"&&me.arrow)return fe=me,fe.constructor=!0,fe;fe.parameters=ae(me);for(let Oe of fe.parameters)if(Oe.type==="JsdocTypeKeyValue"&&!u.includes(Oe.key))throw new Error(`only allowed named parameters are ${u.join(", ")} but got ${Oe.type}`)}if(U.consume(":"))fe.returnType=U.parseType(N.PREFIX);else if(!h)throw new Error("function is missing return type");return fe}})}function ge({allowPostfix:u,allowEnclosingBrackets:h}){return V({name:"variadicParslet",accept:w=>w==="...",precedence:N.PREFIX,parsePrefix:w=>{w.consume("...");let C=h&&w.consume("[");try{let U=w.parseType(N.PREFIX);if(C&&!w.consume("]"))throw new Error("Unterminated variadic type. Missing ']'");return{type:"JsdocTypeVariadic",element:E(U),meta:{position:"prefix",squareBrackets:C}}}catch(U){if(U instanceof i){if(C)throw new Error("Empty square brackets for variadic are not allowed.");return{type:"JsdocTypeVariadic",meta:{position:void 0,squareBrackets:!1}}}else throw U}},parseInfix:u?(w,C)=>(w.consume("..."),{type:"JsdocTypeVariadic",element:E(C),meta:{position:"suffix",squareBrackets:!1}}):void 0})}let Ee=V({name:"symbolParslet",accept:u=>u==="(",precedence:N.SYMBOL,parseInfix:(u,h)=>{if(h.type!=="JsdocTypeName")throw new Error("Symbol expects a name on the left side. (Reacting on '(')");u.consume("(");let w={type:"JsdocTypeSymbol",value:h.value};if(!u.consume(")")){let C=u.parseIntermediateType(N.SYMBOL);if(w.element=L(C),!u.consume(")"))throw new Error("Symbol does not end after value")}return w}}),Ue=V({name:"arrayBracketsParslet",precedence:N.ARRAY_BRACKETS,accept:(u,h)=>u==="["&&h==="]",parseInfix:(u,h)=>(u.consume("["),u.consume("]"),{type:"JsdocTypeGeneric",left:{type:"JsdocTypeName",value:"Array"},elements:[E(h)],meta:{brackets:"square",dot:!1}})});function gt({objectFieldGrammar:u,allowKeyTypes:h}){return V({name:"objectParslet",accept:w=>w==="{",parsePrefix:w=>{w.consume("{");let C={type:"JsdocTypeObject",meta:{separator:"comma"},elements:[]};if(!w.consume("}")){let U,W=new A(u,w.lexer,w);for(;;){W.acceptLexerState(w);let Z=W.parseIntermediateType(N.OBJECT);w.acceptLexerState(W),Z===void 0&&h&&(Z=w.parseIntermediateType(N.OBJECT));let fe=!1;if(Z.type==="JsdocTypeNullable"&&(fe=!0,Z=Z.element),Z.type==="JsdocTypeNumber"||Z.type==="JsdocTypeName"||Z.type==="JsdocTypeStringValue"){let me;Z.type==="JsdocTypeStringValue"&&(me=Z.meta.quote),C.elements.push({type:"JsdocTypeObjectField",key:Z.value.toString(),right:void 0,optional:fe,readonly:!1,meta:{quote:me}})}else if(Z.type==="JsdocTypeObjectField"||Z.type==="JsdocTypeJsdocObjectField")C.elements.push(Z);else throw new a(Z);if(w.lexer.current.startOfLine)U="linebreak",w.consume(",")||w.consume(";");else if(w.consume(","))U="comma";else if(w.consume(";"))U="semicolon";else break;if(w.lexer.current.type==="}")break}if(C.meta.separator=U??"comma",U==="linebreak"&&(C.meta.propertyIndent=" "),!w.consume("}"))throw new Error("Unterminated record type. Missing '}'")}return C}})}function ut({allowSquaredProperties:u,allowKeyTypes:h,allowReadonly:w,allowOptional:C}){return V({name:"objectFieldParslet",precedence:N.KEY_VALUE,accept:U=>U===":",parseInfix:(U,W)=>{var Z;let fe=!1,me=!1;C&&W.type==="JsdocTypeNullable"&&(fe=!0,W=W.element),w&&W.type==="JsdocTypeReadonlyProperty"&&(me=!0,W=W.element);let Oe=(Z=U.baseParser)!==null&&Z!==void 0?Z:U;if(Oe.acceptLexerState(U),W.type==="JsdocTypeNumber"||W.type==="JsdocTypeName"||W.type==="JsdocTypeStringValue"||J(W)){if(J(W)&&!u)throw new a(W);Oe.consume(":");let et;W.type==="JsdocTypeStringValue"&&(et=W.meta.quote);let He=Oe.parseType(N.KEY_VALUE);return U.acceptLexerState(Oe),{type:"JsdocTypeObjectField",key:J(W)?W:W.value.toString(),right:He,optional:fe,readonly:me,meta:{quote:et}}}else{if(!h)throw new a(W);Oe.consume(":");let et=Oe.parseType(N.KEY_VALUE);return U.acceptLexerState(Oe),{type:"JsdocTypeJsdocObjectField",left:E(W),right:et}}}})}function bt({allowOptional:u,allowVariadic:h}){return V({name:"keyValueParslet",precedence:N.KEY_VALUE,accept:w=>w===":",parseInfix:(w,C)=>{let U=!1,W=!1;if(u&&C.type==="JsdocTypeNullable"&&(U=!0,C=C.element),h&&C.type==="JsdocTypeVariadic"&&C.element!==void 0&&(W=!0,C=C.element),C.type!=="JsdocTypeName")throw new a(C);w.consume(":");let Z=w.parseType(N.KEY_VALUE);return{type:"JsdocTypeKeyValue",key:C.value,right:Z,optional:U,variadic:W}}})}let it=[...K,de({allowWithoutParenthesis:!0,allowNamedParameters:["this","new"],allowNoReturnType:!0,allowNewAsFunctionKeyword:!1}),Te,B({allowedTypes:["module","external","event"],pathGrammar:ne}),ge({allowEnclosingBrackets:!0,allowPostfix:!0}),se({allowedAdditionalTokens:["keyof"]}),Ee,Ue,oe({allowSquareBracketsOnAnyType:!1,allowJsdocNamePaths:!0,pathGrammar:ne})],Xt=[...it,gt({objectFieldGrammar:[se({allowedAdditionalTokens:["typeof","module","in"]}),ut({allowSquaredProperties:!1,allowKeyTypes:!0,allowOptional:!1,allowReadonly:!1}),...it],allowKeyTypes:!0}),bt({allowOptional:!0,allowVariadic:!0})],kt=V({name:"typeOfParslet",accept:u=>u==="typeof",parsePrefix:u=>(u.consume("typeof"),{type:"JsdocTypeTypeof",element:u.parseType(N.KEY_OF_TYPE_OF)})}),Qt=[se({allowedAdditionalTokens:["typeof","module","keyof","event","external","in"]}),$,Y,Te,ie,ut({allowSquaredProperties:!1,allowKeyTypes:!1,allowOptional:!1,allowReadonly:!1})],Ti=[...K,gt({allowKeyTypes:!1,objectFieldGrammar:Qt}),se({allowedAdditionalTokens:["event","external","in"]}),kt,de({allowWithoutParenthesis:!1,allowNamedParameters:["this","new"],allowNoReturnType:!0,allowNewAsFunctionKeyword:!1}),ge({allowEnclosingBrackets:!1,allowPostfix:!1}),se({allowedAdditionalTokens:["keyof"]}),B({allowedTypes:["module"],pathGrammar:ne}),oe({allowSquareBracketsOnAnyType:!1,allowJsdocNamePaths:!0,pathGrammar:ne}),bt({allowOptional:!1,allowVariadic:!1}),Ee],xi=V({name:"assertsParslet",accept:u=>u==="asserts",parsePrefix:u=>{u.consume("asserts");let h=u.parseIntermediateType(N.SYMBOL);if(h.type!=="JsdocTypeName")throw new a(h,"A typescript asserts always has to have a name on the left side.");return u.consume("is")?{type:"JsdocTypeAsserts",left:h,right:E(u.parseIntermediateType(N.INFIX))}:{type:"JsdocTypeAssertsPlain",element:h}}});function Si({allowQuestionMark:u}){return V({name:"tupleParslet",accept:h=>h==="[",parsePrefix:h=>{h.consume("[");let w={type:"JsdocTypeTuple",elements:[]};if(h.consume("]"))return w;let C=h.parseIntermediateType(N.ALL);if(C.type==="JsdocTypeParameterList"?C.elements[0].type==="JsdocTypeKeyValue"?w.elements=C.elements.map(S):w.elements=C.elements.map(E):C.type==="JsdocTypeKeyValue"?w.elements=[S(C)]:w.elements=[E(C)],!h.consume("]"))throw new Error("Unterminated '['");if(w.elements.some(U=>U.type==="JsdocTypeUnknown"))throw new Error("Question mark in tuple not allowed");return w}})}let Oi=V({name:"keyOfParslet",accept:u=>u==="keyof",parsePrefix:u=>(u.consume("keyof"),{type:"JsdocTypeKeyof",element:E(u.parseType(N.KEY_OF_TYPE_OF))})}),Ai=V({name:"importParslet",accept:u=>u==="import",parsePrefix:u=>{if(u.consume("import"),!u.consume("("))throw new Error("Missing parenthesis after import keyword");let h=u.parseType(N.PREFIX);if(h.type!=="JsdocTypeStringValue")throw new Error("Only string values are allowed as paths for imports");if(!u.consume(")"))throw new Error("Missing closing parenthesis after import keyword");return{type:"JsdocTypeImport",element:h}}}),Ri=V({name:"readonlyPropertyParslet",accept:u=>u==="readonly",parsePrefix:u=>(u.consume("readonly"),{type:"JsdocTypeReadonlyProperty",element:u.parseIntermediateType(N.KEY_VALUE)})}),Ci=V({name:"arrowFunctionParslet",precedence:N.ARROW,accept:u=>u==="=>",parseInfix:(u,h)=>(u.consume("=>"),{type:"JsdocTypeFunction",parameters:ae(h).map(x),arrow:!0,constructor:!1,parenthesis:!0,returnType:u.parseType(N.OBJECT)})}),Pi=V({name:"genericArrowFunctionParslet",accept:u=>u==="<",parsePrefix:u=>{let h=[];u.consume("<");do{let C,U=u.parseIntermediateType(N.SYMBOL);if(U.type==="JsdocTypeOptional"&&(U=U.element,C=u.parseType(N.SYMBOL)),U.type!=="JsdocTypeName")throw new a(U);let W;u.consume("extends")&&(W=u.parseType(N.SYMBOL),W.type==="JsdocTypeOptional"&&(W=W.element,C=u.parseType(N.SYMBOL)));let Z={type:"JsdocTypeTypeParameter",name:U};if(W!==void 0&&(Z.constraint=W),C!==void 0&&(Z.defaultValue=C),h.push(Z),u.consume(">"))break}while(u.consume(","));let w=u.parseIntermediateType(N.SYMBOL);return w.typeParameters=h,w}}),Mi=V({name:"intersectionParslet",accept:u=>u==="&",precedence:N.INTERSECTION,parseInfix:(u,h)=>{u.consume("&");let w=[];do w.push(u.parseType(N.INTERSECTION));while(u.consume("&"));return{type:"JsdocTypeIntersection",elements:[E(h),...w]}}}),Ni=V({name:"predicateParslet",precedence:N.INFIX,accept:u=>u==="is",parseInfix:(u,h)=>{if(h.type!=="JsdocTypeName")throw new a(h,"A typescript predicate always has to have a name on the left side.");return u.consume("is"),{type:"JsdocTypePredicate",left:h,right:E(u.parseIntermediateType(N.INFIX))}}}),ki=V({name:"objectSquareBracketPropertyParslet",accept:u=>u==="[",parsePrefix:u=>{if(u.baseParser===void 0)throw new Error("Only allowed inside object grammar");u.consume("[");let h=u.lexer.current.text;u.consume("Identifier");let w;if(u.consume(":")){let C=u.baseParser;C.acceptLexerState(u),w={type:"JsdocTypeIndexSignature",key:h,right:C.parseType(N.INDEX_BRACKETS)},u.acceptLexerState(C)}else if(u.consume("in")){let C=u.baseParser;C.acceptLexerState(u),w={type:"JsdocTypeMappedType",key:h,right:C.parseType(N.ARRAY_BRACKETS)},u.acceptLexerState(C)}else throw new Error("Missing ':' or 'in' inside square bracketed property.");if(!u.consume("]"))throw new Error("Unterminated square brackets");return w}}),Ii=V({name:"readonlyArrayParslet",accept:u=>u==="readonly",parsePrefix:u=>(u.consume("readonly"),{type:"JsdocTypeReadonlyArray",element:j(u.parseIntermediateType(N.ALL))})}),ji=V({name:"conditionalParslet",precedence:N.INFIX,accept:u=>u==="extends",parseInfix:(u,h)=>{u.consume("extends");let w=u.parseType(N.KEY_OF_TYPE_OF).element,C=u.parseType(N.INFIX);return u.consume(":"),{type:"JsdocTypeConditional",checksType:E(h),extendsType:w,trueType:C,falseType:u.parseType(N.INFIX)}}}),qi=[Ri,se({allowedAdditionalTokens:["typeof","module","keyof","event","external","in"]}),$,Y,Te,ie,ut({allowSquaredProperties:!0,allowKeyTypes:!1,allowOptional:!0,allowReadonly:!0}),ki],Fi=[...K,gt({allowKeyTypes:!1,objectFieldGrammar:qi}),Ii,kt,Oi,Ai,Te,de({allowWithoutParenthesis:!0,allowNoReturnType:!1,allowNamedParameters:["this","new","args"],allowNewAsFunctionKeyword:!0}),Si({allowQuestionMark:!1}),ge({allowEnclosingBrackets:!1,allowPostfix:!1}),xi,ji,se({allowedAdditionalTokens:["event","external","in"]}),B({allowedTypes:["module"],pathGrammar:ne}),Ue,Ci,Pi,oe({allowSquareBracketsOnAnyType:!0,allowJsdocNamePaths:!1,pathGrammar:ne}),Mi,Ni,bt({allowVariadic:!0,allowOptional:!0})];function tn(u,h){switch(h){case"closure":return new A(Ti,u).parse();case"jsdoc":return new A(Xt,u).parse();case"typescript":return new A(Fi,u).parse()}}function Di(u,h=["typescript","closure","jsdoc"]){let w;for(let C of h)try{return tn(u,C)}catch(U){w=U}throw w}function xt(u,h){let w=u[h.type];if(w===void 0)throw new Error(`In this set of transform rules exists no rule for type ${h.type}.`);return w(h,C=>xt(u,C))}function pe(u){throw new Error("This transform is not available. Are you trying the correct parsing mode?")}function rn(u){let h={params:[]};for(let w of u.parameters)w.type==="JsdocTypeKeyValue"?w.key==="this"?h.this=w.right:w.key==="new"?h.new=w.right:h.params.push(w):h.params.push(w);return h}function Ut(u,h,w){return u==="prefix"?w+h:h+w}function Ze(u,h){switch(h){case"double":return`"${u}"`;case"single":return`'${u}'`;case void 0:return u}}function ee(){return{JsdocTypeParenthesis:(u,h)=>`(${u.element!==void 0?h(u.element):""})`,JsdocTypeKeyof:(u,h)=>`keyof ${h(u.element)}`,JsdocTypeFunction:(u,h)=>{var w;if(u.arrow){if(u.returnType===void 0)throw new Error("Arrow function needs a return type.");let C=`${u.typeParameters!==void 0?`<${(w=u.typeParameters.map(h).join(", "))!==null&&w!==void 0?w:""}>`:""}(${u.parameters.map(h).join(", ")}) => ${h(u.returnType)}`;return u.constructor&&(C="new "+C),C}else{let C=u.constructor?"new":"function";return u.parenthesis&&(C+=`(${u.parameters.map(h).join(", ")})`,u.returnType!==void 0&&(C+=`: ${h(u.returnType)}`)),C}},JsdocTypeName:u=>u.value,JsdocTypeTuple:(u,h)=>`[${u.elements.map(h).join(", ")}]`,JsdocTypeVariadic:(u,h)=>u.meta.position===void 0?"...":Ut(u.meta.position,h(u.element),"..."),JsdocTypeNamePath:(u,h)=>{let w=h(u.left),C=h(u.right);switch(u.pathType){case"inner":return`${w}~${C}`;case"instance":return`${w}#${C}`;case"property":return`${w}.${C}`;case"property-brackets":return`${w}[${C}]`}},JsdocTypeStringValue:u=>Ze(u.value,u.meta.quote),JsdocTypeAny:()=>"*",JsdocTypeGeneric:(u,h)=>{if(u.meta.brackets==="square"){let w=u.elements[0],C=h(w);return w.type==="JsdocTypeUnion"||w.type==="JsdocTypeIntersection"?`(${C})[]`:`${C}[]`}else return`${h(u.left)}${u.meta.dot?".":""}<${u.infer===!0?"infer ":""}${u.elements.map(h).join(", ")}>`},JsdocTypeImport:(u,h)=>`import(${h(u.element)})`,JsdocTypeObjectField:(u,h)=>{let w="";return u.readonly&&(w+="readonly "),typeof u.key=="string"?w+=Ze(u.key,u.meta.quote):w+=h(u.key),u.optional&&(w+="?"),u.right===void 0?w:w+`: ${h(u.right)}`},JsdocTypeJsdocObjectField:(u,h)=>`${h(u.left)}: ${h(u.right)}`,JsdocTypeKeyValue:(u,h)=>{let w=u.key;return u.optional&&(w+="?"),u.variadic&&(w="..."+w),u.right===void 0?w:w+`: ${h(u.right)}`},JsdocTypeSpecialNamePath:u=>`${u.specialType}:${Ze(u.value,u.meta.quote)}`,JsdocTypeNotNullable:(u,h)=>Ut(u.meta.position,h(u.element),"!"),JsdocTypeNull:()=>"null",JsdocTypeNullable:(u,h)=>Ut(u.meta.position,h(u.element),"?"),JsdocTypeNumber:u=>u.value.toString(),JsdocTypeObject:(u,h)=>{var w,C;return`{${(u.meta.separator==="linebreak"&&u.elements.length>1?`
1014
+ `+((w=u.meta.propertyIndent)!==null&&w!==void 0?w:""):"")+u.elements.map(h).join(u.meta.separator==="comma"?", ":u.meta.separator==="linebreak"?`
1015
+ `+((C=u.meta.propertyIndent)!==null&&C!==void 0?C:""):"; ")+(u.meta.separator==="linebreak"&&u.elements.length>1?`
1016
+ `:"")}}`},JsdocTypeOptional:(u,h)=>Ut(u.meta.position,h(u.element),"="),JsdocTypeSymbol:(u,h)=>`${u.value}(${u.element!==void 0?h(u.element):""})`,JsdocTypeTypeof:(u,h)=>`typeof ${h(u.element)}`,JsdocTypeUndefined:()=>"undefined",JsdocTypeUnion:(u,h)=>u.elements.map(h).join(" | "),JsdocTypeUnknown:()=>"?",JsdocTypeIntersection:(u,h)=>u.elements.map(h).join(" & "),JsdocTypeProperty:u=>Ze(u.value,u.meta.quote),JsdocTypePredicate:(u,h)=>`${h(u.left)} is ${h(u.right)}`,JsdocTypeIndexSignature:(u,h)=>`[${u.key}: ${h(u.right)}]`,JsdocTypeMappedType:(u,h)=>`[${u.key} in ${h(u.right)}]`,JsdocTypeAsserts:(u,h)=>`asserts ${h(u.left)} is ${h(u.right)}`,JsdocTypeReadonlyArray:(u,h)=>`readonly ${h(u.element)}`,JsdocTypeAssertsPlain:(u,h)=>`asserts ${h(u.element)}`,JsdocTypeConditional:(u,h)=>`${h(u.checksType)} extends ${h(u.extendsType)} ? ${h(u.trueType)} : ${h(u.falseType)}`,JsdocTypeTypeParameter:(u,h)=>`${h(u.name)}${u.constraint!==void 0?` extends ${h(u.constraint)}`:""}${u.defaultValue!==void 0?` = ${h(u.defaultValue)}`:""}`}}let Li=ee();function Mr(u){return xt(Li,u)}let xl=["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 ot(u){let h={type:"NameExpression",name:u};return xl.includes(u)&&(h.reservedWord=!0),h}let Sl={JsdocTypeOptional:(u,h)=>{let w=h(u.element);return w.optional=!0,w},JsdocTypeNullable:(u,h)=>{let w=h(u.element);return w.nullable=!0,w},JsdocTypeNotNullable:(u,h)=>{let w=h(u.element);return w.nullable=!1,w},JsdocTypeVariadic:(u,h)=>{if(u.element===void 0)throw new Error("dots without value are not allowed in catharsis mode");let w=h(u.element);return w.repeatable=!0,w},JsdocTypeAny:()=>({type:"AllLiteral"}),JsdocTypeNull:()=>({type:"NullLiteral"}),JsdocTypeStringValue:u=>ot(Ze(u.value,u.meta.quote)),JsdocTypeUndefined:()=>({type:"UndefinedLiteral"}),JsdocTypeUnknown:()=>({type:"UnknownLiteral"}),JsdocTypeFunction:(u,h)=>{let w=rn(u),C={type:"FunctionType",params:w.params.map(h)};return w.this!==void 0&&(C.this=h(w.this)),w.new!==void 0&&(C.new=h(w.new)),u.returnType!==void 0&&(C.result=h(u.returnType)),C},JsdocTypeGeneric:(u,h)=>({type:"TypeApplication",applications:u.elements.map(w=>h(w)),expression:h(u.left)}),JsdocTypeSpecialNamePath:u=>ot(u.specialType+":"+Ze(u.value,u.meta.quote)),JsdocTypeName:u=>u.value!=="function"?ot(u.value):{type:"FunctionType",params:[]},JsdocTypeNumber:u=>ot(u.value.toString()),JsdocTypeObject:(u,h)=>{let w={type:"RecordType",fields:[]};for(let C of u.elements)C.type!=="JsdocTypeObjectField"&&C.type!=="JsdocTypeJsdocObjectField"?w.fields.push({type:"FieldType",key:h(C),value:void 0}):w.fields.push(h(C));return w},JsdocTypeObjectField:(u,h)=>{if(typeof u.key!="string")throw new Error("Index signatures and mapped types are not supported");return{type:"FieldType",key:ot(Ze(u.key,u.meta.quote)),value:u.right===void 0?void 0:h(u.right)}},JsdocTypeJsdocObjectField:(u,h)=>({type:"FieldType",key:h(u.left),value:h(u.right)}),JsdocTypeUnion:(u,h)=>({type:"TypeUnion",elements:u.elements.map(w=>h(w))}),JsdocTypeKeyValue:(u,h)=>({type:"FieldType",key:ot(u.key),value:u.right===void 0?void 0:h(u.right)}),JsdocTypeNamePath:(u,h)=>{let w=h(u.left),C;u.right.type==="JsdocTypeSpecialNamePath"?C=h(u.right).name:C=Ze(u.right.value,u.right.meta.quote);let U=u.pathType==="inner"?"~":u.pathType==="instance"?"#":".";return ot(`${w.name}${U}${C}`)},JsdocTypeSymbol:u=>{let h="",w=u.element,C=!1;return w?.type==="JsdocTypeVariadic"&&(w.meta.position==="prefix"?h="...":C=!0,w=w.element),w?.type==="JsdocTypeName"?h+=w.value:w?.type==="JsdocTypeNumber"&&(h+=w.value.toString()),C&&(h+="..."),ot(`${u.value}(${h})`)},JsdocTypeParenthesis:(u,h)=>h(E(u.element)),JsdocTypeMappedType:pe,JsdocTypeIndexSignature:pe,JsdocTypeImport:pe,JsdocTypeKeyof:pe,JsdocTypeTuple:pe,JsdocTypeTypeof:pe,JsdocTypeIntersection:pe,JsdocTypeProperty:pe,JsdocTypePredicate:pe,JsdocTypeAsserts:pe,JsdocTypeReadonlyArray:pe,JsdocTypeAssertsPlain:pe,JsdocTypeConditional:pe,JsdocTypeTypeParameter:pe};function Ol(u){return xt(Sl,u)}function vt(u){switch(u){case void 0:return"none";case"single":return"single";case"double":return"double"}}function Al(u){switch(u){case"inner":return"INNER_MEMBER";case"instance":return"INSTANCE_MEMBER";case"property":return"MEMBER";case"property-brackets":return"MEMBER"}}function nn(u,h){return h.length===2?{type:u,left:h[0],right:h[1]}:{type:u,left:h[0],right:nn(u,h.slice(1))}}let Rl={JsdocTypeOptional:(u,h)=>({type:"OPTIONAL",value:h(u.element),meta:{syntax:u.meta.position==="prefix"?"PREFIX_EQUAL_SIGN":"SUFFIX_EQUALS_SIGN"}}),JsdocTypeNullable:(u,h)=>({type:"NULLABLE",value:h(u.element),meta:{syntax:u.meta.position==="prefix"?"PREFIX_QUESTION_MARK":"SUFFIX_QUESTION_MARK"}}),JsdocTypeNotNullable:(u,h)=>({type:"NOT_NULLABLE",value:h(u.element),meta:{syntax:u.meta.position==="prefix"?"PREFIX_BANG":"SUFFIX_BANG"}}),JsdocTypeVariadic:(u,h)=>{let w={type:"VARIADIC",meta:{syntax:u.meta.position==="prefix"?"PREFIX_DOTS":u.meta.position==="suffix"?"SUFFIX_DOTS":"ONLY_DOTS"}};return u.element!==void 0&&(w.value=h(u.element)),w},JsdocTypeName:u=>({type:"NAME",name:u.value}),JsdocTypeTypeof:(u,h)=>({type:"TYPE_QUERY",name:h(u.element)}),JsdocTypeTuple:(u,h)=>({type:"TUPLE",entries:u.elements.map(h)}),JsdocTypeKeyof:(u,h)=>({type:"KEY_QUERY",value:h(u.element)}),JsdocTypeImport:u=>({type:"IMPORT",path:{type:"STRING_VALUE",quoteStyle:vt(u.element.meta.quote),string:u.element.value}}),JsdocTypeUndefined:()=>({type:"NAME",name:"undefined"}),JsdocTypeAny:()=>({type:"ANY"}),JsdocTypeFunction:(u,h)=>{let w=rn(u),C={type:u.arrow?"ARROW":"FUNCTION",params:w.params.map(U=>{if(U.type==="JsdocTypeKeyValue"){if(U.right===void 0)throw new Error("Function parameter without ':' is not expected to be 'KEY_VALUE'");return{type:"NAMED_PARAMETER",name:U.key,typeName:h(U.right)}}else return h(U)}),new:null,returns:null};return w.this!==void 0?C.this=h(w.this):u.arrow||(C.this=null),w.new!==void 0&&(C.new=h(w.new)),u.returnType!==void 0&&(C.returns=h(u.returnType)),C},JsdocTypeGeneric:(u,h)=>{let w={type:"GENERIC",subject:h(u.left),objects:u.elements.map(h),meta:{syntax:u.meta.brackets==="square"?"SQUARE_BRACKET":u.meta.dot?"ANGLE_BRACKET_WITH_DOT":"ANGLE_BRACKET"}};return u.meta.brackets==="square"&&u.elements[0].type==="JsdocTypeFunction"&&!u.elements[0].parenthesis&&(w.objects[0]={type:"NAME",name:"function"}),w},JsdocTypeObjectField:(u,h)=>{if(typeof u.key!="string")throw new Error("Index signatures and mapped types are not supported");if(u.right===void 0)return{type:"RECORD_ENTRY",key:u.key,quoteStyle:vt(u.meta.quote),value:null,readonly:!1};let w=h(u.right);return u.optional&&(w={type:"OPTIONAL",value:w,meta:{syntax:"SUFFIX_KEY_QUESTION_MARK"}}),{type:"RECORD_ENTRY",key:u.key.toString(),quoteStyle:vt(u.meta.quote),value:w,readonly:!1}},JsdocTypeJsdocObjectField:()=>{throw new Error("Keys may not be typed in jsdoctypeparser.")},JsdocTypeKeyValue:(u,h)=>{if(u.right===void 0)return{type:"RECORD_ENTRY",key:u.key,quoteStyle:"none",value:null,readonly:!1};let w=h(u.right);return u.optional&&(w={type:"OPTIONAL",value:w,meta:{syntax:"SUFFIX_KEY_QUESTION_MARK"}}),{type:"RECORD_ENTRY",key:u.key,quoteStyle:"none",value:w,readonly:!1}},JsdocTypeObject:(u,h)=>{let w=[];for(let C of u.elements)(C.type==="JsdocTypeObjectField"||C.type==="JsdocTypeJsdocObjectField")&&w.push(h(C));return{type:"RECORD",entries:w}},JsdocTypeSpecialNamePath:u=>{if(u.specialType!=="module")throw new Error(`jsdoctypeparser does not support type ${u.specialType} at this point.`);return{type:"MODULE",value:{type:"FILE_PATH",quoteStyle:vt(u.meta.quote),path:u.value}}},JsdocTypeNamePath:(u,h)=>{let w=!1,C,U;u.right.type==="JsdocTypeSpecialNamePath"&&u.right.specialType==="event"?(w=!0,C=u.right.value,U=vt(u.right.meta.quote)):(C=u.right.value,U=vt(u.right.meta.quote));let W={type:Al(u.pathType),owner:h(u.left),name:C,quoteStyle:U,hasEventPrefix:w};if(W.owner.type==="MODULE"){let Z=W.owner;return W.owner=W.owner.value,Z.value=W,Z}else return W},JsdocTypeUnion:(u,h)=>nn("UNION",u.elements.map(h)),JsdocTypeParenthesis:(u,h)=>({type:"PARENTHESIS",value:h(E(u.element))}),JsdocTypeNull:()=>({type:"NAME",name:"null"}),JsdocTypeUnknown:()=>({type:"UNKNOWN"}),JsdocTypeStringValue:u=>({type:"STRING_VALUE",quoteStyle:vt(u.meta.quote),string:u.value}),JsdocTypeIntersection:(u,h)=>nn("INTERSECTION",u.elements.map(h)),JsdocTypeNumber:u=>({type:"NUMBER_VALUE",number:u.value.toString()}),JsdocTypeSymbol:pe,JsdocTypeProperty:pe,JsdocTypePredicate:pe,JsdocTypeMappedType:pe,JsdocTypeIndexSignature:pe,JsdocTypeAsserts:pe,JsdocTypeReadonlyArray:pe,JsdocTypeAssertsPlain:pe,JsdocTypeConditional:pe,JsdocTypeTypeParameter:pe};function Cl(u){return xt(Rl,u)}function Pl(){return{JsdocTypeIntersection:(u,h)=>({type:"JsdocTypeIntersection",elements:u.elements.map(h)}),JsdocTypeGeneric:(u,h)=>({type:"JsdocTypeGeneric",left:h(u.left),elements:u.elements.map(h),meta:{dot:u.meta.dot,brackets:u.meta.brackets}}),JsdocTypeNullable:u=>u,JsdocTypeUnion:(u,h)=>({type:"JsdocTypeUnion",elements:u.elements.map(h)}),JsdocTypeUnknown:u=>u,JsdocTypeUndefined:u=>u,JsdocTypeTypeof:(u,h)=>({type:"JsdocTypeTypeof",element:h(u.element)}),JsdocTypeSymbol:(u,h)=>{let w={type:"JsdocTypeSymbol",value:u.value};return u.element!==void 0&&(w.element=h(u.element)),w},JsdocTypeOptional:(u,h)=>({type:"JsdocTypeOptional",element:h(u.element),meta:{position:u.meta.position}}),JsdocTypeObject:(u,h)=>({type:"JsdocTypeObject",meta:{separator:"comma"},elements:u.elements.map(h)}),JsdocTypeNumber:u=>u,JsdocTypeNull:u=>u,JsdocTypeNotNullable:(u,h)=>({type:"JsdocTypeNotNullable",element:h(u.element),meta:{position:u.meta.position}}),JsdocTypeSpecialNamePath:u=>u,JsdocTypeObjectField:(u,h)=>({type:"JsdocTypeObjectField",key:u.key,right:u.right===void 0?void 0:h(u.right),optional:u.optional,readonly:u.readonly,meta:u.meta}),JsdocTypeJsdocObjectField:(u,h)=>({type:"JsdocTypeJsdocObjectField",left:h(u.left),right:h(u.right)}),JsdocTypeKeyValue:(u,h)=>({type:"JsdocTypeKeyValue",key:u.key,right:u.right===void 0?void 0:h(u.right),optional:u.optional,variadic:u.variadic}),JsdocTypeImport:(u,h)=>({type:"JsdocTypeImport",element:h(u.element)}),JsdocTypeAny:u=>u,JsdocTypeStringValue:u=>u,JsdocTypeNamePath:u=>u,JsdocTypeVariadic:(u,h)=>{let w={type:"JsdocTypeVariadic",meta:{position:u.meta.position,squareBrackets:u.meta.squareBrackets}};return u.element!==void 0&&(w.element=h(u.element)),w},JsdocTypeTuple:(u,h)=>({type:"JsdocTypeTuple",elements:u.elements.map(h)}),JsdocTypeName:u=>u,JsdocTypeFunction:(u,h)=>{let w={type:"JsdocTypeFunction",arrow:u.arrow,parameters:u.parameters.map(h),constructor:u.constructor,parenthesis:u.parenthesis};return u.returnType!==void 0&&(w.returnType=h(u.returnType)),w},JsdocTypeKeyof:(u,h)=>({type:"JsdocTypeKeyof",element:h(u.element)}),JsdocTypeParenthesis:(u,h)=>({type:"JsdocTypeParenthesis",element:h(u.element)}),JsdocTypeProperty:u=>u,JsdocTypePredicate:(u,h)=>({type:"JsdocTypePredicate",left:h(u.left),right:h(u.right)}),JsdocTypeIndexSignature:(u,h)=>({type:"JsdocTypeIndexSignature",key:u.key,right:h(u.right)}),JsdocTypeMappedType:(u,h)=>({type:"JsdocTypeMappedType",key:u.key,right:h(u.right)}),JsdocTypeAsserts:(u,h)=>({type:"JsdocTypeAsserts",left:h(u.left),right:h(u.right)}),JsdocTypeReadonlyArray:(u,h)=>({type:"JsdocTypeReadonlyArray",element:h(u.element)}),JsdocTypeAssertsPlain:(u,h)=>({type:"JsdocTypeAssertsPlain",element:h(u.element)}),JsdocTypeConditional:(u,h)=>({type:"JsdocTypeConditional",checksType:h(u.checksType),extendsType:h(u.extendsType),trueType:h(u.trueType),falseType:h(u.falseType)}),JsdocTypeTypeParameter:(u,h)=>({type:"JsdocTypeTypeParameter",name:h(u.name),constraint:u.constraint!==void 0?h(u.constraint):void 0,defaultValue:u.defaultValue!==void 0?h(u.defaultValue):void 0})}}let $i={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 on(u,h,w,C,U){C?.(u,h,w);let W=$i[u.type];for(let Z of W){let fe=u[Z];if(fe!==void 0)if(Array.isArray(fe))for(let me of fe)on(me,u,Z,C,U);else on(fe,u,Z,C,U)}U?.(u,h,w)}function Ml(u,h,w){on(u,void 0,void 0,h,w)}r.catharsisTransform=Ol,r.identityTransformRules=Pl,r.jtpTransform=Cl,r.parse=tn,r.stringify=Mr,r.stringifyRules=ee,r.transform=xt,r.traverse=Ml,r.tryParse=Di,r.visitorKeys=$i}))}});const{UnknownArgTypesError:W9}=__STORYBOOK_MODULE_CORE_EVENTS_PREVIEW_ERRORS__,{UnknownArgTypesError:K9}=__STORYBOOK_MODULE_CORE_EVENTS_PREVIEW_ERRORS__;var gu;(function(e){e.start="/**",e.nostart="/***",e.delim="*",e.end="*/"})(gu=gu||(gu={}));var MV=fl(PV(),1),jn=(0,MV.stringifyRules)(),NV=jn.JsdocTypeObject;jn.JsdocTypeAny=()=>"any";jn.JsdocTypeObject=(e,t)=>`(${NV(e,t)})`;jn.JsdocTypeOptional=(e,t)=>t(e.element);jn.JsdocTypeNullable=(e,t)=>t(e.element);jn.JsdocTypeNotNullable=(e,t)=>t(e.element);jn.JsdocTypeUnion=(e,t)=>e.elements.map(t).join("|");var Yx=(...e)=>{let t={},r=e.filter(Boolean),n=r.reduce((i,o)=>(Object.entries(o).forEach(([a,s])=>{let c=i[a];Array.isArray(s)||typeof c>"u"?i[a]=s:yu(s)&&yu(c)?t[a]=!0:typeof s<"u"&&(i[a]=s)}),i),{});return Object.keys(t).forEach(i=>{let o=r.filter(Boolean).map(a=>a[i]).filter(a=>typeof a<"u");o.every(a=>yu(a))?n[i]=Yx(...o):n[i]=o[o.length-1]}),n},kV=e=>{let{component:t,argTypes:r,parameters:{docs:n={}}}=e,{extractArgTypes:i}=n;if(!i||!t)return r;let o=i(t);return o?Yx(o,r):r},IV="storybook/docs",Y9=`${IV}/snippet-rendered`,ws=(e=>(e.AUTO="auto",e.CODE="code",e.DYNAMIC="dynamic",e))(ws||{}),jV=ia({"../../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,i,o){function a(l,d){if(!i[l]){if(!n[l]){var p=typeof Aa=="function"&&Aa;if(!d&&p)return p(l,!0);if(s)return s(l,!0);var f=new Error("Cannot find module '"+l+"'");throw f.code="MODULE_NOT_FOUND",f}var m=i[l]={exports:{}};n[l][0].call(m.exports,function(y){var g=n[l][1][y];return a(g||y)},m,m.exports,r,n,i,o)}return i[l].exports}for(var s=typeof Aa=="function"&&Aa,c=0;c<o.length;c++)a(o[c]);return a})({1:[function(r,n,i){n.exports=function(o){if(typeof Map!="function"||o){var a=r("./similar");return new a}else return new Map}},{"./similar":2}],2:[function(r,n,i){function o(){return this.list=[],this.lastItem=void 0,this.size=0,this}o.prototype.get=function(a){var s;if(this.lastItem&&this.isEqual(this.lastItem.key,a))return this.lastItem.val;if(s=this.indexOf(a),s>=0)return this.lastItem=this.list[s],this.list[s].val},o.prototype.set=function(a,s){var c;return this.lastItem&&this.isEqual(this.lastItem.key,a)?(this.lastItem.val=s,this):(c=this.indexOf(a),c>=0?(this.lastItem=this.list[c],this.list[c].val=s,this):(this.lastItem={key:a,val:s},this.list.push(this.lastItem),this.size++,this))},o.prototype.delete=function(a){var s;if(this.lastItem&&this.isEqual(this.lastItem.key,a)&&(this.lastItem=void 0),s=this.indexOf(a),s>=0)return this.size--,this.list.splice(s,1)[0]},o.prototype.has=function(a){var s;return this.lastItem&&this.isEqual(this.lastItem.key,a)?!0:(s=this.indexOf(a),s>=0?(this.lastItem=this.list[s],!0):!1)},o.prototype.forEach=function(a,s){var c;for(c=0;c<this.size;c++)a.call(s||this,this.list[c].val,this.list[c].key,this)},o.prototype.indexOf=function(a){var s;for(s=0;s<this.size;s++)if(this.isEqual(this.list[s].key,a))return s;return-1},o.prototype.isEqual=function(a,s){return a===s||a!==a&&s!==s},n.exports=o},{}],3:[function(r,n,i){var o=r("map-or-similar");n.exports=function(l){var d=new o(!1),p=[];return function(f){var m=function(){var y=d,g,v,b=arguments.length-1,T=Array(b+1),O=!0,R;if((m.numArgs||m.numArgs===0)&&m.numArgs!==b+1)throw new Error("Memoizerific functions should always be called with the same number of arguments");for(R=0;R<b;R++){if(T[R]={cacheItem:y,arg:arguments[R]},y.has(arguments[R])){y=y.get(arguments[R]);continue}O=!1,g=new o(!1),y.set(arguments[R],g),y=g}return O&&(y.has(arguments[b])?v=y.get(arguments[b]):O=!1),O||(v=f.apply(null,arguments),y.set(arguments[b],v)),l>0&&(T[b]={cacheItem:y,arg:arguments[b]},O?a(p,T):p.push(T),p.length>l&&s(p.shift())),m.wasMemoized=O,m.numArgs=b+1,v};return m.limit=l,m.wasMemoized=!1,m.cache=d,m.lru=p,m}};function a(l,d){var p=l.length,f=d.length,m,y,g;for(y=0;y<p;y++){for(m=!0,g=0;g<f;g++)if(!c(l[y][g].arg,d[g].arg)){m=!1;break}if(m)break}l.push(l.splice(y,1)[0])}function s(l){var d=l.length,p=l[d-1],f,m;for(p.cacheItem.delete(p.arg),m=d-2;m>=0&&(p=l[m],f=p.cacheItem.get(p.arg),!f||!f.size);m--)p.cacheItem.delete(p.arg)}function c(l,d){return l===d||l!==l&&d!==d}},{"map-or-similar":1}]},{},[3])(3)})}});function qV(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 i=n.reduce(function(s,c){var l=c.match(/\n([\t ]+|(?!\s).)/g);return l?s.concat(l.map(function(d){var p,f;return(f=(p=d.match(/[\t ]/g))===null||p===void 0?void 0:p.length)!==null&&f!==void 0?f:0})):s},[]);if(i.length){var o=new RegExp(`
1017
+ [ ]{`+Math.min.apply(Math,i)+"}","g");n=n.map(function(s){return s.replace(o,`
1018
+ `)})}n[0]=n[0].replace(/^\r?\n/,"");var a=n[0];return t.forEach(function(s,c){var l=a.match(/(?:^|\n)( *)$/),d=l?l[1]:"",p=s;typeof s=="string"&&s.includes(`
1019
+ `)&&(p=String(s).split(`
1020
+ `).map(function(f,m){return m===0?f:""+d+f}).join(`
1021
+ `)),a+=p+n[c+1]}),a}const FV={"./src/stories/Welcome.stories.ts":()=>he(()=>import("./Welcome.stories-D33npbIl.js"),__vite__mapDeps([0,1,2]),import.meta.url),"./src/stories/ActionBar.stories.ts":()=>he(()=>import("./ActionBar.stories-D9ok2eVg.js"),__vite__mapDeps([3,4,2]),import.meta.url),"./src/stories/ActionItem.stories.ts":()=>he(()=>import("./ActionItem.stories-DjPfYpgA.js"),__vite__mapDeps([5,4,2]),import.meta.url),"./src/stories/Avatar.stories.ts":()=>he(()=>import("./Avatar.stories-Di3s5wxK.js"),__vite__mapDeps([6,4,2]),import.meta.url),"./src/stories/AvatarGroup.stories.ts":()=>he(()=>import("./AvatarGroup.stories-CT7lYX_U.js"),__vite__mapDeps([7,4,2]),import.meta.url),"./src/stories/Badge.stories.ts":()=>he(()=>import("./Badge.stories-9unZqfhH.js"),__vite__mapDeps([8,4,2]),import.meta.url),"./src/stories/Button.stories.ts":()=>he(()=>import("./Button.stories-KDBmJ9xt.js"),__vite__mapDeps([9,10,2]),import.meta.url),"./src/stories/ButtonGroup.stories.ts":()=>he(()=>import("./ButtonGroup.stories-BeWYMkDy.js"),__vite__mapDeps([11,4,2]),import.meta.url),"./src/stories/Card.stories.ts":()=>he(()=>import("./Card.stories-BNMJ-H5I.js"),__vite__mapDeps([12,4,2]),import.meta.url),"./src/stories/Celebrate.stories.ts":()=>he(()=>import("./Celebrate.stories-Cue8O4hb.js"),__vite__mapDeps([13,14,15,10,2]),import.meta.url),"./src/stories/Checkbox.stories.ts":()=>he(()=>import("./Checkbox.stories-DLe4npId.js"),__vite__mapDeps([16,17,4,2]),import.meta.url),"./src/stories/CircularProgress.stories.ts":()=>he(()=>import("./CircularProgress.stories-BHB2K82M.js"),__vite__mapDeps([18,4,2]),import.meta.url),"./src/stories/ClipboardMixin.stories.ts":()=>he(()=>import("./ClipboardMixin.stories-mU-JGoHp.js"),__vite__mapDeps([19,20,21,22,2]),import.meta.url),"./src/stories/Colors.stories.ts":()=>he(()=>import("./Colors.stories-a83X2cLQ.js"),__vite__mapDeps([23,2]),import.meta.url),"./src/stories/CombinedEffects.stories.ts":()=>he(()=>import("./CombinedEffects.stories-sLTopxBQ.js"),__vite__mapDeps([24,14,15,25,10,2]),import.meta.url),"./src/stories/ComponentStatesMixin.stories.ts":()=>he(()=>import("./ComponentStatesMixin.stories-DSkFzAxR.js"),__vite__mapDeps([26,20,21,2]),import.meta.url),"./src/stories/CopyToClipboard.stories.ts":()=>he(()=>import("./CopyToClipboard.stories-DqMxtd4b.js"),__vite__mapDeps([27,2]),import.meta.url),"./src/stories/Debounce.stories.ts":()=>he(()=>import("./Debounce.stories-DV30whKw.js"),__vite__mapDeps([28,2]),import.meta.url),"./src/stories/Dropdown.stories.ts":()=>he(()=>import("./Dropdown.stories-sCz8_Hkw.js"),__vite__mapDeps([29,4,2]),import.meta.url),"./src/stories/EmptyState.stories.ts":()=>he(()=>import("./EmptyState.stories-kBKfr87C.js"),__vite__mapDeps([30,17,4,2]),import.meta.url),"./src/stories/Events.stories.ts":()=>he(()=>import("./Events.stories-BXdHEFJR.js"),__vite__mapDeps([31,2]),import.meta.url),"./src/stories/Heading.stories.ts":()=>he(()=>import("./Heading.stories-B2XJMBD8.js"),__vite__mapDeps([32,2]),import.meta.url),"./src/stories/HueRipple.stories.ts":()=>he(()=>import("./HueRipple.stories-BfzsAQYM.js"),__vite__mapDeps([33,25,15,10,2]),import.meta.url),"./src/stories/Icon.stories.ts":()=>he(()=>import("./Icon.stories--pcHe1x-.js"),__vite__mapDeps([34,4,35,2]),import.meta.url),"./src/stories/IconButton.stories.ts":()=>he(()=>import("./IconButton.stories-dbXfrgH3.js"),__vite__mapDeps([36,17,35,2]),import.meta.url),"./src/stories/LinearProgress.stories.ts":()=>he(()=>import("./LinearProgress.stories-CApOBX0x.js"),__vite__mapDeps([37,4,2]),import.meta.url),"./src/stories/OnFindMixin.stories.ts":()=>he(()=>import("./OnFindMixin.stories-df6ckqw3.js"),__vite__mapDeps([38,39,2]),import.meta.url),"./src/stories/Pagination.stories.ts":()=>he(()=>import("./Pagination.stories-_MiDRipW.js"),__vite__mapDeps([40,4,2]),import.meta.url),"./src/stories/Popover.stories.ts":()=>he(()=>import("./Popover.stories-9hVZFeMx.js"),__vite__mapDeps([41,17,4,2]),import.meta.url),"./src/stories/ReadyMixin.stories.ts":()=>he(()=>import("./ReadyMixin.stories-DavcxbQ0.js"),[],import.meta.url),"./src/stories/RovingTabindexMixin.stories.ts":()=>he(()=>import("./RovingTabindexMixin.stories-B6MPGbVh.js"),__vite__mapDeps([42,20,2]),import.meta.url),"./src/stories/Rtc.stories.ts":()=>he(()=>import("./Rtc.stories-D3tZOSkM.js"),__vite__mapDeps([43,2]),import.meta.url),"./src/stories/ScrollShadow.stories.ts":()=>he(()=>import("./ScrollShadow.stories-B1dTcJR4.js"),__vite__mapDeps([44,2]),import.meta.url),"./src/stories/Switch.stories.ts":()=>he(()=>import("./Switch.stories-Bp-Guy3z.js"),__vite__mapDeps([45,17,4,35,2]),import.meta.url),"./src/stories/Tabs.stories.ts":()=>he(()=>import("./Tabs.stories-g5Nb7YDi.js"),__vite__mapDeps([46,4,2]),import.meta.url),"./src/stories/Tab.stories.ts":()=>he(()=>import("./Tab.stories-Caxi7G_1.js"),__vite__mapDeps([47,4,2]),import.meta.url),"./src/stories/Throttle.stories.ts":()=>he(()=>import("./Throttle.stories-BzWv-mzN.js"),__vite__mapDeps([48,2]),import.meta.url),"./src/stories/Tooltip.stories.ts":()=>he(()=>import("./Tooltip.stories-BlaTc14X.js"),__vite__mapDeps([49,20,17,4,22,2]),import.meta.url),"./src/stories/Upload.stories.ts":()=>he(()=>import("./Upload.stories-a9edmUmW.js"),__vite__mapDeps([50,17,4,2]),import.meta.url),"./src/stories/UploadItem.stories.ts":()=>he(()=>import("./UploadItem.stories-BOIu5j_i.js"),__vite__mapDeps([51,2]),import.meta.url),"./src/stories/Widget.stories.ts":()=>he(()=>import("./Widget.stories-D0vHPAyP.js"),__vite__mapDeps([52,4,2]),import.meta.url),"./src/stories/onFind.stories.ts":()=>he(()=>import("./onFind.stories-BuZMC3tk.js"),__vite__mapDeps([53,39,2]),import.meta.url),"./src/stories/onRemove.stories.ts":()=>he(()=>import("./onRemove.stories-HDkMhdmO.js"),__vite__mapDeps([54,2]),import.meta.url),"./src/stories/onVisible.stories.ts":()=>he(()=>import("./onVisible.stories-CRCllRfN.js"),__vite__mapDeps([55,39,2]),import.meta.url)};async function DV(e){return await FV[e]()}var LV=Object.defineProperty,Xx=(e,t)=>{for(var r in t)LV(e,r,{get:t[r],enumerable:!0})};const Ba=globalThis,lf=Ba.ShadowRoot&&(Ba.ShadyCSS===void 0||Ba.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,Qx=Symbol(),Ly=new WeakMap;let $V=class{constructor(t,r,n){if(this._$cssResult$=!0,n!==Qx)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=r}get styleSheet(){let t=this.o;const r=this.t;if(lf&&t===void 0){const n=r!==void 0&&r.length===1;n&&(t=Ly.get(r)),t===void 0&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),n&&Ly.set(r,t))}return t}toString(){return this.cssText}};const BV=e=>new $V(typeof e=="string"?e:e+"",void 0,Qx),UV=(e,t)=>{if(lf)e.adoptedStyleSheets=t.map((r=>r instanceof CSSStyleSheet?r:r.styleSheet));else for(const r of t){const n=document.createElement("style"),i=Ba.litNonce;i!==void 0&&n.setAttribute("nonce",i),n.textContent=r.cssText,e.appendChild(n)}},$y=lf?e=>e:e=>e instanceof CSSStyleSheet?(t=>{let r="";for(const n of t.cssRules)r+=n.cssText;return BV(r)})(e):e;const{is:HV,defineProperty:JV,getOwnPropertyDescriptor:VV,getOwnPropertyNames:zV,getOwnPropertySymbols:GV,getPrototypeOf:WV}=Object,ml=globalThis,By=ml.trustedTypes,KV=By?By.emptyScript:"",YV=ml.reactiveElementPolyfillSupport,po=(e,t)=>e,Dc={toAttribute(e,t){switch(t){case Boolean:e=e?KV:null;break;case Object:case Array:e=e==null?e:JSON.stringify(e)}return e},fromAttribute(e,t){let r=e;switch(t){case Boolean:r=e!==null;break;case Number:r=e===null?null:Number(e);break;case Object:case Array:try{r=JSON.parse(e)}catch{r=null}}return r}},Zx=(e,t)=>!HV(e,t),Uy={attribute:!0,type:String,converter:Dc,reflect:!1,useDefault:!1,hasChanged:Zx};Symbol.metadata??=Symbol("metadata"),ml.litPropertyMetadata??=new WeakMap;let Dn=class extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??=[]).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,r=Uy){if(r.state&&(r.attribute=!1),this._$Ei(),this.prototype.hasOwnProperty(t)&&((r=Object.create(r)).wrapped=!0),this.elementProperties.set(t,r),!r.noAccessor){const n=Symbol(),i=this.getPropertyDescriptor(t,n,r);i!==void 0&&JV(this.prototype,t,i)}}static getPropertyDescriptor(t,r,n){const{get:i,set:o}=VV(this.prototype,t)??{get(){return this[r]},set(a){this[r]=a}};return{get:i,set(a){const s=i?.call(this);o?.call(this,a),this.requestUpdate(t,s,n)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??Uy}static _$Ei(){if(this.hasOwnProperty(po("elementProperties")))return;const t=WV(this);t.finalize(),t.l!==void 0&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(po("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(po("properties"))){const r=this.properties,n=[...zV(r),...GV(r)];for(const i of n)this.createProperty(i,r[i])}const t=this[Symbol.metadata];if(t!==null){const r=litPropertyMetadata.get(t);if(r!==void 0)for(const[n,i]of r)this.elementProperties.set(n,i)}this._$Eh=new Map;for(const[r,n]of this.elementProperties){const i=this._$Eu(r,n);i!==void 0&&this._$Eh.set(i,r)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){const r=[];if(Array.isArray(t)){const n=new Set(t.flat(1/0).reverse());for(const i of n)r.unshift($y(i))}else t!==void 0&&r.push($y(t));return r}static _$Eu(t,r){const n=r.attribute;return n===!1?void 0:typeof n=="string"?n:typeof t=="string"?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$ES=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$E_(),this.requestUpdate(),this.constructor.l?.forEach((t=>t(this)))}addController(t){(this._$EO??=new Set).add(t),this.renderRoot!==void 0&&this.isConnected&&t.hostConnected?.()}removeController(t){this._$EO?.delete(t)}_$E_(){const t=new Map,r=this.constructor.elementProperties;for(const n of r.keys())this.hasOwnProperty(n)&&(t.set(n,this[n]),delete this[n]);t.size>0&&(this._$Ep=t)}createRenderRoot(){const t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return UV(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$EO?.forEach((t=>t.hostConnected?.()))}enableUpdating(t){}disconnectedCallback(){this._$EO?.forEach((t=>t.hostDisconnected?.()))}attributeChangedCallback(t,r,n){this._$AK(t,n)}_$ET(t,r){const n=this.constructor.elementProperties.get(t),i=this.constructor._$Eu(t,n);if(i!==void 0&&n.reflect===!0){const o=(n.converter?.toAttribute!==void 0?n.converter:Dc).toAttribute(r,n.type);this._$Em=t,o==null?this.removeAttribute(i):this.setAttribute(i,o),this._$Em=null}}_$AK(t,r){const n=this.constructor,i=n._$Eh.get(t);if(i!==void 0&&this._$Em!==i){const o=n.getPropertyOptions(i),a=typeof o.converter=="function"?{fromAttribute:o.converter}:o.converter?.fromAttribute!==void 0?o.converter:Dc;this._$Em=i;const s=a.fromAttribute(r,o.type);this[i]=s??this._$Ej?.get(i)??s,this._$Em=null}}requestUpdate(t,r,n){if(t!==void 0){const i=this.constructor,o=this[t];if(n??=i.getPropertyOptions(t),!((n.hasChanged??Zx)(o,r)||n.useDefault&&n.reflect&&o===this._$Ej?.get(t)&&!this.hasAttribute(i._$Eu(t,n))))return;this.C(t,r,n)}this.isUpdatePending===!1&&(this._$ES=this._$EP())}C(t,r,{useDefault:n,reflect:i,wrapped:o},a){n&&!(this._$Ej??=new Map).has(t)&&(this._$Ej.set(t,a??r??this[t]),o!==!0||a!==void 0)||(this._$AL.has(t)||(this.hasUpdated||n||(r=void 0),this._$AL.set(t,r)),i===!0&&this._$Em!==t&&(this._$Eq??=new Set).add(t))}async _$EP(){this.isUpdatePending=!0;try{await this._$ES}catch(r){Promise.reject(r)}const t=this.scheduleUpdate();return t!=null&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(const[i,o]of this._$Ep)this[i]=o;this._$Ep=void 0}const n=this.constructor.elementProperties;if(n.size>0)for(const[i,o]of n){const{wrapped:a}=o,s=this[i];a!==!0||this._$AL.has(i)||s===void 0||this.C(i,void 0,o,s)}}let t=!1;const r=this._$AL;try{t=this.shouldUpdate(r),t?(this.willUpdate(r),this._$EO?.forEach((n=>n.hostUpdate?.())),this.update(r)):this._$EM()}catch(n){throw t=!1,this._$EM(),n}t&&this._$AE(r)}willUpdate(t){}_$AE(t){this._$EO?.forEach((r=>r.hostUpdated?.())),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$EM(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(t){return!0}update(t){this._$Eq&&=this._$Eq.forEach((r=>this._$ET(r,this[r]))),this._$EM()}updated(t){}firstUpdated(t){}};Dn.elementStyles=[],Dn.shadowRootOptions={mode:"open"},Dn[po("elementProperties")]=new Map,Dn[po("finalized")]=new Map,YV?.({ReactiveElement:Dn}),(ml.reactiveElementVersions??=[]).push("2.1.1");const uf=globalThis,_s=uf.trustedTypes,Hy=_s?_s.createPolicy("lit-html",{createHTML:e=>e}):void 0,e0="$lit$",Br=`lit$${Math.random().toFixed(9).slice(2)}$`,t0="?"+Br,XV=`<${t0}>`,Rn=document,qo=()=>Rn.createComment(""),Fo=e=>e===null||typeof e!="object"&&typeof e!="function",cf=Array.isArray,QV=e=>cf(e)||typeof e?.[Symbol.iterator]=="function",bu=`[
1022
+ \f\r]`,Ki=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Jy=/-->/g,Vy=/>/g,un=RegExp(`>|${bu}(?:([^\\s"'>=/]+)(${bu}*=${bu}*(?:[^
1023
+ \f\r"'\`<>=]|("|')|))|$)`,"g"),zy=/'/g,Gy=/"/g,r0=/^(?:script|style|textarea|title)$/i,ZV=e=>(t,...r)=>({_$litType$:e,strings:t,values:r}),n0=ZV(1),Cn=Symbol.for("lit-noChange"),Ke=Symbol.for("lit-nothing"),Wy=new WeakMap,yn=Rn.createTreeWalker(Rn,129);function i0(e,t){if(!cf(e)||!e.hasOwnProperty("raw"))throw Error("invalid template strings array");return Hy!==void 0?Hy.createHTML(t):t}const ez=(e,t)=>{const r=e.length-1,n=[];let i,o=t===2?"<svg>":t===3?"<math>":"",a=Ki;for(let s=0;s<r;s++){const c=e[s];let l,d,p=-1,f=0;for(;f<c.length&&(a.lastIndex=f,d=a.exec(c),d!==null);)f=a.lastIndex,a===Ki?d[1]==="!--"?a=Jy:d[1]!==void 0?a=Vy:d[2]!==void 0?(r0.test(d[2])&&(i=RegExp("</"+d[2],"g")),a=un):d[3]!==void 0&&(a=un):a===un?d[0]===">"?(a=i??Ki,p=-1):d[1]===void 0?p=-2:(p=a.lastIndex-d[2].length,l=d[1],a=d[3]===void 0?un:d[3]==='"'?Gy:zy):a===Gy||a===zy?a=un:a===Jy||a===Vy?a=Ki:(a=un,i=void 0);const m=a===un&&e[s+1].startsWith("/>")?" ":"";o+=a===Ki?c+XV:p>=0?(n.push(l),c.slice(0,p)+e0+c.slice(p)+Br+m):c+Br+(p===-2?s:m)}return[i0(e,o+(e[r]||"<?>")+(t===2?"</svg>":t===3?"</math>":"")),n]};class Do{constructor({strings:t,_$litType$:r},n){let i;this.parts=[];let o=0,a=0;const s=t.length-1,c=this.parts,[l,d]=ez(t,r);if(this.el=Do.createElement(l,n),yn.currentNode=this.el.content,r===2||r===3){const p=this.el.content.firstChild;p.replaceWith(...p.childNodes)}for(;(i=yn.nextNode())!==null&&c.length<s;){if(i.nodeType===1){if(i.hasAttributes())for(const p of i.getAttributeNames())if(p.endsWith(e0)){const f=d[a++],m=i.getAttribute(p).split(Br),y=/([.?@])?(.*)/.exec(f);c.push({type:1,index:o,name:y[2],strings:m,ctor:y[1]==="."?rz:y[1]==="?"?nz:y[1]==="@"?iz:hl}),i.removeAttribute(p)}else p.startsWith(Br)&&(c.push({type:6,index:o}),i.removeAttribute(p));if(r0.test(i.tagName)){const p=i.textContent.split(Br),f=p.length-1;if(f>0){i.textContent=_s?_s.emptyScript:"";for(let m=0;m<f;m++)i.append(p[m],qo()),yn.nextNode(),c.push({type:2,index:++o});i.append(p[f],qo())}}}else if(i.nodeType===8)if(i.data===t0)c.push({type:2,index:o});else{let p=-1;for(;(p=i.data.indexOf(Br,p+1))!==-1;)c.push({type:7,index:o}),p+=Br.length-1}o++}}static createElement(t,r){const n=Rn.createElement("template");return n.innerHTML=t,n}}function li(e,t,r=e,n){if(t===Cn)return t;let i=n!==void 0?r._$Co?.[n]:r._$Cl;const o=Fo(t)?void 0:t._$litDirective$;return i?.constructor!==o&&(i?._$AO?.(!1),o===void 0?i=void 0:(i=new o(e),i._$AT(e,r,n)),n!==void 0?(r._$Co??=[])[n]=i:r._$Cl=i),i!==void 0&&(t=li(e,i._$AS(e,t.values),i,n)),t}class tz{constructor(t,r){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=r}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:r},parts:n}=this._$AD,i=(t?.creationScope??Rn).importNode(r,!0);yn.currentNode=i;let o=yn.nextNode(),a=0,s=0,c=n[0];for(;c!==void 0;){if(a===c.index){let l;c.type===2?l=new oa(o,o.nextSibling,this,t):c.type===1?l=new c.ctor(o,c.name,c.strings,this,t):c.type===6&&(l=new oz(o,this,t)),this._$AV.push(l),c=n[++s]}a!==c?.index&&(o=yn.nextNode(),a++)}return yn.currentNode=Rn,i}p(t){let r=0;for(const n of this._$AV)n!==void 0&&(n.strings!==void 0?(n._$AI(t,n,r),r+=n.strings.length-2):n._$AI(t[r])),r++}}class oa{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,r,n,i){this.type=2,this._$AH=Ke,this._$AN=void 0,this._$AA=t,this._$AB=r,this._$AM=n,this.options=i,this._$Cv=i?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode;const r=this._$AM;return r!==void 0&&t?.nodeType===11&&(t=r.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,r=this){t=li(this,t,r),Fo(t)?t===Ke||t==null||t===""?(this._$AH!==Ke&&this._$AR(),this._$AH=Ke):t!==this._$AH&&t!==Cn&&this._(t):t._$litType$!==void 0?this.$(t):t.nodeType!==void 0?this.T(t):QV(t)?this.k(t):this._(t)}O(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.O(t))}_(t){this._$AH!==Ke&&Fo(this._$AH)?this._$AA.nextSibling.data=t:this.T(Rn.createTextNode(t)),this._$AH=t}$(t){const{values:r,_$litType$:n}=t,i=typeof n=="number"?this._$AC(t):(n.el===void 0&&(n.el=Do.createElement(i0(n.h,n.h[0]),this.options)),n);if(this._$AH?._$AD===i)this._$AH.p(r);else{const o=new tz(i,this),a=o.u(this.options);o.p(r),this.T(a),this._$AH=o}}_$AC(t){let r=Wy.get(t.strings);return r===void 0&&Wy.set(t.strings,r=new Do(t)),r}k(t){cf(this._$AH)||(this._$AH=[],this._$AR());const r=this._$AH;let n,i=0;for(const o of t)i===r.length?r.push(n=new oa(this.O(qo()),this.O(qo()),this,this.options)):n=r[i],n._$AI(o),i++;i<r.length&&(this._$AR(n&&n._$AB.nextSibling,i),r.length=i)}_$AR(t=this._$AA.nextSibling,r){for(this._$AP?.(!1,!0,r);t!==this._$AB;){const n=t.nextSibling;t.remove(),t=n}}setConnected(t){this._$AM===void 0&&(this._$Cv=t,this._$AP?.(t))}}class hl{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,r,n,i,o){this.type=1,this._$AH=Ke,this._$AN=void 0,this.element=t,this.name=r,this._$AM=i,this.options=o,n.length>2||n[0]!==""||n[1]!==""?(this._$AH=Array(n.length-1).fill(new String),this.strings=n):this._$AH=Ke}_$AI(t,r=this,n,i){const o=this.strings;let a=!1;if(o===void 0)t=li(this,t,r,0),a=!Fo(t)||t!==this._$AH&&t!==Cn,a&&(this._$AH=t);else{const s=t;let c,l;for(t=o[0],c=0;c<o.length-1;c++)l=li(this,s[n+c],r,c),l===Cn&&(l=this._$AH[c]),a||=!Fo(l)||l!==this._$AH[c],l===Ke?t=Ke:t!==Ke&&(t+=(l??"")+o[c+1]),this._$AH[c]=l}a&&!i&&this.j(t)}j(t){t===Ke?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}}class rz extends hl{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===Ke?void 0:t}}class nz extends hl{constructor(){super(...arguments),this.type=4}j(t){this.element.toggleAttribute(this.name,!!t&&t!==Ke)}}class iz extends hl{constructor(t,r,n,i,o){super(t,r,n,i,o),this.type=5}_$AI(t,r=this){if((t=li(this,t,r,0)??Ke)===Cn)return;const n=this._$AH,i=t===Ke&&n!==Ke||t.capture!==n.capture||t.once!==n.once||t.passive!==n.passive,o=t!==Ke&&(n===Ke||i);i&&this.element.removeEventListener(this.name,this,n),o&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}}class oz{constructor(t,r,n){this.element=t,this.type=6,this._$AN=void 0,this._$AM=r,this.options=n}get _$AU(){return this._$AM._$AU}_$AI(t){li(this,t)}}const az=uf.litHtmlPolyfillSupport;az?.(Do,oa),(uf.litHtmlVersions??=[]).push("3.3.1");const Ts=(e,t,r)=>{const n=r?.renderBefore??t;let i=n._$litPart$;if(i===void 0){const o=r?.renderBefore??null;n._$litPart$=i=new oa(t.insertBefore(qo(),o),o,void 0,r??{})}return i._$AI(e),i};const df=globalThis;let Ua=class extends Dn{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){const t=super.createRenderRoot();return this.renderOptions.renderBefore??=t.firstChild,t}update(t){const r=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=Ts(r,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return Cn}};Ua._$litElement$=!0,Ua.finalized=!0,df.litElementHydrateSupport?.({LitElement:Ua});const sz=df.litElementPolyfillSupport;sz?.({LitElement:Ua});(df.litElementVersions??=[]).push("4.2.1");const lz=(e,t)=>t===void 0?e?._$litType$!==void 0:e?._$litType$===t,uz=e=>e.strings===void 0;function cz(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 i=n.reduce(function(s,c){var l=c.match(/\n([\t ]+|(?!\s).)/g);return l?s.concat(l.map(function(d){var p,f;return(f=(p=d.match(/[\t ]/g))===null||p===void 0?void 0:p.length)!==null&&f!==void 0?f:0})):s},[]);if(i.length){var o=new RegExp(`
1024
+ [ ]{`+Math.min.apply(Math,i)+"}","g");n=n.map(function(s){return s.replace(o,`
1025
+ `)})}n[0]=n[0].replace(/^\r?\n/,"");var a=n[0];return t.forEach(function(s,c){var l=a.match(/(?:^|\n)( *)$/),d=l?l[1]:"",p=s;typeof s=="string"&&s.includes(`
1026
+ `)&&(p=String(s).split(`
1027
+ `).map(function(f,m){return m===0?f:""+d+f}).join(`
1028
+ `)),a+=p+n[c+1]}),a}var dz={};Xx(dz,{parameters:()=>s0,render:()=>o0,renderToCanvas:()=>a0});const{global:pz}=__STORYBOOK_MODULE_GLOBAL__,{simulateDOMContentLoaded:fz,simulatePageLoad:Ky}=__STORYBOOK_MODULE_PREVIEW_API__;var{Node:mz}=pz,o0=(e,t)=>{let{id:r,component:n}=t;if(!n)throw new Error(`Unable to render story ${r} as the component annotation is missing from the default export`);let i=document.createElement(n);return Object.entries(e).forEach(([o,a])=>{i[o]=a}),i};function a0({storyFn:e,kind:t,name:r,showMain:n,showError:i,forceRemount:o},a){let s=e();if(n(),lz(s)){(o||!a.querySelector('[id="root-inner"]'))&&(a.innerHTML='<div id="root-inner"></div>');let c=a.querySelector('[id="root-inner"]');Ts(s,c),Ky(a)}else if(typeof s=="string")a.innerHTML=s,Ky(a);else if(s instanceof mz){if(a.firstChild===s&&!o)return;a.innerHTML="",a.appendChild(s),fz()}else i({title:`Expecting an HTML snippet or DOM node from the story: "${r}" of "${t}".`,description:cz`
1029
+ Did you forget to return the HTML snippet from the story?
1030
+ Use "() => <your snippet or node>" or when defining the story.
1031
+ `})}var s0={renderer:"web-components"};const hz=Object.freeze(Object.defineProperty({__proto__:null,parameters:s0,render:o0,renderToCanvas:a0},Symbol.toStringTag,{value:"Module"}));var yz={};Xx(yz,{decorators:()=>l0,parameters:()=>u0});const{emitTransformCode:gz,useEffect:bz}=__STORYBOOK_MODULE_PREVIEW_API__;var vz=/<!--\?lit\$[0-9]+\$-->|<!--\??-->/g;function Ez(e){let t=e?.parameters.docs?.source,r=e?.parameters.__isArgsStory;return t?.type===ws.DYNAMIC?!1:!r||t?.code||t?.type===ws.CODE}function wz(e,t){let r=e(),n=t?.parameters.docs?.source?.excludeDecorators?t.originalStoryFn(t.args,t):r,i;if(bz(()=>{i&&gz(i,t)}),!Ez(t)){let o=window.document.createElement("div");n instanceof DocumentFragment?Ts(n.cloneNode(!0),o):Ts(n,o),i=o.innerHTML.replace(vz,"")}return r}var l0=[wz],u0={docs:{source:{type:ws.DYNAMIC,language:"html"},story:{inline:!0}}};const{global:_z}=__STORYBOOK_MODULE_GLOBAL__,{global:Tz}=__STORYBOOK_MODULE_GLOBAL__;var{window:xz}=Tz;xz.STORYBOOK_ENV="web-components";const{global:Lc}=__STORYBOOK_MODULE_GLOBAL__;function c0(e){if(!e)return!1;if(typeof e=="string")return!0;throw new Error('Provided component needs to be a string. e.g. component: "my-element"')}function d0(e){if(!e)return!1;if(e.tags&&Array.isArray(e.tags)||e.modules&&Array.isArray(e.modules))return!0;throw new Error(`You need to setup valid meta data in your config.js via setCustomElements().
1032
+ See the readme of addon-docs for web components for more details.`)}function Sz(e){Lc.__STORYBOOK_CUSTOM_ELEMENTS_MANIFEST__=e}function p0(){return Lc.__STORYBOOK_CUSTOM_ELEMENTS__||Lc.__STORYBOOK_CUSTOM_ELEMENTS_MANIFEST__}const{setProjectAnnotations:eW,setDefaultProjectAnnotations:tW}=__STORYBOOK_MODULE_PREVIEW_API__;var{window:Oz,EventSource:Az}=_z;typeof module<"u"&&module?.hot?.decline&&(module.hot.decline(),new Az("__webpack_hmr").addEventListener("message",function(e){try{let{action:t}=JSON.parse(e.data);t==="built"&&Oz.location.reload()}catch{}}));var Rz="Invariant failed";function Cz(e,t){if(!e)throw new Error(Rz)}const{logger:f0}=__STORYBOOK_MODULE_CLIENT_LOGGER__;function m0(e,t){let r;switch(t){case"attributes":case"properties":r={name:e.type?.text||e.type};break;case"slots":r={name:"string"};break;default:r={name:"void"};break}return{name:e.name,required:!1,description:e.description,type:r,table:{category:t,type:{summary:e.type?.text||e.type},defaultValue:{summary:e.default!==void 0?e.default:e.defaultValue}}}}function Pz(e){let t=e.name.replace(/(-|_|:|\.|\s)+(.)?/g,(r,n,i)=>i?i.toUpperCase():"").replace(/^([A-Z])/,r=>r.toLowerCase());return t=`on${t.charAt(0).toUpperCase()+t.substr(1)}`,[{name:t,action:{name:e.name},table:{disable:!0}},m0(e,"events")]}function cn(e,t){return e&&e.filter(r=>r&&r.name).reduce((r,n)=>{if(n.kind==="method")return r;switch(t){case"events":Pz(n).forEach(i=>{Cz(i.name),r[i.name]=i});break;default:r[n.name]=m0(n,t);break}return r},{})}var Mz=(e,t)=>{if(!c0(e)||!d0(t))return null;let r=t.tags.find(n=>n.name.toUpperCase()===e.toUpperCase());return r||f0.warn(`Component not found in custom-elements.json: ${e}`),r},Nz=(e,t)=>{if(!c0(e)||!d0(t))return null;let r;return t?.modules?.forEach(n=>{n?.declarations?.forEach(i=>{i.tagName===e&&(r=i)})}),r||f0.warn(`Component not found in custom-elements.json: ${e}`),r},h0=(e,t)=>t?.version==="experimental"?Mz(e,t):Nz(e,t),kz=(e,t)=>{let r=h0(e,t);return r&&{...cn(r.members??[],"properties"),...cn(r.properties??[],"properties"),...cn(r.attributes??[],"attributes"),...cn(r.events??[],"events"),...cn(r.slots??[],"slots"),...cn(r.cssProperties??[],"css custom properties"),...cn(r.cssParts??[],"css shadow parts")}},Iz=e=>{let t=p0();return kz(e,t)},jz=e=>{let t=h0(e,p0());return t&&t.description},qz={docs:{extractArgTypes:Iz,extractComponentDescription:jz}},Fz=[kV];const Dz=Object.freeze(Object.defineProperty({__proto__:null,argTypesEnhancers:Fz,parameters:qz},Symbol.toStringTag,{value:"Module"})),Lz=Object.freeze(Object.defineProperty({__proto__:null,decorators:l0,parameters:u0},Symbol.toStringTag,{value:"Module"}));var $z=Object.create,pf=Object.defineProperty,Bz=Object.getOwnPropertyDescriptor,y0=Object.getOwnPropertyNames,Uz=Object.getPrototypeOf,Hz=Object.prototype.hasOwnProperty,rW=(e,t)=>function(){return t||(0,e[y0(e)[0]])((t={exports:{}}).exports,t),t.exports},Jz=(e,t)=>{for(var r in t)pf(e,r,{get:t[r],enumerable:!0})},Vz=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of y0(t))!Hz.call(e,i)&&i!==r&&pf(e,i,{get:()=>t[i],enumerable:!(n=Bz(t,i))||n.enumerable});return e},nW=(e,t,r)=>(r=e!=null?$z(Uz(e)):{},Vz(pf(r,"default",{value:e,enumerable:!0}),e)),zz={};Jz(zz,{parameters:()=>g0});var Gz=Object.entries(globalThis.TAGS_OPTIONS??{}).reduce((e,t)=>{let[r,n]=t;return n.excludeFromDocsStories&&(e[r]=!0),e},{}),g0={docs:{renderer:async()=>{let{DocsRenderer:e}=await he(async()=>{const{DocsRenderer:t}=await import("./DocsRenderer-LL677BLK-DmVtYsJx.js");return{DocsRenderer:t}},__vite__mapDeps([56,2,1]),import.meta.url);return new e},stories:{filter:e=>(e.tags||[]).filter(t=>Gz[t]).length===0&&!e.parameters.docs?.disable}}};const Wz=Object.freeze(Object.defineProperty({__proto__:null,parameters:g0},Symbol.toStringTag,{value:"Module"}));const b0={ATTRIBUTE:1,CHILD:2},v0=e=>(...t)=>({_$litDirective$:e,values:t});class E0{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,r,n){this._$Ct=t,this._$AM=r,this._$Ci=n}_$AS(t,r){return this.update(t,r)}update(t,r){return this.render(...r)}}const fo=(e,t)=>{const r=e._$AN;if(r===void 0)return!1;for(const n of r)n._$AO?.(t,!1),fo(n,t);return!0},xs=e=>{let t,r;do{if((t=e._$AM)===void 0)break;r=t._$AN,r.delete(e),e=t}while(r?.size===0)},w0=e=>{for(let t;t=e._$AM;e=t){let r=t._$AN;if(r===void 0)t._$AN=r=new Set;else if(r.has(e))break;r.add(e),Xz(t)}};function Kz(e){this._$AN!==void 0?(xs(this),this._$AM=e,w0(this)):this._$AM=e}function Yz(e,t=!1,r=0){const n=this._$AH,i=this._$AN;if(i!==void 0&&i.size!==0)if(t)if(Array.isArray(n))for(let o=r;o<n.length;o++)fo(n[o],!1),xs(n[o]);else n!=null&&(fo(n,!1),xs(n));else fo(this,e)}const Xz=e=>{e.type==b0.CHILD&&(e._$AP??=Yz,e._$AQ??=Kz)};class Qz extends E0{constructor(){super(...arguments),this._$AN=void 0}_$AT(t,r,n){super._$AT(t,r,n),w0(this),this.isConnected=t._$AU}_$AO(t,r=!0){t!==this.isConnected&&(this.isConnected=t,t?this.reconnected?.():this.disconnected?.()),r&&(fo(this,t),xs(this))}setValue(t){if(uz(this._$Ct))this._$Ct._$AI(t,this);else{const r=[...this._$Ct._$AH];r[this._$Ci]=t,this._$Ct._$AI(r,this,0)}}disconnected(){}reconnected(){}}const _0=Symbol.for(""),Zz=e=>{if(e?.r===_0)return e?._$litStatic$},ro=e=>({_$litStatic$:e,r:_0}),Yy=new Map,e6=e=>(t,...r)=>{const n=r.length;let i,o;const a=[],s=[];let c,l=0,d=!1;for(;l<n;){for(c=t[l];l<n&&(o=r[l],(i=Zz(o))!==void 0);)c+=i+t[++l],d=!0;l!==n&&s.push(o),a.push(c),l++}if(l===n&&a.push(t[n]),d){const p=a.join("$$lit$$");(t=Yy.get(p))===void 0&&(a.raw=a,Yy.set(p,t=a)),r=s}return e(t,...r)},Xy=e6(n0);class $c extends E0{constructor(t){if(super(t),this.it=Ke,t.type!==b0.CHILD)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===Ke||t==null)return this._t=void 0,this.it=t;if(t===Cn)return t;if(typeof t!="string")throw Error(this.constructor.directiveName+"() called with a non-string value");if(t===this.it)return this._t;this.it=t;const r=[t];return r.raw=r,this._t={_$litType$:this.constructor.resultType,strings:r,values:[]}}}$c.directiveName="unsafeHTML",$c.resultType=1;const T0=v0($c);var t6=class extends Qz{constructor(){super(...arguments),this.prevData={}}render(e){return Ke}update(e,[t]){this.element!==e.element&&(this.element=e.element),this.host=e.options?.host||this.element,this.apply(t),this.groom(t),this.prevData={...t}}apply(e){if(!e)return;const{prevData:t,element:r}=this;for(const n in e){const i=e[n];i!==t[n]&&Ss(r,n,i)}}groom(e){const{prevData:t,element:r}=this;if(t)for(const n in t)(!e||!(n in e)&&r[n]===t[n])&&Ss(r,n,void 0)}},r6=class extends t6{constructor(){super(...arguments),this.eventData={}}apply(e){if(e)for(const t in e){const r=e[t];r!==this.eventData[t]&&this.applyEvent(t,r)}}applyEvent(e,t){const{prevData:r,element:n}=this;this.eventData[e]=t,r[e]&&n.removeEventListener(e,this,t),n.addEventListener(e,this,t)}groom(e){const{prevData:t,element:r}=this;if(t)for(const n in t)(!e||!(n in e)&&r[n]===t[n])&&this.groomEvent(n,t[n])}groomEvent(e,t){const{element:r}=this;delete this.eventData[e],r.removeEventListener(e,this,t)}handleEvent(e){const t=this.eventData[e.type];typeof t=="function"?t.call(this.host,e):t.handleEvent(e)}disconnected(){const{eventData:e,element:t}=this;for(const r in e){const n=r.slice(1),i=e[r];t.removeEventListener(n,this,i)}}reconnected(){const{eventData:e,element:t}=this;for(const r in e){const n=r.slice(1),i=e[r];t.addEventListener(n,this,i)}}},n6=class extends r6{apply(e){if(!e)return;const{prevData:t,element:r}=this;for(const n in e){const i=e[n];if(i===t[n])continue;const o=n.slice(1);switch(n[0]){case"@":this.eventData[o]=i,this.applyEvent(o,i);break;case".":Ss(r,o,i);break;case"?":i?r.setAttribute(o,""):r.removeAttribute(o);break;default:i?r.setAttribute(n,String(i)):r.removeAttribute(n);break}}}groom(e){const{prevData:t,element:r}=this;if(t)for(const n in t){const i=n.slice(1);if(!e||!(n in e)&&r[i]===t[n])switch(n[0]){case"@":this.groomEvent(i,t[n]);break;case".":Ss(r,i,void 0);break;case"?":r.removeAttribute(i);break;default:r.removeAttribute(n);break}}}};function Ss(e,t,r){try{e[t]=r}catch(n){console.warn(`Could not set property "${t}" on ${e.tagName} because it has no "setter".`,n)}}var i6=v0(n6);const{useArgs:o6}=__STORYBOOK_MODULE_PREVIEW_API__;var a6=new Set(["AnimationEvent","BeforeUnloadEvent","ClipboardEvent","DragEvent","Event","FocusEvent","HashChangeEvent","InputEvent","KeyboardEvent","MessageEvent","MouseEvent","MutationObserver","PageTransitionEvent","PointerEvent","PopStateEvent","ProgressEvent","StorageEvent","TouchEvent","TransitionEvent","UIEvent","WebGLContextEvent","WheelEvent"]);function s6(e,t=[]){return(e.modules?.map(r=>r.declarations?.filter(n=>n.customElement)?.flat())?.flat()||[]).filter(r=>r&&!t?.includes(r.name))}function l6(e,t){return s6(e).find(r=>r?.tagName===t)}function u6(e){const t=i=>i.name+r(i)+n(i),r=i=>i.type?.text?`${i.optional?"?":""}: ${i.type?.text}`:"",n=i=>i.default?` = ${i.default}`:"";return e?.members?.filter(i=>i.kind==="method"&&i.privacy!=="private"&&i.privacy!=="protected"&&!i.name.startsWith("#"))?.map(i=>(i.type={text:`${i.name}(${i.parameters?.map(o=>t(o)).join(", ")||""}) => ${i.return?.type?.text||"void"}`},i))}function c6(e,t={}){return e?.events?.map(n=>{const i=n[`${t.customEventDetailTypePropName}`]?.text||n.type?.text,o=t.overrideCustomEventType?i||"CustomEvent":a6.has(i)?i:i&&i!=="CustomEvent"?`CustomEvent<${i}>`:"CustomEvent";return{...n,type:{text:o}}})||[]}function d6(e,t){if(!t)return e||"";const r=e?`- ${e}`:"";return typeof t=="string"?`@deprecated ${t} ${r}`:`@deprecated ${r}`}function Lo(e){return e.trim().replace(/^["'](.+(?=["']$))["']$/,"$1")}var ui={};setTimeout(()=>{ui=globalThis?.__WC_STORYBOOK_HELPERS_CONFIG__||{}});function ff(e,t=!0){const r={},n={},i={};return e?.members?.forEach(o=>{if(o.kind!=="field")return;const a=e.attributes?.find(g=>o.name===g.fieldName),s=o.name,c=a?n:i;if(r[s]={name:s,table:{disable:!0}},o.privacy==="private"||o.privacy==="protected"||o.static)return;const l=a?.name||o.name,d=ui.typeRef&&o[`${ui.typeRef}`]?.text||o?.type?.text,p=A0(d),f=o.readonly?void 0:Lo(o.default||""),m=O0(p,a!==void 0);c[l]={name:l,description:yl(o.description,s,o.deprecated),defaultValue:f?f==="''"?"":m==="object"?JSON.parse(y6(f)):f:void 0,control:t&&!o.readonly&&m?{type:m}:!1,table:{category:a?"attributes":"properties",defaultValue:{summary:f},type:{summary:d}}};const y=p?.split("|");y&&y?.length>1&&(c[l].options=y.map(g=>Lo(g)))}),{resets:r,propArgs:i,attrArgs:n}}function p6(e,t=!0){const r={},n={};return e?.members?.forEach(i=>{if(i.kind!=="field"||(r[i.name]={name:i.name,table:{disable:!0}},i.privacy==="private"||i.privacy==="protected"||i.static))return;const o=ui.typeRef&&i[`${ui.typeRef}`]?.text||i?.type?.text,a=A0(o),s=`${i.name}`,c=O0(a);n[s]={name:i.name,description:i.description,defaultValue:m6(c,i.default),control:t&&!i.readonly&&c?{type:c}:!1,table:{category:"properties",defaultValue:{summary:Lo(i.default||"")},type:{summary:o}}};const l=a?.split("|");l&&l?.length>1&&(n[s].options=l.map(d=>Lo(d)))}),delete n.ref,{resets:r,args:n}}function x0(e){const t={};return e?.events?.forEach(r=>{const n=`on${r.name}`;t[n]={name:n,description:r.description,control:!1,table:{category:"events"}}}),{args:t}}function mf(e,t=!0){const r={},n={};return e?.cssProperties?.forEach(i=>{r[i.name]={name:i.name,table:{disable:!0}}}),e?.cssProperties?.forEach(i=>{n[i.name]={name:i.name,description:i.description,defaultValue:i.default,control:t?{type:i.name?.toLowerCase()?.includes("color")?"color":"text"}:!1,table:{category:"css properties"}}}),{resets:r,args:n}}function hf(e,t=!0){const r={},n={};return e?.cssParts?.forEach(i=>{r[i.name]={name:i.name,table:{disable:!0}},n[`${i.name}-part`]={name:i.name,description:yl(i.description,t?`${i.name}-part`:""),control:t?"text":!1,table:{category:"css shadow parts"}}}),{resets:r,args:n}}function yf(e,t=!0){const r={},n={};return e?.cssStates?.forEach(i=>{r[i.name]={name:i.name,table:{disable:!0}},n[`${i.name}-state`]={name:i.name,description:yl(i.description,t?`${i.name}-state`:""),control:t?"text":!1,table:{category:"css states"}}}),{resets:r,args:n}}function gf(e,t=!0){const r={},n={};return e?.slots?.forEach(i=>{r[i.name]={name:i.name,table:{disable:!0}};const o=i.name||"default";n[`${o}-slot`]={name:o,description:yl(i.description,t?`${o}-slot`:""),control:t?"text":!1,table:{category:"slots"}}}),{resets:r,args:n}}function f6(e){const t={},r={};return e?.events?.forEach(i=>{r[i.name]={name:i.name,table:{disable:!0}}}),c6(e)?.forEach(i=>{t[`${i.name}-event`]={name:i.name,description:i.description,control:!1,table:{category:"events",type:{summary:i.type.text}}}}),{resets:r,args:t}}function S0(e){const t={};return u6(e)?.forEach(n=>{t[`${n.name}-method`]={name:n.name,description:n.description,control:!1,table:{category:"methods",type:{summary:n.type.text}}}}),{args:t}}function m6(e,t){const r=Lo(t||"");return e==="boolean"?r==="true":r==="''"?"":r}function O0(e,t=!1){if(!e)return"text";const r=e.toLowerCase(),n=r.split("|").map(i=>i.trim()).filter(i=>i!==""&&i!=="null"&&i!=="undefined");return h6(r)&&!t?"object":Ra(n,"boolean")?"boolean":Ra(n,"number")&&!Ra(n,"string")?"number":Ra(n,"date")?"date":n.length>1?"select":"text"}function h6(e){return e.includes("array")||e.includes("object")||e.includes("{")||e.includes("[")||e.includes("<")}function Ra(e=[],t){return e?.find(r=>r===t)!==void 0}function A0(e){return e?e.replace(" | undefined","").replace(" | null","").replace(" | void","").replace(" | any","").replace(" | unknown","").replace(" | string & {}","|").replace(" | (string & {})","|").replace(" | string","|").replace(" | number","|").replace(" | boolean","|").replace(" | object","|").replace(" | Function","|").replace(" | {}","|").replace(" | []","|"):""}function yl(e,t,r){let n=d6(e,r);return ui.hideArgRef||!t?n:n+=`
1033
+
1034
+
1035
+ arg ref - \`${t}\``}function y6(e){return e.replace(/'([^']+)'/g,'"$1"').replace(/([{,]\s*)(\w+)\s*:/g,'$1"$2":').replace(/,\s*(}|])/g,"$1")}var Os,Qy,aa={};setTimeout(()=>{aa=globalThis?.__WC_STORYBOOK_HELPERS_CONFIG__||{}});function g6(e,t,r,n,i,o){if(!t)return Xy`<${ro(e.tagName)}></${ro(e.tagName)}>`;e?.tagName!==Qy&&(Os=void 0,Qy=e?.tagName);const{attrOperators:a,propOperators:s,additionalAttrs:c}=b6(e,t,n),l={...a,...s,...c},d=_6(e,t,i);return T6(e),Xy`${R0(e,t,i)}
1036
+ <${ro(e.tagName)} ${i6(l)}>${d}${r||""}</${ro(e.tagName)}>
1037
+ ${aa.setComponentVariable||o?T0(`<script>
1038
+ window.component = document.querySelector('`+e.tagName+`');
1039
+ <\/script>`):""}
1040
+ `}function R0(e,t,r){const n=Ha("cssProps",r)?"":v6(e,t)||"",i=Ha("cssParts",r)?"":E6(e,t)||"",o=Ha("cssStates",r)?"":w6(e,t)||"",a=[n,i,o].filter(s=>s.length).join(`
1041
+
1042
+ `);return`${n}${i}${o}`.replace(/\s+/g,"")!==""?T0(`<style>
1043
+ ${a}
1044
+ </style>`):""}function Ha(e,t){return!aa.categoryOrder?.includes(e)||t?.includes(e)||!1}function b6(e,t,r){const{propArgs:n,attrArgs:i}=ff(e),o={},a={},s={};return Object.keys(i).forEach(c=>{const l=i[c],d=l.name,p=t[c],f=l.control.type==="boolean"?`?${d}`:d;p!==i[c].defaultValue||aa.renderDefaultValues?o[f]=p==="false"?!1:p:o[f]=void 0}),Object.keys(t).filter(c=>n[c]).forEach(c=>{if(c.startsWith("on"))return;const l=t[c];a[`.${c}`]=l}),Object.keys(t).filter(c=>!Object.keys(r||{}).includes(c)).forEach(c=>{!c.startsWith("on")&&typeof t[c]!="function"&&(s[c]=t[c])}),{attrOperators:o,propOperators:a,additionalAttrs:s}}function v6(e,t){if(!e?.cssProperties?.length)return;const{args:r}=mf(e),n=Object.keys(r).map(i=>{const o=t[i]===r[i].defaultValue,a=r[i].name,s=t[i];return s&&(!o||o&&aa.renderDefaultValues)?` ${a}: ${s}`:null}).filter(i=>i!==null).join(`;
1045
+ `);return n?` ${e.tagName} {
1046
+ ${n};
1047
+ }`:""}function E6(e,t){if(!e?.cssParts?.length)return;const{args:r}=hf(e);return`${Object.keys(r).filter(n=>n.endsWith("-part")).map(n=>{const i=r[n].name,o=t[n];return o.replace(/\s+/g,"")!==""?` ${e?.tagName}::part(${i}) {
1048
+ ${o.split(`
1049
+ `).map(a=>` ${a}`).join(`
1050
+ `)}
1051
+ }`:null}).filter(n=>n!==null).join(`
1052
+
1053
+ `)}`}function w6(e,t){if(!e?.cssStates?.length)return;const{args:r}=yf(e);return`${Object.keys(r).filter(n=>n.endsWith("-state")).map(n=>{const i=r[n].name,o=t[n];return o.replace(/\s+/g,"")!==""?` ${e?.tagName}:state(${i}) {
1054
+ ${o.split(`
1055
+ `).map(a=>` ${a}`).join(`
1056
+ `)}
1057
+ }`:null}).filter(n=>n!==null).join(`
1058
+
1059
+ `)}`}function _6(e,t,r){if(!e?.slots?.length||Ha("slots",r))return;const{args:n}=gf(e),i=`${Object.keys(n).filter(o=>o.endsWith("-slot")).map(o=>{const a=o==="default-slot"?null:o.slice(0,-5),s=t[o];if(!a&&s)return` ${s}`;let c="";const l=document.createElement("div");l.innerHTML=s;for(const d of l.childNodes)d instanceof Text?c+=` <span slot=${a}>${d.textContent}</span>`:d instanceof Element?(d.setAttribute("slot",a),c+=` ${d.outerHTML}`):(d.textContent?.trim()===""||d.textContent===`
1060
+ `)&&(c+=d.textContent);return c}).filter(o=>o!==null&&o!=="").join(`
1061
+ `)}`;return i.trim()?ro(`
1062
+ ${i}
1063
+ `):""}function T6(e){x6(e),setTimeout(()=>{const t=document.querySelector(e.tagName);Os?.observe(t,{attributes:!0})})}function x6(e){let t=!1;const r=o6()[1],{attrArgs:n}=ff(e);Os||(Os=new MutationObserver(i=>{i.forEach(o=>{if(o.attributeName==="class"&&t)return;t=!0;const a=n[`${o.attributeName}`];a?.control==="boolean"||a?.control?.type==="boolean"?r({[`${o.attributeName}`]:o.target?.hasAttribute(o.attributeName||"")}):r({[`${o.attributeName}`]:o.target.getAttribute(o.attributeName||"")}),t=!1})}))}var bf=globalThis?.__WC_STORYBOOK_HELPERS_CONFIG__||{},S6={typeRef:"parsedType",categoryOrder:["attributes","properties","slots","cssProps","cssParts","cssStates","methods","events"]};function O6(e){e={...S6,...e},globalThis.__WC_STORYBOOK_HELPERS_CONFIG__=e,bf=e}function iW(e,t){bf=globalThis?.__WC_STORYBOOK_HELPERS_CONFIG__||{};const r=A6(),n=R6(r,e),i=n?.events?.map(s=>s.name)||[],o=C6(n,[]);return{args:C0(o),argTypes:o,reactArgs:M6(n),reactArgTypes:P0(n),events:i,styleTemplate:s=>R0(n,s,[]),template:(s,c)=>g6(n,s,c,o,[],t?.setComponentVariable)}}function A6(){const e=window.__STORYBOOK_CUSTOM_ELEMENTS_MANIFEST__;if(!e)throw new Error(`Custom Elements Manifest not found. Be sure to follow the pre-install steps in this guide:
1064
+ https://www.npmjs.com/package/wc-storybook-helpers#before-you-install`);return e}function R6(e,t){const r=l6(e,t);if(!r)throw new Error(`A component with the tag name "${t}" was not found in the Custom Elements Manifest. If it's missing in the CEM, it's often the result of a missing "@tag" or "@tagName" tag in the component's JSDoc.
1065
+ Additional information can be found here:
1066
+ https://custom-elements-manifest.open-wc.org/analyzer/getting-started/#supported-jsdoc`);return r}function C6(e,t){const r=mf(e),n=hf(e),i=gf(e),o=ff(e),a=f6(e),s=yf(e),c=S0(e),l={attributes:o.attrArgs,cssParts:n.args,cssProps:r.args,cssStates:s.args,events:a.args,methods:c.args,properties:o.propArgs,slots:i.args},d={};return Object.assign(d,r.resets,n.resets,i.resets,o.resets,a.resets,s.resets,c.resets),bf.categoryOrder?.forEach(p=>{t?.includes(p)||Object.assign(d,l[p])}),d}function C0(e){const t={};for(const[r,n]of Object.entries(e))n?.control&&(t[r]=P6(n.defaultValue)||"");return t}function P6(e){if(typeof e=="string")try{return JSON.parse(e)}catch{return e}return e}function P0(e,t){const r=mf(e),n=hf(e),i=gf(e),o=p6(e),a=x0(e),s=yf(e),c=S0(e),l=globalThis?.__WC_STORYBOOK_HELPERS_CONFIG__||{},d={cssParts:n.args,cssProps:r.args,cssStates:s.args,events:a.args,methods:c.args,properties:o.args,slots:i.args};let p={...r.resets,...n.resets,...i.resets,...o.resets,...a.resets,...s.resets,...c.resets};return l.categoryOrder?.forEach(f=>{p={...p,...d[f]||{}}}),p}function M6(e){const t=C0(P0(e)),r=Object.entries(x0(e)).map(([n])=>({[n]:()=>{}})).reduce((n,i)=>({...n,...i}),{});return{...t,...r}}const N6="1.0.0",k6="",I6=JSON.parse(`[{"kind":"javascript-module","path":"src/components/action-bar/ActionBar.ts","declarations":[{"kind":"class","description":"A persistent container for primary, secondary, tertiary, and destructive actions\\nwithin an interface, typically anchored to the bottom of a view.\\n\\nUses a two-zone layout: destructive actions on the left (start zone),\\nmain actions on the right (end zone). Both zones maintain their position\\neven when the other zone is empty (BSP-18087).\\n\\n**Positioning:** Uses \`margin-top: auto\` to push to bottom of flex/grid parents.\\nIn block layout parents, the bar sits after content (a console warning is emitted).\\n\\n**Overflow:** When items don't fit, the least important overflow into a \\"More\\" dropdown.\\nItems are auto-sorted by variant priority (tertiary → secondary → primary).\\nWith \`compact\`, compactable items progressively hide labels one-by-one before overflowing.","name":"ActionBar","cssProperties":[{"description":"Gap between items (default: 0.75rem)","name":"--action-bar-gap"},{"description":"Bar padding (default: 1.5rem)","name":"--action-bar-padding"},{"description":"Background color (default: white)","name":"--action-bar-background"},{"description":"Border color (default: gray-200)","name":"--action-bar-border-color"},{"description":"Z-index (default: 100)","name":"--action-bar-z-index"}],"slots":[{"description":"One or more \`btu-action-item\` elements","name":""}],"members":[{"kind":"field","name":"position","type":{"text":"Position"},"default":"'bottom'","description":"Bar position: 'top' or 'bottom' (default).","attribute":"position","reflects":true},{"kind":"field","name":"sticky","type":{"text":"boolean"},"default":"false","description":"Enables CSS sticky positioning. When combined with position='top',\\nthe bar sticks to the top of the scroll container. With position='bottom'\\n(default), it sticks to the bottom.","attribute":"sticky","reflects":true},{"kind":"field","name":"alignment","type":{"text":"Alignment"},"default":"'default'","description":"Content alignment: 'default' (two-zone), 'start', 'center', 'end'.\\nNon-default alignments disable two-zone layout.","attribute":"item-alignment","reflects":true},{"kind":"field","name":"shadow","type":{"text":"boolean"},"default":"false","description":"Adds a box-shadow to the bar.","attribute":"shadow","reflects":true},{"kind":"field","name":"label","type":{"text":"string"},"default":"''","description":"Accessible label for the toolbar region.","attribute":"label"},{"kind":"field","name":"compact","type":{"text":"boolean"},"default":"false","description":"Enables progressive label compacting. When space shrinks, items marked\\n\`compactable\` (with icons) have their labels hidden one-by-one\\nfrom least to most important before items overflow into \\"More\\".","attribute":"compact","reflects":true},{"kind":"method","name":"emit","parameters":[{"name":"type","type":{"text":"K"},"description":"Event name from CustomEventMap"},{"name":"detail","optional":true,"type":{"text":"UnpackCustomEvent<CustomEventMap[K]>"},"description":"Optional event detail payload"}],"description":"Dispatches a type-safe CustomEvent with standardized configuration.\\n\\nAll events are configured with:\\n- bubbles: true (event propagates up the DOM tree)\\n- cancelable: false (event cannot be cancelled)\\n- composed: true (event crosses shadow DOM boundaries)","return":{"type":{"text":"boolean"}},"inheritedFrom":{"name":"EventEmitterMixin","module":"src/util/EventEmitterMixin.ts"}}],"events":[{"type":{"text":"CustomEvent"},"description":"Fired after first render and initialization","name":"btu-action-bar-ready"},{"type":{"text":"CustomEvent<{label: string}>"},"description":"Fired when an action item is clicked (bubbles from btu-action-item)","name":"btu-action-item-click"}],"attributes":[{"name":"position","type":{"text":"Position"},"default":"'bottom'","description":"Bar position: 'top' or 'bottom' (default).","fieldName":"position","attribute":"position"},{"name":"sticky","type":{"text":"boolean"},"default":"false","description":"Enables CSS sticky positioning. When combined with position='top',\\nthe bar sticks to the top of the scroll container. With position='bottom'\\n(default), it sticks to the bottom.","fieldName":"sticky","attribute":"sticky"},{"name":"item-alignment","type":{"text":"Alignment"},"default":"'default'","description":"Content alignment: 'default' (two-zone), 'start', 'center', 'end'.\\nNon-default alignments disable two-zone layout.","fieldName":"alignment","attribute":"item-alignment"},{"name":"shadow","type":{"text":"boolean"},"default":"false","description":"Adds a box-shadow to the bar.","fieldName":"shadow","attribute":"shadow"},{"name":"label","type":{"text":"string"},"default":"''","description":"Accessible label for the toolbar region.","fieldName":"label","attribute":"label"},{"name":"compact","type":{"text":"boolean"},"default":"false","description":"Enables progressive label compacting. When space shrinks, items marked\\n\`compactable\` (with icons) have their labels hidden one-by-one\\nfrom least to most important before items overflow into \\"More\\".","fieldName":"compact","attribute":"compact"}],"mixins":[{"name":"RovingTabindexMixin","module":"/src/util/RovingTabindexMixin.js"},{"name":"EventEmitterMixin","module":"/src/util/EventEmitterMixin.js"},{"name":"ReadyMixin","module":"/src/util/ReadyMixin.js"}],"superclass":{"name":"LitElement","package":"lit"},"tagName":"btu-action-bar","customElement":true}],"exports":[{"kind":"js","name":"default","declaration":{"name":"ActionBar","module":"src/components/action-bar/ActionBar.ts"}},{"kind":"custom-element-definition","name":"btu-action-bar","declaration":{"name":"ActionBar","module":"src/components/action-bar/ActionBar.ts"}}]},{"kind":"javascript-module","path":"src/components/action-bar/ActionItem.ts","declarations":[{"kind":"class","description":"An action item button for use within \`btu-action-bar\`.\\n\\nRenders a styled button using existing \`btu-button-*\` classes. Supports\\nprimary, secondary, tertiary, and destructive variants. When \`iconOnly\`\\nis set, the label is hidden and a tooltip is shown instead.\\n\\n**Button styling:** Set \`--button-*\` CSS custom properties on \`<btu-action-item>\`\\nor a parent element to customize via CSS inheritance. See\\n\`tailwind-plugin-button.ts\` for available props.","name":"ActionItem","cssProperties":[{"description":"Override button background color","name":"--button-color"},{"description":"Override button text color","name":"--button-text-color"},{"description":"Override button border radius","name":"--button-border-radius"}],"members":[{"kind":"field","name":"label","type":{"text":"string"},"default":"''","description":"Button label text.","attribute":"label"},{"kind":"field","name":"variant","type":{"text":"ActionItemVariant"},"default":"'secondary'","description":"Visual variant: 'primary', 'secondary', 'tertiary', 'destructive'.","attribute":"variant"},{"kind":"field","name":"symbol","type":{"text":"string"},"default":"''","description":"Lucide icon symbol for the leading icon.","attribute":"symbol"},{"kind":"field","name":"iconOnly","type":{"text":"boolean"},"default":"false","description":"Show icon only, hiding the label. Tooltip activates automatically with the label text.","attribute":"icon-only"},{"kind":"field","name":"disabled","type":{"text":"boolean"},"default":"false","description":"Disables the action item. The button remains focusable for accessibility\\nbut click events are suppressed.","attribute":"disabled","reflects":true},{"kind":"field","name":"loading","type":{"text":"boolean"},"default":"false","description":"Shows a loading spinner and prevents interaction.","attribute":"loading","reflects":true},{"kind":"field","name":"zone","type":{"text":"'start' | 'end' | ''"},"default":"''","description":"Zone placement: 'start' or 'end'. Used by ActionBar for two-zone layout.\\nIf unset, auto-detected from variant (destructive → start, others → end).","attribute":"zone","reflects":true},{"kind":"field","name":"compactable","type":{"text":"boolean"},"default":"false","description":"Opt-in for progressive label compacting. When the parent bar has \`compact\`\\nenabled and space shrinks, compactable items with icons have their labels\\nhidden one-by-one (least important first) before overflowing.\\nItems without an icon ignore this attribute and go directly to overflow.","attribute":"compactable","reflects":true},{"kind":"method","name":"_relayTooltipAttrs","privacy":"private","return":{"type":{"text":"void"}}},{"kind":"method","name":"_handleClick","privacy":"private","return":{"type":{"text":"void"}}},{"kind":"method","name":"_getSpinnerColor","privacy":"private","return":{"type":{"text":"string"}}},{"kind":"method","name":"_buildButtonClasses","privacy":"private","return":{"type":{"text":"string"}}},{"kind":"method","name":"_getButtonStyles","privacy":"private","return":{"type":{"text":"Record<string, string>"}}},{"kind":"field","name":"tooltip","type":{"text":"string"},"default":"''","description":"Tooltip text content. Set to empty string to remove the tooltip.","attribute":"tooltip","inheritedFrom":{"name":"TooltipMixin","module":"src/util/TooltipMixin.ts"}},{"kind":"field","name":"tooltipPosition","type":{"text":"'top' | 'bottom' | 'left' | 'right'"},"default":"'top'","description":"Position relative to the host element. Auto-flips when constrained by the viewport.","attribute":"tooltip-position","inheritedFrom":{"name":"TooltipMixin","module":"src/util/TooltipMixin.ts"}},{"kind":"field","name":"tooltipDelay","type":{"text":"number"},"default":"300","description":"Show delay in milliseconds (hover trigger only).","attribute":"tooltip-delay","inheritedFrom":{"name":"TooltipMixin","module":"src/util/TooltipMixin.ts"}},{"kind":"field","name":"tooltipOffset","type":{"text":"TooltipOffset | null"},"default":"null","description":"Gap between host and tooltip (sm=4px, md=8px, lg=12px, xl=16px).","attribute":"tooltip-offset","inheritedFrom":{"name":"TooltipMixin","module":"src/util/TooltipMixin.ts"}},{"kind":"field","name":"tooltipNoArrow","type":{"text":"boolean"},"default":"false","description":"Hide the arrow pseudo-element.","attribute":"tooltip-no-arrow","inheritedFrom":{"name":"TooltipMixin","module":"src/util/TooltipMixin.ts"}},{"kind":"field","name":"tooltipTrigger","type":{"text":"string"},"default":"'hover focus'","description":"Space-separated trigger types: 'hover', 'focus', 'click'.","attribute":"tooltip-trigger","inheritedFrom":{"name":"TooltipMixin","module":"src/util/TooltipMixin.ts"}},{"kind":"field","name":"_onMouseLeave","privacy":"private","inheritedFrom":{"name":"TooltipMixin","module":"src/util/TooltipMixin.ts"}},{"kind":"field","name":"_onFocusIn","privacy":"private","inheritedFrom":{"name":"TooltipMixin","module":"src/util/TooltipMixin.ts"}},{"kind":"field","name":"_onFocusOut","privacy":"private","inheritedFrom":{"name":"TooltipMixin","module":"src/util/TooltipMixin.ts"}},{"kind":"field","name":"_onClick","privacy":"private","inheritedFrom":{"name":"TooltipMixin","module":"src/util/TooltipMixin.ts"}},{"kind":"field","name":"_onNativeToggle","privacy":"private","inheritedFrom":{"name":"TooltipMixin","module":"src/util/TooltipMixin.ts"}},{"kind":"field","name":"_onKeyDown","privacy":"private","inheritedFrom":{"name":"TooltipMixin","module":"src/util/TooltipMixin.ts"}},{"kind":"field","name":"_onDocumentClick","type":{"text":"((e: MouseEvent) => void) | null"},"privacy":"private","default":"null","inheritedFrom":{"name":"TooltipMixin","module":"src/util/TooltipMixin.ts"}},{"kind":"method","name":"emit","parameters":[{"name":"type","type":{"text":"K"},"description":"Event name from CustomEventMap"},{"name":"detail","optional":true,"type":{"text":"UnpackCustomEvent<CustomEventMap[K]>"},"description":"Optional event detail payload"}],"description":"Dispatches a type-safe CustomEvent with standardized configuration.\\n\\nAll events are configured with:\\n- bubbles: true (event propagates up the DOM tree)\\n- cancelable: false (event cannot be cancelled)\\n- composed: true (event crosses shadow DOM boundaries)","return":{"type":{"text":"boolean"}},"inheritedFrom":{"name":"EventEmitterMixin","module":"src/util/EventEmitterMixin.ts"}}],"events":[{"type":{"text":"CustomEvent<{label: string}>"},"description":"Fired when the action item is clicked (not fired when disabled or loading)","name":"btu-action-item-click"}],"attributes":[{"name":"label","type":{"text":"string"},"default":"''","description":"Button label text.","fieldName":"label","attribute":"label"},{"name":"variant","type":{"text":"ActionItemVariant"},"default":"'secondary'","description":"Visual variant: 'primary', 'secondary', 'tertiary', 'destructive'.","fieldName":"variant","attribute":"variant"},{"name":"symbol","type":{"text":"string"},"default":"''","description":"Lucide icon symbol for the leading icon.","fieldName":"symbol","attribute":"symbol"},{"name":"icon-only","type":{"text":"boolean"},"default":"false","description":"Show icon only, hiding the label. Tooltip activates automatically with the label text.","fieldName":"iconOnly","attribute":"icon-only"},{"name":"disabled","type":{"text":"boolean"},"default":"false","description":"Disables the action item. The button remains focusable for accessibility\\nbut click events are suppressed.","fieldName":"disabled","attribute":"disabled"},{"name":"loading","type":{"text":"boolean"},"default":"false","description":"Shows a loading spinner and prevents interaction.","fieldName":"loading","attribute":"loading"},{"name":"zone","type":{"text":"'start' | 'end' | ''"},"default":"''","description":"Zone placement: 'start' or 'end'. Used by ActionBar for two-zone layout.\\nIf unset, auto-detected from variant (destructive → start, others → end).","fieldName":"zone","attribute":"zone"},{"name":"compactable","type":{"text":"boolean"},"default":"false","description":"Opt-in for progressive label compacting. When the parent bar has \`compact\`\\nenabled and space shrinks, compactable items with icons have their labels\\nhidden one-by-one (least important first) before overflowing.\\nItems without an icon ignore this attribute and go directly to overflow.","fieldName":"compactable","attribute":"compactable"},{"name":"tooltip","type":{"text":"string"},"default":"''","description":"Tooltip text content. Set to empty string to remove the tooltip.","fieldName":"tooltip","attribute":"tooltip","inheritedFrom":{"name":"TooltipMixin","module":"src/util/TooltipMixin.ts"}},{"name":"tooltipPosition","type":{"text":"'top' | 'bottom' | 'left' | 'right'"},"default":"'top'","description":"Position relative to the host element. Auto-flips when constrained by the viewport.","fieldName":"tooltipPosition","inheritedFrom":{"name":"TooltipMixin","module":"src/util/TooltipMixin.ts"}},{"name":"tooltipDelay","type":{"text":"number"},"default":"300","description":"Show delay in milliseconds (hover trigger only).","fieldName":"tooltipDelay","inheritedFrom":{"name":"TooltipMixin","module":"src/util/TooltipMixin.ts"}},{"name":"tooltipOffset","type":{"text":"TooltipOffset | null"},"default":"null","description":"Gap between host and tooltip (sm=4px, md=8px, lg=12px, xl=16px).","fieldName":"tooltipOffset","inheritedFrom":{"name":"TooltipMixin","module":"src/util/TooltipMixin.ts"}},{"name":"tooltipNoArrow","type":{"text":"boolean"},"default":"false","description":"Hide the arrow pseudo-element.","fieldName":"tooltipNoArrow","inheritedFrom":{"name":"TooltipMixin","module":"src/util/TooltipMixin.ts"}},{"name":"tooltipTrigger","type":{"text":"string"},"default":"'hover focus'","description":"Space-separated trigger types: 'hover', 'focus', 'click'.","fieldName":"tooltipTrigger","inheritedFrom":{"name":"TooltipMixin","module":"src/util/TooltipMixin.ts"}},{"name":"tooltip-position","type":{"text":"'top' | 'bottom' | 'left' | 'right'"},"default":"'top'","description":"Position relative to the host element. Auto-flips when constrained by the viewport.","attribute":"tooltipPosition","fieldName":"tooltipPosition","inheritedFrom":{"name":"TooltipMixin","module":"src/util/TooltipMixin.ts"}},{"name":"tooltip-delay","type":{"text":"number"},"default":"300","description":"Show delay in milliseconds (hover trigger only).","attribute":"tooltipDelay","fieldName":"tooltipDelay","inheritedFrom":{"name":"TooltipMixin","module":"src/util/TooltipMixin.ts"}},{"name":"tooltip-offset","type":{"text":"TooltipOffset | null"},"default":"null","description":"Gap between host and tooltip (sm=4px, md=8px, lg=12px, xl=16px).","attribute":"tooltipOffset","fieldName":"tooltipOffset","inheritedFrom":{"name":"TooltipMixin","module":"src/util/TooltipMixin.ts"}},{"name":"tooltip-no-arrow","type":{"text":"boolean"},"default":"false","description":"Hide the arrow pseudo-element.","attribute":"tooltipNoArrow","fieldName":"tooltipNoArrow","inheritedFrom":{"name":"TooltipMixin","module":"src/util/TooltipMixin.ts"}},{"name":"tooltip-trigger","type":{"text":"string"},"default":"'hover focus'","description":"Space-separated trigger types: 'hover', 'focus', 'click'.","attribute":"tooltipTrigger","fieldName":"tooltipTrigger","inheritedFrom":{"name":"TooltipMixin","module":"src/util/TooltipMixin.ts"}}],"mixins":[{"name":"TooltipMixin","module":"/src/util/TooltipMixin.js"},{"name":"EventEmitterMixin","module":"/src/util/EventEmitterMixin.js"},{"name":"ReadyMixin","module":"/src/util/ReadyMixin.js"}],"superclass":{"name":"LitElement","package":"lit"},"tagName":"btu-action-item","customElement":true}],"exports":[{"kind":"js","name":"default","declaration":{"name":"ActionItem","module":"src/components/action-bar/ActionItem.ts"}},{"kind":"custom-element-definition","name":"btu-action-item","declaration":{"name":"ActionItem","module":"src/components/action-bar/ActionItem.ts"}}]},{"kind":"javascript-module","path":"src/components/avatar/Avatar.ts","declarations":[{"kind":"class","description":"An avatar component for displaying user profile images with fallback support.\\n\\nAvatars display user profile images with automatic fallback to initials when\\nthe image fails to load or is not provided.","name":"Avatar","cssProperties":[{"description":"Custom size (overrides size prop)","name":"--avatar-size"},{"description":"Fallback background color (default: purple-600)","name":"--avatar-bg-color"},{"description":"How rounded is the avatar (default: circle)","name":"--avatar-corner-rounding"},{"description":"Optional ring border color","name":"--avatar-ring-color"},{"description":"Ring border width (default: 2px)","name":"--avatar-ring-width"}],"members":[{"kind":"field","name":"src","type":{"text":"string"},"default":"''","description":"Image source URL","attribute":"src"},{"kind":"field","name":"alt","type":{"text":"string"},"default":"''","description":"Alt text for the image","attribute":"alt"},{"kind":"field","name":"fallback","type":{"text":"string"},"default":"''","description":"Fallback text (typically user initials)","attribute":"fallback"},{"kind":"field","name":"size","type":{"text":"'xs' | 'sm' | 'md' | 'lg' | 'xl' | 'xxl'"},"default":"'md'","description":"Size variant.\\n- 'xs': Extra small (1.5rem)\\n- 'sm': Small (2.25rem)\\n- 'md': Medium (2.5rem) - default\\n- 'lg': Large (3rem)\\n- 'xl': Extra large (3.5rem)\\n- 'xxl': Extra extra large (4rem)","attribute":"size"},{"kind":"field","name":"tooltip","type":{"text":"string"},"default":"''","description":"Tooltip text content. Set to empty string to remove the tooltip.","attribute":"tooltip","inheritedFrom":{"name":"TooltipMixin","module":"src/util/TooltipMixin.ts"}},{"kind":"field","name":"tooltipPosition","type":{"text":"'top' | 'bottom' | 'left' | 'right'"},"default":"'top'","description":"Position relative to the host element. Auto-flips when constrained by the viewport.","attribute":"tooltip-position","inheritedFrom":{"name":"TooltipMixin","module":"src/util/TooltipMixin.ts"}},{"kind":"field","name":"tooltipDelay","type":{"text":"number"},"default":"300","description":"Show delay in milliseconds (hover trigger only).","attribute":"tooltip-delay","inheritedFrom":{"name":"TooltipMixin","module":"src/util/TooltipMixin.ts"}},{"kind":"field","name":"tooltipOffset","type":{"text":"TooltipOffset | null"},"default":"null","description":"Gap between host and tooltip (sm=4px, md=8px, lg=12px, xl=16px).","attribute":"tooltip-offset","inheritedFrom":{"name":"TooltipMixin","module":"src/util/TooltipMixin.ts"}},{"kind":"field","name":"tooltipNoArrow","type":{"text":"boolean"},"default":"false","description":"Hide the arrow pseudo-element.","attribute":"tooltip-no-arrow","inheritedFrom":{"name":"TooltipMixin","module":"src/util/TooltipMixin.ts"}},{"kind":"field","name":"tooltipTrigger","type":{"text":"string"},"default":"'hover focus'","description":"Space-separated trigger types: 'hover', 'focus', 'click'.","attribute":"tooltip-trigger","inheritedFrom":{"name":"TooltipMixin","module":"src/util/TooltipMixin.ts"}},{"kind":"field","name":"_onMouseLeave","privacy":"private","inheritedFrom":{"name":"TooltipMixin","module":"src/util/TooltipMixin.ts"}},{"kind":"field","name":"_onFocusIn","privacy":"private","inheritedFrom":{"name":"TooltipMixin","module":"src/util/TooltipMixin.ts"}},{"kind":"field","name":"_onFocusOut","privacy":"private","inheritedFrom":{"name":"TooltipMixin","module":"src/util/TooltipMixin.ts"}},{"kind":"field","name":"_onClick","privacy":"private","inheritedFrom":{"name":"TooltipMixin","module":"src/util/TooltipMixin.ts"}},{"kind":"field","name":"_onNativeToggle","privacy":"private","inheritedFrom":{"name":"TooltipMixin","module":"src/util/TooltipMixin.ts"}},{"kind":"field","name":"_onKeyDown","privacy":"private","inheritedFrom":{"name":"TooltipMixin","module":"src/util/TooltipMixin.ts"}},{"kind":"field","name":"_onDocumentClick","type":{"text":"((e: MouseEvent) => void) | null"},"privacy":"private","default":"null","inheritedFrom":{"name":"TooltipMixin","module":"src/util/TooltipMixin.ts"}},{"kind":"method","name":"emit","parameters":[{"name":"type","type":{"text":"K"},"description":"Event name from CustomEventMap"},{"name":"detail","optional":true,"type":{"text":"UnpackCustomEvent<CustomEventMap[K]>"},"description":"Optional event detail payload"}],"description":"Dispatches a type-safe CustomEvent with standardized configuration.\\n\\nAll events are configured with:\\n- bubbles: true (event propagates up the DOM tree)\\n- cancelable: false (event cannot be cancelled)\\n- composed: true (event crosses shadow DOM boundaries)","return":{"type":{"text":"boolean"}},"inheritedFrom":{"name":"EventEmitterMixin","module":"src/util/EventEmitterMixin.ts"}}],"events":[{"type":{"text":"CustomEvent"},"description":"Fired after first render and initialization","name":"btu-avatar-ready"},{"type":{"text":"CustomEvent<{src: string}>"},"description":"Fired when image successfully loads","name":"btu-avatar-image-loaded"},{"type":{"text":"CustomEvent<{src: string, error: Event}>"},"description":"Fired when image fails to load","name":"btu-avatar-image-error"}],"attributes":[{"name":"src","type":{"text":"string"},"default":"''","description":"Image source URL","fieldName":"src","attribute":"src"},{"name":"alt","type":{"text":"string"},"default":"''","description":"Alt text for the image","fieldName":"alt","attribute":"alt"},{"name":"fallback","type":{"text":"string"},"default":"''","description":"Fallback text (typically user initials)","fieldName":"fallback","attribute":"fallback"},{"name":"size","type":{"text":"'xs' | 'sm' | 'md' | 'lg' | 'xl' | 'xxl'"},"default":"'md'","description":"Size variant.\\n- 'xs': Extra small (1.5rem)\\n- 'sm': Small (2.25rem)\\n- 'md': Medium (2.5rem) - default\\n- 'lg': Large (3rem)\\n- 'xl': Extra large (3.5rem)\\n- 'xxl': Extra extra large (4rem)","fieldName":"size","attribute":"size"},{"name":"tooltip","type":{"text":"string"},"default":"''","description":"Tooltip text content. Set to empty string to remove the tooltip.","fieldName":"tooltip","attribute":"tooltip","inheritedFrom":{"name":"TooltipMixin","module":"src/util/TooltipMixin.ts"}},{"name":"tooltipPosition","type":{"text":"'top' | 'bottom' | 'left' | 'right'"},"default":"'top'","description":"Position relative to the host element. Auto-flips when constrained by the viewport.","fieldName":"tooltipPosition","inheritedFrom":{"name":"TooltipMixin","module":"src/util/TooltipMixin.ts"}},{"name":"tooltipDelay","type":{"text":"number"},"default":"300","description":"Show delay in milliseconds (hover trigger only).","fieldName":"tooltipDelay","inheritedFrom":{"name":"TooltipMixin","module":"src/util/TooltipMixin.ts"}},{"name":"tooltipOffset","type":{"text":"TooltipOffset | null"},"default":"null","description":"Gap between host and tooltip (sm=4px, md=8px, lg=12px, xl=16px).","fieldName":"tooltipOffset","inheritedFrom":{"name":"TooltipMixin","module":"src/util/TooltipMixin.ts"}},{"name":"tooltipNoArrow","type":{"text":"boolean"},"default":"false","description":"Hide the arrow pseudo-element.","fieldName":"tooltipNoArrow","inheritedFrom":{"name":"TooltipMixin","module":"src/util/TooltipMixin.ts"}},{"name":"tooltipTrigger","type":{"text":"string"},"default":"'hover focus'","description":"Space-separated trigger types: 'hover', 'focus', 'click'.","fieldName":"tooltipTrigger","inheritedFrom":{"name":"TooltipMixin","module":"src/util/TooltipMixin.ts"}},{"name":"tooltip-position","type":{"text":"'top' | 'bottom' | 'left' | 'right'"},"default":"'top'","description":"Position relative to the host element. Auto-flips when constrained by the viewport.","attribute":"tooltipPosition","fieldName":"tooltipPosition","inheritedFrom":{"name":"TooltipMixin","module":"src/util/TooltipMixin.ts"}},{"name":"tooltip-delay","type":{"text":"number"},"default":"300","description":"Show delay in milliseconds (hover trigger only).","attribute":"tooltipDelay","fieldName":"tooltipDelay","inheritedFrom":{"name":"TooltipMixin","module":"src/util/TooltipMixin.ts"}},{"name":"tooltip-offset","type":{"text":"TooltipOffset | null"},"default":"null","description":"Gap between host and tooltip (sm=4px, md=8px, lg=12px, xl=16px).","attribute":"tooltipOffset","fieldName":"tooltipOffset","inheritedFrom":{"name":"TooltipMixin","module":"src/util/TooltipMixin.ts"}},{"name":"tooltip-no-arrow","type":{"text":"boolean"},"default":"false","description":"Hide the arrow pseudo-element.","attribute":"tooltipNoArrow","fieldName":"tooltipNoArrow","inheritedFrom":{"name":"TooltipMixin","module":"src/util/TooltipMixin.ts"}},{"name":"tooltip-trigger","type":{"text":"string"},"default":"'hover focus'","description":"Space-separated trigger types: 'hover', 'focus', 'click'.","attribute":"tooltipTrigger","fieldName":"tooltipTrigger","inheritedFrom":{"name":"TooltipMixin","module":"src/util/TooltipMixin.ts"}}],"mixins":[{"name":"TooltipMixin","module":"/src/util/TooltipMixin.js"},{"name":"EventEmitterMixin","module":"/src/util/EventEmitterMixin.js"},{"name":"ReadyMixin","module":"/src/util/ReadyMixin.js"}],"superclass":{"name":"LitElement","package":"lit"},"tagName":"btu-avatar","customElement":true}],"exports":[{"kind":"js","name":"default","declaration":{"name":"Avatar","module":"src/components/avatar/Avatar.ts"}},{"kind":"custom-element-definition","name":"btu-avatar","declaration":{"name":"Avatar","module":"src/components/avatar/Avatar.ts"}}]},{"kind":"javascript-module","path":"src/components/avatar/AvatarGroup.ts","declarations":[{"kind":"class","description":"A container component for grouping multiple avatars with consistent styling.\\n\\nAvatarGroup wraps multiple avatar elements and provides:\\n- Overflow handling (shows \\"+N\\" for excess avatars)\\n- Consistent spacing and ring borders\\n- Size inheritance for all child avatars","name":"AvatarGroup","members":[{"kind":"field","name":"max","type":{"text":"number | undefined"},"description":"Maximum number of visible avatars. Remaining avatars shown as \\"+N\\"","attribute":"max"},{"kind":"field","name":"size","type":{"text":"'xs' | 'sm' | 'md'"},"default":"'md'","description":"Size variant for all child avatars (unless individually overridden)","attribute":"size"},{"kind":"method","name":"processAvatars","return":{"type":{"text":"void"}},"description":"Process all avatar children: apply size, handle overflow\\nCall this method when avatars are dynamically added or removed"},{"kind":"method","name":"emit","parameters":[{"name":"type","type":{"text":"K"},"description":"Event name from CustomEventMap"},{"name":"detail","optional":true,"type":{"text":"UnpackCustomEvent<CustomEventMap[K]>"},"description":"Optional event detail payload"}],"description":"Dispatches a type-safe CustomEvent with standardized configuration.\\n\\nAll events are configured with:\\n- bubbles: true (event propagates up the DOM tree)\\n- cancelable: false (event cannot be cancelled)\\n- composed: true (event crosses shadow DOM boundaries)","return":{"type":{"text":"boolean"}},"inheritedFrom":{"name":"EventEmitterMixin","module":"src/util/EventEmitterMixin.ts"}}],"events":[{"type":{"text":"CustomEvent"},"description":"Fired after first render and initialization","name":"btu-avatar-group-ready"},{"type":{"text":"CustomEvent<{hidden: number}>"},"description":"Fired when avatars are hidden due to max limit","name":"btu-avatar-group-overflow"}],"attributes":[{"name":"max","type":{"text":"number | undefined"},"description":"Maximum number of visible avatars. Remaining avatars shown as \\"+N\\"","fieldName":"max","attribute":"max"},{"name":"size","type":{"text":"'xs' | 'sm' | 'md'"},"default":"'md'","description":"Size variant for all child avatars (unless individually overridden)","fieldName":"size","attribute":"size"}],"mixins":[{"name":"EventEmitterMixin","module":"/src/util/EventEmitterMixin.js"},{"name":"ReadyMixin","module":"/src/util/ReadyMixin.js"}],"superclass":{"name":"LitElement","package":"lit"},"tagName":"btu-avatar-group","customElement":true}],"exports":[{"kind":"js","name":"default","declaration":{"name":"AvatarGroup","module":"src/components/avatar/AvatarGroup.ts"}},{"kind":"custom-element-definition","name":"btu-avatar-group","declaration":{"name":"AvatarGroup","module":"src/components/avatar/AvatarGroup.ts"}}]},{"kind":"javascript-module","path":"src/components/badge/Badge.ts","declarations":[{"kind":"class","description":"A badge component for highlighting important information.\\n\\nBadges help highlight notifications, status, or new messages.\\nPrimarily used for communicating secondary or additional information.","name":"Badge","cssProperties":[{"description":"Text color (overrides theme color)","name":"--badge-color-foreground"},{"description":"Background color (overrides theme color)","name":"--badge-color-background"},{"description":"Border radius size (overrides shape default, default: 999px)","name":"--badge-radius-size"},{"description":"Horizontal padding (overrides size default)","name":"--badge-px"},{"description":"Vertical padding (overrides size default)","name":"--badge-py"},{"description":"Size of the dot affordance (default: 6px)","name":"--badge-dot-size"}],"slots":[{"description":"Label text or child elements (e.g., btu-icon + text)","name":""}],"members":[{"kind":"field","name":"variant","type":{"text":"'info' | 'primary' | 'error' | 'success' | 'warning'"},"default":"'info'","description":"Style of the badge.\\n- 'info': Informational (default)\\n- 'primary': Primary action or emphasis\\n- 'error': Error or danger state\\n- 'success': Success or completion state\\n- 'warning': Warning or caution state","attribute":"variant"},{"kind":"field","name":"dot","type":{"text":"boolean"},"default":"false","description":"Should a dot be displayed before the label?","attribute":"dot"},{"kind":"field","name":"size","type":{"text":"'sm' | 'md' | 'lg'"},"default":"'sm'","description":"Size variant.\\n- 'sm': Small (default)\\n- 'md': Medium\\n- 'lg': Large","attribute":"size"},{"kind":"method","name":"emit","parameters":[{"name":"type","type":{"text":"K"},"description":"Event name from CustomEventMap"},{"name":"detail","optional":true,"type":{"text":"UnpackCustomEvent<CustomEventMap[K]>"},"description":"Optional event detail payload"}],"description":"Dispatches a type-safe CustomEvent with standardized configuration.\\n\\nAll events are configured with:\\n- bubbles: true (event propagates up the DOM tree)\\n- cancelable: false (event cannot be cancelled)\\n- composed: true (event crosses shadow DOM boundaries)","return":{"type":{"text":"boolean"}},"inheritedFrom":{"name":"EventEmitterMixin","module":"src/util/EventEmitterMixin.ts"}}],"events":[{"type":{"text":"CustomEvent"},"description":"Fired after first render and initialization","name":"btu-badge-ready"}],"attributes":[{"name":"variant","type":{"text":"'info' | 'primary' | 'error' | 'success' | 'warning'"},"default":"'info'","description":"Style of the badge.\\n- 'info': Informational (default)\\n- 'primary': Primary action or emphasis\\n- 'error': Error or danger state\\n- 'success': Success or completion state\\n- 'warning': Warning or caution state","fieldName":"variant","attribute":"variant"},{"name":"dot","type":{"text":"boolean"},"default":"false","description":"Should a dot be displayed before the label?","fieldName":"dot","attribute":"dot"},{"name":"size","type":{"text":"'sm' | 'md' | 'lg'"},"default":"'sm'","description":"Size variant.\\n- 'sm': Small (default)\\n- 'md': Medium\\n- 'lg': Large","fieldName":"size","attribute":"size"}],"mixins":[{"name":"EventEmitterMixin","module":"/src/util/EventEmitterMixin.js"},{"name":"ReadyMixin","module":"/src/util/ReadyMixin.js"}],"superclass":{"name":"LitElement","package":"lit"},"tagName":"btu-badge","customElement":true}],"exports":[{"kind":"js","name":"default","declaration":{"name":"Badge","module":"src/components/badge/Badge.ts"}},{"kind":"custom-element-definition","name":"btu-badge","declaration":{"name":"Badge","module":"src/components/badge/Badge.ts"}}]},{"kind":"javascript-module","path":"src/components/button-group/ButtonGroup.ts","declarations":[{"kind":"class","description":"A semantic container for grouping related buttons together.\\n\\nSupports connected (joined) and spaced layouts, horizontal and vertical\\norientation, group-level size and disabled propagation, and optional\\ntoggle/selection modes (single-select or multi-select).","name":"ButtonGroup","cssProperties":[{"description":"Space between buttons when variant=\\"spaced\\" (default: spacing.sm)","name":"--button-group-gap"},{"description":"Corner radius of outer edges when variant=\\"connected\\" (default: 0.5rem)","name":"--button-group-border-radius"},{"description":"Internal divider color between connected buttons (default: gray-300)","name":"--button-group-border-color"},{"description":"Background of a toggled/selected child (default: child's --button-tint-subtle)","name":"--button-group-selection-bg"},{"description":"Text/icon color of a toggled/selected child (default: child's --button-tint-strong)","name":"--button-group-selection-color"},{"description":"Highlight color of the selection shimmer effect (default: child's --button-tint-highlight) Reads the following CSS custom properties from each child button (set by the button plugin per color variant — see tailwind-plugin-button.ts):","name":"--button-group-shimmer-highlight"},{"description":"Subtle tint of the child button's color family (read-only here)","name":"--button-tint-subtle"},{"description":"Strong tint of the child button's color family (read-only here)","name":"--button-tint-strong"},{"description":"Highlight tint of the child button's color family (read-only here)","name":"--button-tint-highlight"}],"slots":[{"description":"One or more \`<button class=\\"btu-button …\\">\` or \`<btu-icon-button>\` elements to display in the group. The \`connected\` variant rounds the outer corners on the real \`<button>\`, so anchors styled as \`.btu-button\` slotted directly will not get rounded corners. Use \`<button>\` for grouped controls.","name":""},{"description":"Pushes the child to the end of the group via auto-margin (vertical: bottom, horizontal: right)","name":"end"}],"members":[{"kind":"field","name":"tagName","static":true,"readonly":true},{"kind":"field","name":"label","type":{"text":"string"},"default":"''","description":"Accessible name for the group, announced by assistive devices via aria-label.","attribute":"label"},{"kind":"field","name":"orientation","type":{"text":"'horizontal' | 'vertical'"},"default":"'horizontal'","description":"Layout direction of the buttons.","attribute":"orientation","reflects":true},{"kind":"field","name":"variant","type":{"text":"'connected' | 'spaced'"},"default":"'connected'","description":"\`connected\` collapses shared borders for a joined appearance.\\n\`spaced\` renders buttons with a gap.","attribute":"variant","reflects":true},{"kind":"field","name":"size","type":{"text":"'sm' | 'md' | 'lg'"},"default":"'md'","description":"Propagates a uniform size to all child buttons.","attribute":"size","reflects":true},{"kind":"field","name":"disabled","type":{"text":"boolean"},"default":"false","description":"When true, disables all child buttons as a group.","attribute":"disabled"},{"kind":"field","name":"selection","type":{"text":"'none' | 'single' | 'multiple'"},"default":"'none'","description":"Enables toggle/selection behavior.\\n\`single\` allows one active button; \`multiple\` allows many.","attribute":"selection","reflects":true},{"kind":"field","name":"value","type":{"text":"string"},"default":"''","description":"Reflects the currently selected button value(s).\\nFor \`single\`, the value of the active button.\\nFor \`multiple\`, a comma-delimited list of active values.","attribute":"value","reflects":true},{"kind":"field","name":"name","type":{"text":"string"},"default":"''","description":"When set, creates hidden input(s) for native form participation.","attribute":"name"},{"kind":"method","name":"emit","parameters":[{"name":"type","type":{"text":"K"},"description":"Event name from CustomEventMap"},{"name":"detail","optional":true,"type":{"text":"UnpackCustomEvent<CustomEventMap[K]>"},"description":"Optional event detail payload"}],"description":"Dispatches a type-safe CustomEvent with standardized configuration.\\n\\nAll events are configured with:\\n- bubbles: true (event propagates up the DOM tree)\\n- cancelable: false (event cannot be cancelled)\\n- composed: true (event crosses shadow DOM boundaries)","return":{"type":{"text":"boolean"}},"inheritedFrom":{"name":"EventEmitterMixin","module":"src/util/EventEmitterMixin.ts"}},{"kind":"field","name":"#stopFns","privacy":"private","type":{"text":"Array<() => void>"},"default":"[]","inheritedFrom":{"name":"OnFindMixin","module":"src/util/OnFindMixin.ts"}},{"kind":"method","name":"onFindRegistration","return":{"type":{"text":"OnFindRegistration | OnFindRegistration[] | null"}},"inheritedFrom":{"name":"OnFindMixin","module":"src/util/OnFindMixin.ts"}},{"kind":"method","name":"#armFind","privacy":"private","inheritedFrom":{"name":"OnFindMixin","module":"src/util/OnFindMixin.ts"}}],"events":[{"type":{"text":"CustomEvent"},"description":"Fired after first render and initialization","name":"btu-button-group-ready"},{"type":{"text":"CustomEvent<{value: string}>"},"description":"Fired when selection changes (single/multiple modes only)","name":"btu-button-group-change"},{"type":{"text":"CustomEvent<{name: string | undefined}>"},"description":"Bubbles from child btu-icon-button elements when clicked","name":"btu-icon-button-click"}],"attributes":[{"name":"label","type":{"text":"string"},"default":"''","description":"Accessible name for the group, announced by assistive devices via aria-label.","fieldName":"label","attribute":"label"},{"name":"orientation","type":{"text":"'horizontal' | 'vertical'"},"default":"'horizontal'","description":"Layout direction of the buttons.","fieldName":"orientation","attribute":"orientation"},{"name":"variant","type":{"text":"'connected' | 'spaced'"},"default":"'connected'","description":"\`connected\` collapses shared borders for a joined appearance.\\n\`spaced\` renders buttons with a gap.","fieldName":"variant","attribute":"variant"},{"name":"size","type":{"text":"'sm' | 'md' | 'lg'"},"default":"'md'","description":"Propagates a uniform size to all child buttons.","fieldName":"size","attribute":"size"},{"name":"disabled","type":{"text":"boolean"},"default":"false","description":"When true, disables all child buttons as a group.","fieldName":"disabled","attribute":"disabled"},{"name":"selection","type":{"text":"'none' | 'single' | 'multiple'"},"default":"'none'","description":"Enables toggle/selection behavior.\\n\`single\` allows one active button; \`multiple\` allows many.","fieldName":"selection","attribute":"selection"},{"name":"value","type":{"text":"string"},"default":"''","description":"Reflects the currently selected button value(s).\\nFor \`single\`, the value of the active button.\\nFor \`multiple\`, a comma-delimited list of active values.","fieldName":"value","attribute":"value"},{"name":"name","type":{"text":"string"},"default":"''","description":"When set, creates hidden input(s) for native form participation.","fieldName":"name","attribute":"name"}],"cssStates":[{"description":"Applied when variant=\\"connected\\", targetable via :state(btu-connected)","name":"btu-connected"},{"description":"Applied when variant=\\"spaced\\", targetable via :state(btu-spaced)","name":"btu-spaced"},{"description":"Applied when orientation=\\"horizontal\\", targetable via :state(btu-horizontal)","name":"btu-horizontal"},{"description":"Applied when orientation=\\"vertical\\", targetable via :state(btu-vertical)","name":"btu-vertical"},{"description":"Applied when the group is disabled, targetable via :state(btu-disabled)","name":"btu-disabled"}],"mixins":[{"name":"RovingTabindexMixin","module":"/src/util/RovingTabindexMixin.js"},{"name":"ComponentStatesMixin","module":"/src/util/ComponentStatesMixin.js"},{"name":"EventEmitterMixin","module":"/src/util/EventEmitterMixin.js"},{"name":"OnFindMixin","module":"/src/util/OnFindMixin.js"},{"name":"ReadyMixin","module":"/src/util/ReadyMixin.js"}],"superclass":{"name":"LitElement","package":"lit"},"tagName":"btu-button-group","customElement":true}],"exports":[{"kind":"js","name":"default","declaration":{"name":"ButtonGroup","module":"src/components/button-group/ButtonGroup.ts"}},{"kind":"custom-element-definition","name":"btu-button-group","declaration":{"name":"ButtonGroup","module":"src/components/button-group/ButtonGroup.ts"}}]},{"kind":"javascript-module","path":"src/components/checkbox/Checkbox.ts","declarations":[{"kind":"class","description":"A checkbox component for selecting one or more options from a set.\\n\\nUses a hidden native checkbox internally for accessibility and form\\nparticipation. Styled via the \`btu-checkbox\` Tailwind plugin classes.\\nThe component manages its own \`className\` — do not modify it externally\\nafter initialization (classes present at connection time are preserved).","name":"Checkbox","cssProperties":[{"description":"Background and border color when checked or indeterminate, and tinted background/border on unchecked hover (default: oklch(var(--btu-theme-primary-700)))","name":"--checkbox-color-primary"},{"description":"Border color in the unchecked state (default: oklch(var(--btu-theme-gray-300)))","name":"--checkbox-color-border"},{"description":"Border and text color in the error state (default: oklch(var(--btu-theme-error-600)))","name":"--checkbox-color-error"},{"description":"Corner rounding of the checkbox square (default: 4px)","name":"--checkbox-border-radius"},{"description":"Distance between the checkbox and the label (default: 0.75rem)","name":"--checkbox-label-spacing"},{"description":"[Internal] Width and height of the checkbox square, set by the size variant (sm: 1rem, md: 1.25rem). Use the \`size\` attribute instead of overriding directly — the icon must scale in tandem.","name":"--checkbox-box-size"},{"description":"[Internal] Width and height of the icon inside the box, set by the size variant (sm: 0.75rem, md: 0.875rem). Use the \`size\` attribute instead of overriding directly.","name":"--checkbox-icon-size"}],"members":[{"kind":"field","name":"label","type":{"text":"string | undefined"},"description":"The text label displayed next to the checkbox.","attribute":"label"},{"kind":"field","name":"description","type":{"text":"string | undefined"},"description":"Optional helper text displayed below the label.","attribute":"description"},{"kind":"field","name":"size","type":{"text":"'sm' | 'md'"},"default":"'sm'","description":"Controls the scale of the checkbox and associated typography.","attribute":"size","reflects":true},{"kind":"field","name":"checked","type":{"text":"boolean"},"default":"false","description":"Whether the checkbox is currently selected.","attribute":"checked","reflects":true},{"kind":"field","name":"indeterminate","type":{"text":"boolean"},"default":"false","description":"Whether the checkbox is in a partially selected state. Sets \`aria-checked='mixed'\`\\nand activates the native \`:indeterminate\` pseudo-class. Cleared automatically when\\nthe user clicks the checkbox.","attribute":"indeterminate","reflects":true},{"kind":"field","name":"disabled","type":{"text":"boolean"},"default":"false","description":"If true, the checkbox is non-interactive and visually muted.","attribute":"disabled","reflects":true},{"kind":"field","name":"invalid","type":{"text":"boolean"},"default":"false","description":"If true, displays error styling on the checkbox.","attribute":"invalid","reflects":true},{"kind":"field","name":"error","type":{"text":"string | undefined"},"description":"Error message text displayed below the checkbox when validation fails.\\nSetting this also activates error styling without needing to set invalid.","attribute":"error"},{"kind":"field","name":"required","type":{"text":"boolean"},"default":"false","description":"Marks the field as mandatory for form submission.","attribute":"required","reflects":true},{"kind":"field","name":"name","type":{"text":"string | undefined"},"description":"Name of the form control submitted with the form data.","attribute":"name"},{"kind":"field","name":"value","type":{"text":"string"},"default":"'on'","description":"Value associated with the checkbox when submitted.","attribute":"value"},{"kind":"field","name":"_userInitiated","type":{"text":"boolean"},"privacy":"private","default":"false"},{"kind":"field","name":"_initialClasses","type":{"text":"string[]"},"privacy":"private","default":"[]"},{"kind":"field","name":"_initialClassesCaptured","type":{"text":"boolean"},"privacy":"private","default":"false"},{"kind":"field","name":"_descId","privacy":"private","default":"\`checkbox-desc-\${crypto.randomUUID()}\`"},{"kind":"field","name":"_errorId","privacy":"private","default":"\`checkbox-error-\${crypto.randomUUID()}\`"},{"kind":"method","name":"_onInputChange","privacy":"private","return":{"type":{"text":"void"}},"parameters":[{"name":"e","type":{"text":"Event"}}]},{"kind":"field","name":"_handleClick","privacy":"private"},{"kind":"field","name":"_describedBy","type":{"text":"string | undefined"},"privacy":"private","readonly":true},{"kind":"field","name":"_iconSymbol","type":{"text":"'minus' | 'check'"},"privacy":"private","readonly":true},{"kind":"method","name":"emit","parameters":[{"name":"type","type":{"text":"K"},"description":"Event name from CustomEventMap"},{"name":"detail","optional":true,"type":{"text":"UnpackCustomEvent<CustomEventMap[K]>"},"description":"Optional event detail payload"}],"description":"Dispatches a type-safe CustomEvent with standardized configuration.\\n\\nAll events are configured with:\\n- bubbles: true (event propagates up the DOM tree)\\n- cancelable: false (event cannot be cancelled)\\n- composed: true (event crosses shadow DOM boundaries)","return":{"type":{"text":"boolean"}},"inheritedFrom":{"name":"EventEmitterMixin","module":"src/util/EventEmitterMixin.ts"}}],"events":[{"type":{"text":"CustomEvent"},"description":"Fired after the checkbox is first rendered and initialized","name":"btu-checkbox-ready"},{"type":{"text":"CustomEvent<{ checked: boolean }>"},"description":"Fired when the user toggles the checked state","name":"btu-checkbox-change"}],"attributes":[{"name":"label","type":{"text":"string | undefined"},"description":"The text label displayed next to the checkbox.","fieldName":"label","attribute":"label"},{"name":"description","type":{"text":"string | undefined"},"description":"Optional helper text displayed below the label.","fieldName":"description","attribute":"description"},{"name":"size","type":{"text":"'sm' | 'md'"},"default":"'sm'","description":"Controls the scale of the checkbox and associated typography.","fieldName":"size","attribute":"size"},{"name":"checked","type":{"text":"boolean"},"default":"false","description":"Whether the checkbox is currently selected.","fieldName":"checked","attribute":"checked"},{"name":"indeterminate","type":{"text":"boolean"},"default":"false","description":"Whether the checkbox is in a partially selected state. Sets \`aria-checked='mixed'\`\\nand activates the native \`:indeterminate\` pseudo-class. Cleared automatically when\\nthe user clicks the checkbox.","fieldName":"indeterminate","attribute":"indeterminate"},{"name":"disabled","type":{"text":"boolean"},"default":"false","description":"If true, the checkbox is non-interactive and visually muted.","fieldName":"disabled","attribute":"disabled"},{"name":"invalid","type":{"text":"boolean"},"default":"false","description":"If true, displays error styling on the checkbox.","fieldName":"invalid","attribute":"invalid"},{"name":"error","type":{"text":"string | undefined"},"description":"Error message text displayed below the checkbox when validation fails.\\nSetting this also activates error styling without needing to set invalid.","fieldName":"error","attribute":"error"},{"name":"required","type":{"text":"boolean"},"default":"false","description":"Marks the field as mandatory for form submission.","fieldName":"required","attribute":"required"},{"name":"name","type":{"text":"string | undefined"},"description":"Name of the form control submitted with the form data.","fieldName":"name","attribute":"name"},{"name":"value","type":{"text":"string"},"default":"'on'","description":"Value associated with the checkbox when submitted.","fieldName":"value","attribute":"value"}],"mixins":[{"name":"EventEmitterMixin","module":"/src/util/EventEmitterMixin.js"},{"name":"ReadyMixin","module":"/src/util/ReadyMixin.js"}],"superclass":{"name":"LitElement","package":"lit"},"tagName":"btu-checkbox","customElement":true}],"exports":[{"kind":"js","name":"default","declaration":{"name":"Checkbox","module":"src/components/checkbox/Checkbox.ts"}},{"kind":"custom-element-definition","name":"btu-checkbox","declaration":{"name":"Checkbox","module":"src/components/checkbox/Checkbox.ts"}}]},{"kind":"javascript-module","path":"src/components/card/Card.ts","declarations":[{"kind":"class","description":"A flexible content container for presenting and organizing information.\\n\\nThe layout is driven by composition:\\n\\n- a direct \`<img>\` or \`<btu-icon>\` child renders the media layout (image area);\\n the icon shows in the image area as the fallback.\\n- neither child renders a text-only card.\\n- the \`compact\` attribute renders a quick-start tile; only a\\n featured \`<btu-icon>\` and the \`action\` slot are used.\\n\\nComposable children, all relocated into the layout automatically:\\n- \`<img>\` — the thumbnail.\\n- \`<btu-icon>\` — the featured icon (compact) or the media image fallback (shown\\n when no \`<img>\` is provided or it fails to load; defaults to \`file-text\`). The card sizes it.\\n- \`<btu-badge>\` — a status badge.\\n- \`slot=\\"action\\"\` / \`slot=\\"secondary-action\\"\` — a control in the top-right corner\\n or next to the title. A \`<btu-checkbox>\` there stays visible and toggles the\\n selected styling (listen for the bubbling \`btu-checkbox-change\` event); buttons\\n reveal on hover/focus.\\n\\nCards are full-width by default and rely on the parent layout (grid or flex) to\\ncontrol their size.","name":"Card","cssProperties":[{"description":"Minimum width of the card (default: 160px)","name":"--card-min-width"},{"description":"Background color (default: var(--btu-theme-white))","name":"--card-background"},{"description":"Border style (default: 1px solid gray-200)","name":"--card-border"},{"description":"Corner rounding (default: 8px)","name":"--card-radius"},{"description":"Fixed aspect ratio for the thumbnail when an \`<img>\` child is present (default: 16 / 9)","name":"--card-img-ratio"},{"description":"Object-fit mode for the \`<img>\` child thumbnail (default: contain)","name":"--card-img-fit"},{"description":"Background color behind the composed icon (compact card and media-image fallback) (default: gray-100)","name":"--card-icon-background"}],"slots":[{"description":"Intended for a single action in the top-right corner of the card.","name":"action"},{"description":"Intended for a single action next to the title.","name":"secondary-action"},{"description":"Intended for additional metadata fields displayed below the title & description","name":"fields"}],"members":[{"kind":"field","name":"heading","type":{"text":"string"},"default":"''","description":"Heading text displayed on the card.","attribute":"heading"},{"kind":"field","name":"headingLevel","type":{"text":"number"},"default":"2","description":"Heading level (1-6) for the card heading element. Drives the semantic h1–h6 tag.\\nInvalid values log a warning and fall back to the default (2).","attribute":"heading-level"},{"kind":"field","name":"description","type":{"text":"string | undefined"},"description":"Supporting body text. Truncated to 3 lines via CSS.","attribute":"description"},{"kind":"field","name":"compact","type":{"text":"boolean"},"default":"false","description":"Renders the card as a compact quick-start tile.\\nBadge, image, fields, and secondary-action children are ignored in this case.","attribute":"compact"},{"kind":"field","name":"disabled","type":{"text":"boolean"},"default":"false","description":"Whether the card is disabled.","attribute":"disabled"},{"kind":"field","name":"href","type":{"text":"string | undefined"},"description":"Navigation URL for the entire card surface.\\nWhen set, the card renders as a link.","attribute":"href"},{"kind":"method","name":"emit","parameters":[{"name":"type","type":{"text":"K"},"description":"Event name from CustomEventMap"},{"name":"detail","optional":true,"type":{"text":"UnpackCustomEvent<CustomEventMap[K]>"},"description":"Optional event detail payload"}],"description":"Dispatches a type-safe CustomEvent with standardized configuration.\\n\\nAll events are configured with:\\n- bubbles: true (event propagates up the DOM tree)\\n- cancelable: false (event cannot be cancelled)\\n- composed: true (event crosses shadow DOM boundaries)","return":{"type":{"text":"boolean"}},"inheritedFrom":{"name":"EventEmitterMixin","module":"src/util/EventEmitterMixin.ts"}},{"kind":"field","name":"#stopFns","privacy":"private","type":{"text":"Array<() => void>"},"default":"[]","inheritedFrom":{"name":"OnFindMixin","module":"src/util/OnFindMixin.ts"}},{"kind":"method","name":"onFindRegistration","return":{"type":{"text":"OnFindRegistration | OnFindRegistration[] | null"}},"inheritedFrom":{"name":"OnFindMixin","module":"src/util/OnFindMixin.ts"}},{"kind":"method","name":"#armFind","privacy":"private","inheritedFrom":{"name":"OnFindMixin","module":"src/util/OnFindMixin.ts"}}],"events":[{"type":{"text":"CustomEvent"},"description":"Fired after first render and initialization","name":"btu-card-ready"}],"attributes":[{"name":"heading","type":{"text":"string"},"default":"''","description":"Heading text displayed on the card.","fieldName":"heading","attribute":"heading"},{"name":"heading-level","type":{"text":"number"},"default":"2","description":"Heading level (1-6) for the card heading element. Drives the semantic h1–h6 tag.\\nInvalid values log a warning and fall back to the default (2).","fieldName":"headingLevel","attribute":"heading-level"},{"name":"description","type":{"text":"string | undefined"},"description":"Supporting body text. Truncated to 3 lines via CSS.","fieldName":"description","attribute":"description"},{"name":"compact","type":{"text":"boolean"},"default":"false","description":"Renders the card as a compact quick-start tile.\\nBadge, image, fields, and secondary-action children are ignored in this case.","fieldName":"compact","attribute":"compact"},{"name":"disabled","type":{"text":"boolean"},"default":"false","description":"Whether the card is disabled.","fieldName":"disabled","attribute":"disabled"},{"name":"href","type":{"text":"string | undefined"},"description":"Navigation URL for the entire card surface.\\nWhen set, the card renders as a link.","fieldName":"href","attribute":"href"}],"mixins":[{"name":"EventEmitterMixin","module":"/src/util/EventEmitterMixin.js"},{"name":"OnFindMixin","module":"/src/util/OnFindMixin.js"},{"name":"ReadyMixin","module":"/src/util/ReadyMixin.js"}],"superclass":{"name":"LitElement","package":"lit"},"tagName":"btu-card","customElement":true}],"exports":[{"kind":"js","name":"default","declaration":{"name":"Card","module":"src/components/card/Card.ts"}},{"kind":"custom-element-definition","name":"btu-card","declaration":{"name":"Card","module":"src/components/card/Card.ts"}}]},{"kind":"javascript-module","path":"src/components/circular-progress/CircularProgress.ts","declarations":[{"kind":"class","description":"A circular progress indicator for showing loading states or progress.","name":"CircularProgress","cssProperties":[{"description":"Custom progress indicator color (overrides theme color)","name":"--progress-color"},{"description":"Track/background color (overrides default gray-100)","name":"--track-color"},{"description":"Custom size in pixels (overrides size preset)","name":"--progress-size"}],"members":[{"kind":"field","name":"indeterminate","type":{"text":"boolean"},"default":"true","description":"Whether the progress indicator is indeterminate (animated spinner).\\nWhen false, shows determinate progress based on the progress value.","attribute":"indeterminate"},{"kind":"field","name":"size","type":{"text":"'sm' | 'md' | 'lg'"},"default":"'sm'","description":"Size variant.\\n- 'sm': Small (16px) - default\\n- 'md': Medium (32px)\\n- 'lg': Large (48px)","attribute":"size"},{"kind":"field","name":"color","type":{"text":"ProgressColors"},"default":"'primary'","description":"Color theme of the progress indicator.\\nSupports: black, white, primary, teal, gray, purple, rose, error, warning, success","attribute":"color","inheritedFrom":{"name":"ProgressMixin","module":"src/util/ProgressMixin.ts"}},{"kind":"field","name":"thickness","type":{"text":"number | undefined"},"description":"Stroke width of the progress indicator.","attribute":"thickness","inheritedFrom":{"name":"ProgressMixin","module":"src/util/ProgressMixin.ts"}},{"kind":"field","name":"_progress","type":{"text":"number"},"privacy":"private","default":"0","inheritedFrom":{"name":"ProgressMixin","module":"src/util/ProgressMixin.ts"}},{"kind":"field","name":"progress","description":"Progress value for determinate variant. Clamped to 0–100.","attribute":"progress","inheritedFrom":{"name":"ProgressMixin","module":"src/util/ProgressMixin.ts"}},{"kind":"field","name":"label","type":{"text":"string | undefined"},"description":"Optional label text to display with the progress indicator.","attribute":"label","inheritedFrom":{"name":"ProgressMixin","module":"src/util/ProgressMixin.ts"}},{"kind":"field","name":"initialAnimation","type":{"text":"boolean"},"default":"true","description":"Whether to animate progress from 0 to target value when component first becomes visible.","attribute":"initial-animation","inheritedFrom":{"name":"ProgressMixin","module":"src/util/ProgressMixin.ts"}},{"kind":"field","name":"ariaLabel","type":{"text":"string | null"},"default":"null","description":"Optional aria-label attribute for screen readers.\\nDescribes what the progress indicator represents.","attribute":"aria-label","inheritedFrom":{"name":"ProgressMixin","module":"src/util/ProgressMixin.ts"}},{"kind":"field","name":"ariaLabelledBy","type":{"text":"string | null"},"default":"null","description":"Optional aria-labelledby attribute for screen readers.\\nReferences the ID of an element that labels the progress indicator.","attribute":"aria-labelledby","inheritedFrom":{"name":"ProgressMixin","module":"src/util/ProgressMixin.ts"}},{"kind":"field","name":"ariaValueText","type":{"text":"string | null"},"default":"null","description":"Optional aria-valuetext attribute for screen readers.\\nProvides human-readable text alternative for progress value.","attribute":"aria-valuetext","inheritedFrom":{"name":"ProgressMixin","module":"src/util/ProgressMixin.ts"}},{"kind":"field","name":"completionAnnouncement","type":{"text":"string | undefined"},"description":"Optional message to announce to screen readers when progress reaches 100%.\\nIf not provided, no announcement will be made on completion.","attribute":"completion-announcement","inheritedFrom":{"name":"ProgressMixin","module":"src/util/ProgressMixin.ts"}},{"kind":"field","name":"_isAnimationInitialized","type":{"text":"boolean"},"privacy":"private","default":"false","inheritedFrom":{"name":"ProgressMixin","module":"src/util/ProgressMixin.ts"}},{"kind":"field","name":"_intersectionObserver","type":{"text":"IntersectionObserver | undefined"},"privacy":"private","inheritedFrom":{"name":"ProgressMixin","module":"src/util/ProgressMixin.ts"}},{"kind":"field","name":"_hasCompletedAt100","type":{"text":"boolean"},"privacy":"private","default":"false","inheritedFrom":{"name":"ProgressMixin","module":"src/util/ProgressMixin.ts"}},{"kind":"field","name":"_hostTag","type":{"text":"'btu-linear-progress' | 'btu-circular-progress'"},"privacy":"private","readonly":true,"inheritedFrom":{"name":"ProgressMixin","module":"src/util/ProgressMixin.ts"}},{"kind":"method","name":"emit","parameters":[{"name":"type","type":{"text":"K"},"description":"Event name from CustomEventMap"},{"name":"detail","optional":true,"type":{"text":"UnpackCustomEvent<CustomEventMap[K]>"},"description":"Optional event detail payload"}],"description":"Dispatches a type-safe CustomEvent with standardized configuration.\\n\\nAll events are configured with:\\n- bubbles: true (event propagates up the DOM tree)\\n- cancelable: false (event cannot be cancelled)\\n- composed: true (event crosses shadow DOM boundaries)","return":{"type":{"text":"boolean"}},"inheritedFrom":{"name":"EventEmitterMixin","module":"src/util/EventEmitterMixin.ts"}}],"events":[{"type":{"text":"CustomEvent"},"description":"Fired after first render and initialization","name":"btu-circular-progress-ready"},{"type":{"text":"CustomEvent"},"description":"Fired when determinate progress reaches 100","name":"btu-circular-progress-complete"}],"attributes":[{"name":"indeterminate","type":{"text":"boolean"},"default":"true","description":"Whether the progress indicator is indeterminate (animated spinner).\\nWhen false, shows determinate progress based on the progress value.","fieldName":"indeterminate","attribute":"indeterminate"},{"name":"size","type":{"text":"'sm' | 'md' | 'lg'"},"default":"'sm'","description":"Size variant.\\n- 'sm': Small (16px) - default\\n- 'md': Medium (32px)\\n- 'lg': Large (48px)","fieldName":"size","attribute":"size"},{"name":"color","type":{"text":"ProgressColors"},"default":"'primary'","description":"Color theme of the progress indicator.\\nSupports: black, white, primary, teal, gray, purple, rose, error, warning, success","fieldName":"color","attribute":"color","inheritedFrom":{"name":"ProgressMixin","module":"src/util/ProgressMixin.ts"}},{"name":"thickness","type":{"text":"number | undefined"},"description":"Stroke width of the progress indicator.","fieldName":"thickness","attribute":"thickness","inheritedFrom":{"name":"ProgressMixin","module":"src/util/ProgressMixin.ts"}},{"name":"progress","description":"Progress value for determinate variant. Clamped to 0–100.","fieldName":"progress","attribute":"progress","inheritedFrom":{"name":"ProgressMixin","module":"src/util/ProgressMixin.ts"}},{"name":"label","type":{"text":"string | undefined"},"description":"Optional label text to display with the progress indicator.","fieldName":"label","attribute":"label","inheritedFrom":{"name":"ProgressMixin","module":"src/util/ProgressMixin.ts"}},{"name":"initial-animation","type":{"text":"boolean"},"default":"true","description":"Whether to animate progress from 0 to target value when component first becomes visible.","fieldName":"initialAnimation","attribute":"initial-animation","inheritedFrom":{"name":"ProgressMixin","module":"src/util/ProgressMixin.ts"}},{"name":"aria-label","type":{"text":"string | null"},"default":"null","description":"Optional aria-label attribute for screen readers.\\nDescribes what the progress indicator represents.","fieldName":"ariaLabel","attribute":"aria-label","inheritedFrom":{"name":"ProgressMixin","module":"src/util/ProgressMixin.ts"}},{"name":"aria-labelledby","type":{"text":"string | null"},"default":"null","description":"Optional aria-labelledby attribute for screen readers.\\nReferences the ID of an element that labels the progress indicator.","fieldName":"ariaLabelledBy","attribute":"aria-labelledby","inheritedFrom":{"name":"ProgressMixin","module":"src/util/ProgressMixin.ts"}},{"name":"aria-valuetext","type":{"text":"string | null"},"default":"null","description":"Optional aria-valuetext attribute for screen readers.\\nProvides human-readable text alternative for progress value.","fieldName":"ariaValueText","attribute":"aria-valuetext","inheritedFrom":{"name":"ProgressMixin","module":"src/util/ProgressMixin.ts"}},{"name":"completion-announcement","type":{"text":"string | undefined"},"description":"Optional message to announce to screen readers when progress reaches 100%.\\nIf not provided, no announcement will be made on completion.","fieldName":"completionAnnouncement","attribute":"completion-announcement","inheritedFrom":{"name":"ProgressMixin","module":"src/util/ProgressMixin.ts"}}],"mixins":[{"name":"ProgressMixin","module":"/src/util/ProgressMixin.js"},{"name":"EventEmitterMixin","module":"/src/util/EventEmitterMixin.js"},{"name":"ReadyMixin","module":"/src/util/ReadyMixin.js"}],"superclass":{"name":"LitElement","package":"lit"},"tagName":"btu-circular-progress","customElement":true}],"exports":[{"kind":"js","name":"default","declaration":{"name":"CircularProgress","module":"src/components/circular-progress/CircularProgress.ts"}},{"kind":"custom-element-definition","name":"btu-circular-progress","declaration":{"name":"CircularProgress","module":"src/components/circular-progress/CircularProgress.ts"}}]},{"kind":"javascript-module","path":"src/components/copy-to-clipboard/CopyToClipboard.ts","declarations":[{"kind":"class","description":"A button component that copies text to the system clipboard.\\n\\nProvides visual feedback when text is successfully copied by applying\\na temporary state that can be styled with CSS.\\n\\nButton styling is inherited from \`btu-button-*\` classes. Override appearance\\nby passing custom classes via the \`buttonClasses\` attribute.","name":"CopyToClipboard","members":[{"kind":"field","name":"copydata","type":{"text":"string | undefined"},"description":"The text to be copied to the system clipboard.","attribute":"copydata"},{"kind":"field","name":"buttonClasses","type":{"text":"string | undefined"},"description":"Custom CSS classes for the button. If provided, replaces the default classes.","attribute":"buttonClasses"},{"kind":"method","name":"copy","return":{"type":{"text":""}},"parameters":[{"name":"text","type":{"text":"string"},"description":"The text to copy to clipboard"},{"name":"timeout","default":"3000","description":"Duration in milliseconds to show success state (default: 3000)"}],"description":"Copies the copydata to the system clipboard.\\nDisplays a success state for 3 seconds after copying.","inheritedFrom":{"name":"ClipboardMixin","module":"src/util/ClipboardMixin.ts"}},{"kind":"field","name":"copiedStateKey","type":{"text":"'btu-copy-to-clipboard-copied'"},"description":"Custom state applied briefly after a successful copy; also emitted as an event.","readonly":true,"inheritedFrom":{"name":"ClipboardMixin","module":"src/util/ClipboardMixin.ts"}},{"kind":"method","name":"emit","parameters":[{"name":"type","type":{"text":"K"},"description":"Event name from CustomEventMap"},{"name":"detail","optional":true,"type":{"text":"UnpackCustomEvent<CustomEventMap[K]>"},"description":"Optional event detail payload"}],"description":"Dispatches a type-safe CustomEvent with standardized configuration.\\n\\nAll events are configured with:\\n- bubbles: true (event propagates up the DOM tree)\\n- cancelable: false (event cannot be cancelled)\\n- composed: true (event crosses shadow DOM boundaries)","return":{"type":{"text":"boolean"}},"inheritedFrom":{"name":"EventEmitterMixin","module":"src/util/EventEmitterMixin.ts"}}],"events":[{"type":{"text":"CustomEvent"},"description":"Fired after first render and initialization","name":"btu-copy-to-clipboard-ready"},{"type":{"text":"CustomEvent"},"description":"Fired when text is successfully copied to clipboard","name":"btu-copy-to-clipboard-copied"}],"attributes":[{"name":"copydata","type":{"text":"string | undefined"},"description":"The text to be copied to the system clipboard.","fieldName":"copydata","attribute":"copydata"},{"name":"buttonClasses","type":{"text":"string | undefined"},"description":"Custom CSS classes for the button. If provided, replaces the default classes.","fieldName":"buttonClasses","attribute":"buttonClasses"}],"cssStates":[{"description":"Applied briefly after a successful copy, targetable via :state(btu-copy-to-clipboard-copied)","name":"btu-copy-to-clipboard-copied"}],"mixins":[{"name":"ClipboardMixin","module":"/src/util/ClipboardMixin.js"},{"name":"ComponentStatesMixin","module":"/src/util/ComponentStatesMixin.js"},{"name":"EventEmitterMixin","module":"/src/util/EventEmitterMixin.js"},{"name":"ReadyMixin","module":"/src/util/ReadyMixin.js"}],"superclass":{"name":"LitElement","package":"lit"},"tagName":"btu-copy-to-clipboard","customElement":true}],"exports":[{"kind":"js","name":"default","declaration":{"name":"CopyToClipboard","module":"src/components/copy-to-clipboard/CopyToClipboard.ts"}},{"kind":"custom-element-definition","name":"btu-copy-to-clipboard","declaration":{"name":"CopyToClipboard","module":"src/components/copy-to-clipboard/CopyToClipboard.ts"}}]},{"kind":"javascript-module","path":"src/components/dropdown/Dropdown.ts","declarations":[{"kind":"class","description":"A dropdown component that renders a trigger button and manages a floating panel\\ncontaining a \`btu-dropdown-menu\`.\\n\\nUses the native Popover API and CSS anchor positioning for panel management.\\nThe trigger button is built with existing \`btu-button-*\` classes.\\n\\n**Trigger button styling:** Set \`--button-*\` CSS custom properties on \`<btu-dropdown>\`\\nor a parent element to customize the trigger via CSS inheritance (e.g.,\\n\`--button-border-radius\`, \`--button-color-background\`). See\\n\`tailwind-plugin-button.ts\` for available props.","name":"Dropdown","cssProperties":[{"description":"Panel background color (default: white)","name":"--dropdown-panel-background"},{"description":"Panel border color (default: gray-200)","name":"--dropdown-panel-border-color"},{"description":"Panel border radius (default: borderRadius.lg)","name":"--dropdown-panel-border-radius"},{"description":"Panel minimum width (default: max(12rem, anchor-size(width)))","name":"--dropdown-panel-min-width"},{"description":"Item background color (default: transparent)","name":"--dropdown-item-background"},{"description":"Item text color (default: gray-700)","name":"--dropdown-item-color"},{"description":"Item hover background (default: gray-100)","name":"--dropdown-item-hover-background"},{"description":"Item hover text color (default: gray-900)","name":"--dropdown-item-hover-color"},{"description":"Selected item background (default: primary-50)","name":"--dropdown-item-selected-background"},{"description":"Selected item text color (default: primary-700)","name":"--dropdown-item-selected-color"},{"description":"Item font size (default: fontSize.sm)","name":"--dropdown-item-font-size"},{"description":"Divider line color (default: gray-200)","name":"--dropdown-divider-color"},{"description":"Empty state text color (default: gray-400)","name":"--dropdown-empty-color"}],"slots":[{"description":"A \`btu-dropdown-menu\` element containing \`btu-dropdown-item\` children","name":""}],"members":[{"kind":"field","name":"label","type":{"text":"string"},"default":"''","description":"Trigger button text.","attribute":"label"},{"kind":"field","name":"open","type":{"text":"boolean"},"default":"false","description":"Panel visibility state. Can be set programmatically (e.g., for tour UIs)\\n— syncs to \`showPopover()\`/\`hidePopover()\` in \`updated()\`.","attribute":"open","reflects":true},{"kind":"field","name":"placement","type":{"text":"Placement"},"default":"'bottom-start'","description":"Panel placement: 'bottom-start', 'bottom-end', 'top-start', 'top-end'.","attribute":"placement"},{"kind":"field","name":"size","type":{"text":"Size"},"default":"'md'","description":"Button size: 'sm', 'md', 'lg'.","attribute":"size"},{"kind":"field","name":"disabled","type":{"text":"boolean"},"default":"false","description":"Prevents opening.","attribute":"disabled","reflects":true},{"kind":"field","name":"variant","type":{"text":"Variant"},"default":"'secondary'","description":"Button variant: 'primary', 'secondary', 'tertiary', 'primary-clear', 'secondary-clear', 'tertiary-clear'.","attribute":"variant"},{"kind":"field","name":"symbol","type":{"text":"string"},"default":"''","description":"Lucide icon symbol for the trigger.","attribute":"symbol"},{"kind":"field","name":"iconPosition","type":{"text":"'leading' | 'trailing'"},"default":"'leading'","description":"Icon position: 'leading' or 'trailing'.","attribute":"icon-position"},{"kind":"field","name":"iconOnly","type":{"text":"boolean"},"default":"false","description":"Hides label, shows icon only.","attribute":"icon-only"},{"kind":"field","name":"stayOpenOnSelect","type":{"text":"boolean"},"default":"false","description":"Keeps panel open on item click.","attribute":"stay-open-on-select"},{"kind":"field","name":"noChevron","type":{"text":"boolean"},"default":"false","description":"Hides the chevron icon on the trigger button.","attribute":"no-chevron","reflects":true},{"kind":"method","name":"_getButtonClasses","privacy":"private","return":{"type":{"text":"string"}},"description":"Build the button class string based on variant and size"},{"kind":"method","name":"_showPanel","privacy":"private","return":{"type":{"text":"void"}},"description":"Show the dropdown panel"},{"kind":"method","name":"_hidePanel","privacy":"private","return":{"type":{"text":"void"}},"description":"Hide the dropdown panel"},{"kind":"field","name":"tooltip","type":{"text":"string"},"default":"''","description":"Tooltip text content. Set to empty string to remove the tooltip.","attribute":"tooltip","inheritedFrom":{"name":"TooltipMixin","module":"src/util/TooltipMixin.ts"}},{"kind":"field","name":"tooltipPosition","type":{"text":"'top' | 'bottom' | 'left' | 'right'"},"default":"'top'","description":"Position relative to the host element. Auto-flips when constrained by the viewport.","attribute":"tooltip-position","inheritedFrom":{"name":"TooltipMixin","module":"src/util/TooltipMixin.ts"}},{"kind":"field","name":"tooltipDelay","type":{"text":"number"},"default":"300","description":"Show delay in milliseconds (hover trigger only).","attribute":"tooltip-delay","inheritedFrom":{"name":"TooltipMixin","module":"src/util/TooltipMixin.ts"}},{"kind":"field","name":"tooltipOffset","type":{"text":"TooltipOffset | null"},"default":"null","description":"Gap between host and tooltip (sm=4px, md=8px, lg=12px, xl=16px).","attribute":"tooltip-offset","inheritedFrom":{"name":"TooltipMixin","module":"src/util/TooltipMixin.ts"}},{"kind":"field","name":"tooltipNoArrow","type":{"text":"boolean"},"default":"false","description":"Hide the arrow pseudo-element.","attribute":"tooltip-no-arrow","inheritedFrom":{"name":"TooltipMixin","module":"src/util/TooltipMixin.ts"}},{"kind":"field","name":"tooltipTrigger","type":{"text":"string"},"default":"'hover focus'","description":"Space-separated trigger types: 'hover', 'focus', 'click'.","attribute":"tooltip-trigger","inheritedFrom":{"name":"TooltipMixin","module":"src/util/TooltipMixin.ts"}},{"kind":"field","name":"_onMouseLeave","privacy":"private","inheritedFrom":{"name":"TooltipMixin","module":"src/util/TooltipMixin.ts"}},{"kind":"field","name":"_onFocusIn","privacy":"private","inheritedFrom":{"name":"TooltipMixin","module":"src/util/TooltipMixin.ts"}},{"kind":"field","name":"_onFocusOut","privacy":"private","inheritedFrom":{"name":"TooltipMixin","module":"src/util/TooltipMixin.ts"}},{"kind":"field","name":"_onClick","privacy":"private","inheritedFrom":{"name":"TooltipMixin","module":"src/util/TooltipMixin.ts"}},{"kind":"field","name":"_onNativeToggle","privacy":"private","inheritedFrom":{"name":"TooltipMixin","module":"src/util/TooltipMixin.ts"}},{"kind":"field","name":"_onKeyDown","privacy":"private","inheritedFrom":{"name":"TooltipMixin","module":"src/util/TooltipMixin.ts"}},{"kind":"field","name":"_onDocumentClick","type":{"text":"((e: MouseEvent) => void) | null"},"privacy":"private","default":"null","inheritedFrom":{"name":"TooltipMixin","module":"src/util/TooltipMixin.ts"}},{"kind":"method","name":"emit","parameters":[{"name":"type","type":{"text":"K"},"description":"Event name from CustomEventMap"},{"name":"detail","optional":true,"type":{"text":"UnpackCustomEvent<CustomEventMap[K]>"},"description":"Optional event detail payload"}],"description":"Dispatches a type-safe CustomEvent with standardized configuration.\\n\\nAll events are configured with:\\n- bubbles: true (event propagates up the DOM tree)\\n- cancelable: false (event cannot be cancelled)\\n- composed: true (event crosses shadow DOM boundaries)","return":{"type":{"text":"boolean"}},"inheritedFrom":{"name":"EventEmitterMixin","module":"src/util/EventEmitterMixin.ts"}}],"events":[{"type":{"text":"CustomEvent"},"description":"Fired after first render and initialization","name":"btu-dropdown-ready"},{"type":{"text":"CustomEvent"},"description":"Fired when the dropdown panel opens","name":"btu-dropdown-show"},{"type":{"text":"CustomEvent"},"description":"Fired when the dropdown panel closes","name":"btu-dropdown-hide"},{"type":{"text":"CustomEvent<{label: string, value: string, selected: boolean}>"},"description":"Fired when a menu item is activated (bubbles from btu-dropdown-item)","name":"btu-dropdown-item-select"},{"type":{"text":"CustomEvent<{label: string, favorited: boolean}>"},"description":"Fired when a menu item's favorite is toggled (bubbles from btu-dropdown-item)","name":"btu-dropdown-item-favorite"}],"attributes":[{"name":"label","type":{"text":"string"},"default":"''","description":"Trigger button text.","fieldName":"label","attribute":"label"},{"name":"open","type":{"text":"boolean"},"default":"false","description":"Panel visibility state. Can be set programmatically (e.g., for tour UIs)\\n— syncs to \`showPopover()\`/\`hidePopover()\` in \`updated()\`.","fieldName":"open","attribute":"open"},{"name":"placement","type":{"text":"Placement"},"default":"'bottom-start'","description":"Panel placement: 'bottom-start', 'bottom-end', 'top-start', 'top-end'.","fieldName":"placement","attribute":"placement"},{"name":"size","type":{"text":"Size"},"default":"'md'","description":"Button size: 'sm', 'md', 'lg'.","fieldName":"size","attribute":"size"},{"name":"disabled","type":{"text":"boolean"},"default":"false","description":"Prevents opening.","fieldName":"disabled","attribute":"disabled"},{"name":"variant","type":{"text":"Variant"},"default":"'secondary'","description":"Button variant: 'primary', 'secondary', 'tertiary', 'primary-clear', 'secondary-clear', 'tertiary-clear'.","fieldName":"variant","attribute":"variant"},{"name":"symbol","type":{"text":"string"},"default":"''","description":"Lucide icon symbol for the trigger.","fieldName":"symbol","attribute":"symbol"},{"name":"icon-position","type":{"text":"'leading' | 'trailing'"},"default":"'leading'","description":"Icon position: 'leading' or 'trailing'.","fieldName":"iconPosition","attribute":"icon-position"},{"name":"icon-only","type":{"text":"boolean"},"default":"false","description":"Hides label, shows icon only.","fieldName":"iconOnly","attribute":"icon-only"},{"name":"stay-open-on-select","type":{"text":"boolean"},"default":"false","description":"Keeps panel open on item click.","fieldName":"stayOpenOnSelect","attribute":"stay-open-on-select"},{"name":"no-chevron","type":{"text":"boolean"},"default":"false","description":"Hides the chevron icon on the trigger button.","fieldName":"noChevron","attribute":"no-chevron"},{"name":"tooltip","type":{"text":"string"},"default":"''","description":"Tooltip text content. Set to empty string to remove the tooltip.","fieldName":"tooltip","attribute":"tooltip","inheritedFrom":{"name":"TooltipMixin","module":"src/util/TooltipMixin.ts"}},{"name":"tooltipPosition","type":{"text":"'top' | 'bottom' | 'left' | 'right'"},"default":"'top'","description":"Position relative to the host element. Auto-flips when constrained by the viewport.","fieldName":"tooltipPosition","inheritedFrom":{"name":"TooltipMixin","module":"src/util/TooltipMixin.ts"}},{"name":"tooltipDelay","type":{"text":"number"},"default":"300","description":"Show delay in milliseconds (hover trigger only).","fieldName":"tooltipDelay","inheritedFrom":{"name":"TooltipMixin","module":"src/util/TooltipMixin.ts"}},{"name":"tooltipOffset","type":{"text":"TooltipOffset | null"},"default":"null","description":"Gap between host and tooltip (sm=4px, md=8px, lg=12px, xl=16px).","fieldName":"tooltipOffset","inheritedFrom":{"name":"TooltipMixin","module":"src/util/TooltipMixin.ts"}},{"name":"tooltipNoArrow","type":{"text":"boolean"},"default":"false","description":"Hide the arrow pseudo-element.","fieldName":"tooltipNoArrow","inheritedFrom":{"name":"TooltipMixin","module":"src/util/TooltipMixin.ts"}},{"name":"tooltipTrigger","type":{"text":"string"},"default":"'hover focus'","description":"Space-separated trigger types: 'hover', 'focus', 'click'.","fieldName":"tooltipTrigger","inheritedFrom":{"name":"TooltipMixin","module":"src/util/TooltipMixin.ts"}},{"name":"tooltip-position","type":{"text":"'top' | 'bottom' | 'left' | 'right'"},"default":"'top'","description":"Position relative to the host element. Auto-flips when constrained by the viewport.","attribute":"tooltipPosition","fieldName":"tooltipPosition","inheritedFrom":{"name":"TooltipMixin","module":"src/util/TooltipMixin.ts"}},{"name":"tooltip-delay","type":{"text":"number"},"default":"300","description":"Show delay in milliseconds (hover trigger only).","attribute":"tooltipDelay","fieldName":"tooltipDelay","inheritedFrom":{"name":"TooltipMixin","module":"src/util/TooltipMixin.ts"}},{"name":"tooltip-offset","type":{"text":"TooltipOffset | null"},"default":"null","description":"Gap between host and tooltip (sm=4px, md=8px, lg=12px, xl=16px).","attribute":"tooltipOffset","fieldName":"tooltipOffset","inheritedFrom":{"name":"TooltipMixin","module":"src/util/TooltipMixin.ts"}},{"name":"tooltip-no-arrow","type":{"text":"boolean"},"default":"false","description":"Hide the arrow pseudo-element.","attribute":"tooltipNoArrow","fieldName":"tooltipNoArrow","inheritedFrom":{"name":"TooltipMixin","module":"src/util/TooltipMixin.ts"}},{"name":"tooltip-trigger","type":{"text":"string"},"default":"'hover focus'","description":"Space-separated trigger types: 'hover', 'focus', 'click'.","attribute":"tooltipTrigger","fieldName":"tooltipTrigger","inheritedFrom":{"name":"TooltipMixin","module":"src/util/TooltipMixin.ts"}}],"mixins":[{"name":"TooltipMixin","module":"/src/util/TooltipMixin.js"},{"name":"EventEmitterMixin","module":"/src/util/EventEmitterMixin.js"},{"name":"ReadyMixin","module":"/src/util/ReadyMixin.js"}],"superclass":{"name":"LitElement","package":"lit"},"tagName":"btu-dropdown","customElement":true}],"exports":[{"kind":"js","name":"default","declaration":{"name":"Dropdown","module":"src/components/dropdown/Dropdown.ts"}},{"kind":"custom-element-definition","name":"btu-dropdown","declaration":{"name":"Dropdown","module":"src/components/dropdown/Dropdown.ts"}}]},{"kind":"javascript-module","path":"src/components/dropdown/DropdownItem.ts","declarations":[{"kind":"class","description":"A menu item component for use inside \`btu-dropdown-menu\`.\\n\\nRenders as a menu item, divider, or subhead depending on the \`type\` property.\\nSupports checkbox mode (inherited from parent menu), icons, keyboard shortcuts,\\nand favorite toggles.","name":"DropdownItem","cssProperties":[{"description":"Item font size (default: theme fontSize.sm)","name":"--dropdown-item-font-size"},{"description":"Item text color (default: gray-700)","name":"--dropdown-item-color"},{"description":"Item background color (default: transparent)","name":"--dropdown-item-background"},{"description":"Background on hover (default: gray-100)","name":"--dropdown-item-hover-background"},{"description":"Text color on hover (default: gray-900)","name":"--dropdown-item-hover-color"},{"description":"Background when selected (default: primary-50)","name":"--dropdown-item-selected-background"},{"description":"Text color when selected (default: primary-700)","name":"--dropdown-item-selected-color"}],"members":[{"kind":"field","name":"label","type":{"text":"string"},"default":"''","description":"Display text for the item.","attribute":"label"},{"kind":"field","name":"type","type":{"text":"'default' | 'divider' | 'subhead'"},"default":"'default'","description":"Item type: 'default', 'divider', or 'subhead'.","attribute":"type"},{"kind":"field","name":"symbol","type":{"text":"string"},"default":"''","description":"Lucide icon symbol.","attribute":"symbol"},{"kind":"field","name":"shortcut","type":{"text":"string"},"default":"''","description":"Keyboard shortcut display text.","attribute":"shortcut"},{"kind":"field","name":"value","type":{"text":"string"},"default":"''","description":"Optional data value associated with the item.","attribute":"value"},{"kind":"field","name":"disabled","type":{"text":"boolean"},"default":"false","description":"Whether the item is disabled.","attribute":"disabled"},{"kind":"field","name":"selected","type":{"text":"boolean"},"default":"false","description":"Whether the item is selected/checked.","attribute":"selected","reflects":true},{"kind":"field","name":"favorited","type":{"text":"boolean"},"default":"false","description":"Whether the item is favorited.","attribute":"favorited"},{"kind":"field","name":"error","type":{"text":"boolean"},"default":"false","description":"Whether the item has an error.","attribute":"error"},{"kind":"method","name":"_toggleFavorite","privacy":"private","return":{"type":{"text":"void"}},"parameters":[{"name":"e","type":{"text":"Event"}}],"description":"Toggle favorite state"},{"kind":"method","name":"_handleClick","privacy":"private","return":{"type":{"text":"void"}}},{"kind":"method","name":"emit","parameters":[{"name":"type","type":{"text":"K"},"description":"Event name from CustomEventMap"},{"name":"detail","optional":true,"type":{"text":"UnpackCustomEvent<CustomEventMap[K]>"},"description":"Optional event detail payload"}],"description":"Dispatches a type-safe CustomEvent with standardized configuration.\\n\\nAll events are configured with:\\n- bubbles: true (event propagates up the DOM tree)\\n- cancelable: false (event cannot be cancelled)\\n- composed: true (event crosses shadow DOM boundaries)","return":{"type":{"text":"boolean"}},"inheritedFrom":{"name":"EventEmitterMixin","module":"src/util/EventEmitterMixin.ts"}}],"events":[{"type":{"text":"CustomEvent"},"description":"Fired after first render","name":"btu-dropdown-item-ready"},{"type":{"text":"CustomEvent<{label: string, value: string, selected: boolean}>"},"description":"Fired when item is activated","name":"btu-dropdown-item-select"},{"type":{"text":"CustomEvent<{label: string, favorited: boolean}>"},"description":"Fired when favorite is toggled","name":"btu-dropdown-item-favorite"}],"attributes":[{"name":"label","type":{"text":"string"},"default":"''","description":"Display text for the item.","fieldName":"label","attribute":"label"},{"name":"type","type":{"text":"'default' | 'divider' | 'subhead'"},"default":"'default'","description":"Item type: 'default', 'divider', or 'subhead'.","fieldName":"type","attribute":"type"},{"name":"symbol","type":{"text":"string"},"default":"''","description":"Lucide icon symbol.","fieldName":"symbol","attribute":"symbol"},{"name":"shortcut","type":{"text":"string"},"default":"''","description":"Keyboard shortcut display text.","fieldName":"shortcut","attribute":"shortcut"},{"name":"value","type":{"text":"string"},"default":"''","description":"Optional data value associated with the item.","fieldName":"value","attribute":"value"},{"name":"disabled","type":{"text":"boolean"},"default":"false","description":"Whether the item is disabled.","fieldName":"disabled","attribute":"disabled"},{"name":"selected","type":{"text":"boolean"},"default":"false","description":"Whether the item is selected/checked.","fieldName":"selected","attribute":"selected"},{"name":"favorited","type":{"text":"boolean"},"default":"false","description":"Whether the item is favorited.","fieldName":"favorited","attribute":"favorited"},{"name":"error","type":{"text":"boolean"},"default":"false","description":"Whether the item has an error.","fieldName":"error","attribute":"error"}],"mixins":[{"name":"EventEmitterMixin","module":"/src/util/EventEmitterMixin.js"},{"name":"ReadyMixin","module":"/src/util/ReadyMixin.js"}],"superclass":{"name":"LitElement","package":"lit"},"tagName":"btu-dropdown-item","customElement":true}],"exports":[{"kind":"js","name":"default","declaration":{"name":"DropdownItem","module":"src/components/dropdown/DropdownItem.ts"}},{"kind":"custom-element-definition","name":"btu-dropdown-item","declaration":{"name":"DropdownItem","module":"src/components/dropdown/DropdownItem.ts"}}]},{"kind":"javascript-module","path":"src/components/dropdown/DropdownMenu.ts","declarations":[{"kind":"class","description":"A menu container component that provides keyboard navigation and ARIA menu semantics.\\n\\nContains \`btu-dropdown-item\` children and manages roving tabindex, typeahead search,\\nand keyboard navigation following the WAI-ARIA Menu Button Pattern.","name":"DropdownMenu","cssProperties":[{"description":"Empty state text color (default: gray-400)","name":"--dropdown-empty-color"}],"slots":[{"description":"Menu items (\`btu-dropdown-item\` elements)","name":""}],"members":[{"kind":"field","name":"name","type":{"text":"string"},"default":"''","description":"Accessible name for the menu, displayed in header when header is true.","attribute":"name"},{"kind":"field","name":"header","type":{"text":"boolean"},"default":"false","description":"Show header bar with menu name.","attribute":"header"},{"kind":"field","name":"checkbox","type":{"text":"boolean"},"default":"false","description":"Enable checkbox mode for items (menuitemcheckbox role).","attribute":"checkbox"},{"kind":"field","name":"icon","type":{"text":"boolean"},"default":"false","description":"Show icons before each item.","attribute":"icon"},{"kind":"field","name":"symbol","type":{"text":"string"},"default":"''","description":"Fallback Lucide icon symbol for items without their own.","attribute":"symbol"},{"kind":"field","name":"favorites","type":{"text":"boolean"},"default":"false","description":"Show favorite toggle on each item.","attribute":"favorites"},{"kind":"field","name":"shortcuts","type":{"text":"boolean"},"default":"false","description":"Show keyboard shortcut text on each item.","attribute":"shortcuts"},{"kind":"field","name":"emptyMessage","type":{"text":"string"},"default":"'No items available'","description":"Message displayed when the menu has no focusable items.","attribute":"empty-message"},{"kind":"method","name":"_configureItems","privacy":"private","return":{"type":{"text":"void"}},"description":"Configure all child items with menu-level settings"},{"kind":"method","name":"_getAllItems","privacy":"private","return":{"type":{"text":"DropdownItem[]"}},"description":"Get all btu-dropdown-item children"},{"kind":"method","name":"_getFocusableItems","privacy":"private","return":{"type":{"text":"DropdownItem[]"}},"description":"Get only focusable items (default type, skip dividers/subheads)"},{"kind":"method","name":"_handleTypeahead","privacy":"private","return":{"type":{"text":"void"}},"parameters":[{"name":"char","type":{"text":"string"}},{"name":"focusable","type":{"text":"DropdownItem[]"}}],"description":"Typeahead character matching with 500ms accumulation"},{"kind":"field","name":"_isEmpty","type":{"text":"boolean"},"privacy":"private","description":"Check whether the menu has zero focusable items","readonly":true},{"kind":"method","name":"emit","parameters":[{"name":"type","type":{"text":"K"},"description":"Event name from CustomEventMap"},{"name":"detail","optional":true,"type":{"text":"UnpackCustomEvent<CustomEventMap[K]>"},"description":"Optional event detail payload"}],"description":"Dispatches a type-safe CustomEvent with standardized configuration.\\n\\nAll events are configured with:\\n- bubbles: true (event propagates up the DOM tree)\\n- cancelable: false (event cannot be cancelled)\\n- composed: true (event crosses shadow DOM boundaries)","return":{"type":{"text":"boolean"}},"inheritedFrom":{"name":"EventEmitterMixin","module":"src/util/EventEmitterMixin.ts"}}],"events":[{"type":{"text":"CustomEvent"},"description":"Fired after first render","name":"btu-dropdown-menu-ready"}],"attributes":[{"name":"name","type":{"text":"string"},"default":"''","description":"Accessible name for the menu, displayed in header when header is true.","fieldName":"name","attribute":"name"},{"name":"header","type":{"text":"boolean"},"default":"false","description":"Show header bar with menu name.","fieldName":"header","attribute":"header"},{"name":"checkbox","type":{"text":"boolean"},"default":"false","description":"Enable checkbox mode for items (menuitemcheckbox role).","fieldName":"checkbox","attribute":"checkbox"},{"name":"icon","type":{"text":"boolean"},"default":"false","description":"Show icons before each item.","fieldName":"icon","attribute":"icon"},{"name":"symbol","type":{"text":"string"},"default":"''","description":"Fallback Lucide icon symbol for items without their own.","fieldName":"symbol","attribute":"symbol"},{"name":"favorites","type":{"text":"boolean"},"default":"false","description":"Show favorite toggle on each item.","fieldName":"favorites","attribute":"favorites"},{"name":"shortcuts","type":{"text":"boolean"},"default":"false","description":"Show keyboard shortcut text on each item.","fieldName":"shortcuts","attribute":"shortcuts"},{"name":"empty-message","type":{"text":"string"},"default":"'No items available'","description":"Message displayed when the menu has no focusable items.","fieldName":"emptyMessage","attribute":"empty-message"}],"mixins":[{"name":"RovingTabindexMixin","module":"/src/util/RovingTabindexMixin.js"},{"name":"EventEmitterMixin","module":"/src/util/EventEmitterMixin.js"},{"name":"ReadyMixin","module":"/src/util/ReadyMixin.js"}],"superclass":{"name":"LitElement","package":"lit"},"tagName":"btu-dropdown-menu","customElement":true}],"exports":[{"kind":"js","name":"default","declaration":{"name":"DropdownMenu","module":"src/components/dropdown/DropdownMenu.ts"}},{"kind":"custom-element-definition","name":"btu-dropdown-menu","declaration":{"name":"DropdownMenu","module":"src/components/dropdown/DropdownMenu.ts"}}]},{"kind":"javascript-module","path":"src/components/empty-state/EmptyState.ts","declarations":[{"kind":"class","description":"An empty state component for displaying placeholder content when no data is available.\\n\\nSupports a graphic slot for icons/images/pictures/SVGs, a heading, a description,\\nand an actions slot for buttons or links. Available in three sizes (sm, md, lg)\\nwith semantic heading levels.\\n\\n## Architecture: Light DOM + Pseudo-Slots\\n\\nThis component uses **Light DOM** (no Shadow Root) with pseudo-slots:\\n- User-provided children are physically moved into internal containers\\n- Movement is based on \`slot\` attributes\\n- The \`onFind\` utility detects and redistributes newly-added children (one-time per element)\\n\\n### Node Redistribution Rules\\n- \`slot=\\"graphic\\"\` - Moved to graphic container (icon, image, picture, or SVG)\\n- \`slot=\\"actions\\"\` - Moved to an internal \`btu-button-group\` (variant=\\"spaced\\")\\n\\n### Actions composition\\n\\nThe actions container IS a \`btu-button-group\` with \`variant=\\"spaced\\"\`. Its \`size\`\\nis mapped from the empty-state \`size\` prop (sm→small, md→medium, lg→large) so all\\nchild \`btu-button\` / \`btu-icon-button\` elements get consistent sizing and group\\nsemantics (\`role=\\"group\\"\`, roving tabindex, disabled propagation) for free.","name":"EmptyState","cssProperties":[{"description":"Maximum width of the content block (default: min(75cqw, 360px))","name":"--empty-state-max-width"},{"description":"Heading text color (default: gray-900)","name":"--empty-state-color-heading"},{"description":"Description text color (default: gray-500)","name":"--empty-state-color-description"}],"slots":[{"description":"Pseudo-slot for icon, image, picture, or SVG graphic. When the child is a \`btu-icon\`, the component overrides its \`size\` attribute based on the empty-state \`size\` prop (sm→md, md→lg, lg→xl). Use an \`img\`, \`picture\`, or inline \`svg\` for full size control.","name":"graphic"},{"description":"Pseudo-slot for action buttons. Children are moved into an internal \`btu-button-group\` (variant=\\"spaced\\"), so size and disabled state are managed by the group.","name":"actions"}],"members":[{"kind":"field","name":"heading","type":{"text":"string"},"default":"''","description":"Heading text displayed in the empty state.","attribute":"heading"},{"kind":"field","name":"description","type":{"text":"string | undefined"},"description":"Description text displayed below the heading.","attribute":"description"},{"kind":"field","name":"size","type":{"text":"'sm' | 'md' | 'lg'"},"default":"'md'","description":"Size variant of the empty state. Affects spacing, description text, graphic size,\\nand — when \`heading-level\` is unset — the default heading level (sm→5, md→4, lg→3).","attribute":"size"},{"kind":"field","name":"headingLevel","type":{"text":"number | undefined"},"description":"Heading level (1-6). When set to a valid integer 1-6, overrides the size-based\\ndefault and drives both the semantic h1-h6 tag and the visual heading size\\n(btu-heading-1 through btu-heading-6). Invalid values log a warning and fall\\nback to the size-based default.","attribute":"heading-level"},{"kind":"field","name":"initialClasses","type":{"text":"string[]"},"privacy":"private","default":"[]"},{"kind":"method","name":"syncGraphicIconSize","privacy":"private","return":{"type":{"text":"void"}}},{"kind":"method","name":"resolveHeadingLevel","privacy":"private","return":{"type":{"text":"HeadingLevel"}}},{"kind":"method","name":"renderHeading","privacy":"private","return":{"type":{"text":"TemplateResult | string"}},"parameters":[{"name":"level","type":{"text":"HeadingLevel"}},{"name":"className","type":{"text":"string"}}]},{"kind":"method","name":"emit","parameters":[{"name":"type","type":{"text":"K"},"description":"Event name from CustomEventMap"},{"name":"detail","optional":true,"type":{"text":"UnpackCustomEvent<CustomEventMap[K]>"},"description":"Optional event detail payload"}],"description":"Dispatches a type-safe CustomEvent with standardized configuration.\\n\\nAll events are configured with:\\n- bubbles: true (event propagates up the DOM tree)\\n- cancelable: false (event cannot be cancelled)\\n- composed: true (event crosses shadow DOM boundaries)","return":{"type":{"text":"boolean"}},"inheritedFrom":{"name":"EventEmitterMixin","module":"src/util/EventEmitterMixin.ts"}},{"kind":"field","name":"#stopFns","privacy":"private","type":{"text":"Array<() => void>"},"default":"[]","inheritedFrom":{"name":"OnFindMixin","module":"src/util/OnFindMixin.ts"}},{"kind":"method","name":"onFindRegistration","return":{"type":{"text":"OnFindRegistration | OnFindRegistration[] | null"}},"inheritedFrom":{"name":"OnFindMixin","module":"src/util/OnFindMixin.ts"}},{"kind":"method","name":"#armFind","privacy":"private","inheritedFrom":{"name":"OnFindMixin","module":"src/util/OnFindMixin.ts"}}],"events":[{"type":{"text":"CustomEvent"},"description":"Fired after first render and initialization","name":"btu-empty-state-ready"},{"type":{"text":"CustomEvent"},"description":"Bubbles from the internal actions button-group","name":"btu-button-group-ready"}],"attributes":[{"name":"heading","type":{"text":"string"},"default":"''","description":"Heading text displayed in the empty state.","fieldName":"heading","attribute":"heading"},{"name":"description","type":{"text":"string | undefined"},"description":"Description text displayed below the heading.","fieldName":"description","attribute":"description"},{"name":"size","type":{"text":"'sm' | 'md' | 'lg'"},"default":"'md'","description":"Size variant of the empty state. Affects spacing, description text, graphic size,\\nand — when \`heading-level\` is unset — the default heading level (sm→5, md→4, lg→3).","fieldName":"size","attribute":"size"},{"name":"heading-level","type":{"text":"number | undefined"},"description":"Heading level (1-6). When set to a valid integer 1-6, overrides the size-based\\ndefault and drives both the semantic h1-h6 tag and the visual heading size\\n(btu-heading-1 through btu-heading-6). Invalid values log a warning and fall\\nback to the size-based default.","fieldName":"headingLevel","attribute":"heading-level"}],"mixins":[{"name":"EventEmitterMixin","module":"/src/util/EventEmitterMixin.js"},{"name":"OnFindMixin","module":"/src/util/OnFindMixin.js"},{"name":"ReadyMixin","module":"/src/util/ReadyMixin.js"}],"superclass":{"name":"LitElement","package":"lit"},"tagName":"btu-empty-state","customElement":true}],"exports":[{"kind":"js","name":"default","declaration":{"name":"EmptyState","module":"src/components/empty-state/EmptyState.ts"}},{"kind":"custom-element-definition","name":"btu-empty-state","declaration":{"name":"EmptyState","module":"src/components/empty-state/EmptyState.ts"}}]},{"kind":"javascript-module","path":"src/components/icon/Icon.ts","declarations":[{"kind":"class","description":"An icon component for displaying Lucide icons.\\n\\nIcons inherit parent text color by default or can use gradient fills.\\nAll icons are from the Lucide icon library (https://lucide.dev/icons/).\\nSupports both direct SVG rendering and mask-based gradient fills.","name":"Icon","cssProperties":[{"description":"Icon size (overrides size default)","name":"--icon-size"},{"description":"SVG stroke width as a unitless number in viewBox units; scales visually with icon size (default: 2)","name":"--icon-stroke-width"},{"description":"Icon fill color for filled icons (e.g., \\"currentColor\\")","name":"--icon-fill"},{"description":"SVG data URI for mask-based rendering","name":"--icon-svg"}],"members":[{"kind":"field","name":"tagName","static":true,"readonly":true},{"kind":"field","name":"size","type":{"text":"'xs' | 'sm' | 'md' | 'lg' | 'xl'"},"default":"'md'","description":"Size of the icon.\\n- 'xs': Extra small (0.75rem)\\n- 'sm': Small (1rem)\\n- 'md': Medium (1.25rem, default)\\n- 'lg': Large (1.5rem)\\n- 'xl': Extra large (1.75rem)","attribute":"size"},{"kind":"field","name":"symbol","type":{"text":"string"},"default":"'circle-dashed'","description":"Lucide icon name to display.\\nSee https://lucide.dev/icons/ for available icons.","attribute":"symbol"},{"kind":"field","name":"gradient","type":{"text":"IconGradientColor | undefined"},"description":"Theme color to use for gradient fill.\\nWhen set, icon displays with gradient. When undefined, icon inherits parent text color.","attribute":"gradient"},{"kind":"field","name":"emphasize","type":{"text":"boolean | 'pulse' | undefined"},"description":"Emphasize mode — renders a tonal circle with ring behind the icon.\\nColors are derived from \`currentColor\` via oklch relative color syntax.\\nDefaults to primary; override with Tailwind \`text-*\` classes or \`style=\\"color: ...\\"\`.\\nSet as a boolean for the static circle, or \`\\"pulse\\"\` for a one-shot ring animation.\\nNot intended for use with \`gradient\` — the two features target\\nconflicting rendering modes.","attribute":"emphasize","reflects":true},{"kind":"method","name":"emit","parameters":[{"name":"type","type":{"text":"K"},"description":"Event name from CustomEventMap"},{"name":"detail","optional":true,"type":{"text":"UnpackCustomEvent<CustomEventMap[K]>"},"description":"Optional event detail payload"}],"description":"Dispatches a type-safe CustomEvent with standardized configuration.\\n\\nAll events are configured with:\\n- bubbles: true (event propagates up the DOM tree)\\n- cancelable: false (event cannot be cancelled)\\n- composed: true (event crosses shadow DOM boundaries)","return":{"type":{"text":"boolean"}},"inheritedFrom":{"name":"EventEmitterMixin","module":"src/util/EventEmitterMixin.ts"}}],"events":[{"type":{"text":"CustomEvent"},"description":"Fired after first render and initialization","name":"btu-icon-ready"}],"attributes":[{"name":"size","type":{"text":"'xs' | 'sm' | 'md' | 'lg' | 'xl'"},"default":"'md'","description":"Size of the icon.\\n- 'xs': Extra small (0.75rem)\\n- 'sm': Small (1rem)\\n- 'md': Medium (1.25rem, default)\\n- 'lg': Large (1.5rem)\\n- 'xl': Extra large (1.75rem)","fieldName":"size","attribute":"size"},{"name":"symbol","type":{"text":"string"},"default":"'circle-dashed'","description":"Lucide icon name to display.\\nSee https://lucide.dev/icons/ for available icons.","fieldName":"symbol","attribute":"symbol"},{"name":"gradient","type":{"text":"IconGradientColor | undefined"},"description":"Theme color to use for gradient fill.\\nWhen set, icon displays with gradient. When undefined, icon inherits parent text color.","fieldName":"gradient","attribute":"gradient"},{"name":"emphasize","type":{"text":"boolean | 'pulse' | undefined"},"description":"Emphasize mode — renders a tonal circle with ring behind the icon.\\nColors are derived from \`currentColor\` via oklch relative color syntax.\\nDefaults to primary; override with Tailwind \`text-*\` classes or \`style=\\"color: ...\\"\`.\\nSet as a boolean for the static circle, or \`\\"pulse\\"\` for a one-shot ring animation.\\nNot intended for use with \`gradient\` — the two features target\\nconflicting rendering modes.","fieldName":"emphasize","attribute":"emphasize"}],"mixins":[{"name":"EventEmitterMixin","module":"/src/util/EventEmitterMixin.js"},{"name":"ReadyMixin","module":"/src/util/ReadyMixin.js"}],"superclass":{"name":"LitElement","package":"lit"},"tagName":"btu-icon","customElement":true}],"exports":[{"kind":"js","name":"default","declaration":{"name":"Icon","module":"src/components/icon/Icon.ts"}},{"kind":"custom-element-definition","name":"btu-icon","declaration":{"name":"Icon","module":"src/components/icon/Icon.ts"}}]},{"kind":"javascript-module","path":"src/components/icon-button/IconButton.ts","declarations":[{"kind":"class","description":"Surfaces the different actions someone can perform in an interface where space is limited.\\n\\nUses an icon to communicate the action and supports multiple visual types and sizes.\\nTooltip support is built-in for accessibility in compact layouts.","name":"IconButton","members":[{"kind":"field","name":"name","type":{"text":"string | undefined"},"description":"Optional name for the button which can be used to identify the button in a callback.","attribute":"name"},{"kind":"field","name":"type","type":{"text":"IconButtonType"},"default":"'primary'","description":"Specifies the type of icon-button, controlling the visual style.","attribute":"type"},{"kind":"field","name":"symbol","type":{"text":"string | undefined"},"description":"Lucide icon symbol.","attribute":"symbol"},{"kind":"field","name":"size","type":{"text":"IconButtonSize"},"default":"'md'","description":"Specifies the size of icon-button.","attribute":"size"},{"kind":"field","name":"destructive","type":{"text":"boolean"},"default":"false","description":"Specifies an icon-button will be used to take any destructive action overriding the\\ndefault color used for the icon-button type with the error color.","attribute":"destructive"},{"kind":"field","name":"disabled","type":{"text":"boolean"},"default":"false","description":"Disables the button, preventing interaction and indicating an inactive state.","attribute":"disabled"},{"kind":"method","name":"_relayTooltipAttrs","privacy":"private","return":{"type":{"text":"void"}}},{"kind":"method","name":"_handleClick","privacy":"private","return":{"type":{"text":"void"}}},{"kind":"method","name":"_buildButtonClasses","privacy":"private","return":{"type":{"text":"string"}}},{"kind":"field","name":"tooltip","type":{"text":"string"},"default":"''","description":"Tooltip text content. Set to empty string to remove the tooltip.","attribute":"tooltip","inheritedFrom":{"name":"TooltipMixin","module":"src/util/TooltipMixin.ts"}},{"kind":"field","name":"tooltipPosition","type":{"text":"'top' | 'bottom' | 'left' | 'right'"},"default":"'top'","description":"Position relative to the host element. Auto-flips when constrained by the viewport.","attribute":"tooltip-position","inheritedFrom":{"name":"TooltipMixin","module":"src/util/TooltipMixin.ts"}},{"kind":"field","name":"tooltipDelay","type":{"text":"number"},"default":"300","description":"Show delay in milliseconds (hover trigger only).","attribute":"tooltip-delay","inheritedFrom":{"name":"TooltipMixin","module":"src/util/TooltipMixin.ts"}},{"kind":"field","name":"tooltipOffset","type":{"text":"TooltipOffset | null"},"default":"null","description":"Gap between host and tooltip (sm=4px, md=8px, lg=12px, xl=16px).","attribute":"tooltip-offset","inheritedFrom":{"name":"TooltipMixin","module":"src/util/TooltipMixin.ts"}},{"kind":"field","name":"tooltipNoArrow","type":{"text":"boolean"},"default":"false","description":"Hide the arrow pseudo-element.","attribute":"tooltip-no-arrow","inheritedFrom":{"name":"TooltipMixin","module":"src/util/TooltipMixin.ts"}},{"kind":"field","name":"tooltipTrigger","type":{"text":"string"},"default":"'hover focus'","description":"Space-separated trigger types: 'hover', 'focus', 'click'.","attribute":"tooltip-trigger","inheritedFrom":{"name":"TooltipMixin","module":"src/util/TooltipMixin.ts"}},{"kind":"field","name":"_onMouseLeave","privacy":"private","inheritedFrom":{"name":"TooltipMixin","module":"src/util/TooltipMixin.ts"}},{"kind":"field","name":"_onFocusIn","privacy":"private","inheritedFrom":{"name":"TooltipMixin","module":"src/util/TooltipMixin.ts"}},{"kind":"field","name":"_onFocusOut","privacy":"private","inheritedFrom":{"name":"TooltipMixin","module":"src/util/TooltipMixin.ts"}},{"kind":"field","name":"_onClick","privacy":"private","inheritedFrom":{"name":"TooltipMixin","module":"src/util/TooltipMixin.ts"}},{"kind":"field","name":"_onNativeToggle","privacy":"private","inheritedFrom":{"name":"TooltipMixin","module":"src/util/TooltipMixin.ts"}},{"kind":"field","name":"_onKeyDown","privacy":"private","inheritedFrom":{"name":"TooltipMixin","module":"src/util/TooltipMixin.ts"}},{"kind":"field","name":"_onDocumentClick","type":{"text":"((e: MouseEvent) => void) | null"},"privacy":"private","default":"null","inheritedFrom":{"name":"TooltipMixin","module":"src/util/TooltipMixin.ts"}},{"kind":"method","name":"emit","parameters":[{"name":"type","type":{"text":"K"},"description":"Event name from CustomEventMap"},{"name":"detail","optional":true,"type":{"text":"UnpackCustomEvent<CustomEventMap[K]>"},"description":"Optional event detail payload"}],"description":"Dispatches a type-safe CustomEvent with standardized configuration.\\n\\nAll events are configured with:\\n- bubbles: true (event propagates up the DOM tree)\\n- cancelable: false (event cannot be cancelled)\\n- composed: true (event crosses shadow DOM boundaries)","return":{"type":{"text":"boolean"}},"inheritedFrom":{"name":"EventEmitterMixin","module":"src/util/EventEmitterMixin.ts"}}],"events":[{"type":{"text":"CustomEvent"},"description":"Fired after first render and initialization","name":"btu-icon-button-ready"},{"type":{"text":"CustomEvent<{name: string | undefined}>"},"description":"Fired when the button is clicked","name":"btu-icon-button-click"}],"attributes":[{"name":"name","type":{"text":"string | undefined"},"description":"Optional name for the button which can be used to identify the button in a callback.","fieldName":"name","attribute":"name"},{"name":"type","type":{"text":"IconButtonType"},"default":"'primary'","description":"Specifies the type of icon-button, controlling the visual style.","fieldName":"type","attribute":"type"},{"name":"symbol","type":{"text":"string | undefined"},"description":"Lucide icon symbol.","fieldName":"symbol","attribute":"symbol"},{"name":"size","type":{"text":"IconButtonSize"},"default":"'md'","description":"Specifies the size of icon-button.","fieldName":"size","attribute":"size"},{"name":"destructive","type":{"text":"boolean"},"default":"false","description":"Specifies an icon-button will be used to take any destructive action overriding the\\ndefault color used for the icon-button type with the error color.","fieldName":"destructive","attribute":"destructive"},{"name":"disabled","type":{"text":"boolean"},"default":"false","description":"Disables the button, preventing interaction and indicating an inactive state.","fieldName":"disabled","attribute":"disabled"},{"name":"tooltip","type":{"text":"string"},"default":"''","description":"Tooltip text content. Set to empty string to remove the tooltip.","fieldName":"tooltip","attribute":"tooltip","inheritedFrom":{"name":"TooltipMixin","module":"src/util/TooltipMixin.ts"}},{"name":"tooltipPosition","type":{"text":"'top' | 'bottom' | 'left' | 'right'"},"default":"'top'","description":"Position relative to the host element. Auto-flips when constrained by the viewport.","fieldName":"tooltipPosition","inheritedFrom":{"name":"TooltipMixin","module":"src/util/TooltipMixin.ts"}},{"name":"tooltipDelay","type":{"text":"number"},"default":"300","description":"Show delay in milliseconds (hover trigger only).","fieldName":"tooltipDelay","inheritedFrom":{"name":"TooltipMixin","module":"src/util/TooltipMixin.ts"}},{"name":"tooltipOffset","type":{"text":"TooltipOffset | null"},"default":"null","description":"Gap between host and tooltip (sm=4px, md=8px, lg=12px, xl=16px).","fieldName":"tooltipOffset","inheritedFrom":{"name":"TooltipMixin","module":"src/util/TooltipMixin.ts"}},{"name":"tooltipNoArrow","type":{"text":"boolean"},"default":"false","description":"Hide the arrow pseudo-element.","fieldName":"tooltipNoArrow","inheritedFrom":{"name":"TooltipMixin","module":"src/util/TooltipMixin.ts"}},{"name":"tooltipTrigger","type":{"text":"string"},"default":"'hover focus'","description":"Space-separated trigger types: 'hover', 'focus', 'click'.","fieldName":"tooltipTrigger","inheritedFrom":{"name":"TooltipMixin","module":"src/util/TooltipMixin.ts"}},{"name":"tooltip-position","type":{"text":"'top' | 'bottom' | 'left' | 'right'"},"default":"'top'","description":"Position relative to the host element. Auto-flips when constrained by the viewport.","attribute":"tooltipPosition","fieldName":"tooltipPosition","inheritedFrom":{"name":"TooltipMixin","module":"src/util/TooltipMixin.ts"}},{"name":"tooltip-delay","type":{"text":"number"},"default":"300","description":"Show delay in milliseconds (hover trigger only).","attribute":"tooltipDelay","fieldName":"tooltipDelay","inheritedFrom":{"name":"TooltipMixin","module":"src/util/TooltipMixin.ts"}},{"name":"tooltip-offset","type":{"text":"TooltipOffset | null"},"default":"null","description":"Gap between host and tooltip (sm=4px, md=8px, lg=12px, xl=16px).","attribute":"tooltipOffset","fieldName":"tooltipOffset","inheritedFrom":{"name":"TooltipMixin","module":"src/util/TooltipMixin.ts"}},{"name":"tooltip-no-arrow","type":{"text":"boolean"},"default":"false","description":"Hide the arrow pseudo-element.","attribute":"tooltipNoArrow","fieldName":"tooltipNoArrow","inheritedFrom":{"name":"TooltipMixin","module":"src/util/TooltipMixin.ts"}},{"name":"tooltip-trigger","type":{"text":"string"},"default":"'hover focus'","description":"Space-separated trigger types: 'hover', 'focus', 'click'.","attribute":"tooltipTrigger","fieldName":"tooltipTrigger","inheritedFrom":{"name":"TooltipMixin","module":"src/util/TooltipMixin.ts"}}],"mixins":[{"name":"TooltipMixin","module":"/src/util/TooltipMixin.js"},{"name":"EventEmitterMixin","module":"/src/util/EventEmitterMixin.js"},{"name":"ReadyMixin","module":"/src/util/ReadyMixin.js"}],"superclass":{"name":"LitElement","package":"lit"},"tagName":"btu-icon-button","customElement":true}],"exports":[{"kind":"js","name":"default","declaration":{"name":"IconButton","module":"src/components/icon-button/IconButton.ts"}},{"kind":"custom-element-definition","name":"btu-icon-button","declaration":{"name":"IconButton","module":"src/components/icon-button/IconButton.ts"}}]},{"kind":"javascript-module","path":"src/components/linear-progress/LinearProgress.ts","declarations":[{"kind":"class","description":"A horizontal linear progress bar for showing task completion.","name":"LinearProgress","cssProperties":[{"description":"Custom progress bar color (overrides theme color)","name":"--progress-color"},{"description":"Track/background color (overrides default gray-100)","name":"--track-color"}],"members":[{"kind":"field","name":"color","type":{"text":"ProgressColors"},"default":"'primary'","description":"Color theme of the progress indicator.\\nSupports: black, white, primary, teal, gray, purple, rose, error, warning, success","attribute":"color","inheritedFrom":{"name":"ProgressMixin","module":"src/util/ProgressMixin.ts"}},{"kind":"field","name":"thickness","type":{"text":"number | undefined"},"description":"Stroke width of the progress indicator.","attribute":"thickness","inheritedFrom":{"name":"ProgressMixin","module":"src/util/ProgressMixin.ts"}},{"kind":"field","name":"_progress","type":{"text":"number"},"privacy":"private","default":"0","inheritedFrom":{"name":"ProgressMixin","module":"src/util/ProgressMixin.ts"}},{"kind":"field","name":"progress","description":"Progress value for determinate variant. Clamped to 0–100.","attribute":"progress","inheritedFrom":{"name":"ProgressMixin","module":"src/util/ProgressMixin.ts"}},{"kind":"field","name":"label","type":{"text":"string | undefined"},"description":"Optional label text to display with the progress indicator.","attribute":"label","inheritedFrom":{"name":"ProgressMixin","module":"src/util/ProgressMixin.ts"}},{"kind":"field","name":"initialAnimation","type":{"text":"boolean"},"default":"true","description":"Whether to animate progress from 0 to target value when component first becomes visible.","attribute":"initial-animation","inheritedFrom":{"name":"ProgressMixin","module":"src/util/ProgressMixin.ts"}},{"kind":"field","name":"ariaLabel","type":{"text":"string | null"},"default":"null","description":"Optional aria-label attribute for screen readers.\\nDescribes what the progress indicator represents.","attribute":"aria-label","inheritedFrom":{"name":"ProgressMixin","module":"src/util/ProgressMixin.ts"}},{"kind":"field","name":"ariaLabelledBy","type":{"text":"string | null"},"default":"null","description":"Optional aria-labelledby attribute for screen readers.\\nReferences the ID of an element that labels the progress indicator.","attribute":"aria-labelledby","inheritedFrom":{"name":"ProgressMixin","module":"src/util/ProgressMixin.ts"}},{"kind":"field","name":"ariaValueText","type":{"text":"string | null"},"default":"null","description":"Optional aria-valuetext attribute for screen readers.\\nProvides human-readable text alternative for progress value.","attribute":"aria-valuetext","inheritedFrom":{"name":"ProgressMixin","module":"src/util/ProgressMixin.ts"}},{"kind":"field","name":"completionAnnouncement","type":{"text":"string | undefined"},"description":"Optional message to announce to screen readers when progress reaches 100%.\\nIf not provided, no announcement will be made on completion.","attribute":"completion-announcement","inheritedFrom":{"name":"ProgressMixin","module":"src/util/ProgressMixin.ts"}},{"kind":"field","name":"_isAnimationInitialized","type":{"text":"boolean"},"privacy":"private","default":"false","inheritedFrom":{"name":"ProgressMixin","module":"src/util/ProgressMixin.ts"}},{"kind":"field","name":"_intersectionObserver","type":{"text":"IntersectionObserver | undefined"},"privacy":"private","inheritedFrom":{"name":"ProgressMixin","module":"src/util/ProgressMixin.ts"}},{"kind":"field","name":"_hasCompletedAt100","type":{"text":"boolean"},"privacy":"private","default":"false","inheritedFrom":{"name":"ProgressMixin","module":"src/util/ProgressMixin.ts"}},{"kind":"field","name":"_hostTag","type":{"text":"'btu-linear-progress' | 'btu-circular-progress'"},"privacy":"private","readonly":true,"inheritedFrom":{"name":"ProgressMixin","module":"src/util/ProgressMixin.ts"}},{"kind":"method","name":"emit","parameters":[{"name":"type","type":{"text":"K"},"description":"Event name from CustomEventMap"},{"name":"detail","optional":true,"type":{"text":"UnpackCustomEvent<CustomEventMap[K]>"},"description":"Optional event detail payload"}],"description":"Dispatches a type-safe CustomEvent with standardized configuration.\\n\\nAll events are configured with:\\n- bubbles: true (event propagates up the DOM tree)\\n- cancelable: false (event cannot be cancelled)\\n- composed: true (event crosses shadow DOM boundaries)","return":{"type":{"text":"boolean"}},"inheritedFrom":{"name":"EventEmitterMixin","module":"src/util/EventEmitterMixin.ts"}}],"events":[{"type":{"text":"CustomEvent"},"description":"Fired after first render and initialization","name":"btu-linear-progress-ready"},{"type":{"text":"CustomEvent"},"description":"Fired when progress reaches 100","name":"btu-linear-progress-complete"}],"mixins":[{"name":"ProgressMixin","module":"/src/util/ProgressMixin.js"},{"name":"EventEmitterMixin","module":"/src/util/EventEmitterMixin.js"},{"name":"ReadyMixin","module":"/src/util/ReadyMixin.js"}],"superclass":{"name":"LitElement","package":"lit"},"tagName":"btu-linear-progress","customElement":true,"attributes":[{"name":"color","type":{"text":"ProgressColors"},"default":"'primary'","description":"Color theme of the progress indicator.\\nSupports: black, white, primary, teal, gray, purple, rose, error, warning, success","fieldName":"color","attribute":"color","inheritedFrom":{"name":"ProgressMixin","module":"src/util/ProgressMixin.ts"}},{"name":"thickness","type":{"text":"number | undefined"},"description":"Stroke width of the progress indicator.","fieldName":"thickness","attribute":"thickness","inheritedFrom":{"name":"ProgressMixin","module":"src/util/ProgressMixin.ts"}},{"name":"progress","description":"Progress value for determinate variant. Clamped to 0–100.","fieldName":"progress","attribute":"progress","inheritedFrom":{"name":"ProgressMixin","module":"src/util/ProgressMixin.ts"}},{"name":"label","type":{"text":"string | undefined"},"description":"Optional label text to display with the progress indicator.","fieldName":"label","attribute":"label","inheritedFrom":{"name":"ProgressMixin","module":"src/util/ProgressMixin.ts"}},{"name":"initial-animation","type":{"text":"boolean"},"default":"true","description":"Whether to animate progress from 0 to target value when component first becomes visible.","fieldName":"initialAnimation","attribute":"initial-animation","inheritedFrom":{"name":"ProgressMixin","module":"src/util/ProgressMixin.ts"}},{"name":"aria-label","type":{"text":"string | null"},"default":"null","description":"Optional aria-label attribute for screen readers.\\nDescribes what the progress indicator represents.","fieldName":"ariaLabel","attribute":"aria-label","inheritedFrom":{"name":"ProgressMixin","module":"src/util/ProgressMixin.ts"}},{"name":"aria-labelledby","type":{"text":"string | null"},"default":"null","description":"Optional aria-labelledby attribute for screen readers.\\nReferences the ID of an element that labels the progress indicator.","fieldName":"ariaLabelledBy","attribute":"aria-labelledby","inheritedFrom":{"name":"ProgressMixin","module":"src/util/ProgressMixin.ts"}},{"name":"aria-valuetext","type":{"text":"string | null"},"default":"null","description":"Optional aria-valuetext attribute for screen readers.\\nProvides human-readable text alternative for progress value.","fieldName":"ariaValueText","attribute":"aria-valuetext","inheritedFrom":{"name":"ProgressMixin","module":"src/util/ProgressMixin.ts"}},{"name":"completion-announcement","type":{"text":"string | undefined"},"description":"Optional message to announce to screen readers when progress reaches 100%.\\nIf not provided, no announcement will be made on completion.","fieldName":"completionAnnouncement","attribute":"completion-announcement","inheritedFrom":{"name":"ProgressMixin","module":"src/util/ProgressMixin.ts"}}]}],"exports":[{"kind":"js","name":"default","declaration":{"name":"LinearProgress","module":"src/components/linear-progress/LinearProgress.ts"}},{"kind":"custom-element-definition","name":"btu-linear-progress","declaration":{"name":"LinearProgress","module":"src/components/linear-progress/LinearProgress.ts"}}]},{"kind":"javascript-module","path":"src/components/pagination/Pagination.ts","declarations":[{"kind":"class","description":"A pagination component for navigating through paged content.\\n\\nSupports multiple layout variants (Search, Widget, Widget Small, Calendar)\\nthrough configurable props and pseudo-slots.\\n\\n**Page size modes:**\\n\\n- **Built-in** (default): When no \`slot=\\"page-size\\"\` is provided and \`page-size-changer\`\\n is true, Pagination renders its own \`btu-dropdown\` from the \`page-size-options\` attribute.\\n Events, label sync, and page size changes are managed automatically.\\n\\n- **Custom slot**: When a child has \`slot=\\"page-size\\"\`, the built-in dropdown is suppressed.\\n The consumer owns all behavior — event handling, label sync, etc. Use this for non-standard\\n selectors like a calendar week/month toggle.\\n\\n**Page jumper modes:**\\n\\n- **Built-in**: When \`page-jumper\` is true and no \`slot=\\"jumper\\"\` is provided, Pagination\\n renders a dropdown with \\"Page 1\\" through \\"Page N\\" items. Fully reactive — updates\\n automatically when page, page size, or total items change.\\n\\n- **Custom slot**: When a child has \`slot=\\"jumper\\"\`, the built-in dropdown is suppressed.\\n The consumer owns all behavior. Use this for custom jumper content like a \\"Today\\" button.","name":"Pagination","cssProperties":[{"description":"Background color for dropdowns, buttons, and jumper","name":"--pagination-color-background"},{"description":"Text/icon color","name":"--pagination-color-foreground"}],"slots":[{"description":"Custom page-size selector (replaces built-in dropdown). Consumer manages all behavior.","name":"page-size"},{"description":"Custom jumper content (replaces built-in page jumper dropdown). Consumer manages all behavior.","name":"jumper"}],"members":[{"kind":"field","name":"page","type":{"text":"number"},"default":"1","description":"Current page number (1-based)","attribute":"page"},{"kind":"field","name":"pageSize","type":{"text":"number"},"default":"0","description":"Number of items per page","attribute":"page-size"},{"kind":"field","name":"disabled","type":{"text":"boolean"},"default":"false","description":"Disables all pagination controls","attribute":"disabled"},{"kind":"field","name":"loading","type":{"text":"boolean"},"default":"false","description":"Shows loading spinner and dims controls","attribute":"loading"},{"kind":"field","name":"hideOnSinglePage","type":{"text":"boolean"},"default":"true","description":"Hide controls when there is only one page","attribute":"hide-on-single-page"},{"kind":"field","name":"pageSizeChanger","type":{"text":"boolean"},"default":"true","description":"Show the page size dropdown","attribute":"page-size-changer"},{"kind":"field","name":"pageSizeOptions","type":{"text":"string"},"default":"'10, 20, 50'","description":"Comma-separated page size options","attribute":"page-size-options"},{"kind":"field","name":"totalItems","type":{"text":"number"},"default":"0","description":"Total number of items across all pages","attribute":"total-items"},{"kind":"field","name":"boundaryButtons","type":{"text":"boolean"},"default":"true","description":"Show first and last page buttons","attribute":"boundary-buttons"},{"kind":"field","name":"hideTotalCount","type":{"text":"boolean"},"default":"false","description":"Hide the item count display (e.g., \\"1-10 of 200\\")","attribute":"hide-total-count"},{"kind":"field","name":"pageJumper","type":{"text":"boolean"},"default":"false","description":"Show the page jumper dropdown. Intended for moderate page counts (under ~100 pages).\\nFor large datasets, use a custom \`slot=\\"jumper\\"\` with a virtualized or input-based control.","attribute":"page-jumper"},{"kind":"field","name":"label","type":{"text":"string | undefined"},"description":"Accessible label for the pagination nav landmark","attribute":"label"},{"kind":"field","name":"_parsedPageSizeOptions","type":{"text":"number[]"},"privacy":"private","readonly":true},{"kind":"field","name":"_totalPages","type":{"text":"number"},"privacy":"private","readonly":true},{"kind":"field","name":"_startItem","type":{"text":"number"},"privacy":"private","readonly":true},{"kind":"field","name":"_endItem","type":{"text":"number"},"privacy":"private","readonly":true},{"kind":"method","name":"_setupSlots","privacy":"private","return":{"type":{"text":"void"}}},{"kind":"method","name":"_goToFirstPage","privacy":"private","return":{"type":{"text":"void"}},"parameters":[{"name":"e","type":{"text":"Event"}}]},{"kind":"method","name":"_goToPreviousPage","privacy":"private","return":{"type":{"text":"void"}},"parameters":[{"name":"e","type":{"text":"Event"}}]},{"kind":"method","name":"_goToNextPage","privacy":"private","return":{"type":{"text":"void"}},"parameters":[{"name":"e","type":{"text":"Event"}}]},{"kind":"method","name":"_goToLastPage","privacy":"private","return":{"type":{"text":"void"}},"parameters":[{"name":"e","type":{"text":"Event"}}]},{"kind":"method","name":"_manageBoundaryFocus","privacy":"private","return":{"type":{"text":"void"}},"parameters":[{"name":"clickedButton","type":{"text":"IconButton"}}]},{"kind":"method","name":"_onBuiltinPageSizeSelect","privacy":"private","return":{"type":{"text":"void"}},"parameters":[{"name":"e","type":{"text":"Event"}}]},{"kind":"method","name":"_onBuiltinJumperSelect","privacy":"private","return":{"type":{"text":"void"}},"parameters":[{"name":"e","type":{"text":"Event"}}]},{"kind":"method","name":"emit","parameters":[{"name":"type","type":{"text":"K"},"description":"Event name from CustomEventMap"},{"name":"detail","optional":true,"type":{"text":"UnpackCustomEvent<CustomEventMap[K]>"},"description":"Optional event detail payload"}],"description":"Dispatches a type-safe CustomEvent with standardized configuration.\\n\\nAll events are configured with:\\n- bubbles: true (event propagates up the DOM tree)\\n- cancelable: false (event cannot be cancelled)\\n- composed: true (event crosses shadow DOM boundaries)","return":{"type":{"text":"boolean"}},"inheritedFrom":{"name":"EventEmitterMixin","module":"src/util/EventEmitterMixin.ts"}}],"events":[{"type":{"text":"CustomEvent"},"description":"Fired after first render","name":"btu-pagination-ready"},{"type":{"text":"CustomEvent<{page: number, pageSize: number}>"},"description":"Fired on page navigation","name":"btu-pagination-change"},{"type":{"text":"CustomEvent<{page: number, pageSize: number}>"},"description":"Fired on page size change","name":"btu-pagination-page-size-change"}],"attributes":[{"name":"page","type":{"text":"number"},"default":"1","description":"Current page number (1-based)","fieldName":"page","attribute":"page"},{"name":"page-size","type":{"text":"number"},"default":"0","description":"Number of items per page","fieldName":"pageSize","attribute":"page-size"},{"name":"disabled","type":{"text":"boolean"},"default":"false","description":"Disables all pagination controls","fieldName":"disabled","attribute":"disabled"},{"name":"loading","type":{"text":"boolean"},"default":"false","description":"Shows loading spinner and dims controls","fieldName":"loading","attribute":"loading"},{"name":"hide-on-single-page","type":{"text":"boolean"},"default":"true","description":"Hide controls when there is only one page","fieldName":"hideOnSinglePage","attribute":"hide-on-single-page"},{"name":"page-size-changer","type":{"text":"boolean"},"default":"true","description":"Show the page size dropdown","fieldName":"pageSizeChanger","attribute":"page-size-changer"},{"name":"page-size-options","type":{"text":"string"},"default":"'10, 20, 50'","description":"Comma-separated page size options","fieldName":"pageSizeOptions","attribute":"page-size-options"},{"name":"total-items","type":{"text":"number"},"default":"0","description":"Total number of items across all pages","fieldName":"totalItems","attribute":"total-items"},{"name":"boundary-buttons","type":{"text":"boolean"},"default":"true","description":"Show first and last page buttons","fieldName":"boundaryButtons","attribute":"boundary-buttons"},{"name":"hide-total-count","type":{"text":"boolean"},"default":"false","description":"Hide the item count display (e.g., \\"1-10 of 200\\")","fieldName":"hideTotalCount","attribute":"hide-total-count"},{"name":"page-jumper","type":{"text":"boolean"},"default":"false","description":"Show the page jumper dropdown. Intended for moderate page counts (under ~100 pages).\\nFor large datasets, use a custom \`slot=\\"jumper\\"\` with a virtualized or input-based control.","fieldName":"pageJumper","attribute":"page-jumper"},{"name":"label","type":{"text":"string | undefined"},"description":"Accessible label for the pagination nav landmark","fieldName":"label","attribute":"label"}],"mixins":[{"name":"EventEmitterMixin","module":"/src/util/EventEmitterMixin.js"},{"name":"ReadyMixin","module":"/src/util/ReadyMixin.js"}],"superclass":{"name":"LitElement","package":"lit"},"tagName":"btu-pagination","customElement":true}],"exports":[{"kind":"js","name":"default","declaration":{"name":"Pagination","module":"src/components/pagination/Pagination.ts"}},{"kind":"custom-element-definition","name":"btu-pagination","declaration":{"name":"Pagination","module":"src/components/pagination/Pagination.ts"}}]},{"kind":"javascript-module","path":"src/components/popover/Popover.ts","declarations":[{"kind":"class","description":"A popover component for displaying rich interactive content anchored to a trigger element.\\n\\nUses the native HTML Popover API for top-layer rendering, light dismiss (click-outside\\nand Escape for click triggers), and focus management. CSS anchor positioning handles\\nviewport-aware placement.\\n\\nFor click triggers (\`popover=\\"auto\\"\`), the browser provides:\\n- Light dismiss (Escape key and click-outside)\\n- Top-layer rendering (no z-index needed)\\n- Focus restoration on close\\n- \`autofocus\` support — add \`autofocus\` to an element inside \`slot=\\"content\\"\`\\n to have it receive focus when the popover opens","name":"Popover","cssProperties":[{"description":"Panel background color (default: var(--btu-theme-white))","name":"--popover-color-background"},{"description":"Panel text color (default: oklch(var(--btu-theme-gray-900)))","name":"--popover-color-content"},{"description":"Panel corner radius (default: theme borderRadius.lg)","name":"--popover-border-radius"},{"description":"Gap between trigger and panel (default: 8px; see btu-popover-offset-{sm|md|lg|xl})","name":"--popover-offset"},{"description":"Width/height of the pointer arrow (default: 8px)","name":"--popover-arrow-size"}],"slots":[{"description":"The element that activates the popover","name":"trigger"},{"description":"Rich HTML content displayed inside the popover panel","name":"content"}],"members":[{"kind":"field","name":"position","type":{"text":"'top' | 'bottom' | 'left' | 'right'"},"default":"'bottom'","description":"Position relative to the trigger element.\\nAuto-flips when constrained by the viewport.","attribute":"position"},{"kind":"field","name":"trigger","type":{"text":"'click' | 'hover' | 'focus'"},"default":"'click'","description":"How the popover is activated.\\n- 'click': Toggle on click with light dismiss\\n- 'hover': Show on mouseenter with delay\\n- 'focus': Show on focusin","attribute":"trigger"},{"kind":"field","name":"delay","type":{"text":"number"},"default":"300","description":"Show delay in milliseconds (hover trigger only).","attribute":"delay"},{"kind":"field","name":"offset","type":{"text":"PopoverOffset | null"},"default":"null","description":"Gap between trigger and popover (sm=4px, md=8px, lg=12px, xl=16px).","attribute":"offset"},{"kind":"field","name":"noArrow","type":{"text":"boolean"},"default":"false","description":"Hide the arrow pseudo-element.","attribute":"no-arrow"},{"kind":"field","name":"open","type":{"text":"boolean"},"default":"false","description":"Programmatic open/close state (reflected).","attribute":"open","reflects":true},{"kind":"field","name":"panelLabel","type":{"text":"string"},"default":"''","description":"Accessible label for the popover panel (applied as aria-label on the dialog).","attribute":"panel-label"},{"kind":"field","name":"_onTriggerMouseLeave","privacy":"private"},{"kind":"field","name":"_onTriggerFocusIn","privacy":"private"},{"kind":"field","name":"_onTriggerFocusOut","privacy":"private"},{"kind":"field","name":"_onPanelMouseEnter","privacy":"private"},{"kind":"field","name":"_onPanelMouseLeave","privacy":"private"},{"kind":"field","name":"_onNativeToggle","privacy":"private"},{"kind":"field","name":"_onKeyDown","privacy":"private"},{"kind":"method","name":"emit","parameters":[{"name":"type","type":{"text":"K"},"description":"Event name from CustomEventMap"},{"name":"detail","optional":true,"type":{"text":"UnpackCustomEvent<CustomEventMap[K]>"},"description":"Optional event detail payload"}],"description":"Dispatches a type-safe CustomEvent with standardized configuration.\\n\\nAll events are configured with:\\n- bubbles: true (event propagates up the DOM tree)\\n- cancelable: false (event cannot be cancelled)\\n- composed: true (event crosses shadow DOM boundaries)","return":{"type":{"text":"boolean"}},"inheritedFrom":{"name":"EventEmitterMixin","module":"src/util/EventEmitterMixin.ts"}}],"events":[{"type":{"text":"CustomEvent"},"description":"Fired when the popover opens","name":"btu-popover-show"},{"type":{"text":"CustomEvent"},"description":"Fired when the popover closes","name":"btu-popover-hide"}],"attributes":[{"name":"position","type":{"text":"'top' | 'bottom' | 'left' | 'right'"},"default":"'bottom'","description":"Position relative to the trigger element.\\nAuto-flips when constrained by the viewport.","fieldName":"position","attribute":"position"},{"name":"trigger","type":{"text":"'click' | 'hover' | 'focus'"},"default":"'click'","description":"How the popover is activated.\\n- 'click': Toggle on click with light dismiss\\n- 'hover': Show on mouseenter with delay\\n- 'focus': Show on focusin","fieldName":"trigger","attribute":"trigger"},{"name":"delay","type":{"text":"number"},"default":"300","description":"Show delay in milliseconds (hover trigger only).","fieldName":"delay","attribute":"delay"},{"name":"offset","type":{"text":"PopoverOffset | null"},"default":"null","description":"Gap between trigger and popover (sm=4px, md=8px, lg=12px, xl=16px).","fieldName":"offset","attribute":"offset"},{"name":"noArrow","type":{"text":"boolean"},"default":"false","description":"Hide the arrow pseudo-element.","fieldName":"noArrow"},{"name":"open","type":{"text":"boolean"},"default":"false","description":"Programmatic open/close state (reflected).","fieldName":"open","attribute":"open"},{"name":"panel-label","type":{"text":"string"},"default":"''","description":"Accessible label for the popover panel (applied as aria-label on the dialog).","fieldName":"panelLabel","attribute":"panel-label"},{"name":"no-arrow","type":{"text":"boolean"},"default":"false","description":"Hide the arrow pseudo-element.","attribute":"noArrow","fieldName":"noArrow"}],"mixins":[{"name":"EventEmitterMixin","module":"/src/util/EventEmitterMixin.js"},{"name":"ReadyMixin","module":"/src/util/ReadyMixin.js"}],"superclass":{"name":"LitElement","package":"lit"},"tagName":"btu-popover","customElement":true}],"exports":[{"kind":"js","name":"default","declaration":{"name":"Popover","module":"src/components/popover/Popover.ts"}},{"kind":"custom-element-definition","name":"btu-popover","declaration":{"name":"Popover","module":"src/components/popover/Popover.ts"}}]},{"kind":"javascript-module","path":"src/components/switch/Switch.ts","declarations":[{"kind":"class","description":"A toggle switch component for binary on/off states.\\n\\nUses a hidden checkbox internally for accessibility, styled via the\\n\`btu-switch\` Tailwind plugin classes.","name":"Switch","cssProperties":[{"description":"Background color when the toggle is checked (default: var(--btu-theme-primary-700))","name":"--switch-color-track-on"},{"description":"Background color when the toggle is unchecked (default: var(--btu-theme-gray-300))","name":"--switch-color-track-off"},{"description":"Color of the sliding circular handle (default: var(--btu-theme-white))","name":"--switch-color-knob"},{"description":"Distance between the switch and the text label (default: 0.75rem)","name":"--switch-label-spacing"},{"description":"Track width (default: sm 1.75rem, md 2.25rem, lg 2.75rem)","name":"--switch-track-width"},{"description":"Track height (default: sm 1rem, md 1.25rem, lg 1.5rem)","name":"--switch-track-height"},{"description":"Knob diameter (default: sm 0.75rem, md 1rem, lg 1.25rem)","name":"--switch-knob-size"},{"description":"Space between knob and track edges (default: 0.125rem)","name":"--switch-knob-padding"},{"description":"Size of the track icons (default: sm 0.5rem, md 0.625rem, lg 0.75rem)","name":"--switch-track-icon-size"}],"members":[{"kind":"field","name":"size","type":{"text":"'sm' | 'md' | 'lg'"},"default":"'sm'","description":"Controls the physical dimensions of the switch and the associated label typography.","attribute":"size"},{"kind":"field","name":"label","type":{"text":"string | undefined"},"description":"The primary text displayed next to the toggle.","attribute":"label"},{"kind":"field","name":"description","type":{"text":"string | undefined"},"description":"Optional helper text or secondary information displayed below the label.","attribute":"description"},{"kind":"field","name":"checked","type":{"text":"boolean"},"default":"false","description":"The current state of the switch (on/off).","attribute":"checked"},{"kind":"field","name":"disabled","type":{"text":"boolean"},"default":"false","description":"If true, the toggle is non-interactive and visually muted.","attribute":"disabled"},{"kind":"field","name":"name","type":{"text":"string | undefined"},"description":"Name of the control for form participation.","attribute":"name"},{"kind":"field","name":"labelPosition","type":{"text":"'start' | 'end'"},"default":"'end'","description":"Determines if the label appears to the left or right of the switch.","attribute":"label-position"},{"kind":"field","name":"onIcon","type":{"text":"string | undefined"},"description":"Lucide icon name shown on the track when the switch is checked (on).","attribute":"on-icon"},{"kind":"field","name":"offIcon","type":{"text":"string | undefined"},"description":"Lucide icon name shown on the track when the switch is unchecked (off).","attribute":"off-icon"},{"kind":"method","name":"_onInputChange","privacy":"private","return":{"type":{"text":"void"}},"parameters":[{"name":"e","type":{"text":"Event"}}]},{"kind":"method","name":"_onFocus","privacy":"private","return":{"type":{"text":"void"}}},{"kind":"method","name":"_toggleInput","privacy":"private","return":{"type":{"text":"void"}}},{"kind":"method","name":"emit","parameters":[{"name":"type","type":{"text":"K"},"description":"Event name from CustomEventMap"},{"name":"detail","optional":true,"type":{"text":"UnpackCustomEvent<CustomEventMap[K]>"},"description":"Optional event detail payload"}],"description":"Dispatches a type-safe CustomEvent with standardized configuration.\\n\\nAll events are configured with:\\n- bubbles: true (event propagates up the DOM tree)\\n- cancelable: false (event cannot be cancelled)\\n- composed: true (event crosses shadow DOM boundaries)","return":{"type":{"text":"boolean"}},"inheritedFrom":{"name":"EventEmitterMixin","module":"src/util/EventEmitterMixin.ts"}}],"events":[{"type":{"text":"CustomEvent"},"description":"Fired after the toggle is first rendered and initialized","name":"btu-switch-ready"},{"type":{"text":"CustomEvent<{ checked: boolean }>"},"description":"Fired when the user toggles the switch","name":"btu-switch-change"},{"type":{"text":"CustomEvent"},"description":"Fired when the component gains focus","name":"btu-switch-focus"}],"attributes":[{"name":"size","type":{"text":"'sm' | 'md' | 'lg'"},"default":"'sm'","description":"Controls the physical dimensions of the switch and the associated label typography.","fieldName":"size","attribute":"size"},{"name":"label","type":{"text":"string | undefined"},"description":"The primary text displayed next to the toggle.","fieldName":"label","attribute":"label"},{"name":"description","type":{"text":"string | undefined"},"description":"Optional helper text or secondary information displayed below the label.","fieldName":"description","attribute":"description"},{"name":"checked","type":{"text":"boolean"},"default":"false","description":"The current state of the switch (on/off).","fieldName":"checked","attribute":"checked"},{"name":"disabled","type":{"text":"boolean"},"default":"false","description":"If true, the toggle is non-interactive and visually muted.","fieldName":"disabled","attribute":"disabled"},{"name":"name","type":{"text":"string | undefined"},"description":"Name of the control for form participation.","fieldName":"name","attribute":"name"},{"name":"label-position","type":{"text":"'start' | 'end'"},"default":"'end'","description":"Determines if the label appears to the left or right of the switch.","fieldName":"labelPosition","attribute":"label-position"},{"name":"on-icon","type":{"text":"string | undefined"},"description":"Lucide icon name shown on the track when the switch is checked (on).","fieldName":"onIcon","attribute":"on-icon"},{"name":"off-icon","type":{"text":"string | undefined"},"description":"Lucide icon name shown on the track when the switch is unchecked (off).","fieldName":"offIcon","attribute":"off-icon"}],"mixins":[{"name":"EventEmitterMixin","module":"/src/util/EventEmitterMixin.js"},{"name":"ReadyMixin","module":"/src/util/ReadyMixin.js"}],"superclass":{"name":"LitElement","package":"lit"},"tagName":"btu-switch","customElement":true}],"exports":[{"kind":"js","name":"default","declaration":{"name":"Switch","module":"src/components/switch/Switch.ts"}},{"kind":"custom-element-definition","name":"btu-switch","declaration":{"name":"Switch","module":"src/components/switch/Switch.ts"}}]},{"kind":"javascript-module","path":"src/components/tabs/Tab.ts","declarations":[{"kind":"class","description":"An individual tab within a tab group.\\n\\nRenders a button with role=\\"tab\\" that participates in keyboard navigation\\nand selection state managed by the parent \`btu-tabs\` container.","name":"Tab","cssProperties":[{"description":"Background color of the count indicator badge (default: gray-50)","name":"--badge-color-background"},{"description":"Text color of the count indicator badge (default: gray-700)","name":"--badge-color-foreground"}],"members":[{"kind":"field","name":"tagName","static":true,"readonly":true},{"kind":"field","name":"name","type":{"text":"string | undefined"},"description":"Value that identifies this tab and links it to panel elements that share the same \`name\` attribute.","attribute":"name","reflects":true},{"kind":"field","name":"label","type":{"text":"string | undefined"},"description":"Text displayed in the tab.","attribute":"label"},{"kind":"field","name":"description","type":{"text":"string | undefined"},"description":"Accessibility description for screen readers.","attribute":"description"},{"kind":"field","name":"disabled","type":{"text":"boolean"},"default":"false","description":"Whether the tab is disabled and non-interactive.","attribute":"disabled","reflects":true},{"kind":"field","name":"symbol","type":{"text":"string | undefined"},"description":"Lucide icon symbol to display.","attribute":"symbol"},{"kind":"field","name":"iconPosition","type":{"text":"'leading' | 'trailing'"},"default":"'leading'","description":"Placement of the icon relative to the label.","attribute":"icon-position"},{"kind":"field","name":"iconOnly","type":{"text":"boolean"},"default":"false","description":"When true, hides the label visually while maintaining accessibility.","attribute":"icon-only"},{"kind":"field","name":"error","type":{"text":"boolean"},"default":"false","description":"When true, displays an error badge on the tab.","attribute":"error"},{"kind":"field","name":"badge","type":{"text":"string | undefined"},"description":"Displays a badge with the given value alongside the label.","attribute":"badge"},{"kind":"method","name":"emit","parameters":[{"name":"type","type":{"text":"K"},"description":"Event name from CustomEventMap"},{"name":"detail","optional":true,"type":{"text":"UnpackCustomEvent<CustomEventMap[K]>"},"description":"Optional event detail payload"}],"description":"Dispatches a type-safe CustomEvent with standardized configuration.\\n\\nAll events are configured with:\\n- bubbles: true (event propagates up the DOM tree)\\n- cancelable: false (event cannot be cancelled)\\n- composed: true (event crosses shadow DOM boundaries)","return":{"type":{"text":"boolean"}},"inheritedFrom":{"name":"EventEmitterMixin","module":"src/util/EventEmitterMixin.ts"}}],"events":[{"type":{"text":"CustomEvent"},"description":"Fired after first render","name":"btu-tab-ready"},{"type":{"text":"CustomEvent<{name: string}>"},"description":"Fired when a non-disabled tab with a name is clicked","name":"btu-tab-change"}],"attributes":[{"name":"name","type":{"text":"string | undefined"},"description":"Value that identifies this tab and links it to panel elements that share the same \`name\` attribute.","fieldName":"name","attribute":"name"},{"name":"label","type":{"text":"string | undefined"},"description":"Text displayed in the tab.","fieldName":"label","attribute":"label"},{"name":"description","type":{"text":"string | undefined"},"description":"Accessibility description for screen readers.","fieldName":"description","attribute":"description"},{"name":"disabled","type":{"text":"boolean"},"default":"false","description":"Whether the tab is disabled and non-interactive.","fieldName":"disabled","attribute":"disabled"},{"name":"symbol","type":{"text":"string | undefined"},"description":"Lucide icon symbol to display.","fieldName":"symbol","attribute":"symbol"},{"name":"icon-position","type":{"text":"'leading' | 'trailing'"},"default":"'leading'","description":"Placement of the icon relative to the label.","fieldName":"iconPosition","attribute":"icon-position"},{"name":"icon-only","type":{"text":"boolean"},"default":"false","description":"When true, hides the label visually while maintaining accessibility.","fieldName":"iconOnly","attribute":"icon-only"},{"name":"error","type":{"text":"boolean"},"default":"false","description":"When true, displays an error badge on the tab.","fieldName":"error","attribute":"error"},{"name":"badge","type":{"text":"string | undefined"},"description":"Displays a badge with the given value alongside the label.","fieldName":"badge","attribute":"badge"}],"mixins":[{"name":"EventEmitterMixin","module":"/src/util/EventEmitterMixin.js"},{"name":"ReadyMixin","module":"/src/util/ReadyMixin.js"}],"superclass":{"name":"LitElement","package":"lit"},"tagName":"btu-tab","customElement":true}],"exports":[{"kind":"js","name":"default","declaration":{"name":"Tab","module":"src/components/tabs/Tab.ts"}},{"kind":"custom-element-definition","name":"btu-tab","declaration":{"name":"Tab","module":"src/components/tabs/Tab.ts"}}]},{"kind":"javascript-module","path":"src/components/tabs/Tabs.ts","declarations":[{"kind":"class","description":"A container component for managing a group of tabs.\\n\\nProvides selection state management, size propagation to child tabs,\\nand keyboard navigation following the WAI-ARIA Tabs pattern.\\n\\nWhen a tab becomes active, direct sibling elements that share the same\\n\`name\` value are shown; other siblings with a \`name\` attribute are\\nhidden. Only direct siblings are managed — nested tab groups control their\\nown panels independently.","name":"Tabs","cssProperties":[{"description":"Text and icon color of the active tab (default: gray-700)","name":"--tabs-active-color"},{"description":"Color of the active tab underline indicator (default: primary-500 → primary-700 → primary-900 gradient)","name":"--tabs-active-indicator-color"},{"description":"Color of the bottom border divider (default: gray-200)","name":"--tabs-border-color"},{"description":"Text and icon color for all tabs (default: gray-500; active/hover tabs use gray-700)","name":"--tabs-color"},{"description":"Background color for all tab buttons (default: transparent)","name":"--tabs-background"},{"description":"Background color of the tabs container (default: theme white)","name":"--tabs-container-background"},{"description":"Background color of a tab on hover (default: gray-100)","name":"--tabs-hover-background"},{"description":"Text and icon color of a tab on hover (default: gray-700)","name":"--tabs-hover-color"},{"description":"Spacing between tabs (default: 1rem)","name":"--tabs-gap"}],"members":[{"kind":"field","name":"tagName","static":true,"readonly":true},{"kind":"field","name":"size","type":{"text":"'xs' | 'sm' | 'md' | 'lg'"},"default":"'md'","description":"Size variant applied to all child tabs.","attribute":"size"},{"kind":"field","name":"activeTab","type":{"text":"string | undefined"},"description":"The \`name\` value of the currently active tab.","attribute":"active-tab"},{"kind":"field","name":"variant","type":{"text":"'full' | 'menu'"},"default":"'full'","description":"Layout variant.\\n- 'full': tabs scroll horizontally when they overflow (default)\\n- 'menu': all tabs are hidden; the active tab label and a chevron dropdown are shown instead","attribute":"variant"},{"kind":"field","name":"menuWrapper","type":{"text":"HTMLElement | null"},"privacy":"private","default":"null"},{"kind":"field","name":"menuDropdown","type":{"text":"Dropdown | null"},"privacy":"private","default":"null"},{"kind":"field","name":"menuLabel","type":{"text":"HTMLSpanElement | null"},"privacy":"private","default":"null"},{"kind":"field","name":"menuIcon","type":{"text":"HTMLElement | null"},"privacy":"private","default":"null"},{"kind":"field","name":"menuErrorBadge","type":{"text":"HTMLElement | null"},"privacy":"private","default":"null"},{"kind":"field","name":"_dropdownSize","type":{"text":"'sm' | 'md' | 'lg'"},"privacy":"private","readonly":true},{"kind":"field","name":"_menuIconSize","type":{"text":"'sm' | 'md'"},"privacy":"private","readonly":true},{"kind":"method","name":"emit","parameters":[{"name":"type","type":{"text":"K"},"description":"Event name from CustomEventMap"},{"name":"detail","optional":true,"type":{"text":"UnpackCustomEvent<CustomEventMap[K]>"},"description":"Optional event detail payload"}],"description":"Dispatches a type-safe CustomEvent with standardized configuration.\\n\\nAll events are configured with:\\n- bubbles: true (event propagates up the DOM tree)\\n- cancelable: false (event cannot be cancelled)\\n- composed: true (event crosses shadow DOM boundaries)","return":{"type":{"text":"boolean"}},"inheritedFrom":{"name":"EventEmitterMixin","module":"src/util/EventEmitterMixin.ts"}}],"events":[{"type":{"text":"CustomEvent"},"description":"Fired after first render and initialization","name":"btu-tabs-ready"},{"type":{"text":"CustomEvent<{name: string}>"},"description":"Fired when a tab becomes active","name":"btu-tabs-show"},{"type":{"text":"CustomEvent<{name: string}>"},"description":"Fired when a tab is deactivated","name":"btu-tabs-hide"},{"type":{"text":"CustomEvent<{name: string}>"},"description":"Fired when a tab is selected (bubbles from btu-tab)","name":"btu-tab-change"},{"type":{"text":"CustomEvent"},"description":"Fired when a child tab finishes initialization (bubbles from btu-tab)","name":"btu-tab-ready"}],"attributes":[{"name":"size","type":{"text":"'xs' | 'sm' | 'md' | 'lg'"},"default":"'md'","description":"Size variant applied to all child tabs.","fieldName":"size","attribute":"size"},{"name":"active-tab","type":{"text":"string | undefined"},"description":"The \`name\` value of the currently active tab.","fieldName":"activeTab","attribute":"active-tab"},{"name":"variant","type":{"text":"'full' | 'menu'"},"default":"'full'","description":"Layout variant.\\n- 'full': tabs scroll horizontally when they overflow (default)\\n- 'menu': all tabs are hidden; the active tab label and a chevron dropdown are shown instead","fieldName":"variant","attribute":"variant"}],"mixins":[{"name":"RovingTabindexMixin","module":"/src/util/RovingTabindexMixin.js"},{"name":"EventEmitterMixin","module":"/src/util/EventEmitterMixin.js"},{"name":"ReadyMixin","module":"/src/util/ReadyMixin.js"}],"superclass":{"name":"LitElement","package":"lit"},"tagName":"btu-tabs","customElement":true}],"exports":[{"kind":"js","name":"default","declaration":{"name":"Tabs","module":"src/components/tabs/Tabs.ts"}},{"kind":"custom-element-definition","name":"btu-tabs","declaration":{"name":"Tabs","module":"src/components/tabs/Tabs.ts"}}]},{"kind":"javascript-module","path":"src/components/upload/Upload.ts","declarations":[{"kind":"class","description":"A file upload component with drop zone and file list.\\n\\nThe component is presentation + file-selection only. It handles file browsing,\\ndrag-and-drop reception, client-side validation, and rendering the file list\\nwith progress bars. It does not perform network requests — the consumer listens\\nfor events, performs their own upload, and drives state back via imperative methods.","name":"Upload","cssProperties":[{"description":"Drop zone background color (default: gray-25)","name":"--upload-dropzone-bg"},{"description":"Drop zone border color (default: gray-300; gray-200 when disabled, gray-400 in high-contrast)","name":"--upload-dropzone-border-color"},{"description":"Drop zone border radius (default: borderRadius.lg)","name":"--upload-dropzone-border-radius"},{"description":"Drop zone hover background (hover default: gray-50; drag-over default: primary-25)","name":"--upload-dropzone-hover-bg"},{"description":"Drop zone hover/focus border color (default: primary-300; drag-over uses primary-400)","name":"--upload-dropzone-hover-border-color"},{"description":"Drop zone focus ring color (default: primary-100)","name":"--upload-dropzone-focus-ring-color"},{"description":"Item background color (default: white)","name":"--upload-item-bg"},{"description":"Item border color (default: gray-200)","name":"--upload-item-border-color"},{"description":"Item active/in-progress border (default: gray-300)","name":"--upload-item-active-border-color"},{"description":"Item completed border color (default: primary-500)","name":"--upload-item-complete-border-color"},{"description":"Item error background (default: error-25)","name":"--upload-item-error-bg"},{"description":"Item error border color (default: error-300)","name":"--upload-item-error-border-color"}],"members":[{"kind":"field","name":"accept","type":{"text":"string"},"default":"''","description":"Accepted file types, matching the HTML \`<input accept>\` attribute format.\\nClient-side filter only — the browser's file picker uses this as a hint,\\nand drag-drop is enforced by this component. Server-side validation is\\nstill required.\\n\\nSupported forms (comma-separated, any combination):\\n- \`image/*\` — MIME wildcard (any image)\\n- \`application/pdf\` — exact MIME type\\n- \`.pdf\`, \`.docx\` — file extension (case-insensitive)\\n\\nExamples:\\n- \`accept=\\"image/*\\"\` — any image\\n- \`accept=\\"image/*,application/pdf\\"\` — images and PDFs\\n- \`accept=\\".jpg,.jpeg,.png,.heic\\"\` — specific extensions\\n- \`accept=\\"\\"\` (or omitted) — allow all\\n\\nNote: users can bypass the file picker's filter (most browsers offer an\\n\\"All Files\\" option), so this attribute is a UX filter, not a security\\nboundary.","attribute":"accept"},{"kind":"field","name":"maxFileSize","type":{"text":"number"},"default":"0","description":"Maximum file size in bytes. Files exceeding this are rejected. 0 means unlimited.","attribute":"max-file-size"},{"kind":"field","name":"maxFiles","type":{"text":"number"},"default":"Infinity","description":"Maximum number of files allowed. When omitted, uploads are unlimited.\\n\`max-files=\\"1\\"\` enters single-file mode (selecting a new file replaces the existing one).\\n\`max-files=\\"0\\"\` allows zero files. Values above 1 cap the queue at that many files.","attribute":"max-files"},{"kind":"field","name":"disabled","type":{"text":"boolean"},"default":"false","description":"Disables all interaction — file selection, drag-and-drop, and action buttons.","attribute":"disabled","reflects":true},{"kind":"field","name":"noDrag","type":{"text":"boolean"},"default":"false","description":"Disables drag-and-drop. File selection via click still works.","attribute":"no-drag"},{"kind":"field","name":"_files","type":{"text":"Map<string, FileState>"},"privacy":"private","default":"new Map()"},{"kind":"field","name":"_items","type":{"text":"Map<string, UploadItem>"},"privacy":"private","default":"new Map()"},{"kind":"field","name":"_milestones","type":{"text":"Map<string, Set<number>>"},"privacy":"private","default":"new Map()"},{"kind":"field","name":"_dragOver","type":{"text":"boolean"},"privacy":"private","default":"false"},{"kind":"field","name":"_dragCounter","type":{"text":"number"},"privacy":"private","default":"0"},{"kind":"field","name":"_inputEl","type":{"text":"HTMLInputElement | null"},"privacy":"private","readonly":true},{"kind":"method","name":"_handleInputChange","privacy":"private","return":{"type":{"text":"void"}},"parameters":[{"name":"e","type":{"text":"Event"}}]},{"kind":"method","name":"_handleSelectClick","privacy":"private","return":{"type":{"text":"void"}},"parameters":[{"name":"e","type":{"text":"Event"}}]},{"kind":"method","name":"_handleDropzoneClick","privacy":"private","return":{"type":{"text":"void"}}},{"kind":"method","name":"_handleDragEnter","privacy":"private","return":{"type":{"text":"void"}},"parameters":[{"name":"e","type":{"text":"DragEvent"}}]},{"kind":"method","name":"_handleDragOver","privacy":"private","return":{"type":{"text":"void"}},"parameters":[{"name":"e","type":{"text":"DragEvent"}}]},{"kind":"method","name":"_handleDragLeave","privacy":"private","return":{"type":{"text":"void"}},"parameters":[{"name":"e","type":{"text":"DragEvent"}}]},{"kind":"method","name":"_handleDrop","privacy":"private","return":{"type":{"text":"void"}},"parameters":[{"name":"e","type":{"text":"DragEvent"}}]},{"kind":"method","name":"_processFiles","privacy":"private","return":{"type":{"text":"void"}},"parameters":[{"name":"files","type":{"text":"File[]"}}]},{"kind":"method","name":"_rejectCount","privacy":"private","return":{"type":{"text":"void"}},"parameters":[{"name":"file","type":{"text":"File"}}]},{"kind":"method","name":"_validateFile","privacy":"private","return":{"type":{"text":"boolean"}},"parameters":[{"name":"file","type":{"text":"File"}}]},{"kind":"method","name":"_addFile","privacy":"private","return":{"type":{"text":"void"}},"parameters":[{"name":"file","type":{"text":"File"}}]},{"kind":"method","name":"_reportUnknownId","privacy":"private","return":{"type":{"text":"void"}},"parameters":[{"name":"method","type":{"text":"ApiMethod"}},{"name":"id","type":{"text":"string"}}]},{"kind":"method","name":"_getOrReport","privacy":"private","return":{"type":{"text":"FileState | null"}},"parameters":[{"name":"method","type":{"text":"ApiMethod"}},{"name":"id","type":{"text":"string"}}]},{"kind":"method","name":"_renderItem","privacy":"private","return":{"type":{"text":"void"}},"parameters":[{"name":"fileState","type":{"text":"FileState"}}]},{"kind":"method","name":"setFileProgress","return":{"type":{"text":"void"}},"parameters":[{"name":"id","type":{"text":"string"}},{"name":"percent","type":{"text":"number"}}],"description":"Update the progress of a file upload.\\nClamps value to 0-100 and coerces non-finite inputs to 0. Announces milestones\\n(25%, 50%, 75%) to screen readers; 100% completion is announced by setFileStatus('complete').\\n\\nStatus transitions:\\n- \`pending\` → \`uploading\` (auto — first progress report starts the upload)\\n- \`uploading\` → \`uploading\` (progress updates)\\n- \`error\` → \`error\` (progress updates only; status is preserved so a stale late\\n callback can't wipe the error UI. To recover from error, call\\n \`setFileStatus(id, 'uploading')\` first, then report progress.)\\n- \`complete\` → ignored (terminal state)"},{"kind":"method","name":"setFileStatus","return":{"type":{"text":"void"}},"parameters":[{"name":"id","type":{"text":"string"}},{"name":"status","type":{"text":"FileStatusSettable"}},{"name":"message","optional":true,"type":{"text":"string"}}],"description":"Set the status of a file.\\nValid statuses: 'uploading', 'complete', 'error'. For 'error' status, an\\noptional message can be provided.\\n\\nTransitions from 'complete' are rejected (terminal state) — a late-resolving\\nXHR cannot overwrite a prior success. Rejected calls emit \`btu-upload-api-error\`\\nwith reason: 'invalid-transition'."},{"kind":"method","name":"setFileSymbol","return":{"type":{"text":"void"}},"parameters":[{"name":"id","type":{"text":"string"}},{"name":"symbol","type":{"text":"string"}}],"description":"Override the icon symbol for a file."},{"kind":"method","name":"removeFile","return":{"type":{"text":"void"}},"parameters":[{"name":"id","type":{"text":"string"}}],"description":"Remove a file programmatically. Fires \`btu-upload-file-removed\`."},{"kind":"method","name":"getFiles","return":{"type":{"text":"readonly FileState[]"}},"description":"Get a snapshot of all current files and their states.\\nStates are readonly; mutations on the returned array's elements are ineffective."},{"kind":"field","name":"_dropzoneFull","type":{"text":"boolean"},"privacy":"private","readonly":true},{"kind":"field","name":"_interactionBlocked","type":{"text":"boolean"},"privacy":"private","readonly":true},{"kind":"field","name":"_showCountPill","type":{"text":"boolean"},"privacy":"private","readonly":true},{"kind":"method","name":"_renderSelectButton","privacy":"private","parameters":[{"name":"text","type":{"text":"string"}}]},{"kind":"method","name":"emit","parameters":[{"name":"type","type":{"text":"K"},"description":"Event name from CustomEventMap"},{"name":"detail","optional":true,"type":{"text":"UnpackCustomEvent<CustomEventMap[K]>"},"description":"Optional event detail payload"}],"description":"Dispatches a type-safe CustomEvent with standardized configuration.\\n\\nAll events are configured with:\\n- bubbles: true (event propagates up the DOM tree)\\n- cancelable: false (event cannot be cancelled)\\n- composed: true (event crosses shadow DOM boundaries)","return":{"type":{"text":"boolean"}},"inheritedFrom":{"name":"EventEmitterMixin","module":"src/util/EventEmitterMixin.ts"}}],"events":[{"type":{"text":"CustomEvent<unknown>"},"description":"Fired when the component has completed first render","name":"btu-upload-ready"},{"type":{"text":"CustomEvent<{id: string, file: File}>"},"description":"Fired when a file passes validation and is added","name":"btu-upload-file-added"},{"type":{"text":"CustomEvent<{id: string, file: File}>"},"description":"Fired when a file is removed (user action, programmatic, or on disconnect for in-flight uploads)","name":"btu-upload-file-removed"},{"type":{"text":"CustomEvent<{id: string, file: File}>"},"description":"Fired when user clicks \\"Try again\\" on a failed upload","name":"btu-upload-file-retry"},{"type":{"text":"CustomEvent<{file: File, reason: 'type' | 'size' | 'count'}>"},"description":"Fired when a file fails client-side validation or the queue is full","name":"btu-upload-file-rejected"},{"type":{"text":"CustomEvent<{id: string, file: File}>"},"description":"Fired when a file's status transitions into 'complete'","name":"btu-upload-file-completed"},{"type":{"text":"CustomEvent<{method: string, id: string, reason: 'unknown-id' | 'invalid-transition', message: string}>"},"description":"Fired when an imperative API call references an unknown id or an illegal status transition","name":"btu-upload-api-error"}],"attributes":[{"name":"accept","type":{"text":"string"},"default":"''","description":"Accepted file types, matching the HTML \`<input accept>\` attribute format.\\nClient-side filter only — the browser's file picker uses this as a hint,\\nand drag-drop is enforced by this component. Server-side validation is\\nstill required.\\n\\nSupported forms (comma-separated, any combination):\\n- \`image/*\` — MIME wildcard (any image)\\n- \`application/pdf\` — exact MIME type\\n- \`.pdf\`, \`.docx\` — file extension (case-insensitive)\\n\\nExamples:\\n- \`accept=\\"image/*\\"\` — any image\\n- \`accept=\\"image/*,application/pdf\\"\` — images and PDFs\\n- \`accept=\\".jpg,.jpeg,.png,.heic\\"\` — specific extensions\\n- \`accept=\\"\\"\` (or omitted) — allow all\\n\\nNote: users can bypass the file picker's filter (most browsers offer an\\n\\"All Files\\" option), so this attribute is a UX filter, not a security\\nboundary.","fieldName":"accept","attribute":"accept"},{"name":"max-file-size","type":{"text":"number"},"default":"0","description":"Maximum file size in bytes. Files exceeding this are rejected. 0 means unlimited.","fieldName":"maxFileSize","attribute":"max-file-size"},{"name":"max-files","type":{"text":"number"},"default":"Infinity","description":"Maximum number of files allowed. When omitted, uploads are unlimited.\\n\`max-files=\\"1\\"\` enters single-file mode (selecting a new file replaces the existing one).\\n\`max-files=\\"0\\"\` allows zero files. Values above 1 cap the queue at that many files.","fieldName":"maxFiles","attribute":"max-files"},{"name":"disabled","type":{"text":"boolean"},"default":"false","description":"Disables all interaction — file selection, drag-and-drop, and action buttons.","fieldName":"disabled","attribute":"disabled"},{"name":"no-drag","type":{"text":"boolean"},"default":"false","description":"Disables drag-and-drop. File selection via click still works.","fieldName":"noDrag","attribute":"no-drag"}],"mixins":[{"name":"EventEmitterMixin","module":"/src/util/EventEmitterMixin.js"},{"name":"ReadyMixin","module":"/src/util/ReadyMixin.js"}],"superclass":{"name":"LitElement","package":"lit"},"tagName":"btu-upload","customElement":true}],"exports":[{"kind":"js","name":"FileState","declaration":{"name":"FileState","module":"src/components/upload/Upload.ts"}},{"kind":"js","name":"FileStatus","declaration":{"name":"FileStatus","module":"src/components/upload/Upload.ts"}},{"kind":"js","name":"FileStatusSettable","declaration":{"name":"FileStatusSettable","module":"src/components/upload/Upload.ts"}},{"kind":"js","name":"default","declaration":{"name":"Upload","module":"src/components/upload/Upload.ts"}},{"kind":"custom-element-definition","name":"btu-upload","declaration":{"name":"Upload","module":"src/components/upload/Upload.ts"}}]},{"kind":"javascript-module","path":"src/components/upload/UploadItem.ts","declarations":[{"kind":"class","description":"Internal upload item sub-component for displaying individual file upload state.\\n\\nThis component is not part of the public API — consumers should not create,\\nquery, or modify items directly. All interaction goes through \`btu-upload\` methods.","name":"UploadItem","cssProperties":[{"description":"Item background color (default: white)","name":"--upload-item-bg"},{"description":"Item border color (default: gray-200)","name":"--upload-item-border-color"},{"description":"Item active/in-progress border (default: gray-300)","name":"--upload-item-active-border-color"},{"description":"Item completed border color (default: primary-500)","name":"--upload-item-complete-border-color"},{"description":"Item error background (default: error-25)","name":"--upload-item-error-bg"},{"description":"Item error border color (default: error-300)","name":"--upload-item-error-border-color"}],"members":[{"kind":"field","name":"_state","type":{"text":"FileState | null"},"privacy":"private","default":"null"},{"kind":"field","name":"_baseClasses","type":{"text":"string"},"privacy":"private","default":"''"},{"kind":"field","name":"_previousStatus","type":{"text":"FileStatus | null"},"privacy":"private","default":"null"},{"kind":"field","name":"_stopProgressComplete","privacy":"private"},{"kind":"method","name":"_scheduleCelebrate","privacy":"private","return":{"type":{"text":"void"}}},{"kind":"method","name":"_handleRemove","privacy":"private","return":{"type":{"text":"void"}}},{"kind":"method","name":"_handleRetry","privacy":"private","return":{"type":{"text":"void"}}},{"kind":"method","name":"emit","parameters":[{"name":"type","type":{"text":"K"},"description":"Event name from CustomEventMap"},{"name":"detail","optional":true,"type":{"text":"UnpackCustomEvent<CustomEventMap[K]>"},"description":"Optional event detail payload"}],"description":"Dispatches a type-safe CustomEvent with standardized configuration.\\n\\nAll events are configured with:\\n- bubbles: true (event propagates up the DOM tree)\\n- cancelable: false (event cannot be cancelled)\\n- composed: true (event crosses shadow DOM boundaries)","return":{"type":{"text":"boolean"}},"inheritedFrom":{"name":"EventEmitterMixin","module":"src/util/EventEmitterMixin.ts"}}],"events":[{"name":"btu-upload-item-remove","type":{"text":"CustomEvent<{id: string}>"},"description":"Fired when remove button is clicked"},{"name":"btu-upload-item-retry","type":{"text":"CustomEvent<{id: string}>"},"description":"Fired when retry link is clicked"}],"mixins":[{"name":"EventEmitterMixin","module":"/src/util/EventEmitterMixin.js"},{"name":"ReadyMixin","module":"/src/util/ReadyMixin.js"}],"superclass":{"name":"LitElement","package":"lit"},"tagName":"btu-upload-item","customElement":true}],"exports":[{"kind":"js","name":"default","declaration":{"name":"UploadItem","module":"src/components/upload/UploadItem.ts"}},{"kind":"custom-element-definition","name":"btu-upload-item","declaration":{"name":"UploadItem","module":"src/components/upload/UploadItem.ts"}}]},{"kind":"javascript-module","path":"src/components/widget/Widget.ts","declarations":[{"kind":"class","description":"A widget component for displaying content with header, body, and footer sections.\\n\\n## Architecture: Light DOM + Manager Pattern\\n\\nThis component uses **Light DOM** (no Shadow Root) with the **Manager Pattern**:\\n- User-provided children are physically moved into internal containers\\n- Movement is based on \`slot\` attributes (pseudo-slots)\\n- The \`onFind\` utility automatically redistributes dynamically-added content\\n\\n### Node Redistribution Rules\\n- \`slot=\\"controls\\"\` → Moved to header actions area (before system buttons)\\n- \`slot=\\"footer\\"\` → Moved to footer container\\n- *(no slot)* → Moved to body container (default)\\n\\n## Features\\n\\n- **Collapsible**: Optional chevron toggle to hide/show body and footer\\n- **Fullscreen**: Optional maximize button for fullscreen mode via \`:state(fullscreen)\` custom state\\n- **Dynamic Content**: \`onFind\` handles content added after initialization\\n- **Accessible**: Full ARIA support and keyboard navigation\\n- **Themeable**: CSS custom properties for colors and spacing\\n\\n## Accessibility\\n\\n- **Collapse toggle**: \`aria-expanded\`, \`aria-controls\`, \`aria-label\`\\n- **Fullscreen toggle**: \`aria-pressed\`, \`aria-label\`\\n- **Body region**: \`role=\\"region\\"\`, \`aria-labelledby\` linking to heading\\n- **Tab order**: Natural flow via physical DOM placement\\n- **Collapsed content**: Hidden via \`inert\` attribute and CSS grid collapse","name":"Widget","cssProperties":[{"description":"Body and footer background color (default: --btu-theme-white)","name":"--widget-background"},{"description":"Widget border and dividers (default: 1px solid gray-200)","name":"--widget-border"},{"description":"Color of header bottom divider (default: gray-200)","name":"--widget-border-color"},{"description":"Header background color (default: transparent)","name":"--header-background"}],"slots":[{"description":"Default pseudo-slot: elements without slot attribute are moved to body","name":""},{"description":"Pseudo-slot: buttons/actions moved to header actions area","name":"controls"},{"description":"Pseudo-slot: content moved to footer container","name":"footer"}],"members":[{"kind":"field","name":"_idCounter","type":{"text":"number"},"privacy":"private","static":true,"default":"0"},{"kind":"field","name":"_internals","privacy":"private"},{"kind":"field","name":"heading","type":{"text":"string"},"default":"''","description":"Heading text displayed in the header.","attribute":"heading"},{"kind":"field","name":"collapsible","type":{"text":"boolean"},"default":"false","description":"Whether the widget can be collapsed/expanded.\\nWhen true, a chevron toggle button appears in the header.","attribute":"collapsible"},{"kind":"field","name":"collapsed","type":{"text":"boolean"},"default":"false","description":"Whether the widget is currently collapsed.\\nWhen true, body and footer are hidden. Implies collapsible.","attribute":"collapsed"},{"kind":"field","name":"fullscreenable","type":{"text":"boolean"},"default":"false","description":"Whether the widget can enter fullscreen mode.\\nWhen true, a fullscreen toggle button appears in the header.","attribute":"fullscreenable"},{"kind":"field","name":"_isFullscreen","type":{"text":"boolean"},"privacy":"private","default":"false"},{"kind":"field","name":"_collapseTooltip","privacy":"private","default":"new TooltipController(this, { target: 'button[data-tooltip=\\"collapse\\"]', text: () => (this.collapsed ? 'Expand' : 'Collapse'), position: 'bottom', noArrow: true, offset: 'sm', })"},{"kind":"field","name":"_fullscreenTooltip","privacy":"private","default":"new TooltipController(this, { target: 'button[data-tooltip=\\"fullscreen\\"]', text: () => (this._isFullscreen ? 'Exit fullscreen' : 'Enter fullscreen'), position: 'bottom', noArrow: true, offset: 'sm', })"},{"kind":"field","name":"isFullscreen","type":{"text":"boolean"},"description":"Whether the widget is currently in fullscreen mode (read-only).\\nUse \`btu-widget-fullscreen-changed\` event to react to changes.","readonly":true},{"kind":"method","name":"emit","parameters":[{"name":"type","type":{"text":"K"},"description":"Event name from CustomEventMap"},{"name":"detail","optional":true,"type":{"text":"UnpackCustomEvent<CustomEventMap[K]>"},"description":"Optional event detail payload"}],"description":"Dispatches a type-safe CustomEvent with standardized configuration.\\n\\nAll events are configured with:\\n- bubbles: true (event propagates up the DOM tree)\\n- cancelable: false (event cannot be cancelled)\\n- composed: true (event crosses shadow DOM boundaries)","return":{"type":{"text":"boolean"}},"inheritedFrom":{"name":"EventEmitterMixin","module":"src/util/EventEmitterMixin.ts"}},{"kind":"field","name":"#stopFns","privacy":"private","type":{"text":"Array<() => void>"},"default":"[]","inheritedFrom":{"name":"OnFindMixin","module":"src/util/OnFindMixin.ts"}},{"kind":"method","name":"onFindRegistration","return":{"type":{"text":"OnFindRegistration | OnFindRegistration[] | null"}},"inheritedFrom":{"name":"OnFindMixin","module":"src/util/OnFindMixin.ts"}},{"kind":"method","name":"#armFind","privacy":"private","inheritedFrom":{"name":"OnFindMixin","module":"src/util/OnFindMixin.ts"}}],"events":[{"type":{"text":"CustomEvent"},"description":"Fired after first render and redistribution","name":"btu-widget-ready"},{"type":{"text":"CustomEvent<{collapsed: boolean}>"},"description":"Fired when collapsed state changes","name":"btu-widget-collapse-changed"},{"type":{"text":"CustomEvent<{fullscreen: boolean}>"},"description":"Fired when fullscreen state changes","name":"btu-widget-fullscreen-changed"}],"attributes":[{"name":"heading","type":{"text":"string"},"default":"''","description":"Heading text displayed in the header.","fieldName":"heading","attribute":"heading"},{"name":"collapsible","type":{"text":"boolean"},"default":"false","description":"Whether the widget can be collapsed/expanded.\\nWhen true, a chevron toggle button appears in the header.","fieldName":"collapsible","attribute":"collapsible"},{"name":"collapsed","type":{"text":"boolean"},"default":"false","description":"Whether the widget is currently collapsed.\\nWhen true, body and footer are hidden. Implies collapsible.","fieldName":"collapsed","attribute":"collapsed"},{"name":"fullscreenable","type":{"text":"boolean"},"default":"false","description":"Whether the widget can enter fullscreen mode.\\nWhen true, a fullscreen toggle button appears in the header.","fieldName":"fullscreenable","attribute":"fullscreenable"}],"cssStates":[{"description":"Applied when the widget is collapsed, targetable via :state(collapsed)","name":"collapsed"},{"description":"Applied when the widget is in fullscreen mode, targetable via :state(fullscreen)","name":"fullscreen"}],"mixins":[{"name":"EventEmitterMixin","module":"/src/util/EventEmitterMixin.js"},{"name":"OnFindMixin","module":"/src/util/OnFindMixin.js"},{"name":"ReadyMixin","module":"/src/util/ReadyMixin.js"}],"superclass":{"name":"LitElement","package":"lit"},"tagName":"btu-widget","customElement":true}],"exports":[{"kind":"js","name":"default","declaration":{"name":"Widget","module":"src/components/widget/Widget.ts"}},{"kind":"custom-element-definition","name":"btu-widget","declaration":{"name":"Widget","module":"src/components/widget/Widget.ts"}}]},{"kind":"javascript-module","path":"src/util/ClipboardMixin.ts","declarations":[{"kind":"class","description":"","name":"ClipboardMixinInterface","members":[{"kind":"method","name":"copy","return":{"type":{"text":"Promise<void>"}},"parameters":[{"name":"text","type":{"text":"string"}},{"name":"timeout","optional":true,"type":{"text":"number"}}]},{"kind":"field","name":"copiedStateKey","type":{"text":"'btu-copy-to-clipboard-copied'"},"readonly":true}]},{"kind":"mixin","description":"Mixin that adds clipboard copy functionality with visual feedback.\\n\\nProvides a \`copy()\` method that:\\n- Writes text to the system clipboard\\n- Adds a temporary \`<consumer-tag>-copied\` state for 3 seconds\\n- Emits a \`<consumer-tag>-copied\` event\\n- Prevents duplicate copy operations while in success state\\n\\nThe state and event name are resolved from the host element's tagName\\nat runtime (per LESSONS-NAMING §3) so the mixin stays reusable across\\ndifferent consumers without a hardcoded \`btu-clipboard-*\` prefix.","name":"ClipboardMixin","members":[{"kind":"field","name":"copiedStateKey","type":{"text":"'btu-copy-to-clipboard-copied'"},"description":"Custom state applied briefly after a successful copy; also emitted as an event.","readonly":true},{"kind":"method","name":"copy","return":{"type":{"text":""}},"parameters":[{"name":"text","type":{"text":"string"},"description":"The text to copy to clipboard"},{"name":"timeout","default":"3000","description":"Duration in milliseconds to show success state (default: 3000)"}],"description":"Copies text to the system clipboard with visual feedback."}],"parameters":[{"name":"superClass","type":{"text":"T"}}]}],"exports":[{"kind":"js","name":"ClipboardMixinInterface","declaration":{"name":"ClipboardMixinInterface","module":"src/util/ClipboardMixin.ts"}},{"kind":"js","name":"ClipboardMixin","declaration":{"name":"ClipboardMixin","module":"src/util/ClipboardMixin.ts"}}]},{"kind":"javascript-module","path":"src/util/ComponentStatesMixin.ts","declarations":[{"kind":"class","description":"Interface for components using ComponentStatesMixin.\\nProvides access to the Custom State API via ElementInternals.","name":"ComponentStatesMixinInterface"},{"kind":"mixin","description":"Mixin that provides access to the Custom State API for managing component states.\\n\\nUses ElementInternals.states (Custom State API) to manage component-specific states\\nthat can be styled with the :state() pseudo-class in CSS.","name":"ComponentStatesMixin","parameters":[{"name":"superclass","type":{"text":"T"}}]}],"exports":[{"kind":"js","name":"ComponentStatesMixinInterface","declaration":{"name":"ComponentStatesMixinInterface","module":"src/util/ComponentStatesMixin.ts"}},{"kind":"js","name":"ComponentStatesMixin","declaration":{"name":"ComponentStatesMixin","module":"src/util/ComponentStatesMixin.ts"}}]},{"kind":"javascript-module","path":"src/util/EventEmitterMixin.ts","declarations":[{"kind":"class","description":"Interface for components using EventEmitterMixin.\\nProvides type-safe event emission and listener management.","name":"EventEmitterMixinInterface","members":[{"kind":"field","name":"emit","type":{"text":"<K extends keyof CustomEventMap>(type: K, detail?: UnpackCustomEvent<CustomEventMap[K]>) => void"}},{"kind":"method","name":"addEventListener","return":{"type":{"text":"void"}},"parameters":[{"name":"type","type":{"text":"K"}},{"name":"listener","type":{"text":"(this: HTMLElement, ev: CombinedEventMap[K]) => void"}},{"name":"options","optional":true,"type":{"text":"boolean | AddEventListenerOptions"}}]},{"kind":"method","name":"removeEventListener","return":{"type":{"text":"void"}},"parameters":[{"name":"type","type":{"text":"K"}},{"name":"listener","type":{"text":"(this: HTMLElement, ev: CombinedEventMap[K]) => void"}},{"name":"options","optional":true,"type":{"text":"boolean | EventListenerOptions"}}]}]},{"kind":"mixin","description":"Mixin that adds standardized event emission capabilities to LitElement components.\\n\\nAutomatically emits lifecycle events when components connect/disconnect from the DOM.\\nProvides a type-safe \`emit()\` method for dispatching custom events with consistent\\nconfiguration (bubbles, composed, cancelable).","name":"EventEmitterMixin","members":[{"kind":"method","name":"emit","parameters":[{"name":"type","type":{"text":"K"},"description":"Event name from CustomEventMap"},{"name":"detail","optional":true,"type":{"text":"UnpackCustomEvent<CustomEventMap[K]>"},"description":"Optional event detail payload"}],"description":"Dispatches a type-safe CustomEvent with standardized configuration.\\n\\nAll events are configured with:\\n- bubbles: true (event propagates up the DOM tree)\\n- cancelable: false (event cannot be cancelled)\\n- composed: true (event crosses shadow DOM boundaries)","return":{"type":{"text":"boolean"}}}],"parameters":[{"name":"superClass","type":{"text":"T"}}]}],"exports":[{"kind":"js","name":"EventEmitterMixinInterface","declaration":{"name":"EventEmitterMixinInterface","module":"src/util/EventEmitterMixin.ts"}},{"kind":"js","name":"EventEmitterMixin","declaration":{"name":"EventEmitterMixin","module":"src/util/EventEmitterMixin.ts"}}]},{"kind":"javascript-module","path":"src/util/OnFindMixin.ts","declarations":[{"kind":"class","description":"","name":"OnFindMixinInterface","members":[{"kind":"method","name":"onFindRegistration","return":{"type":{"text":"OnFindRegistration | OnFindRegistration[] | null"}},"description":"Return this component's onFind registration(s), or null to skip registering\\n(e.g. required containers aren't present yet). Return an array to register\\nseveral independent sweeps; each is disposed together on disconnect.\\nRe-invoked on every (re)registration — query containers HERE rather than\\ncapturing them once, so a reattach re-binds against the current DOM."}]},{"kind":"mixin","description":"","name":"OnFindMixin","members":[{"kind":"field","name":"#stopFns","privacy":"private","type":{"text":"Array<() => void>"},"default":"[]"},{"kind":"method","name":"onFindRegistration","return":{"type":{"text":"OnFindRegistration | OnFindRegistration[] | null"}}},{"kind":"method","name":"#armFind","privacy":"private"}],"parameters":[{"name":"superClass","type":{"text":"T"}}]}],"exports":[{"kind":"js","name":"OnFindMixinInterface","declaration":{"name":"OnFindMixinInterface","module":"src/util/OnFindMixin.ts"}},{"kind":"js","name":"OnFindMixin","declaration":{"name":"OnFindMixin","module":"src/util/OnFindMixin.ts"}}]},{"kind":"javascript-module","path":"src/util/ProgressMixin.ts","declarations":[{"kind":"mixin","description":"Mixin that adds common progress indicator properties.\\nUsed by progress components like CircularProgress and LinearProgress.","name":"ProgressMixin","members":[{"kind":"field","name":"color","type":{"text":"ProgressColors"},"default":"'primary'","description":"Color theme of the progress indicator.\\nSupports: black, white, primary, teal, gray, purple, rose, error, warning, success","attribute":"color"},{"kind":"field","name":"thickness","type":{"text":"number | undefined"},"description":"Stroke width of the progress indicator.","attribute":"thickness"},{"kind":"field","name":"_progress","type":{"text":"number"},"privacy":"private","default":"0"},{"kind":"field","name":"progress","description":"Progress value for determinate variant. Clamped to 0–100.","attribute":"progress"},{"kind":"field","name":"label","type":{"text":"string | undefined"},"description":"Optional label text to display with the progress indicator.","attribute":"label"},{"kind":"field","name":"initialAnimation","type":{"text":"boolean"},"default":"true","description":"Whether to animate progress from 0 to target value when component first becomes visible.","attribute":"initial-animation"},{"kind":"field","name":"ariaLabel","type":{"text":"string | null"},"default":"null","description":"Optional aria-label attribute for screen readers.\\nDescribes what the progress indicator represents.","attribute":"aria-label"},{"kind":"field","name":"ariaLabelledBy","type":{"text":"string | null"},"default":"null","description":"Optional aria-labelledby attribute for screen readers.\\nReferences the ID of an element that labels the progress indicator.","attribute":"aria-labelledby"},{"kind":"field","name":"ariaValueText","type":{"text":"string | null"},"default":"null","description":"Optional aria-valuetext attribute for screen readers.\\nProvides human-readable text alternative for progress value.","attribute":"aria-valuetext"},{"kind":"field","name":"completionAnnouncement","type":{"text":"string | undefined"},"description":"Optional message to announce to screen readers when progress reaches 100%.\\nIf not provided, no announcement will be made on completion.","attribute":"completion-announcement"},{"kind":"field","name":"_isAnimationInitialized","type":{"text":"boolean"},"privacy":"private","default":"false"},{"kind":"field","name":"_intersectionObserver","type":{"text":"IntersectionObserver | undefined"},"privacy":"private"},{"kind":"field","name":"_hasCompletedAt100","type":{"text":"boolean"},"privacy":"private","default":"false"},{"kind":"field","name":"_hostTag","type":{"text":"'btu-linear-progress' | 'btu-circular-progress'"},"privacy":"private","readonly":true}],"attributes":[{"name":"color","type":{"text":"ProgressColors"},"default":"'primary'","description":"Color theme of the progress indicator.\\nSupports: black, white, primary, teal, gray, purple, rose, error, warning, success","fieldName":"color","attribute":"color"},{"name":"thickness","type":{"text":"number | undefined"},"description":"Stroke width of the progress indicator.","fieldName":"thickness","attribute":"thickness"},{"name":"progress","description":"Progress value for determinate variant. Clamped to 0–100.","fieldName":"progress","attribute":"progress"},{"name":"label","type":{"text":"string | undefined"},"description":"Optional label text to display with the progress indicator.","fieldName":"label","attribute":"label"},{"name":"initial-animation","type":{"text":"boolean"},"default":"true","description":"Whether to animate progress from 0 to target value when component first becomes visible.","fieldName":"initialAnimation","attribute":"initial-animation"},{"name":"aria-label","type":{"text":"string | null"},"default":"null","description":"Optional aria-label attribute for screen readers.\\nDescribes what the progress indicator represents.","fieldName":"ariaLabel","attribute":"aria-label"},{"name":"aria-labelledby","type":{"text":"string | null"},"default":"null","description":"Optional aria-labelledby attribute for screen readers.\\nReferences the ID of an element that labels the progress indicator.","fieldName":"ariaLabelledBy","attribute":"aria-labelledby"},{"name":"aria-valuetext","type":{"text":"string | null"},"default":"null","description":"Optional aria-valuetext attribute for screen readers.\\nProvides human-readable text alternative for progress value.","fieldName":"ariaValueText","attribute":"aria-valuetext"},{"name":"completion-announcement","type":{"text":"string | undefined"},"description":"Optional message to announce to screen readers when progress reaches 100%.\\nIf not provided, no announcement will be made on completion.","fieldName":"completionAnnouncement","attribute":"completion-announcement"}],"parameters":[{"name":"Base","type":{"text":"T"},"description":"The base class to extend"}]}],"exports":[{"kind":"js","name":"ProgressMixin","declaration":{"name":"ProgressMixin","module":"src/util/ProgressMixin.ts"}}]},{"kind":"javascript-module","path":"src/util/ReadyMixin.ts","declarations":[{"kind":"class","description":"","name":"ReadyMixinInterface"},{"kind":"mixin","description":"","name":"ReadyMixin","parameters":[{"name":"superClass","type":{"text":"T"}}]}],"exports":[{"kind":"js","name":"ReadyMixinInterface","declaration":{"name":"ReadyMixinInterface","module":"src/util/ReadyMixin.ts"}},{"kind":"js","name":"ReadyMixin","declaration":{"name":"ReadyMixin","module":"src/util/ReadyMixin.ts"}}]},{"kind":"javascript-module","path":"src/util/RovingTabindexMixin.ts","declarations":[{"kind":"class","description":"","name":"RovingTabindexInterface"},{"kind":"mixin","description":"","name":"RovingTabindexMixin","parameters":[{"name":"superClass","type":{"text":"T"}}]}],"exports":[{"kind":"js","name":"RovingTabindexInterface","declaration":{"name":"RovingTabindexInterface","module":"src/util/RovingTabindexMixin.ts"}},{"kind":"js","name":"RovingTabindexMixin","declaration":{"name":"RovingTabindexMixin","module":"src/util/RovingTabindexMixin.ts"}}]},{"kind":"javascript-module","path":"src/util/TooltipMixin.ts","declarations":[{"kind":"class","description":"","name":"TooltipMixinInterface","members":[{"kind":"field","name":"tooltip","type":{"text":"string"}},{"kind":"field","name":"tooltipPosition","type":{"text":"'top' | 'bottom' | 'left' | 'right'"}},{"kind":"field","name":"tooltipDelay","type":{"text":"number"}},{"kind":"field","name":"tooltipOffset","type":{"text":"TooltipOffset | null"}},{"kind":"field","name":"tooltipNoArrow","type":{"text":"boolean"}},{"kind":"field","name":"tooltipTrigger","type":{"text":"string"}}]},{"kind":"mixin","description":"Mixin that adds declarative tooltip support to any LitElement component.\\n\\nUses the native Popover API for top-layer rendering and CSS anchor positioning\\nfor viewport-aware placement. The tooltip element is appended as the last child\\nof the host (safe from Lit re-render interference in Light DOM components).\\n\\nFor click triggers (\`popover=\\"auto\\"\`), the browser provides light dismiss\\n(Escape key and click-outside). For hover/focus triggers (\`popover=\\"manual\\"\`),\\nshow/hide is controlled by the mixin.","name":"TooltipMixin","members":[{"kind":"field","name":"tooltip","type":{"text":"string"},"default":"''","description":"Tooltip text content. Set to empty string to remove the tooltip.","attribute":"tooltip"},{"kind":"field","name":"tooltipPosition","type":{"text":"'top' | 'bottom' | 'left' | 'right'"},"default":"'top'","description":"Position relative to the host element. Auto-flips when constrained by the viewport.","attribute":"tooltip-position"},{"kind":"field","name":"tooltipDelay","type":{"text":"number"},"default":"300","description":"Show delay in milliseconds (hover trigger only).","attribute":"tooltip-delay"},{"kind":"field","name":"tooltipOffset","type":{"text":"TooltipOffset | null"},"default":"null","description":"Gap between host and tooltip (sm=4px, md=8px, lg=12px, xl=16px).","attribute":"tooltip-offset"},{"kind":"field","name":"tooltipNoArrow","type":{"text":"boolean"},"default":"false","description":"Hide the arrow pseudo-element.","attribute":"tooltip-no-arrow"},{"kind":"field","name":"tooltipTrigger","type":{"text":"string"},"default":"'hover focus'","description":"Space-separated trigger types: 'hover', 'focus', 'click'.","attribute":"tooltip-trigger"},{"kind":"field","name":"_onMouseLeave","privacy":"private"},{"kind":"field","name":"_onFocusIn","privacy":"private"},{"kind":"field","name":"_onFocusOut","privacy":"private"},{"kind":"field","name":"_onClick","privacy":"private"},{"kind":"field","name":"_onNativeToggle","privacy":"private"},{"kind":"field","name":"_onKeyDown","privacy":"private"},{"kind":"field","name":"_onDocumentClick","type":{"text":"((e: MouseEvent) => void) | null"},"privacy":"private","default":"null"}],"attributes":[{"name":"tooltip","type":{"text":"string"},"default":"''","description":"Tooltip text content. Set to empty string to remove the tooltip.","fieldName":"tooltip","attribute":"tooltip"},{"name":"tooltipPosition","type":{"text":"'top' | 'bottom' | 'left' | 'right'"},"default":"'top'","description":"Position relative to the host element. Auto-flips when constrained by the viewport.","fieldName":"tooltipPosition"},{"name":"tooltipDelay","type":{"text":"number"},"default":"300","description":"Show delay in milliseconds (hover trigger only).","fieldName":"tooltipDelay"},{"name":"tooltipOffset","type":{"text":"TooltipOffset | null"},"default":"null","description":"Gap between host and tooltip (sm=4px, md=8px, lg=12px, xl=16px).","fieldName":"tooltipOffset"},{"name":"tooltipNoArrow","type":{"text":"boolean"},"default":"false","description":"Hide the arrow pseudo-element.","fieldName":"tooltipNoArrow"},{"name":"tooltipTrigger","type":{"text":"string"},"default":"'hover focus'","description":"Space-separated trigger types: 'hover', 'focus', 'click'.","fieldName":"tooltipTrigger"},{"name":"tooltip-position","type":{"text":"'top' | 'bottom' | 'left' | 'right'"},"default":"'top'","description":"Position relative to the host element. Auto-flips when constrained by the viewport.","attribute":"tooltipPosition","fieldName":"tooltipPosition"},{"name":"tooltip-delay","type":{"text":"number"},"default":"300","description":"Show delay in milliseconds (hover trigger only).","attribute":"tooltipDelay","fieldName":"tooltipDelay"},{"name":"tooltip-offset","type":{"text":"TooltipOffset | null"},"default":"null","description":"Gap between host and tooltip (sm=4px, md=8px, lg=12px, xl=16px).","attribute":"tooltipOffset","fieldName":"tooltipOffset"},{"name":"tooltip-no-arrow","type":{"text":"boolean"},"default":"false","description":"Hide the arrow pseudo-element.","attribute":"tooltipNoArrow","fieldName":"tooltipNoArrow"},{"name":"tooltip-trigger","type":{"text":"string"},"default":"'hover focus'","description":"Space-separated trigger types: 'hover', 'focus', 'click'.","attribute":"tooltipTrigger","fieldName":"tooltipTrigger"}],"parameters":[{"name":"superClass","type":{"text":"T"}}]}],"exports":[{"kind":"js","name":"TooltipMixinInterface","declaration":{"name":"TooltipMixinInterface","module":"src/util/TooltipMixin.ts"}},{"kind":"js","name":"TooltipMixin","declaration":{"name":"TooltipMixin","module":"src/util/TooltipMixin.ts"}}]}]`),j6={schemaVersion:N6,readme:k6,modules:I6};function ht(){return ht=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},ht.apply(null,arguments)}function q6(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function $o(e,t){return $o=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,n){return r.__proto__=n,r},$o(e,t)}function F6(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,$o(e,t)}function Bc(e){return Bc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},Bc(e)}function D6(e){try{return Function.toString.call(e).indexOf("[native code]")!==-1}catch{return typeof e=="function"}}function M0(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(M0=function(){return!!e})()}function L6(e,t,r){if(M0())return Reflect.construct.apply(null,arguments);var n=[null];n.push.apply(n,t);var i=new(e.bind.apply(e,n));return r&&$o(i,r.prototype),i}function Uc(e){var t=typeof Map=="function"?new Map:void 0;return Uc=function(r){if(r===null||!D6(r))return r;if(typeof r!="function")throw new TypeError("Super expression must either be null or a function");if(t!==void 0){if(t.has(r))return t.get(r);t.set(r,n)}function n(){return L6(r,arguments,Bc(this).constructor)}return n.prototype=Object.create(r.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),$o(n,r)},Uc(e)}var or=(function(e){F6(t,e);function t(r){var n;return n=e.call(this,"An error occurred. See https://github.com/styled-components/polished/blob/main/src/internalHelpers/errors.md#"+r+" for more information.")||this,q6(n)}return t})(Uc(Error));function vu(e){return Math.round(e*255)}function $6(e,t,r){return vu(e)+","+vu(t)+","+vu(r)}function As(e,t,r,n){if(n===void 0&&(n=$6),t===0)return n(r,r,r);var i=(e%360+360)%360/60,o=(1-Math.abs(2*r-1))*t,a=o*(1-Math.abs(i%2-1)),s=0,c=0,l=0;i>=0&&i<1?(s=o,c=a):i>=1&&i<2?(s=a,c=o):i>=2&&i<3?(c=o,l=a):i>=3&&i<4?(c=a,l=o):i>=4&&i<5?(s=a,l=o):i>=5&&i<6&&(s=o,l=a);var d=r-o/2,p=s+d,f=c+d,m=l+d;return n(p,f,m)}var Zy={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"00ffff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"0000ff",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"00ffff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"ff00ff",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"639",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"};function B6(e){if(typeof e!="string")return e;var t=e.toLowerCase();return Zy[t]?"#"+Zy[t]:e}var U6=/^#[a-fA-F0-9]{6}$/,H6=/^#[a-fA-F0-9]{8}$/,J6=/^#[a-fA-F0-9]{3}$/,V6=/^#[a-fA-F0-9]{4}$/,Eu=/^rgb\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*\)$/i,z6=/^rgb(?:a)?\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i,G6=/^hsl\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*\)$/i,W6=/^hsl(?:a)?\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i;function ci(e){if(typeof e!="string")throw new or(3);var t=B6(e);if(t.match(U6))return{red:parseInt(""+t[1]+t[2],16),green:parseInt(""+t[3]+t[4],16),blue:parseInt(""+t[5]+t[6],16)};if(t.match(H6)){var r=parseFloat((parseInt(""+t[7]+t[8],16)/255).toFixed(2));return{red:parseInt(""+t[1]+t[2],16),green:parseInt(""+t[3]+t[4],16),blue:parseInt(""+t[5]+t[6],16),alpha:r}}if(t.match(J6))return{red:parseInt(""+t[1]+t[1],16),green:parseInt(""+t[2]+t[2],16),blue:parseInt(""+t[3]+t[3],16)};if(t.match(V6)){var n=parseFloat((parseInt(""+t[4]+t[4],16)/255).toFixed(2));return{red:parseInt(""+t[1]+t[1],16),green:parseInt(""+t[2]+t[2],16),blue:parseInt(""+t[3]+t[3],16),alpha:n}}var i=Eu.exec(t);if(i)return{red:parseInt(""+i[1],10),green:parseInt(""+i[2],10),blue:parseInt(""+i[3],10)};var o=z6.exec(t.substring(0,50));if(o)return{red:parseInt(""+o[1],10),green:parseInt(""+o[2],10),blue:parseInt(""+o[3],10),alpha:parseFloat(""+o[4])>1?parseFloat(""+o[4])/100:parseFloat(""+o[4])};var a=G6.exec(t);if(a){var s=parseInt(""+a[1],10),c=parseInt(""+a[2],10)/100,l=parseInt(""+a[3],10)/100,d="rgb("+As(s,c,l)+")",p=Eu.exec(d);if(!p)throw new or(4,t,d);return{red:parseInt(""+p[1],10),green:parseInt(""+p[2],10),blue:parseInt(""+p[3],10)}}var f=W6.exec(t.substring(0,50));if(f){var m=parseInt(""+f[1],10),y=parseInt(""+f[2],10)/100,g=parseInt(""+f[3],10)/100,v="rgb("+As(m,y,g)+")",b=Eu.exec(v);if(!b)throw new or(4,t,v);return{red:parseInt(""+b[1],10),green:parseInt(""+b[2],10),blue:parseInt(""+b[3],10),alpha:parseFloat(""+f[4])>1?parseFloat(""+f[4])/100:parseFloat(""+f[4])}}throw new or(5)}function K6(e){var t=e.red/255,r=e.green/255,n=e.blue/255,i=Math.max(t,r,n),o=Math.min(t,r,n),a=(i+o)/2;if(i===o)return e.alpha!==void 0?{hue:0,saturation:0,lightness:a,alpha:e.alpha}:{hue:0,saturation:0,lightness:a};var s,c=i-o,l=a>.5?c/(2-i-o):c/(i+o);switch(i){case t:s=(r-n)/c+(r<n?6:0);break;case r:s=(n-t)/c+2;break;default:s=(t-r)/c+4;break}return s*=60,e.alpha!==void 0?{hue:s,saturation:l,lightness:a,alpha:e.alpha}:{hue:s,saturation:l,lightness:a}}function Zr(e){return K6(ci(e))}var Y6=function(e){return e.length===7&&e[1]===e[2]&&e[3]===e[4]&&e[5]===e[6]?"#"+e[1]+e[3]+e[5]:e},Hc=Y6;function hn(e){var t=e.toString(16);return t.length===1?"0"+t:t}function wu(e){return hn(Math.round(e*255))}function X6(e,t,r){return Hc("#"+wu(e)+wu(t)+wu(r))}function N0(e,t,r){return As(e,t,r,X6)}function Q6(e,t,r){if(typeof e=="object"&&t===void 0&&r===void 0)return N0(e.hue,e.saturation,e.lightness);throw new or(1)}function Z6(e,t,r,n){if(typeof e=="object"&&t===void 0&&r===void 0&&n===void 0)return e.alpha>=1?N0(e.hue,e.saturation,e.lightness):"rgba("+As(e.hue,e.saturation,e.lightness)+","+e.alpha+")";throw new or(2)}function Jc(e,t,r){if(typeof e=="number"&&typeof t=="number"&&typeof r=="number")return Hc("#"+hn(e)+hn(t)+hn(r));if(typeof e=="object"&&t===void 0&&r===void 0)return Hc("#"+hn(e.red)+hn(e.green)+hn(e.blue));throw new or(6)}function di(e,t,r,n){if(typeof e=="string"&&typeof t=="number"){var i=ci(e);return"rgba("+i.red+","+i.green+","+i.blue+","+t+")"}else{if(typeof e=="number"&&typeof t=="number"&&typeof r=="number"&&typeof n=="number")return n>=1?Jc(e,t,r):"rgba("+e+","+t+","+r+","+n+")";if(typeof e=="object"&&t===void 0&&r===void 0&&n===void 0)return e.alpha>=1?Jc(e.red,e.green,e.blue):"rgba("+e.red+","+e.green+","+e.blue+","+e.alpha+")"}throw new or(7)}var eG=function(e){return typeof e.red=="number"&&typeof e.green=="number"&&typeof e.blue=="number"&&(typeof e.alpha!="number"||typeof e.alpha>"u")},tG=function(e){return typeof e.red=="number"&&typeof e.green=="number"&&typeof e.blue=="number"&&typeof e.alpha=="number"},rG=function(e){return typeof e.hue=="number"&&typeof e.saturation=="number"&&typeof e.lightness=="number"&&(typeof e.alpha!="number"||typeof e.alpha>"u")},nG=function(e){return typeof e.hue=="number"&&typeof e.saturation=="number"&&typeof e.lightness=="number"&&typeof e.alpha=="number"};function en(e){if(typeof e!="object")throw new or(8);if(tG(e))return di(e);if(eG(e))return Jc(e);if(nG(e))return Z6(e);if(rG(e))return Q6(e);throw new or(8)}function k0(e,t,r){return function(){var n=r.concat(Array.prototype.slice.call(arguments));return n.length>=t?e.apply(this,n):k0(e,t,n)}}function Nt(e){return k0(e,e.length,[])}function iG(e,t){if(t==="transparent")return t;var r=Zr(t);return en(ht({},r,{hue:r.hue+parseFloat(e)}))}Nt(iG);function wi(e,t,r){return Math.max(e,Math.min(t,r))}function oG(e,t){if(t==="transparent")return t;var r=Zr(t);return en(ht({},r,{lightness:wi(0,1,r.lightness-parseFloat(e))}))}var aG=Nt(oG),sG=aG;function lG(e,t){if(t==="transparent")return t;var r=Zr(t);return en(ht({},r,{saturation:wi(0,1,r.saturation-parseFloat(e))}))}Nt(lG);function uG(e,t){if(t==="transparent")return t;var r=Zr(t);return en(ht({},r,{lightness:wi(0,1,r.lightness+parseFloat(e))}))}var cG=Nt(uG),dG=cG;function pG(e,t,r){if(t==="transparent")return r;if(r==="transparent")return t;if(e===0)return r;var n=ci(t),i=ht({},n,{alpha:typeof n.alpha=="number"?n.alpha:1}),o=ci(r),a=ht({},o,{alpha:typeof o.alpha=="number"?o.alpha:1}),s=i.alpha-a.alpha,c=parseFloat(e)*2-1,l=c*s===-1?c:c+s,d=1+c*s,p=(l/d+1)/2,f=1-p,m={red:Math.floor(i.red*p+a.red*f),green:Math.floor(i.green*p+a.green*f),blue:Math.floor(i.blue*p+a.blue*f),alpha:i.alpha*parseFloat(e)+a.alpha*(1-parseFloat(e))};return di(m)}var fG=Nt(pG),I0=fG;function mG(e,t){if(t==="transparent")return t;var r=ci(t),n=typeof r.alpha=="number"?r.alpha:1,i=ht({},r,{alpha:wi(0,1,(n*100+parseFloat(e)*100)/100)});return di(i)}var hG=Nt(mG),yG=hG;function gG(e,t){if(t==="transparent")return t;var r=Zr(t);return en(ht({},r,{saturation:wi(0,1,r.saturation+parseFloat(e))}))}Nt(gG);function bG(e,t){return t==="transparent"?t:en(ht({},Zr(t),{hue:parseFloat(e)}))}Nt(bG);function vG(e,t){return t==="transparent"?t:en(ht({},Zr(t),{lightness:parseFloat(e)}))}Nt(vG);function EG(e,t){return t==="transparent"?t:en(ht({},Zr(t),{saturation:parseFloat(e)}))}Nt(EG);function wG(e,t){return t==="transparent"?t:I0(parseFloat(e),"rgb(0, 0, 0)",t)}Nt(wG);function _G(e,t){return t==="transparent"?t:I0(parseFloat(e),"rgb(255, 255, 255)",t)}Nt(_G);function TG(e,t){if(t==="transparent")return t;var r=ci(t),n=typeof r.alpha=="number"?r.alpha:1,i=ht({},r,{alpha:wi(0,1,+(n*100-parseFloat(e)*100).toFixed(2)/100)});return di(i)}var xG=Nt(TG),oW=xG,le={primary:"#FF4785",secondary:"#006DEB",tertiary:"#FAFBFC",ancillary:"#22a699",orange:"#FC521F",gold:"#FFAE00",green:"#66BF3C",seafoam:"#37D5D3",purple:"#6F2CAC",ultraviolet:"#2A0481",lightest:"#FFFFFF",lighter:"#F6F9FC",light:"#EEF2F6",mediumlight:"#ECF2F9",medium:"#D9E5F2",mediumdark:"#737F8C",dark:"#5C6570",darker:"#454C54",darkest:"#2E3338",border:"hsl(212 50% 30% / 0.15)",positive:"#66BF3C",warning:"#E69D00",negative:"#FF4400",critical:"#FFFFFF",defaultText:"#2E3338",inverseText:"#FFFFFF",positiveText:"#427C27",warningText:"#955B1E",negativeText:"#C23400"},gr={app:"#F6F9FC",bar:le.lightest,content:le.lightest,preview:le.lightest,gridCellSize:10,positive:"#F1FFEB",warning:"#FFF9EB",negative:"#FFF0EB",critical:"#D13800"},_r={fonts:{base:['"Nunito Sans"',"-apple-system",'".SFNSText-Regular"','"San Francisco"',"BlinkMacSystemFont",'"Segoe UI"','"Helvetica Neue"',"Helvetica","Arial","sans-serif"].join(", "),mono:["ui-monospace","Menlo","Monaco",'"Roboto Mono"','"Oxygen Mono"','"Ubuntu Monospace"','"Source Code Pro"','"Droid Sans Mono"','"Courier New"',"monospace"].join(", ")},weight:{regular:400,bold:700},size:{s1:12,s2:14,s3:16,m1:20,m2:24,m3:28,l1:32,l2:40,l3:48,code:90}},Vc={light:{fgColor:{default:le.darkest,muted:le.dark,accent:le.secondary,inverse:le.lightest,positive:"#427C27",warning:"#7A4100",negative:"#C23400",critical:"#FFFFFF"},bgColor:{default:le.lightest,muted:gr.app,positive:"#F1FFEB",warning:"#FFF7EB",negative:"#FFF0EB",critical:"#D13800"},borderColor:{default:le.border,muted:"hsl(0 0% 0% / 0.1)",inverse:"hsl(0 0% 100% / 0.1)",positive:"#BFE7AC",warning:"#FFCE85",negative:"#FFC3AD",critical:"hsl(16 100% 100% / 0)"}},dark:{fgColor:{default:"#C9CCCF",muted:"#95999D",accent:"#479DFF",inverse:"#1B1C1D",positive:"#86CE64",warning:"#FFAD33",negative:"#FF6933",critical:"#FF6933"},bgColor:{default:"#222325",muted:"#1B1C1D",positive:"hsl(101 100% 100% / 0)",warning:"hsl(101 100% 100% / 0)",negative:"hsl(101 100% 100% / 0)",critical:"hsl(101 100% 100% / 0)"},borderColor:{default:"hsl(0 0% 100% / 0.1)",muted:"hsl(0 0% 100% / 0.5)",inverse:"hsl(0 0% 0% / 0.1)",positive:"hsl(101 52% 64% / 0.15)",warning:"hsl(36 100% 64% / 0.15)",negative:"hsl(16 100% 64% / 0.15)",critical:"#FF6933"}}},SG={base:"dark",colorPrimary:"#FF4785",colorSecondary:"#479DFF",appBg:"#1B1C1D",appContentBg:"#222325",appHoverBg:"#233952",appPreviewBg:le.lightest,appBorderColor:"hsl(0 0% 100% / 0.1)",appBorderRadius:4,fontBase:_r.fonts.base,fontCode:_r.fonts.mono,textColor:"#C9CCCF",textInverseColor:"#1B1C1D",textMutedColor:"#95999D",barTextColor:"#95999D",barHoverColor:"#70B3FF",barSelectedColor:"#479DFF",barBg:"#222325",buttonBg:"#1B1C1D",buttonBorder:"hsl(0 0% 100% / 0.1)",booleanBg:"#1B1C1D",booleanSelectedBg:"#292B2E",inputBg:"#1B1C1D",inputBorder:"hsl(0 0% 100% / 0.1)",inputTextColor:"#C9CCCF",inputBorderRadius:4},OG=SG,AG={base:"light",colorPrimary:le.primary,colorSecondary:le.secondary,appBg:gr.app,appContentBg:le.lightest,appHoverBg:"#DBECFF",appPreviewBg:le.lightest,appBorderColor:le.border,appBorderRadius:4,fontBase:_r.fonts.base,fontCode:_r.fonts.mono,textColor:le.darkest,textInverseColor:le.lightest,textMutedColor:le.dark,barTextColor:le.dark,barHoverColor:"#005CC7",barSelectedColor:"#0063D6",barBg:le.lightest,buttonBg:gr.app,buttonBorder:le.medium,booleanBg:le.mediumlight,booleanSelectedBg:le.lightest,inputBg:le.lightest,inputBorder:le.border,inputTextColor:le.darkest,inputBorderRadius:4},zc=AG;const{logger:RG}=__STORYBOOK_MODULE_CLIENT_LOGGER__,{global:CG}=__STORYBOOK_MODULE_GLOBAL__;var{window:_u}=CG,PG=e=>({color:e}),MG=e=>typeof e!="string"?(RG.warn(`Color passed to theme object should be a string. Instead ${e}(${typeof e}) was passed.`),!1):!0,NG=e=>!/(gradient|var|calc)/.test(e),kG=(e,t)=>e==="darken"?di(`${sG(1,t)}`,.95):e==="lighten"?di(`${dG(1,t)}`,.95):t,IG=e=>t=>{if(!MG(t)||!NG(t))return t;try{return kG(e,t)}catch{return t}},jG=IG("lighten"),vf=()=>!_u||!_u.matchMedia?"light":_u.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light",eg={light:zc,dark:OG},Ja=vf(),mo={...eg,normal:eg[Ja]},Ef=(e={base:Ja},t)=>{let r={...mo[Ja],...mo[e.base]||{},...e,base:mo[e.base]?e.base:Ja};return{...t,...r,barSelectedColor:e.barSelectedColor||r.colorSecondary}};function qG(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Tu={exports:{}},ye={};var tg;function FG(){if(tg)return ye;tg=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),n=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler"),o=Symbol.for("react.consumer"),a=Symbol.for("react.context"),s=Symbol.for("react.forward_ref"),c=Symbol.for("react.suspense"),l=Symbol.for("react.memo"),d=Symbol.for("react.lazy"),p=Symbol.for("react.activity"),f=Symbol.iterator;function m(F){return F===null||typeof F!="object"?null:(F=f&&F[f]||F["@@iterator"],typeof F=="function"?F:null)}var y={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},g=Object.assign,v={};function b(F,D,G){this.props=F,this.context=D,this.refs=v,this.updater=G||y}b.prototype.isReactComponent={},b.prototype.setState=function(F,D){if(typeof F!="object"&&typeof F!="function"&&F!=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,F,D,"setState")},b.prototype.forceUpdate=function(F){this.updater.enqueueForceUpdate(this,F,"forceUpdate")};function T(){}T.prototype=b.prototype;function O(F,D,G){this.props=F,this.context=D,this.refs=v,this.updater=G||y}var R=O.prototype=new T;R.constructor=O,g(R,b.prototype),R.isPureReactComponent=!0;var P=Array.isArray;function E(){}var _={H:null,A:null,T:null,S:null},x=Object.prototype.hasOwnProperty;function S(F,D,G){var Q=G.ref;return{$$typeof:e,type:F,key:D,ref:Q!==void 0?Q:null,props:G}}function L(F,D){return S(F.type,D,F.props)}function j(F){return typeof F=="object"&&F!==null&&F.$$typeof===e}function J(F){var D={"=":"=0",":":"=2"};return"$"+F.replace(/[=:]/g,function(G){return D[G]})}var N=/\/+/g;function A(F,D){return typeof F=="object"&&F!==null&&F.key!=null?J(""+F.key):D.toString(36)}function q(F){switch(F.status){case"fulfilled":return F.value;case"rejected":throw F.reason;default:switch(typeof F.status=="string"?F.then(E,E):(F.status="pending",F.then(function(D){F.status==="pending"&&(F.status="fulfilled",F.value=D)},function(D){F.status==="pending"&&(F.status="rejected",F.reason=D)})),F.status){case"fulfilled":return F.value;case"rejected":throw F.reason}}throw F}function $(F,D,G,Q,X){var K=typeof F;(K==="undefined"||K==="boolean")&&(F=null);var oe=!1;if(F===null)oe=!0;else switch(K){case"bigint":case"string":case"number":oe=!0;break;case"object":switch(F.$$typeof){case e:case t:oe=!0;break;case d:return oe=F._init,$(oe(F._payload),D,G,Q,X)}}if(oe)return X=X(F),oe=Q===""?"."+A(F,0):Q,P(X)?(G="",oe!=null&&(G=oe.replace(N,"$&/")+"/"),$(X,D,G,"",function(B){return B})):X!=null&&(j(X)&&(X=L(X,G+(X.key==null||F&&F.key===X.key?"":(""+X.key).replace(N,"$&/")+"/")+oe)),D.push(X)),1;oe=0;var se=Q===""?".":Q+":";if(P(F))for(var Te=0;Te<F.length;Te++)Q=F[Te],K=se+A(Q,Te),oe+=$(Q,D,G,K,X);else if(Te=m(F),typeof Te=="function")for(F=Te.call(F),Te=0;!(Q=F.next()).done;)Q=Q.value,K=se+A(Q,Te++),oe+=$(Q,D,G,K,X);else if(K==="object"){if(typeof F.then=="function")return $(q(F),D,G,Q,X);throw D=String(F),Error("Objects are not valid as a React child (found: "+(D==="[object Object]"?"object with keys {"+Object.keys(F).join(", ")+"}":D)+"). If you meant to render a collection of children, use an array instead.")}return oe}function V(F,D,G){if(F==null)return F;var Q=[],X=0;return $(F,Q,"","",function(K){return D.call(G,K,X++)}),Q}function Y(F){if(F._status===-1){var D=F._result;D=D(),D.then(function(G){(F._status===0||F._status===-1)&&(F._status=1,F._result=G)},function(G){(F._status===0||F._status===-1)&&(F._status=2,F._result=G)}),F._status===-1&&(F._status=0,F._result=D)}if(F._status===1)return F._result.default;throw F._result}var ie=typeof reportError=="function"?reportError:function(F){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var D=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof F=="object"&&F!==null&&typeof F.message=="string"?String(F.message):String(F),error:F});if(!window.dispatchEvent(D))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",F);return}console.error(F)},ue={map:V,forEach:function(F,D,G){V(F,function(){D.apply(this,arguments)},G)},count:function(F){var D=0;return V(F,function(){D++}),D},toArray:function(F){return V(F,function(D){return D})||[]},only:function(F){if(!j(F))throw Error("React.Children.only expected to receive a single React element child.");return F}};return ye.Activity=p,ye.Children=ue,ye.Component=b,ye.Fragment=r,ye.Profiler=i,ye.PureComponent=O,ye.StrictMode=n,ye.Suspense=c,ye.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=_,ye.__COMPILER_RUNTIME={__proto__:null,c:function(F){return _.H.useMemoCache(F)}},ye.cache=function(F){return function(){return F.apply(null,arguments)}},ye.cacheSignal=function(){return null},ye.cloneElement=function(F,D,G){if(F==null)throw Error("The argument must be a React element, but you passed "+F+".");var Q=g({},F.props),X=F.key;if(D!=null)for(K in D.key!==void 0&&(X=""+D.key),D)!x.call(D,K)||K==="key"||K==="__self"||K==="__source"||K==="ref"&&D.ref===void 0||(Q[K]=D[K]);var K=arguments.length-2;if(K===1)Q.children=G;else if(1<K){for(var oe=Array(K),se=0;se<K;se++)oe[se]=arguments[se+2];Q.children=oe}return S(F.type,X,Q)},ye.createContext=function(F){return F={$$typeof:a,_currentValue:F,_currentValue2:F,_threadCount:0,Provider:null,Consumer:null},F.Provider=F,F.Consumer={$$typeof:o,_context:F},F},ye.createElement=function(F,D,G){var Q,X={},K=null;if(D!=null)for(Q in D.key!==void 0&&(K=""+D.key),D)x.call(D,Q)&&Q!=="key"&&Q!=="__self"&&Q!=="__source"&&(X[Q]=D[Q]);var oe=arguments.length-2;if(oe===1)X.children=G;else if(1<oe){for(var se=Array(oe),Te=0;Te<oe;Te++)se[Te]=arguments[Te+2];X.children=se}if(F&&F.defaultProps)for(Q in oe=F.defaultProps,oe)X[Q]===void 0&&(X[Q]=oe[Q]);return S(F,K,X)},ye.createRef=function(){return{current:null}},ye.forwardRef=function(F){return{$$typeof:s,render:F}},ye.isValidElement=j,ye.lazy=function(F){return{$$typeof:d,_payload:{_status:-1,_result:F},_init:Y}},ye.memo=function(F,D){return{$$typeof:l,type:F,compare:D===void 0?null:D}},ye.startTransition=function(F){var D=_.T,G={};_.T=G;try{var Q=F(),X=_.S;X!==null&&X(G,Q),typeof Q=="object"&&Q!==null&&typeof Q.then=="function"&&Q.then(E,ie)}catch(K){ie(K)}finally{D!==null&&G.types!==null&&(D.types=G.types),_.T=D}},ye.unstable_useCacheRefresh=function(){return _.H.useCacheRefresh()},ye.use=function(F){return _.H.use(F)},ye.useActionState=function(F,D,G){return _.H.useActionState(F,D,G)},ye.useCallback=function(F,D){return _.H.useCallback(F,D)},ye.useContext=function(F){return _.H.useContext(F)},ye.useDebugValue=function(){},ye.useDeferredValue=function(F,D){return _.H.useDeferredValue(F,D)},ye.useEffect=function(F,D){return _.H.useEffect(F,D)},ye.useEffectEvent=function(F){return _.H.useEffectEvent(F)},ye.useId=function(){return _.H.useId()},ye.useImperativeHandle=function(F,D,G){return _.H.useImperativeHandle(F,D,G)},ye.useInsertionEffect=function(F,D){return _.H.useInsertionEffect(F,D)},ye.useLayoutEffect=function(F,D){return _.H.useLayoutEffect(F,D)},ye.useMemo=function(F,D){return _.H.useMemo(F,D)},ye.useOptimistic=function(F,D){return _.H.useOptimistic(F,D)},ye.useReducer=function(F,D,G){return _.H.useReducer(F,D,G)},ye.useRef=function(F){return _.H.useRef(F)},ye.useState=function(F){return _.H.useState(F)},ye.useSyncExternalStore=function(F,D,G){return _.H.useSyncExternalStore(F,D,G)},ye.useTransition=function(){return _.H.useTransition()},ye.version="19.2.0",ye}var rg;function DG(){return rg||(rg=1,Tu.exports=FG()),Tu.exports}var ke=DG();const LG=qG(ke),aW=tS({__proto__:null,default:LG},[ke]);var $G=ia({"../../node_modules/react-is/cjs/react-is.production.min.js"(e){var t=typeof Symbol=="function"&&Symbol.for,r=t?Symbol.for("react.element"):60103,n=t?Symbol.for("react.portal"):60106,i=t?Symbol.for("react.fragment"):60107,o=t?Symbol.for("react.strict_mode"):60108,a=t?Symbol.for("react.profiler"):60114,s=t?Symbol.for("react.provider"):60109,c=t?Symbol.for("react.context"):60110,l=t?Symbol.for("react.async_mode"):60111,d=t?Symbol.for("react.concurrent_mode"):60111,p=t?Symbol.for("react.forward_ref"):60112,f=t?Symbol.for("react.suspense"):60113,m=t?Symbol.for("react.suspense_list"):60120,y=t?Symbol.for("react.memo"):60115,g=t?Symbol.for("react.lazy"):60116,v=t?Symbol.for("react.block"):60121,b=t?Symbol.for("react.fundamental"):60117,T=t?Symbol.for("react.responder"):60118,O=t?Symbol.for("react.scope"):60119;function R(E){if(typeof E=="object"&&E!==null){var _=E.$$typeof;switch(_){case r:switch(E=E.type,E){case l:case d:case i:case a:case o:case f:return E;default:switch(E=E&&E.$$typeof,E){case c:case p:case g:case y:case s:return E;default:return _}}case n:return _}}}function P(E){return R(E)===d}e.AsyncMode=l,e.ConcurrentMode=d,e.ContextConsumer=c,e.ContextProvider=s,e.Element=r,e.ForwardRef=p,e.Fragment=i,e.Lazy=g,e.Memo=y,e.Portal=n,e.Profiler=a,e.StrictMode=o,e.Suspense=f,e.isAsyncMode=function(E){return P(E)||R(E)===l},e.isConcurrentMode=P,e.isContextConsumer=function(E){return R(E)===c},e.isContextProvider=function(E){return R(E)===s},e.isElement=function(E){return typeof E=="object"&&E!==null&&E.$$typeof===r},e.isForwardRef=function(E){return R(E)===p},e.isFragment=function(E){return R(E)===i},e.isLazy=function(E){return R(E)===g},e.isMemo=function(E){return R(E)===y},e.isPortal=function(E){return R(E)===n},e.isProfiler=function(E){return R(E)===a},e.isStrictMode=function(E){return R(E)===o},e.isSuspense=function(E){return R(E)===f},e.isValidElementType=function(E){return typeof E=="string"||typeof E=="function"||E===i||E===d||E===a||E===o||E===f||E===m||typeof E=="object"&&E!==null&&(E.$$typeof===g||E.$$typeof===y||E.$$typeof===s||E.$$typeof===c||E.$$typeof===p||E.$$typeof===b||E.$$typeof===T||E.$$typeof===O||E.$$typeof===v)},e.typeOf=R}}),BG=ia({"../../node_modules/react-is/index.js"(e,t){t.exports=$G()}}),j0=ia({"../../node_modules/hoist-non-react-statics/dist/hoist-non-react-statics.cjs.js"(e,t){var r=BG(),n={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},i={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},o={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},a={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};s[r.ForwardRef]=o,s[r.Memo]=a;function c(v){return r.isMemo(v)?a:s[v.$$typeof]||n}var l=Object.defineProperty,d=Object.getOwnPropertyNames,p=Object.getOwnPropertySymbols,f=Object.getOwnPropertyDescriptor,m=Object.getPrototypeOf,y=Object.prototype;function g(v,b,T){if(typeof b!="string"){if(y){var O=m(b);O&&O!==y&&g(v,O,T)}var R=d(b);p&&(R=R.concat(p(b)));for(var P=c(v),E=c(b),_=0;_<R.length;++_){var x=R[_];if(!i[x]&&!(T&&T[x])&&!(E&&E[x])&&!(P&&P[x])){var S=f(b,x);try{l(v,x,S)}catch{}}}}return v}t.exports=g}});function UG(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}function HG(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),e.nonce!==void 0&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}var JG=(function(){function e(r){var n=this;this._insertTag=function(i){var o;n.tags.length===0?n.insertionPoint?o=n.insertionPoint.nextSibling:n.prepend?o=n.container.firstChild:o=n.before:o=n.tags[n.tags.length-1].nextSibling,n.container.insertBefore(i,o),n.tags.push(i)},this.isSpeedy=r.speedy===void 0?!0:r.speedy,this.tags=[],this.ctr=0,this.nonce=r.nonce,this.key=r.key,this.container=r.container,this.prepend=r.prepend,this.insertionPoint=r.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(r){r.forEach(this._insertTag)},t.insert=function(r){this.ctr%(this.isSpeedy?65e3:1)===0&&this._insertTag(HG(this));var n=this.tags[this.tags.length-1];if(this.isSpeedy){var i=UG(n);try{i.insertRule(r,i.cssRules.length)}catch{}}else n.appendChild(document.createTextNode(r));this.ctr++},t.flush=function(){this.tags.forEach(function(r){var n;return(n=r.parentNode)==null?void 0:n.removeChild(r)}),this.tags=[],this.ctr=0},e})(),dt="-ms-",Rs="-moz-",Ce="-webkit-",q0="comm",wf="rule",_f="decl",VG="@import",F0="@keyframes",zG="@layer",GG=Math.abs,gl=String.fromCharCode,WG=Object.assign;function KG(e,t){return at(e,0)^45?(((t<<2^at(e,0))<<2^at(e,1))<<2^at(e,2))<<2^at(e,3):0}function D0(e){return e.trim()}function YG(e,t){return(e=t.exec(e))?e[0]:e}function Pe(e,t,r){return e.replace(t,r)}function Gc(e,t){return e.indexOf(t)}function at(e,t){return e.charCodeAt(t)|0}function Bo(e,t,r){return e.slice(t,r)}function tr(e){return e.length}function Tf(e){return e.length}function Ca(e,t){return t.push(e),e}function XG(e,t){return e.map(t).join("")}var bl=1,pi=1,L0=0,_t=0,Xe=0,_i="";function vl(e,t,r,n,i,o,a){return{value:e,root:t,parent:r,type:n,props:i,children:o,line:bl,column:pi,length:a,return:""}}function Yi(e,t){return WG(vl("",null,null,"",null,null,0),e,{length:-e.length},t)}function QG(){return Xe}function ZG(){return Xe=_t>0?at(_i,--_t):0,pi--,Xe===10&&(pi=1,bl--),Xe}function Ct(){return Xe=_t<L0?at(_i,_t++):0,pi++,Xe===10&&(pi=1,bl++),Xe}function sr(){return at(_i,_t)}function Va(){return _t}function sa(e,t){return Bo(_i,e,t)}function Uo(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function $0(e){return bl=pi=1,L0=tr(_i=e),_t=0,[]}function B0(e){return _i="",e}function za(e){return D0(sa(_t-1,Wc(e===91?e+2:e===40?e+1:e)))}function e8(e){for(;(Xe=sr())&&Xe<33;)Ct();return Uo(e)>2||Uo(Xe)>3?"":" "}function t8(e,t){for(;--t&&Ct()&&!(Xe<48||Xe>102||Xe>57&&Xe<65||Xe>70&&Xe<97););return sa(e,Va()+(t<6&&sr()==32&&Ct()==32))}function Wc(e){for(;Ct();)switch(Xe){case e:return _t;case 34:case 39:e!==34&&e!==39&&Wc(Xe);break;case 40:e===41&&Wc(e);break;case 92:Ct();break}return _t}function r8(e,t){for(;Ct()&&e+Xe!==57&&!(e+Xe===84&&sr()===47););return"/*"+sa(t,_t-1)+"*"+gl(e===47?e:Ct())}function n8(e){for(;!Uo(sr());)Ct();return sa(e,_t)}function i8(e){return B0(Ga("",null,null,null,[""],e=$0(e),0,[0],e))}function Ga(e,t,r,n,i,o,a,s,c){for(var l=0,d=0,p=a,f=0,m=0,y=0,g=1,v=1,b=1,T=0,O="",R=i,P=o,E=n,_=O;v;)switch(y=T,T=Ct()){case 40:if(y!=108&&at(_,p-1)==58){Gc(_+=Pe(za(T),"&","&\f"),"&\f")!=-1&&(b=-1);break}case 34:case 39:case 91:_+=za(T);break;case 9:case 10:case 13:case 32:_+=e8(y);break;case 92:_+=t8(Va()-1,7);continue;case 47:switch(sr()){case 42:case 47:Ca(o8(r8(Ct(),Va()),t,r),c);break;default:_+="/"}break;case 123*g:s[l++]=tr(_)*b;case 125*g:case 59:case 0:switch(T){case 0:case 125:v=0;case 59+d:b==-1&&(_=Pe(_,/\f/g,"")),m>0&&tr(_)-p&&Ca(m>32?ig(_+";",n,r,p-1):ig(Pe(_," ","")+";",n,r,p-2),c);break;case 59:_+=";";default:if(Ca(E=ng(_,t,r,l,d,i,s,O,R=[],P=[],p),o),T===123)if(d===0)Ga(_,t,E,E,R,o,p,s,P);else switch(f===99&&at(_,3)===110?100:f){case 100:case 108:case 109:case 115:Ga(e,E,E,n&&Ca(ng(e,E,E,0,0,i,s,O,i,R=[],p),P),i,P,p,s,n?R:P);break;default:Ga(_,E,E,E,[""],P,0,s,P)}}l=d=m=0,g=b=1,O=_="",p=a;break;case 58:p=1+tr(_),m=y;default:if(g<1){if(T==123)--g;else if(T==125&&g++==0&&ZG()==125)continue}switch(_+=gl(T),T*g){case 38:b=d>0?1:(_+="\f",-1);break;case 44:s[l++]=(tr(_)-1)*b,b=1;break;case 64:sr()===45&&(_+=za(Ct())),f=sr(),d=p=tr(O=_+=n8(Va())),T++;break;case 45:y===45&&tr(_)==2&&(g=0)}}return o}function ng(e,t,r,n,i,o,a,s,c,l,d){for(var p=i-1,f=i===0?o:[""],m=Tf(f),y=0,g=0,v=0;y<n;++y)for(var b=0,T=Bo(e,p+1,p=GG(g=a[y])),O=e;b<m;++b)(O=D0(g>0?f[b]+" "+T:Pe(T,/&\f/g,f[b])))&&(c[v++]=O);return vl(e,t,r,i===0?wf:s,c,l,d)}function o8(e,t,r){return vl(e,t,r,q0,gl(QG()),Bo(e,2,-2),0)}function ig(e,t,r,n){return vl(e,t,r,_f,Bo(e,0,n),Bo(e,n+1,-1),n)}function Gn(e,t){for(var r="",n=Tf(e),i=0;i<n;i++)r+=t(e[i],i,e,t)||"";return r}function a8(e,t,r,n){switch(e.type){case zG:if(e.children.length)break;case VG:case _f:return e.return=e.return||e.value;case q0:return"";case F0:return e.return=e.value+"{"+Gn(e.children,n)+"}";case wf:e.value=e.props.join(",")}return tr(r=Gn(e.children,n))?e.return=e.value+"{"+r+"}":""}function s8(e){var t=Tf(e);return function(r,n,i,o){for(var a="",s=0;s<t;s++)a+=e[s](r,n,i,o)||"";return a}}function l8(e){return function(t){t.root||(t=t.return)&&e(t)}}var og=function(e){var t=new WeakMap;return function(r){if(t.has(r))return t.get(r);var n=e(r);return t.set(r,n),n}};function U0(e){var t=Object.create(null);return function(r){return t[r]===void 0&&(t[r]=e(r)),t[r]}}var u8=function(e,t,r){for(var n=0,i=0;n=i,i=sr(),n===38&&i===12&&(t[r]=1),!Uo(i);)Ct();return sa(e,_t)},c8=function(e,t){var r=-1,n=44;do switch(Uo(n)){case 0:n===38&&sr()===12&&(t[r]=1),e[r]+=u8(_t-1,t,r);break;case 2:e[r]+=za(n);break;case 4:if(n===44){e[++r]=sr()===58?"&\f":"",t[r]=e[r].length;break}default:e[r]+=gl(n)}while(n=Ct());return e},d8=function(e,t){return B0(c8($0(e),t))},ag=new WeakMap,p8=function(e){if(!(e.type!=="rule"||!e.parent||e.length<1)){for(var t=e.value,r=e.parent,n=e.column===r.column&&e.line===r.line;r.type!=="rule";)if(r=r.parent,!r)return;if(!(e.props.length===1&&t.charCodeAt(0)!==58&&!ag.get(r))&&!n){ag.set(e,!0);for(var i=[],o=d8(t,i),a=r.props,s=0,c=0;s<o.length;s++)for(var l=0;l<a.length;l++,c++)e.props[c]=i[s]?o[s].replace(/&\f/g,a[l]):a[l]+" "+o[s]}}},f8=function(e){if(e.type==="decl"){var t=e.value;t.charCodeAt(0)===108&&t.charCodeAt(2)===98&&(e.return="",e.value="")}};function H0(e,t){switch(KG(e,t)){case 5103:return Ce+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return Ce+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return Ce+e+Rs+e+dt+e+e;case 6828:case 4268:return Ce+e+dt+e+e;case 6165:return Ce+e+dt+"flex-"+e+e;case 5187:return Ce+e+Pe(e,/(\w+).+(:[^]+)/,Ce+"box-$1$2"+dt+"flex-$1$2")+e;case 5443:return Ce+e+dt+"flex-item-"+Pe(e,/flex-|-self/,"")+e;case 4675:return Ce+e+dt+"flex-line-pack"+Pe(e,/align-content|flex-|-self/,"")+e;case 5548:return Ce+e+dt+Pe(e,"shrink","negative")+e;case 5292:return Ce+e+dt+Pe(e,"basis","preferred-size")+e;case 6060:return Ce+"box-"+Pe(e,"-grow","")+Ce+e+dt+Pe(e,"grow","positive")+e;case 4554:return Ce+Pe(e,/([^-])(transform)/g,"$1"+Ce+"$2")+e;case 6187:return Pe(Pe(Pe(e,/(zoom-|grab)/,Ce+"$1"),/(image-set)/,Ce+"$1"),e,"")+e;case 5495:case 3959:return Pe(e,/(image-set\([^]*)/,Ce+"$1$`$1");case 4968:return Pe(Pe(e,/(.+:)(flex-)?(.*)/,Ce+"box-pack:$3"+dt+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+Ce+e+e;case 4095:case 3583:case 4068:case 2532:return Pe(e,/(.+)-inline(.+)/,Ce+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(tr(e)-1-t>6)switch(at(e,t+1)){case 109:if(at(e,t+4)!==45)break;case 102:return Pe(e,/(.+:)(.+)-([^]+)/,"$1"+Ce+"$2-$3$1"+Rs+(at(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~Gc(e,"stretch")?H0(Pe(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(at(e,t+1)!==115)break;case 6444:switch(at(e,tr(e)-3-(~Gc(e,"!important")&&10))){case 107:return Pe(e,":",":"+Ce)+e;case 101:return Pe(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+Ce+(at(e,14)===45?"inline-":"")+"box$3$1"+Ce+"$2$3$1"+dt+"$2box$3")+e}break;case 5936:switch(at(e,t+11)){case 114:return Ce+e+dt+Pe(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return Ce+e+dt+Pe(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return Ce+e+dt+Pe(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return Ce+e+dt+e+e}return e}var m8=function(e,t,r,n){if(e.length>-1&&!e.return)switch(e.type){case _f:e.return=H0(e.value,e.length);break;case F0:return Gn([Yi(e,{value:Pe(e.value,"@","@"+Ce)})],n);case wf:if(e.length)return XG(e.props,function(i){switch(YG(i,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return Gn([Yi(e,{props:[Pe(i,/:(read-\w+)/,":"+Rs+"$1")]})],n);case"::placeholder":return Gn([Yi(e,{props:[Pe(i,/:(plac\w+)/,":"+Ce+"input-$1")]}),Yi(e,{props:[Pe(i,/:(plac\w+)/,":"+Rs+"$1")]}),Yi(e,{props:[Pe(i,/:(plac\w+)/,dt+"input-$1")]})],n)}return""})}},h8=[m8],J0=function(e){var t=e.key;if(t==="css"){var r=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(r,function(y){var g=y.getAttribute("data-emotion");g.indexOf(" ")!==-1&&(document.head.appendChild(y),y.setAttribute("data-s",""))})}var n=e.stylisPlugins||h8,i={},o,a=[];o=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),function(y){for(var g=y.getAttribute("data-emotion").split(" "),v=1;v<g.length;v++)i[g[v]]=!0;a.push(y)});var s,c=[p8,f8];{var l,d=[a8,l8(function(y){l.insert(y)})],p=s8(c.concat(n,d)),f=function(y){return Gn(i8(y),p)};s=function(y,g,v,b){l=v,f(y?y+"{"+g.styles+"}":g.styles),b&&(m.inserted[g.name]=!0)}}var m={key:t,sheet:new JG({key:t,container:o,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:i,registered:{},insert:s};return m.sheet.hydrate(a),m};fl(j0());var y8=!0;function xf(e,t,r){var n="";return r.split(" ").forEach(function(i){e[i]!==void 0?t.push(e[i]+";"):i&&(n+=i+" ")}),n}var El=function(e,t,r){var n=e.key+"-"+t.name;(r===!1||y8===!1)&&e.registered[n]===void 0&&(e.registered[n]=t.styles)},wl=function(e,t,r){El(e,t,r);var n=e.key+"-"+t.name;if(e.inserted[t.name]===void 0){var i=t;do e.insert(t===i?"."+n:"",i,e.sheet,!0),i=i.next;while(i!==void 0)}};function g8(e){for(var t=0,r,n=0,i=e.length;i>=4;++n,i-=4)r=e.charCodeAt(n)&255|(e.charCodeAt(++n)&255)<<8|(e.charCodeAt(++n)&255)<<16|(e.charCodeAt(++n)&255)<<24,r=(r&65535)*1540483477+((r>>>16)*59797<<16),r^=r>>>24,t=(r&65535)*1540483477+((r>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(i){case 3:t^=(e.charCodeAt(n+2)&255)<<16;case 2:t^=(e.charCodeAt(n+1)&255)<<8;case 1:t^=e.charCodeAt(n)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}var b8={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,scale:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},v8=/[A-Z]|^ms/g,E8=/_EMO_([^_]+?)_([^]*?)_EMO_/g,V0=function(e){return e.charCodeAt(1)===45},sg=function(e){return e!=null&&typeof e!="boolean"},xu=U0(function(e){return V0(e)?e:e.replace(v8,"-$&").toLowerCase()}),lg=function(e,t){switch(e){case"animation":case"animationName":if(typeof t=="string")return t.replace(E8,function(r,n,i){return rr={name:n,styles:i,next:rr},n})}return b8[e]!==1&&!V0(e)&&typeof t=="number"&&t!==0?t+"px":t};function Ho(e,t,r){if(r==null)return"";var n=r;if(n.__emotion_styles!==void 0)return n;switch(typeof r){case"boolean":return"";case"object":{var i=r;if(i.anim===1)return rr={name:i.name,styles:i.styles,next:rr},i.name;var o=r;if(o.styles!==void 0){var a=o.next;if(a!==void 0)for(;a!==void 0;)rr={name:a.name,styles:a.styles,next:rr},a=a.next;var s=o.styles+";";return s}return w8(e,t,r)}case"function":{if(e!==void 0){var c=rr,l=r(e);return rr=c,Ho(e,t,l)}break}}var d=r;if(t==null)return d;var p=t[d];return p!==void 0?p:d}function w8(e,t,r){var n="";if(Array.isArray(r))for(var i=0;i<r.length;i++)n+=Ho(e,t,r[i])+";";else for(var o in r){var a=r[o];if(typeof a!="object"){var s=a;t!=null&&t[s]!==void 0?n+=o+"{"+t[s]+"}":sg(s)&&(n+=xu(o)+":"+lg(o,s)+";")}else if(Array.isArray(a)&&typeof a[0]=="string"&&(t==null||t[a[0]]===void 0))for(var c=0;c<a.length;c++)sg(a[c])&&(n+=xu(o)+":"+lg(o,a[c])+";");else{var l=Ho(e,t,a);switch(o){case"animation":case"animationName":{n+=xu(o)+":"+l+";";break}default:n+=o+"{"+l+"}"}}}return n}var ug=/label:\s*([^\s;{]+)\s*(;|$)/g,rr;function la(e,t,r){if(e.length===1&&typeof e[0]=="object"&&e[0]!==null&&e[0].styles!==void 0)return e[0];var n=!0,i="";rr=void 0;var o=e[0];if(o==null||o.raw===void 0)n=!1,i+=Ho(r,t,o);else{var a=o;i+=a[0]}for(var s=1;s<e.length;s++)if(i+=Ho(r,t,e[s]),n){var c=o;i+=c[s]}ug.lastIndex=0;for(var l="",d;(d=ug.exec(i))!==null;)l+="-"+d[1];var p=g8(i)+l;return{name:p,styles:i,next:rr}}var _8=function(e){return e()},z0=ke.useInsertionEffect?ke.useInsertionEffect:!1,Sf=z0||_8,cg=z0||ke.useLayoutEffect,G0=ke.createContext(typeof HTMLElement<"u"?J0({key:"css"}):null);G0.Provider;var _l=function(e){return ke.forwardRef(function(t,r){var n=ke.useContext(G0);return e(t,n,r)})},Pn=ke.createContext({}),T8=function(){return ke.useContext(Pn)},x8=function(e,t){if(typeof t=="function"){var r=t(e);return r}return ht({},e,t)},S8=og(function(e){return og(function(t){return x8(e,t)})}),O8=function(e){var t=ke.useContext(Pn);return e.theme!==t&&(t=S8(t)(e.theme)),ke.createElement(Pn.Provider,{value:t},e.children)},Of={}.hasOwnProperty,Kc="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",A8=function(e,t){var r={};for(var n in t)Of.call(t,n)&&(r[n]=t[n]);return r[Kc]=e,r},R8=function(e){var t=e.cache,r=e.serialized,n=e.isStringTag;return El(t,r,n),Sf(function(){return wl(t,r,n)}),null},C8=_l(function(e,t,r){var n=e.css;typeof n=="string"&&t.registered[n]!==void 0&&(n=t.registered[n]);var i=e[Kc],o=[n],a="";typeof e.className=="string"?a=xf(t.registered,o,e.className):e.className!=null&&(a=e.className+" ");var s=la(o,void 0,ke.useContext(Pn));a+=t.key+"-"+s.name;var c={};for(var l in e)Of.call(e,l)&&l!=="css"&&l!==Kc&&(c[l]=e[l]);return c.className=a,r&&(c.ref=r),ke.createElement(ke.Fragment,null,ke.createElement(R8,{cache:t,serialized:s,isStringTag:typeof i=="string"}),ke.createElement(i,c))}),P8=C8;fl(j0());var Yc=function(e,t){var r=arguments;if(t==null||!Of.call(t,"css"))return ke.createElement.apply(void 0,r);var n=r.length,i=new Array(n);i[0]=P8,i[1]=A8(e,t);for(var o=2;o<n;o++)i[o]=r[o];return ke.createElement.apply(null,i)};(function(e){var t;t||(t=e.JSX||(e.JSX={}))})(Yc||(Yc={}));_l(function(e,t){var r=e.styles,n=la([r],void 0,ke.useContext(Pn)),i=ke.useRef();return cg(function(){var o=t.key+"-global",a=new t.sheet.constructor({key:o,nonce:t.sheet.nonce,container:t.sheet.container,speedy:t.sheet.isSpeedy}),s=!1,c=document.querySelector('style[data-emotion="'+o+" "+n.name+'"]');return t.sheet.tags.length&&(a.before=t.sheet.tags[0]),c!==null&&(s=!0,c.setAttribute("data-emotion",o),a.hydrate([c])),i.current=[a,s],function(){a.flush()}},[t]),cg(function(){var o=i.current,a=o[0],s=o[1];if(s){o[1]=!1;return}if(n.next!==void 0&&wl(t,n.next,!0),a.tags.length){var c=a.tags[a.tags.length-1].nextElementSibling;a.before=c,a.flush()}t.insert("",n,a,!1)},[t,n.name]),null});function Tl(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return la(t)}function ua(){var e=Tl.apply(void 0,arguments),t="animation-"+e.name;return{name:t,styles:"@keyframes "+t+"{"+e.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}}var M8=function e(t){for(var r=t.length,n=0,i="";n<r;n++){var o=t[n];if(o!=null){var a=void 0;switch(typeof o){case"boolean":break;case"object":{if(Array.isArray(o))a=e(o);else{a="";for(var s in o)o[s]&&s&&(a&&(a+=" "),a+=s)}break}default:a=o}a&&(i&&(i+=" "),i+=a)}}return i};function N8(e,t,r){var n=[],i=xf(e,n,r);return n.length<2?r:i+t(n)}var k8=function(e){var t=e.cache,r=e.serializedArr;return Sf(function(){for(var n=0;n<r.length;n++)wl(t,r[n],!1)}),null};_l(function(e,t){var r=[],n=function(){for(var s=arguments.length,c=new Array(s),l=0;l<s;l++)c[l]=arguments[l];var d=la(c,t.registered);return r.push(d),El(t,d,!1),t.key+"-"+d.name},i=function(){for(var s=arguments.length,c=new Array(s),l=0;l<s;l++)c[l]=arguments[l];return N8(t.registered,n,M8(c))},o={css:n,cx:i,theme:ke.useContext(Pn)},a=e.children(o);return ke.createElement(ke.Fragment,null,ke.createElement(k8,{cache:t,serializedArr:r}),a)});var I8=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|fetchpriority|fetchPriority|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|popover|popoverTarget|popoverTargetAction|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,W0=U0(function(e){return I8.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91}),j8=W0,q8=function(e){return e!=="theme"},dg=function(e){return typeof e=="string"&&e.charCodeAt(0)>96?j8:q8},pg=function(e,t,r){var n;if(t){var i=t.shouldForwardProp;n=e.__emotion_forwardProp&&i?function(o){return e.__emotion_forwardProp(o)&&i(o)}:i}return typeof n!="function"&&r&&(n=e.__emotion_forwardProp),n},F8=function(e){var t=e.cache,r=e.serialized,n=e.isStringTag;return El(t,r,n),Sf(function(){return wl(t,r,n)}),null},D8=function e(t,r){var n=t.__emotion_real===t,i=n&&t.__emotion_base||t,o,a;r!==void 0&&(o=r.label,a=r.target);var s=pg(t,r,n),c=s||dg(i),l=!c("as");return function(){var d=arguments,p=n&&t.__emotion_styles!==void 0?t.__emotion_styles.slice(0):[];if(o!==void 0&&p.push("label:"+o+";"),d[0]==null||d[0].raw===void 0)p.push.apply(p,d);else{var f=d[0];p.push(f[0]);for(var m=d.length,y=1;y<m;y++)p.push(d[y],f[y])}var g=_l(function(v,b,T){var O=l&&v.as||i,R="",P=[],E=v;if(v.theme==null){E={};for(var _ in v)E[_]=v[_];E.theme=ke.useContext(Pn)}typeof v.className=="string"?R=xf(b.registered,P,v.className):v.className!=null&&(R=v.className+" ");var x=la(p.concat(P),b.registered,E);R+=b.key+"-"+x.name,a!==void 0&&(R+=" "+a);var S=l&&s===void 0?dg(O):c,L={};for(var j in v)l&&j==="as"||S(j)&&(L[j]=v[j]);return L.className=R,T&&(L.ref=T),ke.createElement(ke.Fragment,null,ke.createElement(F8,{cache:b,serialized:x,isStringTag:typeof O=="string"}),ke.createElement(O,L))});return g.displayName=o!==void 0?o:"Styled("+(typeof i=="string"?i:i.displayName||i.name||"Component")+")",g.defaultProps=t.defaultProps,g.__emotion_real=g,g.__emotion_base=i,g.__emotion_styles=p,g.__emotion_forwardProp=s,Object.defineProperty(g,"toString",{value:function(){return"."+a}}),g.withComponent=function(v,b){var T=e(v,ht({},r,b,{shouldForwardProp:pg(g,b,!0)}));return T.apply(void 0,p)},g}},L8=["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"],Xc=D8.bind(null);L8.forEach(function(e){Xc[e]=Xc(e)});var K0=fl(jV(),1),Y0=(0,K0.default)(1)(({typography:e})=>({body:{fontFamily:e.fonts.base,fontSize:e.size.s3,margin:0,WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)",WebkitOverflowScrolling:"touch"},"*":{boxSizing:"border-box"},"h1, h2, h3, h4, h5, h6":{fontWeight:e.weight.regular,margin:0,padding:0},"button, input, textarea, select":{fontFamily:"inherit",fontSize:"inherit",boxSizing:"border-box"},sub:{fontSize:"0.8em",bottom:"-0.2em"},sup:{fontSize:"0.8em",top:"-0.2em"},"b, strong":{fontWeight:e.weight.bold},hr:{border:"none",borderTop:"1px solid silver",clear:"both",marginBottom:"1.25rem"},code:{fontFamily:e.fonts.mono,WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",display:"inline-block",paddingLeft:2,paddingRight:2,verticalAlign:"baseline",color:"inherit"},pre:{fontFamily:e.fonts.mono,WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",lineHeight:"18px",padding:"11px 1rem",whiteSpace:"pre-wrap",color:"inherit",borderRadius:3,margin:"1rem 0"}}));(0,K0.default)(1)(({color:e,background:t,typography:r})=>{let n=Y0({typography:r});return{...n,body:{...n.body,position:"fixed",width:"100vw",height:"100vh",overflow:"hidden",color:e.defaultText,background:t.app},hr:{...n.hr,borderTop:`1px solid ${e.border}`},".sb-sr-only, .sb-hidden-until-focus:not(:focus)":{position:"absolute",width:1,height:1,padding:0,margin:-1,overflow:"hidden",whiteSpace:"nowrap",clip:"rect(0, 0, 0, 0)",clipPath:"inset(50%)",border:0},".sb-hidden-until-focus":{opacity:0,transition:"opacity 150ms ease-out"},".sb-hidden-until-focus:focus":{opacity:1},"[data-sb-landmark]":{position:"relative"},"[data-sb-landmark]:focus-visible":{outline:"none"},"[data-sb-landmark]:focus-visible::after":{outline:`2px solid ${e.primary}`,outlineOffset:"-2px"},"[data-sb-landmark]::after":{content:"''",position:"absolute",inset:0,pointerEvents:"none"},".react-aria-Popover:focus-visible":{outline:"none"}}});var $8={rubber:"cubic-bezier(0.175, 0.885, 0.335, 1.05)"},B8=ua`
1067
+ from {
1068
+ transform: rotate(0deg);
1069
+ }
1070
+ to {
1071
+ transform: rotate(360deg);
1072
+ }
1073
+ `,X0=ua`
1074
+ 0%, 100% { opacity: 1; }
1075
+ 50% { opacity: .4; }
1076
+ `,U8=ua`
1077
+ 0% { transform: translateY(1px); }
1078
+ 25% { transform: translateY(0px); }
1079
+ 50% { transform: translateY(-3px); }
1080
+ 100% { transform: translateY(1px); }
1081
+ `,H8=ua`
1082
+ 0%, 100% { transform:translate3d(0,0,0); }
1083
+ 12.5%, 62.5% { transform:translate3d(-4px,0,0); }
1084
+ 37.5%, 87.5% { transform: translate3d(4px,0,0); }
1085
+ `,J8=Tl`
1086
+ animation: ${X0} 1.5s ease-in-out infinite;
1087
+ color: transparent;
1088
+ cursor: progress;
1089
+ `,V8=Tl`
1090
+ transition: all 150ms ease-out;
1091
+ transform: translate3d(0, 0, 0);
1092
+
1093
+ &:hover {
1094
+ transform: translate3d(0, -2px, 0);
1095
+ }
1096
+
1097
+ &:active {
1098
+ transform: translate3d(0, 0, 0);
1099
+ }
1100
+ `,z8={rotate360:B8,glow:X0,float:U8,jiggle:H8,inlineGlow:J8,hoverable:V8},G8={BASE_FONT_FAMILY:"Menlo, monospace",BASE_FONT_SIZE:"11px",BASE_LINE_HEIGHT:1.2,BASE_BACKGROUND_COLOR:"rgb(36, 36, 36)",BASE_COLOR:"rgb(213, 213, 213)",OBJECT_PREVIEW_ARRAY_MAX_PROPERTIES:10,OBJECT_PREVIEW_OBJECT_MAX_PROPERTIES:5,OBJECT_NAME_COLOR:"rgb(227, 110, 236)",OBJECT_VALUE_NULL_COLOR:"rgb(127, 127, 127)",OBJECT_VALUE_UNDEFINED_COLOR:"rgb(127, 127, 127)",OBJECT_VALUE_REGEXP_COLOR:"rgb(233, 63, 59)",OBJECT_VALUE_STRING_COLOR:"rgb(233, 63, 59)",OBJECT_VALUE_SYMBOL_COLOR:"rgb(233, 63, 59)",OBJECT_VALUE_NUMBER_COLOR:"hsl(252, 100%, 75%)",OBJECT_VALUE_BOOLEAN_COLOR:"hsl(252, 100%, 75%)",OBJECT_VALUE_FUNCTION_PREFIX_COLOR:"rgb(85, 106, 242)",HTML_TAG_COLOR:"rgb(93, 176, 215)",HTML_TAGNAME_COLOR:"rgb(93, 176, 215)",HTML_TAGNAME_TEXT_TRANSFORM:"lowercase",HTML_ATTRIBUTE_NAME_COLOR:"rgb(155, 187, 220)",HTML_ATTRIBUTE_VALUE_COLOR:"rgb(242, 151, 102)",HTML_COMMENT_COLOR:"rgb(137, 137, 137)",HTML_DOCTYPE_COLOR:"rgb(192, 192, 192)",ARROW_COLOR:"rgb(145, 145, 145)",ARROW_MARGIN_RIGHT:3,ARROW_FONT_SIZE:12,ARROW_ANIMATION_DURATION:"0",TREENODE_FONT_FAMILY:"Menlo, monospace",TREENODE_FONT_SIZE:"11px",TREENODE_LINE_HEIGHT:1.2,TREENODE_PADDING_LEFT:12,TABLE_BORDER_COLOR:"rgb(85, 85, 85)",TABLE_TH_BACKGROUND_COLOR:"rgb(44, 44, 44)",TABLE_TH_HOVER_COLOR:"rgb(48, 48, 48)",TABLE_SORT_ICON_COLOR:"black",TABLE_DATA_BACKGROUND_IMAGE:"linear-gradient(rgba(255, 255, 255, 0), rgba(255, 255, 255, 0) 50%, rgba(51, 139, 255, 0.0980392) 50%, rgba(51, 139, 255, 0.0980392))",TABLE_DATA_BACKGROUND_SIZE:"128px 32px"},W8={BASE_FONT_FAMILY:"Menlo, monospace",BASE_FONT_SIZE:"11px",BASE_LINE_HEIGHT:1.2,BASE_BACKGROUND_COLOR:"white",BASE_COLOR:"black",OBJECT_PREVIEW_ARRAY_MAX_PROPERTIES:10,OBJECT_PREVIEW_OBJECT_MAX_PROPERTIES:5,OBJECT_NAME_COLOR:"rgb(136, 19, 145)",OBJECT_VALUE_NULL_COLOR:"rgb(128, 128, 128)",OBJECT_VALUE_UNDEFINED_COLOR:"rgb(128, 128, 128)",OBJECT_VALUE_REGEXP_COLOR:"rgb(196, 26, 22)",OBJECT_VALUE_STRING_COLOR:"rgb(196, 26, 22)",OBJECT_VALUE_SYMBOL_COLOR:"rgb(196, 26, 22)",OBJECT_VALUE_NUMBER_COLOR:"rgb(28, 0, 207)",OBJECT_VALUE_BOOLEAN_COLOR:"rgb(28, 0, 207)",OBJECT_VALUE_FUNCTION_PREFIX_COLOR:"rgb(13, 34, 170)",HTML_TAG_COLOR:"rgb(168, 148, 166)",HTML_TAGNAME_COLOR:"rgb(136, 18, 128)",HTML_TAGNAME_TEXT_TRANSFORM:"lowercase",HTML_ATTRIBUTE_NAME_COLOR:"rgb(153, 69, 0)",HTML_ATTRIBUTE_VALUE_COLOR:"rgb(26, 26, 166)",HTML_COMMENT_COLOR:"rgb(35, 110, 37)",HTML_DOCTYPE_COLOR:"rgb(192, 192, 192)",ARROW_COLOR:"#6e6e6e",ARROW_MARGIN_RIGHT:3,ARROW_FONT_SIZE:12,ARROW_ANIMATION_DURATION:"0",TREENODE_FONT_FAMILY:"Menlo, monospace",TREENODE_FONT_SIZE:"11px",TREENODE_LINE_HEIGHT:1.2,TREENODE_PADDING_LEFT:12,TABLE_BORDER_COLOR:"#aaa",TABLE_TH_BACKGROUND_COLOR:"#eee",TABLE_TH_HOVER_COLOR:"hsla(0, 0%, 90%, 1)",TABLE_SORT_ICON_COLOR:"#6e6e6e",TABLE_DATA_BACKGROUND_IMAGE:"linear-gradient(to bottom, white, white 50%, rgb(234, 243, 255) 50%, rgb(234, 243, 255))",TABLE_DATA_BACKGROUND_SIZE:"128px 32px"},K8=e=>Object.entries(e).reduce((t,[r,n])=>({...t,[r]:PG(n)}),{}),Y8=({colors:e,mono:t})=>{let r=K8(e);return{token:{fontFamily:t,WebkitFontSmoothing:"antialiased","&.tag":r.red3,"&.comment":{...r.green1,fontStyle:"italic"},"&.prolog":{...r.green1,fontStyle:"italic"},"&.doctype":{...r.green1,fontStyle:"italic"},"&.cdata":{...r.green1,fontStyle:"italic"},"&.string":r.red1,"&.url":r.cyan1,"&.symbol":r.cyan1,"&.number":r.cyan1,"&.boolean":r.cyan1,"&.variable":r.cyan1,"&.constant":r.cyan1,"&.inserted":r.cyan1,"&.atrule":r.blue1,"&.keyword":r.blue1,"&.attr-value":r.blue1,"&.punctuation":r.gray1,"&.operator":r.gray1,"&.function":r.gray1,"&.deleted":r.red2,"&.important":{fontWeight:"bold"},"&.bold":{fontWeight:"bold"},"&.italic":{fontStyle:"italic"},"&.class-name":r.cyan2,"&.selector":r.red3,"&.attr-name":r.red4,"&.property":r.red4,"&.regex":r.red4,"&.entity":r.red4,"&.directive.tag .tag":{background:"#ffff00",...r.gray1}},"language-json .token.boolean":r.blue1,"language-json .token.number":r.blue1,"language-json .token.property":r.cyan2,namespace:{opacity:.7}}},X8={green1:"#008000",red1:"#A31515",red2:"#9a050f",red3:"#800000",red4:"#eb0000",gray1:"#393A34",cyan1:"#008380",cyan2:"#007ca0",blue1:"#0000ff",blue2:"#00009f"},Q8={green1:"#95999D",red1:"#92C379",red2:"#9a050f",red3:"#A8FF60",red4:"#96CBFE",gray1:"#EDEDED",cyan1:"#C6C5FE",cyan2:"#FFFFB6",blue1:"#B474DD",blue2:"#00009f"},Z8=e=>({primary:e.colorPrimary,secondary:e.colorSecondary,tertiary:le.tertiary,ancillary:le.ancillary,orange:le.orange,gold:le.gold,green:le.green,seafoam:le.seafoam,purple:le.purple,ultraviolet:le.ultraviolet,lightest:le.lightest,lighter:le.lighter,light:le.light,mediumlight:le.mediumlight,medium:le.medium,mediumdark:le.mediumdark,dark:le.dark,darker:le.darker,darkest:le.darkest,border:le.border,positive:le.positive,negative:le.negative,warning:le.warning,critical:le.critical,defaultText:e.textColor||le.darkest,inverseText:e.textInverseColor||le.lightest,positiveText:le.positiveText,negativeText:le.negativeText,warningText:le.warningText}),Qc=(e=mo[vf()])=>{let{base:t,colorPrimary:r,colorSecondary:n,appBg:i,appContentBg:o,appHoverBg:a,appPreviewBg:s,appBorderColor:c,appBorderRadius:l,fontBase:d,fontCode:p,textColor:f,textInverseColor:m,barTextColor:y,barHoverColor:g,barSelectedColor:v,barBg:b,buttonBg:T,buttonBorder:O,booleanBg:R,booleanSelectedBg:P,inputBg:E,inputBorder:_,inputTextColor:x,inputBorderRadius:S,brandTitle:L,brandUrl:j,brandImage:J,brandTarget:N,gridCellSize:A,...q}=e;return{...q,base:t,...t==="dark"?Vc.dark:Vc.light,color:Z8(e),background:{app:i,bar:b,content:o,preview:s,gridCellSize:A||gr.gridCellSize,hoverable:a,positive:gr.positive,negative:gr.negative,warning:gr.warning,critical:gr.critical},typography:{fonts:{base:d,mono:p},weight:_r.weight,size:_r.size},animation:z8,easing:$8,input:{background:E,border:_,borderRadius:S,color:x},button:{background:T||E,border:O||_},boolean:{background:R||_,selectedBackground:P||E},layoutMargin:10,appBorderColor:c,appBorderRadius:l,barTextColor:y,barHoverColor:g||n,barSelectedColor:v||n,barBg:b,brand:{title:L,url:j,image:J||(L?null:void 0),target:N},code:Y8({colors:t==="dark"?Q8:X8,mono:p}),addonActionsTheme:{...t==="dark"?G8:W8,BASE_FONT_FAMILY:p,BASE_FONT_SIZE:_r.size.s2-1,BASE_LINE_HEIGHT:"18px",BASE_BACKGROUND_COLOR:"transparent",BASE_COLOR:f,ARROW_COLOR:yG(.2,c),ARROW_MARGIN_RIGHT:4,ARROW_FONT_SIZE:8,TREENODE_FONT_FAMILY:p,TREENODE_FONT_SIZE:_r.size.s2-1,TREENODE_LINE_HEIGHT:"18px",TREENODE_PADDING_LEFT:12}}};const{logger:e9}=__STORYBOOK_MODULE_CLIENT_LOGGER__;var t9=e=>Object.keys(e).length===0,Su=e=>e!=null&&typeof e=="object",r9=(e,...t)=>Object.prototype.hasOwnProperty.call(e,...t),n9=()=>Object.create(null),Q0=(e,t)=>e===t||!Su(e)||!Su(t)?{}:Object.keys(e).reduce((r,n)=>{if(r9(t,n)){let i=Q0(e[n],t[n]);return Su(i)&&t9(i)||(r[n]=i),r}return r[n]=void 0,r},n9()),i9=Q0,o9=e=>{if(!e)return Qc(zc);let t=i9(zc,e);return Object.keys(t).length&&e9.warn(qV`
1101
+ Your theme is missing properties, you should update your theme!
1102
+
1103
+ theme-data missing:
1104
+ `,t),Qc(e)},a9="/* emotion-disable-server-rendering-unsafe-selector-warning-please-do-not-use-this-the-warning-exists-for-a-reason */";const sW=Object.freeze(Object.defineProperty({__proto__:null,ThemeProvider:O8,background:gr,color:le,convert:Qc,create:Ef,createCache:J0,createReset:Y0,css:Tl,ensure:o9,getPreferredColorScheme:vf,ignoreSsrWarning:a9,isPropValid:W0,get jsx(){return Yc},keyframes:ua,lighten:jG,styled:Xc,themes:mo,tokens:Vc,typography:_r,useTheme:T8},Symbol.toStringTag,{value:"Module"})),Z0={brandTitle:"Brightspot UI",brandImage:"/brightspot-logo.svg",brandTarget:"_self"},Ou=Ef({base:"light",...Z0,colorPrimary:"#F0433E",colorSecondary:"#144CEB",appBg:"#FCFCFD",appContentBg:"#FFFFFF",appPreviewBg:"#FFFFFF",appBorderColor:"#EAECF0",appBorderRadius:6,textColor:"#101828",textInverseColor:"#FFFFFF",textMutedColor:"#667085",barTextColor:"#667085",barHoverColor:"#1D2939",barSelectedColor:"#144CEB",barBg:"#F9FAFB",inputBg:"#FFFFFF",inputBorder:"#D0D5DD",inputTextColor:"#101828",inputBorderRadius:4,fontBase:'"Noto Sans", "Helvetica Neue", Arial, sans-serif',fontCode:"monospace"}),Au=Ef({base:"dark",...Z0,colorPrimary:"#FDA398",colorSecondary:"#235CEF",appBg:"#1E1F21",appContentBg:"#1E1F21",appPreviewBg:"#1E1F21",appBorderColor:"#3E3E40",appBorderRadius:6,textColor:"#FAFAFA",textInverseColor:"#1E1F21",textMutedColor:"#B9B7B9",barTextColor:"#B9B7B9",barHoverColor:"#F5F5F5",barSelectedColor:"#D1E0FF",barBg:"#2A2B2D",inputBg:"#1E1F21",inputBorder:"#464648",inputTextColor:"#FAFAFA",inputBorderRadius:4,fontBase:'"Noto Sans", "Helvetica Neue", Arial, sans-serif',fontCode:"monospace"});Sz(j6);const eS=window.matchMedia("(prefers-color-scheme: dark)");eS.addEventListener("change",()=>window.location.reload());let Wa=null;function s9(){if(Wa)return;const e=document.createElement("div");e.className="btu-slot-overlay-layer",document.body.appendChild(e);const t=new Map;let r=0;const n=()=>{const i=new Set;document.querySelectorAll("[slot]").forEach(o=>{const a=o.getBoundingClientRect();if(a.width===0&&a.height===0)return;i.add(o);let s=t.get(o);if(!s){s=document.createElement("div"),s.className="btu-slot-overlay-box";const c=document.createElement("span");c.className="btu-slot-overlay-label",c.textContent=o.getAttribute("slot"),s.appendChild(c),e.appendChild(s),t.set(o,s)}s.style.transform=`translate(${a.left}px, ${a.top}px)`,s.style.width=`${a.width}px`,s.style.height=`${a.height}px`}),t.forEach((o,a)=>{i.has(a)||(o.remove(),t.delete(a))}),r=requestAnimationFrame(n)};r=requestAnimationFrame(n),Wa=()=>{cancelAnimationFrame(r),e.remove(),Wa=null}}function l9(){Wa?.()}O6({hideArgRef:!1,typeRef:{"lit-html":"https://lit.dev/docs/api/templates/"},renderDefaultValues:!0,categoryOrder:["attributes","properties","slots","methods","events","cssStates","cssProps"]});const u9={parameters:{docs:{theme:eS.matches?Au:Ou},options:{storySort:{order:["Welcome","*"]}},backgrounds:{options:{customColor:{name:"gradient",value:"linear-gradient(330deg, #dee0f0 0, #fefdff 100%)"}}},controls:{expanded:!0,matchers:{color:/(background|color)$/i,date:/Date$/i}}},globalTypes:{theme:{description:"Light/Dark mode for components",toolbar:{title:"Theme",icon:"circlehollow",items:[{value:"light",title:"Light mode",icon:"sun"},{value:"dark",title:"Dark mode",icon:"moon"}],dynamicTitle:!0}},slots:{description:"Outline slotted content",toolbar:{title:"Slots",icon:"eyeclose",items:[{value:"off",title:"Slots not outlined",icon:"eyeclose"},{value:"on",title:"Slots outlined",icon:"eye"}],dynamicTitle:!0}},direction:{description:"Text direction (LTR / RTL) for components",toolbar:{title:"Direction",icon:"transfer",items:[{value:"ltr",title:"LTR"},{value:"rtl",title:"RTL"}],dynamicTitle:!0}}},initialGlobals:{theme:"light",slots:"off",direction:"ltr"},decorators:[(e,t)=>{t.globals.slots==="on"?s9():l9();const n=(t.globals.theme||"light")==="dark";return document.body.style.backgroundColor=n?Au.appBg:Ou.appContentBg,document.body.style.color=n?Au.textColor:Ou.textColor,document.documentElement.classList.toggle("is-dark",n),document.documentElement.dir=t.globals.direction||"ltr",n0`<div class="${n?"darkTheme is-dark":"lightTheme"}">${e()}</div>`}]},c9=Object.freeze(Object.defineProperty({__proto__:null,default:u9},Symbol.toStringTag,{value:"Module"}));Wx();const{composeConfigs:d9,PreviewWeb:p9}=__STORYBOOK_MODULE_PREVIEW_API__,f9=(e=[])=>{const t=[e[0]??hz,e[1]??Dz,e[2]??Lz,e[3]??Wz,e[4]??c9];return d9(t)};window.__STORYBOOK_PREVIEW__=window.__STORYBOOK_PREVIEW__||new p9(DV,f9);window.__STORYBOOK_STORY_STORE__=window.__STORYBOOK_STORY_STORE__||window.__STORYBOOK_PREVIEW__.storyStore;export{dG as $,H9 as A,U9 as B,B9 as C,$9 as D,Ke as E,L9 as F,D9 as G,F9 as H,M9 as I,P9 as J,C9 as K,O9 as L,fl as M,g9 as N,qV as O,DG as P,qG as Q,LG as R,Xc as S,jV as T,Ef as U,oW as V,ua as W,sG as X,W0 as Y,di as Z,ia as _,yu as a,aW as a0,jG as a1,le as a2,ht as a3,a9 as a4,_r as a5,T8 as a6,O8 as a7,Qc as a8,mo as a9,o9 as aa,Y9 as ab,cz as ac,ws as ad,E0 as ae,b0 as af,Cn as ag,Zx as ah,Dc as ai,nW as aj,rW as ak,sW as al,b9 as b,v9 as c,w9 as d,v0 as e,Qz as f,iW as g,N9 as h,Ua as i,_9 as j,R9 as k,S9 as l,T9 as m,x9 as n,I9 as o,E9 as p,j9 as q,ke as r,A9 as s,q9 as t,k9 as u,G9 as v,z9 as w,n0 as x,V9 as y,J9 as z};