@patternfly/patternfly-doc-core 1.12.0 → 1.12.2

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 (460) hide show
  1. package/.astro/collections/{examples.schema.json → react-component-docs.schema.json} +4 -3
  2. package/.astro/content-modules.mjs +84 -2
  3. package/.astro/content.d.ts +3 -11
  4. package/cli/cli.ts +35 -16
  5. package/cli/convertToMDX.ts +10 -3
  6. package/cli/createCollectionContent.ts +2 -1
  7. package/dist/cli/cli.js +17 -6
  8. package/dist/cli/convertToMDX.js +8 -3
  9. package/dist/cli/createCollectionContent.js +2 -1
  10. package/dist/docs/_astro/AutoLinkHeader.BijNRLMB.js +1 -0
  11. package/dist/docs/_astro/CSSTable.-Emc9iTg.js +1 -0
  12. package/dist/docs/_astro/DropdownList.DP2npVYh.js +1 -0
  13. package/dist/docs/_astro/Label.CM_es7Cu.js +1 -0
  14. package/dist/docs/_astro/LiveExample.B5R4Dzng.js +263 -0
  15. package/dist/docs/_astro/Navigation.B2RHZcqO.js +1 -0
  16. package/dist/docs/_astro/PageSidebarBody.DgDLnRuY.js +1 -0
  17. package/dist/docs/_astro/PropsTables.D6ZI3FGj.css +1 -0
  18. package/dist/docs/_astro/PropsTables.YkW1puJk.js +1 -0
  19. package/dist/docs/_astro/SearchInput.CQ7aDztp.js +1 -0
  20. package/dist/docs/_astro/SectionGallery.B0I2mi5J.js +1 -0
  21. package/dist/docs/_astro/StackItem.CMxajCCo.js +1 -0
  22. package/dist/docs/_astro/Toolbar.BNjGRsAQ.js +1 -0
  23. package/dist/docs/_astro/ToolbarContent.CAAHjZHW.js +1 -0
  24. package/dist/{_astro/_page_.D1z73Byz.css → docs/_astro/_page_.BG_fQ4i5.css} +1 -1
  25. package/dist/docs/_astro/angle-down-icon.Dqz5ba9D.js +1 -0
  26. package/dist/docs/_astro/c_table__sticky_cell_InsetInlineStart.DGzYmtkF.js +8 -0
  27. package/dist/{_astro/divider.BLVh3KnH.js → docs/_astro/divider.BP4XR7uq.js} +1 -1
  28. package/dist/docs/_astro/index.DGdw5tfb.js +16 -0
  29. package/dist/{_astro/patternfly_charts.Dp3KzAU6.js → docs/_astro/patternfly_charts.CpLYMsW2.js} +23 -30
  30. package/dist/docs/_astro/resizeObserver.BgQpxO8W.js +1 -0
  31. package/dist/{_routes.json → docs/_routes.json} +1 -3
  32. package/dist/{_worker.js → docs/_worker.js}/_@astrojs-ssr-adapter.mjs +1 -1
  33. package/dist/{_worker.js → docs/_worker.js}/_astro-internal_middleware.mjs +3 -3
  34. package/dist/docs/_worker.js/chunks/Backdrop_ByJvccKQ.mjs +1 -0
  35. package/dist/docs/_worker.js/chunks/Backdrop_D12wBLrB.mjs +1 -0
  36. package/dist/docs/_worker.js/chunks/BackgroundImage_7zaRIuh-.mjs +1 -0
  37. package/dist/docs/_worker.js/chunks/BackgroundImage_BFUrU51J.mjs +1 -0
  38. package/dist/docs/_worker.js/chunks/Badge_DloPmeMn.mjs +1 -0
  39. package/dist/docs/_worker.js/chunks/Badge_DxGDbEGv.mjs +1 -0
  40. package/dist/docs/_worker.js/chunks/Banner_4Te4yy7I.mjs +1 -0
  41. package/dist/docs/_worker.js/chunks/Banner_FbFCGml0.mjs +1 -0
  42. package/dist/docs/_worker.js/chunks/Brand_Cjeb58fX.mjs +1 -0
  43. package/dist/docs/_worker.js/chunks/Brand_DZEvbkMH.mjs +1 -0
  44. package/dist/docs/_worker.js/chunks/Breadcrumb_DkNDUMw0.mjs +1 -0
  45. package/dist/docs/_worker.js/chunks/Breadcrumb_bVSwIfTk.mjs +1 -0
  46. package/dist/docs/_worker.js/chunks/Button_BqggYTWh.mjs +1 -0
  47. package/dist/docs/_worker.js/chunks/Button_DbZb-z5h.mjs +1 -0
  48. package/dist/docs/_worker.js/chunks/CalendarMonth_BdoIQD1o.mjs +1 -0
  49. package/dist/docs/_worker.js/chunks/CalendarMonth_BqZc2rYW.mjs +1 -0
  50. package/dist/docs/_worker.js/chunks/Card_BW6WmwTW.mjs +1 -0
  51. package/dist/docs/_worker.js/chunks/Card_CEDol7Xx.mjs +1 -0
  52. package/dist/docs/_worker.js/chunks/Checkbox_BqVpiIvF.mjs +1 -0
  53. package/dist/docs/_worker.js/chunks/Checkbox_DSYhfv7p.mjs +1 -0
  54. package/dist/docs/_worker.js/chunks/Chip_BciXepRF.mjs +1 -0
  55. package/dist/docs/_worker.js/chunks/Chip_C23BxFTk.mjs +1 -0
  56. package/dist/docs/_worker.js/chunks/ClipboardCopy_BjySfoK1.mjs +1 -0
  57. package/dist/docs/_worker.js/chunks/ClipboardCopy_CvrD2b3T.mjs +1 -0
  58. package/dist/docs/_worker.js/chunks/CodeBlock_CuH1PrfL.mjs +1 -0
  59. package/dist/docs/_worker.js/chunks/CodeBlock_DK5AauFn.mjs +1 -0
  60. package/dist/docs/_worker.js/chunks/Content_BfZIFUr8.mjs +1 -0
  61. package/dist/docs/_worker.js/chunks/Content_lBUC3eEp.mjs +1 -0
  62. package/dist/docs/_worker.js/chunks/DataList_CSJAkMMZ.mjs +1 -0
  63. package/dist/docs/_worker.js/chunks/DataList_CaFvg0uz.mjs +1 -0
  64. package/dist/docs/_worker.js/chunks/DatePicker_Cw2abdEU.mjs +1 -0
  65. package/dist/docs/_worker.js/chunks/DatePicker_bYwsFHXL.mjs +1 -0
  66. package/dist/docs/_worker.js/chunks/DescriptionList_BTTyevMb.mjs +1 -0
  67. package/dist/docs/_worker.js/chunks/DescriptionList_Dr51d-67.mjs +1 -0
  68. package/dist/docs/_worker.js/chunks/Divider_BgOt1--F.mjs +1 -0
  69. package/dist/docs/_worker.js/chunks/Divider_Bh7n4QTo.mjs +1 -0
  70. package/dist/docs/_worker.js/chunks/DragDrop_BF-aF6Z8.mjs +1 -0
  71. package/dist/docs/_worker.js/chunks/DragDrop_DId590rN.mjs +1 -0
  72. package/dist/docs/_worker.js/chunks/Drawer_BVywTMVo.mjs +1 -0
  73. package/dist/docs/_worker.js/chunks/Drawer_RrCnySEa.mjs +1 -0
  74. package/dist/docs/_worker.js/chunks/Dropdown_BjtqviYW.mjs +1 -0
  75. package/dist/docs/_worker.js/chunks/Dropdown_GiUvjFPw.mjs +1 -0
  76. package/dist/docs/_worker.js/chunks/DualListSelector_8uLukfP0.mjs +1 -0
  77. package/dist/docs/_worker.js/chunks/DualListSelector_Bgj1IWqe.mjs +1 -0
  78. package/dist/docs/_worker.js/chunks/DualListSelector_C5QjTplp.mjs +1 -0
  79. package/dist/docs/_worker.js/chunks/DualListSelector_DLgspM0s.mjs +1 -0
  80. package/dist/docs/_worker.js/chunks/EmptyState_Ct_PJba3.mjs +1 -0
  81. package/dist/docs/_worker.js/chunks/EmptyState_Dk3hKJlg.mjs +1 -0
  82. package/dist/docs/_worker.js/chunks/ExpandableSection_DSw76PjZ.mjs +1 -0
  83. package/dist/docs/_worker.js/chunks/ExpandableSection_vUQO3FgG.mjs +1 -0
  84. package/dist/docs/_worker.js/chunks/FileUpload_CEvZ0G-d.mjs +1 -0
  85. package/dist/docs/_worker.js/chunks/FileUpload_Ci_s8Ghd.mjs +1 -0
  86. package/dist/docs/_worker.js/chunks/FormSelect_C2YPRAlw.mjs +1 -0
  87. package/dist/docs/_worker.js/chunks/FormSelect_DWShl8Fb.mjs +1 -0
  88. package/dist/docs/_worker.js/chunks/Form_Dyb98Nez.mjs +1 -0
  89. package/dist/docs/_worker.js/chunks/Form_olaoRN4o.mjs +1 -0
  90. package/dist/docs/_worker.js/chunks/HelperText_2CcHVaih.mjs +1 -0
  91. package/dist/docs/_worker.js/chunks/HelperText_DthGttZo.mjs +1 -0
  92. package/dist/docs/_worker.js/chunks/Hint_BXDZKYhJ.mjs +1 -0
  93. package/dist/docs/_worker.js/chunks/Hint_DHoiYdn6.mjs +1 -0
  94. package/dist/docs/_worker.js/chunks/Icon_C4IPnIAg.mjs +1 -0
  95. package/dist/docs/_worker.js/chunks/Icon_C_Dqbg9w.mjs +1 -0
  96. package/dist/docs/_worker.js/chunks/InputGroup_CDKP-uXZ.mjs +1 -0
  97. package/dist/docs/_worker.js/chunks/InputGroup_CmZgaEyr.mjs +1 -0
  98. package/dist/docs/_worker.js/chunks/JumpLinks_DvM3PVg0.mjs +1 -0
  99. package/dist/docs/_worker.js/chunks/JumpLinks_Dvdlxdps.mjs +1 -0
  100. package/dist/docs/_worker.js/chunks/Label_C7fP9Jp9.mjs +1 -0
  101. package/dist/docs/_worker.js/chunks/Label_Cxir7_Q4.mjs +1 -0
  102. package/dist/docs/_worker.js/chunks/List_CUgwFnXa.mjs +1 -0
  103. package/dist/docs/_worker.js/chunks/List_CWAsiYnN.mjs +1 -0
  104. package/dist/docs/_worker.js/chunks/LoginPage_BDfliKtU.mjs +1 -0
  105. package/dist/docs/_worker.js/chunks/LoginPage_BjIl_nF9.mjs +1 -0
  106. package/dist/docs/_worker.js/chunks/Masthead_BWjm5CFj.mjs +1 -0
  107. package/dist/docs/_worker.js/chunks/Masthead_BZnYzDu_.mjs +1 -0
  108. package/dist/docs/_worker.js/chunks/MenuToggle_DeKwv469.mjs +1 -0
  109. package/dist/docs/_worker.js/chunks/MenuToggle_DmJISlPR.mjs +1 -0
  110. package/dist/docs/_worker.js/chunks/Menu_DRRoq5PM.mjs +1 -0
  111. package/dist/docs/_worker.js/chunks/Menu_Sl-QVQ_w.mjs +1 -0
  112. package/dist/docs/_worker.js/chunks/Modal_6WZzoDHU.mjs +1 -0
  113. package/dist/docs/_worker.js/chunks/Modal_BI2dVPRJ.mjs +1 -0
  114. package/dist/docs/_worker.js/chunks/Modal_CdokBUDP.mjs +1 -0
  115. package/dist/docs/_worker.js/chunks/Modal_DJRobnfc.mjs +1 -0
  116. package/dist/docs/_worker.js/chunks/MultipleFileUpload_BaHVtkF_.mjs +1 -0
  117. package/dist/docs/_worker.js/chunks/MultipleFileUpload_BznvLbsj.mjs +1 -0
  118. package/dist/docs/_worker.js/chunks/Nav_DwqATcJ4.mjs +1 -0
  119. package/dist/docs/_worker.js/chunks/Nav_GZ0nRYXE.mjs +1 -0
  120. package/dist/docs/_worker.js/chunks/NotificationBadge_DO4OLgvO.mjs +1 -0
  121. package/dist/docs/_worker.js/chunks/NotificationBadge_DjINhOQ5.mjs +1 -0
  122. package/dist/docs/_worker.js/chunks/NotificationDrawer_BtpQ4pmZ.mjs +1 -0
  123. package/dist/docs/_worker.js/chunks/NotificationDrawer_D1lmMCgd.mjs +1 -0
  124. package/dist/docs/_worker.js/chunks/NumberInput_CggpJ5ge.mjs +1 -0
  125. package/dist/docs/_worker.js/chunks/NumberInput_zMcSUUwH.mjs +1 -0
  126. package/dist/docs/_worker.js/chunks/OverflowMenu_BX4nwFvK.mjs +1 -0
  127. package/dist/docs/_worker.js/chunks/OverflowMenu_DnQ7wMy-.mjs +1 -0
  128. package/dist/docs/_worker.js/chunks/Page_Cw_XTB6Y.mjs +1 -0
  129. package/dist/docs/_worker.js/chunks/Page_UhywZXdY.mjs +1 -0
  130. package/dist/docs/_worker.js/chunks/Pagination_7rr0n7-V.mjs +1 -0
  131. package/dist/docs/_worker.js/chunks/Pagination_Dc5L6yaI.mjs +1 -0
  132. package/dist/docs/_worker.js/chunks/Panel_Bl_LqCWS.mjs +1 -0
  133. package/dist/docs/_worker.js/chunks/Panel_s8-TwBlS.mjs +1 -0
  134. package/dist/docs/_worker.js/chunks/Popover_CjipqBWs.mjs +1 -0
  135. package/dist/docs/_worker.js/chunks/Popover_DvQgGJTf.mjs +1 -0
  136. package/dist/docs/_worker.js/chunks/ProgressStepper_DXBI4K2w.mjs +1 -0
  137. package/dist/docs/_worker.js/chunks/ProgressStepper_lBd5mTHE.mjs +1 -0
  138. package/dist/docs/_worker.js/chunks/Progress_BZA5taDC.mjs +1 -0
  139. package/dist/docs/_worker.js/chunks/Progress_CIgybc-D.mjs +1 -0
  140. package/dist/docs/_worker.js/chunks/Radio_3tPx1coq.mjs +1 -0
  141. package/dist/docs/_worker.js/chunks/Radio_BG7VZAk6.mjs +1 -0
  142. package/dist/docs/_worker.js/chunks/SearchInput_BZ43-Elo.mjs +1 -0
  143. package/dist/docs/_worker.js/chunks/SearchInput_aCFv-N1U.mjs +1 -0
  144. package/dist/docs/_worker.js/chunks/Select_B4cumL7U.mjs +1 -0
  145. package/dist/docs/_worker.js/chunks/Select_CJ78kBVM.mjs +1 -0
  146. package/dist/docs/_worker.js/chunks/Sidebar_Bto2_gKJ.mjs +1 -0
  147. package/dist/docs/_worker.js/chunks/Sidebar_DOfifBRA.mjs +1 -0
  148. package/dist/docs/_worker.js/chunks/SimpleList_CVkO5Odp.mjs +1 -0
  149. package/dist/docs/_worker.js/chunks/SimpleList_oJajk3_z.mjs +1 -0
  150. package/dist/docs/_worker.js/chunks/Skeleton_CCJNka-d.mjs +1 -0
  151. package/dist/docs/_worker.js/chunks/Skeleton_N02yA_k6.mjs +1 -0
  152. package/dist/docs/_worker.js/chunks/SkipToContent_DvOYRCWm.mjs +1 -0
  153. package/dist/docs/_worker.js/chunks/SkipToContent_o7vh-U_u.mjs +1 -0
  154. package/dist/docs/_worker.js/chunks/Slider_C0bH-JMY.mjs +1 -0
  155. package/dist/docs/_worker.js/chunks/Slider_CWRDqhx4.mjs +1 -0
  156. package/dist/docs/_worker.js/chunks/Spinner_B-x8bJt0.mjs +1 -0
  157. package/dist/docs/_worker.js/chunks/Spinner_hzAAbZdS.mjs +1 -0
  158. package/dist/docs/_worker.js/chunks/Switch_Cpr1OETy.mjs +1 -0
  159. package/dist/docs/_worker.js/chunks/Switch_Du7AKJ4O.mjs +1 -0
  160. package/dist/docs/_worker.js/chunks/Tabs_CzDrfKA-.mjs +1 -0
  161. package/dist/docs/_worker.js/chunks/Tabs_KXDkISY4.mjs +1 -0
  162. package/dist/docs/_worker.js/chunks/TextArea_C1dmG8mr.mjs +1 -0
  163. package/dist/docs/_worker.js/chunks/TextArea_Dtm0m8LO.mjs +1 -0
  164. package/dist/docs/_worker.js/chunks/TextInputGroup_D0NXU95v.mjs +1 -0
  165. package/dist/docs/_worker.js/chunks/TextInputGroup_mJpBrogC.mjs +1 -0
  166. package/dist/docs/_worker.js/chunks/TextInput_B0XLYaVA.mjs +1 -0
  167. package/dist/docs/_worker.js/chunks/TextInput_CmLcsUiv.mjs +1 -0
  168. package/dist/docs/_worker.js/chunks/Tile_CF_12LPU.mjs +1 -0
  169. package/dist/docs/_worker.js/chunks/Tile_DJ0LawLW.mjs +1 -0
  170. package/dist/docs/_worker.js/chunks/TimePicker_CijfSKJQ.mjs +1 -0
  171. package/dist/docs/_worker.js/chunks/TimePicker_VX9VE-Uy.mjs +1 -0
  172. package/dist/docs/_worker.js/chunks/Timestamp_D7uyrIK7.mjs +1 -0
  173. package/dist/docs/_worker.js/chunks/Timestamp_c2Mozpr4.mjs +1 -0
  174. package/dist/docs/_worker.js/chunks/Title_DbrwFEEy.mjs +1 -0
  175. package/dist/docs/_worker.js/chunks/Title_DlFn7G9R.mjs +1 -0
  176. package/dist/docs/_worker.js/chunks/ToggleGroup_DpLWzfAW.mjs +1 -0
  177. package/dist/docs/_worker.js/chunks/ToggleGroup_j1ooRpX3.mjs +1 -0
  178. package/dist/docs/_worker.js/chunks/Toolbar_BEIh7r7J.mjs +1 -0
  179. package/dist/docs/_worker.js/chunks/Toolbar_mjrD3_l-.mjs +1 -0
  180. package/dist/docs/_worker.js/chunks/Tooltip_Bp5XOVoV.mjs +1 -0
  181. package/dist/docs/_worker.js/chunks/Tooltip_BrFKk02i.mjs +1 -0
  182. package/dist/docs/_worker.js/chunks/TreeView_BImfKPD_.mjs +1 -0
  183. package/dist/docs/_worker.js/chunks/TreeView_CgO4iC1E.mjs +1 -0
  184. package/dist/docs/_worker.js/chunks/Truncate_Bn55QoeZ.mjs +1 -0
  185. package/dist/docs/_worker.js/chunks/Truncate_S939OotH.mjs +1 -0
  186. package/dist/docs/_worker.js/chunks/Wizard_B28f3non.mjs +1 -0
  187. package/dist/docs/_worker.js/chunks/Wizard_B4Dw5Yc8.mjs +1 -0
  188. package/dist/docs/_worker.js/chunks/Wizard_BOCBVIjJ.mjs +1 -0
  189. package/dist/docs/_worker.js/chunks/Wizard_C2sit354.mjs +1 -0
  190. package/dist/{_worker.js/renderers.mjs → docs/_worker.js/chunks/_@astro-renderers_D4IG6Oyo.mjs} +55 -3
  191. package/dist/{_worker.js/chunks/_@astrojs-ssr-adapter_IMtcR503.mjs → docs/_worker.js/chunks/_@astrojs-ssr-adapter_CBRUgCDy.mjs} +4 -4
  192. package/dist/docs/_worker.js/chunks/_astro_assets_Dcv7PKDL.mjs +1 -0
  193. package/dist/docs/_worker.js/chunks/_astro_data-layer-content_CPgQSQEx.mjs +1 -0
  194. package/dist/{_worker.js/chunks/astro/server_YsSSp7Ny.mjs → docs/_worker.js/chunks/astro/server_CVEnF9i1.mjs} +1 -3
  195. package/dist/{_worker.js/chunks/astro-designed-error-pages_MEt0E9xn.mjs → docs/_worker.js/chunks/astro-designed-error-pages_CXRddWNa.mjs} +1 -1
  196. package/dist/docs/_worker.js/chunks/content-assets_XqCgPAV2.mjs +1 -0
  197. package/dist/docs/_worker.js/chunks/content-modules_pw1AqUgZ.mjs +1 -0
  198. package/dist/{_worker.js/chunks/index_BE2AHcwI.mjs → docs/_worker.js/chunks/index_CYXMeXT4.mjs} +2 -2
  199. package/dist/{_worker.js/chunks/noop-middleware_CMUpAQ6F.mjs → docs/_worker.js/chunks/noop-middleware_DIXVCvyq.mjs} +1 -1
  200. package/dist/docs/_worker.js/chunks/sharp_BKxWP4lT.mjs +1 -0
  201. package/dist/{_worker.js → docs/_worker.js}/index.js +4 -8
  202. package/dist/docs/_worker.js/manifest_Dsi4HnVg.mjs +100 -0
  203. package/dist/{_worker.js → docs/_worker.js}/pages/_image.astro.mjs +1 -1
  204. package/dist/docs/_worker.js/pages/_section_/_---page_.astro.mjs +1 -0
  205. package/dist/docs/_worker.js/pages/_section_/_page_/_---tab_.astro.mjs +1 -0
  206. package/dist/docs/_worker.js/pages/index.astro.mjs +1 -0
  207. package/dist/{_worker.js → docs/_worker.js}/pages/props.astro.mjs +1 -1
  208. package/dist/docs/_worker.js/renderers.mjs +2 -0
  209. package/dist/docs/components/about-modal/index.html +56 -0
  210. package/dist/docs/components/about-modal/react/index.html +56 -0
  211. package/dist/docs/components/accordion/index.html +62 -0
  212. package/dist/docs/components/accordion/react/index.html +62 -0
  213. package/dist/docs/components/action-list/index.html +59 -0
  214. package/dist/docs/components/action-list/react/index.html +59 -0
  215. package/dist/docs/components/alert/index.html +428 -0
  216. package/dist/docs/components/alert/react/index.html +428 -0
  217. package/dist/docs/components/avatar/index.html +56 -0
  218. package/dist/docs/components/avatar/react/index.html +56 -0
  219. package/dist/docs/components/back-to-top/index.html +53 -0
  220. package/dist/docs/components/back-to-top/react/index.html +53 -0
  221. package/dist/docs/components/backdrop/index.html +49 -0
  222. package/dist/docs/components/backdrop/react/index.html +49 -0
  223. package/dist/docs/components/background-image/index.html +49 -0
  224. package/dist/docs/components/background-image/react/index.html +49 -0
  225. package/dist/docs/components/badge/index.html +57 -0
  226. package/dist/docs/components/badge/react/index.html +57 -0
  227. package/dist/docs/components/banner/index.html +57 -0
  228. package/dist/docs/components/banner/react/index.html +57 -0
  229. package/dist/docs/components/brand/index.html +55 -0
  230. package/dist/docs/components/brand/react/index.html +55 -0
  231. package/dist/docs/components/breadcrumb/index.html +59 -0
  232. package/dist/docs/components/breadcrumb/react/index.html +59 -0
  233. package/dist/docs/components/button/index.html +152 -0
  234. package/dist/docs/components/button/react/index.html +152 -0
  235. package/dist/docs/components/calendar-month/index.html +55 -0
  236. package/dist/docs/components/calendar-month/react/index.html +55 -0
  237. package/dist/docs/components/card/index.html +159 -0
  238. package/dist/docs/components/card/react/index.html +159 -0
  239. package/dist/docs/components/checkbox/index.html +78 -0
  240. package/dist/docs/components/checkbox/react/index.html +78 -0
  241. package/dist/docs/components/chip/index.html +61 -0
  242. package/dist/docs/components/chip/react-deprecated/index.html +61 -0
  243. package/dist/docs/components/clipboard-copy/index.html +84 -0
  244. package/dist/docs/components/clipboard-copy/react/index.html +84 -0
  245. package/dist/docs/components/code-block/index.html +55 -0
  246. package/dist/docs/components/code-block/react/index.html +55 -0
  247. package/dist/docs/components/content/index.html +79 -0
  248. package/dist/docs/components/content/react/index.html +79 -0
  249. package/dist/docs/components/data-list/index.html +86 -0
  250. package/dist/docs/components/data-list/react/index.html +86 -0
  251. package/dist/docs/components/date-picker/index.html +77 -0
  252. package/dist/docs/components/date-picker/react/index.html +77 -0
  253. package/dist/docs/components/description-list/index.html +135 -0
  254. package/dist/docs/components/description-list/react/index.html +135 -0
  255. package/dist/docs/components/divider/index.html +74 -0
  256. package/dist/docs/components/divider/react/index.html +74 -0
  257. package/dist/docs/components/drag-and-drop/index.html +69 -0
  258. package/dist/docs/components/drag-and-drop/react-deprecated/index.html +69 -0
  259. package/dist/docs/components/drawer/index.html +108 -0
  260. package/dist/docs/components/drawer/react/index.html +108 -0
  261. package/dist/docs/components/dropdown/index.html +71 -0
  262. package/dist/docs/components/dropdown/react/index.html +71 -0
  263. package/dist/docs/components/dual-list-selector/index.html +89 -0
  264. package/dist/docs/components/dual-list-selector/react/index.html +89 -0
  265. package/dist/docs/components/dual-list-selector/react-deprecated/index.html +106 -0
  266. package/dist/docs/components/empty-state/index.html +71 -0
  267. package/dist/docs/components/empty-state/react/index.html +71 -0
  268. package/dist/docs/components/expandable-section/index.html +76 -0
  269. package/dist/docs/components/expandable-section/react/index.html +76 -0
  270. package/dist/docs/components/form/index.html +87 -0
  271. package/dist/docs/components/form/react/index.html +87 -0
  272. package/dist/docs/components/form-select/index.html +59 -0
  273. package/dist/docs/components/form-select/react/index.html +59 -0
  274. package/dist/docs/components/helper-text/index.html +57 -0
  275. package/dist/docs/components/helper-text/react/index.html +57 -0
  276. package/dist/docs/components/hint/index.html +59 -0
  277. package/dist/docs/components/hint/react/index.html +59 -0
  278. package/dist/docs/components/icon/index.html +80 -0
  279. package/dist/docs/components/icon/react/index.html +80 -0
  280. package/dist/docs/components/input-group/index.html +62 -0
  281. package/dist/docs/components/input-group/react/index.html +62 -0
  282. package/dist/docs/components/jump-links/index.html +66 -0
  283. package/dist/docs/components/jump-links/react/index.html +66 -0
  284. package/dist/docs/components/label/index.html +103 -0
  285. package/dist/docs/components/label/react/index.html +103 -0
  286. package/dist/docs/components/list/index.html +68 -0
  287. package/dist/docs/components/list/react/index.html +68 -0
  288. package/dist/docs/components/login-page/index.html +56 -0
  289. package/dist/docs/components/login-page/react/index.html +56 -0
  290. package/dist/docs/components/masthead/index.html +76 -0
  291. package/dist/docs/components/masthead/react/index.html +76 -0
  292. package/dist/docs/components/menu/index.html +160 -0
  293. package/dist/docs/components/menu/react/index.html +160 -0
  294. package/dist/docs/components/menu-toggle/index.html +201 -0
  295. package/dist/docs/components/menu-toggle/react/index.html +201 -0
  296. package/dist/docs/components/modal/index.html +113 -0
  297. package/dist/docs/components/modal/react/index.html +113 -0
  298. package/dist/docs/components/modal/react-deprecated/index.html +117 -0
  299. package/dist/docs/components/multiple-file-upload/index.html +84 -0
  300. package/dist/docs/components/multiple-file-upload/react/index.html +84 -0
  301. package/dist/docs/components/navigation/index.html +89 -0
  302. package/dist/docs/components/navigation/react/index.html +89 -0
  303. package/dist/docs/components/notification-badge/index.html +65 -0
  304. package/dist/docs/components/notification-badge/react/index.html +65 -0
  305. package/dist/docs/components/notification-drawer/index.html +56 -0
  306. package/dist/docs/components/notification-drawer/react/index.html +56 -0
  307. package/dist/docs/components/number-input/index.html +72 -0
  308. package/dist/docs/components/number-input/react/index.html +72 -0
  309. package/dist/docs/components/overflow-menu/index.html +64 -0
  310. package/dist/docs/components/overflow-menu/react/index.html +64 -0
  311. package/dist/docs/components/page/index.html +114 -0
  312. package/dist/docs/components/page/react/index.html +114 -0
  313. package/dist/docs/components/pagination/index.html +77 -0
  314. package/dist/docs/components/pagination/react/index.html +77 -0
  315. package/dist/docs/components/panel/index.html +196 -0
  316. package/dist/docs/components/panel/react/index.html +196 -0
  317. package/dist/docs/components/popover/index.html +89 -0
  318. package/dist/docs/components/popover/react/index.html +89 -0
  319. package/dist/docs/components/progress/index.html +101 -0
  320. package/dist/docs/components/progress/react/index.html +101 -0
  321. package/dist/docs/components/progress-stepper/index.html +74 -0
  322. package/dist/docs/components/progress-stepper/react/index.html +74 -0
  323. package/dist/docs/components/radio/index.html +75 -0
  324. package/dist/docs/components/radio/react/index.html +75 -0
  325. package/dist/docs/components/search-input/index.html +76 -0
  326. package/dist/docs/components/search-input/react/index.html +76 -0
  327. package/dist/docs/components/select/index.html +129 -0
  328. package/dist/docs/components/select/react/index.html +129 -0
  329. package/dist/docs/components/sidebar/index.html +77 -0
  330. package/dist/docs/components/sidebar/react/index.html +77 -0
  331. package/dist/docs/components/simple-file-upload/index.html +93 -0
  332. package/dist/docs/components/simple-file-upload/react/index.html +93 -0
  333. package/dist/docs/components/simple-list/index.html +59 -0
  334. package/dist/docs/components/simple-list/react/index.html +59 -0
  335. package/dist/docs/components/skeleton/index.html +62 -0
  336. package/dist/docs/components/skeleton/react/index.html +62 -0
  337. package/dist/docs/components/skip-to-content/index.html +49 -0
  338. package/dist/docs/components/skip-to-content/react/index.html +49 -0
  339. package/dist/docs/components/slider/index.html +78 -0
  340. package/dist/docs/components/slider/react/index.html +78 -0
  341. package/dist/docs/components/spinner/index.html +59 -0
  342. package/dist/docs/components/spinner/react/index.html +59 -0
  343. package/dist/docs/components/switch/index.html +66 -0
  344. package/dist/docs/components/switch/react/index.html +66 -0
  345. package/dist/docs/components/tabs/index.html +169 -0
  346. package/dist/docs/components/tabs/react/index.html +169 -0
  347. package/dist/docs/components/text-area/index.html +77 -0
  348. package/dist/docs/components/text-area/react/index.html +77 -0
  349. package/dist/docs/components/text-input/index.html +71 -0
  350. package/dist/docs/components/text-input/react/index.html +71 -0
  351. package/dist/docs/components/text-input-group/index.html +68 -0
  352. package/dist/docs/components/text-input-group/react/index.html +68 -0
  353. package/dist/docs/components/tile/index.html +153 -0
  354. package/dist/docs/components/tile/react-deprecated/index.html +153 -0
  355. package/dist/docs/components/time-picker/index.html +67 -0
  356. package/dist/docs/components/time-picker/react/index.html +67 -0
  357. package/dist/docs/components/timestamp/index.html +75 -0
  358. package/dist/docs/components/timestamp/react/index.html +75 -0
  359. package/dist/docs/components/title/index.html +53 -0
  360. package/dist/docs/components/title/react/index.html +53 -0
  361. package/dist/docs/components/toggle-group/index.html +74 -0
  362. package/dist/docs/components/toggle-group/react/index.html +74 -0
  363. package/dist/docs/components/toolbar/index.html +111 -0
  364. package/dist/docs/components/toolbar/react/index.html +111 -0
  365. package/dist/docs/components/tooltip/index.html +65 -0
  366. package/dist/docs/components/tooltip/react/index.html +65 -0
  367. package/dist/docs/components/tree-view/index.html +93 -0
  368. package/dist/docs/components/tree-view/react/index.html +93 -0
  369. package/dist/docs/components/truncate/index.html +80 -0
  370. package/dist/docs/components/truncate/react/index.html +80 -0
  371. package/dist/docs/components/wizard/index.html +120 -0
  372. package/dist/docs/components/wizard/react/index.html +120 -0
  373. package/dist/docs/components/wizard/react-deprecated/index.html +372 -0
  374. package/dist/docs/index.html +43 -0
  375. package/dist/props.json +1 -0
  376. package/package.json +10 -6
  377. package/src/components/AutoLinkHeader.tsx +3 -11
  378. package/src/components/DocsTables.astro +10 -4
  379. package/src/components/LiveExample.tsx +2 -0
  380. package/src/components/PropsTables.tsx +62 -0
  381. package/src/content.config.ts +2 -4
  382. package/src/content.ts +1 -15
  383. package/src/layouts/Main.astro +1 -0
  384. package/src/pages/[section]/[...page].astro +1 -5
  385. package/src/pages/[section]/[page]/[...tab].astro +1 -1
  386. package/.astro/collections/textContent.schema.json +0 -59
  387. package/dist/_astro/CSSTable.E6iSHjec.js +0 -1
  388. package/dist/_astro/DropdownList.-xE7qrND.js +0 -1
  389. package/dist/_astro/LiveExample.CVVccYEB.js +0 -259
  390. package/dist/_astro/Navigation.CONcolRR.js +0 -1
  391. package/dist/_astro/PageSidebarBody.CDWZuFeK.js +0 -1
  392. package/dist/_astro/SearchInput.BNt7BTX_.js +0 -1
  393. package/dist/_astro/SectionGallery.Dwb-QA5z.js +0 -1
  394. package/dist/_astro/Toolbar.DNd68Ck-.js +0 -1
  395. package/dist/_astro/ToolbarContent.C58gpKLu.js +0 -1
  396. package/dist/_astro/_page_.CtheD08_.css +0 -1
  397. package/dist/_astro/index.jm6QVFFy.js +0 -16
  398. package/dist/_worker.js/chunks/AutoLinkHeader_DLgn_YRm.mjs +0 -739
  399. package/dist/_worker.js/chunks/Button_CBcC0ViE.mjs +0 -709
  400. package/dist/_worker.js/chunks/CSSTable_C1dV02qV.mjs +0 -18
  401. package/dist/_worker.js/chunks/DocsTables_Br4g5x5_.mjs +0 -20
  402. package/dist/_worker.js/chunks/PropsTables_Dcd7znAq.mjs +0 -6628
  403. package/dist/_worker.js/chunks/angle-down-icon_VyCXUC7F.mjs +0 -3686
  404. package/dist/_worker.js/chunks/index_CBCp_CJ0.mjs +0 -57
  405. package/dist/_worker.js/manifest_CyDNnCoC.mjs +0 -100
  406. package/dist/components/accordion/index.html +0 -60
  407. package/dist/components/accordion/react/index.html +0 -60
  408. package/dist/components/all-components/index.html +0 -47
  409. package/dist/design-foundations/typography/index.html +0 -198
  410. package/dist/design-foundations/usage-and-behavior/index.html +0 -347
  411. package/dist/get-started/contribute/index.html +0 -94
  412. package/dist/index.html +0 -43
  413. package/src/components/PropsTables.astro +0 -52
  414. /package/dist/{.assetsignore → docs/.assetsignore} +0 -0
  415. /package/dist/{PF-HorizontalLogo-Color.svg → docs/PF-HorizontalLogo-Color.svg} +0 -0
  416. /package/dist/{PF-HorizontalLogo-Reverse.svg → docs/PF-HorizontalLogo-Reverse.svg} +0 -0
  417. /package/dist/{_astro/_page_.Chv_bGyU.css → docs/_astro/AutoLinkHeader.Chv_bGyU.css} +0 -0
  418. /package/dist/{_astro → docs/_astro}/Button.BVfR1y85.js +0 -0
  419. /package/dist/{_astro → docs/_astro}/ClientRouter.astro_astro_type_script_index_0_lang.CtSceO8m.js +0 -0
  420. /package/dist/{_astro → docs/_astro}/Content.CYLxURqU.js +0 -0
  421. /package/dist/{_astro → docs/_astro}/LiveExample.CxJsMvEq.css +0 -0
  422. /package/dist/{_astro → docs/_astro}/PageContext.BUbWpNW2.js +0 -0
  423. /package/dist/{_astro → docs/_astro}/PageToggle.Dnbvoa7R.js +0 -0
  424. /package/dist/{_astro → docs/_astro}/RedHatDisplayVF-Italic.CRpusWc8.woff2 +0 -0
  425. /package/dist/{_astro → docs/_astro}/RedHatDisplayVF.CYDHf1NI.woff2 +0 -0
  426. /package/dist/{_astro → docs/_astro}/RedHatMonoVF-Italic.DGQo2ogW.woff2 +0 -0
  427. /package/dist/{_astro → docs/_astro}/RedHatMonoVF.C4fMH6Vz.woff2 +0 -0
  428. /package/dist/{_astro → docs/_astro}/RedHatTextVF-Italic.Dkj_WqbA.woff2 +0 -0
  429. /package/dist/{_astro → docs/_astro}/RedHatTextVF.wYvZ7prR.woff2 +0 -0
  430. /package/dist/{_astro → docs/_astro}/_page_.DxJDkZPc.css +0 -0
  431. /package/dist/{_astro → docs/_astro}/angle-left-icon.CfKwuSCS.js +0 -0
  432. /package/dist/{_astro → docs/_astro}/bars-icon.wdJgEs3A.js +0 -0
  433. /package/dist/{_astro → docs/_astro}/client.DN8ES6L5.js +0 -0
  434. /package/dist/{_astro → docs/_astro}/fa-solid-900.DguXoeIz.woff2 +0 -0
  435. /package/dist/{_astro → docs/_astro}/github-icon.DzpohUp_.js +0 -0
  436. /package/dist/{_astro → docs/_astro}/index.BQFV5hT1.js +0 -0
  437. /package/dist/{_astro → docs/_astro}/index.CAChmxYj.js +0 -0
  438. /package/dist/{_astro → docs/_astro}/index.eCxJ45ll.js +0 -0
  439. /package/dist/{_astro → docs/_astro}/page.BTC3Kf3x.js +0 -0
  440. /package/dist/{_astro → docs/_astro}/pf-v6-pficon.Dy6oiu9u.woff2 +0 -0
  441. /package/dist/{_worker.js → docs/_worker.js}/_noop-actions.mjs +0 -0
  442. /package/dist/{_worker.js/chunks/Accordion_CQUal4ef.mjs → docs/_worker.js/chunks/AboutModal_CrdYiVZ2.mjs} +0 -0
  443. /package/dist/{_worker.js/chunks/Accordion_R7bP3pwr.mjs → docs/_worker.js/chunks/AboutModal_D3R-r6ju.mjs} +0 -0
  444. /package/dist/{_worker.js/chunks/AllComponents_BDKlE-WJ.mjs → docs/_worker.js/chunks/Accordion_Dbx8tdfD.mjs} +0 -0
  445. /package/dist/{_worker.js/chunks/AllComponents_DWDph25H.mjs → docs/_worker.js/chunks/Accordion_sjy0EnPK.mjs} +0 -0
  446. /package/dist/{_worker.js/chunks/_astro_assets_uN1DLT1q.mjs → docs/_worker.js/chunks/ActionList_Bx7eAKgV.mjs} +0 -0
  447. /package/dist/{_worker.js/chunks/_astro_data-layer-content_D0hm6p8E.mjs → docs/_worker.js/chunks/ActionList_CuygbYGp.mjs} +0 -0
  448. /package/dist/{_worker.js/chunks/content-assets_XqCgPAV2.mjs → docs/_worker.js/chunks/Alert_Cgh0pfMA.mjs} +0 -0
  449. /package/dist/{_worker.js/chunks/content-modules_BbCqcGJp.mjs → docs/_worker.js/chunks/Alert_CplJ22O9.mjs} +0 -0
  450. /package/dist/{_worker.js/chunks/sharp_Cc2xj7B1.mjs → docs/_worker.js/chunks/Avatar_BszzDSZB.mjs} +0 -0
  451. /package/dist/{_worker.js/pages/_section_/_---page_.astro.mjs → docs/_worker.js/chunks/Avatar_DuNXB-Tl.mjs} +0 -0
  452. /package/dist/{_worker.js/pages/_section_/_page_/_---tab_.astro.mjs → docs/_worker.js/chunks/BackToTop_B_0NN1kJ.mjs} +0 -0
  453. /package/dist/{_worker.js/pages/index.astro.mjs → docs/_worker.js/chunks/BackToTop_DKY1zHBL.mjs} +0 -0
  454. /package/dist/{_worker.js → docs/_worker.js}/chunks/cloudflare-kv-binding_DMly_2Gl.mjs +0 -0
  455. /package/dist/{_worker.js → docs/_worker.js}/chunks/parse_EttCPxrw.mjs +0 -0
  456. /package/dist/{_worker.js → docs/_worker.js}/chunks/path_C-ZOwaTP.mjs +0 -0
  457. /package/dist/{avatarImg.svg → docs/avatarImg.svg} +0 -0
  458. /package/dist/{avatarImgDark.svg → docs/avatarImgDark.svg} +0 -0
  459. /package/dist/{content → docs/content}/typography/line-height.png +0 -0
  460. /package/dist/{favicon.svg → docs/favicon.svg} +0 -0
@@ -0,0 +1,16 @@
1
+ import{_ as ae,u as Ji,j as M,c as Q,a as Ki,g as Qi,B as Yi,K as zt,k as oi}from"./Button.BVfR1y85.js";import{r as oe}from"./index.eCxJ45ll.js";/* empty css */import{A as Zi}from"./divider.BP4XR7uq.js";import{G as $i,C as es,a as ts}from"./angle-down-icon.Dqz5ba9D.js";const K={card:"pf-v6-c-card",cardActions:"pf-v6-c-card__actions",cardBody:"pf-v6-c-card__body",cardExpandableContent:"pf-v6-c-card__expandable-content",cardFooter:"pf-v6-c-card__footer",cardHeader:"pf-v6-c-card__header",cardHeaderMain:"pf-v6-c-card__header-main",cardHeaderToggle:"pf-v6-c-card__header-toggle",cardHeaderToggleIcon:"pf-v6-c-card__header-toggle-icon",cardSelectableActions:"pf-v6-c-card__selectable-actions",cardTitle:"pf-v6-c-card__title",cardTitleText:"pf-v6-c-card__title-text",modifiers:{selectable:"pf-m-selectable",clickable:"pf-m-clickable",current:"pf-m-current",selected:"pf-m-selected",disabled:"pf-m-disabled",compact:"pf-m-compact",displayLg:"pf-m-display-lg",secondary:"pf-m-secondary",plain:"pf-m-plain",expanded:"pf-m-expanded",fullHeight:"pf-m-full-height",toggleRight:"pf-m-toggle-right",wrap:"pf-m-wrap",noOffset:"pf-m-no-offset",noFill:"pf-m-no-fill"}},ft=oe.createContext({cardId:"",isExpanded:!1,isClickable:!1,isSelectable:!1,isSelected:!1,isClicked:!1,isDisabled:!1}),ui=A=>{var{children:h,id:w="",className:T,component:x="div",isCompact:S=!1,isSelectable:g=!1,isClickable:k=!1,isDisabled:p=!1,isSelected:o=!1,isClicked:l=!1,isExpanded:d=!1,isLarge:C=!1,isFullHeight:N=!1,isPlain:D=!1,variant:q="default",ouiaId:L,ouiaSafe:B=!0}=A,U=ae(A,["children","id","className","component","isCompact","isSelectable","isClickable","isDisabled","isSelected","isClicked","isExpanded","isLarge","isFullHeight","isPlain","variant","ouiaId","ouiaSafe"]);const W=x,ie=Ji(ui.displayName,L,B);S&&C&&(console.warn("Card: Cannot use isCompact with isLarge. Defaulting to isCompact"),C=!1);const v=()=>g&&k?Q(K.modifiers.selectable,K.modifiers.clickable,(o||l)&&K.modifiers.current):g?Q(K.modifiers.selectable,o&&K.modifiers.selected):k?Q(K.modifiers.clickable,l&&K.modifiers.current):"";return M.jsx(ft.Provider,{value:{cardId:w,isExpanded:d,isClickable:k,isSelectable:g,isSelected:o,isClicked:l,isDisabled:p},children:M.jsx(W,Object.assign({id:w,className:Q(K.card,S&&K.modifiers.compact,d&&K.modifiers.expanded,C&&K.modifiers.displayLg,N&&K.modifiers.fullHeight,D&&K.modifiers.plain,q==="secondary"&&K.modifiers.secondary,v(),p&&K.modifiers.disabled,T)},U,ie,{children:h}))})};ui.displayName="Card";const is=A=>{var{children:h,className:w,component:T="div",isFilled:x=!0}=A,S=ae(A,["children","className","component","isFilled"]);const g=T;return M.jsx(g,Object.assign({className:Q(K.cardBody,!x&&K.modifiers.noFill,w)},S,{children:h}))};is.displayName="CardBody";const ss=A=>{var{children:h,className:w,component:T="div"}=A,x=ae(A,["children","className","component"]);const S=T;return M.jsx(S,Object.assign({className:Q(K.cardFooter,w)},x,{children:h}))};ss.displayName="CardFooter";const rs=A=>{var{children:h,className:w,component:T="div"}=A,x=ae(A,["children","className","component"]);const{cardId:S}=oe.useContext(ft),g=T,k=S?`${S}-title`:"";return M.jsx("div",{className:Q(K.cardTitle),children:M.jsx(g,Object.assign({className:Q(K.cardTitleText,w),id:k||void 0},x,{children:h}))})};rs.displayName="CardTitle";const hi=A=>{var{children:h,className:w}=A,T=ae(A,["children","className"]);return M.jsx("div",Object.assign({className:Q(K.cardHeaderMain,w)},T,{children:h}))};hi.displayName="CardHeaderMain";const li=A=>{var{children:h,className:w,hasNoOffset:T=!1}=A,x=ae(A,["children","className","hasNoOffset"]);return M.jsx("div",Object.assign({className:Q(K.cardActions,T&&K.modifiers.noOffset,w)},x,{children:h}))};li.displayName="CardActions";const pi=A=>{var{children:h,className:w}=A,T=ae(A,["children","className"]);return M.jsx("div",Object.assign({className:Q(K.cardSelectableActions,w)},T,{children:h}))};pi.displayName="CardSelectableActions";const we={modifiers:{standalone:"pf-m-standalone",disabled:"pf-m-disabled"},radio:"pf-v6-c-radio",radioBody:"pf-v6-c-radio__body",radioDescription:"pf-v6-c-radio__description",radioInput:"pf-v6-c-radio__input",radioLabel:"pf-v6-c-radio__label"};class Ne extends oe.Component{constructor(h){super(h),this.handleChange=w=>{this.props.onChange(w,w.currentTarget.checked)},!h.label&&!h["aria-label"]&&console.error("Radio:","Radio requires an aria-label to be specified"),this.state={ouiaStateId:Ki(Ne.displayName)}}render(){const h=this.props,{"aria-label":w,checked:T,className:x,inputClassName:S,defaultChecked:g,isLabelWrapped:k,labelPosition:p="end",isChecked:o,isDisabled:l,isValid:d,label:C,onChange:N,description:D,body:q,ouiaId:L,ouiaSafe:B=!0,component:U}=h,W=ae(h,["aria-label","checked","className","inputClassName","defaultChecked","isLabelWrapped","labelPosition","isChecked","isDisabled","isValid","label","onChange","description","body","ouiaId","ouiaSafe","component"]);W.id||console.error("Radio:","id is required to make input accessible");const ie=M.jsx("input",Object.assign({},W,{className:Q(we.radioInput,S),type:"radio",onChange:this.handleChange,"aria-invalid":!d,disabled:l,checked:T||o},T===void 0&&{defaultChecked:g},!C&&{"aria-label":w},Qi(Ne.displayName,L!==void 0?L:this.state.ouiaStateId,B))),v=k&&!U||U==="label",n=v?"span":"label",P=C?M.jsx(n,{className:Q(we.radioLabel,l&&we.modifiers.disabled),htmlFor:v?void 0:W.id,children:C}):null,G=U??(v?"label":"div");return M.jsxs(G,{className:Q(we.radio,!C&&we.modifiers.standalone,x),htmlFor:v?W.id:void 0,children:[p==="start"?M.jsxs(M.Fragment,{children:[P,ie]}):M.jsxs(M.Fragment,{children:[ie,P]}),D&&M.jsx("span",{className:Q(we.radioDescription),children:D}),q&&M.jsx("span",{className:Q(we.radioBody),children:q})]})}}Ne.displayName="Radio";Ne.defaultProps={className:"",isDisabled:!1,isValid:!0,onChange:()=>{}};const as=A=>{var{children:h,className:w,actions:T,selectableActions:x,id:S,onExpand:g,toggleButtonProps:k,isToggleRightAligned:p,hasWrap:o}=A,l=ae(A,["children","className","actions","selectableActions","id","onExpand","toggleButtonProps","isToggleRightAligned","hasWrap"]);return M.jsx($i,{children:d=>M.jsx(ft.Consumer,{children:({cardId:C,isClickable:N,isSelectable:D,isSelected:q,isDisabled:L})=>{const B=M.jsx("div",{className:Q(K.cardHeaderToggle),children:M.jsx(Yi,Object.assign({variant:"plain",type:"button",onClick:y=>{g(y,C)}},k,{icon:M.jsx("span",{className:Q(K.cardHeaderToggleIcon),children:M.jsx(Zi,{})})}))}),U=N&&!D||D&&!N;T?.actions&&U&&console.error(`Card: ${N?"Clickable":"Selectable"} only cards should not contain any other actions. If you wish to include additional actions, use a clickable and selectable card.`);const W=N&&!D;(W||D)&&!x?.selectableActionAriaLabel&&!x?.selectableActionAriaLabelledby&&console.error(`Card: ${W?"Clickable-only cards":"Cards with a selectable input"} must have either the selectableActions.selectableActionAriaLabel or selectableActions.selectableActionAriaLabelledby prop passed in order to provide an accessible name to the clickable element.`);const ie=x?.variant==="single"?Ne:es,v=()=>{var y,r;return Object.assign({className:Q("pf-m-standalone"),inputClassName:Q(x?.isHidden&&"pf-v6-screen-reader"),label:M.jsx(M.Fragment,{}),"aria-label":x.selectableActionAriaLabel,"aria-labelledby":x.selectableActionAriaLabelledby,id:(y=x.selectableActionId)!==null&&y!==void 0?y:`card-selectable-${d}`,name:x.name,isDisabled:L,onChange:x.onChange,isChecked:(r=x.isChecked)!==null&&r!==void 0?r:q},x.selectableActionProps)},n=x?.to!==void 0,P=n?"a":"button",G=()=>{const r=Object.assign({className:Q("pf-v6-c-card__clickable-action",L&&n&&K.modifiers.disabled,x?.isHidden&&"pf-v6-screen-reader"),id:x.selectableActionId,"aria-label":x.selectableActionAriaLabel,"aria-labelledby":x.selectableActionAriaLabelledby},x.selectableActionProps);return n?Object.assign(Object.assign(Object.assign(Object.assign({},r),{href:x.to}),L&&{tabIndex:-1,"aria-disabled":!0}),x.isExternalLink&&{target:"_blank"}):Object.assign(Object.assign({},r),{type:"button",disabled:L,onClick:x.onClickAction})};return M.jsxs("div",Object.assign({className:Q(K.cardHeader,p&&K.modifiers.toggleRight,o&&K.modifiers.wrap,w),id:S},l,{children:[g&&!p&&B,(T||x&&(N||D))&&M.jsxs(li,{className:T?.className,hasNoOffset:T?.hasNoOffset||x?.hasNoOffset,children:[T?.actions,x&&(N||D)&&M.jsxs(pi,{className:x?.className,children:[D&&M.jsx(ie,Object.assign({},v())),W&&M.jsx(P,Object.assign({},G()))]})]}),h&&M.jsx(hi,{children:h}),g&&p&&B]}))}})})};as.displayName="CardHeader";const te={dataList:"pf-v6-c-data-list",dataListCell:"pf-v6-c-data-list__cell",dataListCheck:"pf-v6-c-data-list__check",dataListExpandableContent:"pf-v6-c-data-list__expandable-content",dataListExpandableContentBody:"pf-v6-c-data-list__expandable-content-body",dataListItem:"pf-v6-c-data-list__item",dataListItemAction:"pf-v6-c-data-list__item-action",dataListItemContent:"pf-v6-c-data-list__item-content",dataListItemControl:"pf-v6-c-data-list__item-control",dataListItemDraggableButton:"pf-v6-c-data-list__item-draggable-button",dataListItemDraggableIcon:"pf-v6-c-data-list__item-draggable-icon",dataListItemRow:"pf-v6-c-data-list__item-row",dataListText:"pf-v6-c-data-list__text",dataListToggle:"pf-v6-c-data-list__toggle",dataListToggleIcon:"pf-v6-c-data-list__toggle-icon",modifiers:{icon:"pf-m-icon",alignRight:"pf-m-align-right",noFill:"pf-m-no-fill",flex_2:"pf-m-flex-2",flex_3:"pf-m-flex-3",flex_4:"pf-m-flex-4",flex_5:"pf-m-flex-5",gridNone:"pf-m-grid-none",gridSm:"pf-m-grid-sm",gridMd:"pf-m-grid-md",gridLg:"pf-m-grid-lg",gridXl:"pf-m-grid-xl",grid_2xl:"pf-m-grid-2xl",compact:"pf-m-compact",dragOver:"pf-m-drag-over",truncate:"pf-m-truncate",breakWord:"pf-m-break-word",nowrap:"pf-m-nowrap",clickable:"pf-m-clickable",selected:"pf-m-selected",ghostRow:"pf-m-ghost-row",expanded:"pf-m-expanded",disabled:"pf-m-disabled",hidden:"pf-m-hidden",hiddenOnSm:"pf-m-hidden-on-sm",visibleOnSm:"pf-m-visible-on-sm",hiddenOnMd:"pf-m-hidden-on-md",visibleOnMd:"pf-m-visible-on-md",hiddenOnLg:"pf-m-hidden-on-lg",visibleOnLg:"pf-m-visible-on-lg",hiddenOnXl:"pf-m-hidden-on-xl",visibleOnXl:"pf-m-visible-on-xl",hiddenOn_2xl:"pf-m-hidden-on-2xl",visibleOn_2xl:"pf-m-visible-on-2xl",noPadding:"pf-m-no-padding"}},ns={none:te.modifiers.gridNone,always:"pf-m-grid",sm:te.modifiers.gridSm,md:te.modifiers.gridMd,lg:te.modifiers.gridLg,xl:te.modifiers.gridXl,"2xl":te.modifiers.grid_2xl};var Jt;(function(A){A.nowrap="nowrap",A.truncate="truncate",A.breakWord="breakWord"})(Jt||(Jt={}));const ci=oe.createContext({isSelectable:!1}),fi=A=>{var{children:h=null,className:w="","aria-label":T,onSelectDataListItem:x,selectedDataListItemId:S="",isCompact:g=!1,gridBreakpoint:k="md",wrapModifier:p=null,onSelectableRowChange:o,innerRef:l}=A,d=ae(A,["children","className","aria-label","onSelectDataListItem","selectedDataListItemId","isCompact","gridBreakpoint","wrapModifier","onSelectableRowChange","innerRef"]);const C=x!==void 0,N=(D,q)=>{x(D,q)};return M.jsx(ci.Provider,{value:{isSelectable:C,selectedDataListItemId:S,updateSelectedDataListItem:N,onSelectableRowChange:o},children:M.jsx("ul",Object.assign({className:Q(te.dataList,g&&te.modifiers.compact,ns[k],p&&te.modifiers[p],w),style:d.style,role:"list","aria-label":T,ref:l},d,{children:h}))})};fi.displayName="DataListBase";const os=oe.forwardRef((A,h)=>M.jsx(fi,Object.assign({innerRef:h},A)));os.displayName="DataList";const us=A=>{var{children:h=null,className:w="",width:T=1,isFilled:x=!0,alignRight:S=!1,isIcon:g=!1,wrapModifier:k=null}=A,p=ae(A,["children","className","width","isFilled","alignRight","isIcon","wrapModifier"]);const o=oe.useRef(null),[l,d]=oe.useState(!1);return oe.useEffect(()=>{if(!o.current||k!=="truncate")return;const C=o.current&&o.current.offsetWidth<o.current.scrollWidth;l!==C&&d(C)},[o,k,l]),M.jsxs("div",Object.assign({className:Q(te.dataListCell,T>1&&te.modifiers[`flex_${T}`],!x&&te.modifiers.noFill,S&&te.modifiers.alignRight,g&&te.modifiers.icon,w,k&&te.modifiers[k])},l&&{tabIndex:0},{ref:o},p,{children:[h,l&&M.jsx(ts,{content:h,triggerRef:o})]}))};us.displayName="DataListCell";class di extends oe.Component{render(){const h=this.props,{children:w,isExpanded:T,className:x,id:S,"aria-labelledby":g,selectableInputAriaLabel:k}=h,p=ae(h,["children","isExpanded","className","id","aria-labelledby","selectableInputAriaLabel"]);return M.jsx(ci.Consumer,{children:({isSelectable:o,selectedDataListItemId:l,updateSelectedDataListItem:d,onSelectableRowChange:C})=>{const N=B=>{let U=B.target;for(;B.currentTarget!==U;){if("onclick"in U&&U.onclick||U.parentNode.classList.contains(te.dataListItemAction)||U.parentNode.classList.contains(te.dataListItemControl))return;U=U.parentNode}d(B,S)},D=B=>{[zt.Enter,zt.Space].includes(B.key)&&(B.preventDefault(),d(B,S))},q=l===S,L=k?{"aria-label":k}:{"aria-labelledby":g};return M.jsxs("li",Object.assign({id:S,className:Q(te.dataListItem,T&&te.modifiers.expanded,o&&te.modifiers.clickable,l&&q&&te.modifiers.selected,x)},o&&{tabIndex:0,onClick:N,onKeyDown:D},p,{children:[C&&M.jsx("input",Object.assign({className:"pf-v6-screen-reader",type:"radio",checked:q,onChange:B=>C(B,S),tabIndex:-1},L)),oe.Children.map(w,B=>oe.isValidElement(B)&&oe.cloneElement(B,{rowid:g}))]}))}})}}di.displayName="DataListItem";di.defaultProps={isExpanded:!1,className:"",id:"",children:null,"aria-labelledby":""};const hs=A=>{var{className:h="",dataListCells:w,rowid:T=""}=A,x=ae(A,["className","dataListCells","rowid"]);return M.jsx("div",Object.assign({className:Q(te.dataListItemContent,h)},x,{children:w}))};hs.displayName="DataListItemCells";const ls=A=>{var{children:h,className:w="",rowid:T="",wrapModifier:x=null}=A,S=ae(A,["children","className","rowid","wrapModifier"]);return M.jsx("div",Object.assign({className:Q(te.dataListItemRow,w,x&&te.modifiers[x])},S,{children:oe.Children.map(h,g=>oe.isValidElement(g)&&oe.cloneElement(g,{rowid:T}))}))};ls.displayName="DataListItemRow";const Kt={gallery:"pf-v6-l-gallery",modifiers:{gutter:"pf-m-gutter"}},ps={name:"--pf-v6-l-gallery--GridTemplateColumns--min",value:"250px",var:"var(--pf-v6-l-gallery--GridTemplateColumns--min)"},cs={name:"--pf-v6-l-gallery--GridTemplateColumns--max",value:"1fr",var:"var(--pf-v6-l-gallery--GridTemplateColumns--max)"},fs=A=>{var{children:h=null,className:w="",component:T="div",hasGutter:x=!1,minWidths:S,maxWidths:g}=A,k=ae(A,["children","className","component","hasGutter","minWidths","maxWidths"]);const p={},o=T;S&&Object.entries(S||{}).map(([C,N])=>p[`${ps.name}${C!=="default"?`-on-${C}`:""}`]=N);const l={};g&&Object.entries(g||{}).map(([C,N])=>l[`${cs.name}${C!=="default"?`-on-${C}`:""}`]=N);const d=Object.assign(Object.assign({},p),l);return M.jsx(o,Object.assign({className:Q(Kt.gallery,x&&Kt.modifiers.gutter,w)},k,(S||g)&&{style:Object.assign(Object.assign({},d),k.style)},{children:h}))};fs.displayName="Gallery";const ds=A=>{var{children:h=null,component:w="div"}=A,T=ae(A,["children","component"]);const x=w;return M.jsx(x,Object.assign({},T,{children:h}))};ds.displayName="GalleryItem";const Be={modifiers:{wrap:"pf-m-wrap",fill:"pf-m-fill",gutter:"pf-m-gutter"},split:"pf-v6-l-split",splitItem:"pf-v6-l-split__item"},ms=A=>{var{hasGutter:h=!1,isWrappable:w=!1,className:T="",children:x=null,component:S="div"}=A,g=ae(A,["hasGutter","isWrappable","className","children","component"]);const k=S;return M.jsx(k,Object.assign({},g,{className:Q(Be.split,h&&Be.modifiers.gutter,w&&Be.modifiers.wrap,T),children:x}))};ms.displayName="Split";const xs=A=>{var{isFilled:h=!1,className:w="",children:T=null,component:x="div"}=A,S=ae(A,["isFilled","className","children","component"]);const g=x;return M.jsx(g,Object.assign({},S,{className:Q(Be.splitItem,h&&Be.modifiers.fill,w),children:T}))};xs.displayName="SplitItem";const ys={name:"ListIcon",height:512,width:512,svgPath:"M80 368H16a16 16 0 0 0-16 16v64a16 16 0 0 0 16 16h64a16 16 0 0 0 16-16v-64a16 16 0 0 0-16-16zm0-320H16A16 16 0 0 0 0 64v64a16 16 0 0 0 16 16h64a16 16 0 0 0 16-16V64a16 16 0 0 0-16-16zm0 160H16a16 16 0 0 0-16 16v64a16 16 0 0 0 16 16h64a16 16 0 0 0 16-16v-64a16 16 0 0 0-16-16zm416 176H176a16 16 0 0 0-16 16v32a16 16 0 0 0 16 16h320a16 16 0 0 0 16-16v-32a16 16 0 0 0-16-16zm0-320H176a16 16 0 0 0-16 16v32a16 16 0 0 0 16 16h320a16 16 0 0 0 16-16V80a16 16 0 0 0-16-16zm0 160H176a16 16 0 0 0-16 16v32a16 16 0 0 0 16 16h320a16 16 0 0 0 16-16v-32a16 16 0 0 0-16-16z",yOffset:0,xOffset:0},Os=oi(ys),vs={name:"ThIcon",height:512,width:512,svgPath:"M149.333 56v80c0 13.255-10.745 24-24 24H24c-13.255 0-24-10.745-24-24V56c0-13.255 10.745-24 24-24h101.333c13.255 0 24 10.745 24 24zm181.334 240v-80c0-13.255-10.745-24-24-24H205.333c-13.255 0-24 10.745-24 24v80c0 13.255 10.745 24 24 24h101.333c13.256 0 24.001-10.745 24.001-24zm32-240v80c0 13.255 10.745 24 24 24H488c13.255 0 24-10.745 24-24V56c0-13.255-10.745-24-24-24H386.667c-13.255 0-24 10.745-24 24zm-32 80V56c0-13.255-10.745-24-24-24H205.333c-13.255 0-24 10.745-24 24v80c0 13.255 10.745 24 24 24h101.333c13.256 0 24.001-10.745 24.001-24zm-205.334 56H24c-13.255 0-24 10.745-24 24v80c0 13.255 10.745 24 24 24h101.333c13.255 0 24-10.745 24-24v-80c0-13.255-10.745-24-24-24zM0 376v80c0 13.255 10.745 24 24 24h101.333c13.255 0 24-10.745 24-24v-80c0-13.255-10.745-24-24-24H24c-13.255 0-24 10.745-24 24zm386.667-56H488c13.255 0 24-10.745 24-24v-80c0-13.255-10.745-24-24-24H386.667c-13.255 0-24 10.745-24 24v80c0 13.255 10.745 24 24 24zm0 160H488c13.255 0 24-10.745 24-24v-80c0-13.255-10.745-24-24-24H386.667c-13.255 0-24 10.745-24 24v80c0 13.255 10.745 24 24 24zM181.333 376v80c0 13.255 10.745 24 24 24h101.333c13.255 0 24-10.745 24-24v-80c0-13.255-10.745-24-24-24H205.333c-13.255 0-24 10.745-24 24z",yOffset:0,xOffset:0},Rs=oi(vs);var De={exports:{}},gs=De.exports,Qt;function Te(){return Qt||(Qt=1,function(A,h){(function(w,T){T(h)})(gs,function(w){var T=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,7,9,32,4,318,1,80,3,71,10,50,3,123,2,54,14,32,10,3,1,11,3,46,10,8,0,46,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,3,0,158,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,68,8,2,0,3,0,2,3,2,4,2,0,15,1,83,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,7,19,58,14,5,9,243,14,166,9,71,5,2,1,3,3,2,0,2,1,13,9,120,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,343,9,54,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,330,3,10,1,2,0,49,6,4,4,14,10,5350,0,7,14,11465,27,2343,9,87,9,39,4,60,6,26,9,535,9,470,0,2,54,8,3,82,0,12,1,19628,1,4178,9,519,45,3,22,543,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,101,0,161,6,10,9,357,0,62,13,499,13,245,1,2,9,726,6,110,6,6,9,4759,9,787719,239],x=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,13,10,2,14,2,6,2,1,2,10,2,14,2,6,2,1,4,51,13,310,10,21,11,7,25,5,2,41,2,8,70,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,71,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,39,27,10,22,251,41,7,1,17,2,60,28,11,0,9,21,43,17,47,20,28,22,13,52,58,1,3,0,14,44,33,24,27,35,30,0,3,0,9,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,20,1,64,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,31,9,2,0,3,0,2,37,2,0,26,0,2,0,45,52,19,3,21,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,38,6,186,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,19,72,200,32,32,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,328,18,16,0,2,12,2,33,125,0,80,921,103,110,18,195,2637,96,16,1071,18,5,26,3994,6,582,6842,29,1763,568,8,30,18,78,18,29,19,47,17,3,32,20,6,18,433,44,212,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,42,9,8936,3,2,6,2,1,2,290,16,0,30,2,3,0,15,3,9,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,1845,30,7,5,262,61,147,44,11,6,17,0,322,29,19,43,485,27,229,29,3,0,496,6,2,3,2,1,2,14,2,196,60,67,8,0,1205,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42719,33,4153,7,221,3,5761,15,7472,16,621,2467,541,1507,4938,6,4191],S="‌‍·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛ࢗ-࢟࣊-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄ఼ా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ೳഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-໎໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜕ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠏-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿ-ᫎᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷿‌‍‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯・꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_・",g="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࡰ-ࢇࢉ-ࢎࢠ-ࣉऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౝౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೝೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜑᜟ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭌᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲊᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꟍꟐꟑꟓꟕ-Ƛꟲ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ",k={3:"abstract boolean byte char class double enum export extends final float goto implements import int interface long native package private protected public short static super synchronized throws transient volatile",5:"class enum extends super const export import",6:"enum",strict:"implements interface let package private protected public static yield",strictBind:"eval arguments"},p="break case catch continue debugger default do else finally for function if return switch throw try var while with null true false instanceof typeof void delete new in this",o={5:p,"5module":p+" export import",6:p+" const class extends export import super"},l=/^in(stanceof)?$/,d=new RegExp("["+g+"]"),C=new RegExp("["+g+S+"]");function N(e,t){for(var i=65536,a=0;a<t.length;a+=2){if(i+=t[a],i>e)return!1;if(i+=t[a+1],i>=e)return!0}return!1}function D(e,t){return e<65?e===36:e<91?!0:e<97?e===95:e<123?!0:e<=65535?e>=170&&d.test(String.fromCharCode(e)):t===!1?!1:N(e,x)}function q(e,t){return e<48?e===36:e<58?!0:e<65?!1:e<91?!0:e<97?e===95:e<123?!0:e<=65535?e>=170&&C.test(String.fromCharCode(e)):t===!1?!1:N(e,x)||N(e,T)}var L=function(t,i){i===void 0&&(i={}),this.label=t,this.keyword=i.keyword,this.beforeExpr=!!i.beforeExpr,this.startsExpr=!!i.startsExpr,this.isLoop=!!i.isLoop,this.isAssign=!!i.isAssign,this.prefix=!!i.prefix,this.postfix=!!i.postfix,this.binop=i.binop||null,this.updateContext=null};function B(e,t){return new L(e,{beforeExpr:!0,binop:t})}var U={beforeExpr:!0},W={startsExpr:!0},ie={};function v(e,t){return t===void 0&&(t={}),t.keyword=e,ie[e]=new L(e,t)}var n={num:new L("num",W),regexp:new L("regexp",W),string:new L("string",W),name:new L("name",W),privateId:new L("privateId",W),eof:new L("eof"),bracketL:new L("[",{beforeExpr:!0,startsExpr:!0}),bracketR:new L("]"),braceL:new L("{",{beforeExpr:!0,startsExpr:!0}),braceR:new L("}"),parenL:new L("(",{beforeExpr:!0,startsExpr:!0}),parenR:new L(")"),comma:new L(",",U),semi:new L(";",U),colon:new L(":",U),dot:new L("."),question:new L("?",U),questionDot:new L("?."),arrow:new L("=>",U),template:new L("template"),invalidTemplate:new L("invalidTemplate"),ellipsis:new L("...",U),backQuote:new L("`",W),dollarBraceL:new L("${",{beforeExpr:!0,startsExpr:!0}),eq:new L("=",{beforeExpr:!0,isAssign:!0}),assign:new L("_=",{beforeExpr:!0,isAssign:!0}),incDec:new L("++/--",{prefix:!0,postfix:!0,startsExpr:!0}),prefix:new L("!/~",{beforeExpr:!0,prefix:!0,startsExpr:!0}),logicalOR:B("||",1),logicalAND:B("&&",2),bitwiseOR:B("|",3),bitwiseXOR:B("^",4),bitwiseAND:B("&",5),equality:B("==/!=/===/!==",6),relational:B("</>/<=/>=",7),bitShift:B("<</>>/>>>",8),plusMin:new L("+/-",{beforeExpr:!0,binop:9,prefix:!0,startsExpr:!0}),modulo:B("%",10),star:B("*",10),slash:B("/",10),starstar:new L("**",{beforeExpr:!0}),coalesce:B("??",1),_break:v("break"),_case:v("case",U),_catch:v("catch"),_continue:v("continue"),_debugger:v("debugger"),_default:v("default",U),_do:v("do",{isLoop:!0,beforeExpr:!0}),_else:v("else",U),_finally:v("finally"),_for:v("for",{isLoop:!0}),_function:v("function",W),_if:v("if"),_return:v("return",U),_switch:v("switch"),_throw:v("throw",U),_try:v("try"),_var:v("var"),_const:v("const"),_while:v("while",{isLoop:!0}),_with:v("with"),_new:v("new",{beforeExpr:!0,startsExpr:!0}),_this:v("this",W),_super:v("super",W),_class:v("class",W),_extends:v("extends",U),_export:v("export"),_import:v("import",W),_null:v("null",W),_true:v("true",W),_false:v("false",W),_in:v("in",{beforeExpr:!0,binop:7}),_instanceof:v("instanceof",{beforeExpr:!0,binop:7}),_typeof:v("typeof",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_void:v("void",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_delete:v("delete",{beforeExpr:!0,prefix:!0,startsExpr:!0})},P=/\r\n?|\n|\u2028|\u2029/,G=new RegExp(P.source,"g");function y(e){return e===10||e===13||e===8232||e===8233}function r(e,t,i){i===void 0&&(i=e.length);for(var a=t;a<i;a++){var u=e.charCodeAt(a);if(y(u))return a<i-1&&u===13&&e.charCodeAt(a+1)===10?a+2:a+1}return-1}var s=/[\u1680\u2000-\u200a\u202f\u205f\u3000\ufeff]/,f=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g,b=Object.prototype,I=b.hasOwnProperty,R=b.toString,z=Object.hasOwn||function(e,t){return I.call(e,t)},Y=Array.isArray||function(e){return R.call(e)==="[object Array]"},Z=Object.create(null);function $(e){return Z[e]||(Z[e]=new RegExp("^(?:"+e.replace(/ /g,"|")+")$"))}function J(e){return e<=65535?String.fromCharCode(e):(e-=65536,String.fromCharCode((e>>10)+55296,(e&1023)+56320))}var Fe=/(?:[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])/,ye=function(t,i){this.line=t,this.column=i};ye.prototype.offset=function(t){return new ye(this.line,this.column+t)};var de=function(t,i,a){this.start=i,this.end=a,t.sourceFile!==null&&(this.source=t.sourceFile)};function ve(e,t){for(var i=1,a=0;;){var u=r(e,a,t);if(u<0)return new ye(i,t-a);++i,a=u}}var je={ecmaVersion:null,sourceType:"script",onInsertedSemicolon:null,onTrailingComma:null,allowReserved:null,allowReturnOutsideFunction:!1,allowImportExportEverywhere:!1,allowAwaitOutsideFunction:null,allowSuperOutsideMethod:null,allowHashBang:!1,checkPrivateFields:!0,locations:!1,onToken:null,onComment:null,ranges:!1,program:null,sourceFile:null,directSourceFile:null,preserveParens:!1},dt=!1;function yi(e){var t={};for(var i in je)t[i]=e&&z(e,i)?e[i]:je[i];if(t.ecmaVersion==="latest"?t.ecmaVersion=1e8:t.ecmaVersion==null?(!dt&&typeof console=="object"&&console.warn&&(dt=!0,console.warn(`Since Acorn 8.0.0, options.ecmaVersion is required.
2
+ Defaulting to 2020, but this will stop working in the future.`)),t.ecmaVersion=11):t.ecmaVersion>=2015&&(t.ecmaVersion-=2009),t.allowReserved==null&&(t.allowReserved=t.ecmaVersion<5),(!e||e.allowHashBang==null)&&(t.allowHashBang=t.ecmaVersion>=14),Y(t.onToken)){var a=t.onToken;t.onToken=function(u){return a.push(u)}}return Y(t.onComment)&&(t.onComment=vi(t,t.onComment)),t}function vi(e,t){return function(i,a,u,c,m,_){var E={type:i?"Block":"Line",value:a,start:u,end:c};e.locations&&(E.loc=new de(this,m,_)),e.ranges&&(E.range=[u,c]),t.push(E)}}var Ie=1,Ce=2,Qe=4,mt=8,Ye=16,xt=32,Me=64,yt=128,be=256,Pe=512,qe=Ie|Ce|be;function Ze(e,t){return Ce|(e?Qe:0)|(t?mt:0)}var Ue=0,$e=1,me=2,vt=3,gt=4,bt=5,se=function(t,i,a){this.options=t=yi(t),this.sourceFile=t.sourceFile,this.keywords=$(o[t.ecmaVersion>=6?6:t.sourceType==="module"?"5module":5]);var u="";t.allowReserved!==!0&&(u=k[t.ecmaVersion>=6?6:t.ecmaVersion===5?5:3],t.sourceType==="module"&&(u+=" await")),this.reservedWords=$(u);var c=(u?u+" ":"")+k.strict;this.reservedWordsStrict=$(c),this.reservedWordsStrictBind=$(c+" "+k.strictBind),this.input=String(i),this.containsEsc=!1,a?(this.pos=a,this.lineStart=this.input.lastIndexOf(`
3
+ `,a-1)+1,this.curLine=this.input.slice(0,this.lineStart).split(P).length):(this.pos=this.lineStart=0,this.curLine=1),this.type=n.eof,this.value=null,this.start=this.end=this.pos,this.startLoc=this.endLoc=this.curPosition(),this.lastTokEndLoc=this.lastTokStartLoc=null,this.lastTokStart=this.lastTokEnd=this.pos,this.context=this.initialContext(),this.exprAllowed=!0,this.inModule=t.sourceType==="module",this.strict=this.inModule||this.strictDirective(this.pos),this.potentialArrowAt=-1,this.potentialArrowInForAwait=!1,this.yieldPos=this.awaitPos=this.awaitIdentPos=0,this.labels=[],this.undefinedExports=Object.create(null),this.pos===0&&t.allowHashBang&&this.input.slice(0,2)==="#!"&&this.skipLineComment(2),this.scopeStack=[],this.enterScope(Ie),this.regexpState=null,this.privateNameStack=[]},ce={inFunction:{configurable:!0},inGenerator:{configurable:!0},inAsync:{configurable:!0},canAwait:{configurable:!0},allowSuper:{configurable:!0},allowDirectSuper:{configurable:!0},treatFunctionsAsVar:{configurable:!0},allowNewDotTarget:{configurable:!0},inClassStaticBlock:{configurable:!0}};se.prototype.parse=function(){var t=this.options.program||this.startNode();return this.nextToken(),this.parseTopLevel(t)},ce.inFunction.get=function(){return(this.currentVarScope().flags&Ce)>0},ce.inGenerator.get=function(){return(this.currentVarScope().flags&mt)>0},ce.inAsync.get=function(){return(this.currentVarScope().flags&Qe)>0},ce.canAwait.get=function(){for(var e=this.scopeStack.length-1;e>=0;e--){var t=this.scopeStack[e],i=t.flags;if(i&(be|Pe))return!1;if(i&Ce)return(i&Qe)>0}return this.inModule&&this.options.ecmaVersion>=13||this.options.allowAwaitOutsideFunction},ce.allowSuper.get=function(){var e=this.currentThisScope(),t=e.flags;return(t&Me)>0||this.options.allowSuperOutsideMethod},ce.allowDirectSuper.get=function(){return(this.currentThisScope().flags&yt)>0},ce.treatFunctionsAsVar.get=function(){return this.treatFunctionsAsVarInScope(this.currentScope())},ce.allowNewDotTarget.get=function(){for(var e=this.scopeStack.length-1;e>=0;e--){var t=this.scopeStack[e],i=t.flags;if(i&(be|Pe)||i&Ce&&!(i&Ye))return!0}return!1},ce.inClassStaticBlock.get=function(){return(this.currentVarScope().flags&be)>0},se.extend=function(){for(var t=[],i=arguments.length;i--;)t[i]=arguments[i];for(var a=this,u=0;u<t.length;u++)a=t[u](a);return a},se.parse=function(t,i){return new this(i,t).parse()},se.parseExpressionAt=function(t,i,a){var u=new this(a,t,i);return u.nextToken(),u.parseExpression()},se.tokenizer=function(t,i){return new this(i,t)},Object.defineProperties(se.prototype,ce);var ne=se.prototype,gi=/^(?:'((?:\\[^]|[^'\\])*?)'|"((?:\\[^]|[^"\\])*?)")/;ne.strictDirective=function(e){if(this.options.ecmaVersion<5)return!1;for(;;){f.lastIndex=e,e+=f.exec(this.input)[0].length;var t=gi.exec(this.input.slice(e));if(!t)return!1;if((t[1]||t[2])==="use strict"){f.lastIndex=e+t[0].length;var i=f.exec(this.input),a=i.index+i[0].length,u=this.input.charAt(a);return u===";"||u==="}"||P.test(i[0])&&!(/[(`.[+\-/*%<>=,?^&]/.test(u)||u==="!"&&this.input.charAt(a+1)==="=")}e+=t[0].length,f.lastIndex=e,e+=f.exec(this.input)[0].length,this.input[e]===";"&&e++}},ne.eat=function(e){return this.type===e?(this.next(),!0):!1},ne.isContextual=function(e){return this.type===n.name&&this.value===e&&!this.containsEsc},ne.eatContextual=function(e){return this.isContextual(e)?(this.next(),!0):!1},ne.expectContextual=function(e){this.eatContextual(e)||this.unexpected()},ne.canInsertSemicolon=function(){return this.type===n.eof||this.type===n.braceR||P.test(this.input.slice(this.lastTokEnd,this.start))},ne.insertSemicolon=function(){if(this.canInsertSemicolon())return this.options.onInsertedSemicolon&&this.options.onInsertedSemicolon(this.lastTokEnd,this.lastTokEndLoc),!0},ne.semicolon=function(){!this.eat(n.semi)&&!this.insertSemicolon()&&this.unexpected()},ne.afterTrailingComma=function(e,t){if(this.type===e)return this.options.onTrailingComma&&this.options.onTrailingComma(this.lastTokStart,this.lastTokStartLoc),t||this.next(),!0},ne.expect=function(e){this.eat(e)||this.unexpected()},ne.unexpected=function(e){this.raise(e??this.start,"Unexpected token")};var He=function(){this.shorthandAssign=this.trailingComma=this.parenthesizedAssign=this.parenthesizedBind=this.doubleProto=-1};ne.checkPatternErrors=function(e,t){if(e){e.trailingComma>-1&&this.raiseRecoverable(e.trailingComma,"Comma is not permitted after the rest element");var i=t?e.parenthesizedAssign:e.parenthesizedBind;i>-1&&this.raiseRecoverable(i,t?"Assigning to rvalue":"Parenthesized pattern")}},ne.checkExpressionErrors=function(e,t){if(!e)return!1;var i=e.shorthandAssign,a=e.doubleProto;if(!t)return i>=0||a>=0;i>=0&&this.raise(i,"Shorthand property assignments are valid only in destructuring patterns"),a>=0&&this.raiseRecoverable(a,"Redefinition of __proto__ property")},ne.checkYieldAwaitInDefaultParams=function(){this.yieldPos&&(!this.awaitPos||this.yieldPos<this.awaitPos)&&this.raise(this.yieldPos,"Yield expression cannot be a default value"),this.awaitPos&&this.raise(this.awaitPos,"Await expression cannot be a default value")},ne.isSimpleAssignTarget=function(e){return e.type==="ParenthesizedExpression"?this.isSimpleAssignTarget(e.expression):e.type==="Identifier"||e.type==="MemberExpression"};var V=se.prototype;V.parseTopLevel=function(e){var t=Object.create(null);for(e.body||(e.body=[]);this.type!==n.eof;){var i=this.parseStatement(null,!0,t);e.body.push(i)}if(this.inModule)for(var a=0,u=Object.keys(this.undefinedExports);a<u.length;a+=1){var c=u[a];this.raiseRecoverable(this.undefinedExports[c].start,"Export '"+c+"' is not defined")}return this.adaptDirectivePrologue(e.body),this.next(),e.sourceType=this.options.sourceType,this.finishNode(e,"Program")};var et={kind:"loop"},bi={kind:"switch"};V.isLet=function(e){if(this.options.ecmaVersion<6||!this.isContextual("let"))return!1;f.lastIndex=this.pos;var t=f.exec(this.input),i=this.pos+t[0].length,a=this.input.charCodeAt(i);if(a===91||a===92)return!0;if(e)return!1;if(a===123||a>55295&&a<56320)return!0;if(D(a,!0)){for(var u=i+1;q(a=this.input.charCodeAt(u),!0);)++u;if(a===92||a>55295&&a<56320)return!0;var c=this.input.slice(i,u);if(!l.test(c))return!0}return!1},V.isAsyncFunction=function(){if(this.options.ecmaVersion<8||!this.isContextual("async"))return!1;f.lastIndex=this.pos;var e=f.exec(this.input),t=this.pos+e[0].length,i;return!P.test(this.input.slice(this.pos,t))&&this.input.slice(t,t+8)==="function"&&(t+8===this.input.length||!(q(i=this.input.charCodeAt(t+8))||i>55295&&i<56320))},V.parseStatement=function(e,t,i){var a=this.type,u=this.startNode(),c;switch(this.isLet(e)&&(a=n._var,c="let"),a){case n._break:case n._continue:return this.parseBreakContinueStatement(u,a.keyword);case n._debugger:return this.parseDebuggerStatement(u);case n._do:return this.parseDoStatement(u);case n._for:return this.parseForStatement(u);case n._function:return e&&(this.strict||e!=="if"&&e!=="label")&&this.options.ecmaVersion>=6&&this.unexpected(),this.parseFunctionStatement(u,!1,!e);case n._class:return e&&this.unexpected(),this.parseClass(u,!0);case n._if:return this.parseIfStatement(u);case n._return:return this.parseReturnStatement(u);case n._switch:return this.parseSwitchStatement(u);case n._throw:return this.parseThrowStatement(u);case n._try:return this.parseTryStatement(u);case n._const:case n._var:return c=c||this.value,e&&c!=="var"&&this.unexpected(),this.parseVarStatement(u,c);case n._while:return this.parseWhileStatement(u);case n._with:return this.parseWithStatement(u);case n.braceL:return this.parseBlock(!0,u);case n.semi:return this.parseEmptyStatement(u);case n._export:case n._import:if(this.options.ecmaVersion>10&&a===n._import){f.lastIndex=this.pos;var m=f.exec(this.input),_=this.pos+m[0].length,E=this.input.charCodeAt(_);if(E===40||E===46)return this.parseExpressionStatement(u,this.parseExpression())}return this.options.allowImportExportEverywhere||(t||this.raise(this.start,"'import' and 'export' may only appear at the top level"),this.inModule||this.raise(this.start,"'import' and 'export' may appear only with 'sourceType: module'")),a===n._import?this.parseImport(u):this.parseExport(u,i);default:if(this.isAsyncFunction())return e&&this.unexpected(),this.next(),this.parseFunctionStatement(u,!0,!e);var H=this.value,j=this.parseExpression();return a===n.name&&j.type==="Identifier"&&this.eat(n.colon)?this.parseLabeledStatement(u,H,j,e):this.parseExpressionStatement(u,j)}},V.parseBreakContinueStatement=function(e,t){var i=t==="break";this.next(),this.eat(n.semi)||this.insertSemicolon()?e.label=null:this.type!==n.name?this.unexpected():(e.label=this.parseIdent(),this.semicolon());for(var a=0;a<this.labels.length;++a){var u=this.labels[a];if((e.label==null||u.name===e.label.name)&&(u.kind!=null&&(i||u.kind==="loop")||e.label&&i))break}return a===this.labels.length&&this.raise(e.start,"Unsyntactic "+t),this.finishNode(e,i?"BreakStatement":"ContinueStatement")},V.parseDebuggerStatement=function(e){return this.next(),this.semicolon(),this.finishNode(e,"DebuggerStatement")},V.parseDoStatement=function(e){return this.next(),this.labels.push(et),e.body=this.parseStatement("do"),this.labels.pop(),this.expect(n._while),e.test=this.parseParenExpression(),this.options.ecmaVersion>=6?this.eat(n.semi):this.semicolon(),this.finishNode(e,"DoWhileStatement")},V.parseForStatement=function(e){this.next();var t=this.options.ecmaVersion>=9&&this.canAwait&&this.eatContextual("await")?this.lastTokStart:-1;if(this.labels.push(et),this.enterScope(0),this.expect(n.parenL),this.type===n.semi)return t>-1&&this.unexpected(t),this.parseFor(e,null);var i=this.isLet();if(this.type===n._var||this.type===n._const||i){var a=this.startNode(),u=i?"let":this.value;return this.next(),this.parseVar(a,!0,u),this.finishNode(a,"VariableDeclaration"),(this.type===n._in||this.options.ecmaVersion>=6&&this.isContextual("of"))&&a.declarations.length===1?(this.options.ecmaVersion>=9&&(this.type===n._in?t>-1&&this.unexpected(t):e.await=t>-1),this.parseForIn(e,a)):(t>-1&&this.unexpected(t),this.parseFor(e,a))}var c=this.isContextual("let"),m=!1,_=this.containsEsc,E=new He,H=this.start,j=t>-1?this.parseExprSubscripts(E,"await"):this.parseExpression(!0,E);return this.type===n._in||(m=this.options.ecmaVersion>=6&&this.isContextual("of"))?(t>-1?(this.type===n._in&&this.unexpected(t),e.await=!0):m&&this.options.ecmaVersion>=8&&(j.start===H&&!_&&j.type==="Identifier"&&j.name==="async"?this.unexpected():this.options.ecmaVersion>=9&&(e.await=!1)),c&&m&&this.raise(j.start,"The left-hand side of a for-of loop may not start with 'let'."),this.toAssignable(j,!1,E),this.checkLValPattern(j),this.parseForIn(e,j)):(this.checkExpressionErrors(E,!0),t>-1&&this.unexpected(t),this.parseFor(e,j))},V.parseFunctionStatement=function(e,t,i){return this.next(),this.parseFunction(e,Le|(i?0:tt),!1,t)},V.parseIfStatement=function(e){return this.next(),e.test=this.parseParenExpression(),e.consequent=this.parseStatement("if"),e.alternate=this.eat(n._else)?this.parseStatement("if"):null,this.finishNode(e,"IfStatement")},V.parseReturnStatement=function(e){return!this.inFunction&&!this.options.allowReturnOutsideFunction&&this.raise(this.start,"'return' outside of function"),this.next(),this.eat(n.semi)||this.insertSemicolon()?e.argument=null:(e.argument=this.parseExpression(),this.semicolon()),this.finishNode(e,"ReturnStatement")},V.parseSwitchStatement=function(e){this.next(),e.discriminant=this.parseParenExpression(),e.cases=[],this.expect(n.braceL),this.labels.push(bi),this.enterScope(0);for(var t,i=!1;this.type!==n.braceR;)if(this.type===n._case||this.type===n._default){var a=this.type===n._case;t&&this.finishNode(t,"SwitchCase"),e.cases.push(t=this.startNode()),t.consequent=[],this.next(),a?t.test=this.parseExpression():(i&&this.raiseRecoverable(this.lastTokStart,"Multiple default clauses"),i=!0,t.test=null),this.expect(n.colon)}else t||this.unexpected(),t.consequent.push(this.parseStatement(null));return this.exitScope(),t&&this.finishNode(t,"SwitchCase"),this.next(),this.labels.pop(),this.finishNode(e,"SwitchStatement")},V.parseThrowStatement=function(e){return this.next(),P.test(this.input.slice(this.lastTokEnd,this.start))&&this.raise(this.lastTokEnd,"Illegal newline after throw"),e.argument=this.parseExpression(),this.semicolon(),this.finishNode(e,"ThrowStatement")};var Si=[];V.parseCatchClauseParam=function(){var e=this.parseBindingAtom(),t=e.type==="Identifier";return this.enterScope(t?xt:0),this.checkLValPattern(e,t?gt:me),this.expect(n.parenR),e},V.parseTryStatement=function(e){if(this.next(),e.block=this.parseBlock(),e.handler=null,this.type===n._catch){var t=this.startNode();this.next(),this.eat(n.parenL)?t.param=this.parseCatchClauseParam():(this.options.ecmaVersion<10&&this.unexpected(),t.param=null,this.enterScope(0)),t.body=this.parseBlock(!1),this.exitScope(),e.handler=this.finishNode(t,"CatchClause")}return e.finalizer=this.eat(n._finally)?this.parseBlock():null,!e.handler&&!e.finalizer&&this.raise(e.start,"Missing catch or finally clause"),this.finishNode(e,"TryStatement")},V.parseVarStatement=function(e,t,i){return this.next(),this.parseVar(e,!1,t,i),this.semicolon(),this.finishNode(e,"VariableDeclaration")},V.parseWhileStatement=function(e){return this.next(),e.test=this.parseParenExpression(),this.labels.push(et),e.body=this.parseStatement("while"),this.labels.pop(),this.finishNode(e,"WhileStatement")},V.parseWithStatement=function(e){return this.strict&&this.raise(this.start,"'with' in strict mode"),this.next(),e.object=this.parseParenExpression(),e.body=this.parseStatement("with"),this.finishNode(e,"WithStatement")},V.parseEmptyStatement=function(e){return this.next(),this.finishNode(e,"EmptyStatement")},V.parseLabeledStatement=function(e,t,i,a){for(var u=0,c=this.labels;u<c.length;u+=1){var m=c[u];m.name===t&&this.raise(i.start,"Label '"+t+"' is already declared")}for(var _=this.type.isLoop?"loop":this.type===n._switch?"switch":null,E=this.labels.length-1;E>=0;E--){var H=this.labels[E];if(H.statementStart===e.start)H.statementStart=this.start,H.kind=_;else break}return this.labels.push({name:t,kind:_,statementStart:this.start}),e.body=this.parseStatement(a?a.indexOf("label")===-1?a+"label":a:"label"),this.labels.pop(),e.label=i,this.finishNode(e,"LabeledStatement")},V.parseExpressionStatement=function(e,t){return e.expression=t,this.semicolon(),this.finishNode(e,"ExpressionStatement")},V.parseBlock=function(e,t,i){for(e===void 0&&(e=!0),t===void 0&&(t=this.startNode()),t.body=[],this.expect(n.braceL),e&&this.enterScope(0);this.type!==n.braceR;){var a=this.parseStatement(null);t.body.push(a)}return i&&(this.strict=!1),this.next(),e&&this.exitScope(),this.finishNode(t,"BlockStatement")},V.parseFor=function(e,t){return e.init=t,this.expect(n.semi),e.test=this.type===n.semi?null:this.parseExpression(),this.expect(n.semi),e.update=this.type===n.parenR?null:this.parseExpression(),this.expect(n.parenR),e.body=this.parseStatement("for"),this.exitScope(),this.labels.pop(),this.finishNode(e,"ForStatement")},V.parseForIn=function(e,t){var i=this.type===n._in;return this.next(),t.type==="VariableDeclaration"&&t.declarations[0].init!=null&&(!i||this.options.ecmaVersion<8||this.strict||t.kind!=="var"||t.declarations[0].id.type!=="Identifier")&&this.raise(t.start,(i?"for-in":"for-of")+" loop variable declaration may not have an initializer"),e.left=t,e.right=i?this.parseExpression():this.parseMaybeAssign(),this.expect(n.parenR),e.body=this.parseStatement("for"),this.exitScope(),this.labels.pop(),this.finishNode(e,i?"ForInStatement":"ForOfStatement")},V.parseVar=function(e,t,i,a){for(e.declarations=[],e.kind=i;;){var u=this.startNode();if(this.parseVarId(u,i),this.eat(n.eq)?u.init=this.parseMaybeAssign(t):!a&&i==="const"&&!(this.type===n._in||this.options.ecmaVersion>=6&&this.isContextual("of"))?this.unexpected():!a&&u.id.type!=="Identifier"&&!(t&&(this.type===n._in||this.isContextual("of")))?this.raise(this.lastTokEnd,"Complex binding patterns require an initialization value"):u.init=null,e.declarations.push(this.finishNode(u,"VariableDeclarator")),!this.eat(n.comma))break}return e},V.parseVarId=function(e,t){e.id=this.parseBindingAtom(),this.checkLValPattern(e.id,t==="var"?$e:me,!1)};var Le=1,tt=2,St=4;V.parseFunction=function(e,t,i,a,u){this.initFunction(e),(this.options.ecmaVersion>=9||this.options.ecmaVersion>=6&&!a)&&(this.type===n.star&&t&tt&&this.unexpected(),e.generator=this.eat(n.star)),this.options.ecmaVersion>=8&&(e.async=!!a),t&Le&&(e.id=t&St&&this.type!==n.name?null:this.parseIdent(),e.id&&!(t&tt)&&this.checkLValSimple(e.id,this.strict||e.generator||e.async?this.treatFunctionsAsVar?$e:me:vt));var c=this.yieldPos,m=this.awaitPos,_=this.awaitIdentPos;return this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,this.enterScope(Ze(e.async,e.generator)),t&Le||(e.id=this.type===n.name?this.parseIdent():null),this.parseFunctionParams(e),this.parseFunctionBody(e,i,!1,u),this.yieldPos=c,this.awaitPos=m,this.awaitIdentPos=_,this.finishNode(e,t&Le?"FunctionDeclaration":"FunctionExpression")},V.parseFunctionParams=function(e){this.expect(n.parenL),e.params=this.parseBindingList(n.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams()},V.parseClass=function(e,t){this.next();var i=this.strict;this.strict=!0,this.parseClassId(e,t),this.parseClassSuper(e);var a=this.enterClassBody(),u=this.startNode(),c=!1;for(u.body=[],this.expect(n.braceL);this.type!==n.braceR;){var m=this.parseClassElement(e.superClass!==null);m&&(u.body.push(m),m.type==="MethodDefinition"&&m.kind==="constructor"?(c&&this.raiseRecoverable(m.start,"Duplicate constructor in the same class"),c=!0):m.key&&m.key.type==="PrivateIdentifier"&&wi(a,m)&&this.raiseRecoverable(m.key.start,"Identifier '#"+m.key.name+"' has already been declared"))}return this.strict=i,this.next(),e.body=this.finishNode(u,"ClassBody"),this.exitClassBody(),this.finishNode(e,t?"ClassDeclaration":"ClassExpression")},V.parseClassElement=function(e){if(this.eat(n.semi))return null;var t=this.options.ecmaVersion,i=this.startNode(),a="",u=!1,c=!1,m="method",_=!1;if(this.eatContextual("static")){if(t>=13&&this.eat(n.braceL))return this.parseClassStaticBlock(i),i;this.isClassElementNameStart()||this.type===n.star?_=!0:a="static"}if(i.static=_,!a&&t>=8&&this.eatContextual("async")&&((this.isClassElementNameStart()||this.type===n.star)&&!this.canInsertSemicolon()?c=!0:a="async"),!a&&(t>=9||!c)&&this.eat(n.star)&&(u=!0),!a&&!c&&!u){var E=this.value;(this.eatContextual("get")||this.eatContextual("set"))&&(this.isClassElementNameStart()?m=E:a=E)}if(a?(i.computed=!1,i.key=this.startNodeAt(this.lastTokStart,this.lastTokStartLoc),i.key.name=a,this.finishNode(i.key,"Identifier")):this.parseClassElementName(i),t<13||this.type===n.parenL||m!=="method"||u||c){var H=!i.static&&Ge(i,"constructor"),j=H&&e;H&&m!=="method"&&this.raise(i.key.start,"Constructor can't have get/set modifier"),i.kind=H?"constructor":m,this.parseClassMethod(i,u,c,j)}else this.parseClassField(i);return i},V.isClassElementNameStart=function(){return this.type===n.name||this.type===n.privateId||this.type===n.num||this.type===n.string||this.type===n.bracketL||this.type.keyword},V.parseClassElementName=function(e){this.type===n.privateId?(this.value==="constructor"&&this.raise(this.start,"Classes can't have an element named '#constructor'"),e.computed=!1,e.key=this.parsePrivateIdent()):this.parsePropertyName(e)},V.parseClassMethod=function(e,t,i,a){var u=e.key;e.kind==="constructor"?(t&&this.raise(u.start,"Constructor can't be a generator"),i&&this.raise(u.start,"Constructor can't be an async method")):e.static&&Ge(e,"prototype")&&this.raise(u.start,"Classes may not have a static property named prototype");var c=e.value=this.parseMethod(t,i,a);return e.kind==="get"&&c.params.length!==0&&this.raiseRecoverable(c.start,"getter should have no params"),e.kind==="set"&&c.params.length!==1&&this.raiseRecoverable(c.start,"setter should have exactly one param"),e.kind==="set"&&c.params[0].type==="RestElement"&&this.raiseRecoverable(c.params[0].start,"Setter cannot use rest params"),this.finishNode(e,"MethodDefinition")},V.parseClassField=function(e){return Ge(e,"constructor")?this.raise(e.key.start,"Classes can't have a field named 'constructor'"):e.static&&Ge(e,"prototype")&&this.raise(e.key.start,"Classes can't have a static field named 'prototype'"),this.eat(n.eq)?(this.enterScope(Pe|Me),e.value=this.parseMaybeAssign(),this.exitScope()):e.value=null,this.semicolon(),this.finishNode(e,"PropertyDefinition")},V.parseClassStaticBlock=function(e){e.body=[];var t=this.labels;for(this.labels=[],this.enterScope(be|Me);this.type!==n.braceR;){var i=this.parseStatement(null);e.body.push(i)}return this.next(),this.exitScope(),this.labels=t,this.finishNode(e,"StaticBlock")},V.parseClassId=function(e,t){this.type===n.name?(e.id=this.parseIdent(),t&&this.checkLValSimple(e.id,me,!1)):(t===!0&&this.unexpected(),e.id=null)},V.parseClassSuper=function(e){e.superClass=this.eat(n._extends)?this.parseExprSubscripts(null,!1):null},V.enterClassBody=function(){var e={declared:Object.create(null),used:[]};return this.privateNameStack.push(e),e.declared},V.exitClassBody=function(){var e=this.privateNameStack.pop(),t=e.declared,i=e.used;if(this.options.checkPrivateFields)for(var a=this.privateNameStack.length,u=a===0?null:this.privateNameStack[a-1],c=0;c<i.length;++c){var m=i[c];z(t,m.name)||(u?u.used.push(m):this.raiseRecoverable(m.start,"Private field '#"+m.name+"' must be declared in an enclosing class"))}};function wi(e,t){var i=t.key.name,a=e[i],u="true";return t.type==="MethodDefinition"&&(t.kind==="get"||t.kind==="set")&&(u=(t.static?"s":"i")+t.kind),a==="iget"&&u==="iset"||a==="iset"&&u==="iget"||a==="sget"&&u==="sset"||a==="sset"&&u==="sget"?(e[i]="true",!1):a?!0:(e[i]=u,!1)}function Ge(e,t){var i=e.computed,a=e.key;return!i&&(a.type==="Identifier"&&a.name===t||a.type==="Literal"&&a.value===t)}V.parseExportAllDeclaration=function(e,t){return this.options.ecmaVersion>=11&&(this.eatContextual("as")?(e.exported=this.parseModuleExportName(),this.checkExport(t,e.exported,this.lastTokStart)):e.exported=null),this.expectContextual("from"),this.type!==n.string&&this.unexpected(),e.source=this.parseExprAtom(),this.options.ecmaVersion>=16&&(e.attributes=this.parseWithClause()),this.semicolon(),this.finishNode(e,"ExportAllDeclaration")},V.parseExport=function(e,t){if(this.next(),this.eat(n.star))return this.parseExportAllDeclaration(e,t);if(this.eat(n._default))return this.checkExport(t,"default",this.lastTokStart),e.declaration=this.parseExportDefaultDeclaration(),this.finishNode(e,"ExportDefaultDeclaration");if(this.shouldParseExportStatement())e.declaration=this.parseExportDeclaration(e),e.declaration.type==="VariableDeclaration"?this.checkVariableExport(t,e.declaration.declarations):this.checkExport(t,e.declaration.id,e.declaration.id.start),e.specifiers=[],e.source=null,this.options.ecmaVersion>=16&&(e.attributes=[]);else{if(e.declaration=null,e.specifiers=this.parseExportSpecifiers(t),this.eatContextual("from"))this.type!==n.string&&this.unexpected(),e.source=this.parseExprAtom(),this.options.ecmaVersion>=16&&(e.attributes=this.parseWithClause());else{for(var i=0,a=e.specifiers;i<a.length;i+=1){var u=a[i];this.checkUnreserved(u.local),this.checkLocalExport(u.local),u.local.type==="Literal"&&this.raise(u.local.start,"A string literal cannot be used as an exported binding without `from`.")}e.source=null,this.options.ecmaVersion>=16&&(e.attributes=[])}this.semicolon()}return this.finishNode(e,"ExportNamedDeclaration")},V.parseExportDeclaration=function(e){return this.parseStatement(null)},V.parseExportDefaultDeclaration=function(){var e;if(this.type===n._function||(e=this.isAsyncFunction())){var t=this.startNode();return this.next(),e&&this.next(),this.parseFunction(t,Le|St,!1,e)}else if(this.type===n._class){var i=this.startNode();return this.parseClass(i,"nullableID")}else{var a=this.parseMaybeAssign();return this.semicolon(),a}},V.checkExport=function(e,t,i){e&&(typeof t!="string"&&(t=t.type==="Identifier"?t.name:t.value),z(e,t)&&this.raiseRecoverable(i,"Duplicate export '"+t+"'"),e[t]=!0)},V.checkPatternExport=function(e,t){var i=t.type;if(i==="Identifier")this.checkExport(e,t,t.start);else if(i==="ObjectPattern")for(var a=0,u=t.properties;a<u.length;a+=1){var c=u[a];this.checkPatternExport(e,c)}else if(i==="ArrayPattern")for(var m=0,_=t.elements;m<_.length;m+=1){var E=_[m];E&&this.checkPatternExport(e,E)}else i==="Property"?this.checkPatternExport(e,t.value):i==="AssignmentPattern"?this.checkPatternExport(e,t.left):i==="RestElement"&&this.checkPatternExport(e,t.argument)},V.checkVariableExport=function(e,t){if(e)for(var i=0,a=t;i<a.length;i+=1){var u=a[i];this.checkPatternExport(e,u.id)}},V.shouldParseExportStatement=function(){return this.type.keyword==="var"||this.type.keyword==="const"||this.type.keyword==="class"||this.type.keyword==="function"||this.isLet()||this.isAsyncFunction()},V.parseExportSpecifier=function(e){var t=this.startNode();return t.local=this.parseModuleExportName(),t.exported=this.eatContextual("as")?this.parseModuleExportName():t.local,this.checkExport(e,t.exported,t.exported.start),this.finishNode(t,"ExportSpecifier")},V.parseExportSpecifiers=function(e){var t=[],i=!0;for(this.expect(n.braceL);!this.eat(n.braceR);){if(i)i=!1;else if(this.expect(n.comma),this.afterTrailingComma(n.braceR))break;t.push(this.parseExportSpecifier(e))}return t},V.parseImport=function(e){return this.next(),this.type===n.string?(e.specifiers=Si,e.source=this.parseExprAtom()):(e.specifiers=this.parseImportSpecifiers(),this.expectContextual("from"),e.source=this.type===n.string?this.parseExprAtom():this.unexpected()),this.options.ecmaVersion>=16&&(e.attributes=this.parseWithClause()),this.semicolon(),this.finishNode(e,"ImportDeclaration")},V.parseImportSpecifier=function(){var e=this.startNode();return e.imported=this.parseModuleExportName(),this.eatContextual("as")?e.local=this.parseIdent():(this.checkUnreserved(e.imported),e.local=e.imported),this.checkLValSimple(e.local,me),this.finishNode(e,"ImportSpecifier")},V.parseImportDefaultSpecifier=function(){var e=this.startNode();return e.local=this.parseIdent(),this.checkLValSimple(e.local,me),this.finishNode(e,"ImportDefaultSpecifier")},V.parseImportNamespaceSpecifier=function(){var e=this.startNode();return this.next(),this.expectContextual("as"),e.local=this.parseIdent(),this.checkLValSimple(e.local,me),this.finishNode(e,"ImportNamespaceSpecifier")},V.parseImportSpecifiers=function(){var e=[],t=!0;if(this.type===n.name&&(e.push(this.parseImportDefaultSpecifier()),!this.eat(n.comma)))return e;if(this.type===n.star)return e.push(this.parseImportNamespaceSpecifier()),e;for(this.expect(n.braceL);!this.eat(n.braceR);){if(t)t=!1;else if(this.expect(n.comma),this.afterTrailingComma(n.braceR))break;e.push(this.parseImportSpecifier())}return e},V.parseWithClause=function(){var e=[];if(!this.eat(n._with))return e;this.expect(n.braceL);for(var t={},i=!0;!this.eat(n.braceR);){if(i)i=!1;else if(this.expect(n.comma),this.afterTrailingComma(n.braceR))break;var a=this.parseImportAttribute(),u=a.key.type==="Identifier"?a.key.name:a.key.value;z(t,u)&&this.raiseRecoverable(a.key.start,"Duplicate attribute key '"+u+"'"),t[u]=!0,e.push(a)}return e},V.parseImportAttribute=function(){var e=this.startNode();return e.key=this.type===n.string?this.parseExprAtom():this.parseIdent(this.options.allowReserved!=="never"),this.expect(n.colon),this.type!==n.string&&this.unexpected(),e.value=this.parseExprAtom(),this.finishNode(e,"ImportAttribute")},V.parseModuleExportName=function(){if(this.options.ecmaVersion>=13&&this.type===n.string){var e=this.parseLiteral(this.value);return Fe.test(e.value)&&this.raise(e.start,"An export name cannot include a lone surrogate."),e}return this.parseIdent(!0)},V.adaptDirectivePrologue=function(e){for(var t=0;t<e.length&&this.isDirectiveCandidate(e[t]);++t)e[t].directive=e[t].expression.raw.slice(1,-1)},V.isDirectiveCandidate=function(e){return this.options.ecmaVersion>=5&&e.type==="ExpressionStatement"&&e.expression.type==="Literal"&&typeof e.expression.value=="string"&&(this.input[e.start]==='"'||this.input[e.start]==="'")};var ue=se.prototype;ue.toAssignable=function(e,t,i){if(this.options.ecmaVersion>=6&&e)switch(e.type){case"Identifier":this.inAsync&&e.name==="await"&&this.raise(e.start,"Cannot use 'await' as identifier inside an async function");break;case"ObjectPattern":case"ArrayPattern":case"AssignmentPattern":case"RestElement":break;case"ObjectExpression":e.type="ObjectPattern",i&&this.checkPatternErrors(i,!0);for(var a=0,u=e.properties;a<u.length;a+=1){var c=u[a];this.toAssignable(c,t),c.type==="RestElement"&&(c.argument.type==="ArrayPattern"||c.argument.type==="ObjectPattern")&&this.raise(c.argument.start,"Unexpected token")}break;case"Property":e.kind!=="init"&&this.raise(e.key.start,"Object pattern can't contain getter or setter"),this.toAssignable(e.value,t);break;case"ArrayExpression":e.type="ArrayPattern",i&&this.checkPatternErrors(i,!0),this.toAssignableList(e.elements,t);break;case"SpreadElement":e.type="RestElement",this.toAssignable(e.argument,t),e.argument.type==="AssignmentPattern"&&this.raise(e.argument.start,"Rest elements cannot have a default value");break;case"AssignmentExpression":e.operator!=="="&&this.raise(e.left.end,"Only '=' operator can be used for specifying default value."),e.type="AssignmentPattern",delete e.operator,this.toAssignable(e.left,t);break;case"ParenthesizedExpression":this.toAssignable(e.expression,t,i);break;case"ChainExpression":this.raiseRecoverable(e.start,"Optional chaining cannot appear in left-hand side");break;case"MemberExpression":if(!t)break;default:this.raise(e.start,"Assigning to rvalue")}else i&&this.checkPatternErrors(i,!0);return e},ue.toAssignableList=function(e,t){for(var i=e.length,a=0;a<i;a++){var u=e[a];u&&this.toAssignable(u,t)}if(i){var c=e[i-1];this.options.ecmaVersion===6&&t&&c&&c.type==="RestElement"&&c.argument.type!=="Identifier"&&this.unexpected(c.argument.start)}return e},ue.parseSpread=function(e){var t=this.startNode();return this.next(),t.argument=this.parseMaybeAssign(!1,e),this.finishNode(t,"SpreadElement")},ue.parseRestBinding=function(){var e=this.startNode();return this.next(),this.options.ecmaVersion===6&&this.type!==n.name&&this.unexpected(),e.argument=this.parseBindingAtom(),this.finishNode(e,"RestElement")},ue.parseBindingAtom=function(){if(this.options.ecmaVersion>=6)switch(this.type){case n.bracketL:var e=this.startNode();return this.next(),e.elements=this.parseBindingList(n.bracketR,!0,!0),this.finishNode(e,"ArrayPattern");case n.braceL:return this.parseObj(!0)}return this.parseIdent()},ue.parseBindingList=function(e,t,i,a){for(var u=[],c=!0;!this.eat(e);)if(c?c=!1:this.expect(n.comma),t&&this.type===n.comma)u.push(null);else{if(i&&this.afterTrailingComma(e))break;if(this.type===n.ellipsis){var m=this.parseRestBinding();this.parseBindingListItem(m),u.push(m),this.type===n.comma&&this.raiseRecoverable(this.start,"Comma is not permitted after the rest element"),this.expect(e);break}else u.push(this.parseAssignableListItem(a))}return u},ue.parseAssignableListItem=function(e){var t=this.parseMaybeDefault(this.start,this.startLoc);return this.parseBindingListItem(t),t},ue.parseBindingListItem=function(e){return e},ue.parseMaybeDefault=function(e,t,i){if(i=i||this.parseBindingAtom(),this.options.ecmaVersion<6||!this.eat(n.eq))return i;var a=this.startNodeAt(e,t);return a.left=i,a.right=this.parseMaybeAssign(),this.finishNode(a,"AssignmentPattern")},ue.checkLValSimple=function(e,t,i){t===void 0&&(t=Ue);var a=t!==Ue;switch(e.type){case"Identifier":this.strict&&this.reservedWordsStrictBind.test(e.name)&&this.raiseRecoverable(e.start,(a?"Binding ":"Assigning to ")+e.name+" in strict mode"),a&&(t===me&&e.name==="let"&&this.raiseRecoverable(e.start,"let is disallowed as a lexically bound name"),i&&(z(i,e.name)&&this.raiseRecoverable(e.start,"Argument name clash"),i[e.name]=!0),t!==bt&&this.declareName(e.name,t,e.start));break;case"ChainExpression":this.raiseRecoverable(e.start,"Optional chaining cannot appear in left-hand side");break;case"MemberExpression":a&&this.raiseRecoverable(e.start,"Binding member expression");break;case"ParenthesizedExpression":return a&&this.raiseRecoverable(e.start,"Binding parenthesized expression"),this.checkLValSimple(e.expression,t,i);default:this.raise(e.start,(a?"Binding":"Assigning to")+" rvalue")}},ue.checkLValPattern=function(e,t,i){switch(t===void 0&&(t=Ue),e.type){case"ObjectPattern":for(var a=0,u=e.properties;a<u.length;a+=1){var c=u[a];this.checkLValInnerPattern(c,t,i)}break;case"ArrayPattern":for(var m=0,_=e.elements;m<_.length;m+=1){var E=_[m];E&&this.checkLValInnerPattern(E,t,i)}break;default:this.checkLValSimple(e,t,i)}},ue.checkLValInnerPattern=function(e,t,i){switch(t===void 0&&(t=Ue),e.type){case"Property":this.checkLValInnerPattern(e.value,t,i);break;case"AssignmentPattern":this.checkLValPattern(e.left,t,i);break;case"RestElement":this.checkLValPattern(e.argument,t,i);break;default:this.checkLValPattern(e,t,i)}};var he=function(t,i,a,u,c){this.token=t,this.isExpr=!!i,this.preserveSpace=!!a,this.override=u,this.generator=!!c},ee={b_stat:new he("{",!1),b_expr:new he("{",!0),b_tmpl:new he("${",!1),p_stat:new he("(",!1),p_expr:new he("(",!0),q_tmpl:new he("`",!0,!0,function(e){return e.tryReadTemplateToken()}),f_stat:new he("function",!1),f_expr:new he("function",!0),f_expr_gen:new he("function",!0,!1,null,!0),f_gen:new he("function",!1,!1,null,!0)},_e=se.prototype;_e.initialContext=function(){return[ee.b_stat]},_e.curContext=function(){return this.context[this.context.length-1]},_e.braceIsBlock=function(e){var t=this.curContext();return t===ee.f_expr||t===ee.f_stat?!0:e===n.colon&&(t===ee.b_stat||t===ee.b_expr)?!t.isExpr:e===n._return||e===n.name&&this.exprAllowed?P.test(this.input.slice(this.lastTokEnd,this.start)):e===n._else||e===n.semi||e===n.eof||e===n.parenR||e===n.arrow?!0:e===n.braceL?t===ee.b_stat:e===n._var||e===n._const||e===n.name?!1:!this.exprAllowed},_e.inGeneratorContext=function(){for(var e=this.context.length-1;e>=1;e--){var t=this.context[e];if(t.token==="function")return t.generator}return!1},_e.updateContext=function(e){var t,i=this.type;i.keyword&&e===n.dot?this.exprAllowed=!1:(t=i.updateContext)?t.call(this,e):this.exprAllowed=i.beforeExpr},_e.overrideContext=function(e){this.curContext()!==e&&(this.context[this.context.length-1]=e)},n.parenR.updateContext=n.braceR.updateContext=function(){if(this.context.length===1){this.exprAllowed=!0;return}var e=this.context.pop();e===ee.b_stat&&this.curContext().token==="function"&&(e=this.context.pop()),this.exprAllowed=!e.isExpr},n.braceL.updateContext=function(e){this.context.push(this.braceIsBlock(e)?ee.b_stat:ee.b_expr),this.exprAllowed=!0},n.dollarBraceL.updateContext=function(){this.context.push(ee.b_tmpl),this.exprAllowed=!0},n.parenL.updateContext=function(e){var t=e===n._if||e===n._for||e===n._with||e===n._while;this.context.push(t?ee.p_stat:ee.p_expr),this.exprAllowed=!0},n.incDec.updateContext=function(){},n._function.updateContext=n._class.updateContext=function(e){e.beforeExpr&&e!==n._else&&!(e===n.semi&&this.curContext()!==ee.p_stat)&&!(e===n._return&&P.test(this.input.slice(this.lastTokEnd,this.start)))&&!((e===n.colon||e===n.braceL)&&this.curContext()===ee.b_stat)?this.context.push(ee.f_expr):this.context.push(ee.f_stat),this.exprAllowed=!1},n.colon.updateContext=function(){this.curContext().token==="function"&&this.context.pop(),this.exprAllowed=!0},n.backQuote.updateContext=function(){this.curContext()===ee.q_tmpl?this.context.pop():this.context.push(ee.q_tmpl),this.exprAllowed=!1},n.star.updateContext=function(e){if(e===n._function){var t=this.context.length-1;this.context[t]===ee.f_expr?this.context[t]=ee.f_expr_gen:this.context[t]=ee.f_gen}this.exprAllowed=!0},n.name.updateContext=function(e){var t=!1;this.options.ecmaVersion>=6&&e!==n.dot&&(this.value==="of"&&!this.exprAllowed||this.value==="yield"&&this.inGeneratorContext())&&(t=!0),this.exprAllowed=t};var F=se.prototype;F.checkPropClash=function(e,t,i){if(!(this.options.ecmaVersion>=9&&e.type==="SpreadElement")&&!(this.options.ecmaVersion>=6&&(e.computed||e.method||e.shorthand))){var a=e.key,u;switch(a.type){case"Identifier":u=a.name;break;case"Literal":u=String(a.value);break;default:return}var c=e.kind;if(this.options.ecmaVersion>=6){u==="__proto__"&&c==="init"&&(t.proto&&(i?i.doubleProto<0&&(i.doubleProto=a.start):this.raiseRecoverable(a.start,"Redefinition of __proto__ property")),t.proto=!0);return}u="$"+u;var m=t[u];if(m){var _;c==="init"?_=this.strict&&m.init||m.get||m.set:_=m.init||m[c],_&&this.raiseRecoverable(a.start,"Redefinition of property")}else m=t[u]={init:!1,get:!1,set:!1};m[c]=!0}},F.parseExpression=function(e,t){var i=this.start,a=this.startLoc,u=this.parseMaybeAssign(e,t);if(this.type===n.comma){var c=this.startNodeAt(i,a);for(c.expressions=[u];this.eat(n.comma);)c.expressions.push(this.parseMaybeAssign(e,t));return this.finishNode(c,"SequenceExpression")}return u},F.parseMaybeAssign=function(e,t,i){if(this.isContextual("yield")){if(this.inGenerator)return this.parseYield(e);this.exprAllowed=!1}var a=!1,u=-1,c=-1,m=-1;t?(u=t.parenthesizedAssign,c=t.trailingComma,m=t.doubleProto,t.parenthesizedAssign=t.trailingComma=-1):(t=new He,a=!0);var _=this.start,E=this.startLoc;(this.type===n.parenL||this.type===n.name)&&(this.potentialArrowAt=this.start,this.potentialArrowInForAwait=e==="await");var H=this.parseMaybeConditional(e,t);if(i&&(H=i.call(this,H,_,E)),this.type.isAssign){var j=this.startNodeAt(_,E);return j.operator=this.value,this.type===n.eq&&(H=this.toAssignable(H,!1,t)),a||(t.parenthesizedAssign=t.trailingComma=t.doubleProto=-1),t.shorthandAssign>=H.start&&(t.shorthandAssign=-1),this.type===n.eq?this.checkLValPattern(H):this.checkLValSimple(H),j.left=H,this.next(),j.right=this.parseMaybeAssign(e),m>-1&&(t.doubleProto=m),this.finishNode(j,"AssignmentExpression")}else a&&this.checkExpressionErrors(t,!0);return u>-1&&(t.parenthesizedAssign=u),c>-1&&(t.trailingComma=c),H},F.parseMaybeConditional=function(e,t){var i=this.start,a=this.startLoc,u=this.parseExprOps(e,t);if(this.checkExpressionErrors(t))return u;if(this.eat(n.question)){var c=this.startNodeAt(i,a);return c.test=u,c.consequent=this.parseMaybeAssign(),this.expect(n.colon),c.alternate=this.parseMaybeAssign(e),this.finishNode(c,"ConditionalExpression")}return u},F.parseExprOps=function(e,t){var i=this.start,a=this.startLoc,u=this.parseMaybeUnary(t,!1,!1,e);return this.checkExpressionErrors(t)||u.start===i&&u.type==="ArrowFunctionExpression"?u:this.parseExprOp(u,i,a,-1,e)},F.parseExprOp=function(e,t,i,a,u){var c=this.type.binop;if(c!=null&&(!u||this.type!==n._in)&&c>a){var m=this.type===n.logicalOR||this.type===n.logicalAND,_=this.type===n.coalesce;_&&(c=n.logicalAND.binop);var E=this.value;this.next();var H=this.start,j=this.startLoc,re=this.parseExprOp(this.parseMaybeUnary(null,!1,!1,u),H,j,c,u),Se=this.buildBinary(t,i,e,re,E,m||_);return(m&&this.type===n.coalesce||_&&(this.type===n.logicalOR||this.type===n.logicalAND))&&this.raiseRecoverable(this.start,"Logical expressions and coalesce expressions cannot be mixed. Wrap either by parentheses"),this.parseExprOp(Se,t,i,a,u)}return e},F.buildBinary=function(e,t,i,a,u,c){a.type==="PrivateIdentifier"&&this.raise(a.start,"Private identifier can only be left side of binary expression");var m=this.startNodeAt(e,t);return m.left=i,m.operator=u,m.right=a,this.finishNode(m,c?"LogicalExpression":"BinaryExpression")},F.parseMaybeUnary=function(e,t,i,a){var u=this.start,c=this.startLoc,m;if(this.isContextual("await")&&this.canAwait)m=this.parseAwait(a),t=!0;else if(this.type.prefix){var _=this.startNode(),E=this.type===n.incDec;_.operator=this.value,_.prefix=!0,this.next(),_.argument=this.parseMaybeUnary(null,!0,E,a),this.checkExpressionErrors(e,!0),E?this.checkLValSimple(_.argument):this.strict&&_.operator==="delete"&&wt(_.argument)?this.raiseRecoverable(_.start,"Deleting local variable in strict mode"):_.operator==="delete"&&it(_.argument)?this.raiseRecoverable(_.start,"Private fields can not be deleted"):t=!0,m=this.finishNode(_,E?"UpdateExpression":"UnaryExpression")}else if(!t&&this.type===n.privateId)(a||this.privateNameStack.length===0)&&this.options.checkPrivateFields&&this.unexpected(),m=this.parsePrivateIdent(),this.type!==n._in&&this.unexpected();else{if(m=this.parseExprSubscripts(e,a),this.checkExpressionErrors(e))return m;for(;this.type.postfix&&!this.canInsertSemicolon();){var H=this.startNodeAt(u,c);H.operator=this.value,H.prefix=!1,H.argument=m,this.checkLValSimple(m),this.next(),m=this.finishNode(H,"UpdateExpression")}}if(!i&&this.eat(n.starstar))if(t)this.unexpected(this.lastTokStart);else return this.buildBinary(u,c,m,this.parseMaybeUnary(null,!1,!1,a),"**",!1);else return m};function wt(e){return e.type==="Identifier"||e.type==="ParenthesizedExpression"&&wt(e.expression)}function it(e){return e.type==="MemberExpression"&&e.property.type==="PrivateIdentifier"||e.type==="ChainExpression"&&it(e.expression)||e.type==="ParenthesizedExpression"&&it(e.expression)}F.parseExprSubscripts=function(e,t){var i=this.start,a=this.startLoc,u=this.parseExprAtom(e,t);if(u.type==="ArrowFunctionExpression"&&this.input.slice(this.lastTokStart,this.lastTokEnd)!==")")return u;var c=this.parseSubscripts(u,i,a,!1,t);return e&&c.type==="MemberExpression"&&(e.parenthesizedAssign>=c.start&&(e.parenthesizedAssign=-1),e.parenthesizedBind>=c.start&&(e.parenthesizedBind=-1),e.trailingComma>=c.start&&(e.trailingComma=-1)),c},F.parseSubscripts=function(e,t,i,a,u){for(var c=this.options.ecmaVersion>=8&&e.type==="Identifier"&&e.name==="async"&&this.lastTokEnd===e.end&&!this.canInsertSemicolon()&&e.end-e.start===5&&this.potentialArrowAt===e.start,m=!1;;){var _=this.parseSubscript(e,t,i,a,c,m,u);if(_.optional&&(m=!0),_===e||_.type==="ArrowFunctionExpression"){if(m){var E=this.startNodeAt(t,i);E.expression=_,_=this.finishNode(E,"ChainExpression")}return _}e=_}},F.shouldParseAsyncArrow=function(){return!this.canInsertSemicolon()&&this.eat(n.arrow)},F.parseSubscriptAsyncArrow=function(e,t,i,a){return this.parseArrowExpression(this.startNodeAt(e,t),i,!0,a)},F.parseSubscript=function(e,t,i,a,u,c,m){var _=this.options.ecmaVersion>=11,E=_&&this.eat(n.questionDot);a&&E&&this.raise(this.lastTokStart,"Optional chaining cannot appear in the callee of new expressions");var H=this.eat(n.bracketL);if(H||E&&this.type!==n.parenL&&this.type!==n.backQuote||this.eat(n.dot)){var j=this.startNodeAt(t,i);j.object=e,H?(j.property=this.parseExpression(),this.expect(n.bracketR)):this.type===n.privateId&&e.type!=="Super"?j.property=this.parsePrivateIdent():j.property=this.parseIdent(this.options.allowReserved!=="never"),j.computed=!!H,_&&(j.optional=E),e=this.finishNode(j,"MemberExpression")}else if(!a&&this.eat(n.parenL)){var re=new He,Se=this.yieldPos,Ve=this.awaitPos,ke=this.awaitIdentPos;this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0;var Ke=this.parseExprList(n.parenR,this.options.ecmaVersion>=8,!1,re);if(u&&!E&&this.shouldParseAsyncArrow())return this.checkPatternErrors(re,!1),this.checkYieldAwaitInDefaultParams(),this.awaitIdentPos>0&&this.raise(this.awaitIdentPos,"Cannot use 'await' as identifier inside an async function"),this.yieldPos=Se,this.awaitPos=Ve,this.awaitIdentPos=ke,this.parseSubscriptAsyncArrow(t,i,Ke,m);this.checkExpressionErrors(re,!0),this.yieldPos=Se||this.yieldPos,this.awaitPos=Ve||this.awaitPos,this.awaitIdentPos=ke||this.awaitIdentPos;var Ee=this.startNodeAt(t,i);Ee.callee=e,Ee.arguments=Ke,_&&(Ee.optional=E),e=this.finishNode(Ee,"CallExpression")}else if(this.type===n.backQuote){(E||c)&&this.raise(this.start,"Optional chaining cannot appear in the tag of tagged template expressions");var Ae=this.startNodeAt(t,i);Ae.tag=e,Ae.quasi=this.parseTemplate({isTagged:!0}),e=this.finishNode(Ae,"TaggedTemplateExpression")}return e},F.parseExprAtom=function(e,t,i){this.type===n.slash&&this.readRegexp();var a,u=this.potentialArrowAt===this.start;switch(this.type){case n._super:return this.allowSuper||this.raise(this.start,"'super' keyword outside a method"),a=this.startNode(),this.next(),this.type===n.parenL&&!this.allowDirectSuper&&this.raise(a.start,"super() call outside constructor of a subclass"),this.type!==n.dot&&this.type!==n.bracketL&&this.type!==n.parenL&&this.unexpected(),this.finishNode(a,"Super");case n._this:return a=this.startNode(),this.next(),this.finishNode(a,"ThisExpression");case n.name:var c=this.start,m=this.startLoc,_=this.containsEsc,E=this.parseIdent(!1);if(this.options.ecmaVersion>=8&&!_&&E.name==="async"&&!this.canInsertSemicolon()&&this.eat(n._function))return this.overrideContext(ee.f_expr),this.parseFunction(this.startNodeAt(c,m),0,!1,!0,t);if(u&&!this.canInsertSemicolon()){if(this.eat(n.arrow))return this.parseArrowExpression(this.startNodeAt(c,m),[E],!1,t);if(this.options.ecmaVersion>=8&&E.name==="async"&&this.type===n.name&&!_&&(!this.potentialArrowInForAwait||this.value!=="of"||this.containsEsc))return E=this.parseIdent(!1),(this.canInsertSemicolon()||!this.eat(n.arrow))&&this.unexpected(),this.parseArrowExpression(this.startNodeAt(c,m),[E],!0,t)}return E;case n.regexp:var H=this.value;return a=this.parseLiteral(H.value),a.regex={pattern:H.pattern,flags:H.flags},a;case n.num:case n.string:return this.parseLiteral(this.value);case n._null:case n._true:case n._false:return a=this.startNode(),a.value=this.type===n._null?null:this.type===n._true,a.raw=this.type.keyword,this.next(),this.finishNode(a,"Literal");case n.parenL:var j=this.start,re=this.parseParenAndDistinguishExpression(u,t);return e&&(e.parenthesizedAssign<0&&!this.isSimpleAssignTarget(re)&&(e.parenthesizedAssign=j),e.parenthesizedBind<0&&(e.parenthesizedBind=j)),re;case n.bracketL:return a=this.startNode(),this.next(),a.elements=this.parseExprList(n.bracketR,!0,!0,e),this.finishNode(a,"ArrayExpression");case n.braceL:return this.overrideContext(ee.b_expr),this.parseObj(!1,e);case n._function:return a=this.startNode(),this.next(),this.parseFunction(a,0);case n._class:return this.parseClass(this.startNode(),!1);case n._new:return this.parseNew();case n.backQuote:return this.parseTemplate();case n._import:return this.options.ecmaVersion>=11?this.parseExprImport(i):this.unexpected();default:return this.parseExprAtomDefault()}},F.parseExprAtomDefault=function(){this.unexpected()},F.parseExprImport=function(e){var t=this.startNode();if(this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword import"),this.next(),this.type===n.parenL&&!e)return this.parseDynamicImport(t);if(this.type===n.dot){var i=this.startNodeAt(t.start,t.loc&&t.loc.start);return i.name="import",t.meta=this.finishNode(i,"Identifier"),this.parseImportMeta(t)}else this.unexpected()},F.parseDynamicImport=function(e){if(this.next(),e.source=this.parseMaybeAssign(),this.options.ecmaVersion>=16)this.eat(n.parenR)?e.options=null:(this.expect(n.comma),this.afterTrailingComma(n.parenR)?e.options=null:(e.options=this.parseMaybeAssign(),this.eat(n.parenR)||(this.expect(n.comma),this.afterTrailingComma(n.parenR)||this.unexpected())));else if(!this.eat(n.parenR)){var t=this.start;this.eat(n.comma)&&this.eat(n.parenR)?this.raiseRecoverable(t,"Trailing comma is not allowed in import()"):this.unexpected(t)}return this.finishNode(e,"ImportExpression")},F.parseImportMeta=function(e){this.next();var t=this.containsEsc;return e.property=this.parseIdent(!0),e.property.name!=="meta"&&this.raiseRecoverable(e.property.start,"The only valid meta property for import is 'import.meta'"),t&&this.raiseRecoverable(e.start,"'import.meta' must not contain escaped characters"),this.options.sourceType!=="module"&&!this.options.allowImportExportEverywhere&&this.raiseRecoverable(e.start,"Cannot use 'import.meta' outside a module"),this.finishNode(e,"MetaProperty")},F.parseLiteral=function(e){var t=this.startNode();return t.value=e,t.raw=this.input.slice(this.start,this.end),t.raw.charCodeAt(t.raw.length-1)===110&&(t.bigint=t.raw.slice(0,-1).replace(/_/g,"")),this.next(),this.finishNode(t,"Literal")},F.parseParenExpression=function(){this.expect(n.parenL);var e=this.parseExpression();return this.expect(n.parenR),e},F.shouldParseArrow=function(e){return!this.canInsertSemicolon()},F.parseParenAndDistinguishExpression=function(e,t){var i=this.start,a=this.startLoc,u,c=this.options.ecmaVersion>=8;if(this.options.ecmaVersion>=6){this.next();var m=this.start,_=this.startLoc,E=[],H=!0,j=!1,re=new He,Se=this.yieldPos,Ve=this.awaitPos,ke;for(this.yieldPos=0,this.awaitPos=0;this.type!==n.parenR;)if(H?H=!1:this.expect(n.comma),c&&this.afterTrailingComma(n.parenR,!0)){j=!0;break}else if(this.type===n.ellipsis){ke=this.start,E.push(this.parseParenItem(this.parseRestBinding())),this.type===n.comma&&this.raiseRecoverable(this.start,"Comma is not permitted after the rest element");break}else E.push(this.parseMaybeAssign(!1,re,this.parseParenItem));var Ke=this.lastTokEnd,Ee=this.lastTokEndLoc;if(this.expect(n.parenR),e&&this.shouldParseArrow(E)&&this.eat(n.arrow))return this.checkPatternErrors(re,!1),this.checkYieldAwaitInDefaultParams(),this.yieldPos=Se,this.awaitPos=Ve,this.parseParenArrowList(i,a,E,t);(!E.length||j)&&this.unexpected(this.lastTokStart),ke&&this.unexpected(ke),this.checkExpressionErrors(re,!0),this.yieldPos=Se||this.yieldPos,this.awaitPos=Ve||this.awaitPos,E.length>1?(u=this.startNodeAt(m,_),u.expressions=E,this.finishNodeAt(u,"SequenceExpression",Ke,Ee)):u=E[0]}else u=this.parseParenExpression();if(this.options.preserveParens){var Ae=this.startNodeAt(i,a);return Ae.expression=u,this.finishNode(Ae,"ParenthesizedExpression")}else return u},F.parseParenItem=function(e){return e},F.parseParenArrowList=function(e,t,i,a){return this.parseArrowExpression(this.startNodeAt(e,t),i,!1,a)};var Ti=[];F.parseNew=function(){this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword new");var e=this.startNode();if(this.next(),this.options.ecmaVersion>=6&&this.type===n.dot){var t=this.startNodeAt(e.start,e.loc&&e.loc.start);t.name="new",e.meta=this.finishNode(t,"Identifier"),this.next();var i=this.containsEsc;return e.property=this.parseIdent(!0),e.property.name!=="target"&&this.raiseRecoverable(e.property.start,"The only valid meta property for new is 'new.target'"),i&&this.raiseRecoverable(e.start,"'new.target' must not contain escaped characters"),this.allowNewDotTarget||this.raiseRecoverable(e.start,"'new.target' can only be used in functions and class static block"),this.finishNode(e,"MetaProperty")}var a=this.start,u=this.startLoc;return e.callee=this.parseSubscripts(this.parseExprAtom(null,!1,!0),a,u,!0,!1),this.eat(n.parenL)?e.arguments=this.parseExprList(n.parenR,this.options.ecmaVersion>=8,!1):e.arguments=Ti,this.finishNode(e,"NewExpression")},F.parseTemplateElement=function(e){var t=e.isTagged,i=this.startNode();return this.type===n.invalidTemplate?(t||this.raiseRecoverable(this.start,"Bad escape sequence in untagged template literal"),i.value={raw:this.value.replace(/\r\n?/g,`
4
+ `),cooked:null}):i.value={raw:this.input.slice(this.start,this.end).replace(/\r\n?/g,`
5
+ `),cooked:this.value},this.next(),i.tail=this.type===n.backQuote,this.finishNode(i,"TemplateElement")},F.parseTemplate=function(e){e===void 0&&(e={});var t=e.isTagged;t===void 0&&(t=!1);var i=this.startNode();this.next(),i.expressions=[];var a=this.parseTemplateElement({isTagged:t});for(i.quasis=[a];!a.tail;)this.type===n.eof&&this.raise(this.pos,"Unterminated template literal"),this.expect(n.dollarBraceL),i.expressions.push(this.parseExpression()),this.expect(n.braceR),i.quasis.push(a=this.parseTemplateElement({isTagged:t}));return this.next(),this.finishNode(i,"TemplateLiteral")},F.isAsyncProp=function(e){return!e.computed&&e.key.type==="Identifier"&&e.key.name==="async"&&(this.type===n.name||this.type===n.num||this.type===n.string||this.type===n.bracketL||this.type.keyword||this.options.ecmaVersion>=9&&this.type===n.star)&&!P.test(this.input.slice(this.lastTokEnd,this.start))},F.parseObj=function(e,t){var i=this.startNode(),a=!0,u={};for(i.properties=[],this.next();!this.eat(n.braceR);){if(a)a=!1;else if(this.expect(n.comma),this.options.ecmaVersion>=5&&this.afterTrailingComma(n.braceR))break;var c=this.parseProperty(e,t);e||this.checkPropClash(c,u,t),i.properties.push(c)}return this.finishNode(i,e?"ObjectPattern":"ObjectExpression")},F.parseProperty=function(e,t){var i=this.startNode(),a,u,c,m;if(this.options.ecmaVersion>=9&&this.eat(n.ellipsis))return e?(i.argument=this.parseIdent(!1),this.type===n.comma&&this.raiseRecoverable(this.start,"Comma is not permitted after the rest element"),this.finishNode(i,"RestElement")):(i.argument=this.parseMaybeAssign(!1,t),this.type===n.comma&&t&&t.trailingComma<0&&(t.trailingComma=this.start),this.finishNode(i,"SpreadElement"));this.options.ecmaVersion>=6&&(i.method=!1,i.shorthand=!1,(e||t)&&(c=this.start,m=this.startLoc),e||(a=this.eat(n.star)));var _=this.containsEsc;return this.parsePropertyName(i),!e&&!_&&this.options.ecmaVersion>=8&&!a&&this.isAsyncProp(i)?(u=!0,a=this.options.ecmaVersion>=9&&this.eat(n.star),this.parsePropertyName(i)):u=!1,this.parsePropertyValue(i,e,a,u,c,m,t,_),this.finishNode(i,"Property")},F.parseGetterSetter=function(e){var t=e.key.name;this.parsePropertyName(e),e.value=this.parseMethod(!1),e.kind=t;var i=e.kind==="get"?0:1;if(e.value.params.length!==i){var a=e.value.start;e.kind==="get"?this.raiseRecoverable(a,"getter should have no params"):this.raiseRecoverable(a,"setter should have exactly one param")}else e.kind==="set"&&e.value.params[0].type==="RestElement"&&this.raiseRecoverable(e.value.params[0].start,"Setter cannot use rest params")},F.parsePropertyValue=function(e,t,i,a,u,c,m,_){(i||a)&&this.type===n.colon&&this.unexpected(),this.eat(n.colon)?(e.value=t?this.parseMaybeDefault(this.start,this.startLoc):this.parseMaybeAssign(!1,m),e.kind="init"):this.options.ecmaVersion>=6&&this.type===n.parenL?(t&&this.unexpected(),e.method=!0,e.value=this.parseMethod(i,a),e.kind="init"):!t&&!_&&this.options.ecmaVersion>=5&&!e.computed&&e.key.type==="Identifier"&&(e.key.name==="get"||e.key.name==="set")&&this.type!==n.comma&&this.type!==n.braceR&&this.type!==n.eq?((i||a)&&this.unexpected(),this.parseGetterSetter(e)):this.options.ecmaVersion>=6&&!e.computed&&e.key.type==="Identifier"?((i||a)&&this.unexpected(),this.checkUnreserved(e.key),e.key.name==="await"&&!this.awaitIdentPos&&(this.awaitIdentPos=u),t?e.value=this.parseMaybeDefault(u,c,this.copyNode(e.key)):this.type===n.eq&&m?(m.shorthandAssign<0&&(m.shorthandAssign=this.start),e.value=this.parseMaybeDefault(u,c,this.copyNode(e.key))):e.value=this.copyNode(e.key),e.kind="init",e.shorthand=!0):this.unexpected()},F.parsePropertyName=function(e){if(this.options.ecmaVersion>=6){if(this.eat(n.bracketL))return e.computed=!0,e.key=this.parseMaybeAssign(),this.expect(n.bracketR),e.key;e.computed=!1}return e.key=this.type===n.num||this.type===n.string?this.parseExprAtom():this.parseIdent(this.options.allowReserved!=="never")},F.initFunction=function(e){e.id=null,this.options.ecmaVersion>=6&&(e.generator=e.expression=!1),this.options.ecmaVersion>=8&&(e.async=!1)},F.parseMethod=function(e,t,i){var a=this.startNode(),u=this.yieldPos,c=this.awaitPos,m=this.awaitIdentPos;return this.initFunction(a),this.options.ecmaVersion>=6&&(a.generator=e),this.options.ecmaVersion>=8&&(a.async=!!t),this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,this.enterScope(Ze(t,a.generator)|Me|(i?yt:0)),this.expect(n.parenL),a.params=this.parseBindingList(n.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams(),this.parseFunctionBody(a,!1,!0,!1),this.yieldPos=u,this.awaitPos=c,this.awaitIdentPos=m,this.finishNode(a,"FunctionExpression")},F.parseArrowExpression=function(e,t,i,a){var u=this.yieldPos,c=this.awaitPos,m=this.awaitIdentPos;return this.enterScope(Ze(i,!1)|Ye),this.initFunction(e),this.options.ecmaVersion>=8&&(e.async=!!i),this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,e.params=this.toAssignableList(t,!0),this.parseFunctionBody(e,!0,!1,a),this.yieldPos=u,this.awaitPos=c,this.awaitIdentPos=m,this.finishNode(e,"ArrowFunctionExpression")},F.parseFunctionBody=function(e,t,i,a){var u=t&&this.type!==n.braceL,c=this.strict,m=!1;if(u)e.body=this.parseMaybeAssign(a),e.expression=!0,this.checkParams(e,!1);else{var _=this.options.ecmaVersion>=7&&!this.isSimpleParamList(e.params);(!c||_)&&(m=this.strictDirective(this.end),m&&_&&this.raiseRecoverable(e.start,"Illegal 'use strict' directive in function with non-simple parameter list"));var E=this.labels;this.labels=[],m&&(this.strict=!0),this.checkParams(e,!c&&!m&&!t&&!i&&this.isSimpleParamList(e.params)),this.strict&&e.id&&this.checkLValSimple(e.id,bt),e.body=this.parseBlock(!1,void 0,m&&!c),e.expression=!1,this.adaptDirectivePrologue(e.body.body),this.labels=E}this.exitScope()},F.isSimpleParamList=function(e){for(var t=0,i=e;t<i.length;t+=1){var a=i[t];if(a.type!=="Identifier")return!1}return!0},F.checkParams=function(e,t){for(var i=Object.create(null),a=0,u=e.params;a<u.length;a+=1){var c=u[a];this.checkLValInnerPattern(c,$e,t?null:i)}},F.parseExprList=function(e,t,i,a){for(var u=[],c=!0;!this.eat(e);){if(c)c=!1;else if(this.expect(n.comma),t&&this.afterTrailingComma(e))break;var m=void 0;i&&this.type===n.comma?m=null:this.type===n.ellipsis?(m=this.parseSpread(a),a&&this.type===n.comma&&a.trailingComma<0&&(a.trailingComma=this.start)):m=this.parseMaybeAssign(!1,a),u.push(m)}return u},F.checkUnreserved=function(e){var t=e.start,i=e.end,a=e.name;if(this.inGenerator&&a==="yield"&&this.raiseRecoverable(t,"Cannot use 'yield' as identifier inside a generator"),this.inAsync&&a==="await"&&this.raiseRecoverable(t,"Cannot use 'await' as identifier inside an async function"),!(this.currentThisScope().flags&qe)&&a==="arguments"&&this.raiseRecoverable(t,"Cannot use 'arguments' in class field initializer"),this.inClassStaticBlock&&(a==="arguments"||a==="await")&&this.raise(t,"Cannot use "+a+" in class static initialization block"),this.keywords.test(a)&&this.raise(t,"Unexpected keyword '"+a+"'"),!(this.options.ecmaVersion<6&&this.input.slice(t,i).indexOf("\\")!==-1)){var u=this.strict?this.reservedWordsStrict:this.reservedWords;u.test(a)&&(!this.inAsync&&a==="await"&&this.raiseRecoverable(t,"Cannot use keyword 'await' outside an async function"),this.raiseRecoverable(t,"The keyword '"+a+"' is reserved"))}},F.parseIdent=function(e){var t=this.parseIdentNode();return this.next(!!e),this.finishNode(t,"Identifier"),e||(this.checkUnreserved(t),t.name==="await"&&!this.awaitIdentPos&&(this.awaitIdentPos=t.start)),t},F.parseIdentNode=function(){var e=this.startNode();return this.type===n.name?e.name=this.value:this.type.keyword?(e.name=this.type.keyword,(e.name==="class"||e.name==="function")&&(this.lastTokEnd!==this.lastTokStart+1||this.input.charCodeAt(this.lastTokStart)!==46)&&this.context.pop(),this.type=n.name):this.unexpected(),e},F.parsePrivateIdent=function(){var e=this.startNode();return this.type===n.privateId?e.name=this.value:this.unexpected(),this.next(),this.finishNode(e,"PrivateIdentifier"),this.options.checkPrivateFields&&(this.privateNameStack.length===0?this.raise(e.start,"Private field '#"+e.name+"' must be declared in an enclosing class"):this.privateNameStack[this.privateNameStack.length-1].used.push(e)),e},F.parseYield=function(e){this.yieldPos||(this.yieldPos=this.start);var t=this.startNode();return this.next(),this.type===n.semi||this.canInsertSemicolon()||this.type!==n.star&&!this.type.startsExpr?(t.delegate=!1,t.argument=null):(t.delegate=this.eat(n.star),t.argument=this.parseMaybeAssign(e)),this.finishNode(t,"YieldExpression")},F.parseAwait=function(e){this.awaitPos||(this.awaitPos=this.start);var t=this.startNode();return this.next(),t.argument=this.parseMaybeUnary(null,!0,!1,e),this.finishNode(t,"AwaitExpression")};var We=se.prototype;We.raise=function(e,t){var i=ve(this.input,e);t+=" ("+i.line+":"+i.column+")",this.sourceFile&&(t+=" in "+this.sourceFile);var a=new SyntaxError(t);throw a.pos=e,a.loc=i,a.raisedAt=this.pos,a},We.raiseRecoverable=We.raise,We.curPosition=function(){if(this.options.locations)return new ye(this.curLine,this.pos-this.lineStart)};var ge=se.prototype,Ci=function(t){this.flags=t,this.var=[],this.lexical=[],this.functions=[]};ge.enterScope=function(e){this.scopeStack.push(new Ci(e))},ge.exitScope=function(){this.scopeStack.pop()},ge.treatFunctionsAsVarInScope=function(e){return e.flags&Ce||!this.inModule&&e.flags&Ie},ge.declareName=function(e,t,i){var a=!1;if(t===me){var u=this.currentScope();a=u.lexical.indexOf(e)>-1||u.functions.indexOf(e)>-1||u.var.indexOf(e)>-1,u.lexical.push(e),this.inModule&&u.flags&Ie&&delete this.undefinedExports[e]}else if(t===gt){var c=this.currentScope();c.lexical.push(e)}else if(t===vt){var m=this.currentScope();this.treatFunctionsAsVar?a=m.lexical.indexOf(e)>-1:a=m.lexical.indexOf(e)>-1||m.var.indexOf(e)>-1,m.functions.push(e)}else for(var _=this.scopeStack.length-1;_>=0;--_){var E=this.scopeStack[_];if(E.lexical.indexOf(e)>-1&&!(E.flags&xt&&E.lexical[0]===e)||!this.treatFunctionsAsVarInScope(E)&&E.functions.indexOf(e)>-1){a=!0;break}if(E.var.push(e),this.inModule&&E.flags&Ie&&delete this.undefinedExports[e],E.flags&qe)break}a&&this.raiseRecoverable(i,"Identifier '"+e+"' has already been declared")},ge.checkLocalExport=function(e){this.scopeStack[0].lexical.indexOf(e.name)===-1&&this.scopeStack[0].var.indexOf(e.name)===-1&&(this.undefinedExports[e.name]=e)},ge.currentScope=function(){return this.scopeStack[this.scopeStack.length-1]},ge.currentVarScope=function(){for(var e=this.scopeStack.length-1;;e--){var t=this.scopeStack[e];if(t.flags&(qe|Pe|be))return t}},ge.currentThisScope=function(){for(var e=this.scopeStack.length-1;;e--){var t=this.scopeStack[e];if(t.flags&(qe|Pe|be)&&!(t.flags&Ye))return t}};var Oe=function(t,i,a){this.type="",this.start=i,this.end=0,t.options.locations&&(this.loc=new de(t,a)),t.options.directSourceFile&&(this.sourceFile=t.options.directSourceFile),t.options.ranges&&(this.range=[i,0])},Re=se.prototype;Re.startNode=function(){return new Oe(this,this.start,this.startLoc)},Re.startNodeAt=function(e,t){return new Oe(this,e,t)};function Tt(e,t,i,a){return e.type=t,e.end=i,this.options.locations&&(e.loc.end=a),this.options.ranges&&(e.range[1]=i),e}Re.finishNode=function(e,t){return Tt.call(this,e,t,this.lastTokEnd,this.lastTokEndLoc)},Re.finishNodeAt=function(e,t,i,a){return Tt.call(this,e,t,i,a)},Re.copyNode=function(e){var t=new Oe(this,e.start,this.startLoc);for(var i in e)t[i]=e[i];return t};var _i="Gara Garay Gukh Gurung_Khema Hrkt Katakana_Or_Hiragana Kawi Kirat_Rai Krai Nag_Mundari Nagm Ol_Onal Onao Sunu Sunuwar Todhri Todr Tulu_Tigalari Tutg Unknown Zzzz",Ct="ASCII ASCII_Hex_Digit AHex Alphabetic Alpha Any Assigned Bidi_Control Bidi_C Bidi_Mirrored Bidi_M Case_Ignorable CI Cased Changes_When_Casefolded CWCF Changes_When_Casemapped CWCM Changes_When_Lowercased CWL Changes_When_NFKC_Casefolded CWKCF Changes_When_Titlecased CWT Changes_When_Uppercased CWU Dash Default_Ignorable_Code_Point DI Deprecated Dep Diacritic Dia Emoji Emoji_Component Emoji_Modifier Emoji_Modifier_Base Emoji_Presentation Extender Ext Grapheme_Base Gr_Base Grapheme_Extend Gr_Ext Hex_Digit Hex IDS_Binary_Operator IDSB IDS_Trinary_Operator IDST ID_Continue IDC ID_Start IDS Ideographic Ideo Join_Control Join_C Logical_Order_Exception LOE Lowercase Lower Math Noncharacter_Code_Point NChar Pattern_Syntax Pat_Syn Pattern_White_Space Pat_WS Quotation_Mark QMark Radical Regional_Indicator RI Sentence_Terminal STerm Soft_Dotted SD Terminal_Punctuation Term Unified_Ideograph UIdeo Uppercase Upper Variation_Selector VS White_Space space XID_Continue XIDC XID_Start XIDS",_t=Ct+" Extended_Pictographic",kt=_t,Et=kt+" EBase EComp EMod EPres ExtPict",At=Et,ki=At,Ei={9:Ct,10:_t,11:kt,12:Et,13:At,14:ki},Ai="Basic_Emoji Emoji_Keycap_Sequence RGI_Emoji_Modifier_Sequence RGI_Emoji_Flag_Sequence RGI_Emoji_Tag_Sequence RGI_Emoji_ZWJ_Sequence RGI_Emoji",Ni={9:"",10:"",11:"",12:"",13:"",14:Ai},Nt="Cased_Letter LC Close_Punctuation Pe Connector_Punctuation Pc Control Cc cntrl Currency_Symbol Sc Dash_Punctuation Pd Decimal_Number Nd digit Enclosing_Mark Me Final_Punctuation Pf Format Cf Initial_Punctuation Pi Letter L Letter_Number Nl Line_Separator Zl Lowercase_Letter Ll Mark M Combining_Mark Math_Symbol Sm Modifier_Letter Lm Modifier_Symbol Sk Nonspacing_Mark Mn Number N Open_Punctuation Ps Other C Other_Letter Lo Other_Number No Other_Punctuation Po Other_Symbol So Paragraph_Separator Zp Private_Use Co Punctuation P punct Separator Z Space_Separator Zs Spacing_Mark Mc Surrogate Cs Symbol S Titlecase_Letter Lt Unassigned Cn Uppercase_Letter Lu",It="Adlam Adlm Ahom Anatolian_Hieroglyphs Hluw Arabic Arab Armenian Armn Avestan Avst Balinese Bali Bamum Bamu Bassa_Vah Bass Batak Batk Bengali Beng Bhaiksuki Bhks Bopomofo Bopo Brahmi Brah Braille Brai Buginese Bugi Buhid Buhd Canadian_Aboriginal Cans Carian Cari Caucasian_Albanian Aghb Chakma Cakm Cham Cham Cherokee Cher Common Zyyy Coptic Copt Qaac Cuneiform Xsux Cypriot Cprt Cyrillic Cyrl Deseret Dsrt Devanagari Deva Duployan Dupl Egyptian_Hieroglyphs Egyp Elbasan Elba Ethiopic Ethi Georgian Geor Glagolitic Glag Gothic Goth Grantha Gran Greek Grek Gujarati Gujr Gurmukhi Guru Han Hani Hangul Hang Hanunoo Hano Hatran Hatr Hebrew Hebr Hiragana Hira Imperial_Aramaic Armi Inherited Zinh Qaai Inscriptional_Pahlavi Phli Inscriptional_Parthian Prti Javanese Java Kaithi Kthi Kannada Knda Katakana Kana Kayah_Li Kali Kharoshthi Khar Khmer Khmr Khojki Khoj Khudawadi Sind Lao Laoo Latin Latn Lepcha Lepc Limbu Limb Linear_A Lina Linear_B Linb Lisu Lisu Lycian Lyci Lydian Lydi Mahajani Mahj Malayalam Mlym Mandaic Mand Manichaean Mani Marchen Marc Masaram_Gondi Gonm Meetei_Mayek Mtei Mende_Kikakui Mend Meroitic_Cursive Merc Meroitic_Hieroglyphs Mero Miao Plrd Modi Mongolian Mong Mro Mroo Multani Mult Myanmar Mymr Nabataean Nbat New_Tai_Lue Talu Newa Newa Nko Nkoo Nushu Nshu Ogham Ogam Ol_Chiki Olck Old_Hungarian Hung Old_Italic Ital Old_North_Arabian Narb Old_Permic Perm Old_Persian Xpeo Old_South_Arabian Sarb Old_Turkic Orkh Oriya Orya Osage Osge Osmanya Osma Pahawh_Hmong Hmng Palmyrene Palm Pau_Cin_Hau Pauc Phags_Pa Phag Phoenician Phnx Psalter_Pahlavi Phlp Rejang Rjng Runic Runr Samaritan Samr Saurashtra Saur Sharada Shrd Shavian Shaw Siddham Sidd SignWriting Sgnw Sinhala Sinh Sora_Sompeng Sora Soyombo Soyo Sundanese Sund Syloti_Nagri Sylo Syriac Syrc Tagalog Tglg Tagbanwa Tagb Tai_Le Tale Tai_Tham Lana Tai_Viet Tavt Takri Takr Tamil Taml Tangut Tang Telugu Telu Thaana Thaa Thai Thai Tibetan Tibt Tifinagh Tfng Tirhuta Tirh Ugaritic Ugar Vai Vaii Warang_Citi Wara Yi Yiii Zanabazar_Square Zanb",Pt=It+" Dogra Dogr Gunjala_Gondi Gong Hanifi_Rohingya Rohg Makasar Maka Medefaidrin Medf Old_Sogdian Sogo Sogdian Sogd",Lt=Pt+" Elymaic Elym Nandinagari Nand Nyiakeng_Puachue_Hmong Hmnp Wancho Wcho",Ot=Lt+" Chorasmian Chrs Diak Dives_Akuru Khitan_Small_Script Kits Yezi Yezidi",Rt=Ot+" Cypro_Minoan Cpmn Old_Uyghur Ougr Tangsa Tnsa Toto Vithkuqi Vith",Ii=Rt+" "+_i,Pi={9:It,10:Pt,11:Lt,12:Ot,13:Rt,14:Ii},Vt={};function Li(e){var t=Vt[e]={binary:$(Ei[e]+" "+Nt),binaryOfStrings:$(Ni[e]),nonBinary:{General_Category:$(Nt),Script:$(Pi[e])}};t.nonBinary.Script_Extensions=t.nonBinary.Script,t.nonBinary.gc=t.nonBinary.General_Category,t.nonBinary.sc=t.nonBinary.Script,t.nonBinary.scx=t.nonBinary.Script_Extensions}for(var st=0,Dt=[9,10,11,12,13,14];st<Dt.length;st+=1){var Oi=Dt[st];Li(Oi)}var O=se.prototype,Xe=function(t,i){this.parent=t,this.base=i||this};Xe.prototype.separatedFrom=function(t){for(var i=this;i;i=i.parent)for(var a=t;a;a=a.parent)if(i.base===a.base&&i!==a)return!0;return!1},Xe.prototype.sibling=function(){return new Xe(this.parent,this.base)};var fe=function(t){this.parser=t,this.validFlags="gim"+(t.options.ecmaVersion>=6?"uy":"")+(t.options.ecmaVersion>=9?"s":"")+(t.options.ecmaVersion>=13?"d":"")+(t.options.ecmaVersion>=15?"v":""),this.unicodeProperties=Vt[t.options.ecmaVersion>=14?14:t.options.ecmaVersion],this.source="",this.flags="",this.start=0,this.switchU=!1,this.switchV=!1,this.switchN=!1,this.pos=0,this.lastIntValue=0,this.lastStringValue="",this.lastAssertionIsQuantifiable=!1,this.numCapturingParens=0,this.maxBackReference=0,this.groupNames=Object.create(null),this.backReferenceNames=[],this.branchID=null};fe.prototype.reset=function(t,i,a){var u=a.indexOf("v")!==-1,c=a.indexOf("u")!==-1;this.start=t|0,this.source=i+"",this.flags=a,u&&this.parser.options.ecmaVersion>=15?(this.switchU=!0,this.switchV=!0,this.switchN=!0):(this.switchU=c&&this.parser.options.ecmaVersion>=6,this.switchV=!1,this.switchN=c&&this.parser.options.ecmaVersion>=9)},fe.prototype.raise=function(t){this.parser.raiseRecoverable(this.start,"Invalid regular expression: /"+this.source+"/: "+t)},fe.prototype.at=function(t,i){i===void 0&&(i=!1);var a=this.source,u=a.length;if(t>=u)return-1;var c=a.charCodeAt(t);if(!(i||this.switchU)||c<=55295||c>=57344||t+1>=u)return c;var m=a.charCodeAt(t+1);return m>=56320&&m<=57343?(c<<10)+m-56613888:c},fe.prototype.nextIndex=function(t,i){i===void 0&&(i=!1);var a=this.source,u=a.length;if(t>=u)return u;var c=a.charCodeAt(t),m;return!(i||this.switchU)||c<=55295||c>=57344||t+1>=u||(m=a.charCodeAt(t+1))<56320||m>57343?t+1:t+2},fe.prototype.current=function(t){return t===void 0&&(t=!1),this.at(this.pos,t)},fe.prototype.lookahead=function(t){return t===void 0&&(t=!1),this.at(this.nextIndex(this.pos,t),t)},fe.prototype.advance=function(t){t===void 0&&(t=!1),this.pos=this.nextIndex(this.pos,t)},fe.prototype.eat=function(t,i){return i===void 0&&(i=!1),this.current(i)===t?(this.advance(i),!0):!1},fe.prototype.eatChars=function(t,i){i===void 0&&(i=!1);for(var a=this.pos,u=0,c=t;u<c.length;u+=1){var m=c[u],_=this.at(a,i);if(_===-1||_!==m)return!1;a=this.nextIndex(a,i)}return this.pos=a,!0},O.validateRegExpFlags=function(e){for(var t=e.validFlags,i=e.flags,a=!1,u=!1,c=0;c<i.length;c++){var m=i.charAt(c);t.indexOf(m)===-1&&this.raise(e.start,"Invalid regular expression flag"),i.indexOf(m,c+1)>-1&&this.raise(e.start,"Duplicate regular expression flag"),m==="u"&&(a=!0),m==="v"&&(u=!0)}this.options.ecmaVersion>=15&&a&&u&&this.raise(e.start,"Invalid regular expression flag")};function Ri(e){for(var t in e)return!0;return!1}O.validateRegExpPattern=function(e){this.regexp_pattern(e),!e.switchN&&this.options.ecmaVersion>=9&&Ri(e.groupNames)&&(e.switchN=!0,this.regexp_pattern(e))},O.regexp_pattern=function(e){e.pos=0,e.lastIntValue=0,e.lastStringValue="",e.lastAssertionIsQuantifiable=!1,e.numCapturingParens=0,e.maxBackReference=0,e.groupNames=Object.create(null),e.backReferenceNames.length=0,e.branchID=null,this.regexp_disjunction(e),e.pos!==e.source.length&&(e.eat(41)&&e.raise("Unmatched ')'"),(e.eat(93)||e.eat(125))&&e.raise("Lone quantifier brackets")),e.maxBackReference>e.numCapturingParens&&e.raise("Invalid escape");for(var t=0,i=e.backReferenceNames;t<i.length;t+=1){var a=i[t];e.groupNames[a]||e.raise("Invalid named capture referenced")}},O.regexp_disjunction=function(e){var t=this.options.ecmaVersion>=16;for(t&&(e.branchID=new Xe(e.branchID,null)),this.regexp_alternative(e);e.eat(124);)t&&(e.branchID=e.branchID.sibling()),this.regexp_alternative(e);t&&(e.branchID=e.branchID.parent),this.regexp_eatQuantifier(e,!0)&&e.raise("Nothing to repeat"),e.eat(123)&&e.raise("Lone quantifier brackets")},O.regexp_alternative=function(e){for(;e.pos<e.source.length&&this.regexp_eatTerm(e););},O.regexp_eatTerm=function(e){return this.regexp_eatAssertion(e)?(e.lastAssertionIsQuantifiable&&this.regexp_eatQuantifier(e)&&e.switchU&&e.raise("Invalid quantifier"),!0):(e.switchU?this.regexp_eatAtom(e):this.regexp_eatExtendedAtom(e))?(this.regexp_eatQuantifier(e),!0):!1},O.regexp_eatAssertion=function(e){var t=e.pos;if(e.lastAssertionIsQuantifiable=!1,e.eat(94)||e.eat(36))return!0;if(e.eat(92)){if(e.eat(66)||e.eat(98))return!0;e.pos=t}if(e.eat(40)&&e.eat(63)){var i=!1;if(this.options.ecmaVersion>=9&&(i=e.eat(60)),e.eat(61)||e.eat(33))return this.regexp_disjunction(e),e.eat(41)||e.raise("Unterminated group"),e.lastAssertionIsQuantifiable=!i,!0}return e.pos=t,!1},O.regexp_eatQuantifier=function(e,t){return t===void 0&&(t=!1),this.regexp_eatQuantifierPrefix(e,t)?(e.eat(63),!0):!1},O.regexp_eatQuantifierPrefix=function(e,t){return e.eat(42)||e.eat(43)||e.eat(63)||this.regexp_eatBracedQuantifier(e,t)},O.regexp_eatBracedQuantifier=function(e,t){var i=e.pos;if(e.eat(123)){var a=0,u=-1;if(this.regexp_eatDecimalDigits(e)&&(a=e.lastIntValue,e.eat(44)&&this.regexp_eatDecimalDigits(e)&&(u=e.lastIntValue),e.eat(125)))return u!==-1&&u<a&&!t&&e.raise("numbers out of order in {} quantifier"),!0;e.switchU&&!t&&e.raise("Incomplete quantifier"),e.pos=i}return!1},O.regexp_eatAtom=function(e){return this.regexp_eatPatternCharacters(e)||e.eat(46)||this.regexp_eatReverseSolidusAtomEscape(e)||this.regexp_eatCharacterClass(e)||this.regexp_eatUncapturingGroup(e)||this.regexp_eatCapturingGroup(e)},O.regexp_eatReverseSolidusAtomEscape=function(e){var t=e.pos;if(e.eat(92)){if(this.regexp_eatAtomEscape(e))return!0;e.pos=t}return!1},O.regexp_eatUncapturingGroup=function(e){var t=e.pos;if(e.eat(40)){if(e.eat(63)){if(this.options.ecmaVersion>=16){var i=this.regexp_eatModifiers(e),a=e.eat(45);if(i||a){for(var u=0;u<i.length;u++){var c=i.charAt(u);i.indexOf(c,u+1)>-1&&e.raise("Duplicate regular expression modifiers")}if(a){var m=this.regexp_eatModifiers(e);!i&&!m&&e.current()===58&&e.raise("Invalid regular expression modifiers");for(var _=0;_<m.length;_++){var E=m.charAt(_);(m.indexOf(E,_+1)>-1||i.indexOf(E)>-1)&&e.raise("Duplicate regular expression modifiers")}}}}if(e.eat(58)){if(this.regexp_disjunction(e),e.eat(41))return!0;e.raise("Unterminated group")}}e.pos=t}return!1},O.regexp_eatCapturingGroup=function(e){if(e.eat(40)){if(this.options.ecmaVersion>=9?this.regexp_groupSpecifier(e):e.current()===63&&e.raise("Invalid group"),this.regexp_disjunction(e),e.eat(41))return e.numCapturingParens+=1,!0;e.raise("Unterminated group")}return!1},O.regexp_eatModifiers=function(e){for(var t="",i=0;(i=e.current())!==-1&&Vi(i);)t+=J(i),e.advance();return t};function Vi(e){return e===105||e===109||e===115}O.regexp_eatExtendedAtom=function(e){return e.eat(46)||this.regexp_eatReverseSolidusAtomEscape(e)||this.regexp_eatCharacterClass(e)||this.regexp_eatUncapturingGroup(e)||this.regexp_eatCapturingGroup(e)||this.regexp_eatInvalidBracedQuantifier(e)||this.regexp_eatExtendedPatternCharacter(e)},O.regexp_eatInvalidBracedQuantifier=function(e){return this.regexp_eatBracedQuantifier(e,!0)&&e.raise("Nothing to repeat"),!1},O.regexp_eatSyntaxCharacter=function(e){var t=e.current();return Bt(t)?(e.lastIntValue=t,e.advance(),!0):!1};function Bt(e){return e===36||e>=40&&e<=43||e===46||e===63||e>=91&&e<=94||e>=123&&e<=125}O.regexp_eatPatternCharacters=function(e){for(var t=e.pos,i=0;(i=e.current())!==-1&&!Bt(i);)e.advance();return e.pos!==t},O.regexp_eatExtendedPatternCharacter=function(e){var t=e.current();return t!==-1&&t!==36&&!(t>=40&&t<=43)&&t!==46&&t!==63&&t!==91&&t!==94&&t!==124?(e.advance(),!0):!1},O.regexp_groupSpecifier=function(e){if(e.eat(63)){this.regexp_eatGroupName(e)||e.raise("Invalid group");var t=this.options.ecmaVersion>=16,i=e.groupNames[e.lastStringValue];if(i)if(t)for(var a=0,u=i;a<u.length;a+=1){var c=u[a];c.separatedFrom(e.branchID)||e.raise("Duplicate capture group name")}else e.raise("Duplicate capture group name");t?(i||(e.groupNames[e.lastStringValue]=[])).push(e.branchID):e.groupNames[e.lastStringValue]=!0}},O.regexp_eatGroupName=function(e){if(e.lastStringValue="",e.eat(60)){if(this.regexp_eatRegExpIdentifierName(e)&&e.eat(62))return!0;e.raise("Invalid capture group name")}return!1},O.regexp_eatRegExpIdentifierName=function(e){if(e.lastStringValue="",this.regexp_eatRegExpIdentifierStart(e)){for(e.lastStringValue+=J(e.lastIntValue);this.regexp_eatRegExpIdentifierPart(e);)e.lastStringValue+=J(e.lastIntValue);return!0}return!1},O.regexp_eatRegExpIdentifierStart=function(e){var t=e.pos,i=this.options.ecmaVersion>=11,a=e.current(i);return e.advance(i),a===92&&this.regexp_eatRegExpUnicodeEscapeSequence(e,i)&&(a=e.lastIntValue),Di(a)?(e.lastIntValue=a,!0):(e.pos=t,!1)};function Di(e){return D(e,!0)||e===36||e===95}O.regexp_eatRegExpIdentifierPart=function(e){var t=e.pos,i=this.options.ecmaVersion>=11,a=e.current(i);return e.advance(i),a===92&&this.regexp_eatRegExpUnicodeEscapeSequence(e,i)&&(a=e.lastIntValue),Bi(a)?(e.lastIntValue=a,!0):(e.pos=t,!1)};function Bi(e){return q(e,!0)||e===36||e===95||e===8204||e===8205}O.regexp_eatAtomEscape=function(e){return this.regexp_eatBackReference(e)||this.regexp_eatCharacterClassEscape(e)||this.regexp_eatCharacterEscape(e)||e.switchN&&this.regexp_eatKGroupName(e)?!0:(e.switchU&&(e.current()===99&&e.raise("Invalid unicode escape"),e.raise("Invalid escape")),!1)},O.regexp_eatBackReference=function(e){var t=e.pos;if(this.regexp_eatDecimalEscape(e)){var i=e.lastIntValue;if(e.switchU)return i>e.maxBackReference&&(e.maxBackReference=i),!0;if(i<=e.numCapturingParens)return!0;e.pos=t}return!1},O.regexp_eatKGroupName=function(e){if(e.eat(107)){if(this.regexp_eatGroupName(e))return e.backReferenceNames.push(e.lastStringValue),!0;e.raise("Invalid named reference")}return!1},O.regexp_eatCharacterEscape=function(e){return this.regexp_eatControlEscape(e)||this.regexp_eatCControlLetter(e)||this.regexp_eatZero(e)||this.regexp_eatHexEscapeSequence(e)||this.regexp_eatRegExpUnicodeEscapeSequence(e,!1)||!e.switchU&&this.regexp_eatLegacyOctalEscapeSequence(e)||this.regexp_eatIdentityEscape(e)},O.regexp_eatCControlLetter=function(e){var t=e.pos;if(e.eat(99)){if(this.regexp_eatControlLetter(e))return!0;e.pos=t}return!1},O.regexp_eatZero=function(e){return e.current()===48&&!ze(e.lookahead())?(e.lastIntValue=0,e.advance(),!0):!1},O.regexp_eatControlEscape=function(e){var t=e.current();return t===116?(e.lastIntValue=9,e.advance(),!0):t===110?(e.lastIntValue=10,e.advance(),!0):t===118?(e.lastIntValue=11,e.advance(),!0):t===102?(e.lastIntValue=12,e.advance(),!0):t===114?(e.lastIntValue=13,e.advance(),!0):!1},O.regexp_eatControlLetter=function(e){var t=e.current();return Ft(t)?(e.lastIntValue=t%32,e.advance(),!0):!1};function Ft(e){return e>=65&&e<=90||e>=97&&e<=122}O.regexp_eatRegExpUnicodeEscapeSequence=function(e,t){t===void 0&&(t=!1);var i=e.pos,a=t||e.switchU;if(e.eat(117)){if(this.regexp_eatFixedHexDigits(e,4)){var u=e.lastIntValue;if(a&&u>=55296&&u<=56319){var c=e.pos;if(e.eat(92)&&e.eat(117)&&this.regexp_eatFixedHexDigits(e,4)){var m=e.lastIntValue;if(m>=56320&&m<=57343)return e.lastIntValue=(u-55296)*1024+(m-56320)+65536,!0}e.pos=c,e.lastIntValue=u}return!0}if(a&&e.eat(123)&&this.regexp_eatHexDigits(e)&&e.eat(125)&&Fi(e.lastIntValue))return!0;a&&e.raise("Invalid unicode escape"),e.pos=i}return!1};function Fi(e){return e>=0&&e<=1114111}O.regexp_eatIdentityEscape=function(e){if(e.switchU)return this.regexp_eatSyntaxCharacter(e)?!0:e.eat(47)?(e.lastIntValue=47,!0):!1;var t=e.current();return t!==99&&(!e.switchN||t!==107)?(e.lastIntValue=t,e.advance(),!0):!1},O.regexp_eatDecimalEscape=function(e){e.lastIntValue=0;var t=e.current();if(t>=49&&t<=57){do e.lastIntValue=10*e.lastIntValue+(t-48),e.advance();while((t=e.current())>=48&&t<=57);return!0}return!1};var jt=0,xe=1,le=2;O.regexp_eatCharacterClassEscape=function(e){var t=e.current();if(ji(t))return e.lastIntValue=-1,e.advance(),xe;var i=!1;if(e.switchU&&this.options.ecmaVersion>=9&&((i=t===80)||t===112)){e.lastIntValue=-1,e.advance();var a;if(e.eat(123)&&(a=this.regexp_eatUnicodePropertyValueExpression(e))&&e.eat(125))return i&&a===le&&e.raise("Invalid property name"),a;e.raise("Invalid property name")}return jt};function ji(e){return e===100||e===68||e===115||e===83||e===119||e===87}O.regexp_eatUnicodePropertyValueExpression=function(e){var t=e.pos;if(this.regexp_eatUnicodePropertyName(e)&&e.eat(61)){var i=e.lastStringValue;if(this.regexp_eatUnicodePropertyValue(e)){var a=e.lastStringValue;return this.regexp_validateUnicodePropertyNameAndValue(e,i,a),xe}}if(e.pos=t,this.regexp_eatLoneUnicodePropertyNameOrValue(e)){var u=e.lastStringValue;return this.regexp_validateUnicodePropertyNameOrValue(e,u)}return jt},O.regexp_validateUnicodePropertyNameAndValue=function(e,t,i){z(e.unicodeProperties.nonBinary,t)||e.raise("Invalid property name"),e.unicodeProperties.nonBinary[t].test(i)||e.raise("Invalid property value")},O.regexp_validateUnicodePropertyNameOrValue=function(e,t){if(e.unicodeProperties.binary.test(t))return xe;if(e.switchV&&e.unicodeProperties.binaryOfStrings.test(t))return le;e.raise("Invalid property name")},O.regexp_eatUnicodePropertyName=function(e){var t=0;for(e.lastStringValue="";Mt(t=e.current());)e.lastStringValue+=J(t),e.advance();return e.lastStringValue!==""};function Mt(e){return Ft(e)||e===95}O.regexp_eatUnicodePropertyValue=function(e){var t=0;for(e.lastStringValue="";Mi(t=e.current());)e.lastStringValue+=J(t),e.advance();return e.lastStringValue!==""};function Mi(e){return Mt(e)||ze(e)}O.regexp_eatLoneUnicodePropertyNameOrValue=function(e){return this.regexp_eatUnicodePropertyValue(e)},O.regexp_eatCharacterClass=function(e){if(e.eat(91)){var t=e.eat(94),i=this.regexp_classContents(e);return e.eat(93)||e.raise("Unterminated character class"),t&&i===le&&e.raise("Negated character class may contain strings"),!0}return!1},O.regexp_classContents=function(e){return e.current()===93?xe:e.switchV?this.regexp_classSetExpression(e):(this.regexp_nonEmptyClassRanges(e),xe)},O.regexp_nonEmptyClassRanges=function(e){for(;this.regexp_eatClassAtom(e);){var t=e.lastIntValue;if(e.eat(45)&&this.regexp_eatClassAtom(e)){var i=e.lastIntValue;e.switchU&&(t===-1||i===-1)&&e.raise("Invalid character class"),t!==-1&&i!==-1&&t>i&&e.raise("Range out of order in character class")}}},O.regexp_eatClassAtom=function(e){var t=e.pos;if(e.eat(92)){if(this.regexp_eatClassEscape(e))return!0;if(e.switchU){var i=e.current();(i===99||Ht(i))&&e.raise("Invalid class escape"),e.raise("Invalid escape")}e.pos=t}var a=e.current();return a!==93?(e.lastIntValue=a,e.advance(),!0):!1},O.regexp_eatClassEscape=function(e){var t=e.pos;if(e.eat(98))return e.lastIntValue=8,!0;if(e.switchU&&e.eat(45))return e.lastIntValue=45,!0;if(!e.switchU&&e.eat(99)){if(this.regexp_eatClassControlLetter(e))return!0;e.pos=t}return this.regexp_eatCharacterClassEscape(e)||this.regexp_eatCharacterEscape(e)},O.regexp_classSetExpression=function(e){var t=xe,i;if(!this.regexp_eatClassSetRange(e))if(i=this.regexp_eatClassSetOperand(e)){i===le&&(t=le);for(var a=e.pos;e.eatChars([38,38]);){if(e.current()!==38&&(i=this.regexp_eatClassSetOperand(e))){i!==le&&(t=xe);continue}e.raise("Invalid character in character class")}if(a!==e.pos)return t;for(;e.eatChars([45,45]);)this.regexp_eatClassSetOperand(e)||e.raise("Invalid character in character class");if(a!==e.pos)return t}else e.raise("Invalid character in character class");for(;;)if(!this.regexp_eatClassSetRange(e)){if(i=this.regexp_eatClassSetOperand(e),!i)return t;i===le&&(t=le)}},O.regexp_eatClassSetRange=function(e){var t=e.pos;if(this.regexp_eatClassSetCharacter(e)){var i=e.lastIntValue;if(e.eat(45)&&this.regexp_eatClassSetCharacter(e)){var a=e.lastIntValue;return i!==-1&&a!==-1&&i>a&&e.raise("Range out of order in character class"),!0}e.pos=t}return!1},O.regexp_eatClassSetOperand=function(e){return this.regexp_eatClassSetCharacter(e)?xe:this.regexp_eatClassStringDisjunction(e)||this.regexp_eatNestedClass(e)},O.regexp_eatNestedClass=function(e){var t=e.pos;if(e.eat(91)){var i=e.eat(94),a=this.regexp_classContents(e);if(e.eat(93))return i&&a===le&&e.raise("Negated character class may contain strings"),a;e.pos=t}if(e.eat(92)){var u=this.regexp_eatCharacterClassEscape(e);if(u)return u;e.pos=t}return null},O.regexp_eatClassStringDisjunction=function(e){var t=e.pos;if(e.eatChars([92,113])){if(e.eat(123)){var i=this.regexp_classStringDisjunctionContents(e);if(e.eat(125))return i}else e.raise("Invalid escape");e.pos=t}return null},O.regexp_classStringDisjunctionContents=function(e){for(var t=this.regexp_classString(e);e.eat(124);)this.regexp_classString(e)===le&&(t=le);return t},O.regexp_classString=function(e){for(var t=0;this.regexp_eatClassSetCharacter(e);)t++;return t===1?xe:le},O.regexp_eatClassSetCharacter=function(e){var t=e.pos;if(e.eat(92))return this.regexp_eatCharacterEscape(e)||this.regexp_eatClassSetReservedPunctuator(e)?!0:e.eat(98)?(e.lastIntValue=8,!0):(e.pos=t,!1);var i=e.current();return i<0||i===e.lookahead()&&qi(i)||Ui(i)?!1:(e.advance(),e.lastIntValue=i,!0)};function qi(e){return e===33||e>=35&&e<=38||e>=42&&e<=44||e===46||e>=58&&e<=64||e===94||e===96||e===126}function Ui(e){return e===40||e===41||e===45||e===47||e>=91&&e<=93||e>=123&&e<=125}O.regexp_eatClassSetReservedPunctuator=function(e){var t=e.current();return Hi(t)?(e.lastIntValue=t,e.advance(),!0):!1};function Hi(e){return e===33||e===35||e===37||e===38||e===44||e===45||e>=58&&e<=62||e===64||e===96||e===126}O.regexp_eatClassControlLetter=function(e){var t=e.current();return ze(t)||t===95?(e.lastIntValue=t%32,e.advance(),!0):!1},O.regexp_eatHexEscapeSequence=function(e){var t=e.pos;if(e.eat(120)){if(this.regexp_eatFixedHexDigits(e,2))return!0;e.switchU&&e.raise("Invalid escape"),e.pos=t}return!1},O.regexp_eatDecimalDigits=function(e){var t=e.pos,i=0;for(e.lastIntValue=0;ze(i=e.current());)e.lastIntValue=10*e.lastIntValue+(i-48),e.advance();return e.pos!==t};function ze(e){return e>=48&&e<=57}O.regexp_eatHexDigits=function(e){var t=e.pos,i=0;for(e.lastIntValue=0;qt(i=e.current());)e.lastIntValue=16*e.lastIntValue+Ut(i),e.advance();return e.pos!==t};function qt(e){return e>=48&&e<=57||e>=65&&e<=70||e>=97&&e<=102}function Ut(e){return e>=65&&e<=70?10+(e-65):e>=97&&e<=102?10+(e-97):e-48}O.regexp_eatLegacyOctalEscapeSequence=function(e){if(this.regexp_eatOctalDigit(e)){var t=e.lastIntValue;if(this.regexp_eatOctalDigit(e)){var i=e.lastIntValue;t<=3&&this.regexp_eatOctalDigit(e)?e.lastIntValue=t*64+i*8+e.lastIntValue:e.lastIntValue=t*8+i}else e.lastIntValue=t;return!0}return!1},O.regexp_eatOctalDigit=function(e){var t=e.current();return Ht(t)?(e.lastIntValue=t-48,e.advance(),!0):(e.lastIntValue=0,!1)};function Ht(e){return e>=48&&e<=55}O.regexp_eatFixedHexDigits=function(e,t){var i=e.pos;e.lastIntValue=0;for(var a=0;a<t;++a){var u=e.current();if(!qt(u))return e.pos=i,!1;e.lastIntValue=16*e.lastIntValue+Ut(u),e.advance()}return!0};var Je=function(t){this.type=t.type,this.value=t.value,this.start=t.start,this.end=t.end,t.options.locations&&(this.loc=new de(t,t.startLoc,t.endLoc)),t.options.ranges&&(this.range=[t.start,t.end])},X=se.prototype;X.next=function(e){!e&&this.type.keyword&&this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword "+this.type.keyword),this.options.onToken&&this.options.onToken(new Je(this)),this.lastTokEnd=this.end,this.lastTokStart=this.start,this.lastTokEndLoc=this.endLoc,this.lastTokStartLoc=this.startLoc,this.nextToken()},X.getToken=function(){return this.next(),new Je(this)},typeof Symbol<"u"&&(X[Symbol.iterator]=function(){var e=this;return{next:function(){var t=e.getToken();return{done:t.type===n.eof,value:t}}}}),X.nextToken=function(){var e=this.curContext();if((!e||!e.preserveSpace)&&this.skipSpace(),this.start=this.pos,this.options.locations&&(this.startLoc=this.curPosition()),this.pos>=this.input.length)return this.finishToken(n.eof);if(e.override)return e.override(this);this.readToken(this.fullCharCodeAtPos())},X.readToken=function(e){return D(e,this.options.ecmaVersion>=6)||e===92?this.readWord():this.getTokenFromCode(e)},X.fullCharCodeAtPos=function(){var e=this.input.charCodeAt(this.pos);if(e<=55295||e>=56320)return e;var t=this.input.charCodeAt(this.pos+1);return t<=56319||t>=57344?e:(e<<10)+t-56613888},X.skipBlockComment=function(){var e=this.options.onComment&&this.curPosition(),t=this.pos,i=this.input.indexOf("*/",this.pos+=2);if(i===-1&&this.raise(this.pos-2,"Unterminated comment"),this.pos=i+2,this.options.locations)for(var a=void 0,u=t;(a=r(this.input,u,this.pos))>-1;)++this.curLine,u=this.lineStart=a;this.options.onComment&&this.options.onComment(!0,this.input.slice(t+2,i),t,this.pos,e,this.curPosition())},X.skipLineComment=function(e){for(var t=this.pos,i=this.options.onComment&&this.curPosition(),a=this.input.charCodeAt(this.pos+=e);this.pos<this.input.length&&!y(a);)a=this.input.charCodeAt(++this.pos);this.options.onComment&&this.options.onComment(!1,this.input.slice(t+e,this.pos),t,this.pos,i,this.curPosition())},X.skipSpace=function(){e:for(;this.pos<this.input.length;){var e=this.input.charCodeAt(this.pos);switch(e){case 32:case 160:++this.pos;break;case 13:this.input.charCodeAt(this.pos+1)===10&&++this.pos;case 10:case 8232:case 8233:++this.pos,this.options.locations&&(++this.curLine,this.lineStart=this.pos);break;case 47:switch(this.input.charCodeAt(this.pos+1)){case 42:this.skipBlockComment();break;case 47:this.skipLineComment(2);break;default:break e}break;default:if(e>8&&e<14||e>=5760&&s.test(String.fromCharCode(e)))++this.pos;else break e}}},X.finishToken=function(e,t){this.end=this.pos,this.options.locations&&(this.endLoc=this.curPosition());var i=this.type;this.type=e,this.value=t,this.updateContext(i)},X.readToken_dot=function(){var e=this.input.charCodeAt(this.pos+1);if(e>=48&&e<=57)return this.readNumber(!0);var t=this.input.charCodeAt(this.pos+2);return this.options.ecmaVersion>=6&&e===46&&t===46?(this.pos+=3,this.finishToken(n.ellipsis)):(++this.pos,this.finishToken(n.dot))},X.readToken_slash=function(){var e=this.input.charCodeAt(this.pos+1);return this.exprAllowed?(++this.pos,this.readRegexp()):e===61?this.finishOp(n.assign,2):this.finishOp(n.slash,1)},X.readToken_mult_modulo_exp=function(e){var t=this.input.charCodeAt(this.pos+1),i=1,a=e===42?n.star:n.modulo;return this.options.ecmaVersion>=7&&e===42&&t===42&&(++i,a=n.starstar,t=this.input.charCodeAt(this.pos+2)),t===61?this.finishOp(n.assign,i+1):this.finishOp(a,i)},X.readToken_pipe_amp=function(e){var t=this.input.charCodeAt(this.pos+1);if(t===e){if(this.options.ecmaVersion>=12){var i=this.input.charCodeAt(this.pos+2);if(i===61)return this.finishOp(n.assign,3)}return this.finishOp(e===124?n.logicalOR:n.logicalAND,2)}return t===61?this.finishOp(n.assign,2):this.finishOp(e===124?n.bitwiseOR:n.bitwiseAND,1)},X.readToken_caret=function(){var e=this.input.charCodeAt(this.pos+1);return e===61?this.finishOp(n.assign,2):this.finishOp(n.bitwiseXOR,1)},X.readToken_plus_min=function(e){var t=this.input.charCodeAt(this.pos+1);return t===e?t===45&&!this.inModule&&this.input.charCodeAt(this.pos+2)===62&&(this.lastTokEnd===0||P.test(this.input.slice(this.lastTokEnd,this.pos)))?(this.skipLineComment(3),this.skipSpace(),this.nextToken()):this.finishOp(n.incDec,2):t===61?this.finishOp(n.assign,2):this.finishOp(n.plusMin,1)},X.readToken_lt_gt=function(e){var t=this.input.charCodeAt(this.pos+1),i=1;return t===e?(i=e===62&&this.input.charCodeAt(this.pos+2)===62?3:2,this.input.charCodeAt(this.pos+i)===61?this.finishOp(n.assign,i+1):this.finishOp(n.bitShift,i)):t===33&&e===60&&!this.inModule&&this.input.charCodeAt(this.pos+2)===45&&this.input.charCodeAt(this.pos+3)===45?(this.skipLineComment(4),this.skipSpace(),this.nextToken()):(t===61&&(i=2),this.finishOp(n.relational,i))},X.readToken_eq_excl=function(e){var t=this.input.charCodeAt(this.pos+1);return t===61?this.finishOp(n.equality,this.input.charCodeAt(this.pos+2)===61?3:2):e===61&&t===62&&this.options.ecmaVersion>=6?(this.pos+=2,this.finishToken(n.arrow)):this.finishOp(e===61?n.eq:n.prefix,1)},X.readToken_question=function(){var e=this.options.ecmaVersion;if(e>=11){var t=this.input.charCodeAt(this.pos+1);if(t===46){var i=this.input.charCodeAt(this.pos+2);if(i<48||i>57)return this.finishOp(n.questionDot,2)}if(t===63){if(e>=12){var a=this.input.charCodeAt(this.pos+2);if(a===61)return this.finishOp(n.assign,3)}return this.finishOp(n.coalesce,2)}}return this.finishOp(n.question,1)},X.readToken_numberSign=function(){var e=this.options.ecmaVersion,t=35;if(e>=13&&(++this.pos,t=this.fullCharCodeAtPos(),D(t,!0)||t===92))return this.finishToken(n.privateId,this.readWord1());this.raise(this.pos,"Unexpected character '"+J(t)+"'")},X.getTokenFromCode=function(e){switch(e){case 46:return this.readToken_dot();case 40:return++this.pos,this.finishToken(n.parenL);case 41:return++this.pos,this.finishToken(n.parenR);case 59:return++this.pos,this.finishToken(n.semi);case 44:return++this.pos,this.finishToken(n.comma);case 91:return++this.pos,this.finishToken(n.bracketL);case 93:return++this.pos,this.finishToken(n.bracketR);case 123:return++this.pos,this.finishToken(n.braceL);case 125:return++this.pos,this.finishToken(n.braceR);case 58:return++this.pos,this.finishToken(n.colon);case 96:if(this.options.ecmaVersion<6)break;return++this.pos,this.finishToken(n.backQuote);case 48:var t=this.input.charCodeAt(this.pos+1);if(t===120||t===88)return this.readRadixNumber(16);if(this.options.ecmaVersion>=6){if(t===111||t===79)return this.readRadixNumber(8);if(t===98||t===66)return this.readRadixNumber(2)}case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return this.readNumber(!1);case 34:case 39:return this.readString(e);case 47:return this.readToken_slash();case 37:case 42:return this.readToken_mult_modulo_exp(e);case 124:case 38:return this.readToken_pipe_amp(e);case 94:return this.readToken_caret();case 43:case 45:return this.readToken_plus_min(e);case 60:case 62:return this.readToken_lt_gt(e);case 61:case 33:return this.readToken_eq_excl(e);case 63:return this.readToken_question();case 126:return this.finishOp(n.prefix,1);case 35:return this.readToken_numberSign()}this.raise(this.pos,"Unexpected character '"+J(e)+"'")},X.finishOp=function(e,t){var i=this.input.slice(this.pos,this.pos+t);return this.pos+=t,this.finishToken(e,i)},X.readRegexp=function(){for(var e,t,i=this.pos;;){this.pos>=this.input.length&&this.raise(i,"Unterminated regular expression");var a=this.input.charAt(this.pos);if(P.test(a)&&this.raise(i,"Unterminated regular expression"),e)e=!1;else{if(a==="[")t=!0;else if(a==="]"&&t)t=!1;else if(a==="/"&&!t)break;e=a==="\\"}++this.pos}var u=this.input.slice(i,this.pos);++this.pos;var c=this.pos,m=this.readWord1();this.containsEsc&&this.unexpected(c);var _=this.regexpState||(this.regexpState=new fe(this));_.reset(i,u,m),this.validateRegExpFlags(_),this.validateRegExpPattern(_);var E=null;try{E=new RegExp(u,m)}catch{}return this.finishToken(n.regexp,{pattern:u,flags:m,value:E})},X.readInt=function(e,t,i){for(var a=this.options.ecmaVersion>=12&&t===void 0,u=i&&this.input.charCodeAt(this.pos)===48,c=this.pos,m=0,_=0,E=0,H=t??1/0;E<H;++E,++this.pos){var j=this.input.charCodeAt(this.pos),re=void 0;if(a&&j===95){u&&this.raiseRecoverable(this.pos,"Numeric separator is not allowed in legacy octal numeric literals"),_===95&&this.raiseRecoverable(this.pos,"Numeric separator must be exactly one underscore"),E===0&&this.raiseRecoverable(this.pos,"Numeric separator is not allowed at the first of digits"),_=j;continue}if(j>=97?re=j-97+10:j>=65?re=j-65+10:j>=48&&j<=57?re=j-48:re=1/0,re>=e)break;_=j,m=m*e+re}return a&&_===95&&this.raiseRecoverable(this.pos-1,"Numeric separator is not allowed at the last of digits"),this.pos===c||t!=null&&this.pos-c!==t?null:m};function Gi(e,t){return t?parseInt(e,8):parseFloat(e.replace(/_/g,""))}function Gt(e){return typeof BigInt!="function"?null:BigInt(e.replace(/_/g,""))}X.readRadixNumber=function(e){var t=this.pos;this.pos+=2;var i=this.readInt(e);return i==null&&this.raise(this.start+2,"Expected number in radix "+e),this.options.ecmaVersion>=11&&this.input.charCodeAt(this.pos)===110?(i=Gt(this.input.slice(t,this.pos)),++this.pos):D(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number"),this.finishToken(n.num,i)},X.readNumber=function(e){var t=this.pos;!e&&this.readInt(10,void 0,!0)===null&&this.raise(t,"Invalid number");var i=this.pos-t>=2&&this.input.charCodeAt(t)===48;i&&this.strict&&this.raise(t,"Invalid number");var a=this.input.charCodeAt(this.pos);if(!i&&!e&&this.options.ecmaVersion>=11&&a===110){var u=Gt(this.input.slice(t,this.pos));return++this.pos,D(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number"),this.finishToken(n.num,u)}i&&/[89]/.test(this.input.slice(t,this.pos))&&(i=!1),a===46&&!i&&(++this.pos,this.readInt(10),a=this.input.charCodeAt(this.pos)),(a===69||a===101)&&!i&&(a=this.input.charCodeAt(++this.pos),(a===43||a===45)&&++this.pos,this.readInt(10)===null&&this.raise(t,"Invalid number")),D(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number");var c=Gi(this.input.slice(t,this.pos),i);return this.finishToken(n.num,c)},X.readCodePoint=function(){var e=this.input.charCodeAt(this.pos),t;if(e===123){this.options.ecmaVersion<6&&this.unexpected();var i=++this.pos;t=this.readHexChar(this.input.indexOf("}",this.pos)-this.pos),++this.pos,t>1114111&&this.invalidStringToken(i,"Code point out of bounds")}else t=this.readHexChar(4);return t},X.readString=function(e){for(var t="",i=++this.pos;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated string constant");var a=this.input.charCodeAt(this.pos);if(a===e)break;a===92?(t+=this.input.slice(i,this.pos),t+=this.readEscapedChar(!1),i=this.pos):a===8232||a===8233?(this.options.ecmaVersion<10&&this.raise(this.start,"Unterminated string constant"),++this.pos,this.options.locations&&(this.curLine++,this.lineStart=this.pos)):(y(a)&&this.raise(this.start,"Unterminated string constant"),++this.pos)}return t+=this.input.slice(i,this.pos++),this.finishToken(n.string,t)};var Wt={};X.tryReadTemplateToken=function(){this.inTemplateElement=!0;try{this.readTmplToken()}catch(e){if(e===Wt)this.readInvalidTemplateToken();else throw e}this.inTemplateElement=!1},X.invalidStringToken=function(e,t){if(this.inTemplateElement&&this.options.ecmaVersion>=9)throw Wt;this.raise(e,t)},X.readTmplToken=function(){for(var e="",t=this.pos;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated template");var i=this.input.charCodeAt(this.pos);if(i===96||i===36&&this.input.charCodeAt(this.pos+1)===123)return this.pos===this.start&&(this.type===n.template||this.type===n.invalidTemplate)?i===36?(this.pos+=2,this.finishToken(n.dollarBraceL)):(++this.pos,this.finishToken(n.backQuote)):(e+=this.input.slice(t,this.pos),this.finishToken(n.template,e));if(i===92)e+=this.input.slice(t,this.pos),e+=this.readEscapedChar(!0),t=this.pos;else if(y(i)){switch(e+=this.input.slice(t,this.pos),++this.pos,i){case 13:this.input.charCodeAt(this.pos)===10&&++this.pos;case 10:e+=`
6
+ `;break;default:e+=String.fromCharCode(i);break}this.options.locations&&(++this.curLine,this.lineStart=this.pos),t=this.pos}else++this.pos}},X.readInvalidTemplateToken=function(){for(;this.pos<this.input.length;this.pos++)switch(this.input[this.pos]){case"\\":++this.pos;break;case"$":if(this.input[this.pos+1]!=="{")break;case"`":return this.finishToken(n.invalidTemplate,this.input.slice(this.start,this.pos));case"\r":this.input[this.pos+1]===`
7
+ `&&++this.pos;case`
8
+ `:case"\u2028":case"\u2029":++this.curLine,this.lineStart=this.pos+1;break}this.raise(this.start,"Unterminated template")},X.readEscapedChar=function(e){var t=this.input.charCodeAt(++this.pos);switch(++this.pos,t){case 110:return`
9
+ `;case 114:return"\r";case 120:return String.fromCharCode(this.readHexChar(2));case 117:return J(this.readCodePoint());case 116:return" ";case 98:return"\b";case 118:return"\v";case 102:return"\f";case 13:this.input.charCodeAt(this.pos)===10&&++this.pos;case 10:return this.options.locations&&(this.lineStart=this.pos,++this.curLine),"";case 56:case 57:if(this.strict&&this.invalidStringToken(this.pos-1,"Invalid escape sequence"),e){var i=this.pos-1;this.invalidStringToken(i,"Invalid escape sequence in template string")}default:if(t>=48&&t<=55){var a=this.input.substr(this.pos-1,3).match(/^[0-7]+/)[0],u=parseInt(a,8);return u>255&&(a=a.slice(0,-1),u=parseInt(a,8)),this.pos+=a.length-1,t=this.input.charCodeAt(this.pos),(a!=="0"||t===56||t===57)&&(this.strict||e)&&this.invalidStringToken(this.pos-1-a.length,e?"Octal literal in template string":"Octal literal in strict mode"),String.fromCharCode(u)}return y(t)?(this.options.locations&&(this.lineStart=this.pos,++this.curLine),""):String.fromCharCode(t)}},X.readHexChar=function(e){var t=this.pos,i=this.readInt(16,e);return i===null&&this.invalidStringToken(t,"Bad character escape sequence"),i},X.readWord1=function(){this.containsEsc=!1;for(var e="",t=!0,i=this.pos,a=this.options.ecmaVersion>=6;this.pos<this.input.length;){var u=this.fullCharCodeAtPos();if(q(u,a))this.pos+=u<=65535?1:2;else if(u===92){this.containsEsc=!0,e+=this.input.slice(i,this.pos);var c=this.pos;this.input.charCodeAt(++this.pos)!==117&&this.invalidStringToken(this.pos,"Expecting Unicode escape sequence \\uXXXX"),++this.pos;var m=this.readCodePoint();(t?D:q)(m,a)||this.invalidStringToken(c,"Invalid Unicode escape"),e+=J(m),i=this.pos}else break;t=!1}return e+this.input.slice(i,this.pos)},X.readWord=function(){var e=this.readWord1(),t=n.name;return this.keywords.test(e)&&(t=ie[e]),this.finishToken(t,e)};var Xt="8.14.1";se.acorn={Parser:se,version:Xt,defaultOptions:je,Position:ye,SourceLocation:de,getLineInfo:ve,Node:Oe,TokenType:L,tokTypes:n,keywordTypes:ie,TokContext:he,tokContexts:ee,isIdentifierChar:q,isIdentifierStart:D,Token:Je,isNewLine:y,lineBreak:P,lineBreakG:G,nonASCIIwhitespace:s};function Wi(e,t){return se.parse(e,t)}function Xi(e,t,i){return se.parseExpressionAt(e,t,i)}function zi(e,t){return se.tokenizer(e,t)}w.Node=Oe,w.Parser=se,w.Position=ye,w.SourceLocation=de,w.TokContext=he,w.Token=Je,w.TokenType=L,w.defaultOptions=je,w.getLineInfo=ve,w.isIdentifierChar=q,w.isIdentifierStart=D,w.isNewLine=y,w.keywordTypes=ie,w.lineBreak=P,w.lineBreakG=G,w.nonASCIIwhitespace=s,w.parse=Wi,w.parseExpressionAt=Xi,w.tokContexts=ee,w.tokTypes=n,w.tokenizer=zi,w.version=Xt})}(De,De.exports)),De.exports}var rt={exports:{}},at,Yt;function bs(){return Yt||(Yt=1,at={quot:'"',amp:"&",apos:"'",lt:"<",gt:">",nbsp:" ",iexcl:"¡",cent:"¢",pound:"£",curren:"¤",yen:"¥",brvbar:"¦",sect:"§",uml:"¨",copy:"©",ordf:"ª",laquo:"«",not:"¬",shy:"­",reg:"®",macr:"¯",deg:"°",plusmn:"±",sup2:"²",sup3:"³",acute:"´",micro:"µ",para:"¶",middot:"·",cedil:"¸",sup1:"¹",ordm:"º",raquo:"»",frac14:"¼",frac12:"½",frac34:"¾",iquest:"¿",Agrave:"À",Aacute:"Á",Acirc:"Â",Atilde:"Ã",Auml:"Ä",Aring:"Å",AElig:"Æ",Ccedil:"Ç",Egrave:"È",Eacute:"É",Ecirc:"Ê",Euml:"Ë",Igrave:"Ì",Iacute:"Í",Icirc:"Î",Iuml:"Ï",ETH:"Ð",Ntilde:"Ñ",Ograve:"Ò",Oacute:"Ó",Ocirc:"Ô",Otilde:"Õ",Ouml:"Ö",times:"×",Oslash:"Ø",Ugrave:"Ù",Uacute:"Ú",Ucirc:"Û",Uuml:"Ü",Yacute:"Ý",THORN:"Þ",szlig:"ß",agrave:"à",aacute:"á",acirc:"â",atilde:"ã",auml:"ä",aring:"å",aelig:"æ",ccedil:"ç",egrave:"è",eacute:"é",ecirc:"ê",euml:"ë",igrave:"ì",iacute:"í",icirc:"î",iuml:"ï",eth:"ð",ntilde:"ñ",ograve:"ò",oacute:"ó",ocirc:"ô",otilde:"õ",ouml:"ö",divide:"÷",oslash:"ø",ugrave:"ù",uacute:"ú",ucirc:"û",uuml:"ü",yacute:"ý",thorn:"þ",yuml:"ÿ",OElig:"Œ",oelig:"œ",Scaron:"Š",scaron:"š",Yuml:"Ÿ",fnof:"ƒ",circ:"ˆ",tilde:"˜",Alpha:"Α",Beta:"Β",Gamma:"Γ",Delta:"Δ",Epsilon:"Ε",Zeta:"Ζ",Eta:"Η",Theta:"Θ",Iota:"Ι",Kappa:"Κ",Lambda:"Λ",Mu:"Μ",Nu:"Ν",Xi:"Ξ",Omicron:"Ο",Pi:"Π",Rho:"Ρ",Sigma:"Σ",Tau:"Τ",Upsilon:"Υ",Phi:"Φ",Chi:"Χ",Psi:"Ψ",Omega:"Ω",alpha:"α",beta:"β",gamma:"γ",delta:"δ",epsilon:"ε",zeta:"ζ",eta:"η",theta:"θ",iota:"ι",kappa:"κ",lambda:"λ",mu:"μ",nu:"ν",xi:"ξ",omicron:"ο",pi:"π",rho:"ρ",sigmaf:"ς",sigma:"σ",tau:"τ",upsilon:"υ",phi:"φ",chi:"χ",psi:"ψ",omega:"ω",thetasym:"ϑ",upsih:"ϒ",piv:"ϖ",ensp:" ",emsp:" ",thinsp:" ",zwnj:"‌",zwj:"‍",lrm:"‎",rlm:"‏",ndash:"–",mdash:"—",lsquo:"‘",rsquo:"’",sbquo:"‚",ldquo:"“",rdquo:"”",bdquo:"„",dagger:"†",Dagger:"‡",bull:"•",hellip:"…",permil:"‰",prime:"′",Prime:"″",lsaquo:"‹",rsaquo:"›",oline:"‾",frasl:"⁄",euro:"€",image:"ℑ",weierp:"℘",real:"ℜ",trade:"™",alefsym:"ℵ",larr:"←",uarr:"↑",rarr:"→",darr:"↓",harr:"↔",crarr:"↵",lArr:"⇐",uArr:"⇑",rArr:"⇒",dArr:"⇓",hArr:"⇔",forall:"∀",part:"∂",exist:"∃",empty:"∅",nabla:"∇",isin:"∈",notin:"∉",ni:"∋",prod:"∏",sum:"∑",minus:"−",lowast:"∗",radic:"√",prop:"∝",infin:"∞",ang:"∠",and:"∧",or:"∨",cap:"∩",cup:"∪",int:"∫",there4:"∴",sim:"∼",cong:"≅",asymp:"≈",ne:"≠",equiv:"≡",le:"≤",ge:"≥",sub:"⊂",sup:"⊃",nsub:"⊄",sube:"⊆",supe:"⊇",oplus:"⊕",otimes:"⊗",perp:"⊥",sdot:"⋅",lceil:"⌈",rceil:"⌉",lfloor:"⌊",rfloor:"⌋",lang:"〈",rang:"〉",loz:"◊",spades:"♠",clubs:"♣",hearts:"♥",diams:"♦"}),at}var Zt;function Ss(){return Zt||(Zt=1,function(A){const h=bs(),w=/^[\da-fA-F]+$/,T=/^\d+$/,x=new WeakMap;function S(p){p=p.Parser.acorn||p;let o=x.get(p);if(!o){const l=p.tokTypes,d=p.TokContext,C=p.TokenType,N=new d("<tag",!1),D=new d("</tag",!1),q=new d("<tag>...</tag>",!0,!0),L={tc_oTag:N,tc_cTag:D,tc_expr:q},B={jsxName:new C("jsxName"),jsxText:new C("jsxText",{beforeExpr:!0}),jsxTagStart:new C("jsxTagStart",{startsExpr:!0}),jsxTagEnd:new C("jsxTagEnd")};B.jsxTagStart.updateContext=function(){this.context.push(q),this.context.push(N),this.exprAllowed=!1},B.jsxTagEnd.updateContext=function(U){let W=this.context.pop();W===N&&U===l.slash||W===D?(this.context.pop(),this.exprAllowed=this.curContext()===q):this.exprAllowed=!0},o={tokContexts:L,tokTypes:B},x.set(p,o)}return o}function g(p){if(!p)return p;if(p.type==="JSXIdentifier")return p.name;if(p.type==="JSXNamespacedName")return p.namespace.name+":"+p.name.name;if(p.type==="JSXMemberExpression")return g(p.object)+"."+g(p.property)}A.exports=function(p){return p=p||{},function(o){return k({allowNamespaces:p.allowNamespaces!==!1,allowNamespacedObjects:!!p.allowNamespacedObjects},o)}},Object.defineProperty(A.exports,"tokTypes",{get:function(){return S(Te()).tokTypes},configurable:!0,enumerable:!0});function k(p,o){const l=o.acorn||Te(),d=S(l),C=l.tokTypes,N=d.tokTypes,D=l.tokContexts,q=d.tokContexts.tc_oTag,L=d.tokContexts.tc_cTag,B=d.tokContexts.tc_expr,U=l.isNewLine,W=l.isIdentifierStart,ie=l.isIdentifierChar;return class extends o{static get acornJsx(){return d}jsx_readToken(){let v="",n=this.pos;for(;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated JSX contents");let P=this.input.charCodeAt(this.pos);switch(P){case 60:case 123:return this.pos===this.start?P===60&&this.exprAllowed?(++this.pos,this.finishToken(N.jsxTagStart)):this.getTokenFromCode(P):(v+=this.input.slice(n,this.pos),this.finishToken(N.jsxText,v));case 38:v+=this.input.slice(n,this.pos),v+=this.jsx_readEntity(),n=this.pos;break;case 62:case 125:this.raise(this.pos,"Unexpected token `"+this.input[this.pos]+"`. Did you mean `"+(P===62?"&gt;":"&rbrace;")+'` or `{"'+this.input[this.pos]+'"}`?');default:U(P)?(v+=this.input.slice(n,this.pos),v+=this.jsx_readNewLine(!0),n=this.pos):++this.pos}}}jsx_readNewLine(v){let n=this.input.charCodeAt(this.pos),P;return++this.pos,n===13&&this.input.charCodeAt(this.pos)===10?(++this.pos,P=v?`
10
+ `:`\r
11
+ `):P=String.fromCharCode(n),this.options.locations&&(++this.curLine,this.lineStart=this.pos),P}jsx_readString(v){let n="",P=++this.pos;for(;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated string constant");let G=this.input.charCodeAt(this.pos);if(G===v)break;G===38?(n+=this.input.slice(P,this.pos),n+=this.jsx_readEntity(),P=this.pos):U(G)?(n+=this.input.slice(P,this.pos),n+=this.jsx_readNewLine(!1),P=this.pos):++this.pos}return n+=this.input.slice(P,this.pos++),this.finishToken(C.string,n)}jsx_readEntity(){let v="",n=0,P,G=this.input[this.pos];G!=="&"&&this.raise(this.pos,"Entity must start with an ampersand");let y=++this.pos;for(;this.pos<this.input.length&&n++<10;){if(G=this.input[this.pos++],G===";"){v[0]==="#"?v[1]==="x"?(v=v.substr(2),w.test(v)&&(P=String.fromCharCode(parseInt(v,16)))):(v=v.substr(1),T.test(v)&&(P=String.fromCharCode(parseInt(v,10)))):P=h[v];break}v+=G}return P||(this.pos=y,"&")}jsx_readWord(){let v,n=this.pos;do v=this.input.charCodeAt(++this.pos);while(ie(v)||v===45);return this.finishToken(N.jsxName,this.input.slice(n,this.pos))}jsx_parseIdentifier(){let v=this.startNode();return this.type===N.jsxName?v.name=this.value:this.type.keyword?v.name=this.type.keyword:this.unexpected(),this.next(),this.finishNode(v,"JSXIdentifier")}jsx_parseNamespacedName(){let v=this.start,n=this.startLoc,P=this.jsx_parseIdentifier();if(!p.allowNamespaces||!this.eat(C.colon))return P;var G=this.startNodeAt(v,n);return G.namespace=P,G.name=this.jsx_parseIdentifier(),this.finishNode(G,"JSXNamespacedName")}jsx_parseElementName(){if(this.type===N.jsxTagEnd)return"";let v=this.start,n=this.startLoc,P=this.jsx_parseNamespacedName();for(this.type===C.dot&&P.type==="JSXNamespacedName"&&!p.allowNamespacedObjects&&this.unexpected();this.eat(C.dot);){let G=this.startNodeAt(v,n);G.object=P,G.property=this.jsx_parseIdentifier(),P=this.finishNode(G,"JSXMemberExpression")}return P}jsx_parseAttributeValue(){switch(this.type){case C.braceL:let v=this.jsx_parseExpressionContainer();return v.expression.type==="JSXEmptyExpression"&&this.raise(v.start,"JSX attributes must only be assigned a non-empty expression"),v;case N.jsxTagStart:case C.string:return this.parseExprAtom();default:this.raise(this.start,"JSX value should be either an expression or a quoted JSX text")}}jsx_parseEmptyExpression(){let v=this.startNodeAt(this.lastTokEnd,this.lastTokEndLoc);return this.finishNodeAt(v,"JSXEmptyExpression",this.start,this.startLoc)}jsx_parseExpressionContainer(){let v=this.startNode();return this.next(),v.expression=this.type===C.braceR?this.jsx_parseEmptyExpression():this.parseExpression(),this.expect(C.braceR),this.finishNode(v,"JSXExpressionContainer")}jsx_parseAttribute(){let v=this.startNode();return this.eat(C.braceL)?(this.expect(C.ellipsis),v.argument=this.parseMaybeAssign(),this.expect(C.braceR),this.finishNode(v,"JSXSpreadAttribute")):(v.name=this.jsx_parseNamespacedName(),v.value=this.eat(C.eq)?this.jsx_parseAttributeValue():null,this.finishNode(v,"JSXAttribute"))}jsx_parseOpeningElementAt(v,n){let P=this.startNodeAt(v,n);P.attributes=[];let G=this.jsx_parseElementName();for(G&&(P.name=G);this.type!==C.slash&&this.type!==N.jsxTagEnd;)P.attributes.push(this.jsx_parseAttribute());return P.selfClosing=this.eat(C.slash),this.expect(N.jsxTagEnd),this.finishNode(P,G?"JSXOpeningElement":"JSXOpeningFragment")}jsx_parseClosingElementAt(v,n){let P=this.startNodeAt(v,n),G=this.jsx_parseElementName();return G&&(P.name=G),this.expect(N.jsxTagEnd),this.finishNode(P,G?"JSXClosingElement":"JSXClosingFragment")}jsx_parseElementAt(v,n){let P=this.startNodeAt(v,n),G=[],y=this.jsx_parseOpeningElementAt(v,n),r=null;if(!y.selfClosing){e:for(;;)switch(this.type){case N.jsxTagStart:if(v=this.start,n=this.startLoc,this.next(),this.eat(C.slash)){r=this.jsx_parseClosingElementAt(v,n);break e}G.push(this.jsx_parseElementAt(v,n));break;case N.jsxText:G.push(this.parseExprAtom());break;case C.braceL:G.push(this.jsx_parseExpressionContainer());break;default:this.unexpected()}g(r.name)!==g(y.name)&&this.raise(r.start,"Expected corresponding JSX closing tag for <"+g(y.name)+">")}let s=y.name?"Element":"Fragment";return P["opening"+s]=y,P["closing"+s]=r,P.children=G,this.type===C.relational&&this.value==="<"&&this.raise(this.start,"Adjacent JSX elements must be wrapped in an enclosing tag"),this.finishNode(P,"JSX"+s)}jsx_parseText(){let v=this.parseLiteral(this.value);return v.type="JSXText",v}jsx_parseElement(){let v=this.start,n=this.startLoc;return this.next(),this.jsx_parseElementAt(v,n)}parseExprAtom(v){return this.type===N.jsxText?this.jsx_parseText():this.type===N.jsxTagStart?this.jsx_parseElement():super.parseExprAtom(v)}readToken(v){let n=this.curContext();if(n===B)return this.jsx_readToken();if(n===q||n===L){if(W(v))return this.jsx_readWord();if(v==62)return++this.pos,this.finishToken(N.jsxTagEnd);if((v===34||v===39)&&n==q)return this.jsx_readString(v)}return v===60&&this.exprAllowed&&this.input.charCodeAt(this.pos+1)!==33?(++this.pos,this.finishToken(N.jsxTagStart)):super.readToken(v)}updateContext(v){if(this.type==C.braceL){var n=this.curContext();n==q?this.context.push(D.b_expr):n==B?this.context.push(D.b_tmpl):super.updateContext(v),this.exprAllowed=!0}else if(this.type===C.slash&&v===N.jsxTagStart)this.context.length-=2,this.context.push(L),this.exprAllowed=!1;else return super.updateContext(v)}}}}(rt)),rt.exports}var nt,$t;function mi(){if($t)return nt;$t=1;const A=Object.getPrototypeOf||(w=>w.__proto__),h=w=>{if(w.acorn)return w.acorn;const T=Te();if(T.version.indexOf("6.")!=0&&T.version.indexOf("6.0.")==0&&T.version.indexOf("7.")!=0)throw new Error(`acorn-private-class-elements requires acorn@^6.1.0 or acorn@7.0.0, not ${T.version}`);for(let x=w;x&&x!==T.Parser;x=A(x))if(x!==T.Parser)throw new Error("acorn-private-class-elements does not support mixing different acorn copies");return T};return nt=function(w){if(w.prototype.parsePrivateName)return w;const T=h(w);return w=class extends w{_branch(){return this.__branch=this.__branch||new w({ecmaVersion:this.options.ecmaVersion},this.input),this.__branch.end=this.end,this.__branch.pos=this.pos,this.__branch.type=this.type,this.__branch.value=this.value,this.__branch.containsEsc=this.containsEsc,this.__branch}parsePrivateClassElementName(x){x.computed=!1,x.key=this.parsePrivateName(),x.key.name=="constructor"&&this.raise(x.key.start,"Classes may not have a private element named constructor");const S={get:"set",set:"get"}[x.kind],g=this._privateBoundNames;return Object.prototype.hasOwnProperty.call(g,x.key.name)&&g[x.key.name]!==S&&this.raise(x.start,"Duplicate private element"),g[x.key.name]=x.kind||!0,delete this._unresolvedPrivateNames[x.key.name],x.key}parsePrivateName(){const x=this.startNode();return x.name=this.value,this.next(),this.finishNode(x,"PrivateIdentifier"),this.options.allowReserved=="never"&&this.checkUnreserved(x),x}getTokenFromCode(x){if(x===35){++this.pos;const S=this.readWord1();return this.finishToken(this.privateIdentifierToken,S)}return super.getTokenFromCode(x)}parseClass(x,S){const g=this._outerPrivateBoundNames;this._outerPrivateBoundNames=this._privateBoundNames,this._privateBoundNames=Object.create(this._privateBoundNames||null);const k=this._outerUnresolvedPrivateNames;this._outerUnresolvedPrivateNames=this._unresolvedPrivateNames,this._unresolvedPrivateNames=Object.create(null);const p=super.parseClass(x,S),o=this._unresolvedPrivateNames;if(this._privateBoundNames=this._outerPrivateBoundNames,this._outerPrivateBoundNames=g,this._unresolvedPrivateNames=this._outerUnresolvedPrivateNames,this._outerUnresolvedPrivateNames=k,this._unresolvedPrivateNames)Object.assign(this._unresolvedPrivateNames,o);else{const l=Object.keys(o);l.length&&(l.sort((d,C)=>o[d]-o[C]),this.raise(o[l[0]],"Usage of undeclared private name"))}return p}parseClassSuper(x){const S=this._privateBoundNames;this._privateBoundNames=this._outerPrivateBoundNames;const g=this._unresolvedPrivateNames;this._unresolvedPrivateNames=this._outerUnresolvedPrivateNames;const k=super.parseClassSuper(x);return this._privateBoundNames=S,this._unresolvedPrivateNames=g,k}parseSubscript(x,S,g,k,p,o){const l=this.options.ecmaVersion>=11&&T.tokTypes.questionDot,d=this._branch();if(!((d.eat(T.tokTypes.dot)||l&&d.eat(T.tokTypes.questionDot))&&d.type==this.privateIdentifierToken))return super.parseSubscript.apply(this,arguments);let C=!1;this.eat(T.tokTypes.dot)||(this.expect(T.tokTypes.questionDot),C=!0);let N=this.startNodeAt(S,g);return N.object=x,N.computed=!1,l&&(N.optional=C),this.type==this.privateIdentifierToken?(x.type=="Super"&&this.raise(this.start,"Cannot access private element on super"),N.property=this.parsePrivateName(),(!this._privateBoundNames||!this._privateBoundNames[N.property.name])&&(this._unresolvedPrivateNames||this.raise(N.property.start,"Usage of undeclared private name"),this._unresolvedPrivateNames[N.property.name]=N.property.start)):N.property=this.parseIdent(!0),this.finishNode(N,"MemberExpression")}parseMaybeUnary(x,S){const g=super.parseMaybeUnary(x,S);return g.operator=="delete"&&g.argument.type=="MemberExpression"&&g.argument.property.type=="PrivateIdentifier"&&this.raise(g.start,"Private elements may not be deleted"),g}},w.prototype.privateIdentifierToken=new T.TokenType("privateIdentifier"),w},nt}var ot,ei;function ws(){if(ei)return ot;ei=1;const A=mi();return ot=function(h){const w=A(h),x=(h.acorn||Te()).tokTypes;return class extends w{_maybeParseFieldValue(S){if(this.eat(x.eq)){const g=this._inStaticFieldScope;this._inStaticFieldScope=this.currentThisScope(),S.value=this.parseExpression(),this._inStaticFieldScope=g}else S.value=null}parseClassElement(S){if(this.options.ecmaVersion<8||!this.isContextual("static"))return super.parseClassElement.apply(this,arguments);const g=this._branch();if(g.next(),[x.name,x.bracketL,x.string,x.num,this.privateIdentifierToken].indexOf(g.type)==-1&&!g.type.keyword)return super.parseClassElement.apply(this,arguments);if(g.type==x.bracketL){let p=0;do g.eat(x.bracketL)?++p:g.eat(x.bracketR)?--p:g.next();while(p>0)}else g.next();if(g.type!=x.eq&&!g.canInsertSemicolon()&&g.type!=x.semi)return super.parseClassElement.apply(this,arguments);const k=this.startNode();return k.static=this.eatContextual("static"),this.type==this.privateIdentifierToken?this.parsePrivateClassElementName(k):this.parsePropertyName(k),(k.key.type==="Identifier"&&k.key.name==="constructor"||k.key.type==="Literal"&&!k.computed&&k.key.value==="constructor")&&this.raise(k.key.start,"Classes may not have a field called constructor"),(k.key.name||k.key.value)==="prototype"&&!k.computed&&this.raise(k.key.start,"Classes may not have a static property named prototype"),this.enterScope(67),this._maybeParseFieldValue(k),this.exitScope(),this.finishNode(k,"PropertyDefinition"),this.semicolon(),k}parsePropertyName(S){S.static&&this.type==this.privateIdentifierToken?this.parsePrivateClassElementName(S):super.parsePropertyName(S)}parseIdent(S,g){const k=super.parseIdent(S,g);return this._inStaticFieldScope&&this.currentThisScope()===this._inStaticFieldScope&&k.name=="arguments"&&this.raise(k.start,"A static class field initializer may not contain arguments"),k}}},ot}var ut,ti;function Ts(){if(ti)return ut;ti=1;const A=mi();return ut=function(h){const T=(h.acorn||Te()).tokTypes;return h=A(h),class extends h{_maybeParseFieldValue(x){if(this.eat(T.eq)){const S=this._inFieldValue;this._inFieldValue=!0,this.type===T.name&&this.value==="await"&&(this.inAsync||this.options.allowAwaitOutsideFunction)?x.value=this.parseAwait():x.value=this.parseExpression(),this._inFieldValue=S}else x.value=null}parseClassElement(x){if(this.options.ecmaVersion>=8&&(this.type==T.name||this.type.keyword||this.type==this.privateIdentifierToken||this.type==T.bracketL||this.type==T.string||this.type==T.num)){const S=this._branch();if(S.type==T.bracketL){let k=0;do S.eat(T.bracketL)?++k:S.eat(T.bracketR)?--k:S.next();while(k>0)}else S.next(!0);let g=S.type==T.eq||S.type==T.semi;if(!g&&S.canInsertSemicolon()&&(g=S.type!=T.parenL),g){const k=this.startNode();return this.type==this.privateIdentifierToken?this.parsePrivateClassElementName(k):this.parsePropertyName(k),(k.key.type==="Identifier"&&k.key.name==="constructor"||k.key.type==="Literal"&&k.key.value==="constructor")&&this.raise(k.key.start,"Classes may not have a field called constructor"),this.enterScope(67),this._maybeParseFieldValue(k),this.exitScope(),this.finishNode(k,"PropertyDefinition"),this.semicolon(),k}}return super.parseClassElement.apply(this,arguments)}parseIdent(x,S){const g=super.parseIdent(x,S);return this._inFieldValue&&g.name=="arguments"&&this.raise(g.start,"A class field initializer may not contain arguments"),g}}},ut}var ht,ii;function Cs(){if(ii)return ht;ii=1;const A=Te(),h=A.tokTypes;function w(){this.shorthandAssign=this.trailingComma=this.parenthesizedAssign=this.parenthesizedBind=this.doubleProto=-1}const T={any:"TSAnyKeyword",bigint:"TSBigIntKeyword",boolean:"TSBooleanKeyword",never:"TSNeverKeyword",null:"TSNullKeyword",number:"TSNumberKeyword",object:"TSObjectKeyword",string:"TSStringKeyword",symbol:"TSSymbolKeyword",undefined:"TSUndefinedKeyword",unknown:"TSUnknownKeyword",void:"TSVoidKeyword"},x={interface:1,type:2,enum:4,declare:8},S={typeof:1,keyof:2,infer:4},g={as:1,"!":2};return ht=k=>class extends k{constructor(...o){super(...o),this.reservedWords=/^(?:enum)$/,this.reservedWordsStrict=this.reservedWords}finishNode(o,l){return l.startsWith("TS")&&(this.options.sourceType="ts"),this.finishNodeAt.call(this,o,l,this.lastTokEnd,this.lastTokEndLoc)}computeLocByOffset(o){if(this.options.locations)return A.getLineInfo(this.input,o)}startNodeAtNode(o){return this.startNodeAt(o.start,this.computeLocByOffset(o.start))}tsPreparePreview(){const{pos:o,curLine:l,type:d,value:C,end:N,start:D,endLoc:q,startLoc:L,scopeStack:B,lastTokStartLoc:U,lastTokEndLoc:W,lastTokEnd:ie,lastTokStart:v,context:n}=this;return()=>{this.pos=o,this.curLine=l,this.type=d,this.value=C,this.end=N,this.start=D,this.endLoc=q,this.startLoc=L,this.scopeStack=B,this.lastTokStartLoc=U,this.lastTokEndLoc=W,this.lastTokEnd=ie,this.lastTokStart=v,this.context=n}}_isStartOfTypeParameters(){return this.value&&this.value.charCodeAt(0)===60}_isEndOfTypeParameters(){return this.value&&this.value.charCodeAt(0)===62}_hasPrecedingLineBreak(){return A.lineBreak.test(this.input.slice(this.lastTokEnd,this.start))}parseExpressionStatement(o,l){return l.type==="Identifier"?this._parseTSDeclaration(o,l):super.parseExpressionStatement(o,l)}parseBindingAtom(){const o=super.parseBindingAtom();return this.eat(h.colon)&&(o.typeAnnotation=this.parseTSTypeAnnotation(!1),o.end=o.typeAnnotation.end,this.options.locations&&(o.loc.end=o.typeAnnotation.loc.end)),o}parseMaybeDefault(o,l,d){return d||(d=this.parseBindingAtom(),this.eat(h.question)&&(d.optional=!0),this.eat(h.colon)&&(d.typeAnnotation=this.parseTSTypeAnnotation(!1),d.end=d.typeAnnotation.end,this.options.locations&&(d.loc.end=d.typeAnnotation.loc.end))),super.parseMaybeDefault(o,l,d)}parseMaybeAssign(o,l,d){let C=super.parseMaybeAssign(o,l,d);return C=this._parseMaybeTSExpression(C),C}parseFunctionParams(o){return o.typeParameters=this.parseMaybeTSTypeParameterDeclaration(),super.parseFunctionParams(o)}parseFunctionBody(o,l){this.eat(h.colon)&&(o.returnType=this.parseTSTypeAnnotation(!1)),super.parseFunctionBody(o,l)}parseParenAndDistinguishExpression(o){let l=this.start,d=this.startLoc,C,N=this.options.ecmaVersion>=8;if(this.options.ecmaVersion>=6){this.next();let D=this.start,q=this.startLoc,L=[],B=!0,U=!1,W=new w,ie=this.yieldPos,v=this.awaitPos,n;for(this.yieldPos=0,this.awaitPos=0;this.type!==h.parenR;){if(B?B=!1:this.expect(h.comma),N&&this.afterTrailingComma(h.parenR,!0)){U=!0;break}else if(this.type===h.ellipsis){n=this.start,L.push(this.parseParenItem(this.parseRestBinding())),this.type===h.comma&&this.raise(this.start,"Comma is not permitted after the rest element");break}else L.push(this.parseMaybeAssign(!1,W,this.parseParenItem));this.type===h.colon&&this.parseTSTypeAnnotation()}let P=this.start,G=this.startLoc;if(this.expect(h.parenR),o&&!this.canInsertSemicolon()){const y=this._branch();try{y.parseTSTypeAnnotation()&&y.eat(h.arrow)&&this.parseTSTypeAnnotation()}catch{}if(this.eat(h.arrow))return this.checkPatternErrors(W,!1),this.checkYieldAwaitInDefaultParams(),this.yieldPos=ie,this.awaitPos=v,this.parseParenArrowList(l,d,L)}(!L.length||U)&&this.unexpected(this.lastTokStart),n&&this.unexpected(n),this.checkExpressionErrors(W,!0),this.yieldPos=ie||this.yieldPos,this.awaitPos=v||this.awaitPos,L.length>1?(C=this.startNodeAt(D,q),C.expressions=L,this.finishNodeAt(C,"SequenceExpression",P,G)):C=L[0]}else C=this.parseParenExpression();if(this.options.preserveParens){let D=this.startNodeAt(l,d);return D.expression=C,this.finishNode(D,"ParenthesizedExpression")}else return C}parseSubscript(o){const l=this._branch();if(this._isStartOfTypeParameters())try{l.parseTSTypeParameterInstantiation()&&l.eat(h.parenL)&&(o.typeParameters=this.parseTSTypeParameterInstantiation())}catch{}return super.parseSubscript.apply(this,arguments)}parseExpression(){const o=this.type===h.parenL,l=o?this.start:-1;let d=super.parseExpression();return o?(d.extra={parenthesized:o,parenStart:l},d):(d=this._parseMaybeTSExpression(d),d)}parseParenItem(o){return o=super.parseParenItem(o),o=this._parseMaybeTSExpression(o),o}parseClass(o,l){this.next();const d=this.strict;this.strict=!0,this.parseClassId(o,l),this.parseClassSuper(o);const C=this.enterClassBody(),N=this.startNode();let D=!1;for(N.body=[],this.parseMaybeTSTypeParameterInstantiation(),this.expect(h.braceL);this.type!==h.braceR;){const q=this.parseClassElement(o.superClass!==null);q&&(N.body.push(q),q.type==="MethodDefinition"&&q.kind==="constructor"?(D&&this.raise(q.start,"Duplicate constructor in the same class"),D=!0):q.key.type==="PrivateIdentifier"&&isPrivateNameConflicted(C,q)&&this.raiseRecoverable(q.key.start,`Identifier '#${q.key.name}' has already been declared`))}return this.strict=d,this.next(),o.body=this.finishNode(N,"ClassBody"),this.exitClassBody(),this.finishNode(o,l?"ClassDeclaration":"ClassExpression")}parseTSTypeAnnotation(o=!0){o&&this.expect(h.colon);const l=this.startNodeAt(this.lastTokStart,this.lastTokStartLoc);return this._parseTSTypeAnnotation(l),this.finishNode(l,"TSTypeAnnotation")}_parseTSType(){const o=this._parseNonConditionalType();return this.type===h._extends&&!this._hasPrecedingLineBreak()?this.parseTSConditionalType(o):o}_parseTSTypeAnnotation(o){o.typeAnnotation=this._parseTSType()}_parsePrimaryType(){let o;switch(this.type){case h.name:o=this.value in T?this.parseTSPredefinedType():this.parseTSTypeReference();break;case h.braceL:o=this.parseTSTypeLiteral();break;case h._void:case h._null:o=this.parseTSPredefinedType();break;case h.parenL:o=this.parseTSParenthesizedType();break;case h.bracketL:o=this.parseTSTupleType();break;case h.num:case h.string:case h._true:case h._false:o=this.parseTSLiteralType(this.type);break;case h._import:o=this.parseTSImportType(!1);break;default:return}return this.type===h.bracketL&&(o=this._parseMaybeTSArrayType(o)),o}_parseNonConditionalType(){let o;switch(this.type){case h.name:switch(S[this.value]){case S.infer:o=this.parseTSInferType();break;case S.keyof:o=this.parseTSKeyofType();break;default:o=this._parseTSUnionTypeOrIntersectionType()}break;case h._new:o=this.parseTSConstructorType();break;case h.parenL:const l=this.tsPreparePreview(),d=this._isStartOfTSFunctionType();l(),o=d?this.parseTSFunctionType():this.parseTSParenthesizedType();break;case h.relational:o=this._isStartOfTypeParameters()?this.parseTSFunctionType():this.unexpected();break;case h._typeof:o=this.parseTSTypeofType();break;default:o=this._parseTSUnionTypeOrIntersectionType();break}return o||this.unexpected()}_parseTSDeclaration(o,l){switch(x[l.name]){case x.interface:if(this.type===h.name)return this.parseTSInterfaceDeclaration();break;case x.type:if(this.type===h.name)return this.parseTSTypeAliasDeclaration();break}return super.parseExpressionStatement(o,l)}parseTSTypeReference(){const o=this.startNode();let l=this.parseIdent();return this.type===h.dot&&(l=this.parseTSQualifiedName(l)),o.typeName=l,this._isStartOfTypeParameters()&&(o.typeParameters=this.parseTSTypeParameterInstantiation()),this.finishNode(o,"TSTypeReference"),o}parseTSPredefinedType(){const o=this.startNode(),l=this.value;return this.next(),this.finishNode(o,T[l]),o}parseTSLiteralType(o){const l=this.startNode(),d=this.parseLiteral(this.value);return(o===h._true||o===h._false)&&(d.value=o===h._true),l.literal=d,this.finishNode(l,"TSLiteralType")}parseTSTupleType(){const o=this.startNode(),l=[];this.eat(h.bracketL);let d=!0;for(;!this.eat(h.bracketR);)switch(d?d=!1:this.expect(h.comma),this.type){case h.name:const C=this.parseTSTypeReference();this.type===h.question?l.push(this.parseTSOptionalType(C)):l.push(C);break;case h.ellipsis:l.push(this.parseTSRestType());break;case h.bracketR:break;default:this.unexpected()}return o.elementTypes=l,this.finishNode(o,"TSTupleType")}parseTSOptionalType(o){const l=this.startNodeAt(this.lastTokStart,this.lastTokStartLoc);return this.expect(h.question),l.typeAnnotation=o,this.finishNode(l,"TSOptionalType")}parseTSRestType(){const o=this.startNode();return this.expect(h.ellipsis),this._parseTSTypeAnnotation(o),this.finishNode(o,"TSRestType")}_parseMaybeTSArrayType(o){const l=this.startNodeAtNode(o);return this.expect(h.bracketL),this.eat(h.bracketR)?this.parseTSArrayType(l,o):this.parseTSIndexedAccessType(l,o)}parseTSArrayType(o,l){return o.elementType=l,this.finishNode(o,"TSArrayType")}parseTSIndexedAccessType(o,l){return o.objectType=l,o.indexType=this._parseTSType(),this.expect(h.bracketR),this.type===h.bracketL?this._parseMaybeTSArrayType(o,l):this.finishNode(o,"TSIndexedAccessType")}_isStartOfTSFunctionType(){switch(this.nextToken(),this.type){case h.parenR:case h.ellipsis:return!0;case h.name:case h._this:switch(this.nextToken(),this.type){case h.colon:case h.comma:case h.question:return!0;case h.parenR:return this.nextToken(),this.type===h.arrow;default:return!1}case h.braceL:case h.bracketL:switch(this.type===h.braceL?this.parseObj(!0):this.parseBindingAtom(),this.type){case h.colon:case h.comma:case h.question:return!0;case h.parenR:return this.nextToken(),this.type===h.arrow;default:return!1}default:return!1}}parseTSFunctionType(){const o=this.startNode(),l=Object.create(null);return o.typeParameters=this.parseMaybeTSTypeParameterDeclaration(),this.parseFunctionParams(l),o.parameters=l.params,this.expect(h.arrow),o.typeAnnotation=this.parseTSTypeAnnotation(!1),this.finishNode(o,"TSFunctionType")}parseTSParenthesizedType(){const o=this.startNode();return this.expect(h.parenL),this._parseTSTypeAnnotation(o),this.expect(h.parenR),this.eat(h.bracketL)&&this.expect(h.bracketR),this.finishNode(o,"TSParenthesizedType")}parseTSUnionType(o){const l=o?this.startNodeAtNode(o):this.startNode(),d=[];for(o&&d.push(o);this.eat(h.bitwiseOR);)d.push(this._parseTSIntersectionTypeOrPrimaryType());return d.length===1?o:(l.types=d,this.finishNode(l,"TSUnionType"))}parseTSIntersectionType(o){const l=o?this.startNodeAtNode(o):this.startNode(),d=[];for(o&&d.push(o);this.eat(h.bitwiseAND);)d.push(this._parsePrimaryType());return d.length===1?o:(l.types=d,this.finishNode(l,"TSIntersectionType"))}_parseTSIntersectionTypeOrPrimaryType(){this.eat(h.bitwiseAND);const o=this._parsePrimaryType();return this.type===h.bitwiseAND?this.parseTSIntersectionType(o):o}_parseTSUnionTypeOrIntersectionType(){this.eat(h.bitwiseOR);const o=this._parseTSIntersectionTypeOrPrimaryType();return this.type===h.bitwiseOR?this.parseTSUnionType(o):o}parseTSConditionalType(o){const l=this.startNodeAtNode(o);return l.checkType=o,this.expect(h._extends),l.extendsType=this._parseNonConditionalType(),this.expect(h.question),l.trueType=this._parseNonConditionalType(),this.expect(h.colon),l.falseType=this._parseNonConditionalType(),this.finishNode(l,"TSConditionalType")}parseTSInferType(){const o=this.startNode();return this.next(),o.typeParameter=this.parseTSTypeParameter(),this.finishNode(o,"TSInferType")}parseTSKeyofType(){const o=this.startNode();return this.next(),o.typeAnnotation=this.parseTSTypeAnnotation(!1),this.finishNode(o,"TSTypeOperator")}parseTSTypeQuery(){const o=this.startNode();return this.next(),o.exprName=this.parseIdent(),this.finishNode(o,"TSTypeQuery")}parseTSTypeofType(){const o=this.parseTSTypeQuery();if(this.eat(h.bracketL)){const l=this.startNode();return this.parseTSIndexedAccessType(l,o)}return o}parseTSImportType(o){const l=this.startNode();if(l.isTypeOf=o,this.expect(h._import),this.expect(h.parenL),l.parameter=this.parseTSLiteralType(this.type),this.expect(h.parenR),this.eat(h.dot)){let d=this.parseIdent();this.type===h.dot&&(d=this.parseTSQualifiedName(d)),l.qualifier=d}return this.finishNode(l,"TSImportType")}parseTSQualifiedName(o){let l=this.startNodeAtNode(o);return l.left=o,this.expect(h.dot),l.right=this.parseIdent(),l=this.finishNode(l,"TSQualifiedName"),this.type===h.dot&&(l=this.parseTSQualifiedName(l)),l}parseTSConstructorType(){const o=this.startNode();return this.expect(h._new),o.typeParameters=this.parseMaybeTSTypeParameterDeclaration(),this.expect(h.parenL),o.parameters=this.parseBindingList(h.parenR,!1,this.options.ecmaVersion>=8),this.expect(h.arrow),o.typeAnnotation=this.parseTSTypeAnnotation(!1),this.finishNode(o,"TSConstructorType")}parseTSConstructSignatureDeclaration(){const o=this.startNode();return this.expect(h._new),o.typeParameters=this.parseMaybeTSTypeParameterDeclaration(),this.expect(h.parenL),o.parameters=this.parseBindingList(h.parenR,!1,this.options.ecmaVersion>=8),this.eat(h.colon)&&(o.typeAnnotation=this.parseTSTypeAnnotation(!1)),this.finishNode(o,"TSConstructSignatureDeclaration")}parseTSTypeLiteral(){return this._parseObjectLikeType("TSTypeLiteral","members")}parseTSTypeAliasDeclaration(){const o=this.startNodeAt(this.lastTokStart,this.lastTokStartLoc);return o.id=this.parseIdent(),o.typeParameters=this.parseMaybeTSTypeParameterDeclaration(),this.expect(h.eq),this._parseTSTypeAnnotation(o),this.semicolon(),this.finishNode(o,"TSTypeAliasDeclaration")}parseTSInterfaceDeclaration(){const o=this.startNodeAt(this.lastTokStart,this.lastTokStartLoc);if(o.id=this.parseIdent(),o.typeParameters=this.parseMaybeTSTypeParameterDeclaration(),this.eat(h._extends)){const l=[];do l.push(this.parseTSExpressionWithTypeArguments());while(this.eat(h.comma));o.heritage=l}return o.body=this._parseObjectLikeType("TSInterfaceBody","body"),this.semicolon(),this.finishNode(o,"TSInterfaceDeclaration")}parseTSExpressionWithTypeArguments(){const o=this.startNode();let l=this.parseIdent();if(this.eat(h.dot)&&(l=this.parseTSQualifiedName(l)),o.expr=l,this._isStartOfTypeParameters()){const d=this.parseTSTypeParameterInstantiation();o.typeParameters=d,o.end=d.end,this.options.locations&&(o.loc.end=d.loc.end)}return this.finishNode(o,"TSExpressionWithTypeArguments")}parseTSTypeParameter(){const o=this.startNode();return this.type===h.name?(o.name=this.value,this.next()):this.unexpected(),this.eat(h._extends)&&(o.constraint=this._parseTSType()),this.eat(h.eq)&&(o.default=this._parseTSType()),this.finishNode(o,"TSTypeParameter")}parseMaybeTSTypeParameterDeclaration(){if(this._isStartOfTypeParameters()){const o=this.startNode(),l=[];let d=!0;for(this.next();!this.eat(h.relational)&&(d?d=!1:this.expect(h.comma),!this._isEndOfTypeParameters());)l.push(this.parseTSTypeParameter());return o.params=l,this.finishNode(o,"TSTypeParameterDeclaration")}}parseTSTypeParameterInstantiation(){const o=this.startNode(),l=[];this.next();let d=!0;for(;this.value&&!this._isEndOfTypeParameters()||this.type===h.comma;)d?d=!1:this.expect(h.comma),l.push(this._parseTSType());return this._isEndOfTypeParameters()&&this.next(),o.params=l,this.finishNode(o,"TSTypeParameterInstantiation")}parseMaybeTSTypeParameterInstantiation(){if(this._isStartOfTypeParameters())return this.parseTSTypeParameterInstantiation()}_parseObjectLikeType(o,l){const d=this.startNode();this.expect(h.braceL);const C=[];for(;!this.eat(h.braceR);)switch(this.type){case h.name:const N=this.parseIdent();switch(this.type){case h.parenL:case h.relational:C.push(this.parseTSMethodSignature(N));break;case h.colon:case h.semi:case h.comma:case h.braceR:case h.question:C.push(this.parseTSPropertySignature(N));break;default:if(this._hasPrecedingLineBreak()){C.push(this.parseTSPropertySignature(N));continue}this.unexpected()}break;case h.bracketL:const D=this.tsPreparePreview();if(this.nextToken(),this.type===h.name)switch(this.nextToken(),this.type){case h.colon:D(),C.push(this.parseTSIndexSignature());break;case h._in:if(C.length===0)return D(),this.parseTSMappedType();D(),C.push(this.parseTSPropertySignature(null,!0));break;default:D(),C.push(this.parseTSPropertySignature(null,!0))}else D(),C.push(this.parseTSPropertySignature(null,!0));break;case h._new:C.push(this.parseTSConstructSignatureDeclaration());break;default:this.unexpected()}return d[l]=C,this.finishNode(d,o)}parseTSMethodSignature(o){const l=this.startNodeAtNode(o);return l.key=o,this.eat(h.question)&&(l.optional=!0),l.typeParameters=this.parseMaybeTSTypeParameterDeclaration(),this.expect(h.parenL),l.parameters=this.parseBindingList(h.parenR,!1,this.options.ecmaVersion>=8),this.type===h.colon&&(l.typeAnnotation=this.parseTSTypeAnnotation(!0)),this.eat(h.comma)||this.eat(h.semi),this.finishNode(l,"TSMethodSignature")}parseTSPropertySignature(o,l=!1){let d;return l?(d=this.startNode(),this.expect(h.bracketL),d.key=this.parseExpression(),this.expect(h.bracketR)):(d=this.startNodeAtNode(o),d.key=o),d.computed=l,this.eat(h.question)&&(d.optional=!0),this.type===h.colon&&(d.typeAnnotation=this.parseTSTypeAnnotation(!0)),this.eat(h.comma)||this.eat(h.semi),this.finishNode(d,"TSPropertySignature")}parseTSIndexSignature(){const o=this.startNode();this.expect(h.bracketL);const l=this.parseIdent();return l.typeAnnotation=this.parseTSTypeAnnotation(!0),l.end=l.typeAnnotation.end,this.options.locations&&(l.loc.end=l.typeAnnotation.loc.end),o.index=l,this.expect(h.bracketR),o.typeAnnotation=this.parseTSTypeAnnotation(!0),this.eat(h.comma)||this.eat(h.semi),this.finishNode(o,"TSIndexSignature")}parseTSMappedType(){const o=this.startNodeAt(this.lastTokStart,this.lastTokStartLoc);return this.expect(h.bracketL),o.typeParameter=this._parseTSTypeParameterInTSMappedType(),this.expect(h.bracketR),this.eat(h.question)&&(o.optional=!0),this.type===h.colon&&(o.typeAnnotation=this.parseTSTypeAnnotation(!0)),this.semicolon(),this.expect(h.braceR),this.finishNode(o,"TSMappedType")}_parseTSTypeParameterInTSMappedType(){const o=this.startNode();return this.type===h.name?(o.name=this.value,this.next()):this.unexpected(),this.expect(h._in),o.constraint=this._parseNonConditionalType(),this.finishNode(o,"TSTypeParameter")}_parseMaybeTSExpression(o){return this.type===h.prefix&&g[this.value]===g["!"]&&(o=this.parseTSNonNullExpression(o)),this.type===h.name&&g[this.value]===g.as&&(o=this.parseTSAsExpression(o)),o}parseTSAsExpression(o){let l=o;for(;this.type===h.name&&g[this.value]===g.as;){const d=this.startNodeAtNode(l);this.next(),d.expression=l,this._parseTSTypeAnnotation(d),l=this.finishNode(d,"TSAsExpression")}return o}parseTSNonNullExpression(o){let l=o;for(;this.type===h.prefix&&g[this.value]===g["!"];){const d=this.startNodeAtNode(l);d.expression=l,this.next(),l=this.finishNode(d,"TSNonNullExpression")}return l}},ht}var lt,si;function xi(){if(si)return lt;si=1;const{Parser:A}=Te(),h=Ss(),w=ws(),T=Ts(),x=Cs(),S=A.extend(x,h(),T,w);return lt={parse(g){return S.parse(g,{ecmaVersion:2020,sourceType:"module",allowReturnOutsideFunction:!0})}},lt}var pe={},ri;function _s(){if(ri)return pe;ri=1,Object.defineProperty(pe,"__esModule",{value:!0}),pe.generate=G,pe.baseGenerator=pe.GENERATOR=pe.EXPRESSIONS_PRECEDENCE=pe.NEEDS_PARENTHESES=void 0;function A(y,r){if(!(y instanceof r))throw new TypeError("Cannot call a class as a function")}function h(y,r){for(var s=0;s<r.length;s++){var f=r[s];f.enumerable=f.enumerable||!1,f.configurable=!0,"value"in f&&(f.writable=!0),Object.defineProperty(y,f.key,f)}}function w(y,r,s){return r&&h(y.prototype,r),y}var T=JSON.stringify;if(!String.prototype.repeat)throw new Error("String.prototype.repeat is undefined, see https://github.com/davidbonnet/astring#installation");if(!String.prototype.endsWith)throw new Error("String.prototype.endsWith is undefined, see https://github.com/davidbonnet/astring#installation");var x={"||":2,"??":3,"&&":4,"|":5,"^":6,"&":7,"==":8,"!=":8,"===":8,"!==":8,"<":9,">":9,"<=":9,">=":9,in:9,instanceof:9,"<<":10,">>":10,">>>":10,"+":11,"-":11,"*":12,"%":12,"/":12,"**":13},S=17;pe.NEEDS_PARENTHESES=S;var g={ArrayExpression:20,TaggedTemplateExpression:20,ThisExpression:20,Identifier:20,PrivateIdentifier:20,Literal:18,TemplateLiteral:20,Super:20,SequenceExpression:20,MemberExpression:19,ChainExpression:19,CallExpression:19,NewExpression:19,ArrowFunctionExpression:S,ClassExpression:S,FunctionExpression:S,ObjectExpression:S,UpdateExpression:16,UnaryExpression:15,AwaitExpression:15,BinaryExpression:14,LogicalExpression:13,ConditionalExpression:4,AssignmentExpression:3,YieldExpression:2,RestElement:1};pe.EXPRESSIONS_PRECEDENCE=g;function k(y,r){var s=y.generator;if(y.write("("),r!=null&&r.length>0){s[r[0].type](r[0],y);for(var f=r.length,b=1;b<f;b++){var I=r[b];y.write(", "),s[I.type](I,y)}}y.write(")")}function p(y,r,s,f){var b=y.expressionsPrecedence[r.type];if(b===S)return!0;var I=y.expressionsPrecedence[s.type];return b!==I?!f&&b===15&&I===14&&s.operator==="**"||b<I:b!==13&&b!==14?!1:r.operator==="**"&&s.operator==="**"?!f:b===13&&I===13&&(r.operator==="??"||s.operator==="??")?!0:f?x[r.operator]<=x[s.operator]:x[r.operator]<x[s.operator]}function o(y,r,s,f){var b=y.generator;p(y,r,s,f)?(y.write("("),b[r.type](r,y),y.write(")")):b[r.type](r,y)}function l(y,r,s,f){var b=r.split(`
12
+ `),I=b.length-1;if(y.write(b[0].trim()),I>0){y.write(f);for(var R=1;R<I;R++)y.write(s+b[R].trim()+f);y.write(s+b[I].trim())}}function d(y,r,s,f){for(var b=r.length,I=0;I<b;I++){var R=r[I];y.write(s),R.type[0]==="L"?y.write("// "+R.value.trim()+`
13
+ `,R):(y.write("/*"),l(y,R.value,s,f),y.write("*/"+f))}}function C(y){for(var r=y;r!=null;){var s=r,f=s.type;if(f[0]==="C"&&f[1]==="a")return!0;if(f[0]==="M"&&f[1]==="e"&&f[2]==="m")r=r.object;else return!1}}function N(y,r){var s=y.generator,f=r.declarations;y.write(r.kind+" ");var b=f.length;if(b>0){s.VariableDeclarator(f[0],y);for(var I=1;I<b;I++)y.write(", "),s.VariableDeclarator(f[I],y)}}var D,q,L,B,U,W,ie={Program:function(r,s){var f=s.indent.repeat(s.indentLevel),b=s.lineEnd,I=s.writeComments;I&&r.comments!=null&&d(s,r.comments,f,b);for(var R=r.body,z=R.length,Y=0;Y<z;Y++){var Z=R[Y];I&&Z.comments!=null&&d(s,Z.comments,f,b),s.write(f),this[Z.type](Z,s),s.write(b)}I&&r.trailingComments!=null&&d(s,r.trailingComments,f,b)},BlockStatement:W=function(r,s){var f=s.indent.repeat(s.indentLevel++),b=s.lineEnd,I=s.writeComments,R=f+s.indent;s.write("{");var z=r.body;if(z!=null&&z.length>0){s.write(b),I&&r.comments!=null&&d(s,r.comments,R,b);for(var Y=z.length,Z=0;Z<Y;Z++){var $=z[Z];I&&$.comments!=null&&d(s,$.comments,R,b),s.write(R),this[$.type]($,s),s.write(b)}s.write(f)}else I&&r.comments!=null&&(s.write(b),d(s,r.comments,R,b),s.write(f));I&&r.trailingComments!=null&&d(s,r.trailingComments,R,b),s.write("}"),s.indentLevel--},ClassBody:W,StaticBlock:function(r,s){s.write("static "),this.BlockStatement(r,s)},EmptyStatement:function(r,s){s.write(";")},ExpressionStatement:function(r,s){var f=s.expressionsPrecedence[r.expression.type];f===S||f===3&&r.expression.left.type[0]==="O"?(s.write("("),this[r.expression.type](r.expression,s),s.write(")")):this[r.expression.type](r.expression,s),s.write(";")},IfStatement:function(r,s){s.write("if ("),this[r.test.type](r.test,s),s.write(") "),this[r.consequent.type](r.consequent,s),r.alternate!=null&&(s.write(" else "),this[r.alternate.type](r.alternate,s))},LabeledStatement:function(r,s){this[r.label.type](r.label,s),s.write(": "),this[r.body.type](r.body,s)},BreakStatement:function(r,s){s.write("break"),r.label!=null&&(s.write(" "),this[r.label.type](r.label,s)),s.write(";")},ContinueStatement:function(r,s){s.write("continue"),r.label!=null&&(s.write(" "),this[r.label.type](r.label,s)),s.write(";")},WithStatement:function(r,s){s.write("with ("),this[r.object.type](r.object,s),s.write(") "),this[r.body.type](r.body,s)},SwitchStatement:function(r,s){var f=s.indent.repeat(s.indentLevel++),b=s.lineEnd,I=s.writeComments;s.indentLevel++;var R=f+s.indent,z=R+s.indent;s.write("switch ("),this[r.discriminant.type](r.discriminant,s),s.write(") {"+b);for(var Y=r.cases,Z=Y.length,$=0;$<Z;$++){var J=Y[$];I&&J.comments!=null&&d(s,J.comments,R,b),J.test?(s.write(R+"case "),this[J.test.type](J.test,s),s.write(":"+b)):s.write(R+"default:"+b);for(var Fe=J.consequent,ye=Fe.length,de=0;de<ye;de++){var ve=Fe[de];I&&ve.comments!=null&&d(s,ve.comments,z,b),s.write(z),this[ve.type](ve,s),s.write(b)}}s.indentLevel-=2,s.write(f+"}")},ReturnStatement:function(r,s){s.write("return"),r.argument&&(s.write(" "),this[r.argument.type](r.argument,s)),s.write(";")},ThrowStatement:function(r,s){s.write("throw "),this[r.argument.type](r.argument,s),s.write(";")},TryStatement:function(r,s){if(s.write("try "),this[r.block.type](r.block,s),r.handler){var f=r.handler;f.param==null?s.write(" catch "):(s.write(" catch ("),this[f.param.type](f.param,s),s.write(") ")),this[f.body.type](f.body,s)}r.finalizer&&(s.write(" finally "),this[r.finalizer.type](r.finalizer,s))},WhileStatement:function(r,s){s.write("while ("),this[r.test.type](r.test,s),s.write(") "),this[r.body.type](r.body,s)},DoWhileStatement:function(r,s){s.write("do "),this[r.body.type](r.body,s),s.write(" while ("),this[r.test.type](r.test,s),s.write(");")},ForStatement:function(r,s){if(s.write("for ("),r.init!=null){var f=r.init;f.type[0]==="V"?N(s,f):this[f.type](f,s)}s.write("; "),r.test&&this[r.test.type](r.test,s),s.write("; "),r.update&&this[r.update.type](r.update,s),s.write(") "),this[r.body.type](r.body,s)},ForInStatement:D=function(r,s){s.write("for ".concat(r.await?"await ":"","("));var f=r.left;f.type[0]==="V"?N(s,f):this[f.type](f,s),s.write(r.type[3]==="I"?" in ":" of "),this[r.right.type](r.right,s),s.write(") "),this[r.body.type](r.body,s)},ForOfStatement:D,DebuggerStatement:function(r,s){s.write("debugger;",r)},FunctionDeclaration:q=function(r,s){s.write((r.async?"async ":"")+(r.generator?"function* ":"function ")+(r.id?r.id.name:""),r),k(s,r.params),s.write(" "),this[r.body.type](r.body,s)},FunctionExpression:q,VariableDeclaration:function(r,s){N(s,r),s.write(";")},VariableDeclarator:function(r,s){this[r.id.type](r.id,s),r.init!=null&&(s.write(" = "),this[r.init.type](r.init,s))},ClassDeclaration:function(r,s){if(s.write("class "+(r.id?"".concat(r.id.name," "):""),r),r.superClass){s.write("extends ");var f=r.superClass,b=f.type,I=s.expressionsPrecedence[b];(b[0]!=="C"||b[1]!=="l"||b[5]!=="E")&&(I===S||I<s.expressionsPrecedence.ClassExpression)?(s.write("("),this[r.superClass.type](f,s),s.write(")")):this[f.type](f,s),s.write(" ")}this.ClassBody(r.body,s)},ImportDeclaration:function(r,s){s.write("import ");var f=r.specifiers,b=r.attributes,I=f.length,R=0;if(I>0){for(;R<I;){R>0&&s.write(", ");var z=f[R],Y=z.type[6];if(Y==="D")s.write(z.local.name,z),R++;else if(Y==="N")s.write("* as "+z.local.name,z),R++;else break}if(R<I){for(s.write("{");;){var Z=f[R],$=Z.imported.name;if(s.write($,Z),$!==Z.local.name&&s.write(" as "+Z.local.name),++R<I)s.write(", ");else break}s.write("}")}s.write(" from ")}if(this.Literal(r.source,s),b&&b.length>0){s.write(" with { ");for(var J=0;J<b.length;J++)this.ImportAttribute(b[J],s),J<b.length-1&&s.write(", ");s.write(" }")}s.write(";")},ImportAttribute:function(r,s){this.Identifier(r.key,s),s.write(": "),this.Literal(r.value,s)},ImportExpression:function(r,s){s.write("import("),this[r.source.type](r.source,s),s.write(")")},ExportDefaultDeclaration:function(r,s){s.write("export default "),this[r.declaration.type](r.declaration,s),s.expressionsPrecedence[r.declaration.type]!=null&&r.declaration.type[0]!=="F"&&s.write(";")},ExportNamedDeclaration:function(r,s){if(s.write("export "),r.declaration)this[r.declaration.type](r.declaration,s);else{s.write("{");var f=r.specifiers,b=f.length;if(b>0)for(var I=0;;){var R=f[I],z=R.local.name;if(s.write(z,R),z!==R.exported.name&&s.write(" as "+R.exported.name),++I<b)s.write(", ");else break}if(s.write("}"),r.source&&(s.write(" from "),this.Literal(r.source,s)),r.attributes&&r.attributes.length>0){s.write(" with { ");for(var Y=0;Y<r.attributes.length;Y++)this.ImportAttribute(r.attributes[Y],s),Y<r.attributes.length-1&&s.write(", ");s.write(" }")}s.write(";")}},ExportAllDeclaration:function(r,s){if(r.exported!=null?s.write("export * as "+r.exported.name+" from "):s.write("export * from "),this.Literal(r.source,s),r.attributes&&r.attributes.length>0){s.write(" with { ");for(var f=0;f<r.attributes.length;f++)this.ImportAttribute(r.attributes[f],s),f<r.attributes.length-1&&s.write(", ");s.write(" }")}s.write(";")},MethodDefinition:function(r,s){r.static&&s.write("static ");var f=r.kind[0];(f==="g"||f==="s")&&s.write(r.kind+" "),r.value.async&&s.write("async "),r.value.generator&&s.write("*"),r.computed?(s.write("["),this[r.key.type](r.key,s),s.write("]")):this[r.key.type](r.key,s),k(s,r.value.params),s.write(" "),this[r.value.body.type](r.value.body,s)},ClassExpression:function(r,s){this.ClassDeclaration(r,s)},ArrowFunctionExpression:function(r,s){s.write(r.async?"async ":"",r);var f=r.params;f!=null&&(f.length===1&&f[0].type[0]==="I"?s.write(f[0].name,f[0]):k(s,r.params)),s.write(" => "),r.body.type[0]==="O"?(s.write("("),this.ObjectExpression(r.body,s),s.write(")")):this[r.body.type](r.body,s)},ThisExpression:function(r,s){s.write("this",r)},Super:function(r,s){s.write("super",r)},RestElement:L=function(r,s){s.write("..."),this[r.argument.type](r.argument,s)},SpreadElement:L,YieldExpression:function(r,s){s.write(r.delegate?"yield*":"yield"),r.argument&&(s.write(" "),this[r.argument.type](r.argument,s))},AwaitExpression:function(r,s){s.write("await ",r),o(s,r.argument,r)},TemplateLiteral:function(r,s){var f=r.quasis,b=r.expressions;s.write("`");for(var I=b.length,R=0;R<I;R++){var z=b[R],Y=f[R];s.write(Y.value.raw,Y),s.write("${"),this[z.type](z,s),s.write("}")}var Z=f[f.length-1];s.write(Z.value.raw,Z),s.write("`")},TemplateElement:function(r,s){s.write(r.value.raw,r)},TaggedTemplateExpression:function(r,s){o(s,r.tag,r),this[r.quasi.type](r.quasi,s)},ArrayExpression:U=function(r,s){if(s.write("["),r.elements.length>0)for(var f=r.elements,b=f.length,I=0;;){var R=f[I];if(R!=null&&this[R.type](R,s),++I<b)s.write(", ");else{R==null&&s.write(", ");break}}s.write("]")},ArrayPattern:U,ObjectExpression:function(r,s){var f=s.indent.repeat(s.indentLevel++),b=s.lineEnd,I=s.writeComments,R=f+s.indent;if(s.write("{"),r.properties.length>0){s.write(b),I&&r.comments!=null&&d(s,r.comments,R,b);for(var z=","+b,Y=r.properties,Z=Y.length,$=0;;){var J=Y[$];if(I&&J.comments!=null&&d(s,J.comments,R,b),s.write(R),this[J.type](J,s),++$<Z)s.write(z);else break}s.write(b),I&&r.trailingComments!=null&&d(s,r.trailingComments,R,b),s.write(f+"}")}else I?r.comments!=null?(s.write(b),d(s,r.comments,R,b),r.trailingComments!=null&&d(s,r.trailingComments,R,b),s.write(f+"}")):r.trailingComments!=null?(s.write(b),d(s,r.trailingComments,R,b),s.write(f+"}")):s.write("}"):s.write("}");s.indentLevel--},Property:function(r,s){r.method||r.kind[0]!=="i"?this.MethodDefinition(r,s):(r.shorthand||(r.computed?(s.write("["),this[r.key.type](r.key,s),s.write("]")):this[r.key.type](r.key,s),s.write(": ")),this[r.value.type](r.value,s))},PropertyDefinition:function(r,s){if(r.static&&s.write("static "),r.computed&&s.write("["),this[r.key.type](r.key,s),r.computed&&s.write("]"),r.value==null){r.key.type[0]!=="F"&&s.write(";");return}s.write(" = "),this[r.value.type](r.value,s),s.write(";")},ObjectPattern:function(r,s){if(s.write("{"),r.properties.length>0)for(var f=r.properties,b=f.length,I=0;this[f[I].type](f[I],s),++I<b;)s.write(", ");s.write("}")},SequenceExpression:function(r,s){k(s,r.expressions)},UnaryExpression:function(r,s){if(r.prefix){var f=r.operator,b=r.argument,I=r.argument.type;s.write(f);var R=p(s,b,r);!R&&(f.length>1||I[0]==="U"&&(I[1]==="n"||I[1]==="p")&&b.prefix&&b.operator[0]===f&&(f==="+"||f==="-"))&&s.write(" "),R?(s.write(f.length>1?" (":"("),this[I](b,s),s.write(")")):this[I](b,s)}else this[r.argument.type](r.argument,s),s.write(r.operator)},UpdateExpression:function(r,s){r.prefix?(s.write(r.operator),this[r.argument.type](r.argument,s)):(this[r.argument.type](r.argument,s),s.write(r.operator))},AssignmentExpression:function(r,s){this[r.left.type](r.left,s),s.write(" "+r.operator+" "),this[r.right.type](r.right,s)},AssignmentPattern:function(r,s){this[r.left.type](r.left,s),s.write(" = "),this[r.right.type](r.right,s)},BinaryExpression:B=function(r,s){var f=r.operator==="in";f&&s.write("("),o(s,r.left,r,!1),s.write(" "+r.operator+" "),o(s,r.right,r,!0),f&&s.write(")")},LogicalExpression:B,ConditionalExpression:function(r,s){var f=r.test,b=s.expressionsPrecedence[f.type];b===S||b<=s.expressionsPrecedence.ConditionalExpression?(s.write("("),this[f.type](f,s),s.write(")")):this[f.type](f,s),s.write(" ? "),this[r.consequent.type](r.consequent,s),s.write(" : "),this[r.alternate.type](r.alternate,s)},NewExpression:function(r,s){s.write("new ");var f=s.expressionsPrecedence[r.callee.type];f===S||f<s.expressionsPrecedence.CallExpression||C(r.callee)?(s.write("("),this[r.callee.type](r.callee,s),s.write(")")):this[r.callee.type](r.callee,s),k(s,r.arguments)},CallExpression:function(r,s){var f=s.expressionsPrecedence[r.callee.type];f===S||f<s.expressionsPrecedence.CallExpression?(s.write("("),this[r.callee.type](r.callee,s),s.write(")")):this[r.callee.type](r.callee,s),r.optional&&s.write("?."),k(s,r.arguments)},ChainExpression:function(r,s){this[r.expression.type](r.expression,s)},MemberExpression:function(r,s){var f=s.expressionsPrecedence[r.object.type];f===S||f<s.expressionsPrecedence.MemberExpression?(s.write("("),this[r.object.type](r.object,s),s.write(")")):this[r.object.type](r.object,s),r.computed?(r.optional&&s.write("?."),s.write("["),this[r.property.type](r.property,s),s.write("]")):(r.optional?s.write("?."):s.write("."),this[r.property.type](r.property,s))},MetaProperty:function(r,s){s.write(r.meta.name+"."+r.property.name,r)},Identifier:function(r,s){s.write(r.name,r)},PrivateIdentifier:function(r,s){s.write("#".concat(r.name),r)},Literal:function(r,s){r.raw!=null?s.write(r.raw,r):r.regex!=null?this.RegExpLiteral(r,s):r.bigint!=null?s.write(r.bigint+"n",r):s.write(T(r.value),r)},RegExpLiteral:function(r,s){var f=r.regex;s.write("/".concat(f.pattern,"/").concat(f.flags),r)}};pe.GENERATOR=ie;var v={},n=ie;pe.baseGenerator=n;var P=function(){function y(r){A(this,y);var s=r??v;this.output="",s.output!=null?(this.output=s.output,this.write=this.writeToStream):this.output="",this.generator=s.generator!=null?s.generator:ie,this.expressionsPrecedence=s.expressionsPrecedence!=null?s.expressionsPrecedence:g,this.indent=s.indent!=null?s.indent:" ",this.lineEnd=s.lineEnd!=null?s.lineEnd:`
14
+ `,this.indentLevel=s.startingIndentLevel!=null?s.startingIndentLevel:0,this.writeComments=s.comments?s.comments:!1,s.sourceMap!=null&&(this.write=s.output==null?this.writeAndMap:this.writeToStreamAndMap,this.sourceMap=s.sourceMap,this.line=1,this.column=0,this.lineEndSize=this.lineEnd.split(`
15
+ `).length-1,this.mapping={original:null,generated:this,name:void 0,source:s.sourceMap.file||s.sourceMap._file})}return w(y,[{key:"write",value:function(s){this.output+=s}},{key:"writeToStream",value:function(s){this.output.write(s)}},{key:"writeAndMap",value:function(s,f){this.output+=s,this.map(s,f)}},{key:"writeToStreamAndMap",value:function(s,f){this.output.write(s),this.map(s,f)}},{key:"map",value:function(s,f){if(f!=null){var b=f.type;if(b[0]==="L"&&b[2]==="n"){this.column=0,this.line++;return}if(f.loc!=null){var I=this.mapping;I.original=f.loc.start,I.name=f.name,this.sourceMap.addMapping(I)}if(b[0]==="T"&&b[8]==="E"||b[0]==="L"&&b[1]==="i"&&typeof f.value=="string"){for(var R=s.length,z=this.column,Y=this.line,Z=0;Z<R;Z++)s[Z]===`
16
+ `?(z=0,Y++):z++;this.column=z,this.line=Y;return}}var $=s.length,J=this.lineEnd;$>0&&(this.lineEndSize>0&&(J.length===1?s[$-1]===J:s.endsWith(J))?(this.line+=this.lineEndSize,this.column=0):this.column+=$)}},{key:"toString",value:function(){return this.output}}]),y}();function G(y,r){var s=new P(r);return s.generator[y.type](y,s),s.output}return pe}var pt,ai;function ks(){if(ai)return pt;ai=1;const{generate:A,baseGenerator:h}=_s(),{parse:w}=xi(),T={...h,TSTypeAnnotation(){},TSTypeReference(){},TSLiteralType(){},TSTupleType(){},TSOptionalType(){},TSRestType(){},TSArrayType(){},TSIndexedAccessType(){},TSFunctionType(){},TSParenthesizedType(){},TSUnionType(){},TSIntersectionType(){},TSConditionalType(){},TSInferType(){},TSImportType(){},TSQualifiedName(){},TSConstructorType(){},TSConstructSignatureDeclaration(){},TSTypeLiteral(){},TSTypeAliasDeclaration(){},TSInterfaceBody(){},TSInterfaceDeclaration(){},TSExpressionWithTypeArguments(){},TSTypeParameter(){},TSTypeParameterDeclaration(){},TSTypeParameterInstantiation(){},TSMethodSignature(){},TSPropertySignature(){},TSIndexSignature(){},TSMappedType(){},TSTypeParameter(){},TSAsExpression(){},TSNonNullExpression(){},FieldDefinition(p,o){this[p.key.type](p.key,o),o.write(" = "),this[p.value.type](p.value,o),o.write(";")},PropertyDefinition(p,o){this.FieldDefinition(p,o)}},x={...T,JSXElement(p,o){o.write("React.createElement("),this.JSXOpeningElement(p.openingElement,o);for(var l=0;l<p.children.length;l++){var d=p.children[l];d.type!=="JSXText"&&o.write(","),this[d.type](d,o)}o.write(")")},JSXOpeningElement(p,o){this[p.name.type](p.name,o,p.name.name&&p.name.name[0]===p.name.name[0].toLowerCase()),o.write(",{");for(var l=0;l<p.attributes.length;l++){var d=p.attributes[l];this[d.type](d,o),l!==p.attributes.length-1&&o.write(",")}o.write("}")},JSXIdentifier(p,o,l){l?o.write(JSON.stringify(p.name)):o.write(p.name)},JSXMemberExpression(p,o){this[p.object.type](p.object,o),o.write("."),this[p.property.type](p.property,o)},JSXAttribute(p,o){this[p.name.type](p.name,o,!0),o.write(":"),p.value?this[p.value.type](p.value,o):o.write("true")},JSXExpressionContainer(p,o){this[p.expression.type](p.expression,o)},JSXText(p,o){p.value.trim()===""&&(p.value=null),p.value&&(o.write(',"'),o.write(p.value.replace(/"/g,'\\"').replace(/\n\s*/g," ")),o.write('"'))},JSXSpreadAttribute(p,o){o.write("...("),p.argument.type==="LogicalExpression"?(this[p.argument.left.type](p.argument.left,o),o.write(" "),o.write(p.argument.operator),o.write(" "),this[p.argument.right.type](p.argument.right,o)):this[p.argument.type](p.argument,o),o.write(")")},JSXFragment(p,o){this.JSXElement({openingElement:{attributes:[],name:{type:"JSXIdentifier",name:"React.Fragment"}},children:p.children},o)},JSXEmptyExpression(p,o){o.write("null")}},S={...T,JSXElement(p,o){if(o.write("<"),this[p.openingElement.type](p.openingElement,o),p.closingElement){o.write(">");for(var l=0;l<p.children.length;l++){var d=p.children[l];this[d.type](d,o)}o.write("</"),this[p.closingElement.type](p.closingElement,o),o.write(">")}else o.write(" />")},JSXOpeningElement(p,o){this[p.name.type](p.name,o);for(var l=0;l<p.attributes.length;l++){var d=p.attributes[l];this[d.type](d,o)}},JSXClosingElement(p,o){this[p.name.type](p.name,o)},JSXIdentifier(p,o){o.write(p.name)},JSXMemberExpression(p,o){this[p.object.type](p.object,o),o.write("."),this[p.property.type](p.property,o)},JSXAttribute(p,o){o.write(" "),this[p.name.type](p.name,o),p.value&&(o.write("="),this[p.value.type](p.value,o))},JSXNamespacedName(p,o){this[p.namespace.type](p.namespace,o),o.write(":"),this[p.name.type](p.name,o)},JSXExpressionContainer(p,o){o.write("{"),this[p.expression.type](p.expression,o),o.write("}")},JSXText(p,o){o.write(p.value)},JSXSpreadAttribute(p,o){o.write(" {..."),p.argument.type==="LogicalExpression"?(o.write("("),this[p.argument.left.type](p.argument.left,o),o.write(` ${p.argument.operator} `),this[p.argument.right.type](p.argument.right,o),o.write(")")):this[p.argument.type](p.argument,o),o.write("}")},JSXFragment(p,o){this.JSXElement({openingElement:{attributes:[],name:{type:"JSXIdentifier",name:""},type:"JSXOpeningElement"},closingElement:{attributes:[],name:{type:"JSXIdentifier",name:""},type:"JSXClosingElement"},children:p.children},o)},JSXEmptyExpression(p,o){o.write("{}")}};function g(p){const o=w(p);o.body=o.body.filter(d=>!["ImportDeclaration","ExportAllDeclaration"].includes(d.type));for(let d=0;d<o.body.length;d++)["ExportNamedDeclaration","ExportDefaultDeclaration"].includes(o.body[d].type)&&(o.body[d]=o.body[d].declaration);let l=o.body[o.body.length-1];if(l.type==="VariableDeclaration"){const{declarations:d}=l;if(d.length!==1)throw new Error("The last example variable declaration must be a single expression.");const C=d[0];l={type:"ExpressionStatement",expression:{type:"AssignmentExpression",operator:"=",left:C.id,right:C.init}}}return l.type==="ExpressionStatement"&&l.expression.type==="JSXElement"?o.body=[{type:"ReturnStatement",argument:{type:"FunctionDeclaration",id:{type:"Identifier",name:"PreviewComponent"},body:{type:"BlockStatement",body:[...o.body.slice(0,o.body.length-1),{type:"ReturnStatement",argument:l}]}}}]:o.body=[...o.body.slice(0,o.body.length-1),{type:"ReturnStatement",argument:l}],p=A(o,{generator:x}).trim(),{code:p,hasTS:o.sourceType==="ts"}}function k(p){const o=w(p);return p=A(o,{generator:S}).trim(),{code:p,hasTS:!1}}return pt={convertToReactComponent:g,convertToJSX:k},pt}var ct,ni;function Es(){if(ni)return ct;ni=1;const{parse:A}=xi(),{convertToReactComponent:h,convertToJSX:w}=ks();return ct={parse:A,convertToReactComponent:h,convertToJSX:w},ct}var Ds=Es();export{ui as C,os as D,fs as G,Os as L,Ne as R,ms as S,Rs as T,Ds as a,ds as b,as as c,rs as d,is as e,ss as f,di as g,ls as h,hs as i,us as j,xs as k,ft as l,te as m,fi as n,ci as o,Jt as p,ys as q,vs as r,K as s,cs as t,ps as u};